@clickview/library-editor 1.43.0-rc.1 → 1.43.0-rc.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/package.json +1 -1
- package/dist/bundles.json +0 -5
- package/dist/css/101-library-editor-5af6f4e937.chunk.css +0 -2
- package/dist/css/1086-library-editor-076ef8e022.chunk.css +0 -4
- package/dist/css/112-library-editor-f77f4c1797.chunk.css +0 -16
- package/dist/css/1409-library-editor-bc215e1152.chunk.css +0 -1
- package/dist/css/1601-library-editor-6b7ab30a3e.chunk.css +0 -4
- package/dist/css/1703-library-editor-22d3cf78a3.chunk.css +0 -6
- package/dist/css/1832-library-editor-e123877850.chunk.css +0 -1
- package/dist/css/1876-library-editor-22d3cf78a3.chunk.css +0 -6
- package/dist/css/2417-library-editor-1142af5a96.chunk.css +0 -7
- package/dist/css/243-library-editor-decee8d957.chunk.css +0 -2
- package/dist/css/2482-library-editor-9683109615.chunk.css +0 -20
- package/dist/css/2601-library-editor-0db14cf497.chunk.css +0 -14
- package/dist/css/2644-library-editor-94bb070288.chunk.css +0 -13
- package/dist/css/2692-library-editor-076ef8e022.chunk.css +0 -4
- package/dist/css/3087-library-editor-32398cd1ad.chunk.css +0 -4
- package/dist/css/343-library-editor-c4402b71ea.chunk.css +0 -24
- package/dist/css/3551-library-editor-875234ea74.chunk.css +0 -24
- package/dist/css/3578-library-editor-01b4461ff1.chunk.css +0 -10
- package/dist/css/3746-library-editor-d4c68a200b.chunk.css +0 -1
- package/dist/css/376-library-editor-6d718e6fc5.chunk.css +0 -8
- package/dist/css/3778-library-editor-30b6f4a9e6.chunk.css +0 -12
- package/dist/css/3969-library-editor-30997910e2.chunk.css +0 -2
- package/dist/css/435-library-editor-1bf620364f.chunk.css +0 -76
- package/dist/css/4523-library-editor-c52f3ffbb0.chunk.css +0 -2
- package/dist/css/4860-library-editor-f5eddb2400.chunk.css +0 -1
- package/dist/css/5046-library-editor-d255e3d3d5.chunk.css +0 -15
- package/dist/css/514-library-editor-4cb4f22674.chunk.css +0 -1
- package/dist/css/5424-library-editor-cbb9c55dc8.chunk.css +0 -5
- package/dist/css/5524-library-editor-36f0a42508.chunk.css +0 -11
- package/dist/css/5747-library-editor-de4ea80bfc.chunk.css +0 -1
- package/dist/css/5891-library-editor-d4c68a200b.chunk.css +0 -1
- package/dist/css/6093-library-editor-446ee2e049.chunk.css +0 -1
- package/dist/css/61-library-editor-af56e745db.chunk.css +0 -47
- package/dist/css/6352-library-editor-a033138bd8.chunk.css +0 -19
- package/dist/css/6732-library-editor-6233ce01e9.chunk.css +0 -6
- package/dist/css/6963-library-editor-d4c68a200b.chunk.css +0 -1
- package/dist/css/7053-library-editor-cbe896c46a.chunk.css +0 -1
- package/dist/css/708-library-editor-ce48b52d72.chunk.css +0 -7
- package/dist/css/7265-library-editor-8cd863992c.chunk.css +0 -18
- package/dist/css/7295-library-editor-a539c72655.chunk.css +0 -9
- package/dist/css/7408-library-editor-58e2f5e100.chunk.css +0 -4
- package/dist/css/8762-library-editor-076ef8e022.chunk.css +0 -4
- package/dist/css/8906-library-editor-076ef8e022.chunk.css +0 -4
- package/dist/css/9383-library-editor-454e5b7acb.chunk.css +0 -16
- package/dist/css/9695-library-editor-c5004a1fec.chunk.css +0 -1
- package/dist/css/9927-library-editor-a11669ad9d.chunk.css +0 -1
- package/dist/css/library-editor-app-e458f6f722.css +0 -62
- package/dist/languages/en.json +0 -1
- package/dist/scripts/101-135f13a4bb.chunk.js +0 -1
- package/dist/scripts/1010-15bfd0e2e2.chunk.js +0 -1
- package/dist/scripts/1086-18354eee73.chunk.js +0 -1
- package/dist/scripts/112-6a9fb5a3b4.chunk.js +0 -1
- package/dist/scripts/1216-3a338cf937.chunk.js +0 -1
- package/dist/scripts/1269-ebb70ecc87.chunk.js +0 -1
- package/dist/scripts/1409-3266733722.chunk.js +0 -1
- package/dist/scripts/1601-a7df278c88.chunk.js +0 -2
- package/dist/scripts/1601-a7df278c88.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/1703-9bf208d1af.chunk.js +0 -1
- package/dist/scripts/1832-819b1ccc4a.chunk.js +0 -1
- package/dist/scripts/1876-8a58bcc17f.chunk.js +0 -1
- package/dist/scripts/1934-cf53d84778.chunk.js +0 -2
- package/dist/scripts/1934-cf53d84778.chunk.js.LICENSE.txt +0 -9
- package/dist/scripts/2417-38a64e3d12.chunk.js +0 -1
- package/dist/scripts/243-c7d2f16d38.chunk.js +0 -1
- package/dist/scripts/2482-2e771aa32e.chunk.js +0 -1
- package/dist/scripts/259-a9b4038b9f.chunk.js +0 -1
- package/dist/scripts/2601-19bbaf1796.chunk.js +0 -1
- package/dist/scripts/2644-e902b701ab.chunk.js +0 -1
- package/dist/scripts/2648-10e901bc4c.chunk.js +0 -1
- package/dist/scripts/2692-72f0ddadb4.chunk.js +0 -1
- package/dist/scripts/2802-600d2b3485.chunk.js +0 -2
- package/dist/scripts/2802-600d2b3485.chunk.js.LICENSE.txt +0 -8
- package/dist/scripts/2803-d7f348b7f5.chunk.js +0 -1
- package/dist/scripts/2888-808acc2fef.chunk.js +0 -1
- package/dist/scripts/299-b7a814c887.chunk.js +0 -1
- package/dist/scripts/2998-a78cff549d.chunk.js +0 -1
- package/dist/scripts/3087-5568b6f0d8.chunk.js +0 -1
- package/dist/scripts/3400-2e845c4564.chunk.js +0 -1
- package/dist/scripts/343-a0c8fb4f28.chunk.js +0 -1
- package/dist/scripts/35-d8f006c39a.chunk.js +0 -1
- package/dist/scripts/3551-ccced9a938.chunk.js +0 -1
- package/dist/scripts/3578-b433c51a47.chunk.js +0 -2
- package/dist/scripts/3578-b433c51a47.chunk.js.LICENSE.txt +0 -50
- package/dist/scripts/3639-bf6b264ec9.chunk.js +0 -1
- package/dist/scripts/3746-53839c7d1b.chunk.js +0 -1
- package/dist/scripts/376-843259f6ce.chunk.js +0 -1
- package/dist/scripts/3763-408ce1508a.chunk.js +0 -1
- package/dist/scripts/3778-95c9be3a02.chunk.js +0 -1
- package/dist/scripts/3969-92dd3b164a.chunk.js +0 -1
- package/dist/scripts/4201-30387c4a99.chunk.js +0 -1
- package/dist/scripts/4245-d60147b7d2.chunk.js +0 -1
- package/dist/scripts/435-72cf20b42f.chunk.js +0 -2
- package/dist/scripts/435-72cf20b42f.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/4523-7349b5ef69.chunk.js +0 -1
- package/dist/scripts/4591-e149bc74c4.chunk.js +0 -1
- package/dist/scripts/4860-0d9f4a4d0b.chunk.js +0 -1
- package/dist/scripts/5046-6c4ba66b08.chunk.js +0 -1
- package/dist/scripts/514-c6a928c7c4.chunk.js +0 -1
- package/dist/scripts/5173-1b1806ceaa.chunk.js +0 -1
- package/dist/scripts/5286-6642fe4afa.chunk.js +0 -1
- package/dist/scripts/5412-c8877fa040.chunk.js +0 -1
- package/dist/scripts/5418-c3e6433e3e.chunk.js +0 -1
- package/dist/scripts/5424-66a285070b.chunk.js +0 -1
- package/dist/scripts/546-5322ba9438.chunk.js +0 -1
- package/dist/scripts/5524-e3ae3829ab.chunk.js +0 -1
- package/dist/scripts/5707-5afc9794d4.chunk.js +0 -1
- package/dist/scripts/5747-b29b11ef8c.chunk.js +0 -1
- package/dist/scripts/5891-a9a5452269.chunk.js +0 -1
- package/dist/scripts/6093-defd3e7edf.chunk.js +0 -1
- package/dist/scripts/61-7ac06b86f9.chunk.js +0 -2
- package/dist/scripts/61-7ac06b86f9.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/6352-b25f71e62c.chunk.js +0 -1
- package/dist/scripts/6427-9dd141a8c6.chunk.js +0 -1
- package/dist/scripts/6532-ffb2f40362.chunk.js +0 -2
- package/dist/scripts/6532-ffb2f40362.chunk.js.LICENSE.txt +0 -13
- package/dist/scripts/6721-e479e42307.chunk.js +0 -1
- package/dist/scripts/6732-33c1578a4a.chunk.js +0 -1
- package/dist/scripts/6774-5ec2037d61.chunk.js +0 -1
- package/dist/scripts/6788-fabfcf71cf.chunk.js +0 -1
- package/dist/scripts/6963-b5f5962132.chunk.js +0 -1
- package/dist/scripts/7002-5f00527776.chunk.js +0 -1
- package/dist/scripts/7053-811d21804f.chunk.js +0 -1
- package/dist/scripts/7071-c547b68bba.chunk.js +0 -1
- package/dist/scripts/708-b92e9adddd.chunk.js +0 -1
- package/dist/scripts/7190-62556429f8.chunk.js +0 -1
- package/dist/scripts/7265-471f7cafa6.chunk.js +0 -1
- package/dist/scripts/7295-bdea5df4cc.chunk.js +0 -1
- package/dist/scripts/7376-2a91178587.chunk.js +0 -1
- package/dist/scripts/7408-78e0102457.chunk.js +0 -1
- package/dist/scripts/8113-133ecdfe0c.chunk.js +0 -1
- package/dist/scripts/8213-400f1712b3.chunk.js +0 -1
- package/dist/scripts/8362-b11e7dbcbd.chunk.js +0 -1
- package/dist/scripts/8542-48fd3a46e3.chunk.js +0 -1
- package/dist/scripts/8726-8f24d59af7.chunk.js +0 -1
- package/dist/scripts/8727-7cfc7188db.chunk.js +0 -1
- package/dist/scripts/8762-ded7396830.chunk.js +0 -1
- package/dist/scripts/8906-327640bf39.chunk.js +0 -1
- package/dist/scripts/9357-35c3761c84.chunk.js +0 -1
- package/dist/scripts/9383-c630c62e24.chunk.js +0 -1
- package/dist/scripts/9695-0cf4f10b51.chunk.js +0 -1
- package/dist/scripts/9770-f9c6709b6e.chunk.js +0 -1
- package/dist/scripts/9927-8e56991c93.chunk.js +0 -1
- package/dist/scripts/bundle-e0a102cb5a.min.js +0 -2
- package/dist/scripts/bundle-e0a102cb5a.min.js.LICENSE.txt +0 -1
- package/dist/scripts/polyfills-a15c0386f5.min.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[4523],{54096:function(e,r,t){t.d(r,{G:function(){return i}});var a=t(1024),n=t(21679);function i(e){var r,t;return r=e,t=n.u.getInstance(r),a.useEffect((function(){return function(){n.u.releaseInstance(r)}})),t}},58424:function(e,r,t){t.d(r,{L:function(){return i}});var a=t(1024),n=t.n(a),i=n().forwardRef((function(e,r){function t(){if(!e.disabled&&e.onClick)return e.onClick.apply(e,arguments)}return n().createElement("div",Object.assign({},e,{ref:r,role:"button",tabIndex:0,className:"".concat(e.className?e.className:""," ").concat(e.disabled?"":"cursor-pointer"),onKeyDown:e.onKeyDown?e.onKeyDown:function(e){return"Enter"===e.key&&t(e)},onClick:t,style:e.style?e.style:{}}),e.children)}))},84611:function(e,r,t){t.d(r,{f:function(){return o}});var a=t(1024),n=t.n(a),i=t(39396),c={circle:"Uxnsl",img:"BQ87Y"};function o(e){var r;return e.imageUrl||e.svgName?e.imageUrl?n().createElement("div",{className:"".concat(c.img," rounded-circle h-100 w-100"),style:{backgroundImage:"url(".concat(e.imageUrl,")")}}," "):n().createElement("div",{className:"".concat(c.circle," ").concat(e.variant?"bg-".concat(e.variant):""," text-").concat(e.textVariant," rounded-circle h-100 w-100 ").concat(null!==(r=e.svgWrapperClassName)&&void 0!==r?r:"")},n().createElement(i.x,{svgName:e.svgName,size:e.svgSize})):n().createElement(n().Fragment,null)}o.defaultProps={textVariant:"white"}},66703:function(e,r,t){t.d(r,{D:function(){return c},x:function(){return o}});var a=t(1024),n=t(57857),i=t(85887),c=a.createContext(""),o=a.memo((function(e){var r=e.phrase,t=e.namespace,i=e.options,o=a.useContext(c),s=t||o,l=Object.assign({escapeText:!0},i),u=n.T.getPhrase(s,r,l);return a.createElement("span",{dangerouslySetInnerHTML:{__html:u}})}),(function(e,r){return e.namespace===r.namespace&&e.phrase===r.phrase&&i.t.isEqual(e.options,r.options)}))},9063:function(e,r,t){t.d(r,{Z:function(){return s}});var a=t(1024),n=t.n(a),i=t(58424),c=t(63946),o={dark:"custom-toggle-dark"};function s(e){var r;function t(){e.disabled||e.onClick.apply(e,arguments)}var a=e.disabled?"disabled":"",s=e.hideOutline?"outline-none":"",l=null!==(r=o[e.variant])&&void 0!==r?r:"",u=e.on?"on":"";e.disabled&&!e.showStateWhenDisabled&&(u="");var d="".concat("d-inline-block float-end align-top custom-toggle toggle-option"," ").concat(l," ").concat(u," ").concat(a," ").concat(s);return e.tooltipText?n().createElement(c.u,{title:e.tooltipText,spanHack:!0},n().createElement(i.L,{onClick:t,className:d},n().createElement("span",{className:"handle"}))):n().createElement(i.L,{onClick:t,className:d},n().createElement("span",{className:"handle"}))}},90547:function(e,r,t){var a;t.d(r,{r:function(){return a}}),function(e){e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)",e.LGDown="(max-width: 992px)",e.XLDown="(max-width: 1200px)"}(a||(a={}))},34107:function(e,r,t){t.d(r,{D:function(){return o}});var a=t(2248),n=t(68003),i=t(40221),c=t(84657),o={domainLibraries:function(e,r,t,a){return{url:n._.urlBuilder("/api/domain/v2/me/libraries",{type:e,maxCategoryDepth:0}),key:"libraries:".concat(e.sort().join(":")),formatData:function(e){return e.map((function(e){return e.data}))},success:r,error:t,always:a}},libraryRequestLibraries:function(){return{url:"{gateway}/v1/library-requests/libraries",key:"libraries"}},librariesWithCategories:function(){return{url:n._.urlBuilder("/api/domain/v2/me/libraries",{type:["sharedLibrary","customLibrary","unpublishedCustomLibrary"],maxCategoryDepth:5}),key:"libraries:with:categories",normalize:!1}},librariesWithOwnerLogos:function(e,r,t,a){return e.sort(),{url:n._.urlBuilder("/api/domain/v2/objects",{query:c.v.LIBRARY_COLLECTION,id:e}),key:"libraries:owner:logo:".concat(e.join(",")),success:r,error:t,always:a}},library:function(e,r,t,a){return{url:n._.urlBuilder("{gateway}/v1/objects/".concat(e),{query:c.v.LIBRARY}),key:"library:".concat(e),success:r,error:t,always:a}},exchange:function(e){return{url:n._.urlBuilder("{gateway}/v1/objects/".concat(e),{query:"categorytree"}),key:"exchange"}},streamableLearning:function(){return{url:"{gateway}/v1/streamable-learning-library",key:"streamable:learning"}},librarySubscribers:function(e,r){var t={};return r&&(t.cursor=r),{url:n._.urlBuilder("{gateway}/v1/library-requests/libraries/".concat(e,"/subscribers"),t),key:"library:subscribers:".concat(e,":").concat(r)}},libraryOwner:function(e){return{url:"{gateway}/v1/library-requests/libraries/".concat(e,"/subscribers?ownerOnly=true"),key:"library:owner:".concat(e),formatData:function(e){return i.m.first(e.data)}}},updateSubscriberPermissions:function(e,r,t,n,i){return{url:"{gateway}/v1/libraries/".concat(e,"/library-request-permissions"),key:"update:subscriber:permissions:".concat(e,":").concat(r),type:a.k.PUT,data:{customerId:r,granted:t},invalidationKeys:["library:owner:".concat(e),"library:subscribers:".concat(e)],success:n,error:i}},removeSubscriber:function(e,r,t,n){return{url:"{gateway}/v1/objects/".concat(e,"/subscribedcustomers?memberId=").concat(r),key:"revoke:subscription:".concat(e,":").concat(r),type:a.k.DELETE,invalidationKeys:["library:subscribers:".concat(e)],success:t,error:n}},folder:function(e,r,t,a){return{url:"{gateway}/v1/objects/".concat(e,"?query=banner,libraries"),key:"library:folder:".concat(e),success:r,error:t,always:a}},folderParentTree:function(e,r,t,a){return{url:"/api/domain/v2/categories/".concat(e,"/parent-tree?includeAll=false"),key:"folder:parent:tree".concat(e),success:r,error:t,always:a}},childFolders:function(e,r,t,a,n){var i="{gateway}/v1/objects/".concat(e,"/categories?query={limit:100}thumbnail"),c="child:folders:".concat(e);return r&&(i+="&cursor=".concat(r),c+=":".concat(r)),{url:i,key:c,formatData:function(e){var r=e.data.sort((function(e,r){return e.name.toLowerCase().localeCompare(r.name.toLowerCase())}));return Object.assign(Object.assign({},e),{data:r})},success:t,error:a,always:n}},addToLibrary:function(e,r){var t=["folder","videos",e.metadata.destinationCategoryId,r].filter((function(e){return!!e})).join(":");return{url:"{gateway}/v1/library-requests",key:"add:".concat(e.objectId,":to:").concat(e.destinationLibraryId,":").concat(e.metadata.destinationCategoryId),type:a.k.POST,data:e,invalidationKeys:t}},libraries:function(){return{url:"{gateway}/v1/users/me/libraries",key:"objects:libraries"}}}},2491:function(e,r,t){t.d(r,{Z:function(){return c}});var a=t(92159),n=t(21186),i=t(54096);function c(){var e=(0,i.G)(a.P.ALERT);return{success:function(r){e.success(r)()},error:function(r){e.error(r)()},warning:function(r){e.createAlert({type:n.NK.Warning,heading:n.R6.Warning,message:r})}}}},52814:function(e,r,t){t.d(r,{y:function(){return i}});var a=t(1024),n=t.n(a);function i(){return n().createElement("div",{className:"partial-loading-background w-100 rounded-3",style:{height:"3.5rem"}}," ")}},4830:function(e,r,t){t.r(r),t.d(r,{LibraryRequestSettingsView:function(){return q}});var a=t(1024),n=t.n(a),i=t(57857),c=t(86120),o=t(89375),s=t(52076),l=t(70065),u=t(86242),d=t(99910),m=t(70868),b=t(49642),p=t(66703);function y(e,r,t){var a;if(!r)return null;var n=null!==(a=e.params)&&void 0!==a?a:{};return t?(null==n?void 0:n.previous)?{application:e.application,action:e.action,args:e.args,params:Object.assign(Object.assign({},n),{cursor:null==n?void 0:n.previous,previous:null})}:{application:e.application,action:e.action,args:e.args,params:Object.assign(Object.assign({},n),{cursor:null,previous:null})}:{application:e.application,action:e.action,args:e.args,params:Object.assign(Object.assign({},n),{cursor:r,previous:n.cursor})}}function v(e){var r=e.appLink,t=e.cursors,n=e.className,i=e.buttonVariant,c=e.prevHack,o=e.scrollTop,u=e.onClick;function v(e){r&&!o&&m.t.preventScrollTop(),s.k.logUserAction({page:e},{location:l.LZ.Pagination,entity:l.py.Pagination,actionType:l.Vw.Navigate}),u&&u(t[e])}return r?a.createElement(p.D.Provider,{value:"shared.pagination"},a.createElement("div",{className:n},a.createElement(b.F,{appLink:y(r,t.previous,c),className:"btn btn-".concat(i," me-1 ").concat(t.previous?"":"disabled"),onClick:function(){return v("previous")},style:{display:"inline-block"}},a.createElement(p.x,{phrase:"previous"})),a.createElement(b.F,{appLink:y(r,t.next),className:"btn btn-".concat(i," ").concat(t.next?"":"disabled"),onClick:function(){return v("next")},style:{display:"inline-block"}},a.createElement(p.x,{phrase:"next"})))):a.createElement(p.D.Provider,{value:"shared.pagination"},a.createElement("div",{className:n},a.createElement(d.Button,{variant:i,className:"me-1 ".concat(t.previous?"":"disabled"),onClick:function(){return v("previous")}},a.createElement(p.x,{phrase:"previous"})),a.createElement(d.Button,{variant:i,className:"btn ".concat(t.next?"":"disabled"),onClick:function(){return v("next")}},a.createElement(p.x,{phrase:"next"}))))}v.defaultProps={className:"py-2",buttonVariant:"secondary"};var g=t(34107),f=t(2491),h=t(30317),E=t(22430),w=t(50997),k=t(84611),L=t(9063),x=t(63791),I={libraryIcon:"iKsvQ",totalStaffAndAdmins:"ru_SO",revokeAccess:"BZF1Q",customerItem:"S_m9j"};function S(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}var R="libraryRequests.schoolLibraryRequestSettings";function N(e){var r,t,a,i,c=(a=n().useState(!!e.customer.libraryRequestEnabled),i=2,function(e){if(Array.isArray(e))return e}(a)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,n,i,c,o=[],s=!0,l=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;s=!1}else for(;!(s=(a=i.call(t)).done)&&(o.push(a.value),o.length!==r);s=!0);}catch(e){l=!0,n=e}finally{try{if(!s&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(l)throw n}}return o}}(a,i)||function(e,r){if(e){if("string"==typeof e)return S(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?S(e,r):void 0}}(a,i)||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.")}()),o=c[0],s=c[1];return n().createElement("div",{className:"p-2 border rounded-3 d-flex align-items-center mb-2 ".concat(e.isLibraryOwner?"":I.customerItem)},n().createElement("div",{className:"me-2 ".concat(I.libraryIcon)},n().createElement(k.f,{imageUrl:e.customer.logoUrl,svgName:x.vn.School,variant:"dark-blue"})),n().createElement("div",{className:"me-auto"},n().createElement("h3",{className:"h6 mb-0"},e.customer.customerName),n().createElement("p",{className:"".concat(I.totalStaffAndAdmins," mb-0 text-secondary")},n().createElement(p.x,{namespace:R,phrase:"totalStaffAndAdmins",options:{smartCount:(null!==(r=e.customer.staff)&&void 0!==r?r:0)+(null!==(t=e.customer.admin)&&void 0!==t?t:0)}})),n().createElement(b.F,{className:"".concat(I.revokeAccess," danger-link"),appLink:{application:w.OV.LIBRARY_REQUESTS,action:w.eX.LibraryRequests.REMOVE_LIBRARY_SUBSCRIBER,args:[e.libraryId,e.customer.customerId]},analyticsData:{id:e.libraryId,customerId:e.customer.customerId},analyticsOptions:{actionType:l.Vw.Dissociate,entity:l.py.Library,descriptor:l.iF.Customer,location:l.LZ.LibraryRequestSettings,workflowPhase:l.eu.Start}},n().createElement(p.x,{namespace:R,phrase:"removeAccess"}))),n().createElement(L.Z,{on:o,onClick:function(){s(!o),e.onToggle(e.customer.customerId,!o)}}))}var O=t(52814);function T(){return n().createElement("div",{className:"bg-white p-3"},n().createElement("div",{className:"mb-2 partial-loading-background",style:{width:"10rem",height:"1.8rem"}}),n().createElement(u.b2,null),n().createElement("hr",null),n().createElement("div",{className:"mb-1 partial-loading-background",style:{height:"1.5rem",width:"5.25rem"}}),n().createElement("div",{className:"mb-2 partial-loading-background",style:{height:"1.15rem",width:"24.5rem"}}),n().createElement(O.y,null))}var A="libraryRequests.libraryRequestSettings",C=i.T.encloseNamespace(A);function q(e){var r,t,a,i,d,m,b,y,k,L,x=c.a.useBasicFetch(g.D.domainLibraries(["customLibrary","unpublishedCustomLibrary"])),I=null===(r=x.data)||void 0===r?void 0:r.find((function(r){return r.id.toString()===e.libraryId.toString()})),S=c.a.useBasicFetch(g.D.libraryOwner(e.libraryId)),R=c.a.useBasicFetch(g.D.librarySubscribers(e.libraryId,e.cursor)),O=!!(null===(a=null===(t=R.data)||void 0===t?void 0:t.data)||void 0===a?void 0:a.length),q=c.a.useGetFetch(),_=(0,f.Z)();function j(r,t){var a=S.data.customerId===r?S.data:R.data.data.find((function(e){return e.customerId===r}));q(g.D.updateSubscriberPermissions(e.libraryId,r,t,(function(){var n=C(t?"enableLibraryRequestsSuccess":"disableLibraryRequestsSuccess",{school:a.customerName});_.success(n),s.k.logUserAction({id:e.libraryId,customerId:r,canAddContent:t},{actionType:l.Vw.SetAccess,entity:l.py.Library,descriptor:l.iF.Customer,location:l.LZ.LibraryRequestSettings})}),(function(e){return _.error(E.M.libraryApiError(e))})))}(0,h.v)(x),n().useEffect((function(){return o.j.setPageTitle(C("libraryRequestSettings"))}),[]);var D=[{name:C("libraryEditor"),appLink:{application:w.OV.LIBRARY_EDITOR,action:w.eX.LibraryEditor.HOME}},{name:C("libraryRequestSettings"),appLink:{application:w.OV.LIBRARY_REQUESTS,action:w.eX.LibraryRequests.LIBRARY_REQUEST_SETTINGS_LIBRARIES},active:(null===(i=x.data)||void 0===i?void 0:i.length)<=1}];return x.data&&(null===(d=x.data)||void 0===d?void 0:d.length)>1&&D.push({name:C("requestingTo",{name:I.name}),appLink:{application:w.OV.LIBRARY_EDITOR,action:w.eX.LibraryEditor.LIBRARY,args:[I.id]},active:!0}),x.data&&R.data?n().createElement("div",{className:"bg-white p-3"},n().createElement("h1",{className:"h3 mb-2"},O?n().createElement(p.x,{namespace:A,phrase:"requestingTo",options:{name:I.name}}):C("libraryRequestSettings")),n().createElement(u.Oo,{breadcrumbs:D}),n().createElement("hr",null),n().createElement("p",{className:"mb-3"},O?n().createElement(p.x,{namespace:A,phrase:"manageSubscribers"}):n().createElement(p.x,{namespace:A,phrase:"manageSchool"})),!(null===(b=null===(m=R.data.pagination)||void 0===m?void 0:m.cursors)||void 0===b?void 0:b.previous)&&n().createElement(n().Fragment,null,n().createElement("h2",{className:"h5 mb-1"},O?n().createElement(p.x,{namespace:A,phrase:"mySchool"}):I.name),!!S.data&&n().createElement(N,{libraryId:e.libraryId,customer:S.data,onToggle:j,isLibraryOwner:!0})),!!(null===(k=null===(y=R.data)||void 0===y?void 0:y.data)||void 0===k?void 0:k.length)&&n().createElement(n().Fragment,null,n().createElement("h2",{className:"h5 mb-1 mt-3"},n().createElement(p.x,{namespace:A,phrase:"subscribers"})),R.data.data.map((function(r){return n().createElement(N,{libraryId:e.libraryId,key:r.customerId,customer:r,onToggle:j})})),(null===(L=R.data.pagination)||void 0===L?void 0:L.cursors)&&n().createElement(v,{cursors:R.data.pagination.cursors,appLink:{application:w.OV.LIBRARY_REQUESTS,action:w.eX.LibraryRequests.LIBRARY_REQUEST_SETTINGS,args:[e.libraryId]},buttonVariant:"outline-dark",className:"text-end pt-2 pb-1"}))):n().createElement(T,null)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[4591],{87120:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(57857),i="libraryEditor.utils",o={name:[{required:!0,msg:function(){return r.T.getPhrase(i,"libraryNameRequired")}},{maxLength:255,msg:function(){return r.T.getPhrase(i,"libraryNameExceeds")}}]}},4591:function(e,t,n){"use strict";n.r(t),n.d(t,{RenameLibraryView:function(){return P}});var r=n(48088),i=n(21679),o=n(57857),a=n(99249),u=n(31647),l=n(52076),c=n(10101),s=n(88172),f=n(57098),y=n(24539),b=n(93569),p=n(87120),h=n(34690),m=n.n(h);function d(e){return d="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},d(e)}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,g(r.key),r)}}function g(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}function k(e,t,n){return t=O(t),function(e,t){if(t&&("object"===d(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)}(e,w()?Reflect.construct(t,n||[],O(e).constructor):t.apply(e,n))}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}var P=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),k(this,t,[e])}return 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&&S(e,t)}(t,e),n=t,(u=[{key:"initialize",value:function(){this.bindListeners(),this.libraryDataService=i.u.getInstance(f.Or.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(f.Vk.LIBRARY,"libraries:sync",this.render)}},{key:"name",get:function(){return"RenameLibraryView"}},{key:"lang",get:function(){return"libraryEditor.renameLibrary"}},{key:"title",get:function(){return o.T.getPhrase(this.lang,"title")}},{key:"template",get:function(){return m()}},{key:"channelName",get:function(){return b.N0.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.fS,modelValidation:p.Y},{behaviorClass:c.Bp},{behaviorClass:c.Yw,title:o.T.getPhrase(this.lang,"edit"),spinnerButtonOptions:{channelName:this.channelName,buttonText:o.T.getPhrase(this.lang,"save"),onClick:function(t){return e.onSubmit(t)}}}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.model.validate(),this.model.isValid()&&(r.Radio.channel(this.channelName).trigger(s.I3.ShowSpinner),this.saveLibrary(),this.logAction())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.model.get("name")};l.k.logUserAction(e,this.options.analyticsOptions)}},{key:"saveLibrary",value:function(){var e=this;this.libraryDataService.updateLibrary(this.model,(function(){e.triggerMethod("hide")}))}},{key:"onBeforeRender",value:function(){var e=this;return this.libraryDataService.getFolderFromLibraries(this.options.libraryId,(function(t){e.model||(e.model=a.r.get("library:".concat(e.options.libraryId),t.toJSON(),{ctor:y.Z}))})),!!this.model}}])&&v(n.prototype,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,u}(u.Q.G7)},34690:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){e.propertyIsEnumerable;var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression;return'<form>\n <div class="form-group">\n <label for="name" class="control-label">'+u((n.lang||t&&t.lang||a).call(o,"libraryName",{name:"lang",hash:{},data:i}))+'</label>\n <input name="name" id="name" type="text" class="form-control" placeholder="'+u((n.lang||t&&t.lang||a).call(o,"secondaryLibrary",{name:"lang",hash:{},data:i}))+'" autocomplete="off" autofocus/>\n <div class="form-feedback"></div>\n </div>\n</form>'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[4860],{44860:function(t,e,n){"use strict";n.r(e),n.d(e,{NotFoundView:function(){return m}});var r=n(31647),o=n(57098),i=n(74030),u=n.n(i),l={image:"dLQU1"};function a(t){return a="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},a(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function f(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==a(e)?e:e+""}function s(t,e,n){return e=y(e),function(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,p()?Reflect.construct(e,n||[],y(t).constructor):e.apply(t,n))}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function b(t,e){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},b(t,e)}var m=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,e,arguments)}return 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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&b(t,e)}(e,t),n=e,(r=[{key:"name",get:function(){return"NotFoundView"}},{key:"title",get:function(){return!1}},{key:"lang",get:function(){return"default.notFound"}},{key:"template",get:function(){return u()}},{key:"appLinks",get:function(){return{".applink-home":{application:o.OV.DEFAULT,action:o.eX.Default.HOME}}}},{key:"className",get:function(){return"bg-white p-5 text-center rounded"}},{key:"viewOptions",value:function(){return{styles:l,linkClasses:"applink-home info-link",imageUrl:o.Wn.Errors.NOT_FOUND}}}])&&c(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Q.G7)},74030:function(t,e,n){var r=n(32227);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,u=t.lambda,l=t.escapeExpression,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing;return'<img class="img-fluid '+l(u(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.image:i,e))+' pt-5 pb-3" src="'+l(u(null!=(i=null!=e?e.options:e)?i.imageUrl:i,e))+'" />\n<h2 class="h6 mt-3">'+l((n.lang||e&&e.lang||c).call(a,"pageNotFound",{name:"lang",hash:{},data:o}))+'</h4>\n<p class="pb-5">'+(null!=(i=(n.lang||e&&e.lang||c).call(a,"takeMeBack",{name:"lang",hash:{classNames:null!=(i=null!=e?e.options:e)?i.linkClasses:i},data:o}))?i:"")+"</p>"},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5046],{59054:function(t,e,n){"use strict";var o;n.d(e,{f:function(){return o}}),function(t){t.Share="share",t.MasterObject="masterobject"}(o||(o={}))},47022:function(t,e,n){"use strict";n.d(e,{Q:function(){return m}});var o=n(39479),r=n(31647),i=n(52076),a=n(70065),s=n(99186),c=n.n(s);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},u(t)}function l(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,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,f(o.key),o)}}function f(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:e+""}function d(t,e,n){return e=h(e),function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,y()?Reflect.construct(e,n||[],h(t).constructor):e.apply(t,n))}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(y=function(){return!!t})()}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function b(t,e){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},b(t,e)}var m=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,e,[t])}return 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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&b(t,e)}(e,t),n=e,(r=[{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return c()}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var e=this.options.cursors.previous,n=this.buildCursor(this.options.cursors.previous,!0);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}},{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t,e){var n=this.options.appLink.params;return e?(null==n?void 0:n.previous)?{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:{cursor:null==n?void 0:n.previous}}:{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args}:{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,l(l({},this.options.cursorParamName,t),"previous",n.cursor))}}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var e=i.k.mergeOptions(this.options.analyticsOptions,{location:a.LZ.Pagination,entity:a.py.Pagination,actionType:a.Vw.Navigate}),n={id:this.options.collectionId,page:t};i.k.logUserAction(n,e)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}}])&&p(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Q.wA)},4113:function(t,e,n){"use strict";n.r(e),n.d(e,{RestrictedVideoListView:function(){return T}});var o=n(21679),r=n(57857),i=n(31647),a=n(59054),s=n(25692),c=n(56210),u=n(47022),l=n(98985),p=n(63791),f=n(70763),d=n(57085),y=n(58688),h=n(80867),b=n(57098),m=n(29457),v=n(64404),g=n(48404),w=n(19226),k=n(264),O=n(95061),C=n(12827),E=n.n(C);function S(t){return S="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},S(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,j(o.key),o)}}function j(t){var e=function(t,e){if("object"!=S(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=S(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==S(e)?e:e+""}function V(t,e,n){return e=L(e),function(t,e){if(e&&("object"===S(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,_()?Reflect.construct(e,n||[],L(t).constructor):e.apply(t,n))}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}function L(t){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},L(t)}function I(t,e){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},I(t,e)}var T=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),V(this,e,[t])}return 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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&I(t,e)}(e,t),n=e,(i=[{key:"initialize",value:function(){this.bindListeners(),this.restrictedVideoDataService=o.u.getInstance(b.Or.RestrictedVideo,this),this.videoDataService=o.u.getInstance(b.Or.Video,this),this.playerDataService=o.u.getInstance(b.Or.Player,this),this.createViewKey=this.createViewKey.bind(this)}},{key:"bindListeners",value:function(){this.listenTo(b.Vk.RESTRICTED_VIDEO,"".concat(b.M_.RESTRICTED_VIDEOS,":").concat(this.options.page,":sync"),this.render),this.listenTo(b.Vk.RESTRICTED_VIDEO,"".concat(b.M_.RESTRICTED_VIDEOS,":").concat(this.options.page,":invalidate"),this.render),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata)}},{key:"name",get:function(){return"RestrictedVideoListView"}},{key:"title",get:function(){return r.T.getPhrase(this.lang,"title")}},{key:"className",get:function(){return"bg-white rounded"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return E()}},{key:"lang",get:function(){return"videoAccess.restrictedVideoList"}},{key:"behaviors",get:function(){return[{behaviorClass:c.H,selector:".info-tooltip",title:r.T.getPhrase(this.lang,"findOutMore")}]}},{key:"defaults",get:function(){return{page:1}}},{key:"regions",value:function(){return{videos:{replaceElement:!0,el:".video-list-region",partialLoading:m.LP.VideoList},pagination:{replaceElement:!0,el:".pagination-region"},empty:{replaceElement:!0,el:".empty-region"},breadcrumbs:{replaceElement:!0,el:".breadcrumbs-region",partialLoading:m.LP.Breadcrumbs}}}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new f.t(this.videoCollection.map((function(t){return new v.n({id:t.get("id")})}))))}},{key:"createViewKey",value:function(t,e){this.playerDataService.createViewKey(t,a.f.MasterObject,e)}},{key:"renderVideoList",value:function(){var t=this.restrictedVideoDataService.getPaginationCursors(this.options.page);this.showChildView("videos",new h.Y({collection:this.videoCollection,videosWithMetadata:this.videosWithMetadata,application:b.OV.VIDEO_ACCESS,collectionIdentifier:null,videoItemComponentType:y.U.VideoAccess,config:this.config,emptyStateType:m.ub.VideoAccess,emptyStateOptions:{heading:r.T.getPhrase(this.lang,"emptyStateHeading")},collectionViewChannel:this.channelName,currentUser:this.currentUser,hasCursors:!!t,showEmptyState:!0,libraries:this.libraries,playerApiUrl:this.config.get("playerApiUrl"),createViewKey:this.createViewKey}))}},{key:"renderPagination",value:function(){var t=this.restrictedVideoDataService.getPaginationCursors(this.options.page);this.showChildView("pagination",new u.Q({cursors:t,appLink:{application:b.OV.VIDEO_ACCESS,action:b.eX.VideoAccess.HOME},cursorParamName:"page"}))}},{key:"renderBreadcrumbs",value:function(){this.showChildView("breadcrumbs",new d.n({enableLastItemAppLink:!1,customBreadcrumbs:[{name:r.T.getPhrase(this.lang,"libraryEditor"),active:!1,appLink:{application:b.OV.LIBRARY_EDITOR,action:b.eX.LibraryEditor.HOME}},{name:r.T.getPhrase(this.lang,"videoAccess"),active:!0}]}))}},{key:"fetchVideoWithMetadata",value:function(t){var e=this;this.videoDataService.getVideo(t,(function(n){var o=e.videosWithMetadata.get(t);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"requiredResources",get:function(){return{config:g.p.config,currentUser:w.K.currentUser,libraries:O.T.libraries}}},{key:"onBeforeRender",value:function(){return this.videoCollection=this.restrictedVideoDataService.getRestrictedVideos(this.options.page),!!this.videoCollection&&(this.setVideosWithMetadata(),!0)}},{key:"viewOptions",value:function(){return{supportUrl:!k.g.hasLite&&l.o.getOnlineArticle(s.s.VideoAccess),svg:p.Nj.getSvg(p.vn.Info)}}},{key:"onRender",value:function(){this.renderVideoList(),this.renderPagination(),this.renderBreadcrumbs()}}])&&P(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(i.Q.G7)},57085:function(t,e,n){"use strict";n.d(e,{n:function(){return _}});var o=n(31647),r=n(57098),i=n(22557),a=n(86363),s=n.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},c(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(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,f(o.key),o)}}function p(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==c(e)?e:e+""}function d(t,e,n){return e=h(e),function(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,y()?Reflect.construct(e,n||[],h(t).constructor):e.apply(t,n))}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(y=function(){return!!t})()}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function b(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}function m(t,e){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},m(t,e)}var v=function(t){function e(){return u(this,e),d(this,e,arguments)}return b(e,t),p(e,[{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return s()}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var t="breadcrumb-item";return this.model.get("active")&&(t+=" active"),t}},{key:"attributes",get:function(){return this.model.get("active")?{"aria-current":"page"}:{}}},{key:"appLinks",get:function(){return this.model.get("active")?{}:{a:this.model.get("appLink")}}},{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}}])}(o.Q.wA),g=function(t){function e(){return u(this,e),d(this,e,arguments)}return b(e,t),p(e,[{key:"name",get:function(){return"BreadcrumbComponentCollection"}},{key:"tagName",get:function(){return"ol"}},{key:"className",get:function(){return"breadcrumb m-0 p-0"}},{key:"childView",get:function(){return v}}])}(o.Q.$W),w=n(93933),k=n.n(w);function O(t){return O="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},O(t)}function C(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,E(o.key),o)}}function E(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=O(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==O(e)?e:e+""}function S(t,e,n){return e=j(e),function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,P()?Reflect.construct(e,n||[],j(t).constructor):e.apply(t,n))}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(P=function(){return!!t})()}function j(t){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},j(t)}function V(t,e){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},V(t,e)}var _=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),S(this,e,[t])}return 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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&V(t,e)}(e,t),n=e,(a=[{key:"initialize",value:function(){this.getBreadcrumbs()}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return k()}},{key:"className",get:function(){return"d-inline-block"}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"defaults",get:function(){return{customBreadcrumbs:[]}}},{key:"getBreadcrumbs",value:function(){var t=this;this.breadcrumbCollection=new o.Q.FE([]);var e,n=this.options.folder;do{if(!n)break;if(e=i.P.getParent(n.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(n,!!e),{at:0}),!e)break;n=e}while(e);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:r.OV.LIBRARY_EDITOR,action:r.eX.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.options.customBreadcrumbs&&this.options.customBreadcrumbs.forEach((function(e){return t.breadcrumbCollection.add(e)})),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(t,e){var n=e?r.eX.LibraryEditor.FOLDER:r.eX.LibraryEditor.LIBRARY;return{name:t.get("name"),appLink:{application:r.OV.LIBRARY_EDITOR,action:n,args:[t.id]}}}},{key:"onRender",value:function(){var t=new g({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",t)}}])&&C(n.prototype,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a}(o.Q.wA)},80867:function(t,e,n){"use strict";n.d(e,{Y:function(){return j}});var o=n(31647),r=n(52076),i=n(70065),a=n(50028),s=n(80758),c=n(10101),u=n(58688),l=n(37071),p=n(57098),f=n(29457),d=n(26457),y=n(30606),h=n.n(y);function b(t){return b="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},b(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(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,w(o.key),o)}}function g(t,e,n){return e&&v(t.prototype,e),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function w(t){var e=function(t,e){if("object"!=b(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=b(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==b(e)?e:e+""}function k(t,e,n){return e=C(e),function(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,O()?Reflect.construct(e,n||[],C(t).constructor):e.apply(t,n))}function O(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(O=function(){return!!t})()}function C(t){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},C(t)}function E(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&S(t,e)}function S(t,e){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},S(t,e)}var P=function(t){function e(t){return m(this,e),k(this,e,[t])}return E(e,t),g(e,[{key:"name",get:function(){return"VideoItemListComponent"}},{key:"childView",get:function(){return l.j}},{key:"childViewOptions",get:function(){var t=this;return function(e,n){return{componentType:e.get("status")===a.X.Processing?u.U.ProcessingVideo:t.options.videoItemComponentType,videoWithMetadata:t.options.videosWithMetadata&&t.options.videosWithMetadata.get(e.get("id")),allowBulk:t.options.allowBulk,collectionIdentifier:t.options.collectionIdentifier,application:t.options.application,pendingItems:t.options.pendingItems,config:t.options.config,sourceMetadataOptions:t.options.sourceMetadataOptions,collectionViewChannel:t.options.collectionViewChannel,customerHasLocalCache:t.options.customerHasLocalCache,customerHasExchange:t.options.customerHasExchange,customerHasCustomLibrary:t.options.customerHasCustomLibrary,analyticsOptions:t.options.analyticsOptions,videoCollectionSource:t.options.videoCollectionSource,currentUser:t.options.currentUser,playerApiUrl:t.options.playerApiUrl,createViewKey:t.options.createViewKey,isLastItem:!t.options.hasCursors&&n===t.collection.length-1,libraries:t.options.libraries,products:t.options.products}}}}])}(o.Q.$W),j=function(t){function e(t){return m(this,e),k(this,e,[t])}return E(e,t),g(e,[{key:"name",get:function(){return"VideoListView"}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"template",get:function(){return h()}},{key:"defaults",get:function(){return{videoItemComponentType:u.U.Base,allowBulk:!1,emptyState:f.ub.Default,videoCollectionSource:d.x_.Folder}}},{key:"behaviors",get:function(){var t=[{behaviorClass:c.Im,selector:".lazy-img",minBrowserSupportVersion:p.v9}];return this.options.showEmptyState&&t.push({behaviorClass:s.o,region:"videos",type:this.options.emptyStateType,componentOptions:this.options.emptyStateOptions,emptyStateComponents:p.aW}),t}},{key:"regions",value:function(){return{videos:".videos-region"}}},{key:"onRender",value:function(){var t=new P({collection:this.collection,videosWithMetadata:this.options.videosWithMetadata,videoItemComponentType:this.options.videoItemComponentType,allowBulk:this.options.allowBulk,collectionIdentifier:this.collectionIdentifier,application:this.options.application,pendingItems:this.options.pendingItems,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,customerHasCustomLibrary:this.options.customerHasCustomLibrary,analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{location:i.LZ.VideoListItem,entity:i.py.Video}),videoCollectionSource:this.options.videoCollectionSource,currentUser:this.options.currentUser,playerApiUrl:this.options.playerApiUrl,createViewKey:this.options.createViewKey,hasCursors:this.options.hasCursors,libraries:this.options.libraries,products:this.options.products});this.showChildView("videos",t)}}])}(o.Q.wA)},99186:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\n <a class="btn previous-applink btn-outline-dark '+(null!=(i=n.unless.call(a,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.previous:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||s).call(a,"previous",{name:"lang",hash:{},data:r}))+'</a>\n <a class="btn next-applink btn-outline-dark '+(null!=(i=n.unless.call(a,null!=(i=null!=(i=null!=e?e.options:e)?i.cursors:i)?i.next:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+c((n.lang||e&&e.lang||s).call(a,"next",{name:"lang",hash:{},data:r}))+"</a>\n</div>"},useData:!0})},12827:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=t.lambda;return' <a class="d-inline-block ms-2 svg-container sm info-tooltip" href="'+t.escapeExpression(a(null!=(i=null!=e?e.options:e)?i.supportUrl:i,e))+'">'+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+"</a>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="ps-3 pt-3 pe-3">\n <div class="border-bottom">\n <div class="d-flex align-items-center pb-2">\n <h1 class="h3 d-inline-block m-0">'+c((n.lang||e&&e.lang||s).call(a,"heading",{name:"lang",hash:{},data:r}))+" </h1>\n"+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.supportUrl:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+' </div>\n <div class="breadcrumbs-region"></div>\n <p class="pb-3 pt-2 m-0">\n '+c((n.lang||e&&e.lang||s).call(a,"description",{name:"lang",hash:{},data:r}))+'\n </p>\n </div> \n</div>\n<div class="video-list-region"></div>\n<div class="pagination-region"></div>\n<div class="empty-region"></div>'},useData:!0})},86363:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,r){var i;return t.propertyIsEnumerable,'<span class="fw-bolder">'+t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:r}):i)+"</span>\n"},3:function(t,e,n,o,r){var i;return t.propertyIsEnumerable,"<a>"+t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:r}):i)+"</a>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;return t.propertyIsEnumerable,null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.isActive:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.program(3,r,0),data:r}))?i:""},useData:!0})},93933:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})},30606:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="videos-region"></div>'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[514],{42905:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var o=n(57857),l=n(68003),i="shared.shared-utils",a={getEmbedResolutions:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=[{label:o.T.getPhrase(i,"small"),width:"640",height:"360"},{label:o.T.getPhrase(i,"medium"),width:"1014",height:"576"},{label:o.T.getPhrase(i,"large"),width:"1280",height:"720"}];return e&&t.unshift({label:o.T.getPhrase(i,"responsive"),width:"100%",height:"100%"}),t},getEmbedString:function(e){var t=e.url,n=e.size,o="100%"===n.width,l=o?'style="position:absolute; top:0; left:0; width:100%; height:100%;"':'width="'.concat(n.width,'" height="').concat(n.height,'"'),i='src="'.concat(t,'"'),a="<iframe ".concat(l," ").concat('frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen allow="autoplay"'," ").concat(i,"></iframe>");return o?'<div style="padding:56.25% 0 0 0; position:relative;">'.concat(a,"</div>"):a},buildEmbedUrl:function(e){var t=e.embedUrl,n=e.host,o=e.shareId,i=e.autoplay,a=e.consumerKey,r=t;r||(r=l._.safeUrlConcat(n,"share/embed/".concat(o)));var s={};return i&&(s.a=!0),a&&(s.consumerKey=a),l._.urlBuilder(r,s)}}},40514:function(e,t,n){"use strict";n.r(t),n.d(t,{ShareView:function(){return U}});var o=n(61050),l=n(39479),i=n(21679),a=n(57857),r=n(99249),s=n(68003),u=n(31647),c=n(42905),h=n(10101),p=n(57098),d=n(33800),f=n(29457),b=n(48404),m=n(93569),y=n(721),v=n.n(y),g=n(98723),k=n.n(g),w=n(151),S=n.n(w),x={container:"UHvy5",shareInput:"YMGwr",footerText:"D4m9G"};function E(e){return E="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},E(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,T(o.key),o)}}function O(e,t,n){return t&&P(e.prototype,t),n&&P(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function T(e){var t=function(e,t){if("object"!=E(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=E(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==E(t)?t:t+""}function I(e,t,n){return t=M(t),function(e,t){if(t&&("object"===E(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)}(e,z()?Reflect.construct(t,n||[],M(e).constructor):t.apply(e,n))}function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(z=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function V(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)}function D(e,t){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},D(e,t)}var _=function(e){function t(e){return C(this,t),I(this,t,[e])}return V(t,e),O(t,[{key:"name",get:function(){return"ShareFooterComponent"}},{key:"className",get:function(){return"modal-footer bg-light rounded-bottom"}},{key:"template",get:function(){return S()}},{key:"viewOptions",value:function(){return{footerTextClass:x.footerText,privacyDescription:this.options.privacyDescription}}}])}(u.Q.wA),U=function(e){function t(e){var n;return C(this,t),(n=I(this,t,[e])).clipboards=[],n}return V(t,e),O(t,[{key:"initialize",value:function(){this.setUpViewModel(),this.bindListeners(),this.videoDataService=i.u.getInstance(d.O.Video,this)}},{key:"name",get:function(){return"ShareView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return k()}},{key:"lang",get:function(){return"sharedLe.share"}},{key:"props",get:function(){return["videoId"]}},{key:"elements",get:function(){return{copy:".copy",embedToggle:".embed-toggle"}}},{key:"events",value:function(){return{"click @ui.copy":"onClickCopy","click @ui.embedToggle":"onClickEmbed"}}},{key:"regions",value:function(){return{container:{el:".".concat(x.container),replaceElement:!1},footer:{el:".modal-footer",replaceElement:!0}}}},{key:"defaults",get:function(){return{autoplay:!1,selectedVideoSize:0,videoSizes:c.i.getEmbedResolutions()}}},{key:"behaviors",get:function(){return[{behaviorClass:h.Yw,title:a.T.getPhrase(this.lang,"share"),hideCloseButton:!0},{behaviorClass:h.Bp,bindViewModel:!0}]}},{key:"bindListeners",value:function(){this.listenTo(this.viewModel,"change:autoplay change:selectedVideoSize",this.render),this.listenTo(this.viewModel,"change:public",this.onTogglePublic),this.listenTo(p.Vk.VIDEO,"".concat(p.M_.VIDEOS,":").concat(this.options.videoId,":sync"),this.render)}},{key:"bindings",get:function(){var e=this;return{"[name=autoplay]":"autoplay","[name=selectedVideoSize]":{observe:"selectedVideoSize",selectOptions:{collection:function(){return l.map(e.options.videoSizes,(function(e,t){return{label:e.label,value:t}}))}}},"[name=public]":"public"}}},{key:"setUpViewModel",value:function(){this.viewModel=r.r.get("share:".concat(this.options.videoId),this.options)}},{key:"onTogglePublic",value:function(){var e=this,t=this.viewModel.get("public")?f.F2.Public:f.F2.SchoolOnly;this.videoDataService.getSharedResource(this.videoId,t,(function(n){n.set("privacyId",t),e.onSharedResourceSync(n)}))}},{key:"updateViewModel",value:function(){this.viewModel.set("public",this.model.get("privacyId")===f.F2.Public,{silent:!0})}},{key:"onSharedResourceSync",value:function(e){this.model=e,this.updateViewModel(),this.render()}},{key:"fetchData",value:function(){this.video=this.videoDataService.getVideo(this.videoId),this.model||this.videoDataService.getSharedResource(this.videoId,null,l.bind(this.onSharedResourceSync,this))}},{key:"buildEmbedString",value:function(){var e=l.extend({},this.model.toJSON(),this.viewModel.toJSON()),t=this.options.videoSizes[e.selectedVideoSize],n="100%"===t.height&&"100%"===t.width;e.videoSize=t,e.baseUrl=s._.safeUrlConcat(this.config.get("onlineUrl"),"/share/embed"),e.isResponsive=n;var o=v()(e);return n?'<div style="padding:56.25% 0 0 0; position:relative;">'.concat(o,"</div>"):o}},{key:"onClickEmbed",value:function(){this.viewModel.set("showEmbed",!0),this.render()}},{key:"onClickCopy",value:function(e){this.$(e.currentTarget).text(a.T.getPhrase(this.lang,"copied"))}},{key:"getPrivacyDescription",value:function(e){switch(e){case f.F2[f.F2.Private]:return a.T.getPhrase(this.lang,"private");case f.F2[f.F2.SchoolOnly]:return a.T.getPhrase(this.lang,"schoolOnly");case f.F2[f.F2.Public]:return a.T.getPhrase(this.lang,"public");default:return""}}},{key:"initClipboards",value:function(){var e=this;this.destroyClipboards(),this.getUI("copy").each((function(t,n){e.clipboards.push(new o(n))}))}},{key:"destroyClipboards",value:function(){l.each(this.clipboards,(function(e){return e.destroy()})),this.clipboards=[]}},{key:"requiredResources",get:function(){return{config:b.p.config}}},{key:"getCannotPublicShareText",value:function(){return this.video?m.M2.isExchangeVideo(this.video)?a.T.getPhrase(this.lang,"cannotShareExchange"):a.T.getPhrase(this.lang,"cannotShareClickView"):""}},{key:"onBeforeDestroy",value:function(){this.destroyClipboards()}},{key:"renderFooter",value:function(){var e=this.model&&this.getPrivacyDescription(this.model.get("privacy"));this.showChildView("footer",new _({privacyDescription:e}))}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:x},this.viewModel.toJSON()),{embedString:this.model&&this.buildEmbedString(),spinnerEl:m.Kp.getSpinner({size:m.Ey.Large,extraClasses:"mx-auto"}),showLoader:!this.model||!this.video,canPublicShare:this.video&&m.BK.canPublicShare(this.video),cannotPublicShareText:this.getCannotPublicShareText()})}},{key:"onBeforeRender",value:function(){this.fetchData()}},{key:"onRender",value:function(){this.initClipboards(),this.renderFooter()}}])}(u.Q.G7)},721:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,l){return'style="position:absolute; top:0; left:0; width:100%; height:100%;"'},3:function(e,t,n,o,l){e.propertyIsEnumerable;var i,a=e.lambda,r=e.escapeExpression;return'width="'+r(a(null!=(i=null!=t?t.videoSize:t)?i.width:i,t))+'" height="'+r(a(null!=(i=null!=t?t.videoSize:t)?i.height:i,t))+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,l){e.propertyIsEnumerable;var i,a,r=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u="function",c=e.escapeExpression;return'<iframe frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen '+(null!=(i=n.if.call(r,null!=t?t.isResponsive:t,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l}))?i:"")+' src="'+c(typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)===u?a.call(r,{name:"baseUrl",hash:{},data:l}):a)+"?shareCode="+c(typeof(a=null!=(a=n.shortCode||(null!=t?t.shortCode:t))?a:s)===u?a.call(r,{name:"shortCode",hash:{},data:l}):a)+"&a="+c(typeof(a=null!=(a=n.autoplay||(null!=t?t.autoplay:t))?a:s)===u?a.call(r,{name:"autoplay",hash:{},data:l}):a)+'"></iframe>'},useData:!0})},98723:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,l){var i;return e.propertyIsEnumerable,(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\n"},3:function(e,t,n,o,l){e.propertyIsEnumerable;var i,a,r=e.lambda,s=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'\n<div class="'+s(r(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.container:i,t))+'">\n <label for="share-input" class="mb-0 h6">'+s((n.lang||t&&t.lang||c).call(u,"shareLink",{name:"lang",hash:{},data:l}))+'</label>\n <div class="input-group mb-2">\n <input type="text" autocomplete="off" class="form-control '+s(r(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.shareInput:i,t))+'" id="share-input" spellcheck="false" readonly="true" value='+s("function"==typeof(a=null!=(a=n.shortUrl||(null!=t?t.shortUrl:t))?a:c)?a.call(u,{name:"shortUrl",hash:{},data:l}):a)+'>\n <button class="btn btn-outline-dark copy" type="button" data-clipboard-target="#share-input">'+s((n.lang||t&&t.lang||c).call(u,"copy",{name:"lang",hash:{},data:l}))+"</button>\n </div>\n\n"+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.showEmbed:i,{name:"unless",hash:{},fn:e.program(4,l,0),inverse:e.noop,data:l}))?i:"")+"\n"+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.showEmbed:i,{name:"if",hash:{},fn:e.program(6,l,0),inverse:e.noop,data:l}))?i:"")+"</div>\n"},4:function(e,t,n,o,l){return e.propertyIsEnumerable,' <small class="embed-toggle"><a class="text-info cursor-pointer hover-text-underline">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"showOptions",{name:"lang",hash:{},data:l}))+"</a></small>\n"},6:function(e,t,n,o,l){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,u=e.lambda;return' <hr class="mt-4">\n <label for="link-options-input" class="mb-2 h6">'+s((n.lang||t&&t.lang||r).call(a,"linkOptions",{name:"lang",hash:{},data:l}))+'</label>\n <div class="form-check mb-2">\n <input type="checkbox" autocomplete="off" class="form-check-input public-checkbox" id="public-checkbox" name="public" '+(null!=(i=n.unless.call(a,null!=(i=null!=t?t.options:t)?i.canPublicShare:i,{name:"unless",hash:{},fn:e.program(7,l,0),inverse:e.noop,data:l}))?i:"")+'>\n <label class="form-check-label" for="public-checkbox">'+s((n.lang||t&&t.lang||r).call(a,"publicCheckbox",{name:"lang",hash:{},data:l}))+"</label>\n "+(null!=(i=n.unless.call(a,null!=(i=null!=t?t.options:t)?i.canPublicShare:i,{name:"unless",hash:{},fn:e.program(9,l,0),inverse:e.noop,data:l}))?i:"")+'\n </div>\n <hr class="mt-4">\n <label for="embed-input" class="mb-0 mt-2 h6">'+s((n.lang||t&&t.lang||r).call(a,"embed",{name:"lang",hash:{},data:l}))+'</label>\n <div class="input-group mb-2 '+s(u(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.textareaContainer:i,t))+'">\n <textarea type="text" class="form-control rounded w-100 h-100 z-0" id="embed-input" spellcheck="false" rows="6" readonly>'+s(u(null!=(i=null!=t?t.options:t)?i.embedString:i,t))+'</textarea>\n <div class="position-absolute bottom-0 end-0"><button class="btn btn-outline-dark copy" type="button" data-clipboard-target="#embed-input">'+s((n.lang||t&&t.lang||r).call(a,"copy",{name:"lang",hash:{},data:l}))+"</button></div>\n </div>\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.videoSizes:i,{name:"if",hash:{},fn:e.program(11,l,0),inverse:e.noop,data:l}))?i:"")+' <div class="form-check d-inline-block">\n <input type="checkbox" autocomplete="off" class="form-check-input autoplay-checkbox" id="autoplay-checkbox" name="autoplay">\n <label class="form-check-label" for="autoplay-checkbox">'+s((n.lang||t&&t.lang||r).call(a,"autoplay",{name:"lang",hash:{},data:l}))+"</label>\n </div>\n"},7:function(e,t,n,o,l){return"disabled"},9:function(e,t,n,o,l){var i;return e.propertyIsEnumerable,'<div class="text-secondary">'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.cannotPublicShareText:i,t))+"</div>"},11:function(e,t,n,o,l){return e.propertyIsEnumerable,' <label for="size-select" class="d-block pt-2 h6">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"playerSize",{name:"lang",hash:{},data:l}))+'</label>\n <select class="form-select me-4 size-select w-50 d-inline-block" id="#size-select" name="selectedVideoSize"></select>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,l){var i;return e.propertyIsEnumerable,null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.showLoader:i,{name:"if",hash:{},fn:e.program(1,l,0),inverse:e.program(3,l,0),data:l}))?i:""},useData:!0})},151:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,l){e.propertyIsEnumerable;var i,a=e.lambda,r=e.escapeExpression;return'<small class="text-start w-100 mb-0 '+r(a(null!=(i=null!=t?t.options:t)?i.footerTextClass:i,t))+'">'+r(a(null!=(i=null!=t?t.options:t)?i.privacyDescription:i,t))+"</small>"},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5173],{65549:function(t,e,n){var r=n(84457)(n(70441),"DataView");t.exports=r},54613:function(t,e,n){var r=n(38145),o=n(69096),u=n(65239),i=n(78228),a=n(24515);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=u,s.prototype.has=i,s.prototype.set=a,t.exports=s},70131:function(t,e,n){var r=n(17168),o=n(66582),u=n(13867),i=n(59557),a=n(22726);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=u,s.prototype.has=i,s.prototype.set=a,t.exports=s},64438:function(t,e,n){var r=n(84457)(n(70441),"Map");t.exports=r},90278:function(t,e,n){var r=n(67076),o=n(2530),u=n(44858),i=n(96265),a=n(59909);function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=u,s.prototype.has=i,s.prototype.set=a,t.exports=s},87076:function(t,e,n){var r=n(84457)(n(70441),"Promise");t.exports=r},69902:function(t,e,n){var r=n(84457)(n(70441),"Set");t.exports=r},61124:function(t,e,n){var r=n(90278),o=n(96718),u=n(66996);function i(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}i.prototype.add=i.prototype.push=o,i.prototype.has=u,t.exports=i},4281:function(t,e,n){var r=n(70131),o=n(30560),u=n(58282),i=n(46638),a=n(94270),s=n(3229);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=u,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,t.exports=c},54690:function(t,e,n){var r=n(70441).Symbol;t.exports=r},24389:function(t,e,n){var r=n(70441).Uint8Array;t.exports=r},18965:function(t,e,n){var r=n(84457)(n(70441),"WeakMap");t.exports=r},26758:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},69037:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,u=[];++n<r;){var i=t[n];e(i,n,t)&&(u[o++]=i)}return u}},16222:function(t,e,n){var r=n(55092),o=n(86981),u=n(77236),i=n(98752),a=n(74363),s=n(14812),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=u(t),f=!n&&o(t),l=!n&&!f&&i(t),h=!n&&!f&&!l&&s(t),p=n||f||l||h,d=p?r(t.length,String):[],v=d.length;for(var y in t)!e&&!c.call(t,y)||p&&("length"==y||l&&("offset"==y||"parent"==y)||h&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,v))||d.push(y);return d}},26460:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},23064:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},26974:function(t){t.exports=function(t,e,n,r){var o=-1,u=null==t?0:t.length;for(r&&u&&(n=t[++o]);++o<u;)n=e(n,t[o],o,t);return n}},44793:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},30804:function(t){t.exports=function(t){return t.split("")}},64159:function(t){var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(e)||[]}},47596:function(t,e,n){var r=n(40999),o=n(26530),u=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var i=t[e];u.call(t,e)&&o(i,n)&&(void 0!==n||e in t)||r(t,e,n)}},3833:function(t,e,n){var r=n(26530);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},5615:function(t,e,n){var r=n(96051),o=n(52635);t.exports=function(t,e){return t&&r(e,o(e),t)}},3238:function(t,e,n){var r=n(96051),o=n(5850);t.exports=function(t,e){return t&&r(e,o(e),t)}},40999:function(t,e,n){var r=n(9346);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},42327:function(t,e,n){var r=n(4281),o=n(26758),u=n(47596),i=n(5615),a=n(3238),s=n(78172),c=n(66438),f=n(23746),l=n(93989),h=n(36094),p=n(15559),d=n(26686),v=n(26019),y=n(27621),_=n(73905),m=n(77236),x=n(98752),b=n(69656),g=n(85973),F=n(66925),w=n(52635),j=n(5850),E="[object Arguments]",O="[object Function]",A="[object Object]",D={};D[E]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object DataView]"]=D["[object Boolean]"]=D["[object Date]"]=D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Map]"]=D["[object Number]"]=D[A]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object Symbol]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D["[object Error]"]=D[O]=D["[object WeakMap]"]=!1,t.exports=function t(e,n,S,k,P,T){var C,$=1&n,z=2&n,M=4&n;if(S&&(C=P?S(e,k,P,T):S(e)),void 0!==C)return C;if(!g(e))return e;var R=m(e);if(R){if(C=v(e),!$)return c(e,C)}else{var U=d(e),I=U==O||"[object GeneratorFunction]"==U;if(x(e))return s(e,$);if(U==A||U==E||I&&!P){if(C=z||I?{}:_(e),!$)return z?l(e,a(C,e)):f(e,i(C,e))}else{if(!D[U])return P?e:{};C=y(e,U,$)}}T||(T=new r);var V=T.get(e);if(V)return V;T.set(e,C),F(e)?e.forEach((function(r){C.add(t(r,n,S,r,e,T))})):b(e)&&e.forEach((function(r,o){C.set(o,t(r,n,S,o,e,T))}));var N=R?void 0:(M?z?p:h:z?j:w)(e);return o(N||e,(function(r,o){N&&(r=e[o=r]),u(C,o,t(r,n,S,o,e,T))})),C}},67372:function(t,e,n){var r=n(85973),o=Object.create,u=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=u},60641:function(t,e,n){var r=n(32630)();t.exports=r},35897:function(t,e,n){var r=n(60641),o=n(52635);t.exports=function(t,e){return t&&r(t,e,o)}},80166:function(t,e,n){var r=n(18422),o=n(18780);t.exports=function(t,e){for(var n=0,u=(e=r(e,t)).length;null!=t&&n<u;)t=t[o(e[n++])];return n&&n==u?t:void 0}},39329:function(t,e,n){var r=n(23064),o=n(77236);t.exports=function(t,e,n){var u=e(t);return o(t)?u:r(u,n(t))}},94318:function(t,e,n){var r=n(54690),o=n(47077),u=n(61954),i=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):u(t)}},48402:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},70007:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},58520:function(t,e,n){var r=n(94318),o=n(3387);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},31071:function(t,e,n){var r=n(67229),o=n(3387);t.exports=function t(e,n,u,i,a){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,u,i,t,a))}},67229:function(t,e,n){var r=n(4281),o=n(12503),u=n(6001),i=n(88784),a=n(26686),s=n(77236),c=n(98752),f=n(14812),l="[object Arguments]",h="[object Array]",p="[object Object]",d=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,v,y,_){var m=s(t),x=s(e),b=m?h:a(t),g=x?h:a(e),F=(b=b==l?p:b)==p,w=(g=g==l?p:g)==p,j=b==g;if(j&&c(t)){if(!c(e))return!1;m=!0,F=!1}if(j&&!F)return _||(_=new r),m||f(t)?o(t,e,n,v,y,_):u(t,e,b,n,v,y,_);if(!(1&n)){var E=F&&d.call(t,"__wrapped__"),O=w&&d.call(e,"__wrapped__");if(E||O){var A=E?t.value():t,D=O?e.value():e;return _||(_=new r),y(A,D,n,v,_)}}return!!j&&(_||(_=new r),i(t,e,n,v,y,_))}},4368:function(t,e,n){var r=n(26686),o=n(3387);t.exports=function(t){return o(t)&&"[object Map]"==r(t)}},9157:function(t,e,n){var r=n(4281),o=n(31071);t.exports=function(t,e,n,u){var i=n.length,a=i,s=!u;if(null==t)return!a;for(t=Object(t);i--;){var c=n[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++i<a;){var f=(c=n[i])[0],l=t[f],h=c[1];if(s&&c[2]){if(void 0===l&&!(f in t))return!1}else{var p=new r;if(u)var d=u(l,h,f,t,e,p);if(!(void 0===d?o(h,l,3,u,p):d))return!1}}return!0}},62987:function(t,e,n){var r=n(93839),o=n(47275),u=n(85973),i=n(76822),a=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,f=s.toString,l=c.hasOwnProperty,h=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!u(t)||o(t))&&(r(t)?h:a).test(i(t))}},4642:function(t,e,n){var r=n(26686),o=n(3387);t.exports=function(t){return o(t)&&"[object Set]"==r(t)}},73749:function(t,e,n){var r=n(94318),o=n(99216),u=n(3387),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return u(t)&&o(t.length)&&!!i[r(t)]}},88904:function(t,e,n){var r=n(68418),o=n(54555),u=n(15362),i=n(77236),a=n(21651);t.exports=function(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?i(t)?o(t[0],t[1]):r(t):a(t)}},78803:function(t,e,n){var r=n(65003),o=n(41466),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&e.push(n);return e}},32578:function(t,e,n){var r=n(85973),o=n(65003),u=n(14904),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return u(t);var e=o(t),n=[];for(var a in t)("constructor"!=a||!e&&i.call(t,a))&&n.push(a);return n}},68418:function(t,e,n){var r=n(9157),o=n(59182),u=n(57375);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},54555:function(t,e,n){var r=n(31071),o=n(33795),u=n(33646),i=n(73266),a=n(41457),s=n(57375),c=n(18780);t.exports=function(t,e){return i(t)&&a(e)?s(c(t),e):function(n){var i=o(n,t);return void 0===i&&i===e?u(n,t):r(e,i,3)}}},61712:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},14815:function(t,e,n){var r=n(80166);t.exports=function(t){return function(e){return r(e,t)}}},40516:function(t){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},4293:function(t){t.exports=function(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var u=Array(o);++r<o;)u[r]=t[r+e];return u}},55092:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},90454:function(t,e,n){var r=n(54690),o=n(26460),u=n(77236),i=n(22945),a=r?r.prototype:void 0,s=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(u(e))return o(e,t)+"";if(i(e))return s?s.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},76535:function(t){t.exports=function(t){return function(e){return t(e)}}},80925:function(t,e,n){var r=n(26460);t.exports=function(t,e){return r(e,(function(e){return t[e]}))}},30555:function(t){t.exports=function(t,e){return t.has(e)}},18422:function(t,e,n){var r=n(77236),o=n(73266),u=n(23879),i=n(41119);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:u(i(t))}},24793:function(t,e,n){var r=n(4293);t.exports=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:r(t,e,n)}},13632:function(t,e,n){var r=n(24389);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},78172:function(t,e,n){t=n.nmd(t);var r=n(70441),o=e&&!e.nodeType&&e,u=o&&t&&!t.nodeType&&t,i=u&&u.exports===o?r.Buffer:void 0,a=i?i.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=a?a(n):new t.constructor(n);return t.copy(r),r}},39841:function(t,e,n){var r=n(13632);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},62769:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},49130:function(t,e,n){var r=n(54690),o=r?r.prototype:void 0,u=o?o.valueOf:void 0;t.exports=function(t){return u?Object(u.call(t)):{}}},22215:function(t,e,n){var r=n(13632);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},66438:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},96051:function(t,e,n){var r=n(47596),o=n(40999);t.exports=function(t,e,n,u){var i=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var c=e[a],f=u?u(n[c],t[c],c,n,t):void 0;void 0===f&&(f=t[c]),i?o(n,c,f):r(n,c,f)}return n}},23746:function(t,e,n){var r=n(96051),o=n(75904);t.exports=function(t,e){return r(t,o(t),e)}},93989:function(t,e,n){var r=n(96051),o=n(12511);t.exports=function(t,e){return r(t,o(t),e)}},38507:function(t,e,n){var r=n(70441)["__core-js_shared__"];t.exports=r},32630:function(t){t.exports=function(t){return function(e,n,r){for(var o=-1,u=Object(e),i=r(e),a=i.length;a--;){var s=i[t?a:++o];if(!1===n(u[s],s,u))break}return e}}},54660:function(t,e,n){var r=n(24793),o=n(34327),u=n(51119),i=n(41119);t.exports=function(t){return function(e){e=i(e);var n=o(e)?u(e):void 0,a=n?n[0]:e.charAt(0),s=n?r(n,1).join(""):e.slice(1);return a[t]()+s}}},34958:function(t,e,n){var r=n(26974),o=n(58638),u=n(90280),i=RegExp("['’]","g");t.exports=function(t){return function(e){return r(u(o(e).replace(i,"")),t,"")}}},80968:function(t,e,n){var r=n(40516)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});t.exports=r},9346:function(t,e,n){var r=n(84457),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},12503:function(t,e,n){var r=n(61124),o=n(44793),u=n(30555);t.exports=function(t,e,n,i,a,s){var c=1&n,f=t.length,l=e.length;if(f!=l&&!(c&&l>f))return!1;var h=s.get(t),p=s.get(e);if(h&&p)return h==e&&p==t;var d=-1,v=!0,y=2&n?new r:void 0;for(s.set(t,e),s.set(e,t);++d<f;){var _=t[d],m=e[d];if(i)var x=c?i(m,_,d,e,t,s):i(_,m,d,t,e,s);if(void 0!==x){if(x)continue;v=!1;break}if(y){if(!o(e,(function(t,e){if(!u(y,e)&&(_===t||a(_,t,n,i,s)))return y.push(e)}))){v=!1;break}}else if(_!==m&&!a(_,m,n,i,s)){v=!1;break}}return s.delete(t),s.delete(e),v}},6001:function(t,e,n){var r=n(54690),o=n(24389),u=n(26530),i=n(12503),a=n(52876),s=n(66350),c=r?r.prototype:void 0,f=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,l,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!l(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return u(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=a;case"[object Set]":var d=1&r;if(p||(p=s),t.size!=e.size&&!d)return!1;var v=h.get(t);if(v)return v==e;r|=2,h.set(t,e);var y=i(p(t),p(e),r,c,l,h);return h.delete(t),y;case"[object Symbol]":if(f)return f.call(t)==f.call(e)}return!1}},88784:function(t,e,n){var r=n(36094),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,u,i,a){var s=1&n,c=r(t),f=c.length;if(f!=r(e).length&&!s)return!1;for(var l=f;l--;){var h=c[l];if(!(s?h in e:o.call(e,h)))return!1}var p=a.get(t),d=a.get(e);if(p&&d)return p==e&&d==t;var v=!0;a.set(t,e),a.set(e,t);for(var y=s;++l<f;){var _=t[h=c[l]],m=e[h];if(u)var x=s?u(m,_,h,e,t,a):u(_,m,h,t,e,a);if(!(void 0===x?_===m||i(_,m,n,u,a):x)){v=!1;break}y||(y="constructor"==h)}if(v&&!y){var b=t.constructor,g=e.constructor;b==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof g&&g instanceof g||(v=!1)}return a.delete(t),a.delete(e),v}},34414:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},36094:function(t,e,n){var r=n(39329),o=n(75904),u=n(52635);t.exports=function(t){return r(t,u,o)}},15559:function(t,e,n){var r=n(39329),o=n(12511),u=n(5850);t.exports=function(t){return r(t,u,o)}},72907:function(t,e,n){var r=n(87620);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},59182:function(t,e,n){var r=n(41457),o=n(52635);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var u=e[n],i=t[u];e[n]=[u,i,r(i)]}return e}},84457:function(t,e,n){var r=n(62987),o=n(79741);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},71407:function(t,e,n){var r=n(53717)(Object.getPrototypeOf,Object);t.exports=r},47077:function(t,e,n){var r=n(54690),o=Object.prototype,u=o.hasOwnProperty,i=o.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var e=u.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(t){}var o=i.call(t);return r&&(e?t[a]=n:delete t[a]),o}},75904:function(t,e,n){var r=n(69037),o=n(27471),u=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(t){return null==t?[]:(t=Object(t),r(i(t),(function(e){return u.call(t,e)})))}:o;t.exports=a},12511:function(t,e,n){var r=n(23064),o=n(71407),u=n(75904),i=n(27471),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,u(t)),t=o(t);return e}:i;t.exports=a},26686:function(t,e,n){var r=n(65549),o=n(64438),u=n(87076),i=n(69902),a=n(18965),s=n(94318),c=n(76822),f="[object Map]",l="[object Promise]",h="[object Set]",p="[object WeakMap]",d="[object DataView]",v=c(r),y=c(o),_=c(u),m=c(i),x=c(a),b=s;(r&&b(new r(new ArrayBuffer(1)))!=d||o&&b(new o)!=f||u&&b(u.resolve())!=l||i&&b(new i)!=h||a&&b(new a)!=p)&&(b=function(t){var e=s(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return d;case y:return f;case _:return l;case m:return h;case x:return p}return e}),t.exports=b},79741:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},37383:function(t,e,n){var r=n(18422),o=n(86981),u=n(77236),i=n(74363),a=n(99216),s=n(18780);t.exports=function(t,e,n){for(var c=-1,f=(e=r(e,t)).length,l=!1;++c<f;){var h=s(e[c]);if(!(l=null!=t&&n(t,h)))break;t=t[h]}return l||++c!=f?l:!!(f=null==t?0:t.length)&&a(f)&&i(h,f)&&(u(t)||o(t))}},34327:function(t){var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},65471:function(t){var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return e.test(t)}},38145:function(t,e,n){var r=n(75148);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},69096:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},65239:function(t,e,n){var r=n(75148),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},78228:function(t,e,n){var r=n(75148),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},24515:function(t,e,n){var r=n(75148);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},26019:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},27621:function(t,e,n){var r=n(13632),o=n(39841),u=n(62769),i=n(49130),a=n(22215);t.exports=function(t,e,n){var s=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new s(+t);case"[object DataView]":return o(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(t,n);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(t);case"[object RegExp]":return u(t);case"[object Symbol]":return i(t)}}},73905:function(t,e,n){var r=n(67372),o=n(71407),u=n(65003);t.exports=function(t){return"function"!=typeof t.constructor||u(t)?{}:r(o(t))}},74363:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},73266:function(t,e,n){var r=n(77236),o=n(22945),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||i.test(t)||!u.test(t)||null!=e&&t in Object(e)}},87620:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},47275:function(t,e,n){var r,o=n(38507),u=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!u&&u in t}},65003:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},41457:function(t,e,n){var r=n(85973);t.exports=function(t){return t==t&&!r(t)}},17807:function(t){t.exports=function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}},17168:function(t){t.exports=function(){this.__data__=[],this.size=0}},66582:function(t,e,n){var r=n(3833),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},13867:function(t,e,n){var r=n(3833);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},59557:function(t,e,n){var r=n(3833);t.exports=function(t){return r(this.__data__,t)>-1}},22726:function(t,e,n){var r=n(3833);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},67076:function(t,e,n){var r=n(54613),o=n(70131),u=n(64438);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(u||o),string:new r}}},2530:function(t,e,n){var r=n(72907);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},44858:function(t,e,n){var r=n(72907);t.exports=function(t){return r(this,t).get(t)}},96265:function(t,e,n){var r=n(72907);t.exports=function(t){return r(this,t).has(t)}},59909:function(t,e,n){var r=n(72907);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},52876:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},57375:function(t){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},97085:function(t,e,n){var r=n(30427);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},75148:function(t,e,n){var r=n(84457)(Object,"create");t.exports=r},41466:function(t,e,n){var r=n(53717)(Object.keys,Object);t.exports=r},14904:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},91782:function(t,e,n){t=n.nmd(t);var r=n(34414),o=e&&!e.nodeType&&e,u=o&&t&&!t.nodeType&&t,i=u&&u.exports===o&&r.process,a=function(){try{return u&&u.require&&u.require("util").types||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=a},61954:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},53717:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},70441:function(t,e,n){var r=n(34414),o="object"==typeof self&&self&&self.Object===Object&&self,u=r||o||Function("return this")();t.exports=u},96718:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},66996:function(t){t.exports=function(t){return this.__data__.has(t)}},66350:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},30560:function(t,e,n){var r=n(70131);t.exports=function(){this.__data__=new r,this.size=0}},58282:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},46638:function(t){t.exports=function(t){return this.__data__.get(t)}},94270:function(t){t.exports=function(t){return this.__data__.has(t)}},3229:function(t,e,n){var r=n(70131),o=n(64438),u=n(90278);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(i)}return n.set(t,e),this.size=n.size,this}},51119:function(t,e,n){var r=n(30804),o=n(34327),u=n(64501);t.exports=function(t){return o(t)?u(t):r(t)}},23879:function(t,e,n){var r=n(97085),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,i=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(u,"$1"):n||t)})),e}));t.exports=i},18780:function(t,e,n){var r=n(22945);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},76822:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},64501:function(t){var e="\\ud800-\\udfff",n="["+e+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",u="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",f=c+s+"(?:\\u200d(?:"+[u,i,a].join("|")+")"+c+s+")*",l="(?:"+[u+r+"?",r,i,a,n].join("|")+")",h=RegExp(o+"(?="+o+")|"+l+f,"g");t.exports=function(t){return t.match(h)||[]}},6645:function(t){var e="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",u="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+u+"]",a="\\d+",s="["+n+"]",c="["+r+"]",f="[^"+e+u+a+n+r+o+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+o+"]",d="(?:"+c+"|"+f+")",v="(?:"+p+"|"+f+")",y="(?:['’](?:d|ll|m|re|s|t|ve))?",_="(?:['’](?:D|LL|M|RE|S|T|VE))?",m="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?",b=x+m+"(?:\\u200d(?:"+["[^"+e+"]",l,h].join("|")+")"+x+m+")*",g="(?:"+[s,l,h].join("|")+")"+b,F=RegExp([p+"?"+c+"+"+y+"(?="+[i,p,"$"].join("|")+")",v+"+"+_+"(?="+[i,p+d,"$"].join("|")+")",p+"?"+d+"+"+y,p+"+"+_,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,g].join("|"),"g");t.exports=function(t){return t.match(F)||[]}},39935:function(t,e,n){var r=n(73400),o=n(34958)((function(t,e,n){return e=e.toLowerCase(),t+(n?r(e):e)}));t.exports=o},73400:function(t,e,n){var r=n(41119),o=n(23940);t.exports=function(t){return o(r(t).toLowerCase())}},13382:function(t,e,n){var r=n(42327);t.exports=function(t,e){return r(t,5,e="function"==typeof e?e:void 0)}},58638:function(t,e,n){var r=n(80968),o=n(41119),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=o(t))&&t.replace(u,r).replace(i,"")}},26530:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},33795:function(t,e,n){var r=n(80166);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},23973:function(t,e,n){var r=n(48402),o=n(37383);t.exports=function(t,e){return null!=t&&o(t,e,r)}},33646:function(t,e,n){var r=n(70007),o=n(37383);t.exports=function(t,e){return null!=t&&o(t,e,r)}},15362:function(t){t.exports=function(t){return t}},86981:function(t,e,n){var r=n(58520),o=n(3387),u=Object.prototype,i=u.hasOwnProperty,a=u.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(t){return o(t)&&i.call(t,"callee")&&!a.call(t,"callee")};t.exports=s},77236:function(t){var e=Array.isArray;t.exports=e},81580:function(t,e,n){var r=n(93839),o=n(99216);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},98752:function(t,e,n){t=n.nmd(t);var r=n(70441),o=n(7149),u=e&&!e.nodeType&&e,i=u&&t&&!t.nodeType&&t,a=i&&i.exports===u?r.Buffer:void 0,s=(a?a.isBuffer:void 0)||o;t.exports=s},93839:function(t,e,n){var r=n(94318),o=n(85973);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},99216:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},69656:function(t,e,n){var r=n(4368),o=n(76535),u=n(91782),i=u&&u.isMap,a=i?o(i):r;t.exports=a},85973:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},3387:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},66925:function(t,e,n){var r=n(4642),o=n(76535),u=n(91782),i=u&&u.isSet,a=i?o(i):r;t.exports=a},34461:function(t,e,n){var r=n(94318),o=n(77236),u=n(3387);t.exports=function(t){return"string"==typeof t||!o(t)&&u(t)&&"[object String]"==r(t)}},22945:function(t,e,n){var r=n(94318),o=n(3387);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},14812:function(t,e,n){var r=n(73749),o=n(76535),u=n(91782),i=u&&u.isTypedArray,a=i?o(i):r;t.exports=a},52635:function(t,e,n){var r=n(16222),o=n(78803),u=n(81580);t.exports=function(t){return u(t)?r(t):o(t)}},5850:function(t,e,n){var r=n(16222),o=n(32578),u=n(81580);t.exports=function(t){return u(t)?r(t,!0):o(t)}},52169:function(t,e,n){var r=n(40999),o=n(35897),u=n(88904);t.exports=function(t,e){var n={};return e=u(e,3),o(t,(function(t,o,u){r(n,e(t,o,u),t)})),n}},53792:function(t,e,n){var r=n(40999),o=n(35897),u=n(88904);t.exports=function(t,e){var n={};return e=u(e,3),o(t,(function(t,o,u){r(n,o,e(t,o,u))})),n}},30427:function(t,e,n){var r=n(90278);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],u=n.cache;if(u.has(o))return u.get(o);var i=t.apply(this,r);return n.cache=u.set(o,i)||u,i};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},21651:function(t,e,n){var r=n(61712),o=n(14815),u=n(73266),i=n(18780);t.exports=function(t){return u(t)?r(i(t)):o(t)}},54002:function(t,e,n){var r=n(34958)((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));t.exports=r},27471:function(t){t.exports=function(){return[]}},7149:function(t){t.exports=function(){return!1}},22702:function(t,e,n){var r=n(54690),o=n(66438),u=n(26686),i=n(81580),a=n(34461),s=n(17807),c=n(52876),f=n(66350),l=n(51119),h=n(90567),p=r?r.iterator:void 0;t.exports=function(t){if(!t)return[];if(i(t))return a(t)?l(t):o(t);if(p&&t[p])return s(t[p]());var e=u(t);return("[object Map]"==e?c:"[object Set]"==e?f:h)(t)}},41119:function(t,e,n){var r=n(90454);t.exports=function(t){return null==t?"":r(t)}},23940:function(t,e,n){var r=n(54660)("toUpperCase");t.exports=r},90567:function(t,e,n){var r=n(80925),o=n(52635);t.exports=function(t){return null==t?[]:r(t,o(t))}},90280:function(t,e,n){var r=n(64159),o=n(65471),u=n(41119),i=n(6645);t.exports=function(t,e,n){return t=u(t),void 0===(e=n?void 0:e)?o(t)?i(t):r(t):t.match(e)||[]}},18479:function(t){"use strict";function e(t){this._maxSize=t,this.clear()}e.prototype.clear=function(){this._size=0,this._values={}},e.prototype.get=function(t){return this._values[t]},e.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),this._values.hasOwnProperty(t)||this._size++,this._values[t]=e};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,o=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,i=/^\s*(['"]?)(.*?)(\1)\s*$/,a=!1,s=new e(512),c=new e(512),f=new e(512);try{new Function("")}catch(t){a=!0}function l(t){return s.get(t)||s.set(t,h(t).map((function(t){return t.replace(i,"$2")})))}function h(t){return t.match(n)}function p(t,e,n){return"string"==typeof e&&(n=e,e=!1),n=n||"data",(t=t||"")&&"["!==t.charAt(0)&&(t="."+t),e?function(t,e){var n,r=e,o=h(t);return d(o,(function(t,e,o,u,i){n=u===i.length-1,r+=(t=e||o?"["+t+"]":"."+t)+(n?")":" || {})")})),new Array(o.length+1).join("(")+r}(t,n):n+t}function d(t,e,n){var r,o,u,i,a=t.length;for(o=0;o<a;o++)(r=t[o])&&(y(r)&&(r='"'+r+'"'),u=!(i=v(r))&&/^\d+$/.test(r),e.call(n,r,i,u,o,t))}function v(t){return"string"==typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function y(t){return!v(t)&&(function(t){return t.match(o)&&!t.match(r)}(t)||function(t){return u.test(t)}(t))}t.exports={Cache:e,expr:p,split:h,normalizePath:l,setter:a?function(t){var e=l(t);return function(t,n){return function(t,e,n){for(var r=0,o=t.length;r<o-1;)e=e[t[r++]];e[t[r]]=n}(e,t,n)}}:function(t){return c.get(t)||c.set(t,new Function("data, value",p(t,"data")+" = value"))},getter:a?function(t,e){var n=l(t);return function(t){return function(t,e,n){for(var r=0,o=t.length;r<o;){if(null==n&&e)return;n=n[t[r++]]}return n}(n,e,t)}}:function(t,e){var n=t+"_"+e;return f.get(n)||f.set(n,new Function("data","return "+p(t,e,"data")))},join:function(t){return t.reduce((function(t,e){return t+(v(e)||r.test(e)?"["+e+"]":(t?".":"")+e)}),"")},forEach:function(t,e,n){d(h(t),e,n)}}},63958:function(t){"use strict";function e(t){return Array.prototype.slice.apply(t)}var n="pending",r="resolved",o="rejected";function u(t){this.status=n,this._continuations=[],this._parent=null,this._paused=!1,t&&t.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function i(t){return t&&"function"==typeof t.then}function a(t){return t}function s(t){return"undefined"!=typeof window&&"AggregateError"in window?new window.AggregateError(t):{errors:t}}if(u.prototype={then:function(t,e){var n=u.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:n,nextFn:t,catchFn:e}),n;if(e)try{var r=e(this._error);return i(r)?(this._chainPromiseData(r,n),n):u.resolve(r)._setParent(this)}catch(t){return u.reject(t)._setParent(this)}return u.reject(this._error)._setParent(this)}return this._continuations.push({promise:n,nextFn:t,catchFn:e}),this._runResolutions(),n},catch:function(t){if(this._isResolved())return u.resolve(this._data)._setParent(this);var e=u.unresolved()._setParent(this);return this._continuations.push({promise:e,catchFn:t}),this._runRejections(),e},finally:function(t){var e=!1;function n(n,r){if(!e){e=!0,t||(t=a);var o=t(n);return i(o)?o.then((function(){if(r)throw r;return n})):n}}return this.then((function(t){return n(t)})).catch((function(t){return n(null,t)}))},pause:function(){return this._paused=!0,this},resume:function(){var t=this._findFirstPaused();return t&&(t._paused=!1,t._runResolutions(),t._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(t,e){if(e.promise){var n={promise:e.promise,children:e.promise._findAncestry()};t.push(n)}return t}),[])},_setParent:function(t){if(this._parent)throw new Error("parent already set");return this._parent=t,this},_continueWith:function(t){var e=this._findFirstPending();e&&(e._data=t,e._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(t){return t._isPending&&t._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(t){return t._paused}))},_findFirstAncestor:function(t){for(var e,n=this;n;)t(n)&&(e=n),n=n._parent;return e},_failWith:function(t){var e=this._findFirstPending();e&&(e._error=t,e._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var t=this._error,e=this._takeContinuations(),n=this;e.forEach((function(e){if(e.catchFn)try{var r=e.catchFn(t);n._handleUserFunctionResult(r,e.promise)}catch(t){e.promise.reject(t)}else e.promise.reject(t)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var t=this._takeContinuations(),e=this._data,n=this;return t.forEach((function(t){if(t.nextFn)try{var r=t.nextFn(e);n._handleUserFunctionResult(r,t.promise)}catch(e){n._handleResolutionError(e,t)}else t.promise&&t.promise.resolve(e)})),i(this._data)?this._handleWhenResolvedDataIsPromise(this._data):void 0}},_handleResolutionError:function(t,e){if(this._setRejected(),e.catchFn)try{return void e.catchFn(t)}catch(e){t=e}e.promise&&e.promise.reject(t)},_handleWhenResolvedDataIsPromise:function(t){var e=this;return t.then((function(t){e._data=t,e._runResolutions()})).catch((function(t){e._error=t,e._setRejected(),e._runRejections()}))},_handleUserFunctionResult:function(t,e){i(t)?this._chainPromiseData(t,e):e.resolve(t)},_chainPromiseData:function(t,e){t.then((function(t){e.resolve(t)})).catch((function(t){e.reject(t)}))},_setResolved:function(){this.status=r,this._paused||this._runResolutions()},_setRejected:function(){this.status=o,this._paused||this._runRejections()},_isPending:function(){return this.status===n},_isResolved:function(){return this.status===r},_isRejected:function(){return this.status===o}},u.resolve=function(t){return new u((function(e,n){i(t)?t.then((function(t){e(t)})).catch((function(t){n(t)})):e(t)}))},u.reject=function(t){return new u((function(e,n){n(t)}))},u.unresolved=function(){return new u((function(t,e){this.resolve=t,this.reject=e}))},u.all=function(){var t=e(arguments);return Array.isArray(t[0])&&(t=t[0]),t.length?new u((function(e,n){var r=[],o=0,i=!1;t.forEach((function(a,s){u.resolve(a).then((function(n){r[s]=n,(o+=1)===t.length&&e(r)})).catch((function(t){!function(t){i||(i=!0,n(t))}(t)}))}))})):u.resolve([])},u.any=function(){var t=e(arguments);return Array.isArray(t[0])&&(t=t[0]),t.length?new u((function(e,n){var r=[],o=0,i=!1;t.forEach((function(a,c){u.resolve(a).then((function(t){i||(i=!0,e(t))})).catch((function(e){r[c]=e,(o+=1)===t.length&&n(s(r))}))}))})):u.reject(s([]))},u.allSettled=function(){var t=e(arguments);return Array.isArray(t[0])&&(t=t[0]),t.length?new u((function(e){var n=[],r=0,o=function(){(r+=1)===t.length&&e(n)};t.forEach((function(t,e){u.resolve(t).then((function(t){n[e]={status:"fulfilled",value:t},o()})).catch((function(t){n[e]={status:"rejected",reason:t},o()}))}))})):u.resolve([])},Promise===u)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var c=Promise;u.installGlobally=function(t){if(Promise===u)return t;var n=function(t){if(void 0===t||t.__patched)return t;var n=t;return t=function(){n.apply(this,e(arguments))},t.__patched=!0,t}(t);return Promise=u,n},u.uninstallGlobally=function(){Promise===u&&(Promise=c)},t.exports={SynchronousPromise:u}},99556:function(t){function e(t,e){var n=t.length,r=new Array(n),o={},u=n,i=function(t){for(var e=new Map,n=0,r=t.length;n<r;n++){var o=t[n];e.has(o[0])||e.set(o[0],new Set),e.has(o[1])||e.set(o[1],new Set),e.get(o[0]).add(o[1])}return e}(e),a=function(t){for(var e=new Map,n=0,r=t.length;n<r;n++)e.set(t[n],n);return e}(t);for(e.forEach((function(t){if(!a.has(t[0])||!a.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));u--;)o[u]||s(t[u],u,new Set);return r;function s(t,e,u){if(u.has(t)){var c;try{c=", node was:"+JSON.stringify(t)}catch(t){c=""}throw new Error("Cyclic dependency"+c)}if(!a.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!o[e]){o[e]=!0;var f=i.get(t)||new Set;if(e=(f=Array.from(f)).length){u.add(t);do{var l=f[--e];s(l,a.get(l),u)}while(e);u.delete(t)}r[--n]=t}}}t.exports=function(t){return e(function(t){for(var e=new Set,n=0,r=t.length;n<r;n++){var o=t[n];e.add(o[0]),e.add(o[1])}return Array.from(e)}(t),t)},t.exports.array=e},99044:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=void 0;var o=r(n(23973)),u=r(n(3098)),i=function(){function t(t,e){if(this.refs=t,"function"!=typeof e){if(!(0,o.default)(e,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!e.then&&!e.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=e.is,r=e.then,u=e.otherwise,i="function"==typeof n?n:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.every((function(t){return t===n}))};this.fn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e.pop(),a=e.pop(),s=i.apply(void 0,e)?r:u;if(s)return"function"==typeof s?s(a):a.concat(s.resolve(o))}}else this.fn=e}return t.prototype.resolve=function(t,e){var n=this.refs.map((function(t){return t.getValue(e)})),r=this.fn.apply(t,n.concat(t,e));if(void 0===r||r===t)return t;if(!(0,u.default)(r))throw new TypeError("conditions must return a schema object");return r.resolve(e)},t}(),a=i;e.default=a,t.exports=e.default},78664:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=void 0;var o=r(n(3098)),u=function(){function t(t){this._resolve=function(e,n){var r=t(e,n);if(!(0,o.default)(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(n)}}var e=t.prototype;return e.resolve=function(t){return this._resolve(t.value,t)},e.cast=function(t,e){return this._resolve(t,e).cast(t,e)},e.validate=function(t,e){return this._resolve(t,e).validate(t,e)},e.validateSync=function(t,e){return this._resolve(t,e).validateSync(t,e)},e.validateAt=function(t,e,n){return this._resolve(e,n).validateAt(t,e,n)},e.validateSyncAt=function(t,e,n){return this._resolve(e,n).validateSyncAt(t,e,n)},t}();u.prototype.__isYupSchema__=!0;var i=u;e.default=i,t.exports=e.default},44618:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=void 0;var o=r(n(448)),u=n(18479),i=function(){function t(t,e){if(void 0===e&&(e={}),"string"!=typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?"$":this.isValue?".":"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,u.getter)(this.path,!0),this.map=e.map}var e=t.prototype;return e.getValue=function(t){var e=this.isContext?t.context:this.isValue?t.value:t.parent;return this.getter&&(e=this.getter(e||{})),this.map&&(e=this.map(e)),e},e.cast=function(t,e){return this.getValue((0,o.default)({},e,{value:t}))},e.resolve=function(){return this},e.describe=function(){return{type:"ref",key:this.key}},e.toString=function(){return"Ref("+this.key+")"},t.isRef=function(t){return t&&t.__isYupRef},t}();e.default=i,i.prototype.__isYupRef=!0,t.exports=e.default},81699:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=i;var o=r(n(74107)),u=/\$\{\s*(\w+)\s*\}/g;function i(t,e,n,r){var o=this;this.name="ValidationError",this.value=e,this.path=n,this.type=r,this.errors=[],this.inner=[],t&&[].concat(t).forEach((function(t){o.errors=o.errors.concat(t.errors||t),t.inner&&(o.inner=o.inner.concat(t.inner.length?t.inner:t))})),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,i)}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i.isError=function(t){return t&&"ValidationError"===t.name},i.formatError=function(t,e){var n;"string"==typeof t&&(n=t,t=function(t){return n.replace(u,(function(e,n){return(0,o.default)(t[n])}))});var r=function(e){return e.path=e.label||e.path||"this","function"==typeof t?t(e):t};return 1===arguments.length?r:r(e)},t.exports=e.default},41249:function(t,e,n){"use strict";var r=n(54168),o=n(34169);e.__esModule=!0,e.default=void 0;var u=o(n(448)),i=o(n(82683)),a=o(n(9122)),s=o(n(58628)),c=o(n(3098)),f=o(n(29331)),l=o(n(74107)),h=o(n(96199)),p=n(12293),d=r(n(65638));function v(){var t=(0,i.default)(["","[","]"]);return v=function(){return t},t}var y=_;function _(t){var e=this;if(!(this instanceof _))return new _(t);h.default.call(this,{type:"array"}),this._subType=void 0,this.withMutation((function(){e.transform((function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null})),t&&e.of(t)}))}e.default=y,(0,a.default)(_,h.default,{_typeCheck:function(t){return Array.isArray(t)},_cast:function(t,e){var n=this,r=h.default.prototype._cast.call(this,t,e);if(!this._typeCheck(r)||!this._subType)return r;var o=!1,u=r.map((function(t){var r=n._subType.cast(t,e);return r!==t&&(o=!0),r}));return o?u:r},_validate:function(t,e){var n=this;void 0===e&&(e={});var r=[],o=e.sync,i=e.path,a=this._subType,s=this._option("abortEarly",e),c=this._option("recursive",e),l=null!=e.originalValue?e.originalValue:t;return h.default.prototype._validate.call(this,t,e).catch((0,d.propagateErrors)(s,r)).then((function(t){if(!c||!a||!n._typeCheck(t)){if(r.length)throw r[0];return t}l=l||t;var h=t.map((function(n,r){var o=(0,f.default)(v(),e.path,r),i=(0,u.default)({},e,{path:o,strict:!0,parent:t,originalValue:l[r]});return!a.validate||a.validate(n,i)}));return(0,d.default)({sync:o,path:i,value:t,errors:r,endEarly:s,validations:h})}))},_isPresent:function(t){return h.default.prototype._cast.call(this,t)&&t.length>0},of:function(t){var e=this.clone();if(!1!==t&&!(0,c.default)(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+(0,l.default)(t));return e._subType=t,e},min:function(t,e){return e=e||p.array.min,this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return(0,s.default)(e)||e.length>=this.resolve(t)}})},max:function(t,e){return e=e||p.array.max,this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return(0,s.default)(e)||e.length<=this.resolve(t)}})},ensure:function(){var t=this;return this.default((function(){return[]})).transform((function(e){return t.isType(e)?e:null===e?[]:[].concat(e)}))},compact:function(t){var e=t?function(e,n,r){return!t(e,n,r)}:function(t){return!!t};return this.transform((function(t){return null!=t?t.filter(e):t}))},describe:function(){var t=h.default.prototype.describe.call(this);return this._subType&&(t.innerType=this._subType.describe()),t}}),t.exports=e.default},26071:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=void 0;var o=r(n(9122)),u=r(n(96199)),i=a;function a(){var t=this;if(!(this instanceof a))return new a;u.default.call(this,{type:"boolean"}),this.withMutation((function(){t.transform((function(t){if(!this.isType(t)){if(/^(true|1)$/i.test(t))return!0;if(/^(false|0)$/i.test(t))return!1}return t}))}))}e.default=i,(0,o.default)(a,u.default,{_typeCheck:function(t){return t instanceof Boolean&&(t=t.valueOf()),"boolean"==typeof t}}),t.exports=e.default},61353:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=void 0;var o=r(n(96199)),u=r(n(9122)),i=r(n(43138)),a=n(12293),s=r(n(58628)),c=r(n(44618)),f=new Date(""),l=h;function h(){var t=this;if(!(this instanceof h))return new h;o.default.call(this,{type:"date"}),this.withMutation((function(){t.transform((function(t){return this.isType(t)?t:(t=(0,i.default)(t))?new Date(t):f}))}))}e.default=l,(0,u.default)(h,o.default,{_typeCheck:function(t){return e=t,"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(t.getTime());var e},min:function(t,e){void 0===e&&(e=a.date.min);var n=t;if(!c.default.isRef(n)&&(n=this.cast(t),!this._typeCheck(n)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(t){return(0,s.default)(t)||t>=this.resolve(n)}})},max:function(t,e){void 0===e&&(e=a.date.max);var n=t;if(!c.default.isRef(n)&&(n=this.cast(t),!this._typeCheck(n)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(t){return(0,s.default)(t)||t<=this.resolve(n)}})}}),t.exports=e.default},5173:function(t,e,n){"use strict";var r=n(34169);e.O7=void 0,r(n(96199)).default;var o=r(n(26071));o.default;var u=r(n(76921));e.Z_=u.default,r(n(44489)).default,r(n(61353)).default;var i=r(n(4509));e.Ry=i.default,r(n(41249)).default;r(n(44618)),r(n(78664));r(n(81699)).default,r(n(55058)).default,r(n(3098)).default,r(n(60757)).default;var a=o.default;e.O7=a},12293:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=e.array=e.object=e.boolean=e.date=e.number=e.string=e.mixed=void 0;var o=r(n(74107)),u={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(t){var e=t.path,n=t.type,r=t.value,u=t.originalValue,i=null!=u&&u!==r,a=e+" must be a `"+n+"` type, but the final value was: `"+(0,o.default)(r,!0)+"`"+(i?" (cast from the value `"+(0,o.default)(u,!0)+"`).":".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a}};e.mixed=u;var i={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"};e.string=i;var a={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"};e.number=a;var s={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"};e.date=s;var c={};e.boolean=c;var f={noUnknown:"${path} field cannot have keys not specified in the object shape"};e.object=f;var l={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"};e.array=l;var h={mixed:u,string:i,number:a,date:s,object:f,array:l,boolean:c};e.default=h},96199:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=m;var o=r(n(448)),u=r(n(23973)),i=r(n(13382)),a=r(n(22702)),s=n(12293),c=r(n(99044)),f=r(n(65638)),l=r(n(39403)),h=r(n(3098)),p=r(n(79473)),d=r(n(74107)),v=r(n(44618)),y=n(55058),_=function(){function t(){this.list=new Set,this.refs=new Map}var e=t.prototype;return e.toArray=function(){return(0,a.default)(this.list).concat((0,a.default)(this.refs.values()))},e.add=function(t){v.default.isRef(t)?this.refs.set(t.key,t):this.list.add(t)},e.delete=function(t){v.default.isRef(t)?this.refs.delete(t.key,t):this.list.delete(t)},e.has=function(t,e){if(this.list.has(t))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(e(n.value)===t)return!0;return!1},t}();function m(t){var e=this;if(void 0===t&&(t={}),!(this instanceof m))return new m;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new _,this._blacklist=new _,this.tests=[],this.transforms=[],this.withMutation((function(){e.typeError(s.mixed.notType)})),(0,u.default)(t,"default")&&(this._defaultDefault=t.default),this._type=t.type||"mixed"}for(var x=m.prototype={__isYupSchema__:!0,constructor:m,clone:function(){var t=this;return this._mutate?this:(0,i.default)(this,(function(e){if((0,h.default)(e)&&e!==t)return e}))},label:function(t){var e=this.clone();return e._label=t,e},meta:function(t){if(0===arguments.length)return this._meta;var e=this.clone();return e._meta=(0,o.default)(e._meta||{},t),e},withMutation:function(t){var e=this._mutate;this._mutate=!0;var n=t(this);return this._mutate=e,n},concat:function(t){if(!t||t===this)return this;if(t._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+t._type);var e=(0,l.default)(t.clone(),this);return(0,u.default)(t,"_default")&&(e._default=t._default),e.tests=this.tests,e._exclusive=this._exclusive,e.withMutation((function(e){t.tests.forEach((function(t){e.test(t.OPTIONS)}))})),e},isType:function(t){return!(!this._nullable||null!==t)||!this._typeCheck||this._typeCheck(t)},resolve:function(t){var e=this;if(e._conditions.length){var n=e._conditions;(e=e.clone())._conditions=[],e=(e=n.reduce((function(e,n){return n.resolve(e,t)}),e)).resolve(t)}return e},cast:function(t,e){void 0===e&&(e={});var n=this.resolve((0,o.default)({},e,{value:t})),r=n._cast(t,e);if(void 0!==t&&!1!==e.assert&&!0!==n.isType(r)){var u=(0,d.default)(t),i=(0,d.default)(r);throw new TypeError("The value of "+(e.path||"field")+' could not be cast to a value that satisfies the schema type: "'+n._type+'". \n\nattempted value: '+u+" \n"+(i!==u?"result of cast: "+i:""))}return r},_cast:function(t){var e=this,n=void 0===t?t:this.transforms.reduce((function(n,r){return r.call(e,n,t)}),t);return void 0===n&&(0,u.default)(this,"_default")&&(n=this.default()),n},_validate:function(t,e){var n=this;void 0===e&&(e={});var r=t,u=null!=e.originalValue?e.originalValue:t,i=this._option("strict",e),a=this._option("abortEarly",e),s=e.sync,c=e.path,l=this._label;i||(r=this._cast(r,(0,o.default)({assert:!1},e)));var h={value:r,path:c,schema:this,options:e,label:l,originalValue:u,sync:s},p=[];return this._typeError&&p.push(this._typeError(h)),this._whitelistError&&p.push(this._whitelistError(h)),this._blacklistError&&p.push(this._blacklistError(h)),(0,f.default)({validations:p,endEarly:a,value:r,path:c,sync:s}).then((function(t){return(0,f.default)({path:c,sync:s,value:t,endEarly:a,validations:n.tests.map((function(t){return t(h)}))})}))},validate:function(t,e){return void 0===e&&(e={}),this.resolve((0,o.default)({},e,{value:t}))._validate(t,e)},validateSync:function(t,e){var n,r;if(void 0===e&&(e={}),this.resolve((0,o.default)({},e,{value:t}))._validate(t,(0,o.default)({},e,{sync:!0})).then((function(t){return n=t})).catch((function(t){return r=t})),r)throw r;return n},isValid:function(t,e){return this.validate(t,e).then((function(){return!0})).catch((function(t){if("ValidationError"===t.name)return!1;throw t}))},isValidSync:function(t,e){try{return this.validateSync(t,e),!0}catch(t){if("ValidationError"===t.name)return!1;throw t}},getDefault:function(t){return void 0===t&&(t={}),this.resolve(t).default()},default:function(t){if(0===arguments.length){var e=(0,u.default)(this,"_default")?this._default:this._defaultDefault;return"function"==typeof e?e.call(this):(0,i.default)(e)}var n=this.clone();return n._default=t,n},strict:function(t){void 0===t&&(t=!0);var e=this.clone();return e._options.strict=t,e},_isPresent:function(t){return null!=t},required:function(t){return void 0===t&&(t=s.mixed.required),this.test({message:t,name:"required",exclusive:!0,test:function(t){return this.schema._isPresent(t)}})},notRequired:function(){var t=this.clone();return t.tests=t.tests.filter((function(t){return"required"!==t.OPTIONS.name})),t},nullable:function(t){void 0===t&&(t=!0);var e=this.clone();return e._nullable=t,e},transform:function(t){var e=this.clone();return e.transforms.push(t),e},test:function(){var t;if(void 0===(t=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(t.message=s.mixed.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");var e=this.clone(),n=(0,p.default)(t),r=t.exclusive||t.name&&!0===e._exclusive[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e._exclusive[t.name]=!!t.exclusive,e.tests=e.tests.filter((function(e){if(e.OPTIONS.name===t.name){if(r)return!1;if(e.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),e.tests.push(n),e},when:function(t,e){1===arguments.length&&(e=t,t=".");var n=this.clone(),r=[].concat(t).map((function(t){return new v.default(t)}));return r.forEach((function(t){t.isSibling&&n._deps.push(t.key)})),n._conditions.push(new c.default(r,e)),n},typeError:function(t){var e=this.clone();return e._typeError=(0,p.default)({message:t,name:"typeError",test:function(t){return!(void 0!==t&&!this.schema.isType(t))||this.createError({params:{type:this.schema._type}})}}),e},oneOf:function(t,e){void 0===e&&(e=s.mixed.oneOf);var n=this.clone();return t.forEach((function(t){n._whitelist.add(t),n._blacklist.delete(t)})),n._whitelistError=(0,p.default)({message:e,name:"oneOf",test:function(t){if(void 0===t)return!0;var e=this.schema._whitelist;return!!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),n},notOneOf:function(t,e){void 0===e&&(e=s.mixed.notOneOf);var n=this.clone();return t.forEach((function(t){n._blacklist.add(t),n._whitelist.delete(t)})),n._blacklistError=(0,p.default)({message:e,name:"notOneOf",test:function(t){var e=this.schema._blacklist;return!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),n},strip:function(t){void 0===t&&(t=!0);var e=this.clone();return e._strip=t,e},_option:function(t,e){return(0,u.default)(e,t)?e[t]:this._options[t]},describe:function(){var t=this.clone();return{type:t._type,meta:t._meta,label:t._label,tests:t.tests.map((function(t){return{name:t.OPTIONS.name,params:t.OPTIONS.params}})).filter((function(t,e,n){return n.findIndex((function(e){return e.name===t.name}))===e}))}}},b=["validate","validateSync"],g=function(){var t=b[F];x[t+"At"]=function(e,n,r){void 0===r&&(r={});var u=(0,y.getIn)(this,e,n,r.context),i=u.parent,a=u.parentPath;return u.schema[t](i&&i[a],(0,o.default)({},r,{parent:i,path:e}))}},F=0;F<b.length;F++)g();for(var w=["equals","is"],j=0;j<w.length;j++)x[w[j]]=x.oneOf;for(var E=["not","nope"],O=0;O<E.length;O++)x[E[O]]=x.notOneOf;x.optional=x.notRequired,t.exports=e.default},44489:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=c;var o=r(n(9122)),u=r(n(96199)),i=n(12293),a=r(n(58628)),s=function(t){return(0,a.default)(t)||t===(0|t)};function c(){var t=this;if(!(this instanceof c))return new c;u.default.call(this,{type:"number"}),this.withMutation((function(){t.transform((function(t){var e=t;if("string"==typeof e){if(""===(e=e.replace(/\s/g,"")))return NaN;e=+e}return this.isType(e)?e:parseFloat(e)}))}))}(0,o.default)(c,u.default,{_typeCheck:function(t){return t instanceof Number&&(t=t.valueOf()),"number"==typeof t&&!function(t){return t!=+t}(t)},min:function(t,e){return void 0===e&&(e=i.number.min),this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return(0,a.default)(e)||e>=this.resolve(t)}})},max:function(t,e){return void 0===e&&(e=i.number.max),this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return(0,a.default)(e)||e<=this.resolve(t)}})},lessThan:function(t,e){return void 0===e&&(e=i.number.lessThan),this.test({message:e,name:"max",exclusive:!0,params:{less:t},test:function(e){return(0,a.default)(e)||e<this.resolve(t)}})},moreThan:function(t,e){return void 0===e&&(e=i.number.moreThan),this.test({message:e,name:"min",exclusive:!0,params:{more:t},test:function(e){return(0,a.default)(e)||e>this.resolve(t)}})},positive:function(t){return void 0===t&&(t=i.number.positive),this.moreThan(0,t)},negative:function(t){return void 0===t&&(t=i.number.negative),this.lessThan(0,t)},integer:function(t){return void 0===t&&(t=i.number.integer),this.test({name:"integer",message:t,test:s})},truncate:function(){return this.transform((function(t){return(0,a.default)(t)?t:0|t}))},round:function(t){var e=["ceil","floor","round","trunc"];if("trunc"===(t=t&&t.toLowerCase()||"round"))return this.truncate();if(-1===e.indexOf(t.toLowerCase()))throw new TypeError("Only valid options for round() are: "+e.join(", "));return this.transform((function(e){return(0,a.default)(e)?e:Math[t](e)}))}}),t.exports=e.default},4509:function(t,e,n){"use strict";var r=n(54168),o=n(34169);e.__esModule=!0,e.default=w;var u=o(n(82683)),i=o(n(448)),a=o(n(23973)),s=o(n(54002)),c=o(n(39935)),f=o(n(52169)),l=o(n(53792)),h=n(18479),p=o(n(96199)),d=n(12293),v=o(n(91688)),y=o(n(20055)),_=o(n(9122)),m=o(n(29331)),x=r(n(65638));function b(){var t=(0,u.default)(["",".",""]);return b=function(){return t},t}function g(){var t=(0,u.default)(["",".",""]);return g=function(){return t},t}var F=function(t){return"[object Object]"===Object.prototype.toString.call(t)};function w(t){var e=this;if(!(this instanceof w))return new w(t);p.default.call(this,{type:"object",default:function(){var t=this;if(this._nodes.length){var e={};return this._nodes.forEach((function(n){e[n]=t.fields[n].default?t.fields[n].default():void 0})),e}}}),this.fields=Object.create(null),this._nodes=[],this._excludedEdges=[],this.withMutation((function(){e.transform((function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null})),t&&e.shape(t)}))}(0,_.default)(w,p.default,{_typeCheck:function(t){return F(t)||"function"==typeof t},_cast:function(t,e){var n=this;void 0===e&&(e={});var r=p.default.prototype._cast.call(this,t,e);if(void 0===r)return this.default();if(!this._typeCheck(r))return r;var o=this.fields,u=!0===this._option("stripUnknown",e),s=this._nodes.concat(Object.keys(r).filter((function(t){return-1===n._nodes.indexOf(t)}))),c={},f=(0,i.default)({},e,{parent:c,__validating:!1}),l=!1;return s.forEach((function(t){var n=o[t],i=(0,a.default)(r,t);if(n){var s,h=n._options&&n._options.strict;if(f.path=(0,m.default)(g(),e.path,t),f.value=r[t],!0===(n=n.resolve(f))._strip)return void(l=l||t in r);void 0!==(s=e.__validating&&h?r[t]:n.cast(r[t],f))&&(c[t]=s)}else i&&!u&&(c[t]=r[t]);c[t]!==r[t]&&(l=!0)})),l?c:r},_validate:function(t,e){var n,r,o=this;void 0===e&&(e={});var u=e.sync,a=[],s=null!=e.originalValue?e.originalValue:t;return n=this._option("abortEarly",e),r=this._option("recursive",e),e=(0,i.default)({},e,{__validating:!0,originalValue:s}),p.default.prototype._validate.call(this,t,e).catch((0,x.propagateErrors)(n,a)).then((function(t){if(!r||!F(t)){if(a.length)throw a[0];return t}s=s||t;var c=o._nodes.map((function(n){var r=(0,m.default)(b(),e.path,n),u=o.fields[n],a=(0,i.default)({},e,{path:r,parent:t,originalValue:s[n]});return u&&u.validate?(a.strict=!0,u.validate(t[n],a)):Promise.resolve(!0)}));return(0,x.default)({sync:u,validations:c,value:t,errors:a,endEarly:n,path:e.path,sort:(0,y.default)(o.fields)})}))},concat:function(t){var e=p.default.prototype.concat.call(this,t);return e._nodes=(0,v.default)(e.fields,e._excludedEdges),e},shape:function(t,e){void 0===e&&(e=[]);var n=this.clone(),r=(0,i.default)(n.fields,t);if(n.fields=r,e.length){Array.isArray(e[0])||(e=[e]);var o=e.map((function(t){return t[0]+"-"+t[1]}));n._excludedEdges=n._excludedEdges.concat(o)}return n._nodes=(0,v.default)(r,n._excludedEdges),n},from:function(t,e,n){var r=(0,h.getter)(t,!0);return this.transform((function(o){if(null==o)return o;var u=o;return(0,a.default)(o,t)&&(u=(0,i.default)({},o),n||delete u[t],u[e]=r(o)),u}))},noUnknown:function(t,e){void 0===t&&(t=!0),void 0===e&&(e=d.object.noUnknown),"string"==typeof t&&(e=t,t=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:e,test:function(e){return null==e||!t||0===function(t,e){var n=Object.keys(t.fields);return Object.keys(e).filter((function(t){return-1===n.indexOf(t)}))}(this.schema,e).length}});return n._options.stripUnknown=t,n},unknown:function(t,e){return void 0===t&&(t=!0),void 0===e&&(e=d.object.noUnknown),this.noUnknown(!t,e)},transformKeys:function(t){return this.transform((function(e){return e&&(0,f.default)(e,(function(e,n){return t(n)}))}))},camelCase:function(){return this.transformKeys(c.default)},snakeCase:function(){return this.transformKeys(s.default)},constantCase:function(){return this.transformKeys((function(t){return(0,s.default)(t).toUpperCase()}))},describe:function(){var t=p.default.prototype.describe.call(this);return t.fields=(0,l.default)(this.fields,(function(t){return t.describe()})),t}}),t.exports=e.default},60757:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=function(t){Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){o.default[e][n]=t[e][n]}))}))};var o=r(n(12293));t.exports=e.default},76921:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=l;var o=r(n(9122)),u=r(n(96199)),i=n(12293),a=r(n(58628)),s=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,c=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,f=function(t){return(0,a.default)(t)||t===t.trim()};function l(){var t=this;if(!(this instanceof l))return new l;u.default.call(this,{type:"string"}),this.withMutation((function(){t.transform((function(t){return this.isType(t)?t:null!=t&&t.toString?t.toString():t}))}))}(0,o.default)(l,u.default,{_typeCheck:function(t){return t instanceof String&&(t=t.valueOf()),"string"==typeof t},_isPresent:function(t){return u.default.prototype._cast.call(this,t)&&t.length>0},length:function(t,e){return void 0===e&&(e=i.string.length),this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return(0,a.default)(e)||e.length===this.resolve(t)}})},min:function(t,e){return void 0===e&&(e=i.string.min),this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return(0,a.default)(e)||e.length>=this.resolve(t)}})},max:function(t,e){return void 0===e&&(e=i.string.max),this.test({name:"max",exclusive:!0,message:e,params:{max:t},test:function(e){return(0,a.default)(e)||e.length<=this.resolve(t)}})},matches:function(t,e){var n,r=!1;return e&&(e.message||e.hasOwnProperty("excludeEmptyString")?(r=e.excludeEmptyString,n=e.message):n=e),this.test({message:n||i.string.matches,params:{regex:t},test:function(e){return(0,a.default)(e)||""===e&&r||t.test(e)}})},email:function(t){return void 0===t&&(t=i.string.email),this.matches(s,{message:t,excludeEmptyString:!0})},url:function(t){return void 0===t&&(t=i.string.url),this.matches(c,{message:t,excludeEmptyString:!0})},ensure:function(){return this.default("").transform((function(t){return null===t?"":t}))},trim:function(t){return void 0===t&&(t=i.string.trim),this.transform((function(t){return null!=t?t.trim():t})).test({message:t,name:"trim",test:f})},lowercase:function(t){return void 0===t&&(t=i.string.lowercase),this.transform((function(t){return(0,a.default)(t)?t:t.toLowerCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return(0,a.default)(t)||t===t.toLowerCase()}})},uppercase:function(t){return void 0===t&&(t=i.string.uppercase),this.transform((function(t){return(0,a.default)(t)?t:t.toUpperCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return(0,a.default)(t)||t===t.toUpperCase()}})}}),t.exports=e.default},79473:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.createErrorFactory=h,e.default=function(t){var e=t.name,n=t.message,r=t.test,i=t.params;function f(t){var f=t.value,p=t.path,d=t.label,v=t.options,y=t.originalValue,_=t.sync,m=(0,o.default)(t,["value","path","label","options","originalValue","sync"]),x=v.parent,b=function(t){return s.default.isRef(t)?t.getValue({value:f,parent:x,context:v.context}):t},g=h({message:n,path:p,value:f,originalValue:y,params:i,label:d,resolve:b,name:e}),F=(0,u.default)({path:p,parent:x,type:e,createError:g,resolve:b,options:v},m);return function(t,e,n,r){var o=t.call(e,n);if(!r)return Promise.resolve(o);if(l(o))throw new Error('Validation test of type: "'+e.type+'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned');return c.SynchronousPromise.resolve(o)}(r,F,f,_).then((function(t){if(a.default.isError(t))throw t;if(!t)throw g()}))}return f.OPTIONS=t,f};var o=r(n(66820)),u=r(n(448)),i=r(n(53792)),a=r(n(81699)),s=r(n(44618)),c=n(63958),f=a.default.formatError,l=function(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch};function h(t){var e=t.value,n=t.label,r=t.resolve,s=t.originalValue,c=(0,o.default)(t,["value","label","resolve","originalValue"]);return function(t){var o=void 0===t?{}:t,l=o.path,h=void 0===l?c.path:l,p=o.message,d=void 0===p?c.message:p,v=o.type,y=void 0===v?c.name:v,_=o.params;return _=(0,u.default)({path:h,value:e,originalValue:s,label:n},function(t,e,n){return(0,i.default)((0,u.default)({},t,e),n)}(c.params,_,r)),(0,u.default)(new a.default(f(d,_),e,h,y),{params:_})}}},9122:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=function(t,e,n){t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),(0,o.default)(t.prototype,n)};var o=r(n(448));t.exports=e.default},58628:function(t,e){"use strict";e.__esModule=!0,e.default=void 0,e.default=function(t){return null==t},t.exports=e.default},3098:function(t,e){"use strict";e.__esModule=!0,e.default=void 0,e.default=function(t){return t&&t.__isYupSchema__},t.exports=e.default},43138:function(t,e){"use strict";e.__esModule=!0,e.default=function(t){var e,r,o=[1,4,5,6,7,10,11],u=0;if(r=n.exec(t)){for(var i,a=0;i=o[a];++a)r[i]=+r[i]||0;r[2]=(+r[2]||1)-1,r[3]=+r[3]||1,r[7]=r[7]?String(r[7]).substr(0,3):0,void 0!==r[8]&&""!==r[8]||void 0!==r[9]&&""!==r[9]?("Z"!==r[8]&&void 0!==r[9]&&(u=60*r[10]+r[11],"+"===r[9]&&(u=0-u)),e=Date.UTC(r[1],r[2],r[3],r[4],r[5]+u,r[6],r[7])):e=+new Date(r[1],r[2],r[3],r[4],r[5],r[6],r[7])}else e=Date.parse?Date.parse(t):NaN;return e};var n=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;t.exports=e.default},29331:function(t,e){"use strict";e.__esModule=!0,e.default=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.reduce((function(t,e){var r=n.shift();return t+(null==r?"":r)+e})).replace(/^\./,"")},t.exports=e.default},39403:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=function t(e,n){for(var r in n)if((0,o.default)(n,r)){var a=n[r],s=e[r];if(void 0===s)e[r]=a;else{if(s===a)continue;(0,u.default)(s)?(0,u.default)(a)&&(e[r]=a.concat(s)):i(s)?i(a)&&(e[r]=t(s,a)):Array.isArray(s)&&Array.isArray(a)&&(e[r]=a.concat(s))}}return e};var o=r(n(23973)),u=r(n(3098)),i=function(t){return"[object Object]"===Object.prototype.toString.call(t)};t.exports=e.default},74107:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){var n=a(t,e);return null!==n?n:JSON.stringify(t,(function(t,n){var r=a(this[t],e);return null!==r?r:n}),2)};var n=Object.prototype.toString,r=Error.prototype.toString,o=RegExp.prototype.toString,u="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},i=/^Symbol\((.*)\)(.*)$/;function a(t,e){if(void 0===e&&(e=!1),null==t||!0===t||!1===t)return""+t;var a=typeof t;if("number"===a)return function(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}(t);if("string"===a)return e?'"'+t+'"':t;if("function"===a)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===a)return u.call(t).replace(i,"Symbol($1)");var s=n.call(t).slice(8,-1);return"Date"===s?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===s||t instanceof Error?"["+r.call(t)+"]":"RegExp"===s?o.call(t):null}t.exports=e.default},55058:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.getIn=a,e.default=void 0;var o=n(18479),u=r(n(23973)),i=function(t){return t.substr(0,t.length-1).substr(1)};function a(t,e,n,r){var a,s,c;return r=r||n,e?((0,o.forEach)(e,(function(o,f,l){var h=f?i(o):o;if(l||(0,u.default)(t,"_subType")){var p=l?parseInt(h,10):0;if(t=t.resolve({context:r,parent:a,value:n})._subType,n){if(l&&p>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: "+o+", in the path: "+e+". because there is no value at that index. ");n=n[p]}}if(!l){if(t=t.resolve({context:r,parent:a,value:n}),!(0,u.default)(t,"fields")||!(0,u.default)(t.fields,h))throw new Error("The schema does not contain the path: "+e+". (failed at: "+c+' which is a type: "'+t._type+'") ');t=t.fields[h],a=n,n=n&&n[h],s=h,c=f?"["+o+"]":"."+o}})),{schema:t,parent:a,parentPath:s}):{parent:a,parentPath:e,schema:t}}e.default=function(t,e,n,r){return a(t,e,n,r).schema}},65638:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.propagateErrors=function(t,e){return t?null:function(t){return e.push(t),t.value}},e.settled=c,e.collectErrors=f,e.default=function(t){var e,n,r,u=t.endEarly,i=(0,o.default)(t,["endEarly"]);return u?(e=i.validations,n=i.value,r=i.sync,a(r).all(e).catch((function(t){throw"ValidationError"===t.name&&(t.value=n),t})).then((function(){return n}))):f(i)};var o=r(n(66820)),u=n(63958),i=r(n(81699)),a=function(t){return t?u.SynchronousPromise:Promise},s=function(t){return void 0===t&&(t=[]),t.inner&&t.inner.length?t.inner:[].concat(t)};function c(t,e){var n=a(e);return n.all(t.map((function(t){return n.resolve(t).then((function(t){return{fulfilled:!0,value:t}}),(function(t){return{fulfilled:!1,value:t}}))})))}function f(t){var e=t.validations,n=t.value,r=t.path,o=t.sync,u=t.errors,a=t.sort;return u=s(u),c(e,o).then((function(t){var e=t.filter((function(t){return!t.fulfilled})).reduce((function(t,e){var n=e.value;if(!i.default.isError(n))throw n;return t.concat(n)}),[]);if(a&&e.sort(a),(u=e.concat(u)).length)throw new i.default(u,n,r);return n}))}},20055:function(t,e){"use strict";function n(t,e){var n=1/0;return t.some((function(t,r){if(-1!==e.path.indexOf(t))return n=r,!0})),n}e.__esModule=!0,e.default=function(t){var e=Object.keys(t);return function(t,r){return n(e,t)-n(e,r)}},t.exports=e.default},91688:function(t,e,n){"use strict";var r=n(34169);e.__esModule=!0,e.default=function(t,e){void 0===e&&(e=[]);var n=[],r=[];function c(t,o){var u=(0,i.split)(t)[0];~r.indexOf(u)||r.push(u),~e.indexOf(o+"-"+u)||n.push([o,u])}for(var f in t)if((0,o.default)(t,f)){var l=t[f];~r.indexOf(f)||r.push(f),a.default.isRef(l)&&l.isSibling?c(l.path,f):(0,s.default)(l)&&l._deps&&l._deps.forEach((function(t){return c(t,f)}))}return u.default.array(r,n).reverse()};var o=r(n(23973)),u=r(n(99556)),i=n(18479),a=r(n(44618)),s=r(n(3098));t.exports=e.default},34169:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},54168:function(t,e,n){var r=n(8114).default;function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var u={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(u,a,s):u[a]=t[a]}return u.default=t,n&&n.set(t,u),u},t.exports.__esModule=!0,t.exports.default=t.exports},66820:function(t){t.exports=function(t,e){if(null==t)return{};var n,r,o={},u=Object.keys(t);for(r=0;r<u.length;r++)n=u[r],e.indexOf(n)>=0||(o[n]=t[n]);return o},t.exports.__esModule=!0,t.exports.default=t.exports},82683:function(t){t.exports=function(t,e){return e||(e=t.slice(0)),t.raw=e,t},t.exports.__esModule=!0,t.exports.default=t.exports},8114:function(t){function e(n){return t.exports=e="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.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5286],{24397:function(e,t,n){"use strict";n.d(t,{U:function(){return O}});var r=n(39479),o=n(31647),i=n(70065),u=n(56210),c=n(63791),a=n(66882),l=n(57098),s=n(93569),f=n(86745),p=n.n(f),b={svgContainer:"qOHRG"};function y(e){return y="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},y(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,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y(t)?t:t+""}function v(e,t,n){return t=g(t),function(e,t){if(t&&("object"===y(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)}(e,h()?Reflect.construct(t,n||[],g(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}var O=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v(this,t,[e])}return 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&&w(e,t)}(t,e),n=t,(o=[{key:"name",get:function(){return"VideoHeaderComponent"}},{key:"template",get:function(){return p()}},{key:"className",get:function(){return"d-flex align-items-center justify-content-between px-3 pt-3 pb-2 w-100"}},{key:"behaviors",get:function(){return[{behaviorClass:u.H,selector:".".concat(b.svgContainer)}]}},{key:"regions",value:function(){return{actions:{el:".video-actions-region",replaceElement:!1}}}},{key:"viewOptions",value:function(){return{styles:b,lockSvg:c.Nj.getSvg(c.vn.Lock),hasRestriction:!r.isUndefined(this.model.get("restrictions")),restrictionMessage:s.S9.getRestrictionTooltipMessage(this.model)}}},{key:"onRender",value:function(){this.showChildView("actions",new a.R({model:this.model,showActionLabels:!0,application:l.OV.LIBRARY_EDITOR,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,collectionIdentifier:this.options.collectionIdentifier,routeToFolderOnDelete:!0,analyticsOptions:{entity:i.py.Video,location:i.LZ.VideoDetailsHeader,descriptor:i.yh.Single},config:this.options.config,products:this.options.products,libraries:this.options.libraries}))}}])&&m(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(o.Q.wA)},57085:function(e,t,n){"use strict";n.d(t,{n:function(){return R}});var r=n(31647),o=n(57098),i=n(22557),u=n(86363),c=n.n(u);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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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,p(r.key),r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}function b(e,t,n){return t=m(t),function(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)}(e,y()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function d(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&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}var h=function(e){function t(){return l(this,t),b(this,t,arguments)}return d(t,e),f(t,[{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return c()}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var e="breadcrumb-item";return this.model.get("active")&&(e+=" active"),e}},{key:"attributes",get:function(){return this.model.get("active")?{"aria-current":"page"}:{}}},{key:"appLinks",get:function(){return this.model.get("active")?{}:{a:this.model.get("appLink")}}},{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}}])}(r.Q.wA),g=function(e){function t(){return l(this,t),b(this,t,arguments)}return d(t,e),f(t,[{key:"name",get:function(){return"BreadcrumbComponentCollection"}},{key:"tagName",get:function(){return"ol"}},{key:"className",get:function(){return"breadcrumb m-0 p-0"}},{key:"childView",get:function(){return h}}])}(r.Q.$W),w=n(93933),O=n.n(w);function k(e){return k="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},k(e)}function j(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,E(r.key),r)}}function E(e){var t=function(e,t){if("object"!=k(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==k(t)?t:t+""}function _(e,t,n){return t=S(t),function(e,t){if(t&&("object"===k(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)}(e,P()?Reflect.construct(t,n||[],S(e).constructor):t.apply(e,n))}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(P=function(){return!!e})()}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}var R=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_(this,t,[e])}return 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)}(t,e),n=t,(u=[{key:"initialize",value:function(){this.getBreadcrumbs()}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return O()}},{key:"className",get:function(){return"d-inline-block"}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"defaults",get:function(){return{customBreadcrumbs:[]}}},{key:"getBreadcrumbs",value:function(){var e=this;this.breadcrumbCollection=new r.Q.FE([]);var t,n=this.options.folder;do{if(!n)break;if(t=i.P.getParent(n.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(n,!!t),{at:0}),!t)break;n=t}while(t);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:o.OV.LIBRARY_EDITOR,action:o.eX.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.options.customBreadcrumbs&&this.options.customBreadcrumbs.forEach((function(t){return e.breadcrumbCollection.add(t)})),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(e,t){var n=t?o.eX.LibraryEditor.FOLDER:o.eX.LibraryEditor.LIBRARY;return{name:e.get("name"),appLink:{application:o.OV.LIBRARY_EDITOR,action:n,args:[e.id]}}}},{key:"onRender",value:function(){var e=new g({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",e)}}])&&j(n.prototype,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,u}(r.Q.wA)},86745:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,u=e.lambda,c=e.escapeExpression;return' <span class="d-inline-block ms-2 '+c(u(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'" title="'+c(u(null!=(i=null!=t?t.options:t)?i.restrictionMessage:i,t))+'">'+(null!=(i=u(null!=(i=null!=t?t.options:t)?i.lockSvg:i,t))?i:"")+"</span>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,u,c=null!=t?t:e.nullContext||{};return'<div class="d-inline-flex align-items-center">\n <h4 class="d-inline-block mb-0">'+e.escapeExpression("function"==typeof(u=null!=(u=n.name||(null!=t?t.name:t))?u:e.hooks.helperMissing)?u.call(c,{name:"name",hash:{},data:o}):u)+"</h4>\n"+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.hasRestriction:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\n<div class="video-actions-region d-inline-block"></div>'},useData:!0})},86363:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,'<span class="fw-bolder">'+e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</span>\n"},3:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,"<a>"+e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</a>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.isActive:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},93933:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5412],{95412:function(t,e,n){"use strict";n.r(e),n.d(e,{DeleteVideosView:function(){return k}});var r=n(48088),o=n(39479),i=n(21679),u=n(57857),l=n(31647),a=n(52076),c=n(10101),s=n(88172),f=n(57098),p=n(67670),y=n(93569),b=n(21218),d=n.n(b);function h(t){return h="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},h(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,m(r.key),r)}}function m(t){var e=function(t,e){if("object"!=h(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==h(e)?e:e+""}function g(t,e,n){return e=w(e),function(t,e){if(e&&("object"===h(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,O()?Reflect.construct(e,n||[],w(t).constructor):e.apply(t,n))}function O(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(O=function(){return!!t})()}function w(t){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},w(t)}function j(t,e){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},j(t,e)}var k=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),g(this,e,[t])}return 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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&j(t,e)}(e,t),n=e,(b=[{key:"initialize",value:function(){this.libraryDataService=i.u.getInstance(f.Or.Library,this),this.videoDataService=i.u.getInstance(f.Or.Video,this)}},{key:"name",get:function(){return"DeleteVideoView"}},{key:"lang",get:function(){return"libraryEditor.deleteVideos"}},{key:"title",get:function(){return this.options.videoIds&&u.T.getPhrase(this.lang,"removeVideos",{smartCount:this.options.videoIds.length})}},{key:"template",get:function(){return d()}},{key:"channelName",get:function(){return y.N0.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t,e,n,r,o=this;return[{title:u.T.getPhrase(this.lang,"removeVideos",{smartCount:null!==(e=null===(t=this.options.videoIds)||void 0===t?void 0:t.length)&&void 0!==e?e:1}),behaviorClass:c.Yw,spinnerButtonOptions:{channelName:this.channelName,model:this.spinnerModel=new p.v,buttonText:u.T.getPhrase(this.lang,"removeVideos",{smartCount:null!==(r=null===(n=this.options.videoIds)||void 0===n?void 0:n.length)&&void 0!==r?r:1}),extraButtonClass:"btn-danger",onClick:function(){return o.onClickDelete()}}}]}},{key:"onClickDelete",value:function(){var t=this;this.library&&(r.Radio.channel(this.channelName).trigger(s.I3.ShowSpinner),this.videoDataService.deleteVideosFromLibrary(this.library.id,this.options.folderId,this.options.videoIds,(function(){t.options.routeToFolderOnDelete?l.Q.C$.trigger({application:f.OV.LIBRARY_EDITOR,action:f.eX.LibraryEditor.FOLDER,args:[t.options.folderId]}):t.triggerMethod("hide")})),this.logAction())}},{key:"logAction",value:function(){var t=this.options.videoIds,e={libraryId:this.library.id,folderId:this.options.folderId,count:t.length};1===t.length&&(e.id=o.first(t)),a.k.logUserAction(e,this.options.analyticsOptions)}},{key:"onBeforeRender",value:function(){var t=this;this.library?this.spinnerModel.set(s.ZV.Disabled,!1):this.libraryDataService.getLibraries((function(e){t.library=y.PU.getLibrary(t.options.folderId,e),t.render()}))}},{key:"viewOptions",value:function(){return{count:this.options.videoIds.length,libraryFetched:!!this.library,spinnerEl:y.Kp.getSpinner({size:y.Ey.Large,extraClasses:"mx-auto"}),videoCount:this.options.videoIds.length}}}])&&v(n.prototype,b),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,b}(l.Q.G7)},67670:function(t,e,n){"use strict";n.d(e,{v:function(){return y}});var r=n(31647),o=n(88172);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function u(t,e,n){return(e=a(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,a(r.key),r)}}function a(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==i(e)?e:e+""}function c(t,e,n){return e=f(e),function(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,s()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(s=function(){return!!t})()}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}var y=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,e,arguments)}return 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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(e,t),n=e,(r=[{key:"defaults",value:function(){return u(u({},o.ZV.Disabled,!0),o.ZV.Hidden,!1)}}])&&l(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Q.Hn)},21218:function(t,e,n){var r=n(32227);t.exports=(r.default||r).template({1:function(t,e,n,r,o){var i;return t.propertyIsEnumerable,(null!=(i=t.lambda(null!=(i=null!=e?e.options:e)?i.spinnerEl:i,e))?i:"")+"\n"},3:function(t,e,n,r,o){var i;return t.propertyIsEnumerable,(null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"check",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.videoCount:i},data:o}))?i:"")+"\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;return t.propertyIsEnumerable,null!=(i=n.unless.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.libraryFetched:i,{name:"unless",hash:{},fn:t.program(1,o,0),inverse:t.program(3,o,0),data:o}))?i:""},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5418],{77739:function(e,t,n){"use strict";n.d(t,{r:function(){return h}});var r=n(31647),o=n(10101),i=n(20072),l=n(93569),a=n(11653),u=n(14538),c=n.n(u);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 f(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,p(r.key),r)}}function p(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}function d(e,t,n){return t=y(t),function(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)}(e,b()?Reflect.construct(t,n||[],y(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var h=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),d(this,t,[e])}return 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)}(t,e),n=t,(r=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,"folder:selected",this.onFolderSelected)}},{key:"name",get:function(){return"FolderDetailsComponent"}},{key:"template",get:function(){return c()}},{key:"lang",get:function(){return"libraryEditor.folderDetails"}},{key:"folderTreeKey",get:function(){return this.options.folderTreeKey||"folderselect:".concat(this.cid)}},{key:"regions",value:function(){return{parentFolder:".parent-folder-region"}}},{key:"behaviors",get:function(){return[{behaviorClass:o.fS,modelValidation:(0,a.h)({validateName:this.options.editName,validateParent:this.options.editParent,folder:this.options.model,collection:this.options.collection})},{behaviorClass:o.Bp}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}},{key:"onFolderSelected",value:function(e,t){e&&(l.PU.setSelected(this.folderTreeKey,e,this.collection,t),t||this.model.set("parentId",e.get("id"),{validate:!0}))}},{key:"renderSubFolders",value:function(){this.options.editParent&&this.showChildView("parentFolder",new i.Y({collection:this.collection,channelName:this.options.channelName,folderTreeKey:this.folderTreeKey,disabledIds:this.options.disabledParentFolderIds}))}},{key:"viewOptions",value:function(){return{editName:this.options.editName,editParent:this.options.editParent}}},{key:"onRender",value:function(){this.renderSubFolders()}}])&&f(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Q.wA)},11653:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(39479),o=n(57857),i=n(54008),l=n(22557),a="libraryEditor.utils",u={name:[{required:!0,msg:function(){return o.T.getPhrase(a,"folderNameRequired")}},{maxLength:255,msg:function(){return o.T.getPhrase(a,"folderNameExceeds")}}]},c=function(e,t){return{parentId:function(n){return n?l.P.calculateDestinationFolderDepth(e,n,t)>i.p.MAX_FOLDER_DEPTH?o.T.getPhrase(a,"maxFolderDepth",{maxDepth:i.p.MAX_FOLDER_DEPTH}):"":o.T.getPhrase(a,"selectParentFolder")}}},s=function(e){var t=e.validateName,n=e.validateParent,o=e.folder,i=e.collection;return t&&n?r.extend({},u,c(o,i)):t?u:n?c(o,i):void 0}},20072:function(e,t,n){"use strict";n.d(t,{Y:function(){return v}});var r=n(48088),o=n(57857),i=n(31647),l=n(50299),a=n(93569),u=n(68979),c=n.n(u),s={selectBtn:"tZUtI",list:"MxlSt",selector:"qHvbU",maxHeight:"jp36d",customItem:"aJzJB"};function f(e){return f="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},f(e)}function p(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,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}function b(e,t,n){return t=m(t),function(e,t){if(t&&("object"===f(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)}(e,y()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var v=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),b(this,t,[e])}return 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&&h(e,t)}(t,e),n=t,(i=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:true,enumerable:!0,configurable:!0,writable:!0}):e[t]=true,e}({},t))}),{})}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return c()}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".button-text"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),r.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var r=a.PU.getSelected(this.options.folderTreeKey,this.collection),i=r?r.get("name"):o.T.getPhrase(this.lang,"button");this.getUI("button").text(i)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.J({styles:s,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:s.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:s,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew,dropdown:this.options.dropdown}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}}])&&p(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(i.Q.wA)},67670:function(e,t,n){"use strict";n.d(t,{v:function(){return d}});var r=n(31647),o=n(88172);function i(e){return i="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},i(e)}function l(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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,u(r.key),r)}}function u(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}function c(e,t,n){return t=f(t),function(e,t){if(t&&("object"===i(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)}(e,s()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,t,arguments)}return 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&&p(e,t)}(t,e),n=t,(r=[{key:"defaults",value:function(){return l(l({},o.ZV.Disabled,!0),o.ZV.Hidden,!1)}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Q.Hn)},14538:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,a=e.escapeExpression;return' <div class="form-group">\n <label for="name" class="control-label">'+a((n.lang||t&&t.lang||l).call(i,"name",{name:"lang",hash:{},data:o}))+'</label>\n <input name="name" id="name" type="text" class="form-control" placeholder="'+a((n.lang||t&&t.lang||l).call(i,"namePlaceholder",{name:"lang",hash:{},data:o}))+'" autocomplete="off" autofocus/>\n <div class="form-feedback"></div>\n </div>\n'},3:function(e,t,n,r,o){return e.propertyIsEnumerable,' <div class="form-group pt-2">\n <label for="parentId" class="control-label">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"parent",{name:"lang",hash:{},data:o}))+'</label>\n <div class="parent-folder-region"></div>\n </div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return"<form>\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editName:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editParent:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"</form>"},useData:!0})},68979:function(e,t,n){var r=n(32227);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <button\n class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' form-select form-control"\n data-bs-toggle="dropdown"\n aria-haspopup="true"\n aria-expanded="false"\n name='+a(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+'\n >\n <span class="d-block text-truncate button-text">\n '+a(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'\n </span>\n </button>\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\n'},3:function(e,t,n,r,o){var i;return e.propertyIsEnumerable,"border rounded-3 "+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.maxHeight:i,t))},5:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn fw-bold rounded-0 rounded-bottom-lg w-100 text-start '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:o}))+"</button>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'<div class="'+(null!=(i=n.unless.call(l,null!=(i=null!=t?t.options:t)?i.dropdown:i,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+' overflow-auto" name='+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.name:i,t))+'>\n <div class="selector-region"></div>\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\n<div class="form-feedback"></div>'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5424],{21771:function(e,t,i){"use strict";i.r(t),i.d(t,{MoveVideoView:function(){return I}});var n=i(39479),r=i(21679),o=i(57857),l=i(31647),a=i(52076),s=i(13156),c=i(10101),u=i(90680),h=i(88172),d=i(20072),f=i(57098),b=i(67670),y=i(93569),p=i(76001),g=i(79665),v=i(97011),m=i.n(v);function k(e){return k="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},k(e)}function S(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,L(n.key),n)}}function L(e){var t=function(e,t){if("object"!=k(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,"string");if("object"!=k(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==k(t)?t:t+""}function w(e,t,i){return t=O(t),function(e,t){if(t&&("object"===k(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)}(e,T()?Reflect.construct(t,i||[],O(e).constructor):t.apply(e,i))}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}var I=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),w(this,t,[e])}return 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&&P(e,t)}(t,e),i=t,(l=[{key:"initialize",value:function(){this.listenTo(f.Vk.LIBRARY,"libraries:sync",this.render),this.listenTo(f.Vk.VIDEO,"".concat(f.M_.VIDEOS_BY_ID,":").concat(this.options.videoIds.join(","),":sync"),this.render),this.listenTo(this.channelName,"library:selected",this.onLibrarySelected),this.listenTo(this.channelName,"folder:selected",this.onFolderSelected),this.libraryDataService=r.u.getInstance(f.Or.Library,this),this.videoDataService=r.u.getInstance(f.Or.Video,this)}},{key:"name",get:function(){return"MoveVideoView"}},{key:"title",get:function(){return this.options.videoIds&&o.T.getPhrase(this.lang,"title",{smartCount:this.options.videoIds.length})}},{key:"lang",get:function(){return"libraryEditor.moveVideo"}},{key:"channelName",get:function(){return y.N0.generateUniqueChannelName(this)}},{key:"libraryTreeKey",get:function(){return"libraryselect:".concat(this.cid)}},{key:"folderTreeKey",get:function(){return"folderselect:".concat(this.cid)}},{key:"template",get:function(){return m()}},{key:"regions",value:function(){return{folder:".folder-region",library:".library-region"}}},{key:"events",value:function(){return{submit:"onSubmit","click .submit":"onSubmit"}}},{key:"elements",get:function(){return{folderLabel:".folder-label"}}},{key:"behaviors",get:function(){var e,t,i,n,r=this;return[{title:o.T.getPhrase(this.lang,"heading",{smartCount:null!==(t=null===(e=this.options.videoIds)||void 0===e?void 0:e.length)&&void 0!==t?t:1}),behaviorClass:c.Yw,closeOnRoute:!1,spinnerButtonOptions:{channelName:this.channelName,model:this.spinnerModel=new b.v,buttonText:o.T.getPhrase(this.lang,"submit",{smartCount:null!==(n=null===(i=this.options.videoIds)||void 0===i?void 0:i.length)&&void 0!==n?n:1}),tooltip:function(){return r.getSubmitBtnTooltipOptions()},onClick:function(){return r.onSubmit()}}}]}},{key:"filterLibrariesWithVideo",value:function(){var e=this;if(this.libraries&&this.collection&&this.hasMultipleLibraries()){var t=this.collection.map((function(e){return e.get("libraries").map((function(e){return e.get("id")}))})),i=n.uniq(n.flatten(t)),r=[],o=[];this.libraries.forEach((function(t){var l=y.PU.getModelFromCollection(e.options.folderId,t.get("children"));!n.contains(i,+t.get("id"))||l?r.push(t):o.push(t)})),this.libraries=new u.q(r),this.hiddenLibraryNames=o.map((function(e){return e.get("name")})),1===this.libraries.length&&this.onLibrarySelected(this.libraries.first())}}},{key:"getSubmitBtnTooltipOptions",value:function(){if(this.spinnerModel.get(h.ZV.Disabled))return{title:o.T.getPhrase(this.lang,"btnTooltip")}}},{key:"onLibrarySelected",value:function(e){var t=y.PU.getSelected(this.libraryTreeKey,this.libraries);t&&y.PU.deselectAll(this.folderTreeKey,t.get("children")),y.PU.setSelected(this.libraryTreeKey,e,this.libraries),this.hasMultipleLibraries()&&this.getUI("folderLabel").show(),this.spinnerModel.set(h.ZV.Disabled,!0),this.render()}},{key:"onFolderSelected",value:function(e,t){var i=y.PU.getSelected(this.libraryTreeKey,this.libraries).get("children");y.PU.setSelected(this.folderTreeKey,e,i,t),t||this.spinnerModel.set(h.ZV.Disabled,!1)}},{key:"onSubmit",value:function(){var e=this;this.spinnerModel.set(h.ZV.ShowSpinner,!0);var t,i,n=y.PU.getSelected(this.folderTreeKey,this.libraries),r=n.get("id"),o=this.collection.map((function(e){return e.id}));this.collection.each((function(n){t||(t=n.categories.find((function(t){return t.get("id")===+e.options.folderId})),i=n)}));var l=1===this.collection.length?i.get("name"):"",a=s.J.moveVideoAlert(t.get("name"),n.get("name"),n.get("id"),this.collection.length,l);this.videoDataService.moveVideos(o,r,this.options.folderId,(function(){e.triggerMethod("hide")}),a),this.logAction(Object.entries(o),r)}},{key:"hasMultipleLibraries",value:function(){return this.libraries&&this.libraries.length>1}},{key:"getFormattedHiddenLibraryNames",value:function(){var e=n.map(this.hiddenLibraryNames,(function(e){return"<strong>".concat(p.m.escapeExpression(e),"</strong>")}));if(1===e.length)return e[0];var t=o.T.getPhrase(this.lang,"and");return"".concat(e.slice(0,-1).join(", ")," ").concat(t," ").concat(e.slice(-1))}},{key:"logAction",value:function(e,t){var i={newParentId:t,oldParentId:this.options.folderId,count:this.collection.length};1===this.collection.length&&(i.id=n.first(Object.values(e))),a.k.logUserAction(i,this.options.analyticsOptions)}},{key:"renderLibrarySelect",value:function(){if(this.libraries&&1!==this.libraries.length){var e=y.PU.getSelected(this.libraryTreeKey,this.libraries);this.showChildView("library",new g.A({collection:this.libraries,channelName:this.channelName,currentLibraryId:e?e.get("id"):null}))}}},{key:"renderFolderSelect",value:function(){var e=y.PU.getSelected(this.libraryTreeKey,this.libraries);this.showChildView("folder",new d.Y({collection:e.get("children"),channelName:this.channelName,folderTreeKey:this.folderTreeKey,disabledIds:[this.options.folderId]}))}},{key:"viewOptions",value:function(){var e,t;return{hasMultipleLibraries:this.hasMultipleLibraries(),hiddenLibraryNames:(null===(e=this.hiddenLibraryNames)||void 0===e?void 0:e.length)?this.getFormattedHiddenLibraryNames():"",hiddenLibraryNamesLength:null===(t=this.hiddenLibraryNames)||void 0===t?void 0:t.length}}},{key:"onBeforeRender",value:function(){var e=this;return this.libraries||this.libraryDataService.getLibraries((function(t){e.libraries=new u.q(t.filter((function(e){return!!e.get("children").length}))),e.hasMultipleLibraries()||e.onLibrarySelected(e.libraries.first()),e.filterLibrariesWithVideo(),e.render()})),this.collection||this.videoDataService.getVideos(this.options.videoIds,(function(t){e.collection=t,e.filterLibrariesWithVideo(),e.render()})),!!this.collection&&!!this.libraries}},{key:"onRender",value:function(){this.renderLibrarySelect(),y.PU.getSelected(this.libraryTreeKey,this.libraries)&&this.renderFolderSelect()}}])&&S(i.prototype,l),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,l}(l.Q.G7)},97011:function(e,t,i){var n=i(32227);e.exports=(n.default||n).template({1:function(e,t,i,n,r){var o;return e.propertyIsEnumerable,' <div class="alert alert-info" role="alert">\n <p class="m-0">'+(null!=(o=(i.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hiddenLibraryNames",{name:"lang",hash:{smartCount:null!=(o=null!=t?t.options:t)?o.hiddenLibraryNamesLength:o,libraries:null!=(o=null!=t?t.options:t)?o.hiddenLibraryNames:o},data:r}))?o:"")+"</p>\n </div>\n"},3:function(e,t,i,n,r){return e.propertyIsEnumerable,' <div class="form-group">\n <label class="control-label">'+e.escapeExpression((i.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"library",{name:"lang",hash:{},data:r}))+'</label>\n <div class="library-region"></div>\n </div>\n'},5:function(e,t,i,n,r){return'style="display: none;"'},compiler:[8,">= 4.3.0"],main:function(e,t,i,n,r){e.propertyIsEnumerable;var o,l=null!=t?t:e.nullContext||{};return"<form>\n"+(null!=(o=i.if.call(l,null!=(o=null!=t?t.options:t)?o.hiddenLibraryNames:o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?o:"")+"\n"+(null!=(o=i.if.call(l,null!=(o=null!=t?t.options:t)?o.hasMultipleLibraries:o,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?o:"")+'\n <div class="form-group">\n <label class="control-label folder-label" '+(null!=(o=i.if.call(l,null!=(o=null!=t?t.options:t)?o.hasMultipleLibraries:o,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?o:"")+">"+e.escapeExpression((i.lang||t&&t.lang||e.hooks.helperMissing).call(l,"folder",{name:"lang",hash:{},data:r}))+'</label>\n <div class="folder-region"></div>\n </div>\n</form>'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[546],{40546:function(t,e,n){n.r(e),n.d(e,{DownloadVideoView:function(){return v}});var r=n(21679),o=n(31647),i=n(68003),u=(n(52076),n(70065),function(t,e){return i._.safeUrlConcat(i._.makeHttps(t),"/download?token=".concat(e))}),c=n(57098),f=n(48404);function a(t){return a="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},a(t)}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,y(r.key),r)}}function y(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==a(e)?e:e+""}function p(t,e,n){return e=b(e),function(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,s()?Reflect.construct(e,n||[],b(t).constructor):e.apply(t,n))}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(s=function(){return!!t})()}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function d(t,e){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},d(t,e)}var v=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,e,[t])}return 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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}(e,t),n=e,(o=[{key:"initialize",value:function(){this.downloadProxyDataService=r.u.getInstance(c.Or.DownloadProxy,this)}},{key:"name",get:function(){return"DownloadVideoView"}},{key:"title",get:function(){return!1}},{key:"tagName",get:function(){return"iframe"}},{key:"template",get:function(){return function(){return"<div></div>"}}},{key:"requiredResources",get:function(){return{config:f.p.config}}},{key:"onBeforeRender",value:function(){var t=this;this.downloadProxyDataService.createDownloadToken(this.options.videoId,(function(e){var n=u(t.config.get("downloadProxy"),e.get("token"));t.$el.attr("src",n)}))}}])&&l(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(o.Q.G7)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5524],{99828:function(e,t,r){r.d(t,{y:function(){return u}});var n=r(88483);function i(e){return i="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},i(e)}function o(e,t,r){var n;return n=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==i(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=o(o(o(o(o(o(o(o(o({},n.__.Thumbnails,{width:1280,height:720}),n.__.Banners,{width:1200,height:222}),n.__.Covers,{width:512,height:512}),n.__.Posters,{width:1e3,height:1500}),n.__.TallPosters,{width:1080,height:1920}),n.__.HeroBanners,{width:1920,height:640}),n.__.None,{width:1,height:1}),n.__.Avatars,{width:256,height:256}),n.__.Logos,{width:128,height:128})},24365:function(e,t,r){r.r(t),r.d(t,{CropperHelper:function(){return v}});var n=r(1024),i=r.n(n),o=r(44645),u=r(51934),a=r.n(u),c=r(57857),l=r(71575),f=r(83996),s=r(99828);function p(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,i,o,u,a=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(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)?h(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 h(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}var m=c.T.encloseNamespace("shared.imageCropper"),d=/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/;function y(e){var t=p(i().useState(!1),2),r=t[0],n=t[1],o=p(i().useState(!1),2),u=o[0],c=o[1],h=i().useRef(),y=i().useRef();return i().useEffect((function(){var t=new Image;t.src=e.src;var r=h.current.offsetWidth/t.width,i=s.y[e.imageType],o={viewMode:2,autoCropArea:1,ready:function(){return n(!0)}};return i&&(o.minCropBoxWidth=i.width*r,o.minCropBoxHeight=i.height*r,o.aspectRatio=i.width/i.height),y.current=new(a())(h.current,o),function(){y.current.destroy()}}),[]),i().createElement(l.G,{title:m("title"),closePopup:e.closePopup,size:e.popupSize},i().createElement("div",null,i().createElement("img",{src:e.src,alt:e.alt,ref:h,className:"img img-fluid"})),i().createElement(f.u,null,i().createElement(f.u.Cancel,{onClick:e.closePopup}),i().createElement(f.u.Submit,{onClick:function(){if(r){var t=y.current.getCroppedCanvas().toDataURL(function(e){var t=e.match(d);if(t)return t[1]}(e.src));c(!0),e.onClickCrop(t,e.closePopup)}},text:m("crop"),variant:"dark",showSpinner:u})))}y.defaultProps={popupSize:"lg"};var v={renderCropper:function(e){var t=(0,o.s)(document.getElementById("dialog-region"));t.render(i().createElement(y,Object.assign({},e,{closePopup:function(){return t.unmount()}})))}}}}]);
|