@clickview/library-editor 1.1.22-dev.1 → 1.1.22-rc.0
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/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +137 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css +20 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/19.chunk.css +34 -0
- package/dist/css/2.chunk.css +145 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/20.chunk.css +0 -8
- package/dist/css/21.chunk.css +8 -10
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css +8 -14
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css +9 -9
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/24.chunk.css +7 -11
- package/dist/css/25.chunk.css +7 -7
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css +5 -9
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/27.chunk.css +5 -5
- package/dist/css/28.chunk.css +4 -6
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css +4 -4
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css +4 -4
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css +3 -5
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css +0 -2
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css +14 -2
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +21 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +20 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css +4 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css +2 -2
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css +1 -3
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css +3 -1
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css +2 -2
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css +1 -3
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css +1 -1
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css +1 -1
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css +1 -1
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css +1 -1
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css +1 -1
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css +5 -1
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +2 -0
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css +1 -1
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css +38 -1
- package/dist/css/51.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +66 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/53.chunk.css +2 -0
- package/dist/css/54.chunk.css +1 -1
- package/dist/css/55.chunk.css +1 -1
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css +1 -1
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/57.chunk.css +1 -1
- package/dist/css/58.chunk.css +1 -1
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css +4 -1
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +2 -0
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/61.chunk.css +1 -1
- package/dist/css/62.chunk.css +5 -1
- package/dist/css/62.chunk.css.map +1 -0
- package/dist/css/63.chunk.css +170 -0
- package/dist/css/63.chunk.css.map +1 -0
- package/dist/css/67.chunk.css +78 -0
- package/dist/css/67.chunk.css.map +1 -0
- package/dist/css/68.chunk.css +17 -0
- package/dist/css/68.chunk.css.map +1 -0
- package/dist/css/69.chunk.css +17 -0
- package/dist/css/69.chunk.css.map +1 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/70.chunk.css +23 -0
- package/dist/css/70.chunk.css.map +1 -0
- package/dist/css/71.chunk.css +40 -0
- package/dist/css/71.chunk.css.map +1 -0
- package/dist/css/72.chunk.css +16 -0
- package/dist/css/72.chunk.css.map +1 -0
- package/dist/css/73.chunk.css +37 -0
- package/dist/css/73.chunk.css.map +1 -0
- package/dist/css/74.chunk.css +29 -0
- package/dist/css/74.chunk.css.map +1 -0
- package/dist/css/75.chunk.css +6 -0
- package/dist/css/75.chunk.css.map +1 -0
- package/dist/css/76.chunk.css +6 -0
- package/dist/css/76.chunk.css.map +1 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/library-editor-app.css.map +1 -0
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +0 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +6 -5
- package/dist/libs/analytics/src/interfaces/User.d.ts +0 -11
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -6
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +1 -2
- package/dist/projects/library-editor/src/app.d.ts +2 -0
- package/dist/scripts/{0-beba14e605.chunk.js → 0-ca7f09e08e.chunk.js} +1 -1
- package/dist/scripts/0.chunk.js +1034 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/{1-eae6f88686.chunk.js → 1-d9620ef762.chunk.js} +1 -1
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/{10-2887abba78.chunk.js → 10-a1c7069607.chunk.js} +1 -1
- package/dist/scripts/10.chunk.js +820 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/{11-14b0dd6845.chunk.js → 11-1b54171e80.chunk.js} +1 -1
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/{12-71d8cc8605.chunk.js → 12-a3e5f1e280.chunk.js} +1 -1
- package/dist/scripts/12.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/{13-a024ecbc11.chunk.js → 13-52245beebb.chunk.js} +1 -1
- package/dist/scripts/13.chunk.js +373 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/{14-e3bd9dca06.chunk.js → 14-cef35ea210.chunk.js} +1 -1
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/{15-c3381079e8.chunk.js → 15-ee0cab114c.chunk.js} +1 -1
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/{16-2da93a6a23.chunk.js → 16-5fddd22f7d.chunk.js} +1 -1
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/{17-bc0b81e4cf.chunk.js → 17-b5d97fb4dd.chunk.js} +1 -1
- package/dist/scripts/17.chunk.js +381 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18.chunk.js +393 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/{20-2135af4995.chunk.js → 19-5f4fce6026.chunk.js} +1 -1
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/{2-1ded0eeb28.chunk.js → 2-adb587d50b.chunk.js} +1 -1
- package/dist/scripts/2.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/{21-1d0f98b629.chunk.js → 20-d540a58c1f.chunk.js} +1 -1
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/{22-2473c10557.chunk.js → 21-6f86c283b4.chunk.js} +1 -1
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/{23-ba04ed7bd3.chunk.js → 22-648e1f017c.chunk.js} +1 -1
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/{24-992a98af74.chunk.js → 23-2113eeb854.chunk.js} +1 -1
- package/dist/scripts/23.chunk.js +604 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/{25-d73947b7b8.chunk.js → 24-5a4074f0f1.chunk.js} +1 -1
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/{26-755319d8ec.chunk.js → 25-b45876801c.chunk.js} +1 -1
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/{27-540c2a05c9.chunk.js → 26-bbe969d1a3.chunk.js} +1 -1
- package/dist/scripts/26.chunk.js +442 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/{28-21c32edfcd.chunk.js → 27-eeb897a7a5.chunk.js} +1 -1
- package/dist/scripts/27.chunk.js +3565 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/{29-53757e71f3.chunk.js → 28-2d69a65731.chunk.js} +1 -1
- package/dist/scripts/28.chunk.js +3173 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/{30-e4d77f735f.chunk.js → 29-eeaac071fc.chunk.js} +1 -1
- package/dist/scripts/29.chunk.js +3088 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/{3-d05c96cfb9.chunk.js → 3-93b74b7366.chunk.js} +1 -1
- package/dist/scripts/3.chunk.js +852 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/{31-cec3dfb012.chunk.js → 30-dea1697d07.chunk.js} +1 -1
- package/dist/scripts/30.chunk.js +1852 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/{32-e00ad6bb02.chunk.js → 31-af82844bc0.chunk.js} +1 -1
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/{33-82a20d0072.chunk.js → 32-7c6503668b.chunk.js} +1 -1
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/{34-178a36fb7f.chunk.js → 33-03635bbb7b.chunk.js} +1 -1
- package/dist/scripts/33.chunk.js +792 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/{35-00b0646656.chunk.js → 34-daddc694a1.chunk.js} +1 -1
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/{36-14380a0a1b.chunk.js → 35-fd15607048.chunk.js} +1 -1
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/{37-ad00e59ab8.chunk.js → 36-541f0ca2b5.chunk.js} +1 -1
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/{38-eb82cd01be.chunk.js → 37-185d42d6a8.chunk.js} +1 -1
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/{39-ff751fbb03.chunk.js → 38-e6a036e506.chunk.js} +1 -1
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/{40-ea1c8a802e.chunk.js → 39-2f85f9a6ae.chunk.js} +1 -1
- package/dist/scripts/39.chunk.js +116 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/{4-64cc494ce7.chunk.js → 4-89c4938328.chunk.js} +1 -1
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/{41-4e216039d1.chunk.js → 40-176a8a0ae0.chunk.js} +1 -1
- package/dist/scripts/40.chunk.js +1782 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/{42-cfdcf36ade.chunk.js → 41-f9ac40ad12.chunk.js} +1 -1
- package/dist/scripts/41.chunk.js +2347 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/{43-4b9df6670c.chunk.js → 42-49f22ffe17.chunk.js} +1 -1
- package/dist/scripts/42.chunk.js +2116 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/{44-334fd2c970.chunk.js → 43-d79514b07d.chunk.js} +1 -1
- package/dist/scripts/43.chunk.js +2243 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/{45-ce52fb3ad1.chunk.js → 44-d667358455.chunk.js} +1 -1
- package/dist/scripts/44.chunk.js +1024 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/{46-ce415c80bd.chunk.js → 45-584e00f551.chunk.js} +1 -1
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/{47-aad883ee34.chunk.js → 46-0a345195cb.chunk.js} +1 -1
- package/dist/scripts/46.chunk.js +656 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/{48-26ff3f8286.chunk.js → 47-796c3370d9.chunk.js} +1 -1
- package/dist/scripts/47.chunk.js +735 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/{49-13cbc6969d.chunk.js → 48-8c15455e0a.chunk.js} +1 -1
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/{50-94b3dceee6.chunk.js → 49-0e526f5150.chunk.js} +1 -1
- package/dist/scripts/49.chunk.js +759 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/{5-72927c4c3a.chunk.js → 5-ae7056b666.chunk.js} +1 -1
- package/dist/scripts/5.chunk.js +40 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/{51-45f9120895.chunk.js → 50-6d83730d97.chunk.js} +1 -1
- package/dist/scripts/50.chunk.js +528 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/{52-f8135f2b6d.chunk.js → 51-525f824f4c.chunk.js} +1 -1
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/{53-873b3fc466.chunk.js → 52-ab80c61a4d.chunk.js} +1 -1
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/{54-adcf9408c2.chunk.js → 53-d843e342ef.chunk.js} +1 -1
- package/dist/scripts/53.chunk.js +754 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/{55-ba3dd1642b.chunk.js → 54-c3d3057bd7.chunk.js} +1 -1
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/{56-a586aafa22.chunk.js → 55-c54b03b81b.chunk.js} +1 -1
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/{57-f072c8e20b.chunk.js → 56-bc025759b2.chunk.js} +1 -1
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/{58-8eb1d1ec9e.chunk.js → 57-95a5d6859c.chunk.js} +1 -1
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/{59-7b0f1c97de.chunk.js → 58-732d90217c.chunk.js} +1 -1
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/{60-f6e3d30ef1.chunk.js → 59-76ab29c8c8.chunk.js} +1 -1
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/{6-54852e2fe4.chunk.js → 6-801bd57e05.chunk.js} +1 -1
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/{61-b951d2eecb.chunk.js → 60-95fae33313.chunk.js} +1 -1
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/{62-2e65425226.chunk.js → 61-55401912e6.chunk.js} +1 -1
- package/dist/scripts/61.chunk.js +409 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/{63-a273561273.chunk.js → 62-2757493071.chunk.js} +1 -1
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/{64-24cb24a513.chunk.js → 63-dd81c3f320.chunk.js} +1 -1
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/{65-ad628b5132.chunk.js → 64-fc97648f09.chunk.js} +1 -1
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/{66-5bacd91a7f.chunk.js → 65-194a37aee3.chunk.js} +1 -1
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/{67-04d9a5fda8.chunk.js → 66-0685310e61.chunk.js} +1 -1
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/{68-02894df05d.chunk.js → 67-0e7d822f3d.chunk.js} +1 -1
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/{69-734c160b13.chunk.js → 68-392c3d0356.chunk.js} +1 -1
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/{70-dd7e6198f5.chunk.js → 69-d02aa75baf.chunk.js} +1 -1
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/{7-55b6fea593.chunk.js → 7-8789256487.chunk.js} +1 -1
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/{71-e4116b2fbe.chunk.js → 70-8198bb73b0.chunk.js} +1 -1
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/{72-3f0a73fbc8.chunk.js → 71-d00b31ee4a.chunk.js} +1 -1
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/72.chunk.js +331 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +404 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +301 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +231 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +157 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +307 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +249 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +282 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/{8-83fdb166c7.chunk.js → 8-b27222f499.chunk.js} +1 -1
- package/dist/scripts/8.chunk.js +307 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +308 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +366 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +314 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +328 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +313 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +291 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +119 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +219 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +194 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +522 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/{9-8c88a80a2b.chunk.js → 9-efab000ebb.chunk.js} +1 -1
- package/dist/scripts/9.chunk.js +222 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +337 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +131 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +266 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/bundle-50de308570.min.js +1 -0
- package/dist/scripts/bundle.js +75409 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +1 -2
- package/package.json +3 -3
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +0 -3
- package/dist/projects/library-editor/src/polyfills.d.ts +0 -2
- package/dist/scripts/bundle-9aec889e10.min.js +0 -1
- package/dist/scripts/polyfills-61b05c1cb5.min.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogo.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/customer-logo/customer-logo.scss","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrary.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigation.handlebars","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigationView.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/left-navigation/left-navigation.scss"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA,6OAA6O,GAAG,sBAAsB,aAAa;AACnR;AACA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;AACA;AACA,+IAA+I,WAAW,uBAAuB,aAAa;AAC9L;AACA,CAAC;AACD;;AAEA,6FAA6F,0CAA0C,qBAAqB,wFAAwF;AACpP,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBjB;AACA;AAGA;AACA;AACA;AAEA;AACA;AAOO,IAAM,qBAAb;AAAA;;AAAA;;AAGE,iCAAY,OAAZ,EAAiD;AAAA;;AAAA,6BACzC,OADyC;AAEhD;;AALH;AAAA;AAAA,6BAuBe;AACX,kDACa,0DAAM,CAAC,QADpB,GACiC,gBADjC;AAGD;AA3BH;AAAA;AAAA,qCA6BwB;AACpB,UAAM,gBAAgB,GAAG;AACvB,gBAAQ,EAAE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AsB,KAAK,GAA3B;AACD;AAtCH;AAAA;AAAA,wBAwCiB;AACb,aAAO,8BAAP;AACD;AA1CH;AAAA;AAAA,wBA4CsB;AAClB,aAAO,eAAP;AACD;AA9CH;AAAA;AAAA,wBAgDqB;AACjB,aAAO,iEAAP;AACD;AAlDH;AAAA;AAAA,wBAwEqB;AACjB,aAAO;AACL,gCAAwB;AACtB,qBAAW,EAAE,6DAAW,CAAC,cADH;AAEtB,gBAAM,EAAE,yDAAO,CAAC,aAAR,CAAsB;AAFR;AADnB,OAAP;AAMD;AA/EH;AAAA;AAAA,wBAkH8B;AAC1B,aAAO;AACL,mBAAW,EAAE,sFAAqB,CAAC,WAD9B;AAEL,cAAM,EAAE,2FAAuB,CAAC,MAF3B;AAGL,kBAAU,EAAE,qFAAwB,CAAC;AAHhC,OAAP;AAKD;AAxHH;;AAAA;AAAA,EAAwC,8DAAI,CAAC,IAA7C,E;;;;;;;;;;;AC3BA;AACA,kBAAkB,sH","file":"scripts/49.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression;\n\n return \"<img src=\\\"\"\n + alias2(((helper = (helper = helpers.url || (depth0 != null ? depth0.url : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"url\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\\" class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\"/>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<a class=\\\"d-inline-flex align-items-center no-decoration \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addCrest : stack1), depth0))\n + \"\\\" href=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.uploadLogoUrl : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\">\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"crest\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</a>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.url : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\n\r\nimport { Logo } from 'shared/models/Logo';\r\nimport { OnlineUrls } from 'shared/constants';\r\nimport { LocationContext, UserAction, EntityType } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport CustomerLogoTemplate from './CustomerLogo.hbs';\r\nimport styles from './customer-logo.scss';\r\n\r\ninterface CustomerLogoComponentOptions extends Core.ComponentOptions<Logo> {\r\n customerId: string;\r\n onlineUrl: string;\r\n}\r\n\r\nexport class CustomerLogoComponent extends Core.Component<Logo> {\r\n public options: CustomerLogoComponentOptions;\r\n\r\n constructor(options: CustomerLogoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'CustomerLogoComponent';\r\n }\r\n\r\n public get template(): string {\r\n return CustomerLogoTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.customerLogo';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-center p-3 position-relative';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n [`click .${styles.addCrest}`]: 'onClickAddLogo'\r\n };\r\n }\r\n\r\n private onClickAddLogo(): void {\r\n const analyticsOptions = {\r\n location: LocationContext.LeftNav,\r\n actionType: UserAction.Create,\r\n entity: EntityType.Logo\r\n };\r\n\r\n AnalyticsHelper.logUserAction({}, analyticsOptions);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n uploadLogoUrl: UrlHelper.safeUrlConcat(this.options.onlineUrl, OnlineUrls.UPLOAD_LOGO)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--Cz1y1\",\"addCrest\":\"cv--addCrest--2PAV_\"};","import { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { LeftNavComponent } from 'shared/components/left-nav/LeftNavComponent';\r\nimport { Actions, ServiceChannels, AppChannels, Services } from 'shared/constants';\r\nimport { VideoCollectionActionsComponent } from 'apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent';\r\nimport LeftNavLibraryTemplate from './LeftNavLibrary.hbs';\r\nimport { Folder } from 'shared/models/Folder';\r\nimport { LibraryActionsComponent } from 'apps/library-editor/components/library-actions/LibraryActionsComponent';\r\nimport leftNavStyles from 'shared/components/left-nav/left-nav.scss';\r\nimport { FolderTreeHelpers } from 'shared/utils';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { DroppableBehavior } from 'apps/library-editor/behaviors/droppable/DroppableBehavior';\r\nimport { VideoDragDropService } from 'apps/library-editor/services/VideoDragDropService';\r\nimport { LocationContext, AnalyticsOptions } from 'libs/analytics/interfaces';\r\n\r\nexport const LeftNavLibraryViewModelPrefix = 'library:left:nav';\r\n\r\ninterface LeftNavLibraryComponentOptions extends Core.ComponentOptions<Folder> {\r\n channelName: string;\r\n libraryId?: string;\r\n folderTreeId: string;\r\n forceOpen?: boolean;\r\n hasMultipleLibraries?: boolean;\r\n}\r\n\r\nclass LeftNavLibraryComponent extends Core.Component<Folder> {\r\n protected options: LeftNavLibraryComponentOptions;\r\n private videoDragDropService: VideoDragDropService;\r\n\r\n constructor(options: LeftNavLibraryComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n const open = this.options.forceOpen || this.options.libraryId && this.model.get('id').toString() === this.options.libraryId.toString();\r\n this.viewModel = ViewModelService.get(`${LeftNavLibraryViewModelPrefix}:${this.model.get('id')}`);\r\n this.viewModel.set('open', open);\r\n this.viewModel.set('disabled', false);\r\n this.listenTo(this.model, 'change:name', this.render);\r\n\r\n if (this.options.hasMultipleLibraries) {\r\n this.listenTo(this, 'open:sub:folders', this.onOpenSubFolders);\r\n }\r\n\r\n this.videoDragDropService = InstanceManager.getInstance(Services.VideoDragDrop, this);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavLibraryComponent';\r\n }\r\n\r\n public get template(): any {\r\n return LeftNavLibraryTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return leftNavStyles.libraryContainer;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n const channelNames = [ServiceChannels.FOLDER_DRAG_DROP];\r\n\r\n if (this.options.hasMultipleLibraries)\r\n channelNames.push(ServiceChannels.VIDEO_DRAG_DROP);\r\n\r\n return [{\r\n behaviorClass: DroppableBehavior,\r\n ui: 'anchor',\r\n channelNames,\r\n analyticsOptions: {\r\n location: LocationContext.LeftNav\r\n }\r\n }];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n folders: {\r\n el: '.folders-region',\r\n replaceElement: true\r\n },\r\n actions: {\r\n el: '.actions-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.ui-anchor': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.LIBRARY,\r\n args: [this.model.get('id')]\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .library-event': 'onClick'\r\n };\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n anchor: '.ui-anchor',\r\n text: '.ui-text'\r\n };\r\n }\r\n\r\n private onClick(event: JQuery.Event): void {\r\n if (!this.viewModel.get('open'))\r\n return;\r\n\r\n /**\r\n * This stops the appLink from triggering\r\n * because we're already on the view in question\r\n */\r\n event.stopImmediatePropagation();\r\n\r\n /**\r\n * And then we need to prevent default\r\n * because the appLink handler does that normally.\r\n */\r\n event.preventDefault();\r\n\r\n this.viewModel.set('open', !this.viewModel.get('open'));\r\n this.render();\r\n }\r\n\r\n private onOpenSubFolders(): void {\r\n const disabledLibraryIds = this.videoDragDropService.getDisabledLibraryIds();\r\n if (disabledLibraryIds.includes(this.model.get('id'))) {\r\n this.viewModel.set('disabled', true);\r\n this.render();\r\n return;\r\n }\r\n\r\n this.viewModel.set('open', true);\r\n this.render();\r\n }\r\n\r\n private hasFolders(): boolean {\r\n const firstFolder = FolderTreeHelpers.getFirstType(this.model.children, 'category');\r\n\r\n return !!firstFolder;\r\n }\r\n\r\n private get analyticsOptions(): AnalyticsOptions {\r\n return {\r\n location: LocationContext.LeftNav\r\n };\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles: leftNavStyles,\r\n caretSvg: SvgHelper.getSvg(cvSvgLibrary.Caret),\r\n open: this.viewModel.get('open'),\r\n hasFolders: this.hasFolders(),\r\n disabled: this.viewModel.get('disabled')\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('actions', new LibraryActionsComponent({\r\n model: this.model,\r\n extraClasses: `rounded-circle mr-1 ${leftNavStyles.actions}`,\r\n buttonClass: 'text-muted',\r\n analyticsOptions: this.analyticsOptions\r\n }));\r\n\r\n if (!this.model.children || !this.model.children.length || !this.viewModel.get('open'))\r\n return;\r\n\r\n this.showChildView('folders', new LeftNavComponent({\r\n appLink: {\r\n action: Actions.LibraryEditor.FOLDER,\r\n application: AppChannels.LIBRARY_EDITOR\r\n },\r\n linkArgs: (model: Core.Model) => [model.get('id')],\r\n collection: this.model.children,\r\n channelName: `${this.cid}`,\r\n childrenProperty: 'children',\r\n actions: VideoCollectionActionsComponent,\r\n folderTreeId: this.options.folderTreeId,\r\n analyticsOptions: this.analyticsOptions\r\n }));\r\n }\r\n}\r\n\r\ninterface LeftNavLibrariesComponentOptions extends Core.ComponentCollectionOptions {\r\n channelName: string;\r\n libraryId?: string;\r\n folderTreeId: string;\r\n forceOpen?: boolean;\r\n}\r\n\r\nexport class LeftNavLibrariesComponent extends Core.ComponentCollection {\r\n public options: LeftNavLibrariesComponentOptions;\r\n\r\n constructor(options: LeftNavLibrariesComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavLibrariesComponent';\r\n }\r\n\r\n public get childView(): typeof LeftNavLibraryComponent {\r\n return LeftNavLibraryComponent;\r\n }\r\n\r\n public get childViewOptions(): LeftNavLibraryComponentOptions {\r\n return {\r\n channelName: this.options.channelName,\r\n libraryId: this.options.libraryId,\r\n folderTreeId: this.options.folderTreeId,\r\n forceOpen: this.options.forceOpen,\r\n hasMultipleLibraries: this.collection.length > 1\r\n };\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.disabled : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selected : stack1), depth0));\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;\n\n return \" <span class=\\\"\"\n + container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.caret : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.caretSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"position-relative border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.library : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.disabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <a class=\\\"position-relative library-event \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.libraryAnchor : stack1), depth0))\n + \" \"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.open : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" ui-anchor no-hover-text-underline\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.hasFolders : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.text : stack1), depth0))\n + \" ui-text\\\">\"\n + alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias4,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</span>\\r\\n </a>\\r\\n <div class=\\\"actions-region\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"folders-region\\\"></div>\";\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibraryContainer : stack1), depth0))\n + \"\\\">\\r\\n <button class=\\\"applink-new-library btn btn-outline-secondary \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.addLibrary : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.plus : stack1), depth0))\n + \" d-inline-block position-absolute\\\">\\r\\n \"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.plusSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n </span>\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"newLibrary\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"logo-region\\\"></div>\\r\\n<div class=\\\"folder-tree-region\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.canCreateLibraries : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { Actions, DataPrefixes, DataChannels, ServiceChannels, AppChannels } from 'shared/constants';\r\nimport { LibraryDataServiceHelper } from 'apps/library-editor/services/LibraryDataService';\r\nimport LeftNavigationTemplate from './LeftNavigation.handlebars';\r\nimport { LeftNavLibrariesComponent, LeftNavLibraryViewModelPrefix } from 'apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent';\r\nimport styles from './left-navigation.scss';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { DataServices } from 'shared/constants/Services';\r\nimport { SettingsDataService } from 'shared/services/SettingsDataService';\r\nimport { UserDataServiceHelper } from 'shared/services/UserDataService';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SettingName, PartialLoading } from 'shared/enums';\r\nimport { User } from 'shared/models/User';\r\nimport { Setting } from 'shared/models/Setting';\r\nimport { Config } from 'shared/models/Config';\r\nimport { FolderTreeIds } from 'shared/constants/FolderTreeIds';\r\nimport { CustomerLogoComponent } from 'apps/library-editor/components/customer-logo/CustomerLogoComponent';\r\n\r\ninterface LeftNavigationViewOptions extends Core.ViewOptions {\r\n libraryId?: string;\r\n}\r\n\r\nexport class LeftNavigationView extends Core.View {\r\n public options: LeftNavigationViewOptions;\r\n private settingsDataService: SettingsDataService;\r\n\r\n private currentUser: User;\r\n private config: Config;\r\n private maxCustomLibraries: Setting;\r\n\r\n constructor(options: LeftNavigationViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.bindListeners();\r\n\r\n this.settingsDataService = InstanceManager.getInstance(DataServices.Settings, this);\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(this.channelName, 'select:library', this.onSelectLibrary);\r\n\r\n this.listenTo(DataChannels.LIBRARY, 'cache:cleared', this.fetchData);\r\n\r\n this.listenTo(ServiceChannels.FOLDER_DRAG_DROP, 're:render:left:nav', this.render);\r\n\r\n this.listenTo(DataChannels.SETTINGS, `${DataPrefixes.SETTINGS}:sync`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'LeftNavigationView';\r\n }\r\n\r\n public get title(): boolean {\r\n return false;\r\n }\r\n\r\n public get channelName(): string {\r\n return `${this.name}${this.cid}`;\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.leftNavigation';\r\n }\r\n\r\n public get className(): string {\r\n return 'bg-white pb-3';\r\n }\r\n\r\n public get template(): any {\r\n return LeftNavigationTemplate;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n logo: {\r\n el: '.logo-region',\r\n replaceElement: false\r\n },\r\n folderTree: {\r\n el: '.folder-tree-region',\r\n replaceElement: false,\r\n partialLoading: PartialLoading.LeftNav,\r\n }\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .new-folder': 'newFolder'\r\n };\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.applink-new-library': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.NEW_LIBRARY\r\n }\r\n };\r\n }\r\n\r\n private fetchData(): void {\r\n this.maxCustomLibraries = this.settingsDataService.getSetting(this.currentUser.get('customerId'), SettingName.MaxCustomLibraries);\r\n }\r\n\r\n private onSelectLibrary(libraryId: string): void {\r\n this.collection.each(library => {\r\n const viewModel = ViewModelService.get<Core.Model>(`${LeftNavLibraryViewModelPrefix}:${library.id}`);\r\n viewModel.set('open', library.id.toString() === libraryId);\r\n });\r\n\r\n this.render();\r\n }\r\n\r\n private renderLogo(): void {\r\n this.showChildView('logo', new CustomerLogoComponent({\r\n model: this.currentUser.get('customerLogo'),\r\n customerId: this.currentUser.get('customerId'),\r\n onlineUrl: this.config.get('onlineUrl')\r\n }));\r\n }\r\n\r\n private renderLeftNav(): void {\r\n const leftNavComponent = new LeftNavLibrariesComponent({\r\n collection: this.collection,\r\n channelName: this.channelName,\r\n libraryId: this.options.libraryId,\r\n folderTreeId: FolderTreeIds.LIBRARY_EDITOR,\r\n forceOpen: this.collection.length === 1\r\n });\r\n\r\n this.showChildView('folderTree', leftNavComponent);\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n currentUser: UserDataServiceHelper.currentUser,\r\n config: ConfigDataServiceHelper.config,\r\n collection: LibraryDataServiceHelper.libraries\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.fetchData();\r\n\r\n return !!this.maxCustomLibraries;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n if (!this.collection) return;\r\n\r\n return {\r\n styles,\r\n plusSvg: SvgHelper.getSvg(cvSvgLibrary.Plus),\r\n canCreateLibraries: this.maxCustomLibraries ? this.maxCustomLibraries.get('value') > this.collection.length : false\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderLogo();\r\n this.renderLeftNav();\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"addLibrary\":\"cv--addLibrary--1O42p\",\"addLibraryContainer\":\"cv--addLibraryContainer--1HX0v\",\"plus\":\"cv--plus--3aHT2\"};"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[5],{1022:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),i=n(0),r=n(12),a=n(1183),s=n.n(a),l=n(1184),c=n.n(l);function u(t){return(u="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})(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(l,t);var e,n,o,a=h(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"events",value:function(){var t,e,n,o=Object.keys(this.appLinks),i=(t={},e="click .".concat(c.a.sourceLabel),n="onClick",e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t);return o.forEach((function(t){i["click ".concat(t)]="onClick"})),i}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"getFolderLinks",value:function(){var t,e=this,n=this.model.get("categories");if(null===(t=n)||void 0===t?void 0:t.length){var o={};return n.forEach((function(t,n){var i=e.options.highlight?r.v.wordsHighlighter(r.v.escapeExpression(t.get("name")),e.model.get("_matchedWords")):r.v.escapeExpression(t.get("name"));o[t.get("id")]=i})),Object.keys(o).map((function(t){return'<a class="info-link applink-folder-'.concat(t,'">').concat(o[t],"</a>")})).join(", ")}}},{key:"onBeforeRender",value:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)}},{key:"viewOptions",value:function(){return{styles:c.a,folderCount:this.model.get("categories").length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}},{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)?this.model.get("categories").reduce((function(t,e){return t[".applink-folder-".concat(e.get("id"))]={application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]},t}),{}):{}}}])&&p(e.prototype,n),o&&p(e,o),l}(o.a.Component)},1038:function(t,e,n){"use strict";var o=n(2),i=n(18),r=n(7),a=n(0),s=n(152),l=n(1106),c=n.n(l),u=n(1107),p=n.n(u);function f(t){return(f="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})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(l,t);var e,n,o,i=y(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,t)}return e=l,(n=[{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.c.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.c.Filter){var t=this.model.pick("id","name","remove"),e=t.id,n=t.name;return!!t.remove||!e||!n}}},{key:"onRemoveTag",value:function(t){if(t.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(t){this.options.behavior!==s.c.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.c.Link?"a":"span"}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?"":" d-inline-flex"),e="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.c.Disabled?" ".concat(p.a.disabled):""),o="".concat(this.options.behavior===s.c.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(o).concat(t).concat(e).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.c.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.c.Link,orientation:s.d.Flex}}}])&&h(e.prototype,n),o&&h(e,o),l}(o.a.Component);function v(t){return(v="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})(t)}function k(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(l,t);var e,n,r,a=w(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.options.behavior!==s.c.Edit||this.options.removeEvent||o.a.ErrorHelper.throw(new i.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.d.Flex}}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(t)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return b}}])&&k(e.prototype,n),r&&k(e,r),l}(o.a.ComponentCollection)},1076:function(t,e,n){"use strict";var o=n(2),i=n(85),r=n(4),a=n(40),s=n(14),l=n(1),c=n(128),u=n(1187),p=n.n(u),f=n(1164),h=n.n(f);function d(t){return(d="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})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==s.return||s.return()}finally{if(i)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function k(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){this.logAction()}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(l.isObject(t)){var e=y(t.args,1)[0];a.a.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:h.a,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}},{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return p.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){if(!this.model.get("href"))return{}}},{key:"className",get:function(){var t="d-inline-block px-1 no-decoration";return this.model.get("isDisabled")&&(t+=" ".concat(h.a.disabled)),t}},{key:"behaviors",get:function(){var t=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(t)return[{behaviorClass:c.a,title:t}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}}]),n}(o.a.Component),_=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(o.a.ComponentCollection),P=n(1018),T=n(0),A=n(12),j=n(3),L=n(152),R=n(1188),x=n.n(R);function D(t){return(D="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})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=F(t);if(e){var i=F(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return M(this,n)}}function M(t,e){return!e||"object"!==D(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return H}));var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(u,t);var e,n,l,c=N(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick","click @ui.dropdownToggle":"onClickMore","click @ui.moreActions":"onClickMore"}}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickMore",value:function(t){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"getActions",value:function(){return new o.a.Collection([{title:j.a.getPhrase(this.lang,"share"),svg:s.a.getSvg(s.b.Share),isDisabled:!A.j.canShareVideo(this.model,this.options.application),tooltipText:A.j.canShareVideo(this.model,this.options.application)?j.a.getPhrase(this.lang,"share"):A.j.getSharePermissionsMessage(this.model,this.options.application),appLink:{application:this.options.application,action:T.a.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Share})},{title:j.a.getPhrase(this.lang,"edit"),svg:A.j.canEditVideo(this.model)?s.a.getSvg(s.b.Edit):s.a.getSvg(s.b.EditClickView),tooltipText:this.getEditTooltip(),appLink:{application:T.b.LIBRARY_EDITOR,action:T.a.LibraryEditor.EDIT_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Edit,workflowPhase:r.r.Start})}])}},{key:"getEditTooltip",value:function(){return A.j.canEditVideo(this.model)?j.a.getPhrase(this.lang,"edit"):A.x.isExchangeVideo(this.model)?j.a.getPhrase(this.lang,"linkedToExchange"):j.a.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===L.e.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var t=[];if(this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:T.a.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Move,descriptor:r.l.Single,workflowPhase:r.r.Start})}),t.push({title:j.a.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:T.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.SetAccess,workflowPhase:r.r.Start})}),this.options.application===T.b.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&t.push({title:j.a.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:T.a.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}}),t.push({title:j.a.getPhrase(this.lang,"openInStaffView"),href:i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id"))),external:!0,icon:s.a.getSvg(s.b.NewWindow),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Click,descriptor:r.b.OpenInStaffView})}),this.options.application!==T.b.CONTENT_UPDATES){var e=A.j.canDownloadVideo(this.model);t.push({title:j.a.getPhrase(this.lang,"download"),disabled:!e,classes:e?"":"".concat(h.a.disabled),tooltip:e?null:{title:j.a.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Download}),appLink:e?{application:this.options.application,action:T.a.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&A.j.canAddToExchange(this.model)&&t.push({title:j.a.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:T.a.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),this.options.customerHasLocalCache&&t.push({title:j.a.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:T.a.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.AddToLocalCache})}),this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:T.a.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Delete,descriptor:r.l.Single,workflowPhase:r.r.Start})}),new o.a.Collection(t)}},{key:"renderActions",value:function(){this.showChildView("actions",new _({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new P.a({displayOptions:{alignment:"right"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:a.a})))}},{key:"viewOptions",value:function(){return{styles:h.a,moreSvg:s.a.getSvg(s.b.More)}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions()}},{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return x.a}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return h.a.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}}])&&I(e.prototype,n),l&&I(e,l),u}(o.a.Component)},1106:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return'<span class="close cursor-pointer" aria-hidden="true">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=null!=e?e:t.nullContext||{};return t.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:t.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:i}):a)+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=e?e.options:e)?r.removable:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1107:function(t,e,n){t.exports={disabled:"_3Vziu"}},1164:function(t,e,n){t.exports={actions:"_1U-Yf",svgContainer:"_3hYSf",actionName:"_2kY6B",disabled:"_3UjU0"}},1183:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.escapeExpression;return'<span class="'+a(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.sourceLabel:r,e))+'">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.folderCount:r},data:i}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return(null!=(r=n.unless.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hideLabel:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.folders:r,e))?r:"")},useData:!0})},1184:function(t,e,n){t.exports={sourceLabel:"_2HK7r"}},1187:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression;return' <span class="align-middle mr-2 '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.actionName:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+l("function"==typeof(a=null!=(a=n.title||(null!=e?e.title:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:i}):a)+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression,c=null!=e?e:t.nullContext||{};return' <span class="d-inline-block align-middle '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+(null!=(r="function"==typeof(a=null!=(a=n.svg||(null!=e?e.svg:e))?a:t.hooks.helperMissing)?a.call(c,{name:"svg",hash:{},data:i}):a)?r:"")+"</span>\r\n"+(null!=(r=n.if.call(c,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1188:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<div class="actions-region d-inline-block"></div>\r\n<span class="d-inline-block">\r\n <span data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="ui-more d-inline-block ui-dropdown-toggle align-middle '+t.escapeExpression(a(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+' cursor-pointer d-inline-block">'+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.moreSvg:r,e))?r:"")+'</span>\r\n <div class="more-actions-region"></div>\r\n</span>\r\n'},useData:!0})}}]);
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[5],{1020:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var o=n(2),i=n(0),r=n(12),a=n(1181),s=n.n(a),l=n(1182),c=n.n(l);function u(t){return(u="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})(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var i=y(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(l,t);var e,n,o,a=h(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"events",value:function(){var t,e,n,o=Object.keys(this.appLinks),i=(t={},e="click .".concat(c.a.sourceLabel),n="onClick",e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t);return o.forEach((function(t){i["click ".concat(t)]="onClick"})),i}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"getFolderLinks",value:function(){var t,e=this,n=this.model.get("categories");if(null===(t=n)||void 0===t?void 0:t.length){var o={};return n.forEach((function(t,n){var i=e.options.highlight?r.v.wordsHighlighter(r.v.escapeExpression(t.get("name")),e.model.get("_matchedWords")):r.v.escapeExpression(t.get("name"));o[t.get("id")]=i})),Object.keys(o).map((function(t){return'<a class="info-link applink-folder-'.concat(t,'">').concat(o[t],"</a>")})).join(", ")}}},{key:"onBeforeRender",value:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)}},{key:"viewOptions",value:function(){return{styles:c.a,folderCount:this.model.get("categories").length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}},{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var t;return this.options.showFolder&&(null===(t=this.model.get("categories"))||void 0===t?void 0:t.length)?this.model.get("categories").reduce((function(t,e){return t[".applink-folder-".concat(e.get("id"))]={application:i.b.LIBRARY_EDITOR,action:i.a.LibraryEditor.FOLDER,args:[e.get("id")]},t}),{}):{}}}])&&p(e.prototype,n),o&&p(e,o),l}(o.a.Component)},1036:function(t,e,n){"use strict";var o=n(2),i=n(18),r=n(7),a=n(0),s=n(152),l=n(1104),c=n.n(l),u=n(1105),p=n.n(u);function f(t){return(f="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})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(l,t);var e,n,o,i=y(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,t)}return e=l,(n=[{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.c.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.c.Filter){var t=this.model.pick("id","name","remove"),e=t.id,n=t.name;return!!t.remove||!e||!n}}},{key:"onRemoveTag",value:function(t){if(t.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(t){this.options.behavior!==s.c.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.c.Link?"a":"span"}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?"":" d-inline-flex"),e="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.c.Disabled?" ".concat(p.a.disabled):""),o="".concat(this.options.behavior===s.c.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(o).concat(t).concat(e).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.c.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.c.Link,orientation:s.d.Flex}}}])&&h(e.prototype,n),o&&h(e,o),l}(o.a.Component);function v(t){return(v="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})(t)}function k(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(l,t);var e,n,r,a=w(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.options.behavior!==s.c.Edit||this.options.removeEvent||o.a.ErrorHelper.throw(new i.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.d.Flex}}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.d.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(t)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return b}}])&&k(e.prototype,n),r&&k(e,r),l}(o.a.ComponentCollection)},1074:function(t,e,n){"use strict";var o=n(2),i=n(85),r=n(4),a=n(40),s=n(14),l=n(1),c=n(128),u=n(1185),p=n.n(u),f=n(1162),h=n.n(f);function d(t){return(d="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})(t)}function y(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);o=!0);}catch(t){i=!0,r=t}finally{try{o||null==s.return||s.return()}finally{if(i)throw r}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function v(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),t}function k(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var C=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){this.logAction()}},{key:"logAction",value:function(){var t=this.model.get("appLink");if(l.isObject(t)){var e=y(t.args,1)[0];a.a.logUserAction({id:e},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:h.a,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}},{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return p.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){if(!this.model.get("href"))return{}}},{key:"className",get:function(){var t="d-inline-block px-1 no-decoration";return this.model.get("isDisabled")&&(t+=" ".concat(h.a.disabled)),t}},{key:"behaviors",get:function(){var t=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(t)return[{behaviorClass:c.a,title:t}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}}]),n}(o.a.Component),_=function(t){k(n,t);var e=w(n);function n(t){return m(this,n),e.call(this,t)}return v(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return C}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(o.a.ComponentCollection),P=n(1016),T=n(0),A=n(12),j=n(3),L=n(152),R=n(1186),x=n.n(R);function D(t){return(D="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})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function V(t,e){return(V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=F(t);if(e){var i=F(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return M(this,n)}}function M(t,e){return!e||"object"!==D(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function F(t){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return H}));var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(u,t);var e,n,l,c=N(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),c.call(this,t)}return e=u,(n=[{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick","click @ui.dropdownToggle":"onClickMore","click @ui.moreActions":"onClickMore"}}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickMore",value:function(t){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"getActions",value:function(){return new o.a.Collection([{title:j.a.getPhrase(this.lang,"share"),svg:s.a.getSvg(s.b.Share),isDisabled:!A.j.canShareVideo(this.model,this.options.application),tooltipText:A.j.canShareVideo(this.model,this.options.application)?j.a.getPhrase(this.lang,"share"):A.j.getSharePermissionsMessage(this.model,this.options.application),appLink:{application:this.options.application,action:T.a.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Share})},{title:j.a.getPhrase(this.lang,"edit"),svg:A.j.canEditVideo(this.model)?s.a.getSvg(s.b.Edit):s.a.getSvg(s.b.EditClickView),tooltipText:this.getEditTooltip(),appLink:{application:T.b.LIBRARY_EDITOR,action:T.a.LibraryEditor.EDIT_VIDEO,args:[this.model.get("id")]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Edit,workflowPhase:r.r.Start})}])}},{key:"getEditTooltip",value:function(){return A.j.canEditVideo(this.model)?j.a.getPhrase(this.lang,"edit"):A.x.isExchangeVideo(this.model)?j.a.getPhrase(this.lang,"linkedToExchange"):j.a.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===L.e.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var t=[];if(this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:T.a.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Move,descriptor:r.l.Single,workflowPhase:r.r.Start})}),t.push({title:j.a.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:T.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.SetAccess,workflowPhase:r.r.Start})}),this.options.application===T.b.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&t.push({title:j.a.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:T.a.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}}),t.push({title:j.a.getPhrase(this.lang,"openInStaffView"),href:i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id"))),external:!0,icon:s.a.getSvg(s.b.NewWindow),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Click,descriptor:r.b.OpenInStaffView})}),this.options.application!==T.b.CONTENT_UPDATES){var e=A.j.canDownloadVideo(this.model);t.push({title:j.a.getPhrase(this.lang,"download"),disabled:!e,classes:e?"":"".concat(h.a.disabled),tooltip:e?null:{title:j.a.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Download}),appLink:e?{application:this.options.application,action:T.a.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&A.j.canAddToExchange(this.model)&&t.push({title:j.a.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:T.a.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),this.options.customerHasLocalCache&&t.push({title:j.a.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:T.a.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.AddToLocalCache})}),this.options.collectionIdentifier&&t.push({title:j.a.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:T.a.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:r.q.Delete,descriptor:r.l.Single,workflowPhase:r.r.Start})}),new o.a.Collection(t)}},{key:"renderActions",value:function(){this.showChildView("actions",new _({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new P.a({displayOptions:{alignment:"right"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:a.a})))}},{key:"viewOptions",value:function(){return{styles:h.a,moreSvg:s.a.getSvg(s.b.More)}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions()}},{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return x.a}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return h.a.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}}])&&I(e.prototype,n),l&&I(e,l),u}(o.a.Component)},1104:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return'<span class="close cursor-pointer" aria-hidden="true">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=null!=e?e:t.nullContext||{};return t.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:t.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:i}):a)+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=e?e.options:e)?r.removable:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1105:function(t,e,n){t.exports={disabled:"_3Vziu"}},1162:function(t,e,n){t.exports={actions:"_1U-Yf",svgContainer:"_3hYSf",actionName:"_2kY6B",disabled:"_3UjU0"}},1181:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.escapeExpression;return'<span class="'+a(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.sourceLabel:r,e))+'">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.folderCount:r},data:i}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return(null!=(r=n.unless.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hideLabel:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.folders:r,e))?r:"")},useData:!0})},1182:function(t,e,n){t.exports={sourceLabel:"_2HK7r"}},1185:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression;return' <span class="align-middle mr-2 '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.actionName:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+l("function"==typeof(a=null!=(a=n.title||(null!=e?e.title:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:i}):a)+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,s=t.lambda,l=t.escapeExpression,c=null!=e?e:t.nullContext||{};return' <span class="d-inline-block align-middle '+l(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" "+l(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+(null!=(r="function"==typeof(a=null!=(a=n.svg||(null!=e?e.svg:e))?a:t.hooks.helperMissing)?a.call(c,{name:"svg",hash:{},data:i}):a)?r:"")+"</span>\r\n"+(null!=(r=n.if.call(c,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},1186:function(t,e,n){var o=n(9);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<div class="actions-region d-inline-block"></div>\r\n<span class="d-inline-block">\r\n <span data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="ui-more d-inline-block ui-dropdown-toggle align-middle '+t.escapeExpression(a(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+' cursor-pointer d-inline-block">'+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.moreSvg:r,e))?r:"")+'</span>\r\n <div class="more-actions-region"></div>\r\n</span>\r\n'},useData:!0})}}]);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[5],{
|
|
2
|
+
|
|
3
|
+
/***/ "../../../node_modules/@clickview/url-signer/dist/url-signer.js":
|
|
4
|
+
/*!**********************************************************************************************!*\
|
|
5
|
+
!*** C:/ClickView Projects/@clickview/node_modules/@clickview/url-signer/dist/url-signer.js ***!
|
|
6
|
+
\**********************************************************************************************/
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
var require;parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if( true&&"string"==typeof t)return __webpack_require__("../../../node_modules/@clickview/url-signer/dist sync recursive")(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]); true?module.exports=l:undefined}if(parcelRequire=f,i)throw i;return f}({"Tt42":[function(require,module,exports) {
|
|
11
|
+
"use strict";function e(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.fixedEncodeURIComponent=void 0,exports.fixedEncodeURIComponent=e;
|
|
12
|
+
},{}],"IQIv":[function(require,module,exports) {
|
|
13
|
+
var define;
|
|
14
|
+
var t;!function(r,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof t&&t.amd?t(n):(r=r||self).jsSHA=n()}(this,function(){"use strict";var t=function(r,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])})(r,n)},r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function n(t,r,n,e){var o,i,u,s=r||[0],h=(n=n||0)>>>3,a=-1===e?3:0;for(o=0;o<t.length;o+=1)i=(u=o+h)>>>2,s.length<=i&&s.push(0),s[i]|=t[o]<<8*(a+e*(u%4));return{value:s,binLen:8*t.length+n}}function e(t,e,o){switch(e){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(t){case"HEX":return function(t,r,n){return function(t,r,n,e){var o,i,u,s;if(0!=t.length%2)throw new Error("String of HEX type must be in byte increments");var h=r||[0],a=(n=n||0)>>>3,f=-1===e?3:0;for(o=0;o<t.length;o+=2){if(i=parseInt(t.substr(o,2),16),isNaN(i))throw new Error("String of HEX type contains invalid characters");for(u=(s=(o>>>1)+a)>>>2;h.length<=u;)h.push(0);h[u]|=i<<8*(f+e*(s%4))}return{value:h,binLen:4*t.length+n}}(t,r,n,o)};case"TEXT":return function(t,r,n){return function(t,r,n,e,o){var i,u,s,h,a,f,c,p,l=0,w=n||[0],v=(e=e||0)>>>3;if("UTF8"===r)for(c=-1===o?3:0,s=0;s<t.length;s+=1)for(u=[],128>(i=t.charCodeAt(s))?u.push(i):2048>i?(u.push(192|i>>>6),u.push(128|63&i)):55296>i||57344<=i?u.push(224|i>>>12,128|i>>>6&63,128|63&i):(s+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(s)),u.push(240|i>>>18,128|i>>>12&63,128|i>>>6&63,128|63&i)),h=0;h<u.length;h+=1){for(a=(f=l+v)>>>2;w.length<=a;)w.push(0);w[a]|=u[h]<<8*(c+o*(f%4)),l+=1}else for(c=-1===o?2:0,p="UTF16LE"===r&&1!==o||"UTF16LE"!==r&&1===o,s=0;s<t.length;s+=1){for(i=t.charCodeAt(s),!0===p&&(i=(h=255&i)<<8|i>>>8),a=(f=l+v)>>>2;w.length<=a;)w.push(0);w[a]|=i<<8*(c+o*(f%4)),l+=2}return{value:w,binLen:8*l+e}}(t,e,r,n,o)};case"B64":return function(t,n,e){return function(t,n,e,o){var i,u,s,h,a,f,c=0,p=n||[0],l=(e=e||0)>>>3,w=-1===o?3:0,v=t.indexOf("=");if(-1===t.search(/^[a-zA-Z0-9=+\/]+$/))throw new Error("Invalid character in base-64 string");if(t=t.replace(/=/g,""),-1!==v&&v<t.length)throw new Error("Invalid '=' found in base-64 string");for(i=0;i<t.length;i+=4){for(h=t.substr(i,4),s=0,u=0;u<h.length;u+=1)s|=r.indexOf(h.charAt(u))<<18-6*u;for(u=0;u<h.length-1;u+=1){for(a=(f=c+l)>>>2;p.length<=a;)p.push(0);p[a]|=(s>>>16-8*u&255)<<8*(w+o*(f%4)),c+=1}}return{value:p,binLen:8*c+e}}(t,n,e,o)};case"BYTES":return function(t,r,n){return function(t,r,n,e){var o,i,u,s,h=r||[0],a=(n=n||0)>>>3,f=-1===e?3:0;for(i=0;i<t.length;i+=1)o=t.charCodeAt(i),u=(s=i+a)>>>2,h.length<=u&&h.push(0),h[u]|=o<<8*(f+e*(s%4));return{value:h,binLen:8*t.length+n}}(t,r,n,o)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t,r,e){return function(t,r,e,o){return n(new Uint8Array(t),r,e,o)}(t,r,e,o)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t,r,e){return n(t,r,e,o)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function o(t,n,e,o){switch(t){case"HEX":return function(t){return function(t,r,n,e){var o,i,u="",s=r/8,h=-1===n?3:0;for(o=0;o<s;o+=1)i=t[o>>>2]>>>8*(h+n*(o%4)),u+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return e.outputUpper?u.toUpperCase():u}(t,n,e,o)};case"B64":return function(t){return function(t,n,e,o){var i,u,s,h,a,f="",c=n/8,p=-1===e?3:0;for(i=0;i<c;i+=3)for(h=i+1<c?t[i+1>>>2]:0,a=i+2<c?t[i+2>>>2]:0,s=(t[i>>>2]>>>8*(p+e*(i%4))&255)<<16|(h>>>8*(p+e*((i+1)%4))&255)<<8|a>>>8*(p+e*((i+2)%4))&255,u=0;u<4;u+=1)f+=8*i+6*u<=n?r.charAt(s>>>6*(3-u)&63):o.b64Pad;return f}(t,n,e,o)};case"BYTES":return function(t){return function(t,r,n){var e,o,i="",u=r/8,s=-1===n?3:0;for(e=0;e<u;e+=1)o=t[e>>>2]>>>8*(s+n*(e%4))&255,i+=String.fromCharCode(o);return i}(t,n,e)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t){return function(t,r,n){var e,o=r/8,i=new ArrayBuffer(o),u=new Uint8Array(i),s=-1===n?3:0;for(e=0;e<o;e+=1)u[e]=t[e>>>2]>>>8*(s+n*(e%4))&255;return i}(t,n,e)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t){return function(t,r,n){var e,o=r/8,i=-1===n?3:0,u=new Uint8Array(o);for(e=0;e<o;e+=1)u[e]=t[e>>>2]>>>8*(i+n*(e%4))&255;return u}(t,n,e)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function i(t){var r={outputUpper:!1,b64Pad:"=",outputLen:-1},n=t||{},e="Output length must be a multiple of 8";if(r.outputUpper=n.outputUpper||!1,n.b64Pad&&(r.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(e);r.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(e);r.outputLen=n.shakeLen}if("boolean"!=typeof r.outputUpper)throw new Error("Invalid outputUpper formatting option");if("string"!=typeof r.b64Pad)throw new Error("Invalid b64Pad formatting option");return r}function u(t,r){return t<<r|t>>>32-r}function s(t,r,n){return t^r^n}function h(t,r,n){return t&r^t&n^r&n}function a(t,r){var n=(65535&t)+(65535&r);return(65535&(t>>>16)+(r>>>16)+(n>>>16))<<16|65535&n}function f(t,r,n,e,o){var i=(65535&t)+(65535&r)+(65535&n)+(65535&e)+(65535&o);return(65535&(t>>>16)+(r>>>16)+(n>>>16)+(e>>>16)+(o>>>16)+(i>>>16))<<16|65535&i}function c(t){return[1732584193,4023233417,2562383102,271733878,3285377520]}function p(t,r){var n,e,o,i,c,p,l,w,v=[];for(n=r[0],e=r[1],o=r[2],i=r[3],c=r[4],l=0;l<80;l+=1)v[l]=l<16?t[l]:u(v[l-3]^v[l-8]^v[l-14]^v[l-16],1),p=l<20?f(u(n,5),(w=e)&o^~w&i,c,1518500249,v[l]):l<40?f(u(n,5),s(e,o,i),c,1859775393,v[l]):l<60?f(u(n,5),h(e,o,i),c,2400959708,v[l]):f(u(n,5),s(e,o,i),c,3395469782,v[l]),c=i,i=o,o=u(e,30),e=n,n=p;return r[0]=a(n,r[0]),r[1]=a(e,r[1]),r[2]=a(o,r[2]),r[3]=a(i,r[3]),r[4]=a(c,r[4]),r}function l(t,r,n,e){for(var o,i=15+(r+65>>>9<<4),u=r+n;t.length<=i;)t.push(0);for(t[r>>>5]|=128<<24-r%32,t[i]=4294967295&u,t[i-1]=u/4294967296|0,o=0;o<t.length;o+=16)e=p(t.slice(o,o+16),e);return e}return function(r){function n(t,n,o){var i=this;if("SHA-1"!==t)throw new Error("Chosen SHA variant is not supported");var u=o||{};return(i=r.call(this,t,n,o)||this).t=!0,i.i=i.o,i.u=-1,i.s=e(i.h,i.v,i.u),i.A=p,i.p=function(t){return t.slice()},i.l=c,i.R=l,i.U=[1732584193,4023233417,2562383102,271733878,3285377520],i.T=512,i.m=160,i.F=!1,u.hmacKey&&i.B(function(t,r,n,o){var i="hmacKey must include a value and format";if(!r)throw new Error(i);if(void 0===r.value||!r.format)throw new Error(i);return e(r.format,r.encoding||"UTF8",n)(r.value)}(0,u.hmacKey,i.u)),i}return function(r,n){function e(){this.constructor=r}t(r,n),r.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}(n,r),n}(function(){function t(t,r,n){var e=n||{};if(this.h=r,this.v=e.encoding||"UTF8",this.numRounds=e.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.g=t,this.Y=[],this.I=0,this.C=!1,this.H=0,this.L=!1,this.N=[],this.S=[]}return t.prototype.update=function(t){var r,n=0,e=this.T>>>5,o=this.s(t,this.Y,this.I),i=o.binLen,u=o.value,s=i>>>5;for(r=0;r<s;r+=e)n+this.T<=i&&(this.U=this.A(u.slice(r,r+e),this.U),n+=this.T);this.H+=n,this.Y=u.slice(n>>>5),this.I=i%this.T,this.C=!0},t.prototype.getHash=function(t,r){var n,e,u=this.m,s=i(r);if(!0===this.F){if(-1===s.outputLen)throw new Error("Output length must be specified in options");u=s.outputLen}var h=o(t,u,this.u,s);if(!0===this.L&&this.i)return h(this.i(s));for(e=this.R(this.Y.slice(),this.I,this.H,this.p(this.U),u),n=1;n<this.numRounds;n+=1)!0===this.F&&u%32!=0&&(e[e.length-1]&=16777215>>>24-u%32),e=this.R(e,u,0,this.l(this.g),u);return h(e)},t.prototype.setHMACKey=function(t,r,n){if(!0!==this.t)throw new Error("Variant does not support HMAC");if(!0===this.C)throw new Error("Cannot set MAC key after calling update");var o=e(r,(n||{}).encoding||"UTF8",this.u);this.B(o(t))},t.prototype.B=function(t){var r,n=this.T>>>3,e=n/4-1;if(1!==this.numRounds)throw new Error("Cannot set numRounds with MAC");if(!0===this.L)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.R(t.value,t.binLen,0,this.l(this.g),this.m));t.value.length<=e;)t.value.push(0);for(r=0;r<=e;r+=1)this.N[r]=909522486^t.value[r],this.S[r]=1549556828^t.value[r];this.U=this.A(this.N,this.U),this.H=this.T,this.L=!0},t.prototype.getHMAC=function(t,r){var n=i(r);return o(t,this.m,this.u,n)(this.o())},t.prototype.o=function(){var t;if(!1===this.L)throw new Error("Cannot call getHMAC without first setting MAC key");var r=this.R(this.Y.slice(),this.I,this.H,this.p(this.U),this.m);return t=this.A(this.S,this.l(this.g)),this.R(r,this.m,this.T,t,this.m)},t}())});
|
|
15
|
+
},{}],"vhxO":[function(require,module,exports) {
|
|
16
|
+
"use strict";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.generateHash=void 0;var t=e(require("jssha/dist/sha1"));function r(e){var r=new t.default("SHA-1","TEXT",{encoding:"UTF8"});return r.update(e),r.getHash("B64")}exports.generateHash=r;
|
|
17
|
+
},{"jssha/dist/sha1":"IQIv"}],"tgmD":[function(require,module,exports) {
|
|
18
|
+
"use strict";module.exports=(e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>"%".concat(e.charCodeAt(0).toString(16).toUpperCase())));
|
|
19
|
+
},{}],"YtoU":[function(require,module,exports) {
|
|
20
|
+
"use strict";var e="%[a-f0-9]{2}",t=new RegExp(e,"gi"),r=new RegExp("("+e+")+","gi");function n(e,t){try{return decodeURIComponent(e.join(""))}catch(c){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],n(r),n(o))}function o(e){try{return decodeURIComponent(e)}catch(c){for(var r=e.match(t),o=1;o<r.length;o++)r=(e=n(r,o).join("")).match(t);return e}}function c(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(u){var c=o(n[0]);c!==n[0]&&(t[n[0]]=c)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),p=0;p<a.length;p++){var i=a[p];e=e.replace(new RegExp(i,"g"),t[i])}return e}module.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return c(e)}};
|
|
21
|
+
},{}],"SVkH":[function(require,module,exports) {
|
|
22
|
+
"use strict";module.exports=function(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]};
|
|
23
|
+
},{}],"TuMS":[function(require,module,exports) {
|
|
24
|
+
"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(t)}function t(r){return a(r)||o(r)||n(r)||e()}function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(r,t){if(r){if("string"==typeof r)return i(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(r,t):void 0}}function o(r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r))return Array.from(r)}function a(r){if(Array.isArray(r))return i(r)}function i(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}var c=require("strict-uri-encode"),u=require("decode-uri-component"),s=require("split-on-first"),f=function(r){return null==r};function l(r){switch(r.arrayFormat){case"index":return function(e){return function(n,o){var a=n.length;return void 0===o||r.skipNull&&null===o||r.skipEmptyString&&""===o?n:[].concat(t(n),null===o?[[m(e,r),"[",a,"]"].join("")]:[[m(e,r),"[",m(a,r),"]=",m(o,r)].join("")])}};case"bracket":return function(e){return function(n,o){return void 0===o||r.skipNull&&null===o||r.skipEmptyString&&""===o?n:[].concat(t(n),null===o?[[m(e,r),"[]"].join("")]:[[m(e,r),"[]=",m(o,r)].join("")])}};case"comma":case"separator":return function(t){return function(e,n){return null==n||0===n.length?e:0===e.length?[[m(t,r),"=",m(n,r)].join("")]:[[e,m(n,r)].join(r.arrayFormatSeparator)]}};default:return function(e){return function(n,o){return void 0===o||r.skipNull&&null===o||r.skipEmptyString&&""===o?n:[].concat(t(n),null===o?[m(e,r)]:[[m(e,r),"=",m(o,r)].join("")])}}}}function p(r){var t;switch(r.arrayFormat){case"index":return function(r,e,n){t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),t?(void 0===n[r]&&(n[r]={}),n[r][t[1]]=e):n[r]=e};case"bracket":return function(r,e,n){t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),t?void 0!==n[r]?n[r]=[].concat(n[r],e):n[r]=[e]:n[r]=e};case"comma":case"separator":return function(t,e,n){var o="string"==typeof e&&e.split("").indexOf(r.arrayFormatSeparator)>-1?e.split(r.arrayFormatSeparator).map(function(t){return d(t,r)}):null===e?e:d(e,r);n[t]=o};default:return function(r,t,e){void 0!==e[r]?e[r]=[].concat(e[r],t):e[r]=t}}}function y(r){if("string"!=typeof r||1!==r.length)throw new TypeError("arrayFormatSeparator must be single character string")}function m(r,t){return t.encode?t.strict?c(r):encodeURIComponent(r):r}function d(r,t){return t.decode?u(r):r}function b(t){return Array.isArray(t)?t.sort():"object"===r(t)?b(Object.keys(t)).sort(function(r,t){return Number(r)-Number(t)}).map(function(r){return t[r]}):t}function g(r){var t=r.indexOf("#");return-1!==t&&(r=r.slice(0,t)),r}function v(r){var t="",e=r.indexOf("#");return-1!==e&&(t=r.slice(e)),t}function j(r){var t=(r=g(r)).indexOf("?");return-1===t?"":r.slice(t+1)}function O(r,t){return t.parseNumbers&&!Number.isNaN(Number(r))&&"string"==typeof r&&""!==r.trim()?r=Number(r):!t.parseBooleans||null===r||"true"!==r.toLowerCase()&&"false"!==r.toLowerCase()||(r="true"===r.toLowerCase()),r}function S(t,e){y((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);var n=p(e),o=Object.create(null);if("string"!=typeof t)return o;if(!(t=t.trim().replace(/^[?#&]/,"")))return o;for(var a of t.split("&")){var[i,c]=s(e.decode?a.replace(/\+/g," "):a,"=");c=void 0===c?null:["comma","separator"].includes(e.arrayFormat)?c:d(c,e),n(d(i,e),c,o)}for(var u of Object.keys(o)){var f=o[u];if("object"===r(f)&&null!==f)for(var l of Object.keys(f))f[l]=O(f[l],e);else o[u]=O(f,e)}return!1===e.sort?o:(!0===e.sort?Object.keys(o).sort():Object.keys(o).sort(e.sort)).reduce(function(t,e){var n=o[e];return Boolean(n)&&"object"===r(n)&&!Array.isArray(n)?t[e]=b(n):t[e]=n,t},Object.create(null))}exports.extract=j,exports.parse=S,exports.stringify=function(r,t){if(!r)return"";y((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);var e=function(e){return t.skipNull&&f(r[e])||t.skipEmptyString&&""===r[e]},n=l(t),o={};for(var a of Object.keys(r))e(a)||(o[a]=r[a]);var i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(function(e){var o=r[e];return void 0===o?"":null===o?m(e,t):Array.isArray(o)?o.reduce(n(e),[]).join("&"):m(e,t)+"="+m(o,t)}).filter(function(r){return r.length>0}).join("&")},exports.parseUrl=function(r,t){t=Object.assign({decode:!0},t);var[e,n]=s(r,"#");return Object.assign({url:e.split("?")[0]||"",query:S(j(r),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:d(n,t)}:{})},exports.stringifyUrl=function(r,t){t=Object.assign({encode:!0,strict:!0},t);var e=g(r.url).split("?")[0]||"",n=exports.extract(r.url),o=exports.parse(n,{sort:!1}),a=Object.assign(o,r.query),i=exports.stringify(a,t);i&&(i="?".concat(i));var c=v(r.url);return r.fragmentIdentifier&&(c="#".concat(m(r.fragmentIdentifier,t))),"".concat(e).concat(i).concat(c)};
|
|
25
|
+
},{"strict-uri-encode":"tgmD","decode-uri-component":"YtoU","split-on-first":"SVkH"}],"Q3iA":[function(require,module,exports) {
|
|
26
|
+
"use strict";var r=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringifyUrl=exports.parseUrl=void 0;var e=r(require("query-string"));function t(r){return e.default.parseUrl(r,{decode:!1})}function s(r,t){return e.default.stringifyUrl({url:r,query:t},{encode:!1})}exports.parseUrl=t,exports.stringifyUrl=s;
|
|
27
|
+
},{"query-string":"TuMS"}],"GSDY":[function(require,module,exports) {
|
|
28
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getSignature=void 0;var e=require("./fixedEncodeURIComponent"),r=require("./generateHash"),n=require("./queryStringHelpers");function t(t){var o=n.parseUrl(t),i=o.query,u={};for(var a in i)u[e.fixedEncodeURIComponent(a)]=e.fixedEncodeURIComponent(i[a]);return r.generateHash(n.stringifyUrl(o.url,u))}exports.getSignature=t;
|
|
29
|
+
},{"./fixedEncodeURIComponent":"Tt42","./generateHash":"vhxO","./queryStringHelpers":"Q3iA"}],"yhXp":[function(require,module,exports) {
|
|
30
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.signUrl=void 0;var e=require("./getSignature"),r=require("./queryStringHelpers");function t(t,i){i||(i={timestamp:!1});var n=r.parseUrl(t),s=n.query;return i.timestamp&&(s.exp=(new Date).getTime().toString()),s.sig=encodeURIComponent(e.getSignature(r.stringifyUrl(n.url,s))),r.stringifyUrl(n.url,s)}exports.signUrl=t;
|
|
31
|
+
},{"./getSignature":"GSDY","./queryStringHelpers":"Q3iA"}],"hOaR":[function(require,module,exports) {
|
|
32
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.verifyUrl=void 0;var e=require("./getSignature"),r=require("./queryStringHelpers");function i(i,t){t||(t={expiryTime:3e5});var u=r.parseUrl(i),n=u.query,s=decodeURIComponent(n.sig);if(!s)return!1;if(n.exp){var p=+n.exp,a=(new Date).getTime();if(isNaN(p))return!1;if(a-p>t.expiryTime)return!1}delete n.sig;var o=r.stringifyUrl(u.url,n);return s===e.getSignature(o)}exports.verifyUrl=i;
|
|
33
|
+
},{"./getSignature":"GSDY","./queryStringHelpers":"Q3iA"}],"QCba":[function(require,module,exports) {
|
|
34
|
+
"use strict";var e=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t),Object.defineProperty(e,i,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),r=this&&this.__exportStar||function(r,t){for(var i in r)"default"===i||t.hasOwnProperty(i)||e(t,r,i)};Object.defineProperty(exports,"__esModule",{value:!0}),r(require("./src/signUrl"),exports),r(require("./src/verifyUrl"),exports);
|
|
35
|
+
},{"./src/signUrl":"yhXp","./src/verifyUrl":"hOaR"}]},{},["QCba"], "urlSigner")
|
|
36
|
+
|
|
37
|
+
/***/ })
|
|
38
|
+
|
|
39
|
+
}]);
|
|
40
|
+
//# sourceMappingURL=5.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/node_modules/@clickview/url-signer/dist/url-signer.js"],"names":[],"mappings":";;;;;;;;;AAAA,4CAAgC,8FAA8F,gBAAgB,UAAU,UAAU,sDAAsD,wBAAwB,oBAAoB,GAAG,KAAC,4BAA4B,uFAAE,CAAC,CAAC,CAAC,8CAA8C,kCAAkC,sBAAsB,qBAAqB,YAAY,2BAA2B,2CAA2C,oBAAoB,cAAc,wBAAwB,0CAA0C,wCAAwC,2DAA2D,oBAAoB,YAAY,GAAG,GAAG,YAAY,WAAW,QAAQ,QAAQ,SAAS,SAAS,aAAa,uBAAuB,KAAoD,kBAAkB,SAAiF,CAAC,6BAA6B,SAAS,EAAE;AAChgC,aAAa,cAAc,4DA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iBAAiB,oBAAoB,IAAI,6EAA6E,QAAQ,sDAAsD,qBAAqB,eAAe;AACxkK,CAAC,EAAE,iFAAiF;AACpF,aAAa,8CAA8C,0BAA0B,YAAY,4CAA4C,SAAS,+CAA+C,iCAAiC,cAAc,6BAA6B,UAAU,EAAE,gBAAgB,+BAA+B,cAAc,EAAE,UAAU,EAAE;AACxW,CAAC,EAAE,sBAAsB;AACzB,aAAa,4CAA4C,SAAS,8BAA8B,yGAAyG,cAAc,mCAAmC,+EAA+E,+CAA+C;AACxX,CAAC,EAAE,yFAAyF;AAC5F,aAAa,4CAA4C,SAAS,yBAAyB,kEAAkE,gBAAgB,OAAO,aAAa,EAAE,8BAA8B,sJAAsJ;AACvX,CAAC,EAAE,sDAAsD;AACzD,aAAa,4CAA4C,SAAS,2BAA2B,kEAAkE,gBAAgB,OAAO,eAAe,EAAE,0DAA0D,eAAe,UAAU,oCAAoC,qBAAqB,6BAA6B,aAAa,8BAA8B,6BAA6B;AACxb,CAAC,EAAE,sDAAsD;AACzD,aAAa,mEAAmE,6CAA6C,6BAA6B,aAAa,EAAE,mBAAmB,4BAA4B,2CAA2C,6DAA6D,4CAA4C,SAAS;AACrX,CAAC,EAAE,gDAAgD,EAAE,GAAG,uB","file":"scripts/5.chunk.js","sourcesContent":["parcelRequire=function(e,r,t,n){var i,o=\"function\"==typeof parcelRequire&&parcelRequire,u=\"function\"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i=\"function\"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&\"string\"==typeof t)return u(t);var c=new Error(\"Cannot find module '\"+t+\"'\");throw c.code=\"MODULE_NOT_FOUND\",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=l:\"function\"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({\"Tt42\":[function(require,module,exports) {\n\"use strict\";function e(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16)})}Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.fixedEncodeURIComponent=void 0,exports.fixedEncodeURIComponent=e;\n},{}],\"IQIv\":[function(require,module,exports) {\nvar define;\nvar t;!function(r,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=n():\"function\"==typeof t&&t.amd?t(n):(r=r||self).jsSHA=n()}(this,function(){\"use strict\";var t=function(r,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])})(r,n)},r=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";function n(t,r,n,e){var o,i,u,s=r||[0],h=(n=n||0)>>>3,a=-1===e?3:0;for(o=0;o<t.length;o+=1)i=(u=o+h)>>>2,s.length<=i&&s.push(0),s[i]|=t[o]<<8*(a+e*(u%4));return{value:s,binLen:8*t.length+n}}function e(t,e,o){switch(e){case\"UTF8\":case\"UTF16BE\":case\"UTF16LE\":break;default:throw new Error(\"encoding must be UTF8, UTF16BE, or UTF16LE\")}switch(t){case\"HEX\":return function(t,r,n){return function(t,r,n,e){var o,i,u,s;if(0!=t.length%2)throw new Error(\"String of HEX type must be in byte increments\");var h=r||[0],a=(n=n||0)>>>3,f=-1===e?3:0;for(o=0;o<t.length;o+=2){if(i=parseInt(t.substr(o,2),16),isNaN(i))throw new Error(\"String of HEX type contains invalid characters\");for(u=(s=(o>>>1)+a)>>>2;h.length<=u;)h.push(0);h[u]|=i<<8*(f+e*(s%4))}return{value:h,binLen:4*t.length+n}}(t,r,n,o)};case\"TEXT\":return function(t,r,n){return function(t,r,n,e,o){var i,u,s,h,a,f,c,p,l=0,w=n||[0],v=(e=e||0)>>>3;if(\"UTF8\"===r)for(c=-1===o?3:0,s=0;s<t.length;s+=1)for(u=[],128>(i=t.charCodeAt(s))?u.push(i):2048>i?(u.push(192|i>>>6),u.push(128|63&i)):55296>i||57344<=i?u.push(224|i>>>12,128|i>>>6&63,128|63&i):(s+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(s)),u.push(240|i>>>18,128|i>>>12&63,128|i>>>6&63,128|63&i)),h=0;h<u.length;h+=1){for(a=(f=l+v)>>>2;w.length<=a;)w.push(0);w[a]|=u[h]<<8*(c+o*(f%4)),l+=1}else for(c=-1===o?2:0,p=\"UTF16LE\"===r&&1!==o||\"UTF16LE\"!==r&&1===o,s=0;s<t.length;s+=1){for(i=t.charCodeAt(s),!0===p&&(i=(h=255&i)<<8|i>>>8),a=(f=l+v)>>>2;w.length<=a;)w.push(0);w[a]|=i<<8*(c+o*(f%4)),l+=2}return{value:w,binLen:8*l+e}}(t,e,r,n,o)};case\"B64\":return function(t,n,e){return function(t,n,e,o){var i,u,s,h,a,f,c=0,p=n||[0],l=(e=e||0)>>>3,w=-1===o?3:0,v=t.indexOf(\"=\");if(-1===t.search(/^[a-zA-Z0-9=+\\/]+$/))throw new Error(\"Invalid character in base-64 string\");if(t=t.replace(/=/g,\"\"),-1!==v&&v<t.length)throw new Error(\"Invalid '=' found in base-64 string\");for(i=0;i<t.length;i+=4){for(h=t.substr(i,4),s=0,u=0;u<h.length;u+=1)s|=r.indexOf(h.charAt(u))<<18-6*u;for(u=0;u<h.length-1;u+=1){for(a=(f=c+l)>>>2;p.length<=a;)p.push(0);p[a]|=(s>>>16-8*u&255)<<8*(w+o*(f%4)),c+=1}}return{value:p,binLen:8*c+e}}(t,n,e,o)};case\"BYTES\":return function(t,r,n){return function(t,r,n,e){var o,i,u,s,h=r||[0],a=(n=n||0)>>>3,f=-1===e?3:0;for(i=0;i<t.length;i+=1)o=t.charCodeAt(i),u=(s=i+a)>>>2,h.length<=u&&h.push(0),h[u]|=o<<8*(f+e*(s%4));return{value:h,binLen:8*t.length+n}}(t,r,n,o)};case\"ARRAYBUFFER\":try{new ArrayBuffer(0)}catch(t){throw new Error(\"ARRAYBUFFER not supported by this environment\")}return function(t,r,e){return function(t,r,e,o){return n(new Uint8Array(t),r,e,o)}(t,r,e,o)};case\"UINT8ARRAY\":try{new Uint8Array(0)}catch(t){throw new Error(\"UINT8ARRAY not supported by this environment\")}return function(t,r,e){return n(t,r,e,o)};default:throw new Error(\"format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY\")}}function o(t,n,e,o){switch(t){case\"HEX\":return function(t){return function(t,r,n,e){var o,i,u=\"\",s=r/8,h=-1===n?3:0;for(o=0;o<s;o+=1)i=t[o>>>2]>>>8*(h+n*(o%4)),u+=\"0123456789abcdef\".charAt(i>>>4&15)+\"0123456789abcdef\".charAt(15&i);return e.outputUpper?u.toUpperCase():u}(t,n,e,o)};case\"B64\":return function(t){return function(t,n,e,o){var i,u,s,h,a,f=\"\",c=n/8,p=-1===e?3:0;for(i=0;i<c;i+=3)for(h=i+1<c?t[i+1>>>2]:0,a=i+2<c?t[i+2>>>2]:0,s=(t[i>>>2]>>>8*(p+e*(i%4))&255)<<16|(h>>>8*(p+e*((i+1)%4))&255)<<8|a>>>8*(p+e*((i+2)%4))&255,u=0;u<4;u+=1)f+=8*i+6*u<=n?r.charAt(s>>>6*(3-u)&63):o.b64Pad;return f}(t,n,e,o)};case\"BYTES\":return function(t){return function(t,r,n){var e,o,i=\"\",u=r/8,s=-1===n?3:0;for(e=0;e<u;e+=1)o=t[e>>>2]>>>8*(s+n*(e%4))&255,i+=String.fromCharCode(o);return i}(t,n,e)};case\"ARRAYBUFFER\":try{new ArrayBuffer(0)}catch(t){throw new Error(\"ARRAYBUFFER not supported by this environment\")}return function(t){return function(t,r,n){var e,o=r/8,i=new ArrayBuffer(o),u=new Uint8Array(i),s=-1===n?3:0;for(e=0;e<o;e+=1)u[e]=t[e>>>2]>>>8*(s+n*(e%4))&255;return i}(t,n,e)};case\"UINT8ARRAY\":try{new Uint8Array(0)}catch(t){throw new Error(\"UINT8ARRAY not supported by this environment\")}return function(t){return function(t,r,n){var e,o=r/8,i=-1===n?3:0,u=new Uint8Array(o);for(e=0;e<o;e+=1)u[e]=t[e>>>2]>>>8*(i+n*(e%4))&255;return u}(t,n,e)};default:throw new Error(\"format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY\")}}function i(t){var r={outputUpper:!1,b64Pad:\"=\",outputLen:-1},n=t||{},e=\"Output length must be a multiple of 8\";if(r.outputUpper=n.outputUpper||!1,n.b64Pad&&(r.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(e);r.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(e);r.outputLen=n.shakeLen}if(\"boolean\"!=typeof r.outputUpper)throw new Error(\"Invalid outputUpper formatting option\");if(\"string\"!=typeof r.b64Pad)throw new Error(\"Invalid b64Pad formatting option\");return r}function u(t,r){return t<<r|t>>>32-r}function s(t,r,n){return t^r^n}function h(t,r,n){return t&r^t&n^r&n}function a(t,r){var n=(65535&t)+(65535&r);return(65535&(t>>>16)+(r>>>16)+(n>>>16))<<16|65535&n}function f(t,r,n,e,o){var i=(65535&t)+(65535&r)+(65535&n)+(65535&e)+(65535&o);return(65535&(t>>>16)+(r>>>16)+(n>>>16)+(e>>>16)+(o>>>16)+(i>>>16))<<16|65535&i}function c(t){return[1732584193,4023233417,2562383102,271733878,3285377520]}function p(t,r){var n,e,o,i,c,p,l,w,v=[];for(n=r[0],e=r[1],o=r[2],i=r[3],c=r[4],l=0;l<80;l+=1)v[l]=l<16?t[l]:u(v[l-3]^v[l-8]^v[l-14]^v[l-16],1),p=l<20?f(u(n,5),(w=e)&o^~w&i,c,1518500249,v[l]):l<40?f(u(n,5),s(e,o,i),c,1859775393,v[l]):l<60?f(u(n,5),h(e,o,i),c,2400959708,v[l]):f(u(n,5),s(e,o,i),c,3395469782,v[l]),c=i,i=o,o=u(e,30),e=n,n=p;return r[0]=a(n,r[0]),r[1]=a(e,r[1]),r[2]=a(o,r[2]),r[3]=a(i,r[3]),r[4]=a(c,r[4]),r}function l(t,r,n,e){for(var o,i=15+(r+65>>>9<<4),u=r+n;t.length<=i;)t.push(0);for(t[r>>>5]|=128<<24-r%32,t[i]=4294967295&u,t[i-1]=u/4294967296|0,o=0;o<t.length;o+=16)e=p(t.slice(o,o+16),e);return e}return function(r){function n(t,n,o){var i=this;if(\"SHA-1\"!==t)throw new Error(\"Chosen SHA variant is not supported\");var u=o||{};return(i=r.call(this,t,n,o)||this).t=!0,i.i=i.o,i.u=-1,i.s=e(i.h,i.v,i.u),i.A=p,i.p=function(t){return t.slice()},i.l=c,i.R=l,i.U=[1732584193,4023233417,2562383102,271733878,3285377520],i.T=512,i.m=160,i.F=!1,u.hmacKey&&i.B(function(t,r,n,o){var i=\"hmacKey must include a value and format\";if(!r)throw new Error(i);if(void 0===r.value||!r.format)throw new Error(i);return e(r.format,r.encoding||\"UTF8\",n)(r.value)}(0,u.hmacKey,i.u)),i}return function(r,n){function e(){this.constructor=r}t(r,n),r.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}(n,r),n}(function(){function t(t,r,n){var e=n||{};if(this.h=r,this.v=e.encoding||\"UTF8\",this.numRounds=e.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error(\"numRounds must a integer >= 1\");this.g=t,this.Y=[],this.I=0,this.C=!1,this.H=0,this.L=!1,this.N=[],this.S=[]}return t.prototype.update=function(t){var r,n=0,e=this.T>>>5,o=this.s(t,this.Y,this.I),i=o.binLen,u=o.value,s=i>>>5;for(r=0;r<s;r+=e)n+this.T<=i&&(this.U=this.A(u.slice(r,r+e),this.U),n+=this.T);this.H+=n,this.Y=u.slice(n>>>5),this.I=i%this.T,this.C=!0},t.prototype.getHash=function(t,r){var n,e,u=this.m,s=i(r);if(!0===this.F){if(-1===s.outputLen)throw new Error(\"Output length must be specified in options\");u=s.outputLen}var h=o(t,u,this.u,s);if(!0===this.L&&this.i)return h(this.i(s));for(e=this.R(this.Y.slice(),this.I,this.H,this.p(this.U),u),n=1;n<this.numRounds;n+=1)!0===this.F&&u%32!=0&&(e[e.length-1]&=16777215>>>24-u%32),e=this.R(e,u,0,this.l(this.g),u);return h(e)},t.prototype.setHMACKey=function(t,r,n){if(!0!==this.t)throw new Error(\"Variant does not support HMAC\");if(!0===this.C)throw new Error(\"Cannot set MAC key after calling update\");var o=e(r,(n||{}).encoding||\"UTF8\",this.u);this.B(o(t))},t.prototype.B=function(t){var r,n=this.T>>>3,e=n/4-1;if(1!==this.numRounds)throw new Error(\"Cannot set numRounds with MAC\");if(!0===this.L)throw new Error(\"MAC key already set\");for(n<t.binLen/8&&(t.value=this.R(t.value,t.binLen,0,this.l(this.g),this.m));t.value.length<=e;)t.value.push(0);for(r=0;r<=e;r+=1)this.N[r]=909522486^t.value[r],this.S[r]=1549556828^t.value[r];this.U=this.A(this.N,this.U),this.H=this.T,this.L=!0},t.prototype.getHMAC=function(t,r){var n=i(r);return o(t,this.m,this.u,n)(this.o())},t.prototype.o=function(){var t;if(!1===this.L)throw new Error(\"Cannot call getHMAC without first setting MAC key\");var r=this.R(this.Y.slice(),this.I,this.H,this.p(this.U),this.m);return t=this.A(this.S,this.l(this.g)),this.R(r,this.m,this.T,t,this.m)},t}())});\n},{}],\"vhxO\":[function(require,module,exports) {\n\"use strict\";var e=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.generateHash=void 0;var t=e(require(\"jssha/dist/sha1\"));function r(e){var r=new t.default(\"SHA-1\",\"TEXT\",{encoding:\"UTF8\"});return r.update(e),r.getHash(\"B64\")}exports.generateHash=r;\n},{\"jssha/dist/sha1\":\"IQIv\"}],\"tgmD\":[function(require,module,exports) {\n\"use strict\";module.exports=(e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>\"%\".concat(e.charCodeAt(0).toString(16).toUpperCase())));\n},{}],\"YtoU\":[function(require,module,exports) {\n\"use strict\";var e=\"%[a-f0-9]{2}\",t=new RegExp(e,\"gi\"),r=new RegExp(\"(\"+e+\")+\",\"gi\");function n(e,t){try{return decodeURIComponent(e.join(\"\"))}catch(c){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],n(r),n(o))}function o(e){try{return decodeURIComponent(e)}catch(c){for(var r=e.match(t),o=1;o<r.length;o++)r=(e=n(r,o).join(\"\")).match(t);return e}}function c(e){for(var t={\"%FE%FF\":\"��\",\"%FF%FE\":\"��\"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(u){var c=o(n[0]);c!==n[0]&&(t[n[0]]=c)}n=r.exec(e)}t[\"%C2\"]=\"�\";for(var a=Object.keys(t),p=0;p<a.length;p++){var i=a[p];e=e.replace(new RegExp(i,\"g\"),t[i])}return e}module.exports=function(e){if(\"string\"!=typeof e)throw new TypeError(\"Expected `encodedURI` to be of type `string`, got `\"+typeof e+\"`\");try{return e=e.replace(/\\+/g,\" \"),decodeURIComponent(e)}catch(t){return c(e)}};\n},{}],\"SVkH\":[function(require,module,exports) {\n\"use strict\";module.exports=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)throw new TypeError(\"Expected the arguments to be of type `string`\");if(\"\"===t)return[e];var r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]};\n},{}],\"TuMS\":[function(require,module,exports) {\n\"use strict\";function r(t){return(r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&\"function\"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?\"symbol\":typeof r})(t)}function t(r){return a(r)||o(r)||n(r)||e()}function e(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function n(r,t){if(r){if(\"string\"==typeof r)return i(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);return\"Object\"===e&&r.constructor&&(e=r.constructor.name),\"Map\"===e||\"Set\"===e?Array.from(r):\"Arguments\"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(r,t):void 0}}function o(r){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(r))return Array.from(r)}function a(r){if(Array.isArray(r))return i(r)}function i(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}var c=require(\"strict-uri-encode\"),u=require(\"decode-uri-component\"),s=require(\"split-on-first\"),f=function(r){return null==r};function l(r){switch(r.arrayFormat){case\"index\":return function(e){return function(n,o){var a=n.length;return void 0===o||r.skipNull&&null===o||r.skipEmptyString&&\"\"===o?n:[].concat(t(n),null===o?[[m(e,r),\"[\",a,\"]\"].join(\"\")]:[[m(e,r),\"[\",m(a,r),\"]=\",m(o,r)].join(\"\")])}};case\"bracket\":return function(e){return function(n,o){return void 0===o||r.skipNull&&null===o||r.skipEmptyString&&\"\"===o?n:[].concat(t(n),null===o?[[m(e,r),\"[]\"].join(\"\")]:[[m(e,r),\"[]=\",m(o,r)].join(\"\")])}};case\"comma\":case\"separator\":return function(t){return function(e,n){return null==n||0===n.length?e:0===e.length?[[m(t,r),\"=\",m(n,r)].join(\"\")]:[[e,m(n,r)].join(r.arrayFormatSeparator)]}};default:return function(e){return function(n,o){return void 0===o||r.skipNull&&null===o||r.skipEmptyString&&\"\"===o?n:[].concat(t(n),null===o?[m(e,r)]:[[m(e,r),\"=\",m(o,r)].join(\"\")])}}}}function p(r){var t;switch(r.arrayFormat){case\"index\":return function(r,e,n){t=/\\[(\\d*)\\]$/.exec(r),r=r.replace(/\\[\\d*\\]$/,\"\"),t?(void 0===n[r]&&(n[r]={}),n[r][t[1]]=e):n[r]=e};case\"bracket\":return function(r,e,n){t=/(\\[\\])$/.exec(r),r=r.replace(/\\[\\]$/,\"\"),t?void 0!==n[r]?n[r]=[].concat(n[r],e):n[r]=[e]:n[r]=e};case\"comma\":case\"separator\":return function(t,e,n){var o=\"string\"==typeof e&&e.split(\"\").indexOf(r.arrayFormatSeparator)>-1?e.split(r.arrayFormatSeparator).map(function(t){return d(t,r)}):null===e?e:d(e,r);n[t]=o};default:return function(r,t,e){void 0!==e[r]?e[r]=[].concat(e[r],t):e[r]=t}}}function y(r){if(\"string\"!=typeof r||1!==r.length)throw new TypeError(\"arrayFormatSeparator must be single character string\")}function m(r,t){return t.encode?t.strict?c(r):encodeURIComponent(r):r}function d(r,t){return t.decode?u(r):r}function b(t){return Array.isArray(t)?t.sort():\"object\"===r(t)?b(Object.keys(t)).sort(function(r,t){return Number(r)-Number(t)}).map(function(r){return t[r]}):t}function g(r){var t=r.indexOf(\"#\");return-1!==t&&(r=r.slice(0,t)),r}function v(r){var t=\"\",e=r.indexOf(\"#\");return-1!==e&&(t=r.slice(e)),t}function j(r){var t=(r=g(r)).indexOf(\"?\");return-1===t?\"\":r.slice(t+1)}function O(r,t){return t.parseNumbers&&!Number.isNaN(Number(r))&&\"string\"==typeof r&&\"\"!==r.trim()?r=Number(r):!t.parseBooleans||null===r||\"true\"!==r.toLowerCase()&&\"false\"!==r.toLowerCase()||(r=\"true\"===r.toLowerCase()),r}function S(t,e){y((e=Object.assign({decode:!0,sort:!0,arrayFormat:\"none\",arrayFormatSeparator:\",\",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);var n=p(e),o=Object.create(null);if(\"string\"!=typeof t)return o;if(!(t=t.trim().replace(/^[?#&]/,\"\")))return o;for(var a of t.split(\"&\")){var[i,c]=s(e.decode?a.replace(/\\+/g,\" \"):a,\"=\");c=void 0===c?null:[\"comma\",\"separator\"].includes(e.arrayFormat)?c:d(c,e),n(d(i,e),c,o)}for(var u of Object.keys(o)){var f=o[u];if(\"object\"===r(f)&&null!==f)for(var l of Object.keys(f))f[l]=O(f[l],e);else o[u]=O(f,e)}return!1===e.sort?o:(!0===e.sort?Object.keys(o).sort():Object.keys(o).sort(e.sort)).reduce(function(t,e){var n=o[e];return Boolean(n)&&\"object\"===r(n)&&!Array.isArray(n)?t[e]=b(n):t[e]=n,t},Object.create(null))}exports.extract=j,exports.parse=S,exports.stringify=function(r,t){if(!r)return\"\";y((t=Object.assign({encode:!0,strict:!0,arrayFormat:\"none\",arrayFormatSeparator:\",\"},t)).arrayFormatSeparator);var e=function(e){return t.skipNull&&f(r[e])||t.skipEmptyString&&\"\"===r[e]},n=l(t),o={};for(var a of Object.keys(r))e(a)||(o[a]=r[a]);var i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(function(e){var o=r[e];return void 0===o?\"\":null===o?m(e,t):Array.isArray(o)?o.reduce(n(e),[]).join(\"&\"):m(e,t)+\"=\"+m(o,t)}).filter(function(r){return r.length>0}).join(\"&\")},exports.parseUrl=function(r,t){t=Object.assign({decode:!0},t);var[e,n]=s(r,\"#\");return Object.assign({url:e.split(\"?\")[0]||\"\",query:S(j(r),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:d(n,t)}:{})},exports.stringifyUrl=function(r,t){t=Object.assign({encode:!0,strict:!0},t);var e=g(r.url).split(\"?\")[0]||\"\",n=exports.extract(r.url),o=exports.parse(n,{sort:!1}),a=Object.assign(o,r.query),i=exports.stringify(a,t);i&&(i=\"?\".concat(i));var c=v(r.url);return r.fragmentIdentifier&&(c=\"#\".concat(m(r.fragmentIdentifier,t))),\"\".concat(e).concat(i).concat(c)};\n},{\"strict-uri-encode\":\"tgmD\",\"decode-uri-component\":\"YtoU\",\"split-on-first\":\"SVkH\"}],\"Q3iA\":[function(require,module,exports) {\n\"use strict\";var r=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.stringifyUrl=exports.parseUrl=void 0;var e=r(require(\"query-string\"));function t(r){return e.default.parseUrl(r,{decode:!1})}function s(r,t){return e.default.stringifyUrl({url:r,query:t},{encode:!1})}exports.parseUrl=t,exports.stringifyUrl=s;\n},{\"query-string\":\"TuMS\"}],\"GSDY\":[function(require,module,exports) {\n\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.getSignature=void 0;var e=require(\"./fixedEncodeURIComponent\"),r=require(\"./generateHash\"),n=require(\"./queryStringHelpers\");function t(t){var o=n.parseUrl(t),i=o.query,u={};for(var a in i)u[e.fixedEncodeURIComponent(a)]=e.fixedEncodeURIComponent(i[a]);return r.generateHash(n.stringifyUrl(o.url,u))}exports.getSignature=t;\n},{\"./fixedEncodeURIComponent\":\"Tt42\",\"./generateHash\":\"vhxO\",\"./queryStringHelpers\":\"Q3iA\"}],\"yhXp\":[function(require,module,exports) {\n\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.signUrl=void 0;var e=require(\"./getSignature\"),r=require(\"./queryStringHelpers\");function t(t,i){i||(i={timestamp:!1});var n=r.parseUrl(t),s=n.query;return i.timestamp&&(s.exp=(new Date).getTime().toString()),s.sig=encodeURIComponent(e.getSignature(r.stringifyUrl(n.url,s))),r.stringifyUrl(n.url,s)}exports.signUrl=t;\n},{\"./getSignature\":\"GSDY\",\"./queryStringHelpers\":\"Q3iA\"}],\"hOaR\":[function(require,module,exports) {\n\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.verifyUrl=void 0;var e=require(\"./getSignature\"),r=require(\"./queryStringHelpers\");function i(i,t){t||(t={expiryTime:3e5});var u=r.parseUrl(i),n=u.query,s=decodeURIComponent(n.sig);if(!s)return!1;if(n.exp){var p=+n.exp,a=(new Date).getTime();if(isNaN(p))return!1;if(a-p>t.expiryTime)return!1}delete n.sig;var o=r.stringifyUrl(u.url,n);return s===e.getSignature(o)}exports.verifyUrl=i;\n},{\"./getSignature\":\"GSDY\",\"./queryStringHelpers\":\"Q3iA\"}],\"QCba\":[function(require,module,exports) {\n\"use strict\";var e=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t),Object.defineProperty(e,i,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),r=this&&this.__exportStar||function(r,t){for(var i in r)\"default\"===i||t.hasOwnProperty(i)||e(t,r,i)};Object.defineProperty(exports,\"__esModule\",{value:!0}),r(require(\"./src/signUrl\"),exports),r(require(\"./src/verifyUrl\"),exports);\n},{\"./src/signUrl\":\"yhXp\",\"./src/verifyUrl\":\"hOaR\"}]},{},[\"QCba\"], \"urlSigner\")"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[50],{1171:function(t,n,e){var o=e(9);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,n,e,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=n?n:t.nullContext||{},c=t.hooks.helperMissing;return'<div class="'+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.illoContainer:i,n))+'">\r\n <div class="'+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.lunaHead:i,n))+'"><img width="86px" height="110px" src="/images/errors/not-found/luna-head@2x.png"></div>\r\n <div class="'+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.head:i,n))+'"><img width="134px" height="138px" src="/images/errors/not-found/head@2x.png"></div>\r\n <div class="'+a(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.body:i,n))+'"><img width="241px" height="229px" src="/images/errors/not-found/back@2x.png"></div>\r\n</div>\r\n<h4 class="mt-3 text-muted">'+a((e.lang||n&&n.lang||c).call(u,"pageNotFound",{name:"lang",hash:{},data:r}))+"</h4>\r\n<p>"+(null!=(i=(e.lang||n&&n.lang||c).call(u,"takeMeBack",{name:"lang",hash:{classNames:null!=(i=null!=n?n.options:n)?i.linkClasses:i},data:r}))?i:"")+"</p>"},useData:!0})},1172:function(t,n,e){t.exports={illoContainer:"_3Eqbe",body:"_39GQb",head:"PVOtq",lunaHead:"_3z13a",animate:"_2FR1z","luna-animate":"_12szO",lunaTail:"_1memV",tintinTail:"_2V4lb","wag-tail-small":"_2atTc","wag-tail":"_13j3E"}},1383:function(t,n,e){"use strict";e.r(n),e.d(n,"NotFoundView",(function(){return b}));var o=e(2),r=e(0),i=e(1171),l=e.n(i),a=e(1172),u=e.n(a);function c(t){return(c="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})(t)}function s(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function p(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,n){return(f=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function y(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,o=h(t);if(n){var r=h(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return d(this,e)}}function d(t,n){return!n||"object"!==c(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&f(t,n)}(a,t);var n,e,o,i=y(a);function a(){return s(this,a),i.apply(this,arguments)}return n=a,(e=[{key:"viewOptions",value:function(){return{styles:u.a,linkClasses:"applink-home info-link"}}},{key:"name",get:function(){return"NotFoundView"}},{key:"title",get:function(){return!1}},{key:"lang",get:function(){return"default.notFound"}},{key:"template",get:function(){return l.a}},{key:"appLinks",get:function(){return{".applink-home":{application:r.b.DEFAULT,action:r.a.Default.HOME}}}},{key:"className",get:function(){return"bg-white p-5 text-center"}}])&&p(n.prototype,e),o&&p(n,o),a}(o.a.View)}}]);
|