@clickview/library-editor 1.50.1-dev.0 → 1.50.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/bundles.json +5 -0
  2. package/dist/css/101-library-editor-ea0aa41f12.chunk.css +2 -0
  3. package/dist/css/1086-library-editor-076ef8e022.chunk.css +4 -0
  4. package/dist/css/112-library-editor-f77f4c1797.chunk.css +16 -0
  5. package/dist/css/1409-library-editor-bc215e1152.chunk.css +1 -0
  6. package/dist/css/152-library-editor-01b4461ff1.chunk.css +10 -0
  7. package/dist/css/1601-library-editor-4a6aafa66a.chunk.css +4 -0
  8. package/dist/css/1703-library-editor-3334df179f.chunk.css +6 -0
  9. package/dist/css/1832-library-editor-e123877850.chunk.css +1 -0
  10. package/dist/css/1876-library-editor-3334df179f.chunk.css +6 -0
  11. package/dist/css/2417-library-editor-1c2828a69b.chunk.css +7 -0
  12. package/dist/css/243-library-editor-decee8d957.chunk.css +2 -0
  13. package/dist/css/2482-library-editor-6893a774e7.chunk.css +20 -0
  14. package/dist/css/2601-library-editor-8922d361d6.chunk.css +14 -0
  15. package/dist/css/2644-library-editor-cdc1c17774.chunk.css +13 -0
  16. package/dist/css/2692-library-editor-076ef8e022.chunk.css +4 -0
  17. package/dist/css/3087-library-editor-7c76d2234e.chunk.css +4 -0
  18. package/dist/css/343-library-editor-a5b4b92fa3.chunk.css +24 -0
  19. package/dist/css/3551-library-editor-37e6a3ecdc.chunk.css +24 -0
  20. package/dist/css/3746-library-editor-46e4b6af59.chunk.css +1 -0
  21. package/dist/css/376-library-editor-6d718e6fc5.chunk.css +8 -0
  22. package/dist/css/3969-library-editor-30997910e2.chunk.css +2 -0
  23. package/dist/css/4523-library-editor-c52f3ffbb0.chunk.css +2 -0
  24. package/dist/css/456-library-editor-a92bd26671.chunk.css +17 -0
  25. package/dist/css/4860-library-editor-f5eddb2400.chunk.css +1 -0
  26. package/dist/css/5046-library-editor-d255e3d3d5.chunk.css +15 -0
  27. package/dist/css/514-library-editor-4cb4f22674.chunk.css +1 -0
  28. package/dist/css/5314-library-editor-2013dd2fec.chunk.css +11 -0
  29. package/dist/css/5424-library-editor-cbb9c55dc8.chunk.css +5 -0
  30. package/dist/css/5524-library-editor-de77327cdc.chunk.css +11 -0
  31. package/dist/css/5747-library-editor-de4ea80bfc.chunk.css +1 -0
  32. package/dist/css/5891-library-editor-46e4b6af59.chunk.css +1 -0
  33. package/dist/css/6093-library-editor-446ee2e049.chunk.css +1 -0
  34. package/dist/css/61-library-editor-46bcd7b5f8.chunk.css +48 -0
  35. package/dist/css/6352-library-editor-c99ed407da.chunk.css +19 -0
  36. package/dist/css/6586-library-editor-02ff5dbd6e.chunk.css +83 -0
  37. package/dist/css/6732-library-editor-6233ce01e9.chunk.css +6 -0
  38. package/dist/css/6963-library-editor-46e4b6af59.chunk.css +1 -0
  39. package/dist/css/7053-library-editor-cbe896c46a.chunk.css +1 -0
  40. package/dist/css/708-library-editor-ce48b52d72.chunk.css +7 -0
  41. package/dist/css/7295-library-editor-a539c72655.chunk.css +9 -0
  42. package/dist/css/7408-library-editor-2a67dae087.chunk.css +4 -0
  43. package/dist/css/8762-library-editor-076ef8e022.chunk.css +4 -0
  44. package/dist/css/8906-library-editor-076ef8e022.chunk.css +4 -0
  45. package/dist/css/9369-library-editor-126f3beb94.chunk.css +16 -0
  46. package/dist/css/9383-library-editor-a65f7ef186.chunk.css +16 -0
  47. package/dist/css/9695-library-editor-c5004a1fec.chunk.css +1 -0
  48. package/dist/css/9927-library-editor-a11669ad9d.chunk.css +1 -0
  49. package/dist/css/library-editor-app-b4b31e00d1.css +62 -0
  50. package/dist/languages/en.json +1 -0
  51. package/dist/scripts/101-cd0245d087.chunk.js +1 -0
  52. package/dist/scripts/1010-60f6dfd832.chunk.js +1 -0
  53. package/dist/scripts/1086-2682e6d3f7.chunk.js +1 -0
  54. package/dist/scripts/112-24c19e2cde.chunk.js +1 -0
  55. package/dist/scripts/1216-f3e3f911fa.chunk.js +1 -0
  56. package/dist/scripts/1224-3ad7211630.chunk.js +1 -0
  57. package/dist/scripts/1269-a34a1de36d.chunk.js +1 -0
  58. package/dist/scripts/1409-93a72ff5bf.chunk.js +1 -0
  59. package/dist/scripts/152-2a8a32c9e8.chunk.js +2 -0
  60. package/dist/scripts/152-2a8a32c9e8.chunk.js.LICENSE.txt +50 -0
  61. package/dist/scripts/1601-cfa68d5d16.chunk.js +2 -0
  62. package/dist/scripts/1601-cfa68d5d16.chunk.js.LICENSE.txt +1 -0
  63. package/dist/scripts/1703-0ee4d1051b.chunk.js +1 -0
  64. package/dist/scripts/1832-23fead57c5.chunk.js +1 -0
  65. package/dist/scripts/1876-a98a0d0a0b.chunk.js +1 -0
  66. package/dist/scripts/1934-cf53d84778.chunk.js +2 -0
  67. package/dist/scripts/1934-cf53d84778.chunk.js.LICENSE.txt +9 -0
  68. package/dist/scripts/1973-d4b3f2d0a9.chunk.js +1 -0
  69. package/dist/scripts/2417-d1a2c3b7e1.chunk.js +1 -0
  70. package/dist/scripts/243-2012c53e96.chunk.js +1 -0
  71. package/dist/scripts/2482-955e4b3615.chunk.js +1 -0
  72. package/dist/scripts/259-7d1d480f6e.chunk.js +1 -0
  73. package/dist/scripts/2601-c8a6cf71d8.chunk.js +1 -0
  74. package/dist/scripts/2644-4188284c06.chunk.js +1 -0
  75. package/dist/scripts/2648-10e901bc4c.chunk.js +1 -0
  76. package/dist/scripts/2692-438539ccbe.chunk.js +1 -0
  77. package/dist/scripts/2802-31b24a8131.chunk.js +2 -0
  78. package/dist/scripts/2802-31b24a8131.chunk.js.LICENSE.txt +8 -0
  79. package/dist/scripts/2803-3cee0dd7a5.chunk.js +1 -0
  80. package/dist/scripts/2888-55edc16fd6.chunk.js +1 -0
  81. package/dist/scripts/299-eeaac48864.chunk.js +1 -0
  82. package/dist/scripts/2998-24191bc8ab.chunk.js +1 -0
  83. package/dist/scripts/3087-42c41a34b5.chunk.js +1 -0
  84. package/dist/scripts/3400-95d7a3a0d6.chunk.js +1 -0
  85. package/dist/scripts/343-4e17813e7a.chunk.js +1 -0
  86. package/dist/scripts/35-7bfbab50e6.chunk.js +1 -0
  87. package/dist/scripts/3551-5513258594.chunk.js +1 -0
  88. package/dist/scripts/3639-02abbd0b71.chunk.js +1 -0
  89. package/dist/scripts/3746-fab7340300.chunk.js +1 -0
  90. package/dist/scripts/376-98c734f74f.chunk.js +1 -0
  91. package/dist/scripts/3763-c5de5a36a1.chunk.js +1 -0
  92. package/dist/scripts/3969-fe64f3d542.chunk.js +1 -0
  93. package/dist/scripts/4064-217e21dc03.chunk.js +1 -0
  94. package/dist/scripts/4201-6311ac5cac.chunk.js +1 -0
  95. package/dist/scripts/4245-6e9e71cc7d.chunk.js +1 -0
  96. package/dist/scripts/4523-7a79c1890d.chunk.js +1 -0
  97. package/dist/scripts/456-d5a07590b3.chunk.js +1 -0
  98. package/dist/scripts/4591-9e342f97bc.chunk.js +1 -0
  99. package/dist/scripts/4860-955b4bf901.chunk.js +1 -0
  100. package/dist/scripts/5046-19d7090284.chunk.js +1 -0
  101. package/dist/scripts/514-927a43219d.chunk.js +1 -0
  102. package/dist/scripts/5173-ae0218ce2b.chunk.js +1 -0
  103. package/dist/scripts/5286-293188ce69.chunk.js +1 -0
  104. package/dist/scripts/5314-bd5f985235.chunk.js +1 -0
  105. package/dist/scripts/5412-95152820bb.chunk.js +1 -0
  106. package/dist/scripts/5418-f31f79952c.chunk.js +1 -0
  107. package/dist/scripts/5424-f53a7d8068.chunk.js +1 -0
  108. package/dist/scripts/546-9b17236feb.chunk.js +1 -0
  109. package/dist/scripts/5524-165e9fe50f.chunk.js +1 -0
  110. package/dist/scripts/5707-d7fa777817.chunk.js +1 -0
  111. package/dist/scripts/5747-0ab2cc3678.chunk.js +1 -0
  112. package/dist/scripts/5850-6391e3cda2.chunk.js +1 -0
  113. package/dist/scripts/5891-f7bd1916f7.chunk.js +1 -0
  114. package/dist/scripts/6093-7e5c1af050.chunk.js +1 -0
  115. package/dist/scripts/61-fd38ec7081.chunk.js +2 -0
  116. package/dist/scripts/61-fd38ec7081.chunk.js.LICENSE.txt +1 -0
  117. package/dist/scripts/6352-aaaf02499b.chunk.js +1 -0
  118. package/dist/scripts/6427-ca580c2f5d.chunk.js +1 -0
  119. package/dist/scripts/6532-ffb2f40362.chunk.js +2 -0
  120. package/dist/scripts/6532-ffb2f40362.chunk.js.LICENSE.txt +13 -0
  121. package/dist/scripts/6586-a7d3920a52.chunk.js +2 -0
  122. package/dist/scripts/6586-a7d3920a52.chunk.js.LICENSE.txt +1 -0
  123. package/dist/scripts/6721-60208978c9.chunk.js +1 -0
  124. package/dist/scripts/6732-5bf9ec4e56.chunk.js +1 -0
  125. package/dist/scripts/6774-3cad51b5b7.chunk.js +1 -0
  126. package/dist/scripts/6788-6e4efcfd00.chunk.js +1 -0
  127. package/dist/scripts/6963-898cb28e8d.chunk.js +1 -0
  128. package/dist/scripts/7002-3686f9dcfb.chunk.js +1 -0
  129. package/dist/scripts/7053-38535c04ca.chunk.js +1 -0
  130. package/dist/scripts/7071-5a543a7eec.chunk.js +1 -0
  131. package/dist/scripts/708-9aa6428a97.chunk.js +1 -0
  132. package/dist/scripts/7190-d26b5ef34d.chunk.js +1 -0
  133. package/dist/scripts/7295-594d2f2def.chunk.js +1 -0
  134. package/dist/scripts/7376-baac126511.chunk.js +1 -0
  135. package/dist/scripts/7408-209544dca5.chunk.js +1 -0
  136. package/dist/scripts/8113-879f7b221a.chunk.js +1 -0
  137. package/dist/scripts/8362-e82bef3e07.chunk.js +1 -0
  138. package/dist/scripts/8542-776c339eeb.chunk.js +1 -0
  139. package/dist/scripts/8726-edded1064e.chunk.js +1 -0
  140. package/dist/scripts/8727-2e314f9301.chunk.js +1 -0
  141. package/dist/scripts/8762-4ee15995c8.chunk.js +1 -0
  142. package/dist/scripts/8906-3bde92a78d.chunk.js +1 -0
  143. package/dist/scripts/9357-c5c5984ec8.chunk.js +1 -0
  144. package/dist/scripts/9369-ef153a7fd3.chunk.js +2 -0
  145. package/dist/scripts/9369-ef153a7fd3.chunk.js.LICENSE.txt +1 -0
  146. package/dist/scripts/9383-b01e8ae3c8.chunk.js +1 -0
  147. package/dist/scripts/9695-a04e508364.chunk.js +1 -0
  148. package/dist/scripts/9927-a667775ac4.chunk.js +1 -0
  149. package/dist/scripts/bundle-63c6ed83c2.min.js +2 -0
  150. package/dist/scripts/bundle-63c6ed83c2.min.js.LICENSE.txt +1 -0
  151. package/dist/scripts/polyfills-a15c0386f5.min.js +1 -0
  152. package/package.json +6 -1
