1/*! For license information please see vendors-eced97a81b969ee8008f.js.LICENSE.txt */ 2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[96],{27935:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>I,ai:()=>L});var n=r(14041);function i(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}var l=r(524),c=r(75985),u=r.n(c);function d(e,t){if(!e){var r=new Error("loadable: "+t);throw r.framesToPop=1,r.name="Invariant Violation",r}}function h(e){console.warn("loadable: "+e)}var f=n.createContext(),p="__LOADABLE_REQUIRED_CHUNKS__";function g(e){return""+e+p}var v={initialChunks:{}},m="PENDING",y="REJECTED";var b=function(e){return e};function w(e){var t=e.defaultResolveComponent,r=void 0===t?b:t,c=e.render,h=e.onLoad;function p(e,t){void 0===t&&(t={});var p=function(e){return"function"==typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}(e),g={};function b(e){return t.cacheKey?t.cacheKey(e):p.resolve?p.resolve(e):"static"}function w(e,n,i){var a=t.resolveComponent?t.resolveComponent(e,n):r(e);if(t.resolveComponent&&!(0,l.isValidElementType)(a))throw new Error("resolveComponent returned something that is not a React component!");return u()(i,a,{preload:!0}),a}var E,T,S=function(e){var t=b(e),r=g[t];return r&&r.status!==y||((r=p.requireAsync(e)).status=m,g[t]=r,r.then((function(){r.status="RESOLVED"}),(function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:p.resolve(e),chunkName:p.chunkName(e),error:t?t.message:t}),r.status=y}))),r},O=function(e){var r,n;function l(r){var n;return(n=e.call(this,r)||this).state={result:null,error:null,loading:!0,cacheKey:b(r)},d(!r.__chunkExtractor||p.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),r.__chunkExtractor?(!1===t.ssr||(p.requireAsync(r).catch((function(){return null})),n.loadSync(),r.__chunkExtractor.addChunk(p.chunkName(r))),s(n)):(!1!==t.ssr&&(p.isReady&&p.isReady(r)||p.chunkName&&v.initialChunks[p.chunkName(r)])&&n.loadSync(),n)}n=e,(r=l).prototype=Object.create(n.prototype),r.prototype.constructor=r,o(r,n),l.getDerivedStateFromProps=function(e,t){var r=b(e);return a({},t,{cacheKey:r,loading:t.loading||t.cacheKey!==r})};var u=l.prototype;return u.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===y&&this.setCache(),this.state.loading&&this.loadAsync()},u.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},u.componentWillUnmount=function(){this.mounted=!1},u.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},u.getCacheKey=function(){return b(this.props)},u.getCache=function(){return g[this.getCacheKey()]},u.setCache=function(e){void 0===e&&(e=void 0),g[this.getCacheKey()]=e},u.triggerOnLoad=function(){var e=this;h&&setTimeout((function(){h(e.state.result,e.props)}))},u.loadSync=function(){if(this.state.loading)try{var e=w(p.requireSync(this.props),this.props,A);this.state.result=e,this.state.loading=!1}catch(e){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:p.resolve(this.props),chunkName:p.chunkName(this.props),error:e?e.message:e}),this.state.error=e}},u.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then((function(t){var r=w(t,e.props,A);e.safeSetState({result:r,loading:!1},(function(){return e.triggerOnLoad()}))})).catch((function(t){return e.safeSetState({error:t,loading:!1})})),t},u.resolveAsync=function(){var e=this.props,t=(e.__chunkExtractor,e.forwardedRef,i(e,["__chunkExtractor","forwardedRef"]));return S(t)},u.render=function(){var e=this.props,r=e.forwardedRef,n=e.fallback,s=(e.__chunkExtractor,i(e,["forwardedRef","fallback","__chunkExtractor"])),o=this.state,l=o.error,u=o.loading,d=o.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===m)throw this.loadAsync();if(l)throw l;var h=n||t.fallback||null;return u?h:c({fallback:h,result:d,options:t,props:a({},s,{ref:r})})},l}(n.Component),x=(T=function(e){return n.createElement(f.Consumer,null,(function(t){return n.createElement(E,Object.assign({__chunkExtractor:t},e))}))},(E=O).displayName&&(T.displayName=E.displayName+"WithChunkExtractor"),T),A=n.forwardRef((function(e,t){return n.createElement(x,Object.assign({forwardedRef:t},e))}));return A.displayName="Loadable",A.preload=function(e){A.load(e)},A.load=function(e){return S(e)},A}return{loadable:p,lazy:function(e,t){return p(e,a({},t,{suspense:!0}))}}}
2var E=w({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,r=e.props;return n.createElement(t,r)}}),T=E.loadable,S=E.lazy,O=w({onLoad:function(e,t){e&&t.forwardedRef&&("function"==typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,r=e.props;return r.children?r.children(t):null}}),x=O.loadable,A=O.lazy,P="undefined"!=typeof window;function L(e,t){void 0===e&&(e=function(){});var r=void 0===t?{}:t,n=r.namespace,i=void 0===n?"":n,a=r.chunkLoadingGlobal,s=void 0===a?"__LOADABLE_LOADED_CHUNKS__":a;if(!P)return h("`loadableReady()` must be called in browser only"),e(),Promise.resolve();var o=null;if(P){var l=g(i),c=document.getElementById(l);if(c){o=JSON.parse(c.textContent);var u=document.getElementById(l+"_ext");if(!u)throw new Error("loadable-component: @loadable/server does not match @loadable/component");JSON.parse(u.textContent).namedChunks.forEach((function(e){v.initialChunks[e]=!0}))}}if(!o)return h("`loadableReady()` requires state, please use `getScriptTags` or `getScriptElements` server-side"),e(),Promise.resolve();var d=!1;return new Promise((function(e){window[s]=window[s]||[];var t=window[s],r=t.push.bind(t);function n(){o.every((function(e){return t.some((function(t){return t[0].indexOf(e)>-1}))}))&&(d||(d=!0,e()))}t.push=function(){r.apply(void 0,arguments),n()},n()})).then(e)}var k=T;k.lib=x,S.lib=A;const I=k},68369:(e,t,r)=>{"use strict";r.d(t,{$:()=>W,A:()=>D,B:()=>A,C:()=>M,D:()=>v,E:()=>b,F:()=>N,G:()=>H,H:()=>l,J:()=>j,L:()=>Y,M:()=>J,N:()=>Z,O:()=>Q,P:()=>C,R:()=>_,S:()=>B,T:()=>R,Z:()=>q,a:()=>F,a4:()=>ee,b:()=>U,d:()=>$,e:()=>I,f:()=>G,g:()=>z,h:()=>V,i:()=>m,j:()=>O,k:()=>s,l:()=>S,m:()=>y,n:()=>k,o:()=>h,p:()=>c,q:()=>g,r:()=>d,s:()=>T,t:()=>o,u:()=>u,v:()=>x,y:()=>E,z:()=>w});var n=r(3068),i=r(74070),a=r(54860),s=function(e){return function(){return e}}(!0),o=function(){};var l=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var c=function(e,t){(0,i.A)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(r){e[r]=t[r]}))},u=function(e,t){var r;return(r=[]).concat.apply(r,t.map(e))};function d(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function h(e){var t=!1;return function(){t||(t=!0,e())}}var f=function(e){throw e},p=function(e){return{value:e,done:!0}};function g(e,t,r){void 0===t&&(t=f),void 0===r&&(r="iterator");var n={meta:{name:r},next:e,throw:t,return:p,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(n[Symbol.iterator]=function(){return n}),n}function v(e,t){var r=t.sagaStack;console.error(e),console.error(r)}var m=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},y=function(e){return Array.apply(null,new Array(e))},b=function(e){return function(t){return e(Object.defineProperty(t,n.q8,{value:!0}))}},w=function(e){return e===n.a6},E=function(e){return e===n.nm},T=function(e){return w(e)||E(e)};function S(e,t){var r=Object.keys(e),n=r.length;var i,s=0,l=(0,a.YO)(e)?y(n):{},c={};return r.forEach((function(e){var r=function(r,a){i||(a||T(r)?(t.cancel(),t(r,a)):(l[e]=r,++s===n&&(i=!0,t(l))))};r.cancel=o,c[e]=r})),t.cancel=function(){i||(i=!0,r.forEach((function(e){return c[e].cancel()})))},c}function O(e){return{name:e.name||"anonymous",location:x(e)}}function x(e){return e[n.x2]}function A(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var P={isEmpty:s,put:o,take:o};function L(e,t){void 0===e&&(e=10);var r=new Array(e),n=0,i=0,a=0,s=function(t){r[i]=t,i=(i+1)%e,n++},o=function(){if(0!=n){var t=r[a];return r[a]=null,n--,a=(a+1)%e,t}},l=function(){for(var e=[];n;)e.push(o());return e};return{isEmpty:function(){return 0==n},put:function(o){var c;if(n<e)s(o);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:r[i]=o,a=i=(i+1)%e;break;case 4:c=2*e,r=l(),n=r.length,i=r.length,a=0,r.length=c,e=c,s(o)}},take:o,flush:l}}var k=function(){return P},I=function(e){return L(e,4)},R="TAKE",C="PUT",D="ALL",_="RACE",M="CALL",F="CPS",N="FORK",j="JOIN",U="CANCEL",B="SELECT",$="ACTION_CHANNEL",G="CANCELLED",z="FLUSH",H="GET_CONTEXT",V="SET_CONTEXT",K=function(e,t){var r;return(r={}
2)[n.IO]=!0,r.combinator=!1,r.type=e,r.payload=t,r};function Y(e,t){return void 0===e&&(e="*"),(0,a.T1)(e)?((0,a.uQ)(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),K(R,{pattern:e})):(0,a.fD)(e)&&(0,a.uQ)(t)&&(0,a.T1)(t)?K(R,{channel:e,pattern:t}):(0,a.Ix)(e)?((0,a.uQ)(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),K(R,{channel:e})):void 0}function q(e,t){return(0,a.vD)(t)&&(t=e,e=void 0),K(C,{channel:e,action:t})}function W(e){var t=K(D,e);return t.combinator=!0,t}function X(e,t){var r,n=null;return(0,a.Pc)(e)?r=e:((0,a.YO)(e)?(n=e[0],r=e[1]):(n=e.context,r=e.fn),n&&(0,a.Yj)(r)&&(0,a.Pc)(n[r])&&(r=n[r])),{context:n,fn:r,args:t}}function Q(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return K(M,X(e,r))}function J(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return K(N,X(e,r))}function Z(e){return void 0===e&&(e=n.Pe),K(U,e)}function ee(e){void 0===e&&(e=l);for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return K(B,{selector:e,args:r})}},54860:(e,t,r)=>{"use strict";r.d(t,{HR:()=>p,Ix:()=>h,Pc:()=>s,T1:()=>d,YO:()=>l,Yj:()=>o,fD:()=>g,iv:()=>c,lJ:()=>u,mr:()=>f,uQ:()=>a,vD:()=>i});var n=r(3068),i=function(e){return null==e},a=function(e){return null!=e},s=function(e){return"function"==typeof e},o=function(e){return"string"==typeof e},l=Array.isArray,c=function(e){return e&&s(e.then)},u=function(e){return e&&s(e.next)&&s(e.throw)},d=function e(t){return t&&(o(t)||p(t)||s(t)||l(t)&&t.every(e))},h=function(e){return e&&s(e.take)&&s(e.close)},f=function(e){return s(e)&&e.hasOwnProperty("toString")},p=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},g=function(e){return h(e)&&e[n.Xl]}},3068:(e,t,r)=>{"use strict";r.d(t,{E_:()=>o,IO:()=>s,Pe:()=>u,Xl:()=>l,a6:()=>f,bO:()=>i,nm:()=>h,q8:()=>c,wn:()=>d,x2:()=>p,x7:()=>a});var n=function(e){return"@@redux-saga/"+e},i=n("CANCEL_PROMISE"),a=n("CHANNEL_END"),s=n("IO"),o=n("MATCH"),l=n("MULTICAST"),c=n("SAGA_ACTION"),u=n("SELF_CANCELLATION"),d=n("TASK"),h=n("TASK_CANCEL"),f=n("TERMINATE"),p=n("LOCATION")},87897:e=>{function t(e,t,r){var n,i,a,s,o;function l(){var c=Date.now()-s;c<t&&c>=0?n=setTimeout(l,t-c):(n=null,r||(o=e.apply(a,i),a=i=null))}null==t&&(t=100);var c=function(){a=this,i=arguments,s=Date.now();var c=r&&!n;return n||(n=setTimeout(l,t)),c&&(o=e.apply(a,i),a=i=null),o};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(o=e.apply(a,i),a=i=null,clearTimeout(n),n=null)},c}t.debounce=t,e.exports=t},52743:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function o(e,t,r){var i={};return r.isMergeableObject(e)&&a(e).forEach((function(t){i[t]=n(e[t],r)})),a(t).forEach((function(a){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(s(e,a)&&r.isMergeableObject(t[a])?i[a]=function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l}(a,r)(e[a],t[a],r):i[a]=n(t[a],r))})),i}function l(e,r,a){(a=a||{}).arrayMerge=a.arrayMerge||i,a.isMergeableObject=a.isMergeableObject||t,a.cloneUnlessOtherwiseSpecified=n;var s=Array.isArray(r);return s===Array.isArray(e)?s?a.arrayMerge(e,r,a):o(e,r,a):n(r,a)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return l(e,r,t)}),{})};var c=l;e.exports=c},93338:(e,t)=>
vendor: 7,647 bytes, line 2
2{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},21138:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=r(93338),s=r(62888);i(r(62888),t);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?a.ElementType.Tag:void 0,n=new s.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new s.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new s.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},62888:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=r(93338),o=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),T(this,e)},e}();t.Node=o;var l=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(o);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=s.ElementType.Directive,n}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var h=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(o);t.NodeWithChildren=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=p;var g=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var a=e.call(this,n)||this;return a.name=t,a.attribs=r,a.type=i,a}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e}
vendor: 20,620 bytes, line 2
2,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(h);function v(e){return(0,s.isTag)(e)}function m(e){return e.type===s.ElementType.CDATA}function y(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function w(e){return e.type===s.ElementType.Directive}function E(e){return e.type===s.ElementType.Root}function T(e,t){var r;if(void 0===t&&(t=!1),y(e))r=new c(e.data);else if(b(e))r=new u(e.data);else if(v(e)){var n=t?S(e.children):[],i=new g(e.name,a({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),r=i}else if(m(e)){n=t?S(e.children):[];var s=new f(n);n.forEach((function(e){return e.parent=s})),r=s}else if(E(e)){n=t?S(e.children):[];var o=new p(n);n.forEach((function(e){return e.parent=o})),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),r=o}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function S(e){for(var t=e.map((function(e){return T(e,!0)})),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=g,t.isTag=v,t.isCDATA=m,t.isText=y,t.isComment=b,t.isDirective=w,t.isDocument=E,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=T},18494:(e,t,r)=>{"use strict";r.d(t,{XS:()=>n});r(14041);var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return Boolean(e)})).join(" ")};"function"==typeof SuppressedError&&SuppressedError},4867:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,i=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)}(this,r)}}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}var u=r(14041),d=r(39067),h=r(68654).createFocusTrap,f=r(80679).isFocusable,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(d,e);var t,r,n,l=s(d);function d(e){var t,r,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),t=l.call(this,e),r=o(t),i=function(e){var t,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r=r.apply(void 0,i)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s,o=r;if("string"==typeof r&&!(o=null===(s=this.getDocument())||void 0===s?void 0:s.querySelector(r)))throw new Error("`".concat(e,"` as selector refers to no known node"));return o},(n=c(n="getNodeForOption"))in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,t.handleDeactivate=t.handleDeactivate.bind(o(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(o(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(o(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var a=e.focusTrapOptions;for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=a[s]:t.originalOptions[s]=a[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=d,(r=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),r=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),n=e.internalOptions.preventScroll,i=void 0!==n&&n;r&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,r=e.active&&!this.props.active,n=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),r)return void this.deactivateTrap();n&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(r){var n=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(r):t.ref&&(t.ref.current=r)),e.focusTrapElements=n||[r]}})}return null}}])&&i(t.prototype,r),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),d}(u.Component),g="undefined"==typeof Element?Function:Element;p.propTypes={active:d.bool,paused:d.bool,focusTrapOptions:d.shape({document:d.object,onActivate:d.func,onPostActivate:d.func,checkCanFocusTrap:d.func,onPause:d.func,onPostPause:d.func,onUnpause:d.func,onPostUnpause:d.func,onDeactivate:d.func,onPostDeactivate:d.func,checkCanReturnFocus:d.func,initialFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),fallbackFocus:d.oneOfType([d.instanceOf(g),d.string,d.func]),escapeDeactivates:d.oneOfType([d.bool,d.func]),clickOutsideDeactivates:d.oneOfType([d.bool,d.func]),returnFocusOnDeactivate:d.bool,setReturnFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),allowOutsideClick:d.oneOfType([d.bool,d.func]),preventScroll:d.bool,tabbableOptions:d.shape({displayCheck:d.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:d.oneOfType([d.bool,d.func])}),trapStack:d.array,isKeyForward:d.func,isKeyBackward:d.func}),containerElements:d.arrayOf(d.instanceOf(g)),children:d.oneOfType([d.element,d.instanceOf(g)])},p.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:h},e.exports=p},68654:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createFocusTrap:()=>m});var n=r(80679);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},l=function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()},c=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},u=function(e){return c(e)&&!e.shiftKey},d=function(e){return c(e)&&e.shiftKey},h=function(e){return setTimeout(e,0)},f=function(e,t){var r=-1;return e.every((function(e,n){return!t(e)||(r=n,!1)})),r},p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,r):e},g=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},v=[],m=function(e,t){var r,i=(null==t?void 0:t.document)||document,s=(null==t?void 0:t.trapStack)||v,m=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:u,isKeyBackward:d},t),y={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b=function(e,t,r){return e&&void 0!==e[t]?e[t]:m[r||t]},w=function(e,t){var r="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return y.containerGroups.findIndex((function(t){var n=t.container,i=t.tabbableNodes;return n.contains(e)||(null==r?void 0:r.includes(n))||i.find((function(t){return t===e}))}))},E=function(e){var t=m[e];if("function"==typeof t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];t=t.apply(void 0,n)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},T=function(){var e=E("initialFocus");if(!1===e)return!1;if(void 0===e||!(0,n.isFocusable)(e,m.tabbableOptions))if(w(i.activeElement)>=0)e=i.activeElement;else{var t=y.tabbableGroups[0];e=t&&t.firstTabbableNode||E("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},S=function(){if(y.containerGroups=y.containers.map((function(e){var t=(0,n.tabbable)(e,m.tabbableOptions),r=(0,n.focusable)(e,m.tabbableOptions),i=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,s=r.find((function(e){return(0,n.isTabbable)(e)})),o=r.slice().reverse().find((function(e){return(0,n.isTabbable)(e)})),l=!!t.find((function(e){return(0,n.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:a,firstDomTabbableNode:s,lastDomTabbableNode:o,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t.indexOf(e);return a<0?i?r.slice(r.indexOf(e)+1).find((function(e){return(0,n.isTabbable)(e)})):r.slice(0,r.indexOf(e)).reverse().find((function(e){return(0,n.isTabbable)(e)})):t[a+(i?1:-1)]}}})),y.tabbableGroups=y.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),y.tabbableGroups.length<=0&&!E("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(y.containerGroups.find((function(e){return e.posTabIndexesFound}))&&y.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function e(t){var r=t.activeElement;if(r)return r.shadowRoot&&null!==r.shadowRoot.activeElement?e(r.shadowRoot):r},x=function e(t){!1!==t&&t!==O(document)&&(t&&t.focus?(t.focus({preventScroll:!!m.preventScroll}),y.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(T()))},A=function(e){var t=E("setReturnFocus",e);return t||!1!==t&&e},P=function(e){var t=e.target,r=e.event,i=e.isBackward,a=void 0!==i&&i;t=t||g(r),S();var s=null;if(y.tabbableGroups.length>0){var o=w(t,r),l=o>=0?y.containerGroups[o]:void 0;if(o<0)s=a?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(a){var u=f(y.tabbableGroups,(function(e){var r=e.firstTabbableNode;return t===r}));if(u<0&&(l.container===t||(0,n.isFocusable)(t,m.tabbableOptions)&&!(0,n.isTabbable)(t,m.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(u=o),u>=0){var d=0===u?y.tabbableGroups.length-1:u-1,h=y.tabbableGroups[d];s=(0,n.getTabIndex)(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else c(r)||(s=l.nextTabbableNode(t,!1))}else{var p=f(y.tabbableGroups,(function(e){var r=e.lastTabbableNode;return t===r}));if(p<0&&(l.container===t||(0,n.isFocusable)(t,m.tabbableOptions)&&!(0,n.isTabbable)(t,m.tabbableOptions)&&!l.nextTabbableNode(t))&&(p=o),p>=0){var v=p===y.tabbableGroups.length-1?0:p+1,b=y.tabbableGroups[v];s=(0,n.getTabIndex)(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else c(r)||(s=l.nextTabbableNode(t))}}else s=E("fallbackFocus");return s},L=function(e){var t=g(e);w(t,e)>=0||(p(m.clickOutsideDeactivates,e)?r.deactivate({returnFocus:m.returnFocusOnDeactivate}):p(m.allowOutsideClick,e)||e.preventDefault())},k=function(e){var t=g(e),r=w(t,e)>=0;if(r||t instanceof Document)r&&(y.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var a=!0;if(y.mostRecentlyFocusedNode)if((0,n.getTabIndex)(y.mostRecentlyFocusedNode)>0){var s=w(y.mostRecentlyFocusedNode),o=y.containerGroups[s].tabbableNodes;if(o.length>0){var l=o.findIndex((function(e){return e===y.mostRecentlyFocusedNode}));l>=0&&(m.isKeyForward(y.recentNavEvent)?l+1<o.length&&(i=o[l+1],a=!1):l-1>=0&&(i=o[l-1],a=!1))}}else y.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,n.getTabIndex)(e)>0}))}))||(a=!1);else a=!1;a&&(i=P({target:y.mostRecentlyFocusedNode,isBackward:m.isKeyBackward(y.recentNavEvent)})),x(i||(y.mostRecentlyFocusedNode||T()))}y.recentNavEvent=void 0},I=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===p(m.escapeDeactivates,e)))return e.preventDefault(),void r.deactivate();var t;(m.isKeyForward(e)||m.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y.recentNavEvent=e;var r=P({event:e,isBackward:t});r&&(c(e)&&e.preventDefault(),x(r))}(e,m.isKeyBackward(e))},R=function(e){var t=g(e);w(t,e)>=0||p(m.clickOutsideDeactivates,e)||p(m.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},C=function(){if(y.active)return o(s,r),y.delayInitialFocusTimer=m.delayInitialFocus?h((function(){x(T())})):x(T()),i.addEventListener("focusin",k,!0),i.addEventListener("mousedown",L,{capture:!0,passive:!1}),i.addEventListener("touchstart",L,{capture:!0,passive:!1}),i.addEventListener("click",R,{capture:!0,passive:!1}),i.addEventListener("keydown",I,{capture:!0,passive:!1}),r},D=function(){if(y.active)return i.removeEventListener("focusin",k,!0),i.removeEventListener("mousedown",L,!0),i.removeEventListener("touchstart",L,!0),i.removeEventListener("click",R,!0),i.removeEventListener("keydown",I,!0),r},_="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===y.mostRecentlyFocusedNode}))}))&&x(T())})):void 0,M=function(){_&&(_.disconnect(),y.active&&!y.paused&&y.containers.map((function(e){_.observe(e,{subtree:!0,childList:!0})})))};return(r={get active(){return y.active},get paused(){return y.paused},activate:function(e){if(y.active)return this;var t=b(e,"onActivate"),r=b(e,"onPostActivate"),n=b(e,"checkCanFocusTrap");n||S(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var a=function(){n&&S(),C(),M(),null==r||r()};return n?(n(y.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!y.active)return this;var t=a({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},e);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,D(),y.active=!1,y.paused=!1,M(),l(s,r);var n=b(t,"onDeactivate"),i=b(t,"onPostDeactivate"),o=b(t,"checkCanReturnFocus"),c=b(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var u=function(){h((function(){c&&x(A(y.nodeFocusedBeforeActivation)),null==i||i()}))};return c&&o?(o(A(y.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(y.paused||!y.active)return this;var t=b(e,"onPause"),r=b(e,"onPostPause");return y.paused=!0,null==t||t(),D(),M(),null==r||r(),this},unpause:function(e){if(!y.paused||!y.active)return this;var t=b(e,"onUnpause"),r=b(e,"onPostUnpause");return y.paused=!1,null==t||t(),S(),C(),M(),null==r||r(),this}
2,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return y.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),y.active&&S(),M(),this}}).updateContainerElements(e),r}},5874:function(e,t,r){var n;e.exports=(n=r(14041),(()=>{"use strict";var e={155(e){e.exports=n}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.r(i),r.d(i,{accessibility:()=>d,account:()=>g,accountFill:()=>E,aiReview:()=>x,arrowRight:()=>I,attention:()=>_,backToTop:()=>j,bank:()=>G,barcodeScan:()=>Y,box:()=>Q,brightness:()=>ne,camera:()=>le,cardBarcode:()=>he,cardBarcodeFill:()=>me,cardQR:()=>Se,cardQRFill:()=>Pe,caretDown:()=>Re,cart:()=>Me,category:()=>Ue,categoryFill:()=>He,chain:()=>qe,chat:()=>Je,check:()=>nt,checkCircle:()=>ot,chevronDown:()=>dt,chevronLeft:()=>gt,chevronRight:()=>bt,chevronUp:()=>St,circle:()=>Pt,close:()=>Rt,closeCircle:()=>Mt,copy:()=>Ut,coupon:()=>Ht,creditCard:()=>qt,delete:()=>Zt,doubleArrowLeft:()=>ir,doubleArrowRight:()=>lr,download:()=>hr,edit:()=>vr,euro:()=>Tr,externalLink:()=>Pr,eyeHide:()=>Cr,eyeShow:()=>Fr,featureMenu:()=>Br,filter:()=>Vr,filterOpened:()=>Wr,flag:()=>Zr,flagFill:()=>an,floorMap:()=>cn,fullscreenOff:()=>fn,fullscreenOn:()=>mn,gift:()=>Tn,giftCard:()=>kn,global:()=>Dn,grid:()=>Nn,gridSmall:()=>$n,hanger:()=>Yn,happyFace:()=>Qn,heart:()=>ti,heartDisney:()=>si,heartDisneyFill:()=>ui,heartFill:()=>gi,help:()=>bi,home:()=>Si,homeDisney:()=>Pi,homeDisneyFill:()=>Ri,homeDisneyWithText:()=>ji,homeDisneyWithTextFill:()=>Gi,homeFill:()=>Yi,inStock:()=>ta,info:()=>Qi,iqChat:()=>sa,iqChatFill:()=>da,location:()=>va,lock:()=>wa,lowStock:()=>Oa,menu:()=>La,menuFill:()=>Ca,minus:()=>Fa,noStock:()=>Ba,notification:()=>Ha,notificationDisney:()=>Wa,notificationDisneyFill:()=>Za,notificationFill:()=>is,package:()=>cs,parking:()=>fs,pause:()=>ys,pauseCircle:()=>Ts,phone:()=>As,play:()=>Rs,playCircle:()=>Fs,plus:()=>$s,plusCircle:()=>Ys,questionnaire:()=>Qs,refresh:()=>so,requiredCJK:()=>uo,requiredLatin:()=>vo,rise:()=>Eo,ruler:()=>Ao,sadFace:()=>Io,scissors:()=>_o,search:()=>Uo,settings:()=>zo,share:()=>qo,shirtSearch:()=>Zo,shirtSize:()=>nl,shoppingBag:()=>ul,smartphoneLock:()=>pl,smartphoneQR:()=>wl,sort:()=>Ol,star:()=>Ll,starFill:()=>Dl,starHalf:()=>Ul,store:()=>zl,toggleOn:()=>Yl,unavailable:()=>Ql,unchain:()=>tc,verifiedBadge:()=>oc,visualSearch:()=>dc,volume:()=>gc,volumeOff:()=>wc,warehouse:()=>Sc});var a,s,o=r(155),l=["title","titleId"];function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(null,arguments)}var u,d=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,l);return o.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,a||(a=o.createElement("path",{fill:"currentColor",d:"M8.807 20.159a4.655 4.655 0 0 1-4.65-4.65 4.655 4.655 0 0 1 4.65-4.65c.081 0 .156.02.236.024V9.672c-.079-.003-.156-.012-.236-.012a5.856 5.856 0 0 0-5.85 5.85 5.857 5.857 0 0 0 5.85 5.85 5.85 5.85 0 0 0 5.074-2.95h-1.468c-.853 1.059-2.144 1.75-3.606 1.75zM15.746 5.75c1.103 0 2-.897 2-2s-.897-2-2-2-2 .897-2 2 .897 2 2 2m0-3a1.001 1.001 0 0 1 0 2 1.001 1.001 0 0 1 0-2"})),s||(s=o.createElement("path",{fill:"currentColor",d:"m19.923 19.805-1.311-5.946c-.14-.638-.762-1.137-1.415-1.137h-3.371v1.199h3.371c.094 0 .223.104.243.195L18.802 20h-.885c-.097 0-.233-.108-.255-.203l-1.028-4.34h-.001v-.003h-4.55c-.415 0-.754-.146-.958-.411s-.256-.631-.149-1.03l.953-3.56-1.159-.31-.953 3.559c-.203.758-.073 1.513.356 2.07.429.56 1.125.88 1.91.88h3.602l.811 3.42c.149.633.775 1.127 1.423 1.127h.885c.361 0 .691-.152.906-.42.215-.266.293-.622.215-.976zM9.507 7.063a.867.867 0 0 1 1.018-.552l4.094 1.098c.196.053.36.18.463.357s.13.384.078.579l-.671 2.507 1.159.31.671-2.506a1.95 1.95 0 0 0-.198-1.49 1.95 1.95 0 0 0-1.191-.915l-4.094-1.098a2.067 2.067 0 0 0-2.469 1.336l-.513 1.563 1.141.373z"})))},h=["title","titleId"];function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
vendor: 18,128 bytes, line 2
2).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(null,arguments)}var p,g=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,h);return o.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,u||(u=o.createElement("path",{fill:"currentColor",d:"M15.623 11.01c.546-.73.881-1.622.881-2.597C16.504 5.981 14.48 4 11.994 4S7.486 5.98 7.486 8.413c0 .975.336 1.868.881 2.597L5 13.34v2.698h1.049v-2.165L9.1 11.769a4.52 4.52 0 0 0 2.905 1.067c1.112 0 2.119-.41 2.905-1.067l3.052 2.104v5.1H6.049v-1.395H5V20h14v-6.66l-3.366-2.33zm-3.628.79c-1.909 0-3.46-1.52-3.46-3.387 0-1.868 1.551-3.387 3.46-3.387 1.908 0 3.46 1.52 3.46 3.387 0 1.868-1.552 3.387-3.46 3.387"})))},v=["title","titleId"];function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(null,arguments)}var y,b,w,E=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,v);return o.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,p||(p=o.createElement("path",{fill:"currentColor",d:"M15.634 11.014a4.3 4.3 0 0 0 .87-2.598C16.504 5.982 14.48 4 11.994 4S7.486 5.982 7.486 8.416c0 .945.305 1.848.87 2.598L5 13.335V20h14v-6.665l-3.356-2.32z"})))},T=["title","titleId"];function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},S.apply(null,arguments)}var O,x=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,T);return o.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,y||(y=o.createElement("path",{fill:"url(#aiReview_svg__a)",d:"M3.6 3.6h16.8v10.9h1.2V2.4H2.4v19.2H15v-1.2H3.6zM23 19a6.66 6.66 0 0 1-3.5-3.5A6.66 6.66 0 0 1 16 19a6.66 6.66 0 0 1 3.5 3.5A6.66 6.66 0 0 1 23 19"})),b||(b=o.createElement("path",{fill:"currentColor",d:"M9.547 7.713 6.57 15.474h1.402L8.7 13.42h3.098l.727 2.055h1.457l-2.989-7.76zm-.478 4.674 1.174-3.337h.033l1.163 3.337zm5.815-4.674v7.761h1.36v-7.76z"})),w||(w=o.createElement("defs",null,o.createElement("linearGradient",{id:"aiReview_svg__a",x1:2.1,x2:21.3,y1:21.3,y2:2.1,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#EF74F2"}),o.createElement("stop",{offset:.5,stopColor:"#145FEF"}),o.createElement("stop",{offset:1,stopColor:"#5CEBCD"})))))},A=["title","titleId"];function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P.apply(null,arguments)}var L,k,I=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,A);return o.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,O||(O=o.createElement("path",{fill:"currentColor",d:"M17 12 8 7v10z"})))},R=["title","titleId"];function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(null,arguments)}var D,_=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,R);return o.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,L||(L=o.createElement("path",{fill:"currentColor",d:"M12 3.362 1.923 19.601H22.08zm0 2.275 7.922 12.764H4.079z"})),k||(k=o.createElement("path",{fill:"currentColor",d:"M12.8 9.5h-1.6v4.9h1.6zm0 5.9h-1.6V17h1.6z"})))},M=["title","titleId"];function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},F.apply(null,arguments)}var N,j=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,M);return o.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,D||(D=o.createElement("path",{fill:"currentColor",d:"M19.5 11.65 12 4.15l-7.5 7.5.85.85 6.05-6.05V20.5h1.2V6.45l6.05 6.05z"})))},U=["title","titleId"];function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},B.apply(null,arguments)}var $,G=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,U);return o.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,N||(N=o.createElement("path",{fill:"currentColor",d:"M12 3.824 3.283 10.05h17.433zm0 1.352 5.283 3.774H6.716zM20.499 19.4h-17v1.199h17zM6.9 11.5v4.95H3.999v1.1h16v-1.1h-2.9V11.5h-1.2v4.95h-3.3V11.5h-1.2v4.95h-3.3V11.5z"})))},z=["title","titleId"];function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},H.apply(null,arguments)}var V,K,Y=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,z);return o.createElement("svg",H({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,$||($=o.createElement("path",{fill:"currentColor",d:"M8.614 20.5H3.5v-3.985h1.2V19.3h3.914zm11.887 0h-5.114v-1.2H19.3v-2.785h1.2zm0-13.014h-1.2V4.699h-3.914V3.5H20.5zm-15.801 0H3.5V3.5h5.114v1.2H4.7zm2.626 1.287H5.92v6.454h1.406zm3.81 0H8.322v6.454h2.814zm2.413 0h-1.406v6.454h1.406zm4.531 0h-3.601v6.454h3.6z"})))},q=["title","titleId"];function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W.apply(null,arguments)}var X,Q=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,q);return o.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,V||(V=o.createElement("path",{fill:"currentColor",d:"M17.87 4.4H6.13L3.9 8.858v10.741h16.2V8.858zm.684 4.05H12.55V5.599h4.58zM6.87 5.6h4.58v2.851H5.446zM5.1 18.401V9.55h13.8v8.851z"})),K||(K=o.createElement("path",{fill:"currentColor",d:"M14.522 11.75h-5v1.5h5z"})))},J=["title","titleId"];function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Z.apply(null,arguments)}var ee,te,re,ne=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,J);return o.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,X||(X=o.createElement("path",{fill:"currentColor",d:"M12.75 1h-1.5v4h1.5zM12 16.75a4.75 4.75 0 1 0 0-9.5 4.75 4.75 0 0 0 0 9.5M4.752 3.692l-1.06 1.06L6.52 7.581 7.58 6.52zM5 11.25H1v1.5h4zm1.52 5.17-2.83 2.828 1.061 1.06L7.58 17.48zM12.75 19h-1.5v4h1.5zm4.73-2.58-1.06 1.06 2.829 2.828 1.06-1.06zM23 11.25h-4v1.5h4zm-3.752-7.559L16.42 6.52l1.06 1.06 2.829-2.828z"})))},ie=["title","titleId"];function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ae.apply(null,arguments)}var se,oe,le=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ie);return o.createElement("svg",ae({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ee||(ee=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.4 5.4v13.199h19.2V5.4zm18 12H3.6V6.6h16.8z",clipRule:"evenodd"})),te||(te=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 15.55A3.554 3.554 0 0 0 15.55 12 3.554 3.554 0 0 0 12 8.45 3.554 3.554 0 0 0 8.45 12 3.554 3.554 0 0 0 12 15.55m0-6c1.35 0 2.45 1.1 2.45 2.45s-1.1 2.45-2.45 2.45c-1.352 0-2.45-1.1-2.45-2.45S10.647 9.55 12 9.55",clipRule:"evenodd"})),re||(re=o.createElement("path",{fill:"currentColor",d:"M6 9.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5"})))},ce=["title","titleId"];function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ue.apply(null,arguments)}var de,he=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ce);return o.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,se||(se=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M17.625 5.137H6.375a2.74 2.74 0 0 0-2.738 2.738V16.5a2.74 2.74 0 0 0 2.738 2.737h11.25a2.74 2.74 0 0 0 2.737-2.737V7.875a2.74 2.74 0 0 0-2.737-2.738M19.387 16.5c0 .972-.79 1.762-1.762 1.762H6.375c-.972 0-1.763-.79-1.763-1.762V9.487h14.775zm0-7.988H4.612v-.637c0-.972.79-1.763 1.763-1.763h11.25c.972 0 1.762.79 1.762 1.763z",clipRule:"evenodd"})),oe||(oe=o.createElement("path",{fill:"currentColor",d:"M9 12H6.998v3h2zm1.999 0h-1v3h1zM14 12h-2v3h2zm3.001 0h-1.5v3h1.5z"})))},fe=["title","titleId"];function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(null,arguments)}var ge,ve,me=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,fe);return o.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,de||(de=o.createElement("path",{fill:"currentColor",d:"M17.625 5.137H6.375a2.74 2.74 0 0 0-2.738 2.738V16.5a2.74 2.74 0 0 0 2.738 2.738h11.25a2.74 2.74 0 0 0 2.737-2.738V7.875a2.74 2.74 0 0 0-2.737-2.738M9 15H7v-3h2zm2 0h-1v-3h1zm3 0h-2v-3h2zm3 0h-1.5v-3H17zm2.387-6.113H4.614V7.875c0-.972.79-1.763 1.763-1.763h11.25c.972 0 1.762.79 1.762 1.763z"})))},ye=["title","titleId"];function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},be.apply(null,arguments)}var we,Ee,Te,Se=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ye);return o.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ge||(ge=o.createElement("path",{fill:"currentColor",d:"M17.625 5.137H6.375a2.74 2.74 0 0 0-2.738 2.738V16.5a2.74 2.74 0 0 0 2.738 2.737h11.25a2.74 2.74 0 0 0 2.737-2.737V7.875a2.74 2.74 0 0 0-2.737-2.738M19.387 16.5c0 .972-.79 1.762-1.762 1.762H6.375c-.972 0-1.763-.79-1.763-1.762V9.487h14.775zm0-7.988H4.612v-.637c0-.972.79-1.763 1.763-1.763h11.25c.972 0 1.762.79 1.762 1.763z"})),ve||(ve=o.createElement("path",{fill:"currentColor",d:"M13.377 14.293h-.924v.925h.924zm.926.925h-.925v.924h.925zm-.926.924h-.924v.925h.924zm1.851 0h-.925v.925h.924zm0-1.849h-.925v.925h.924zm-3.68 0H8.773v2.774h2.775zm-.9 1.875h-.975v-.976h.975zm.9-5.555H8.773v2.774h2.775zm-.9 1.875h-.975v-.976h.975zm4.58-1.875h-2.775v2.774h2.775zm-.9 1.875h-.975v-.976h.975z"})))},Oe=["title","titleId"];function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xe.apply(null,arguments)}var Ae,Pe=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Oe);return o.createElement("svg",xe({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,we||(we=o.createElement("path",{fill:"currentColor",d:"M14.402 11.438h-1.125v1.124h1.125zm-3.679 0H9.598v1.124h1.125z"})),Ee||(Ee=o.createElement("path",{fill:"currentColor",d:"M17.625 5.137H6.375a2.74 2.74 0 0 0-2.738 2.738V16.5a2.74 2.74 0 0 0 2.738 2.737h11.25a2.74 2.74 0 0 0 2.737-2.737V7.875a2.74 2.74 0 0 0-2.737-2.738m-6.153 11.856H8.847v-2.625h2.625zm0-3.68H8.847v-2.625h2.625zm3.755 1.905h-.925v.925h.925v.925h-.925v-.925h-.925v.925h-.924v-.925h.925v-.925h-.925v-.925h.925v.925h.924v-.925h.925zm-2.7-1.905v-2.625h2.625v2.625zM4.613 8.888V7.876c0-.972.79-1.763 1.762-1.763h11.25c.973 0 1.763.79 1.763 1.763v1.012z"})),Te||(Te=o.createElement("path",{fill:"currentColor",d:"M10.723 15.117H9.598v1.125
2h1.125z"})))},Le=["title","titleId"];function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ke.apply(null,arguments)}var Ie,Re=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Le);return o.createElement("svg",ke({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ae||(Ae=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 10h10l-5 5z",clipRule:"evenodd"})))},Ce=["title","titleId"];function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},De.apply(null,arguments)}var _e,Me=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ce);return o.createElement("svg",De({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ie||(Ie=o.createElement("path",{fill:"currentColor",d:"M7.29 16.72a1.83 1.83 0 0 1 1.08.108c.342.144.634.39.84.703a1.94 1.94 0 0 1-.228 2.407 1.84 1.84 0 0 1-2.354.246 1.9 1.9 0 0 1-.692-.855 1.95 1.95 0 0 1-.11-1.102c.07-.371.247-.713.508-.98.26-.269.594-.452.956-.526m8.728 0a1.83 1.83 0 0 1 1.079.11c.34.144.632.388.838.702a1.94 1.94 0 0 1-.233 2.41 1.84 1.84 0 0 1-2.357.237 1.9 1.9 0 0 1-.688-.857 1.95 1.95 0 0 1 .405-2.08c.26-.267.594-.448.956-.521m.364 1a.85.85 0 0 0-.48.15.9.9 0 0 0-.318.397.89.89 0 0 0 .191.963.85.85 0 0 0 .944.185.87.87 0 0 0 .386-.33.9.9 0 0 0-.116-1.11.86.86 0 0 0-.607-.255m-8.714 0a.85.85 0 0 0-.483.144.9.9 0 0 0-.323.396.9.9 0 0 0 .186.967.86.86 0 0 0 .945.188.87.87 0 0 0 .387-.33.9.9 0 0 0 .141-.493.88.88 0 0 0-.25-.616.85.85 0 0 0-.603-.256m-1.034-3.078h10.913l2.118-7.49H8.401V6.126H21l-2.69 9.542H5.63V4.525H3V3.5h3.634z"})))},Fe=["title","titleId"];function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ne.apply(null,arguments)}var je,Ue=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Fe);return o.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,_e||(_e=o.createElement("path",{fill:"currentColor",d:"M6.275 10.783H2.27v1.05h3.998v-1.05zm.495-3.998h-4.5v1.05h4.5zm-4.5 9.053h5.498v-1.05H2.27zm16.058-1.088a5.94 5.94 0 0 0 1.387-3.81A5.944 5.944 0 0 0 13.775 5a5.944 5.944 0 0 0-5.94 5.94 5.944 5.944 0 0 0 5.94 5.94 5.92 5.92 0 0 0 3.81-1.387l3.398 3.397.742-.742zm-4.553 1.08c-2.7 0-4.89-2.197-4.89-4.89a4.9 4.9 0 0 1 4.89-4.89 4.9 4.9 0 0 1 4.89 4.89 4.9 4.9 0 0 1-4.89 4.89"})))},Be=["title","titleId"];function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
vendor: 60,672 bytes, line 2
2).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$e.apply(null,arguments)}var Ge,ze,He=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Be);return o.createElement("svg",$e({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,je||(je=o.createElement("path",{fill:"currentColor",d:"M18.48 14.793a6.07 6.07 0 0 0 1.335-3.803c0-3.36-2.73-6.09-6.09-6.09s-6.09 2.73-6.09 6.09 2.73 6.09 6.09 6.09c1.44 0 2.76-.502 3.803-1.335l3.307 3.307.953-.952zm-4.755.945a4.745 4.745 0 0 1-4.74-4.74 4.75 4.75 0 0 1 4.74-4.74 4.75 4.75 0 0 1 4.74 4.74 4.75 4.75 0 0 1-4.74 4.74M6.72 6.693h-4.5v1.35h4.5zm-.495 3.997H2.22v1.35h3.997v-1.35zM2.22 16.045h5.497v-1.35H2.22z"})))},Ve=["title","titleId"];function Ke(){return Ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ke.apply(null,arguments)}var Ye,qe=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ve);return o.createElement("svg",Ke({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ge||(Ge=o.createElement("path",{fill:"currentColor",d:"M11 16.6H7A4.605 4.605 0 0 1 2.4 12c0-2.537 2.063-4.6 4.6-4.6h4v1.199H7a3.404 3.404 0 0 0-3.4 3.4c0 1.875 1.525 3.4 3.4 3.4h4zm6 0h-4v-1.199h4c1.875 0 3.4-1.525 3.4-3.4s-1.525-3.4-3.4-3.4h-4V7.402h4c2.537 0 4.6 2.063 4.6 4.6s-2.063 4.6-4.6 4.6z"})),ze||(ze=o.createElement("path",{fill:"currentColor",d:"M15 11.401H9V12.6h6z"})))},We=["title","titleId"];function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xe.apply(null,arguments)}var Qe,Je=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,We);return o.createElement("svg",Xe({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ye||(Ye=o.createElement("path",{fill:"currentColor",d:"M12.882 16.713h-1.6l.012-1.478c0-1.84.967-2.88 1.903-3.888.23-.246.466-.5.695-.776.597-.715.798-1.275.798-2.221 0-.584-.216-1.109-.625-1.517a2.56 2.56 0 0 0-1.888-.733c-1.386.006-2.867.887-2.867 3.342h-1.6c0-3.4 2.24-4.932 4.46-4.942h.02c1.143 0 2.237.437 3.003 1.2a3.7 3.7 0 0 1 1.097 2.65c0 1.31-.339 2.252-1.17 3.247-.248.298-.503.572-.75.84-.857.921-1.476 1.587-1.476 2.798zm-.02 1.29h-1.6V19.5h1.6z"})))},Ze=["title","titleId"];function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},et.apply(null,arguments)}var tt,rt,nt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ze);return o.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Qe||(Qe=o.createElement("path",{fill:"currentColor",d:"M10.316 17 5.54 11.611l.734-.714 4.042 4.559L17.806 7l.734.714z"})))},it=["title","titleId"];function at(){return at=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},at.apply(null,arguments)}var st,ot=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,it);return o.createElement("svg",at({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,tt||(tt=o.createElement("path",{fill:"currentColor",d:"M12.006 20.6c-4.742 0-8.6-3.857-8.6-8.6s3.858-8.6 8.6-8.6 8.6 3.857 8.6 8.6-3.858 8.6-8.6 8.6m0-16c-4.08 0-7.4 3.32-7.4 7.4s3.32 7.4 7.4 7.4c4.081 0 7.4-3.32 7.4-7.4s-3.319-7.4-7.4-7.4"})),rt||(rt=o.createElement("path",{fill:"currentColor",d:"m10.743 15.813-3.641-3.627.988-.993 2.652 2.642L15.9 8.681l.989.99z"})))},lt=["title","titleId"];function ct(){return ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ct.apply(null,arguments)}var ut,dt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,lt);return o.createElement("svg",ct({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,st||(st=o.createElement("path",{fill:"currentColor",d:"M19.5 9.433 12 15.5 4.5 9.433l.85-.933L12 13.862 18.65 8.5z"})))},ht=["title","titleId"];function ft(){return ft=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ft.apply(null,arguments)}var pt,gt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ht);return o.createElement("svg",ft({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ut||(ut=o.createElement("path",{fill:"currentColor",d:"M14.567 19.5 8.5 12l6.067-7.5.933.85L10.138 12l5.362 6.65z"})))},vt=["title","titleId"];function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mt.apply(null,arguments)}var yt,bt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,vt);return o.createElement("svg",mt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,pt||(pt=o.createElement("path",{fill:"currentColor",d:"M9.433 19.5 15.5 12 9.433 4.5l-.933.85L13.862 12 8.5 18.65z"})))},wt=["title","titleId"];function Et(){return Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Et.apply(null,arguments)}var Tt,St=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,wt);return o.createElement("svg",Et({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,yt||(yt=o.createElement("path",{fill:"currentColor",d:"M4.5 14.567 12 8.5l7.5 6.067-.85.933L12 10.138 5.35 15.5z"})))},Ot=["title","titleId"];function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xt.apply(null,arguments)}var At,Pt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ot);return o.createElement("svg",xt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Tt||(Tt=o.createElement("path",{fill:"currentColor",d:"M12 2.9c-5.02 0-9.1 4.08-9.1 9.1s4.08 9.1 9.1 9.1 9.1-4.08 9.1-9.1-4.08-9.1-9.1-9.1m0 17c-4.36 0-7.9-3.54-7.9-7.9S7.64 4.1 12 4.1s7.9 3.54 7.9 7.9-3.54 7.9-7.9 7.9"})))},Lt=["title","titleId"];function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kt.apply(null,arguments)}var It,Rt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Lt);return o.createElement("svg",kt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,At||(At=o.createElement("path",{fill:"currentColor",d:"m17.5 7.311-.81-.811L12 11.19 7.31 6.5l-.81.811 4.69 4.69L6.5 16.69l.81.81L12 12.812l4.69 4.69.81-.811L12.81 12z"})))},Ct=["title","titleId"];function Dt(){return Dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dt.apply(null,arguments)}var _t,Mt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ct);return o.createElement("svg",Dt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,It||(It=o.createElement("path",{fill:"currentColor",d:"M12 2.9c-5.02 0-9.1 4.08-9.1 9.1s4.08 9.1 9.1 9.1 9.1-4.08 9.1-9.1-4.08-9.1-9.1-9.1m0 17c-4.36 0-7.9-3.54-7.9-7.9S7.64 4.1 12 4.1s7.9 3.54 7.9 7.9-3.54 7.9-7.9 7.9m3.11-11.86L12 11.15 8.89 8.04l-.85.85L11.15 12l-3.11 3.11.85.85L12 12.85l3.11 3.11.85-.85L12.85 12l3.11-3.11z"})))},Ft=["title","titleId"];function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nt.apply(null,arguments)}var jt,Ut=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ft);return o.createElement("svg",Nt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,_t||(_t=o.createElement("path",{fill:"currentColor",d:"M20.05 3.95H7.95V7.9H3.9v12.199h12.2v-4.05h3.95zM14.9 18.9H5.1V9.1h9.8zm4.05-3.95H16.1V7.9H9.05V5.049h9.9z"})))},Bt=["title","titleId"];function $t(){return $t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$t.apply(null,arguments)}var Gt,zt,Ht=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Bt);return o.createElement("svg",$t({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,jt||(jt=o.createElement("path",{fill:"currentColor",d:"M9.164 9.63H8.136v1.6h1.028zm-1.028 4.73h1.028v-1.6H8.136zm12.847-4.49.267-.14V6h-18v12h12.63v-1H9.165v-1.1H8.136V17H4.279V7h3.857v1.1h1.028V7h11.057v2.16c-1.038.66-1.645 1.7-1.645 2.84s.607 2.19 1.645 2.84V17h-2.52v1h3.549v-3.73l-.267-.14c-.864-.46-1.379-1.25-1.379-2.12s.515-1.66 1.379-2.12z"})))},Vt=["title","titleId"];function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kt.apply(null,arguments)}var Yt,qt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Vt);return o.createElement("svg",Kt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Gt||(Gt=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.5 4.9h-13a2.6 2.6 0 0 0-2.6 2.6v9c0 1.434 1.167 2.6 2.6 2.6h13c1.434 0 2.6-1.166 2.6-2.6v-9c0-1.434-1.167-2.6-2.6-2.6m-13 1.199h13c.772 0 1.4.629 1.4 1.4v1.478H4.1V7.499c0-.771.628-1.4 1.4-1.4m13 11.8h-13c-.772 0-1.4-.628-1.4-1.4v-4.521h15.8V16.5c0 .77-.628 1.4-1.4 1.4",clipRule:"evenodd"})),zt||(zt=o.createElement("path",{fill:"currentColor",d:"M10 14.5H5.5v1.28H10z"})))},Wt=["title","titleId"];function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xt.apply(null,arguments)}var Qt,Jt,Zt=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Wt);return o.createElement("svg",Xt({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Yt||(Yt=o.createElement("path",{fill:"currentColor",d:"M19.35 5.993h-6.177V4.35h-2.647v1.643H4.35v.989h1.618v6.807h.98V6.982h9.804v11.379H6.948v-3.087h-.98v4.076h11.764V6.982h1.618zm-6.03 3.314v7.075h.981V9.307zm-3.921 0v7.075h.98V9.307z"})))},er=["title","titleId"];function tr(){return tr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tr.apply(null,arguments)}var rr,nr,ir=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,er);return o.createElement("svg",tr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Qt||(Qt=o.createElement("path",{fill:"#fff",d:"m15.766 21.5.992-.99-8.525-8.505 8.525-8.514-.992-.991-9.516 9.505z"})),Jt||(Jt=o.createElement("path",{fill:"currentColor",d:"m16.758 20.51.992-.991-7.533-7.514 7.533-7.524-.992-.99-8.524 8.514z"})))},ar=["title","titleId"];function sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sr.apply(null,arguments)}var or,lr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ar);return o.createElement("svg",sr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,rr||(rr=o.createElement("path",{fill:"#fff",d:"m8.234 21.5-.992-.99 8.525-8.505-8.525-8.514.992-.991 9.516 9.505z"})),nr||(nr=o.createElement("path",{fill:"currentColor",d:"m7.242 20.51-.992-.991 7.533-7.514L6.25 4.481l.992-.99 8.524 8.514z"})))},cr=["title","titleId"];function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ur.apply(null,arguments)}var dr,hr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,cr);return o.createElement("svg",ur({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,or||(or=o.createElement("path",{fill:"currentColor",d:"M19.48 20.5h-15V14h.998v5.5h12.994V14h.998v6.5zm-7.505-6.27L6.167 8.41l.708-.71 4.611 4.62V2.5h.998v9.82l4.61-4.62.71.71-5.819 5.83z"})))},fr=["title","titleId"];function pr(){return pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pr.apply(null,arguments)}var gr,vr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,fr);return o.createElement("svg",pr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,dr||(dr=o.createElement("path",{fill:"currentColor",d:"M13.972 3.323 6.34 16.54l.243 4.936 4.396-2.258 7.63-13.217zm.402 1.502 2.733 1.578-.725 1.256-2.733-1.579zm-6.5 11.257 5.275-9.135 2.733 1.579-5.274 9.135zm-.41.917 2.555 1.475-2.421 1.244z"})))},mr=["title","titleId"];function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yr.apply(null,arguments)}var br,wr,Er,Tr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,mr);return o.createElement("svg",yr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,gr||(gr=o.createElement("path",{fill:"currentColor",d:"M13.53 17.34c-1.94 0-3.61-1.14-4.41-2.78h4.6v-1.5H8.67c-.03-.21-.06-.42-.06-.64s.04-.43.06-.64h5.04v-1.5h-4.6c.8-1.64 2.47-2.78 4.41-2.78 1.33 0 2.54.54 3.43 1.4l1.06-1.06A6.42 6.42 0 0 0 13.52 6c-2.79 0-5.17 1.79-6.05 4.28H5v1.5h2.14a6.7 6.7 0 0 0 0 1.28H5v1.5h2.48a6.425 6.425 0 0 0 6.05 4.28c1.75 0 3.33-.7 4.49-1.84l-1.06-1.06c-.89.87-2.1 1.4-3.43 1.4"})))},Sr=["title","titleId"];function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Or.apply(null,arguments)}var xr,Ar,Pr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Sr);return o.createElement("svg",Or({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,br||(br=o.createElement("path",{fill:"currentColor",d:"M18.77 12.21h-1V6.23h-5.98v-1h6.98z"})),wr||(wr=o.createElement("path",{fill:"currentColor",d:"m17.917 5.38-7.68 7.68.707.707 7.68-7.68z"})),Er||(Er=o.createElement("path",{fill:"currentColor",d:"M17.23 18.77h-12V6.75h4.75v1H6.23v10.02h10v-3.75h1z"})))},Lr=["title","titleId"];function kr(){return kr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kr.apply(null,arguments)}var Ir,Rr,Cr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Lr);return o.createElement("svg",kr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,xr||(xr=o.createElement("path",{fill:"currentColor",d:"M17.92 17.08 9.21 8.37 8.15 7.3l-.94-.94-2.79-2.78-.84.84 2.5 2.5c-1.96 1.1-3.58 2.74-4.62 4.8l-.13.28.13.27C3.42 16.17 7.45 18.6 12 18.6c1.69 0 3.31-.35 4.78-.98l2.8 2.8.85-.85zm-8.69-7 4.69 4.69c-.55.38-1.2.63-1.92.63-1.88 0-3.4-1.52-3.4-3.4 0-.72.24-1.37.63-1.92M12 17.4c-3.98 0-7.53-2.06-9.32-5.4.98-1.82 2.49-3.24 4.3-4.17l1.39 1.39c-.6.77-.97 1.73-.97 2.78a4.6 4.6 0 0 0 4.6 4.6c1.05 0 2.01-.37 2.79-.97l1.07 1.07c-1.21.45-2.51.7-3.86.7m10.54-5.67C20.58 7.83 16.55 5.4 12 5.4c-1.23 0-2.42.18-3.54.52l.99.99c.82-.19 1.67-.31 2.55-.31 3.98 0 7.53 2.06 9.32 5.4a9.9 9.9 0 0 1-3.24 3.54l.88.88c1.49-1.06 2.73-2.47 3.57-4.15l.14-.27z"})),Ar||(Ar=o.createElement("path",{fill:"currentColor",d:"M16.26 13.72c.21-.53.34-1.11.34-1.72A4.6 4.6 0 0 0 12 7.4c-.61 0-1.18.12-1.72.34l.95.95c.25-.05.51-.09.77-.09 1.88 0 3.4 1.52 3.4 3.4 0 .26-.04.52-.09.76z"})))},Dr=["title","titleId"];function _r(){return _r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_r.apply(null,arguments)}var Mr,Fr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Dr);return o.createElement("svg",_r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ir||(Ir=o.createElement("path",{fill:"currentColor",d:"M12 18.6c-4.55 0-8.58-2.43-10.54-6.33L1.33 12l.13-.27C3.42 7.83 7.45 5.4 12 5.4s8.58 2.43 10.54 6.33l.13.27-.13.27c-1.96 3.9-5.99 6.33-10.54 6.33M2.68 12c1.8 3.34 5.34 5.4 9.32 5.4s7.53-2.06 9.32-5.4c-1.8-3.34-5.34-5.4-9.32-5.4S4.47 8.66 2.68 12"})),Rr||(Rr=o.createElement("path",{fill:"currentColor",d:"M12 16.6a4.6 4.6 0 1 1 .002-9.201 4.6 4.6 0 0 1-.002 9.2m0-8c-1.88 0-3.4 1.52-3.4 3.4s1.52 3.4 3.4 3.4 3.4-1.52 3.4-3.4-1.52-3.4-3.4-3.4"})))},Nr=["title","titleId"];function jr(){return jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jr.apply(null,arguments)}var Ur,Br=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Nr);return o.createElement("svg",jr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Mr||(Mr=o.createElement("path",{fill:"currentColor",d:"M3 7.5v1h18v-1zm0 9h18v-1H3z"})))},$r=["title","titleId"];function Gr(){return Gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gr.apply(null,arguments)}var zr,Hr,Vr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,$r);return o.createElement("svg",Gr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ur||(Ur=o.createElement("path",{fill:"currentColor",d:"M12.12 13.813H3v.989h9.12zm8.88 0h-1.87v.989H21zm-5.38 2.967a2.5 2.5 0 0 1-1.389-.417 2.5 2.5 0 0 1-.92-1.11 2.45 2.45 0 0 1 .541-2.694 2.53 2.53 0 0 1 2.724-.536 2.5 2.5 0 0 1 1.123.91c.274.407.421.885.421 1.374a2.47 2.47 0 0 1-.735 1.746 2.52 2.52 0 0 1-1.765.727m0-3.956c-.297 0-.587.087-.833.25a1.5 1.5 0 0 0-.553.665 1.47 1.47 0 0 0 .325 1.617 1.51 1.51 0 0 0 1.635.322c.274-.112.508-.303.673-.546a1.47 1.47 0 0 0-.186-1.874 1.5 1.5 0 0 0-1.061-.434M21 8.758h-9.12v.99H21zm-16.13 0H3v.99h1.87zm3.51 2.968a2.5 2.5 0 0 1-1.389-.417 2.5 2.5 0 0 1-.92-1.11 2.45 2.45 0 0 1 .541-2.695 2.53 2.53 0 0 1 2.724-.536 2.5 2.5 0 0 1 1.123.911 2.454 2.454 0 0 1-.311 3.122 2.5 2.5 0 0 1-1.768.725m0-3.957c-.297 0-.587.087-.833.25a1.5 1.5 0 0 0-.553.666 1.47 1.47 0 0 0 .325 1.617 1.51 1.51 0 0 0 1.635.322c.274-.113.508-.303.673-.547a1.47 1.47 0 0 0-.186-1.873 1.5 1.5 0 0 0-1.061-.435"})))},Kr=["title","titleId"];function Yr(){return Yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yr.apply(null,arguments)}var qr,Wr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Kr);return o.createElement("svg",Yr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,zr||(zr=o.createElement("path",{fill:"currentColor",d:"M4.994 2H4v20h.994zm3.071 9.499L8.064 12.5l11.934.019.002-1.001z"})),Hr||(Hr=o.createElement("path",{fill:"currentColor",d:"M11.463 16.164 7.34 11.98l4.144-4.154.696.71-3.43 3.454 3.419 3.473z"})))},Xr=["title","titleId"];function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qr.apply(null,arguments)}var Jr,Zr=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Xr);return o.createElement("svg",Qr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,qr||(qr=o.createElement("path",{fill:"currentColor",d:"M17.49 4.96c-1.51.75-3.07.36-4.72-.04-1.79-.44-3.63-.89-5.54.04l-.34.17V20.5h1.2v-6.2c1.41-.54 2.86-.2 4.38.18 1.02.25 2.05.5 3.11.5.8 0 1.61-.15 2.43-.55l.34-.16V4.54zm-.34 8.54c-1.41.54-2.86.18-4.39-.19-1.02-.25-2.05-.5-3.11-.5-.52 0-1.04.06-1.56.21V5.9c1.41-.54 2.86-.18 4.39.19 1.51.37 3.07.75 4.67.29z"})))},en=["title","titleId"];function tn(){return tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tn.apply(null,arguments)}var rn,nn,an=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,en);return o.createElement("svg",tn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Jr||(Jr=o.createElement("path",{fill:"currentColor",d:"M17.49 4.96c-1.51.74-3.07.36-4.72-.04-1.78-.44-3.63-.89-5.54.04l-.33.17V20.5h1.2v-6.2c1.41-.54 2.86-.2 4.38.18 1.02.25 2.05.5 3.11.5.8 0 1.61-.15 2.43-.55l.33-.17V4.54z"})))},sn=["title","titleId"];function on(){return on=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},on.apply(null,arguments)}var ln,cn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,sn);return o.createElement("svg",on({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,rn||(rn=o.createElement("path",{fill:"currentColor",d:"m20.2 20.728-1.75-4.48a.75.75 0 0 0-.7-.478h-2.006c-.43.52-.859 1.032-1.253 1.5h2.746l1.164 2.981H5.598l1.164-2.981h2.746c-.407-.484-.83-.991-1.253-1.5H6.25a.75.75 0 0 0-.699.477l-1.75 4.481A.75.75 0 0 0 4.5 21.75h15a.748.748 0 0 0 .7-1.022"})),nn||(nn=o.createElement("path",{fill:"currentColor",d:"M18.25 8.118a6.2 6.2 0 0 0-1.874-4.334A6.22 6.22 0 0 0 12 2a6.23 6.23 0 0 0-4.376 1.784A6.2 6.2 0 0 0 5.75 8.118v.01c0 1.305.459 2.621 1.238 3.757C7.799 13.069 12 18 12 18s4.201-4.931 5.012-6.115c.779-1.137 1.238-2.453 1.238-3.757zm-2.664.592-1.252-.344v3.817H9.662V8.366L8.41 8.71l-.703-1.774 2.884-1.393s.356 1.249 1.406 1.249 1.406-1.249 1.406-1.249l2.884 1.393-.703 1.774z"})))},un=["title","titleId"];function dn(){return dn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dn.apply(null,arguments)}var hn,fn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,un);return o.createElement("svg",dn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ln||(ln=o.createElement("path",{fill:"currentColor",d:"M9.4 9.4H5.5v1.2h5.1V5.5H9.4zm5.2 0V5.5h-1.2v5.1h5.1V9.4zm-9.1 5.2h3.9v3.9h1.2v-5.1H5.5zm7.9 3.9h1.2v-3.9h3.9v-1.2h-5.1z"})))},pn=["title","titleId"];function gn(){return gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gn.apply(null,arguments)}var vn,mn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,pn);return o.createElement("svg",gn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,hn||(hn=o.createElement("path",{fill:"currentColor",d:"M5.4 10.5h1.2V6.6h3.9V5.4H5.4zm8.1-5.1v1.2h3.9v3.9h1.2V5.4zm-6.9 8.1H5.4v5.1h5.1v-1.2H6.6zm10.8 3.9h-3.9v1.2h5.1v-5.1h-1.2z"})))},yn=["title","titleId"];function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bn.apply(null,arguments)}var wn,En,Tn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,yn);return o.createElement("svg",bn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,vn||(vn=o.createElement("path",{fill:"currentColor",d:"M3.65 3.65v16.7h16.7V3.65zm15.5 7.869h-2.324c.179-.116.346-.246.492-.393.392-.391.607-.911.607-1.465s-.215-1.074-.606-1.465c-.782-.783-2.148-.783-2.93 0a3 3 0 0 0-.387.485V4.848h5.148zm-8.874-1.03a1.16 1.16 0 0 1-.343-.827c0-.313.122-.607.343-.828a1.16 1.16 0 0 1 .828-.344c.313 0 .607.122.829.344.66.659.922 1.95 1.021 2.678-.726-.1-2.018-.361-2.678-1.021zm3.729 1.022c.099-.727.361-2.02 1.021-2.678.221-.222.516-.344.829-.344s.607.122.829.344c.221.22.343.515.343.828s-.122.607-.343.828c-.66.66-1.952.923-2.678 1.02zm-1.004-6.662v3.91a3 3 0 0 0-.431-.562c-.782-.783-2.148-.783-2.929 0a2.05 2.05 0 0 0-.607 1.465c0 .554.215 1.074.606 1.465.146.146.313.276.492.393H4.85V4.85zm-8.151 7.67h7.008c-1.324 1.155-2.202 2.618-2.25 2.698l.86.51c.012-.02 1.074-1.79 2.534-2.845l.002 6.269H4.85zm9.155 6.632-.002-5.652c1.122.95 2.692 1.515 2.93 1.596l.325-.945c-.612-.211-2.039-.837-2.839-1.63h4.73v6.63z"})))},Sn=["title","titleId"];function On(){return On=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},On.apply(null,arguments)}var xn,An,Pn,Ln,kn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Sn);return o.createElement("svg",On({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,wn||(wn=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.5 4.9h-13a2.6 2.6 0 0 0-2.6 2.6v9c0 1.434 1.167 2.6 2.6 2.6h13c1.434 0 2.6-1.166 2.6-2.6v-9c0-1.434-1.167-2.6-2.6-2.6m-13 1.199h13c.772 0 1.4.629 1.4 1.4v1.45H4.1v-1.45c0-.771.628-1.4 1.4-1.4m13 11.8h-13c-.772 0-1.4-.628-1.4-1.4v-6.45h15.8v6.45c0 .772-.628 1.4-1.4 1.4",clipRule:"evenodd"})),En||(En=o.createElement("path",{fill:"currentColor",d:"M9 12.5H7v3h2zm2 0h-1v3h1zm3 0h-2v3h2zm3 0h-1.5v3H17z"})))},In=["title","titleId"];function Rn(){return Rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rn.apply(null,arguments)}var Cn,Dn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,In);return o.createElement("svg",Rn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,xn||(xn=o.createElement("path",{fill:"currentColor",d:"M12 20a8 8 0 1 1 0-16.001A8 8 0 0 1 12 20m0-14.95a7 7 0 1 0 0 14 7 7 0 0 0 0-14"})),An||(An=o.createElement("path",{fill:"currentColor",d:"M12.52 4.54h-1v14.93h1z"})),Pn||(Pn=o.createElement("path",{fill:"currentColor",d:"M19.26 9.7H4.75v1h14.51zM8.54 14.02H4.96v1h3.58zm10.48.01H9.97v1h9.05z"})),Ln||(Ln=o.createElement("path",{fill:"currentColor",d:"M12 20c-2.54 0-4.53-3.49-4.53-8s2-8 4.53-8 4.52 3.49 4.52 8-1.99 8-4.52 8m0-15c-1.91 0-3.53 3.19-3.53 7s1.62 7 3.53 7 3.52-3.19 3.52-7S13.9 5 12 5"})))},_n=["title","titleId"];function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mn.apply(null,arguments)}var Fn,Nn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,_n);return o.createElement("svg",Mn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Cn||(Cn=o.createElement("path",{fill:"currentColor",d:"M13.576 4.425h-3.15v3.15h3.15zm6 0h-3.15v3.15h3.15zm-12 0h-3.15v3.15h3.15zm6 6h-3.15v3.15h3.15zm6 0h-3.15v3.15h3.15zm-12 0h-3.15v3.15h3.15zm6 6h-3.15v3.15h3.15zm6 0h-3.15v3.15h3.15zm-12 0h-3.15v3.15h3.15z"})))},jn=["title","titleId"];function Un(){return Un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Un.apply(null,arguments)}var Bn,$n=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,jn);return o.createElement("svg",Un({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Fn||(Fn=o.createElement("path",{fill:"currentColor",d:"M10.6 10.6H4.9V4.9h5.7zM6.1 9.4h3.3V6.1H6.1zm13 1.2h-5.7V4.9h5.7zm-4.5-1.2h3.3V6.1h-3.3zm4.5 9.7h-5.7v-5.7h5.7zm-4.5-1.2h3.3v-3.3h-3.3zm-4 1.2H4.9v-5.7h5.7zm-4.5-1.2h3.3v-3.3H6.1z"})))},Gn=["title","titleId"];function zn(){return zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zn.apply(null,arguments)}var Hn,Vn,Kn,Yn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Gn);return o.createElement("svg",zn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Bn||(Bn=o.createElement("path",{fill:"currentColor",d:"M21 19H3v-2.858l8.5-4.224V10.19l.18-.146s.75-.605 1.51-1.288c.54-.488.42-1.18.39-1.404 0-.069-.23-1.434-1.7-1.376-1.61.04-1.68 1.512-1.68 1.678h-1c0-.898.55-2.595 2.65-2.653 1.99-.059 2.62 1.54 2.71 2.155.2 1.23-.26 1.932-.69 2.312-.56.498-1.1.956-1.37 1.18v1.864L4 16.737v1.288h16v-1.288l-6.31-3.131.45-.869L21 16.142z"})))},qn=["title","titleId"];function Wn(){return Wn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wn.apply(null,arguments)}var Xn,Qn=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,qn);return o.createElement("svg",Wn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Hn||(Hn=o.createElement("path",{fill:"currentColor",d:"M9.06 11.074a.882.882 0 1 0 0-1.764.882.882 0 0 0 0 1.764m5.88 0a.882.882 0 1 0 0-1.764.882.882 0 0 0 0 1.764"})),Vn||(Vn=o.createElement("path",{fill:"currentColor",d:"M12.012 3.4H12c-4.738 0-8.594 3.858-8.594 8.6s3.855 8.6 8.604 8.6c4.74 0 8.595-3.857 8.595-8.6s-3.854-8.6-8.593-8.6m-.01 16c-4.077 0-7.395-3.32-7.395-7.4s3.317-7.4 7.394-7.4h.012c4.077 0 7.394 3.32 7.394 7.4s-3.317 7.4-7.404 7.4"})),Kn||(Kn=o.createElement("path",{fill:"currentColor",d:"M12.006 15.616c-1.648 0-3.04-.897-3.236-2.087l-1.184.195c.29 1.763 2.19 3.09 4.42 3.09s4.129-1.327 4.419-3.09l-1.184-.195c-.196 1.189-1.586 2.087-3.235 2.087"})))},Jn=["title","titleId"];function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zn.apply(null,arguments)}var ei,ti=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Jn);return o.createElement("svg",Zn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Xn||(Xn=o.createElement("path",{fill:"currentColor",d:"m12 20-6.986-7.155A5.35 5.35 0 0 1 3.5 9.105a5.35 5.35 0 0 1 1.514-3.738 5.1 5.1 0 0 1 3.509-1.351A5.1 5.1 0 0 1 12 5.448a5.85 5.85 0 0 1 3.28-1.427 4.6 4.6 0 0 1 2 .255 4.6 4.6 0 0 1 1.705 1.091A5.35 5.35 0 0 1 20.5 9.106a5.35 5.35 0 0 1-1.515 3.739zM8.276 5.016a3.5 3.5 0 0 0-1.387.266c-.44.183-.84.455-1.175.799a4.34 4.34 0 0 0-1.213 3.015c0 1.129.436 2.212 1.213 3.015L12 18.553l6.286-6.412a4.34 4.34 0 0 0 1.213-3.015 4.34 4.34 0 0 0-1.213-3.015 3.6 3.6 0 0 0-1.36-.87 3.56 3.56 0 0 0-1.596-.185 4.9 4.9 0 0 0-3.015 1.457L12 6.845l-.345-.362a4.88 4.88 0 0 0-3.38-1.467"})))},ri=["title","titleId"];function ni(){return ni=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ni.apply(null,arguments)}var ii,ai,si=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ri);return o.createElement("svg",ni({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ei||(ei=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.763 4.698c.838-.68 1.832-1.097 2.726-.947 1.79.298 2.767 1.966 3.162 4.358.145.887.469 3.718-.665 6.72.905 1.258 1.162 2.935.392 4.142l-.003.002c-.43.67-1.249 1.08-2.141 1.235-1.709.293-3.66-.31-5.451-1.538a2.6 2.6 0 0 1-.791.33c-.365.09-.74.123-1.047.133-.693.022-1.331-.076-1.81-.408-1.77 1.19-3.686 1.771-5.369 1.482-.892-.153-1.71-.565-2.141-1.234l-.002-.002c-.77-1.207-.514-2.884.391-4.141-1.134-3.003-.81-5.834-.666-6.72l.001-.001c.395-2.392 1.372-4.06 3.162-4.357.894-.15 1.888.266 2.726.946.96.78 2.923 2.911 3.465 7.432l-.065.01q.14-.022.29-.027.211-.006.404.025l-.034-.006c.542-4.522 2.505-6.655 3.466-7.434M5.71 4.935c-.98.163-1.8 1.092-2.176 3.37-.135.827-.443 3.573.72 6.394l.14.338-.237.279c-.86 1.013-.984 2.282-.523 3.008l.081.106c.219.249.64.489 1.255.595 1.272.218 2.864-.208 4.452-1.267-.183-.516-.216-1.145-.165-1.83v-.003c.05-.62.179-1.508.536-2.265.176-.375.423-.742.758-1.025l-.042-.383c-.472-3.903-2.064-5.774-2.868-6.487l-.159-.135c-.712-.577-1.362-.764-1.77-.695m12.58 0c-.41-.069-1.059.118-1.77.695l-.16.135c-.831.738-2.507 2.715-2.914 6.899l-.004.038c.222.211.406.464.554.732.398.722.597 1.642.662 2.492l.021.388c.016.522-.028.997-.168 1.401 1.61 1.091 3.23 1.531 4.52 1.31.616-.106 1.036-.346 1.255-.595l.08-.106c.462-.726.337-1.995-.522-3.008l-.236-.28.14-.337c1.162-2.821.854-5.566.72-6.395-.377-2.277-1.197-3.206-2.177-3.369zm-6.324 8.377c-.49.017-.83.311-1.088.86-.265.56-.38 1.276-.425 1.849-.069.917.065 1.37.23 1.588l.071.079.001.002c.145.133.47.266 1.152.244a4 4 0 0 0 .795-.099c.26-.065.428-.153.517-.24l.06-.07c.136-.195.252-.614.182-1.505v-.002c-.057-.756-.23-1.487-.515-2.004-.28-.507-.604-.713-.98-.702",clipRule:"evenodd"})))},oi=["title","titleId"];function li(){return li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},li.apply(null,arguments)}var ci,ui=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,oi);return o.createElement("svg",li({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ii||(ii=o.createElement("path",{fill:"currentColor",d:"M5.51 3.752c.895-.151 1.888.266 2.726.946.961.78 2.923 2.912 3.465 7.432-.978.123-1.571.814-1.909 1.53-.357.758-.486 1.645-.535 2.265v.003c-.083 1.106.055 2.064.686 2.643q.09.085.193.154c-1.77 1.192-3.687 1.772-5.37 1.483-.892-.154-1.71-.565-2.142-1.235l-.002-.002c-.77-1.207-.514-2.884.392-4.141-1.134-3.003-.81-5.834-.666-6.72v-.001c.396-2.392 1.373-4.06 3.163-4.357m10.253.946c.838-.68 1.831-1.097 2.725-.946 1.79.297 2.767 1.965 3.162 4.357h.001c.145.887.468 3.718-.666 6.72.906 1.258 1.162 2.935.392 4.142l-.002.002c-.431.67-1.25 1.08-2.142 1.235-1.709.293-3.66-.309-5.452-1.537q.149-.094.278-.22h.001c.502-.493.646-1.25.619-2.137l-.022-.388c-.065-.85-.264-1.77-.662-2.492-.351-.636-.906-1.19-1.698-1.302.541-4.522 2.505-6.655 3.466-7.434"})),ai||(ai=o.createElement("path",{fill:"currentColor",d:"M11.967 13.311c.375-.01.7.195.98.702.284.517.458 1.249.515 2.004v.002c.07.891-.046 1.31-.183 1.505l-.06.07c-.088.087-.256.175-.517.24a4 4 0 0 1-.795.1c-.683.021-1.007-.111-1.151-.245l-.001-.002-.072-.079c-.164-.217-.299-.67-.23-1.588.046-.572.16-1.289.425-1.85.258-.548.599-.842 1.089-.859"})))},di=["title","titleId"];function hi(){return hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hi.apply(null,arguments)}var fi,pi,gi=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,di);return o.createElement("svg",hi({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ci||(ci=o.createElement("path",{fill:"currentColor",d:"m12 20-6.983-7.146A5.35 5.35 0 0 1 3.5 9.104a5.33 5.33 0 0 1 1.517-3.749C6.829 3.5 9.873 3.571 12 5.435c2.127-1.864 5.17-1.925 6.983-.08a5.35 5.35 0 0 1 1.517 3.75 5.35 5.35 0 0 1-1.517 3.749z"})))},vi=["title","titleId"];function mi(){return mi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mi.apply(null,arguments)}var yi,bi=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,vi);return o.createElement("svg",mi({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,fi||(fi=o.createElement("path",{fill:"currentColor",d:"M12 3.4c-4.742 0-8.6 3.858-8.6 8.6s3.858 8.6 8.6 8.6 8.6-3.857 8.6-8.6-3.858-8.6-8.6-8.6m0 16c-4.08 0-7.4-3.32-7.4-7.4S7.92 4.6 12 4.6c4.081 0 7.4 3.32 7.4 7.4s-3.319 7.4-7.4 7.4"})),pi||(pi=o.createElement("path",{fill:"currentColor",d:"M12.8 15.26h-1.6v1.6h1.6zm-.764-7.906c-1.54 0-2.7 1.122-2.7 2.609h1.6c0-.693.57-1.01 1.1-1.01.637 0 .927.58.927 1.119 0 .667-.547 1.418-.986 2.022-.434.596-.776 1.066-.776 1.605v.45h1.6l-.007-.383c.037-.127.292-.477.477-.732.545-.75 1.292-1.775 1.292-2.963 0-1.55-1.086-2.72-2.527-2.72z"})))},wi=["title","titleId"];function Ei(){return Ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ei.apply(null,arguments)}var Ti,Si=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,wi);return o.createElement("svg",Ei({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,yi||(yi=o.createElement("path",{fill:"currentColor",d:"m19.5 19.5-6.199-.006v-4.156h-2.602v4.156H4.5v-8.822L12 4.5l7.5 6.172zm-4.975-1.215 3.75.004v-7.05L12 6.073l-6.276 5.164v7.047h3.75v-4.156h5.051z"})))},Oi=["title","titleId"];function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xi.apply(null,arguments)}var Ai,Pi=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Oi);return o.createElement("svg",xi({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ti||(Ti=o.createElement("path",{fill:"currentColor",d:"M6.175 20h-.6v.6h.6zm11.767 0v.6h.6V20zM4.165 8.557a.6.6 0 1 0 .67.995L4.5 9.055zM12 4l.335-.498L12 3.276l-.335.226zm7.165 5.553a.6.6 0 1 0 .67-.995l-.335.497zM6.175 19.999h.6V7.816h-1.2V20zM17.942 7.816h-.6V20h1.2V7.816zm-5.65 3.913v-.6h-.004v1.2h.004zm-.004 0v-.6h-.614v1.2h.614zm-.614 0v-.6c-2.31 0-4.176 1.888-4.176 4.21h1.2c0-1.67 1.339-3.01 2.976-3.01zm-3.576 3.61h-.6V20h1.2v-4.66zM15.865 20h.6v-4.66h-1.2V20zm0-4.66h.6c0-2.318-1.862-4.21-4.177-4.21v1.2c1.64 0 2.977 1.343 2.977 3.01zM4.5 9.054l.335.498 7.5-5.055L12 4l-.335-.498-7.5 5.056zM12 4l-.335.498 7.5 5.055.335-.498.335-.497-7.5-5.056zm5.942 16v-.6H6.175v1.2h11.767z"})))},Li=["title","titleId"];function ki(){return ki=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ki.apply(null,arguments)}var Ii,Ri=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Li);return o.createElement("svg",ki({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ai||(Ai=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.996 3a.8.8 0 0 1 .459.132l8.481 5.665a.8.8 0 1 1-.887 1.331L18.377 9.01v11.895H5.74V8.927l-1.798 1.201a.8.8 0 0 1-.887-1.33l8.482-5.666A.8.8 0 0 1 11.996 3m-.349 9.107a3.84 3.84 0 0 0-3.84 3.84v3.76h8.34v-3.76a3.84 3.84 0 0 0-3.84-3.84z",clipRule:"evenodd"})))},Ci=["title","titleId"];function Di(){return Di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Di.apply(null,arguments)}var _i,Mi,Fi,Ni,ji=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ci);return o.createElement("svg",Di({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ii||(Ii=o.createElement("path",{fill:"currentColor",d:"M4.935 21.612h-.6v.6h.6zm14.27 0v.6h.6v-.6zM2.57 7.962a.6.6 0 1 0 .667.999l-.334-.5zM12 2.389l.333-.5L12 1.667l-.334.223zm8.763 6.573a.6.6 0 1 0 .666-.998l-.333.499zM4.935 21.61h.6V6.975h-1.2v14.638zm14.27-14.637h-.6v14.638h1.2V6.974zm-6.851 4.7v-.6h-.005v1.2h.005zm-.005 0v-.6h-.745v1.2h.745zm-.745 0v-.6a4.937 4.937 0 0 0-4.937 4.939h1.2a3.737 3.737 0 0 1 3.737-3.738zm-4.337 4.339h-.6v5.6h1.2v-5.6zm9.42 5.6h.6v-5.6h-1.2v5.6zm0-5.6h.6a4.937 4.937 0 0 0-4.938-4.938v1.2a3.737 3.737 0 0 1 3.738 3.738zM2.903 8.462l.334.499 9.096-6.074-.333-.5-.334-.498L2.57 7.963zM12 2.388l-.334.499 9.097 6.074.333-.5.333-.498-9.096-6.074zm7.205 19.224v-.6H4.935v1.2h14.27zm-3.97-12.525-.604.005.014 1.441-.59.01-.014-1.447-.604.01-.005-.473 1.798-.02zm-5.629.966h.924v.475H9.017v-1.92h.59zm7.181-1.502c.32-.01.566.072.745.236s.266.402.276.71c.005.223-.024.412-.097.553a.8.8 0 0 1-.32.342q-.212.123-.526.136c-.217 0-.397-.024-.542-.092a.83.83 0 0 1-.352-.319 1.1 1.1 0 0 1-.146-.556l.001-.105q.018-.39.241-.625.255-.267.72-.28m-5.15 1.193c0 .106.03.184.088.247.058.058.135.087.242.087.101 0 .183-.024.241-.087a.34.34 0 0 0 .088-.247v-1.17h.6L12.89 9.72c0 .111-.02.222-.059.319a.6.6 0 0 1-.169.262.7.7 0 0 1-.237.154 1.2 1.2 0 0 1-.416.063q-.138.001-.305-.02a.8.8 0 0 1-.275-.076.8.8 0 0 1-.203-.165.6.6 0 0 1-.126-.223 1.3 1.3 0 0 1-.053-.323l.01-1.142h.59zM8.05 8.569c.213 0 .377.044.483.146.111.101.165.24.17.43 0 .193-.054.348-.165.454q-.173.167-.526.174h-.324l.014.716-.595.01-.034-1.911zm8.748.43a.35.35 0 0 0-.285.137q
2-.103.13-.097.42l.013.134a.5.5 0 0 0 .113.282q.108.123.295.116a.36.36 0 0 0 .29-.13q.095-.114.092-.402h.184q.006-.014.008-.023v-.002l-.193.005v-.028q-.005-.27-.12-.392a.36.36 0 0 0-.3-.116m-9.12.397h.145c.111 0 .193-.025.237-.068a.19.19 0 0 0 .067-.154.2.2 0 0 0-.063-.15q-.062-.066-.227-.058h-.169zm-.605-.808h-.005l.005-.004z"})))},Ui=["title","titleId"];function Bi(){return Bi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bi.apply(null,arguments)}var $i,Gi=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ui);return o.createElement("svg",Bi({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,_i||(_i=o.createElement("path",{fill:"currentColor",d:"M18.509 21.025v1.2H5.627v-1.2z"})),Mi||(Mi=o.createElement("path",{fill:"currentColor",d:"M19.205 7.585v14.639h-2.518v-5.6a4.337 4.337 0 0 0-4.338-4.337h-.745a4.337 4.337 0 0 0-4.337 4.338v5.599H4.935V7.584L11.98 2.9z"})),Fi||(Fi=o.createElement("path",{fill:"currentColor",d:"m22.097 8.548-9.58-6.398A.9.9 0 0 0 12 2a.9.9 0 0 0-.517.15l-9.58 6.398a.903.903 0 1 0 1 1.504L12 3.978l9.096 6.074a.903.903 0 1 0 1.001-1.504"})),Ni||(Ni=o.createElement("path",{fill:"#fff",d:"m7.067 9.2.982-.018c.213 0 .377.043.484.145.11.101.164.241.169.43 0 .193-.053.348-.165.455q-.173.166-.527.174h-.324l.015.715-.595.01-.034-1.915zm.61.809h.145c.111 0 .193-.025.237-.068a.19.19 0 0 0 .067-.155.2.2 0 0 0-.062-.15c-.044-.043-.116-.063-.228-.058h-.169zm1.339-.789h.59v1.446h.924v.474H9.016zm3.879-.034-.005 1.146a.9.9 0 0 1-.058.32.6.6 0 0 1-.169.26.7.7 0 0 1-.237.156 1.2 1.2 0 0 1-.416.062q-.138.002-.304-.019a.8.8 0 0 1-.276-.077.8.8 0 0 1-.203-.165.6.6 0 0 1-.126-.222 1.3 1.3 0 0 1-.053-.324l.01-1.141h.59l-.01 1.175a.34.34 0 0 0 .087.246c.058.058.135.087.242.087.101 0 .183-.024.242-.087q.087-.087.087-.246v-1.17zm.536.059 1.8-.02.004.474-.604.005.014 1.441-.59.01-.014-1.446-.605.01zm2.394.938q-.013-.47.242-.74.256-.267.72-.28c.32-.01.566.072.745.237s.266.401.276.71c.005.223-.024.412-.097.552a.8.8 0 0 1-.319.343c-.14.083-.32.126-.527.136-.218 0-.397-.024-.542-.092a.83.83 0 0 1-.353-.32 1.1 1.1 0 0 1-.145-.555m.595-.005c0 .193.044.329.12.416q.108.122.296.116a.36.36 0 0 0 .29-.13c.068-.083.102-.233.092-.45q-.007-.27-.12-.392a.36.36 0 0 0-.3-.116.35.35 0 0 0-.286.135q-.103.13-.097.42"})))},zi=["title","titleId"];function Hi(){return Hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hi.apply(null,arguments)}var Vi,Ki,Yi=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,zi);return o.createElement("svg",Hi({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,$i||($i=o.createElement("path",{fill:"currentColor",d:"m19.5 19.5-5.587-.006V14.61h-3.826v4.884H4.5v-8.822L12 4.5l7.5 6.172z"})))},qi=["title","titleId"];function Wi(){return Wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wi.apply(null,arguments)}var Xi,Qi=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,qi);return o.createElement("svg",Wi({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Vi||(Vi=o.createElement("path",{fill:"currentColor",d:"M12 5a7 7 0 1 1 0 14 7 7 0 0 1 0-14m0-1a8 8 0 1 0 0 16 8 8 0 0 0 0-16"})),Ki||(Ki=o.createElement("path",{fill:"currentColor",d:"M12.75 10.54h-1.5v5.84h1.5zm-.62-2.63h-.25a.74.74 0 0 0-.74.74v.25c0 .409.331.74.74.74h.25a.74.74 0 0 0 .74-.74v-.25a.74.74 0 0 0-.74-.74"})))},Ji=["title","titleId"];function Zi(){return Zi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
vendor: 4,389 bytes, line 2
2).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zi.apply(null,arguments)}var ea,ta=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ji);return o.createElement("svg",Zi({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Xi||(Xi=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18m0 3c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12",clipRule:"evenodd"})))},ra=["title","titleId"];function na(){return na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},na.apply(null,arguments)}var ia,aa,sa=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ra);return o.createElement("svg",na({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ea||(ea=o.createElement("path",{fill:"currentColor",d:"M4.3 3.53v15.28h12.48l2.92 2.84V3.53zm14.2 15.28-1.23-1.2H5.5V4.73h13zM9.45 7.35H8.01v7.09h1.44zm4.16 7.2c.15 0 .29-.02.48-.05l.47 1.38h1.42l-.7-2.02c.47-.46.7-1.01.7-1.67V9.67c0-1.32-1.06-2.37-2.38-2.37s-2.38 1.05-2.38 2.37v2.52c0 1.3 1.09 2.37 2.39 2.37zm-.95-4.88c0-.53.42-.95.94-.95s.94.38.94.95v2.52c0 .53-.42.95-.94.95s-.94-.43-.94-.95z"})))},oa=["title","titleId"];function la(){return la=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},la.apply(null,arguments)}var ca,ua,da=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,oa);return o.createElement("svg",la({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ia||(ia=o.createElement("path",{fill:"currentColor",d:"M3.5 3.298v16.707h14.993l2.007 2.587V3.298zM8.832 15.7H7.045V6.979h1.787zm8.117-2.776a2.74 2.74 0 0 1-.87 2.06l.869 2.488h-1.764l-.584-1.695a4 4 0 0 1-.601.058c-1.612 0-2.961-1.313-2.961-2.911V9.83c0-1.623 1.344-2.92 2.955-2.92 1.637 0 2.955 1.297 2.955 2.92z"})),aa||(aa=o.createElement("path",{fill:"currentColor",d:"M13.994 8.659c-.647 0-1.168.516-1.168 1.17v3.095c0 .642.521 1.17 1.168 1.17s1.168-.516 1.168-1.17V9.829c0-.704-.496-1.17-1.168-1.17"})))},ha=["title","titleId"];function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fa.apply(null,arguments)}var pa,ga,va=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ha);return o.createElement("svg",fa({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ca||(ca=o.createElement("path",{fill:"currentColor",d:"M11.996 7.73a1.49 1.49 0 0 1 1.38.926 1.51 1.51 0 0 1-.324
21.635 1.49 1.49 0 0 1-2.55-1.06c0-.398.158-.78.438-1.061.28-.282.66-.44 1.056-.44m0-1a2.5 2.5 0 0 0-2.3 1.543 2.51 2.51 0 0 0 .54 2.725 2.484 2.484 0 0 0 3.829-.379 2.51 2.51 0 0 0-.31-3.156 2.48 2.48 0 0 0-1.76-.733"})),ua||(ua=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.19 19.28c1.842-2.61 5.167-7.36 5.246-7.56a5.84 5.84 0 0 0 .528-3.15 6.7 6.7 0 0 0-2.363-4.07A6.65 6.65 0 0 0 12.155 3C6.919 3 5.077 7.09 5.027 8.84a4.3 4.3 0 0 0 .229 1.95c.16.565.42 1.097.767 1.57L11.996 21l.318-.45.259-.37-.577-.84L6.879 12a4 4 0 0 1-.627-1.34A3.7 3.7 0 0 1 6.022 9a5.7 5.7 0 0 1 2.052-3.693 5.66 5.66 0 0 1 4.021-1.257 5.7 5.7 0 0 1 3.821 1.25 5.74 5.74 0 0 1 2.053 3.47 4.94 4.94 0 0 1-.438 2.68c-.07.18-3.116 4.52-4.63 6.68l-.189.27-.05.06z",clipRule:"evenodd"})))},ma=["title","titleId"];function ya(){return ya=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ya.apply(null,arguments)}var ba,wa=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ma);return o.createElement("svg",ya({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,pa||(pa=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.1 9.9V7.5c0-2.261-1.839-4.1-4.1-4.1S7.9 5.239 7.9 7.546V9.9H5.4v10.199h13.2v-10.2zm-7-2.4c0-1.6 1.301-2.9 2.9-2.9 1.6 0 2.9 1.302 2.9 2.947V9.9H9.1zm8.3 11.4H6.6v-7.801h10.8z",clipRule:"evenodd"})),ga||(ga=o.createElement("path",{fill:"currentColor",d:"M12.75 13h-1.5v4h1.5z"})))},Ea=["title","titleId"];function Ta(){return Ta=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ta.apply(null,arguments)}var Sa,Oa=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ea);return o.createElement("svg",Ta({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ba||(ba=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m12 5.522-7.82 14h15.64zm1.733-3.005c-.757-1.356-2.709-1.356-3.466 0L.755 19.546C.015 20.869.972 22.5 2.488 22.5h19.024c1.516 0 2.472-1.63 1.733-2.954z",clipRule:"evenodd"})))},xa=["title","titleId"];function Aa(){return Aa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Aa.apply(null,arguments)}var Pa,La=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,xa);return o.createElement("svg",Aa({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Sa||(Sa=o.createElement("path",{fill:"currentColor",d:"M21 5H3v.966h18zm0 6.517H3v.966h18zm0 6.518H3V19h18z"})))},ka=["title","titleId"];function Ia(){return Ia=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
vendor: 7,573 bytes, line 2
2).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ia.apply(null,arguments)}var Ra,Ca=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ka);return o.createElement("svg",Ia({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Pa||(Pa=o.createElement("path",{fill:"currentColor",d:"M21 4.673H3V6.5h18zM21 17.5H3v1.827h18zm0-6.414H3v1.827h18z"})))},Da=["title","titleId"];function _a(){return _a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_a.apply(null,arguments)}var Ma,Fa=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Da);return o.createElement("svg",_a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ra||(Ra=o.createElement("path",{fill:"currentColor",d:"M18 11.5H6v1h12z"})))},Na=["title","titleId"];function ja(){return ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ja.apply(null,arguments)}var Ua,Ba=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Na);return o.createElement("svg",ja({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ma||(Ma=o.createElement("path",{fill:"currentColor",d:"M18.94 2.94a1.5 1.5 0 1 1 2.12 2.12L14.121 12l6.94 6.94a1.5 1.5 0 1 1-2.122 2.12L12 14.121l-6.939 6.94a1.5 1.5 0 1 1-2.12-2.122L9.878 12 2.939 5.06A1.5 1.5 0 1 1 5.06 2.94L12 9.878z"})))},$a=["title","titleId"];function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ga.apply(null,arguments)}var za,Ha=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,$a);return o.createElement("svg",Ga({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ua||(Ua=o.createElement("path",{fill:"currentColor",d:"M19.17 18.13c-1-1.09-1.13-3.05-1.13-4.83v-2.63c0-3.1-2.48-5.83-5.44-6.17V2.52h-1.2V4.5c-2.96.33-5.44 3.07-5.44 6.17v2.63c0 1.78-.13 3.74-1.13 4.83-.16.17-.2.43-.11.65s.31.36.55.36h4A2.77 2.77 0 0 0 12 21.45c1.37 0 2.51-1 2.73-2.31h4a.601.601 0 0 0 .44-1.01M12 20.25c-.71 0-1.3-.47-1.5-1.11h3c-.2.64-.79 1.11-1.5 1.11m0-2.31H6.39c.66-1.34.77-3.06.77-4.63v-2.63c0-2.62 2.31-5 4.84-5s4.84 2.38 4.84 5v2.63c0 1.58.11 3.29.77 4.63z"})))},Va=["title","titleId"];function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ka.apply(null,arguments)}var Ya,qa,Wa=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Va);return o.createElement("svg",Ka({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,za||(za=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.836 7.176c2.848-.899 5.415-1.012 7.18.323V7.5c1.766 1.336 1.893 3.508 1.863 4.464l-.01.144c.209.234.429.495.65.77.238.296.477.61.71.921.252.336.495.671.72.987a64 64 0 0 1 1.196 1.742l.005-.005a.32.32 0 0 1-.014.372.34.34 0 0 1-.358.118s-1.396-.424-1.82-.556c-.162.39-.618 1.502-.629 1.529l-.05.083a.3.3 0 0 1-.067.057l-.018.011a.3.3 0 0 1-.082.036.3.3 0 0 1-.138.011.3.3 0 0 1-.132-.054l-.006-.004a.3.3 0 0 1-.113-.15 62 62 0 0 0-1.051-2.628q-.12-.278-.236-.53-.172.152-.345.283c-.753.563-1.614.932-2.259 1.169l-.1 1.213-.079.915h-.918c-.55 0-7.983-.043-8.508-.048l-.891-.008-.095-.886c-.013-.126-.033-.295-.053-.472-.67-.08-1.563-.251-2.362-.64-.851-.414-1.773-1.17-1.978-2.468l-.001-.002c-.07-.45-.205-1.865.855-2.971l.006-.006c1.012-1.041 2.62-1.28 4.288-1.122l.62-.392c1.02-.663 2.597-1.698 4.22-2.207m6.456 1.28c-1.274-.963-3.328-1.01-6.097-.135l-.27.09c-1.347.477-2.673 1.339-3.656 1.978l-.897.569-.09.056-.117-.013c-1.683-.207-2.93.046-3.597.733l-.114.13c-.531.663-.474 1.486-.42 1.825.216 1.371 1.79 1.877 3.015 2.062l-.028-.23.529-.338c2.093-1.342 4.318-1.505 6.09-1.297 1.768.208 3.15.792 3.651 1.027l.334.155c1.262-.492 3.003-1.44 3.054-3.142.028-.883-.118-2.51-1.387-3.47",clipRule:"evenodd"})))},Xa=["title","titleId"];function Qa(){return Qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qa.apply(null,arguments)}var Ja,Za=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Xa);return o.createElement("svg",Qa({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ya||(Ya=o.createElement("path",{fill:"currentColor",d:"M14.758 18.354c-.545 0-8.5-.047-8.5-.047s-.133-2.05-.166-2.323c3.68-2.36 7.884-.626 8.777-.207-.024.3-.078 2.192-.11 2.577"})),qa||(qa=o.createElement("path",{fill:"currentColor",d:"M10.838 7.136c2.849-.9 5.416-1.012 7.181.323h-.001c1.767 1.336 1.894 3.508 1.863 4.465q-.003.072-.01.143c1.394 1.557 3.189 4.288 3.276 4.421l.005-.005a.32.32 0 0 1-.014.371.34.34 0 0 1-.357.119s-1.396-.424-1.82-.556c-.164.394-.628 1.524-.63 1.528a.33.33 0 0 1-.305.202.32.32 0 0 1-.301-.211c-.013-.04-.722-1.93-1.28
26-3.157q-.172.151-.346.281c-.67.502-1.426.851-2.039 1.09.006-.137.008-.236.012-.28a1.2 1.2 0 0 0-.688-1.18 12.6 12.6 0 0 0-3.712-1.044c-1.803-.212-4.078-.047-6.221 1.327a1.2 1.2 0 0 0-.543 1.164l.003.028.008.096.023.29.025.362c-.636-.09-1.421-.264-2.132-.61-.852-.413-1.774-1.17-1.979-2.467v-.003c-.07-.45-.206-1.864.855-2.97l.005-.007c1.013-1.04 2.62-1.28 4.288-1.122l.62-.391c1.02-.664 2.597-1.698 4.22-2.207"})))},es=["title","titleId"];function ts(){return ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ts.apply(null,arguments)}var rs,ns,is=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,es);return o.createElement("svg",ts({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ja||(Ja=o.createElement("path",{fill:"currentColor",d:"M19.17 18.13c-1-1.09-1.13-3.05-1.13-4.83v-2.63c0-3.1-2.48-5.83-5.44-6.17V2.52h-1.2V4.5c-2.96.33-5.44 3.07-5.44 6.17v2.63c0 1.78-.13 3.74-1.13 4.83-.16.17-.2.43-.11.65.1.22.31.36.55.36h4A2.77 2.77 0 0 0 12 21.45c1.37 0 2.51-1 2.73-2.31h4a.601.601 0 0 0 .44-1.01M12 20.25c-.71 0-1.3-.47-1.5-1.11h3c-.2.64-.79 1.11-1.5 1.11"})))},as=["title","titleId"];function ss(){return ss=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ss.apply(null,arguments)}var os,ls,cs=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,as);return o.createElement("svg",ss({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,rs||(rs=o.createElement("path",{fill:"currentColor",d:"M14.984 8.5h-1.1v1.45h-3.85V8.025a1.93 1.93 0 0 1 1.151-1.765l-.443-1.006a3.03 3.03 0 0 0-1.809 2.77V9.95H5.45v12.1h13.1V9.95h-3.566zm2.466 12.45H6.55v-9.9h10.9z"})),ns||(ns=o.createElement("path",{fill:"currentColor",d:"M15.956 17.624h-1.8v1.8h1.8zm-2.701 0h-1.8v1.8h1.8zm4.32-12.497-3.905.91-1.568 1.439h-1.247v1.099h1.675l1.672-1.532 3.373-.785zm-.002-3.407-3.7.983-6.424.724V6.5h1.1V4.409l5.526-.627 3.498-.923z"})))},us=["title","titleId"];function ds(){return ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ds.apply(null,arguments)}var hs,fs=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,us);return o.createElement("svg",ds({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,os||(os=o.createElement("path",{fill:"currentColor",d:"M15.007 20H4v-4.012h1v3.011h14V5.001H5.001v9.986H4V4h16v16z"})),ls||(ls=o.createElement("path",{fill:"currentColor",d:"M10.854 16.017h-1V8.092h2.922a2.29 2.29 0 0 1 2.36 2.212 2.29 2.29 0 0 1-2.36 2.211h-1.922zm0-4.472h1.922a1.29 1.29 0 0 0 1.36-1.211 1.29 1.29 0 0 0-1.36-1.21h-1.922z"})))},ps=["title","titleId"];function gs(){return gs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
vendor: 44,748 bytes, line 2
2).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gs.apply(null,arguments)}var vs,ms,ys=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ps);return o.createElement("svg",gs({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,hs||(hs=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 17h2V7H8zm6-10v10h2V7z",clipRule:"evenodd"})))},bs=["title","titleId"];function ws(){return ws=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ws.apply(null,arguments)}var Es,Ts=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,bs);return o.createElement("svg",ws({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,vs||(vs=o.createElement("path",{fill:"currentColor",d:"M12 1C5.932 1 1 5.932 1 12s4.932 11 11 11 11-4.932 11-11S18.068 1 12 1m0 20.55c-5.27 0-9.55-4.28-9.55-9.55S6.73 2.45 12 2.45s9.55 4.28 9.55 9.55-4.28 9.55-9.55 9.55"})),ms||(ms=o.createElement("path",{fill:"currentColor",d:"M8.7 7.5h1.535v8.953H8.7zm5.116 0h1.535v8.953h-1.535z"})))},Ss=["title","titleId"];function Os(){return Os=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Os.apply(null,arguments)}var xs,As=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ss);return o.createElement("svg",Os({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Es||(Es=o.createElement("path",{fill:"currentColor",d:"M14.321 20.963c-.979 0-1.691-.663-1.991-.94a24 24 0 0 1-4.494-5.65A23.9 23.9 0 0 1 5.19 7.656c-.136-.593-.548-2.396 1.463-3.273l3.9-1.513 2.175 4.526-.51.27-2.173 1.15.038.091c.361.893.811 2.004 1.545 3.276.733 1.27 1.47 2.214 2.062 2.974l.063.08 2.083-1.306.489-.308 2.833 4.147-3.241 2.605c-.583.431-1.121.588-1.596.588M9.953 4.39 7.11 5.492c-.799.35-.995.83-.75 1.896a22.8 22.8 0 0 0 2.516 6.385 22.8 22.8 0 0 0 4.272 5.37c.8.744 1.314.817 2.037.283l2.356-1.896-1.556-2.276c-2.201 1.38-2.211 1.38-2.374 1.38h-.299l-.568-.74c-.582-.746-1.379-1.77-2.154-3.11-.776-1.345-1.263-2.548-1.619-3.427l-.346-.838.124-.247c.081-.162.086-.172 2.4-1.397L9.955 4.39z"})))},Ps=["title","titleId"];function Ls(){return Ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ls.apply(null,arguments)}var ks,Is,Rs=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ps);return o.createElement("svg",Ls({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,xs||(xs=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 6.75v10.5L16.5 12z",clipRule:"evenodd"})))},Cs=["title","titleId"];function Ds(){return Ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ds.apply(null,arguments)}var _s,Ms,Fs=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Cs);return o.createElement("svg",Ds({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ks||(ks=o.createElement("path",{fill:"currentColor",d:"M16.25 12.097 9.5 15.994V8.2z"})),Is||(Is=o.createElement("path",{fill:"currentColor",d:"M12 1C5.932 1 1 5.932 1 12s4.932 11 11 11 11-4.932 11-11S18.068 1 12 1m0 20.55c-5.27 0-9.55-4.28-9.55-9.55S6.73 2.45 12 2.45s9.55 4.28 9.55 9.55-4.28 9.55-9.55 9.55"})))},Ns=["title","titleId"];function js(){return js=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},js.apply(null,arguments)}var Us,Bs,$s=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ns);return o.createElement("svg",js({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,_s||(_s=o.createElement("path",{fill:"currentColor",d:"M12.5 5h-1v14h1z"})),Ms||(Ms=o.createElement("path",{fill:"currentColor",d:"M19 11.5H5v1h14z"})))},Gs=["title","titleId"];function zs(){return zs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zs.apply(null,arguments)}var Hs,Vs,Ks,Ys=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Gs);return o.createElement("svg",zs({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Us||(Us=o.createElement("path",{fill:"currentColor",d:"M12 20.6c-4.742 0-8.6-3.857-8.6-8.6S7.258 3.4 12 3.4s8.6 3.857 8.6 8.6-3.858 8.6-8.6 8.6m0-16c-4.08 0-7.4 3.32-7.4 7.4s3.32 7.4 7.4 7.4c4.081 0 7.4-3.32 7.4-7.4S16.081 4.6 12 4.6"})),Bs||(Bs=o.createElement("path",{fill:"currentColor",d:"M12.6 16.5h-1.2v-3.9H7.5v-1.2h3.9V7.5h1.2v3.9h3.9v1.2h-3.9z"})))},qs=["title","titleId"];function Ws(){return Ws=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ws.apply(null,arguments)}var Xs,Qs=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,qs);return o.createElement("svg",Ws({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Hs||(Hs=o.createElement("path",{fill:"currentColor",d:"M15.64 8.057h-5.076v1.3h5.076zm-6.53 0H7.748v1.3H9.11zm0 3.293H7.748v1.3H9.11zm0 3.293H7.748v1.3H9.11z"})),Vs||(Vs=o.createElement("path",{fill:"currentColor",d:"M17.464 17.156V18.9H5.562L5.538 5.1h11.924v1.04h1.2V3.9H4.336l.027 16.2h14.302l-.001-2.944z"})),Ks||(Ks=o.createElement("path",{fill:"currentColor",d:"M14.1 11.35h-3.535v1.3h2.716zm-1.3 3.293h-2.235v1.301H12.8zm5.725-7.807-4.435 7.683-.049 3.71 3.188-1.897 4.436-7.683zm.366 1.365 1.407.812-.375.65-1.407-.812zM15.5 14.075l2.516-4.358 1.407.812-2.516 4.358-1.408-.813zm-.417.913 1.241.717-1.26.75z"})))},Js=["title","titleId"];function Zs(){return Zs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zs.apply(null,arguments)}var eo,to,ro,no,io,ao,so=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Js);return o.createElement("svg",Zs({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Xs||(Xs=o.createElement("path",{fill:"currentColor",d:"M18.902 6.3v2.342a7.76 7.76 0 0 0-7-4.417c-4.127 0-7.503 3.235-7.751 7.3h1.3c.245-3.349 3.041-6 6.451-6A6.47 6.47 0 0 1 17.866 9.5h-2.164v1.2h4.4V6.3zm-6.81 12.175A6.47 6.47 0 0 1 6.128 14.5h2.164v-1.199h-4.4v4.4h1.2v-2.343a7.76 7.76 0 0 0 7 4.417c4.127 0 7.503-3.235 7.751-7.3h-1.3c-.245 3.35-3.041 6-6.451 6"})))},oo=["title","titleId"];function lo(){return lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lo.apply(null,arguments)}var co,uo=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,oo);return o.createElement("svg",lo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,eo||(eo=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 5.2a2.266 2.266 0 1 0 0-4.532 2.266 2.266 0 0 0 0 4.533",clipRule:"evenodd"})),to||(to=o.createElement("path",{fill:"currentColor",d:"M22.665 0 24 1.336 1.336 24 0 22.665z"})),ro||(ro=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.934 14.265a2.266 2.266 0 1 0 0-4.533 2.266 2.266 0 0 0 0 4.533",clipRule:"evenodd"})),no||(no=o.createElement("path",{fill:"currentColor",d:"M24 1.336 1.336 24 0 22.665 22.665 0z"})),io||(io=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M21.063 14.265a2.266 2.266 0 1 0 0-4.533 2.266 2.266 0 0 0 0 4.533M12 23.332a2.266 2.266 0 1 0 0-4.533 2.266 2.266 0 0 0 0 4.533",clipRule:"evenodd"})),ao||(ao=o.createElement("path",{fill:"currentColor",d:"M0 1.336 1.336 0 24 22.665 22.665 24z"})))},ho=["title","titleId"];function fo(){return fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fo.apply(null,arguments)}var po,go,vo=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ho);return o.createElement("svg",fo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,co||(co=o.createElement("path",{fill:"currentColor",d:"m13.974 9.921 8.447-3.158L24 10.553l-8.605 3 5.21 7.184-3.237 2.447-5.447-7.579-5.132 7.58-3.552-2.448 5.131-7.184-8.368-3 1.421-3.79L9.79 9.921V1h4.185z"})))},mo=["title","titleId"];function yo(){return yo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yo.apply(null,arguments)}var bo,wo,Eo=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,mo);return o.createElement("svg",yo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,po||(po=o.createElement("path",{fill:"currentColor",d:"M19.378 18.46h-1V5.62h-12.8v-1h13.8z"})),go||(go=o.createElement("path",{fill:"currentColor",d:"M18.529 4.765 4.62 18.673l.707.707L19.236 5.472z"})))},To=["title","titleId"];function So(){return So=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},So.apply(null,arguments)}var Oo,xo,Ao=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,To);return o.createElement("svg",So({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,bo||(bo=o.createElement("path",{fill:"currentColor",d:"M21 8.3v7.43H3V8.3zm1-1H2v9.43h20z"})),wo||(wo=o.createElement("path",{fill:"currentColor",d:"M6.16 7.49h-1v3.78h1zm3.17 0h-1v5.01h1zm3.16 0h-1v3.79h1zm3.12 0h-1v5.01h1zm3.15 0h-1v3.81h1z"})))},Po=["title","titleId"];function Lo(){return Lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lo.apply(null,arguments)}var ko,Io=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Po);return o.createElement("svg",Lo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Oo||(Oo=o.createElement("path",{fill:"currentColor",d:"M9.06 11.074a.882.882 0 1 0 0-1.764.882.882 0 0 0 0 1.764m5.88 0a.882.882 0 1 0 0-1.764.882.882 0 0 0 0 1.764m.237 5.374c-.534-1.271-2.016-1.851-3.168-1.852-1.16 0-2.641.58-3.174 1.852l-1.106-.465c.749-1.784 2.683-2.585 4.269-2.586h.007c1.579-.04 3.53.8 4.278 2.586z"})),xo||(xo=o.createElement("path",{fill:"currentColor",d:"M12.011 20.6c-4.749 0-8.605-3.857-8.605-8.6S7.261 3.4 12 3.4h.012c4.74 0 8.594 3.857 8.594 8.6s-3.855 8.6-8.594 8.6M12 4.6c-4.077 0-7.394 3.32-7.394 7.4S7.922 19.4 12 19.4c4.087 0 7.405-3.32 7.405-7.4s-3.317-7.4-7.394-7.4z"})))},Ro=["title","titleId"];function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Co.apply(null,arguments)}var Do,_o=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ro);return o.createElement("svg",Co({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ko||(ko=o.createElement("path",{fill:"currentColor",d:"M18.39 13.46c-.22 0-.44.03-.64.09L15.45 12l2.3-1.55a2.352 2.352 0 0 0 2.99-2.25c0-1.29-1.06-2.34-2.35-2.34s-2.34 1.05-2.34 2.34c0 .59.22 1.14.6 1.55l-2.29 1.53-6.68-4.5c-.51-.34-1.11-.53-1.73-.53-1.04 0-2 .52-2.57 1.38l-.33.5L8.8 12l-5.75 3.88.33.49c.57.87 1.53 1.38 2.57 1.38.62 0 1.22-.18 1.73-.53l6.69-4.5 2.28 1.53c-.38.41-.6.96-.6 1.55 0 1.29 1.05 2.34 2.34 2.34s2.35-1.05 2.35-2.34-1.06-2.34-2.35-2.34m0-6.41c.63 0 1.15.52 1.15 1.15s-.52 1.14-1.15 1.14-1.14-.51-1.14-1.14.51-1.15 1.14-1.15M7.01 16.22c-.67.46-1.61.41-2.22-.07l5.09-3.43 1.17.79zm5.12-3.43L4.79 7.85c.61-.48 1.55-.53 2.22-.07L13.29 12zm6.26 4.16c-.63 0-1.14-.52-1.14-1.15s.51-1.14 1.14-1.14 1.15.51 1.15 1.14-.52 1.15-1.15 1.15"})))},Mo=["title","titleId"];function Fo(){return Fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fo.apply(null,arguments)}var No,jo,Uo=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Mo);return o.createElement("svg",Fo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Do||(Do=o.createElement("path",{fill:"currentColor",d:"m16.088 15.18-.728.695L19.272 20l.728-.694zm-5.638 1.817a6.47 6.47 0 0 1-3.589-1.108 6.5 6.5 0 0 1-2.373-2.918 6.515 6.515 0 0 1 1.41-7.068 6.46 6.46 0 0 1 7.048-1.414 6.5 6.5 0 0 1 2.91 2.38 6.51 6.51 0 0 1 .615 6.1 6.5 6.5 0 0 1-3.526 3.536 6.5 6.5 0 0 1-2.495.492m0-11.98a5.47 5.47 0 0 0-3.038.943 5.505 5.505 0 0 0-.779 8.455 5.47 5.47 0 0 0 5.978 1.152 5.5 5.5 0 0 0 2.444-2.04 5.5 5.5 0 0 0 .901-3.059 5.5 5.5 0 0 0-1.617-3.89 5.5 5.5 0 0 0-3.889-1.6z"})))},Bo=["title","titleId"];function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$o.apply(null,arguments)}var Go,zo=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Bo);return o.createElement("svg",$o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,No||(No=o.createElement("path",{fill:"currentColor",d:"M12 15.05A3.053 3.053 0 0 1 8.95 12 3.053 3.053 0 0 1 12 8.95 3.053 3.053 0 0 1 15.05 12 3.053 3.053 0 0 1 12 15.05m0-5c-1.075 0-1.95.875-1.95 1.95s.875 1.95 1.95 1.95 1.95-.875 1.95-1.95-.875-1.95-1.95-1.95"})),jo||(jo=o.createElement("path",{fill:"currentColor",d:"M13.511 20.394h-3.008l-.542-1.82-1.157-.475-1.672.904-2.126-2.126.903-1.67-.482-1.154-1.821-.542v-3.008l1.819-.542.476-1.156-.904-1.672 2.127-2.126 1.67.904 1.153-.481.543-1.822h3.008l.542 1.82 1.156.475 1.672-.904 2.127 2.127-.904 1.67.482 1.154 1.821.542V13.5l-1.819.542-.476 1.156.905 1.672-2.127 2.126-1.67-.904-1.153.48zm-2.188-1.1h1.367l.457-1.536 2.12-.886 1.412.764.967-.967-.763-1.41.872-2.125 1.538-.458v-1.367l-1.536-.458-.885-2.121.764-1.411-.967-.967-1.41.763-2.125-.873-.458-1.538h-1.367l-.457 1.536-2.12.886-1.412-.764-.967.967.764 1.41-.874 2.125-1.538.458v1.367l1.536.458.885 2.12-.763 1.412.966.967 1.41-.763 2.126.873z"})))},Ho=["title","titleId"];function Vo(){return Vo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vo.apply(null,arguments)}var Ko,Yo,qo=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ho);return o.createElement("svg",Vo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Go||(Go=o.createElement("path",{fill:"currentColor",d:"M19.5 21h-15v-6.599h.999v5.584H18.5V14.4h.999zm-7-6.091h-1v-9.96L6.888 9.64l-.71-.72L12 3l5.812 5.909-.709.72-4.614-4.69v9.97z"})))},Wo=["title","titleId"];function Xo(){return Xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xo.apply(null,arguments)}var Qo,Jo,Zo=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Wo);return o.createElement("svg",Xo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Ko||(Ko=o.createElement("path",{fill:"currentColor",d:"M13.041 19.603a4.8 4.8 0 0 1-.467-1.2H7.358V9.535l-2.638.83-1.08-3.061 5.233-2.116c.433.687 1.395 1.779 3.13 1.779s2.695-1.093 3.127-1.778l5.232 2.115-1.08 3.06-2.638-.83v2.914q.6-.083 1.2-.017v-1.26l2.184.687 1.847-5.235-7.354-2.97-.225.557c-.026.063-.649 1.56-2.294 1.56S9.73 4.272 9.705 4.211l-.222-.563L2.127 6.62l1.846 5.236 2.184-.688v8.434h6.883z"})),Yo||(Yo=o.createElement("path",{fill:"currentColor",d:"m21.736 20.837-1.548-1.549a3.47 3.47 0 0 0 .642-2.01c0-.935-.364-1.813-1.025-2.474a3.505 3.505 0 0 0-4.95 0 3.48 3.48 0 0 0-1.025 2.475c0 .935.364 1.814 1.025 2.475a3.49 3.49 0 0 0 4.483.382l1.55 1.55zm-6.032-1.933a2.28 2.28 0 0 1-.673-1.626 2.294 2.294 0 0 1 2.299-2.298 2.294 2.294 0 0 1 2.3 2.298 2.3 2.3 0 0 1-.674 1.627 2.303 2.303 0 0 1-3.253 0z"})))},el=["title","titleId"];function tl(){return tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tl.apply(null,arguments)}var rl,nl=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,el);return o.createElement("svg",tl({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Qo||(Qo=o.createElement("path",{fill:"currentColor",d:"M18.44 19.43h-5.11v-1h4.11v-7.46l1 1 2.35-2.26-2.73-3.07c-.3-.349-.66-.643-1.06-.87a1.8 1.8 0 0 0-.43-.13 4.29 4.29 0 0 1-3.42 1.79 4.49 4.49 0 0 1-3.47-1.75 3 3 0 0 0-.45.14 4.1 4.1 0 0 0-1 .84l-1 1.15-.81-.64 1-1.15a5 5 0 0 1 1.39-1.1 3 3 0 0 1 1.08-.27h.32l.16.29a3.44 3.44 0 0 0 2.77 1.52 3.19 3.19 0 0 0 2.71-1.59l.15-.3h.33c.37.02.734.111 1.07.27.524.275.991.644 1.38 1.09l3.4 3.81-3.74 3.62z"})),Jo||(Jo=o.createElement("path",{fill:"currentColor",d:"M12.25 19.43H4.57V15.1l-2.76-2.59 2.43-2.84a3.6 3.6 0 0 1 1-.81 2.2 2.2 0 0 1 .81-.2h.33l.16.29a2.32 2.32 0 0 0 1.83 1 2.14 2.14 0 0 0 1.81-1l.15-.3h.33c.279.023.552.09.81.2.381.209.72.487 1 .82L15 12.4l-2.77 2.7zm-4.46-1h3.46v-3.76l2.38-2.31-1.85-2a2.6 2.6 0 0 0-.71-.59l-.19-.07a3.17 3.17 0 0 1-2.49 1.26A3.4 3.4 0 0 1 5.88 9.7a.8.8 0 0 0-.2.07c-.256.143-.486.33-.68.55l-1.81 2.11 2.38 2.23v3.76z"})))},il=["title","titleId"];function al(){return al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},al.apply(null,arguments)}var sl,ol,ll,cl,ul=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,il);return o.createElement("svg",al({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,rl||(rl=o.createElement("path",{fill:"currentColor",d:"M15.038 16.433v1.751h1.85v-1.751zM19.5 7.694h-4.822l-.247-2.277c-.205-1.11-1.213-1.917-2.405-1.917-1.193 0-2.21.808-2.416 1.956l-.247 2.238H4.51v7.736h1.028V8.667H9.26l-.175 1.616h1.039l.175-1.616h3.464l.175 1.616h1.038l-.174-1.616h3.68v10.14c0 .399-.34.72-.75.72H6.289c-.422 0-.76-.321-.76-.72V17.25H4.5v1.557c0 .934.802 1.693 1.789 1.693H17.71c.987 0 1.789-.759 1.789-1.693zm-9.099 0 .226-2.112c.114-.642.71-1.109 1.399-1.109.688 0 1.274.467 1.388 1.08l.236 2.141z"})))},dl=["title","titleId"];function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hl.apply(null,arguments)}var fl,pl=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,dl);return o.createElement("svg",hl({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,sl||(sl=o.createElement("path",{fill:"currentColor",d:"M14.25 4.958h-4.5v1.084h4.5z"})),ol||(ol=o.createElement("path",{fill:"currentColor",d:"M16.9 19.5c0 .496-.404.9-.9.9H8a.9.9 0 0 1-.9-.9v-15c0-.496.404-.9.9-.9h8c.496 0 .9.404.9.9v2.044h1.2V4.5c0-1.158-.942-2.1-2.1-2.1H8c-1.158 0-2.1.94-2.1 2.1v15c0 1.158.942 2.1 2.1 2.1h8c1.158 0 2.1-.941 2.1-2.1V19h-1.2z"})),ll||(ll=o.createElement("path",{fill:"currentColor",d:"M18.975 11.51v-1.33a2.64 2.64 0 0 0-2.635-2.636 2.645 2.645 0 0 0-2.635 2.664v1.302H12.18V18h8.32v-6.49zm-4.271-1.33c0-.902.733-1.636 1.635-1.636s1.635.733 1.635 1.664v1.302h-3.271zM19.499 17h-6.321v-4.49h6.32z"})),cl||(cl=o.createElement("path",{fill:"currentColor",d:"M16.84 13.755h-1v2h1z"})))},gl=["title","titleId"];function vl(){return vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vl.apply(null,arguments)}var ml,yl,bl,wl=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,gl);return o.createElement("svg",vl({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,fl||(fl=o.createElement("path",{fill:"currentColor",d:"M9.37 12.26H8.5v.87h.87zm0 1.37H8.5v2.62h2.62v-2.62zm.87 1.75h-.87v-.87h.87zm0-3.62h.87V9.14H8.49v2.62zm-.87-1.75h.87v.87h-.87zm6.13 5.36V14h-.87v1.37zM12.38 14v-1.75h-1.75v.87h.87v.87h.87zm0-3.12v-.87h-.87v1.75h.87zm2.24 2.24h.87v-.87h-.87zm-.87-3.99h-.87v2.62h2.62V9.13zm.87 1.75h-.87v-.87h.87zm-1.75 1.37v.87h.87v-.87zm.87 3.99h.87v-.87h-.87zm-.87-1.75H11.5v1.75h.87v-.87h1.37V14h-.87v.5zm.87-.5h.87v-.87h-.87zm2.6-12.36H7.65a2.1 2.1 0 0 0-2.1 2.1v16.5c0 1.16.94 2.1 2.1 2.1h8.7a2.1 2.1 0 0 0 2.1-2.1V3.75a2.1 2.1 0 0 0-2.1-2.1zm.9 18.6c0 .5-.4.9-.9.9H7.65c-.5 0-.9-.4-.9-.9V3.75c0-.5.4-.9.9-.9h8.7c.5 0 .9.4.9.9v16.5zM14.49 4.6h-5v1.1h5z"})))},El=["title","titleId"];function Tl(){return Tl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tl.apply(null,arguments)}var Sl,Ol=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,El);return o.createElement("svg",Tl({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ml||(ml=o.createElement("path",{fill:"currentColor",d:"M22 19.005H2V20h20zM6.98 4H5.976v11.91H6.98z"})),yl||(yl=o.createElement("path",{fill:"currentColor",d:"m6.468 16.627-4.157-4.12.703-.706 3.454 3.423L9.932 11.8l.713.706zM18.084 4H17.08v11.89h1.004z"})),bl||(bl=o.createElement("path",{fill:"currentColor",d:"m17.572 16.657-4.156-4.12.702-.706 3.454 3.423 3.464-3.423.713.706z"})))},xl=["title","titleId"];function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Al.apply(null,arguments)}var Pl,Ll=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,xl);return o.createElement("svg",Al({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Sl||(Sl=o.createElement("path",{fill:"#DADADA",d:"M23 9.52h-8.4L12 1.5 9.4 9.52H1l6.8 4.96-2.6 8.02 6.8-4.959 6.8 4.959-2.6-8.02z"})))},kl=["title","titleId"];function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Il.apply(null,arguments)}var Rl,Cl,Dl=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,kl);return o.createElement("svg",Il({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Pl||(Pl=o.createElement("path",{fill:"currentColor",d:"M16.2 14.48 23 9.52h-8.4L12 1.5 9.4 9.52H1l6.8 4.96-2.6 8.02 6.8-4.959 6.8 4.959z"})))},_l=["title","titleId"];function Ml(){return Ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ml.apply(null,arguments)}var Fl,Nl,jl,Ul=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,_l);return o.createElement("svg",Ml({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Rl||(Rl=o.createElement("path",{fill:"#DADADA",d:"m12 17.543 6.798 4.957-2.596-8.022L23 9.522h-8.403L12 1.5z"})),Cl||(Cl=o.createElement("path",{fill:"currentColor",d:"m1 9.522 6.798 4.956L5.202 22.5 12 17.543V1.5L9.403 9.522z"})))},Bl=["title","titleId"];function $l(){return $l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$l.apply(null,arguments)}var Gl,zl=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Bl);return o.createElement("svg",$l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Fl||(Fl=o.createElement("path",{fill:"currentColor",d:"M21 19H3v-3.967h1.004v3.004h15.992V5.963H4.003v8.078H3V5h18z"})),Nl||(Nl=o.createElement("path",{fill:"currentColor",d:"M17.153 10.324v7.703H7.108v-7.703zm1.004-.962H6.104v9.628h12.053z"})),jl||(jl=o.createElement("path",{fill:"currentColor",d:"M12.563 9.862h-1.005v8.55h1.005z"})))},Hl=["title","titleId"];function Vl(){return Vl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vl.apply(null,arguments)}var Kl,Yl=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Hl);return o.createElement("svg",Vl({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Gl||(Gl=o.createElement("path",{fill:"currentColor",d:"M16.4 5.75H7.6a6.25 6.25 0 1 0 0 12.5h8.8a6.25 6.25 0 1 0 0-12.5m0 11.3a5.05 5.05 0 1 1 0-10.1 5.05 5.05 0 0 1 0 10.1"})))},ql=["title","titleId"];function Wl(){return Wl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wl.apply(null,arguments)}var Xl,Ql=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ql);return o.createElement("svg",Wl({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Kl||(Kl=o.createElement("rect",{width:20,height:3,x:2,y:10.5,fill:"currentColor",rx:1.5})))},Jl=["title","titleId"];function Zl(){return Zl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zl.apply(null,arguments)}var ec,tc=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Jl);return o.createElement("svg",Zl({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,Xl||(Xl=o.createElement("path",{fill:"currentColor",d:"M9 16.65H7A4.655 4.655 0 0 1 2.35 12 4.655 4.655 0 0 1 7 7.35h2v1.301H7a3.353 3.353 0 0 0-3.35 3.35A3.353 3.353 0 0 0 7 15.351h2v1.301zm8 0h-2v-1.3h2A3.353 3.353 0 0 0 20.35 12 3.353 3.353 0 0 0 17 8.65h-2V7.347h2a4.655 4.655 0 0 1 4.65 4.65 4.655 4.655 0 0 1-4.65 4.65zM8.998 3.667 8 4.332l2 3 1-.664zm6.004 0-2.002 3 .998.666 2.002-3zm-5 13-2.002 3 .998.666 2.002-3zm3.997 0-.999.666 2 3 .999-.666z"})))},rc=["title","titleId"];function nc(){return nc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nc.apply(null,arguments)}var ic,ac,sc,oc=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,rc);return o.createElement("svg",nc({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ec||(ec=o.createElement("path",{fill:"currentColor",d:"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0m-1.188 12.944L7.75 9.9 5 12.65l5.812 5.82L19 10.289l-2.767-2.758z"})))},lc=["title","titleId"];function cc(){return cc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cc.apply(null,arguments)}var uc,dc=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,lc);return o.createElement("svg",cc({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,ic||(ic=o.createElement("path",{fill:"currentColor",d:"M20 19.22H4v-4h1v3h14V8.68h-2.93L14.1 5.75H9.9L7.93 8.68H5v5.54H4V7.68h3.4l1.97-2.93h5.26l1.97 2.93H20z"})),ac||(ac=o.createElement("path",{fill:"currentColor",d:"m14.272 14.112-.725.689 2.185 2.297.725-.69z"})),sc||(sc=o.createElement("path",{fill:"currentColor",d:"M11.65 15.69a3.37 3.37 0 1 1-.04-6.739 3.37 3.37 0 0 1 .04 6.74m0-5.73A2.37 2.37 0 1 0 14 12.32a2.36 2.36 0 0 0-2.35-2.36"})))},hc=["title","titleId"];function fc(){return fc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fc.apply(null,arguments)}var pc,gc=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,hc);return o.createElement("svg",fc({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,uc||(uc=o.createElement("path",{fill:"currentColor",d:"M3.55 9.5v5h3.7l4.76 3.84V5.66L7.25 9.5zm10.57-.4c.57.85.87 1.86.87 2.9a5.2 5.2 0 0 1-.87 2.9l.92.61A6.3 6.3 0 0 0 16.09 12c0-1.26-.36-2.48-1.05-3.51zm3.28-3.03-.87.68c1.16 1.48 1.79 3.35 1.79 5.26s-.64 3.78-1.79 5.26l.87.68c1.31-1.68 2.02-3.79 2.02-5.94s-.72-4.26-2.02-5.94"})))},vc=["title","titleId"];function mc(){return mc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mc.apply(null,arguments)}var yc,bc,wc=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,vc);return o.createElement("svg",mc({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,pc||(pc=o.createElement("path",{fill:"currentColor",d:"m17.74 15.06.85.85c.54-1.22.83-2.56.83-3.91 0-2.15-.72-4.26-2.02-5.94l-.87.68c1.16 1.48 1.79 3.35 1.79 5.26 0 1.05-.21 2.09-.58 3.06m-2.78-2.78.99.99c.09-.42.13-.84.13-1.27 0-1.26-.36-2.48-1.05-3.51l-.92.61c.57.85.87 1.86.87 2.9 0 .1-.02.19-.02.28M12 5.66 9.97 7.3 12 9.33zM4.12 3.14l-.92.92 4.82 4.82-.77.62h-3.7v5h3.7l4.76 3.84v-5.48l6.94 6.94.92-.92z"})))},Ec=["title","titleId"];function Tc(){return Tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Tc.apply(null,arguments)}var Sc=function(e){var t=e.title,r=e.titleId,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,Ec);return o.createElement("svg",Tc({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none","aria-labelledby":r},n),t?o.createElement("title",{id:r},t):null,yc||(yc=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3.292 3.4 8.667V19.6h17.2V8.667zM15.95 18.4h-7.9v-3.351h7.9zm3.45 0h-2.35v-4.45H6.95v4.45H4.6V9.333L12 4.708l7.4 4.625z",clipRule:"evenodd"})),bc||(bc=o.createElement("path",{fill:"currentColor",d:"M9.3 9.9H
27v2.3h2.3zm3.867 0h-2.3v2.3h2.3zM17 9.9h-2.3v2.3H17z"})))};return i})())},63277:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t,r){return t=o(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,s()?Reflect.construct(t,r||[],o(e).constructor):t.apply(e,r))}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}var u=r(14041),d=r(39067),h=r(68976).createFocusTrap,f=r(80679).isFocusable,p=function(e){function t(e){var r,n,i,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=a(this,t,[e]),n=r,s=function(e){var t,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r=r.apply(void 0,i)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s,o=r;if("string"==typeof r&&!(o=null===(s=this.getDocument())||void 0===s?void 0:s.querySelector(r)))throw new Error("`".concat(e,"` as selector refers to no known node"));return o},(i=c(i="getNodeForOption"))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s,r.handleDeactivate=r.handleDeactivate.bind(r),r.handlePostDeactivate=r.handlePostDeactivate.bind(r),r.handleClickOutsideDeactivates=r.handleClickOutsideDeactivates.bind(r),r.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:r.handleDeactivate,onPostDeactivate:r.handlePostDeactivate,clickOutsideDeactivates:r.handleClickOutsideDeactivates},r.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=e.focusTrapOptions;for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&("returnFocusOnDeactivate"!==l&&"onDeactivate"!==l&&"onPostDeactivate"!==l&&"checkCanReturnFocus"!==l&&"clickOutsideDeactivates"!==l?r.internalOptions[l]=o[l]:r.originalOptions[l]=o[l]);return r.outsideClick=null,r.focusTrapElements=e.containerElements||[],r.updatePreviousElement(),r}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&&l(e,t)}(t,e),r=t,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),r=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),n=e.internalOptions.preventScroll,i=void 0!==n&&n;r&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,r=e.active&&!this.props.active,n=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),r)return void this.deactivateTrap();n&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(r){var n=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(r):t.ref&&(t.ref.current=r)),e.focusTrapElements=n||[r]}})}return null}}])&&i(r.prototype,n),s&&i(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,s}(u.Component),g="undefined"==typeof Element?Function:Element;p.propTypes={active:d.bool,paused:d.bool,focusTrapOptions:d.shape({document:d.object,onActivate:d.func,onPostActivate:d.func,checkCanFocusTrap:d.func,onPause:d.func,onPostPause:d.func,onUnpause:d.func,onPostUnpause:d.func,onDeactivate:d.func,onPostDeactivate:d.func,checkCanReturnFocus:d.func,initialFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),fallbackFocus:d.oneOfType([d.instanceOf(g),d.string,d.func]),escapeDeactivates:d.oneOfType([d.bool,d.func]),clickOutsideDeactivates:d.oneOfType([d.bool,d.func]),returnFocusOnDeactivate:d.bool,setReturnFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),allowOutsideClick:d.oneOfType([d.bool,d.func]),preventScroll:d.bool,tabbableOptions:d.shape({displayCheck:d.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:d.oneOfType([d.bool,d.func])}),trapStack:d.array,isKeyForward:d.func,isKeyBackward:d.func}),containerElements:d.arrayOf(d.instanceOf(g)),children:d.oneOfType([d.element,d.instanceOf(g)])},p.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:h},e.exports=p},68976:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createFocusTrap:()=>y});var n=r(80679);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e){return function(e){if(Array.isArray(e))return i(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 i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(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.")}()}var c=function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},u=function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()},d=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},h=function(e){return d(e)&&!e.shiftKey},f=function(e){return d(e)&&e.shiftKey},p=function(e){return setTimeout(e,0)},g=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,r):e},v=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},m=[],y=function(e,t){var r,i=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||m,s=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:h,isKeyBackward:f},t),y={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b=function(e,t,r){return e&&void 0!==e[t]?e[t]:s[r||t]},w=function(e,t){var r="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return y.containerGroups.findIndex((function(t){var n=t.container,i=t.tabbableNodes;return n.contains(e)||(null==r?void 0:r.includes(n))||i.find((function(t){return t===e}))}))},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.hasFallback,n=void 0!==r&&r,a=t.params,o=void 0===a?[]:a,c=s[e];if("function"==typeof c&&(c=c.apply(void 0,l(o))),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=c;if("string"==typeof c){try{u=i.querySelector(c)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!u&&!n)throw new Error("`".concat(e,"` as selector refers to no known node"))}return u},T=function(){var e=E("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,n.isFocusable)(e,s.tabbableOptions))if(w(i.activeElement)>=0)e=i.activeElement;else{var t=y.tabbableGroups[0];e=t&&t.firstTabbableNode||E("fallbackFocus")}else null===e&&(e=E("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},S=function(){if(y.containerGroups=y.containers.map((function(e){var t=(0,n.tabbable)(e,s.tabbableOptions),r=(0,n.focusable)(e,s.tabbableOptions),i=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=r.find((function(e){return(0,n.isTabbable)(e)})),l=r.slice().reverse().find((function(e){return(0,n.isTabbable)(e)})),c=!!t.find((function(e){return(0,n.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:c,firstTabbableNode:i,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:l,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t.indexOf(e);return a<0?i?r.slice(r.indexOf(e)+1).find((function(e){return(0,n.isTabbable)(e)})):r.slice(0,r.indexOf(e)).reverse().find((function(e){return(0,n.isTabbable)(e)})):t[a+(i?1:-1)]}}})),y.tabbableGroups=y.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),y.tabbableGroups.length<=0&&!E("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(y.containerGroups.find((function(e){return e.posTabIndexesFound}))&&y.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?O(t.shadowRoot):t}
vendor: 5,289 bytes, line 2
2,x=function(e){!1!==e&&e!==O(document)&&(e&&e.focus?(e.focus({preventScroll:!!s.preventScroll}),y.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):x(T()))},A=function(e){var t=E("setReturnFocus",{params:[e]});return t||!1!==t&&e},P=function(e){var t=e.target,r=e.event,i=e.isBackward,a=void 0!==i&&i;t=t||v(r),S();var o=null;if(y.tabbableGroups.length>0){var l=w(t,r),c=l>=0?y.containerGroups[l]:void 0;if(l<0)o=a?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(a){var u=y.tabbableGroups.findIndex((function(e){var r=e.firstTabbableNode;return t===r}));if(u<0&&(c.container===t||(0,n.isFocusable)(t,s.tabbableOptions)&&!(0,n.isTabbable)(t,s.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(u=l),u>=0){var h=0===u?y.tabbableGroups.length-1:u-1,f=y.tabbableGroups[h];o=(0,n.getTabIndex)(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else d(r)||(o=c.nextTabbableNode(t,!1))}else{var p=y.tabbableGroups.findIndex((function(e){var r=e.lastTabbableNode;return t===r}));if(p<0&&(c.container===t||(0,n.isFocusable)(t,s.tabbableOptions)&&!(0,n.isTabbable)(t,s.tabbableOptions)&&!c.nextTabbableNode(t))&&(p=l),p>=0){var g=p===y.tabbableGroups.length-1?0:p+1,m=y.tabbableGroups[g];o=(0,n.getTabIndex)(t)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else d(r)||(o=c.nextTabbableNode(t))}}else o=E("fallbackFocus");return o},L=function(e){var t=v(e);w(t,e)>=0||(g(s.clickOutsideDeactivates,e)?r.deactivate({returnFocus:s.returnFocusOnDeactivate}):g(s.allowOutsideClick,e)||e.preventDefault())},k=function(e){var t=v(e),r=w(t,e)>=0;if(r||t instanceof Document)r&&(y.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var a=!0;if(y.mostRecentlyFocusedNode)if((0,n.getTabIndex)(y.mostRecentlyFocusedNode)>0){var o=w(y.mostRecentlyFocusedNode),l=y.containerGroups[o].tabbableNodes;if(l.length>0){var c=l.findIndex((function(e){return e===y.mostRecentlyFocusedNode}));c>=0&&(s.isKeyForward(y.recentNavEvent)?c+1<l.length&&(i=l[c+1],a=!1):c-1>=0&&(i=l[c-1],a=!1))}}else y.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,n.getTabIndex)(e)>0}))}))||(a=!1);else a=!1;a&&(i=P({target:y.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(y.recentNavEvent)})),x(i||(y.mostRecentlyFocusedNode||T()))}y.recentNavEvent=void 0},I=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y.recentNavEvent=e;var r=P({event:e,isBackward:t});r&&(d(e)&&e.preventDefault(),x(r))}(e,s.isKeyBackward(e))},R=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===g(s.escapeDeactivates,e)||(e.preventDefault(),r.deactivate())},C=function(e){var t=v(e);w(t,e)>=0||g(s.clickOutsideDeactivates,e)||g(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},D=function(){if(y.active)return c(a,r),y.delayInitialFocusTimer=s.delayInitialFocus?p((function(){x(T())})):x(T()),i.addEventListener("focusin",k,!0),i.addEventListener("mousedown",L,{capture:!0,passive:!1}),i.addEventListener("touchstart",L,{capture:!0,passive:!1}),i.addEventListener("click",C,{capture:!0,passive:!1}),i.addEventListener("keydown",I,{capture:!0,passive:!1}),i.addEventListener("keydown",R),r},_=function(){if(y.active)return i.removeEventListener("focusin",k,!0),i.removeEventListener("mousedown",L,!0),i.removeEventListener("touchstart",L,!0),i.removeEventListener("click",C,!0),i.removeEventListener("keydown",I,!0),i.removeEventListener("keydown",R),r},M="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===y.mostRecentlyFocusedNode}))}))&&x(T())})):void 0,F=function(){M&&(M.disconnect(),y.active&&!y.paused&&y.containers.map((function(e){M.observe(e,{subtree:!0,childList:!0})})))};return(r={get active(){return y.active},get paused(){return y.paused},activate:function(e){if(y.active)return this;var t=b(e,"onActivate"),r=b(e,"onPostActivate"),n=b(e,"checkCanFocusTrap");n||S(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var a=function(){n&&S(),D(),F(),null==r||r()};return n?(n(y.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!y.active)return this;var t=o({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,_(),y.active=!1,y.paused=!1,F(),u(a,r);var n=b(t,"onDeactivate"),i=b(t,"onPostDeactivate"),l=b(t,"checkCanReturnFocus"),c=b(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var d=function(){p((function(){c&&x(A(y.nodeFocusedBeforeActivation)),null==i||i()}))};return c&&l?(l(A(y.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(y.paused||!y.active)return this;var t=b(e,"onPause"),r=b(e,"onPostPause");return y.paused=!0,null==t||t(),_(),F(),null==r||r(),this},unpause:function(e){if(!y.paused||!y.active)return this;var t=b(e,"onUnpause"),r=b(e,"onPostUnpause");return y.paused=!1,null==t||t(),S(),D(),F(),null==r||r(),this}
vendor: 6,860 bytes, line 2
2,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return y.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),y.active&&S(),F(),this}}).updateContainerElements(e),r}},78088:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}function i(e){return"/"===e.charAt(0)}function a(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}r.d(t,{zR:()=>S,TM:()=>k,yJ:()=>g,sC:()=>R,AO:()=>p,Fu:()=>v});const s=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],s=t&&t.split("/")||[],o=e&&i(e),l=t&&i(t),c=o||l;if(e&&i(e)?s=n:n.length&&(s.pop(),s=s.concat(n)),!s.length)return"/";if(s.length){var u=s[s.length-1];r="."===u||".."===u||""===u}else r=!1;for(var d=0,h=s.length;h>=0;h--){var f=s[h];"."===f?a(s,h):".."===f?(a(s,h),d++):d&&(a(s,h),d--)}if(!c)for(;d--;d)s.unshift("..");!c||""===s[0]||s[0]&&i(s[0])||s.unshift("");var p=s.join("/");return r&&"/"!==p.substr(-1)&&(p+="/"),p};function o(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const l=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var n=o(t),i=o(r);return n!==t||i!==r?e(n,i):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1};var c=r(37730);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,r=e.search,n=e.hash,i=t||"/";return r&&"?"!==r&&(i+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(i+="#"===n.charAt(0)?n:"#"+n),i}function g(e,t,r,i){var a;"string"==typeof e?(a=function(e){var t=e||"/",r="",n="",i=t.indexOf("#");-1!==i&&(n=t.substr(i),t=t.substr(0,i));var a=t.indexOf("?");return-1!==a&&(r=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e),a.state=t):(void 0===(a=n({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(a.key=r),i?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=s(a.pathname,i.pathname)):a.pathname=i.pathname:a.pathname||(a.pathname="/"),a}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,i){if(null!=e){var a="function"==typeof e?e(t,r):e;"string"==typeof a?"function"==typeof n?n(a,i):i(!0):i(!1!==a)}else i(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}var w="popstate",E="hashchange";function T(){try{return window.history.state||{}}catch(e){return{}}}function S(e){void 0===e&&(e={}),y||(0,c.A)(!1);var t,r=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),s=e,o=s.forceRefresh,l=void 0!==o&&o,d=s.getUserConfirmation,v=void 0===d?b:d,S=s.keyLength,O=void 0===S?6:S,x=e.basename?f(u(e.basename)):"";function A(e){var t=e||{},r=t.key,n=t.state,i=window.location,a=i.pathname+i.search+i.hash;return x&&(a=h(a,x)),g(a,n,r)}function P(){return Math.random().toString(36).substr(2,O)}var L=m();function k(e){n($,e),$.length=r.length,L.notifyListeners($.location,$.action)}function I(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(A(e.state))}function R(){D(A(T()))}var C=!1;function D(e){if(C)C=!1,k();else{L.confirmTransitionTo(e,"POP",v,(function(t){t?k({action:"POP",location:e}):function(e){var t=$.location,r=M.indexOf(t.key);-1===r&&(r=0);var n=M.indexOf(e.key);-1===n&&(n=0);var i=r-n;i&&(C=!0,N(i))}(e)}))}}var _=A(T()),M=[_.key];function F(e){return x+p(e)}function N(e){r.go(e)}var j=0;function U(e){1===(j+=e)&&1===e?(window.addEventListener(w,I),a&&window.addEventListener(E,R)):0===j&&(window.removeEventListener(w,I),a&&window.removeEventListener(E,R))}var B=!1;var $={length:r.length,action:"POP",location:_,createHref:F,push:function(e,t){var n="PUSH",a=g(e,t,P(),$.location);L.confirmTransitionTo(a,n,v,(function(e){if(e){var t=F(a),s=a.key,o=a.state;if(i)if(r.pushState({key:s,state:o},null,t),l)window.location.href=t;else{var c=M.indexOf($.location.key),u=M.slice(0,c+1);u.push(a.key),M=u,k({action:n,location:a})}else window.location.href=t}}))},replace:function(e,t){var n="REPLACE",a=g(e,t,P(),$.location);L.confirmTransitionTo(a,n,v,(function(e){if(e){var t=F(a),s=a.key,o=a.state;if(i)if(r.replaceState({key:s,state:o},null,t),l)window.location.replace(t);else{var c=M.indexOf($.location.key);-1!==c&&(M[c]=a.key),k({action:n,location:a})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=L.setPrompt(e);return B||(U(1),B=!0),function(){return B&&(B=!1,U(-1)),t()}},listen:function(e){var t=L.appendListener(e);return U(1),function(){U(-1),t()}}};return $}var O="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function A(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function P(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function L(e){window.location.replace(A(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),y||(0,c.A)(!1);var t=window.history,r=(window.navigator.userAgent.indexOf("Firefox"),e),i=r.getUserConfirmation,a=void 0===i?b:i,s=r.hashType,o=void 0===s?"
2slash":s,l=e.basename?f(u(e.basename)):"",d=x[o],v=d.encodePath,w=d.decodePath;function E(){var e=w(P());return l&&(e=h(e,l)),g(e)}var T=m();function S(e){n(B,e),B.length=t.length,T.notifyListeners(B.location,B.action)}var k=!1,I=null;function R(){var e,t,r=P(),n=v(r);if(r!==n)L(n);else{var i=E(),s=B.location;if(!k&&(t=i,(e=s).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(I===p(i))return;I=null,function(e){if(k)k=!1,S();else{var t="POP";T.confirmTransitionTo(e,t,a,(function(r){r?S({action:t,location:e}):function(e){var t=B.location,r=M.lastIndexOf(p(t));-1===r&&(r=0);var n=M.lastIndexOf(p(e));-1===n&&(n=0);var i=r-n;i&&(k=!0,F(i))}(e)}))}}(i)}}var C=P(),D=v(C);C!==D&&L(D);var _=E(),M=[p(_)];function F(e){t.go(e)}var N=0;function j(e){1===(N+=e)&&1===e?window.addEventListener(O,R):0===N&&window.removeEventListener(O,R)}var U=!1;var B={length:t.length,action:"POP",location:_,createHref:function(e){var t=document.querySelector("base"),r="";return t&&t.getAttribute("href")&&(r=A(window.location.href)),r+"#"+v(l+p(e))},push:function(e,t){var r="PUSH",n=g(e,void 0,void 0,B.location);T.confirmTransitionTo(n,r,a,(function(e){if(e){var t=p(n),i=v(l+t);if(P()!==i){I=t,function(e){window.location.hash=e}(i);var a=M.lastIndexOf(p(B.location)),s=M.slice(0,a+1);s.push(t),M=s,S({action:r,location:n})}else S()}}))},replace:function(e,t){var r="REPLACE",n=g(e,void 0,void 0,B.location);T.confirmTransitionTo(n,r,a,(function(e){if(e){var t=p(n),i=v(l+t);P()!==i&&(I=t,L(i));var a=M.indexOf(p(B.location));-1!==a&&(M[a]=t),S({action:r,location:n})}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return U||(j(1),U=!0),function(){return U&&(U=!1,j(-1)),t()}},listen:function(e){var t=T.appendListener(e);return j(1),function(){j(-1),t()}}};return B}function I(e,t,r){return Math.min(Math.max(e,t),r)}function R(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,i=t.initialEntries,a=void 0===i?["/"]:i,s=t.initialIndex,o=void 0===s?0:s,l=t.keyLength,c=void 0===l?6:l,u=m();function d(e){n(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,c)}var f=I(o,0,a.length-1),v=a.map((function(e){return g(e,void 0,"string"==typeof e?h():e.key||h())})),y=p;function b(e){var t=I(w.index+e,0,w.entries.length-1),n=w.entries[t];u.confirmTransitionTo(n,"POP",r,(function(e){e?d({action:"POP",location:n,index:t}):d()}))}var w={length:v.length,action:"POP",location:v[f],index:f,entries:v,createHref:y,push:function(e,t){var n="PUSH",i=g(e,t,h(),w.location);u.confirmTransitionTo(i,n,r,(function(e){if(e){var t=w.index+1,r=w.entries.slice(0);r.length>t?r.splice(t,r.length-t,i):r.push(i),d({action:n,location:i,index:t,entries:r})}}))},replace:function(e,t){var n="REPLACE",i=g(e,t,h(),w.location);u.confirmTransitionTo(i,n,r,(function(e){e&&(w.entries[w.index]=i,d({action:n,location:i}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},75985:(e,t,r)=>{"use strict";var n=r(524),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(e){return n.isMemo(e)?s:o[e.$$typeof]||i}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=f(r);i&&i!==p&&e(t,i,n)}var s=u(r);d&&(s=s.concat(d(r)));for(var o=l(t),g=l(r),v=0;v<s.length;++v){var m=s[v];if(!(a[m]||n&&n[m]||g&&g[m]||o&&o[m])){var y=h(r,m);try{c(t,m,y)}catch(e){}}}}return t}},60629:(e,t)=>
vendor: 4,187 bytes, line 2
2{t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},33395:e=>{var t="html",r="head",n="body",i=/<([a-zA-Z]+[0-9]?)/,a=/<head[^]*>/i,s=/<body[^]*>/i,o=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var u=new c;o=l=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),u.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();o=function(e,t){return t?(d.documentElement.querySelector(t).innerHTML=e,d):(d.documentElement.innerHTML=e,d)}}var h,f="object"==typeof document?document.createElement("template"):{};f.content&&(h=function(e){return f.innerHTML=e,f.content.childNodes}),e.exports=function(e){var c,u,d,f,p=e.match(i);switch(p&&p[1]&&(c=p[1].toLowerCase()),c){case t:return u=l(e),a.test(e)||(d=u.querySelector(r))&&d.parentNode.removeChild(d),s.test(e)||(d=u.querySelector(n))&&d.parentNode.removeChild(d),u.querySelectorAll(t);case r:case n:return f=(u=o(e)).querySelectorAll(c),s.test(e)&&a.test(e)?f[0].parentNode.childNodes:f;default:return h?h(e):(d=o(e,n).querySelector(n)).childNodes}}},39072:(e,t,r)=>{var n=r(33395),i=r(53287).formatDOM,a=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,r=e.match(a);return r&&r[1]&&(t=r[1]),i(n(e),null,t)}},53287:(e,t,r)=>{for(var n,i=r(21138),a=r(60629).CASE_SENSITIVE_TAG_NAMES,s=i.Comment,o=i.Element,l=i.ProcessingInstruction,c=i.Text,u={},d=0,h=a.length;d<h;d++)n=a[d],u[n.toLowerCase()]=n;function f(e){for(var t,r={},n=0,i=e.length;n<i;n++)r[(t=e[n]).name]=t.value;return r}function p(e){var t=function(e){return u[e]}(e=e.toLowerCase());return t||e}t.formatAttributes=f,t.formatDOM=function e(t,r,n){r=r||null;for(var i,a=[],u=0,d=t.length;u<d;u++){var h,g=t[u];switch(g.nodeType){case 1:i=p(g.nodeName),(h=new o(i,f(g.attributes))).children=e("template"===i?g.content.childNodes:g.childNodes,h);break;case 3:h=new c(g.nodeValue);break;case 8:h=new s(g.nodeValue);break;default:continue}var v=a[u-1]||null;v&&(v.next=h),h.parent=r,h.prev=v,h.next=null,a.push(h)}return n&&((h=new l(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=a[0]||null,h.parent=r,a.unshift(h),a[1]&&(a[1].prev=a[0])),a}},82901:(e,t,r)=>{"use strict";r(29002);Object.create(null)},14371:(e,t,r)=>{var n=r(21138),i=r(39072),a=r(84193),s=r(9471);i="function"==typeof i.default?i.default:i;var o={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:s(i(e,(t=t||{}).htmlparser2||o),t)}l.domToReact=s,l.htmlToDOM=i,l.attributesToProps=a,l.Comment=n.Comment,l.Element=n.Element,l.ProcessingInstruction=n.ProcessingInstruction,l.Text=n.Text,e.exports=l,l.default=l},84193:(e,t,r)=>{var n=r(99461),i=r(29523),a=["checked","value"],s=["input","select","textarea"],o={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}e.exports=function(e,t){var r,c,u,d,h,f={},p=(e=e||{}).type&&o[e.type];for(r in e)if(u=e[r],n.isCustomAttribute(r))f[r]=u;else if(d=l(c=r.toLowerCase()))switch(h=n.getPropertyInfo(d),-1===a.indexOf(d)||-1===s.indexOf(t)||p||(d=l("default"+c)),f[d]=u,h&&h.type){case n.BOOLEAN:f[d]=!0;break;case n.OVERLOADED_BOOLEAN:""===u&&(f[d]=!0)}else i.PRESERVE_CUSTOM_ATTRIBUTES&&(f[r]=u);return i.setStyleProp(e.style,f),f}},9471:(e,t,r)=>{var n=r(14041),i=r(84193),a=r(29523),s=a.setStyleProp,o=a.canTextBeChildOfNode;function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&a.isCustomComponent(e.name,e.attribs)}
2e.exports=function e(t,r){for(var a,c,u,d,h,f=(r=r||{}).library||n,p=f.cloneElement,g=f.createElement,v=f.isValidElement,m=[],y="function"==typeof r.replace,b=r.trim,w=0,E=t.length;w<E;w++)if(a=t[w],y&&v(u=r.replace(a)))E>1&&(u=p(u,{key:u.key||w})),m.push(u);else if("text"!==a.type){switch(d=a.attribs,l(a)?s(d.style,d):d&&(d=i(d,a.name)),h=null,a.type){case"script":case"style":a.children[0]&&(d.dangerouslySetInnerHTML={__html:a.children[0].data});break;case"tag":"textarea"===a.name&&a.children[0]?d.defaultValue=a.children[0].data:a.children&&a.children.length&&(h=e(a.children,r));break;default:continue}E>1&&(d.key=w),m.push(g(a.name,d,h))}else{if((c=!a.data.trim().length)&&a.parent&&!o(a.parent))continue;if(b&&c)continue;m.push(a.data)}return 1===m.length?m[0]:m}},29523:(e,t,r)=>{var n=r(14041),i=r(51020).default;var a={reactCompat:!0};var s=n.version.split(".")[0]>=16,o=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:s,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var r,n,i="function"==typeof t,a={},s={};for(r in e)n=e[r],i&&(a=t(r,n))&&2===a.length?s[a[0]]=a[1]:"string"==typeof n&&(s[n]=r);return s},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,a)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!o.has(e.name)},elementsWithNoTextChildren:o}},15937:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function f(e){var t=e.match(r);t&&(d+=t.length);var n=e.lastIndexOf("\n");h=~n?e.length-n:h+e.length}function p(){var e={line:d,column:h};return function(t){return t.position=new g(e),b(),t}}function g(e){this.start=e,this.end={line:d,column:h},this.source=l.source}g.prototype.content=e;var v=[];function m(t){var r=new Error(l.source+":"+d+":"+h+": "+t);if(r.reason=t,r.filename=l.source,r.line=d,r.column=h,r.source=e,!l.silent)throw r;v.push(r)}function y(t){var r=t.exec(e);if(r){var n=r[0];return f(n),e=e.slice(n.length),r}}function b(){y(n)}function w(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;c!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,c===e.charAt(r-1))return m("End of comment missing");var n=e.slice(2,r-2);return h+=2,f(n),e=e.slice(r),h+=2,t({type:"comment",comment:n})}}function T(){var e=p(),r=y(i);if(r){if(E(),!y(a))return m("property missing ':'");var n=y(s),l=e({type:"declaration",property:u(r[0].replace(t,c)),value:n?u(n[0].replace(t,c)):c});return y(o),l}}return b(),function(){var e,t=[];for(w(t);e=T();)!1!==e&&(t.push(e),w(t));return t}()}},66870:()=>{!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,r=i(t);r;)r=i(t=r.ownerDocument);return t}(),t=[],r=null,n=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return r||(r=function(e,r){n=e&&r?d(e,r):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),r},s._resetCrossOriginUpdater=function(){r=null,n=null},s.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},s.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,r){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==r[t-1]}))},s.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},s.prototype._monitorIntersections=function(t){var r=t.defaultView;if(r&&-1==this._monitoringDocuments.indexOf(t)){var n=this._checkForIntersections,a=null,s=null;this.POLL_INTERVAL?a=r.setInterval(n,this.POLL_INTERVAL):(o(r,"resize",n,!0),o(t,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(s=new r.MutationObserver(n)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",n,!0)),l(t,"scroll",n,!0),s&&s.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=i(t);u&&this._monitorIntersections(u.ownerDocument)}}},s.prototype._unmonitorIntersections=function(t){var r=this._monitoringDocuments.indexOf(t);if(-1!=r){var n=this.root&&(this.root.ownerDocument||this.root)||e,a=this._observationTargets.some((function(e){var r=e.element.ownerDocument;if(r==t)return!0;for(;r&&r!=n;){var a=i(r);if((r=a&&a.ownerDocument)==t)return!0}return!1}));if(!a){var s=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),s(),t!=n){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},s.prototype._checkForIntersections=function(){if(this.root||!r||n){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};
2this._observationTargets.forEach((function(n){var i=n.element,s=c(i),o=this._rootContainsTarget(i),l=n.entry,u=e&&o&&this._computeTargetAndRootIntersection(i,s,t),d=null;this._rootContainsTarget(i)?r&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=n.entry=new a({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:d,intersectionRect:u});l?e&&o?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(t,i,a){if("none"!=window.getComputedStyle(t).display){for(var s,o,l,u,h,p,g,v,m=i,y=f(t),b=!1;!b&&y;){var w=null,E=1==y.nodeType?window.getComputedStyle(y):{};if("none"==E.display)return null;if(y==this.root||9==y.nodeType)if(b=!0,y==this.root||y==e)r&&!this.root?!n||0==n.width&&0==n.height?(y=null,w=null,m=null):w=n:w=a;else{var T=f(y),S=T&&c(T),O=T&&this._computeTargetAndRootIntersection(T,S,a);S&&O?(y=T,w=d(S,O)):(y=null,m=null)}else{var x=y.ownerDocument;y!=x.body&&y!=x.documentElement&&"visible"!=E.overflow&&(w=c(y))}if(w&&(s=w,o=m,l=void 0,u=void 0,h=void 0,p=void 0,g=void 0,v=void 0,l=Math.max(s.top,o.top),u=Math.min(s.bottom,o.bottom),h=Math.max(s.left,o.left),p=Math.min(s.right,o.right),v=u-l,m=(g=p-h)>=0&&v>=0&&{top:l,bottom:u,left:h,right:p,width:g,height:v}||null),!m)break;y=y&&f(y)}return m}},s.prototype._getRootRect=function(){var t;if(this.root&&!p(this.root))t=c(this.root);else{var r=p(this.root)?this.root:e,n=r.documentElement,i=r.body;t={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},s.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,r){return"px"==t.unit?t.value:t.value*(r%2?e.width:e.height)/100})),r={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return r.width=r.right-r.left,r.height=r.bottom-r.top,r},s.prototype._hasCrossedThreshold=function(e,t){var r=e&&e.isIntersecting?e.intersectionRatio||0:-1,n=t.isIntersecting?t.intersectionRatio||0:-1;if(r!==n)for(var i=0;i<this.thresholds.length;i++){var a=this.thresholds[i];if(a==r||a==n||a<r!=a<n)return!0}},s.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},s.prototype._rootContainsTarget=function(t){var r=this.root&&(this.root.ownerDocument||this.root)||e;return h(r,t)&&(!this.root||r==t.ownerDocument)},s.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},s.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=u(e.rootBounds),this.boundingClientRect=u(e.boundingClientRect),this.intersectionRect=u(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,r=t.width*t.height,n=this.intersectionRect,i=n.width*n.height;this.intersectionRatio=r?Number((i/r).toFixed(4)):this.isIntersecting?1:0}function s(e,t){var r,n,i,a=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(a.root&&1!=a.root.nodeType&&9!=a.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(r=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout((function(){r(),i=null}),n))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function o(e,t,r,n){"function"==typeof e.addEventListener?e.addEventListener(t,r,n||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,r)}function l(e,t,r,n){"function"==typeof e.removeEventListener?e.removeEventListener(t,r,n||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,r)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}
2return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var r=t.top-e.top,n=t.left-e.left;return{top:r,left:n,height:t.height,width:t.width,bottom:r+t.height,right:n+t.width}}function h(e,t){for(var r=t;r;){if(r==e)return!0;r=f(r)}return!1}function f(t){var r=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(r&&r.assignedSlot&&(r=r.assignedSlot.parentNode),r&&11==r.nodeType&&r.host?r.host:r)}function p(e){return e&&9===e.nodeType}}()},95345:(e,t,r)=>{"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){return!(!e||"function"!=typeof e.hasOwnProperty||!(e.hasOwnProperty("__ownerID")||e._map&&e._map.hasOwnProperty("__ownerID")))}function l(e,t,r){return Object.keys(e).reduce((function(t,n){var i=""+n;return t.has(i)?t.set(i,r(t.get(i),e[i])):t}),t)}r.d(t,{S8:()=>T,wQ:()=>E});var c=function(){function e(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),!e||"string"!=typeof e)throw new Error("Expected a string key for Entity, but found "+e+".");var n=r,i=n.idAttribute,s=void 0===i?"id":i,l=n.mergeStrategy,c=void 0===l?function(e,t){return a({},e,t)}:l,u=n.processStrategy,d=void 0===u?function(e){return a({},e)}:u,h=n.fallbackStrategy,f=void 0===h?function(e,t){}:h;this._key=e,this._getId="function"==typeof s?s:function(e){return function(t){return o(t)?t.get(e):t[e]}}(s),this._idAttribute=s,this._mergeStrategy=c,this._processStrategy=d,this._fallbackStrategy=f,this.define(t)}var t=e.prototype;return t.define=function(e){this.schema=Object.keys(e).reduce((function(t,r){var n,i=e[r];return a({},t,((n={})[r]=i,n))}),this.schema||{})},t.getId=function(e,t,r){return this._getId(e,t,r)},t.merge=function(e,t){return this._mergeStrategy(e,t)},t.fallback=function(e,t){return this._fallbackStrategy(e,t)},t.normalize=function(e,t,r,n,i,a){var s=this,o=this.getId(e,t,r),l=this.key;if(l in a||(a[l]={}),o in a[l]||(a[l][o]=[]),a[l][o].some((function(t){return t===e})))return o;a[l][o].push(e);var c=this._processStrategy(e,t,r);return Object.keys(this.schema).forEach((function(t){if(c.hasOwnProperty(t)&&"object"==typeof c[t]){var r=s.schema[t],o="function"==typeof r?r(e):r;c[t]=n(c[t],c,t,o,i,a)}})),i(this,c,e,t,r),o},t.denormalize=function(e,t){var r=this;return o(e)?l(this.schema,e,t):(Object.keys(this.schema).forEach((function(n){if(e.hasOwnProperty(n)){var i=r.schema[n];e[n]=t(e[n],i)}})),e)},i(e,[{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),e}(),u=function(){function e(e,t){t&&(this._schemaAttribute="string"==typeof t?function(e){return e[t]}:t),this.define(e)}var t=e.prototype;return t.define=function(e){this.schema=e},t.getSchemaAttribute=function(e,t,r){return!this.isSingleSchema&&this._schemaAttribute(e,t,r)},t.inferSchema=function(e,t,r){if(this.isSingleSchema)return this.schema;var n=this.getSchemaAttribute(e,t,r);return this.schema[n]},t.normalizeValue=function(e,t,r,n,i,a){var s=this.inferSchema(e,t,r);if(!s)return e;var o=n(e,t,r,s,i,a);return this.isSingleSchema||null==o?o:{id:o,schema:this.getSchemaAttribute(e,t,r)}},t.denormalizeValue=function(e,t){var r=o(e)?e.get("schema"):e.schema;return this.isSingleSchema||r?t((this.isSingleSchema?void 0:o(e)?e.get("id"):e.id)||e,this.isSingleSchema?this.schema:this.schema[r]):e},i(e,[{key:"isSingleSchema",get:function(){return!this._schemaAttribute}}]),e}(),d=function(e){function t(t,r){if(!r)throw new Error('Expected option "schemaAttribute" not found on UnionSchema.');return e.call(this,t,r)||this}s(t,e);var r=t.prototype;return r.normalize=function(e,t,r,n,i,a){return this.normalizeValue(e,t,r,n,i,a)},r.denormalize=function(e,t){return this.denormalizeValue(e,t)},t}(u),h=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var r=t.prototype;return r.normalize=function(e,t,r,n,i,s){var o=this;return Object.keys(e).reduce((function(t,r,l){var c,u=e[r];return null!=u?a({},t,((c={})[r]=o.normalizeValue(u,e,r,n,i,s),c)):t}),{})},r.denormalize=function(e,t){var r=this;return Object.keys(e).reduce((function(n,i){var s,o=e[i];return a({},n,((s={})[i]=r.denormalizeValue(o,t),s))}),{})},t}(u),f=function(e){if(Array.isArray(e)&&e.length>1)throw new Error("Expected schema definition to be a single schema, but found "+e.length+".");return e[0]},p=function(e){return Array.isArray(e)?e:Object.keys(e).map((function(t){return e[t]}))},g=function(e,t,r,n,i,a,s){return e=f(e),p(t).map((function(t,o){return i(t,r,n,e,a,s)}))},v=function(e){function t(){return e.apply(this,arguments)||this}s(t,e);var r=t.prototype;return r.normalize=function(e,t,r,n,i,a){var s=this;return p(e).map((function(e,o){return s.normalizeValue(e,t,r,n,i,a)})).filter((function(e){return null!=e}))},r.denormalize=function(e,t){var r=this;return e&&e.map?e.map((function(e){return r.denormalizeValue(e,t)})):e},t}(u),m=function(e,t,r,n,i,s,o){var l=a({},t);return Object.keys(e).forEach((function(r){var n=e[r],a="function"==typeof n?n(t):n,c=i(t[r],t,r,a,s,o);null==c?delete l[r]:l[r]=c})),l},y=function(e,t,r){if(o(t))return l(e,t,r);var n=a({},t);return Object.keys(e).forEach((function(t){null!=n[t]&&(n[t]=r(n[t],e[t]))})),n},b=function(){function e(e){this.define(e)}var t=e.prototype;return t.define=function(e){this.schema=Object.keys(e).reduce((function(t,r){var n,i=e[r];return a({},t,((n={})[r]=i,n))}),this.schema||{})},t.normalize=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return m.apply(void 0,[this.schema].concat(t))},t.denormalize=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return y.apply(void 0,[this.schema].concat(t))},e}(),w=function e(t,r,n,i,a,s){return"object"==typeof t&&t?"object"!=typeof i||i.normalize&&"function"==typeof i.normalize?i.normalize(t,r,n,e,a,s):(Array.isArray(i)?g:m)(i,t,r,n,e,a,s):t},E={Array:v,Entity:c,Object:b,Union:d,Values:h},T=function(e,t){if(!e||"object"!=typeof e)throw new Error('Unexpected input given to normalize. Expected type to be "object", found "'+(null===e?"null":typeof e)+'".');var r={},n=function(e){return function(t,r,n,i,a){var s=t.key,o=t.getId(n,i,a);s in e||(e[s]={});var l=e[s][o];e[s][o]=l?t.merge(l,r):r}}(r);return{entities:r,result:w(e,e,null,t,n,{})}}},61513:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in a=Object(arguments[l]))r.call(a,c)&&(o[c]=a[c]);if(t){s=t(a);for(var u=0;u<s.length;u++)n.call(a,s[u])&&(o[s[u]]=a[s[u]])}}return o}},93673:(e,t,r)=>{var n=r(30574);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,t){return o(a(e,t),t)},e.exports.tokensToFunction=o,e.exports.tokensToRegExp=h;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var r,n=[],a=0,s=0,o="",u=t&&t.delimiter||"/";null!=(r=i.exec(e));){var d=r[0],h=r[1],f=r.index;if(o+=e.slice(s,f),s=f+d.length,h)o+=h[1];else{var p=e[s],g=r[2],v=r[3],m=r[4],y=r[5],b=r[6],w=r[7];o&&(n.push(o),o="");var E=null!=g&&null!=p&&p!==g,T="+"===b||"*"===b,S="?"===b||"*"===b,O=r[2]||u,x=m||y;n.push({name:v||a++,prefix:g||"",delimiter:O,optional:S,repeat:T,partial:E,asterisk:!!w,pattern:x?c(x):w?".*":"[^"+l(O)+"]+?"})}}return s<e.length&&(o+=e.substr(s)),o&&n.push(o),n}function s(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function o(e,t){for(var r=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(r[i]=new RegExp("^(?:"+e[i].pattern+")$",d(t)));return function(t,i){for(var a="",o=t||{},l=(i||{}).pretty?s:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,h=o[u.name];if(null==h){if(u.optional){u.partial&&(a+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(n(h)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var f=0;f<h.length;f++){if(d=l(h[f]),!r[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===f?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(h).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(h),!r[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');a+=u.prefix+d}}else a+=u}return a}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function h(e,t,r){n(t)||(r=t||r,t=[]);for(var i=(r=r||{}).strict,a=!1!==r.end,s="",o=0;o<e.length;o++){var c=e[o];if("string"==typeof c)s+=l(c);else{var h=l(c.prefix),f="(?:"+c.pattern+")";t.push(c),c.repeat&&(f+="(?:"+h+f+")*"),s+=f=c.optional?c.partial?h+"("+f+")?":"(?:"+h+"("+f+"))?":h+"("+f+")"}}var p=l(r.delimiter||"/"),g=s.slice(-p.length)===p;
vendor: 1,323 bytes, line 2
2return i||(s=(g?s.slice(0,-p.length):s)+"(?:"+p+"(?=$))?"),s+=a?"$":i&&g?"":"(?="+p+"|$)",u(new RegExp("^"+s,d(r)),t)}function f(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(f(e[i],t,r).source);return u(new RegExp("(?:"+n.join("|")+")",d(r)),t)}(e,t,r):function(e,t,r){return h(a(e,r),t,r)}(e,t,r)}},30574:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},36999:(e,t,r)=>{"use strict";var n=r(36848);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,s){if(s!==n){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
vendor: 4,413 bytes, line 2
2;return r.PropTypes=r,r}},39067:(e,t,r)=>{e.exports=r(36999)()},36848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55142:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,i=e[n];if(!(0<a(i,t)))break e;e[n]=t,e[r]=i,r=n}}function n(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length,s=i>>>1;n<s;){var o=2*(n+1)-1,l=e[o],c=o+1,u=e[c];if(0>a(l,r))c<i&&0>a(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[o]=r,n=o);else{if(!(c<i&&0>a(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,g=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=n(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,r(c,t)}t=n(u)}}function E(e){if(v=!1,w(e),!g)if(null!==n(c))g=!0,D(T);else{var t=n(u);null!==t&&_(E,t.startTime-e)}}function T(e,r){g=!1,v&&(v=!1,y(A),A=-1),p=!0;var a=f;try{for(w(r),h=n(c);null!==h&&(!(h.expirationTime>r)||e&&!k());){var s=h.callback;if("function"==typeof s){h.callback=null,f=h.priorityLevel;var o=s(h.expirationTime<=r);r=t.unstable_now(),"function"==typeof o?h.callback=o:h===n(c)&&i(c),w(r)}else i(c);h=n(c)}if(null!==h)var l=!0;else{var d=n(u);null!==d&&_(E,d.startTime-r),l=!1}return l}finally{h=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,O=!1,x=null,A=-1,P=5,L=-1;function k(){return!(t.unstable_now()-L<P)}function I(){if(null!==x){var e=t.unstable_now();L=e;var r=!0;try{r=x(!0,e)}finally{r?S():(O=!1,x=null)}}else O=!1}if("function"==typeof b)S=function(){b(I)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,C=R.port2;R.port1.onmessage=I,S=function(){C.postMessage(null)}}else S=function(){m(I,0)};function D(e){x=e,O||(O=!0,S())}function _(e,r){A=m((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||p||(g=!0,D(T))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:a,expirationTime:o=a+o,sortIndex:-1},a>s?(e.sortIndex=a,r(u,e),null===n(c)&&e===n(u)&&(v?(y(A),A=-1):v=!0,_(E,a-s))):(e.sortIndex=o,r(c,e),g||p||(g=!0,D(T))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},1993:(e,t,r)=>{"use strict";e.exports=r(55142)},49829:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>Q,Od:()=>A});var n=r(3068),i=r(74070);var a=r(54860),s=r(68369);function o(){var e={};return e.promise=new Promise((function(t,r){e.resolve=t,e.reject=r})),e}const l=o;var c=[],u=0;function d(e){try{p(),e()}finally{g()}}function h(e){c.push(e),u||(p(),v())}function f(e){try{return p(),e()}finally{v()}}function p(){u++}function g(){u--}function v(){var e;
vendor: 4,190 bytes, line 2
2for(g();!u&&void 0!==(e=c.shift());)d(e)}var m=function(e){return function(t){return e.some((function(e){return T(e)(t)}))}},y=function(e){return function(t){return e(t)}},b=function(e){return function(t){return t.type===String(e)}},w=function(e){return function(t){return t.type===e}},E=function(){return s.k};function T(e){var t="*"===e?E:(0,a.Yj)(e)?b:(0,a.YO)(e)?m:(0,a.mr)(e)?b:(0,a.Pc)(e)?y:(0,a.HR)(e)?w:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var S={type:n.x7},O=function(e){return e&&e.type===n.x7};function x(e){void 0===e&&(e=(0,s.e)());var t=!1,r=[];return{take:function(n){t&&e.isEmpty()?n(S):e.isEmpty()?(r.push(n),n.cancel=function(){(0,s.r)(r,n)}):n(e.take())},put:function(n){if(!t){if(0===r.length)return e.put(n);r.shift()(n)}},flush:function(r){t&&e.isEmpty()?r(S):r(e.flush())},close:function(){if(!t){t=!0;var e=r;r=[];for(var n=0,i=e.length;n<i;n++){(0,e[n])(S)}}}}}function A(e,t){void 0===t&&(t=(0,s.n)());var r,n=!1,i=x(t),o=function(){n||(n=!0,(0,a.Pc)(r)&&r(),i.close())};return r=e((function(e){O(e)?o():i.put(e)})),r=(0,s.o)(r),n&&r(),{take:i.take,flush:i.flush,close:o}}function P(){var e,t,r,i,a,o,l=(t=!1,i=r=[],a=function(){i===r&&(i=r.slice())},o=function(){t=!0;var e=r=i;i=[],e.forEach((function(e){e(S)}))},(e={})[n.Xl]=!0,e.put=function(e){if(!t)if(O(e))o();else for(var a=r=i,s=0,l=a.length;s<l;s++){var c=a[s];c[n.E_](e)&&(c.cancel(),c(e))}},e.take=function(e,r){void 0===r&&(r=E),t?e(S):(e[n.E_]=r,a(),i.push(e),e.cancel=(0,s.o)((function(){a(),(0,s.r)(i,e)})))},e.close=o,e),c=l.put;return l.put=function(e){e[n.q8]?c(e):h((function(){c(e)}))},l}var L=0,k=1,I=2,R=3;function C(e,t){var r=e[n.bO];(0,a.Pc)(r)&&(t.cancel=r),e.then(t,(function(e){t(e,!0)}))}var D,_=0,M=function(){return++_};function F(e){e.isRunning()&&e.cancel()}var N=((D={})[s.T]=function(e,t,r){var i=t.channel,s=void 0===i?e.channel:i,o=t.pattern,l=t.maybe,c=function(e){e instanceof Error?r(e,!0):!O(e)||l?r(e):r(n.a6)};try{s.take(c,(0,a.uQ)(o)?T(o):null)}catch(e){return void r(e,!0)}r.cancel=c.cancel},D[s.P]=function(e,t,r){var n=t.channel,i=t.action,s=t.resolve;h((function(){var t;try{t=(n?n.put:e.dispatch)(i)}catch(e){return void r(e,!0)}s&&(0,a.iv)(t)?C(t,r):r(t)}))},D[s.A]=function(e,t,r,n){var i=n.digestEffect,o=_,l=Object.keys(t);if(0!==l.length){var c=(0,s.l)(t,r);l.forEach((function(e){i(t[e],o,c[e],e)}))}else r((0,a.YO)(t)?[]:{})},D[s.R]=function(e,t,r,n){var i=n.digestEffect,o=_,l=Object.keys(t),c=(0,a.YO)(t)?(0,s.m)(l.length):{},u={},d=!1;l.forEach((function(e){var t=function(t,n){d||(n||(0,s.s)(t)?(r.cancel(),r(t,n)):(r.cancel(),d=!0,c[e]=t,r(c)))};t.cancel=s.t,u[e]=t})),r.cancel=function(){d||(d=!0,l.forEach((function(e){return u[e].cancel()})))},l.forEach((function(e){d||i(t[e],o,u[e],e)}))},D[s.C]=function(e,t,r,n){var i=t.context,o=t.fn,l=t.args,c=n.task;try{var u=o.apply(i,l);if((0,a.iv)(u))return void C(u,r);if((0,a.lJ)(u))return void q(e,u,c.context,_,(0,s.j)(o),!1,r);r(u)}catch(e){r(e,!0)}},D[s.a]=function(e,t,r){var n=t.context,i=t.fn,s=t.args;try{var o=function(e,t){(0,a.vD)(e)?r(t):r(e,!0)};i.apply(n,s.concat(o)),o.cancel&&(r.cancel=o.cancel)}catch(e){r(e,!0)}},D[s.F]=function(e,t,r,n){var i=t.context,o=t.fn,l=t.args,c=t.detached,u=n.task,d=function(e){var t=e.context,r=e.fn,n=e.args;try{var i=r.apply(t,n);if((0,a.lJ)(i))return i;var o=!1;return(0,s.q)((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!(0,a.iv)(i)})}))}catch(e){return(0,s.q)((function(){throw e}))}}({context:i,fn:o,args:l}),h=function(e,t){return e.isSagaIterator?{name:e.meta.name}:(0,s.j)(t)}(d,o);f((function(){var t=q(e,d,u.context,_,h,c,void 0);c?r(t):t.isRunning()?(u.queue.addTask(t),r(t)):t.isAborted()?u.queue.abort(t.error()):r(t)}))},D[s.J]=function(e,t,r,n){var i=n.task,o=function(e,t){if(e.isRunning()){var r={task:i,cb:t};t.cancel=function(){e.isRunning()&&(0,s.r)(e.joiners,r)},e.joiners.push(r)}else e.isAborted()?t(e.error(),!0):t(e.result())};if((0,a.YO)(t)){if(0===t.length)return void r([]);var l=(0,s.l)(t,r);t.forEach((function(e,t){o(e,l[t])}))}else o(t,r)},D[s.b]=function(e,t,r,i){var s=i.task;t===n.Pe?F(s):(0,a.YO)(t)?t.forEach(F):F(t),r()},D[s.S]=function(e,t,r){var n=t.selector,i=t.args;
2try{r(n.apply(void 0,[e.getState()].concat(i)))}catch(e){r(e,!0)}},D[s.d]=function(e,t,r){var n=t.pattern,i=x(t.buffer),a=T(n),s=function t(r){O(r)||e.channel.take(t,a),i.put(r)},o=i.close;i.close=function(){s.cancel(),o()},e.channel.take(s,a),r(i)},D[s.f]=function(e,t,r,n){r(n.task.isCancelled())},D[s.g]=function(e,t,r){t.flush(r)},D[s.G]=function(e,t,r,n){r(n.task.context[t])},D[s.h]=function(e,t,r,n){var i=n.task;(0,s.p)(i.context,t),r()},D);function j(e,t){return e+"?"+t}function U(e){var t=e.name,r=e.location;return r?t+" "+j(r.fileName,r.lineNumber):t}function B(e){var t=(0,s.u)((function(e){return e.cancelledTasks}),e);return t.length?["Tasks cancelled due to error:"].concat(t).join("\n"):""}var $=null,G=[],z=function(e){e.crashedEffect=$,G.push(e)},H=function(){$=null,G.length=0},V=function(e){$=e},K=function(){var e=G[0],t=G.slice(1),r=e.crashedEffect?function(e){var t=(0,s.v)(e);return t?t.code+" "+j(t.fileName,t.lineNumber):""}(e.crashedEffect):null;return["The above error occurred in task "+U(e.meta)+(r?" \n when executing effect "+r:"")].concat(t.map((function(e){return" created by "+U(e.meta)})),[B(G)]).join("\n")};function Y(e,t,r,i,a,o,c){var u;void 0===c&&(c=s.t);var d,h,f=L,p=null,g=[],v=Object.create(r),m=function(e,t,r){var n,i=[],a=!1;function o(e){t(),c(),r(e,!0)}function l(t){i.push(t),t.cont=function(l,c){a||((0,s.r)(i,t),t.cont=s.t,c?o(l):(t===e&&(n=l),i.length||(a=!0,r(n))))}}function c(){a||(a=!0,i.forEach((function(e){e.cont=s.t,e.cancel()})),i=[])}return l(e),{addTask:l,cancelAll:c,abort:o,getTasks:function(){return i}}}(t,(function(){g.push.apply(g,m.getTasks().map((function(e){return e.meta.name})))}),y);function y(t,r){if(r){if(f=I,z({meta:a,cancelledTasks:g}),b.isRoot){var i=K();H(),e.onError(t,{sagaStack:i})}h=t,p&&p.reject(t)}else t===n.nm?f=k:f!==k&&(f=R),d=t,p&&p.resolve(t);b.cont(t,r),b.joiners.forEach((function(e){e.cb(t,r)})),b.joiners=null}var b=((u={})[n.wn]=!0,u.id=i,u.meta=a,u.isRoot=o,u.context=v,u.joiners=[],u.queue=m,u.cancel=function(){f===L&&(f=k,m.cancelAll(),y(n.nm,!1))},u.cont=c,u.end=y,u.setContext=function(e){(0,s.p)(v,e)},u.toPromise=function(){return p||(p=l(),f===I?p.reject(h):f!==L&&p.resolve(d)),p.promise},u.isRunning=function(){return f===L},u.isCancelled=function(){return f===k||f===L&&t.status===k},u.isAborted=function(){return f===I},u.result=function(){return d},u.error=function(){return h},u);return b}function q(e,t,r,i,o,l,c){var u=e.finalizeRunEffect((function(t,r,i){if((0,a.iv)(t))C(t,i);else if((0,a.lJ)(t))q(e,t,h.context,r,o,!1,i);else if(t&&t[n.IO]){(0,N[t.type])(e,t.payload,i,f)}else i(t)}));p.cancel=s.t;var d={meta:o,cancel:function(){d.status===L&&(d.status=k,p(n.nm))},status:L},h=Y(e,d,r,i,o,l,c),f={task:h,digestEffect:g};return c&&(c.cancel=h.cancel),p(),h;function p(e,r){try{var o;r?(o=t.throw(e),H()):(0,s.y)(e)?(d.status=k,p.cancel(),o=(0,a.Pc)(t.return)?t.return(n.nm):{done:!0,value:n.nm}):o=(0,s.z)(e)?(0,a.Pc)(t.return)?t.return():{done:!0}:t.next(e),o.done?(d.status!==k&&(d.status=R),d.cont(o.value)):g(o.value,i,p)}catch(e){if(d.status===k)throw e;d.status=I,d.cont(e,!0)}}function g(t,r,n,i){void 0===i&&(i="");var a,o=M();function l(r,i){a||(a=!0,n.cancel=s.t,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(o,r):e.sagaMonitor.effectResolved(o,r)),i&&V(t),n(r,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:o,parentEffectId:r,label:i,effect:t}),l.cancel=s.t,n.cancel=function(){a||(a=!0,l.cancel(),l.cancel=s.t,e.sagaMonitor&&e.sagaMonitor.effectCancelled(o))},u(t,o,l)}}function W(e,t){var r=e.channel,n=void 0===r?P():r,i=e.dispatch,a=e.getState,o=e.context,l=void 0===o?{}:o,c=e.sagaMonitor,u=e.effectMiddlewares,d=e.onError,h=void 0===d?s.D:d;for(var p=arguments.length,g=new Array(p>2?p-2:0),v=2;v<p;v++)g[v-2]=arguments[v];var m=t.apply(void 0,g);var y,b=M();if(c&&(c.rootSagaStarted=c.rootSagaStarted||s.t,c.effectTriggered=c.effectTriggered||s.t,c.effectResolved=c.effectResolved||s.t,c.effectRejected=c.effectRejected||s.t,c.effectCancelled=c.effectCancelled||s.t,c.actionDispatched=c.actionDispatched||s.t,c.rootSagaStarted({effectId:b,saga:t,args:g})),u){var w=s.B.apply(void 0,u);y=function(e){return function(t,r,n){return w((function(t){return e(t,r,n)}))(t)}}}else y=s.H;var E={channel:n,dispatch:(0,s.E)(i),getState:a,sagaMonitor:c,onError:h,finalizeRunEffect:y};return f((function(){var e=q(E,m,l,b,(0,s.j)(t),!0,void 0);return c&&c.effectResolved(b,e),e}))}const X=function(e){var t,r=void 0===e?{}:e,n=r.context,a=void 0===n?{}:n,o=r.channel,l=void 0===o?P():o,c=r.sagaMonitor,u=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(r,["context","channel","sagaMonitor"]);function d(e){var r=e.getState,n=e.dispatch;return t=W.bind(null,(0,i.A)({},u,{context:a,channel:l,dispatch:n,getState:r,sagaMonitor:c})),function(e){return function(t){c&&c.actionDispatched&&c.actionDispatched(t);var r=e(t);return l.put(t),r}}}return d.run=function(){return t.apply(void 0,arguments)},d.setContext=function(e){(0,s.p)(a,e)},d},Q=X},89979:(e,t,r)=>{"use strict";r.d(t,{Q7:()=>i.$,T1:()=>
2i.O,ZT:()=>i.N,Zy:()=>i.M,yJ:()=>i.Z,Lt:()=>i.a4,s:()=>i.L,jP:()=>h,p8:()=>f,IJ:()=>p});var n=r(54860),i=r(68369),a=function(e){return{done:!0,value:e}},s={};function o(e){return(0,n.Ix)(e)?"channel":(0,n.mr)(e)?String(e):(0,n.Pc)(e)?e.name:String(e)}function l(e,t,r){var n,o,l,c=t;function u(t,r){if(c===s)return a(t);if(r&&!o)throw c=s,r;n&&n(t);var i=r?e[o](r):e[c]();return c=i.nextState,l=i.effect,n=i.stateUpdater,o=i.errorState,c===s?a(t):l}return(0,i.q)(u,(function(e){return u(null,e)}),r)}function c(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];var s,c={done:!1,value:(0,i.L)(e)},u=function(e){return s=e};return l({q1:function(){return{nextState:"q2",effect:c,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:(e=s,{done:!1,value:i.M.apply(void 0,[t].concat(n,[e]))})};var e}},"q1","takeEvery("+o(e)+", "+t.name+")")}function u(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];var s,c,u={done:!1,value:(0,i.L)(e)},d=function(e){return{done:!1,value:i.M.apply(void 0,[t].concat(n,[e]))}},h=function(e){return{done:!1,value:(0,i.N)(e)}},f=function(e){return s=e},p=function(e){return c=e};return l({q1:function(){return{nextState:"q2",effect:u,stateUpdater:p}},q2:function(){return s?{nextState:"q3",effect:h(s)}:{nextState:"q1",effect:d(c),stateUpdater:f}},q3:function(){return{nextState:"q1",effect:d(c),stateUpdater:f}}},"q1","takeLatest("+o(e)+", "+t.name+")")}function d(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];var s,c={done:!1,value:(0,i.L)(e)},u=function(e){return s=e};return l({q1:function(){return{nextState:"q2",effect:c,stateUpdater:u}},q2:function(){return{nextState:"q1",effect:(e=s,{done:!1,value:i.O.apply(void 0,[t].concat(n,[e]))})};var e}},"q1","takeLeading("+o(e)+", "+t.name+")")}function h(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return i.M.apply(void 0,[c,e,t].concat(n))}function f(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return i.M.apply(void 0,[u,e,t].concat(n))}function p(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return i.M.apply(void 0,[d,e,t].concat(n))}},18591:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){var n,a,s;n=e,a=t,s=r[t],(a=i(a))in n?Object.defineProperty(n,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[a]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}r.d(t,{Tw:()=>g,HY:()=>f,Zz:()=>p,y$:()=>h});var l="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function d(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(o(1));return r(h)(e,t)}if("function"!=typeof e)throw new Error(o(2));var i=e,a=t,s=[],c=s,f=!1;function p(){c===s&&(c=s.slice())}function g(){if(f)throw new Error(o(3));return a}function v(e){if("function"!=typeof e)throw new Error(o(4));if(f)throw new Error(o(5));var t=!0;return p(),c.push(e),function(){if(t){if(f)throw new Error(o(6));t=!1,p();var r=c.indexOf(e);c.splice(r,1),s=null}}}function m(e){if(!d(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(f)throw new Error(o(9));try{f=!0,a=i(a,e)}finally{f=!1}for(var t=s=c,r=0;r<t.length;r++){(0,t[r])()}return e}return m({type:u.INIT}),(n={dispatch:m,subscribe:v,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw new Error(o(10));i=e,m({type:u.REPLACE})}})[l]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function r(){e.next&&e.next(g())}return r(),{unsubscribe:t(r)}}})[l]=function(){return this},e},n}function f(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];0,"function"==typeof e[i]&&(r[i]=e[i])}var a,s=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:u.INIT}))throw new Error(o(12));if(void 0===r(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(r)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var n=!1,i={},l=0;l<s.length;l++){var c=s[l],u=r[c],d=e[c],h=u(d,t);if(void 0===h){t&&t.type;throw new Error(o(14))}i[c]=h,n=n||h!==d}return(n=n||s.length!==Object.keys(e).length)?i:e}}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(o(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},a=t.map((function(e){return e(i)}));return n=p.apply(void 0,a)(r.dispatch),s(s({},r),{},{dispatch:n})}}}},83878:(e,t,r)=>{"use strict";r.d(t,{Mz:()=>
2o});var n="NOT_FOUND";var i=function(e,t){return e===t};function a(e,t){var r,a,s="object"==typeof t?t:{equalityCheck:t},o=s.equalityCheck,l=void 0===o?i:o,c=s.maxSize,u=void 0===c?1:c,d=s.resultEqualityCheck,h=function(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,i=0;i<n;i++)if(!e(t[i],r[i]))return!1;return!0}}(l),f=1===u?(r=h,{get:function(e){return a&&r(a.key,e)?a.value:n},put:function(e,t){a={key:e,value:t}},getEntries:function(){return a?[a]:[]},clear:function(){a=void 0}}):function(e,t){var r=[];function i(e){var i=r.findIndex((function(r){return t(e,r.key)}));if(i>-1){var a=r[i];return i>0&&(r.splice(i,1),r.unshift(a)),a.value}return n}return{get:i,put:function(t,a){i(t)===n&&(r.unshift({key:t,value:a}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(u,h);function p(){var t=f.get(arguments);if(t===n){if(t=e.apply(null,arguments),d){var r=f.getEntries().find((function(e){return d(e.value,t)}));r&&(t=r.value)}f.put(arguments,t)}return t}return p.clearCache=function(){return f.clear()},p}function s(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var a,s=0,o={memoizeOptions:void 0},l=n.pop();if("object"==typeof l&&(o=l,l=n.pop()),"function"!=typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=o.memoizeOptions,u=void 0===c?r:c,d=Array.isArray(u)?u:[u],h=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var r=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}(n),f=e.apply(void 0,[function(){return s++,l.apply(null,arguments)}].concat(d)),p=e((function(){for(var e=[],t=h.length,r=0;r<t;r++)e.push(h[r].apply(null,arguments));return a=f.apply(null,e)}));return Object.assign(p,{resultFunc:l,memoizedResultFunc:f,dependencies:h,lastResult:function(){return a},recomputations:function(){return s},resetRecomputations:function(){return s=0}}),p}}var o=s(a)},99126:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some((function(e,n){return e[0]===t&&(r=n,!0)})),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var o=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,i=0;function a(){r&&(r=!1,e()),n&&l()}function o(){s(a)}function l(){var e=Date.now();if(r){if(e-i<2)return;n=!0}else r=!0,n=!1,setTimeout(o,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}
vendor: 4,662 bytes, line 2
2));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;o.some((function(e){return!!~r.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},h=y(0,0,0,0);function f(e){return parseFloat(e)||0}function p(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce((function(t,r){return t+f(e["border-"+r+"-width"])}),0)}function g(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return h;var n=d(e).getComputedStyle(e),i=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],a=e["padding-"+i];t[i]=f(a)}return t}(n),a=i.left+i.right,s=i.top+i.bottom,o=f(n.width),l=f(n.height);if("border-box"===n.boxSizing&&(Math.round(o+a)!==t&&(o-=p(n,"left","right")+a),Math.round(l+s)!==r&&(l-=p(n,"top","bottom")+s)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(o+a)-t,u=Math.round(l+s)-r;1!==Math.abs(c)&&(o-=c),1!==Math.abs(u)&&(l-=u)}return y(i.left,i.top,o,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return i?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):g(e):h}function y(e,t,r,n){return{x:e,y:t,width:r,height:n}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var r,n,i,a,s,o,l,c=(n=(r=t).x,i=r.y,a=r.width,s=r.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(o.prototype),u(l,{x:n,y:i,width:a,height:s,top:i,right:n+a,bottom:s+i,left:n}),l);u(this,{target:e,contentRect:c})},E=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}
2));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),T="undefined"!=typeof WeakMap?new WeakMap:new n,S=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=c.getInstance(),n=new E(t,r,this);T.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){S.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}}));const O=void 0!==a.ResizeObserver?a.ResizeObserver:S},51020:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=n(r(47093)),a=r(80576);t.default=function(e,t){var r={};return e&&"string"==typeof e?((0,i.default)(e,(function(e,n){e&&n&&(r[(0,a.camelCase)(e,t)]=n)})),r):r}},80576:(e,t)=>{"use strict";t.__esModule=!0,t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||r.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(a,l)).replace(n,o))}},47093:(e,t,r)=>{var n=r(15937);function i(e,t){var r,i=null;if(!e||"string"!=typeof e)return i;for(var a,s,o=n(e),l="function"==typeof t,c=0,u=o.length;c<u;c++)a=(r=o[c]).property,s=r.value,l?t(a,s,r):s&&(i||(i={}),i[a]=s);return i}e.exports=i,e.exports.default=i},80679:(e,t,r)=>{"use strict";r.r(t),r.d(t,{focusable:()=>S,getTabIndex:()=>h,isFocusable:()=>A,isTabbable:()=>O,tabbable:()=>T});var n=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=n.join(","),a="undefined"==typeof Element,s=a?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!a&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,r){var n;void 0===r&&(r=!0);var i=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===i||"true"===i||r&&t&&e(t.parentNode)},c=function(e,t,r){if(l(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&s.call(e,i)&&n.unshift(e),n=n.filter(r)},u=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var c=o.shift();if(!l(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,n);n.flatten?a.push.apply(a,d):a.push({scopeParent:c,candidates:d})}else{s.call(c,i)&&n.filter(c)&&(r||!t.includes(c))&&a.push(c);var h=c.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(c),f=!l(h,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(c));if(h&&f){var p=e(!0===h?c.children:h.children,!0,n);n.flatten?a.push.apply(a,p):a.push({scopeParent:c,candidates:p})}else o.unshift.apply(o,c.children)}}return a},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},h=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!d(e)?0:e.tabIndex},f=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},g=function(e){return function(e){return p(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||o(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!i||i===e}(e)},v=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},m=function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=s.call(e,"details>summary:first-of-type")?e.parentElement:e;if(s.call(i,"details:not([open]) *"))return!0;
2if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return v(e)}else{if("function"==typeof n){for(var a=e;e;){var l=e.parentElement,c=o(e);if(l&&!l.shadowRoot&&!0===n(l))return v(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=a}if(function(e){var t,r,n,i,a=e&&o(e),s=null===(t=a)||void 0===t?void 0:t.host,l=!1;if(a&&a!==e)for(l=!!(null!==(r=s)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(s)||null!=e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!l&&s;){var c,u,d;l=!(null===(u=s=null===(c=a=o(s))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(s))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},y=function(e,t){return!(t.disabled||l(t)||function(e){return p(e)&&"hidden"===e.type}(t)||m(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!s.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},b=function(e,t){return!(g(t)||h(t)<0||!y(e,t))},w=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},E=function e(t){var r=[],n=[];return t.forEach((function(t,i){var a=!!t.scopeParent,s=a?t.scopeParent:t,o=function(e,t){var r=h(e);return r<0&&t&&!d(e)?0:r}(s,a),l=a?e(t.candidates):s;0===o?a?r.push.apply(r,l):r.push(s):n.push({documentOrder:i,tabIndex:o,item:t,isScope:a,content:l})})),n.sort(f).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},T=function(e,t){var r;return r=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:b.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):c(e,t.includeContainer,b.bind(null,t)),E(r)},S=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,y.bind(null,t))},O=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==s.call(e,i)&&b(t,e)},x=n.concat("iframe").join(","),A=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==s.call(e,x)&&y(t,e)}},3662:function(e,t){!function(e){"use strict";function t(e,t,r,n){var i,a=!1,s=0;function o(){i&&clearTimeout(i)}function l(){o(),a=!0}function c(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var d=this,h=Date.now()-s;function f(){s=Date.now(),r.apply(d,c)}function p(){i=void 0}a||(n&&!i&&f(),o(),void 0===n&&h>e?f():!0!==t&&(i=setTimeout(n?p:f,void 0===n?e-h:e)))}return"boolean"!=typeof t&&(n=r,r=t,t=void 0),c.cancel=l,c}function r(e,r,n){return void 0===n?t(e,r,!1):t(e,n,!1!==r)}e.debounce=r,e.throttle=t,Object.defineProperty(e,"__esModule",{value:!0})}(t)},80917:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(63070);function i(e,t){void 0===t&&(t={});var r=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(r,t.doNotParse))try{return JSON.parse(r)}catch(e){}return e}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)};const s=function(){function e(e,t){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?n.q(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise((function(){r.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=n.q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,r){return void 0===t&&(t={}),this._updateBrowserValues(r),i(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var r={};for(var n in this.cookies)r[n]=i(this.cookies[n],e);return r},e.prototype.set=function(e,t,r){var i;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=a(a({},this.cookies),((i={})[e]=t,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=n.l(e,t,r)),this._emitChange({name:e,value:t,options:r})},e.prototype.remove=function(e,t){var r=t=a(a({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
2);this.cookies=a({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=n.l(e,"",r)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}()},63070:(e,t)=>{"use strict";t.q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},s=e.split(";"),o=i.decode||r,l=0;l<s.length;l++){var c=s[l],u=c.indexOf("=");if(!(u<0)){var d=c.substring(0,u).trim();if(null==n[d]){var h=c.substring(u+1,c.length).trim();'"'===h[0]&&(h=h.slice(1,-1)),n[d]=a(h,o)}}}return n},t.l=function(e,t,r){var a=r||{},s=a.encode||n;if("function"!=typeof s)throw new TypeError("option encode is invalid");if(!i.test(e))throw new TypeError("argument name is invalid");var o=s(t);if(o&&!i.test(o))throw new TypeError("argument val is invalid");var l=e+"="+o;if(null!=a.maxAge){var c=a.maxAge-0;if(isNaN(c)||!isFinite(c))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(a.domain){if(!i.test(a.domain))throw new TypeError("option domain is invalid");l+="; Domain="+a.domain}if(a.path){if(!i.test(a.path))throw new TypeError("option path is invalid");l+="; Path="+a.path}if(a.expires){if("function"!=typeof a.expires.toUTCString)throw new TypeError("option expires is invali
2d");l+="; Expires="+a.expires.toUTCString()}a.httpOnly&&(l+="; HttpOnly");a.secure&&(l+="; Secure");if(a.sameSite){switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l};var r=decodeURIComponent,n=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}},34026:(e,t,r)=>{"use strict";var n=r(14041);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,s=n.useEffect,o=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapsh
2ot:t}}),i=n[0].inst,u=n[1];return o((function(){i.value=r,i.getSnapshot=t,c(i)&&u({inst:i})}),[e,r,t]),s((function(){return c(i)&&u({inst:i}),e((function(){c(i)&&u({inst:i})}))}),[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},4965:(e,t,r)=>{"use strict";var n=r(14041),i=r(58139);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useSyncExternalStore,o=n.useRef,l=n.useEffect,c=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var d=o(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;d=c((function(){function e(e){if(!l){if(l=!0,s=e,e=n(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return o=t}return o=e}if(t=o,a(s,e))return t;var r=n(e);return void 0!==i&&i(t,r)?t:(s=e,o=r)}var s,o,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,r,n,i]);var f=s(e,d[0],d[1]);return l((function(){h.hasValue=!0,h.value=f}),[f]),u(f),f}},58139:(e,t,r)=>{"use strict";e.exports=r(34026)},37121:(e,t,r)=>{"use strict";e.exports=r(4965)},52964:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});const n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i;const a=new Uint8Array(16);function s(){if(!i&&(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(a)}const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function l(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}const c=function(e,t,r){if(n.randomUUID&&!t&&!e)return n.randomUUID();const i=(e=e||{}).random||(e.rng||s)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=i[e];return t}return l(i)}},29002:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},81320:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function a(e,t,r){return t=o(t),function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,s()?Reflect.construct(t,r||[],o(e).constructor):t.apply(e,r))}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}var u=r(14041),d=r(39067),h=r(72773).createFocusTrap,f=r(80679).isFocusable,p=function(e){function t(e){var r,n,i,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=a(this,t,[e]),n=r,s=function(e){var t,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r=r.apply(void 0,i)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s,o=r;if("string"==typeof r&&!(o=null===(s=this.getDocument())||void 0===s?void 0:s.querySelector(r)))throw new Error("`".concat(e,"` as selector refers to no known node"));return o},(i=c(i="getNodeForOption"))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s,r.handleDeactivate=r.handleDeactivate.bind(r),r.handlePostDeactivate=r.handlePostDeactivate.bind(r),r.handleClickOutsideDeactivates=r.handleClickOutsideDeactivates.bind(r),r.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:r.handleDeactivate,onPostDeactivate:r.handlePostDeactivate,clickOutsideDeactivates:r.handleClickOutsideDeactivates},r.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=e.focusTrapOptions;for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&("returnFocusOnDeactivate"!==l&&"onDeactivate"!==l&&"onPostDeactivate"!==l&&"checkCanReturnFocus"!==l&&"clickOutsideDeactivates"!==l?r.internalOptions[l]=o[l]:r.originalOptions[l]=o[l]);return r.outsideClick=null,r.focusTrapElements=e.containerElements||[],r.updatePreviousElement(),r}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&&l(e,t)}(t,e),r=t,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),r=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),n=e.internalOptions.preventScroll,i=void 0!==n&&n;r&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,r=e.active&&!this.props.active,n=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),r)return void this.deactivateTrap();n&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?u.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===u.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return u.cloneElement(t,{ref:function(r){var n=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(r):t.ref&&(t.ref.current=r)),e.focusTrapElements=n||[r]}})}return null}}])&&i(r.prototype,n),s&&i(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,s}(u.Component),g="undefined"==typeof Element?Function:Element;p.propTypes={active:d.bool,paused:d.bool,focusTrapOptions:d.shape({document:d.object,onActivate:d.func,onPostActivate:d.func,checkCanFocusTrap:d.func,onPause:d.func,onPostPause:d.func,onUnpause:d.func,onPostUnpause:d.func,onDeactivate:d.func,onPostDeactivate:d.func,checkCanReturnFocus:d.func,initialFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),fallbackFocus:d.oneOfType([d.instanceOf(g),d.string,d.func]),escapeDeactivates:d.oneOfType([d.bool,d.func]),clickOutsideDeactivates:d.oneOfType([d.bool,d.func]),returnFocusOnDeactivate:d.bool,setReturnFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),allowOutsideClick:d.oneOfType([d.bool,d.func]),preventScroll:d.bool,tabbableOptions:d.shape({displayCheck:d.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:d.oneOfType([d.bool,d.func])}),trapStack:d.array,isKeyForward:d.func,isKeyBackward:d.func}),containerElements:d.arrayOf(d.instanceOf(g)),children:d.oneOfType([d.element,d.instanceOf(g)])},p.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:h},e.exports=p},72773:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createFocusTrap:()=>y});var n=r(80679);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e){return function(e){if(Array.isArray(e))return i(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 i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(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.")}()}var c=function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},u=function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()},d=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},h=function(e){return d(e)&&!e.shiftKey},f=function(e){return d(e)&&e.shiftKey},p=function(e){return setTimeout(e,0)},g=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,r):e},v=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},m=[],y=function(e,t){var r,i=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||m,s=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:h,isKeyBackward:f},t),y={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b=function(e,t,r){return e&&void 0!==e[t]?e[t]:s[r||t]},w=function(e,t){var r="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return y.containerGroups.findIndex((function(t){var n=t.container,i=t.tabbableNodes;return n.contains(e)||(null==r?void 0:r.includes(n))||i.find((function(t){return t===e}))}))},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.hasFallback,n=void 0!==r&&r,a=t.params,o=void 0===a?[]:a,c=s[e];if("function"==typeof c&&(c=c.apply(void 0,l(o))),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=c;if("string"==typeof c){try{u=i.querySelector(c)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!u&&!n)throw new Error("`".concat(e,"` as selector refers to no known node"))}return u},T=function(){var e=E("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,n.isFocusable)(e,s.tabbableOptions))if(w(i.activeElement)>=0)e=i.activeElement;else{var t=y.tabbableGroups[0];e=t&&t.firstTabbableNode||E("fallbackFocus")}else null===e&&(e=E("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},S=function(){if(y.containerGroups=y.containers.map((function(e){var t=(0,n.tabbable)(e,s.tabbableOptions),r=(0,n.focusable)(e,s.tabbableOptions),i=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=r.find((function(e){return(0,n.isTabbable)(e)})),l=r.slice().reverse().find((function(e){return(0,n.isTabbable)(e)})),c=!!t.find((function(e){return(0,n.getTabIndex)(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:c,firstTabbableNode:i,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:l,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t.indexOf(e);return a<0?i?r.slice(r.indexOf(e)+1).find((function(e){return(0,n.isTabbable)(e)})):r.slice(0,r.indexOf(e)).reverse().find((function(e){return(0,n.isTabbable)(e)})):t[a+(i?1:-1)]}}})),y.tabbableGroups=y.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),y.tabbableGroups.length<=0&&!E("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(y.containerGroups.find((function(e){return e.posTabIndexesFound}))&&y.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},O=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?O(t.shadowRoot):t}
vendor: 5,289 bytes, line 2
2,x=function(e){!1!==e&&e!==O(document)&&(e&&e.focus?(e.focus({preventScroll:!!s.preventScroll}),y.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):x(T()))},A=function(e){var t=E("setReturnFocus",{params:[e]});return t||!1!==t&&e},P=function(e){var t=e.target,r=e.event,i=e.isBackward,a=void 0!==i&&i;t=t||v(r),S();var o=null;if(y.tabbableGroups.length>0){var l=w(t,r),c=l>=0?y.containerGroups[l]:void 0;if(l<0)o=a?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(a){var u=y.tabbableGroups.findIndex((function(e){var r=e.firstTabbableNode;return t===r}));if(u<0&&(c.container===t||(0,n.isFocusable)(t,s.tabbableOptions)&&!(0,n.isTabbable)(t,s.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(u=l),u>=0){var h=0===u?y.tabbableGroups.length-1:u-1,f=y.tabbableGroups[h];o=(0,n.getTabIndex)(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else d(r)||(o=c.nextTabbableNode(t,!1))}else{var p=y.tabbableGroups.findIndex((function(e){var r=e.lastTabbableNode;return t===r}));if(p<0&&(c.container===t||(0,n.isFocusable)(t,s.tabbableOptions)&&!(0,n.isTabbable)(t,s.tabbableOptions)&&!c.nextTabbableNode(t))&&(p=l),p>=0){var g=p===y.tabbableGroups.length-1?0:p+1,m=y.tabbableGroups[g];o=(0,n.getTabIndex)(t)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else d(r)||(o=c.nextTabbableNode(t))}}else o=E("fallbackFocus");return o},L=function(e){var t=v(e);w(t,e)>=0||(g(s.clickOutsideDeactivates,e)?r.deactivate({returnFocus:s.returnFocusOnDeactivate}):g(s.allowOutsideClick,e)||e.preventDefault())},k=function(e){var t=v(e),r=w(t,e)>=0;if(r||t instanceof Document)r&&(y.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var a=!0;if(y.mostRecentlyFocusedNode)if((0,n.getTabIndex)(y.mostRecentlyFocusedNode)>0){var o=w(y.mostRecentlyFocusedNode),l=y.containerGroups[o].tabbableNodes;if(l.length>0){var c=l.findIndex((function(e){return e===y.mostRecentlyFocusedNode}));c>=0&&(s.isKeyForward(y.recentNavEvent)?c+1<l.length&&(i=l[c+1],a=!1):c-1>=0&&(i=l[c-1],a=!1))}}else y.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return(0,n.getTabIndex)(e)>0}))}))||(a=!1);else a=!1;a&&(i=P({target:y.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(y.recentNavEvent)})),x(i||(y.mostRecentlyFocusedNode||T()))}y.recentNavEvent=void 0},I=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y.recentNavEvent=e;var r=P({event:e,isBackward:t});r&&(d(e)&&e.preventDefault(),x(r))}(e,s.isKeyBackward(e))},R=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===g(s.escapeDeactivates,e)||(e.preventDefault(),r.deactivate())},C=function(e){var t=v(e);w(t,e)>=0||g(s.clickOutsideDeactivates,e)||g(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},D=function(){if(y.active)return c(a,r),y.delayInitialFocusTimer=s.delayInitialFocus?p((function(){x(T())})):x(T()),i.addEventListener("focusin",k,!0),i.addEventListener("mousedown",L,{capture:!0,passive:!1}),i.addEventListener("touchstart",L,{capture:!0,passive:!1}),i.addEventListener("click",C,{capture:!0,passive:!1}),i.addEventListener("keydown",I,{capture:!0,passive:!1}),i.addEventListener("keydown",R),r},_=function(){if(y.active)return i.removeEventListener("focusin",k,!0),i.removeEventListener("mousedown",L,!0),i.removeEventListener("touchstart",L,!0),i.removeEventListener("click",C,!0),i.removeEventListener("keydown",I,!0),i.removeEventListener("keydown",R),r},M="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===y.mostRecentlyFocusedNode}))}))&&x(T())})):void 0,F=function(){M&&(M.disconnect(),y.active&&!y.paused&&y.containers.map((function(e){M.observe(e,{subtree:!0,childList:!0})})))};return(r={get active(){return y.active},get paused(){return y.paused},activate:function(e){if(y.active)return this;var t=b(e,"onActivate"),r=b(e,"onPostActivate"),n=b(e,"checkCanFocusTrap");n||S(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var a=function(){n&&S(),D(),F(),null==r||r()};return n?(n(y.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!y.active)return this;var t=o({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,_(),y.active=!1,y.paused=!1,F(),u(a,r);var n=b(t,"onDeactivate"),i=b(t,"onPostDeactivate"),l=b(t,"checkCanReturnFocus"),c=b(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var d=function(){p((function(){c&&x(A(y.nodeFocusedBeforeActivation)),null==i||i()}))};return c&&l?(l(A(y.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(y.paused||!y.active)return this;var t=b(e,"onPause"),r=b(e,"onPostPause");return y.paused=!0,null==t||t(),_(),F(),null==r||r(),this},unpause:function(e){if(!y.paused||!y.active)return this;var t=b(e,"onUnpause"),r=b(e,"onPostUnpause");return y.paused=!1,null==t||t(),S(),D(),F(),null==r||r(),this}
vendor: 1,756 bytes, line 2
2,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return y.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),y.active&&S(),F(),this}}).updateContainerElements(e),r}},53373:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},44977:(e,t,r)=>{"use strict";var n=r(14188),i=r(13174),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}},91361:(e,t,r)=>{"use strict";var n=r(80866),i=r(13174),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a constructor")}},74121:(e,t,r)=>{"use strict";var n=r(16712),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}},95458:(e,t,r)=>{"use strict";var n=r(4282),i=r(77065),a=r(64466).f,s=n("unscopables"),o=Array.prototype;void 0===o[s]&&a(o,s,{configurable:!0,value:i(null)}),e.exports=function(e){o[s][e]=!0}},154:(e,t,r)=>{"use strict";var n=r(64212).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},40286:(e,t,r)=>{"use strict";var n=r(4578),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},3770:(e,t,r)=>{"use strict";
vendor: 6,309 bytes, line 2
2var n=r(80831),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}},65469:(e,t,r)=>{"use strict";var n=r(5234);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},38150:(e,t,r)=>{"use strict";var n=r(83628),i=r(70675),a=r(69389);e.exports=function(e){for(var t=n(this),r=a(t),s=arguments.length,o=i(s>1?arguments[1]:void 0,r),l=s>2?arguments[2]:void 0,c=void 0===l?r:i(l,r);c>o;)t[o++]=e;return t}},57500:(e,t,r)=>{"use strict";var n=r(34104).forEach,i=r(55397)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},86859:(e,t,r)=>{"use strict";var n=r(85821),i=r(39944),a=r(83628),s=r(34412),o=r(28146),l=r(80866),c=r(69389),u=r(94417),d=r(62350),h=r(69874),f=Array;e.exports=function(e){var t=a(e),r=l(this),p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g;v&&(g=n(g,p>2?arguments[2]:void 0));var m,y,b,w,E,T,S=h(t),O=0;if(!S||this===f&&o(S))for(m=c(t),y=r?new this(m):f(m);m>O;O++)T=v?g(t[O],O):t[O],u(y,O,T);else for(y=r?new this:[],E=(w=d(t,S)).next;!(b=i(E,w)).done;O++)T=v?s(w,g,[b.value,O],!0):b.value,u(y,O,T);return y.length=O,y}},81458:(e,t,r)=>{"use strict";var n=r(10380),i=r(70675),a=r(69389),s=function(e){return function(t,r,s){var o=n(t),l=a(o);if(0===l)return!e&&-1;var c,u=i(s,l);if(e&&r!=r){for(;l>u;)if((c=o[u++])!=c)return!0}else for(;l>u;u++)if((e||u in o)&&o[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},34104:(e,t,r)=>{"use strict";var n=r(85821),i=r(16881),a=r(47568),s=r(83628),o=r(69389),l=r(75022),c=i([].push),u=function(e){var t=1===e,r=2===e,i=3===e,u=4===e,d=6===e,h=7===e,f=5===e||d;return function(p,g,v,m){for(var y,b,w=s(p),E=a(w),T=o(E),S=n(g,v),O=0,x=m||l,A=t?x(p,T):r||h?x(p,0):void 0;T>O;O++)if((f||O in E)&&(b=S(y=E[O],O,w),e))if(t)A[O]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return O;case 2:c(A,y)}else switch(e){case 4:return!1;case 7:c(A,y)}return d?-1:i||u?u:A}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},63014:(e,t,r)=>{"use strict";var n=r(40646),i=r(10380),a=r(76744),s=r(69389),o=r(55397),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=o("lastIndexOf"),h=u||!d;e.exports=h?function(e){if(u)return n(c,this,arguments)||0;var t=i(this),r=s(t);if(0===r)return-1;var o=r-1;for(arguments.length>1&&(o=l(o,a(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:c},10378:(e,t,r)=>{"use strict";var n=r(5234),i=r(4282),a=r(33749),s=i("species");e.exports=function(e){return a>=51||!n((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},55397:(e,t,r)=>{"use strict";var n=r(5234);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},49989:(e,t,r)=>{"use strict";var n=r(44977),i=r(83628),a=r(47568),s=r(69389),o=TypeError,l="Reduce of empty array with no initial value",c=function(e){return function(t,r,c,u){var d=i(t),h=a(d),f=s(d);if(n(r),0===f&&c<2)throw new o(l);var p=e?f-1:0,g=e?-1:1;if(c<2)for(;;){if(p in h){u=h[p],p+=g;break}if(p+=g,e?p<0:f<=p)throw new o(l)}for(;e?p>=0:f>p;p+=g)p in h&&(u=r(u,h[p],p,d));return u}};e.exports={left:c(!1),right:c(!0)}},14224:(e,t,r)=>{"use strict";var n=r(96893),i=r(26719),a=TypeError,s=Object.getOwnPropertyDescriptor,o=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(i(e)&&!s(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},27825:(e,t,r)=>{"use strict";var n=r(16881);e.exports=n([].slice)},9295:(e,t,r)=>{"use strict";var n=r(27825),i=Math.floor,a=function(e,t){var r=e.length;if(r<8)for(var s,o,l=1;l<r;){for(o=l,s=e[l];o&&t(e[o-1],s)>0;)e[o]=e[--o];o!==l++&&(e[o]=s)}else for(var c=i(r/2),u=a(n(e,0,c),t),d=a(n(e,c),t),h=u.length,f=d.length,p=0,g=0;p<h||g<f;)e[p+g]=p<h&&g<f?t(u[p],d[g])<=0?u[p++]:d[g++]:p<h?u[p++]:d[g++];return e};e.exports=a},49980:(e,t,r)=>{"use strict";var n=r(26719),i=r(80866),a=r(80831),s=r(4282)("species"),o=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===o||n(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}},75022:(e,t,r)=>{"use strict";var n=r(49980);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},34412:(e,t,r)=>{"use strict";var n=r(3770),i=r(88500);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},7283:(e,t,r)=>{"use strict";var n=r(4282)("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},38689:(e,t,r)=>{"use strict";var n=r(16881),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},65438:(e,t,r)=>{"use strict";var n=r(79345),i=r(14188),a=r(38689),s=r(4282)("toStringTag"),o=Object,l="Arguments"===a(function(){return arguments}());e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=o(e),s))?r:l?a(t):"Object"===(n=a(t))&&i(t.callee)?"Arguments":n}},63231:(e,t,r)=>{"use strict";var n=r(77065),i=r(10997),a=r(74320),s=r(85821),o=r(40286),l=r(44318),c=r(38873),u=r(83217),d=r(76224),h=r(43900),f=r(96893),p=r(38118).fastKey,g=r(43086),v=g.set,m=g.getterFor;e.exports={getConstructor:function(e,t,r,u){var d=e((function(e,i){o(e,h),v(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),f||(e.size=0),l(i)||c(i,e[u],{that:e,AS_ENTRIES:r})})),h=d.prototype,g=m(t),y=function(e,t,r){var n,i,a=g(e),s=b(e,t);return s?s.value=r:(a.last=s={index:i=p(t,!0),key:t,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=s),n&&(n.next=s),f?a.size++:e.size++,"F"!==i&&(a.index[i]=s)),e},b=function(e,t){var r,n=g(e),i=p(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===t)return r};
vendor: 21,691 bytes, line 2
2return a(h,{clear:function(){for(var e=g(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=n(null),f?e.size=0:this.size=0},delete:function(e){var t=this,r=g(t),n=b(t,e);if(n){var i=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=i),i&&(i.previous=a),r.first===n&&(r.first=i),r.last===n&&(r.last=a),f?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=g(this),n=s(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),a(h,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),f&&i(h,"size",{configurable:!0,get:function(){return g(this).size}}),d},setStrong:function(e,t,r){var n=t+" Iterator",i=m(t),a=m(n);u(e,t,(function(e,t){v(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?d("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=void 0,d(void 0,!0))}),r?"entries":"values",!r,!0),h(t)}}},36351:(e,t,r)=>{"use strict";var n=r(5613),i=r(51488),a=r(16881),s=r(68489),o=r(97509),l=r(38118),c=r(38873),u=r(40286),d=r(14188),h=r(44318),f=r(80831),p=r(5234),g=r(7283),v=r(93754),m=r(44166);e.exports=function(e,t,r){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=y?"set":"add",E=i[e],T=E&&E.prototype,S=E,O={},x=function(e){var t=a(T[e]);o(T,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return b&&!f(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(s(e,!d(E)||!(b||T.forEach&&!p((function(){(new E).entries().next()})))))S=r.getConstructor(t,e,y,w),l.enable();else if(s(e,!0)){var A=new S,P=A[w](b?{}:-0,1)!==A,L=p((function(){A.has(1)})),k=g((function(e){new E(e)})),I=!b&&p((function(){for(var e=new E,t=5;t--;)e[w](t,t);return!e.has(-0)}));k||((S=t((function(e,t){u(e,T);var r=m(new E,e,S);return h(t)||c(t,r[w],{that:r,AS_ENTRIES:y}),r}))).prototype=T,T.constructor=S),(L||I)&&(x("delete"),x("has"),y&&x("get")),(I||P)&&x(w),b&&T.clear&&delete T.clear}return O[e]=S,n({global:!0,constructor:!0,forced:S!==E},O),v(S,e),b||r.setStrong(S,e,y),S}},98657:(e,t,r)=>{"use strict";var n=r(74418),i=r(73168),a=r(9304),s=r(64466);e.exports=function(e,t,r){for(var o=i(t),l=s.f,c=a.f,u=0;u<o.length;u++){var d=o[u];n(e,d)||r&&n(r,d)||l(e,d,c(t,d))}}},36425:(e,t,r)=>{"use strict";var n=r(4282)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},50680:(e,t,r)=>{"use strict";var n=r(5234);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},76224:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},88088:(e,t,r)=>{"use strict";var n=r(96893),i=r(64466),a=r(39123);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},39123:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},94417:(e,t,r)=>{"use strict";var n=r(96893),i=r(64466),a=r(39123);e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},48089:(e,t,r)=>{"use strict";var n=r(3770),i=r(2287),a=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new a("Incorrect hint");return i(this,e)}},10997:(e,t,r)=>{"use strict";var n=r(74530),i=r(64466);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},97509:(e,t,r)=>{"use strict";var n=r(14188),i=r(64466),a=r(74530),s=r(14798);e.exports=function(e,t,r,o){o||(o={});var l=o.enumerable,c=void 0!==o.name?o.name:t;if(n(r)&&a(r,c,o),o.global)l?e[t]=r:s(t,r);else{try{o.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},74320:(e,t,r)=>{"use strict";var n=r(97509);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},14798:(e,t,r)=>{"use strict";var n=r(51488),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},81305:(e,t,r)=>{"use strict";var n=r(13174),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},96893:(e,t,r)=>{"use strict";var n=r(5234);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},65926:(e,t,r)=>{"use strict";var n=r(51488),i=r(80831),a=n.document,s=i(a)&&i(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},14578:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},39429:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},87463:(e,t,r)=>{"use strict";var n=r(65926)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},38807:(e,t,r)=>{"use strict";var n=r(94109).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},17267:(e,t,r)=>{"use strict";var n=r(37499),i=r(77359);e.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},37499:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},85661:(e,t,r)=>{"use strict";var n=r(94109);e.exports=/MSIE|Trident/.test(n)},76951:(e,t,r)=>{"use strict";var n=r(94109);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},69226:(e,t,r)=>{"use strict";var n=r(94109);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},77359:(e,t,r)=>{"use strict";var n=r(51488),i=r(38689);e.exports="process"===i(n.process)},97574:(e,t,r)=>{"use strict";var n=r(94109);e.exports=/web0s(?!.*chrome)/i.test(n)},94109:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},33749:(e,t,r)=>{"use strict";var n,i,a=r(51488),s=r(94109),o=a.process,l=a.Deno,c=o&&o.versions||l&&l.version,u=c&&c.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},23589:(e,t,r)=>{"use strict";var n=r(94109).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},61274:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(e,t,r)=>{"use strict";var n=r(51488),i=r(9304).f,a=r(88088),s=r(97509),o=r(14798),l=r(98657),c=r(68489);e.exports=function(e,t){var r,u,d,h,f,p=e.target,g=e.global,v=e.stat;if(r=g?n:v?n[p]||o(p,{}):n[p]&&n[p].prototype)for(u in t){if(h=t[u],d=e.dontCallGetSet?(f=i(r,u))&&f.value:r[u],!c(g?u:p+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&a(h,"sham",!0),s(r,u,h,e)}}},5234:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},40467:(e,t,r)=>{"use strict";r(98376);var n=r(39944),i=r(97509),a=r(29342),s=r(5234),o=r(4282),l=r(88088),c=o("species"),u=RegExp.prototype;e.exports=function(e,t,r,d){var h=o(e),f=!s((function(){var t={};return t[h]=function(){return 7},7!==""[e](t)})),p=f&&!s((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!f||!p||r){var g=/./[h],v=t(h,""[e],(function(e,t,r,i,s){var o=t.exec;return o===a||o===u.exec?f&&!s?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}}));i(String.prototype,e,v[0]),i(u,h,v[1])}d&&l(u[h],"sham",!0)}},50336:(e,t,r)=>{"use strict";var n=r(26719),i=r(69389),a=r(14578),s=r(85821),o=function(e,t,r,l,c,u,d,h){for(var f,p,g=c,v=0,m=!!d&&s(d,h);v<l;)v in r&&(f=m?m(r[v],v,t):r[v],u>0&&n(f)?(p=i(f),g=o(e,t,f,p,g,u-1)-1):(a(g+1),e[g]=f),g++),v++;return g};e.exports=o},39391:(e,t,r)=>{"use strict";var n=r(5234);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},40646:(e,t,r)=>{"use strict";var n=r(89055),i=Function.prototype,a=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(a):function(){return s.apply(a,arguments)})},85821:(e,t,r)=>{"use strict";var n=r(95691),i=r(44977),a=r(89055),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?s(e,t):function(){return e.apply(t,arguments)}}},89055:(e,t,r)=>{"use strict";var n=r(5234);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46435:(e,t,r)=>{"use strict";var n=r(16881),i=r(44977),a=r(80831),s=r(74418),o=r(27825),l=r(89055),c=Function,u=n([].concat),d=n([].join),h={};e.exports=l?c.bind:function(e){var t=i(this),r=t.prototype,n=o(arguments,1),l=function(){var r=u(n,o(arguments));return this instanceof l?function(e,t,r){if(!s(h,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";h[t]=c("C,a","return new C("+d(n,",")+")")}return h[t](e,r)}(t,r.length,r):t.apply(e,r)};return a(r)&&(l.prototype=r),l}},39944:(e,t,r)=>{"use strict";var n=r(89055),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},92735:(e,t,r)=>{"use strict";var n=r(96893),i=r(74418),a=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,o=i(a,"name"),l=o&&"something"===function(){}.name,c=o&&(!n||n&&s(a,"name").configurable);e.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},71025:(e,t,r)=>{"use strict";var n=r(16881),i=r(44977);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},95691:(e,t,r)=>{"use strict";var n=r(38689),i=r(16881);e.exports=function(e){if("Function"===n(e))return i(e)}},16881:(e,t,r)=>{"use strict";var n=r(89055),i=Function.prototype,a=i.call,s=n&&i.bind.bind(a,a);e.exports=n?s:function(e){return function(){return a.apply(e,arguments)}}},5604:(e,t,r)=>{"use strict";var n=r(51488),i=r(14188);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},69874:(e,t,r)=>{"use strict";var n=r(65438),i=r(12913),a=r(44318),s=r(49164),o=r(4282)("iterator");e.exports=function(e){if(!a(e))return i(e,o)||i(e,"@@iterator")||s[n(e)]}},62350:(e,t,r)=>{"use strict";var n=r(39944),i=r(44977),a=r(3770),s=r(13174),o=r(69874),l=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(i(r))return a(n(r,e));throw new l(s(e)+" is not iterable")}},58254:(e,t,r)=>{"use strict";var n=r(16881),i=r(26719),a=r(14188),s=r(38689),o=r(92618),l=n([].push);e.exports=function(e){if(a(e))return e;if(i(e)){for(var t=e.length,r=[],n=0;n<t;n++){var c=e[n];"string"==typeof c?l(r,c):"number"!=typeof c&&"Number"!==s(c)&&"String"!==s(c)||l(r,o(c))}var u=r.length,d=!0;return function(e,t){if(d)return d=!1,t;if(i(this))return t;for(var n=0;n<u;n++)if(r[n]===e)return t}}}},12913:(e,t,r)=>{"use strict";var n=r(44977),i=r(44318);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},51113:(e,t,r)=>{"use strict";var n=r(16881),i=r(83628),a=Math.floor,s=n("".charAt),o=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,h){var f=r+e.length,p=n.length,g=u;return void 0!==d&&(d=i(d),g=c),o(h,g,(function(i,o){var c;switch(s(o,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,f);case"<":c=d[l(o,1,-1)];break;default:var u=+o;if(0===u)return i;if(u>p){var h=a(u/10);return 0===h?i:h<=p?void 0===n[h-1]?s(o,1):n[h-1]+s(o,1):i}c=n[u-1]}return void 0===c?"":c}))}},51488:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},74418:(e,t,r)=>{"use strict";var n=r(16881),i=r(83628),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},67588:e=>{"use strict";e.exports={}},3306:e=>{"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},67458:(e,t,r)=>{"use strict";var n=r(5604);e.exports=n("document","documentElement")},39622:(e,t,r)=>{"use strict";var n=r(96893),i=r(5234),a=r(65926);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},47568:(e,t,r)=>{"use strict";var n=r(16881),i=r(5234),a=r(38689),s=Object,o=n("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?o(e,""):s(e)}:s},44166:(e,t,r)=>{"use strict";var n=r(14188),i=r(80831),a=r(5054);e.exports=function(e,t,r){var s,o;return a&&n(s=t.constructor)&&s!==r&&i(o=s.prototype)&&o!==r.prototype&&a(e,o),e}},13029:(e,t,r)=>{"use strict";var n=r(16881),i=r(14188),a=r(62694),s=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return s(e)}),e.exports=a.inspectSource},38118:(e,t,r)=>{"use strict";var n=r(5613),i=r(16881),a=r(67588),s=r(80831),o=r(74418),l=r(64466).f,c=r(25629),u=r(43701),d=r(11927),h=r(66209),f=r(39391),p=!1,g=h("meta"),v=0,m=function(e){l(e,g,{value:{objectID:"O"+v++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},p=!0;var e=c.f,t=i([].splice),r={};r[g]=1,e(r).length&&(c.f=function(r){for(var n=e(r),i=0,a=n.length;i<a;i++)if(n[i]===g){t(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,g)){if(!d(e))return"F";if(!t)return"E";m(e)}return e[g].objectID},getWeakData:function(e,t){if(!o(e,g)){if(!d(e))return!0;if(!t)return!1;m(e)}return e[g].weakData},onFreeze:function(e){return f&&p&&d(e)&&!o(e,g)&&m(e),e}};a[g]=!0},43086:(e,t,r)=>{"use strict";var n,i,a,s=r(45945),o=r(51488),l=r(80831),c=r(88088),u=r(74418),d=r(62694),h=r(40168),f=r(67588),p="Object already initialized",g=o.TypeError,v=o.WeakMap;if(s||d.state){var m=d.state||(d.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},a=function(e){return m.has(e)}}else{var y=h("state");f[y]=!0,n=function(e,t){if(u(e,y))throw new g(p);return t.facade=e,c(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},a=function(e){return u(e,y)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},28146:(e,t,r)=>{"use strict";var n=r(4282),i=r(49164),a=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[a]===e)}},26719:(e,t,r)=>{"use strict";var n=r(38689);e.exports=Array.isArray||function(e){return"Array"===n(e)}},14188:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},80866:(e,t,r)=>{"use strict";var n=r(16881),i=r(5234),a=r(14188),s=r(65438),o=r(5604),l=r(13029),c=function(){},u=o("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=n(d.exec),f=!d.test(c),p=function(e){if(!a(e))return!1;try{return u(c,[],e),!0}catch(e){return!1}},g=function(e){if(!a(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!h(d,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!u||i((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?g:p},68489:(e,t,r)=>{"use strict";var n=r(5234),i=r(14188),a=/#|\.prototype\./,s=function(e,t){var r=l[o(e)];return r===u||r!==c&&(i(t)?n(t):!!t)},o=s.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},44318:e=>{"use strict";e.exports=function(e){return null==e}},80831:(e,t,r)=>{"use strict";var n=r(14188);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},16712:(e,t,r)=>{"use strict";var n=r(80831);e.exports=function(e){return n(e)||null===e}},1942:e=>{"use strict";e.exports=!1},30473:(e,t,r)=>{"use strict";var n=r(80831),i=r(38689),a=r(4282)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},6032:(e,t,r)=>{"use strict";var n=r(5604),i=r(14188),a=r(4578),s=r(89809),o=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,o(e))}},38873:(e,t,r)=>{"use strict";var n=r(85821),i=r(39944),a=r(3770),s=r(13174),o=r(28146),l=r(69389),c=r(4578),u=r(62350),d=r(69874),h=r(88500),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var v,m,y,b,w,E,T,S=r&&r.that,O=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),L=n(t,S),k=function(e){return v&&h(v,"normal",e),new p(!0,e)},I=function(e){return O?(a(e),P?L(e[0],e[1],k):L(e[0],e[1])):P?L(e,k):L(e)};if(x)v=e.iterator;else if(A)v=e;else{if(!(m=d(e)))throw new f(s(e)+" is not iterable");if(o(m)){for(y=0,b=l(e);b>y;y++)if((w=I(e[y]))&&c(g,w))return w;return new p(!1)}v=u(e,m)}for(E=x?e.next:v.next;!(T=i(E,v)).done;){try{w=I(T.value)}catch(e){h(v,"throw",e)}if("object"==typeof w&&w&&c(g,w))return w}return new p(!1)}},88500:(e,t,r)=>{"use strict";var n=r(39944),i=r(3770),a=r(12913);e.exports=function(e,t,r){var s,o;i(e);try{if(!(s=a(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){o=!0,s=e}if("throw"===t)throw r;if(o)throw s;return i(s),r}},9383:(e,t,r)=>{"use strict";var n=r(52037).IteratorPrototype,i=r(77065),a=r(39123),s=r(93754),o=r(49164),l=function(){return this};e.exports=function(e,t,r,c){var u=t+" Iterator";return e.prototype=i(n,{next:a(+!c,r)}),s(e,u,!1,!0),o[u]=l,e}},83217:(e,t,r)=>{"use strict";var n=r(5613),i=r(39944),a=r(1942),s=r(92735),o=r(14188),l=r(9383),c=r(91786),u=r(5054),d=r(93754),h=r(88088),f=r(97509),p=r(4282),g=r(49164),v=r(52037),m=s.PROPER,y=s.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,E=p("iterator"),T="keys",S="values",O="entries",x=function(){return this};e.exports=function(e,t,r,s,p,v,A){l(r,t,s);var P,L,k,I=function(e){if(e===p&&M)return M;if(!w&&e&&e in D)return D[e];switch(e){case T:case S:case O:return function(){return new r(this,e)}}return function(){return new r(this)}},R=t+" Iterator",C=!1,D=e.prototype,_=D[E]||D["@@iterator"]||p&&D[p],M=!w&&_||I(p),F="Array"===t&&D.entries||_;if(F&&(P=c(F.call(new e)))!==Object.prototype&&P.next&&(a||c(P)===b||(u?u(P,b):o(P[E])||f(P,E,x)),d(P,R,!0,!0),a&&(g[R]=x)),m&&p===S&&_&&_.name!==S&&(!a&&y?h(D,"name",S):(C=!0,M=function(){return i(_,this)})),p)if(L={values:I(S),keys:v?M:I(T),entries:I(O)},A)for(k in L)(w||C||!(k in D))&&f(D,k,L[k]);else n({target:t,proto:!0,forced:w||C},L);return a&&!A||D[E]===M||f(D,E,M,{name:p}),g[t]=M,L}},52037:(e,t,r)=>{"use strict";var n,i,a,s=r(5234),o=r(14188),l=r(80831),c=r(77065),u=r(91786),d=r(97509),h=r(4282),f=r(1942),p=h("iterator"),g=!1;[].keys&&("next"in(a=[].keys())?(i=u(u(a)))!==Object.prototype&&(n=i):g=!0),!l(n)||s((function(){var e={};return n[p].call(e)!==e}))?n={}:f&&(n=c(n)),o(n[p])||d(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},49164:e=>{"use strict";e.exports={}},69389:(e,t,r)=>{"use strict";var n=r(97611);e.exports=function(e){return n(e.length)}},74530:(e,t,r)=>{"use strict";var n=r(16881),i=r(5234),a=r(14188),s=r(74418),o=r(96893),l=r(92735).CONFIGURABLE,c=r(13029),u=r(43086),d=u.enforce,h=u.get,f=String,p=Object.defineProperty,g=n("".slice),v=n("".replace),m=n([].join),y=o&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===g(f(t),0,7)&&(t="["+v(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||l&&e.name!==t)&&(o?p(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&s(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?o&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=m(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return a(this)&&h(this).source||c(this)}),"toString")},60142:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},51982:(e,t,r)=>{"use strict";var n,i,a,s,o,l=r(51488),c=r(35268),u=r(85821),d=r(83474).set,h=r(68648),f=r(69226),p=r(76951),g=r(97574),v=r(77359),m=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,w=l.Promise,E=c("queueMicrotask");if(!E){var T=new h,S=function(){var e,t;for(v&&(e=b.domain)&&e.exit();t=T.get();)try{t()}catch(e){throw T.head&&n(),e}e&&e.enter()};f||v||g||!m||!y?!p&&w&&w.resolve?((s=w.resolve(void 0)).constructor=w,o=u(s.then,s),n=function(){o(S)}):v?n=function(){b.nextTick(S)}:(d=u(d,l),n=function(){d(S)}):(i=!0,a=y.createTextNode(""),new m(S).observe(a,{characterData:!0}
vendor: 4,492 bytes, line 2
2),n=function(){a.data=i=!i}),E=function(e){T.head||n(),T.add(e)}}e.exports=E},59444:(e,t,r)=>{"use strict";var n=r(44977),i=TypeError,a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},30836:(e,t,r)=>{"use strict";var n=r(30473),i=TypeError;e.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e}},84243:(e,t,r)=>{"use strict";var n=r(51488),i=r(5234),a=r(16881),s=r(92618),o=r(92771).trim,l=r(39209),c=a("".charAt),u=n.parseFloat,d=n.Symbol,h=d&&d.iterator,f=1/u(l+"-0")!=-1/0||h&&!i((function(){u(Object(h))}));e.exports=f?function(e){var t=o(s(e)),r=u(t);return 0===r&&"-"===c(t,0)?-0:r}:u},49364:(e,t,r)=>{"use strict";var n=r(51488),i=r(5234),a=r(16881),s=r(92618),o=r(92771).trim,l=r(39209),c=n.parseInt,u=n.Symbol,d=u&&u.iterator,h=/^[+-]?0x/i,f=a(h.exec),p=8!==c(l+"08")||22!==c(l+"0x16")||d&&!i((function(){c(Object(d))}));e.exports=p?function(e,t){var r=o(s(e));return c(r,t>>>0||(f(h,r)?16:10))}:c},69456:(e,t,r)=>{"use strict";var n=r(96893),i=r(16881),a=r(39944),s=r(5234),o=r(57137),l=r(30156),c=r(74416),u=r(83628),d=r(47568),h=Object.assign,f=Object.defineProperty,p=i([].concat);e.exports=!h||s((function(){if(n&&1!==h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!==h({},e)[r]||o(h({},t)).join("")!==i}))?function(e,t){for(var r=u(e),i=arguments.length,s=1,h=l.f,f=c.f;i>s;)for(var g,v=d(arguments[s++]),m=h?p(o(v),h(v)):o(v),y=m.length,b=0;y>b;)g=m[b++],n&&!a(f,v,g)||(r[g]=v[g]);return r}:h},77065:(e,t,r)=>{"use strict";var n,i=r(3770),a=r(30),s=r(61274),o=r(67588),l=r(67458),c=r(65926),u=r(40168),d="prototype",h="script",f=u("IE_PROTO"),p=function(){},g=function(e){return"<"+h+">"+e+"</"+h+">"},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;m="undefined"!=typeof document?document.domain&&n?v(n):(t=c("iframe"),r="java"+h+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):v(n);for(var i=s.length;i--;)delete m[d][s[i]];return m()};o[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[d]=i(e),r=new p,p[d]=null,r[f]=e):r=m(),void 0===t?r:a.f(r,t)}},30:(e,t,r)=>{"use strict";var n=r(96893),i=r(23315),a=r(64466),s=r(3770),o=r(10380),l=r(57137);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=o(t),i=l(t),c=i.length,u=0;c>u;)a.f(e,r=i[u++],n[r]);return e}},64466:(e,t,r)=>{"use strict";var n=r(96893),i=r(39622),a=r(23315),s=r(3770),o=r(42344),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",f="writable";t.f=n?a?function(e,t,r){if(s(e),t=o(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=u(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:d in r?r[d]:n[d],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(s(e),t=o(t),s(r),i)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},9304:(e,t,r)=>{"use strict";var n=r(96893),i=r(39944),a=r(74416),s=r(39123),o=r(10380),l=r(42344),c=r(74418),u=r(39622),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=o(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return s(!i(a.f,e,t),e[t])}},43701:(e,t,r)=>{"use strict";var n=r(38689),i=r(10380),a=r(25629).f,s=r(27825),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"Window"===n(e)?function(e){try{return a(e)}catch(e){return s(o)}}(e):a(i(e))}},25629:(e,t,r)=>{"use strict";var n=r(21843),i=r(61274).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},30156:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},91786:(e,t,r)=>{"use strict";var n=r(74418),i=r(14188),a=r(83628),s=r(40168),o=r(50680),l=s("IE_PROTO"),c=Object,u=c.prototype;e.exports=o?c.getPrototypeOf:function(e){var t=a(e);if(n(t,l))return t[l];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof c?u:null}},11927:(e,t,r)=>{"use strict";
vendor: 13,588 bytes, line 2
2var n=r(5234),i=r(80831),a=r(38689),s=r(65469),o=Object.isExtensible,l=n((function(){o(1)}));e.exports=l||s?function(e){return!!i(e)&&((!s||"ArrayBuffer"!==a(e))&&(!o||o(e)))}:o},4578:(e,t,r)=>{"use strict";var n=r(16881);e.exports=n({}.isPrototypeOf)},21843:(e,t,r)=>{"use strict";var n=r(16881),i=r(74418),a=r(10380),s=r(81458).indexOf,o=r(67588),l=n([].push);e.exports=function(e,t){var r,n=a(e),c=0,u=[];for(r in n)!i(o,r)&&i(n,r)&&l(u,r);for(;t.length>c;)i(n,r=t[c++])&&(~s(u,r)||l(u,r));return u}},57137:(e,t,r)=>{"use strict";var n=r(21843),i=r(61274);e.exports=Object.keys||function(e){return n(e,i)}},74416:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},5054:(e,t,r)=>{"use strict";var n=r(71025),i=r(80831),a=r(39509),s=r(74121);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return a(r),s(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},4844:(e,t,r)=>{"use strict";var n=r(96893),i=r(5234),a=r(16881),s=r(91786),o=r(57137),l=r(10380),c=a(r(74416).f),u=a([].push),d=n&&i((function(){var e=Object.create(null);return e[2]=2,!c(e,2)})),h=function(e){return function(t){for(var r,i=l(t),a=o(i),h=d&&null===s(i),f=a.length,p=0,g=[];f>p;)r=a[p++],n&&!(h?r in i:c(i,r))||u(g,e?[r,i[r]]:i[r]);return g}};e.exports={entries:h(!0),values:h(!1)}},62244:(e,t,r)=>{"use strict";var n=r(79345),i=r(65438);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},2287:(e,t,r)=>{"use strict";var n=r(39944),i=r(14188),a=r(80831),s=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&i(r=e.toString)&&!a(o=n(r,e)))return o;if(i(r=e.valueOf)&&!a(o=n(r,e)))return o;if("string"!==t&&i(r=e.toString)&&!a(o=n(r,e)))return o;throw new s("Can't convert object to primitive value")}},73168:(e,t,r)=>{"use strict";var n=r(5604),i=r(16881),a=r(25629),s=r(30156),o=r(3770),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(o(e)),r=s.f;return r?l(t,r(e)):t}},49120:(e,t,r)=>{"use strict";var n=r(51488);e.exports=n},96042:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},27301:(e,t,r)=>{"use strict";var n=r(51488),i=r(16453),a=r(14188),s=r(68489),o=r(13029),l=r(4282),c=r(17267),u=r(37499),d=r(1942),h=r(33749),f=i&&i.prototype,p=l("species"),g=!1,v=a(n.PromiseRejectionEvent),m=s("Promise",(function(){var e=o(i),t=e!==String(i);if(!t&&66===h)return!0;if(d&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!t&&(c||u)&&!v}));e.exports={CONSTRUCTOR:m,REJECTION_EVENT:v,SUBCLASSING:g}},16453:(e,t,r)=>{"use strict";var n=r(51488);e.exports=n.Promise},48787:(e,t,r)=>{"use strict";var n=r(3770),i=r(80831),a=r(59444);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},76292:(e,t,r)=>{"use strict";var n=r(16453),i=r(7283),a=r(27301).CONSTRUCTOR;e.exports=a||!i((function(e){n.all(e).then(void 0,(function(){}))}))},78679:(e,t,r)=>{"use strict";var n=r(64466).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},68648:e=>{"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},14721:(e,t,r)=>{"use strict";var n=r(39944),i=r(3770),a=r(14188),s=r(38689),o=r(29342),l=TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var c=n(r,e,t);return null!==c&&i(c),c}if("RegExp"===s(e))return n(o,e,t);throw new l("RegExp#exec called on incompatible receiver")}},29342:(e,t,r)=>{"use strict";var n,i,a=r(39944),s=r(16881),o=r(92618),l=r(34932),c=r(95976),u=r(10746),d=r(77065),h=r(43086).get,f=r(56676),p=r(74609),g=u("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,m=v,y=s("".charAt),b=s("".indexOf),w=s("".replace),E=s("".slice),T=(i=/b*/g,a(v,n=/a/,"a"),a(v,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=c.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(T||O||S||f||p)&&(m=function(e){var t,r,n,i,s,c,u,f=this,p=h(f),x=o(e),A=p.raw;if(A)return A.lastIndex=f.lastIndex,t=a(m,A,x),f.lastIndex=A.lastIndex,t;var P=p.groups,L=S&&f.sticky,k=a(l,f),I=f.source,R=0,C=x;if(L&&(k=w(k,"y",""),-1===b(k,"g")&&(k+="g"),C=E(x,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==y(x,f.lastIndex-1))&&(I="(?: "+I+")",C=" "+C,R++),r=new RegExp("^(?:"+I+")",k)),O&&(r=new RegExp("^"+I+"$(?!\\s)",k)),T&&(n=f.lastIndex),i=a(v,L?r:f,C),L?i?(i.input=E(i.input,R),i[0]=E(i[0],R),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:T&&i&&(f.lastIndex=f.global?i.index+i[0].length:n),O&&i&&i.length>1&&a(g,i[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i&&P)for(i.groups=c=d(null),s=0;s<P.length;s++)c[(u=P[s])[0]]=i[u[1]];return i}),e.exports=m},34932:(e,t,r)=>{"use strict";var n=r(3770);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},23113:(e,t,r)=>{"use strict";var n=r(39944),i=r(74418),a=r(4578),s=r(34932),o=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in o||i(e,"flags")||!a(o,e)?t:n(s,e)}},95976:(e,t,r)=>{"use strict";var n=r(5234),i=r(51488).RegExp,a=n((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),s=a||n((function(){return!i("a","y").sticky})),o=a||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:o,MISSED_STICKY:s,UNSUPPORTED_Y:a}},56676:(e,t,r)=>{"use strict";var n=r(5234),i=r(51488).RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},74609:(e,t,r)=>{"use strict";var n=r(5234),i=r(51488).RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},39509:(e,t,r)=>{"use strict";var n=r(44318),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},35268:(e,t,r)=>{"use strict";var n=r(51488),i=r(96893),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=a(n,e);return t&&t.value}},97501:e=>{"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},43900:(e,t,r)=>{"use strict";var n=r(5604),i=r(10997),a=r(4282),s=r(96893),o=a("species");e.exports=function(e){var t=n(e);s&&t&&!t[o]&&i(t,o,{configurable:!0,get:function(){return this}})}},93754:(e,t,r)=>{"use strict";var n=r(64466).f,i=r(74418),a=r(4282)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}},40168:(e,t,r)=>{"use strict";var n=r(10746),i=r(66209),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},62694:(e,t,r)=>{"use strict";var n=r(1942),i=r(51488),a=r(14798),s="__core-js_shared__",o=e.exports=i[s]||a(s,{});(o.versions||(o.versions=[])).push({version:"3.36.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},10746:(e,t,r)=>{"use strict";var n=r(62694);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},97964:(e,t,r)=>{"use strict";var n=r(3770),i=r(91361),a=r(44318),s=r(4282)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||a(r=n(o)[s])?t:i(r)}},64212:(e,t,r)=>{"use strict";var n=r(16881),i=r(76744),a=r(92618),s=r(39509),o=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,r){var n,u,d=a(s(t)),h=i(r),f=d.length;return h<0||h>=f?e?"":void 0:(n=l(d,h))<55296||n>56319||h+1===f||(u=l(d,h+1))<56320||u>57343?e?o(d,h):n:e?c(d,h,h+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},26294:(e,t,r)=>{"use strict";var n=r(16881),i=2147483647,a=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",l=RangeError,c=n(s.exec),u=Math.floor,d=String.fromCharCode,h=n("".charCodeAt),f=n([].join),p=n([].push),g=n("".replace),v=n("".split),m=n("".toLowerCase),y=function(e){return e+22+75*(e<26)},b=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=h(e,r++);if(i>=55296&&i<=56319&&r<n){var a=h(e,r++);56320==(64512&a)?p(t,((1023&i)<<10)+(1023&a)+65536):(p(t,i),r--)}else p(t,i)}return t}(e);var r,n,a=e.length,s=128,c=0,g=72;for(r=0;r<e.length;r++)(n=e[r])<128&&p(t,d(n));var v=t.length,m=v;for(v&&p(t,"-");m<a;){var w=i;for(r=0;r<e.length;r++)(n=e[r])>=s&&n<w&&(w=n);var E=m+1;if(w-s>u((i-c)/E))throw new l(o);for(c+=(w-s)*E,s=w,r=0;r<e.length;r++){if((n=e[r])<s&&++c>i)throw new l(o);if(n===s){for(var T=c,S=36;;){var O=S<=g?1:S>=g+26?26:S-g;if(T<O)break;var x=T-O,A=36-O;p(t,d(y(O+x%A))),T=u(x/A),S+=36}p(t,d(y(T))),g=b(c,E,m===v),c=0,m++}}c++,s++}return f(t,"")};e.exports=function(e){var t,r,n=[],i=v(g(m(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],p(n,c(a,r)?"xn--"+w(r):r);return f(n,".")}},28799:(e,t,r)=>{"use strict";var n=r(92771).end,i=r(14425);e.exports=i("trimEnd")?function(){return n(this)}:"".trimEnd},14425:(e,t,r)=>{"use strict";var n=r(92735).PROPER,i=r(5234),a=r(39209);e.exports=function(e){return i((function(){return!!a[e]()||"âÂ
á "!=="âÂ
á "[e]()||n&&a[e].name!==e}))}},92771:(e,t,r)=>{"use strict";var n=r(16881),i=r(39509),a=r(92618),s=r(39209),o=n("".replace),l=RegExp("^["+s+"]+"),c=RegExp("(^|[^"+s+"])["+s+"]+$"),u=function(e){return function(t){var r=a(i(t));return 1&e&&(r=o(r,l,"")),2&e&&(r=o(r,c,"$1")),r}};e.exports={start:u(1),end:u(2),trim:u(3)}},48944:(e,t,r)=>{"use strict";var n=r(33749),i=r(5234),a=r(51488).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},17093:(e,t,r)=>{"use strict";var n=r(39944),i=r(5604),a=r(4282),s=r(97509);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,o=a("toPrimitive");t&&!t[o]&&s(t,o,(function(e){return n(r,this)}),{arity:1})}},16577:(e,t,r)=>{"use strict";var n=r(48944);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},83474:(e,t,r)=>{"use strict";var n,i,a,s,o=r(51488),l=r(40646),c=r(85821),u=r(14188),d=r(74418),h=r(5234),f=r(67458),p=r(27825),g=r(65926),v=r(89445),m=r(69226),y=r(77359),b=o.setImmediate,w=o.clearImmediate,E=o.process,T=o.Dispatch,S=o.Function,O=o.MessageChannel,x=o.String,A=0,P={},L="onreadystatechange";h((function(){n=o.location}));var k=function(e){if(d(P,e)){var t=P[e];delete P[e],t()}},I=function(e){return function(){k(e)}},R=function(e){k(e.data)},C=function(e){o.postMessage(x(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){v(arguments.length,1);var t=u(e)?e:S(e),r=p(arguments,1);return P[++A]=function(){l(t,void 0,r)},i(A),A},w=function(e){delete P[e]},y?i=function(e){E.nextTick(I(e))}:T&&T.now?i=function(e){T.now(I(e))}:O&&!m?(s=(a=new O).port2,a.port1.onmessage=R,i=c(s.postMessage,s)):o.addEventListener&&u(o.postMessage)&&!o.importScripts&&n&&"file:"!==n.protocol&&!h(C)?(i=C,o.addEventListener("message",R,!1)):i=L in g("script")?function(e){f.appendChild(g("script"))[L]=function(){f.removeChild(this),k(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:b,clear:w}},65881:(e,t,r)=>{"use strict";var n=r(16881);e.exports=n(1..valueOf)},70675:(e,t,r)=>{"use strict";var n=r(76744),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},10380:(e,t,r)=>{"use strict";var n=r(47568),i=r(39509);e.exports=function(e){return n(i(e))}},76744:(e,t,r)=>{"use strict";var n=r(60142);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},97611:(e,t,r)=>{"use strict";var n=r(76744),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},83628:(e,t,r)=>{"use strict";var n=r(39509),i=Object;e.exports=function(e){return i(n(e))}},30290:(e,t,r)=>{"use strict";var n=r(39944),i=r(80831),a=r(6032),s=r(12913),o=r(2287),l=r(4282),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,l=s(e,u);if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!i(r)||a(r))return r;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},42344:(e,t,r)=>{"use strict";var n=r(30290),i=r(6032);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},79345:(e,t,r)=>{"use strict";var n={};n[r(4282)("toStringTag")]="z",e.exports="[object z]"===String(n)},92618:(e,t,r)=>{"use strict";var n=r(65438),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},13174:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},66209:(e,t,r)=>{"use strict";var n=r(16881),i=0,a=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+a,36)}},96301:(e,t,r)=>{"use strict";var n=r(5234),i=r(4282),a=r(96893),s=r(1942),o=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new
vendor: 14,774 bytes, line 2
2URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!a)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://ÑеÑÑ").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},89809:(e,t,r)=>{"use strict";var n=r(48944);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},23315:(e,t,r)=>{"use strict";var n=r(96893),i=r(5234);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},89445:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},45945:(e,t,r)=>{"use strict";var n=r(51488),i=r(14188),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},92860:(e,t,r)=>{"use strict";var n=r(49120),i=r(74418),a=r(90346),s=r(64466).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:a.f(e)})}},90346:(e,t,r)=>{"use strict";var n=r(4282);t.f=n},4282:(e,t,r)=>{"use strict";var n=r(51488),i=r(10746),a=r(74418),s=r(66209),o=r(48944),l=r(89809),c=n.Symbol,u=i("wks"),d=l?c.for||c:c&&c.withoutSetter||s;e.exports=function(e){return a(u,e)||(u[e]=o&&a(c,e)?c[e]:d("Symbol."+e)),u[e]}},39209:e=>{"use strict";e.exports="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff"},16411:(e,t,r)=>{"use strict";var n=r(5613),i=r(5234),a=r(26719),s=r(80831),o=r(83628),l=r(69389),c=r(14578),u=r(94417),d=r(75022),h=r(10378),f=r(4282),p=r(33749),g=f("isConcatSpreadable"),v=p>=51||!i((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),m=function(e){if(!s(e))return!1;var t=e[g];return void 0!==t?!!t:a(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!h("concat")},{concat:function(e){var t,r,n,i,a,s=o(this),h=d(s,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(m(a=-1===t?s:arguments[t]))for(i=l(a),c(f+i),r=0;r<i;r++,f++)r in a&&u(h,f,a[r]);else c(f+1),u(h,f++,a);return h.length=f,h}})},73294:(e,t,r)=>{"use strict";var n=r(5613),i=r(38150),a=r(95458);n({target:"Array",proto:!0},{fill:i}),a("fill")},5305:(e,t,r)=>{"use strict";var n=r(5613),i=r(34104).filter;n({target:"Array",proto:!0,forced:!r(10378)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},6501:(e,t,r)=>{"use strict";var n=r(5613),i=r(34104).findIndex,a=r(95458),s="findIndex",o=!0;s in[]&&Array(1)[s]((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a(s)},63252:(e,t,r)=>{"use strict";var n=r(5613),i=r(34104).find,a=r(95458),s="find",o=!0;s in[]&&Array(1)[s]((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a(s)},27011:(e,t,r)=>{"use strict";var n=r(5613),i=r(50336),a=r(44977),s=r(83628),o=r(69389),l=r(75022);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=s(this),n=o(r);return a(e),(t=l(r,0)).length=i(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},11264:(e,t,r)=>{"use strict";var n=r(5613),i=r(50336),a=r(83628),s=r(69389),o=r(76744),l=r(75022);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=a(this),r=s(t),n=l(t,0);return n.length=i(n,t,t,r,0,void 0===e?1:o(e)),n}})},11875:(e,t,r)=>{"use strict";var n=r(5613),i=r(86859);n({target:"Array",stat:!0,forced:!r(7283)((function(e){Array.from(e)}))},{from:i})},62234:(e,t,r)=>{"use strict";var n=r(5613),i=r(81458).includes,a=r(5234),s=r(95458);n({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},94149:(e,t,r)=>{"use strict";var n=r(5613),i=r(95691),a=r(81458).indexOf,s=r(55397),o=i([].indexOf),l=!!o&&1/o([1],1,-0)<0;n({target:"Array",proto:!0,forced:l||!s("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?o(this,e,t)||0:a(this,e,t)}})},33873:(e,t,r)=>{"use strict";var n=r(10380),i=r(95458),a=r(49164),s=r(43086),o=r(64466).f,l=r(83217),c=r(76224),u=r(1942),d=r(96893),h="Array Iterator",f=s.set,p=s.getterFor(h);e.exports=l(Array,"Array",(function(e,t){f(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(r,!1);case"values":return c(t[r],!1)}return c([r,t[r]],!1)}),"values");var g=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!u&&d&&"values"!==g.name)try{o(g,"name",{value:"values"})}catch(e){}},79326:(e,t,r)=>{"use strict";var n=r(5613),i=r(63014);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},18981:(e,t,r)=>{"use strict";var n=r(5613),i=r(34104).map;n({target:"Array",proto:!0,forced:!r(10378)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},6670:(e,t,r)=>{"use strict";var n=r(5613),i=r(5234),a=r(80866),s=r(94417),o=Array;n({target:"Array",stat:!0,forced:i((function(){function e(){}return!(o.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,r=new(a(this)?this:o)(t);t>e;)s(r,e,arguments[e++]);return r.length=t,r}})},48605:(e,t,r)=>{"use strict";var n=r(5613),i=r(49989).left,a=r(55397),s=r(33749);n({target:"Array",proto:!0,forced:!r(77359)&&s>79&&s<83||!a("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},83701:(e,t,r)=>{"use strict";var n=r(5613),i=r(16881),a=r(26719),s=i([].reverse),o=[1,2];n({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),s(this)}})},56569:(e,t,r)=>{"use strict";var n=r(5613),i=r(26719),a=r(80866),s=r(80831),o=r(70675),l=r(69389),c=r(10380),u=r(94417),d=r(4282),h=r(10378),f=r(27825),p=h("slice"),g=d("species"),v=Array,m=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,d,h=c(this),p=l(h),y=o(e,p),b=o(void 0===t?p:t,p);if(i(h)&&(r=h.constructor,(a(r)&&(r===v||i(r.prototype))||s(r)&&null===(r=r[g]))&&(r=void 0),r===v||void 0===r))return f(h,y,b);for(n=new(void 0===r?v:r)(m(b-y,0)),d=0;y<b;y++,d++)y in h&&u(n,d,h[y]);return n.length=d,n}})},33975:(e,t,r)=>{"use strict";var n=r(5613),i=r(16881),a=r(44977),s=r(83628),o=r(69389),l=r(81305),c=r(92618),u=r(5234),d=r(9295),h=r(55397),f=r(38807),p=r(85661),g=r(33749),v=r(23589),m=[],y=i(m.sort),b=i(m.push),w=u((function(){m.sort(void 0)})),E=u((function(){m.sort(null)})),T=h("sort"),S=!u((function(){if(g)return g<70;if(!(f&&f>3)){if(p)return!0;if(v)return v<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:t+n,v:r})}for(m.sort((function(e,t){return t.v-e.v})),n=0;n<m.length;n++)t=m[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!E||!T||!S},{sort:function(e){void 0!==e&&a(e);var t=s(this);if(S)return void 0===e?y(t):y(t,e);var r,n,i=[],u=o(t);for(n=0;n<u;n++)n in t&&b(i,t[n]);for(d(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}}(e)),r=o(i),n=0;n<r;)t[n]=i[n++];for(;n<u;)l(t,n++);return t}})},68803:(e,t,r)=>{"use strict";var n=r(5613),i=r(83628),a=r(70675),s=r(76744),o=r(69389),l=r(14224),c=r(14578),u=r(75022),d=r(94417),h=r(81305),f=r(10378)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var r,n,f,v,m,y,b=i(this),w=o(b),E=a(e,w),T=arguments.length;for(0===T?r=n=0:1===T?(r=0,n=w-E):(r=T-2,n=g(p(s(t),0),w-E)),c(w+r-n),f=u(b,n),v=0;v<n;v++)(m=E+v)in b&&d(f,v,b[m]);if(f.length=n,r<n){for(v=E;v<w-n;v++)y=v+r,(m=v+n)in b?b[y]=b[m]:h(b,y);for(v=w;v>w-n+r;v--)h(b,v-1)}else if(r>n)for(v=w-n;v>E;v--)y=v+r-1,(m=v+n-1)in b?b[y]=b[m]:h(b,y);for(v=0;v<r;v++)b[v+E]=arguments[v+2];return l(b,w-n+r),f}})},98752:(e,t,r)=>{"use strict";r(95458)("flatMap")},95483:(e,t,r)=>{"use strict";r(95458)("flat")},60595:(e,t,r)=>{"use strict";var n=r(74418),i=r(97509),a=r(48089),s=r(4282)("toPrimitive"),o=Date.prototype;n(o,s)||i(o,s,a)},64727:(e,t,r)=>{"use strict";var n=r(5613),i=r(5604),a=r(40646),s=r(39944),o=r(16881),l=r(5234),c=r(14188),u=r(6032),d=r(27825),h=r(58254),f=r(48944),p=String,g=i("JSON","stringify"),v=o(/./.exec),m=o("".charAt),y=o("".charCodeAt),b=o("".replace),w=o(1..toString),E=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,O=!f||l((function(){var e=i("Symbol")("stringify detection");return"[null]"!==g([e])||"{}"!==g({a:e})||"{}"!==g(Object(e))})),x=l((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),A=function(e,t){var r=d(arguments),n=h(t);if(c(n)||void 0!==e&&!u(e))return r[1]=function(e,t){if(c(n)&&(t=s(n,this,p(e),t)),!u(t))return t},a(g,null,r)},P=function(e,t,r){var n=m(r,t-1),i=m(r,t+1);return v(T,e)&&!v(S,i)||v(S,e)&&!v(T,n)?"\\u"+w(y(e,0),16):e};g&&n({target:"JSON",stat:!0,arity:3,forced:O||x},{stringify:function(e,t,r){var n=d(arguments),i=a(O?A:g,null,n);return x&&"string"==typeof i?b(i,E,P):i}})},88794:(e,t,r)=>{"use strict";var n=r(51488);r(93754)(n.JSON,"JSON",!0)},77920:(e,t,r)=>{"use strict";r(36351)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(63231))},46089:(e,t,r)=>{"use strict";r(77920)},51806:(e,t,r)=>{"use strict";r(93754)(Math,"Math",!0)},37324:(e,t,r)=>{"use strict";r(5613)({target:"Math",stat:!0},{trunc:r(60142)})},73185:(e,t,r)=>{"use strict";var n=r(5613),i=r(1942),a=r(96893),s=r(51488),o=r(49120),l=r(16881),c=r(68489),u=r(74418),d=r(44166),h=r(4578),f=r(6032),p=r(30290),g=r(5234),v=r(25629).f,m=r(9304).f,y=r(64466).f,b=r(65881),w=r(92771).trim,E="Number",T=s[E],S=o[E],O=T.prototype,x=s.TypeError,A=l("".slice),P=l("".charCodeAt),L=function(e){var t,r,n,i,a,s,o,l,c=p(e,"number");if(f(c))throw new x("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=w(c),43===(t=P(c,0))||45===t){if(88===(r=P(c,2))||120===r)return NaN}else if(48===t){switch(P(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(s=(a=A(c,2)).length,o=0;o<s;o++)if((l=P(a,o))<48||l>i)return NaN;return parseInt(a,n)}return+c},k=c(E,!T(" 0o1")||!T("0b1")||T("+0x1")),I=function(e){var t,r=arguments.length<1?0:T(function(e){var t=p(e,"number");return"bigint"==typeof t?t:L(t)}(e));return h(O,t=this)&&g((function(){b(t)}))?d(Object(r),this,I):r};I.prototype=O,k&&!i&&(O.constructor=I),n({global:!0,constructor:!0,wrap:!0,forced:k},{Number:I});var R=function(e,t){for(var r,n=a?v(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)u(t,r=n[i])&&!u(e,r)&&y(e,r,m(t,r))};i&&S&&R(o[E],S),(k||i)&&R(o[E],T)},87050:(e,t,r)=>{"use strict";var n=r(5613),i=r(69456);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},48404:(e,t,r)=>{"use strict";var n=r(5613),i=r(96893),a=r(30).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==a,sham:!i},{defineProperties:a})},75668:(e,t,r)=>{"use strict";var n=r(5613),i=r(96893),a=r(64466).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!i},{defineProperty:a})},69431:(e,t,r)=>{"use strict";var n=r(5613),i=r(4844).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},29742:(e,t,r)=>{"use strict";var n=r(5613),i=r(38873),a=r(94417);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,r){a(t,e,r)}),{AS_ENTRIES:!0}),t}})},7678:(e,t,r)=>{"use strict";var n=r(5613),i=r(5234),a=r(10380),s=r(9304).f,o=r(96893);n({target:"Object",stat:!0,forced:!o||i((function(){s(1)})),sham:!o},{getOwnPropertyDescriptor:function(e,t){return s(a(e),t)}})},81909:(e,t,r)=>{"use strict";var n=r(5613),i=r(96893),a=r(73168),s=r(10380),o=r(9304),l=r(94417);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,r,n=s(e),i=o.f,c=a(n),u={},d=0;c.length>d;)void 0!==(r=i(n,t=c[d++]))&&l(u,t,r);return u}})},53786:(e,t,r)=>{"use strict";var n=r(5613),i=r(48944),a=r(5234),s=r(30156),o=r(83628);n({target:"Object",stat:!0,forced:!i||a((function(){s.f(1)}))},{getOwnPropertySymbols:function(e){var t=s.f;return t?t(o(e)):[]}})},2380:(e,t,r)=>{"use strict";var n=r(5613),i=r(5234),a=r(83628),s=r(91786),o=r(50680);n({target:"Object",stat:!0,forced:i((function(){s(1)})),sham:!o},{getPrototypeOf:function(e){return s(a(e))}})},68291:(e,t,r)=>{"use strict";var n=r(5613),i=r(83628),a=r(57137);n({target:"Object",stat:!0,forced:r(5234)((function(){a(1)}))},{keys:function(e){return a(i(e))}})},1280:(e,t,r)=>{"use strict";r(5613)({target:"Object",stat:!0},{setPrototypeOf:r(5054)})},80630:(e,t,r)=>{"use strict";var n=r(79345),i=r(97509),a=r(62244);n||i(Object.prototype,"toString",a,{unsafe:!0})},12353:(e,t,r)=>{"use strict";var n=r(5613),i=r(4844).values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},27968:(e,t,r)=>{"use strict";var n=r(5613),i=r(84243);n({global:!0,forced:parseFloat!==i},{parseFloat:i})},31759:(e,t,r)=>{"use strict";var n=r(5613),i=r(49364);n({global:!0,forced:parseInt!==i},{parseInt:i})},15528:(e,t,r)=>{"use strict";var n=r(5613),i=r(39944),a=r(44977),s=r(59444),o=r(96042),l=r(38873);n({target:"Promise",stat:!0,forced:r(76292)},{all:function(e){var t=this,r=s.f(t),n=r.resolve,c=r.reject,u=o((function(){var r=a(t.resolve),s=[],o=0,u=1;l(e,(function(e){var a=o++,l=!1;u++,i(r,t,e).then((function(e){l||(l=!0,s[a]=e,--u||n(s))}),c)})),--u||n(s)}));return u.error&&c(u.value),r.promise}})},44348:(e,t,r)=>{"use strict";var n=r(5613),i=r(1942),a=r(27301).CONSTRUCTOR,s=r(16453),o=r(5604),l=r(14188),c=r(97509),u=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(s)){var d=o("Promise").prototype.catch;u.catch!==d&&c(u,"catch",d,{unsafe:!0})}},54267:(e,t,r)=>{"use strict";var n,i,a,s=r(5613),o=r(1942),l=r(77359),c=r(51488),u=r(39944),d=r(97509),h=r(5054),f=r(93754),p=r(43900),g=r(44977),v=r(14188),m=r(80831),y=r(40286),b=r(97964),w=r(83474).set,E=r(51982),T=r(3306),S=r(96042),O=r(68648),x=r(43086),A=r(16453),P=r(27301),L=r(59444),k="Promise",I=P.CONSTRUCTOR,R=P.REJECTION_EVENT,C=P.SUBCLASSING,D=x.getterFor(k),_=x.set,M=A&&A.prototype,F=A,N=M,j=c.TypeError,U=c.document,B=c.process,$=L.f,G
vendor: 4,342 bytes, line 2
2=$,z=!!(U&&U.createEvent&&c.dispatchEvent),H="unhandledrejection",V=function(e){var t;return!(!m(e)||!v(t=e.then))&&t},K=function(e,t){var r,n,i,a=t.value,s=1===t.state,o=s?e.ok:e.fail,l=e.resolve,c=e.reject,d=e.domain;try{o?(s||(2===t.rejection&&Q(t),t.rejection=1),!0===o?r=a:(d&&d.enter(),r=o(a),d&&(d.exit(),i=!0)),r===e.promise?c(new j("Promise-chain cycle")):(n=V(r))?u(n,r,l,c):l(r)):c(a)}catch(e){d&&!i&&d.exit(),c(e)}},Y=function(e,t){e.notified||(e.notified=!0,E((function(){for(var r,n=e.reactions;r=n.get();)K(r,e);e.notified=!1,t&&!e.rejection&&W(e)})))},q=function(e,t,r){var n,i;z?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!R&&(i=c["on"+e])?i(n):e===H&&T("Unhandled promise rejection",r)},W=function(e){u(w,c,(function(){var t,r=e.facade,n=e.value;if(X(e)&&(t=S((function(){l?B.emit("unhandledRejection",n,r):q(H,r,n)})),e.rejection=l||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},Q=function(e){u(w,c,(function(){var t=e.facade;l?B.emit("rejectionHandled",t):q("rejectionhandled",t,e.value)}))},J=function(e,t,r){return function(n){e(t,n,r)}},Z=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,Y(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new j("Promise can't be resolved itself");var n=V(t);n?E((function(){var r={done:!1};try{u(n,t,J(ee,r,e),J(Z,r,e))}catch(t){Z(r,t,e)}})):(e.value=t,e.state=1,Y(e,!1))}catch(t){Z({done:!1},t,e)}}};if(I&&(N=(F=function(e){y(this,N),g(e),u(n,this);var t=D(this);try{e(J(ee,t),J(Z,t))}catch(e){Z(t,e)}}).prototype,(n=function(e){_(this,{type:k,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:void 0})}).prototype=d(N,"then",(function(e,t){var r=D(this),n=$(b(this,F));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=l?B.domain:void 0,0===r.state?r.reactions.add(n):E((function(){K(n,r)})),n.promise})),i=function(){var e=new n,t=D(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(Z,t)},L.f=$=function(e){return e===F||undefined===e?new i(e):G(e)},!o&&v(A)&&M!==Object.prototype)){a=M.then,C||d(M,"then",(function(e,t){var r=this;return new F((function(e,t){u(a,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete M.constructor}catch(e){}h&&h(M,N)}s({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:F}),f(F,k,!1,!0),p(k)},10865:(e,t,r)=>{"use strict";r(54267),r(15528),r(44348),r(17174),r(84168),r(28235)},17174:(e,t,r)=>{"use strict";var n=r(5613),i=r(39944),a=r(44977),s=r(59444),o=r(96042),l=r(38873);n({target:"Promise",stat:!0,forced:r(76292)},{race:function(e){var t=this,r=s.f(t),n=r.reject,c=o((function(){var s=a(t.resolve);l(e,(function(e){i(s,t,e).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},84168:(e,t,r)=>{"use strict";var n=r(5613),i=r(59444);n({target:"Promise",stat:!0,forced:r(27301).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},28235:(e,t,r)=>{"use strict";var n=r(5613),i=r(5604),a=r(1942),s=r(16453),o=r(27301).CONSTRUCTOR,l=r(48787),c=i("Promise"),u=a&&!o;n({target:"Promise",stat:!0,forced:a||o},{resolve:function(e){return l(u&&this===c?s:this,e)}})},27270:(e,t,r)=>{"use strict";var n=r(5613),i=r(5604),a=r(40646),s=r(46435),o=r(91361),l=r(3770),c=r(80831),u=r(77065),d=r(5234),h=i("Reflect","construct"),f=Object.prototype,p=[].push,g=d((function(){function e(){}return!(h((function(){}),[],e)instanceof e)})),v=!d((function(){h((function(){}))})),m=g||v;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){o(e),l(t);var r=arguments.length<3?e:o(arguments[2]);if(v&&!g)return h(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return a(p,n,t),new(a(s,e,n))}var i=r.prototype,d=u(c(i)?i:f),m=a(e,d,t);return c(m)?m:d}})},8697:(e,t,r)=>{"use strict";var n=r(96893),i=r(51488),a=r(16881),s=r(68489),o=r(44166),l=r(88088),c=r(77065),u=r(25629).f,d=r(4578),h=r(30473),f=r(92618),p=r(23113),g=r(95976),v=r(78679),m=r(97509),y=r(5234),b=r(74418),w=r(43086).enforce,E=r(43900),T=r(4282),S=r(56676),O=r(74609),x=T("match"),A=i.RegExp,P=A.prototype,L=i.SyntaxError,k=a(P.exec),I=a("".charAt),R=a("".replace),C=a("".indexOf),D=a("".slice),_=/^\?
vendor: 10,227 bytes, line 2
2<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,F=/a/g,N=new A(M)!==M,j=g.MISSED_STICKY,U=g.UNSUPPORTED_Y,B=n&&(!N||j||S||O||y((function(){return F[x]=!1,A(M)!==M||A(F)===F||"/a/i"!==String(A(M,"i"))})));if(s("RegExp",B)){for(var $=function(e,t){var r,n,i,a,s,u,g=d(P,this),v=h(e),m=void 0===t,y=[],E=e;if(!g&&v&&m&&e.constructor===$)return e;if((v||d(P,e))&&(e=e.source,m&&(t=p(E))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),E=e,S&&"dotAll"in M&&(n=!!t&&C(t,"s")>-1)&&(t=R(t,/s/g,"")),r=t,j&&"sticky"in M&&(i=!!t&&C(t,"y")>-1)&&U&&(t=R(t,/y/g,"")),O&&(a=function(e){for(var t,r=e.length,n=0,i="",a=[],s=c(null),o=!1,l=!1,u=0,d="";n<=r;n++){if("\\"===(t=I(e,n)))t+=I(e,++n);else if("]"===t)o=!1;else if(!o)switch(!0){case"["===t:o=!0;break;case"("===t:k(_,D(e,n+1))&&(n+=2,l=!0),i+=t,u++;continue;case">"===t&&l:if(""===d||b(s,d))throw new L("Invalid capture group name");s[d]=!0,a[a.length]=[d,u],l=!1,d="";continue}l?d+=t:i+=t}return[i,a]}(e),e=a[0],y=a[1]),s=o(A(e,t),g?this:P,$),(n||i||y.length)&&(u=w(s),n&&(u.dotAll=!0,u.raw=$(function(e){for(var t,r=e.length,n=0,i="",a=!1;n<=r;n++)"\\"!==(t=I(e,n))?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]":i+=t+I(e,++n);return i}(e),r)),i&&(u.sticky=!0),y.length&&(u.groups=y)),e!==E)try{l(s,"source",""===E?"(?:)":E)}catch(e){}return s},G=u(A),z=0;G.length>z;)v($,A,G[z++]);P.constructor=$,$.prototype=P,m(i,"RegExp",$,{constructor:!0})}E("RegExp")},98376:(e,t,r)=>{"use strict";var n=r(5613),i=r(29342);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},47146:(e,t,r)=>{"use strict";var n=r(51488),i=r(96893),a=r(10997),s=r(34932),o=r(5234),l=n.RegExp,c=l.prototype;i&&o((function(){var e=!0;try{l(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)i(s,a[s]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==n||r!==n}))&&a(c,"flags",{configurable:!0,get:s})},10568:(e,t,r)=>{"use strict";var n=r(92735).PROPER,i=r(97509),a=r(3770),s=r(92618),o=r(5234),l=r(23113),c="toString",u=RegExp.prototype,d=u[c],h=o((function(){return"/a/b"!==d.call({source:"a",flags:"b"})})),f=n&&d.name!==c;(h||f)&&i(u,c,(function(){var e=a(this);return"/"+s(e.source)+"/"+s(l(e))}),{unsafe:!0})},21130:(e,t,r)=>{"use strict";r(36351)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(63231))},85668:(e,t,r)=>{"use strict";r(21130)},47748:(e,t,r)=>{"use strict";var n=r(5613),i=r(16881),a=r(30836),s=r(39509),o=r(92618),l=r(36425),c=i("".indexOf);n({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(o(s(this)),o(a(e)),arguments.length>1?arguments[1]:void 0)}})},11011:(e,t,r)=>{"use strict";var n=r(64212).charAt,i=r(92618),a=r(43086),s=r(83217),o=r(76224),l="String Iterator",c=a.set,u=a.getterFor(l);s(String,"String",(function(e){c(this,{type:l,string:i(e),index:0})}),(function(){var e,t=u(this),r=t.string,i=t.index;return i>=r.length?o(void 0,!0):(e=n(r,i),t.index+=e.length,o(e,!1))}))},39428:(e,t,r)=>{"use strict";var n=r(39944),i=r(40467),a=r(3770),s=r(44318),o=r(97611),l=r(92618),c=r(39509),u=r(12913),d=r(154),h=r(14721);i("match",(function(e,t,r){return[function(t){var r=c(this),i=s(t)?void 0:u(t,e);return i?n(i,t,r):new RegExp(t)[e](l(r))},function(e){var n=a(this),i=l(e),s=r(t,n,i);if(s.done)return s.value;if(!n.global)return h(n,i);var c=n.unicode;n.lastIndex=0;for(var u,f=[],p=0;null!==(u=h(n,i));){var g=l(u[0]);f[p]=g,""===g&&(n.lastIndex=d(i,o(n.lastIndex),c)),p++}return 0===p?null:f}]}))},14293:(e,t,r)=>{"use strict";var n=r(40646),i=r(39944),a=r(16881),s=r(40467),o=r(5234),l=r(3770),c=r(14188),u=r(44318),d=r(76744),h=r(97611),f=r(92618),p=r(39509),g=r(154),v=r(12913),m=r(51113),y=r(14721),b=r(4282)("replace"),w=Math.max,E=Math.min,T=a([].concat),S=a([].push),O=a("".indexOf),x=a("".slice),A="$0"==="a".replace(/./,"$0"),P=!!/./[b]&&""===/./[b]("a","$0");s("replace",(function(e,t,r){var a=P?"$":"$0";return[function(e,r){var n=p(this),a=u(e)?void 0:v(e,b);return a?i(a,e,n,r):i(t,f(n),e,r)},function(e,i){var s=l(this),o=f(e);if("string"==typeof i&&-1===O(i,a)&&-1===O(i,"$<")){var u=r(t,s,o,i);if(u.done)return u.value}var p=c(i);p||(i=f(i));var v,b=s.global;b&&(v=s.unicode,s.lastIndex=0);for(var A,P=[];null!==(A=y(s,o))&&(S(P,A),b);){""===f(A[0])&&(s.lastIndex=g(o,h(s.lastIndex),v))}for(var L,k="",I=0,R=0;R<P.length;R++){for(var C,D=f((A=P[R])[0]),_=w(E(d(A.index),o.length),0),M=[],F=1;F<A.length;F++)S(M,void 0===(L=A[F])?L:String(L));var N=A.groups;if(p){var j=T([D],M,_,o);void 0!==N&&S(j,N),C=f(n(i,void 0,j))}else C=m(D,o,_,M,N,i);_>=I&&(k+=x(o,I,_)+C,I=_+D.length)}return k+x(o,I)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!A||P)},91321:(e,t,r)=>{"use strict";var n=r(39944),i=r(40467),a=r(3770),s=r(44318),o=r(39509),l=r(97501),c=r(92618),u=r(12913),d=r(14721);i("search",(function(e,t,r){return[function(t){var r=o(this),i=s(t)?void 0:u(t,e);return i?n(i,t,r):new RegExp(t)[e](c(r))},function(e){var n=a(this),i=c(e),s=r(t,n,i);if(s.done)return s.value;var o=n.lastIndex;l(o,0)||(n.lastIndex=0);var u=d(n,i);return l(n.lastIndex,o)||(n.lastIndex=o),null===u?-1:u.index}]}))},58225:(e,t,r)=>{"use strict";var n=r(39944),i=r(16881),a=r(40467),s=r(3770),o=r(44318),l=r(39509),c=r(97964),u=r(154),d=r(97611),h=r(92618),f=r(12913),p=r(14721),g=r(95976),v=r(5234),m=g.UNSUPPORTED_Y,y=Math.min,b=i([].push),w=i("".slice),E=!v((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),T="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;a("split",(function(e,t,r){var i="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:n(t,this,e,r)}:t;return[function(t,r){var a=l(this),s=o(t)?void 0:f(t,e);return s?n(s,t,a,r):n(i,h(a),t,r)},function(e,n){var a=s(this),o=h(e);if(!T){var l=r(i,a,o,n,i!==t);if(l.done)return l.value}var f=c(a,RegExp),g=a.unicode,v=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(m?"g":"y"),E=new f(m?"^(?:"+a.source+")":a,v),S=void 0===n?4294967295:n>>>0;if(0===S)return[];if(0===o.length)return null===p(E,o)?[o]:[];for(var O=0,x=0,A=[];x<o.length;){E.lastIndex=m?0:x;var P,L=p(E,m?w(o,x):o);if(null===L||(P=y(d(E.lastIndex+(m?x:0)),o.length))===O)x=u(o,x,g);else{if(b(A,w(o,O,x)),A.length===S)return A;for(var k=1;k<=L.length-1;k++)if(b(A,L[k]),A.length===S)return A;x=O=P}}return b(A,w(o,O)),A}]}),T||!E,m)},86741:(e,t,r)=>{"use strict";var n,i=r(5613),a=r(95691),s=r(9304).f,o=r(97611),l=r(92618),c=r(30836),u=r(39509),d=r(36425),h=r(1942),f=a("".slice),p=Math.min,g=d("startsWith");i({target:"String",proto:!0,forced:!!(h||g||(n=s(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(e){var t=l(u(this));c(e);var r=o(p(arguments.length>1?arguments[1]:void 0,t.length)),n=l(e);return f(t,r,r+n.length)===n}})},52465:(e,t,r)=>{"use strict";r(76058);var n=r(5613),i=r(28799);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},76058:(e,t,r)=>{"use strict";var n=r(5613),i=r(28799);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},72273:(e,t,r)=>{"use strict";var n=r(5613),i=r(92771).trim;n({target:"String",proto:!0,forced:r(14425)("trim")},{trim:function(){return i(this)}})},64007:(e,t,r)=>{"use strict";r(92860)("asyncIterator")},17152:(e,t,r)=>{"use strict";var n=r(5613),i=r(51488),a=r(39944),s=r(16881),o=r(1942),l=r(96893),c=r(48944),u=r(5234),d=r(74418),h=r(4578),f=r(3770),p=r(10380),g=r(42344),v=r(92618),m=r(39123),y=r(77065),b=r(57137),w=r(25629),E=r(43701),T=r(30156),S=r(9304),O=r(64466),x=r(30),A=r(74416),P=r(97509),L=r(10997),k=r(10746),I=r(40168),R=r(67588),C=r(66209),D=r(4282),_=r(90346),M=r(92860),F=r(17093),N=r(93754),j=r(43086),U=r(34104).forEach,B=I("hidden"),$="Symbol",G="prototype",z=j.set,H=j.getterFor($),V=Object[G],K=i.Symbol,Y=K&&K[G],q=i.RangeError,W=i.TypeError,X=i.QObject,Q=S.f,J=O.f,Z=E.f,ee=A.f,te=s([].push),re=k("symbols"),ne=k("op-symbols"),ie=k("wks"),ae=!X||!X[G]||!X[G].findChild,se=function(e,t,r){var n=Q(V,t);n&&delete V[t],J(e,t,r),n&&e!==V&&J(V,t,n)},oe=l&&u((function(){return 7!==y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?se:J,le=function(e,t){var r=re[e]=y(Y);return z(r,{type:$,tag:e,description:t}),l||(r.description=t),r},ce=function(e,t,r){e===V&&ce(ne,t,r),f(e);var n=g(t);return f(r),d(re,n)?(r.enumerable?(d(e,B)&&e[B][n]&&(e[B][n]=!1),r=y(r,{enumerable:m(0,!1)})):(d(e,B)||J(e,B,m(1,y(null))),e[B][n]=!0),oe(e,n,r)):J(e,n,r)},ue=function(e,t){f(e);var r=p(t),n=b(r).concat(pe(r));return U(n,(function(t){l&&!a(de,r,t)||ce(e,t,r[t])})),e},de=function(e){var t=g(e),r=a(ee,this,t);return!(this===V&&d(re,t)&&!d(ne,t))&&(!(r||!d(this,t)||!d(re,t)||d(this,B)&&this[B][t])||r)},he=function(e,t){var r=p(e),n=g(t);if(r!==V||!d(re,n)||d(ne,n)){var i=Q(r,n);return!i||!d(re,n)||d(r,B)&&r[B][n]||(i.enumerable=!0),i}},fe=function(e){var t=Z(p(e)),r=[];return U(t,(function(e){d(re,e)||d(R,e)||te(r,e)})),r},pe=function(e){var t=e===V,r=Z(t?ne:p(e)),n=[];return U(r,(function(e){!d(re,e)||t&&!d(V,e)||te(n,re[e])})),n};c||(P(Y=(K=function(){if(h(Y,this))throw new W("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=C(e),r=function(e){var n=void 0===this?i:this;n===V&&a(r,ne,e),d(n,B)&&d(n[B],t)&&(n[B][t]=!1);var s=m(1,e);try{oe(n,t,s)}catch(e){if(!(e instanceof q))throw e;se(n,t,s)}};return l&&ae&&oe(V,t,{configurable:!0,set:r}),le(t,e)})[G],"toString",(function(){return H(this).tag})),P(K,"withoutSetter",(function(e){return le(C(e),e)})),A.f=de,O.f=ce,x.f=ue,S.f=he,w.f=E.f=fe,T.f=pe,_.f=function(e){return le(D(e),e)},l&&(L(Y,"description",{configurable:!0,get:function(){return H(this).description}}),o||P(V,"propertyIsEnumerable",de,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:K}),U(b(ie),(function(e){M(e)})),n({target:$,stat:!0,forced:!c}
vendor: 12,427 bytes, line 2
2,{useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?y(e):ue(y(e),t)},defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:he}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:fe}),F(),N(K,$),R[B]=!0},93510:(e,t,r)=>{"use strict";var n=r(5613),i=r(96893),a=r(51488),s=r(16881),o=r(74418),l=r(14188),c=r(4578),u=r(92618),d=r(10997),h=r(98657),f=a.Symbol,p=f&&f.prototype;if(i&&l(f)&&(!("description"in p)||void 0!==f().description)){var g={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(p,this)?new f(e):void 0===e?f():f(e);return""===e&&(g[t]=!0),t};h(v,f),v.prototype=p,p.constructor=v;var m="Symbol(description detection)"===String(f("description detection")),y=s(p.valueOf),b=s(p.toString),w=/^Symbol\((.*)\)[^)]+$/,E=s("".replace),T=s("".slice);d(p,"description",{configurable:!0,get:function(){var e=y(this);if(o(g,e))return"";var t=b(e),r=m?T(t,7,-1):E(t,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:v})}},60691:(e,t,r)=>{"use strict";var n=r(5613),i=r(5604),a=r(74418),s=r(92618),o=r(10746),l=r(16577),c=o("string-to-symbol-registry"),u=o("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=s(e);if(a(c,t))return c[t];var r=i("Symbol")(t);return c[t]=r,u[r]=t,r}})},2432:(e,t,r)=>{"use strict";r(92860)("iterator")},58070:(e,t,r)=>{"use strict";r(17152),r(60691),r(36965),r(64727),r(53786)},36965:(e,t,r)=>{"use strict";var n=r(5613),i=r(74418),a=r(6032),s=r(13174),o=r(10746),l=r(16577),c=o("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!a(e))throw new TypeError(s(e)+" is not a symbol");if(i(c,e))return c[e]}})},95307:(e,t,r)=>{"use strict";var n=r(92860),i=r(17093);n("toPrimitive"),i()},9392:(e,t,r)=>{"use strict";var n=r(5604),i=r(92860),a=r(93754);i("toStringTag"),a(n("Symbol"),"Symbol")},18867:(e,t,r)=>{"use strict";var n=r(51488),i=r(39429),a=r(87463),s=r(57500),o=r(88088),l=function(e){if(e&&e.forEach!==s)try{o(e,"forEach",s)}catch(t){e.forEach=s}};for(var c in i)i[c]&&l(n[c]&&n[c].prototype);l(a)},47010:(e,t,r)=>{"use strict";var n=r(51488),i=r(39429),a=r(87463),s=r(33873),o=r(88088),l=r(93754),c=r(4282)("iterator"),u=s.values,d=function(e,t){if(e){if(e[c]!==u)try{o(e,c,u)}catch(t){e[c]=u}if(l(e,t,!0),i[t])for(var r in s)if(e[r]!==s[r])try{o(e,r,s[r])}catch(t){e[r]=s[r]}}};for(var h in i)d(n[h]&&n[h].prototype,h);d(a,"DOMTokenList")},91615:(e,t,r)=>{"use strict";r(33873);var n=r(5613),i=r(51488),a=r(35268),s=r(39944),o=r(16881),l=r(96893),c=r(96301),u=r(97509),d=r(10997),h=r(74320),f=r(93754),p=r(9383),g=r(43086),v=r(40286),m=r(14188),y=r(74418),b=r(85821),w=r(65438),E=r(3770),T=r(80831),S=r(92618),O=r(77065),x=r(39123),A=r(62350),P=r(69874),L=r(76224),k=r(89445),I=r(4282),R=r(9295),C=I("iterator"),D="URLSearchParams",_=D+"Iterator",M=g.set,F=g.getterFor(D),N=g.getterFor(_),j=a("fetch"),U=a("Request"),B=a("Headers"),$=U&&U.prototype,G=B&&B.prototype,z=i.RegExp,H=i.TypeError,V=i.decodeURIComponent,K=i.encodeURIComponent,Y=o("".charAt),q=o([].join),W=o([].push),X=o("".replace),Q=o([].shift),J=o([].splice),Z=o("".split),ee=o("".slice),te=/\+/g,re=Array(4),ne=function(e){return re[e-1]||(re[e-1]=z("((?:%[\\da-f]{2}){"+e+"})","gi"))},ie=function(e){try{return V(e)}catch(t){return e}},ae=function(e){var t=X(e,te," "),r=4;try{return V(t)}catch(e){for(;r;)t=X(t,ne(r--),ie);return t}},se=/[!'()~]|%20/g,oe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},le=function(e){return oe[e]},ce=function(e){return X(K(e),se,le)},ue=p((function(e,t){M(this,{type:_,target:F(e).entries,index:0,kind:t})}),D,(function(){var e=N(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,L(void 0,!0);var n=t[r];switch(e.kind){case"keys":return L(n.key,!1);case"values":return L(n.value,!1)}return L([n.key,n.value],!1)}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(T(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Y(e,0)?ee(e,1):e:S(e)))};de.prototype={type:D,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,o,l,c=this.entries,u=P(e);if(u)for(r=(t=A(e,u)).next;!(n=s(r,t)).done;){if(a=(i=A(E(n.value))).next,(o=s(a,i)).done||(l=s(a,i)).done||!s(a,i).done)throw new H("Expected sequence with length 2");W(c,{key:S(o.value),value:S(l.value)})}else for(var d in e)y(e,d)&&W(c,{key:d,value:S(e[d])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=Z(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&(r=Z(t,"="),W(n,{key:ae(Q(r)),value:ae(q(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],W(r,ce(e.key)+"="+ce(e.value));return q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var he=function(){v(this,fe);var e=M(this,new de(arguments.length>0?arguments[0]:void 0));l||(this.size=e.entries.length)},fe=he.prototype;if(h(fe,{append:function(e,t){var r=F(this);k(arguments.length,2),W(r.entries,{key:S(e),value:S(t)}),l||this.length++,r.updateURL()},delete:function(e){for(var t=F(this),r=k(arguments.length,1),n=t.entries,i=S(e),a=r<2?void 0:arguments[1],s=void 0===a?a:S(a),o=0;o<n.length;){var c=n[o];if(c.key!==i||void 0!==s&&c.value!==s)o++;else if(J(n,o,1),void 0!==s)break}l||(this.size=n.length),t.updateURL()},get:function(e){var t=F(this).entries;k(arguments.length,1);for(var r=S(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=F(this).entries;k(arguments.length,1);for(var r=S(e),n=[],i=0;i<t.length;i++)t[i].key===r&&W(n,t[i].value);return n},has:function(e){for(var t=F(this).entries,r=k(arguments.length,1),n=S(e),i=r<2?void 0:arguments[1],a=void 0===i?i:S(i),s=0;s<t.length;){var o=t[s++];if(o.key===n&&(void 0===a||o.value===a))return!0}return!1},set:function(e,t){var r=F(this);k(arguments.length,1);for(var n,i=r.entries,a=!1,s=S(e),o=S(t),c=0;c<i.length;c++)(n=i[c]).key===s&&(a?J(i,c--,1):(a=!0,n.value=o));a||W(i,{key:s,value:o}),l||(this.size=i.length),r.updateURL()},sort:function(){var e=F(this);R(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=F(this).entries,n=b(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),u(fe,C,fe.entries,{name:"entries"}),u(fe,"toString",(function(){return F(this).serialize()}),{enumerable:!0}),l&&d(fe,"size",{get:function(){return F(this).entries.length},configurable:!0,enumerable:!0}),f(he,D),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:he}),!c&&m(B)){var pe=o(G.has),ge=o(G.set),ve=function(e){if(T(e)){var t,r=e.body;if(w(r)===D)return t=e.headers?new B(e.headers):new B,pe(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(e,{body:x(0,S(r)),headers:x(0,t)})}return e};if(m(j)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return j(e,arguments.length>1?ve(arguments[1]):{})}}),m(U)){var me=function(e){return v(this,$),new U(e,arguments.length>1?ve(arguments[1]):{})};$.constructor=me,me.prototype=$,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:he,getState:F}},34397:(e,t,r)=>{"use strict";r(91615)},70495:(e,t,r)=>{"use strict";r(11011);var n,i=r(5613),a=r(96893),s=r(96301),o=r(51488),l=r(85821),c=r(16881),u=r(97509),d=r(10997),h=r(40286),f=r(74418),p=r(69456),g=r(86859),v=r(27825),m=r(64212).codeAt,y=r(26294),b=r(92618),w=r(93754),E=r(89445),T=r(91615),S=r(43086),O=S.set,x=S.getterFor("URL"),A=T.URLSearchParams,P=T.getState,L=o.URL,k=o.TypeError,I=o.parseInt,R=Math.floor,C=Math.pow,D=c("".charAt),_=c(/./.exec),M=c([].join),F=c(1..toString),N=c([].pop),j=c([].push),U=c("".replace),B=c([].shift),$=c("".split),G=c("".slice),z=c("".toLowerCase),H=c([].unshift),V="Invalid scheme",K="Invalid host",Y="Invalid port",q=/[a-z]/i,W=/[\d+-.a-z]/i,X=/\d/,Q=/^0x/i,J=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+/,ie=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ae=/[\t\n\r]/g,se=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)H(t,e%256),e=R(e/256);return M(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=F(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},oe={},le=p({},oe,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=p({},le,{"#":1,"?":1,"{":1,"}":1}),ue=p({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var r=m(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fe=function(e,t){var r;return 2===e.length&&_(q,D(e,0))&&(":"===(r=D(e,1))||!t&&"|"===r)},pe=function(e){var t;return e.length>1&&fe(G(e,0,2))&&(2===e.length||"/"===(t=D(e,2))||"\\"===t||"?"===t||"#"===t)},ge=function(e){return"."===e||"%2e"===z(e)},ve={},me={},ye={},be={},we={},Ee={},Te={},Se={},Oe={},xe={},Ae={},Pe={},Le={},ke={},Ie={},Re={},Ce={},De={},_e={},Me={},Fe={},Ne=function(e,t,r){var n,i,a,s=b(e);if(t){if(i=this.parse(s))throw new k(i);this.searchParams=null}else{if(void 0!==r&&(n=new Ne(r,!0)),i=this.parse(s,null,n))throw new k(i);(a=P(new A)).bindURL(this),this.searchParams=a}};Ne.prototype={type:"URL",parse:function(e,t,r){var i,a,s,o,l,c=this,u=t||ve,d=0,h="",p=!1,m=!1,y=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=U(e,ne,""),e=U(e,ie,"$1")),e=U(e,ae,""),i=g(e);d<=i.length;){switch(a=i[d],u){case ve:if(!a||!_(q,a)){if(t)return V;u=ye;continue}h+=z(a),u=me;break;case me:if(a&&(_(W,a)||"+"===a||"-"===a||"."===a))h+=z(a);else{if(":"!==a){if(t)return V;h="",u=ye,d=0;continue}if(t&&(c.isSpecial()!==f(he,h)||"file"===h&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=h,t)return void(c.isSpecial()&&he[c.scheme]===c.port&&(c.port=null));h="","file"===c.scheme?u=ke:c.isSpecial()&&r&&r.scheme===c.scheme?u=be:c.isSpecial()?u=Se:"/"===i[d+1]?(u=we,d++):(c.cannotBeABaseURL=!0,j(c.path,""),u=_e)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!==a)return V;if(r.cannotBeABaseURL&&"#"===a){c.scheme=r.scheme,c.path=v(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=Fe;break}u="file"===r.scheme?ke:Ee;continue;case be:if("/"!==a||"/"!==i[d+1]){u=Ee;continue}u=Oe,d++;break;case we:if("/"===a){u=xe;break}u=De;continue;case Ee:if(c.scheme=r.scheme,a===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query;else if("/"===a||"\\"===a&&c.isSpecial())u=Te;else if("?"===a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query="",u=Me;else{if("#"!==a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.path.length--,u=De;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=v(r.path),c.query=r.query,c.fragment="",u=Fe}break;case Te:if(!c.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=De;continue}u=xe}else u=Oe;break;case Se:if(u=Oe,"/"!==a||"/"!==D(h,d+1))continue;d++;break;case Oe:if("/"!==a&&"\\"!==a){u=xe;continue}break;case xe:if("@"===a){p&&(h="%40"+h),p=!0,s=g(h);for(var w=0;w<s.length;w++){var E=s[w];if(":"!==E||y){var T=de(E,ue);y?c.password+=T:c.username+=T}else y=!0}h=""}else if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&c.isSpecial()){if(p&&""===h)return"Invalid authority";d-=g(h).length+1,h="",u=Ae}else h+=a;break;case Ae:case Pe:if(t&&"file"===c.scheme){u=Re;continue}if(":"!==a||m){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&c.isSpecial()){if(c.isSpecial()&&""===h)return K;if(t&&""===h&&(c.includesCredentials()||null!==c.port))return;if(o=c.parseHost(h))return o;if(h="",u=Ce,t)return;continue}"["===a?m=!0:"]"===a&&(m=!1),h+=a}else{if(""===h)return K;if(o=c.parseHost(h))return o;if(h="",u=Le,t===Pe)return}break;
vendor: 5,229 bytes, line 2
2case Le:if(!_(X,a)){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&c.isSpecial()||t){if(""!==h){var S=I(h,10);if(S>65535)return Y;c.port=c.isSpecial()&&S===he[c.scheme]?null:S,h=""}if(t)return;u=Ce;continue}return Y}h+=a;break;case ke:if(c.scheme="file","/"===a||"\\"===a)u=Ie;else{if(!r||"file"!==r.scheme){u=De;continue}switch(a){case n:c.host=r.host,c.path=v(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=v(r.path),c.query="",u=Me;break;case"#":c.host=r.host,c.path=v(r.path),c.query=r.query,c.fragment="",u=Fe;break;default:pe(M(v(i,d),""))||(c.host=r.host,c.path=v(r.path),c.shortenPath()),u=De;continue}}break;case Ie:if("/"===a||"\\"===a){u=Re;break}r&&"file"===r.scheme&&!pe(M(v(i,d),""))&&(fe(r.path[0],!0)?j(c.path,r.path[0]):c.host=r.host),u=De;continue;case Re:if(a===n||"/"===a||"\\"===a||"?"===a||"#"===a){if(!t&&fe(h))u=De;else if(""===h){if(c.host="",t)return;u=Ce}else{if(o=c.parseHost(h))return o;if("localhost"===c.host&&(c.host=""),t)return;h="",u=Ce}continue}h+=a;break;case Ce:if(c.isSpecial()){if(u=De,"/"!==a&&"\\"!==a)continue}else if(t||"?"!==a)if(t||"#"!==a){if(a!==n&&(u=De,"/"!==a))continue}else c.fragment="",u=Fe;else c.query="",u=Me;break;case De:if(a===n||"/"===a||"\\"===a&&c.isSpecial()||!t&&("?"===a||"#"===a)){if(".."===(l=z(l=h))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(c.shortenPath(),"/"===a||"\\"===a&&c.isSpecial()||j(c.path,"")):ge(h)?"/"===a||"\\"===a&&c.isSpecial()||j(c.path,""):("file"===c.scheme&&!c.path.length&&fe(h)&&(c.host&&(c.host=""),h=D(h,0)+":"),j(c.path,h)),h="","file"===c.scheme&&(a===n||"?"===a||"#"===a))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"===a?(c.query="",u=Me):"#"===a&&(c.fragment="",u=Fe)}else h+=de(a,ce);break;case _e:"?"===a?(c.query="",u=Me):"#"===a?(c.fragment="",u=Fe):a!==n&&(c.path[0]+=de(a,oe));break;case Me:t||"#"!==a?a!==n&&("'"===a&&c.isSpecial()?c.query+="%27":c.query+="#"===a?"%23":de(a,oe)):(c.fragment="",u=Fe);break;case Fe:a!==n&&(c.fragment+=de(a,le))}d++}},parseHost:function(e){var t,r,n;if("["===D(e,0)){if("]"!==D(e,e.length-1))return K;if(t=function(e){var t,r,n,i,a,s,o,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,h=function(){return D(e,d)};if(":"===h()){if(":"!==D(e,1))return;d+=2,u=++c}for(;h();){if(8===c)return;if(":"!==h()){for(t=r=0;r<4&&_(ee,h());)t=16*t+I(h(),16),d++,r++;if("."===h()){if(0===r)return;if(d-=r,c>6)return;for(n=0;h();){if(i=null,n>0){if(!("."===h()&&n<4))return;d++}if(!_(X,h()))return;for(;_(X,h());){if(a=I(h(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;d++}l[c]=256*l[c]+i,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===h()){if(d++,!h())return}else if(h())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(s=c-u,c=7;0!==c&&s>0;)o=l[c],l[c--]=l[u+s-1],l[u+--s]=o;else if(8!==c)return;return l}(G(e,1,-1)),!t)return K;this.host=t}else if(this.isSpecial()){if(e=y(e),_(te,e))return K;if(t=function(e){var t,r,n,i,a,s,o,l=$(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(i=l[n]))return e;if(a=10,i.length>1&&"0"===D(i,0)&&(a=_(Q,i)?16:8,i=G(i,8===a?1:2)),""===i)s=0;else{if(!_(10===a?Z:8===a?J:ee,i))return e;s=I(i,a)}j(r,s)}for(n=0;n<t;n++)if(s=r[n],n===t-1){if(s>=C(256,5-t))return null}else if(s>255)return null;for(o=N(r),n=0;n<r.length;n++)o+=r[n]*C(256,3-n);return o}(e),null===t)return K;this.host=t}else{if(_(re,e))return K;for(t="",r=g(e),n=0;n<r.length;n++)t+=de(r[n],oe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return f(he,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&fe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,a=e.port,s=e.path,o=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=se(i),null!==a&&(c+=":"+a)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?s[0]:s.length?"/"+M(s,"/"):"",null!==o&&(c+="?"+o),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw new k(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new je(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+se(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=de(t[r],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=de(t[r],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?se(e):se(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":se(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Pe)},getPort:function(){var e=this.port;
vendor: 7,513 bytes, line 2
2return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,Le))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+M(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ce))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===D(e,0)&&(e=G(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=b(e))?("#"===D(e,0)&&(e=G(e,1)),this.fragment="",this.parse(e,Fe)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var je=function(e){var t=h(this,Ue),r=E(arguments.length,1)>1?arguments[1]:void 0,n=O(t,new Ne(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ue=je.prototype,Be=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(d(Ue,"href",Be("serialize","setHref")),d(Ue,"origin",Be("getOrigin")),d(Ue,"protocol",Be("getProtocol","setProtocol")),d(Ue,"username",Be("getUsername","setUsername")),d(Ue,"password",Be("getPassword","setPassword")),d(Ue,"host",Be("getHost","setHost")),d(Ue,"hostname",Be("getHostname","setHostname")),d(Ue,"port",Be("getPort","setPort")),d(Ue,"pathname",Be("getPathname","setPathname")),d(Ue,"search",Be("getSearch","setSearch")),d(Ue,"searchParams",Be("getSearchParams")),d(Ue,"hash",Be("getHash","setHash"))),u(Ue,"toJSON",(function(){return x(this).serialize()}),{enumerable:!0}),u(Ue,"toString",(function(){return x(this).serialize()}),{enumerable:!0}),L){var $e=L.createObjectURL,Ge=L.revokeObjectURL;$e&&u(je,"createObjectURL",l($e,L)),Ge&&u(je,"revokeObjectURL",l(Ge,L))}w(je,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!a},{URL:je})},83165:(e,t,r)=>{"use strict";r(70495)},74070:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},49397:(e,t,r)=>{"use strict";r.d(t,{l:()=>s});const n='"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif';function i(e,t,r){return e.clearRect(0,0,100,100),e.fillStyle=r,e.fillText(t,0,0),e.getImageData(0,0,1,1).data.join(",")}function a(e){const t=function(){const e=document.createElement("canvas");e.width=e.height=1;const t=e.getContext("2d",{willReadFrequently:!0});return t.textBaseline="top",t.font=`100px ${n}`,t.scale(.01,.01),t}(),r=i(t,e,"#fff"),a=i(t,e,"#000");return a===r&&!a.startsWith("0,0,0,")}function s(e="Twemoji Country Flags",t="https://cdn.jsdelivr.net/npm/[email protected]/dist/TwemojiCountryFlags.woff2"){if(typeof window<"u"&&a("ð")&&!a("ð¨ð")){const r=document.createElement("style");return r.textContent=`@font-face {\n font-family: "${e}";\n unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067,\n U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;\n src: url('${t}') format('woff2');\n font-display: swap;\n }`,document.head.appendChild(r),!0}return!1}},4204:(e,t,r)=>{"use strict";r.d(t,{GP:()=>Fe,L_:()=>Ne});const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function o(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=r?.width?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=r?.width?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return(t,r={})=>{const n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const s=a[0],o=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(o)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r;return}(o,(e=>e.test(s))):function(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r;return}(o,(e=>e.test(s)));let c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;return{value:c,rest:t.slice(s.length)}}}var c;const u={code:"en-US",formatDistance:(e,t,r)=>{let i;const a=n[e];return i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i},formatLong:a,formatRelative:(e,t,r,n)=>s[e],localize:{ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:o({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:o({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:o({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:o({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const r=e.match(c.matchPattern);if(!r)return null;const n=r[0],i=e.match(c.parsePattern);if(!i)return null;let a=c.valueCallback?c.valueCallback(i[0]):i[0];return a=t.valueCallback?t.valueCallback(a):a,{value:a,rest:e.slice(n.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let d={};function h(){return d}var f=r(96113);function p(e){const t=(0,f.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}var g=r(56862);var v=r(82278);function m(e,t){const r=(0,f.a)(e,t?.in);return r.setHours(0,0,0,0),r}function y(e,t,r){const[n,i]=function(e,...t){const r=g.w.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(r)}(r?.in,e,t),a=m(n),s=m(i),o=+a-p(a),l=+s-p(s);return Math.round((o-l)/v.w4)}function b(e,t){const r=(0,f.a)(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function w(e,t){const r=(0,f.a)(e,t?.in);return y(r,b(r))+1}function E(e,t){const r=h(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=(0,f.a)(e,t?.in),a=i.getDay(),s=(a<n?7:0)+a-n;return i.setDate(i.getDate()-s),i.setHours(0,0,0,0),i}function T(e,t){return E(e,{...t,weekStartsOn:1})}function S(e,t){const r=(0,f.a)(e,t?.in),n=r.getFullYear(),i=(0,g.w)(r,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);const a=T(i),s=(0,g.w)(r,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);const o=T(s);return r.getTime()>=a.getTime()?n+1:r.getTime()>=o.getTime()?n:n-1}function O(e,t){const r=S(e,t),n=(0,g.w)(t?.in||e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),T(n)}function x(e,t){const r=(0,f.a)(e,t?.in),n=+T(r)-+O(r);return Math.round(n/v.my)+1}function A(e,t){const r=(0,f.a)(e,t?.in),n=r.getFullYear(),i=h(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=(0,g.w)(t?.in||e,0);s.setFullYear(n+1,0,a),s.setHours(0,0,0,0);const o=E(s,t),l=(0,g.w)(t?.in||e,0);l.setFullYear(n,0,a),l.setHours(0,0,0,0);const c=E(l,t);return+r>=+o?n+1:+r>=+c?n:n-1}function P(e,t){const r=h(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=A(e,t),a=(0,g.w)(t?.in||e,0);a.setFullYear(i,0,n),a.setHours(0,0,0,0);return E(a,t)}function L(e,t){const r=(0,f.a)(e,t?.in),n=+E(r,t)-+P(r,t);return Math.round(n/v.my)+1}function k(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const I={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return k("yy"===t?n%100:n,t.length)},M(e,t){const r=e.getMonth();return"M"===t?String(r+1):k(r+1,2)},d:(e,t)=>k(e.getDate(),t.length),a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];
vendor: 10,299 bytes, line 2
2default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>k(e.getHours()%12||12,t.length),H:(e,t)=>k(e.getHours(),t.length),m:(e,t)=>k(e.getMinutes(),t.length),s:(e,t)=>k(e.getSeconds(),t.length),S(e,t){const r=t.length,n=e.getMilliseconds();return k(Math.trunc(n*Math.pow(10,r-3)),t.length)}},R="midnight",C="noon",D="morning",_="afternoon",M="evening",F="night",N={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){const t=e.getFullYear(),n=t>0?t:1-t;return r.ordinalNumber(n,{unit:"year"})}return I.y(e,t)},Y:function(e,t,r,n){const i=A(e,n),a=i>0?i:1-i;if("YY"===t){return k(a%100,2)}return"Yo"===t?r.ordinalNumber(a,{unit:"year"}):k(a,t.length)},R:function(e,t){return k(S(e),t.length)},u:function(e,t){return k(e.getFullYear(),t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return k(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return k(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return I.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return k(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const i=L(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):k(i,t.length)},I:function(e,t,r){const n=x(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):k(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):I.d(e,t)},D:function(e,t,r){const n=w(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):k(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return k(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return k(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return k(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let i;switch(i=12===n?C:0===n?R:n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let i;switch(i=n>=17?M:n>=12?_:n>=4?D:F,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return I.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):I.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):k(n,t.length)},k:function(e,t,r){let n=e.getHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):k(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):I.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):I.s(e,t)},S:function(e,t){return I.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return U(n);case"XXXX":case"XX":return B(n);default:return B(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return U(n);case"xxxx":case"xx":return B(n);default:return B(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+j(n,":");default:return"GMT"+B(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+j(n,":");default:return"GMT"+B(n,":")}},t:function(e,t,r){return k(Math.trunc(+e/1e3),t.length)},T:function(e,t,r){return k(+e,t.length)}};function j(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),a=n%60;return 0===a?r+String(i):r+String(i)+t+k(a,2)}function U(e,t){if(e%60==0){return(e>0?"-":"+")+k(Math.abs(e)/60,2)}return B(e,t)}function B(e,t=""){const r=e>0?"-":"+",n=Math.abs(e);return r+k(Math.trunc(n/60),2)+t+k(n%60,2)}const $=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},G=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},z={p:G,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return $(e,t);let a;switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",$(n,t)).replace("{{time}}",G(i,t))}},H=/^D+$/,V=/^Y+$/,K=["D","DD","YY","YYYY"];function Y(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function q(e){return!(!Y(e)&&"number"!=typeof e||isNaN(+(0,f.a)(e)))}const W=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,X=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q=/^'([^]*?)'?$/,J=/''/g,Z=/[a-zA-Z]/;function ee(e,t,r){const n=h(),i=r?.locale??n.locale??u,a=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,f.a)(e,r?.in);if(!q(o))throw new RangeError("Invalid time value");let l=t.match(X).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,z[t])(e,i.formatLong)}return e})).join("").match(W).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:te(e)};if(N[t])return{isToken:!0,value:e};if(t.match(Z))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));i.localize.preprocessor&&(l=i.localize.preprocessor(o,l));const c={firstWeekContainsDate:a,weekStartsOn:s,locale:i};return l.map((n=>{if(!n.isToken)return n.value;const a=n.value;(!r?.useAdditionalWeekYearTokens&&function(e){return V.test(e)}(a)||!r?.useAdditionalDayOfYearTokens&&function(e){return H.test(e)}(a))&&function(e,t,r){const n=function(e,t,r){const n="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,r);if(console.warn(n),K.includes(e))throw new RangeError(n)}(a,t,String(e));return(0,N[a[0]])(o,a,i.localize,c)})).join("")}function te(e){const t=e.match(Q);return t?t[1].replace(J,"'"):e}function re(){return Object.assign({},h())}function ne(e,t,r){const n=re(),i=function(e,t,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,r.timeZone,r.locale??n.locale);return"formatToParts"in i?function(e,t){const r=e.formatToParts(t);for(let e=r.length-1;e>=0;--e)if("timeZoneName"===r[e].type)return r[e].value;return}(i,t):function(e,t){const r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}(i,t)}function ie(e,t){const r=function(e){se[e]||(se[e]=le?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,
2year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}));return se[e]}(t);return"formatToParts"in r?function(e,t){try{const r=e.formatToParts(t),n=[];for(let e=0;e<r.length;e++){const t=ae[r[e].type];void 0!==t&&(n[t]=parseInt(r[e].value,10))}return n}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(r,e):function(e,t){const r=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}(r,e)}const ae={year:0,month:1,day:2,hour:3,minute:4,second:5};const se={},oe=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),le="06/25/2014, 00:00:00"===oe||"â06â/â25â/â2014â â00â:â00â:â00"===oe;function ce(e,t,r,n,i,a,s){const o=new Date(0);return o.setUTCFullYear(e,t,r),o.setUTCHours(n,i,a,s),o}const ue=36e5,de=6e4,he={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function fe(e,t,r){if(!e)return 0;let n,i,a=he.timezoneZ.exec(e);if(a)return 0;if(a=he.timezoneHH.exec(e),a)return n=parseInt(a[1],10),ge(n)?-n*ue:NaN;if(a=he.timezoneHHMM.exec(e),a){n=parseInt(a[2],10);const e=parseInt(a[3],10);return ge(n,e)?(i=Math.abs(n)*ue+e*de,"+"===a[1]?-i:i):NaN}if(function(e){if(ve[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),ve[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());const n=r?t:function(e){return ce(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),i=pe(n,e),a=r?i:function(e,t,r){const n=e.getTime();let i=n-t;const a=pe(new Date(i),r);if(t===a)return t;i-=a-t;const s=pe(new Date(i),r);if(a===s)return a;return Math.max(a,s)}(t,i,e);return-a}return NaN}function pe(e,t){const r=ie(e,t),n=ce(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime();let i=e.getTime();const a=i%1e3;return i-=a>=0?a:1e3+a,n-i}function ge(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}const ve={};const me={X:function(e,t,r){const n=ye(r.timeZone,e);if(0===n)return"Z";switch(t){case"X":return Ee(n);case"XXXX":case"XX":return we(n);default:return we(n,":")}},x:function(e,t,r){const n=ye(r.timeZone,e);switch(t){case"x":return Ee(n);case"xxxx":case"xx":return we(n);default:return we(n,":")}},O:function(e,t,r){const n=ye(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(0===a)return r+String(i);return r+String(i)+t+be(a,2)}(n,":");default:return"GMT"+we(n,":")}},z:function(e,t,r){switch(t){case"z":case"zz":case"zzz":return ne("short",e,r);default:return ne("long",e,r)}}};function ye(e,t){const r=e?fe(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function be(e,t){const r=e<0?"-":"";let n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return r+n}function we(e,t=""){const r=e>0?"-":"+",n=Math.abs(e);return r+be(Math.floor(n/60),2)+t+be(Math.floor(n%60),2)}function Ee(e,t){if(e%60==0){return(e>0?"-":"+")+be(Math.abs(e)/60,2)}return we(e,t)}function Te(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const Se=36e5,Oe=6e4,xe=2,Ae={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/};function Pe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);const r=null==t.additionalDigits?xe:Number(t.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);const n=function(e){const t={};let r,n=Ae.dateTimePattern.exec(e);n?(t.date=n[1],r=n[3]):(n=Ae.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e));if(r){const e=Ae.timeZone.exec(r);e?(t.time=r.replace(e[1],""),t.timeZone=e[1].trim()):t.time=r}return t}(e),{year:i,restDateString:a}=function(e,t){if(e){const r=Ae.YYY[t],n=Ae.YYYYY[t];let i=Ae.YYYY.exec(e)||n.exec(e);if(i){const t=i[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(i=Ae.YY.exec(e)||r.exec(e),i){const t=i[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(n.date,r),s=function(e,t){if(null===t)return null;let r,n,i;if(!e||!e.length)return r=new Date(0),r.setUTCFullYear(t),r;let a=Ae.MM.exec(e);if(a)return r=new Date(0),n=parseInt(a[1],10)-1,Ce(t,n)?(r.setUTCFullYear(t,n),r):new Date(NaN);if(a=Ae.DDD.exec(e),a){r=new Date(0);const e=parseInt(a[1],10);return function(e,t){if(t<1)return!1;const r=Re(e);if(r&&t>366)return!1;if(!r&&t>365)return!1;return!0}(t,e)?(r.setUTCFullYear(t,0,e),r):new Date(NaN)}if(a=Ae.MMDD.exec(e),a){r=new Date(0),n=parseInt(a[1],10)-1;const e=parseInt(a[2],10);return Ce(t,n,e)?(r.setUTCFullYear(t,n,e),r):new Date(NaN)}if(a=Ae.Www.exec(e),a)return i=parseInt(a[1],10)-1,De(i)?Le(t,i):new Date(NaN);if(a=Ae.WwwD.exec(e),a){i=parseInt(a[1],10)-1;const e=parseInt(a[2],10)-1;return De(i,e)?Le(t,i,e):new Date(NaN)}return null}(a,i);if(null===s||isNaN(s.getTime()))return new Date(NaN);if(s){const e=s.getTime();let r,i=0;if(n.time&&(i=function(e){let t,r,n=Ae.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),_e(t)?t%24*Se:NaN;if(n=Ae.HHMM.exec(e),n)return t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")),_e(t,r)?t%24*Se+r*Oe:NaN;if(n=Ae.HHMMSS.exec(e),n){t=parseInt(n[1],10),r=parseInt(n[2],10);const e=parseFloat(n[3].replace(",","."));return _e(t,r,e)?t%24*Se+r*Oe+1e3*e:NaN}return null}
2(n.time),null===i||isNaN(i)))return new Date(NaN);if(n.timeZone||t.timeZone){if(r=fe(n.timeZone||t.timeZone,new Date(e+i)),isNaN(r))return new Date(NaN)}else r=Te(new Date(e+i)),r=Te(new Date(e+i+r));return new Date(e+i+r)}return new Date(NaN)}function Le(e,t,r){t=t||0,r=r||0;const n=new Date(0);n.setUTCFullYear(e,0,4);const i=7*t+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+i),n}const ke=[31,28,31,30,31,30,31,31,30,31,30,31],Ie=[31,29,31,30,31,30,31,31,30,31,30,31];function Re(e){return e%400==0||e%4==0&&e%100!=0}function Ce(e,t,r){if(t<0||t>11)return!1;if(null!=r){if(r<1)return!1;const n=Re(e);if(n&&r>Ie[t])return!1;if(!n&&r>ke[t])return!1}return!0}function De(e,t){return!(e<0||e>52)&&(null==t||!(t<0||t>6))}function _e(e,t,r){return!(e<0||e>=25)&&((null==t||!(t<0||t>=60))&&(null==r||!(r<0||r>=60)))}const Me=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Fe(e,t,r={}){const n=(t=String(t)).match(Me);if(n){const i=Pe(r.originalDate||e,r);t=n.reduce((function(e,t){if("'"===t[0])return e;const n=e.indexOf(t),a="'"===e[n-1],s=e.replace(t,"'"+me[t[0]](i,t,r)+"'");return a?s.substring(0,n-1)+s.substring(n+1):s}),t)}return ee(e,t,r)}function Ne(e,t,r){const n=fe(t,e=Pe(e,r),!0),i=new Date(e.getTime()-n),a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}},82278:(e,t,r)=>{"use strict";r.d(t,{_P:()=>a,my:()=>n,w4:()=>i});Math.pow(10,8);const n=6048e5,i=864e5,a=Symbol.for("constructDateFrom")},56862:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(82278);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&n._P in e?e[n._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},90685:(e,t,r)=>{"use strict";r.d(t,{e:()=>s});var n=r(56862),i=r(96113);function a(e,t,r){const a=(0,i.a)(e,r?.in);return isNaN(t)?(0,n.w)(r?.in||e,NaN):t?(a.setDate(a.getDate()+t),a):a}function s(e,t,r){return a(e,-t,r)}},96113:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(56862);function i(e,t){return(0,n.w)(t||e,e)}},68470:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}r.d(t,{Ay:()=>qs});var i,a,s,o,l,c={exports:{}};i=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,a=/^(?=([^\/?#]*))\1([^]*)$/,s=/(?:\/|^)\.(?=\/)/g,o=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,c.exports=l={buildAbsoluteURL:function(e,t,r){if(r=r||{},e=e.trim(),!(t=t.trim())){if(!r.alwaysNormalize)return e;var n=l.parseURL(e);if(!n)throw new Error("Error trying to parse base URL.");return n.path=l.normalizePath(n.path),l.buildURLFromParts(n)}var i=l.parseURL(t);if(!i)throw new Error("Error trying to parse relative URL.");if(i.scheme)return r.alwaysNormalize?(i.path=l.normalizePath(i.path),l.buildURLFromParts(i)):t;var s=l.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var o=a.exec(s.path);s.netLoc=o[1],s.path=o[2]}s.netLoc&&!s.path&&(s.path="/");var c={scheme:s.scheme,netLoc:i.netLoc,path:null,params:i.params,query:i.query,fragment:i.fragment};if(!i.netLoc&&(c.netLoc=s.netLoc,"/"!==i.path[0]))if(i.path){var u=s.path,d=u.substring(0,u.lastIndexOf("/")+1)+i.path;c.path=l.normalizePath(d)}else c.path=s.path,i.params||(c.params=s.params,i.query||(c.query=s.query));return null===c.path&&(c.path=r.alwaysNormalize?l.normalizePath(i.path):i.path),l.buildURLFromParts(c)},parseURL:function(e){var t=i.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(s,"");e.length!==(e=e.replace(o,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}};var u=c.exports;function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
vendor: 5,055 bytes, line 2
2t%2?d(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function p(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}const v=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},m=Number.isSafeInteger||function(e){return"number"==typeof e&&Math.abs(e)<=y},y=Number.MAX_SAFE_INTEGER||9007199254740991;let b=function(e){return e.MEDIA_ATTACHING="hlsMediaAttaching",e.MEDIA_ATTACHED="hlsMediaAttached",e.MEDIA_DETACHING="hlsMediaDetaching",e.MEDIA_DETACHED="hlsMediaDetached",e.BUFFER_RESET="hlsBufferReset",e.BUFFER_CODECS="hlsBufferCodecs",e.BUFFER_CREATED="hlsBufferCreated",e.BUFFER_APPENDING="hlsBufferAppending",e.BUFFER_APPENDED="hlsBufferAppended",e.BUFFER_EOS="hlsBufferEos",e.BUFFER_FLUSHING="hlsBufferFlushing",e.BUFFER_FLUSHED="hlsBufferFlushed",e.MANIFEST_LOADING="hlsManifestLoading",e.MANIFEST_LOADED="hlsManifestLoaded",e.MANIFEST_PARSED="hlsManifestParsed",e.LEVEL_SWITCHING="hlsLevelSwitching",e.LEVEL_SWITCHED="hlsLevelSwitched",e.LEVEL_LOADING="hlsLevelLoading",e.LEVEL_LOADED="hlsLevelLoaded",e.LEVEL_UPDATED="hlsLevelUpdated",e.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",e.LEVELS_UPDATED="hlsLevelsUpdated",e.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",e.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",e.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",e.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",e.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",e.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",e.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",e.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",e.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",e.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",e.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",e.CUES_PARSED="hlsCuesParsed",e.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",e.INIT_PTS_FOUND="hlsInitPtsFound",e.FRAG_LOADING="hlsFragLoading",e.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",e.FRAG_LOADED="hlsFragLoaded",e.FRAG_DECRYPTED="hlsFragDecrypted",e.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",e.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",e.FRAG_PARSING_METADATA="hlsFragParsingMetadata",e.FRAG_PARSED="hlsFragParsed",e.FRAG_BUFFERED="hlsFragBuffered",e.FRAG_CHANGED="hlsFragChanged",e.FPS_DROP="hlsFpsDrop",e.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",e.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",e.ERROR="hlsError",e.DESTROYING="hlsDestroying",e.KEY_LOADING="hlsKeyLoading",e.KEY_LOADED="hlsKeyLoaded",e.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",e.BACK_BUFFER_REACHED="hlsBackBufferReached",e.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",e}({}),w=function(e){return e.NETWORK_ERROR="networkError",e.MEDIA_ERROR="mediaError",e.KEY_SYSTEM_ERROR="keySystemError",e.MUX_ERROR="muxError",e.OTHER_ERROR="otherError",e}({}),E=function(e){return e.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",e.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",e.KEY_SYSTEM_NO_SESSION="keySystemNoSession",e.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",e.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",e.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",e.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",e.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",e.MANIFEST_LOAD_ERROR="manifestLoadError",e.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",e.MANIFEST_PARSING_ERROR="manifestParsingError",e.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",e.LEVEL_EMPTY_ERROR="levelEmptyError",e.LEVEL_LOAD_ERROR="levelLoadError",e.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",e.LEVEL_PARSING_ERROR="levelParsingError",e.LEVEL_SWITCH_ERROR="levelSwitchError",e.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",e.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",e.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",e.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",e.FRAG_LOAD_ERROR="fragLoadError",e.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",e.FRAG_DECRYPT_ERROR="fragDecryptError",e.FRAG_PARSING_ERROR="fragParsingError",e.FRAG_GAP="fragGap",e.REMUX_ALLOC_ER
vendor: 5,378 bytes, line 2
2ROR="remuxAllocError",e.KEY_LOAD_ERROR="keyLoadError",e.KEY_LOAD_TIMEOUT="keyLoadTimeOut",e.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",e.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",e.BUFFER_APPEND_ERROR="bufferAppendError",e.BUFFER_APPENDING_ERROR="bufferAppendingError",e.BUFFER_STALLED_ERROR="bufferStalledError",e.BUFFER_FULL_ERROR="bufferFullError",e.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",e.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",e.INTERNAL_EXCEPTION="internalException",e.INTERNAL_ABORTED="aborted",e.UNKNOWN="unknown",e}({});const T=function(){},S={trace:T,debug:T,log:T,warn:T,info:T,error:T};let O=S;function x(e,...t){t.forEach((function(t){O[t]=e[t]?e[t].bind(e):function(e){const t=self.console[e];return t?t.bind(self.console,`[${e}] >`):T}(t)}))}const A=O,P=/^(\d+)x(\d+)$/,L=/(.+?)=(".*?"|.*?)(?:,|$)/g;class k{constructor(e){"string"==typeof e&&(e=k.parseAttrList(e)),g(this,e)}get clientAttrs(){return Object.keys(this).filter((e=>"X-"===e.substring(0,2)))}decimalInteger(e){const t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}hexadecimalInteger(e){if(this[e]){let t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;const r=new Uint8Array(t.length/2);for(let e=0;e<t.length/2;e++)r[e]=parseInt(t.slice(2*e,2*e+2),16);return r}return null}hexadecimalIntegerAsNumber(e){const t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}decimalFloatingPoint(e){return parseFloat(this[e])}optionalFloat(e,t){const r=this[e];return r?parseFloat(r):t}enumeratedString(e){return this[e]}bool(e){return"YES"===this[e]}decimalResolution(e){const t=P.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e){let t;const r={};for(L.lastIndex=0;null!==(t=L.exec(e));){let e=t[2];0===e.indexOf('"')&&e.lastIndexOf('"')===e.length-1&&(e=e.slice(1,-1));r[t[1].trim()]=e}return r}}function I(e){return"SCTE35-OUT"===e||"SCTE35-IN"===e}class R{constructor(e,t){if(this.attr=void 0,this._startDate=void 0,this._endDate=void 0,this._badValueForSameId=void 0,t){const r=t.attr;for(const t in r)if(Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==r[t]){A.warn(`DATERANGE tag attribute: "${t}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=t;break}e=g(new k({}),r,e)}if(this.attr=e,this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const e=new Date(this.attr["END-DATE"]);v(e.getTime())&&(this._endDate=e)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get startDate(){return this._startDate}get endDate(){if(this._endDate)return this._endDate;const e=this.duration;return null!==e?new Date(this._startDate.getTime()+1e3*e):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if(v(e))return e}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isValid(){return!!this.id&&!this._badValueForSameId&&v(this.startDate.getTime())&&(null===this.duration||this.duration>=0)&&(!this.endOnNext||!!this.class)}}class C{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var D="audio",_="video",M="audiovideo";class F{constructor(e){this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams={[D]:null,[_]:null,[M]:null},this.baseurl=e}setByteRange(e,t){const r=e.split("@",2);let n;n=1===r.length?(null==t?void 0:t.byteRangeEndOffset)||0:parseInt(r[1]),this._byteRange=[n,parseInt(r[0])+n]}get byteRange(){return this._byteRange?this._byteRange:[]}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=u.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}}class N extends F{constructor(e,t){super(t),this._decryptdata=null,this.rawProgramDateTime=null,this.programDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.stats=new C,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=e}get decryptdata(){const{levelkeys:e}=this;if(!e&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const e=this.levelkeys.identity;if(e)this._decryptdata=e.getDecryptData(this.sn);else{const e=Object.keys(this.levelkeys);if(1===e.length)return this._decryptdata=this.levelkeys[e[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(null===this.programDateTime)return null;if(!v(this.programDateTime))return null;const e=v(this.duration)?this.duration:0;return this.programDateTime+1e3*e}get encrypted(){var e;if(null!=(e=this._decryptdata)&&e.encrypted)return!0;
vendor: 29,630 bytes, line 2
2if(this.levelkeys){const e=Object.keys(this.levelkeys),t=e.length;if(t>1||1===t&&this.levelkeys[e[0]].encrypted)return!0}return!1}setKeyFormat(e){if(this.levelkeys){const t=this.levelkeys[e];t&&!this._decryptdata&&(this._decryptdata=t.getDecryptData(this.sn))}}abortRequests(){var e,t;null==(e=this.loader)||e.abort(),null==(t=this.keyLoader)||t.abort()}setElementaryStreamInfo(e,t,r,n,i,a=!1){const{elementaryStreams:s}=this,o=s[e];o?(o.startPTS=Math.min(o.startPTS,t),o.endPTS=Math.max(o.endPTS,r),o.startDTS=Math.min(o.startDTS,n),o.endDTS=Math.max(o.endDTS,i)):s[e]={startPTS:t,endPTS:r,startDTS:n,endDTS:i,partial:a}}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[D]=null,e[_]=null,e[M]=null}}class j extends F{constructor(e,t,r,n,i){super(r),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.stats=new C,this.duration=e.decimalFloatingPoint("DURATION"),this.gap=e.bool("GAP"),this.independent=e.bool("INDEPENDENT"),this.relurl=e.enumeratedString("URI"),this.fragment=t,this.index=n;const a=e.enumeratedString("BYTERANGE");a&&this.setByteRange(a,i),i&&(this.fragOffset=i.fragOffset+i.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:e}=this;return!!(e.audio||e.video||e.audiovideo)}}class U{constructor(e){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=e}reloaded(e){if(!e)return this.advanced=!0,void(this.updated=!0);const t=this.lastPartSn-e.lastPartSn,r=this.lastPartIndex-e.lastPartIndex;this.updated=this.endSN!==e.endSN||!!r||!!t||!this.live,this.advanced=this.endSN>e.endSN||t>0||0===t&&r>0,this.updated||this.advanced?this.misses=Math.floor(.6*e.misses):this.misses=e.misses+1,this.availabilityDelay=e.availabilityDelay}get hasProgramDateTime(){return!!this.fragments.length&&v(this.fragments[this.fragments.length-1].programDateTime)}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||10}get drift(){const e=this.driftEndTime-this.driftStartTime;if(e>0){return 1e3*(this.driftEnd-this.driftStart)/e}return 1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var e;return null!=(e=this.fragments)&&e.length?this.fragments[this.fragments.length-1].end:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].index:-1}get lastPartSn(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}function B(e){return Uint8Array.from(atob(e),(e=>e.charCodeAt(0)))}function $(e){const t=e.split(":");let r=null;if("data"===t[0]&&2===t.length){const e=t[1].split(";"),n=e[e.length-1].split(",");if(2===n.length){const t="base64"===n[0],i=n[1];t?(e.splice(-1,1),r=B(i)):r=function(e){const t=G(e).subarray(0,16),r=new Uint8Array(16);return r.set(t,16-t.length),r}(i)}}return r}function G(e){return Uint8Array.from(unescape(encodeURIComponent(e)),(e=>e.charCodeAt(0)))}const z="undefined"!=typeof self?self:void 0;var H={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},V="org.w3.clearkey",K="com.apple.streamingkeydelivery",Y="com.microsoft.playready",q="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";function W(e){switch(e){case K:return H.FAIRPLAY;case Y:return H.PLAYREADY;case q:return H.WIDEVINE;case V:return H.CLEARKEY}}var X="1077efecc0b24d02ace33c1e52e2fb4b",Q="e2719d58a985b3c9781ab030af78d30e",J="9a04f07998404286ab92e65be0885f95",Z="edef8ba979d64acea3c827dcd51d21ed";function ee(e){return e===Z?H.WIDEVINE:e===J?H.PLAYREADY:e===X||e===Q?H.CLEARKEY:void 0}function te(e){switch(e){case H.FAIRPLAY:return K;case H.PLAYREADY:return Y;case H.WIDEVINE:return q;case H.CLEARKEY:return V}}function re(e){const{drmSystems:t,widevineLicenseUrl:r}=e,n=t?[H.FAIRPLAY,H.WIDEVINE,H.PLAYREADY,H.CLEARKEY].filter((e=>!!t[e])):[];return!n[H.WIDEVINE]&&r&&n.push(H.WIDEVINE),n}const ne=null!=z&&null!=(ie=z.navigator)&&ie.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null;var ie;function ae(e){const t=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2),r=String.fromCharCode.apply(null,Array.from(t)),n=r.substring(r.indexOf("<"),r.length),i=(new DOMParser).parseFromString(n,"text/xml").getElementsByTagName("KID")[0];if(i){const e=i.childNodes[0]?i.childNodes[0].nodeValue:i.getAttribute("VALUE");if(e){const t=B(e).subarray(0,16);return function(e){const t=function(e,t,r){const n=e[t];e[t]=e[r],e[r]=n};t(e,0,3),t(e,1,2),t(e,4,5),t(e,6,7)}(t),t}}return null}function se(e,t,r){return Uint8Array.prototype.slice?e.slice(t,r):new Uint8Array(Array.prototype.slice.call(e,t,r))}const oe=(e,t)=>t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128,le=(e,t)=>t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128,ce=(e,t)=>{const r=t;let n=0;for(;oe(e,t);){n+=10;n+=ue(e,t+6),le(e,t+10)&&(n+=10),t+=n}if(n>0)return e.subarray(r,r+n)},ue=(e,t)=>{let r=0;return r=(127&e[t])<<21,r|=(127&e[t+1])<<14,r|=(127&e[t+2])<<7,r|=127&e[t+3],r},de=(e,t)=>oe(e,t)&&ue(e,t+6)+10<=e.length-t,he=e=>{const t=ge(e);for(let e=0;e<t.length;e++){const r=t[e];if(fe(r))return we(r)}},fe=e=>e&&"PRIV"===e.key&&"com.apple.streaming.transportStreamTimestamp"===e.info,pe=e=>{const t=String.fromCharCode(e[0],e[1],e[2],e[3]),r=ue(e,4);return{type:t,size:r,data:e.subarray(10,10+r)}},ge=e=>{let t=0;const r=[];for(;oe(e,t);){const n=ue(e,t+6);t+=10;const i=t+n;for(;t+8<i;){const n=pe(e.subarray(t)),i=ve(n);i&&r.push(i),t+=n.size+10}le(e,t)&&(t+=10)}return r},ve=e=>"PRIV"===e.type?me(e):"W"===e.type[0]?be(e):ye(e),me=e=>{if(e.size<2)return;const t=Ee(e.data,!0),r=new Uint8Array(e.data.subarray(t.length+1));return{key:e.type,info:t,data:r.buffer}},ye=e=>{if(e.size<2)return;if("TXXX"===e.type){let t=1;const r=Ee(e.data.subarray(t),!0);t+=r.length+1;const n=Ee(e.data.subarray(t));return{key:e.type,info:r,data:n}}const t=Ee(e.data.subarray(1));return{key:e.type,data:t}},be=e=>{if("WXXX"===e.type){if(e.size<2)return;let t=1;const r=Ee(e.data.subarray(t),!0);t+=r.length+1;const n=Ee(e.data.subarray(t));return{key:e.type,info:r,data:n}}const t=Ee(e.data);return{key:e.type,data:t}},we=e=>{if(8===e.data.byteLength){const t=new Uint8Array(e.data),r=1&t[3];let n=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return n/=45,r&&(n+=47721858.84),Math.round(n)}},Ee=(e,t=!1)=>{const r=Se();if(r){const n=r.decode(e);if(t){const e=n.indexOf("\0");return-1!==e?n.substring(0,e):n}return n.replace(/\0/g,"")}const n=e.length;let i,a,s,o="",l=0;for(;l<n;){if(i=e[l++],0===i&&t)return o;if(0!==i&&3!==i)switch(i>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:o+=String.fromCharCode(i);break;case 12:case 13:a=e[l++],o+=String.fromCharCode((31&i)<<6|63&a);break;case 14:a=e[l++],s=e[l++],o+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}}return o};let Te;function Se(){if(!navigator.userAgent.includes("PlayStation 4"))return Te||void 0===self.TextDecoder||(Te=new self.TextDecoder("utf-8")),Te}const Oe={hexDump:function(e){let t="";for(let r=0;r<e.length;r++){let n=e[r].toString(16);n.length<2&&(n="0"+n),t+=n}return t}},xe=Math.pow(2,32)-1,Ae=[].push,Pe={video:1,audio:2,id3:3,text:4};function Le(e){return String.fromCharCode.apply(null,e)}function ke(e,t){const r=e[t]<<8|e[t+1];return r<0?65536+r:r}function Ie(e,t){const r=Ce(e,t);return r<0?4294967296+r:r}function Re(e,t){let r=Ie(e,t);return r*=Math.pow(2,32),r+=Ie(e,t+4),r}function Ce(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function De(e,t,r){e[t]=r>>24,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function _e(e,t){const r=[];if(!t.length)return r;const n=e.byteLength;for(let i=0;i<n;){const a=Ie(e,i),s=a>1?i+a:n;if(Le(e.subarray(i+4,i+8))===t[0])if(1===t.length)r.push(e.subarray(i+8,s));else{const n=_e(e.subarray(i+8,s),t.slice(1));n.length&&Ae.apply(r,n)}i=s}return r}function Me(e){const t=[],r=e[0];let n=8;const i=Ie(e,n);n+=4;let a=0,s=0;0===r?(a=Ie(e,n),s=Ie(e,n+4),n+=8):(a=Re(e,n),s=Re(e,n+8),n+=16),n+=2;let o=e.length+s;const l=ke(e,n);n+=2;for(let r=0;r<l;r++){let r=n;const a=Ie(e,r);r+=4;const s=2147483647&a;if(1===(2147483648&a)>>>31)return A.warn("SIDX has hierarchical references (not supported)"),null;const l=Ie(e,r);r+=4,t.push({referenceSize:s,subsegmentDuration:l,info:{duration:l/i,start:o,end:o+s-1}}),o+=s,r+=4,n=r}return{earliestPresentationTime:a,timescale:i,version:r,referencesCount:l,references:t}}function Fe(e){const t=[],r=_e(e,["moov","trak"]);for(let e=0;e<r.length;e++){const n=r[e],i=_e(n,["tkhd"])[0];if(i){let e=i[0];const r=Ie(i,0===e?12:20),a=_e(n,["mdia","mdhd"])[0];if(a){e=a[0];const i=Ie(a,0===e?12:20),s=_e(n,["mdia","hdlr"])[0];if(s){const e=Le(s.subarray(8,12)),a={soun:D,vide:_}[e];if(a){const e=Ne(_e(n,["mdia","minf","stbl","stsd"])[0]);t[r]={timescale:i,type:a},t[a]=h({timescale:i,id:r},e)}}}}}return _e(e,["moov","mvex","trex"]).forEach((e=>{const r=Ie(e,4),n=t[r];n&&(n.default={duration:Ie(e,12),flags:Ie(e,20)})})),t}function Ne(e){const t=e.subarray(8),r=t.subarray(86),n=Le(t.subarray(4,8));let i=n;const a="enca"===n||"encv"===n;if(a){const e=_e(t,[n])[0];_e(e.subarray("enca"===n?28:78),["sinf"]).forEach((e=>{const t=_e(e,["schm"])[0];if(t){const r=Le(t.subarray(4,8));if("cbcs"===r||"cenc"===r){const t=_e(e,["frma"])[0];t&&(i=Le(t))}}}))}switch(i){case"avc1":case"avc2":case"avc3":case"avc4":{const e=_e(r,["avcC"])[0];i+="."+Ue(e[1])+Ue(e[2])+Ue(e[3]);break}case"mp4a":{const e=_e(t,[n])[0],r=_e(e.subarray(28),["esds"])[0];if(r&&r.length>12){let e=4;if(3!==r[e++])break;e=je(r,e),e+=2;const t=r[e++];if(128&t&&(e+=2),64&t&&(e+=r[e++]),4!==r[e++])break;e=je(r,e);const n=r[e++];if(64!==n)break;if(i+="."+Ue(n),e+=12,5!==r[e++])break;e=je(r,e);const a=r[e++];let s=(248&a)>>3;31===s&&(s+=1+((7&a)<<3)+((224&r[e])>>5)),i+="."+s}break}case"hvc1":case"hev1":{const e=_e(r,["hvcC"])[0],t=e[1],n=["","A","B","C"][t>>6],a=31&t,s=Ie(e,2),o=(32&t)>>5?"H":"L",l=e[12],c=e.subarray(6,12);i+="."+n+a,i+="."+s.toString(16).toUpperCase(),i+="."+o+l;let u="";for(let e=c.length;e--;){const t=c[e];if(t||u){u="."+t.toString(16).toUpperCase()+u}}i+=u;break}case"dvh1":case"dvhe":{const e=_e(r,["dvcC"])[0],t=e[2]>>1&127,n=e[2]<<5&32|e[3]>>3&31;i+="."+Be(t)+"."+Be(n);break}case"vp09":{const e=_e(r,["vpcC"])[0],t=e[4],n=e[5],a=e[6]>>4&15;i+="."+Be(t)+"."+Be(n)+"."+Be(a);break}case"av01":{const e=_e(r,["av1C"])[0],t=e[1]>>>5,n=31&e[1],a=e[2]>>>7?"H":"M",s=(64&e[2])>>6,o=(32&e[2])>>5,l=2===t&&s?o?12:10:s?10:8,c=(16&e[2])>>4,u=(8&e[2])>>3,d=(4&e[2])>>2,h=3&e[2],f=1,p=1,g=1,v=0;i+="."+t+"."+Be(n)+a+"."+Be(l)+"."+c+"."+u+d+h+"."+Be(f)+"."+Be(p)+"."+Be(g)+"."+v;break}}return{codec:i,encrypted:a}}function je(e,t){const r=t+5;for(;128&e[t++]&&t<r;);return t}function Ue(e){return("0"+e.toString(16).toUpperCase()).slice(-2)}function Be(e){return(e<10?"0":"")+e}function $e(e){const t=_e(e,["schm"])[0];if(t){const r=Le(t.subarray(4,8));if("cbcs"===r||"cenc"===r)return _e(e,["schi","tenc"])[0]}return null}function Ge(e){const t=Ie(e,0);let r=8;1&t&&(r+=4),4&t&&(r+=4);let n=0;const i=Ie(e,4);for(let a=0;a<i;a++){if(256&t){n+=Ie(e,r),r+=4}512&t&&(r+=4),1024&t&&(r+=4),2048&t&&(r+=4)}return n}function ze(e,t){const r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}function He(e,t){const r=[],n=t.samples,i=t.timescale,a=t.id;let s=!1;return _e(n,["moof"]).map((o=>{const l=o.byteOffset-8;_e(o,["traf"]).map((o=>{const c=_e(o,["tfdt"]).map((e=>{const t=e[0];let r=Ie(e,4);return 1===t&&(r*=Math.pow(2,32),r+=Ie(e,8)),r/i}))[0];return void 0!==c&&(e=c),_e(o,["tfhd"]).map((c=>{const u=Ie(c,4),d=16777215&Ie(c,0);let h=0;const f=!!(16&d);let p=0;const g=!!(32&d);let v=8;u===a&&(!!(1&d)&&(v+=8),!!(2&d)&&(v+=4),!!(8&d)&&(h=Ie(c,v),v+=4),f&&(p=Ie(c,v),v+=4),g&&(v+=4),"video"===t.type&&(s=function(e){if(!e)return!1;const t=e.indexOf("."),r=t<0?e:e.substring(0,t);return"hvc1"===r||"hev1"===r||"dvh1"===r||"dvhe"===r}(t.codec)),_e(o,["trun"]).map((a=>{const o=a[0],c=16777215&Ie(a,0),u=!!(1&c);let d=0;const f=!!(4&c),g=!!(256&c);let v=0;const m=!!(512&c);let y=0;const b=!!(1024&c),w=!!(2048&c);let E=0;const T=Ie(a,4);let S=8;u&&(d=Ie(a,S),S+=4),f&&(S+=4);let O=d+l;for(let l=0;l<T;l++){if(g?(v=Ie(a,S),S+=4):v=h,m?(y=Ie(a,S),S+=4):y=p,b&&(S+=4),w&&(E=0===o?Ie(a,S):Ce(a,S),S+=4),t.type===_){let t=0;for(;t<y;){const a=Ie(n,O);if(O+=4,Ve(s,n[O])){Ke(n.subarray(O,O+a),s?2:1,e+E/i,r)}O+=a,t+=a+4}}e+=v/i}})))}))}))})),r}function Ve(e,t){if(e){const e=t>>1&63;return 39===e||40===e}return 6===(31&t)}function Ke(e,t,r,n){const i=Ye(e);let a=0;a+=t;let s=0,o=0,l=0;for(;a<i.length;){s=0;do{if(a>=i.length)break;l=i[a++],s+=l}while(255===l);o=0;do{if(a>=i.length)break;l=i[a++],o+=l}while(255===l);const e=i.length-a;let t=a;if(o<e)a+=o;else if(o>e){A.error(`Malformed SEI payload. ${o} is too small, only ${e} bytes left to parse.`);break}if(4===s){if(181===i[t++]){const e=ke(i,t);if(t+=2,49===e){const e=Ie(i,t);if(t+=4,1195456820===e){const e=i[t++];if(3===e){const a=i[t++],o=64&a,l=o?2+3*(31&a):0,c=new Uint8Array(l);if(o){c[0]=a;for(let e=1;e<l;e++)c[e]=i[t++]}n.push({type:e,payloadType:s,pts:r,bytes:c})}}}}}else if(5===s&&o>16){const e=[];for(let r=0;r<16;r++){const n=i[t++].toString(16);e.push(1==n.length?"0"+n:n),3!==r&&5!==r&&7!==r&&9!==r||e.push("-")}const a=o-16,l=new Uint8Array(a);for(let e=0;e<a;e++)l[e]=i[t++];n.push({payloadType:s,pts:r,uuid:e.join(""),userData:Ee(l),userDataBytes:l})}}}function Ye(e){const t=e.byteLength,r=[];let n=1;for(;n<t-2;)0===e[n]&&0===e[n+1]&&3===e[n+2]?(r.push(n+2),n+=2):n++;if(0===r.length)return e;const i=t-r.length,a=new Uint8Array(i);let s=0;for(n=0;n<i;s++,n++)s===r[0]&&(s++,r.shift()),a[n]=e[s];return a}function qe(e,t,r){if(16!==e.byteLength)throw new RangeError("Invalid system id");let n,i,a;if(t){n=1,i=new Uint8Array(16*t.length);for(let e=0;e<t.length;e++){const r=t[e];if(16!==r.byteLength)throw new RangeError("Invalid key");i.set(r,16*e)}}else n=0,i=new Uint8Array;n>0?(a=new Uint8Array(4),t.length>0&&new DataView(a.buffer).setUint32(0,t.length,!1)):a=new Uint8Array;const s=new Uint8Array(4);return r&&r.byteLength>0&&new DataView(s.buffer).setUint32(0,r.byteLength,!1),function(e,...t){const r=t.length;let n=8,i=r;for(;i--;)n+=t[i].byteLength;const a=new Uint8Array(n);for(a[0]=n>>24&255,a[1]=n>>16&255,a[2]=n>>8&255,a[3]=255&n,a.set(e,4),i=0,n=8;i<r;i++)a.set(t[i],n),n+=t[i].byteLength;return a}([112,115,115,104],new Uint8Array([n,0,0,0]),e,a,i,s,r||new Uint8Array)}function We(e){const t=e.getUint32(0),r=e.byteOffset,n=e.byteLength;if(n<t)return{offset:r,size:n};if(1886614376!==e.getUint32(4))return{offset:r,size:t};const i=e.getUint32(8)>>>24;if(0!==i&&1!==i)return{offset:r,size:t};const a=e.buffer,s=Oe.hexDump(new Uint8Array(a,r+12,16)),o=e.getUint32(28);let l=null,c=null;if(0===i){if(t-32<o||o<22)return{offset:r,size:t};c=new Uint8Array(a,r+32,o)}else if(1===i){if(!o||n<r+32+16*o+16)return{offset:r,size:t};l=[];for(let e=0;e<o;e++)l.push(new Uint8Array(a,r+32+16*e,16))}return{version:i,systemId:s,kids:l,data:c,offset:r,size:t}}let Xe={};class Qe{static clearKeyUriToKeyIdMap(){Xe={}}constructor(e,t,r,n=[1],i=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=e,this.uri=t,this.keyFormat=r,this.keyFormatVersions=n,this.iv=i,this.encrypted=!!e&&"NONE"!==e,this.isCommonEncryption=this.encrypted&&"AES-128"!==e}isSupported(){if(this.method){if("AES-128"===this.method||"NONE"===this.method)return!0;if("identity"===this.keyFormat)return"SAMPLE-AES"===this.method;switch(this.keyFormat){case K:case q:case Y:case V:return-1!==["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)}}return!1}getDecryptData(e){if(!this.encrypted||!this.uri)return null;if("AES-128"===this.method&&this.uri&&!this.iv){"number"!=typeof e&&("AES-128"!==this.method||this.iv||A.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0);const t=function(e){const t=new Uint8Array(16);for(let r=12;r<16;r++)t[r]=e>>8*(15-r)&255;return t}(e);return new Qe(this.method,this.uri,"identity",this.keyFormatVersions,t)}const t=$(this.uri);if(t)switch(this.keyFormat){case q:this.pssh=t,t.length>=22&&(this.keyId=t.subarray(t.length-22,t.length-6));break;case Y:{const e=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=qe(e,null,t),this.keyId=ae(t);break}default:{let e=t.subarray(0,16);if(16!==e.length){const t=new Uint8Array(16);t.set(e,16-e.length),e=t}this.keyId=e;break}}if(!this.keyId||16!==this.keyId.byteLength){let e=Xe[this.uri];if(!e){const t=Object.keys(Xe).length%Number.MAX_SAFE_INTEGER;e=new Uint8Array(16);new DataView(e.buffer,12,4).setUint32(0,t),Xe[this.uri]=e}this.keyId=e}return this}}const Je=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ze(e){return Je.test(e)}function et(e,t,r){if(null!==e.variableList||e.hasVariableRefs)for(let n=r.length;n--;){const i=r[n],a=t[i];a&&(t[i]=tt(e,a))}}function tt(e,t){if(null!==e.variableList||e.hasVariableRefs){const r=e.variableList;return t.replace(Je,(t=>{const n=t.substring(2,t.length-1),i=null==r?void 0:r[n];return void 0===i?(e.playlistParsingError||(e.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${n}"`)),t):i}))}return t}function rt(e,t,r){let n,i,a=e.variableList;if(a||(e.variableList=a={}),"QUERYPARAM"in t){n=t.QUERYPARAM;try{const e=new self.URL(r).searchParams;if(!e.has(n))throw new Error(`"${n}" does not match any query parameter in URI: "${r}"`);i=e.get(n)}catch(t){e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${t.message}`))}}else n=t.NAME,i=t.VALUE;n in a?e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${n}"`)):a[n]=i||""}function nt(e,t,r){const n=t.IMPORT;if(r&&n in r){let t=e.variableList;t||(e.variableList=t={}),t[n]=r[n]}else e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${n}"`))}function it(e=!0){if("undefined"==typeof self)return;return(e||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}const at={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function st(e,t,r=!0){return!e.split(",").some((e=>!ot(e,t,r)))}function ot(e,t,r=!0){var n;const i=it(r);return null!=(n=null==i?void 0:i.isTypeSupported(lt(e,t)))&&n}function lt(e,t){return`${t}/mp4;codecs="${e}"`}function ct(e){if(e){const t=e.substring(0,4);return at.video[t]}return 2}function ut(e){return e.split(",").reduce(((e,t)=>{const r=at.video[t];return r?(2*r+e)/(e?3:2):(at.audio[t]+e)/(e?2:1)}),0)}const dt={};const ht=/flac|opus/i;function ft(e,t=!0){return e.replace(ht,(e=>function(e,t=!0){if(dt[e])return dt[e];const r={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"]}[e];for(let n=0;n<r.length;n++)if(ot(r[n],"audio",t))return dt[e]=r[n],r[n];return e}(e.toLowerCase(),t)))}function pt(e,t){return e&&"mp4a"!==e?e:t?t.split(",")[0]:t}const gt=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,vt=/#EXT-X-MEDIA:(.*)/g,mt=/^#EXT(?:INF|-X-TARGETDURATION):/m,yt=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),bt=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class wt{static findGroup(e,t){for(let r=0;r<e.length;r++){const n=e[r];if(n.id===t)return n}}static resolve(e,t){return u.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return mt.test(e)}static parseMasterPlaylist(e,t){const r={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:Ze(e)},n=[];let i;for(gt.lastIndex=0;null!=(i=gt.exec(e));)if(i[1]){var a;const e=new k(i[1]);et(r,e,["CODECS","SUPPLEMENTAL-CODECS","ALLOWED-CPC","PATHWAY-ID","STABLE-VARIANT-ID","AUDIO","VIDEO","SUBTITLES","CLOSED-CAPTIONS","NAME"]);const s=tt(r,i[2]),o={attrs:e,bitrate:e.decimalInteger("BANDWIDTH")||e.decimalInteger("AVERAGE-BANDWIDTH"),name:e.NAME,url:wt.resolve(s,t)},l=e.decimalResolution("RESOLUTION");l&&(o.width=l.width,o.height=l.height),St(e.CODECS,o),null!=(a=o.unknownCodecs)&&a.length||n.push(o),r.levels.push(o)}else if(i[3]){const e=i[3],n=i[4];switch(e){case"SESSION-DATA":{const e=new k(n);et(r,e,["DATA-ID","LANGUAGE","VALUE","URI"]);const t=e["DATA-ID"];t&&(null===r.sessionData&&(r.sessionData={}),r.sessionData[t]=e);break}case"SESSION-KEY":{const e=Et(n,t,r);e.encrypted&&e.isSupported()?(null===r.sessionKeys&&(r.sessionKeys=[]),r.sessionKeys.push(e)):A.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${n}"`);break}case"DEFINE":{const e=new k(n);et(r,e,["NAME","VALUE","QUERYPARAM"]),rt(r,e,t)}break;case"CONTENT-STEERING":{const e=new k(n);et(r,e,["SERVER-URI","PATHWAY-ID"]),r.contentSteering={uri:wt.resolve(e["SERVER-URI"],t),pathwayId:e["PATHWAY-ID"]||"."};break}case"START":r.startTimeOffset=Tt(n)}}const s=n.length>0&&n.length<r.levels.length;return r.levels=s?n:r.levels,0===r.levels.length&&(r.playlistParsingError=new Error("no levels found in manifest")),r}static parseMasterPlaylistMedia(e,t,r){let n;const i={},a=r.levels,s={AUDIO:a.map((e=>({id:e.attrs.AUDIO,audioCodec:e.audioCodec}))),SUBTITLES:a.map((e=>({id:e.attrs.SUBTITLES,textCodec:e.textCodec}))),"CLOSED-CAPTIONS":[]};let o=0;for(vt.lastIndex=0;null!==(n=vt.exec(e));){const e=new k(n[1]),a=e.TYPE;if(a){const n=s[a],l=i[a]||[];i[a]=l,et(r,e,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);const c=e.LANGUAGE,u=e["ASSOC-LANGUAGE"],d=e.CHANNELS,h=e.CHARACTERISTICS,f=e["INSTREAM-ID"],p={attrs:e,bitrate:0,id:o++,groupId:e["GROUP-ID"]||"",name:e.NAME||c||"",type:a,default:e.bool("DEFAULT"),autoselect:e.bool("AUTOSELECT"),forced:e.bool("FORCED"),lang:c,url:e.URI?wt.resolve(e.URI,t):""};if(u&&(p.assocLang=u),d&&(p.channels=d),h&&(p.characteristics=h),f&&(p.instreamId=f),null!=n&&n.length){const e=wt.findGroup(n,p.groupId)||n[0];Ot(p,e,"audioCodec"),Ot(p,e,"textCodec")}l.push(p)}}return i}static parseLevelPlaylist(e,t,r,n,i,a){const s=new U(t),o=s.fragments;let l,c,u,d=null,h=0,f=0,p=0,m=0,y=null,b=new N(n,t),w=-1,E=!1,T=null;for(yt.lastIndex=0,s.m3u8=e,s.hasVariableRefs=Ze(e);null!==(l=yt.exec(e));){E&&(E=!1,b=new N(n,t),b.start=p,b.sn=h,b.cc=m,b.level=r,d&&(b.initSegment=d,b.rawProgramDateTime=d.rawProgramDateTime,d.rawProgramDateTime=null,T&&(b.setByteRange(T),T=null)));const e=l[1];if(e){b.duration=parseFloat(e);const t=(" "+l[2]).slice(1);b.title=t||null,b.tagList.push(t?["INF",e,t]:["INF",e])}else if(l[3]){if(v(b.duration)){b.start=p,u&&Pt(b,u,s),b.sn=h,b.level=r,b.cc=m,o.push(b);const e=(" "+l[3]).slice(1);b.relurl=tt(s,e),xt(b,y),y=b,p+=b.duration,h++,f=0,E=!0}}else if(l[4]){const e=(" "+l[4]).slice(1);y?b.setByteRange(e,y):b.setByteRange(e)}else if(l[5])b.rawProgramDateTime=(" "+l[5]).slice(1),b.tagList.push(["PROGRAM-DATE-TIME",b.rawProgramDateTime]),-1===w&&(w=o.length);else{if(l=l[0].match(bt),!l){A.warn("No matches on slow regex match for level playlist!");continue}for(c=1;c<l.length&&void 0===l[c];c++);const e=(" "+l[c]).slice(1),i=(" "+l[c+1]).slice(1),p=l[c+2]?(" "+l[c+2]).slice(1):"";switch(e){case"PLAYLIST-TYPE":s.type=i.toUpperCase();break;case"MEDIA-SEQUENCE":h=s.startSN=parseInt(i);break;case"SKIP":{const e=new k(i);et(s,e,["RECENTLY-REMOVED-DATERANGES"]);const t=e.decimalInteger("SKIPPED-SEGMENTS");if(v(t)){s.skippedSegments=t;for(let e=t;e--;)o.unshift(null);h+=t}const r=e.enumeratedString("RECENTLY-REMOVED-DATERANGES");r&&(s.recentlyRemovedDateranges=r.split("\t"));break}case"TARGETDURATION":s.targetduration=Math.max(parseInt(i),1);break;case"VERSION":s.version=parseInt(i);break;case"INDEPENDENT-SEGMENTS":case"EXTM3U":break;case"ENDLIST":s.live=!1;break;case"#":(i||p)&&b.tagList.push(p?[i,p]:[i]);break;case"DISCONTINUITY":m++,b.tagList.push(["DIS"]);break;case"GAP":b.gap=!0,b.tagList.push([e]);break;case"BITRATE":b.tagList.push([e,i]);break;case"DATERANGE":{const e=new k(i);et(s,e,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),et(s,e,e.clientAttrs);const t=new R(e,s.dateRanges[e.ID]);t.isValid||s.skippedSegments?s.dateRanges[t.id]=t:A.warn(`Ignoring invalid DATERANGE tag: "${i}"`),b.tagList.push(["EXT-X-DATERANGE",i]);break}case"DEFINE":{const e=new k(i);et(s,e,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in e?nt(s,e,a):rt(s,e,t)}break;case"DISCONTINUITY-SEQUENCE":m=parseInt(i);break;case"KEY":{const e=Et(i,t,s);if(e.isSupported()){if("NONE"===e.method){u=void 0;break}u||(u={}),u[e.keyFormat]&&(u=g({},u)),u[e.keyFormat]=e}else A.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${i}"`);break}case"START":s.startTimeOffset=Tt(i);break;case"MAP":{const e=new k(i);if(et(s,e,["BYTERANGE","URI"]),b.duration){const i=new N(n,t);At(i,e,r,u),d=i,b.initSegment=d,d.rawProgramDateTime&&!b.rawProgramDateTime&&(b.rawProgramDateTime=d.rawProgramDateTime)}else{const t=b.byteRangeEndOffset;if(t){const e=b.byteRangeStartOffset;T=`${t-e}@${e}`}else T=null;At(b,e,r,u),d=b,E=!0}break}case"SERVER-CONTROL":{const e=new k(i);s.canBlockReload=e.bool("CAN-BLOCK-RELOAD"),s.canSkipUntil=e.optionalFloat("CAN-SKIP-UNTIL",0),s.canSkipDateRanges=s.canSkipUntil>0&&e.bool("CAN-SKIP-DATERANGES"),s.partHoldBack=e.optionalFloat("PART-HOLD-BACK",0),s.holdBack=e.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{const e=new k(i);s.partTarget=e.decimalFloatingPoint("PART-TARGET");break}case"PART":{let e=s.partList;e||(e=s.partList=[]);const r=f>0?e[e.length-1]:void 0,n=f++,a=new k(i);et(s,a,["BYTERANGE","URI"]);const o=new j(a,b,t,n,r);e.push(o),b.duration+=o.duration;break}case"PRELOAD-HINT":{const e=new k(i);et(s,e,["URI"]),s.preloadHint=e;break}case"RENDITION-REPORT":{const e=new k(i);et(s,e,["URI"]),s.renditionReports=s.renditionReports||[],s.renditionReports.push(e);break}default:A.warn(`line parsed but not handled: ${l}`)}}}y&&!y.relurl?(o.pop(),p-=y.duration,s.partList&&(s.fragmentHint=y)):s.partList&&(xt(b,y),b.cc=m,s.fragmentHint=b,u&&Pt(b,u,s));const S=o.length,O=o[0],x=o[S-1];if(p+=s.skippedSegments*s.targetduration,p>0&&S&&x){s.averagetargetduration=p/S;const e=x.sn;s.endSN="initSegment"!==e?e:0,s.live||(x.endList=!0),O&&(s.startCC=O.cc)}else s.endSN=0,s.startCC=0;return s.fragmentHint&&(p+=s.fragmentHint.duration),s.totalduration=p,s.endCC=m,w>0&&function(e,t){let r=e[t];for(let n=t;n--;){const t=e[n];if(!t)return;t.programDateTime=r.programDateTime-1e3*t.duration,r=t}}(o,w),s}}function Et(e,t,r){var n,i;const a=new k(e);et(r,a,["KEYFORMAT","KEYFORMATVERSIONS","URI","IV","URI"]);const s=null!=(n=a.METHOD)?n:"",o=a.URI,l=a.hexadecimalInteger("IV"),c=a.KEYFORMATVERSIONS,u=null!=(i=a.KEYFORMAT)?i:"identity";o&&a.IV&&!l&&A.error(`Invalid IV: ${a.IV}`);const d=o?wt.resolve(o,t):"",h=(c||"1").split("/").map(Number).filter(Number.isFinite);return new Qe(s,d,u,h,l)}function Tt(e){const t=new k(e).decimalFloatingPoint("TIME-OFFSET");return v(t)?t:null}function St(e,t){let r=(e||"").split(/[ ,]+/).filter((e=>e));["video","audio","text"].forEach((e=>{const n=r.filter((t=>function(e,t){const r=at[t];return!!r&&!!r[e.slice(0,4)]}(t,e)));n.length&&(t[`${e}Codec`]=n.join(","),r=r.filter((e=>-1===n.indexOf(e))))})),t.unknownCodecs=r}function Ot(e,t,r){const n=t[r];
vendor: 10,255 bytes, line 2
2n&&(e[r]=n)}function xt(e,t){e.rawProgramDateTime?e.programDateTime=Date.parse(e.rawProgramDateTime):null!=t&&t.programDateTime&&(e.programDateTime=t.endProgramDateTime),v(e.programDateTime)||(e.programDateTime=null,e.rawProgramDateTime=null)}function At(e,t,r,n){e.relurl=t.URI,t.BYTERANGE&&e.setByteRange(t.BYTERANGE),e.level=r,e.sn="initSegment",n&&(e.levelkeys=n),e.initSegment=null}function Pt(e,t,r){e.levelkeys=t;const{encryptedFragments:n}=r;n.length&&n[n.length-1].levelkeys===t||!Object.keys(t).some((e=>t[e].isCommonEncryption))||n.push(e)}var Lt="manifest",kt="level",It="audioTrack",Rt="subtitleTrack",Ct="main",Dt="audio",_t="subtitle";function Mt(e){const{type:t}=e;switch(t){case It:return Dt;case Rt:return _t;default:return Ct}}function Ft(e,t){let r=e.url;return void 0!==r&&0!==r.indexOf("data:")||(r=t.url),r}class Nt{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.LEVEL_LOADING,this.onLevelLoading,this),e.on(b.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(b.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}unregisterListeners(){const{hls:e}=this;e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.LEVEL_LOADING,this.onLevelLoading,this),e.off(b.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(b.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}createInternalLoader(e){const t=this.hls.config,r=t.pLoader,n=t.loader,i=new(r||n)(t);return this.loaders[e.type]=i,i}getInternalLoader(e){return this.loaders[e.type]}resetInternalLoader(e){this.loaders[e]&&delete this.loaders[e]}destroyInternalLoaders(){for(const e in this.loaders){const t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(e,t){const{url:r}=t;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:Lt,url:r,deliveryDirectives:null})}onLevelLoading(e,t){const{id:r,level:n,pathwayId:i,url:a,deliveryDirectives:s}=t;this.load({id:r,level:n,pathwayId:i,responseType:"text",type:kt,url:a,deliveryDirectives:s})}onAudioTrackLoading(e,t){const{id:r,groupId:n,url:i,deliveryDirectives:a}=t;this.load({id:r,groupId:n,level:null,responseType:"text",type:It,url:i,deliveryDirectives:a})}onSubtitleTrackLoading(e,t){const{id:r,groupId:n,url:i,deliveryDirectives:a}=t;this.load({id:r,groupId:n,level:null,responseType:"text",type:Rt,url:i,deliveryDirectives:a})}load(e){var t;const r=this.hls.config;let n,i=this.getInternalLoader(e);if(i){const t=i.context;if(t&&t.url===e.url&&t.level===e.level)return void A.trace("[playlist-loader]: playlist request ongoing");A.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),i.abort()}if(n=e.type===Lt?r.manifestLoadPolicy.default:g({},r.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),i=this.createInternalLoader(e),v(null==(t=e.deliveryDirectives)?void 0:t.part)){let t;if(e.type===kt&&null!==e.level?t=this.hls.levels[e.level].details:e.type===It&&null!==e.id?t=this.hls.audioTracks[e.id].details:e.type===Rt&&null!==e.id&&(t=this.hls.subtitleTracks[e.id].details),t){const e=t.partTarget,r=t.targetduration;if(e&&r){const t=1e3*Math.max(3*e,.8*r);n=g({},n,{maxTimeToFirstByteMs:Math.min(t,n.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(t,n.maxTimeToFirstByteMs)})}}}const a=n.errorRetry||n.timeoutRetry||{},s={loadPolicy:n,timeout:n.maxLoadTimeMs,maxRetry:a.maxNumRetry||0,retryDelay:a.retryDelayMs||0,maxRetryDelay:a.maxRetryDelayMs||0},o={onSuccess:(e,t,r,n)=>{const i=this.getInternalLoader(r);this.resetInternalLoader(r.type);const a=e.data;0===a.indexOf("#EXTM3U")?(t.parsing.start=performance.now(),wt.isMediaPlaylist(a)?this.handleTrackOrLevelPlaylist(e,t,r,n||null,i):this.handleMasterPlaylist(e,t,r,n)):this.handleManifestParsingError(e,r,new Error("no EXTM3U delimiter"),n||null,t)},onError:(e,t,r,n)=>{this.handleNetworkError(t,r,!1,e,n)},onTimeout:(e,t,r)=>{this.handleNetworkError(t,r,!0,void 0,e)}};i.load(e,s,o)}handleMasterPlaylist(e,t,r,n){const i=this.hls,a=e.data,s=Ft(e,r),o=wt.parseMasterPlaylist(a,s);if(o.playlistParsingError)return void this.handleManifestParsingError(e,r,o.playlistParsingError,n,t);const{contentSteering:l,levels:c,sessionData:u,sessionKeys:d,startTimeOffset:h,variableList:f}=o;this.variableList=f;const{AUDIO:p=[],SUBTITLES:g,"CLOSED-CAPTIONS":v}=wt.parseMasterPlaylistMedia(a,s,o);if(p.length){p.some((e=>!e.url))||!c[0].audioCodec||c[0].attrs.AUDIO||(A.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),p.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new k({}),bitrate:0,url:""}))}i.trigger(b.MANIFEST_LOADED,{levels:c,audioTracks:p,subtitles:g,captions:v,contentSteering:l,url:s,stats:t,networkDetails:n,sessionData:u,sessionKeys:d,startTimeOffset:h,variableList:f})}handleTrackOrLevelPlaylist(e,t,r,n,i){const a=this.hls,{id:s,level:o,type:l}=r,c=Ft(e,r),u=v(o)?o:v(s)?s:0,d=Mt(r),h=wt.parseLevelPlaylist(e.data,c,u,d,0,this.variableList);if(l===Lt){const e={attrs:new k({}),bitrate:0,details:h,name:"",url:c};a.trigger(b.MANIFEST_LOADED,{levels:[e],audioTracks:[],url:c,stats:t,networkDetails:n,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),r.levelDetails=h,this.handlePlaylistLoaded(h,e,t,r,n,i)}handleManifestParsingError(e,t,r,n,i){this.hls.trigger(b.ERROR,{type:w.NETWORK_ERROR,details:E.MANIFEST_PARSING_ERROR,fatal:t.type===Lt,url:e.url,err:r,error:r,reason:r.message,response:e,context:t,networkDetails:n,stats:i})}handleNetworkError(e,t,r=!1,n,i){let a=`A network ${r?"timeout":"error"+(n?" (status "+n.code+")":"")} occurred while loading ${e.type}`;e.type===kt?a+=`: ${e.level} id: ${e.id}`:e.type!==It&&e.type!==Rt||(a+=` id: ${e.id} group-id: "${e.groupId}"`);const s=new Error(a);A.warn(`[playlist-loader]: ${a}`);let o=E.UNKNOWN,l=!1;const c=this.getInternalLoader(e);switch(e.type){case Lt:o=r?E.MANIFEST_LOAD_TIMEOUT:E.MANIFEST_LOAD_ERROR,l=!0;break;case kt:o=r?E.LEVEL_LOAD_TIMEOUT:E.LEVEL_LOAD_ERROR,l=!1;break;case It:o=r?E.AUDIO_TRACK_LOAD_TIMEOUT:E.AUDIO_TRACK_LOAD_ERROR,l=!1;break;case Rt:o=r?E.SUBTITLE_TRACK_LOAD_TIMEOUT:E.SUBTITLE_LOAD_ERROR,l=!1}c&&this.resetInternalLoader(e.type);const u={type:w.NETWORK_ERROR,details:o,fatal:l,url:e.url,loader:c,context:e,error:s,networkDetails:t,stats:i};if(n){const r=(null==t?void 0:t.url)||e.url;u.response=h({url:r,data:void 0},n)}this.hls.trigger(b.ERROR,u)}handlePlaylistLoaded(e,t,r,n,i,a){const s=this.hls,{type:o,level:l,id:c,groupId:u,deliveryDirectives:d}=n,h=Ft(t,n),f=Mt(n),p="number"==typeof n.level&&f===Ct?l:void 0;if(!e.fragments.length){const e=new Error("No Segments found in Playlist");return void s.trigger(b.ERROR,{type:w.NETWORK_ERROR,details:E.LEVEL_EMPTY_ERROR,fatal:!1,url:h,error:e,reason:e.message,response:t,context:n,level:p,parent:f,networkDetails:i,stats:r})}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const g=e.playlistParsingError;if(g)s.trigger(b.ERROR,{type:w.NETWORK_ERROR,details:E.LEVEL_PARSING_ERROR,fatal:!1,url:h,error:g,reason:g.message,response:t,context:n,level:p,parent:f,networkDetails:i,stats:r});else switch(e.live&&a&&(a.getCacheAge&&(e.ageHeader=a.getCacheAge()||0),a.getCacheAge&&!isNaN(e.ageHeader)||(e.ageHeader=0)),o){case Lt:case kt:s.trigger(b.LEVEL_LOADED,{details:e,level:p||0,id:c||0,stats:r,networkDetails:i,deliveryDirectives:d});break;case It:s.trigger(b.AUDIO_TRACK_LOADED,{details:e,id:c||0,groupId:u||"",stats:r,networkDetails:i,deliveryDirectives:d});break;case Rt:s.trigger(b.SUBTITLE_TRACK_LOADED,{details:e,id:c||0,groupId:u||"",stats:r,networkDetails:i,deliveryDirectives:d})}}}function jt(e,t){let r;try{r=new Event("addtrack")}catch(e){r=document.createEvent("Event"),r.initEvent("addtrack",!1,!1)}r.track=e,t.dispatchEvent(r)}function Ut(e,t){const r=e.mode;if("disabled"===r&&(e.mode="hidden"),e.cues&&!e.cues.getCueById(t.id))try{if(e.addCue(t),!e.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(r){A.debug(`[texttrack-utils]: ${r}`);try{const r=new self.TextTrackCue(t.startTime,t.endTime,t.text);r.id=t.id,e.addCue(r)}catch(e){A.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${e}`)}}"disabled"===r&&(e.mode=r)}function Bt(e){const t=e.mode;if("disabled"===t&&(e.mode="hidden"),e.cues)for(let t=e.cues.length;t--;)e.removeCue(e.cues[t]);"disabled"===t&&(e.mode=t)}function $t(e,t,r,n){const i=e.mode;if("disabled"===i&&(e.mode="hidden"),e.cues&&e.cues.length>0){const i=function(e,t,r){const n=[],i=function(e,t){if(t<e[0].startTime)return 0;const r=e.length-1;if(t>e[r].endTime)return-1;let n=0,i=r;for(;n<=i;){const a=Math.floor((i+n)/2);if(t<e[a].startTime)i=a-1;else{if(!(t>e[a].startTime&&n<r))return a;n=a+1}}return e[n].startTime-t<t-e[i].startTime?n:i}(e,t);if(i>-1)for(let a=i,s=e.length;a<s;a++){const i=e[a];if(i.startTime>=t&&i.endTime<=r)n.push(i);else if(i.startTime>r)return n}return n}(e.cues,t,r);for(let t=0;t<i.length;t++)n&&!n(i[t])||e.removeCue(i[t])}"disabled"===i&&(e.mode=i)}function Gt(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r];"subtitles"!==n.kind&&"captions"!==n.kind||!n.label||t.push(e[r])}return t}var zt="org.id3",Ht="com.apple.quicktime.HLS",Vt="https://aomedia.org/emsg/ID3";function Kt(){if("undefined"!=typeof self)return self.VTTCue||self.TextTrackCue}function Yt(e,t,r,n,i){let a=new e(t,r,"");try{a.value=n,i&&(a.type=i)}catch(s){a=new e(t,r,JSON.stringify(i?h({type:i},n):n))}return a}const qt=(()=>{const e=Kt();try{e&&new e(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function Wt(e,t){return e.getTime()/1e3-t}class Xt{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=null}_registerListeners(){const{hls:e}=this;
vendor: 11,646 bytes, line 2
2e.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(b.LEVEL_UPDATED,this.onLevelUpdated,this)}_unregisterListeners(){const{hls:e}=this;e.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(b.LEVEL_UPDATED,this.onLevelUpdated,this)}onMediaAttached(e,t){this.media=t.media}onMediaDetaching(){this.id3Track&&(Bt(this.id3Track),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(e){const t=this.getID3Track(e.textTracks);return t.mode="hidden",t}getID3Track(e){if(this.media){for(let t=0;t<e.length;t++){const r=e[t];if("metadata"===r.kind&&"id3"===r.label)return jt(r,this.media),r}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:r,enableID3MetadataCues:n}}}=this;if(!r&&!n)return;const{samples:i}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const a=Kt();if(a)for(let e=0;e<i.length;e++){const t=i[e].type;if(t===Vt&&!r||!n)continue;const s=ge(i[e].data);if(s){const r=i[e].pts;let n=r+i[e].duration;n>qt&&(n=qt);n-r<=0&&(n=r+.25);for(let e=0;e<s.length;e++){const i=s[e];if(!fe(i)){this.updateId3CueEnds(r,t);const e=Yt(a,r,n,i,t);e&&this.id3Track.addCue(e)}}}}}updateId3CueEnds(e,t){var r;const n=null==(r=this.id3Track)?void 0:r.cues;if(n)for(let r=n.length;r--;){const i=n[r];i.type===t&&i.startTime<e&&i.endTime===qt&&(i.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:r,type:n}){const{id3Track:i,hls:a}=this;if(!a)return;const{config:{enableEmsgMetadataCues:s,enableID3MetadataCues:o}}=a;if(i&&(s||o)){let e;e="audio"===n?e=>e.type===zt&&o:"video"===n?e=>e.type===Vt&&s:e=>e.type===zt&&o||e.type===Vt&&s,$t(i,t,r,e)}}onLevelUpdated(e,{details:t}){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{dateRangeCuesAppended:r,id3Track:n}=this,{dateRanges:i}=t,a=Object.keys(i);if(n){const e=Object.keys(r).filter((e=>!a.includes(e)));for(let t=e.length;t--;){const i=e[t];Object.keys(r[i].cues).forEach((e=>{n.removeCue(r[i].cues[e])})),delete r[i]}}const s=t.fragments[t.fragments.length-1];if(0===a.length||!v(null==s?void 0:s.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const o=s.programDateTime/1e3-s.start,l=Kt();for(let e=0;e<a.length;e++){const t=a[e],n=i[t],s=Wt(n.startDate,o),d=r[t],h=(null==d?void 0:d.cues)||{};let f=(null==d?void 0:d.durationKnown)||!1,p=qt;const g=n.endDate;if(g)p=Wt(g,o),f=!0;else if(n.endOnNext&&!f){const e=a.reduce(((e,t)=>{if(t!==n.id){const r=i[t];if(r.class===n.class&&r.startDate>n.startDate&&(!e||n.startDate<e.startDate))return r}return e}),null);e&&(p=Wt(e.startDate,o),f=!0)}const v=Object.keys(n.attr);for(let e=0;e<v.length;e++){const r=v[e];if("ID"===(u=r)||"CLASS"===u||"START-DATE"===u||"DURATION"===u||"END-DATE"===u||"END-ON-NEXT"===u)continue;const i=h[r];if(i)f&&!d.durationKnown&&(i.endTime=p);else if(l){let e=n.attr[r];I(r)&&(c=e,e=Uint8Array.from(c.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer);const i=Yt(l,s,p,{key:r,data:e},Ht);i&&(i.id=t,this.id3Track.addCue(i),h[r]=i)}}r[t]={cues:h,dateRange:n,durationKnown:f}}var c,u}}class Qt{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=()=>this.timeupdate(),this.hls=e,this.config=e.config,this.registerListeners()}get latency(){return this._latency||0}get maxLatency(){const{config:e,levelDetails:t}=this;return void 0!==e.liveMaxLatencyDuration?e.liveMaxLatencyDuration:t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const{levelDetails:e}=this;if(null===e)return null;const{holdBack:t,partHoldBack:r,targetduration:n}=e,{liveSyncDuration:i,liveSyncDurationCount:a,lowLatencyMode:s}=this.config,o=this.hls.userConfig;let l=s&&r||t;(o.liveSyncDuration||o.liveSyncDurationCount||0===l)&&(l=void 0!==i?i:a*n);const c=n;return l+Math.min(1*this.stallCount,c)}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency,r=this.levelDetails;if(null===e||null===t||null===r)return null;const n=r.edge,i=e-t-this.edgeStalled,a=n-r.totalduration,s=n-(this.config.lowLatencyMode&&r.partTarget||r.targetduration);return Math.min(Math.max(a,i),s)}get drift(){const{levelDetails:e}=this;return null===e?1:e.drift}get edgeStalled(){const{levelDetails:e}=this;if(null===e)return 0;const t=3*(this.config.lowLatencyMode&&e.partTarget||e.targetduration);return Math.max(e.age-t,0)}get forwardBufferLength(){const{media:e,levelDetails:t}=this;if(!e||!t)return 0;const r=e.buffered.length;return(r?e.buffered.end(r-1):t.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.levelDetails=null,this.hls=this.timeupdateHandler=null}registerListeners(){this.hls.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(b.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(b.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(b.ERROR,this.onError,this)}unregisterListeners(){this.hls.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.off(b.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(b.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.off(b.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)}onManifestLoading(){this.levelDetails=null,this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){this.levelDetails=t,t.advanced&&this.timeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)}onError(e,t){var r;t.details===E.BUFFER_STALLED_ERROR&&(this.stallCount++,null!=(r=this.levelDetails)&&r.live&&A.warn("[playback-rate-controller]: Stall detected, adjusting target latency"))}timeupdate(){const{media:e,levelDetails:t}=this;if(!e||!t)return;this.currentTime=e.currentTime;const r=this.computeLatency();if(null===r)return;this._latency=r;const{lowLatencyMode:n,maxLiveSyncPlaybackRate:i}=this.config;if(!n||1===i||!t.live)return;const a=this.targetLatency;if(null===a)return;const s=r-a;if(s<Math.min(this.maxLatency,a+t.targetduration)&&s>.05&&this.forwardBufferLength>1){const t=Math.min(2,Math.max(1,i)),r=Math.round(2/(1+Math.exp(-.75*s-this.edgeStalled))*20)/20;e.playbackRate=Math.min(t,Math.max(1,r))}else 1!==e.playbackRate&&0!==e.playbackRate&&(e.playbackRate=1)}estimateLiveEdge(){const{levelDetails:e}=this;return null===e?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return null===e?null:e-this.currentTime}}const Jt=["NONE","TYPE-0","TYPE-1",null];const Zt=["SDR","PQ","HLG"];var er="",tr="YES",rr="v2";function nr(e){const{canSkipUntil:t,canSkipDateRanges:r,age:n}=e;return t&&n<t/2?r?rr:tr:er}class ir{constructor(e,t,r){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=e,this.part=t,this.skip=r}addDirectives(e){const t=new self.URL(e);return void 0!==this.msn&&t.searchParams.set("_HLS_msn",this.msn.toString()),void 0!==this.part&&t.searchParams.set("_HLS_part",this.part.toString()),this.skip&&t.searchParams.set("_HLS_skip",this.skip),t.href}}class ar{constructor(e){this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[e.url],this._attrs=[e.attrs],this.bitrate=e.bitrate,e.details&&(this.details=e.details),this.id=e.id||0,this.name=e.name,this.width=e.width||0,this.height=e.height||0,this.frameRate=e.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=e.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec,this.codecSet=[e.videoCodec,e.audioCodec].filter((e=>!!e)).map((e=>e.substring(0,4))).join(","),this.addGroupId("audio",e.attrs.AUDIO),this.addGroupId("text",e.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(e){return sr(this._audioGroups,e)}hasSubtitleGroup(e){return sr(this._subtitleGroups,e)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(e,t){if(t)if("audio"===e){let e=this._audioGroups;e||(e=this._audioGroups=[]),-1===e.indexOf(t)&&e.push(t)}else if("text"===e){let e=this._subtitleGroups;e||(e=this._subtitleGroups=[]),-1===e.indexOf(t)&&e.push(t)}}get urlId(){return 0}set urlId(e){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var e;return null==(e=this.audioGroups)?void 0:e[0]}get textGroupId(){var e;return null==(e=this.subtitleGroups)?void 0:e[0]}addFallback(){}}function sr(e,t){return!(!t||!e)&&-1!==e.indexOf(t)}function or(e,t){const r=t.startPTS;if(v(r)){let n,i=0;t.sn>e.sn?(i=r-e.start,n=e):(i=e.start-r,n=t),n.duration!==i&&(n.duration=i)}else if(t.sn>e.sn){e.cc===t.cc&&e.minEndPTS?t.start=e.start+(e.minEndPTS-e.start):t.start=e.start+e.duration}else t.start=Math.max(e.start-t.duration,0)}function lr(e,t,r,n,i,a){n-r<=0&&(A.warn("Fragment should have a positive duration",t),n=r+t.duration,a=i+t.duration);let s=r,o=n;const l=t.startPTS,c=t.endPTS;if(v(l)){const e=Math.abs(l-r);v(t.deltaPTS)?t.deltaPTS=Math.max(e,t.deltaPTS):t.deltaPTS=e,s=Math.max(r,l),r=Math.min(r,l),i=Math.min(i,t.startDTS),o=Math.min(n,c),n=Math.max(n,c),a=Math.max(a,t.endDTS)}const u=r-t.start;0!==t.start&&(t.start=r),t.duration=n-t.start,t.startPTS=r,t.maxStartPTS=s,t.startDTS=i,t.endPTS=n,t.minEndPTS=o,t.endDTS=a;const d=t.sn;if(!e||d<e.startSN||d>e.endSN)return 0;let h;const f=d-e.startSN,p=e.fragments;for(p[f]=t,h=f;h>0;h--)or(p[h],p[h-1]);for(h=f;h<p.length-1;h++)or(p[h],p[h+1]);return e.fragmentHint&&or(p[p.length-1],e.fragmentHint),e.PTSKnown=e.alignedSliding=!0,u}function cr(e,t){let r=null;const n=e.fragments;for(let e=n.length-1;e>=0;e--){const t=n[e].initSegment;if(t){r=t;break}}let i;e.fragmentHint&&delete e.fragmentHint.endPTS,function(e,t,r){const n=t.skippedSegments,i=Math.max(e.startSN,t.startSN)-t.startSN,a=(e.fragmentHint?1:0)+(n?t.endSN:Math.min(e.endSN,t.endSN))-t.startSN,s=t.startSN-e.startSN,o=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,l=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments;for(let e=i;e<=a;e++){const i=l[s+e];let a=o[e];
vendor: 3,789 bytes, line 2
2n&&!a&&e<n&&(a=t.fragments[e]=i),i&&a&&r(i,a,e,o)}}(e,t,((e,n,a,s)=>{if(t.skippedSegments&&n.cc!==e.cc){const t=e.cc-n.cc;for(let e=a;e<s.length;e++)s[e].cc+=t}v(e.startPTS)&&v(e.endPTS)&&(n.start=n.startPTS=e.startPTS,n.startDTS=e.startDTS,n.maxStartPTS=e.maxStartPTS,n.endPTS=e.endPTS,n.endDTS=e.endDTS,n.minEndPTS=e.minEndPTS,n.duration=e.endPTS-e.startPTS,n.duration&&(i=n),t.PTSKnown=t.alignedSliding=!0),n.elementaryStreams=e.elementaryStreams,n.loader=e.loader,n.stats=e.stats,e.initSegment&&(n.initSegment=e.initSegment,r=e.initSegment)}));const a=t.fragments;if(r){(t.fragmentHint?a.concat(t.fragmentHint):a).forEach((e=>{var t;!e||e.initSegment&&e.initSegment.relurl!==(null==(t=r)?void 0:t.relurl)||(e.initSegment=r)}))}if(t.skippedSegments){if(t.deltaUpdateFailed=a.some((e=>!e)),t.deltaUpdateFailed){A.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let e=t.skippedSegments;e--;)a.shift();t.startSN=a[0].sn}else t.canSkipDateRanges&&(t.dateRanges=function(e,t,r){const n=g({},e);r&&r.forEach((e=>{delete n[e]}));return Object.keys(t).forEach((e=>{const r=new R(t[e].attr,n[e]);r.isValid?n[e]=r:A.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${JSON.stringify(t[e].attr)}"`)})),n}(e.dateRanges,t.dateRanges,t.recentlyRemovedDateranges));t.startCC=t.fragments[0].cc,t.endCC=a[a.length-1].cc}!function(e,t,r){if(e&&t){let n=0;for(let i=0,a=e.length;i<=a;i++){const a=e[i],s=t[i+n];a&&s&&a.index===s.index&&a.fragment.sn===s.fragment.sn?r(a,s):n--}}}(e.partList,t.partList,((e,t)=>{t.elementaryStreams=e.elementaryStreams,t.stats=e.stats})),i?lr(t,i,i.startPTS,i.endPTS,i.startDTS,i.endDTS):ur(e,t),a.length&&(t.totalduration=t.edge-a[0].start),t.driftStartTime=e.driftStartTime,t.driftStart=e.driftStart;const s=t.advancedDateTime;if(t.advanced&&s){const e=t.edge;t.driftStart||(t.driftStartTime=s,t.driftStart=e),t.driftEndTime=s,t.driftEnd=e}else t.driftEndTime=e.driftEndTime,t.driftEnd=e.driftEnd,t.advancedDateTime=e.advancedDateTime}function ur(e,t){const r=t.startSN+t.skippedSegments-e.startSN,n=e.fragments;r<0||r>=n.length||dr(t,n[r].start)}function dr(e,t){if(t){const r=e.fragments;for(let n=e.skippedSegments;n<r.length;n++)r[n].start+=t;e.fragmentHint&&(e.fragmentHint.start+=t)}}function hr(e,t,r){var n;return null!=e&&e.details?fr(null==(n=e.details)?void 0:n.partList,t,r):null}function fr(e,t,r){if(e)for(let n=e.length;n--;){const i=e[n];if(i.index===r&&i.fragment.sn===t)return i}return null}function pr(e){e.forEach(((e,t)=>{const{details:r}=e;null!=r&&r.fragments&&r.fragments.forEach((e=>{e.level=t}))}))}function gr(e){switch(e.details){case E.FRAG_LOAD_TIMEOUT:case E.KEY_LOAD_TIMEOUT:case E.LEVEL_LOAD_TIMEOUT:case E.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function vr(e,t){const r=gr(t);return e.default[(r?"timeout":"error")+"Retry"]}function mr(e,t){const r="linear"===e.backoff?1:Math.pow(2,t);return Math.min(r*e.retryDelayMs,e.maxRetryDelayMs)}function yr(e){return h(h({},e),{errorRetry:null,timeoutRetry:null})}function br(e,t,r,n){if(!e)return!1;const i=null==n?void 0:n.code,a=t<e.maxNumRetry&&(function(e){return 0===e&&!1===navigator.onLine||!!e&&(e<400||e>499)}(i)||!!r);return e.shouldRetry?e.shouldRetry(e,t,r,n,a):a}const wr=function(e,t){let r=0,n=e.length-1,i=null,a=null;for(;r<=n;){i=(r+n)/2|0,a=e[i];const s=t(a);if(s>0)r=i+1;else{if(!(s<0))return a;n=i-1}}return null};function Er(e,t,r=0,n=0,i=.005){let a=null;if(e){a=t[e.sn-t[0].sn+1]||null;const n=e.endDTS-r;n>0&&n<15e-7&&(r+=15e-7)}else 0===r&&0===t[0].start&&(a=t[0]);if(a&&((!e||e.level===a.level)&&0===Tr(r,n,a)||function(e,t,r){if(t&&0===t.start&&t.level<e.level&&(t.endPTS||0)>0){const n=t.tagList.reduce(((e,t)=>("INF"===t[0]&&(e+=parseFloat(t[1])),e)),r);return e.start<=n}return!1}(a,e,Math.min(i,n))))return a;
vendor: 4,749 bytes, line 2
2const s=wr(t,Tr.bind(null,r,n));return!s||s===e&&a?a:s}function Tr(e=0,t=0,r){if(r.start<=e&&r.start+r.duration>e)return 0;const n=Math.min(t,r.duration+(r.deltaPTS?r.deltaPTS:0));return r.start+r.duration-n<=e?1:r.start-n>e&&r.start?-1:0}function Sr(e,t,r){const n=1e3*Math.min(t,r.duration+(r.deltaPTS?r.deltaPTS:0));return(r.endProgramDateTime||0)-n>e}var Or=0,xr=2,Ar=3,Pr=5,Lr=0,kr=1,Ir=2;class Rr{constructor(e,t){this.hls=void 0,this.timer=-1,this.requestScheduled=-1,this.canLoad=!1,this.log=void 0,this.warn=void 0,this.log=A.log.bind(A,`${t}:`),this.warn=A.warn.bind(A,`${t}:`),this.hls=e}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){-1!==this.timer&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.requestScheduled=-1,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(e,t,r){const n=null==t?void 0:t.renditionReports;if(n){let i=-1;for(let r=0;r<n.length;r++){const a=n[r];let s;try{s=new self.URL(a.URI,t.url).href}catch(e){A.warn(`Could not construct new URL for Rendition Report: ${e}`),s=a.URI||""}if(s===e){i=r;break}s===e.substring(0,s.length)&&(i=r)}if(-1!==i){const e=n[i],a=parseInt(e["LAST-MSN"])||(null==t?void 0:t.lastPartSn);let s=parseInt(e["LAST-PART"])||(null==t?void 0:t.lastPartIndex);if(this.hls.config.lowLatencyMode){const e=Math.min(t.age-t.partTarget,t.targetduration);s>=0&&e>t.partTarget&&(s+=1)}const o=r&&nr(r);return new ir(a,s>=0?s:void 0,o)}}}loadPlaylist(e){-1===this.requestScheduled&&(this.requestScheduled=self.performance.now())}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}shouldReloadPlaylist(e){return-1===this.timer&&-1===this.requestScheduled&&this.shouldLoadPlaylist(e)}playlistLoaded(e,t,r){const{details:n,stats:i}=t,a=self.performance.now(),s=i.loading.first?Math.max(0,a-i.loading.first):0;if(n.advancedDateTime=Date.now()-s,n.live||null!=r&&r.live){if(n.reloaded(r),r&&this.log(`live playlist ${e} ${n.advanced?"REFRESHED "+n.lastPartSn+"-"+n.lastPartIndex:n.updated?"UPDATED":"MISSED"}`),r&&n.fragments.length>0&&cr(r,n),!this.canLoad||!n.live)return;let s,o,l;if(n.canBlockReload&&n.endSN&&n.advanced){const e=this.hls.config.lowLatencyMode,i=n.lastPartSn,a=n.endSN,c=n.lastPartIndex,u=i===a;-1!==c?(o=u?a+1:i,l=u?e?0:c:c+1):o=a+1;const d=n.age,h=d+n.ageHeader;let f=Math.min(h-n.partTarget,1.5*n.targetduration);if(f>0){if(r&&f>r.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${r.tuneInGoal} to: ${f} with playlist age: ${n.age}`),f=0;else{const e=Math.floor(f/n.targetduration);if(o+=e,void 0!==l){l+=Math.round(f%n.targetduration/n.partTarget)}this.log(`CDN Tune-in age: ${n.ageHeader}s last advanced ${d.toFixed(2)}s goal: ${f} skip sn ${e} to part ${l}`)}n.tuneInGoal=f}if(s=this.getDeliveryDirectives(n,t.deliveryDirectives,o,l),e||!u)return void this.loadPlaylist(s)}else(n.canBlockReload||n.canSkipUntil)&&(s=this.getDeliveryDirectives(n,t.deliveryDirectives,o,l));const c=this.hls.mainForwardBufferInfo,u=c?c.end-c.len:0,d=function(e,t=1/0){let r=1e3*e.targetduration;if(e.updated){const n=e.fragments,i=4;if(n.length&&r*i>t){const e=1e3*n[n.length-1].duration;e<r&&(r=e)}}else r/=2;return Math.round(r)}(n,1e3*(n.edge-u));n.updated&&a>this.requestScheduled+d&&(this.requestScheduled=i.loading.start),void 0!==o&&n.canBlockReload?this.requestScheduled=i.loading.first+d-(1e3*n.partTarget||1e3):-1===this.requestScheduled||this.requestScheduled+d<a?this.requestScheduled=a:this.requestScheduled-a<=0&&(this.requestScheduled+=d);let h=this.requestScheduled-a;h=Math.max(0,h),this.log(`reload live playlist ${e} in ${Math.round(h)} ms`),this.timer=self.setTimeout((()=>this.loadPlaylist(s)),h)}else this.clearTimer()}getDeliveryDirectives(e,t,r,n){let i=nr(e);return null!=t&&t.skip&&e.deltaUpdateFailed&&(r=t.msn,n=t.part,i=er),new ir(r,n,i)}checkRetry(e){const t=e.details,r=gr(e),n=e.errorAction,{action:i,retryCount:a=0,retryConfig:s}=n||{},o=!!n&&!!s&&(i===Pr||!n.resolved&&i===xr);if(o){var l;if(this.requestScheduled=-1,a>=s.maxNumRetry)return!1;if(r&&null!=(l=e.context)&&l.deliveryDirectives)this.warn(`Retrying playlist loading ${a+1}/${s.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const e=mr(s,a);this.timer=self.setTimeout((()=>this.loadPlaylist()),e),this.warn(`Retrying playlist loading ${a+1}/${s.maxNumRetry} after "${t}" in ${e}ms`)}e.levelRetry=!0,n.resolved=!0}return o}}class Cr{constructor(e,t=0,r=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=e,this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=t,this.totalWeight_=r}sample(e,t){const r=Math.pow(this.alpha_,e);this.estimate_=t*(1-r)+r*this.estimate_,this.totalWeight_+=e}
vendor: 4,583 bytes, line 2
2getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const e=1-Math.pow(this.alpha_,this.totalWeight_);if(e)return this.estimate_/e}return this.estimate_}}class Dr{constructor(e,t,r,n=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=r,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new Cr(e),this.fast_=new Cr(t),this.defaultTTFB_=n,this.ttfb_=new Cr(e)}update(e,t){const{slow_:r,fast_:n,ttfb_:i}=this;r.halfLife!==e&&(this.slow_=new Cr(e,r.getEstimate(),r.getTotalWeight())),n.halfLife!==t&&(this.fast_=new Cr(t,n.getEstimate(),n.getTotalWeight())),i.halfLife!==e&&(this.ttfb_=new Cr(e,i.getEstimate(),i.getTotalWeight()))}sample(e,t){const r=(e=Math.max(e,this.minDelayMs_))/1e3,n=8*t/r;this.fast_.sample(r,n),this.slow_.sample(r,n)}sampleTTFB(e){const t=e/1e3,r=Math.sqrt(2)*Math.exp(-Math.pow(t,2)/2);this.ttfb_.sample(r,Math.max(e,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}destroy(){}}const _r={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]},Mr={};function Fr(e,t,r,n,i,a){const s=e.audioCodec?e.audioGroups:null,o=null==a?void 0:a.audioCodec,l=null==a?void 0:a.channels,c=l?parseInt(l):o?1/0:2;let u=null;if(null!=s&&s.length)try{u=1===s.length&&s[0]?t.groups[s[0]].channels:s.reduce(((e,r)=>{if(r){const n=t.groups[r];if(!n)throw new Error(`Audio track group ${r} not found`);Object.keys(n.channels).forEach((t=>{e[t]=(e[t]||0)+n.channels[t]}))}return e}),{2:0})}catch(e){return!0}return void 0!==e.videoCodec&&(e.width>1920&&e.height>1088||e.height>1920&&e.width>1088||e.frameRate>Math.max(n,30)||"SDR"!==e.videoRange&&e.videoRange!==r||e.bitrate>Math.max(i,8e6))||!!u&&v(c)&&Object.keys(u).some((e=>parseInt(e)>c))}function Nr(e,t,r){const n=e.videoCodec,i=e.audioCodec;if(!n||!i||!r)return Promise.resolve(_r);const a={width:e.width,height:e.height,bitrate:Math.ceil(Math.max(.9*e.bitrate,e.averageBitrate)),framerate:e.frameRate||30},s=e.videoRange;"SDR"!==s&&(a.transferFunction=s.toLowerCase());const o=n.split(",").map((e=>({type:"media-source",video:h(h({},a),{},{contentType:lt(e,"video")})})));return i&&e.audioGroups&&e.audioGroups.forEach((e=>{var r;e&&(null==(r=t.groups[e])||r.tracks.forEach((t=>{if(t.groupId===e){const e=t.channels||"",r=parseFloat(e);v(r)&&r>2&&o.push.apply(o,i.split(",").map((e=>({type:"media-source",audio:{contentType:lt(e,"audio"),channels:""+r}}))))}})))})),Promise.all(o.map((e=>{const t=function(e){const{audio:t,video:r}=e,n=r||t;if(n){const e=n.contentType.split('"')[1];if(r)return`r${r.height}x${r.width}f${Math.ceil(r.framerate)}${r.transferFunction||"sd"}_${e}_${Math.ceil(r.bitrate/1e5)}`;if(t)return`c${t.channels}${t.spatialRendering?"s":"n"}_${e}`}return""}(e);return Mr[t]||(Mr[t]=r.decodingInfo(e))}))).then((e=>({supported:!e.some((e=>!e.supported)),configurations:o,decodingInfoResults:e}))).catch((e=>({supported:!1,configurations:o,decodingInfoResults:[],error:e})))}function jr(e,t){let r=!1,n=[];return e&&(r="SDR"!==e,n=[e]),t&&(n=t.allowedVideoRanges||Zt.slice(0),r=void 0!==t.preferHDR?t.preferHDR:function(){if("function"==typeof matchMedia){const e=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(e.media!==t.media)return!0===e.matches}return!1}(),n=r?n.filter((e=>"SDR"!==e)):["SDR"]),{preferHDR:r,allowedVideoRanges:n}}function Ur(e,t){A.log(`[abr] start candidates with "${e}" ignored because ${t}`)}function Br(e,t,r){if("attrs"in e){const r=t.indexOf(e);if(-1!==r)return r}for(let n=0;n<t.length;n++){if($r(e,t[n],r))return n}return-1}function $r(e,t,r){const{groupId:n,name:i,lang:a,assocLang:s,default:o}=e,l=e.forced;return(void 0===n||t.groupId===n)&&(void 0===i||t.name===i)&&(void 0===a||t.lang===a)&&(void 0===a||t.assocLang===s)&&(void 0===o||t.default===o)&&(void 0===l||t.forced===l)&&(!("characteristics"in e)||function(e,t=""){const r=e.split(","),n=t.split(",");return r.length===n.length&&!r.some((e=>-1===n.indexOf(e)))}(e.characteristics||"",t.characteristics))&&(void 0===r||r(e,t))}function Gr(e,t){const{audioCodec:r,channels:n}=e;return!(void 0!==r&&(t.audioCodec||"").substring(0,4)!==r.substring(0,4)||void 0!==n&&n!==(t.channels||"2"))}function zr(e,t,r){for(let n=t;n>-1;n--)if(r(e[n]))return n;
vendor: 22,919 bytes, line 2
2for(let n=t+1;n<e.length;n++)if(r(e[n]))return n;return-1}class Hr{constructor(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(e){return!this._tickInterval&&(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,e),!0)}clearInterval(){return!!this._tickInterval&&(self.clearInterval(this._tickInterval),this._tickInterval=null,!0)}clearNextTick(){return!!this._tickTimer&&(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0)}tick(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}var Vr="NOT_LOADED",Kr="APPENDING",Yr="PARTIAL",qr="OK";class Wr{constructor(e){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(b.BUFFER_APPENDED,this.onBufferAppended,this),e.on(b.FRAG_BUFFERED,this.onFragBuffered,this),e.on(b.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:e}=this;e.off(b.BUFFER_APPENDED,this.onBufferAppended,this),e.off(b.FRAG_BUFFERED,this.onFragBuffered,this),e.off(b.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const r=this.activePartLists[t];if(r)for(let t=r.length;t--;){const n=r[t];if(!n)break;const i=n.end;if(n.start<=e&&null!==i&&e<=i)return n}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){const{fragments:r}=this,n=Object.keys(r);for(let i=n.length;i--;){const a=r[n[i]];if((null==a?void 0:a.body.type)===t&&a.buffered){const t=a.body;if(t.start<=e&&e<=t.end)return t}}return null}detectEvictedFragments(e,t,r,n){this.timeRanges&&(this.timeRanges[e]=t);const i=(null==n?void 0:n.fragment.sn)||-1;Object.keys(this.fragments).forEach((n=>{const a=this.fragments[n];if(!a)return;if(i>=a.body.sn)return;if(!a.buffered&&!a.loaded)return void(a.body.type===r&&this.removeFragment(a.body));const s=a.range[e];s&&s.time.some((e=>{const r=!this.isTimeBuffered(e.startPTS,e.endPTS,t);return r&&this.removeFragment(a.body),r}))}))}detectPartialFragments(e){const t=this.timeRanges,{frag:r,part:n}=e;if(!t||"initSegment"===r.sn)return;const i=Qr(r),a=this.fragments[i];if(!a||a.buffered&&r.gap)return;const s=!r.relurl;if(Object.keys(t).forEach((e=>{const i=r.elementaryStreams[e];if(!i)return;const o=t[e],l=s||!0===i.partial;a.range[e]=this.getBufferedTimes(r,n,l,o)})),a.loaded=null,Object.keys(a.range).length){a.buffered=!0;(a.body.endList=r.endList||a.body.endList)&&(this.endListFragments[a.body.type]=a),Xr(a)||this.removeParts(r.sn-1,r.type)}else this.removeFragment(a.body)}removeParts(e,t){const r=this.activePartLists[t];r&&(this.activePartLists[t]=r.filter((t=>t.fragment.sn>=e)))}fragBuffered(e,t){const r=Qr(e);let n=this.fragments[r];!n&&t&&(n=this.fragments[r]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),n&&(n.loaded=null,n.buffered=!0)}getBufferedTimes(e,t,r,n){const i={time:[],partial:r},a=e.start,s=e.end,o=e.minEndPTS||s,l=e.maxStartPTS||a;for(let e=0;e<n.length;e++){const t=n.start(e)-this.bufferPadding,r=n.end(e)+this.bufferPadding;if(l>=t&&o<=r){i.time.push({startPTS:Math.max(a,n.start(e)),endPTS:Math.min(s,n.end(e))});break}if(a<r&&s>t){const t=Math.max(a,n.start(e)),r=Math.min(s,n.end(e));r>t&&(i.partial=!0,i.time.push({startPTS:t,endPTS:r}))}else if(s<=t)break}return i}getPartialFragment(e){let t,r,n,i=null,a=0;const{bufferPadding:s,fragments:o}=this;return Object.keys(o).forEach((l=>{const c=o[l];c&&Xr(c)&&(r=c.body.start-s,n=c.body.end+s,e>=r&&e<=n&&(t=Math.min(e-r,n-e),a<=t&&(i=c.body,a=t)))})),i}isEndListAppended(e){const t=this.endListFragments[e];return void 0!==t&&(t.buffered||Xr(t))}getState(e){const t=Qr(e),r=this.fragments[t];return r?r.buffered?Xr(r)?Yr:qr:Kr:Vr}isTimeBuffered(e,t,r){let n,i;for(let a=0;a<r.length;a++){if(n=r.start(a)-this.bufferPadding,i=r.end(a)+this.bufferPadding,e>=n&&t<=i)return!0;if(t<=n)return!1}return!1}onFragLoaded(e,t){const{frag:r,part:n}=t;if("initSegment"===r.sn||r.bitrateTest)return;const i=n?null:t,a=Qr(r);this.fragments[a]={body:r,appendedPTS:null,loaded:i,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:r,part:n,timeRanges:i}=t;if("initSegment"===r.sn)return;const a=r.type;if(n){let e=this.activePartLists[a];e||(this.activePartLists[a]=e=[]),e.push(n)}this.timeRanges=i,Object.keys(i).forEach((e=>{const t=i[e];this.detectEvictedFragments(e,t,a,n)}))}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=Qr(e);return!!this.fragments[t]}hasParts(e){var t;return!(null==(t=this.activePartLists[e])||!t.length)}removeFragmentsInRange(e,t,r,n,i){n&&!this.hasGaps||Object.keys(this.fragments).forEach((a=>{const s=this.fragments[a];if(!s)return;const o=s.body;o.type!==r||n&&!o.gap||o.start<t&&o.end>e&&(s.buffered||i)&&this.removeFragment(o)}))}removeFragment(e){const t=Qr(e);e.stats.loaded=0,e.clearElementaryStreamInfo();const r=this.activePartLists[e.type];if(r){const t=e.sn;this.activePartLists[e.type]=r.filter((e=>e.fragment.sn!==t))}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1}}function Xr(e){var t,r,n;return e.buffered&&(e.body.gap||(null==(t=e.range.video)?void 0:t.partial)||(null==(r=e.range.audio)?void 0:r.partial)||(null==(n=e.range.audiovideo)?void 0:n.partial))}function Qr(e){return`${e.type}_${e.level}_${e.sn}`}const Jr={length:0,start:()=>0,end:()=>0};class Zr{static isBuffered(e,t){try{if(e){const r=Zr.getBuffered(e);for(let e=0;e<r.length;e++)if(t>=r.start(e)&&t<=r.end(e))return!0}}catch(e){}return!1}static bufferInfo(e,t,r){try{if(e){const n=Zr.getBuffered(e),i=[];let a;for(a=0;a<n.length;a++)i.push({start:n.start(a),end:n.end(a)});return this.bufferedInfo(i,t,r)}}catch(e){}return{len:0,start:t,end:t,nextStart:void 0}}static bufferedInfo(e,t,r){t=Math.max(0,t),e.sort((function(e,t){const r=e.start-t.start;return r||t.end-e.end}));let n=[];if(r)for(let t=0;t<e.length;t++){const i=n.length;if(i){const a=n[i-1].end;e[t].start-a<r?e[t].end>a&&(n[i-1].end=e[t].end):n.push(e[t])}else n.push(e[t])}else n=e;let i,a=0,s=t,o=t;for(let e=0;e<n.length;e++){const l=n[e].start,c=n[e].end;if(t+r>=l&&t<c)s=l,o=c,a=o-t;else if(t+r<l){i=l;break}}return{len:a,start:s||0,end:o||0,nextStart:i}}static getBuffered(e){try{return e.buffered}catch(e){return A.log("failed to get media.buffered",e),Jr}}}class en{constructor(e,t,r,n=0,i=-1,a=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing={start:0,executeStart:0,executeEnd:0,end:0},this.buffering={audio:{start:0,executeStart:0,executeEnd:0,end:0},video:{start:0,executeStart:0,executeEnd:0,end:0},audiovideo:{start:0,executeStart:0,executeEnd:0,end:0}},this.level=e,this.sn=t,this.id=r,this.size=n,this.part=i,this.partial=a}}function tn(e,t){for(let n=0,i=e.length;n<i;n++){var r;if((null==(r=e[n])?void 0:r.cc)===t)return e[n]}return null}function rn(e,t){if(e){const r=e.start+t;e.start=e.startPTS=r,e.endPTS=r+e.duration}}function nn(e,t){const r=t.fragments;for(let t=0,n=r.length;t<n;t++)rn(r[t],e);t.fragmentHint&&rn(t.fragmentHint,e),t.alignedSliding=!0}function an(e,t,r){t&&(!function(e,t,r){if(function(e,t,r){return!(!t||!(r.endCC>r.startCC||e&&e.cc<r.startCC))}(e,r,t)){const e=function(e,t){const r=e.fragments,n=t.fragments;if(!n.length||!r.length)return void A.log("No fragments to align");const i=tn(r,n[0].cc);if(i&&(!i||i.startPTS))return i;A.log("No frag in previous level to align on")}(r,t);e&&v(e.start)&&(A.log(`Adjusting PTS using last level due to CC increase within current level ${t.url}`),nn(e.start,t))}}(e,r,t),!r.alignedSliding&&t&&sn(r,t),r.alignedSliding||!t||r.skippedSegments||ur(t,r))}function sn(e,t){if(!e.hasProgramDateTime||!t.hasProgramDateTime)return;const r=e.fragments,n=t.fragments;if(!r.length||!n.length)return;let i,a;const s=Math.min(t.endCC,e.endCC);t.startCC<s&&e.startCC<s&&(i=tn(n,s),a=tn(r,s)),i&&a||(i=n[Math.floor(n.length/2)],a=tn(r,i.cc)||r[Math.floor(r.length/2)]);const o=i.programDateTime,l=a.programDateTime;if(!o||!l)return;nn((l-o)/1e3-(a.start-i.start),e)}const on=Math.pow(2,17);class ln{constructor(e){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=e}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(e,t){const r=e.url;if(!r)return Promise.reject(new dn({type:w.NETWORK_ERROR,details:E.FRAG_LOAD_ERROR,fatal:!1,frag:e,error:new Error("Fragment does not have a "+(r?"part list":"url")),networkDetails:null}));this.abort();const n=this.config,i=n.fLoader,a=n.loader;return new Promise(((s,o)=>{if(this.loader&&this.loader.destroy(),e.gap){if(e.tagList.some((e=>"GAP"===e[0])))return void o(un(e));e.gap=!1}const l=this.loader=e.loader=i?new i(n):new a(n),c=cn(e),u=yr(n.fragLoadPolicy.default),d={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:"initSegment"===e.sn?1/0:on};e.stats=l.stats,l.load(c,d,{onSuccess:(t,r,n,i)=>{this.resetLoader(e,l);let a=t.data;n.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(a.slice(0,16)),a=a.slice(16)),s({frag:e,part:null,payload:a,networkDetails:i})},onError:(t,n,i,a)=>{this.resetLoader(e,l),o(new dn({type:w.NETWORK_ERROR,details:E.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:h({url:r,data:void 0},t),error:new Error(`HTTP Error ${t.code} ${t.text}`),networkDetails:i,stats:a}))},onAbort:(t,r,n)=>{this.resetLoader(e,l),o(new dn({type:w.NETWORK_ERROR,details:E.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:n,stats:t}))},onTimeout:(t,r,n)=>{this.resetLoader(e,l),o(new dn({type:w.NETWORK_ERROR,details:E.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${d.timeout}ms`),networkDetails:n,stats:t}))},onProgress:(r,n,i,a)=>{t&&t({frag:e,part:null,payload:i,networkDetails:a})}})}))}loadPart(e,t,r){this.abort();const n=this.config,i=n.fLoader,a=n.loader;return new Promise(((s,o)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap)return void o(un(e,t));const l=this.loader=e.loader=i?new i(n):new a(n),c=cn(e,t),u=yr(n.fragLoadPolicy.default),d={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:on};t.stats=l.stats,l.load(c,d,{onSuccess:(n,i,a,o)=>{this.resetLoader(e,l),this.updateStatsFromPart(e,t);const c={frag:e,part:t,payload:n.data,networkDetails:o};r(c),s(c)},onError:(r,n,i,a)=>{this.resetLoader(e,l),o(new dn({type:w.NETWORK_ERROR,details:E.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:h({url:c.url,data:void 0},r),error:new Error(`HTTP Error ${r.code} ${r.text}`),networkDetails:i,stats:a}))},onAbort:(r,n,i)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,l),o(new dn({type:w.NETWORK_ERROR,details:E.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:i,stats:r}))},onTimeout:(r,n,i)=>{this.resetLoader(e,l),o(new dn({type:w.NETWORK_ERROR,details:E.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${d.timeout}ms`),networkDetails:i,stats:r}))}})}))}updateStatsFromPart(e,t){const r=e.stats,n=t.stats,i=n.total;if(r.loaded+=n.loaded,i){const n=Math.round(e.duration/t.duration),a=Math.min(Math.round(r.loaded/i),n),s=(n-a)*Math.round(r.loaded/a);r.total=r.loaded+s}else r.total=Math.max(r.loaded,r.total);const a=r.loading,s=n.loading;a.start?a.first+=s.first-s.start:(a.start=s.start,a.first=s.first),a.end=s.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function cn(e,t=null){const r=t||e,n={frag:e,part:t,responseType:"arraybuffer",url:r.url,headers:{},rangeStart:0,rangeEnd:0},i=r.byteRangeStartOffset,a=r.byteRangeEndOffset;if(v(i)&&v(a)){var s;let t=i,r=a;if("initSegment"===e.sn&&"AES-128"===(null==(s=e.decryptdata)?void 0:s.method)){const e=a-i;e%16&&(r=a+(16-e%16)),0!==i&&(n.resetIV=!0,t=i-16)}n.rangeStart=t,n.rangeEnd=r}return n}function un(e,t){const r=new Error(`GAP ${e.gap?"tag":"attribute"} found`),n={type:w.MEDIA_ERROR,details:E.FRAG_GAP,fatal:!1,frag:e,error:r,networkDetails:null};return t&&(n.part=t),(t||e).stats.aborted=!0,new dn(n)}class dn extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class hn{constructor(e,t){this.subtle=void 0,this.aesIV=void 0,this.subtle=e,this.aesIV=t}decrypt(e,t){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e)}}class fn{constructor(e,t){this.subtle=void 0,this.key=void 0,this.subtle=e,this.key=t}expandKey(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])}}class pn{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(e){const t=new DataView(e),r=new Uint32Array(4);for(let e=0;e<4;e++)r[e]=t.getUint32(4*e);return r}initTable(){const e=this.sBox,t=this.invSBox,r=this.subMix,n=r[0],i=r[1],a=r[2],s=r[3],o=this.invSubMix,l=o[0],c=o[1],u=o[2],d=o[3],h=new Uint32Array(256);let f=0,p=0,g=0;for(g=0;g<256;g++)h[g]=g<128?g<<1:g<<1^283;for(g=0;g<256;g++){let r=p^p<<1^p<<2^p<<3^p<<4;r=r>>>8^255&r^99,e[f]=r,t[r]=f;const o=h[f],g=h[o],v=h[g];let m=257*h[r]^16843008*r;n[f]=m<<24|m>>>8,i[f]=m<<16|m>>>16,a[f]=m<<8|m>>>24,s[f]=m,m=16843009*v^65537*g^257*o^16843008*f,l[r]=m<<24|m>>>8,c[r]=m<<16|m>>>16,u[r]=m<<8|m>>>24,d[r]=m,f?(f=o^h[h[h[v^o]]],p^=h[h[p]]):f=p=1}}expandKey(e){const t=this.uint8ArrayToUint32Array_(e);let r=!0,n=0;for(;n<t.length&&r;)r=t[n]===this.key[n],n++;if(r)return;this.key=t;const i=this.keySize=t.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);const a=this.ksRows=4*(i+6+1);let s,o;const l=this.keySchedule=new Uint32Array(a),c=this.invKeySchedule=new Uint32Array(a),u=this.sBox,d=this.rcon,h=this.invSubMix,f=h[0],p=h[1],g=h[2],v=h[3];let m,y;for(s=0;s<a;s++)s<i?m=l[s]=t[s]:(y=m,s%i==0?(y=y<<8|y>>>24,y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>8&255]<<8|u[255&y],y^=d[s/i|0]<<24):i>6&&s%i==4&&(y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>8&255]<<8|u[255&y]),l[s]=m=(l[s-i]^y)>>>0);for(o=0;o<a;o++)s=a-o,y=3&o?l[s]:l[s-4],c[o]=o<4||s<=4?y:f[u[y>>>24]]^p[u[y>>>16&255]]^g[u[y>>>8&255]]^v[u[255&y]],c[o]=c[o]>>>0}networkToHostOrderSwap(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24}decrypt(e,t,r){const n=this.keySize+6,i=this.invKeySchedule,a=this.invSBox,s=this.invSubMix,o=s[0],l=s[1],c=s[2],u=s[3],d=this.uint8ArrayToUint32Array_(r);let h=d[0],f=d[1],p=d[2],g=d[3];const v=new Int32Array(e),m=new Int32Array(v.length);let y,b,w,E,T,S,O,x,A,P,L,k,I,R;const C=this.networkToHostOrderSwap;for(;t<v.length;){for(A=C(v[t]),P=C(v[t+1]),L=C(v[t+2]),k=C(v[t+3]),T=A^i[0],S=k^i[1],O=L^i[2],x=P^i[3],I=4,R=1;R<n;R++)y=o[T>>>24]^l[S>>16&255]^c[O>>8&255]^u[255&x]^i[I],b=o[S>>>24]^l[O>>16&255]^c[x>>8&255]^u[255&T]^i[I+1],w=o[O>>>24]^l[x>>16&255]^c[T>>8&255]^u[255&S]^i[I+2],E=o[x>>>24]^l[T>>16&255]^c[S>>8&255]^u[255&O]^i[I+3],T=y,S=b,O=w,x=E,I+=4;y=a[T>>>24]<<24^a[S>>16&255]<<16^a[O>>8&255]<<8^a[255&x]^i[I],b=a[S>>>24]<<24^a[O>>16&255]<<16^a[x>>8&255]<<8^a[255&T]^i[I+1],w=a[O>>>24]<<24^a[x>>16&255]<<16^a[T>>8&255]<<8^a[255&S]^i[I+2],E=a[x>>>24]<<24^a[T>>16&255]<<16^a[S>>8&255]<<8^a[255&O]^i[I+3],m[t]=C(y^h),m[t+1]=C(E^f),m[t+2]=C(w^p),m[t+3]=C(b^g),h=A,f=P,p=L,g=k,t+=4}return m.buffer}}class gn{constructor(e,{removePKCS7Padding:t=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.useSoftware=e.enableSoftwareAES,this.removePKCS7Padding=t,t)try{const e=self.crypto;e&&(this.subtle=e.subtle||e.webkitSubtle)}catch(e){}this.useSoftware=!this.subtle}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:e,remainderData:t}=this;if(!e||t)return this.reset(),null;const r=new Uint8Array(e);return this.reset(),this.removePKCS7Padding?function(e){const t=e.byteLength,r=t&&new DataView(e.buffer).getUint8(t-1);return r?se(e,0,t-r):e}(r):r}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,r){return this.useSoftware?new Promise(((n,i)=>{this.softwareDecrypt(new Uint8Array(e),t,r);const a=this.flush();a?n(a.buffer):i(new Error("[softwareDecrypt] Failed to decrypt data"))})):this.webCryptoDecrypt(new Uint8Array(e),t,r)}softwareDecrypt(e,t,r){const{currentIV:n,currentResult:i,remainderData:a}=this;this.logOnce("JS AES decrypt"),a&&(e=ze(a,e),this.remainderData=null);const s=this.getValidChunk(e);if(!s.length)return null;n&&(r=n);let o=this.softwareDecrypter;o||(o=this.softwareDecrypter=new pn),o.expandKey(t);const l=i;return this.currentResult=o.decrypt(s.buffer,0,r),this.currentIV=se(s,-16).buffer,l||null}webCryptoDecrypt(e,t,r){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,r));this.key=t,this.fastAesKey=new fn(this.subtle,t)}return this.fastAesKey.expandKey().then((t=>{if(!this.subtle)return Promise.reject(new Error("web crypto not initialized"));this.logOnce("WebCrypto AES decrypt");return new hn(this.subtle,new Uint8Array(r)).decrypt(e.buffer,t)})).catch((n=>(A.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${n.name}: ${n.message}`),this.onWebCryptoError(e,t,r))))}onWebCryptoError(e,t,r){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,r);const n=this.flush();if(n)return n.buffer;throw new Error("WebCrypto and softwareDecrypt: failed to decrypt data")}getValidChunk(e){let t=e;const r=e.length-e.length%16;return r!==e.length&&(t=se(e,0,r),this.remainderData=se(e,r)),t}logOnce(e){this.logEnabled&&(A.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const vn=function(e){let t="";const r=e.length;for(let n=0;n<r;n++)t+=`[${e.start(n).toFixed(3)}-${e.end(n).toFixed(3)}]`;return t},mn="STOPPED",yn="IDLE",bn="KEY_LOADING",wn="FRAG_LOADING",En="FRAG_LOADING_WAITING_RETRY",Tn="WAITING_TRACK",Sn="PARSING",On="PARSED",xn="ENDED",An="ERROR",Pn="WAITING_INIT_PTS",Ln="WAITING_LEVEL";class kn extends Hr{constructor(e,t,r,n,i){super(),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=mn,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.loadedmetadata=!1,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.onvseeking=null,this.onvended=null,this.logPrefix="",this.log=void 0,this.warn=void 0,this.playlistType=i,this.logPrefix=n,this.log=A.log.bind(A,`${n}:`),this.warn=A.warn.bind(A,`${n}:`),this.hls=e,this.fragmentLoader=new ln(e.config),this.keyLoader=r,this.fragmentTracker=t,this.config=e.config,this.decrypter=new gn(e.config),e.on(b.MANIFEST_LOADED,this.onManifestLoaded,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const e=this.fragCurrent;null!=e&&e.loader&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=mn}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}_streamEnded(e,t){if(t.live||e.nextStart||!e.end||!this.media)return!1;const r=t.partList;if(null!=r&&r.length){const e=r[r.length-1];return Zr.isBuffered(this.media,e.start+e.duration/2)}const n=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(n)}getLevelDetails(){var e;if(this.levels&&null!==this.levelLastLoaded)return null==(e=this.levelLastLoaded)?void 0:e.details}onMediaAttached(e,t){const r=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),r.addEventListener("seeking",this.onvseeking),r.addEventListener("ended",this.onvended);const n=this.config;this.levels&&n.autoStartLoad&&this.state===mn&&this.startLoad(n.startPosition)}onMediaDetaching(){const e=this.media;null!=e&&e.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&this.onvseeking&&this.onvended&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.keyLoader&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}onMediaSeeking(){const{config:e,fragCurrent:t,media:r,mediaBuffer:n,state:i}=this,a=r?r.currentTime:0,s=Zr.bufferInfo(n||r,a,e.maxBufferHole);if(this.log(`media seeking to ${v(a)?a.toFixed(3):a}, state: ${i}`),this.state===xn)this.resetLoadingState();else if(t){const r=e.maxFragLookUpTolerance,n=t.start-r,i=t.start+t.duration+r;if(!s.len||i<s.start||n>s.end){const e=a>i;(a<n||e)&&(e&&t.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),t.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}r&&(this.fragmentTracker.removeFragmentsInRange(a,1/0,this.playlistType,!0),this.lastCurrentTime=a),this.loadedmetadata||s.len||(this.nextLoadPosition=this.startPosition=a),this.tickImmediate()}onMediaEnded(){this.startPosition=this.lastCurrentTime=0}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset,this.initPTS=[]}onHandlerDestroying(){this.hls.off(b.MANIFEST_LOADED,this.onManifestLoaded,this),this.stopLoad(),super.onHandlerDestroying(),this.hls=null}
vendor: 5,007 bytes, line 2
2onHandlerDestroyed(){this.state=mn,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(e,t,r){this._loadFragForPlayback(e,t,r)}_loadFragForPlayback(e,t,r){this._doFragLoad(e,t,r,(t=>{if(this.fragContextChanged(e))return this.warn(`Fragment ${e.sn}${t.part?" p: "+t.part.index:""} of level ${e.level} was dropped during download.`),void this.fragmentTracker.removeFragment(e);e.stats.chunkCount++,this._handleFragmentLoadProgress(t)})).then((t=>{if(!t)return;const r=this.state;this.fragContextChanged(e)?(r===wn||!this.fragCurrent&&r===Sn)&&(this.fragmentTracker.removeFragment(e),this.state=yn):("payload"in t&&(this.log(`Loaded fragment ${e.sn} of level ${e.level}`),this.hls.trigger(b.FRAG_LOADED,t)),this._handleFragmentLoadComplete(t))})).catch((t=>{this.state!==mn&&this.state!==An&&(this.warn(`Frag error: ${(null==t?void 0:t.message)||t}`),this.resetFragmentLoading(e))}))}clearTrackerIfNeeded(e){var t;const{fragmentTracker:r}=this;if(r.getState(e)===Kr){const t=e.type,n=this.getFwdBufferInfo(this.mediaBuffer,t),i=Math.max(e.duration,n?n.len:this.config.maxBufferLength),a=this.backtrackFragment;(1===(a?e.sn-a.sn:0)||this.reduceMaxBufferLength(i,e.duration))&&r.removeFragment(e)}else 0===(null==(t=this.mediaBuffer)?void 0:t.buffered.length)?r.removeAllFragments():r.hasParts(e.type)&&(r.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type}),r.getState(e)===Yr&&r.removeFragment(e))}checkLiveUpdate(e){if(e.updated&&!e.live){const t=e.fragments[e.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type})}e.fragments[0]||(e.deltaUpdateFailed=!0)}flushMainBuffer(e,t,r=null){if(!(e-t))return;const n={startOffset:e,endOffset:t,type:r};this.hls.trigger(b.BUFFER_FLUSHING,n)}_loadInitSegment(e,t){this._doFragLoad(e,t).then((t=>{if(!t||this.fragContextChanged(e)||!this.levels)throw new Error("init load aborted");return t})).then((t=>{const{hls:r}=this,{payload:n}=t,i=e.decryptdata;if(n&&n.byteLength>0&&null!=i&&i.key&&i.iv&&"AES-128"===i.method){const a=self.performance.now();return this.decrypter.decrypt(new Uint8Array(n),i.key.buffer,i.iv.buffer).catch((t=>{throw r.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.FRAG_DECRYPT_ERROR,fatal:!1,error:t,reason:t.message,frag:e}),t})).then((n=>{const i=self.performance.now();return r.trigger(b.FRAG_DECRYPTED,{frag:e,payload:n,stats:{tstart:a,tdecrypt:i}}),t.payload=n,this.completeInitSegmentLoad(t)}))}return this.completeInitSegmentLoad(t)})).catch((t=>{this.state!==mn&&this.state!==An&&(this.warn(t),this.resetFragmentLoading(e))}))}completeInitSegmentLoad(e){const{levels:t}=this;if(!t)throw new Error("init load aborted, missing levels");const r=e.frag.stats;this.state=yn,e.frag.data=new Uint8Array(e.payload),r.parsing.start=r.buffering.start=self.performance.now(),r.parsing.end=r.buffering.end=self.performance.now(),this.tick()}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){var r,n,i,a;const s=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.playlistType===Ct?"level":"track"} ${e.level} (frag:[${(null!=(r=e.startPTS)?r:NaN).toFixed(3)}-${(null!=(n=e.endPTS)?n:NaN).toFixed(3)}] > buffer:${s?vn(Zr.getBuffered(s)):"(detached)"})`),"initSegment"!==e.sn){var o;if(e.type!==_t){const t=e.elementaryStreams;if(!Object.keys(t).some((e=>!!t[e])))return void(this.state=yn)}const t=null==(o=this.levels)?void 0:o[e.level];null!=t&&t.fragmentError&&(this.log(`Resetting level fragment error count of ${t.fragmentError} on frag buffered`),t.fragmentError=0)}this.state=yn,s&&(!this.loadedmetadata&&e.type==Ct&&s.buffered.length&&(null==(i=this.fragCurrent)?void 0:i.sn)===(null==(a=this.fragPrevious)?void 0:a.sn)&&(this.loadedmetadata=!0,this.seekToStartPos()),this.tick())}seekToStartPos(){}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:r,part:n,partsLoaded:i}=e,a=!i||0===i.length||i.some((e=>!e)),s=new en(r.level,r.sn,r.stats.chunkCount+1,0,n?n.index:-1,!a);t.flush(s)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,r=null,n){var i;const a=null==t?void 0:t.details;if(!this.levels||!a)throw new Error(`frag load aborted, missing level${a?"":" detail"}s`);let s=null;if(!e.encrypted||null!=(i=e.decryptdata)&&i.key?!e.encrypted&&a.encryptedFragments.length&&this.keyLoader.loadClear(e,a.encryptedFragments):(this.log(`Loading key for ${e.sn} of [${a.startSN}-${a.endSN}], ${"[stream-controller]"===this.logPrefix?"level":"track"} ${e.level}`),this.state=bn,this.fragCurrent=e,s=this.keyLoader.load(e).then((e=>{if(!this.fragContextChanged(e.frag))return this.hls.trigger(b.KEY_LOADED,e),this.state===bn&&(this.state=yn),e})),this.hls.trigger(b.KEY_LOADING,{frag:e}
vendor: 17,098 bytes, line 2
2),null===this.fragCurrent&&(s=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))),r=Math.max(e.start,r||0),this.config.lowLatencyMode&&"initSegment"!==e.sn){const i=a.partList;if(i&&n){r>e.end&&a.fragmentHint&&(e=a.fragmentHint);const o=this.getNextPart(i,e,r);if(o>-1){const l=i[o];let c;return this.log(`Loading part sn: ${e.sn} p: ${l.index} cc: ${e.cc} of playlist [${a.startSN}-${a.endSN}] parts [0-${o}-${i.length-1}] ${"[stream-controller]"===this.logPrefix?"level":"track"}: ${e.level}, target: ${parseFloat(r.toFixed(3))}`),this.nextLoadPosition=l.start+l.duration,this.state=wn,c=s?s.then((r=>!r||this.fragContextChanged(r.frag)?null:this.doFragPartsLoad(e,l,t,n))).catch((e=>this.handleFragLoadError(e))):this.doFragPartsLoad(e,l,t,n).catch((e=>this.handleFragLoadError(e))),this.hls.trigger(b.FRAG_LOADING,{frag:e,part:l,targetBufferTime:r}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):c}if(!e.url||this.loadedEndOfParts(i,r))return Promise.resolve(null)}}this.log(`Loading fragment ${e.sn} cc: ${e.cc} ${a?"of ["+a.startSN+"-"+a.endSN+"] ":""}${"[stream-controller]"===this.logPrefix?"level":"track"}: ${e.level}, target: ${parseFloat(r.toFixed(3))}`),v(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=wn;const o=this.config.progressive;let l;return l=o&&s?s.then((t=>!t||this.fragContextChanged(null==t?void 0:t.frag)?null:this.fragmentLoader.load(e,n))).catch((e=>this.handleFragLoadError(e))):Promise.all([this.fragmentLoader.load(e,o?n:void 0),s]).then((([e])=>(!o&&e&&n&&n(e),e))).catch((e=>this.handleFragLoadError(e))),this.hls.trigger(b.FRAG_LOADING,{frag:e,targetBufferTime:r}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):l}doFragPartsLoad(e,t,r,n){return new Promise(((i,a)=>{var s;const o=[],l=null==(s=r.details)?void 0:s.partList,c=t=>{this.fragmentLoader.loadPart(e,t,n).then((n=>{o[t.index]=n;const a=n.part;this.hls.trigger(b.FRAG_LOADED,n);const s=hr(r,e.sn,t.index+1)||fr(l,e.sn,t.index+1);if(!s)return i({frag:e,part:a,partsLoaded:o});c(s)})).catch(a)};c(t)}))}handleFragLoadError(e){if("data"in e){const t=e.data;e.data&&t.details===E.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):this.hls.trigger(b.ERROR,t)}else this.hls.trigger(b.ERROR,{type:w.OTHER_ERROR,details:E.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==Sn)return void(this.fragCurrent||this.state===mn||this.state===An||(this.state=yn));const{frag:r,part:n,level:i}=t,a=self.performance.now();r.stats.parsing.end=a,n&&(n.stats.parsing.end=a),this.updateLevelTiming(r,n,i,e.partial)}getCurrentContext(e){const{levels:t,fragCurrent:r}=this,{level:n,sn:i,part:a}=e;if(null==t||!t[n])return this.warn(`Levels object was unset while buffering fragment ${i} of level ${n}. The current chunk will not be buffered.`),null;const s=t[n],o=a>-1?hr(s,i,a):null,l=o?o.fragment:function(e,t,r){if(null==e||!e.details)return null;const n=e.details;let i=n.fragments[t-n.startSN];return i||(i=n.fragmentHint,i&&i.sn===t?i:t<n.startSN&&r&&r.sn===t?r:null)}(s,i,r);return l?(r&&r!==l&&(l.stats=r.stats),{frag:l,part:o,level:s}):null}bufferFragmentData(e,t,r,n,i){var a;if(!e||this.state!==Sn)return;const{data1:s,data2:o}=e;let l=s;if(s&&o&&(l=ze(s,o)),null==(a=l)||!a.length)return;const c={type:e.type,frag:t,part:r,chunkMeta:n,parent:t.type,data:l};if(this.hls.trigger(b.BUFFER_APPENDING,c),e.dropped&&e.independent&&!r){if(i)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!Zr.isBuffered(t,t.currentTime))return void this.flushMainBuffer(0,e.start);const r=t.currentTime,n=Zr.bufferInfo(t,r,0),i=e.duration,a=Math.min(2*this.config.maxFragLookUpTolerance,.25*i),s=Math.max(Math.min(e.start-a,n.end-a),r+a);e.start-s>a&&this.flushMainBuffer(s,e.start)}getFwdBufferInfo(e,t){const r=this.getLoadPosition();return v(r)?this.getFwdBufferInfoAtPos(e,r,t):null}getFwdBufferInfoAtPos(e,t,r){const{config:{maxBufferHole:n}}=this,i=Zr.bufferInfo(e,t,n);if(0===i.len&&void 0!==i.nextStart){const a=this.fragmentTracker.getBufferedFrag(t,r);if(a&&i.nextStart<a.end)return Zr.bufferInfo(e,t,Math.max(i.nextStart,n))}return i}getMaxBufferLength(e){const{config:t}=this;let r;return r=e?Math.max(8*t.maxBufferSize/e,t.maxBufferLength):t.maxBufferLength,Math.min(r,t.maxMaxBufferLength)}reduceMaxBufferLength(e,t){const r=this.config,n=Math.max(Math.min(e-t,r.maxBufferLength),t),i=Math.max(e-3*t,r.maxMaxBufferLength/2,n);return i>=n&&(r.maxMaxBufferLength=i,this.warn(`Reduce max buffer length to ${i}s`),!0)}getAppendedFrag(e,t=Ct){const r=this.fragmentTracker.getAppendedFrag(e,Ct);return r&&"fragment"in r?r.fragment:r}getNextFragment(e,t){const r=t.fragments,n=r.length;if(!n)return null;const{config:i}=this,a=r[0].start;let s;if(t.live){const o=i.initialLiveManifestSize;if(n<o)return this.warn(`Not enough fragments to start playback (have: ${n}, need: ${o})`),null;(!t.PTSKnown&&!this.startFragRequested&&-1===this.startPosition||e<a)&&(s=this.getInitialLiveFragment(t,r),this.startPosition=this.nextLoadPosition=s?this.hls.liveSyncPosition||s.start:e)}else e<=a&&(s=r[0]);if(!s){const r=i.lowLatencyMode?t.partEnd:t.fragmentEnd;s=this.getFragmentAtPosition(e,r,t)}return this.mapToInitFragWhenRequired(s)}isLoopLoading(e,t){const r=this.fragmentTracker.getState(e);return(r===qr||r===Yr&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,r,n,i){const a=e.gap,s=this.getNextFragment(this.nextLoadPosition,t);if(null===s)return s;if(e=s,a&&e&&!e.gap&&r.nextStart){const t=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,r.nextStart,n);if(null!==t&&r.len+t.len>=i)return this.log(`buffer full after gaps in "${n}" playlist starting at sn: ${e.sn}`),null}return e}mapToInitFragWhenRequired(e){return null==e||!e.initSegment||null!=e&&e.initSegment.data||this.bitrateTest?e:e.initSegment}getNextPart(e,t,r){let n=-1,i=!1,a=!0;for(let s=0,o=e.length;s<o;s++){const o=e[s];if(a=a&&!o.independent,n>-1&&r<o.start)break;const l=o.loaded;l?n=-1:(i||o.independent||a)&&o.fragment===t&&(n=s),i=l}return n}loadedEndOfParts(e,t){const r=e[e.length-1];return r&&t>r.start&&r.loaded}getInitialLiveFragment(e,t){const r=this.fragPrevious;let n=null;if(r){if(e.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${r.programDateTime}`),n=function(e,t,r){if(null===t||!Array.isArray(e)||!e.length||!v(t))return null;if(t<(e[0].programDateTime||0))return null;if(t>=(e[e.length-1].endProgramDateTime||0))return null;r=r||0;for(let n=0;n<e.length;++n){const i=e[n];if(Sr(t,r,i))return i}return null}(t,r.endProgramDateTime,this.config.maxFragLookUpTolerance)),!n){const i=r.sn+1;if(i>=e.startSN&&i<=e.endSN){const a=t[i-e.startSN];r.cc===a.cc&&(n=a,this.log(`Live playlist, switching playlist, load frag with next SN: ${n.sn}`))}n||(n=function(e,t){return wr(e,(e=>e.cc<t?1:e.cc>t?-1:0))}(t,r.cc),n&&this.log(`Live playlist, switching playlist, load frag with same CC: ${n.sn}`))}}else{const t=this.hls.liveSyncPosition;null!==t&&(n=this.getFragmentAtPosition(t,this.bitrateTest?e.fragmentEnd:e.edge,e))}return n}getFragmentAtPosition(e,t,r){const{config:n}=this;let{fragPrevious:i}=this,{fragments:a,endSN:s}=r;const{fragmentHint:o}=r,{maxFragLookUpTolerance:l}=n,c=r.partList,u=!!(n.lowLatencyMode&&null!=c&&c.length&&o);let d;if(u&&o&&!this.bitrateTest&&(a=a.concat(o),s=o.sn),e<t){d=Er(i,a,e,e>t-l?0:l)}else d=a[a.length-1];if(d){const e=d.sn-r.startSN,t=this.fragmentTracker.getState(d);if((t===qr||t===Yr&&d.gap)&&(i=d),i&&d.sn===i.sn&&(!u||c[0].fragment.sn>d.sn)){if(i&&d.level===i.level){const t=a[e+1];d=d.sn<s&&this.fragmentTracker.getState(t)!==qr?t:null}}}return d}synchronizeToLiveEdge(e){const{config:t,media:r}=this;if(!r)return;const n=this.hls.liveSyncPosition,i=r.currentTime,a=e.fragments[0].start,s=e.edge,o=i>=a-t.maxFragLookUpTolerance&&i<=s;if(null!==n&&r.duration>n&&(i<n||!o)){const a=void 0!==t.liveMaxLatencyDuration?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;(!o&&r.readyState<4||i<s-a)&&(this.loadedmetadata||(this.nextLoadPosition=n),r.readyState&&(this.warn(`Playback: ${i.toFixed(3)} is located too far from the end of live sliding playlist: ${s}, reset currentTime to : ${n.toFixed(3)}`),r.currentTime=n))}}alignPlaylists(e,t,r){const n=e.fragments.length;if(!n)return this.warn("No fragments in live playlist"),0;const i=e.fragments[0].start,a=!t,s=e.alignedSliding&&v(i);if(a||!s&&!i){const{fragPrevious:i}=this;an(i,r,e);const a=e.fragments[0].start;return this.log(`Live playlist sliding: ${a.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} prev-sn: ${i?i.sn:"na"} fragments: ${n}`),a}return i}waitForCdnTuneIn(e){return e.live&&e.canBlockReload&&e.partTarget&&e.tuneInGoal>Math.max(e.partHoldBack,3*e.partTarget)}setStartPosition(e,t){let r=this.startPosition;if(r<t&&(r=-1),-1===r||-1===this.lastCurrentTime){const n=null!==this.startTimeOffset,i=n?this.startTimeOffset:e.startTimeOffset;null!==i&&v(i)?(r=t+i,i<0&&(r+=e.totalduration),r=Math.min(Math.max(t,r),t+e.totalduration),this.log(`Start time offset ${i} found in ${n?"multivariant":"media"} playlist, adjust startPosition to ${r}`),this.startPosition=r):e.live?r=this.hls.liveSyncPosition||t:this.startPosition=r=0,this.lastCurrentTime=r}this.nextLoadPosition=r}getLoadPosition(){const{media:e}=this;let t=0;return this.loadedmetadata&&e?t=e.currentTime:this.nextLoadPosition&&(t=this.nextLoadPosition),t}handleFragLoadAborted(e,t){this.transmuxer&&"initSegment"!==e.sn&&e.stats.aborted&&(this.warn(`Fragment ${e.sn}${t?" part "+t.index:""} of level ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){this.fragCurrent&&(this.fragContextChanged(e)||this.state===En)||(this.state=yn)}onFragmentOrKeyLoadError(e,t){if(t.chunkMeta&&!t.frag){const e=this.getCurrentContext(t.chunkMeta);e&&(t.frag=e.frag)}const r=t.frag;if(!r||r.type!==e||!this.levels)return;var n;if(this.fragContextChanged(r))return void this.warn(`Frag load error must match current frag to retry ${r.url} > ${null==(n=this.fragCurrent)?void 0:n.url}`);const i=t.details===E.FRAG_GAP;i&&this.fragmentTracker.fragBuffered(r,!0);const a=t.errorAction,{action:s,retryCount:o=0,retryConfig:l}=a||{};if(a&&s===Pr&&l){this.resetStartWhenNotLoaded(this.levelLastLoaded);const n=mr(l,o);this.warn(`Fragment ${r.sn} of ${e} ${r.level} errored with ${t.details}, retrying loading ${o+1}/${l.maxNumRetry} in ${n}ms`),a.resolved=!0,this.retryDate=self.performance.now()+n,this.state=En}else if(l&&a){if(this.resetFragmentErrors(e),!(o<l.maxNumRetry))return void A.warn(`${t.details} reached or exceeded max retry (${o})`);i||s===Ar||(a.resolved=!0)}else(null==a?void 0:a.action)===xr?this.state=Ln:this.state=An;this.tickImmediate()}reduceLengthAndFlushBuffer(e){if(this.state===Sn||this.state===On){const t=e.frag,r=e.parent,n=this.getFwdBufferInfo(this.mediaBuffer,r),i=n&&n.len>.5;i&&this.reduceMaxBufferLength(n.len,(null==t?void 0:t.duration)||10);const a=!i;return a&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${r} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),a}return!1}resetFragmentErrors(e){e===Dt&&(this.fragCurrent=null),this.loadedmetadata||(this.startFragRequested=!1),this.state!==mn&&(this.state=yn)}afterBufferFlushed(e,t,r){if(!e)return;const n=Zr.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,n,r),this.state===xn&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=yn}resetStartWhenNotLoaded(e){if(!this.loadedmetadata){this.startFragRequested=!1;const t=e?e.details:null;null!=t&&t.live?(this.startPosition=-1,this.setStartPosition(t,0),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.warn(`The loading context changed while buffering fragment ${e.sn} of level ${e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,r,n){var i;const a=r.details;if(!a)return void this.warn("level.details undefined");if(!Object.keys(e.elementaryStreams).reduce(((t,i)=>{const s=e.elementaryStreams[i];if(s){const o=s.endPTS-s.startPTS;if(o<=0)return this.warn(`Could not parse fragment ${e.sn} ${i} duration reliably (${o})`),t||!1;const l=n?0:lr(a,e,s.startPTS,s.endPTS,s.startDTS,s.endDTS);return this.hls.trigger(b.LEVEL_PTS_UPDATED,{details:a,level:r,drift:l,type:i,frag:e,start:s.startPTS,end:s.endPTS}),!0}return t}),!1)&&null===(null==(i=this.transmuxer)?void 0:i.error)){const t=new Error(`Found no media in fragment ${e.sn} of level ${e.level} resetting transmuxer to fallback to playlist timing`);if(0===r.fragmentError&&(r.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)),this.warn(t.message),this.hls.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.FRAG_PARSING_ERROR,fatal:!1,error:t,frag:e,reason:`Found no media in msn ${e.sn} of level "${r.url}"`}),!this.hls)return;this.resetTransmuxer()}this.state=On,this.hls.trigger(b.FRAG_PARSED,{frag:e,part:t})}resetTransmuxer(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)}recoverWorkerError(e){"demuxerWorker"===e.event&&(this.fragmentTracker.removeAllFragments(),this.resetTransmuxer(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}class In{constructor(){this.chunks=[],this.dataLength=0}push(e){this.chunks.push(e),this.dataLength+=e.length}flush(){const{chunks:e,dataLength:t}=this;let r;return e.length?(r=1===e.length?e[0]:function(e,t){const r=new Uint8Array(t);let n=0;for(let t=0;t<e.length;t++){const i=e[t];r.set(i,n),n+=i.length}return r}(e,t),this.reset(),r):new Uint8Array(0)}reset(){this.chunks.length=0,this.dataLength=0}}function Rn(e="",t=9e4){return{type:e,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Cn{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(e,t,r,n){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(e){this.initPTS=e,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(e,t){return!1}appendFrame(e,t,r){}demux(e,t){this.cachedData&&(e=ze(this.cachedData,e),this.cachedData=null);let r,n=ce(e,0),i=n?n.length:0;const a=this._audioTrack,s=this._id3Track,o=n?he(n):void 0,l=e.length;for((null===this.basePTS||0===this.frameIndex&&v(o))&&(this.basePTS=Dn(o,t,this.initPTS),this.lastPTS=this.basePTS),null===this.lastPTS&&(this.lastPTS=this.basePTS),n&&n.length>0&&s.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:zt,duration:Number.POSITIVE_INFINITY});i<l;){if(this.canParse(e,i)){const t=this.appendFrame(a,e,i);t?(this.frameIndex++,this.lastPTS=t.sample.pts,i+=t.length,r=i):i=l}else de(e,i)?(n=ce(e,i),s.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:zt,duration:Number.POSITIVE_INFINITY}),i+=n.length,r=i):i++;if(i===l&&r!==l){const t=se(e,r);this.cachedData?this.cachedData=ze(this.cachedData,t):this.cachedData=t}}return{audioTrack:a,videoTrack:Rn(),id3Track:s,textTrack:Rn()}}demuxSampleAes(e,t,r){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(e){const t=this.cachedData;return t&&(this.cachedData=null,this.demux(t,0)),{audioTrack:this._audioTrack,videoTrack:Rn(),id3Track:this._id3Track,textTrack:Rn()}}destroy(){}}const Dn=(e,t,r)=>{if(v(e))return 90*e;return 9e4*t+(r?9e4*r.baseTime/r.timescale:0)};function _n(e,t){return 255===e[t]&&240==(246&e[t+1])}function Mn(e,t){return 1&e[t+1]?7:9}function Fn(e,t){return(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5}function Nn(e,t){return t+1<e.length&&_n(e,t)}function jn(e,t){if(Nn(e,t)){const r=Mn(e,t);if(t+r>=e.length)return!1;const n=Fn(e,t);if(n<=r)return!1;const i=t+n;return i===e.length||Nn(e,i)}return!1}function Un(e,t,r,n,i){if(!e.samplerate){const a=function(e,t,r,n){let i,a,s,o;const l=navigator.userAgent.toLowerCase(),c=n,u=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];i=1+((192&t[r+2])>>>6);const d=(60&t[r+2])>>>2;if(!(d>u.length-1))return s=(1&t[r+2])<<2,s|=(192&t[r+3])>>>6,A.log(`manifest codec:${n}, ADTS type:${i}, samplingIndex:${d}`),/firefox/i.test(l)?d>=6?(i=5,o=new Array(4),a=d-3):(i=2,o=new Array(2),a=d):-1!==l.indexOf("android")?(i=2,o=new Array(2),a=d):(i=5,o=new Array(4),n&&(-1!==n.indexOf("mp4a.40.29")||-1!==n.indexOf("mp4a.40.5"))||!n&&d>=6?a=d-3:((n&&-1!==n.indexOf("mp4a.40.2")&&(d>
vendor: 5,678 bytes, line 2
2=6&&1===s||/vivaldi/i.test(l))||!n&&1===s)&&(i=2,o=new Array(2)),a=d)),o[0]=i<<3,o[0]|=(14&d)>>1,o[1]|=(1&d)<<7,o[1]|=s<<3,5===i&&(o[1]|=(14&a)>>1,o[2]=(1&a)<<7,o[2]|=8,o[3]=0),{config:o,samplerate:u[d],channelCount:s,codec:"mp4a.40."+i,manifestCodec:c};{const t=new Error(`invalid ADTS sampling index:${d}`);e.emit(b.ERROR,b.ERROR,{type:w.MEDIA_ERROR,details:E.FRAG_PARSING_ERROR,fatal:!0,error:t,reason:t.message})}}(t,r,n,i);if(!a)return;e.config=a.config,e.samplerate=a.samplerate,e.channelCount=a.channelCount,e.codec=a.codec,e.manifestCodec=a.manifestCodec,A.log(`parsed codec:${e.codec}, rate:${a.samplerate}, channels:${a.channelCount}`)}}function Bn(e){return 9216e4/e}function $n(e,t,r,n,i){const a=n+i*Bn(e.samplerate),s=function(e,t){const r=Mn(e,t);if(t+r<=e.length){const n=Fn(e,t)-r;if(n>0)return{headerLength:r,frameLength:n}}}(t,r);let o;if(s){const{frameLength:n,headerLength:i}=s,l=i+n,c=Math.max(0,r+l-t.length);c?(o=new Uint8Array(l-i),o.set(t.subarray(r+i,t.length),0)):o=t.subarray(r+i,r+l);const u={unit:o,pts:a};return c||e.samples.push(u),{sample:u,length:l,missing:c}}const l=t.length-r;o=new Uint8Array(l),o.set(t.subarray(r,t.length),0);return{sample:{unit:o,pts:a},length:l,missing:-1}}let Gn=null;const zn=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],Hn=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Vn=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Kn=[0,1,1,4];function Yn(e,t,r,n,i){if(r+24>t.length)return;const a=qn(t,r);if(a&&r+a.frameLength<=t.length){const s=n+i*(9e4*a.samplesPerFrame/a.sampleRate),o={unit:t.subarray(r,r+a.frameLength),pts:s,dts:s};return e.config=[],e.channelCount=a.channelCount,e.samplerate=a.sampleRate,e.samples.push(o),{sample:o,length:a.frameLength,missing:0}}}function qn(e,t){const r=e[t+1]>>3&3,n=e[t+1]>>1&3,i=e[t+2]>>4&15,a=e[t+2]>>2&3;if(1!==r&&0!==i&&15!==i&&3!==a){const s=e[t+2]>>1&1,o=e[t+3]>>6,l=1e3*zn[14*(3===r?3-n:3===n?3:4)+i-1],c=Hn[3*(3===r?0:2===r?1:2)+a],u=3===o?1:2,d=Vn[r][n],h=Kn[n],f=8*d*h,p=Math.floor(d*l/c+s)*h;if(null===Gn){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Gn=e?parseInt(e[1]):0}return!!Gn&&Gn<=87&&2===n&&l>=224e3&&0===o&&(e[t+3]=128|e[t+3]),{sampleRate:c,channelCount:u,frameLength:p,samplesPerFrame:f}}}function Wn(e,t){return!(255!==e[t]||224&~e[t+1]||!(6&e[t+1]))}function Xn(e,t){return t+1<e.length&&Wn(e,t)}function Qn(e,t){if(t+1<e.length&&Wn(e,t)){const r=4,n=qn(e,t);let i=r;null!=n&&n.frameLength&&(i=n.frameLength);const a=t+i;return a===e.length||Xn(e,a)}return!1}const Jn=/\/emsg[-/]ID3/i;const Zn=(e,t)=>{let r=0,n=5;t+=n;const i=new Uint32Array(1),a=new Uint32Array(1),s=new Uint8Array(1);for(;n>0;){s[0]=e[t];const o=Math.min(n,8),l=8-o;a[0]=4278190080>>>24+l<<l,i[0]=(s[0]&a[0])>>l,r=r?r<<o|i[0]:i[0],t+=1,n-=o}return r};class ei extends Cn{constructor(e){super(),this.observer=void 0,this.observer=e}resetInitSegment(e,t,r,n){super.resetInitSegment(e,t,r,n),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:t,duration:n,inputTimeScale:9e4,dropped:0}}canParse(e,t){return t+64<e.length}appendFrame(e,t,r){const n=ti(e,t,r,this.basePTS,this.frameIndex);if(-1!==n){return{sample:e.samples[e.samples.length-1],length:n,missing:0}}}static probe(e){if(!e)return!1;const t=ce(e,0);if(!t)return!1;const r=t.length;return 11===e[r]&&119===e[r+1]&&void 0!==he(t)&&Zn(e,r)<16}}function ti(e,t,r,n,i){if(r+8>t.length)return-1;if(11!==t[r]||119!==t[r+1])return-1;const a=t[r+4]>>6;if(a>=3)return-1;const s=[48e3,44100,32e3][a],o=63&t[r+4],l=2*[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][3*o+a];if(r+l>t.length)return-1;const c=t[r+6]>>5;let u=0;2===c?u+=2:(1&c&&1!==c&&(u+=2),4&c&&(u+=2));const d=(t[r+6]<<8|t[r+7])>>12-u&1,h=[2,1,2,3,3,4,4,5][c]+d,f=t[r+5]>>3,p=7&t[r+5],g=new Uint8Array([a<<6|f<<1|p>>2,(3&p)<<6|c<<3|d<<2|o>>4,o<<4&224]),v=n+i*(1536/s*9e4),m=t.subarray(r,r+l);return e.config=g,e.channelCount=h,e.samplerate=s,e.samples.push({unit:m,pts:v}),l}class ri{constructor(){this.VideoSample=null}createVideoSample(e,t,r,n){return{key:e,frame:!1,pts:t,dts:r,units:[],debug:n,length:0}}getLastNalUnit(e){var t;let r,n=this.VideoSample;if(n&&0!==n.units.length||(n=e[e.length-1]),null!=(t=n)&&t.units){const e=n.units;r=e[e.length-1]}return r}pushAccessUnit(e,t){if(e.units.length&&e.frame){if(void 0===e.pts){const r=t.samples,n=r.length;if(!n)return void t.dropped++;{const t=r[n-1];e.pts=t.pts,e.dts=t.dts}}t.samples.push(e)}e.debug.length&&A.log(e.pts+"/"+e.dts+":"+e.debug)}}class ni{constructor(e){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const e=this.data,t=this.bytesAvailable,r=e.byteLength-t,n=new Uint8Array(4),i=Math.min(4,t);if(0===i)throw new Error("no bytes available");n.set(e.subarray(r,r+i)),this.word=new DataView(n.buffer).getUint32(0),this.bitsAvailable=8*i,this.bytesAvailable-=i}skipBits(e){let t;e=Math.min(e,8*this.bytesAvailable+this.bitsAvailable),this.bitsAvailable>
vendor: 41,028 bytes, line 2
2e?(this.word<<=e,this.bitsAvailable-=e):(t=(e-=this.bitsAvailable)>>3,e-=t<<3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}readBits(e){let t=Math.min(this.bitsAvailable,e);const r=this.word>>>32-t;if(e>32&&A.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0)this.word<<=t;else{if(!(this.bytesAvailable>0))throw new Error("no bits available");this.loadWord()}return t=e-t,t>0&&this.bitsAvailable?r<<t|this.readBits(t):r}skipLZ(){let e;for(e=0;e<this.bitsAvailable;++e)if(this.word&2147483648>>>e)return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const e=this.skipLZ();return this.readBits(e+1)-1}readEG(){const e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}readBoolean(){return 1===this.readBits(1)}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}skipScalingList(e){let t,r=8,n=8;for(let i=0;i<e;i++)0!==n&&(t=this.readEG(),n=(r+t+256)%256),r=0===n?r:n}readSPS(){let e,t,r,n=0,i=0,a=0,s=0;const o=this.readUByte.bind(this),l=this.readBits.bind(this),c=this.readUEG.bind(this),u=this.readBoolean.bind(this),d=this.skipBits.bind(this),h=this.skipEG.bind(this),f=this.skipUEG.bind(this),p=this.skipScalingList.bind(this);o();const g=o();if(l(5),d(3),o(),f(),100===g||110===g||122===g||244===g||44===g||83===g||86===g||118===g||128===g){const e=c();if(3===e&&d(1),f(),f(),d(1),u())for(t=3!==e?8:12,r=0;r<t;r++)u()&&p(r<6?16:64)}f();const v=c();if(0===v)c();else if(1===v)for(d(1),h(),h(),e=c(),r=0;r<e;r++)h();f(),d(1);const m=c(),y=c(),b=l(1);0===b&&d(1),d(1),u()&&(n=c(),i=c(),a=c(),s=c());let w=[1,1];if(u()&&u()){switch(o()){case 1:w=[1,1];break;case 2:w=[12,11];break;case 3:w=[10,11];break;case 4:w=[16,11];break;case 5:w=[40,33];break;case 6:w=[24,11];break;case 7:w=[20,11];break;case 8:w=[32,11];break;case 9:w=[80,33];break;case 10:w=[18,11];break;case 11:w=[15,11];break;case 12:w=[64,33];break;case 13:w=[160,99];break;case 14:w=[4,3];break;case 15:w=[3,2];break;case 16:w=[2,1];break;case 255:w=[o()<<8|o(),o()<<8|o()]}}return{width:Math.ceil(16*(m+1)-2*n-2*i),height:(2-b)*(y+1)*16-(b?2:4)*(a+s),pixelRatio:w}}readSliceType(){return this.readUByte(),this.readUEG(),this.readUEG()}}class ii extends ri{parseAVCPES(e,t,r,n,i){const a=this.parseAVCNALu(e,r.data);let s,o=this.VideoSample,l=!1;r.data=null,o&&a.length&&!e.audFound&&(this.pushAccessUnit(o,e),o=this.VideoSample=this.createVideoSample(!1,r.pts,r.dts,"")),a.forEach((n=>{var a;switch(n.type){case 1:{let t=!1;s=!0;const i=n.data;if(l&&i.length>4){const e=new ni(i).readSliceType();2!==e&&4!==e&&7!==e&&9!==e||(t=!0)}var c;if(t)null!=(c=o)&&c.frame&&!o.key&&(this.pushAccessUnit(o,e),o=this.VideoSample=null);o||(o=this.VideoSample=this.createVideoSample(!0,r.pts,r.dts,"")),o.frame=!0,o.key=t;break}case 5:s=!0,null!=(a=o)&&a.frame&&!o.key&&(this.pushAccessUnit(o,e),o=this.VideoSample=null),o||(o=this.VideoSample=this.createVideoSample(!0,r.pts,r.dts,"")),o.key=!0,o.frame=!0;break;case 6:s=!0,Ke(n.data,1,r.pts,t.samples);break;case 7:{var u,d;s=!0,l=!0;const t=n.data,r=new ni(t).readSPS();if(!e.sps||e.width!==r.width||e.height!==r.height||(null==(u=e.pixelRatio)?void 0:u[0])!==r.pixelRatio[0]||(null==(d=e.pixelRatio)?void 0:d[1])!==r.pixelRatio[1]){e.width=r.width,e.height=r.height,e.pixelRatio=r.pixelRatio,e.sps=[t],e.duration=i;const n=t.subarray(1,4);let a="avc1.";for(let e=0;e<3;e++){let t=n[e].toString(16);t.length<2&&(t="0"+t),a+=t}e.codec=a}break}case 8:s=!0,e.pps=[n.data];break;case 9:s=!0,e.audFound=!0,o&&this.pushAccessUnit(o,e),o=this.VideoSample=this.createVideoSample(!1,r.pts,r.dts,"");break;case 12:s=!0;break;default:s=!1,o&&(o.debug+="unknown NAL "+n.type+" ")}if(o&&s){o.units.push(n)}})),n&&o&&(this.pushAccessUnit(o,e),this.VideoSample=null)}parseAVCNALu(e,t){const r=t.byteLength;let n=e.naluState||0;const i=n,a=[];let s,o,l,c=0,u=-1,d=0;for(-1===n&&(u=0,d=31&t[0],n=0,c=1);c<r;)if(s=t[c++],n)if(1!==n)if(s)if(1===s){if(o=c-n-1,u>=0){const e={data:t.subarray(u,o),type:d};a.push(e)}else{const r=this.getLastNalUnit(e.samples);r&&(i&&c<=4-i&&r.state&&(r.data=r.data.subarray(0,r.data.byteLength-i)),o>0&&(r.data=ze(r.data,t.subarray(0,o)),r.state=0))}c<r?(l=31&t[c],u=c,d=l,n=0):n=-1}else n=0;else n=3;else n=s?0:2;else n=s?0:1;if(u>=0&&n>=0){const e={data:t.subarray(u,r),type:d,state:n};a.push(e)}if(0===a.length){const r=this.getLastNalUnit(e.samples);r&&(r.data=ze(r.data,t))}return e.naluState=n,a}}class ai{constructor(e,t,r){this.keyData=void 0,this.decrypter=void 0,this.keyData=r,this.decrypter=new gn(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer)}decryptAacSample(e,t,r){const n=e[t].unit;if(n.length<=16)return;const i=n.subarray(16,n.length-n.length%16),a=i.buffer.slice(i.byteOffset,i.byteOffset+i.length);this.decryptBuffer(a).then((i=>{const a=new Uint8Array(i);n.set(a,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,r)}))}decryptAacSamples(e,t,r){for(;;t++){if(t>=e.length)return void r();if(!(e[t].unit.length<32)&&(this.decryptAacSample(e,t,r),!this.decrypter.isSync()))return}}getAvcEncryptedData(e){const t=16*Math.floor((e.length-48)/160)+16,r=new Int8Array(t);let n=0;for(let t=32;t<e.length-16;t+=160,n+=16)r.set(e.subarray(t,t+16),n);return r}getAvcDecryptedUnit(e,t){const r=new Uint8Array(t);let n=0;for(let t=32;t<e.length-16;t+=160,n+=16)e.set(r.subarray(n,n+16),t);return e}decryptAvcSample(e,t,r,n,i){const a=Ye(i.data),s=this.getAvcEncryptedData(a);this.decryptBuffer(s.buffer).then((s=>{i.data=this.getAvcDecryptedUnit(a,s),this.decrypter.isSync()||this.decryptAvcSamples(e,t,r+1,n)}))}decryptAvcSamples(e,t,r,n){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,r=0){if(t>=e.length)return void n();const i=e[t].units;for(;!(r>=i.length);r++){const a=i[r];if(!(a.data.length<=48||1!==a.type&&5!==a.type||(this.decryptAvcSample(e,t,r,n,a),this.decrypter.isSync())))return}}}}const si=188;class oi{constructor(e,t,r){this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._duration=0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=e,this.config=t,this.typeSupported=r,this.videoParser=new ii}static probe(e){const t=oi.syncOffset(e);return t>0&&A.warn(`MPEG2-TS detected but first sync word found @ offset ${t}`),-1!==t}static syncOffset(e){const t=e.length;let r=Math.min(940,t-si)+1,n=0;for(;n<r;){let i=!1,a=-1,s=0;for(let o=n;o<t;o+=si){if(71!==e[o]||t-o!==si&&71!==e[o+si]){if(s)return-1;break}if(s++,-1===a&&(a=o,0!==a&&(r=Math.min(a+18612,e.length-si)+1)),i||(i=0===li(e,o)),i&&s>1&&(0===a&&s>2||o+si>r))return a}n++}return-1}static createTrack(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:Pe[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:"audio"===e?t:void 0}}resetInitSegment(e,t,r,n){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=oi.createTrack("video"),this._audioTrack=oi.createTrack("audio",n),this._id3Track=oi.createTrack("id3"),this._txtTrack=oi.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=r,this._duration=n}resetTimeStamp(){}resetContiguity(){const{_audioTrack:e,_videoTrack:t,_id3Track:r}=this;e&&(e.pesData=null),t&&(t.pesData=null),r&&(r.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(e,t,r=!1,n=!1){let i;r||(this.sampleAes=null);const a=this._videoTrack,s=this._audioTrack,o=this._id3Track,l=this._txtTrack;let c=a.pid,u=a.pesData,d=s.pid,h=o.pid,f=s.pesData,p=o.pesData,g=null,v=this.pmtParsed,m=this._pmtId,y=e.length;if(this.remainderData&&(y=(e=ze(this.remainderData,e)).length,this.remainderData=null),y<si&&!n)return this.remainderData=e,{audioTrack:s,videoTrack:a,id3Track:o,textTrack:l};const b=Math.max(0,oi.syncOffset(e));y-=(y-b)%si,y<e.byteLength&&!n&&(this.remainderData=new Uint8Array(e.buffer,y,e.buffer.byteLength-y));let w=0;for(let t=b;t<y;t+=si)if(71===e[t]){const n=!!(64&e[t+1]),y=li(e,t);let w;if((48&e[t+3])>>4>1){if(w=t+5+e[t+4],w===t+si)continue}else w=t+4;switch(y){case c:n&&(u&&(i=fi(u))&&this.videoParser.parseAVCPES(a,l,i,!1,this._duration),u={data:[],size:0}),u&&(u.data.push(e.subarray(w,t+si)),u.size+=t+si-w);break;case d:if(n){if(f&&(i=fi(f)))switch(s.segmentCodec){case"aac":this.parseAACPES(s,i);break;case"mp3":this.parseMPEGPES(s,i);break;case"ac3":this.parseAC3PES(s,i)}f={data:[],size:0}}f&&(f.data.push(e.subarray(w,t+si)),f.size+=t+si-w);break;case h:n&&(p&&(i=fi(p))&&this.parseID3PES(o,i),p={data:[],size:0}),p&&(p.data.push(e.subarray(w,t+si)),p.size+=t+si-w);break;case 0:n&&(w+=e[w]+1),m=this._pmtId=ci(e,w);break;case m:{n&&(w+=e[w]+1);const i=ui(e,w,this.typeSupported,r,this.observer);c=i.videoPid,c>0&&(a.pid=c,a.segmentCodec=i.segmentVideoCodec),d=i.audioPid,d>0&&(s.pid=d,s.segmentCodec=i.segmentAudioCodec),h=i.id3Pid,h>0&&(o.pid=h),null===g||v||(A.warn(`MPEG-TS PMT found at ${t} after unknown PID '${g}'. Backtracking to sync byte @${b} to parse all TS packets.`),g=null,t=b-188),v=this.pmtParsed=!0;break}case 17:case 8191:break;default:g=y}}else w++;w>0&&di(this.observer,new Error(`Found ${w} TS packet/s that do not start with 0x47`)),a.pesData=u,s.pesData=f,o.pesData=p;const E={audioTrack:s,videoTrack:a,id3Track:o,textTrack:l};return n&&this.extractRemainingSamples(E),E}flush(){const{remainderData:e}=this;let t;return this.remainderData=null,t=e?this.demux(e,-1,!1,!0):{videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t}extractRemainingSamples(e){const{audioTrack:t,videoTrack:r,id3Track:n,textTrack:i}=e,a=r.pesData,s=t.pesData,o=n.pesData;let l;if(a&&(l=fi(a))?(this.videoParser.parseAVCPES(r,i,l,!0,this._duration),r.pesData=null):r.pesData=a,s&&(l=fi(s))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,l);break;case"mp3":this.parseMPEGPES(t,l);break;case"ac3":this.parseAC3PES(t,l)}t.pesData=null}else null!=s&&s.size&&A.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=s;o&&(l=fi(o))?(this.parseID3PES(n,l),n.pesData=null):n.pesData=o}demuxSampleAes(e,t,r){const n=this.demux(e,r,!0,!this.config.progressive),i=this.sampleAes=new ai(this.observer,this.config,t);return this.decrypt(n,i)}decrypt(e,t){return new Promise((r=>{const{audioTrack:n,videoTrack:i}=e;n.samples&&"aac"===n.segmentCodec?t.decryptAacSamples(n.samples,0,(()=>{i.samples?t.decryptAvcSamples(i.samples,0,0,(()=>{r(e)})):r(e)})):i.samples&&t.decryptAvcSamples(i.samples,0,0,(()=>{r(e)}))}))}destroy(){this._duration=0}parseAACPES(e,t){let r=0;const n=this.aacOverFlow;let i,a,s,o=t.data;if(n){this.aacOverFlow=null;const t=n.missing,i=n.sample.unit.byteLength;if(-1===t)o=ze(n.sample.unit,o);else{const a=i-t;n.sample.unit.set(o.subarray(0,t),a),e.samples.push(n.sample),r=n.missing}}for(i=r,a=o.length;i<a-1&&!Nn(o,i);i++);if(i!==r){let e;const t=i<a-1;if(e=t?`AAC PES did not start with ADTS header,offset:${i}`:"No ADTS header found in AAC PES",di(this.observer,new Error(e),t),!t)return}if(Un(e,this.observer,o,i,this.audioCodec),void 0!==t.pts)s=t.pts;else{if(!n)return void A.warn("[tsdemuxer]: AAC PES unknown PTS");{const t=Bn(e.samplerate);s=n.sample.pts+t}}let l,c=0;for(;i<a;){if(l=$n(e,o,i,s,c),i+=l.length,l.missing){this.aacOverFlow=l;break}for(c++;i<a-1&&!Nn(o,i);i++);}}parseMPEGPES(e,t){const r=t.data,n=r.length;let i=0,a=0;const s=t.pts;if(void 0!==s)for(;a<n;)if(Xn(r,a)){const t=Yn(e,r,a,s,i);if(!t)break;a+=t.length,i++}else a++;else A.warn("[tsdemuxer]: MPEG PES unknown PTS")}parseAC3PES(e,t){{const r=t.data,n=t.pts;if(void 0===n)return void A.warn("[tsdemuxer]: AC3 PES unknown PTS");const i=r.length;let a,s=0,o=0;for(;o<i&&(a=ti(e,r,o,n,s++))>0;)o+=a}}parseID3PES(e,t){if(void 0===t.pts)return void A.warn("[tsdemuxer]: ID3 PES unknown PTS");const r=g({},t,{type:this._videoTrack?Vt:zt,duration:Number.POSITIVE_INFINITY});e.samples.push(r)}}function li(e,t){return((31&e[t+1])<<8)+e[t+2]}function ci(e,t){return(31&e[t+10])<<8|e[t+11]}function ui(e,t,r,n,i){const a={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},s=t+3+((15&e[t+1])<<8|e[t+2])-4;for(t+=12+((15&e[t+10])<<8|e[t+11]);t<s;){const s=li(e,t),o=(15&e[t+3])<<8|e[t+4];switch(e[t]){case 207:if(!n){hi("ADTS AAC");break}case 15:-1===a.audioPid&&(a.audioPid=s);break;case 21:-1===a.id3Pid&&(a.id3Pid=s);break;case 219:if(!n){hi("H.264");break}case 27:-1===a.videoPid&&(a.videoPid=s,a.segmentVideoCodec="avc");break;case 3:case 4:r.mpeg||r.mp3?-1===a.audioPid&&(a.audioPid=s,a.segmentAudioCodec="mp3"):A.log("MPEG audio found, not supported in this browser");break;case 193:if(!n){hi("AC-3");break}case 129:r.ac3?-1===a.audioPid&&(a.audioPid=s,a.segmentAudioCodec="ac3"):A.log("AC-3 audio found, not supported in this browser");break;case 6:if(-1===a.audioPid&&o>0){let n=t+5,i=o;for(;i>2;){if(106===e[n])!0!==r.ac3?A.log("AC-3 audio found, not supported in this browser for now"):(a.audioPid=s,a.segmentAudioCodec="ac3");const t=e[n+1]+2;n+=t,i-=t}}break;case 194:case 135:return di(i,new Error("Unsupported EC-3 in M2TS found")),a;case 36:return di(i,new Error("Unsupported HEVC in M2TS found")),a}t+=o+5}return a}function di(e,t,r){A.warn(`parsing error: ${t.message}`),e.emit(b.ERROR,b.ERROR,{type:w.MEDIA_ERROR,details:E.FRAG_PARSING_ERROR,fatal:!1,levelRetry:r,error:t,reason:t.message})}function hi(e){A.log(`${e} with AES-128-CBC encryption found in unencrypted stream`)}function fi(e){let t,r,n,i,a,s=0;const o=e.data;if(!e||0===e.size)return null;for(;o[0].length<19&&o.length>1;)o[0]=ze(o[0],o[1]),o.splice(1,1);t=o[0];if(1===(t[0]<<16)+(t[1]<<8)+t[2]){if(r=(t[4]<<8)+t[5],r&&r>e.size-6)return null;const l=t[7];192&l&&(i=536870912*(14&t[9])+4194304*(255&t[10])+16384*(254&t[11])+128*(255&t[12])+(254&t[13])/2,64&l?(a=536870912*(14&t[14])+4194304*(255&t[15])+16384*(254&t[16])+128*(255&t[17])+(254&t[18])/2,i-a>54e5&&(A.warn(`${Math.round((i-a)/9e4)}s delta between PTS and DTS, align them`),i=a)):a=i),n=t[8];let c=n+9;if(e.size<=c)return null;e.size-=c;const u=new Uint8Array(e.size);for(let e=0,r=o.length;e<r;e++){t=o[e];let r=t.byteLength;if(c){if(c>r){c-=r;continue}t=t.subarray(c),r-=c,c=0}u.set(t,s),s+=r}return r&&(r-=n+3),{data:u,pts:i,dts:a,len:r}}return null}class pi{static getSilentFrame(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}}}const gi=Math.pow(2,32)-1;class vi{static init(){let e;for(e in vi.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},vi.types)vi.types.hasOwnProperty(e)&&(vi.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);const t=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),r=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);vi.HDLR_TYPES={video:t,audio:r};const n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),i=new Uint8Array([0,0,0,0,0,0,0,0]);vi.STTS=vi.STSC=vi.STCO=i,vi.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),vi.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),vi.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),vi.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const a=new Uint8Array([105,115,111,109]),s=new Uint8Array([97,118,99,49]),o=new Uint8Array([0,0,0,1]);vi.FTYP=vi.box(vi.types.ftyp,a,o,a,s),vi.DINF=vi.box(vi.types.dinf,vi.box(vi.types.dref,n))}static box(e,...t){let r=8,n=t.length;const i=n;for(;n--;)r+=t[n].byteLength;const a=new Uint8Array(r);for(a[0]=r>>24&255,a[1]=r>>16&255,a[2]=r>>8&255,a[3]=255&r,a.set(e,4),n=0,r=8;n<i;n++)a.set(t[n],r),r+=t[n].byteLength;return a}static hdlr(e){return vi.box(vi.types.hdlr,vi.HDLR_TYPES[e])}static mdat(e){return vi.box(vi.types.mdat,e)}static mdhd(e,t){t*=e;const r=Math.floor(t/(gi+1)),n=Math.floor(t%(gi+1));return vi.box(vi.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24,r>>16&255,r>>8&255,255&r,n>>24,n>>16&255,n>>8&255,255&n,85,196,0,0]))}static mdia(e){return vi.box(vi.types.mdia,vi.mdhd(e.timescale,e.duration),vi.hdlr(e.type),vi.minf(e))}static mfhd(e){return vi.box(vi.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))}static minf(e){return"audio"===e.type?vi.box(vi.types.minf,vi.box(vi.types.smhd,vi.SMHD),vi.DINF,vi.stbl(e)):vi.box(vi.types.minf,vi.box(vi.types.vmhd,vi.VMHD),vi.DINF,vi.stbl(e))}static moof(e,t,r){return vi.box(vi.types.moof,vi.mfhd(e),vi.traf(r,t))}static moov(e){let t=e.length;const r=[];for(;t--;)r[t]=vi.trak(e[t]);return vi.box.apply(null,[vi.types.moov,vi.mvhd(e[0].timescale,e[0].duration)].concat(r).concat(vi.mvex(e)))}static mvex(e){let t=e.length;const r=[];for(;t--;)r[t]=vi.trex(e[t]);return vi.box.apply(null,[vi.types.mvex,...r])}static mvhd(e,t){t*=e;const r=Math.floor(t/(gi+1)),n=Math.floor(t%(gi+1)),i=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24,r>>16&255,r>>8&255,255&r,n>>24,n>>16&255,n>>8&255,255&n,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return vi.box(vi.types.mvhd,i)}static sdtp(e){const t=e.samples||[],r=new Uint8Array(4+t.length);let n,i;for(n=0;n<t.length;n++)i=t[n].flags,r[n+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return vi.box(vi.types.sdtp,r)}static stbl(e){return vi.box(vi.types.stbl,vi.stsd(e),vi.box(vi.types.stts,vi.STTS),vi.box(vi.types.stsc,vi.STSC),vi.box(vi.types.stsz,vi.STSZ),vi.box(vi.types.stco,vi.STCO))}static avc1(e){let t,r,n,i=[],a=[];for(t=0;t<e.sps.length;t++)r=e.sps[t],n=r.byteLength,i.push(n>>>8&255),i.push(255&n),i=i.concat(Array.prototype.slice.call(r));for(t=0;t<e.pps.length;t++)r=e.pps[t],n=r.byteLength,a.push(n>>>8&255),a.push(255&n),a=a.concat(Array.prototype.slice.call(r));const s=vi.box(vi.types.avcC,new Uint8Array([1,i[3],i[4],i[5],255,224|e.sps.length].concat(i).concat([e.pps.length]).concat(a))),o=e.width,l=e.height,c=e.pixelRatio[0],u=e.pixelRatio[1];return vi.box(vi.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,o>>8&255,255&o,l>>8&255,255&l,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,vi.box(vi.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),vi.box(vi.types.pasp,new Uint8Array([c>>24,c>>16&255,c>>8&255,255&c,u>>24,u>>16&255,u>>8&255,255&u])))}static esds(e){const t=e.config.length;return new Uint8Array([0,0,0,0,3,23+t,0,1,0,4,15+t,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([t]).concat(e.config).concat([6,1,2]))}static audioStsd(e){const t=e.samplerate;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,t>>8&255,255&t,0,0])}static mp4a(e){return vi.box(vi.types.mp4a,vi.audioStsd(e),vi.box(vi.types.esds,vi.esds(e)))}static mp3(e){return vi.box(vi.types[".mp3"],vi.audioStsd(e))}static ac3(e){return vi.box(vi.types["ac-3"],vi.audioStsd(e),vi.box(vi.types.dac3,e.config))}static stsd(e){return"audio"===e.type?"mp3"===e.segmentCodec&&"mp3"===e.codec?vi.box(vi.types.stsd,vi.STSD,vi.mp3(e)):"ac3"===e.segmentCodec?vi.box(vi.types.stsd,vi.STSD,vi.ac3(e)):vi.box(vi.types.stsd,vi.STSD,vi.mp4a(e)):vi.box(vi.types.stsd,vi.STSD,vi.avc1(e))}static tkhd(e){const t=e.id,r=e.duration*e.timescale,n=e.width,i=e.height,a=Math.floor(r/(gi+1)),s=Math.floor(r%(gi+1));return vi.box(vi.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,0,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,n>>8&255,255&n,0,0,i>>8&255,255&i,0,0]))}static traf(e,t){const r=vi.sdtp(e),n=e.id,i=Math.floor(t/(gi+1)),a=Math.floor(t%(gi+1));return vi.box(vi.types.traf,vi.box(vi.types.tfhd,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n])),vi.box(vi.types.tfdt,new Uint8Array([1,0,0,0,i>>24,i>>16&255,i>>8&255,255&i,a>>24,a>>16&255,a>>8&255,255&a])),vi.trun(e,r.length+16+20+8+16+8+8),r)}static trak(e){return e.duration=e.duration||4294967295,vi.box(vi.types.trak,vi.tkhd(e),vi.mdia(e))}static trex(e){const t=e.id;return vi.box(vi.types.trex,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(e,t){const r=e.samples||[],n=r.length,i=12+16*n,a=new Uint8Array(i);let s,o,l,c,u,d;for(t+=8+i,a.set(["video"===e.type?1:0,0,15,1,n>>>24&255,n>>>16&255,n>>>8&255,255&n,t>>>24&255,t>>>16&255,t>>>8&255,255&t],0),s=0;s<n;s++)o=r[s],l=o.duration,c=o.size,u=o.flags,d=o.cts,a.set([l>>>24&255,l>>>16&255,l>>>8&255,255&l,c>>>24&255,c>>>16&255,c>>>8&255,255&c,u.isLeading<<2|u.dependsOn,u.isDependedOn<<6|u.hasRedundancy<<4|u.paddingValue<<1|u.isNonSync,61440&u.degradPrio,15&u.degradPrio,d>>>24&255,d>>>16&255,d>>>8&255,255&d],12+16*s);return vi.box(vi.types.trun,a)}static initSegment(e){vi.types||vi.init();const t=vi.moov(e);return ze(vi.FTYP,t)}}vi.types=void 0,vi.HDLR_TYPES=void 0,vi.STTS=void 0,vi.STSC=void 0,vi.STCO=void 0,vi.STSZ=void 0,vi.VMHD=void 0,vi.SMHD=void 0,vi.STSD=void 0,vi.FTYP=void 0,vi.DINF=void 0;const mi=9e4;function yi(e,t,r=1,n=!1){const i=e*t*r;return n?Math.round(i):i}function bi(e,t=!1){return yi(e,1e3,1/mi,t)}let wi,Ei=null,Ti=null;class Si{constructor(e,t,r,n=""){if(this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=r,this.ISGenerated=!1,null===Ei){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ei=e?parseInt(e[1]):0}if(null===Ti){const e=navigator.userAgent.match(/Safari\/(\d+)/i);Ti=e?parseInt(e[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){A.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=e}resetNextTimestamp(){A.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){A.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const r=e[0].pts,n=e.reduce(((e,n)=>{let i=n.pts,a=i-e;return a<-4294967296&&(t=!0,i=Oi(i,r),a=i-e),a>0?e:i}),r);return t&&A.debug("PTS rollover detected"),n}remux(e,t,r,n,i,a,s,o){let l,c,u,d,h,f,p=i,g=i;const v=e.pid>-1,m=t.pid>-1,y=t.samples.length,b=e.samples.length>0,w=s&&y>0||y>1;if((!v||b)&&(!m||w)||this.ISGenerated||s){if(this.ISGenerated){var E,T,S,O;const e=this.videoTrackConfig;!e||t.width===e.width&&t.height===e.height&&(null==(E=t.pixelRatio)?void 0:E[0])===(null==(T=e.pixelRatio)?void 0:T[0])&&(null==(S=t.pixelRatio)?void 0:S[1])===(null==(O=e.pixelRatio)?void 0:O[1])||this.resetInitSegment()}else u=this.generateIS(e,t,i,a);const r=this.isVideoContiguous;let n,s=-1;if(w&&(s=function(e){for(let t=0;t<e.length;t++)if(e[t].key)return t;return-1}(t.samples),!r&&this.config.forceKeyFrameOnDiscontinuity))if(f=!0,s>0){A.warn(`[mp4-remuxer]: Dropped ${s} out of ${y} video samples due to a missing keyframe`);const e=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(s),t.dropped+=s,g+=(t.samples[0].pts-e)/t.inputTimeScale,n=g}else-1===s&&(A.warn(`[mp4-remuxer]: No keyframe found out of ${y} video samples`),f=!1);if(this.ISGenerated){if(b&&w){const r=this.getVideoStartPts(t.samples),n=(Oi(e.samples[0].pts,r)-r)/t.inputTimeScale;p+=Math.max(0,n),g+=Math.max(0,-n)}if(b){if(e.samplerate||(A.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),u=this.generateIS(e,t,i,a)),c=this.remuxAudio(e,p,this.isAudioContiguous,a,m||w||o===Dt?g:void 0),w){const n=c?c.endPTS-c.startPTS:0;t.inputTimeScale||(A.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),u=this.generateIS(e,t,i,a)),l=this.remuxVideo(t,g,r,n)}}else w&&(l=this.remuxVideo(t,g,r,0));l&&(l.firstKeyFrame=s,l.independent=-1!==s,l.firstKeyFramePTS=n)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(r.samples.length&&(h=xi(r,i,this._initPTS,this._initDTS)),n.samples.length&&(d=Ai(n,i,this._initPTS))),{audio:c,video:l,initSegment:u,independent:f,text:d,id3:h}}generateIS(e,t,r,n){const i=e.samples,a=t.samples,s=this.typeSupported,o={},l=this._initPTS;let c,u,d,h=!l||n,f="audio/mp4";if(h&&(c=u=1/0),e.config&&i.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":s.mpeg?(f="audio/mpeg",e.codec=""):s.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3"}o.audio={id:"audio",container:f,codec:e.codec,initSegment:"mp3"===e.segmentCodec&&s.mpeg?new Uint8Array(0):vi.initSegment([e]),metadata:{channelCount:e.channelCount}},h&&(d=e.inputTimeScale,l&&d===l.timescale?h=!1:c=u=i[0].pts-Math.round(d*r))}if(t.sps&&t.pps&&a.length){if(t.timescale=t.inputTimeScale,o.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:vi.initSegment([t]),metadata:{width:t.width,height:t.height}},h)if(d=t.inputTimeScale,l&&d===l.timescale)h=!1;else{const e=this.getVideoStartPts(a),t=Math.round(d*r);u=Math.min(u,Oi(a[0].dts,e)-t),c=Math.min(c,e-t)}this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(o).length)return this.ISGenerated=!0,h?(this._initPTS={baseTime:c,timescale:d},this._initDTS={baseTime:u,timescale:d}):c=d=void 0,{tracks:o,initPTS:c,timescale:d}}remuxVideo(e,t,r,n){const i=e.inputTimeScale,a=e.samples,s=[],o=a.length,l=this._initPTS;let c,u,d=this.nextAvcDts,h=8,f=this.videoSampleDuration,p=Number.POSITIVE_INFINITY,v=Number.NEGATIVE_INFINITY,m=!1;if(!r||null===d){const e=t*i,n=a[0].pts-Oi(a[0].dts,a[0].pts);Ei&&null!==d&&Math.abs(e-n-d)<15e3?r=!0:d=e-n}const y=l.baseTime*i/l.timescale;for(let e=0;e<o;e++){const t=a[e];t.pts=Oi(t.pts-y,d),t.dts=Oi(t.dts-y,d),t.dts<a[e>0?e-1:e].dts&&(m=!0)}m&&a.sort((function(e,t){const r=e.dts-t.dts,n=e.pts-t.pts;return r||n})),c=a[0].dts,u=a[a.length-1].dts;const T=u-c,S=T?Math.round(T/(o-1)):f||e.inputTimeScale/30;if(r){const e=c-d,r=e>S,n=e<-1;if((r||n)&&(r?A.warn(`AVC: ${bi(e,!0)} ms (${e}dts) hole between fragments detected at ${t.toFixed(3)}`):A.warn(`AVC: ${bi(-e,!0)} ms (${e}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!n||d>=a[0].pts||Ei)){c=d;const t=a[0].pts-e;if(r)a[0].dts=c,a[0].pts=t;else for(let r=0;r<a.length&&!(a[r].dts>t);r++)a[r].dts-=e,a[r].pts-=e;A.log(`Video: Initial PTS/DTS adjusted: ${bi(t,!0)}/${bi(c,!0)}, delta: ${bi(e,!0)} ms`)}}c=Math.max(0,c);let O=0,x=0,P=c;for(let e=0;e<o;e++){const t=a[e],r=t.units,n=r.length;let i=0;for(let e=0;e<n;e++)i+=r[e].data.length;x+=i,O+=n,t.length=i,t.dts<P?(t.dts=P,P+=S/4|0||1):P=t.dts,p=Math.min(t.pts,p),v=Math.max(t.pts,v)}u=a[o-1].dts;const L=x+4*O+8;let k;try{k=new Uint8Array(L)}catch(e){return void this.observer.emit(b.ERROR,b.ERROR,{type:w.MUX_ERROR,details:E.REMUX_ALLOC_ERROR,fatal:!1,error:e,bytes:L,reason:`fail allocating video mdat ${L}`})}const I=new DataView(k.buffer);I.setUint32(0,L),k.set(vi.types.mdat,4);let R=!1,C=Number.POSITIVE_INFINITY,D=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY,M=Number.NEGATIVE_INFINITY;for(let e=0;e<o;e++){const t=a[e],r=t.units;let l,c=0;for(let e=0,t=r.length;e<t;e++){const t=r[e],n=t.data,i=t.data.byteLength;I.setUint32(h,i),h+=4,k.set(n,h),h+=i,c+=4+i}if(e<o-1)f=a[e+1].dts-t.dts,l=a[e+1].pts-t.pts;else{const r=this.config,s=e>0?t.dts-a[e-1].dts:S;if(l=e>0?t.pts-a[e-1].pts:S,r.stretchShortVideoTrack&&null!==this.nextAudioPts){const e=Math.floor(r.maxBufferHole*i),a=(n?p+n*i:this.nextAudioPts)-t.pts;a>e?(f=a-s,f<0?f=s:R=!0,A.log(`[mp4-remuxer]: It is approximately ${a/90} ms to the next segment; using duration ${f/90} ms for the last video frame.`)):f=s}else f=s}const u=Math.round(t.pts-t.dts);C=Math.min(C,f),_=Math.max(_,f),D=Math.min(D,l),M=Math.max(M,l),s.push(new Pi(t.key,f,c,u))}if(s.length)if(Ei){if(Ei<70){const e=s[0].flags;e.dependsOn=2,e.isNonSync=0}}else if(Ti&&M-D<_-C&&S/_<.025&&0===s[0].cts){A.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let e=c;for(let t=0,r=s.length;t<r;t++){const n=e+s[t].duration,i=e+s[t].cts;if(t<r-1){const e=n+s[t+1].cts;s[t].duration=e-i}else s[t].duration=t?s[t-1].duration:S;s[t].cts=0,e=n}}f=R||!f?S:f,this.nextAvcDts=d=u+f,this.videoSampleDuration=f,this.isVideoContiguous=!0;const F={data1:vi.moof(e.sequenceNumber++,c,g({},e,{samples:s})),data2:k,startPTS:p/i,endPTS:(v+f)/i,startDTS:c/i,endDTS:d/i,type:"video",hasAudio:!1,hasVideo:!0,nb:s.length,dropped:e.dropped};return e.samples=[],e.dropped=0,F}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return 1152;case"ac3":return 1536;default:return 1024}}remuxAudio(e,t,r,n,i){const a=e.inputTimeScale,s=a/(e.samplerate?e.samplerate:a),o=this.getSamplesPerFrame(e),l=o*s,c=this._initPTS,u="mp3"===e.segmentCodec&&this.typeSupported.mpeg,d=[],h=void 0!==i;let f=e.samples,p=u?0:8,v=this.nextAudioPts||-1;const m=t*a,y=c.baseTime*a/c.timescale;if(this.isAudioContiguous=r=r||f.length&&v>0&&(n&&Math.abs(m-v)<9e3||Math.abs(Oi(f[0].pts-y,m)-v)<20*l),f.forEach((function(e){e.pts=Oi(e.pts-y,m)})),!r||v<0){if(f=f.filter((e=>e.pts>=0)),!f.length)return;v=0===i?0:n&&!h?Math.max(0,m):f[0].pts}if("aac"===e.segmentCodec){const t=this.config.maxAudioFramesDrift;for(let r=0,n=v;r<f.length;r++){const i=f[r],s=i.pts,o=s-n,c=Math.abs(1e3*o/a);if(o<=-t*l&&h)0===r&&(A.warn(`Audio frame @ ${(s/a).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*o/a)} ms.`),this.nextAudioPts=v=n=s);else if(o>=t*l&&c<1e4&&h){let t=Math.round(o/l);n=s-t*l,n<0&&(t--,n+=l),0===r&&(this.nextAudioPts=v=n),A.warn(`[mp4-remuxer]: Injecting ${t} audio frame @ ${(n/a).toFixed(3)}s due to ${Math.round(1e3*o/a)} ms gap.`);for(let a=0;a<t;a++){const t=Math.max(n,0);let a=pi.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);a||(A.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),a=i.unit.subarray()),f.splice(r,0,{unit:a,pts:t}),n+=l,r++}}i.pts=n,n+=l}}let T,S=null,O=null,x=0,P=f.length;for(;P--;)x+=f[P].unit.byteLength;for(let t=0,n=f.length;t<n;t++){const n=f[t],i=n.unit;let a=n.pts;if(null!==O){d[t-1].duration=Math.round((a-O)/s)}else{if(r&&"aac"===e.segmentCodec&&(a=v),S=a,!(x>0))return;x+=p;try{T=new Uint8Array(x)}catch(e){return void this.observer.emit(b.ERROR,b.ERROR,{type:w.MUX_ERROR,details:E.REMUX_ALLOC_ERROR,fatal:!1,error:e,bytes:x,reason:`fail allocating audio mdat ${x}`})}if(!u){new DataView(T.buffer).setUint32(0,x),T.set(vi.types.mdat,4)}}T.set(i,p);const l=i.byteLength;p+=l,d.push(new Pi(!0,o,l,0)),O=a}const L=d.length;if(!L)return;const k=d[d.length-1];this.nextAudioPts=v=O+s*k.duration;const I=u?new Uint8Array(0):vi.moof(e.sequenceNumber++,S/s,g({},e,{samples:d}));e.samples=[];const R=S/a,C=v/a,D={data1:I,data2:T,startPTS:R,endPTS:C,startDTS:R,endDTS:C,type:"audio",hasAudio:!0,hasVideo:!1,nb:L};return this.isAudioContiguous=!0,D}remuxEmptyAudio(e,t,r,n){const i=e.inputTimeScale,a=i/(e.samplerate?e.samplerate:i),s=this.nextAudioPts,o=this._initDTS,l=9e4*o.baseTime/o.timescale,c=(null!==s?s:n.startDTS*i)+l,u=n.endDTS*i+l,d=1024*a,h=Math.ceil((u-c)/d),f=pi.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(A.warn("[mp4-remuxer]: remux empty Audio"),!f)return void A.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");const p=[];for(let e=0;e<h;e++){const t=c+e*d;p.push({unit:f,pts:t,dts:t})}return e.samples=p,this.remuxAudio(e,t,r,!1)}}function Oi(e,t){let r;if(null===t)return e;for(r=t<e?-8589934592:8589934592;Math.abs(e-t)>4294967296;)e+=r;return e}function xi(e,t,r,n){const i=e.samples.length;if(!i)return;const a=e.inputTimeScale;for(let s=0;s<i;s++){const i=e.samples[s];i.pts=Oi(i.pts-r.baseTime*a/r.timescale,t*a)/a,i.dts=Oi(i.dts-n.baseTime*a/n.timescale,t*a)/a}const s=e.samples;return e.samples=[],{samples:s}}function Ai(e,t,r){const n=e.samples.length;if(!n)return;const i=e.inputTimeScale;for(let a=0;a<n;a++){const n=e.samples[a];n.pts=Oi(n.pts-r.baseTime*i/r.timescale,t*i)/i}e.samples.sort(((e,t)=>e.pts-t.pts));const a=e.samples;return e.samples=[],{samples:a}}class Pi{constructor(e,t,r,n){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=t,this.size=r,this.cts=n,this.flags={isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:e?2:1,isNonSync:e?0:1}}}function Li(e,t){const r=null==e?void 0:e.codec;if(r&&r.length>4)return r;if(t===D){if("ec-3"===r||"ac-3"===r||"alac"===r)return r;if("fLaC"===r||"Opus"===r){return ft(r,!1)}const e="mp4a.40.5";return A.info(`Parsed audio codec "${r}" or audio object type not handled. Using "${e}"`),e}return A.warn(`Unhandled video codec "${r}"`),"hvc1"===r||"hev1"===r?"hvc1.1.6.L120.90":"av01"===r?"av01.0.04M.08":"avc1.42e01e"}try{wi=self.performance.now.bind(self.performance)}catch(e){A.debug("Unable to use Performance API on this environment"),wi=null==z?void 0:z.Date.now}const ki=[{demux:class{constructor(e,t){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=t}resetTimeStamp(){}resetInitSegment(e,t,r,n){const i=this.videoTrack=Rn("video",1),a=this.audioTrack=Rn("audio",1),s=this.txtTrack=Rn("text",1);if(this.id3Track=Rn("id3",1),this.timeOffset=0,null==e||!e.byteLength)return;const o=Fe(e);if(o.video){const{id:e,timescale:t,codec:r}=o.video;i.id=e,i.timescale=s.timescale=t,i.codec=r}if(o.audio){const{id:e,timescale:t,codec:r}=o.audio;a.id=e,a.timescale=t,a.codec=r}s.id=Pe.text,i.sampleDuration=0,i.duration=a.duration=n}resetContiguity(){this.remainderData=null}static probe(e){return function(e){const t=e.byteLength;for(let r=0;r<t;){const n=Ie(e,r);if(n>8&&109===e[r+4]&&111===e[r+5]&&111===e[r+6]&&102===e[r+7])return!0;r=n>1?r+n:t}return!1}(e)}demux(e,t){this.timeOffset=t;let r=e;const n=this.videoTrack,i=this.txtTrack;if(this.config.progressive){this.remainderData&&(r=ze(this.remainderData,e));const t=function(e){const t={valid:null,remainder:null},r=_e(e,["moof"]);if(r.length<2)return t.remainder=e,t;const n=r[r.length-1];return t.valid=se(e,0,n.byteOffset-8),t.remainder=se(e,n.byteOffset-8),t}(r);this.remainderData=t.remainder,n.samples=t.valid||new Uint8Array}else n.samples=r;const a=this.extractID3Track(n,t);return i.samples=He(t,n),{videoTrack:n,audioTrack:this.audioTrack,id3Track:a,textTrack:this.txtTrack}}flush(){const e=this.timeOffset,t=this.videoTrack,r=this.txtTrack;t.samples=this.remainderData||new Uint8Array,this.remainderData=null;const n=this.extractID3Track(t,this.timeOffset);return r.samples=He(e,t),{videoTrack:t,audioTrack:Rn(),id3Track:n,textTrack:Rn()}}extractID3Track(e,t){const r=this.id3Track;if(e.samples.length){const n=_e(e.samples,["emsg"]);n&&n.forEach((e=>{const n=function(e){const t=e[0];let r="",n="",i=0,a=0,s=0,o=0,l=0,c=0;if(0===t){for(;"\0"!==Le(e.subarray(c,c+1));)r+=Le(e.subarray(c,c+1)),c+=1;for(r+=Le(e.subarray(c,c+1)),c+=1;"\0"!==Le(e.subarray(c,c+1));)n+=Le(e.subarray(c,c+1)),c+=1;n+=Le(e.subarray(c,c+1)),c+=1,i=Ie(e,12),a=Ie(e,16),o=Ie(e,20),l=Ie(e,24),c=28}else if(1===t){c+=4,i=Ie(e,c),c+=4;const t=Ie(e,c);c+=4;const a=Ie(e,c);for(c+=4,s=2**32*t+a,m(s)||(s=Number.MAX_SAFE_INTEGER,A.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),o=Ie(e,c),c+=4,l=Ie(e,c),c+=4;"\0"!==Le(e.subarray(c,c+1));)r+=Le(e.subarray(c,c+1)),c+=1;for(r+=Le(e.subarray(c,c+1)),c+=1;"\0"!==Le(e.subarray(c,c+1));)n+=Le(e.subarray(c,c+1)),c+=1;n+=Le(e.subarray(c,c+1)),c+=1}return{schemeIdUri:r,value:n,timeScale:i,presentationTime:s,presentationTimeDelta:a,eventDuration:o,id:l,payload:e.subarray(c,e.byteLength)}}(e);if(Jn.test(n.schemeIdUri)){const e=v(n.presentationTime)?n.presentationTime/n.timeScale:t+n.presentationTimeDelta/n.timeScale;let i=4294967295===n.eventDuration?Number.POSITIVE_INFINITY:n.eventDuration/n.timeScale;i<=.001&&(i=Number.POSITIVE_INFINITY);const a=n.payload;r.samples.push({data:a,len:a.byteLength,dts:e,pts:e,type:Vt,duration:i})}}))}return r}demuxSampleAes(e,t,r){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){}},remux:class{constructor(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null}destroy(){}resetTimeStamp(e){this.initPTS=e,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(e,t,r,n){this.audioCodec=t,this.videoCodec=r,this.generateInitSegment(function(e,t){if(!e||!t)return e;const r=t.keyId;r&&t.isCommonEncryption&&_e(e,["moov","trak"]).forEach((e=>{const t=_e(e,["mdia","minf","stbl","stsd"])[0].subarray(8);let n=_e(t,["enca"]);const i=n.length>0;i||(n=_e(t,["encv"])),n.forEach((e=>{_e(i?e.subarray(28):e.subarray(78),["sinf"]).forEach((e=>{const t=$e(e);if(t){const e=t.subarray(8,24);e.some((e=>0!==e))||(A.log(`[eme] Patching keyId in 'enc${i?"a":"v"}>sinf>>tenc' box: ${Oe.hexDump(e)} -> ${Oe.hexDump(r)}`),t.set(r,8))}}))}))}));return e}(e,n)),this.emitInitSegment=!0}generateInitSegment(e){let{audioCodec:t,videoCodec:r}=this;if(null==e||!e.byteLength)return this.initTracks=void 0,void(this.initData=void 0);const n=this.initData=Fe(e);n.audio&&(t=Li(n.audio,D)),n.video&&(r=Li(n.video,_));const i={};n.audio&&n.video?i.audiovideo={container:"video/mp4",codec:t+","+r,initSegment:e,id:"main"}:n.audio?i.audio={container:"audio/mp4",codec:t,initSegment:e,id:"audio"}:n.video?i.video={container:"video/mp4",codec:r,initSegment:e,id:"main"}:A.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=i}remux(e,t,r,n,i,a){var s,o;let{initPTS:l,lastEndTime:c}=this;const u={audio:void 0,video:void 0,text:n,id3:r,initSegment:void 0};v(c)||(c=this.lastEndTime=i||0);const d=t.samples;if(null==d||!d.length)return u;const h={initPTS:void 0,timescale:1};let f=this.initData;if(null!=(s=f)&&s.length||(this.generateInitSegment(d),f=this.initData),null==(o=f)||!o.length)return A.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),u;this.emitInitSegment&&(h.tracks=this.initTracks,this.emitInitSegment=!1);const p=function(e,t){let r=0,n=0,i=0;const a=_e(e,["moof","traf"]);for(let e=0;e<a.length;e++){const s=a[e],o=_e(s,["tfhd"])[0],l=t[Ie(o,4)];if(!l)continue;const c=l.default,u=Ie(o,0)|(null==c?void 0:c.flags);let d=null==c?void 0:c.duration;8&u&&(d=Ie(o,2&u?12:8));const h=l.timescale||9e4,f=_e(s,["trun"]);for(let e=0;e<f.length;e++)r=Ge(f[e]),!r&&d&&(r=d*Ie(f[e],4)),l.type===_?n+=r/h:l.type===D&&(i+=r/h)}if(0===n&&0===i){let t=1/0,r=0,n=0;const i=_e(e,["sidx"]);for(let e=0;e<i.length;e++){const a=Me(i[e]);if(null!=a&&a.references){t=Math.min(t,a.earliestPresentationTime/a.timescale);const e=a.references.reduce(((e,t)=>e+t.info.duration||0),0);r=Math.max(r,e+a.earliestPresentationTime/a.timescale),n=r-t}}if(n&&v(n))return n}return n||i}(d,f),g=function(e,t){return _e(t,["moof","traf"]).reduce(((t,r)=>{const n=_e(r,["tfdt"])[0],i=n[0],a=_e(r,["tfhd"]).reduce(((t,r)=>{const a=Ie(r,4),s=e[a];if(s){let e=Ie(n,4);if(1===i){if(e===xe)return A.warn("[mp4-demuxer]: Ignoring assumed invali
2d signed 64-bit track fragment decode time"),t;e*=xe+1,e+=Ie(n,8)}const r=e/(s.timescale||9e4);if(v(r)&&(null===t||r<t))return r}return t}),null);return null!==a&&v(a)&&(null===t||a<t)?a:t}),null)}(f,d),m=null===g?i:g;(function(e,t,r,n){if(null===e)return!0;const i=Math.max(n,1),a=t-e.baseTime/e.timescale;return Math.abs(a-r)>i}(l,m,i,p)||h.timescale!==l.timescale&&a)&&(h.initPTS=m-i,l&&1===l.timescale&&A.warn("Adjusting initPTS by "+(h.initPTS-l.baseTime)),this.initPTS=l={baseTime:h.initPTS,timescale:1});const y=e?m-l.baseTime/l.timescale:c,b=y+p;!function(e,t,r){_e(t,["moof","traf"]).forEach((t=>{_e(t,["tfhd"]).forEach((n=>{const i=Ie(n,4),a=e[i];if(!a)return;const s=a.timescale||9e4;_e(t,["tfdt"]).forEach((e=>{const t=e[0],n=r*s;if(n){let r=Ie(e,4);if(0===t)r-=n,r=Math.max(r,0),De(e,4,r);else{r*=Math.pow(2,32),r+=Ie(e,8),r-=n,r=Math.max(r,0);const t=Math.floor(r/(xe+1)),i=Math.floor(r%(xe+1));De(e,4,t),De(e,8,i)}}}))}))}))}(f,d,l.baseTime/l.timescale),p>0?this.lastEndTime=b:(A.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const w=!!f.audio,E=!!f.video;let T="";w&&(T+="audio"),E&&(T+="video");const S={data1:d,startPTS:y,startDTS:y,endPTS:b,endDTS:b,type:T,hasAudio:w,hasVideo:E,nb:1,dropped:0};return u.audio="audio"===S.type?S:void 0,u.video="audio"!==S.type?S:void 0,u.initSegment=h,u.id3=xi(r,i,l,l),n.samples.length&&(u.text=Ai(n,i,l)),u}}},{demux:oi,remux:Si},{demux:class extends Cn{constructor(e,t){super(),this.observer=void 0,this.config=void 0,this.observer=e,this.config=t}resetInitSegment(e,t,r,n){super.resetInitSegment(e,t,r,n),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:t,duration:n,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;const t=ce(e,0);let r=(null==t?void 0:t.length)||0;if(Qn(e,r))return!1;for(let t=e.length;r<t;r++)if(jn(e,r))return A.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return function(e,t){return function(e,t){return t+5<e.length}(e,t)&&_n(e,t)&&Fn(e,t)<=e.length-t}(e,t)}appendFrame(e,t,r){Un(e,this.observer,t,r,e.manifestCodec);const n=$n(e,t,r,this.basePTS,this.frameIndex);if(n&&0===n.missing)return n}},remux:Si},{demux:class extends Cn{resetInitSegment(e,t,r,n){super.resetInitSegment(e,t,r,n),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:t,duration:n,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;const t=ce(e,0);let r=(null==t?void 0:t.length)||0;if(t&&11===e[r]&&119===e[r+1]&&void 0!==he(t)&&Zn(e,r)<=16)return!1;for(let t=e.length;r<t;r++)if(Qn(e,r))return A.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return function(e,t){return Wn(e,t)&&4<=e.length-t}(e,t)}appendFrame(e,t,r){if(null!==this.basePTS)return Yn(e,t,r,this.basePTS,this.frameIndex)}},remux:Si}];ki.splice(2,0,{demux:ei,remux:Si});class Ii{constructor(e,t,r,n,i){this.async=!1,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=e,this.typeSupported=t,this.config=r,this.vendor=n,this.id=i}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,r,n){const i=r.transmuxing;i.executeStart=wi();let a=new Uint8Array(e);const{currentTransmuxState:s,transmuxConfig:o}=this;n&&(this.currentTransmuxState=n);const{contiguous:l,discontinuity:c,trackSwitch:u,accurateTimeOffset:d,timeOffset:h,initSegmentChange:f}=n||s,{audioCodec:p,videoCodec:g,defaultInitPts:v,duration:m,initSegmentData:y}=o,T=function(e,t){let r=null;e.byteLength>0&&null!=(null==t?void 0:t.key)&&null!==t.iv&&null!=t.method&&(r=t);return r}(a,t);if(T&&"AES-128"===T.method){const e=this.getDecrypter();if(!e.isSync())return this.decryptionPromise=e.webCryptoDecrypt(a,T.key.buffer,T.iv.buffer).then((e=>{const t=this.push(e,null,r);return this.decryptionPromise=null,t})),this.decryptionPromise;{let t=e.softwareDecrypt(a,T.key.buffer,T.iv.buffer);if(r.part>-1&&(t=e.flush()),!t)return i.executeEnd=wi(),Ri(r);a=new Uint8Array(t)}}const S=this.needsProbing(c,u);if(S){const e=this.configureTransmuxer(a);if(e)return A.warn(`[transmuxer] ${e.message}`),this.observer.emit(b.ERROR,b.ERROR,{type:w.MEDIA_ERROR,details:E.FRAG_PARSING_ERROR,fatal:!1,error:e,reason:e.message}),i.executeEnd=wi(),Ri(r)}(c||u||f||S)&&this.resetInitSegment(y,p,g,m,t),(c||f||S)&&this.resetInitialTimestamp(v),l||this.resetContiguity();const O=this.transmux(a,T,h,d,r),x=this.currentTransmuxState;return x.contiguous=!0,x.discontinuity=!1,x.trackSwitch=!1,i.executeEnd=wi(),O}flush(e){const t=e.transmuxing;t.executeStart=wi();const{decrypter:r,currentTransmuxState:n,decryptionPromise:i}=this;if(i)return i.then((()=>this.flush(e)));const a=[],{timeOffset:s}=n;if(r){const t=r.flush();t&&a.push(this.push(t,null,e))}const{demuxer:o,remuxer:l}=this;if(!o||!l)return t.executeEnd=wi(),[Ri(e)];const c=o.flush(s);return Ci(c)?c.then((t=>(this.flushRemux(a,t,e),a))):(this.flushRemux(a,c,e),a)}flushRemux(e,t,r){const{audioTrack:n,videoTrack:i,id3Track:a,textTrack:s}
vendor: 5,290 bytes, line 2
2=t,{accurateTimeOffset:o,timeOffset:l}=this.currentTransmuxState;A.log(`[transmuxer.ts]: Flushed fragment ${r.sn}${r.part>-1?" p: "+r.part:""} of level ${r.level}`);const c=this.remuxer.remux(n,i,a,s,l,o,!0,this.id);e.push({remuxResult:c,chunkMeta:r}),r.transmuxing.executeEnd=wi()}resetInitialTimestamp(e){const{demuxer:t,remuxer:r}=this;t&&r&&(t.resetTimeStamp(e),r.resetTimeStamp(e))}resetContiguity(){const{demuxer:e,remuxer:t}=this;e&&t&&(e.resetContiguity(),t.resetNextTimestamp())}resetInitSegment(e,t,r,n,i){const{demuxer:a,remuxer:s}=this;a&&s&&(a.resetInitSegment(e,t,r,n),s.resetInitSegment(e,t,r,i))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,r,n,i){let a;return a=t&&"SAMPLE-AES"===t.method?this.transmuxSampleAes(e,t,r,n,i):this.transmuxUnencrypted(e,r,n,i),a}transmuxUnencrypted(e,t,r,n){const{audioTrack:i,videoTrack:a,id3Track:s,textTrack:o}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(i,a,s,o,t,r,!1,this.id),chunkMeta:n}}transmuxSampleAes(e,t,r,n,i){return this.demuxer.demuxSampleAes(e,t,r).then((e=>({remuxResult:this.remuxer.remux(e.audioTrack,e.videoTrack,e.id3Track,e.textTrack,r,n,!1,this.id),chunkMeta:i})))}configureTransmuxer(e){const{config:t,observer:r,typeSupported:n,vendor:i}=this;let a;for(let t=0,r=ki.length;t<r;t++){var s;if(null!=(s=ki[t].demux)&&s.probe(e)){a=ki[t];break}}if(!a)return new Error("Failed to find demuxer by probing fragment data");const o=this.demuxer,l=this.remuxer,c=a.remux,u=a.demux;l&&l instanceof c||(this.remuxer=new c(r,t,n,i)),o&&o instanceof u||(this.demuxer=new u(r,t,n),this.probe=u.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new gn(this.config)),e}}const Ri=e=>({remuxResult:{},chunkMeta:e});function Ci(e){return"then"in e&&e.then instanceof Function}class Di{constructor(e,t,r,n,i){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=e,this.videoCodec=t,this.initSegmentData=r,this.duration=n,this.defaultInitPts=i||null}}class _i{constructor(e,t,r,n,i,a){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=e,this.contiguous=t,this.accurateTimeOffset=r,this.trackSwitch=n,this.timeOffset=i,this.initSegmentChange=a}}var Mi={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,s){if("function"!=typeof n)throw new TypeError("The listener must be a function");var o=new i(n,a||e,s),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],o]:e._events[l].push(o):(e._events[l]=o,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function o(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),o.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},o.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,s=new Array(a);i<a;i++)s[i]=n[i].fn;return s},o.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},o.prototype.emit=function(e,t,n,i,a,s){var o=r?r+e:e;if(!this._events[o])return!1;var l,c,u=this._events[o],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,i),!0;case 5:return u.fn.call(u.context,t,n,i,a),!0;case 6:return u.fn.call(u.context,t,n,i,a,s),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,i);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},o.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},o.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},o.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn!==t||i&&!o.once||n&&o.context!==n||s(this,a);else{for(var l=0,c=[],u=o.length;l<u;l++)(o[l].fn!==t||i&&!o[l].once||n&&o[l].context!==n)&&c.push(o[l]);c.length?this._events[a]=1===c.length?c[0]:c:s(this,a)}return this},o.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new n,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=r,o.EventEmitter=o,e.exports=o}(Mi);
vendor: 20,485 bytes, line 2
2var Fi=n(Mi.exports);class Ni{constructor(e,t,r,n){this.error=null,this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0;const i=e.config;this.hls=e,this.id=t,this.useWorker=!!i.enableWorker,this.onTransmuxComplete=r,this.onFlush=n;const a=(e,t)=>{(t=t||{}).frag=this.frag,t.id=this.id,e===b.ERROR&&(this.error=t.error),this.hls.trigger(e,t)};this.observer=new Fi,this.observer.on(b.FRAG_DECRYPTED,a),this.observer.on(b.ERROR,a);const s=it(i.preferManagedMediaSource)||{isTypeSupported:()=>!1},o={mpeg:s.isTypeSupported("audio/mpeg"),mp3:s.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:s.isTypeSupported('audio/mp4; codecs="ac-3"')};if(this.useWorker&&"undefined"!=typeof Worker){if(i.workerPath||"function"==typeof __HLS_WORKER_BUNDLE__){try{i.workerPath?(A.log(`loading Web Worker ${i.workerPath} for "${t}"`),this.workerContext=function(e){const t=new self.URL(e,self.location.href).href;return{worker:new self.Worker(t),scriptURL:t}}(i.workerPath)):(A.log(`injecting Web Worker for "${t}"`),this.workerContext=function(){const e=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),t=self.URL.createObjectURL(e);return{worker:new self.Worker(t),objectURL:t}}()),this.onwmsg=e=>this.onWorkerMessage(e);const{worker:e}=this.workerContext;e.addEventListener("message",this.onwmsg),e.onerror=e=>{const r=new Error(`${e.message} (${e.filename}:${e.lineno})`);i.enableWorker=!1,A.warn(`Error in "${t}" Web Worker, fallback to inline`),this.hls.trigger(b.ERROR,{type:w.OTHER_ERROR,details:E.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:r})},e.postMessage({cmd:"init",typeSupported:o,vendor:"",id:t,config:JSON.stringify(i)})}catch(e){A.warn(`Error setting up "${t}" Web Worker, fallback to inline`,e),this.resetWorker(),this.error=null,this.transmuxer=new Ii(this.observer,o,i,"",t)}return}}this.transmuxer=new Ii(this.observer,o,i,"",t)}resetWorker(){if(this.workerContext){const{worker:e,objectURL:t}=this.workerContext;t&&self.URL.revokeObjectURL(t),e.removeEventListener("message",this.onwmsg),e.onerror=null,e.terminate(),this.workerContext=null}}destroy(){if(this.workerContext)this.resetWorker(),this.onwmsg=void 0;else{const e=this.transmuxer;e&&(e.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.observer=null,this.hls=null}push(e,t,r,n,i,a,s,o,l,c){var u,d;l.transmuxing.start=self.performance.now();const{transmuxer:h}=this,f=a?a.start:i.start,p=i.decryptdata,g=this.frag,v=!(g&&i.cc===g.cc),m=!(g&&l.level===g.level),y=g?l.sn-g.sn:-1,b=this.part?l.part-this.part.index:-1,w=0===y&&l.id>1&&l.id===(null==g?void 0:g.stats.chunkCount),E=!m&&(1===y||0===y&&(1===b||w&&b<=0)),T=self.performance.now();(m||y||0===i.stats.parsing.start)&&(i.stats.parsing.start=T),!a||!b&&E||(a.stats.parsing.start=T);const S=!(g&&(null==(u=i.initSegment)?void 0:u.url)===(null==(d=g.initSegment)?void 0:d.url)),O=new _i(v,E,o,m,f,S);if(!E||v||S){A.log(`[transmuxer-interface, ${i.type}]: Starting new transmux session for sn: ${l.sn} p: ${l.part} level: ${l.level} id: ${l.id}\n discontinuity: ${v}\n trackSwitch: ${m}\n contiguous: ${E}\n accurateTimeOffset: ${o}\n timeOffset: ${f}\n initSegmentChange: ${S}`);const e=new Di(r,n,t,s,c);this.configureTransmuxer(e)}if(this.frag=i,this.part=a,this.workerContext)this.workerContext.worker.postMessage({cmd:"demux",data:e,decryptdata:p,chunkMeta:l,state:O},e instanceof ArrayBuffer?[e]:[]);else if(h){const t=h.push(e,p,l,O);Ci(t)?(h.async=!0,t.then((e=>{this.handleTransmuxComplete(e)})).catch((e=>{this.transmuxerError(e,l,"transmuxer-interface push error")}))):(h.async=!1,this.handleTransmuxComplete(t))}}flush(e){e.transmuxing.start=self.performance.now();const{transmuxer:t}=this;if(this.workerContext)this.workerContext.worker.postMessage({cmd:"flush",chunkMeta:e});else if(t){let r=t.flush(e);Ci(r)||t.async?(Ci(r)||(r=Promise.resolve(r)),r.then((t=>{this.handleFlushResult(t,e)})).catch((t=>{this.transmuxerError(t,e,"transmuxer-interface flush error")}))):this.handleFlushResult(r,e)}}transmuxerError(e,t,r){this.hls&&(this.error=e,this.hls.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,fatal:!1,error:e,err:e,reason:r}))}handleFlushResult(e,t){e.forEach((e=>{this.handleTransmuxComplete(e)})),this.onFlush(t)}onWorkerMessage(e){const t=e.data;if(null==t||!t.event)return void A.warn("worker message received with no "+(t?"event name":"data"));const r=this.hls;if(this.hls)switch(t.event){case"init":{var n;const e=null==(n=this.workerContext)?void 0:n.objectURL;e&&self.URL.revokeObjectURL(e);break}case"transmuxComplete":this.handleTransmuxComplete(t.data);break;case"flush":this.onFlush(t.data);break;case"workerLog":A[t.data.logType]&&A[t.data.logType](t.data.message);break;default:t.data=t.data||{},t.data.frag=this.frag,t.data.id=this.id,r.trigger(t.event,t.data)}}configureTransmuxer(e){const{transmuxer:t}=this;this.workerContext?this.workerContext.worker.postMessage({cmd:"configure",config:e}):t&&t.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}function ji(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!Ui(e[r].attrs,t[r].attrs))return!1;return!0}function Ui(e,t,r){const n=e["STABLE-RENDITION-ID"];return n&&!r?n===t["STABLE-RENDITION-ID"]:!(r||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some((r=>e[r]!==t[r]))}function Bi(e,t){return t.label.toLowerCase()===e.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(e.lang||"").toLowerCase())}class $i{constructor(e){this.buffered=void 0;const t=(t,r,n)=>{if((r>>>=0)>n-1)throw new DOMException(`Failed to execute '${t}' on 'TimeRanges': The index provided (${r}) is greater than the maximum bound (${n})`);return e[r][t]};this.buffered={get length(){return e.length},end:r=>t("end",r,e.length),start:r=>t("start",r,e.length)}}}class Gi{constructor(e){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=e}append(e,t,r){const n=this.queues[t];n.push(e),1!==n.length||r||this.executeNext(t)}insertAbort(e,t){this.queues[t].unshift(e),this.executeNext(t)}appendBlocker(e){let t;const r=new Promise((e=>{t=e})),n={execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};return this.append(n,e),r}executeNext(e){const t=this.queues[e];if(t.length){const r=t[0];try{r.execute()}catch(t){A.warn(`[buffer-operation-queue]: Exception executing "${e}" SourceBuffer operation: ${t}`),r.onError(t);const n=this.buffers[e];null!=n&&n.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){this.queues[e].shift(),this.executeNext(e)}current(e){return this.queues[e][0]}}const zi=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;function Hi(e){const t=e.querySelectorAll("source");[].slice.call(t).forEach((t=>{e.removeChild(t)}))}const Vi={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},Ki=e=>String.fromCharCode(Vi[e]||e),Yi=15,qi=100,Wi={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Xi={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Qi={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ji={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Zi=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class ea{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const r="function"==typeof t?t():t;A.log(`${this.time} [${e}] ${r}`)}}}const ta=function(e){const t=[];for(let r=0;r<e.length;r++)t.push(e[r].toString(16));return t};class ra{constructor(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(e){const t=["foreground","underline","italics","background","flash"];for(let r=0;r<t.length;r++){const n=t[r];e.hasOwnProperty(n)&&(this[n]=e[n])}}isDefault(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash}equals(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash}copy(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class na{constructor(){this.uchar=" ",this.penState=new ra}reset(){this.uchar=" ",this.penState.reset()}setChar(e,t){this.uchar=e,this.penState.copy(t)}setPenState(e){this.penState.copy(e)}equals(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)}copy(e){this.uchar=e.uchar,this.penState.copy(e.penState)}isEmpty(){return" "===this.uchar&&this.penState.isDefault()}}class ia{constructor(e){this.chars=[],this.pos=0,this.currPenState=new ra,this.cueStartTime=null,this.logger=void 0;for(let e=0;e<qi;e++)this.chars.push(new na);this.logger=e}equals(e){for(let t=0;t<qi;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<qi;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<qi;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e}setCursor(e){this.pos!==e&&(this.pos=e),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>qi&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=qi)}moveCursor(e){const t=this.pos+e;if(e>1)for(let e=this.pos+1;e<t+1;e++)this.chars[e].setPenState(this.currPenState);this.setCursor(t)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(e){e>=144&&this.backSpace();const t=Ki(e);this.pos>=qi?this.logger.log(0,(()=>"Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!")):(this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1))}clearFromPos(e){let t;for(t=e;t<qi;t++)this.chars[t].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const e=[];let t=!0;for(let r=0;r<qi;r++){const n=this.chars[r].uchar;" "!==n&&(t=!1),e.push(n)}return t?"":e.join("")}setPenStyles(e){this.currPenState.setStyles(e);this.chars[this.pos].setPenState(this.currPenState)}}class aa{constructor(e){this.rows=[],this.currRow=14,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<Yi;t++)this.rows.push(new ia(e));this.logger=e}reset(){for(let e=0;e<Yi;e++)this.rows[e].clear();this.currRow=14}equals(e){let t=!0;for(let r=0;r<Yi;r++)if(!this.rows[r].equals(e.rows[r])){t=!1;break}return t}copy(e){for(let t=0;t<Yi;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<Yi;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(e){this.rows[this.currRow].insertChar(e)}setPen(e){this.rows[this.currRow].setPenStyles(e)}moveCursor(e){this.rows[this.currRow].moveCursor(e)}setCursor(e){this.logger.log(2,"setCursor: "+e);this.rows[this.currRow].setCursor(e)}setPAC(e){this.logger.log(2,(()=>"pacData = "+JSON.stringify(e)));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let e=0;e<Yi;e++)this.rows[e].clear();const e=this.currRow+1-this.nrRollUpRows,r=this.lastOutputScreen;if(r){const n=r.rows[e].cueStartTime,i=this.logger.time;if(null!==n&&null!==i&&n<i)for(let n=0;n<this.nrRollUpRows;n++)this.rows[t-this.nrRollUpRows+n+1].copy(r.rows[e+n])}}this.currRow=t;const r=this.rows[this.currRow];if(null!==e.indent){const t=e.indent,n=Math.max(t-1,0);r.setCursor(e.indent),e.color=r.chars[n].penState.foreground}const n={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(n)}setBkgData(e){this.logger.log(2,(()=>"bkgData = "+JSON.stringify(e))),this.backSpace(),this.setPen(e),this.insertChar(32)}setRollUpRows(e){this.nrRollUpRows=e}rollUp(){if(null===this.nrRollUpRows)return void this.logger.log(3,"roll_up but nrRollUpRows not set yet");this.logger.log(1,(()=>this.getDisplayText()));const e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),this.logger.log(2,"Rolling up")}getDisplayText(e){e=e||!1;const t=[];let r="",n=-1;for(let r=0;r<Yi;r++){const i=this.rows[r].getTextString();i&&(n=r+1,e?t.push("Row "+n+": '"+i+"'"):t.push(i.trim()))}return t.length>0&&(r=e?"["+t.join(" | ")+"]":t.join("\n")),r}getTextAndFormat(){return this.rows}}class sa{constructor(e,t,r){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new aa(r),this.nonDisplayedMemory=new aa(r),this.lastOutputScreen=new aa(r),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=r}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(e){this.outputFilter=e}setPAC(e){this.writeScreen.setPAC(e)}setBkgData(e){this.writeScreen.setBkgData(e)}setMode(e){e!==this.mode&&(this.mode=e,this.logger.log(2,(()=>"MODE="+e)),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)}insertChars(e){for(let t=0;t<e.length;t++)this.writeScreen.insertChar(e[t]);const t=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,(()=>t+": "+this.writeScreen.getDisplayText(!0))),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(this.logger.log(1,(()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0))),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(e){this.logger.log(2,"RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),"MODE_POP-ON"===this.mode){const e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,(()=>"DISP: "+this.displayedMemory.getDisplayText()))}this.outputDataUpdate(!0)}ccTO(e){this.logger.log(2,"TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}ccMIDROW(e){const t={flash:!1};if(t.underline=e%2==1,t.italics=e>=46,t.italics)t.foreground="white";else{const r=Math.floor(e/2)-16,n=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=n[r]}this.logger.log(2,"MIDROW: "+JSON.stringify(t)),this.writeScreen.setPen(t)}outputDataUpdate(e=!1){const t=this.logger.time;null!==t&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:t):this.cueStartTime=t,this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}class oa{constructor(e,t,r){this.channels=void 0,this.currentChannel=0,this.cmdHistory={a:null,b:null},this.logger=void 0;const n=this.logger=new ea;this.channels=[null,new sa(e,t,n),new sa(e+1,r,n)]}getHandler(e){return this.channels[e].getHandler()}setHandler(e,t){this.channels[e].setHandler(t)}addData(e,t){this.logger.time=e;for(let e=0;e<t.length;e+=2){const r=127&t[e],n=127&t[e+1];let i=!1,a=null;if(0===r&&0===n)continue;this.logger.log(3,(()=>"["+ta([t[e],t[e+1]])+"] -> ("+ta([r,n])+")"));const s=this.cmdHistory;if(r>=16&&r<=31){if(ca(r,n,s)){la(null,null,s),this.logger.log(3,(()=>"Repeated command ("+ta([r,n])+") is dropped"));continue}la(r,n,this.cmdHistory),i=this.parseCmd(r,n),i||(i=this.parseMidrow(r,n)),i||(i=this.parsePAC(r,n)),i||(i=this.parseBackgroundAttributes(r,n))}else la(null,null,s);if(!i&&(a=this.parseChars(r,n),a)){const e=this.currentChannel;if(e&&e>0){this.channels[e].insertChars(a)}else this.logger.log(2,"No channel found yet. TEXT-MODE?")}i||a||this.logger.log(2,(()=>"Couldn't parse cleaned data "+ta([r,n])+" orig: "+ta([t[e],t[e+1]])))}}parseCmd(e,t){if(!((20===e||28===e||21===e||29===e)&&t>=32&&t<=47)&&!((23===e||31===e)&&t>=33&&t<=35))return!1;const r=20===e||21===e||23===e?1:2,n=this.channels[r];return 20===e||21===e||28===e||29===e?32===t?n.ccRCL():33===t?n.ccBS():34===t?n.ccAOF():35===t?n.ccAON():36===t?n.ccDER():37===t?n.ccRU(2):38===t?n.ccRU(3):39===t?n.ccRU(4):40===t?n.ccFON():41===t?n.ccRDC():42===t?n.ccTR():43===t?n.ccRTD():44===t?n.ccEDM():45===t?n.ccCR():46===t?n.ccENM():47===t&&n.ccEOC():n.ccTO(t-32),this.currentChannel=r,!0}parseMidrow(e,t){let r=0;if((17===e||25===e)&&t>=32&&t<=47){if(r=17===e?1:2,r!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const n=this.channels[r];return!!n&&(n.ccMIDROW(t),this.logger.log(3,(()=>"MIDROW ("+ta([e,t])+")")),!0)}return!1}parsePAC(e,t){let r;if(!((e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127)&&!((16===e||24===e)&&t>=64&&t<=95))return!1;const n=e<=23?1:2;r=t>=64&&t<=95?1===n?Wi[e]:Qi[e]:1===n?Xi[e]:Ji[e];const i=this.channels[n];return!!i&&(i.setPAC(this.interpretPAC(r,t)),this.currentChannel=n,!0)}interpretPAC(e,t){let r;const n={color:null,italics:!1,indent:null,underline:!1,row:e};return r=t>95?t-96:t-64,n.underline=!(1&~r),r<=13?n.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(r/2)]:r<=15?(n.italics=!0,n.color="white"):n.indent=4*Math.floor((r-16)/2),n}parseChars(e,t){let r,n=null,i=null;if(e>=25?(r=2,i=e-8):(r=1,i=e),i>=17&&i<=19){let e;e=17===i?t+80:18===i?t+112:t+144,this.logger.log(2,(()=>"Special char '"+Ki(e)+"' in channel "+r)),n=[e]}else e>=32&&e<=127&&(n=0===t?[e]:[e,t]);return n&&this.logger.log(3,(()=>"Char codes = "+ta(n).join(","))),n}
vendor: 13,955 bytes, line 2
2parseBackgroundAttributes(e,t){if(!((16===e||24===e)&&t>=32&&t<=47)&&!((23===e||31===e)&&t>=45&&t<=47))return!1;let r;const n={};16===e||24===e?(r=Math.floor((t-32)/2),n.background=Zi[r],t%2==1&&(n.background=n.background+"_semi")):45===t?n.background="transparent":(n.foreground="black",47===t&&(n.underline=!0));const i=e<=23?1:2;return this.channels[i].setBkgData(n),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}la(null,null,this.cmdHistory)}cueSplitAtTime(e){for(let t=0;t<this.channels.length;t++){const r=this.channels[t];r&&r.cueSplitAtTime(e)}}}function la(e,t,r){r.a=e,r.b=t}function ca(e,t,r){return r.a===e&&r.b===t}class ua{constructor(e,t){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=e,this.trackName=t}dispatchCue(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(e,t,r){(null===this.startTime||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=r,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}var da=function(){if(null!=z&&z.VTTCue)return self.VTTCue;const e=["","lr","rl"],t=["start","middle","end","left","right"];function r(e,t){if("string"!=typeof t)return!1;if(!Array.isArray(e))return!1;const r=t.toLowerCase();return!!~e.indexOf(r)&&r}function n(e){return r(t,e)}function i(e,...t){let r=1;for(;r<arguments.length;r++){const t=arguments[r];for(const r in t)e[r]=t[r]}return e}function a(t,a,s){const o=this,l={enumerable:!0};o.hasBeenReset=!1;let c="",u=!1,d=t,h=a,f=s,p=null,g="",v=!0,m="auto",y="start",b=50,w="middle",E=50,T="middle";Object.defineProperty(o,"id",i({},l,{get:function(){return c},set:function(e){c=""+e}})),Object.defineProperty(o,"pauseOnExit",i({},l,{get:function(){return u},set:function(e){u=!!e}})),Object.defineProperty(o,"startTime",i({},l,{get:function(){return d},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"endTime",i({},l,{get:function(){return h},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");h=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"text",i({},l,{get:function(){return f},set:function(e){f=""+e,this.hasBeenReset=!0}})),Object.defineProperty(o,"region",i({},l,{get:function(){return p},set:function(e){p=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"vertical",i({},l,{get:function(){return g},set:function(t){const n=function(t){return r(e,t)}(t);if(!1===n)throw new SyntaxError("An invalid or illegal string was specified.");g=n,this.hasBeenReset=!0}})),Object.defineProperty(o,"snapToLines",i({},l,{get:function(){return v},set:function(e){v=!!e,this.hasBeenReset=!0}})),Object.defineProperty(o,"line",i({},l,{get:function(){return m},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("An invalid number or illegal string was specified.");m=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"lineAlign",i({},l,{get:function(){return y},set:function(e){const t=n(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"position",i({},l,{get:function(){return b},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"positionAlign",i({},l,{get:function(){return w},set:function(e){const t=n(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"size",i({},l,{get:function(){return E},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");E=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"align",i({},l,{get:function(){return T},set:function(e){const t=n(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");T=t,this.hasBeenReset=!0}})),o.displayState=void 0}return a.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},a}();class ha{decode(e,t){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function fa(e){function t(e,t,r,n){return 3600*(0|e)+60*(0|t)+(0|r)+parseFloat(n||0)}const r=e.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return r?parseFloat(r[2])>59?t(r[2],r[3],0,r[4]):t(r[1],r[2],r[3],r[4]):null}class pa{constructor(){this.values=Object.create(null)}set(e,t){this.get(e)||""===t||(this.values[e]=t)}get(e,t,r){return r?this.has(e)?this.values[e]:t[r]:this.has(e)?this.values[e]:t}has(e){return e in this.values}alt(e,t,r){for(let n=0;n<r.length;++n)if(t===r[n]){this.set(e,t);break}}integer(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))}percent(e,t){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(t)){const r=parseFloat(t);if(r>=0&&r<=100)return this.set(e,r),!0}return!1}}function ga(e,t,r,n){const i=n?e.split(n):[e];for(const e in i){if("string"!=typeof i[e])continue;const n=i[e].split(r);if(2!==n.length)continue;t(n[0],n[1])}}const va=new da(0,0,""),ma="middle"===va.align?"middle":"center";function ya(e,t,r){const n=e;function i(){const t=fa(e);if(null===t)throw new Error("Malformed timestamp: "+n);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function a(){e=e.replace(/^\s+/,"")}if(a(),t.startTime=i(),a(),"--\x3e"!==e.slice(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);e=e.slice(3),a(),t.endTime=i(),a(),function(e,t){const n=new pa;ga(e,(function(e,t){let i;switch(e){case"region":for(let i=r.length-1;i>=0;i--)if(r[i].id===t){n.set(e,r[i].region);break}break;case"vertical":n.alt(e,t,["rl","lr"]);break;case"line":i=t.split(","),n.integer(e,i[0]),n.percent(e,i[0])&&n.set("snapToLines",!1),n.alt(e,i[0],["auto"]),2===i.length&&n.alt("lineAlign",i[1],["start",ma,"end"]);break;case"position":i=t.split(","),n.percent(e,i[0]),2===i.length&&n.alt("positionAlign",i[1],["start",ma,"end","line-left","line-right","auto"]);break;case"size":n.percent(e,t);break;case"align":n.alt(e,t,["start",ma,"end","left","right"])}}),/:/,/\s/),t.region=n.get("region",null),t.vertical=n.get("vertical","");let i=n.get("line","auto");"auto"===i&&-1===va.line&&(i=-1),t.line=i,t.lineAlign=n.get("lineAlign","start"),t.snapToLines=n.get("snapToLines",!0),t.size=n.get("size",100),t.align=n.get("align",ma);let a=n.get("position","auto");"auto"===a&&50===va.position&&(a="start"===t.align||"left"===t.align?0:"end"===t.align||"right"===t.align?100:50),t.position=a}(e,t)}function ba(e){return e.replace(/<br(?: \/)?>/gi,"\n")}class wa{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new ha,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(e){const t=this;function r(){let e=t.buffer,r=0;for(e=ba(e);r<e.length&&"\r"!==e[r]&&"\n"!==e[r];)++r;const n=e.slice(0,r);return"\r"===e[r]&&++r,"\n"===e[r]&&++r,t.buffer=e.slice(r),n}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{let e="";if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;e=r();const n=e.match(/^()?WEBVTT([ \t].*)?$/);if(null==n||!n[0])throw new Error("Malformed WebVTT signature.");t.state="HEADER"}let n=!1;for(;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(n?n=!1:e=r(),t.state){case"HEADER":/:/.test(e)?ga(e,(function(e,t){}),/:/):e||(t.state="ID");continue;case"NOTE":e||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(e)){t.state="NOTE";break}if(!e)continue;if(t.cue=new da(0,0,""),t.state="CUE",-1===e.indexOf("--\x3e")){t.cue.id=e;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{ya(e,t.cue,t.regionList)}catch(e){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const r=-1!==e.indexOf("--\x3e");if(!e||r&&(n=!0)){t.oncue&&t.cue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}if(null===t.cue)continue;t.cue.text&&(t.cue.text+="\n"),t.cue.text+=e}continue;case"BADCUE":e||(t.state="ID")}}}catch(e){"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this}flush(){const e=this;try{if((e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state||"BADWEBVTT"===e.state)throw new Error("Malformed WebVTT signature.")}catch(t){e.onparsingerror&&e.onparsingerror(t)}return e.onflush&&e.onflush(),this}}const Ea=/\r\n|\n\r|\n|\r/g,Ta=function(e,t,r=0){return e.slice(r,r+t.length)===t},Sa=function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0).toString()};function Oa(e,t,r){return Sa(e.toString())+Sa(t.toString())+Sa(r)}function xa(e,t,r,n,i,a,s){const o=new wa,l=Ee(new Uint8Array(e)).trim().replace(Ea,"\n").split("\n"),c=[],u=t?function(e,t=1){return yi(e,mi,1/t)}(t.baseTime,t.timescale):0;let d,h="00:00.000",f=0,p=0,g=!0;o.oncue=function(e){const a=r[n];let s=r.ccOffset;const o=(f-u)/9e4;if(null!=a&&a.new&&(void 0!==p?s=r.ccOffset=a.start:function(e,t,r){let n=e[t],i=e[n.prevCC];if(!i||!i.new&&n.new)return e.ccOffset=e.presentationOffset=n.start,void(n.new=!1);for(;null!=(a=i)&&a.new;){var a;e.ccOffset+=n.start-i.start,n.new=!1,n=i,i=e[n.prevCC]}e.presentationOffset=r}(r,n,o)),o){if(!t)return void(d=new Error("Missing initPTS for VTT MPEGTS"));s=o-r.presentationOffset}const l=e.endTime-e.startTime,h=Oi(9e4*(e.startTime+s-p),9e4*i)/9e4;e.startTime=Math.max(h,0),e.endTime=Math.max(h+l,0);const g=e.text.trim();e.text=decodeURIComponent(encodeURIComponent(g)),e.id||(e.id=Oa(e.startTime,e.endTime,g)),e.endTime>0&&c.push(e)},o.onparsingerror=function(e){d=e},o.onflush=function(){d?s(d):a(c)},l.forEach((e=>{if(g){if(Ta(e,"X-TIMESTAMP-MAP=")){g=!1,e.slice(16).split(",").forEach((e=>{Ta(e,"LOCAL:")?h=e.slice(6):Ta(e,"MPEGTS:")&&(f=parseInt(e.slice(7)))}));try{p=function(e){let t=parseInt(e.slice(-3));const r=parseInt(e.slice(-6,-4)),n=parseInt(e.slice(-9,-7)),i=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!(v(t)&&v(r)&&v(n)&&v(i)))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*r,t+=6e4*n,t+=36e5*i,t}(h)/1e3}catch(e){d=e}return}""===e&&(g=!1)}o.parse(e+"\n")})),o.flush()}const Aa="stpp.ttml.im1t",Pa=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,La=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,ka={left:"start",center:"center",right:"end",start:"start",end:"end"};function Ia(e,t,r,n){const i=_e(new Uint8Array(e),["mdat"]);if(0===i.length)return void n(new Error("Could not parse IMSC1 mdat"));const a=i.map((e=>Ee(e))),s=function(e,t,r=1,n=!1){return yi(e,t,1/r,n)}(t.baseTime,1,t.timescale);try{a.forEach((e=>r(function(e,t){const r=(new DOMParser).parseFromString(e,"text/xml"),n=r.getElementsByTagName("tt")[0];if(!n)throw new Error("Invalid ttml");const i={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},a=Object.keys(i).reduce(((e,t)=>(e[t]=n.getAttribute(`ttp:${t}`)||i[t],e)),{}),s="preserve"!==n.getAttribute("xml:space"),o=Ca(Ra(n,"styling","style")),l=Ca(Ra(n,"layout","region")),c=Ra(n,"body","[begin]");return[].map.call(c,(e=>{const r=Da(e,s);if(!r||!e.hasAttribute("begin"))return null;const n=Fa(e.getAttribute("begin"),a),i=Fa(e.getAttribute("dur"),a);let c=Fa(e.getAttribute("end"),a);if(null===n)throw Ma(e);if(null===c){if(null===i)throw Ma(e);c=n+i}const u=new da(n-t,c-t,r);u.id=Oa(u.startTime,u.endTime,u.text);const d=function(e,t,r){const n="http://www.w3.org/ns/ttml#styling";let i=null;const a=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],s=null!=e&&e.hasAttribute("style")?e.getAttribute("style"):null;s&&r.hasOwnProperty(s)&&(i=r[s]);return a.reduce(((r,a)=>{const s=_a(t,n,a)||_a(e,n,a)||_a(i,n,a);return s&&(r[a]=s),r}),{})}(l[e.getAttribute("region")],o[e.getAttribute("style")],o),{textAlign:h}=d;if(h){const e=ka[h];e&&(u.lineAlign=e),u.align=h}return g(u,d),u})).filter((e=>null!==e))}(e,s))))}catch(e){n(e)}}function Ra(e,t,r){const n=e.getElementsByTagName(t)[0];return n?[].slice.call(n.querySelectorAll(r)):[]}function Ca(e){return e.reduce(((e,t)=>{const r=t.getAttribute("xml:id");return r&&(e[r]=t),e}),{})}function Da(e,t){return[].slice.call(e.childNodes).reduce(((e,r,n)=>{var i;return"br"===r.nodeName&&n?e+"\n":null!=(i=r.childNodes)&&i.length?Da(r,t):t?e+r.textContent.trim().replace(/\s+/g," "):e+r.textContent}),"")}function _a(e,t,r){return e&&e.hasAttributeNS(t,r)?e.getAttributeNS(t,r):null}function Ma(e){return new Error(`Could not parse ttml timestamp ${e}`)}function Fa(e,t){if(!e)return null;let r=fa(e);return null===r&&(Pa.test(e)?r=function(e,t){const r=Pa.exec(e),n=(0|r[4])+(0|r[5])/t.subFrameRate;return 3600*(0|r[1])+60*(0|r[2])+(0|r[3])+n/t.frameRate}(e,t):La.test(e)&&(r=function(e,t){const r=La.exec(e),n=Number(r[1]);switch(r[2]){case"h":return 3600*n;case"m":return 60*n;case"ms":return 1e3*n;case"f":return n/t.frameRate;case"t":return n/t.tickRate}return n}(e,t))),r}function Na(e){return e.characteristics&&/transcribes-spoken-dialog/gi.test(e.characteristics)&&/describes-music-and-sound/gi.test(e.characteristics)?"captions":"subtitles"}function ja(e,t){return!!e&&e.kind===Na(t)&&Bi(t,e)}class Ua{constructor(e){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=e,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(e){this.streamController=e}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:e}=this;e.on(b.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(b.MEDIA_ATTA
vendor: 2,588 bytes, line 2
2CHING,this.onMediaAttaching,this),e.on(b.MANIFEST_PARSED,this.onManifestParsed,this),e.on(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(b.BUFFER_CODECS,this.onBufferCodecs,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(b.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(b.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(b.MANIFEST_PARSED,this.onManifestParsed,this),e.off(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(b.BUFFER_CODECS,this.onBufferCodecs,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(e,t){const r=this.hls.levels[t.droppedLevel];this.isLevelAllowed(r)&&this.restrictedLevels.push({bitrate:r.bitrate,height:r.height,width:r.width})}onMediaAttaching(e,t){this.media=t.media instanceof HTMLVideoElement?t.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(e,t){const r=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,r.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onLevelsUpdated(e,t){this.timer&&v(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onMediaDetaching(){this.stopCapping()}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0)return void(this.clientRect=null);const e=this.hls.levels;if(e.length){const t=this.hls,r=this.getMaxLevel(e.length-1);r!==this.autoLevelCapping&&A.log(`Setting autoLevelCapping to ${r}: ${e[r].height}p@${e[r].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=r,t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}getMaxLevel(e){const t=this.hls.levels;if(!t.length)return-1;const r=t.filter(((t,r)=>this.isLevelAllowed(t)&&r<=e));return this.clientRect=null,Ua.getMaxLevelByMediaSize(r,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const e=this.media,t={width:0,height:0};if(e){const r=e.getBoundingClientRect();t.width=r.width,t.height=r.height,t.width||t.height||(t.width=r.right-r.left||e.
vendor: 4,341 bytes, line 2
2width||0,t.height=r.bottom-r.top||e.height||0)}return this.clientRect=t,t}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let e=1;if(!this.hls.config.ignoreDevicePixelRatio)try{e=self.devicePixelRatio}catch(e){}return e}isLevelAllowed(e){return!this.restrictedLevels.some((t=>e.bitrate===t.bitrate&&e.width===t.width&&e.height===t.height))}static getMaxLevelByMediaSize(e,t,r){if(null==e||!e.length)return-1;let n=e.length-1;const i=Math.max(t,r);for(let t=0;t<e.length;t+=1){const r=e[t];if((r.width>=i||r.height>=i)&&(a=r,!(s=e[t+1])||a.width!==s.width||a.height!==s.height)){n=t;break}}var a,s;return n}}const Ba="[eme]";class $a{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=$a.CDMCleanupPromise?[$a.CDMCleanupPromise]:[],this.debug=A.debug.bind(A,Ba),this.log=A.log.bind(A,Ba),this.warn=A.warn.bind(A,Ba),this.error=A.error.bind(A,Ba),this.onMediaEncrypted=e=>{const{initDataType:t,initData:r}=e,n=`"${e.type}" event: init data type: "${t}"`;if(this.debug(n),null!==r){if(!this.keyFormatPromise){let e=Object.keys(this.keySystemAccessPromises);e.length||(e=re(this.config));const t=e.map(te).filter((e=>!!e));this.keyFormatPromise=this.getKeyFormatPromise(t)}this.keyFormatPromise.then((i=>{const a=W(i);let s,o;if("sinf"===t){if(a!==H.FAIRPLAY)return void this.warn(`Ignoring unexpected "${e.type}" event with init data type: "${t}" for selected key-system ${a}`);const i=Le(new Uint8Array(r));try{const e=$e(B(JSON.parse(i).sinf));if(!e)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");s=e.subarray(8,24),o=H.FAIRPLAY}catch(e){return void this.warn(`${n} Failed to parse sinf: ${e}`)}}else{if(a!==H.WIDEVINE&&a!==H.PLAYREADY)return void this.warn(`Ignoring unexpected "${e.type}" event with init data type: "${t}" for selected key-system ${a}`);const i=function(e){const t=[];if(e instanceof ArrayBuffer){const r=e.byteLength;let n=0;for(;n+32<r;){const r=We(new DataView(e,n));t.push(r),n+=r.size}}return t}(r),l=i.filter((e=>!!e.systemId&&ee(e.systemId)===a));l.length>1&&this.warn(`${n} Using first of ${l.length} pssh found for selected key-system ${a}`);const c=l[0];if(!c)return void(0===i.length||i.some((e=>!e.systemId))?this.warn(`${n} contains incomplete or invalid pssh data`):this.log(`ignoring ${n} for ${i.map((e=>ee(e.systemId))).join(",")} pssh data in favor of playlist keys`));if(o=ee(c.systemId),0===c.version&&c.data)if(o===H.WIDEVINE){const e=c.data.length-22;s=c.data.subarray(e,e+16)}else o===H.PLAYREADY&&(s=ae(c.data))}if(!o||!s)return void this.log(`Unable to handle ${n} with key-system ${a}`);const l=Oe.hexDump(s),{keyIdToKeySessionPromise:c,mediaKeySessions:u}=this;let d=c[l];for(let e=0;e<u.length;e++){const n=u[e],i=n.decryptdata;if(!i.keyId)continue;const a=Oe.hexDump(i.keyId);if(l===a||-1!==i.uri.replace(/-/g,"").indexOf(l)){if(d=c[a],i.pssh)break;delete c[a],i.pssh=new Uint8Array(r),i.keyId=s,d=c[l]=d.then((()=>this.generateRequestWithPreferredKeySession(n,t,r,"encrypted-event-key-match"))),d.catch((e=>this.handleError(e)));break}}if(!d){if(o!==a)return void this.log(`Ignoring "${n}" with ${o} init data for selected key-system ${a}`);d=c[l]=this.getKeySystemSelectionPromise([o]).then((({keySystem:e,mediaKeys:n})=>{var i;this.throwIfDestroyed();const a=new Qe("ISO-23001-7",l,null!=(i=te(e))?i:"");return a.pssh=new Uint8Array(r),a.keyId=s,this.attemptSetMediaKeys(e,n).then((()=>{this.throwIfDestroyed();const i=this.createMediaKeySessionContext({decryptdata:a,keySystem:e,mediaKeys:n});return this.generateRequestWithPreferredKeySession(i,t,r,"encrypted-event-no-match")}))})),d.catch((e=>this.handleError(e)))}}))}},this.onWaitingForKey=e=>{this.log(`"${e.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){this.unregisterListeners(),this.onMediaDetached();const e=this.config;e.requestMediaKeySystemAccessFunc=null,e.licenseXhrSetup=e.licenseResponseCallback=void 0,e.drmSystems=e.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}
vendor: 2,358 bytes, line 2
2registerListeners(){this.hls.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(b.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(b.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(b.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(b.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(b.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(b.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:r}=this.config,n=t[e];return n?n.licenseUrl:e===H.WIDEVINE&&r?r:void 0}getLicenseServerUrlOrThrow(e){const t=this.getLicenseServerUrl(e);if(void 0===t)throw new Error(`no license server URL configured for key-system "${e}"`);return t}getServerCertificateUrl(e){const{drmSystems:t}=this.config,r=t[e];if(r)return r.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,r=(e,t,r)=>!!e&&r.indexOf(e)===t,n=t.map((e=>e.audioCodec)).filter(r),i=t.map((e=>e.videoCodec)).filter(r);return n.length+i.length===0&&i.push("avc1.42e01e"),new Promise(((t,r)=>{const a=e=>{const s=e.shift();this.getMediaKeysPromise(s,n,i).then((e=>t({keySystem:s,mediaKeys:e}))).catch((t=>{e.length?a(e):r(t instanceof Ga?t:new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_NO_ACCESS,error:t,fatal:!0},t.message))}))};a(e)}))}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:r}=this.config;if("function"!=typeof r){let e=`Configured requestMediaKeySystemAccess is not a function ${r}`;return null===ne&&"http:"===self.location.protocol&&(e=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(e))}return r(e,t)}getMediaKeysPromise(e,t,r){const n=function(e,t,r,n){let i;switch(e){case H.FAIRPLAY:i=["cenc","sinf"];break;case H.WIDEVINE:case H.PLAYREADY:i=["cenc"];break;case H.CLEARKEY:i=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${e}`)}return function(e,t,r,n){return[{initDataTypes:e,persistentState:n.persistentState||"optional",distinctiveIdentifier:n.distinctiveIdentifier||"optional",sessionTypes:n.sessionTypes||[n.sessionType||"temporary"],audioCapabilities:t.map((e=>({contentType:`audio/mp4; codecs="${e}
2"`,robustness:n.audioRobustness||"",encryptionScheme:n.audioEncryptionScheme||null}))),videoCapabilities:r.map((e=>({contentType:`video/mp4; codecs="${e}"`,robustness:n.videoRobustness||"",encryptionScheme:n.videoEncryptionScheme||null})))}]}(i,t,r,n)}(e,t,r,this.config.drmSystemOptions),i=this.keySystemAccessPromises[e];let a=null==i?void 0:i.keySystemAccess;if(!a){this.log(`Requesting encrypted media "${e}" key-system access with config: ${JSON.stringify(n)}`),a=this.requestMediaKeySystemAccess(e,n);const t=this.keySystemAccessPromises[e]={keySystemAccess:a};return a.catch((t=>{this.log(`Failed to obtain access to key-system "${e}": ${t}`)})),a.then((r=>{this.log(`Access for key-system "${r.keySystem}" obtained`);const n=this.fetchServerCertificate(e);return this.log(`Create media-keys for "${e}"`),t.mediaKeys=r.createMediaKeys().then((t=>(this.log(`Media-keys created for "${e}"`),n.then((r=>r?this.setMediaKeysServerCertificate(t,e,r):t))))),t.mediaKeys.catch((t=>{this.error(`Failed to create media-keys for "${e}"}: ${t}`)})),t.mediaKeys}))}return a.then((()=>i.mediaKeys))}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:r}){this.log(`Creating key-system session "${t}" keyId: ${Oe.hexDump(e.keyId||[])}`);const n=r.createSession(),i={decryptdata:e,keySystem:t,mediaKeys:r,mediaKeysSession:n,keyStatus:"status-pending"};return this.mediaKeySessions.push(i),i}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const r=this.createMediaKeySessionContext(e),n=this.getKeyIdString(t),i="cenc";this.keyIdToKeySessionPromise[n]=this.generateRequestWithPreferredKeySession(r,i,t.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}getKeyIdString(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(null===e.keyId)throw new Error("keyId is null");return Oe.hexDump(e.keyId)}updateKeySession(e,t){var r;const n=e.mediaKeysSession;return this.log(`Updating key-session "${n.sessionId}" for keyID ${Oe.hexDump((null==(r=e.decryptdata)?void 0:r.keyId)||[])}\n } (data length: ${t?t.byteLength:t})`),n.update(t)}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){return new Promise(((t,r)=>{const n=re(this.config),i=e.map(W).filter((e=>!!e&&-1!==n.indexOf(e)));return this.getKeySystemSelectionPromise(i).then((({keySystem:e})=>{const n=te(e);n?t(n):r(new Error(`Unable to find format for key-system "${e}"`))})).catch(r)}))}loadKey(e){const t=e.keyInfo.decryptdata,r=this.getKeyIdString(t),n=`(keyId: ${r} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${n}`);let i=this.keyIdToKeySessionPromise[r];return i||(i=this.keyIdToKeySessionPromise[r]=this.getKeySystemForKeyPromise(t).then((({keySystem:r,mediaKeys:i})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${n}`),this.attemptSetMediaKeys(r,i).then((()=>{this.throwIfDestroyed();const e=this.createMediaKeySessionContext({keySystem:r,mediaKeys:i,decryptdata:t});return this.generateRequestWithPreferredKeySession(e,"cenc",t.pssh,"playlist-key")}))))),i.catch((e=>this.handleError(e)))),i}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e){this.hls&&(this.error(e.message),e instanceof Ga?this.hls.trigger(b.ERROR,e.data):this.hls.trigger(b.ERROR,{type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0}))}getKeySystemForKeyPromise(e){const t=this.getKeyIdString(e),r=this.keyIdToKeySessionPromise[t];if(!r){const t=W(e.keyFormat),r=t?[t]:re(this.config);return this.attemptKeySystemAccess(r)}return r}getKeySystemSelectionPromise(e){if(e.length||(e=re(this.config)),0===e.length)throw new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${JSON.stringify({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){const r=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const n=Promise.all(r).then((()=>
vendor: 5,310 bytes, line 2
2{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(t)}));return this.setMediaKeysQueue.push(n),n.then((()=>{this.log(`Media-keys set for "${e}"`),r.push(n),this.setMediaKeysQueue=this.setMediaKeysQueue.filter((e=>-1===r.indexOf(e)))}))}generateRequestWithPreferredKeySession(e,t,r,n){var i,a;const s=null==(i=this.config.drmSystems)||null==(a=i[e.keySystem])?void 0:a.generateRequest;if(s)try{const n=s.call(this.hls,t,r,e);if(!n)throw new Error("Invalid response from configured generateRequest filter");t=n.initDataType,r=e.decryptdata.pssh=n.initData?new Uint8Array(n.initData):null}catch(e){var o;if(this.warn(e.message),null!=(o=this.hls)&&o.config.debug)throw e}if(null===r)return this.log(`Skipping key-session request for "${n}" (no initData)`),Promise.resolve(e);const l=this.getKeyIdString(e.decryptdata);this.log(`Generating key-session request for "${n}": ${l} (init data type: ${t} length: ${r?r.byteLength:null})`);const c=new Fi,u=e._onmessage=t=>{const r=e.mediaKeysSession;if(!r)return void c.emit("error",new Error("invalid state"));const{messageType:n,message:i}=t;this.log(`"${n}" message event for session "${r.sessionId}" message size: ${i.byteLength}`),"license-request"===n||"license-renewal"===n?this.renewLicense(e,i).catch((e=>{this.handleError(e),c.emit("error",e)})):"license-release"===n?e.keySystem===H.FAIRPLAY&&(this.updateKeySession(e,G("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${n}"`)},d=e._onkeystatuseschange=t=>{if(!e.mediaKeysSession)return void c.emit("error",new Error("invalid state"));this.onKeyStatusChange(e);const r=e.keyStatus;c.emit("keyStatus",r),"expired"===r&&(this.warn(`${e.keySystem} expired for key ${l}`),this.renewKeySession(e))};e.mediaKeysSession.addEventListener("message",u),e.mediaKeysSession.addEventListener("keystatuseschange",d);const h=new Promise(((e,t)=>{c.on("error",t),c.on("keyStatus",(r=>{r.startsWith("usable")?e():"output-restricted"===r?t(new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):"internal-error"===r?t(new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${r}"`)):"expired"===r?t(new Error("key expired while generating request")):this.warn(`unhandled key status change "${r}"`)}))}));return e.mediaKeysSession.generateRequest(t,r).then((()=>{var t;this.log(`Request generated for key-session "${null==(t=e.mediaKeysSession)?void 0:t.sessionId}" keyId: ${l}`)})).catch((e=>{throw new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_NO_SESSION,error:e,fatal:!1},`Error generating key-session request: ${e}`)})).then((()=>h)).catch((t=>{throw c.removeAllListeners(),this.removeSession(e),t})).then((()=>(c.removeAllListeners(),e)))}onKeyStatusChange(e){e.mediaKeysSession.keyStatuses.forEach(((t,r)=>{this.log(`key status change "${t}" for keyStatuses keyId: ${Oe.hexDump("buffer"in r?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):new Uint8Array(r))} session keyId: ${Oe.hexDump(new Uint8Array(e.decryptdata.keyId||[]))} uri: ${e.decryptdata.uri}`),e.keyStatus=t}))}fetchServerCertificate(e){const t=this.config,r=new(0,t.loader)(t),n=this.getServerCertificateUrl(e);return n?(this.log(`Fetching server certificate for "${e}"`),new Promise(((i,a)=>{const s={responseType:"arraybuffer",url:n},o=t.certLoadPolicy.default,l={loadPolicy:o,timeout:o.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},c={onSuccess:(e,t,r,n)=>{i(e.data)},onError:(t,r,i,o)=>{a(new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:h({url:s.url,data:void 0},t)},`"${e}" certificate request failed (${n}). Status: ${t.code} (${t.text})`))},onTimeout:(t,r,i)=>{a(new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:{url:s.url,data:void 0}},`"${e}" certificate request timed out (${n})`))},onAbort:(e,t,r)=>{a(new Error("aborted"))}};r.load(s,l,c)}))):Promise.resolve()}setMediaKeysServerCertificate(e,t,r){return new Promise(((n,i)=>{e.setServerCertificate(r).then((i=>{this.log(`setServerCertificate ${i?"success":"not supported by CDM"} (${null==r?void 0:r.byteLength}) on "${t}"`),n(e)})).catch((e=>{i(new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:e,fatal:!0},e.message))}))}))}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then((t=>this.updateKeySession(e,new Uint8Array(t)).catch((e=>{throw new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:e,fatal:!0},e.message)}))))}unpackPlayReadyKeyMessage(e,t){const r=String.fromCharCode.apply(null,new Uint16Array(t.buffer));if(!r.includes("PlayReadyKeyMessage"))return e.setRequestHeader("Content-Type","text/xml; charset=utf-8"),t;const n=(new DOMParser).parseFromString(r,"application/xml"),i=n.querySelectorAll("HttpHeader");if(i.length>0){let t;for(let r=0,n=i.length;r<n;r++){var a,s;t=i[r];const n=null==(a=t.querySelector("name"))?void 0:a.textContent,o=null==(s=t.querySelector("value"))?void 0:s.textContent;n&&o&&e.setRequestHeader(n,o)}}const o=n.querySelector("Challenge"),l=null==o?void 0:o.textContent;
vendor: 7,347 bytes, line 2
2if(!l)throw new Error("Cannot find <Challenge> in key message");return G(atob(l))}setupLicenseXHR(e,t,r,n){const i=this.config.licenseXhrSetup;return i?Promise.resolve().then((()=>{if(!r.decryptdata)throw new Error("Key removed");return i.call(this.hls,e,t,r,n)})).catch((a=>{if(!r.decryptdata)throw a;return e.open("POST",t,!0),i.call(this.hls,e,t,r,n)})).then((r=>{e.readyState||e.open("POST",t,!0);return{xhr:e,licenseChallenge:r||n}})):(e.open("POST",t,!0),Promise.resolve({xhr:e,licenseChallenge:n}))}requestLicense(e,t){const r=this.config.keyLoadPolicy.default;return new Promise(((n,i)=>{const a=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${a}`);const s=new XMLHttpRequest;s.responseType="arraybuffer",s.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return i(new Error("invalid state"));if(4===s.readyState)if(200===s.status){this._requestLicenseFailureCount=0;let t=s.response;this.log(`License received ${t instanceof ArrayBuffer?t.byteLength:t}`);const r=this.config.licenseResponseCallback;if(r)try{t=r.call(this.hls,s,a,e)}catch(e){this.error(e)}n(t)}else{const o=r.errorRetry,l=o?o.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>l||s.status>=400&&s.status<500)i(new Ga({type:w.KEY_SYSTEM_ERROR,details:E.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:s,response:{url:a,data:void 0,code:s.status,text:s.statusText}},`License Request XHR failed (${a}). Status: ${s.status} (${s.statusText})`));else{const r=l-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${r} attempts left`),this.requestLicense(e,t).then(n,i)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=s,this.setupLicenseXHR(s,a,e,t).then((({xhr:t,licenseChallenge:r})=>{e.keySystem==H.PLAYREADY&&(r=this.unpackPlayReadyKeyMessage(t,r)),t.send(r)}))}))}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const r=t.media;this.media=r,r.removeEventListener("encrypted",this.onMediaEncrypted),r.removeEventListener("waitingforkey",this.onWaitingForKey),r.addEventListener("encrypted",this.onMediaEncrypted),r.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const e=this.media,t=this.mediaKeySessions;e&&(e.removeEventListener("encrypted",this.onMediaEncrypted),e.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Qe.clearKeyUriToKeyIdMap();const r=t.length;$a.CDMCleanupPromise=Promise.all(t.map((e=>this.removeSession(e))).concat(null==e?void 0:e.setMediaKeys(null).catch((e=>{this.log(`Could not clear media keys: ${e}`)})))).then((()=>{r&&(this.log("finished closing key sessions and clearing media keys"),t.length=0)})).catch((e=>{this.log(`Could not close sessions and clear media keys: ${e}`)}))}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(e,{sessionKeys:t}){if(t&&this.config.emeEnabled&&!this.keyFormatPromise){const e=t.reduce(((e,t)=>(-1===e.indexOf(t.keyFormat)&&e.push(t.keyFormat),e)),[]);this.log(`Selecting key-system from session-keys ${e.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(e)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:r}=e;if(t){this.log(`Remove licenses and keys and close session ${t.sessionId}`),e._onmessage&&(t.removeEventListener("message",e._onmessage),e._onmessage=void 0),e._onkeystatuseschange&&(t.removeEventListener("keystatuseschange",e._onkeystatuseschange),e._onkeystatuseschange=void 0),r&&r.readyState!==XMLHttpRequest.DONE&&r.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const n=this.mediaKeySessions.indexOf(e);return n>-1&&this.mediaKeySessions.splice(n,1),t.remove().catch((e=>{this.log(`Could not remove session: ${e}`)})).then((()=>t.close())).catch((e=>{this.log(`Could not close session: ${e}`)}))}}}$a.CDMCleanupPromise=void 0;class Ga extends Error{constructor(e,t){super(t),this.data=void 0,e.error||(e.error=new Error(t)),this.data=e,e.err=e.error}}var za,Ha,Va;!function(e){e.MANIFEST="m",e.AUDIO="a",e.VIDEO="v",e.MUXED="av",e.INIT="i",e.CAPTION="c",e.TIMED_TEXT="tt",e.KEY="k",e.OTHER="o"}(za||(za={})),function(e){e.DASH="d",e.HLS="h",e.SMOOTH="s",e.OTHER="o"}(Ha||(Ha={})),function(e){e.OBJECT="CMCD-Object",e.REQUEST="CMCD-Request",e.SESSION="CMCD-Session",e.STATUS="CMCD-Status"}(Va||(Va={}));const Ka={[Va.OBJECT]:["br","d","ot","tb"],[Va.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[Va.SESSION]:["cid","pr","sf","sid","st","v"],[Va.STATUS]:["bs","rtp"]};class Ya{constructor(e,t){this.value=void 0,this.params=void 0,Array.isArray(e)&&(e=e.map((e=>e instanceof Ya?e:new Ya(e)))),this.value=e,this.params=t}}class qa{constructor(e){this.description=void 0,this.description=e}}const Wa="Dict";function Xa(e,t,r,n){return new Error(`failed to ${e} "${i=t,Array.isArray(i)?JSON.stringify(i):i instanceof Map?"Map{}":i instanceof Set?"Set{}":"object"==typeof i?JSON.stringify(i):String(i)}" as ${r}`,{cause:n});var i}const Qa="Bare Item",Ja="Boolean",Za="Byte Sequence",es="Decimal",ts="Integer";const rs=/[\x00-\x1f\x7f]+/,ns="Token",is="Key";function as(e,t,r){return Xa("serialize",e,t,r)}function ss(e){if(!1===ArrayBuffer.isView(e))throw as(e,Za);return`:${t=e,btoa(String.fromCharCode(...t))}:`;var t}function os(e){if(function(e){return e<-999999999999999||999999999999999<e}(e))throw as(e,ts);return e.toString()}function ls(e,t){if(e<0)return-ls(-e,t);const r=Math.pow(10,t);if(Math.abs(e*r%1-.5)<Number.EPSILON){const t=Math.floor(e*r);return(t%2==0?t:t+1)/r}return Math.round(e*r)/r}function cs(e){const t=ls(e,3);if(Math.floor(Math.abs(t)).toString().length>12)throw as(e,es);const r=t.toString();return r.includes(".")?r:`${r}.0`}const us="String";function ds(e){const t=(r=e).description||r.toString().slice(7,-1);var r;if(!1===/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t))throw as(t,ns);return t}function hs(e){switch(typeof e){case"number":if(!v(e))throw as(e,Qa);return Number.isInteger(e)?os(e):cs(e);case"string":return function(e){if(rs.test(e))throw as(e,us);return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}(e);case"symbol":return ds(e);case"boolean":return function(e){if("boolean"!=typeof e)throw as(e,Ja);return e?"?1":"?0"}(e);case"object":if(e instanceof Date)return function(e){return`@${os(e.getTime()/1e3)}`}(e);if(e instanceof Uint8Array)return ss(e);if(e instanceof qa)return ds(e);default:throw as(e,Qa)}}function fs(e){if(!1===/^[a-z*][a-z0-9\-_.*]*$/.test(e))throw as(e,is);return e}function ps(e){return null==e?"":Object.entries(e).map((([e,t])=>!0===t?`;${fs(e)}`:`;${fs(e)}=${hs(t)}`)).join("")}function gs(e){return e instanceof Ya?`${hs(e.value)}${ps(e.params)}`:hs(e)}function vs(e,t={whitespace:!0}){if("object"!=typeof e)throw as(e,Wa);const r=e instanceof Map?e.entries():Object.entries(e),n=null!=t&&t.whitespace?" ":"";return Array.from(r).map((([e,t])=>{t instanceof Ya==!1&&(t=new Ya(t));let r=fs(e);var n;return!0===t.value?r+=ps(t.params):(r+="=",Array.isArray(t.value)?r+=`(${(n=t).value.map(gs).join(" ")})${ps(n.params)}`:r+=gs(t)),r})).join(`,${n}`)}const ms=e=>"ot"===e||"sf"===e||"st"===e,ys=e=>"number"==typeof e?v(e):null!=e&&""!==e&&!1!==e;const bs=e=>Math.round(e),ws=e=>100*bs(e/100),Es={br:bs,d:bs,bl:ws,dl:ws,mtp:ws,nor:(e,t)=>
2(null!=t&&t.baseUrl&&(e=function(e,t){const r=new URL(e),n=new URL(t);if(r.origin!==n.origin)return e;const i=r.pathname.split("/").slice(1),a=n.pathname.split("/").slice(1,-1);for(;i[0]===a[0];)i.shift(),a.shift();for(;a.length;)a.shift(),i.unshift("..");return i.join("/")}(e,t.baseUrl)),encodeURIComponent(e)),rtp:ws,tb:bs};function Ts(e,t={}){return e?function(e,t){return vs(e,t)}(function(e,t){const r={};if(null==e||"object"!=typeof e)return r;const n=Object.keys(e).sort(),i=g({},Es,null==t?void 0:t.formatters),a=null==t?void 0:t.filter;return n.forEach((n=>{if(null!=a&&a(n))return;let s=e[n];const o=i[n];o&&(s=o(s,t)),"v"===n&&1===s||"pr"==n&&1===s||ys(s)&&(ms(n)&&"string"==typeof s&&(s=new qa(s)),r[n]=s)})),r}(e,t),g({whitespace:!1},t)):""}function Ss(e,t,r){return g(e,function(e,t={}){if(!e)return{};const r=Object.entries(e),n=Object.entries(Ka).concat(Object.entries((null==t?void 0:t.customHeaderMap)||{})),i=r.reduce(((e,t)=>{var r;const[i,a]=t,s=(null==(r=n.find((e=>e[1].includes(i))))?void 0:r[0])||Va.REQUEST;return null!=e[s]||(e[s]={}),e[s][i]=a,e}),{});return Object.entries(i).reduce(((e,[r,n])=>(e[r]=Ts(n,t),e)),{})}(t,r))}const Os="CMCD";const xs=/CMCD=[^&#]+/;function As(e,t,r){const n=function(e,t={}){if(!e)return"";const r=Ts(e,t);return`${Os}=${encodeURIComponent(r)}`}(t,r);if(!n)return e;if(xs.test(e))return e.replace(xs,n);const i=e.includes("?")?"&":"?";return`${e}${i}${n}`}function Ps(e,t,r,n){e&&Object.keys(t).forEach((i=>{const a=e.filter((e=>e.groupId===i)).map((e=>{const a=g({},e);return a.details=void 0,a.attrs=new k(a.attrs),a.url=a.attrs.URI=Ls(e.url,e.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",r),a.groupId=a.attrs["GROUP-ID"]=t[i],a.attrs["PATHWAY-ID"]=n,a}));e.push(...a)}))}function Ls(e,t,r,n){const{HOST:i,PARAMS:a,[r]:s}=n;let o;t&&(o=null==s?void 0:s[t],o&&(e=o));const l=new self.URL(e);return i&&!o&&(l.host=i),a&&Object.keys(a).sort().forEach((e=>{e&&l.searchParams.set(e,a[e])})),l.href}const ks=/^age:\s*[\d.]+\s*$/im;class Is{constructor(e){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=e&&e.xhrSetup||null,this.stats=new C,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const e=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),e&&(e.onreadystatechange=null,e.onprogress=null,4!==e.readyState&&(this.stats.aborted=!0,e.abort()))}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(e,t,r){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=e,this.config=t,this.callbacks=r,this.loadInternal()}loadInternal(){const{config:e,context:t}=this;if(!e||!t)return;const r=this.loader=new self.XMLHttpRequest,n=this.stats;n.loading.first=0,n.loaded=0,n.aborted=!1;const i=this.xhrSetup;i?Promise.resolve().then((()=>
vendor: 6,551 bytes, line 2
2{if(this.loader===r&&!this.stats.aborted)return i(r,t.url)})).catch((e=>{if(this.loader===r&&!this.stats.aborted)return r.open("GET",t.url,!0),i(r,t.url)})).then((()=>{this.loader!==r||this.stats.aborted||this.openAndSendXhr(r,t,e)})).catch((e=>{this.callbacks.onError({code:r.status,text:e.message},t,r,n)})):this.openAndSendXhr(r,t,e)}openAndSendXhr(e,t,r){e.readyState||e.open("GET",t.url,!0);const n=t.headers,{maxTimeToFirstByteMs:i,maxLoadTimeMs:a}=r.loadPolicy;if(n)for(const t in n)e.setRequestHeader(t,n[t]);t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,self.clearTimeout(this.requestTimeout),r.timeout=i&&v(i)?i:a,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),r.timeout),e.send()}readystatechange(){const{context:e,loader:t,stats:r}=this;if(!e||!t)return;const n=t.readyState,i=this.config;if(!r.aborted&&n>=2&&(0===r.loading.first&&(r.loading.first=Math.max(self.performance.now(),r.loading.start),i.timeout!==i.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),i.timeout=i.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),i.loadPolicy.maxLoadTimeMs-(r.loading.first-r.loading.start)))),4===n)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const n=t.status,a="text"===t.responseType?t.responseText:null;if(n>=200&&n<300){const i=null!=a?a:t.response;if(null!=i){r.loading.end=Math.max(self.performance.now(),r.loading.first);const a="arraybuffer"===t.responseType?i.byteLength:i.length;if(r.loaded=r.total=a,r.bwEstimate=8e3*r.total/(r.loading.end-r.loading.first),!this.callbacks)return;const s=this.callbacks.onProgress;if(s&&s(r,e,i,t),!this.callbacks)return;const o={url:t.responseURL,data:i,code:n};return void this.callbacks.onSuccess(o,r,e,t)}}const s=i.loadPolicy.errorRetry;br(s,r.retry,!1,{url:e.url,data:void 0,code:n})?this.retry(s):(A.error(`${n} while loading ${e.url}`),this.callbacks.onError({code:n,text:t.statusText},e,t,r))}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry;if(br(e,this.stats.retry,!0))this.retry(e);else{var t;A.warn(`timeout while loading ${null==(t=this.context)?void 0:t.url}`);const e=this.callbacks;e&&(this.abortInternal(),e.onTimeout(this.stats,this.context,this.loader))}}retry(e){const{context:t,stats:r}=this;this.retryDelay=mr(e,r.retry),r.retry++,A.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${null==t?void 0:t.url}, retrying ${r.retry}/${e.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(e){const t=this.stats;t.loaded=e.loaded,e.lengthComputable&&(t.total=e.total)}getCacheAge(){let e=null;if(this.loader&&ks.test(this.loader.getAllResponseHeaders())){const t=this.loader.getResponseHeader("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.loader&&new RegExp(`^${e}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(e):null}}const Rs=/(\d+)-(\d+)\/(\d+)/;class Cs{constructor(e){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=e.fetchSetup||Ds,this.controller=new self.AbortController,this.stats=new C}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(e,t,r){const n=this.stats;if(n.loading.start)throw new Error("Loader can only be used once.");n.loading.start=self.performance.now();const i=function(e,t){const r={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(g({},e.headers))};e.rangeEnd&&r.headers.set("Range","bytes="+e.rangeStart+"-"+String(e.rangeEnd-1));return r}(e,this.controller.signal),a=r.onProgress,s="arraybuffer"===e.responseType,o=s?"byteLength":"length",{maxTimeToFirstByteMs:l,maxLoadTimeMs:c}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=r,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=l&&v(l)?l:c,this.requestTimeout=self.setTimeout((()=>{this.abortInternal(),r.onTimeout(n,e,this.response)}),t.timeout),self.fetch(this.request).then((i=>{this.response=this.loader=i;const o=Math.max(self.performance.now(),n.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=c,this.requestTimeout=self.setTimeout((()=>{this.abortInternal(),r.onTimeout(n,e,this.response)}),c-(o-n.loading.start)),!i.ok){const{status:e,statusText:t}=i;throw new _s(t||"fetch, bad network response",e,i)}return n.loading.first=o,n.total=function(e){const t=e.get("Content-Range");if(t){const e=function(e){const t=Rs.exec(e);if(t)return parseInt(t[2])-parseInt(t[1])+1}(t);if(v(e))return e}const r=e.get("Content-Length");if(r)return parseInt(r)}(i.headers)||n.total,a&&v(t.highWaterMark)?this.loadProgressively(i,n,e,t.highWaterMark,a):s?i.arrayBuffer():"json"===e.responseType?i.json():i.text()})).then((i=>{const s=this.response;if(!s)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),n.loading.end=Math.max(self.performance.now(),n.loading.first);const l=i[o];l&&(n.loaded=n.total=l);const c={url:s.url,data:i,code:s.status};a&&!v(t.highWaterMark)&&a(n,e,i,s),r.onSuccess(c,n,e,s)})).catch((t=>{if(self.clearTimeout(this.requestTimeout),n.aborted)return;const i=t&&t.code||0,a=t?t.message:null;r.onError({code:i,text:a},e,t?t.details:null,n)}))}getCacheAge(){let e=null;if(this.response){const t=this.response.headers.get("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.response?this.response.headers.get(e):null}loadProgressively(e,t,r,n=0,i){const a=new In,s=e.body.getReader(),o=()=>s.read().then((s=>{if(s.done)return a.dataLength&&i(t,r,a.flush(),e),Promise.resolve(new ArrayBuffer(0));const l=s.value,c=l.length;return t.loaded+=c,c<n||a.dataLength?(a.push(l),a.dataLength>=n&&i(t,r,a.flush(),e)):i(t,r,l,e),o()})).catch((()=>Promise.reject()));return o()}}
2function Ds(e,t){return new self.Request(e.url,t)}class _s extends Error{constructor(e,t,r){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=r}}const Ms=/\s/,Fs={newCue(e,t,r,n){const i=[];let a,s,o,l,c;const u=self.VTTCue||self.TextTrackCue;for(let h=0;h<n.rows.length;h++)if(a=n.rows[h],o=!0,l=0,c="",!a.isEmpty()){var d;for(let e=0;e<a.chars.length;e++)Ms.test(a.chars[e].uchar)&&o?l++:(c+=a.chars[e].uchar,o=!1);a.cueStartTime=t,t===r&&(r+=1e-4),l>=16?l--:l++;const n=ba(c.trim()),f=Oa(t,r,n);null!=e&&null!=(d=e.cues)&&d.getCueById(f)||(s=new u(t,r,n),s.id=f,s.line=h+1,s.align="left",s.position=10+Math.min(80,10*Math.floor(8*l/32)),i.push(s))}return e&&i.length&&(i.sort(((e,t)=>"auto"===e.line||"auto"===t.line?0:e.line>8&&t.line>8?t.line-e.line:e.line-t.line)),i.forEach((t=>Ut(e,t)))),i}},Ns=h(h({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:6e7,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:Is,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:class{constructor(e){this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.co
vendor: 7,067 bytes, line 2
2decTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.bwEstimator=void 0,this._abandonRulesCheck=()=>{const{fragCurrent:e,partCurrent:t,hls:r}=this,{autoLevelEnabled:n,media:i}=r;if(!e||!i)return;const a=performance.now(),s=t?t.stats:e.stats,o=t?t.duration:e.duration,l=a-s.loading.start,c=r.minAutoLevel;if(s.aborted||s.loaded&&s.loaded===s.total||e.level<=c)return this.clearTimer(),void(this._nextAutoLevel=-1);if(!n||i.paused||!i.playbackRate||!i.readyState)return;const u=r.mainForwardBufferInfo;if(null===u)return;const d=this.bwEstimator.getEstimateTTFB(),h=Math.abs(i.playbackRate);if(l<=Math.max(d,o/(2*h)*1e3))return;const f=u.len/h,p=s.loading.first?s.loading.first-s.loading.start:-1,g=s.loaded&&p>-1,m=this.getBwEstimate(),y=r.levels,w=y[e.level],E=s.total||Math.max(s.loaded,Math.round(o*w.averageBitrate/8));let T=g?l-p:l;T<1&&g&&(T=Math.min(l,8*s.loaded/m));const S=g?1e3*s.loaded/T:0,O=S?(E-s.loaded)/S:8*E/m+d/1e3;if(O<=f)return;const x=S?8*S:m;let P,L=Number.POSITIVE_INFINITY;for(P=e.level-1;P>c;P--){const e=y[P].maxBitrate;if(L=this.getTimeToLoadFrag(d/1e3,x,o*e,!y[P].details),L<f)break}if(L>=O)return;if(L>10*o)return;r.nextLoadLevel=r.nextAutoLevel=P,g?this.bwEstimator.sample(l-Math.min(d,p),s.loaded):this.bwEstimator.sampleTTFB(l);const k=y[P].maxBitrate;this.getBwEstimate()*this.hls.config.abrBandWidthUpFactor>k&&this.resetEstimator(k),this.clearTimer(),A.warn(`[abr] Fragment ${e.sn}${t?" part "+t.index:""} of level ${e.level} is loading too slowly;\n Time to underbuffer: ${f.toFixed(3)} s\n Estimated load time for current fragment: ${O.toFixed(3)} s\n Estimated load time for down switch fragment: ${L.toFixed(3)} s\n TTFB estimate: ${0|p} ms\n Current BW estimate: ${v(m)?0|m:"Unknown"} bps\n New BW estimate: ${0|this.getBwEstimate()} bps\n Switching to level ${P} @ ${0|k} bps`),r.trigger(b.FRAG_LOAD_EMERGENCY_ABORTED,{frag:e,part:t,stats:s})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(A.log(`setting initial bwe to ${e}`),this.hls.config.abrEwmaDefaultEstimate=e),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const e=this.hls.config;return new Dr(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.FRAG_LOADING,this.onFragLoading,this),e.on(b.FRAG_LOADED,this.onFragLoaded,this),e.on(b.FRAG_BUFFERED,this.onFragBuffered,this),e.on(b.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(b.LEVEL_LOADED,this.onLevelLoaded,this),e.on(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(b.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(b.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.FRAG_LOADING,this.onFragLoading,this),e.off(b.FRAG_LOADED,this.onFragLoaded,this),e.off(b.FRAG_BUFFERED,this.onFragBuffered,this),e.off(b.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(b.LEVEL_LOADED,this.onLevelLoaded,this),e.off(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(b.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(b.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(e,t){const r=t.frag;if(!this.ignoreFragment(r)){var n;if(!r.bitrateTest)this.fragCurrent=r,this.partCurrent=null!=(n=t.part)?n:null;this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(e,t){this.clearTimer()}onError(e,t){if(!t.fatal)switch(t.details){case E.BUFFER_ADD_CODEC_ERROR:case E.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case E.FRAG_LOAD_TIMEOUT:{const e=t.frag,{fragCurrent:r,partCurrent:n}=this;if(e&&r&&e.sn===r.sn&&e.level===r.level){const t=performance.now(),r=n?n.stats:e.stats,i=t-r.loading.start,a=r.loading.first?r.loading.first-r.loading.start:-1;if(r.loaded&&a>-1){const e=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(i-Math.min(e,a),r.loaded)}else this.bwEstimator.sampleTTFB(i)}break}}}getTimeToLoadFrag(e,t,r,n){return e+r/t+(n?this.lastLevelLoadSec:0)}onLevelLoaded(e,t){const r=this.hls.config,{loading:n}=t.stats,i=n.end-n.start;v(i)&&(this.lastLevelLoadSec=i/1e3),t.details.live?this.bwEstimator.update(r.abrEwmaSlowLive,r.abrEwmaFastLive):this.bwEstimator.update(r.abrEwmaSlowVoD,r.abrEwmaFastVoD)}onFragLoaded(e,{frag:t,part:r}){const n=r?r.stats:t.stats;if(t.type===Ct&&this.bwEstimator.sampleTTFB(n.loading.first-n.loading.start),!this.ignoreFragment(t)){if(this.clearTimer(),t.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const e=r?r.duration:t.duration,i=this.hls.levels[t.level],a=(i.loaded?i.loaded.bytes:0)+n.loaded,s=(i.loaded?i.loaded.duration:0)+e;i.loaded={bytes:a,duration:s},i.realBitrate=Math.round(8*a/s)}if(t.bitrateTest){const e={stats:n,frag:t,part:r,id:t.type};this.onFragBuffered(b.FRAG_BUFFERED,e),t.bitrateTest=!1}else this.lastLoadedFragLevel=t.level}}onFragBuffered(e,t){const{frag:r,part:n}=t,i=null!=n&&n.stats.loaded?n.stats:r.stats;if(i.aborted)return;if(this.ignoreFragment(r))return;const a=i.parsing.end-i.loading.start-Math.min(i.loading.first-i.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(a,i.loaded),i.bwEstimate=this.getBwEstimate(),r.bitrateTest?this.bitrateTestDelay=a/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==Ct||"initSegment"===e.sn}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:e,minAutoLevel:t}=this.hls,r=this.getBwEstimate(),n=this.hls.config.maxStarvationDelay,i=this.findBestLevel(r,t,e,0,n,1,1);if(i>-1)return i;const a=this.hls.firstLevel,s=Math.min(Math.max(a,t),e);return A.warn(`[abr] Could not find best starting auto level. Defaulting to first in playlist ${a} clamped to ${s}`),s}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const e=this.forcedAutoLevel,t=this.bwEstimator.canEstimate(),r=this.lastLoadedFragLevel>-1;if(!(-1===e||t&&r&&this.nextAutoLevelKey!==this.getAutoLevelKey()))return e;const n=t&&r?this.getNextABRAutoLevel():this.firstAutoLevel;if(-1!==e){const t=this.hls.levels;if(t.length>Math.max(e,n)&&t[e].loadError<=t[n].loadError)return e}return this._nextAutoLevel=n,this.nextAutoLevelKey=this.getAutoLevelKey(),n}getAutoLevelKey(){return`${this.getBwEstimate()}
2_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:r}=this,{maxAutoLevel:n,config:i,minAutoLevel:a}=r,s=t?t.duration:e?e.duration:0,o=this.getBwEstimate(),l=this.getStarvationDelay();let c=i.abrBandWidthFactor,u=i.abrBandWidthUpFactor;if(l){const e=this.findBestLevel(o,a,n,l,0,c,u);if(e>=0)return e}let d=s?Math.min(s,i.maxStarvationDelay):i.maxStarvationDelay;if(!l){const e=this.bitrateTestDelay;if(e){d=(s?Math.min(s,i.maxLoadingDelay):i.maxLoadingDelay)-e,A.info(`[abr] bitrate test took ${Math.round(1e3*e)}ms, set first fragment max fetchDuration to ${Math.round(1e3*d)} ms`),c=u=1}}const h=this.findBestLevel(o,a,n,l,d,c,u);if(A.info(`[abr] ${l?"rebuffering expected":"buffer is empty"}, optimal quality level ${h}`),h>-1)return h;const f=r.levels[a],p=r.levels[r.loadLevel];return(null==f?void 0:f.bitrate)<(null==p?void 0:p.bitrate)?a:r.loadLevel}getStarvationDelay(){const e=this.hls,t=e.media;if(!t)return 1/0;const r=t&&0!==t.playbackRate?Math.abs(t.playbackRate):1,n=e.mainForwardBufferInfo;return(n?n.len:0)/r}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(e,t,r,n,i,a,s){var o;const l=n+i,c=this.lastLoadedFragLevel,u=-1===c?this.hls.firstLevel:c,{fragCurrent:d,partCurrent:h}=this,{levels:f,allAudioTracks:p,loadLevel:g,config:m}=this.hls;if(1===f.length)return 0;const y=f[u],b=!(null==y||null==(o=y.details)||!o.live),w=-1===g||-1===c;let E,T="SDR",S=(null==y?void 0:y.frameRate)||0;const{audioPreference:O,videoPreference:x}=m,P=this.audioTracksByGroup||(this.audioTracksByGroup=function(e){return e.reduce(((e,t)=>{let r=e.groups[t.groupId];r||(r=e.groups[t.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),r.tracks.push(t);const n=t.channels||"2";return r.channels[n]=(r.channels[n]||0)+1,r.hasDefault=r.hasDefault||t.default,r.hasAutoSelect=r.hasAutoSelect||t.autoselect,r.hasDefault&&(e.hasDefaultAudio=!0),r.hasAutoSelect&&(e.hasAutoSelectAudio=!0),e}),{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}(p));if(w){if(-1!==this.firstSelection)return this.firstSelection;const n=this.codecTiers||(this.codecTiers=function(e,t,r,n){return e.slice(r,n+1).reduce(((e,r)=>{if(!r.codecSet)return e;const n=r.audioGroups;let i=e[r.codecSet];i||(e[r.codecSet]=i={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!n,fragmentError:0}),i.minBitrate=Math.min(i.minBitrate,r.bitrate);const a=Math.min(r.height,r.width);return i.minHeight=Math.min(i.minHeight,a),i.minFramerate=Math.min(i.minFramerate,r.frameRate),i.maxScore=Math.max(i.maxScore,r.score),i.fragmentError+=r.fragmentError,i.videoRanges[r.videoRange]=(i.videoRanges[r.videoRange]||0)+1,n&&n.forEach((e=>{if(!e)return;const r=t.groups[e];r&&(i.hasDefaultAudio=i.hasDefaultAudio||t.hasDefaultAudio?r.hasDefault:r.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(r.channels).forEach((e=>{i.channels[e]=(i.channels[e]||0)+r.channels[e]})))})),e}),{})}(f,P,t,r)),i=function(e,t,r,n,i){const a=Object.keys(e),s=null==n?void 0:n.channels,o=null==n?void 0:n.audioCodec,l=s&&2===parseInt(s);let c=!0,u=!1,d=1/0,h=1/0,f=1/0,p=0,g=[];const{preferHDR:m,allowedVideoRanges:y}=jr(t,i);for(let t=a.length;t--;){const r=e[a[t]];c=r.channels[2]>0,d=Math.min(d,r.minHeight),h=Math.min(h,r.minFramerate),f=Math.min(f,r.minBitrate);const n=y.filter((e=>r.videoRanges[e]>0));n.length>0&&(u=!0,g=n)}d=v(d)?d:0,h=v(h)?h:0;const b=Math.max(1080,d),w=Math.max(30,h);return f=v(f)?f:r,r=Math.max(f,r),u||(t=void 0,g=[]),{codecSet:a.reduce(((t,n)=>{const i=e[n];if(n===t)return t;if(i.minBitrate>r)return Ur(n,`min bitrate of ${i.minBitrate} > current estimate of ${r}`),t;if(!i.hasDefaultAudio)return Ur(n,"no renditions with default or auto-select sound found"),t;if(o&&n.indexOf(o.substring(0,4))%5!=0)return Ur(n,`audio codec preference "${o}" not found`),t;if(s&&!l){if(!i.channels[s])return Ur(n,`no renditions with ${s} channel sound found (channels options: ${Object.keys(i.channels)})`),t}else if((!o||l)&&c&&0===i.channels[2])return Ur(n,"no renditions with stereo sound found"),t;return i.minHeight>b?(Ur(n,`min resolution of ${i.minHeight} > maximum of ${b}`),t):i.minFramerate>w?(Ur(n,`min framerate of ${i.minFramerate} > maximum of ${w}`),t):g.some((e=>i.videoRanges[e]>0))?i.maxScore<p?(Ur(n,`max score of ${i.maxScore} < selected max of ${p}`),t):t&&(ut(n)>=ut(t)||i.fragmentError>e[t].fragmentError)?t:(p=i.maxScore,n):(Ur(n,`no variants with VIDEO-RANGE of ${JSON.stringify(g)} found`),t)}),void 0),videoRanges:g,preferHDR:m,minFramerate:h,minBitrate:f}}
vendor: 8,815 bytes, line 2
2(n,T,e,O,x),{codecSet:a,videoRanges:s,minFramerate:o,minBitrate:l,preferHDR:c}=i;E=a,T=c?s[s.length-1]:s[0],S=o,e=Math.max(e,l),A.log(`[abr] picked start tier ${JSON.stringify(i)}`)}else E=null==y?void 0:y.codecSet,T=null==y?void 0:y.videoRange;const L=h?h.duration:d?d.duration:0,k=this.bwEstimator.getEstimateTTFB()/1e3,I=[];for(let o=r;o>=t;o--){var R;const t=f[o],d=o>u;if(!t)continue;if(m.useMediaCapabilities&&!t.supportedResult&&!t.supportedPromise){const r=navigator.mediaCapabilities;"function"==typeof(null==r?void 0:r.decodingInfo)&&Fr(t,P,T,S,e,O)?(t.supportedPromise=Nr(t,P,r),t.supportedPromise.then((e=>{if(!this.hls)return;t.supportedResult=e;const r=this.hls.levels,n=r.indexOf(t);e.error?A.warn(`[abr] MediaCapabilities decodingInfo error: "${e.error}" for level ${n} ${JSON.stringify(e)}`):e.supported||(A.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${n} ${JSON.stringify(e)}`),n>-1&&r.length>1&&(A.log(`[abr] Removing unsupported level ${n}`),this.hls.removeLevel(n)))}))):t.supportedResult=_r}if(E&&t.codecSet!==E||T&&t.videoRange!==T||d&&S>t.frameRate||!d&&S>0&&S<t.frameRate||t.supportedResult&&(null==(R=t.supportedResult.decodingInfoResults)||!R[0].smooth)){I.push(o);continue}const p=t.details,x=(h?null==p?void 0:p.partTarget:null==p?void 0:p.averagetargetduration)||L;let C;C=d?s*e:a*e;const D=L&&n>=2*L&&0===i?f[o].averageBitrate:f[o].maxBitrate,_=this.getTimeToLoadFrag(k,C,D*x,void 0===p);if(C>=D&&(o===c||0===t.loadError&&0===t.fragmentError)&&(_<=k||!v(_)||b&&!this.bitrateTestDelay||_<l)){const e=this.forcedAutoLevel;return o===g||-1!==e&&e===g||(I.length&&A.trace(`[abr] Skipped level(s) ${I.join(",")} of ${r} max with CODECS and VIDEO-RANGE:"${f[I[0]].codecs}" ${f[I[0]].videoRange}; not compatible with "${y.codecs}" ${T}`),A.info(`[abr] switch candidate:${u}->${o} adjustedbw(${Math.round(C)})-bitrate=${Math.round(C-D)} ttfb:${k.toFixed(1)} avgDuration:${x.toFixed(1)} maxFetchDuration:${l.toFixed(1)} fetchDuration:${_.toFixed(1)} firstSelection:${w} codecSet:${E} videoRange:${T} hls.loadLevel:${g}`)),w&&(this.firstSelection=o),o}}return-1}set nextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:r}=this.hls,n=Math.min(Math.max(e,r),t);this._nextAutoLevel!==n&&(this.nextAutoLevelKey="",this._nextAutoLevel=n)}},bufferController:class{constructor(e){this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.appendSource=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this.log=void 0,this.warn=void 0,this.error=void 0,this._onEndStreaming=e=>{this.hls&&this.hls.pauseBuffering()},this._onStartStreaming=e=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=()=>{const{media:e,mediaSource:t}=this;this.log("Media source opened"),e&&(e.removeEventListener("emptied",this._onMediaEmptied),this.updateMediaElementDuration(),this.hls.trigger(b.MEDIA_ATTACHED,{media:e,mediaSource:t})),t&&t.removeEventListener("sourceopen",this._onMediaSourceOpen),this.checkPendingTracks()},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:e,_objectUrl:t}=this;e!==t&&A.error(`Media element src was set while attaching MediaSource (${t} > ${e})`)},this.hls=e;const t="[buffer-controller]";var r;this.appendSource=(r=it(e.config.preferManagedMediaSource),"undefined"!=typeof self&&r===self.ManagedMediaSource),this.log=A.log.bind(A,t),this.warn=A.warn.bind(A,t),this.error=A.error.bind(A,t),this._initSourceBuffer(),this.registerListeners()}hasSourceTypes(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=null,this.hls=null}registerListeners(){const{hls:e}=this;e.on(b.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.MANIFEST_PARSED,this.onManifestParsed,this),e.on(b.BUFFER_RESET,this.onBufferReset,this),e.on(b.BUFFER_APPENDING,this.onBufferAppending,this),e.on(b.BUFFER_CODECS,this.onBufferCodecs,this),e.on(b.BUFFER_EOS,this.onBufferEos,this),e.on(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(b.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(b.FRAG_PARSED,this.onFragParsed,this),e.on(b.FRAG_CHANGED,this.onFragChanged,this)}unregisterListeners(){const{hls:e}=this;e.off(b.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.MANIFEST_PARSED,this.onManifestParsed,this),e.off(b.BUFFER_RESET,this.onBufferReset,this),e.off(b.BUFFER_APPENDING,this.onBufferAppending,this),e.off(b.BUFFER_CODECS,this.onBufferCodecs,this),e.off(b.BUFFER_EOS,this.onBufferEos,this),e.off(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(b.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(b.FRAG_PARSED,this.onFragParsed,this),e.off(b.FRAG_CHANGED,this.onFragChanged,this)}_initSourceBuffer(){this.sourceBuffer={},this.operationQueue=new Gi(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]},this.appendErrors={audio:0,video:0,audiovideo:0},this.lastMpegAudioChunk=null}onManifestLoading(){this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){let r=2;(t.audio&&!t.video||!t.altAudio)&&(r=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=r,this.log(`${this.bufferCodecEventsExpected} bufferCodec event(s) expected`)}onMediaAttaching(e,t){const r=this.media=t.media,n=it(this.appendSource);if(r&&n){var i;const e=this.mediaSource=new n;this.log(`created media source: ${null==(i=e.constructor)?void 0:i.name}`),e.addEventListener("sourceopen",this._onMediaSourceOpen),e.addEventListener("sourceended",this._onMediaSourceEnded),e.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(e.addEventListener("startstreaming",this._onStartStreaming),e.addEventListener("endstreaming",this._onEndStreaming));const t=this._objectUrl=self.URL.createObjectURL(e);if(this.appendSource)try{r.removeAttribute("src");const n=self.ManagedMediaSource;r.disableRemotePlayback=r.disableRemotePlayback||n&&e instanceof n,Hi(r),function(e,t){const r=self.document.createElement("source");r.type="video/mp4",r.src=t,e.appendChild(r)}(r,t),r.load()}catch(e){r.src=t}else r.src=t;r.addEventListener("emptied",this._onMediaEmptied)}}onMediaDetaching(){const{media:e,mediaSource:t,_objectUrl:r}=this;if(t){if(this.log("media source detaching"),"open"===t.readyState)try{t.endOfStream()}catch(e){this.warn(`onMediaDetaching: ${e.message} while calling endOfStream`)}this.onBufferReset(),t.removeEventListener("sourceopen",this._onMediaSourceOpen),t.removeEventListener("sourceended",this._onMediaSourceEnded),t.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.removeEventListener("startstreaming",this._onStartStreaming),t.removeEventListener("endstreaming",this._onEndStreaming)),e&&(e.removeEventListener("emptied",this._onMediaEmptied),r&&self.URL.revokeObjectURL(r),this.mediaSrc===r?(e.removeAttribute("src"),this.appendSource&&Hi(e),e.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(b.MEDIA_DETACHED,void 0)}onBufferReset(){this.getSourceBufferTypes().forEach((e=>{this.resetBuffer(e)})),this._initSourceBuffer(),this.hls.resumeBuffering()}resetBuffer(e){const t=this.sourceBuffer[e];try{var r;if(t)this.removeBufferListeners(e),this.sourceBuffer[e]=void 0,null!=(r=this.mediaSource)&&r.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(t)}catch(t){this.warn(`onBufferReset ${e}`,t)}}onBufferCodecs(e,t){const r=this.getSourceBufferTypes().length,n=Object.keys(t);if(n.forEach((e=>{if(r){const r=this.tracks[e];if(r&&"function"==typeof r.buffer.changeType){var n;const{id:i,codec:a,levelCodec:s,container:o,metadata:l}=t[e],c=pt(r.codec,r.levelCodec),u=null==c?void 0:c.replace(zi,"$1");let d=pt(a,s);const h=null==(n=d)?void 0:n.replace(zi,"$1");if(d&&u!==h){"audio"===e.slice(0,5)&&(d=ft(d,this.appendSource));const t=`${o};codecs=${d}`;this.appendChangeType(e,t),this.log(`switching codec ${c} to ${d}`),this.tracks[e]={buffer:r.buffer,codec:a,container:o,levelCodec:s,metadata:l,id:i}}}}else this.pendingTracks[e]=t[e]})),r)return;const i=Math.max(this.bufferCodecEventsExpected-1,0);this.bufferCodecEventsExpected!==i&&(this.log(`${i}
2 bufferCodec event(s) expected ${n.join(",")}`),this.bufferCodecEventsExpected=i),this.mediaSource&&"open"===this.mediaSource.readyState&&this.checkPendingTracks()}appendChangeType(e,t){const{operationQueue:r}=this,n={execute:()=>{const n=this.sourceBuffer[e];n&&(this.log(`changing ${e} sourceBuffer type to ${t}`),n.changeType(t)),r.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:t=>{this.warn(`Failed to change ${e} SourceBuffer type`,t)}};r.append(n,e,!!this.pendingTracks[e])}onBufferAppending(e,t){const{hls:r,operationQueue:n,tracks:i}=this,{data:a,type:s,frag:o,part:l,chunkMeta:c}=t,u=c.buffering[s],d=self.performance.now();u.start=d;const h=o.stats.buffering,f=l?l.stats.buffering:null;0===h.start&&(h.start=d),f&&0===f.start&&(f.start=d);const p=i.audio;let g=!1;"audio"===s&&"audio/mpeg"===(null==p?void 0:p.container)&&(g=!this.lastMpegAudioChunk||1===c.id||this.lastMpegAudioChunk.sn!==c.sn,this.lastMpegAudioChunk=c);const v=o.start,m={execute:()=>{if(u.executeStart=self.performance.now(),g){const e=this.sourceBuffer[s];if(e){const t=v-e.timestampOffset;Math.abs(t)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${v} (delta: ${t}) sn: ${o.sn})`),e.timestampOffset=v)}}this.appendExecutor(a,s)},onStart:()=>{},onComplete:()=>{const e=self.performance.now();u.executeEnd=u.end=e,0===h.first&&(h.first=e),f&&0===f.first&&(f.first=e);const{sourceBuffer:t}=this,r={};for(const e in t)r[e]=Zr.getBuffered(t[e]);this.appendErrors[s]=0,"audio"===s||"video"===s?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(b.BUFFER_APPENDED,{type:s,frag:o,part:l,chunkMeta:c,parent:o.type,timeRanges:r})},onError:e=>{const t={type:w.MEDIA_ERROR,parent:o.type,details:E.BUFFER_APPEND_ERROR,sourceBufferName:s,frag:o,part:l,chunkMeta:c,error:e,err:e,fatal:!1};if(e.code===DOMException.QUOTA_EXCEEDED_ERR)t.details=E.BUFFER_FULL_ERROR;else{const e=++this.appendErrors[s];t.details=E.BUFFER_APPEND_ERROR,this.warn(`Failed ${e}/${r.config.appendErrorMaxRetry} times to append segment in "${s}" sourceBuffer`),e>=r.config.appendErrorMaxRetry&&(t.fatal=!0)}r.trigger(b.ERROR,t)}};n.append(m,s,!!this.pendingTracks[s])}onBufferFlushing(e,t){const{operationQueue:r}=this,n=e=>({execute:this.removeExecutor.bind(this,e,t.startOffset,t.endOffset),onStart:()=>{},onComplete:()=>{this.hls.trigger(b.BUFFER_FLUSHED,{type:e})},onError:t=>{this.warn(`Failed to remove from ${e} SourceBuffer`,t)}});t.type?r.append(n(t.type),t.type):this.getSourceBufferTypes().forEach((e=>{r.append(n(e),e)}))}onFragParsed(e,t){const{frag:r,part:n}=t,i=[],a=n?n.elementaryStreams:r.elementaryStreams;a[M]?i.push("audiovideo"):(a[D]&&i.push("audio"),a[_]&&i.push("video"));0===i.length&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${r.type} level: ${r.level} sn: ${r.sn}`),this.blockBuffers((()=>{const e=self.performance.now();r.stats.buffering.end=e,n&&(n.stats.buffering.end=e);const t=n?n.stats:r.stats;this.hls.trigger(b.FRAG_BUFFERED,{frag:r,part:n,stats:t,id:r.type})}),i)}onFragChanged(e,t){this.trimBuffers()}onBufferEos(e,t){this.getSourceBufferTypes().reduce(((e,r)=>{const n=this.sourceBuffer[r];return!n||t.type&&t.type!==r||(n.ending=!0,n.ended||(n.ended=!0,this.log(`${r} sourceBuffer now EOS`))),e&&!(n&&!n.ended)}),!0)&&(this.log("Queueing mediaSource.endOfStream()"),this.blockBuffers((()=>{this.getSourceBufferTypes().forEach((e=>{const t=this.sourceBuffer[e];t&&(t.ending=!1)}));const{mediaSource:e}=this;e&&"open"===e.readyState?(this.log("Calling mediaSource.endOfStream()"),e.endOfStream()):e&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${e.readyState}`)})))}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())}trimBuffers(){const{hls:e,details:t,media:r}=this;if(!r||null===t)return;if(!this.getSourceBufferTypes().length)return;const n=e.config,i=r.currentTime,a=t.levelTargetDuration,s=t.live&&null!==n.liveBackBufferLength?n.liveBackBufferLength:n.backBufferLength;if(v(s)&&s>0){const e=Math.max(s,a),t=Math.floor(i/a)*a-e;this.flushBackBuffer(i,a,t)}if(v(n.frontBufferFlushThreshold)&&n.frontBufferFlushThreshold>0){const e=Math.max(n.maxBufferLength,n.frontBufferFlushThreshold),t=Math.max(e,a),r=Math.floor(i/a)*a+t;this.flushFrontBuffer(i,a,r)}}flushBackBuffer(e,t,r){const{details:n,sourceBuffer:i}=this;
vendor: 11,010 bytes, line 2
2this.getSourceBufferTypes().forEach((a=>{const s=i[a];if(s){const i=Zr.getBuffered(s);if(i.length>0&&r>i.start(0)){if(this.hls.trigger(b.BACK_BUFFER_REACHED,{bufferEnd:r}),null!=n&&n.live)this.hls.trigger(b.LIVE_BACK_BUFFER_REACHED,{bufferEnd:r});else if(s.ended&&i.end(i.length-1)-e<2*t)return void this.log(`Cannot flush ${a} back buffer while SourceBuffer is in ended state`);this.hls.trigger(b.BUFFER_FLUSHING,{startOffset:0,endOffset:r,type:a})}}}))}flushFrontBuffer(e,t,r){const{sourceBuffer:n}=this;this.getSourceBufferTypes().forEach((i=>{const a=n[i];if(a){const n=Zr.getBuffered(a),s=n.length;if(s<2)return;const o=n.start(s-1),l=n.end(s-1);if(r>o||e>=o&&e<=l)return;if(a.ended&&e-l<2*t)return void this.log(`Cannot flush ${i} front buffer while SourceBuffer is in ended state`);this.hls.trigger(b.BUFFER_FLUSHING,{startOffset:o,endOffset:1/0,type:i})}}))}updateMediaElementDuration(){if(!this.details||!this.media||!this.mediaSource||"open"!==this.mediaSource.readyState)return;const{details:e,hls:t,media:r,mediaSource:n}=this,i=e.fragments[0].start+e.totalduration,a=r.duration,s=v(n.duration)?n.duration:0;e.live&&t.config.liveDurationInfinity?(n.duration=1/0,this.updateSeekableRange(e)):(i>s&&i>a||!v(a))&&(this.log(`Updating Media Source duration to ${i.toFixed(3)}`),n.duration=i)}updateSeekableRange(e){const t=this.mediaSource,r=e.fragments;if(r.length&&e.live&&null!=t&&t.setLiveSeekableRange){const n=Math.max(0,r[0].start),i=Math.max(n,n+e.totalduration);this.log(`Media Source duration is set to ${t.duration}. Setting seekable range to ${n}-${i}.`),t.setLiveSeekableRange(n,i)}}checkPendingTracks(){const{bufferCodecEventsExpected:e,operationQueue:t,pendingTracks:r}=this,n=Object.keys(r).length;if(n&&(!e||2===n||"audiovideo"in r)){this.createSourceBuffers(r),this.pendingTracks={};const e=this.getSourceBufferTypes();if(e.length)this.hls.trigger(b.BUFFER_CREATED,{tracks:this.tracks}),e.forEach((e=>{t.executeNext(e)}));else{const e=new Error("could not create source buffer for media codec(s)");this.hls.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:e,reason:e.message})}}}createSourceBuffers(e){const{sourceBuffer:t,mediaSource:r}=this;if(!r)throw Error("createSourceBuffers called when mediaSource was null");for(const i in e)if(!t[i]){var n;const a=e[i];if(!a)throw Error(`source buffer exists for track ${i}, however track does not`);let s=-1===(null==(n=a.levelCodec)?void 0:n.indexOf(","))?a.levelCodec:a.codec;s&&"audio"===i.slice(0,5)&&(s=ft(s,this.appendSource));const o=`${a.container};codecs=${s}`;this.log(`creating sourceBuffer(${o})`);try{const e=t[i]=r.addSourceBuffer(o),n=i;this.addBufferListener(n,"updatestart",this._onSBUpdateStart),this.addBufferListener(n,"updateend",this._onSBUpdateEnd),this.addBufferListener(n,"error",this._onSBUpdateError),this.appendSource&&this.addBufferListener(n,"bufferedchange",((e,t)=>{const r=t.removedRanges;null!=r&&r.length&&this.hls.trigger(b.BUFFER_FLUSHED,{type:i})})),this.tracks[i]={buffer:e,codec:s,container:a.container,levelCodec:a.levelCodec,metadata:a.metadata,id:a.id}}catch(e){this.error(`error while trying to add sourceBuffer: ${e.message}`),this.hls.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:e,sourceBufferName:i,mimeType:o})}}}get mediaSrc(){var e,t;const r=(null==(e=this.media)||null==(t=e.querySelector)?void 0:t.call(e,"source"))||this.media;return null==r?void 0:r.src}_onSBUpdateStart(e){const{operationQueue:t}=this;t.current(e).onStart()}_onSBUpdateEnd(e){var t;if("closed"===(null==(t=this.mediaSource)?void 0:t.readyState))return void this.resetBuffer(e);const{operationQueue:r}=this;r.current(e).onComplete(),r.shiftAndExecuteNext(e)}_onSBUpdateError(e,t){var r;const n=new Error(`${e} SourceBuffer error. MediaSource readyState: ${null==(r=this.mediaSource)?void 0:r.readyState}`);this.error(`${n}`,t),this.hls.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:n,fatal:!1});const i=this.operationQueue.current(e);i&&i.onError(n)}removeExecutor(e,t,r){const{media:n,mediaSource:i,operationQueue:a,sourceBuffer:s}=this,o=s[e];if(!n||!i||!o)return this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),void a.shiftAndExecuteNext(e);const l=v(n.duration)?n.duration:1/0,c=v(i.duration)?i.duration:1/0,u=Math.max(0,t),d=Math.min(r,l,c);d>u&&(!o.ending||o.ended)?(o.ended=!1,this.log(`Removing [${u},${d}] from the ${e} SourceBuffer`),o.remove(u,d)):a.shiftAndExecuteNext(e)}appendExecutor(e,t){const r=this.sourceBuffer[t];if(r)r.ended=!1,r.appendBuffer(e);else if(!this.pendingTracks[t])throw new Error(`Attempting to append to the ${t} SourceBuffer, but it does not exist`)}blockBuffers(e,t=this.getSourceBufferTypes()){if(!t.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),void Promise.resolve().then(e);const{operationQueue:r}=this,n=t.map((e=>r.appendBlocker(e)));Promise.all(n).then((()=>{e(),t.forEach((e=>{const t=this.sourceBuffer[e];null!=t&&t.updating||r.shiftAndExecuteNext(e)}))}))}getSourceBufferTypes(){return Object.keys(this.sourceBuffer)}addBufferListener(e,t,r){const n=this.sourceBuffer[e];if(!n)return;const i=r.bind(this,e);this.listeners[e].push({event:t,listener:i}),n.addEventListener(t,i)}removeBufferListeners(e){const t=this.sourceBuffer[e];t&&this.listeners[e].forEach((e=>{t.removeEventListener(e.event,e.listener)}))}},capLevelController:Ua,errorController:class{constructor(e){this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.log=void 0,this.warn=void 0,this.error=void 0,this.hls=e,this.log=A.log.bind(A,"[info]:"),this.warn=A.warn.bind(A,"[warning]:"),this.error=A.error.bind(A,"[error]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(b.ERROR,this.onError,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(b.ERROR,this.onError,this),e.off(b.ERROR,this.onErrorOut,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(null==e?void 0:e.type)===Ct?e.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(e,t){var r,n;if(t.fatal)return;const i=this.hls,a=t.context;switch(t.details){case E.FRAG_LOAD_ERROR:case E.FRAG_LOAD_TIMEOUT:case E.KEY_LOAD_ERROR:case E.KEY_LOAD_TIMEOUT:return void(t.errorAction=this.getFragRetryOrSwitchAction(t));case E.FRAG_PARSING_ERROR:if(null!=(r=t.frag)&&r.gap)return void(t.errorAction={action:Or,flags:Lr});case E.FRAG_GAP:case E.FRAG_DECRYPT_ERROR:return t.errorAction=this.getFragRetryOrSwitchAction(t),void(t.errorAction.action=xr);case E.LEVEL_EMPTY_ERROR:case E.LEVEL_PARSING_ERROR:{var s,o;const e=t.parent===Ct?t.level:i.loadLevel;t.details===E.LEVEL_EMPTY_ERROR&&null!=(s=t.context)&&null!=(o=s.levelDetails)&&o.live?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,e):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,e))}return;case E.LEVEL_LOAD_ERROR:case E.LEVEL_LOAD_TIMEOUT:return void("number"==typeof(null==a?void 0:a.level)&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,a.level)));case E.AUDIO_TRACK_LOAD_ERROR:case E.AUDIO_TRACK_LOAD_TIMEOUT:case E.SUBTITLE_LOAD_ERROR:case E.SUBTITLE_TRACK_LOAD_TIMEOUT:if(a){const e=i.levels[i.loadLevel];if(e&&(a.type===It&&e.hasAudioGroup(a.groupId)||a.type===Rt&&e.hasSubtitleGroup(a.groupId)))return t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.loadLevel),t.errorAction.action=xr,void(t.errorAction.flags=kr)}return;case E.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const e=i.levels[i.loadLevel],r=null==e?void 0:e.attrs["HDCP-LEVEL"];r?t.errorAction={action:xr,flags:Ir,hdcpLevel:r}:this.keySystemError(t)}return;case E.BUFFER_ADD_CODEC_ERROR:case E.REMUX_ALLOC_ERROR:case E.BUFFER_APPEND_ERROR:return void(t.errorAction=this.getLevelSwitchAction(t,null!=(n=t.level)?n:i.loadLevel));case E.INTERNAL_EXCEPTION:case E.BUFFER_APPENDING_ERROR:case E.BUFFER_FULL_ERROR:case E.LEVEL_SWITCH_ERROR:case E.BUFFER_STALLED_ERROR:case E.BUFFER_SEEK_OVER_HOLE:case E.BUFFER_NUDGE_ON_STALL:return void(t.errorAction={action:Or,flags:Lr})}t.type===w.KEY_SYSTEM_ERROR&&this.keySystemError(t)}keySystemError(e){const t=this.getVariantLevelIndex(e.frag);e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,t)}getPlaylistRetryOrSwitchAction(e,t){const r=vr(this.hls.config.playlistLoadPolicy,e),n=this.playlistError++;if(br(r,n,gr(e),e.response))return{action:Pr,flags:Lr,retryConfig:r,retryCount:n};const i=this.getLevelSwitchAction(e,t);return r&&(i.retryConfig=r,i.retryCount=n),i}getFragRetryOrSwitchAction(e){const t=this.hls,r=this.getVariantLevelIndex(e.frag),n=t.levels[r],{fragLoadPolicy:i,keyLoadPolicy:a}=t.config,s=vr(e.details.startsWith("key")?a:i,e),o=t.levels.reduce(((e,t)=>e+t.fragmentError),0);if(n){e.details!==E.FRAG_GAP&&n.fragmentError++;if(br(s,o,gr(e),e.response))return{action:Pr,flags:Lr,retryConfig:s,retryCount:o}}const l=this.getLevelSwitchAction(e,r);return s&&(l.retryConfig=s,l.retryCount=o),l}getLevelSwitchAction(e,t){const r=this.hls;null==t&&(t=r.loadLevel);const n=this.hls.levels[t];if(n){var i,a;const t=e.details;n.loadError++,t===E.BUFFER_APPEND_ERROR&&n.fragmentError++;let l=-1;const{levels:c,loadLevel:u,minAutoLevel:d,maxAutoLevel:h}=r;r.autoLevelEnabled||(r.loadLevel=-1);const f=null==(i=e.frag)?void 0:i.type,p=(f===Dt&&t===E.FRAG_PARSING_ERROR||"audio"===e.sourceBufferName&&(t===E.BUFFER_ADD_CODEC_ERROR||t===E.BUFFER_APPEND_ERROR))&&c.some((({audioCodec:e})=>n.audioCodec!==e)),g="video"===e.sourceBufferName&&(t===E.BUFFER_ADD_CODEC_ERROR||t===E.BUFFER_APPEND_ERROR)&&c.some((({codecSet:e,audioCodec:t})=>n.codecSet!==e&&n.audioCodec===t)),{type:v,groupId:m}=null!=(a=e.context)?a:{};for(let r=c.length;r--;){const i=(r+u)%c.length;if(i!==u&&i>=d&&i<=h&&0===c[i].loadError){var s,o;const r=c[i];if(t===E.FRAG_GAP&&f===Ct&&e.frag){const t=c[i].details;if(t){const r=Er(e.frag,t.fragments,e.frag.start);if(null!=r&&r.gap)continue}}else{if(v===It&&r.hasAudioGroup(m)||v===Rt&&r.hasSubtitleGroup(m))continue;if(f===Dt&&null!=(s=n.audioGroups)&&s.some((e=>r.hasAudioGroup(e)))||f===_t&&null!=(o=n.subtitleGroups)&&o.some((e=>r.hasSubtitleGroup(e)))||p&&n.audioCodec===r.audioCodec||!p&&n.audioCodec!==r.audioCodec||g&&n.codecSet===r.codecSet)continue}l=i;break}}if(l>-1&&r.loadLevel!==l)return e.levelRetry=!0,this.playlistError=0,{action:xr,flags:Lr,nextAutoLevel:l}}return{action:xr,flags:kr}}onErrorOut(e,t){var r;switch(null==(r=t.errorAction)?void 0:r.action){case Or:break;case xr:this.sendAlternateToPenaltyBox(t),t.errorAction.resolved||t.details===E.FRAG_GAP?/MediaSource readyState: ended/.test(t.error.message)&&(this.warn(`MediaSource ended after "${t.sourceBufferName}
2" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError()):t.fatal=!0}t.fatal&&this.hls.stopLoad()}sendAlternateToPenaltyBox(e){const t=this.hls,r=e.errorAction;if(!r)return;const{flags:n,hdcpLevel:i,nextAutoLevel:a}=r;switch(n){case Lr:this.switchLevel(e,a);break;case Ir:i&&(t.maxHdcpLevel=Jt[Jt.indexOf(i)-1],r.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`)}r.resolved||this.switchLevel(e,a)}switchLevel(e,t){void 0!==t&&e.errorAction&&(this.warn(`switching to level ${t} after ${e.details}`),this.hls.nextAutoLevel=t,e.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel)}},fpsController:class{constructor(e){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=e,this.registerListeners()}setStreamController(e){this.streamController=e}registerListeners(){this.hls.on(b.MEDIA_ATTACHING,this.onMediaAttaching,this)}unregisterListeners(){this.hls.off(b.MEDIA_ATTACHING,this.onMediaAttaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(e,t){const r=this.hls.config;if(r.capLevelOnFPSDrop){const e=t.media instanceof self.HTMLVideoElement?t.media:null;this.media=e,e&&"function"==typeof e.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),r.fpsDroppedMonitoringPeriod)}}checkFPS(e,t,r){const n=performance.now();if(t){if(this.lastTime){const e=n-this.lastTime,i=r-this.lastDroppedFrames,a=t-this.lastDecodedFrames,s=1e3*i/e,o=this.hls;if(o.trigger(b.FPS_DROP,{currentDropped:i,currentDecoded:a,totalDroppedFrames:r}),s>0&&i>o.config.fpsDroppedMonitoringThreshold*a){let e=o.currentLevel;A.warn("drop FPS ratio greater than max allowed value for currentLevel: "+e),e>0&&(-1===o.autoLevelCapping||o.autoLevelCapping>=e)&&(e-=1,o.trigger(b.FPS_DROP_LEVEL_CAPPING,{level:e,droppedLevel:o.currentLevel}),o.autoLevelCapping=e,this.streamController.nextLevelSwitch())}}this.lastTime=n,this.lastDroppedFrames=r,this.lastDecodedFrames=t}}checkFPSInterval(){const e=this.media;if(e)if(this.isVideoPlaybackQualityAvailable){const t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}},stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:ne,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,useMediaCapabilities:!0,certLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null}},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},{cueHandler:Fs,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}),{},{subtitleStreamController:class extends kn{constructor(e,t,r){super(e,t,r,"[subtitle-stream-controller]",_t),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}_registerListeners(){const{hls:e}=this;
vendor: 14,632 bytes, line 2
2e.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.LEVEL_LOADED,this.onLevelLoaded,this),e.on(b.ERROR,this.onError,this),e.on(b.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(b.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(b.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(b.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(b.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.LEVEL_LOADED,this.onLevelLoaded,this),e.off(b.ERROR,this.onError,this),e.off(b.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(b.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(b.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(b.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(b.FRAG_BUFFERED,this.onFragBuffered,this)}startLoad(e){this.stopLoad(),this.state=yn,this.setInterval(500),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}onManifestLoading(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()}onMediaDetaching(){this.tracksBuffered=[],super.onMediaDetaching()}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:r,success:n}=t;if(this.fragPrevious=r,this.state=yn,!n)return;const i=this.tracksBuffered[this.currentTrackId];if(!i)return;let a;const s=r.start;for(let e=0;e<i.length;e++)if(s>=i[e].start&&s<=i[e].end){a=i[e];break}const o=r.start+r.duration;a?a.end=o:(a={start:s,end:o},i.push(a)),this.fragmentTracker.fragBuffered(r),this.fragBufferedComplete(r,null)}onBufferFlushing(e,t){const{startOffset:r,endOffset:n}=t;if(0===r&&n!==Number.POSITIVE_INFINITY){const e=n-1;if(e<=0)return;t.endOffsetSubtitles=Math.max(0,e),this.tracksBuffered.forEach((t=>{for(let r=0;r<t.length;)if(t[r].end<=e)t.shift();else{if(!(t[r].start<e))break;t[r].start=e,r++}})),this.fragmentTracker.removeFragmentsInRange(r,e,_t)}}onFragBuffered(e,t){var r;this.loadedmetadata||t.frag.type!==Ct||null!=(r=this.media)&&r.buffered.length&&(this.loadedmetadata=!0)}onError(e,t){const r=t.frag;(null==r?void 0:r.type)===_t&&(t.details===E.FRAG_GAP&&this.fragmentTracker.fragBuffered(r,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==mn&&(this.state=yn))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){this.levels&&ji(this.levels,t)?this.levels=t.map((e=>new ar(e))):(this.tracksBuffered=[],this.levels=t.map((e=>{const t=new ar(e);return this.tracksBuffered[t.id]=[],t})),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,_t),this.fragPrevious=null,this.mediaBuffer=null)}onSubtitleTrackSwitch(e,t){var r;if(this.currentTrackId=t.id,null==(r=this.levels)||!r.length||-1===this.currentTrackId)return void this.clearInterval();const n=this.levels[this.currentTrackId];null!=n&&n.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,n&&this.setInterval(500)}onSubtitleTrackLoaded(e,t){var r;const{currentTrackId:n,levels:i}=this,{details:a,id:s}=t;if(!i)return void this.warn(`Subtitle tracks were reset while loading level ${s}`);const o=i[s];if(s>=i.length||!o)return;this.log(`Subtitle track ${s} loaded [${a.startSN},${a.endSN}]${a.lastPartSn?`[part-${a.lastPartSn}-${a.lastPartIndex}]`:""},duration:${a.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let l=0;if(a.live||null!=(r=o.details)&&r.live){const e=this.mainDetails;if(a.deltaUpdateFailed||!e)return;const t=e.fragments[0];var c;if(o.details)l=this.alignPlaylists(a,o.details,null==(c=this.levelLastLoaded)?void 0:c.details),0===l&&t&&(l=t.start,dr(a,l));else a.hasProgramDateTime&&e.hasProgramDateTime?(sn(a,e),l=a.fragments[0].start):t&&(l=t.start,dr(a,l))}if(o.details=a,this.levelLastLoaded=o,s===n&&(this.startFragRequested||!this.mainDetails&&a.live||this.setStartPosition(this.mainDetails||a,l),this.tick(),a.live&&!this.fragCurrent&&this.media&&this.state===yn)){Er(null,a.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),o.details=void 0)}}_handleFragmentLoadComplete(e){const{frag:t,payload:r}=e,n=t.decryptdata,i=this.hls;if(!this.fragContextChanged(t)&&r&&r.byteLength>0&&null!=n&&n.key&&n.iv&&"AES-128"===n.method){const e=performance.now();this.decrypter.decrypt(new Uint8Array(r),n.key.buffer,n.iv.buffer).catch((e=>{throw i.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:t}),e})).then((r=>{const n=performance.now();i.trigger(b.FRAG_DECRYPTED,{frag:t,payload:r,stats:{tstart:e,tdecrypt:n}})})).catch((e=>{this.warn(`${e.name}: ${e.message}`),this.state=yn}))}}doTick(){if(this.media){if(this.state===yn){const{currentTrackId:e,levels:t}=this,r=null==t?void 0:t[e];if(!r||!t.length||!r.details)return;const{config:n}=this,i=this.getLoadPosition(),a=Zr.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],i,n.maxBufferHole),{end:s,len:o}=a,l=this.getFwdBufferInfo(this.media,Ct),c=r.details;if(o>this.getMaxBufferLength(null==l?void 0:l.len)+c.levelTargetDuration)return;const u=c.fragments,d=u.length,h=c.edge;let f=null;const p=this.fragPrevious;if(s<h){const e=n.maxFragLookUpTolerance,t=s>h-e?0:e;f=Er(p,u,Math.max(u[0].start,s),t),!f&&p&&p.start<u[0].start&&(f=u[0])}else f=u[d-1];if(!f)return;if(f=this.mapToInitFragWhenRequired(f),"initSegment"!==f.sn){const e=u[f.sn-c.startSN-1];e&&e.cc===f.cc&&this.fragmentTracker.getState(e)===Vr&&(f=e)}this.fragmentTracker.getState(f)===Vr&&this.loadFragment(f,r,s)}}else this.state=yn}getMaxBufferLength(e){const t=super.getMaxBufferLength();return e?Math.max(t,e):t}loadFragment(e,t,r){this.fragCurrent=e,"initSegment"===e.sn?this._loadInitSegment(e,t):(this.startFragRequested=!0,super.loadFragment(e,t,r))}get mediaBufferTimeRanges(){return new $i(this.tracksBuffered[this.currentTrackId]||[])}},subtitleTrackController:class extends Rr{constructor(e){super(e,"[subtitle-track-controller]"),this.media=null,this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let e=null;const t=Gt(this.media.textTracks);for(let r=0;r<t.length;r++)if("hidden"===t[r].mode)e=t[r];else if("showing"===t[r].mode){e=t[r];break}const r=this.findTrackForTextTrack(e);this.subtitleTrack!==r&&this.setSubtitleTrack(r)},this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(e){this._subtitleDisplay=e,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:e}=this;e.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.MANIFEST_PARSED,this.onManifestParsed,this),e.on(b.LEVEL_LOADING,this.onLevelLoading,this),e.on(b.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(b.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(b.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.MANIFEST_PARSED,this.onManifestParsed,this),e.off(b.LEVEL_LOADING,this.onLevelLoading,this),e.off(b.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(b.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(b.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(e){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,e)}onMediaDetaching(){if(!this.media)return;self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId);Gt(this.media.textTracks).forEach((e=>{Bt(e)})),this.subtitleTrack=-1,this.media=null}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.subtitleTracks}onSubtitleTrackLoaded(e,t){const{id:r,groupId:n,details:i}=t,a=this.tracksInGroup[r];if(!a||a.groupId!==n)return void this.warn(`Subtitle track with id:${r} and group:${n} not found in active group ${null==a?void 0:a.groupId}`);const s=a.details;a.details=t.details,this.log(`Subtitle track ${r} "${a.name}" lang:${a.lang} group:${n} loaded [${i.startSN}-${i.endSN}]`),r===this.trackId&&this.playlistLoaded(r,t,s)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const r=t.subtitleGroups||null,n=this.groupIds;let i=this.currentTrack;if(!r||(null==n?void 0:n.length)!==(null==r?void 0:r.length)||null!=r&&r.some((e=>-1===(null==n?void 0:n.indexOf(e))))){this.groupIds=r,this.trackId=-1,this.currentTrack=null;const e=this.tracks.filter((e=>!r||-1!==r.indexOf(e.groupId)));if(e.length)this.selectDefaultTrack&&!e.some((e=>e.default))&&(this.selectDefaultTrack=!1),e.forEach(((e,t)=>{e.id=t}));else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=e;const t=this.hls.config.subtitlePreference;if(!i&&t){this.selectDefaultTrack=!1;const r=Br(t,e);if(r>-1)i=e[r];else{const e=Br(t,this.tracks);i=this.tracks[e]}}let n=this.findTrackId(i);-1===n&&i&&(n=this.findTrackId(null));const a={subtitleTracks:e};this.log(`Updating subtitle tracks, ${e.length} track(s) found in "${null==r?void 0:r.join(",")}" group-id`),this.hls.trigger(b.SUBTITLE_TRACKS_UPDATED,a),-1!==n&&-1===this.trackId&&this.setSubtitleTrack(n)}else this.shouldReloadPlaylist(i)&&this.setSubtitleTrack(this.trackId)}findTrackId(e){const t=this.tracksInGroup,r=this.selectDefaultTrack;for(let n=0;n<t.length;n++){const i=t[n];if((!r||i.default)&&(r||e)&&(!e||$r(i,e)))return n}if(e){for(let r=0;r<t.length;r++){const n=t[r];if(Ui(e.attrs,n.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const n=t[r];if(Ui(e.attrs,n.attrs,["LANGUAGE"]))return r}}return-1}findTrackForTextTrack(e){if(e){const t=this.tracksInGroup;for(let r=0;r<t.length;r++){if(Bi(t[r],e))return r}}return-1}onError(e,t){!t.fatal&&t.context&&(t.context.type!==Rt||t.context.id!==this.trackId||this.groupIds&&-1===this.groupIds.indexOf(t.context.groupId)||this.checkRetry(t))}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(e){this.selectDefaultTrack=!1,this.setSubtitleTrack(e)}setSubtitleOption(e){if(this.hls.config.subtitlePreference=e,e){const t=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,t.length){const r=this.currentTrack;if(r&&$r(e,r))return r;const n=Br(e,this.tracksInGroup);if(n>-1){const e=this.tracksInGroup[n];return this.setSubtitleTrack(n),e}if(r)return null;{const r=Br(e,t);if(r>-1)return t[r]}}}return null}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;if(this.shouldLoadPlaylist(t)&&t){const r=t.id,n=t.groupId;let i=t.url;if(e)try{i=e.addDirectives(i)}catch(e){this.warn(`Could not construct new URL with HLS Delivery Directives: ${e}`)}this.log(`Loading subtitle playlist for id ${r}`),this.hls.trigger(b.SUBTITLE_TRACK_LOADING,{url:i,id:r,groupId:n,deliveryDirectives:e||null})}}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=Gt(e.textTracks),r=this.currentTrack;let n;if(r&&(n=t.filter((e=>Bi(r,e)))[0],n||this.warn(`Unable to find subtitle TextTrack with name "${r.name}" and language "${r.lang}"`)),[].slice.call(t).forEach((e=>{"disabled"!==e.mode&&e!==n&&(e.mode="disabled")})),n){const e=this.subtitleDisplay?"showing":"hidden";n.mode!==e&&(n.mode=e)}}setSubtitleTrack(e){const t=this.tracksInGroup;if(!this.media)return void(this.queuedDefaultTrack=e);if(e<-1||e>=t.length||!v(e))return void this.warn(`Invalid subtitle track id: ${e}`);this.clearTimer(),this.selectDefaultTrack=!1;const r=this.currentTrack,n=t[e]||null;if(this.trackId=e,this.currentTrack=n,this.toggleTrackModes(),!n)return void this.hls.trigger(b.SUBTITLE_TRACK_SWITCH,{id:e});const i=!!n.details&&!n.details.live;if(e===this.trackId&&n===r&&i)return;this.log(`Switching to subtitle-track ${e}`+(n?` "${n.name}" lang:${n.lang} group:${n.groupId}`:""));const{id:a,groupId:s="",name:o,type:l,url:c}=n;this.hls.trigger(b.SUBTITLE_TRACK_SWITCH,{id:a,groupId:s,name:o,type:l,url:c});const u=this.switchParams(n.url,null==r?void 0:r.details,n.details);this.loadPlaylist(u)}},timelineController:class{constructor(e){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this.captionsProperties=void 0,this.hls=e,this.config=e.config,this.Cues=e.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}}
vendor: 4,795 bytes, line 2
2,e.on(b.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(b.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(b.FRAG_LOADING,this.onFragLoading,this),e.on(b.FRAG_LOADED,this.onFragLoaded,this),e.on(b.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(b.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(b.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(b.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(b.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(b.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(b.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(b.FRAG_LOADING,this.onFragLoading,this),e.off(b.FRAG_LOADED,this.onFragLoaded,this),e.off(b.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(b.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(b.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(b.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(b.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){if(this.config.enableCEA708Captions&&(!this.cea608Parser1||!this.cea608Parser2)){const e=new ua(this,"textTrack1"),t=new ua(this,"textTrack2"),r=new ua(this,"textTrack3"),n=new ua(this,"textTrack4");this.cea608Parser1=new oa(1,e,t),this.cea608Parser2=new oa(3,r,n)}}addCues(e,t,r,n,i){let a=!1;for(let e=i.length;e--;){const n=i[e],u=(s=n[0],o=n[1],l=t,c=r,Math.min(o,c)-Math.max(s,l));if(u>=0&&(n[0]=Math.min(n[0],t),n[1]=Math.max(n[1],r),a=!0,u/(r-t)>.5))return}var s,o,l,c;if(a||i.push([t,r]),this.config.renderTextTracksNatively){const i=this.captionsTracks[e];this.Cues.newCue(i,t,r,n)}else{const i=this.Cues.newCue(null,t,r,n);this.hls.trigger(b.CUES_PARSED,{type:"captions",cues:i,track:e})}}onInitPtsFound(e,{frag:t,id:r,initPTS:n,timescale:i}){const{unparsedVttFrags:a}=this;"main"===r&&(this.initPTS[t.cc]={baseTime:n,timescale:i}),a.length&&(this.unparsedVttFrags=[],a.forEach((e=>{this.onFragLoaded(b.FRAG_LOADED,e)})))}getExistingTrack(e,t){const{media:r}=this;if(r)for(let n=0;n<r.textTracks.length;n++){const i=r.textTracks[n];if(ja(i,{name:e,lang:t,attrs:{}}))return i}return null}createCaptionsTrack(e){this.config.renderTextTracksNatively?this.createNativeTrack(e):this.createNonNativeTrack(e)}createNativeTrack(e){if(this.captionsTracks[e])return;const{captionsProperties:t,captionsTracks:r,media:n}=this,{label:i,languageCode:a}=t[e],s=this.getExistingTrack(i,a);if(s)r[e]=s,Bt(r[e]),jt(r[e],n);else{const t=this.createTextTrack("captions",i,a);t&&(t[e]=!0,r[e]=t)}}createNonNativeTrack(e){if(this.nonNativeCaptionsTracks[e])return;const t=this.captionsProperties[e];if(!t)return;const r={_id:e,label:t.label,kind:"captions",default:!!t.media&&!!t.media.default,closedCaptions:t.media};this.nonNativeCaptionsTracks[e]=r,this.hls.trigger(b.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[r]})}createTextTrack(e,t,r){const n=this.media;if(n)return n.addTextTrack(e,t,r)}onMediaAttaching(e,t){this.media=t.media,this._cleanTracks()}onMediaDetaching(){const{captionsTracks:e}=this;Object.keys(e).forEach((t=>{Bt(e[t]),delete e[t]})),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:e}=this;if(!e)return;const t=e.textTracks;if(t)for(let e=0;e<t.length;e++)Bt(t[e])}onSubtitleTracksUpdated(e,t){const r=t.subtitleTracks||[],n=r.some((e=>e.textCodec===Aa));if(this.config.enableWebVTT||n&&this.config.enableIMSC1){if(ji(this.tracks,r))return void(this.tracks=r);if(this.textTracks=[],this.tracks=r,this.config.renderTextTracksNatively){const e=this.media,t=e?Gt(e.textTracks):null;if(this.tracks.forEach(((e,r)=>{let n;if(t){let r=null;for(let n=0;n<t.length;n++)if(t[n]&&ja(t[n],e)){r=t[n],t[n]=null;break}r&&(n=r)}if(n)Bt(n);else{const t=Na(e);n=this.createTextTrack(t,e.name,e.lang),n&&(n.mode="disabled")}n&&this.textTracks.push(n)})),null!=t&&t.length){const e=t.filter((e=>null!==e)).map((e=>e.label));e.length&&A.warn(`Media element contains unused subtitle tracks: ${e.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}
vendor: 9,423 bytes, line 2
2}else if(this.tracks.length){const e=this.tracks.map((e=>({label:e.name,kind:e.type.toLowerCase(),default:e.default,subtitleTrack:e})));this.hls.trigger(b.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:e})}}}onManifestLoaded(e,t){this.config.enableCEA708Captions&&t.captions&&t.captions.forEach((e=>{const t=/(?:CC|SERVICE)([1-4])/.exec(e.instreamId);if(!t)return;const r=`textTrack${t[1]}`,n=this.captionsProperties[r];n&&(n.label=e.name,e.lang&&(n.languageCode=e.lang),n.media=e)}))}closedCaptionsForLevel(e){const t=this.hls.levels[e.level];return null==t?void 0:t.attrs["CLOSED-CAPTIONS"]}onFragLoading(e,t){if(this.enabled&&t.frag.type===Ct){var r,n;const{cea608Parser1:e,cea608Parser2:i,lastSn:a}=this,{cc:s,sn:o}=t.frag,l=null!=(r=null==(n=t.part)?void 0:n.index)?r:-1;e&&i&&(o!==a+1||o===a&&l!==this.lastPartIndex+1||s!==this.lastCc)&&(e.reset(),i.reset()),this.lastCc=s,this.lastSn=o,this.lastPartIndex=l}}onFragLoaded(e,t){const{frag:r,payload:n}=t;if(r.type===_t)if(n.byteLength){const e=r.decryptdata,i="stats"in t;if(null==e||!e.encrypted||i){const e=this.tracks[r.level],i=this.vttCCs;i[r.cc]||(i[r.cc]={start:r.start,prevCC:this.prevCC,new:!0},this.prevCC=r.cc),e&&e.textCodec===Aa?this._parseIMSC1(r,n):this._parseVTTs(t)}}else this.hls.trigger(b.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:r,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const r=this.hls;Ia(t,this.initPTS[e.cc],(t=>{this._appendCues(t,e.level),r.trigger(b.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})}),(t=>{A.log(`Failed to parse IMSC1: ${t}`),r.trigger(b.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:t})}))}_parseVTTs(e){var t;const{frag:r,payload:n}=e,{initPTS:i,unparsedVttFrags:a}=this,s=i.length-1;if(!i[r.cc]&&-1===s)return void a.push(e);const o=this.hls;xa(null!=(t=r.initSegment)&&t.data?ze(r.initSegment.data,new Uint8Array(n)):n,this.initPTS[r.cc],this.vttCCs,r.cc,r.start,(e=>{this._appendCues(e,r.level),o.trigger(b.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:r})}),(t=>{const i="Missing initPTS for VTT MPEGTS"===t.message;i?a.push(e):this._fallbackToIMSC1(r,n),A.log(`Failed to parse VTT cue: ${t}`),i&&s>r.cc||o.trigger(b.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:r,error:t})}))}_fallbackToIMSC1(e,t){const r=this.tracks[e.level];r.textCodec||Ia(t,this.initPTS[e.cc],(()=>{r.textCodec=Aa,this._parseIMSC1(e,t)}),(()=>{r.textCodec="wvtt"}))}_appendCues(e,t){const r=this.hls;if(this.config.renderTextTracksNatively){const r=this.textTracks[t];if(!r||"disabled"===r.mode)return;e.forEach((e=>Ut(r,e)))}else{const n=this.tracks[t];if(!n)return;const i=n.default?"default":"subtitles"+t;r.trigger(b.CUES_PARSED,{type:"subtitles",cues:e,track:i})}}onFragDecrypted(e,t){const{frag:r}=t;r.type===_t&&this.onFragLoaded(b.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){this.initCea608Parsers();const{cea608Parser1:r,cea608Parser2:n}=this;if(!this.enabled||!r||!n)return;const{frag:i,samples:a}=t;if(i.type!==Ct||"NONE"!==this.closedCaptionsForLevel(i))for(let e=0;e<a.length;e++){const t=a[e].bytes;if(t){const i=this.extractCea608Data(t);r.addData(a[e].pts,i[0]),n.addData(a[e].pts,i[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:r,endOffsetSubtitles:n,type:i}){const{media:a}=this;if(a&&!(a.currentTime<r)){if(!i||"video"===i){const{captionsTracks:e}=this;Object.keys(e).forEach((n=>$t(e[n],t,r)))}if(this.config.renderTextTracksNatively&&0===t&&void 0!==n){const{textTracks:e}=this;Object.keys(e).forEach((r=>$t(e[r],t,n)))}}}extractCea608Data(e){const t=[[],[]],r=31&e[0];let n=2;for(let i=0;i<r;i++){const r=e[n++],i=127&e[n++],a=127&e[n++];if(0===i&&0===a)continue;if(!!(4&r)){const e=3&r;0!==e&&1!==e||(t[e].push(i),t[e].push(a))}}return t}},audioStreamController:class extends kn{constructor(e,t,r){super(e,t,r,"[audio-stream-controller]",Dt),this.videoBuffer=null,this.videoTrackCC=-1,this.waitingVideoCC=-1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null,this.bufferedTrack=null,this.switchingTrack=null}_registerListeners(){const{hls:e}=this;e.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.LEVEL_LOADED,this.onLevelLoaded,this),e.on(b.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(b.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(b.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(b.ERROR,this.onError,this),e.on(b.BUFFER_RESET,this.onBufferReset,this),e.on(b.BUFFER_CREATED,this.onBufferCreated,this),e.on(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(b.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(b.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(b.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.LEVEL_LOADED,this.onLevelLoaded,this),e.off(b.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(b.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(b.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(b.ERROR,this.onError,this),e.off(b.BUFFER_RESET,this.onBufferReset,this),e.off(b.BUFFER_CREATED,this.onBufferCreated,this),e.off(b.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(b.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(b.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(b.FRAG_BUFFERED,this.onFragBuffered,this)}onInitPtsFound(e,{frag:t,id:r,initPTS:n,timescale:i}){if("main"===r){const e=t.cc;this.initPTS[t.cc]={baseTime:n,timescale:i},this.log(`InitPTS for cc: ${e} found from main: ${n}`),this.videoTrackCC=e,this.state===Pn&&this.tick()}}startLoad(e){if(!this.levels)return this.startPosition=e,void(this.state=mn);const t=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),t>0&&-1===e?(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t,this.state=yn):(this.loadedmetadata=!1,this.state=Tn),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}doTick(){switch(this.state){case yn:this.doTickIdle();break;case Tn:{var e;const{levels:t,trackId:r}=this,n=null==t||null==(e=t[r])?void 0:e.details;if(n){if(this.waitForCdnTuneIn(n))break;this.state=Pn}break}case En:{var t;const e=performance.now(),r=this.retryDate;if(!r||e>=r||null!=(t=this.media)&&t.seeking){const{levels:e,trackId:t}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((null==e?void 0:e[t])||null),this.state=yn}break}case Pn:{const e=this.waitingData;if(e){const{frag:t,part:r,cache:n,complete:i}=e;if(void 0!==this.initPTS[t.cc]){this.waitingData=null,this.waitingVideoCC=-1,this.state=wn;const e={frag:t,part:r,payload:n.flush(),networkDetails:null};this._handleFragmentLoadProgress(e),i&&super._handleFragmentLoadComplete(e)}else if(this.videoTrackCC!==this.waitingVideoCC)this.log(`Waiting fragment cc (${t.cc}) cancelled because video is at cc ${this.videoTrackCC}`),this.clearWaitingFragment();else{const e=this.getLoadPosition(),r=Zr.bufferInfo(this.mediaBuffer,e,this.config.maxBufferHole);Tr(r.end,this.config.maxFragLookUpTolerance,t)<0&&(this.log(`Waiting fragment cc (${t.cc}) @ ${t.start} cancelled because another fragment at ${r.end} is needed`),this.clearWaitingFragment())}}else this.state=yn}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=yn)}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:e}=this;null!=e&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){const{hls:e,levels:t,media:r,trackId:n}=this,i=e.config;if(!this.buffering||!r&&(this.startFragRequested||!i.startFragPrefetch)||null==t||!t[n])return;const a=t[n],s=a.details;if(!s||s.live&&this.levelLastLoaded!==a||this.waitForCdnTuneIn(s))return void(this.state=Tn);const o=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&o&&(this.bufferFlushed=!1,this.afterBufferFlushed(o,D,Dt));const l=this.getFwdBufferInfo(o,Dt);if(null===l)return;if(!this.switchingTrack&&this._streamEnded(l,s))return e.trigger(b.BUFFER_EOS,{type:"audio"}),void(this.state=xn);const c=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,Ct),u=l.len,d=this.getMaxBufferLength(null==c?void 0:c.len),h=s.fragments,f=h[0].start,p=this.getLoadPosition(),g=this.flushing?p:l.end;if(this.switchingTrack&&r){const e=p;s.PTSKnown&&e<f&&(l.end>f||l.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=f+.05)}if(u>=d&&!this.switchingTrack&&g<h[h.length-1].start)return;let v=this.getNextFragment(g,s),m=!1;if(v&&this.isLoopLoading(v,g)&&(m=!!v.gap,v=this.getNextFragmentLoopLoading(v,s,l,Ct,d)),!v)return void(this.bufferFlushed=!0);const y=c&&v.start>c.end+s.targetduration;if(y||(null==c||!c.len)&&l.len){const e=this.getAppendedFrag(v.start,Ct);if(null===e)return;if(m||(m=!!e.gap||!!y&&0===c.len),y&&!m||m&&l.nextStart&&l.nextStart<e.end)return}this.loadFragment(v,a,g)}getMaxBufferLength(e){const t=super.getMaxBufferLength();
vendor: 9,642 bytes, line 2
2return e?Math.min(Math.max(t,e),this.config.maxMaxBufferLength):t}onMediaDetaching(){this.videoBuffer=null,this.bufferFlushed=this.flushing=!1,super.onMediaDetaching()}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map((e=>new ar(e)))}onAudioTrackSwitching(e,t){const r=!!t.url;this.trackId=t.id;const{fragCurrent:n}=this;n&&(n.abortRequests(),this.removeUnbufferedFrags(n.start)),this.resetLoadingState(),r?this.setInterval(100):this.resetTransmuxer(),r?(this.switchingTrack=t,this.state=yn,this.flushAudioIfNeeded(t)):(this.switchingTrack=null,this.bufferedTrack=t,this.state=mn),this.tick()}onManifestLoading(){this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=this.flushing=!1,this.levels=this.mainDetails=this.waitingData=this.bufferedTrack=this.cachedTrackLoadedData=this.switchingTrack=null,this.startFragRequested=!1,this.trackId=this.videoTrackCC=this.waitingVideoCC=-1}onLevelLoaded(e,t){this.mainDetails=t.details,null!==this.cachedTrackLoadedData&&(this.hls.trigger(b.AUDIO_TRACK_LOADED,this.cachedTrackLoadedData),this.cachedTrackLoadedData=null)}onAudioTrackLoaded(e,t){var r;if(null==this.mainDetails)return void(this.cachedTrackLoadedData=t);const{levels:n}=this,{details:i,id:a}=t;if(!n)return void this.warn(`Audio tracks were reset while loading level ${a}`);this.log(`Audio track ${a} loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`);const s=n[a];let o=0;if(i.live||null!=(r=s.details)&&r.live){this.checkLiveUpdate(i);const e=this.mainDetails;if(i.deltaUpdateFailed||!e)return;var l;if(!s.details&&i.hasProgramDateTime&&e.hasProgramDateTime)sn(i,e),o=i.fragments[0].start;else o=this.alignPlaylists(i,s.details,null==(l=this.levelLastLoaded)?void 0:l.details)}s.details=i,this.levelLastLoaded=s,this.startFragRequested||!this.mainDetails&&i.live||this.setStartPosition(this.mainDetails||i,o),this.state!==Tn||this.waitForCdnTuneIn(i)||(this.state=yn),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:r,part:n,payload:i}=e,{config:a,trackId:s,levels:o}=this;if(!o)return void this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${r.sn} of level ${r.level} will not be buffered`);const l=o[s];if(!l)return void this.warn("Audio track is undefined on fragment load progress");const c=l.details;if(!c)return this.warn("Audio track details undefined on fragment load progress"),void this.removeUnbufferedFrags(r.start);const u=a.defaultAudioCodec||l.audioCodec||"mp4a.40.2";let d=this.transmuxer;d||(d=this.transmuxer=new Ni(this.hls,Dt,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const h=this.initPTS[r.cc],f=null==(t=r.initSegment)?void 0:t.data;if(void 0!==h){const e=!1,t=n?n.index:-1,a=-1!==t,s=new en(r.level,r.sn,r.stats.chunkCount,i.byteLength,t,a);d.push(i,f,u,"",r,n,c.totalduration,e,s,h)}else{this.log(`Unknown video PTS for cc ${r.cc}, waiting for video PTS before demuxing audio frag ${r.sn} of [${c.startSN} ,${c.endSN}],track ${s}`);const{cache:e}=this.waitingData=this.waitingData||{frag:r,part:n,cache:new In,complete:!1};e.push(new Uint8Array(i)),this.waitingVideoCC=this.videoTrackCC,this.state=Pn}}_handleFragmentLoadComplete(e){this.waitingData?this.waitingData.complete=!0:super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1}onBufferCreated(e,t){const r=t.tracks.audio;r&&(this.mediaBuffer=r.buffer||null),t.tracks.video&&(this.videoBuffer=t.tracks.video.buffer||null)}onFragBuffered(e,t){const{frag:r,part:n}=t;if(r.type===Dt)if(this.fragContextChanged(r))this.warn(`Fragment ${r.sn}${n?" p: "+n.index:""} of level ${r.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);else{if("initSegment"!==r.sn){this.fragPrevious=r;const e=this.switchingTrack;e&&(this.bufferedTrack=e,this.switchingTrack=null,this.hls.trigger(b.AUDIO_TRACK_SWITCHED,h({},e)))}this.fragBufferedComplete(r,n)}else if(!this.loadedmetadata&&r.type===Ct){const e=this.videoBuffer||this.media;if(e){Zr.getBuffered(e).length&&(this.loadedmetadata=!0)}}}onError(e,t){var r;if(t.fatal)this.state=An;else switch(t.details){case E.FRAG_GAP:case E.FRAG_PARSING_ERROR:case E.FRAG_DECRYPT_ERROR:case E.FRAG_LOAD_ERROR:case E.FRAG_LOAD_TIMEOUT:case E.KEY_LOAD_ERROR:case E.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Dt,t);break;case E.AUDIO_TRACK_LOAD_ERROR:case E.AUDIO_TRACK_LOAD_TIMEOUT:case E.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==Tn||(null==(r=t.context)?void 0:r.type)!==It||(this.state=yn);break;case E.BUFFER_APPEND_ERROR:case E.BUFFER_FULL_ERROR:if(!t.parent||"audio"!==t.parent)return;if(t.details===E.BUFFER_APPEND_ERROR)return void this.resetLoadingState();this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case E.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}onBufferFlushing(e,{type:t}){t!==_&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==_){this.flushing=!1,this.bufferFlushed=!0,this.state===xn&&(this.state=yn);const e=this.mediaBuffer||this.media;e&&(this.afterBufferFlushed(e,t,Dt),this.tick())}}_handleTransmuxComplete(e){var t;const r="audio",{hls:n}=this,{remuxResult:i,chunkMeta:a}=e,s=this.getCurrentContext(a);if(!s)return void this.resetWhenMissingContext(a);const{frag:o,part:l,level:c}=s,{details:u}=c,{audio:d,text:h,id3:f,initSegment:p}=i;if(!this.fragContextChanged(o)&&u){if(this.state=Sn,this.switchingTrack&&d&&this.completeAudioSwitch(this.switchingTrack),null!=p&&p.tracks){const e=o.initSegment||o;this._bufferInitSegment(c,p.tracks,e,a),n.trigger(b.FRAG_PARSING_INIT_SEGMENT,{frag:e,id:r,tracks:p.tracks})}if(d){const{startPTS:e,endPTS:t,startDTS:r,endDTS:n}=d;l&&(l.elementaryStreams[D]={startPTS:e,endPTS:t,startDTS:r,endDTS:n}),o.setElementaryStreamInfo(D,e,t,r,n),this.bufferFragmentData(d,o,l,a)}if(null!=f&&null!=(t=f.samples)&&t.length){const e=g({id:r,frag:o,details:u},f);n.trigger(b.FRAG_PARSING_METADATA,e)}if(h){const e=g({id:r,frag:o,details:u},h);n.trigger(b.FRAG_PARSING_USERDATA,e)}}else this.fragmentTracker.removeFragment(o)}_bufferInitSegment(e,t,r,n){if(this.state!==Sn)return;t.video&&delete t.video;const i=t.audio;if(!i)return;i.id="audio";const a=e.audioCodec;this.log(`Init audio buffer, container:${i.container}, codecs[level/parsed]=[${a}/${i.codec}]`),a&&1===a.split(",").length&&(i.levelCodec=a),this.hls.trigger(b.BUFFER_CODECS,t);const s=i.initSegment;if(null!=s&&s.byteLength){const e={type:"audio",frag:r,part:null,chunkMeta:n,parent:r.type,data:s};this.hls.trigger(b.BUFFER_APPENDING,e)}this.tickImmediate()}loadFragment(e,t,r){const n=this.fragmentTracker.getState(e);var i;if(this.fragCurrent=e,this.switchingTrack||n===Vr||n===Yr)if("initSegment"===e.sn)this._loadInitSegment(e,t);else if(null!=(i=t.details)&&i.live&&!this.initPTS[e.cc]){this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`),this.state=Pn;const r=this.mainDetails;r&&r.fragments[0].start!==t.details.fragments[0].start&&sn(t.details,r)}else this.startFragRequested=!0,super.loadFragment(e,t,r);else this.clearTrackerIfNeeded(e)}flushAudioIfNeeded(e){if(this.media&&this.bufferedTrack){const{name:t,lang:r,assocLang:n,characteristics:i,audioCodec:a,channels:s}=this.bufferedTrack;$r({name:t,lang:r,assocLang:n,characteristics:i,audioCodec:a,channels:s},e,Gr)||(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null)}}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(b.AUDIO_TRACK_SWITCHED,h({},e))}},audioTrackController:class extends Rr{constructor(e){super(e,"[audio-track-controller]"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.MANIFEST_PARSED,this.onManifestParsed,this),e.on(b.LEVEL_LOADING,this.onLevelLoading,this),e.on(b.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(b.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(b.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.MANIFEST_PARSED,this.onManifestParsed,this),e.off(b.LEVEL_LOADING,this.onLevelLoading,this),e.off(b.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(b.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(b.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.audioTracks||[]}onAudioTrackLoaded(e,t){const{id:r,groupId:n,details:i}=t,a=this.tracksInGroup[r];if(!a||a.groupId!==n)return void this.warn(`Audio track with id:${r} and group:${n} not found in active group ${null==a?void 0:a.groupId}`);const s=a.details;a.details=t.details,this.log(`Audio track ${r} "${a.name}" lang:${a.lang} group:${n} loaded [${i.startSN}-${i.endSN}]`),r===this.trackId&&this.playlistLoaded(r,t,s)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;
vendor: 1,767 bytes, line 2
2const r=t.audioGroups||null,n=this.groupIds;let i=this.currentTrack;if(!r||(null==n?void 0:n.length)!==(null==r?void 0:r.length)||null!=r&&r.some((e=>-1===(null==n?void 0:n.indexOf(e))))){this.groupIds=r,this.trackId=-1,this.currentTrack=null;const e=this.tracks.filter((e=>!r||-1!==r.indexOf(e.groupId)));if(e.length)this.selectDefaultTrack&&!e.some((e=>e.default))&&(this.selectDefaultTrack=!1),e.forEach(((e,t)=>{e.id=t}));else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=e;const t=this.hls.config.audioPreference;if(!i&&t){const r=Br(t,e,Gr);if(r>-1)i=e[r];else{const e=Br(t,this.tracks);i=this.tracks[e]}}let n=this.findTrackId(i);-1===n&&i&&(n=this.findTrackId(null));const s={audioTracks:e};this.log(`Updating audio tracks, ${e.length} track(s) found in group(s): ${null==r?void 0:r.join(",")}`),this.hls.trigger(b.AUDIO_TRACKS_UPDATED,s);const o=this.trackId;if(-1!==n&&-1===o)this.setAudioTrack(n);else if(e.length&&-1===o){var a;const t=new Error(`No audio track selected for current audio group-ID(s): ${null==(a=this.groupIds)?void 0:a.join(",")} track count: ${e.length}`);this.warn(t.message),this.hls.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:t})}}else this.shouldReloadPlaylist(i)&&this.setAudioTrack(this.trackId)}onError(e,t){!t.fatal&&t.context&&(t.context.type!==It||t.context.id!==this.trackId||this.groupIds&&-1===this.groupIds.indexOf(t.context.groupId)||(this.requestScheduled=-1,this.checkRetry(t)))}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(e){this.selectDefaultTrack=!1,this.setAudioTrack(e)}setAudioOption(e){const t=this.hls;if(t.config.audioPreference=e,e){const r=this.allAudioTracks;
2if(this.selectDefaultTrack=!1,r.length){const n=this.currentTrack;if(n&&$r(e,n,Gr))return n;const i=Br(e,this.tracksInGroup,Gr);if(i>-1){const e=this.tracksInGroup[i];return this.setAudioTrack(i),e}if(n){let n=t.loadLevel;-1===n&&(n=t.firstAutoLevel);const i=function(e,t,r,n,i){const a=t[n],s=t.reduce(((e,t,r)=>{const n=t.uri;return(e[n]||(e[n]=[])).push(r),e}),{})[a.uri];s.length>1&&(n=Math.max.apply(Math,s));const o=a.videoRange,l=a.frameRate,c=a.codecSet.substring(0,4),u=zr(t,n,(t=>{if(t.videoRange!==o||t.frameRate!==l||t.codecSet.substring(0,4)!==c)return!1;const n=t.audioGroups,a=r.filter((e=>!n||-1!==n.indexOf(e.groupId)));return Br(e,a,i)>-1}));return u>-1?u:zr(t,n,(t=>{const n=t.audioGroups,a=r.filter((e=>!n||-1!==n.indexOf(e.groupId)));return Br(e,a,i)>-1}))}(e,t.levels,r,n,Gr);if(-1===i)return null;t.nextLoadLevel=i}if(e.channels||e.audioCodec){const t=Br(e,r);if(t>-1)return r[t]}}}return null}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length)return void this.warn(`Invalid audio track id: ${e}`);this.clearTimer(),this.selectDefaultTrack=!1;const r=this.currentTrack,n=t[e],i=n.details&&!n.details.live;if(e===this.trackId&&n===r&&i)return;if(this.log(`Switching to audio-track ${e} "${n.name}" lang:${n.lang} group:${n.groupId} channels:${n.channels}`),this.trackId=e,this.currentTrack=n,this.hls.trigger(b.AUDIO_TRACK_SWITCHING,h({},n)),i)return;const a=this.switchParams(n.url,null==r?void 0:r.details,n.details);this.loadPlaylist(a)}findTrackId(e){const t=this.tracksInGroup;for(let r=0;r<t.length;r++){const n=t[r];if((!this.selectDefaultTrack||n.default)&&(!e||$r(e,n,Gr)))return r}if(e){const{name:r,lang:n,assocLang:i,characteristics:a,audioCodec:s,channels:o}=e;for(let e=0;e<t.length;e++){if($r({name:r,lang:n,assocLang:i,characteristics:a,audioCodec:s,channels:o},t[e],Gr))return e}for(let r=0;r<t.length;r++){const n=t[r];if(Ui(e.attrs,n.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const n=t[r];if(Ui(e.attrs,n.attrs,["LANGUAGE"]))return r}}return-1}loadPlaylist(e){const t=this.currentTrack;if(this.shouldLoadPlaylist(t)&&t){super.loadPlaylist();const r=t.id,n=t.groupId;let i=t.url;if(e)try{i=e.addDirectives(i)}catch(e){this.warn(`Could not construct new URL with HLS Delivery Directives: ${e}`)}this.log(`loading audio-track playlist ${r} "${t.name}" lang:${t.lang} group:${n}`),this.clearTimer(),this.hls.trigger(b.AUDIO_TRACK_LOADING,{url:i,id:r,groupId:n,deliveryDirectives:e||null})}}},emeController:$a,cmcdController:class{constructor(e){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=e=>{try{this.apply(e,{ot:za.MANIFEST,su:!this.initialized})}catch(e){A.warn("Could not generate manifest CMCD data.",e)}},this.applyFragmentData=e=>{try{const t=e.frag,r=this.hls.levels[t.level],n=this.getObjectType(t),i={d:1e3*t.duration,ot:n};n!==za.VIDEO&&n!==za.AUDIO&&n!=za.MUXED||(i.br=r.bitrate/1e3,i.tb=this.getTopBandwidth(n)/1e3,i.bl=this.getBufferLength(n)),this.apply(e,i)}catch(e){A.warn("Could not generate segment CMCD data.",e)}},this.hls=e;const t=this.config=e.config,{cmcd:r}=t;null!=r&&(t.pLoader=this.createPlaylistLoader(),t.fLoader=this.createFragmentLoader(),this.sid=r.sessionId||function(){try{return crypto.randomUUID()}catch(e){try{const e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.slice(t.lastIndexOf("/")+1)}catch(e){let t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?r:3&r|8).toString(16)}))}}}(),this.cid=r.contentId,this.useHeaders=!0===r.useHeaders,this.includeKeys=r.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(b.MEDIA_DETACHED,this.onMediaDetached,this),e.on(b.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;
2e.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(b.MEDIA_DETACHED,this.onMediaDetached,this),e.off(b.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=null}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(e,t){var r,n;this.audioBuffer=null==(r=t.tracks.audio)?void 0:r.buffer,this.videoBuffer=null==(n=t.tracks.video)?void 0:n.buffer}createData(){var e;return{v:1,sf:Ha.HLS,sid:this.sid,cid:this.cid,pr:null==(e=this.media)?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){g(t,this.createData());const r=t.ot===za.INIT||t.ot===za.VIDEO||t.ot===za.MUXED;this.starved&&r&&(t.bs=!0,t.su=!0,this.starved=!1),null==t.su&&(t.su=this.buffering);const{includeKeys:n}=this;n&&(t=Object.keys(t).reduce(((e,r)=>(n.includes(r)&&(e[r]=t[r]),e)),{})),this.useHeaders?(e.headers||(e.headers={}),Ss(e.headers,t)):e.url=As(e.url,t)}getObjectType(e){const{type:t}=e;return"subtitle"===t?za.TIMED_TEXT:"initSegment"===e.sn?za.INIT:"audio"===t?za.AUDIO:"main"===t?this.hls.audioTracks.length?za.VIDEO:za.MUXED:void 0}getTopBandwidth(e){let t,r=0;const n=this.hls;if(e===za.AUDIO)t=n.audioTracks;else{const e=n.maxAutoLevel,r=e>-1?e+1:n.levels.length;t=n.levels.slice(0,r)}for(const e of t)e.bitrate>r&&(r=e.bitrate);return r>0?r:NaN}getBufferLength(e){const t=this.hls.media,r=e===za.AUDIO?this.audioBuffer:this.videoBuffer;if(!r||!t)return NaN;return 1e3*Zr.bufferInfo(r,t.currentTime,this.config.maxBufferHole).len}createPlaylistLoader(){const{pLoader:e}=this.config,t=this.applyPlaylistData,r=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new r(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,r,n){t(e),this.loader.load(e,r,n)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,r=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new r(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,r,n){t(e),this.loader.load(e,r,n)}}}},contentSteeringController:class{constructor(e){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=e,this.log=A.log.bind(A,"[content-steering]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(b.MANIFEST_PARSED,this.onManifestParsed,this),e.on(b.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(b.MANIFEST_PARSED,this.onManifestParsed,this),e.off(b.ERROR,this.onError,this))}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const e=1e3*this.timeToLoad-(performance.now()-this.updated);if(e>0)return void this.scheduleRefresh(this.uri,e)}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){-1!==this.reloadTimer&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(e){const t=this.levels;t&&(this.levels=t.filter((t=>t!==e)))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(e,t){const{contentSteering:r}=t;null!==r&&(this.pathwayId=r.pathwayId,this.uri=r.uri,this.started&&this.startLoad())}onManifestParsed(e,t){this.audioTracks=t.audioTracks,this.subtitleTracks=t.subtitleTracks}onError(e,t){const{errorAction:r}=t;if((null==r?void 0:r.action)===xr&&r.flags===kr){const e=this.levels;let n=this.pathwayPriority,i=this.pathwayId;if(t.context){const{groupId:r,pathwayId:n,type:a}=t.context;r&&e?i=this.getPathwayForGroupId(r,a,i):n&&(i=n)}i in this.penalizedPathways||(this.penalizedPathways[i]=performance.now()),!n&&e&&(n=e.reduce(((e,t)=>(-1===e.indexOf(t.pathwayId)&&e.push(t.pathwayId),e)),[])),n&&n.length>1&&(this.updatePathwayPriority(n),r.resolved=this.pathwayId!==i),r.resolved||A.
vendor: 5,137 bytes, line 2
2warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${i} levels: ${e?e.length:e} priorities: ${JSON.stringify(n)} penalized: ${JSON.stringify(this.penalizedPathways)}`)}}filterParsedLevels(e){this.levels=e;let t=this.getLevelsForPathway(this.pathwayId);if(0===t.length){const r=e[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${r}"`),t=this.getLevelsForPathway(r),this.pathwayId=r}return t.length!==e.length&&this.log(`Found ${t.length}/${e.length} levels in Pathway "${this.pathwayId}"`),t}getLevelsForPathway(e){return null===this.levels?[]:this.levels.filter((t=>e===t.pathwayId))}updatePathwayPriority(e){let t;this.pathwayPriority=e;const r=this.penalizedPathways,n=performance.now();Object.keys(r).forEach((e=>{n-r[e]>3e5&&delete r[e]}));for(let n=0;n<e.length;n++){const i=e[n];if(i in r)continue;if(i===this.pathwayId)return;const a=this.hls.nextLoadLevel,s=this.hls.levels[a];if(t=this.getLevelsForPathway(i),t.length>0){this.log(`Setting Pathway to "${i}"`),this.pathwayId=i,pr(t),this.hls.trigger(b.LEVELS_UPDATED,{levels:t});const e=this.hls.levels[a];s&&e&&this.levels&&(e.attrs["STABLE-VARIANT-ID"]!==s.attrs["STABLE-VARIANT-ID"]&&e.bitrate!==s.bitrate&&this.log(`Unstable Pathways change from bitrate ${s.bitrate} to ${e.bitrate}`),this.hls.nextLoadLevel=a);break}}}getPathwayForGroupId(e,t,r){const n=this.getLevelsForPathway(r).concat(this.levels||[]);for(let r=0;r<n.length;r++)if(t===It&&n[r].hasAudioGroup(e)||t===Rt&&n[r].hasSubtitleGroup(e))return n[r].pathwayId;return r}clonePathways(e){const t=this.levels;if(!t)return;const r={},n={};e.forEach((e=>{const{ID:i,"BASE-ID":a,"URI-REPLACEMENT":s}=e;if(t.some((e=>e.pathwayId===i)))return;const o=this.getLevelsForPathway(a).map((e=>{const t=new k(e.attrs);t["PATHWAY-ID"]=i;const a=t.AUDIO&&`${t.AUDIO}_clone_${i}`,o=t.SUBTITLES&&`${t.SUBTITLES}_clone_${i}`;a&&(r[t.AUDIO]=a,t.AUDIO=a),o&&(n[t.SUBTITLES]=o,t.SUBTITLES=o);const l=Ls(e.uri,t["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",s),c=new ar({attrs:t,audioCodec:e.audioCodec,bitrate:e.bitrate,height:e.height,name:e.name,url:l,videoCodec:e.videoCodec,width:e.width});if(e.audioGroups)for(let t=1;t<e.audioGroups.length;t++)c.addGroupId("audio",`${e.audioGroups[t]}_clone_${i}`);if(e.subtitleGroups)for(let t=1;t<e.subtitleGroups.length;t++)c.addGroupId("text",`${e.subtitleGroups[t]}_clone_${i}`);return c}));t.push(...o),Ps(this.audioTracks,r,s,i),Ps(this.subtitleTracks,n,s,i)}))}loadSteeringManifest(e){const t=this.hls.config,r=t.loader;let n;this.loader&&this.loader.destroy(),this.loader=new r(t);try{n=new self.URL(e)}catch(t){return this.enabled=!1,void this.log(`Failed to parse Steering Manifest URI: ${e}`)}if("data:"!==n.protocol){const e=0|(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate);n.searchParams.set("_HLS_pathway",this.pathwayId),n.searchParams.set("_HLS_throughput",""+e)}const i={responseType:"json",url:n.href},a=t.steeringManifestLoadPolicy.default,s=a.errorRetry||a.timeoutRetry||{},o={loadPolicy:a,timeout:a.maxLoadTimeMs,maxRetry:s.maxNumRetry||0,retryDelay:s.retryDelayMs||0,maxRetryDelay:s.maxRetryDelayMs||0},l={onSuccess:(e,t,r,i)=>{this.log(`Loaded steering manifest: "${n}"`);const a=e.data;if(1!==a.VERSION)return void this.log(`Steering VERSION ${a.VERSION} not supported!`);this.updated=performance.now(),this.timeToLoad=a.TTL;const{"RELOAD-URI":s,"PATHWAY-CLONES":o,"PATHWAY-PRIORITY":l}=a;if(s)try{this.uri=new self.URL(s,n).href}catch(e){return this.enabled=!1,void this.log(`Failed to parse Steering Manifest RELOAD-URI: ${s}`)}this.scheduleRefresh(this.uri||r.url),o&&this.clonePathways(o);const c={steeringManifest:a,url:n.toString()};this.hls.trigger(b.STEERING_MANIFEST_LOADED,c),l&&this.updatePathwayPriority(l)},onError:(e,t,r,n)=>{if(this.log(`Error loading steering manifest: ${e.code} ${e.text} (${t.url})`),this.stopLoad(),410===e.code)return this.enabled=!1,void this.log(`Steering manifest ${t.url} no longer available`);let i=1e3*this.timeToLoad;if(429!==e.code)this.scheduleRefresh(this.uri||t.url,i);else{const e=this.loader;if("function"==typeof(null==e?void 0:e.getResponseHeader)){const t=e.getResponseHeader("Retry-After");t&&(i=1e3*parseFloat(t))}this.log(`Steering manifest ${t.url} rate limited`)}},onTimeout:(e,t,r)=>{this.log(`Timeout loading steering manifest (${t.url})`),this.scheduleRefresh(this.uri||t.url)}};this.log(`Requesting steering manifest: ${n}`),this.loader.load(i,o,l)}scheduleRefresh(e,t=1e3*this.timeToLoad){this.clearTimeout(),this.reloadTimer=self.setTimeout((()=>{var t;const r=null==(t=this.hls)?void 0:t.media;!r||r.ended?this.scheduleRefresh(e,1e3*this.timeToLoad):this.loadSteeringManifest(e)}),t)}}});function js(e){return e&&"object"==typeof e?Array.isArray(e)?e.map(js):Object.keys(e).reduce(((t,r)=>(t[r]=js(e[r]),t)),{}):e}function Us(e){const t=e.loader;if(t!==Cs&&t!==Is)A.log("[config]: Custom loader detected, cannot enable progressive streaming"),e.progressive=!1;else{(function(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(e){}return!1}
2)()&&(e.loader=Cs,e.progressive=!0,e.enableSoftwareAES=!0,A.log("[config]: Progressive streaming enabled, using FetchLoader"))}}let Bs;class $s extends Rr{constructor(e,t){super(e,"[level-controller]"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=t,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(b.LEVEL_LOADED,this.onLevelLoaded,this),e.on(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(b.FRAG_BUFFERED,this.onFragBuffered,this),e.on(b.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(b.LEVEL_LOADED,this.onLevelLoaded,this),e.off(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(b.FRAG_BUFFERED,this.onFragBuffered,this),e.off(b.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach((e=>{e.loadError=0,e.fragmentError=0})),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(e,t){this.resetLevels()}onManifestLoaded(e,t){const r=this.hls.config.preferManagedMediaSource,n=[],i={},a={};let s=!1,o=!1,l=!1;t.levels.forEach((e=>{var t,c;const u=e.attrs;let{audioCodec:d,videoCodec:h}=e;-1!==(null==(t=d)?void 0:t.indexOf("mp4a.40.34"))&&(Bs||(Bs=/chrome|firefox/i.test(navigator.userAgent)),Bs&&(e.audioCodec=d=void 0)),d&&(e.audioCodec=d=ft(d,r)),0===(null==(c=h)?void 0:c.indexOf("avc1"))&&(h=e.videoCodec=function(e){const t=e.split(",");for(let e=0;e<t.length;e++){const r=t[e].split(".");if(r.length>2){let n=r.shift()+".";n+=parseInt(r.shift()).toString(16),n+=("000"+parseInt(r.shift()).toString(16)).slice(-4),t[e]=n}}return t.join(",")}(h));const{width:f,height:p,unknownCodecs:g}=e;if(s||(s=!(!f||!p)),o||(o=!!h),l||(l=!!d),null!=g&&g.length||d&&!st(d,"audio",r)||h&&!st(h,"video",r))return;const{CODECS:v,"FRAME-RATE":m,"HDCP-LEVEL":y,"PATHWAY-ID":b,RESOLUTION:w,"VIDEO-RANGE":E}=u,T=`${`${b||"."}-`}${e.bitrate}-${w}-${m}-${v}-${E}-${y}`;if(i[T])if(i[T].uri===e.url||e.attrs["PATHWAY-ID"])i[T].addGroupId("audio",u.AUDIO),i[T].addGroupId("text",u.SUBTITLES);else{const t=a[T]+=1;e.attrs["PATHWAY-ID"]=new Array(t+1).join(".");const r=new ar(e);i[T]=r,n.push(r)}else{const t=new ar(e);i[T]=t,a[T]=1,n.push(t)}})),this.filterAndSortMediaOptions(n,t,s,o,l)}filterAndSortMediaOptions(e,t,r,n,i){let a=[],s=[],o=e;if((r||n)&&i&&(o=o.filter((({videoCodec:e,videoRange:t,width:r,height:n})=>{return(!!e||!(!r||!n))&&(!!(i=t)&&Zt.indexOf(i)>-1);var i}))),0===o.length)return void Promise.resolve().then((()=>
2{if(this.hls){t.levels.length&&this.warn(`One or more CODECS in variant not supported: ${JSON.stringify(t.levels[0].attrs)}`);const e=new Error("no level with compatible codecs found in manifest");this.hls.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:e,reason:e.message})}}));if(t.audioTracks){const{preferManagedMediaSource:e}=this.hls.config;a=t.audioTracks.filter((t=>!t.audioCodec||st(t.audioCodec,"audio",e))),Gs(a)}t.subtitles&&(s=t.subtitles,Gs(s));const l=o.slice(0);o.sort(((e,t)=>{if(e.attrs["HDCP-LEVEL"]!==t.attrs["HDCP-LEVEL"])return(e.attrs["HDCP-LEVEL"]||"")>(t.attrs["HDCP-LEVEL"]||"")?1:-1;if(r&&e.height!==t.height)return e.height-t.height;if(e.frameRate!==t.frameRate)return e.frameRate-t.frameRate;if(e.videoRange!==t.videoRange)return Zt.indexOf(e.videoRange)-Zt.indexOf(t.videoRange);if(e.videoCodec!==t.videoCodec){const r=ct(e.videoCodec),n=ct(t.videoCodec);if(r!==n)return n-r}if(e.uri===t.uri&&e.codecSet!==t.codecSet){const r=ut(e.codecSet),n=ut(t.codecSet);if(r!==n)return n-r}return e.averageBitrate!==t.averageBitrate?e.averageBitrate-t.averageBitrate:0}));let c=l[0];if(this.steering&&(o=this.steering.filterParsedLevels(o),o.length!==l.length))for(let e=0;e<l.length;e++)if(l[e].pathwayId===o[0].pathwayId){c=l[e];break}this._levels=o;for(let e=0;e<o.length;e++)if(o[e]===c){var u;this._firstLevel=e;const t=c.bitrate,r=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${o.length} level(s) found, first bitrate: ${t}`),void 0===(null==(u=this.hls.userConfig)?void 0:u.abrEwmaDefaultEstimate)){const e=Math.min(t,this.hls.config.abrEwmaDefaultEstimateMax);e>r&&r===Ns.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=e)}break}const d=i&&!n,h={levels:o,audioTracks:a,subtitleTracks:s,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:i,video:n,altAudio:!d&&a.some((e=>!!e.url))};this.hls.trigger(b.MANIFEST_PARSED,h),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}get levels(){return 0===this._levels.length?null:this._levels}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(0===t.length)return;if(e<0||e>=t.length){const r=new Error("invalid level idx"),n=e<0;if(this.hls.trigger(b.ERROR,{type:w.OTHER_ERROR,details:E.LEVEL_SWITCH_ERROR,level:e,fatal:n,error:r,reason:r.message}),n)return;e=Math.min(e,t.length-1)}const r=this.currentLevelIndex,n=this.currentLevel,i=n?n.attrs["PATHWAY-ID"]:void 0,a=t[e],s=a.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=a,r===e&&a.details&&n&&i===s)return;this.log(`Switching to level ${e} (${a.height?a.height+"p ":""}${a.videoRange?a.videoRange+" ":""}${a.codecSet?a.codecSet+" ":""}@${a.bitrate})${s?" with Pathway "+s:""} from level ${r}${i?" with Pathway "+i:""}`);const o={level:e,attrs:a.attrs,details:a.details,bitrate:a.bitrate,averageBitrate:a.averageBitrate,maxBitrate:a.maxBitrate,realBitrate:a.realBitrate,width:a.width,height:a.height,codecSet:a.codecSet,audioCodec:a.audioCodec,videoCodec:a.videoCodec,audioGroups:a.audioGroups,subtitleGroups:a.subtitleGroups,loaded:a.loaded,loadError:a.loadError,fragmentError:a.fragmentError,name:a.name,id:a.id,uri:a.uri,url:a.url,urlId:0,audioGroupIds:a.audioGroupIds,textGroupIds:a.textGroupIds};this.hls.trigger(b.LEVEL_SWITCHING,o);const l=a.details;if(!l||l.live){const e=this.switchParams(a.uri,null==n?void 0:n.details,l);this.loadPlaylist(e)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(e){this.manualLevelIndex=e,void 0===this._startLevel&&(this._startLevel=e),-1!==e&&(this.level=e)}get firstLevel(){return this._firstLevel}set firstLevel(e){this._firstLevel=e}get startLevel(){if(void 0===this._startLevel){const e=this.hls.config.startLevel;return void 0!==e?e:this.hls.firstAutoLevel}return this._startLevel}set startLevel(e){this._startLevel=e}onError(e,t){!t.fatal&&t.context&&t.context.type===kt&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(void 0!==t&&t.type===Ct){const e=t.elementaryStreams;if(!Object.keys(e).some((t=>!!e[t])))return;const r=this._levels[t.level];null!=r&&r.loadError&&(this.log(`Resetting level error count of ${r.loadError} on frag buffered`),r.loadError=0)}}onLevelLoaded(e,t){var r;const{level:n,details:i}=t,a=this._levels[n];var s;if(!a)return this.warn(`Invalid level index ${n}`),void(null!=(s=t.deliveryDirectives)&&s.skip&&(i.deltaUpdateFailed=!0));n===this.currentLevelIndex?(0===a.fragmentError&&(a.loadError=0),this.playlistLoaded(n,t,a.details)):null!=(r=t.deliveryDirectives)&&r.skip&&(i.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist();const t=this.currentLevelIndex,r=this.currentLevel;if(r&&this.shouldLoadPlaylist(r)){let n=r.uri;if(e)try{n=e.addDirectives(n)}catch(e){this.warn(`Could not construct new URL with HLS Delivery Directives: ${e}`)}const i=r.attrs["PATHWAY-ID"];this.log(`Loading level index ${t}${void 0!==(null==e?void 0:e.msn)?" at sn "+e.msn+" part "+e.part:""} with${i?" Pathway "+i:""} ${n}`),this.clearTimer(),this.hls.trigger(b.LEVEL_LOADING,{url:n,level:t,pathwayId:r.attrs["PATHWAY-ID"],id:0,deliveryDirectives:e||null})}}get nextLoadLevel(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(e){this.level=e,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=e)}removeLevel(e){var t;const r=this._levels.filter(((t,r)=>r!==e||(this.steering&&this.steering.removeLevel(t),t===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,t.details&&t.details.fragments.forEac
vendor: 4,444 bytes, line 2
2h((e=>e.level=-1))),!1)));pr(r),this._levels=r,this.currentLevelIndex>-1&&null!=(t=this.currentLevel)&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.hls.trigger(b.LEVELS_UPDATED,{levels:r})}onLevelsUpdated(e,{levels:t}){this._levels=t}checkMaxAutoUpdated(){const{autoLevelCapping:e,maxAutoLevel:t,maxHdcpLevel:r}=this.hls;this._maxAutoLevel!==t&&(this._maxAutoLevel=t,this.hls.trigger(b.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:r}))}}function Gs(e){const t={};e.forEach((e=>{const r=e.groupId||"";e.id=t[r]=t[r]||0,t[r]++}))}class zs{constructor(e){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const r in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[r].loader;if(n){var t;if(e&&e!==(null==(t=n.context)?void 0:t.frag.type))return;n.abort()}}}detach(){for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e].loader;t&&t.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(e,t=E.KEY_LOAD_ERROR,r,n,i){return new dn({type:w.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:i,error:r,networkDetails:n})}loadClear(e,t){if(this.emeController&&this.config.emeEnabled){const{sn:r,cc:n}=e;for(let e=0;e<t.length;e++){const i=t[e];if(n<=i.cc&&("initSegment"===r||"initSegment"===i.sn||r<i.sn)){this.emeController.selectKeySystemFormat(i).then((e=>{i.setKeyFormat(e)}));break}}}}load(e){return!e.decryptdata&&e.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(e).then((t=>this.loadInternal(e,t))):this.loadInternal(e)}loadInternal(e,t){var r,n;t&&e.setKeyFormat(t);const i=e.decryptdata;if(!i){const r=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(e,E.KEY_LOAD_ERROR,r))}const a=i.uri;if(!a)return Promise.reject(this.createKeyLoadError(e,E.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${a}"`)));let s=this.keyUriToKeyInfo[a];if(null!=(r=s)&&r.decryptdata.key)return i.key=s.decryptdata.key,Promise.resolve({frag:e,keyInfo:s});var o;if(null!=(n=s)&&n.keyLoadPromise)switch(null==(o=s.mediaKeySessionContext)?void 0:o.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return s.keyLoadPromise.then((t=>(i.key=t.keyInfo.decryptdata.key,{frag:e,keyInfo:s})))}switch(s=this.keyUriToKeyInfo[a]={decryptdata:i,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},i.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return"identity"===i.keyFormat?this.loadKeyHTTP(s,e):this.loadKeyEME(s,e);case"AES-128":return this.loadKeyHTTP(s,e);default:return Promise.reject(this.createKeyLoadError(e,E.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${i.method}"`)))}}loadKeyEME(e,t){const r={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){const t=this.emeController.loadKey(r);if(t)return(e.keyLoadPromise=t.then((t=>(e.mediaKeySessionContext=t,r)))).catch((t=>{throw e.keyLoadPromise=null,t}))}return Promise.resolve(r)}loadKeyHTTP(e,t){const r=this.config,n=new(0,r.loader)(r);return t.keyLoader=e.loader=n,e.keyLoadPromise=new Promise(((i,a)=>{const s={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},o=r.keyLoadPolicy.default,l={loadPolicy:o,timeout:o.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},c={onSuccess:(e,t,r,n)=>{const{frag:s,keyInfo:o,url:l}=r;if(!s.decryptdata||o!==this.keyUriToKeyInfo[l])return a(this.createKeyLoadError(s,E.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),n));o.decryptdata.key=s.decryptdata.key=new Uint8Array(e.data),s.keyLoader=null,o.loader=null,i({frag:s,keyInfo:o})},onError:(e,r,n,i)=>{this.resetLoader(r),a(this.createKeyLoadError(t,E.KEY_LOAD_ERROR,new Error(`HTTP Error ${e.code} loading key ${e.text}`),n,h({url:s.url,data:void 0},e)))},onTimeout:(e,r,n)=>{this.resetLoader(r),a(this.createKeyLoadError(t,E.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),n))},onAbort:(e,r,n)=>{this.resetLoader(r),a(this.createKeyLoadError(t,E.INTERNAL_ABORTED,new Error("key loading aborted"),n))}};n.load(s,l,c)}))}
2resetLoader(e){const{frag:t,keyInfo:r,url:n}=e,i=r.loader;t.keyLoader===i&&(t.keyLoader=null,r.loader=null),delete this.keyUriToKeyInfo[n],i&&i.destroy()}}function Hs(){return self.SourceBuffer||self.WebKitSourceBuffer}function Vs(){if(!it())return!1;const e=Hs();return!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove}class Ks{constructor(e,t,r,n){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=e,this.media=t,this.fragmentTracker=r,this.hls=n}destroy(){this.media=null,this.hls=this.fragmentTracker=null}poll(e,t){const{config:r,media:n,stalled:i}=this;if(null===n)return;const{currentTime:a,seeking:s}=n,o=this.seeking&&!s,l=!this.seeking&&s;if(this.seeking=s,a!==e){if(this.moved=!0,s||(this.nudgeRetry=0),null!==i){if(this.stallReported){const e=self.performance.now()-i;A.warn(`playback not stuck anymore @${a}, after ${Math.round(e)}ms`),this.stallReported=!1}this.stalled=null}return}if(l||o)return void(this.stalled=null);if(n.paused&&!s||n.ended||0===n.playbackRate||!Zr.getBuffered(n).length)return void(this.nudgeRetry=0);const c=Zr.bufferInfo(n,a,0),u=c.nextStart||0;if(s){const e=c.len>2,r=!u||t&&t.start<=a||u-a>2&&!this.fragmentTracker.getPartialFragment(a);if(e||r)return;this.moved=!1}if(!this.moved&&null!==this.stalled){var d;if(!(c.len>0)&&!u)return;const e=Math.max(u,c.start||0)-a,t=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,r=(null==t||null==(d=t.details)?void 0:d.live)?2*t.details.targetduration:2,i=this.fragmentTracker.getPartialFragment(a);if(e>0&&(e<=r||i))return void(n.paused||this._trySkipBufferHole(i))}const h=self.performance.now();if(null===i)return void(this.stalled=h);const f=h-i;if(!s&&f>=250&&(this._reportStall(c),!this.media))return;const p=Zr.bufferInfo(n,a,r.maxBufferHole);this._tryFixBufferStall(p,f)}_tryFixBufferStall(e,t){const{config:r,fragmentTracker:n,media:i}=this;if(null===i)return;const a=i.currentTime,s=n.getPartialFragment(a);if(s){if(this._trySkipBufferHole(s)||!this.media)return}(e.len>r.maxBufferHole||e.nextStart&&e.nextStart-a<r.maxBufferHole)&&t>1e3*r.highBufferWatchdogPeriod&&(A.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}_reportStall(e){const{hls:t,media:r,stallReported:n}=this;if(!n&&r){this.stallReported=!0;const n=new Error(`Playback stalling at @${r.currentTime} due to low buffer (${JSON.stringify(e)})`);A.warn(n.message),t.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.BUFFER_STALLED_ERROR,fatal:!1,error:n,buffer:e.len})}}_trySkipBufferHole(e){const{config:t,hls:r,media:n}=this;if(null===n)return 0;const i=n.currentTime,a=Zr.bufferInfo(n,i,0),s=i<a.start?a.start:a.nextStart;if(s){const o=a.len<=t.maxBufferHole,l=a.len>0&&a.len<1&&n.readyState<3,c=s-i;if(c>0&&(o||l)){if(c>t.maxBufferHole){const{fragmentTracker:t}=this;let r=!1;if(0===i){const e=t.getAppendedFrag(0,Ct);e&&s<e.end&&(r=!0)}if(!r){const r=e||t.getAppendedFrag(i,Ct);if(r){let e=!1,n=r.end;for(;n<s;){const r=t.getPartialFragment(n);if(!r){e=!0;break}n+=r.duration}if(e)return 0}}}const a=Math.max(s+.05,i+.1);if(A.warn(`skipping hole, adjusting currentTime from ${i} to ${a}`),this.moved=!0,this.stalled=null,n.currentTime=a,e&&!e.gap){const t=new Error(`fragment loaded with buffer holes, seeking from ${i} to ${a}`);r.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:t,reason:t.message,frag:e})}return a}}return 0}_tryNudgeBuffer(){const{config:e,hls:t,media:r,nudgeRetry:n}=this;if(null===r)return;const i=r.currentTime;if(this.nudgeRetry++,n<e.nudgeMaxRetry){const a=i+(n+1)*e.nudgeOffset,s=new Error(`Nudging 'currentTime' from ${i} to ${a}`);A.warn(s.message),r.currentTime=a,t.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.BUFFER_NUDGE_ON_STALL,error:s,fatal:!1})}else{const r=new Error(`Playhead still not moving while enough data buffered @${i} after ${e.nudgeMaxRetry} nudges`);A.error(r.message),t.trigger(b.ERROR,{type:w.MEDIA_ERROR,details:E.BUFFER_STALLED_ERROR,error:r,fatal:!0})}}}class Ys extends kn{constructor(e,t,r){super(e,t,r,"[stream-controller]",Ct),this.audioCodecSwap=!1,this.gapController=null,this.level=-1,this._forceStartLoad=!1,this.altAudio=!1,this.audioOnly=!1,this.fragPlaying=null,this.onvplaying=null,this.onvseeked=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this._registerListeners()}_registerListeners(){const{hls:e}=this;
2e.on(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(b.MANIFEST_LOADING,this.onManifestLoading,this),e.on(b.MANIFEST_PARSED,this.onManifestParsed,this),e.on(b.LEVEL_LOADING,this.onLevelLoading,this),e.on(b.LEVEL_LOADED,this.onLevelLoaded,this),e.on(b.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(b.ERROR,this.onError,this),e.on(b.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(b.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(b.BUFFER_CREATED,this.onBufferCreated,this),e.on(b.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(b.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(b.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(b.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(b.MANIFEST_LOADING,this.onManifestLoading,this),e.off(b.MANIFEST_PARSED,this.onManifestParsed,this),e.off(b.LEVEL_LOADED,this.onLevelLoaded,this),e.off(b.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(b.ERROR,this.onError,this),e.off(b.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(b.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(b.BUFFER_CREATED,this.onBufferCreated,this),e.off(b.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(b.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(b.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying()}startLoad(e){if(this.levels){const{lastCurrentTime:t,hls:r}=this;if(this.stopLoad(),this.setInterval(100),this.level=-1,!this.startFragRequested){let e=r.startLevel;-1===e&&(r.config.testBandwidth&&this.levels.length>1?(e=0,this.bitrateTest=!0):e=r.firstAutoLevel),r.nextLoadLevel=e,this.level=r.loadLevel,this.loadedmetadata=!1}t>0&&-1===e&&(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t),this.state=yn,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this._forceStartLoad=!0,this.state=mn}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Ln:{const{levels:e,level:t}=this,r=null==e?void 0:e[t],n=null==r?void 0:r.details;if(n&&(!n.live||this.levelLastLoaded===r)){if(this.waitForCdnTuneIn(n))break;this.state=yn;break}if(this.hls.nextLoadLevel!==this.level){this.state=yn;break}break}case En:{var e;const t=self.performance.now(),r=this.retryDate;if(!r||t>=r||null!=(e=this.media)&&e.seeking){const{levels:e,level:t}=this,r=null==e?void 0:e[t];this.resetStartWhenNotLoaded(r||null),this.state=yn}}}this.state===yn&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){super.onTickEnd(),this.checkBuffer(),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:r,media:n}=this;if(null===t||!n&&(this.startFragRequested||!e.config.startFragPrefetch))return;if(this.altAudio&&this.audioOnly)return;const i=this.buffering?e.nextLoadLevel:e.loadLevel;if(null==r||!r[i])return;const a=r[i],s=this.getMainFwdBufferInfo();if(null===s)return;const o=this.getLevelDetails();if(o&&this._streamEnded(s,o)){const e={};return this.altAudio&&(e.type="video"),this.hls.trigger(b.BUFFER_EOS,e),void(this.state=xn)}if(!this.buffering)return;e.loadLevel!==i&&-1===e.manualLevel&&this.log(`Adapting to level ${i} from level ${this.level}`),this.level=e.nextLoadLevel=i;const l=a.details;if(!l||this.state===Ln||l.live&&this.levelLastLoaded!==a)return this.level=i,void(this.state=Ln);const c=s.len,u=this.getMaxBufferLength(a.maxBitrate);if(c>=u)return;this.backtrackFragment&&this.backtrackFragment.start>s.end&&(this.backtrackFragment=null);const d=this.backtrackFragment?this.backtrackFragment.start:s.end;let h=this.getNextFragment(d,l);if(this.couldBacktrack&&!this.fragPrevious&&h&&"initSegment"!==h.sn&&this.fragmentTracker.getState(h)!==qr){var f;const e=(null!=(f=this.backtrackFragment)?f:h).sn-l.startSN,t=l.fragments[e-1];t&&h.cc===t.cc&&(h=t,this.fragmentTracker.removeFragment(t))}else this.backtrackFragment&&s.len&&(this.backtrackFragment=null);if(h&&this.isLoopLoading(h,d)){if(!h.gap){const e=this.audioOnly&&!this.altAudio?D:_,t=(e===_?this.videoBuffer:this.mediaBuffer)||this.media;t&&this.afterBufferFlushed(t,e,Ct)}h=this.getNextFragmentLoopLoading(h,l,s,Ct,u)}
2h&&(!h.initSegment||h.initSegment.data||this.bitrateTest||(h=h.initSegment),this.loadFragment(h,a,d))}loadFragment(e,t,r){const n=this.fragmentTracker.getState(e);this.fragCurrent=e,n===Vr||n===Yr?"initSegment"===e.sn?this._loadInitSegment(e,t):this.bitrateTest?(this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(e,t)):(this.startFragRequested=!0,super.loadFragment(e,t,r)):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,Ct)}followingBufferedFrag(e){return e?this.getBufferedFrag(e.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:e,media:t}=this;if(null!=t&&t.readyState){let r;const n=this.getAppendedFrag(t.currentTime);n&&n.start>1&&this.flushMainBuffer(0,n.start-1);const i=this.getLevelDetails();if(null!=i&&i.live){const e=this.getMainFwdBufferInfo();if(!e||e.len<2*i.targetduration)return}if(!t.paused&&e){const t=e[this.hls.nextLoadLevel],n=this.fragLastKbps;r=n&&this.fragCurrent?this.fragCurrent.duration*t.maxBitrate/(1e3*n)+1:0}else r=0;const a=this.getBufferedFrag(t.currentTime+r);if(a){const e=this.followingBufferedFrag(a);if(e){this.abortCurrentFrag();const t=e.maxStartPTS?e.maxStartPTS:e.start,r=e.duration,n=Math.max(a.end,t+Math.min(Math.max(r-this.config.maxFragLookUpTolerance,r*(this.couldBacktrack?.5:.125)),r*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(n,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const e=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,e&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.state){case bn:case wn:case En:case Sn:case On:this.state=yn}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,this.altAudio?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const r=t.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),r.addEventListener("playing",this.onvplaying),r.addEventListener("seeked",this.onvseeked),this.gapController=new Ks(this.config,r,this.fragmentTracker,this.hls)}onMediaDetaching(){const{media:e}=this;e&&this.onvplaying&&this.onvseeked&&(e.removeEventListener("playing",this.onvplaying),e.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),super.onMediaDetaching()}onMediaPlaying(){this.tick()}onMediaSeeked(){const e=this.media,t=e?e.currentTime:null;v(t)&&this.log(`Media seeked to ${t.toFixed(3)}`);const r=this.getMainFwdBufferInfo();null!==r&&0!==r.len?this.tick():this.warn(`Main forward buffer length on "seeked" event ${r?r.len:"empty"})`)}onManifestLoading(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(b.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=!1,this.startPosition=this.lastCurrentTime=this.fragLastKbps=0,this.levels=this.fragPlaying=this.backtrackFragment=this.levelLastLoaded=null,this.altAudio=this.audioOnly=this.startFragRequested=!1}onManifestParsed(e,t){let r=!1,n=!1;t.levels.forEach((e=>{const t=e.audioCodec;t&&(r=r||-1!==t.indexOf("mp4a.40.2"),n=n||-1!==t.indexOf("mp4a.40.5"))})),this.audioCodecSwitch=r&&n&&!function(){var e;const t=Hs();return"function"==typeof(null==t||null==(e=t.prototype)?void 0:e.changeType)}(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1}onLevelLoading(e,t){const{levels:r}=this;if(!r||this.state!==yn)return;const n=r[t.level];(!n.details||n.details.live&&this.levelLastLoaded!==n||this.waitForCdnTuneIn(n.details))&&(this.state=Ln)}onLevelLoaded(e,t){var r;const{levels:n}=this,i=t.level,a=t.details,s=a.totalduration;if(!n)return void this.warn(`Levels were reset while loading level ${i}`);this.log(`Level ${i} loaded [${a.startSN},${a.endSN}]${a.lastPartSn?`[part-${a.lastPartSn}-${a.lastPartIndex}]`:""}, cc [${a.startCC}, ${a.endCC}] duration:${s}`);const o=n[i],l=this.fragCurrent;!l||this.state!==wn&&this.state!==En||l.level!==t.level&&l.loader&&this.abortCurrentFrag();let c=0;if(a.live||null!=(r=o.details)&&r.live){var u;if(this.checkLiveUpdate(a),a.deltaUpdateFailed)return;c=this.alignPlaylists(a,o.details,null==(u=this.levelLastLoaded)?void 0:u.details)}if(o.details=a,this.levelLastLoaded=o,this.hls.trigger(b.LEVEL_UPDATED,{details:a,level:i}),this.state===Ln){if(this.waitForCdnTuneIn(a))return;this.state=yn}this.startFragRequested?a.live&&this.synchronizeToLiveEdge(a):this.setStartPosition(a,c),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:r,part:n,payload:i}=e,{levels:a}=this;if(!a)return void this.warn(`Levels were reset while fragment load was in progress. Fragment ${r.sn} of level ${r.level} will not be buffered`);const s=a[r.level],o=s.details;if(!o)return this.warn(`Dropping fragment ${r.sn} of level ${r.level} after level details were reset`),void this.fragmentTracker.removeFragment(r);const l=s.videoCodec,c=o.PTSKnown||!o.live,u=null==(t=r.initSegment)?void 0:t.data,d=this._getAudioCodec(s),h=this.transmuxer=this.transmuxer||new Ni(this.hls,Ct,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),f=n?n.index:-1,p=-1!==f,g=new en(r.level,r.sn,r.stats.chunkCount,i.byteLength,f,p),v=this.initPTS[r.cc];h.push(i,u,d,l,r,n,o.totalduration,c,g,v)}
2onAudioTrackSwitching(e,t){const r=this.altAudio;if(!!!t.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const e=this.fragCurrent;e&&(this.log("Switching to main audio track, cancel main fragment load"),e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();const e=this.hls;r&&(e.trigger(b.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),e.trigger(b.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const r=t.id,n=!!this.hls.audioTracks[r].url;if(n){const e=this.videoBuffer;e&&this.mediaBuffer!==e&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=e)}this.altAudio=n,this.tick()}onBufferCreated(e,t){const r=t.tracks;let n,i,a=!1;for(const e in r){const t=r[e];if("main"===t.id){if(i=e,n=t,"video"===e){const t=r[e];t&&(this.videoBuffer=t.buffer)}}else a=!0}a&&n?(this.log(`Alternate track found, use ${i}.buffered to schedule main fragment loading`),this.mediaBuffer=n.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:r,part:n}=t;if(r&&r.type!==Ct)return;if(this.fragContextChanged(r))return this.warn(`Fragment ${r.sn}${n?" p: "+n.index:""} of level ${r.level} finished buffering, but was aborted. state: ${this.state}`),void(this.state===On&&(this.state=yn));const i=n?n.stats:r.stats;this.fragLastKbps=Math.round(8*i.total/(i.buffering.end-i.loading.first)),"initSegment"!==r.sn&&(this.fragPrevious=r),this.fragBufferedComplete(r,n)}onError(e,t){var r;if(t.fatal)this.state=An;else switch(t.details){case E.FRAG_GAP:case E.FRAG_PARSING_ERROR:case E.FRAG_DECRYPT_ERROR:case E.FRAG_LOAD_ERROR:case E.FRAG_LOAD_TIMEOUT:case E.KEY_LOAD_ERROR:case E.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Ct,t);break;case E.LEVEL_LOAD_ERROR:case E.LEVEL_LOAD_TIMEOUT:case E.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==Ln||(null==(r=t.context)?void 0:r.type)!==kt||(this.state=yn);break;case E.BUFFER_APPEND_ERROR:case E.BUFFER_FULL_ERROR:if(!t.parent||"main"!==t.parent)return;if(t.details===E.BUFFER_APPEND_ERROR)return void this.resetLoadingState();this.reduceLengthAndFlushBuffer(t)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case E.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}checkBuffer(){const{media:e,gapController:t}=this;if(e&&t&&e.readyState){if(this.loadedmetadata||!Zr.getBuffered(e).length){const e=this.state!==yn?this.fragCurrent:null;t.poll(this.lastCurrentTime,e)}this.lastCurrentTime=e.currentTime}}onFragLoadEmergencyAborted(){this.state=yn,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==D||this.audioOnly&&!this.altAudio){const e=(t===_?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(e,t,Ct),this.tick()}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level),this.levels=t.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:e}=this;if(!e)return;const t=e.currentTime;let r=this.startPosition;if(r>=0&&t<r){if(e.seeking)return void this.log(`could not seek to ${r}, already seeking at ${t}`);const n=Zr.getBuffered(e),i=(n.length?n.start(0):0)-r;i>0&&(i<this.config.maxBufferHole||i<this.config.maxFragLookUpTolerance)&&(this.log(`adjusting start position by ${i} to match buffer start`),r+=i,this.startPosition=r),this.log(`seek to target start position ${r} from current time ${t}`),e.currentTime=r}}_getAudioCodec(e){let t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&t&&(this.log("Swapping audio codec"),t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),t}_loadBitrateTestFrag(e,t){e.bitrateTest=!0,this._doFragLoad(e,t).then((r=>{const{hls:n}=this;if(!r||this.fragContextChanged(e))return;t.fragmentError=0,this.state=yn,this.startFragRequested=!1,this.bitrateTest=!1;const i=e.stats;i.parsing.start=i.parsing.end=i.buffering.start=i.buffering.end=self.performance.now(),n.trigger(b.FRAG_LOADED,r),e.bitrateTest=!1}))}_handleTransmuxComplete(e){var t;const r="main",{hls:n}=this,{remuxResult:i,chunkMeta:a}=e,s=this.getCurrentContext(a);if(!s)return void this.resetWhenMissingContext(a);const{frag:o,part:l,level:c}=s,{video:u,text:d,id3:h,initSegment:f}=i,{details:p}=c,g=this.altAudio?void 0:i.audio;if(this.fragContextChanged(o))this.fragmentTracker.removeFragment(o);else{if(this.state=Sn,f){if(null!=f&&f.tracks){const e=o.initSegment||o;this._bufferInitSegment(c,f.tracks,e,a),n.trigger(b.FRAG_PARSING_INIT_SEGMENT,{frag:e,id:r,tracks:f.tracks})}const e=f.initPTS,t=f.timescale;v(e)&&(this.initPTS[o.cc]={baseTime:e,timescale:t},n.trigger(b.INIT_PTS_FOUND,{frag:o,id:r,initPTS:e,timescale:t}))}if(u&&p&&"initSegment"!==o.sn){const e=p.fragments[o.sn-1-p.startSN],t=o.sn===p.startSN,r=!e||o.cc>e.cc;if(!1!==i.independent){const{startPTS:e,endPTS:n,startDTS:i,endDTS:s}=u;if(l)l.elementaryStreams[u.type]={startPTS:e,endPTS:n,startDTS:i,endDTS:s};else if(u.firstKeyFrame&&u.independent&&1===a.id&&!r&&(this.couldBacktrack=!0),u.dropped&&u.independent){const i=this.getMainFwdBufferInfo(),a=(i?i.end:this.getLoadPosition())+this.config.maxBufferHole,l=u.firstKeyFramePTS?u.firstKeyFramePTS:e;if(!t&&a<l-this.config.maxBufferHole&&!r)return void this.backtrack(o);r&&(o.gap=!0),o.setElementaryStreamInfo(u.type,o.start,n,o.start,s,!0)}else t&&e>2&&(o.gap=!0);o.setElementaryStreamInfo(u.type,e,n,i,s),this.backtrackFragment&&(this.backtrackFragment=o),this.bufferFragmentData(u,o,l,a,t||r)}else{if(!t&&!r)return void this.backtrack(o);o.gap=!0}}if(g){const{startPTS:e,endPTS:t,startDTS:r,endDTS:n}=g;l&&(l.elementaryStreams[D]={startPTS:e,endPTS:t,startDTS:r,endDTS:n}),o.setElementaryStreamInfo(D,e,t,r,n),this.bufferFragmentData(g,o,l,a)}if(p&&null!=h&&null!=(t=h.samples)&&t.length){const e={id:r,frag:o,details:p,samples:h.samples};n.trigger(b.FRAG_PARSING_METADATA,e)}if(p&&d){const e={id:r,frag:o,details:p,samples:d.samples};n.trigger(b.FRAG_PARSING_USERDATA,e)}}}_bufferInitSegment(e,t,r,n){if(this.state!==Sn)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&delete t.audio;const{audio:i,video:a,audiovideo:s}=t;if(i){let t=e.audioCodec;const r=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){t&&(t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5");const e=i.metadata;e&&"channelCount"in e&&1!==(e.channelCount||1)&&-1===r.indexOf("firefox")&&(t="mp4a.40.5")}t&&-1!==t.indexOf("mp4a.40.5")&&-1!==r.indexOf("android")&&"audio/mpeg"!==i.container&&(t="mp4a.40.2",this.log(`Android: force audio codec to ${t}`)),e.audioCodec&&e.audioCodec!==t&&this.log(`Swapping manifest audio codec "${e.audioCodec}" for "${t}"`),i.levelCodec=t,i.id="main",this.log(`Init audio buffer, container:${i.container}, codecs[selected/level/parsed]=[${t||""}/${e.audioCodec||""}/${i.codec}]`)}a&&(a.levelCodec=e.videoCodec,a.id="main",this.log(`Init video buffer, container:${a.container}, codecs[level/parsed]=[${e.videoCodec||""}/${a.codec}]`)),s&&this.log(`Init audiovideo buffer, container:${s.container}, codecs[level/parsed]=[${e.codecs}/${s.codec}]`),this.hls.trigger(b.BUFFER_CODECS,t),Object.keys(t).forEach((e=>{const i=t[e].initSegment;null!=i&&i.byteLength&&this.hls.trigger(b.BUFFER_APPENDING,{type:e,data:i,frag:r,part:null,chunkMeta:n,parent:r.type})})),this.tickImmediate()}getMainFwdBufferInfo(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,Ct)}backtrack(e){this.couldBacktrack=!0,this.backtrackFragment=e,this.resetTransmuxer(),this.flushBufferGap(e),this.fragmentTracker.removeFragment(e),this.fragPrevious=null,this.nextLoadPosition=e.start,this.state=yn}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&!1===e.seeking){const r=e.currentTime;if(Zr.isBuffered(e,r)?t=this.getAppendedFrag(r):Zr.isBuffered(e,r+.1)&&(t=this.getAppendedFrag(r+.1)),t){this.backtrackFragment=null;const e=this.fragPlaying,r=t.level;e&&t.sn===e.sn&&e.level===r||(this.fragPlaying=t,this.hls.trigger(b.FRAG_CHANGED,{frag:t}),e&&e.level===r||this.hls.trigger(b.LEVEL_SWITCHED,{level:r}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){const e=this.media;return e?this.fragPlaying||this.getAppendedFrag(e.currentTime):null}get currentProgramDateTime(){const e=this.media;if(e){const t=e.currentTime,r=this.currentFrag;if(r&&v(t)&&v(r.programDateTime)){const e=r.programDateTime+1e3*(t-r.start);return new Date(e)}}return null}get currentLevel(){const e=this.currentFrag;return e?e.level:-1}get nextBufferedFrag(){const e=this.currentFrag;return e?this.followingBufferedFrag(e):null}get forceStartLoad(){return this._forceStartLoad}}class qs{static get version(){return"1.5.20"}static isMSESupported(){return Vs()}static isSupported(){return function(){if(!Vs())return!1;const e=it();
vendor: 11,425 bytes, line 2
2return"function"==typeof(null==e?void 0:e.isTypeSupported)&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some((t=>e.isTypeSupported(lt(t,"video"))))||["mp4a.40.2","fLaC"].some((t=>e.isTypeSupported(lt(t,"audio")))))}()}static getMediaSource(){return it()}static get Events(){return b}static get ErrorTypes(){return w}static get ErrorDetails(){return E}static get DefaultConfig(){return qs.defaultConfig?qs.defaultConfig:Ns}static set DefaultConfig(e){qs.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this.started=!1,this._emitter=new Fi,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,this.triggeringException=void 0,function(e,t){if("object"==typeof console&&!0===e||"object"==typeof e){x(e,"debug","log","info","warn","error");try{O.log(`Debug logs enabled for "${t}" in hls.js version 1.5.20`)}catch(e){O=S}}else O=S}(e.debug||!1,"Hls instance");const t=this.config=function(e,t){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(void 0!==t.liveMaxLatencyDurationCount&&(void 0===t.liveSyncDurationCount||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(void 0!==t.liveMaxLatencyDuration&&(void 0===t.liveSyncDuration||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const r=js(e),n=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return["manifest","level","frag"].forEach((e=>{const i=`${"level"===e?"playlist":e}LoadPolicy`,a=void 0===t[i],s=[];n.forEach((n=>{const o=`${e}Loading${n}`,l=t[o];if(void 0!==l&&a){s.push(o);const e=r[i].default;switch(t[i]={default:e},n){case"TimeOut":e.maxLoadTimeMs=l,e.maxTimeToFirstByteMs=l;break;case"MaxRetry":e.errorRetry.maxNumRetry=l,e.timeoutRetry.maxNumRetry=l;break;case"RetryDelay":e.errorRetry.retryDelayMs=l,e.timeoutRetry.retryDelayMs=l;break;case"MaxRetryTimeout":e.errorRetry.maxRetryDelayMs=l,e.timeoutRetry.maxRetryDelayMs=l}}})),s.length&&A.warn(`hls.js config: "${s.join('", "')}" setting(s) are deprecated, use "${i}": ${JSON.stringify(t[i])}`)})),h(h({},r),t)}(qs.DefaultConfig,e);this.userConfig=e,t.progressive&&Us(t);const{abrController:r,bufferController:n,capLevelController:i,errorController:a,fpsController:s}=t,o=new a(this),l=this.abrController=new r(this),c=this.bufferController=new n(this),u=this.capLevelController=new i(this),d=new s(this),f=new Nt(this),p=new Xt(this),g=t.contentSteeringController,v=g?new g(this):null,m=this.levelController=new $s(this,v),y=new Wr(this),w=new zs(this.config),E=this.streamController=new Ys(this,y,w);u.setStreamController(E),d.setStreamController(E);const T=[f,m,E];v&&T.splice(1,0,v),this.networkControllers=T;const P=[l,c,u,d,p,y];this.audioTrackController=this.createController(t.audioTrackController,T);const L=t.audioStreamController;L&&T.push(new L(this,y,w)),this.subtitleTrackController=this.createController(t.subtitleTrackController,T);const k=t.subtitleStreamController;k&&T.push(new k(this,y,w)),this.createController(t.timelineController,P),w.emeController=this.emeController=this.createController(t.emeController,P),this.cmcdController=this.createController(t.cmcdController,P),this.latencyController=this.createController(Qt,P),this.coreComponents=P,T.push(o);const I=o.onErrorOut;"function"==typeof I&&this.on(b.ERROR,I,o)}createController(e,t){if(e){const r=new e(this);return t&&t.push(r),r}return null}on(e,t,r=this){this._emitter.on(e,t,r)}once(e,t,r=this){this._emitter.once(e,t,r)}removeAllListeners(e){this._emitter.removeAllListeners(e)}off(e,t,r=this,n){this._emitter.off(e,t,r,n)}listeners(e){return this._emitter.listeners(e)}emit(e,t,r){return this._emitter.emit(e,t,r)}trigger(e,t){if(this.config.debug)return this.emit(e,e,t);try{return this.emit(e,e,t)}catch(t){if(A.error("An internal error happened while handling event "+e+'. Error message: "'+t.message+'". Here is a stacktrace:',t),!this.triggeringException){this.triggeringException=!0;const r=e===b.ERROR;this.trigger(b.ERROR,{type:w.OTHER_ERROR,details:E.INTERNAL_EXCEPTION,fatal:r,event:e,error:t}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){A.log("destroy"),this.trigger(b.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach((e=>e.destroy())),this.networkControllers.length=0,this.coreComponents.forEach((e=>e.destroy())),this.coreComponents.length=0;const e=this.config;e.xhrSetup=e.fetchSetup=void 0,this.userConfig=null}attachMedia(e){A.log("attachMedia"),this._media=e,this.trigger(b.MEDIA_ATTACHING,{media:e})}detachMedia(){A.log("detachMedia"),this.trigger(b.MEDIA_DETACHING,void 0),this._media=null}loadSource(e){this.stopLoad();const t=this.media,r=this.url,n=this.url=u.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,A.log(`loadSource:${n}`),t&&r&&(r!==n||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(b.MANIFEST_LOADING,{url:e})}startLoad(e=-1){A.log(`startLoad(${e})`),this.started=!0,this.resumeBuffering();for(let t=0;t<this.networkControllers.length&&(this.networkControllers[t].startLoad(e),this.started&&this.networkControllers);t++);}stopLoad(){A.log("stopLoad"),this.started=!1;for(let e=0;e<this.networkControllers.length&&(this.networkControllers[e].stopLoad(),!this.started&&this.networkControllers);e++);}resumeBuffering(){A.log("resume buffering"),this.networkControllers.forEach((e=>{e.resumeBuffering&&e.resumeBuffering()}))}pauseBuffering(){A.log("pause buffering"),this.networkControllers.forEach((e=>{e.pauseBuffering&&e.pauseBuffering()}))}swapAudioCodec(){A.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){A.log("recoverMediaError");const e=this._media;this.detachMedia(),e&&this.attachMedia(e)}removeLevel(e){this.levelController.removeLevel(e)}get levels(){const e=this.levelController.levels;return e||[]}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){A.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){A.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){A.log(`set loadLevel:${e}`),this.levelController.manualLevel=e}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(e){this.levelController.nextLoadLevel=e}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(e){A.log(`set firstLevel:${e}`),this.levelController.firstLevel=e}get startLevel(){const e=this.levelController.startLevel;return-1===e&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:e}set startLevel(e){A.log(`set startLevel:${e}`),-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(e){const t=!!e;t!==this.config.capLevelToPlayerSize&&(t?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=t)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimate():NaN}set bandwidthEstimate(e){this.abrController.resetEstimator(e)}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(A.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){(function(e){return Jt.indexOf(e)>-1})(e)&&this._maxHdcpLevel!==e&&(this._maxHdcpLevel=e,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return-1===this.levelController.manualLevel}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:e,config:{minAutoBitrate:t}}=this;if(!e)return 0;const r=e.length;for(let n=0;n<r;n++)if(e[n].maxBitrate>=t)return n;return 0}get maxAutoLevel(){const{levels:e,autoLevelCapping:t,maxHdcpLevel:r}=this;let n;if(n=-1===t&&null!=e&&e.length?e.length-1:t,r)for(let t=n;t--;){const n=e[t].attrs["HDCP-LEVEL"];if(n&&n<=r)return t}return n}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(e){this.abrController.nextAutoLevel=e}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}setAudioOption(e){var t;return null==(t=this.audioTrackController)?void 0:t.setAudioOption(e)}setSubtitleOption(e){var t;return null==(t=this.subtitleTrackController)||t.setSubtitleOption(e),null}get allAudioTracks(){const e=this.audioTrackController;return e?e.allAudioTracks:[]}get audioTracks(){const e=this.audioTrackController;return e?e.audioTracks:[]}get audioTrack(){const e=this.audioTrackController;return e?e.audioTrack:-1}set audioTrack(e){const t=this.audioTrackController;t&&(t.audioTrack=e)}get allSubtitleTracks(){const e=this.subtitleTrackController;return e?e.allSubtitleTracks:[]}get subtitleTracks(){const e=this.subtitleTrackController;return e?e.subtitleTracks:[]}get subtitleTrack(){const e=this.subtitleTrackController;return e?e.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(e){const t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}get subtitleDisplay(){const e=this.subtitleTrackController;return!!e&&e.subtitleDisplay}set subtitleDisplay(e){const t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(e){this.config.lowLatencyMode=e}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}}qs.defaultConfig=void 0},31135:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>i});var n=r(14371);n.domToReact,n.htmlToDOM,n.attributesToProps,n.Comment,n.Element,n.ProcessingInstruction,n.Text;const i=n},42627:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 1,319 bytes, line 2
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},69049:(e,t,r)=>{"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{A:()=>i})},70138:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,{A:()=>n})},81313:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},61184:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,{A:()=>n})},41968:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},77196:(e,t,r)=>{"use strict";
2function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{A:()=>i})},41603:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,{A:()=>n})},29694:(e,t,r)=>{"use strict";r.d(t,{A:()=>ve});r(98376),r(39428),r(94149),r(16411),r(62234),r(47748),r(18981),r(73185),r(80630),r(18867),r(68803),r(56569),r(31759),r(87050),r(27968),r(14293),r(5305),r(68291),r(63252),r(11875),r(11011),r(73294),r(33975),r(37324),r(72273),r(58070),r(93510),r(2432),r(33873),r(47010),r(95307),r(60595),r(75668),r(7678),r(81909),r(48404);function n(e){return n="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},n(e)}function i(e){return null!==e&&"object"===n(e)&&"constructor"in e&&e.constructor===Object}function a(e,t){void 0===e&&(e={}),void 0===t&&(t={});var r=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return r.indexOf(e)<0})).forEach((function(r){void 0===e[r]?e[r]=t[r]:i(t[r])&&i(e[r])&&Object.keys(t[r]).length>0&&a(e[r],t[r])}))}var s={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){var e="undefined"!=typeof document?document:{};return a(e,s),e}var l={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function c(){var e="undefined"!=typeof window?window:{};return a(e,l),e}var u,d,h;r(10568);function f(e){return function(e){if(Array.isArray(e))return p(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)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t,r){var n;return n=function(e,t){if("object"!=v(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==v(n)?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){return v="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},v(e)}function m(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function y(){return Date.now()}function b(e,t){void 0===t&&(t="x");var r,n,i,a=c(),s=function(e){var t,r=c();return r.getComputedStyle&&(t=r.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return a.WebKitCSSMatrix?((n=s.transform||s.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new a.WebKitCSSMatrix("none"===n?"":n)):r=(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=a.WebKitCSSMatrix?i.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(n=a.WebKitCSSMatrix?i.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),n||0}function w(e){return"object"===v(e)&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function E(){for(var e,t=Object(arguments.length<=0?void 0:arguments[0]),r=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&(e=i,!("undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType))))for(var a=Object.keys(Object(i)).filter((function(e){return r.indexOf(e)<0})),s=0,o=a.length;s<o;s+=1){var l=a[s],c=Object.getOwnPropertyDescriptor(i,l);void 0!==c&&c.enumerable&&(w(t[l])&&w(i[l])?i[l].__swiper__?t[l]=i[l]:E(t[l],i[l]):!w(t[l])&&w(i[l])?(t[l]={},i[l].__swiper__?t[l]=i[l]:E(t[l],i[l])):t[l]=i[l])}}return t}function T(e,t,r){e.style.setProperty(t,r)}function S(e){var t,r=e.swiper,n=e.targetPosition,i=e.side,a=c(),s=-r.translate,o=null,l=r.params.speed;r.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(r.cssModeFrameID);var u=n>s?"next":"prev",d=function(e,t){return"next"===u&&e>=t||"prev"===u&&e<=t};!function e(){t=(new Date).getTime(),null===o&&(o=t);var c=Math.max(Math.min((t-o)/l,1),0),u=.5-Math.cos(c*Math.PI)/2,h=s+u*(n-s);if(d(h,n)&&(h=n),r.wrapperEl.scrollTo(g({},i,h)),d(h,n))return r.wrapperEl.style.overflow="hidden",r.wrapperEl.style.scrollSnapType="",setTimeout((function(){r.wrapperEl.style.overflow="",r.wrapperEl.scrollTo(g({},i,h))})),void a.cancelAnimationFrame(r.cssModeFrameID);r.cssModeFrameID=a.requestAnimationFrame(e)}()}function O(e,t){void 0===t&&(t="");var r=c(),n=f(e.children);return r.HTMLSlotElement&&e instanceof HTMLSlotElement&&n.push.apply(n,f(e.assignedElements())),t?n.filter((function(e){return e.matches(t)})):n}function x(e,t){var r=c(),n=t.contains(e);!n&&r.HTMLSlotElement&&t instanceof HTMLSlotElement&&((n=f(t.assignedElements()).includes(e))||(n=function(e,t){for(var r=[t];r.length>0;){var n=r.shift();if(e===n)return!0;r.push.apply(r,f(n.children).concat(f(n.shadowRoot?n.shadowRoot.children:[]),f(n.assignedElements?n.assignedElements():[])))}}(e,t)));return n}function A(e){try{return void console.warn(e)}catch(e){}}function P(e,t){var r;void 0===t&&(t=[]);var n=document.createElement(e);return(r=n.classList).add.apply(r,f(Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((function(e){return!!e.trim()}))}(t))),n}function L(e,t){return c().getComputedStyle(e,null).getPropertyValue(t)}function k(e){var t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function I(e,t,r){var n=c();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,F(n.key),n)}}function C(e){return C="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},C(e)}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?D(Object(r),!0).forEach((function(t){M(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function M(e,t,r){return(t=F(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F(e){var t=function(e,t){if("object"!=C(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=C(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==C(t)?t:t+""}function N(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||U(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 j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return o}}(e,t)||U(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 U(e,t){if(e){if("string"==typeof e)return B(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?B(e,t):void 0}}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $(){return u||(u=function(){var e=c(),t=o();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),u}function G(e){return void 0===e&&(e={}),d||(d=function(e){var t=(void 0===e?{}:e).userAgent,r=$(),n=c(),i=n.navigator.platform,a=t||n.navigator.userAgent,s={ios:!1,android:!1},o=n.screen.width,l=n.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/),d=a.match(/(iPad).*OS\s([\d_]+)/),h=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===i,g="MacIntel"===i;return!d&&g&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(o,"x").concat(l))>=0&&((d=a.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),g=!1),u&&!p&&(s.os="android",s.android=!0),(d||f||h)&&(s.os="ios",s.ios=!0),s}(e)),d}function z(){return h||(h=function(){var e=c(),t=G(),r=!1;function n(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){var i=String(e.navigator.userAgent);if(i.includes("Version/")){var a=j(i.split("Version/")[1].split(" ")[0].split(".").map((function(e){return Number(e)})),2),s=a[0],o=a[1];r=s<16||16===s&&o<2}}var l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),u=n();return{isSafari:r||u,needPerspectiveFix:r,need3dFix:u||l&&t.ios,isWebView:l}}()),h}var H={on:function(e,t,r){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;var i=r?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)})),n},once:function(e,t,r){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];t.apply(n,a)}return i.__emitterProxy=t,n.on(e,i,r)},onAny:function(e,t){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof e)return r;var n=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[n](e),r},offAny:function(e){var t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;var r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t},off:function(e,t){var r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((function(n,i){(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)}))})),r):r},emit:function(){var e,t,r,n=this;if(!n.eventsListeners||n.destroyed)return n;if(!n.eventsListeners)return n;for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),r=n):(e=a[0].events,t=a[0].data,r=a[0].context||n),t.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEac
2h((function(e){n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach((function(n){n.apply(r,[e].concat(N(t)))})),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(e){e.apply(r,t)}))})),n}};var V=function(e,t,r){t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};var K=function(e,t,r){t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};var Y=function(e,t){if(e&&!e.destroyed&&e.params){var r=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(r){var n=r.querySelector(".".concat(e.params.lazyPreloaderClass));!n&&e.isElement&&(r.shadowRoot?n=r.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)):requestAnimationFrame((function(){r.shadowRoot&&(n=r.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)))&&n.remove()}))),n&&n.remove()}}},q=function(e,t){if(e.slides[t]){var r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")}},W=function(e){if(e&&!e.destroyed&&e.params){var t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(r&&t&&!(t<0)){t=Math.min(t,r);var n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){var a=i,s=[a-t];return s.push.apply(s,N(Array.from({length:t}).map((function(e,t){return a+n+t})))),void e.slides.forEach((function(t,r){s.includes(t.column)&&q(e,r)}))}var o=i+n-1;if(e.params.rewind||e.params.loop)for(var l=i-t;l<=o+t;l+=1){var c=(l%r+r)%r;(c<i||c>o)&&q(e,c)}else for(var u=Math.max(i-t,0);u<=Math.min(o+t,r-1);u+=1)u!==i&&(u>o||u<i)&&q(e,u)}}};var X={updateSize:function(){var e,t,r=this,n=r.el;e=void 0!==r.params.width&&null!==r.params.width?r.params.width:n.clientWidth,t=void 0!==r.params.height&&null!==r.params.height?r.params.height:n.clientHeight,0===e&&r.isHorizontal()||0===t&&r.isVertical()||(e=e-parseInt(L(n,"padding-left")||0,10)-parseInt(L(n,"padding-right")||0,10),t=t-parseInt(L(n,"padding-top")||0,10)-parseInt(L(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(r,{width:e,height:t,size:r.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t,r){return parseFloat(t.getPropertyValue(e.getDirectionLabel(r))||0)}var r=e.params,n=e.wrapperEl,i=e.slidesEl,a=e.size,s=e.rtlTranslate,o=e.wrongRTL,l=e.virtual&&r.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=O(i,".".concat(e.params.slideClass,", swiper-slide")),d=l?e.virtual.slides.length:u.length,h=[],f=[],p=[],g=r.slidesOffsetBefore;"function"==typeof g&&(g=r.slidesOffsetBefore.call(e));var v=r.slidesOffsetAfter;"function"==typeof v&&(v=r.slidesOffsetAfter.call(e));var m=e.snapGrid.length,y=e.slidesGrid.length,b=r.spaceBetween,w=-g,E=0,S=0;if(void 0!==a){"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*a:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,u.forEach((function(e){s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&(T(n,"--swiper-centered-offset-before",""),T(n,"--swiper-centered-offset-after",""));var x,A=r.grid&&r.grid.rows>1&&e.grid;A?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();for(var P="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((function(e){return void 0!==r.breakpoints[e].slidesPerView})).length>0,k=0;k<d;k+=1){x=0;var R=void 0;if(u[k]&&(R=u[k]),A&&e.grid.updateSlide(k,R,u),!u[k]||"none"!==L(R,"display")){if("auto"===r.slidesPerView){P&&(u[k].style[e.getDirectionLabel("width")]="");var C=getComputedStyle(R),D=R.style.transform,_=R.style.webkitTransform;if(D&&(R.style.transform="none"),_&&(R.style.webkitTransform="none"),r.roundLengths)x=e.isHorizontal()?I(R,"width",!0):I(R,"height",!0);else{var M=t(C,"width"),F=t(C,"padding-left"),N=t(C,"padding-right"),j=t(C,"margin-left"),U=t(C,"margin-right"),B=C.getPropertyValue("box-sizing");if(B&&"border-box"===B)x=M+j+U;else{var $=R,G=$.clientWidth;x=M+F+N+j+U+($.offsetWidth-G)}}D&&(R.style.transform=D),_&&(R.style.webkitTransform=_),r.roundLengths&&(x=Math.floor(x))}else x=(a-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(x=Math.floor(x)),u[k]&&(u[k].style[e.getDirectionLabel("width")]="".concat(x,"px"));u[k]&&(u[k].swiperSlideSize=x),p.push(x),r.centeredSlides?(w=w+x/2+E/2+b,0===E&&0!==k&&(w=w-a/2-b),0===k&&(w=w-a/2-b),Math.abs(w)<.001&&(w=0),r.roundLengths&&(w=Math.floor(w)),S%r.slidesPerGroup==0&&h.push(w),f.push(w)):(r.roundLengths&&(w=Math.floor(w)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&h.push(w),f.push(w),w=w+x+b),e.virtualSize+=x+b,E=x,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+v,s&&o&&("slide"===r.effect||"coverflow"===r.effect)&&(n.style.width="".concat(e.virtualSize+b,"px")),r.setWrapperSize&&(n.style[e.getDirectionLabel("width")]="".concat(e.virtualSize+b,"px")),A&&e.grid.updateWrapperSize(x,h),!r.centeredSlides){for(var z=[],H=0;H<h.length;H+=1){var V=h[H];r.roundLengths&&(V=Math.floor(V)),h[H]<=e.virtualSize-a&&z.push(V)}h=z,Math.floor(e.virtualSize-a)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-a)}if(l&&r.loop){var K=p[0]+b;if(r.slidesPerGroup>1)for(var Y=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),q=K*r.slidesPerGroup,W=0;W<Y;W+=1)h.push(h[h.length-1]+q);for(var X=0;X<e.virtual.slidesBefore+e.virtual.slidesAfter;X+=1)1===r.slidesPerGroup&&h.push(h[h.length-1]+K),f.push(f[f.length-1]+K),e.virtualSize+=K}if(0===h.length&&(h=[0]),0!==b){var Q=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");u.filter((function(e,t){return!(r.cssMode&&!r.loop)||t!==u.length-1}
2)).forEach((function(e){e.style[Q]="".concat(b,"px")}))}if(r.centeredSlides&&r.centeredSlidesBounds){var J=0;p.forEach((function(e){J+=e+(b||0)}));var Z=(J-=b)>a?J-a:0;h=h.map((function(e){return e<=0?-g:e>Z?Z+v:e}))}if(r.centerInsufficientSlides){var ee=0;p.forEach((function(e){ee+=e+(b||0)})),ee-=b;var te=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(ee+te<a){var re=(a-ee-te)/2;h.forEach((function(e,t){h[t]=e-re})),f.forEach((function(e,t){f[t]=e+re}))}}if(Object.assign(e,{slides:u,snapGrid:h,slidesGrid:f,slidesSizesGrid:p}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){T(n,"--swiper-centered-offset-before","".concat(-h[0],"px")),T(n,"--swiper-centered-offset-after","".concat(e.size/2-p[p.length-1]/2,"px"));var ne=-e.snapGrid[0],ie=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((function(e){return e+ne})),e.slidesGrid=e.slidesGrid.map((function(e){return e+ie}))}if(d!==c&&e.emit("slidesLengthChange"),h.length!==m&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){var ae="".concat(r.containerModifierClass,"backface-hidden"),se=e.el.classList.contains(ae);d<=r.maxBackfaceHiddenSlides?se||e.el.classList.add(ae):se&&e.el.classList.remove(ae)}}},updateAutoHeight:function(e){var t,r=this,n=[],i=r.virtual&&r.params.virtual.enabled,a=0;"number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);var s=function(e){return i?r.slides[r.getSlideIndexByData(e)]:r.slides[e]};if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>1)if(r.params.centeredSlides)(r.visibleSlides||[]).forEach((function(e){n.push(e)}));else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){var o=r.activeIndex+t;if(o>r.slides.length&&!i)break;n.push(s(o))}else n.push(s(r.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){var l=n[t].offsetHeight;a=l>a?l:a}(a||0===a)&&(r.wrapperEl.style.height="".concat(a,"px"))},updateSlidesOffset:function(){for(var e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0,n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-r-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,r=t.params,n=t.slides,i=t.rtlTranslate,a=t.snapGrid;if(0!==n.length){void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();var s=-e;i&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];var o=r.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(var l=0;l<n.length;l+=1){var c=n[l],u=c.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(u-=n[0].swiperSlideOffset);var d=(s+(r.centeredSlides?t.minTranslate():0)-u)/(c.swiperSlideSize+o),h=(s-a[0]+(r.centeredSlides?t.minTranslate():0)-u)/(c.swiperSlideSize+o),f=-(s-u),p=f+t.slidesSizesGrid[l],g=f>=0&&f<=t.size-t.slidesSizesGrid[l],v=f>=0&&f<t.size-1||p>1&&p<=t.size||f<=0&&p>=t.size;v&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(l)),V(c,v,r.slideVisibleClass),V(c,g,r.slideFullyVisibleClass),c.progress=i?-d:d,c.originalProgress=i?-h:h}}},updateProgress:function(e){var t=this;if(void 0===e){var r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}var n=t.params,i=t.maxTranslate()-t.minTranslate(),a=t.progress,s=t.isBeginning,o=t.isEnd,l=t.progressLoop,c=s,u=o;if(0===i)a=0,s=!0,o=!0;else{a=(e-t.minTranslate())/i;var d=Math.abs(e-t.minTranslate())<1,h=Math.abs(e-t.maxTranslate())<1;s=d||a<=0,o=h||a>=1,d&&(a=0),h&&(a=1)}if(n.loop){var f=t.getSlideIndexByData(0),p=t.getSlideIndexByData(t.slides.length-1),g=t.slidesGrid[f],v=t.slidesGrid[p],m=t.slidesGrid[t.slidesGrid.length-1],y=Math.abs(e);(l=y>=g?(y-g)/m:(y+m-v)/m)>1&&(l-=1)}Object.assign(t,{progress:a,progressLoop:l,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!c&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(c&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){var e,t,r,n=this,i=n.slides,a=n.params,s=n.slidesEl,o=n.activeIndex,l=n.virtual&&a.virtual.enabled,c=n.grid&&a.grid&&a.grid.rows>1,u=function(e){return O(s,".".concat(a.slideClass).concat(e,", swiper-slide").concat(e))[0]};if(l)if(a.loop){var d=o-n.virtual.slidesBefore;d<0&&(d=n.virtual.slides.length+d),d>=n.virtual.slides.length&&(d-=n.virtual.slides.length),e=u('[data-swiper-slide-index="'.concat(d,'"]'))}else e=u('[data-swiper-slide-index="'.concat(o,'"]'));else c?(e=i.find((function(e){return e.column===o})),r=i.find((function(e){return e.column===o+1})),t=i.find((function(e){return e.column===o-1}))):e=i[o];e&&(c||(r=function(e,t){for(var r=[];e.nextElementSibling;){var n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(e,".".concat(a.slideClass,", swiper-slide"))[0],a.loop&&!r&&(r=i[0]),t=function(e,t){for(var r=[];e.previousElementSibling;){var n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(e,".".concat(a.slideClass,", swiper-slide"))[0],a.loop&&0===!t&&(t=i[i.length-1]))),i.forEac
2h((function(n){K(n,n===e,a.slideActiveClass),K(n,n===r,a.slideNextClass),K(n,n===t,a.slidePrevClass)})),n.emitSlidesClasses()},updateActiveIndex:function(e){var t,r=this,n=r.rtlTranslate?r.translate:-r.translate,i=r.snapGrid,a=r.params,s=r.activeIndex,o=r.realIndex,l=r.snapIndex,c=e,u=function(e){var t=e-r.virtual.slidesBefore;return t<0&&(t=r.virtual.slides.length+t),t>=r.virtual.slides.length&&(t-=r.virtual.slides.length),t};if(void 0===c&&(c=function(e){for(var t,r=e.slidesGrid,n=e.params,i=e.rtlTranslate?e.translate:-e.translate,a=0;a<r.length;a+=1)void 0!==r[a+1]?i>=r[a]&&i<r[a+1]-(r[a+1]-r[a])/2?t=a:i>=r[a]&&i<r[a+1]&&(t=a+1):i>=r[a]&&(t=a);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(r)),i.indexOf(n)>=0)t=i.indexOf(n);else{var d=Math.min(a.slidesPerGroupSkip,c);t=d+Math.floor((c-d)/a.slidesPerGroup)}if(t>=i.length&&(t=i.length-1),c!==s||r.params.loop)if(c===s&&r.params.loop&&r.virtual&&r.params.virtual.enabled)r.realIndex=u(c);else{var h,f=r.grid&&a.grid&&a.grid.rows>1;if(r.virtual&&a.virtual.enabled&&a.loop)h=u(c);else if(f){var p=r.slides.find((function(e){return e.column===c})),g=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(r.slides.indexOf(p),0)),h=Math.floor(g/a.grid.rows)}else if(r.slides[c]){var v=r.slides[c].getAttribute("data-swiper-slide-index");h=v?parseInt(v,10):c}else h=c;Object.assign(r,{previousSnapIndex:l,snapIndex:t,previousRealIndex:o,realIndex:h,previousIndex:s,activeIndex:c}),r.initialized&&W(r),r.emit("activeIndexChange"),r.emit("snapIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&(o!==h&&r.emit("realIndexChange"),r.emit("slideChange"))}else t!==l&&(r.snapIndex=t,r.emit("snapIndexChange"))},updateClickedSlide:function(e,t){var r=this,n=r.params,i=e.closest(".".concat(n.slideClass,", swiper-slide"));!i&&r.isElement&&t&&t.length>1&&t.includes(e)&&N(t.slice(t.indexOf(e)+1,t.length)).forEach((function(e){!i&&e.matches&&e.matches(".".concat(n.slideClass,", swiper-slide"))&&(i=e)}));var a,s=!1;if(i)for(var o=0;o<r.slides.length;o+=1)if(r.slides[o]===i){s=!0,a=o;break}if(!i||!s)return r.clickedSlide=void 0,void(r.clickedIndex=void 0);r.clickedSlide=i,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=a,n.slideToClickedSlide&&void 0!==r.clickedIndex&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}};var Q={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,r=t.params,n=t.rtlTranslate,i=t.translate,a=t.wrapperEl;if(r.virtualTranslate)return n?-i:i;if(r.cssMode)return i;var s=b(a,e);return s+=t.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){var r=this,n=r.rtlTranslate,i=r.params,a=r.wrapperEl,s=r.progress,o=0,l=0;r.isHorizontal()?o=n?-e:e:l=e,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?o:l,i.cssMode?a[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-o:-l:i.virtualTranslate||(r.isHorizontal()?o-=r.cssOverflowAdjustment():l-=r.cssOverflowAdjustment(),a.style.transform="translate3d(".concat(o,"px, ").concat(l,"px, ").concat(0,"px)"));var c=r.maxTranslate()-r.minTranslate();(0===c?0:(e-r.minTranslate())/c)!==s&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);var a=this,s=a.params,o=a.wrapperEl;if(a.animating&&s.preventInteractionOnTransition)return!1;var l,c=a.minTranslate(),u=a.maxTranslate();if(l=n&&e>c?c:n&&e<u?u:e,a.updateProgress(l),s.cssMode){var d=a.isHorizontal();if(0===t)o[d?"scrollLeft":"scrollTop"]=-l;else{if(!a.support.smoothScroll)return S({swiper:a,targetPosition:-l,side:d?"left":"top"}),!0;o.scrollTo(M(M({},d?"left":"top",-l),"behavior","smooth"))}return!0}return 0===t?(a.setTransition(0),a.setTranslate(l),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(l),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,r&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function J(e){var t=e.swiper,r=e.runCallbacks,n=e.direction,i=e.step,a=t.activeIndex,s=t.previousIndex,o=n;o||(o=a>s?"next":a<s?"prev":"reset"),t.emit("transition".concat(i)),r&&"reset"===o?t.emit("slideResetTransition".concat(i)):r&&a!==s&&(t.emit("slideChangeTransition".concat(i)),"next"===o?t.emit("slideNextTransition".concat(i)):t.emit("slidePrevTransition".concat(i)))}var Z={slideTo:function(e,t,r,n,i){void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));var a=this,s=e;s<0&&(s=0);var o=a.params,l=a.snapGrid,c=a.slidesGrid,u=a.previousIndex,d=a.activeIndex,h=a.rtlTranslate,f=a.wrapperEl;if(!a.enabled&&!n&&!i||a.destroyed||a.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=a.params.speed);var p=Math.min(a.params.slidesPerGroupSkip,s),g=p+Math.floor((s-p)/a.params.slidesPerGroup);g>=l.length&&(g=l.length-1);var v,m=-l[g];if(o.normalizeSlideIndex)for(var y=0;y<c.length;y+=1){var b=-Math.floor(100*m),w=Math.floor(100*c[y]),E=Math.floor(100*c[y+1]);void 0!==c[y+1]?b>=w&&b<E-(E-w)/2?s=y:b>=w&&b<E&&(s=y+1):b>=w&&(s=y)}if(a.initialized&&s!==d){if(!a.allowSlideNext&&(h?m>a.translate&&m>a.minTranslate():m<a.translate&&m<a.minTranslate()))return!1;if(!a.allowSlidePrev&&m>a.translate&&m>a.maxTranslate()&&(d||0)!==s)return!1}s!==(u||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(m),v=s>d?"next":s<d?"prev":"reset";var T=a.virtual&&a.params.virtual.enabled;if(!(T&&i)&&(h&&-m===a.translate||!h&&m===a.translate))return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(m),"reset"!==v&&(a.transitionStart(r,v),a.transitionEnd(r,v)),!1;if(o.cssMode){var O=a.isHorizontal(),x=h?m:-m;if(0===t)T&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),T&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((function(){f[O?"scrollLeft":"scrollTop"]=x}))):f[O?"scrollLeft":"scrollTop"]=x,T&&requestAnimationFrame((function(){a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}));else{if(!a.support.smoothScroll)return S({swiper:a,targetPosition:x,side:O?"left":"top"}),!0;f.scrollTo(M(M({}
2,O?"left":"top",x),"behavior","smooth"))}return!0}var A=z().isSafari;return T&&!i&&A&&a.isElement&&a.virtual.update(!1,!1,s),a.setTransition(t),a.setTranslate(m),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(r,v),0===t?a.transitionEnd(r,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,v))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));var i=this;if(!i.destroyed){void 0===t&&(t=i.params.speed);var a=i.grid&&i.params.grid&&i.params.grid.rows>1,s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s+=i.virtual.slidesBefore;else{var o;if(a){var l=s*i.params.grid.rows;o=i.slides.find((function(e){return 1*e.getAttribute("data-swiper-slide-index")===l})).column}else o=i.getSlideIndexByData(s);var c=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,u=i.params.centeredSlides,d=i.params.slidesPerView;"auto"===d?d=i.slidesPerViewDynamic():(d=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&d%2==0&&(d+=1));var h=c-o<d;if(u&&(h=h||o<Math.ceil(d/2)),n&&u&&"auto"!==i.params.slidesPerView&&!a&&(h=!1),h){var f=u?o<i.activeIndex?"prev":"next":o-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:f,slideTo:!0,activeSlideIndex:"next"===f?o+1:o-c+1,slideRealIndex:"next"===f?i.realIndex:void 0})}if(a){var p=s*i.params.grid.rows;s=i.slides.find((function(e){return 1*e.getAttribute("data-swiper-slide-index")===p})).column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame((function(){i.slideTo(s,t,r,n)})),i}},slideNext:function(e,t,r){void 0===t&&(t=!0);var n=this,i=n.enabled,a=n.params,s=n.animating;if(!i||n.destroyed)return n;void 0===e&&(e=n.params.speed);var o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));var l=n.activeIndex<a.slidesPerGroupSkip?1:o,c=n.virtual&&a.virtual.enabled;if(a.loop){if(s&&!c&&a.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&a.cssMode)return requestAnimationFrame((function(){n.slideTo(n.activeIndex+l,e,t,r)})),!0}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e,t,r){void 0===t&&(t=!0);var n=this,i=n.params,a=n.snapGrid,s=n.slidesGrid,o=n.rtlTranslate,l=n.enabled,c=n.animating;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);var u=n.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var h,f=d(o?n.translate:-n.translate),p=a.map((function(e){return d(e)})),g=i.freeMode&&i.freeMode.enabled,v=a[p.indexOf(f)-1];void 0===v&&(i.cssMode||g)&&(a.forEach((function(e,t){f>=e&&(h=t)})),void 0!==h&&(v=g?a[h]:a[h>0?h-1:h]));var m=0;if(void 0!==v&&((m=s.indexOf(v))<0&&(m=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&n.isBeginning){var y=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(y,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame((function(){n.slideTo(m,e,t,r)})),!0):n.slideTo(m,e,t,r)},slideReset:function(e,t,r){void 0===t&&(t=!0);var n=this;if(!n.destroyed)return void 0===e&&(e=n.params.speed),n.slideTo(n.activeIndex,e,t,r)},slideToClosest:function(e,t,r,n){void 0===t&&(t=!0),void 0===n&&(n=.5);var i=this;if(!i.destroyed){void 0===e&&(e=i.params.speed);var a=i.activeIndex,s=Math.min(i.params.slidesPerGroupSkip,a),o=s+Math.floor((a-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){var c=i.snapGrid[o];l-c>(i.snapGrid[o+1]-c)*n&&(a+=i.params.slidesPerGroup)}else{var u=i.snapGrid[o-1];l-u<=(i.snapGrid[o]-u)*n&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,e,t,r)}},slideToClickedSlide:function(){var e=this;if(!e.destroyed){var t,r=e.params,n=e.slidesEl,i="auto"===r.slidesPerView?e.slidesPerViewDynamic():r.slidesPerView,a=e.clickedIndex,s=e.isElement?"swiper-slide":".".concat(r.slideClass);if(r.loop){if(e.animating)return;t=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?a<e.loopedSlides-i/2||a>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),a=e.getSlideIndex(O(n,"".concat(s,'[data-swiper-slide-index="').concat(t,'"]'))[0]),m((function(){e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-i?(e.loopFix(),a=e.getSlideIndex(O(n,"".concat(s,'[data-swiper-slide-index="').concat(t,'"]'))[0]),m((function(){e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}}};var ee={loopCreate:function(e,t){var r=this,n=r.params,i=r.slidesEl;if(!(!n.loop||r.virtual&&r.params.virtual.enabled)){var a=function(){O(i,".".concat(n.slideClass,", swiper-slide")).forEac
2h((function(e,t){e.setAttribute("data-swiper-slide-index",t)}))},s=r.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),l=r.slides.length%o!=0,c=s&&r.slides.length%n.grid.rows!=0,u=function(e){for(var t=0;t<e;t+=1){var i=r.isElement?P("swiper-slide",[n.slideBlankClass]):P("div",[n.slideClass,n.slideBlankClass]);r.slidesEl.append(i)}};if(l){if(n.loopAddBlankSlides)u(o-r.slides.length%o),r.recalcSlides(),r.updateSlides();else A("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(c){if(n.loopAddBlankSlides)u(n.grid.rows-r.slides.length%n.grid.rows),r.recalcSlides(),r.updateSlides();else A("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();r.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next",initial:t})}},loopFix:function(e){var t=void 0===e?{}:e,r=t.slideRealIndex,n=t.slideTo,i=void 0===n||n,a=t.direction,s=t.setTranslate,o=t.activeSlideIndex,l=t.initial,c=t.byController,u=t.byMousewheel,d=this;if(d.params.loop){d.emit("beforeLoopFix");var h=d.slides,f=d.allowSlidePrev,p=d.allowSlideNext,g=d.slidesEl,v=d.params,m=v.centeredSlides,y=v.initialSlide;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&v.virtual.enabled)return i&&(v.centeredSlides||0!==d.snapIndex?v.centeredSlides&&d.snapIndex<v.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0):d.slideTo(d.virtual.slides.length,0,!1,!0)),d.allowSlidePrev=f,d.allowSlideNext=p,void d.emit("loopFix");var b=v.slidesPerView;"auto"===b?b=d.slidesPerViewDynamic():(b=Math.ceil(parseFloat(v.slidesPerView,10)),m&&b%2==0&&(b+=1));var w=v.slidesPerGroupAuto?b:v.slidesPerGroup,E=w;E%w!=0&&(E+=w-E%w),E+=v.loopAdditionalSlides,d.loopedSlides=E;var T=d.grid&&v.grid&&v.grid.rows>1;h.length<b+E||"cards"===d.params.effect&&h.length<b+2*E?A("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):T&&"row"===v.grid.fill&&A("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");var S=[],O=[],x=T?Math.ceil(h.length/v.grid.rows):h.length,P=l&&x-y<b&&!m,L=P?y:d.activeIndex;void 0===o?o=d.getSlideIndex(h.find((function(e){return e.classList.contains(v.slideActiveClass)}))):L=o;var k="next"===a||!a,I="prev"===a||!a,R=0,C=0,D=(T?h[o].column:o)+(m&&void 0===s?-b/2+.5:0);if(D<E){R=Math.max(E-D,w);for(var M=0;M<E-D;M+=1){var F=M-Math.floor(M/x)*x;if(T)for(var N=x-F-1,j=h.length-1;j>=0;j-=1)h[j].column===N&&S.push(j);else S.push(x-F-1)}}else if(D+b>x-E){C=Math.max(D-(x-2*E),w),P&&(C=Math.max(C,b-x+y+1));for(var U=function(){var e=B-Math.floor(B/x)*x;T?h.forEach((function(t,r){t.column===e&&O.push(r)})):O.push(e)},B=0;B<C;B+=1)U()}if(d.__preventObserver__=!0,requestAnimationFrame((function(){d.__preventObserver__=!1})),"cards"===d.params.effect&&h.length<b+2*E&&(O.includes(o)&&O.splice(O.indexOf(o),1),S.includes(o)&&S.splice(S.indexOf(o),1)),I&&S.forEac
2h((function(e){h[e].swiperLoopMoveDOM=!0,g.prepend(h[e]),h[e].swiperLoopMoveDOM=!1})),k&&O.forEach((function(e){h[e].swiperLoopMoveDOM=!0,g.append(h[e]),h[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===v.slidesPerView?d.updateSlides():T&&(S.length>0&&I||O.length>0&&k)&&d.slides.forEach((function(e,t){d.grid.updateSlide(t,e,d.slides)})),v.watchSlidesProgress&&d.updateSlidesOffset(),i)if(S.length>0&&I){if(void 0===r){var $=d.slidesGrid[L],G=d.slidesGrid[L+R]-$;u?d.setTranslate(d.translate-G):(d.slideTo(L+Math.ceil(R),0,!1,!0),s&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-G,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-G))}else if(s){var z=T?S.length/v.grid.rows:S.length;d.slideTo(d.activeIndex+z,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(O.length>0&&k)if(void 0===r){var H=d.slidesGrid[L],V=d.slidesGrid[L-C]-H;u?d.setTranslate(d.translate-V):(d.slideTo(L-C,0,!1,!0),s&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-V,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-V))}else{var K=T?O.length/v.grid.rows:O.length;d.slideTo(d.activeIndex-K,0,!1,!0)}if(d.allowSlidePrev=f,d.allowSlideNext=p,d.controller&&d.controller.control&&!c){var Y={slideRealIndex:r,direction:a,setTranslate:s,activeSlideIndex:o,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((function(e){!e.destroyed&&e.params.loop&&e.loopFix(_(_({},Y),{},{slideTo:e.params.slidesPerView===v.slidesPerView&&i}))})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix(_(_({},Y),{},{slideTo:d.controller.control.params.slidesPerView===v.slidesPerView&&i}))}d.emit("loopFix")}},loopDestroy:function(){var e=this,t=e.params,r=e.slidesEl;if(t.loop&&r&&(!e.virtual||!e.params.virtual.enabled)){e.recalcSlides();var n=[];e.slides.forEach((function(e){var t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((function(e){e.removeAttribute("data-swiper-slide-index")})),n.forEach((function(e){r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}}};function te(e,t,r){var n=c(),i=e.params,a=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return!a||!(r<=s||r>=n.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function re(e){var t=this,r=o(),n=e;n.originalEvent&&(n=n.originalEvent);var i=t.touchEventsData;if("pointerdown"===n.type){if(null!==i.pointerId&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(i.touchId=n.targetTouches[0].identifier);if("touchstart"!==n.type){var a=t.params,s=t.touches;if(t.enabled&&(a.simulateTouch||"mouse"!==n.pointerType)&&(!t.animating||!a.preventInteractionOnTransition)){!t.animating&&a.cssMode&&a.loop&&t.loopFix();var l=n.target;if(("wrapper"!==a.touchEventsTarget||x(l,t.wrapperEl))&&!("which"in n&&3===n.which||"button"in n&&n.button>0||i.isTouched&&i.isMoved)){var u=!!a.noSwipingClass&&""!==a.noSwipingClass,d=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&d&&(l=d[0]);var h=a.noSwipingSelector?a.noSwipingSelector:".".concat(a.noSwipingClass),f=!(!n.target||!n.target.shadowRoot);if(a.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===o()||r===c())return null;r.assignedSlot&&(r=r.assignedSlot);var n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(h,l):l.closest(h)))t.allowClick=!0;else if(!a.swipeHandler||l.closest(a.swipeHandler)){s.currentX=n.pageX,s.currentY=n.pageY;var p=s.currentX,g=s.currentY;if(te(t,n,p)){Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=g,i.touchStartTime=y(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);var v=!0;l.matches(i.focusableElements)&&(v=!1,"SELECT"===l.nodeName&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==l&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!l.matches(i.focusableElements))&&r.activeElement.blur();var m=v&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!m||l.isContentEditable||n.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}}}}}else te(t,n,n.targetTouches[0].pageX)}function ne(e){var t=o(),r=this,n=r.touchEventsData,i=r.params,a=r.touches,s=r.rtlTranslate;if(r.enabled&&(i.simulateTouch||"mouse"!==e.pointerType)){var l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==n.touchId)return;if(c.pointerId!==n.pointerId)return}if("touchmove"===c.type){if(!(l=N(c.changedTouches).find((function(e){return e.identifier===n.touchId})))||l.identifier!==n.touchId)return}else l=c;if(n.isTouched){var u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return a.startX=u,void(a.startY=d);if(!r.allowTouchMove)return c.target.matches(n.focusableElements)||(r.allowClick=!1),void(n.isTouched&&(Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d}),n.touchStartTime=y()));if(i.touchReleaseOnEdges&&!i.loop)if(r.isVertical()){if(d<a.startY&&r.translate<=r.maxTranslate()||d>a.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else{if(s&&(u>a.startX&&-r.translate<=r.maxTranslate()||u<a.startX&&-r.translate>=r.minTranslate()))return;if(!s&&(u<a.startX&&r.translate<=r.maxTranslate()||u>a.startX&&r.translate>=r.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(n.focusableElements))return n.isMoved=!0,void(r.allowClick=!1);n.allowTouchCallbacks&&r.emit("touchMove",c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=u,a.currentY=d;var h=a.currentX-a.startX,f=a.currentY-a.startY;if(!(r.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(f,2))<r.params.threshold)){var p;if(void 0===n.isScrolling)r.isHorizontal()&&a.currentY===a.startY||r.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:h*h+f*f>=25&&(p=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,n.isScrolling=r.isH
vendor: 3,245 bytes, line 2
2orizontal()?p>i.touchAngle:90-p>i.touchAngle);if(n.isScrolling&&r.emit("touchMoveOpposite",c),void 0===n.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===c.type&&n.preventTouchMoveFromPointerMove)n.isTouched=!1;else if(n.startMoving){r.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation();var g=r.isHorizontal()?h:f,v=r.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(g=Math.abs(g)*(s?1:-1),v=Math.abs(v)*(s?1:-1)),a.diff=g,g*=i.touchRatio,s&&(g=-g,v=-v);var m=r.touchesDirection;r.swipeDirection=g>0?"prev":"next",r.touchesDirection=v>0?"prev":"next";var b=r.params.loop&&!i.cssMode,w="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!n.isMoved){if(b&&w&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){var E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});r.wrapperEl.dispatchEvent(E)}n.allowMomentumBounce=!1,!i.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==i._loopSwapReset&&n.isMoved&&n.allowThresholdMove&&m!==r.touchesDirection&&b&&w&&Math.abs(g)>=1)return Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);r.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=g+n.startTranslate;var T=!0,S=i.resistanceRatio;if(i.touchReleaseOnEdges&&(S=0),g>0?(b&&w&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]-("auto"!==i.slidesPerView&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.activeIndex+1]+r.params.spaceBetween:0)-r.params.spaceBetween:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(T=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+Math.pow(-r.minTranslate()+n.startTranslate+g,S)))):g<0&&(b&&w&&n.allowThresholdMove&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween+("auto"!==i.slidesPerView&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween:0):r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===i.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(T=!1,i.resistance&&(n.currentTranslate=r.maxTranslate()+1-Math.pow(r.maxTranslate()-n.startTranslate-g,S)))),T&&(c.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(g)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,void(a.diff=r.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}}}else n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",c)}}function ie(e){var t,r=this,n=r.touchEventsData,i=e;if(i.originalEvent&&(i=i.originalEvent),"touchend"===i.type||"touchcancel"===i.type){if(!(t=N(i.changedTouches).find((function(e){return e.identifier===n.touchId})))||t.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(i.pointerId!==n.pointerId)return;t=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(r.browser.isSafari||r.browser.isWebView)))return;n.pointerId=null,n.touchId=null;var a=r.params,s=r.touches,o=r.rtlTranslate,l=r.slidesGrid;if(r.enabled&&(a.simulateTouch||"mouse"!==i.pointerType)){if(n.allowTouchCallbacks&&r.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&r.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);var c,u=y(),d=u-n.touchStartTime;if(r.allowClick){var h=i.path||i.composedPath&&i.composedPath();r.updateClickedSlide(h&&h[0]||i.target,h),r.emit("tap click",i),d<300&&u-n.lastClickTime<300&&r.emit("doubleTap doubleClick",i)}if(n.lastClickTime=y(),m((function(){r.destroyed||(r.allowClick=!0)})),!n.isTouched||!n.isMoved||!r.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,c=a.followFinger?o?r.translate:-r.translate:-n.currentTranslate,!a.cssMode)if(a.freeMode&&a.freeMode.enabled)r.freeMode.onTouchEnd({currentPos:c});else{for(var f=c>=-r.maxTranslate()&&!r.params.loop,p=0,g=r.slidesSizesGrid[0],v=0;v<l.length;v+=v<a.slidesPerGroupSkip?1:a.slidesPerGroup){var b=v<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==l[v+b]?(f||c>=l[v]&&c<l[v+b])&&(p=v,g=l[v+b]-l[v]):(f||c>=l[v])&&(p=v,g=l[l.length-1]-l[l.length-2])}var w=null,E=null;a.rewind&&(r.isBeginning?E=a.virtual&&a.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(w=0));var T=(c-l[p])/g,S=p<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(d>a.longSwipesMs){if(!a.longSwipes)return void r.slideTo(r.activeIndex);"next"===r.swipeDirection&&(T>=a.longSwipesRatio?r.slideTo(a.rewind&&r.isEnd?w:p+S):r.slideTo(p)),"prev"===r.swipeDirection&&(T>1-a.longSwipesRatio?r.slideTo(p+S):null!==E&&T<0&&Math.abs(T)>a.longSwipesRatio?r.slideTo(E):r.slideTo(p))}else{if(!a.shortSwipes)return void r.slideTo(r.activeIndex);r.navigation&&(i.target===r.navigation.nextEl||i.target===r.navigation.prevEl)?i.target===r.navigation.nextEl?r.slideTo(p+S):r.slideTo(p):("next"===r.swipeDirection&&r.slideTo(null!==w?w:p+S),"prev"===r.swipeDirection&&r.slideTo(null!==E?E:p))}}}}function ae(){var e=this,t=e.params,r=e.el;if(!r||0!==r.offsetWidth){t.breakpoints&&e.setBreakpoint();var n=e.allowSlideNext,i=e.allowSlidePrev,a=e.snapGrid,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();var o=s&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((function(){e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}}function se(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function oe(){var e=this,t=e.wrapperEl,r=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var n=e.maxTranslate()-e.minTranslate();(0===n?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}function le(e){var t=this;Y(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
2)}function ce(){var e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}var ue=function(e,t){var r=o(),n=e.params,i=e.el,a=e.wrapperEl,s=e.device,l=!!n.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;i&&"string"!=typeof i&&(r[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[c]("touchstart",e.onTouchStart,{passive:!1}),i[c]("pointerdown",e.onTouchStart,{passive:!1}),r[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),r[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[c]("touchend",e.onTouchEnd,{passive:!0}),r[c]("pointerup",e.onTouchEnd,{passive:!0}),r[c]("pointercancel",e.onTouchEnd,{passive:!0}),r[c]("touchcancel",e.onTouchEnd,{passive:!0}),r[c]("pointerout",e.onTouchEnd,{passive:!0}),r[c]("pointerleave",e.onTouchEnd,{passive:!0}),r[c]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[c]("click",e.onClick,!0),n.cssMode&&a[c]("scroll",e.onScroll),n.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ae,!0):e[u]("observerUpdate",ae,!0),i[c]("load",e.onLoad,{capture:!0}))};var de=function(e,t){return e.grid&&t.grid&&t.grid.rows>1};var he={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function fe(e,t){return function(r){void 0===r&&(r={});var n=Object.keys(r)[0],i=r[n];"object"===C(i)&&null!==i?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in i?("object"!==C(e[n])||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),E(t,r)):E(t,r)):E(t,r)}}var pe={eventsEmitter:H,update:X,translate:Q,transition:{setTransition:function(e,t){var r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration="".concat(e,"ms"),r.wrapperEl.style.transitionDelay=0===e?"0ms":""),r.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var r=this,n=r.params;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),J({swiper:r,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var r=this,n=r.params;r.animating=!1,n.cssMode||(r.setTransition(0),J({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:Z,loop:ee,grabCursor:{setGrabCursor:function(e){var t=this;if(!(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((function(){t.__preventObserver__=!1}))}},unsetGrabCursor:function(){var e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((function(){e.__preventObserver__=!1})))}},events:{attachEvents:function(){var e=this,t=e.params;e.onTouchStart=re.bind(e),e.onTouchMove=ne.bind(e),e.onTouchEnd=ie.bind(e),e.onDocumentTouchStart=ce.bind(e),t.cssMode&&(e.onScroll=oe.bind(e)),e.onClick=se.bind(e),e.onLoad=le.bind(e),ue(e,"on")},detachEvents:function(){ue(this,"off")}},breakpoints:{setBreakpoint:function(){var e=this,t=e.realIndex,r=e.initialized,n=e.params,i=e.el,a=n.breakpoints;if(a&&(!a||0!==Object.keys(a).length)){var s=o(),l="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,c=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:s.querySelector(n.breakpointsBase),u=e.getBreakp
2oint(a,l,c);if(u&&e.currentBreakpoint!==u){var d=(u in a?a[u]:void 0)||e.originalParams,h=de(e,n),f=de(e,d),p=e.params.grabCursor,g=d.grabCursor,v=n.enabled;h&&!f?(i.classList.remove("".concat(n.containerModifierClass,"grid"),"".concat(n.containerModifierClass,"grid-column")),e.emitContainerClasses()):!h&&f&&(i.classList.add("".concat(n.containerModifierClass,"grid")),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===n.grid.fill)&&i.classList.add("".concat(n.containerModifierClass,"grid-column")),e.emitContainerClasses()),p&&!g?e.unsetGrabCursor():!p&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((function(t){if(void 0!==d[t]){var r=n[t]&&n[t].enabled,i=d[t]&&d[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()}}));var m=d.direction&&d.direction!==n.direction,y=n.loop&&(d.slidesPerView!==n.slidesPerView||m),b=n.loop;m&&r&&e.changeDirection(),E(e.params,d);var w=e.params.enabled,T=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!w?e.disable():!v&&w&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",d),r&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&T?(e.loopCreate(t),e.updateSlides()):b&&!T&&e.loopDestroy()),e.emit("breakpoint",d)}}},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),e&&("container"!==t||r)){var n=!1,i=c(),a="window"===t?i.innerHeight:r.clientHeight,s=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var o=0;o<s.length;o+=1){var l=s[o],u=l.point,d=l.value;"window"===t?i.matchMedia("(min-width: ".concat(d,"px)")).matches&&(n=u):d<=r.clientWidth&&(n=u)}return n||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked,r=e.params,n=r.slidesOffsetBefore;if(n){var i=e.slides.length-1,a=e.slidesGrid[i]+e.slidesSizesGrid[i]+2*n;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t,r,n,i=this,a=i.classNames,s=i.params,o=i.rtl,l=i.el,c=i.device,u=(t=["initialized",s.direction,{"free-mode":i.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:o},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:c.android},{ios:c.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],r=s.containerModifierClass,n=[],t.forEach((function(e){"object"===C(e)?Object.keys(e).forEach((function(t){e[t]&&n.push(r+t)})):"string"==typeof e&&n.push(r+e)})),n);a.push.apply(a,N(u)),(e=l.classList).add.apply(e,N(a)),i.emitContainerClasses()},removeClasses:function(){var e,t=this,r=t.el,n=t.classNames;r&&"string"!=typeof r&&((e=r.classList).remove.apply(e,N(n)),t.emitContainerClasses())}}},ge={},ve=function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?r=i[0]:(t=i[0],r=i[1]),r||(r={}),r=E({},r),t&&!r.el&&(r.el=t);var s=o();if(r.el&&"string"==typeof r.el&&s.querySelectorAll(r.el).length>1){var l=[];return s.querySelectorAll(r.el).forEach((function(t){var n=E({},r,{el:t});l.push(new e(n))})),l}var c,u=this;(u.__swiper__=!0,u.support=$(),u.device=G({userAgent:r.userAgent}),u.browser=z(),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=N(u.__modules__),r.modules&&Array.isArray(r.modules))&&(c=u.modules).push.apply(c,N(r.modules));var d={};u.modules.forEach((function(e){e({params:r,swiper:u,extendParams:fe(r,d),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})}));var h=E({},he,d);return u.params=E({},h,ge,r),u.originalParams=E({},u.params),u.passedParams=E({}
2,r),u.params&&u.params.on&&Object.keys(u.params.on).forEach((function(e){u.on(e,u.params.on[e])})),u.params&&u.params.onAny&&u.onAny(u.params.onAny),Object.assign(u,{enabled:u.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===u.params.direction},isVertical:function(){return"vertical"===u.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment:function(){return Math.trunc(this.translate/Math.pow(2,23))*Math.pow(2,23)},allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:u.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u}return t=e,r=[{key:"getDirectionLabel",value:function(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}},{key:"getSlideIndex",value:function(e){var t=this.slidesEl,r=this.params,n=k(O(t,".".concat(r.slideClass,", swiper-slide"))[0]);return k(e)-n}},{key:"getSlideIndexByData",value:function(e){return this.getSlideIndex(this.slides.find((function(t){return 1*t.getAttribute("data-swiper-slide-index")===e})))}},{key:"recalcSlides",value:function(){var e=this,t=e.slidesEl,r=e.params;e.slides=O(t,".".concat(r.slideClass,", swiper-slide"))}},{key:"enable",value:function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}},{key:"disable",value:function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}},{key:"setProgress",value:function(e,t){var r=this;e=Math.min(Math.max(e,0),1);var n=r.minTranslate(),i=(r.maxTranslate()-n)*e+n;r.translateTo(i,void 0===t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.forEach((function(r){var n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)})),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var r=this,n=r.params,i=r.slides,a=r.slidesGrid,s=r.slidesSizesGrid,o=r.size,l=r.activeIndex,c=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){for(var u,d=i[l]?Math.ceil(i[l].swiperSlideSize):0,h=l+1;h<i.length;h+=1)i[h]&&!u&&(c+=1,(d+=Math.ceil(i[h].swiperSlideSize))>o&&(u=!0));for(var f=l-1;f>=0;f-=1)i[f]&&!u&&(c+=1,(d+=i[f].swiperSlideSize)>o&&(u=!0))}else if("current"===e)for(var p=l+1;p<i.length;p+=1)(t?a[p]+s[p]-a[l]<o:a[p]-a[l]<o)&&(c+=1);else for(var g=l-1;g>=0;g-=1)a[l]-a[g]<o&&(c+=1);return c}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t,r=e.snapGrid,n=e.params;if(n.breakpoints&&e.setBreakpoint(),N(e.el.querySelectorAll('[loading="lazy"]')).forEach((function(t){t.complete&&Y(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)a(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){var i=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;t=e.slideTo(i.length-1,0,!1,!0)}else t=e.slideTo(e.activeIndex,0,!1,!0);t||a()}n.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e,t){void 0===t&&(t=!0);var r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove("".concat(r.params.containerModifierClass).concat(n)),r.el.classList.add("".concat(r.params.containerModifierClass).concat(e)),r.emitContainerClasses(),r.params.direction=e,r.slides.forEac
2h((function(t){"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}},{key:"changeLanguageDirection",value:function(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.el.classList.remove("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);var n=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):O(r,n())[0];return!i&&t.params.createElements&&(i=P("div",t.params.wrapperClass),r.append(i),O(r,".".concat(t.params.slideClass)).forEach((function(e){i.append(e)}))),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===L(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===L(r,"direction")),wrongRTL:"-webkit-box"===L(i,"display")}),!0}},{key:"init",value:function(e){var t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();var r=N(t.el.querySelectorAll('[loading="lazy"]'));return t.isElement&&r.push.apply(r,N(t.hostEl.querySelectorAll('[loading="lazy"]'))),r.forEach((function(e){e.complete?Y(t,e):e.addEventListener("load",(function(e){Y(t,e.target)}))})),W(t),t.initialized=!0,W(t),t.emit("init"),t.emit("afterInit"),t}},{key:"destroy",value:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var r=this,n=r.params,i=r.el,a=r.wrapperEl,s=r.slides;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach((function(e){e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((function(e){r.off(e)})),!1!==e&&(r.el&&"string"!=typeof r.el&&(r.el.swiper=null),function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(r)),r.destroyed=!0),null}}],n=[{key:"extendDefaults",value:function(e){E(ge,e)}},{key:"extendedDefaults",get:function(){return ge}},{key:"defaults",get:function(){return he}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var r=e.prototype.__modules__;"function"==typeof t&&r.indexOf(t)<0&&r.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)}}],r&&R(t.prototype,r),n&&R(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}();
2Object.keys(pe).forEach((function(e){Object.keys(pe[e]).forEach((function(t){ve.prototype[t]=pe[e][t]}))})),ve.use([function(e){var t=e.swiper,r=e.on,n=e.emit,i=c(),a=null,s=null,o=function(){t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=function(){t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",(function(){t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((function(e){s=i.requestAnimationFrame((function(){var r=t.width,n=t.height,i=r,a=n;e.forEach((function(e){var r=e.contentBoxSize,n=e.contentRect,s=e.target;s&&s!==t.el||(i=n?n.width:(r[0]||r).inlineSize,a=n?n.height:(r[0]||r).blockSize)})),i===r&&a===n||o()}))}))).observe(t.el):(i.addEventListener("resize",o),i.addEventListener("orientationchange",l))})),r("destroy",(function(){s&&i.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",l)}))},function(e){var t=e.swiper,r=e.extendParams,n=e.on,i=e.emit,a=[],s=c(),o=function(e,r){void 0===r&&(r={});var n=new(s.MutationObserver||s.WebkitMutationObserver)((function(e){if(!t.__preventObserver__)if(1!==e.length){var r=function(){i("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(r):s.setTimeout(r,0)}else i("observerUpdate",e[0])}));n.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:t.isElement||(void 0===r.childList||r).childList,characterData:void 0===r.characterData||r.characterData}),a.push(n)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(function(){if(t.params.observer){if(t.params.observeParents)for(var e=function(e,t){for(var r=[],n=e.parentElement;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}(t.hostEl),r=0;r<e.length;r+=1)o(e[r]);o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}})),n("destroy",(function(){a.forEach((function(e){e.disconnect()})),a.splice(0,a.length)}))}])},37730:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=!0,i="Invariant failed";function a(e,t){if(!e){if(n)throw new Error(i);var r="function"==typeof t?t():t,a=r?"".concat(i,": ").concat(r):i;throw new Error(a)}}},75842:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},51926:(e,t,r)=>{"use strict";
vendor: 411 bytes, line 2
2function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{A:()=>i})},49365:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,{A:()=>n})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.