@clickview/lite 0.5.2-rc.0 → 0.5.2
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/bundles.json +2 -2
- package/dist/css/1736-lite-70aac78870.chunk.css +56 -0
- package/dist/css/1874-lite-b70ba3e55c.chunk.css +26 -0
- package/dist/css/2109-lite-5600ffd35c.chunk.css +26 -0
- package/dist/css/2246-lite-9434ba512e.chunk.css +60 -0
- package/dist/css/2405-lite-f6e8a8bc16.chunk.css +36 -0
- package/dist/css/2711-lite-ee849b44db.chunk.css +42 -0
- package/dist/css/2780-lite-82ab4b0a3b.chunk.css +66 -0
- package/dist/css/3044-lite-f6f7ccd27d.chunk.css +14 -0
- package/dist/css/3601-lite-426b120700.chunk.css +38 -0
- package/dist/css/3994-lite-f48c952d11.chunk.css +36 -0
- package/dist/css/4512-lite-8ae16de67b.chunk.css +46 -0
- package/dist/css/5027-lite-37a1bfe443.chunk.css +46 -0
- package/dist/css/5266-lite-7a7ac74447.chunk.css +36 -0
- package/dist/css/5466-lite-1ca65f3fa2.chunk.css +38 -0
- package/dist/css/5942-lite-ed7f448bf3.chunk.css +28 -0
- package/dist/css/6167-lite-436097518f.chunk.css +38 -0
- package/dist/css/6285-lite-885b7ea1f0.chunk.css +4 -0
- package/dist/css/6355-lite-9dc5ba23e3.chunk.css +50 -0
- package/dist/css/6473-lite-436097518f.chunk.css +38 -0
- package/dist/css/6570-lite-435d27636f.chunk.css +14 -0
- package/dist/css/6715-lite-843cc4be75.chunk.css +38 -0
- package/dist/css/705-lite-8a0c6befc3.chunk.css +40 -0
- package/dist/css/7066-lite-edc09d2bf1.chunk.css +38 -0
- package/dist/css/7722-lite-37a1bfe443.chunk.css +46 -0
- package/dist/css/8072-lite-1e48afb701.chunk.css +38 -0
- package/dist/css/8383-lite-227bd1df53.chunk.css +2 -0
- package/dist/css/8414-lite-43f262c18d.chunk.css +52 -0
- package/dist/css/8416-lite-9434ba512e.chunk.css +60 -0
- package/dist/css/8584-lite-d98ca340e7.chunk.css +42 -0
- package/dist/css/8618-lite-7cf276d202.chunk.css +26 -0
- package/dist/css/8835-lite-43f262c18d.chunk.css +52 -0
- package/dist/css/898-lite-cc5552ac6a.chunk.css +38 -0
- package/dist/css/9096-lite-8e8ad037b8.chunk.css +38 -0
- package/dist/css/9200-lite-494992e1f0.chunk.css +22 -0
- package/dist/css/9476-lite-227bd1df53.chunk.css +2 -0
- package/dist/css/9490-lite-db834aaea4.chunk.css +26 -0
- package/dist/css/lite-app-20d839f193.css +161 -0
- package/dist/css/{lite-app-9cd32c6274.css → lite-app-f1a336bcbf.css} +1 -1
- package/dist/en.json +1 -1
- package/dist/scripts/1106-7d203252ab-lite.chunk.js +1 -0
- package/dist/scripts/1235-ddd3083c87-lite.chunk.js +1 -0
- package/dist/scripts/1291-b8f30160e5-lite.chunk.js +1 -0
- package/dist/scripts/1592-d92f7c0840-lite.chunk.js +1 -0
- package/dist/scripts/160-42301e68e8-lite.chunk.js +1 -0
- package/dist/scripts/1628-e6ea2db77d-lite.chunk.js +1 -0
- package/dist/scripts/1725-21209f22ac-lite.chunk.js +1 -0
- package/dist/scripts/1726-116d81b612-lite.chunk.js +1 -0
- package/dist/scripts/1736-5d3350eace-lite.chunk.js +1 -0
- package/dist/scripts/1874-38c4a1834e-lite.chunk.js +1 -0
- package/dist/scripts/2044-7be628bc71-lite.chunk.js +1 -0
- package/dist/scripts/{2097-df33b4fdda-lite.chunk.js → 2097-4ee3760988-lite.chunk.js} +1 -1
- package/dist/scripts/2109-dddddb6312-lite.chunk.js +1 -0
- package/dist/scripts/2175-723b0b209d-lite.chunk.js +1 -0
- package/dist/scripts/2215-08998bd8fb-lite.chunk.js +1 -0
- package/dist/scripts/2229-74688cb3d0-lite.chunk.js +1 -0
- package/dist/scripts/2246-b6485b46d9-lite.chunk.js +1 -0
- package/dist/scripts/227-b167b3d0a9-lite.chunk.js +1 -0
- package/dist/scripts/2405-bcd5adfb90-lite.chunk.js +1 -0
- package/dist/scripts/2560-542bcd21c0-lite.chunk.js +1 -0
- package/dist/scripts/2561-bf72b53216-lite.chunk.js +1 -0
- package/dist/scripts/2562-f789f3ab41-lite.chunk.js +1 -0
- package/dist/scripts/2566-ed4351dc7a-lite.chunk.js +1 -0
- package/dist/scripts/2644-23e6823b34-lite.chunk.js +1 -0
- package/dist/scripts/2665-5f5c6ff6c9-lite.chunk.js +1 -0
- package/dist/scripts/2711-9130aa8bbd-lite.chunk.js +1 -0
- package/dist/scripts/2780-d662b75ff1-lite.chunk.js +1 -0
- package/dist/scripts/2802-a0fa50a638-lite.chunk.js +2 -0
- package/dist/scripts/2802-a0fa50a638-lite.chunk.js.LICENSE.txt +17 -0
- package/dist/scripts/3044-5e456718e6-lite.chunk.js +1 -0
- package/dist/scripts/3108-0e5c09f5a7-lite.chunk.js +1 -0
- package/dist/scripts/3171-a38ae5ebeb-lite.chunk.js +1 -0
- package/dist/scripts/3216-25cdfa7669-lite.chunk.js +1 -0
- package/dist/scripts/3468-a5adbdb9b7-lite.chunk.js +1 -0
- package/dist/scripts/3601-72c3b7ea12-lite.chunk.js +1 -0
- package/dist/scripts/3732-5e72877fbb-lite.chunk.js +1 -0
- package/dist/scripts/3994-a9d50b2dfb-lite.chunk.js +1 -0
- package/dist/scripts/4067-1fea93ec7f-lite.chunk.js +1 -0
- package/dist/scripts/4182-7cb03a20bd-lite.chunk.js +1 -0
- package/dist/scripts/4512-5c37ad577c-lite.chunk.js +1 -0
- package/dist/scripts/4541-ba25b9e6e5-lite.chunk.js +1 -0
- package/dist/scripts/4632-ec79136629-lite.chunk.js +1 -0
- package/dist/scripts/4770-b7cfbdbed6-lite.chunk.js +1 -0
- package/dist/scripts/4893-067d26b9ff-lite.chunk.js +1 -0
- package/dist/scripts/4895-333d5f3d08-lite.chunk.js +1 -0
- package/dist/scripts/5027-b40bef5a12-lite.chunk.js +1 -0
- package/dist/scripts/5266-760c910e3a-lite.chunk.js +1 -0
- package/dist/scripts/5466-faad2468f4-lite.chunk.js +1 -0
- package/dist/scripts/5606-3333d4d070-lite.chunk.js +1 -0
- package/dist/scripts/584-bb1c311390-lite.chunk.js +1 -0
- package/dist/scripts/5877-0cb46dc622-lite.chunk.js +1 -0
- package/dist/scripts/5914-1e321686f5-lite.chunk.js +1 -0
- package/dist/scripts/5942-5f49e048b9-lite.chunk.js +1 -0
- package/dist/scripts/5974-f5aa983720-lite.chunk.js +1 -0
- package/dist/scripts/5986-37ec610b54-lite.chunk.js +1 -0
- package/dist/scripts/6156-c8a26283cc-lite.chunk.js +1 -0
- package/dist/scripts/6167-7c9d16278a-lite.chunk.js +1 -0
- package/dist/scripts/6274-ee8382274b-lite.chunk.js +1 -0
- package/dist/scripts/6285-da86145f93-lite.chunk.js +1 -0
- package/dist/scripts/6355-2bef51aa78-lite.chunk.js +1 -0
- package/dist/scripts/6370-73facccb88-lite.chunk.js +1 -0
- package/dist/scripts/6465-e9102df7a6-lite.chunk.js +1 -0
- package/dist/scripts/6570-b7bf9658d1-lite.chunk.js +1 -0
- package/dist/scripts/660-2debb59a5a-lite.chunk.js +1 -0
- package/dist/scripts/6715-2f720bfcc6-lite.chunk.js +1 -0
- package/dist/scripts/{6736-5dbd730fec-lite.chunk.js → 6736-e5d1d1784b-lite.chunk.js} +1 -1
- package/dist/scripts/6736-f60da723db-lite.chunk.js +2 -0
- package/dist/scripts/6801-14cba66ade-lite.chunk.js +1 -0
- package/dist/scripts/6856-53ae5e3ed1-lite.chunk.js +2 -0
- package/dist/scripts/{6856-ebcf89a5bc-lite.chunk.js → 6856-c5be81b923-lite.chunk.js} +1 -1
- package/dist/scripts/6864-c7caa65c2b-lite.chunk.js +1 -0
- package/dist/scripts/6866-4c96fad3fb-lite.chunk.js +1 -0
- package/dist/scripts/6873-a0a28a9bf2-lite.chunk.js +1 -0
- package/dist/scripts/6913-4413a87512-lite.chunk.js +1 -0
- package/dist/scripts/7045-dd37be1caa-lite.chunk.js +1 -0
- package/dist/scripts/705-132a0130aa-lite.chunk.js +1 -0
- package/dist/scripts/7066-f9a52d0f47-lite.chunk.js +1 -0
- package/dist/scripts/7115-9a443915cb-lite.chunk.js +1 -0
- package/dist/scripts/7128-d037b9d9c9-lite.chunk.js +1 -0
- package/dist/scripts/7172-d4f32a3d07-lite.chunk.js +1 -0
- package/dist/scripts/7318-2b9176a3df-lite.chunk.js +1 -1
- package/dist/scripts/7318-ff9c0bc9d2-lite.chunk.js +2 -0
- package/dist/scripts/7318-ff9c0bc9d2-lite.chunk.js.LICENSE.txt +5 -0
- package/dist/scripts/7385-eddeb8fd12-lite.chunk.js +1 -0
- package/dist/scripts/7498-abe2cd1b9a-lite.chunk.js +1 -0
- package/dist/scripts/7524-fbe88f8bcb-lite.chunk.js +1 -0
- package/dist/scripts/7545-4b21b7ff75-lite.chunk.js +1 -0
- package/dist/scripts/7713-0b8448661f-lite.chunk.js +1 -0
- package/dist/scripts/7760-2d4f4e766b-lite.chunk.js +1 -0
- package/dist/scripts/7804-b0fb78215e-lite.chunk.js +1 -0
- package/dist/scripts/7831-7549c0d54c-lite.chunk.js +1 -0
- package/dist/scripts/7901-1b4d52301c-lite.chunk.js +1 -0
- package/dist/scripts/{7989-0e448172f5-lite.chunk.js → 7989-993b3d179f-lite.chunk.js} +1 -1
- package/dist/scripts/7989-e7e6f77785-lite.chunk.js +2 -0
- package/dist/scripts/7989-e7e6f77785-lite.chunk.js.LICENSE.txt +8 -0
- package/dist/scripts/8025-fa1abd761d-lite.chunk.js +1 -0
- package/dist/scripts/8056-f8bd03e2fc-lite.chunk.js +1 -0
- package/dist/scripts/8072-af8df53464-lite.chunk.js +1 -0
- package/dist/scripts/811-9ee0e01271-lite.chunk.js +1 -0
- package/dist/scripts/8320-d718df3e3f-lite.chunk.js +1 -0
- package/dist/scripts/{8323-6c9b4e877a-lite.chunk.js → 8323-76be74d3ed-lite.chunk.js} +1 -1
- package/dist/scripts/8323-76be74d3ed-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/8383-32ea31d394-lite.chunk.js +1 -0
- package/dist/scripts/8414-188c1d3add-lite.chunk.js +1 -0
- package/dist/scripts/8416-7d2a9eae56-lite.chunk.js +1 -0
- package/dist/scripts/8584-a2e7b25a1f-lite.chunk.js +1 -0
- package/dist/scripts/8594-fc207eb0bb-lite.chunk.js +1 -0
- package/dist/scripts/8618-204eee61a2-lite.chunk.js +1 -0
- package/dist/scripts/8687-37c7693226-lite.chunk.js +1 -0
- package/dist/scripts/872-d0833f1c5e-lite.chunk.js +1 -0
- package/dist/scripts/8835-92bcb124c9-lite.chunk.js +1 -0
- package/dist/scripts/8946-6cf7089c17-lite.chunk.js +1 -0
- package/dist/scripts/8955-4e5c6d5a55-lite.chunk.js +1 -0
- package/dist/scripts/8968-17e0d03ecb-lite.chunk.js +1 -0
- package/dist/scripts/898-5013a218c7-lite.chunk.js +1 -0
- package/dist/scripts/9005-61a64d23b5-lite.chunk.js +1 -0
- package/dist/scripts/9016-49b04c0ad3-lite.chunk.js +1 -0
- package/dist/scripts/9060-d4b5c726e6-lite.chunk.js +1 -0
- package/dist/scripts/9096-ce2875b0fb-lite.chunk.js +1 -0
- package/dist/scripts/9200-6d0f2c533e-lite.chunk.js +1 -0
- package/dist/scripts/9374-95e2a1f45a-lite.chunk.js +1 -0
- package/dist/scripts/9476-43d3dc6428-lite.chunk.js +1 -0
- package/dist/scripts/{9478-9176bdf440-lite.chunk.js → 9478-ed1ca219f2-lite.chunk.js} +1 -1
- package/dist/scripts/9478-ed1ca219f2-lite.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/9490-261925b498-lite.chunk.js +1 -0
- package/dist/scripts/956-43e15a3db2-lite.chunk.js +1 -0
- package/dist/scripts/9607-ddab940183-lite.chunk.js +1 -0
- package/dist/scripts/9686-cb67f530b3-lite.chunk.js +1 -0
- package/dist/scripts/9798-addb88197f-lite.chunk.js +1 -0
- package/dist/scripts/bundle-9d7b1e093f.min.js +2 -0
- package/dist/scripts/bundle-a0d8236822.min.js +2 -0
- package/dist/scripts/bundle-a0d8236822.min.js.LICENSE.txt +33 -0
- package/package.json +61 -61
- package/typings/libs/Trackers.d.ts +10 -0
- package/dist/scripts/bundle-57e951683b.min.js +0 -2
- /package/dist/scripts/{1235-ac373ec8e0-lite.chunk.js → 1235-34ebc65cee-lite.chunk.js} +0 -0
- /package/dist/scripts/{1592-8d486ae6af-lite.chunk.js → 1592-2518c1500a-lite.chunk.js} +0 -0
- /package/dist/scripts/{160-c54d3772aa-lite.chunk.js → 160-6b533ebc6b-lite.chunk.js} +0 -0
- /package/dist/scripts/{1659-64d8471ea3-lite.chunk.js → 1659-45b52e02eb-lite.chunk.js} +0 -0
- /package/dist/scripts/{1725-e724bdca4d-lite.chunk.js → 1725-e68dfaa8fb-lite.chunk.js} +0 -0
- /package/dist/scripts/{1736-856d322b49-lite.chunk.js → 1736-0debc63028-lite.chunk.js} +0 -0
- /package/dist/scripts/{1825-0bea5590c7-lite.chunk.js → 1825-cef10038d6-lite.chunk.js} +0 -0
- /package/dist/scripts/{1891-1e8ec8fef1-lite.chunk.js → 1891-8a3f2f9b5a-lite.chunk.js} +0 -0
- /package/dist/scripts/{1913-d537de0be9-lite.chunk.js → 1913-2183c7ca80-lite.chunk.js} +0 -0
- /package/dist/scripts/{1924-c7e8cd2caf-lite.chunk.js → 1924-8a2f7c326a-lite.chunk.js} +0 -0
- /package/dist/scripts/{2022-0704e75931-lite.chunk.js → 2022-61bfa5417c-lite.chunk.js} +0 -0
- /package/dist/scripts/{2097-df33b4fdda-lite.chunk.js.LICENSE.txt → 2097-4ee3760988-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2190-1d8efed495-lite.chunk.js → 2190-ae1ead18ea-lite.chunk.js} +0 -0
- /package/dist/scripts/{2215-5dbc6c9657-lite.chunk.js → 2215-10604cf449-lite.chunk.js} +0 -0
- /package/dist/scripts/{2229-af969a3b74-lite.chunk.js → 2229-8b2c28a762-lite.chunk.js} +0 -0
- /package/dist/scripts/{2246-6e5da40ec6-lite.chunk.js → 2246-58022fb8e3-lite.chunk.js} +0 -0
- /package/dist/scripts/{227-49ee867b63-lite.chunk.js → 227-00be10303e-lite.chunk.js} +0 -0
- /package/dist/scripts/{2279-7c61a8ca18-lite.chunk.js → 2279-d53e39f223-lite.chunk.js} +0 -0
- /package/dist/scripts/{2541-2e9b3af124-lite.chunk.js → 2541-bbbeb9e638-lite.chunk.js} +0 -0
- /package/dist/scripts/{2560-f81a2d30a8-lite.chunk.js → 2560-8063199708-lite.chunk.js} +0 -0
- /package/dist/scripts/{2562-41a835ab98-lite.chunk.js → 2562-17c7a32919-lite.chunk.js} +0 -0
- /package/dist/scripts/{2644-549bd06a6b-lite.chunk.js → 2644-3ae6e3a99d-lite.chunk.js} +0 -0
- /package/dist/scripts/{2711-40a3b3ccf5-lite.chunk.js → 2711-68fc1dd44e-lite.chunk.js} +0 -0
- /package/dist/scripts/{2780-23c3cddf3d-lite.chunk.js → 2780-158ed56ca0-lite.chunk.js} +0 -0
- /package/dist/scripts/{291-9faeedb554-lite.chunk.js → 291-12c1b96eb0-lite.chunk.js} +0 -0
- /package/dist/scripts/{2935-d8ca7e831a-lite.chunk.js → 2935-fad8717caf-lite.chunk.js} +0 -0
- /package/dist/scripts/{2966-9e54c2fd17-lite.chunk.js → 2966-9be3dbc5f1-lite.chunk.js} +0 -0
- /package/dist/scripts/{3007-7ae7d052ef-lite.chunk.js → 3007-46bd59dea2-lite.chunk.js} +0 -0
- /package/dist/scripts/{3012-b974d7559e-lite.chunk.js → 3012-b3f6350d48-lite.chunk.js} +0 -0
- /package/dist/scripts/{3020-68022006d3-lite.chunk.js → 3020-ee451eada3-lite.chunk.js} +0 -0
- /package/dist/scripts/{3044-b1073ffc01-lite.chunk.js → 3044-5c013d4806-lite.chunk.js} +0 -0
- /package/dist/scripts/{3096-dbd62cfd77-lite.chunk.js → 3096-bd62227310-lite.chunk.js} +0 -0
- /package/dist/scripts/{3108-b5496da3bf-lite.chunk.js → 3108-22faf3c78d-lite.chunk.js} +0 -0
- /package/dist/scripts/{3133-9dc4315da6-lite.chunk.js → 3133-6a9fc0c0cb-lite.chunk.js} +0 -0
- /package/dist/scripts/{3216-d35e0f13e8-lite.chunk.js → 3216-02d38d7df4-lite.chunk.js} +0 -0
- /package/dist/scripts/{3237-440eca9126-lite.chunk.js → 3237-b68bc678b0-lite.chunk.js} +0 -0
- /package/dist/scripts/{3285-4a7ebfbb60-lite.chunk.js → 3285-91b9234c93-lite.chunk.js} +0 -0
- /package/dist/scripts/{336-6a147acd2c-lite.chunk.js → 336-def57493d9-lite.chunk.js} +0 -0
- /package/dist/scripts/{3468-71a0af0edb-lite.chunk.js → 3468-44845a4cd5-lite.chunk.js} +0 -0
- /package/dist/scripts/{3509-fcf1ccfdf5-lite.chunk.js → 3509-ec99c6f7b4-lite.chunk.js} +0 -0
- /package/dist/scripts/{3601-fe920585bd-lite.chunk.js → 3601-0bf95ec80c-lite.chunk.js} +0 -0
- /package/dist/scripts/{3732-b81af45d54-lite.chunk.js → 3732-007b3e9c6f-lite.chunk.js} +0 -0
- /package/dist/scripts/{3754-d3e7f65aea-lite.chunk.js → 3754-6077ffacda-lite.chunk.js} +0 -0
- /package/dist/scripts/{3891-91b2966561-lite.chunk.js → 3891-c515003589-lite.chunk.js} +0 -0
- /package/dist/scripts/{4111-7effe64a75-lite.chunk.js → 4111-80fea1a036-lite.chunk.js} +0 -0
- /package/dist/scripts/{4182-4b9926d4b7-lite.chunk.js → 4182-821e7d5399-lite.chunk.js} +0 -0
- /package/dist/scripts/{436-9230220b92-lite.chunk.js → 436-d22d34ba5e-lite.chunk.js} +0 -0
- /package/dist/scripts/{4423-c036551ba4-lite.chunk.js → 4423-e84d3aa86e-lite.chunk.js} +0 -0
- /package/dist/scripts/{4512-c431d4db60-lite.chunk.js → 4512-37aaf32f9c-lite.chunk.js} +0 -0
- /package/dist/scripts/{4541-f1bff715ae-lite.chunk.js → 4541-f99c01bb5c-lite.chunk.js} +0 -0
- /package/dist/scripts/{4632-5d20b63377-lite.chunk.js → 4632-e72f884f19-lite.chunk.js} +0 -0
- /package/dist/scripts/{4767-f3e9a749dc-lite.chunk.js → 4767-77413c886d-lite.chunk.js} +0 -0
- /package/dist/scripts/{4893-01e4c82863-lite.chunk.js → 4893-0c19492eee-lite.chunk.js} +0 -0
- /package/dist/scripts/{5-319f5bc3da-lite.chunk.js → 5-d8319e1ae9-lite.chunk.js} +0 -0
- /package/dist/scripts/{5189-e58fd04bf6-lite.chunk.js → 5189-258243844f-lite.chunk.js} +0 -0
- /package/dist/scripts/{5266-efd39e89b2-lite.chunk.js → 5266-06aa8505d9-lite.chunk.js} +0 -0
- /package/dist/scripts/{5466-f81c2ddf69-lite.chunk.js → 5466-ec560e63d0-lite.chunk.js} +0 -0
- /package/dist/scripts/{5585-87926e032f-lite.chunk.js → 5585-e5206f011c-lite.chunk.js} +0 -0
- /package/dist/scripts/{5606-5d9fd1d643-lite.chunk.js → 5606-9c93fc4bbb-lite.chunk.js} +0 -0
- /package/dist/scripts/{5753-907ddfead9-lite.chunk.js → 5753-ace5e0d744-lite.chunk.js} +0 -0
- /package/dist/scripts/{584-be40ea0513-lite.chunk.js → 584-78954070b3-lite.chunk.js} +0 -0
- /package/dist/scripts/{5877-9cea853c61-lite.chunk.js → 5877-bcf54aae21-lite.chunk.js} +0 -0
- /package/dist/scripts/{5914-27066f3e79-lite.chunk.js → 5914-c9aa9716e1-lite.chunk.js} +0 -0
- /package/dist/scripts/{5933-d06994bdb4-lite.chunk.js → 5933-2af150999c-lite.chunk.js} +0 -0
- /package/dist/scripts/{5956-8d8030ffd6-lite.chunk.js → 5956-e4bae69521-lite.chunk.js} +0 -0
- /package/dist/scripts/{5974-f11308181d-lite.chunk.js → 5974-4a78333392-lite.chunk.js} +0 -0
- /package/dist/scripts/{6274-10b6dc889f-lite.chunk.js → 6274-5d5921cd3b-lite.chunk.js} +0 -0
- /package/dist/scripts/{6302-dc67821b4d-lite.chunk.js → 6302-681f415c3b-lite.chunk.js} +0 -0
- /package/dist/scripts/{6355-f4f5b9ea45-lite.chunk.js → 6355-1fffbda6b1-lite.chunk.js} +0 -0
- /package/dist/scripts/{6370-b3140fafc4-lite.chunk.js → 6370-9597421b9b-lite.chunk.js} +0 -0
- /package/dist/scripts/{6465-919c0293dc-lite.chunk.js → 6465-f0840ef91c-lite.chunk.js} +0 -0
- /package/dist/scripts/{6507-9431cbe881-lite.chunk.js → 6507-fd37d1104c-lite.chunk.js} +0 -0
- /package/dist/scripts/{6570-ec12da9c41-lite.chunk.js → 6570-86c3a7b701-lite.chunk.js} +0 -0
- /package/dist/scripts/{660-aaa1a85f1a-lite.chunk.js → 660-a0579914e8-lite.chunk.js} +0 -0
- /package/dist/scripts/{6604-918f966171-lite.chunk.js → 6604-ff8fe8326a-lite.chunk.js} +0 -0
- /package/dist/scripts/{6725-de5a267fff-lite.chunk.js → 6725-821f06d6a1-lite.chunk.js} +0 -0
- /package/dist/scripts/{6736-5dbd730fec-lite.chunk.js.LICENSE.txt → 6736-e5d1d1784b-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6856-ebcf89a5bc-lite.chunk.js.LICENSE.txt → 6736-f60da723db-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6801-e078d915ed-lite.chunk.js → 6801-4b2f240a39-lite.chunk.js} +0 -0
- /package/dist/scripts/{8323-6c9b4e877a-lite.chunk.js.LICENSE.txt → 6856-53ae5e3ed1-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9478-9176bdf440-lite.chunk.js.LICENSE.txt → 6856-c5be81b923-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6864-e2515db428-lite.chunk.js → 6864-8b2f696c78-lite.chunk.js} +0 -0
- /package/dist/scripts/{6873-699829de32-lite.chunk.js → 6873-d0b9eda9ce-lite.chunk.js} +0 -0
- /package/dist/scripts/{7045-e92ba934cd-lite.chunk.js → 7045-f33a5e31b2-lite.chunk.js} +0 -0
- /package/dist/scripts/{7066-615e5f57ea-lite.chunk.js → 7066-72cdd0e88e-lite.chunk.js} +0 -0
- /package/dist/scripts/{7115-81fa8d118a-lite.chunk.js → 7115-f54443ff3d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7128-45a77bed15-lite.chunk.js → 7128-16333fb9b9-lite.chunk.js} +0 -0
- /package/dist/scripts/{7172-712031a6d8-lite.chunk.js → 7172-d95c86f3a5-lite.chunk.js} +0 -0
- /package/dist/scripts/{7178-486219a924-lite.chunk.js → 7178-84a1fdf7ff-lite.chunk.js} +0 -0
- /package/dist/scripts/{7498-b1add3759b-lite.chunk.js → 7498-8e406262d5-lite.chunk.js} +0 -0
- /package/dist/scripts/{7545-ce783204a9-lite.chunk.js → 7545-723fe61d01-lite.chunk.js} +0 -0
- /package/dist/scripts/{7552-3efd1e45c6-lite.chunk.js → 7552-e087da0121-lite.chunk.js} +0 -0
- /package/dist/scripts/{7760-585bd5ede6-lite.chunk.js → 7760-f3770fe6ba-lite.chunk.js} +0 -0
- /package/dist/scripts/{7767-a35c254302-lite.chunk.js → 7767-b47f9401a8-lite.chunk.js} +0 -0
- /package/dist/scripts/{7804-9643fa943c-lite.chunk.js → 7804-0bd34f87fd-lite.chunk.js} +0 -0
- /package/dist/scripts/{7831-0ddb53dcb8-lite.chunk.js → 7831-297c7b1517-lite.chunk.js} +0 -0
- /package/dist/scripts/{7855-87ee1981a9-lite.chunk.js → 7855-e8b7c14aab-lite.chunk.js} +0 -0
- /package/dist/scripts/{7888-107449840b-lite.chunk.js → 7888-96a913468c-lite.chunk.js} +0 -0
- /package/dist/scripts/{7901-a802455312-lite.chunk.js → 7901-9795840e2d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7925-1803456dd0-lite.chunk.js → 7925-5ee14db222-lite.chunk.js} +0 -0
- /package/dist/scripts/{7982-0a04ae5f05-lite.chunk.js → 7982-a4d12bbd4a-lite.chunk.js} +0 -0
- /package/dist/scripts/{7989-0e448172f5-lite.chunk.js.LICENSE.txt → 7989-993b3d179f-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7997-51e8c27f91-lite.chunk.js → 7997-39f6c684d3-lite.chunk.js} +0 -0
- /package/dist/scripts/{8025-872ec71c41-lite.chunk.js → 8025-1f34f48f66-lite.chunk.js} +0 -0
- /package/dist/scripts/{8046-4ec616094f-lite.chunk.js → 8046-d7b99545d4-lite.chunk.js} +0 -0
- /package/dist/scripts/{8056-f3f4dc1da1-lite.chunk.js → 8056-ca8467bc0c-lite.chunk.js} +0 -0
- /package/dist/scripts/{8072-b0dbb902c0-lite.chunk.js → 8072-a0eddfd6a3-lite.chunk.js} +0 -0
- /package/dist/scripts/{823-c6c4bc0958-lite.chunk.js → 823-49fa5ac1dd-lite.chunk.js} +0 -0
- /package/dist/scripts/{8252-6231823a7c-lite.chunk.js → 8252-f7762f2c9c-lite.chunk.js} +0 -0
- /package/dist/scripts/{8322-30f64cb35d-lite.chunk.js → 8322-9706ad09cf-lite.chunk.js} +0 -0
- /package/dist/scripts/{8408-6851c3b7fd-lite.chunk.js → 8408-c3de3fa079-lite.chunk.js} +0 -0
- /package/dist/scripts/{8416-6769ec16cb-lite.chunk.js → 8416-0791d3e2f5-lite.chunk.js} +0 -0
- /package/dist/scripts/{8425-f980e9a568-lite.chunk.js → 8425-50b05fe5f7-lite.chunk.js} +0 -0
- /package/dist/scripts/{8466-f489de0df1-lite.chunk.js → 8466-e5bf8d82c0-lite.chunk.js} +0 -0
- /package/dist/scripts/{8594-c5a3664f77-lite.chunk.js → 8594-729cde30c1-lite.chunk.js} +0 -0
- /package/dist/scripts/{8618-c11b9d46b2-lite.chunk.js → 8618-2ef3846d33-lite.chunk.js} +0 -0
- /package/dist/scripts/{8687-3a0d4cd9d2-lite.chunk.js → 8687-949758944f-lite.chunk.js} +0 -0
- /package/dist/scripts/{8772-19c3c22c02-lite.chunk.js → 8772-cb152741b1-lite.chunk.js} +0 -0
- /package/dist/scripts/{8835-94aea44d21-lite.chunk.js → 8835-7b44462f86-lite.chunk.js} +0 -0
- /package/dist/scripts/{8868-4d2c823f18-lite.chunk.js → 8868-fc6ae4d8b7-lite.chunk.js} +0 -0
- /package/dist/scripts/{8905-0d0ce88107-lite.chunk.js → 8905-343ca9bee1-lite.chunk.js} +0 -0
- /package/dist/scripts/{8946-0fc1890a66-lite.chunk.js → 8946-2d4f902bb5-lite.chunk.js} +0 -0
- /package/dist/scripts/{8955-6d5689ce2f-lite.chunk.js → 8955-729a99190e-lite.chunk.js} +0 -0
- /package/dist/scripts/{898-a6a43e32f0-lite.chunk.js → 898-33646d2130-lite.chunk.js} +0 -0
- /package/dist/scripts/{9001-4f561928d6-lite.chunk.js → 9001-05d5b3e2d7-lite.chunk.js} +0 -0
- /package/dist/scripts/{9060-5807a3492e-lite.chunk.js → 9060-7e47290e8e-lite.chunk.js} +0 -0
- /package/dist/scripts/{9096-6facd0e6fa-lite.chunk.js → 9096-e432cfe2b0-lite.chunk.js} +0 -0
- /package/dist/scripts/{9133-60eda20f56-lite.chunk.js → 9133-fbd692ad52-lite.chunk.js} +0 -0
- /package/dist/scripts/{9242-fed84e32e9-lite.chunk.js → 9242-30fef2e73c-lite.chunk.js} +0 -0
- /package/dist/scripts/{9490-654b218b7b-lite.chunk.js → 9490-c61a158da0-lite.chunk.js} +0 -0
- /package/dist/scripts/{956-97518b5e07-lite.chunk.js → 956-608aa358df-lite.chunk.js} +0 -0
- /package/dist/scripts/{9686-8b05615808-lite.chunk.js → 9686-88a9abf395-lite.chunk.js} +0 -0
- /package/dist/scripts/{9708-f869f4d031-lite.chunk.js → 9708-525003829c-lite.chunk.js} +0 -0
- /package/dist/scripts/{985-ae7d483abc-lite.chunk.js → 985-9c307b4df6-lite.chunk.js} +0 -0
- /package/dist/scripts/{bundle-57e951683b.min.js.LICENSE.txt → bundle-9d7b1e093f.min.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[956],{25723:(e,t,n)=>{n.d(t,{m:()=>p});var r=n(1024),o=n(77268),i=n(23481),a=n(49985),c=n(25105),l=n(99940),u=n(79014);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=null,d=!1;function p(e){var t,n,p=(t=r.useState(f),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(t,n)||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.")}()),y=p[0],v=p[1];return f||d||(d=!0,(0,c.ajaxRequest)({resource:"/api/integrations/token/immersive-reader",type:l.k.GET,success:function(e){f=e,v(e),window.setTimeout((function(){f=null,d=!1}),9e5)},error:function(){}})),y?(e.title||(e.title=i.T.getPhrase("shared.immersiveReader","titleFallback")),r.createElement("span",{className:"".concat("nckQw"," ").concat(e.className||""),onClick:function(){u.q.isFunction(e.onLaunch)&&e.onLaunch(),a.k.logUserAction(e.analyticsData,e.analyticsOptions);var t={title:e.title,chunks:[{content:e.text,mimeType:e.html?"text/html":"text/plain"}]},n=y.subdomain,r=y.token,i={uiZIndex:5e3,onExit:function(){u.q.isFunction(e.onExit)&&e.onExit()}};o.launchAsync(r,n,t,i)}},r.createElement("svg",{viewBox:"0 0 40 37"},r.createElement("path",{d:"M37.4,0.9 L37.4,9.6 L35.4,9.6 L35.4,2.9 L24.4,2.9 C22.9,3.3 20,4.5 20,6 L20,17.2 L18,17.2 L18,6 C18,5 15.6,3.6 13.8,2.9 L2,2.9 L2,29 L12.4,29 L12.4,31 L0,31 L0,0.9 L14.1,0.9 L14.3,1 C15,1.2 17.5,2.2 18.9,3.7 C20.5,1.9 23.5,1.1 23.9,1 L24.1,1 L37.4,1 L37.4,0.9 Z",fill:"#000000"}),r.createElement("path",{d:"M27.4,37 L25.8,37 L18.4,29.4 L14,29.4 L14,21 L18.4,20.9 L26.1,13 L27.4,13 L27.4,37 Z M16,27.4 L19.2,27.4 L25.3,33.7 L25.3,16.6 L19.2,22.9 L15.9,22.9 L15.9,27.4 L16,27.4 Z",fill:"#0197F2"}),r.createElement("path",{d:"M31.3,32.7 L29.6,31.7 C29.6,31.7 31.7,28.3 31.7,25.2 C31.7,21.9 29.6,18.5 29.6,18.4 L31.3,17.4 C31.4,17.6 33.7,21.3 33.7,25.2 C33.7,28.8 31.4,32.6 31.3,32.7 Z",fill:"#0197F2"}),r.createElement("path",{d:"M36.4,36.2 L34.8,35 C34.8,35 38,30.8 38,25.2 C38,19.6 34.8,15.4 34.8,15.4 L36.4,14.2 C36.5,14.4 40,19 40,25.3 C40,31.5 36.5,36 36.4,36.2 Z",fill:"#0197F2"})))):r.createElement(r.Fragment,null)}},36199:(e,t,n)=>{var r;n.d(t,{V:()=>r}),function(e){e[e.Original=0]="Original",e[e.Copy=1]="Copy"}(r||(r={}))},60051:(e,t,n)=>{var r;n.d(t,{f:()=>r}),function(e){e.Share="share",e.MasterObject="masterobject"}(r||(r={}))},94644:(e,t,n)=>{n.d(t,{r:()=>s});var r=n(81886),o=n(50242),i=n(67058),a=n(49075),c=n(14553),l=n(49267),u={notFound:i.d,forbidden:{rating:c.q,yearLevel:c.q,region:l.a,privacy:c.q},badRequest:a._};function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var i;i="number"==typeof e?e:e.status;var a=Object.assign(Object.assign({},u),t);i&&r.Q.ErrorHelper.isStatusCodeError(i)&&(i!==o.o.NotFound?i!==o.o.Forbidden?n.badRequest||r.Q.ErrorHelper.throw(new a.badRequest):n.forbidden||r.Q.ErrorHelper.throw(new a.forbidden.privacy):n.notFound||r.Q.ErrorHelper.throw(new a.notFound))}}},47812:(e,t,n)=>{n.d(t,{k:()=>o});var r=n(99940),o={createViewKey:function(e,t,n){var o={mediaId:e.toString(),mediaIdType:t};return n&&(o.shareContextId=n),{url:"/api/player/create-view-key",key:"view:key:".concat(e,":").concat(t),type:r.k.POST,data:o,expiryTime:28800}}}},91286:(e,t,n)=>{n.d(t,{v:()=>a});var r=n(1024),o=n(94644);function i(e){return e.map((function(e){return e.statusCode})).join(":")}function a(e,t,n){var a=Array.isArray(e)?e:[e];(0,r.useEffect)((function(){a.forEach((function(e){(0,o.r)(e.statusCode,t,n)}))}),[i(a),t,n])}},93264:(e,t,n)=>{n.d(t,{T:()=>i});var r=n(39479),o=function(e,t,n){var r=t-(e=e.toString()).length;return r<=0?e:new Array(r+1).join(n)+e},i={ToDisplayDuration:function(e){if(!r.isNumber(e))return"";var t=new Date(e),n=t.getUTCHours(),i=o(t.getUTCMinutes(),2,"0"),a=o(t.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(i,":").concat(a):"".concat(i,":").concat(a)}}},63649:(e,t,n)=>{n.d(t,{X:()=>c});var r=n(1024),o=n.n(r);const i="Gt6uV",a="caHP7";function c(e){var t=e.isEdit;return o().createElement("div",{className:"px-3 w-100 ".concat(t?"de4DP":"")},t?o().createElement("div",{className:"d-flex justify-content-between align-items-center mb-3"},o().createElement("div",{className:"partial-loading-background ".concat(i)}),o().createElement("div",null,o().createElement("div",{className:"partial-loading-background d-inline-block ".concat(a)}),o().createElement("div",{className:"partial-loading-background d-inline-block ml-2 ".concat(a)}))):o().createElement("div",{className:"partial-loading-background ".concat("lQs4F")}),o().createElement("div",{className:"partial-loading-background mb-3 ".concat("ekpg6")},o().createElement("div",{className:"partial-loading-background ".concat("XelbS")})),o().createElement("div",{className:"partial-loading-background mb-3 ".concat(i)}),o().createElement("div",null,Array(5).fill(null).map((function(e,t){return o().createElement("div",{key:t,className:"partial-loading-background my-2 ".concat("LEfYX")})}))))}},9064:(e,t,n)=>{function r(e){var t,n,r,o,i,a;if(!e)return null;var c=Object.assign(Object.assign({},e),{video:null,clip:null});return(null===(t=null==e?void 0:e.clip)||void 0===t?void 0:t.id)?(c.clip={id:null===(n=null==e?void 0:e.clip)||void 0===n?void 0:n.id},(null===(r=e.clip.video)||void 0===r?void 0:r.id)&&(c.video={id:null===(o=e.clip.video)||void 0===o?void 0:o.id})):(null===(i=null==e?void 0:e.video)||void 0===i?void 0:i.id)&&(c.video={id:null===(a=null==e?void 0:e.video)||void 0===a?void 0:a.id}),c}n.d(t,{T:()=>r})},9897:(e,t,n)=>{n.r(t),n.d(t,{EditInteractiveView:()=>W});var r=n(1024),o=n.n(r),i=n(17082),a=n(81886),c=n(20354),l=n(65858),u=n(49985),s=n(39151),f=n(47812),d=n(31949),p=n(5960),y=n(61990),v=n(33803),b=n(91286),m=n(60051),h=n(38314),g=n(10942),E=n(20768),w=n(44960),O=n(14070),k=n(97291),L=n(23481),j=n(64364);function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}function A(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}var I="shared.cannotEditPublishedInteractive",x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=P(r);if(o){var n=P(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return A(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,L.T.getPhrase(I,"title"))}return t=a,(n=[{key:"name",get:function(){return"CannotEditPublishedInteractiveError"}},{key:"heading",get:function(){return L.T.getPhrase(I,"heading")}},{key:"description",get:function(){return L.T.getPhrase(I,"description")}}])&&T(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(j.H),R=n(63649),N=n(9064),_=n(58566),F=n(36199);function U(e){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},D(e,t)}function H(e,t){if(t&&("object"===U(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}var q="shared.cannotEditInteractive",B=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Q(r);if(o){var n=Q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return H(this,e)});function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,L.T.getPhrase(q,"title"))}return t=a,(n=[{key:"name",get:function(){return"CannnotEditInteractiveError"}},{key:"heading",get:function(){return L.T.getPhrase(q,"heading")}},{key:"description",get:function(){return L.T.getPhrase(q,"description")}}])&&M(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(j.H);function V(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(e,t):void 0}}(e,t)||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 X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}(e,t)||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 K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var G={application:k.O.INTERACTIVES,action:O.e.Interactives.EDIT_INTERACTIVE_DETAILS},$={notFound:y.l,forbidden:{privacy:v.G}};function W(e){var t=Z(o().useState(!1),2),n=t[0],r=t[1],y=Z(o().useState(!1),2),v=y[0],O=y[1],k=o().useRef(),L=c.a.useBasicFetch(s.L.config()),j=c.a.useBasicFetch(d.N.currentUser()),S=c.a.useBasicFetch(!!j.data&&E.b.interactiveMetadata(e.id)),T=function(e){var t=(0,_.useDispatch)(),n=V(o().useState(!1),2),r=n[0],i=n[1],l=V(o().useState(!1),2),u=l[0],s=l[1];return o().useEffect((function(){if(e&&!u&&!r)if(e.originType!==F.V.Original){var n=function(){a.Q.ErrorHelper.throw(new B)};i(!0),c.a.fetch(t,E.b.copyInteractive(e.interactiveId,(function(r){var o={originType:F.V.Original,interactiveId:r.id};c.a.fetch(t,E.b.updateInteractiveMetadata(e.id,o,(function(){return s(!0)}),n))}),n))}else s(!0)}),[e]),u}(S.data),C=c.a.useBasicFetch(T?f.k.createViewKey(S.data.id,m.f.MasterObject):null),A=c.a.useBasicFetch(d.N.token()),P=o().useMemo((function(){return(0,i.oD)()}),[]),I=o().useMemo((function(){return(0,i.oD)()}),[]),U=o().useRef();if((0,b.v)(S,$),!(C.data&&L.data&&S.data&&A.data))return o().createElement(R.X,{isEdit:!0});if(!v&&(O(!0),S.data.status!==p.X.Draft))return a.Q.ErrorHelper.throw(new x),null;var M=(0,N.T)(S.data),D={entity:l.EntityType.Interactive,location:l.LocationContext.EditInteractive,workflowPhase:l.WorkflowPhase.Start};return o().createElement(o().Fragment,null,!n&&o().createElement(R.X,{isEdit:!0}),o().createElement("div",{className:"px-3 ".concat(n?"":"d-none")},o().createElement("div",{className:"d-flex justify-content-between align-items-center mb-3"},o().createElement("h1",{className:"h3 text-truncate"},S.data.name),o().createElement("div",{className:"flex-shrink-0"},o().createElement(i.t0,{node:P}))),o().createElement(g.S,{viewKey:C.data.viewKey,imageApi:new URL(L.data.imageCdnUrl),playerApi:new URL(L.data.playerApiUrl),supportSiteUrl:new URL(L.data.supportSiteUrl),hotkeyElQuerySelector:"body",autoplay:!0,onReady:function(e){k.current=e,r(!0),U.current=new w.M({player:e,video:S.data,analyticsLocation:l.LocationContext.EditInteractive})},currentUser:j.data,mode:h.InteractiveMode.Create,actionsPortalNode:P,questionListPortalNode:I,authToken:A.data.value,onClickEditDetails:function(){u.k.logUserAction(M,Object.assign({actionType:l.UserAction.Edit},D)),a.Q.AppLinkHelper.trigger(Object.assign(Object.assign({},G),{args:[e.id]}))},onClickPublish:function(){u.k.logUserAction(M,Object.assign({actionType:l.UserAction.Publish},D)),a.Q.AppLinkHelper.trigger(Object.assign(Object.assign({},G),{args:[e.id],params:{publish:!0}}))},enableImmersiveReader:!0}),o().createElement(i.t0,{node:I})))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9607],{33766:(e,t,r)=>{r.r(t),r.d(t,{AddStudentsToClassroomView:()=>N});var n=r(1024),a=r.n(n),o=r(58566),c=r(23481),l=r(20354),s=r(97395),i=r(9111),u=r(69883),d=r(22902),m=r(13876),p=r(83345),f=r(8493),h=r(88630),y=r(49985),g=r(31949),v=r(39151),E=r(76881),S=r(16714),b=r(40424),A=r(2997),w=r(7855),I=r(97291),R=r(14070),T=r(99742);function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],c=!0,l=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{c||null==r.return||r.return()}finally{if(l)throw a}}return o}}(e,t)||P(e,t)||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 P(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var k="classrooms.addStudentsToClassroom",U=c.T.encloseNamespace(k),L={application:I.O.USER_MANAGER,action:R.e.UserManager.STUDENTS};function N(e){var t=C(a().useState(!1),2),r=t[0],n=t[1],c=C(a().useState([]),2),I=c[0],R=c[1],N=l.a.useBasicFetch(g.N.currentUser()),M=l.a.useBasicFetch(v.L.config()),x=l.a.useBasicFetch(g.N.token()),B=l.a.useBasicFetch(N.data&&h.F.getClassroom(e.classroomId,N.data.id)),O=(0,o.useDispatch)(),j=(0,u.Z)(),D=(0,d.T)().hasPermissions,X=!!(x.data&&B.data&&M.data&&N.data);return a().createElement(i.G,{title:U("title"),closePopup:e.closePopup,showLoadingSpinner:!X},X&&a().createElement(a().Fragment,null,a().createElement("div",{className:"pb-3"},a().createElement(w.R,{placeholder:U("placeholder"),getRemoteUrl:function(t){return function(e,t,r,n){var a,o=s._.safeUrlConcat(e,"/v1/search/users");return s._.urlBuilder(o,(F(a={query:t},"".concat(A.w.FILTER_PARAM_PREFIX,"userType"),E.Y.Learner),F(a,"".concat(A.w.FILTER_PARAM_PREFIX,"userStatus"),"".concat(b.w.Active.toLowerCase(),",").concat(b.w.Inactive.toLowerCase())),F(a,"".concat(A.w.FILTER_PARAM_PREFIX,"excludeClassroom"),r),F(a,"".concat(A.w.FILTER_PARAM_PREFIX,"customerId"),n),F(a,"index","user"),F(a,"limit",w.d),a))}(M.data.gatewayApiUrl,t,e.classroomId,N.data.customerId)},requestHeaders:{authorization:"Bearer ".concat(x.data.value)},selections:I,formatRemoteSuggestions:function(e){return e.results},updateSelections:function(e){return R([].concat(function(e){if(Array.isArray(e))return _(e)}(t=I)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||P(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e]));var t},removeSelection:function(e){return R(I.filter((function(t){return t.id!==e})))},imageCdnUrl:M.data.imageCdnUrl,activationLength:2,debounceTime:200,errorStateImageUrl:T.W.TYPEAHEAD_ERROR,emptyStateImageUrl:T.W.EmptyStates.TYPEAHEAD_RESULTS})),D(S.C.ManageUsers)&&a().createElement("p",null,a().createElement(p.x,{namespace:k,phrase:"createNewStudent"}),a().createElement(f.F,{className:"info-link",onClick:e.closePopup,appLink:L},a().createElement(p.x,{namespace:k,phrase:"studentManager"}))),a().createElement(m.u,{buttons:[{variant:"link",onClick:e.closePopup,buttonText:U("cancel")},{variant:"dark",onClick:function(){(null==I?void 0:I.length)&&(n(!0),l.a.fetch(O,h.F.addStudents(I.map((function(e){return e.id})),e.classroomId,(function(){n(!1),y.k.logUserAction({id:e.classroomId,userCount:I.length},e.analyticsOptions),j.success(U("success",{smartCount:I.length,classroomName:B.data.name,escapeText:!0})),e.closePopup()}),(function(){n(!1),j.error(U("error",{smartCount:I.length,classroomName:B.data.name})),e.closePopup()}))))},buttonText:U("add"),isSpinnerButton:!0,showSpinner:r,disabled:!(null==I?void 0:I.length)}]})))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9686],{60051:(e,t,n)=>{var r;n.d(t,{f:()=>r}),function(e){e.Share="share",e.MasterObject="masterobject"}(r||(r={}))},47812:(e,t,n)=>{n.d(t,{k:()=>i});var r=n(99940),i={createViewKey:function(e,t,n){var i={mediaId:e.toString(),mediaIdType:t};return n&&(i.shareContextId=n),{url:"/api/player/create-view-key",key:"view:key:".concat(e,":").concat(t),type:r.k.POST,data:i,expiryTime:28800}}}},93264:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(39479),i=function(e,t,n){var r=t-(e=e.toString()).length;return r<=0?e:new Array(r+1).join(n)+e},o={ToDisplayDuration:function(e){if(!r.isNumber(e))return"";var t=new Date(e),n=t.getUTCHours(),o=i(t.getUTCMinutes(),2,"0"),a=i(t.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(o,":").concat(a):"".concat(o,":").concat(a)}}},99686:(e,t,n)=>{n.r(t),n.d(t,{EditClipTimepointsView:()=>Me});var r=n(1024),i=n.n(r),o=n(20354),a=n(2948),c=n(81886),u=n(23481),l=n(23049),s=n(47812),f=n(39151),p=n(497),d=n(48420),y=n(16235);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=g(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},b.apply(this,arguments)}function g(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=w(e)););return e}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function O(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(r);if(i){var n=w(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return O(this,e)});function a(){return m(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"buildCSSClass",value:function(){return"cv-clip-timepoint-handle ".concat(b(w(a.prototype),"buildCSSClass",this).call(this))}},{key:"createEl",value:function(e,t,n){return b(w(a.prototype),"createEl",this).call(this,e,Object.assign(Object.assign({},t),{className:this.buildCSSClass(),innerHTML:'<svg viewBox="0 0 5 14" pointer-events="none"><g id="Clips" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Clip-2" transform="translate(-835.000000, -632.000000)" fill="#FFFFFF"><g id="Video-Copy" transform="translate(275.000000, 96.000000)"><g id="Handles" transform="translate(560.000000, 536.000000)"><circle id="Oval" cx="1" cy="1" r="1"></circle><circle id="Oval-Copy-2" cx="1" cy="5" r="1"></circle><circle id="Oval-Copy-4" cx="1" cy="9" r="1"></circle><circle id="Oval-Copy-8" cx="1" cy="13" r="1"></circle><circle id="Oval-Copy" cx="4" cy="1" r="1"></circle><circle id="Oval-Copy-3" cx="4" cy="5" r="1"></circle><circle id="Oval-Copy-5" cx="4" cy="9" r="1"></circle><circle id="Oval-Copy-9" cx="4" cy="13" r="1"></circle></g></g></g></g></svg>'}),n)}},{key:"isEventTarget",value:function(e){return this.el().contains(e.target)}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(){return C="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=k(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},C.apply(this,arguments)}function k(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=D(e)););return e}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function j(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=D(r);if(i){var n=D(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return j(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).dragStartActive=!1,n.dragEndActive=!1,n.dragSliderActive=!1,n.dragSliderCurrentPosition=null,n.minDuration=Math.min(e.duration(),n.options_.minDuration),n.setStartTime(t.startTime,!1),n.setEndTime(t.endTime,!1),n.startHandle=new S(n.player(),t),n.startHandle.addClass("cv-clip-start-handle"),n.addChild(n.startHandle),n.endHandle=new S(n.player(),t),n.endHandle.addClass("cv-clip-end-handle"),n.addChild(n.endHandle),n.on(n.player(),"update:clip:start:time",(function(e){var t=e.time;return n.setStartTime(t)})),n.on(n.player(),"update:clip:end:time",(function(e){var t=e.time;return n.setEndTime(t)})),n.bindListeners(),n.update(),n}return t=a,n=[{key:"createEl",value:function(){return C(D(a.prototype),"createEl",this).call(this,"div",{className:"cv-clip-timepoint-selector"},{})}},{key:"update",value:function(){var e=this;this.options_.onChangeStartTime(this.startTime),this.options_.onChangeEndTime(this.endTime),this.requestAnimationFrame((function(){e.setStartOffset(),e.setWidth()}))}},{key:"setStartTime",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(e)){var n=this.hasStartTime()&&this.hasEndTime()&&this.endTime-this.startTime,r=this.player().duration()-this.minDuration;if(e>r&&(e=r),e<0&&(e=0),this.startTime=e,this.endTime&&this.endTime-this.startTime<this.minDuration){var i="number"==typeof n?this.startTime+n:this.startTime+this.minDuration;this.setEndTime(i)}this.player().currentTime(this.startTime),t&&this.update()}}},{key:"setEndTime",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(e)){var n=this.hasStartTime()&&this.hasEndTime()&&this.endTime-this.startTime,r=this.minDuration;if(e<r&&(e=r),e>this.player().duration()&&(e=this.player().duration()),this.endTime=e,this.startTime&&this.endTime-this.startTime<this.minDuration){var i="number"==typeof n?this.endTime-n:this.endTime-this.minDuration;this.setStartTime(i)}t&&this.update()}}},{key:"bindListeners",value:function(){var e=this;this.onTimeupdate=this.onTimeupdate.bind(this),this.player().on("timeupdate",this.onTimeupdate),this.on("mousedown",this.dragStart),this.on("touchstart",this.dragStart),this.player().on("dispose",(function(){e.player().off("timeupdate",e.onTimeupdate),e.off("mousedown",e.dragStart),e.off("touchstart",e.dragStart)}))}},{key:"hasStartTime",value:function(){return"number"==typeof this.startTime}},{key:"hasEndTime",value:function(){return"number"==typeof this.endTime}},{key:"onTimeupdate",value:function(){var e=this.player().currentTime();e>this.endTime&&e<this.endTime+.5&&this.player().pause()}},{key:"dragStart",value:function(e){this.startHandle.isEventTarget(e)&&(e.stopImmediatePropagation(),this.dragStartActive=!0),this.endHandle.isEventTarget(e)&&(e.stopImmediatePropagation(),this.dragEndActive=!0),e.target===this.el()&&(e.stopImmediatePropagation(),this.dragSliderActive=!0,this.dragSliderCurrentPosition=this.getPosition(e));var t=this.el().ownerDocument;this.on(t,"mousemove",this.drag),this.on(t,"mouseup",this.dragEnd),this.on(t,"touchmove",this.drag),this.on(t,"touchend",this.dragEnd),this.drag(e)}},{key:"dragEnd",value:function(){this.dragStartActive=!1,this.dragEndActive=!1,this.dragSliderActive=!1,this.dragSliderCurrentPosition=null;var e=this.el().ownerDocument;this.off(e,"mousemove",this.drag),this.off(e,"mouseup",this.dragEnd),this.off(e,"touchmove",this.drag),this.off(e,"touchend",this.dragEnd)}},{key:"drag",value:function(e){if((this.dragStartActive||this.dragEndActive||this.dragSliderActive)&&y.Z.dom.isSingleLeftClick(e)){var t=this.getPosition(e),n=t*this.player().duration();this.dragStartActive&&this.handleStartHandleDrag(n),this.dragEndActive&&this.handleEndHandleDrag(n),this.dragSliderActive&&this.handleSliderDrag(t)}}},{key:"handleStartHandleDrag",value:function(e){this.setStartTime(e)}},{key:"handleEndHandleDrag",value:function(e){this.setEndTime(e)}},{key:"handleSliderDrag",value:function(e){var t=(e-this.dragSliderCurrentPosition)*this.player().duration(),n=this.startTime+t,r=this.endTime+t;n<=0||r>=this.player().duration()||(this.dragSliderCurrentPosition=e,this.setStartTime(n),this.setEndTime(r))}},{key:"getPosition",value:function(e){return y.Z.dom.getPointerPosition(this.el_.parentNode,e).x}},{key:"setStartOffset",value:function(){this.el_.style.marginLeft="".concat(this.getPercentage(this.startTime),"%")}},{key:"setWidth",value:function(){this.el_.style.width="".concat(this.getPercentage(this.endTime-this.startTime),"%")}},{key:"getPercentage",value:function(e){return+(e/this.player().duration()*100).toFixed(4)}}],n&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(){return x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=N(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},x.apply(this,arguments)}function N(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=L(e)););return e}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(e,t)}function I(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(r);if(i){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).seekBar_=t.seekBar,n.playProgressBar_=t.playProgressBar,n.bindListeners(),n.player_.one("dispose",(function(){n.unbindListeners()})),n}return t=a,(n=[{key:"createEl",value:function(e,t,n){return x(L(a.prototype),"createEl",this).call(this,e,Object.assign(Object.assign({},t),{className:"cv-create-clip-progress-indicator"}),n)}},{key:"bindListeners",value:function(){this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown)}},{key:"unbindListeners",value:function(){var e=this.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp)}},{key:"handleMouseDown",value:function(e){if(y.Z.dom.isSingleLeftClick(e)){e.stopPropagation(),"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||y.Z.browser.IS_CHROME||e.preventDefault(),this.player_.scrubbing(!0),this.videoWasPlaying_=!this.player_.paused(),this.player_.pause(),y.Z.dom.blockTextSelection();var t=this.el_.ownerDocument;this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e),this.player_.addClass("cv-hide-mouse-time")}}},{key:"handleMouseMove",value:function(e){if(y.Z.dom.isSingleLeftClick(e)){var t=y.Z.dom.getPointerPosition(this.seekBar_.el_,e).x*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t),this.playProgressBar_.update()}}},{key:"handleMouseUp",value:function(e){y.Z.dom.unblockTextSelection();var t=this.el_.ownerDocument;this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),null==e||e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying_&&this.player_.play(),this.seekBar_.update(),this.player_.removeClass("cv-hide-mouse-time")}}])&&B(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function K(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}y.Z.registerComponent("CreateClipProgressIndicator",F);var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=V(r);if(i){var n=V(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return K(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).addClass("cv-create-clip-seek-bar"),n}return t=a,(n=[{key:"initialize",value:function(e){var t=new R(this.player(),e);this.addChild(t);var n=this.getChild("playProgressBar"),r=new F(this.player_,{seekBar:this,playProgressBar:n});n.addChild(r)}}])&&Z(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("SeekBar"));function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(){return Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Y(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Q.apply(this,arguments)}function Y(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=X(e)););return e}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function q(e,t){if(t&&("object"===z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return J(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},X(e)}W.prototype.options_={children:["playProgressBar"],barName:"playProgressBar"},y.Z.browser.IS_IOS||y.Z.browser.IS_ANDROID||W.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),y.Z.registerComponent("CreateClipSeekBar",W);var ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=X(r);if(i){var n=X(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return q(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).options=t,n.initCreateClipSeekBar=n.initCreateClipSeekBar.bind(J(n)),n.player.one("loadedmetadata",(function(){return n.player.ready(n.initCreateClipSeekBar)})),n}return t=a,(n=[{key:"initCreateClipSeekBar",value:function(){var e,t=null===(e=this.player.controlBar.getChild("ProgressControl"))||void 0===e?void 0:e.getChild("SeekBar");if(t){var n=!isNaN(this.options.startTime)&&this.options.startTime>=0?this.options.startTime:0,r=!isNaN(this.options.endTime)&&this.options.endTime<=this.player.duration()?this.options.endTime:this.player.duration(),i=Math.min(this.options.minDuration||5,this.player.duration());t.initialize({startTime:n,endTime:r,minDuration:i,onChangeStartTime:this.options.onChangeStartTime,onChangeEndTime:this.options.onChangeEndTime})}}},{key:"dispose",value:function(){this.player.off("loadedmetadata",this.initCreateClipSeekBar),Q(X(a.prototype),"dispose",this).call(this)}}])&&G(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getPlugin("plugin"));function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function re(){return re="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=ie(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},re.apply(this,arguments)}function ie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ce(e)););return e}function oe(e,t){return oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oe(e,t)}function ae(e,t){if(t&&("object"===te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ce(e){return ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ce(e)}y.Z.registerPlugin("createClipPlugin",ee);var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oe(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ce(r);if(i){var n=ce(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ae(this,e)});function a(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,e,Object.assign(Object.assign({},t),{playbackRates:null,enableLocalCache:!1}))}return t=a,(n=[{key:"getPlayerClassName",value:function(){return"cv-create-clip-player"}},{key:"configurePlugins",value:function(){var e=this.options,t=e.startTime,n=e.endTime,r=e.minDuration,i=e.onChangeStartTime,o=e.onChangeEndTime;this.player.createClipPlugin({startTime:t,endTime:n,minDuration:r,onChangeStartTime:i,onChangeEndTime:o})}},{key:"getPlayerOptions",value:function(){var e=re(ce(a.prototype),"getPlayerOptions",this).call(this);return e.inactivityTimeout=0,e}},{key:"getSeekBarName",value:function(){return"CreateClipSeekBar"}},{key:"getAnalyticsPlayerType",value:function(){return"create-clip-player"}}])&&ne(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(d.r);function le(e){var t=e.onReady,n=e.onDispose,r=i().useRef(),o=i().useRef();return i().useEffect((function(){var i;if(null===(i=o.current)||void 0===i||i.dispose(),r)return o.current=new ue(r.current,e),t&&o.current.ready((function(){t(o.current)})),n&&o.current.one("dispose",n),function(){var e;null===(e=o.current)||void 0===e||e.dispose()}}),[e.viewKey]),i().useEffect((function(){var t;null===(t=o.current)||void 0===t||t.trigger({type:"update:clip:start:time",time:e.startTime})}),[e.startTime]),i().useEffect((function(){var t;null===(t=o.current)||void 0===t||t.trigger({type:"update:clip:end:time",time:e.endTime})}),[e.endTime]),i().createElement("div",{ref:r})}var se=n(86702),fe=n(93264),pe=n(83345),de=n(95047);const ye="lFyGP";function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?me(e,t):void 0}}(e,t)||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 me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ve=/[^0-9]/g,be=/^0+/,ge=":";function Te(e){var t=function(e){var t=function(e){return fe.T.ToDisplayDuration(1e3*e)},n=he(r.useState(t(e.value)),2),i=n[0],o=n[1];return r.useEffect((function(){o(t(e.value))}),[e.value]),[i,o]}(e),n=he(t,2),i=n[0],o=n[1];function a(){var t=de.k.convertDurationToSeconds(i)+1;e.setTime(t)}function c(){var t=de.k.convertDurationToSeconds(i)-1;t<0||e.setTime(t)}return r.createElement("div",{className:"position-relative ".concat("xvpu6")},r.createElement("input",{className:"form-control form-control".concat("md"===e.formSize?"-md":"-lg"," ").concat(e.hasError?"is-invalid":""," text-center ").concat("vW_eV"),value:i,onChange:function(t){if(e.allowKeyboardInput){var n=function(e){var t=e.trim().replace(ve,"").replace(be,"").slice(0,6);if(!t)return"00:00";for(var n=t.split(""),r=[],i=n.length-1;i>=0;i--){var o=r.indexOf(ge);(-1===o&&2===r.length||2===o)&&r.unshift(ge),r.unshift(n[i])}return 1!==r.length&&1!==r.indexOf(ge)||r.unshift("0"),2===r.length&&r.unshift("00",ge),r.join("")}(t.target.value);n&&o(n)}},onBlur:function(){e.allowKeyboardInput&&e.setTime(de.k.convertDurationToSeconds(i))},onKeyDown:function(e){38===e.keyCode&&a(),40===e.keyCode&&c()}}),r.createElement("div",{className:"A8cSJ"},r.createElement("div",{className:ye,onClick:a},r.createElement("div",{className:"_zBG5"})),r.createElement("div",{className:ye,onClick:c},r.createElement("div",{className:"kuLky"}))))}Te.defaultProps={allowKeyboardInput:!0,size:"lg"};var Oe="shared.clipTimeForm",we=u.T.encloseNamespace(Oe);function Se(e){if(isNaN(e.startTime)||isNaN(e.endTime))return r.createElement(r.Fragment,null);var t=Math.floor(e.endTime)-Math.floor(e.startTime);return r.createElement("div",{className:"px-3"},r.createElement("form",{className:"form-inline justify-content-center pb-4"},r.createElement("div",{className:"form-group"},r.createElement(Te,{value:e.startTime,setTime:e.setStartTime})),r.createElement("span",{className:"px-2"},"-"),r.createElement("div",{className:"form-group mr-2"},r.createElement(Te,{value:e.endTime,setTime:e.setEndTime})),r.createElement("span",null,r.createElement("strong",null,r.createElement(pe.x,{namespace:Oe,phrase:"duration"}))," ",fe.T.ToDisplayDuration(1e3*t))),r.createElement("div",{className:"d-flex justify-content-end"},r.createElement("button",{className:"btn btn-link",onClick:e.onCancel},we("cancel")),r.createElement("button",{className:"btn btn-dark",onClick:e.onSubmit},we("next"))))}var Pe=n(97291),Ee=n(14070),Ce=n(43012),ke=n(1575),_e=n(89476),je=n(60051),De=n(28400);function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ae(e,t):void 0}}(e,t)||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 Ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Be="edit-clip-timepoints",xe="shared.editClipTimepoints",Ne=u.T.encloseNamespace(xe);function Me(e){var t,n,i,d,y=Re((0,a.D)(se.y.WEB_PLAYER_DATA),2),h=y[0],m=y[1],v=r.useRef(),b=e.startTime||(null===(t=null==h?void 0:h.playerRef)||void 0===t?void 0:t.currentTime())||0,g=Re(r.useState(b),2),T=g[0],O=g[1],w=Re(r.useState(b+30),2),S=w[0],P=w[1],E=o.a.useBasicFetch(f.L.config()),C=o.a.useBasicFetch(!!e.id&&Ce.e.clip(e.id)),k=(null===(i=null===(n=C.data)||void 0===n?void 0:n.video)||void 0===i?void 0:i.id)||e.videoId,_=o.a.useBasicFetch(!!k&&s.k.createViewKey(k,je.f.MasterObject)),j=o.a.useBasicFetch(!!k&&ke.R.video(k)),D=(0,_e.f)();return(0,l.o)(e.id?null===(d=C.data)||void 0===d?void 0:d.name:Ne("pageTitle")),r.useEffect((function(){m("allowFloatingPlayer",!1),D.lock({id:Be,title:u.T.getPhrase(xe,"navLockTitle"),text:u.T.getPhrase(xe,"navLockBody")})}),[]),r.useEffect((function(){C.data&&(O(C.data.startTime),P(C.data.endTime))}),[C.data]),e.id||e.videoId?r.createElement("div",{className:"px-3"},!!E.data&&!!_.data&&!!j.data&&(!e.id||!!C.data)&&r.createElement("div",{className:"pb-3"},r.createElement("div",{className:"mb-3"},r.createElement(le,{onReady:function(e){v.current=e},playerApi:new URL(E.data.playerApiUrl),viewKey:_.data.viewKey,startTime:T,endTime:S,onChangeStartTime:O,onChangeEndTime:P,minDuration:5,autoplay:!0})),r.createElement(Se,{startTime:T,endTime:S,setStartTime:O,setEndTime:P,onSubmit:function(){var t="";T>S&&(t=Ne("startTimeGreaterThanEndTime")),S-T<5&&(t=Ne("tooShort",{minDuration:5})),t?function(e){p.M.render(r.createElement("p",null,e),{title:Ne("errorHeading"),buttons:[{variant:"link",buttonText:Ne("close")}]})}(t):(D.unlock(Be),c.Q.AppLinkHelper.trigger({application:Pe.O.DEFAULT,action:e.id?Ee.e.Default.EDIT_CLIP_DETAILS:Ee.e.Default.CREATE_CLIP_DETAILS,args:e.id?[e.id]:[e.videoId],params:{startTime:T,endTime:S}}))},onCancel:function(){var e,t;v.current&&m("startTime",v.current.currentTime()),c.Q.AppLinkHelper.trigger({application:Pe.O.DEFAULT,action:Ee.e.Default.PLAY_VIDEO,args:[null===(e=j.data)||void 0===e?void 0:e.id,De.m.slugify(null===(t=j.data)||void 0===t?void 0:t.name)]})}}))):r.createElement(r.Fragment,null)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9798],{19798:(e,t,r)=>{r.r(t),r.d(t,{BulkActionSummaryView:()=>h});var o=r(1024),a=r.n(o),n=r(20354),c=r(23481),s=r(9111),u=r(110),l=r(76881),i=r(69883),p=r(13876),m=r(83345),y=r(93278);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var d="userManager.bulkActionSummary";function g(e){var t,r,o=(t=a().useState(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,a,n=[],c=!0,s=!1;try{for(r=r.call(e);!(c=(o=r.next()).done)&&(n.push(o.value),!t||n.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{c||null==r.return||r.return()}finally{if(s)throw a}}return n}}(t,r)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(t,r)||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.")}()),n=o[0],s=o[1],g=(0,i.Z)(),f=y.b.mapDataTypeToUserType(e.job.dataType);return a().createElement(m.D.Provider,{value:d},a().createElement("p",null,a().createElement(m.x,{phrase:f===l.Y.Learner?"detailsStudent":"detailsStaff",options:{name:e.job.submitterName,actionName:y.b.mapJobTypeToName(e.job.type),date:u.O.format(e.job.dateCreated,"Do MMMM YYYY"),smartCount:e.summary.totalProcessed}})),a().createElement("p",{className:"font-weight-bold"},a().createElement(m.x,{phrase:"summary"})),a().createElement("div",{className:"".concat("e6MNo"," rounded-lg p-3 mb-3")},a().createElement("p",{className:"mb-1"},a().createElement(m.x,{phrase:"totalProcessed",options:{count:e.summary.totalProcessed}})),a().createElement("p",{className:"mb-1"},a().createElement(m.x,{phrase:"totalSucceeded",options:{count:e.summary.totalSucceeded}})),a().createElement("p",{className:"mb-1"},a().createElement(m.x,{phrase:"totalErrored",options:{count:e.summary.totalErrored}})),a().createElement("p",{className:"mb-0"},a().createElement(m.x,{phrase:"totalNoAction",options:{count:e.summary.totalNoAction}}))),a().createElement(p.u,{buttons:[{buttonText:c.T.getPhrase(d,"close"),variant:"link",onClick:e.closePopup},{buttonText:c.T.getPhrase(d,"exportLog"),variant:"dark",onClick:function(){s(!0),e.onClickExportLog().then((function(){return g.success(c.T.getPhrase(d,"exportSuccess"))})).catch((function(){return g.error(c.T.getPhrase(d,"exportError"))})).finally((function(){return s(!1)}))},isSpinnerButton:!0,showSpinner:n}]}))}var f=r(29613);function h(e){var t=n.a.useBasicFetch(f.q.getJob(e.id)),r=n.a.useBasicFetch(f.q.getJobSummary(e.id)),o=n.a.useGetFetchAsync(),u=!!t.data&&!!r.data;return a().createElement(s.G,{title:c.T.getPhrase("userManager.bulkActionSummaryView","title"),closePopup:e.closePopup,showLoadingSpinner:!u},u&&a().createElement(g,{job:t.data,summary:r.data,onClickExportLog:function(){return o(f.q.sendJobReports([e.id]))},closePopup:e.closePopup}))}},29613:(e,t,r)=>{r.d(t,{q:()=>n});var o=r(99940),a=r(97395),n={createJob:function(e,t,r){return{url:"{gateway}/v1/batch/jobs",key:"create:job",type:o.k.POST,data:e,success:t,error:r}},getJobs:function(e){var t={},r=[],o=[];return e.cursor&&(t.cursor=e.cursor),e.sort&&("oldest"===e.sort?t.order="ASC":t.order="DESC"),e.bulkActionType&&(r=Array.isArray(e.bulkActionType)?e.bulkActionType:[e.bulkActionType],t.type=r),e.userType&&(o=Array.isArray(e.userType)?e.userType:[e.userType],t.dataType=o),{url:a._.urlBuilder("{gateway}/v1/batch/jobs",t),key:"batch:jobs:".concat(e.cursor,":").concat(e.sort,":").concat(r.sort().join(":"),":").concat(o.sort().join(":"))}},getJob:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e),key:"job:".concat(e)}},getJobProgress:function(e,t,r){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/progress"),key:"job:".concat(e,":progress"),invalidationKeys:"job:".concat(e,":progress"),success:t,error:r}},getJobResults:function(e,t,r,o,n){var c={status:t};return r&&(c.cursor=r),{url:a._.urlBuilder("{gateway}/v1/batch/jobs/".concat(e,"/results"),c),key:"job:".concat(e,":results:").concat(t,":").concat(r),success:o,error:n}},getYearGroupRolloverStatus:function(e){return{url:"{gateway}/v1/batch/validations/customers/".concat(e,"/year-group-roll-over"),key:"year:group:rollover:status"}},sendJobReports:function(e){return{url:"{gateway}/v1/batch/results/export",key:"send:job:reports:".concat(e.sort().join(":")),type:o.k.POST,data:{jobIds:e}}},getJobSummary:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/summary"),key:"job:summary:".concat(e)}}}}}]);
|