@@ -0,0 +1 @@
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;var a=r(n(41249));e.IX=a.default;r(n(44618)),r(n(78664));r(n(81699)).default,r(n(55058)).default,r(n(3098)).default,r(n(60757)).default;var s=o.default;e.O7=s},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}}]);
@@ -0,0 +1 @@
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})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5314],{39023:function(e,t,n){n.d(t,{X:function(){return r}});var i=n(1024);function r(e){var t=e.isLabelEllipsis,n=i.useRef(null);return i.useEffect((function(){n.current&&(e.checked?n.current.indeterminate&&(n.current.indeterminate=!1):!e.indeterminate||n.current.indeterminate?!e.indeterminate&&n.current.indeterminate&&(n.current.indeterminate=!1):n.current.indeterminate=!0)}),[n.current,e.indeterminate,e.checked]),i.createElement("div",{className:"form-check pe-2 ".concat(e.className)},i.createElement("input",{ref:n,type:"checkbox",className:"".concat(e.inputClassName," form-check-input"),id:e.id,name:e.name,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-checked":e.checked,"aria-label":e.ariaLabel}),e.label&&i.createElement("label",{className:"form-check-label cursor-pointer align-top",htmlFor:e.id},i.createElement("span",{className:"".concat(t?"clamp-1":"")},e.label)))}r.defaultProps={checked:!1,label:"",className:""}},74483:function(e,t,n){var i;n.d(t,{w:function(){return i}}),function(e){e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive"}(i||(i={}))},75314:function(e,t,n){n.r(t),n.d(t,{PastRequestsView:function(){return hi}});var i=n(1024),r=n.n(i),a=n(57857),o=n(86120),s=n(23689),l=n(86242),c=n(66703),u=n(90335),d=n(15408),m=n(2491),f=n(30317),v=n(22430),g=n(50997),p=n(68893),y=n(48404),b=n(19226),h=n(95061),S=n(39396),E=n(63791),C=n(50072),A="libraryRequests.closedAlert";function I(e){var t;return(null===(t=e.libraryRequest)||void 0===t?void 0:t.status)!==C.l.Closed?r().createElement(r().Fragment,null):r().createElement("div",{className:"alert alert-warning mb-3 rounded d-flex align-items-center px-2",role:"alert"},r().createElement(S.x,{svgName:E.vn.Lock,className:"d-inline-block svg-container me-2"}),r().createElement(c.x,{namespace:A,phrase:"closedRequest"}))}var P=n(70065),L=n(40221),O=n(85887),k=n(99910),w=n(58424),T="search.filterActions";function j(e){return i.createElement("div",{className:"d-flex justify-content-between ".concat(e.className)},e.active?i.createElement(w.L,{className:"text-secondary hover-text-underline cursor-pointer",onClick:e.onClickReset},i.createElement(c.x,{namespace:T,phrase:"reset"})):i.createElement("div",{className:"invisible"}),i.createElement(w.L,{className:"info-link",onClick:e.onClickApply},i.createElement(c.x,{namespace:T,phrase:"apply"})))}j.defaultProps={active:!1,className:""};var N=(0,i.createContext)(null);function R(e,t){return"update"===t.type?t.payload:e}var x=n(53808),D=n(31647),_=n(52076);function F(e){return r().createElement("label",{htmlFor:e.id,className:"mb-0"},r().createElement("h3",{className:"h6 mb-2"},e.title))}var M=n(39023);function B(e){return function(e){if(Array.isArray(e))return q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return q(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function V(e){var t,n=qe.displayTwoColumns(e.filter),r=e.draftState.selection;return i.createElement(i.Fragment,null,i.createElement(F,{title:e.filter.name}),i.createElement(k.Form,{className:"mb-3"},(t=e.filter.options.map((function(t){var a=e.filter.disabled||t.disabled,o=!!e.draftState.selection.find((function(e){return e.id.toString()===t.id.toString()})),s=Array.isArray(t.id)?t.id.join("_"):t.id;return i.createElement("li",{key:s,className:"my-1 ".concat(n?"col-md-6 col-12":"")},i.createElement(M.X,{label:t.name,name:s,id:s,onChange:function(){return function(t,n){if(n){var i=-1;r.find((function(e,n){i>-1||e.id.toString()===t.id.toString()&&(i=n)}));var a=[].concat(B(r.slice(0,i)),B(r.slice(i+1)));e.setDraftState({active:!!a.length,selection:a})}else{var o=B(r);o.push(t),e.setDraftState({active:!!o.length,selection:o})}}(t,o)},checked:!a&&o,isLabelEllipsis:n,disabled:a}))})),i.createElement("ul",{className:"list-unstyled ".concat(n?"d-flex flex-wrap":"")},t))))}function G(e,t){if(e){if("string"==typeof e)return U(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function H(e){var t,n,r,a=[],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=G(e))){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(e.filter.options);try{var s=function(){var o,s=r.value,l=e.filter.disabled||s.disabled,c=null===(t=e.draftState.selection)||void 0===t?void 0:t.find((function(e){return(null==e?void 0:e.id)===s.id})),u=null!==(n=s.secondLayerOptions)&&void 0!==n?n:[],d=function(e,t){var n,i,r=(null===(n=null==e?void 0:e.secondLayerSelection)||void 0===n?void 0:n.length)>0,a=(null===(i=null==e?void 0:e.secondLayerSelection)||void 0===i?void 0:i.length)===t.length;return r&&!a}(c,u),m=!d&&!!c;a.push(i.createElement(M.X,{key:s.id,label:s.name,name:s.id,id:s.id,indeterminate:d,onChange:function(){return e.onToggleItem(s,m||d)},checked:!l&&m,className:"my-1",disabled:l})),qe.hasManyFilterOptions(u)&&a.push.apply(a,(o=u.map((function(t){var n,r=l||t.disabled,a=!!(null===(n=null==c?void 0:c.secondLayerSelection)||void 0===n?void 0:n.find((function(e){return e.id===t.id})));return i.createElement(M.X,{key:t.id,label:t.name,name:t.id,id:t.id,onChange:function(){return e.onToggleChildItem(t,a,s)},checked:!r&&a,className:"my-1 ms-3",disabled:r})})),function(e){if(Array.isArray(e))return U(e)}(o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||G(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))};for(o.s();!(r=o.n()).done;)s()}catch(e){o.e(e)}finally{o.f()}return i.createElement(i.Fragment,null,a)}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Y(e){var t,n,r,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return W(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(e.filter.options);try{var o,s=function(){var a=r.value,o=e.filter.disabled||a.disabled,s=null===(t=e.draftState.selection)||void 0===t?void 0:t.find((function(e){return(null==e?void 0:e.id)===a.id})),l=(null!==(n=a.secondLayerOptions)&&void 0!==n?n:[]).map((function(t){var n,r=o||t.disabled,l=!!(null===(n=null==s?void 0:s.secondLayerSelection)||void 0===n?void 0:n.find((function(e){return e.id===t.id})));return i.createElement(M.X,{key:t.id,label:t.name,name:t.id,id:t.id,onChange:function(){return e.onToggleChildItem(t,l,a)},checked:!r&&l,className:"my-1",disabled:r})}));return{v:i.createElement(i.Fragment,null,l)}};for(a.s();!(r=a.n()).done;)if(o=s())return o.v}catch(e){a.e(e)}finally{a.f()}}function K(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Z(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function X(e){var t=e.filter.options;function n(t,n,i){var r,a,o=e.draftState.selection,s=o.findIndex((function(e){return e.id===i.id}));if(!n){var l=[].concat(K(null!==(a=null===(r=o[s])||void 0===r?void 0:r.secondLayerSelection)&&void 0!==a?a:[]),[t]);if(0===o.length||-1===s){var c=Object.assign(Object.assign({},i),{secondLayerSelection:l}),u=[].concat(K(o),[c]);return void e.setDraftState({active:!!u.length,selection:u})}if(-1!==s){var d=o.map((function(e){return e.id===i.id?Object.assign(Object.assign({},e),{secondLayerSelection:l}):e}));return void e.setDraftState({active:!!d.length,selection:d})}}var m=o.map((function(e){if(e.id===i.id){var n=L.m.removeItem(e.secondLayerSelection,t);return Object.assign(Object.assign({},i),{secondLayerSelection:n})}return e}));0===m[s].secondLayerSelection.length&&(m=L.m.removeItem(m,i)),e.setDraftState({active:!!m.length,selection:m})}return i.createElement(i.Fragment,null,i.createElement(F,{title:e.filter.name}),i.createElement(k.Form,{className:"mb-3"},qe.hasManyFilterOptions(t)?i.createElement(H,Object.assign({onToggleItem:function(n,i){var r,a=e.draftState.selection,o=a.findIndex((function(e){return e.id===n.id}));if(!i){var s=null===(r=null==t?void 0:t.find((function(e){return e.id===n.id})).secondLayerOptions)||void 0===r?void 0:r.filter((function(e){return!e.disabled})),l=Object.assign(Object.assign({},n),{secondLayerSelection:s});if(0===a.length||-1===o){var c=[].concat(K(a),[l]);return void e.setDraftState({active:!0,selection:c})}if(-1!==o){var u=a.map((function(e){return e.id===n.id?l:e}));return void e.setDraftState({active:!!u.length,selection:u})}}var d=L.m.removeItemFromIndex(a,a.findIndex((function(e){return e.id===n.id})));e.setDraftState({active:!!d.length,selection:d})},onToggleChildItem:n},e)):i.createElement(Y,Object.assign({onToggleChildItem:n},e))))}var Q=n(9063);function z(e){var t=e.draftState.active;return i.createElement(i.Fragment,null,i.createElement(F,{id:e.filter.id,title:e.filter.name}),i.createElement("div",{className:"d-flex align-items-start justify-content-between"},i.createElement("p",{className:"d-inline-block w-75"},e.filter.description),i.createElement(Q.Z,{id:e.filter.id,disabled:e.filter.disabled,onClick:function(){e.setDraftState({active:!t})},on:t})))}function J(e){return r().createElement(r().Fragment,null,e.filter.options.map((function(t){return r().createElement(k.Dropdown.Item,{key:t.id,onClick:function(){return function(t){e.setDraftState({active:!t.default,selection:[t]})}(t)},disabled:e.filter.disabled||t.disabled},t.name)})))}function $(e){return i.createElement(i.Fragment,null,i.createElement(F,{title:e.filter.name}),i.createElement(k.Form,null,i.createElement("ul",{className:"".concat(e.isOnMoreFilters?"d-flex flex-wrap":""," list-unstyled")},e.filter.options.map((function(t){var n,r=e.filter.disabled||t.disabled,a=(null===(n=L.m.first(e.draftState.selection))||void 0===n?void 0:n.id.toString())===t.id.toString();return i.createElement("li",{key:t.id,className:"".concat(e.isOnMoreFilters?"w-50":"")},i.createElement(k.Form.Check,{type:"radio",label:t.name,name:t.id,id:t.id,value:t.id,onChange:function(){return function(t){e.setDraftState({active:!t.default,selection:[t]})}(t)},checked:!r&&a,className:"".concat("B3rOI"),disabled:r}))})))))}var ee=n(63946),te=n(32557);function ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ie(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ie(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 ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var re=a.T.encloseNamespace("shared.ratingRangeSelector");function ae(e){var t=ne((0,te.X)({delay:1}),2),n=t[0],i=t[1];if(r().useEffect((function(){e.onHover(i?e.rating:null,e.isRatingValid)}),[i]),!e.rating.code)return r().createElement(r().Fragment,null);var a=r().createElement(w.L,{ref:n,className:e.getButtonClasses(e.rating,e.isActive,i,e.isRatingValid),onClick:e.onClick,disabled:e.disabled},e.rating.code);return e.disabled?a:r().createElement(ee.u,{title:e.isRatingValid?e.rating.name:re("invalidRating"),spanHack:!0},a)}function oe(e){var t=ne(r().useState([]),2),n=t[0],i=t[1];function a(t){return e.ratings.filter((function(e){return e.code&&e.value<=t.value}))}function o(t,n){t&&!e.isDisabled(t)?n&&i(a(t)):i([])}function s(t){return n.length?!!n.find((function(e){return e.id===t.id})):!!e.selections.find((function(e){return e.id===t.id}))}function l(t){if(!t)return!1;var n=e.yearGroups.findIndex((function(t){return t.value===e.yearGroup.value}));return 0===n||e.yearGroups.slice(0,n).every((function(e){return t.value>=e.rating.value}))}return r().createElement("div",null,r().createElement(k.ButtonGroup,{as:"ul",className:"list-unstyled mb-0"},e.ratings.map((function(t){var n;return r().createElement("li",{key:t.id},r().createElement(ae,{rating:t,isRatingValid:!e.yearGroup||l(t),onClick:function(){return function(t){e.onSelectRange(a(t))}(t)},onHover:o,isActive:s(t),disabled:e.disabled||(null===(n=e.isDisabled)||void 0===n?void 0:n.call(e,t)),getButtonClasses:e.getButtonClasses}))}))))}oe.defaultProps={selections:[]};function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function le(e){var t,n,r=e.filter.options,a=r.filter((function(e){return e.code})),o=(t=a,n=1,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],s=a[a.length-1];return i.createElement(i.Fragment,null,i.createElement(F,{title:e.filter.name}),i.createElement("div",{className:"mb-2"},i.createElement(oe,{ratings:r,selections:e.draftState.selection,onSelectRange:function(t){e.setDraftState({active:!!t.length,selection:t})},disabled:e.filter.disabled,isDisabled:function(e){return e.disabled},getButtonClasses:function(e,t,n){var i="btn border text-nowrap";return i+=t||n?" btn-dark":" btn-outline-dark",n&&(i+=" active"),1===a.length?i+=" rounded":o.id===e.id?i+=" sLa86":s.id===e.id?i+=" xDcnT":i+=" rounded-0",i}})))}var ce="filters.";function ue(e){return ue="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},ue(e)}var de,me={type:!0},fe=["sort","classification","presentation","audience","yearGroup","moviesAndTv","type","rating","interactives","clips","classroom","hasResources","hasSubtitles","productionYear","isHd","producedByClickView","duration","tagOrClassification","status","isAdmin","bulkActionType","userType","filter","channel","dateBroadcast","categoryId","hasInteractives","jobStatus","source"].reduce((function(e,t){return Object.assign(Object.assign({},e),(n={},r=!me[t],(i=function(e){var t=function(e,t){if("object"!=ue(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=ue(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ue(t)?t:t+""}(i=t))in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n));var n,i,r}),{});!function(e){e.MyVideos="my-videos",e.School="school",e.ExchangeArchive="exchange-archive",e.ClickView="clickview"}(de||(de={}));var ve=n(75459);function ge(e){return ge="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},ge(e)}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}a.T.encloseNamespace("sharedSearch.utils");var ye,be="".concat(ce,"library"),he=function(e,t){return(Array.isArray(e)?e:[e]).reduce((function(e,n){return t.reduce((function(e,t){var i,r=e[be]||[];return n===de.MyVideos&&t.type===ve.r.Workspace||n===de.School&&t.type===ve.r.CustomLibrary||n===de.ExchangeArchive&&t.type===ve.r.Exchange||n===de.ClickView&&t.type===ve.r.HostedLibrary?Object.assign(Object.assign({},e),function(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ge(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=ge(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ge(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},be,[].concat(function(e){if(Array.isArray(e))return pe(e)}(i=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return pe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pe(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t.id.toString()]))):e}),e)}),{})};!function(e){e.CLICKVIEW_CURATED="is_clickview_curated",e.MOVIES_AND_TV="is_movies_and_tv",e.STREAMABLE_CURATED="is_streamable_learning_curated"}(ye||(ye={})),n(11306),n(79410);var Se=n(56285);n(1268),n(74483),n(46237),n(38182);var Ee,Ce,Ae,Ie,Pe,Le=n(76044);!function(e){e.Online="online",e.Primary="primary",e.Curator="curator"}(Ee||(Ee={})),n(52086),r().createContext({}),function(e){e[e.Unknown=0]="Unknown",e[e.Staff=1]="Staff",e[e.Learner=2]="Learner",e[e.MasterVideo=3]="MasterVideo"}(Ce||(Ce={})),function(e){e.YearGroupRollover="year-group-rollover",e.ChangeYearGroup="change-year-group",e.DeleteUser="delete-user",e.RemoveUser="remove-user",e.DeactivateUser="deactivate-user",e.ActivateUser="activate-user",e.AddToClassroom="add-to-classroom",e.ResetPassword="reset-password",e.SendResetPasswordEmail="send-reset-password-email",e.SendAccountActivationEmail="send-account-activation-email",e.CreateUser="create-user",e.AddToAudience="add-to-audience",e.AddToBackboneClassification="add-to-backbone-classification",e.AddToBackboneAudience="add-to-backbone-audience",e.AddToClassification="add-to-classification",e.AddToSeries="add-to-series",e.AddToDirector="add-to-director",e.AddToDistributor="add-to-distributor",e.AddToProductionCompany="add-to-production-company",e.AddToProducer="add-to-producer",e.AddToLibrary="add-to-library",e.AddToCurationTag="add-to-curation-tag",e.AddToSkillTag="add-to-skill-tag",e.AddToPedagogyTag="add-to-pedagogy-tag",e.AddToNormalTag="add-to-normal-tag",e.AddToHiddenTag="add-to-hidden-tag",e.AddResourceAndLink="add-resource-and-link",e.Rostering="rostering"}(Ae||(Ae={})),function(e){e[e.NoAction=1]="NoAction",e[e.Succeed=1]="Succeed",e[e.Unknown=10]="Unknown",e[e.CustomerNotFound=100]="CustomerNotFound",e[e.UserNotFound=101]="UserNotFound",e[e.EmailNotVerified=131]="EmailNotVerified",e[e.UserDisabled=133]="UserDisabled",e[e.InvalidYearGroup=200]="InvalidYearGroup",e[e.MissingYearGroup=201]="MissingYearGroup",e[e.NewYearGroupNotSet=202]="NewYearGroupNotSet",e[e.ObjectNotFoundInBackboneClassification=300]="ObjectNotFoundInBackboneClassification",e[e.ObjectNotFoundInBackboneAudience=301]="ObjectNotFoundInBackboneAudience"}(Ie||(Ie={})),function(e){e[e.RolloverYearGroup=1]="RolloverYearGroup",e[e.DeactivateUser=2]="DeactivateUser",e[e.ChangeYearGroup=3]="ChangeYearGroup",e[e.DeleteUser=4]="DeleteUser",e[e.CreateUser=5]="CreateUser",e[e.ResetPassword=6]="ResetPassword",e[e.AddUsersClassroom=7]="AddUsersClassroom",e[e.SendAccountReminderEmail=8]="SendAccountReminderEmail",e[e.ActivateUser=9]="ActivateUser",e[e.AddToBackboneClassification=10]="AddToBackboneClassification",e[e.AddToClassification=11]="AddToClassification",e[e.AddToBackboneAudience=12]="AddToBackboneAudience",e[e.AddToAudience=13]="AddToAudience",e[e.AddVideosSeries=14]="AddVideosSeries",e[e.AddVideosDistributor=15]="AddVideosDistributor",e[e.AddVideosProductionCompany=16]="AddVideosProductionCompany",e[e.AddVideosProducer=17]="AddVideosProducer",e[e.AddVideosDirector=18]="AddVideosDirector",e[e.AddVideosLibrary=19]="AddVideosLibrary",e[e.AddVideosResourceAndLinks=21]="AddVideosResourceAndLinks",e[e.AddVideosTag=22]="AddVideosTag",e[e.SendAccountActivationEmail=23]="SendAccountActivationEmail",e[e.RemoveUser=24]="RemoveUser",e[e.Rostering=25]="Rostering"}(Pe||(Pe={}));var Oe=n(74421);n(84868),a.T.encloseNamespace("userManager.utils"),Pe.ActivateUser,Pe.AddUsersClassroom,Pe.ChangeYearGroup,Pe.DeactivateUser,Pe.DeleteUser,Pe.ResetPassword,Pe.RolloverYearGroup,Pe.SendAccountReminderEmail,Pe.CreateUser,Pe.SendAccountActivationEmail,Pe.RemoveUser;var ke=(a.T.encloseNamespace("sharedSearch.utils"),function(e){switch(e){case"bite-sized":return"...179999";case"short":return"180000...299999";case"medium":return"300000...899999";case"long":return"900000..."}}),we=(a.T.encloseNamespace("sharedSearch.utils"),function(e){var t=(new Date).getFullYear();switch(e){case"any-year":return"";case"this-year":return"".concat(t,"...");case"last-3-years":return"".concat(t-3,"...");case"last-5-years":return"".concat(t-5,"...")}});function Te(e,t){var n=e.split("-to-").map((function(e){return t.find((function(t){return t.code===e}))}));return n.every((function(e){return!!e}))?n:[]}function je(e){return je="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},je(e)}function Ne(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=je(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=je(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==je(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=De(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function xe(e){return function(e){if(Array.isArray(e))return _e(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||De(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function De(e,t){if(e){if("string"==typeof e)return _e(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_e(e,t):void 0}}function _e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Fe=a.T.encloseNamespace("sharedSearch.utils"),Me={classification:!0,categoryId:!0,channel:!0},Be={series:!0,video:!0,playlist:!0,classification:!0,clip:!0,interactive:!0,company:!0},qe={displayTwoLayers:function(e){var t=this;return"nested-checkbox"===e.type&&!!this.hasManyFilterOptions(e.options)&&!e.options.every((function(e){return!t.hasManyFilterOptions(null==e?void 0:e.secondLayerOptions)}))},hasManyFilterOptions:function(e){return e.length>=2},displayTwoColumns:function(e){var t;return Me[e.id]&&(null===(t=e.options)||void 0===t?void 0:t.length)>=10},showPresentationFilter:function(e){var t,n;return!!(null===(t=e.options)||void 0===t?void 0:t.length)&&(e.options.length>1||!!(null===(n=L.m.first(e.options).secondLayerOptions)||void 0===n?void 0:n.length))},getMoreFilters:function(e){return{id:"moreFilters",name:Fe("moreFilters"),type:"more-filters",filters:e}},mapTypeToComponent:function(e){switch(e){case"switch":return function(e){return i.createElement(z,Object.assign({key:e.id},e))};case"checkbox":return function(e){return i.createElement(V,Object.assign({key:e.id},e))};case"nested-checkbox":return function(e){return i.createElement(X,Object.assign({key:e.id},e))};case"radio":return function(e){return i.createElement($,Object.assign({key:e.id},e))};case"rating":return function(e){return i.createElement(le,Object.assign({key:e.id},e))};case"dropdown":return function(e){return i.createElement(J,Object.assign({key:e.id},e))};default:return function(){return i.createElement(i.Fragment,null)}}},deriveInitialStateFromQuery:function(){var e,t,n,i,r,a,o,s,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0,m={sort:{active:!!l.sort,selection:Ve(l,c,"sort")},classification:{active:!!l.classification,selection:Ve(l,c,"classification")},presentation:{active:!!l.presentation,selection:Ve(l,c,"presentation")},type:{active:!!l.type,selection:Ve(l,c,"type")},rating:{active:!!l.rating,selection:Ve(l,c,"rating")},interactives:{active:"true"===(null===(e=l.interactives)||void 0===e?void 0:e.toString())},clips:{active:"true"===(null===(t=l.clips)||void 0===t?void 0:t.toString())},yearGroup:{active:!!l.yearGroup,selection:Ve(l,c,"yearGroup")},moviesAndTv:{active:"true"===(null===(n=l.moviesAndTv)||void 0===n?void 0:n.toString())},classroom:{active:!!l.classroom,selection:Ve(l,c,"classroom")},audience:{active:!!l.audience,selection:Ve(l,c,"audience")},hasResources:{active:"true"===(null===(i=l.hasResources)||void 0===i?void 0:i.toString())},hasSubtitles:{active:"true"===(null===(r=l.hasSubtitles)||void 0===r?void 0:r.toString())},productionYear:{active:!!l.productionYear,selection:Ve(l,null==u?void 0:u.filters,"productionYear")},isHd:{active:"true"===(null===(a=l.isHd)||void 0===a?void 0:a.toString())},producedByClickView:{active:"true"===(null===(o=l.producedByClickView)||void 0===o?void 0:o.toString())},duration:{active:l.duration,selection:Ve(l,null==u?void 0:u.filters,"duration")},tagOrClassification:{active:!!l.tagOrClassification,selection:Ve(l,c,"tagOrClassification")},status:{active:!!l.status,selection:Ve(l,c,"status")},jobStatus:{active:!!l.jobStatus,selection:Ve(l,c,"jobStatus")},isAdmin:{active:"true"===(null===(s=l.isAdmin)||void 0===s?void 0:s.toString())},bulkActionType:{active:!!l.bulkActionType,selection:Ve(l,c,"bulkActionType")},userType:{active:!!l.userType,selection:Ve(l,c,"userType")},filter:{active:!!l.filter,selection:Ve(l,c,"filter")},channel:{active:!!l.channel,selection:Ve(l,c,"channel")},dateBroadcast:{active:!!l.dateBroadcast,selection:Ve(l,c,"dateBroadcast")},categoryId:{active:!!l.categoryId,selection:Ve(l,c,"categoryId")},hasInteractives:{active:!!l.hasInteractives,selection:Ve(l,c,"hasInteractives")},source:{active:!!l.source,selection:Ve(l,c,"source")}},f=function(e,t){var n,i=m[t.id];return i.active&&"selection"in i&&!(null===(n=i.selection)||void 0===n?void 0:n.length)&&(i.active=!1),e[t.id]=m[t.id],e},v=c.reduce(f,{});return(null==u?void 0:u.filters)&&(v.moreFilters=u.filters.reduce(f,{})),v.appLink=d,v},hasActiveFilters:function(e){var t=Object.keys(e);return!!t.length&&!!t.filter((function(t){return"query"!==t&&"cursor"!==t&&"page"!==t&&!(Array.isArray(e[t])&&!e[t].length)})).length},getLabel:function(e,t){var n,i;if(!(null===(n=null==t?void 0:t.selection)||void 0===n?void 0:n.length))return e.name;if("dropdown"===e.type)return L.m.first(t.selection).name;if("radio"===e.type){var r=L.m.first(t.selection);return!r||r.default?e.name:r.name}if("nested-checkbox"===e.type||"checkbox"===e.type){var a=e.options.find((function(e){return e.default&&t.selection.find((function(t){return t.id===e.id}))}));if(a)return e.name;if(e.secondaryId){var o=null===(i=t.selection)||void 0===i?void 0:i.reduce((function(t,n){var i,r,a,o=e.options,s=o.findIndex((function(e){return e.id===n.id}));return 0===(null===(i=o[s].secondLayerOptions)||void 0===i?void 0:i.length)?t+1:null!==(a=t+(null===(r=n.secondLayerSelection)||void 0===r?void 0:r.length))&&void 0!==a?a:0}),0);return"".concat(e.name," - ").concat(o)}return"".concat(e.name," - ").concat(t.selection.length)}if("rating"===e.type){if(!t.selection.length)return e.name;var s=L.m.first(t.selection),l=L.m.last(t.selection);return 1===t.selection.length?"".concat(e.name,": ").concat(s.code):"".concat(e.name,": ").concat(s.code," to ").concat(l.code)}},buildFrontendFilterParams:function(e,t){var n=Object.assign({},e);return t.forEach((function(e){var t,i;if(null==e?void 0:e.filter){var r=e.filter,a=r.id,o=r.type,s=e.state,l=s.active,c=s.selection;switch(o){case"switch":case"button":n[a]=l?"true":"";break;case"radio":case"dropdown":var u=1===(null===(t=e.state.selection)||void 0===t?void 0:t.length)&&(null===(i=L.m.first(e.state.selection))||void 0===i?void 0:i.default);n[a]=e.state.selection.length&&!u?L.m.first(e.state.selection).id:"";break;case"nested-checkbox":n[a]=l?c.map((function(e){return e.id})):null;var d,m=e.filter.secondaryId;m&&(n[m]=(d=[]).concat.apply(d,xe(c.map((function(e){return e.secondLayerSelection.map((function(e){return e.id}))})))));break;case"checkbox":if(!l){n[a]=null;break}var f,v=[],g=Re(c);try{for(g.s();!(f=g.n()).done;){var p=f.value,y=p.id.toString().split(":");if(y.length>1){var b,h=Re(y);try{for(h.s();!(b=h.n()).done;){var S=b.value;v.push(S)}}catch(e){h.e(e)}finally{h.f()}}else v.push(p.id)}}catch(e){g.e(e)}finally{g.f()}n[a]=v;break;case"tag":n[a]=l?c.map((function(e){return e.id})):null;break;case"rating":n[a]=l?function(e){if(!(null==e?void 0:e.length))return"";var t=L.m.first(e),n=L.m.last(e);return 1===e.length?t.code:"".concat(t.code,"-to-").concat(n.code)}(c):null}n[a]||delete n[a]}})),O.t.omit(n,["cursor"])},buildBackendFilterParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,r=n?Ne(Ne({},"filters.presentation",arguments.length>2?arguments[2]:void 0),"isLearner",n):{};return Object.keys(e).reduce((function(n,r){var a=e[r];return Array.isArray(a)&&!a.length||!a?n:fe[r]?"rating"===r?(n["".concat(ce).concat(r)]=function(e,t){var n=Te(e,t);if(n.length){if(1===n.length){var i=L.m.first(n);return"0...".concat(i.value)}var r=L.m.last(n);return"0...".concat(r.value)}}(a,t),n):"productionYear"===r?(n["".concat(ce).concat(r)]=we(a),n):"duration"===r?(n["".concat(ce).concat(r)]=ke(a),n):"moviesAndTv"===r?(n["".concat(ce,"curationTag")]=ye.MOVIES_AND_TV,n):"source"===r?Object.assign(Object.assign({},n),he(a,i)):(n["".concat(ce).concat(r)]=a,n):n}),r)},getAppliedIndices:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.type;if(t){if(!Array.isArray(t))return[t].filter((function(e){return Be[e]}));if(t.length)return t.filter((function(e){return Be[e]}))}return e.source?["video","clip","interactive"]:["series","video","playlist","classification","clip","interactive","company"]},applyFilter:function(e,t,n,i){if(!O.t.isEqual(t,n)){var r=Object.keys(n).map((function(t){var i,r,a=e.find((function(e){return e.id===t})),o=n[t],s=1===(null===(i=o.selection)||void 0===i?void 0:i.length)&&(null===(r=L.m.first(o.selection))||void 0===r?void 0:r.default);return{filter:a,state:{active:o.active&&!s,selection:o.selection}}})),a=D.Q.Ab.GetQuery();D.Q.C$.trigger(Object.assign(Object.assign({},i),{params:qe.buildFrontendFilterParams(a,r)}),{replace:!0})}},mixinDisabledFields:function(e,t,n,i){var r,a=[].concat(xe(n),xe(null!==(r=null==i?void 0:i.filters)&&void 0!==r?r:[]));a=function(e,t,n){var i=n.reduce((function(e,t){return e[t]=!0,e}),{});return t.map((function(n){var r;if(!(null===(r=n.compatibleIndices)||void 0===r?void 0:r.length))return n;if(!n.compatibleIndices.find((function(e){return i[e]})))return Object.assign(Object.assign({},n),{disabled:!0});var a=Object.keys(e).filter((function(t){var n=e[t];return"active"in n&&n.active})),o=!1;return a.forEach((function(e){var i;if(!o){var r=t.find((function(t){return t.id===e}));if(null===(i=r.compatibleIndices)||void 0===i?void 0:i.length){var a=r.compatibleIndices.reduce((function(e,t){return e[t]=!0,e}),{});n.compatibleIndices.find((function(e){return a[e]}))||(o=!0)}}})),Object.assign(Object.assign({},n),{disabled:o})}))}(e,a,t),a=function(e,t){return t.map((function(n){if(!x.q.isFunction(n.disableOptions))return n;var i=n.disableOptions(n.options,t,e);return Object.assign(Object.assign({},n),{options:i})}))}(e,a);var o={mainFilters:a.filter((function(e){return n.find((function(t){return t.id===e.id}))}))};return(null==i?void 0:i.filters)&&(o.moreFilters=Object.assign(Object.assign({},i),{filters:a.filter((function(e){return i.filters.find((function(t){return t.id===e.id}))}))})),o},logFilterEvent:function(e,t,n,i,r){var a,o=[];null==e||e.forEach((function(e){var t=n[e.id];t.active&&o.push({type:e.id,selection:t.selection})})),null===(a=null==t?void 0:t.filters)||void 0===a||a.forEach((function(e){var t=n.moreFilters[e.id];t.active&&o.push({type:e.id,selection:t.selection})})),o.length||(r.descriptor=P.OR.Reset),_.k.logUserAction({query:null!=i?i:"",filters:o},_.k.mergeOptions(r,{workflowPhase:P.eu.Complete,actionType:P.Vw.Filter}))},getObjectTypeOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[{id:"classification",name:Fe("topics")},{id:"playlist",name:Fe("playlists")},{id:"series",name:Fe("series")},{id:"video",name:Fe("videos")},{id:"clip",name:Fe("clips")},{id:"interactive",name:Fe("interactives")}].filter((function(t){return!e.find((function(e){return e===t.id}))}))},getIsObjectTypeOptionDisabled:function(e,t,n){return e.map((function(e){var i=!1;return t.forEach((function(t){var r;if(!i){var a=n[t.id]||n.moreFilters[t.id];(null==a?void 0:a.active)&&(null===(r=t.compatibleIndices)||void 0===r?void 0:r.length)&&(t.compatibleIndices.find((function(t){return e.id===t}))||(i=!0))}})),Object.assign(Object.assign({},e),{disabled:i})}))},getNameSortOptions:function(){return[{id:"newest",name:Fe("newest")},{id:"oldest",name:Fe("oldest")},{id:"first-name-atoz",name:Fe("firstNameAToZ")},{id:"first-name-ztoa",name:Fe("firstNameZToA")},{id:"surname-atoz",name:Fe("surnameAToZ")},{id:"surname-ztoa",name:Fe("surnameZToA")}]},getYearGroupOptions:function(e){return(null==e?void 0:e.length)?e.map((function(e){return{id:e.value.toString(),name:e.name}})):[]},getStatusOptions:function(){return[{id:"active",name:Fe("active")},{id:"deactivated",name:Fe("deactivated")},{id:"pending",name:Fe("pending")}]},getJobStatusOptions:function(){return[{id:"completed",name:Fe("completed")},{id:"failed",name:Fe("errored")},{id:"inProgress",name:Fe("inProgress")}]},getTvFieldsOptions:function(){return[{id:"0",name:Fe("allFields"),default:!0},{id:"1",name:Fe("titleDescriptionField")},{id:"2",name:Fe("captionsField")}]},getTvChannelOptions:function(e){return(null==e?void 0:e.length)?e.map((function(e){return{id:e.name,name:e.name}})):[]},getTvDateBroadcastOptions:function(){return[{id:"any-time",name:Fe("anyTime"),default:!0},{id:"yesterday",name:Fe("yesterday")},{id:"last-week",name:Fe("lastWeek")},{id:"last-2-weeks",name:Fe("last2Weeks")}]},getCategoriesOptions:function(e){return(null==e?void 0:e.length)?e.map((function(e){return{id:e.data.id,name:e.data.name}})):[]}};function Ve(e){var t,n,i=arguments.length>2?arguments[2]:void 0,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).find((function(e){return e.id===i}));if(!r)return[];if(!e[i])return null!==(n=null===(t=r.options)||void 0===t?void 0:t.filter((function(e){return e.default})))&&void 0!==n?n:[];if("rating"===i)return function(e,t){if(Array.isArray(e))return e;var n=t.options,i=Te(e,n);if(!i.length)return[];var r=L.m.last(i);return n.filter((function(e){return e.value>0&&e.value<=r.value}))}(e[i],r);var a=e[i];return Array.isArray(a)||(a=[a]),"classification"===i?function(e,t){var n,i;return null!==(i=null===(n=null==e?void 0:e.options)||void 0===n?void 0:n.filter((function(e){return e.id.split(":").every((function(e){return t.find((function(t){return t.toString()===e.toString()}))}))})))&&void 0!==i?i:[]}(r,a):"presentation"===i?function(e,t,n){return Ge(e,t).map((function(e){var t=n.audience;if(!(null==t?void 0:t.length))return e;var i=Ge(e.secondLayerOptions,t);return Object.assign(Object.assign({},e),{secondLayerSelection:i})})).filter((function(e){var t;return!!(null===(t=e.secondLayerSelection)||void 0===t?void 0:t.length)}))}(r.options,a,e):Ge(r.options,a)}function Ge(e,t){var n;return Array.isArray(t)||(t=[t]),null!==(n=null==e?void 0:e.filter((function(e){return t.find((function(t){return t.toString()===e.id.toString()}))})))&&void 0!==n?n:[]}var Ue={hideCaret:"KDq7l",filterMenu:"E9o_Q",twoColumnsWidth:"C70vU",nestedCheckboxesWidth:"kUHcg",switchWidth:"bi1FH",moreFiltersWidth:"rbr22",svgContainer:"UwDMA"};function He(e){return He="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},He(e)}function We(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ye(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ye(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 Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Ke(e){var t=i.useContext(N).state,n=t[e.filter.id],r="dropdown"===e.filter.type,a=We(i.useState(e.filter.name),2),o=a[0],s=a[1],l=We(i.useState(!1),2),c=l[0],u=l[1],d=We(i.useState(n),2),m=d[0],f=d[1];function v(e){f(e),r&&g(e)}function g(){var i,r,a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;qe.applyFilter([e.filter],n,(i={},r=e.filter.id,a=o,(r=function(e){var t=function(e,t){if("object"!=He(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=He(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==He(t)?t:t+""}(r))in i?Object.defineProperty(i,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[r]=a,i),t.appLink)}i.useEffect((function(){s(qe.getLabel(e.filter,n)),f(n)}),[e.filter,null==n?void 0:n.selection]);var p,y=i.useMemo((function(){return e.filter.customComponent?e.filter.customComponent:qe.mapTypeToComponent(e.filter.type)}),[e.filter.type]),b=e.hideCaret&&!r?Ue.hideCaret:"",h=(p=e.filter,qe.displayTwoColumns(p)?Ue.twoColumnsWidth:"classification"===p.id?Ue.classificationWidth:qe.displayTwoLayers(p)?Ue.nestedCheckboxesWidth:"switch"===p.type?Ue.switchWidth:"");return"button"===e.filter.type?i.createElement(y,{filter:e.filter,draftState:m,setDraftState:v}):i.createElement(k.Dropdown,{onToggle:function(e){u(e),e||r||g()},show:c},i.createElement(k.Dropdown.Toggle,{id:"filterButton-".concat(e.filter.id),className:"".concat("fw-semibold mx-1 btn d-flex align-items-center"," ").concat(b),variant:n.active&&!r?"dark":"outline-dark",disabled:e.filter.disabled},!!e.filter.icon&&i.createElement("div",{className:Ue.svgContainer},i.createElement(S.x,{svgName:e.filter.icon})),e.filter.labelPrefix," ",o),i.createElement(k.Dropdown.Menu,null,i.createElement("div",{className:"mx-1 ".concat(Ue.filterMenu," ").concat(h," ").concat(r?"":"px-2 py-1")},i.createElement(y,{filter:e.filter,draftState:m,setDraftState:v}),!r&&!e.filter.disabled&&i.createElement(j,{active:m.active,onClickReset:function(){var t,n=null===(t=e.filter.options)||void 0===t?void 0:t.find((function(e){return e.default}));f({active:!1,selection:n?[n]:[]})},onClickApply:function(){g(),u(!1)}}))))}function Ze(e){return Ze="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},Ze(e)}Ke.defaultProps={hideCaret:!0};var Xe={getSetStateByKey:function(e,t,n){return function(i){return e((function(e){var r,a,o,s=x.q.isFunction(n)?n:x.q.useIdentity();return Object.assign(Object.assign({},e),(r={},a=t,o=s(i,e),(a=function(e){var t=function(e,t){if("object"!=Ze(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=Ze(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ze(t)?t:t+""}(a))in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r))}))}}};function Qe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ze(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ze(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 ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Je(e){return Object.keys(e).reduce((function(t,n){return e[n].active?t+1:t}),0)}function $e(e){var t=i.useContext(N).state,n=t.moreFilters,r=Qe(i.useState(e.filter.name),2),a=r[0],o=r[1],s=Qe(i.useState(!1),2),l=s[0],c=s[1],u=Qe(i.useState(n),2),d=u[0],m=u[1],f=Qe(i.useState(Je(n)),2),v=f[0],g=f[1],p=Object.keys(n).map((function(e){return"".concat(e,":").concat(n[e].active)})).join("-");function y(){qe.applyFilter(e.filter.filters,n,d,t.appLink)}i.useEffect((function(){m(n),g(Je(n))}),[e.filter,p]),i.useEffect((function(){o(v?"".concat(e.filter.name," - ").concat(v):e.filter.name)}),[v]);var b="fw-semibold ".concat(Ue.hideCaret," mx-1 btn");return i.createElement(k.Dropdown,{onToggle:function(e){c(e),e||y()},show:l},i.createElement(k.Dropdown.Toggle,{id:e.filter.id,className:b,variant:v?"dark":"outline-dark"},a),i.createElement(k.Dropdown.Menu,{onClick:function(e){return e.stopPropagation()}},i.createElement("div",{className:"mx-1 ".concat(Ue.moreFiltersWidth," ").concat("dropdown"!==e.filter.type?"px-2 py-1":"")},e.filter.filters.map((function(e){var t=e.customComponent?e.customComponent:qe.mapTypeToComponent(e.type);return i.createElement("fieldset",{key:e.id},i.createElement(t,{filter:e,draftState:d[e.id],setDraftState:Xe.getSetStateByKey(m,e.id),isOnMoreFilters:!0}))})),i.createElement(j,{active:!!Object.keys(d).find((function(e){return d[e].active})),onClickReset:function(){var t=Object.keys(n).reduce((function(t,n){var i,r=null===(i=e.filter.filters.find((function(e){return e.id===n})).options)||void 0===i?void 0:i.find((function(e){return e.default}));return t[n]={active:!1,selection:r?[r]:[]},t}),{});m(t)},onClickApply:function(){y(),c(!1)}}))))}var et={tagList:"Zw6d9",disabled:"jlL1c",partialTag:"too_N",badge:"OjtN8",close:"X9joI"},tt=r().memo((function(e){var t=e.tagClass,n="partial-loading-background d-inline-block rounded-pill py-1 px-2 mb-1 me-1 text-nowrap ".concat(void 0===t?"":t," ").concat(et.partialTag);return r().createElement("div",{className:"mt-1"},r().createElement("span",{className:n}," "))})),nt=n(37360),it=n(49642),rt=n(4705),at=n(73516),ot=n(13034);function st(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var lt,ct,ut="onboarding:persona",dt="onboarding:usage:intention",mt="onboarding:had:job:title",ft={getOnboardingPathway:function(e){var t=e.jobTitle,n=e.userSettings,i=e.presentations,r=e.curriculums,a=e.preferredPresentation,o=e.preferredSubjects,s=e.hasPlaylist,l=e.appLink,c=e.appLinks,u=e.masterUser,d=e.currentUser,m=e.hasPermissions,f=ft.getPersona();!f&&t&&ft.updatePersona(t),f&&f!==Le.l.getPersonaFromJobTitle(t)&&ft.updatePersona(t);var v={jobTitle:t,hasPlaylist:s,masterUser:u,presentations:i||[],curriculums:r||[],preferredPresentation:a,preferredSubjects:o,instanceRegion:null==d?void 0:d.instanceRegion,hasPermissions:m},g=ft.getCurrentScreen(l,c),p=Object.values(Et),y={},b=null,h=null,S=0,E=0,C=!0;return p.forEach((function(e){var t;if(e.predicate(v)){h||(h=e.id);var i=function(e,t){var n;return null===(n=null==e?void 0:e[t])||void 0===n?void 0:n.value}(n,e.setting);i||(C=!1),g||i||(g=e.id),S++,y[e.id]={isComplete:i,next:null,previous:b,number:S,includeInProgressBar:!1},e.includeInProgressBar(v)&&(E++,y[e.id].progressBarNumber=E,y[e.id].includeInProgressBar=!0),(null===(t=e.branches)||void 0===t?void 0:t.length)&&e.branches.forEach((function(t){y[t]={next:e.id,previous:e.id,includeInProgressBar:!1}})),b&&(y[b].next=e.id),b=e.id}})),g||C||(g=h),{screens:y,currentScreen:g,totalScreens:S,totalScreensInProgressBar:E,hasCompletedAllSteps:C}},getNextAppLink:function(e,t){var n=e.screens[e.currentScreen],i=null==n?void 0:n.next;return i?t[i]:null},getPreviousAppLink:function(e,t){var n=e.screens[e.currentScreen],i=null==n?void 0:n.previous;return i?t[i]:null},getCurrentScreen:function(e,t){var n=Object.entries(t).find((function(t){return(n=t,i=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(n,i)||function(e,t){if(e){if("string"==typeof e)return st(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?st(e,t):void 0}}(n,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.")}())[1].action===e.action;var n,i}));return n?L.m.first(n):null},getPersona:function(){return rt.SG.get(ut)},updatePersona:function(e){var t=Le.l.getPersonaFromJobTitle(e);rt.SG.set(ut,t||"teacher")},getUsageIntention:function(){return rt.SG.get(dt)},updateUsageIntention:function(e){rt.SG.set(dt,e)},removeUsageIntention:function(){rt.SG.remove(dt)},getProgress:function(e){var t,n,i,r=null===(t=e.screens[e.currentScreen])||void 0===t?void 0:t.number,a=null===(n=e.screens[e.currentScreen])||void 0===n?void 0:n.progressBarNumber,o=e.totalScreens,s=e.totalScreensInProgressBar,l=a/s*100,c=(r-1)/o*100;return{showProgressBar:null===(i=e.screens[e.currentScreen])||void 0===i?void 0:i.includeInProgressBar,currentStepNumber:r,currentStepProgressBarNumber:a,totalScreens:o,totalScreensInProgressBar:s,progressBarPercentage:l,overallPercentage:c}},hasNonBdmTrial:function(e){return e(ot.C.ViewTrialUpgrade)},getOnboardingScreenStates:function(e){var t=[],n=[];return Object.keys(e.screens).forEach((function(i){e.screens[i].isComplete?t.push(i):n.push(i)})),{completedScreens:t,incompleteScreens:n}},shouldRedirectToOnboarding:function(e,t,n){var i,r;return(null==e?void 0:e.dateCreated)>=(n.some((function(e){return e.id.toString()===at.e.PresentationIds.AU_TERTIARY.toString()}))?"2024-09-02":"2024-03-26")||!!ft.hasNonBdmTrial(t)&&("boolean"!=typeof rt.SG.get(mt)&&rt.SG.set(mt,!!(null===(r=null===(i=null==e?void 0:e.userProfile)||void 0===i?void 0:i.metadata)||void 0===r?void 0:r.jobTitle)),!rt.SG.get(mt))}},vt=n(8371),gt=n(36357),pt=JSON.parse('{"9":{"JpZ05O1":{"name":"English","videoIds":["12293130","30361411","56866418","58438459","47329278","33204878"]},"2jDy2MG":{"name":"Health and Physical Education","videoIds":["7707302","3714120","3714278","3714173","3714263","57736366"]},"nK2le8E":{"name":"Personal Development and Health","videoIds":["8789599","60153074","3713674","15492556","3716135","53092493"]},"yKGO31z":{"name":"Business and Economics","videoIds":["47366972","3715870","18845095","36235981","53428226","51407674"]},"m0LrOj4":{"name":"Geography","videoIds":["67277770","3716182","5803343","21143528","3716292","3922246"]},"WAJk5KZ":{"name":"Earth and Environment","videoIds":["59077564","4006484","21148006","3716170","21143528","3716621"]},"v47nvEK":{"name":"History","videoIds":["3926454","3716774","3713871","3716594","3716183","3713847"]},"j03MPwr":{"name":"Legal Studies","videoIds":["3102514","1980904","1969843","3716210","3714860","2787675"]},"bbJR9Zn":{"name":"Languages","videoIds":["5449905","42463035","6820509","6027576","47076421","5455635"]},"8L21E3O":{"name":"Mathematics","videoIds":["3715870","3715019","51005229","3714949","3716177","3715365"]},"2jDy2M7":{"name":"Religion and Philosophy","videoIds":["3716229","3716171","41056701","16574869","3716175","50917953"]},"qdo988Y":{"name":"Biological Sciences","videoIds":["3714819","3716265","4683666","3715984","38041517","3779793"]},"0OPpqqo":{"name":"Chemical Sciences","videoIds":["52947827","52948049","3715160","4427422","57870424","47323862"]},"dlMrOdE":{"name":"Physical Sciences","videoIds":["11746875","3716307","39316775","6746382","6812332","6344597"]},"3koR9yA":{"name":"Psychology","videoIds":["3714373","3714891","16132648","6599207","3717591","3717555"]},"0OZyLGy":{"name":"Technologies","videoIds":["3714027","6863817","3716153","34149622","22733300","10345707"]},"0OZyLYy":{"name":"The Arts","videoIds":["3713730","3716727","3937998","32102569","3716167","32998073"]}},"12":{"v45P37g":{"name":"Expressive Arts","videoIds":["8924670","49585075","38370221","47484152","54095899","32102465"]},"GxyLnJn":{"name":"Languages","videoIds":["7486323","36991396","5449905","40919815","48278510","50466413"]},"7PWYrDW":{"name":"Literacy and English","videoIds":["41906926","49581979","61250","52429859","32970218","41938064"]},"eKpbY50":{"name":"Numeracy and Mathematics","videoIds":["3711988","42637723","6682722","58026826","13078019","4991116"]},"4GR8pEL":{"name":"Physical Education","videoIds":["38132665","39294835","48118056","57372274","53108623","47431467"]},"k3MlbL9":{"name":"PSHE","videoIds":["7593354","4169937","9900606","37428010","50180637","37857897"]},"wLDW2LL":{"name":"Religious and Philosophical Education","videoIds":["8739794","8733823","8734696","39428437","49159932","49159889"]},"nKGonKL":{"name":"Sciences","videoIds":["3711985","36554684","4108673","3712066","7310225","48022765"]},"eKpbEMy":{"name":"Social Studies","videoIds":["38091407","52436848","8139170","8733988","52601783","51668932"]},"MgqLxwk":{"name":"Technologies","videoIds":["47529961","4108924","3711985","51668853","49834298","37137391"]}},"13":{"GxAzY0z":{"name":"Arts","videoIds":["6412547","53550381","40919555","50977326","53108637","49858623"]},"Jpy1Edb":{"name":"Computer Science and Technology","videoIds":["39382930","40907539","48236013","48233767","48236100","3712674"]},"NqgPKaG":{"name":"English Language Arts","videoIds":["38945464","39388174","52673932","38945448","60062676","48235940"]},"bbJ74ed":{"name":"Health","videoIds":["39430062","40919434","39362080","39383081","58025600","40919494"]},"Dda6pW3":{"name":"Math","videoIds":["49532295","38943192","49532442","39382723","39388252","38944700"]},"j0a4Arj":{"name":"Physical Education","videoIds":["40919406","48235838","50652589","40919430","48236078","50652575"]},"LqG71RA":{"name":"Science","videoIds":["45248852","48235521","52318531","48235464","39383083","51731134"]},"8LnP7p8":{"name":"Social and Emotional Learning","videoIds":["39451488","48235859","39337317","40964136","42314985","39382748"]},"v4qEZDG":{"name":"Social Studies","videoIds":["51666992","39382727","41120130","56997479","57311898","39342430"]},"4Gl1DaK":{"name":"World Languages","videoIds":["40919719","40919802","40919815","40919186","40915325","49858537"]}},"14":{"2jrkdLY":{"name":"Arts","videoIds":["38916908","6412547","40919390","40919482","38817643","38817665"]},"g42EN1v":{"name":"Computer Science and Technology","videoIds":["40919434","38917550","50878197","40907190","40907208","39382881"]},"5ROzG7l":{"name":"English Language Arts","videoIds":["39387902","40912179","60062676","40916580","40919438","48234159"]},"ze5J1AE":{"name":"Health","videoIds":["39362404","39430062","51152651","40919426","40919486","48234499"]},"v4qnrzg":{"name":"Math","videoIds":["39361909","51005193","51730147","48715611","39382600","49532478"]},"1dRa6vd":{"name":"Physical Education","videoIds":["40918377","51617459","49533964","42463003","51182678","50652593"]},"KAE9Kqx":{"name":"Science","videoIds":["50877364","39438561","40907311","51735853","40908561","50878717"]},"xyLWk6w":{"name":"Social and Emotional Learning","videoIds":["40964136","53746175","48172750","48171641","50417923","50418083"]},"8Ln1GA8":{"name":"Social Studies","videoIds":["51666258","38945379","50900368","49690616","45259058","51666231"]},"DdaRGrq":{"name":"World Languages","videoIds":["40915666","40915325","42486037","40915698","40915345","48040254"]}},"15":{"yKZ43dw":{"name":"Arts","videoIds":["38817665","39999270","38808751","40911271","40911232","51581800"]},"p3y82WO":{"name":"Career and Technical Education","videoIds":["52328915","52328920","47488746","47488362","52436904","40917538"]},"KAERnwR":{"name":"Computer Science and Technology","videoIds":["40915847","40916210","51262040","39912587","51250029","58318543"]},"LqGrPwA":{"name":"English Language Arts","videoIds":["40914651","40918236","77544344","51581321","39319556","40912204"]},"8LnamD8":{"name":"Health","videoIds":["51154979","48235793","46984526","39894691","59279809","50996991"]},"Jpyo7W2":{"name":"Math","videoIds":["47595827","51730147","49532658","48715416","48234988","48715584"]},"5RO2ml5":{"name":"Physical Education","videoIds":["49533951","40918509","40918377","51655191","50652593","40908770"]},"obMre0k":{"name":"Science","videoIds":["40915159","51293454","52938790","51291516","39414759","40916620"]},"ze5d6l9":{"name":"Social and Emotional Learning","videoIds":["48171596","48171968","48171765","50418083","50418241","48235802"]},"qd17eke":{"name":"Social Studies","videoIds":["50763143","49690616","53578611","53313159","45286772","39414759"]},"KAERnDz":{"name":"World Languages","videoIds":["42486037","48234348","40919186","40919098","40918945","40915898"]}},"16":{"KAEY5GK":{"name":"Art and Design","videoIds":["8924670","49585075","38370221","47484152","54095899","32102465"]},"6wa2YwO":{"name":"Citizenship","videoIds":["57355388","52601783","48522943","22372630","53108585","41992024"]},"R0LK746":{"name":"Computing","videoIds":["26617482","38132678","26619390","36895952","41565288","36895909"]},"9DPkNz6":{"name":"Design and Technology","videoIds":["47529961","4108924","3711985","51668853","49834298","37137391"]},"2jDnan9":{"name":"Drama","videoIds":["51240522","230268","37018426","41939112","51582282","46916103"]},"E06dg2Z":{"name":"English","videoIds":["41906926","49581979","61250","52429859","32970218","41938064"]},"8LnO2Rd":{"name":"Geography","videoIds":["67225999","3713237","4402476","50800706","51666994","48105073"]},"bbJ9Ayb":{"name":"History","videoIds":["52436848","8139170","8733988","48666851","51668932","51731292"]},"Dda4KYL":{"name":"Languages","videoIds":["7486323","36991396","5449905","40919815","48278510","50466413"]},"Ax2Jyoa":{"name":"Mathematics","videoIds":["3711988","42637723","6682722","58026826","13078019","4991116"]},"bbJ9Ap0":{"name":"Music","videoIds":["50466237","6412547","49535315","49808227","30324910","64333"]},"NqgMRWy":{"name":"Physical Education","videoIds":["38132665","39294835","48118056","57372274","53108623","47431467"]},"Yvm5eyp":{"name":"PSHE","videoIds":["7593354","4169937","9900606","37428010","50180637","37857897"]},"8LnO2Je":{"name":"Religious Education","videoIds":["8739794","8733823","8734696","39428437","49159932","49159889"]},"3kmoJ72":{"name":"Science","videoIds":["3711985","36554684","4108673","3712066","7310225","48022765"]}},"18":{"yKP9gOD":{"name":"Civics and Citizenship","videoIds":["7735265","7735497","50679052","51452628","13106949","13107690"]},"7P6JOYb":{"name":"Economics and Business Studies","videoIds":["53428624","37455700","57355319","53428628","43961148","57966130"]},"j0jRJ1Z":{"name":"English","videoIds":["8416974","8417845","3712691","32127566","6673418","52675027"]},"nKDmYEl":{"name":"Geography","videoIds":["58600977","6980722","34591272","4402447","34597058","51437590"]},"Pk7e2GL":{"name":"Health and Physical Education","videoIds":["7593365","4170133","9900524","36875667","4669690","7593792"]},"WAe601Z":{"name":"History","videoIds":["3713735","6430651","3716829","43772092","51391809","56980377"]},"v4893Yy":{"name":"Languages","videoIds":["5449905","32345978","39623583","6820509","39255442","39254760"]},"nKDmYkl":{"name":"Mathematics","videoIds":["3713828","10749459","32102562","6689791","3713607","48278618"]},"0OeG09l":{"name":"Religion","videoIds":["8740724","8733239","8739706","8734693","8733792","33320133"]},"2jd70bp":{"name":"Science","videoIds":["3712073","36554689","3713561","3713739","7310275","3711972"]},"KAmPJqP":{"name":"Technologies","videoIds":["26619390","4131606","38132678","50720784","57230386","51181861"]},"MgOve7k":{"name":"The Arts","videoIds":["50466237","6412547","8100020","3716220","49808227","32787298"]}},"24":{"qdarDYp":{"name":"Business and Economics","videoIds":["51623323","47366972","37709668","37709732","3716149","8973838"]},"3ko2ey4":{"name":"Citizenship","videoIds":["36220305","47575902","3716210","36103171","57771705","5270400"]},"eKnGDa0":{"name":"English","videoIds":["36191688","33204878","36395402","5758602","35997069","23851791"]},"Yv5dzw5":{"name":"Expressive Arts","videoIds":["3716191","3716247","48134757","32998073","3716167","35601583"]},"ra6m0d1":{"name":"Geography","videoIds":["74135484","9375166","5711759","16206702","3922246","48476601"]},"E0dZqyR":{"name":"History","videoIds":["3926454","9978142","4684604","8372779","3716183","4648523"]},"9DkAaKy":{"name":"Languages","videoIds":["5449905","42463035","6820509","42209168","47076421","5455635"]},"8LOYpl0":{"name":"Numeracy and Mathematics","videoIds":["3716176","3715070","51730710","3715047","4553884","48091307"]},"m0d5D7r":{"name":"Physical Education","videoIds":["7609298","3714120","3714279","49160029","3714263","51667687"]},"g4WgD5l":{"name":"PSE","videoIds":["59279784","3716135","53259069","53259054","983611","16132648"]},"WALeYqE":{"name":"Psychology","videoIds":["57771705","3714373","39438648","3714426","3714891","3717591"]},"eKnGDdP":{"name":"Religious, Moral and Philosophical Education","videoIds":["3716229","3716171","39379918","33305783","3716175","3716237"]},"eKnGDdo":{"name":"Sciences","videoIds":["11746875","3779793","4558988","48139884","3713268","3716170"]},"nK2D9Oj":{"name":"Sociology","videoIds":["3716077","3714531","47207659","58441038","63984885","38146645"]},"2jDd3kx":{"name":"Technologies","videoIds":["50917033","58307508","3716153","74135484","48083353","35004434"]}},"47":{"LqKNnNw":{"name":"Business and Economics","videoIds":["51623323","47366972","37709668","37709732","3716149","8973838"]},"7PgZvEA":{"name":"Careers","videoIds":["9315247","9312222","47104083","3715120","3714944","47159767"]},"la7zdgw":{"name":"English","videoIds":["53466594","77444242","17989642","30340068","24419904","33204878"]},"wLKkMwD":{"name":"Expressive Arts","videoIds":["3716191","3716247","48134757","32998073","3716167","35601583"]},"wLKkMEp":{"name":"Geography","videoIds":["74135484","22687577","5711759","16206702","3922246","19105359"]},"OzZ6vg4":{"name":"History","videoIds":["3926454","9978142","4684604","8372779","3716183","4648523"]},"YvJby7P":{"name":"Mathematics","videoIds":["3716176","3715070","51730710","3715047","4553884","34497285"]},"v41jLmK":{"name":"Modern Foreign Languages","videoIds":["5449905","42463035","6820509","42209168","47076421","5455635"]},"aPG3mRe":{"name":"Physical Education","videoIds":["7609298","3714120","3714279","49160029","3714263","51667687"]},"Gxp3jze":{"name":"PSHE","videoIds":["59279784","3716135","53259069","53259054","983611","16132648"]},"qd2K0qY":{"name":"Religion","videoIds":["3716229","3716171","39379918","33305783","3716175","3716237"]},"ob31yZ9":{"name":"Science","videoIds":["9375775","11746875","3779793","4558988","48139884","3713268"]},"nKvyqe1":{"name":"Technology","videoIds":["50917033","58307508","3716153","74135484","48083353","35004434"]}}}'),yt={CreatePlaylist:function(e){return!(e.hasPlaylist||e.preferredPresentation&&!pt[e.preferredPresentation.id])}},bt=a.T.encloseNamespace("onboarding.constants"),ht="show-subjects-summary",St="show-job-title-to-trial-user",Et={"welcome-video":{id:"welcome-video",predicate:function(e){return!!ft.shouldRedirectToOnboarding(e.masterUser,e.hasPermissions,e.presentations)&&e.instanceRegion===vt.b.US},setting:gt.E.HasCompletedOnboardingStepWelcomeVideo,analyticsLocation:P.LZ.OnboardingWelcomeVideoScreen,includeInProgressBar:function(){return!1},getWidgetHeading:function(){return bt("selectRoleHeading")},getWidgetDescription:function(){return bt("selectRoleMessage")}},"select-role":{id:"select-role",predicate:function(e){return!ft.hasNonBdmTrial(e.hasPermissions)||(e.jobTitle?"boolean"==typeof rt.SG.get(St)?rt.SG.get(St):(rt.SG.set(St,!1),!1):("boolean"!=typeof rt.SG.get(St)&&rt.SG.set(St,!0),!0))},setting:gt.E.HasCompletedOnboardingStepSelectRole,analyticsLocation:P.LZ.OnboardingSelectRoleScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return bt("selectRoleHeading")},getWidgetDescription:function(){return bt("selectRoleMessage")}},"usage-intention":{id:"usage-intention",predicate:function(){return!0},setting:gt.E.HasCompletedOnboardingStepUsageIntention,analyticsLocation:P.LZ.OnboardingUsageIntentionScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return bt("usageIntentionHeading")},getWidgetDescription:function(){return bt("usageIntentionMessage")}},"subjects-summary":{id:"subjects-summary",predicate:function(e){return"boolean"==typeof rt.SG.cacheGet(ht)||rt.SG.cacheSet(ht,!ft.shouldRedirectToOnboarding(e.masterUser,e.hasPermissions,e.presentations)&&!!(null===(t=e.preferredSubjects)||void 0===t?void 0:t.length),604800),rt.SG.cacheGet(ht);var t},setting:gt.E.HasCompletedOnboardingStepSubjectsSummary,analyticsLocation:P.LZ.OnboardingSubjectsSummaryScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return bt("subjectsHeading")},getWidgetDescription:function(){return bt("subjectsMessage")},branches:["school-level","subjects","select-curriculum"]},"school-level":{id:"school-level",predicate:function(e){var t;return!(Et["subjects-summary"].predicate(e)||(null===(t=e.presentations)||void 0===t?void 0:t.length)<2)},setting:gt.E.HasCompletedOnboardingStepSchoolLevel,analyticsLocation:P.LZ.OnboardingSchoolLevelScreen,includeInProgressBar:function(e){return!Et["subjects-summary"].predicate(e)},getWidgetHeading:function(e){return bt(e?"schoolLevelHeadingKdm":"schoolLevelHeading")},getWidgetDescription:function(e){return bt(e?"schoolLevelMessageKdm":"schoolLevelMessage")}},"select-curriculum":{id:"select-curriculum",predicate:function(e){var t;return!(Et["subjects-summary"].predicate(e)||(null===(t=e.curriculums)||void 0===t?void 0:t.length)<2)},setting:gt.E.HasCompletedOnboardingStepSelectCurriculum,analyticsLocation:P.LZ.OnboardingSelectCurriculumScreen,includeInProgressBar:function(e){return!Et["subjects-summary"].predicate(e)},getWidgetHeading:function(){return bt("selectCurriculumHeading")},getWidgetDescription:function(){return bt("selectCurriculumMessage")}},subjects:{id:"subjects",predicate:function(e){return!Et["subjects-summary"].predicate(e)},setting:gt.E.HasCompletedOnboardingStepSubjects,analyticsLocation:P.LZ.OnboardingSubjectsScreen,includeInProgressBar:function(e){return!Et["subjects-summary"].predicate(e)},getWidgetHeading:function(e){return bt(e?"subjectsHeadingKdm":"subjectsHeading")},getWidgetDescription:function(){return bt("subjectsMessage")}},"select-videos":{id:"select-videos",predicate:yt.CreatePlaylist,setting:gt.E.HasCompletedOnboardingStepSelectVideos,analyticsLocation:P.LZ.OnboardingSelectVideosScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return bt("selectVideosHeading")},getWidgetDescription:function(e){return bt(e?"selectVideosMessageKdm":"selectVideosMessage")}},"create-playlist":{id:"create-playlist",predicate:yt.CreatePlaylist,setting:gt.E.HasCompletedOnboardingStepCreatePlaylist,analyticsLocation:P.LZ.OnboardingCreatePlaylistScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return bt("createPlaylistHeading")},getWidgetDescription:function(){return bt("createPlaylistMessage")}}};!function(e){e.ThumbnailHeroMedia="thumbnail_hero_media",e.ThumbnailFeaturedMedia="thumbnail_featured_media",e.ThumbnailSlidingListSmall="thumbnail_sliding_list_small",e.ThumbnailSlidingListSmallV2="thumbnail_sliding_list_small_v2",e.ThumbnailSlidingListLarge="thumbnail_sliding_list_large",e.ThumbnailFixedListMediaLarge="thumbnail_fixed_list_media_large",e.ThumbnailVerticalList="thumbnail_vertical_list",e.PopoutThumbnailSlidingListLarge="popout_thumbnail_sliding_list_large",e.PopoutThumbnailSlidingListSmall="popout_thumbnail_sliding_list_small",e.FeaturedThumbnailSlidingList="featured_thumbnail_sliding_list",e.ThumbnailFixedListXLarge="thumbnail_fixed_list_xlarge",e.CoverSlidingPillListSmall="cover_sliding_pill_list_small",e.CoverFixedPillListLarge="cover_fixed_pill_list_large",e.StatsCoverFixedPillListLarge="stats_cover_fixed_pill_list_large",e.CoverFixedPillListXSmall="cover_fixed_pill_list_xsmall",e.ThumbnailFixedListLarge="thumbnail_fixed_list_large",e.ThumbnailFixedListSmall="thumbnail_fixed_list_small",e.EditableCoverFixedPillListSmall="editable_cover_fixed_pill_list_small",e.HeroBanner="hero_banner",e.HeroThumbnailSmall="hero_thumbnail_small",e.HeroBlockColourSmall="hero_block_colour_small",e.CoverFixedTileList="cover_fixed_tile_list",e.PosterSlidingListLarge="poster_sliding_list_large",e.PosterSlidingListMedium="poster_sliding_list_medium",e.PosterSlidingListSmall="poster_sliding_list_small",e.HeroBannerSmall="hero_banner_small",e.Heading="heading",e.AuthorReviewer="author_reviewer",e.Question="question",e.QuestionAccordion="question_accordion",e.OnboardingSteps="onboarding_steps",e.CircleLogoSlidingList="circle_logo_sliding_list",e.FilterSlidingPillListSmall="filter_sliding_pill_list_small",e.EventIconSlidingList="event_icon_sliding_list"}(lt||(lt={})),function(e){e.CuratedMedia="curated_media",e.PlaylistMedia="playlist_media",e.SeriesMedia="series_media",e.ClassificationMedia="classification_media",e.LatestReleasedVideos="latest_released_videos",e.ContinueWatching="continue_watching_videos",e.CompanyLatestReleasedVideo="company_latest_released_video",e.CompanyVideos="company_videos",e.ClassificationLatestReleasedVideo="classification_latest_released_video",e.ClassificationLatestReleasedVideosV2="classification_latest_released_videos_v2",e.CompanyClassificationVideos="company_classification_videos",e.ClassificationDashboardMedia="classification_dashboard_media",e.ClassificationDashboardExternalMedia="classification_dashboard_external_media",e.SeasonalClassificationMedia="seasonal_classification_media",e.TrendingClassificationsMedia="trending_classifications_media",e.CuratedClassifications="curated_classifications",e.Classifications="classifications",e.ClassificationLatestReleasedVideos="classification_latest_released_videos",e.SpecialEventClassifications="special_event_classifications",e.LatestReleasedClassifications="latest_released_classifications",e.TrendingClassifications="trending_classifications",e.CuratedSeries="curated_series",e.CuratedPlaylists="curated_playlists",e.Blurb="blurb",e.DynamicBlurb="dynamic_blurb",e.AuthorReviewer="author_reviewer",e.Faq="faq",e.CuratedCompanies="curated_companies",e.Ratings="ratings",e.Presentations="presentations",e.UpcomingLivestreams="upcoming_livestreams",e.CuratedMultimedia="curated_multimedia",e.ClassificationPlaylists="classification_playlists",e.ClassificationSeries="classification_series",e.ClassificationFeaturedVideo="classification_featured_video",e.ClassificationPinnedVideos="classification_pinned_videos"}(ct||(ct={}));var Ct,At=n(71551),It={onSelectCuratedObject:function(e,t){var n=Object.assign(Object.assign({},t.values.data),{objectIds:L.m.addOrRemoveImmutable(t.values.data.objectIds||[],e.id)});t.setFieldValue("data",n),t.setTouched(Object.assign(Object.assign({},t.touched),{data:{objectIds:!0}}))},onRemoveCuratedObject:function(e,t){var n=Object.assign(Object.assign({},t.values.data),{objectIds:t.values.data.objectIds.filter((function(t){return t!==e}))});t.setFieldValue("data",n)},getDashboardTarget:function(e){return e.targetType===At.ku.Discover?"discover:presentation:".concat(e.presentationId):e.targetType===At.ku.Classification?"classification:".concat(e.classificationId):e.targetType===At.ku.ClassificationDirectory?"classification:".concat(e.classificationId,":directory"):e.targetType===At.ku.ClassificationVideos?"classification:".concat(e.classificationId,":videos"):e.targetType===At.ku.MoviesAndTv?"moviesAndTv:presentation:".concat(e.presentationId):e.targetType===At.ku.Company?"company:".concat(e.companyId,":presentation:").concat(e.presentationId):null},getUnknownDashboardTarget:function(e){var t=e.presentationId,n=e.companyId,i=e.targetType,r=e.classificationId;return i===At.ku.Discover?It.getDashboardTarget({targetType:At.ku.Discover,presentationId:t}):i===At.ku.MoviesAndTv?It.getDashboardTarget({targetType:At.ku.MoviesAndTv,presentationId:t}):i===At.ku.Company?It.getDashboardTarget({targetType:At.ku.Company,presentationId:t,companyId:n}):i===At.ku.Classification?It.getDashboardTarget({targetType:At.ku.Classification,classificationId:r}):i===At.ku.ClassificationDirectory?It.getDashboardTarget({targetType:At.ku.ClassificationDirectory,classificationId:r}):i===At.ku.ClassificationVideos?It.getDashboardTarget({targetType:At.ku.ClassificationVideos,classificationId:r}):void 0},getDashboardTargetInfo:function(e){var t,n=It.getDashboardTargetType(e),i=null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.split(":");return n===At.ku.Discover?{targetType:At.ku.Discover,presentationId:i[2]}:n===At.ku.Classification?{targetType:At.ku.Classification,classificationId:i[1]}:n===At.ku.ClassificationDirectory?{targetType:At.ku.ClassificationDirectory,classificationId:i[1]}:n===At.ku.ClassificationVideos?{targetType:At.ku.ClassificationVideos,classificationId:i[1]}:n===At.ku.MoviesAndTv?{targetType:At.ku.MoviesAndTv,presentationId:i[2]}:n===At.ku.Company?{targetType:At.ku.Company,companyId:i[1],presentationId:i[3]}:null},getDashboardTargetType:function(e){return(null==e?void 0:e.target)?e.target.startsWith("discover")?At.ku.Discover:e.target.startsWith("classification")?e.target.endsWith("directory")?At.ku.ClassificationDirectory:e.target.endsWith("videos")?At.ku.ClassificationVideos:At.ku.Classification:e.target.startsWith("moviesAndTv")?At.ku.MoviesAndTv:e.target.startsWith("company")?At.ku.Company:null:null},isType:function(e,t){return It.getDashboardTargetType(e)===t},isCuratedDashboard:function(e){var t=e,n=It.getDashboardTargetType(t);return n===At.ku.Discover||n===At.ku.Classification||n===At.ku.ClassificationDirectory||n===At.ku.ClassificationVideos||n===At.ku.MoviesAndTv||n===At.ku.Company},getLatestReleasedTimeRange:function(){var e=new Date;return{from:Se.O.format(Se.O.endOf(Se.O.subtract(e,2,"month"),"day"),"YYYY-MM-DD"),to:Se.O.format(Se.O.endOf(e,"day"),"YYYY-MM-DD")}},getWidgetParams:function(e,t,n,i){var r={};return i&&(r.audienceId=i),Object.assign(Object.assign({},r),wt[e].getCustomParams(t,n))},isSystemGeneratedDashboard:function(e){var t=new Set([ct.ClassificationFeaturedVideo,ct.ClassificationPinnedVideos,ct.ClassificationPlaylists,ct.ClassificationSeries]);return null==e?void 0:e.some((function(e){return t.has(e.widgetId)}))},isClassificationDashboard:function(e){return[At.ku.Classification,At.ku.ClassificationDirectory,At.ku.ClassificationVideos].includes(null==e?void 0:e.targetType)}};function Pt(e){return Pt="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},Pt(e)}function Lt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Pt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=Pt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var kt,wt=(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Ct={},ct.CuratedMedia,{getCustomParams:function(){return{}}}),ct.PlaylistMedia,{getCustomParams:function(){return{}}}),ct.SeriesMedia,{getCustomParams:function(e){switch(e){case lt.ThumbnailFixedListMediaLarge:return{limit:2};case lt.ThumbnailHeroMedia:case lt.ThumbnailFeaturedMedia:return{limit:1};default:return{limit:12}}},getCollectionAppLink:function(e,t){var n;return null===(n=null==e?void 0:e.series)||void 0===n?void 0:n.call(e,L.m.first(t))}}),ct.ClassificationMedia,{getCustomParams:function(){return{}}}),ct.LatestReleasedVideos,{getCustomParams:function(){return It.getLatestReleasedTimeRange()}}),ct.ContinueWatching,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){var t;return null===(t=null==e?void 0:e.watchHistory)||void 0===t?void 0:t.call(e)}}),ct.CompanyLatestReleasedVideo,{getCustomParams:function(){return{}}}),ct.CompanyVideos,{getCustomParams:function(){return{}}}),ct.ClassificationLatestReleasedVideo,{getCustomParams:function(){return{}}}),ct.ClassificationLatestReleasedVideosV2,{getCustomParams:function(){return{limit:12}},minContent:4}),Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Ct,ct.SeasonalClassificationMedia,{getCustomParams:function(){return{limit:12}},minContent:4}),ct.CompanyClassificationVideos,{getCustomParams:function(){return{}},minContent:4}),ct.TrendingClassificationsMedia,{getCustomParams:function(){return{limit:12}},minContent:4}),ct.CuratedClassifications,{getCustomParams:function(){return{}}}),ct.TrendingClassifications,{getCustomParams:function(){return{limit:6}},minContent:3}),ct.Classifications,{getCustomParams:function(e,t){if(t===At.ku.Discover){if(e===lt.EditableCoverFixedPillListSmall)return{canBePreferred:!0,isFollowing:!0};if([lt.PosterSlidingListSmall,lt.CoverFixedPillListXSmall].includes(e))return{canBePreferred:!0}}return{}}}),ct.ClassificationLatestReleasedVideos,{getCustomParams:function(){return It.getLatestReleasedTimeRange()}}),ct.SpecialEventClassifications,{getCustomParams:function(){return{from:Se.O.format(new Date,"YYYY-MM-DD")}}}),ct.LatestReleasedClassifications,{getCustomParams:function(){return{limit:6}},minContent:3}),ct.CuratedSeries,{getCustomParams:function(){return{}}}),Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Lt(Ct,ct.CuratedPlaylists,{getCustomParams:function(){return{}}}),ct.Blurb,{getCustomParams:function(){return{}}}),ct.DynamicBlurb,{getCustomParams:function(e){return e===lt.OnboardingSteps?{customerSetting:[gt.E.HasNewOnboarding],userSettings:[].concat((t=Object.values(Et).map((function(e){return e.setting})),function(e){if(Array.isArray(e))return Ot(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Ot(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ot(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[gt.E.HasCompletedOnboardingV2,gt.E.HasExitedOnboarding])}:{};var t}}),ct.AuthorReviewer,{getCustomParams:function(){return{}}}),ct.Faq,{getCustomParams:function(){return{}}}),ct.CuratedCompanies,{getCustomParams:function(){return{}}}),ct.Ratings,{getCustomParams:function(){return{}}}),ct.Presentations,{getCustomParams:function(){return{}}}),ct.UpcomingLivestreams,{getCustomParams:function(){return{from:Se.O.format(new Date,"YYYY-MM-DD")}}}),ct.CuratedMultimedia,{getCustomParams:function(){return{}}}),Lt(Lt(Lt(Lt(Lt(Lt(Ct,ct.ClassificationPlaylists,{getCustomParams:function(){return{}}}),ct.ClassificationSeries,{getCustomParams:function(){return{}}}),ct.ClassificationFeaturedVideo,{getCustomParams:function(){return{}}}),ct.ClassificationPinnedVideos,{getCustomParams:function(){return{}}}),ct.ClassificationDashboardExternalMedia,{getCustomParams:function(){return{}}}),ct.ClassificationDashboardMedia,{getCustomParams:function(){return{}}}));!function(e){e[e.Draft=0]="Draft",e[e.Published=1]="Published",e[e.Archived=2]="Archived"}(kt||(kt={}));var Tt,jt=n(38e3);function Nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}!function(e){e.Draft="Draft",e.Published="Published",e.Archived="Archived"}(Tt||(Tt={}));var Rt={getSliderAnalyticsOptions:function(){return{actionType:P.Vw.Click,location:P.LZ.SlidingList,entity:P.py.Widget,descriptor:P._S.Slide}},getSliderItemAnalyticsOptions:function(){return{location:P.LZ.SlidingListItem}},getSliderHeadingAnalyticsOptions:function(){return{actionType:P.Vw.Click,location:P.LZ.SlidingList,entity:P.py.Widget,descriptor:P._S.Title}},useGetContent:function(e,t,n,i){return r().useMemo((function(){var r;if(!e)return{content:null,unfilteredContent:null};if(!Array.isArray(e))return{content:e,unfilteredContent:e};var a,o=null!==(r=null==i?void 0:i.reduce((function(e,t){return e[t.id]=t,e}),{}))&&void 0!==r?r:{},s=function(e){if(Array.isArray(e))return Nt(e)}(a=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return Nt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nt(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=s.sort((function(e,t){var n,i,r,a,l=null!==(i=null===(n=o[e.id])||void 0===n?void 0:n.index)&&void 0!==i?i:s.findIndex((function(t){return t.id===e.id})),c=null!==(a=null===(r=o[t.id])||void 0===r?void 0:r.index)&&void 0!==a?a:s.findIndex((function(e){return e.id===t.id}));return l<c?-1:l>c?1:0}));return{content:Rt.isBelowContentMinimum(l,t)&&!n?[]:l.filter((function(e){var t;return!(null===(t=o[e.id])||void 0===t?void 0:t.hidden)})),unfilteredContent:l}}),[e,i])},isBelowContentMinimum:function(e,t){var n,i=(null===(n=wt[t])||void 0===n?void 0:n.minContent)||0;return(null==e?void 0:e.length)<i},getCustomAppLink:function(e){var t,n,i,r,a,o;return(null===(t=e.metadata)||void 0===t?void 0:t.appLink)===At.OL.LatestReleases?null===(i=null===(n=e.appLinks)||void 0===n?void 0:n.latestReleases)||void 0===i?void 0:i.call(n):(null===(r=e.metadata)||void 0===r?void 0:r.appLink)===At.OL.ExploreAllTopics?null===(o=null===(a=e.appLinks)||void 0===a?void 0:a.allTopics)||void 0===o?void 0:o.call(a,e.presentation.id):null},getWidgetStatus:function(e){var t=e.status;if("string"==typeof t)switch(t){case Tt.Archived:t=kt.Archived;break;case Tt.Published:t=kt.Published;break;case Tt.Draft:t=kt.Draft}return t},formatResponseData:function(e,t){var n=e.content;if(!n)return e;if("author"in n)return e.content=[n],e;switch("data"in n?e.content=n.data:Array.isArray(n)||(e.content=[n]),e.widgetId){case ct.ClassificationSeries:e.content=e.content.filter((function(e){var t;return!!(null===(t=e.tallPoster)||void 0===t?void 0:t.id)}));break;case ct.ClassificationPlaylists:e.content=e.content.filter((function(e){var t;return!!(null===(t=e.cover)||void 0===t?void 0:t.id)}));break;case ct.ContinueWatching:e.content=e.content.map((function(e){return e.object}));default:break;case ct.Presentations:e.content=e.content.filter((function(e){var n;return e.id.toString()!==(null===(n=null==t?void 0:t.id)||void 0===n?void 0:n.toString())}))}return e},isWidgetInTableOfContents:function(e){return!!(null==e?void 0:e.showInTableOfContents)},hasNoContent:function(e){return e===ct.Blurb},canDisplayOnScreenSize:function(e,t,n){return t!==ct.Blurb||n!==lt.HeroBannerSmall||!e.xs&&!e.sm},isCompanyWidget:function(e){switch(e){case ct.CompanyLatestReleasedVideo:case ct.CompanyVideos:case ct.UpcomingLivestreams:return!0;default:return!1}},getVideoContent:function(e){var t=L.m.first(e);return jt.G.isType(t,Oe.E.Series)?t.videos.data:e}},xt={seeMore:"yv0FS"},Dt=a.T.encloseNamespace("shared.widgetHeader");function _t(e){return r().createElement("div",{className:"ms-3 ".concat(xt.seeMore)},r().createElement(it.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),{descriptor:P._S.SeeMore}),className:"text-decoration-none ".concat(e.appLink?"curated-widget-link":"")},r().createElement("p",{className:"hover-text-underline text-dark curated-widget-heading"},Dt("seeAll"))))}function Ft(e){var t,n,i=!!e.description;if(!e.name&&!e.description)return r().createElement(r().Fragment,null);var a=Rt.isBelowContentMinimum(e.content,e.widgetTypeId),o=null!==(n=null===(t=wt[e.widgetTypeId])||void 0===t?void 0:t.minContent)&&void 0!==n?n:0;return r().createElement("div",{className:"curated-widget-header"},r().createElement("div",{className:"d-flex justify-content-between"},!!e.name&&r().createElement("div",{className:xt.title},r().createElement(it.F,{appLink:e.appLink,analyticsOptions:e.analyticsOptions,analyticsData:e.analyticsData,className:"text-decoration-none ".concat(e.appLink?"curated-widget-link":""),onClick:e.onClick},r().createElement("h2",{className:"h4 curated-widget-heading"},e.isPreviewing&&a&&r().createElement(S.x,{svgName:E.vn.WarningOutline,title:"Widget is below the minimum content threshold of ".concat(o," and won't be displayed."),tooltipSpanHack:!0,tooltipSpanHackClassName:"d-inline text-danger me-1"}),e.name))),!!e.appLink&&!i&&!!e.showSeeMoreLink&&r().createElement(_t,Object.assign({},e))),i&&r().createElement("div",{className:"d-flex justify-content-between align-items-end"},r().createElement("p",{className:"description curated-widget-description ".concat(xt.description)},r().createElement("span",null,e.description)),!!e.appLink&&!!e.showSeeMoreLink&&r().createElement(_t,Object.assign({},e))))}function Mt(e){return Mt="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},Mt(e)}function Bt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qt(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 qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Vt,Gt=400;function Ut(e){var t=e.type,n=e.state,i=e.containerRef,a=e.mediaQuery,o=Bt(r().useState(!1),2),s=o[0],l=o[1],c=Bt(r().useState({}),2),u=c[0],d=c[1],m=Bt(r().useState(null),2),f=m[0],v=m[1],g=r().useMemo((function(){return nt.V.isTouchScreen()}),[]);return r().useEffect((function(){"dynamic"===t&&i.current&&n.containerLeftPosition&&!g&&setTimeout((function(){return function(){var e,t=n;if(null===(e=i.current)||void 0===e?void 0:e.children){var r=Array.from(i.current.children).reduce((function(e,n){var i,r,a,o=null==n?void 0:n.getBoundingClientRect(),s=o.left<t.containerRightPosition&&o.right>t.containerLeftPosition;return Object.assign(Object.assign({},e),(i={},r=n.id,a=s?{"aria-hidden":!1}:{"aria-hidden":!0,inert:"true"},(r=function(e){var t=function(e,t){if("object"!=Mt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=Mt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mt(t)?t:t+""}(r))in i?Object.defineProperty(i,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[r]=a,i))}),{});d(r)}}()}),Gt+50)}),[i.current,a,n.offset,n.containerLeftPosition]),{isTabbing:s,onFocusWidget:function(e){document.querySelector(".user-is-tabbing")&&(l(!0),v(e))},onBlurWidget:function(){document.querySelector(".user-is-tabbing")||(l(!1),v(null))},getFixedAttributes:function(e){var t=n;return g||e>=t.offset-t.viewableItems&&e<t.offset?{"aria-hidden":!1}:{inert:"true","aria-hidden":!0}},dynamicAttributes:u,focusNext:function(){setTimeout((function(){if(i.current){for(var e=i.current.querySelectorAll("li[aria-hidden]"),t=null,n=f+1;n<e.length&&!t;n++)t=e[n].querySelector('a[tabindex="0"]');t&&t.focus()}}),Gt+100)},focusPrev:function(){setTimeout((function(){if(i.current){for(var e=i.current.querySelectorAll("li[aria-hidden]"),t=null,n=f-1;n>=0&&!t;n--)t=e[n].querySelector('a[tabindex="0"]');t&&t.focus()}}),Gt+100)}}}!function(e){e.Percentage="%",e.Pixels="px"}(Vt||(Vt={}));var Ht=new Image;Ht.src="data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=";var Wt,Yt=function(e){e.dataTransfer.setDragImage&&x.q.isFunction(e.dataTransfer.setDragImage)&&e.dataTransfer.setDragImage(Ht,0,0)},Kt=nt.V.isTouchScreen(),Zt=i.forwardRef((function(e,t){var n,r,a,o,s=e.children,l=e.positionType,c=e.onDrag,u=e.onDragEnd,d=e.onTouchMove,m=e.onTouchEnd,f=e.percentageDragged,v=e.position,g=void 0===v?0:v;return i.createElement("ul",Object.assign({className:"list-unstyled d-flex flex-nowrap position-relative w-100 mb-0",style:(r=g,a=l,o=f,a===Vt.Percentage&&o&&(r-=o),{transform:"translate3d(".concat(r).concat(a,", 0px, 0px)"),transition:"transform .4s ease-in-out"}),ref:t},(n={},c&&u&&(n.draggable=!0,n.onDragEnd=u,n.onDragStart=Yt,n.onDragOver=c),d&&m&&Kt&&(n.onTouchMoveCapture=d,n.onTouchEndCapture=m),n)),s)})),Xt="VSAPU",Qt="kgeXh",zt=a.T.encloseNamespace("shared.widgetButton");!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(Wt||(Wt={}));var Jt,$t=i.memo((function(e){var t,n,r,a=e.direction===Wt.Left,o=a?E.vn.ChevronLeft:E.vn.ChevronRight;return e.hide?i.createElement(i.Fragment,null):i.createElement("div",{className:"_ejId",style:"videos"===(null===(n=e.state)||void 0===n?void 0:n.contents)?{paddingBottom:56.25/(null===(r=e.state)||void 0===r?void 0:r.viewableItems)+"%"}:{height:"100%"}},e.useGradientBackdrop&&i.createElement("div",{className:a?"".concat("Pt3nx"," ").concat(e.leftGradientClassName):"".concat("ZuAif"," ").concat(e.rightGradientClassName)}),!e.hideExtendedClickableArea&&i.createElement("button",{onClick:e.onClick,className:"".concat("AtsWP"," ").concat(a?Xt:Qt),tabIndex:-1}),i.createElement("button",{className:"".concat((t="BVcIS",t+=a?" ".concat(Xt," ").concat(e.leftButtonClassName):" ".concat(Qt," ").concat(e.rightButtonClassName))," ").concat("gAsE9"," ").concat(e.className||""),onClick:e.onClick,"aria-label":zt(a?"previous":"next")},e.hoverText&&i.createElement("span",{className:"ps-3 pe-2 ".concat("APA36")},e.hoverText),i.createElement(S.x,{svgName:o,size:S.S.Medium,className:"svg-container d-inline-block ".concat("Ev4hr")})))}));!function(e){e.Init="init",e.Next="next",e.Previous="previous",e.Resize="resize",e.Drag="drag",e.Update="update",e.JumpToIndex="jump-to-index"}(Jt||(Jt={}));var en=n(90547),tn=n(5256),nn=n(29267);function rn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var an=n(89146),on=function(e,t,n){return function(){e.container.current&&(e.container.current.style.transition=""),t({type:Jt.Resize,payload:{elementRefs:e,mediaQuery:n}})}},sn=function(e){return function(){e.current&&(e.current.style.transition="transform .4s ease-in-out")}},ln=function(e,t,n,i,r){return function(a){var o=a.clientX,s=i;s||(s=Object.assign(Object.assign({},t),{initialMouseX:o}),r(s),e.current.style.transition=""),n({type:Jt.Drag,payload:{widgetSnapshot:s,currentMouseX:o}})}},cn=function(e,t){return function(){e.current.style.transition="transform .4s ease-in-out",t(null)}};function un(e){return e===en.r.XS?200:e===en.r.SM||e===en.r.MD?350:500}var dn={offset:0,containerLeftPosition:null,containerRightPosition:null,firstElementPosition:null,lastElementPosition:null,hideLeftButton:!0,hideRightButton:!0,maxSlideDistance:0,leftOffsetLimit:null},mn=function(e){var t=e.elementRefs,n=t.container,i=t.lastElement;if(!(null==n?void 0:n.current)||!(null==i?void 0:i.current))return dn;var r=n.current.getBoundingClientRect(),a=r.left,o=r.right,s=a,l=i.current.getBoundingClientRect().right,c=o-l;return Object.assign(Object.assign({},dn),{containerLeftPosition:a,containerRightPosition:o,firstElementPosition:s,lastElementPosition:l,hideRightButton:l<o,leftOffsetLimit:c,maxSlideDistance:un(e.mediaQuery)})},fn=function(e){var t=mn(Object.assign(Object.assign({},e),e.elementRefs));return Object.assign(Object.assign({},t),{maxSlideDistance:un(e.mediaQuery)})},vn=function(e){var t=e.firstElementPosition,n=e.lastElementPosition,i=e.maxSlideDistance,r=e.offset,a=e.containerRightPosition,o=n-a>=i?i:n-a;return{firstElementPosition:t-o,lastElementPosition:n-o,offset:r-o,hideRightButton:n-o===a,hideLeftButton:!1}},gn=function(e){var t=e.containerLeftPosition,n=e.firstElementPosition,i=e.lastElementPosition,r=e.maxSlideDistance,a=e.offset,o=n+r<=t,s=o?r:Math.abs(a);return{firstElementPosition:n+s,lastElementPosition:i+s,offset:a+s,hideLeftButton:!o||n+s===t,hideRightButton:!1}},pn=function(e,t){var n=t.widgetSnapshot,i=t.currentMouseX;if(n.hideLeftButton&&n.hideRightButton)return{};var r=n.initialMouseX-i,a=n.offset-r,o=n.firstElementPosition-r,s=n.lastElementPosition-r,l=!1,c=!1;return o>e.containerLeftPosition&&(a=0,o=e.containerLeftPosition,s=e.lastElementPosition,l=!0),s<=e.containerRightPosition&&(a=e.leftOffsetLimit,o=e.containerLeftPosition-Math.abs(e.leftOffsetLimit),s=n.containerRightPosition,c=!0),{offset:a,firstElementPosition:o,lastElementPosition:s,hideLeftButton:l,hideRightButton:c}};function yn(e,t){switch(t.type){case Jt.Init:return Object.assign(Object.assign({},e),mn(t.payload));case Jt.Resize:return Object.assign(Object.assign({},e),fn(t.payload));case Jt.Next:return Object.assign(Object.assign({},e),vn(e));case Jt.Previous:return Object.assign(Object.assign({},e),gn(e));case Jt.Drag:return Object.assign(Object.assign({},e),pn(e,t.payload));default:return e}}var bn={itemSpacing:"fDc_6",header:"WMgSZ",mobileScroll:"aLSzv",leftGradient:"YheD1",leftGradientNoPadding:"Vl2_g",leftButton:"ISepF",leftButtonNoPadding:"N4rAS",rightGradient:"i9XEE",rightGradientNoPadding:"APhNv",rightButton:"OxM84",rightButtonNoPadding:"nmSQo"};function hn(e){return function(e){if(Array.isArray(e))return Cn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||En(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||En(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 En(e,t){if(e){if("string"==typeof e)return Cn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cn(e,t):void 0}}function Cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function An(e){var t,n,r,a,o,s,l,c=e.childComponent,u=e.staticChildren,d=e.getWidgetItemAnalyticsData,m=void 0===d?function(){}:d,f=Sn(i.useReducer(yn,dn),2),v=f[0],g=f[1],p=Sn(i.useState(null),2),y=p[0],b=p[1],h={container:i.useRef(null),firstElement:i.useRef(null),lastElement:i.useRef(null)},S=(t=(0,tn.a)(en.r.XS),n=(0,tn.a)(en.r.SM),r=(0,tn.a)(en.r.MD),a=(0,tn.a)(en.r.LG),o=(0,tn.a)(en.r.XL),s=(0,tn.a)(en.r.XXL),l=en.r.LG,t&&(l=en.r.XS),n&&(l=en.r.SM),r&&(l=en.r.MD),a&&(l=en.r.LG),o&&(l=en.r.XL),s&&(l=en.r.XXL),l),E=nt.V.isTabletOrMobile(),C=Ut({type:"dynamic",state:v,containerRef:h.container,mediaQuery:S}),A=C.dynamicAttributes,I=C.focusNext,P=C.focusPrev,k=C.onFocusWidget,w=C.onBlurWidget;!function(e,t){var n,r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=function(){e(),window.clearTimeout(n),n=window.setTimeout(t,100)};i.useEffect((function(){return window.addEventListener("resize",t?o:e),function(){return window.removeEventListener("resize",t?o:e)}}),function(e){if(Array.isArray(e))return rn(e)}(r=a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return rn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rn(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}(on(h,g,S),sn(h.container),[S]);var T=(0,nn.Y)({prevent:!e.lazyLoad}),j=T.ref,N=T.inView,R=e.collection;if(!e.collection&&x.q.isFunction(e.fetch)){var D=e.fetch(N);R=D.data}i.useEffect((function(){R&&!O.t.isEmpty(R)&&g({type:Jt.Init,payload:{elementRefs:h,mediaQuery:S}})}),[R]);var F=i.useMemo((function(){var t,n;if(R){var r=null!==(t=null==u?void 0:u.filter((function(e){return"start"===e.position})))&&void 0!==t?t:[],a=null!==(n=null==u?void 0:u.filter((function(e){return"end"===e.position})))&&void 0!==n?n:[],o=R.map((function(t,n){var o;t===L.m.first(R)&&(null==r?void 0:r.length)&&(o=h.firstElement),t!==L.m.last(R)||(null==a?void 0:a.length)||(o=h.lastElement);var s=n+1===R.length;return i.createElement("li",Object.assign({id:t.id,key:t.id,ref:o,onFocus:function(){return k(n)},onBlur:function(){return w()},className:"".concat(bn.itemSpacing," ").concat(e.childClassName||""," ").concat(s&&E?"pe-4":"")},A[t.id]),i.createElement(c,Object.assign({getChildAppLink:e.getChildAppLink,data:t,getSubtitle:e.getSubtitle,analyticsData:Object.assign(Object.assign({itemIndex:n},e.analyticsData),m(t)),analyticsOptions:Object.assign(Object.assign({},null==e?void 0:e.analyticsOptions),Rt.getSliderItemAnalyticsOptions())},e.childComponentProps)))}));return r.length&&(o=[].concat(hn(r.map((function(t,n){var r=t.component;return i.createElement("li",{key:"first-widget-component:".concat(n),ref:0===n?h.firstElement:null,className:"".concat(bn.itemSpacing," ").concat(e.childClassName||"")},i.createElement(r,null))}))),hn(o))),a.length&&(o=[].concat(hn(o),hn(a.map((function(t,n){var r=t.component;return i.createElement("li",{key:"end-widget-component:".concat(n),ref:n===a.length-1?h.lastElement:null,className:"".concat(bn.itemSpacing," ").concat(e.childClassName||"")},i.createElement(r,null))}))))),i.createElement(i.Fragment,null,o)}}),[R,A,v.offset,S].concat(hn(e.widgetDataDeps||[])));if(R&&!R.length&&!(null==u?void 0:u.length))return i.createElement(i.Fragment,null);if(!R||O.t.isEmpty(R))return i.createElement("div",{ref:j},i.createElement(Ln,{partialLoadingComponent:e.partialLoadingComponent,partialLoadingOptions:e.partialLoadingOptions}));var M=function(t){return Object.assign(Object.assign({},e.analyticsData),{id:e.id,name:e.heading,direction:t===Jt.Next?"right":"left"})},B=E||e.hideButtons;return i.createElement("div",{className:"".concat(e.noNegativePadding?"":"mx-n4")},i.createElement("div",{className:"px-4 ".concat(bn.header)},i.createElement(Ft,{name:e.heading,description:e.description,appLink:e.headingAppLink,showSeeMoreLink:!!e.headingAppLink})),i.createElement("div",{className:"position-relative"},i.createElement("div",{className:"".concat(e.noNegativePadding?"":"px-4"," py-3 my-n3 position-relative ").concat(E?bn.mobileScroll:"overflow-hidden-x")},i.createElement("div",{className:"position-relative ".concat(e.hideButtons?"overflow-hidden-x":"")},!B&&i.createElement($t,{direction:Wt.Left,onClick:function(){P(),g({type:Jt.Previous}),_.k.logUserAction(M(Jt.Previous),Rt.getSliderAnalyticsOptions())},leftButtonClassName:"".concat(bn.leftButton," ").concat(e.noNegativePadding?bn.leftButtonNoPadding:""),leftGradientClassName:"".concat(bn.leftGradient," ").concat(e.noNegativePadding?bn.leftGradientNoPadding:""),hide:v.hideLeftButton,useGradientBackdrop:!0}),i.createElement(Zt,{position:v.offset,positionType:Vt.Pixels,onDrag:ln(h.container,v,g,y,b),onDragEnd:cn(h.container,b),ref:h.container},F),!B&&i.createElement($t,{direction:Wt.Right,onClick:function(){I(),g({type:Jt.Next}),_.k.logUserAction(M(Jt.Next),Rt.getSliderAnalyticsOptions())},hide:v.hideRightButton,rightButtonClassName:"".concat(bn.rightButton," ").concat(e.noNegativePadding?bn.rightButtonNoPadding:""),rightGradientClassName:"".concat(bn.rightGradient," ").concat(e.noNegativePadding?bn.rightGradientNoPadding:""),useGradientBackdrop:!0})))))}An.defaultProps={heading:"",description:"",childComponentProps:{}};var In,Pn,Ln=function(e){var t=e.partialLoadingComponent,n=e.partialLoadingOptions;return i.createElement("div",{className:"d-flex flex-nowrap overflow-hidden"},an.u.getPartialLoadingItems(n).map((function(e,n){return i.createElement(t,{key:n})})))};!function(e){e.Normal="normal",e.Pedagogy="pedagogy",e.Hidden="hidden",e.Skill="skill",e.Curation="curation"}(In||(In={})),function(e){e[e.Normal=0]="Normal",e[e.Pedagogy=1]="Pedagogy",e[e.Hidden=2]="Hidden",e[e.Skill=3]="Skill",e[e.Curation=4]="Curation"}(Pn||(Pn={}));var On=a.T.encloseNamespace("shared.tags");function kn(e){var t,n,i=e.tag,a=e.appLink,o=e.onClick,s=e.disabled,l=e.tagClass,c=void 0===l?"tag":l,u=i.name.toLowerCase(),d=null===(t=i.tagType)||void 0===t?void 0:t.toLowerCase(),m=d===In.Normal&&e.themeColours&&!!(null===(n=e.themeColours)||void 0===n?void 0:n.secondary),f="rounded-pill py-1 px-2 my-1 me-1 ".concat(c," ").concat(function(e,t){switch(e){case In.Pedagogy:case In.Skill:return"pedagogy-tag text-white";case In.Hidden:return"hidden-tag fw-normal";case In.Normal:return t?"":"bg-gray-100 fw-normal";default:return""}}(d,m));m&&(f+=" text-white"),!a&&!o||s||(f+=" cursor-pointer"),s&&(f+=" "+et.disabled),e.onRemove&&(f+=" "+et.badge),a||(f+=" d-inline-block");var v=m?{backgroundColor:e.themeColours.secondary}:{};return a?r().createElement(it.F,{onClick:o,appLink:a,className:f,title:u,style:v},r().createElement("span",{className:"text-truncate text-nowrap"},u)):r().createElement("button",{onClick:o,className:f,title:u,style:v,"aria-label":"".concat(On("ariaFilter")," ").concat(u)},r().createElement("span",{className:"text-truncate text-nowrap"},u,e.onRemove&&r().createElement("button",{onClick:e.onRemove,className:"".concat(et.close," btn-close font-size-normal"),role:"button","aria-label":"Close"})))}function wn(e){var t=e.selectedItems.find((function(t){return t.id===e.data.id}))?"bg-gray-900 text-white":"bg-light";return r().createElement(kn,{tag:e.data,appLink:e.appLink,tagClass:"no-decoration ".concat(t," lh-1"),onClick:function(){return e.onClick(e.data)}})}var Tn={tagItem:"j84HW"};function jn(e){return jn="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},jn(e)}function Nn(e){return function(e){if(Array.isArray(e))return Rn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Rn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function xn(e){var t,n,i,a,o=r().useContext(N).state;if(!(null===(t=e.filter)||void 0===t?void 0:t.id))return r().createElement(r().Fragment,null);var s=o[e.filter.id],l=s.selection,c=null!==(a=null===(i=null===(n=e.filter)||void 0===n?void 0:n.options)||void 0===i?void 0:i.filter((function(e){return!(null==l?void 0:l.find((function(t){return t.id===e.id})))})))&&void 0!==a?a:[];function u(t){var n,i,r,a=null,c=-1;if(l.find((function(e,n){c>-1||e.id.toString()===t.id.toString()&&(c=n)})),c>=0){var u=[].concat(Nn(l.slice(0,c)),Nn(l.slice(c+1)));a={active:!!u.length,selection:u}}else a={active:!0,selection:l.concat(t)};qe.applyFilter([e.filter],s,(n={},i=e.filter.id,r=a,(i=function(e){var t=function(e,t){if("object"!=jn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=jn(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jn(t)?t:t+""}(i))in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n),o.appLink)}var d,m=[].concat(Nn(l),Nn(e.isFetching?[]:c));return r().createElement("div",{className:e.isFetching||m.length?"py-2":""},r().createElement("div",{className:(d="mb-3",m.length&&e.isFetching?d+=" mt-n1":m.length||e.isFetching||(d+=" d-none"),d)},(!!m.length||e.isFetching)&&r().createElement(An,{collection:m,childComponent:function(e){return r().createElement(wn,Object.assign({},e,{selectedItems:l,onClick:u}))},staticChildren:e.isFetching?new Array(3).fill({component:function(){return r().createElement(tt,{tagClass:Tn.tagItem})},position:"end"}):[],partialLoadingComponent:function(){return r().createElement("div",{className:"me-2"},r().createElement(tt,{tagClass:"".concat(Tn.tagItem)}))}})))}function Dn(e){var t=i.useContext(N).state;return i.createElement(w.L,{onClick:function(){D.Q.C$.trigger(Object.assign(Object.assign({},t.appLink),{params:e.currentQueryParam?{query:e.currentQueryParam}:null}))},className:"".concat(e.alignLeft?"order-first":""," hover-text-underline cursor-pointer d-flex align-items-center mx-2")},i.createElement(c.x,{namespace:"search.resetButton",phrase:"reset"}))}var _n={partialFilterHeading:"O8f8H",partialButton:"ThKam",filtersContainer:"JIp3h"};function Fn(e){return function(e){if(Array.isArray(e))return Bn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Mn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mn(e,t){if(e){if("string"==typeof e)return Bn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bn(e,t):void 0}}function Bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function qn(e){var t,n,r=e.queryParams,a=e.appLink,o=e.hideHeading,s=e.isFetchingOptions,l=e.constantIndices,u=void 0===l?[]:l,d=i.useMemo((function(){return qe.deriveInitialStateFromQuery(r,e.mainFilters,e.moreFilters,a)}),[r,s]),m=(t=i.useReducer(R,d),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(t,n)||Mn(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=m[0],v=m[1];i.useEffect((function(){O.t.isEqual(d,f)||(v({type:"update",payload:d}),e.analyticsOptions&&qe.logFilterEvent(e.mainFilters,e.moreFilters,d,r.query,e.analyticsOptions))}),[d]);var g=L.m.uniq([].concat(Fn(qe.getAppliedIndices(r)),Fn(u))),p=qe.mixinDisabledFields(f,g,e.mainFilters,e.moreFilters),y=p.mainFilters,b=p.moreFilters,h=y.filter((function(e){return"tag"!==e.type})),S=y.find((function(e){return"tag"===e.type}));return i.createElement(N.Provider,{value:{state:f,dispatch:v}},i.createElement(c.D.Provider,{value:"search.searchFilters"},i.createElement("section",null,i.createElement("div",{className:"d-flex ".concat(e.hideDivider?"":"border-bottom pb-3 mb-3")},!o&&i.createElement("h2",{className:"h5 mb-0 d-inline-block pe-2 border-end d-flex align-items-center"},i.createElement(c.x,{phrase:"heading"})),i.createElement("div",{className:"d-flex flex-wrap ".concat(_n.filtersContainer," ").concat(o?"":"ms-2")},h.map((function(t){return i.createElement(Ke,{key:t.id,filter:t,hideCaret:e.hideCaret})})),b&&i.createElement($e,{filter:b}),qe.hasActiveFilters(r)&&!e.hideResetButton&&i.createElement(Dn,{mainFilters:e.mainFilters,moreFilters:e.moreFilters,currentQueryParam:r.query,analyticsOptions:e.analyticsOptions,alignLeft:e.alignResetButtonLeft}))),i.createElement(xn,{filter:S,queryParams:r,isFetching:e.isFetchingOptions}))))}var Vn=a.T.encloseNamespace("libraryRequests.filters");function Gn(e){return r().createElement(qn,{queryParams:e.queryParams,mainFilters:[{id:"status",name:"Status",type:"checkbox",options:[{id:"approved",name:Vn("approved")},{id:"rejected",name:Vn("rejected")},{id:"closed",name:Vn("closed")},{id:"autoApproved",name:Vn("autoApproved")}],compatibleIndices:[]}],appLink:{application:g.OV.LIBRARY_REQUESTS,action:g.eX.LibraryRequests.PAST_REQUESTS,args:[e.id],params:e.queryParams},analyticsOptions:{entity:P.py.LibraryRequest,location:P.LZ.LibraryRequestDetails},constantIndices:[],hideDivider:!0})}var Un=n(45855),Hn=n(49824),Wn=n(64938),Yn=n(7044),Kn=n(21974),Zn=n(264),Xn=n(65402),Qn="libraryRequests.pastDetails";function zn(e){var t=(0,Xn.$)(e.status);return r().createElement("span",{className:"ms-1"},t)}function Jn(e){var t,n,i,a,o,s,u,d=e.libraryRequest.sourceLibrary||e.libraryRequest.sourceCategory,m="";e.libraryRequest.actionedBy&&(m="".concat(e.libraryRequest.actionedBy.name," ").concat(e.libraryRequest.actionedBy.surname));var f=function(e){switch(e){case C.l.AutoApproved:return"addedBy";case C.l.Approved:return"approvedBy";default:return"rejectedBy"}}(e.libraryRequest.status),v=e.libraryRequest.sender&&"".concat(null!==(n=null===(t=e.libraryRequest.sender)||void 0===t?void 0:t.name)&&void 0!==n?n:""," ").concat(null!==(a=null===(i=e.libraryRequest.sender)||void 0===i?void 0:i.surname)&&void 0!==a?a:""),p="";return(null===(o=e.libraryRequest.senderCustomer)||void 0===o?void 0:o.id.toString())!==e.user.get("customerId").toString()&&(p=null===(s=e.libraryRequest.senderCustomer)||void 0===s?void 0:s.name),r().createElement("div",{className:"bg-white rounded p-3 mb-3"},r().createElement("div",{className:"row"},r().createElement("div",{className:"col-3 offset-9 mb-n3"},r().createElement("div",{className:"d-flex justify-content-end align-items-start"},r().createElement(Xn.h,{status:e.libraryRequest.status}),r().createElement(zn,{status:e.libraryRequest.status}))),r().createElement("div",{className:"col-12"},!!m&&r().createElement("div",{className:"row mb-3"},r().createElement("div",{className:"col-3 font-label"},r().createElement(c.x,{namespace:Qn,phrase:f})),r().createElement("div",{className:"col-6"},m)),!!v&&e.libraryRequest.status!==C.l.AutoApproved&&r().createElement("div",{className:"row mb-3"},r().createElement("div",{className:"col-3"},r().createElement("label",null,r().createElement(c.x,{namespace:Qn,phrase:"requestedBy"}))),r().createElement("div",{className:"col-6"},r().createElement(r().Fragment,null,v,!!p&&r().createElement(r().Fragment,null," (",p,")")))),r().createElement("div",{className:"row mb-3"},r().createElement("div",{className:"col-3 font-label"},d&&r().createElement(c.x,{namespace:Qn,phrase:"videoSource"})),r().createElement("div",{className:"col-6"},!!e.libraryRequest.sourceLibrary&&r().createElement("span",{className:"badge p-1 me-1 text-white ".concat(Kn.u.mapSourceToClass(e.libraryRequest.sourceLibrary.type))},Kn.u.mapSourceToDisplayName(e.libraryRequest.sourceLibrary,Zn.g.hasLite)),!!e.libraryRequest.sourceCategory&&r().createElement("span",{className:"ms-1"},e.libraryRequest.sourceCategory.name))),(null===(u=e.folderPath)||void 0===u?void 0:u.length)&&r().createElement("div",{className:"row"},r().createElement("div",{className:"col-3 font-label"},r().createElement(c.x,{namespace:Qn,phrase:"libraryLocation"})),r().createElement("div",{className:"col-9"},r().createElement(l.Oo,{breadcrumbs:e.folderPath.map((function(e,t){return{name:e.name,appLink:{application:g.OV.LIBRARY_EDITOR,action:0===t?g.eX.LibraryEditor.LIBRARY:g.eX.LibraryEditor.FOLDER,args:[e.id]}}}))}))))))}function $n(){return r().createElement("div",{className:"bg-white rounded p-3 mb-3"},r().createElement("div",{className:"row"},r().createElement("div",{className:"col-3"},r().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"6rem"}})),r().createElement("div",{className:"col-6 mb-2"},r().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"9rem"}})),r().createElement("div",{className:"col-3 d-flex justify-content-end"},r().createElement("div",{className:"partial-loading-background rounded",style:{height:"1.25rem",width:"6rem"}})),r().createElement("div",{className:"col-3"},r().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"7rem"}})),r().createElement("div",{className:"col-6"},r().createElement("div",{className:"partial-loading-background",style:{height:"1.25rem",width:"15rem"}}))))}var ei=n(17950),ti=n(9416),ni=n(25796),ii=n(41026),ri=n(59198),ai=n(85739),oi=n(30328),si=n(64429),li=n(39123),ci=n(41777),ui=n(56154),di="libraryRequests.pastRequestsEmptyState",mi=a.T.encloseNamespace(di);function fi(e){return r().createElement("div",{className:"bg-white rounded p-3 py-5"},r().createElement(ci.u,null,r().createElement(ci.u.Image,{src:ui.W.EmptyStates.PAST_REQUESTS}),r().createElement(ci.u.Info,{className:"mb-1"},r().createElement(c.x,{namespace:di,phrase:"info"})),e.hasLibraries&&r().createElement(ci.u.Cta,{text:mi("cta"),className:"btn btn-link text-info",appLink:{application:g.OV.LIBRARY_REQUESTS,action:g.eX.LibraryRequests.LIBRARY_REQUEST_SETTINGS_LIBRARIES}})))}function vi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gi(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 gi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var pi="libraryRequests.pastRequests",yi=a.T.encloseNamespace(pi),bi=[C.l.Approved,C.l.Closed,C.l.Rejected,C.l.AutoApproved];function hi(e){var t,n,i,a,S,E=o.a.useGetFetch(),C=(0,m.Z)(),A=(0,ai.p)(e.queryParams.sort||u.D.Newest,e.queryParams.status||bi),P=o.a.useBasicFetch(e.id&&ni.y.libraryRequest(e.id)),L=(0,ri.s)(e.id),O=vi(r().useState(null),2),k=O[0],w=O[1];(0,s.i)(h.T.getLibrariesFetchOptions((function(e){return w(e.toJSON())})),[]),(0,li.g)(w);var T=o.a.useBasicFetch(P.data&&(null===(t=P.data.destinationLibrary)||void 0===t?void 0:t.id)&&(null===(n=P.data.destinationCategory)||void 0===n?void 0:n.id)&&ni.y.categoryPath(P.data.destinationLibrary.id,P.data.destinationCategory.id)),j=vi(r().useState(null),2),N=j[0],R=j[1];(0,s.i)(y.p.getConfigFetchOptions(R),[]);var x=vi(r().useState(null),2),D=x[0],_=x[1];(0,s.i)(b.K.getCurrentUserFetchOptions(_),[]);var F=o.a.useBasicFetch(d.N.currentUser());(0,f.v)(P),(0,oi.A)({id:e.id,requests:A.items,appLink:{application:g.OV.LIBRARY_REQUESTS,action:g.eX.LibraryRequests.PAST_REQUESTS,params:e.queryParams}}),(0,si.m)(P.data,"past",e.queryParams),(0,ii.K)(P.data);var M=((null===(i=A.items)||void 0===i?void 0:i.length)||A.hasCompleted)&&N&&F.data,B=P.data&&L.hasCompleted,q=!e.queryParams.status&&P.hasCompleted&&!(null===(a=A.items)||void 0===a?void 0:a.length);return r().createElement("div",null,r().createElement("h1",{className:"h2"},r().createElement(c.x,{namespace:pi,phrase:"title"})),r().createElement("div",{className:"mb-3"},r().createElement(l.Oo,{breadcrumbs:[{name:yi("libraryEditor"),appLink:{application:g.OV.LIBRARY_EDITOR,action:g.eX.LibraryEditor.HOME}},{name:yi("title"),active:!0}]})),r().createElement(ti.A,{active:"past"}),!q&&r().createElement("div",{className:"d-flex justify-content-between mb-3"},r().createElement(Gn,{id:e.id,queryParams:e.queryParams}),r().createElement(ei.F,{appLink:{application:g.OV.LIBRARY_REQUESTS,action:g.eX.LibraryRequests.PAST_REQUESTS,args:[e.id]},queryParams:e.queryParams})),!M||(null===(S=A.items)||void 0===S?void 0:S.length)?r().createElement("div",{className:"row"},r().createElement("div",{className:"col-4"},M?r().createElement(Wn.q,{libraryRequests:A.items,selectedId:e.id,appLink:{application:g.OV.LIBRARY_REQUESTS,action:g.eX.LibraryRequests.PAST_REQUESTS},queryParams:e.queryParams,fetchNext:A.fetchNext,isFetching:A.isFetching,nextCursor:A.nextCursor}):r().createElement(Yn.p,null)),r().createElement("div",{className:"col-8"},M&&B?r().createElement(r().Fragment,null,r().createElement(I,{libraryRequest:P.data}),r().createElement(Jn,{libraryRequest:P.data,folderPath:T.data,user:D}),r().createElement(Un.x,{libraryRequest:P.data,currentUser:F.data,comments:L.items,config:N,user:D,createViewKey:function(t,n){var i=ni.y.createViewKey(e.id,(function(e){return n(new p.y(e))}),(function(e){return C.error(v.M.libraryApiError(e))}));E(i)}})):r().createElement(r().Fragment,null,r().createElement($n,null),r().createElement(Hn.j,null)))):r().createElement(fi,{hasLibraries:!!k.length}))}}}]);