mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
2 lines
7.0 MiB
Executable File
2 lines
7.0 MiB
Executable File
(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[4151],{34143:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var i=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,r=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function c(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}var m=1,_=1,g=0,E=0,v=0,y="";function b(e,t,n,i,o,r,a){return{value:e,root:t,parent:n,type:i,props:o,children:r,line:m,column:_,length:a,return:""}}function S(e,t){return a(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function T(){return v=E>0?u(y,--E):0,_--,10===v&&(_=1,m--),v}function A(){return v=E<g?u(y,E++):0,_++,10===v&&(_=1,m++),v}function I(){return u(y,E)}function O(){return E}function C(e,t){return d(y,e,t)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(e){return m=_=1,g=p(y=e),E=0,[]}function P(e){return y="",e}function L(e){return s(C(E-1,D(91===e?e+2:40===e?e+1:e)))}function k(e){for(;(v=I())&&v<33;)A();return R(e)>2||R(v)>3?"":" "}function w(e,t){for(;--t&&A()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return C(e,O()+(t<6&&32==I()&&32==A()))}function D(e){for(;A();)switch(v){case e:return E;case 34:case 39:34!==e&&39!==e&&D(v);break;case 40:41===e&&D(e);break;case 92:A()}return E}function M(e,t){for(;A()&&e+v!==57&&(e+v!==84||47!==I()););return"/*"+C(t,E-1)+"*"+r(47===e?e:A())}function x(e){for(;!R(I());)A();return C(e,E)}var U="-ms-",V="-moz-",F="-webkit-",B="comm",H="rule",G="decl",W="@keyframes";function j(e,t){for(var n="",i=h(e),o=0;o<i;o++)n+=t(e[o],o,e,t)||"";return n}function Y(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case G:return e.return=e.return||e.value;case B:return"";case W:return e.return=e.value+"{"+j(e.children,i)+"}";case H:e.value=e.props.join(",")}return p(n=j(e.children,i))?e.return=e.value+"{"+n+"}":""}function z(e){return P(K("",null,null,null,[""],e=N(e),0,[0],e))}function K(e,t,n,i,o,a,s,d,h){for(var m=0,_=0,g=s,E=0,v=0,y=0,b=1,S=1,C=1,R=0,N="",P=o,D=a,U=i,V=N;S;)switch(y=R,R=A()){case 40:if(108!=y&&58==u(V,g-1)){-1!=l(V+=c(L(R),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:V+=L(R);break;case 9:case 10:case 13:case 32:V+=k(y);break;case 92:V+=w(O()-1,7);continue;case 47:switch(I()){case 42:case 47:f(q(M(A(),O()),t,n),h);break;default:V+="/"}break;case 123*b:d[m++]=p(V)*C;case 125*b:case 59:case 0:switch(R){case 0:case 125:S=0;case 59+_:-1==C&&(V=c(V,/\f/g,"")),v>0&&p(V)-g&&f(v>32?X(V+";",i,n,g-1):X(c(V," ","")+";",i,n,g-2),h);break;case 59:V+=";";default:if(f(U=J(V,t,n,m,_,o,d,N,P=[],D=[],g),a),123===R)if(0===_)K(V,t,U,U,P,a,g,d,D);else switch(99===E&&110===u(V,3)?100:E){case 100:case 108:case 109:case 115:K(e,U,U,i&&f(J(e,U,U,0,0,o,d,N,o,P=[],g),D),o,D,g,d,i?P:D);break;default:K(V,U,U,U,[""],D,0,d,D)}}m=_=v=0,b=C=1,N=V="",g=s;break;case 58:g=1+p(V),v=y;default:if(b<1)if(123==R)--b;else if(125==R&&0==b++&&125==T())continue;switch(V+=r(R),R*b){case 38:C=_>0?1:(V+="\f",-1);break;case 44:d[m++]=(p(V)-1)*C,C=1;break;case 64:45===I()&&(V+=L(A())),E=I(),_=g=p(N=V+=x(O())),R++;break;case 45:45===y&&2==p(V)&&(b=0)}}return a}function J(e,t,n,i,r,a,l,u,p,f,m){for(var _=r-1,g=0===r?a:[""],E=h(g),v=0,y=0,S=0;v<i;++v)for(var T=0,A=d(e,_+1,_=o(y=l[v])),I=e;T<E;++T)(I=s(y>0?g[T]+" "+A:c(A,/&\f/g,g[T])))&&(p[S++]=I);return b(e,t,n,0===r?H:u,p,f,m)}function q(e,t,n){return b(e,t,n,B,r(v),d(e,2,-2),0)}function X(e,t,n,i){return b(e,t,n,G,d(e,0,i),d(e,i+1,-1),i)}var $=function(e,t,n){for(var i=0,o=0;i=o,o=I(),38===i&&12===o&&(t[n]=1),!R(o);)A();return C(e,E)},Z=function(e,t){return P(function(e,t){var n=-1,i=44;do{switch(R(i)){case 0:38===i&&12===I()&&(t[n]=1),e[n]+=$(E-1,t,n);break;case 2:e[n]+=L(i);break;case 4:if(44===i){e[++n]=58===I()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=r(i)}}while(i=A());return e}(N(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!i){Q.set(e,!0);for(var o=[],r=Z(t,o),a=n.props,s=0,c=0;s<r.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?r[s].replace(/&\f/g,a[l]):a[l]+" "+r[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return F+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+V+e+U+e+e;case 6828:case 4268:return F+e+U+e+e;case 6165:return F+e+U+"flex-"+e+e;case 5187:return F+e+c(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+U+"flex-$1$2")+e;case 5443:return F+e+U+"flex-item-"+c(e,/flex-|-self/,"")+e;case 4675:return F+e+U+"flex-line-pack"+c(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+U+c(e,"shrink","negative")+e;case 5292:return F+e+U+c(e,"basis","preferred-size")+e;case 6060:return F+"box-"+c(e,"-grow","")+F+e+U+c(e,"grow","positive")+e;case 4554:return F+c(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return c(c(c(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return c(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return c(c(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+U+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return c(e,/(.+)-inline(.+)/,F+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+V+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?ne(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~l(e,"!important")&&10))){case 107:return c(e,":",":"+F)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===u(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+U+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return F+e+U+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+U+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+U+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+U+e+e}return e}var ie=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case G:e.return=ne(e.value,e.length);break;case W:return j([S(e,{value:c(e.value,"@","@"+F)})],i);case H:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return j([S(e,{props:[c(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return j([S(e,{props:[c(t,/:(plac\w+)/,":"+F+"input-$1")]}),S(e,{props:[c(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[c(t,/:(plac\w+)/,U+"input-$1")]})],i)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||ie;var r,a,s={},c=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;c.push(e)}));var l,u,d,p,f=[Y,(p=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[ee,te].concat(o,f),d=h(u),function(e,t,n,i){for(var o="",r=0;r<d;r++)o+=u[r](e,t,n,i)||"";return o});a=function(e,t,n,i){l=n,j(z(e?e+"{"+t.styles+"}":t.styles),m),i&&(_.inserted[t.name]=!0)};var _={key:t,sheet:new i({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return _.sheet.hydrate(c),_}},4498:(e,t,n)=>{"use strict";function i(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>i})},97848:(e,t,n)=>{"use strict";n.d(t,{C:()=>u,E:()=>_,c:()=>f,h:()=>c});var i=n(30758),o=n(34143);var r=function(e,t,n){var i=e.key+"-"+t.name;!1===n&&void 0===e.registered[i]&&(e.registered[i]=t.styles)},a=n(91761),s=n(14958),c={}.hasOwnProperty,l=i.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null);var u=l.Provider,d=function(e){return(0,i.forwardRef)((function(t,n){var o=(0,i.useContext)(l);return e(t,o,n)}))};var p=i.createContext({});var h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e,t){var n={};for(var i in t)c.call(t,i)&&(n[i]=t[i]);return n[h]=e,n},m=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;return r(t,n,i),(0,s.s)((function(){return function(e,t,n){r(e,t,n);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+i:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,i)})),null};var _=d((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[h],s=[o],l="";"string"==typeof e.className?l=function(e,t,n){var i="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):i+=n+" "})),i}(t.registered,s,e.className):null!=e.className&&(l=e.className+" ");var u=(0,a.J)(s,void 0,i.useContext(p));l+=t.key+"-"+u.name;var d={};for(var f in e)c.call(e,f)&&"css"!==f&&f!==h&&(d[f]=e[f]);return d.ref=n,d.className=l,i.createElement(i.Fragment,null,i.createElement(m,{cache:t,serialized:u,isStringTag:"string"==typeof r}),i.createElement(r,d))}))},29778:(e,t,n)=>{"use strict";n.d(t,{AH:()=>s,Y:()=>a,i7:()=>c});var i=n(97848),o=n(30758),r=(n(14958),n(91761)),a=(n(34143),n(31035),function(e,t){var n=arguments;if(null==t||!i.h.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,a=new Array(r);a[0]=i.E,a[1]=(0,i.c)(e,t);for(var s=2;s<r;s++)a[s]=n[s];return o.createElement.apply(null,a)});function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.J)(t)}var c=function(){var e=s.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},91761:(e,t,n)=>{"use strict";n.d(t,{J:()=>f});var i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(4498),r=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},l=(0,o.A)((function(e){return s(e)?e:e.replace(r,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===i[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)p={name:i.name,styles:i.styles,next:p},i=i.next;return n.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=d(e,t,n[o])+";";else for(var r in n){var a=n[r];if("object"!=typeof a)null!=t&&void 0!==t[a]?i+=r+"{"+t[a]+"}":c(a)&&(i+=l(r)+":"+u(r,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=d(e,t,a);switch(r){case"animation":case"animationName":i+=l(r)+":"+s+";";break;default:i+=r+"{"+s+"}"}}else for(var p=0;p<a.length;p++)c(a[p])&&(i+=l(r)+":"+u(r,a[p])+";")}return i}(e,t,n);case"function":if(void 0!==e){var o=p,r=n(e);return p=o,d(e,t,r)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var p,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,o="";p=void 0;var r=e[0];null==r||void 0===r.raw?(i=!1,o+=d(n,t,r)):o+=r[0];for(var a=1;a<e.length;a++)o+=d(n,t,e[a]),i&&(o+=r[a]);h.lastIndex=0;for(var s,c="";null!==(s=h.exec(o));)c+="-"+s[1];var l=function(e){for(var t,n=0,i=0,o=e.length;o>=4;++i,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:p}}},14958:(e,t,n)=>{"use strict";var i;n.d(t,{s:()=>a});var o=n(30758),r=!!(i||(i=n.t(o,2))).useInsertionEffect&&(i||(i=n.t(o,2))).useInsertionEffect,a=r||function(e){return e()};r||o.useLayoutEffect},94462:(e,t,n)=>{var i;i=function(){return function(){var e={254:function(e,t,n){e.exports=n(615).default},615:function(e,t,i){"use strict";i.d(t,{default:function(){return Xt}});var o=i(48),r=i.n(o),a=i(153),s=i.n(a),c=Object.create,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,f=function(e,t){return function(){return e&&(t=e(e=0)),t}},m=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},_=function(e,t,n){return n=null!=e?c(p(e)):{},function(e,t,n,i){if(t&&"object"==typeof t||"function"==typeof t)for(var o,r=d(t),a=0,s=r.length;a<s;a++)o=r[a],!h.call(e,o)&&void 0!==o&&l(e,o,{get:function(e){return t[e]}.bind(null,o),enumerable:!(i=u(t,o))||i.enumerable});return e}(!t&&e&&e.__esModule?n:l(n,"default",{value:e,enumerable:!0}),e)},g=m((function(e,t){var i;i="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},t.exports=i}));function E(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var v=f((function(){})),y=m((function(e,t){var n,i;v(),n=e,i=function(){var e=function(){},t="undefined",n=("undefined"==typeof window?"undefined":E(window))!==t&&E(window.navigator)!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),i=["trace","debug","info","warn","error"];function o(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function r(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(i){return"debug"===i&&(i="log"),("undefined"==typeof console?"undefined":E(console))!==t&&("trace"===i&&n?r:void 0!==console[i]?o(console,i):void 0!==console.log?o(console,"log"):e)}function s(t,n){for(var o=0;o<i.length;o++){var r=i[o];this[r]=o<t?e:this.methodFactory(r,t,n)}this.log=this.debug}function c(e,n,i){return function(){("undefined"==typeof console?"undefined":E(console))!==t&&(s.call(this,n,i),this[e].apply(this,arguments))}}function l(e,t,n){return a(e)||c.apply(this,arguments)}function u(e,n,o){var r,a=this;n=null==n?"WARN":n;var c="loglevel";function u(){var e;if(("undefined"==typeof window?"undefined":E(window))!==t&&c){try{e=window.localStorage[c]}catch(e){}if((void 0===e?"undefined":E(e))===t)try{var n=window.document.cookie,i=n.indexOf(encodeURIComponent(c)+"=");-1!==i&&(e=/^([^;]+)/.exec(n.slice(i))[1])}catch(e){}return void 0===a.levels[e]&&(e=void 0),e}}"string"==typeof e?c+=":"+e:"symbol"===(void 0===e?"undefined":E(e))&&(c=void 0),a.name=e,a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},a.methodFactory=o||l,a.getLevel=function(){return r},a.setLevel=function(n,o){if("string"==typeof n&&void 0!==a.levels[n.toUpperCase()]&&(n=a.levels[n.toUpperCase()]),!("number"==typeof n&&n>=0&&n<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(r=n,!1!==o&&function(e){var n=(i[e]||"silent").toUpperCase();if(("undefined"==typeof window?"undefined":E(window))!==t&&c){try{return void(window.localStorage[c]=n)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"="+n+";"}catch(e){}}}(n),s.call(a,n,e),("undefined"==typeof console?"undefined":E(console))===t&&n<a.levels.SILENT)return"No console available for logging"},a.setDefaultLevel=function(e){n=e,u()||a.setLevel(e,!1)},a.resetLevel=function(){a.setLevel(n,!1),function(){if(("undefined"==typeof window?"undefined":E(window))!==t&&c){try{return void window.localStorage.removeItem(c)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}()},a.enableAll=function(e){a.setLevel(a.levels.TRACE,e)},a.disableAll=function(e){a.setLevel(a.levels.SILENT,e)};var d=u();null==d&&(d=n),a.setLevel(d,!1)}var d=new u,p={};d.getLogger=function(e){if("symbol"!==(void 0===e?"undefined":E(e))&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=p[e];return t||(t=p[e]=new u(e,d.getLevel(),d.methodFactory)),t};var h=("undefined"==typeof window?"undefined":E(window))!==t?window.log:void 0;return d.noConflict=function(){return("undefined"==typeof window?"undefined":E(window))!==t&&window.log===d&&(window.log=h),d},d.getLoggers=function(){return p},d.default=d,d},"object"==typeof t&&t.exports?t.exports=i():n.log=i()}));function b(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):b(e,t)}var S=f((function(){S()})),T=m((function(e){var t=Object.prototype.hasOwnProperty;function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function i(e){try{return encodeURIComponent(e)}catch(e){return null}}e.stringify=function(e,n){n=n||"";var o,r,a=[];for(r in"string"!=typeof n&&(n="?"),e)if(t.call(e,r)){if(!(o=e[r])&&(null==o||isNaN(o))&&(o=""),r=i(r),o=i(o),null===r||null===o)continue;a.push(r+"="+o)}return a.length?n+a.join("&"):""},e.parse=function(e){for(var t,i=/([^=?#&]+)=?([^&]*)/g,o={};t=i.exec(e);){var r=n(t[1]),a=n(t[2]);null===r||null===a||r in o||(o[r]=a)}return o}})),A=m((function(e,t){!function(n){var i=!1;if("object"==typeof e&&(t.exports=n(),i=!0),!i){var o=window.Cookies,r=window.Cookies=n();r.noConflict=function(){return window.Cookies=o,r}}}((function(){var e=function(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t};return function t(n){function i(t,o,r){var a;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(r=e({path:"/"},i.defaults,r)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}return o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[t,"=",o,r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}t||(a={});for(var c=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,u=0;u<c.length;u++){var d=c[u].split("="),p=d.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{var h=d[0].replace(l,decodeURIComponent);if(p=n.read?n.read(p,h):n(p,h)||p.replace(l,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(t===h){a=p;break}t||(a[h]=p)}catch(e){}}return a}}return i.set=i,i.get=function(e){return i.call(i,e)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(t,n){i(t,"",e(n,{expires:-1}))},i.withConverter=t,i}((function(){}))}))})),I=m((function(e,t){var n=Array.prototype.slice;t.exports=function(e,t){for(("length"in e||(e=[e]),e=n.call(e));e.length;){var i=e.shift(),o=t(i);if(o)return o;i.childNodes&&i.childNodes.length&&(e=n.call(i.childNodes).concat(e))}}})),O=m((function(e,t){function n(e,t){if(!b(this,n))return new n(e,t);this.data=e,this.nodeValue=e,this.length=e.length,this.ownerDocument=t||null}S(),t.exports=n,n.prototype.nodeType=8,n.prototype.nodeName="#comment",n.prototype.toString=function(){return"[object Comment]"}})),C=m((function(e,t){function n(e,t){if(!b(this,n))return new n(e);this.data=e||"",this.length=this.data.length,this.ownerDocument=t||null}S(),t.exports=n,n.prototype.type="DOMTextNode",n.prototype.nodeType=3,n.prototype.nodeName="#text",n.prototype.toString=function(){return this.data},n.prototype.replaceData=function(e,t,n){var i=this.data,o=i.substring(0,e),r=i.substring(e+t,i.length);this.data=o+n+r,this.length=this.data.length}})),R=m((function(e,t){t.exports=function(e){var t=this,n=e.type;e.target||(e.target=t),t.listeners||(t.listeners={});var i=t.listeners[n];if(i)return i.forEach((function(n){e.currentTarget=t,"function"==typeof n?n(e):n.handleEvent(e)}));t.parentNode&&t.parentNode.dispatchEvent(e)}})),N=m((function(e,t){t.exports=function(e,t){var n=this;n.listeners||(n.listeners={}),n.listeners[e]||(n.listeners[e]=[]),-1===n.listeners[e].indexOf(t)&&n.listeners[e].push(t)}})),P=m((function(e,t){t.exports=function(e,t){var n=this;if(n.listeners&&n.listeners[e]){var i=n.listeners[e],o=i.indexOf(t);-1!==o&&i.splice(o,1)}}})),L=m((function(e,t){v(),t.exports=function e(t){switch(t.nodeType){case 3:return r(t.data);case 8:return"\x3c!--"+t.data+"--\x3e";default:return function(t){var a=[],s=t.tagName;return"http://www.w3.org/1999/xhtml"===t.namespaceURI&&(s=s.toLowerCase()),a.push("<"+s+function(e){var t=[];for(var n in e)i(e,n)&&t.push({name:n,value:e[n]});for(var r in e._attributes)for(var a in e._attributes[r]){var s=e._attributes[r][a],c=(s.prefix?s.prefix+":":"")+a;t.push({name:c,value:s.value})}return e.className&&t.push({name:"class",value:e.className}),t.length?o(t):""}(t)+function(e){var t=e.dataset,n=[];for(var i in t)n.push({name:"data-"+i,value:t[i]});return n.length?o(n):""}(t)),n.indexOf(s)>-1?a.push(" />"):(a.push(">"),t.childNodes.length?a.push.apply(a,t.childNodes.map(e)):t.textContent||t.innerText?a.push(r(t.textContent||t.innerText)):t.innerHTML&&a.push(t.innerHTML),a.push("</"+s+">")),a.join("")}(t)}};var n=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function i(e,t){var n=E(e[t]);return"style"===t&&Object.keys(e.style).length>0||e.hasOwnProperty(t)&&("string"===n||"boolean"===n||"number"===n)&&"nodeName"!==t&&"className"!==t&&"tagName"!==t&&"textContent"!==t&&"innerText"!==t&&"namespaceURI"!==t&&"innerHTML"!==t}function o(e){var t=[];return e.forEach((function(e){var n=e.name,i=e.value;"style"===n&&(i=function(e){if("string"==typeof e)return e;var t="";return Object.keys(e).forEach((function(n){var i=e[n];n=n.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})),t+=n+":"+i+";"})),t}(i)),t.push(n+'="'+function(e){return r(e).replace(/"/g,""")}(i)+'"')})),t.length?" "+t.join(" "):""}function r(e){var t="";return"string"==typeof e?t=e:e&&(t=e.toString()),t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}})),k=m((function(e,t){S();var n=I(),i=R(),o=N(),r=P(),a=L(),s="http://www.w3.org/1999/xhtml";function c(e,t,n){if(!b(this,c))return new c(e);var i=void 0===n?s:n||null;this.tagName=i===s?String(e).toUpperCase():e,this.nodeName=this.tagName,this.className="",this.dataset={},this.childNodes=[],this.parentNode=null,this.style={},this.ownerDocument=t||null,this.namespaceURI=i,this._attributes={},"INPUT"===this.tagName&&(this.type="text")}t.exports=c,c.prototype.type="DOMElement",c.prototype.nodeType=1,c.prototype.appendChild=function(e){return e.parentNode&&e.parentNode.removeChild(e),this.childNodes.push(e),e.parentNode=this,e},c.prototype.replaceChild=function(e,t){e.parentNode&&e.parentNode.removeChild(e);var n=this.childNodes.indexOf(t);return t.parentNode=null,this.childNodes[n]=e,e.parentNode=this,t},c.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);return this.childNodes.splice(t,1),e.parentNode=null,e},c.prototype.insertBefore=function(e,t){e.parentNode&&e.parentNode.removeChild(e);var n=null==t?-1:this.childNodes.indexOf(t);return n>-1?this.childNodes.splice(n,0,e):this.childNodes.push(e),e.parentNode=this,e},c.prototype.setAttributeNS=function(e,t,n){var i=null,o=t,r=t.indexOf(":");r>-1&&(i=t.substr(0,r),o=t.substr(r+1)),"INPUT"===this.tagName&&"type"===t?this.type=n:(this._attributes[e]||(this._attributes[e]={}))[o]={value:n,prefix:i}},c.prototype.getAttributeNS=function(e,t){var n=this._attributes[e],i=n&&n[t]&&n[t].value;return"INPUT"===this.tagName&&"type"===t?this.type:"string"!=typeof i?null:i},c.prototype.removeAttributeNS=function(e,t){var n=this._attributes[e];n&&delete n[t]},c.prototype.hasAttributeNS=function(e,t){var n=this._attributes[e];return!!n&&t in n},c.prototype.setAttribute=function(e,t){return this.setAttributeNS(null,e,t)},c.prototype.getAttribute=function(e){return this.getAttributeNS(null,e)},c.prototype.removeAttribute=function(e){return this.removeAttributeNS(null,e)},c.prototype.hasAttribute=function(e){return this.hasAttributeNS(null,e)},c.prototype.removeEventListener=r,c.prototype.addEventListener=o,c.prototype.dispatchEvent=i,c.prototype.focus=function(){},c.prototype.toString=function(){return a(this)},c.prototype.getElementsByClassName=function(e){var t=e.split(" "),i=[];return n(this,(function(e){if(1===e.nodeType){var n=(e.className||"").split(" ");t.every((function(e){return-1!==n.indexOf(e)}))&&i.push(e)}})),i},c.prototype.getElementsByTagName=function(e){e=e.toLowerCase();var t=[];return n(this.childNodes,(function(n){1===n.nodeType&&("*"===e||n.tagName.toLowerCase()===e)&&t.push(n)})),t},c.prototype.contains=function(e){return n(this,(function(t){return e===t}))||!1}})),w=m((function(e,t){S();var n=k();function i(e){if(!b(this,i))return new i;this.childNodes=[],this.parentNode=null,this.ownerDocument=e||null}t.exports=i,i.prototype.type="DocumentFragment",i.prototype.nodeType=11,i.prototype.nodeName="#document-fragment",i.prototype.appendChild=n.prototype.appendChild,i.prototype.replaceChild=n.prototype.replaceChild,i.prototype.removeChild=n.prototype.removeChild,i.prototype.toString=function(){return this.childNodes.map((function(e){return String(e)})).join("")}})),D=m((function(e,t){function n(e){}t.exports=n,n.prototype.initEvent=function(e,t,n){this.type=e,this.bubbles=t,this.cancelable=n},n.prototype.preventDefault=function(){}})),M=m((function(e,t){S();var n=I(),i=O(),o=C(),r=k(),a=w(),s=D(),c=R(),l=N(),u=P();function d(){if(!b(this,d))return new d;this.head=this.createElement("head"),this.body=this.createElement("body"),this.documentElement=this.createElement("html"),this.documentElement.appendChild(this.head),this.documentElement.appendChild(this.body),this.childNodes=[this.documentElement],this.nodeType=9}t.exports=d;var p=d.prototype;p.createTextNode=function(e){return new o(e,this)},p.createElementNS=function(e,t){var n=null===e?null:String(e);return new r(t,this,n)},p.createElement=function(e){return new r(e,this)},p.createDocumentFragment=function(){return new a(this)},p.createEvent=function(e){return new s(e)},p.createComment=function(e){return new i(e,this)},p.getElementById=function(e){return e=String(e),n(this.childNodes,(function(t){if(String(t.id)===e)return t}))||null},p.getElementsByClassName=r.prototype.getElementsByClassName,p.getElementsByTagName=r.prototype.getElementsByTagName,p.contains=r.prototype.contains,p.removeEventListener=u,p.addEventListener=l,p.dispatchEvent=c})),x=m((function(e,t){var n=M();t.exports=new n})),U=m((function(e,t){var i,o=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},r=x();"undefined"!=typeof document?i=document:(i=o["__GLOBAL_DOCUMENT_CACHE@4"])||(i=o["__GLOBAL_DOCUMENT_CACHE@4"]=r),t.exports=i}));function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function F(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{!a&&null!=n.return&&n.return()}finally{if(s)throw o}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(e,t)}}(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.")}()}var B=_(g()),H=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},G=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)},W=function(e){if(e&&void 0!==e.nodeName)return e.muxId||(e.muxId=G()),e.muxId;var t;try{t=document.querySelector(e)}catch(e){}return t&&!t.muxId&&(t.muxId=e),(null==t?void 0:t.muxId)||e},j=function(e){var t;e&&void 0!==e.nodeName?e=W(t=e):t=document.querySelector(e);var n=t&&t.nodeName?t.nodeName.toLowerCase():"";return[t,e,n]},Y=_(y()),z=Y.default.methodFactory;Y.default.methodFactory=function(e,t,n){var i=z(e,t,n);return function(){for(var e=["[mux]"],t=0;t<arguments.length;t++)e.push(arguments[t]);i.apply(void 0,e)}},Y.default.setLevel(Y.default.getLevel());var K=Y.default,J=_(g());function q(){return"1"===(J.default.doNotTrack||J.default.navigator&&J.default.navigator.doNotTrack)}var X=_(g()),$={now:function(){var e=X.default.performance,t=e&&e.timing,n=t&&t.navigationStart,i="number"==typeof n&&"function"==typeof e.now?n+e.now():Date.now();return Math.round(i)}};function Z(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q(e,t){if(!b(e,t))throw new TypeError("Cannot call a class as a function")}function ee(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function te(e,t,n){return t&&ee(e.prototype,t),n&&ee(e,n),e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t){return(ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||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 n,i=oe(e);if(t){var o=oe(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?Z(e):t}(this,n)}}S(),v();var ae=function(e){return se(e)[0]},se=function(e){if("string"!=typeof e||""===e)return["localhost"];var t,n=(e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/)||[])[4];return n&&(t=(n.match(/[^\.]+\.[^\.]+$/)||[])[0]),[n,t]},ce=_(g()),le=function(){var e=ce.default.performance;return void 0!==(e&&e.timing)},ue=function(){var e=ce.default.performance,t=e&&e.timing;return t&&t.domContentLoadedEventEnd},de=function(){var e=ce.default.performance,t=e&&e.timing;return t&&t.navigationStart};function pe(e,t,n){n=void 0===n?1:n,e[t]=e[t]||0,e[t]+=n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){ne(e,t,n[t])}))}return e}function fe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n.push.apply(n,i)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var me=["x-request-id","cf-ray","x-amz-cf-id","x-akamai-request-id"],_e=["x-cdn","content-type"].concat(me);function ge(e){var t={};return(e=e||"").trim().split(/[\r\n]+/).forEach((function(e){if(e){var n=e.split(": "),i=n.shift();i&&(_e.indexOf(i.toLowerCase())>=0||0===i.toLowerCase().indexOf("x-litix-"))&&(t[i]=n.join(": "))}})),t}function Ee(e){if(e){var t=me.find((function(t){return void 0!==e[t]}));return t?e[t]:void 0}}var ve=function(e){var t={};for(var n in e){var i=e[n];-1!==i["DATA-ID"].search("io.litix.data.")&&(t[i["DATA-ID"].replace("io.litix.data.","")]=i.VALUE)}return t},ye=function(e){if(!e)return{};var t=de(),n=e.loading,i=n?n.start:e.trequest,o=n?n.first:e.tfirst,r=n?n.end:e.tload;return{bytesLoaded:e.total,requestStart:Math.round(t+i),responseStart:Math.round(t+o),responseEnd:Math.round(t+r)}},be=function(e){if(e&&"function"==typeof e.getAllResponseHeaders)return ge(e.getAllResponseHeaders())},Se=function(e,t){if(!e||!e.requestEndDate)return{};var n,i=ae(e.url),o=e.url,r=e.bytesLoaded,a=new Date(e.requestStartDate).getTime(),s=new Date(e.firstByteDate).getTime(),c=new Date(e.requestEndDate).getTime(),l=isNaN(e.duration)?0:e.duration,u="function"==typeof t.getMetricsFor?t.getMetricsFor(e.mediaType).HttpList:t.getDashMetrics().getHttpRequests(e.mediaType);return u.length>0&&(n=ge(u[u.length-1]._responseHeaders||"")),{requestStart:a,requestResponseStart:s,requestResponseEnd:c,requestBytesLoaded:r,requestResponseHeaders:n,requestMediaDuration:l,requestHostname:i,requestUrl:o,requestId:n?Ee(n):void 0}},Te=function(e){var t;return null===(t=e.match(/.*codecs\*?="(.*)"/))||void 0===t?void 0:t[1]},Ae=0,Ie=function(){function e(){Q(this,e),ne(this,"_listeners",void 0)}return te(e,[{key:"on",value:function(e,t,n){return t._eventEmitterGuid=t._eventEmitterGuid||++Ae,this._listeners=this._listeners||{},this._listeners[e]=this._listeners[e]||[],n&&(t=t.bind(n)),this._listeners[e].push(t),t}},{key:"off",value:function(e,t){var n=this._listeners&&this._listeners[e];n&&n.forEach((function(e,i){e._eventEmitterGuid===t._eventEmitterGuid&&n.splice(i,1)}))}},{key:"one",value:function(e,t,n){var i=this;t._eventEmitterGuid=t._eventEmitterGuid||++Ae;var o=function(){i.off(e,o),t.apply(n||this,arguments)};o._eventEmitterGuid=t._eventEmitterGuid,this.on(e,o)}},{key:"emit",value:function(e,t){var n=this;if(this._listeners){t=t||{};var i=this._listeners["before*"]||[],o=this._listeners[e]||[],r=this._listeners["after"+e]||[],a=function(t,i){(t=t.slice()).forEach((function(t){t.call(n,{type:e},i)}))};a(i,t),a(o,t),a(r,t)}}}]),e}(),Oe=Ie,Ce=_(g()),Re=function(){function e(t){var n=this;Q(this,e),ne(this,"_playbackHeartbeatInterval",void 0),ne(this,"_playheadShouldBeProgressing",void 0),ne(this,"pm",void 0),this.pm=t,this._playbackHeartbeatInterval=null,this._playheadShouldBeProgressing=!1,t.on("playing",(function(){n._playheadShouldBeProgressing=!0})),t.on("play",this._startPlaybackHeartbeatInterval.bind(this)),t.on("playing",this._startPlaybackHeartbeatInterval.bind(this)),t.on("adbreakstart",this._startPlaybackHeartbeatInterval.bind(this)),t.on("adplay",this._startPlaybackHeartbeatInterval.bind(this)),t.on("adplaying",this._startPlaybackHeartbeatInterval.bind(this)),t.on("devicewake",this._startPlaybackHeartbeatInterval.bind(this)),t.on("viewstart",this._startPlaybackHeartbeatInterval.bind(this)),t.on("rebufferstart",this._startPlaybackHeartbeatInterval.bind(this)),t.on("pause",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("ended",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("viewend",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("error",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("aderror",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("adpause",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("adended",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("adbreakend",this._stopPlaybackHeartbeatInterval.bind(this)),t.on("seeked",(function(){t.data.player_is_paused?n._stopPlaybackHeartbeatInterval():n._startPlaybackHeartbeatInterval()})),t.on("timeupdate",(function(){null!==n._playbackHeartbeatInterval&&t.emit("playbackheartbeat")})),t.on("devicesleep",(function(e,i){null!==n._playbackHeartbeatInterval&&(Ce.default.clearInterval(n._playbackHeartbeatInterval),t.emit("playbackheartbeatend",{viewer_time:i.viewer_time}),n._playbackHeartbeatInterval=null)}))}return te(e,[{key:"_startPlaybackHeartbeatInterval",value:function(){var e=this;null===this._playbackHeartbeatInterval&&(this.pm.emit("playbackheartbeat"),this._playbackHeartbeatInterval=Ce.default.setInterval((function(){e.pm.emit("playbackheartbeat")}),this.pm.playbackHeartbeatTime))}},{key:"_stopPlaybackHeartbeatInterval",value:function(){this._playheadShouldBeProgressing=!1,null!==this._playbackHeartbeatInterval&&(Ce.default.clearInterval(this._playbackHeartbeatInterval),this.pm.emit("playbackheartbeatend"),this._playbackHeartbeatInterval=null)}}]),e}(),Ne=function e(t){var n=this;Q(this,e),ne(this,"viewErrored",void 0),t.on("viewinit",(function(){n.viewErrored=!1})),t.on("error",(function(e,i){try{var o=t.errorTranslator({player_error_code:i.player_error_code,player_error_message:i.player_error_message,player_error_context:i.player_error_context,player_error_severity:i.player_error_severity,player_error_business_exception:i.player_error_business_exception});o&&(t.data.player_error_code=o.player_error_code||i.player_error_code,t.data.player_error_message=o.player_error_message||i.player_error_message,t.data.player_error_context=o.player_error_context||i.player_error_context,t.data.player_error_severity=o.player_error_severity||i.player_error_severity,t.data.player_error_business_exception=o.player_error_business_exception||i.player_error_business_exception,n.viewErrored=!0)}catch(e){t.mux.log.warn("Exception in error translator callback.",e),n.viewErrored=!0}})),t.on("aftererror",(function(){var e,n,i,o,r;null===(e=t.data)||void 0===e||delete e.player_error_code,null===(n=t.data)||void 0===n||delete n.player_error_message,null===(i=t.data)||void 0===i||delete i.player_error_context,null===(o=t.data)||void 0===o||delete o.player_error_severity,null===(r=t.data)||void 0===r||delete r.player_error_business_exception}))},Pe=function(){function e(t){Q(this,e),ne(this,"_watchTimeTrackerLastCheckedTime",void 0),ne(this,"pm",void 0),this.pm=t,this._watchTimeTrackerLastCheckedTime=null,t.on("playbackheartbeat",this._updateWatchTime.bind(this)),t.on("playbackheartbeatend",this._clearWatchTimeState.bind(this))}return te(e,[{key:"_updateWatchTime",value:function(e,t){var n=t.viewer_time;null===this._watchTimeTrackerLastCheckedTime&&(this._watchTimeTrackerLastCheckedTime=n),pe(this.pm.data,"view_watch_time",n-this._watchTimeTrackerLastCheckedTime),this._watchTimeTrackerLastCheckedTime=n}},{key:"_clearWatchTimeState",value:function(e,t){this._updateWatchTime(e,t),this._watchTimeTrackerLastCheckedTime=null}}]),e}(),Le=function(){function e(t){var n=this;Q(this,e),ne(this,"_playbackTimeTrackerLastPlayheadPosition",void 0),ne(this,"_lastTime",void 0),ne(this,"_isAdPlaying",void 0),ne(this,"_callbackUpdatePlaybackTime",void 0),ne(this,"pm",void 0),this.pm=t,this._playbackTimeTrackerLastPlayheadPosition=-1,this._lastTime=$.now(),this._isAdPlaying=!1,this._callbackUpdatePlaybackTime=null;var i=this._startPlaybackTimeTracking.bind(this);t.on("playing",i),t.on("adplaying",i),t.on("seeked",i);var o=this._stopPlaybackTimeTracking.bind(this);t.on("playbackheartbeatend",o),t.on("seeking",o),t.on("adplaying",(function(){n._isAdPlaying=!0})),t.on("adended",(function(){n._isAdPlaying=!1})),t.on("adpause",(function(){n._isAdPlaying=!1})),t.on("adbreakstart",(function(){n._isAdPlaying=!1})),t.on("adbreakend",(function(){n._isAdPlaying=!1})),t.on("adplay",(function(){n._isAdPlaying=!1})),t.on("viewinit",(function(){n._playbackTimeTrackerLastPlayheadPosition=-1,n._lastTime=$.now(),n._isAdPlaying=!1,n._callbackUpdatePlaybackTime=null}))}return te(e,[{key:"_startPlaybackTimeTracking",value:function(){null===this._callbackUpdatePlaybackTime&&(this._callbackUpdatePlaybackTime=this._updatePlaybackTime.bind(this),this._playbackTimeTrackerLastPlayheadPosition=this.pm.data.player_playhead_time,this.pm.on("playbackheartbeat",this._callbackUpdatePlaybackTime))}},{key:"_stopPlaybackTimeTracking",value:function(){this._callbackUpdatePlaybackTime&&(this._updatePlaybackTime(),this.pm.off("playbackheartbeat",this._callbackUpdatePlaybackTime),this._callbackUpdatePlaybackTime=null,this._playbackTimeTrackerLastPlayheadPosition=-1)}},{key:"_updatePlaybackTime",value:function(){var e=this.pm.data.player_playhead_time,t=$.now(),n=-1;this._playbackTimeTrackerLastPlayheadPosition>=0&&e>this._playbackTimeTrackerLastPlayheadPosition?n=e-this._playbackTimeTrackerLastPlayheadPosition:this._isAdPlaying&&(n=t-this._lastTime),n>0&&n<=1e3&&pe(this.pm.data,"view_content_playback_time",n),this._playbackTimeTrackerLastPlayheadPosition=e,this._lastTime=t}}]),e}(),ke=function(){function e(t){Q(this,e),ne(this,"pm",void 0),this.pm=t;var n=this._updatePlayheadTime.bind(this);t.on("playbackheartbeat",n),t.on("playbackheartbeatend",n),t.on("timeupdate",n),t.on("destroy",(function(){t.off("timeupdate",n)}))}return te(e,[{key:"_updateMaxPlayheadPosition",value:function(){this.pm.data.view_max_playhead_position=void 0===this.pm.data.view_max_playhead_position?this.pm.data.player_playhead_time:Math.max(this.pm.data.view_max_playhead_position,this.pm.data.player_playhead_time)}},{key:"_updatePlayheadTime",value:function(e,t){var n=this,i=function(){n.pm.currentFragmentPDT&&n.pm.currentFragmentStart&&(n.pm.data.player_program_time=n.pm.currentFragmentPDT+n.pm.data.player_playhead_time-n.pm.currentFragmentStart)};if(t&&t.player_playhead_time)this.pm.data.player_playhead_time=t.player_playhead_time,i(),this._updateMaxPlayheadPosition();else if(this.pm.getPlayheadTime){var o=this.pm.getPlayheadTime();void 0!==o&&(this.pm.data.player_playhead_time=o,i(),this._updateMaxPlayheadPosition())}}}]),e}(),we=3e5,De=function e(t){if(Q(this,e),!t.disableRebufferTracking){var n,i=function(e,t){o(t),n=void 0},o=function(e){if(n){var i=e.viewer_time-n;pe(t.data,"view_rebuffer_duration",i),n=e.viewer_time,t.data.view_rebuffer_duration>we&&(t.emit("viewend"),t.send("viewend"),t.mux.log.warn("Ending view after rebuffering for longer than ".concat(we,"ms, future events will be ignored unless a programchange or videochange occurs.")))}t.data.view_watch_time>=0&&t.data.view_rebuffer_count>0&&(t.data.view_rebuffer_frequency=t.data.view_rebuffer_count/t.data.view_watch_time,t.data.view_rebuffer_percentage=t.data.view_rebuffer_duration/t.data.view_watch_time)};t.on("playbackheartbeat",(function(e,t){return o(t)})),t.on("rebufferstart",(function(e,o){n||(pe(t.data,"view_rebuffer_count",1),n=o.viewer_time,t.one("rebufferend",i))})),t.on("viewinit",(function(){n=void 0,t.off("rebufferend",i)}))}},Me=function(){function e(t){var n=this;Q(this,e),ne(this,"_lastCheckedTime",void 0),ne(this,"_lastPlayheadTime",void 0),ne(this,"_lastPlayheadTimeUpdatedTime",void 0),ne(this,"_rebuffering",void 0),ne(this,"pm",void 0),this.pm=t,!t.disableRebufferTracking&&!t.disablePlayheadRebufferTracking&&(this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null,t.on("playbackheartbeat",this._checkIfRebuffering.bind(this)),t.on("playbackheartbeatend",this._cleanupRebufferTracker.bind(this)),t.on("seeking",(function(){n._cleanupRebufferTracker(null,{viewer_time:$.now()})})))}return te(e,[{key:"_checkIfRebuffering",value:function(e,t){if(this.pm.seekingTracker.isSeeking||this.pm.adTracker.isAdBreak||!this.pm.playbackHeartbeat._playheadShouldBeProgressing)this._cleanupRebufferTracker(e,t);else if(null!==this._lastCheckedTime)if(this._lastPlayheadTime===this.pm.data.player_playhead_time){var n=t.viewer_time-this._lastPlayheadTimeUpdatedTime;"number"==typeof this.pm.sustainedRebufferThreshold&&n>=this.pm.sustainedRebufferThreshold&&(this._rebuffering||(this._rebuffering=!0,this.pm.emit("rebufferstart",{viewer_time:this._lastPlayheadTimeUpdatedTime}))),this._lastCheckedTime=t.viewer_time}else this._cleanupRebufferTracker(e,t,!0);else this._prepareRebufferTrackerState(t.viewer_time)}},{key:"_clearRebufferTrackerState",value:function(){this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null}},{key:"_prepareRebufferTrackerState",value:function(e){this._lastCheckedTime=e,this._lastPlayheadTime=this.pm.data.player_playhead_time,this._lastPlayheadTimeUpdatedTime=e}},{key:"_cleanupRebufferTracker",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this._rebuffering)this._rebuffering=!1,this.pm.emit("rebufferend",{viewer_time:t.viewer_time});else{if(null===this._lastCheckedTime)return;var i=this.pm.data.player_playhead_time-this._lastPlayheadTime,o=t.viewer_time-this._lastPlayheadTimeUpdatedTime;"number"==typeof this.pm.minimumRebufferDuration&&i>0&&o-i>this.pm.minimumRebufferDuration&&(this._lastCheckedTime=null,this.pm.emit("rebufferstart",{viewer_time:this._lastPlayheadTimeUpdatedTime}),this.pm.emit("rebufferend",{viewer_time:this._lastPlayheadTimeUpdatedTime+o-i}))}n?this._prepareRebufferTrackerState(t.viewer_time):this._clearRebufferTrackerState()}}]),e}(),xe=Me,Ue=function(){function e(t){var n=this;Q(this,e),ne(this,"NAVIGATION_START",void 0),ne(this,"pm",void 0),this.pm=t,t.on("viewinit",(function(){var e=t.data,i=e.view_id;if(!e.view_program_changed){var o=function(e,o){var r=o.viewer_time;("playing"===e.type&&void 0===t.data.view_time_to_first_frame||"adplaying"===e.type&&(void 0===t.data.view_time_to_first_frame||n._inPrerollPosition()))&&n.calculateTimeToFirstFrame(r||$.now(),i)};t.one("playing",o),t.one("adplaying",o),t.one("viewend",(function(){t.off("playing",o),t.off("adplaying",o)}))}}))}return te(e,[{key:"_inPrerollPosition",value:function(){return void 0===this.pm.data.view_content_playback_time||this.pm.data.view_content_playback_time<=1e3}},{key:"calculateTimeToFirstFrame",value:function(e,t){t===this.pm.data.view_id&&(this.pm.watchTimeTracker._updateWatchTime(null,{viewer_time:e}),this.pm.data.view_time_to_first_frame=this.pm.data.view_watch_time,(this.pm.data.player_autoplay_on||this.pm.data.video_is_autoplay)&&this.NAVIGATION_START&&(this.pm.data.view_aggregate_startup_time=this.pm.data.view_start+this.pm.data.view_watch_time-this.NAVIGATION_START))}}]),e}(),Ve=function e(t){var n=this;Q(this,e),ne(this,"_lastPlayerHeight",void 0),ne(this,"_lastPlayerWidth",void 0),ne(this,"_lastPlayheadPosition",void 0),ne(this,"_lastSourceHeight",void 0),ne(this,"_lastSourceWidth",void 0),t.on("viewinit",(function(){n._lastPlayheadPosition=-1})),["pause","rebufferstart","seeking","error","adbreakstart","hb"].forEach((function(e){t.on(e,(function(){if(n._lastPlayheadPosition>=0&&t.data.player_playhead_time>=0&&n._lastPlayerWidth>=0&&n._lastSourceWidth>0&&n._lastPlayerHeight>=0&&n._lastSourceHeight>0){var e=t.data.player_playhead_time-n._lastPlayheadPosition;if(e<0)return void(n._lastPlayheadPosition=-1);var i=Math.min(n._lastPlayerWidth/n._lastSourceWidth,n._lastPlayerHeight/n._lastSourceHeight),o=Math.max(0,i-1),r=Math.max(0,1-i);t.data.view_max_upscale_percentage=Math.max(t.data.view_max_upscale_percentage||0,o),t.data.view_max_downscale_percentage=Math.max(t.data.view_max_downscale_percentage||0,r),pe(t.data,"view_total_content_playback_time",e),pe(t.data,"view_total_upscaling",o*e),pe(t.data,"view_total_downscaling",r*e)}n._lastPlayheadPosition=-1}))})),["playing","hb"].forEach((function(e){t.on(e,(function(){n._lastPlayheadPosition=t.data.player_playhead_time,n._lastPlayerWidth=t.data.player_width,n._lastPlayerHeight=t.data.player_height,n._lastSourceWidth=t.data.video_source_width,n._lastSourceHeight=t.data.video_source_height}))}))},Fe=function e(t){var n=this;Q(this,e),ne(this,"isSeeking",void 0),this.isSeeking=!1;var i=-1,o=function(){var e=$.now(),o=(t.data.viewer_time||e)-(i||e);pe(t.data,"view_seek_duration",o),t.data.view_max_seek_time=Math.max(t.data.view_max_seek_time||0,o),n.isSeeking=!1,i=-1};t.on("seeking",(function(e,r){Object.assign(t.data,r),n.isSeeking&&r.viewer_time-i<=2e3?i=r.viewer_time:(n.isSeeking&&o(),n.isSeeking=!0,i=r.viewer_time,pe(t.data,"view_seek_count",1),t.send("seeking"))})),t.on("seeked",(function(){o()})),t.on("viewend",(function(){n.isSeeking&&(o(),t.send("seeked")),n.isSeeking=!1,i=-1}))},Be=function(e,t){e.push(t),e.sort((function(e,t){return e.viewer_time-t.viewer_time}))},He=["adbreakstart","adrequest","adresponse","adplay","adplaying","adpause","adended","adbreakend","aderror","adclicked","adskipped"],Ge=function(){function e(t){var n=this;Q(this,e),ne(this,"_adHasPlayed",void 0),ne(this,"_adRequests",void 0),ne(this,"_adResponses",void 0),ne(this,"_currentAdRequestNumber",void 0),ne(this,"_currentAdResponseNumber",void 0),ne(this,"_prerollPlayTime",void 0),ne(this,"_wouldBeNewAdPlay",void 0),ne(this,"isAdBreak",void 0),ne(this,"pm",void 0),this.pm=t,t.on("viewinit",(function(){n.isAdBreak=!1,n._currentAdRequestNumber=0,n._currentAdResponseNumber=0,n._adRequests=[],n._adResponses=[],n._adHasPlayed=!1,n._wouldBeNewAdPlay=!0,n._prerollPlayTime=void 0})),He.forEach((function(e){return t.on(e,n._updateAdData.bind(n))}));var i=function(){n.isAdBreak=!1};t.on("adbreakstart",(function(){n.isAdBreak=!0})),t.on("play",i),t.on("playing",i),t.on("viewend",i),t.on("adrequest",(function(e,i){i=Object.assign({ad_request_id:"generatedAdRequestId"+n._currentAdRequestNumber++},i),Be(n._adRequests,i),pe(t.data,"view_ad_request_count"),n.inPrerollPosition()&&(t.data.view_preroll_requested=!0,n._adHasPlayed||pe(t.data,"view_preroll_request_count"))})),t.on("adresponse",(function(e,i){i=Object.assign({ad_request_id:"generatedAdRequestId"+n._currentAdResponseNumber++},i),Be(n._adResponses,i);var o=n.findAdRequest(i.ad_request_id);o&&pe(t.data,"view_ad_request_time",Math.max(0,i.viewer_time-o.viewer_time))})),t.on("adplay",(function(e,i){n._adHasPlayed=!0,n._wouldBeNewAdPlay&&(n._wouldBeNewAdPlay=!1,pe(t.data,"view_ad_played_count")),n.inPrerollPosition()&&!t.data.view_preroll_played&&(t.data.view_preroll_played=!0,n._adRequests.length>0&&(t.data.view_preroll_request_time=Math.max(0,i.viewer_time-n._adRequests[0].viewer_time)),t.data.view_start&&(t.data.view_startup_preroll_request_time=Math.max(0,i.viewer_time-t.data.view_start)),n._prerollPlayTime=i.viewer_time)})),t.on("adplaying",(function(e,i){n.inPrerollPosition()&&void 0===t.data.view_preroll_load_time&&void 0!==n._prerollPlayTime&&(t.data.view_preroll_load_time=i.viewer_time-n._prerollPlayTime,t.data.view_startup_preroll_load_time=i.viewer_time-n._prerollPlayTime)})),t.on("adclicked",(function(e,i){n._wouldBeNewAdPlay||pe(t.data,"view_ad_clicked_count")})),t.on("adskipped",(function(e,i){n._wouldBeNewAdPlay||pe(t.data,"view_ad_skipped_count")})),t.on("adended",(function(){n._wouldBeNewAdPlay=!0})),t.on("aderror",(function(){n._wouldBeNewAdPlay=!0}))}return te(e,[{key:"inPrerollPosition",value:function(){return void 0===this.pm.data.view_content_playback_time||this.pm.data.view_content_playback_time<=1e3}},{key:"findAdRequest",value:function(e){for(var t=0;t<this._adRequests.length;t++)if(this._adRequests[t].ad_request_id===e)return this._adRequests[t]}},{key:"_updateAdData",value:function(e,t){if(this.inPrerollPosition()){if(!this.pm.data.view_preroll_ad_tag_hostname&&t.ad_tag_url){var n=F(se(t.ad_tag_url),2),i=n[0],o=n[1];this.pm.data.view_preroll_ad_tag_domain=o,this.pm.data.view_preroll_ad_tag_hostname=i}if(!this.pm.data.view_preroll_ad_asset_hostname&&t.ad_asset_url){var r=F(se(t.ad_asset_url),2),a=r[0],s=r[1];this.pm.data.view_preroll_ad_asset_domain=s,this.pm.data.view_preroll_ad_asset_hostname=a}}this.pm.data.ad_asset_url=null==t?void 0:t.ad_asset_url,this.pm.data.ad_tag_url=null==t?void 0:t.ad_tag_url,this.pm.data.ad_creative_id=null==t?void 0:t.ad_creative_id,this.pm.data.ad_id=null==t?void 0:t.ad_id,this.pm.data.ad_universal_id=null==t?void 0:t.ad_universal_id}}]),e}(),We=_(g()),je=function e(t){Q(this,e);var n,i,o=function(){t.disableRebufferTracking||n&&(pe(t.data,"view_waiting_rebuffer_duration",$.now()-n),n=!1,We.default.clearInterval(i))},r=!1,a=function(){r=!1,o()};t.on("waiting",(function(){r&&(t.disableRebufferTracking||(pe(t.data,"view_waiting_rebuffer_count",1),n=$.now(),i=We.default.setInterval((function(){if(n){var e=$.now();pe(t.data,"view_waiting_rebuffer_duration",e-n),n=e}}),250)))})),t.on("playing",(function(){o(),r=!0})),t.on("pause",a),t.on("seeking",a)},Ye=function e(t){var n=this;Q(this,e),ne(this,"lastWallClockTime",void 0);var i=function(){n.lastWallClockTime=$.now(),t.on("before*",o)},o=function(e){var i=$.now(),o=n.lastWallClockTime;n.lastWallClockTime=i,i-o>3e4&&(t.emit("devicesleep",{viewer_time:o}),Object.assign(t.data,{viewer_time:o}),t.send("devicesleep"),t.emit("devicewake",{viewer_time:i}),Object.assign(t.data,{viewer_time:i}),t.send("devicewake"))};t.one("playbackheartbeat",i),t.on("playbackheartbeatend",(function(){t.off("before*",o),t.one("playbackheartbeat",i)}))},ze=_(g()),Ke=_(T()),Je=_(A()),qe="muxData",Xe=function(){var e;try{e=Ke.default.parse(Je.default.get(qe)||"")}catch(t){e={}}return e},$e=function(e){try{Je.default.set(qe,Ke.default.stringify(e),{expires:365})}catch(e){}},Ze=_(g()),Qe=function(){var e;switch(et()){case"cellular":e="cellular";break;case"ethernet":e="wired";break;case"wifi":e="wifi";break;case void 0:break;default:e="other"}return e},et=function(){var e=Ze.default.navigator,t=e&&(e.connection||e.mozConnection||e.webkitConnection);return t&&t.type};Qe.getConnectionFromAPI=et;var tt=Qe,nt=ot({a:"env",b:"beacon",c:"custom",d:"ad",e:"event",f:"experiment",i:"internal",m:"mux",n:"response",p:"player",q:"request",r:"retry",s:"session",t:"timestamp",u:"viewer",v:"video",w:"page",x:"view",y:"sub"}),it=ot({ad:"ad",ag:"aggregate",ap:"api",al:"application",ar:"architecture",as:"asset",au:"autoplay",av:"average",bi:"bitrate",br:"break",bw:"browser",by:"bytes",bz:"business",ca:"cached",cb:"cancel",cc:"codec",cd:"code",cg:"category",ch:"changed",ck:"clicked",cl:"canceled",cn:"config",co:"count",ce:"counter",cp:"complete",cr:"creative",ct:"content",cu:"current",cx:"connection",cz:"context",dg:"downscaling",dm:"domain",dn:"cdn",do:"downscale",dr:"drm",dp:"dropped",du:"duration",dv:"device",ec:"encoding",ed:"edge",en:"end",eg:"engine",em:"embed",er:"error",ep:"experiments",es:"errorcode",et:"errortext",ee:"event",ev:"events",ex:"expires",ez:"exception",fa:"failed",fi:"first",fm:"family",ft:"format",fp:"fps",fq:"frequency",fr:"frame",fs:"fullscreen",ha:"has",hb:"holdback",he:"headers",ho:"host",hn:"hostname",ht:"height",id:"id",ii:"init",in:"instance",ip:"ip",is:"is",ke:"key",la:"language",lb:"labeled",le:"level",li:"live",ld:"loaded",lo:"load",ls:"lists",lt:"latency",ma:"max",md:"media",me:"message",mf:"manifest",mi:"mime",ml:"midroll",mm:"min",mn:"manufacturer",mo:"model",mx:"mux",ne:"newest",nm:"name",no:"number",on:"on",os:"os",pa:"paused",pb:"playback",pd:"producer",pe:"percentage",pf:"played",pg:"program",ph:"playhead",pi:"plugin",pl:"preroll",pn:"playing",po:"poster",pr:"preload",ps:"position",pt:"part",py:"property",ra:"rate",rd:"requested",re:"rebuffer",rf:"rendition",rm:"remote",ro:"ratio",rp:"response",rq:"request",rs:"requests",sa:"sample",sd:"skipped",se:"session",sk:"seek",sm:"stream",so:"source",sq:"sequence",sr:"series",st:"start",su:"startup",sv:"server",sw:"software",sy:"severity",ta:"tag",tc:"tech",te:"text",tg:"target",th:"throughput",ti:"time",tl:"total",to:"to",tt:"title",ty:"type",ug:"upscaling",un:"universal",up:"upscale",ur:"url",us:"user",va:"variant",vd:"viewed",vi:"video",ve:"version",vw:"view",vr:"viewer",wd:"width",wa:"watch",wt:"waiting"});function ot(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function rt(e){var t={},n={};return Object.keys(e).forEach((function(i){var o=!1;if(e.hasOwnProperty(i)&&void 0!==e[i]){var r=i.split("_"),a=r[0],s=nt[a];s||(K.info("Data key word `"+r[0]+"` not expected in "+i),s=a+"_"),r.splice(1).forEach((function(e){"url"===e&&(o=!0),it[e]?s+=it[e]:Number(e)&&Math.floor(Number(e))===Number(e)?s+=e:(K.info("Data key word `"+e+"` not expected in "+i),s+="_"+e+"_")})),o?n[s]=e[i]:t[s]=e[i]}})),Object.assign(t,n)}var at=_(g()),st={maxBeaconSize:300,maxQueueLength:3600,baseTimeBetweenBeacons:1e4,maxPayloadKBSize:500},ct=["hb","requestcompleted","requestfailed","requestcanceled"],lt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._beaconUrl=e||"https://img.litix.io",this._eventQueue=[],this._postInFlight=!1,this._failureCount=0,this._sendTimeout=!1,this._options=Object.assign({},st,t)};lt.prototype.queueEvent=function(e,t){var n=Object.assign({},t);return(this._eventQueue.length<=this._options.maxQueueLength||"eventrateexceeded"===e)&&(this._eventQueue.push(n),this._sendTimeout||this._startBeaconSending(),this._eventQueue.length<=this._options.maxQueueLength)},lt.prototype.flushEvents=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&1===this._eventQueue.length?this._eventQueue.pop():(this._eventQueue.length&&this._sendBeaconQueue(),this._startBeaconSending())},lt.prototype.destroy=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.destroyed=!0,e?this._clearBeaconQueue():this.flushEvents(),at.default.clearTimeout(this._sendTimeout)},lt.prototype._clearBeaconQueue=function(){var e=this._eventQueue.length>this._options.maxBeaconSize?this._eventQueue.length-this._options.maxBeaconSize:0,t=this._eventQueue.slice(e);e>0&&Object.assign(t[t.length-1],rt({mux_view_message:"event queue truncated"}));var n=this._createPayload(t);dt(this._beaconUrl,n,!0,(function(){}))},lt.prototype._sendBeaconQueue=function(){var e=this;if(!this._postInFlight){var t=this._eventQueue.slice(0,this._options.maxBeaconSize);this._eventQueue=this._eventQueue.slice(this._options.maxBeaconSize),this._postInFlight=!0;var n=this._createPayload(t),i=$.now();dt(this._beaconUrl,n,!1,(function(n,o){o?(e._eventQueue=t.concat(e._eventQueue),e._failureCount+=1,K.info("Error sending beacon: "+o)):e._failureCount=0,e._roundTripTime=$.now()-i,e._postInFlight=!1}))}},lt.prototype._getNextBeaconTime=function(){if(!this._failureCount)return this._options.baseTimeBetweenBeacons;var e=Math.pow(2,this._failureCount-1);return(1+(e*=Math.random()))*this._options.baseTimeBetweenBeacons},lt.prototype._startBeaconSending=function(){var e=this;at.default.clearTimeout(this._sendTimeout),!this.destroyed&&(this._sendTimeout=at.default.setTimeout((function(){e._eventQueue.length&&e._sendBeaconQueue(),e._startBeaconSending()}),this._getNextBeaconTime()))},lt.prototype._createPayload=function(e){var t=this,n={transmission_timestamp:Math.round($.now())};this._roundTripTime&&(n.rtt_ms=Math.round(this._roundTripTime));var i,o,r,a=function(){i=JSON.stringify({metadata:n,events:o||e}),r=i.length/1024},s=function(){return r<=t._options.maxPayloadKBSize};return a(),s()||(K.info("Payload size is too big ("+r+" kb). Removing unnecessary events."),o=e.filter((function(e){return-1===ct.indexOf(e.e)})),a()),s()||(K.info("Payload size still too big ("+r+" kb). Cropping fields.."),o.forEach((function(e){for(var t in e){var n=e[t];"string"==typeof n&&n.length>51200&&(e[t]=n.substring(0,51200))}})),a()),i};var ut=function(e){return e.length<=57344},dt=function(e,t,n,i){if(n&&navigator&&navigator.sendBeacon&&navigator.sendBeacon(e,t))i();else if(at.default.fetch)at.default.fetch(e,{method:"POST",body:t,headers:{"Content-Type":"text/plain"},keepalive:ut(t)}).then((function(e){return i(null,e.ok?null:"Error")})).catch((function(e){return i(null,e)}));else{if(at.default.XMLHttpRequest){var o=new at.default.XMLHttpRequest;return o.onreadystatechange=function(){if(4===o.readyState)return i(null,200!==o.status?"error":void 0)},o.open("POST",e),o.setRequestHeader("Content-Type","text/plain"),void o.send(t)}i()}},pt=lt,ht=["env_key","view_id","view_sequence_number","player_sequence_number","beacon_domain","player_playhead_time","viewer_time","mux_api_version","event","video_id","player_instance_id","player_error_code","player_error_message","player_error_context","player_error_severity","player_error_business_exception"],ft=["adplay","adplaying","adpause","adfirstquartile","admidpoint","adthirdquartile","adended","adresponse","adrequest"],mt=["ad_id","ad_creative_id","ad_universal_id"],_t=["viewstart","error","ended","viewend"],gt=function(){function e(t,n){var i,o,r,a,s,c,l,u,d,p,h,f,m,_,g,E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Q(this,e),ne(this,"mux",void 0),ne(this,"envKey",void 0),ne(this,"options",void 0),ne(this,"eventQueue",void 0),ne(this,"sampleRate",void 0),ne(this,"disableCookies",void 0),ne(this,"respectDoNotTrack",void 0),ne(this,"previousBeaconData",void 0),ne(this,"lastEventTime",void 0),ne(this,"rateLimited",void 0),ne(this,"pageLevelData",void 0),ne(this,"viewerData",void 0),this.mux=t,this.envKey=n,this.options=E,this.previousBeaconData=null,this.lastEventTime=0,this.rateLimited=!1,this.eventQueue=new pt(function(e,t){var n=t.beaconCollectionDomain,i=t.beaconDomain;if(n)return"https://"+n;var o=i||"litix.io";return(e=e||"inferred").match(/^[a-z0-9]+$/)?"https://"+e+"."+o:"https://img.litix.io/a.gif"}(this.envKey,this.options)),this.sampleRate=null!==(m=this.options.sampleRate)&&void 0!==m?m:1,this.disableCookies=null!==(_=this.options.disableCookies)&&void 0!==_&&_,this.respectDoNotTrack=null!==(g=this.options.respectDoNotTrack)&&void 0!==g&&g,this.previousBeaconData=null,this.lastEventTime=0,this.rateLimited=!1,this.pageLevelData={mux_api_version:this.mux.API_VERSION,mux_embed:this.mux.NAME,mux_embed_version:this.mux.VERSION,viewer_application_name:null===(i=this.options.platform)||void 0===i?void 0:i.name,viewer_application_version:null===(o=this.options.platform)||void 0===o?void 0:o.version,viewer_application_engine:null===(r=this.options.platform)||void 0===r?void 0:r.layout,viewer_device_name:null===(a=this.options.platform)||void 0===a?void 0:a.product,viewer_device_category:"",viewer_device_manufacturer:null===(s=this.options.platform)||void 0===s?void 0:s.manufacturer,viewer_os_family:null===(l=this.options.platform)||void 0===l||null===(c=l.os)||void 0===c?void 0:c.family,viewer_os_architecture:null===(d=this.options.platform)||void 0===d||null===(u=d.os)||void 0===u?void 0:u.architecture,viewer_os_version:null===(h=this.options.platform)||void 0===h||null===(p=h.os)||void 0===p?void 0:p.version,viewer_connection_type:tt(),page_url:null===ze.default||void 0===ze.default||null===(f=ze.default.location)||void 0===f?void 0:f.href},this.viewerData=this.disableCookies?{}:function(){var e=Xe();return e.mux_viewer_id=e.mux_viewer_id||H(),e.msn=e.msn||Math.random(),$e(e),{mux_viewer_id:e.mux_viewer_id,mux_sample_number:e.msn}}()}return te(e,[{key:"send",value:function(e,t){if(e&&null!=t&&t.view_id){if(this.respectDoNotTrack&&q())return K.info("Not sending `"+e+"` because Do Not Track is enabled");if(!t||"object"!=typeof t)return K.error("A data object was expected in send() but was not provided");var n=this.disableCookies?{}:function(){var e=Xe(),t=$.now();return e.session_start&&(e.sst=e.session_start,delete e.session_start),e.session_id&&(e.sid=e.session_id,delete e.session_id),e.session_expires&&(e.sex=e.session_expires,delete e.session_expires),(!e.sex||e.sex<t)&&(e.sid=H(),e.sst=t),e.sex=t+15e5,$e(e),{session_id:e.sid,session_start:e.sst,session_expires:e.sex}}(),i=fe(he({},this.pageLevelData,t,n,this.viewerData),{event:e,env_key:this.envKey});i.user_id&&(i.viewer_user_id=i.user_id,delete i.user_id);var o,r=(null!==(o=i.mux_sample_number)&&void 0!==o?o:0)>=this.sampleRate,a=rt(this._deduplicateBeaconData(e,i));if(this.lastEventTime=this.mux.utils.now(),r)return K.info("Not sending event due to sample rate restriction",e,i,a);if(this.envKey||K.info("Missing environment key (envKey) - beacons will be dropped if the video source is not a valid mux video URL",e,i,a),!this.rateLimited)if(K.info("Sending event",e,i,a),this.rateLimited=!this.eventQueue.queueEvent(e,a),this.mux.WINDOW_UNLOADING&&"viewend"===e)this.eventQueue.destroy(!0);else if(this.mux.WINDOW_HIDDEN&&"hb"===e?this.eventQueue.flushEvents(!0):_t.indexOf(e)>=0&&this.eventQueue.flushEvents(),this.rateLimited)return i.event="eventrateexceeded",a=rt(i),this.eventQueue.queueEvent(i.event,a),K.error("Beaconing disabled due to rate limit.")}}},{key:"destroy",value:function(){this.eventQueue.destroy(!1)}},{key:"_deduplicateBeaconData",value:function(e,t){var n=this,i={},o=t.view_id;if("-1"===o||"viewstart"===e||"viewend"===e||!this.previousBeaconData||this.mux.utils.now()-this.lastEventTime>=6e5)i=he({},t),o&&(this.previousBeaconData=i),o&&"viewend"===e&&(this.previousBeaconData=null);else{var r=0===e.indexOf("request");Object.entries(t).forEach((function(t){var o=F(t,2),a=o[0],s=o[1];n.previousBeaconData&&(s!==n.previousBeaconData[a]||ht.indexOf(a)>-1||n.objectHasChanged(r,a,s,n.previousBeaconData[a])||n.eventRequiresKey(e,a))&&(i[a]=s,n.previousBeaconData[a]=s)}))}return i}},{key:"objectHasChanged",value:function(e,t,n,i){return!(!e||0!==t.indexOf("request_")||"request_response_headers"!==t&&"object"==typeof n&&"object"==typeof i&&Object.keys(n||{}).length===Object.keys(i||{}).length)}},{key:"eventRequiresKey",value:function(e,t){return!!("renditionchange"===e&&0===t.indexOf("video_source_")||mt.includes(t)&&ft.includes(e))}}]),e}(),Et=function e(t){Q(this,e);var n=0,i=0,o=0,r=0,a=0,s=0,c=0;t.on("requestcompleted",(function(e,s){var c,l,u=s.request_start,d=s.request_response_start,p=s.request_response_end,h=s.request_bytes_loaded;if(r++,d?(c=d-(null!=u?u:0),l=(null!=p?p:0)-d):l=(null!=p?p:0)-(null!=u?u:0),l>0&&h&&h>0){var f=h/l*8e3;a++,i+=h,o+=l,t.data.view_min_request_throughput=Math.min(t.data.view_min_request_throughput||1/0,f),t.data.view_average_request_throughput=i/o*8e3,t.data.view_request_count=r,c>0&&(n+=c,t.data.view_max_request_latency=Math.max(t.data.view_max_request_latency||0,c),t.data.view_average_request_latency=n/a)}})),t.on("requestfailed",(function(e,n){r++,s++,t.data.view_request_count=r,t.data.view_request_failed_count=s})),t.on("requestcanceled",(function(e,n){r++,c++,t.data.view_request_count=r,t.data.view_request_canceled_count=c}))},vt=function e(t){var n=this;Q(this,e),ne(this,"_lastEventTime",void 0),t.on("before*",(function(e,i){var o=i.viewer_time,r=$.now(),a=n._lastEventTime;if(n._lastEventTime=r,a&&r-a>36e5){var s=Object.keys(t.data).reduce((function(e,n){return 0===n.indexOf("video_")?Object.assign(e,ne({},n,t.data[n])):e}),{});t.mux.log.info("Received event after at least an hour inactivity, creating a new view"),t.emit("viewinit",Object.assign({viewer_time:o},s)),t.playbackHeartbeat._playheadShouldBeProgressing&&"play"!==e.type&&"adbreakstart"!==e.type&&(t.emit("play",{viewer_time:o}),"playing"!==e.type&&t.emit("playing",{viewer_time:o}))}}))},yt=["viewstart","ended","loadstart","pause","play","playing","ratechange","waiting","adplay","adpause","adended","aderror","adplaying","adrequest","adresponse","adbreakstart","adbreakend","adfirstquartile","admidpoint","adthirdquartile","rebufferstart","rebufferend","seeked","error","hb","requestcompleted","requestfailed","requestcanceled","renditionchange"],bt=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}}),t&&ie(e,t)}(n,e);var t=re(n);function n(e,i,o){var r;Q(this,n),ne(Z(r=t.call(this)),"DOM_CONTENT_LOADED_EVENT_END",void 0),ne(Z(r),"NAVIGATION_START",void 0),ne(Z(r),"_destroyed",void 0),ne(Z(r),"_heartBeatTimeout",void 0),ne(Z(r),"adTracker",void 0),ne(Z(r),"dashjs",void 0),ne(Z(r),"data",void 0),ne(Z(r),"disablePlayheadRebufferTracking",void 0),ne(Z(r),"disableRebufferTracking",void 0),ne(Z(r),"errorTracker",void 0),ne(Z(r),"errorTranslator",void 0),ne(Z(r),"getAdData",void 0),ne(Z(r),"getPlayheadTime",void 0),ne(Z(r),"getStateData",void 0),ne(Z(r),"hlsjs",void 0),ne(Z(r),"id",void 0),ne(Z(r),"longResumeTracker",void 0),ne(Z(r),"minimumRebufferDuration",void 0),ne(Z(r),"mux",void 0),ne(Z(r),"oldEmit",void 0),ne(Z(r),"playbackEventDispatcher",void 0),ne(Z(r),"playbackHeartbeat",void 0),ne(Z(r),"playbackHeartbeatTime",void 0),ne(Z(r),"playheadTime",void 0),ne(Z(r),"seekingTracker",void 0),ne(Z(r),"sustainedRebufferThreshold",void 0),ne(Z(r),"watchTimeTracker",void 0),ne(Z(r),"currentFragmentPDT",void 0),ne(Z(r),"currentFragmentStart",void 0),r.DOM_CONTENT_LOADED_EVENT_END=ue(),r.NAVIGATION_START=de(),r.mux=e,r.id=i,null!=o&&o.beaconDomain&&r.mux.log.warn("The `beaconDomain` setting has been deprecated in favor of `beaconCollectionDomain`. Please change your integration to use `beaconCollectionDomain` instead of `beaconDomain`."),(o=Object.assign({debug:!1,minimumRebufferDuration:250,sustainedRebufferThreshold:1e3,playbackHeartbeatTime:25,beaconDomain:"litix.io",sampleRate:1,disableCookies:!1,respectDoNotTrack:!1,disableRebufferTracking:!1,disablePlayheadRebufferTracking:!1,errorTranslator:function(e){return e}},o)).data=o.data||{},o.data.property_key&&(o.data.env_key=o.data.property_key,delete o.data.property_key),K.setLevel(o.debug?"debug":"warn"),r.getPlayheadTime=o.getPlayheadTime,r.getStateData=o.getStateData||function(){return{}},r.getAdData=o.getAdData||function(){},r.minimumRebufferDuration=o.minimumRebufferDuration,r.sustainedRebufferThreshold=o.sustainedRebufferThreshold,r.playbackHeartbeatTime=o.playbackHeartbeatTime,r.disableRebufferTracking=o.disableRebufferTracking,r.disableRebufferTracking&&r.mux.log.warn("Disabling rebuffer tracking. This should only be used in specific circumstances as a last resort when your player is known to unreliably track rebuffering."),r.disablePlayheadRebufferTracking=o.disablePlayheadRebufferTracking,r.errorTranslator=o.errorTranslator,r.playbackEventDispatcher=new gt(e,o.data.env_key,o),r.data={player_instance_id:H(),mux_sample_rate:o.sampleRate,beacon_domain:o.beaconCollectionDomain||o.beaconDomain},r.data.view_sequence_number=1,r.data.player_sequence_number=1,r.oldEmit=r.emit,r.emit=function(e,t){t=Object.assign({viewer_time:this.mux.utils.now()},t),this.oldEmit(e,t)};var a=function(){void 0===this.data.view_start&&(this.data.view_start=this.mux.utils.now(),this.emit("viewstart"))}.bind(Z(r));r.on("viewinit",(function(e,t){this._resetVideoData(),this._resetViewData(),this._resetErrorData(),this._updateStateData(),Object.assign(this.data,t),this._initializeViewData(),this.one("play",a),this.one("adbreakstart",a)}));var s=function(e){this.emit("viewend"),this.send("viewend"),this.emit("viewinit",e)}.bind(Z(r));if(r.on("videochange",(function(e,t){s(t)})),r.on("programchange",(function(e,t){this.data.player_is_paused&&this.mux.log.warn("The `programchange` event is intended to be used when the content changes mid playback without the video source changing, however the video is not currently playing. If the video source is changing please use the videochange event otherwise you will lose startup time information."),s(Object.assign(t,{view_program_changed:!0})),a(),this.emit("play"),this.emit("playing")})),r.on("fragmentchange",(function(e,t){this.currentFragmentPDT=t.currentFragmentPDT,this.currentFragmentStart=t.currentFragmentStart})),r.on("destroy",r.destroy),"undefined"!=typeof window&&"function"==typeof window.addEventListener&&"function"==typeof window.removeEventListener){var c=function(){var e=void 0!==r.data.view_start;r.mux.WINDOW_HIDDEN="hidden"===document.visibilityState,e&&r.mux.WINDOW_HIDDEN&&(r.data.player_is_paused||r.emit("hb"))};window.addEventListener("visibilitychange",c,!1);var l=function(e){e.persisted||r.destroy()};window.addEventListener("pagehide",l,!1),r.on("destroy",(function(){window.removeEventListener("visibilitychange",c),window.removeEventListener("pagehide",l)}))}return r.on("playerready",(function(e,t){Object.assign(this.data,t)})),yt.forEach((function(e){r.on(e,(function(t,n){0!==e.indexOf("ad")&&this._updateStateData(),Object.assign(this.data,n),this._sanitizeData()})),r.on("after"+e,(function(){("error"!==e||this.errorTracker.viewErrored)&&this.send(e)}))})),r.on("viewend",(function(e,t){Object.assign(r.data,t)})),r.one("playerready",(function(e){var t=this.mux.utils.now();this.data.player_init_time&&(this.data.player_startup_time=t-this.data.player_init_time),!this.mux.PLAYER_TRACKED&&this.NAVIGATION_START&&(this.mux.PLAYER_TRACKED=!0,(this.data.player_init_time||this.DOM_CONTENT_LOADED_EVENT_END)&&(this.data.page_load_time=Math.min(this.data.player_init_time||1/0,this.DOM_CONTENT_LOADED_EVENT_END||1/0)-this.NAVIGATION_START)),this.send("playerready"),delete this.data.player_startup_time,delete this.data.page_load_time})),r.longResumeTracker=new vt(Z(r)),r.errorTracker=new Ne(Z(r)),new Ye(Z(r)),r.seekingTracker=new Fe(Z(r)),r.playheadTime=new ke(Z(r)),r.playbackHeartbeat=new Re(Z(r)),new Ve(Z(r)),r.watchTimeTracker=new Pe(Z(r)),new Le(Z(r)),r.adTracker=new Ge(Z(r)),new xe(Z(r)),new De(Z(r)),new Ue(Z(r)),new je(Z(r)),new Et(Z(r)),o.hlsjs&&r.addHLSJS(o),o.dashjs&&r.addDashJS(o),r.emit("viewinit",o.data),r}return te(n,[{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,void 0!==this.data.view_start&&(this.emit("viewend"),this.send("viewend")),this.playbackEventDispatcher.destroy(),this.removeHLSJS(),this.removeDashJS(),window.clearTimeout(this._heartBeatTimeout))}},{key:"send",value:function(e){if(this.data.view_id){var t=Object.assign({},this.data);if(void 0===t.video_source_is_live&&(t.player_source_duration===1/0||t.video_source_duration===1/0?t.video_source_is_live=!0:(t.player_source_duration>0||t.video_source_duration>0)&&(t.video_source_is_live=!1)),t.video_source_is_live||["player_program_time","player_manifest_newest_program_time","player_live_edge_program_time","player_program_time","video_holdback","video_part_holdback","video_target_duration","video_part_target_duration"].forEach((function(e){t[e]=void 0})),t.video_source_url=t.video_source_url||t.player_source_url,t.video_source_url){var n=F(se(t.video_source_url),2),i=n[0],o=n[1];t.video_source_domain=o,t.video_source_hostname=i}delete t.ad_request_id,this.playbackEventDispatcher.send(e,t),this.data.view_sequence_number++,this.data.player_sequence_number++,this._restartHeartBeat(),"viewend"===e&&delete this.data.view_id}}},{key:"_updateStateData",value:function(){Object.assign(this.data,this.getStateData()),this.playheadTime._updatePlayheadTime(),this._sanitizeData()}},{key:"_sanitizeData",value:function(){var e=this;["player_width","player_height","video_source_width","video_source_height","player_playhead_time","video_source_bitrate"].forEach((function(t){var n=parseInt(e.data[t],10);e.data[t]=isNaN(n)?void 0:n})),["player_source_url","video_source_url"].forEach((function(t){if(e.data[t]){var n=e.data[t].toLowerCase();(0===n.indexOf("data:")||0===n.indexOf("blob:"))&&(e.data[t]="MSE style URL")}}))}},{key:"_resetVideoData",value:function(){var e=this;Object.keys(this.data).forEach((function(t){0===t.indexOf("video_")&&delete e.data[t]}))}},{key:"_resetViewData",value:function(){var e=this;Object.keys(this.data).forEach((function(t){0===t.indexOf("view_")&&delete e.data[t]})),this.data.view_sequence_number=1}},{key:"_resetErrorData",value:function(){delete this.data.player_error_code,delete this.data.player_error_message,delete this.data.player_error_context,delete this.data.player_error_severity,delete this.data.player_error_business_exception}},{key:"_initializeViewData",value:function(){var e=this,t=this.data.view_id=H(),n=function(){t===e.data.view_id&&pe(e.data,"player_view_count",1)};this.data.player_is_paused?this.one("play",n):n()}},{key:"_restartHeartBeat",value:function(){var e=this;window.clearTimeout(this._heartBeatTimeout),this._heartBeatTimeout=window.setTimeout((function(){e.data.player_is_paused||e.emit("hb")}),1e4)}},{key:"addHLSJS",value:function(e){e.hlsjs?this.hlsjs?this.mux.log.warn("An instance of HLS.js is already being monitored for this player."):(this.hlsjs=e.hlsjs,function(e,t,n){var i=arguments.length>4?arguments[4]:void 0,o=e.log,r=e.utils.secondsToMs,a=function(e){var t,n=parseInt(i.version);return 1===n&&null!==e.programDateTime&&(t=e.programDateTime),0===n&&null!==e.pdt&&(t=e.pdt),t};if(le()){var s=function(n,i){return e.emit(t,n,i)},c=function(e,t){var n=t.levels,i=t.audioTracks,o=t.url,r=t.stats,a=t.networkDetails,c=t.sessionData,l={},u={};n.forEach((function(e,t){l[t]={width:e.width,height:e.height,bitrate:e.bitrate,attrs:e.attrs}})),i.forEach((function(e,t){u[t]={name:e.name,language:e.lang,bitrate:e.bitrate}}));var d=ye(r),p=d.bytesLoaded,h=d.requestStart,f=d.responseStart,m=d.responseEnd;s("requestcompleted",fe(he({},ve(c)),{request_event_type:e,request_bytes_loaded:p,request_start:h,request_response_start:f,request_response_end:m,request_type:"manifest",request_hostname:ae(o),request_response_headers:be(a),request_rendition_lists:{media:l,audio:u,video:{}}}))};n.on(i.Events.MANIFEST_LOADED,c);var l=function(e,t){var n=t.details,i=t.level,o=t.networkDetails,c=t.stats,l=ye(c),u=l.bytesLoaded,d=l.requestStart,p=l.responseStart,h=l.responseEnd,f=n.fragments[n.fragments.length-1],m=a(f)+r(f.duration);s("requestcompleted",{request_event_type:e,request_bytes_loaded:u,request_start:d,request_response_start:p,request_response_end:h,request_current_level:i,request_type:"manifest",request_hostname:ae(n.url),request_response_headers:be(o),video_holdback:n.holdBack&&r(n.holdBack),video_part_holdback:n.partHoldBack&&r(n.partHoldBack),video_part_target_duration:n.partTarget&&r(n.partTarget),video_target_duration:n.targetduration&&r(n.targetduration),video_source_is_live:n.live,player_manifest_newest_program_time:isNaN(m)?void 0:m})};n.on(i.Events.LEVEL_LOADED,l);var u=function(e,t){var n=t.details,i=t.networkDetails,o=t.stats,r=ye(o),a=r.bytesLoaded,c=r.requestStart,l=r.responseStart,u=r.responseEnd;s("requestcompleted",{request_event_type:e,request_bytes_loaded:a,request_start:c,request_response_start:l,request_response_end:u,request_type:"manifest",request_hostname:ae(n.url),request_response_headers:be(i)})};n.on(i.Events.AUDIO_TRACK_LOADED,u);var d=function(e,t){var i=t.stats,o=t.networkDetails,r=t.frag;i=i||r.stats;var a=ye(i),c=a.bytesLoaded,l=a.requestStart,u=a.responseStart,d=a.responseEnd,p=o?be(o):void 0,h={request_event_type:e,request_bytes_loaded:c,request_start:l,request_response_start:u,request_response_end:d,request_hostname:o?ae(o.responseURL):void 0,request_id:p?Ee(p):void 0,request_response_headers:p,request_media_duration:r.duration,request_url:null==o?void 0:o.responseURL};"main"===r.type?(h.request_type="media",h.request_current_level=r.level,h.request_video_width=(n.levels[r.level]||{}).width,h.request_video_height=(n.levels[r.level]||{}).height,h.request_labeled_bitrate=(n.levels[r.level]||{}).bitrate):h.request_type=r.type,s("requestcompleted",h)};n.on(i.Events.FRAG_LOADED,d);var p=function(e,t){var n=t.frag,i=n.start,o={currentFragmentPDT:a(n),currentFragmentStart:r(i)};s("fragmentchange",o)};n.on(i.Events.FRAG_CHANGED,p);var h=function(e,t){var n=t.type,o=t.details,r=t.response,a=t.fatal,c=t.frag,l=t.networkDetails,u=(null==c?void 0:c.url)||t.url||"",d=l?be(l):void 0;if((o===i.ErrorDetails.MANIFEST_LOAD_ERROR||o===i.ErrorDetails.MANIFEST_LOAD_TIMEOUT||o===i.ErrorDetails.FRAG_LOAD_ERROR||o===i.ErrorDetails.FRAG_LOAD_TIMEOUT||o===i.ErrorDetails.LEVEL_LOAD_ERROR||o===i.ErrorDetails.LEVEL_LOAD_TIMEOUT||o===i.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||o===i.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT||o===i.ErrorDetails.SUBTITLE_LOAD_ERROR||o===i.ErrorDetails.SUBTITLE_LOAD_TIMEOUT||o===i.ErrorDetails.KEY_LOAD_ERROR||o===i.ErrorDetails.KEY_LOAD_TIMEOUT)&&s("requestfailed",{request_error:o,request_url:u,request_hostname:ae(u),request_id:d?Ee(d):void 0,request_type:o===i.ErrorDetails.FRAG_LOAD_ERROR||o===i.ErrorDetails.FRAG_LOAD_TIMEOUT?"media":o===i.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||o===i.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT?"audio":o===i.ErrorDetails.SUBTITLE_LOAD_ERROR||o===i.ErrorDetails.SUBTITLE_LOAD_TIMEOUT?"subtitle":o===i.ErrorDetails.KEY_LOAD_ERROR||o===i.ErrorDetails.KEY_LOAD_TIMEOUT?"encryption":"manifest",request_error_code:null==r?void 0:r.code,request_error_text:null==r?void 0:r.text}),a){var p,h="".concat(u?"url: ".concat(u,"\n"):"")+"".concat(r&&(r.code||r.text)?"response: ".concat(r.code,", ").concat(r.text,"\n"):"")+"".concat(t.reason?"failure reason: ".concat(t.reason,"\n"):"")+"".concat(t.level?"level: ".concat(t.level,"\n"):"")+"".concat(t.parent?"parent stream controller: ".concat(t.parent,"\n"):"")+"".concat(t.buffer?"buffer length: ".concat(t.buffer,"\n"):"")+"".concat(t.error?"error: ".concat(t.error,"\n"):"")+"".concat(t.event?"event: ".concat(t.event,"\n"):"")+"".concat(t.err?"error message: ".concat(null===(p=t.err)||void 0===p?void 0:p.message,"\n"):"");s("error",{player_error_code:n,player_error_message:o,player_error_context:h})}};n.on(i.Events.ERROR,h);var f=function(e,t){var n=t.frag,i=n&&n._url||"";s("requestcanceled",{request_event_type:e,request_url:i,request_type:"media",request_hostname:ae(i)})};n.on(i.Events.FRAG_LOAD_EMERGENCY_ABORTED,f);var m=function(e,t){var i=t.level,r=n.levels[i];if(r&&r.attrs&&r.attrs.BANDWIDTH){var a,c=r.attrs.BANDWIDTH,l=parseFloat(r.attrs["FRAME-RATE"]);isNaN(l)||(a=l),c?s("renditionchange",{video_source_fps:a,video_source_bitrate:c,video_source_width:r.width,video_source_height:r.height,video_source_rendition_name:r.name,video_source_codec:null==r?void 0:r.videoCodec}):o.warn("missing BANDWIDTH from HLS manifest parsed by HLS.js")}};n.on(i.Events.LEVEL_SWITCHED,m),n._stopMuxMonitor=function(){n.off(i.Events.MANIFEST_LOADED,c),n.off(i.Events.LEVEL_LOADED,l),n.off(i.Events.AUDIO_TRACK_LOADED,u),n.off(i.Events.FRAG_LOADED,d),n.off(i.Events.FRAG_CHANGED,p),n.off(i.Events.ERROR,h),n.off(i.Events.FRAG_LOAD_EMERGENCY_ABORTED,f),n.off(i.Events.LEVEL_SWITCHED,m),n.off(i.Events.DESTROYING,n._stopMuxMonitor),delete n._stopMuxMonitor},n.on(i.Events.DESTROYING,n._stopMuxMonitor)}else o.warn("performance timing not supported. Not tracking HLS.js.")}(this.mux,this.id,e.hlsjs,{},e.Hls||window.Hls)):this.mux.log.warn("You must pass a valid hlsjs instance in order to track it.")}},{key:"removeHLSJS",value:function(){this.hlsjs&&(function(e){e&&"function"==typeof e._stopMuxMonitor&&e._stopMuxMonitor()}(this.hlsjs),this.hlsjs=void 0)}},{key:"addDashJS",value:function(e){e.dashjs?this.dashjs?this.mux.log.warn("An instance of Dash.js is already being monitored for this player."):(this.dashjs=e.dashjs,function(e,t,n){var i=e.log;if(n&&n.on){var o=function(e){try{var t,n;return null===(n=e.getVersion)||void 0===n||null===(t=n.call(e))||void 0===t?void 0:t.split(".").map((function(e){return parseInt(e)}))[0]}catch(e){return!1}}(n),r=function(n,i){return e.emit(t,n,i)},a=function(e){var t=e.type,n=(e.data||{}).url;r("requestcompleted",{request_event_type:t,request_start:0,request_response_start:0,request_response_end:0,request_bytes_loaded:-1,request_type:"manifest",request_hostname:ae(n),request_url:n})};n.on("manifestLoaded",a);var s={},c=function(e){if("function"!=typeof e.getRequests)return null;var t=e.getRequests({state:"executed"});return 0===t.length?null:t[t.length-1]},l=function(e){var t=e.type,i=e.chunk,o=e.request,a=(i||{}).mediaInfo||{},c=a.type,l=a.bitrateList,u={};(l=l||[]).forEach((function(e,t){u[t]={},u[t].width=e.width,u[t].height=e.height,u[t].bitrate=e.bandwidth,u[t].attrs={}})),"video"===c?s.video=u:"audio"===c?s.audio=u:s.media=u;var d=Se(o,n),p=d.requestStart,h=d.requestResponseStart,f=d.requestResponseEnd,m=d.requestResponseHeaders,_=d.requestMediaDuration,g=d.requestHostname,E=d.requestUrl,v=d.requestId;r("requestcompleted",{request_event_type:t,request_start:p,request_response_start:h,request_response_end:f,request_bytes_loaded:-1,request_type:c+"_init",request_response_headers:m,request_hostname:g,request_id:v,request_url:E,request_media_duration:_,request_rendition_lists:s})};o>=4?n.on("initFragmentLoaded",l):n.on("initFragmentLoaded",(function(e){var t=e.type,n=e.fragmentModel,i=e.chunk,o=c(n);l({type:t,request:o,chunk:i})}));var u=function(e){var t=e.type,i=e.chunk,o=e.request,a=i||{},s=a.mediaInfo,c=a.start,l=(s||{}).type,u=Se(o,n),d=u.requestStart,p=u.requestResponseStart,h=u.requestResponseEnd,f=u.requestBytesLoaded,m=u.requestResponseHeaders,_=u.requestMediaDuration,g=u.requestHostname,E=u.requestUrl,v=u.requestId,y=function(e,t){var n=t.getQualityFor(e),i=t.getCurrentTrackFor(e).bitrateList;return i?{currentLevel:n,renditionWidth:i[n].width||null,renditionHeight:i[n].height||null,renditionBitrate:i[n].bandwidth}:{}}(l,n),b=y.currentLevel,S=y.renditionWidth,T=y.renditionHeight,A=y.renditionBitrate;r("requestcompleted",{request_event_type:t,request_start:d,request_response_start:p,request_response_end:h,request_bytes_loaded:f,request_type:l,request_response_headers:m,request_hostname:g,request_id:v,request_url:E,request_media_start_time:c,request_media_duration:_,request_current_level:b,request_labeled_bitrate:A,request_video_width:S,request_video_height:T})};o>=4?n.on("mediaFragmentLoaded",u):n.on("mediaFragmentLoaded",(function(e){var t=e.type,n=e.fragmentModel,i=e.chunk,o=c(n);u({type:t,request:o,chunk:i})}));var d={video:void 0,audio:void 0,totalBitrate:void 0},p=function(e,t,o){if("number"==typeof e.newQuality){var a=e.mediaType;if("audio"===a||"video"===a){var s=n.getBitrateInfoListFor(a).find((function(t){return t.qualityIndex===e.newQuality}));if(!s||"number"!=typeof s.bitrate)return void i.warn("missing bitrate info for ".concat(a));d[a]=fe(he({},s),{codec:n.getCurrentTrackFor(a).codec});var c=function(){if(d.video&&"number"==typeof d.video.bitrate){if(!d.video.width||!d.video.height)return void i.warn("have bitrate info for video but missing width/height");var e=d.video.bitrate;if(d.audio&&"number"==typeof d.audio.bitrate&&(e+=d.audio.bitrate),e!==d.totalBitrate)return d.totalBitrate=e,{video_source_bitrate:e,video_source_height:d.video.height,video_source_width:d.video.width,video_source_codec:Te(d.video.codec)}}}();c&&r("renditionchange",c)}}else i.warn("missing evt.newQuality in qualityChangeRendered event",e)};n.on("qualityChangeRendered",p);var h=function(e){var t=e.request,n=e.mediaType;r("requestcanceled",{request_event_type:(t=t||{}).type+"_"+t.action,request_url:t.url,request_type:n,request_hostname:ae(t.url)})};n.on("fragmentLoadingAbandoned",h);var f=function(e){var t,n,i=e.error,o=(null==i||null===(t=i.data)||void 0===t?void 0:t.request)||{},a=(null==i||null===(n=i.data)||void 0===n?void 0:n.response)||{};27===(null==i?void 0:i.code)&&r("requestfailed",{request_error:o.type+"_"+o.action,request_url:o.url,request_hostname:ae(o.url),request_type:o.mediaType,request_error_code:a.status,request_error_text:a.statusText});var s="".concat(null!=o&&o.url?"url: ".concat(o.url,"\n"):"")+"".concat(null!=a&&a.status||null!=a&&a.statusText?"response: ".concat(null==a?void 0:a.status,", ").concat(null==a?void 0:a.statusText,"\n"):"");r("error",{player_error_code:null==i?void 0:i.code,player_error_message:null==i?void 0:i.message,player_error_context:s})};n.on("error",f),n._stopMuxMonitor=function(){n.off("manifestLoaded",a),n.off("initFragmentLoaded",l),n.off("mediaFragmentLoaded",u),n.off("qualityChangeRendered",p),n.off("error",f),n.off("fragmentLoadingAbandoned",h),delete n._stopMuxMonitor}}else i.warn("Invalid dash.js player reference. Monitoring blocked.")}(this.mux,this.id,e.dashjs)):this.mux.log.warn("You must pass a valid dashjs instance in order to track it.")}},{key:"removeDashJS",value:function(){this.dashjs&&(function(e){e&&"function"==typeof e._stopMuxMonitor&&e._stopMuxMonitor()}(this.dashjs),this.dashjs=void 0)}}]),n}(Oe),St=bt;v();var Tt,At=_(U()),It=["loadstart","pause","play","playing","seeking","seeked","timeupdate","ratechange","stalled","waiting","error","ended"],Ot={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"},Ct=_(g());Ct.default&&Ct.default.WeakMap&&(Tt=new WeakMap);var Rt=function(e){return this.buffer="",this.manifest={segments:[],serverControl:{},sessionData:{}},this.currentUri={},this.process(e),this.manifest};Rt.prototype.process=function(e){var t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.processLine(this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},Rt.prototype.processLine=function(e){var t=e.indexOf(":"),n=Mt(e,t),i=n[0],o=2===n.length?Lt(n[1]):void 0;if("#"!==i[0])this.currentUri.uri=i,this.manifest.segments.push(this.currentUri),this.manifest.targetDuration&&!("duration"in this.currentUri)&&(this.currentUri.duration=this.manifest.targetDuration),this.currentUri={};else switch(i){case"#EXT-X-TARGETDURATION":if(!isFinite(o)||o<0)return;this.manifest.targetDuration=o,this.setHoldBack();break;case"#EXT-X-PART-INF":Nt(this.manifest,n),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),this.setHoldBack();break;case"#EXT-X-SERVER-CONTROL":Nt(this.manifest,n),this.setHoldBack();break;case"#EXTINF":0===o?this.currentUri.duration=.01:o>0&&(this.currentUri.duration=o);break;case"#EXT-X-PROGRAM-DATE-TIME":var r=o,a=new Date(r);this.manifest.dateTimeString||(this.manifest.dateTimeString=r,this.manifest.dateTimeObject=a),this.currentUri.dateTimeString=r,this.currentUri.dateTimeObject=a;break;case"#EXT-X-VERSION":Nt(this.manifest,n);break;case"#EXT-X-SESSION-DATA":var s=xt(n[1]),c=ve(s);Object.assign(this.manifest.sessionData,c)}},Rt.prototype.setHoldBack=function(){var e=this.manifest,t=e.serverControl,n=e.targetDuration,i=e.partTargetDuration;if(t){var o="holdBack",r="partHoldBack",a=n&&3*n,s=i&&2*i;n&&!t.hasOwnProperty(o)&&(t[o]=a),a&&t[o]<a&&(t[o]=a),i&&!t.hasOwnProperty(r)&&(t[r]=3*i),i&&t[r]<s&&(t[r]=s)}};var Nt=function(e,t){var n,i=Pt(t[0].replace("#EXT-X-",""));Dt(t[1])?(n={},n=Object.assign(wt(t[1]),n)):n=Lt(t[1]),e[i]=n},Pt=function(e){return e.toLowerCase().replace(/-(\w)/g,(function(e){return e[1].toUpperCase()}))},Lt=function(e){if("yes"===e.toLowerCase()||"no"===e.toLowerCase())return"yes"===e.toLowerCase();var t=-1!==e.indexOf(":")?e:parseFloat(e);return isNaN(t)?e:t},kt=function(e){var t={},n=e.split("=");return n.length>1&&(t[Pt(n[0])]=Lt(n[1])),t},wt=function(e){for(var t=e.split(","),n={},i=0;t.length>i;i++){var o=t[i],r=kt(o);n=Object.assign(r,n)}return n},Dt=function(e){return e.indexOf("=")>-1},Mt=function(e,t){return-1===t?[e]:[e.substring(0,t),e.substring(t+1)]},xt=function(e){var t={};if(e){var n=e.search(",");return[e.slice(0,n),e.slice(n+1)].forEach((function(e,n){for(var i=e.replace(/['"]+/g,"").split("="),o=0;o<i.length;o++)"DATA-ID"===i[o]&&(t["DATA-ID"]=i[1-o]),"VALUE"===i[o]&&(t.VALUE=i[1-o])})),{data:t}}},Ut=Rt,Vt={safeCall:function(e,t,n,i){var o=i;if(e&&"function"==typeof e[t])try{o=e[t].apply(e,n)}catch(e){K.info("safeCall error",e)}return o},safeIncrement:pe,getComputedStyle:function(e,t){return e&&t&&Ct.default&&"function"==typeof Ct.default.getComputedStyle?(Tt&&Tt.has(e)&&(n=Tt.get(e)),n||(n=Ct.default.getComputedStyle(e,null),Tt&&Tt.set(e,n)),n.getPropertyValue(t)):"";var n},secondsToMs:function(e){return Math.floor(1e3*e)},assign:Object.assign,headersStringToObject:ge,cdnHeadersToRequestId:Ee,extractHostnameAndDomain:se,extractHostname:ae,manifestParser:Ut,generateShortID:G,generateUUID:H,now:$.now},Ft={},Bt=function(e){var t=arguments;"string"==typeof e?Bt.hasOwnProperty(e)?B.default.setTimeout((function(){t=Array.prototype.splice.call(t,1),Bt[e].apply(null,t)}),0):K.warn("`"+e+"` is an unknown task"):"function"==typeof e?B.default.setTimeout((function(){e(Bt)}),0):K.warn("`"+e+"` is invalid.")},Ht={loaded:$.now(),NAME:"mux-embed",VERSION:"5.2.1",API_VERSION:"2.1",PLAYER_TRACKED:!1,monitor:function(e,t){return function(e,t,n){var i=F(j(t),3),o=i[0],r=i[1],a=i[2],s=e.log,c=e.utils.getComputedStyle,l=e.utils.secondsToMs;if(!o)return s.error("No element was found with the `"+r+"` query selector.");if("video"!==a&&"audio"!==a)return s.error("The element of `"+r+"` was not a media element.");o.mux&&(o.mux.destroy(),delete o.mux,s.warn("Already monitoring this video element, replacing existing event listeners")),(n=Object.assign({automaticErrorTracking:!0},n)).data=Object.assign({player_software:"HTML5 Video Element",player_mux_plugin_name:"VideoElementMonitor",player_mux_plugin_version:e.VERSION},n.data),n.getPlayheadTime=function(){return l(o.currentTime)},n.getStateData=function(){var e,t=this.hlsjs&&this.hlsjs.url,i=this.dashjs&&E("function"===this.dashjs.getSource)&&this.dashjs.getSource(),r={player_is_paused:o.paused,player_playhead_time:l(o.currentTime),player_width:parseInt(c(o,"width")),player_height:parseInt(c(o,"height")),player_autoplay_on:o.autoplay,player_preload_on:o.preload,player_language_code:o.lang,player_is_fullscreen:At.default&&!!(At.default.fullscreenElement||At.default.webkitFullscreenElement||At.default.mozFullScreenElement||At.default.msFullscreenElement),video_poster_url:o.poster,video_source_url:t||i||o.currentSrc,video_source_duration:l(o.duration),video_source_height:o.videoHeight,video_source_width:o.videoWidth,view_dropped_frame_count:null==o||null===(e=o.getVideoPlaybackQuality)||void 0===e?void 0:e.call(o).droppedVideoFrames},a=n.getPlayheadTime();if(o.getStartDate&&a>0){var s=o.getStartDate();if(s&&"function"==typeof s.getTime&&s.getTime()){var u=s.getTime();if(r.player_program_time=u+a,o.seekable.length>0){var d=u+o.seekable.end(o.seekable.length-1);r.player_live_edge_program_time=d}}}return r},o.mux=o.mux||{},o.mux.deleted=!1,o.mux.emit=function(t,n){e.emit(r,t,n)};var u=function(){s.error("The monitor for this video element has already been destroyed.")};o.mux.destroy=function(){Object.keys(o.mux.listeners).forEach((function(e){o.removeEventListener(e,o.mux.listeners[e],!1)})),delete o.mux.listeners,o.mux.destroy=u,o.mux.swapElement=u,o.mux.emit=u,o.mux.addHLSJS=u,o.mux.addDashJS=u,o.mux.removeHLSJS=u,o.mux.removeDashJS=u,o.mux.deleted=!0,e.emit(r,"destroy")},o.mux.swapElement=function(t){var n=F(j(t),3),i=n[0],r=n[1],a=n[2];return i?"video"!==a&&"audio"!==a?e.log.error("The element of `"+r+"` was not a media element."):(i.muxId=o.muxId,delete o.muxId,i.mux=i.mux||{},i.mux.listeners=Object.assign({},o.mux.listeners),delete o.mux.listeners,Object.keys(i.mux.listeners).forEach((function(e){o.removeEventListener(e,i.mux.listeners[e],!1),i.addEventListener(e,i.mux.listeners[e],!1)})),i.mux.swapElement=o.mux.swapElement,i.mux.destroy=o.mux.destroy,delete o.mux,void(o=i)):e.log.error("No element was found with the `"+r+"` query selector.")},o.mux.addHLSJS=function(t){e.addHLSJS(r,t)},o.mux.addDashJS=function(t){e.addDashJS(r,t)},o.mux.removeHLSJS=function(){e.removeHLSJS(r)},o.mux.removeDashJS=function(){e.removeDashJS(r)},e.init(r,n),e.emit(r,"playerready"),o.paused||(e.emit(r,"play"),o.readyState>2&&e.emit(r,"playing")),o.mux.listeners={},It.forEach((function(t){"error"===t&&!n.automaticErrorTracking||(o.mux.listeners[t]=function(){var n={};if("error"===t){if(!o.error||1===o.error.code)return;n.player_error_code=o.error.code,n.player_error_message=Ot[o.error.code]||o.error.message}e.emit(r,t,n)},o.addEventListener(t,o.mux.listeners[t],!1))}))}(Bt,e,t)},destroyMonitor:function(e){var t=F(j(e),1)[0];t&&t.mux&&"function"==typeof t.mux.destroy?t.mux.destroy():K.error("A video element monitor for `"+e+"` has not been initialized via `mux.monitor`.")},addHLSJS:function(e,t){var n=W(e);Ft[n]?Ft[n].addHLSJS(t):K.error("A monitor for `"+n+"` has not been initialized.")},addDashJS:function(e,t){var n=W(e);Ft[n]?Ft[n].addDashJS(t):K.error("A monitor for `"+n+"` has not been initialized.")},removeHLSJS:function(e){var t=W(e);Ft[t]?Ft[t].removeHLSJS():K.error("A monitor for `"+t+"` has not been initialized.")},removeDashJS:function(e){var t=W(e);Ft[t]?Ft[t].removeDashJS():K.error("A monitor for `"+t+"` has not been initialized.")},init:function(e,t){q()&&t&&t.respectDoNotTrack&&K.info("The browser's Do Not Track flag is enabled - Mux beaconing is disabled.");var n=W(e);Ft[n]=new St(Bt,n,t)},emit:function(e,t,n){var i=W(e);Ft[i]?(Ft[i].emit(t,n),"destroy"===t&&delete Ft[i]):K.error("A monitor for `"+i+"` has not been initialized.")},checkDoNotTrack:q,log:K,utils:Vt,events:{PLAYER_READY:"playerready",VIEW_INIT:"viewinit",VIDEO_CHANGE:"videochange",PLAY:"play",PAUSE:"pause",PLAYING:"playing",TIME_UPDATE:"timeupdate",SEEKING:"seeking",SEEKED:"seeked",REBUFFER_START:"rebufferstart",REBUFFER_END:"rebufferend",ERROR:"error",ENDED:"ended",RENDITION_CHANGE:"renditionchange",ORIENTATION_CHANGE:"orientationchange",AD_REQUEST:"adrequest",AD_RESPONSE:"adresponse",AD_BREAK_START:"adbreakstart",AD_PLAY:"adplay",AD_PLAYING:"adplaying",AD_PAUSE:"adpause",AD_FIRST_QUARTILE:"adfirstquartile",AD_MID_POINT:"admidpoint",AD_THIRD_QUARTILE:"adthirdquartile",AD_ENDED:"adended",AD_BREAK_END:"adbreakend",AD_ERROR:"aderror",REQUEST_COMPLETED:"requestcompleted",REQUEST_FAILED:"requestfailed",REQUEST_CANCELLED:"requestcanceled"},WINDOW_HIDDEN:!1,WINDOW_UNLOADING:!1};Object.assign(Bt,Ht),void 0!==B.default&&"function"==typeof B.default.addEventListener&&B.default.addEventListener("pagehide",(function(e){e.persisted||(Bt.WINDOW_UNLOADING=!0)}),!1);var Gt=Bt;function Wt(e){return Wt="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},Wt(e)}var jt=Gt.log,Yt=Gt.utils.secondsToMs,zt=Gt.utils.assign,Kt=Gt.utils.getComputedStyle,Jt=Gt.utils.extractHostname,qt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r().shaka;if("object"!==Wt(e)||void 0===e.constructor.version)return jt.warn("[shakaPlayer-mux] You must provide a valid shakaPlayer to initShakaPlayerMux."),{emit:function(){jt.warn("[shakaPlayer-mux] emit is a no-op because initShakaPlayerMux was not initialized correctly")},loadErrorHandler:function(){jt.warn("[shakaPlayer-mux] loadErrorHandler is a no-op because initShakaPlayerMux was not initialized correctly")}};var i=function(t){return e.getMediaElement()&&e.getMediaElement()[t]},o=function(t){var n=e.getMediaElement();if(n)return parseInt(Kt(n,t))},a=function(){var e=i("preload");return"auto"===e||"metadata"===e};function c(){var t=s().fullscreenElement||s().webkitFullscreenElement||s().mozFullScreenElement||s().msFullscreenElement;return t?t===e.getMediaElement():void 0}(t=zt({automaticErrorTracking:!0},t)).data=zt({player_software_name:"Shaka Player",player_software_version:e.constructor.version,player_mux_plugin_name:"shakaplayer-mux",player_mux_plugin_version:"5.12.4"},t.data);var l=Gt.utils.generateShortID();e.mux={},e.mux.emit=function(e,t){Gt.emit(l,e,t)},t.getPlayheadTime=function(){return Yt(i("currentTime"))},t.getStateData=function(){var t=e.getStats();return{player_is_paused:i("paused"),player_width:o("width"),player_height:o("height"),video_source_height:t.height,video_source_width:t.width,player_is_fullscreen:c(),player_autoplay_on:i("autoplay"),player_preload_on:a(),video_source_url:e.getAssetUri(),video_source_duration:Yt(i("duration")),view_dropped_frame_count:t.droppedFrames,video_poster_url:i("poster"),player_language_code:i("lang")}};var u=["pause","play","playing","seeking","seeked","timeupdate","stalled","waiting","ended"],d={},p={},h=!1;p.onstatechange=function(t){!h&&e.getMediaElement()&&function(){h=!0;var t=e.getMediaElement();if(!t)return jt.warn("[shakaPlayer-mux] Unable to getMediaElement() on shaka.Player instance when attempting to attachMediaElementEvents()");u.forEach((function(n){d[n]=function(){var i={};"timeupdate"===n&&(i.player_playhead_time=t.currentTime),e.mux.emit(n,i)},t.addEventListener(n,d[n],!1)}))}(),"load"===t.state&&e.mux.emit("playerready")};var f={video_source_bitrate:void 0,video_source_codec:void 0,video_source_fps:void 0},m=function(){var t=function(){var t,n,i=e.getVariantTracks(),o=i&&i.filter((function(e){return e.active})),r=o&&o.map((function(e){return e.bandwidth})),a=r&&r.reduce((function(e,t){return e+t}),0);return{video_source_bitrate:a,video_source_codec:null==o||null===(t=o[0])||void 0===t?void 0:t.videoCodec,video_source_fps:null==o||null===(n=o[0])||void 0===n?void 0:n.frameRate}}();t&&JSON.stringify(t)!==JSON.stringify(f)&&(f=t,e.mux.emit("renditionchange",t))};p.adaptation=function(){m()},p.variantchanged=function(){m()},e.addEventListener("onstatechange",p.onstatechange),e.addEventListener("adaptation",p.adaptation),e.addEventListener("variantchanged",p.variantchanged);var _=function(e){var t,i;if(e.message)return e.message;var o=null===(t=n.util)||void 0===t||null===(i=t.Error)||void 0===i?void 0:i.Code;for(var r in o)if(o[r]===e.code)return r;return e.code},g=function(t){if(2===(null==t?void 0:t.severity)){var n;try{n=JSON.stringify(t.data||null)}catch(e){n=null}e.mux.emit("error",{player_error_code:t.code,player_error_message:_(t),player_error_context:n})}};p.error=function(e){if(t.automaticErrorTracking){var n=e.detail;g(n)}},e.addEventListener("error",p.error),e.mux.destroy=function(){Object.keys(p).forEach((function(t){e.removeEventListener(t,p[t]),delete p[t]})),Object.keys(d).forEach((function(t){var n=e.getMediaElement();n&&n.removeEventListener(t,d[t],!1),delete d[t]})),e.mux.emit("destroy")};var E={0:"manifest",1:"media",6:"encryption"};return e.getNetworkingEngine().registerResponseFilter((function(t,n){var i,o=Gt.utils.now();if(!n.fromCache){var r=E[t&&t.toString()];if(r){var a={request_bytes_loaded:null===(i=n.data)||void 0===i?void 0:i.byteLength,request_hostname:Jt(n.uri),request_url:n.uri,request_response_headers:n.headers,request_type:r,request_start:n.timeMs?o-n.timeMs:void 0,request_response_end:o};e.mux.emit("requestcompleted",a)}}})),Gt.init(l,t),{emit:e.mux.emit,loadErrorHandler:g}};qt.utils=Gt.utils;var Xt=qt},153:function(e,t,n){var i,o=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},r=n(558);"undefined"!=typeof document?i=document:(i=o["__GLOBAL_DOCUMENT_CACHE@4"])||(i=o["__GLOBAL_DOCUMENT_CACHE@4"]=r),e.exports=i},48:function(e,t,n){var i;i="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=i},558:function(){}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}return i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i(254)}()},e.exports=i()},87168:(e,t,n)=>{"use strict";function i(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{A:()=>i})},70271:(e,t,n)=>{"use strict";function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:()=>i})},27777:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>a,sb:()=>r,vq:()=>o});var i=n(70271);function o(e){return e instanceof(0,i.A)(e).Element||e instanceof Element}function r(e){return e instanceof(0,i.A)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,i.A)(e).ShadowRoot||e instanceof ShadowRoot)}},31819:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(87168),o=n(27777);const r={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];(0,o.sb)(a)&&(0,i.A)(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,o.sb)(r)&&(0,i.A)(r)&&(Object.assign(r.style,s),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]}},84729:(e,t,n)=>{"use strict";function i(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}n.d(t,{n4:()=>Ee});var o=n(70271);function r(e){var t=(0,o.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var a=n(27777);var s=n(87168);function c(e){return(((0,a.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}function l(e){return i(c(e)).left+r(e).scrollLeft}function u(e){return(0,o.A)(e).getComputedStyle(e)}function d(e){var t=u(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function p(e,t,n){void 0===n&&(n=!1);var u=(0,a.sb)(t),p=(0,a.sb)(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,i=t.height/e.offsetHeight||1;return 1!==n||1!==i}(t),h=c(t),f=i(e,p),m={scrollLeft:0,scrollTop:0},_={x:0,y:0};return(u||!u&&!n)&&(("body"!==(0,s.A)(t)||d(h))&&(m=function(e){return e!==(0,o.A)(e)&&(0,a.sb)(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:r(e);var t}(t)),(0,a.sb)(t)?((_=i(t,!0)).x+=t.clientLeft,_.y+=t.clientTop):h&&(_.x=l(h))),{x:f.left+m.scrollLeft-_.x,y:f.top+m.scrollTop-_.y,width:f.width,height:f.height}}function h(e){var t=i(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function f(e){return"html"===(0,s.A)(e)?e:e.assignedSlot||e.parentNode||((0,a.Ng)(e)?e.host:null)||c(e)}function m(e){return["html","body","#document"].indexOf((0,s.A)(e))>=0?e.ownerDocument.body:(0,a.sb)(e)&&d(e)?e:m(f(e))}function _(e,t){var n;void 0===t&&(t=[]);var i=m(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),a=(0,o.A)(i),s=r?[a].concat(a.visualViewport||[],d(i)?i:[]):i,c=t.concat(s);return r?c:c.concat(_(f(s)))}function g(e){return["table","td","th"].indexOf((0,s.A)(e))>=0}function E(e){return(0,a.sb)(e)&&"fixed"!==u(e).position?e.offsetParent:null}function v(e){for(var t=(0,o.A)(e),n=E(e);n&&g(n)&&"static"===u(n).position;)n=E(n);return n&&("html"===(0,s.A)(n)||"body"===(0,s.A)(n)&&"static"===u(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,a.sb)(e)&&"fixed"===u(e).position)return null;for(var n=f(e);(0,a.sb)(n)&&["html","body"].indexOf((0,s.A)(n))<0;){var i=u(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}var y="top",b="bottom",S="right",T="left",A="auto",I=[y,b,S,T],O="start",C="end",R="clippingParents",N="viewport",P="popper",L="reference",k=I.reduce((function(e,t){return e.concat([t+"-"+O,t+"-"+C])}),[]),w=[].concat(I,[A]).reduce((function(e,t){return e.concat([t,t+"-"+O,t+"-"+C])}),[]),D=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function M(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var x={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function V(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?x:o;return function(e,t,n){void 0===n&&(n=r);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},x,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,d={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;f(),c.options=Object.assign({},r,c.options,o),c.scrollParents={reference:(0,a.vq)(e)?_(e):e.contextElement?_(e.contextElement):[],popper:_(t)};var s=function(e){var t=M(e);return D.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,c.options.modifiers)));return c.orderedModifiers=s.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:c,name:t,instance:d,options:i}),a=function(){};l.push(r||a)}})),d.update()},forceUpdate:function(){if(!u){var e=c.elements,t=e.reference,n=e.popper;if(U(t,n)){c.rects={reference:p(t,v(n),"fixed"===c.options.strategy),popper:h(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<c.orderedModifiers.length;i++)if(!0!==c.reset){var o=c.orderedModifiers[i],r=o.fn,a=o.options,s=void 0===a?{}:a,l=o.name;"function"==typeof r&&(c=r({state:c,options:s,name:l,instance:d})||c)}else c.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){d.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){f(),u=!0}};if(!U(e,t))return d;function f(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var F={passive:!0};const B={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,a=void 0===r||r,s=i.resize,c=void 0===s||s,l=(0,o.A)(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,F)})),c&&l.addEventListener("resize",n.update,F),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,F)})),c&&l.removeEventListener("resize",n.update,F)}},data:{}};function H(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function W(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function j(e){var t,n=e.reference,i=e.element,o=e.placement,r=o?H(o):null,a=o?G(o):null,s=n.x+n.width/2-i.width/2,c=n.y+n.height/2-i.height/2;switch(r){case y:t={x:s,y:n.y-i.height};break;case b:t={x:s,y:n.y+n.height};break;case S:t={x:n.x+n.width,y:c};break;case T:t={x:n.x-i.width,y:c};break;default:t={x:n.x,y:n.y}}var l=r?W(r):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case O:t[l]=t[l]-(n[u]/2-i[u]/2);break;case C:t[l]=t[l]+(n[u]/2-i[u]/2)}}return t}const Y={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=j({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var z=Math.max,K=Math.min,J=Math.round,q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(e){var t,n=e.popper,i=e.popperRect,r=e.placement,a=e.variation,s=e.offsets,l=e.position,d=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,f=!0===h?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:J(J(t*i)/i)||0,y:J(J(n*i)/i)||0}}(s):"function"==typeof h?h(s):s,m=f.x,_=void 0===m?0:m,g=f.y,E=void 0===g?0:g,A=s.hasOwnProperty("x"),I=s.hasOwnProperty("y"),O=T,R=y,N=window;if(p){var P=v(n),L="clientHeight",k="clientWidth";P===(0,o.A)(n)&&"static"!==u(P=c(n)).position&&"absolute"===l&&(L="scrollHeight",k="scrollWidth"),r!==y&&(r!==T&&r!==S||a!==C)||(R=b,E-=P[L]-i.height,E*=d?1:-1),r!==T&&(r!==y&&r!==b||a!==C)||(O=S,_-=P[k]-i.width,_*=d?1:-1)}var w,D=Object.assign({position:l},p&&q);return d?Object.assign({},D,((w={})[R]=I?"0":"",w[O]=A?"0":"",w.transform=(N.devicePixelRatio||1)<=1?"translate("+_+"px, "+E+"px)":"translate3d("+_+"px, "+E+"px, 0)",w)):Object.assign({},D,((t={})[R]=I?E+"px":"",t[O]=A?_+"px":"",t.transform="",t))}const $={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,a=void 0===r||r,s=n.roundOffsets,c=void 0===s||s,l={placement:H(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,X(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,X(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Z=n(31819);const Q={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=void 0===o?[0,0]:o,a=w.reduce((function(e,n){return e[n]=function(e,t,n){var i=H(e),o=[T,y].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=r[0],s=r[1];return a=a||0,s=(s||0)*o,[T,S].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,r),e}),{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[i]=a}};var ee={left:"right",right:"left",bottom:"top",top:"bottom"};function te(e){return e.replace(/left|right|bottom|top/g,(function(e){return ee[e]}))}var ne={start:"end",end:"start"};function ie(e){return e.replace(/start|end/g,(function(e){return ne[e]}))}function oe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,a.Ng)(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ae(e,t){return t===N?re(function(e){var t=(0,o.A)(e),n=c(e),i=t.visualViewport,r=n.clientWidth,a=n.clientHeight,s=0,u=0;return i&&(r=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,u=i.offsetTop)),{width:r,height:a,x:s+l(e),y:u}}(e)):(0,a.sb)(t)?function(e){var t=i(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):re(function(e){var t,n=c(e),i=r(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=z(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=z(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-i.scrollLeft+l(e),p=-i.scrollTop;return"rtl"===u(o||n).direction&&(d+=z(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:d,y:p}}(c(e)))}function se(e,t,n){var i="clippingParents"===t?function(e){var t=_(f(e)),n=["absolute","fixed"].indexOf(u(e).position)>=0&&(0,a.sb)(e)?v(e):e;return(0,a.vq)(n)?t.filter((function(e){return(0,a.vq)(e)&&oe(e,n)&&"body"!==(0,s.A)(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),r=o[0],c=o.reduce((function(t,n){var i=ae(e,n);return t.top=z(i.top,t.top),t.right=K(i.right,t.right),t.bottom=K(i.bottom,t.bottom),t.left=z(i.left,t.left),t}),ae(e,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function ce(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function le(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ue(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,s=n.boundary,l=void 0===s?R:s,u=n.rootBoundary,d=void 0===u?N:u,p=n.elementContext,h=void 0===p?P:p,f=n.altBoundary,m=void 0!==f&&f,_=n.padding,g=void 0===_?0:_,E=ce("number"!=typeof g?g:le(g,I)),v=h===P?L:P,T=e.rects.popper,A=e.elements[m?v:h],O=se((0,a.vq)(A)?A:A.contextElement||c(e.elements.popper),l,d),C=i(e.elements.reference),k=j({reference:C,element:T,strategy:"absolute",placement:r}),w=re(Object.assign({},T,k)),D=h===P?w:C,M={top:O.top-D.top+E.top,bottom:D.bottom-O.bottom+E.bottom,left:O.left-D.left+E.left,right:D.right-O.right+E.right},x=e.modifiersData.offset;if(h===P&&x){var U=x[r];Object.keys(M).forEach((function(e){var t=[S,b].indexOf(e)>=0?1:-1,n=[y,b].indexOf(e)>=0?"y":"x";M[e]+=U[n]*t}))}return M}const de={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,_=t.options.placement,g=H(_),E=c||(g===_||!f?[te(_)]:function(e){if(H(e)===A)return[];var t=te(e);return[ie(e),t,ie(t)]}(_)),v=[_].concat(E).reduce((function(e,n){return e.concat(H(n)===A?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?w:c,u=G(i),d=u?s?k:k.filter((function(e){return G(e)===u})):I,p=d.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=d);var h=p.reduce((function(t,n){return t[n]=ue(e,{placement:n,boundary:o,rootBoundary:r,padding:a})[H(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),C=t.rects.reference,R=t.rects.popper,N=new Map,P=!0,L=v[0],D=0;D<v.length;D++){var M=v[D],x=H(M),U=G(M)===O,V=[y,b].indexOf(x)>=0,F=V?"width":"height",B=ue(t,{placement:M,boundary:u,rootBoundary:d,altBoundary:p,padding:l}),W=V?U?S:T:U?b:y;C[F]>R[F]&&(W=te(W));var j=te(W),Y=[];if(r&&Y.push(B[x]<=0),s&&Y.push(B[W]<=0,B[j]<=0),Y.every((function(e){return e}))){L=M,P=!1;break}N.set(M,Y)}if(P)for(var z=function(e){var t=v.find((function(t){var n=N.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return L=t,"break"},K=f?3:1;K>0;K--){if("break"===z(K))break}t.placement!==L&&(t.modifiersData[i]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pe(e,t,n){return z(e,K(t,n))}const he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,_=void 0===m?0:m,g=ue(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),E=H(t.placement),A=G(t.placement),I=!A,C=W(E),R="x"===C?"y":"x",N=t.modifiersData.popperOffsets,P=t.rects.reference,L=t.rects.popper,k="function"==typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,w={x:0,y:0};if(N){if(r||s){var D="y"===C?y:T,M="y"===C?b:S,x="y"===C?"height":"width",U=N[C],V=N[C]+g[D],F=N[C]-g[M],B=f?-L[x]/2:0,j=A===O?P[x]:L[x],Y=A===O?-L[x]:-P[x],J=t.elements.arrow,q=f&&J?h(J):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=X[D],Z=X[M],Q=pe(0,P[x],q[x]),ee=I?P[x]/2-B-Q-$-k:j-Q-$-k,te=I?-P[x]/2+B+Q+Z+k:Y+Q+Z+k,ne=t.elements.arrow&&v(t.elements.arrow),ie=ne?"y"===C?ne.clientTop||0:ne.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][C]:0,re=N[C]+ee-oe-ie,ae=N[C]+te-oe;if(r){var se=pe(f?K(V,re):V,U,f?z(F,ae):F);N[C]=se,w[C]=se-U}if(s){var ce="x"===C?y:T,le="x"===C?b:S,de=N[R],he=de+g[ce],fe=de-g[le],me=pe(f?K(he,re):he,de,f?z(fe,ae):fe);N[R]=me,w[R]=me-de}}t.modifiersData[i]=w}},requiresIfExists:["offset"]};const fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,a=n.modifiersData.popperOffsets,s=H(n.placement),c=W(s),l=[T,S].indexOf(s)>=0?"height":"width";if(r&&a){var u=function(e,t){return ce("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:le(e,I))}(o.padding,n),d=h(r),p="y"===c?y:T,f="y"===c?b:S,m=n.rects.reference[l]+n.rects.reference[c]-a[c]-n.rects.popper[l],_=a[c]-n.rects.reference[c],g=v(r),E=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,A=m/2-_/2,O=u[p],C=E-d[l]-u[f],R=E/2-d[l]/2+A,N=pe(O,R,C),P=c;n.modifiersData[i]=((t={})[P]=N,t.centerOffset=N-R,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&oe(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[y,S,b,T].some((function(t){return e[t]>=0}))}const ge={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,a=ue(t,{elementContext:"reference"}),s=ue(t,{altBoundary:!0}),c=me(a,i),l=me(s,o,r),u=_e(c),d=_e(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Ee=V({defaultModifiers:[B,Y,$,Z.A,Q,de,he,fe,ge]})},68315:e=>{"use strict";e.exports=function(e,t){var n=new Array(arguments.length-1),i=0,o=2,r=!0;for(;o<arguments.length;)n[i++]=arguments[o++];return new Promise((function(o,a){n[i]=function(e){if(r)if(r=!1,e)a(e);else{for(var t=new Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];o.apply(null,t)}};try{e.apply(t||null,n)}catch(e){r&&(r=!1,a(e))}}))}},72939:(e,t)=>{"use strict";var n=t;n.length=function(e){var t=e.length;if(!t)return 0;for(var n=0;--t%4>1&&"="===e.charAt(t);)++n;return Math.ceil(3*e.length)/4-n};for(var i=new Array(64),o=new Array(123),r=0;r<64;)o[i[r]=r<26?r+65:r<52?r+71:r<62?r-4:r-59|43]=r++;n.encode=function(e,t,n){for(var o,r=null,a=[],s=0,c=0;t<n;){var l=e[t++];switch(c){case 0:a[s++]=i[l>>2],o=(3&l)<<4,c=1;break;case 1:a[s++]=i[o|l>>4],o=(15&l)<<2,c=2;break;case 2:a[s++]=i[o|l>>6],a[s++]=i[63&l],c=0}s>8191&&((r||(r=[])).push(String.fromCharCode.apply(String,a)),s=0)}return c&&(a[s++]=i[o],a[s++]=61,1===c&&(a[s++]=61)),r?(s&&r.push(String.fromCharCode.apply(String,a.slice(0,s))),r.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";n.decode=function(e,t,n){for(var i,r=n,s=0,c=0;c<e.length;){var l=e.charCodeAt(c++);if(61===l&&s>1)break;if(void 0===(l=o[l]))throw Error(a);switch(s){case 0:i=l,s=1;break;case 1:t[n++]=i<<2|(48&l)>>4,i=l,s=2;break;case 2:t[n++]=(15&i)<<4|(60&l)>>2,i=l,s=3;break;case 3:t[n++]=(3&i)<<6|l,s=0}}if(1===s)throw Error(a);return n-r},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},25985:e=>{"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var n=this._listeners[e],i=0;i<n.length;)n[i].fn===t?n.splice(i,1):++i;return this},t.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var n=[],i=1;i<arguments.length;)n.push(arguments[i++]);for(i=0;i<t.length;)t[i].fn.apply(t[i++].ctx,n)}return this}},38424:e=>{"use strict";function t(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),n=new Uint8Array(t.buffer),i=128===n[3];function o(e,i,o){t[0]=e,i[o]=n[0],i[o+1]=n[1],i[o+2]=n[2],i[o+3]=n[3]}function r(e,i,o){t[0]=e,i[o]=n[3],i[o+1]=n[2],i[o+2]=n[1],i[o+3]=n[0]}function a(e,i){return n[0]=e[i],n[1]=e[i+1],n[2]=e[i+2],n[3]=e[i+3],t[0]}function s(e,i){return n[3]=e[i],n[2]=e[i+1],n[1]=e[i+2],n[0]=e[i+3],t[0]}e.writeFloatLE=i?o:r,e.writeFloatBE=i?r:o,e.readFloatLE=i?a:s,e.readFloatBE=i?s:a}():function(){function t(e,t,n,i){var o=t<0?1:0;if(o&&(t=-t),0===t)e(1/t>0?0:2147483648,n,i);else if(isNaN(t))e(2143289344,n,i);else if(t>34028234663852886e22)e((o<<31|2139095040)>>>0,n,i);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,n,i);else{var r=Math.floor(Math.log(t)/Math.LN2);e((o<<31|r+127<<23|8388607&Math.round(t*Math.pow(2,-r)*8388608))>>>0,n,i)}}function a(e,t,n){var i=e(t,n),o=2*(i>>31)+1,r=i>>>23&255,a=8388607&i;return 255===r?a?NaN:o*(1/0):0===r?1401298464324817e-60*o*a:o*Math.pow(2,r-150)*(a+8388608)}e.writeFloatLE=t.bind(null,n),e.writeFloatBE=t.bind(null,i),e.readFloatLE=a.bind(null,o),e.readFloatBE=a.bind(null,r)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),i=128===n[7];function o(e,i,o){t[0]=e,i[o]=n[0],i[o+1]=n[1],i[o+2]=n[2],i[o+3]=n[3],i[o+4]=n[4],i[o+5]=n[5],i[o+6]=n[6],i[o+7]=n[7]}function r(e,i,o){t[0]=e,i[o]=n[7],i[o+1]=n[6],i[o+2]=n[5],i[o+3]=n[4],i[o+4]=n[3],i[o+5]=n[2],i[o+6]=n[1],i[o+7]=n[0]}function a(e,i){return n[0]=e[i],n[1]=e[i+1],n[2]=e[i+2],n[3]=e[i+3],n[4]=e[i+4],n[5]=e[i+5],n[6]=e[i+6],n[7]=e[i+7],t[0]}function s(e,i){return n[7]=e[i],n[6]=e[i+1],n[5]=e[i+2],n[4]=e[i+3],n[3]=e[i+4],n[2]=e[i+5],n[1]=e[i+6],n[0]=e[i+7],t[0]}e.writeDoubleLE=i?o:r,e.writeDoubleBE=i?r:o,e.readDoubleLE=i?a:s,e.readDoubleBE=i?s:a}():function(){function t(e,t,n,i,o,r){var a=i<0?1:0;if(a&&(i=-i),0===i)e(0,o,r+t),e(1/i>0?0:2147483648,o,r+n);else if(isNaN(i))e(0,o,r+t),e(2146959360,o,r+n);else if(i>17976931348623157e292)e(0,o,r+t),e((a<<31|2146435072)>>>0,o,r+n);else{var s;if(i<22250738585072014e-324)e((s=i/5e-324)>>>0,o,r+t),e((a<<31|s/4294967296)>>>0,o,r+n);else{var c=Math.floor(Math.log(i)/Math.LN2);1024===c&&(c=1023),e(4503599627370496*(s=i*Math.pow(2,-c))>>>0,o,r+t),e((a<<31|c+1023<<20|1048576*s&1048575)>>>0,o,r+n)}}}function a(e,t,n,i,o){var r=e(i,o+t),a=e(i,o+n),s=2*(a>>31)+1,c=a>>>20&2047,l=4294967296*(1048575&a)+r;return 2047===c?l?NaN:s*(1/0):0===c?5e-324*s*l:s*Math.pow(2,c-1075)*(l+4503599627370496)}e.writeDoubleLE=t.bind(null,n,0,4),e.writeDoubleBE=t.bind(null,i,4,0),e.readDoubleLE=a.bind(null,o,0,4),e.readDoubleBE=a.bind(null,r,4,0)}(),e}function n(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function i(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=255&e}function o(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function r(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},47789:module=>{"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},35057:e=>{"use strict";e.exports=function(e,t,n){var i=n||8192,o=i>>>1,r=null,a=i;return function(n){if(n<1||n>o)return e(n);a+n>i&&(r=e(i),a=0);var s=t.call(r,a,a+=n);return 7&a&&(a=1+(7|a)),s}}},32025:(e,t)=>{"use strict";var n=t;n.length=function(e){for(var t=0,n=0,i=0;i<e.length;++i)(n=e.charCodeAt(i))<128?t+=1:n<2048?t+=2:55296==(64512&n)&&56320==(64512&e.charCodeAt(i+1))?(++i,t+=4):t+=3;return t},n.read=function(e,t,n){if(n-t<1)return"";for(var i,o=null,r=[],a=0;t<n;)(i=e[t++])<128?r[a++]=i:i>191&&i<224?r[a++]=(31&i)<<6|63&e[t++]:i>239&&i<365?(i=((7&i)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,r[a++]=55296+(i>>10),r[a++]=56320+(1023&i)):r[a++]=(15&i)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,r)),a=0);return o?(a&&o.push(String.fromCharCode.apply(String,r.slice(0,a))),o.join("")):String.fromCharCode.apply(String,r.slice(0,a))},n.write=function(e,t,n){for(var i,o,r=n,a=0;a<e.length;++a)(i=e.charCodeAt(a))<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&56320==(64512&(o=e.charCodeAt(a+1)))?(i=65536+((1023&i)<<10)+(1023&o),++a,t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128);return n-r}},30296:(e,t,n)=>{"use strict";function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(e){return!!e&&!!e[K]}function r(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===J}(e)||Array.isArray(e)||!!e[z]||!!(null===(t=e.constructor)||void 0===t?void 0:t[z])||p(e)||h(e))}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:q)(e).forEach((function(i){n&&"symbol"==typeof i||t(i,e[i],e)})):e.forEach((function(n,i){return t(i,n,e)}))}function s(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:h(e)?3:0}function c(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,n){var i=s(e);2===i?e.set(t,n):3===i?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return G&&e instanceof Map}function h(e){return W&&e instanceof Set}function f(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=X(e);delete t[K];for(var n=q(t),i=0;i<n.length;i++){var o=n[i],r=t[o];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(t[o]={configurable:!0,writable:!0,enumerable:r.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function _(e,t){return void 0===t&&(t=!1),E(e)||o(e)||!r(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,(function(e,t){return _(t,!0)}),!0)),e}function g(){i(2)}function E(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=$[e];return t||i(18,e),t}function y(e,t){$[e]||($[e]=t)}function b(){return B}function S(e,t){t&&(v("Patches"),e.u=[],e.s=[],e.v=t)}function T(e){A(e),e.p.forEach(O),e.p=null}function A(e){e===B&&(B=e.l)}function I(e){return B={p:[],l:B,h:e,m:!0,_:0}}function O(e){var t=e[K];0===t.i||1===t.i?t.j():t.g=!0}function C(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||v("ES5").S(t,e,o),o?(n[K].P&&(T(t),i(4)),r(e)&&(e=R(t,e),t.l||P(t,e)),t.u&&v("Patches").M(n[K].t,e,t.u,t.s)):e=R(t,n,[]),T(t),t.u&&t.v(t.u,t.s),e!==Y?e:void 0}function R(e,t,n){if(E(t))return t;var i=t[K];if(!i)return a(t,(function(o,r){return N(e,i,t,o,r,n)}),!0),t;if(i.A!==e)return t;if(!i.P)return P(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var o=4===i.i||5===i.i?i.o=m(i.k):i.o,r=o,s=!1;3===i.i&&(r=new Set(o),o.clear(),s=!0),a(r,(function(t,r){return N(e,i,o,t,r,n,s)})),P(e,o,!1),n&&e.u&&v("Patches").N(i,n,e.u,e.s)}return i.o}function N(e,t,n,i,a,s,l){if(o(a)){var d=R(e,a,s&&t&&3!==t.i&&!c(t.R,i)?s.concat(i):void 0);if(u(n,i,d),!o(d))return;e.m=!1}else l&&n.add(a);if(r(a)&&!E(a)){if(!e.h.D&&e._<1)return;R(e,a),t&&t.A.l||P(e,a)}}function P(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&_(t,n)}function L(e,t){var n=e[K];return(n?f(n):e)[t]}function k(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}function w(e){e.P||(e.P=!0,e.l&&w(e.l))}function D(e){e.o||(e.o=m(e.t))}function M(e,t,n){var i=p(t)?v("MapSet").F(t,n):h(t)?v("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),i={i:n?1:0,A:t?t.A:b(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=i,r=Z;n&&(o=[i],r=Q);var a=Proxy.revocable(o,r),s=a.revoke,c=a.proxy;return i.k=c,i.j=s,c}(t,n):v("ES5").J(t,n);return(n?n.A:b()).p.push(i),i}function x(e){return o(e)||i(22,e),function e(t){if(!r(t))return t;var n,i=t[K],o=s(t);if(i){if(!i.P&&(i.i<4||!v("ES5").K(i)))return i.t;i.I=!0,n=U(t,o),i.I=!1}else n=U(t,o);return a(n,(function(t,o){i&&l(i.t,t)===o||u(n,t,e(o))})),3===o?new Set(n):n}(e)}function U(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function V(){function e(e,t){var n=r[e];return n?n.enumerable=t:r[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[K];return Z.get(t,e)},set:function(t){var n=this[K];Z.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][K];if(!o.P)switch(o.i){case 5:i(o)&&w(o);break;case 4:n(o)&&w(o)}}}function n(e){for(var t=e.t,n=e.k,i=q(n),o=i.length-1;o>=0;o--){var r=i[o];if(r!==K){var a=t[r];if(void 0===a&&!c(t,r))return!0;var s=n[r],l=s&&s[K];if(l?l.t!==a:!d(s,a))return!0}}var u=!!t[K];return i.length!==q(t).length+(u?0:1)}function i(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var i=0;i<t.length;i++)if(!t.hasOwnProperty(i))return!0;return!1}var r={};y("ES5",{J:function(t,n){var i=Array.isArray(t),o=function(t,n){if(t){for(var i=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(i,""+o,e(o,!0));return i}var r=X(n);delete r[K];for(var a=q(r),s=0;s<a.length;s++){var c=a[s];r[c]=e(c,t||!!r[c].enumerable)}return Object.create(Object.getPrototypeOf(n),r)}(i,t),r={i:i?5:4,A:n?n.A:b(),P:!1,I:!1,R:{},l:n,t,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,K,{value:r,writable:!0}),o},S:function(e,n,r){r?o(n)&&n[K].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[K];if(n){var o=n.t,r=n.k,s=n.R,l=n.i;if(4===l)a(r,(function(t){t!==K&&(void 0!==o[t]||c(o,t)?s[t]||e(r[t]):(s[t]=!0,w(n)))})),a(o,(function(e){void 0!==r[e]||c(r,e)||(s[e]=!1,w(n))}));else if(5===l){if(i(n)&&(w(n),s.length=!0),r.length<o.length)for(var u=r.length;u<o.length;u++)s[u]=!1;else for(var d=o.length;d<r.length;d++)s[d]=!0;for(var p=Math.min(r.length,o.length),h=0;h<p;h++)r.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&e(r[h])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):i(e)}})}n.d(t,{VP:()=>ve,vy:()=>Se,Z0:()=>Te});var F,B,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),G="undefined"!=typeof Map,W="undefined"!=typeof Set,j="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Y=H?Symbol.for("immer-nothing"):((F={})["immer-nothing"]=!0,F),z=H?Symbol.for("immer-draftable"):"__$immer_draftable",K=H?Symbol.for("immer-state"):"__$immer_state",J=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),q="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,X=Object.getOwnPropertyDescriptors||function(e){var t={};return q(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},$={},Z={get:function(e,t){if(t===K)return e;var n=f(e);if(!c(n,t))return function(e,t,n){var i,o=k(t,n);return o?"value"in o?o.value:null===(i=o.get)||void 0===i?void 0:i.call(e.k):void 0}(e,n,t);var i=n[t];return e.I||!r(i)?i:i===L(e.t,t)?(D(e),e.o[t]=M(e.A.h,i,e)):i},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,n){var i=k(f(e),t);if(null==i?void 0:i.set)return i.set.call(e.k,n),!0;if(!e.P){var o=L(f(e),t),r=null==o?void 0:o[K];if(r&&r.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,o)&&(void 0!==n||c(e.t,t)))return!0;D(e),w(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==L(e.t,t)||t in e.t?(e.R[t]=!1,D(e),w(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=f(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:i.enumerable,value:n[t]}:i},defineProperty:function(){i(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){i(12)}},Q={};a(Z,(function(e,t){Q[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Q.deleteProperty=function(e,t){return Q.set.call(this,e,t,void 0)},Q.set=function(e,t,n){return Z.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=j,this.D=!0,this.produce=function(e,n,o){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];return s.produce(e,(function(e){var i;return(i=n).call.apply(i,[t,e].concat(o))}))}}var c;if("function"!=typeof n&&i(6),void 0!==o&&"function"!=typeof o&&i(7),r(e)){var l=I(t),u=M(t,e,void 0),d=!0;try{c=n(u),d=!1}finally{d?T(l):A(l)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then((function(e){return S(l,o),C(e,l)}),(function(e){throw T(l),e})):(S(l,o),C(c,l))}if(!e||"object"!=typeof e){if(void 0===(c=n(e))&&(c=e),c===Y&&(c=void 0),t.D&&_(c,!0),o){var p=[],h=[];v("Patches").M(e,c,p,h),o(p,h)}return c}i(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var i=arguments.length,o=Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var i,o,r=t.produce(e,n,(function(e,t){i=e,o=t}));return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(e){return[e,i,o]})):[r,i,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){r(e)||i(8),o(e)&&(e=x(e));var t=I(this),n=M(this,e,void 0);return n[K].C=!0,A(t),n},t.finishDraft=function(e,t){var n=(e&&e[K]).A;return S(n,t),C(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!j&&i(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var i=t[n];if(0===i.path.length&&"replace"===i.op){e=i.value;break}}n>-1&&(t=t.slice(n+1));var r=v("Patches").$;return o(e)?r(e,t):this.produce(e,(function(e){return r(e,t)}))},e}(),te=new ee,ne=te.produce;te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te);const ie=ne;var oe,re=n(333),ae=(n(68558),oe=function(e,t){return oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},oe(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 n(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),se=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},ce=function(e,t){for(var n=0,i=t.length,o=e.length;n<i;n++,o++)e[o]=t[n];return e},le=Object.defineProperty,ue=Object.defineProperties,de=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,me=function(e,t,n){return t in e?le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},_e=function(e,t){for(var n in t||(t={}))he.call(t,n)&&me(e,n,t[n]);if(pe)for(var i=0,o=pe(t);i<o.length;i++){n=o[i];fe.call(t,n)&&me(e,n,t[n])}return e},ge=function(e,t){return ue(e,de(t))},Ee=function(e,t,n){return new Promise((function(i,o){var r=function(e){try{s(n.next(e))}catch(e){o(e)}},a=function(e){try{s(n.throw(e))}catch(e){o(e)}},s=function(e){return e.done?i(e.value):Promise.resolve(e.value).then(r,a)};s((n=n.apply(e,t)).next())}))};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function ve(e,t){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var o=t.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return _e(_e({type:e,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}(function(e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}ae(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ce([void 0],e[0].concat(this)))):new(t.bind.apply(t,ce([void 0],e.concat(this))))}})(Array),function(e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}ae(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ce([void 0],e[0].concat(this)))):new(t.bind.apply(t,ce([void 0],e.concat(this))))}}(Array);function ye(e){return r(e)?ie(e,(function(){})):e}function be(e){var t,n={},i=[],o={addCase:function(e,t){var i="string"==typeof e?e:e.type;if(!i)throw new Error("`builder.addCase` cannot be called with an empty action type");if(i in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[i]=t,o},addMatcher:function(e,t){return i.push({matcher:e,reducer:t}),o},addDefaultCase:function(e){return t=e,o}};return e(o),[n,i,t]}function Se(e,t,n,i){void 0===n&&(n=[]);var a,s="function"==typeof t?be(t):[t,n,i],c=s[0],l=s[1],u=s[2];if(function(e){return"function"==typeof e}(e))a=function(){return ye(e())};else{var d=ye(e);a=function(){return d}}function p(e,t){void 0===e&&(e=a());var n=ce([c[t.type]],l.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[u]),n.reduce((function(e,n){if(n){var i;if(o(e))return void 0===(i=n(e,t))?e:i;if(r(e))return ie(e,(function(e){return n(e,t)}));if(void 0===(i=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return e}),e)}return p.getInitialState=a,p}function Te(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,i="function"==typeof e.initialState?e.initialState:ye(e.initialState),o=e.reducers||{},r=Object.keys(o),a={},s={},c={};function l(){var t="function"==typeof e.extraReducers?be(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,r=t[1],a=void 0===r?[]:r,c=t[2],l=void 0===c?void 0:c,u=_e(_e({},o),s);return Se(i,(function(e){for(var t in u)e.addCase(t,u[t]);for(var n=0,i=a;n<i.length;n++){var o=i[n];e.addMatcher(o.matcher,o.reducer)}l&&e.addDefaultCase(l)}))}return r.forEach((function(e){var n,i,r=o[e],l=t+"/"+e;"reducer"in r?(n=r.reducer,i=r.prepare):n=r,a[e]=n,s[l]=n,c[e]=i?ve(l,i):ve(l)})),{name:t,reducer:function(e,t){return n||(n=l()),n(e,t)},actions:c,caseReducers:a,getInitialState:function(){return n||(n=l()),n.getInitialState()}}}var Ae=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},Ie=["name","message","stack","code"],Oe=function(e,t){this.payload=e,this.meta=t},Ce=function(e,t){this.payload=e,this.meta=t},Re=function(e){if("object"==typeof e&&null!==e){for(var t={},n=0,i=Ie;n<i.length;n++){var o=i[n];"string"==typeof e[o]&&(t[o]=e[o])}return t}return{message:String(e)}};!function(){function e(e,t,n){var i=ve(e+"/fulfilled",(function(e,t,n,i){return{payload:e,meta:ge(_e({},i||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),o=ve(e+"/pending",(function(e,t,n){return{payload:void 0,meta:ge(_e({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),r=ve(e+"/rejected",(function(e,t,i,o,r){return{payload:o,error:(n&&n.serializeError||Re)(e||"Rejected"),meta:ge(_e({},r||{}),{arg:i,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(s,c,l){var u,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):Ae(),p=new a;function h(e){u=e,p.abort()}var f=function(){return Ee(this,null,(function(){var a,f,m,_,g,E;return se(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),_=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:c,extra:l}),null===(y=_)||"object"!=typeof y||"function"!=typeof y.then?[3,2]:[4,_];case 1:_=v.sent(),v.label=2;case 2:if(!1===_||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,g=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:u||"Aborted"})}))})),s(o(d,e,null==(f=null==n?void 0:n.getPendingMeta)?void 0:f.call(n,{requestId:d,arg:e},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(t(e,{dispatch:s,getState:c,extra:l,requestId:d,signal:p.signal,abort:h,rejectWithValue:function(e,t){return new Oe(e,t)},fulfillWithValue:function(e,t){return new Ce(e,t)}})).then((function(t){if(t instanceof Oe)throw t;return t instanceof Ce?i(t.payload,d,e,t.meta):i(t,d,e)}))])];case 3:return m=v.sent(),[3,5];case 4:return E=v.sent(),m=E instanceof Oe?r(null,d,e,E.payload,E.meta):r(E,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&r.match(m)&&m.meta.condition||s(m),[2,m]}var y}))}))}();return Object.assign(f,{abort:h,requestId:d,arg:e,unwrap:function(){return f.then(Ne)}})}}),{pending:o,rejected:r,fulfilled:i,typePrefix:e})}e.withTypes=function(){return e}}();function Ne(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var Pe="listenerMiddleware";ve(Pe+"/add"),ve(Pe+"/removeAll"),ve(Pe+"/remove");"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:void 0!==n.g?n.g:globalThis);var Le,ke=function(e){return function(t){setTimeout(t,e)}};"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:ke(10);V()},35736:(e,t,n)=>{"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(this,arguments)}var o;n.d(t,{AO:()=>s,B6:()=>A,Gh:()=>P,HS:()=>L,Oi:()=>r,Rr:()=>c,pX:()=>x,pb:()=>O,rc:()=>o,tH:()=>M,tW:()=>T,ue:()=>u,yD:()=>N}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));function r(e,t){if(!1===e||null==e)throw new Error(t)}function a(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function s(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(t+="#"===i.charAt(0)?i:"#"+i),t}function c(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var l;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(l||(l={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function u(e,t,n){return void 0===n&&(n="/"),d(e,t,n,!1)}function d(e,t,n,i){let o=O(("string"==typeof t?c(t):t).pathname||"/",n);if(null==o)return null;let r=p(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(r);let a=null;for(let e=0;null==a&&e<r.length;++e){let t=I(o);a=S(r[e],t,i)}return a}function p(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===i&&(i="");let o=(e,o,a)=>{let s={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};s.relativePath.startsWith("/")&&(r(s.relativePath.startsWith(i),'Absolute route path "'+s.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(i.length));let c=L([i,s.relativePath]),l=n.concat(s);e.children&&e.children.length>0&&(r(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+c+'".'),p(e.children,t,l,c)),(null!=e.path||e.index)&&t.push({path:c,score:b(c,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of h(e.path))o(e,t,n);else o(e,t)})),t}function h(e){let t=e.split("/");if(0===t.length)return[];let[n,...i]=t,o=n.endsWith("?"),r=n.replace(/\?$/,"");if(0===i.length)return o?[r,""]:[r];let a=h(i.join("/")),s=[];return s.push(...a.map((e=>""===e?r:[r,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const f=/^:[\w-]+$/,m=3,_=2,g=1,E=10,v=-2,y=e=>"*"===e;function b(e,t){let n=e.split("/"),i=n.length;return n.some(y)&&(i+=v),t&&(i+=_),n.filter((e=>!y(e))).reduce(((e,t)=>e+(f.test(t)?m:""===t?g:E)),i)}function S(e,t,n){void 0===n&&(n=!1);let{routesMeta:i}=e,o={},r="/",a=[];for(let e=0;e<i.length;++e){let s=i[e],c=e===i.length-1,l="/"===r?t:t.slice(r.length)||"/",u=A({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!i[i.length-1].route.index&&(u=A({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(o,u.params),a.push({params:o,pathname:L([r,u.pathname]),pathnameBase:k(L([r,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(r=L([r,u.pathnameBase]))}return a}function T(e,t){void 0===t&&(t={});let n=e;n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(a(!1,'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),n=n.replace(/\*$/,"/*"));const i=n.startsWith("/")?"/":"",o=e=>null==e?"":"string"==typeof e?e:String(e);return i+n.split(/\/+/).map(((e,n,i)=>{if(n===i.length-1&&"*"===e){return o(t["*"])}const a=e.match(/^:([\w-]+)(\??)$/);if(a){const[,e,n]=a;let i=t[e];return r("?"===n||null!=i,'Missing ":'+e+'" param'),o(i)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function A(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);a("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(i.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(i.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let r=new RegExp(o,t?void 0:"i");return[r,i]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let r=o[0],s=r.replace(/(.)\/+$/,"$1"),c=o.slice(1);return{params:i.reduce(((e,t,n)=>{let{paramName:i,isOptional:o}=t;if("*"===i){let e=c[n]||"";s=r.slice(0,r.length-e.length).replace(/(.)\/+$/,"$1")}const a=c[n];return e[i]=o&&!a?void 0:(a||"").replace(/%2F/g,"/"),e}),{}),pathname:r,pathnameBase:s,pattern:e}}function I(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return a(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function O(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&"/"!==i?null:e.slice(n)||"/"}function C(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function R(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function N(e,t){let n=R(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function P(e,t,n,o){let a;void 0===o&&(o=!1),"string"==typeof e?a=c(e):(a=i({},e),r(!a.pathname||!a.pathname.includes("?"),C("?","pathname","search",a)),r(!a.pathname||!a.pathname.includes("#"),C("#","pathname","hash",a)),r(!a.search||!a.search.includes("#"),C("#","search","hash",a)));let s,l=""===e||""===a.pathname,u=l?"/":a.pathname;if(null==u)s=n;else{let e=t.length-1;if(!o&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}s=e>=0?t[e]:"/"}let d=function(e,t){void 0===t&&(t="/");let{pathname:n,search:i="",hash:o=""}="string"==typeof e?c(e):e,r=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:r,search:w(i),hash:D(o)}}(a,s),p=u&&"/"!==u&&u.endsWith("/"),h=(l||"."===u)&&n.endsWith("/");return d.pathname.endsWith("/")||!p&&!h||(d.pathname+="/"),d}const L=e=>e.join("/").replace(/\/\/+/g,"/"),k=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),w=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",D=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class M extends Error{}function x(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const U=["post","put","patch","delete"],V=(new Set(U),["get",...U]);new Set(V),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},31999:(e,t,n)=>{"use strict";n.d(t,{Ts:()=>$t});var i=n(50853),o=n(28041),r=n(76444),a=n(54457),s=n(5934),c=n(67148);const l=[];function u(e){const t=e.defaultIntegrations||[],n=e.integrations;let i;t.forEach((e=>{e.isDefaultInstance=!0})),i=Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,o.k9)(n(t)):t;const r=function(e){const t={};return e.forEach((e=>{const{name:n}=e,i=t[n];i&&!i.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(i),a=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(r,(e=>"Debug"===e.name));if(-1!==a){const[e]=r.splice(a,1);r.push(e)}return r}function d(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function p(e,t,n){if(n[t.name])a.T&&i.vF.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===l.indexOf(t.name)&&(t.setupOnce(s.lb,c.BF),l.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),e.on&&"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,i)=>n(t,i,e)))}if(e.addEventProcessor&&"function"==typeof t.processEvent){const n=t.processEvent.bind(t),i=Object.assign(((t,i)=>n(t,i,e)),{id:t.name});e.addEventProcessor(i)}a.T&&i.vF.log(`Integration installed: ${t.name}`)}}function h(e,t){return Object.assign((function(...e){return t(...e)}),{id:e})}const f=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],m=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],_="InboundFilters",g=(e={})=>({name:_,setupOnce(){},processEvent(t,n,s){const c=s.getOptions(),l=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:f],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:m],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,c);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e))return a.T&&i.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,o.$X)(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(e){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));a.T&&0===t.length&&i.vF.error(`Could not extract message for event ${(0,o.$X)(e)}`);return t}(e).some((e=>(0,r.Xr)(e,t)))}(e,t.ignoreErrors))return a.T&&i.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,o.$X)(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,r.Xr)(n,t)}(e,t.ignoreTransactions))return a.T&&i.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,o.$X)(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=E(e);return!!n&&(0,r.Xr)(n,t)}(e,t.denyUrls))return a.T&&i.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,o.$X)(e)}.\nUrl: ${E(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=E(e);return!n||(0,r.Xr)(n,t)}(e,t.allowUrls))return a.T&&i.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,o.$X)(e)}.\nUrl: ${E(e)}`),!0;return!1}(t,l)?null:t}});h(_,g);function E(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return a.T&&i.vF.error(`Cannot extract url for event ${(0,o.$X)(e)}`),null}}var v=n(41310),y=n(46588);let b;const S="FunctionToString",T=new WeakMap,A=()=>({name:S,setupOnce(){b=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,v.sp)(this),n=T.has((0,y.KU)())&&void 0!==t?t:this;return b.apply(n,e)}}catch(e){}},setup(e){T.set(e,!0)}});h(S,A);function I(e,t){!0===t.debug&&(a.T?i.vF.enable():(0,i.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));(0,y.o5)().update(t.initialScope);const n=new e(t);!function(e){const t=(0,c.BF)().getStackTop();t.client=e,t.scope.setClient(e)}(n),function(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}(n)}var O=n(72024),C=n(5635),R=n(61534);const N=(0,R.VZ)();function P(){if(!("fetch"in N))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function L(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}const k=(0,R.VZ)();const w={},D={};function M(e,t){w[e]=w[e]||[],w[e].push(t)}function x(e,t){D[e]||(t(),D[e]=!0)}function U(e,t){const n=e&&w[e];if(n)for(const o of n)try{o(t)}catch(t){C.T&&i.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,O.qQ)(o)}\nError:`,t)}}const V=R.OW;let F;function B(e){const t="history";M(t,e),x(t,H)}function H(){if(!function(){const e=k.chrome,t=e&&e.app&&e.app.runtime,n="history"in k&&!!k.history.pushState&&!!k.history.replaceState;return!t&&n}())return;const e=V.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=F,t=String(n);F=t;U("history",{from:e,to:t})}return e.apply(this,t)}}V.onpopstate=function(...t){const n=V.location.href,i=F;F=n;if(U("history",{from:i,to:n}),e)try{return e.apply(this,t)}catch(e){}},(0,v.GS)(V.history,"pushState",t),(0,v.GS)(V.history,"replaceState",t)}const G=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function W(e,t=!1){const{host:n,path:i,pass:o,port:r,projectId:a,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&o?`:${o}`:""}@${n}${r?`:${r}`:""}/${i?`${i}/`:i}${a}`}function j(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Y(e){const t="string"==typeof e?function(e){const t=G.exec(e);if(!t)return void(0,i.pq)((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,o,r="",a,s="",c]=t.slice(1);let l="",u=c;const d=u.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),u=d.pop()),u){const e=u.match(/^\d+/);e&&(u=e[0])}return j({host:a,pass:r,path:l,projectId:u,port:s,protocol:n,publicKey:o})}(e):j(e);if(t&&function(e){if(!C.T)return!0;const{port:t,projectId:n,protocol:o}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(i.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?t&&isNaN(parseInt(t,10))&&(i.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}var z=n(28445),K=n(55693),J=n(42456);function q(e,t=[]){return[e,t]}function X(e,t){const[n,i]=e;return[n,[...i,t]]}function $(e,t){const n=e[1];for(const e of n){if(t(e,e[0].type))return!0}return!1}function Z(e,t){return(t||new TextEncoder).encode(e)}function Q(e,t){const[n,i]=e;let o=JSON.stringify(n);function r(e){"string"==typeof o?o="string"==typeof e?o+e:[Z(o,t),e]:o.push("string"==typeof e?Z(e,t):e)}for(const e of i){const[t,n]=e;if(r(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)r(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,J.S8)(n))}r(e)}}return"string"==typeof o?o:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let i=0;for(const t of e)n.set(t,i),i+=t.length;return n}(o)}function ee(e,t){const n="string"==typeof e.data?Z(e.data,t):e.data;return[(0,v.Ce)({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const te={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function ne(e){return te[e]}function ie(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}class oe extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const re="7";function ae(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function se(e,t={}){const n="string"==typeof t?t:t.tunnel,i="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${ae(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return(0,v.u4)({sentry_key:e.publicKey,sentry_version:re,...t&&{sentry_client:`${t.name}/${t.version}`}})}(e,i)}`}function ce(e,t,n,i){const o=ie(n),r=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=function(e,t,n,i){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:W(i)},...o&&{trace:(0,v.Ce)({...o})}}}(e,o,i,t);delete e.sdkProcessingMetadata;return q(a,[[{type:r},e]])}function le(e,t,n,i){const o={sent_at:(new Date).toISOString()};n&&n.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),i&&t&&(o.dsn=W(t));const r=function(e){const t=function(e){let t="";for(const n of e){const e=Object.entries(n.tags),i=e.length>0?`|#${e.map((([e,t])=>`${e}:${t}`)).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${i}|T${n.timestamp}\n`}return t}(e);return[{type:"statsd",length:t.length},t]}(e);return q(o,[r])}var ue=n(77683),de=n(53599),pe=n(76756);const he="Not capturing exception because it's already been captured.";class fe{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=Y(e.dsn):a.T&&i.vF.warn("No DSN provided, client will not send events."),this._dsn){const t=se(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if((0,o.GR)(e))return void(a.T&&i.vF.log(he));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,i){let o=n&&n.event_id;const r=(0,z.NF)(e)?e:String(e),a=(0,z.sO)(e)?this.eventFromMessage(r,t,n):this.eventFromException(e,n);return this._process(a.then((e=>this._captureEvent(e,n,i))).then((e=>{o=e}))),o}captureEvent(e,t,n){if(t&&t.originalException&&(0,o.GR)(t.originalException))return void(a.T&&i.vF.log(he));let r=t&&t.event_id;const s=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,s||n).then((e=>{r=e}))),r}captureSession(e){"string"!=typeof e.release?a.T&&i.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,ue.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):(0,K.XW)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return a.T&&i.vF.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const t=this._integrations[e.name];p(this,e,this._integrations),t||d(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=ce(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=X(n,ee(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(n);i&&i.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,i){const o=ie(n);return q({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!i&&t&&{dsn:W(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;a.T&&i.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}captureAggregateMetrics(e){a.T&&i.vF.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const t=le(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&p(e,t,n)})),n}(this,e),d(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,i=!1;const o=t.exception&&t.exception.values;if(o){i=!0;for(const e of o){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const r="ok"===e.status;(r&&0===e.errors||r&&n)&&((0,ue.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(i||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new K.T2((t=>{let n=0;const i=setInterval((()=>{0==this._numProcessing?(clearInterval(i),t(!0)):(n+=1,e&&n>=e&&(clearInterval(i),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,i=(0,c.rm)()){const o=this.getOptions(),r=Object.keys(this._integrations);return!t.integrations&&r.length>0&&(t.integrations=r),this.emit("preprocessEvent",e,t),(0,pe.mG)(o,e,t,n,this,i).then((e=>{if(null===e)return e;const t={...i.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:i,spanId:o,parentSpanId:r,dsc:a}=t;e.contexts={trace:{trace_id:i,span_id:o,parent_span_id:r},...e.contexts};const s=a||(0,de.l)(i,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(a.T){const t=e;"log"===t.logLevel?i.vF.log(t.message):i.vF.warn(t)}}))}_processEvent(e,t,n){const i=this.getOptions(),{sampleRate:o}=i,r=_e(e),a=me(e),s=e.type||"error",c=`before send for type \`${s}\``;if(a&&"number"==typeof o&&Math.random()>o)return this.recordDroppedEvent("sample_rate","error",e),(0,K.xg)(new oe(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const l="replay_event"===s?"replay":s,u=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,u).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,e),new oe("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const o=function(e,t,n){const{beforeSend:i,beforeSendTransaction:o}=e;if(me(t)&&i)return i(t,n);if(_e(t)&&o)return o(t,n);return t}(i,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,z.Qg)(e))return e.then((e=>{if(!(0,z.Qd)(e)&&null!==e)throw new oe(n);return e}),(e=>{throw new oe(`${t} rejected with ${e}`)}));if(!(0,z.Qd)(e)&&null!==e)throw new oe(n);return e}(o,c)})).then((i=>{if(null===i)throw this.recordDroppedEvent("before_send",l,e),new oe(`${c} returned \`null\`, will not send event.`,"log");const o=n&&n.getSession();!r&&o&&this._updateSessionFromEvent(o,i);const a=i.transaction_info;if(r&&a&&i.transaction!==e.transaction){const e="custom";i.transaction_info={...a,source:e}}return this.sendEvent(i,t),i})).then(null,(e=>{if(e instanceof oe)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new oe(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{a.T&&i.vF.error("Error while sending event:",e)}));a.T&&i.vF.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,i]=t.split(":");return{reason:n,category:i,quantity:e[t]}}))}}function me(e){return void 0===e.type}function _e(e){return"transaction"===e.type}var ge=n(80043);var Ee=n(52900);const ve="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function ye(e,t){const n=Se(e,t),i={type:t&&t.name,value:Ae(t)};return n.length&&(i.stacktrace={frames:n}),void 0===i.type&&""===i.value&&(i.value="Unrecoverable error caught"),i}function be(e,t){return{exception:{values:[ye(e,t)]}}}function Se(e,t){const n=t.stacktrace||t.stack||"",i=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(Te.test(e.message))return 1}return 0}(t);try{return e(n,i)}catch(e){}return[]}const Te=/Minified React error #\d+;/i;function Ae(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Ie(e,t,n,i,r){let a;if((0,z.T2)(t)&&t.error){return be(e,t.error)}if((0,z.BD)(t)||(0,z.W6)(t)){const r=t;if("stack"in t)a=be(e,t);else{const t=r.name||((0,z.BD)(r)?"DOMError":"DOMException"),s=r.message?`${t}: ${r.message}`:t;a=Oe(e,s,n,i),(0,o.gO)(a,s)}return"code"in r&&(a.tags={...a.tags,"DOMException.code":`${r.code}`}),a}if((0,z.bJ)(t))return be(e,t);if((0,z.Qd)(t)||(0,z.xH)(t)){return a=function(e,t,n,i){const o=(0,y.KU)(),r=o&&o.getOptions().normalizeDepth,a={exception:{values:[{type:(0,z.xH)(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:Ce(t,{isUnhandledRejection:i})}]},extra:{__serialized__:(0,J.cd)(t,r)}};if(n){const t=Se(e,n);t.length&&(a.exception.values[0].stacktrace={frames:t})}return a}(e,t,n,r),(0,o.M6)(a,{synthetic:!0}),a}return a=Oe(e,t,n,i),(0,o.gO)(a,`${t}`,void 0),(0,o.M6)(a,{synthetic:!0}),a}function Oe(e,t,n,i){const o={};if(i&&n){const i=Se(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}if((0,z.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function Ce(e,{isUnhandledRejection:t}){const n=(0,v.HF)(e),i=t?"promise rejection":"exception";if((0,z.T2)(e))return`Event \`ErrorEvent\` captured as ${i} with message \`${e.message}\``;if((0,z.xH)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${i}`}return`Object captured as ${i} with keys: ${n}`}const Re=R.OW;let Ne=0;function Pe(){return Ne>0}function Le(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,v.sp)(e))return e}catch(t){return e}const i=function(){const i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const o=i.map((e=>Le(e,t)));return e.apply(this,o)}catch(e){throw Ne++,setTimeout((()=>{Ne--})),(0,y.v4)((n=>{n.addEventProcessor((e=>(t.mechanism&&((0,o.gO)(e,void 0,void 0),(0,o.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:i},e))),(0,y.Cp)(e)})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}catch(e){}(0,v.pO)(i,e),(0,v.my)(e,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>e.name})}catch(e){}return i}class ke extends fe{constructor(e){!function(e,t,n=[t],i="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${i}:@sentry/${e}`,version:ge.M}))),version:ge.M}),e._metadata=o}(e,"browser",["browser"],Re.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&Re.document&&Re.document.addEventListener("visibilitychange",(()=>{"hidden"===Re.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,i){const r=Ie(e,t,n&&n.syntheticException||void 0,i);return(0,o.M6)(r),r.level="error",n&&n.event_id&&(r.event_id=n.event_id),(0,K.XW)(r)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",i,o){const r=Oe(e,t,i&&i.syntheticException||void 0,o);return r.level=n,i&&i.event_id&&(r.event_id=i.event_id),(0,K.XW)(r)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(ve&&i.vF.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:i}){const o={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!i&&{dsn:W(i)}},r=function(e){return[{type:"user_report"},e]}(e);return q(o,[r])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(ve&&i.vF.log("No outcomes to send"));if(!this._dsn)return void(ve&&i.vF.log("No dsn provided, will not send outcomes"));ve&&i.vF.log("Sending outcomes:",e);const t=(n=e,q((o=this._options.tunnel&&W(this._dsn))?{dsn:o}:{},[[{type:"client_report"},{timestamp:r||(0,Ee.lu)(),discarded_events:n}]]));var n,o,r;this._sendEnvelope(t)}}function we(){"console"in R.OW&&i.Ow.forEach((function(e){e in R.OW.console&&(0,v.GS)(R.OW.console,e,(function(t){return i.Z9[e]=t,function(...t){U("console",{args:t,level:e});const n=i.Z9[e];n&&n.apply(R.OW.console,t)}}))}))}const De=R.OW,Me=1e3;let xe,Ue,Ve;function Fe(){if(!De.document)return;const e=U.bind(null,"dom"),t=Be(e,!0);De.document.addEventListener("click",t,!1),De.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=De[t]&&De[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,v.GS)(n,"addEventListener",(function(t){return function(n,i,o){if("click"===n||"keypress"==n)try{const i=this,r=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){const i=Be(e);a.handler=i,t.call(this,n,i,o)}a.refCount++}catch(e){}return t.call(this,n,i,o)}})),(0,v.GS)(n,"removeEventListener",(function(e){return function(t,n,i){if("click"===t||"keypress"==t)try{const n=this,o=n.__sentry_instrumentation_handlers__||{},r=o[t];r&&(r.refCount--,r.refCount<=0&&(e.call(this,t,r.handler,i),r.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,i)}})))}))}function Be(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const i=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,i))return;(0,v.my)(n,"_sentryCaptured",!0),i&&!i._sentryId&&(0,v.my)(i,"_sentryId",(0,o.eJ)());const r="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==Ue)return!1;try{if(!e.target||e.target._sentryId!==Ve)return!1}catch(e){}return!0}(n)){e({event:n,name:r,global:t}),Ue=n.type,Ve=i?i._sentryId:void 0}clearTimeout(xe),xe=De.setTimeout((()=>{Ve=void 0,Ue=void 0}),Me)}}const He=R.OW,Ge="__sentry_xhr_v3__";function We(){if(!He.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,v.GS)(e,"open",(function(e){return function(...t){const n=Date.now(),i=(0,z.Kg)(t[0])?t[0].toUpperCase():void 0,o=function(e){if((0,z.Kg)(e))return e;try{return e.toString()}catch(e){}return}(t[1]);if(!i||!o)return e.apply(this,t);this[Ge]={method:i,url:o,request_headers:{}},"POST"===i&&o.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const r=()=>{const e=this[Ge];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}U("xhr",{args:[i,o],endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,v.GS)(this,"onreadystatechange",(function(e){return function(...t){return r(),e.apply(this,t)}})):this.addEventListener("readystatechange",r),(0,v.GS)(this,"setRequestHeader",(function(e){return function(...t){const[n,i]=t,o=this[Ge];return o&&(0,z.Kg)(n)&&(0,z.Kg)(i)&&(o.request_headers[n.toLowerCase()]=i),e.apply(this,t)}})),e.apply(this,t)}})),(0,v.GS)(e,"send",(function(e){return function(...t){const n=this[Ge];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);return U("xhr",{args:[n.method,n.url],startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}function je(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!P())return!1;if(L(N.fetch))return!0;let e=!1;const t=N.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=L(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){C.T&&i.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&(0,v.GS)(R.OW,"fetch",(function(e){return function(...t){const{method:n,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:ze(t),method:Ye(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:ze(t),method:Ye(t,"method")?String(t.method).toUpperCase():"GET"}}(t),o={args:t,fetchData:{method:n,url:i},startTimestamp:Date.now()};return U("fetch",{...o}),e.apply(R.OW,t).then((e=>(U("fetch",{...o,endTimestamp:Date.now(),response:e}),e)),(e=>{throw U("fetch",{...o,endTimestamp:Date.now(),error:e}),e}))}}))}function Ye(e,t){return!!e&&"object"==typeof e&&!!e[t]}function ze(e){return"string"==typeof e?e:e?Ye(e,"url")?e.url:e.toString?e.toString():"":""}var Ke=n(33885);const Je=["fatal","error","warning","log","info","debug"];function qe(e){return"warn"===e?"warning":Je.includes(e)?e:"log"}function Xe(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",i=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:i,relative:t[5]+n+i}}const $e=1024,Ze="Breadcrumbs",Qe=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Ze,setupOnce(){},setup(e){var n;t.console&&function(e){const t="console";M(t,e),x(t,we)}(function(e){return function(t){if((0,y.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:qe(t.level),message:(0,r.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,r.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,y.ZQ)(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if((0,y.KU)()!==e)return;let o,r,a="object"==typeof t?t.serializeAttribute:void 0,s="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;s&&s>$e&&(ve&&i.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=$e),"string"==typeof a&&(a=[a]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;o=(0,Ke.Hd)(t,{keyAttrs:a,maxStringLength:s}),r=(0,Ke.xE)(t)}catch(e){o="<unknown>"}if(0===o.length)return;const c={category:`ui.${n.name}`,message:o};r&&(c.data={"ui.component_name":r}),(0,y.ZQ)(c,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),M("dom",n),x("dom",Fe)),t.xhr&&function(e){M("xhr",e),x("xhr",We)}(function(e){return function(t){if((0,y.KU)()!==e)return;const{startTimestamp:n,endTimestamp:i}=t,o=t.xhr[Ge];if(!n||!i||!o)return;const{method:r,url:a,status_code:s,body:c}=o,l={method:r,url:a,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:i};(0,y.ZQ)({category:"xhr",data:l,type:"http"},u)}}(e)),t.fetch&&function(e){const t="fetch";M(t,e),x(t,je)}(function(e){return function(t){if((0,y.KU)()!==e)return;const{startTimestamp:n,endTimestamp:i}=t;if(i&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const e=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:i};(0,y.ZQ)({category:"fetch",data:e,level:"error",type:"http"},o)}else{const e=t.response,o={...t.fetchData,status_code:e&&e.status},r={input:t.args,response:e,startTimestamp:n,endTimestamp:i};(0,y.ZQ)({category:"fetch",data:o,type:"http"},r)}}}(e)),t.history&&B(function(e){return function(t){if((0,y.KU)()!==e)return;let n=t.from,i=t.to;const o=Xe(Re.location.href);let r=n?Xe(n):void 0;const a=Xe(i);r&&r.path||(r=o),o.protocol===a.protocol&&o.host===a.host&&(i=a.relative),o.protocol===r.protocol&&o.host===r.host&&(n=r.relative),(0,y.ZQ)({category:"navigation",data:{from:n,to:i}})}}(e)),t.sentry&&e.on&&e.on("beforeSendEvent",function(e){return function(t){(0,y.KU)()===e&&(0,y.ZQ)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,o.$X)(t)},{event:t})}}(e))}}};h(Ze,Qe);const et="Dedupe",tt=()=>{let e;return{name:et,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,i=t.message;if(!n&&!i)return!1;if(n&&!i||!n&&i)return!1;if(n!==i)return!1;if(!it(e,t))return!1;if(!nt(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=ot(t),i=ot(e);if(!n||!i)return!1;if(n.type!==i.type||n.value!==i.value)return!1;if(!it(e,t))return!1;if(!nt(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return ve&&i.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};h(et,tt);function nt(e,t){let n=rt(e),i=rt(t);if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;if(i.length!==n.length)return!1;for(let e=0;e<i.length;e++){const t=i[e],o=n[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function it(e,t){let n=e.fingerprint,i=t.fingerprint;if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;try{return!(n.join("")!==i.join(""))}catch(e){return!1}}function ot(e){return e.exception&&e.exception.values&&e.exception.values[0]}function rt(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}let at=null;function st(){at=R.OW.onerror,R.OW.onerror=function(e,t,n,i,o){return U("error",{column:i,error:o,line:n,msg:e,url:t}),!(!at||at.__SENTRY_LOADER__)&&at.apply(this,arguments)},R.OW.onerror.__SENTRY_INSTRUMENTED__=!0}let ct=null;function lt(){ct=R.OW.onunhandledrejection,R.OW.onunhandledrejection=function(e){return U("unhandledrejection",e),!(ct&&!ct.__SENTRY_LOADER__)||ct.apply(this,arguments)},R.OW.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const ut="GlobalHandlers",dt=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:ut,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){!function(e){const t="error";M(t,e),x(t,st)}((t=>{const{stackParser:n,attachStacktrace:i}=ft();if((0,y.KU)()!==e||Pe())return;const{msg:o,url:r,line:a,column:s,error:c}=t,l=void 0===c&&(0,z.Kg)(o)?function(e,t,n,i){const o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let r=(0,z.T2)(e)?e.message:e,a="Error";const s=r.match(o);s&&(a=s[1],r=s[2]);const c={exception:{values:[{type:a,value:r}]}};return pt(c,t,n,i)}(o,r,a,s):pt(Ie(n,c||o,void 0,i,!1),r,a,s);l.level="error",(0,y.r)(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),ht("onerror")),t.onunhandledrejection&&(!function(e){!function(e){const t="unhandledrejection";M(t,e),x(t,lt)}((t=>{const{stackParser:n,attachStacktrace:i}=ft();if((0,y.KU)()!==e||Pe())return;const o=function(e){if((0,z.sO)(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(e){}return e}(t),r=(0,z.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:Ie(n,o,void 0,i,!0);r.level="error",(0,y.r)(r,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),ht("onunhandledrejection"))}}};h(ut,dt);function pt(e,t,n,i){const o=e.exception=e.exception||{},r=o.values=o.values||[],a=r[0]=r[0]||{},s=a.stacktrace=a.stacktrace||{},c=s.frames=s.frames||[],l=isNaN(parseInt(i,10))?void 0:i,u=isNaN(parseInt(n,10))?void 0:n,d=(0,z.Kg)(t)&&t.length>0?t:(0,Ke.$N)();return 0===c.length&&c.push({colno:l,filename:d,function:"?",in_app:!0,lineno:u}),e}function ht(e){ve&&i.vF.log(`Global Handler attached: ${e}`)}function ft(){const e=(0,y.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const mt="HttpContext",_t=()=>({name:mt,setupOnce(){},preprocessEvent(e){if(!Re.navigator&&!Re.location&&!Re.document)return;const t=e.request&&e.request.url||Re.location&&Re.location.href,{referrer:n}=Re.document||{},{userAgent:i}=Re.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},r={...e.request,...t&&{url:t},headers:o};e.request=r}});h(mt,_t);function gt(e,t,n=250,i,o,a,s){if(!(a.exception&&a.exception.values&&s&&(0,z.tH)(s.originalException,Error)))return;const c=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;var l,u;c&&(a.exception.values=(l=Et(e,t,o,s.originalException,i,a.exception.values,c,0),u=n,l.map((e=>(e.value&&(e.value=(0,r.xv)(e.value,u)),e)))))}function Et(e,t,n,i,o,r,a,s){if(r.length>=n+1)return r;let c=[...r];if((0,z.tH)(i[o],Error)){vt(a,s);const r=e(t,i[o]),l=c.length;yt(r,o,l,s),c=Et(e,t,n,i[o],o,[r,...c],r,l)}return Array.isArray(i.errors)&&i.errors.forEach(((i,r)=>{if((0,z.tH)(i,Error)){vt(a,s);const l=e(t,i),u=c.length;yt(l,`errors[${r}]`,u,s),c=Et(e,t,n,i,o,[l,...c],l,u)}})),c}function vt(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function yt(e,t,n,i){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:i}}const bt="LinkedErrors",St=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:bt,setupOnce(){},preprocessEvent(e,i,o){const r=o.getOptions();gt(ye,r.stackParser,r.maxValueLength,n,t,e,i)}}},Tt=(h(bt,St),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"]),At="TryCatch",It=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:At,setupOnce(){t.setTimeout&&(0,v.GS)(Re,"setTimeout",Ot),t.setInterval&&(0,v.GS)(Re,"setInterval",Ot),t.requestAnimationFrame&&(0,v.GS)(Re,"requestAnimationFrame",Ct),t.XMLHttpRequest&&"XMLHttpRequest"in Re&&(0,v.GS)(XMLHttpRequest.prototype,"send",Rt);const e=t.eventTarget;if(e){(Array.isArray(e)?e:Tt).forEach(Nt)}}}};h(At,It);function Ot(e){return function(...t){const n=t[0];return t[0]=Le(n,{mechanism:{data:{function:(0,O.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Ct(e){return function(t){return e.apply(this,[Le(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,O.qQ)(e)},handled:!1,type:"instrument"}})])}}function Rt(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&(0,v.GS)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,O.qQ)(t)},handled:!1,type:"instrument"}},i=(0,v.sp)(t);return i&&(n.mechanism.data.handler=(0,O.qQ)(i)),Le(t,n)}))})),e.apply(this,t)}}function Nt(e){const t=Re,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,v.GS)(n,"addEventListener",(function(t){return function(n,i,o){try{"function"==typeof i.handleEvent&&(i.handleEvent=Le(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,O.qQ)(i),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,Le(i,{mechanism:{data:{function:"addEventListener",handler:(0,O.qQ)(i),target:e},handled:!1,type:"instrument"}}),o])}})),(0,v.GS)(n,"removeEventListener",(function(e){return function(t,n,i){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&e.call(this,t,n,i)}catch(e){}return e.call(this,t,o,i)}})))}const Pt="?";function Lt(e,t,n,i){const o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==i&&(o.colno=i),o}const kt=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,wt=/\((\S*)(?::(\d+))(?::(\d+))\)/,Dt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Mt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,xt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Ut=[[30,e=>{const t=kt.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=wt.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=Ft(t[1]||Pt,t[2]);return Lt(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{const t=Dt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Mt.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Pt;return[n,e]=Ft(n,e),Lt(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{const t=xt.exec(e);return t?Lt(t[2],t[1]||Pt,+t[3],t[4]?+t[4]:void 0):void 0}]],Vt=(0,O.gd)(...Ut),Ft=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return n||i?[-1!==e.indexOf("@")?e.split("@")[0]:Pt,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};function Bt(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(i){if(!(void 0===e||t.length<e))return(0,K.xg)(new oe("Not adding Promise because buffer limit was reached."));const o=i();return-1===t.indexOf(o)&&t.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(e){return new K.T2(((n,i)=>{let o=t.length;if(!o)return n(!0);const r=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,K.XW)(e).then((()=>{--o||(clearTimeout(r),n(!0))}),i)}))}))}}}const Ht=6e4;function Gt(e,{statusCode:t,headers:n},i=Date.now()){const o={...e},r=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(r)for(const e of r.trim().split(",")){const[t,n,,,r]=e.split(":",5),a=parseInt(t,10),s=1e3*(isNaN(a)?60:a);if(n)for(const e of n.split(";"))"metric_bucket"===e&&r&&!r.split(";").includes("custom")||(o[e]=i+s);else o.all=i+s}else a?o.all=i+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${e}`);return isNaN(i)?Ht:i-t}(a,i):429===t&&(o.all=i+6e4);return o}const Wt=30;function jt(e,t,n=Bt(e.bufferSize||Wt)){let o={};function r(r){const s=[];if($(r,((t,n)=>{const i=ne(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(o,i)){const o=Yt(t,n);e.recordDroppedEvent("ratelimit_backoff",i,o)}else s.push(t)})),0===s.length)return(0,K.XW)();const c=q(r[0],s),l=t=>{$(c,((n,i)=>{const o=Yt(n,i);e.recordDroppedEvent(t,ne(i),o)}))};return n.add((()=>t({body:Q(c,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&a.T&&i.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),o=Gt(o,e),e)),(e=>{throw l("network_error"),e})))).then((e=>e),(e=>{if(e instanceof oe)return a.T&&i.vF.error("Skipped sending event because buffer is full."),l("queue_overflow"),(0,K.XW)();throw e}))}return r.__sentry__baseTransport__=!0,{send:r,flush:e=>n.drain(e)}}function Yt(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}let zt;function Kt(e,t=function(){if(zt)return zt;if(L(Re.fetch))return zt=Re.fetch.bind(Re);const e=Re.document;let t=Re.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const i=n.contentWindow;i&&i.fetch&&(t=i.fetch),e.head.removeChild(n)}catch(e){ve&&i.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return zt=t.bind(Re)}()){let n=0,o=0;return jt(e,(function(i){const r=i.body.length;n+=r,o++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&o<15,...e.fetchOptions};try{return t(e.url,a).then((e=>(n-=r,o--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return zt=void 0,n-=r,o--,(0,K.xg)(e)}}))}const Jt=4;function qt(e){return jt(e,(function(t){return new K.T2(((n,i)=>{const o=new XMLHttpRequest;o.onerror=i,o.onreadystatechange=()=>{o.readyState===Jt&&n({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&o.setRequestHeader(t,e.headers[t]);o.send(t.body)}))}))}const Xt=[g(),A(),It(),Qe(),dt(),St(),tt(),_t()];function $t(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=[...Xt]),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),Re.SENTRY_RELEASE&&Re.SENTRY_RELEASE.id&&(e.release=Re.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(0,O.vk)(e.stackParser||Vt),integrations:u(e),transport:e.transport||(P()?Kt:qt)};I(ke,t),e.autoSessionTracking&&function(){if(void 0===Re.document)return void(ve&&i.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));(0,y.J0)({ignoreDuration:!0}),(0,y.J5)(),B((({from:e,to:t})=>{void 0!==e&&e!==t&&((0,y.J0)({ignoreDuration:!0}),(0,y.J5)())}))}()}},53974:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});const i="production"},54457:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});const i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},5934:(e,t,n)=>{"use strict";n.d(t,{jB:()=>u,lG:()=>c,lb:()=>l});var i=n(61534),o=n(55693),r=n(50853),a=n(28445),s=n(54457);function c(){return(0,i.BY)("globalEventProcessors",(()=>[]))}function l(e){c().push(e)}function u(e,t,n,i=0){return new o.T2(((o,c)=>{const l=e[i];if(null===t||"function"!=typeof l)o(t);else{const d=l({...t},n);s.T&&l.id&&null===d&&r.vF.log(`Event processor "${l.id}" dropped event`),(0,a.Qg)(d)?d.then((t=>u(e,t,n,i+1).then(o))).then(null,c):u(e,d,n,i+1).then(o).then(null,c)}}))}},46588:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>c,J0:()=>m,J5:()=>E,KU:()=>h,PN:()=>u,ZQ:()=>d,o5:()=>f,r:()=>l,v4:()=>p});var i=n(61534),o=n(53974),r=n(67148),a=n(77683),s=n(76756);function c(e,t){return(0,r.BF)().captureException(e,(0,s.li)(t))}function l(e,t){return(0,r.BF)().captureEvent(e,t)}function u(e){(0,r.BF)().configureScope(e)}function d(e,t){(0,r.BF)().addBreadcrumb(e,t)}function p(...e){const t=(0,r.BF)();if(2===e.length){const[n,i]=e;return n?t.withScope((()=>(t.getStackTop().scope=n,i(n)))):t.withScope(i)}return t.withScope(e[0])}function h(){return(0,r.BF)().getClient()}function f(){return(0,r.BF)().getScope()}function m(e){const t=h(),n=(0,r.rm)(),s=f(),{release:c,environment:l=o.U}=t&&t.getOptions()||{},{userAgent:u}=i.OW.navigator||{},d=(0,a.fj)({release:c,environment:l,user:s.getUser()||n.getUser(),...u&&{userAgent:u},...e}),p=n.getSession();return p&&"ok"===p.status&&(0,a.qO)(p,{status:"exited"}),_(),n.setSession(d),s.setSession(d),d}function _(){const e=(0,r.rm)(),t=f(),n=t.getSession()||e.getSession();n&&(0,a.Vu)(n),g(),e.setSession(),t.setSession()}function g(){const e=(0,r.rm)(),t=f(),n=h(),i=t.getSession()||e.getSession();i&&n&&n.captureSession&&n.captureSession(i)}function E(e=!1){e?_():g()}},67148:(e,t,n)=>{"use strict";n.d(t,{BF:()=>E,rm:()=>v});var i=n(28445),o=n(28041),r=n(52900),a=n(50853),s=n(61534),c=n(53974),l=n(54457),u=n(52595),d=n(77683),p=n(80043);const h=parseFloat(p.M),f=100;class m{constructor(e,t,n,i=h){let o,r;this._version=i,t?o=t:(o=new u.HG,o.setClient(e)),n?r=n:(r=new u.HG,r.setClient(e)),this._stack=[{scope:o}],e&&this.bindClient(e),this._isolationScope=r}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(e){throw this.popScope(),e}return(0,i.Qg)(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:(0,o.eJ)(),i=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:i,...t,event_id:n}),n}captureMessage(e,t,n){const i=this._lastEventId=n&&n.event_id?n.event_id:(0,o.eJ)(),r=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:r,...n,event_id:i}),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=f}=i.getOptions&&i.getOptions()||{};if(s<=0)return;const c={timestamp:(0,r.lu)(),...e},l=o?(0,a.pq)((()=>o(c,t))):c;null!==l&&(i.emit&&i.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,s))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=g(this);try{e(this)}finally{g(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return l.T&&a.vF.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(l.T&&!n){this.getClient()?a.vF.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):a.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&(0,d.Vu)(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:i,environment:o=c.U}=n&&n.getOptions()||{},{userAgent:r}=s.OW.navigator||{},a=(0,d.fj)({release:i,environment:o,user:t.getUser(),...r&&{userAgent:r},...e}),l=t.getSession&&t.getSession();return l&&"ok"===l.status&&(0,d.qO)(l,{status:"exited"}),this.endSession(),t.setSession(a),a}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=_().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);l.T&&a.vF.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function _(){return s.OW.__SENTRY__=s.OW.__SENTRY__||{extensions:{},hub:void 0},s.OW}function g(e){const t=_(),n=S(t);return T(t,e),n}function E(){const e=_();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return y(e)}function v(){return E().getIsolationScope()}function y(e=_()){return b(e)&&!S(e).isOlderThan(h)||T(e,new m),S(e)}function b(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function S(e){return(0,s.BY)("hub",(()=>new m),e)}function T(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}},52595:(e,t,n)=>{"use strict";n.d(t,{HG:()=>d,m6:()=>p});var i=n(28445),o=n(52900),r=n(28041),a=n(50853),s=n(5934),c=n(77683),l=n(7334);let u;class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=h()}static clone(e){return e?e.clone():new d}clone(){const e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&(0,c.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e;if(t instanceof d){const e=t.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else if((0,i.Qd)(t)){const t=e;this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=h(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const i={timestamp:(0,o.lu)(),...e},r=this._breadcrumbs;return r.push(i),this._breadcrumbs=r.length>n?r.slice(-n):r,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:i,_extra:o,_user:r,_level:a,_fingerprint:s,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:u,_transactionName:d,_span:p}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:i,extra:o,user:r,level:a,fingerprint:s||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:u,transactionName:d,span:p}}applyToEvent(e,t={},n=[]){(0,l.e2)(e,this.getScopeData());const i=[...n,...(0,s.lG)(),...this._eventProcessors];return(0,s.jB)(i,e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,r.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},this),n}captureMessage(e,t,n){const i=n&&n.event_id?n.event_id:(0,r.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),i;const o=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:i},this),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,r.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(a.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function p(){return u||(u=new d),u}function h(){return{traceId:(0,r.eJ)(),spanId:(0,r.eJ)().substring(16)}}},77683:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>c,fj:()=>a,qO:()=>s});var i=n(52900),o=n(28041),r=n(41310);function a(e){const t=(0,i.zf)(),n={sid:(0,o.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,r.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&s(n,e),n}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function c(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},53599:(e,t,n)=>{"use strict";n.d(t,{k:()=>l,l:()=>c});var i=n(41310),o=n(53974),r=n(46588),a=n(6665),s=n(74600);function c(e,t,n){const r=t.getOptions(),{publicKey:a}=t.getDsn()||{},{segment:s}=n&&n.getUser()||{},c=(0,i.Ce)({environment:r.environment||o.U,release:r.release,user_segment:s,public_key:a,trace_id:e});return t.emit&&t.emit("createDsc",c),c}function l(e){const t=(0,r.KU)();if(!t)return{};const n=c((0,s.et)(e).trace_id||"",t,(0,r.o5)()),i=(0,a.z)(e);if(!i)return n;const o=i&&i._frozenDynamicSamplingContext;if(o)return o;const{sampleRate:l,source:u}=i.metadata;null!=l&&(n.sample_rate=`${l}`);const d=(0,s.et)(i);return u&&"url"!==u&&(n.transaction=d.description),n.sampled=String((0,s.pK)(i)),t.emit&&t.emit("createDsc",n),n}},7334:(e,t,n)=>{"use strict";n.d(t,{Rg:()=>l,e2:()=>c});var i=n(41310),o=n(28041),r=n(53599),a=n(6665),s=n(74600);function c(e,t){const{fingerprint:n,span:c,breadcrumbs:l,sdkProcessingMetadata:u}=t;!function(e,t){const{extra:n,tags:o,user:r,contexts:a,level:s,transactionName:c}=t,l=(0,i.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const u=(0,i.Ce)(o);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const d=(0,i.Ce)(r);d&&Object.keys(d).length&&(e.user={...d,...e.user});const p=(0,i.Ce)(a);p&&Object.keys(p).length&&(e.contexts={...p,...e.contexts});s&&(e.level=s);c&&(e.transaction=c)}(e,t),c&&function(e,t){e.contexts={trace:(0,s.kX)(t),...e.contexts};const n=(0,a.z)(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:(0,r.k)(t),...e.sdkProcessingMetadata};const i=(0,s.et)(n).description;i&&(e.tags={transaction:i,...e.tags})}}(e,c),function(e,t){e.fingerprint=e.fingerprint?(0,o.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,l),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,u)}function l(e,t){const{extra:n,tags:i,user:o,contexts:r,level:a,sdkProcessingMetadata:s,breadcrumbs:c,fingerprint:l,eventProcessors:d,attachments:p,propagationContext:h,transactionName:f,span:m}=t;u(e,"extra",n),u(e,"tags",i),u(e,"user",o),u(e,"contexts",r),u(e,"sdkProcessingMetadata",s),a&&(e.level=a),f&&(e.transactionName=f),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function u(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[t][i]=n[i])}}},6665:(e,t,n)=>{"use strict";function i(e){return e.transaction}n.d(t,{z:()=>i})},76756:(e,t,n)=>{"use strict";n.d(t,{li:()=>m,mG:()=>h});var i=n(28041),o=n(52900),r=n(76444),a=n(61534),s=n(42456),c=n(53974),l=n(5934),u=n(52595),d=n(7334),p=n(74600);function h(e,t,n,h,m,_){const{normalizeDepth:g=3,normalizeMaxBreadth:E=1e3}=e,v={...t,event_id:t.event_id||n.event_id||(0,i.eJ)(),timestamp:t.timestamp||(0,o.lu)()},y=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:i,dist:o,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:c.U);void 0===e.release&&void 0!==i&&(e.release=i);void 0===e.dist&&void 0!==o&&(e.dist=o);e.message&&(e.message=(0,r.xv)(e.message,a));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,r.xv)(s.value,a));const l=e.request;l&&l.url&&(l.url=(0,r.xv)(l.url,a))}(v,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(v,y),void 0===t.type&&function(e,t){const n=a.OW._sentryDebugIds;if(!n)return;let i;const o=f.get(t);o?i=o:(i=new Map,f.set(t,i));const r=Object.keys(n).reduce(((e,o)=>{let r;const a=i.get(o);a?r=a:(r=t(o),i.set(o,r));for(let t=r.length-1;t>=0;t--){const i=r[t];if(i.filename){e[i.filename]=n[o];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=r[e.filename])}))}))}catch(e){}}(v,e.stackParser);const b=function(e,t){if(!t)return e;const n=e?e.clone():new u.HG;return n.update(t),n}(h,n.captureContext);n.mechanism&&(0,i.M6)(v,n.mechanism);const S=m&&m.getEventProcessors?m.getEventProcessors():[],T=(0,u.m6)().getScopeData();if(_){const e=_.getScopeData();(0,d.Rg)(T,e)}if(b){const e=b.getScopeData();(0,d.Rg)(T,e)}const A=[...n.attachments||[],...T.attachments];A.length&&(n.attachments=A),(0,d.e2)(v,T);const I=[...S,...(0,l.lG)(),...T.eventProcessors];return(0,l.jB)(I,v,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof g&&g>0?function(e,t,n){if(!e)return null;const i={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,s.S8)(e.data,t,n)}})))},...e.user&&{user:(0,s.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,s.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,s.S8)(e.extra,t,n)}};e.contexts&&e.contexts.trace&&i.contexts&&(i.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(i.contexts.trace.data=(0,s.S8)(e.contexts.trace.data,t,n)));e.spans&&(i.spans=e.spans.map((e=>{const i=(0,p.et)(e).data;return i&&(e.data=(0,s.S8)(i,t,n)),e})));return i}(e,g,E):e)))}const f=new WeakMap;function m(e){if(e)return function(e){return e instanceof u.HG||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>_.includes(e)))}(e)?{captureContext:e}:e}const _=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},74600:(e,t,n)=>{"use strict";n.d(t,{et:()=>a,kX:()=>r,pK:()=>s});var i=n(41310);const o=1;function r(e){const{spanId:t,traceId:n}=e.spanContext(),{data:o,op:r,parent_span_id:s,status:c,tags:l,origin:u}=a(e);return(0,i.Ce)({data:o,op:r,parent_span_id:s,span_id:t,status:c,tags:l,trace_id:n,origin:u})}function a(e){return function(e){return"function"==typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function s(e){const{traceFlags:t}=e.spanContext();return Boolean(t&o)}},80043:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});const i="7.113.0"},8700:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});const i="SessionTiming",o=(r=i,a=()=>{const e=Date.now();return{name:i,setupOnce(){},processEvent(t){const n=Date.now();return{...t,extra:{...t.extra,"session:start":e,"session:duration":n-e,"session:end":n}}}}},Object.assign((function(...e){return a(...e)}),{id:r}));var r,a},33885:(e,t,n)=>{"use strict";n.d(t,{$N:()=>c,Hd:()=>a,xE:()=>l});var i=n(28445);const o=(0,n(61534).VZ)(),r=80;function a(e,t={}){if(!e)return"<unknown>";try{let n=e;const i=5,o=[];let a=0,c=0;const l=" > ",u=l.length;let d;const p=Array.isArray(t)?t:t.keyAttrs,h=!Array.isArray(t)&&t.maxStringLength||r;for(;n&&a++<i&&(d=s(n,p),!("html"===d||a>1&&c+o.length*u+d.length>=h));)o.push(d),c+=d.length,n=n.parentNode;return o.reverse().join(l)}catch(e){return"<unknown>"}}function s(e,t){const n=e,r=[];let a,s,c,l,u;if(!n||!n.tagName)return"";if(o.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const d=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(d&&d.length)d.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),a=n.className,a&&(0,i.Kg)(a))for(s=a.split(/\s+/),u=0;u<s.length;u++)r.push(`.${s[u]}`);const p=["aria-label","type","name","title","alt"];for(u=0;u<p.length;u++)c=p[u],l=n.getAttribute(c),l&&r.push(`[${c}="${l}"]`);return r.join("")}function c(){try{return o.document.location.href}catch(e){return""}}function l(e){if(!o.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}},5635:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});const i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},28445:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Kg:()=>l,L2:()=>y,NF:()=>u,Qd:()=>p,Qg:()=>_,T2:()=>a,W6:()=>c,bJ:()=>o,gd:()=>m,mE:()=>g,sO:()=>d,tH:()=>v,vq:()=>f,xH:()=>h,yr:()=>E});const i=Object.prototype.toString;function o(e){switch(i.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(e,Error)}}function r(e,t){return i.call(e)===`[object ${t}]`}function a(e){return r(e,"ErrorEvent")}function s(e){return r(e,"DOMError")}function c(e){return r(e,"DOMException")}function l(e){return r(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function p(e){return r(e,"Object")}function h(e){return"undefined"!=typeof Event&&v(e,Event)}function f(e){return"undefined"!=typeof Element&&v(e,Element)}function m(e){return r(e,"RegExp")}function _(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function g(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function E(e){return"number"==typeof e&&e!=e}function v(e,t){try{return e instanceof t}catch(e){return!1}}function y(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}},50853:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>r,Z9:()=>a,pq:()=>s,vF:()=>c});var i=n(5635),o=n(61534);const r=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in o.OW))return e();const t=o.OW.console,n={},i=Object.keys(a);i.forEach((e=>{const i=a[e];n[e]=t[e],t[e]=i}));try{return e()}finally{i.forEach((e=>{t[e]=n[e]}))}}const c=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return i.T?r.forEach((n=>{t[n]=(...t)=>{e&&s((()=>{o.OW.console[n](`Sentry Logger [${n}]:`,...t)}))}})):r.forEach((e=>{t[e]=()=>{}})),t}()},28041:(e,t,n)=>{"use strict";n.d(t,{$X:()=>s,GR:()=>u,M6:()=>l,eJ:()=>r,gO:()=>c,k9:()=>d});var i=n(41310),o=n(61534);function r(){const e=o.OW,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function a(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){const{message:t,event_id:n}=e;if(t)return t;const i=a(e);return i?i.type&&i.value?`${i.type}: ${i.value}`:i.type||i.value||n||"<unknown>":n||"<unknown>"}function c(e,t,n){const i=e.exception=e.exception||{},o=i.values=i.values||[],r=o[0]=o[0]||{};r.value||(r.value=t||""),r.type||(r.type=n||"Error")}function l(e,t){const n=a(e);if(!n)return;const i=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...i,...t},t&&"data"in t){const e={...i&&i.data,...t.data};n.mechanism.data=e}}function u(e){if(e&&e.__sentry_captured__)return!0;try{(0,i.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}function d(e){return Array.isArray(e)?e:[e]}},42456:(e,t,n)=>{"use strict";n.d(t,{S8:()=>a,cd:()=>s});var i=n(28445);var o=n(41310),r=n(72024);function a(e,t=100,n=1/0){try{return c("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function s(e,t=3,n=102400){const i=a(e,t);return o=i,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?s(e,t-1,n):i;var o}function c(e,t,a=1/0,s=1/0,l=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[u,d]=l;if(null==t||["number","boolean","string"].includes(typeof t)&&!(0,i.yr)(t))return t;const p=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==n.g&&t===n.g)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,i.L2)(t))return"[VueViewModel]";if((0,i.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${(0,r.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const o=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(o)?`[HTMLElement: ${o}]`:`[object ${o}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!p.startsWith("[object "))return p;if(t.__sentry_skip_normalization__)return t;const h="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:a;if(0===h)return p.replace("object ","");if(u(t))return"[Circular ~]";const f=t;if(f&&"function"==typeof f.toJSON)try{return c("",f.toJSON(),h-1,s,l)}catch(e){}const m=Array.isArray(t)?[]:{};let _=0;const g=(0,o.W4)(t);for(const e in g){if(!Object.prototype.hasOwnProperty.call(g,e))continue;if(_>=s){m[e]="[MaxProperties ~]";break}const t=g[e];m[e]=c(e,t,h-1,s,l),_++}return d(t),m}},41310:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>g,GS:()=>c,HF:()=>_,W4:()=>h,my:()=>l,pO:()=>u,sp:()=>d,u4:()=>p});var i=n(33885),o=n(5635),r=n(28445),a=n(50853),s=n(76444);function c(e,t,n){if(!(t in e))return;const i=e[t],o=n(i);"function"==typeof o&&u(o,i),e[t]=o}function l(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){o.T&&a.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function p(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function h(e){if((0,r.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if((0,r.xH)(e)){const t={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...m(e)};return"undefined"!=typeof CustomEvent&&(0,r.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function f(e){try{return(0,r.vq)(e)?(0,i.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function m(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function _(e,t=40){const n=Object.keys(h(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,s.xv)(n[0],t);for(let e=n.length;e>0;e--){const i=n.slice(0,e).join(", ");if(!(i.length>t))return e===n.length?i:(0,s.xv)(i,t)}return""}function g(e){return E(e,new Map)}function E(e,t){if(function(e){if(!(0,r.Qd)(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const i={};t.set(e,i);for(const n of Object.keys(e))void 0!==e[n]&&(i[n]=E(e[n],t));return i}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const i=[];return t.set(e,i),e.forEach((e=>{i.push(E(e,t))})),i}return e}},72024:(e,t,n)=>{"use strict";n.d(t,{gd:()=>a,qQ:()=>l,vk:()=>s});const i=50,o=/\(error: (.*)\)/,r=/captureMessage|captureException/;function a(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const a=[],s=e.split("\n");for(let e=n;e<s.length;e++){const n=s[e];if(n.length>1024)continue;const r=o.test(n)?n.replace(o,"$1"):n;if(!r.match(/\S*Error: /)){for(const e of t){const t=e(r);if(t){a.push(t);break}}if(a.length>=i)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),r.test(t[t.length-1].function||"")&&(t.pop(),r.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,i).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(a)}}function s(e){return Array.isArray(e)?a(...e):e}const c="<anonymous>";function l(e){try{return e&&"function"==typeof e&&e.name||c}catch(e){return c}}},76444:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>a,gt:()=>r,xv:()=>o});var i=n(28445);function o(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function r(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const o=e[t];try{(0,i.L2)(o)?n.push("[VueViewModel]"):n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t=[],n=!1){return t.some((t=>function(e,t,n=!1){return!!(0,i.Kg)(e)&&((0,i.gd)(t)?t.test(e):!!(0,i.Kg)(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}},55693:(e,t,n)=>{"use strict";n.d(t,{T2:()=>s,XW:()=>r,xg:()=>a});var i,o=n(28445);function r(e){return new s((t=>{t(e)}))}function a(e){return new s(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(i||(i={}));class s{constructor(e){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new s(((n,i)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){i(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){i(e)}else i(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new s(((t,n)=>{let i,o;return this.then((t=>{o=!1,i=t,e&&e()}),(t=>{o=!0,i=t,e&&e()})).then((()=>{o?n(i):t(i)}))}))}__init(){this._resolve=e=>{this._setResult(i.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(i.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===i.PENDING&&((0,o.Qg)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===i.RESOLVED&&e[1](this._value),this._state===i.REJECTED&&e[2](this._value),e[0]=!0)}))}}}},52900:(e,t,n)=>{"use strict";n.d(t,{lu:()=>r,zf:()=>a});var i=n(61534);const o=1e3;function r(){return Date.now()/o}const a=function(){const{performance:e}=i.OW;if(!e||!e.now)return r;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/o}();let s;(()=>{const{performance:e}=i.OW;if(!e||!e.now)return void(s="none");const t=36e5,n=e.now(),o=Date.now(),r=e.timeOrigin?Math.abs(e.timeOrigin+n-o):t,a=r<t,c=e.timing&&e.timing.navigationStart,l="number"==typeof c?Math.abs(c+n-o):t;a||l<t?r<=l?(s="timeOrigin",e.timeOrigin):s="navigationStart":s="dateNow"})()},61534:(e,t,n)=>{"use strict";function i(e){return e&&e.Math==Math?e:void 0}n.d(t,{BY:()=>a,OW:()=>o,VZ:()=>r});const o="object"==typeof globalThis&&i(globalThis)||"object"==typeof window&&i(window)||"object"==typeof self&&i(self)||"object"==typeof n.g&&i(n.g)||function(){return this}()||{};function r(){return o}function a(e,t,n){const i=n||o,r=i.__SENTRY__=i.__SENTRY__||{};return r[e]||(r[e]=t())}},23137:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>fe});var i=n(84729),o=n(31819),r="tippy-content",a="tippy-backdrop",s="tippy-arrow",c="tippy-svg-arrow",l={passive:!0,capture:!0},u=function(){return document.body};function d(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function p(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function h(e,t){return"function"==typeof e?e.apply(void 0,t):e}function f(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function m(e){return[].concat(e)}function _(e,t){-1===e.indexOf(t)&&e.push(t)}function g(e){return e.split("-")[0]}function E(e){return[].slice.call(e)}function v(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function y(){return document.createElement("div")}function b(e){return["Element","Fragment"].some((function(t){return p(e,t)}))}function S(e){return p(e,"MouseEvent")}function T(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function A(e){return b(e)?[e]:function(e){return p(e,"NodeList")}(e)?E(e):Array.isArray(e)?e:E(document.querySelectorAll(e))}function I(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function O(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function C(e){var t,n=m(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function R(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}function N(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var P={isTouch:!1},L=0;function k(){P.isTouch||(P.isTouch=!0,window.performance&&document.addEventListener("mousemove",w))}function w(){var e=performance.now();e-L<20&&(P.isTouch=!1,document.removeEventListener("mousemove",w)),L=e}function D(){var e=document.activeElement;if(T(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var M=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var x={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},U=Object.assign({appendTo:u,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},x,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),V=Object.keys(U);function F(e){var t=(e.plugins||[]).reduce((function(t,n){var i,o=n.name,r=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(i=U[o])?i:r);return t}),{});return Object.assign({},e,t)}function B(e,t){var n=Object.assign({},t,{content:h(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(F(Object.assign({},U,{plugins:t}))):V).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},U.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var H=function(){return"innerHTML"};function G(e,t){e[H()]=t}function W(e){var t=y();return!0===e?t.className=s:(t.className=c,b(e)?t.appendChild(e):G(t,e)),t}function j(e,t){b(t.content)?(G(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?G(e,t.content):e.textContent=t.content)}function Y(e){var t=e.firstElementChild,n=E(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(r)})),arrow:n.find((function(e){return e.classList.contains(s)||e.classList.contains(c)})),backdrop:n.find((function(e){return e.classList.contains(a)}))}}function z(e){var t=y(),n=y();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=y();function o(n,i){var o=Y(t),r=o.box,a=o.content,s=o.arrow;i.theme?r.setAttribute("data-theme",i.theme):r.removeAttribute("data-theme"),"string"==typeof i.animation?r.setAttribute("data-animation",i.animation):r.removeAttribute("data-animation"),i.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?r.setAttribute("role",i.role):r.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||j(a,e.props),i.arrow?s?n.arrow!==i.arrow&&(r.removeChild(s),r.appendChild(W(i.arrow))):r.appendChild(W(i.arrow)):s&&r.removeChild(s)}return i.className=r,i.setAttribute("data-state","hidden"),j(i,e.props),t.appendChild(n),n.appendChild(i),o(e.props,e.props),{popper:t,onUpdate:o}}z.$$tippy=!0;var K=1,J=[],q=[];function X(e,t){var n,o,r,a,s,c,p,b,T=B(e,Object.assign({},U,F(v(t)))),A=!1,L=!1,k=!1,w=!1,D=[],x=f(ye,T.interactiveDebounce),V=K++,H=(b=T.plugins).filter((function(e,t){return b.indexOf(e)===t})),G={id:V,reference:e,popper:y(),popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:H,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){0;if(G.state.isDestroyed)return;ae("onBeforeUpdate",[G,t]),Ee();var n=G.props,i=B(e,Object.assign({},n,v(t),{ignoreAttributes:!0}));G.props=i,ge(),n.interactiveDebounce!==i.interactiveDebounce&&(le(),x=f(ye,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?m(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");ce(),re(),z&&z(n,i);G.popperInstance&&(Ae(),Oe().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));ae("onAfterUpdate",[G,t])},setContent:function(e){G.setProps({content:e})},show:function(){0;var e=G.state.isVisible,t=G.state.isDestroyed,n=!G.state.isEnabled,i=P.isTouch&&!G.props.touch,o=d(G.props.duration,0,U.duration);if(e||t||n||i)return;if(te().hasAttribute("disabled"))return;if(ae("onShow",[G],!1),!1===G.props.onShow(G))return;G.state.isVisible=!0,ee()&&(j.style.visibility="visible");re(),he(),G.state.isMounted||(j.style.transition="none");if(ee()){var r=ie();I([r.box,r.content],0)}c=function(){var e;if(G.state.isVisible&&!w){if(w=!0,j.offsetHeight,j.style.transition=G.props.moveTransition,ee()&&G.props.animation){var t=ie(),n=t.box,i=t.content;I([n,i],o),O([n,i],"visible")}se(),ce(),_(q,G),null==(e=G.popperInstance)||e.forceUpdate(),ae("onMount",[G]),G.props.animation&&ee()&&function(e,t){me(e,t)}(o,(function(){G.state.isShown=!0,ae("onShown",[G])}))}},function(){var e,t=G.props.appendTo,n=te();e=G.props.interactive&&t===u||"parent"===t?n.parentNode:h(t,[n]);e.contains(j)||e.appendChild(j);G.state.isMounted=!0,Ae(),!1}()},hide:function(){0;var e=!G.state.isVisible,t=G.state.isDestroyed,n=!G.state.isEnabled,i=d(G.props.duration,1,U.duration);if(e||t||n)return;if(ae("onHide",[G],!1),!1===G.props.onHide(G))return;G.state.isVisible=!1,G.state.isShown=!1,w=!1,A=!1,ee()&&(j.style.visibility="hidden");if(le(),fe(),re(!0),ee()){var o=ie(),r=o.box,a=o.content;G.props.animation&&(I([r,a],i),O([r,a],"hidden"))}se(),ce(),G.props.animation?ee()&&function(e,t){me(e,(function(){!G.state.isVisible&&j.parentNode&&j.parentNode.contains(j)&&t()}))}(i,G.unmount):G.unmount()},hideWithInteractivity:function(e){0;ne().addEventListener("mousemove",x),_(J,x),x(e)},enable:function(){G.state.isEnabled=!0},disable:function(){G.hide(),G.state.isEnabled=!1},unmount:function(){0;G.state.isVisible&&G.hide();if(!G.state.isMounted)return;Ie(),Oe().forEach((function(e){e._tippy.unmount()})),j.parentNode&&j.parentNode.removeChild(j);q=q.filter((function(e){return e!==G})),G.state.isMounted=!1,ae("onHidden",[G])},destroy:function(){0;if(G.state.isDestroyed)return;G.clearDelayTimeouts(),G.unmount(),Ee(),delete e._tippy,G.state.isDestroyed=!0,ae("onDestroy",[G])}};if(!T.render)return G;var W=T.render(G),j=W.popper,z=W.onUpdate;j.setAttribute("data-tippy-root",""),j.id="tippy-"+G.id,G.popper=j,e._tippy=G,j._tippy=G;var X=H.map((function(e){return e.fn(G)})),$=e.hasAttribute("aria-expanded");return ge(),ce(),re(),ae("onCreate",[G]),T.showOnCreate&&Ce(),j.addEventListener("mouseenter",(function(){G.props.interactive&&G.state.isVisible&&G.clearDelayTimeouts()})),j.addEventListener("mouseleave",(function(){G.props.interactive&&G.props.trigger.indexOf("mouseenter")>=0&&ne().addEventListener("mousemove",x)})),G;function Z(){var e=G.props.touch;return Array.isArray(e)?e:[e,0]}function Q(){return"hold"===Z()[0]}function ee(){var e;return!(null==(e=G.props.render)||!e.$$tippy)}function te(){return p||e}function ne(){var e=te().parentNode;return e?C(e):document}function ie(){return Y(j)}function oe(e){return G.state.isMounted&&!G.state.isVisible||P.isTouch||a&&"focus"===a.type?0:d(G.props.delay,e?0:1,U.delay)}function re(e){void 0===e&&(e=!1),j.style.pointerEvents=G.props.interactive&&!e?"":"none",j.style.zIndex=""+G.props.zIndex}function ae(e,t,n){var i;(void 0===n&&(n=!0),X.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(i=G.props)[e].apply(i,t)}function se(){var t=G.props.aria;if(t.content){var n="aria-"+t.content,i=j.id;m(G.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(G.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var o=t&&t.replace(i,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function ce(){!$&&G.props.aria.expanded&&m(G.props.triggerTarget||e).forEach((function(e){G.props.interactive?e.setAttribute("aria-expanded",G.state.isVisible&&e===te()?"true":"false"):e.removeAttribute("aria-expanded")}))}function le(){ne().removeEventListener("mousemove",x),J=J.filter((function(e){return e!==x}))}function ue(t){if(!P.isTouch||!k&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!G.props.interactive||!N(j,n)){if(m(G.props.triggerTarget||e).some((function(e){return N(e,n)}))){if(P.isTouch)return;if(G.state.isVisible&&G.props.trigger.indexOf("click")>=0)return}else ae("onClickOutside",[G,t]);!0===G.props.hideOnClick&&(G.clearDelayTimeouts(),G.hide(),L=!0,setTimeout((function(){L=!1})),G.state.isMounted||fe())}}}function de(){k=!0}function pe(){k=!1}function he(){var e=ne();e.addEventListener("mousedown",ue,!0),e.addEventListener("touchend",ue,l),e.addEventListener("touchstart",pe,l),e.addEventListener("touchmove",de,l)}function fe(){var e=ne();e.removeEventListener("mousedown",ue,!0),e.removeEventListener("touchend",ue,l),e.removeEventListener("touchstart",pe,l),e.removeEventListener("touchmove",de,l)}function me(e,t){var n=ie().box;function i(e){e.target===n&&(R(n,"remove",i),t())}if(0===e)return t();R(n,"remove",s),R(n,"add",i),s=i}function _e(t,n,i){void 0===i&&(i=!1),m(G.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),D.push({node:e,eventType:t,handler:n,options:i})}))}function ge(){var e;Q()&&(_e("touchstart",ve,{passive:!0}),_e("touchend",be,{passive:!0})),(e=G.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(_e(e,ve),e){case"mouseenter":_e("mouseleave",be);break;case"focus":_e(M?"focusout":"blur",Se);break;case"focusin":_e("focusout",Se)}}))}function Ee(){D.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,o=e.options;t.removeEventListener(n,i,o)})),D=[]}function ve(e){var t,n=!1;if(G.state.isEnabled&&!Te(e)&&!L){var i="focus"===(null==(t=a)?void 0:t.type);a=e,p=e.currentTarget,ce(),!G.state.isVisible&&S(e)&&J.forEach((function(t){return t(e)})),"click"===e.type&&(G.props.trigger.indexOf("mouseenter")<0||A)&&!1!==G.props.hideOnClick&&G.state.isVisible?n=!0:Ce(e),"click"===e.type&&(A=!n),n&&!i&&Re(e)}}function ye(e){var t=e.target,n=te().contains(t)||j.contains(t);if("mousemove"!==e.type||!n){var i=Oe().concat(j).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:T}:null})).filter(Boolean);(function(e,t){var n=t.clientX,i=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,r=e.props.interactiveBorder,a=g(o.placement),s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,l="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,p=t.top-i+c>r,h=i-t.bottom-l>r,f=t.left-n+u>r,m=n-t.right-d>r;return p||h||f||m}))})(i,e)&&(le(),Re(e))}}function be(e){Te(e)||G.props.trigger.indexOf("click")>=0&&A||(G.props.interactive?G.hideWithInteractivity(e):Re(e))}function Se(e){G.props.trigger.indexOf("focusin")<0&&e.target!==te()||G.props.interactive&&e.relatedTarget&&j.contains(e.relatedTarget)||Re(e)}function Te(e){return!!P.isTouch&&Q()!==e.type.indexOf("touch")>=0}function Ae(){Ie();var t=G.props,n=t.popperOptions,o=t.placement,r=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=ee()?Y(j).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||te()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(ee()){var n=ie().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},p=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},d];ee()&&l&&p.push({name:"arrow",options:{element:l,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),G.popperInstance=(0,i.n4)(u,j,Object.assign({},n,{placement:o,onFirstUpdate:c,modifiers:p}))}function Ie(){G.popperInstance&&(G.popperInstance.destroy(),G.popperInstance=null)}function Oe(){return E(j.querySelectorAll("[data-tippy-root]"))}function Ce(e){G.clearDelayTimeouts(),e&&ae("onTrigger",[G,e]),he();var t=oe(!0),i=Z(),o=i[0],r=i[1];P.isTouch&&"hold"===o&&r&&(t=r),t?n=setTimeout((function(){G.show()}),t):G.show()}function Re(e){if(G.clearDelayTimeouts(),ae("onUntrigger",[G,e]),G.state.isVisible){if(!(G.props.trigger.indexOf("mouseenter")>=0&&G.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&A)){var t=oe(!1);t?o=setTimeout((function(){G.state.isVisible&&G.hide()}),t):r=requestAnimationFrame((function(){G.hide()}))}}else fe()}}function $(e,t){void 0===t&&(t={});var n=U.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",k,l),window.addEventListener("blur",D);var i=Object.assign({},t,{plugins:n}),o=A(e).reduce((function(e,t){var n=t&&X(t,i);return n&&e.push(n),e}),[]);return b(e)?o[0]:o}$.defaultProps=U,Spicetify.Tippy=$;$.setDefaultProps=function(e){Object.keys(e).forEach((function(t){U[t]=e[t]}))},$.currentInput=P;Object.assign({},o.A,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});$.setDefaultProps({render:z});const Z=$;var Q=n(30758),ee=n(8143);function te(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}var ne="undefined"!=typeof window&&"undefined"!=typeof document;function ie(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function oe(){return ne&&document.createElement("div")}function re(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!re(e[n],t[n]))return!1}return!0}return!1}function ae(e){var t=[];return e.forEach((function(e){t.find((function(t){return re(e,t)}))||t.push(e)})),t}function se(e,t){var n,i;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:ae([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(i=t.popperOptions)?void 0:i.modifiers)||[]))})})}var ce=ne?Q.useLayoutEffect:Q.useEffect;function le(e){var t=(0,Q.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function ue(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var de={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function i(){e.props.className&&!n()||ue(t,"add",e.props.className)}return{onCreate:i,onBeforeUpdate:function(){n()&&ue(t,"remove",e.props.className)},onAfterUpdate:i}}};function pe(e){return function(t){var n=t.children,i=t.content,o=t.visible,r=t.singleton,a=t.render,s=t.reference,c=t.disabled,l=void 0!==c&&c,u=t.ignoreAttributes,d=void 0===u||u,p=(t.__source,t.__self,te(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),h=void 0!==o,f=void 0!==r,m=(0,Q.useState)(!1),_=m[0],g=m[1],E=(0,Q.useState)({}),v=E[0],y=E[1],b=(0,Q.useState)(),S=b[0],T=b[1],A=le((function(){return{container:oe(),renders:1}})),I=Object.assign({ignoreAttributes:d},p,{content:A.container});h&&(I.trigger="manual",I.hideOnClick=!1),f&&(l=!0);var O=I,C=I.plugins||[];a&&(O=Object.assign({},I,{plugins:f&&null!=r.data?[].concat(C,[{fn:function(){return{onTrigger:function(e,t){var n=r.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,T(n.content)}}}}]):C,render:function(){return{popper:A.container}}}));var R=[s].concat(n?[n.type]:[]);return ce((function(){var t=s;s&&s.hasOwnProperty("current")&&(t=s.current);var n=e(t||A.ref||oe(),Object.assign({},O,{plugins:[de].concat(I.plugins||[])}));return A.instance=n,l&&n.disable(),o&&n.show(),f&&r.hook({instance:n,content:i,props:O,setSingletonContent:T}),g(!0),function(){n.destroy(),null==r||r.cleanup(n)}}),R),ce((function(){var e;if(1!==A.renders){var t=A.instance;t.setProps(se(t.props,O)),null==(e=t.popperInstance)||e.forceUpdate(),l?t.disable():t.enable(),h&&(o?t.show():t.hide()),f&&r.hook({instance:t,content:i,props:O,setSingletonContent:T})}else A.renders++})),ce((function(){var e;if(a){var t=A.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,i=null==(t=n.modifiersData)?void 0:t.hide;v.placement===n.placement&&v.referenceHidden===(null==i?void 0:i.isReferenceHidden)&&v.escaped===(null==i?void 0:i.hasPopperEscaped)||y({placement:n.placement,referenceHidden:null==i?void 0:i.isReferenceHidden,escaped:null==i?void 0:i.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[v.placement,v.referenceHidden,v.escaped].concat(R)),Q.createElement(Q.Fragment,null,n?(0,Q.cloneElement)(n,{ref:function(e){A.ref=e,ie(n.ref,e)}}):null,_&&(0,ee.createPortal)(a?a(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(v),S,A.instance):i,A.container))}}var he=function(e,t){return(0,Q.forwardRef)((function(n,i){var o=n.children,r=te(n,["children"]);return Q.createElement(e,Object.assign({},t,r),o?(0,Q.cloneElement)(o,{ref:function(e){ie(i,e),ie(o.ref,e)}}):null)}))};const fe=he(pe(Z))},3956:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>le});var i=n(84729),o=n(31819),r="tippy-content",a="tippy-backdrop",s="tippy-arrow",c="tippy-svg-arrow",l={passive:!0,capture:!0},u=function(){return document.body};function d(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function p(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function h(e,t){return"function"==typeof e?e.apply(void 0,t):e}function f(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function m(e){return[].concat(e)}function _(e,t){-1===e.indexOf(t)&&e.push(t)}function g(e){return e.split("-")[0]}function E(e){return[].slice.call(e)}function v(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function y(){return document.createElement("div")}function b(e){return["Element","Fragment"].some((function(t){return p(e,t)}))}function S(e){return p(e,"MouseEvent")}function T(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function A(e){return b(e)?[e]:function(e){return p(e,"NodeList")}(e)?E(e):Array.isArray(e)?e:E(document.querySelectorAll(e))}function I(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function O(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function C(e){var t,n=m(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function R(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}function N(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var P={isTouch:!1},L=0;function k(){P.isTouch||(P.isTouch=!0,window.performance&&document.addEventListener("mousemove",w))}function w(){var e=performance.now();e-L<20&&(P.isTouch=!1,document.removeEventListener("mousemove",w)),L=e}function D(){var e=document.activeElement;if(T(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var M=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var x={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},U=Object.assign({appendTo:u,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},x,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),V=Object.keys(U);function F(e){var t=(e.plugins||[]).reduce((function(t,n){var i,o=n.name,r=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(i=U[o])?i:r);return t}),{});return Object.assign({},e,t)}function B(e,t){var n=Object.assign({},t,{content:h(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(F(Object.assign({},U,{plugins:t}))):V).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},U.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function H(e){var t=e.firstElementChild,n=E(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(r)})),arrow:n.find((function(e){return e.classList.contains(s)||e.classList.contains(c)})),backdrop:n.find((function(e){return e.classList.contains(a)}))}}var G=1,W=[],j=[];function Y(e,t){var n,o,r,a,s,c,p,b,T=B(e,Object.assign({},U,F(v(t)))),A=!1,L=!1,k=!1,w=!1,D=[],x=f(ye,T.interactiveDebounce),V=G++,Y=(b=T.plugins).filter((function(e,t){return b.indexOf(e)===t})),z={id:V,reference:e,popper:y(),popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:Y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(r)},setProps:function(t){0;if(z.state.isDestroyed)return;ae("onBeforeUpdate",[z,t]),Ee();var n=z.props,i=B(e,Object.assign({},n,v(t),{ignoreAttributes:!0}));z.props=i,ge(),n.interactiveDebounce!==i.interactiveDebounce&&(le(),x=f(ye,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?m(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");ce(),re(),q&&q(n,i);z.popperInstance&&(Ae(),Oe().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));ae("onAfterUpdate",[z,t])},setContent:function(e){z.setProps({content:e})},show:function(){0;var e=z.state.isVisible,t=z.state.isDestroyed,n=!z.state.isEnabled,i=P.isTouch&&!z.props.touch,o=d(z.props.duration,0,U.duration);if(e||t||n||i)return;if(te().hasAttribute("disabled"))return;if(ae("onShow",[z],!1),!1===z.props.onShow(z))return;z.state.isVisible=!0,ee()&&(J.style.visibility="visible");re(),he(),z.state.isMounted||(J.style.transition="none");if(ee()){var r=ie();I([r.box,r.content],0)}c=function(){var e;if(z.state.isVisible&&!w){if(w=!0,J.offsetHeight,J.style.transition=z.props.moveTransition,ee()&&z.props.animation){var t=ie(),n=t.box,i=t.content;I([n,i],o),O([n,i],"visible")}se(),ce(),_(j,z),null==(e=z.popperInstance)||e.forceUpdate(),ae("onMount",[z]),z.props.animation&&ee()&&function(e,t){me(e,t)}(o,(function(){z.state.isShown=!0,ae("onShown",[z])}))}},function(){var e,t=z.props.appendTo,n=te();e=z.props.interactive&&t===u||"parent"===t?n.parentNode:h(t,[n]);e.contains(J)||e.appendChild(J);z.state.isMounted=!0,Ae(),!1}()},hide:function(){0;var e=!z.state.isVisible,t=z.state.isDestroyed,n=!z.state.isEnabled,i=d(z.props.duration,1,U.duration);if(e||t||n)return;if(ae("onHide",[z],!1),!1===z.props.onHide(z))return;z.state.isVisible=!1,z.state.isShown=!1,w=!1,A=!1,ee()&&(J.style.visibility="hidden");if(le(),fe(),re(!0),ee()){var o=ie(),r=o.box,a=o.content;z.props.animation&&(I([r,a],i),O([r,a],"hidden"))}se(),ce(),z.props.animation?ee()&&function(e,t){me(e,(function(){!z.state.isVisible&&J.parentNode&&J.parentNode.contains(J)&&t()}))}(i,z.unmount):z.unmount()},hideWithInteractivity:function(e){0;ne().addEventListener("mousemove",x),_(W,x),x(e)},enable:function(){z.state.isEnabled=!0},disable:function(){z.hide(),z.state.isEnabled=!1},unmount:function(){0;z.state.isVisible&&z.hide();if(!z.state.isMounted)return;Ie(),Oe().forEach((function(e){e._tippy.unmount()})),J.parentNode&&J.parentNode.removeChild(J);j=j.filter((function(e){return e!==z})),z.state.isMounted=!1,ae("onHidden",[z])},destroy:function(){0;if(z.state.isDestroyed)return;z.clearDelayTimeouts(),z.unmount(),Ee(),delete e._tippy,z.state.isDestroyed=!0,ae("onDestroy",[z])}};if(!T.render)return z;var K=T.render(z),J=K.popper,q=K.onUpdate;J.setAttribute("data-tippy-root",""),J.id="tippy-"+z.id,z.popper=J,e._tippy=z,J._tippy=z;var X=Y.map((function(e){return e.fn(z)})),$=e.hasAttribute("aria-expanded");return ge(),ce(),re(),ae("onCreate",[z]),T.showOnCreate&&Ce(),J.addEventListener("mouseenter",(function(){z.props.interactive&&z.state.isVisible&&z.clearDelayTimeouts()})),J.addEventListener("mouseleave",(function(){z.props.interactive&&z.props.trigger.indexOf("mouseenter")>=0&&ne().addEventListener("mousemove",x)})),z;function Z(){var e=z.props.touch;return Array.isArray(e)?e:[e,0]}function Q(){return"hold"===Z()[0]}function ee(){var e;return!(null==(e=z.props.render)||!e.$$tippy)}function te(){return p||e}function ne(){var e=te().parentNode;return e?C(e):document}function ie(){return H(J)}function oe(e){return z.state.isMounted&&!z.state.isVisible||P.isTouch||a&&"focus"===a.type?0:d(z.props.delay,e?0:1,U.delay)}function re(e){void 0===e&&(e=!1),J.style.pointerEvents=z.props.interactive&&!e?"":"none",J.style.zIndex=""+z.props.zIndex}function ae(e,t,n){var i;(void 0===n&&(n=!0),X.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(i=z.props)[e].apply(i,t)}function se(){var t=z.props.aria;if(t.content){var n="aria-"+t.content,i=J.id;m(z.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(z.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var o=t&&t.replace(i,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function ce(){!$&&z.props.aria.expanded&&m(z.props.triggerTarget||e).forEach((function(e){z.props.interactive?e.setAttribute("aria-expanded",z.state.isVisible&&e===te()?"true":"false"):e.removeAttribute("aria-expanded")}))}function le(){ne().removeEventListener("mousemove",x),W=W.filter((function(e){return e!==x}))}function ue(t){if(!P.isTouch||!k&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!z.props.interactive||!N(J,n)){if(m(z.props.triggerTarget||e).some((function(e){return N(e,n)}))){if(P.isTouch)return;if(z.state.isVisible&&z.props.trigger.indexOf("click")>=0)return}else ae("onClickOutside",[z,t]);!0===z.props.hideOnClick&&(z.clearDelayTimeouts(),z.hide(),L=!0,setTimeout((function(){L=!1})),z.state.isMounted||fe())}}}function de(){k=!0}function pe(){k=!1}function he(){var e=ne();e.addEventListener("mousedown",ue,!0),e.addEventListener("touchend",ue,l),e.addEventListener("touchstart",pe,l),e.addEventListener("touchmove",de,l)}function fe(){var e=ne();e.removeEventListener("mousedown",ue,!0),e.removeEventListener("touchend",ue,l),e.removeEventListener("touchstart",pe,l),e.removeEventListener("touchmove",de,l)}function me(e,t){var n=ie().box;function i(e){e.target===n&&(R(n,"remove",i),t())}if(0===e)return t();R(n,"remove",s),R(n,"add",i),s=i}function _e(t,n,i){void 0===i&&(i=!1),m(z.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),D.push({node:e,eventType:t,handler:n,options:i})}))}function ge(){var e;Q()&&(_e("touchstart",ve,{passive:!0}),_e("touchend",be,{passive:!0})),(e=z.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(_e(e,ve),e){case"mouseenter":_e("mouseleave",be);break;case"focus":_e(M?"focusout":"blur",Se);break;case"focusin":_e("focusout",Se)}}))}function Ee(){D.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,o=e.options;t.removeEventListener(n,i,o)})),D=[]}function ve(e){var t,n=!1;if(z.state.isEnabled&&!Te(e)&&!L){var i="focus"===(null==(t=a)?void 0:t.type);a=e,p=e.currentTarget,ce(),!z.state.isVisible&&S(e)&&W.forEach((function(t){return t(e)})),"click"===e.type&&(z.props.trigger.indexOf("mouseenter")<0||A)&&!1!==z.props.hideOnClick&&z.state.isVisible?n=!0:Ce(e),"click"===e.type&&(A=!n),n&&!i&&Re(e)}}function ye(e){var t=e.target,n=te().contains(t)||J.contains(t);if("mousemove"!==e.type||!n){var i=Oe().concat(J).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:T}:null})).filter(Boolean);(function(e,t){var n=t.clientX,i=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,r=e.props.interactiveBorder,a=g(o.placement),s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,l="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,p=t.top-i+c>r,h=i-t.bottom-l>r,f=t.left-n+u>r,m=n-t.right-d>r;return p||h||f||m}))})(i,e)&&(le(),Re(e))}}function be(e){Te(e)||z.props.trigger.indexOf("click")>=0&&A||(z.props.interactive?z.hideWithInteractivity(e):Re(e))}function Se(e){z.props.trigger.indexOf("focusin")<0&&e.target!==te()||z.props.interactive&&e.relatedTarget&&J.contains(e.relatedTarget)||Re(e)}function Te(e){return!!P.isTouch&&Q()!==e.type.indexOf("touch")>=0}function Ae(){Ie();var t=z.props,n=t.popperOptions,o=t.placement,r=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=ee()?H(J).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||te()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(ee()){var n=ie().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},p=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},d];ee()&&l&&p.push({name:"arrow",options:{element:l,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),z.popperInstance=(0,i.n4)(u,J,Object.assign({},n,{placement:o,onFirstUpdate:c,modifiers:p}))}function Ie(){z.popperInstance&&(z.popperInstance.destroy(),z.popperInstance=null)}function Oe(){return E(J.querySelectorAll("[data-tippy-root]"))}function Ce(e){z.clearDelayTimeouts(),e&&ae("onTrigger",[z,e]),he();var t=oe(!0),i=Z(),o=i[0],r=i[1];P.isTouch&&"hold"===o&&r&&(t=r),t?n=setTimeout((function(){z.show()}),t):z.show()}function Re(e){if(z.clearDelayTimeouts(),ae("onUntrigger",[z,e]),z.state.isVisible){if(!(z.props.trigger.indexOf("mouseenter")>=0&&z.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&A)){var t=oe(!1);t?o=setTimeout((function(){z.state.isVisible&&z.hide()}),t):r=requestAnimationFrame((function(){z.hide()}))}}else fe()}}function z(e,t){void 0===t&&(t={});var n=U.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",k,l),window.addEventListener("blur",D);var i=Object.assign({},t,{plugins:n}),o=A(e).reduce((function(e,t){var n=t&&Y(t,i);return n&&e.push(n),e}),[]);return b(e)?o[0]:o}z.defaultProps=U,Spicetify.Tippy=z;z.setDefaultProps=function(e){Object.keys(e).forEach((function(t){U[t]=e[t]}))},z.currentInput=P;Object.assign({},o.A,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});z.setDefaultProps({animation:!1});const K=z;var J=n(30758),q=n(8143);function X(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}var $="undefined"!=typeof window&&"undefined"!=typeof document;function Z(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Q(){return $&&document.createElement("div")}function ee(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!ee(e[n],t[n]))return!1}return!0}return!1}function te(e){var t=[];return e.forEach((function(e){t.find((function(t){return ee(e,t)}))||t.push(e)})),t}function ne(e,t){var n,i;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:te([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(i=t.popperOptions)?void 0:i.modifiers)||[]))})})}var ie=$?J.useLayoutEffect:J.useEffect;function oe(e){var t=(0,J.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function re(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var ae={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function i(){e.props.className&&!n()||re(t,"add",e.props.className)}return{onCreate:i,onBeforeUpdate:function(){n()&&re(t,"remove",e.props.className)},onAfterUpdate:i}}};function se(e){return function(t){var n=t.children,i=t.content,o=t.visible,r=t.singleton,a=t.render,s=t.reference,c=t.disabled,l=void 0!==c&&c,u=t.ignoreAttributes,d=void 0===u||u,p=(t.__source,t.__self,X(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),h=void 0!==o,f=void 0!==r,m=(0,J.useState)(!1),_=m[0],g=m[1],E=(0,J.useState)({}),v=E[0],y=E[1],b=(0,J.useState)(),S=b[0],T=b[1],A=oe((function(){return{container:Q(),renders:1}})),I=Object.assign({ignoreAttributes:d},p,{content:A.container});h&&(I.trigger="manual",I.hideOnClick=!1),f&&(l=!0);var O=I,C=I.plugins||[];a&&(O=Object.assign({},I,{plugins:f&&null!=r.data?[].concat(C,[{fn:function(){return{onTrigger:function(e,t){var n=r.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,T(n.content)}}}}]):C,render:function(){return{popper:A.container}}}));var R=[s].concat(n?[n.type]:[]);return ie((function(){var t=s;s&&s.hasOwnProperty("current")&&(t=s.current);var n=e(t||A.ref||Q(),Object.assign({},O,{plugins:[ae].concat(I.plugins||[])}));return A.instance=n,l&&n.disable(),o&&n.show(),f&&r.hook({instance:n,content:i,props:O,setSingletonContent:T}),g(!0),function(){n.destroy(),null==r||r.cleanup(n)}}),R),ie((function(){var e;if(1!==A.renders){var t=A.instance;t.setProps(ne(t.props,O)),null==(e=t.popperInstance)||e.forceUpdate(),l?t.disable():t.enable(),h&&(o?t.show():t.hide()),f&&r.hook({instance:t,content:i,props:O,setSingletonContent:T})}else A.renders++})),ie((function(){var e;if(a){var t=A.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,i=null==(t=n.modifiersData)?void 0:t.hide;v.placement===n.placement&&v.referenceHidden===(null==i?void 0:i.isReferenceHidden)&&v.escaped===(null==i?void 0:i.hasPopperEscaped)||y({placement:n.placement,referenceHidden:null==i?void 0:i.isReferenceHidden,escaped:null==i?void 0:i.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[v.placement,v.referenceHidden,v.escaped].concat(R)),J.createElement(J.Fragment,null,n?(0,J.cloneElement)(n,{ref:function(e){A.ref=e,Z(n.ref,e)}}):null,_&&(0,q.createPortal)(a?a(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(v),S,A.instance):i,A.container))}}var ce=function(e,t){return(0,J.forwardRef)((function(n,i){var o=n.children,r=X(n,["children"]);return J.createElement(e,Object.assign({},t,r),o?(0,J.cloneElement)(o,{ref:function(e){Z(i,e),Z(o.ref,e)}}):null)}))};const le=ce(se(K),{render:function(){return""}})},97191:(e,t,n)=>{"use strict";function i(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}var o;n.d(t,{Op:()=>h,U4:()=>m,kp:()=>s}),function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(o||(o={}));var r={type:"xstate.init"};function a(e){return void 0===e?[]:[].concat(e)}function s(e){return{type:"xstate.assign",assignment:e}}function c(e,t){return"string"==typeof(e="string"==typeof e&&t&&t[e]?t[e]:e)?{type:e}:"function"==typeof e?{type:e.name,exec:e}:e}function l(e){return function(t){return e===t}}function u(e){return"string"==typeof e?{type:e}:e}function d(e,t){return{value:e,context:t,actions:[],changed:!1,matches:l(e)}}function p(e,t,n){var i=t,o=!1;return[e.filter((function(e){if("xstate.assign"===e.type){o=!0;var t=Object.assign({},i);return"function"==typeof e.assignment?t=e.assignment(i,n):Object.keys(e.assignment).forEach((function(o){t[o]="function"==typeof e.assignment[o]?e.assignment[o](i,n):e.assignment[o]})),i=t,!1}return!0})),i,o]}function h(e,t){void 0===t&&(t={});var n=i(p(a(e.states[e.initial].entry).map((function(e){return c(e,t.actions)})),e.context,r),2),o=n[0],s=n[1],h={config:e,_options:t,initialState:{value:e.initial,actions:o,context:s,matches:l(e.initial)},transition:function(t,n){var o,r,s="string"==typeof t?{value:t,context:e.context}:t,f=s.value,m=s.context,_=u(n),g=e.states[f];if(g.on){var E=a(g.on[_.type]);"*"in g.on&&E.push.apply(E,function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}([],i(a(g.on["*"])),!1));try{for(var v=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(E),y=v.next();!y.done;y=v.next()){var b=y.value;if(void 0===b)return d(f,m);var S="string"==typeof b?{target:b}:b,T=S.target,A=S.actions,I=void 0===A?[]:A,O=S.cond,C=void 0===O?function(){return!0}:O,R=void 0===T,N=null!=T?T:f,P=e.states[N];if(C(m,_)){var L=i(p((R?a(I):[].concat(g.exit,I,P.entry).filter((function(e){return e}))).map((function(e){return c(e,h._options.actions)})),m,_),3),k=L[0],w=L[1],D=L[2],M=null!=T?T:f;return{value:M,context:w,actions:k,changed:T!==f||k.length>0||D,matches:l(M)}}}}catch(e){o={error:e}}finally{try{y&&!y.done&&(r=v.return)&&r.call(v)}finally{if(o)throw o.error}}}return d(f,m)}};return h}var f=function(e,t){return e.actions.forEach((function(n){var i=n.exec;return i&&i(e.context,t)}))};function m(e){var t=e.initialState,n=o.NotStarted,i=new Set,a={_machine:e,send:function(r){n===o.Running&&(t=e.transition(t,r),f(t,u(r)),i.forEach((function(e){return e(t)})))},subscribe:function(e){return i.add(e),e(t),{unsubscribe:function(){return i.delete(e)}}},start:function(i){if(i){var s="object"==typeof i?i:{context:e.config.context,value:i};t={value:s.value,actions:[],context:s.context,matches:l(s.value)}}else t=e.initialState;return n=o.Running,f(t,r),a},stop:function(){return n=o.Stopped,i.clear(),a},get state(){return t},get status(){return n}};return a}},59208:e=>{"use strict";const{AbortController:t,AbortSignal:n}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=t,e.exports.AbortSignal=n,e.exports.default=t},44511:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});const i=200,o=0,r="linear",a=!0;class s{constructor(e={}){this._curve=e.curve||r,this._baseTime=e.baseTime||i,this._ceiling=e.ceiling||o,this._jitter="jitter"in e?!!e.jitter:a}getTime(e){let t;switch(this._curve){case"static":t=1;break;case"logarithmic":t=Math.log(e);break;case"exponential":t=Math.pow(Math.E,e);break;default:t=e+1}let n=Math.min(4294967296,Math.floor(t*this._baseTime));return this._ceiling&&(n=Math.min(n,this._ceiling)),this._jitter?function(e){const t=e/5;return Math.floor(e-t/2+Math.random()*t)}(n):n}}},12650:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var i=n(83422);var o=n(44511);const r={backoffInitial:!1,baseTime:200,ceiling:0,curve:"linear",jitter:!0,maxDuration:1/0,maxRetries:1/0,maxTime:1/0,retryPredicate:()=>!0};class a{constructor(e,t){this._resolver=function(){let e,t;return{promise:new Promise(((n,i)=>{e=n,t=i})),resolve:e,reject:t}}(),this._ts=0,this._callCount=0,this._tickInterval=0,this._isRunning=!1,this._isDestroyed=!1;const n=Object.assign(Object.assign({},r),t),{backoffInitial:a,maxDuration:s,maxRetries:c,maxTime:l,retryPredicate:u}=n,d=(0,i.__rest)(n,["backoffInitial","maxDuration","maxRetries","maxTime","retryPredicate"]);this._fn=e,this._backoffInitial=a,this._maxDuration=s,this._maxRetries=c,this._maxTime=l,this._retryPredicate=u,this._backoffInitial=a,this._counter=new o.p(d),this._backoffInitial&&(this._maxRetries+=1)}static init(e,t={}){return new a(e,t).start()}_destroy(){this._isRunning=!1,this._isDestroyed=!0}_failure(e){if(!this._isDestroyed)if(e&&"retryAfter"in e)this._retryAfter(e);else{const t=this._counter.getTime(this._callCount);this._shouldRetry(t,e)?(this._callCount++,this._tickInterval=setTimeout((()=>this._tick()),t)):(this._resolver.reject(e),this._destroy())}}_retryAfter(e){this._callCount++,this._tickInterval=setTimeout((()=>this._tick()),e.retryAfter)}_success(...e){this._isDestroyed||(this._resolver.resolve(...e),this._destroy())}_shouldRetry(e,t){const n=Date.now()-this._ts+e;return this._callCount<this._maxRetries&&e<this._maxTime&&n<this._maxDuration&&this._retryPredicate(t)}_tick(){this._fn().then(((...e)=>this._success(...e))).catch((e=>this._failure(e)))}getResolver(){return this._resolver.promise}start(){return this._isDestroyed?Promise.reject(new Error("Backoff already consumed")):(this._isRunning||(this._ts=Date.now(),this._isRunning=!0,this._backoffInitial?(this._callCount=1,this._tickInterval=setTimeout((()=>this._tick()),this._counter.getTime(0))):this._tick()),this._resolver.promise)}stop(){clearTimeout(this._tickInterval),this._destroy()}getRetryCount(){return this._callCount}}},80117:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var i,o={};n.r(o),n.d(o,{disable:()=>_,disableAll:()=>v,enable:()=>m,enableAll:()=>E,forTag:()=>y,intercept:()=>p,list:()=>f,remove:()=>b,setLevel:()=>g,unintercept:()=>h}),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.DEBUG=2]="DEBUG",e[e.INFO=4]="INFO",e[e.WARN=8]="WARN",e[e.ERROR=16]="ERROR"}(i||(i={}));let r=class{constructor(){this.tag="",this.description=""}matchesTag(){return!1}setLevel(){}enable(){}disable(){}log(){}debug(){}info(){}warn(){}error(){}};try{0}catch(e){}const a="__dbgLoggerRegistry";let s=n.g[a];s||(s={map:{},list:[],loggingPredicate:function(){}},Object.defineProperty?Object.defineProperty(n.g,a,{value:s}):n.g[a]=s);const c=s.map,l=s.list;function u(e){return!(!s.loggingPredicate||!s.loggingPredicate(e))}let d="log";function p(e){if("function"!=typeof e)throw new TypeError("Logging.intercept requires a function predicate.");s.loggingPredicate=e}function h(){s.loggingPredicate=()=>{}}function f(e){const t=Object.keys(c).filter((e=>c[e])).sort();return e?t.map((e=>({tag:e,description:c[e].description||"No description."}))):t.reduce(((e,t)=>(e[t]=c[t].description||"No description",e)),{})}function m(e){var t;const n=Array.isArray(e)?e:[e];let i=n.length;for(;i--;){const e=null===(t=n[i])||void 0===t?void 0:t.toLowerCase();let o=l.length;for(;o--;){const t=l[o];t.matchesTag(e)&&t.enable()}}}function _(e){var t;const n=Array.isArray(e)?e:[e];let i=n.length;for(;i--;){const e=null===(t=n[i])||void 0===t?void 0:t.toLowerCase();let o=l.length;for(;o--;){const t=l[o];t.matchesTag(e)&&t.disable()}}}function g(e){d=e;let t=l.length;for(;t--;){const n=l[t];n&&n.setLevel(e)}}function E(){let e=l.length;for(;e--;)l[e]&&l[e].enable()}function v(){let e=l.length;for(;e--;)l[e]&&l[e].disable()}function y(e,t){let n,i;if("string"==typeof e?(n=e.toLowerCase(),i=t):(n=e.tag,i=e.description),c.hasOwnProperty(n)&&c[n])return c[n];const o=new r(n,i,u);return o.setLevel(d),c[n]=o,l.push(o),o}function b(e){const t=e.toLowerCase();if(!c.hasOwnProperty(t)||!c[t])return;const n=c[t];c[t]=null;const i=l.indexOf(n);-1!==i&&l.splice(i,1)}},44584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>s,encode:()=>a});n(28360);const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=4096,r=(()=>{const e=[];for(let t=0;t<256;++t)e[t]=255;for(let t=0;t<64;++t)e[i.charCodeAt(t)]=t;return String.fromCharCode(...e)})();let a=function(e){const t=String(e),n=[],o=t.length;let r=0;for(;r<o;){const e=255&t.charCodeAt(r++);if(r===o){n.push(i.charAt(e>>2),i.charAt((3&e)<<4),"==");break}const a=t.charCodeAt(r++);if(r===o){n.push(i.charAt(e>>2),i.charAt((3&e)<<4|(240&a)>>4),i.charAt((15&a)<<2),"=");break}const s=t.charCodeAt(r++);n.push(i.charAt(e>>2),i.charAt((3&e)<<4|(240&a)>>4),i.charAt((15&a)<<2|(192&s)>>6),i.charAt(63&s))}return n.join("")},s=function(e){const t=String(e),n=[],i=t.length;let a,s,c=0;for(;;){do{a=r.charCodeAt(255&t.charCodeAt(c++))}while(255===a&&c<i);do{s=r.charCodeAt(255&t.charCodeAt(c++))}while(255===s&&c<i);if(255===s)break;n.push(255&(a<<2|s>>4));do{a=r.charCodeAt(255&t.charCodeAt(c++))}while(255===a&&c<i);if(255===a)break;n.push(255&(s<<4|a>>2));do{s=r.charCodeAt(255&t.charCodeAt(c++))}while(255===s&&c<i);if(255===s)break;n.push(255&(a<<6|s))}return function(e){if(e.length<o)return String.fromCharCode(...e);let t=0;const n=[];do{n.push(String.fromCharCode(...e.slice(t,t+o))),t+=o}while(t<e.length);return n.join("")}(n)};"undefined"!=typeof window&&window.btoa&&window.atob&&(a=e=>window.btoa(e),s=e=>window.atob(e))},82620:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});const i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",o={},r={};!function(){for(let e=0,t=62;e<t;++e)r[i[e]]=e;for(let e=0;e<16;++e)o["0123456789abcdef"[e]]=e;for(let e=0;e<16;++e)o["0123456789ABCDEF"[e]]=e}();var a=n(44584)},86380:(e,t,n)=>{"use strict";n.d(t,{r:()=>o,X:()=>i});const i=function(e,t){try{if("number"==typeof e())return e}catch(e){}const n=t();let i=0;return()=>(i=Math.max(i,t()-n),i)}((()=>performance.now()),Date.now),o=(e,t=i())=>Math.round(Math.abs(t-e))},30353:(e,t,n)=>{"use strict";function i(){let e,t;return{promise:new Promise(((n,i)=>{e=n,t=i})),resolve:e,reject:t}}n.d(t,{u:()=>i})},71774:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var i={};n.r(i),n.d(i,{disable:()=>_,disableAll:()=>v,enable:()=>m,enableAll:()=>E,forTag:()=>y,intercept:()=>p,list:()=>f,remove:()=>b,setLevel:()=>g,unintercept:()=>h});var o;n(68558);!function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.DEBUG=2]="DEBUG",e[e.INFO=4]="INFO",e[e.WARN=8]="WARN",e[e.ERROR=16]="ERROR"}(o||(o={}));n(68558);const r=class{constructor(){this.tag="",this.description=""}matchesTag(){return!1}setLevel(){}enable(){}disable(){}log(){}debug(){}info(){}warn(){}error(){}},a="__dbgLoggerRegistry";let s=n.g[a];s||(s={map:{},list:[],loggingPredicate:function(){}},Object.defineProperty?Object.defineProperty(n.g,a,{value:s}):n.g[a]=s);const c=s.map,l=s.list;function u(e){return!(!s.loggingPredicate||!s.loggingPredicate(e))}let d="log";function p(e){if("function"!=typeof e)throw new TypeError("Logging.intercept requires a function predicate.");s.loggingPredicate=e}function h(){s.loggingPredicate=()=>{}}function f(e){const t=Object.keys(c).filter((e=>c[e])).sort();return e?t.map((e=>({tag:e,description:c[e].description||"No description."}))):t.reduce(((e,t)=>(e[t]=c[t].description||"No description",e)),{})}function m(e){var t;const n=Array.isArray(e)?e:[e];let i=n.length;for(;i--;){const e=null===(t=n[i])||void 0===t?void 0:t.toLowerCase();let o=l.length;for(;o--;){const t=l[o];t.matchesTag(e)&&t.enable()}}}function _(e){var t;const n=Array.isArray(e)?e:[e];let i=n.length;for(;i--;){const e=null===(t=n[i])||void 0===t?void 0:t.toLowerCase();let o=l.length;for(;o--;){const t=l[o];t.matchesTag(e)&&t.disable()}}}function g(e){d=e;let t=l.length;for(;t--;){const n=l[t];n&&n.setLevel(e)}}function E(){let e=l.length;for(;e--;)l[e]&&l[e].enable()}function v(){let e=l.length;for(;e--;)l[e]&&l[e].disable()}function y(e,t){let n,i;if("string"==typeof e?(n=e.toLowerCase(),i=t):(n=e.tag,i=e.description),c.hasOwnProperty(n)&&c[n])return c[n];const o=new r(n,i,u);return o.setLevel(d),c[n]=o,l.push(o),o}function b(e){const t=e.toLowerCase();if(!c.hasOwnProperty(t)||!c[t])return;const n=c[t];c[t]=null;const i=l.indexOf(n);-1!==i&&l.splice(i,1)}},72714:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Base62:()=>i,Base64:()=>o});var i={};n.r(i),n.d(i,{fromBytes:()=>h,fromHex:()=>_,toBytes:()=>f,toHex:()=>m});var o={};n.r(o),n.d(o,{decode:()=>b,encode:()=>y});const r="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",a={},s={};function c(e,t,n){let i=0;for(let o=0;o<e.length;++o){const r=e[o]*t+i;e[o]=r%n,i=~~(r/n)}for(;i;)e.push(i%n),i=~~(i/n)}function l(e,t,n,i){let o,r,a=0;for(r=0;r<t.length;++r)o=~~e[r]+t[r]*n+a,e[r]=o%i,a=~~(o/i);for(;a;)o=~~e[r]+a,e[r]=o%i,a=~~(o/i),++r}function u(e,t,n){const i=[0],o=[1];for(const r of e)l(i,o,r,n),c(o,t,n);return i}function d(e,t){const n=[];for(const i of e)n.push(t[i]);return n.reverse()}function p(e,t=0){for(;e.length<t;)e.push(0);return e}function h(e,t){return d(p(u(e.slice(0).reverse(),256,62),t),r).join("")}function f(e,t){return p(u(d(e.split(""),s),62,256),t).reverse()}function m(e,t){const n=u(d(e.split(""),s),62,16);return d(p(n,t),r).join("")}function _(e,t){const n=u(d(e.split(""),a),16,62);return d(p(n,t),r).join("")}!function(){for(let e=0,t=r.length;e<t;++e)s[r[e]]=e;for(let e=0;e<16;++e)a["0123456789abcdef"[e]]=e;for(let e=0;e<16;++e)a["0123456789ABCDEF"[e]]=e}();n(28360);const g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",E=4096,v=(()=>{const e=[];for(let t=0;t<256;++t)e[t]=255;for(let t=0;t<64;++t)e[g.charCodeAt(t)]=t;return String.fromCharCode(...e)})();let y=function(e){const t=String(e),n=[],i=t.length;let o=0;for(;o<i;){const e=255&t.charCodeAt(o++);if(o===i){n.push(g.charAt(e>>2),g.charAt((3&e)<<4),"==");break}const r=t.charCodeAt(o++);if(o===i){n.push(g.charAt(e>>2),g.charAt((3&e)<<4|(240&r)>>4),g.charAt((15&r)<<2),"=");break}const a=t.charCodeAt(o++);n.push(g.charAt(e>>2),g.charAt((3&e)<<4|(240&r)>>4),g.charAt((15&r)<<2|(192&a)>>6),g.charAt(63&a))}return n.join("")},b=function(e){const t=String(e),n=[],i=t.length;let o,r,a=0;for(;;){do{o=v.charCodeAt(255&t.charCodeAt(a++))}while(255===o&&a<i);do{r=v.charCodeAt(255&t.charCodeAt(a++))}while(255===r&&a<i);if(255===r)break;n.push(255&(o<<2|r>>4));do{o=v.charCodeAt(255&t.charCodeAt(a++))}while(255===o&&a<i);if(255===o)break;n.push(255&(r<<4|o>>2));do{r=v.charCodeAt(255&t.charCodeAt(a++))}while(255===r&&a<i);if(255===r)break;n.push(255&(o<<6|r))}return function(e){if(e.length<E)return String.fromCharCode(...e);let t=0;const n=[];do{n.push(String.fromCharCode(...e.slice(t,t+E))),t+=E}while(t<e.length);return n.join("")}(n)};"undefined"!=typeof window&&window.btoa&&window.atob&&(y=e=>window.btoa(e),b=e=>window.atob(e))},36858:(e,t,n)=>{"use strict";n.d(t,{Z7:()=>r,nj:()=>l});const i="undefined"!=typeof globalThis&&"function"==typeof globalThis.queueMicrotask?globalThis.queueMicrotask.bind(globalThis):function(){if("undefined"==typeof Promise)return e=>setTimeout(e,0);const e=Promise.resolve();return t=>{e.then(t).catch((e=>setTimeout((()=>{throw e}),0)))}}();var o;!function(e){e.INVALID_IDENT_DATA="INVALID_IDENT_DATA",e.LOGGING_REQUEST_FAILED="LOGGING_REQUEST_FAILED"}(o||(o={}));const r={UNKNOWN:"unknown",EMPTY:"",ZERO:0,EMPTY_VERSION:"0.0.0"};class a extends Error{constructor(e,t,n){super(t),this.name="LoggingError",this.code=e,this.status=n||0}}function s(e,t){const n=e.indexOf(t);return-1===n?[e,""]:[e.slice(0,n),e.slice(n+t.length)]}const c=202;class l{constructor(e){this._transport=e.transport,this._endpoint=e.endpoint||"@webgate/melody",this._batchQueue=[],this._identData=Promise.all([e.sdkId,e.platform,e.clientVersion]).then((([e,t,n])=>({sdk_id:e||r.EMPTY,platform:t||r.EMPTY,client_version:n||r.EMPTY_VERSION})))}_assertValidIdentData(e){if(!e.sdk_id)throw new a(o.INVALID_IDENT_DATA,"sdkId must be a non-empty string.",0)}_sendBatchedLogs(){return this._identData.then((e=>{this._assertValidIdentData(e);const t=this._batchQueue.splice(0,this._batchQueue.length);if(t.length){const i=(n="endpoint",t.reduce((function(e,t){var i;const o=t[n];return void 0===o||(e[o]=null!==(i=e[o])&&void 0!==i?i:[],e[o].push(t)),e}),{})),r=Object.keys(i).map((t=>{var n;const r=null===(n=i[t])||void 0===n?void 0:n.map((({payload:e})=>e));return(null==r?void 0:r.length)?this._transport.request(`${this._endpoint}${t}`,{method:"POST",payload:JSON.stringify(Object.assign({messages:r},e)),retry:{maxRetries:5,condition:e=>e.status!==c}}).then((({status:e})=>e===c||Promise.reject(new a(o.LOGGING_REQUEST_FAILED,`Logging service responded with status ${e}`,e)))):Promise.resolve(!0)}));return Promise.all(r).then((()=>!0))}var n;return Promise.resolve(!0)}))}_sendLog(e,t){return this.sendLog(e,t)}sendLog(e,t,n){const r=null==n?void 0:n.forget;if(null==n?void 0:n.batch){if(r)throw new Error("'forget' cannot be used together with 'batch'.");return new Promise((n=>{this._batchQueue.push({endpoint:e,payload:t}),i((()=>{this._sendBatchedLogs().then(n)}))}))}return this._identData.then((n=>{this._assertValidIdentData(n);let i=this._endpoint+e;const o=r?this._transport.getLastToken():null;return o&&(i=function(e,t,n){const[i,o]=s(e,"#"),[r,a]=s(i,"?"),c=o?`#${o}`:"";let l=`${t}=${encodeURIComponent(n)}`;const u=a.split("&");for(const e of u)e.length>0&&s(e,"=")[0]!==t&&(l+=`&${e}`);return`${r}?${l}${c}`}(i,"access_token",o)),this._transport.request(i,{method:"POST",payload:JSON.stringify(Object.assign(Object.assign({},t),n)),forget:r,retry:{maxRetries:5,condition:e=>e.status!==c}})})).then((({status:e})=>!(!r&&e!==c)||Promise.reject(new a(o.LOGGING_REQUEST_FAILED,`Logging service responded with status ${e}`,e))))}}},57128:e=>{"undefined"!=typeof self&&self,e.exports=function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=18)}([function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(t,n(6))},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function i(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function o(e,t){var n=w(e)||h(e)?i(e.length,String):[],o=n.length,r=!!o;for(var a in e)!t&&!C.call(e,a)||r&&("length"==a||l(a,o))||n.push(a);return n}function r(e,t,n){var i=e[t];C.call(e,t)&&p(i,n)&&(void 0!==n||t in e)||(e[t]=n)}function a(e){if(!d(e))return P(e);var t=[];for(var n in Object(e))C.call(e,n)&&"constructor"!=n&&t.push(n);return t}function s(e,t){return t=L(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,r=L(i.length-t,0),a=Array(r);++o<r;)a[o]=i[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=i[o];return s[t]=a,n(e,this,s)}}function c(e,t,n,i){n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=i?i(n[s],e[s],s,n,e):void 0;r(n,s,void 0===c?e[s]:c)}return n}function l(e,t){return!!(t=null==t?b:t)&&("number"==typeof e||I.test(e))&&e>-1&&e%1==0&&e<t}function u(e,t,n){if(!E(n))return!1;var i=typeof t;return!!("number"==i?f(n)&&l(t,n.length):"string"==i&&t in n)&&p(n[t],e)}function d(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||O)}function p(e,t){return e===t||e!=e&&t!=t}function h(e){return m(e)&&C.call(e,"callee")&&(!N.call(e,"callee")||R.call(e)==S)}function f(e){return null!=e&&g(e.length)&&!_(e)}function m(e){return v(e)&&f(e)}function _(e){var t=E(e)?R.call(e):"";return t==T||t==A}function g(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=b}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){return!!e&&"object"==typeof e}function y(e){return f(e)?o(e):a(e)}var b=9007199254740991,S="[object Arguments]",T="[object Function]",A="[object GeneratorFunction]",I=/^(?:0|[1-9]\d*)$/,O=Object.prototype,C=O.hasOwnProperty,R=O.toString,N=O.propertyIsEnumerable,P=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),L=Math.max,k=!N.call({valueOf:1},"valueOf"),w=Array.isArray,D=function(e){return s((function(t,n){var i=-1,o=n.length,r=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(r=e.length>3&&"function"==typeof r?(o--,r):void 0,a&&u(n[0],n[1],a)&&(r=o<3?void 0:r,o=1),t=Object(t);++i<o;){var s=n[i];s&&e(t,s,i,r)}return t}))}((function(e,t){if(k||d(t)||f(t))c(t,y(t),e);else for(var n in t)C.call(t,n)&&r(e,n,t[n])}));e.exports=D},function(e,t,n){"use strict";function i(e,t,n){n=void 0===n?1:n,e[t]=e[t]||0,e[t]+=n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o={now:function(){var e=i.default.performance,t=e&&e.timing;return t&&"number"==typeof t.navigationStart&&"function"==typeof e.now?t.navigationStart+e.now():Date.now()}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(20)),o=i.default.methodFactory;i.default.methodFactory=function(e,t,n){var i=o(e,t,n);return function(){for(var e=["[mux]"],t=0;t<arguments.length;t++)e.push(arguments[t]);i.apply(void 0,e)}},i.default.setLevel(i.default.getLevel()),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return r(e)[0]},o=function(e){return r(e)[1]},r=function(e){if("string"!=typeof e||""===e)return["localhost"];var t=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,n=(e.match(t)||[])[4],i=void 0;return n&&(i=(n.match(/[^\.]+\.[^\.]+$/)||[])[0]),[n,i]};t.extractHostnameAndDomain=r,t.extractHostname=i,t.extractDomain=o},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},o=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)};t.generateUUID=i,t.generateShortID=o},function(e,t,n){"use strict";function i(e){var t={};return(e=e||"").trim().split(/[\r\n]+/).forEach((function(e){if(e){var n=e.split(": "),i=n.shift();i&&o.indexOf(i.toLowerCase())>=0&&(t[i]=n.join(": "))}})),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=["x-cdn","content-type"]},function(e,t,n){"use strict";var i=SyntaxError,o=Function,r=TypeError,a=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var c=function(){throw new r},l=s?function(){try{return c}catch(e){try{return s(arguments,"callee").get}catch(e){return c}}}():c,u=n(46)(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?void 0:d(Uint8Array),f={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?d((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?d((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":r,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=d(o.prototype))}return f[t]=n,n},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n(10),E=n(49),v=g.call(Function.call,Array.prototype.concat),y=g.call(Function.apply,Array.prototype.splice),b=g.call(Function.call,String.prototype.replace),S=g.call(Function.call,String.prototype.slice),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,I=function(e){var t=S(e,0,1),n=S(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var o=[];return b(e,T,(function(e,t,n,i){o[o.length]=n?b(i,A,"$1"):t||e})),o},O=function(e,t){var n,o=e;if(E(_,o)&&(o="%"+(n=_[o])[0]+"%"),E(f,o)){var a=f[o];if(a===p&&(a=m(o)),void 0===a&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:a}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new r('"allowMissing" argument must be a boolean');var n=I(e),o=n.length>0?n[0]:"",a=O("%"+o+"%",t),c=a.name,l=a.value,u=!1,d=a.alias;d&&(o=d[0],y(n,v([0,1],d)));for(var p=1,h=!0;p<n.length;p+=1){var m=n[p],_=S(m,0,1),g=S(m,-1);if(('"'===_||"'"===_||"`"===_||'"'===g||"'"===g||"`"===g)&&_!==g)throw new i("property names with quotes must have matching quotes");if("constructor"!==m&&h||(u=!0),E(f,c="%"+(o+="."+m)+"%"))l=f[c];else if(null!=l){if(!(m in l)){if(!t)throw new r("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&p+1>=n.length){var b=s(l,m);l=(h=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:l[m]}else h=E(l,m),l=l[m];h&&!u&&(f[c]=l)}}return l}},function(e,t,n){"use strict";var i=n(48);e.exports=Function.prototype.bind||i},function(e,t,n){"use strict";var i=String.prototype.replace,o=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:r.RFC3986,formatters:{RFC1738:function(e){return i.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findMediaElement=t.getMuxPlayerId=void 0;var i=n(7),o=function(e){return e&&void 0!==e.nodeName?(e.muxId||(e.muxId=e.id||(0,i.generateShortID)()),e.muxId):e},r=function(e){var t=void 0;return e&&void 0!==e.nodeName?e=o(t=e):t=document.querySelector(e),[t,e,t&&t.nodeName?t.nodeName.toLowerCase():""]};t.getMuxPlayerId=o,t.findMediaElement=r},function(e,t,n){"use strict";function i(){return"1"===(o.default.doNotTrack||o.default.navigator&&(o.default.navigator.doNotTrack||o.default.navigator.msDoNotTrack))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(0))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o={exists:function(){var e=i.default.performance;return void 0!==(e&&e.timing)},domContentLoadedEventEnd:function(){var e=i.default.performance,t=e&&e.timing;return t&&t.domContentLoadedEventEnd},navigationStart:function(){var e=i.default.performance,t=e&&e.timing;return t&&t.navigationStart}};t.default=o},function(e,t,n){"use strict";var i=n(44),o=n(54),r=n(11);e.exports={formats:r,parse:o,stringify:i}},function(e,t,n){"use strict";var i=n(11),o=Object.prototype.hasOwnProperty,r=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var i=[],o=0;o<n.length;++o)void 0!==n[o]&&i.push(n[o]);t.obj[t.prop]=i}}},c=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},i=0;i<e.length;++i)void 0!==e[i]&&(n[i]=e[i]);return n},l=function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(r(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return r(t)&&!r(n)&&(a=c(t,i)),r(t)&&r(n)?(n.forEach((function(n,r){if(o.call(t,r)){var a=t[r];a&&"object"==typeof a&&n&&"object"==typeof n?t[r]=e(a,n,i):t.push(n)}else t[r]=n})),t):Object.keys(n).reduce((function(t,r){var a=n[r];return o.call(t,r)?t[r]=e(t[r],a,i):t[r]=a,t}),a)},u=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},d=function(e,t,n){var i=e.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(e){return i}},p=function(e,t,n,o,r){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",l=0;l<s.length;++l){var u=s.charCodeAt(l);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||r===i.RFC1738&&(40===u||41===u)?c+=s.charAt(l):u<128?c+=a[u]:u<2048?c+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?c+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(l+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(l)),c+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return c},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;i<t.length;++i)for(var o=t[i],r=o.obj[o.prop],a=Object.keys(r),c=0;c<a.length;++c){var l=a[c],u=r[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:r,prop:l}),n.push(u))}return s(t),e},f=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},m=function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},_=function(e,t){return[].concat(e,t)},g=function(e,t){if(r(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(t(e[i]));return n}return t(e)};e.exports={arrayToObject:c,assign:u,combine:_,compact:h,decode:d,encode:p,isBuffer:m,isRegExp:f,maybeMap:g,merge:l}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function r(e){var t={},n={};return Object.keys(e).forEach((function(i){var o=!1;if(e.hasOwnProperty(i)&&void 0!==e[i]){var r=i.split("_"),s=r[0],u=c[s];u||(a.default.info("Data key word `"+r[0]+"` not expected in "+i),u=s+"_"),r.splice(1).forEach((function(e){"url"===e&&(o=!0),l[e]?u+=l[e]:Number(e)&&Math.floor(Number(e))===Number(e)?u+=e:(a.default.info("Data key word `"+e+"` not expected in "+i),u+="_"+e+"_")})),o?n[u]=e[i]:t[u]=e[i]}})),(0,s.default)(t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var a=i(n(4)),s=i(n(1)),c=o({a:"env",b:"beacon",c:"custom",d:"ad",e:"event",f:"experiment",m:"mux",n:"response",p:"player",q:"request",r:"retry",s:"session",t:"timestamp",u:"viewer",v:"video",w:"page",x:"view",y:"sub"}),l=o({ad:"ad",ag:"aggregate",ap:"api",al:"application",ar:"architecture",as:"asset",au:"autoplay",av:"average",bi:"bitrate",br:"break",bw:"browser",by:"bytes",ca:"cached",cb:"cancel",cd:"code",cg:"category",ch:"changed",cn:"config",co:"count",ce:"counter",cp:"complete",cr:"creative",ct:"content",cu:"current",cx:"connection",dg:"downscaling",dm:"domain",dn:"cdn",do:"downscale",du:"duration",dv:"device",ec:"encoding",en:"end",eg:"engine",em:"embed",er:"error",es:"errorcode",et:"errortext",ee:"event",ev:"events",ex:"expires",fi:"first",fm:"family",ft:"format",fq:"frequency",fr:"frame",fs:"fullscreen",he:"headers",ho:"host",hn:"hostname",ht:"height",id:"id",ii:"init",in:"instance",ip:"ip",is:"is",ke:"key",la:"language",lb:"labeled",le:"level",li:"live",ld:"loaded",lo:"load",ls:"lists",lt:"latency",ma:"max",md:"media",me:"message",mf:"manifest",mi:"mime",ml:"midroll",mm:"min",mn:"manufacturer",mo:"model",mx:"mux",ne:"newest",nm:"name",no:"number",on:"on",os:"os",pa:"paused",pb:"playback",pd:"producer",pe:"percentage",pf:"played",pg:"program",ph:"playhead",pi:"plugin",pl:"preroll",pn:"playing",po:"poster",pr:"preload",ps:"position",py:"property",ra:"rate",rd:"requested",re:"rebuffer",rf:"rendition",rm:"remote",ro:"ratio",rp:"response",rq:"request",rs:"requests",sa:"sample",se:"session",sk:"seek",sm:"stream",so:"source",sq:"sequence",sr:"series",st:"start",su:"startup",sv:"server",sw:"software",ta:"tag",tc:"tech",te:"text",th:"throughput",ti:"time",tl:"total",to:"to",tt:"title",ty:"type",ug:"upscaling",up:"upscale",ur:"url",us:"user",va:"variant",vd:"viewed",vi:"video",ve:"version",vw:"view",vr:"viewer",wd:"width",wa:"watch",wt:"waiting"})},function(e,t,n){"use strict";e.exports=n(19).default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=i(n(0)),a=n(12),s=i(n(4)),c=i(n(13)),l=i(n(3)),u=i(n(21)),d=i(n(61)),p=i(n(62)),h={},f=function e(t){var n=arguments;"string"==typeof t?e.hasOwnProperty(t)?r.default.setTimeout((function(){n=Array.prototype.splice.call(n,1),e[t].apply(null,n)}),0):s.default.warn("`"+t+"` is an unknown task"):"function"==typeof t?r.default.setTimeout((function(){t(e)}),0):s.default.warn("`"+t+"` is invalid.")};f.loaded=l.default.now(),f.NAME="mux-embed",f.VERSION="4.2.3",f.API_VERSION="2.1",f.PLAYER_TRACKED=!1,f.monitor=function(e,t){return(0,d.default)(f,e,t)},f.destroyMonitor=function(e){var t=(0,a.findMediaElement)(e),n=o(t,1)[0];n&&n.mux&&"function"==typeof n.mux.destroy?n.mux.destroy():s.default.error("A video element monitor for `"+e+"` has not been initialized via `mux.monitor`.")},f.addHLSJS=function(e,t){var n=(0,a.getMuxPlayerId)(e);h[n]?h[n].addHLSJS(t):s.default.error("A monitor for `"+n+"` has not been initialized.")},f.addDashJS=function(e,t){var n=(0,a.getMuxPlayerId)(e);h[n]?h[n].addDashJS(t):s.default.error("A monitor for `"+n+"` has not been initialized.")},f.removeHLSJS=function(e){var t=(0,a.getMuxPlayerId)(e);h[t]?h[t].removeHLSJS():s.default.error("A monitor for `"+t+"` has not been initialized.")},f.removeDashJS=function(e){var t=(0,a.getMuxPlayerId)(e);h[t]?h[t].removeDashJS():s.default.error("A monitor for `"+t+"` has not been initialized.")},f.init=function(e,t){(0,c.default)()&&t&&t.respectDoNotTrack&&s.default.info("The browser's Do Not Track flag is enabled - Mux beaconing is disabled.");var n=(0,a.getMuxPlayerId)(e);h[n]=new u.default(f,n,t)},f.emit=function(e,t,n){var i=(0,a.getMuxPlayerId)(e);h[i]?(h[i].emit(t,n),"destroy"===t&&delete h[i]):s.default.error("A monitor for `"+i+"` has not been initialized.")},void 0!==r.default&&"function"==typeof r.default.addEventListener&&r.default.addEventListener("unload",(function(){f.WINDOW_UNLOADING=!0}),!1),f.checkDoNotTrack=c.default,f.log=s.default,f.utils=p.default,t.default=f},function(e,t,n){var i,o;!function(r,a){"use strict";void 0!==(o="function"==typeof(i=a)?i.call(t,n,t,e):i)&&(e.exports=o)}(0,(function(){"use strict";function e(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function t(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function n(n){return"debug"===n&&(n="log"),typeof console!==c&&("trace"===n&&l?t:void 0!==console[n]?e(console,n):void 0!==console.log?e(console,"log"):s)}function i(e,t){for(var n=0;n<u.length;n++){var i=u[n];this[i]=n<e?s:this.methodFactory(i,e,t)}this.log=this.debug}function o(e,t,n){return function(){typeof console!==c&&(i.call(this,t,n),this[e].apply(this,arguments))}}function r(e,t,i){return n(e)||o.apply(this,arguments)}function a(e,t,n){function o(e){var t=(u[e]||"silent").toUpperCase();if(typeof window!==c&&d){try{return void(window.localStorage[d]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"="+t+";"}catch(e){}}}function a(){var e;if(typeof window!==c&&d){try{e=window.localStorage[d]}catch(e){}if(typeof e===c)try{var t=window.document.cookie,n=t.indexOf(encodeURIComponent(d)+"=");-1!==n&&(e=/^([^;]+)/.exec(t.slice(n))[1])}catch(e){}return void 0===l.levels[e]&&(e=void 0),e}}var s,l=this,d="loglevel";"string"==typeof e?d+=":"+e:"symbol"==typeof e&&(d=void 0),l.name=e,l.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},l.methodFactory=n||r,l.getLevel=function(){return s},l.setLevel=function(t,n){if("string"==typeof t&&void 0!==l.levels[t.toUpperCase()]&&(t=l.levels[t.toUpperCase()]),!("number"==typeof t&&t>=0&&t<=l.levels.SILENT))throw"log.setLevel() called with invalid level: "+t;if(s=t,!1!==n&&o(t),i.call(l,t,e),typeof console===c&&t<l.levels.SILENT)return"No console available for logging"},l.setDefaultLevel=function(e){a()||l.setLevel(e,!1)},l.enableAll=function(e){l.setLevel(l.levels.TRACE,e)},l.disableAll=function(e){l.setLevel(l.levels.SILENT,e)};var p=a();null==p&&(p=null==t?"WARN":t),l.setLevel(p,!1)}var s=function(){},c="undefined",l=typeof window!==c&&typeof window.navigator!==c&&/Trident\/|MSIE /.test(window.navigator.userAgent),u=["trace","debug","info","warn","error"],d=new a,p={};d.getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=p[e];return t||(t=p[e]=new a(e,d.getLevel(),d.methodFactory)),t};var h=typeof window!==c?window.log:void 0;return d.noConflict=function(){return typeof window!==c&&window.log===d&&(window.log=h),d},d.getLoggers=function(){return p},d.default=d,d}))},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=i(n(4)),a=i(n(1)),s=n(7),c=n(5),l=i(n(0)),u=i(n(14)),d=i(n(2)),p=i(n(22)),h=n(27),f=n(28),m=i(n(29)),_=i(n(30)),g=i(n(31)),E=i(n(32)),v=i(n(33)),y=i(n(34)),b=i(n(35)),S=i(n(36)),T=i(n(37)),A=i(n(38)),I=i(n(39)),O=i(n(40)),C=i(n(41)),R=i(n(42)),N=i(n(60)),P=["viewstart","ended","loadstart","pause","play","playing","ratechange","waiting","adplay","adpause","adended","aderror","adplaying","adrequest","adresponse","adbreakstart","adbreakend","adfirstquartile","admidpoint","adthirdquartile","rebufferstart","rebufferend","seeked","error","hb","requestcompleted","requestfailed","requestcanceled","renditionchange"],L=function(e,t,n){var i=this;this.DOM_CONTENT_LOADED_EVENT_END=u.default.domContentLoadedEventEnd(),this.NAVIGATION_START=u.default.navigationStart();var o={debug:!1,minimumRebufferDuration:250,sustainedRebufferThreshold:1e3,playbackHeartbeatTime:25,beaconDomain:"litix.io",sampleRate:1,disableCookies:!1,respectDoNotTrack:!1,disableRebufferTracking:!1,errorTranslator:function(e){return e}};this.mux=e,this.id=t,(n=(0,a.default)(o,n)).data=n.data||{},n.data.property_key&&(n.data.env_key=n.data.property_key,delete n.data.property_key),r.default.setLevel(n.debug?"debug":"warn"),this.getPlayheadTime=n.getPlayheadTime,this.getStateData=n.getStateData||function(){},this.getAdData=n.getAdData||function(){},this.minimumRebufferDuration=n.minimumRebufferDuration,this.sustainedRebufferThreshold=n.sustainedRebufferThreshold,this.playbackHeartbeatTime=n.playbackHeartbeatTime,this.disableRebufferTracking=n.disableRebufferTracking,this.disableRebufferTracking&&this.mux.log.warn("Disabling rebuffer tracking. This should only be used in specific circumstances as a last resort when your player is known to unreliably track rebuffering."),this.errorTranslator=n.errorTranslator,this.playbackEventDispatcher=new R.default(e,n.data.env_key,n),this.data={player_instance_id:(0,s.generateUUID)(),mux_sample_rate:n.sampleRate,beacon_domain:n.beaconDomain},this.data.view_sequence_number=1,this.data.player_sequence_number=1,this.oldEmit=this.emit,this.emit=function(e,t){t=(0,a.default)({viewer_time:this.mux.utils.now()},t),this.oldEmit(e,t)};var c=function(){void 0===this.data.view_start&&(this.data.view_start=this.mux.utils.now(),this.emit("viewstart"))}.bind(this);this.on("viewinit",(function(e,t){this._resetVideoData(),this._resetViewData(),this._resetErrorData(),this._updateStateData(),(0,a.default)(this.data,t),this._initializeViewData(),this.one("play",c),this.one("adbreakstart",c)}));var d=function(e){this.emit("viewend"),this.send("viewend"),this.emit("viewinit",e)}.bind(this);this.on("videochange",(function(e,t){d(t)})),this.on("programchange",(function(e,t){this.data.player_is_paused&&this.mux.log.warn("The `programchange` event is intended to be used when the content changes mid playback without the video source changing, however the video is not currently playing. If the video source is changing please use the videochange event otherwise you will lose startup time information."),d((0,a.default)(t,{view_program_changed:!0})),c(),this.emit("play"),this.emit("playing")})),this.on("destroy",this.destroy);var p=this.destroy.bind(this);void 0!==l.default&&"function"==typeof l.default.addEventListener&&l.default.addEventListener("unload",p,!1),this.on("destroy",(function(){void 0!==l.default&&"function"==typeof l.default.removeEventListener&&l.default.removeEventListener("unload",p)})),this.on("playerready",(function(e,t){(0,a.default)(this.data,t)})),P.forEach((function(e){i.on(e,(function(t,n){0!==e.indexOf("ad")&&this._updateStateData(),(0,a.default)(this.data,n),this._sanitizeData()})),i.on("after"+e,(function(){("error"!==e||this.viewErrored)&&this.send(e)}))})),this.on("viewend",(function(e,t){(0,a.default)(i.data,t)}));var h=function(e){var t=this.mux.utils.now();this.data.player_init_time&&(this.data.player_startup_time=t-this.data.player_init_time),!this.mux.PLAYER_TRACKED&&this.NAVIGATION_START&&(this.mux.PLAYER_TRACKED=!0,(this.data.player_init_time||this.DOM_CONTENT_LOADED_EVENT_END)&&(this.data.page_load_time=Math.min(this.data.player_init_time||1/0,this.DOM_CONTENT_LOADED_EVENT_END||1/0)-this.NAVIGATION_START)),this.send("playerready"),delete this.data.player_startup_time,delete this.data.page_load_time};this.one("playerready",h),g.default.apply(this),C.default.apply(this),A.default.apply(this),y.default.apply(this),_.default.apply(this),T.default.apply(this),E.default.apply(this),v.default.apply(this),I.default.apply(this),b.default.apply(this),S.default.apply(this),O.default.apply(this),N.default.apply(this),n.hlsjs&&this.addHLSJS(n),n.dashjs&&this.addDashJS(n),this.emit("viewinit",n.data)};(0,a.default)(L.prototype,m.default.prototype),(0,a.default)(L.prototype,y.default.prototype),(0,a.default)(L.prototype,A.default.prototype),(0,a.default)(L.prototype,_.default.prototype),(0,a.default)(L.prototype,E.default.prototype),(0,a.default)(L.prototype,v.default.prototype),(0,a.default)(L.prototype,I.default.prototype),(0,a.default)(L.prototype,b.default.prototype),(0,a.default)(L.prototype,S.default.prototype),L.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,void 0!==this.data.view_start&&(this.emit("viewend"),this.send("viewend")),this.playbackEventDispatcher.destroy(),this.removeHLSJS(),this.removeDashJS(),l.default.clearTimeout(this._heartBeatTimeout))},L.prototype.send=function(e){var t=(0,a.default)({},this.data);if(1===t.player_error_code&&(delete t.player_error_code,delete t.player_error_message),t.player_source_duration===1/0||t.video_source_duration===1/0?t.video_source_is_live=!0:(t.player_source_duration>0||t.video_source_duration>0)&&(t.video_source_is_live=!1),t.video_source_url=t.video_source_url||t.player_source_url,t.video_source_url){var n=(0,c.extractHostnameAndDomain)(t.video_source_url),i=o(n,2),r=i[0],s=i[1];t.video_source_domain=s,t.video_source_hostname=r}delete t.ad_request_id,this.playbackEventDispatcher.send(e,t),this.data.view_sequence_number++,this.data.player_sequence_number++,this._restartHeartBeat()},L.prototype._updateStateData=function(){(0,a.default)(this.data,this.getStateData()),this.getPlayheadTime&&(this.data.player_playhead_time=this.getPlayheadTime()),this._sanitizeData()},L.prototype._sanitizeData=function(){var e=this;["player_width","player_height","video_source_width","video_source_height","player_playhead_time","video_source_bitrate"].forEach((function(t){var n=parseInt(e.data[t],10);e.data[t]=isNaN(n)?void 0:n})),["player_source_url","video_source_url"].forEach((function(t){if(e.data[t]){var n=e.data[t].toLowerCase();0!==n.indexOf("data:")&&0!==n.indexOf("blob:")||(e.data[t]="MSE style URL")}}))},L.prototype._resetVideoData=function(e,t){var n=this;Object.keys(this.data).forEach((function(e){0===e.indexOf("video_")&&delete n.data[e]}))},L.prototype._resetViewData=function(){var e=this;Object.keys(this.data).forEach((function(t){0===t.indexOf("view_")&&delete e.data[t]})),this.data.view_sequence_number=1},L.prototype._resetErrorData=function(e,t){delete this.data.player_error_code,delete this.data.player_error_message},L.prototype._initializeViewData=function(){var e=this,t=this.data.view_id=(0,s.generateUUID)();this.data.video_id||(this.data.video_id=(0,p.default)(this.data.player_source_url));var n=function(){t===e.data.view_id&&(0,d.default)(e.data,"player_view_count",1)};this.data.player_is_paused?this.one("play",n):n()},L.prototype._restartHeartBeat=function(){var e=this;l.default.clearTimeout(this._heartBeatTimeout),this.viewErrored||(this._heartBeatTimeout=l.default.setTimeout((function(){e.data.player_is_paused||e.emit("hb")}),1e4))},L.prototype.addHLSJS=function(e){return e.hlsjs?this.hlsjs?void this.mux.log.warn("An instance of HLS.js is already being monitored for this player."):(this.hlsjs=e.hlsjs,void(0,h.monitorHlsJs)(this.mux,this.id,e.hlsjs,{},e.Hls||l.default.Hls)):void this.mux.log.warn("You must pass a valid hlsjs instance in order to track it.")},L.prototype.removeHLSJS=function(){this.hlsjs&&((0,h.stopMonitoringHlsJs)(this.hlsjs),this.hlsjs=void 0)},L.prototype.addDashJS=function(e){return e.dashjs?this.dashjs?void this.mux.log.warn("An instance of Dash.js is already being monitored for this player."):(this.dashjs=e.dashjs,void(0,f.monitorDashJS)(this.mux,this.id,e.dashjs)):void this.mux.log.warn("You must pass a valid dashjs instance in order to track it.")},L.prototype.removeDashJS=function(){this.dashjs&&((0,f.stopMonitoringDashJS)(this.dashjs),this.dashjs=void 0)},t.default=L},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=r.default.createElement("a");t.href=e;var n=t.pathname.replace(/\.[^/.]+$/,"");return a.default.encode(t.host+n).split("=")[0]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=i(n(23)),a=i(n(25))},function(e,t,n){(function(t){var i,o=void 0!==t?t:"undefined"!=typeof window?window:{},r=n(24);"undefined"!=typeof document?i=document:(i=o["__GLOBAL_DOCUMENT_CACHE@4"])||(i=o["__GLOBAL_DOCUMENT_CACHE@4"]=r),e.exports=i}).call(t,n(6))},function(e,t){},function(e,t,n){(function(e,i){var o;!function(i){"object"==typeof e&&e&&e.exports;var r=function(e){this.message=e};r.prototype=new Error,r.prototype.name="InvalidCharacterError";var a=function(e){throw new r(e)},s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=/[\t\n\f\r ]/g,l=function(e){var t=(e=String(e).replace(c,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&a("Invalid character: the string to be decoded is not correctly encoded.");for(var n,i,o=0,r="",l=-1;++l<t;)i=s.indexOf(e.charAt(l)),n=o%4?64*n+i:i,o++%4&&(r+=String.fromCharCode(255&n>>(-2*o&6)));return r},u=function(e){e=String(e),/[^\0-\xFF]/.test(e)&&a("The string to be encoded contains characters outside of the Latin1 range.");for(var t,n=e.length%3,i="",o=-1,r=e.length-n;++o<r;)t=(e.charCodeAt(o)<<16)+(e.charCodeAt(++o)<<8)+e.charCodeAt(++o),i+=s.charAt(t>>18&63)+s.charAt(t>>12&63)+s.charAt(t>>6&63)+s.charAt(63&t);return 2==n?(t=(e.charCodeAt(o)<<8)+e.charCodeAt(++o),i+=s.charAt(t>>10)+s.charAt(t>>4&63)+s.charAt(t<<2&63)+"="):1==n&&(t=e.charCodeAt(o),i+=s.charAt(t>>2)+s.charAt(t<<4&63)+"=="),i},d={encode:u,decode:l,version:"0.1.0"};void 0!==(o=function(){return d}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(26)(e),n(6))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.stopMonitoringHlsJs=t.monitorHlsJs=void 0;var o=i(n(8)),r=i(n(14)),a=n(5),s=function(e){if(!e)return{};var t=r.default.navigationStart(),n=e.loading,i=n?n.start:e.trequest,o=n?n.first:e.tfirst,a=n?n.end:e.tload;return{bytesLoaded:e.total,requestStart:Math.round(t+i),responseStart:Math.round(t+o),responseEnd:Math.round(t+a)}},c=function(e){if(e&&"function"==typeof e.getAllResponseHeaders)return(0,o.default)(e.getAllResponseHeaders())},l=function(e,t,n){var i=arguments[4],o=e.log;if(r.default.exists()){var l=function(n,i){return e.emit(t,n,i)},u=function(e,t){var n=t.levels,i=t.audioTracks,o=t.url,r=t.stats,u=t.networkDetails,d={},p={};n.forEach((function(e,t){d[t]={width:e.width,height:e.height,bitrate:e.bitrate,attrs:e.attrs}})),i.forEach((function(e,t){p[t]={name:e.name,language:e.lang,bitrate:e.bitrate}}));var h=s(r),f=h.bytesLoaded,m=h.requestStart,_=h.responseStart,g=h.responseEnd;l("requestcompleted",{request_event_type:e,request_bytes_loaded:f,request_start:m,request_response_start:_,request_response_end:g,request_type:"manifest",request_hostname:(0,a.extractHostname)(o),request_response_headers:c(u),request_rendition_lists:{media:d,audio:p,video:{}}})};n.on(i.Events.MANIFEST_LOADED,u);var d=function(e,t){var n=t.details,i=t.level,o=t.networkDetails,r=t.stats,u=s(r),d=u.bytesLoaded,p=u.requestStart,h=u.responseStart,f=u.responseEnd;l("requestcompleted",{request_event_type:e,request_bytes_loaded:d,request_start:p,request_response_start:h,request_response_end:f,request_current_level:i,request_type:"manifest",request_hostname:(0,a.extractHostname)(n.url),request_response_headers:c(o)})};n.on(i.Events.LEVEL_LOADED,d);var p=function(e,t){var n=t.details,i=t.networkDetails,o=t.stats,r=s(o),u=r.bytesLoaded,d=r.requestStart,p=r.responseStart,h=r.responseEnd;l("requestcompleted",{request_event_type:e,request_bytes_loaded:u,request_start:d,request_response_start:p,request_response_end:h,request_type:"manifest",request_hostname:(0,a.extractHostname)(n.url),request_response_headers:c(i)})};n.on(i.Events.AUDIO_TRACK_LOADED,p);var h=function(e,t){var i=t.stats,o=t.networkDetails,r=t.frag,u=s(i),d={request_event_type:e,request_bytes_loaded:u.bytesLoaded,request_start:u.requestStart,request_response_start:u.responseStart,request_response_end:u.responseEnd,request_hostname:o?(0,a.extractHostname)(o.responseURL):void 0,request_response_headers:c(o),request_media_duration:r.duration};"main"===r.type?(d.request_type="media",d.request_current_level=r.level,d.request_video_width=(n.levels[r.level]||{}).width,d.request_video_height=(n.levels[r.level]||{}).height):d.request_type=r.type,l("requestcompleted",d)};n.on(i.Events.FRAG_LOADED,h);var f=function(e,t){var n=t.details,o=t.response,r=t.context,s=t.frag;if(n===i.ErrorDetails.MANIFEST_LOAD_ERROR||n===i.ErrorDetails.MANIFEST_LOAD_TIMEOUT||n===i.ErrorDetails.FRAG_LOAD_ERROR||n===i.ErrorDetails.FRAG_LOAD_TIMEOUT||n===i.ErrorDetails.LEVEL_LOAD_ERROR||n===i.ErrorDetails.LEVEL_LOAD_TIMEOUT){var c=s&&s.url||r&&r.url||"";l("requestfailed",{request_error:n,request_url:c,request_hostname:(0,a.extractHostname)(c),request_type:n===i.ErrorDetails.FRAG_LOAD_ERROR||n===i.ErrorDetails.FRAG_LOAD_TIMEOUT?"media":"manifest",request_error_code:o&&o.code,request_error_text:o&&o.text})}};n.on(i.Events.ERROR,f);var m=function(e,t){var n=t.frag,i=n&&n._url||"";l("requestcanceled",{request_cancel:e,request_url:i,request_type:"media",request_hostname:(0,a.extractHostname)(i)})};n.on(i.Events.FRAG_LOAD_EMERGENCY_ABORTED,m);var _=function(e,t){var i=t.level,r=n.levels[i];if(r&&r.attrs&&r.attrs.BANDWIDTH){var a=r.attrs.BANDWIDTH;a?l("renditionchange",{video_source_bitrate:a,video_source_width:r.width,video_source_height:r.height}):o.warn("missing BANDWIDTH from HLS manifest parsed by HLS.js")}};n.on(i.Events.LEVEL_SWITCHED,_),n._stopMuxMonitor=function(){n.off(i.Events.MANIFEST_LOADED,u),n.off(i.Events.LEVEL_LOADED,d),n.off(i.Events.AUDIO_TRACK_LOADED,p),n.off(i.Events.FRAG_LOADED,h),n.off(i.Events.ERROR,f),n.off(i.Events.FRAG_LOAD_EMERGENCY_ABORTED,m),n.off(i.Events.LEVEL_SWITCHED,_),n.off(i.Events.DESTROYING,n._stopMuxMonitor),delete n._stopMuxMonitor},n.on(i.Events.DESTROYING,n._stopMuxMonitor)}else o.warn("performance timing not supported. Not tracking HLS.js.")},u=function(e){e&&"function"==typeof e._stopMuxMonitor&&e._stopMuxMonitor()};t.monitorHlsJs=l,t.stopMonitoringHlsJs=u},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.stopMonitoringDashJS=t.monitorDashJS=void 0;var o=i(n(0)),r=i(n(8)),a=n(5),s=function(e,t){if(!e||"function"!=typeof e.getRequests)return{};var n=e.getRequests({state:"executed"});if(0===n.length)return{};var i=n[n.length-1],o=(0,a.extractHostname)(i.url),s=i.bytesLoaded,c=new Date(i.requestStartDate).getTime(),l=new Date(i.firstByteDate).getTime(),u=new Date(i.requestEndDate).getTime(),d=isNaN(i.duration)?0:i.duration,p="function"==typeof t.getMetricsFor?t.getMetricsFor(i.mediaType).HttpList:t.getDashMetrics().getHttpRequests(i.mediaType),h=void 0;return p.length>0&&(h=(0,r.default)(p[p.length-1]._responseHeaders||"")),{requestStart:c,requestResponseStart:l,requestResponseEnd:u,requestBytesLoaded:s,requestResponseHeaders:h,requestMediaDuration:d,requestHostname:o}},c=function(e,t){var n=t.getQualityFor(e),i=t.getCurrentTrackFor(e).bitrateList;return i?{currentLevel:n,renditionWidth:i[n].width||null,renditionHeight:i[n].height||null,renditionBitrate:i[n].bandwidth}:{}},l=function(e,t,n){var i=e.log;if(n&&n.on){var r=function(n,i){return e.emit(t,n,i)},l=function(e){var t=e.type,n=(e.data||{}).url;r("requestcompleted",{request_event_type:t,request_start:0,request_response_start:0,request_response_end:0,request_bytes_loaded:-1,request_type:"manifest",request_hostname:(0,a.extractHostname)(n)})};n.on("manifestLoaded",l);var u={},d=function(e){var t=e.type,i=e.fragmentModel,o=(e.chunk||{}).mediaInfo||{},a=o.type,c=o.bitrateList,l={};(c=c||[]).forEach((function(e,t){l[t]={},l[t].width=e.width,l[t].height=e.height,l[t].bitrate=e.bandwidth,l[t].attrs={}})),"video"===a?u.video=l:"audio"===a?u.audio=l:u.media=l;var d=s(i,n),p=d.requestStart,h=d.requestResponseStart,f=d.requestResponseEnd,m=d.requestResponseHeaders,_=d.requestMediaDuration,g=d.requestHostname;r("requestcompleted",{request_event_type:t,request_start:p,request_response_start:h,request_response_end:f,request_bytes_loaded:-1,request_type:a+"_init",request_response_headers:m,request_hostname:g,request_media_duration:_,request_rendition_lists:u})};n.on("initFragmentLoaded",d);var p=function(e){var t=e.type,i=e.fragmentModel,o=e.chunk||{},a=o.mediaInfo,l=o.start,u=(a||{}).type,d=s(i,n),p=d.requestStart,h=d.requestResponseStart,f=d.requestResponseEnd,m=d.requestBytesLoaded,_=d.requestResponseHeaders,g=d.requestMediaDuration,E=d.requestHostname,v=c(u,n),y=v.currentLevel,b=v.renditionWidth,S=v.renditionHeight,T=v.renditionBitrate;r("requestcompleted",{request_event_type:t,request_start:p,request_response_start:h,request_response_end:f,request_bytes_loaded:m,request_type:u,request_response_headers:_,request_hostname:E,request_media_start_time:l,request_media_duration:g,request_current_level:y,request_labeled_bitrate:T,request_video_width:b,request_video_height:S})};n.on("mediaFragmentLoaded",p);var h={video:void 0,audio:void 0,totalBitrate:void 0},f=function(){if(h.video&&"number"==typeof h.video.bitrate){if(!h.video.width||!h.video.height)return void i.warn("have bitrate info for video but missing width/height");var e=h.video.bitrate;return h.audio&&"number"==typeof h.audio.bitrate&&(e+=h.audio.bitrate),e!==h.totalBitrate?(h.totalBitrate=e,{video_source_bitrate:e,video_source_height:h.video.height,video_source_width:h.video.width}):void 0}},m=function(e,t,o){if("number"==typeof e.newQuality){var a=e.mediaType;if("audio"===a||"video"===a){var s=n.getBitrateInfoListFor(a).find((function(t){return t.qualityIndex===e.newQuality}));if(!s||"number"!=typeof s.bitrate)return void i.warn("missing bitrate info for "+a);h[a]=s;var c=f();c&&r("renditionchange",c)}}else i.warn("missing evt.newQuality in qualityChangeRendered event",e)};n.on("qualityChangeRendered",m);var _=function(e){var t=e.error,n=e.event,i=(n=n||{}).request||{},s=o.default.event&&o.default.event.currentTarget||{};r("requestfailed",{request_error:t+"_"+n.id+"_"+i.type,request_url:n.url,request_hostname:(0,a.extractHostname)(n.url),request_type:i.mediaType,request_error_code:s.status,request_error_type:s.statusText})};n.on("error",_),n._stopMuxMonitor=function(){n.off("manifestLoaded",l),n.off("initFragmentLoaded",d),n.off("mediaFragmentLoaded",p),n.off("qualityChangeRendered",m),n.off("error",_),delete n._stopMuxMonitor}}else i.warn("Invalid dash.js player reference. Monitoring blocked.")},u=function(e){e&&"function"==typeof e._stopMuxMonitor&&e._stopMuxMonitor()};t.monitorDashJS=l,t.stopMonitoringDashJS=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){},o=0;i.prototype.on=function(e,t,n){return t._eventEmitterGuid=t._eventEmitterGuid||++o,this._listeners=this._listeners||{},this._listeners[e]=this._listeners[e]||[],n&&(t=t.bind(n)),this._listeners[e].push(t),t},i.prototype.off=function(e,t){var n=this._listeners&&this._listeners[e];n&&n.forEach((function(e,i){e._eventEmitterGuid===t._eventEmitterGuid&&n.splice(i,1)}))},i.prototype.one=function(e,t,n){var i=this;t._eventEmitterGuid=t._eventEmitterGuid||++o;var r=function o(){i.off(e,o),t.apply(n||this,arguments)};r._eventEmitterGuid=t._eventEmitterGuid,this.on(e,r)},i.prototype.emit=function(e,t){var n=this;if(this._listeners){t=t||{};var i=this._listeners["before*"]||[],o=this._listeners[e]||[],r=this._listeners["after"+e]||[],a=function(t,i){(t=t.slice()).forEach((function(t){t.call(n,{type:e},i)}))};a(i,t),a(o,t),a(r,t)}},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o=function(){this._playbackHeartbeatInterval=null,this._playheadShouldBeProgressing=!1,this.on("playing",(function(){this._playheadShouldBeProgressing=!0})),this.on("play",this._startPlaybackHeartbeatInterval),this.on("playing",this._startPlaybackHeartbeatInterval),this.on("adbreakstart",this._startPlaybackHeartbeatInterval),this.on("adplay",this._startPlaybackHeartbeatInterval),this.on("adplaying",this._startPlaybackHeartbeatInterval),this.on("seeking",this._startPlaybackHeartbeatInterval),this.on("devicewake",this._startPlaybackHeartbeatInterval),this.on("viewstart",this._startPlaybackHeartbeatInterval),this.on("pause",this._stopPlaybackHeartbeatInterval),this.on("ended",this._stopPlaybackHeartbeatInterval),this.on("viewend",this._stopPlaybackHeartbeatInterval),this.on("error",this._stopPlaybackHeartbeatInterval),this.on("aderror",this._stopPlaybackHeartbeatInterval),this.on("adpause",this._stopPlaybackHeartbeatInterval),this.on("adended",this._stopPlaybackHeartbeatInterval),this.on("adbreakend",this._stopPlaybackHeartbeatInterval),this.on("seeked",(function(){this.data.player_is_paused?this._stopPlaybackHeartbeatInterval():this._startPlaybackHeartbeatInterval()})),this.on("timeupdate",(function(){null!==this._playbackHeartbeatInterval&&this.emit("playbackheartbeat")})),this.on("devicesleep",(function(e,t){null!==this._playbackHeartbeatInterval&&(i.default.clearInterval(this._playbackHeartbeatInterval),this.emit("playbackheartbeatend",{viewer_time:t.viewer_time}),this._playbackHeartbeatInterval=null)}))};o.prototype._startPlaybackHeartbeatInterval=function(){var e=this;null===this._playbackHeartbeatInterval&&(this.emit("playbackheartbeat"),this._playbackHeartbeatInterval=i.default.setInterval((function(){e.emit("playbackheartbeat")}),this.playbackHeartbeatTime))},o.prototype._stopPlaybackHeartbeatInterval=function(){this._playheadShouldBeProgressing=!1,null!==this._playbackHeartbeatInterval&&(i.default.clearInterval(this._playbackHeartbeatInterval),this.emit("playbackheartbeatend"),this._playbackHeartbeatInterval=null)},t.default=o},function(e,t,n){"use strict";function i(){var e=this;this.on("viewinit",(function(){e.viewErrored=!1})),this.on("error",(function(){try{var t=e.errorTranslator({player_error_code:e.data.player_error_code,player_error_message:e.data.player_error_message});t?(e.data.player_error_code=t.player_error_code,e.data.player_error_message=t.player_error_message,e.viewErrored=!0):(delete e.data.player_error_code,delete e.data.player_error_message)}catch(t){e.mux.log.warn("Exception in error translator callback.",t),e.viewErrored=!0}}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),o=function(){this._watchTimeTrackerLastCheckedTime=null,this.on("playbackheartbeat",this._updateWatchTime),this.on("playbackheartbeatend",this._clearWatchTimeState)};o.prototype._updateWatchTime=function(e,t){var n=t.viewer_time;null===this._watchTimeTrackerLastCheckedTime&&(this._watchTimeTrackerLastCheckedTime=n),(0,i.default)(this.data,"view_watch_time",n-this._watchTimeTrackerLastCheckedTime),this._watchTimeTrackerLastCheckedTime=n},o.prototype._clearWatchTimeState=function(e,t){this._updateWatchTime(e,t),this._watchTimeTrackerLastCheckedTime=null},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(2)),o=function(){this._playbackTimeTrackerLastPlayheadPosition=-1,this.on("playbackheartbeat",this._updatePlaybackTime),this.on("playbackheartbeatend",this._clearPlaybackTimeState),this.on("seeking",this._clearPlaybackTimeState)};o.prototype._updatePlaybackTime=function(){var e=this.data.player_playhead_time;if(this._playbackTimeTrackerLastPlayheadPosition>=0&&e>this._playbackTimeTrackerLastPlayheadPosition){var t=e-this._playbackTimeTrackerLastPlayheadPosition;t<=1e3&&(0,i.default)(this.data,"view_content_playback_time",t)}this._playbackTimeTrackerLastPlayheadPosition=e},o.prototype._clearPlaybackTimeState=function(){this._updatePlaybackTime(),this._playbackTimeTrackerLastPlayheadPosition=-1},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){this.on("playbackheartbeat",this._updatePlayheadTime),this.on("playbackheartbeatend",this._updatePlayheadTime),this.on("timeupdate",this._updatePlayheadTime),this.on("destroy",(function(){this.off("timeupdate",this._updatePlayheadTime)}))};i.prototype._updateMaxPlayheadPosition=function(){this.data.view_max_playhead_position=void 0===this.data.view_max_playhead_position?this.data.player_playhead_time:Math.max(this.data.view_max_playhead_position,this.data.player_playhead_time)},i.prototype._updatePlayheadTime=function(e,t){if(t.player_playhead_time)this.data.player_playhead_time=t.player_playhead_time,this._updateMaxPlayheadPosition();else if(this.getPlayheadTime){var n=this.getPlayheadTime();void 0!==n&&(this.data.player_playhead_time=n,this._updateMaxPlayheadPosition())}},t.default=i},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(3)),r=i(n(2)),a=function(){this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null,this.on("playbackheartbeat",this._checkIfRebuffering),this.on("playbackheartbeatend",this._cleanupRebufferTracker),this.on("seeking",(function(){this._cleanupRebufferTracker(null,{viewer_time:o.default.now()})}))};a.prototype._checkIfRebuffering=function(e,t){if(!this.disableRebufferTracking){if(this.isSeeking||this.isAdBreak||!this._playheadShouldBeProgressing)return void this._cleanupRebufferTracker(e,t);if(null===this._lastCheckedTime)return this._prepareRebufferTrackerState(t.viewer_time),void this._updateRebufferMetrics();if(this._lastPlayheadTime!==this.data.player_playhead_time)return void this._cleanupRebufferTracker(e,t,!0);var n=t.viewer_time-this._lastPlayheadTimeUpdatedTime;n>=this.sustainedRebufferThreshold&&(this._rebuffering?this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime):(this._rebuffering=!0,(0,r.default)(this.data,"view_rebuffer_count",1),this._updateRebufferMetrics(n),this.emit("rebufferstart"))),this._lastCheckedTime=t.viewer_time}},a.prototype._clearRebufferTrackerState=function(){this._lastCheckedTime=null,this._lastPlayheadTime=null,this._lastPlayheadTimeUpdatedTime=null},a.prototype._prepareRebufferTrackerState=function(e){this._lastCheckedTime=e,this._lastPlayheadTime=this.data.player_playhead_time,this._lastPlayheadTimeUpdatedTime=e},a.prototype._cleanupRebufferTracker=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!this.disableRebufferTracking){if(this._rebuffering)this._rebuffering=!1,this._updateRebufferMetrics(t.viewer_time-this._lastCheckedTime),this.emit("rebufferend",{viewer_time:t.viewer_time});else{if(null===this._lastCheckedTime)return void this._updateRebufferMetrics();var i=this.data.player_playhead_time-this._lastPlayheadTime,o=t.viewer_time-this._lastPlayheadTimeUpdatedTime;i>0&&o-i>this.minimumRebufferDuration?((0,r.default)(this.data,"view_rebuffer_count",1),this._updateRebufferMetrics(o-i),this.emit("rebufferstart",{viewer_time:this._lastPlayheadTimeUpdatedTime}),this.emit("rebufferend",{viewer_time:this._lastPlayheadTimeUpdatedTime+o-i})):this._updateRebufferMetrics()}n?this._prepareRebufferTrackerState(t.viewer_time):this._clearRebufferTrackerState()}},a.prototype._updateRebufferMetrics=function(e){e>0&&(0,r.default)(this.data,"view_rebuffer_duration",e),this.data.view_watch_time>=0&&this.data.view_rebuffer_count>0&&(this.data.view_rebuffer_frequency=this.data.view_rebuffer_count/this.data.view_watch_time,this.data.view_rebuffer_percentage=this.data.view_rebuffer_duration/this.data.view_watch_time)},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(3)),o=function(){this.on("viewinit",(function(){var e=this.data,t=e.view_id;if(!e.view_program_changed){var n=function(e,n){var o=n.viewer_time;"playing"===e.type&&void 0===this.data.view_time_to_first_frame?this.calculateTimeToFirstFrame(o||i.default.now(),t):"adplaying"!==e.type||void 0!==this.data.view_time_to_first_frame&&!this.inPrerollPosition()||this.calculateTimeToFirstFrame(o||i.default.now(),t)};this.one("playing",n),this.one("adplaying",n),this.one("viewend",(function(){this.off("playing",n),this.off("adplaying",n)}))}}))};o.prototype.calculateTimeToFirstFrame=function(e,t){t===this.data.view_id&&(this._updateWatchTime(null,{viewer_time:e}),this.data.view_time_to_first_frame=this.data.view_watch_time,(this.data.player_autoplay_on||this.data.video_is_autoplay)&&this.NAVIGATION_START&&(this.data.view_aggregate_startup_time=this.data.view_start+this.data.view_watch_time-this.NAVIGATION_START))},t.default=o},function(e,t,n){"use strict";function i(){var e=this;this.on("viewinit",(function(){this._lastPlayheadPosition=-1}));var t=["playing","hb"];["pause","rebufferstart","seeking","error","adbreakstart","hb"].forEach((function(t){e.on(t,(function(){if(this._lastPlayheadPosition>=0&&this.data.player_playhead_time>=0&&this._lastPlayerWidth>=0&&this._lastSourceWidth>0&&this._lastPlayerHeight>=0&&this._lastSourceHeight>0){var e=this.data.player_playhead_time-this._lastPlayheadPosition;if(e<0)return void(this._lastPlayheadPosition=-1);var t=Math.min(this._lastPlayerWidth/this._lastSourceWidth,this._lastPlayerHeight/this._lastSourceHeight),n=Math.max(0,t-1),i=Math.max(0,1-t);this.data.view_max_upscale_percentage=Math.max(this.data.view_max_upscale_percentage||0,n),this.data.view_max_downscale_percentage=Math.max(this.data.view_max_downscale_percentage||0,i),(0,o.default)(this.data,"view_total_content_playback_time",e),(0,o.default)(this.data,"view_total_upscaling",n*e),(0,o.default)(this.data,"view_total_downscaling",i*e)}this._lastPlayheadPosition=-1}))})),t.forEach((function(t){e.on(t,(function(){this._lastPlayheadPosition=this.data.player_playhead_time,this._lastPlayerWidth=this.data.player_width,this._lastPlayerHeight=this.data.player_height,this._lastSourceWidth=this.data.video_source_width,this._lastSourceHeight=this.data.video_source_height}))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(2))},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(){this.isSeeking=!1,this.on("seeking",(function(e,t){(0,s.default)(this.data,t),this._lastSeekingTime=r.default.now(),!1===this.isSeeking&&(this.isSeeking=!0,this.send("seeking"))})),this.on("seeked",(function(){this.isSeeking=!1;var e=this._lastSeekingTime||r.default.now(),t=r.default.now()-e;(0,a.default)(this.data,"view_seek_count",1),(0,a.default)(this.data,"view_seek_duration",t);var n=this.data.view_max_seek_time||0;this.data.view_max_seek_time=Math.max(n,t)})),this.on("viewend",(function(){this.isSeeking=!1}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=i(n(3)),a=i(n(2)),s=i(n(1))},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=i(n(2)),a=n(5),s=i(n(1)),c=function(e,t){e.push(t),e.sort((function(e,t){return e.viewer_time-t.viewer_time}))},l=["adbreakstart","adrequest","adresponse","adplay","adplaying","adpause","adended","adbreakend","aderror"],u=function(){var e=this;this.on("viewinit",(function(){this.isAdBreak=!1,this._currentAdRequestNumber=0,this._currentAdResponseNumber=0,this._adRequests=[],this._adResponses=[],this._adHasPlayed=!1,this._wouldBeNewAdPlay=!0,this._prerollPlayTime=void 0})),l.forEach((function(t){return e.on(t,e._updateAdData)}));var t=function(){e.isAdBreak=!1};this.on("adbreakstart",(function(){this.isAdBreak=!0})),this.on("play",t),this.on("playing",t),this.on("viewend",t),this.on("adrequest",(function(e,t){t=(0,s.default)({ad_request_id:"generatedAdRequestId"+this._currentAdRequestNumber++},t),c(this._adRequests,t),(0,r.default)(this.data,"view_ad_request_count"),this.inPrerollPosition()&&(this.data.view_preroll_requested=!0,this._adHasPlayed||(0,r.default)(this.data,"view_preroll_request_count"))})),this.on("adresponse",(function(e,t){t=(0,s.default)({ad_request_id:"generatedAdRequestId"+this._currentAdResponseNumber++},t),c(this._adResponses,t);var n=this.findAdRequest(t.ad_request_id);n&&(0,r.default)(this.data,"view_ad_request_time",Math.max(0,t.viewer_time-n.viewer_time))})),this.on("adplay",(function(e,t){this._adHasPlayed=!0,this._wouldBeNewAdPlay&&(this._wouldBeNewAdPlay=!1,(0,r.default)(this.data,"view_ad_played_count")),this.inPrerollPosition()&&!this.data.view_preroll_played&&(this.data.view_preroll_played=!0,this._adRequests.length>0&&(this.data.view_preroll_request_time=Math.max(0,t.viewer_time-this._adRequests[0].viewer_time)),this.data.view_start&&(this.data.view_startup_preroll_request_time=Math.max(0,t.viewer_time-this.data.view_start)),this._prerollPlayTime=t.viewer_time)})),this.on("adplaying",(function(e,t){this.inPrerollPosition()&&void 0===this.data.view_preroll_load_time&&void 0!==this._prerollPlayTime&&(this.data.view_preroll_load_time=t.viewer_time-this._prerollPlayTime,this.data.view_startup_preroll_load_time=t.viewer_time-this._prerollPlayTime)})),this.on("adended",(function(){this._wouldBeNewAdPlay=!0})),this.on("aderror",(function(){this._wouldBeNewAdPlay=!0}))};u.prototype.inPrerollPosition=function(){return void 0===this.data.view_content_playback_time||this.data.view_content_playback_time<=1e3},u.prototype.findAdRequest=function(e){for(var t=0;t<this._adRequests.length;t++)if(this._adRequests[t].ad_request_id===e)return this._adRequests[t]},u.prototype._updateAdData=function(e,t){if(this.inPrerollPosition()){if(!this.data.view_preroll_ad_tag_hostname&&t.ad_tag_url){var n=(0,a.extractHostnameAndDomain)(t.ad_tag_url),i=o(n,2),r=i[0],s=i[1];this.data.view_preroll_ad_tag_domain=s,this.data.view_preroll_ad_tag_hostname=r}if(!this.data.view_preroll_ad_asset_hostname&&t.ad_asset_url){var c=(0,a.extractHostnameAndDomain)(t.ad_asset_url),l=o(c,2),u=l[0],d=l[1];this.data.view_preroll_ad_asset_domain=d,this.data.view_preroll_ad_asset_hostname=u}}},t.default=u},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(){var e=this,t=void 0,n=void 0,i=function(){e.disableRebufferTracking||((0,a.default)(e.data,"view_waiting_rebuffer_count",1),t=r.default.now(),n=window.setInterval((function(){if(t){var n=r.default.now();(0,a.default)(e.data,"view_waiting_rebuffer_duration",n-t),t=n}}),250))},o=function(){e.disableRebufferTracking||t&&((0,a.default)(e.data,"view_waiting_rebuffer_duration",r.default.now()-t),t=!1,window.clearInterval(n))},s=!1,c=function(){s=!0},l=function(){s=!1,o()};this.on("waiting",(function(){s&&i()})),this.on("playing",(function(){o(),c()})),this.on("pause",l),this.on("seeking",l)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=i(n(3)),a=i(n(2))},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(){var e=this;this.one("playbackheartbeat",s),this.on("playbackheartbeatend",(function(){e.off("before*",c),e.one("playbackheartbeat",s)}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=i(n(1)),a=i(n(3)),s=function(){this.lastWallClockTime=a.default.now(),this.on("before*",c)},c=function(e){var t=a.default.now(),n=this.lastWallClockTime;this.lastWallClockTime=t,t-n>3e4&&(this.emit("devicesleep",{viewer_time:n}),(0,r.default)(this.data,{viewer_time:n}),this.send("devicesleep"),this.emit("devicewake",{viewer_time:t}),(0,r.default)(this.data,{viewer_time:t}),this.send("devicewake"))}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=i(n(0)),a=n(43),s=i(n(4)),c=i(n(56)),l=i(n(13)),u=i(n(57)),d=i(n(17)),p=i(n(58)),h=i(n(1)),f=["env_key","view_id","view_sequence_number","player_sequence_number","beacon_domain","player_playhead_time","viewer_time","mux_api_version","event","video_id","player_instance_id"],m=["viewstart","error","ended","viewend"],_=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.mux=e,this.envKey=t,this.eventQueue=new p.default((0,c.default)(t,n.beaconDomain)),this.previousBeaconData=null,this.lastEventTime=null,this.sampleRate=n.sampleRate,this.disableCookies=n.disableCookies,this.respectDoNotTrack=n.respectDoNotTrack;var i=n.platform||{};this.pageLevelData={mux_api_version:this.mux.API_VERSION,mux_embed:this.mux.NAME,mux_embed_version:this.mux.VERSION,viewer_application_name:i.name,viewer_application_version:i.version,viewer_application_engine:i.layout,viewer_device_name:i.product,viewer_device_category:"",viewer_device_manufacturer:i.manufacturer,viewer_os_family:i.os&&i.os.family,viewer_os_architecture:i.os&&i.os.architecture,viewer_os_version:i.os&&i.os.version};var o=(0,u.default)();o&&(this.pageLevelData=(0,h.default)(this.pageLevelData,{viewer_connection_type:o})),void 0!==r.default&&r.default.location&&r.default.location.href&&(this.pageLevelData.page_url=r.default.location.href),this.viewerData=this.disableCookies?{}:(0,a.getAndUpdateViewerData)()};_.prototype.send=function(e,t){if(e){if(this.respectDoNotTrack&&(0,l.default)())return s.default.info("Not sending `"+e+"` because Do Not Track is enabled");if(!t||"object"!==(void 0===t?"undefined":o(t)))return s.default.error("A data object was expected in send() but was not provided");var n=this.disableCookies?{}:(0,a.getAndUpdateSessionData)(),i={};(0,h.default)(i,this.pageLevelData),(0,h.default)(i,t),(0,h.default)(i,n),(0,h.default)(i,this.viewerData),i.event=e,i.env_key=this.envKey,i.user_id&&(i.viewer_user_id=i.user_id,delete i.user_id);var r=i.mux_sample_number>=this.sampleRate,c=this._deduplicateBeaconData(e,i),u=(0,d.default)(c);if(this.lastEventTime=this.mux.utils.now(),r)return s.default.info("Not sending event due to sample rate restriction",e,i,u);if(!this.envKey)return s.default.info("Not sending event due to missing environment key",e,i,u);if(!this.rateLimited)if(s.default.info("Sending event",e,i,u),this.rateLimited=!this.eventQueue.queueEvent(e,u),this.mux.WINDOW_UNLOADING&&"viewend"===e)this.eventQueue.destroy(!0);else if(m.indexOf(e)>=0&&this.eventQueue.flushEvents(),this.rateLimited)return i.event="eventrateexceeded",u=(0,d.default)(i),this.eventQueue.queueEvent(i.event,u),s.default.error("Beaconing disabled due to rate limit.")}},_.prototype.destroy=function(){this.eventQueue.destroy(!1)};var g=function(e,t,n,i){return!(!e||0!==t.indexOf("request_")||"request_response_headers"!==t&&"object"===(void 0===n?"undefined":o(n))&&"object"===(void 0===i?"undefined":o(i))&&Object.keys(n||{}).length===Object.keys(i||{}).length)},E=function(e,t){return"renditionchange"===e&&0===t.indexOf("video_source_")};_.prototype._deduplicateBeaconData=function(e,t){var n=this,i={},o=t.view_id;if(!o||"viewstart"===e||"viewend"===e||!this.previousBeaconData||this.mux.utils.now()-this.lastEventTime>=6e5)i=(0,h.default)({},t),o&&(this.previousBeaconData=i),o&&"viewend"===e&&(this.previousBeaconData=null);else{var r=0===e.indexOf("request");Object.keys(t).forEach((function(o){var a=t[o];(a!==n.previousBeaconData[o]||f.indexOf(o)>-1||g(r,o,a,n.previousBeaconData[o])||E(e,o))&&(i[o]=a,n.previousBeaconData[o]=a)}))}return i},t.default=_},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getAndUpdateSessionData=t.getAndUpdateViewerData=void 0;var o=i(n(15)),r=i(n(55)),a=n(7),s=i(n(3)),c=function(){var e=void 0;try{e=o.default.parse(r.default.get("muxData")||"")}catch(t){e={}}return e},l=function(e){try{r.default.set("muxData",o.default.stringify(e),{expires:7300})}catch(e){}},u=function(){var e=c();return e.mux_viewer_id=e.mux_viewer_id||(0,a.generateUUID)(),e.msn=e.msn||Math.random(),l(e),{mux_viewer_id:e.mux_viewer_id,mux_sample_number:e.msn}},d=function(){var e=c(),t=s.default.now();return e.session_start&&(e.sst=e.session_start,delete e.session_start),e.session_id&&(e.sid=e.session_id,delete e.session_id),e.session_expires&&(e.sex=e.session_expires,delete e.session_expires),(!e.sex||e.sex<t)&&(e.sid=(0,a.generateUUID)(),e.sst=t),e.sex=t+15e5,l(e),{session_id:e.sid,session_start:e.sst,session_expires:e.sex}};t.getAndUpdateViewerData=u,t.getAndUpdateSessionData=d},function(e,t,n){"use strict";var i=n(45),o=n(16),r=n(11),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,l=Array.prototype.push,u=function(e,t){l.apply(e,c(t)?t:[t])},d=Date.prototype.toISOString,p=r.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:r.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f=function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"bigint"==typeof e},m=function e(t,n,r,a,s,l,d,p,m,_,g,E,v,y,b){var S=t;if(b.has(t))throw new RangeError("Cyclic object value");if("function"==typeof d?S=d(n,S):S instanceof Date?S=_(S):"comma"===r&&c(S)&&(S=o.maybeMap(S,(function(e){return e instanceof Date?_(e):e}))),null===S){if(a)return l&&!v?l(n,h.encoder,y,"key",g):n;S=""}if(f(S)||o.isBuffer(S))return l?[E(v?n:l(n,h.encoder,y,"key",g))+"="+E(l(S,h.encoder,y,"value",g))]:[E(n)+"="+E(String(S))];var T,A=[];if(void 0===S)return A;if("comma"===r&&c(S))T=[{value:S.length>0?S.join(",")||null:void 0}];else if(c(d))T=d;else{var I=Object.keys(S);T=p?I.sort(p):I}for(var O=0;O<T.length;++O){var C=T[O],R="object"==typeof C&&void 0!==C.value?C.value:S[C];if(!s||null!==R){var N=c(S)?"function"==typeof r?r(n,C):n:n+(m?"."+C:"["+C+"]");b.set(t,!0);var P=i();u(A,e(R,N,r,a,s,l,d,p,m,_,g,E,v,y,P))}}return A},_=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=r.default;if(void 0!==e.format){if(!a.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=r.formatters[n],o=h.filter;return("function"==typeof e.filter||c(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:o,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var n,o=e,r=_(t);"function"==typeof r.filter?o=(0,r.filter)("",o):c(r.filter)&&(n=r.filter);var a,l=[];if("object"!=typeof o||null===o)return"";a=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=s[a];n||(n=Object.keys(o)),r.sort&&n.sort(r.sort);for(var p=i(),h=0;h<n.length;++h){var f=n[h];r.skipNulls&&null===o[f]||u(l,m(o[f],f,d,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,p))}var g=l.join(r.delimiter),E=!0===r.addQueryPrefix?"?":"";return r.charsetSentinel&&("iso-8859-1"===r.charset?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),g.length>0?E+g:""}},function(e,t,n){"use strict";var i=n(9),o=n(50),r=n(52),a=i("%TypeError%"),s=i("%WeakMap%",!0),c=i("%Map%",!0),l=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),f=o("Map.prototype.has",!0),m=function(e,t){for(var n,i=e;null!==(n=i.next);i=n)if(n.key===t)return i.next=n.next,n.next=e.next,e.next=n,n},_=function(e,t){var n=m(e,t);return n&&n.value},g=function(e,t,n){var i=m(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}},E=function(e,t){return!!m(e,t)};e.exports=function(){var e,t,n,i={assert:function(e){if(!i.has(e))throw new a("Side channel does not contain "+r(e))},get:function(i){if(s&&i&&("object"==typeof i||"function"==typeof i)){if(e)return l(e,i)}else if(c){if(t)return p(t,i)}else if(n)return _(n,i)},has:function(i){if(s&&i&&("object"==typeof i||"function"==typeof i)){if(e)return d(e,i)}else if(c){if(t)return f(t,i)}else if(n)return E(n,i);return!1},set:function(i,o){s&&i&&("object"==typeof i||"function"==typeof i)?(e||(e=new s),u(e,i,o)):c?(t||(t=new c),h(t,i,o)):(n||(n={key:{},next:null}),g(n,i,o))}};return i}},function(e,t,n){"use strict";var i="undefined"!=typeof Symbol&&Symbol,o=n(47);e.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&o()}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var i=Array.prototype.slice,o=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==o.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,r=i.call(arguments,1),a=function(){if(this instanceof n){var o=t.apply(this,r.concat(i.call(arguments)));return Object(o)===o?o:this}return t.apply(e,r.concat(i.call(arguments)))},s=Math.max(0,t.length-r.length),c=[],l=0;l<s;l++)c.push("$"+l);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(a),t.prototype){var u=function(){};u.prototype=t.prototype,n.prototype=new u,u.prototype=null}return n}},function(e,t,n){"use strict";var i=n(10);e.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";var i=n(9),o=n(51),r=o(i("String.prototype.indexOf"));e.exports=function(e,t){var n=i(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?o(n):n}},function(e,t,n){"use strict";var i=n(10),o=n(9),r=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||i.call(a,r),c=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=s(i,a,arguments);return c&&l&&c(t,"length").configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return s(i,r,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},function(e,t,n){function i(e,t,n){var i="double"===(n.quoteStyle||t)?'"':"'";return i+e+i}function o(e){return String(e).replace(/"/g,""")}function r(e){return!("[object Array]"!==m(e)||ne&&"object"==typeof e&&ne in e)}function a(e){return!("[object Date]"!==m(e)||ne&&"object"==typeof e&&ne in e)}function s(e){return!("[object RegExp]"!==m(e)||ne&&"object"==typeof e&&ne in e)}function c(e){return!("[object Error]"!==m(e)||ne&&"object"==typeof e&&ne in e)}function l(e){return!("[object String]"!==m(e)||ne&&"object"==typeof e&&ne in e)}function u(e){return!("[object Number]"!==m(e)||ne&&"object"==typeof e&&ne in e)}function d(e){return!("[object Boolean]"!==m(e)||ne&&"object"==typeof e&&ne in e)}function p(e){if($)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!X)return!1;try{return X.call(e),!0}catch(e){}return!1}function h(e){if(!e||"object"!=typeof e||!J)return!1;try{return J.call(e),!0}catch(e){}return!1}function f(e,t){return ie.call(e,t)}function m(e){return Y.call(e)}function _(e){if(e.name)return e.name;var t=K.call(z.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function g(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}function E(e){if(!M||!e||"object"!=typeof e)return!1;try{M.call(e);try{F.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}function v(e){if(!H||!e||"object"!=typeof e)return!1;try{H.call(e,H);try{G.call(e,G)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}function y(e){if(!W||!e||"object"!=typeof e)return!1;try{return W.call(e),!0}catch(e){}return!1}function b(e){if(!F||!e||"object"!=typeof e)return!1;try{F.call(e);try{M.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}function S(e){if(!G||!e||"object"!=typeof e)return!1;try{G.call(e,G);try{H.call(e,H)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}function T(e){return!(!e||"object"!=typeof e)&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}function A(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return A(e.slice(0,t.maxStringLength),t)+o}return i(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,I),"single",t)}function I(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function O(e){return"Object("+e+")"}function C(e){return e+" { ? }"}function R(e,t,n,i){return e+" ("+t+") {"+(i?L(n,i):n.join(", "))+"}"}function N(e){for(var t=0;t<e.length;t++)if(g(e[t],"\n")>=0)return!1;return!0}function P(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}function L(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function k(e,t){var n=r(e),i=[];if(n){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=f(e,o)?t(e[o],e):""}var a,s="function"==typeof q?q(e):[];if($){a={};for(var c=0;c<s.length;c++)a["$"+s[c]]=s[c]}for(var l in e)f(e,l)&&(n&&String(Number(l))===l&&l<e.length||$&&a["$"+l]instanceof Symbol||(/[^\w$]/.test(l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e))));if("function"==typeof q)for(var u=0;u<s.length;u++)Z.call(e,s[u])&&i.push("["+t(s[u])+"]: "+t(e[s[u]],e));return i}var w="function"==typeof Map&&Map.prototype,D=Object.getOwnPropertyDescriptor&&w?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,M=w&&D&&"function"==typeof D.get?D.get:null,x=w&&Map.prototype.forEach,U="function"==typeof Set&&Set.prototype,V=Object.getOwnPropertyDescriptor&&U?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,F=U&&V&&"function"==typeof V.get?V.get:null,B=U&&Set.prototype.forEach,H="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,G="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,W="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,j=Boolean.prototype.valueOf,Y=Object.prototype.toString,z=Function.prototype.toString,K=String.prototype.match,J="function"==typeof BigInt?BigInt.prototype.valueOf:null,q=Object.getOwnPropertySymbols,X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,$="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Z=Object.prototype.propertyIsEnumerable,Q=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),ee=n(53).custom,te=ee&&p(ee)?ee:null,ne="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;e.exports=function e(t,n,I,w){function D(t,n,i){if(n&&(w=w.slice()).push(n),i){var o={depth:U.depth};return f(U,"quoteStyle")&&(o.quoteStyle=U.quoteStyle),e(t,o,I+1,w)}return e(t,U,I+1,w)}var U=n||{};if(f(U,"quoteStyle")&&"single"!==U.quoteStyle&&"double"!==U.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(f(U,"maxStringLength")&&("number"==typeof U.maxStringLength?U.maxStringLength<0&&U.maxStringLength!==1/0:null!==U.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var V=!f(U,"customInspect")||U.customInspect;if("boolean"!=typeof V&&"symbol"!==V)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(f(U,"indent")&&null!==U.indent&&"\t"!==U.indent&&!(parseInt(U.indent,10)===U.indent&&U.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return A(t,U);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var H=void 0===U.depth?5:U.depth;if(void 0===I&&(I=0),I>=H&&H>0&&"object"==typeof t)return r(t)?"[Array]":"[Object]";var G=P(U,I);if(void 0===w)w=[];else if(g(w,t)>=0)return"[Circular]";if("function"==typeof t){var W=_(t),Y=k(t,D);return"[Function"+(W?": "+W:" (anonymous)")+"]"+(Y.length>0?" { "+Y.join(", ")+" }":"")}if(p(t)){var z=$?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):X.call(t);return"object"!=typeof t||$?z:O(z)}if(T(t)){for(var K="<"+String(t.nodeName).toLowerCase(),q=t.attributes||[],Z=0;Z<q.length;Z++)K+=" "+q[Z].name+"="+i(o(q[Z].value),"double",U);return K+=">",t.childNodes&&t.childNodes.length&&(K+="..."),K+"</"+String(t.nodeName).toLowerCase()+">"}if(r(t)){if(0===t.length)return"[]";var ee=k(t,D);return G&&!N(ee)?"["+L(ee,G)+"]":"[ "+ee.join(", ")+" ]"}if(c(t)){var ie=k(t,D);return 0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+ie.join(", ")+" }"}if("object"==typeof t&&V){if(te&&"function"==typeof t[te])return t[te]();if("symbol"!==V&&"function"==typeof t.inspect)return t.inspect()}if(E(t)){var oe=[];return x.call(t,(function(e,n){oe.push(D(n,t,!0)+" => "+D(e,t))})),R("Map",M.call(t),oe,G)}if(b(t)){var re=[];return B.call(t,(function(e){re.push(D(e,t))})),R("Set",F.call(t),re,G)}if(v(t))return C("WeakMap");if(S(t))return C("WeakSet");if(y(t))return C("WeakRef");if(u(t))return O(D(Number(t)));if(h(t))return O(D(J.call(t)));if(d(t))return O(j.call(t));if(l(t))return O(D(String(t)));if(!a(t)&&!s(t)){var ae=k(t,D),se=Q?Q(t)===Object.prototype:t instanceof Object||t.constructor===Object,ce=t instanceof Object?"":"null prototype",le=!se&&ne&&Object(t)===t&&ne in t?m(t).slice(8,-1):ce?"Object":"",ue=(se||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(le||ce?"["+[].concat(le||[],ce||[]).join(": ")+"] ":"");return 0===ae.length?ue+"{}":G?ue+"{"+L(ae,G)+"}":ue+"{ "+ae.join(", ")+" }"}return String(t)};var ie=Object.prototype.hasOwnProperty||function(e){return e in this}},function(e,t){},function(e,t,n){"use strict";var i=n(16),o=Object.prototype.hasOwnProperty,r=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t){var n,l={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,p=u.split(t.delimiter,d),h=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?f="utf-8":"utf8=%26%2310003%3B"===p[n]&&(f="iso-8859-1"),h=n,n=p.length);for(n=0;n<p.length;++n)if(n!==h){var m,_,g=p[n],E=g.indexOf("]="),v=-1===E?g.indexOf("="):E+1;-1===v?(m=t.decoder(g,a.decoder,f,"key"),_=t.strictNullHandling?null:""):(m=t.decoder(g.slice(0,v),a.decoder,f,"key"),_=i.maybeMap(c(g.slice(v+1),t),(function(e){return t.decoder(e,a.decoder,f,"value")}))),_&&t.interpretNumericEntities&&"iso-8859-1"===f&&(_=s(_)),g.indexOf("[]=")>-1&&(_=r(_)?[_]:_),o.call(l,m)?l[m]=i.combine(l[m],_):l[m]=_}return l},u=function(e,t,n,i){for(var o=i?t:c(t,n),r=e.length-1;r>=0;--r){var a,s=e[r];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(l,10);n.parseArrays||""!==l?!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=o:a[l]=o:a={0:o}}o=a}return o},d=function(e,t,n,i){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=n.depth>0&&a.exec(r),l=c?r.slice(0,c.index):r,d=[];if(l){if(!n.plainObjects&&o.call(Object.prototype,l)&&!n.allowPrototypes)return;d.push(l)}for(var p=0;n.depth>0&&null!==(c=s.exec(r))&&p<n.depth;){if(p+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;d.push(c[1])}return c&&d.push("["+r.slice(c.index)+"]"),u(d,t,n,i)}},p=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||i.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var n=p(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof e?l(e,n):e,r=n.plainObjects?Object.create(null):{},a=Object.keys(o),s=0;s<a.length;++s){var c=a[s],u=d(c,o[c],n,"string"==typeof e);r=i.merge(r,u,n)}return!0===n.allowSparse?r:i.compact(r)}},function(e,t,n){"use strict";var i,o,r="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};!function(a){var s=!1;if(void 0!==(o="function"==typeof(i=a)?i.call(t,n,t,e):i)&&(e.exports=o),s=!0,"object"===r(t)&&(e.exports=a(),s=!0),!s){var c=window.Cookies,l=window.Cookies=a();l.noConflict=function(){return window.Cookies=c,l}}}((function(){function e(n){function i(e,o,r){var a;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(r=t({path:"/"},i.defaults,r)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}return o=n.write?n.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[e,"=",o,r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}e||(a={});for(var c=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,u=0;u<c.length;u++){var d=c[u].split("="),p=d.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{var h=d[0].replace(l,decodeURIComponent);if(p=n.read?n.read(p,h):n(p,h)||p.replace(l,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(e===h){a=p;break}e||(a[h]=p)}catch(e){}}return a}}return i.set=i,i.get=function(e){return i.call(i,e)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(e,n){i(e,"",t(n,{expires:-1}))},i.withConverter=e,i}var t=function(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t};return e((function(){}))}))},function(e,t,n){"use strict";function i(e,t){return t=t||"litix.io",(e=e||"").match(/^[a-z0-9]+$/)?"https://"+e+"."+t:"https://img.litix.io/a.gif"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o=function(){var e=void 0;switch(r()){case"cellular":e="cellular";break;case"ethernet":e="wired";break;case"wifi":e="wifi";break;case void 0:break;default:e="other"}return e},r=function(){var e=i.default.navigator,t=e&&(e.connection||e.mozConnection||e.webkitConnection);return t&&t.type};t.default=o},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(0)),r=i(n(4)),a=i(n(59)),s=i(n(1)),c=i(n(17)),l=!!o.default.XMLHttpRequest&&"withCredentials"in new o.default.XMLHttpRequest,u={maxBeaconSize:300,maxQueueLength:3600,baseTimeBetweenBeacons:5e3},d=function(e,t){this._beaconUrl=e||"https://img.litix.io",this._eventQueue=[],this._postInFlight=!1,this._failureCount=0,this._sendTimeout=!1,this._options=(0,s.default)({},u,t)};d.prototype.queueEvent=function(e,t){var n=(0,s.default)({},t);return l?(this._eventQueue.length<=this._options.maxQueueLength||"eventrateexceeded"===e)&&(this._eventQueue.push(n),this._sendTimeout||this._startBeaconSending(),this._eventQueue.length<=this._options.maxQueueLength):(a.default.send(this._beaconUrl,n),!0)},d.prototype.flushEvents=function(){l&&(this._eventQueue.length&&this._sendBeaconQueue(),this._startBeaconSending())},d.prototype.destroy=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.destroyed=!0,e?this._clearBeaconQueue():this.flushEvents(),o.default.clearTimeout(this._sendTimeout)},d.prototype._clearBeaconQueue=function(){var e=o.default.navigator,t=this._eventQueue.length>this._options.maxBeaconSize?this._eventQueue.length-this._options.maxBeaconSize:0,n=this._eventQueue.slice(t);if(t>0&&(0,s.default)(n[n.length-1],(0,c.default)({mux_view_message:"event queue truncated"})),e.sendBeacon)e.sendBeacon(this._beaconUrl,JSON.stringify({events:n}));else if(o.default.XMLHttpRequest){var i=new o.default.XMLHttpRequest;i.open("POST",this._beaconUrl),i.setRequestHeader("Content-Type","application/json"),i.send(JSON.stringify({events:n}))}else a.default.send(this._beaconUrl,n[n.length-1])},d.prototype._sendBeaconQueue=function(){var e=this;if(o.default.XMLHttpRequest&&!this._postInFlight){var t=new o.default.XMLHttpRequest,n=this._eventQueue.slice(0,this._options.maxBeaconSize);this._eventQueue=this._eventQueue.slice(this._options.maxBeaconSize),this._postInFlight=!0,t.onreadystatechange=function(){4===t.readyState&&(200!==t.status?(e._eventQueue=n.concat(e._eventQueue),e._failureCount+=1,r.default.info("Error sending beacon: "+t.status),r.default.info(t.responseText)):e._failureCount=0,e._postInFlight=!1)},t.open("POST",this._beaconUrl),t.setRequestHeader("Content-Type","application/json"),t.send(JSON.stringify({events:n}))}},d.prototype._getNextBeaconTime=function(){if(!this._failureCount)return this._options.baseTimeBetweenBeacons;var e=Math.pow(2,this._failureCount-1);return(1+(e*=Math.random()))*this._options.baseTimeBetweenBeacons},d.prototype._startBeaconSending=function(){var e=this;o.default.clearTimeout(this._sendTimeout),this.destroyed||(this._sendTimeout=o.default.setTimeout((function(){e._eventQueue.length&&e._sendBeaconQueue(),e._startBeaconSending()}),this._getNextBeaconTime()))},t.default=d},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(15)),r=i(n(0)),a={send:function(e,t){function n(){i.src=s+(a?"&rc="+a:"")}var i=new Image,a=0,s=e+"?"+o.default.stringify(t);return i.addEventListener("error",(function(){a>3||r.default.setTimeout((function(){a++,n()}),5e3*a)})),n(),i}};t.default=a},function(e,t,n){"use strict";function i(){function e(e,t){var n=t.request_start,c=t.request_response_start,l=t.request_response_end,u=t.request_bytes_loaded;a++;var d=void 0,p=void 0;if(c?(d=c-n,p=l-c):p=l-n,p>0&&u>0){var h=u/p*8e3;s++,o+=u,r+=p,this.data.view_min_request_throughput=Math.min(this.data.view_min_request_throughput||1/0,h),this.data.view_average_request_throughput=o/r*8e3,this.data.view_request_count=a,d>0&&(i+=d,this.data.view_max_request_latency=Math.max(this.data.view_max_request_latency||0,d),this.data.view_average_request_latency=i/s)}}function t(e,t){a++,c++,this.data.view_request_count=a,this.data.view_request_failed_count=c}function n(e,t){a++,l++,this.data.view_request_count=a,this.data.view_request_canceled_count=l}var i=0,o=0,r=0,a=0,s=0,c=0,l=0;this.on("requestcompleted",e),this.on("requestfailed",t),this.on("requestcanceled",n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i},function(e,t,n){"use strict";function i(e,t,n){var i=(0,s.findMediaElement)(t),u=r(i,3),d=u[0],p=u[1],h=u[2],f=e.log,m=e.utils.getComputedStyle,_=e.utils.secondsToMs,g={automaticErrorTracking:!0};if(!d)return f.error("No element was found with the `"+p+"` query selector.");if("video"!==h&&"audio"!==h)return f.error("The element of `"+p+"` was not a media element.");(n=(0,a.default)(g,n)).data=(0,a.default)({player_software:"HTML5 Video Element",player_software_version:"No Versions",player_mux_plugin_name:"VideoElementMonitor",player_mux_plugin_version:"4.2.3"},n.data),n.getPlayheadTime=function(){return _(d.currentTime)},n.getStateData=function(){var e=this.hlsjs&&this.hlsjs.url,t=this.dashjs&&o("function"===this.dashjs.getSource)&&this.dashjs.getSource();return{player_is_paused:d.paused,player_playhead_time:_(d.currentTime),player_width:parseInt(m(d,"width")),player_height:parseInt(m(d,"height")),player_autoplay_on:d.autoplay,player_preload_on:d.preload,video_poster_url:d.poster,video_source_url:e||t||d.currentSrc,video_source_duration:_(d.duration),video_source_height:d.videoHeight,video_source_width:d.videoWidth}},d.mux=d.mux||{},d.mux.deleted=!1,d.mux.emit=function(t,n){e.emit(p,t,n)};var E=function(){f.error("The monitor for this video element has already been destroyed.")};d.mux.destroy=function(){Object.keys(d.mux.listeners).forEach((function(e){d.removeEventListener(e,d.mux.listeners[e],!1)})),delete d.mux.listeners,d.mux.destroy=E,d.mux.swapElement=E,d.mux.emit=E,d.mux.addHLSJS=E,d.mux.addDashJS=E,d.mux.removeHLSJS=E,d.mux.removeDashJS=E,d.mux.deleted=!0,e.emit(p,"destroy")},d.mux.swapElement=function(t){var n=(0,s.findMediaElement)(t),i=r(n,3),o=i[0],c=i[1],l=i[2];return o?"video"!==l&&"audio"!==l?e.log.error("The element of `"+c+"` was not a media element."):(o.muxId=d.muxId,delete d.muxId,o.mux=o.mux||{},o.mux.listeners=(0,a.default)({},d.mux.listeners),delete d.mux.listeners,Object.keys(o.mux.listeners).forEach((function(e){d.removeEventListener(e,o.mux.listeners[e],!1),o.addEventListener(e,o.mux.listeners[e],!1)})),o.mux.swapElement=d.mux.swapElement,o.mux.destroy=d.mux.destroy,delete d.mux,void(d=o)):e.log.error("No element was found with the `"+c+"` query selector.")},d.mux.addHLSJS=function(t){e.addHLSJS(p,t)},d.mux.addDashJS=function(t){e.addDashJS(p,t)},d.mux.removeHLSJS=function(){e.removeHLSJS(p)},d.mux.removeDashJS=function(){e.removeDashJS(p)},e.init(p,n),e.emit(p,"playerready"),d.paused||(e.emit(p,"play"),d.readyState>2&&e.emit(p,"playing")),d.mux.listeners={},c.forEach((function(t){("error"!==t||n.automaticErrorTracking)&&(d.mux.listeners[t]=function(){var n={};if("error"===t){if(!d.error)return;n.player_error_code=d.error.code,n.player_error_message=l[d.error.code]||d.error.message}e.emit(p,t,n)},d.addEventListener(t,d.mux.listeners[t],!1))}))}Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function(){function e(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&s.return&&s.return()}finally{if(o)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=i;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),s=n(12),c=["loadstart","pause","play","playing","seeking","seeked","timeupdate","ratechange","stalled","waiting","error","ended"],l={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"}},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(63)),r=i(n(2)),a=i(n(64)),s=i(n(65)),c=i(n(1)),l=i(n(8)),u=n(5),d=i(n(3)),p={};p.safeCall=o.default,p.safeIncrement=r.default,p.getComputedStyle=a.default,p.secondsToMs=s.default,p.assign=c.default,p.headersStringToObject=l.default,p.extractHostnameAndDomain=u.extractHostnameAndDomain,p.extractHostname=u.extractHostname,p.now=d.default.now,t.default=p},function(e,t,n){"use strict";function i(e,t,n,i){var r=i;if(e&&"function"==typeof e[t])try{r=e[t].apply(e,n)}catch(e){o.default.info("safeCall error",e)}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(4))},function(e,t,n){"use strict";function i(e,t){if(e&&t&&o.default&&"function"==typeof o.default.getComputedStyle){var n=void 0;return r&&r.has(e)&&(n=r.get(e)),n||(n=o.default.getComputedStyle(e,null),r&&r.set(e,n)),n.getPropertyValue(t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),r=void 0;o.default&&o.default.WeakMap&&(r=new WeakMap)},function(e,t,n){"use strict";function i(e){return Math.floor(1e3*e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i}])},6367:(e,t,n)=>{"use strict";n.d(t,{ArtistNpv:()=>Ot});var i=n(30758);function o(e){return i.createElement("div",{className:`npv-video-overlay npv-video-overlay--${e.mediaType} ${e.isActive&&"npv-video-overlay--active"} ${e.trackMetadataVisible&&"npv-video-overlay--visible"}`},i.createElement("div",{className:`npv-video-overlay-top ${e.contextMetadataVisible&&"npv-video-overlay-top--active"}`}))}const r=i.createContext((()=>0)),a=i.createContext(0);function s(){const e=(0,i.useContext)(r);return(0,i.useMemo)(e,[e])}function c(){return(0,i.useContext)(a)}function l(e=0,t){const n=36e5,i=Math.floor(e/1e3),o=Math.floor(i/60),r=u(o%60),a=u(i%60);if(void 0===t?e>=n:t>=n){return`${u(Math.floor(o/60))}:${r}:${a}`}return`${r}:${a}`}function u(e){return e<10?`0${e}`:`${e}`}var d=n(94079);const p=({visible:e,children:t,disableAnimationsAndTransitions:n=!1,classNames:o="fade-in-and-out-transition",timeout:r=500,onEnter:a,onEntered:s,onExit:c,onExited:l})=>t?n?e?i.createElement(i.Fragment,null,t):null:i.createElement(d.A,{in:e,appear:!0,mountOnEnter:!0,unmountOnExit:!0,classNames:o,timeout:r,onEnter:a,onEntered:s,onExit:c,onExited:l},t):null;function h(e){const t={animation:function(e,t=1){const n=s(),[o,r]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const e=setTimeout((()=>r(!1)),100);return r(!0),()=>clearTimeout(e)}),[n,e]),function(e,i){return void 0===e?"":`${"spotifyinternal-artistnpv-"+(o?"progress-reset":"progress")} ${e/t}ms linear -${n}ms ${i?"paused":"running"}`}}(e.duration,e.playbackSpeed)(e.duration,e.isPaused)};return i.createElement(p,{visible:e.progressBarVisible,disableAnimationsAndTransitions:e.disableAnimationsAndTransitions,classNames:`npv-progress-bar-transition--${e.mediaType}`},i.createElement("div",{className:"npv-progress-bar"},i.createElement("div",{className:"npv-progress-bar__bar"},i.createElement("div",{className:"npv-progress-bar__rail"}),i.createElement("div",{className:"npv-progress-bar__mark",style:t})),i.createElement("div",{className:"npv-progress-bar__timestamp"},i.createElement("time",{className:"npv-progress-bar__time npv-progress-bar__position"},i.createElement(f,{duration:e.duration})),i.createElement("time",{className:"npv-progress-bar__time npv-progress-bar__duration"},l(e.duration)))))}function f({duration:e}){const t=c();return i.createElement(i.Fragment,null,l(t,e))}const m=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z"}),i.createElement("path",{d:"M7.25 9V4h1.5v5h-1.5zm0 3.026v-1.5h1.5v1.5h-1.5z"})),_=(0,i.memo)(m),g=e=>{var t;return i.createElement(i.Fragment,null,i.createElement(_,{className:"npv-modal__icon"}),i.createElement("p",{className:"npv-modal__text"},null===(t=e.l10n)||void 0===t?void 0:t.title),e.errorDetails&&i.createElement("p",{className:"npv-modal__text npv-modal__details"},e.errorDetails))},E=({indicatorSize:e="md",className:t})=>i.createElement("div",{className:`${t} npv-loading-indicator`},i.createElement("div",{className:`npv-loading-indicator__circle npv-loading-indicator__circle--${e}`}),i.createElement("div",{className:`npv-loading-indicator__circle npv-loading-indicator__circle--${e}`}),i.createElement("div",{className:`npv-loading-indicator__circle npv-loading-indicator__circle--${e}`})),v=()=>i.createElement(E,null),y=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M1.665 15.226a.67.67 0 0 0 .915-.245l7.675-13.292a.67.67 0 1 0-1.161-.67L7.95 3H5a5 5 0 0 0-2.453 9.358L1.42 14.31a.67.67 0 0 0 .245.915zm1.632-4.167A3.5 3.5 0 0 1 5 4.5h2.084l-3.787 6.559zm2.368 4.167a.67.67 0 0 0 .915-.245L7.724 13H11a5 5 0 0 0 2.203-9.49l1.052-1.82a.67.67 0 1 0-1.161-.671L5.42 14.311a.67.67 0 0 0 .245.915zM12.45 4.814A3.501 3.501 0 0 1 11 11.5H8.59l3.86-6.686z"})),b=(0,i.memo)(y),S=e=>{var t;return i.createElement(i.Fragment,null,i.createElement(b,{className:"npv-modal__icon"}),i.createElement("p",{className:"npv-modal__text"},null===(t=e.l10n)||void 0===t?void 0:t.title))},T={ar:JSON.parse('{"ERROR_GENERIC":"حدث خطأ ما","PLAYING_FROM_X":"أنت تستمع إلى الأغاني من {CONTEXT}","CONTEXT_ALBUM":"ألبوم","CONTEXT_SEARCH":"بحث","CONTEXT_TRACK":"مقطع صوتي","CONTEXT_PLAYLIST":"قائمة الأغاني","CONTEXT_COLLECTION":"مجموعة","CONTEXT_RADIO":"راديو","CONTEXT_STATION":"راديو","CONTEXT_EPISODE":"بودكاست","CONTEXT_SHOW":"عرض","CONTEXT_ARTIST":"فنان","CONTEXT_AUDIOBOOK":"كتاب صوتي","NOTIFICATION_UP_NEXT":"التالي","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"يبدو أنه ليس لدينا كلمات لهذه الأغنية.","NO_LYRICS_MSG_2":"عذراً، ما زلنا نحاول الحصول على الكلمات.","NO_LYRICS_MSG_3":"نحن لا نعرف كلمات هذه الأغنية.","NO_LYRICS_MSG_4":"للأسف، عليك تخمين الكلمات بنفسك.","LYRICS_CREDITS":"مُرخّصة ومزوّدة من قِبل {PROVIDER}","LYRICS_UNSYNCED":"لم تتم مزامنة هذه الكلمات مع الأغنية حتى الآن.","LYRICS_ERROR_MESSAGE":"تعذَّر تحميل كلمات هذه الأغنية. يرجى إعادة المحاولة لاحقاً."}'),cs:JSON.parse('{"ERROR_GENERIC":"Něco se pokazilo.","PLAYING_FROM_X":"Zdroj pro přehrávání: {CONTEXT}","CONTEXT_ALBUM":"Album","CONTEXT_SEARCH":"hledání","CONTEXT_TRACK":"nahrávka","CONTEXT_PLAYLIST":"Playlist","CONTEXT_COLLECTION":"sbírka","CONTEXT_RADIO":"rádio","CONTEXT_STATION":"rádio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"pořad","CONTEXT_ARTIST":"umělec","CONTEXT_AUDIOBOOK":"audioknihy","NOTIFICATION_UP_NEXT":"Následuje","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Vypadá to, že text téhle skladby nemáme.","NO_LYRICS_MSG_2":"Teď jsi nás načapal/a, stále se snažíme získat text.","NO_LYRICS_MSG_3":"Hmm. K tomu text neznáme.","NO_LYRICS_MSG_4":"Promiň, ale text si budeš muset domyslet.","LYRICS_CREDITS":"Licencuje a poskytuje: {PROVIDER}","LYRICS_UNSYNCED":"Tenhle text ještě není synchronizovaný se skladbou.","LYRICS_ERROR_MESSAGE":"Text skladby se nepodařilo načíst. Zkus to prosím později."}'),de:JSON.parse('{"ERROR_GENERIC":"Irgendwas ist schiefgelaufen.","PLAYING_FROM_X":"Wiedergabe von {CONTEXT}","CONTEXT_ALBUM":"Album","CONTEXT_SEARCH":"Suche","CONTEXT_TRACK":"Titel","CONTEXT_PLAYLIST":"Playlist","CONTEXT_COLLECTION":"Sammlung","CONTEXT_RADIO":"Radio","CONTEXT_STATION":"Radio","CONTEXT_EPISODE":"Podcast","CONTEXT_SHOW":"Show","CONTEXT_ARTIST":"Künstler*in","CONTEXT_AUDIOBOOK":"Hörbuch","NOTIFICATION_UP_NEXT":"Als Nächstes","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Leider haben wir den Text zu diesem Song nicht.","NO_LYRICS_MSG_2":"Jetzt hast du uns erwischt, wir arbeiten noch am Songtext.","NO_LYRICS_MSG_3":"Hmm. Wir kennen den Text zu diesem Song leider nicht.","NO_LYRICS_MSG_4":"Tut uns leid, bei diesem Song musst du beim Text improvisieren.","LYRICS_CREDITS":"Lizenzierung und Bereitstellung durch {PROVIDER}","LYRICS_UNSYNCED":"Dieser Songtext ist noch nicht auf den Song abgestimmt.","LYRICS_ERROR_MESSAGE":"Der Text zu diesem Song konnte nicht geladen werden. Versuch’s später nochmal."}'),el:JSON.parse('{"ERROR_GENERIC":"Κάτι δεν πήγε καλά","PLAYING_FROM_X":"Αναπαραγωγή από {CONTEXT}","CONTEXT_ALBUM":"άλμπουμ","CONTEXT_SEARCH":"αναζήτηση","CONTEXT_TRACK":"κομμάτι","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"συλλογή","CONTEXT_RADIO":"ραδιόφωνο","CONTEXT_STATION":"ραδιόφωνο","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"εκπομπή","CONTEXT_ARTIST":"καλλιτέχνης","CONTEXT_AUDIOBOOK":"Ηχητικό βιβλίο","NOTIFICATION_UP_NEXT":"ΕΠΟΜΕΝΟ","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Φαίνεται ότι δεν έχουμε τους στίχους αυτού του τραγουδιού.","NO_LYRICS_MSG_2":"Μας τσάκωσες, ακόμα προσπαθούμε να βρούμε τους στίχους.","NO_LYRICS_MSG_3":"Χμ... Δεν ξέρουμε τους στίχους του.","NO_LYRICS_MSG_4":"Συγγνώμη. Θα πρέπει να μαντέψεις τους στίχους.","LYRICS_CREDITS":"Οι στίχοι παρέχονται κατόπιν άδειας από την {PROVIDER}","LYRICS_UNSYNCED":"Αυτοί οι στίχοι δεν είναι ακόμα συγχρονισμένοι με το τραγούδι.","LYRICS_ERROR_MESSAGE":"Δεν ήταν δυνατή η φόρτωση των στίχων γι\' αυτό το τραγούδι. Δοκίμασε ξανά αργότερα."}'),en:JSON.parse('{"ERROR_GENERIC":"Something went wrong","PLAYING_FROM_X":"Playing from {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"search","CONTEXT_TRACK":"track","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"collection","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"show","CONTEXT_ARTIST":"artist","CONTEXT_AUDIOBOOK":"audiobook","NOTIFICATION_UP_NEXT":"Up Next","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Looks like we don\'t have the lyrics to this song.","NO_LYRICS_MSG_2":"You caught us, we\'re still working on getting lyrics.","NO_LYRICS_MSG_3":"Hmm. We don\'t know the lyrics for this one.","NO_LYRICS_MSG_4":"Sorry, you\'ll have to guess the lyrics.","LYRICS_CREDITS":"Licensed & Provided by {PROVIDER}","LYRICS_UNSYNCED":"These lyrics aren’t synced to the song yet.","LYRICS_ERROR_MESSAGE":"Couldn’t load the lyrics for this song. Try again later."}'),"es-419":JSON.parse('{"ERROR_GENERIC":"Algo salió mal","PLAYING_FROM_X":"Reproduciendo desde {CONTEXT}","CONTEXT_ALBUM":"álbum","CONTEXT_SEARCH":"buscar","CONTEXT_TRACK":"canción","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"colección","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"programa","CONTEXT_ARTIST":"artista","CONTEXT_AUDIOBOOK":"audiolibro","NOTIFICATION_UP_NEXT":"Siguiente","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Parece que no tenemos la letra de esta canción.","NO_LYRICS_MSG_2":"Nos descubriste, todavía estamos trabajando para conseguir la letra.","NO_LYRICS_MSG_3":"Mmm… No nos sabemos esta letra.","NO_LYRICS_MSG_4":"Lo sentimos, tendrás que adivinar la letra esta vez.","LYRICS_CREDITS":"Licencias y distribución por {PROVIDER}","LYRICS_UNSYNCED":"La letra todavía no está sincronizada con la canción.","LYRICS_ERROR_MESSAGE":"No se pudo cargar la letra de esta canción. Inténtalo de nuevo más tarde."}'),es:JSON.parse('{"ERROR_GENERIC":"Algo no ha ido como debía","PLAYING_FROM_X":"Reproduciendo desde {CONTEXT}","CONTEXT_ALBUM":"álbum","CONTEXT_SEARCH":"buscar","CONTEXT_TRACK":"canción","CONTEXT_PLAYLIST":"lista","CONTEXT_COLLECTION":"colección","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"pódcast","CONTEXT_SHOW":"programa","CONTEXT_ARTIST":"artista","CONTEXT_AUDIOBOOK":"audiolibro","NOTIFICATION_UP_NEXT":"A continuación","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Parece que no tenemos la letra de esta canción.","NO_LYRICS_MSG_2":"¡Nos has pillado! Aún estamos aprendiéndonos la letra de esta.","NO_LYRICS_MSG_3":"Vaya. La verdad es que no nos sabemos la letra de esta.","NO_LYRICS_MSG_4":"Lo sentimos, pero la letra de esta la vas a tener que sacar tú.","LYRICS_CREDITS":"Letra licenciada y proporcionada por {PROVIDER}","LYRICS_UNSYNCED":"Esta letra aún no está sincronizada con la canción.","LYRICS_ERROR_MESSAGE":"No se ha podido cargar la letra de esta canción. Inténtalo de nuevo más tarde."}'),fi:JSON.parse('{"ERROR_GENERIC":"Jotain meni vikaan","PLAYING_FROM_X":"Toistetaan täältä: {CONTEXT}","CONTEXT_ALBUM":"albumi","CONTEXT_SEARCH":"haku","CONTEXT_TRACK":"kappale","CONTEXT_PLAYLIST":"soittolista","CONTEXT_COLLECTION":"kokoelma","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"ohjelma","CONTEXT_ARTIST":"artisti","CONTEXT_AUDIOBOOK":"äänikirja","NOTIFICATION_UP_NEXT":"Seuraavana vuorossa","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Vaikuttaa siltä, että meillä ei ole tämän kappaleen sanoja.","NO_LYRICS_MSG_2":"Kiinni jäimme. Sanat ovat vielä työn alla.","NO_LYRICS_MSG_3":"Hmm. Emme tiedä tämän sanoja.","NO_LYRICS_MSG_4":"Pahoittelut, sinun täytyy toistaiseksi yrittää kuunnella sanoja itse.","LYRICS_CREDITS":"Lisenssin haltija ja tarjoaja: {PROVIDER}","LYRICS_UNSYNCED":"Näitä sanoja ei ole vielä synkronoitu kappaleeseen.","LYRICS_ERROR_MESSAGE":"Tämän kappaleen sanoja ei voitu ladata. Yritä myöhemmin uudelleen."}'),"fr-CA":JSON.parse('{"ERROR_GENERIC":"Une erreur s\'est produite","PLAYING_FROM_X":"Lecture à partir de {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"rechercher","CONTEXT_TRACK":"titre","CONTEXT_PLAYLIST":"liste de lecture","CONTEXT_COLLECTION":"collection","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"balado","CONTEXT_SHOW":"émission","CONTEXT_ARTIST":"artiste","CONTEXT_AUDIOBOOK":"Livre audio","NOTIFICATION_UP_NEXT":"Prochains titres","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"On dirait que nous n\'avons pas les paroles de cette chanson.","NO_LYRICS_MSG_2":"Vous avez été trop rapide pour nous, nous tentons d\'obtenir les paroles.","NO_LYRICS_MSG_3":"Hum. Nous ne connaissons pas les paroles de cette chanson.","NO_LYRICS_MSG_4":"Nous sommes désolés! Vous devrez deviner les paroles.","LYRICS_CREDITS":"Autorisées et fournies par {PROVIDER}","LYRICS_UNSYNCED":"Ces paroles ne sont pas encore synchronisées avec la chanson.","LYRICS_ERROR_MESSAGE":"Impossible de charger les paroles de cette chanson. Réessayez plus tard."}'),fr:JSON.parse('{"ERROR_GENERIC":"Une erreur s\'est produite.","PLAYING_FROM_X":"Lecture à partir de {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"rechercher","CONTEXT_TRACK":"titre","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"collection","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"émission","CONTEXT_ARTIST":"artiste","CONTEXT_AUDIOBOOK":"livre audio","NOTIFICATION_UP_NEXT":"Prochains titres","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Il semble que nous ne disposions pas des paroles de ce titre.","NO_LYRICS_MSG_2":"Vous nous avez pris de court, nous essayons encore d\'obtenir les paroles.","NO_LYRICS_MSG_3":"Hum, nous ne connaissons pas les paroles de ce titre.","NO_LYRICS_MSG_4":"Désolés, vous allez devoir deviner les paroles.","LYRICS_CREDITS":"Autorisées sous licence et fournies par {PROVIDER}","LYRICS_UNSYNCED":"Ces paroles n\'ont pas encore été synchronisées avec le titre.","LYRICS_ERROR_MESSAGE":"Impossible de charger les paroles de ce titre. Veuillez réessayer plus tard."}'),hu:JSON.parse('{"ERROR_GENERIC":"Valami hiba történt","PLAYING_FROM_X":"Lejátszás: {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"keresés","CONTEXT_TRACK":"szám","CONTEXT_PLAYLIST":"műsorlista","CONTEXT_COLLECTION":"gyűjtemény","CONTEXT_RADIO":"rádió","CONTEXT_STATION":"rádió","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"műsor","CONTEXT_ARTIST":"előadó","CONTEXT_AUDIOBOOK":"hangoskönyv","NOTIFICATION_UP_NEXT":"Program","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Úgy tűnik, nincs meg nekünk a dal szövege.","NO_LYRICS_MSG_2":"Most lebuktunk, még dolgozunk ennek a dalszövegnek a megszerzésén.","NO_LYRICS_MSG_3":"Hmm. Ennek a dalnak nem tudjuk a szövegét.","NO_LYRICS_MSG_4":"Bocsi, de muszáj lesz egyedül kitalálnod a dalszöveget.","LYRICS_CREDITS":"Tulajdonos és szolgáltató: {PROVIDER}","LYRICS_UNSYNCED":"Ezt a dalszöveget még nem szinkronizáltuk a dallal.","LYRICS_ERROR_MESSAGE":"Nem sikerült betölteni a dalszöveget ehhez a dalhoz. Próbálkozz újra később."}'),id:JSON.parse('{"ERROR_GENERIC":"Ada yang salah","PLAYING_FROM_X":"Memutar dari {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"cari","CONTEXT_TRACK":"track","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"koleksi","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"acara","CONTEXT_ARTIST":"artis","CONTEXT_AUDIOBOOK":"buku audio","NOTIFICATION_UP_NEXT":"Berikutnya","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Tampaknya kami tidak punya lirik lagu ini.","NO_LYRICS_MSG_2":"Ups, kami masih terus berusaha mengumpulkan lirik.","NO_LYRICS_MSG_3":"Hmm. Kami juga tidak tahu lirik lagu ini.","NO_LYRICS_MSG_4":"Maaf, kamu harus menebak liriknya.","LYRICS_CREDITS":"Berlisensi & Disediakan oleh {PROVIDER}","LYRICS_UNSYNCED":"Lirik ini belum disinkronkan ke lagu.","LYRICS_ERROR_MESSAGE":"Tidak bisa memuat lirik untuk lagu ini. Coba lagi nanti."}'),it:JSON.parse('{"ERROR_GENERIC":"Si è verificato un problema","PLAYING_FROM_X":"Riproduzione da {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"ricerca","CONTEXT_TRACK":"brano","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"libreria","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"show","CONTEXT_ARTIST":"artista","CONTEXT_AUDIOBOOK":"audiolibro","NOTIFICATION_UP_NEXT":"In coda","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Il testo di questo brano non è disponibile.","NO_LYRICS_MSG_2":"Ci hai beccato: stiamo ancora lavorando per rendere disponibile il testo di questo brano.","NO_LYRICS_MSG_3":"Uhm. Non conosciamo il testo di questo brano.","NO_LYRICS_MSG_4":"Siamo spiacenti! Dovrai scoprire tu il testo di questo brano.","LYRICS_CREDITS":"Testo fornito in licenza da {PROVIDER}","LYRICS_UNSYNCED":"Questo testo non è ancora sincronizzato con il brano.","LYRICS_ERROR_MESSAGE":"Impossibile caricare il testo di questo brano. Riprova più tardi."}'),ja:JSON.parse('{"ERROR_GENERIC":"エラーが発生したようです","PLAYING_FROM_X":"{CONTEXT} から再生中","CONTEXT_ALBUM":"アルバム","CONTEXT_SEARCH":"検索","CONTEXT_TRACK":"曲","CONTEXT_PLAYLIST":"プレイリスト","CONTEXT_COLLECTION":"コレクション","CONTEXT_RADIO":"ラジオ","CONTEXT_STATION":"ラジオ","CONTEXT_EPISODE":"ポッドキャスト","CONTEXT_SHOW":"ショー","CONTEXT_ARTIST":"アーティスト","CONTEXT_AUDIOBOOK":"オーディオブック","NOTIFICATION_UP_NEXT":"次はこちら","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"この曲の歌詞情報がありません。","NO_LYRICS_MSG_2":"歌詞情報は現在収集中です。","NO_LYRICS_MSG_3":"申し訳ありません。この曲の歌詞情報がありません。","NO_LYRICS_MSG_4":"申し訳ありません。歌詞情報は準備できていません。","LYRICS_CREDITS":"ライセンス&歌詞提供:{PROVIDER}","LYRICS_UNSYNCED":"この歌詞はまだ曲と同期されていません。","LYRICS_ERROR_MESSAGE":"この楽曲の歌詞を読み込めませんでした。しばらくしてから、再度お試しください。"}'),ko:JSON.parse('{"ERROR_GENERIC":"문제가 발생했습니다","PLAYING_FROM_X":"{CONTEXT}에서 재생","CONTEXT_ALBUM":"앨범","CONTEXT_SEARCH":"검색하기","CONTEXT_TRACK":"트랙","CONTEXT_PLAYLIST":"플레이리스트","CONTEXT_COLLECTION":"컬렉션","CONTEXT_RADIO":"라디오","CONTEXT_STATION":"라디오","CONTEXT_EPISODE":"팟캐스트","CONTEXT_SHOW":"Show","CONTEXT_ARTIST":"아티스트","CONTEXT_AUDIOBOOK":"오디오북","NOTIFICATION_UP_NEXT":"다음 순서","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"이 곡은 아직 가사가 없는 것 같습니다.","NO_LYRICS_MSG_2":"죄송합니다. 가사를 아직 준비 중입니다.","NO_LYRICS_MSG_3":"죄송합니다. 가사를 찾을 수 없습니다.","NO_LYRICS_MSG_4":"죄송합니다. 가사가 제공되지 않습니다.","LYRICS_CREDITS":"라이선스 소유 및 가사 제공: {PROVIDER}","LYRICS_UNSYNCED":"가사가 아직 동기화되지 않았습니다.","LYRICS_ERROR_MESSAGE":"이 곡의 가사를 로드할 수 없습니다. 나중에 다시 시도하세요."}'),ms:JSON.parse('{"ERROR_GENERIC":"Sesuatu kesilapan berlaku","PLAYING_FROM_X":"Memainkan dari {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"cari","CONTEXT_TRACK":"lagu","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"koleksi","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"rancangan","CONTEXT_ARTIST":"artis","CONTEXT_AUDIOBOOK":"buku audio","NOTIFICATION_UP_NEXT":"Seterusnya","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Nampaknya kami tiada lirik untuk lagu ini.","NO_LYRICS_MSG_2":"Kami mengaku, kami masih berusaha mendapatkan lirik ini.","NO_LYRICS_MSG_3":"Hmm. Kami tidak tahu lirik untuk lagu ini.","NO_LYRICS_MSG_4":"Maaf, anda perlu meneka lirik ini sendiri.","LYRICS_CREDITS":"Dilesenkan & Disediakan oleh {PROVIDER}","LYRICS_UNSYNCED":"Lirik ini belum disegerakkan dengan lagu tersebut.","LYRICS_ERROR_MESSAGE":"Tidak dapat memuatkan lirik untuk lagu ini. Cuba lagi kemudian."}'),nl:JSON.parse('{"ERROR_GENERIC":"Er is iets fout gegaan.","PLAYING_FROM_X":"Afspelen vanaf {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"zoeken","CONTEXT_TRACK":"nummer","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"verzameling","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"show","CONTEXT_ARTIST":"artiest","CONTEXT_AUDIOBOOK":"luisterboek","NOTIFICATION_UP_NEXT":"Wachtrij","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Voor dit nummer hebben we geen songtekst.","NO_LYRICS_MSG_2":"Je hebt ons betrapt, we zijn nog steeds bezig met de songtekst.","NO_LYRICS_MSG_3":"Hmm. Hier kennen we de songtekst niet van.","NO_LYRICS_MSG_4":"Helaas! Je zal goed moeten luisteren wat de songtekst is.","LYRICS_CREDITS":"Aangeboden door en onder licentie van {PROVIDER}","LYRICS_UNSYNCED":"Deze songtekst is nog niet gesynchroniseerd met het nummer.","LYRICS_ERROR_MESSAGE":"Kan de songtekst van dit nummer niet laden. Probeer het later opnieuw."}'),pl:JSON.parse('{"ERROR_GENERIC":"Coś się nie udało","PLAYING_FROM_X":"Odtwarzanie z {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"wyszukaj","CONTEXT_TRACK":"utwór","CONTEXT_PLAYLIST":"playlista","CONTEXT_COLLECTION":"kolekcja","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"program","CONTEXT_ARTIST":"artysta","CONTEXT_AUDIOBOOK":"audiobooka","NOTIFICATION_UP_NEXT":"Następne","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Chyba nie mamy tekstu tego utworu.","NO_LYRICS_MSG_2":"I tu nas masz. Ciągle staramy się zdobyć tekst tej piosenki.","NO_LYRICS_MSG_3":"Hmmm. My też nie znamy tekstu.","NO_LYRICS_MSG_4":"Przykro nam, musisz improwizować bez tekstu.","LYRICS_CREDITS":"Licencja i udostępnienie: {PROVIDER}","LYRICS_UNSYNCED":"Ten tekst nie jest jeszcze zsynchronizowany czasowo z utworem.","LYRICS_ERROR_MESSAGE":"Nie udało się pobrać tekstu utworu. Spróbuj ponownie później."}'),"pt-BR":JSON.parse('{"ERROR_GENERIC":"Algo deu errado","PLAYING_FROM_X":"Tocando de {CONTEXT}","CONTEXT_ALBUM":"álbum","CONTEXT_SEARCH":"buscar","CONTEXT_TRACK":"faixa","CONTEXT_PLAYLIST":"playlist","CONTEXT_COLLECTION":"coleção","CONTEXT_RADIO":"rádio","CONTEXT_STATION":"rádio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"programa","CONTEXT_ARTIST":"artista","CONTEXT_AUDIOBOOK":"audiolivro","NOTIFICATION_UP_NEXT":"Próxima","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Parece que nós não temos a letra desta música.","NO_LYRICS_MSG_2":"Ih, foi mal! Ainda estamos aprendendo a cantar esta.","NO_LYRICS_MSG_3":"Hmm. Parece que ainda não aprendemos esta letra.","NO_LYRICS_MSG_4":"Eita! Essa letra você vai ter que inventar.","LYRICS_CREDITS":"Licenciada e oferecida por {PROVIDER}","LYRICS_UNSYNCED":"A letra ainda não foi sincronizada com a música.","LYRICS_ERROR_MESSAGE":"Não foi possível carregar a letra desta música. Tente de novo mais tarde."}'),ru:JSON.parse('{"ERROR_GENERIC":"Что-то пошло не так","PLAYING_FROM_X":"Источник: {CONTEXT}","CONTEXT_ALBUM":"альбом","CONTEXT_SEARCH":"поиск","CONTEXT_TRACK":"трек","CONTEXT_PLAYLIST":"плейлист","CONTEXT_COLLECTION":"коллекция","CONTEXT_RADIO":"радио","CONTEXT_STATION":"радио","CONTEXT_EPISODE":"подкаст","CONTEXT_SHOW":"шоу","CONTEXT_ARTIST":"исполнитель","CONTEXT_AUDIOBOOK":"аудиокнига","NOTIFICATION_UP_NEXT":"Далее","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Похоже, у нас нет текста этой песни.","NO_LYRICS_MSG_2":"Увы! Этого текста у нас пока нет.","NO_LYRICS_MSG_3":"Вот так да! Мы не знаем текста этой песни.","NO_LYRICS_MSG_4":"Текста пока нет, придется фантазировать.","LYRICS_CREDITS":"Лицензиар и источник: {PROVIDER}.","LYRICS_UNSYNCED":"Текст этой песни пока не синхронизирован.","LYRICS_ERROR_MESSAGE":"Не удалось загрузить текст песни. Попробуй позже."}'),sv:JSON.parse('{"ERROR_GENERIC":"Något blev fel","PLAYING_FROM_X":"Spelar upp från {CONTEXT}","CONTEXT_ALBUM":"Det här albumet","CONTEXT_SEARCH":"sök","CONTEXT_TRACK":"spår","CONTEXT_PLAYLIST":"Den här spellistan","CONTEXT_COLLECTION":"samling","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podd","CONTEXT_SHOW":"program","CONTEXT_ARTIST":"artist","CONTEXT_AUDIOBOOK":"ljudbok","NOTIFICATION_UP_NEXT":"Nästa","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Vi verkar inte ha texten till den här låten.","NO_LYRICS_MSG_2":"Du kom på oss, vi jobbar fortfarande på att hitta låttexten.","NO_LYRICS_MSG_3":"Hmm. Vi kan inte den här låttexten.","NO_LYRICS_MSG_4":"Vi ber om ursäkt! Du får försöka gissa låttexten.","LYRICS_CREDITS":"Licensierad och tillhandahållen av {PROVIDER}","LYRICS_UNSYNCED":"Den här låttexten är inte synkroniserad med låten än.","LYRICS_ERROR_MESSAGE":"Det gick inte att läsa in låttexten till den här låten. Försök igen senare."}'),th:JSON.parse('{"ERROR_GENERIC":"เกิดข้อผิดพลาด","PLAYING_FROM_X":"กำลังเล่นจาก {CONTEXT}","CONTEXT_ALBUM":"อัลบั้ม","CONTEXT_SEARCH":"ค้นหา","CONTEXT_TRACK":"แทร็ก","CONTEXT_PLAYLIST":"เพลย์ลิสต์","CONTEXT_COLLECTION":"คอลเลกชัน","CONTEXT_RADIO":"วิทยุ","CONTEXT_STATION":"วิทยุ","CONTEXT_EPISODE":"พอดแคสต์","CONTEXT_SHOW":"รายการโชว์","CONTEXT_ARTIST":"ศิลปิน","CONTEXT_AUDIOBOOK":"หนังสือเสียง","NOTIFICATION_UP_NEXT":"ถัดไป","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"ดูเหมือนเราจะไม่มีเนื้อเพลงของเพลงนี้","NO_LYRICS_MSG_2":"โดนจับได้ซะแล้ว เรากำลังหาเนื้อเพลงอยู่","NO_LYRICS_MSG_3":"อืมม เราไม่รู้เนื้อเพลงของเพลงนี้","NO_LYRICS_MSG_4":"ขออภัย คุณคงต้องเดาเนื้อเพลงนี้ไปก่อน","LYRICS_CREDITS":"ได้รับอนุญาตและให้บริการโดย {PROVIDER}","LYRICS_UNSYNCED":"เนื้อเพลงเหล่านี้ยังไม่ได้ซิงค์กับเพลง","LYRICS_ERROR_MESSAGE":"ไม่สามารถโหลดเนื้อเพลงสำหรับเพลงนี้ได้ โปรดลองอีกครั้งในภายหลัง"}'),tr:JSON.parse('{"ERROR_GENERIC":"Bir şeyler ters gitti","PLAYING_FROM_X":"{CONTEXT}\'den çalınıyor","CONTEXT_ALBUM":"albüm","CONTEXT_SEARCH":"ara","CONTEXT_TRACK":"parça","CONTEXT_PLAYLIST":"çalma listesi","CONTEXT_COLLECTION":"koleksiyon","CONTEXT_RADIO":"radyo","CONTEXT_STATION":"radyo","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"program","CONTEXT_ARTIST":"sanatçı","CONTEXT_AUDIOBOOK":"sesli kitap","NOTIFICATION_UP_NEXT":"Sıradaki","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Bu şarkının sözlerini şu anda gösteremiyoruz.","NO_LYRICS_MSG_2":"Şarkının sözleri üzerinde çalışıyoruz.","NO_LYRICS_MSG_3":"Hımm. Bu şarkının sözlerini bilmiyoruz.","NO_LYRICS_MSG_4":"Maalesef şarkının sözlerini kendin çıkarman gerekecek.","LYRICS_CREDITS":"Lisans Sahibi ve Sağlayan: {PROVIDER}","LYRICS_UNSYNCED":"Bu şarkı sözleri henüz şarkı ile senkronize değil.","LYRICS_ERROR_MESSAGE":"Bu şarkının sözleri yüklenemedi. Lütfen daha sonra tekrar dene."}'),vi:JSON.parse('{"ERROR_GENERIC":"Đã có sự cố xảy ra","PLAYING_FROM_X":"Phát từ {CONTEXT}","CONTEXT_ALBUM":"album","CONTEXT_SEARCH":"tìm kiếm","CONTEXT_TRACK":"bản nhạc","CONTEXT_PLAYLIST":"danh sách phát","CONTEXT_COLLECTION":"bộ sưu tập","CONTEXT_RADIO":"radio","CONTEXT_STATION":"radio","CONTEXT_EPISODE":"podcast","CONTEXT_SHOW":"chương trình","CONTEXT_ARTIST":"nghệ sĩ","CONTEXT_AUDIOBOOK":"sách nói","NOTIFICATION_UP_NEXT":"Phát tiếp theo","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"Có vẻ như chúng tôi chưa có lời cho bài hát này.","NO_LYRICS_MSG_2":"Bạn thấy đấy, chúng tôi vẫn đang tìm lời cho bài hát này.","NO_LYRICS_MSG_3":"Rất tiếc. Chúng tôi vẫn chưa có lời bài hát này.","NO_LYRICS_MSG_4":"Chúng tôi rất tiếc, bạn sẽ phải đoán lời bài hát này thôi.","LYRICS_CREDITS":"Do {PROVIDER} cấp phép và cung cấp","LYRICS_UNSYNCED":"Lời bài hát này chưa được đồng bộ hóa với bài hát.","LYRICS_ERROR_MESSAGE":"Không tải được lời cho bài hát này. Hãy thử lại sau."}'),"zh-Hant":JSON.parse('{"ERROR_GENERIC":"發生錯誤","PLAYING_FROM_X":"從 {CONTEXT} 播放","CONTEXT_ALBUM":"專輯","CONTEXT_SEARCH":"搜尋","CONTEXT_TRACK":"歌曲","CONTEXT_PLAYLIST":"播放清單","CONTEXT_COLLECTION":"收藏","CONTEXT_RADIO":"電台","CONTEXT_STATION":"電台","CONTEXT_EPISODE":"Podcast","CONTEXT_SHOW":"節目","CONTEXT_ARTIST":"藝人","CONTEXT_AUDIOBOOK":"有聲書","NOTIFICATION_UP_NEXT":"即將播放","OFFLINE":"You’re offline","NO_LYRICS_MSG_1":"我們好像沒有這首歌曲的歌詞。","NO_LYRICS_MSG_2":"被你發現了,我們還在努力找出歌詞。","NO_LYRICS_MSG_3":"嗯,我們也不知道這首歌曲的歌詞。","NO_LYRICS_MSG_4":"非常抱歉,你必須自己猜歌詞了。","LYRICS_CREDITS":"由「{PROVIDER}」授權及提供","LYRICS_UNSYNCED":"這些歌詞尚未與歌曲同步。","LYRICS_ERROR_MESSAGE":"無法載入這首歌曲的歌詞。請稍後再試。"}')},A=T.en;let I="en",O=A;const C={},R=e=>{if(e===I)return;const t=e.replace("_","-");O=T[t]||A,I=e},N=(e,t)=>(e.match(/\{[A-Z_]+\}/g)||[]).map((e=>e.replace(/[\{\}]/g,""))).reduce(((e,n)=>{let i=null;return i="number"==typeof t[n]?(e=>{try{return e.toLocaleString(I)}catch(t){return e.toString()}})(t[n]):t[n]||O[n]||n,e.replace(`{${n}}`,i)}),e),P=(e,t={})=>{if(!e)return"???";let n=O[e]||A[e]||e;if("string"!=typeof n&&void 0!==t.N){const e=((e,t)=>{try{return(C[e]||(C[e]=new Intl.PluralRules(e))).select(t)}catch(e){return"other"}})(I,parseInt(t.N,10));n[e]?n=n[e]:n.other&&(n=n.other)}return N(n,t)};function L(e){const t=function(e){return e.hasError?{className:"npv-modal__error",component:g,props:{errorDetails:e.errorDetails,l10n:{title:P("ERROR_GENERIC")}}}:function(e){const{playbackIsBuffering:t,currentTrack:n}=e,i=(null==n?void 0:n.mediaType)&&n.mediaType.toLowerCase();return!!t&&"video"===i}(e)?{className:"npv-modal__loading",component:v}:e.isOffline?{className:"npv-modal__offline",component:S,props:{l10n:{title:P("OFFLINE")}}}:{hidden:!0}}(e),n=null==t?void 0:t.component,o=e.disableAnimationsAndTransitions?0:1e3;return i.createElement(d.A,{in:!t.hidden,classNames:"npv-modal",timeout:o,mountOnEnter:!0,unmountOnExit:!0},i.createElement("div",{className:`npv-modal ${null==t?void 0:t.className}`},i.createElement("div",{className:"npv-modal__content"},n&&i.createElement(n,Object.assign({},t.props)))))}var k=n(8143);const w=()=>{const e=(0,i.useRef)();(0,i.useEffect)((()=>(e.current=(()=>{var e,t;let n=null===(e=document.getElementsByTagName("head"))||void 0===e?void 0:e[0];if(!n){const e=null===(t=document.getElementsByTagName("html"))||void 0===t?void 0:t[0];if(!e)return void console.error("Cannot create head element since no html element found");n=document.createElement("head"),e.appendChild(n)}const i=document.createElement("style");return i.setAttribute("type","text/css"),n.appendChild(i),i})(),()=>{var t;null===(t=e.current)||void 0===t||t.remove()})),[]);return t=>{e.current&&(e.current.textContent=t)}},D=({children:e,className:t})=>{const n=(0,i.useRef)(null),o=(0,i.useRef)(null);return((e,t,n)=>{const o=w();(0,i.useEffect)((()=>{var e,i;if(!t.current||!n.current)return;const r=1-(null!==(e=t.current.getBoundingClientRect().width)&&void 0!==e?e:1)/(null!==(i=n.current.getBoundingClientRect().width)&&void 0!==i?i:1);if(r<0)return void(n.current.style.animation="unset");const a=-100*r,s=Math.max(10*r,1.6),c=Math.min(Math.round(40/s),40),l=`marquee-${String(r).replace(/[^0-9]+/g,"")}`;n.current.style.animation=`${l} ${s}s linear infinite alternate`,o(`\n @-webkit-keyframes ${l} {\n 0%, ${c}% {\n -webkit-transform: translate3d(0, 0, 0);\n }\n ${100-c}%, 100% {\n -webkit-transform: translate3d(${a}%, 0, 0);\n }\n }\n\n @keyframes ${l} {\n 0%, ${c}% {\n transform: translate3d(0, 0, 0);\n -webkit-transform: translate3d(0, 0, 0);\n }\n ${100-c}%, 100% {\n transform: translate3d(${a}%, 0, 0);\n -webkit-transform: translate3d(${a}%, 0, 0);\n }\n }\n `)}),[n,t,e,o])})(e,n,o),i.createElement("p",{className:`${t} marquee`,ref:n},i.createElement("span",{className:"marquee__text",ref:o,"data-testid":"marquee-text"},e))},M=i.memo(D);function x(e){return i.createElement("div",{className:"npv-up-next"},i.createElement("img",{src:e.coverArtImageUrl,className:"npv-up-next__image",alt:"up next image"}),i.createElement("div",{className:"npv-up-next__info"},i.createElement("div",{className:"npv-up-next__text"},e.l10n.upNext),e.disableAnimationsAndTransitions?i.createElement("span",{className:"npv-up-next__metadata npv-up-next__metadata--static"},e.metadata):i.createElement(M,{className:"npv-up-next__metadata"},e.metadata)))}function U(e){const t=function(e){const t=c();return!!e&&e-t<=3e4}(e.duration),[n,o]=(0,i.useState)(null);(0,i.useEffect)((()=>{var n;null===(n=e.onVisibilityChanged)||void 0===n||n.call(e,t)}),[t]),(0,i.useEffect)((()=>{t&&o(e)}),[e,t]);const r=(0,i.useCallback)((()=>{o(null)}),[o]);if(!e.canRender)return null;const a=i.createElement(p,{visible:t,disableAnimationsAndTransitions:e.disableAnimationsAndTransitions,onExited:r},i.createElement(x,Object.assign({},n||e)));return e.portal&&e.portal.current?k.createPortal(a,e.portal.current):a}const V=1e3;function F({position:e,timestamp:t,isPaused:n,isBuffering:o,playbackSpeed:s=1,children:c}){const[,l]=(0,i.useState)(0),u=!n&&!o;(0,i.useEffect)((()=>{if(!u)return;const e=setInterval((()=>{l((e=>e+1))}),V/s);return()=>{clearInterval(e)}}),[u,s]);const d=(0,i.useCallback)((()=>function(e,t,n,i){return e+(i?Date.now()-t:0)*n}(e,t,s,u)),[e,t,s,u]);return i.createElement(r.Provider,{value:d},i.createElement(a.Provider,{value:d()},c))}var B=n(61544);const H=B.NQ,G=[H.ALBUM,H.SEARCH,H.TRACK,H.PLAYLIST,H.PLAYLIST_V2,H.COLLECTION,H.RADIO,H.STATION,H.EPISODE,H.SHOW,H.ARTIST,"audiobook"];function W(e){return G.includes(e)}function j(e,t){const n={contextName:e.contextName,isGuestMode:e.isGuestMode,guestName:e.guestName,guestAvatarImage:e.guestAvatarImage,l10n:{playingFromContextType:""},contextMetadataVisible:!!e.contextMetadataVisible,disableAnimationsAndTransitions:e.disableAnimationsAndTransitions,mediaType:t},{contextType:i,contextUri:o}=e,r=i?function(e){return W(e)?`CONTEXT_${e.replace(/\-.*/,"").toUpperCase()}`:(console.warn(`Context type not allowed: ${e}`),"")}(i):function(e){if(!e)return"";const t=(0,B.o_)(e);return t?W(t.type)?`CONTEXT_${t.type.replace(/\-.*/,"").toUpperCase()}`:(console.warn(`Context type not allowed: ${null==t?void 0:t.type}`),""):(console.warn("Invalid URI value for trackUri"),"")}(o);return r?(n.l10n.playingFromContextType=P("PLAYING_FROM_X",{CONTEXT:P(r)}),n):n}function Y(e,t){var n;return!(!e.backgroundImageUrl&&!t)||"video"===(null===(n=e.currentTrack)||void 0===n?void 0:n.mediaType)}const z=e=>{const t=["spotifyinternal-artistnpv"];e.progressBarVisible&&t.push("npv-has-progress-bar");const n=e.disableAnimationsAndTransitions?"npv-has-no-animations-and-transitions":"npv-has-animations-and-transitions";return t.push(n),t.join(" ")};n(45603);const K={isAnimating:!1,isAnimationDone:!1},J={isAnimating:!0,isAnimationDone:!1},q={isAnimating:!1,isAnimationDone:!0};function X(e,t=0){let n;return function(...i){const o=this;clearTimeout(n),n=setTimeout((()=>e.apply(o,i)),t)}}const $=i.memo((e=>{const t=(0,i.useRef)(),[n,o]=(0,i.useState)(K),[r,a]=(0,i.useState)({current:e.src}),s=(0,i.useCallback)((()=>{a({previous:t.current,current:e.src}),o(K),t.current=e.src}),[e.src]),c=(0,i.useCallback)(X((()=>{o(J)})),[]),l=(0,i.useCallback)(X((()=>{o(q)})),[]);(0,i.useEffect)((()=>{const t=new Image,n=()=>c(),i=setImmediate((()=>{e.src&&(t.src=e.src,t.addEventListener("load",n))}));return s(),()=>{clearImmediate(i),t.removeEventListener("load",n)}}),[e.src]);const{isAnimating:u,isAnimationDone:d}=n;return i.createElement("div",{className:`npv-cross-fade-container ${e.className}`},r.previous&&!d&&i.createElement("img",{className:"npv-cross-fade-image npv-cross-fade-image--previous "+(u||d?"npv-cross-fade-image--fade-out":""),onAnimationEnd:l,onLoad:c,src:r.previous,alt:e.alt}),r.current&&(u||d)&&i.createElement("img",{className:"npv-cross-fade-image npv-cross-fade--next "+(u?"npv-cross-fade-image--fade-in":""),onAnimationEnd:l,src:r.current,alt:e.alt}))}));function Z(e){return i.createElement("div",{className:`npv-background-image ${e.showBackgroundImage&&"npv-background-image--active"}`},i.createElement($,{src:e.backgroundImageUrl}),i.createElement("div",{className:"npv-background-image__overlay"}))}function Q(e){const t=function(e,t){const n=[e];return"gradient"===t.modifier&&n.push(`${e}--gradient`),t.animated&&n.push(`${e}--animated`),n.join(" ")}("npv-background-color",e);return i.createElement("div",{className:t,style:{backgroundColor:e.backgroundColor,backgroundImage:"noise"===e.modifier?`linear-gradient(to bottom, ${e.backgroundColor}, ${e.backgroundColor})`:void 0}})}function ee(e){const t=["npv-playback-controls__action"];return e.className&&t.push(e.className),e.isActive&&t.push("npv-playback-controls__action--active"),t.join(" ")}const te=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M13.151.922a.75.75 0 1 0-1.06 1.06L13.109 3H11.16a3.75 3.75 0 0 0-2.873 1.34l-6.173 7.356A2.25 2.25 0 0 1 .39 12.5H0V14h.391a3.75 3.75 0 0 0 2.873-1.34l6.173-7.356a2.25 2.25 0 0 1 1.724-.804h1.947l-1.017 1.018a.75.75 0 0 0 1.06 1.06L15.98 3.75 13.15.922zM.391 3.5H0V2h.391c1.109 0 2.16.49 2.873 1.34L4.89 5.277l-.979 1.167-1.796-2.14A2.25 2.25 0 0 0 .39 3.5z"}),i.createElement("path",{d:"m7.5 10.723.98-1.167.957 1.14a2.25 2.25 0 0 0 1.724.804h1.947l-1.017-1.018a.75.75 0 1 1 1.06-1.06l2.829 2.828-2.829 2.828a.75.75 0 1 1-1.06-1.06L13.109 13H11.16a3.75 3.75 0 0 1-2.873-1.34l-.787-.938z"})),ne=(0,i.memo)(te);function ie(e){return i.createElement("div",{className:ee(e)},e.children,!e.hideDot&&i.createElement("div",{className:"npv-playback-controls__dot"}))}function oe(e){return i.createElement(ie,{className:"npv-playback-controls__shuffle",isActive:e.isActive},i.createElement(ne,{className:"npv-playback-controls__icon"}))}const re=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M0 4.75A3.75 3.75 0 0 1 3.75 1h8.5A3.75 3.75 0 0 1 16 4.75v5a3.75 3.75 0 0 1-3.75 3.75H9.81l1.018 1.018a.75.75 0 1 1-1.06 1.06L6.939 12.75l2.829-2.828a.75.75 0 1 1 1.06 1.06L9.811 12h2.439a2.25 2.25 0 0 0 2.25-2.25v-5a2.25 2.25 0 0 0-2.25-2.25h-8.5A2.25 2.25 0 0 0 1.5 4.75v5A2.25 2.25 0 0 0 3.75 12H5v1.5H3.75A3.75 3.75 0 0 1 0 9.75v-5z"})),ae=(0,i.memo)(re),se=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M0 4.75A3.75 3.75 0 0 1 3.75 1h.75v1.5h-.75A2.25 2.25 0 0 0 1.5 4.75v5A2.25 2.25 0 0 0 3.75 12H5v1.5H3.75A3.75 3.75 0 0 1 0 9.75v-5zM12.25 2.5h-.75V1h.75A3.75 3.75 0 0 1 16 4.75v5a3.75 3.75 0 0 1-3.75 3.75H9.81l1.018 1.018a.75.75 0 1 1-1.06 1.06L6.939 12.75l2.829-2.828a.75.75 0 1 1 1.06 1.06L9.811 12h2.439a2.25 2.25 0 0 0 2.25-2.25v-5a2.25 2.25 0 0 0-2.25-2.25z"}),i.createElement("path",{d:"M9.12 8V1H7.787c-.128.72-.76 1.293-1.787 1.313V3.36h1.57V8h1.55z"})),ce=(0,i.memo)(se);function le(e){return i.createElement(ie,{className:"npv-playback-controls__repeat",isActive:!!e.mode&&"off"!==e.mode},function(e){switch(e){case"all":return i.createElement(ae,{className:"npv-playback-controls__icon"});case"one":return i.createElement(ce,{className:"npv-playback-controls__icon"});default:return null}}(e.mode))}const ue=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M15.724 4.22A4.313 4.313 0 0 0 12.192.814a4.269 4.269 0 0 0-3.622 1.13.837.837 0 0 1-1.14 0 4.272 4.272 0 0 0-6.21 5.855l5.916 7.05a1.128 1.128 0 0 0 1.727 0l5.916-7.05a4.228 4.228 0 0 0 .945-3.577z"})),de=(0,i.memo)(ue);function pe(e){return i.createElement(ie,{className:"npv-playback-controls__heart",isActive:e.isActive,hideDot:!0},i.createElement(de,{className:"npv-playback-controls__icon"}))}const he=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M3 1.713a.7.7 0 0 1 1.05-.607l10.89 6.288a.7.7 0 0 1 0 1.212L4.05 14.894A.7.7 0 0 1 3 14.288V1.713z"})),fe=(0,i.memo)(he);function me(e){const t=e.isPaused?"":"npv-playback-controls__play-pause--playing";return i.createElement("div",{className:`npv-playback-controls__action npv-playback-controls__play-pause ${t}`},i.createElement(fe,{className:"npv-playback-controls__icon"}))}const _e=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M2.7 1a.7.7 0 0 0-.7.7v12.6a.7.7 0 0 0 .7.7h2.6a.7.7 0 0 0 .7-.7V1.7a.7.7 0 0 0-.7-.7H2.7zm8 0a.7.7 0 0 0-.7.7v12.6a.7.7 0 0 0 .7.7h2.6a.7.7 0 0 0 .7-.7V1.7a.7.7 0 0 0-.7-.7h-2.6z"})),ge=(0,i.memo)(_e);function Ee(e){const t=e.isPaused?"npv-playback-controls__play-pause--paused":"";return i.createElement("div",{className:`npv-playback-controls__action npv-playback-controls__play-pause ${t}`},i.createElement(ge,{className:"npv-playback-controls__icon"}))}function ve(e){return i.createElement("svg",Object.assign({viewBox:"0 0 110 48",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H106C108.209 0 110 1.79086 110 4V44C110 46.2091 108.209 48 106 48H4C1.79086 48 0 46.2091 0 44V4Z",fill:"black",fillOpacity:"0.5"}),i.createElement("path",{d:"M37.3917 32V16.6478H33.8429V22.6674H27.5265V16.6478H24V32H27.5265V25.8938H33.8429V32H37.3917Z",fill:"white"}),i.createElement("path",{d:"M43.9931 32V21.2383H40.6005V32H43.9931ZM40.3104 17.9271C40.3104 18.9882 41.2031 19.8543 42.2745 19.8543C43.3905 19.8543 44.2832 18.9882 44.2832 17.9271C44.2832 16.8661 43.3905 16 42.2745 16C41.2031 16 40.3104 16.8661 40.3104 17.9271Z",fill:"white"}),i.createElement("path",{d:"M50.762 32V26.2619H56.6097V23.1438H50.7397V19.8958H57.4132V16.6478H47.2132V32H50.762Z",fill:"white"}),i.createElement("path",{d:"M63.0432 32V21.2383H59.6506V32H63.0432ZM59.3604 17.9271C59.3604 18.9882 60.2532 19.8543 61.3246 19.8543C62.4406 19.8543 63.3333 18.9882 63.3333 17.9271C63.3333 16.8661 62.4406 16 61.3246 16C60.2532 16 59.3604 16.8661 59.3604 17.9271Z",fill:"white"}),i.createElement("circle",{cx:"78",cy:"24",r:"7",stroke:"white",strokeOpacity:"0.3",strokeWidth:"2"}))}function ye(e){return i.createElement("svg",Object.assign({viewBox:"0 0 110 48",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M0 4C0 1.79086 1.79086 0 4 0H106C108.209 0 110 1.79086 110 4V44C110 46.2091 108.209 48 106 48H4C1.79086 48 0 46.2091 0 44V4Z",fill:"black",fillOpacity:"0.5"}),i.createElement("path",{d:"M37.3917 32V16.6478H33.8429V22.6674H27.5265V16.6478H24V32H27.5265V25.8938H33.8429V32H37.3917Z"}),i.createElement("path",{d:"M43.9931 32V21.2383H40.6005V32H43.9931ZM40.3104 17.9271C40.3104 18.9882 41.2031 19.8543 42.2745 19.8543C43.3905 19.8543 44.2832 18.9882 44.2832 17.9271C44.2832 16.8661 43.3905 16 42.2745 16C41.2031 16 40.3104 16.8661 40.3104 17.9271Z"}),i.createElement("path",{d:"M50.762 32V26.2619H56.6097V23.1438H50.7397V19.8958H57.4132V16.6478H47.2132V32H50.762Z"}),i.createElement("path",{d:"M63.0432 32V21.2383H59.6506V32H63.0432ZM59.3605 17.9271C59.3605 18.9882 60.2532 19.8543 61.3246 19.8543C62.4406 19.8543 63.3333 18.9882 63.3333 17.9271C63.3333 16.8661 62.4406 16 61.3246 16C60.2532 16 59.3605 16.8661 59.3605 17.9271Z"}),i.createElement("circle",{cx:"80.2222",cy:"24",r:"8"}))}const be=i.memo(ve),Se=i.memo(ye);function Te(e){return!0===e.status?i.createElement(Se,{className:"npv-playback-controls__hifi--on"}):i.createElement(be,{className:"npv-playback-controls__hifi--off"})}function Ae(e){return void 0===e.playbackHiFiStatus?null:i.createElement("div",{className:"npv-playback-controls__action npv-playback-controls__action--active npv-playback-controls__hifi"},i.createElement(Te,{status:e.playbackHiFiStatus}))}function Ie(e){return i.createElement(p,{visible:e.isActive,disableAnimationsAndTransitions:e.disableAnimationsAndTransitions},i.createElement("div",{className:"npv-playback-controls"},i.createElement("div",{className:"npv-playback-controls__area npv-playback-controls__area--left"},i.createElement(Ae,{playbackHiFiStatus:e.playbackHiFiStatus}),i.createElement(pe,{isActive:null==e?void 0:e.isTrackLiked}),i.createElement(oe,{isActive:null==e?void 0:e.playbackIsShuffled}),i.createElement(le,{mode:null==e?void 0:e.playbackRepeatMode})),i.createElement("div",{className:"npv-playback-controls__area npv-playback-controls__area--center"}),i.createElement("div",{className:"npv-playback-controls__area npv-playback-controls__area--right"},i.createElement(me,{isPaused:null==e?void 0:e.isPaused}),i.createElement(Ee,{isPaused:null==e?void 0:e.isPaused}))))}function Oe(e){var t;return null!==(t=e.CustomPlaybackControls)&&void 0!==t?t:i.createElement(Ie,Object.assign({},function(e){var t;const{playbackRepeatMode:n,playbackIsShuffled:i,playbackHiFiStatus:o,disableAnimationsAndTransitions:r}=e;return{playbackIsShuffled:i,playbackRepeatMode:n,isTrackLiked:null===(t=e.currentTrack)||void 0===t?void 0:t.isLiked,isPaused:e.playbackIsPaused||e.playbackIsBuffering,playbackHiFiStatus:o,isActive:!!e.controlsVisible,disableAnimationsAndTransitions:r}}(e)))}function Ce(e){var t,n,i;return{name:null===(t=e.currentTrack)||void 0===t?void 0:t.name,creatorName:null===(n=e.currentTrack)||void 0===n?void 0:n.creatorName,coverArtImageUrl:null===(i=e.currentTrack)||void 0===i?void 0:i.coverArtImageUrl,hidden:!e.trackMetadataVisible}}var Re=n(66138),Ne=n.n(Re);const Pe={UNKNOWN:"UNKNOWN",UNSYNCED:"UNSYNCED",LINE_SYNCED:"LINE_SYNCED",SYLLABLE_SYNCED:"SYLLABLE_SYNCED"};function Le(e,t,n){const i=n/t,o=Math.floor(e.length*i);return Math.max(Math.min(o,e.length-4),0)}function ke(e){if(!e)return;const{provider:t,lines:n,syncType:i}=e;return n&&t&&i&&Object.values(Pe).includes(i)&&function(e){return e.every((e=>void 0!==e.text&&void 0!==e.timestamp))&&!!e.length}(n)?{provider:t,lines:n,syncType:i}:void 0}const we=(e,t)=>{var n,i;const[o,r,a]=null!==(i=null===(n=Ne().get(e))||void 0===n?void 0:n.value)&&void 0!==i?i:[0,0,0];return`rgba(${o}, ${r}, ${a}, ${t})`},De=140;function Me(e){return e.reduce(((e,t)=>e+t),0)}function xe(e,t,n,o){const r=(0,i.useRef)([]);return(0,i.useEffect)((()=>{r.current=[]}),[e]),(0,i.useCallback)((i=>{Me(r.current)>=De||(i.forEach((e=>{r.current[e.index]=e.text.length})),Me(r.current)>=De&&o(e,t,n))}),[o,e,t,n])}function Ue(e,t){const[n,o]=(0,i.useState)();return(0,i.useEffect)((()=>{var n,i;const r=Array.prototype.slice.call(null!==(i=null===(n=e.current)||void 0===n?void 0:n.querySelectorAll("[data-lyrics-line]"))&&void 0!==i?i:[]);o({key:t,value:r.map(((e,n)=>{const i=t[n];if(void 0!==i)return{element:e,text:i.text,index:n}})).filter((e=>void 0!==e))})}),[t]),(null==n?void 0:n.key)===t?n.value:[]}function Ve(e){const t=c(),n=(0,i.useMemo)((()=>function(e,t){for(let n=0;n<e.length;n++)if(e[n].timestamp>t)return Math.max(0,n-1);return e.length-1}(e,t)),[t,e]);return{firstVisibleIndex:Math.max(n-1,0),currentIndex:n}}function Fe(e,t,n,o){const r=function(e){var t;const[n,o]=(0,i.useState)(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect().height);return(0,i.useEffect)((()=>{const t=setInterval((()=>{var t;o(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect().height)}),1e3);return()=>{clearInterval(t)}}),[]),n}(e);(0,i.useEffect)((()=>{if(!n.length||!r)return;const e=function(e,t,n){var i;const o=null===(i=e[t])||void 0===i?void 0:i.element.offsetTop;return e.filter((e=>e.element.offsetTop>=o&&e.element.offsetTop<o+n))}(n,o,r);t(e)}),[t,n,o,r])}const Be=(e,t)=>{const n=c();return(0,i.useMemo)((()=>{const i=Le(e,t,n);return e.slice(i)}),[e,t,n])};const He=e=>{var t;const n=(()=>{var e,t;let n=null===(e=document.getElementsByTagName("head"))||void 0===e?void 0:e[0];if(!n){const e=null===(t=document.getElementsByTagName("html"))||void 0===t?void 0:t[0];if(!e)return void console.error("Cannot creat head element since no html element found");n=document.createElement("head"),e.appendChild(n)}return n})();return n?k.createPortal(i.createElement("style",{type:null!==(t=e.type)&&void 0!==t?t:"text/css"},e.styles.map((e=>(({styles:e,selector:t})=>{if(0===e.length||0===t.length)return"";let n=`${t} {`;for(const t of e)for(const[e,i]of Object.entries(t))n+=`\n ${e}: ${i};`;return`${n}\n}`})(e)))),n):null},Ge=i.memo(He),We=e=>{const{showGradient:t,currentColor:n}=function(e){const[t,n]=(0,i.useState)(e),[o,r]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{n(e),r(!1);const t=setTimeout((()=>{r(!0)}),100);return()=>clearTimeout(t)}),[e]),{showGradient:o,currentColor:t}}(e.backgroundColor||""),o="npv-lyrics__gradient-background",r=we(n,0),a=we(n,.6),s=[{selector:`.${o}`,styles:[{background:`-webkit-gradient(linear, left top, left bottom, from(${r}), color-stop(30%, ${a}), color-stop(60%, ${n}))`},{background:`-webkit-linear-gradient(top, ${r} 0%, ${a} 30%, ${n} 60%)`},{background:`linear-gradient(to bottom, ${r} 0%, ${a} 30%, ${n} 60%)`}]}],c=`npv-lyrics__gradient ${o}\n ${t&&"npv-lyrics__gradient--shown"}\n ${e.fullScreen&&"npv-lyrics__gradient--full-screen"}\n `;return i.createElement(i.Fragment,null,i.createElement(Ge,{styles:s}),i.createElement("div",{className:c}))},je=(0,i.memo)(We);function Ye(e){return i.createElement("div",{className:"npv-lyrics__sentences",style:{transform:`translateY(${-e.offsetTop}px)`},dir:"auto"},e.lyrics.lines.map(((t,n,o)=>{const r=function(e,t,n,i){return[n===t&&"npv-lyrics__text-wrapper--current",n>t&&"npv-lyrics__text-wrapper--next",n<t&&"npv-lyrics__text-wrapper--previous",n<e&&"npv-lyrics__text-wrapper--hidden",n===i-1&&"npv-lyrics__text-wrapper--last"].filter((e=>!1!==e)).join(" ")}(e.firstVisibleIndex,e.currentIndex,n,o.length);return i.createElement("div",{className:`npv-lyrics__text-wrapper ${r}`,key:n},i.createElement("p",{"data-lyrics-line":!0,className:"npv-lyrics__text"},t.text||" "))})),i.createElement("p",{className:"npv-lyrics__text npv-lyrics__text--credits"},P("LYRICS_CREDITS",{PROVIDER:e.lyrics.provider})))}const ze=e=>{var t;const{firstVisibleIndex:n,currentIndex:o}=Ve(e.lyrics.lines),r=Ue(e.containerRef,e.lyrics.lines),a=xe(e.trackUri,e.lyrics.provider,e.lyrics.syncType,e.onLyricsReport);Fe(e.containerRef,a,r,n);const s=null===(t=r[n])||void 0===t?void 0:t.element,c=(0,i.useMemo)((()=>{var e;return null!==(e=null==s?void 0:s.offsetTop)&&void 0!==e?e:0}),[s]);return i.createElement(i.Fragment,null,i.createElement(Ye,{firstVisibleIndex:n,currentIndex:o,offsetTop:c,lyrics:e.lyrics}),i.createElement(je,{backgroundColor:e.backgroundColor,fullScreen:e.fullScreen}))},Ke=100;function Je(e,t,n){const i=t.syllables||[],o=i[n];if(void 0!==o.duration)return o.duration;if(i.length>n+1){return i[n+1].timestamp-o.timestamp}return e.lines.length>t.index+1?e.lines[t.index+1].timestamp-o.timestamp:Ke}function qe(e){const t=(0,i.useRef)(null),n=(0,i.useRef)(null),o=(0,i.useRef)({index:e.line.index,text:e.line.text}),[,r]=(0,i.useReducer)((e=>e+1),0),[a,s]=(0,i.useState)(0),[c,l]=(0,i.useState)(0),[u,d]=(0,i.useState)("");return(0,i.useEffect)((()=>{function i(){null!==n.current&&(clearTimeout(n.current),n.current=null)}if(o.current.index!==e.line.index||o.current.text!==e.line.text)l(0),s(0),d(""),i(),n.current=setTimeout((()=>{r()}),0),o.current={index:e.line.index,text:e.line.text};else{const{alreadyShownSyllablesLength:n,currentSyllableDurationMs:i}=function(e,t,n){const i=t.syllables||[];let o=null,r=0;for(let e=0;e<i.length;++e){const t=i[e];if(t.timestamp>n)break;o=t,r+=t.length}return null===o?{alreadyShownSyllablesLength:0,currentSyllableDurationMs:0}:{alreadyShownSyllablesLength:r,currentSyllableDurationMs:Je(e,t,o.index)}}(e.lyrics,e.line,e.songProgressMs),o=e.line.text.slice(0,n);l(function(e,t,n){if(!e||!t||!t.current)return 0;const i=window.getComputedStyle(t.current);return e.style.position="absolute",e.style.visibility="hidden",e.style.fontFamily=i.fontFamily,e.style.fontSize=i.fontSize,e.style.fontWeight=i.fontWeight,e.innerText=n,e.getBoundingClientRect().width}(e.textMeasurer,t,o)),s(i),d(o)}return()=>{i()}}),[e.lyrics,e.songProgressMs,e.line.index,e.line.text,l,s,d,r]),i.createElement(i.Fragment,null,i.createElement("span",{ref:t,className:"syllable-synced-animated-lyrics__full-text"},e.line.text),i.createElement("span",{className:"syllable-synced-animated-lyrics__progressing-text",style:{width:`${c}px`,transitionDuration:""+(u?`${a}ms`:"0ms")}},u))}function Xe(e){const t=(0,i.useRef)(null),[n,o]=(0,i.useState)(null),[r,a]=(0,i.useState)(null),[s,c]=(0,i.useState)(null),[l,u]=(0,i.useState)(null),[d,p]=(0,i.useState)(!1),h=(0,i.useCallback)((()=>{p(!1)}),[p]),f=xe(e.trackUri,e.lyrics.provider,e.lyrics.syncType,e.onLyricsReport);return(0,i.useEffect)((()=>(t.current=function(){const e=document.createElement("span");return document.body.appendChild(e),e}(),()=>{var e;t.current&&(null===(e=t.current.parentNode)||void 0===e||e.removeChild(t.current))})),[t]),(0,i.useEffect)((()=>{const{currentLine:t,nextLine:n,lineAfterTheNext:i}=function(e,t){const n=e.lines,i=n.length;let o=-1;if(i>0&&t<n[0].timestamp)o=0;else for(let e=0;e<i&&!(n[e].timestamp>t);++e)o=e;if(-1===o)return{currentLine:null,nextLine:null,lineAfterTheNext:null};const r=n[o+1],a=n[o+2];return{currentLine:Object.assign({index:o},n[o]),nextLine:r?Object.assign({index:o+1},r):null,lineAfterTheNext:a?Object.assign({index:o+2},a):null}}(e.lyrics,e.songProgressMs);(null==r?void 0:r.index)===(null==t?void 0:t.index)&&(null==r?void 0:r.text)===(null==t?void 0:t.text)||(o(r),a(t),c(n),u(i),r&&p(!0))}),[e.lyrics,e.songProgressMs,r,o,a,c,u,p]),function(e,t,n,o,r){const a=(0,i.useRef)(null),s=(0,i.useRef)(null);(0,i.useEffect)((()=>{a.current=new Set,s.current=[]}),[e]),(0,i.useEffect)((()=>{a.current&&s.current&&(void 0===n||a.current.has(n)||(a.current.add(n),s.current.push({index:n,text:t[n].text})),void 0===o||a.current.has(o)||(a.current.add(o),s.current.push({index:o,text:t[o].text})),r(s.current))}),[r,n,o])}(e.trackUri,e.lyrics.lines,null==r?void 0:r.index,null==s?void 0:s.index,f),i.createElement(i.Fragment,null,i.createElement("div",{className:"syllable-synced-lyrics__container",onTransitionEnd:h},i.createElement("div",{className:"syllable-synced-lyrics-scroller "+(d?"syllable-synced-lyrics-scroller-animation":"")},d&&n&&i.createElement("span",{className:"syllable-synced-lyrics__static-line"},n.text),i.createElement("div",{className:"syllable-synced-animated-lyrics"},r&&t.current&&i.createElement(qe,{textMeasurer:t.current,lyrics:e.lyrics,line:r,songProgressMs:e.songProgressMs})),s&&i.createElement("span",{className:"syllable-synced-lyrics__static-line"},s.text),l&&i.createElement("span",{className:"syllable-synced-lyrics__static-line"},l.text))),i.createElement(je,{backgroundColor:e.backgroundColor,fullScreen:e.fullScreen}))}function $e(e){return i.createElement("div",{className:"npv-track-metadata","aria-hidden":e.hidden},i.createElement("div",{className:"npv-track-metadata__content-wrapper"},e.coverArtImageUrl&&i.createElement($,{className:"npv-track-metadata__cover-art",src:e.coverArtImageUrl,alt:""}),(e.name||e.creatorName)&&i.createElement("div",{className:"npv-track-metadata__text-wrapper"},e.name&&i.createElement("div",{className:"npv-track-metadata__name"},e.name),e.creatorName&&i.createElement("div",{className:"npv-track-metadata__creator-name"},e.creatorName))))}function Ze(e){return i.createElement("div",{className:"npv-lyrics__sentences",style:e.style,dir:"auto"},e.lyrics.lines.map(((e,t)=>i.createElement("p",{className:"npv-lyrics__text npv-lyrics__text--unsynced","data-lyrics-line":!0,key:t},e.text))),i.createElement("p",{className:"npv-lyrics__text npv-lyrics__text--credits"},P("LYRICS_CREDITS",{PROVIDER:e.lyrics.provider})))}function Qe(e){const t=s(),n=function(e,t){const[n,o]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{const e=setTimeout((()=>o(!1)),100);return o(!0),()=>clearTimeout(e)}),[t]),(t,i,o)=>`${e}${n?"-reset":""} ${i}ms linear -${t}ms ${o?"paused":"running"}`}("slide-up",t),o=n(t,e.duration,e.isPaused),r={WebkitAnimation:o,animation:o};return i.createElement(Ze,Object.assign({},e,{style:r}))}function et(e){const t=Object.assign(Object.assign({},e.lyrics),{lines:Be(e.lyrics.lines,e.duration)});return i.createElement(Ze,Object.assign({},e,{lyrics:t}))}const tt=e=>{const t=e.disableAnimationsAndTransitions?et:Qe,n=xe(e.trackUri,e.lyrics.provider,e.lyrics.syncType,e.onLyricsReport);return function(e,t,n,o){const r=Ue(e,n),a=c();Fe(e,t,r,(0,i.useMemo)((()=>Le(n,o,a)),[n,o,a]))}(e.containerRef,n,e.lyrics.lines,e.duration),i.createElement(i.Fragment,null,i.createElement("p",{className:"npv-lyrics__text--unsynced-warning"},P("LYRICS_UNSYNCED")),i.createElement("div",{className:"npv-lyrics__container--unsynced"},i.createElement(t,{duration:e.duration,isPaused:e.isPaused,lyrics:e.lyrics})),i.createElement(je,{backgroundColor:e.backgroundColor,fullScreen:e.fullScreen}))},nt=e=>i.createElement("div",{className:"npv-lyrics__message"},i.createElement("p",{className:"npv-lyrics__text npv-lyrics__text--message"},e.children)),it=e=>{const[t,n]=(0,i.useState)("");return(0,i.useEffect)((()=>{const e=function(e){const t=["NO_LYRICS_MSG_1","NO_LYRICS_MSG_2","NO_LYRICS_MSG_3","NO_LYRICS_MSG_4"].filter((t=>t!==e));return t[Math.floor(Math.random()*(t.length-1))]}(t);n(e)}),[e.trackUri]),i.createElement(nt,null,t?P(t):"")},ot=e=>{const t=(0,i.useRef)(null);return i.createElement("div",{className:`npv-lyrics ${e.className}`},i.createElement(Q,{backgroundColor:e.backgroundColor,modifier:"noise"}),i.createElement($e,Object.assign({},e.trackMetadataProps)),i.createElement("div",{ref:t,className:`npv-lyrics__content ${e.fullScreen&&"npv-lyrics__content--full-screen"} ${e.lyricsContainerCustomClasses?e.lyricsContainerCustomClasses:""}`},!e.content&&"success"===e.status&&i.createElement(it,{trackUri:e.trackUri}),!e.content&&"error"===e.status&&i.createElement(nt,null,P("LYRICS_ERROR_MESSAGE")),e.trackUri&&e.content&&e.content.syncType===Pe.LINE_SYNCED&&i.createElement(ze,{lyrics:e.content,backgroundColor:e.backgroundColor,containerRef:t,onLyricsReport:e.onLyricsReport,trackUri:e.trackUri,fullScreen:e.fullScreen}),e.trackUri&&e.content&&e.content.syncType===Pe.UNSYNCED&&i.createElement(tt,{lyrics:e.content,backgroundColor:e.backgroundColor,duration:e.duration,isPaused:e.isPaused,disableAnimationsAndTransitions:e.disableAnimationsAndTransitions,containerRef:t,onLyricsReport:e.onLyricsReport,trackUri:e.trackUri,fullScreen:e.fullScreen}),e.trackUri&&e.content&&e.content.syncType===Pe.SYLLABLE_SYNCED&&i.createElement(Xe,{lyrics:e.content,backgroundColor:e.backgroundColor,songProgressMs:e.position||0,onLyricsReport:e.onLyricsReport,trackUri:e.trackUri,fullScreen:e.fullScreen})))};function rt(e){return i.createElement("div",{className:`npv-cover-art npv-cover-art--${e.mediaType}\n ${e.hasNoExpandedCover&&"npv-cover-art--not-expanded"}\n ${e.trackMetadataVisible&&"npv-cover-art--visible"}`},i.createElement($,{src:e.coverArtImageUrl,alt:"Cover Art"}))}function at(e){return i.createElement("div",{className:`npv-track npv-track--${e.mediaType} ${e.hasNoExpandedCover&&"npv-track--not-expanded"} ${e.trackMetadataVisible&&"npv-track--visible"}`},i.createElement("div",{className:"npv-track__name"},e.trackName),i.createElement("div",{className:"npv-track__creator-name"},e.trackCreatorName))}const st=e=>i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),i.createElement("path",{d:"M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.669 11.539a.498.498 0 0 1-.686.166c-1.878-1.148-4.243-1.408-7.028-.772a.499.499 0 0 1-.222-.972c3.048-.696 5.662-.396 7.77.892a.5.5 0 0 1 .166.686zm.979-2.178a.624.624 0 0 1-.858.205c-2.15-1.322-5.428-1.705-7.972-.932a.624.624 0 1 1-.362-1.194c2.905-.882 6.517-.455 8.987 1.063a.624.624 0 0 1 .205.858zm.084-2.269C10.153 5.561 5.9 5.42 3.438 6.167a.748.748 0 1 1-.434-1.432c2.826-.857 7.523-.692 10.492 1.07a.748.748 0 0 1-.764 1.287z"})),ct=(0,i.memo)(st),lt=({src:e,className:t,focused:n})=>i.createElement("div",{className:`npv-avatar ${t}}`},e&&i.createElement("div",{className:"npv-avatar__image "+(n?"npv-avatar__image--focused":""),style:{backgroundImage:`url(${e})`}}));function ut({name:e,avatarImage:t}){return i.createElement("div",{className:"npv-guest"},i.createElement("p",{className:"npv-guest__name"},e),i.createElement(lt,{className:"npv-guest__avatar",src:t}))}function dt(e){var t;return i.createElement(p,{visible:null!==(t=e.contextMetadataVisible)&&void 0!==t&&t,disableAnimationsAndTransitions:e.disableAnimationsAndTransitions},i.createElement("div",{className:`npv-header npv-header--${e.mediaType}`},i.createElement(ct,{className:"npv-header__logo"}),i.createElement("div",{className:"npv-header__metadata placeholder"},e.l10n.playingFromContextType&&i.createElement("div",{className:"npv-header__context-type"},e.l10n.playingFromContextType),i.createElement("div",{className:"npv-header__context-name"},e.contextName)),e.isGuestMode&&i.createElement(ut,{name:e.guestName,avatarImage:e.guestAvatarImage})))}function pt(e){return i.createElement("div",{className:`npv-what-is-playing ${e.className}`},i.createElement(dt,Object.assign({},e.headerProps)),i.createElement("div",{className:`npv-what-is-playing__metadata ${e.progressBarVisible&&"npv-what-is-playing__metadata--docked"} npv-what-is-playing__metadata--${e.mediaType}`},i.createElement(rt,Object.assign({},e)),i.createElement(at,Object.assign({},e))))}var ht,ft,mt=n(57878),_t=n(17988),gt=n(20224);var Et="out-in",vt="in-out",yt=function(e,t,n){return function(){var i;e.props[t]&&(i=e.props)[t].apply(i,arguments),n()}},bt=((ht={})[Et]=function(e){var t=e.current,n=e.changeState;return i.cloneElement(t,{in:!1,onExited:yt(t,"onExited",(function(){n(_t.ns,null)}))})},ht[vt]=function(e){var t=e.current,n=e.changeState,o=e.children;return[t,i.cloneElement(o,{in:!0,onEntered:yt(o,"onEntered",(function(){n(_t.ns)}))})]},ht),St=((ft={})[Et]=function(e){var t=e.children,n=e.changeState;return i.cloneElement(t,{in:!0,onEntered:yt(t,"onEntered",(function(){n(_t._K,i.cloneElement(t,{in:!0}))}))})},ft[vt]=function(e){var t=e.current,n=e.children,o=e.changeState;return[i.cloneElement(t,{in:!1,onExited:yt(t,"onExited",(function(){o(_t._K,i.cloneElement(n,{in:!0}))}))}),i.cloneElement(n,{in:!0})]},ft),Tt=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).state={status:_t._K,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}(0,mt.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===_t.ns&&e.mode===vt?{status:_t.ns}:!t.current||(n=t.current,o=e.children,n===o||i.isValidElement(n)&&i.isValidElement(o)&&null!=n.key&&n.key===o.key)?{current:i.cloneElement(e.children,{in:!0})}:{status:_t.ze};var n,o},n.render=function(){var e,t=this.props,n=t.children,o=t.mode,r=this.state,a=r.status,s=r.current,c={children:n,current:s,changeState:this.changeState,status:a};switch(a){case _t.ns:e=St[o](c);break;case _t.ze:e=bt[o](c);break;case _t._K:e=s}return i.createElement(gt.A.Provider,{value:{isMounting:!this.appeared}},e)},t}(i.Component);Tt.propTypes={},Tt.defaultProps={mode:Et};const At=Tt,It=e=>{const t=e.lyricsProps?"lyrics":"what-is-playing",n=e.disableAnimationsAndTransitions?0:500;return i.createElement(At,null,i.createElement(d.A,{key:t,classNames:"npv-main-container__visibility-transition",timeout:n},e.lyricsProps?i.createElement(ot,Object.assign({},e.lyricsProps,{className:"npv-main-container__lyrics"})):i.createElement(pt,Object.assign({},e.whatIsPlayingProps,{className:"npv-main-container__what-is-playing"}))))};function Ot(e){var t,n;n=e.locale,R(n||navigator.language);const r=function(e){var t,n,i;if(e.lyrics&&e.onLyricsReport)return{trackUri:null===(t=e.currentTrack)||void 0===t?void 0:t.uri,content:"success"===e.lyrics.status?ke(e.lyrics.content):void 0,status:e.lyrics.status,onLyricsReport:e.onLyricsReport,position:e.position,trackMetadataProps:Ce(e),backgroundColor:"error"!==e.lyrics.status?e.backgroundColor:"#7F7F7F",duration:(null===(n=e.currentTrack)||void 0===n?void 0:n.duration)||0,isPaused:e.playbackIsPaused||!1,disableAnimationsAndTransitions:null!==(i=e.disableAnimationsAndTransitions)&&void 0!==i&&i,fullScreen:!e.controlsVisible,lyricsContainerCustomClasses:e.lyricsContainerCustomClasses}}(e),a=void 0!==r,s="video"===(null===(t=e.currentTrack)||void 0===t?void 0:t.mediaType),c=function(e){var t;return"video"===(null===(t=e.currentTrack)||void 0===t?void 0:t.mediaType)?{backgroundColor:"#000",animated:!1}:{backgroundColor:e.backgroundColor,modifier:"gradient",animated:!0}}(e),l=function(e,t){const{backgroundImageUrl:n}=e;return{backgroundImageUrl:n,showBackgroundImage:!t&&!!e.backgroundImageUrl}}(e,a),u=function(e){var t,n,i,o,r,a,s;return{canRender:!!((null===(t=e.nextTrack)||void 0===t?void 0:t.coverArtImageUrl)&&(null===(n=e.nextTrack)||void 0===n?void 0:n.name)&&(null===(i=e.nextTrack)||void 0===i?void 0:i.creatorName)),coverArtImageUrl:null===(o=e.nextTrack)||void 0===o?void 0:o.coverArtImageUrl,metadata:`${null===(r=e.nextTrack)||void 0===r?void 0:r.name} • ${null===(a=e.nextTrack)||void 0===a?void 0:a.creatorName}`,l10n:{upNext:P("NOTIFICATION_UP_NEXT")},disableAnimationsAndTransitions:e.disableAnimationsAndTransitions,duration:null===(s=e.currentTrack)||void 0===s?void 0:s.duration,portal:e.upNextNotificationPortal,onVisibilityChanged:e.onUpNextVisibilityChanged}}(e),d=function(e,t){var n,i,o,r,a;const s=(null===(n=e.currentTrack)||void 0===n?void 0:n.mediaType)||"audio";return{coverArtImageUrl:null===(i=e.currentTrack)||void 0===i?void 0:i.coverArtImageUrl,trackName:null===(o=e.currentTrack)||void 0===o?void 0:o.name,trackCreatorName:null===(r=e.currentTrack)||void 0===r?void 0:r.creatorName,trackUri:null===(a=e.currentTrack)||void 0===a?void 0:a.uri,headerProps:j(e,s),hasNoExpandedCover:Y(e,t),progressBarVisible:!!e.progressBarVisible,trackMetadataVisible:!!e.trackMetadataVisible,mediaType:s}}(e,a),p=function(e,t){var n;return{duration:null===(n=e.currentTrack)||void 0===n?void 0:n.duration,isPaused:e.playbackIsPaused,isBuffering:e.playbackIsBuffering,playbackSpeed:e.playbackSpeed,progressBarVisible:!!e.progressBarVisible&&!e.CustomPlaybackControls,disableAnimationsAndTransitions:!!e.disableAnimationsAndTransitions,mediaType:t}}(e,d.mediaType),f=function(e){return{position:e.position,timestamp:e.timestamp,isPaused:e.playbackIsPaused,isBuffering:e.playbackIsBuffering,playbackSpeed:e.playbackSpeed}}(e),m=function(e,t){return{contextMetadataVisible:!!e.contextMetadataVisible,isActive:!!e.controlsVisible,trackMetadataVisible:!!e.trackMetadataVisible,mediaType:t}}(e,d.mediaType),_=function(e,t){const n={};return t&&(n.backgroundColor=e.backgroundColor),n}(e,a),g=z(e);return i.createElement("div",{className:g},i.createElement(F,Object.assign({},f),i.createElement(Q,Object.assign({},c)),s?i.createElement(o,Object.assign({},m)):i.createElement(Z,Object.assign({},l)),i.createElement("div",{className:"npv-main-container",style:_},i.createElement(It,{disableAnimationsAndTransitions:e.disableAnimationsAndTransitions,lyricsProps:r,whatIsPlayingProps:d}),i.createElement(U,Object.assign({},u)),i.createElement(h,Object.assign({},p)),i.createElement(Oe,Object.assign({},e))),i.createElement(L,Object.assign({},e))))}Ot.defaultProps={contextMetadataVisible:!0,controlsVisible:!0,trackMetadataVisible:!0,progressBarVisible:!0}},85403:(e,t,n)=>{"use strict";n.d(t,{N:()=>ne});var i,o=n(36601),r=n.n(o),a=n(34521),s=function(){function e(e){this.cosmos=e}return e.prototype.getStopPosition=function(){return this.stopPosition},e.prototype.setMediaDuration=function(e){this.mediaDuration!==e&&(this.mediaDuration=e,this.tryScheduleInterruption())},e.prototype.setTimeObservable=function(e){this.timeObservable!==e&&(this.timeObservable=e,this.tryScheduleInterruption())},e.prototype.registerInterruptorWhenReadyAtPosition=function(e){this.stopPosition!==e&&(this.stopPosition=e,this.tryScheduleInterruption())},e.prototype.unregister=function(){void 0!==this.interruptToken&&void 0!==this.timeObservable&&this.timeObservable.removePositionObserver(this.interruptToken),this.stopPosition=void 0,this.interruptToken=void 0},e.prototype.tryScheduleInterruption=function(){var e=this;if(!(void 0===this.mediaDuration||this.mediaDuration<0||void 0===this.stopPosition||this.stopPosition<0||void 0===this.timeObservable)){var t=this.stopPosition/this.mediaDuration;void 0!==this.interruptToken&&this.timeObservable.removePositionObserver(this.interruptToken),this.interruptToken=this.timeObservable.addObserverForMediaPositions([t],(function(){e.cosmos.post("sp://videoplayer/v1/advance",{reason:"finished"}),e.unregister()}))}},e}(),c=n(15999),l=n(50822),u=n(5681),d=function(){function e(e,t){var n=this;this.productStateService=e,this.scrobbleService=t,this.rules="",this.productStateService.subValues(u.cF.fromPartial({}),(function(e){e.pairs["streaming-rules"]&&(n.rules=e.pairs["streaming-rules"])})),this.scrobbleService.subIncognitoMode(l.lX.fromPartial({}),(function(e){n.incognito=e.incognitoMode}))}return e.prototype.streamingRules=function(){return this.rules},e}(),p=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},h=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},f=function(){function e(e,t){this.mainPlayer=e,this.adPlayer=t}return Object.defineProperty(e.prototype,"muted",{get:function(){return this.mainPlayer.muted},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this.mainPlayer.volume},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"started",{get:function(){return this.mainPlayer.started},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ended",{get:function(){return this.mainPlayer.ended},enumerable:!1,configurable:!0}),e.prototype.playerByPlaybackId=function(e){var t,n,i,o,r;return(null===(n=null===(t=this.mainPlayer.getPlaybackRequest())||void 0===t?void 0:t.metadata)||void 0===n?void 0:n.playback_id)===e?this.mainPlayer:(null===(r=null===(o=null===(i=this.adPlayer)||void 0===i?void 0:i.getPlaybackRequest())||void 0===o?void 0:o.metadata)||void 0===r?void 0:r.playback_id)===e?this.adPlayer:void 0},e.prototype.getNonMatchingPlayerByPlaybackId=function(e){var t,n,i,o,r;return(null===(n=null===(t=this.mainPlayer.getPlaybackRequest())||void 0===t?void 0:t.metadata)||void 0===n?void 0:n.playback_id)===e?this.adPlayer:(null===(r=null===(o=null===(i=this.adPlayer)||void 0===i?void 0:i.getPlaybackRequest())||void 0===o?void 0:o.metadata)||void 0===r?void 0:r.playback_id)===e?this.mainPlayer:void 0},e.prototype.hasPlaybackId=function(e){return!!this.playerByPlaybackId(e)},e.prototype.switchPlayer=function(e){return p(this,void 0,void 0,(function(){var t,n;return h(this,(function(i){switch(i.label){case 0:return(t=this.playerByPlaybackId(e))?(t.attemptInsertVideoElement(),t.showNode(),null==(n=this.getNonMatchingPlayerByPlaybackId(e))||n.hideNode(),n!==this.adPlayer?[3,2]:[4,null==n?void 0:n.stop()]):[2];case 1:i.sent(),i.label=2;case 2:return[2]}}))}))},e.prototype.getPlaybackRequest=function(){return this.mainPlayer.getPlaybackRequest()},e.prototype.play=function(e,t){return p(this,void 0,void 0,(function(){var n,i,o,r,a;return h(this,(function(s){switch(s.label){case 0:return this.adPlayer?this.isAd(e)?(null===(n=this.mainPlayer)||void 0===n||n.pause(),null===(i=this.mainPlayer)||void 0===i||i.hideNode(),null===(o=this.adPlayer)||void 0===o||o.showNode(),[2,this.adPlayer.play(e,t)]):[4,null===(r=this.adPlayer)||void 0===r?void 0:r.stop()]:[2,this.mainPlayer.play(e,t)];case 1:return s.sent(),null===(a=this.mainPlayer)||void 0===a||a.showNode(),[2,this.mainPlayer.play(e,t)]}}))}))},e.prototype.resume=function(e){var t;return null===(t=this.playerByPlaybackId(e))||void 0===t?void 0:t.resume()},e.prototype.pause=function(e){var t;return null===(t=this.playerByPlaybackId(e))||void 0===t?void 0:t.pause()},e.prototype.setPreferredSubtitle=function(e){var t;return null===(t=this.adPlayer)||void 0===t||t.setPreferredSubtitle(e),this.mainPlayer.setPreferredSubtitle(e)},e.prototype.setPlaybackSpeed=function(e){var t;null===(t=this.adPlayer)||void 0===t||t.setPlaybackSpeed(e),this.mainPlayer.setPlaybackSpeed(e)},e.prototype.seekTo=function(e,t){var n;return null===(n=this.playerByPlaybackId(e))||void 0===n?void 0:n.seekTo(t)},e.prototype.setVolume=function(e){var t;return null===(t=this.adPlayer)||void 0===t||t.setVolume(e),this.mainPlayer.setVolume(e)},e.prototype.setMinimizeBitrate=function(e){this.mainPlayer.setMinimizeBitrate(e)},e.prototype.setWindow=function(e){this.mainPlayer.setWindow(e)},e.prototype.setFullscreen=function(e){var t;null===(t=this.adPlayer)||void 0===t||t.setFullscreen(e),this.mainPlayer.setFullscreen(e)},e.prototype.setPip=function(e){return p(this,void 0,void 0,(function(){return h(this,(function(t){return[2,this.mainPlayer.setPip(e)]}))}))},e.prototype.setSurface=function(e){this.mainPlayer.setSurface(e)},e.prototype.getNode=function(){return this.mainPlayer.getNode()},e.prototype.stop=function(e){return p(this,void 0,void 0,(function(){var t;return h(this,(function(n){switch(n.label){case 0:return[4,null===(t=this.playerByPlaybackId(e))||void 0===t?void 0:t.stop()];case 1:return n.sent(),[2]}}))}))},e.prototype.stopAll=function(){return p(this,void 0,void 0,(function(){var e;return h(this,(function(t){switch(t.label){case 0:return[4,Promise.all([this.mainPlayer.stop(),null===(e=this.adPlayer)||void 0===e?void 0:e.stop()])];case 1:return t.sent(),[2]}}))}))},e.prototype.getSessionState=function(e){var t,n;return null!==(n=null===(t=e?this.playerByPlaybackId(e):this.mainPlayer)||void 0===t?void 0:t.getSessionState())&&void 0!==n?n:null},e.prototype.isAd=function(e){var t;return"true"===(null===(t=null==e?void 0:e.metadata)||void 0===t?void 0:t.is_advertisement)},e}(),m=n(4010),_=n(65994),g=n(489),E=n(45426),v=n(86639),y=n(38124),b=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(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 n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),S=function(){return S=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)},T=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},A=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},I=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},O=function(e){function t(t,n){var i=e.call(this)||this;if(i.loggers=t,i.playbackMetadataKeys=n,i.perceivedTimeToFirstFrameTimestamp=-1,i.startConnectionType="unknown",i.endConnectionType="unknown",i.loggers.usePendingLogger){if(!i.loggers.pendingLogger)throw new Error("Pending logger not provided in PlaybackSessionLogger")}else if(!i.loggers.logger)throw new Error("Logger not provided in PlaybackSessionLogger");return i}return b(t,e),t.prototype.onPlaybackCreated=function(t,n,i){return T(this,void 0,void 0,(function(){var o,r,a,s,l,u=this;return A(this,(function(d){switch(d.label){case 0:return e.prototype.onPlaybackCreated.call(this,t,n,i),this.startConnectionType=(0,E.Z)(),this.playbackIdentity=t.playbackIdentity,this.playbackId=(null===(a=null===(r=this.playbackIdentity)||void 0===r?void 0:r.metadata)||void 0===a?void 0:a.playback_id)?(0,y.xJ)(this.playbackIdentity.metadata.playback_id):void 0,this.sessionId=t.playbackIdentity.sessionId,o=(0,v._2)(null!==(s=t.playbackIdentity.metadata)&&void 0!==s?s:{}),this.beginTrackingPerceivedTimeToFirstFrameTimestamp=null!==(l=o[c.V2])&&void 0!==l?l:void 0,[4,this.addSessionMessage()];case 1:return d.sent(),this.loggers.usePendingLogger&&(this.timeObservable=t.timeObservable,this.periodicObserverToken=t.timeObservable.addObserverForPeriodicEvents(15,(function(e){return u.replaceSessionMessage(e,n,i)}))),[2]}}))}))},t.prototype.onStarted=function(t,n,i){return T(this,void 0,void 0,(function(){return A(this,(function(o){switch(o.label){case 0:return e.prototype.onStarted.call(this,t,n,i),[4,this.replaceSessionMessage(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onReady=function(t,n,i){return T(this,void 0,void 0,(function(){return A(this,(function(o){switch(o.label){case 0:return e.prototype.onReady.call(this,t,n,i),void 0!==this.beginTrackingPerceivedTimeToFirstFrameTimestamp&&this.beginTrackingPerceivedTimeToFirstFrameTimestamp>0&&-1===this.perceivedTimeToFirstFrameTimestamp&&(this.perceivedTimeToFirstFrameTimestamp=Math.round(n-this.beginTrackingPerceivedTimeToFirstFrameTimestamp)),[4,this.replaceSessionMessage(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onPaused=function(t,n,i){return T(this,void 0,void 0,(function(){return A(this,(function(o){switch(o.label){case 0:return e.prototype.onPaused.call(this,t,n,i),[4,this.replaceSessionMessage(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onResumed=function(t,n,i){return T(this,void 0,void 0,(function(){return A(this,(function(o){switch(o.label){case 0:return e.prototype.onResumed.call(this,t,n,i),[4,this.replaceSessionMessage(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onPlaybackEnded=function(t,n,i){return T(this,void 0,void 0,(function(){return A(this,(function(o){switch(o.label){case 0:return e.prototype.onPlaybackEnded.call(this,t,n,i),this.endConnectionType=(0,E.Z)(),this.playbackStats=t.playbackStats,this.timeObservable&&this.periodicObserverToken&&this.timeObservable.removePeriodicObserver(this.periodicObserverToken),[4,this.commitSessionMessage()];case 1:return o.sent(),[2]}}))}))},t.prototype.addSessionMessage=function(){return T(this,void 0,void 0,(function(){var e;return A(this,(function(t){switch(t.label){case 0:return this.loggers.usePendingLogger&&this.loggers.pendingLogger?this.loggers.pendingLogger.hasCreatedMessage(this.sessionId)?(this.sendLoggingError("trying to add a new session message when a message has already been created."),[2]):[4,this.loggers.pendingLogger.addPendingEvent(this.generatePlaybackSessionMessage())]:[2];case 1:return(e=t.sent()).success?[2,e]:(this.sendLoggingError("addSessionMessage",e.error),[2])}}))}))},t.prototype.replaceSessionMessage=function(e,t,n){return T(this,void 0,void 0,(function(){var i;return A(this,(function(o){switch(o.label){case 0:return this.loggers.usePendingLogger&&this.loggers.pendingLogger?this.loggers.pendingLogger.hasCreatedMessage(this.sessionId)?[4,this.loggers.pendingLogger.replacePendingEvent(this.generatePlaybackSessionMessage(this.createSyntheticEndEvent(e,t,n)))]:(this.sendLoggingError("trying to update a session message before creating it."),[2]):[2];case 1:return(i=o.sent()).success?[2,i]:(this.sendLoggingError("replaceSessionMessage",i.error),[2])}}))}))},t.prototype.commitSessionMessage=function(){return T(this,void 0,void 0,(function(){var e,t,n;return A(this,(function(i){switch(i.label){case 0:return this.loggers.usePendingLogger?[3,2]:[4,null===(n=this.loggers.logger)||void 0===n?void 0:n.log(this.generatePlaybackSessionMessage())];case 1:return i.sent(),[2];case 2:return this.loggers.pendingLogger?this.loggers.pendingLogger.hasCreatedMessage(this.sessionId)?[4,this.loggers.pendingLogger.replacePendingEvent(this.generatePlaybackSessionMessage())]:(this.sendLoggingError("trying to commit a session message before creating it."),[2]):[2];case 3:return(e=i.sent()).success?[4,this.loggers.pendingLogger.commitPendingEvent(this.sessionId)]:(this.sendLoggingError("replacePendingEvent in commitSessionMessage",e.error),[2]);case 4:return(t=i.sent()).success?[2,t]:(this.sendLoggingError("commitPendingEvent in commitSessionMessage",t.error),[2])}}))}))},t.prototype.logClientMetadata=function(e){var t;if(void 0!==this.playbackMetadataKeys){for(var n={},i=0,o=Object.entries(null!==(t=null==e?void 0:e.metadata)&&void 0!==t?t:{});i<o.length;i++){var r=o[i],a=r[0],s=r[1];this.playbackMetadataKeys.includes(a)&&(n[a]=s)}return Object.entries(n).length>0?n:void 0}},t.prototype.generatePlaybackSessionMessage=function(e){var t,n,i,o,r,a,s,l,u=e?I(I([],this.sessionEvents,!0),[e],!1):this.sessionEvents;return S(S({},(0,g.fi)(u)),{connection_type_start:this.startConnectionType,connection_type_end:this.endConnectionType,feature_identifier:null!==(i=null===(n=null===(t=this.playbackIdentity)||void 0===t?void 0:t.metadata)||void 0===n?void 0:n[c.b9])&&void 0!==i?i:"",desktop_ui:null!==(a=null===(r=null===(o=this.playbackIdentity)||void 0===o?void 0:o.metadata)||void 0===r?void 0:r[c.ap])&&void 0!==a?a:"",ms_played_internal:void 0!==(null===(s=this.playbackStats)||void 0===s?void 0:s.playTime)?Math.round(this.playbackStats.playTime):void 0,is_royalty_media:null===(l=this.playbackIdentity)||void 0===l?void 0:l.isRoyaltyMedia,client_metadata:this.logClientMetadata(this.playbackIdentity),ms_perceived_time_to_first_frame:this.perceivedTimeToFirstFrameTimestamp,playback_id:this.playbackId})},t.prototype.sendLoggingError=function(e,t){var n,i,o,r,a,s,l;null===(n=this.loggers.errorLogger)||void 0===n||n.log({feature_identifier:null===(o=null===(i=this.playbackIdentity)||void 0===i?void 0:i.metadata)||void 0===o?void 0:o.feature_identifier,media_url:null===(r=this.playbackIdentity)||void 0===r?void 0:r.mediaUrl,session_id:null===(a=this.playbackIdentity)||void 0===a?void 0:a.sessionId,error_domain:"PlaybackSessionLogger",error_code:t,error_description:e,error_extra1:JSON.stringify({severity:"recoverable"}),desktop_ui:null===(l=null===(s=this.playbackIdentity)||void 0===s?void 0:s.metadata)||void 0===l?void 0:l[c.ap],playback_id:this.playbackId})},t.prototype.createSyntheticEndEvent=function(e,t,n){return{timestamp:t,monotonicTimestamp:n,type:_.Tl.ENDED,data:{reason:_.mT.UNEXPECTED_EXIT,position:e}}},t}(m._),C=n(36867),R=n(42450),N=function(){return N=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},N.apply(this,arguments)},P=function(){function e(e){this.logger=e,this.buffering=!1,this.minimizeBitrate=!1,this.bitrate=-1,this.playbackCreated=!1}return e.prototype.onPlaybackCreated=function(e){var t,n,i,o=e.playbackIdentity,r=e.initialConfiguration;this.playbackIdentity=o,this.playbackId=(null===(n=null===(t=this.playbackIdentity)||void 0===t?void 0:t.metadata)||void 0===n?void 0:n.playback_id)?(0,y.xJ)(this.playbackIdentity.metadata.playback_id):void 0,this.playbackSpeed=r.playbackSpeed,this.minimizeBitrate=null!==(i=r.minimizeBitrate)&&void 0!==i&&i,this.playbackCreated=!0},e.prototype.onPlaybackError=function(e){var t=e.error,n=e.position;this.logErrorMessage(t,n)},e.prototype.onPlaybackSpeedChanged=function(e){var t=e.speed;this.playbackSpeed=t},e.prototype.onBuffering=function(){this.buffering=!0},e.prototype.onReady=function(){this.buffering=!1},e.prototype.onMinimizeBitrateChanged=function(e){var t=e.minimizeBitrate;this.minimizeBitrate=t},e.prototype.onVideoFormatChanged=function(e){var t=e.format.totalBitrate;this.bitrate=t},e.prototype.logErrorMessage=function(e,t){var n,i,o,r,a,s,l;this.logger.log({error_domain:e.category,error_code:e.code,error_description:null===(n=e.internalDetails)||void 0===n?void 0:n.toString(),error_extra1:JSON.stringify(N({severity:e.severity,reason:0===e.code?"unknown":(0,R.du)(e.code).toLowerCase(),sdkVersion:C.XL,internalPlayerVersion:C.BN},e.sessionContext)),error_extra2:JSON.stringify(e.clientContext),session_id:null===(i=this.playbackIdentity)||void 0===i?void 0:i.sessionId,media_url:null===(o=this.playbackIdentity)||void 0===o?void 0:o.mediaUrl,feature_identifier:null===(a=null===(r=this.playbackIdentity)||void 0===r?void 0:r.metadata)||void 0===a?void 0:a[c.b9],desktop_ui:null===(l=null===(s=this.playbackIdentity)||void 0===s?void 0:s.metadata)||void 0===l?void 0:l[c.ap],ms_position:this.playbackCreated?1e3*t:-1,buffering:this.buffering,video_disabled:this.minimizeBitrate,playback_speed:this.playbackSpeed,bitrate:this.bitrate,backgrounded:void 0,playback_id:this.playbackId})},e}(),L=function(){function e(e){this.logger=e}return e.prototype.onDownloadEvent=function(e){switch(e.name){case"created":var t=e.mediaUri;this.ongoingDownload={mediaUri:t,startTime:(new Date).getTime(),connectionTypeStart:(0,E.Z)()};break;case"completed":var n=e.offlineAsset;this.log(n,"completed"),this.ongoingDownload=void 0;break;case"error":var i=e.partialAsset;this.log(i,"error"),this.ongoingDownload=void 0;break;case"cancelled":i=e.partialAsset;this.log(i,"cancelled"),this.ongoingDownload=void 0}},e.prototype.log=function(e,t){var n,i,o,r,a=Math.round((null!==(n=e.size)&&void 0!==n?n:0)/1e3),s=(null===(i=this.ongoingDownload)||void 0===i?void 0:i.startTime)?(new Date).getTime()-(null===(o=this.ongoingDownload)||void 0===o?void 0:o.startTime):0,c=null===(r=this.ongoingDownload)||void 0===r?void 0:r.connectionTypeStart,l=(0,E.Z)(),u={feature_identifier:"offline-coordinator",media_url:e.originalUrl,session_id:e.downloadSessionId,kbytes_downloaded:a,ms_download_time:s,reason_end:t,bitrate:0,connection_type_start:c,connection_type_end:l};this.logger.log(u)},e}(),k=function(){function e(e){this.logger=e}return e.prototype.onDownloadEvent=function(e){if("error"===e.name){var t=e.partialAsset,n=e.error;this.log(t,n)}},e.prototype.log=function(e,t){var n,i,o,r,a,s,c={feature_identifier:"offline-coordinator",media_url:e.originalUrl,session_id:null!==(n=e.downloadSessionId)&&void 0!==n?n:"",error_description:null!==(i=t.reason)&&void 0!==i?i:"",error_code:null!==(o=t.code)&&void 0!==o?o:0,error_domain:null!==(r=t.category)&&void 0!==r?r:"",error_extra1:null!==(a=t.error_extra1)&&void 0!==a?a:"",error_extra2:null!==(s=t.error_extra2)&&void 0!==s?s:""};this.logger.log(c)},e}(),w=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},D=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},M="".concat("https://spclient",".wg.spotify.com/widevine-license/v1/application-certificate");function x(e,t){return w(this,arguments,void 0,(function(e,t,n){var i,o,r,a;return void 0===n&&(n={headers:new Headers}),D(this,(function(s){switch(s.label){case 0:return[4,e()];case 1:return i=s.sent(),o=i.accessToken,r=i.tokenType,a="".concat(r," ").concat(o),n.headers.append("Authorization",a),[2,fetch(t,n)]}}))}))}function U(e){return w(this,void 0,void 0,(function(){var t,n;return D(this,(function(i){switch(i.label){case 0:return[4,x(e,M)];case 1:return(t=i.sent()).ok?[4,t.arrayBuffer()]:[3,3];case 2:return n=i.sent(),[2,new Uint8Array(n)];case 3:throw new Error("Network response was not ok.")}}))}))}var V=n(57523),F=n(71287),B=n(39894),H=function(){function e(e,t,n){this.cosmosSender=e,this.playerInterruptor=t,this.stallTimeoutMs=n}return e.prototype.onPlaybackCreated=function(e){var t,n=e.playbackIdentity,i=e.timeObservable;this.playbackId=null===(t=n.metadata)||void 0===t?void 0:t.playback_id,this.cosmosSender.sendPlaybackState(this.playbackId),void 0!==this.playerInterruptor&&this.playerInterruptor.setTimeObservable(i)},e.prototype.onPlaybackEnded=function(e){var t=e.reason;switch(this.stopStallTimerIfRunning(),this.cosmosSender.sendPlaybackState(this.playbackId),t){case _.mT.PLAYED_TO_END:this.cosmosSender.sendAdvance("finished");break;case _.mT.NETWORK_ERROR:this.cosmosSender.sendContextPlayerError({type:"timeout"})}this.playbackId=void 0},e.prototype.onBuffering=function(){this.cosmosSender.sendPlaybackState(this.playbackId),this.shouldSetStallTimers()&&this.startStallTimer()},e.prototype.onDurationChanged=function(e){var t=e.duration;this.cosmosSender.sendPlaybackState(this.playbackId),void 0!==this.playerInterruptor&&this.playerInterruptor.setMediaDuration(t)},e.prototype.onPlaybackError=function(e){var t=e.error;this.cosmosSender.sendPlaybackState(this.playbackId),this.cosmosSender.sendPlaybackError(t)},e.prototype.onPaused=function(){this.stopStallTimerIfRunning(),this.cosmosSender.sendPlaybackState(this.playbackId)},e.prototype.onReady=function(){this.stopStallTimerIfRunning(),this.cosmosSender.sendPlaybackState(this.playbackId)},e.prototype.onStarted=function(){this.stopStallTimerIfRunning(),this.cosmosSender.sendPlaybackState(this.playbackId)},e.prototype.onResumed=function(){this.stopStallTimerIfRunning(),this.cosmosSender.sendPlaybackState(this.playbackId)},e.prototype.onSeeking=function(){this.cosmosSender.sendPlaybackState(this.playbackId)},e.prototype.onPlaybackSpeedChanged=function(){this.cosmosSender.sendPlaybackState(this.playbackId)},e.prototype.shouldSetStallTimers=function(){return void 0!==this.stallTimeoutMs&&this.stallTimeoutMs>0},e.prototype.startStallTimer=function(){var e=this;this.stopStallTimerIfRunning(),this.stallTimeoutId=setTimeout((function(){e.cosmosSender.sendContextPlayerError({type:"playback_stuck"})}),this.stallTimeoutMs)},e.prototype.stopStallTimerIfRunning=function(){void 0!==this.stallTimeoutId&&(clearTimeout(this.stallTimeoutId),this.stallTimeoutId=void 0)},e}(),G=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},W=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},j=function(){function e(e,t,n){var i=this;this.configuration=e,this.contextPlayerCoordinator=t,this.playerRouter=n,this.debugOverlay=function(e){var t,n,o,r,a,s,c,l,u,d=null!==(n=null===(t=i.playerRouter.mainPlayer.getNode())||void 0===t?void 0:t.ownerDocument.getElementsByClassName("debugOverlay"))&&void 0!==n?n:[];if(0===d.length){var p=null!==(r=null===(o=i.playerRouter.mainPlayer.getNode())||void 0===o?void 0:o.ownerDocument.createElement("div"))&&void 0!==r?r:new HTMLDivElement,h=null!==(s=null===(a=i.playerRouter.mainPlayer.getNode())||void 0===a?void 0:a.ownerDocument.createElement("p"))&&void 0!==s?s:new HTMLParagraphElement;h.className="debugOverlay",p.appendChild(h),p.setAttribute("style","width: 100%; position: absolute; top: 0; left: 0; opacity: 1; background: yellow; color: black; font-size: 10px; font-weight: bold"),null===(u=null===(l=null===(c=i.playerRouter.mainPlayer.getNode())||void 0===c?void 0:c.parentNode)||void 0===l?void 0:l.parentNode)||void 0===u||u.append(p),Y(h,e)}else Y(d[0],e)}}return e.prototype.initialize=function(){throw new Error("todo: subscribe onContextualPositionReceived via Player API")},e.prototype.release=function(){this.videoPositionSub&&(this.videoPositionSub.cancel(),this.videoPositionSub=void 0)},e.prototype.onContextualPositionReceived=function(e){return G(this,void 0,void 0,(function(){var t;return W(this,(function(n){switch(n.label){case 0:switch(t=this.inferPlaybackEvent(e),t){case"start":return[3,1];case"stop-and-start":return[3,3];case"pause":return[3,6];case"resume":return[3,7];case"seek":return[3,8]}return[3,9];case 1:return[4,this.startPlayback(e)];case 2:case 5:return n.sent(),[3,10];case 3:return[4,this.stopPlayback()];case 4:return n.sent(),[4,this.startPlayback(e)];case 6:return this.pausePlayback(),[3,10];case 7:return this.resumePlayback(),[3,10];case 8:return this.playerRouter.mainPlayer.seekTo(e.position_as_of_timestamp),[3,10];case 9:return[3,10];case 10:return[2]}}))}))},e.prototype.inferPlaybackEvent=function(e){var t,n,i,o="none";return void 0===this.lastContextualPositionPayload?o="start":this.lastContextualPositionPayload.playback_id!==e.playback_id?o="stop-and-start":!(null===(t=this.lastContextualPositionPayload)||void 0===t?void 0:t.is_paused)&&e.is_paused?o="pause":(null===(n=this.lastContextualPositionPayload)||void 0===n?void 0:n.is_paused)&&!e.is_paused?o="resume":(null===(i=this.lastContextualPositionPayload)||void 0===i?void 0:i.is_buffering)&&!e.is_buffering&&(o="seek"),this.lastContextualPositionPayload=e,o},e.prototype.startPlayback=function(e){return G(this,void 0,void 0,(function(){var t;return W(this,(function(n){switch(n.label){case 0:return t=function(e){var t,n={type:"start",track:{}};return n.track.playback_id=e.playback_id,n.track.track={},n.track.track.metadata=null===(t=e.track)||void 0===t?void 0:t.metadata,n.config={},n.config["audio.episode.speed"]=e.playback_speed,n.position=e.timestamp,n}(e),[4,this.contextPlayerCoordinator.startNewPlayback(t).then((function(e){return console.log("startNewPlayback done",e)}),(function(e){return console.error("start new playback failed",e)}))];case 1:return n.sent(),this.playerRouter.setVolume(0),this.listenToMediaPositionUpdates(),[2]}}))}))},e.prototype.stopPlayback=function(){return G(this,void 0,void 0,(function(){return W(this,(function(e){switch(e.label){case 0:return[4,this.playerRouter.mainPlayer.stop()];case 1:return e.sent(),this.stopListeningToMediaPositionUpdates(),[2]}}))}))},e.prototype.pausePlayback=function(){this.playerRouter.mainPlayer.pause(),this.stopListeningToMediaPositionUpdates()},e.prototype.resumePlayback=function(){this.playerRouter.mainPlayer.resume(),this.listenToMediaPositionUpdates()},e.prototype.listenToMediaPositionUpdates=function(){throw new Error("todo: poll onMediaPositionReceived via Player API")},e.prototype.stopListeningToMediaPositionUpdates=function(){this.mediaPositionIntervalId&&window.clearInterval(this.mediaPositionIntervalId),this.mediaPositionIntervalId=void 0},e.prototype.onMediaPositionReceived=function(e){var t,n,i,o=null!==(i=null===(n=null===(t=this.playerRouter.mainPlayer)||void 0===t?void 0:t.getNode())||void 0===n?void 0:n.currentTime)&&void 0!==i?i:0,r=e.position,a=K(o,r),s=r/1e3,c=1+(s-o)/100,l=J(o,r);if(this.debugOverlay({delta:l,adjustSpeed:!a,newSpeed:c}),0===e.playback_speed)this.pausePlayback();else if(a){var u=s,d=200*e.playback_speed/1e3;this.playerRouter.mainPlayer.seekTo(u+d)}else l>1?this.playerRouter.mainPlayer.setPlaybackSpeed(.9):c<2&&this.playerRouter.mainPlayer.setPlaybackSpeed(c)},e}(),Y=function(e,t){var n=t.delta,i=t.adjustSpeed,o=t.newSpeed,r=void 0===o?0:o;e.innerHTML="d:".concat(z(n),", s: ").concat(i?"t":"f",", speed: ").concat(r),e.style.background=n>200?"pink":i?"yellow":"lightgreen"},z=function(e){return e>1?"↑":e<1?"↓":"-"},K=function(e,t){return 0!==e&&void 0!==e&&(0!==t&&void 0!==t&&Math.abs(J(e,t))>200)},J=function(e,t){return void 0===e&&(e=0),t-1e3*e},q=n(8672),X=function(){return X=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},X.apply(this,arguments)},$=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},Z=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},Q=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},ee=r().util.Error.Code,te=r().util.Error.Category,ne=function(){function e(e){var t,n,i,o,r,a,l,u,p,h,f,m=this;if(this.configuration=e,this.cosmosVideoPlayerEndpoint="sp://videoplayer/v1",this.cosmos=e.cosmos,this.spotifyProductState=e.productState,this.playerDependencies=e.playerDependencies,this.playerConfiguration=null!==(t=e.playerConfiguration)&&void 0!==t?t:{},this.authTokenCallback=function(){return $(m,void 0,void 0,(function(){var t,n,i;return Z(this,(function(o){switch(o.label){case 0:return[4,e.getToken()];case 1:return t=o.sent(),n=t.accessToken,i=t.tokenType,[2,"".concat(i," ").concat(n)]}}))}))},(null!==(i=(p=null!==(n=(u=this.playerConfiguration).analytics)&&void 0!==n?n:u.analytics={}).playbackMetadataKeys)&&void 0!==i?i:p.playbackMetadataKeys=[]).push(c.kM),(null!==(o=(h=e.playerDependencies).factories)&&void 0!==o?o:h.factories=[]).push((function(){return new H(m,m.playerInterruptor,m.stallTimeoutMs)})),e.eventSenderProvider&&e.pendingEventsService){var _=(0,c.kR)(e.eventSenderProvider,e.pendingEventsService),g=_.playbackSessionLogger,E=_.playbackSessionPendingLogger,v=_.playbackErrorLogger,y=_.downloadSessionLogger,b=_.downloadErrorLogger;e.playerDependencies.factories.push((function(){var t,n,i,o;return new O({usePendingLogger:null!==(n=null===(t=e.logging)||void 0===t?void 0:t.usePendingStorage)&&void 0!==n&&n,logger:g,pendingLogger:E,errorLogger:v},null===(o=null===(i=m.playerConfiguration)||void 0===i?void 0:i.analytics)||void 0===o?void 0:o.playbackMetadataKeys)}),(function(){return new P(v)})),(null===(a=null===(r=this.playerConfiguration)||void 0===r?void 0:r.offline)||void 0===a?void 0:a.enabled)&&(null!==(l=(f=this.playerConfiguration.offline).downloadObserverFactories)&&void 0!==l?l:f.downloadObserverFactories=[]).push((function(){return new L(y)}),(function(){return new k(b)}))}if(e.endVideoLogger){var S=new d(e.productStateService,e.scrobbleService);e.playerDependencies.endVideo={endVideo:e.endVideoLogger,productStateProvider:S}}var T=this.spotifyProductState["video-manifest-url"];this.playerDependencies.mediaExtensions=[new F.h(T)],this.videoContextPlayerSub=void 0,this.contextPlayerVolumeSub=void 0,this.playerInterruptor=new s(this.cosmos),this.playbackService=e.playbackService}return e.prototype.initialize=function(){return $(this,arguments,void 0,(function(e){var t,n,i,o,r,s,c,l,u,d=this;return void 0===e&&(e=[]),Z(this,(function(p){switch(p.label){case 0:return t=new V.A(X(X({},this.playerDependencies),{factories:Q(Q([],null!==(s=this.playerDependencies.factories)&&void 0!==s?s:[],!0),e,!0)})),null!==(c=(u=this.playerConfiguration).drm)&&void 0!==c||(u.drm={}),n=void 0,this.playerConfiguration.drm.vmpEnabled?[4,U(this.configuration.getToken)]:[3,2];case 1:n=p.sent(),p.label=2;case 2:return i=this.spotifyProductState["widevine-license-url"],this.playerConfiguration.drm=X(X({},this.playerConfiguration.drm),{servers:X(X({},this.playerConfiguration.drm.servers),{"com.widevine.alpha":i}),advanced:X(X({},this.playerConfiguration.drm.advanced),{"com.widevine.alpha":{videoRobustness:"SW_SECURE_DECODE",serverCertificate:n}})}),o=t.createBetamaxPlayer(this.playerConfiguration),r=(null===(l=this.configuration.ads)||void 0===l?void 0:l.videoOnVideoSaiEnabled)?t.createBetamaxPlayer(this.playerConfiguration):void 0,this.playerRouter=new f(o,r),this.configuration.boomboxAudioSync?(this.audioSyncCoordinator=new j(this.configuration,this,this.playerRouter),this.audioSyncCoordinator.initialize()):this.videoContextPlayerSub=this.cosmos.sub("".concat(this.cosmosVideoPlayerEndpoint,"/commands"),this.onCommandReceived.bind(this),a.Ee),void 0!==this.playbackService&&this.playbackService.subVolume({},(function(e){var t,n=e.volume;null===(t=d.playerRouter)||void 0===t||t.setVolume(n)})),[2]}}))}))},e.prototype.release=function(){return $(this,void 0,void 0,(function(){return Z(this,(function(e){switch(e.label){case 0:return this.videoContextPlayerSub&&(this.videoContextPlayerSub.cancel(),this.videoContextPlayerSub=void 0),this.contextPlayerVolumeSub&&(this.contextPlayerVolumeSub.cancel(),this.contextPlayerVolumeSub=void 0),[4,this.stopAndUnloadCurrentTrack()];case 1:return e.sent(),this.playerInterruptor=void 0,this.playerRouter=void 0,this.deferredStartPayload=void 0,this.audioSyncCoordinator&&this.audioSyncCoordinator.release(),[2]}}))}))},e.prototype.onCommandReceived=function(e){return $(this,void 0,void 0,(function(){var t,n,i,o,r,a,s,l,u,d,p,h=this;return Z(this,(function(f){switch(f.label){case 0:if(t=e,!this.playerRouter)return[2,t];switch(void 0===(n=null===(l=null==t?void 0:t.track)||void 0===l?void 0:l.playback_id)&&this.logBetamaxPlaybackError("context-player-invalid-command","playback_id is undefined",e),t.type){case"start":return[3,1];case"stop":return[3,10];case"pause":return[3,12];case"resume":return[3,13];case"seek_to":return[3,16];case"set_stop_position":return[3,17];case"subscribed":case"config":return[3,18]}return[3,19];case 1:return f.trys.push([1,6,,9]),this.playerInterruptor&&this.playerInterruptor.unregister(),this.shouldResumeCurrentTrack(t,this.currentTrack)?[4,this.resumeCurrentPlayback(this.playerRouter,t)]:[3,3];case 2:return f.sent(),[3,5];case 3:return[4,this.startNewPlayback(t)];case 4:f.sent(),f.label=5;case 5:return[3,9];case 6:return f.sent(),[4,this.playerRouter.stop(n)];case 7:return f.sent(),[4,this.sendContextPlayerError({type:"video_playback_error"})];case 8:return f.sent(),[3,9];case 9:return this.shouldPrepareDeferredStart(t,n)&&(this.deferredStartPayload=t),[2,t];case 10:return[4,this.playerRouter.stop(n)];case 11:return f.sent(),[3,20];case 12:return this.playerRouter.pause(n),[3,20];case 13:return(null===(d=null===(u=this.currentTrack)||void 0===u?void 0:u.track)||void 0===d?void 0:d.metadata["media.live"])&&this.playerRouter.seekTo(n,0),this.deferredStartPayload&&this.shouldPerformDeferredStart(n)?(this.deferredStartPayload.start_reason="unknown",[4,this.startNewPlayback(this.deferredStartPayload)]):[3,15];case 14:f.sent(),f.label=15;case 15:return this.playerRouter.resume(n),[3,20];case 16:return i=t.position||0,this.isSeekPastStopPosition(i)&&void 0!==this.playerInterruptor&&this.playerInterruptor.unregister(),this.playerRouter.seekTo(n,i/1e3),[3,20];case 17:return o=t.stop_position,void 0!==this.playerInterruptor&&void 0!==o&&(this.playerInterruptor.registerInterruptorWhenReadyAtPosition(o/1e3),(null===(p=this.configuration.experimental)||void 0===p?void 0:p.seekToAd)&&(r=(o-5e3)/1e3)>=0&&this.currentStopPosition!==r&&(this.currentStopPosition=r,setTimeout((function(){var e;null===(e=h.playerRouter)||void 0===e||e.seekTo(n,r)}),1e3))),[3,20];case 18:return a=(0,c.jb)(t.config),this.playerRouter.setPreferredSubtitle(a),s=(0,c.nm)(t.config),this.playerRouter.setPlaybackSpeed(s),[3,20];case 19:return[3,20];case 20:return[2,t]}}))}))},e.prototype.shouldPrepareDeferredStart=function(e,t){var n;return"appload"===e.start_reason&&null===(null===(n=this.playerRouter)||void 0===n?void 0:n.getSessionState(t))},e.prototype.shouldPerformDeferredStart=function(e){var t;return void 0!==this.deferredStartPayload&&null===(null===(t=this.playerRouter)||void 0===t?void 0:t.getSessionState(e))},e.prototype.sendPlaybackError=function(e){return $(this,void 0,void 0,(function(){var t;return Z(this,(function(n){switch(n.label){case 0:return(t=this.backendErrorToContextPlayerError(e))?[4,this.sendContextPlayerError(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))},e.prototype.sendContextPlayerError=function(e){return this.cosmos.post("".concat(this.cosmosVideoPlayerEndpoint,"/error"),e)},e.prototype.startNewPlayback=function(e){return $(this,void 0,void 0,(function(){var t,n,i,o,r,a,s,l,u,d,p,h,f,m,_,g,E,v,y,b;return Z(this,(function(S){switch(S.label){case 0:if(!this.playerRouter)return[2,Promise.reject("betamaxPlayer was not set")];if(this.deferredStartPayload&&(this.deferredStartPayload=void 0),t=null!==(g=null===(_=null==e?void 0:e.track)||void 0===_?void 0:_.track)&&void 0!==g?g:e,n=null!==(v=null===(E=null==t?void 0:t.metadata)||void 0===E?void 0:E["media.manifest_id"])&&void 0!==v?v:"",i="",!n){try{o=JSON.parse(t.metadata["media.manifest"]),i=(0,c.$x)(o)||""}catch(e){i=""}i||(i=null!==(b=null===(y=null==t?void 0:t.metadata)||void 0===y?void 0:y.external_url)&&void 0!==b?b:"")}return n||i?(a=(0,c.Ms)(t),s=!a,a?[3,2]:[4,this.stopAndUnloadCurrentTrack()]):(r=this.makeVideoContextPlayerCoordinatorError("no-source-url","Cannot find a manifest ID nor a source URL in payload"),[2,Promise.reject(r)]);case 1:S.sent(),S.label=2;case 2:return l=n?this.authTokenCallback:void 0,this.playerConfiguration.networkConfiguration={getAuthorizationHeader:l},(u=(0,c.wR)(e)).desktop_ui="x",d=n?B.DJ.create(n):i,p={mediaUrl:d,isRoyaltyMedia:s,metadata:u},h=(0,c.nm)(e.config),this.playerRouter.setPlaybackSpeed(h),this.currentTrack=e.track,this.stallTimeoutMs=(0,c.Q8)(e),f=(e.seek_to||0)/1e3,m=!e.initially_paused,[2,this.playerRouter.play(p,{playWhenReady:m,initialPosition:f})]}}))}))},e.prototype.getPlaybackRequest=function(){if(this.playerRouter)return this.playerRouter.getPlaybackRequest()},e.prototype.sendAdvance=function(e){var t={reason:e};return this.cosmos.post("".concat(this.cosmosVideoPlayerEndpoint,"/advance"),t)},e.prototype.sendPlaybackState=function(e){var t;if(!e)return Promise.resolve({err:"playbackId is undefined"});var n=null===(t=this.playerRouter)||void 0===t?void 0:t.getSessionState(e);if(!n)return Promise.resolve({err:"no session state for playbackId: '".concat(e,"'")});var i=n.duration>-1?Math.floor(1e3*n.duration):-1;if(-1===i)return Promise.resolve({err:"negDuration"});var o=n.currentTime>-1?Math.floor(1e3*n.currentTime):-1,r=n.isPlaying&&!n.isPaused?n.playbackSpeed:0,a={timestamp:(new Date).getTime(),playback_id:e||"",is_paused:n.isPaused,is_buffering:n.isBuffering||!1,playback_speed:r,position_as_of_timestamp:o,duration:i};return this.cosmos.post("".concat(this.cosmosVideoPlayerEndpoint,"/state"),a)},e.prototype.setMinimizeBitrate=function(e){var t;null===(t=this.playerRouter)||void 0===t||t.setMinimizeBitrate(e)},e.prototype.reportSurface=function(e){var t;null===(t=this.playerRouter)||void 0===t||t.setSurface(e)},e.prototype.setFullscreen=function(e){var t;null===(t=this.playerRouter)||void 0===t||t.setFullscreen(e)},e.prototype.setWindow=function(e){var t;null===(t=this.playerRouter)||void 0===t||t.setWindow(e)},e.prototype.setPip=function(e){var t,n;return null!==(n=null===(t=this.playerRouter)||void 0===t?void 0:t.setPip(e))&&void 0!==n?n:Promise.resolve(null)},e.prototype.pausePlayback=function(e){var t;null===(t=this.playerRouter)||void 0===t||t.pause(e)},e.prototype.isSeekPastStopPosition=function(e){var t=this.playerInterruptor?this.playerInterruptor.getStopPosition():void 0;return void 0!==t&&e>=t},e.prototype.shouldResumeCurrentTrack=function(e,t){return void 0!==t&&(void 0!==this.playerRouter&&this.playerRouter.hasPlaybackId(e.track.playback_id))},e.prototype.resumeCurrentPlayback=function(e,t){return $(this,void 0,void 0,(function(){var n,i,o,r;return Z(this,(function(a){switch(a.label){case 0:return n=t.track.playback_id,[4,null===(r=this.playerRouter)||void 0===r?void 0:r.switchPlayer(n)];case 1:return a.sent(),i=(0,c.nm)(t.config),e.setPlaybackSpeed(i),e.resume(n),void 0!==t.seek_to&&t.seek_to>=0&&(o=t.seek_to/1e3,e.seekTo(n,o)),[2]}}))}))},e.prototype.makeVideoContextPlayerCoordinatorError=function(e,t){var n=new Error(t);return n.name="VideoContextPlayerCoordinatorError",n.reason=e,n},e.prototype.backendErrorToContextPlayerError=function(e){var t,n;if(!(null===(t=e.network)||void 0===t?void 0:t.responseText)&&!(null===(n=e.network)||void 0===n?void 0:n.httpStatus))return e.code===ee.REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE?{type:"video_unsupported_key_system"}:e.category===(0,R.eG)(te.DRM)?this.configuration.widevineVersionSupported?{type:"video_playback_error"}:{type:"video_unsupported_client_version"}:"recoverable"===e.severity?null:{type:"unknown"};if(401===e.network.httpStatus)return{type:"video_playback_error"};var i=null;try{if(e.network.responseHeaders&&"content-type"in e.network.responseHeaders)if("application/json"===e.network.responseHeaders["content-type"]&&e.network.responseText)i=JSON.parse(e.network.responseText).reason}catch(e){return{type:"unknown"}}switch(i){case"GEO_RESTRICTED":return{type:"video_georestricted"};case"UNSUPPORTED_CLIENT_VERSION":return{type:"video_unsupported_client_version"};case"UNSUPPORTED_PLATFORM_VERSION":return{type:"video_unsupported_platform_version"};case"COUNTRY_RESTRICTED":return{type:"video_country_restricted"};case"UNAVAILABLE":return{type:"video_unavailable"};case"CATALOGUE_RESTRICTED":return{type:"video_catalogue_restricted"};default:return{type:"unknown"}}},e.prototype.stopAndUnloadCurrentTrack=function(){return $(this,void 0,void 0,(function(){return Z(this,(function(e){switch(e.label){case 0:return this.playerRouter?!this.currentTrack||this.playerRouter.ended?[3,2]:[4,this.playerRouter.stopAll()]:[2];case 1:e.sent(),e.label=2;case 2:return this.currentTrack=void 0,this.stallTimeoutMs=void 0,[2]}}))}))},e.prototype.logBetamaxPlaybackError=function(e,t,n){return $(this,void 0,void 0,(function(){var i,o,r;return Z(this,(function(a){switch(a.label){case 0:return[4,null===(r=(o=this.configuration).eventSenderProvider)||void 0===r?void 0:r.call(o)];case 1:return(i=a.sent())?[4,i.send((0,q.G)({error_domain:"ContextPlayerCoordinator",error_description:t,error_extra1:JSON.stringify({reason:e,severity:"recoverable"}),error_extra2:JSON.stringify({type:n.type})}))]:[2];case 2:return a.sent(),[2]}}))}))},e}()},15999:(e,t,n)=>{"use strict";n.d(t,{V2:()=>L,ap:()=>y,nU:()=>D,b9:()=>v,kM:()=>E,ki:()=>R,kR:()=>G,wR:()=>M,nm:()=>H,$x:()=>F,Q8:()=>U,jb:()=>B,Ms:()=>W});var i=n(45076),o=n(30131),r=n(21364),a=n(24848),s=n.n(a);function c(){return{session_id:"",feature_identifier:"",media_url:"",ms_start_position:0,start_bitrate:0,ms_duration:0,ms_start_time:0,ms_manifest_load_time:0,ms_encryption_load_time:0,ms_initial_buffering:0,ms_buffering_seek:0,ms_buffering_seek_longest:0,ms_buffering_stall:0,ms_buffering_stall_longest:0,n_stalls:0,n_seekback:0,n_seekforward:0,ms_played:0,ms_played_background:0,ms_played_fullscreen:0,ms_played_subtitles:0,connection_type_start:"",connection_type_end:"",kbps_average_bandwidth:0,encryption_type:"",kbytes_played:0,kbytes_downloaded:0,n_view_transitions:0,n_dropped_frames:0,average_device_orientation:0,exit_reason:"",aspect_ratio:0,last_used_subtitle:"",ms_played_nominal:0,is_royalty_media:!1,streaming_type:"",desktop_ui:"",ms_played_external:0,ms_buffering_stutter:0,ms_buffering_stutter_longest:0,n_stutters:0,n_forced_rebuffer:0,ms_played_video_disabled:0,ms_buffering_forced:0,ms_buffering_forced_longest:0,media_type:"",ms_played_internal:0,client_metadata:{},ms_played_per_surface:{},kbytes_from_cache:0,ms_perceived_time_to_first_frame:0,did_attempt_to_play:!1,ms_played_audible:0,playback_id:new Uint8Array(0)}}var l={encode:function(e,t){return void 0===t&&(t=s().Writer.create()),void 0!==e.session_id&&t.uint32(10).string(e.session_id),void 0!==e.feature_identifier&&t.uint32(18).string(e.feature_identifier),void 0!==e.media_url&&t.uint32(26).string(e.media_url),void 0!==e.ms_start_position&&t.uint32(32).int64(e.ms_start_position),void 0!==e.start_bitrate&&t.uint32(40).int32(e.start_bitrate),void 0!==e.ms_duration&&t.uint32(48).int64(e.ms_duration),void 0!==e.ms_start_time&&t.uint32(56).int64(e.ms_start_time),void 0!==e.ms_manifest_load_time&&t.uint32(64).int64(e.ms_manifest_load_time),void 0!==e.ms_encryption_load_time&&t.uint32(72).int64(e.ms_encryption_load_time),void 0!==e.ms_initial_buffering&&t.uint32(80).int64(e.ms_initial_buffering),void 0!==e.ms_buffering_seek&&t.uint32(88).int64(e.ms_buffering_seek),void 0!==e.ms_buffering_seek_longest&&t.uint32(96).int64(e.ms_buffering_seek_longest),void 0!==e.ms_buffering_stall&&t.uint32(104).int64(e.ms_buffering_stall),void 0!==e.ms_buffering_stall_longest&&t.uint32(112).int64(e.ms_buffering_stall_longest),void 0!==e.n_stalls&&t.uint32(120).int32(e.n_stalls),void 0!==e.n_seekback&&t.uint32(128).int32(e.n_seekback),void 0!==e.n_seekforward&&t.uint32(136).int32(e.n_seekforward),void 0!==e.ms_played&&t.uint32(144).int64(e.ms_played),void 0!==e.ms_played_background&&t.uint32(152).int64(e.ms_played_background),void 0!==e.ms_played_fullscreen&&t.uint32(160).int64(e.ms_played_fullscreen),void 0!==e.ms_played_subtitles&&t.uint32(168).int64(e.ms_played_subtitles),void 0!==e.connection_type_start&&t.uint32(178).string(e.connection_type_start),void 0!==e.connection_type_end&&t.uint32(186).string(e.connection_type_end),void 0!==e.kbps_average_bandwidth&&t.uint32(192).int32(e.kbps_average_bandwidth),void 0!==e.encryption_type&&t.uint32(202).string(e.encryption_type),void 0!==e.kbytes_played&&t.uint32(208).int64(e.kbytes_played),void 0!==e.kbytes_downloaded&&t.uint32(216).int64(e.kbytes_downloaded),void 0!==e.n_view_transitions&&t.uint32(224).int32(e.n_view_transitions),void 0!==e.n_dropped_frames&&t.uint32(232).int64(e.n_dropped_frames),void 0!==e.average_device_orientation&&t.uint32(245).float(e.average_device_orientation),void 0!==e.exit_reason&&t.uint32(250).string(e.exit_reason),void 0!==e.aspect_ratio&&t.uint32(261).float(e.aspect_ratio),void 0!==e.last_used_subtitle&&t.uint32(266).string(e.last_used_subtitle),void 0!==e.ms_played_nominal&&t.uint32(272).int64(e.ms_played_nominal),void 0!==e.is_royalty_media&&t.uint32(280).bool(e.is_royalty_media),void 0!==e.streaming_type&&t.uint32(290).string(e.streaming_type),void 0!==e.desktop_ui&&t.uint32(298).string(e.desktop_ui),void 0!==e.ms_played_external&&t.uint32(304).int64(e.ms_played_external),void 0!==e.ms_buffering_stutter&&t.uint32(312).int64(e.ms_buffering_stutter),void 0!==e.ms_buffering_stutter_longest&&t.uint32(320).int64(e.ms_buffering_stutter_longest),void 0!==e.n_stutters&&t.uint32(328).int32(e.n_stutters),void 0!==e.n_forced_rebuffer&&t.uint32(336).int32(e.n_forced_rebuffer),void 0!==e.ms_played_video_disabled&&t.uint32(344).int64(e.ms_played_video_disabled),void 0!==e.ms_buffering_forced&&t.uint32(352).int64(e.ms_buffering_forced),void 0!==e.ms_buffering_forced_longest&&t.uint32(360).int64(e.ms_buffering_forced_longest),void 0!==e.media_type&&t.uint32(370).string(e.media_type),void 0!==e.ms_played_internal&&t.uint32(376).int64(e.ms_played_internal),Object.entries(e.client_metadata||{}).forEach((function(e){var n=e[0],i=e[1];u.encode({key:n,value:i},t.uint32(386).fork()).ldelim()})),Object.entries(e.ms_played_per_surface||{}).forEach((function(e){var n=e[0],i=e[1];d.encode({key:n,value:i},t.uint32(394).fork()).ldelim()})),void 0!==e.kbytes_from_cache&&t.uint32(400).int64(e.kbytes_from_cache),void 0!==e.ms_perceived_time_to_first_frame&&t.uint32(408).int64(e.ms_perceived_time_to_first_frame),void 0!==e.did_attempt_to_play&&t.uint32(416).bool(e.did_attempt_to_play),void 0!==e.ms_played_audible&&t.uint32(424).int64(e.ms_played_audible),void 0!==e.playback_id&&t.uint32(434).bytes(e.playback_id),t},decode:function(e,t){for(var n=e instanceof s().Reader?e:s().Reader.create(e),i=void 0===t?n.len:n.pos+t,o=c();n.pos<i;){var r=n.uint32();switch(r>>>3){case 1:if(10!==r)break;o.session_id=n.string();continue;case 2:if(18!==r)break;o.feature_identifier=n.string();continue;case 3:if(26!==r)break;o.media_url=n.string();continue;case 4:if(32!==r)break;o.ms_start_position=p(n.int64());continue;case 5:if(40!==r)break;o.start_bitrate=n.int32();continue;case 6:if(48!==r)break;o.ms_duration=p(n.int64());continue;case 7:if(56!==r)break;o.ms_start_time=p(n.int64());continue;case 8:if(64!==r)break;o.ms_manifest_load_time=p(n.int64());continue;case 9:if(72!==r)break;o.ms_encryption_load_time=p(n.int64());continue;case 10:if(80!==r)break;o.ms_initial_buffering=p(n.int64());continue;case 11:if(88!==r)break;o.ms_buffering_seek=p(n.int64());continue;case 12:if(96!==r)break;o.ms_buffering_seek_longest=p(n.int64());continue;case 13:if(104!==r)break;o.ms_buffering_stall=p(n.int64());continue;case 14:if(112!==r)break;o.ms_buffering_stall_longest=p(n.int64());continue;case 15:if(120!==r)break;o.n_stalls=n.int32();continue;case 16:if(128!==r)break;o.n_seekback=n.int32();continue;case 17:if(136!==r)break;o.n_seekforward=n.int32();continue;case 18:if(144!==r)break;o.ms_played=p(n.int64());continue;case 19:if(152!==r)break;o.ms_played_background=p(n.int64());continue;case 20:if(160!==r)break;o.ms_played_fullscreen=p(n.int64());continue;case 21:if(168!==r)break;o.ms_played_subtitles=p(n.int64());continue;case 22:if(178!==r)break;o.connection_type_start=n.string();continue;case 23:if(186!==r)break;o.connection_type_end=n.string();continue;case 24:if(192!==r)break;o.kbps_average_bandwidth=n.int32();continue;case 25:if(202!==r)break;o.encryption_type=n.string();continue;case 26:if(208!==r)break;o.kbytes_played=p(n.int64());continue;case 27:if(216!==r)break;o.kbytes_downloaded=p(n.int64());continue;case 28:if(224!==r)break;o.n_view_transitions=n.int32();continue;case 29:if(232!==r)break;o.n_dropped_frames=p(n.int64());continue;case 30:if(245!==r)break;o.average_device_orientation=n.float();continue;case 31:if(250!==r)break;o.exit_reason=n.string();continue;case 32:if(261!==r)break;o.aspect_ratio=n.float();continue;case 33:if(266!==r)break;o.last_used_subtitle=n.string();continue;case 34:if(272!==r)break;o.ms_played_nominal=p(n.int64());continue;case 35:if(280!==r)break;o.is_royalty_media=n.bool();continue;case 36:if(290!==r)break;o.streaming_type=n.string();continue;case 37:if(298!==r)break;o.desktop_ui=n.string();continue;case 38:if(304!==r)break;o.ms_played_external=p(n.int64());continue;case 39:if(312!==r)break;o.ms_buffering_stutter=p(n.int64());continue;case 40:if(320!==r)break;o.ms_buffering_stutter_longest=p(n.int64());continue;case 41:if(328!==r)break;o.n_stutters=n.int32();continue;case 42:if(336!==r)break;o.n_forced_rebuffer=n.int32();continue;case 43:if(344!==r)break;o.ms_played_video_disabled=p(n.int64());continue;case 44:if(352!==r)break;o.ms_buffering_forced=p(n.int64());continue;case 45:if(360!==r)break;o.ms_buffering_forced_longest=p(n.int64());continue;case 46:if(370!==r)break;o.media_type=n.string();continue;case 47:if(376!==r)break;o.ms_played_internal=p(n.int64());continue;case 48:if(386!==r)break;var a=u.decode(n,n.uint32());void 0!==a.value&&(o.client_metadata[a.key]=a.value);continue;case 49:if(394!==r)break;var l=d.decode(n,n.uint32());void 0!==l.value&&(o.ms_played_per_surface[l.key]=l.value);continue;case 50:if(400!==r)break;o.kbytes_from_cache=p(n.int64());continue;case 51:if(408!==r)break;o.ms_perceived_time_to_first_frame=p(n.int64());continue;case 52:if(416!==r)break;o.did_attempt_to_play=n.bool();continue;case 53:if(424!==r)break;o.ms_played_audible=p(n.int64());continue;case 54:if(434!==r)break;o.playback_id=n.bytes();continue}if(4==(7&r)||0===r)break;n.skipType(7&r)}return o},create:function(e){return l.fromPartial(null!=e?e:{})},fromPartial:function(e){var t,n,i,o,r,a,s,l,u,d,p,h,f,m,_,g,E,v,y,b,S,T,A,I,O,C,R,N,P,L,k,w,D,M,x,U,V,F,B,H,G,W,j,Y,z,K,J,q,X,$,Z,Q,ee,te,ne=c();return ne.session_id=null!==(t=e.session_id)&&void 0!==t?t:"",ne.feature_identifier=null!==(n=e.feature_identifier)&&void 0!==n?n:"",ne.media_url=null!==(i=e.media_url)&&void 0!==i?i:"",ne.ms_start_position=null!==(o=e.ms_start_position)&&void 0!==o?o:0,ne.start_bitrate=null!==(r=e.start_bitrate)&&void 0!==r?r:0,ne.ms_duration=null!==(a=e.ms_duration)&&void 0!==a?a:0,ne.ms_start_time=null!==(s=e.ms_start_time)&&void 0!==s?s:0,ne.ms_manifest_load_time=null!==(l=e.ms_manifest_load_time)&&void 0!==l?l:0,ne.ms_encryption_load_time=null!==(u=e.ms_encryption_load_time)&&void 0!==u?u:0,ne.ms_initial_buffering=null!==(d=e.ms_initial_buffering)&&void 0!==d?d:0,ne.ms_buffering_seek=null!==(p=e.ms_buffering_seek)&&void 0!==p?p:0,ne.ms_buffering_seek_longest=null!==(h=e.ms_buffering_seek_longest)&&void 0!==h?h:0,ne.ms_buffering_stall=null!==(f=e.ms_buffering_stall)&&void 0!==f?f:0,ne.ms_buffering_stall_longest=null!==(m=e.ms_buffering_stall_longest)&&void 0!==m?m:0,ne.n_stalls=null!==(_=e.n_stalls)&&void 0!==_?_:0,ne.n_seekback=null!==(g=e.n_seekback)&&void 0!==g?g:0,ne.n_seekforward=null!==(E=e.n_seekforward)&&void 0!==E?E:0,ne.ms_played=null!==(v=e.ms_played)&&void 0!==v?v:0,ne.ms_played_background=null!==(y=e.ms_played_background)&&void 0!==y?y:0,ne.ms_played_fullscreen=null!==(b=e.ms_played_fullscreen)&&void 0!==b?b:0,ne.ms_played_subtitles=null!==(S=e.ms_played_subtitles)&&void 0!==S?S:0,ne.connection_type_start=null!==(T=e.connection_type_start)&&void 0!==T?T:"",ne.connection_type_end=null!==(A=e.connection_type_end)&&void 0!==A?A:"",ne.kbps_average_bandwidth=null!==(I=e.kbps_average_bandwidth)&&void 0!==I?I:0,ne.encryption_type=null!==(O=e.encryption_type)&&void 0!==O?O:"",ne.kbytes_played=null!==(C=e.kbytes_played)&&void 0!==C?C:0,ne.kbytes_downloaded=null!==(R=e.kbytes_downloaded)&&void 0!==R?R:0,ne.n_view_transitions=null!==(N=e.n_view_transitions)&&void 0!==N?N:0,ne.n_dropped_frames=null!==(P=e.n_dropped_frames)&&void 0!==P?P:0,ne.average_device_orientation=null!==(L=e.average_device_orientation)&&void 0!==L?L:0,ne.exit_reason=null!==(k=e.exit_reason)&&void 0!==k?k:"",ne.aspect_ratio=null!==(w=e.aspect_ratio)&&void 0!==w?w:0,ne.last_used_subtitle=null!==(D=e.last_used_subtitle)&&void 0!==D?D:"",ne.ms_played_nominal=null!==(M=e.ms_played_nominal)&&void 0!==M?M:0,ne.is_royalty_media=null!==(x=e.is_royalty_media)&&void 0!==x&&x,ne.streaming_type=null!==(U=e.streaming_type)&&void 0!==U?U:"",ne.desktop_ui=null!==(V=e.desktop_ui)&&void 0!==V?V:"",ne.ms_played_external=null!==(F=e.ms_played_external)&&void 0!==F?F:0,ne.ms_buffering_stutter=null!==(B=e.ms_buffering_stutter)&&void 0!==B?B:0,ne.ms_buffering_stutter_longest=null!==(H=e.ms_buffering_stutter_longest)&&void 0!==H?H:0,ne.n_stutters=null!==(G=e.n_stutters)&&void 0!==G?G:0,ne.n_forced_rebuffer=null!==(W=e.n_forced_rebuffer)&&void 0!==W?W:0,ne.ms_played_video_disabled=null!==(j=e.ms_played_video_disabled)&&void 0!==j?j:0,ne.ms_buffering_forced=null!==(Y=e.ms_buffering_forced)&&void 0!==Y?Y:0,ne.ms_buffering_forced_longest=null!==(z=e.ms_buffering_forced_longest)&&void 0!==z?z:0,ne.media_type=null!==(K=e.media_type)&&void 0!==K?K:"",ne.ms_played_internal=null!==(J=e.ms_played_internal)&&void 0!==J?J:0,ne.client_metadata=Object.entries(null!==(q=e.client_metadata)&&void 0!==q?q:{}).reduce((function(e,t){var n=t[0],i=t[1];return void 0!==i&&(e[n]=globalThis.String(i)),e}),{}),ne.ms_played_per_surface=Object.entries(null!==(X=e.ms_played_per_surface)&&void 0!==X?X:{}).reduce((function(e,t){var n=t[0],i=t[1];return void 0!==i&&(e[n]=globalThis.Number(i)),e}),{}),ne.kbytes_from_cache=null!==($=e.kbytes_from_cache)&&void 0!==$?$:0,ne.ms_perceived_time_to_first_frame=null!==(Z=e.ms_perceived_time_to_first_frame)&&void 0!==Z?Z:0,ne.did_attempt_to_play=null!==(Q=e.did_attempt_to_play)&&void 0!==Q&&Q,ne.ms_played_audible=null!==(ee=e.ms_played_audible)&&void 0!==ee?ee:0,ne.playback_id=null!==(te=e.playback_id)&&void 0!==te?te:new Uint8Array(0),ne}};var u={encode:function(e,t){return void 0===t&&(t=s().Writer.create()),""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t},decode:function(e,t){for(var n=e instanceof s().Reader?e:s().Reader.create(e),i=void 0===t?n.len:n.pos+t,o={key:"",value:""};n.pos<i;){var r=n.uint32();switch(r>>>3){case 1:if(10!==r)break;o.key=n.string();continue;case 2:if(18!==r)break;o.value=n.string();continue}if(4==(7&r)||0===r)break;n.skipType(7&r)}return o},create:function(e){return u.fromPartial(null!=e?e:{})},fromPartial:function(e){var t,n,i={key:"",value:""};return i.key=null!==(t=e.key)&&void 0!==t?t:"",i.value=null!==(n=e.value)&&void 0!==n?n:"",i}};var d={encode:function(e,t){return void 0===t&&(t=s().Writer.create()),""!==e.key&&t.uint32(10).string(e.key),0!==e.value&&t.uint32(16).int64(e.value),t},decode:function(e,t){for(var n=e instanceof s().Reader?e:s().Reader.create(e),i=void 0===t?n.len:n.pos+t,o={key:"",value:0};n.pos<i;){var r=n.uint32();switch(r>>>3){case 1:if(10!==r)break;o.key=n.string();continue;case 2:if(16!==r)break;o.value=p(n.int64());continue}if(4==(7&r)||0===r)break;n.skipType(7&r)}return o},create:function(e){return d.fromPartial(null!=e?e:{})},fromPartial:function(e){var t,n,i={key:"",value:0};return i.key=null!==(t=e.key)&&void 0!==t?t:"",i.value=null!==(n=e.value)&&void 0!==n?n:0,i}};function p(e){if(e.gt(globalThis.Number.MAX_SAFE_INTEGER))throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");if(e.lt(globalThis.Number.MIN_SAFE_INTEGER))throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");return e.toNumber()}s().util.Long!==r.A&&(s().util.Long=r.A,s().configure());var h=n(8672);var f=function(){return f=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},m=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},_=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},g="playback_id",E="reason_start",v="feature_identifier",y="desktop_ui",b="referrer_version",S="feature_version",T="gaia_dev_id",A="view_uri",I="play_context",O="file_id",C="referrer",R="shuffle",N="play_track",P="provider",L="command_initiated_time_ms",k="client_offline",w=[g,E,v,S,b,O,T,A,I,C,R,N,P,L,k],D="endvideo_";function M(e){var t,n,i,r,a,s,c,l,u,d,p,h,m,_=null!==(i=null===(n=null===(t=null==e?void 0:e.track)||void 0===t?void 0:t.track)||void 0===n?void 0:n.metadata)&&void 0!==i?i:{},y=function(e){var t,n,i,o,r,a,s,c,l,u,d,p,h,f,m,_,y,M,x,U,F,B,H,G,W,j,Y,z,K,J,q,X,$,Z,Q,ee,te=null!==(i=null===(n=null==e?void 0:e.track)||void 0===n?void 0:n.playback_id)&&void 0!==i?i:"",ne=null!==(s=null===(a=null===(r=null===(o=null==e?void 0:e.track)||void 0===o?void 0:o.track)||void 0===r?void 0:r.metadata)||void 0===a?void 0:a["media.manifest_id"])&&void 0!==s?s:"",ie=null!==(u=null===(l=null===(c=null==e?void 0:e.track)||void 0===c?void 0:c.play_origin)||void 0===l?void 0:l.feature_identifier)&&void 0!==u?u:"",oe=null!==(h=null===(p=null===(d=null==e?void 0:e.track)||void 0===d?void 0:d.play_origin)||void 0===p?void 0:p.feature_version)&&void 0!==h?h:"",re=null!==(_=null===(m=null===(f=null==e?void 0:e.track)||void 0===f?void 0:f.play_origin)||void 0===m?void 0:m.view_uri)&&void 0!==_?_:"",ae=null!==(x=null===(M=null===(y=null==e?void 0:e.track)||void 0===y?void 0:y.play_origin)||void 0===M?void 0:M.referrer_identifier)&&void 0!==x?x:"",se=null!==(B=null===(F=null===(U=null==e?void 0:e.track)||void 0===U?void 0:U.play_origin)||void 0===F?void 0:F.device_identifier)&&void 0!==B?B:"",ce=null!==(G=null===(H=null==e?void 0:e.player_options_override)||void 0===H?void 0:H.shuffling_context)&&void 0!==G&&G,le=null!==(Y=null===(j=null===(W=null==e?void 0:e.track)||void 0===W?void 0:W.track)||void 0===j?void 0:j.provider)&&void 0!==Y?Y:"",ue=null!==(z=null==e?void 0:e.start_reason)&&void 0!==z?z:"unknown",de=null!==(J=null===(K=null==e?void 0:e.track)||void 0===K?void 0:K.context_uri)&&void 0!==J?J:"",pe=null!==($=null===(X=null===(q=null==e?void 0:e.track)||void 0===q?void 0:q.track)||void 0===X?void 0:X.uri)&&void 0!==$?$:"",he=null!==(Q=null===(Z=null==e?void 0:e.logging_params)||void 0===Z?void 0:Z.command_initiated_time)&&void 0!==Q?Q:-1,fe=null!==(ee=null==e?void 0:e.client_offline)&&void 0!==ee&&ee,me=(t={},t[g]=te,t[v]=ie,t[b]=oe,t[S]=oe,t[A]=re,t[C]=ae,t[T]=se,t[P]=le,t[E]=ue,t[I]=de,t[R]=ce?"true":"false",t[N]=pe,t[L]=he,t[O]=ne,t[k]=fe?"true":"false",t);return V(w)(D)(me)}(e),M=null===(s=null===(a=null===(r=null==e?void 0:e.track)||void 0===r?void 0:r.track)||void 0===a?void 0:a.metadata)||void 0===s?void 0:s.interaction_id;M&&(_[o.P.INTERACTION_ID]=M);var U=null===(u=null===(l=null===(c=null==e?void 0:e.track)||void 0===c?void 0:c.track)||void 0===l?void 0:l.metadata)||void 0===u?void 0:u.page_instance_id;U&&(_[o.P.PAGE_INSTANCE_ID]=U);var F=null===(h=null===(p=null===(d=null==e?void 0:e.track)||void 0===d?void 0:d.track)||void 0===p?void 0:p.metadata)||void 0===h?void 0:h.feature_uuid;return F&&(_[o.P.FEATURE_UUID]=F),_.feature_identifier=function(e){var t="context-player",n=x(e);return n?"".concat(t,"-").concat(n):t}(e),_.playback_id=e.track.playback_id,_[E]=null!==(m=null==e?void 0:e.start_reason)&&void 0!==m?m:"unknown",f(f({},_),y)}var x=function(e){if("mixed"===e.track.track.metadata["media.type"])return"vodcast";var t="video"===e.track.track.metadata["media.type"],n=e.track.track.uri.split(":"),i=n.length>=2&&"spotify"===n[0]&&n[1]?n[1]:void 0;return t&&"track"===i?"music-video":i};function U(e){var t=e.track.track.metadata["video.seconds_before_track_stuck"];if(t){var n=Number(t);return Number.isInteger(n)?1e3*n:void 0}}var V=function(e){return function(t){return function(n){return Object.entries(n).reduce((function(n,i){var o,r=i[0],a=i[1],s=e.includes(r)?"".concat(t).concat(r):r;return f(f({},n),((o={})[s]=a,o))}),{})}}};var F=function(e){if(!Array.isArray(e)||!e.length)return null;var t=["video/webm"],n=e.filter((function(e){return t.indexOf(e.mimeType)>-1})).sort((function(e,t){return Math.abs(e.bitrate-640)-Math.abs(t.bitrate-640)}));return n.length?n[0].url:null};function B(e){var t=e["video.subtitles"],n=e["video.subtitles_cc"];return""===t?i.ib:(0,i.h$)(t,n)}function H(e){return e["audio.episode.speed"]}var G=function(e,t){function n(t){return m(this,void 0,void 0,(function(){return _(this,(function(n){switch(n.label){case 0:return[4,e()];case 1:return[4,n.sent().send(t)];case 2:return[2,n.sent()]}}))}))}var i,o,r;return{playbackSessionPendingLogger:(i=new Map,o=function(e){return{protoName:"BetamaxPlaybackSession",protoData:l.encode(l.fromPartial(e)).finish()}},r=function(e){var t,n,o=e?i.get(e):void 0;return{tokenEventName:null!==(t=null==o?void 0:o.tokenEventName)&&void 0!==t?t:"",tokenSequenceNo:null!==(n=null==o?void 0:o.tokenSequenceNo)&&void 0!==n?n:-1}},{hasCreatedMessage:function(e){return!!e&&i.has(e)},addPendingEvent:function(e){return m(void 0,void 0,void 0,(function(){var n;return _(this,(function(r){switch(r.label){case 0:return[4,t.addPendingEvent(o(e))];case 1:return(n=r.sent()).success&&e.session_id&&i.set(e.session_id,{tokenEventName:n.tokenEventName,tokenSequenceNo:n.tokenSequenceNo}),[2,n]}}))}))},replacePendingEvent:function(e){return t.replacePendingEvent(f(f({},o(e)),r(e.session_id)))},commitPendingEvent:function(e){var n=t.commitPendingEvent(r(e));return e&&i.delete(e),n}}),playbackSessionLogger:{log:function(e){return n({name:"BetamaxPlaybackSession",environments:["device","desktop"],data:e})}},playbackErrorLogger:{log:function(e){return n((0,h.G)(e))}},downloadSessionLogger:{log:function(e){return n({name:"BetamaxDownloadSession",environments:["device","desktop"],data:e})}},downloadErrorLogger:{log:function(e){return n({name:"BetamaxDownloadError",environments:["device","desktop"],data:e})}}}};function W(e){var t;return"true"===(null===(t=null==e?void 0:e.metadata)||void 0===t?void 0:t.is_advertisement)}},31249:(e,t,n)=>{"use strict";n.d(t,{Y:()=>y});var i,o,r;!function(e){e[e.EMPTY=0]="EMPTY",e[e.TRACK=1]="TRACK",e[e.EPISODE=2]="EPISODE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.MISSING=1]="MISSING",e[e.COMPLETE=2]="COMPLETE",e[e.NOT_APPLICABLE=3]="NOT_APPLICABLE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(o||(o={})),function(e){e[e.OK=0]="OK",e[e.TEMPORARY_ERROR=1]="TEMPORARY_ERROR",e[e.PERMANENT_ERROR=2]="PERMANENT_ERROR",e[e.DISK_FULL=3]="DISK_FULL",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(r||(r={}));var a=n(72672),s=n(71287),c=n(39894),l=n(34521),u=n(87172),d=n(36601),p=n.n(d),h="betamax-offline",f=function(e){var t,n;return null!==(n=null===(t=e.metadata)||void 0===t?void 0:t.episodeUri)&&void 0!==n?n:""},m=function(e){var t=e.partialAsset,n=function(e){return e.code===p().util.Error.Code.QUOTA_EXCEEDED_ERROR?r.DISK_FULL:r.PERMANENT_ERROR}(e.error),i=f(t);return{id:h,download:{link:i,complete:!1,fileSize:t.size,bytesDownloaded:t.size,error:n},identify:void 0,remove:void 0,stopDownload:void 0}},_=function(e){return"progress"===e.name?(n=(t=e).partialAsset,i=t.progress,o=f(n),a=n.size,s=i>0?Math.round(a/i):-1,{id:h,download:{link:o,complete:!1,fileSize:s,bytesDownloaded:a,error:r.OK},identify:void 0,remove:void 0,stopDownload:void 0}):"completed"===e.name?function(e){var t=e.offlineAsset;return{id:h,download:{link:f(t),complete:!0,fileSize:t.size,bytesDownloaded:t.size,error:r.OK},identify:void 0,remove:void 0,stopDownload:void 0}}(e):"error"===e.name?m(e):void 0;var t,n,i,o,a,s},g=function(){return g=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},E=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},v=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},y=function(){function e(e){this.configuration=e,this.offlineCosmosEndpoint="sp://offline/v2/plugin",this.betamaxPluginId="betamax-offline",this.pluginHeaders={"content-type":"application/json",accept:"application/json"},this.show_service=e.show_service}return e.prototype.initialize=function(){var e,t,n,i,o,r,c=this;if(!0===(null===(t=null===(e=this.configuration.playerConfiguration)||void 0===e?void 0:e.offline)||void 0===t?void 0:t.enabled)){var u=this.configuration.productState["widevine-license-url"];this.configuration.playerConfiguration.drm={servers:g(g({},null===(n=this.configuration.playerConfiguration.drm)||void 0===n?void 0:n.servers),{"com.widevine.alpha":u}),advanced:{"com.widevine.alpha":g(g({},null===(i=this.configuration.playerConfiguration.drm)||void 0===i?void 0:i.advanced),{videoRobustness:"SW_SECURE_DECODE"})}},null!==(o=(r=this.configuration.playerConfiguration.offline).downloadObserverFactories)&&void 0!==o||(r.downloadObserverFactories=[]),this.configuration.playerConfiguration.offline.downloadObserverFactories.push((function(){return{onDownloadEvent:function(e){return c.onDownloadEvent(e)}}}));var d=new s.h(this.configuration.productState["video-manifest-url"]);this.offlineManager=new a.F({networkConfiguration:this.configuration.networkConfiguration,playerConfiguration:this.configuration.playerConfiguration,mediaExtensions:[d]});var p={id:this.betamaxPluginId};this.pluginCosmosSubscription=this.configuration.cosmos.sub(this.offlineCosmosEndpoint,this.onCommandReceived.bind(this),l.Ee,p,this.pluginHeaders)}},e.prototype.release=function(){this.offlineManager&&(this.offlineManager.release(),this.offlineManager=void 0),this.pluginCosmosSubscription&&(this.pluginCosmosSubscription.cancel(),this.pluginCosmosSubscription=void 0)},e.prototype.onDownloadEvent=function(e){return E(this,void 0,void 0,(function(){var t;return v(this,(function(n){switch(n.label){case 0:return(t=_(e))?[4,this.configuration.cosmos.post(this.offlineCosmosEndpoint,t,this.pluginHeaders)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))},e.prototype.onCommandReceived=function(e){return E(this,void 0,void 0,(function(){var t;return v(this,(function(n){switch(n.label){case 0:return this.offlineManager?e.download||e.identify||e.remove?(t=void 0,e.download?[4,this.onDownloadCommand(e.download)]:[3,2]):[2,Promise.reject("unknown command")]:[2,Promise.reject("not initialized")];case 1:t=n.sent(),n.label=2;case 2:return e.identify?[4,this.onIdentifyCommand(e.identify)]:[3,4];case 3:t=n.sent(),n.label=4;case 4:return e.remove?[4,this.onRemoveCommand(e.remove)]:[3,6];case 5:n.sent(),n.label=6;case 6:return t?[4,this.configuration.cosmos.post(this.offlineCosmosEndpoint,t,this.pluginHeaders)]:[3,8];case 7:n.sent(),n.label=8;case 8:return[2]}}))}))},e.prototype.onDownloadCommand=function(e){return E(this,void 0,void 0,(function(){var t,n,i,o,a,s;return v(this,(function(c){switch(c.label){case 0:return t={id:this.betamaxPluginId,download:{link:"",complete:!1,fileSize:0,bytesDownloaded:0,error:0},identify:void 0,remove:void 0,stopDownload:void 0},n=e.link,[4,this.getEpisodeMetadata(n).catch((function(){return{mediaUri:void 0,mediaType:void 0}}))];case 1:return i=c.sent(),o=i.mediaUri,a=i.mediaType,void 0===o||void 0===a?(t.download&&(t.download.error=r.TEMPORARY_ERROR),[2,t]):this.isVideo(a)?[4,null===(s=this.offlineManager)||void 0===s?void 0:s.download(o,{episodeUri:n})]:(t.download&&(t.download.error=r.PERMANENT_ERROR),[2,t]);case 2:return c.sent(),[2,void 0]}}))}))},e.prototype.onIdentifyCommand=function(e){return E(this,void 0,void 0,(function(){var t,n,i,r,a,s,c,l,u,d,p,h;return v(this,(function(f){switch(f.label){case 0:t={},n=0,i=e.query,f.label=1;case 1:return n<i.length?(r=i[n].link,a={status:o.UNRECOGNIZED,estimatedFileSize:0},[4,this.getEpisodeMetadata(r).catch((function(){return{mediaUri:void 0,mediaType:void 0}}))]):[3,7];case 2:return s=f.sent(),c=s.mediaUri,l=s.mediaType,void 0!==c&&void 0!==l&&this.isVideo(l)?[3,3]:(a.status=o.NOT_APPLICABLE,[3,5]);case 3:return[4,null===(p=this.offlineManager)||void 0===p?void 0:p.getOfflineAsset(c)];case 4:u=f.sent(),a.status=void 0===u?o.MISSING:o.COMPLETE,a.estimatedFileSize=null!==(h=null==u?void 0:u.size)&&void 0!==h?h:0,f.label=5;case 5:t[r]=a,f.label=6;case 6:return n++,[3,1];case 7:return d={id:this.betamaxPluginId,download:void 0,identify:{results:t},remove:void 0,stopDownload:void 0},[2,Promise.resolve(d)]}}))}))},e.prototype.onRemoveCommand=function(e){return E(this,void 0,void 0,(function(){var t,n,i,o,r,a,s;return v(this,(function(c){switch(c.label){case 0:t=0,n=e.query,c.label=1;case 1:return t<n.length?(i=n[t].link,[4,this.getEpisodeMetadata(i)]):[3,5];case 2:return o=c.sent(),r=o.mediaUri,void 0!==(a=o.mediaType)&&void 0!==r&&this.isVideo(a)?[4,null===(s=this.offlineManager)||void 0===s?void 0:s.delete(r)]:[3,4];case 3:c.sent(),c.label=4;case 4:return t++,[3,1];case 5:return[2]}}))}))},e.prototype.getEpisodeMetadata=function(e){return E(this,void 0,void 0,(function(){var t,n,i,o,r,a,s,l;return v(this,(function(d){switch(d.label){case 0:return void 0===e.split(":").pop()?[2,Promise.reject("unexpected uri ".concat(e))]:void 0===this.show_service?[2,Promise.reject("show service is not initialized")]:[4,this.show_service.getDecorate(u.NC.fromPartial({item:[e]}))];case 1:return t=d.sent(),n=null===(a=null===(r=t.response)||void 0===r?void 0:r.episode[0].episodeMetadata)||void 0===a?void 0:a.mediaTypeEnum,i=null===(l=null===(s=t.response)||void 0===s?void 0:s.episode[0].episodeMetadata)||void 0===l?void 0:l.manifestId,o=void 0,i&&(o=c.DJ.create(i)),[2,{mediaUri:o,mediaType:n}]}}))}))},e.prototype.isVideo=function(e){return 0===e||2===e},e}()},8672:(e,t,n)=>{"use strict";function i(e){return{name:"BetamaxPlaybackErrorDevice",environments:["device","desktop"],data:e}}n.d(t,{G:()=>i})},36867:(e,t,n)=>{"use strict";n.d(t,{BN:()=>c,Mw:()=>a,XL:()=>s});var i=n(36601),o=n.n(i),r=n(52588),a=o().polyfill,s=r.version,c=o().Player.version},72672:(e,t,n)=>{"use strict";n.d(t,{F:()=>h});var i=n(36601),o=n.n(i),r=n(80083),a=n(42450);var s=function(e,t){return t.filter((function(e){return"variant"===e.type})).sort((function(t,n){var i=Math.abs(e-t.bandwidth);return Math.abs(e-n.bandwidth)-i})).pop()},c=n(34521),l=n(79356),u=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},d=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},p=12e5,h=function(){function e(e){var t,n,i,a,s,c,l;if(this.config=e,this.offlineBitrateTarget=p,this.shakaStorage=new(o().offline.Storage),this.ongoingDownloads=new Map,this.offlineBitrateTarget=(null===(n=null===(t=null==e?void 0:e.playerConfiguration)||void 0===t?void 0:t.offline)||void 0===n?void 0:n.targetBitrate)||p,this.shakaStorage.configure({offline:{trackSelectionCallback:this.selectTracks.bind(this),progressCallback:this.notifyDownloadProgress.bind(this)},drm:{servers:null===(a=null===(i=null==e?void 0:e.playerConfiguration)||void 0===i?void 0:i.drm)||void 0===a?void 0:a.servers,advanced:null===(c=null===(s=null==e?void 0:e.playerConfiguration)||void 0===s?void 0:s.drm)||void 0===c?void 0:c.advanced}}),null===(l=this.config)||void 0===l?void 0:l.networkConfiguration){var u=this.shakaStorage.getNetworkingEngine();(0,r.L)(u,this.config.networkConfiguration)}}return e.prototype.release=function(){this.ongoingDownloads=new Map},e.prototype.download=function(e,t){return u(this,void 0,void 0,(function(){var n,i,o,r,s,u,p,h,f,m,_,g,E,v,y;return d(this,(function(d){switch(d.label){case 0:return this.ongoingDownloads.has(e)?(h={reason:"Download already started",error_extra1:e},[2,Promise.reject(h)]):(n=null!==(m=(0,c.eN)(e,null===(f=this.config)||void 0===f?void 0:f.mediaExtensions))&&void 0!==m?m:e,o={partialAsset:i={offlineUrl:null,mediaUri:e,originalUrl:n,duration:0,size:0},observers:null!==(y=null===(v=null===(E=null===(g=null===(_=this.config)||void 0===_?void 0:_.playerConfiguration)||void 0===g?void 0:g.offline)||void 0===E?void 0:E.downloadObserverFactories)||void 0===v?void 0:v.map((function(e){return e()})))&&void 0!==y?y:[]},this.ongoingDownloads.set(e,o),this.notifyObservers(o,{name:"created",mediaUri:e}),[4,this.isAssetOffline(e)]);case 1:if(d.sent())return h={reason:"Already downloaded"},this.ongoingDownloads.delete(e),this.notifyObservers(o,{name:"error",partialAsset:i,error:h}),[2,Promise.reject(h)];r={mediaUri:e,downloadSessionId:(0,c.NH)(),downloadDate:new Date,consumerMetadata:t},s=this.shakaStorage.store(n,r),o.shakaOperation=s,this.ongoingDownloads.set(e,o),d.label=2;case 2:return d.trys.push([2,6,,7]),[4,s.promise];case 3:return u=d.sent(),this.isFullyDownloaded(u)?[3,5]:(h={reason:"Download completed but unavailable"},this.ongoingDownloads.delete(e),this.notifyObservers(o,{name:"error",partialAsset:i,error:h}),[4,Promise.reject(h)]);case 4:return[2,d.sent()];case 5:return i=this.shakaStoredContentToOfflineAsset(u),this.ongoingDownloads.delete(e),this.notifyObservers(o,{name:"completed",offlineAsset:i}),[2,i];case 6:return p=d.sent(),(0,l.Pf)(p)?(h=function(e,t){return{reason:(0,a.du)(e.code),code:e.code,category:(0,a.eG)(e.category),error_extra1:JSON.stringify(e.data),error_extra2:JSON.stringify(t)}}(p,t),this.ongoingDownloads.delete(e),this.notifyObservers(o,{name:"error",partialAsset:i,error:h}),[2,Promise.reject(h)]):[2,Promise.reject(p)];case 7:return[2]}}))}))},e.prototype.getOfflineAsset=function(e){return u(this,void 0,void 0,(function(){return d(this,(function(t){switch(t.label){case 0:return[4,this.getOfflineAssets()];case 1:return[2,t.sent().find((function(t){return t.mediaUri===e}))]}}))}))},e.prototype.getOngoingDownloads=function(){var e=[];return this.ongoingDownloads.forEach((function(t,n){e.push(n)})),e},e.prototype.isAssetOffline=function(e){return u(this,void 0,void 0,(function(){return d(this,(function(t){switch(t.label){case 0:return[4,this.getOfflineAsset(e)];case 1:return[2,void 0!==t.sent()]}}))}))},e.prototype.getPlayableOfflineUrl=function(e){return u(this,void 0,void 0,(function(){var t,n;return d(this,(function(i){switch(i.label){case 0:return[4,this.getOfflineAsset(e)];case 1:return t=i.sent(),[2,null!==(n=null==t?void 0:t.offlineUrl)&&void 0!==n?n:null]}}))}))},e.prototype.getOfflineAssets=function(){return u(this,void 0,void 0,(function(){return d(this,(function(e){switch(e.label){case 0:return[4,this.shakaStorage.list()];case 1:return[2,e.sent().filter(this.isFullyDownloaded).map(this.shakaStoredContentToOfflineAsset)]}}))}))},e.prototype.delete=function(e){return u(this,void 0,void 0,(function(){var t,n,i,o;return d(this,(function(r){switch(r.label){case 0:return(t=this.ongoingDownloads.get(e))?(n=t.partialAsset,[4,null===(o=t.shakaOperation)||void 0===o?void 0:o.abort()]):[3,2];case 1:return r.sent(),this.ongoingDownloads.delete(e),this.notifyObservers(t,{name:"cancelled",partialAsset:n}),[2,!0];case 2:return[4,this.getOfflineAsset(e)];case 3:return(null==(i=r.sent())?void 0:i.offlineUrl)?[4,this.shakaStorage.remove(i.offlineUrl)]:[3,5];case 4:return r.sent(),[2,!0];case 5:return[2,!1]}}))}))},e.prototype.deleteAll=function(){return u(this,void 0,void 0,(function(){return d(this,(function(e){switch(e.label){case 0:return[4,o().offline.Storage.deleteAll()];case 1:return e.sent(),[2]}}))}))},e.prototype.notifyObservers=function(e,t){e.observers.forEach((function(e){return e.onDownloadEvent(t)}))},e.prototype.notifyDownloadProgress=function(e,t){var n=e.appMetadata,i=null==n?void 0:n.mediaUri,o=this.shakaStoredContentToOfflineAsset(e),r=this.ongoingDownloads.get(i);r&&(r.partialAsset=o,this.notifyObservers(r,{name:"progress",partialAsset:o,progress:t}))},e.prototype.selectTracks=function(e){return[s(this.offlineBitrateTarget,e)]},e.prototype.isFullyDownloaded=function(e){return null!==e.offlineUri},e.prototype.shakaStoredContentToOfflineAsset=function(e){var t,n=isFinite(e.expiration)?new Date(e.expiration):void 0,i=e.appMetadata;return{mediaUri:i.mediaUri,originalUrl:e.originalManifestUri,offlineUrl:null!==(t=e.offlineUri)&&void 0!==t?t:null,duration:e.duration,size:e.size,expirationDate:n,downloadSessionId:i.downloadSessionId,downloadDate:i.downloadDate,metadata:i.consumerMetadata}},e}()},95956:(e,t,n)=>{"use strict";n.d(t,{M:()=>T});var i,o=n(60547),r=n(45076),a=n(65994),s=n(48055),c=n(36601),l=n.n(c),u=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},d=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},p=function(){function e(e){this.shakaInstance=new(l().Player)(e),window.shaka=l()}return e.prototype.attach=function(e){return this.shakaInstance.attach(e)},e.prototype.detach=function(){return this.shakaInstance.detach()},e.prototype.destroy=function(){return this.shakaInstance.destroy()},e.prototype.configure=function(e){return this.shakaInstance.configure(e)},e.prototype.getNetworkingEngine=function(){return this.shakaInstance.getNetworkingEngine()},e.prototype.getManifest=function(){return this.shakaInstance.getManifest()},e.prototype.load=function(e,t,n){return this.shakaInstance.load(e,t,n)},e.prototype.unload=function(){return u(this,void 0,void 0,(function(){return d(this,(function(e){switch(e.label){case 0:return[4,this.shakaInstance.unload()];case 1:return e.sent(),[2]}}))}))},e.prototype.keySystem=function(){return this.shakaInstance.keySystem()},e.prototype.getTextTracks=function(){return this.shakaInstance.getTextTracks()},e.prototype.getVariantTracks=function(){return this.shakaInstance.getVariantTracks()},e.prototype.getStats=function(){return this.shakaInstance.getStats()},e.prototype.addEventListener=function(e,t,n){this.shakaInstance.addEventListener(e,t,n)},e.prototype.removeEventListener=function(e,t,n){this.shakaInstance.removeEventListener(e,t,n)},e.prototype.selectTextLanguage=function(e,t){this.shakaInstance.selectTextLanguage(e,t)},e.prototype.setTextTrackVisibility=function(e){this.shakaInstance.setTextTrackVisibility(e)},e.prototype.isTextTrackVisible=function(){return this.shakaInstance.isTextTrackVisible()},e.prototype.selectVariantTrack=function(e,t,n){this.shakaInstance.selectVariantTrack(e,t,n)},e.prototype.isLive=function(){return this.shakaInstance.isLive()},e.prototype.getConfiguration=function(){return this.shakaInstance.getConfiguration()},e.prototype.isAudioOnly=function(){return this.shakaInstance.isAudioOnly()},e.prototype.getBufferedInfo=function(){var e,t;return null!==(t=null===(e=this.shakaInstance.getBufferedInfo())||void 0===e?void 0:e.total[0])&&void 0!==t?t:null},e}(),h=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(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 n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.surfaceBasedBitrateCap=!1,t.resizeObserverTimer=new(l().util.Timer)((function(){t.handleResizing()})),t}return h(t,e),t.prototype.configure=function(t){var n,i;t.restrictToElementSize&&(t.restrictToElementSize=!1,this.surfaceBasedBitrateCap=!0,this.externalMaxHeightRestriction=null!==(n=t.restrictions.maxHeight)&&void 0!==n?n:1/0,this.externalMaxWidthRestriction=null!==(i=t.restrictions.maxWidth)&&void 0!==i?i:1/0),this.config=t,e.prototype.configure.call(this,t)},t.prototype.init=function(t){e.prototype.init.call(this,t),this.switchCallback=t},t.prototype.setMediaElement=function(t){var n=this;e.prototype.setMediaElement.call(this,t),this.mediaElement=null!=t?t:void 0,this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0),this.mediaElement&&"ResizeObserver"in window&&(this.resizeObserver=new ResizeObserver((function(){n.resizeObserverTimer.tickAfter(1)})),this.resizeObserver.observe(this.mediaElement))},t.prototype.setVariants=function(t){e.prototype.setVariants.call(this,t),this.variants=t,this.surfaceBasedBitrateCap&&this.applyElementBasedSizeRestrictions()},t.prototype.chooseVariant=function(){return e.prototype.chooseVariant.call(this)},t.prototype.stop=function(){e.prototype.stop.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0),this.resizeObserverTimer.stop()},t.prototype.handleResizing=function(){if(this.surfaceBasedBitrateCap){this.applyElementBasedSizeRestrictions();var e=this.chooseVariant();e&&this.switchCallback&&this.switchCallback(e)}},t.prototype.applyElementBasedSizeRestrictions=function(){var t,n,i,o,r,a,s;if(this.variants&&this.mediaElement&&this.config){var c=(null===(t=this.config)||void 0===t?void 0:t.ignoreDevicePixelRatio)?1:window.devicePixelRatio,l=null!==(n=this.mediaElement.clientHeight*c)&&void 0!==n?n:1/0,u=null!==(i=this.mediaElement.clientWidth*c)&&void 0!==i?i:1/0,d=this.variants,p=(d=d.sort((function(e,t){return e.bandwidth-t.bandwidth}))).map((function(e){return e.video})).find((function(e){return(null==e?void 0:e.height)&&e.width&&e.height>=l&&e.width>=u}));this.config.restrictions.maxHeight=Math.min(null!==(o=null==p?void 0:p.height)&&void 0!==o?o:1/0,null!==(r=this.externalMaxHeightRestriction)&&void 0!==r?r:1/0),this.config.restrictions.maxWidth=Math.min(null!==(a=null==p?void 0:p.width)&&void 0!==a?a:1/0,null!==(s=this.externalMaxWidthRestriction)&&void 0!==s?s:1/0),e.prototype.configure.call(this,this.config)}},t}(l().abr.SimpleAbrManager),m=n(94462),_=n.n(m),g=n(36867),E=function(){return E=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)},v=function(){function e(e,t){var n,i,o,r,a,s;this.muxMetadata={},this.shakaPlayerMux=_()(e.shakaInstance,{debug:!1,data:{env_key:null===(i=null===(n=null==t?void 0:t.analytics)||void 0===n?void 0:n.mux)||void 0===i?void 0:i.token,player_name:null===(r=null===(o=null==t?void 0:t.analytics)||void 0===o?void 0:o.mux)||void 0===r?void 0:r.playerName,player_version:g.XL,viewer_application_name:null===(s=null===(a=null==t?void 0:t.analytics)||void 0===a?void 0:a.mux)||void 0===s?void 0:s.appName}})}return e.prototype.newSession=function(e){var t;(function(e){return"context-player-vodcast"===e.video_content_type||"context-player-music-video"===e.video_content_type})(e)&&(this.muxMetadata=e,this.muxMetadata.video_content_type=function(e){switch(e){case"context-player-vodcast":return"Video Podcast";case"context-player-music-video":return"Music Video";default:return"Other"}}(this.muxMetadata.video_content_type),this.muxMetadata.custom_3=this.muxMetadata.video_content_type,null===(t=this.shakaPlayerMux)||void 0===t||t.emit("videochange",this.muxMetadata))},e.prototype.updateSession=function(e){var t=this;Object.keys(e).every((function(n){return e[n]===t.muxMetadata[n]}))||(this.muxMetadata=E(E({},this.muxMetadata),e),this.emitHeartbeat(this.muxMetadata))},e.prototype.emitHeartbeat=function(e){var t;null===(t=this.shakaPlayerMux)||void 0===t||t.emit("hb",e)},e}();var y=function(){return y=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y.apply(this,arguments)},b=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},S=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},T=function(){function e(e,t){var n,i,o;this.playerConfiguration=e,this.playbackSessionFactory=t,this.pipWindow=null,this.defaultPlayOptions={playWhenReady:!0,initialPosition:0,playbackSpeed:1,preferredSubtitle:r.ib,minimizeBitrate:!1,fullscreen:!1,surface:void 0},this.currentWindow=null!==(n=e.window)&&void 0!==n?n:window,this.playOptions=this.defaultPlayOptions,this.abrManager=null!==(o=null===(i=this.playerConfiguration.adaptiveBitrate)||void 0===i?void 0:i.abrManager)&&void 0!==o?o:new f,this.internalPlayer=this.initInternalPlayer(),this.videoElement=this.initVideoElement()}return Object.defineProperty(e.prototype,"started",{get:function(){var e,t;return null!==(t=null===(e=this.playbackSession)||void 0===e?void 0:e.started)&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ended",{get:function(){var e,t;return null!==(t=null===(e=this.playbackSession)||void 0===e?void 0:e.ended)&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this.videoElement.muted?0:this.videoElement.volume},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"muted",{get:function(){return this.videoElement.muted||0===this.videoElement.volume},enumerable:!1,configurable:!0}),e.isBrowserSupported=function(){return o.c.isBrowserSupported()},e.probeSupport=function(){return o.c.probeSupport()},e.prototype.play=function(e,t){return b(this,void 0,void 0,(function(){return S(this,(function(n){switch(n.label){case 0:return(0,s.u)("betamax::start_play"),[4,this.endPreviousPlaybackSession(e)];case 1:return n.sent(),this.playbackRequest=e,this.playbackSession=this.playbackSessionFactory.createPlaybackSession(e.isRoyaltyMedia,this,this.internalPlayer,this.videoElement),(null==t?void 0:t.volume)&&this.setVolume(null==t?void 0:t.volume),[4,this.playbackSession.play(e,y(y({},this.playOptions),t))];case 2:return n.sent(),(0,s.u)("betamax::start_play_end"),[2,this]}}))}))},e.prototype.getConfiguration=function(){return this.playerConfiguration},e.prototype.getPlaybackRequest=function(){return this.playbackRequest},e.prototype.getAbrManager=function(){return this.abrManager},e.prototype.resume=function(){var e;return null===(e=this.playbackSession)||void 0===e||e.resume(),this},e.prototype.pause=function(){var e;return null===(e=this.playbackSession)||void 0===e||e.pause(),this},e.prototype.seekTo=function(e){var t;return null===(t=this.playbackSession)||void 0===t||t.seekTo(e),this},e.prototype.setVolume=function(e){return this.videoElement.volume=Math.pow(e,3),this},e.prototype.setAudioDisabled=function(e){return this.videoElement.muted=e,this},e.prototype.getPreferredSubtitle=function(){return this.playOptions.preferredSubtitle},e.prototype.setPreferredSubtitle=function(e){var t;return this.playOptions.preferredSubtitle=e,null===(t=this.playbackSession)||void 0===t||t.setPreferredSubtitle(e),this},e.prototype.setPlaybackSpeed=function(e){var t;this.playOptions.playbackSpeed=e,null===(t=this.playbackSession)||void 0===t||t.setPlaybackSpeed(e)},e.prototype.setMinimizeBitrate=function(e){var t;this.playOptions.minimizeBitrate=e,null===(t=this.playbackSession)||void 0===t||t.setMinimizeBitrate(e)},e.prototype.setFullscreen=function(e){var t;this.playOptions.fullscreen=e,null===(t=this.playbackSession)||void 0===t||t.setFullscreen(e)},e.prototype.setSurface=function(e){var t;this.playOptions.surface=e,null===(t=this.playbackSession)||void 0===t||t.setSurface(e)},e.prototype.setPip=function(e){return b(this,void 0,void 0,(function(){var t;return S(this,(function(n){switch(n.label){case 0:return this.isPictureInPicture()===e?[2,this.pipWindow]:e?(t=this,[4,this.videoElement.requestPictureInPicture()]):[3,2];case 1:return t.pipWindow=n.sent(),[2,this.pipWindow];case 2:return[4,this.getWindow().document.exitPictureInPicture()];case 3:return n.sent(),[2,null]}}))}))},e.prototype.isPictureInPicture=function(){return this.getWindow().document.pictureInPictureElement===this.videoElement},e.prototype.attemptInsertVideoElement=function(){var e;null===(e=this.playbackSession)||void 0===e||e.attemptInsertVideoElement()},e.prototype.stop=function(e){return b(this,void 0,void 0,(function(){var t;return S(this,(function(n){switch(n.label){case 0:return[4,null===(t=this.playbackSession)||void 0===t?void 0:t.stop(null!=e?e:a.mT.REQUESTED)];case 1:return n.sent(),this.playbackSession=void 0,[2]}}))}))},e.prototype.release=function(){return b(this,void 0,void 0,(function(){return S(this,(function(e){switch(e.label){case 0:return[4,this.stop(a.mT.REQUESTED)];case 1:return e.sent(),this.playbackSession=void 0,this.playbackRequest=void 0,this.playOptions=this.defaultPlayOptions,[2]}}))}))},e.prototype.emitForPercentages=function(e){var t;null===(t=this.playbackSession)||void 0===t||t.emitForPercentages(e)},e.prototype.clearEmittedPercentages=function(){var e;null===(e=this.playbackSession)||void 0===e||e.clearEmittedPercentages()},e.prototype.getNode=function(){return this.videoElement},e.prototype.hideNode=function(){var e;null===(e=this.playbackSession)||void 0===e||e.hideNode()},e.prototype.showNode=function(){var e;null===(e=this.playbackSession)||void 0===e||e.showNode()},e.prototype.getSessionState=function(){return this.playbackSession?this.playbackSession.state:null},e.prototype.getWindow=function(){return this.currentWindow},e.prototype.setWindow=function(e){this.currentWindow=e},e.prototype.getDocument=function(){return this.getWindow().document},e.prototype.getMuxManager=function(){return this.muxManager},e.prototype.initInternalPlayer=function(){var e,t,n,i,o,r,a,s,c,l,u,d,h,f,m,_,g,E,y,b,S,T,A,I,O,C=this,R={defaultBandwidthEstimate:(null===(t=null===(e=this.playerConfiguration)||void 0===e?void 0:e.adaptiveBitrate)||void 0===t?void 0:t.initialLowBitrate)?1e6:8e6,restrictToElementSize:null!==(i=null===(n=this.playerConfiguration.adaptiveBitrate)||void 0===n?void 0:n.surfaceBasedResolutionCap)&&void 0!==i&&i,restrictions:{maxBandwidth:null!==(r=null===(o=this.playerConfiguration.adaptiveBitrate)||void 0===o?void 0:o.maxBitrate)&&void 0!==r?r:1/0}},N=null!==(c=null===(s=null===(a=this.playerConfiguration)||void 0===a?void 0:a.streaming)||void 0===s?void 0:s.rebufferingGoal)&&void 0!==c?c:2,P=null!==(d=null===(u=null===(l=this.playerConfiguration)||void 0===l?void 0:l.retry)||void 0===u?void 0:u.attempts)&&void 0!==d?d:4;this.initialInternalPlayerConfiguration={abr:R,abrFactory:function(){return C.abrManager},manifest:{retryParameters:{maxAttempts:P}},drm:{servers:null===(f=null===(h=this.playerConfiguration)||void 0===h?void 0:h.drm)||void 0===f?void 0:f.servers,advanced:null===(_=null===(m=this.playerConfiguration)||void 0===m?void 0:m.drm)||void 0===_?void 0:_.advanced,retryParameters:{maxAttempts:P}},streaming:{rebufferingGoal:N,retryParameters:{maxAttempts:P}},preferredAudioCodecs:null!==(y=null===(E=null===(g=this.playerConfiguration)||void 0===g?void 0:g.experimental)||void 0===E?void 0:E.preferredAudioCodecs)&&void 0!==y?y:[],preferredVideoCodecs:null!==(T=null===(S=null===(b=this.playerConfiguration)||void 0===b?void 0:b.experimental)||void 0===S?void 0:S.preferredVideoCodecs)&&void 0!==T?T:[]};var L=new p;return L.configure(this.initialInternalPlayerConfiguration),(null===(O=null===(I=null===(A=this.playerConfiguration)||void 0===A?void 0:A.analytics)||void 0===I?void 0:I.mux)||void 0===O?void 0:O.enabled)&&(this.muxManager=new v(L,this.playerConfiguration)),L},e.prototype.initVideoElement=function(){var e=this.playerConfiguration.videoElement?this.playerConfiguration.videoElement:this.getWindow().document.createElement("video"),t=y(y({},{controls:!1,loop:!1,style:"",width:640}),this.playerConfiguration.videoElementConfig);return void 0!==t.controls&&(e.controls=t.controls),void 0!==t.loop&&(e.loop=t.loop),void 0!==t.style&&(e.style.cssText=t.style),void 0!==t.width&&(e.width=t.width),void 0!==t.height&&(e.height=t.height),e},e.prototype._isLive=function(){var e,t;return null!==(t=null===(e=this.playbackSession)||void 0===e?void 0:e.isLive())&&void 0!==t&&t},e.prototype.endPreviousPlaybackSession=function(e){return b(this,void 0,void 0,(function(){return S(this,(function(t){switch(t.label){case 0:return this.playbackSession&&!this.playbackSession.ended&&this.playbackSession.newSessionLoaded(e),[4,this.stop()];case 1:return t.sent(),[2]}}))}))},e}()},57523:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=n(51930),o=n(48055),r=function(){function e(e){this.factories=e,this.observers=[]}return e.prototype.initiateObservers=function(e,t){this.observers=this.factories.map((function(n){return n(e,t)})).filter((function(e){return!!e}))},e.prototype.removeObservers=function(){this.observers=[]},e.prototype.onPlaybackCreated=function(e){(0,o.u)("betamax::on_playback_created"),this.observers.forEach((function(t){var n;return null===(n=t.onPlaybackCreated)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())})),(0,o.u)("betamax::on_playback_created_end")},e.prototype.onPlaybackEnded=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onPlaybackEnded)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())})),this.removeObservers()},e.prototype.onEndingPlayback=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onEndingPlayback)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onVolumeChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onVolumeChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onStarted=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onStarted)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onResumed=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onResumed)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onSeeking=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onSeeking)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onSeeked=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onSeeked)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onPaused=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onPaused)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onReady=function(e){(0,o.u)("betamax::on_ready"),this.observers.forEach((function(t){var n;return null===(n=t.onReady)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onMediaMetadataChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onMediaMetadataChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onManifestLoaded=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onManifestLoaded)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onManifestLoading=function(){(0,o.u)("betamax::onManifestLoading"),this.observers.forEach((function(e){var t;return null===(t=e.onManifestLoading)||void 0===t?void 0:t.call(e,Date.now(),performance.now())})),(0,o.u)("betamax::onManifestLoading_end")},e.prototype.onPlaybackError=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onPlaybackError)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onAudioFormatChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onAudioFormatChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onVideoFormatChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onVideoFormatChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onBuffering=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onBuffering)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onDroppedVideoFrames=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onDroppedVideoFrames)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onEncryptionKeyLoaded=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onEncryptionKeyLoaded)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onEncryptionKeyLoading=function(){this.observers.forEach((function(e){var t;return null===(t=e.onEncryptionKeyLoading)||void 0===t?void 0:t.call(e,Date.now(),performance.now())}))},e.prototype.onBytesTransferred=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onBytesTransferred)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onDurationChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onDurationChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onSubtitleChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onSubtitleChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onFullscreenChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onFullscreenChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onPictureInPictureChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onPictureInPictureChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onSurfaceChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onSurfaceChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onMinimizeBitrateChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onMinimizeBitrateChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onPlaybackSpeedChanged=function(e){this.observers.forEach((function(t){var n;return null===(n=t.onPlaybackSpeedChanged)||void 0===n?void 0:n.call(t,e,Date.now(),performance.now())}))},e.prototype.onResumeRequested=function(){this.observers.forEach((function(e){var t;return null===(t=e.onResumeRequested)||void 0===t?void 0:t.call(e,Date.now(),performance.now())}))},e}(),a=n(60547),s=function(){return s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)},c=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},l=function(){function e(e){this.playerConfigurationDependencies=e}return e.prototype.createPlaybackSession=function(e,t,n,o){var l=this.playerConfigurationDependencies.factories||[];if(e&&this.playerConfigurationDependencies.endVideo){var u=this.playerConfigurationDependencies.endVideo,d=u.endVideo,p=u.productStateProvider,h=u.logError;l=c(c([],l,!0),[function(){return new i.D(d,p,h)}],!1)}return new a.c(t,n,o,s(s({},this.playerConfigurationDependencies),{initiateInternalPlaybackObserver:function(){return new r(l)}}))},e}(),u=n(95956),d=function(){function e(e){this.playerConfigurationDependencies=e}return e.prototype.createBetamaxPlayer=function(e){return new u.M(e,new l(this.playerConfigurationDependencies))},e}()},60547:(e,t,n)=>{"use strict";n.d(t,{c:()=>y});var i=n(65994),o=n(36867),r=n(51930),a=function(){function e(){this.tokenCounter=1,this.positionObservers=[],this.absolutePositionObservers=[],this.periodicObservers=[]}return e.prototype.initiateObservers=function(e){for(var t=0,n=this.periodicObservers;t<n.length;t++){var i=n[t];i.lastAbsoluteInterval=this.calculateAbsoluteInterval(i.intervalInSeconds,e)}},e.prototype.handleTimeUpdate=function(e){this.processPeriodicObserverEvents(e),this.processPositionObserverEvents(e),this.processAbsolutePositionObserverEvents(e)},e.prototype.removePositionObserver=function(e){this.positionObservers=this.positionObservers.filter((function(t){return t.token!==e}))},e.prototype.removeAbsolutePositionObserver=function(e){this.absolutePositionObservers=this.absolutePositionObservers.filter((function(t){return t.token!==e}))},e.prototype.removePeriodicObserver=function(e){this.periodicObservers=this.periodicObservers.filter((function(t){return t.token!==e}))},e.prototype.addObserverForMediaPositions=function(e,t){for(var n=this.nextToken(),i=0,o=e;i<o.length;i++){var r=o[i];this.positionObservers.push({callback:t,token:n,position:r})}return n},e.prototype.addObserverForAbsoluteMediaPositions=function(e,t){for(var n=this.nextToken(),i=0,o=e;i<o.length;i++){var r=o[i];this.absolutePositionObservers.push({callback:t,token:n,position:r})}return n},e.prototype.addObserverForPeriodicEvents=function(e,t){var n=this.nextToken();return this.periodicObservers.push({callback:t,intervalInSeconds:e,token:n}),n},e.prototype.nextToken=function(){return this.tokenCounter++,this.tokenCounter},e.prototype.getProgress=function(e){var t=e.target.currentTime,n=e.target.duration;return Math.min(Math.max(t/n,0),1)},e.prototype.processPositionObserverEvents=function(e){var t=this.getProgress(e);if(void 0!==this.lastProgress){for(var n=0,i=this.positionObservers;n<i.length;n++){var o=i[n];o.position>=this.lastProgress&&o.position<t&&(o.callback(t),this.removePositionObserverByReference(o))}this.lastProgress=t}else this.lastProgress=t},e.prototype.processAbsolutePositionObserverEvents=function(e){var t=e.target.currentTime;if(void 0!==this.lastAbsoluteProgress){for(var n=0,i=this.absolutePositionObservers;n<i.length;n++){var o=i[n];o.position>=this.lastAbsoluteProgress&&o.position<=t&&(o.callback(t,o.position),this.removeAbsolutePositionObserverByReference(o))}this.lastAbsoluteProgress=t}else this.lastAbsoluteProgress=t},e.prototype.processPeriodicObserverEvents=function(e){for(var t=0,n=this.periodicObservers;t<n.length;t++){var i=n[t],o=e.target.currentTime,r=this.calculateAbsoluteInterval(i.intervalInSeconds,o);r!==i.lastAbsoluteInterval&&(void 0!==i.lastAbsoluteInterval&&i.callback(o),i.lastAbsoluteInterval=r)}},e.prototype.removePositionObserverByReference=function(e){this.positionObservers=this.positionObservers.filter((function(t){return t!==e}))},e.prototype.removeAbsolutePositionObserverByReference=function(e){this.absolutePositionObservers=this.absolutePositionObservers.filter((function(t){return t!==e}))},e.prototype.calculateAbsoluteInterval=function(e,t){return Math.floor(t/e)},e}(),s=n(72672),c=n(34521),l=n(48055),u=n(80083),d=n(36601),p=n.n(d),h=n(42450),f=n(45076),m=n(79356),_=function(){return _=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_.apply(this,arguments)},g=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},E=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},v=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},y=function(){function e(e,t,n,r){var c,u,d=this;this.player=e,this.internalPlayer=t,this.videoElement=n,this.playbackSessionConfiguration=r,this.segmentsRetryCounter=0,this.subtitleUris=[],this.networkRequestFilter=function(e,t){e!==p().net.NetworkingEngine.RequestType.LICENSE&&e!==p().net.NetworkingEngine.RequestType.MANIFEST||"HEAD"!==t.method&&(d.latencyStartTimes[e]=Date.now(),e===p().net.NetworkingEngine.RequestType.MANIFEST&&d.internalObserver.onManifestLoading(),e===p().net.NetworkingEngine.RequestType.LICENSE&&d.internalObserver.onEncryptionKeyLoading())},this.networkResponseFilter=function(e,t){var n,i;if((null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.byteLength)&&t.timeMs){var o=t.uri.toString();if(d.internalObserver.onBytesTransferred({bytes:t.data.byteLength,timeMs:t.timeMs,uri:o,requestType:e}),e===p().net.NetworkingEngine.RequestType.SEGMENT){var r=void 0;try{r=new URL(o).hostname}catch(e){}r&&(null===(i=d.player.getMuxManager())||void 0===i||i.updateSession({video_cdn:r}))}}},this.handleEnded=function(){(0,l.u)("video::ended"),d.state.isEnded||d.emitEndedEvent(i.mT.PLAYED_TO_END,d.getCurrentPosition()),d.state.isEnded=!0,d.state.endReason=i.mT.PLAYED_TO_END,(0,l.u)("video::ended_end")},this.handleDurationChange=function(){var e;(0,l.u)("video::durationchange");var t=d.videoElement.duration;if(-1!==t||!(null===(e=d.playerConfiguration.experimental)||void 0===e?void 0:e.filterNegativeDuration)){var n=d.getCurrentPosition();d.state.duration=t,d.state.progress=d.calculateProgress(n,t),d.internalObserver.onDurationChanged({duration:t}),(0,l.u)("video::durationchange_end")}},this.handleManifestParsed=function(){(0,l.u)("shaka::manifestParsed");var e=d.internalPlayer.getManifest();if(null!==e){d.subtitleUris=(0,h._k)(e);var t=d.internalPlayer.getTextTracks().map((function(e){return{languageTag:e.language}}));d.internalObserver.onManifestLoaded({availableSubtitles:t}),(0,l.u)("shaka::manifestParsed_end")}},this.handleRateChange=function(){var e,t=d.videoElement.playbackRate;t!==d.state.playbackSpeed&&0!==t&&(d.state.playbackSpeed=t,d.internalObserver.onPlaybackSpeedChanged({position:d.getCurrentPosition(),speed:t}),null===(e=d.player.getMuxManager())||void 0===e||e.updateSession({custom_1:t}))},this.handleTimeUpdate=function(e){if(d.state.isLoaded&&d.state.isStarted&&!d.state.isEnded&&!d.state.isSeeking){var t=d.videoElement.currentTime||0;d.state.currentTime=d.videoElement.currentTime,d.state.progress=d.calculateProgress(t,d.videoElement.duration),d.playbackTimeObservable.handleTimeUpdate(e)}},this.handleEnterPip=function(){d.internalObserver.onPictureInPictureChanged({position:d.getCurrentPosition(),pictureInPicture:!0})},this.handleLeavePip=function(){d.internalObserver.onPictureInPictureChanged({position:d.getCurrentPosition(),pictureInPicture:!1})},this.handleCanPlay=function(){var e;if((0,l.u)("video::canplay"),!d.state.hasInitiallyReadied){if((null===(e=d.playerConfiguration.experimental)||void 0===e?void 0:e.autoSeekToBufferedStartPositionOnLoad)&&d.isPositionOutsideBuffer())return void d.adjustPositionForBuffer();d.state.hasInitiallyReadied=!0,d.mediaType=d.internalPlayer.isAudioOnly()?"audio":"video",d.internalObserver.onMediaMetadataChanged({position:d.getCurrentPosition(),mediaType:d.mediaType,streamingType:d.streamingType})}d.internalObserver.onReady({position:d.getCurrentPosition(),playWhenReady:!d.state.isPaused,isPictureInPicture:d.player.isPictureInPicture()})},this.handlePlaying=function(){return g(d,void 0,void 0,(function(){var e,t;return E(this,(function(n){switch(n.label){case 0:return this.state.isSeeking?[2]:((0,l.u)("video::playing"),e=!this.state.isStarted,this.state=_(_({},this.state),{isPlaying:!0,isStarted:!0,isEnded:!1,isBuffering:!1}),e?(this.internalObserver.onStarted({position:this.getCurrentPosition()}),this.state.hasInitiallyReadied?[3,2]:(t={category:"unexpected-event-sequence",code:0,severity:"recoverable",internalDetails:["started-before-ready"]},[4,this.handlePlaybackError(t,!1)])):[3,3]);case 1:n.sent(),n.label=2;case 2:return[3,4];case 3:this.internalObserver.onResumed({position:this.getCurrentPosition()}),n.label=4;case 4:return[2]}}))}))},this.handlePause=function(){d.state.isPlaying=!1;var e=d.videoElement.currentTime;d.videoElement.duration&&e===d.videoElement.duration||d.internalObserver.onPaused({position:e})},this.handleVolumeChange=function(){d.internalObserver.onVolumeChanged({position:d.getCurrentPosition(),volume:d.player.volume})},this.handleRequestRetry=function(e){return g(d,void 0,void 0,(function(){var t,n,o,r,a,s;return E(this,(function(c){switch(c.label){case 0:return null===e.error?[2]:[4,this.getPlaybackError(e.error)];case 1:return t=c.sent(),(n=this.isFailedSegmentRequest(e))?(this.segmentsRetryCounter++,o=this.internalPlayer.getConfiguration().manifest.retryParameters.maxAttempts,this.segmentsRetryCounter>=o?(this.state.unableToFetchLastSegments=!0,this.state.failedSegmentRetryError=e.error,this.state.bufferType!==i.NZ.SEEK&&this.state.bufferType!==i.NZ.STALL?[3,4]:(t.severity="fatal",[4,this.handlePlaybackError(t,!1)])):[3,5]):[3,7];case 2:return c.sent(),[4,this.stop(i.mT.FATAL_ERROR)];case 3:c.sent(),this.state.unableToFetchLastSegments=!1,c.label=4;case 4:return[3,7];case 5:return[4,this.handlePlaybackError(t)];case 6:c.sent(),c.label=7;case 7:return r=e.error.data,a=this.isSubtitleUri(r[0]),n&&(a||(e.error.severity=p().util.Error.Severity.CRITICAL)),n?[3,10]:(s=this.handlePlaybackError,[4,this.getPlaybackError(e.error)]);case 8:return[4,s.apply(this,[c.sent()])];case 9:c.sent(),c.label=10;case 10:return n&&a&&this.removeSubtitle(),[2]}}))}))},this.handleShakaError=function(e){return g(d,void 0,void 0,(function(){var t;return E(this,(function(n){switch(n.label){case 0:return[4,this.getPlaybackError(e)];case 1:return t=n.sent(),[4,this.handlePlaybackError(t)];case 2:return n.sent(),[2]}}))}))},this.handlePlaybackError=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return g(d,v([e],t,!0),void 0,(function(e,t){var n,o;return void 0===t&&(t=!0),E(this,(function(r){switch(r.label){case 0:return void 0!==(n=e).clientContext&&void 0!==n.sessionContext?[3,2]:[4,this.hydrateErrorWithContext(n)];case 1:n=r.sent(),r.label=2;case 2:return t&&(this.errorWillRecoverAutomatically(n)&&(n.severity="recoverable"),(this.errorMayRecoverOnReload(n)||"fatal"===n.severity&&this.state.attemptingErrorRecovery)&&(n.severity="unknown")),this.internalObserver.onPlaybackError({error:n,position:this.getCurrentPosition()}),"fatal"===n.severity&&(this.state.isError=!0,o=(0,h.vZ)(n)?i.mT.NETWORK_ERROR:i.mT.FATAL_ERROR,this.state.isEnded||this.emitEndedEvent(o,this.getCurrentPosition()),this.state.isEnded=!0,this.state.endReason=o),[2]}}))}))},this.handleAdaptation=function(e){var t,n,i,r,a;if(d.internalPlayer&&("adaptation"===e.type||"variantchanged"===e.type)){var s=d.internalPlayer.getVariantTracks().find((function(e){return e.active}));if(s&&(d.state.bitrate=s.bandwidth,d.state.currentVariantId!==s.id)){var c={id:s.id,audioCodec:null!==(t=s.audioCodec)&&void 0!==t?t:"",audioBitrate:s.audioBandwidth,totalBitrate:s.bandwidth},l={id:s.id,width:s.width,height:s.height,videoCodec:null!==(n=s.videoCodec)&&void 0!==n?n:"",videoBitrate:s.videoBandwidth,totalBitrate:s.bandwidth};d.debugTextSpan&&(null===(i=d.playerConfiguration.experimental)||void 0===i?void 0:i.showDebugOverlay)&&(d.debugTextSpan.textContent="".concat(o.XL," ").concat(l.videoCodec," ").concat(l.width,"x").concat(l.height)),(null===(r=d.state.currentAudioFormat)||void 0===r?void 0:r.id)!==c.id&&d.internalObserver.onAudioFormatChanged({format:c,position:d.getCurrentPosition()}),(null===(a=d.state.currentVideoFormat)||void 0===a?void 0:a.id)!==l.id&&d.internalObserver.onVideoFormatChanged({format:l,position:d.getCurrentPosition()}),d.state.currentVariantId=s.id,d.state.currentAudioFormat=c,d.state.currentVideoFormat=l}}},this.handleSeeking=function(){var e;d.state.hasInitiallyReadied&&(null===d.state.firstUnhandledSeek&&(d.state.firstUnhandledSeek=d.state.seekingFrom),d.state.isSeeking=!0,d.internalObserver.onSeeking({fromPosition:null!==(e=d.state.seekingFrom)&&void 0!==e?e:0,toPosition:d.getCurrentPosition()}))},this.handleSeeked=function(){if(d.state.hasInitiallyReadied){var e=null!==d.state.firstUnhandledSeek?d.state.firstUnhandledSeek:d.state.seekingFrom;d.state.isSeeking=!1,d.state.seekingFrom=null,d.state.progress=d.calculateProgress(d.state.currentTime,d.getCurrentPosition()),d.state.firstUnhandledSeek=null,d.internalObserver.onSeeked({fromPosition:null!=e?e:0,toPosition:d.getCurrentPosition()})}},this.onBufferingStateChange=function(e){return g(d,void 0,void 0,(function(){var t,n,o;return E(this,(function(r){switch(r.label){case 0:return e.buffering?(t=i.NZ.INITIAL,this.state.hasInitiallyReadied&&(t=this.state.isSeeking?i.NZ.SEEK:i.NZ.STALL),t===i.NZ.STALL&&this.state.unableToFetchLastSegments?[4,this.getPlaybackError(this.state.failedSegmentRetryError)]:[3,4]):[3,6];case 1:return(n=r.sent()).severity="fatal",[4,this.handlePlaybackError(n,!1)];case 2:return r.sent(),[4,this.stop(i.mT.FATAL_ERROR)];case 3:return r.sent(),this.state.failedSegmentRetryError=void 0,[3,5];case 4:this.state.isBuffering=!0,this.state.bufferType=t,this.state.lastBufferStart=Date.now(),this.state.isPlaying=!1,this.internalObserver.onBuffering({position:this.getCurrentPosition(),playWhenReady:this.state.playWhenReady,type:t}),r.label=5;case 5:return[3,7];case 6:o=this.state.isBuffering&&this.state.bufferType===i.NZ.STALL,this.state.isBuffering=!1,this.state.bufferType=null,o&&(this.videoElement.paused||(this.state.isPlaying=!0),this.internalObserver.onReady({position:this.getCurrentPosition(),playWhenReady:!this.state.isPaused,isPictureInPicture:this.player.isPictureInPicture()})),r.label=7;case 7:return[2]}}))}))},this.onEncryptionKeyLoaded=function(){(0,l.u)("shaka::drmsessionupdate"),d.internalObserver.onEncryptionKeyLoaded({encryptionType:d.internalPlayer.keySystem()})},this.playerConfiguration=e.getConfiguration(),this.internalObserver=this.playbackSessionConfiguration.initiateInternalPlaybackObserver(),this.playbackTimeObservable=new a,this.state=this.getInitialState(),(null===(u=null===(c=this.playerConfiguration)||void 0===c?void 0:c.offline)||void 0===u?void 0:u.enabled)&&(this.offlineManager=new s.F({playerConfiguration:this.playerConfiguration})),this.playerConfiguration.containerElement&&(this.containerElement=this.playerConfiguration.containerElement),this.playerConfiguration.containerElementClass&&(this.containerElementClass=this.playerConfiguration.containerElementClass),this.checkContainerElementByClass=function(){if(d.containerElementClass){var e=d.player.getWindow().document.getElementsByClassName(d.containerElementClass)[0];e&&(d.appendVideoElement(e),d.containerElementMutationObserver.disconnect())}},this.containerElementMutationObserver=new MutationObserver(this.checkContainerElementByClass),this.videoElementEventHandlers=[{event:"canplay",handler:this.handleCanPlay},{event:"ended",handler:this.handleEnded},{event:"durationchange",handler:this.handleDurationChange},{event:"timeupdate",handler:this.handleTimeUpdate},{event:"volumechange",handler:this.handleVolumeChange},{event:"playing",handler:this.handlePlaying},{event:"pause",handler:this.handlePause},{event:"seeking",handler:this.handleSeeking},{event:"seeked",handler:this.handleSeeked},{event:"ratechange",handler:this.handleRateChange},{event:"enterpictureinpicture",handler:this.handleEnterPip},{event:"leavepictureinpicture",handler:this.handleLeavePip}],this.shakaPlayerEventHandlers=[{event:"error",handler:this.handleShakaError},{event:"adaptation",handler:this.handleAdaptation},{event:"variantchanged",handler:this.handleAdaptation},{event:"buffering",handler:this.onBufferingStateChange},{event:"drmsessionupdate",handler:this.onEncryptionKeyLoaded},{event:"manifestparsed",handler:this.handleManifestParsed}],this.networkEngineEventHandlers=[{event:"retry",handler:this.handleRequestRetry}],this.mediaType="unknown",this.streamingType="unknown"}return Object.defineProperty(e.prototype,"started",{get:function(){return this.state.isStarted},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.state.duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ended",{get:function(){var e;return null===(e=this.state)||void 0===e?void 0:e.isEnded},enumerable:!1,configurable:!0}),e.isBrowserSupported=function(){return p().Player.isBrowserSupported()},e.probeSupport=function(){return p().Player.probeSupport()},e.prototype.resume=function(){return this.internalObserver.onResumeRequested(),this.setPaused(!1)},e.prototype.pause=function(){return this.setPaused(!0)},e.prototype.seekTo=function(e){var t=e;e<.1&&(t=.1);var n=this.videoElement.duration||0;return e>n&&(t=n),this.state.currentTime=this.videoElement.currentTime,this.state.isSeeking=!0,this.state.seekingFrom=this.videoElement.currentTime,this.state.currentTime=t,this.videoElement.currentTime=t,this},e.prototype.setPlaybackSpeed=function(e){void 0!==this.videoElement&&e>0&&(this.videoElement.defaultPlaybackRate=e,this.videoElement.playbackRate=e)},e.prototype.attemptInsertVideoElement=function(){this.player.isPictureInPicture()||(this.containerElement?this.appendVideoElement(this.containerElement):this.containerElementClass&&(this.containerElementMutationObserver.observe(this.player.getWindow().document.documentElement,{childList:!0,subtree:!0}),this.checkContainerElementByClass()))},e.prototype.play=function(e,t){return g(this,void 0,void 0,(function(){var n,i=this;return E(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,10]),this.sessionPromise=new Promise((function(n){return n(i.initSession(e,t).then((function(){return i.loadSession()})))})),[4,this.sessionPromise];case 1:return[2,o.sent()];case 2:if(n=o.sent(),this.sessionPromise=void 0,!(0,m.aL)(n)||!this.errorMayRecoverOnReload(n))return[3,9];this.errorMayRecoverOnDrmConfigRemoval(n)&&this.internalPlayer.configure({drm:void 0}),o.label=3;case 3:return o.trys.push([3,5,8,9]),this.state.attemptingErrorRecovery=!0,[4,this.reloadSession()];case 4:return[2,o.sent()];case 5:return o.sent(),n.severity="fatal",[4,this.handlePlaybackError(n,!1)];case 6:return o.sent(),[4,Promise.reject(n)];case 7:return[2,o.sent()];case 8:return this.state.attemptingErrorRecovery=!1,[7];case 9:return[2,Promise.reject(n)];case 10:return[2]}}))}))},e.prototype.setPreferredSubtitle=function(e){if(e.languageTag!==f.ib.languageTag){var t=this.internalPlayer.getTextTracks().map((function(e){return{languageTag:e.language}})),n=(0,f.UC)(e,t);if(void 0!==n){var i=this.getSubtitleLanguageTag();n.languageTag!==i&&this.setSubtitle(n)}else this.removeSubtitle()}else this.removeSubtitle()},e.prototype.newSessionLoaded=function(e){this.state.isEnded||this.internalObserver.onEndingPlayback({playbackRequest:e})},e.prototype.getBandwidthEstimate=function(){var e,t=this.getStats();return null!==(e=null==t?void 0:t.estimatedBandwidth)&&void 0!==e?e:void 0},e.prototype.stop=function(e){return this.unloadSession(e)},e.prototype.emitForPercentages=function(e){this.state.progressPercentages=v([],Array.from(new Set(v(v([],this.state.progressPercentages,!0),e,!0))),!0).sort()},e.prototype.clearEmittedPercentages=function(){this.state.progressPercentages=[]},e.prototype.getPlaybackId=function(e){var t;return(null===(t=null==e?void 0:e.metadata)||void 0===t?void 0:t.endvideo_playback_id)||""},e.prototype.getNode=function(){return this.videoElement},e.prototype.hideNode=function(){this.videoElement.style.display&&(this.storedDisplayStyle=this.videoElement.style.display),this.videoElement.style.display="none"},e.prototype.showNode=function(){this.storedDisplayStyle?this.videoElement.style.display=this.storedDisplayStyle:this.videoElement.style.display="inline"},e.prototype.getPlaybackStats=function(){return this.getStats()},e.prototype.setMinimizeBitrate=function(e){this.state.minimizeBitrate!==e&&(this.state.minimizeBitrate=e,this.internalPlayer&&(e?this.enableMinimizeBitrate():this.disableMinimizeBitrate()))},e.prototype.setFullscreen=function(e){this.state.fullscreen!==e&&(this.state.fullscreen=e,this.internalPlayer&&this.internalObserver.onFullscreenChanged({position:this.getCurrentPosition(),fullscreen:e}))},e.prototype.setSurface=function(e){this.internalObserver.onSurfaceChanged({surface:e,position:this.getCurrentPosition()})},e.prototype.isLive=function(){return this.internalPlayer.isLive()},e.prototype.isPlayableForRequest=function(e){var t,n,i=null!==(n=null===(t=null==e?void 0:e.metadata)||void 0===t?void 0:t.playback_id)&&void 0!==n?n:"";if(!this.validPlaybackId(i))return{playable:!1,reason:"playback_id must be valid"};if(!e.mediaUrl)return{playable:!1,reason:"mediaUrl must be set"};if(e.isRoyaltyMedia&&!this.internalObserver.observers.some((function(e){return e instanceof r.D})))return{playable:!1,reason:"media is royalty-generating but no royalty-generating observers have been provided"};return{playable:!0}},e.prototype.initSession=function(e,t){return g(this,void 0,void 0,(function(){var n,i,o,r,a,s,l,u,d,p,h,f;return E(this,(function(m){switch(m.label){case 0:return this.session=_(_({sessionId:(0,c.NH)()},e),this.fixupPlaybackOptions(t)),n=this,[4,null===(l=this.offlineManager)||void 0===l?void 0:l.isAssetOffline(e.mediaUrl)];case 1:return n.streamingType=m.sent()?"offline":"on_demand",this.internalObserver.initiateObservers(this.session,this.playbackSessionConfiguration),this.playbackTimeObservable.initiateObservers(this.session.initialPosition),this.internalObserver.onPlaybackCreated({playbackIdentity:_({},this.session),initialConfiguration:{playWhenReady:this.session.playWhenReady,position:this.session.initialPosition,volume:this.player.volume,playbackSpeed:this.session.playbackSpeed,preferredSubtitle:this.session.preferredSubtitle,minimizeBitrate:this.session.minimizeBitrate,fullscreen:this.session.fullscreen,surface:this.session.surface},timeObservable:this.playbackTimeObservable,stopPlayback:this.stop.bind(this)}),null===(u=this.player.getMuxManager())||void 0===u||u.newSession({view_session_id:this.session.sessionId,video_title:null===(d=this.session.metadata)||void 0===d?void 0:d.title,video_series:null===(p=this.session.metadata)||void 0===p?void 0:p.album_title,video_id:null===(h=this.session.metadata)||void 0===h?void 0:h["media.manifest_id"],video_stream_type:this.streamingType,video_source_url:e.mediaUrl,video_content_type:null===(f=this.session.metadata)||void 0===f?void 0:f.feature_identifier,custom_1:this.session.playbackSpeed}),this.latencyStartTimes={},this.state.playWhenReady=this.session.playWhenReady,this.state.currentTime=this.session.initialPosition,this.state.playbackSpeed=this.session.playbackSpeed,this.session.minimizeBitrate&&(this.state.minimizeBitrate=this.session.minimizeBitrate),i=this.isPlayableForRequest(e),o=i.playable,r=i.reason,o?[3,3]:(a={category:"misconfigured-betamax-sdk-error",code:0,severity:"fatal",internalDetails:[null!=r?r:"unknown reason"]},[4,this.handlePlaybackError(a,!1)]);case 2:return m.sent(),[2,Promise.reject(a)];case 3:return s=this,[4,this.getManifestUri(e)];case 4:return s.manifestUri=m.sent(),[2]}}))}))},e.prototype.getManifestUri=function(e){return g(this,void 0,void 0,(function(){var t,n,i;return E(this,(function(o){switch(o.label){case 0:return"offline"!==this.streamingType?[3,2]:[4,null===(n=this.offlineManager)||void 0===n?void 0:n.getPlayableOfflineUrl(e.mediaUrl)];case 1:if(t=o.sent())return[2,t];o.label=2;case 2:return[2,null!==(i=(0,c.eN)(e.mediaUrl,this.playbackSessionConfiguration.mediaExtensions))&&void 0!==i?i:e.mediaUrl]}}))}))},e.prototype.loadSession=function(){return g(this,void 0,void 0,(function(){var e,t,n,i,o,r,a,s,c,l,u,d,p,h;return E(this,(function(f){switch(f.label){case 0:return this.attemptInsertVideoElement(),this.videoElement.setAttribute("preload","auto"),this.videoElement.setAttribute("data-sessionId",this.session.sessionId),this.setPlaybackSpeed(null!==(i=this.session.playbackSpeed)&&void 0!==i?i:this.state.playbackSpeed),[4,this.internalPlayer.attach(this.videoElement)];case 1:f.sent(),(null===(r=null===(o=this.playerConfiguration)||void 0===o?void 0:o.adaptiveBitrate)||void 0===r?void 0:r.initialLowBitrate)&&this.internalPlayer.configure({abr:{restrictions:{maxPixels:1}}}),this.session.minimizeBitrate&&this.enableMinimizeBitrate(),e=this.internalPlayer.getNetworkingEngine(),this.configureNetworkingEngine(e),this.startListeningForEvents(),(null===(s=null===(a=this.playerConfiguration)||void 0===a?void 0:a.streaming)||void 0===s?void 0:s.autoplayVideoOnLoad)||(this.videoElement.autoplay=this.session.playWhenReady,this.setPaused(!this.session.playWhenReady)),f.label=2;case 2:return f.trys.push([2,4,,12]),[4,this.internalPlayer.load(this.manifestUri,this.session.initialPosition)];case 3:return f.sent(),[3,12];case 4:return t=f.sent(),(0,m.Pf)(t)?this.state.isEnded?[3,7]:[4,this.getPlaybackError(t)]:[3,8];case 5:return n=f.sent(),[4,this.handlePlaybackError(n)];case 6:return f.sent(),[2,Promise.reject(n)];case 7:return[3,11];case 8:return[4,this.getPlaybackError(t,"unknown-error-while-loading")];case 9:return n=f.sent(),[4,this.handlePlaybackError(n)];case 10:return f.sent(),[2,Promise.reject(n)];case 11:return[3,12];case 12:return(null===(l=null===(c=this.playerConfiguration)||void 0===c?void 0:c.adaptiveBitrate)||void 0===l?void 0:l.initialLowBitrate)&&this.internalPlayer.configure({abr:{restrictions:{maxPixels:void 0}}}),this.state.keySystem=this.internalPlayer.keySystem(),(null===(d=null===(u=this.playerConfiguration)||void 0===u?void 0:u.subtitles)||void 0===d?void 0:d.enabled)&&void 0!==this.session.preferredSubtitle&&this.setPreferredSubtitle(this.session.preferredSubtitle),(null===(h=null===(p=this.playerConfiguration)||void 0===p?void 0:p.streaming)||void 0===h?void 0:h.autoplayVideoOnLoad)&&this.setPaused(!this.session.playWhenReady),this.state.isLoaded=!0,[2,Promise.resolve(this)]}}))}))},e.prototype.unloadSession=function(e){return g(this,arguments,void 0,(function(e,t){var n,o,r,a,s,c;return void 0===t&&(t=!0),E(this,(function(l){switch(l.label){case 0:return this.state.isLoaded?[3,2]:[4,this.sessionPromise];case 1:l.sent(),l.label=2;case 2:t&&(this.state.isEnded||(n=this.getCurrentPosition(),this.emitEndedEvent(i.mT.REQUESTED,n),this.state.isEnded=!0),this.state.endReason=e),this.stopListeningForEvents(),l.label=3;case 3:return l.trys.push([3,5,,9]),[4,this.internalPlayer.detach()];case 4:return l.sent(),[3,9];case 5:return o=l.sent(),(0,m.Pf)(o)?[3,8]:[4,this.getPlaybackError(o,"unknown-error-while-stopping")];case 6:return r=l.sent(),[4,this.handlePlaybackError(r)];case 7:l.sent(),l.label=8;case 8:return[3,9];case 9:return(a=this.internalPlayer.getNetworkingEngine())&&(a.clearAllRequestFilters(),a.clearAllResponseFilters()),this.containerElementMutationObserver.disconnect(),this.player.isPictureInPicture()||((null===(c=null===(s=this.playerConfiguration)||void 0===s?void 0:s.experimental)||void 0===c?void 0:c.showDebugOverlay)&&this.debugOverlay?this.debugOverlay.remove():this.videoElement.remove()),[2]}}))}))},e.prototype.reloadSession=function(){return g(this,void 0,void 0,(function(){return E(this,(function(e){switch(e.label){case 0:return[4,this.unloadSession(void 0,!1)];case 1:return e.sent(),[2,this.loadSession()]}}))}))},e.prototype.fixupPlaybackOptions=function(e){return e.initialPosition<0&&(e.initialPosition=0),e},e.prototype.validPlaybackId=function(e){return 0!==e.length&&!!(0,c.dY)(e)},e.prototype.configureNetworkingEngine=function(e){this.playerConfiguration.networkConfiguration&&(0,u.L)(e,this.playerConfiguration.networkConfiguration),e&&(e.registerRequestFilter(this.networkRequestFilter),e.registerResponseFilter(this.networkResponseFilter))},e.prototype.startListeningForEvents=function(){var e=this;if(this.videoElementEventHandlers.forEach((function(t){e.videoElement.addEventListener(t.event,t.handler)})),this.internalPlayer){this.shakaPlayerEventHandlers.forEach((function(t){e.internalPlayer.addEventListener(t.event,t.handler)}));var t=this.internalPlayer.getNetworkingEngine();t&&this.networkEngineEventHandlers.forEach((function(e){t.addEventListener(e.event,e.handler)}))}},e.prototype.stopListeningForEvents=function(){var e=this;if(this.videoElementEventHandlers.forEach((function(t){e.videoElement.removeEventListener(t.event,t.handler)})),this.internalPlayer){this.shakaPlayerEventHandlers.forEach((function(t){e.internalPlayer.removeEventListener(t.event,t.handler)}));var t=this.internalPlayer.getNetworkingEngine();t&&this.networkEngineEventHandlers.forEach((function(e){t.removeEventListener(e.event,e.handler)}))}},e.prototype.getInitialState=function(){return{time:(new Date).getTime(),playWhenReady:!1,isStarted:!1,isPlaying:!1,isPaused:!1,isEnded:!1,isError:!1,isBuffering:!1,isLoaded:!1,isSeeking:!1,seekingFrom:0,firstUnhandledSeek:null,duration:-1,currentTime:0,progress:0,bitrate:0,currentAudioFormat:void 0,currentVideoFormat:void 0,endReason:void 0,hasInitiallyReadied:!1,currentVariantId:null,progressPercentages:[],playbackSpeed:1,preferredSubtitle:f.ib,minimizeBitrate:!1,fullscreen:!1,bufferType:i.NZ.INITIAL,lastBufferStart:0,timeUpdate:!1,attemptingErrorRecovery:!1,unableToFetchLastSegments:!1,failedSegmentRetryError:void 0}},e.prototype.getCurrentPosition=function(){return this.videoElement.currentTime?this.videoElement.currentTime:this.state.currentTime},e.prototype.isSubtitleUri=function(e){return!!e&&this.subtitleUris.some((function(t){return e.includes(t)}))},e.prototype.emitEndedEvent=function(e,t){var n,i=this.getStats(),o=i?i.droppedFrames:0;o>0&&this.internalObserver.onDroppedVideoFrames({droppedFrames:o});var r={playTime:1e3*(null!==(n=null==i?void 0:i.playTime)&&void 0!==n?n:0)};this.internalObserver.onPlaybackEnded({position:t,reason:e,playbackStats:r})},e.prototype.calculateProgress=function(e,t){var n=null;return t>0&&e>=0&&(n=e/t,n=Math.min(Math.max(n,0),1)),n},e.prototype.isPositionOutsideBuffer=function(){var e=this.internalPlayer.getBufferedInfo(),t=this.getCurrentPosition();return null!==e&&!(e.start<=t&&e.end>=t)},e.prototype.adjustPositionForBuffer=function(){var e,t=null===(e=this.internalPlayer.getBufferedInfo())||void 0===e?void 0:e.start;t&&(this.videoElement.currentTime=t)},e.prototype.getSupportedMedia=function(e,t){return Object.entries(e).filter((function(e){var n=e[0];return!0===e[1]&&n.startsWith(t)})).map((function(e){return e[0]}))},e.prototype.isFailedSegmentRequest=function(e){var t;return(null===(t=e.error)||void 0===t?void 0:t.category)===p().util.Error.Category.NETWORK},e.prototype.errorWillRecoverAutomatically=function(e){var t;return"NETWORK"===e.category&&"fatal"===e.severity&&this.isSubtitleUri(null===(t=e.network)||void 0===t?void 0:t.uri)},e.prototype.errorMayRecoverOnReload=function(e){return!this.state.attemptingErrorRecovery&&this.errorMayRecoverOnDrmConfigRemoval(e)},e.prototype.errorMayRecoverOnDrmConfigRemoval=function(e){return e.code===p().util.Error.Code.CONTENT_UNSUPPORTED_BY_BROWSER},e.prototype.getPlaybackError=function(e){return g(this,arguments,void 0,(function(e,t,n){var i;return void 0===t&&(t="unknown"),void 0===n&&(n="unknown"),E(this,(function(o){switch(o.label){case 0:return i={category:t,code:0,severity:n},i=(0,m.v4)(e)?this.hydrateErrorWithShakaError(i,e.detail):(0,m.Pf)(e)?this.hydrateErrorWithShakaError(i,e):this.hydrateErrorWithEventInfo(i,e),[4,this.hydrateErrorWithContext(i)];case 1:return[2,i=o.sent()]}}))}))},e.prototype.hydrateErrorWithShakaError=function(e,t){var n,i={category:void 0!==t.category?(0,h.eG)(t.category):"unknown",code:null!==(n=t.code)&&void 0!==n?n:0,severity:(0,h.s7)(t.severity),internalDetails:t.data};if(t.category===p().util.Error.Category.NETWORK&&t.data){var o=t.data;i.network={uri:o[0]},t.code===p().util.Error.Code.BAD_HTTP_STATUS&&(i.network.httpStatus=o[1],i.network.responseText=o[2],i.network.responseHeaders=o[3])}return _(_({},e),i)},e.prototype.hydrateErrorWithEventInfo=function(e,t){var n=void 0;try{n=[JSON.stringify(t)]}catch(e){t instanceof Error&&(n=[t.name,t.message])}return _(_({},e),{internalDetails:n})},e.prototype.hydrateErrorWithContext=function(t){return g(this,void 0,void 0,(function(){var n,i;return E(this,(function(o){switch(o.label){case 0:return[4,e.probeSupport()];case 1:return n=o.sent(),i=n.drm["com.widevine.alpha"],[2,_(_({},t),{sessionContext:{audioFormat:this.state.currentAudioFormat,videoFormat:this.state.currentVideoFormat},clientContext:{browserSupported:e.isBrowserSupported(),widevineSupported:!!i,widevinePersistentLicenseSupported:!!(null==i?void 0:i.persistentState),supportedAudioWebmMedia:this.getSupportedMedia(n.media,"audio/webm"),supportedVideoWebmMedia:this.getSupportedMedia(n.media,"video/webm")}})]}}))}))},e.prototype.getStats=function(){return void 0!==this.internalPlayer&&this.state.isLoaded?this.internalPlayer.getStats():void 0},e.prototype.setPaused=function(e){return e?this.videoElement.pause():this.videoElement.play(),this.state.isPaused=e,this},e.prototype.enableMinimizeBitrate=function(){this.internalPlayer.configure({abr:{restrictions:{maxBandwidth:1}}}),this.internalObserver.onMinimizeBitrateChanged({position:this.getCurrentPosition(),minimizeBitrate:!0})},e.prototype.disableMinimizeBitrate=function(){var e,t,n,i=null!==(n=null===(t=null===(e=this.playerConfiguration)||void 0===e?void 0:e.adaptiveBitrate)||void 0===t?void 0:t.maxBitrate)&&void 0!==n?n:void 0;this.internalPlayer.configure({abr:{restrictions:{maxBandwidth:i}}}),this.triggerQuickVariantChange(),this.internalObserver.onMinimizeBitrateChanged({position:this.getCurrentPosition(),minimizeBitrate:!1})},e.prototype.triggerQuickVariantChange=function(){var e,t,n;try{var i=this.player.getAbrManager().chooseVariant();if(!i)throw new Error("Recommended variant was not provided by the AbrManager");var o=null!==(n=null===(t=null===(e=this.playerConfiguration)||void 0===e?void 0:e.minimizeBitrate)||void 0===t?void 0:t.bufferMargin)&&void 0!==n?n:4;this.internalPlayer.selectVariantTrack((0,h.YY)(i),!0,o)}catch(e){if(e instanceof Error){var r={category:"failed-quick-variant-change",code:0,severity:"recoverable",internalDetails:["".concat(e.name,": ").concat(e.message)]};this.handlePlaybackError(r,!1)}}},e.prototype.getSubtitleLanguageTag=function(){if(this.internalPlayer.isTextTrackVisible()){var e=this.internalPlayer.getTextTracks().find((function(e){return e.active}));return e?e.language:void 0}},e.prototype.setSubtitle=function(e){var t=e.languageTag;this.internalPlayer.selectTextLanguage(t),this.internalPlayer.configure({preferredTextLanguage:t}),this.internalPlayer.setTextTrackVisibility(""!==t),this.internalObserver.onSubtitleChanged({position:this.getCurrentPosition(),subtitle:{languageTag:t}})},e.prototype.removeSubtitle=function(){this.setSubtitle(f.ib)},e.prototype.appendVideoElement=function(e){var t;if(null===(t=this.playerConfiguration.experimental)||void 0===t?void 0:t.showDebugOverlay){this.debugOverlay=this.player.getWindow().document.createElement("div");var n=this.player.getWindow().document.createElement("span");this.debugOverlay.style.position="relative",this.debugOverlay.id="video-debug-overlay",this.debugTextSpan=n,this.debugTextSpan.style.position="absolute",this.debugTextSpan.style.bottom="8px",this.debugTextSpan.style.right="8px",this.debugTextSpan.style.color="#ffd11a",this.debugTextSpan.style.fontWeight="bold",this.debugTextSpan.style.fontSize="24pt",this.debugTextSpan.textContent="Video Debug Overlay",this.debugOverlay.appendChild(this.debugTextSpan),this.debugOverlay.appendChild(this.videoElement),e.appendChild(this.debugOverlay)}else e.appendChild(this.videoElement)},e}()},80083:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var i=n(36601),o=n.n(i),r=function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},s=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};function c(e,t){null==e||e.registerRequestFilter(function(e){var t=this;return function(n,i){return a(t,void 0,void 0,(function(){var t,a,c;return s(this,(function(s){switch(s.label){case 0:return n!==o().net.NetworkingEngine.RequestType.LICENSE&&n!==o().net.NetworkingEngine.RequestType.MANIFEST?[2]:e.getAuthorizationHeader?(t=i.headers,[4,e.getAuthorizationHeader()]):[3,2];case 1:t.Authorization=s.sent(),s.label=2;case 2:return n===o().net.NetworkingEngine.RequestType.MANIFEST&&e.getWebgateHeaders&&(a=e.getWebgateHeaders(),c=a.reduce((function(e,t){return e[t[0]]=t[1],e}),{}),i.headers=r(r({},i.headers),c)),[2]}}))}))}}(t))}},42450:(e,t,n)=>{"use strict";n.d(t,{YY:()=>u,_k:()=>l,du:()=>r,eG:()=>a,s7:()=>s,vZ:()=>c});var i=n(36601),o=n.n(i);function r(e){for(var t=0,n=Object.entries(o().util.Error.Code);t<n.length;t++){var i=n[t],r=i[0];if(i[1]===e)return r}return"unknown"}function a(e){for(var t=0,n=Object.entries(o().util.Error.Category);t<n.length;t++){var i=n[t],r=i[0];if(i[1]===e)return r}return"unknown"}function s(e){switch(e){case o().util.Error.Severity.CRITICAL:return"fatal";case o().util.Error.Severity.RECOVERABLE:return"recoverable";default:return"unknown"}}function c(e){switch(e.code){case o().util.Error.Code.TIMEOUT:case o().util.Error.Code.HTTP_ERROR:return!0;default:return!1}}function l(e){var t;return(null!==(t=e.textStreams)&&void 0!==t?t:[]).flatMap((function(e){var t,n,i;return null!==(i=null===(n=null===(t=e.segmentIndex)||void 0===t?void 0:t.get(0))||void 0===n?void 0:n.getUris())&&void 0!==i?i:[]})).filter((function(e){return e}))}var u=function(e){var t,n,i,o,r,a,s,c,l,u,d,p,h,f,m,_,g,E,v,y=null==e?void 0:e.audio,b=null==e?void 0:e.video,S=[];(null==b?void 0:b.codecs)&&S.push(b.codecs),(null==y?void 0:y.codecs)&&S.push(y.codecs);var T=[];b&&T.push(b.mimeType),y&&T.push(y.mimeType);var A=[];y&&A.push(y.kind),b&&A.push(b.kind);var I=new Set;if(y)for(var O=0,C=y.roles;O<C.length;O++){var R=C[O];I.add(R)}if(b)for(var N=0,P=b.roles;N<P.length;N++){R=P[N];I.add(R)}return{id:e.id,active:!1,type:"variant",bandwidth:e.bandwidth,language:e.language,label:null!==(t=null==y?void 0:y.label)&&void 0!==t?t:null,kind:null!==(n=A[0])&&void 0!==n?n:null,width:null!==(i=null==b?void 0:b.width)&&void 0!==i?i:null,height:null!==(o=null==b?void 0:b.height)&&void 0!==o?o:null,frameRate:null!==(r=null==b?void 0:b.frameRate)&&void 0!==r?r:null,pixelAspectRatio:null!==(a=null==b?void 0:b.pixelAspectRatio)&&void 0!==a?a:null,hdr:null,mimeType:T[0]||null,audioMimeType:null!==(s=null==y?void 0:y.mimeType)&&void 0!==s?s:null,videoMimeType:null!==(c=null==b?void 0:b.mimeType)&&void 0!==c?c:null,codecs:S.join(", "),audioCodec:null!==(l=null==y?void 0:y.codecs)&&void 0!==l?l:null,videoCodec:null!==(u=null==b?void 0:b.codecs)&&void 0!==u?u:null,primary:e.primary,roles:Array.from(I),audioRoles:null!==(d=null==y?void 0:y.roles)&&void 0!==d?d:null,forced:!1,videoId:null!==(p=null==b?void 0:b.id)&&void 0!==p?p:null,audioId:null!==(h=null==y?void 0:y.id)&&void 0!==h?h:null,channelsCount:null!==(f=null==y?void 0:y.channelsCount)&&void 0!==f?f:null,audioSamplingRate:null!==(m=null==y?void 0:y.audioSamplingRate)&&void 0!==m?m:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null!==(_=null==y?void 0:y.bandwidth)&&void 0!==_?_:null,videoBandwidth:null!==(g=null==b?void 0:b.bandwidth)&&void 0!==g?g:null,originalVideoId:null!==(E=null==b?void 0:b.originalId)&&void 0!==E?E:null,originalAudioId:null!==(v=null==y?void 0:y.originalId)&&void 0!==v?v:null,originalTextId:null,originalImageId:null,accessibilityPurpose:null,originalLanguage:null}}},45076:(e,t,n)=>{"use strict";n.d(t,{UC:()=>s,h$:()=>c,ib:()=>o});var i="cc",o={languageTag:""};function r(e){for(var t=[],n=0,i=e.languageTag.split("-");n<i.length;n++){var o=i[n];if(1===o.length)break;t.push(o)}return t.join("-")}function a(e){return e.languageTag.split("-")[0]}function s(e,t){if(e.languageTag!==o.languageTag){var n=t.find((function(t){return t.languageTag===e.languageTag}));if(n)return n;var i=t.find((function(t){return r(t)===r(e)}));if(i)return i;var s=t.find((function(t){return a(t)===a(e)}));return s||void 0}}function c(e,t){return e?{languageTag:t?"".concat(e,"-x-").concat(i):e}:o}},79356:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"category"in e&&"code"in e&&"severity"in e}function o(e){return null!==e&&"object"==typeof e&&"type"in e&&"detail"in e&&"error"===e.type}function r(e){return null!==e&&"object"==typeof e&&"category"in e&&"code"in e&&"severity"in e&&"handled"in e}n.d(t,{Pf:()=>r,aL:()=>i,v4:()=>o})},71287:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var i=n(36601),o=n.n(i),r=n(48055),a=n(44584),s=function(){function e(){this.curId_=0,this.config_=null,this.data=null,this.profileInitSegmentReferences=new Map,this.UNSUPPORTED_MIME_TYPES=["video/mp2t"],this.PROFILE_ID_PLACEHOLDER="{{profile_id}}",this.FILE_TYPE_PLACEHOLDER="{{file_type}}",this.SEGMENT_TIMESTAMP_PLACEHOLDER="{{segment_timestamp}}",this.LANGUAGE_CODE_PLACEHOLDER="{{language_code}}",this.stop=function(){return Promise.resolve()},this.loadData_=function(e){var t=null;if(e instanceof ArrayBuffer){var n=o().util.StringUtils.fromUTF8(e);try{t=JSON.parse(n)}catch(e){var i=e;throw new(o().util.Error)(o().util.Error.Severity.CRITICAL,o().util.Error.Category.MANIFEST,o().util.Error.Code.MISSING_TEXT_PLUGIN,"Exception parsing the Json manifest: ".concat(i.message))}}else t=e;if(!t)throw new(o().util.Error)(o().util.Error.Severity.CRITICAL,o().util.Error.Category.MANIFEST,o().util.Error.Code.MISSING_TEXT_PLUGIN,"Invalid JSON");return t},this.groupProfiles_=function(e){var t=[],n=[];if(e.forEach((function(e){var i=e.mime_type.split("/")[0];"video"===i?t.push(e):"audio"===i&&n.push(e)})),!t.length&&!n.length)return[];if(t.length&&!n.length)return t.map((function(e){return{video:e,audio:null}}));if(!t.length&&n.length)return n.map((function(e){return{video:null,audio:e}}));var i=[];return t.forEach((function(e){n.forEach((function(t){i.push({video:e,audio:t})}))})),i}}return e.prototype.configure=function(e){this.config_=e},e.prototype.start=function(e,t){var n=this;if((0,r.u)("betamax::manifestparser_start"),!this.config_)throw new Error("Must call configure() before start()");var i=o().net.NetworkingEngine.RequestType.MANIFEST,a={uris:[e],method:"GET",retryParameters:this.config_.retryParameters,allowCrossSiteCredentials:!1,headers:{},body:null,drmInfo:null,initData:null,initDataType:null,licenseRequestType:null,sessionId:null,streamDataCallback:null};return t.networkingEngine.request(i,a).promise.then((function(e){return n.loadManifest_(e.data)}))},e.prototype.onExpirationUpdated=function(){},e.prototype.update=function(){},e.prototype.loadManifest_=function(e){var t=this;(0,r.u)("betamax::manifestparser_loadManifestStart"),this.data=this.loadData_(e);var n=new(o().media.PresentationTimeline)(null,0);n.setDuration(this.data.end_time_millis/1e3);var i=this.data.contents[0];this.profileInitSegmentReferences=new Map;var a=this.filterProfiles_(i.profiles),s={presentationTimeline:n,minBufferTime:0,offlineSessionIds:[],variants:this.groupProfiles_(a).map((function(e){return t.loadVariant_(i,e)})),textStreams:this.loadTextStreams_(i),imageStreams:[],sequenceMode:!1,ignoreManifestTimestampsInSegmentsMode:!1,type:"",serviceDescription:{}};return(0,r.u)("betamax::manifestparser_loadManifest_end"),s},e.prototype.filterProfiles_=function(e){var t=this;return e.filter((function(e){return!t.UNSUPPORTED_MIME_TYPES.includes(e.mime_type)}))},e.prototype.loadVariant_=function(e,t){var n=(t.video?t.video.video_bitrate:0)+(t.audio?t.audio.audio_bitrate:0);return{id:this.curId_++,language:"und",primary:!1,audio:t.audio?this.loadStream_(e,t.audio,"audio"):null,video:t.video?this.loadStream_(e,t.video,"video"):null,bandwidth:n,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[],disabledUntilTime:0}},e.prototype.loadTextStreams_=function(e){var t,n,i=this,o=[];return(null===(n=null===(t=this.data)||void 0===t?void 0:t.subtitle_language_codes)||void 0===n?void 0:n.length)&&(o=this.data.subtitle_language_codes.map((function(e){return{id:i.curId_++,mime_type:"text/vtt",file_type:"vtt",language:e}}))),o.map((function(t){return i.loadStream_(e,t,"text")}))},e.prototype.decodePSSH=function(e){for(var t=(0,a.decode)(e),n=new Uint8Array(t.length),i=0,o=t.length;i<o;i++)n[i]=t.charCodeAt(i);return n},e.prototype.loadStream_=function(e,t,n){var i=this.getSegmentIndex_(e,t,n),o="";"video"===n&&(o=t.video_codec),"audio"===n&&(o=t.audio_codec);var r=[],a="text"!==n&&e.encryption_infos&&e.encryption_infos.length>0;if(a)for(var s=0,c=e.encryption_infos;s<c.length;s++){var l=c[s];if("widevine"===l.key_system){var u=l.encryption_data,d={keySystem:"com.widevine.alpha",licenseServerUri:"",audioRobustness:"",videoRobustness:"",distinctiveIdentifierRequired:!1,persistentStateRequired:!0,initData:[{initData:this.decodePSSH(u),initDataType:"cenc",keyId:null}],keyIds:new Set,serverCertificateUri:"",serverCertificate:null,sessionType:"temporary"};r.push(d)}}return{id:this.curId_++,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:i,mimeType:t.mime_type,codecs:o,bandwidth:t.max_bitrate,width:"video"===n?t.video_width:void 0,height:"video"===n?t.video_height:void 0,kind:"text"===n?"subtitles":void 0,encrypted:a,keyIds:new Set,language:"text"===n?t.language:"und",type:n,primary:!1,roles:[],drmInfos:r,closedCaptions:new Map,spatialAudio:!1,trickModeVideo:null,audioSamplingRate:null,forced:!1,channelsCount:null,label:null,emsgSchemeIdUris:null,originalId:null,external:!1,accessibilityPurpose:null,originalLanguage:null}},e.prototype.getInitSegmentReference_=function(e){var t=this;if(this.profileInitSegmentReferences.has(e))return this.profileInitSegmentReferences.get(e);var n=new(o().media.InitSegmentReference)((function(){var n,i;return null!==(i=null===(n=t.data)||void 0===n?void 0:n.base_urls.map((function(n){var i,o;return(n+(null!==(o=null===(i=t.data)||void 0===i?void 0:i.initialization_template)&&void 0!==o?o:"")).replace(t.PROFILE_ID_PLACEHOLDER,"".concat(e.id)).replace(t.FILE_TYPE_PLACEHOLDER,e.file_type)})))&&void 0!==i?i:[]}),0,null);return this.profileInitSegmentReferences.set(e,n),n},e.prototype.getSegmentIndex_=function(e,t,n){var i=this,r=[],a=e.start_time_millis/1e3,s=e.end_time_millis/1e3;if("text"===n){var c=t;r=[new(o().media.SegmentReference)(a,s,(function(){var e;return(null===(e=i.data)||void 0===e?void 0:e.subtitle_base_urls)?i.data.subtitle_base_urls.map((function(e){var t,n;return(e+(null!==(n=null===(t=i.data)||void 0===t?void 0:t.subtitle_template)&&void 0!==n?n:"")).replace(i.LANGUAGE_CODE_PLACEHOLDER,c.language)})):[]}),0,null,null,a,a,1/0)]}else for(var l=e.segment_length,u=a;u<s;){var d=this.loadReference_(t,u,u+l,a);r.push(d),u+=l}return new(o().media.SegmentIndex)(r)},e.prototype.loadReference_=function(e,t,n,i){var r=this,a=this.getInitSegmentReference_(e);return new(o().media.SegmentReference)(t,n,(function(){var n,i;return null!==(i=null===(n=r.data)||void 0===n?void 0:n.base_urls.map((function(n){var i,o;return(n+(null!==(o=null===(i=r.data)||void 0===i?void 0:i.segment_template)&&void 0!==o?o:"")).replace(r.PROFILE_ID_PLACEHOLDER,"".concat(e.id)).replace(r.FILE_TYPE_PLACEHOLDER,e.file_type).replace(r.SEGMENT_TIMESTAMP_PLACEHOLDER,"".concat(t))})))&&void 0!==i?i:[]}),0,null,a,i,i,1/0)},e}(),c=n(39894),l=function(){function e(e){this.manifestTemplate=e;var t=function(){return new s};o().media.ManifestParser.registerParserByExtension("json",t),o().media.ManifestParser.registerParserByMime("application/json",t)}return e.prototype.isPlayable=function(e){return e.startsWith(c.t5)},e.prototype.getMediaUrl=function(e){var t=e.replace(c.t5,"");return(0,c.iy)(this.manifestTemplate,"json",t)},e}()},39894:(e,t,n)=>{"use strict";n.d(t,{DJ:()=>o,iy:()=>r,t5:()=>i});var i="spotify-video://",o=function(){function e(){}return e.create=function(e){return"".concat(i).concat(e)},e}();function r(e,t,n){return e.replace(/\{type\}/i,t).replace(/\{source_id\}/i,encodeURIComponent(n))}},4010:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var i=n(65994),o=function(){function e(){this.sessionEvents=[]}return e.prototype.onBuffering=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.BUFFERING})},e.prototype.onEncryptionKeyLoaded=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.ENCRYPTION_KEY_LOADED})},e.prototype.onDurationChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.DURATION_CHANGED})},e.prototype.onManifestLoaded=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.MANIFEST_LOADED})},e.prototype.onPlaybackError=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.ERROR})},e.prototype.onPlaybackCreated=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.CREATED})},e.prototype.onEndingPlayback=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.NEW_SESSION_LOADED})},e.prototype.onPlaybackEnded=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.ENDED})},e.prototype.onMediaMetadataChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.MEDIA_METADATA_CHANGED})},e.prototype.onReady=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.READY})},e.prototype.onStarted=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.STARTED})},e.prototype.onResumed=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.RESUMED})},e.prototype.onPaused=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.PAUSED})},e.prototype.onSeeking=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.SEEKING})},e.prototype.onSeeked=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.SEEKED})},e.prototype.onAudioFormatChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.AUDIO_FORMAT_CHANGED})},e.prototype.onVideoFormatChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.VIDEO_FORMAT_CHANGED})},e.prototype.onVolumeChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.VOLUME_CHANGED})},e.prototype.onManifestLoading=function(e,t){this.sessionEvents.push({timestamp:e,monotonicTimestamp:t,data:void 0,type:i.Tl.MANIFEST_LOADING})},e.prototype.onEncryptionKeyLoading=function(e,t){this.sessionEvents.push({timestamp:e,monotonicTimestamp:t,data:void 0,type:i.Tl.ENCRYPTION_KEY_LOADING})},e.prototype.onBytesTransferred=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.BYTES_TRANSFERRED})},e.prototype.onSubtitleChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.SUBTITLE_CHANGED})},e.prototype.onFullscreenChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.FULLSCREEN_CHANGED})},e.prototype.onSurfaceChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.SURFACE_CHANGED})},e.prototype.onMinimizeBitrateChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.MINIMIZE_BITRATE_CHANGED})},e.prototype.onPlaybackSpeedChanged=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.PLAYBACK_SPEED_CHANGED})},e.prototype.onDroppedVideoFrames=function(e,t,n){this.sessionEvents.push({timestamp:t,monotonicTimestamp:n,data:e,type:i.Tl.DROPPED_FRAMES})},e.prototype.onResumeRequested=function(e,t){this.sessionEvents.push({timestamp:e,monotonicTimestamp:t,data:void 0,type:i.Tl.RESUME_REQUESTED})},e}()},65994:(e,t,n)=>{"use strict";var i,o,r;n.d(t,{NZ:()=>i,Tl:()=>r,mT:()=>o}),function(e){e.UNINITIALIZED="",e.INITIAL="initial",e.SEEK="seek",e.STALL="stall"}(i||(i={})),function(e){e.PLAYED_TO_END="played-to-end",e.FATAL_ERROR="error",e.REQUESTED="requested-end",e.SHUTDOWN="shutdown",e.NETWORK_ERROR="network-error",e.UNEXPECTED_EXIT="unexpected-exit"}(o||(o={})),function(e){e.CREATED="created",e.MANIFEST_LOADING="manifestLoading",e.MANIFEST_LOADED="manifestLoaded",e.ENCRYPTION_KEY_LOADING="encryptionKeyLoading",e.ENCRYPTION_KEY_LOADED="encryptionKeyLoaded",e.BUFFERING="buffering",e.DROPPED_FRAMES="droppedFrames",e.READY="ready",e.MEDIA_METADATA_CHANGED="mediaMetadataChanged",e.PAUSED="paused",e.STARTED="started",e.RESUMED="resumed",e.SEEKING="seeking",e.SEEKED="seeked",e.ENDED="ended",e.ERROR="error",e.BYTES_TRANSFERRED="bytesTransferred",e.SUBTITLE_CHANGED="subtitleChanged",e.VIDEO_FORMAT_CHANGED="videoFormatChanged",e.AUDIO_FORMAT_CHANGED="audioFormatChanged",e.FULLSCREEN_CHANGED="fullscreenChanged",e.SURFACE_CHANGED="surfaceChanged",e.MINIMIZE_BITRATE_CHANGED="minimizeBitrateChanged",e.VOLUME_CHANGED="volumeChanged",e.PROGRESS="progress",e.POSITION_UPDATE="positionUpdate",e.DURATION_CHANGED="durationChanged",e.NEW_SESSION_LOADED="newSessionLoaded",e.PLAYBACK_SPEED_CHANGED="playbackSpeedChanged",e.RESUME_REQUESTED="resumeRequested"}(r||(r={}))},489:(e,t,n)=>{"use strict";n.d(t,{_T:()=>M,fi:()=>x});var i=n(30131),o=n(65994),r=n(86639),a=function(){return a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function s(e,t,n){var s=Math.round(n.timestamp-e.bufferingStart),c=a({},t);if((0,r.Et)(s)&&s>0)switch(e.bufferingType){case o.NZ.SEEK:c[i.S.MS_BUFFERING_SEEK]+=s,s>c[i.S.MS_BUFFERING_SEEK_LONGEST]&&(c[i.S.MS_BUFFERING_SEEK_LONGEST]=s);break;case o.NZ.STALL:c[i.S.MS_BUFFERING_STALL]+=s,s>c[i.S.MS_BUFFERING_STALL_LONGEST]&&(c[i.S.MS_BUFFERING_STALL_LONGEST]=s);break;case o.NZ.INITIAL:c[i.S.MS_INITIAL_BUFFERING]+=s}return c}var c=function(e,t,n){return n>0?Math.round((0,r.T8)(t,l(e))/n):0};function l(e){if(e.data){var t=e.data.position;if((0,r.Et)(t))return t;if((0,r.d$)(e)&&(0,r.Et)(e.data.fromPosition))return e.data.fromPosition}return 1/0}var u=function(e,t){return(0,r.$S)(e)?a(a({},t),{playbackSpeed:e.data.speed}):t},d=function(e,t){var n;return(0,r.hX)(e)?a(a({},t),{subtitlesEnabled:!!(null===(n=e.data)||void 0===n?void 0:n.subtitle.languageTag)}):t},p=function(e,t){return(0,r.Y5)(e)?a(a({},t),{fullscreen:e.data.fullscreen}):t},h=function(e,t){return(0,r.sz)(e)?a(a({},t),{surfaceChanged:!0}):t},f=function(e,t){return(0,r.UG)(e)?a(a({},t),{minimizeBitrate:e.data.minimizeBitrate}):t},m=function(e,t){return(0,r.zu)(e)?a(a({},t),{minimizeBitrate:e.data.initialConfiguration.minimizeBitrate}):t},_=function(e,t){return(0,r.zu)(e)?a(a({},t),{fullscreen:e.data.initialConfiguration.fullscreen}):t},g=function(e,t){return(0,r.zu)(e)?a(a({},t),{surface:e.data.initialConfiguration.surface}):t},E=function(e,t){return(0,r.zu)(e)?a(a({},t),{playbackSpeed:e.data.initialConfiguration.playbackSpeed}):t},v=function(e,t){var n=a({},t),i=function(e){var t=e.playing&&e.subtitlesEnabled,n=void 0!==e.playingWithSubtitlesPosition;return t&&!n?"started":!t&&n?"finished":t?"on":"off"}(n);return"started"===i&&(n.playingWithSubtitlesPosition=l(e)),"finished"===i&&void 0!==n.playingWithSubtitlesPosition&&(n.msPlayedSubtitles+=c(e,n.playingWithSubtitlesPosition,n.playbackSpeed),n.playingWithSubtitlesPosition=void 0),n},y=function(e,t){var n=a({},t),i=function(e){var t=e.playing&&e.fullscreen,n=void 0!==e.playingWhileFullscreenPosition;return t&&!n?"started":!t&&n?"finished":t?"on":"off"}(n);return"started"===i&&(n.playingWhileFullscreenPosition=l(e)),"finished"===i&&void 0!==n.playingWhileFullscreenPosition&&(n.msPlayedFullscreen+=c(e,n.playingWhileFullscreenPosition,n.playbackSpeed),n.playingWhileFullscreenPosition=void 0),n},b=function(e,t){var n,i,o,s,u,d,p=a({},t),h=function(e){if(e.surfaceChanged)return"changed";var t=e.playing&&e.surface,n=void 0!==e.playingInSurfacePosition;return t&&!n?"started":!t&&n?"finished":t?"on":"off"}(p);return"started"===h&&(p.playingInSurfacePosition=l(e)),"finished"===h&&void 0!==p.playingInSurfacePosition&&p.surface&&(null!==(n=(o=p.msPlayedPerSurface)[s=p.surface])&&void 0!==n||(o[s]=0),p.msPlayedPerSurface[p.surface]+=c(e,p.playingInSurfacePosition,p.playbackSpeed),p.playingInSurfacePosition=void 0),"changed"===h&&(0,r.sz)(e)&&(p.surface&&void 0!==p.playingInSurfacePosition&&(null!==(i=(u=p.msPlayedPerSurface)[d=p.surface])&&void 0!==i||(u[d]=0),p.msPlayedPerSurface[p.surface]+=c(e,p.playingInSurfacePosition,p.playbackSpeed)),p.surface=e.data.surface,p.surfaceChanged=!1,p.playing&&(p.playingInSurfacePosition=l(e))),p},S=function(e,t){var n=a({},t),i=function(e){var t=e.playing&&e.minimizeBitrate,n=void 0!==e.playingWithMinimizeBitratePosition;return t&&!n?"started":!t&&n?"finished":t?"on":"off"}(n);return"started"===i&&(n.playingWithMinimizeBitratePosition=l(e)),"finished"===i&&void 0!==n.playingWithMinimizeBitratePosition&&(n.msPlayedDisabled+=c(e,n.playingWithMinimizeBitratePosition,n.playbackSpeed),n.playingWithMinimizeBitratePosition=void 0),n},T=function(e,t){var n=(0,r.T8)(t.playingPosition,l(e)),i=c(e,t.playingPosition,t.playbackSpeed);return a(a({},t),{msNominalPlayed:n+t.msNominalPlayed,msPlayed:i+t.msPlayed,playing:!1,playingPosition:0})},A=function(e,t){t[i.S.SESSION_ID]=e.data.playbackIdentity.sessionId,t[i.S.MEDIA_URL]=e.data.playbackIdentity.mediaUrl},I=function(e,t){t[i.S.MS_START_POSITION]=Math.round(1e3*e.data.position)},O=function(e,t){t[i.S.MEDIA_TYPE]=e.data.mediaType,t[i.S.STREAMING_TYPE]=e.data.streamingType},C=function(e,t){t[i.S.MS_DURATION]=Math.round(1e3*e.data.duration)},R=function(e,t){return(0,r.zu)(e)?a(a({},t),{didAttemptToPlay:e.data.initialConfiguration.playWhenReady}):(0,r.Oh)(e)?a(a({},t),{didAttemptToPlay:!0}):t};var N=function(e,t){t[i.S.N_DROPPED_FRAMES]=e.data.droppedFrames},P=function(e,t){t[i.S.EXIT_REASON]=e.data.reason},L=function(e,t){t[i.S.ASPECT_RATIO]=e.data.format.width&&e.data.format.height?e.data.format.width/e.data.format.height:t[i.S.ASPECT_RATIO],t[i.S.START_BITRATE]=e.data.format.totalBitrate&&!t[i.S.START_BITRATE]?e.data.format.totalBitrate:t[i.S.START_BITRATE]};var k=function(e,t){t[i.S.ENCRYPTION_TYPE]=e.data.encryptionType},w=function(e,t){t[i.S.LAST_USED_SUBTITLE]=e.data.subtitle.languageTag||t[i.S.LAST_USED_SUBTITLE]};var D=function(e,t){var n,o;e.data.fromPosition>e.data.toPosition?t[i.S.N_SEEKBACK]=(null!==(n=t[i.S.N_SEEKBACK])&&void 0!==n?n:0)+1:e.data.fromPosition<=e.data.toPosition&&(t[i.S.N_SEEKFORWARD]=(null!==(o=t[i.S.N_SEEKFORWARD])&&void 0!==o?o:0)+1)};var M=function(){return{playing:!1,subtitlesEnabled:!1,playingWithSubtitlesPosition:void 0,msPlayedSubtitles:0,msPlayed:0,msNominalPlayed:0,msPlayedRangeStartTime:0,playingPosition:0,fullscreen:!1,playingWhileFullscreenPosition:void 0,msPlayedFullscreen:0,minimizeBitrate:!1,playingWithMinimizeBitratePosition:void 0,msPlayedDisabled:0,playedRanges:[],unionPlayed:0,maxContinous:0,playbackSpeed:1,surfaceChanged:!1,msPlayedPerSurface:{},didAttemptToPlay:!1}};function x(e){var t,n,c=M(),l=((t={})[i.S.ASPECT_RATIO]=0,t[i.S.START_BITRATE]=0,t[i.S.N_SEEKBACK]=0,t[i.S.N_SEEKFORWARD]=0,t[i.S.N_DROPPED_FRAMES]=0,t[i.S.EXIT_REASON]="",t[i.S.ENCRYPTION_TYPE]="",t[i.S.LAST_USED_SUBTITLE]="",t[i.S.SESSION_ID]="",t[i.S.MEDIA_URL]="",t[i.S.MEDIA_TYPE]="unknown",t[i.S.STREAMING_TYPE]="unknown",t[i.S.MS_DURATION]=r.y3,t[i.S.MS_START_POSITION]=r.y3,t[i.S.MS_MANIFEST_LOAD_TIME]=r.y3,t[i.S.MS_ENCRYPTION_LOAD_TIME]=r.y3,t),x=r.y3,U=r.y3,V=r.y3,F=r.y3,B=0,H=0,G={buffering:!1,bufferingType:o.NZ.UNINITIALIZED,bufferingStart:0},W=((n={})[i.S.N_STALLS]=0,n[i.S.MS_BUFFERING_SEEK]=0,n[i.S.MS_BUFFERING_SEEK_LONGEST]=0,n[i.S.MS_BUFFERING_STALL]=0,n[i.S.MS_INITIAL_BUFFERING]=0,n[i.S.MS_BUFFERING_STALL_LONGEST]=0,n);return l=e.reduce((function(e,t){return(0,r.zu)(t)?(x===r.y3&&(x=t.monotonicTimestamp),c=E(t,c),c=_(t,c),c=m(t,c),c=g(t,c),A(t,e)):(0,r.Gc)(t)?(U===r.y3&&(U=t.monotonicTimestamp),I(t,e)):(0,r.Y6)(t)?O(t,e):(0,r.$S)(t)?c=u(t,c):(0,r.hX)(t)?(c=d(t,c),w(t,e)):(0,r.Y5)(t)?c=p(t,c):(0,r.UG)(t)?c=f(t,c):(0,r.sz)(t)?c=h(t,c):(0,r.Es)(t)?(B+=t.data.bytes,H+=t.data.timeMs):(0,r.p0)(t)?C(t,e):(0,r.Xc)(t)?L(t,e):(0,r.ld)(t)?N(t,e):(0,r.WD)(t)?(k(t,e),function(e,t,n){if(t!==r.y3){var o=n[i.S.MS_ENCRYPTION_LOAD_TIME],a=(0,r.Et)(o)&&o!==r.y3?o:0;n[i.S.MS_ENCRYPTION_LOAD_TIME]=a+Math.round(e.monotonicTimestamp-t)}}(t,F,e),F=r.y3):(0,r.RQ)(t)&&U===r.y3?F=t.monotonicTimestamp:(0,r.pI)(t)?(!function(e,t,n){if(t!==r.y3){var o=n[i.S.MS_MANIFEST_LOAD_TIME],a=(0,r.Et)(o)&&o!==r.y3?o:0;n[i.S.MS_MANIFEST_LOAD_TIME]=a+Math.round(e.monotonicTimestamp-t)}}(t,V,e),V=r.y3):(0,r.im)(t)?V=t.monotonicTimestamp:(0,r.d$)(t)?D(t,e):(0,r.v6)(t)&&P(t,e),(0,r.Ko)(c.playing)(t)?c=(0,r.w5)(t,c):(0,r.sF)(c.playing)(t)&&(c=T(t,c)),c=v(t,c),c=y(t,c),c=S(t,c),c=b(t,c),e[i.S.MS_PLAYED]=c.msPlayed,e[i.S.MS_PLAYED_NOMINAL]=c.msNominalPlayed,e[i.S.MS_PLAYED_SUBTITLES]=c.msPlayedSubtitles,e[i.S.MS_PLAYED_FULLSCREEN]=c.msPlayedFullscreen,e[i.S.MS_PLAYED_VIDEO_DISABLED]=c.msPlayedDisabled,e[i.S.MS_PLAYED_PER_SURFACE]=c.msPlayedPerSurface,c=R(t,c),e[i.S.DID_ATTEMPT_TO_PLAY]=c.didAttemptToPlay,W=function(e,t,n){var a=n;return(0,r.F0)(e)&&(e.data.type===o.NZ.STALL&&n[i.S.N_STALLS]++,t.buffering&&(a=s(t,a,e)),t.buffering=!0,t.bufferingType=e.data.type,t.bufferingStart=e.timestamp),((0,r.Gc)(e)||(0,r.v6)(e))&&t.buffering&&(a=s(t,a,e),t.buffering=!1,t.bufferingType=o.NZ.UNINITIALIZED,t.bufferingStart=0),a}(t,G,W),e}),l),l=function(e,t,n){var o=t?e/(t/1e3):0;return n[i.S.KBYTES_DOWNLOADED]=Math.ceil(e/1e3),n[i.S.KBPS_AVERAGE_BANDWIDTH]=Math.ceil(.008*o),n}(B,H,l),l=function(e,t,n){if(e===r.y3||t===r.y3)return n[i.S.MS_START_TIME]=r.y3,n;var o=Math.round(t-e);return o=o>=0?o:r.y3,n[i.S.MS_START_TIME]=o,n}(x,U,l),a(a({},l),W)}},51930:(e,t,n)=>{"use strict";n.d(t,{D:()=>L});var i,o=n(4010),r=n(30131),a=n(65994),s=n(15999),c=n(489),l=n(86639);!function(e){e.END_APPLOAD="appload",e.END_UNKNOWN="unknown",e.END_TRACK_DONE="trackdone",e.END_TRACK_ERROR="trackerror",e.END_PLAY="endplay",e.END_UNEXPECTED_EXIT="unexpected-exit",e.END_UNEXPECTED_EXIT_WHILE_PAUSED="unexpected-exit-while-paused"}(i||(i={}));var u=function(){return u=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},p=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))};function h(e,t){return e.from<t.from?-1:e.from===t.from?e.to>t.to?-1:e.to<t.to?1:0:1}function f(e,t){return 0===t?0:Object.entries(e).reduce((function(e,n){var i=n[0],o=n[1],r=parseFloat(i)*o/t;return Math.round(e+r)}),0)}var m=function(e,t){var n=u({},t);if(n.playing&&void 0!==n.bitrates[n.activeBitrate]){var i=(0,l.T8)(n.playingTimestamp/1e3,e.timestamp/1e3);n.bitrates[n.activeBitrate]+=i,n.totalTimePlayedInKnownBitrate+=i,n.timeWeightedBitrate=f(n.bitrates,n.totalTimePlayedInKnownBitrate)}return n.playing=!1,n.playingTimestamp=0,n},_=function(e,t){var n=u({},t),i=e.timestamp,o=e.data.format.totalBitrate;if(o=null!=o?o:0,n.bitrates[o]||(n.bitrates[o]=0),n.playing&&-1===n.activeBitrate)n.playingTimestamp=i;else if(n.playing&&o!==n.activeBitrate){var r=(0,l.T8)(n.playingTimestamp/1e3,i/1e3);n.bitrates[n.activeBitrate]+=r,n.totalTimePlayedInKnownBitrate+=r,n.playingTimestamp=i,n.timeWeightedBitrate=f(n.bitrates,n.totalTimePlayedInKnownBitrate)}return n.playing||n.bitrates[o]||(n.bitrates[o]=0),n.activeBitrate=o,n},g=function(e,t){return u(u({},t),{playing:!0,playingTimestamp:e.timestamp})},E=function(e,t){if(e.type!==a.Tl.SEEKING)return t;var n=e;return u(u({},t),{playingPosition:n.data.toPosition,playing:!1,playedRanges:p(p([],t.playedRanges,!0),[{from:t.playingPosition,to:n.data.fromPosition}],!1)})},v=function(e,t){if(e.type!==a.Tl.SEEKING)return t;var n=e,i=1e3*(n.data.fromPosition-t.playingPosition),o=Math.round(Math.max(t.maxContinous,i));return u(u({},t),{playing:!1,playingPosition:n.data.toPosition,maxContinous:o})},y=function(e,t){if(e.type!==a.Tl.ENDED)return t;var n=1e3*(e.data.position-t.playingPosition),i=Math.round(Math.max(t.maxContinous,n));return u(u({},t),{playing:!1,playingPosition:0,maxContinous:i})},b=function(e,t){if(e.type!==a.Tl.ENDED)return t;var n,i=e,o=p(p([],t.playedRanges,!0),[{from:t.playingPosition,to:i.data.position}],!1),r=Math.round(1e3*(n=o).sort(h).reduce((function(e,t,i){if(0===e.length)return e.push(t),e;var o=n[i-1];return o.to===t.from||o.to<t.to&&o.to>t.from?(e[i-1]={from:o.from,to:t.to},e):o.to<t.from?(e.push(t),e):e}),[]).reduce((function(e,t){return e+t.to-t.from}),0));return u(u({},t),{playedRanges:o,playing:!1,playingPosition:0,unionPlayed:r})};function S(e){for(var t,n=i.END_UNEXPECTED_EXIT,o=(0,c._T)(),s=0,u=e;s<u.length;s++){var d=u[s];(0,l.Ko)(o.playing)(d)||(0,l.c6)(o.playing)(d)?(o.playing=!0,n=i.END_UNEXPECTED_EXIT):(0,l.sF)(o.playing)(d)&&(o.playing=!1,n=i.END_UNEXPECTED_EXIT_WHILE_PAUSED)}var p=function(e){return e.filter(l.Ig).reduce((function(e,t){var n=t.data;return{startReason:n.playbackRequest.metadata?(0,l.Rf)(n.playbackRequest.metadata):""}}),{startReason:""})}(e);return e.filter(l.v6).reduce((function(e,t){var o,s=t.data;return(o={})[r.P.REASON_END]=p.startReason||function(e,t){switch(e){case a.mT.PLAYED_TO_END:return i.END_TRACK_DONE;case a.mT.REQUESTED:return i.END_PLAY;case a.mT.FATAL_ERROR:return i.END_TRACK_ERROR;case a.mT.SHUTDOWN:return null!=t?t:i.END_UNEXPECTED_EXIT;case a.mT.NETWORK_ERROR:return i.END_TRACK_ERROR;case a.mT.UNEXPECTED_EXIT:return i.END_UNEXPECTED_EXIT;default:return e}}(s.reason,n),o}),((t={})[r.P.REASON_END]="",t))}function T(e,t){var n,i=t;i||(i=(0,c.fi)(e));var o=u(u({},t),((n={})[r.P.MS_PLAYED_BACKGROUND]=0,n[r.P.FULL_SCREEN]=0,n[r.P.PREFETCHED_BYTES]=0,n[r.P.PREFETCHED_BYTES_LOADED]=-1,n[r.P.REFERRER_VENDOR]="com.spotify",n[r.P.SHUFFLE]=!1,n[r.P.LIVE]=!1,n[r.P.SEQUENCE_NUMBER]=-1,n[r.P.SEQUENCE_ID]="",n[r.P.CONNECTION_TYPE_START]="",n[r.P.CONNECTION_TYPE_END]="",n[r.P.STREAMING_RULE]="",n[r.P.INCOGNITO_MODE]=!1,n[r.P.INTERACTION_ID]=void 0,n[r.P.FEATURE_UUID]=void 0,n[r.P.PAGE_INSTANCE_ID]=void 0,n[r.P.MS_PLAYED_VIDEO]=function(e){return e[r.S.MS_PLAYED]-e[r.S.MS_PLAYED_VIDEO_DISABLED]}(i),n[r.P.MS_NOMINAL_PLAYED]=i[r.S.MS_PLAYED_NOMINAL],n[r.P.N_SEEKFWD]=i[r.S.N_SEEKFORWARD],n[r.P.VIDEO_SESSION_ID]=i[r.S.SESSION_ID],n[r.P.MS_TOTAL_EST]=i[r.S.MS_DURATION],n[r.P.MS_MANIFEST_LATENCY]=i[r.S.MS_MANIFEST_LOAD_TIME],n[r.P.START_OFFSET_MS]=i[r.S.MS_START_POSITION],n[r.P.MS_SEEK_REBUFFERING]=i[r.S.MS_BUFFERING_SEEK],n[r.P.MAX_MS_SEEK_REBUFFERING]=i[r.S.MS_BUFFERING_SEEK_LONGEST],n[r.P.MS_STALLED]=i[r.S.MS_BUFFERING_STALL],n[r.P.MAX_MS_STALLED]=i[r.S.MS_BUFFERING_STALL_LONGEST],n[r.P.KEY_SYSTEM]=i[r.S.ENCRYPTION_TYPE],n[r.P.MS_KEY_LATENCY]=i[r.S.MS_ENCRYPTION_LOAD_TIME],n[r.P.MS_LATENCY]=i[r.S.MS_START_TIME],n[r.P.TOTAL_BYTES]=Math.round(1e3*i[r.S.KBYTES_DOWNLOADED]),n));return u(u(u(u(u(u(u(u(u(u(u({},o),function(e){var t;return e.filter(l.d$).reduce((function(e,t){var n,i,o=t.data;return o.fromPosition>o.toPosition?u(u({},e),((n={})[r.P.MS_SEEKBACK]=Math.round(e[r.P.MS_SEEKBACK]+1e3*(o.fromPosition-o.toPosition)),n)):o.fromPosition<=o.toPosition?u(u({},e),((i={})[r.P.MS_SEEKFWD]=Math.round(e[r.P.MS_SEEKFWD]+1e3*(o.toPosition-o.fromPosition)),i)):e}),((t={})[r.P.MS_SEEKBACK]=0,t[r.P.MS_SEEKFWD]=0,t))}(e)),function(e){var t=e.filter(l.zu).reduce((function(e,t){var n=t.data;return(0,l._2)(n.playbackIdentity.metadata||{})}),{}),n=t,i=s.ki,o=n[i],a=d(n,["symbol"==typeof i?i:i+""]),c=u({},a);return void 0!==o&&(c[r.P.SHUFFLE]="true"===o),c}(e)),function(e){for(var t,n,i,o,a,c=0,u=e;c<u.length;c++){var d=u[c];if((0,l.zu)(d)&&(o=null!==(i=(0,l._2)(null!==(n=d.data.playbackIdentity.metadata)&&void 0!==n?n:{})[s.V2])&&void 0!==i?i:void 0),(0,l.Gc)(d)){void 0!==o&&o>0&&(a=Math.round(d.timestamp-o));break}}return null!=a||(a=l.y3),(t={})[r.P.UI_LATENCY]=a,t}(e)),S(e)),function(e){for(var t,n=(0,c._T)(),i=0,o=e;i<o.length;i++){var a=o[i];!0===(0,l.Ko)(n.playing)(a)?n=(0,l.w5)(a,n):!0===(0,l.Ai)(n.playing)(a)?n=E(a,n):!0===(0,l.c6)(n.playing)(a)&&(n=b(a,n))}return(t={})[r.P.UNION_PLAYED]=n.unionPlayed,t}(e)),function(e){for(var t,n=(0,c._T)(),i=0,o=e;i<o.length;i++){var a=o[i];!0===(0,l.Ko)(n.playing)(a)?n=(0,l.w5)(a,n):!0===(0,l.Ai)(n.playing)(a)?n=v(a,n):(0,l.c6)(n.playing)(a)&&(n=y(a,n))}return(t={})[r.P.MAX_CONTINOUS]=n.maxContinous,t}(e)),function(e){for(var t,n={activeBitrate:-1,currentPlayingBitrate:0,playing:!1,playingTimestamp:0,bitrates:{},totalTimePlayedInKnownBitrate:0,timeWeightedBitrate:0},i=0,o=e;i<o.length;i++){var a=o[i];(0,l.Xc)(a)?n=_(a,n):!0===(0,l.Ko)(n.playing)(a)?n=g(a,n):!0===(0,l.sF)(n.playing)(a)&&(n=m(a,n))}return(t={})[r.P.TIME_WEIGHTED_BITRATE]=n.timeWeightedBitrate,t}(e)),function(e){var t;return e.filter(l.zu).reduce((function(e,t){var n,i=t.timestamp;return(n={})[r.P.LOCAL_TIME_MS]=Math.round(i),n}),((t={})[r.P.LOCAL_TIME_MS]=0,t))}(e)),function(e){var t;return e.filter(l.IO).reduce((function(e,t){var n,i=t.data;return(n={})[r.P.AUDIOCODEC]=i.format.audioCodec,n}),((t={})[r.P.AUDIOCODEC]="",t))}(e)),function(e){var t;return e.filter(l.Xc).reduce((function(e,t){var n,i=t.data;return(n={})[r.P.VIDEOCODEC]=i.format.videoCodec,n}),((t={})[r.P.VIDEOCODEC]="",t))}(e))}var A,I=n(45426),O=(A=function(e,t){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},A(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 n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=function(){return C=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},R=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},N=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},P=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},L=function(e){function t(t,n,i){var o=e.call(this)||this;return o.endVideo=t,o.productStateProvider=n,o.logError=i,o.startConnectionType="unknown",o.endConnectionType="unknown",o.streamingRules=o.productStateProvider.streamingRules(),o}return O(t,e),t.prototype.onPlaybackCreated=function(t,n,o){return R(this,void 0,void 0,(function(){var a,c,l,u,d=this;return N(this,(function(p){switch(p.label){case 0:return e.prototype.onPlaybackCreated.call(this,t,n,o),this.incognito=this.productStateProvider.incognito||!1,this.interaction_id=null===(a=t.playbackIdentity.metadata)||void 0===a?void 0:a[r.P.INTERACTION_ID],this.page_instance_id=null===(c=t.playbackIdentity.metadata)||void 0===c?void 0:c[r.P.PAGE_INSTANCE_ID],this.feature_uuid=null===(l=t.playbackIdentity.metadata)||void 0===l?void 0:l[r.P.FEATURE_UUID],this.streamingRules=(null===(u=t.playbackIdentity.metadata)||void 0===u?void 0:u.endvideo_streaming_rule_override)||this.streamingRules,this.startConnectionType=(0,I.Z)(),!(t.playbackIdentity.metadata&&t.playbackIdentity.metadata[s.nU+s.kM]===i.END_APPLOAD)?[4,this.updatePendingEndVideo(t.initialConfiguration.position,n,o)]:[3,2];case 1:p.sent(),p.label=2;case 2:return this.timeObservable=t.timeObservable,this.periodicObserverToken=t.timeObservable.addObserverForPeriodicEvents(15,(function(e){return d.updatePendingEndVideo(e,n,o)})),[2]}}))}))},t.prototype.onReady=function(t,n,i){return R(this,void 0,void 0,(function(){return N(this,(function(o){switch(o.label){case 0:return e.prototype.onReady.call(this,t,n,i),[4,this.updatePendingEndVideo(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onPaused=function(t,n,i){return R(this,void 0,void 0,(function(){return N(this,(function(o){switch(o.label){case 0:return e.prototype.onPaused.call(this,t,n,i),[4,this.updatePendingEndVideo(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onStarted=function(t,n,i){return R(this,void 0,void 0,(function(){return N(this,(function(o){switch(o.label){case 0:return e.prototype.onStarted.call(this,t,n,i),[4,this.updatePendingEndVideo(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onResumed=function(t,n,i){return R(this,void 0,void 0,(function(){return N(this,(function(o){switch(o.label){case 0:return e.prototype.onResumed.call(this,t,n,i),[4,this.updatePendingEndVideo(t.position,n,i)];case 1:return o.sent(),[2]}}))}))},t.prototype.onPlaybackEnded=function(t,n,i){return R(this,void 0,void 0,(function(){return N(this,(function(o){switch(o.label){case 0:return e.prototype.onPlaybackEnded.call(this,t,n,i),this.endConnectionType=(0,I.Z)(),[4,this.createAndUpdateMessage(this.sessionEvents)];case 1:return o.sent(),this.timeObservable&&this.periodicObserverToken&&this.timeObservable.removePeriodicObserver(this.periodicObserverToken),this.sequenceNumber&&this.endVideo.send(this.sequenceNumber),[2]}}))}))},t.prototype.createEndVideo=function(){var e=this;return new Promise((function(t,n){e.endVideo.create((function(i,o,r){i&&(e.sequenceNumber=void 0,e.sequenceId=void 0,n(i)),e.sequenceNumber=o,e.sequenceId=r,t({sequenceNumber:o,sequenceId:r})}))}))},t.prototype.updateEndVideo=function(e){var t=this;return new Promise((function(n,i){t.endVideo.update(t.sequenceNumber,e,(function(o){o&&(t.logError&&t.logError("logEndVideo, failed update:",o),i(o)),n(e)}))}))},t.prototype.endVideoFields=function(){var e;return(e={})[r.P.SEQUENCE_NUMBER]=this.sequenceNumber,e[r.P.SEQUENCE_ID]=this.sequenceId,e[r.P.CONNECTION_TYPE_START]=this.startConnectionType,e[r.P.CONNECTION_TYPE_END]=this.endConnectionType,e[r.P.STREAMING_RULE]=this.streamingRules,e[r.P.INCOGNITO_MODE]=this.incognito,e[r.P.INTERACTION_ID]=this.interaction_id,e[r.P.PAGE_INSTANCE_ID]=this.page_instance_id,e[r.P.FEATURE_UUID]=this.feature_uuid,e},t.prototype.shouldLogEndVideo=function(e,t){return!(!e.did_attempt_to_play&&0===t[r.P.MS_PLAYED])&&!(t[r.P.REASON_START]===i.END_APPLOAD&&t[r.P.MS_PLAYED]<100)},t.prototype.createAndUpdateMessage=function(e){return R(this,void 0,void 0,(function(){var t,n,i;return N(this,(function(o){switch(o.label){case 0:return t=(0,c.fi)(e),n=T(e,t),this.shouldLogEndVideo(t,n)?this.sequenceNumber?[3,2]:[4,this.createEndVideo()]:[2];case 1:o.sent(),o.label=2;case 2:return i=C(C({},n),this.endVideoFields()),[4,this.updateEndVideo(i)];case 3:return o.sent(),[2]}}))}))},t.prototype.updatePendingEndVideo=function(e,t,n){return R(this,void 0,void 0,(function(){var i;return N(this,(function(o){switch(o.label){case 0:return i={timestamp:t,monotonicTimestamp:n,type:a.Tl.ENDED,data:{reason:a.mT.SHUTDOWN,position:e}},[4,this.createAndUpdateMessage(P(P([],this.sessionEvents,!0),[i],!1))];case 1:return o.sent(),[2]}}))}))},t}(o._)},38124:(e,t,n)=>{"use strict";n.d(t,{C:()=>r,TV:()=>a,uJ:()=>s,xJ:()=>c});var i=n(544),o=n(65994);function r(e){switch(e){case"unknown":default:return i.lV.PLAY_REASON_UNKNOWN;case"appload":return i.lV.PLAY_REASON_APP_LOAD;case"backbtn":return i.lV.PLAY_REASON_BACK_BTN;case"clickrow":return i.lV.PLAY_REASON_CLICK_ROW;case"clickside":return i.lV.PLAY_REASON_CLICK_SIDE;case"endplay":return i.lV.PLAY_REASON_END_PLAY;case"fwdbtn":return i.lV.PLAY_REASON_FWD_BTN;case"interupted":return i.lV.PLAY_REASON_INTERRUPTED;case"logout":return i.lV.PLAY_REASON_LOGOUT;case"playbtn":return i.lV.PLAY_REASON_PLAY_BTN;case"popup":return i.lV.PLAY_REASON_POPUP;case"remote":return i.lV.PLAY_REASON_REMOTE;case"songdone":return i.lV.PLAY_REASON_SONG_DONE;case"trackdone":return i.lV.PLAY_REASON_TRACK_DONE;case"trackerror":return i.lV.PLAY_REASON_TRACK_ERROR;case"preview":return i.lV.PLAY_REASON_PREVIEW;case"uriopen":return i.lV.PLAY_REASON_URI_OPEN;case"backgrounded":return i.lV.PLAY_REASON_BACKGROUNDED;case"offline":return i.lV.PLAY_REASON_OFFLINE;case"unexpected-exit":return i.lV.PLAY_REASON_UNEXPECTED_EXIT;case"unexpected-exit-while-paused":return i.lV.PLAY_REASON_UNEXPECTED_EXIT_WHILE_PAUSED}}function a(e){switch(e){case o.mT.FATAL_ERROR:case o.mT.NETWORK_ERROR:return i.lV.PLAY_REASON_TRACK_ERROR;case o.mT.PLAYED_TO_END:return i.lV.PLAY_REASON_TRACK_DONE;case o.mT.REQUESTED:case o.mT.SHUTDOWN:return i.lV.PLAY_REASON_END_PLAY;default:throw new Error("Unexpectedly hit unreachable code! Unhandled discriminated union member: ".concat(JSON.stringify(e)))}}function s(e){switch(e){case"none":case"":return i.vN.STREAMING_RULE_NONE;case"dmca-radio":return i.vN.STREAMING_RULE_DMCA_RADIO;case"preview":return i.vN.STREAMING_RULE_PREVIEW;case"wifi":return i.vN.STREAMING_RULE_WIFI;case"shuffle-mode":return i.vN.STREAMING_RULE_SHUFFLE_MODE;default:throw new Error("Unrecognized StreamingRule ".concat(e))}}function c(e){if(e.length%2!=0)throw new Error("Invalid encoding!");for(var t=e.length/2,n=new Array(t),i=0,o=0;i<t;++i,o+=2){var r=parseInt(e.charAt(o),16),a=parseInt(e.charAt(o+1),16);if(Number.isNaN(r)||Number.isNaN(a))throw new Error("Invalid encoding!");n[i]=r<<4|a}return Uint8Array.from(n)}},90477:(e,t,n)=>{"use strict";n.d(t,{d:()=>g});var i,o=n(544),r=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},a=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},s=function(){function e(e){void 0===e&&(e=!0),this.stopOnError=e,this.store=[],this.pendingPromise=!1,this.paused=!1,this.emptyQueueResolver=function(){}}return e.prototype.push=function(e,t){var n=this;return new Promise((function(i,o){n.store.push({action:e,resolve:i,reject:o,preRunCheck:t}),n.pop()}))},e.prototype.unshift=function(e,t){var n=this;return new Promise((function(i,o){n.store.unshift({action:e,resolve:i,reject:o,preRunCheck:t}),n.pop()}))},e.prototype.pause=function(){this.paused=!0},e.prototype.resume=function(){return r(this,void 0,void 0,(function(){return a(this,(function(e){return this.paused=!1,[2,this.pop()]}))}))},e.prototype.waitForIdle=function(){var e=this;return 0!==this.size()||this.pendingPromise?new Promise((function(t){var n=e.emptyQueueResolver;e.emptyQueueResolver=function(){n(),t()}})):Promise.resolve()},e.prototype.size=function(){return this.store.length},e.prototype.clearPendingQueue=function(){var e=this.size();return this.store=[],e},e.prototype.pop=function(){return r(this,void 0,void 0,(function(){var e,t,n;return a(this,(function(i){switch(i.label){case 0:if(this.paused)return[2,!1];if(this.pendingPromise)return[2,!1];if(!(e=this.store.shift()))return[2,!1];i.label=1;case 1:return i.trys.push([1,4,,5]),e.preRunCheck&&!e.preRunCheck()?[3,3]:(this.pendingPromise=!0,[4,e.action()]);case 2:t=i.sent(),this.pendingPromise=!1,e.resolve(t),i.label=3;case 3:return this.pop(),[3,5];case 4:return n=i.sent(),this.pendingPromise=!1,e.reject(n),this.stopOnError||this.pop(),[3,5];case 5:return 0!==this.size()||this.pendingPromise||this.emptyQueueResolver(),[2,!0]}}))}))},e}(),c=n(38124),l=n(8672),u=n(30131),d=n(65994),p=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(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 n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},f=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},m=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.reason=t,o.responseStatusCode=n,o.responseReason=i,o}return p(t,e),t}(Error),_=function(){function e(e,t,n,i,o){var r=this;this.streamReportingServiceClient=e,this.productStateProvider=t,this.eventSender=n,this.contextCoordinator=i,this.failPlaybackOnError=o,this.PERIODIC_STREAM_REPORTING_INTERVAL_IN_SEC=15,this.SECONDS_TO_MILLISECONDS=1e3,this.currentPositionMs=0,this.playbackSpeed=0,this.paused=!0,this.fullscreen=!1,this.seekInProgress=!1,this.didAttemptToPlay=!1,this.hasStarted=!1,this.isVideoDisabled=!1,this.streamHandleTask=function(e){return h(r,void 0,void 0,(function(){return f(this,(function(t){switch(t.label){case 0:return void 0!==this.streamHandle?[3,2]:[4,Promise.reject("A valid stream handle does not exist")];case 1:t.sent(),t.label=2;case 2:return e.streamHandle=this.streamHandle,[2,e]}}))}))},this.requestQueue=new s}return e.prototype.getHandle=function(){return this.streamHandle},e.prototype.onPlaybackCreated=function(e){var t,n=e.playbackIdentity,i=e.initialConfiguration,o=e.timeObservable,r=e.stopPlayback;if(this.playbackId=null===(t=n.metadata)||void 0===t?void 0:t.playback_id,this.stopPlayback=r,this.playbackSpeed=i.playbackSpeed,this.currentPositionMs=Math.round(i.position*this.SECONDS_TO_MILLISECONDS),this.videoSurface=i.surface,this.isVideoDisabled=i.minimizeBitrate,this.playbackIdentity=n,this.metadata=n.metadata,!this.metadata)throw new Error("Metadata does not exist on PlaybackIdentity");this.timeObservable=o,this.nextPlaybackRequest=void 0,this.didAttemptToPlay=i.playWhenReady,this.hasStarted=!1,this.addPeriodicObserver()},e.prototype.onStarted=function(e,t){var n=e.position;this.paused=!1,this.hasStarted=!0,this.currentPositionMs=Math.round(n*this.SECONDS_TO_MILLISECONDS),this.enqueueStreamStartRequest(t),this.enqueueStreamProgressRequest(t)},e.prototype.onResumed=function(e,t){var n=e.position;this.currentPositionMs=Math.round(n*this.SECONDS_TO_MILLISECONDS),this.paused&&(this.paused=!1,this.enqueueStreamProgressRequest(t))},e.prototype.onPaused=function(e,t){var n=e.position;this.currentPositionMs=Math.round(n*this.SECONDS_TO_MILLISECONDS),this.paused=!0,this.seekInProgress||this.enqueueStreamProgressRequest(t)},e.prototype.onMediaMetadataChanged=function(e){var t=e.streamingType;this.streamingType=t},e.prototype.onSeeking=function(){this.seekInProgress=!0,this.requestQueue.pause()},e.prototype.onSeeked=function(e,t){var n=this,i=e.fromPosition,r=e.toPosition;this.currentPositionMs=Math.round(i*this.SECONDS_TO_MILLISECONDS);var a=o.Sb.fromPartial({fromPosition:BigInt(Math.round(i*this.SECONDS_TO_MILLISECONDS)),toPosition:BigInt(Math.round(r*this.SECONDS_TO_MILLISECONDS)),clientTimestamp:new Date(t)});this.requestQueue.unshift((function(){return n.streamHandleTask(a).then((function(e){return n.streamReportingServiceClient.streamSeek(e)})).then((function(e){return n.handleStatusResponse(e,"StreamSeek")})).catch((function(e){return n.handleFailure(e)}))}),this.streamStartedPreRunCheck()),this.enqueueStreamProgressRequest(t,!0),this.seekInProgress=!1,this.requestQueue.resume()},e.prototype.onEndingPlayback=function(e){var t=e.playbackRequest;this.nextPlaybackRequest=t},e.prototype.onPlaybackEnded=function(e,t){return h(this,arguments,void 0,(function(e,t){var n,i,r,a,s,l,u=this,d=e.reason,p=e.position;return f(this,(function(e){switch(e.label){case 0:return this.removePeriodicObserver(),[4,this.requestQueue.resume()];case 1:return e.sent(),this.currentPositionMs=Math.round(p*this.SECONDS_TO_MILLISECONDS),this.didAttemptToPlay&&!this.hasStarted&&this.enqueueStreamStartRequest(t),this.didAttemptToPlay=!1,this.hasStarted=!1,this.enqueueStreamProgressRequest(t),n=void 0!==(null===(s=null===(a=this.nextPlaybackRequest)||void 0===a?void 0:a.metadata)||void 0===s?void 0:s.endvideo_reason_start)?(0,c.C)(null===(l=this.nextPlaybackRequest.metadata)||void 0===l?void 0:l.endvideo_reason_start):(0,c.TV)(d),i=o.RV.fromPartial({reasonEnd:n,clientTimestamp:new Date(t)}),r=function(){return u.streamHandleTask(i).then((function(e){return u.streamReportingServiceClient.streamEnd(e)})).then((function(e){return e.statusCode===o.su.SUCCESS&&(u.streamHandle=void 0),u.handleStatusResponse(e,"StreamEnd")})).catch((function(e){return u.handleFailure(e)})).finally((function(){u.stopPlayback=void 0;var e=u.requestQueue.clearPendingQueue();if(e>0)throw new Error("Cleared ".concat(e," pending tasks after onPlaybackEnded. Once end is received, no additional updates are expected."))}))},this.requestQueue.push(r,this.streamStartedPreRunCheck()),[2]}}))}))},e.prototype.onFullscreenChanged=function(e,t){var n=e.fullscreen,i=e.position;this.fullscreen=n,this.currentPositionMs=Math.round(i*this.SECONDS_TO_MILLISECONDS),this.enqueueStreamProgressRequest(t)},e.prototype.onSurfaceChanged=function(e,t){var n=e.surface,i=e.position;this.videoSurface!==n&&(this.videoSurface=n,this.currentPositionMs=Math.round(i*this.SECONDS_TO_MILLISECONDS),this.enqueueStreamProgressRequest(t))},e.prototype.onMinimizeBitrateChanged=function(e,t){var n=e.minimizeBitrate,i=e.position;this.isVideoDisabled!==n&&(this.isVideoDisabled=n,this.currentPositionMs=Math.round(i*this.SECONDS_TO_MILLISECONDS),this.enqueueStreamProgressRequest(t))},e.prototype.onPlaybackSpeedChanged=function(e,t){var n=e.position,i=e.speed;this.playbackSpeed=i,this.currentPositionMs=Math.round(n*this.SECONDS_TO_MILLISECONDS),this.enqueueStreamProgressRequest(t)},e.prototype.onResumeRequested=function(){this.didAttemptToPlay=!0},e.prototype.queueWaitForIdle=function(){return this.requestQueue.waitForIdle()},e.prototype.addPeriodicObserver=function(){var e=this;void 0===this.periodicEventsObserverToken&&void 0!==this.timeObservable&&(this.periodicEventsObserverToken=this.timeObservable.addObserverForPeriodicEvents(this.PERIODIC_STREAM_REPORTING_INTERVAL_IN_SEC,(function(t){e.seekInProgress||(e.currentPositionMs=Math.round(t*e.SECONDS_TO_MILLISECONDS),e.enqueueStreamProgressRequest(Date.now()))})))},e.prototype.removePeriodicObserver=function(){void 0!==this.periodicEventsObserverToken&&void 0!==this.timeObservable&&(this.timeObservable.removePeriodicObserver(this.periodicEventsObserverToken),this.periodicEventsObserverToken=void 0)},e.prototype.sendPlaybackError=function(e,t,n){var i,o,r,a,s,u;null===(i=this.eventSender)||void 0===i||i.send((0,l.G)({feature_identifier:null===(r=null===(o=this.playbackIdentity)||void 0===o?void 0:o.metadata)||void 0===r?void 0:r.feature_identifier,media_url:null===(a=this.metadata)||void 0===a?void 0:a.endvideo_play_track,session_id:null===(s=this.playbackIdentity)||void 0===s?void 0:s.sessionId,error_domain:"StreamReportingTracker",error_code:t,error_description:e,error_extra1:JSON.stringify({reason:n,severity:"recoverable"}),desktop_ui:null===(u=this.metadata)||void 0===u?void 0:u.desktop_ui,playback_id:this.playbackId?(0,c.xJ)(this.playbackId):void 0}))},e.prototype.handleStatusResponse=function(e,t){if(e.statusCode!==o.su.SUCCESS)throw new m("Error returned from StreamReportingService.".concat(t),e.statusCode)},e.prototype.handleFailure=function(e){return h(this,void 0,void 0,(function(){var t;return f(this,(function(n){switch(n.label){case 0:return this.requestQueue.clearPendingQueue(),e instanceof m?this.sendPlaybackError(e.reason,e.responseStatusCode,e.responseReason):e instanceof Error?this.sendPlaybackError(e.message):this.sendPlaybackError(e),this.failPlaybackOnError?[4,null===(t=this.stopPlayback)||void 0===t?void 0:t.call(this,d.mT.FATAL_ERROR)]:[3,4];case 1:return n.sent(),this.contextCoordinator&&this.playbackId?(this.contextCoordinator.pausePlayback(this.playbackId),[4,this.contextCoordinator.sendPlaybackState(this.playbackId)]):[3,4];case 2:return n.sent(),[4,this.contextCoordinator.sendContextPlayerError({type:"playback_reporting_error"})];case 3:n.sent(),n.label=4;case 4:return[2]}}))}))},e.prototype.streamStartedPreRunCheck=function(){var e=this;return function(){return!!e.streamHandle}},e.prototype.enqueueStreamStartRequest=function(e){var t,n,i=this;if(!this.playbackIdentity)throw new Error("PlaybackIdentity not found on started event");if(!this.metadata)throw new Error("Metadata not found on started event");var r=o.yK.fromPartial({playbackId:this.playbackId?(0,c.xJ)(this.playbackId):void 0,playbackStack:o.iw.BETAMAX,videoSessionId:this.playbackIdentity.sessionId,playContext:this.metadata.endvideo_play_context,contentUri:this.metadata.endvideo_play_track,provider:this.metadata.endvideo_provider,referrer:this.metadata.endvideo_referrer,streamingRule:(0,c.uJ)(this.productStateProvider.streamingRules()),connectControllerDeviceId:this.metadata.endvideo_gaia_dev_id,pageInstanceId:this.metadata.page_instance_id,interactionId:this.metadata.interaction_id,reasonStart:(0,c.C)(this.metadata.endvideo_reason_start),isShuffle:"true"===this.metadata.endvideo_shuffle,clientOffline:"true"===this.metadata.endvideo_client_offline,mediaId:null===(t=this.metadata)||void 0===t?void 0:t["media.manifest_id"],mediaType:o.zu.VIDEO,playbackStartTime:BigInt(e),startPosition:BigInt(this.currentPositionMs),isLive:"live"===this.streamingType,contentIsDownloaded:"offline"===this.streamingType,featureUuid:null===(n=this.metadata)||void 0===n?void 0:n[u.P.FEATURE_UUID],clientTimestamp:new Date(e),playContextDecisionId:this.metadata.endvideo_play_context_decision_id,decisionId:this.metadata.endvideo_decision_id,isVideoOn:!this.isVideoDisabled,videoSurface:this.videoSurface});return this.requestQueue.push((function(){return i.streamReportingServiceClient.streamStart(r).then((function(e){var t,n;if((null===(t=e.status)||void 0===t?void 0:t.statusCode)!==o.su.SUCCESS)throw new m("Error returned from StreamReportingService.StreamStart",null===(n=e.status)||void 0===n?void 0:n.statusCode);i.streamHandle=e.streamHandle})).catch((function(e){return i.handleFailure(e)}))}),(function(){return!i.streamHandle}))},e.prototype.enqueueStreamProgressRequest=function(e,t){var n=this;void 0===t&&(t=!1);var i=o.pB.fromPartial({currentPosition:BigInt(this.currentPositionMs),isPaused:this.paused,isPlayingVideo:!this.isVideoDisabled,videoSurface:this.videoSurface,isFullscreen:this.fullscreen,playbackSpeed:this.playbackSpeed,playbackState:this.paused?o.di.PAUSED:o.di.ACTIVE,clientTimestamp:new Date(e)}),r=function(){return n.streamHandleTask(i).then((function(e){return n.streamReportingServiceClient.streamProgress(e)})).then((function(e){return n.handleStatusResponse(e,"StreamProgress")})).catch((function(e){return n.handleFailure(e)}))};t?this.requestQueue.unshift(r,this.streamStartedPreRunCheck()):this.requestQueue.push(r,this.streamStartedPreRunCheck())},e}(),g=function(e,t,n,i,r){return function(a){return a.isRoyaltyMedia?new _(new o.FZ(e),t,n,i,r):null}}},30131:(e,t,n)=>{"use strict";var i,o;n.d(t,{P:()=>o,S:()=>i}),function(e){e.SESSION_ID="session_id",e.MEDIA_URL="media_url",e.MS_START_POSITION="ms_start_position",e.MS_DURATION="ms_duration",e.MS_START_TIME="ms_start_time",e.MS_MANIFEST_LOAD_TIME="ms_manifest_load_time",e.MS_ENCRYPTION_LOAD_TIME="ms_encryption_load_time",e.MS_INITIAL_BUFFERING="ms_initial_buffering",e.MS_PLAYED="ms_played",e.MS_PLAYED_NOMINAL="ms_played_nominal",e.MS_PLAYED_SUBTITLES="ms_played_subtitles",e.MS_PLAYED_FULLSCREEN="ms_played_fullscreen",e.MS_PLAYED_PER_SURFACE="ms_played_per_surface",e.MS_PLAYED_VIDEO_DISABLED="ms_played_video_disabled",e.ENCRYPTION_TYPE="encryption_type",e.EXIT_REASON="exit_reason",e.LAST_USED_SUBTITLE="last_used_subtitle",e.N_STALLS="n_stalls",e.MS_BUFFERING_STALL="ms_buffering_stall",e.MS_BUFFERING_STALL_LONGEST="ms_buffering_stall_longest",e.N_SEEKBACK="n_seekback",e.N_SEEKFORWARD="n_seekforward",e.MS_BUFFERING_SEEK="ms_buffering_seek",e.MS_BUFFERING_SEEK_LONGEST="ms_buffering_seek_longest",e.KBPS_AVERAGE_BANDWIDTH="kbps_average_bandwidth",e.KBYTES_DOWNLOADED="kbytes_downloaded",e.N_DROPPED_FRAMES="n_dropped_frames",e.ASPECT_RATIO="aspect_ratio",e.FEATURE_IDENTIFIER="feature_identifier",e.START_BITRATE="start_bitrate",e.MS_PLAYED_BACKGROUND="ms_played_background",e.CONNECTION_TYPE_START="connection_type_start",e.CONNECTION_TYPE_END="connection_type_end",e.N_VIEW_TRANSITIONS="n_view_transitions",e.AVERAGE_DEVICE_ORIENTATION="average_device_orientation",e.KBYTES_PLAYED="kbytes_played",e.IS_ROYALTY_MEDIA="is_royalty_media",e.MEDIA_TYPE="media_type",e.STREAMING_TYPE="streaming_type",e.DESKTOP_UI="desktop_ui",e.DID_ATTEMPT_TO_PLAY="did_attempt_to_play"}(i||(i={})),function(e){e.PLAY_CONTEXT="play_context",e.REFERRER_VENDOR="referrer_vendor",e.PLAYBACK_ID="playback_id",e.MS_TOTAL_EST="ms_total_est",e.AUDIOCODEC="audiocodec",e.N_SEEKFWD="n_seekfwd",e.PREFETCHED_BYTES_LOADED="prefetched_bytes_loaded",e.TOTAL_BYTES="total_bytes",e.FEATURE_IDENTIFIER="feature_identifier",e.VIEW_URI="view_uri",e.START_BITRATE="start_bitrate",e.KEY_SYSTEM="key_system",e.CONNECTION_TYPE_END="connection_type_end",e.VIDEO_SESSION_ID="video_session_id",e.LOCAL_TIME_MS="local_time_ms",e.TIME_WEIGHTED_BITRATE="time_weighted_bitrate",e.MS_LATENCY="ms_latency",e.CONNECTION_TYPE_START="connection_type_start",e.MS_PLAYED_BACKGROUND="ms_played_background",e.FILE_ID="file_id",e.MS_SEEKFWD="ms_seekfwd",e.UI_LATENCY="ui_latency",e.REFERRER_VERSION="referrer_version",e.REASON_START="reason_start",e.N_STALLS="n_stalls",e.VIDEOCODEC="videocodec",e.FEATURE_VERSION="feature_version",e.N_SEEKBACK="n_seekback",e.MAX_MS_SEEK_REBUFFERING="max_ms_seek_rebuffering",e.INCOGNITO_MODE="incognito_mode",e.MAX_MS_STALLED="max_ms_stalled",e.MS_MANIFEST_LATENCY="ms_manifest_latency",e.PROVIDER="provider",e.SEQUENCE_ID="sequence_id",e.PLAY_TRACK="play_track",e.MS_STALLED="ms_stalled",e.LIVE="live",e.START_OFFSET_MS="start_offset_ms",e.MS_SEEK_REBUFFERING="ms_seek_rebuffering",e.GAIA_DEV_ID="gaia_dev_id",e.PREFETCHED_BYTES="prefetched_bytes",e.MS_KEY_LATENCY="ms_key_latency",e.MS_INITIAL_BUFFERING="ms_initial_buffering",e.SEQUENCE_NUMBER="sequence_number",e.REFERRER="referrer",e.MS_SEEKBACK="ms_seekback",e.UNION_PLAYED="union_played",e.STREAMING_RULE="streaming_rule",e.MS_PLAYED="ms_played",e.MS_PLAYED_VIDEO="ms_played_video",e.MS_NOMINAL_PLAYED="ms_nominal_played",e.REASON_END="reason_end",e.MAX_CONTINOUS="max_continous",e.SHUFFLE="shuffle",e.FULL_SCREEN="full_screen",e.PAGE_INSTANCE_ID="page_instance_id",e.INTERACTION_ID="interaction_id",e.FEATURE_UUID="feature_uuid",e.MEDIA_TYPE="media_type",e.DECISION_ID="decision_id",e.PLAY_CONTEXT_DECISION_ID="play_context_decision_id"}(o||(o={}))},86639:(e,t,n)=>{"use strict";n.d(t,{$S:()=>C,Ai:()=>U,Es:()=>L,Et:()=>s,F0:()=>h,Gc:()=>E,IO:()=>y,Ig:()=>m,Ko:()=>x,Oh:()=>D,RQ:()=>k,Rf:()=>M,T8:()=>H,UG:()=>P,WD:()=>S,Xc:()=>b,Y5:()=>R,Y6:()=>w,_2:()=>c,c6:()=>V,d$:()=>O,hX:()=>T,im:()=>I,ld:()=>f,p0:()=>v,pI:()=>A,sF:()=>F,sz:()=>N,v6:()=>p,w5:()=>B,y3:()=>a,zu:()=>g});var i=n(65994),o=n(15999),r=function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},a=-1,s=function(e){return Number.isFinite(e)};function c(e){return Object.entries(e).filter((function(e){return e[0].includes(o.nU)})).reduce((function(e,t){var n,i=t[0],a=t[1];return r(r({},e),((n={})[i.replace(o.nU,"")]=a,n))}),{})}var l=function(e){return function(t){return t.type===e}},u=l(i.Tl.STARTED),d=l(i.Tl.RESUMED),p=l(i.Tl.ENDED),h=l(i.Tl.BUFFERING),f=l(i.Tl.DROPPED_FRAMES),m=l(i.Tl.NEW_SESSION_LOADED),_=l(i.Tl.PAUSED),g=l(i.Tl.CREATED),E=l(i.Tl.READY),v=l(i.Tl.DURATION_CHANGED),y=l(i.Tl.AUDIO_FORMAT_CHANGED),b=l(i.Tl.VIDEO_FORMAT_CHANGED),S=l(i.Tl.ENCRYPTION_KEY_LOADED),T=l(i.Tl.SUBTITLE_CHANGED),A=l(i.Tl.MANIFEST_LOADED),I=l(i.Tl.MANIFEST_LOADING),O=l(i.Tl.SEEKING),C=(l(i.Tl.SEEKED),l(i.Tl.PLAYBACK_SPEED_CHANGED)),R=l(i.Tl.FULLSCREEN_CHANGED),N=l(i.Tl.SURFACE_CHANGED),P=l(i.Tl.MINIMIZE_BITRATE_CHANGED),L=l(i.Tl.BYTES_TRANSFERRED),k=l(i.Tl.ENCRYPTION_KEY_LOADING),w=l(i.Tl.MEDIA_METADATA_CHANGED),D=l(i.Tl.RESUME_REQUESTED),M=function(e){return function(e){var t;return null!==(t=e[o.kM])&&void 0!==t?t:""}(c(e))},x=function(e){return function(t){return(u(t)||d(t))&&!e}},U=function(e){return function(t){return O(t)&&e}},V=function(e){return function(t){return p(t)&&e}},F=function(e){return function(t){return(O(t)||_(t)||p(t))&&e}},B=function(e,t){var n;return u(e)||d(e)?void 0===(null===(n=e.data)||void 0===n?void 0:n.position)?r(r({},t),{playing:!0}):r(r({},t),{playing:!0,playingPosition:e.data.position}):t};function H(e,t){if(!Number.isFinite(e)||!Number.isFinite(t))return 0;var n=t-e;return!Number.isFinite(n)||n<0?0:Math.round(1e3*n)}},45426:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var i=function(){var e;if(navigator.onLine){var t=null===(e=navigator.connection)||void 0===e?void 0:e.effectiveType;return t?"".concat(t,"-like"):"online"}return"none"}},34521:(e,t,n)=>{"use strict";n.d(t,{Ee:()=>f,eN:()=>p,NH:()=>d,dY:()=>h});const i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};var o,r=new Uint8Array(16);function a(){if(!o&&!(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(r)}for(var s=[],c=0;c<256;++c)s.push((c+256).toString(16).slice(1));function l(e,t=0){return(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase()}const u=function(e,t,n){if(i.randomUUID&&!t&&!e)return i.randomUUID();var o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=o[r];return t}return l(o)};var d=function(){return u().replace(new RegExp("-","g"),"")};function p(e,t){var n;return null===(n=null==t?void 0:t.find((function(t){return t.isPlayable(e)})))||void 0===n?void 0:n.getMediaUrl(e)}function h(e){return/^[A-Za-z0-9]*$/.test(e)}var f=function(){}},48055:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var i=function(e){(null===performance||void 0===performance?void 0:performance.mark)&&(null===performance||void 0===performance||performance.mark(e))}},80521:(e,t,n)=>{"use strict";n.d(t,{Vk:()=>i,bk:()=>p});class i{constructor(e,t){this.defaultPrevented=!1,this.immediateStopped=!1,this.stopped=!1,this.type=e,this.data=t}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.stopped=!0}stopImmediatePropagation(){this.immediateStopped=!0}}n(45603);const o="undefined"!=typeof window,r=[];function a(){var e;const t=r.splice(0);if(t.length)for(let n=0,i=t.length;n<i;n++)try{null===(e=t[n])||void 0===e||e.call(t)}finally{}}let s;o&&"function"==typeof window.postMessage?function(){const e=window.location.origin||`${window.location.protocol}//${window.location.hostname}`;if(s=window.postMessage.bind(window,"@execute_deferreds",e),!window.__hasDeferredHandler){"function"==typeof Object.defineProperty?Object.defineProperty(window,"__hasDeferredHandler",{value:!0}):window.__hasDeferredHandler=!0;const t=function(t){t.origin!==e&&"@execute_deferreds"!==t.data||a()};window.addEventListener?window.addEventListener("message",t):window.attachEvent&&window.attachEvent("onmessage",t)}}():s="function"==typeof queueMicrotask?queueMicrotask.bind(null,a):"function"==typeof setImmediate?setImmediate.bind(null,a):setTimeout.bind(null,a,10);let c=e=>{const t=!r.length;r.push(e),t&&s()};function l(e,t,n){for(let i=0,o=e.length;i<o;i++){const o=e[i];if((null==o?void 0:o.listener)===t&&o.options.once===n.once)return i}return-1}function u(e,t,n,i={}){if(!n)return!1;const o=e[t];return!o||!o.length||-1===l(o,n,i)}function d(e,t,n,i={}){if(!t||!n)return;const o=e[t],r={listener:n,options:i};o?o.push(r):e[t]=[r]}o&&("function"==typeof window.__modDefFn?c=window.__modDefFn:"function"==typeof Object.defineProperty?Object.defineProperty(window,"__modDefFn",{value:c}):window.__modDefFn=c);class p{constructor(){this._listeners={},this._metaListeners={add:{},remove:{}}}_dispatchFromStore(e,t){const n=t.type;let i=e[n];if(i){i=i.slice(0);for(const e of i)if(e.listener.call(this,t),e.options.once&&this.removeListener(n,e.listener,e.options),t.immediateStopped)break}}createEvent(e,t){return new i(e,t)}on(e,t,n={}){if(!e)throw new TypeError("Argument `eventType` is required.");if(!t)return this;const o=this._listeners;if(u(o,e,t,n)){const r=this._metaListeners.add,a=r[e];if(a&&a.length){const o=new i(e,{listener:t,options:n});if(this._dispatchFromStore(r,o),o.defaultPrevented)return this}d(o,e,t,n)}return this}addListener(e,t,n={}){return this.on(e,t,n)}addListeners(e){for(const t in e)e.hasOwnProperty(t)&&this.on(t,e[t]);return this}once(e,t){return this.on(e,t,{once:!0})}removeListener(e,t,n={}){if(!e)throw new TypeError("Argument `eventType` is required.");if(!t)return this;const o=this._listeners[e];if(!o)return this;const r=l(o,t,n);if(-1===r)return this;const a=this._metaListeners.remove[e];if(a&&a.length){const o=new i(e,{listener:t,options:n});if(this._dispatchFromStore(this._metaListeners.remove,o),o.defaultPrevented)return this}return o.splice(r,1),this}removeListeners(e){for(const t in e)e.hasOwnProperty(t)&&this.removeListener(t,e[t]);return this}removeAllListeners(e){return e?this._listeners[e]=[]:this._listeners={},this}emit(e,t){if(!e)throw new TypeError("Argument `eventType` is required.");const n=this.createEvent(e,t);return c((()=>this._dispatchFromStore(this._listeners,n))),n}emitSync(e,t){if(!e)throw new TypeError("Argument `eventType` is required.");const n=this.createEvent(e,t);return this._dispatchFromStore(this._listeners,n),n}emitEvent(e){return c((()=>this._dispatchFromStore(this._listeners,e))),e}emitEventSync(e){return this._dispatchFromStore(this._listeners,e),e}emitAndWait(e,t,n){if(!e)throw new TypeError("Argument `eventType` is required.");const i=this.createEvent(e,t);return c((()=>{this._dispatchFromStore(this._listeners,i),n.call(this,i)})),i}emitEventAndWait(e,t){return c((()=>{this._dispatchFromStore(this._listeners,e),t.call(this,e)})),e}proxyEmit(e,t,n){if(!e||"function"!=typeof e.on)throw new TypeError("Proxy source must be an EventEmitter");if(e===this)throw new ReferenceError("Cannot create recursive proxy.");if(!t||!n)throw new TypeError("Parameter sourceType and targetType are required.");const i=e=>{e.stopped||this.emitAndWait(n,e.data,(t=>{t.defaultPrevented&&e.preventDefault()}))};return e.on(t,i),i}proxyEmitSync(e,t,n){if(!e||"function"!=typeof e.on)throw new TypeError("Proxy source must be an EventEmitter");if(e===this)throw new ReferenceError("Cannot create recursive proxy.");if(!t||!n)throw new TypeError("Parameter sourceType and targetType are required.");const i=e=>{if(e.stopped)return;const t=this.createEvent(n,e.data);this.emitEventSync(t),t.defaultPrevented&&e.preventDefault()};return e.on(t,i),i}proxyEmitAll(e,t){for(const n in t)t.hasOwnProperty(n)&&this.proxyEmit(e,n,t[n])}proxyEmitAllSync(e,t){for(const n in t)t.hasOwnProperty(n)&&this.proxyEmitSync(e,n,t[n])}onAddListener(e,t,n={}){const i=this._metaListeners.add;return u(i,e,t,n)&&d(i,e,t,n),this}onRemoveListener(e,t,n={}){const i=this._metaListeners.remove;return u(i,e,t,n)&&d(i,e,t,n),this}}},87783:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSemanticMetricClient=void 0,t.createSemanticMetricClient=function(e){return{name:"SemanticMetricClient",environments:["browser","device"],data:e}}},70710:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSemanticMetricClientNonAuth=void 0,t.createSemanticMetricClientNonAuth=function(e){return{name:"SemanticMetricClientNonAuth",environments:["browsernonauth","devicenonauth"],data:e}}},21046:(e,t)=>{"use strict";t.Y=void 0,t.Y=function(e){return{name:"ConfigurationApplied",environments:["device","browser"],data:e}}},90061:(e,t)=>{"use strict";t.b=void 0,t.b=function(e){return{name:"ConfigurationAppliedNonAuth",environments:["devicenonauth","browsernonauth"],data:e}}},37167:(e,t)=>{"use strict";t.P=void 0,t.P=function(e){return{name:"DefaultConfigurationApplied",environments:["device","browser"],data:e}}},16526:(e,t)=>{"use strict";t.m=void 0,t.m=function(e){return{name:"DefaultConfigurationAppliedNonAuth",environments:["devicenonauth","browsernonauth"],data:e}}},48431:(e,t)=>{"use strict";t.w=void 0,t.w=function(e){return{name:"SptCookieConsentClientNonAuth",environments:["browsernonauth"],data:e}}},23892:(e,t)=>{"use strict";t.I=void 0,t.I=function(e){return{name:"EventSenderStats2NonAuth",environments:["devicenonauth","browsernonauth","desktopnonauth"],data:e}}},39907:(e,t)=>{"use strict";t.R=void 0,t.R=function(e){return{name:"RejectedClientEventNonAuth",environments:["browsernonauth","desktopnonauth","devicenonauth"],data:e}}},17744:(e,t)=>{"use strict";t.I=void 0,t.I=function(e){return{name:"UbiExpr2PageView",environments:["device","browser","desktop"],data:e}}},25848:(e,t)=>{"use strict";t.m=void 0,t.m=function(e){return{name:"UbiProd1Impression",environments:["device","browser","desktop"],data:e}}},6583:(e,t)=>{"use strict";t.J=void 0,t.J=function(e){return{name:"UbiProd1ImpressionNonAuth",environments:["devicenonauth","browsernonauth","desktopnonauth"],data:e}}},47233:(e,t)=>{"use strict";t.l=void 0,t.l=function(e){return{name:"UbiProd1Interaction",environments:["device","browser","desktop"],data:e}}},26272:(e,t)=>{"use strict";t.y=void 0,t.y=function(e){return{name:"UbiProd1InteractionNonAuth",environments:["devicenonauth","browsernonauth","desktopnonauth"],data:e}}},4820:(e,t)=>{"use strict";t.m=void 0,t.m=function(e){return{name:"UbiProd1PageTransitionNonAuth",environments:["devicenonauth","browsernonauth","desktopnonauth"],data:e}}},37574:(e,t)=>{"use strict";t._=void 0,t._=function(e){return{name:"WwwExperiments",environments:["browser"],data:e}}},86205:(e,t)=>{"use strict";t.r=void 0,t.r=function(e){return{name:"WwwExperimentsNonAuth",environments:["browsernonauth"],data:e}}},66210:(e,t,n)=>{"use strict";function i(e){return{name:"AdDSAEvent",environments:["browser","device","desktop"],data:e}}n.d(t,{m:()=>i})},34330:(e,t,n)=>{"use strict";function i(e){return{name:"AdError",environments:["device"],data:e}}n.d(t,{G:()=>i})},64388:(e,t,n)=>{"use strict";function i(e){return{name:"AdEvent",environments:["browser","device","desktop"],data:e}}n.d(t,{A:()=>i})},96705:(e,t,n)=>{"use strict";function i(e){return{name:"AdFeedbackEvent",environments:["device"],data:e}}n.d(t,{F:()=>i})},3894:(e,t,n)=>{"use strict";function i(e){return{name:"AdInStreamUBILinkerEvent",environments:["device"],data:e}}n.d(t,{A:()=>i})},76160:(e,t,n)=>{"use strict";function i(e){return{name:"AdViewContext",environments:["browser","device","desktop"],data:e}}n.d(t,{y:()=>i})},14115:(e,t,n)=>{"use strict";function i(e){return{name:"CastTransfer",environments:["device","browser"],data:e}}n.d(t,{F:()=>i})},51559:(e,t,n)=>{"use strict";function i(e){return{name:"ClickableExtendedCredit",environments:["browser"],data:e}}n.d(t,{L:()=>i})},67209:(e,t,n)=>{"use strict";function i(e){return{name:"ClickableTrackCredit",environments:["browser","device","desktop"],data:e}}n.d(t,{d:()=>i})},63992:(e,t,n)=>{"use strict";function i(e){return{name:"ClickableTrackCreditNonAuth",environments:["browsernonauth","devicenonauth"],data:e}}n.d(t,{_:()=>i})},28490:(e,t,n)=>{"use strict";function i(e){return{name:"ClientVerificationCompleted",environments:["browser","desktop"],data:e}}n.d(t,{Y:()=>i})},56413:(e,t,n)=>{"use strict";function i(e){return{name:"ClientVerificationPresented",environments:["browser","desktop"],data:e}}n.d(t,{n:()=>i})},20959:(e,t,n)=>{"use strict";function i(e){return{name:"ClientVerificationRequestFailed",environments:["browser","desktop"],data:e}}n.d(t,{D:()=>i})},45172:(e,t,n)=>{"use strict";function i(e){return{name:"ClientWebLoad",environments:["browser","desktop"],data:e}}n.d(t,{u:()=>i})},24969:(e,t,n)=>{"use strict";function i(e){return{name:"ConnectDevicePickerClosed",environments:["device","desktop","browser"],data:e}}n.d(t,{f:()=>i})},6193:(e,t,n)=>{"use strict";function i(e){return{name:"DeeplinkOpen",environments:["browser","device"],data:e}}n.d(t,{N:()=>i})},47728:(e,t,n)=>{"use strict";function i(e){return{name:"DeeplinkOpenNonAuth",environments:["browsernonauth","devicenonauth"],data:e}}n.d(t,{W:()=>i})},98971:(e,t,n)=>{"use strict";function i(e){return{name:"KmInteraction",environments:["browser"],data:e}}n.d(t,{x:()=>i})},48746:(e,t,n)=>{"use strict";function i(e){return{name:"KmInteractionNonAuth",environments:["browsernonauth"],data:e}}n.d(t,{o:()=>i})},48253:(e,t,n)=>{"use strict";function i(e){return{name:"KmPageView",environments:["browser"],data:e}}n.d(t,{x:()=>i})},62988:(e,t,n)=>{"use strict";function i(e){return{name:"KmPageViewNonAuth",environments:["browsernonauth"],data:e}}n.d(t,{s:()=>i})},55773:(e,t,n)=>{"use strict";function i(e){return{name:"LeavebehindAdEvent",environments:["browser","device","desktop"],data:e}}n.d(t,{x:()=>i})},15212:(e,t,n)=>{"use strict";function i(e){return{name:"MinimumLyricsCharactersSeen",environments:["device","desktop","browser"],data:e}}n.d(t,{W:()=>i})},58009:(e,t,n)=>{"use strict";function i(e){return{name:"PuffinFiltersUsage",environments:["device","desktop"],data:e}}n.d(t,{v:()=>i})},12419:(e,t,n)=>{"use strict";function i(e){return{name:"PuffinHeadphonesOptimized",environments:["device"],data:e}}n.d(t,{d:()=>i})},75301:(e,t,n)=>{"use strict";function i(e){return{name:"ScrollTrackCredits",environments:["browser","desktop","device"],data:e}}n.d(t,{h:()=>i})},31652:(e,t,n)=>{"use strict";function i(e){return{name:"ScrollTrackCreditsNonAuth",environments:["browsernonauth","devicenonauth"],data:e}}n.d(t,{s:()=>i})},85808:(e,t,n)=>{"use strict";function i(e){return{name:"Share",environments:["browser","device"],data:e}}n.d(t,{c:()=>i})},23771:(e,t,n)=>{"use strict";function i(e){return{name:"SocialConnectSessionJoinResult",environments:["device"],data:e}}n.d(t,{X:()=>i})},72224:(e,t,n)=>{"use strict";function i(e){return{name:"SocialListeningClientSessionCreated",environments:["device"],data:e}}n.d(t,{q:()=>i})},23816:(e,t,n)=>{"use strict";function i(e){return{name:"SocialListeningClientSessionEnded",environments:["device"],data:e}}n.d(t,{c:()=>i})},66790:(e,t,n)=>{"use strict";function i(e){return{name:"WindowSize",environments:["desktop","browser"],data:e}}n.d(t,{_:()=>i})},50586:(e,t,n)=>{"use strict";function i(e){return{name:"WwwAnalytics",environments:["browser"],data:e}}n.d(t,{Q:()=>i})},24209:(e,t,n)=>{"use strict";function i(e){return{name:"WwwAnalyticsNonAuth",environments:["browsernonauth"],data:e}}n.d(t,{Z:()=>i})},20842:(e,t,n)=>{"use strict";function i(e){return{name:"WwwExperiments",environments:["browser"],data:e}}n.d(t,{_:()=>i})},40353:(e,t,n)=>{"use strict";function i(e){return{name:"WwwExperimentsNonAuth",environments:["browsernonauth"],data:e}}n.d(t,{r:()=>i})},60269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToBase64=void 0;var i=n(72714);t.hexToBase64=function(e){if(!e||e.length%2!=0)throw new TypeError("Invalid hexString value.");var t=e.split("").reduce((function(e,t,n){return n%2==0?(e.push(t),e):(e[e.length-1]=""+e[e.length-1]+t,e)}),[]),n=String.fromCharCode.apply(null,t.map((function(e){var t=parseInt(e,16);if(isNaN(t))throw new TypeError("Invalid hexString value.");return t})));return i.Base64.encode(n)}},93284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApplicationContext=void 0,t.createApplicationContext=function(e){return function(){return{name:"context_application",data:e}}}},24694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createApplicationDesktopContext=void 0,t.createApplicationDesktopContext=function(e){return function(){return{name:"context_application_desktop",data:e}}}},67785:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCacheIdContext=void 0;var i=n(60269);t.createCacheIdContext=function(e){var t=i.hexToBase64(e);return function(){return{name:"context_cache_id",data:{value:t}}}}},35294:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClientIdContext=void 0;var i=n(60269);t.createClientIdContext=function(e){var t=i.hexToBase64(e);return function(){return{name:"context_client_id",data:{value:t}}}}},23554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClientIpContext=void 0,t.createClientIpContext=function(e){return function(){return{name:"context_client_ip",data:{value:e}}}}},56271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCorrelationIdContext=void 0,t.createCorrelationIdContext=function(e){return function(){return{name:"context_correlation_id",data:{value:e}}}}},26926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeviceContext=void 0,t.createDeviceContext=function(e){return function(){return{name:"context_device",data:e}}}},26408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeviceDesktopContext=void 0,t.createDeviceDesktopContext=function(e){return function(){return{name:"context_device_desktop",data:e}}}},97886:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(83422);i.__exportStar(n(93284),t),i.__exportStar(n(24694),t),i.__exportStar(n(67785),t),i.__exportStar(n(35294),t),i.__exportStar(n(23554),t),i.__exportStar(n(56271),t),i.__exportStar(n(26926),t),i.__exportStar(n(26408),t),i.__exportStar(n(20677),t),i.__exportStar(n(32162),t),i.__exportStar(n(83078),t)},20677:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInstallationIdContext=void 0;var i=n(60269);t.createInstallationIdContext=function(e){var t=i.hexToBase64(e);return function(){return{name:"context_installation_id",data:{value:t}}}}},32162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOsContext=void 0,t.createOsContext=function(e){return function(){return{name:"context_os",data:e}}}},83078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUserAgentContext=void 0,t.createUserAgentContext=function(e){if(!e&&"undefined"==typeof navigator)throw new Error("userAgent is not provided and navigator.UserAgent is not available");return function(){return{name:"context_user_agent",data:{value:e||navigator.userAgent}}}}},83087:(e,t,n)=>{"use strict";var i;n.r(t),n.d(t,{Environment:()=>i,EventSenderEvent:()=>o,createEventSender:()=>I}),function(e){e.BACKEND="BACKEND",e.BROWSER="BROWSER",e.BROWSER_NON_AUTH="BROWSER_NON_AUTH",e.DESKTOP="DESKTOP",e.DESKTOP_NON_AUTH="DESKTOP_NON_AUTH",e.DEVICE="DEVICE",e.DEVICE_NON_AUTH="DEVICE_NON_AUTH"}(i||(i={}));var o,r=n(83422),a=n(74987),s=n(71774),c=n(80521);!function(e){e.UPLOAD_SUCCEEDED="upload_succeeded",e.UPLOAD_FAILED="upload_failed",e.UPLOAD_REQUEST_FAILED="upload_request_failed"}(o||(o={}));const l=s.m.forTag("Uploader");function u(e,t){const{event_name:n,fragments:i}=e,{message:o}=i;return{reason:t,contexts:(0,r.__rest)(i,["message"]),event_data:{name:n,data:o}}}class d extends c.bk{constructor(e){var t;super(),this._suppressPersist=!1,this._backoff=!1,this._authorize=null===(t=e.authorize)||void 0===t||t,this._transport=e.transport,this._suppressPersist=!!e.suppressPersist,this._endpoint=this._authorize?"":""}_uploadBatch(e,t=!1){const n=this._transport,i=t&&this._authorize?n.appendLastTokenQuery(this._endpoint):this._endpoint;return this._transport.request(i,{method:a.Method.POST,metadata:{eventSenderEventNames:e.map((e=>e.event_name))},headers:{"content-type":"application/json"},responseType:"json",parseResponseHeaders:!0,payload:JSON.stringify({suppress_persist:this._suppressPersist,events:e}),forget:t,authorize:!t&&this._authorize}).then(this._parseUploadResponse.bind(this,e,t))}_parseUploadResponse(e,t,n){if(t)return Promise.resolve([]);const{body:i,headers:r,status:a}=n,s=this._authorize;if(200!==a||!i)return l.warn("Upload request failed",n),this.emit(o.UPLOAD_REQUEST_FAILED,{authorize:s,status:a}),this._backoff=!0,Promise.resolve(e);const c=[],d=[],p=[];if(i.error&&i.error.length){l.info("response errors",e,i.error);for(let t=0,n=i.error.length;t<n;t++){const{transient:n,index:o,reason:r}=i.error[t],a=u(e[o],r);n?(c.push(e[o]),d.push(a)):p.push(a)}}this._backoff=!("true"!==(null==r?void 0:r.get("backoff")));const h=d.length+p.length,f=e.length-h;return h>0&&this.emit(o.UPLOAD_FAILED,{authorize:s,rejected:p,will_retry:d}),f>0&&this.emit(o.UPLOAD_SUCCEEDED,{authorize:this._authorize,num_events:f}),Promise.resolve(c)}upload(e,t=[]){let n=t;if(!e.length)return Promise.resolve({nack:n,backoff:this._backoff});const i=[...e];return this._uploadBatch(i.splice(0,20)).then((e=>{if(n=[...n,...e],this._backoff)n=[...n,...i];else if(i.length)return this.upload(i,n);return{nack:n,backoff:this._backoff}}))}lastUpload(e){return e.length?this._uploadBatch(e.splice(0,100),!0).then((e=>0===e.length),(()=>!1)):Promise.resolve(!0)}shouldBackoff(){return this._backoff}}function p(e){return new d(e)}var h,f=n(12650),m=n(39907);!function(e){e.INVALID_PAYLOAD="INVALID_PAYLOAD",e.INVALID_NAME="INVALID_NAME",e.UNKNOWN_OWNER="UNKNOWN_OWNER",e.PAYLOAD_SIZE_LIMIT_EXCEEDED="PAYLOAD_SIZE_LIMIT_EXCEEDED"}(h||(h={}));const _="4.0.3";var g=n(23892);class E{static pushToArrIfMissing(e,t){-1===e.indexOf(t)&&e.push(t)}static isMissingFromArray(e,t){return-1===e.indexOf(t)}}class v{_addEventsToEventSenderStatsData(e,t){Object.keys(t).map((n=>{for(let i=0;i<t[n].length;i++){const o=t[n][i];o.sequence_number<e[o.sequence_id][o.event_name].sequence_number_min&&(e[o.sequence_id][o.event_name].sequence_number_min=o.sequence_number),e[o.sequence_id][o.event_name].storage_size++}}))}_initializeESSEventData(e,t,n){Object.keys(e).includes(n)||(e[n]={});for(const[i,o]of Object.entries(t))e[n][i]={sequence_number_min:o+1,sequence_number_next:o+1,storage_size:0}}_formatESS2UnauthEventData(e){const t={sequence_ids:[],event_names:[],loss_stats_num_entries_per_sequence_id:[],loss_stats_event_name_index:[],loss_stats_storage_sizes:[],loss_stats_sequence_number_mins:[],loss_stats_sequence_number_nexts:[]};return Object.entries(e).map((([e,n])=>{if(E.isMissingFromArray(t.sequence_ids,e))t.sequence_ids.push(e),t.loss_stats_num_entries_per_sequence_id.push(Object.keys(n).length);else{const i=t.sequence_ids.indexOf(e);t.loss_stats_num_entries_per_sequence_id[i]+=Object.keys(n).length}Object.entries(n).map((([e,n])=>{E.pushToArrIfMissing(t.event_names,e);const i=t.event_names.indexOf(e);t.loss_stats_event_name_index.push(i);const o=Object.keys(n);for(let e=0;e<o.length;e++){const i=`loss_stats_${o[e]}s`;t[i].push(n[o[e]])}}))})),t}createESSEvent(e,t,n){const i={};this._initializeESSEventData(i,t,n),this._addEventsToEventSenderStatsData(i,e);return(0,g.I)(this._formatESS2UnauthEventData(i))}}var y=n(72714);const b={generateBase64:function(e){return y.Base64.encode(function(e){let t="";for(let n=0;n<e;n++)t+=String.fromCharCode(256*Math.random()|0);return t}(e))}};class S{constructor(){this._sequenceId=b.generateBase64(16),this._sequenceNumbers={}}static create(){return new S}getSequenceId(){return this._sequenceId}nextSequenceNumber(e){return this._sequenceNumbers[e]||(this._sequenceNumbers[e]=0),++this._sequenceNumbers[e]}getAllSequenceNumberCounters(){return this._sequenceNumbers}}const T={baseTime:200,ceiling:3e5,maxDuration:18e5};class A extends c.bk{constructor(e){var t;super(),this._sequenceIdGenerator=S.create(),this._statsSender=new v,this._instanceContexts={},this._sdkVersion=`${_}${null!==(t=e._experimentSuffix)&&void 0!==t?t:""}`,this._transport=e.transport,this._ownerProvider=e.ownerProvider,this._events={authorized:[],unauthorized:[]},this._uploaders=e.uploaders,this._ongoingUploads={authorized:!1,unauthorized:!1},this._uploadWaiting={authorized:!1,unauthorized:!1},this._backoffTimeSettings=Object.assign(Object.assign({},T),e.backoffTimeOverrides),this.upload=this.upload.bind(this),this._essLastSent=null;"undefined"!=typeof window&&"function"==typeof window.addEventListener&&!e.disableBeforeUnloadListener&&window.addEventListener("beforeunload",this.onBeforeDisconnect.bind(this)),this.initializeContexts(e.context);const n={[o.UPLOAD_SUCCEEDED]:o.UPLOAD_SUCCEEDED,[o.UPLOAD_FAILED]:o.UPLOAD_FAILED,[o.UPLOAD_REQUEST_FAILED]:o.UPLOAD_REQUEST_FAILED};this.proxyEmitAll(this._uploaders.authorized,n),this.proxyEmitAll(this._uploaders.unauthorized,n)}onBeforeDisconnect(){this.uploadFlush()}uploadFlush(){return Promise.all([this._uploaders.authorized.lastUpload(this._events.authorized.splice(0)),this._uploaders.unauthorized.lastUpload(this._events.unauthorized.splice(0))]).then((([e,t])=>e&&t)).catch((()=>!1))}initializeContexts(e){if(!(null==e?void 0:e.length))return;const t=this._instanceContexts;for(const n of e){const e=n();(null==e?void 0:e.name)&&(t[e.name]=e.data)}}initFlush(e){const t=this._uploaders[e].shouldBackoff(),{ceiling:n,maxDuration:i,baseTime:o}=this._backoffTimeSettings;return f.n.init((()=>this.upload(e)),{curve:"exponential",backoffInitial:t,retryPredicate:()=>this._transport.isOnline(),ceiling:n,baseTime:t?n:o,maxDuration:i})}waitForConnection(){return new Promise((e=>{this._transport.once(a.TransportEvent.CONNECTION_ONLINE,(()=>e()))}))}upload(e){return this._uploaders[e].upload(this._events[e].splice(0)).then((t=>{if(t.nack.length)throw this._events[e]=t.nack.concat(this._events[e]),new Error("Backoff requested");return t}))}sendToGabito(e){const t=e?"authorized":"unauthorized";this._transport.isOnline()||this._ongoingUploads[t]||(this._ongoingUploads[t]=this.waitForConnection());const n=this._ongoingUploads[t];if(n)return this._uploadWaiting[t]||(this._uploadWaiting[t]=!0,this._ongoingUploads[t]=n.then((()=>(this._ongoingUploads[t]=!1,this._uploadWaiting[t]=!1,this.sendToGabito(e))))),this._ongoingUploads[t];if(!this._events[t].length)return Promise.resolve({nack:this._events[t],backoff:this._uploaders[t].shouldBackoff()});if(!this._essLastSent||Date.now()-this._essLastSent.getTime()>3e5){const e=[this.makeEvent(this._statsSender.createESSEvent(this._events,this._sequenceIdGenerator.getAllSequenceNumberCounters(),this._sequenceIdGenerator.getSequenceId()))];this._uploaders.unauthorized.upload(e).finally((()=>{this._essLastSent=new Date}))}const i=this.initFlush(t).then((e=>(this._ongoingUploads[t]=!1,e))).catch((()=>(this._ongoingUploads[t]=!1,this._transport.isOnline()?(A.consoleLogger.warn(`The events in the queue could not be uploaded. Throwing away ${this._events[t].length} ${t} events.`),this._events[t]=[],{nack:this._events[t],backoff:this._uploaders[t].shouldBackoff()}):this.sendToGabito(e))));return this._ongoingUploads[t]=i,i}storeEvent(e,t){return;const n=this.makeEvent(t);this._events[e?"authorized":"unauthorized"].push(n)}makeEvent(e){const t=this._sequenceIdGenerator;return{sequence_id:t.getSequenceId(),sequence_number:t.nextSequenceNumber(e.name),event_name:e.name,fragments:Object.assign(Object.assign({context_sdk:{version_name:this._sdkVersion,type:"javascript"},context_time:{timestamp:Date.now()}},this._instanceContexts),{message:e.data})}}validateEventData(e,t,n){return e.name?function(e){let t=e.length,n=t;for(;n--;){const i=e.charCodeAt(n);i>127&&i<=2047?t++:i>2047&&i<=65535&&(t+=2),i>=56320&&i<=57343&&n--}return t}(JSON.stringify(e.data))>5e3?h.PAYLOAD_SIZE_LIMIT_EXCEEDED:t&&n&&!n()?h.UNKNOWN_OWNER:null:h.INVALID_NAME}checkIsEventAuthorized(e){return!e.endsWith("NonAuth")}flush(e=!0){return this.sendToGabito(e).then((()=>{})).catch((()=>{}))}flushAll(){return Promise.all([this.sendToGabito(!0),this.sendToGabito(!1)]).then((()=>{})).catch((()=>{}))}finalFlush(){return this.uploadFlush()}log(e,t={}){this.send(e,t)}send(e,{flush:t=!0}={}){const n=this.checkIsEventAuthorized(e.name);let i=this.validateEventData(e,n,this._ownerProvider);if(i===h.UNKNOWN_OWNER&&(A.consoleLogger.warn(`Trying to send an authenticated event without a current owner: ${e.name}`),i=null),i){const t=(0,m.R)({event_name:e.name,reject_reason:i});return this.storeEvent(!1,t),Promise.reject(new TypeError(`The event is invalid and has been rejected for reason: ${i}`))}return this.storeEvent(n,e),t?this.flush(n):Promise.resolve()}hasContext(...e){return e.every((e=>!!this._instanceContexts[e]))}}function I(e){const t={suppressPersist:e.suppressPersist,transport:e.transport};return new A(Object.assign(Object.assign({},e),{uploaders:{authorized:p(t),unauthorized:p(Object.assign(Object.assign({},t),{authorize:!1}))}}))}A.consoleLogger=s.m.forTag("EventSender")},55462:(e,t,n)=>{"use strict";function i(e){return()=>({name:"context_application",data:e})}function o(e){return()=>({name:"context_application_desktop",data:e})}n.d(t,{Ow:()=>i,QI:()=>o,ks:()=>s,p4:()=>c,es:()=>l,xB:()=>u,ws:()=>d});var r=n(21913);function a(e){if(!e||e.length%2!=0)throw new TypeError("Invalid hexString value.");const t=e.split("").reduce(((e,t,n)=>n%2==0?(e.push(t),e):(e[e.length-1]=`${e[e.length-1]}${t}`,e)),[]),n=String.fromCharCode.apply(null,t.map((e=>{const t=parseInt(e,16);if(isNaN(t))throw new TypeError("Invalid hexString value.");return t})));return(0,r.encode)(n)}function s(e){const t=a(e);return()=>({name:"context_client_id",data:{value:t}})}function c(e){return()=>({name:"context_correlation_id",data:{value:e}})}function l(e){return()=>({name:"context_device_desktop",data:e})}function u(e){const t=a(e);return()=>({name:"context_installation_id",data:{value:t}})}function d(e){if(!e&&"undefined"==typeof navigator)throw new Error("userAgent is not provided and navigator.UserAgent is not available");return()=>({name:"context_user_agent",data:{value:e||navigator.userAgent}})}},43433:(e,t,n)=>{"use strict";n.d(t,{ky:()=>r,aN:()=>b,ty:()=>O,QI:()=>o.QI,ks:()=>o.ks,es:()=>o.es,kE:()=>oe,xB:()=>o.xB});var i,o=n(55462);!function(e){e.BACKEND="BACKEND",e.BROWSER="BROWSER",e.BROWSER_NON_AUTH="BROWSER_NON_AUTH",e.DESKTOP="DESKTOP",e.DESKTOP_NON_AUTH="DESKTOP_NON_AUTH",e.DEVICE="DEVICE",e.DEVICE_NON_AUTH="DEVICE_NON_AUTH"}(i||(i={}));var r,a=n(83422),s=n(74987),c=n(71774),l=n(80521);!function(e){e.UPLOAD_SUCCEEDED="upload_succeeded",e.UPLOAD_FAILED="upload_failed",e.UPLOAD_REQUEST_FAILED="upload_request_failed"}(r||(r={}));const u=c.m.forTag("Uploader");class d extends l.bk{constructor(e){var t;super(),this._suppressPersist=!1,this._backoff=!1,this._authorize=null===(t=e.authorize)||void 0===t||t,this._transport=e.transport,this._suppressPersist=!!e.suppressPersist,this._endpoint=this._authorize?"":""}_uploadBatch(e,t=!1){const n=this._transport,{events:i}=e,o=t&&this._authorize?n.appendLastTokenQuery(this._endpoint):this._endpoint;return this._transport.request(o,{method:s.Method.POST,metadata:{eventSenderEventNames:i.map((e=>e.event_name))},headers:{"content-type":"application/json"},responseType:"json",parseResponseHeaders:!0,payload:JSON.stringify({suppress_persist:this._suppressPersist,events:i}),forget:t,authorize:!t&&this._authorize}).then(this._parseUploadResponse.bind(this,e,t))}_parseUploadResponse(e,t,n){if(t)return Promise.resolve([]);const{events:i,keys:o}=e;if(!o.length)return Promise.resolve([]);const{body:s,headers:c,status:l}=n,d=this._authorize;if(200!==l||!s)return u.warn("Upload request failed",n),this.emit(r.UPLOAD_REQUEST_FAILED,{authorize:d,status:l}),this._backoff=!0,Promise.reject(o);const p=[],h=[],f=[],m=[],_=[],g=s.errors;g&&g.length&&(u.info("response errors",o,g),g.forEach((e=>{const{transient:t,index:n,reason:r}=e,s=o[n],c=function(e,t){const{event_name:n,fragments:i}=e,{message:o}=i;return{reason:t,contexts:(0,a.__rest)(i,["message"]),event_data:{name:n,data:o}}}(i[n],r);p.push(s),t?(f.push(s),m.push(c)):(h.push(s),_.push(c))})));const E=o.filter((e=>!p.includes(e)));this._backoff=!("true"!==(null==c?void 0:c.get("Spotify-Back-Off")));const v=h.length+f.length,y=E.length;v>0&&this.emit(r.UPLOAD_FAILED,{authorize:d,rejected:_,will_retry:m}),y>0&&this.emit(r.UPLOAD_SUCCEEDED,{authorize:this._authorize,num_events:y});const b=[...E,...h];return Promise.resolve(b)}upload(e){const{events:t}=e;return t.length?this._uploadBatch(e):Promise.resolve([])}lastUpload(e){const{events:t}=e;return t.length?this._uploadBatch(e,!0).then((()=>[])):Promise.resolve([])}shouldBackoff(){return this._backoff}}function p(e){return new d(e)}var h,f,m,_,g=n(39907),E=n(12650);!function(e){e.JS_SDK_MULTI_ENV_TEST="JSSDKMultiEnvTest",e.JS_SDK_MULTI_ENV_TEST_NON_AUTH="JSSDKMultiEnvTestNonAuth"}(h||(h={})),function(e){e.AUTHORIZED="authorized",e.UNAUTHORIZED="unauthorized"}(f||(f={})),function(e){e.AUTH="Auth",e.NON_AUTH="NonAuth"}(m||(m={})),function(e){e.INVALID_PAYLOAD="INVALID_PAYLOAD",e.INVALID_NAME="INVALID_NAME",e.UNKNOWN_OWNER="UNKNOWN_OWNER",e.PAYLOAD_SIZE_LIMIT_EXCEEDED="PAYLOAD_SIZE_LIMIT_EXCEEDED"}(_||(_={}));const v="5.0.2";function y(e){let t=e.length,n=t;for(;n--;){const i=e.charCodeAt(n);i>127&&i<=2047?t++:i>2047&&i<=65535&&(t+=2),i>=56320&&i<=57343&&n--}return t}var b;!function(e){e.IMMEDIATE="flush_strategy_kind_immediate",e.SCHEDULED="flush_strategy_kind_scheduled"}(b||(b={}));var S=n(21913);class T{static pushToArrIfMissing(e,t){-1===e.indexOf(t)&&e.push(t)}static isMissingFromArray(e,t){return-1===e.indexOf(t)}}class A{constructor(e){this.installationId=e}getIdHash(e){const t=(e=>{let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return String(t)})(e);return(0,S.encode)(t)}getId(e,t){const n=t?`${this.installationId}-${t}-${e}`:`${this.installationId}-${e}`;return this.getIdHash(n)}}class I{setItem(e,t){try{return window.localStorage.setItem(e,t),!0}catch(e){return!1}}getItem(e){return window.localStorage.getItem(e)}removeItem(e){window.localStorage.removeItem(e)}clear(){window.localStorage.clear()}getKeys(){return Object.keys(window.localStorage)}}class O{constructor(){this.items=new Map([])}setItem(e,t){try{return this.items.set(e,t),!0}catch(e){return!1}}getItem(e){const t=this.items.get(e);return null!=t?t:null}removeItem(e){this.items.delete(e)}clear(){this.items.clear()}getKeys(){return Array.from(this.items.keys())}}var C;n(28360);function R(e=1){let t;try{t=window.localStorage;const n="__storage_test__",i="x".repeat(e);return t.setItem(n,i),t.removeItem(n),C.OK}catch(e){return function(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)}(e)&&t&&0!==t.length?C.LOW_STORAGE_SPACE:C.NOT_SUPPORTED}}!function(e){e.OK="OK",e.NOT_SUPPORTED="NOT_SUPPORTED",e.LOW_STORAGE_SPACE="LOW_STORAGE_SPACE"}(C||(C={}));const N=4*[["PLAYGROUND_APP|ES|STORAGE_ID","c8f10253-7492-4747-b7f2-37acea03f75d"],["PLAYGROUND_APP|ES|INSTALLATION_ID","1a2dfa7a-7dd4-436b-9f98-fe31d4911f10"]].flat(1).map(y).reduce(((e,t)=>e+t)),P="|";var L,k,w,D;function M(e){return e.split(P)}function x(e,t){return M(e)[t]}function U(...e){return e.join(P)}!function(e){e.EVENTS="EVENT",e.SEQ_NUM="SEQ_NUM",e.GLOBAL_SEQ_NUM="GLOBAL_SEQ_NUM",e.DROPPED_EVENT="DROPPED_EVENT"}(L||(L={})),function(e){e[e.ITEM_GROUP_ID=0]="ITEM_GROUP_ID",e[e.GLOBAL_SEQ_NUM=1]="GLOBAL_SEQ_NUM",e[e.SEQ_ID=2]="SEQ_ID",e[e.EVENT_NAME=3]="EVENT_NAME",e[e.EVENT_SEQ_NUM=4]="EVENT_SEQ_NUM"}(k||(k={})),function(e){e[e.ITEM_GROUP_ID=0]="ITEM_GROUP_ID",e[e.SEQ_ID=1]="SEQ_ID",e[e.EVENT_NAME=2]="EVENT_NAME"}(w||(w={})),function(e){e[e.ITEM_GROUP_ID=0]="ITEM_GROUP_ID",e[e.SEQ_ID=1]="SEQ_ID",e[e.EVENT_NAME=2]="EVENT_NAME"}(D||(D={}));const V="STORAGE_ID",F="INSTALLATION_ID";function B(e){let t=0;for(const n of e)localStorage.hasOwnProperty(n)&&(t+=2*(localStorage[n].length+n.length));return t}var H;!function(e){e.CUSTOM_STORAGE="CS",e.IN_MEMORY_STORAGE="IMS",e.LOCAL_STORAGE="LS"}(H||(H={}));class G{constructor(e){this.currentTotalSizeForEvents=0,this.currentTotalSizeForDroppedCounters=0,this.maxStorageCapacityForEventsInBytes=0,this.maxStorageCapacityForDroppedCountersInBytes=0;const t=e.storagePrefix.replace(/\|/g,"");this.storageKeyPrefix=`${U("ES",t)}${P}`,this.storage=this.createStorage(e),this.configureMaxStorageCapacity(e),this.configureMaxStorageCapacity=this.configureMaxStorageCapacity.bind(this),this.configureMaxStorageCapacity(e),this.setTotalEventStorageSizeAtStartup=this.setTotalEventStorageSizeAtStartup.bind(this),this.setTotalEventStorageSizeAtStartup(),this.setTotalDroppedCountersStorageSizeAtStartup=this.setTotalDroppedCountersStorageSizeAtStartup.bind(this)}configureMaxStorageCapacity(e){let t,n;this.storage.maxCapacityInBytes?t=this.storage.maxCapacityInBytes:e.maxCapacityInBytes&&(t=e.maxCapacityInBytes),this.storage.maxCapacityForDroppedInPercentage?n=this.storage.maxCapacityForDroppedInPercentage:e.maxStorageCapacityForDroppedInPercentage&&(n=e.maxStorageCapacityForDroppedInPercentage),void 0!==t&&void 0!==n?(this.maxStorageCapacityForDroppedCountersInBytes=t*n,this.maxStorageCapacityForEventsInBytes=t-this.maxStorageCapacityForDroppedCountersInBytes):(this.maxStorageCapacityForEventsInBytes=void 0,this.maxStorageCapacityForDroppedCountersInBytes=void 0)}setTotalEventStorageSizeAtStartup(){const e=this.getKeys(!0);this.currentTotalSizeForEvents=B(e)}setTotalDroppedCountersStorageSizeAtStartup(){const e=this.getKeys(!0).filter((e=>M(e)[D.ITEM_GROUP_ID]===L.DROPPED_EVENT));this.currentTotalSizeForDroppedCounters=B(e)}createStorage(e){if(e.storage)return e.storage;let t=2e6;void 0!==e.maxCapacityInBytes&&(t=e.maxCapacityInBytes);let n=.1;void 0!==e.maxStorageCapacityForDroppedInPercentage&&(n=e.maxStorageCapacityForDroppedInPercentage);const i={maxCapacityInBytes:t,adapter:new I,flushStrategy:{kind:b.SCHEDULED,interval:e.flushIntervalMs||1e4},maxCapacityForDroppedInPercentage:n},o={adapter:new O,flushStrategy:{kind:b.IMMEDIATE}};switch(R(N)){case C.OK:return i;case C.LOW_STORAGE_SPACE:return(e.requiredPersistentStorageItems||[]).every((e=>{const t=`${this.storageKeyPrefix}${e}`;return!!i.adapter.getItem(t)}))?i:o;case C.NOT_SUPPORTED:default:return o}}getItemSizeInBytes(e,t){return 2*e.length+2*t.length}canMakeEventsStorageFull(e){return void 0!==this.maxStorageCapacityForEventsInBytes&&e+this.currentTotalSizeForEvents>this.maxStorageCapacityForEventsInBytes}canMakeDroppedCountersStorageFull(e){return void 0!==this.maxStorageCapacityForDroppedCountersInBytes&&e+this.currentTotalSizeForDroppedCounters>this.maxStorageCapacityForDroppedCountersInBytes}get storageType(){return this.storageAdapter instanceof I?H.LOCAL_STORAGE:this.storageAdapter instanceof O?H.IN_MEMORY_STORAGE:H.CUSTOM_STORAGE}get storageAdapter(){return this.storage.adapter}get flushStrategy(){return this.storage.flushStrategy}getOrCreateId(e,t){const n=this.getItem(e);if(n)return n;const i=t||"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}));return this.addItemInEventsStorage(e,i),i}updateItemInEventsStorage(e,t){if(void 0!==this.maxStorageCapacityForEventsInBytes){const n=this.getItem(e);let i=0;n&&(i=this.getItemSizeInBytes(e,n));const o=this.getItemSizeInBytes(e,t);return!(o>i&&this.canMakeEventsStorageFull(o-i))&&(!!this.setItem(e,t)&&(this.currentTotalSizeForEvents+=o-i,!0))}return this.setItem(e,t)}updateItemInDroppedCountersStorage(e,t){if(void 0!==this.maxStorageCapacityForDroppedCountersInBytes){const n=this.getItem(e);let i=0;n&&(i=this.getItemSizeInBytes(e,n));const o=this.getItemSizeInBytes(e,t);return!(o>i&&this.canMakeDroppedCountersStorageFull(o-i))&&(!!this.setItem(e,t)&&(this.currentTotalSizeForDroppedCounters+=o-i,!0))}return this.setItem(e,t)}addItemInEventsStorage(e,t){return;if(void 0!==this.maxStorageCapacityForEventsInBytes){const n=this.getItemSizeInBytes(e,t);return!this.canMakeEventsStorageFull(n)&&(!!this.setItem(e,t)&&(this.currentTotalSizeForEvents+=n,!0))}return this.setItem(e,t)}addItemInDroppedCountersStorage(e,t){if(void 0!==this.maxStorageCapacityForDroppedCountersInBytes){const n=this.getItemSizeInBytes(e,t);return!this.canMakeDroppedCountersStorageFull(n)&&(!!this.setItem(e,t)&&(this.currentTotalSizeForDroppedCounters+=n,!0))}return this.setItem(e,t)}setItem(e,t){return this.storageAdapter.setItem(`${this.storageKeyPrefix}${e}`,t)}getItem(e){return this.storageAdapter.getItem(`${this.storageKeyPrefix}${e}`)}removeItemInEventsStorage(e){if(void 0!==this.maxStorageCapacityForEventsInBytes){const t=this.getItem(e);let n=0;t&&(n=this.getItemSizeInBytes(e,t)),this.storageAdapter.removeItem(`${this.storageKeyPrefix}${e}`),this.currentTotalSizeForEvents-=n}else this.storageAdapter.removeItem(`${this.storageKeyPrefix}${e}`)}removeItemInDroppedCountersStorage(e){if(void 0!==this.maxStorageCapacityForDroppedCountersInBytes){const t=this.getItem(e);let n=0;t&&(n=this.getItemSizeInBytes(e,t)),this.storageAdapter.removeItem(`${this.storageKeyPrefix}${e}`),this.currentTotalSizeForEvents-=n}else this.storageAdapter.removeItem(`${this.storageKeyPrefix}${e}`)}getKeys(e=!1){const t=this.storageAdapter.getKeys(),n=[];for(const i of t)i.startsWith(this.storageKeyPrefix)&&(e?n.push(i):n.push(i.replace(this.storageKeyPrefix,"")));return n}clear(){return this.storageAdapter.clear()}setCounterItem(e,t,n=9){const i="string"==typeof t?t:String(t);"1"===i?this.addItemInEventsStorage(e,i.padStart(n,"0")):this.updateItemInEventsStorage(e,i.padStart(n,"0"))}}class W{constructor(e){this.storageManager=e}commitSequenceNumber(e,t){this.storageManager.setCounterItem(e,t)}getNextSequenceNumber(e){const t=this.storageManager.getItem(e);return(e=>{let t=1;return e&&(t=e+1),t})(Number(t))}generateNextSequenceNumber(e){const t=this.getNextSequenceNumber(e);return[t,()=>{this.commitSequenceNumber(e,t)}]}generateNextEventSequenceNumber(e,t){const n=U(L.SEQ_NUM,t,e);return this.generateNextSequenceNumber(n)}generateNextGlobalSequenceNumber(){const e=U(L.GLOBAL_SEQ_NUM);return this.generateNextSequenceNumber(e)}getEventsSequenceNumbers(e){const t={},n=this.storageManager.getKeys().filter((t=>((e,t)=>{const n=M(e);return n[w.ITEM_GROUP_ID]===L.SEQ_NUM&&n[w.SEQ_ID]===t})(t,e)));return n.forEach((e=>{const n=this.storageManager.getItem(e),i=x(e,w.EVENT_NAME);n&&(t[i]=Number(n))})),t}getSequenceNumbersPerSequenceId(e){const t={};return e.forEach((e=>{t[e]=this.getEventsSequenceNumbers(e)})),t}}var j=n(23892);class Y{getInitialESSData(e){const t={};for(const[n,i]of Object.entries(e)){Object.keys(t).includes(n)||(t[n]={});for(const[e,o]of Object.entries(i))t[n][e]={sequence_number_min:o+1,sequence_number_next:o+1,storage_size:0}}return t}addEventsToESSData(e,t){return;const n=Object.assign({},e);for(const[i]of Object.entries(e)){t[i].forEach((e=>{const t=x(e,k.EVENT_NAME),o=Number(x(e,k.EVENT_SEQ_NUM));o<n[i][t].sequence_number_min&&(n[i][t].sequence_number_min=o),n[i][t].storage_size++}))}return n}addLossStatsData(e){const t={sequence_ids:[],event_names:[],loss_stats_num_entries_per_sequence_id:[],loss_stats_event_name_index:[],loss_stats_storage_sizes:[],loss_stats_sequence_number_mins:[],loss_stats_sequence_number_nexts:[]};for(const[n,i]of Object.entries(e)){t.sequence_ids.push(n),t.loss_stats_num_entries_per_sequence_id.push(Object.keys(i).length);for(const[e,n]of Object.entries(i)){T.pushToArrIfMissing(t.event_names,e);const i=t.event_names.indexOf(e);t.loss_stats_event_name_index.push(i),t.loss_stats_sequence_number_mins.push(n.sequence_number_min),t.loss_stats_sequence_number_nexts.push(n.sequence_number_next),t.loss_stats_storage_sizes.push(n.storage_size)}}return t}addDroppedEventsCountersData(e,t){let n=Object.assign(Object.assign({},e),{drop_list_num_entries_per_sequence_id:[],drop_list_event_name_index:[],drop_list_counts_unreported:[],drop_list_counts_total:[]});const i=e.sequence_ids||[];if(n=this.addDroppedEventsCounters(n,t,i),!Object.keys(t).length)return n;const o=Object.keys(t).filter((e=>!i.includes(e)));return o.length&&(n=this.addDroppedEventsCounters(n,t,o),o.forEach((e=>{n.sequence_ids.push(e),n.loss_stats_num_entries_per_sequence_id.push(0)}))),n}addDroppedEventsCounters(e,t,n){const i=Object.assign({},e);return n.forEach((n=>{var o;const r=t[n];if(r&&Object.keys(r).length){i.drop_list_num_entries_per_sequence_id.push(r?Object.keys(r).length:0);for(const[t,n]of Object.entries(r)){i.drop_list_counts_unreported.push(n.unreported),i.drop_list_counts_total.push(n.total);const r=e.event_names.indexOf(t);r>-1?i.drop_list_event_name_index.push(r):(null===(o=i.event_names)||void 0===o||o.push(t),i.drop_list_event_name_index.push((null==i?void 0:i.event_names.length)-1))}}else i.drop_list_num_entries_per_sequence_id.push(0)})),i}provideEventSenderStats(e,t,n){const i=this.getInitialESSData(e),o=this.addEventsToESSData(i,t);let r=this.addLossStatsData(o);r=this.addDroppedEventsCountersData(r,n);return(0,j.I)(r)}}class z{constructor(e){this.storageManager=e.storageManager}updateDroppedEventCount(e,t){const n=U(L.DROPPED_EVENT,t,e),i=this.storageManager.getItem(n);if(i){const{unreported:e,total:t=e}=JSON.parse(i);void 0!==e&&this.storageManager.updateItemInDroppedCountersStorage(n,JSON.stringify({unreported:e+1,total:t+1}))}else this.storageManager.addItemInDroppedCountersStorage(n,JSON.stringify({unreported:1,total:1}))}getDroppedEventCounters(e){const t=this.storageManager.getKeys().filter((t=>((e,t)=>{const n=M(e);return n[D.ITEM_GROUP_ID]===L.DROPPED_EVENT&&n[D.SEQ_ID]===t})(t,e)));if(t.length>0){const e={};return t.forEach((t=>{const n=this.storageManager.getItem(t);if(n){const i=x(t,D.EVENT_NAME),{unreported:o,total:r=o}=JSON.parse(n);e[i]={unreported:o,total:r}}})),e}}getDroppedEventsCountersPerSequenceId(e){const t={};return e.forEach((e=>{const n=this.getDroppedEventCounters(e);n&&Object.keys(n).length&&(t[e]=n)})),t}updateReportedEventCounters(e){for(const[t,n]of Object.entries(e))for(const[e,i]of Object.entries(n)){const n=U(L.DROPPED_EVENT,t,e),o=this.storageManager.getItem(n);if(o){const{unreported:e,total:t=e}=JSON.parse(o);void 0!==e&&this.storageManager.updateItemInDroppedCountersStorage(n,JSON.stringify({total:t,unreported:e-i.unreported}))}}}}var K=n(20889);const J={encode:function(e){const t=(0,K.encode)(e);return(0,S.encode)(t)},decode(e){const t=(0,S.decode)(e);return(0,K.decode)(t)}},q=[28,43,34,35,35,12,43,43,16,5,23,13,24,36,10,4,41,3,12,2,36,43,39,12,10,23,44,42,22,3],X=function(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e.charCodeAt(n)^q[n%q.length]);return t};var $;!function(e){e.XOR="1"}($||($={}));const Z=(e,t)=>{const n=M(e),i=M(t);return Number(n[k.GLOBAL_SEQ_NUM])-Number(i[k.GLOBAL_SEQ_NUM])};class Q{constructor(e){this.storageManager=e.storageManager}getEvent(e){const t=this.storageManager.getItem(e);return t?function(e){try{const t=e.charAt(0),n=e.substring(1);let i;switch(t){case $.XOR:i=X(n);break;default:{const{event:t}=JSON.parse(e);i=J.decode(t);break}}return JSON.parse(i)}catch(e){return null}}(t):null}getEventKey(e,t){return U(L.EVENTS,t.toString(),e.sequence_id,e.event_name,e.sequence_number.toString())}getGlobalSequenceNumberFromEventKey(e){const t=Number(x(e,k.GLOBAL_SEQ_NUM));if(Number.isNaN(t))throw new Error(`Unable to parse event key: ${e}`);return Number(t)}addEvent(e,t){const n=this.getEventKey(e,t),i=function(e){const t=JSON.stringify(e);return`${$.XOR}${X(t)}`}(e);return this.storageManager.addItemInEventsStorage(n,i)}getEventsKeys(e){const t=this.storageManager.getKeys().filter((t=>((e,t)=>{const n=M(e);return n[k.ITEM_GROUP_ID]===L.EVENTS&&n[k.SEQ_ID]===t})(t,e)));return t}getEvents({minimumGlobalSequenceNumber:e=0,sequenceId:t,size:n=20}){const i=[],o=[],r=this.getEventsKeys(t),a=[],s=r.sort(Z).filter(e>0?t=>this.getGlobalSequenceNumberFromEventKey(t)>=e:()=>!0).slice(0,n);return s.length&&s.forEach((e=>{const t=this.getEvent(e);t?(o.push(t),i.push(e)):a.push(e)})),a.length&&this.removeEvents(a),{events:o,keys:i}}getEventsKeysPerSequenceId(e){const t={};return e.forEach((e=>{const n=this.getEventsKeys(e);t[e]=n})),t}removeEvents(e){e.forEach((e=>{this.storageManager.removeItemInEventsStorage(e)}))}}const ee=(e,t,n)=>{const i={};var o;return((e,t)=>{Object.entries(t).forEach((([t,n])=>{e[t]={},Object.entries(n).forEach((([n,i])=>{e[t][n]={sequence_number_min:i+1,sequence_number_next:i+1,storage_size:0}}))}))})(i,e),((e,t)=>{Object.keys(e).forEach((n=>{var i;(null!==(i=t[n])&&void 0!==i?i:[]).forEach((t=>{const i=x(t,k.EVENT_NAME),o=Number(x(t,k.EVENT_SEQ_NUM)),r=e[n][i];r.sequence_number_min=Math.min(o,r.sequence_number_min),r.storage_size++}))}))})(i,t),((e,t)=>{Object.entries(t).forEach((([t,n])=>{Object.entries(n).forEach((([n,i])=>{var o,r;const{total:a,unreported:s}=i,c=null!==(r=null===(o=e[t])||void 0===o?void 0:o[n])&&void 0!==r?r:{};e[t]=Object.assign(Object.assign({},e[t]),{[n]:Object.assign(Object.assign({},c),{drop_list_counts_total:a,drop_list_counts_unreported:s})})}))}))})(i,n),o=i,Object.entries(o).forEach((([e,t])=>{delete t.EventSenderStats2NonAuth,0===Object.keys(t).length&&delete o[e]})),i},te=e=>{const t=(e=>{const t={sequence_ids:[],event_names:[],loss_stats_num_entries_per_sequence_id:[],loss_stats_event_name_index:[],loss_stats_storage_sizes:[],loss_stats_sequence_number_mins:[],loss_stats_sequence_number_nexts:[],drop_list_counts_unreported:[],drop_list_counts_total:[],drop_list_event_name_index:[],drop_list_num_entries_per_sequence_id:[]};return Object.entries(e).forEach((([e,n])=>{t.sequence_ids.push(e);let i=0,o=0;Object.entries(n).forEach((([e,n])=>{let r=t.event_names.indexOf(e);-1===r&&(r=t.event_names.length,t.event_names.push(e)),"sequence_number_min"in n&&(t.loss_stats_sequence_number_mins.push(n.sequence_number_min),t.loss_stats_storage_sizes.push(n.storage_size),t.loss_stats_sequence_number_nexts.push(n.sequence_number_next),t.loss_stats_event_name_index.push(r),o++),void 0!==n.drop_list_counts_total&&void 0!==n.drop_list_counts_unreported&&(t.drop_list_counts_total.push(n.drop_list_counts_total),t.drop_list_counts_unreported.push(n.drop_list_counts_unreported),t.drop_list_event_name_index.push(r),i++)})),t.loss_stats_num_entries_per_sequence_id.push(o),t.drop_list_num_entries_per_sequence_id.push(i)})),t})(e);return(0,j.I)(t)},ne="FAKE_ESS_DB_KEY";class ie extends l.bk{constructor(e){var t;super(),this.instanceContexts={},this.uploadingInProgress=!1,this.transport=e.transport,this.ownerProvider=e.ownerProvider,this.uploaders=e.uploaders,"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.addEventListener("beforeunload",this.onBeforeDisconnect.bind(this)),this.useOptimizedESS2NA=null!==(t=e.useOptimizedESS2NA)&&void 0!==t&&t,this.sendESStats=this.sendESStats.bind(this),this.flush=this.flush.bind(this),this.initializeContexts(e.context),this.storageManager=new G({storage:e.storage,flushIntervalMs:e.flushIntervalMs,requiredPersistentStorageItems:[F,V],storagePrefix:e.storagePrefix,maxCapacityInBytes:e.maxStorageCapacityInBytes,maxStorageCapacityForDroppedInPercentage:e.maxStorageCapacityForDroppedInPercentage}),this.droppedEventsTracker=new z({storageManager:this.storageManager}),this.eventsManager=new Q({storageManager:this.storageManager}),this.installationId=this.setupInstallationId(),this.sequenceIdProvider=new A(this.installationId),this.sequenceNumberProvider=new W(this.storageManager),this.statsProvider=new Y;const n={[r.UPLOAD_SUCCEEDED]:r.UPLOAD_SUCCEEDED,[r.UPLOAD_FAILED]:r.UPLOAD_FAILED,[r.UPLOAD_REQUEST_FAILED]:r.UPLOAD_REQUEST_FAILED};this.proxyEmitAll(this.uploaders.authorized,n),this.proxyEmitAll(this.uploaders.unauthorized,n),this.initSendingEvents(),this.storageManager.getOrCreateId(V)}initSendingEvents(){return;this.storageManager.flushStrategy.kind===b.SCHEDULED&&(this.sendEventsInterval=setInterval(this.flush,this.storageManager.flushStrategy.interval))}initializeContexts(e){if(!(null==e?void 0:e.length))return;const t=this.instanceContexts;for(const n of e){const e=n();(null==e?void 0:e.name)&&(t[e.name]=e.data)}}buildEvent(e,t){const n=this.sequenceIdProvider.getId(this.getStorageId(),t?this.ownerProvider():null),[i,o]=this.sequenceNumberProvider.generateNextEventSequenceNumber(e.name,n);return{event:{sequence_id:n,sequence_number:i,event_name:e.name,fragments:Object.assign(Object.assign({context_sdk:{version_name:this.getVersion(),type:"javascript"},context_time:{timestamp:Date.now()}},this.instanceContexts),{message:e.data})},commitEventSequenceNumber:o}}getSpecificContext(e){return this.instanceContexts[e]||null}setupInstallationId(){var e;const t=null===(e=this.getSpecificContext("context_correlation_id"))||void 0===e?void 0:e.value;return t?this.storageManager.getOrCreateId(F,t):this.storageManager.getOrCreateId(F)}getStorageId(){return this.storageManager.getOrCreateId(V)}onBeforeDisconnect(){this.destroy(),this.lastFlush()}lastFlush(){return Promise.resolve({fired:true});return(0,a.__awaiter)(this,void 0,void 0,(function*(){if(this.storageManager.flushStrategy.kind!==b.IMMEDIATE)return Promise.resolve({fired:!1,reason:`Events cannot be forcefully flushed with the current storage type (${this.storageManager.storageType})`});const e=[];if(e.push(this.sendESStats(!0)),this.ownerProvider()){const t=this.getEvents({owner:this.ownerProvider(),size:100});e.push(this.uploaders.authorized.lastUpload(t))}const t=this.getEvents({owner:null,size:100});return e.push(this.uploaders.unauthorized.lastUpload(t)),yield Promise.all(e),{fired:!0}}))}flush(){return(0,a.__awaiter)(this,void 0,void 0,(function*(){if(!this.uploadingInProgress)try{this.uploadingInProgress=!0;(void 0===this.essLastSent||Date.now()-this.essLastSent.getTime()>18e4)&&(yield this.sendESStats()),yield this.sendEvents(f.UNAUTHORIZED),this.ownerProvider()&&(yield this.sendEvents(f.AUTHORIZED))}catch(e){ie.consoleLogger.warn(e)}finally{this.uploadingInProgress=!1}}))}sendEvents(e){return;return(0,a.__awaiter)(this,void 0,void 0,(function*(){const t=e===f.AUTHORIZED?this.ownerProvider():null;let n,i=!1;for(;!i;){const o=this.getEvents({owner:t,minimumGlobalSequenceNumber:n});if(o.events.length){const t=o.keys[o.keys.length-1];n=this.eventsManager.getGlobalSequenceNumberFromEventKey(t)+1;const i=yield this.sendToGabito(e,o);this.eventsManager.removeEvents(i)}else i=!0}return Promise.resolve()}))}sendESStats(e=!1){const t=this.ownerProvider();let n=[this.sequenceIdProvider.getId(this.getStorageId(),null)];t&&(n=[...n,this.sequenceIdProvider.getId(this.getStorageId(),t)]);const i=this.sequenceNumberProvider.getSequenceNumbersPerSequenceId(n),o=this.eventsManager.getEventsKeysPerSequenceId(n),r=this.droppedEventsTracker.getDroppedEventsCountersPerSequenceId(n);if(this.useOptimizedESS2NA)return this.sendESS2NAWithOptimization(i,o,r,e);const a=this.statsProvider.provideEventSenderStats(i,o,r);return this.commitAndUploadESStats(a,e,r)}sendESS2NAWithOptimization(e,t,n,i){const o=ee(e,t,n),r=((e,t,n)=>!e&&!!t&&!(!n||Date.now()-n.getTime()>828e5))(i,this.previousESS2NA,this.fullESS2NALastSent),a=r?((e,t)=>{if(!t)return e;const n=Object.entries(e).reduce(((e,[n,i])=>{const o=Object.entries(i).reduce(((e,[i,o])=>{var r;const a=null===(r=t[n])||void 0===r?void 0:r[i];return JSON.stringify(a)===JSON.stringify(o)?e:Object.assign(Object.assign({},e),{[i]:o})}),{});return Object.keys(o).length?Object.assign(Object.assign({},e),{[n]:o}):e}),{});return Object.keys(n).length?n:null})(o,this.previousESS2NA):o;return a?this.commitAndUploadESStats(te(a),i,n,r,o):Promise.resolve()}commitAndUploadESStats(e,t,n,i=!1,o){const{event:r,commitEventSequenceNumber:a}=this.buildEvent(e,!1);a();return(t?this.uploaders.unauthorized.lastUpload.bind(this.uploaders.unauthorized):this.uploaders.unauthorized.upload.bind(this.uploaders.unauthorized))({events:[r],keys:[ne]}).then((e=>{e.includes(ne)&&(this.onSuccessfullySentESStats(n),this.essLastSent=new Date,this.previousESS2NA=o,i||(this.fullESS2NALastSent=new Date))}))}onSuccessfullySentESStats(e){this.droppedEventsTracker.updateReportedEventCounters(e)}sendToGabito(e,t){if(!this.transport.isOnline()&&!this.uploadingInProgress)throw Promise.resolve([]);return t.events.length?E.n.init((()=>this.uploaders[e].upload(t)),{backoffInitial:this.uploaders[e].shouldBackoff(),baseTime:1e4,curve:"static",jitter:!1,maxRetries:3,retryPredicate:()=>this.transport.isOnline()}).catch((()=>[])):Promise.resolve([])}getEvents({owner:e,size:t=20,minimumGlobalSequenceNumber:n}){const i=this.sequenceIdProvider.getId(this.getStorageId(),e);return this.eventsManager.getEvents({sequenceId:i,size:t,minimumGlobalSequenceNumber:n})}storeEvent(e,t){return;const{event:n,commitEventSequenceNumber:i}=this.buildEvent(t,e),[o,r]=this.sequenceNumberProvider.generateNextGlobalSequenceNumber();this.eventsManager.addEvent(n,o)?(i(),r()):this.droppedEventsTracker.updateDroppedEventCount(n.event_name,n.sequence_id)}validateEventData(e,t,n){let i=null;if(e.name){if(y(JSON.stringify(e.data))>5e3)i=_.PAYLOAD_SIZE_LIMIT_EXCEEDED;else if(t&&n&&!n())return _.UNKNOWN_OWNER}else i=_.INVALID_NAME;return i||null}send(e,t={}){const n=!e.name.endsWith(m.NON_AUTH);const i=this.validateEventData(e,n,this.ownerProvider);if(i){const t=(0,g.R)({event_name:e.name,reject_reason:i});return this.storeEvent(!1,t),Promise.reject(new TypeError(`The event is invalid and has been rejected for reason: ${i}`))}return this.storeEvent(n,e),this.storageManager.flushStrategy.kind===b.IMMEDIATE?this.flush():Promise.resolve()}hasContext(...e){return e.every((e=>!!this.instanceContexts[e]))}destroy(){this.sendEventsInterval&&clearInterval(this.sendEventsInterval)}getStorageType(){return this.storageManager.storageType}isUsingESS2NAOptimization(){return this.useOptimizedESS2NA}getVersion(){return`${v}-${this.storageManager.storageType}${this.isUsingESS2NAOptimization()?"-essopt":""}`}finalFlush(){return this.lastFlush()}}function oe(e){const t={suppressPersist:e.suppressPersist,transport:e.transport};return new ie(Object.assign(Object.assign({},e),{uploaders:{authorized:p(t),unauthorized:p(Object.assign(Object.assign({},t),{authorize:!1}))}}))}ie.consoleLogger=c.m.forTag("EventSender")},91028:(e,t,n)=>{"use strict";var i;n.d(t,{B:()=>i}),function(e){e.INCOMPATIBLE="incompatible",e.UNAVAILABLE="unavailable",e.AD_PLAYING="ad_playing",e.NARRATION="narration",e.WAKING_UP="waking_up",e.TIMED_OUT_WAKEUP="timed_out_wakeup",e.PREMIUM_REQUIRED="premium_required",e.NOT_INSTALLED="not_installed",e.UNSUPPORTED="unsupported",e.NOT_AUTHORIZED="not_authorized"}(i||(i={}))},14864:(e,t,n)=>{"use strict";var i;n.d(t,{Hv:()=>Fi,O4:()=>f,bi:()=>h,d2:()=>An,pM:()=>m,LW:()=>On,jb:()=>xn,nD:()=>Bi}),function(e){e.AD_MANIFEST_REQUEST_FAILED_WITH_STATUS="AD_MANIFEST_REQUEST_FAILED_WITH_STATUS",e.AD_MANIFEST_INVALID="AD_MANIFEST_INVALID",e.CAPPING_USER_IS_CAPPED="CAPPING_USER_IS_CAPPED",e.EME_API_NOT_SUPPORTED="EME_API_NOT_SUPPORTED",e.EME_MEDIA_KEYS_NOT_SUPPORTED="EME_MEDIA_KEYS_NOT_SUPPORTED",e.EME_MEDIA_KEY_SESSION_NOT_SUPPORTED="EME_MEDIA_KEY_SESSION_NOT_SUPPORTED",e.EME_NO_SUPPORTED_KEYSYSTEM="EME_NO_SUPPORTED_KEYSYSTEM",e.EME_PLAYER_MEDIA_KEYS_SETTING_FAILED="EME_PLAYER_MEDIA_KEYS_SETTING_FAILED",e.EME_ERROR_UNKNOWN="EME_ERROR_UNKNOWN",e.EME_LICENSE_REQUEST_EMPTY_RESPONSE="EME_LICENSE_REQUEST_EMPTY_RESPONSE",e.EME_LICENSE_REQUEST_FAILED_WITH_STATUS="EME_LICENSE_REQUEST_FAILED_WITH_STATUS",e.EME_LICENSE_REQUEST_WIDEVINE_ERROR="EME_LICENSE_REQUEST_WIDEVINE_ERROR",e.EME_LICENSE_UPDATE_FAILED="EME_LICENSE_UPDATE_FAILED",e.EME_HEADER_KEY_VALUE_MISMATCH="EME_HEADER_KEY_VALUE_MISMATCH",e.EME_HEADER_MISSING_CHALLENGE="EME_HEADER_MISSING_CHALLENGE",e.EME_INIT_DATA_MALFORMED="EME_INIT_DATA_MALFORMED",e.EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM="EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM",e.EME_MEDIA_KEY_SESSION_V0_1B_ERROR="EME_MEDIA_KEY_SESSION_V0_1B_ERROR",e.EME_MEDIA_KEY_SESSION_SAFARI_ERROR="EME_MEDIA_KEY_SESSION_SAFARI_ERROR",e.EME_NO_SUPPORTED_CONFIGURATION="EME_NO_SUPPORTED_CONFIGURATION",e.EME_NOT_SUPPORTED_ERROR="EME_NOT_SUPPORTED_ERROR",e.EME_INVALID_STATE_ERROR="EME_INVALID_STATE_ERROR",e.EME_UNKNOWN_ERROR="EME_UNKNOWN_ERROR",e.DISALLOW_PROTECTED_TRACK_ERROR="DISALLOW_PROTECTED_TRACK_ERROR",e.FILE_FORMAT_NOT_SUPPORTED="FILE_FORMAT_NOT_SUPPORTED",e.FILE_MALFORMED_SEEKTABLE="FILE_MALFORMED_SEEKTABLE",e.FILE_MALFORMED_PSSH="FILE_MALFORMED_PSSH",e.FILE_NOT_RESOLVED="FILE_NOT_RESOLVED",e.FRAGMENT_ONLINE_REQUEST_FAILED_WITH_ZERO="FRAGMENT_ONLINE_REQUEST_FAILED_WITH_ZERO",e.FRAGMENT_OFFLINE_REQUEST_FAILED_WITH_ZERO="FRAGMENT_OFFLINE_REQUEST_FAILED_WITH_ZERO",e.FRAGMENT_REQUEST_FAILED_WITH_ZERO="FRAGMENT_REQUEST_FAILED_WITH_ZERO",e.FRAGMENT_REQUEST_FAILED_WITH_STATUS="FRAGMENT_REQUEST_FAILED_WITH_STATUS",e.FRAGMENT_REQUEST_EMPTY_RESPONSE="FRAGMENT_REQUEST_EMPTY_RESPONSE",e.FRAGMENT_REQUEST_UNEXPECTED_LENGTH="FRAGMENT_REQUEST_UNEXPECTED_LENGTH",e.INVALID_TRACK="INVALID_TRACK",e.PLAYER_ATTEMPTED_VOLUME_OUT_OF_RANGE="PLAYER_ATTEMPTED_VOLUME_OUT_OF_RANGE",e.PLAYER_BUFFER_QUOTA_EXCEEDED="PLAYER_BUFFER_QUOTA_EXCEEDED",e.PLAYER_CANNOT_FIND_PLAYABLE_URI="PLAYER_CANNOT_FIND_PLAYABLE_URI",e.PLAYER_INVALID_INTERNAL_STATE="PLAYER_INVALID_INTERNAL_STATE",e.PLAYER_CONTAINER_ELEMENT_NOT_FOUND="PLAYER_CONTAINER_ELEMENT_NOT_FOUND",e.PLAYER_MEDIA_ERROR="PLAYER_MEDIA_ERROR",e.PLAYER_PLAYBACK_ERROR="PLAYER_PLAYBACK_ERROR",e.PLAYER_TIMEOUT_ERROR="PLAYER_TIMEOUT_ERROR",e.MEDIA_ABORTED="MEDIA_ABORTED",e.MEDIA_DECODING_ERROR="MEDIA_DECODING_ERROR",e.MEDIA_NETWORK_ERROR="MEDIA_NETWORK_ERROR",e.MEDIA_NOT_SUPPORTED="MEDIA_NOT_SUPPORTED",e.LICENSE_RESOLVE_INVALID_RESPONSE="LICENSE_RESOLVE_INVALID_RESPONSE",e.LICENSE_RESOLVER_CANT_RESOLVE_URL="LICENSE_RESOLVER_CANT_RESOLVE_URL",e.LICENSE_RESOLVER_DEPRECATED_VERSION="LICENSE_RESOLVER_DEPRECATED_VERSION",e.LIST_PLAYER_NO_TRACK_PLAYER="LIST_PLAYER_NO_TRACK_PLAYER",e.LIST_PLAYER_NO_LIST="LIST_PLAYER_NO_LIST",e.LIST_PLAYER_INVALID_ARGUMENT="LIST_PLAYER_INVALID_ARGUMENT",e.LIST_PLAYER_FORBIDDEN="LIST_PLAYER_FORBIDDEN",e.STORAGE_ERROR="STORAGE_ERROR",e.STORAGE_FAILED_WITH_STATUS="STORAGE_FAILED_WITH_STATUS",e.STORAGE_RETURNED_NO_TRACKS="STORAGE_RETURNED_NO_TRACKS",e.STORAGE_TRACK_MANIFEST_FAILED="STORAGE_TRACK_MANIFEST_FAILED",e.STORAGE_TRACK_MANIFEST_EMPTY="STORAGE_TRACK_MANIFEST_EMPTY",e.STORAGE_VIDEO_MANIFEST_FAILED="STORAGE_VIDEO_MANIFEST_FAILED",e.TRACK_DATA_ALREADY_FINALIZED="TRACK_DATA_ALREADY_FINALIZED",e.TSV_SENDING_FAILED="TSV_SENDING_FAILED",e.PLAYBACK_STATS_SENDING_FAILED="PLAYBACK_STATS_SENDING_FAILED",e.PLAYBACK_START_SENDING_FAILED="PLAYBACK_START_SENDING_FAILED",e.UNKNOWN="UNKNOWN"}(i||(i={}));var o,r=n(83356);!function(e){e.USER_INFO_REQUEST_EMPTY_RESPONSE="USER_INFO_REQUEST_EMPTY_RESPONSE",e.USER_INFO_REQUEST_FAILED_WITH_STATUS="USER_INFO_REQUEST_FAILED_WITH_STATUS",e.HARMONY_NO_TRACKS_LOADED="HARMONY_NO_TRACKS_LOADED",e.HARMONY_OPERATION_FORBIDDEN="HARMONY_OPERATION_FORBIDDEN",e.HARMONY_LOCAL_PLAYER_DISABLED="HARMONY_LOCAL_PLAYER_DISABLED",e.HARMONY_INVALID_DESCRIPTOR_ID="HARMONY_INVALID_DESCRIPTOR_ID",e.HARMONY_INVALID_MEDIA_TYPE="HARMONY_INVALID_MEDIA_TYPE",e.CONNECTAPI_CLIENT_INVALID_ARGUMENTS="CONNECTAPI_CLIENT_INVALID_ARGUMENTS",e.CONNECTAPI_CLIENT_MISSING_DEVICE_ID="CONNECTAPI_CLIENT_MISSING_DEVICE_ID",e.CONNECTAPI_CLIENT_NO_CONNECTION_ID="CONNECT_API_CLIENT_NO_CONNECTION_ID",e.CONNECTAPI_CLIENT_NO_DEVICE="CONNECTAPI_CLIENT_NO_DEVICE",e.CONNECTAPI_CLIENT_NO_SESSION_ID="CONNECTAPI_CLIENT_NO_SESSION_ID",e.CONNECTAPI_CLIENT_NO_STATE="CONNECTAPI_CLIENT_NO_STATE",e.CONNECTAPI_CLIENT_INVALID_POSITION="CONNECT_API_CLIENT_INVALID_POSITION",e.CONNECTAPI_CLIENT_INVALID_VOLUME="CONNECT_API_CLIENT_INVALID_VOLUME",e.CONNECTAPI_MAX_SUBSCRIPTIONS_REACHED="CONNECTAPI_MAX_SUBSCRIPTIONS_REACHED",e.CONNECTAPI_REGISTRATION_FAILED_WITH_STATUS="CONNECTAPI_REGISTRATION_FAILED_WITH_STATUS",e.CONNECTAPI_CLIENT_ACK_TIMEOUT="CONNECTAPI_CLIENT_ACK_TIMEOUT",e.CP_NO_DEVICE_DESCRIPTOR="CP_NO_DEVICE_DESCRIPTOR",e.CP_NO_CONNECTION_ID="CP_NO_CONNECTION_ID",e.CP_REGISTRATION_FAILED_WITH_STATUS="CP_REGISTRATION_FAILED_WITH_STATUS",e.CP_REGISTRATION_FAILED_NON_PREMIUM="CP_REGISTRATION_FAILED_NON_PREMIUM",e.CP_REQUEST_FAILED_WITH_STATUS="CP_REQUEST_FAILED_WITH_STATUS",e.CP_NO_DEVICE_ID="CP_NO_DEVICE_ID",e.CP_NO_RESPONSE_BODY="CP_NO_RESPONSE_BODY",e.CP_NO_TRACKING_DATA="CP_NO_TRACKING_DATA",e.CP_INVALID_STATE="CP_INVALID_STATE",e.CP_NO_PLAYBACK_ID="CP_NO_PLAYBACK_ID",e.QUEUE_MANAGER_NO_STATE="QUEUE_MANAGER_NO_STATE",e.QUEUE_OPERATION_FORBIDDEN="QUEUE_OPERATION_FORBIDDEN",e.QUEUE_OPERATION_STALE_REVISION="QUEUE_OPERATION_STALE_REVISION",e.TP_NO_RESPONSE_BODY="TP_NO_RESPONSE_BODY",e.TP_REGISTRATION_FAILED_NON_PREMIUM="TP_REGISTRATION_FAILED_NON_PREMIUM",e.TP_REGISTRATION_FAILED_WITH_STATUS="TP_REGISTRATION_FAILED_WITH_STATUS",e.TP_STATE_UPDATE_FAILED="TP_STATE_UPDATE_FAILED",e.TP_MAX_SUBSCRIPTIONS_REACHED="TP_MAX_SUBSCRIPTIONS_REACHED",e.TP_UPDATE_REQUEST_EMPTY_RESPONSE="TP_UPDATE_REQUEST_EMPTY_RESPONSE",e.TP_PARSE_STATE_UPDATE_FAILED_WITH_STATUS="TP_PARSE_STATE_UPDATE_FAILED_WITH_STATUS",e.TP_SET_OPTIONS_FAILED_WITH_STATUS="TP_SET_OPTIONS_FAILED_WITH_STATUS",e.TP_UNKNOWN_COMMAND="TP_UNKNOWN_COMMAND",e.TP_CANNOT_CREATE_STATE_REF="TP_CANNOT_CREATE_STATE_REF",e.TP_MISSING_INITIAL_STATE="TP_MISSING_INITIAL_STATE",e.TP_INVALID_STATE_REFERENCE="TP_INVALID_STATE_REFERENCE",e.TP_CONFLICT_REQUEST_FAILED_WITH_STATUS="TP_CONFLICT_REQUEST_FAILED_WITH_STATUS"}(o||(o={}));n(80483);var a=n(74987);var s,c=n(80521);!function(e){e.APPLOAD="appload",e.BACK_BUTTON="backbtn",e.CLICK_ROW="clickrow",e.CLICK_SIDE="clickside",e.END_PLAY="endplay",e.FORWARD_BUTTON="fwdbtn",e.LOGOUT="logout",e.PLAY_BUTTON="playbtn",e.POPUP="popup",e.REMOTE="remote",e.TRACK_DONE="trackdone",e.TRACK_ERROR="trackerror",e.UNKNOWN="unknown",e.URI_OPEN="uriopen",e.CAPPED="capped",e.SEEK="seek"}(s||(s={}));var l=n(30353),u=n(86380);const d="@local",p=65535;var h,f,m;!function(e){e.AUTHENTICATED="authenticated",e.AUTHENTICATION_ERROR="authentication_error",e.AUTOPLAY_FAILED="autoplay_failed",e.BEFORE_DISCONNECT="before_disconnect",e.BEFORE_VOLUME_CHANGE="before_volume_change",e.BUFFER_STALLED="stalled",e.BUFFERING_END="buffering_end",e.BUFFERING_START="buffering_start",e.REBUFFERING_END="rebuffering_end",e.REBUFFERING_START="rebuffering_start",e.CONNECTED="connected",e.CONNECTION_ERROR="connection_error",e.DEVICES_CHANGED="devices_changed",e.DEVICE_DEACTIVATED="device_deactivated",e.DEVICE_DESCRIPTOR_CHANGED="descriptor_changed",e.DISCONNECTED="disconnected",e.DISPLAYED_CUES_CHANGED="displayed_cues_changed",e.DURATION_CHANGED="duration_changed",e.ERROR="error",e.LAST_ACTIVE_DEVICE_INFO_CHANGED="last_active_device_info_changed",e.LOCAL_CONTEXT_ENDED="local_context_ended",e.LOCAL_PLAYER_DISABLED="local_player_disabled",e.LOCAL_PLAYER_ENABLED="local_player_enabled",e.LOCAL_PLAYER_LOGGED_OUT="local_player_logged_out",e.LOGGED_OUT="logged_out",e.MAX_LIST_ERRORS_REACHED="max_list_errors_reached",e.MAX_SUBSCRIPTIONS_REACHED="max_subscriptions_reached",e.PLAYBACK_CAPPED="playback_capped",e.PLAYER_INITIALIZATION_DONE="player_initialization_done",e.PLAYER_INITIALIZATION_FAILED="player_initialization_failed",e.PRODUCT_STATE_CHANGED="product_state_changed",e.PROGRESS="progress",e.PLAYER_QUEUE_CHANGED="player_queue_changed",e.RECONNECTED="reconnected",e.RECONNECTING="reconnecting",e.REMOTE_OBSERVER_DISABLED="remote_observer_disabled",e.REMOTE_OBSERVER_ENABLED="remote_observer_enabled",e.REPORTING_START="reporting_start",e.REPORTING_FIRST_QUARTILE="reporting_first_quartile",e.REPORTING_MIDPOINT="reporting_midpoint",e.REPORTING_THIRD_QUARTILE="reporting_third_quartile",e.REPORTING_COMPLETE="reporting_complete",e.REPORTING_PAUSE="reporting_pause",e.REPORTING_RESUME="reporting_resume",e.REPORTING_CREATIVE_VIEW="reporting_creative_view",e.REPORTING_ERROR="reporting_error",e.SERVICE_REGISTRATION_ERROR="service_registration_error",e.SPEED_CHANGED="speed_changed",e.STATE_CHANGED="state_changed",e.STOPPED_ON_BACKGROUND="stopped_on_background",e.SUBTITLE_LANGUAGES_LOADED="subtitle_languages_loaded",e.TRACK_ENDED="track_ended",e.UNRECOVERABLE_FAILURE="unrecoverable_failure",e.VIDEO_ELEMENT_APPENDED="video_element_appended",e.VIDEO_ELEMENT_REMOVED="video_element_removed",e.VOLUME_CHANGED="volume_changed"}(h||(h={})),function(e){e.CLOUD_PLAYBACK="cloud-playback",e.CONNECT_API="connect-api",e.HARMONY="harmony",e.PLAYBACK="playback",e.TRACK_PLAYBACK="track-playback",e.TRANSPORT="transport"}(f||(f={})),function(e){e[e.OFF=0]="OFF",e[e.CONTEXT=1]="CONTEXT",e[e.TRACK=2]="TRACK"}(m||(m={}));var _=n(91028);class g extends Error{constructor(e,t){super(t),this.status=-1,this.unrecoverable=!1,this.debug={},this.code=e,this.name="HarmonyError"}static fatal(e,t){const n=new g(e,t);return n.unrecoverable=!0,n}}function E(e,t){return!e&&!t||!(!e||!t)&&(e.id===t.id&&e.is_active===t.is_active&&e.is_controllable===t.is_controllable&&e.is_observable===t.is_observable&&e.is_being_activated===t.is_being_activated&&e.local===t.local&&e.name===t.name&&e.type===t.type&&e.version===t.version&&e.volume===t.volume)}class v extends Error{constructor(e,t){super(t),this.unrecoverable=!1,this.code=e,this.name="PlayerQueueError"}}function y(e,t={isCurrentTrack:!1,ignoreMetaForTrack:!1}){var n,i,o,r,a,s;const c=[],l=[];let u=!1,d=!1;if(!(null==e?void 0:e.length))return{items:c,tracks:l,hasQueuedTracks:u};for(const p of e){const e="spotify:delimiter"===p.uri||/^spotify:meta:/.test(p.uri)?"meta":"track",h=`${p.uid}:::${null!==(i=null===(n=p.metadata)||void 0===n?void 0:n.iteration)&&void 0!==i?i:""}`,f={type:e,uri:p.uri,uid:p.uid,qid:h,metadata:p.metadata||{},hidden:"true"===(null===(o=p.metadata)||void 0===o?void 0:o.hidden),hidden_in_queue:"true"===(null===(r=p.metadata)||void 0===r?void 0:r.hidden_in_queue)&&!t.isCurrentTrack,queued:"true"===(null===(a=p.metadata)||void 0===a?void 0:a.is_queued),provider:p.provider,removed_reasons:p.removed,$blck_rs:p.blocked};f.queued&&(u=!0),c.push(f),"meta"===f.type?d=!0:!t.ignoreMetaForTrack&&d||"track"!==f.type||f.hidden||(null===(s=f.removed_reasons)||void 0===s?void 0:s.length)||f.hidden_in_queue||l.push(f)}return{items:c,tracks:l,hasQueuedTracks:u}}function b(e,t={}){if(!Array.isArray(e))throw new TypeError("Items is not an array.");if(!e.length)return[];const n=[];for(let i of e){if(!i)continue;"string"==typeof i&&(i={type:"track",uri:i});const e={uri:i.uri,uid:i.uid,metadata:i.metadata||{},removed:i.removed_reasons,blocked:i.$blck_rs,provider:i.provider};(i.queued||t.queued)&&(e.metadata.is_queued="true",e.provider="queue"),(i.hidden||"meta"===i.type)&&(e.metadata.hidden="true"),i.hidden_in_queue&&(e.metadata.hidden_in_queue="true"),n.push(e)}return n}function S(e){const[t,n]=e.split(":::"),i={type:"track",uid:t};return n&&(i.metadata={iteration:n}),i}class T extends c.bk{constructor(e){super(),this._hasInitialState=!1,this._reportInactiveQueues=!1,this._onlyLocalQueue=!1,this._currentPlayerState=null,this._currentInternalQueue=null,this._currentQueue=null,this._hasQueuedTracks=!1,this._connectClient=e.connectClient,this._runner=e.runner||(e=>e()),this._parsePlayerState=this._parsePlayerState.bind(this),this._onlyLocalQueue=!!e.onlyLocalQueue,this._reportInactiveQueues=!!e.reportInactiveQueues,this._connectClient.on("player_state_changed",this._onPlayerStateChanged.bind(this)),this._parsePlayerState(e.initialContextPlayerState)}static create(e){return new T(e)}_onPlayerStateChanged(e){const{playerState:t,orphaned:n,isLocal:i}=e.data;this._parsePlayerState(t,n,i)}_parsePlayerState(e,t,n){var i,o,r;if(this._hasInitialState=!0,this._onlyLocalQueue&&!n||!this._reportInactiveQueues&&t)this._currentPlayerState=null,this._currentInternalQueue=null,this._currentQueue=null;else if(this._currentPlayerState=null!=e?e:null,e){if(e.queue_revision===(null===(i=this._currentInternalQueue)||void 0===i?void 0:i.revision))return null;this._hasQueuedTracks=!1;const t={ignoreMetaForTrack:null===(o=e.options)||void 0===o?void 0:o.repeating_context},n=e.queue_revision,a=y([e.track],{isCurrentTrack:!0}).items[0],s=y(e.next_tracks,t),c=y(e.prev_tracks,t);this._hasQueuedTracks=s.hasQueuedTracks;const l={uri:e.context_uri,metadata:null!==(r=e.context_metadata)&&void 0!==r?r:void 0};this._currentInternalQueue={revision:n,context:l,current_track:a,next_items:s.items,previous_items:c.items},this._currentQueue={revision:n,context:l,current_track:a,next_tracks:s.tracks,previous_tracks:c.tracks}}else this._hasQueuedTracks=!1,this._currentInternalQueue=null,this._currentQueue=null;return this.emit(h.PLAYER_QUEUE_CHANGED,{internalPlayerQueue:this._currentInternalQueue,playerQueue:this._currentQueue}),this._currentInternalQueue}_setQueueNext(e,t){var n;const i=this._currentPlayerState;if(!i)return Promise.reject(new v(o.QUEUE_MANAGER_NO_STATE,"Cannot perform operation; no current state."));const r={next_tracks:e,prev_tracks:i.prev_tracks,queue_revision:i.queue_revision},a=null===(n=i.restrictions)||void 0===n?void 0:n.disallow_set_queue_reasons;return this._runner((()=>a&&a.length?Promise.reject(new v(o.QUEUE_OPERATION_FORBIDDEN,"Cannot perform operation; SetQueueCommand is not allowed.")):this._connectClient.setQueue(r,t)),t)}_insertQueuedWhenEmpty(e,t,n){var i,o,r,a;const s="true"===(null===(o=null===(i=t[0])||void 0===i?void 0:i.metadata)||void 0===o?void 0:o.is_narration),c="true"===(null===(r=null==n?void 0:n.metadata)||void 0===r?void 0:r.is_narration);if(c||s){if(!c||s){let n=-1;for(let e=0,i=t.length;e<i;e++){const i=t[e];if("true"===(null===(a=null==i?void 0:i.metadata)||void 0===a?void 0:a.is_narration)){n=e+1;break}}return-1===n?void t.unshift(...e):void t.splice(n+1,0,...e)}t.splice(1,0,...e)}else t.unshift(...e)}_insertQueued(e,t){var n,i;const r=this._currentPlayerState;if(!r)return Promise.reject(new v(o.QUEUE_MANAGER_NO_STATE,"Cannot perform operation; no current state."));const a=Array.from(null!==(n=r.next_tracks)&&void 0!==n?n:[]);if(this._hasQueuedTracks){let t=!1;for(let n=0,o=a.length;n<o;n++){const o=a[n];if("true"!==(null===(i=null==o?void 0:o.metadata)||void 0===i?void 0:i.is_queued)){a.splice(n,0,...e),t=!0;break}}t||a.push(...e)}else{const t=r.track;this._insertQueuedWhenEmpty(e,a,t)}return this._setQueueNext(a,t)}getInternalPlayerQueue(){return this._hasInitialState?Promise.resolve(this._currentInternalQueue):new Promise((e=>{this.on(h.PLAYER_QUEUE_CHANGED,(t=>{e(t.data.internalPlayerQueue)}))}))}getPlayerQueue(){return this._hasInitialState?Promise.resolve(this._currentQueue):new Promise((e=>{this.on(h.PLAYER_QUEUE_CHANGED,(t=>{e(t.data.playerQueue)}))}))}setInternalPlayerQueue(e,t,n={ignoreRevision:!1}){if(!this._currentPlayerState)return Promise.reject(new v(o.QUEUE_MANAGER_NO_STATE,"Cannot perform operation; no current state."));if(e.revision!==this._currentPlayerState.queue_revision&&!n.ignoreRevision)return Promise.reject(new v(o.QUEUE_OPERATION_STALE_REVISION,"Cannot perform operation; revision is stale."));const i={next_tracks:b(e.next_items),prev_tracks:b(e.previous_items),queue_revision:n.ignoreRevision?void 0:this._currentPlayerState.queue_revision};return this._runner((()=>this._connectClient.setQueue(i,t)),t)}addToQueue(e,t){var n;const i=this._currentPlayerState;if(!i)return Promise.reject(new v(o.QUEUE_MANAGER_NO_STATE,"Cannot perform operation; no current state."));if(!Array.isArray(e))return Promise.reject(new TypeError("Argument `items` must be an array."));const r=b(e,{queued:!0}),a=null===(n=i.restrictions)||void 0===n?void 0:n.disallow_add_to_queue_reasons;return r.length?1===r.length?this._runner((()=>a&&a.length?Promise.reject(new v(o.QUEUE_OPERATION_FORBIDDEN,"Cannot perform operation; AddToQueueCommand is not allowed.")):this._connectClient.addToQueue(r[0],t)),t):this._insertQueued(r,t):Promise.resolve(!1)}removeNext(e,t){var n,i,r;const a=this._currentPlayerState;if(!a)return Promise.reject(new v(o.QUEUE_MANAGER_NO_STATE,"Cannot perform operation; no current state."));let s;s="string"==typeof e?S(e):e;const c=Array.from(null!==(n=a.next_tracks)&&void 0!==n?n:[]),l=c.length;for(let e=0;e<l;e++){const t=c[e];if((null==t?void 0:t.uid)===s.uid&&(null===(i=null==t?void 0:t.metadata)||void 0===i?void 0:i.iteration)===(null===(r=s.metadata)||void 0===r?void 0:r.iteration)){c.splice(e,1);break}}return c.length===l?Promise.resolve(!1):this._setQueueNext(c,t)}}const A={tagged:"4.43.1-4aaf6717",version:"4.43.1",revision:"4aaf6717"};class I extends c.bk{constructor(e){super(),this._hasFakeState=!1,this._localPlayerEnabled=!1,this._localPlayback=!1,this._forceRemoteActions=!1,this._lastDeviceList=[],this._deferredStreamer=(0,l.u)(),this._throttledSeek=function(e,t,n){let i;return(...o)=>{const r=(0,u.X)();if(!i||r-i>=e)return i=r,t.apply(n,o)}}(100,this._seek,this),this._client=e.client,this._streamer=e.streamer,this._controller=e.controller,this._hidden=!!e.hidden,this._onlyLocalState=!!e.onlyLocalState,this._preferController=!this._onlyLocalState&&!!e.preferControllerState,this._claimInactivePlayerStates=!!e.claimInactivePlayerStates,this._enableControllerWithoutStreamer=!!e.enableControllerWithoutStreamer,this._autoActivateElement=!!e.autoActivateElement,this._deactivateOnStop=!!e.experimentalDeactivateOnStop,this._forceRemoteActions=!!e.forceRemoteActions,this._parseDeviceList=this._parseDeviceList.bind(this),this._init()}static create(e){return new I(e)}_init(){this._createStreamerDeferred();const e=this._client;e.on("error",this._onError.bind(this)),this.proxyEmit(e,"authenticated",h.AUTHENTICATED),this.proxyEmit(e,"authentication_error",h.AUTHENTICATION_ERROR),this.proxyEmit(e,"before_disconnect",h.BEFORE_DISCONNECT),this.proxyEmit(e,"connected",h.CONNECTED),this.proxyEmit(e,"connection_error",h.CONNECTION_ERROR),this.proxyEmit(e,"descriptor_changed",h.DEVICE_DESCRIPTOR_CHANGED),this.proxyEmit(e,"product_state_changed",h.PRODUCT_STATE_CHANGED),this.proxyEmit(e,"reconnected",h.RECONNECTED),this.proxyEmit(e,"reconnecting",h.RECONNECTING),this.proxyEmit(e,"unrecoverable_failure",h.UNRECOVERABLE_FAILURE),this.proxyEmit(e,"logged_out",h.LOGGED_OUT);const t=this._controller;t.on("device_info_changed",(e=>{this._onDeviceStateChanged(e.data)})),t.on("devices_changed",this._onDevicesChanged.bind(this)),t.on("state_changed",this._onPlayerStateChanged.bind(this)),t.on("progress",this._onControllerProgress.bind(this)),this.proxyEmitAll(t,{max_subscriptions_reached:h.MAX_SUBSCRIPTIONS_REACHED,device_deactivated:h.DEVICE_DEACTIVATED}),t.on("registered",this.emit.bind(this,h.REMOTE_OBSERVER_ENABLED,null)),t.on("deregistered",this.emit.bind(this,h.REMOTE_OBSERVER_DISABLED,null));const n=this._streamer;n?(n.on("deregistered",this._onStreamerDeregistered.bind(this)),n.on("registered",this._onStreamerRegistered.bind(this)),n.on("registration_aborted",this._onStreamerRegistrationAborted.bind(this)),n.on("state_changed",this._onStreamerStateChanged.bind(this)),n.on("stopped_on_background",this._onStreamerStoppedOnBackground.bind(this)),n.on("streamer_seek_handled",this._onSeekHandled.bind(this)),this.proxyEmitSync(n,"before_volume_change",h.BEFORE_VOLUME_CHANGE),this.proxyEmit(n,"autoplay_failed",h.AUTOPLAY_FAILED),this.proxyEmit(n,"stalled",h.BUFFER_STALLED),this.proxyEmit(n,"buffering_end",h.BUFFERING_END),this.proxyEmit(n,"buffering_start",h.BUFFERING_START),this.proxyEmit(n,"rebuffering_end",h.REBUFFERING_END),this.proxyEmit(n,"rebuffering_start",h.REBUFFERING_START),this.proxyEmit(n,"duration_changed",h.DURATION_CHANGED),this.proxyEmit(n,"max_list_errors_reached",h.MAX_LIST_ERRORS_REACHED),this.proxyEmit(n,"max_subscriptions_reached",h.MAX_SUBSCRIPTIONS_REACHED),this.proxyEmit(n,"playback_capped",h.PLAYBACK_CAPPED),this.proxyEmit(n,"player_initialization_done",h.PLAYER_INITIALIZATION_DONE),this.proxyEmit(n,"player_initialization_failed",h.PLAYER_INITIALIZATION_FAILED),this.proxyEmit(n,"progress",h.PROGRESS),this.proxyEmit(n,"registration_error",h.SERVICE_REGISTRATION_ERROR),this.proxyEmit(n,"track_ended",h.TRACK_ENDED),this.proxyEmit(n,"video_element_appended",h.VIDEO_ELEMENT_APPENDED),this.proxyEmit(n,"video_element_removed",h.VIDEO_ELEMENT_REMOVED),this.proxyEmit(n,"volume_changed",h.VOLUME_CHANGED),this.proxyEmit(n,"displayed_cues_changed",h.DISPLAYED_CUES_CHANGED),this.proxyEmit(n,"subtitle_languages_loaded",h.SUBTITLE_LANGUAGES_LOADED),this.proxyEmit(n,"speed_changed",h.SPEED_CHANGED),this.proxyEmitSync(n,"reporting_start",h.REPORTING_START),this.proxyEmitSync(n,"reporting_first_quartile",h.REPORTING_FIRST_QUARTILE),this.proxyEmitSync(n,"reporting_midpoint",h.REPORTING_MIDPOINT),this.proxyEmitSync(n,"reporting_third_quartile",h.REPORTING_THIRD_QUARTILE),this.proxyEmitSync(n,"reporting_complete",h.REPORTING_COMPLETE),this.proxyEmitSync(n,"reporting_pause",h.REPORTING_PAUSE),this.proxyEmitSync(n,"reporting_resume",h.REPORTING_RESUME),this.proxyEmitSync(n,"reporting_creative_view",h.REPORTING_CREATIVE_VIEW),this.proxyEmitSync(n,"reporting_error",h.REPORTING_ERROR),this.proxyEmitSync(n,"internal_endcontent","internal_endcontent"),n.on("context_ended",this.emit.bind(this,h.LOCAL_CONTEXT_ENDED,null)),n.on("logged_out",this.emit.bind(this,h.LOCAL_PLAYER_LOGGED_OUT,null))):(this._disableLocalTarget(),this.on(h.AUTHENTICATED,(()=>{this.emit(h.LOCAL_PLAYER_DISABLED,null)})))}_createStreamerDeferred(){this._deferredStreamer=(0,l.u)(),this._deferredStreamer.promise.catch((function(){}))}_isTargetIdLocal(e){return e?e===d?Promise.resolve(!0):this._client.getDeviceDescriptor().then((function(t){return e===t.getId()})):Promise.resolve(!!this._localPlayback)}_onStreamerRegistered(e){this._deferredStreamer.resolve(e.data),this._createStreamerDeferred(),this._deferredStreamer.resolve(e.data),this._localPlayerEnabled=!0,this._controller.register(),this.emit(h.LOCAL_PLAYER_ENABLED,null)}_onStreamerDeregistered(){this._disableLocalTarget(),this.emit(h.LOCAL_PLAYER_DISABLED,null)}_onStreamerRegistrationAborted(){this._disableLocalTarget(),this._enableControllerWithoutStreamer&&this._controller.register(),this.emit(h.LOCAL_PLAYER_DISABLED,null)}_disableLocalTarget(){this._localPlayerEnabled=!1;const e=new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"Cannot perform command; local player is disabled.");this._deferredStreamer.reject(e),this._createStreamerDeferred(),this._deferredStreamer.reject(e)}_onStreamerConnect(){return this._deferredStreamer.promise}_onDeviceStateChanged(e){var t;const n=!!this._localPlayback,i=(e=!1)=>{this._generateLocalDeviceInfo(e).then((e=>{this.emit(h.LAST_ACTIVE_DEVICE_INFO_CHANGED,{deviceInfo:e,hasOrphanedState:!1})}))};if(this._localPlayerEnabled&&e.hasOrphanedState&&this._claimInactivePlayerStates)return this._hasFakeState=!0,void i(!0);if(this._hasFakeState=!1,this._localPlayback=!(!e.deviceInfo||!e.deviceInfo.local),this._localPlayback){if(!n&&(null===(t=this._streamer)||void 0===t?void 0:t.hasOptimisticUpdates())&&this._streamer.getCurrentState().then((e=>{this.emit(h.STATE_CHANGED,{state:e})})),!this._streamer)throw new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled.");this._streamer.getVolume().then((t=>{e.deviceInfo&&(e.deviceInfo.volume=t),this.emit(h.LAST_ACTIVE_DEVICE_INFO_CHANGED,e)})).catch((function(){}))}else this._onlyLocalState?(this._localPlayback||n)&&i():this.emit(h.LAST_ACTIVE_DEVICE_INFO_CHANGED,e)}_onDevicesChanged(e){this._parseDeviceList(e.data).then((e=>{(function(e,t){if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Invalid devices list.");if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!E(e[n],t[n]))return!1;return!0})(this._lastDeviceList,e)||(this._lastDeviceList=e,this.emit(h.DEVICES_CHANGED,{devices:e,localDevice:null}))}))}_onError(e){const t=e.data.error;e.data.source===f.PLAYBACK&&t&&t.unrecoverable&&(this._disableLocalTarget(),this._streamer&&this._streamer.deregister()),this.emit(h.ERROR,e.data)}_onPlayerStateChanged(e){if(!this._onlyLocalState&&(this._preferController||!this._localPlayback)){let t;t=this._localPlayerEnabled&&this._claimInactivePlayerStates?e.data.state:e.data.orphaned?null:e.data.state,this.emit(h.STATE_CHANGED,{state:t})}}_onControllerProgress(e){this._onlyLocalState||this._localPlayback||this.emit(h.PROGRESS,e.data)}_onStreamerStateChanged(e){this._preferController||(this._onlyLocalState?this._triggerLocalStateChanges(e.data):this._hidden?this._handleHidden(e.data):this._localPlayback&&this.emit(h.STATE_CHANGED,e.data))}_onStreamerStoppedOnBackground(){this._deactivateOnStop&&(this._localPlayback=!1),this.emit(h.STOPPED_ON_BACKGROUND,null)}_handleHidden(e){e.state?(this._controller.suppressEvents(),this._triggerLocalStateChanges(e)):this._controller.unsuppressEvents()}_parseDeviceList(e){const t=e.devices.slice(0).map((e=>Promise.resolve(e)));return t.length&&e.localDevice?this._hasFakeState&&e.localDevice&&(e.localDevice.is_active=!0):t.push(this._generateLocalDeviceInfo(this._hasFakeState)),Promise.all(t).then((e=>e))}_triggerLocalStateChanges(e){this._generateLocalDeviceInfo().then((e=>{this._onDeviceStateChanged({deviceInfo:e,hasOrphanedState:!1})})),this.emit(h.STATE_CHANGED,e)}_canStartNewContext(e){return this._runOnDevice(e,(()=>this._streamer?Promise.resolve(!0):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))),(()=>Promise.resolve(!0)),{bypassFakeState:!0})}_activateElement(){this._autoActivateElement=!1,this._streamer&&this._streamer.activateElement().catch((()=>{}))}_runOnDevice(e=void 0,t,n,i){var o;if(this._hasFakeState&&!(null==i?void 0:i.bypassFakeState))return this._autoActivateElement&&this._activateElement(),this._claimStateAndRun(n,i);return(null!==(o=null==i?void 0:i.forceRemoteAction)&&void 0!==o?o:this._forceRemoteActions)?n():this._isTargetIdLocal(e).then((e=>e?this._onStreamerConnect().then(t):n()))}_claimStateAndRun(e,t){return this._onStreamerConnect().then((()=>{this._hasFakeState=!1;const e={paused:!0};return(null==t?void 0:t.loggingParams)&&(e.loggingParams=t.loggingParams),Promise.all([this._controller.transfer(d,e),new Promise(((e,t)=>{this._streamer?this._streamer.once("track_loaded",e):t(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}))])})).then((()=>e()))}_generateLocalDeviceInfo(e=!1){const t=this._client,n=this._streamer;let i=Promise.resolve(!1),o=Promise.resolve(-1);return this._localPlayerEnabled&&(e?i=Promise.resolve(!0):n&&(i=n.getCurrentState().then((e=>!!e))),n&&(o=n.getVolume())),Promise.all([t.getClientDescriptor(),t.getSDKId(),i,o]).then((([e,t,n,i])=>{var o;const r={hifi_status:{fully_supported:void 0,user_eligible:void 0,device_supported:null===(o=e.capabilities)||void 0===o?void 0:o.lossless_playback}};return{hidden:this._hidden,id:e.id,is_active:n,is_group:!1,is_being_activated:!1,is_controllable:this._localPlayerEnabled,is_observable:!!this._localPlayerEnabled&&!this._hidden,local:!0,metadata:e.metadata||{},name:e.name,type:e.type,brand:e.brand,model:e.model,version:t,volume:i,capabilities:{supports_lossless_audio:!1},playback_features:r,has_inactive_player_state:this._hasFakeState,disallow_transfer_reason:_.B.UNAVAILABLE}}))}_movePosition(e,t){return this.getCurrentState().then((n=>{if(!n||isNaN(n.position))return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Seeking not allowed with invalid track."));const i=e,r=Math.min(n.duration,Math.max(0,n.position+i));return this.seek(r,t)}))}_prepareSkipTrack(e){let t;return t="string"==typeof e?S(e):e,t}_cycleRepeatMode(e){return this.getCurrentState().then((t=>{if(!t)return Promise.reject(new g(o.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"));let n=null;const i=t.disallows;switch(t.repeat_mode){case m.OFF:if(i.toggling_repeat_context){if(i.toggling_repeat_track)return Promise.resolve(!1);n=m.TRACK}else n=m.CONTEXT;break;case m.CONTEXT:n=i.toggling_repeat_track?m.OFF:m.TRACK;break;case m.TRACK:default:n=m.OFF}return this.setRepeatMode(n,e)}))}_onSeekHandled(e){this._controller.seek(e.data.position)}_seek(e,t){return this.getCurrentState().then((n=>{if(null==n?void 0:n.disallows.seeking)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Seeking is not allowed with current content."));return this._client.getLogger().logClientEvent({source:"harmony.seek()",source_version:A.tagged,source_vendor:"spotify",event:"Harmony/Client seek",event_version:"1.0.0",json_data:{position:e,deviceId:t}},"object"),this._runOnDevice(t,(()=>this._streamer.seek(e)),this._controller.seek.bind(this._controller,e,t))}))}getClientDescriptor(){return this._client.getClientDescriptor()}getProductState(){return this._client.getProductState()}getPublicTransport(){return this._client.getPublicTransport()}getUserInfo(){return this._client.getUserInfo()}getVersionDescriptor(){return this._client.getVersionDescriptor()}logAppMetrics(e,t){return this._client.logAppMetrics(e,t)}setName(e){return this._client.setName(e)}setNameTemplate(e){return this._client.setNameTemplate(e)}getContextPlayerState(){return this._controller.getContextPlayerState()}updateCurrentContext(e,t){return this._controller.updateCurrentContext(e,t)}getLastActiveDevice(){return this._onlyLocalState||this._hasFakeState?this._generateLocalDeviceInfo(this._hasFakeState):this._controller.getActiveDevice().then((e=>(null==e?void 0:e.local)&&this._streamer?(e.hidden=this._hidden,this._streamer.getVolume().then((t=>(e.volume=t,e)))):e))}getCurrentState(){if(!this._onlyLocalState&&(this._preferController||!this._localPlayback)){const e=!this._localPlayerEnabled||!this._claimInactivePlayerStates;return this._controller.getCurrentState(e).then((e=>!this._preferController&&this._localPlayback?this.getCurrentState():e))}return this._onStreamerConnect().then(this._streamer.getCurrentState.bind(this._streamer))}pause(e,t){return this._runOnDevice(e,(()=>this._streamer.pause()),this._controller.pause.bind(this._controller,e,t),{loggingParams:null==t?void 0:t.loggingParams,forceRemoteAction:null==t?void 0:t.forceRemoteAction})}resume(e,t){return this._runOnDevice(e,(()=>this._streamer.resume()),this._controller.resume.bind(this._controller,e,t),{loggingParams:null==t?void 0:t.loggingParams,forceRemoteAction:null==t?void 0:t.forceRemoteAction})}togglePlay(e,t){return this._runOnDevice(e,(()=>this._streamer.togglePlay()),this._controller.togglePlay.bind(this._controller,e,t),{loggingParams:null==t?void 0:t.loggingParams,forceRemoteAction:null==t?void 0:t.forceRemoteAction})}playURI(e,t,n){return this._canStartNewContext(t).then((()=>(this._autoActivateElement&&this._activateElement(),this._controller.playURI(e,t,n))))}playPages(e,t,n){return this._canStartNewContext(t).then((()=>(this._autoActivateElement&&this._activateElement(),this._controller.playPages(e,t,n))))}playTracks(e,t,n){return this._canStartNewContext(t).then((()=>(this._autoActivateElement&&this._activateElement(),this._controller.playTracks(e,t,n))))}nextTrack(e,t){return this.getCurrentState().then((n=>{if(null==n?void 0:n.disallows.skipping_next)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Skipping is not allowed with current content."));const i={};let r=()=>this._streamer.nextTrack(s.FORWARD_BUTTON);const a=this._controller.nextTrack.bind(this._controller,e,i);return(null==t?void 0:t.track)&&(r=a,i.track=this._prepareSkipTrack(t.track)),(null==t?void 0:t.loggingParams)&&(i.loggingParams=t.loggingParams),this._runOnDevice(e,r,a,{loggingParams:null==t?void 0:t.loggingParams,forceRemoteAction:null==t?void 0:t.forceRemoteAction})}))}smartPreviousTrack(e,t){return this.getCurrentState().then((n=>{if(!n)return Promise.reject(new g(o.HARMONY_NO_TRACKS_LOADED,"No current state."));return(n.disallows||{}).seeking||n.position<3e3?n.disallows.skipping_prev?Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Skipping is not allowed with current content.")):this.previousTrack(e,t):this.seek(0,e)}))}previousTrack(e,t){return this.getCurrentState().then((n=>{if(null==n?void 0:n.disallows.skipping_prev)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Skipping is not allowed with current content."));const i={};let r=()=>this._streamer.previousTrack(s.FORWARD_BUTTON);const a=this._controller.previousTrack.bind(this._controller,e,i);return(null==t?void 0:t.track)&&(r=a,i.track=this._prepareSkipTrack(t.track)),(null==t?void 0:t.loggingParams)&&(i.loggingParams=t.loggingParams),this._runOnDevice(e,r,a,{loggingParams:null==t?void 0:t.loggingParams,forceRemoteAction:null==t?void 0:t.forceRemoteAction})}))}seek(e,t){var n;return null!==(n=this._throttledSeek(e,t))&&void 0!==n?n:Promise.resolve(!0)}seekForward(e=15e3,t){return this._movePosition(e,t)}seekBackward(e=15e3,t){return this._movePosition(-1*e,t)}getVolume(){return this._streamer?this._streamer.getVolume():Promise.resolve(-1)}setVolume(e,t){return this._runOnDevice(t,(()=>this._streamer.setVolume(e)),this._controller.setVolume.bind(this._controller,e),{bypassFakeState:!0})}getVideoProfiles(){if(!this._streamer)throw new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled.");return this._streamer.getVideoVariants()}setPreferredBitrate(e){if(!this._streamer)throw new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled.");return this._streamer.setPreferredBitrate(e)}getDevices(){return this._controller.getDevices().then(this._parseDeviceList).then((e=>(this._lastDeviceList=e,e)))}setQueue(e,t,n){console.warn("Harmony.setQueue is deprecated; migrate to new PlayerQueue API");const i=()=>this._controller.setQueue(e,t,n);return this._runOnDevice(n,i,i)}addToQueue(e,t){const n=e.map((e=>"string"==typeof e?e:e.uri));return this._controller.getQueueManager().addToQueue(n,t)}setShuffle(e,t,n){const i=()=>this._controller.setShuffle(e,t,n);return this._runOnDevice(t,i,i,{loggingParams:null==n?void 0:n.loggingParams,forceRemoteAction:null==n?void 0:n.forceRemoteAction})}toggleShuffle(e,t){const n=()=>this._controller.toggleShuffle(e,t);return this._runOnDevice(e,n,n,{loggingParams:null==t?void 0:t.loggingParams,forceRemoteAction:null==t?void 0:t.forceRemoteAction})}setRepeatMode(e,t){const n=()=>this._controller.setRepeatMode(e,t);return this._runOnDevice(t,n,n)}cycleRepeatMode(e){const t=()=>this._cycleRepeatMode(e);return this._runOnDevice(e,t,t)}transfer(e,t){const n=e||d,i=()=>this._controller.transfer(n,t);return this._autoActivateElement&&this._activateElement(),this._runOnDevice(n,i,i,{bypassFakeState:!0,loggingParams:null==t?void 0:t.loggingParams,forceRemoteAction:null==t?void 0:t.forceRemoteAction})}logout(e){return this._controller.logout(e||d)}activateElement(){return this._streamer?this._streamer.activateElement():Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}getQueueManager(){return this._controller.getQueueManager(((e,t)=>this._runOnDevice(t,e,e)),{reportInactiveQueues:this._claimInactivePlayerStates,onlyLocalQueue:this._onlyLocalState,reportInitial:this._hasFakeState||this._localPlayback})}hideSubtitles(){if(!this._localPlayback)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot hide subtitles on remote player."));const e=this._streamer;return e?this.getCurrentState().then((t=>{var n;return"video"!==(null===(n=null==t?void 0:t.track_window.current_track)||void 0===n?void 0:n.media_type)?Promise.reject(new g(o.HARMONY_INVALID_MEDIA_TYPE,"Content type does not allow subtitles.")):e.hideSubtitles()})):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}showSubtitles(){if(!this._localPlayback)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot show subtitles on remote player."));const e=this._streamer;return e?this.getCurrentState().then((t=>{var n;return"video"!==(null===(n=null==t?void 0:t.track_window.current_track)||void 0===n?void 0:n.media_type)?Promise.reject(new g(o.HARMONY_INVALID_MEDIA_TYPE,"Content type does not allow subtitles.")):e.showSubtitles()})):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}areSubtitlesShown(){if(!this._localPlayback)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot show subtitles on remote player."));const e=this._streamer;return e?this.getCurrentState().then((t=>{var n;return"video"!==(null===(n=null==t?void 0:t.track_window.current_track)||void 0===n?void 0:n.media_type)?Promise.reject(new g(o.HARMONY_INVALID_MEDIA_TYPE,"Content type does not allow subtitles.")):e.areSubtitlesShown()})):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}getSubtitleLanguages(){if(!this._localPlayback)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot get subtitle languages on remote player."));const e=this._streamer;return e?this.getCurrentState().then((t=>{var n;return"video"!==(null===(n=null==t?void 0:t.track_window.current_track)||void 0===n?void 0:n.media_type)?Promise.reject(new g(o.HARMONY_INVALID_MEDIA_TYPE,"Content type does not allow subtitles.")):e.getSubtitleLanguages()})):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}getActiveSubtitleLanguage(){if(!this._localPlayback)return Promise.resolve(null);const e=this._streamer;return e?this.getCurrentState().then((t=>{var n;return"video"!==(null===(n=null==t?void 0:t.track_window.current_track)||void 0===n?void 0:n.media_type)?Promise.reject(new g(o.HARMONY_INVALID_MEDIA_TYPE,"Content type does not allow subtitles.")):e.getActiveSubtitleLanguage()})):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}setSubtitleLanguage(e){if(!this._localPlayback)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot set subtitle languages on remote player."));const t=this._streamer;return t?this.getCurrentState().then((n=>{var i;return"video"!==(null===(i=null==n?void 0:n.track_window.current_track)||void 0===i?void 0:i.media_type)?Promise.reject(new g(o.HARMONY_INVALID_MEDIA_TYPE,"Content type does not allow subtitles.")):t.setSubtitleLanguage(e)})):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}deactivateSubtitleEvents(){if(!this._localPlayback)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot deactivate subtitle events on remote player."));const e=this._streamer;return e?e.deactivateSubtitleEvents():Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}activateSubtitleEvents(){if(!this._localPlayback)return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot activate subtitle events on remote player."));const e=this._streamer;return e?e.activateSubtitleEvents():Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}setBackgrounded(e){return this._localPlayback?this._streamer?this._streamer.setBackgrounded(e):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled.")):Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot set background mode on remote player."))}setVideoResolution(e){return this._localPlayback?this._streamer?this._streamer.setVideoResolution(e):Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled.")):Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot set preferred video resolution on remote player."))}getMediaConfig(){return this._streamer?this._streamer.getMediaConfig():Promise.reject(new g(o.HARMONY_LOCAL_PLAYER_DISABLED,"The local player is not enabled."))}setPlaybackSpeed(e,t){return isNaN(e)||e<.5||e>3.5?Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,`Invalid playback speed: ${e}. Should be in range 0.5 - 3.5`)):this.getCurrentState().then((n=>!n||n.disallows.setting_playback_speed?Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,"Cannot change playback speed; content type is not allowed.")):this._runOnDevice(t,(()=>this._streamer.setPlaybackSpeed(e)),(()=>this._controller.setPlaybackSpeed(e,t)))))}sendCustomSignal(e,t,n){return this.getCurrentState().then((i=>{if(((null==i?void 0:i.disallows.signals)||{})[e])return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,`Sending signal ${e} is not allowed.`));const r=()=>this._controller.sendCustomSignal(e,t,n);return this._runOnDevice(t,r,r,{loggingParams:null==n?void 0:n.loggingParams,forceRemoteAction:null==n?void 0:n.forceRemoteAction})}))}playAsNextInQueue(e,t,n){const i=()=>this._controller.playAsNextInQueue(e,t,n);return this._runOnDevice(t,i,i,{loggingParams:null==n?void 0:n.loggingParams,forceRemoteAction:null==n?void 0:n.forceRemoteAction})}setModes(e,t,n){return this.getCurrentState().then((i=>{var r,a;const s=(null==i?void 0:i.disallows)||{};for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];if(null===(a=null===(r=s.setting_modes)||void 0===r?void 0:r[t])||void 0===a?void 0:a[n])return Promise.reject(new g(o.HARMONY_OPERATION_FORBIDDEN,`Setting ${t} to ${n} is not allowed.`))}const c=()=>this._controller.setModes(e,t,n);return this._runOnDevice(t,c,c,{loggingParams:null==n?void 0:n.loggingParams,forceRemoteAction:null==n?void 0:n.forceRemoteAction})}))}setShuffleMode(e,t,n){const i=()=>this._controller.setShuffleMode(e,t,n);return this._runOnDevice(t,i,i,{loggingParams:null==n?void 0:n.loggingParams,forceRemoteAction:null==n?void 0:n.forceRemoteAction})}}var O=n(80117),C=n(98321),R=n(40231);const N="spotify:user:attributes:mutated";class P extends c.bk{constructor(e){super(),this._currentState=null,this._transport=e.transport,this._endpoint=e.endpoint||"@webgate/melody",this._handleUserUpdate=this._handleUserUpdate.bind(this),this._init()}static create(e){return new P(e)}_init(){this.register()}_handleUserUpdate(){clearTimeout(this._debounce),this._debounce=setTimeout((()=>{this._transport.forceTokenRefresh().catch((function(){})),this.getCurrentState(!0).then((e=>{this.emit(R.J.PRODUCT_STATE_CHANGED,{productState:e})}))}),300)}_shouldRetry(e,t){const n=e.getStatusFamily();return n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}getCurrentState(e){return!e&&this._currentState?Promise.resolve(this._currentState):this._transport.request(`${this._endpoint}/v1/product_state`,{method:"GET",responseType:"json",retry:{condition:this._shouldRetry}}).then((e=>{if(e.status!==C.s.OK||!e.body)throw this._currentState=null,new Error("Cannot get the user's product state.");return this._currentState=e.body,e.body}))}register(){return this._transport.matchMessages(N,this._handleUserUpdate),Promise.resolve(!0)}deregister(){return this._transport.unmatchMessages(N,this._handleUserUpdate),Promise.resolve(!0)}}const L=/(edge)[\s\/:]([\w\d\.]+)/,k=new RegExp("(opera|ie|firefox|chrome|trident|crios|version)[\\s/:]([\\w\\d\\.]+)?.*?(safari|(?:rv[\\s\\/:]|version[\\s\\/:])([\\w\\d\\.]+)|$)"),w={};function D(e){if(!e)return e;const t=function(e,t){var n,i,o;const r=e.toLowerCase();let a=t?t.toLowerCase():"";const s=`${r}:${a}`,c=w[s];if(c)return c;const l=r.match(L),u=r.match(k)||[null,"unknown",0],d=l||u;"trident"===d[1]?(d[1]="ie",d[4]&&(d[2]=d[4])):"crios"===d[1]&&(d[1]="chrome"),a=r.match(/ip(?:ad|od|hone)/)?"ios":null!==(n=(r.match(/(?:webos|android)/)||r.match(/mac|win|linux|cros/)||[])[0])&&void 0!==n?n:"other","win"===a&&(a="windows");const p="version"===d[1]?d[3]:d[1],h="opera"===d[1]&&d[4]?d[4]:d[2],f={name:null!==(i=null==p?void 0:p.toString())&&void 0!==i?i:"unknown",version:null!==(o=null==h?void 0:h.toString())&&void 0!==o?o:"unknown",platform:a};return w[s]=f,f}(navigator.userAgent,navigator.platform);return e.replace(/\{\{([^}]+?)\}\}/g,(function(e,n){return i=n,(o=t)&&o.hasOwnProperty(i)?t[n]:"";var i,o}))}var M,x;!function(e){e.FILE_URLS_MP3="file_urls_mp3",e.FILE_URLS_EXTERNAL="file_urls_external",e.FILE_IDS_MP3="file_ids_mp3",e.FILE_IDS_MP4="file_ids_mp4",e.FILE_IDS_MP4_DUAL="file_ids_mp4_dual",e.FILE_IDS_CBCS="file_ids_mp4_cbcs",e.FILE_IDS_MP4FLAC="file_ids_mp4flac",e.MANIFEST_IDS_VIDEO="manifest_ids_video",e.MANIFEST_URLS_VIDEO_AD="manifest_urls_video_ad",e.MANIFEST_URLS_AUDIO_AD="manifest_urls_audio_ad"}(M||(M={})),function(e){e.UNKNOWN="unknown",e.COMPUTER="computer",e.TABLET="tablet",e.SMARTPHONE="smartphone",e.SPEAKER="speaker",e.TV="tv",e.AVR="avr",e.STB="stb",e.AUDIO_DONGLE="audio_dongle",e.GAME_CONSOLE="game_console",e.CAST_VIDEO="cast_video",e.CAST_AUDIO="cast_audio",e.AUTOMOBILE="automobile",e.SMARTWATCH="smartwatch",e.CHROMEBOOK="chromebook"}(x||(x={}));const U="undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues;const V=e=>U?function(e){return crypto.getRandomValues(new Uint8Array(e))}(e):function(e){const t=[];for(;t.length<e;)t.push(Math.floor(256*Math.random()));return t}(e),F=e=>{const t=Math.ceil(e/2);return function(e){let t="";for(let n=0;n<e.length;n++){const i=e[n];i<16&&(t+="0"),t+=i.toString(16)}return t}(V(t))},B=()=>F(40),H="_spharmony_device_id";const G={get:function(e,t=!1){if(e&&"string"==typeof e)return e;if(t)return B();let n=localStorage.getItem(H);return n||(n=B(),localStorage.setItem(H,n)),n},generate:B};class W extends c.bk{constructor(e){var t;if(super(),this._platformVersion="",this._metadata={},this._manifestPrependOffset=0,!e)throw new TypeError("Invalid argument `options`.");if(!e.id)throw new TypeError("Argument `options.id` is required.");if(!e.name||!e.model||!e.type)throw new TypeError("Incomplete `options` value.");this._id=e.id,this._type=e.type,this._brand=e.brand,this._model=e.model,this._isGroup=!!e.is_group,this._name=e.name,this._platformName=e.platform_name,this._platformIdentifier=e.platform_identifier,this._platformVersion=e.platform_version||"",this._metadata=e.metadata||{},this._capabilities=e.capabilities||{manifest_formats:[]},this._manifestPrependOffset=(null===(t=this._capabilities.manifest_formats)||void 0===t?void 0:t.length)||0}static create(e){return new W({id:G.get(e.id,e.randomizeId),model:e.model||D("harmony-{{name}}.{{version}}-{{platform}}").toLowerCase(),name:e.nameTemplate?D(e.nameTemplate):e.name||(t=D("Spotify ({{name}}/{{platform}})"),t.replace(/\b[a-z]/g,(e=>e.toUpperCase()))),type:e.type||x.COMPUTER,brand:e.brand||"SpotifyHarmonyGeneric",platform_name:e.platform_name,platform_identifier:e.platform_identifier,platform_version:e.platform_version,metadata:e.metadata||{},capabilities:e.capabilities||{},is_group:!!e.is_group});var t}getId(){return this._id}setCapability(e,t){if("manifest_formats"===e)throw new TypeError('Cannot change capability "manifest_formats"');return this._capabilities[e]=t,this.emit("descriptor_changed",{descriptor:this.toJSON()}),!0}getCapability(e){if("manifest_formats"===e)throw new TypeError("Use `descriptor.getManifestFormats()`.");return this._capabilities[e]}setName(e){return this._name=e,this.emit("descriptor_changed",{descriptor:this.toJSON()}),!0}getName(){return this._name}getType(){return this._type}getBrand(){return this._brand}getModel(){return this._model}getPlatformIdentifier(){return this._platformIdentifier||`Partner ${this._brand} ${this._model}`}getPlatformName(){return this._platformName||this.getPlatformIdentifier()}getPlatformVersion(){return this._platformVersion}getManifestFormats(){return this._capabilities.manifest_formats||[]}appendManifestFormat(...e){const t=this._capabilities.manifest_formats;Array.isArray(t)&&t.push(...e)}prependManifestFormat(...e){const t=this._capabilities.manifest_formats;Array.isArray(t)&&t.splice(this._manifestPrependOffset,0,...e)}supportsVideoManifestFormats(){const e=this._capabilities.manifest_formats;return-1!==(null==e?void 0:e.indexOf(M.MANIFEST_IDS_VIDEO))}toJSON(){return{brand:this._brand,capabilities:Object.assign({},this._capabilities),id:this._id,metadata:Object.assign({},this._metadata),model:this._model,name:this._name,platform_name:this._platformName,platform_identifier:this._platformIdentifier,platform_version:this._platformVersion,type:this._type}}toTrackPlaybackDeviceInfo(){return{brand:this._brand,capabilities:Object.assign({},this._capabilities),device_id:this._id,device_type:this._type,metadata:Object.assign({},this._metadata),model:this._model,name:this._name,platform_name:this._platformName,platform_identifier:this._platformIdentifier,is_group:this._isGroup}}}var j=n(36858);class Y{constructor(e){this._melodyLogger=new j.nj(e)}logClientEvent(e,t){return e?this._melodyLogger.sendLog("/v1/msg/batch",{type:"client_event",message:{source:e.source||j.Z7.UNKNOWN,context:e.context||j.Z7.UNKNOWN,event:e.event||j.Z7.UNKNOWN,event_version:e.event_version||j.Z7.EMPTY,test_version:e.test_version||j.Z7.EMPTY,source_version:e.source_version||j.Z7.UNKNOWN,source_vendor:e.source_vendor||j.Z7.UNKNOWN,json_data:"json"===t?e.json_data||"{}":JSON.stringify(e.json_data||{})}},{batch:!0}):Promise.reject(new TypeError("Logger.logClientEvent `data` cannot be null."))}logMetrics(e,t){if(!e&&!t)return Promise.resolve(!0);const n=e||[],i=t||[];if(!n.length&&!i.length)return Promise.resolve(!0);if(!Array.isArray(n)||!Array.isArray(i))return Promise.reject(new TypeError("Logger.logMetrics `meters` and `timers` must be null or an array."));for(const e of n)if(!("what"in e)||!("result"in e)||!("reason"in e))return Promise.reject(new TypeError("Logger.logMetrics: Invalid meter format in `meters` array."));for(const e of i)if(!("what"in e)||!("duration"in e))return Promise.reject(new TypeError("Logger.logMetrics: Invalid timer format in `timers` array."));return this._melodyLogger.sendLog("/v1/metric",{sdk_id:void 0,platform:void 0,client_version:void 0,meters:n,timers:i})}logJSSDKError(e,t){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_error",message:{source:e.source||j.Z7.UNKNOWN,source_version:e.source_version||j.Z7.UNKNOWN,type:e.type||j.Z7.UNKNOWN,message:e.message||j.Z7.EMPTY,stack:JSON.stringify(e.stack||j.Z7.EMPTY),json_data:"json"===t?e.json_data||"{}":JSON.stringify(e.json_data||{}),json_data_version:e.json_data_version||j.Z7.EMPTY_VERSION}},{batch:!0})}logJSSDKContentRequest(e){var t;return this._melodyLogger.sendLog("/v1/msg/jssdk_content_request",{source:e.source||j.Z7.UNKNOWN,type:e.type||j.Z7.UNKNOWN,http_status:null!==(t=e.http_status)&&void 0!==t?t:void 0,ms_request_duration:e.ms_request_duration||j.Z7.EMPTY,n_retries:e.n_retries||j.Z7.ZERO,playback_id:e.playback_id||j.Z7.EMPTY})}logJSSDKConnectCommand(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_connect_command",message:{ms_ack_duration:e.ms_ack_duration,ms_request_latency:e.ms_request_latency||j.Z7.ZERO,command_id:e.command_id||j.Z7.EMPTY,command_type:e.command_type||j.Z7.EMPTY,target_device_brand:e.target_device_brand||j.Z7.EMPTY,target_device_model:e.target_device_model||j.Z7.EMPTY,target_device_client_id:e.target_device_client_id||j.Z7.EMPTY,target_device_id:e.target_device_id||j.Z7.EMPTY,interaction_ids:e.interaction_ids||j.Z7.EMPTY,play_origin:e.play_origin||j.Z7.EMPTY,result:e.result||j.Z7.EMPTY,http_response:e.http_response||j.Z7.EMPTY,http_status_code:e.http_status_code||j.Z7.ZERO}},{batch:!0})}}const z=O.m.forTag("harmonyclient"),K=/^[a-zA-Z0-9_%:-]{1,40}$/;class J extends c.bk{constructor(e){if(super(),this._platformIdentifier=(0,l.u)(),this._platformVersion=(0,l.u)(),!e)throw new TypeError("Argument `options` is not defined.");if(!e.transport)throw new TypeError("No Transport instance provided");if(!e.transport.hasPlugin("dealer"))throw new TypeError("Transport has no Dealer plugin.");this._transport=e.transport,this._deviceDescriptor=this._initDeviceDescriptor(e),this._logger=new Y({transport:this._transport.toPublic(),sdkId:this.getSDKId(),platform:this._platformIdentifier.promise,clientVersion:this._platformVersion.promise}),this._productStateObserver=P.create({transport:this._transport}),this._onConnected=this._onConnected.bind(this),this._onAuthenticated=this._onAuthenticated.bind(this),this._onConnectionError=this._onConnectionError.bind(this),this._onAuthenticationError=this._onAuthenticationError.bind(this),this._onShortSessionDisconnect=this._onShortSessionDisconnect.bind(this),this._attachListeners()}static create(e){return new J(e)}static of(e){return e._client}_createDeviceDescriptor(e,t={}){var n,i;if((null==t?void 0:t.id)&&!K.test(t.id))throw g.fatal(o.HARMONY_INVALID_DESCRIPTOR_ID,"Invalid device id.");const r=t.capabilities||{},a={change_volume:null===(n=r.change_volume)||void 0===n||n,endsong_snooping:r.endsong_snooping,enable_play_token:!0,supports_file_media_type:!0,play_token_lost_behavior:e.playTokenLostBehavior||"pause",disable_connect:!!e.hidden,audio_podcasts:null===(i=r.audio_podcasts)||void 0===i||i,video_playback:r.video_playback,lossless_playback:r.lossless_playback,volume_steps:void 0!==r.volume_steps&&r.volume_steps>=0&&r.volume_steps<p?r.volume_steps:void 0,manifest_formats:[M.FILE_IDS_MP3,M.FILE_URLS_MP3,M.MANIFEST_URLS_AUDIO_AD],video_ads:r.video_ads},s=W.create(Object.assign(Object.assign({},t),{capabilities:a}));return this._platformIdentifier.resolve(s.getPlatformIdentifier()),this._platformVersion.resolve(s.getPlatformVersion()),this.proxyEmit(s,"descriptor_changed","descriptor_changed"),s}_initDeviceDescriptor(e){return Promise.resolve(e.descriptor).then(this._createDeviceDescriptor.bind(this,e)).catch((e=>(this._onError(f.HARMONY,{error:e}),Promise.reject(e))))}_attachListeners(){const e=this._transport;e.on(a.TransportEvent.CONNECTED,this._onConnected),e.on(a.TransportEvent.AUTHENTICATED,this._onAuthenticated),e.on(a.TransportEvent.CONNECTION_FAILED,this._onConnectionError),e.on(a.TransportEvent.AUTHENTICATION_FAILED,this._onAuthenticationError),this.proxyEmit(e,a.TransportEvent.RECONNECTING,"reconnecting"),this.proxyEmit(e,a.TransportEvent.RECONNECTED,"reconnected"),this.proxyEmit(e,a.TransportEvent.LOGGED_OUT,"logged_out"),this.proxyEmitSync(e,a.TransportEvent.BEFORE_OFFLINE_DISCONNECT,"before_offline_disconnect"),this.proxyEmitSync(e,a.TransportEvent.BEFORE_ONLINE_DISCONNECT,"before_disconnect"),e.on(a.TransportEvent.SHORT_SESSION_DISCONNECTED,this._onShortSessionDisconnect.bind(this)),this.proxyEmit(this._productStateObserver,a.TransportEvent.PRODUCT_STATE_CHANGED,"product_state_changed"),this.on("before_disconnect",(e=>{const t=this._productStateObserver.deregister().catch((()=>{}));e.data.awaitPromise(t)}))}_onError(e,t){this.emit("error",{source:e,error:t.error}),t.error&&t.error.unrecoverable&&this.emit("unrecoverable_failure",{source:e,error:t.error})}_onConnected(){this.emit("connected",null)}_onAuthenticated(){this.emit("authenticated",null)}_onConnectionError(e){this._onError(f.TRANSPORT,{error:e.data.error}),this.emit("connection_error",e.data)}_onAuthenticationError(e){this._onError(f.TRANSPORT,{error:e.data.error}),this.emit("authentication_error",e.data)}_onShortSessionDisconnect(e){this._logger.logClientEvent({source:"transport",source_version:A.tagged,source_vendor:"spotify",event:e.type,event_version:"1.0.0",json_data:{disconnectCount:e.data.disconnectCount,sessionLength:e.data.sessionLength}},"object").catch((t=>z.warn(`${e.type} Logging Error:`,t)))}getVersionDescriptor(){return Object.assign({},A)}getSDKId(){return`harmony:${A.tagged}`}getUntaggedSDKId(){return`harmony:${A.version}`}getPlatformIdentifier(){return this._platformIdentifier.promise}getPlatformVersion(){return this._platformVersion.promise}getLogger(){return this._logger}logAppMetrics(e,t){if(!this._logger)throw new TypeError("Invalid logger instance");return this._logger.logMetrics(e,t)}request(e,t){return this._transport.request(e,t)}getPublicTransport(){return this._transport.toPublic()}getClientDescriptor(){return this._deviceDescriptor.then((e=>e.toJSON()))}getDeviceDescriptor(){return this._deviceDescriptor}getUserInfo(){return this._transport.request("@webapi/v1/me",{responseType:"json"}).then((e=>{const t=e.body;if(200!==e.status){const t=new g(o.USER_INFO_REQUEST_FAILED_WITH_STATUS,`User info request failed with status ${e.status}`);return t.status=e.status,Promise.reject(t)}return t?{display_name:t.display_name,followers:t.followers,id:t.id,images:t.images,uri:t.uri}:Promise.reject(new g(o.USER_INFO_REQUEST_EMPTY_RESPONSE,"Unexpected empty response."))}))}getProductState(){return this._productStateObserver.getCurrentState()}setName(e){return this._deviceDescriptor.then((function(t){return t.setName(e)}))}setNameTemplate(e){return this.setName(D(e))}setCapability(e,t){return this._deviceDescriptor.then((n=>n.setCapability(e,t)))}notifyError(e,t){this._onError(e,{error:t})}}var q,X=n(57128),$=n(22239);!function(e){e.FRAGMENT_FETCHED="fragment_fetched",e.FRAGMENT_FETCH_ERROR="fragment_fetch_error",e.VIDEO_PROFILE_CHANGED="video_profile"}(q||(q={}));var Z,Q,ee,te,ne;!function(e){e.URL="URL",e.MSE="MSE"}(Z||(Z={})),function(e){e.KEY_SESSION_MESSAGE="message",e.KEY_SESSION_STATUSES_CHANGE="keystatuseschange",e.MEDIA_SOURCE_OPEN="sourceopen",e.MEDIA_SOURCE_CLOSE="sourceclose",e.SOURCE_BUFFER_UPDATE_END="updateend",e.MS_KEY_ADDED="mskeyadded",e.MS_KEY_ERROR="mskeyerror",e.MS_KEY_MESSAGE="mskeymessage",e.MS_NEEDKEY="msneedkey",e.WEBKIT_KEY_ADDED="webkitkeyadded",e.WEBKIT_KEY_ERROR="webkitkeyerror",e.WEBKIT_KEY_MESSAGE="webkitkeymessage",e.WEBKIT_NEEDKEY="webkitneedkey",e.V0_1B_KEY_ADDED="keyadded",e.V0_1B_KEY_ERROR="keyerror",e.V0_1B_KEY_MESSAGE="keymessage",e.V0_1B_NEEDKEY="needkey",e.MEDIA_CANPLAY="canplay",e.MEDIA_CANPLAYTHROUGH="canplaythrough",e.MEDIA_DURATIONCHANGE="durationchange",e.MEDIA_ENCRYPTED="encrypted",e.MEDIA_ENDED="ended",e.MEDIA_ERROR="error",e.MEDIA_LOADEDMETADATA="loadedmetadata",e.MEDIA_PAUSE="pause",e.MEDIA_PLAY="play",e.MEDIA_PLAYING="playing",e.MEDIA_SEEKING="seeking",e.MEDIA_TIMEUPDATE="timeupdate",e.MEDIA_WAITING="waiting",e.MEDIA_RATECHANGE="ratechange",e.MEDIA_RESIZE="resize",e.INTERNAL_ENCRYPTED="__encrypted",e.INTERNAL_PLAYER_CANPLAY="__canplay",e.INTERNAL_PLAYER_CANPLAYTHROUGH="__canplaythrough",e.INTERNAL_MEDIA_REQUIRES_DURATION="__requiresduration",e.INTERNAL_PLAYER_LOADED_METADATA="__loadedmetadata",e.BUFFER_APPEND_ERROR="append_error",e.BUFFER_STALLED="stalled",e.BUFFERING_START="buffering_start",e.BUFFERING_END="buffering_end",e.BUFFER_SOURCE_OPEN="source_open",e.BUFFER_SOURCE_CLOSE="source_close",e.BUFFER_UPDATE_END="update_end",e.BUFFER_QUOTA_EXCEEDED="quota_exceeded",e.EME_LICENSE_REQUEST_ERROR="license_request_error",e.EME_LICENSE_REQUEST_CAPPED="license_request_capped",e.LIST_PLAYER_AUTOPLAY_FAILED="player_autoplay_failed",e.LIST_PLAYER_BEFORE_LIST_CHANGE="before_list_change",e.LIST_PLAYER_BEFORE_NEXT="before_next",e.LIST_PLAYER_BEFORE_PLAYER_LOAD="before_player_load",e.LIST_PLAYER_BEFORE_PREVIOUS="before_previous",e.LIST_PLAYER_BEFORE_TRACK_LOAD="before_track_load",e.LIST_PLAYER_BEFORE_VOLUME_CHANGE="before_volume_change",e.LIST_PLAYER_BUFFER_STALLED="stalled",e.LIST_PLAYER_BUFFERING_START="buffering_start",e.LIST_PLAYER_BUFFERING_END="buffering_end",e.LIST_PLAYER_REBUFFERING_START="rebuffering_start",e.LIST_PLAYER_REBUFFERING_END="rebuffering_end",e.LIST_PLAYER_CAPPED="capped",e.LIST_PLAYER_CLEARED="cleared",e.LIST_PLAYER_DURATION_CHANGED="duration_changed",e.LIST_PLAYER_ERROR="error",e.LIST_PLAYER_ERROR_SYNC="error_sync",e.LIST_PLAYER_LIST_CHANGED="list_change",e.LIST_PLAYER_LIST_ENDED="list_ended",e.LIST_PLAYER_LOAD_VIDEO="load_video",e.LIST_PLAYER_MAX_LIST_ERRORS_REACHED="max_list_errors_reached",e.LIST_PLAYER_PAUSED="paused",e.LIST_PLAYER_PLAYED_THRESHOLD_REACHED="played_threshold_reached",e.LIST_PLAYER_PLAYER_LOAD="player_load",e.LIST_PLAYER_PLAYING="playing",e.LIST_PLAYER_POSITION_CHANGED="position_changed",e.LIST_PLAYER_PROGRESS="progress",e.LIST_PLAYER_REPEAT_MODE_CHANGED="repeat_mode_changed",e.LIST_PLAYER_SHUFFLE_CHANGED="shuffle_changed",e.LIST_PLAYER_STOPPED="stopped",e.LIST_PLAYER_STOPPED_VIDEO="stopped_video",e.LIST_PLAYER_TRACKING_DATA_CREATED="tracking_data_created",e.LIST_PLAYER_TRACKING_DATA_FINALIZED="tracking_data_finalized",e.LIST_PLAYER_TRACK_ENDED="track_ended",e.LIST_PLAYER_TRACK_LOADED="track_loaded",e.LIST_PLAYER_TRACK_TIMEOUT="track_timeout",e.LIST_PLAYER_TRACK_UNPLAYABLE="track_unplayable",e.LIST_PLAYER_DATA_CREATED="tracking_data_created",e.LIST_PLAYER_DATA_FINALIZED="tracking_data_finalized",e.LIST_PLAYER_VOLUME_CHANGED="volume_changed",e.LIST_PLAYER_VIDEO_ELEMENT_APPENDED="video_element_appended",e.LIST_PLAYER_VIDEO_ELEMENT_REMOVED="video_element_removed",e.LIST_PLAYER_VIDEO_PROFILE_CHANGED="video_profile_changed",e.LIST_PLAYER_SEEK_HANDLED="list_player_seek_handled",e.LIST_PLAYER_DISPLAYED_CUES_CHANGED="displayed_cues_changed",e.LIST_PLAYER_PLAYBACK_SPEED_CHANGED="playback_speed_changed",e.LIST_PLAYER_MUTED_CHANGED="muted_changed",e.LIST_PLAYER_SUBTITLE_LANGUAGES_LOADED="subtitle_languages_loaded",e.LOGGER_ERROR="error",e.PLAYER_AUTOPLAY_FAILED="player_autoplay_failed",e.PLAYER_BEFORE_LOAD="before_load",e.PLAYER_BEFORE_STOP="before_stop",e.PLAYER_BEFORE_VOLUME_CHANGE="before_volume_change",e.PLAYER_BUFFER_STALLED="stalled",e.PLAYER_BUFFERING_START="buffering_start",e.PLAYER_BUFFERING_END="buffering_end",e.PLAYER_CAN_PRELOAD="can_preload",e.PLAYER_CAPPED="capped",e.PLAYER_DURATION_CHANGED="duration_changed",e.PLAYER_ENDED="ended",e.PLAYER_ENDED_VIDEO="ended_video",e.PLAYER_ERROR="error",e.PLAYER_WARNING="warning",e.PLAYER_FIRST_BYTES="first_bytes",e.PLAYER_KEY_RECEIVED="key",e.PLAYER_LOAD="load",e.PLAYER_LOAD_VIDEO="load_video",e.PLAYER_LOADING_FAILED="loading_failed",e.PLAYER_MUTED_CHANGED="muted_changed",e.PLAYER_PAUSED="paused",e.PLAYER_PLAY="play",e.PLAYER_PLAYING="playing",e.PLAYER_POSITION_CHANGED="position_changed",e.PLAYER_PRELOADING_ERROR="preloading_error",e.PLAYER_PROGRESS="progress",e.PLAYER_REBUFFERING_START="rebuffering_start",e.PLAYER_REBUFFERING_END="rebuffering_end",e.PLAYER_STALLED="stalled",e.PLAYER_STOPPED="stopped",e.PLAYER_STOPPED_VIDEO="stopped_video",e.PLAYER_PLAYED_THRESHOLD_REACHED="played_threshold_reached",e.PLAYER_TIMEOUT="timeout",e.PLAYER_PLAYBACK_START="playback_start",e.PLAYER_TRACKING_DATA_CREATED="tracking_data_created",e.PLAYER_TRACKING_DATA_FINALIZED="tracking_data_finalized",e.PLAYER_VIDEO_ELEMENT_APPENDED="video_element_appended",e.PLAYER_VIDEO_ELEMENT_REMOVED="video_element_removed",e.PLAYER_VIDEO_PROFILE_CHANGED="video_profile_changed",e.PLAYER_DISPLAYED_CUES_CHANGED="displayed_cues_changed",e.PLAYER_SEEKING="seeking",e.PLAYER_FRAGMENT_FETCHED="fragment_fetched",e.PLAYER_FRAGMENT_FETCH_ERROR="fragment_fetch_error",e.PLAYER_VIDEO_MANIFEST_RESOLVED="video_manifest_resolved",e.PLAYER_VIDEO_MANIFEST_RESOLVE_FAILED="video_manifest_resolve_failed",e.PLAYER_PLAYBACK_SPEED_CHANGED="playback_speed_changed",e.PLAYER_SUBTITLE_LANGUAGES_LOADED="subtitle_languages_loaded",e.PLAYER_VIDEO_RESIZED="resize",e.PLAYER_MANAGER_READY="ready",e.TRACKER_PLAYBACK_START="playback_start",e.TRACKER_PLAYED_THRESHOLD_REACHED="played_threshold_reached",e.TRACKER_TRACKING_DATA_CREATED="tracking_data_created",e.TRACKER_TRACKING_DATA_FINALIZED="tracking_data_finalized",e.TRACKER_FIRST_QUARTILE="tracking_first_quartile",e.TRACKER_MIDPOINT="tracking_midpoint",e.TRACKER_THIRD_QUARTILE="tracking_third_quartile",e.VIDEO_MANIFEST_RESOLVED="video_manifest_resolved",e.VIDEO_MANIFEST_RESOLVE_FAILED="video_manifest_resolve_failed",e.ABR_MANAGER_BITRATE_CHANGE="bitrate_change",e.REPORTING_START="reporting_start",e.REPORTING_CREATIVE_VIEW="reporting_creative_view",e.REPORTING_FIRST_QUARTILE="reporting_first_quartile",e.REPORTING_MIDPOINT="reporting_midpoint",e.REPORTING_THIRD_QUARTILE="reporting_third_quartile",e.REPORTING_COMPLETE="reporting_complete",e.REPORTING_PAUSE="reporting_pause",e.REPORTING_RESUME="reporting_resume",e.REPORTING_ERROR="reporting_error"}(Q||(Q={})),function(e){e.WIDEVINE="com.widevine.alpha",e.PLAYREADY="com.microsoft.playready",e.PLAYREADY_HARDWARE="com.microsoft.playready.hardware",e.FAIRPLAY="com.apple.fps.1_0",e.INVALID_SPOTIFY_KEY="com.spotify.invalid"}(ee||(ee={})),function(e){e.SUCCESS="RESULT_SUCCESS",e.INVALID="RESULT_INVALID",e.FORBIDDEN="RESULT_FORBIDDEN",e.OUT_OF_BOUNDS="RESULT_OUT_OF_BOUNDS",e.NO_LIST="RESULT_NO_LIST",e.NO_TRACK="RESULT_NO_TRACK",e.LIST_END="RESULT_LIST_END",e.INVALID_TRACK="RESULT_INVALID_TRACK",e.CANCELLED="CANCELLED",e.NO_TRACK_PLAYER="NO_TRACK_PLAYER"}(te||(te={})),function(e){e.MP3="MP3",e.MP4="MP4",e.MP4_DUAL="MP4_DUAL",e.MP4_CBCS="MP4_CBCS",e.MP4_FLAC="MP4_FLAC",e.MANIFEST_ID="MANIFEST_ID",e.AD_MANIFEST="AD_MANIFEST",e.GENERIC_MEDIA="GENERIC_MEDIA"}(ne||(ne={}));class ie extends Error{constructor(e,t){super(),this.unrecoverable=!1,this.listPlayerIgnore=!1,this.debug={},this.name="PlaybackError",this.code=e,this.message=t}static fatal(e,t){const n=new ie(e,t);return n.unrecoverable=!0,n}}n(28360);class oe extends Error{constructor(e=i.EME_ERROR_UNKNOWN,t){super(t),this.status=-1,this.licenseServer="",this.shouldRefreshEndpoint=!1,this.unrecoverable=!1,this.debug={},this.code=e,this.message=t,this.name="EMEError"}static fatal(e=i.EME_ERROR_UNKNOWN,t){const n=new oe(e,t);return n.unrecoverable=!0,n}}class re extends Error{constructor(e,t){super(t),this.name="CappingError",this.message=t,this.code=e}}function ae(e){const t=document.createEvent("Event");t.initEvent("encrypted",!1,!1),t.initDataType="cenc",t.initData=e.initData,t.fromPolyfill=!0,this.dispatchEvent(t)}class se extends c.Vk{constructor(e){super(Q.KEY_SESSION_MESSAGE,null),this.messageType="license-request",this.message=e}}class ce extends c.bk{constructor(e){super(),this._nativeKeySession=null,this._lastUpdateDeferred=(0,l.u)(),this._lastGenerateDeferred=(0,l.u)(),this.addEventListener=this.addListener,this.removeEventListener=this.removeListener,this._nativeMediaKeys=e,this._onKeyMessage=this._onKeyMessage.bind(this),this._onKeyAdded=this._onKeyAdded.bind(this),this._onKeyError=this._onKeyError.bind(this)}_attach(){const e=this._nativeKeySession;e&&(e.addEventListener(Q.MS_KEY_ADDED,this._onKeyAdded),e.addEventListener(Q.MS_KEY_ERROR,this._onKeyError),e.addEventListener(Q.MS_KEY_MESSAGE,this._onKeyMessage))}_detach(){const e=this._nativeKeySession;e&&(e.removeEventListener(Q.MS_KEY_ADDED,this._onKeyAdded),e.removeEventListener(Q.MS_KEY_ERROR,this._onKeyError),e.removeEventListener(Q.MS_KEY_MESSAGE,this._onKeyMessage))}_onKeyMessage(e){e.message&&e.message.buffer&&(this.emitEvent(new se(e.message.buffer)),this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve(!0),this._lastGenerateDeferred=null))}_onKeyAdded(){this._lastUpdateDeferred&&(this._lastUpdateDeferred.resolve(!0),this._lastUpdateDeferred=null),this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve(!0),this._lastGenerateDeferred=null),this.emit(Q.KEY_SESSION_STATUSES_CHANGE,null)}_onKeyError(){const e=this._nativeKeySession&&this._nativeKeySession.error;this._lastGenerateDeferred&&(this._lastGenerateDeferred.reject(e),this._lastGenerateDeferred=null),this._lastUpdateDeferred&&(this._lastUpdateDeferred.reject(e),this._lastUpdateDeferred=null),this.emit(Q.KEY_SESSION_STATUSES_CHANGE,null)}generateRequest(e,t){return new Promise(((e,n)=>{this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve=e,this._lastGenerateDeferred.reject=n),this._nativeKeySession=this._nativeMediaKeys.createSession("audio/mp4",new Uint8Array(t),null),this._attach()}))}update(e){return new Promise(((t,n)=>{this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve=t,this._lastGenerateDeferred.reject=n),this._nativeKeySession&&this._nativeKeySession.update(new Uint8Array(e))}))}close(){return new Promise((e=>{this._nativeKeySession&&this._nativeKeySession.close(),this._detach(),e(!0)}))}}class le{constructor(e){this._lastBoundSetter=null,this.shouldRefreshPerTrack=!0,this._nativeMediaKeys=new MSMediaKeys(e)}attach(e){return new Promise((t=>{if(e.readyState>=1)return e.msSetMediaKeys(this._nativeMediaKeys),void t();const n=()=>{e.removeEventListener(Q.MEDIA_LOADEDMETADATA,n),this._lastBoundSetter=null,e.msSetMediaKeys(this._nativeMediaKeys)};this._lastBoundSetter=n,e.addEventListener(Q.MEDIA_LOADEDMETADATA,n),e.addEventListener(Q.MS_NEEDKEY,ae),t()}))}detach(e){this._lastBoundSetter&&(e.removeEventListener(Q.MS_NEEDKEY,ae),e.removeEventListener(Q.MEDIA_LOADEDMETADATA,this._lastBoundSetter),this._lastBoundSetter=null)}setServerCertificate(){return Promise.reject(new oe(i.EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM,"Cannot set server certificate on this platform."))}createSession(){return new ce(this._nativeMediaKeys)}}function ue(e){const t=this.mediaKeys;return t&&t!==e&&t.detach(this),delete this.mediaKeys,this.mediaKeys=e,e&&e.attach(this),Promise.resolve()}class de{constructor(e,t){if(this._configuration=null,this.keySystem=e,!this._checkConfig(t))throw new oe(i.EME_NO_SUPPORTED_CONFIGURATION,"No supported configurations")}_checkConfig(e){var t,n;const i=this.keySystem;for(const o of e){const e={initDataTypes:o.initDataTypes,audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",sessionTypes:["temporary"],label:o.label};let r;if(o.audioCapabilities&&o.audioCapabilities.length&&e.audioCapabilities){r=!1;for(const n of o.audioCapabilities){const o=null===(t=n.contentType)||void 0===t?void 0:t.split(";")[0];MSMediaKeys.isTypeSupported(i,o)&&(e.audioCapabilities.push(n),r=!0)}}if(o.videoCapabilities&&o.videoCapabilities.length&&e.videoCapabilities){r=!1;for(const t of o.videoCapabilities){const o=null===(n=t.contentType)||void 0===n?void 0:n.split(";")[0];MSMediaKeys.isTypeSupported(i,o)&&(e.videoCapabilities.push(t),r=!0)}}if(r)return this._configuration=e,!0}return!1}getConfiguration(){return this._configuration}createMediaKeys(){return new Promise((e=>{e(new le(this.keySystem))}))}}const pe=O.m.forTag("eme_polyfill.v0_1b");class he extends c.bk{constructor(e,t,n){super(),this._mediaElement=null,this._lastUpdateDeferred=null,this._lastGenerateResolver=null,this.sessionId=null,this._keySystem=e,this._mediaElement=t,this._prefix=n,this.addEventListener=this.addListener,this.removeEventListener=this.removeListener}_addPrefix(e){return this._prefix?this._prefix+e.replace(/\b[a-z]/,(function(e){return e.toUpperCase()})):e}generateComplete(e){this.emitEvent(new se(e)),this._lastGenerateResolver&&(this._lastGenerateResolver.resolve(!0),this._lastGenerateResolver=null)}updateComplete(){this._lastUpdateDeferred&&(this._lastUpdateDeferred.resolve(!0),this._lastUpdateDeferred=null),this.emit(Q.KEY_SESSION_STATUSES_CHANGE,null)}handleErrorEvent(e){const t=new oe(i.EME_MEDIA_KEY_SESSION_V0_1B_ERROR,"MediaKeySession v0.1b Error");t.debug.errorCode=e.errorCode,t.debug.systemCode=e.systemCode,!e.sessionId&&this._lastGenerateResolver?(this._lastGenerateResolver.reject(t),this._lastGenerateResolver=null):e.sessionId&&this._lastUpdateDeferred?(this._lastUpdateDeferred.reject(t),this._lastUpdateDeferred=null):this.emit(Q.KEY_SESSION_STATUSES_CHANGE,null)}generateRequest(e,t){return this._mediaElement?new Promise(((e,n)=>{this._lastGenerateResolver={resolve:e,reject:n};try{this._mediaElement[this._addPrefix("generateKeyRequest")](this._keySystem,new Uint8Array(t))}catch(e){n(e),this._lastGenerateResolver=null}})):Promise.reject(new ReferenceError("InvalidState: Media keys are not attached."))}update(e){if(!this._mediaElement)return Promise.reject(new ReferenceError("InvalidState: Media keys are not attached."));if(this._lastUpdateDeferred){const t=this.update.bind(this,e);return this._lastUpdateDeferred.promise.then(t,t)}const t=(0,l.u)();this._lastUpdateDeferred=t;try{this._mediaElement[this._addPrefix("addKey")](this._keySystem,new Uint8Array(e),null,this.sessionId)}catch(e){t.reject(e),this._lastUpdateDeferred=null}return t.promise}close(){if(this.sessionId&&this._mediaElement)try{this._mediaElement[this._addPrefix("cancelKeyRequest")](this._keySystem,this.sessionId)}catch(e){pe.warn("Could not close keysession",e)}return Promise.resolve(!0)}}class fe{constructor(e,t=""){this._mediaElement=null,this._waitingForSessionIds=[],this._sessionMap={},this.shouldRefreshPerTrack=!0,this._keySystem=e,this._prefix=t,this._onKeyMessage=this._onKeyMessage.bind(this),this._onKeyAdded=this._onKeyAdded.bind(this),this._onKeyError=this._onKeyError.bind(this)}attach(e){this._mediaElement=e;const t=this._prefix;e.addEventListener(t+Q.V0_1B_NEEDKEY,ae);const n=e.addEventListener.bind(e);n(t+Q.V0_1B_KEY_ADDED,this._onKeyAdded),n(t+Q.V0_1B_KEY_ERROR,this._onKeyError),n(t+Q.V0_1B_KEY_MESSAGE,this._onKeyMessage)}detach(e){this._mediaElement=null;const t=this._prefix;e.removeEventListener(t+Q.V0_1B_NEEDKEY,ae);const n=e.removeEventListener.bind(e);n(t+Q.V0_1B_KEY_ADDED,this._onKeyAdded),n(t+Q.V0_1B_KEY_ERROR,this._onKeyError),n(t+Q.V0_1B_KEY_MESSAGE,this._onKeyMessage)}_getSession(e){const t=this._sessionMap[e];if(t)return t;const n=this._waitingForSessionIds.shift();return n?(n.sessionId=e,this._sessionMap[e]=n,n):null}_onKeyMessage(e){const t=this._getSession(e.sessionId);t?t.generateComplete(e.message):pe.warn("Got keymessage without session.")}_onKeyAdded(e){const t=this._getSession(e.sessionId);t?t.updateComplete():pe.warn("Got keyadded without session.")}_onKeyError(e){const t=this._getSession(e.sessionId);t?t.handleErrorEvent(e):pe.warn("Got keyerror without session.")}setServerCertificate(){return Promise.reject(new oe(i.EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM,"Cannot set server certificate on this platform."))}createSession(){const e=new he(this._keySystem,this._mediaElement,this._prefix);return this._waitingForSessionIds.push(e),e}}function me(e){const t=this.mediaKeys;return t&&t!==e&&t.detach(this),delete this.mediaKeys,this.mediaKeys=e,e&&e.attach(this),Promise.resolve()}class _e{constructor(e,t,n){if(this._configuration=null,this.keySystem=e,this._prefix=n,!this._checkConfig(t))throw new oe(i.EME_NO_SUPPORTED_CONFIGURATION,"No supported configurations")}_checkConfig(e){var t,n;const i=this.keySystem,o=document.createElement("video");for(const r of e){const e={initDataTypes:r.initDataTypes,audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",sessionTypes:["temporary"],label:r.label};let a=!1;if(r.audioCapabilities&&r.audioCapabilities.length&&e.audioCapabilities){a=!1;for(const n of r.audioCapabilities){const r=null===(t=n.contentType)||void 0===t?void 0:t.split(";")[0];r&&o.canPlayType(r,i)&&(e.audioCapabilities.push(n),a=!0)}}if(r.videoCapabilities&&r.videoCapabilities.length&&e.videoCapabilities){a=!1;for(const t of r.videoCapabilities){const r=null===(n=t.contentType)||void 0===n?void 0:n.split(";")[0];r&&o.canPlayType(r,i)&&(e.videoCapabilities.push(t),a=!0)}}if(a)return this._configuration=e,!0}return!1}getConfiguration(){return this._configuration}createMediaKeys(){return new Promise((e=>{e(new fe(this.keySystem,this._prefix))}))}}function ge(e){navigator.requestMediaKeySystemAccess=function(t,n){return new Promise((i=>{i(new _e(t,n,e))}))};const t=HTMLMediaElement.prototype;delete t.mediaKeys,t.setMediaKeys=me}const Ee=O.m.forTag("eme_polyfill.safari");class ve extends c.bk{constructor(e,t){super(),this._attached=!1,this._nativeKeySession=null,this._lastGenerateResolver=(0,l.u)(),this._lastUpdateResolver=(0,l.u)(),this.addEventListener=this.addListener,this.removeEventListener=this.removeListener,this._nativeMediaKeys=e,this._serverCertificate=t,this._onKeyMessage=this._onKeyMessage.bind(this),this._onKeyAdded=this._onKeyAdded.bind(this),this._onKeyError=this._onKeyError.bind(this)}_attach(){if(this._attached)return;const e=this._nativeKeySession;e?(e.addEventListener(Q.WEBKIT_KEY_MESSAGE,this._onKeyMessage),e.addEventListener(Q.WEBKIT_KEY_ADDED,this._onKeyAdded),e.addEventListener(Q.WEBKIT_KEY_ERROR,this._onKeyError)):Ee.warn("Tried to attach with no WebKitMediaKeySession")}_detach(){if(!this._attached)return;const e=this._nativeKeySession;e?(e.removeEventListener(Q.WEBKIT_KEY_MESSAGE,this._onKeyMessage),e.removeEventListener(Q.WEBKIT_KEY_ADDED,this._onKeyAdded),e.removeEventListener(Q.WEBKIT_KEY_ERROR,this._onKeyError)):Ee.warn("Tried to detach with no WebKitMediaKeySession")}_onKeyMessage(e){e.message&&e.message.buffer&&(this.emitEvent(new se(e.message.buffer)),this._lastGenerateResolver&&(this._lastGenerateResolver.resolve(!0),this._lastGenerateResolver=null))}_onKeyAdded(){this._lastUpdateResolver&&(this._lastUpdateResolver.resolve(!0),this._lastUpdateResolver=null),this.emit(Q.KEY_SESSION_STATUSES_CHANGE,null)}_onKeyError(){const e=this._nativeKeySession&&this._nativeKeySession.error,t=new oe(i.EME_MEDIA_KEY_SESSION_SAFARI_ERROR,e&&e.message||"MediaKeySession Safari Error");e&&(t.debug.errorCode=e.code,t.debug.systemCode=e.systemCode),this._lastGenerateResolver?(this._lastGenerateResolver.reject(t),this._lastGenerateResolver=null):this._lastUpdateResolver&&(this._lastUpdateResolver.reject(t),this._lastUpdateResolver=null)}_rebuildInitData(e){const t=new Uint8Array(e);if(new DataView(t.buffer).getUint32(0,!0)+4!==t.byteLength)throw new oe(i.EME_INIT_DATA_MALFORMED,"Malformed init data");const n=function(e){const t=Math.floor(e.byteLength/2),n=new Uint16Array(t),i=new DataView(e.buffer);for(let e=0;e<t;e++)n[e]=i.getUint16(2*e,!0);return String.fromCharCode.apply(null,n)}(t.slice(4)),o=n.match(/^skd:\/\/([0-9a-fA-F]+)/);if(!(null==o?void 0:o[1]))throw new oe(i.EME_INIT_DATA_MALFORMED,"Invalid content ID");const r=o[1],a=new Uint8Array(function(e){const t=new Uint8Array(2*e.length),n=new DataView(t.buffer),i=e.split("");for(let e=0,t=i.length;e<t;e++){const t=i[e].charCodeAt(0);n.setUint16(2*e,t,!0)}return t.buffer}(r)),s=this._serverCertificate,c=new Uint8Array(t.byteLength+4+a.byteLength+4+s.byteLength);let l=0;c.set(t,l),l+=t.byteLength;const u=new DataView(c.buffer);return u.setUint32(l,a.byteLength,!0),l+=4,c.set(a,l),l+=a.byteLength,u.setUint32(l,s.byteLength,!0),l+=4,c.set(s,l),c}generateRequest(e,t){return new Promise(((e,n)=>{this._lastGenerateResolver={resolve:e,reject:n};try{const e=this._rebuildInitData(t);this._nativeKeySession=this._nativeMediaKeys.createSession("video/mp4",new Uint8Array(e),null),this._attach()}catch(e){this._lastGenerateResolver=null,n(e)}}))}update(e){const t=(0,l.u)();if(this._lastUpdateResolver=t,!this._nativeKeySession)return Ee.warn("Tried to update with no WebKitMediaKeySession"),t.promise;try{this._nativeKeySession.update(new Uint8Array(e))}catch(e){t.reject(e)}return t.promise}close(){return new Promise((e=>{this._detach(),e(!0)}))}}class ye{constructor(e){this._lastBoundSetter=null,this._serverCertificate=null,this.shouldRefreshPerTrack=!0,this._nativeMediaKeys=new WebKitMediaKeys(e)}attach(e){return new Promise((t=>{if(e.readyState>=1)return e.webkitSetMediaKeys(this._nativeMediaKeys),void t();const n=()=>{e.removeEventListener(Q.MEDIA_LOADEDMETADATA,n),this._lastBoundSetter=null,e.webkitSetMediaKeys(this._nativeMediaKeys)};this._lastBoundSetter=n,e.addEventListener(Q.MEDIA_LOADEDMETADATA,n),e.addEventListener(Q.WEBKIT_NEEDKEY,ae),t()}))}detach(e){e.removeEventListener(Q.WEBKIT_NEEDKEY,ae),this._lastBoundSetter&&(e.removeEventListener(Q.MEDIA_LOADEDMETADATA,this._lastBoundSetter),this._lastBoundSetter=null)}setServerCertificate(e){return this._serverCertificate=new Uint8Array(e),Promise.resolve(!0)}createSession(){if(!this._serverCertificate)throw new oe(i.EME_INVALID_STATE_ERROR,"The server certificate is not available");return new ve(this._nativeMediaKeys,this._serverCertificate)}}class be{constructor(e,t){this.keySystem=e;const n=this._checkConfig(t);if(!n)throw new oe(i.EME_NO_SUPPORTED_CONFIGURATION,"No supported configurations");this._configuration=n}_checkConfig(e){const t=this.keySystem;let n=!1;for(const i of e){const e={initDataTypes:i.initDataTypes,audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",sessionTypes:["temporary"]};if(i.audioCapabilities)for(const o of i.audioCapabilities){if(!o.contentType)continue;const i=o.contentType.split(";")[0];WebKitMediaKeys.isTypeSupported(t,i)&&(e.audioCapabilities.push(o),n=!0)}if(i.videoCapabilities)for(const o of i.videoCapabilities){if(!o.contentType)continue;const i=o.contentType.split(";")[0];WebKitMediaKeys.isTypeSupported(t,i)&&(e.videoCapabilities.push(o),n=!0)}if(n)return e}return null}getConfiguration(){return this._configuration}createMediaKeys(){return new Promise((e=>{e(new ye(this.keySystem))}))}}function Se(e){const t=this.mediaKeys;return t&&t!==e&&t.detach(this),delete this.mediaKeys,this.mediaKeys=e,e?e.attach(this):Promise.resolve()}const Te=O.m.forTag("eme_polyfills.tester");function Ae(){return"undefined"!=typeof navigator&&(null===navigator||void 0===navigator?void 0:navigator.requestMediaKeySystemAccess)&&"undefined"==typeof WebKitMediaKeys&&"undefined"!=typeof MediaKeySystemAccess&&(null===MediaKeySystemAccess||void 0===MediaKeySystemAccess?void 0:MediaKeySystemAccess.prototype.getConfiguration)?(Te.log("Using native EME implementation."),"native"):"undefined"!=typeof HTMLMediaElement&&(null===HTMLMediaElement||void 0===HTMLMediaElement?void 0:HTMLMediaElement.prototype.webkitGenerateKeyRequest)?(Te.log('Detected "webkit" Prefixed EME v0.1b. Polyfilling.'),ge("webkit"),"v0.1b-webkit"):"undefined"!=typeof HTMLMediaElement&&(null===HTMLMediaElement||void 0===HTMLMediaElement?void 0:HTMLMediaElement.prototype.generateKeyRequest)?(Te.log("Detected Unprefixed EME v0.1b. Polyfilling."),ge(),"v0.1b"):"undefined"!=typeof MSMediaKeys?(Te.log("Detected MS IE EME. Polyfilling."),function(){navigator.requestMediaKeySystemAccess=function(e,t){return new Promise((n=>{n(new de(e,t))}))};const e=HTMLMediaElement.prototype;delete e.mediaKeys,e.setMediaKeys=ue}(),"ms-ie"):"function"==typeof WebKitMediaKeys?(Te.log("Detected Safari EME. Polyfilling."),function(){navigator.requestMediaKeySystemAccess=function(e,t){return new Promise((n=>{n(new be(e,t))}))};const e=HTMLMediaElement.prototype;delete e.mediaKeys,e.setMediaKeys=Se}(),"safari"):(Te.warn("Detected no EME APIs."),null)}const Ie={[ee.WIDEVINE]:{commonName:"widevine",licenseServer:"https://@webgate/widevine-license",withCertificate:!0,pssh_field:{audio:"pssh_widevine",video:"encryption_data"}},[ee.PLAYREADY]:{commonName:"playready",licenseServer:"https://@webgate/playready-license",withCertificate:!1,pssh_field:{audio:"pssh_playready",video:"encryption_data"}},[ee.PLAYREADY_HARDWARE]:{commonName:"playready",licenseServer:"https://@webgate/playready-license",withCertificate:!1,pssh_field:{audio:"pssh_playready",video:"encryption_data"}},[ee.FAIRPLAY]:{commonName:"fairplay",licenseServer:"https://@webgate/fairplay-license",withCertificate:!0,pssh_field:{audio:"pssh_fairplay",video:"asset_id"}},[ee.INVALID_SPOTIFY_KEY]:{commonName:"spotify-invalid",licenseServer:"https://@webgate",withCertificate:!1,pssh_field:{audio:"pssh_invalid",video:"encryption_data"}}},Oe=[{label:"video-sw-decode",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/webm; codecs="opus"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.64002a"',robustness:"SW_SECURE_DECODE"},{contentType:'video/mp4; codecs="avc1.4d402a"',robustness:"SW_SECURE_DECODE"},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:"SW_SECURE_DECODE"},{contentType:'video/webm; codecs="vp9"',robustness:"SW_SECURE_DECODE"},{contentType:'video/webm; codecs="vp8"',robustness:"SW_SECURE_DECODE"}],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"video-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/webm; codecs="opus"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.64002a"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d402a"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/webm; codecs="vp9"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/webm; codecs="vp8"',robustness:"SW_SECURE_CRYPTO"}],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"video-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:""},{contentType:'audio/webm; codecs="opus"',robustness:""}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.64002a"',robustness:""},{contentType:'video/mp4; codecs="avc1.4d402a"',robustness:""},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:""},{contentType:'video/webm; codecs="vp9"',robustness:""},{contentType:'video/webm; codecs="vp8"',robustness:""}],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-flac-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-flac-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:""}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:""}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]}];function Ce(e,t){var n,i;for(const o of e){const e={audioCapabilities:[],videoCapabilities:[]};let r,a=!1;if(null===(n=o.audioCapabilities)||void 0===n?void 0:n.length){a=!1;for(const n of o.audioCapabilities)r=n.contentType,r&&t(r)&&(e.audioCapabilities.push(n),a=!0)}if(null===(i=o.videoCapabilities)||void 0===i?void 0:i.length){a=!1;for(const n of o.videoCapabilities)r=n.contentType,r&&t(r)&&(e.videoCapabilities.push(n),a=!0)}if(a)return e}return null}const Re=/([^;]+)(?:;\s?codecs="(.*)")?/;function Ne(e){var t;const[,n="unknown",i="unknown"]=null!==(t=e.match(Re))&&void 0!==t?t:[];return{mimeType:n,codec:i,contentType:e}}const Pe=/([^;]+)(?:;\s?codecs="(.*)")?/,Le=O.m.forTag("playback.eme_manager"),ke={EMPTY:"-no-robustness",SW_CRYPTO:"-sw-crypto",SW_DECODE:"-sw-decode",HW_CRYPTO:"-hw-crypto",HW_DECODE:"-hw-decode",HW_ALL:"-hw-all"};function we(e,t){var n;const i=[],o=new RegExp(`codecs="(${t.join("|")})"`);for(const t of e)o.test(null!==(n=t.contentType)&&void 0!==n?n:"")||i.push(t);return i.length?i:null}function De(e,{audio:t,video:n}){var i,o,r,a;if(!(null==t?void 0:t.length)&&!(null==n?void 0:n.length))return e;let{audioCapabilities:s,videoCapabilities:c}=e;return(null==t?void 0:t.length)&&(null===(i=e.audioCapabilities)||void 0===i?void 0:i.length)&&(s=null!==(o=we(e.audioCapabilities,t))&&void 0!==o?o:void 0,!s)||(null==n?void 0:n.length)&&(null===(r=e.videoCapabilities)||void 0===r?void 0:r.length)&&(c=null!==(a=we(e.videoCapabilities,n))&&void 0!==a?a:void 0,!c)?null:Object.assign(Object.assign({},e),{audioCapabilities:s,videoCapabilities:c})}class Me extends c.bk{constructor(e){var t;super(),this._unauthServerCertificateBase="",this._disallowCodecs={},this._keySystemDeferred=(0,l.u)(),this._configuration=(0,l.u)(),this._keySystemSettings=null,this._keySessions=[],this._configs=[],this._pendingCertificateRequest=null,this._certificate=null,this._transport=e.transport,this._emeImpl=e.emeImpl,this._noServerCertificate=!!e.noServerCertificate,this._precacheServerCertificate=null===(t=e.precacheServerCertificate)||void 0===t||t,this._unauthServerCertificateBase=e.unauthServerCertificateBase||"https://spclient.wg.spotify.com",this._configFilter=function(e){const t=["--ensure-no-match--"];if(null==e?void 0:e.length){let n=e.length;for(;n--;){const i=e[n];i&&ke.hasOwnProperty(i)&&t.push(ke[i])}}return new RegExp(`(${t.join("|")})$`)}(e.disallowRobustnessValues||[]),this._disallowCodecs=e.disallowCodecs,this._preferredKeySystems=e.preferredKeySystems||[ee.WIDEVINE,ee.PLAYREADY,ee.PLAYREADY_HARDWARE,ee.FAIRPLAY]}static create(e){return new Promise((t=>{const n=Ae();if(!n)throw oe.fatal(i.EME_API_NOT_SUPPORTED,"Platform does not support navigator.requestMediaKeySystemAccess");t(new Me(Object.assign(Object.assign({},e),{emeImpl:n})).init())}))}_prepareConfiguration(e){const t=e.getConfiguration();Le.info("KeySystem configured as",t.label),t.audioCapabilities&&t.audioCapabilities.length||this._appendProbableMediaCapabilities(e.keySystem,t);const n={keySystem:e.keySystem,keySystemImpl:this._emeImpl,audioFormats:this._parseCapabilities(t.audioCapabilities),videoFormats:this._parseCapabilities(t.videoCapabilities)};return this._keySystemSettings=Ie[e.keySystem],this._configuration.resolve(n),n}_parseCapabilities(e){var t;if(!e)return[];const n=[];for(const i of e){if(!(null==i?void 0:i.contentType))continue;const[,e,o]=null!==(t=i.contentType.match(Pe))&&void 0!==t?t:[];e&&n.push({contentType:i.contentType,mimeType:e,codec:null!=o?o:""})}return n}_appendProbableMediaCapabilities(e,t){const n=Ce(this._configs,(t=>(-1===t.indexOf("webm")||e!==ee.PLAYREADY&&e!==ee.PLAYREADY_HARDWARE)&&!!MediaSource.isTypeSupported(t)));n&&(t.audioCapabilities=n.audioCapabilities,t.videoCapabilities=n.videoCapabilities)}_trySetServerCertificate(e,t){const n=this._certificate;return(n&&n.expiry>Date.now()?Promise.resolve(n):this._requestServerCertificate(e)).then((e=>t.setServerCertificate(e.contents))).then((()=>this)).catch((e=>(Le.warn("Error from setting server certificate",e),this)))}_cacheServerCertificate(e){let t="";switch(e){case ee.FAIRPLAY:t="fairplay";break;case ee.WIDEVINE:t="widevine";break;default:return Promise.resolve(this)}return this._requestServerCertificate(`${this._unauthServerCertificateBase}/${t}-license`,!1).then((()=>this),(e=>(Le.warn("Cannot precache server certificate",e),this)))}_requestServerCertificate(e,t=!0){if(this._pendingCertificateRequest)return this._pendingCertificateRequest;return this._transport.request(`${e}/v1/application-certificate`,{authorize:t,responseType:"arraybuffer",parseResponseHeaders:!0,retry:{condition:(e,t)=>e.getStatusFamily()===t.SERVER_ERROR}}).then((e=>{var t;if(!e.body)throw new TypeError("Response body is invalid");this._pendingCertificateRequest=null;let n=3600;const i=null===(t=e.headers)||void 0===t?void 0:t.get("cache-control");if(i){const e=i.match(/(?:^|,|\s)max-age=(\d+)(?:,|$)/);e&&e[1]&&(n=1e3*parseInt(e[1],10))}return this._certificate={expiry:Date.now()+(n-600),contents:e.body},this._certificate}))}_extractPlayReadyChallenge(e,t){var n;let o=null;const r=new Uint16Array(e),a=String.fromCharCode.apply(null,r);if(-1===a.indexOf("PlayReadyKeyMessage"))return Le.info("Using unextracted PlayReady message."),e;const s=(new DOMParser).parseFromString(a,"application/xml"),c=s.getElementsByTagName("Challenge")[0],l=null===(n=null==c?void 0:c.childNodes[0])||void 0===n?void 0:n.nodeValue;if(l)try{o=atob(l);const e=s.getElementsByTagName("name"),t=s.getElementsByTagName("value");if(e.length!==t.length)throw new oe(i.EME_HEADER_KEY_VALUE_MISMATCH,"Mismatched header <name>/<value> pair in key message")}catch(e){this.emit(Q.EME_LICENSE_REQUEST_ERROR,{signal:t,error:e}),o=null}else this.emit(Q.EME_LICENSE_REQUEST_ERROR,{signal:t,error:new oe(i.EME_HEADER_KEY_VALUE_MISMATCH,"Mismatched header <name>/<value> pair in key message")});return o}_onMessage(e,t){e.timeMap.generate.end=(0,u.X)();let n="message"in t?t.message:null;const i="messageType"in t?t.messageType:void 0;if(Le.info("Got EME message event with type",i),n&&e.keySystem===ee.PLAYREADY&&(n=this._extractPlayReadyChallenge(n,e.signal)),!n)return void Le.info("Ignoring message event: no valid request payload");if(!e.licenseServer)return void Le.info("Ignoring message event: no licenseServer url");e.timeMap.request.start=(0,u.X)();let o=e.licenseServer;e.keySystem===ee.FAIRPLAY&&(o=`${o}${-1!==o.indexOf("?")?"&":"?"}assetId=hex`),this._transport.request(o,{method:"POST",payload:n,responseType:"arraybuffer",retry:{condition:(e,t)=>400!==e.status&&402!==e.status&&403!==e.status&&(!e.body||e.getStatusFamily()!==t.SUCCESS)}}).then(this._handleLicenseResponse.bind(this,e))}_handleLicenseResponse(e,t){const n=t=>{e.licenseServer&&(t.licenseServer=e.licenseServer),this.emit(Q.EME_LICENSE_REQUEST_ERROR,{signal:e.signal,error:t})};let o,r;if(e.timeMap.request.end=(0,u.X)(),200!==t.status){try{if(t.body){const e=new Uint8Array(t.body),n=String.fromCharCode.apply(String,e);r=JSON.parse(n).errorMsg}}catch(e){}402===t.status?this.emit(Q.EME_LICENSE_REQUEST_CAPPED,{signal:e.signal,error:new re(i.CAPPING_USER_IS_CAPPED,"User is capped.")}):400===t.status&&"widevine error"===r?(o=oe.fatal(i.EME_LICENSE_REQUEST_WIDEVINE_ERROR,"Widevine license server failed to parse request."),o.status=t.status,o.shouldRefreshEndpoint=!0,n(o)):(o=new oe(i.EME_LICENSE_REQUEST_FAILED_WITH_STATUS,`License request failed (${r||"unknown"})`),o.status=t.status,o.shouldRefreshEndpoint=400===t.status||403===t.status,n(o))}else{if(!t.body)return o=new oe(i.EME_LICENSE_REQUEST_EMPTY_RESPONSE,"Empty license response body"),o.status=t.status,void n(o);try{e.timeMap.update.start=(0,u.X)(),e.keySession.update(t.body).catch((e=>{n(new oe(i.EME_LICENSE_UPDATE_FAILED,e.message||"License update failed."))})),Le.info("KeySession updated.")}catch(e){const{message:t}=e;n(new oe(i.EME_LICENSE_UPDATE_FAILED,t||"License update failed."))}}}_selectKeySystem(e){const t=this._preferredKeySystems;for(let n=0,i=t.length;n<i;n++){const i=t[n];if(i&&i in e)return e[i]}return null}_testMediaKeys(e){return new Promise((t=>{t(e.createMediaKeys())})).then((t=>{if(!t)return Promise.reject(oe.fatal(i.EME_MEDIA_KEYS_NOT_SUPPORTED,"Cannot create MediaKeys from KeySystemAccess"));e.keySystem===ee.FAIRPLAY&&t.setServerCertificate(new ArrayBuffer(0));try{if(!t.createSession())throw new Error("")}catch(e){const{message:t}=e;return Promise.reject(oe.fatal(i.EME_MEDIA_KEY_SESSION_NOT_SUPPORTED,t||"Cannot create MediaKeySession from KeySystemAccess"))}return Promise.resolve(e)}),(e=>(Le.error(e.name),Promise.reject(oe.fatal(i.EME_MEDIA_KEYS_NOT_SUPPORTED,e.message||"Unknown error")))))}_saveSession(e){this._keySessions.push(e)}destroySessions(){const e=[],t=this._keySessions;for(const n of t)try{const t=n.keySession;if(!t)continue;n.onMessageListener&&t.removeEventListener(Q.KEY_SESSION_MESSAGE,n.onMessageListener),n.onKeyStatusChangeListener&&t.removeEventListener(Q.KEY_SESSION_STATUSES_CHANGE,n.onKeyStatusChangeListener);const i=Promise.resolve(t.close()).catch((e=>{Le.warn("Failed to close KeySession",e)}));e.push(i),n.keySession=null,n.onMessageListener=null,n.onKeyStatusChangeListener=null,Le.info("Closed KeySession")}catch(e){Le.warn("Failed to close KeySession",e)}return this._keySessions=[],Promise.all(e)}init(){const e=[];for(let t of Oe)if(!t.label||!this._configFilter.test(t.label)){if(this._disallowCodecs){const e=De(t,this._disallowCodecs);if(!e)continue;t=e}e.push(t)}return this._configs=e,this.requestMediaKeySystemAccess()}requestMediaKeySystemAccess(){const e=this._keySystemDeferred,t={},n=[];for(const e in ee){if(!Object.prototype.hasOwnProperty.call(ee,e))continue;const i=e;n.push(navigator.requestMediaKeySystemAccess(ee[i],this._configs).then((e=>{t[e.keySystem]=e})).catch((()=>{})))}return Promise.all(n).then((()=>this._selectKeySystem(t))).then((e=>e?(Le.info("Supported keySystem: ",e.keySystem),this._testMediaKeys(e)):Promise.reject(new oe(i.EME_NO_SUPPORTED_KEYSYSTEM,"No supported keysystem was found.")))).then((t=>(this._prepareConfiguration(t),e.resolve(t),this._precacheServerCertificate?this._cacheServerCertificate(t.keySystem):this))).catch((t=>{const n=t.code||i.EME_NO_SUPPORTED_KEYSYSTEM,o=t.message||"No supported keysystem";return e.reject(oe.fatal(n,o)),e.promise.then((()=>this))}))}createMediaKeys(e){return this._keySystemDeferred.promise.then((e=>e.createMediaKeys())).then((t=>this.setMediaKeys(e,t))).then((()=>this._configuration.promise.then((()=>{const t=this._keySystemSettings;return t&&!this._noServerCertificate&&t.withCertificate?this._trySetServerCertificate(t.licenseServer,e.mediaKeys):this}))))}setMediaKeys(e,t){return e.setMediaKeys(t).then((()=>{if(!e.mediaKeys)throw new oe(i.EME_PLAYER_MEDIA_KEYS_SETTING_FAILED,"Failed to set MediaKeys on HTMLMediaElement");return this}))}removeMediaKeys(e){const t=e.mediaKeys;return Promise.resolve(e.setMediaKeys(null)).then((()=>t))}getKeySystemInfo(){return this._configuration.promise}getKeySystemImpl(){return this._emeImpl}createSessionWithParams(e){return new Promise(((t,n)=>{Le.info("Creating KeySession",e.keySystem);const o=e.mediaKeys.createSession(),r={generate:{start:null,end:null},request:{start:null,end:null},update:{start:null,end:null}},a=this._keySystemSettings&&this._keySystemSettings.licenseServer||void 0,s=this._onMessage.bind(this,{keySystem:e.keySystem,keySession:o,licenseServer:e.licenseServer||a,signal:e.signal,timeMap:r});o.addEventListener(Q.KEY_SESSION_MESSAGE,s);const c=()=>{Le.info("KeyStatus change"),r.update.end=(0,u.X)();const e=e=>null!==e.start&&null!==e.end?(0,u.r)(e.start,e.end):0;t({elapsed:{generate:e(r.generate),request:e(r.request),update:e(r.update)}})};return o.addEventListener(Q.KEY_SESSION_STATUSES_CHANGE,c),this._saveSession({keySession:o,onMessageListener:s,onKeyStatusChangeListener:c}),Le.info("Generating KeySession request",e.keySystem),r.generate.start=(0,u.X)(),Promise.resolve(o.generateRequest(e.initDataType,e.initData.buffer)).catch((e=>{if(!e)return;let t;switch(e.name){case"NotSupportedError":t=i.EME_NOT_SUPPORTED_ERROR;break;case"InvalidStateError":t=i.EME_INVALID_STATE_ERROR;break;default:t=i.EME_UNKNOWN_ERROR}n(new oe(t,e.message||"Unknown error message."))}))}))}}var xe;!function(e){e.SHOWING="showing",e.HIDDEN="hidden",e.DISABLED="disabled"}(xe||(xe={}));const Ue=Array.prototype.slice,Ve="function"==typeof Array.from?e=>Array.from(e):e=>Ue.call(e);function Fe(e,t){const n=Ve(e.getElementsByTagName(t));for(const t of n)e.removeChild(t)}function Be(e){const t=e;return{id:t.id,text:t.text}}const He="visible",Ge="hidden",We=/^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$|[A-Za-z]{2,3}-x-cc/;class je extends c.bk{constructor(e){super(),this._isVisible=!1,this._player=null,this._crossOrigin=null,this._currentVideoContent=null,this._unsubscribers=[],this._displayedCues=[],this._deactivateListeners=!1,this._activeLanguage=void 0,this._preferredLanguage=e.language.toLowerCase(),e.deactivateListeners&&(this._deactivateListeners=!0),this._onEnter=this._onEnter.bind(this),this._onExit=this._onExit.bind(this),this._onLoadedMetadata=this._onLoadedMetadata.bind(this),this.setPlayer(e.player)}_subscribeToCueEvents(e){var t;const{track:n}=e;if(!n)throw new Error("No track");if(null===(t=n.cues)||void 0===t?void 0:t.length){this._displayedCues=n.activeCues?Array.from(n.activeCues):[],this._emitDisplayedCues();for(let e=0;e<n.cues.length;e++){const t=n.cues[e];t&&(t.addEventListener("enter",this._onEnter),t.addEventListener("exit",this._onExit),this._unsubscribers.push((()=>{t.removeEventListener("enter",this._onEnter),t.removeEventListener("exit",this._onExit)})))}}else{const t=()=>{this._subscribeToCueEvents(e),e.removeEventListener("load",t)};e.addEventListener("load",t)}}_unsubscribeFromCueEvents(){this._unsubscribers.forEach((e=>e())),this._unsubscribers=[]}_onEnter(e){const t=e.target;this._displayedCues.indexOf(t)>-1||(this._displayedCues.push(t),this._emitDisplayedCues())}_onExit(e){const t=e.target,n=this._displayedCues.indexOf(t);n>-1&&(this._displayedCues.splice(n,1),this._emitDisplayedCues())}_emitDisplayedCues(){this.emit(Q.PLAYER_DISPLAYED_CUES_CHANGED,{cues:this._displayedCues.map(Be)})}_updateVisibleState(){var e,t;if(!this._player)return;const n=this.getActiveLanguage();Array.from(null!==(t=null===(e=this._player)||void 0===e?void 0:e.querySelectorAll("track"))&&void 0!==t?t:[]).forEach((e=>{e.style.visibility=this._isVisible?He:Ge}));const i=this._player.textTracks;for(let e=0,t=i.length;e<t;e++){const t=i[e];t&&(t.language.toLowerCase()===n?t.mode=this._isVisible?xe.SHOWING:xe.HIDDEN:t.mode=xe.DISABLED)}}_updateTextTracks(){const e=this._player;if(!e)return;e.readyState>=1?this._switchActiveTextTrack():this._currentVideoContent&&e.addEventListener(Q.MEDIA_LOADEDMETADATA,this._onLoadedMetadata)}_switchActiveTextTrack(){const e=this._player;if(!e||!this._currentVideoContent)return;const t=this._updateActiveLanguage();let n=null,i=null;Ve(e.getElementsByTagName("track")).forEach((e=>{e.default&&(n=e),e.srclang.toLowerCase()===t&&(i=e)})),n&&(n.default=!1,n.track.mode=xe.DISABLED,this._unsubscribeFromCueEvents()),i&&(i.default=!0,i.track.mode=this._isVisible?xe.SHOWING:xe.HIDDEN,this._deactivateListeners||this._subscribeToCueEvents(i))}_onLoadedMetadata(){const e=this._player;if(e&&(Fe(e,"track"),this._currentVideoContent)){e.crossOrigin="anonymous",this._updateActiveLanguage();for(const{lang:t,url:n}of this._currentVideoContent.getSubtitles()){const i=document.createElement("track");i.label=`${t} subtitles`,i.kind="subtitles",i.srclang=t,i.src=n,i.style.visibility=this._isVisible?He:Ge,e.appendChild(i)}setTimeout((()=>this._switchActiveTextTrack()))}}_updateActiveLanguage(){if(!this._player||!this._currentVideoContent)return void(this._activeLanguage=void 0);const e=this._currentVideoContent.getSubtitleLanguages(),t=this._preferredLanguage.split("-")[0];let n=null;for(const i of e){const e=i.toLowerCase();if(e===this._preferredLanguage)return this._activeLanguage=e,this._activeLanguage;e.split("-")[0]===t&&null===n&&(n=e)}return this._activeLanguage=null!=n?n:"en-us",this._activeLanguage}getActiveLanguage(){if(this._player&&this._currentVideoContent)return this._activeLanguage}setVideoContent(e){var t;this._unsubscribeFromCueEvents(),this._displayedCues=[],this._currentVideoContent=e,e?this.emit(Q.PLAYER_SUBTITLE_LANGUAGES_LOADED,{languages:null!==(t=e.getSubtitleLanguages())&&void 0!==t?t:[]}):this.clear(),this._updateTextTracks()}setPlayer(e){var t;const n="VIDEO"===(null==e?void 0:e.tagName)?e:null;this._player!==n&&this.clear(),this._player=n||null,this._crossOrigin=null!==(t=null==n?void 0:n.crossOrigin)&&void 0!==t?t:null,this._updateTextTracks()}getAvailableLanguages(){var e,t;return null!==(t=null===(e=this._currentVideoContent)||void 0===e?void 0:e.getSubtitleLanguages())&&void 0!==t?t:[]}setLanguage(e){if(!e.length)throw new TypeError("Argument `code` must be a non-empty string. Hide subtitles using `hideSubtitles()`.");if(!We.test(e))throw new TypeError("Argument `code` must be a valid BCP 47 formatted language code");this._preferredLanguage!==e.toLowerCase()&&(this._preferredLanguage=e.toLowerCase(),this._switchActiveTextTrack())}hide(){this._isVisible=!1,this._updateVisibleState()}show(){this._isVisible=!0,this._updateVisibleState()}deactivateListeners(){if(this._deactivateListeners)return;this._player&&(this._deactivateListeners=!0,this._unsubscribeFromCueEvents())}activateListeners(){this._deactivateListeners&&(this._deactivateListeners=!1,this._updateTextTracks())}areListenersActivated(){return!this._deactivateListeners}clear(){const e=this._player;e&&(this._unsubscribeFromCueEvents(),this._currentVideoContent=null,this._displayedCues=[],Fe(e,"track"),e.removeEventListener(Q.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.crossOrigin=this._crossOrigin)}visible(){return this._isVisible}}class Ye extends Error{constructor(e=i.STORAGE_ERROR,t="File Error"){super(t),this.canPlayNext=!0,this.debug={},this.code=e,this.message=t,this.name="FileError"}}class ze{constructor(e){this._mediaType=e.mediaType,this._fileId=e.fileId,this._uri=e.uri,this._audioGain=e.audioGain,this._logData=e.logData,this._hasNonFatalErrors=!!e.hasNonFatalErrors,this._disableCache=e.disableCache,this._keySystem=e.keySystem,this._licenseEndpoint=e.licenseEndpoint,this._mediaFormat=e.mediaFormat,this._mediator=e.mediator,this._noAuth=e.noAuth,this._contentMetadata=e.contentMetadata}getFileId(){return this._fileId}getAudioGain(){return this._audioGain}getMediaType(){return this._mediaType}getLogData(){return this._logData}setLogData(e){this._logData=e}toLogJSON(){return{uri:this._uri,fileId:this._fileId,mediaFormat:this._mediaFormat,mediaURL:this._mediaURL}}hasNonFatalErrors(){return this._hasNonFatalErrors}getContentMetadata(){return this._contentMetadata||{}}getInitParams(){return this.isProtected()?{initDataType:this._protection,initData:this._pssh}:null}getKeySystem(){var e;return null!==(e=this._keySystem)&&void 0!==e?e:null}getLicenseEndpoint(){var e;return null!==(e=this._licenseEndpoint)&&void 0!==e?e:null}}var Ke=n(82620);function Je(e){const t=Ke.X.decode(e),n=new Uint8Array(t.length);for(let e=0,i=t.length;e<i;e++)n[e]=t.charCodeAt(e);return n}const qe=/avc1\.(([0-9a-f]{2})[0-9a-f]{2}([0-9a-f]{2}))/,Xe="4d";function $e(e,t){const n=e.toLowerCase().match(qe),i=t.toLowerCase().match(qe);if(!n||!i)return!1;const[,o,r,a]=n,[,s,c,l]=i;return o===s||r===Xe&&c===Xe&&parseInt(a,16)>=parseInt(l,16)}function Ze(e,t){return e.sort(((e,n)=>"video_bitrate"in e&&"video_bitrate"in n?t?e.video_resolution===n.video_resolution?e.video_bitrate-n.video_bitrate:e.video_resolution-n.video_resolution:e.video_bitrate-n.video_bitrate:e.max_bitrate-n.max_bitrate))}function Qe(e,t){return void 0!==t&&Array.isArray(e.encryption_indices)&&-1===e.encryption_indices.indexOf(t)}function et(e,t){if(!t)return!1;return t(Object.assign({mimeType:e.mime_type},function(e){return"video_codec"in e}(e)?{type:"video",codec:e.video_codec,bitrate:e.video_bitrate,height:e.video_height,width:e.video_width,resolution:e.video_resolution}:{type:"audio",codec:e.audio_codec,bitrate:e.audio_bitrate}))}function tt(e){return"audio_codec"in e?e.audio_codec:e.video_codec}function nt(e){const{codec:t,formats:n,profiles:i,encryptionIndex:o,disallowProfile:r,preferredVideoResolution:a,allowMixedAVC1Codecs:s}=e;for(const e of n){const n=[];let c="spotify/unknown-mimeType",l="unknown-codec";for(const a of i){const i=tt(a);!(t in a)||Qe(a,o)||et(a,r)||("unknown-codec"!==l||a.mime_type!==e.mimeType||i!==e.codec&&!$e(e.codec,i)?a.mime_type===c&&(i===l||s&&$e(l,i))&&(n.push(a),a.__effective_codec=l):(c=e.mimeType,l=s?e.codec:i,n.push(a),a.__effective_codec=e.codec))}if(n.length)return Ze(n,a)}return[]}function it(e){if(!e)return;const t=e.__effective_codec||("audio_codec"in e?e.audio_codec:e.video_codec);return`${e.mime_type};codecs="${t}"`}class ot extends ze{constructor(e){super(e),this._supportedFormats={audio:[],video:[]},this._baseURL="",this._fallbackURLs=[],this._loaded=!1,this._initTemplate="",this._segmentTemplate="",this._segmentLength=0,this._assetID="",this._segments=[],this._duration=0,this._videoProfiles={selected:null,available:[]},this._audioProfiles={selected:null,available:[]},this._subtitleLanguages=[],this._subtitleTemplate="",this._trackingData=null,this._resolver=e.resolver,this._keySystem=e.keySystem,this._keySystemSettings=e.keySystemSettings,this._disallowProfile=e.disallowProfile,this._supportedFormats=e.supportedFormats,this._videoResolution=e.videoResolution,this._allowMixedAVC1Codecs=e.allowMixedAVC1Codecs,this._trackingData=e.trackingData,this._contentMetadata=e.metadata}_calculateSegments(e){this._duration=e.end_time_millis/1e3;const t=this._segmentLength;this._initSegment={init:!0,cacheBufferSet:!1,timeStart:-1,timeEnd:-1,byteRanges:{}};const n=[];for(let e=0;e<this._duration;e+=t)n.push({cacheBufferSet:!e&&!this._disableCache,timeStart:e,timeEnd:e+t,byteRanges:{}});n[n.length-1].isFinal=!0,this._segments=n}_parseManifest(e){var t,n,o;let r;const a=e.contents[0];if(!a)return r=new Ye(i.FILE_MALFORMED_SEEKTABLE,"Malformed seektable: no contents."),r.track=this.toLogJSON(),Promise.reject(r);let s;if(this._fallbackURLs=e.base_urls.slice(),this._baseURL=null!==(t=this._fallbackURLs.shift())&&void 0!==t?t:"",this._initTemplate=e.initialization_template,this._segmentTemplate=e.segment_template,this._segmentLength=a.segment_length,null===(n=a.encryption_infos)||void 0===n?void 0:n.length){const e=a.encryption_infos,t=this._keySystemSettings.commonName;let n;for(let i=0,o=e.length;i<o;i++){const o=e[i];if(o&&o.key_system===t){s=i,n=o[this._keySystemSettings.pssh_field.video];break}}if(!n)return r=new Ye(i.FILE_FORMAT_NOT_SUPPORTED,"KeySystem does not support the file format."),r.track=this.toLogJSON(),Promise.reject(r);switch(this._keySystemSettings.commonName){case"widevine":case"playready":this._protection="cenc";try{this._pssh=Je(n)}catch(e){return r=new Ye(i.FILE_MALFORMED_PSSH,"Invalid PSSH value."),r.track=this.toLogJSON(),Promise.reject(r)}break;case"fairplay":this._protection="cbcs",this._pssh=new Uint8Array([]);try{this._assetID=function(e){const t=Ke.X.decode(e),n=new Array(t.length);for(let e=0,i=t.length;e<i;e++){const i=t.charCodeAt(e).toString(16);n[e]=1===i.length?`0${i}`:i}return n.join("")}(n)}catch(e){return r=new Ye(i.FILE_MALFORMED_PSSH,"Invalid PSSH value."),r.track=this.toLogJSON(),Promise.reject(r)}break;default:return r=new Ye(i.FILE_FORMAT_NOT_SUPPORTED,"KeySystem does not support the file format."),r.track=this.toLogJSON(),Promise.reject(r)}}return this._videoProfiles.available=nt({codec:"video_codec",formats:this._supportedFormats.video,profiles:a.profiles,encryptionIndex:s,disallowProfile:this._disallowProfile,preferredVideoResolution:this._videoResolution,allowMixedAVC1Codecs:this._allowMixedAVC1Codecs}),this._audioProfiles.available=nt({codec:"audio_codec",formats:this._supportedFormats.audio,profiles:a.profiles,encryptionIndex:s,disallowProfile:this._disallowProfile}),this._calculateSegments(e),this._subtitleLanguages=e.subtitle_language_codes||[],(null===(o=e.subtitle_base_urls)||void 0===o?void 0:o.length)&&e.subtitle_template?this._subtitleTemplate=`${e.subtitle_base_urls[0]}${e.subtitle_template}`:this._subtitleTemplate="",Promise.resolve()}load(e={resolveLatency:0,manifestLatency:0}){if(this._loaded)return e.resolveLatency=0,e.manifestLatency=0,Promise.resolve(this);if(!this._fileId)throw new TypeError("Missing: provide either fileId or resolvedURL");const t=(0,u.X)();return this._resolver.getManifest(this._fileId,this._noAuth).then((n=>(e.resolveLatency=0,e.manifestLatency=(0,u.r)(t),this._parseManifest(n)))).then((()=>(this._loaded=!0,this)))}isProtected(){return!!this._protection&&!!this._pssh}setVideoResolution(e){this._videoResolution=e}getMediaProfileInfo(){return{audio:this._audioProfiles,video:this._videoProfiles}}getSubtitles(){return this._subtitleLanguages.map((e=>({lang:e,url:this._subtitleTemplate.replace("{{language_code}}",e)})))}getSubtitleLanguages(){return this._subtitleLanguages}getCurrentBitrates(){var e,t,n,i;return{audio:null!==(t=null===(e=this._audioProfiles.selected)||void 0===e?void 0:e.audio_bitrate)&&void 0!==t?t:0,video:null!==(i=null===(n=this._videoProfiles.selected)||void 0===n?void 0:n.video_bitrate)&&void 0!==i?i:0}}getTrackingEvents(){return this._trackingData}getTrackingEventData(e){const t=this._trackingData?this._trackingData[e]:null;return t?{tracking_event:e,urls:t.urls}:null}}function rt(e){return!!e&&"getMediaProfileInfo"in e}function at(e){return!!e&&"getCurrentBitrates"in e&&"canLowerBitrate"in e&&"adaptToBandwidth"in e}function st(e){return!!e&&"getTrackingEventData"in e&&"getTrackingEvents"in e}class ct{constructor(e){this.bandwidthEstimator=e.bandwidthEstimator}static create(e){return new ct(e)}getSample(e,t){var n,i,o,r,a,s,c;const l=this.bandwidthEstimator.getBandwidthEstimate(),u=function(e,t){const n=e.length;for(let i=0;i<n;i++)if(e.start(i)<=t&&t<=e.end(i))return 1e3*(e.end(i)-t);return 0}(e.buffered,e.currentTime);if("audio"===t.getMediaType()&&t.strategy===Z.MSE){const e=null===(i=null===(n=t.getSegmentForTime(0))||void 0===n?void 0:n.bufferSet)||void 0===i?void 0:i.audio,o=null==e?void 0:e.bitrate;return{bandwidth:l,bufferAvailability:u,audio:{mimeType:null==e?void 0:e.mimeType,bitrate:o}}}if(rt(t)){const{audio:n,video:i}=t.getMediaProfileInfo(),d="getVideoPlaybackQuality"in e?e.getVideoPlaybackQuality():{creationTime:void 0,droppedVideoFrames:void 0,totalVideoFrames:void 0};return{bandwidth:l,bufferAvailability:u,video:{creationTime:d.creationTime,droppedVideoFrames:d.droppedVideoFrames,totalVideoFrames:d.totalVideoFrames,bitrate:null===(o=i.selected)||void 0===o?void 0:o.video_bitrate,availableBitrates:i.available.map((e=>e.video_bitrate)),height:null===(r=i.selected)||void 0===r?void 0:r.video_height,width:null===(a=i.selected)||void 0===a?void 0:a.video_width,resolution:null===(s=i.selected)||void 0===s?void 0:s.video_resolution,mimeType:it(i.selected)},audio:{bitrate:null===(c=n.selected)||void 0===c?void 0:c.audio_bitrate,mimeType:it(n.selected)}}}return null}}const lt=O.m.forTag("playback.audio_processor");class ut{constructor(e){this._audioContext=null,this._mediaElementSource=null,this._gainNode=null,this._nodes=[],(null==e?void 0:e.disable)?lt.info("AudioProcessor disabled"):(this._audioContext=(null==e?void 0:e.audioContext)||("undefined"!=typeof AudioContext?new AudioContext:null),this._audioContext?(this._gainNode=this._audioContext.createGain(),this._buildNodePipeline(null==e?void 0:e.nodes)):lt.warn("The AudioContext API is not supported. Any future operation related to `AudioProcessor` will be skipped."))}static create(e){return new ut(e)}_setMediaElementSource(e){var t;this._audioContext&&(this._mediaElementSource&&(lt.info("Disconnecting previous media element source"),this._mediaElementSource.disconnect()),lt.info("Creating new media element source"),this._mediaElementSource=this._audioContext.createMediaElementSource(e)||null,this._mediaElementSource.connect(null!==(t=this._nodes[0])&&void 0!==t?t:this._audioContext.destination))}_buildNodePipeline(e=[]){var t;if(!this._audioContext)return;lt.info("Disconnecting previous nodes");const n=this._nodes;for(const e of n)e.disconnect();const i=[this._gainNode,...e];let o=null;for(const e of i)o&&o.connect(e),o=e;null===(t=i[i.length-1])||void 0===t||t.connect(this._audioContext.destination),lt.info("Node pipeline built"),this._nodes=i}setPlayer(e){var t;e&&((null===(t=this._mediaElementSource)||void 0===t?void 0:t.mediaElement)!==e?this._setMediaElementSource(e):lt.info("The new player is the same as the current player"))}getPlayer(){var e;return(null===(e=this._mediaElementSource)||void 0===e?void 0:e.mediaElement)||null}setAudioGain(e=0){if(!this._gainNode)return lt.info("The default gain node is not available"),!1;const t=Math.pow(10,e/20);return this._gainNode.gain.value=t,lt.info("Main gain set to",t),!0}getAudioContext(){return this._audioContext}resume(){return this._audioContext&&"running"!==this._audioContext.state?this._audioContext.resume():Promise.resolve()}suspend(){return this._audioContext&&"suspended"!==this._audioContext.state?this._audioContext.suspend():Promise.resolve()}destroy(){var e;this._audioContext&&(null===(e=this._mediaElementSource)||void 0===e||e.connect(this._audioContext.destination)),this._nodes=[],this._audioContext=null,this._gainNode=null,this._mediaElementSource=null,lt.info("The AudioProcessor is destroyed")}}const dt=O.m.forTag("playback.media_source_manager");function pt(e){if(!e)return"";const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n]?`="${e[n]}"`:"";t.push(`${n}${i}`)}return t.length?`; ${t.join("; ")}`:""}class ht extends c.bk{constructor(e){super(),this._mediaSource=null,this._sourceBuffers={},this._currentInitSegments={},this._updateQueue=[],this._playId=0,this._lastBufferClearTime=(0,u.X)(),this._customSourceBufferParams="";const{mimeTypes:t,customSourceBufferParams:n,disableBufferAbort:i}=e;this._mimeTypes=t,this._customSourceBufferParams=pt(n),this._disableBufferAbort=!!i,this._onSourceOpen=this._onSourceOpen.bind(this),this._onSourceClose=this._onSourceClose.bind(this),this._onUpdateEnd=this._onUpdateEnd.bind(this),this.dequeueUpdates=this.dequeueUpdates.bind(this),e.noInit||this._init()}static create(e){return new ht(e)}_init(){this._mediaSource=new MediaSource,this._mediaSource.addEventListener(Q.MEDIA_SOURCE_OPEN,this._onSourceOpen),this._mediaSource.addEventListener(Q.MEDIA_SOURCE_CLOSE,this._onSourceClose),this._sourceBuffers={},this._currentInitSegments={}}_onSourceOpen(){var e;dt.info("MediaSource opened.");const t=this._mediaSource;if(0===(null===(e=null==t?void 0:t.sourceBuffers)||void 0===e?void 0:e.length)&&"open"===(null==t?void 0:t.readyState)){const e=this._mimeTypes;dt.info("Creating source buffers for MIME types",e);for(const n of["video","audio"]){const i=e[n];if(i){const e=i+this._customSourceBufferParams,n=t.addSourceBuffer(e);n.addEventListener(Q.SOURCE_BUFFER_UPDATE_END,this._onUpdateEnd),this._sourceBuffers[i]=n}}}this.dequeueUpdates(),this.emit(Q.BUFFER_SOURCE_OPEN,null)}_onSourceClose(){dt.info("MediaSource closed."),this._destroySourceBuffers(),this.emit(Q.BUFFER_SOURCE_CLOSE,null)}_destroySourceBuffers(){const e=this._mediaSource;if(!e)return;const t=e.sourceBuffers;if(t.length)for(let n=0,i=t.length;n<i;n++){const i=t[n];if(i){i.removeEventListener(Q.SOURCE_BUFFER_UPDATE_END,this._onUpdateEnd);try{e.removeSourceBuffer(i),dt.info("Removed source buffer")}catch(e){dt.warn("Failed to remove sourcebuffer",e)}}}this._sourceBuffers={},this._currentInitSegments={}}_onUpdateEnd(){this.dequeueUpdates(),this.emit(Q.BUFFER_UPDATE_END,null)}_endUpdate(e){var t;this._isUpdating()?this._updateQueue.push(e):"open"===(null===(t=this._mediaSource)||void 0===t?void 0:t.readyState)&&(dt.info("Signals end of stream."),this._mediaSource.endOfStream(),e.resolve&&e.resolve(!0))}_durationUpdate(e){this._isUpdating()?this._updateQueue.push(e):(this._mediaSource&&(this._mediaSource.duration=e.duration),e.resolve&&e.resolve(!0))}_isUpdating(){if(!this._mediaSource)return!1;const e=this._mediaSource.sourceBuffers;for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&n.updating)return!0}return!1}_appendUpdate(e){var t,n;const i=this._sourceBuffers[e.mimeType];if(!i||i.updating)return void this._updateQueue.push(e);let o=e.buffer;if(e.segment.init&&this._currentInitSegments[e.mimeType]===e.profileId)return null===(t=e.resolve)||void 0===t||t.call(e,!0),void Promise.resolve().then(this.dequeueUpdates);if(e.initBuffer&&e.buffer&&this._currentInitSegments[e.mimeType]!==e.profileId){const t=new Uint8Array(e.initBuffer.byteLength+e.buffer.byteLength);t.set(new Uint8Array(e.initBuffer),0),t.set(new Uint8Array(e.buffer),e.initBuffer.byteLength),o=t.buffer}try{i.appendBuffer(o)}catch(t){let n=!1;return"QuotaExceededError"===t.name?(dt.warn("Failed to append buffer: exceeded quota."),n=!0,this.emitSync(Q.BUFFER_QUOTA_EXCEEDED,null)):dt.warn("Failed to append buffer",t),void new Promise((e=>{n?setTimeout(e,1e3):e()})).then((()=>{var n;null===(n=e.reject)||void 0===n||n.call(e,t),this.dequeueUpdates()})).then((()=>{e.init&&this._updateQueue.push(e)}))}const r=o.byteLength>e.buffer.byteLength;(e.segment.init||r)&&(this._currentInitSegments[e.mimeType]=e.profileId),null===(n=e.resolve)||void 0===n||n.call(e,!0),r?dt.info(`Injected combined init segment and playable segment (${e.mimeType}, ${e.profileId})`):e.init&&dt.info(`Injected individual init segment (${e.mimeType}, ${e.profileId})`)}_abortUpdate(e){var t;null===(t=e.resolve)||void 0===t||t.call(e,!1),Promise.resolve().then(this.dequeueUpdates)}dequeueUpdates(){const e=this._updateQueue.shift();e&&this.tryUpdate(e)}tryUpdate(e){if(e.playId!==this._playId)return dt.info("Try update dropped: playId has changed"),void this._abortUpdate(e);if(e.timestamp<this._lastBufferClearTime)return dt.info("Try update dropped: update is older than the last clear"),void this._abortUpdate(e);const t=this._mediaSource;t&&"open"!==t.readyState&&"ended"!==t.readyState?this._updateQueue.push(e):"end"===e.type?this._endUpdate(e):"duration"===e.type?this._durationUpdate(e):"append"===e.type&&this._appendUpdate(e)}appendBufferData(e,t,n,i=(0,u.X)()){const o=[];if(e.audio){const r=(0,l.u)();this.tryUpdate({playId:n,timestamp:i,segment:t,type:"append",profileId:e.audio.profileId,buffer:e.audio.buffer,initBuffer:e.audio.initBuffer,mimeType:e.audio.mimeType,init:!!t.init,resolve:r.resolve,reject:r.reject}),o.push(r.promise)}if(e.video){const r=(0,l.u)();this.tryUpdate({playId:n,timestamp:i,segment:t,type:"append",profileId:e.video.profileId,buffer:e.video.buffer,initBuffer:e.video.initBuffer,mimeType:e.video.mimeType,init:!!t.init,resolve:r.resolve,reject:r.reject}),o.push(r.promise)}return Promise.all(o)}endOfStream(e){this._mediaSource&&"ended"!==this._mediaSource.readyState&&this.tryUpdate({playId:e,timestamp:(0,u.X)(),type:"end"})}abort(e=!1){if(this._lastBufferClearTime=(0,u.X)(),this._disableBufferAbort)return void dt.info("MediaSource abort skipped; action disabled.");const t=this._mediaSource;if(t){const n=t.sourceBuffers;for(let i=0,o=n.length;i<o;i++){const o=n[i];if("open"===t.readyState&&o)try{o.abort();const t=o.buffered;if(e&&t.length){const e=t.start(0),n=t.end(t.length-1);o.remove(e,n),dt.info("Cleared buffer range",e,n)}}catch(e){dt.warn("MediaSourceManager.clear failed.",e)}}}this._currentInitSegments={}}destroy(){const e=this._mediaSource;e&&(dt.info("Source destroyed"),e.removeEventListener("sourceopen",this._onSourceOpen),e.removeEventListener("sourceclose",this._onSourceClose),this._destroySourceBuffers(),this._mediaSource=null)}recreate(e){this.abort(),this.destroy(),this._mimeTypes=e.mimeTypes,e.customSourceBufferParams&&(this._customSourceBufferParams=pt(e.customSourceBufferParams)),this._init()}setDuration(e){return new Promise((t=>{this.tryUpdate({playId:this._playId,timestamp:(0,u.X)(),type:"duration",duration:e,resolve:t})}))}getMediaSource(){return this._mediaSource}setPlayId(e){this._playId=e}getPlayId(){return this._playId}}const ft=O.m.forTag("playback.buffer_fill_operation");class mt{constructor(e){var t;this._batchSize=1,this._prioritizeFirst=!1,this._segmentsToAppend=[],this._abortController=(0,a.createAbortControllerLike)(),this.status="pending",this.timeStart=e.timeStart,this.timeEnd=e.timeEnd,this.done=new Promise((e=>{this._resolveDone=e})),this._getBufferedTimeRanges=e.getBufferedTimeRanges,this._getBufferSetForSegment=e.getBufferSetForSegment,this._getSegmentsForRange=e.getSegmentsForRange,this._appendBufferData=e.appendBufferData,this._batchSize=null!==(t=e.batchSize)&&void 0!==t?t:1,this._prioritizeFirst=!!e.prioritizeFirst}_filterBufferedSegments(e){const t=this._getBufferedTimeRanges();let n=[];if(null==t?void 0:t.length)e:for(const i of e){let e=t.length;for(;e--;){const n=t.start(e),o=t.end(e);if(n<=i.timeStart&&(o>=i.timeEnd||o+1e-5>i.timeEnd))continue e}n.push(i)}else n=e;return n}_fill(e,t=!1){var n;if(e.aborted)return;const i=this._segmentsToAppend,o=i.length,r=i.splice(0,t?1:Math.max(1,this._batchSize));if(!r.length)return this.status="ended",void(null===(n=this._resolveDone)||void 0===n||n.call(this));ft.log(`Segments to download: ${r.length}/${o}`);const s=(0,u.X)();Promise.all(r.map((t=>this._getBufferSetForSegment(t,e).then((n=>e.aborted?Promise.resolve([!1]):this._appendBufferData(n,t,s)))))).then((t=>{var n,i;if(e.aborted)return;if(-1!==[].concat(...t).indexOf(!1))return this.status="failed",null===(n=this._resolveDone)||void 0===n||n.call(this),ft.warn(`Fill operation ${this.timeStart}-${this.timeEnd} append failed.`),void this._clear();this._segmentsToAppend.length?this._fill(e):(this.status="ended",null===(i=this._resolveDone)||void 0===i||i.call(this),this._clear())}),(e=>{var t;e.code!==a.TransportErrors.HTTP_REQUEST_ABORTED?(this.status="failed",null===(t=this._resolveDone)||void 0===t||t.call(this),this._clear(),ft.warn(`Fill operation ${this.timeStart}-${this.timeEnd} failed.`,"QuotaExceededError"===e.name?"Exceeded buffer quota":e)):this.status="aborted"}))}_clear(){this._segmentsToAppend=[]}start(){var e;if(this._abortController.signal.aborted||"pending"!==this.status)return this.done;this.status="started",ft.log("Starting fill operation for range",this.timeStart,this.timeEnd);const t=this._getSegmentsForRange(this.timeStart,this.timeEnd);return this._segmentsToAppend=this._filterBufferedSegments(t),this._segmentsToAppend.length?(this._fill(this._abortController.signal,this._prioritizeFirst),this.done):(ft.warn("Fill operation ended early: all segments are buffered."),this.status="ended",null===(e=this._resolveDone)||void 0===e||e.call(this),this.done)}abort(){var e;return"aborted"===this.status||("started"===this.status&&ft.info(`Fill operation ${this.timeStart}-${this.timeEnd} aborted.`),this.status="aborted",null===(e=this._resolveDone)||void 0===e||e.call(this),this._abortController.abort(),this._clear()),this}}var _t,gt;!function(e){e[e.AUDIO=12]="AUDIO",e[e.VIDEO=20]="VIDEO"}(_t||(_t={}));class Et extends c.bk{constructor(e,t={},n={}){var i,o;super(),this._bufferTarget={audio:_t.AUDIO,video:_t.VIDEO},this._currentFillOperation=null,this._tracker=e;const{customSourceBufferParams:r,noInit:a,disableBufferAbort:s}=n;this._bufferTarget.audio=(null===(i=n.bufferTarget)||void 0===i?void 0:i.audio)||_t.AUDIO,this._bufferTarget.video=(null===(o=n.bufferTarget)||void 0===o?void 0:o.video)||_t.VIDEO,this._mediaSourceManager=ht.create({mimeTypes:t,noInit:a,customSourceBufferParams:r,disableBufferAbort:s}),this.proxyEmitAll(this._mediaSourceManager,{[Q.BUFFER_SOURCE_OPEN]:Q.BUFFER_SOURCE_OPEN,[Q.BUFFER_SOURCE_CLOSE]:Q.BUFFER_SOURCE_CLOSE,[Q.BUFFER_QUOTA_EXCEEDED]:Q.BUFFER_QUOTA_EXCEEDED,[Q.BUFFER_UPDATE_END]:Q.BUFFER_UPDATE_END})}static create(e,t={},n={}){return new Et(e,t,n)}_trackBufferingProgress(e){e.audio&&e.audio.buffer&&this._tracker.trackBytesDownloaded(e.audio.buffer.byteLength),e.video&&e.video.buffer&&this._tracker.trackBytesDownloaded(e.video.buffer.byteLength)}_trackBufferURLs(e){var t,n,i,o,r,a;null!==(null===(t=e.audio)||void 0===t?void 0:t.bandwidth)&&this._tracker.trackBufferURL((null===(n=e.audio)||void 0===n?void 0:n.bufferURL)||"",{bandwidth:(null===(i=e.audio)||void 0===i?void 0:i.bandwidth)||0}),null!==(null===(o=e.video)||void 0===o?void 0:o.bandwidth)&&this._tracker.trackBufferURL((null===(r=e.video)||void 0===r?void 0:r.bufferURL)||"",{bandwidth:(null===(a=e.video)||void 0===a?void 0:a.bandwidth)||0})}dequeueUpdates(){this._mediaSourceManager.dequeueUpdates()}abort(e=!1){var t;null===(t=this._currentFillOperation)||void 0===t||t.abort(),this._currentFillOperation=null,this._mediaSourceManager.abort(e)}getMediaSource(){return this._mediaSourceManager.getMediaSource()}destroy(){this._mediaSourceManager.destroy()}checkBufferHealth(e,t,n){var i;const o=this._currentFillOperation;if(!n&&"started"===(null==o?void 0:o.status))return;const r=this._mediaSourceManager,s=r.getMediaSource();if(!s||"closed"===s.readyState)return;let c=t;if(c>=s.duration){const t=e.getFinalSegment();t&&(c=t.timeStart)}const l=function(e,t){var n;const i=null===(n=e.sourceBuffers[e.sourceBuffers.length-1])||void 0===n?void 0:n.buffered;if(i)for(let e=0;e<i.length;e++){const n=i.start(e),o=i.end(e);if(n<=t&&t<=o)return{start:n,end:o}}return null}(s,c);if(l&&!e.getSegmentAfterTime(l.end)&&"ended"===s.readyState)return;const u="video"===e.getMediaType()?this._bufferTarget.video:this._bufferTarget.audio,d=null!==(i=null==l?void 0:l.end)&&void 0!==i?i:c,p=d-c;if(p>u)return;const h=d+(u-p);if(!o||"started"!==o.status||o.timeStart<d||o.timeEnd>h){null==o||o.abort();const t=r.getPlayId();this._currentFillOperation=new mt({timeStart:d,timeEnd:h,getBufferedTimeRanges:()=>{var e,t;return null!==(t=null===(e=s.sourceBuffers[s.sourceBuffers.length-1])||void 0===e?void 0:e.buffered)&&void 0!==t?t:null},getBufferSetForSegment:(n,i)=>e.getBufferSetForSegment(n,i).then((e=>(this._trackBufferingProgress(e),this._trackBufferURLs(e),e)),(n=>(t===r.getPlayId()&&n.code!==a.TransportErrors.HTTP_REQUEST_ABORTED&&this.emit(Q.BUFFER_APPEND_ERROR,{error:n,canPlayNext:!0,track:e.toLogJSON()}),Promise.reject(n)))),getSegmentsForRange:(t,n=1/0)=>e.getSegmentsForRange(t,n),appendBufferData:(e,n,i)=>r.appendBufferData(e,n,t,i).then((e=>(n.isFinal&&-1===(null==e?void 0:e.indexOf(!1))&&this._mediaSourceManager.endOfStream(t),e))),prioritizeFirst:!l}),this._currentFillOperation.start()}}isPositionInCurrentFillRange(e,t){const n=this._currentFillOperation;if("started"!==(null==n?void 0:n.status))return!1;const i=t+("video"===e.getMediaType()?this._bufferTarget.video:this._bufferTarget.audio);return n.timeStart>=t||n.timeEnd>=i}recreate(e){this._mediaSourceManager.recreate({mimeTypes:e})}injectInitSegment(e){const t=this._mediaSourceManager,n=t.getMediaSource();if(!n||"closed"===n.readyState)return Promise.resolve(!1);const i=e.getInitSegment();if(!i)return Promise.resolve(!1);const o=(0,u.X)(),r=t.getPlayId();return e.getInitBufferSet().then((e=>t.appendBufferData(e,i,r,o))).then((()=>!0))}setDuration(e){return this._mediaSourceManager.setDuration(e)}setPlayId(e){this._mediaSourceManager.setPlayId(e)}getBufferTarget(){return this._bufferTarget}}class vt extends ze{constructor(e){super(e),this.strategy=Z.URL,this._url=e.url,this._mimeType=e.mimeType}load(){if(this._mimeType){if(!(e=this._mimeType,t=this.getMediaType(),""!==document.createElement(t).canPlayType(e)))throw new Ye(i.FILE_FORMAT_NOT_SUPPORTED,"Content is not playable.")}var e,t;return Promise.resolve(this)}unload(){}isProtected(){return!1}getMediaTypeMimeTypes(){var e,t;return"video"===this._mediaType?{video:null!==(e=this._mimeType)&&void 0!==e?e:"video/mp4"}:{audio:null!==(t=this._mimeType)&&void 0!==t?t:"audio/mp3"}}getURL(){return this._url}getLoadingApproach(){return{approach:"src"}}}!function(e){e[e.MP3_256=3]="MP3_256",e[e.MP3_320=4]="MP3_320",e[e.MP3_160=5]="MP3_160",e[e.MP3_96=6]="MP3_96",e[e.MP4_128=10]="MP4_128",e[e.MP4_256=11]="MP4_256",e[e.MP4_128_DUAL=12]="MP4_128_DUAL",e[e.MP4_256_DUAL=13]="MP4_256_DUAL",e[e.MP4_128_CBCS=14]="MP4_128_CBCS",e[e.MP4_256_CBCS=15]="MP4_256_CBCS",e[e.MP4_FLAC=17]="MP4_FLAC"}(gt||(gt={}));const yt={[gt.MP3_256]:"audio/mp3",[gt.MP3_320]:"audio/mp3",[gt.MP3_160]:"audio/mp3",[gt.MP3_96]:"audio/mp3",[gt.MP4_128]:'audio/mp4; codecs="mp4a.40.2"',[gt.MP4_256]:'audio/mp4; codecs="mp4a.40.2"',[gt.MP4_128_DUAL]:'audio/mp4; codecs="mp4a.40.2"',[gt.MP4_256_DUAL]:'audio/mp4; codecs="mp4a.40.2"',[gt.MP4_128_CBCS]:'audio/mp4; codecs="mp4a.40.2"',[gt.MP4_256_CBCS]:'audio/mp4; codecs="mp4a.40.2"',[gt.MP4_FLAC]:'audio/mp4; codecs="flac"'};class bt extends ze{constructor(e){if(super(e),this._loaded=!1,this._lastResolveToken=0,this._fallbackURLs=[],this._contentSegments=[],this._duration=0,this._segmentLength=0,this._protection="cenc",this._fileId=e.fileId,this._resolver=e.resolver,this._keySystem=e.keySystem,this._keySystemSettings=Ie[this._keySystem],this._fileFormat=e.fileFormat,this._disableCache=e.disableCache,this._preloadedManifest=e.preloadedManifest,this._preresolvedURL=e.preresolvedURL,this._fileFormat)this._mimeType=yt[this._fileFormat];else switch(this._mediaFormat){case ne.MP3:this._mimeType=yt[gt.MP3_160];break;case ne.MP4:case ne.MP4_DUAL:case ne.MP4_CBCS:this._mimeType=yt[gt.MP4_128];break;default:throw new TypeError(`Unknown audio format ${this._mediaFormat}`)}}_getCDNURLs(e){if(this._preresolvedURL)return this._currentURL=this._preresolvedURL,this._fallbackURLs=[],e&&(e.resolveLatency=0),Promise.resolve(!0);const t=this._fileId;clearTimeout(this._lastResolveToken);const n=()=>(this._lastResolveTime=(0,u.X)(),this._resolver.getCDNURL(t,this._fileFormat).then((t=>(e&&this._lastResolveTime&&(e.resolveLatency=(0,u.r)(this._lastResolveTime)),t)))),i=this._lastResolveTime?(0,u.r)(this._lastResolveTime):1/0;let o;return o=i<1001?new Promise(((e,t)=>{this._lastResolveToken=setTimeout((()=>{n().then(e,t)}),1001-i)})):n(),o.then((e=>(this._fallbackURLs=e.uris,this._currentURL=this._fallbackURLs.shift(),!0))).catch((e=>(e&&(e.track=this.toLogJSON()),Promise.reject(e))))}_getManifest(e){if(this._preloadedManifest)return e&&(e.manifestLatency=0),Promise.resolve(this._preloadedManifest);const t=(0,u.X)();return this._resolver.getManifest(this._fileId).then((n=>(e&&(e.manifestLatency=(0,u.r)(t)),n)))}_calculateSegments(e){let t=e.offset;this._initSegment={init:!0,cacheBufferSet:!this._disableCache,timeStart:0,timeEnd:0,byteRanges:{audio:{start:0,end:t-1}}};const n=e.segments,i=e.timescale,o=n.length,r=new Array(o);let a=0,s=0;for(let e=0,c=o;e<c;e++){const o=n[e];if(!(null==o?void 0:o.length))continue;const[c,l]=o,u=l/i,d={init:!1,cacheBufferSet:!e&&!this._disableCache,timeStart:a,timeEnd:a+u,byteRanges:{audio:{start:t,end:t+(c-1)}}};r[e]=d,t+=c,s+=l,a+=u,Math.floor(u)>this._segmentLength&&(this._segmentLength=Math.floor(u))}r[r.length-1].isFinal=!0,this._contentSegments=r,this._duration=s/i}_calculateSegmentsV1(e){let t=e.offset;this._initSegment={init:!0,cacheBufferSet:!this._disableCache,timeStart:0,timeEnd:0,byteRanges:{audio:{start:0,end:t-1}}};const n=e.references,i=e.timescale,o=n.length,r=new Array(o);let a=0,s=0;for(let e=0,c=o;e<c;e++){const o=n[e];if(!o)continue;const c=o.duration/i,l={init:!1,cacheBufferSet:!e&&!this._disableCache,timeStart:s,timeEnd:s+c,byteRanges:{audio:{start:t,end:t+(o.size-1)}}};r[e]=l,t+=o.size,a+=o.duration,s+=c,Math.floor(c)>this._segmentLength&&(this._segmentLength=Math.floor(c))}r[r.length-1].isFinal=!0,this._contentSegments=r,this._duration=a/i}load(e={resolveLatency:0,manifestLatency:0}){return this._loaded?(e.resolveLatency=0,e.manifestLatency=0,Promise.resolve(this)):Promise.all([this._getCDNURLs(e),this._getManifest(e)]).then((([e,t])=>{var n;if(this._loaded=!0,!e||!t)return this;if(this._keySystem===ee.INVALID_SPOTIFY_KEY)return this._pssh=new Uint8Array(0),this;let o;const r=this._keySystemSettings.pssh_field.audio;let a=function(e,t){return t.hasOwnProperty(e)}(r,t)?t[r]:null;if(!a&&"pssh_widevine"===r&&"pssh"in t&&(a=null!==(n=t.pssh)&&void 0!==n?n:null),!a)return o=new Ye(i.FILE_FORMAT_NOT_SUPPORTED,"KeySystem does not support the file format."),o.track=this.toLogJSON(),Promise.reject(o);if(this._protection=t.protection||"cenc",this._pssh=Je(a),"segments"in t&&t.segments)this._calculateSegments(t);else{if(!("references"in t)||!t.references)return o=new Ye(i.FILE_MALFORMED_SEEKTABLE,"Malformed seektable."),o.track=this.toLogJSON(),Promise.reject(o);this._calculateSegmentsV1(t)}return this}))}isProtected(){return!!this._protection&&!!this._pssh}getMediaTypeMimeTypes(){return{audio:this._mimeType}}}const St="application/vnd.apple.mpegurl";function Tt(e){var t;const n=function(e){return e.map((e=>{if(e.byteEnd&&void 0!==e.byteStart){let t=""+(1+e.byteEnd-e.byteStart);return t+=`@${e.byteStart}`,`#EXTINF:${e.duration},\n#EXT-X-BYTERANGE:${t}\n${e.url}`}return`#EXTINF:${e.duration},\n${e.url}`})).join("\n")}(e.segments),i=e.assetID?`#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://${e.assetID}",KEYFORMATVERSIONS="1",KEYFORMAT="com.apple.streamingkeydelivery"`:"";let o=e.map?`#EXT-X-MAP:URI="${e.map.url}"`:"";return(null===(t=e.map)||void 0===t?void 0:t.byteEnd)&&void 0!==e.map.byteStart&&(o+=`,BYTERANGE="${1+e.map.byteEnd}@${e.map.byteStart}"`),`#EXTM3U\n#EXT-X-VERSION:6\n#EXT-X-TARGETDURATION:${Math.floor(e.targetDuration)}\n#EXT-X-MEDIA-SEQUENCE:0\n#EXT-X-PLAYLIST-TYPE:VOD\n${o?`${i}\n${o}`:i}\n${n}\n#EXT-X-ENDLIST`}function At(e){return`data:application/vnd.apple.mpegurl;base64,${btoa(e)}`}function It(e){const t=new Blob([e],{type:St});return URL.createObjectURL(t)}function Ot(e){return It(Tt(e))}function Ct(e){return At(Tt(e))}class Rt extends bt{constructor(){super(...arguments),this._hlsURL=null,this.strategy=Z.URL}unload(){this._hlsURL&&URL.revokeObjectURL(this._hlsURL),this._hlsURL=null}getURL(){var e,t;const n=this._currentURL,o=this._initSegment;if(!n||!o)throw new Ye(i.FILE_NOT_RESOLVED,"Cannot return HLS Manifest URL: File not resolved.");this.unload();const r={url:n,byteStart:null===(e=o.byteRanges.audio)||void 0===e?void 0:e.start,byteEnd:null===(t=o.byteRanges.audio)||void 0===t?void 0:t.end},a=this._contentSegments.map((e=>{var t,i;return{url:n,duration:e.timeEnd-e.timeStart,byteStart:null===(t=e.byteRanges.audio)||void 0===t?void 0:t.start,byteEnd:null===(i=e.byteRanges.audio)||void 0===i?void 0:i.end}})),s="undefined"==typeof MediaSource?Ot:Ct;return this._hlsURL=s({assetID:this._fileId,targetDuration:10,map:r,segments:a}),this._hlsURL}getLoadingApproach(){return{approach:"source",type:St}}}class Nt extends Error{constructor(e,t,n,i={}){super(t),this.code=e,this.message=t,this.status=n,this.debug=i,this.name="FragmentError"}}class Pt extends bt{constructor(e){super(e),this._profileId=`${Date.now()}`,this._lastFetchedBuffer=null,this.strategy=Z.MSE,this._transport=e.transport,this._abrManager=e.abrManager,this._parseSegmentResponse=this._parseSegmentResponse.bind(this)}_parseSegmentResponse(e,t){const{requestURL:n,segment:o,byteRangeHeader:r,expectedLength:a}=e.metadata,s=`${o.timeStart}-${o.timeEnd}`;switch(e.status){case 0:{if(e.offline)return Promise.reject(new Nt(i.FRAGMENT_OFFLINE_REQUEST_FAILED_WITH_ZERO,"Request failed with status 0.",0,{time_range:s,byte_range:r}));const a=new Nt(i.FRAGMENT_ONLINE_REQUEST_FAILED_WITH_ZERO,"Request failed with status 0.",0);let c=!1;return this._currentURL!==n?c=!0:this._fallbackURLs.length&&this._currentURL===n&&(c=!0,this._currentURL=this._fallbackURLs.shift()),a.debug.has_fallback=c,c?this.getBufferSetForSegment(o,t):Promise.reject(a)}case 200:case 206:{const t=e.body;if(!t)return Promise.reject(new Nt(i.FRAGMENT_REQUEST_EMPTY_RESPONSE,"Empty response for successful buffer.",e.status,{time_range:s,byte_range:r}));if(t.byteLength!==a)return Promise.reject(new Nt(i.FRAGMENT_REQUEST_UNEXPECTED_LENGTH,"Received buffer of unexpected length.",e.status,{time_range:s,byte_range:r,received_length:t.byteLength,expected_length:a}));const c={audio:{profileId:this._profileId,bufferURL:n,byteStart:o.byteRanges.audio.start,byteEnd:o.byteRanges.audio.end,buffer:t,mimeType:this._mimeType,bandwidth:8e3*t.byteLength/e.timing.completed}};return o.cacheBufferSet&&t&&t.byteLength&&(o.bufferSet=c),this._abrManager.sample(t.byteLength,e.timing.completed),Promise.resolve(c)}case 403:return this._getCDNURLs().then((()=>this.getBufferSetForSegment(o,t)));default:{let a=!1;return this._currentURL!==n?a=!0:this._fallbackURLs.length&&this._currentURL===n&&(a=!0,this._currentURL=this._fallbackURLs.shift()),a?this.getBufferSetForSegment(o,t):Promise.reject(new Nt(i.FRAGMENT_REQUEST_FAILED_WITH_STATUS,`Buffer request failed with status ${e.status}`,e.status,{time_range:s,byte_range:r}))}}}unload(){this._lastFetchedBuffer=null,this._disableCache&&(this._initSegment&&(this._initSegment.bufferSet=null),this._contentSegments[0]&&(this._contentSegments[0].bufferSet=null))}getCalculatedDuration(){return this._duration}getSegmentLength(){return this._segmentLength}getInitSegment(){return this._initSegment}getSegmentForTime(e){var t,n;if(!(null===(t=this._contentSegments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return null!==(n=this._contentSegments[0])&&void 0!==n?n:null;for(const t of this._contentSegments)if(t.timeStart<=e&&t.timeEnd>=e)return t;return null}getSegmentAfterTime(e){var t,n;if(!(null===(t=this._contentSegments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return null!==(n=this._contentSegments[1])&&void 0!==n?n:null;for(const t of this._contentSegments)if(t.timeStart>e)return t;return null}getSegmentsForRange(e,t=1/0){var n;const i=[];if(null===(n=this._contentSegments)||void 0===n?void 0:n.length)for(const n of this._contentSegments)n.timeStart<=t&&n.timeEnd>=e&&i.push(n);return i}getFinalSegment(){var e,t;return null!==(t=null===(e=this._contentSegments)||void 0===e?void 0:e[this._contentSegments.length-1])&&void 0!==t?t:null}getInitBufferSet(e){var t,n;if(!this._initSegment)throw new Ye(i.FILE_NOT_RESOLVED,"Cannot return the init bufferset: file not resolved.");return(null===(n=null===(t=this._initSegment.bufferSet)||void 0===t?void 0:t.audio)||void 0===n?void 0:n.buffer.byteLength)?Promise.resolve(this._initSegment.bufferSet):(this._initBufferPromise||(this._initBufferPromise=this.getBufferSetForSegment(this._initSegment,e).then((e=>{var t;if(!(null===(t=e.audio)||void 0===t?void 0:t.buffer.byteLength))throw new Error("Empty initialization segment buffer");return e}))),this._initBufferPromise)}getBufferSetForSegment(e,t){var n;if((null===(n=this._lastFetchedBuffer)||void 0===n?void 0:n.segment)===e)return Promise.resolve(this._lastFetchedBuffer.bufferSet);if(e.bufferSet)return Promise.resolve(e.bufferSet);if(!this._currentURL)return Promise.reject(new Ye(i.FILE_NOT_RESOLVED,"Cannot fetch buffer: No resolved URL"));const o=e.byteRanges.audio,r=`${o.start}-${o.end}`,a=o.end+1-o.start,s=this._currentURL;return(e.init?Promise.resolve(null):this.getInitBufferSet(t)).then((n=>Promise.all([n,this._transport.request(s,{method:"GET",responseType:"arraybuffer",headers:{Range:`bytes=${r}`},signal:t,timing:!0,metadata:{requestURL:s,segment:e,byteRangeHeader:r,expectedLength:a},retry:{condition:(e,t)=>{if(0===e.status)return e.offline;const n=e.getStatusFamily();return 429===e.status||n===t.CONNECTION_ERROR||n===t.SERVER_ERROR||!(n!==t.SUCCESS||!e.body)&&e.body.byteLength!==a}}}).then((e=>this._parseSegmentResponse(e,t)))]))).then((([t,n])=>{var i;return(null===(i=null==t?void 0:t.audio)||void 0===i?void 0:i.buffer)&&n.audio&&(n.audio.initBuffer=t.audio.buffer),this._lastFetchedBuffer={segment:e,bufferSet:n},n}))}}class Lt extends ot{constructor(e){super(e),this._hlsURLs=[],this.strategy=Z.URL,this._keySystem===ee.FAIRPLAY&&(this._supportedFormats.audio.push({mimeType:"audio/mp2t",codec:"mp4a.40.2"}),this._supportedFormats.video.push({mimeType:"video/mp2t",codec:"avc1.4d402a"}))}_getHLSURLForProfile(e,t){const n=this._duration,i=this._segmentLength,o=this._segmentTemplate,r=[];for(let t=0;t<n;t+=i){const a=t+i>n?n-t:i,s=o.replace("{{profile_id}}",e.id.toString(10)).replace("{{segment_timestamp}}",t.toString(10)).replace("{{file_type}}",e.file_type);r.push({duration:a,url:`${this._baseURL}${s}`})}const a=("undefined"==typeof MediaSource?Ot:Ct)({assetID:this._assetID,targetDuration:i,map:t?{url:t}:void 0,segments:r});return this._hlsURLs.push(a),a}load(e={resolveLatency:0,manifestLatency:0}){return super.load(e).then((()=>{var e,t;return this._audioProfiles.selected=null!==(e=this._audioProfiles.available[0])&&void 0!==e?e:null,this._videoProfiles.selected=null!==(t=this._videoProfiles.available[0])&&void 0!==t?t:null,this}))}getURL(){var e,t;if(!this._baseURL)throw new Ye(i.FILE_NOT_RESOLVED,"Cannot return HLS Manifest URL: File not resolved.");this.unload();const n=[],o=this._audioProfiles.available[0];if(o){const e="ts"!==o.file_type?this._resolver.getInitSegmentURLs(this._baseURL,this._initTemplate,o,void 0).audio:"";n.push(`#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,URI="${this._getHLSURLForProfile(o,e)}"`)}for(const i of this._videoProfiles.available){const r=(null!==(e=null==o?void 0:o.max_bitrate)&&void 0!==e?e:0)+i.max_bitrate,a=(null!==(t=null==o?void 0:o.audio_bitrate)&&void 0!==t?t:0)+i.video_bitrate,s="ts"!==i.file_type?this._resolver.getInitSegmentURLs(this._baseURL,this._initTemplate,void 0,i).video:"";n.push(`#EXT-X-STREAM-INF:BANDWIDTH=${r},AVERAGE-BANDWIDTH=${a},RESOLUTION=${i.video_width}x${i.video_height},CODECS="${(null==o?void 0:o.audio_codec)?`${o.audio_codec}, ${i.video_codec}`:i.video_codec}"${(null==o?void 0:o.audio_codec)?',AUDIO="audio"':""}\n${this._getHLSURLForProfile(i,s)}`)}const r=`#EXTM3U\n${n.join("\n")}`,a=("undefined"==typeof MediaSource?It:At)(r);return this._hlsURLs.push(a),a}unload(){for(const e of this._hlsURLs)URL.revokeObjectURL(e);this._hlsURLs=[]}getMediaTypeMimeTypes(){var e,t;return{audio:it(null===(e=this._audioProfiles.available)||void 0===e?void 0:e[0]),video:it(null===(t=this._videoProfiles.available)||void 0===t?void 0:t[0])}}getLoadingApproach(){return{approach:"source",type:St}}adaptToBandwidth(){return Promise.resolve(!1)}canLowerBitrate(){return!1}}class kt extends ot{constructor(e){super(e),this._initSegmentBuffers={},this.strategy=Z.MSE,this._transport=e.transport,this._abrManager=e.abrManager,this._parseSegmentResponse=this._parseSegmentResponse.bind(this)}_isQualityMatched(e,t,n){var i,o,r,a;if(this._videoResolution){const t=null!==(i=this._videoResolution.max)&&void 0!==i?i:9007199254740991,a=null!==(o=this._videoResolution.min)&&void 0!==o?o:0;if(n){const n=null!==(r=this._videoResolution.start)&&void 0!==r?r:t;return e.video_resolution<=n}return e.video_resolution>=a&&e.video_resolution<=t}const s=null!==(a=null==t?void 0:t.audio_bitrate)&&void 0!==a?a:0,c=this._abrManager.getBandwidthEstimate();return e.video_bitrate+s<c-1e5}_updateVariants(e){var t;const n=this._audioProfiles.available[0];this._audioProfiles.selected=null!=n?n:null;const i=this._videoProfiles,o=i.selected;let r=null;const a=i.available;let s=a.length;if(s){for(;s--;){const t=a[s];if(t&&this._isQualityMatched(t,n,!!e)){r=t;break}}r||(r=a[0]),this._videoProfiles.selected=r,(null==o?void 0:o.id)!==r.id&&(null===(t=this._mediator)||void 0===t||t.emit(q.VIDEO_PROFILE_CHANGED,{profile:{type:"video",mimeType:r.mime_type,codec:r.video_codec,bitrate:r.video_bitrate,height:r.video_height,width:r.video_width,resolution:r.video_resolution}}))}}_constructSegmentURL(e,t,n){if(!t&&!n)throw new Error("Both audioProfile and videoProfile is null");return e.init?this._resolver.getInitSegmentURLs(this._baseURL,this._initTemplate,t,n):this._resolver.getSegmentURLs(this._baseURL,this._segmentTemplate,e.timeStart,t,n)}_parseSegmentResponse(e){var t,n,o,r;const{segment:a,profile:s,timeStart:c,loggingURL:l}=e.metadata,u=it(s),d=function(e){return e?"audio_bitrate"in e?e.audio_bitrate:e.video_bitrate:0}(s),p="video_resolution"in s?s.video_resolution:void 0,h=`${a.timeStart}-${a.timeEnd}`,f="video_resolution"in s?"video":"audio";switch(e.status){case 0:{const e=new Nt(i.FRAGMENT_REQUEST_FAILED_WITH_ZERO,"Request failed with status 0.",0,{time_range:h,mimeType:u,resolution:p,bitrate:d});return null===(t=this._mediator)||void 0===t||t.emit(q.FRAGMENT_FETCH_ERROR,{media_type:"video",segment_type:f,url:l,start_time:c,init:a.init,error:e}),Promise.reject(e)}case 200:case 206:{const t=e.body;if(!(null==t?void 0:t.byteLength)){const t=new Nt(i.FRAGMENT_REQUEST_EMPTY_RESPONSE,"Empty response for successful buffer.",e.status,{time_range:h,mimeType:u,resolution:p,bitrate:d});return null===(n=this._mediator)||void 0===n||n.emit(q.FRAGMENT_FETCH_ERROR,{media_type:"video",segment_type:f,url:l,start_time:c,init:a.init,error:t}),Promise.reject(t)}const r=t.byteLength,m=8e3*r/e.timing.completed;return null===(o=this._mediator)||void 0===o||o.emit(q.FRAGMENT_FETCHED,{media_type:"video",segment_type:f,url:l,init:a.init,byte_length:r,start_time:c,end_time:Date.now(),resolution:p,bandwidth:m}),Promise.resolve({profileId:`${this._fileId}-${s.id}`,bufferURL:l,byteStart:0,byteEnd:r-1,buffer:t,mimeType:u,resolution:p,bitrate:d,bandwidth:m})}}const m=new Nt(i.FRAGMENT_REQUEST_FAILED_WITH_STATUS,`Buffer request failed with status ${e.status}`,e.status,{time_range:h,mimeType:u,resolution:p,bitrate:d});return null===(r=this._mediator)||void 0===r||r.emit(q.FRAGMENT_FETCH_ERROR,{media_type:"video",segment_type:f,url:l,init:a.init,start_time:c,error:m}),Promise.reject(m)}_fetchBufferData(e,t,n,i,o){return this._transport.request(e,{method:"GET",responseType:"arraybuffer",timing:!0,signal:o,retry:{condition:(e,t)=>{if(0===e.status)return!0;const n=e.getStatusFamily();return 429===e.status||n===t.CONNECTION_ERROR||n===t.SERVER_ERROR}},metadata:{timeStart:Date.now(),segment:t,profile:n,loggingURL:i}}).then(this._parseSegmentResponse)}_fetchInitSegmentBuffers(e,t,n){const o=this._initSegment;if(!o)return Promise.reject(new Ye(i.FILE_NOT_RESOLVED,"Cannot fetch Init Segment buffers: File not resolved."));let r;try{r=this._constructSegmentURL(o,e,t)}catch(e){return Promise.reject(e)}const a=this._initSegmentBuffers;let s=0,c=0;const l=(0,u.X)(),d=e=>{c+=e,s--,s||(this._abrManager.sample(c,(0,u.r)(l)),this._updateVariants())};let p=Promise.resolve(null);if(e){const t=a[e.id];(null==t?void 0:t.buffer.byteLength)?p=Promise.resolve(t):(null==r?void 0:r.audio)&&(s++,p=this._fetchBufferData(r.audio,o,e,r.audioLogging,n).then((t=>(a[e.id]=t,d(t.buffer.byteLength),t))))}let h=Promise.resolve(null);if(t){const e=a[t.id];(null==e?void 0:e.buffer.byteLength)?h=Promise.resolve(e):(null==r?void 0:r.video)&&(s++,h=this._fetchBufferData(r.video,o,t,r.videoLogging,n).then((e=>(a[t.id]=e,d(e.buffer.byteLength),e))))}return Promise.all([p,h]).then((([e,t])=>({audio:e,video:t})))}_fetchBufferSetForSegment(e,t,n,i){let o;try{o=this._constructSegmentURL(e,t,n)}catch(e){return Promise.reject(e)}return this._fetchInitSegmentBuffers(t,n,i).then((r=>{let a=0,s=0;const c=(0,u.X)(),l=e=>{s+=e,a--,a||(this._abrManager.sample(s,(0,u.r)(c)),this._updateVariants())};let d=null;!e.init&&(null==o?void 0:o.audio)&&(a++,d=this._fetchBufferData(o.audio,e,t,o.audioLogging,i).then((e=>(l(e.buffer.byteLength),e))));let p=null;return!e.init&&(null==o?void 0:o.video)&&(a++,p=this._fetchBufferData(o.video,e,n,o.videoLogging,i).then((e=>(l(e.buffer.byteLength),e)))),Promise.all([r,d,p])})).then((([t,n,i])=>{var o,r;let a;return e.init?a={audio:null!==(o=t.audio)&&void 0!==o?o:void 0,video:null!==(r=t.video)&&void 0!==r?r:void 0}:(a={audio:null!=n?n:void 0,video:null!=i?i:void 0},e.cacheBufferSet&&(e.bufferSet=a),a.audio&&(null==t?void 0:t.audio)&&(a.audio.initBuffer=t.audio.buffer),a.video&&(null==t?void 0:t.video)&&(a.video.initBuffer=t.video.buffer)),a})).catch((e=>Promise.reject(e)))}load(e={resolveLatency:0,manifestLatency:0}){return super.load(e).then((()=>(this._updateVariants(!0),this)))}adaptToBandwidth(){return this._updateVariants(),Promise.resolve(!0)}canLowerBitrate(){var e;const t=this._videoProfiles.available[0];return(null===(e=this._videoProfiles.selected)||void 0===e?void 0:e.id)!==(null==t?void 0:t.id)}getMediaTypeMimeTypes(){return{audio:it(this._audioProfiles.selected),video:it(this._videoProfiles.selected)}}unload(){this._initSegment&&(this._initSegmentBuffers={}),this._segments.forEach((e=>{e.bufferSet=null}))}getCalculatedDuration(){return this._duration}getSegmentLength(){return this._segmentLength}getInitSegment(){return this._initSegment}getInitBufferSet(){var e,t;const n=null!==(e=this._audioProfiles.selected)&&void 0!==e?e:void 0,i=null!==(t=this._videoProfiles.selected)&&void 0!==t?t:void 0;return this._fetchInitSegmentBuffers(n,i).then((e=>{var t,n;return{audio:null!==(t=e.audio)&&void 0!==t?t:void 0,video:null!==(n=e.video)&&void 0!==n?n:void 0}}))}getSegmentForTime(e){var t;if(!(null===(t=this._segments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return this._segments[0];for(const t of this._segments)if(t.timeStart<=e&&t.timeEnd>=e)return t;return null}getSegmentAfterTime(e){var t;if(!(null===(t=this._segments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return this._segments[1];for(const t of this._segments)if(t.timeStart>e)return t;return null}getSegmentsForRange(e,t){var n;const i=[];if(null===(n=this._segments)||void 0===n?void 0:n.length)for(const n of this._segments)n.timeStart<=t&&n.timeEnd>=e&&i.push(n);return i}getFinalSegment(){var e,t;return null!==(t=null===(e=this._segments)||void 0===e?void 0:e[this._segments.length-1])&&void 0!==t?t:null}getBufferSetForSegment(e,t){var n,i;if(!e)return Promise.reject(new TypeError("No segment provided"));const o=this._audioProfiles.selected,r=this._videoProfiles.selected,a=null===(i=null===(n=e.bufferSet)||void 0===n?void 0:n.video)||void 0===i?void 0:i.resolution;return e.bufferSet&&(!r||a&&a>=r.video_resolution)?Promise.resolve(e.bufferSet):this._fetchBufferSetForSegment(e,null!=o?o:void 0,null!=r?r:void 0,t)}}class wt extends ze{constructor(e){super(e),this._url="",this.strategy=Z.URL,this._fileId=e.fileId,this._resolver=e.resolver}_getCDNURLs(e){const t=this._fileId,n=(0,u.X)();return this._resolver.getCDNURL(t).then((t=>(e&&(e.resolveLatency=(0,u.r)(n)),t)))}load(e={resolveLatency:0,manifestLatency:0}){return this._getCDNURLs(e).then((e=>(this._url=e.uri,this)))}unload(){}isProtected(){return!1}getMediaTypeMimeTypes(){return{audio:"audio/mp3"}}getURL(){return this._url}getLoadingApproach(){return{approach:"source",type:"audio/mp3"}}}class Dt extends Error{constructor(e,t){super(),this.status=-1,this.debug={},this.canPlayNext=!0,this.unrecoverable=!1,this.name="AdManifestError",this.code=e,this.message=t}static fatal(e,t){const n=new Dt(e,t);return n.unrecoverable=!1,n.canPlayNext=!0,n}}class Mt extends ze{constructor(e){super(e),this._loaded=!1,this._playableContentSorted=[],this._mimeType="",this._manifestURL="",this._adURL="",this._product="",this._audioFiles=[],this._videoFiles=[],this._trackingData=null,this.strategy=Z.URL,this._abrManager=e.abrManager,this._transport=e.transport,this._manifestURL=e.manifestURL,this._preloadedManifest=e.preloadedManifest,this._hasNonFatalErrors=!1,this._getManifest=this._getManifest.bind(this),this._parseManifest=this._parseManifest.bind(this),this._getPlayableContent=this._getPlayableContent.bind(this)}_isPlayable(e,t){return""!==document.createElement(t).canPlayType(e)}_parseManifest(e){if(!(null==e?void 0:e.manifest))throw new Dt(i.STORAGE_TRACK_MANIFEST_EMPTY,"Received empty manifest.");const{manifest:t}=e;this._videoFiles=t.video_files,this._audioFiles=t.audio_files,this._contentMetadata=t.metadata,this._videoManifestId=t.video_manifest_id,this._product=t.product,this._trackingData=(e=>{const t={};for(const n in e){if(!e.hasOwnProperty(n))continue;const i=n;t[i]={urls:e[i]}}return t})(t.tracking_events)}_getManifest(e){if(this._preloadedManifest)return e&&(e.manifestLatency=0),Promise.resolve(this._preloadedManifest);const t=(0,u.X)(),n=this._manifestURL;return this._transport.request(n,{responseType:"json",authorize:!0,retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then((o=>{if(200!==o.status){const e=new Dt(i.AD_MANIFEST_REQUEST_FAILED_WITH_STATUS,`Ad manifest request failed with status code ${o.status}`);return e.debug.manifestURL=n,e.status=o.status,Promise.reject(e)}if(!o.body){const e=new Dt(i.AD_MANIFEST_INVALID,"Received empty manifest.");return e.debug.manifestURL=n,e.status=o.status,Promise.reject(e)}e&&(e.manifestLatency=(0,u.r)(t));const r=o.body;return Promise.resolve(r)}))}_getPlayableContent(){const e="video"===this._product;if(e&&this._videoManifestId)return;const t=e?this._videoFiles:this._audioFiles;if(!t.length)throw new Ye(i.FILE_NOT_RESOLVED,`Manifest's ${e?"video_files":"audio_files"} array is empty.`);const n=t.filter((e=>this._isPlayable(e.type,this.getMediaType())));if(!n.length)throw new Ye(i.FILE_FORMAT_NOT_SUPPORTED,"No playable content found.");this._playableContentSorted=n.sort(((e,t)=>t.bitrate-e.bitrate))}load(e={resolveLatency:0,manifestLatency:0}){return this._loaded?(e.resolveLatency=0,e.manifestLatency=0,Promise.resolve(this)):this._getManifest(e).then(this._parseManifest).then(this._getPlayableContent).then((()=>(this._loaded=!0,Promise.resolve(this))))}unload(){this._adURL=""}isProtected(){return!1}getMediaTypeMimeTypes(){return{[this._mediaType]:this._mimeType}}getURL(){if(""!==this._adURL)return this._adURL;const e=this._abrManager.getBandwidthEstimate();let t=this._playableContentSorted[this._playableContentSorted.length-1];for(const n of this._playableContentSorted)if(n.bitrate<=e){t=n;break}return t&&(this._adURL=t.url,this._mimeType=t.type),this._adURL}getLoadingApproach(){return{approach:"src"}}getManifestId(){return this._videoManifestId}getTrackingEvents(){if(!this._trackingData)throw new Ye(i.FILE_NOT_RESOLVED,"Cannot return Tracking Events: File not resolved.");return this._trackingData}getTrackingEventData(e){const t=this._trackingData?this._trackingData[e]:null;return t?{tracking_event:e,urls:t.urls}:null}}function xt(e,t){var n;return{mediaType:e.mediaType,logData:e.logData,audioGain:e.audioGain,uri:e.uri,fileId:e.fileId,mediaFormat:e.format,hasNonFatalErrors:null!==(n=e.hasNonFatalErrors)&&void 0!==n?n:e.isAd,disableCache:t.disableCache,keySystem:t.keySystem,licenseEndpoint:e.licenseEndpoint,mediator:t.mediator,noAuth:e.noAuth,mimeType:e.mimeType}}function Ut(e,t,n){if(!e.fileId)return Promise.reject(new ie(i.INVALID_TRACK,`Invalid ${e.format} Track: No fileId.`));const o=Object.assign(Object.assign({},xt(e,t)),{transport:t.transport,abrManager:t.abrManager,supportedFormats:t.supportedFormats,fileId:e.fileId,keySystemSettings:Ie[t.keySystem],resolver:t.videoResolver,disallowProfile:t.disallowProfile,allowMixedAVC1Codecs:t.allowMixedAVC1Codecs,trackingData:(null==n?void 0:n.trackingData)||null,metadata:null==n?void 0:n.metadata});return t.keySystem===ee.FAIRPLAY?new Lt(o).load(t.measures):new kt(o).load(t.measures)}const Vt=O.m.forTag("playback.player"),Ft=/^blob:/,Bt={[ne.MP4]:!0,[ne.MP4_DUAL]:!0,[ne.MP4_CBCS]:!0,[ne.MP4_FLAC]:!0,[ne.MP3]:!1,[ne.MANIFEST_ID]:!0,[ne.AD_MANIFEST]:!0,[ne.GENERIC_MEDIA]:!0},Ht={start:Q.REPORTING_START,creative_view:Q.REPORTING_CREATIVE_VIEW,first_quartile:Q.REPORTING_FIRST_QUARTILE,midpoint:Q.REPORTING_MIDPOINT,third_quartile:Q.REPORTING_THIRD_QUARTILE,complete:Q.REPORTING_COMPLETE,pause:Q.REPORTING_PAUSE,resume:Q.REPORTING_RESUME,error:Q.REPORTING_ERROR},Gt={audio:2,video:2};function Wt(e){return Math.ceil(1e3*e)}function jt(e){return e/1e3}function Yt(e){return document.createElement(e)}class zt extends c.bk{constructor(e){var t,n,i,o,r;super(),this._cubicVolume=!1,this._player=null,this._emeManager=null,this._mediator=new c.bk,this._currentContent=null,this._upcomingContent=null,this._preloadingTracks={},this._playId=0,this._abortController=null,this._loaded=!1,this._licenseRequested=!1,this._playerActivated=!1,this._pauseToken=0,this._syntheticEndedToken=0,this._activeMimeTypes={},this._playerVolume=1,this._muted=!1,this._playerSpeed=1,this._fatalOnNextError=!1,this._canPreloadEmitted=!1,this._lastTimeUpdatePostion=0,this._rebuffering=!1,this._preferredBitrate=0,this._disableLicensePrefetch=!1,this._allowMixedAVC1Codecs=!0,this._disableBufferingBeforeLicense=!1,this._rebufferTarget=Gt,this._audioResolver=e.audioResolver,this._clearBufferOnSeek=!!e.clearBufferOnSeek,this._createPlayer=e.createPlayer||Yt,this._cubicVolume=e.cubicVolume,this._disableCache=!!e.disableCache,this._licenseURLResolver=e.licenseURLResolver,this._newBufferPerTrack=!!e.newBufferPerTrack,this._newElementPerTrack=!!e.newElementPerTrack,this._newMediaKeysPerTrack=e.newMediaKeysPerTrack,this._rebufferOnQuotaExceeded=!!e.rebufferOnQuotaExceeded,this._disableLicensePrefetch=!!e.disableLicensePrefetch,this._synthesizeEnded=!!e.synthesizeEnded,this._tracker=e.tracker,this._transport=e.transport,this._videoPlayerContainer=e.videoPlayerContainer,this._audioPlayerContainer=e.audioPlayerContainer,this._playerContainerManager=e.playerContainerManager||{inject:this._defaultPlayerContainerInjector.bind(this),eject:this._defaultPlayerContainerEjector.bind(this)},this._allowMixedAVC1Codecs=null===(t=e.allowMixedAVC1Codecs)||void 0===t||t,this._videoResolver=e.videoResolver,this._abrManager=e.abrManager,this._initialBandwidthSampler=e.initialBandwidthSampler,this._emeManager=e.disallowProtectedTracks?null:e.emeManager||null,this._disallowProfile=e.disallowProfile,this._disableBufferingBeforeLicense=!!e.disableBufferingBeforeLicense,this._cache=new $.q(e.trackCacheSize||2),this._subtitleManager=new je({language:e.preferredSubtitleLanguage||navigator.language,player:this._player}),this._videoResolution=e.videoResolution,Vt.info("Setting Player track cache to:",e.trackCacheSize||2),this._bufferManager=Et.create(this._tracker,void 0,{disableBufferAbort:!!e.disableBufferAbort,reinjectInitsOnAbort:!!e.reinjectInitsOnAbort,noInit:!0,customSourceBufferParams:e.customSourceBufferParams,bufferTarget:e.bufferTarget}),this._statistics=ct.create({bandwidthEstimator:this._abrManager}),this._newKeySystemAccessPerTrack=e.newKeySystemAccessPerTrack,this._loadingTimeout=e.loadingTimeout;const a=this._bufferManager.getBufferTarget();this._rebufferTarget={audio:Math.min(null!==(i=null===(n=e.rebufferTarget)||void 0===n?void 0:n.audio)&&void 0!==i?i:Gt.audio,a.audio),video:Math.min(null!==(r=null===(o=e.rebufferTarget)||void 0===o?void 0:o.video)&&void 0!==r?r:Gt.video,a.video)},this._audioProcessor=ut.create(e.audioProcessorOptions),this._preloadThreshold=e.preloadThreshold||10,this._onCanPlay=this._onCanPlay.bind(this),this._onCanPlayThrough=this._onCanPlayThrough.bind(this),this._onTimeUpdate=this._onTimeUpdate.bind(this),this._onDurationChange=this._onDurationChange.bind(this),this._onPlay=this._onPlay.bind(this),this._onPlaying=this._onPlaying.bind(this),this._onPause=this._onPause.bind(this),this._onSeeking=this._onSeeking.bind(this),this._onEncrypted=this._onEncrypted.bind(this),this._onEnded=this._onEnded.bind(this),this._onError=this._onError.bind(this),this._onRequiresDuration=this._onRequiresDuration.bind(this),this._onQuotaExceeded=this._onQuotaExceeded.bind(this),this._onLoadedMetadata=this._onLoadedMetadata.bind(this),this._onWaiting=this._onWaiting.bind(this),this._onFragmentFetched=this._onFragmentFetched.bind(this),this._onProfileChanged=this._onProfileChanged.bind(this),this._onPlayedThresholdReached=this._onPlayedThresholdReached.bind(this),this._onSyntheticEnded=this._onSyntheticEnded.bind(this),this._onLicenseRequestCapped=this._onLicenseRequestCapped.bind(this),this._onLicenseRequestError=this._onLicenseRequestError.bind(this),this._onNavigatorOffline=this._onNavigatorOffline.bind(this),this._onBufferError=this._onBufferError.bind(this),this._onBufferUpdateEnd=this._onBufferUpdateEnd.bind(this),this._emitWarning=this._emitWarning.bind(this),this._handleLoadingComplete=this._handleLoadingComplete.bind(this),this._onRateChange=this._onRateChange.bind(this),this._onVideoResize=this._onVideoResize.bind(this),this._setAudioGain=this._setAudioGain.bind(this),this._init(),this._getCacheKey=this._getCacheKey.bind(this)}static create(e){const t=Object.assign({},e);return e.disallowProtectedTracks?zt.createWithOptions(t):Me.create({transport:e.transport,disallowRobustnessValues:e.disallowRobustnessValues,disallowCodecs:e.disallowCodecs,noServerCertificate:e.noServerCertificate,precacheServerCertificate:e.precacheServerCertificate,unauthServerCertificateBase:e.unauthServerCertificateBase,preferredKeySystems:e.preferredKeySystems}).then((e=>{t.emeManager=e;const n=new zt(t);return t.preinitMediaElement?n._preinitMediaElement():n})).catch((n=>{if(e.enableWithoutEME)return zt.createWithOptions(t);throw n}))}static createWithOptions(e){return new Promise((t=>{const n=new zt(e);t(e.preinitMediaElement?n._preinitMediaElement():n)}))}_init(){this._disableCache&&Vt.info("Cache disabled."),this._transport.on(this._transport.EVENT_CONNECTION_OFFLINE,this._onNavigatorOffline),this.proxyEmitAllSync(this._tracker,{[Q.TRACKER_TRACKING_DATA_CREATED]:Q.PLAYER_TRACKING_DATA_CREATED,[Q.TRACKER_TRACKING_DATA_FINALIZED]:Q.PLAYER_TRACKING_DATA_FINALIZED,[Q.TRACKER_PLAYBACK_START]:Q.PLAYER_PLAYBACK_START}),this._tracker.on(Q.TRACKER_PLAYED_THRESHOLD_REACHED,this._onPlayedThresholdReached),this._emeManager&&this._emeManager.addListeners({[Q.EME_LICENSE_REQUEST_CAPPED]:this._onLicenseRequestCapped,[Q.EME_LICENSE_REQUEST_ERROR]:this._onLicenseRequestError}),this._bufferManager.addListeners({[Q.BUFFER_APPEND_ERROR]:this._onBufferError,[Q.BUFFER_QUOTA_EXCEEDED]:this._onQuotaExceeded,[Q.BUFFER_UPDATE_END]:this._onBufferUpdateEnd}),this._mediator.addListeners({[q.FRAGMENT_FETCHED]:this._onFragmentFetched,[q.VIDEO_PROFILE_CHANGED]:this._onProfileChanged}),this.proxyEmitAll(this._mediator,{[q.FRAGMENT_FETCH_ERROR]:Q.PLAYER_FRAGMENT_FETCH_ERROR}),this.proxyEmitSync(this._subtitleManager,Q.PLAYER_DISPLAYED_CUES_CHANGED,Q.PLAYER_DISPLAYED_CUES_CHANGED),this.proxyEmit(this._subtitleManager,Q.PLAYER_SUBTITLE_LANGUAGES_LOADED,Q.PLAYER_SUBTITLE_LANGUAGES_LOADED),this.proxyEmitAll(this._videoResolver,{[Q.VIDEO_MANIFEST_RESOLVED]:Q.PLAYER_VIDEO_MANIFEST_RESOLVED,[Q.VIDEO_MANIFEST_RESOLVE_FAILED]:Q.PLAYER_VIDEO_MANIFEST_RESOLVE_FAILED}),this._tracker.addListeners({[Q.TRACKER_FIRST_QUARTILE]:()=>this._emitReporting("first_quartile"),[Q.TRACKER_MIDPOINT]:()=>this._emitReporting("midpoint"),[Q.TRACKER_THIRD_QUARTILE]:()=>this._emitReporting("third_quartile")}),this.addListeners({[Q.PLAYER_PLAYBACK_START]:()=>{this._emitReporting("start"),this._emitReporting("creative_view")},[Q.PLAYER_ENDED]:()=>this._emitReporting("complete"),[Q.PLAYER_ERROR]:()=>this._emitReporting("error")}),this._initialBandwidthSampler.sample().catch((()=>{}))}_onRateChange(){if(!this._player)return;const e=this._player.playbackRate;0!==e&&this._tracker.trackSpeedChanged(e),this.emit(Q.PLAYER_PLAYBACK_SPEED_CHANGED,{playback_speed:e,playback_speed_selected:this._playerSpeed,rebuffering:this._rebuffering})}_onLicenseRequestError(e){if(e.data.signal.aborted)return;const t=this._currentContent;if(!t)return;const n=e.data.error,i=t.getKeySystem();n.shouldRefreshEndpoint&&i&&this._licenseURLResolver.remove(i,t.getMediaType()),this._emitError(n,!n.unrecoverable,t.toLogJSON())}_onFragmentFetched(e){const{data:t}=e;this._tracker.trackFragment(t),this.emit(Q.PLAYER_FRAGMENT_FETCHED,t)}_onProfileChanged(e){const{data:t}=e;this._tracker.trackProfileChanged(t.profile),this.emit(Q.PLAYER_VIDEO_PROFILE_CHANGED,t)}_defaultPlayerContainerInjector(e,t){const n=this._getContainerElement("video"===t?this._videoPlayerContainer:this._audioPlayerContainer);n&&e.parentNode!==n&&(n.appendChild(e),"video"===t&&this.emit(Q.PLAYER_VIDEO_ELEMENT_APPENDED,null))}_defaultPlayerContainerEjector(e,t,n){const i=this._getContainerElement("video"===t?this._videoPlayerContainer:this._audioPlayerContainer);i&&e.parentNode===i&&(this._newElementPerTrack||n!==t)&&(i.removeChild(e),"video"===t&&(this._subtitleManager.setPlayer(null),this.emit(Q.PLAYER_VIDEO_ELEMENT_REMOVED,null)))}_onLicenseRequestCapped(e){if(e.data.signal.aborted)return;this._currentContent&&(this.pause(),this.emit(Q.PLAYER_CAPPED,null))}_shouldNextErrorBeFatal(){const e=this._currentContent;if(!e)return!1;if(e.hasNonFatalErrors()||!e.isProtected())return!1;if(!this._player)return!1;const t=this._player.error;if(!(t&&t instanceof MediaError))return this._fatalOnNextError=!1,!1;switch(t.code){case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:case MediaError.MEDIA_ERR_DECODE:return!0;default:return!1}}_onNavigatorOffline(){this._tracker.trackNavigatorOffline()}_onBufferError(e){this._emitError(e.data.error,e.data.canPlayNext,e.data.track)}_onBufferUpdateEnd(){var e;this._setRebufferingState(!0),this._rebuffering&&this._player&&(null===(e=this._currentContent)||void 0===e?void 0:e.strategy)===Z.MSE&&this._bufferManager.checkBufferHealth(this._currentContent,this._player.currentTime)}_addPlayerEvents(e){e.addEventListener(Q.MEDIA_TIMEUPDATE,this._onTimeUpdate),e.addEventListener(Q.MEDIA_PLAY,this._onPlay),e.addEventListener(Q.MEDIA_PLAYING,this._onPlaying),e.addEventListener(Q.MEDIA_PAUSE,this._onPause),e.addEventListener(Q.MEDIA_SEEKING,this._onSeeking),e.addEventListener(Q.MEDIA_ENCRYPTED,this._onEncrypted),e.addEventListener(Q.MEDIA_ENDED,this._onEnded),e.addEventListener(Q.MEDIA_ERROR,this._onError),e.addEventListener(Q.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.addEventListener(Q.MEDIA_DURATIONCHANGE,this._onDurationChange),e.addEventListener(Q.MEDIA_WAITING,this._onWaiting),e.addEventListener(Q.MEDIA_CANPLAY,this._onCanPlay),e.addEventListener(Q.MEDIA_CANPLAYTHROUGH,this._onCanPlayThrough),e.addEventListener(Q.MEDIA_RATECHANGE,this._onRateChange),e.addEventListener(Q.INTERNAL_MEDIA_REQUIRES_DURATION,this._onRequiresDuration),e.addEventListener(Q.MEDIA_RESIZE,this._onVideoResize)}_removePlayerEvents(e){e.removeEventListener(Q.MEDIA_TIMEUPDATE,this._onTimeUpdate),e.removeEventListener(Q.MEDIA_PLAY,this._onPlay),e.removeEventListener(Q.MEDIA_PLAYING,this._onPlaying),e.removeEventListener(Q.MEDIA_PAUSE,this._onPause),e.removeEventListener(Q.MEDIA_SEEKING,this._onSeeking),e.removeEventListener(Q.MEDIA_ENCRYPTED,this._onEncrypted),e.removeEventListener(Q.MEDIA_ENDED,this._onEnded),e.removeEventListener(Q.MEDIA_ERROR,this._onError),e.removeEventListener(Q.MEDIA_WAITING,this._onWaiting),e.removeEventListener(Q.MEDIA_CANPLAY,this._onCanPlay),e.removeEventListener(Q.MEDIA_RATECHANGE,this._onRateChange),e.removeEventListener(Q.MEDIA_CANPLAYTHROUGH,this._onCanPlayThrough),e.removeEventListener(Q.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.removeEventListener(Q.MEDIA_DURATIONCHANGE,this._onDurationChange),e.removeEventListener(Q.INTERNAL_MEDIA_REQUIRES_DURATION,this._onRequiresDuration),e.removeEventListener(Q.MEDIA_RESIZE,this._onVideoResize)}_recreateMediaElement(e,t,n,i){var o,r,a;if(i.aborted)return Vt.info("Recreate player dropped: operation aborted."),Promise.resolve(null);const s=this._player;let c=Promise.resolve(null);if(s){const i=!this._newElementPerTrack&&!("AUDIO"===s.tagName&&"video"===t)&&!(s===this._audioProcessor.getPlayer()&&!(null===(o=this._upcomingContent)||void 0===o?void 0:o.isProtected()))&&function(e,t){let n=!0;return Object.keys(t).forEach((i=>{const o=t[i];'audio/mp2t;codecs="mp4a.40.2"'!==o&&o&&!e.canPlayType(o)&&(n=!1)})),n}(s,e);if(i){Vt.info("Reusing media element.");return(!(e.audio===this._activeMimeTypes.audio&&e.video===this._activeMimeTypes.video)||this._newBufferPerTrack)&&n===Z.MSE&&(Vt.info("Recreating buffer."),this._bufferManager.recreate(e),this._activeMimeTypes=e),Promise.resolve({player:s,mediaKeys:s.mediaKeys})}this._removePlayerEvents(s),s.pause(),c=this._cleanMediaKeys(s),this._player=null,null===(r=this._playerContainerManager)||void 0===r||r.eject(s,"video"),null===(a=this._playerContainerManager)||void 0===a||a.eject(s,"audio")}Vt.info(`Creating new media element for media type ${t}.`);const l=this._createPlayer(t),u=this._playerVolume;return l.volume=this._cubicVolume?Math.pow(u,3):u,l.autoplay=!1,l.loop=!1,l.muted=this._muted,"playsInline"in l&&(l.playsInline=!0),this._player=l,this._playerActivated=!1,this._addPlayerEvents(l),n===Z.MSE&&this._bufferManager.recreate(e),this._activeMimeTypes=e,c.then((e=>({player:l,mediaKeys:e})))}_getContainerElement(e){var t;if("string"==typeof e){const n=document.querySelector(e);if(n)return n;const o=new ie(i.PLAYER_CONTAINER_ELEMENT_NOT_FOUND,"Container element was not found in the DOM");return o.listPlayerIgnore=!0,this._emitWarning(o,null===(t=this._currentContent)||void 0===t?void 0:t.toLogJSON()),null}return e||null}_onVideoResize(){if(!(this._player instanceof HTMLVideoElement))return;const{videoWidth:e,videoHeight:t}=this._player;this.emit(Q.PLAYER_VIDEO_RESIZED,{width:e,height:t})}_onDurationChange(){var e;const t=null===(e=this._abortController)||void 0===e?void 0:e.signal,n=()=>{if(!this._player)return;if(null==t?void 0:t.aborted)return void Vt.info("Duration changed drop: operation aborted.");const e=Wt(this._player.duration),n=Wt(this._player.currentTime);this._tracker.setActualDuration(e),this.emit(Q.PLAYER_DURATION_CHANGED,{timestamp:Date.now(),position:n,duration:e})};this._loaded?n():this.once(Q.PLAYER_LOAD,n)}_onPlay(){var e;if(!this._player||!this._currentContent)return;const t=Wt(this._player.currentTime);this._tracker.trackPlay(t,this._player.playbackRate),this.emit(Q.PLAYER_PLAY,{timestamp:Date.now(),position:t,logData:null!==(e=this._currentContent.getLogData())&&void 0!==e?e:null})}_onPlaying(){if(!this._player)return;this._playerActivated=!0;const e=this._currentContent,t=Wt(this._player.currentTime);this._tracker.trackPlaying(t),this.emit(Q.PLAYER_PLAYING,{timestamp:Date.now(),position:t,logData:e?e.getLogData():null})}_onPause(){var e;if(!this._player)return;const t=Wt(this._player.currentTime);this._tracker.trackPaused(t);const n=this._currentContent?this._currentContent.getLogData():null;this._pauseToken=setTimeout((()=>{clearTimeout(this._syntheticEndedToken),this.emit(Q.PLAYER_PAUSED,{position:t,logData:n})}),10),this._player&&(null===(e=this._currentContent)||void 0===e?void 0:e.strategy)===Z.MSE&&this._bufferManager.checkBufferHealth(this._currentContent,this._player.currentTime)}_onSeeking(){var e;this.emit(Q.PLAYER_SEEKING,null),this._setRebufferingState(),(null===(e=this._currentContent)||void 0===e?void 0:e.strategy)===Z.MSE&&this._player&&!this._bufferManager.isPositionInCurrentFillRange(this._currentContent,this._player.currentTime)&&(Vt.log("Aborting buffer operations."),this._bufferManager.abort(this._clearBufferOnSeek)),this._lastTimeUpdatePostion=0,this._onTimeUpdate()}_onRequiresDuration(){this._currentContent&&this._currentContent.isProtected()&&this._player&&(this._player.duration=this._currentContent.getCalculatedDuration())}_onQuotaExceeded(){this._player&&this._rebufferOnQuotaExceeded&&(Vt.info("Exceeded quota: rebuffering current track."),this._bufferManager.abort(!0),this._player.currentTime=this._player.currentTime,this._onTimeUpdate())}_onEncrypted(e){Vt.info("Got Encrypted event");this._currentContent&&this.emitSync(Q.INTERNAL_ENCRYPTED,{initData:e.initData,fromPolyfill:!!e.fromPolyfill})}_onEnded(){!this._currentContent||this._synthesizeEnded&&this._currentContent.isProtected()||(Vt.info("Native ended emitted."),this._emitEnded())}_onSyntheticEnded(){this._synthesizeEnded&&this._currentContent&&this._currentContent.isProtected()&&(Vt.info("Synthetic ended emitted."),this._emitEnded())}_onError(){if(!this._player)return;const e=this._player.error;let t,n=!1;const o=this._currentContent;let r,a,s,c=!1;o&&(n=o.isProtected(),t=o.toLogJSON(),c=o.hasNonFatalErrors(),o.unload());let l=!0;const u=!o||c||!this._fatalOnNextError,d=e&&e.msExtendedCode?`0x${(e.msExtendedCode>>>0).toString(16).toUpperCase()}`:null,p=`data:${(null==t?void 0:t.fileId)||"unknown"}`;if(e instanceof MediaError){switch(e.code){case MediaError.MEDIA_ERR_ABORTED:r=i.MEDIA_ABORTED,a="Media aborted.";break;case MediaError.MEDIA_ERR_NETWORK:r=i.MEDIA_NETWORK_ERROR,a="Network error.";break;case MediaError.MEDIA_ERR_DECODE:r=i.MEDIA_DECODING_ERROR,a="Media decoding error.",l=u;break;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:r=i.MEDIA_NOT_SUPPORTED,a="Media not supported.",l=u;break;default:r=i.PLAYER_MEDIA_ERROR,a="Media error.",s=!0}a+=` (${e.message||d||p||e.toString()})`}else r=i.PLAYER_PLAYBACK_ERROR,a="Error message undefined",s=!0;this._bufferManager.abort(!0);const h=new ie(r,a);l||(h.unrecoverable=!0),h.listPlayerIgnore=c,h.debug.src_url=p,h.debug.protected=n,h.debug.extendedCode=d,h.debug.rawExCode=e&&e.msExtendedCode||null,s&&e&&(h.debug.nativeCode=e.code||null,h.debug.errorData=e),this._emitError(h,l,t)}_onLoadedMetadata(){this.emitSync(Q.INTERNAL_PLAYER_LOADED_METADATA,null)}_onCanPlay(){this._setRebufferingState(),this.emitSync(Q.INTERNAL_PLAYER_CANPLAY,null),this.emit(Q.PLAYER_FIRST_BYTES,null)}_onCanPlayThrough(){this._setRebufferingState(),this.emitSync(Q.INTERNAL_PLAYER_CANPLAYTHROUGH,null)}_onWaiting(){var e;clearTimeout(this._syntheticEndedToken);const t=this._player;if(!t||!this._currentContent)return;const n=t.seeking;this._setRebufferingState();const i=!!at(this._currentContent)&&this._currentContent.canLowerBitrate(),o=this._tracker;this.emit(Q.PLAYER_BUFFERING_START,Object.assign({position:Wt(t.currentTime),msPlayed:this._tracker.getMSPlayed(),canLowerBitrate:i,seeking:n},o.getStallsInformation()));const r=null===(e=this._abortController)||void 0===e?void 0:e.signal;this._getRebufferingLatency().then((e=>{(null==r?void 0:r.aborted)||(n||this._tracker.trackMsStalled(e),this.emit(Q.PLAYER_BUFFERING_END,Object.assign({position:Wt(t.currentTime),msPlayed:this._tracker.getMSPlayed(),canLowerBitrate:i,msStalled:e,seeking:n},o.getStallsInformation())))}))}_onPlayedThresholdReached(e){this._currentContent&&this._player&&this.emit(Q.PLAYER_PLAYED_THRESHOLD_REACHED,{played:e.data.played,threshold:e.data.threshold,position:Wt(this._player.currentTime)})}_emitEnded(){this._currentContent&&"video"===this._currentContent.getMediaType()&&this.emit(Q.PLAYER_ENDED_VIDEO,null),clearTimeout(this._pauseToken),this.emit(Q.PLAYER_ENDED,null)}_emitError(e,t,n){Vt.error("Player Error",e,n,t),this._tracker.setHadError(!0),!this._disableCache&&n&&n.fileId&&this._cache.remove(n.fileId),this.emit(Q.PLAYER_ERROR,{playId:this._playId,error:e,track:n,canPlayNext:t,position:this._player?Wt(this._player.currentTime):0})}_emitWarning(e,t){Vt.warn("Player Warning",e,t,!0),this._tracker.trackWarning(),this.emit(Q.PLAYER_WARNING,{playId:this._playId,error:e,track:t,canPlayNext:!0,position:this._player?Wt(this._player.currentTime):0})}_emitReporting(e){if(!st(this._currentContent))return;const t=this._currentContent.getTrackingEventData(e);t&&0!==t.urls.length&&this.emitAndWait(Ht[e],t,(e=>{if(!e.defaultPrevented)for(const e of t.urls)this._transport.request(e,{forget:!0})}))}_prepareMediaElement(e,t){if(t.aborted||!this._upcomingContent)return Vt.info("Loading content dropped: operation aborted."),Promise.resolve(!1);const n=this._upcomingContent.getMediaTypeMimeTypes();return this._recreateMediaElement(n,this._upcomingContent.getMediaType(),this._upcomingContent.strategy,t).then((n=>{var i;if(!n||t.aborted)return Vt.info("Loading content dropped after recreate: operation aborted."),Promise.resolve(!1);const{player:o,mediaKeys:r}=n;if("VIDEO"===o.tagName&&(e.poster?o.poster=e.poster:o.removeAttribute("poster")),o.muted=!!e.muted,o.loop=!!e.loop,!this._emeManager||!(null===(i=this._upcomingContent)||void 0===i?void 0:i.isProtected()))return Promise.resolve(!0);const a=e=>{var t;return e.unrecoverable=!0,this._emitError(e,!1,null===(t=this._upcomingContent)||void 0===t?void 0:t.toLogJSON()),Promise.reject(e)};return!r||this._newMediaKeysPerTrack||void 0===this._newMediaKeysPerTrack&&!o.mediaKeys||(null==r?void 0:r.shouldRefreshPerTrack)?(Vt.info("Creating media keys"),this._emeManager.createMediaKeys(o).then((()=>!0),a)):o.mediaKeys!==r?(Vt.info("Reusing previous media keys"),this._emeManager.setMediaKeys(o,r).then((()=>!0),a)):Promise.resolve(!0)}))}_isRebufferingTargetReached(){var e;const t=this._player,n=this._currentContent;if(!t||!n)return!1;if(n.strategy!==Z.MSE)return!0;const i=null!==(e=this._rebufferTarget[n.getMediaType()])&&void 0!==e?e:0;if(!i)return!0;const o=Math.max(t.currentTime,1),r=Math.min(i,Math.floor(t.duration-o)),a=t.buffered;for(let e=0,t=a.length;e<t;e++){const t=a.start(e),n=a.end(e);if(t<=o&&o<=n&&r<=n-o)return!0}return!1}_setPlaybackRate(){var e;const t=this._player,n=this._currentContent;if(!t||!n)return;if(n.strategy===Z.MSE&&this._rebuffering)return void(t.playbackRate=0);const i=(null===(e=this._loadingOptions)||void 0===e?void 0:e.useDefaultPlaybackSpeed)?1:this._playerSpeed;t.playbackRate=i,t.defaultPlaybackRate=i}_setRebufferingState(e){const t=this._rebuffering,n=!this._isRebufferingTargetReached();e&&n||(this._rebuffering=n,this._setPlaybackRate(),!t&&this._rebuffering?(Vt.log("Rebuffering start"),this.emit(Q.PLAYER_REBUFFERING_START,null)):t&&!this._rebuffering&&(Vt.log("Rebuffering end"),this._tracker.trackPlayLatency(),this.emit(Q.PLAYER_REBUFFERING_END,null)))}_configureLoadingTimeout(e,t,n){const o=null!=n?n:this._loadingTimeout,r=new ie(i.PLAYER_TIMEOUT_ERROR,`Timeout: track could not be loaded within ${o} ms.`);return o?setTimeout((()=>{e.aborted||(null==t||t.abort(),this._emitError(r,!0))}),o):void 0}_handleLoadingComplete(e,t){var n;clearTimeout(t);const i=this._currentContent&&this._currentContent.getMediaType();return this._player&&i&&(null===(n=this._playerContainerManager)||void 0===n||n.inject(this._player,i)),this._upcomingContent=null,e}_handleLoadingError(e,t,n,i,o){if(clearTimeout(i),this._upcomingContent=null,n.aborted)return Promise.resolve(!1);if(this._tracker.trackLoadFailed(),this.emit(Q.PLAYER_LOADING_FAILED,{uri:e,logData:t.logData}),o){const n=o.track||{uri:e,fileId:t.fileId,mediaFormat:t.format,deviceId:t.logData.deviceId};this._emitError(o,"StorageError"!==o.name||!!o.canPlayNext,n)}return Promise.reject(o)}_handleLoadedMetadata(e,t,n){if(e.aborted)return void Vt.info("LoadedMetadata operations dropped: operation aborted.");this._loaded=!0;const i=this._player;if(!i)return;this._setRebufferingState(),this._bufferManager.dequeueUpdates();const o=n.position>i.duration?0:n.position;this._lastTimeUpdatePostion=0,(isNaN(i.currentTime)||i.currentTime<o)&&(Vt.info("Resetting initial position after metadata."),i.currentTime=o),this._tracker.trackLoadDone(Wt(i.currentTime)),this.emitSync(Q.PLAYER_LOAD,{autoplay:n.autoplay,position:Wt(o),logData:t}),Promise.resolve().then((()=>{this._onTimeUpdate()}));let r=()=>{i.currentTime<o&&(Vt.info("Resetting initial position after playable."),i.currentTime=o)};n.autoplay&&!i.error&&(r=()=>{if(i.currentTime<o&&(Vt.info("Resetting initial position after playable."),i.currentTime=o),e.aborted)return void Vt.info("Play trigger dropped: operation aborted");new Promise((e=>e(this._player&&this._player.play()))).then((()=>this._audioProcessor.resume())).catch((e=>{if(e){if("NotSupportedError"===e.name)return Promise.reject(e);if("NotAllowedError"===e.name)return this.emit(Q.PLAYER_AUTOPLAY_FAILED,null),Promise.reject(e)}return this._player?this._player.play():Promise.resolve()})).catch((()=>{this._onPause()}))}),i.readyState>2?(Vt.info("Ready to play, triggering play."),r()):(Vt.info("Waiting to be playable."),this.once(Q.INTERNAL_PLAYER_CANPLAY,r))}_handleCanPlayThrough(e){var t;e.aborted?Vt.info("CanPlayThrough operations dropped: operation aborted."):(this._tracker.trackCanPlayThrough(),(null===(t=this._currentContent)||void 0===t?void 0:t.strategy)!==Z.MSE&&this._tracker.trackPlayLatency())}_loadContent(e,t){if(t.aborted||!this._upcomingContent)return Vt.info("Loading content dropped: operation aborted."),Promise.resolve(!1);if(!this._player)throw new ie(i.PLAYER_INVALID_INTERNAL_STATE,"Cannot load content without an HTMLMediaElement");this._canPreloadEmitted=!1;const n=this._upcomingContent;this._upcomingContent=null,this._currentContent=n,this._setAudioGain(n),this._subtitleManager.setVideoContent(function(e){return!!e&&"getSubtitles"in e&&"getSubtitleLanguages"in e}(n)?n:null);const o=e.callback;o&&this.once(Q.PLAYER_LOAD,(()=>{t.aborted?Vt.info("Load content event dropped: operation aborted."):o()})),this.once(Q.INTERNAL_PLAYER_LOADED_METADATA,this._handleLoadedMetadata.bind(this,t,this._currentContent.getLogData(),e)),this.once(Q.INTERNAL_PLAYER_CANPLAYTHROUGH,this._handleCanPlayThrough.bind(this,t));let r=e.position;const a="getCalculatedDuration"in n?n.getCalculatedDuration():1/0;a&&r>a&&(r=e.position=0);try{this._player.currentTime=r}catch(e){Vt.warn("Cannot set initial position before loading.",e)}const s=e.playbackSpeed;return!e.useDefaultPlaybackSpeed&&s&&this.setPlaybackSpeed(s),this._tracker.setProtected(n.isProtected()),Vt.info(`Detecting strategy for ${n.constructor.name}`),n.strategy===Z.MSE?this._loadMSEContent(n,e,t):this._loadURLContent(n,e,t)}_loadURLContent(e,t,n){var o,r,a;if(!this._player||!e)return Promise.reject(new ie(i.PLAYER_INVALID_INTERNAL_STATE,"Invalid playback state."));Vt.info("Loading URL content.");const s=e.getURL();if(!s)return Promise.reject(new ie(i.PLAYER_INVALID_INTERNAL_STATE,"Content not loaded."));if(e.isProtected()){Vt.info("URL content is protected");const e=t=>{t.data.fromPolyfill&&(this.removeListener(Q.INTERNAL_ENCRYPTED,e),this._requestLicense(n,{initData:t.data.initData}))};this.on(Q.INTERNAL_ENCRYPTED,e)}if("video"===e.getMediaType()&&rt(e)){const t=e.getMediaProfileInfo();this._tracker.trackVideoLoadStart({bitrate:null===(o=t.video.selected)||void 0===o?void 0:o.video_bitrate,audioProfile:null!==(r=t.audio.selected)&&void 0!==r?r:void 0,videoProfile:null!==(a=t.video.selected)&&void 0!==a?a:void 0})}this._tracker.trackBufferLoadStart(),this._tracker.trackBufferURL(s,{bandwidth:0});const c=e.getLoadingApproach();if("src"===c.approach)Vt.info("URL content loaded using src attribute"),this._player.src=s;else{Vt.info("URL content loaded using source element");const e=document.createElement("source");e.src=s,e.type=c.type,this._player.appendChild(e)}return this._player.load(),Promise.resolve(!0)}_loadMSEContent(e,t,n){var o,r,a;if(!this._player||!e)return Promise.reject(new ie(i.PLAYER_INVALID_INTERNAL_STATE,"Invalid playback state."));if(Vt.info(`Loading MSE Content: ${e.getFileId()}`),e.isProtected()){Vt.log("MSE content is protected");const e=()=>this._requestLicense(n).then((()=>{n.aborted||(this._licenseRequested=!0,this._disableBufferingBeforeLicense&&this._onTimeUpdate())}));this._disableLicensePrefetch?this.once(Q.INTERNAL_ENCRYPTED,e):this._bufferManager.once(Q.BUFFER_SOURCE_OPEN,e)}const s=this._bufferManager,c=s.getMediaSource();if(!c)return Promise.reject(new ie(i.PLAYER_INVALID_INTERNAL_STATE,"No media source."));if("video"===e.getMediaType()&&rt(e)){const t=e.getMediaProfileInfo();this._tracker.trackVideoLoadStart({bitrate:null===(o=t.video.selected)||void 0===o?void 0:o.video_bitrate,audioProfile:null!==(r=t.audio.selected)&&void 0!==r?r:void 0,videoProfile:null!==(a=t.video.selected)&&void 0!==a?a:void 0})}return this._player.src=URL.createObjectURL(c),this._setPlaybackRate(),new Promise(((i,o)=>{s.once(Q.BUFFER_SOURCE_OPEN,(()=>{this._tracker.trackBufferLoadStart(),this._getRebufferingLatency().then((e=>{n.aborted||this._tracker.trackInitialRebuffering(e)}));("video"===e.getMediaType()?s.setDuration(e.getCalculatedDuration()):Promise.resolve(!0)).then((()=>e.isProtected()&&this._disableBufferingBeforeLicense?s.injectInitSegment(e):(this._bufferManager.checkBufferHealth(e,t.position,!0),!0))).then(i,o)}))}))}_getRebufferingLatency(){return new Promise((e=>{if(!this._player)return void e(0);const t=(0,u.X)();this.once(Q.PLAYER_REBUFFERING_END,(()=>{e((0,u.r)(t))}))}))}_requestLicense(e,t={}){if(e.aborted){const e="Request license dropped: operation aborted.";return Vt.info(e),Promise.resolve(!1)}if(!this._player||!this._currentContent||!this._emeManager)return Promise.resolve(!1);const n=(0,u.X)(),i=this._player.mediaKeys,o=this._currentContent,r=o.getFileId(),a=o.getLogData(),s=o.toLogJSON(),c=o.getKeySystem();if(!c)return Promise.resolve(!1);const l=o.getLicenseEndpoint();let d;if(l)d=Promise.resolve(l);else{if(!r)return Promise.reject(new TypeError("Missing: fileId or licenseEndpoint"));d=this._licenseURLResolver.get(c,o.getMediaType()).then((e=>e.replace(/\{contentId\}/,r)))}const p=this._emeManager,h=this._tracker;return h.setKeySystem(c),h.setKeySystemImpl(p.getKeySystemImpl()),Promise.all([d,o.getInitParams()]).then((([o,r])=>{if(!r)return Promise.resolve(!1);h.setLicenseSessionLatency((0,u.r)(n));const a=r.initDataType,s=t.initData||r.initData;if(i&&s&&a){const t={keySystem:c,signal:e,initData:s,mediaKeys:i,licenseServer:o,initDataType:a};return p.createSessionWithParams(t)}return Promise.resolve(!1)})).then((t=>{if(e.aborted)return Vt.info("License tracking dropped: operation aborted."),Promise.resolve(!1);"boolean"!=typeof t&&"elapsed"in t&&(h.setLicenseGenerationLatency(t.elapsed.generate),h.setLicenseRequestLatency(t.elapsed.request),h.setLicenseUpdateLatency(t.elapsed.update));const i=(0,u.r)(n);return h.setKeyLatency(i),this.emit(Q.PLAYER_KEY_RECEIVED,{requestTime:i,logData:a}),Vt.info("License updated."),Promise.resolve(!0)})).catch((t=>{if(e.aborted)return Promise.resolve(!1);const n=!t||!("canPlayNext"in t)||t.canPlayNext;return this._emitError(t,!!n,s),Promise.reject(t)}))}_onTimeUpdate(){var e;if(!this._loaded||!(null===(e=this._player)||void 0===e?void 0:e.readyState)||!this._currentContent)return;const t=this._currentContent,n=this._player.seeking,i=this._player.currentTime;if(t.isProtected()&&this._disableBufferingBeforeLicense&&!this._licenseRequested)return void Vt.log("Dropping time update event: buffering before license disabled.");if(!n&&this._lastTimeUpdatePostion&&this._lastTimeUpdatePostion===i)return void Vt.warn("Dropping duplicate time update.");this._lastTimeUpdatePostion=n?0:i,t.strategy===Z.MSE&&this._bufferManager.checkBufferHealth(t,i,n);const o=this._player.duration,r=Wt(i),a=t.getLogData();n?(this._tracker.trackPositionChanged(r),this.emit(Q.PLAYER_POSITION_CHANGED,{position:r,logData:a})):(this._tracker.trackProgress(r,at(t)?t.getCurrentBitrates().video:0),this.emit(Q.PLAYER_PROGRESS,{timestamp:Date.now(),position:r,played:this._tracker.getMSPlayed(),interval:500,logData:a}));const s=o-i<=this._preloadThreshold;!this._canPreloadEmitted&&s?(this._canPreloadEmitted=!0,this.emit(Q.PLAYER_CAN_PRELOAD,null)):this._canPreloadEmitted&&!s&&(this._canPreloadEmitted=!1),clearTimeout(this._syntheticEndedToken),this._synthesizeEnded&&t.isProtected()&&this._isPlaying()&&(this._syntheticEndedToken=setTimeout(this._onSyntheticEnded,Wt(o-i)))}_isPlaying(){return!!this._player&&!this._player.paused}_cleanMediaKeys(e,t=this._emeManager){return t?t.removeMediaKeys(e).catch((e=>(Vt.warn("Failed to remove current media keys.",e),null))):Promise.resolve(null)}_checkKeySystemAccess(){if(!this._newKeySystemAccessPerTrack||!this._player||!this._emeManager)return Promise.resolve();const e=this._player,t=this._emeManager;return this._cleanMediaKeys(e,t).then((()=>t.requestMediaKeySystemAccess())).then((()=>{})).catch((e=>(Vt.warn("Failed to request new media key system access.",e),Promise.reject(e))))}_createContent(e,t={manifestLatency:0,resolveLatency:0},n=!1){return(this._emeManager?this._emeManager.getKeySystemInfo():this.getMediaConfig().then((e=>({keySystem:ee.INVALID_SPOTIFY_KEY,audioFormats:e.formatsInfo.audio,videoFormats:e.formatsInfo.video})))).then((n=>function(e,t){var n,o,r;const a=xt(e,t);switch(e.format){case ne.MP3:{const o=null!==(n=e.url)&&void 0!==n?n:e.resolvedURL;return o?new vt(Object.assign(Object.assign({},a),{url:o})).load():e.fileId?new wt(Object.assign(Object.assign({},a),{fileId:e.fileId,resolver:t.audioResolver})).load():Promise.reject(new ie(i.INVALID_TRACK,`Invalid ${e.format} Track: No url or fileId.`))}case ne.GENERIC_MEDIA:{const t=null!==(o=e.url)&&void 0!==o?o:e.resolvedURL;return t?new vt(Object.assign(Object.assign({},a),{url:t})).load():Promise.reject(new ie(i.INVALID_TRACK,`Invalid ${e.format} Track: No url.`))}case ne.MP4:case ne.MP4_DUAL:case ne.MP4_CBCS:case ne.MP4_FLAC:{if(!e.fileId)return Promise.reject(new ie(i.INVALID_TRACK,`Invalid ${e.format} Track: No fileId.`));const n=Object.assign(Object.assign({},a),{transport:t.transport,abrManager:t.abrManager,fileId:e.fileId,keySystemSettings:Ie[t.keySystem],resolver:t.audioResolver,fileFormat:e.fileFormat,preloadedManifest:e.preloadedManifest,preresolvedURL:null!==(r=e.url)&&void 0!==r?r:e.resolvedURL});return t.keySystem===ee.FAIRPLAY?new Rt(n).load(t.measures):new Pt(n).load(t.measures)}case ne.MANIFEST_ID:return Ut(e,t);case ne.AD_MANIFEST:{if(!e.url)return Promise.reject(new ie(i.INVALID_TRACK,`Invalid ${e.format} Track: No url.`));const n=Object.assign(Object.assign({},a),{abrManager:t.abrManager,transport:t.transport,manifestURL:e.url,preloadedManifest:e.preloadedManifest});return new Mt(n).load(t.measures).then((n=>{const i=n.getManifestId();if(!i)return n;const o=Object.assign(Object.assign({},e),{fileId:i,format:ne.MANIFEST_ID}),r={trackingData:n.getTrackingEvents(),metadata:n.getContentMetadata()};return Ut(o,t,r)}))}default:return Promise.reject(new ie(i.INVALID_TRACK,"Cannot create PlayableContent: Invalid MediaFormat."))}}(e,{transport:this._transport,abrManager:this._abrManager,supportedFormats:{audio:n.audioFormats,video:n.videoFormats},mediator:this._mediator,keySystem:n.keySystem,audioResolver:this._audioResolver,videoResolver:this._videoResolver,disableCache:this._disableCache,disallowProfile:this._disallowProfile,allowMixedAVC1Codecs:this._allowMixedAVC1Codecs,measures:t}))).then((i=>{if(n)return i;const o=this._tracker;o.setResolveLatency(t.resolveLatency),o.setManifestLatency(t.manifestLatency);const r=this._getCacheKey(e);return r&&this._cache.set(r,i),i}))}_preinitMediaElement(){if(this._player||!this._emeManager)return Promise.resolve(this);const e=(0,a.createAbortControllerLike)();return this._emeManager.getKeySystemInfo().then((t=>{var n,i;const o={audio:null===(n=t.audioFormats[0])||void 0===n?void 0:n.contentType,video:null===(i=t.videoFormats[0])||void 0===i?void 0:i.contentType};return o.audio||o.video?this._recreateMediaElement(o,o.video?"video":"audio",t.keySystem===ee.FAIRPLAY?Z.URL:Z.MSE,e.signal):null})).then((()=>this),(e=>(Vt.warn("Cannot precreate media element:",null==e?void 0:e.message),this)))}_setAudioGain(e){var t;null===(t=this._audioProcessor)||void 0===t||t.setAudioGain(e.getAudioGain())}_getCacheKey({fileId:e,url:t,format:n}){var i;const o=null!==(i=null!=e?e:t)&&void 0!==i?i:null;return!this._disableCache&&Bt[n]?o:null}_getContentPromise(e,t){const n=this._cache,i=this._getCacheKey(e);if(i){const o=this._preloadingTracks[i],r=n.get(i);if(o)return Vt.info("Waiting for preloading track.",i),o.then((e=>(Vt.info("Preloading succeeded.",i),t.setResolveLatency(e.resolveLatency),t.setManifestLatency(e.manifestLatency),n.get(i)))).catch((()=>(Vt.info("Preloading failed, creating new track",i),this._createContent(e))));if(r)return this._newKeySystemAccessPerTrack&&this._emeManager?this._emeManager.getKeySystemInfo().then((({keySystem:n})=>n===r.getKeySystem()?(Vt.info("Using cached track.",i,r),t.setMemoryCached(!0),r):(Vt.info("Mismatched keysystem for cached track. Creating new track",i),this._createContent(e)))):(Vt.info("Using cached track.",i,r),t.setMemoryCached(!0),Promise.resolve(r))}return Vt.info("Creating new content",i),this._createContent(e)}getMediaSource(){return this._bufferManager.getMediaSource()}load(e,t,n){var o,r,s,c,l,u,d;const p=function(e,t){return null==t?void 0:t.hasOwnProperty(e)}(t.uriProperty,e)?t.uriProperty:"uri",h=e[p];if(Vt.info("load",h),!h)return Promise.reject(new ie(i.PLAYER_CANNOT_FIND_PLAYABLE_URI,"Cannot find a playable URI."));if(!e.logData)return Promise.reject(new Error("Invalid track: logging info not specified"));this.stop(e.logData,e.mediaType),this._loaded=!1,this._licenseRequested=!1,this._rebuffering=!0,this._currentContent=null,this._subtitleManager.setVideoContent(null),t.muted&&this.setMuted(!0),this._preloadThreshold=t.preloadThreshold||this._preloadThreshold;const f=++this._playId;this._abortController=(0,a.createAbortControllerLike)();const m=this._abortController.signal,_=this._tracker;_.trackLoadStart(h,e.fileId,f.toString(),e.logData,e.metadata);const g=this._configureLoadingTimeout(m,this._abortController,t.loadingTimeout);void 0!==g&&m.addEventListener("abort",(()=>clearTimeout(g))),this.emit(Q.PLAYER_BEFORE_LOAD,{track:e,options:t,logData:e.logData,uri:h,timestamp:Date.now()}),this._bufferManager.setPlayId(f);const E=(null===(o=e.options)||void 0===o?void 0:o.useDefaultPlaybackSpeed)?1:null!==(s=null===(r=e.options)||void 0===r?void 0:r.playbackSpeed)&&void 0!==s?s:this._playerSpeed,v={position:jt(t.position||0),autoplay:null===(c=t.autoplay)||void 0===c||c,poster:e.poster,useDefaultPlaybackSpeed:!!(null===(l=e.options)||void 0===l?void 0:l.useDefaultPlaybackSpeed),playbackSpeed:E,callback:n,muted:null!==(u=t.muted)&&void 0!==u&&u,loop:null!==(d=t.loop)&&void 0!==d&&d};return this._loadingOptions=v,_.setPlayIntended(v.autoplay),_.setPlayedThreshold(t.playedThreshold),this._checkKeySystemAccess().then((()=>this._getContentPromise(e,_))).then((t=>{if(_.trackStrategy(t.strategy),t.isProtected()&&!this._emeManager)throw new ie(i.DISALLOW_PROTECTED_TRACK_ERROR,"Protected tracks not supported");t.setLogData(e.logData),t.strategy===Z.MSE&&_.setCalculatedDuration(Wt(t.getCalculatedDuration())),this._upcomingContent=t})).then((()=>this._prepareMediaElement(v,m))).then((()=>{var e;this._subtitleManager.setPlayer(this._player),(null===(e=this._upcomingContent)||void 0===e?void 0:e.isProtected())&&(Vt.info("Attaching HTMLMediaElement to the audio processor"),this._audioProcessor.setPlayer(this._player))})).then((()=>this._loadContent(v,m))).then((e=>this._handleLoadingComplete(e,g)),this._handleLoadingError.bind(this,h,e,m,g))}preload(e){const t=this._getCacheKey(e),n=this._cache;if(!t||n.get(t)||!this._emeManager)return Promise.resolve(null);const i=this._preloadingTracks,o=i[t];if(o)return o;Vt.info("Preloading track",t);const r={manifestLatency:0,resolveLatency:0},a=this._createContent(e,r,!0).then((e=>{if(e.strategy!==Z.MSE)return e;const t=e.getSegmentForTime(0);return t?e.getBufferSetForSegment(t).then((()=>e)):e})).then((e=>(n.set(t,e),delete i[t],Vt.info("Cached",t),r))).catch((e=>(delete i[t],Vt.warn("Preloading error",e),this.emit(Q.PLAYER_PRELOADING_ERROR,{error:e,track:e.track||null,canPlayNext:!("canPlayNext"in e)||e.canPlayNext,preloading:!0}),Promise.reject(e))));return i[t]=a,a}togglePlay(){return this._isPlaying()?this.pause():this.resume()}setSubtitleLanguage(e){this._subtitleManager.setLanguage(e)}getSubtitleLanguages(){return this._subtitleManager.getAvailableLanguages()}getActiveSubtitleLanguage(){return this._subtitleManager.getActiveLanguage()}deactivateCueEvents(){this._subtitleManager.deactivateListeners()}activateCueEvents(){this._subtitleManager.activateListeners()}setVolume(e,t){if(!this.emitSync(Q.PLAYER_BEFORE_VOLUME_CHANGE,{volume:e,options:t}).defaultPrevented){if(e<0||e>1)throw new ie(i.PLAYER_ATTEMPTED_VOLUME_OUT_OF_RANGE,"Volume should be in range [0, 1]");this._playerVolume=e,this._player&&(this._muted&&e>0&&this.setMuted(!1),this._player.volume=this._cubicVolume?e*e*e:e)}}getVolume(){return this._playerVolume}getPlayerState(){var e,t,n,i;const o=this._player,r=this._currentContent,a={src:(null==o?void 0:o.src)?`data:${(null==r?void 0:r.getFileId())||"unknown"}`:void 0,height:(null==o?void 0:o.clientHeight)||0,width:(null==o?void 0:o.clientWidth)||0},s={};if(r){const e=r.getMediaTypeMimeTypes();s.audio_format=e.audio,s.video_format=e.video,"video"===r.getMediaType()&&o instanceof HTMLVideoElement&&(s.video_height=o.videoHeight,s.video_width=o.videoWidth,a.poster=o.poster)}let c=null;if(st(r)){const e=r.getTrackingEvents();e&&(c={mute:e.mute,unmute:e.unmute,rewind:e.rewind,fullscreen:e.fullscreen,accept_invitation_linear:e.accept_invitation_linear,close_linear:e.close_linear,exit_fullscreen:e.exit_fullscreen})}return{playing:null!==(e=!(null==o?void 0:o.paused))&&void 0!==e&&e,position:o?Wt(o.currentTime):0,duration:o?Wt(o.duration):0,volume:null!==(t=this._playerVolume)&&void 0!==t?t:1,muted:this._muted,loop:null!==(n=null==o?void 0:o.loop)&&void 0!==n&&n,playback_speed:null!==(i=null==o?void 0:o.playbackRate)&&void 0!==i?i:0,playback_speed_selected:this._playerSpeed,buffering:this._rebuffering,media_type:(null==r?void 0:r.getMediaType())||null,media_info:s,player_element:a,content_metadata:(null==r?void 0:r.getContentMetadata())||{},tracking_data:c}}getPlayerPosition(){return this._player?Wt(this._player.currentTime):0}seek(e){var t;if(!this._player)return;const n=null===(t=this._abortController)||void 0===t?void 0:t.signal,i=()=>{if(!this._player||(null==n?void 0:n.aborted))return void Vt.info("Seek dropped: operation aborted.");let t=jt(e);t<0?t=0:t>=this._player.duration&&(t=this._player.duration),this._player.currentTime=t};this._loaded?i():this.once(Q.PLAYER_LOAD,i),this._getRebufferingLatency().then((e=>{(null==n?void 0:n.aborted)||this._tracker.trackSeekRebuffering(e)}))}pause(){return this._audioProcessor.suspend().then((()=>this._player&&this._isPlaying()?(this._emitReporting("pause"),Promise.resolve(this._player.pause())):Promise.resolve()))}resume(){return this._audioProcessor.resume().then((()=>this._player&&!this._isPlaying()?(this._emitReporting("resume"),Promise.resolve(this._player.play())):Promise.resolve()))}stop(e,t){var n,i,o;const r=[],a=e||{};this.emit(Q.PLAYER_BEFORE_STOP,{timestamp:Date.now(),logData:a}),null===(n=this._abortController)||void 0===n||n.abort(),this._tracker.trackStopped(this._player?Wt(this._player.currentTime):-1,e,this.getStatistics()||void 0),this._bufferManager.abort(!0),this._emeManager&&r.push(this._emeManager.destroySessions());const s=this._player;if(s){this._subtitleManager.clear(),this._fatalOnNextError=this._shouldNextErrorBeFatal(),this._fatalOnNextError&&Vt.warn("MediaError detected: next immediate media error will be fatal.");const e=s.src;if(e)Ft.test(e)&&URL.revokeObjectURL(e),s.removeAttribute("src");else{const e=Ve(s.getElementsByTagName("source"));Vt.info(`HTMLSourceElements to removed: ${e.length}`);for(const t of e)s.removeChild(t);Vt.info("Releasing HLS URLs")}s.load()}null===(i=this._currentContent)||void 0===i||i.unload();const c=this._currentContent&&this._currentContent.getMediaType();return s&&c&&(null===(o=this._playerContainerManager)||void 0===o||o.eject(s,c,t),s.ownerDocument!==document&&document.adoptNode(s)),this.emit(Q.PLAYER_STOPPED,null),Promise.all(r).then((()=>!0))}setMuted(e=!0){const t=this._player;t&&(this._muted=e,t.muted=e,this.emitSync(Q.PLAYER_MUTED_CHANGED,{muted:e}))}hideSubtitles(){this._subtitleManager.hide()}showSubtitles(){this._subtitleManager.show()}areSubtitlesShown(){return this._subtitleManager.visible()}getKeySystemInfo(){return this._emeManager?this._emeManager.getKeySystemInfo():Promise.resolve(null)}getVideoVariants(){const e=this._currentContent;if("video"!==(null==e?void 0:e.getMediaType()))return[];const t=[];if(!rt(e))return t;const n=e.getMediaProfileInfo().video.available;for(const e of n)t.push({width:e.video_width,height:e.video_height,bitrate:e.video_bitrate});return t}setPreferredBitrate(e){return"number"!=typeof e?Promise.resolve(te.INVALID):(this._preferredBitrate=e,this._currentContent&&"video"===this._currentContent.getMediaType()&&e>0&&this._bufferManager.abort(!0),this._abrManager.overrideBitrate(e),Promise.resolve(te.SUCCESS))}getCurrentBandwidth(){return this._abrManager.getBandwidthEstimate()}setBackgrounded(e){this._abrManager.overrideBitrate(e?1e-32:this._preferredBitrate)}setVideoResolution(e){var t,n,i;this._videoResolution=Object.assign(Object.assign({},this._videoResolution),e),(i=this._currentContent)&&"setVideoResolution"in i&&(null===(n=(t=this._currentContent).setVideoResolution)||void 0===n||n.call(t,this._videoResolution))}activateElement(){var e;return this._playerActivated||!this._player||this._player.src?(this._audioProcessor.resume(),!1):(null===(e=this._player)||void 0===e||e.load(),this._playerActivated=!0,!0)}getMediaConfig(){return void 0===this._mediaConfig?function(e,t){const n=t||Yt("video"),i=e=>{n.canPlayType("audio/mp3")&&(e.formats.audio.push("audio/mp3"),e.formatsInfo.audio.push({mimeType:"audio/mp3",codec:"mp3",contentType:'audio/mp3; codecs="mp3"'}),e.supports.unprotected_audio=!0)};if(e)return e.getKeySystemInfo().then((e=>{const{audioFormats:t,videoFormats:n}=e,o={supports:{protected_audio:!!t.length,unprotected_audio:!0,protected_video:!!n.length,unprotected_video:!0},formats:{audio:t.map((e=>e.contentType)),video:n.map((e=>e.contentType))},formatsInfo:{audio:[...t],video:[...n]}};return o.keysystem=e.keySystem,o.keysystem_impl=e.keySystemImpl,i(o),o}));const o="undefined"!=typeof window&&window.MediaSource?e=>MediaSource.isTypeSupported(e):e=>"probably"===n.canPlayType(e)||"probably"===n.canPlayType(e.split(";")[0]),r=Ce([Oe[0]],o),a=[],s=[],c=[],l=[];if(r){const{audioCapabilities:e,videoCapabilities:t}=r;for(const t of e)a.push(t.contentType),c.push(Ne(t.contentType));for(const e of t)s.push(e.contentType),l.push(Ne(e.contentType))}const u={supports:{protected_audio:!1,unprotected_audio:!!a.length,protected_video:!1,unprotected_video:!!s.length},formats:{audio:a,video:s},formatsInfo:{audio:c,video:l}};return i(u),Promise.resolve(u)}(this._emeManager,this._player).then((e=>(this._mediaConfig=e,this._mediaConfig))):Promise.resolve(this._mediaConfig)}setPlaybackSpeed(e){return!(!isFinite(e)||e<=0)&&(this._playerSpeed=null!=e?e:1,this._setPlaybackRate(),!0)}getStatistics(){return this._player&&this._currentContent?this._statistics.getSample(this._player,this._currentContent):null}getAudioProcessor(){return this._audioProcessor}}class Kt extends Error{constructor(e,t){super(t),this.debug={},this.name="LoggingError",this.message=t,this.code=e}}const Jt="7.38.0-966392b3",qt="7.38.0",Xt=O.m.forTag("playback.logger");class $t extends c.bk{constructor(e){super(),this._currentTrackingData=null,this._sequenceId=0,this._sequenceSessionStorage={},this._sessionId="0",this._transport=e.transport,this._logSender=e.logSender,this._player=e.player,this._init()}static create(e){return new $t(e)}_init(){const e=this._player;e.on(Q.PLAYER_LOAD,this._onPlayerLoad.bind(this)),e.on(Q.PLAYER_ERROR,this._onError.bind(this,!1)),e.on(Q.PLAYER_WARNING,this._onError.bind(this,!0)),e.on(Q.PLAYER_PRELOADING_ERROR,this._onError.bind(this,!1)),e.on(Q.PLAYER_TRACKING_DATA_CREATED,this._onTrackingDataCreated.bind(this)),e.on(Q.PLAYER_TRACKING_DATA_FINALIZED,this._onTrackingDataFinalized.bind(this)),e.on(Q.PLAYER_PLAYBACK_START,this._onPlaybackStart.bind(this))}_emitError(e,t){this.emit(Q.LOGGER_ERROR,{error:e,trackingData:t})}_onError(e,t){var n,o,r;const a=t.data,s=this._currentTrackingData;if(!s||s.noLog)return;const c=a.error,l=null!==(n=null==c?void 0:c.debug)&&void 0!==n?n:{};l.position="position"in a?a.position:0;const u={track:a.track||{},debug:l,preloading:"preloading"in a&&!!a.preloading,session_id:this._sessionId,playback_id:s.playbackId||null,player_play_id:"playId"in a?a.playId:null,http_status_code:null!==(o=null==c?void 0:c.status)&&void 0!==o?o:null,license_server:null!==(r=null==c?void 0:c.licenseServer)&&void 0!==r?r:null};this._logError(c.code||i.UNKNOWN,c,u,s,e)}_onPlayerLoad(e){const t=e.data.logData;if(t)if(t.impressionURLs)for(const e of t.impressionURLs)this._logImpression(e);else t.impressionURL&&this._logImpression(t.impressionURL)}_onPlaybackStart(e){const t=e.data.trackingData;t.noLog||t.noStats||this._logPlaybackStart(t)}_onTrackingDataCreated(e){const t=e.data.trackingData;t.noLog?this._currentTrackingData=null:(this._currentTrackingData=t,this._setSessionId(),t.noTSV||this._setSequenceId())}_setSessionId(){this._sessionId=this._transport.getInitTime().toString()}_setSequenceId(){this._sessionId&&(this._sequenceId=this._getSequenceId(this._sessionId))}_onTrackingDataFinalized(e){const t=e.data.trackingData;if(t.noLog)return;const n=this._sessionId!==this._transport.getInitTime().toString();if(n&&this._setSessionId(),t.playbackId&&!t.noTSV){if(n&&this._setSequenceId(),!t.playIntended&&!t.played)return void this._rollbackSequenceId(this._sessionId);this._logTrackStreamVerification(t)}t.noStats||this._logPlaybackStats(t)}_logTrackStreamVerification(e){const t={play_track:e.currentTrackUri,playback_id:e.playbackId,ms_played:e.msPlayed,ms_nominal_played:e.msNominalPlayed,session_id:this._sessionId,sequence_id:this._sequenceId,next_playback_id:e.nextPlaybackId,playback_service:e.playbackService};Xt.debug("Logged TrackStreamVerification",t),this._logSender.logTrackStreamVerification(t).catch((n=>{const o=new Kt(i.TSV_SENDING_FAILED,n.message||"Unknown reason.");this._logError(o.code,n,t,e,!1),this._emitError(o,e)}))}_logPlaybackStats(e){const t={play_track:e.currentTrackUri,file_id:e.fileId,playback_id:e.playbackId,internal_play_id:e.internalPlayId,memory_cached:e.memoryCached,persistent_cached:e.persistentCached,audio_format:e.audioCodec||"",video_format:e.videoCodec||"",manifest_id:e.fileId,protected:e.isProtected,key_system:e.keySystem,key_system_impl:e.keySystemImpl,urls_json:JSON.stringify(e.urls),start_time:e.loadTime,end_time:e.stopTime,external_start_time:e.externalLoadTime,ms_play_latency:e.msPlayLatency,ms_init_latency:e.msInitLatency,ms_head_latency:e.msHeadLatency,ms_manifest_latency:e.msManifestLatency,ms_resolve_latency:e.msResolveLatency,ms_license_session_latency:e.msLicenseSessionLatency,ms_license_generation_latency:e.msLicenseGenerationLatency,ms_license_request_latency:e.msLicenseRequestLatency,ms_license_update_latency:e.msLicenseUpdateLatency,ms_played:e.msPlayed,ms_nominal_played:e.msNominalPlayed,ms_file_duration:e.msFileDuration,ms_actual_duration:e.msActualDuration,ms_metadata_duration:e.msMetadataDuration,ms_start_position:e.startPosition,ms_end_position:e.position,ms_initial_rebuffer:e.msInitialRebuffering,ms_seek_rebuffer:e.msSeekRebuffering,ms_seek_rebuffer_longest:e.maxMsSeekRebuffering,ms_stall_rebuffer:e.msStalled,ms_stall_rebuffer_longest:e.maxMsStalled,n_stalls:e.nStalls,n_rendition_upgrade:e.nRenditionUpgrade,n_rendition_downgrade:e.nRenditionDowngrade,bps_bandwidth_max:e.bpsBandwidthMax,bps_bandwidth_min:e.bpsBandwidthMin,bps_bandwidth_avg:e.bpsBandwidthAvg,n_seekback:e.nSeeksBackward,n_seekforward:e.nSeeksForward,start_bitrate:e.startBitrate||e.bitrate||0,audio_quality:e.audioQuality,time_weighted_bitrate:e.timeWeightedBitrate,reason_start:e.reasonStart,reason_end:e.reasonEnd,initially_paused:!e.playIntended,had_error:e.hadError,n_warnings:e.nWarnings,n_navigator_offline:e.nOffline,session_id:this._sessionId,sequence_id:this._sequenceId,client_id:e.clientId,correlation_id:e.correlationId,n_dropped_video_frames:e.droppedVideoFrames,n_total_video_frames:e.totalVideoFrames,resolution_max:e.maxResolution||0,resolution_min:e.minResolution||0,total_bytes:e.totalBytes,strategy:e.strategy};Xt.info("Logging PlaybackStats"),this._logSender.logJSSDKPlaybackStats(t).catch((n=>{const o=new Kt(i.PLAYBACK_STATS_SENDING_FAILED,n.message||"Unknown reason.");this._logError(o.code,n,t,e,!1),this._emitError(o,e)}))}_logPlaybackStart(e){const t={play_track:e.currentTrackUri,file_id:e.fileId,playback_id:e.playbackId,session_id:this._sessionId,ms_start_position:e.startPosition,initially_paused:!e.playIntended,client_id:e.clientId,correlation_id:e.correlationId};Xt.info("Logging PlaybackStart"),this._logSender.logJSSDKPlaybackStart(t).catch((n=>{const o=new Kt(i.PLAYBACK_START_SENDING_FAILED,n.message||"Unknown reason.");this._logError(o.code,n,t,e,!1),this._emitError(o,e)}))}_getSequenceId(e){let t=this._sequenceSessionStorage[e];return t||(t=0),t+1>=9007199254740991&&(t=0),this._sequenceSessionStorage[e]=t+1,t}_rollbackSequenceId(e){const t=this._sequenceSessionStorage[e];t&&(this._sequenceSessionStorage[e]=Math.max(t-1,0))}_logImpression(e){return;this._transport.request(e,{forget:!0}).catch((function(e){Xt.warn("Unable to send impression request",e)}))}_logError(e,t,n,i,o){const r={source:"playback",source_version:Jt||j.Z7.UNKNOWN,type:e||j.Z7.UNKNOWN,message:t&&t.message||j.Z7.EMPTY,stack:'""',json_data:JSON.stringify(n||{}),json_data_version:"1.0.0",client_id:i.clientId,correlation_id:i.correlationId};o?this._logSender.logJSSDKWarning(r).catch((e=>Xt.warn("Failed to log warning",r,e))):this._logSender.logJSSDKError(r).catch((e=>Xt.warn("Failed to log error",r,e)))}}class Zt extends Error{constructor(e=i.STORAGE_ERROR,t="Storage Error"){super(t),this.status=-1,this.fileId="",this.debug={},this.canPlayNext=!0,this.code=e,this.message=t,this.name="StorageError"}}const Qt=O.m.forTag("playback.storage_resolve");class en{constructor(e){this._transport=e}_parseResponse(e,t){var n;let o;if(200!==t.status)return o=new Zt(i.STORAGE_FAILED_WITH_STATUS,`Storage Resolve responded with ${t.status}`),o.status=t.status,o.fileId=e,Promise.reject(o);const r=t.body;if(!(null===(n=null==r?void 0:r.cdnurl)||void 0===n?void 0:n.length))return o=new Zt(i.STORAGE_RETURNED_NO_TRACKS,`Storage Resolve returned no tracks for fileId ${e}`),o.fileId=e,Promise.reject(o);const a={uri:r.cdnurl[0],uris:r.cdnurl,protection:"cenc"};return Promise.resolve(a)}getCDNURL(e,t){Qt.info("Requesting CDN URL for ",e);const n="files/audio/interactive",i=`@webgate/storage-resolve/${t?`v2/${n}/${t}/${e}`:`${n}/${e}`}?version=10000000&product=9&platform=39&alt=json`;return this._transport.request(i,{responseType:"json",retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then(this._parseResponse.bind(this,e))}getManifest(e){const t=`https://seektables.scdn.co/seektable/${e}.json`;return Qt.info("Requesting JSON manifest for ",e),this._transport.request(t,{responseType:"json",retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then((t=>{let n;return 200!==t.status?(n=new Zt(i.STORAGE_TRACK_MANIFEST_FAILED,`Track manifest request failed with status code ${t.status}`),n.debug.file_id=e,n.status=t.status,Promise.reject(n)):t.body?t.body:(n=new Zt(i.STORAGE_TRACK_MANIFEST_EMPTY,"Received empty manifest."),n.debug.file_id=e,n.status=t.status,Promise.reject(n))}))}}class tn extends Error{constructor(e,t){super(t),this.debug={},this.name="TrackingError",this.message=t,this.code=e}}class nn{constructor(){this._version="1.0.0",this._map={}}clear(){this._map={}}track(e,t){let n=this._map[e];n||(n={url:e,segments:0,bandwidths:[],totalBandwidth:0},this._map[e]=n),n.segments+=1,n.bandwidths.push(t.bandwidth),n.totalBandwidth+=t.bandwidth}toJSON(){const e=[];for(const t in this._map){if(!this._map[t])continue;const n=this._map[t];n&&e.push({url:t,segments:n.segments,avg_bw:parseFloat((n.totalBandwidth/n.bandwidths.length).toFixed(7))})}return{version:this._version,urls:e}}}class on{constructor(){this._bitrates={},this._isFinalized=!1,this._needsEndSegment=!1,this._segments=[],this._cdnURLTracker=new nn,this.currentSpeed=1,this.audioCodec=null,this.bitrate=0,this.audioQuality=void 0,this.urls={},this.currentTrackUri="",this.displayTrack="",this.externalLoadTime=0,this.fileId="",this.gaiaDevId="none",this.hadError=!1,this.internalPlayId="",this.isProtected=!1,this.keySystem="",this.keySystemImpl="",this.lastPlayPosition=-1,this.loadTime=0,this.localTimeMs=-1,this.maxContinuous=0,this.msInitialRebuffering=0,this.maxMsSeekRebuffering=0,this.maxMsStalled=0,this.memoryCached=!1,this.msActualDuration=0,this.msMetadataDuration=0,this.msFileDuration=0,this.msHeadLatency=null,this.msInitLatency=null,this.msKeyLatency=null,this.msLicenseGenerationLatency=null,this.msLicenseRequestLatency=null,this.msLicenseSessionLatency=null,this.msLicenseUpdateLatency=null,this.msManifestLatency=null,this.msPlayed=0,this.msNominalPlayed=0,this.msPlayedUnion=0,this.msPlayLatency=null,this.msResolveLatency=null,this.msSeekRebuffering=0,this.msSeeksBackward=0,this.msSeeksForward=0,this.nextPlaybackId="",this.nOffline=0,this.noLog=!1,this.noTSV=!1,this.noStats=!1,this.nWarnings=0,this.msStalled=0,this.nSeeksBackward=0,this.nSeeksForward=0,this.nSpeedChanges=0,this.nStalls=0,this.nRenditionUpgrade=0,this.nRenditionDowngrade=0,this.bpsBandwidthMax=0,this.bpsBandwidthMin=0,this.bpsBandwidthAvg=0,this.totalBandwidth=0,this.lastBitrate=0,this.persistentCached=!1,this.playbackId="",this.playContext="",this.played=!1,this.position=0,this.reasonEnd="unknown",this.reasonStart="unknown",this.referrer="unknown",this.referrerVendor="unknown",this.referrerVersion="unknown",this.sourceEnd="unknown",this.sourceStart="unknown",this.startPosition=0,this.stopTime=0,this.streamingRule="none",this.timeWeightedBitrate=0,this.totalBytes=0,this.playIntended=!1,this.videoCodec=null,this.clientId="unknown",this.correlationId="unknown",this.droppedVideoFrames=0,this.totalVideoFrames=0,this.maxResolution=0,this.minResolution=0,this.playbackService="",this.strategy=""}static create(){return new on}_calculateUnion(){const e=this._segments.slice(0);let t=0,n=0,i=0,o=0,r=0,a=0,s=this.maxContinuous;for(;r<e.length;r++)r%2!=0&&void 0!==e[r-1]&&"start"===e[r-1].type&&(a=e[r].time-e[r-1].time,s=a>s?a:s);for(this.maxContinuous=s,e.sort(((e,t)=>e.time-t.time));o<e.length;o++)"start"===e[o].type&&(0===n&&(i=o),++n),"end"===e[o].type&&(--n,0===n&&(t+=e[o].time-e[i].time));return t}_calculateWeightedBitrate(e){const t=this._bitrates;let n=0;for(const i in t)i&&t.hasOwnProperty(i)&&e>0&&(n+=parseInt(i,10)*t[i]/e);return Math.round(n)}registerVideoVariant(e){const t=e.bitrate;t&&(this._bitrates[t]=this._bitrates[t]||0,this.startBitrate||(this.startBitrate=t)),e.audioProfile&&(this.audioCodec=e.audioProfile.audio_codec),e.videoProfile&&(this.videoCodec=e.videoProfile.video_codec,this.lastBitrate=e.videoProfile.video_bitrate,this.minResolution=e.videoProfile.video_resolution,this.maxResolution=e.videoProfile.video_resolution)}addStartSegment(){this._segments.push({type:"start",time:this.position}),this._needsEndSegment=!0}addEndSegment(){this._needsEndSegment&&(this._segments.push({type:"end",time:this.position}),this._needsEndSegment=!1)}addMSPlayed(e){if(e){if(e<0)throw new TypeError(`Cannot add negative msPlayed value: ${e}`);this.msPlayed+=e/this.currentSpeed,this.msNominalPlayed+=e}}addSpeedChange(e){++this.nSpeedChanges,this.currentSpeed=e}trackBitrate(e,t){const n=e||"dummy";this._bitrates[n]=this._bitrates[n]||0,this._bitrates[n]+=t}trackBufferURL(e,t){const n=e.substring(0,5);"data:"!==n&&"blob:"!==n&&this._cdnURLTracker.track(e,t)}finalize(){if(this._isFinalized)throw new tn(i.TRACK_DATA_ALREADY_FINALIZED,"TrackData already finalized.");this.msPlayedUnion=this._calculateUnion(),this.nSeeksBackward||this.nSeeksForward||this.nSpeedChanges||(this.msNominalPlayed=this.maxContinuous=this.msPlayedUnion,this.msPlayed=this.msNominalPlayed/this.currentSpeed,this.nSpeedChanges=0);const e=this.msPlayed;return this.timeWeightedBitrate=this._calculateWeightedBitrate(e),this.startBitrate||(this.startBitrate=this.bitrate),this.urls=this._cdnURLTracker.toJSON(),this._isFinalized=!0,!0}getURLsJSON(){var e,t;return null!==(t=null===(e=this._cdnURLTracker.toJSON().urls)||void 0===e?void 0:e.map((({url:e})=>e)))&&void 0!==t?t:[]}getPlaybackStats(){let e;switch(this.keySystem){case ee.WIDEVINE:e="widevine";break;case ee.PLAYREADY:case ee.PLAYREADY_HARDWARE:e="playready";break;default:e="none"}return{ms_total_est:this.msActualDuration,ms_metadata_duration:this.msMetadataDuration,ms_manifest_latency:this.msManifestLatency||0,ms_latency:this.msPlayLatency||0,start_offset_ms:this.startPosition,ms_initial_buffering:this.msInitialRebuffering,ms_initial_rebuffer:this.msInitialRebuffering,ms_seek_rebuffering:this.msSeekRebuffering,ms_stalled:this.msStalled,max_ms_seek_rebuffering:this.maxMsSeekRebuffering,max_ms_stalled:this.maxMsStalled,n_stalls:this.nStalls,n_rendition_upgrade:this.nRenditionUpgrade,n_rendition_downgrade:this.nRenditionDowngrade,bps_bandwidth_max:this.bpsBandwidthMax,bps_bandwidth_min:this.bpsBandwidthMin,bps_bandwidth_avg:this.bpsBandwidthAvg,audiocodec:this.audioCodec?this.audioCodec.toLowerCase():void 0,videocodec:this.videoCodec?this.videoCodec.toLowerCase():void 0,start_bitrate:this.startBitrate||this.bitrate||void 0,full_screen:void 0,time_weighted_bitrate:this.timeWeightedBitrate,buffering_percentage:void 0,prefetched_bytes:void 0,prefetched_bytes_loaded:void 0,prefetched_initial_bitrate:void 0,key_system:e,ms_key_latency:this.msKeyLatency||0,total_bytes:this.totalBytes,local_time_ms:this.localTimeMs,ms_played_background:void 0,n_dropped_video_frames:this.droppedVideoFrames,n_total_video_frames:this.totalVideoFrames,resolution_max:this.maxResolution,resolution_min:this.minResolution,strategy:this.strategy}}isFinalized(){return this._isFinalized}}const rn=O.m.forTag("playback.tracker");class an extends c.bk{constructor(e={}){super(),this._playedThreshold=31e3,this._playedThresholdReached=!1,this._trackingData=null,this._quartileTrackingEvents={firstEventFired:!1,midEventFired:!1,thirdEventFired:!1},this._playedThreshold=e.playerThreshold||31e3}static create(e){return new an(e)}_checkPlayedThreshold(){const e=this._trackingData;!e||!this._playedThreshold||this._playedThresholdReached||e.msPlayed<this._playedThreshold||(this._playedThresholdReached=!0,this.emit(Q.TRACKER_PLAYED_THRESHOLD_REACHED,{played:e&&e.msPlayed||0,threshold:this._playedThreshold}))}_checkPercentileThresholds(){const e=this._trackingData;if(!e)return;const t=e.msActualDuration||e.msFileDuration;if(!t)return;const n=Math.ceil(t/4);!this._quartileTrackingEvents.firstEventFired&&e.position>=n&&(this._quartileTrackingEvents.firstEventFired=!0,this.emit(Q.TRACKER_FIRST_QUARTILE,null)),!this._quartileTrackingEvents.midEventFired&&e.position>=2*n&&(this._quartileTrackingEvents.midEventFired=!0,this.emit(Q.TRACKER_MIDPOINT,null)),!this._quartileTrackingEvents.thirdEventFired&&e.position>=3*n&&(this._quartileTrackingEvents.thirdEventFired=!0,this.emit(Q.TRACKER_THIRD_QUARTILE,null))}getMSPlayed(){return this._trackingData?this._trackingData.msPlayed:0}getStallsInformation(){return this._trackingData?{nStalls:this._trackingData.nStalls,msTotalStalled:this._trackingData.msStalled}:{nStalls:0,msTotalStalled:0}}trackLoadStart(e,t,n,i,o){const r=on.create();this._trackingData=r,this._playedThresholdReached=!1,this._quartileTrackingEvents={firstEventFired:!1,midEventFired:!1,thirdEventFired:!1},r.fileId=null!=t?t:"",r.currentTrackUri=e,r.loadTime=Date.now(),r.loadStartMonotonic=(0,u.X)(),r.internalPlayId=n,r.externalLoadTime=i.externalLoadTime||0,r.displayTrack=i.displayTrack||"",r.playbackId=i.playbackId||"",r.playContext=i.playContext||"",r.reasonStart=i.reason||"unknown",r.sourceStart=i.source||"unknown",r.clientId=i.clientId||"",r.correlationId=i.correlationId||"",r.playbackService=i.playbackService||"";const a=i.referrer||{};r.referrer=void 0!==a.name?a.name:"unknown",r.referrerVersion=void 0!==a.version?a.version:"unknown",r.referrerVendor=void 0!==a.vendor?a.vendor:"unknown";const s=i.format||{};s.codec&&(r.audioCodec=s.codec.toLowerCase()),s.bitrate&&(r.bitrate=s.bitrate),s.audioQuality&&(r.audioQuality=s.audioQuality),r.gaiaDevId=i.deviceId||"none",r.noLog=i.noLog||!1,r.noTSV=i.noTSV||!1,r.noStats=i.noStats||!1,r.contentMetadata=o,"number"==typeof(null==o?void 0:o.displayDuration)&&(r.msMetadataDuration=o.displayDuration),this.emit(Q.TRACKER_TRACKING_DATA_CREATED,{trackingData:r})}trackBufferLoadStart(){const e=this._trackingData;e&&(e.bufferLoadStartMonotonic=(0,u.X)())}trackBytesDownloaded(e){const t=this._trackingData;t&&(t.totalBytes+=e)}trackLoadDone(e){const t=this._trackingData;t&&(t.bufferLoadStartMonotonic&&(t.msInitLatency=(0,u.r)(t.bufferLoadStartMonotonic)),t.localTimeMs=Date.now(),t.position=e,t.addStartSegment())}trackPlay(e,t){const n=this._trackingData;n&&(n.played||this.emit(Q.TRACKER_PLAYBACK_START,{trackingData:n}),n.played=!0,n.position=e,n.startPosition=e,n.addSpeedChange(t||1))}trackCanPlayThrough(){if(!this._trackingData)return;const e=(0,u.X)();this.trackHeadLatency(e)}trackPlayLatency(e=(0,u.X)()){const t=this._trackingData;!t||t.nSeeksBackward||t.nSeeksForward||t.loadStartMonotonic&&(t.msPlayLatency=(0,u.r)(t.loadStartMonotonic,e))}trackHeadLatency(e=(0,u.X)()){const t=this._trackingData;t&&t.bufferLoadStartMonotonic&&(t.msHeadLatency=(0,u.r)(t.bufferLoadStartMonotonic,e))}trackBufferURL(e,t){const n=this._trackingData;n&&n.trackBufferURL(e,t)}trackNavigatorOffline(){const e=this._trackingData;e&&(e.nOffline+=1)}trackInitialRebuffering(e){const t=this._trackingData;t&&(t.msInitialRebuffering=e)}trackSeekRebuffering(e){const t=this._trackingData;t&&(e>t.maxMsSeekRebuffering&&(t.maxMsSeekRebuffering=e),t.msSeekRebuffering+=e)}trackMsStalled(e){const t=this._trackingData;t&&(e>t.maxMsStalled&&(t.maxMsStalled=e),t.msStalled+=e,t.nStalls++)}trackLoadFailed(){const e=this._trackingData;e&&(this.trackPlayLatency(),e.position=0,e.addStartSegment())}trackStopped(e,t,n){var i,o,r,a;const s=this._trackingData;if(!s||s.isFinalized())return;if(s.stopTime=Date.now(),s.lastPlayPosition>=0&&e>=0&&s.lastPlayPosition<e){const t=e-s.lastPlayPosition;s.addMSPlayed(t)}s.addEndSegment(),s.sourceEnd=t.source||"unknown",s.reasonEnd=t.reason||"unknown",s.nextPlaybackId=t.playbackId||"",s.droppedVideoFrames=null!==(o=null===(i=null==n?void 0:n.video)||void 0===i?void 0:i.droppedVideoFrames)&&void 0!==o?o:0,s.totalVideoFrames=null!==(a=null===(r=null==n?void 0:n.video)||void 0===r?void 0:r.totalVideoFrames)&&void 0!==a?a:0,s.finalize(),rn.info("Tracker data finalized.");const c=s.getPlaybackStats();this.emit(Q.TRACKER_TRACKING_DATA_FINALIZED,{trackingData:s,playbackStats:c})}trackPositionChanged(e){const t=this._trackingData;if(!t)return;const n=t.position;e!==n&&(t.addEndSegment(),e>n?(t.nSeeksForward++,t.msSeeksForward+=e-n):e<n&&(t.nSeeksBackward++,t.msSeeksBackward+=n-e),t.position=e,t.lastPlayPosition=-1,t.addStartSegment())}trackPlaying(e){const t=this._trackingData;if(t){if(t.lastPlayPosition>=0&&t.lastPlayPosition<e){const n=e-t.lastPlayPosition;t.addMSPlayed(n)}t.position=e,t.lastPlayPosition=e}}trackPaused(e){const t=this._trackingData;if(t){if(t.lastPlayPosition>=0&&t.lastPlayPosition<e){const n=e-t.lastPlayPosition;t.addMSPlayed(n)}t.position=e,t.lastPlayPosition=e}}trackProgress(e,t){const n=this._trackingData;if(!(null==n?void 0:n.played))return;let i=0;if(n.lastPlayPosition>=0){if(i=e-n.lastPlayPosition,i<0)return void rn.warn("Skipping msPlayed calculation: late progress event.");n.addMSPlayed(i)}this._checkPlayedThreshold(),n.position=e,n.lastPlayPosition=e,this._checkPercentileThresholds(),t&&n.trackBitrate(t,i)}trackSpeedChanged(e){const t=this._trackingData;t&&t.addSpeedChange(e)}trackVideoLoadStart(e){const t=this._trackingData;t&&t.registerVideoVariant(e)}trackWarning(){const e=this._trackingData;e&&e.nWarnings++}trackOffline(){const e=this._trackingData;e&&e.nOffline++}trackStrategy(e){const t=this._trackingData;t&&(t.strategy=e)}setActualDuration(e){const t=this._trackingData;t&&(t.msActualDuration=e)}setKeySystem(e){const t=this._trackingData;t&&(t.keySystem=e)}setKeySystemImpl(e){const t=this._trackingData;t&&(t.keySystemImpl=e)}setManifestLatency(e){const t=this._trackingData;t&&(t.msManifestLatency=e)}setPlayIntended(e){const t=this._trackingData;t&&(t.playIntended=e)}setKeyLatency(e){const t=this._trackingData;t&&(t.msKeyLatency=e)}setMemoryCached(e){const t=this._trackingData;t&&(t.memoryCached=e)}setPersistentCached(e){const t=this._trackingData;t&&(t.persistentCached=e)}setProtected(e){const t=this._trackingData;t&&(t.isProtected=e)}setHadError(e){const t=this._trackingData;t&&(t.hadError=e)}setLicenseSessionLatency(e){const t=this._trackingData;t&&(t.msLicenseSessionLatency=e)}setLicenseGenerationLatency(e){const t=this._trackingData;t&&(t.msLicenseGenerationLatency=e)}setLicenseRequestLatency(e){const t=this._trackingData;t&&(t.msLicenseRequestLatency=e)}setLicenseUpdateLatency(e){const t=this._trackingData;t&&(t.msLicenseUpdateLatency=e)}setResolveLatency(e){const t=this._trackingData;t&&(t.msResolveLatency=e)}setCalculatedDuration(e){const t=this._trackingData;t&&(t.msFileDuration=e)}setPlayedThreshold(e){this._playedThreshold=e}trackFragment(e){const t=this._trackingData;if(!t)return;const{bandwidth:n,resolution:i}=e;i&&((i<t.minResolution||!t.minResolution)&&(t.minResolution=i),i>t.maxResolution&&(t.maxResolution=i)),(n<t.bpsBandwidthMin||!t.bpsBandwidthMin)&&(t.bpsBandwidthMin=n),n>t.bpsBandwidthMax&&(t.bpsBandwidthMax=n),t.bpsBandwidthAvg=t.bpsBandwidthAvg?(t.bpsBandwidthAvg+n)/2:n}trackProfileChanged(e){const t=this._trackingData;if(!t)return;const{bitrate:n}=e;n<t.lastBitrate&&t.nRenditionDowngrade++,n>t.lastBitrate&&t.nRenditionUpgrade++,t.lastBitrate=n}}class sn extends c.bk{constructor(e){super(),this._transport=e,this._parseManifestResponse=this._parseManifestResponse.bind(this)}static create(e){return new sn(e)}_parseManifestResponse(e){var t;const n=e.metadata.startTime;if(200!==e.status){const t=new Zt(i.STORAGE_VIDEO_MANIFEST_FAILED,`Video manifest request failed with status ${e.status}`);return t.status=e.status,this.emit(Q.VIDEO_MANIFEST_RESOLVE_FAILED,{url:e.url,error:t,start_time:n}),Promise.reject(t)}const o=e.body,r=null===(t=e.headers)||void 0===t?void 0:t.get("content-length");return this.emit(Q.VIDEO_MANIFEST_RESOLVED,{url:e.url,manifest_size:r?parseInt(r,10):JSON.stringify(o).length,start_time:n,end_time:Date.now()}),Promise.resolve(o)}getInitSegmentURLs(e,t,n,i){let o="";n&&(o=e+t.replace("{{profile_id}}",n.id.toString(10)).replace("{{file_type}}",n.file_type));let r="";return i&&(r=e+t.replace("{{profile_id}}",i.id.toString(10)).replace("{{file_type}}",i.file_type)),{audio:o,video:r,audioLogging:o,videoLogging:r}}getSegmentURLs(e,t,n,i,o){let r="";i&&(r=e+t.replace("{{profile_id}}",i.id.toString(10)).replace("{{file_type}}",i.file_type));let a="";return o&&(a=e+t.replace("{{profile_id}}",o.id.toString(10)).replace("{{file_type}}",o.file_type)),{audio:r.replace("{{segment_timestamp}}",n.toString()),video:a.replace("{{segment_timestamp}}",n.toString()),audioLogging:r,videoLogging:a}}getManifest(e,t=!1){const n=`${t?"@webgate/manifests/v8/unauth/json/sources":"@webgate/manifests/v7/json/sources"}/${e}/options/supports_drm`;return this._transport.request(n,{authorize:!t,responseType:"json",parseResponseHeaders:!0,retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}},metadata:{startTime:Date.now()}}).then(this._parseManifestResponse)}}class cn extends Error{constructor(e,t){super(),this.status=-1,this.debug={},this.canPlayNext=!0,this.unrecoverable=!1,this.name="LicenseError",this.code=e,this.message=t}static fatal(e,t){const n=new cn(e,t);return n.unrecoverable=!0,n.canPlayNext=!1,n}}class ln{constructor(e){this._sdk={name:"",version:""},this._securityLevel=null,this._urls={},e.sdk&&(this._sdk=e.sdk),e.securityLevel&&(this._securityLevel=e.securityLevel),this._transport=e.transport,this._useTestLicenseServer=!!e.useTestLicenseServer,this._transport.on(this._transport.EVENT_CONNECTION_ID,(()=>{this._urls={}}))}get(e,t){const n=`${e}:${t}`,o=this._urls[n];if(o&&o.expires>Date.now()+6e4)return Promise.resolve(o.uri);const r=this._useTestLicenseServer?"&use_test_license_server=true":"",a=`@webgate/melody/v1/license_url?keysystem=${e}&mediatype=${t}&sdk_name=${this._sdk.name}&sdk_version=${this._sdk.version}${r}`;return this._transport.request(a,{responseType:"json",retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then((e=>{const t=e.body;if(t&&200===e.status)return t.expires*=1e3,t.uri=`@webgate/${t.uri}`,this._securityLevel&&(t.uri+=[-1!==t.uri.indexOf("?")?"&":"?","sl=",this._securityLevel].join("")),this._urls[n]=t,t.uri;let o;return o=t?400===e.status&&t&&"deprecated-version"===t.code?cn.fatal(i.LICENSE_RESOLVER_DEPRECATED_VERSION,"This version of the SDK is no longer supported. Please upgrade"):new cn(i.LICENSE_RESOLVER_CANT_RESOLVE_URL,`License URL endpoint responded with status ${e.status}`):cn.fatal(i.LICENSE_RESOLVE_INVALID_RESPONSE,"License URL endpoint responded with invalid response"),o.status=e.status,Promise.reject(o)}))}remove(e,t){this._urls[`${e}:${t}`]=null}}class un{constructor(e){this._melodyLogger=new j.nj(e)}logTrackStreamVerification(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"track_stream_verification",message:e},{batch:!0})}logJSSDKPlaybackStats(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_playback_stats",message:e},{batch:!0})}logJSSDKPlaybackStart(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_playback_start",message:e},{batch:!0})}logJSSDKError(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_error",message:e},{batch:!0})}logJSSDKWarning(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_warning",message:e},{batch:!0})}}var dn;!function(e){e[e.ABORTED=101]="ABORTED",e[e.NETWORK=102]="NETWORK",e[e.MEDIA_DECODING=103]="MEDIA_DECODING",e[e.SRC_NOT_SUPPORTED=104]="SRC_NOT_SUPPORTED",e[e.EME=105]="EME",e[e.GENERIC=100]="GENERIC"}(dn||(dn={}));const pn={[i.MEDIA_ABORTED]:dn.ABORTED,[i.MEDIA_DECODING_ERROR]:dn.MEDIA_DECODING,[i.MEDIA_NOT_SUPPORTED]:dn.SRC_NOT_SUPPORTED,[i.MEDIA_NETWORK_ERROR]:dn.NETWORK};function hn(e){let t=pn[e];return/_REQUEST_|_RESPONSE$/.test(e)?t=dn.NETWORK:t||(t=/^EME_/.test(e)?dn.EME:dn.GENERIC),t}function fn(e){var t;const n=e.match(/^https?:\/\/([^\/]+@)?([^\/?#]+)/);return null!==(t=null==n?void 0:n[2])&&void 0!==t?t:""}var mn;!function(e){e.READY="playerready",e.VIDEO_CHANGE="videochange",e.PLAY="play",e.PLAYING="playing",e.PAUSE="pause",e.TIMEUPDATE="timeupdate",e.SEEKING="seeking",e.SEEKED="seeked",e.ERROR="error",e.ENDED="ended",e.RENDITION_CHANGE="renditionchange",e.REQUEST_COMPLETED="requestcompleted",e.REQUEST_FAILED="requestfailed",e.REQUEST_CANCELED="requestcanceled"}(mn||(mn={}));const _n={player_is_paused:!0,player_width:0,player_height:0,video_source_height:0,video_source_width:0,player_is_fullscreen:void 0,player_autoplay_on:void 0,player_preload_on:void 0,video_source_url:void 0,video_source_mime_type:void 0,video_source_duration:void 0,video_poster_url:void 0,player_language_code:void 0};class gn{constructor(e){this._playerId=`spotify-playback-${Date.now()}`,this._currentContentInfo=null,this._readyDeferred=(0,l.u)(),this._isMuxInitialized=!1,this._muxInitData=null,this._player=e.player,this._mux=e.mux,this._getPlayheadTime=this._getPlayheadTime.bind(this),this._getStateData=this._getStateData.bind(this),this._init(e)}static create(e){return new gn(e)}_init(e){Promise.all([Promise.resolve(e.deviceInfo)]).then((([t])=>{var n;this._muxInitData={data:Object.assign({env_key:e.envKey||"2qbjhhcl4u87btjbo7dh8vi2n",player_name:null!==(n=null==t?void 0:t.platform_name)&&void 0!==n?n:null==t?void 0:t.platform,player_version:null==t?void 0:t.version,viewer_device_manufacturer:null==t?void 0:t.brand,viewer_device_category:null==t?void 0:t.type,viewer_device_name:null==t?void 0:t.model,player_software_name:e.sdk||"spotify-playback",player_software_version:e.sdkVersion||qt,player_mux_plugin_name:"spotify-playback-mux-reporter",player_mux_plugin_version:qt},e.muxCustomDimensions),getPlayheadTime:this._getPlayheadTime,getStateData:this._getStateData},this._player.addListeners({[Q.PLAYER_BEFORE_LOAD]:this._onBeforeLoad.bind(this),[Q.PLAYER_PLAY]:this._onPlay.bind(this),[Q.PLAYER_PLAYING]:this._onPlaying.bind(this),[Q.PLAYER_PAUSED]:this._onPause.bind(this),[Q.PLAYER_PROGRESS]:this._onProgress.bind(this),[Q.PLAYER_SEEKING]:this._onSeeking.bind(this),[Q.PLAYER_POSITION_CHANGED]:this._onPositionChanged.bind(this),[Q.PLAYER_ERROR]:this._onError.bind(this),[Q.PLAYER_ENDED]:this._onEnded.bind(this),[Q.PLAYER_DURATION_CHANGED]:this._onDurationChanged.bind(this),[Q.PLAYER_VIDEO_RESIZED]:this._onVideoResized.bind(this),[Q.PLAYER_VIDEO_PROFILE_CHANGED]:this._onVideoProfileChanged.bind(this),[Q.PLAYER_FRAGMENT_FETCHED]:this._onFragmentFetched.bind(this),[Q.PLAYER_FRAGMENT_FETCH_ERROR]:this._onFragmentFetchError.bind(this),[Q.PLAYER_VIDEO_MANIFEST_RESOLVED]:this._onVideoManifestResolved.bind(this),[Q.PLAYER_VIDEO_MANIFEST_RESOLVE_FAILED]:this._onVideoManifestResolveFailed.bind(this)})})).then(this._readyDeferred.resolve,this._readyDeferred.reject)}_getPlayheadTime(){return this._player.getPlayerPosition()}_getStateData(){return this._currentContentInfo?Object.assign(Object.assign({},this._currentContentInfo.stateData),{player_language_code:this._player.getActiveSubtitleLanguage()}):null}_onDurationChanged(e){this._currentContentInfo&&(this._currentContentInfo.stateData.video_source_duration=e.data.duration)}_onVideoResized(e){this._currentContentInfo&&(this._currentContentInfo.stateData.player_width=e.data.width,this._currentContentInfo.stateData.player_height=e.data.height)}_onBeforeLoad(e){const{track:t,options:n,logData:i}=e.data,o=!!this._currentContentInfo;if("video"!==t.mediaType||(null==i?void 0:i.noLog)||(null==i?void 0:i.noMuxEvents))return o&&this._mux.emit(this._playerId,mn.VIDEO_CHANGE,{}),void(this._currentContentInfo=null);const r={video_id:t.fileId,video_title:(null==i?void 0:i.displayTitle)||void 0,video_series:(null==i?void 0:i.displayGroup)||void 0,video_duration:(null==i?void 0:i.displayDuration)||void 0},a=Object.assign({},_n);this._currentContentInfo={track:t,options:n,videoData:r,stateData:a},!this._isMuxInitialized&&this._muxInitData?(this._mux.init(this._playerId,this._muxInitData),this._mux.emit(this._playerId,mn.READY),this._isMuxInitialized=!0):o&&this._mux.emit(this._playerId,mn.VIDEO_CHANGE,r)}_onPlay(){var e,t;if(!this._currentContentInfo)return;const n=this._currentContentInfo.stateData,i=this._player.getPlayerState(),o=i.media_info,r=(null===(t=null===(e=this._currentContentInfo)||void 0===e?void 0:e.options)||void 0===t?void 0:t.autoplay)||!1,{width:a,height:s,src:c,poster:l}=i.player_element;n.player_is_paused=!i.playing,n.player_width=a||0,n.player_height=s||0,n.video_source_height=o.video_height||0,n.video_source_width=o.video_width||0,n.player_autoplay_on=r,n.video_source_url=c,n.video_source_mime_type=o.video_format,n.video_source_duration=i.duration,n.video_poster_url=l,this._mux.emit(this._playerId,mn.PLAY,this._currentContentInfo.videoData)}_onPlaying(){this._currentContentInfo&&(this._currentContentInfo.stateData.player_is_paused=!1,this._mux.emit(this._playerId,mn.PLAYING))}_onPause(){this._currentContentInfo&&(this._currentContentInfo.stateData.player_is_paused=!0,this._mux.emit(this._playerId,mn.PAUSE))}_onProgress(e){this._currentContentInfo&&this._mux.emit(this._playerId,mn.TIMEUPDATE,{player_playhead_time:e.data.position})}_onSeeking(){this._currentContentInfo&&this._mux.emit(this._playerId,mn.SEEKING)}_onPositionChanged(){this._currentContentInfo&&this._mux.emit(this._playerId,mn.SEEKED)}_onError(e){var t,n;const i=null===(n=null===(t=e.data)||void 0===t?void 0:t.error)||void 0===n?void 0:n.code;this._currentContentInfo&&i&&this._mux.emit(this._playerId,mn.ERROR,{player_error_code:hn(i),player_error_message:i})}_onEnded(){this._currentContentInfo&&this._mux.emit(this._playerId,mn.ENDED)}_onVideoProfileChanged(e){if(!this._currentContentInfo)return;const t=e.data.profile,n=this._currentContentInfo.stateData;n.video_source_height=t.height||0,n.video_source_width=t.width||0,n.video_source_mime_type=t.mimeType,this._mux.emit(this._playerId,mn.RENDITION_CHANGE,{video_source_bitrate:t.bitrate,video_source_width:t.width,video_source_height:t.height})}_onFragmentFetched(e){const t=e.data;if(!this._currentContentInfo&&"video"!==t.media_type)return;const n=`${t.segment_type}${t.init?"_init":""}`;this._mux.emit(this._playerId,mn.REQUEST_COMPLETED,{request_type:n,request_hostname:fn(t.url),request_start:t.start_time,request_response_end:t.end_time,request_bytes_loaded:t.byte_length})}_onFragmentFetchError(e){const t=e.data;if(!this._currentContentInfo&&"video"!==t.media_type)return;const n=`${t.segment_type}${t.init?"_init":""}`;this._mux.emit(this._playerId,mn.REQUEST_FAILED,{request_type:n,request_hostname:fn(t.url),request_start:t.start_time,request_error:t.error.code,request_error_code:t.error.status,request_error_text:""})}_onVideoManifestResolved(e){const t=e.data;this._currentContentInfo&&this._mux.emit(this._playerId,mn.REQUEST_COMPLETED,{request_type:"manifest",request_hostname:fn(t.url),request_start:t.start_time,request_response_end:t.end_time,request_bytes_loaded:t.manifest_size})}_onVideoManifestResolveFailed(e){const t=e.data;this._currentContentInfo&&this._mux.emit(this._playerId,mn.REQUEST_FAILED,{request_type:"manifest",request_hostname:fn(t.url),request_start:t.start_time,request_error:t.error.code,request_error_code:t.error.status,request_error_text:""})}ready(){return this._readyDeferred.promise}}class En{constructor(e){if(this._estimate=0,this._totalWeight=0,e<0)throw new TypeError("Halflife must be set to a positive value.");this._weightingDecrease=Math.exp(Math.log(.5)/e)}sample(e,t){const n=Math.pow(this._weightingDecrease,e),i=t*(1-n)+n*this._estimate;isNaN(i)||(this._estimate=i,this._totalWeight+=t)}getEstimate(){return this._estimate/1-Math.pow(this._weightingDecrease,this._totalWeight)}}class vn{constructor(e=4e5){this._totalBytes=0,this._overrideBitrate=0,this._currentBandwidth=e,this._short=new En(2),this._long=new En(5),this._init()}_init(){if("undefined"==typeof navigator)return;const e=navigator;e.connection&&e.connection.downlink&&(this._currentBandwidth=1e6*e.connection.downlink,this._onConnectionChange=this._onConnectionChange.bind(this),e.connection.addEventListener("change",this._onConnectionChange))}_onConnectionChange(e){const t=e.target.downlink||0;this._setBandwidth(t)}_setBandwidth(e){this._currentBandwidth=1e6*e}getBandwidthEstimate(){if(this._overrideBitrate)return this._overrideBitrate;if(this._totalBytes<128e3)return this._currentBandwidth;const e=this._short.getEstimate(),t=this._long.getEstimate();return Math.min(e,t)}sample(e,t){if(e<16e3)return;const n=t/1e3,i=8*e/n;this._totalBytes+=e,this._short.sample(n,i),this._long.sample(n,i)}overrideBitrate(e){this._overrideBitrate=e<=0?0:e}}class yn{constructor(e,t){this._transport=e,this._abrManager=t}_fetch(e,t){const n=(0,u.X)();return this._transport.request(e,{responseType:"arraybuffer",headers:{Range:t}}).then((e=>e.ok&&e.body?{bytes:e.body.byteLength,time:(0,u.X)()-n}:null))}sample(){const e=`https://web-sdk-assets.spotifycdn.com/bandwidth_sampling_data?no-cache=${Math.random()}`;return this._fetch(e,"bytes=0-0").then((()=>this._fetch(e,"bytes=0-"))).then((e=>{e&&this._abrManager.sample(e.bytes,e.time)}))}}const bn=(e,t)=>new yn(e,t);var Sn,Tn,An,In,On;function Cn(e){return"uri"in e}!function(e){e.NULL_VALUE="NULL_VALUE",e.LIST_START="LIST_START",e.LIST_END="LIST_END",e.FORBIDDEN="FORBIDDEN",e.IGNORE="IGNORE",e.PAUSE="PAUSE"}(Sn||(Sn={})),function(e){e.AAC_LC="mp4a.40.2",e.AAC_HE="mp4a.40.5",e.FLAC="flac",e.OPUS="opus",e.VP9="vp9",e.VP8="vp8",e.H264_31="avc1.4d401f"}(Tn||(Tn={})),function(e){e.UNKNOWN="UNKNOWN",e.DEFAULT="DEFAULT",e.LOW="LOW",e.NORMAL="NORMAL",e.HIGH="HIGH",e.VERY_HIGH="VERY_HIGH",e.HIFI="HIFI"}(An||(An={})),function(e){e.NONE="NONE",e.CONTEXT="CONTEXT",e.TRACK="TRACK"}(In||(In={})),function(e){e.EMPTY="EMPTY",e.SW_CRYPTO="SW_CRYPTO",e.SW_DECODE="SW_DECODE",e.HW_CRYPTO="HW_CRYPTO",e.HW_DECODE="HW_DECODE",e.HW_ALL="HW_ALL"}(On||(On={}));class Rn extends c.bk{constructor(e){if(super(),this._trackPlayerPromise=(0,l.u)(),this._maxListErrors=5,this._uid=0,this._loadedList=null,this._loadedOptions=null,this._currentTrack=null,this._currentTrackOptions=null,this._listPlayCount=0,this._listErrorCount=0,this._shuffled=!1,this._repeatMode=In.NONE,this._currentSeqId=0,!e.trackPlayer)throw new TypeError("Argument `options.trackPlayer` not found.");e.maxListErrors&&(this._maxListErrors=e.maxListErrors),this._setListOptions=this._setListOptions.bind(this),this._replaceCurrentList=this._replaceCurrentList.bind(this),this._handleCapped=this._handleCapped.bind(this),this._handlePlaying=this._handlePlaying.bind(this),this._handlePaused=this._handlePaused.bind(this),this._handleEnded=this._handleEnded.bind(this),this._handleCanPreload=this._handleCanPreload.bind(this),this._handleError=this._handleError.bind(this),this._handlePositionChanged=this._handlePositionChanged.bind(this),this._handleDurationChanged=this._handleDurationChanged.bind(this),this._handleTimeout=this._handleTimeout.bind(this),this._handlePlayerInitError=this._handlePlayerInitError.bind(this),this._handleProgress=this._handleProgress.bind(this),this._handlePlayedThresholdReached=this._handlePlayedThresholdReached.bind(this),this._handleBeforeLoad=this._handleBeforeLoad.bind(this),this._init(e.trackPlayer)}static create(e){return new Rn(e)}_init(e){this._trackPlayerPromise.promise.catch((()=>{})),Promise.resolve(e).then((e=>{this._attachPlayerEvents(e),this._trackPlayerPromise.resolve(e)})).catch(this._handlePlayerInitError)}_attachPlayerEvents(e){e.addListeners({[Q.PLAYER_CAN_PRELOAD]:this._handleCanPreload,[Q.PLAYER_CAPPED]:this._handleCapped,[Q.PLAYER_ENDED]:this._handleEnded,[Q.PLAYER_ERROR]:this._handleError,[Q.PLAYER_PAUSED]:this._handlePaused,[Q.PLAYER_PLAYING]:this._handlePlaying,[Q.PLAYER_TIMEOUT]:this._handleTimeout,[Q.PLAYER_POSITION_CHANGED]:this._handlePositionChanged,[Q.PLAYER_DURATION_CHANGED]:this._handleDurationChanged,[Q.PLAYER_PROGRESS]:this._handleProgress,[Q.PLAYER_BEFORE_LOAD]:this._handleBeforeLoad,[Q.PLAYER_PLAYED_THRESHOLD_REACHED]:this._handlePlayedThresholdReached}),this.proxyEmitAllSync(e,{[Q.PLAYER_BEFORE_VOLUME_CHANGE]:Q.LIST_PLAYER_BEFORE_VOLUME_CHANGE,[Q.PLAYER_LOAD]:Q.LIST_PLAYER_PLAYER_LOAD,[Q.REPORTING_START]:Q.REPORTING_START,[Q.REPORTING_CREATIVE_VIEW]:Q.REPORTING_CREATIVE_VIEW,[Q.REPORTING_FIRST_QUARTILE]:Q.REPORTING_FIRST_QUARTILE,[Q.REPORTING_MIDPOINT]:Q.REPORTING_MIDPOINT,[Q.REPORTING_THIRD_QUARTILE]:Q.REPORTING_THIRD_QUARTILE,[Q.REPORTING_COMPLETE]:Q.REPORTING_COMPLETE,[Q.REPORTING_PAUSE]:Q.REPORTING_PAUSE,[Q.REPORTING_RESUME]:Q.REPORTING_RESUME,[Q.REPORTING_ERROR]:Q.REPORTING_ERROR}),this.proxyEmitAll(e,{[Q.PLAYER_AUTOPLAY_FAILED]:Q.LIST_PLAYER_AUTOPLAY_FAILED,[Q.PLAYER_TRACKING_DATA_CREATED]:Q.LIST_PLAYER_TRACKING_DATA_CREATED,[Q.PLAYER_TRACKING_DATA_FINALIZED]:Q.LIST_PLAYER_TRACKING_DATA_FINALIZED,[Q.PLAYER_BUFFER_STALLED]:Q.LIST_PLAYER_BUFFER_STALLED,[Q.PLAYER_BUFFERING_START]:Q.LIST_PLAYER_BUFFERING_START,[Q.PLAYER_BUFFERING_END]:Q.LIST_PLAYER_BUFFERING_END,[Q.PLAYER_REBUFFERING_START]:Q.LIST_PLAYER_REBUFFERING_START,[Q.PLAYER_REBUFFERING_END]:Q.LIST_PLAYER_REBUFFERING_END,[Q.PLAYER_VIDEO_ELEMENT_APPENDED]:Q.LIST_PLAYER_VIDEO_ELEMENT_APPENDED,[Q.PLAYER_VIDEO_ELEMENT_REMOVED]:Q.LIST_PLAYER_VIDEO_ELEMENT_REMOVED,[Q.PLAYER_DISPLAYED_CUES_CHANGED]:Q.LIST_PLAYER_DISPLAYED_CUES_CHANGED,[Q.LIST_PLAYER_VIDEO_PROFILE_CHANGED]:Q.PLAYER_VIDEO_PROFILE_CHANGED,[Q.LIST_PLAYER_PLAYBACK_SPEED_CHANGED]:Q.PLAYER_PLAYBACK_SPEED_CHANGED,[Q.LIST_PLAYER_MUTED_CHANGED]:Q.PLAYER_MUTED_CHANGED,[Q.LIST_PLAYER_SUBTITLE_LANGUAGES_LOADED]:Q.PLAYER_SUBTITLE_LANGUAGES_LOADED})}_translatePosition(e){var t,n,i;return null!==(i=null===(n=null===(t=this._loadedList)||void 0===t?void 0:t.translatePosition)||void 0===n?void 0:n.call(t,e))&&void 0!==i?i:e}_translateDuration(e){var t,n,i;const o=isNaN(e)?0:e;return null!==(i=null===(n=null===(t=this._loadedList)||void 0===t?void 0:t.translateDuration)||void 0===n?void 0:n.call(t,o))&&void 0!==i?i:o}_handleProgress(e){const{data:t}=e;this.emit(Q.LIST_PLAYER_PROGRESS,Object.assign(Object.assign({},t),{position:this._translatePosition(t.position)}))}_handleBeforeLoad(e){const{data:t}=e;this.emit(Q.LIST_PLAYER_BEFORE_PLAYER_LOAD,Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{position:this._translatePosition(t.options.position)})}))}_handlePlayerInitError(e){this._trackPlayerPromise.reject(new ie(i.LIST_PLAYER_NO_TRACK_PLAYER,e.message||"Track player promise was rejected."))}_handleCapped(){const e=this._currentTrack;e&&this.emit(Q.LIST_PLAYER_CAPPED,{uid:this._uid,track:e,options:this._currentTrackOptions,list:this._loadedList})}_handlePlaying(e){const t=this._currentTrack;t&&this.emit(Q.LIST_PLAYER_PLAYING,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position)})}_handlePaused(e){const t=this._currentTrack;t&&this.emit(Q.LIST_PLAYER_PAUSED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position)})}_handleCanPreload(){this._preloadUpcomingTrack().catch((()=>{}))}_handleEnded(){const e=this._currentTrack;e&&(this.emit(Q.LIST_PLAYER_TRACK_ENDED,{uid:this._uid,track:e,options:this._currentTrackOptions,list:this._loadedList}),this.next(s.TRACK_DONE))}_handleTimeout(){const e=this._currentTrack;e&&(this.emit(Q.LIST_PLAYER_TRACK_TIMEOUT,{uid:this._uid,track:e,options:this._currentTrackOptions,list:this._loadedList}),this.next(s.TRACK_ERROR))}_handlePositionChanged(e){const t=this._currentTrack;t&&this.emit(Q.LIST_PLAYER_POSITION_CHANGED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position)})}_handleDurationChanged(e){const t=this._currentTrack;t&&this.emit(Q.LIST_PLAYER_DURATION_CHANGED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position),duration:this._translateDuration(e.data.duration)})}_handlePlayedThresholdReached(e){const t=this._currentTrack;t&&this.emit(Q.LIST_PLAYER_PLAYED_THRESHOLD_REACHED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,threshold:e.data.threshold,position:this._translatePosition(e.data.position)})}_handleError(e){const t=this._currentTrack,n=e.data;if(!t)return;n.position=this._translatePosition(e.data.position),this.emit(Q.LIST_PLAYER_ERROR,n),this.emitSync(Q.LIST_PLAYER_ERROR_SYNC,n);const i=!!n.error&&n.error.listPlayerIgnore;i||this._listErrorCount++,n.canPlayNext&&(i||this._listErrorCount<=this._maxListErrors?this.next(s.TRACK_ERROR):this.emit(Q.LIST_PLAYER_MAX_LIST_ERRORS_REACHED,{count:this._listErrorCount,threshold:this._maxListErrors}))}_handleTrackLoaded(e){this.emitSync(Q.LIST_PLAYER_TRACK_LOADED,e)}_incrementSeqId(){return this._currentSeqId>=9007199254740991?this._currentSeqId=0:this._currentSeqId+=1,this._currentSeqId}_getTrackPlayer(){return this._trackPlayerPromise.promise}_setListIndex(e,t){const n=t.index&&-1!==t.index?t.index:0;return Promise.all([e,t,e.startAt(n)])}_setListOptions([e,t,n]){return Promise.all([e.setShuffle(!!this._shuffled),e.setRepeatMode(this._repeatMode)]).then((()=>[e,t]))}_replaceCurrentList([e,t]){return this.emitSync(Q.LIST_PLAYER_BEFORE_LIST_CHANGE,{newList:e,newOptions:t,oldList:this._loadedList,oldOptions:this._loadedOptions}),this._loadedList=e,this._loadedOptions=t,this._listPlayCount=0,this._listErrorCount=0,this.emit(Q.LIST_PLAYER_LIST_CHANGED,{list:e,options:t}),te.SUCCESS}_changeTrack(e,t,n){if(this._currentSeqId!==n)return Promise.resolve(te.CANCELLED);this.emitSync(Q.LIST_PLAYER_BEFORE_TRACK_LOAD,{list:this._loadedList,newTrack:e,oldTrack:this._currentTrack}),this._uid++;const i=++this._listPlayCount,o=this._loadedOptions;let r,a=!0,c=0,l=3e4,u=!1,d=!1;o&&(1===i?(a=!o.paused,c=o.initialPosition||o.position||0):c=o.position||0,u=o.muted||!1,d=o.loop||!1);const p=t===s.TRACK_DONE;if(e.options){const t=e.options;void 0!==t.paused&&(a=!t.paused),void 0!==t.position&&(c=t.position),void 0!==t.playedThreshold&&(l=t.playedThreshold),void 0!==t.loadingTimeout&&(r=t.loadingTimeout),void 0!==t.muted&&(u=t.muted),void 0!==t.loop&&(d=t.loop)}this._currentTrack=e,this._currentTrackOptions={reason:t,paused:!a,position:c,playedThreshold:l,muted:u,loop:d};const h=this._handleTrackLoaded.bind(this,{uid:this._uid,track:this._currentTrack,options:this._currentTrackOptions,list:this._loadedList});return this._getTrackPlayer().then((t=>this._currentSeqId!==n?te.CANCELLED:(Promise.resolve(t.load(e,{uriProperty:"playableURI",autoplay:a,position:c,playedThreshold:l,continuePrevious:p,loadingTimeout:r,muted:u,loop:d},h)).catch((()=>{})),te.SUCCESS)))}_preloadUpcomingTrack(){const e=this._loadedList;return e?e.peekNext({reason:s.TRACK_DONE,listConstants:Sn}).then((e=>e===Sn.FORBIDDEN?te.FORBIDDEN:e===Sn.NULL_VALUE?te.INVALID:e===Sn.LIST_END?te.LIST_END:Cn(e)&&e.playable?this.preloadTrack(e):te.INVALID)):Promise.reject(new ie(i.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}preloadTrack(e){return this._getTrackPlayer().then((t=>(t.preload(e).catch((()=>{})),te.SUCCESS)))}activateElement(){return this._getTrackPlayer().then((e=>(e.activateElement(),te.SUCCESS)))}load(e,t){const n=function(e={}){const t={index:-1,position:0,initialPosition:0,playbackSpeed:1,duration:-1,paused:!1,reason:s.UNKNOWN,muted:!1,loop:!1};return void 0!==e.index&&(t.index=e.index),void 0!==e.position&&(t.position=e.position),void 0!==e.initialPosition&&(t.initialPosition=e.initialPosition),void 0!==e.duration&&(t.duration=e.duration),void 0!==e.paused&&(t.paused=e.paused),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),void 0!==e.reason&&(t.reason=e.reason),void 0!==e.muted&&(t.muted=e.muted),void 0!==e.loop&&(t.loop=e.loop),t}(t||this._loadedOptions||{});return this._setListIndex(e,n).then(this._setListOptions).then(this._replaceCurrentList)}play(e,t){return this.load(e,t).then((()=>{if(this._loadedList!==e)return te.CANCELLED;const t=this._loadedOptions?this._loadedOptions.reason:s.UNKNOWN;return this.next(t)}))}canChangeTrack(){return this._loadedList?this._loadedList.peekNext({reason:s.FORWARD_BUTTON,listConstants:Sn}).then((e=>e!==Sn.FORBIDDEN)):Promise.resolve(!0)}next(e){if(!e)return Promise.reject(new ie(i.LIST_PLAYER_INVALID_ARGUMENT,"The argument `reason` is required."));const t=this._loadedList;if(!t)return Promise.reject(new ie(i.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."));this.emitSync(Q.LIST_PLAYER_BEFORE_NEXT,{list:t,reason:e});const n=this._incrementSeqId(),o={reason:e,listConstants:Sn};return t.next(o).then((i=>this._currentSeqId!==n?te.CANCELLED:i===Sn.FORBIDDEN?te.FORBIDDEN:i===Sn.NULL_VALUE?this.next(e):i===Sn.LIST_END?(this.emit(Q.LIST_PLAYER_LIST_ENDED,{list:t,reason:s.END_PLAY}),this.clear(e),te.LIST_END):Cn(i)?i.playable?this._changeTrack(i,e,n):(this.emit(Q.LIST_PLAYER_TRACK_UNPLAYABLE,{track:i,list:t}),this.next(e)):te.INVALID))}previous(e){if(!e)return Promise.reject(new ie(i.LIST_PLAYER_INVALID_ARGUMENT,"The argument `reason` is required."));const t=this._loadedList;if(!t)return Promise.reject(new ie(i.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."));this.emitSync(Q.LIST_PLAYER_BEFORE_PREVIOUS,{list:t,reason:e});const n=this._incrementSeqId(),o={reason:e,listConstants:Sn};return t.previous(o).then((i=>this._currentSeqId!==n?te.CANCELLED:i===Sn.FORBIDDEN?te.FORBIDDEN:i===Sn.NULL_VALUE?this.previous(e):i===Sn.LIST_START?(this.emit(Q.LIST_PLAYER_LIST_ENDED,{list:t,reason:s.END_PLAY}),this.clear(e),te.LIST_END):Cn(i)?i.playable?this._changeTrack(i,e,n):(this.emit(Q.LIST_PLAYER_TRACK_UNPLAYABLE,{track:i,list:t}),this.previous(e)):te.INVALID))}pause(){return this._loadedList?this._currentTrack?this._getTrackPlayer().then((e=>e.pause().then((()=>te.SUCCESS)).catch((e=>"AbortError"===(null==e?void 0:e.name)?te.CANCELLED:te.FORBIDDEN)))):Promise.resolve(te.SUCCESS):Promise.reject(new ie(i.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}resume(){return this._loadedList?this._currentTrack?this._getTrackPlayer().then((e=>e.resume().then((()=>te.SUCCESS)).catch((e=>"AbortError"===(null==e?void 0:e.name)?te.CANCELLED:te.FORBIDDEN)))):Promise.resolve(te.SUCCESS):Promise.reject(new ie(i.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}togglePlay(){return this._loadedList?this._currentTrack?this._getTrackPlayer().then((e=>e.togglePlay().then((()=>te.SUCCESS)).catch((e=>"AbortError"===(null==e?void 0:e.name)?te.CANCELLED:te.FORBIDDEN)))):Promise.resolve(te.SUCCESS):Promise.reject(new ie(i.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}stop(e){const t={reason:e||s.UNKNOWN},n=this._currentTrack;return n&&n.logData&&(t.source=n.logData.source,t.playbackService=n.logData.playbackService),this._incrementSeqId(),this._getTrackPlayer().then((e=>(e.stop(t),this.emit(Q.LIST_PLAYER_STOPPED,{uid:this._uid,options:this._currentTrackOptions,list:this._loadedList}),te.SUCCESS)))}clear(e){return this.stop(e).then((()=>(this._loadedList=null,this._loadedOptions=null,this._currentTrack=null,this._currentTrackOptions=null,this.emit(Q.LIST_PLAYER_CLEARED,null),te.SUCCESS)))}setShuffle(e){const t=!!e;if(this._shuffled!==t){this._shuffled=t,this.emit(Q.LIST_PLAYER_SHUFFLE_CHANGED,{player:this,shuffled:t});const e=this._loadedList;e&&e.setShuffle(this._shuffled)}return Promise.resolve(te.SUCCESS)}setRepeatMode(e){if(!(e in In))return Promise.reject(new ie(i.LIST_PLAYER_INVALID_ARGUMENT,"The value of repeat mode is not a correct RepeatMode enum value"));if(this._repeatMode!==e){this._repeatMode=e,this.emit(Q.LIST_PLAYER_REPEAT_MODE_CHANGED,{player:this,repeatMode:e});const t=this._loadedList;t&&t.setRepeatMode(this._repeatMode)}return Promise.resolve(te.SUCCESS)}getVolume(){return this._getTrackPlayer().then((e=>e.getVolume()))}setVolume(e,t=null){return this._getTrackPlayer().then((n=>(n.setVolume(e,{commandId:null!=t?t:void 0}),this.emit(Q.LIST_PLAYER_VOLUME_CHANGED,{volume:e,commandId:t}),te.SUCCESS)))}seek(e,t=s.SEEK){var n,o;const r=this._loadedList;if(!r)return Promise.reject(new ie(i.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."));if("function"==typeof r.allowSeeking&&!r.allowSeeking())return Promise.reject(new ie(i.LIST_PLAYER_FORBIDDEN,"The operation is not allowed."));const a=null!==(o=null===(n=r.handleSeek)||void 0===n?void 0:n.call(r,e,{reason:t,listConstants:Sn}))&&void 0!==o?o:e;return a===Sn.PAUSE?this.pause().then((t=>(this.emit(Q.LIST_PLAYER_SEEK_HANDLED,{position:e,reason:a}),t))):a===Sn.IGNORE?(this.emit(Q.LIST_PLAYER_SEEK_HANDLED,{position:e,reason:a}),Promise.resolve(te.SUCCESS)):this._currentTrack?this._getTrackPlayer().then((e=>(e.seek(a),te.SUCCESS))):Promise.resolve(te.SUCCESS)}getListConstants(){return Sn}getLoadedList(){return this._loadedList}getLoadedOptions(){return this._loadedOptions}getPlayerState(){return this._getTrackPlayer().then((e=>{const t=e.getPlayerState();return Object.assign(Object.assign({},t),{position:this._translatePosition(t.position),duration:this._translateDuration(t.duration)})}))}getState(){return this.getPlayerState().then((e=>({playbackState:e,track:this._currentTrack,list:this._loadedList,options:this._loadedOptions})))}getMediaConfig(){return this._getTrackPlayer().then((e=>e.getMediaConfig()))}hideSubtitles(){return this._getTrackPlayer().then((e=>e.hideSubtitles())).then((()=>te.SUCCESS))}showSubtitles(){return this._getTrackPlayer().then((e=>e.showSubtitles())).then((()=>te.SUCCESS))}areSubtitlesShown(){return this._getTrackPlayer().then((e=>e.areSubtitlesShown()))}getSubtitleLanguages(){return this._getTrackPlayer().then((e=>e.getSubtitleLanguages()))}getActiveSubtitleLanguage(){return this._getTrackPlayer().then((e=>{var t;return null!==(t=e.getActiveSubtitleLanguage())&&void 0!==t?t:null}))}deactivateCueEvents(){return this._getTrackPlayer().then((e=>e.deactivateCueEvents())).then((()=>te.SUCCESS))}activateCueEvents(){return this._getTrackPlayer().then((e=>e.activateCueEvents())).then((()=>te.SUCCESS))}getCurrentBandwidth(){return this._getTrackPlayer().then((e=>e.getCurrentBandwidth()))}setSubtitleLanguage(e){return this._getTrackPlayer().then((t=>t.setSubtitleLanguage(e))).then((()=>te.SUCCESS))}setPlaybackSpeed(e){return this._getTrackPlayer().then((t=>t.setPlaybackSpeed(e))).then((e=>e?te.SUCCESS:te.FORBIDDEN))}setMuted(e){return this._getTrackPlayer().then((t=>(t.setMuted(e),te.SUCCESS)))}getStatistics(){return this._getTrackPlayer().then((e=>e.getStatistics()))}getAudioProcessor(){return this._getTrackPlayer().then((e=>e.getAudioProcessor()))}}const Nn=O.m.forTag("playback.init");function Pn(e){return new Promise(((t,n)=>{var i,o,r,a,s,c,l,u,d,p,h;if(!e.transport)return void n(new TypeError("Argument transport is required."));if("undefined"!=typeof window){("boolean"==typeof window.isSecureContext?window.isSecureContext:function(){if("undefined"==typeof window||!window.location)return!1;const e=window.location;if("https"===e.protocol||"file"===e.protocol)return!0;const t=e.hostname;return!!/^127(\.[0-255]){3}$|^locahost\.?$|\.localhost\.?$/.test(t)}())||null===(i=window.console)||void 0===i||i.warn("%cDRM might not be available from unsecure contexts","background: #222; color: #bada55; font-size: 40px")}if(e.playerContainerManager&&("function"!=typeof(null===(o=e.playerContainerManager)||void 0===o?void 0:o.eject)||"function"!=typeof(null===(r=e.playerContainerManager)||void 0===r?void 0:r.inject)))return void n(new TypeError("Both inject and eject PlayerContainerManager functions must be present."));const{transport:f}=e,[m="",_=""]=(e.sdkId||"").split(":"),g=new vn,E=Object.assign(Object.assign({},e),{abrManager:g,initialBandwidthSampler:bn(f,g),tracker:an.create(),audioResolver:new en(f),videoResolver:new sn(f),licenseURLResolver:new ln({transport:f,sdk:{name:m,version:_},securityLevel:e.securityLevel,useTestLicenseServer:e.useTestLicenseServer}),newBufferPerTrack:null===(a=e.newBufferPerTrack)||void 0===a||a,preinitMediaElement:null===(s=e.preinitMediaElement)||void 0===s||s,audioProcessorOptions:Object.assign(Object.assign({},e.audioProcessorOptions),{disable:null!==(l=null===(c=e.audioProcessorOptions)||void 0===c?void 0:c.disable)&&void 0!==l?l:!!e.createPlayer})});e.unauthenticatedLogs&&!(null===(u=e.loggerOptions)||void 0===u?void 0:u.endpoint)&&(e.loggerOptions=Object.assign(Object.assign({},e.loggerOptions),{endpoint:"https://spclient.wg.spotify.com/melody/unauth"})),(null===(d=null==e?void 0:e.loggerOptions)||void 0===d?void 0:d.deviceInfo)||Promise.all([null===(p=e.loggerOptions)||void 0===p?void 0:p.platform,null===(h=e.loggerOptions)||void 0===h?void 0:h.clientVersion]).then((([t,n])=>{e.loggerOptions=Object.assign(Object.assign({},e.loggerOptions),{deviceInfo:{platform:t,version:n}})})),zt.create(E).then((t=>{const n=Object.assign({disableMux:!0},e.loggerOptions),i=function(e){return new un(e)}(Object.assign(Object.assign({},n),{transport:f,sdkId:e.sdkId,platform:Promise.resolve(n.deviceInfo).then((e=>{var t;return null!==(t=null==e?void 0:e.platform)&&void 0!==t?t:""})),clientVersion:Promise.resolve(n.deviceInfo).then((e=>{var t;return null!==(t=null==e?void 0:e.version)&&void 0!==t?t:""}))})),o=$t.create({transport:f,player:t,logSender:i});return n.disableMux||gn.create({player:t,mux:X,envKey:null==n?void 0:n.muxEnvKey,sdk:m,sdkVersion:_,deviceInfo:n.deviceInfo,muxCustomDimensions:n.muxCustomDimensions}).ready().then((()=>Nn.info("MuxReporter ready")),(e=>Nn.error("Failed to instantiate MuxReporter",null==e?void 0:e.message))),{player:t,logger:o}})).then(t,n)}))}const Ln=O.m.forTag("media_session");function kn(e){return Math.round(1e3*e)}class wn{constructor(e){this._currentURI=null,this._streamer=e.streamer,this._handleAction=this._handleAction.bind(this),this._updateMediaSession=this._updateMediaSession.bind(this),this._updateMediaSessionMetadata=this._updateMediaSessionMetadata.bind(this),this._init()}static create(e){return"undefined"!=typeof window&&"undefined"!=typeof navigator&&"mediaSession"in navigator&&"MediaMetadata"in window?new wn(e):(Ln.warn("The MediaSession API is not supported."),null)}_init(){this._streamer.on("state_changed",this._updateMediaSession)}_handleAction(e){switch(e.action){case"play":this._streamer.resume();break;case"pause":this._streamer.pause();break;case"seekto":{const t=e.seekTime;null!=t&&this._streamer.seek(kn(t))}break;case"seekforward":{const t=e.seekOffset;this._streamer.getCurrentState().then((e=>{if(!e)return;const{position:n,duration:i}=e,o=Math.min(i,Math.max(0,t?n+kn(t):n+15e3));this._streamer.seek(o)}))}break;case"seekbackward":{const t=e.seekOffset;this._streamer.getCurrentState().then((e=>{if(!e)return;const{position:n}=e,i=Math.max(0,t?n-kn(t):n-15e3);this._streamer.seek(i)}))}break;case"nexttrack":this._streamer.nextTrack();break;case"previoustrack":this._smartPreviousTrack()}}_clearHandlers(){navigator.mediaSession.setActionHandler("play",null),navigator.mediaSession.setActionHandler("pause",null),navigator.mediaSession.setActionHandler("seekto",null),navigator.mediaSession.setActionHandler("nexttrack",null),navigator.mediaSession.setActionHandler("previoustrack",null),navigator.mediaSession.setActionHandler("seekforward",null),navigator.mediaSession.setActionHandler("seekbackward",null)}_smartPreviousTrack(){this._streamer.getCurrentState().then((e=>{if(!e)return Promise.reject(new g(o.HARMONY_NO_TRACKS_LOADED,"No current state."));const{disallows:t,position:n,track_window:i}=e;return t.seeking||n<3e3&&i.previous_tracks.length>0?this._streamer.previousTrack():this._streamer.seek(0)}))}_updateMediaSessionMetadata({name:e,artists:t,album:n}){var i;const o=null===(i=null==n?void 0:n.images)||void 0===i?void 0:i.map((({url:e,width:t,height:n})=>({src:e,sizes:`${t}x${n}`}))),r={title:e||"",artist:(null==t?void 0:t.map((e=>null==e?void 0:e.name)).join(", "))||"",album:(null==n?void 0:n.name)||"",artwork:o};navigator.mediaSession.metadata=new window.MediaMetadata(r)}_updateMediaSession({data:e}){var t;const n=e.state,i=null===(t=null==n?void 0:n.track_window)||void 0===t?void 0:t.current_track;if(!n||!i)return this._currentURI=null,navigator.mediaSession.metadata=null,navigator.mediaSession.playbackState="none",void this._clearHandlers();navigator.mediaSession.playbackState=n.paused?"paused":"playing",this._currentURI!==i.uri&&(this._currentURI=i.uri,this._updateMediaSessionMetadata(i));const{position:o,duration:r}=n,a=Math.min(Math.max(0,o),r);r&&navigator.mediaSession.setPositionState({position:a,duration:r}),navigator.mediaSession.setActionHandler("play",this._handleAction),navigator.mediaSession.setActionHandler("pause",this._handleAction);const s=n.disallows;navigator.mediaSession.setActionHandler("seekto",s.seeking?null:this._handleAction),navigator.mediaSession.setActionHandler("nexttrack",s.skipping_next?null:this._handleAction),navigator.mediaSession.setActionHandler("previoustrack",this._handleAction),"episode"===i.type?(navigator.mediaSession.setActionHandler("seekforward",this._handleAction),navigator.mediaSession.setActionHandler("seekbackward",this._handleAction)):(navigator.mediaSession.setActionHandler("seekforward",null),navigator.mediaSession.setActionHandler("seekbackward",null))}}class Dn extends c.bk{constructor(e){super(),this._client=e.client,this._initialVolume=e.initialVolume,this._listPlayer=e.listPlayer,this._playerPromise=e.playerPromise,this._playbackServiceClient=e.playbackServiceClient,this._playbackStateObserver=e.playbackStateObserver,this._stopOnBackground=e.stopOnBackground,this._enableMediaSession=e.enableMediaSession,this._init()}_init(){this._client.addListeners({before_disconnect:this._onClientBeforeDisconnect.bind(this),before_offline_disconnect:this._onClientBeforeOfflineDisconnect.bind(this)});const e=this._listPlayer;e.addListeners({[Q.LIST_PLAYER_CAPPED]:this._onCapped.bind(this),[Q.LIST_PLAYER_TRACK_ENDED]:this._onTrackEnded.bind(this),[Q.LIST_PLAYER_BEFORE_VOLUME_CHANGE]:this._onBeforeVolumeChange.bind(this),[Q.LIST_PLAYER_VOLUME_CHANGED]:this._onVolumeChanged.bind(this),[Q.LIST_PLAYER_ERROR]:e=>{this._onError(e,f.PLAYBACK)}}),this.proxyEmitAll(e,{[Q.LIST_PLAYER_AUTOPLAY_FAILED]:"autoplay_failed",[Q.LIST_PLAYER_TRACK_LOADED]:"track_loaded",[Q.LIST_PLAYER_DURATION_CHANGED]:"duration_changed",[Q.LIST_PLAYER_POSITION_CHANGED]:"position_changed",[Q.LIST_PLAYER_PROGRESS]:"progress",[Q.LIST_PLAYER_BUFFER_STALLED]:"stalled",[Q.LIST_PLAYER_BUFFERING_END]:"buffering_end",[Q.LIST_PLAYER_BUFFERING_START]:"buffering_start",[Q.LIST_PLAYER_REBUFFERING_END]:"rebuffering_end",[Q.LIST_PLAYER_REBUFFERING_START]:"rebuffering_start",[Q.LIST_PLAYER_MAX_LIST_ERRORS_REACHED]:"max_list_errors_reached",[Q.LIST_PLAYER_VIDEO_ELEMENT_APPENDED]:"video_element_appended",[Q.LIST_PLAYER_VIDEO_ELEMENT_REMOVED]:"video_element_removed",[Q.LIST_PLAYER_LIST_ENDED]:"context_ended",[Q.LIST_PLAYER_SEEK_HANDLED]:"streamer_seek_handled",[Q.LIST_PLAYER_DISPLAYED_CUES_CHANGED]:"displayed_cues_changed",[Q.LIST_PLAYER_SUBTITLE_LANGUAGES_LOADED]:"subtitle_languages_loaded",[Q.LIST_PLAYER_PLAYBACK_SPEED_CHANGED]:"speed_changed"}),this.proxyEmitAllSync(e,{[Q.REPORTING_START]:"reporting_start",[Q.REPORTING_FIRST_QUARTILE]:"reporting_first_quartile",[Q.REPORTING_MIDPOINT]:"reporting_midpoint",[Q.REPORTING_THIRD_QUARTILE]:"reporting_third_quartile",[Q.REPORTING_COMPLETE]:"reporting_complete",[Q.REPORTING_PAUSE]:"reporting_pause",[Q.REPORTING_RESUME]:"reporting_resume",[Q.REPORTING_CREATIVE_VIEW]:"reporting_creative_view",[Q.REPORTING_ERROR]:"reporting_error"});const t=this._playbackServiceClient;t.addListeners({logout:this._onPlaybackClientLogout.bind(this),error:e=>{this._onError(e,e.data.source)}}),this.proxyEmitAll(t,{max_subscriptions_reached:"max_subscriptions_reached",deregistered:"deregistered",registered:"registered",registration_aborted:"registration_aborted",internal_endcontent:"internal_endcontent"}),this.proxyEmit(this._playbackStateObserver,"state_changed","state_changed"),this._stopOnBackground&&document.addEventListener&&document.addEventListener("visibilitychange",(()=>{document.hidden&&this.stop()&&this.emitSync("stopped_on_background",null)})),this._enableMediaSession&&wn.create({streamer:this}),this._playerPromise.then((e=>{e.setVolume(this._initialVolume),this.emit("player_initialization_done",null)}),(e=>{this.emit("player_initialization_failed",{reason:e.message,error:e})}))}_assertOperationSuccess(e){return e===te.SUCCESS}_onTrackEnded(){this.emit("track_ended",null)}_onClientBeforeDisconnect(e){e.data.awaitPromise(this.deregister().catch((()=>{})))}_onClientBeforeOfflineDisconnect(e){e.data.awaitPromise(this.pause().catch((()=>{})))}_onBeforeVolumeChange(e){var t;this.emitSync("before_volume_change",{volume:e.data.volume,remote:!!(null===(t=e.data.options)||void 0===t?void 0:t.commandId)}).defaultPrevented&&e.preventDefault()}_onVolumeChanged(e){this.emit("volume_changed",{volume:e.data.volume,remote:!!e.data.commandId})}_onCapped(){this.emit("playback_capped",null)}_onError(e,t){const{error:n}=e.data;n&&(n.registration&&this.emit("registration_error",{error:n}),this.emit("error",{source:t,error:n}),this._client.notifyError(t,n))}_onPlaybackClientLogout(){this.emit("logged_out",null)}stop(){return this._playbackServiceClient.stop()}register(){return this._playbackServiceClient.register()}deregister(){return this._playbackServiceClient.deregister()}resume(){return this._listPlayer.resume().then(this._assertOperationSuccess)}pause(){return this._listPlayer.pause().then(this._assertOperationSuccess)}nextTrack(e=s.FORWARD_BUTTON){return this._listPlayer.next(e).then(this._assertOperationSuccess)}canChangeTrack(){return this._listPlayer.canChangeTrack()}previousTrack(e=s.BACK_BUTTON){return this._listPlayer.previous(e).then(this._assertOperationSuccess)}togglePlay(){return this._listPlayer.togglePlay().then(this._assertOperationSuccess)}setVolume(e){return this._listPlayer.setVolume(e).then(this._assertOperationSuccess)}getVolume(){return this._listPlayer.getVolume()}seek(e){return this._listPlayer.seek(e).then(this._assertOperationSuccess)}getCurrentState(){return this._playbackStateObserver.getCurrentState()}getVideoVariants(){return this._playerPromise.then((e=>e.getVideoVariants()))}setPreferredBitrate(e){return this._playerPromise.then((t=>t.setPreferredBitrate(e).then(this._assertOperationSuccess)))}setVideoResolution(e){return this._playerPromise.then((t=>t.setVideoResolution(e)))}setBackgrounded(e){return this._playerPromise.then((t=>t.setBackgrounded(e)))}activateElement(){return this._playerPromise.then((e=>e.activateElement()))}hideSubtitles(){return this._listPlayer.hideSubtitles().then(this._assertOperationSuccess)}showSubtitles(){return this._listPlayer.showSubtitles().then(this._assertOperationSuccess)}areSubtitlesShown(){return this._listPlayer.areSubtitlesShown()}getSubtitleLanguages(){return this._listPlayer.getSubtitleLanguages()}getActiveSubtitleLanguage(){return this._listPlayer.getActiveSubtitleLanguage()}setSubtitleLanguage(e){return this._listPlayer.setSubtitleLanguage(e).then(this._assertOperationSuccess)}getMediaConfig(){return this._listPlayer.getMediaConfig()}setPlaybackSpeed(e){return this._listPlayer.setPlaybackSpeed(e).then(this._assertOperationSuccess)}deactivateSubtitleEvents(){return this._listPlayer.deactivateCueEvents().then(this._assertOperationSuccess)}activateSubtitleEvents(){return this._listPlayer.activateCueEvents().then(this._assertOperationSuccess)}hasOptimisticUpdates(){return this._playbackServiceClient.hasOptimisticUpdates()}}var Mn,xn,Un=n(61544);class Vn extends Error{constructor(e,t){super(t),this.status=-1,this.maxedSubscriptions=!1,this.unrecoverable=!1,this.debug={},this.registration=!1,this.code=e,this.name="TrackPlayerAPIClientError"}static fatal(e,t){const n=new Vn(e,t);return n.unrecoverable=!0,n}}class Fn{constructor(e,t){this._stateMachine=null,this._currentState=null,this._currentStateIndex=null,this._pausedState=!1,this._initialPlaybackPosition=null,this._contextMetadata=null,this._uri=e,this._manifestTrackResolver=t}static create(e,t){return new Fn(e,t)}setPaused(e){this._pausedState=e}isPaused(){return this._currentStateIndex&&this._currentStateIndex<0&&this._currentState&&this._currentState.transitions.advance?!!this._currentState.transitions.advance.paused:this._pausedState}setInitialPosition(e){this._initialPlaybackPosition=e}setStateMachine(e){this._stateMachine=e}setDeviceId(e){this._deviceId=e}setContextMetadata(e){this._contextMetadata=e}getContextMetadata(){return this._contextMetadata||{}}startAtState(e){const t=this._stateMachine&&this._stateMachine.states[e.state_index];if(!t)throw new Vn(o.TP_MISSING_INITIAL_STATE,"Invalid state reference.");const n=t.transitions;this._currentStateIndex=-1,this._currentState={decoy:!0,paused:!!e.paused,track:-1,state_id:null,transitions:{advance:e,show_next:n.show_next,show_prev:n.show_prev,skip_next:e,skip_prev:n.skip_prev},options:t.options,duration_override:t.duration_override,position_offset:t.position_offset}}setCurrentState(e){const t=e.state_index;this._currentStateIndex=t,this._currentState=this._stateMachine&&this._stateMachine.states[t]}getStateMachine(){return this._stateMachine}getInternalStateRef(){let e=this._pausedState,t=this._currentStateIndex;if(!t)return null;if(t&&t<0){const n=this._currentState&&this._currentState.transitions.advance;n&&(t=n.state_index,e=!!n.paused)}return{paused:e,state_index:t}}getStateRef(){const e=this._stateMachine;if(!e||null===this._currentStateIndex)return null;let t,n;if(this._currentStateIndex<0){const i=this._currentState&&this._currentState.transitions.advance;i&&(t=e.states[i.state_index],n=i.paused)}else t=e.states[this._currentStateIndex],n=this._pausedState;return t?{state_machine_id:e.state_machine_id,state_id:t.state_id,paused:!!n}:null}getCurrentTrack(){const e=this._stateMachine;if(!e||null===this._currentStateIndex)return null;let t;if(this._currentStateIndex<0){const n=this._currentState&&this._currentState.transitions.advance;n&&(t=e.states[n.state_index])}else t=e.states[this._currentStateIndex];return t?e.tracks[t.track]:null}startAt(){return Promise.resolve(te.SUCCESS)}setShuffle(){return Promise.resolve(te.SUCCESS)}setRepeatMode(){return Promise.resolve(te.SUCCESS)}next(e){const t=this._currentState;let n=null;if(t){const i=t.transitions;if(e.reason===s.FORWARD_BUTTON)"skip_next"in i&&(n=i.skip_next);else"advance"in i&&(n=i.advance)}return this._transitionTo(e,n,!1)}peekNext(e){const t=this._currentState;let n=null;if(t){const i=t.transitions;if(e.reason===s.FORWARD_BUTTON)"skip_next"in i&&(n=i.skip_next);else"advance"in i&&(n=i.advance)}return this._transitionTo(e,n,!0)}previous(e){const t=this._currentState;let n=null;if(t){n=t.transitions.skip_prev}return this._transitionTo(e,n,!1)}translatePosition(e){var t,n;return(null!==(n=null===(t=this._currentState)||void 0===t?void 0:t.position_offset)&&void 0!==n?n:0)+e}translateDuration(e){var t,n;return null!==(n=null===(t=this._currentState)||void 0===t?void 0:t.duration_override)&&void 0!==n?n:e}handleSeek(e,t){var n;return(null===(n=this._currentState)||void 0===n?void 0:n.duration_override)&&t.reason!==s.REMOTE?t.listConstants.IGNORE:e}allowSeeking(){return!!this._currentState&&!this._currentState.disallow_seeking}_transitionTo(e,t,n=!1){return new Promise((i=>{var o;const r=e.reason,a=e.listConstants;if(!t)return i(a.FORBIDDEN);const s=this._stateMachine;if(!s)return i(a.NULL_VALUE);const c=s.states[t.state_index];if(!c)return i(a.NULL_VALUE);const l=s.tracks[c.track];if(!(null===(o=null==l?void 0:l.metadata)||void 0===o?void 0:o.uri))return i(a.NULL_VALUE);if(!this._currentState)return i(a.NULL_VALUE);const u=this._currentState,d=u.decoy?!!u.paused:t.paused;n||(this._currentState=c,this._currentStateIndex=t.state_index,this._pausedState=!!d);let p=0;return n||null===this._initialPlaybackPosition?"initial_playback_position"in c&&(p=c.initial_playback_position||0):(p=this._initialPlaybackPosition,this._initialPlaybackPosition=null),this._manifestTrackResolver.resolveFromStateTrack(l).then((e=>{var t,n;if(!e)return i(a.NULL_VALUE);let o=this._uri;l.metadata&&l.metadata.context_uri&&(o=l.metadata.context_uri);const s=r,u=l.ms_played_until_update,h={playbackQuality:e.playbackQuality,hifiStatus:e.hifi_status},f={uri:e.uri,playableURI:e.uri,fileId:e.fileId,resolvedURL:e.resolvedURL,playable:e.playable,isAd:e.isAd,format:e.format,fileFormat:e.fileFormat,mediaType:e.mediaType,noManifest:e.noManifest,metadata:h,options:{position:p,paused:d,playedThreshold:u,useDefaultPlaybackSpeed:!(0,Un.gH)(e.uri),playbackSpeed:null===(n=null===(t=this._currentState)||void 0===t?void 0:t.options)||void 0===n?void 0:n.playback_speed},logData:{noLog:!!e.noLog,noTSV:!!e.noTSV,deviceId:this._deviceId,playbackId:c.state_id?c.state_id:void 0,reason:s,displayTrack:e.uri,playContext:o,impressionURL:e.impressionURL,impressionURLs:e.impressionURLs,format:{codec:e.format,bitrate:e.bitrate},uriType:e.uriType,displayTitle:l.metadata.name,displayGroup:l.metadata.group_name,displayDuration:l.metadata.duration,playbackService:"track-playback"},stateId:c.state_id?c.state_id:void 0,audioGain:e.gainDb};return i(f)}))}))}getCurrentState(){return this._currentState}}function Bn(e,t){return e&&"RECOMMENDATION"===(null==t?void 0:t.context_enhancement)?xn.SMART:xn[e?"ON":"OFF"]}!function(e){e.ON="ON",e.OFF="OFF",e.NONE="NONE"}(Mn||(Mn={})),function(e){e[e.OFF=0]="OFF",e[e.ON=1]="ON",e[e.SMART=2]="SMART"}(xn||(xn={}));const Hn=/^disallow_([^]+)_reasons$/;function Gn(e){var t,n;const i={};for(const o in e)e.hasOwnProperty(o)&&(i[o]=!!(null===(n=null===(t=null==e?void 0:e[o])||void 0===t?void 0:t.reasons)||void 0===n?void 0:n.length));return i}function Wn(e){var t,n,i,o,r,a,s,c;const l={};for(const u in e)if(e.hasOwnProperty(u)){l[u]={};for(const d in null===(t=e[u])||void 0===t?void 0:t.values)if(null===(n=e[u])||void 0===n?void 0:n.values.hasOwnProperty(d)){(l[u]||{})[d]=!(!(null===(r=null===(o=null===(i=e[u])||void 0===i?void 0:i.values)||void 0===o?void 0:o[d])||void 0===r?void 0:r.reasons)||!(null===(c=null===(s=null===(a=e[u])||void 0===a?void 0:a.values)||void 0===s?void 0:s[d])||void 0===c?void 0:c.reasons.length))}}return l}function jn(e){const t={};for(const n in e)if(e.hasOwnProperty(n))if("disallow_setting_modes"===n)t.setting_modes=Wn(e[n]);else if("disallow_signals"===n)t.signals=Gn(e[n]);else{const i=e[n];if(Array.isArray(i)){const e=!(!i||!i.length);t[n.replace(Hn,"$1")]=e}}return t}const Yn=O.m.forTag("tp.stream.PlaybackStateObserver");class zn extends c.bk{constructor(e,t={}){super(),this._tpApiClient=e,this._numPreviousTracks=t.numPrevious||2,this._numNextTracks=t.numNextTracks||2,this._currentState=null,this._init()}static create(e,t){return new zn(e,t)}_init(){this._tpApiClient.on("state_changed",this._onStateChanged.bind(this)),this._tpApiClient.on("state_cleared",this._onStateCleared.bind(this))}_onStateChanged(e){var t,n,i,o,r,a,s,c,l,u;const{stateMachine:d,stateRef:p,position:h,paused:f,loading:m,currentTrackInfo:_,contextMetadata:g}=e.data,E=null==d?void 0:d.states;if(!d||!(null==E?void 0:E.length)||!p)return void Yn.warn("_onStateChanged called with no current state",e);const v=E[p.state_index],y=d.tracks[null==v?void 0:v.track];if(!v||!y)return void Yn.warn("_onStateChanged called with no current state or track",e);const{options:b}=v;let S=null!==(t=_.duration)&&void 0!==t?t:0;const T=this._createTrackWindow(d,v,S);S||(S=null!==(i=null===(n=T.current_track)||void 0===n?void 0:n.duration_ms)&&void 0!==i?i:0);!(null!==(o=!!(null==b?void 0:b.playback_speed))&&void 0!==o&&o)&&_.isPlaybackSpeedRestricted&&(v.restrictions=Object.assign({disallow_setting_playback_speed_reasons:["not_supported_by_content_type"]},v.restrictions));const A=function(e,t){const n=Object.assign({},e);return delete n.disallow_pausing_reasons,delete n.disallow_resuming_reasons,t?n.disallow_pausing_reasons=["already_paused"]:n.disallow_resuming_reasons=["not_paused"],n}(v.restrictions||{},f),I=jn(A),O={current:f?0:null!==(r=_.currentPlaybackSpeed)&&void 0!==r?r:1,selected:I.setting_playback_speed?1:null!==(a=_.selectedPlaybackSpeed)&&void 0!==a?a:1,restricted:!!I.setting_playback_speed},C={timestamp:Date.now(),context:{uri:null!==(c=null===(s=y.metadata)||void 0===s?void 0:s.context_uri)&&void 0!==c?c:null,metadata:g},position:h,duration:S,paused:f,playback_quality:null!==(l=_.playbackQuality)&&void 0!==l?l:An.UNKNOWN,playback_features:{hifi_status:null!==(u=_.hifiStatus)&&void 0!==u?u:Mn.NONE,playback_speed:O,signal_ids:v.signals||[],modes:(null==b?void 0:b.modes)||{}},shuffle:this._getShuffleSetting(d),shuffle_mode:Bn(null==b?void 0:b.shuffling_context,null==b?void 0:b.modes),repeat_mode:this._getRepeatSetting(d),track_window:T,restrictions:A,disallows:I,loading:m,playback_speed:O.current,playback_id:v.state_id};this._currentState=C,this.emit("state_changed",{state:C?Object.assign({},C):null})}_createTrackWindow(e,t,n){const i=e.states;return{current_track:this._getTrackMetadata(e,t,n),next_tracks:this._getNextStates(t,i).map((t=>this._getTrackMetadata(e,t,null))).filter((e=>!!e)),previous_tracks:this._getPreviousStates(t,i).map((t=>this._getTrackMetadata(e,t,null))).filter((e=>!!e))}}_onStateCleared(){this._currentState=null,this.emit("state_changed",{state:null})}_getRepeatSetting(e){const t=e.attributes.options;return t.repeating_track?m.TRACK:t.repeating_context?m.CONTEXT:m.OFF}_getShuffleSetting(e){return e.attributes.options.shuffling_context}_getNextStates(e,t){const n=this._numNextTracks,i=[];let o=e;for(;o&&"show_next"in o.transitions&&o.transitions.show_next;){const e=t[o.transitions.show_next.state_index];if(e&&i.push(e),o=e,i.length>=n)break}return i}_getPreviousStates(e,t){const n=this._numPreviousTracks,i=[];let o=e;for(;o&&"show_prev"in o.transitions&&o.transitions.show_prev;){const e=t[o.transitions.show_prev.state_index];if(e&&i.unshift(e),o=e,i.length>=n)break}return i}_getTrackMetadata(e,t,n){var i,o;const r=null==e?void 0:e.tracks[t.track];if(!(null==r?void 0:r.metadata))return null;const a=r.metadata,s=r.manifest&&"manifest_ids_video"in r.manifest,c=r.track_type.toLowerCase(),l=(0,Un.o_)(a.uri),u=a.linked_from_uri?(0,Un.o_)(a.linked_from_uri):null,d=null===(i=a.episode_content_type)||void 0===i?void 0:i.toLowerCase(),p={episode:d||"unknown",track:"music",ad:"ad",interruption:"ad",media:"narration"};let h="unknown";(null==l?void 0:l.type)&&l.type in p&&(h=p[l.type]);const f=null===(o=a.images)||void 0===o?void 0:o.map((e=>{if(0===e.url.indexOf("spotify:image:")){const t=e.url.split(":").slice(-1)[0];return Object.assign(Object.assign({},e),{url:`https://i.scdn.co/image/${t}`})}return e}));return{id:l?l.id:null,uri:a.uri,type:(null==l?void 0:l.type)||"unknown",uid:t.track_uid,linked_from:{uri:a.linked_from_uri||null,id:u?u.id:null},media_type:s?"video":"audio",track_type:c,content_type:h,name:a.name,duration_ms:n||a.duration,artists:a.authors,album:{uri:a.group_uri,name:a.group_name,images:f},is_playable:!0,metadata:t.track_metadata||{}}}getCurrentState(){const e=this._currentState;if(e&&!e.paused){const t=Date.now(),n=e.position+(t-e.timestamp);e.position=n,e.timestamp=t}return Promise.resolve(this._currentState?Object.assign({},this._currentState):null)}}const Kn=/^https:\/\//,Jn={[M.FILE_URLS_MP3]:ne.MP3,[M.FILE_URLS_EXTERNAL]:ne.MP3,[M.FILE_IDS_MP3]:ne.MP3,[M.FILE_IDS_MP4]:ne.MP4,[M.FILE_IDS_MP4_DUAL]:ne.MP4,[M.FILE_IDS_CBCS]:ne.MP4_CBCS,[M.FILE_IDS_MP4FLAC]:ne.MP4_FLAC,[M.MANIFEST_IDS_VIDEO]:ne.MANIFEST_ID,[M.MANIFEST_URLS_VIDEO_AD]:ne.AD_MANIFEST,[M.MANIFEST_URLS_AUDIO_AD]:ne.AD_MANIFEST};class qn{constructor(e){this._descriptor=e.descriptor,this._listPlayer=e.listPlayer}static create(e){return new qn(e)}_resolveFromStateTrack(e,t,n){var i,o,r,a;const s=e.manifest,c=e.metadata.uri,l=(0,Un.o_)(c);let u=null;for(const e of n){const n=s[e];if(n)for(const s of n){if(!s.file_id&&!Kn.test(null!==(i=s.file_url)&&void 0!==i?i:""))continue;const n=!(!l||l.type!==Un.NQ.AD&&l.type!==Un.NQ.INTERRUPTION);if(e===M.FILE_IDS_MP3&&!n)continue;let d,p;if(d=s.track_type?s.track_type.toLowerCase():e===M.MANIFEST_IDS_VIDEO?"video":"audio",s.format){const e=parseInt(s.format,10);gt[e]&&(p=e)}const h=null!==(o=s.bitrate)&&void 0!==o?o:e===M.FILE_IDS_MP4FLAC?1411200:128e3,f=null!==(r=s.bitrate)&&void 0!==r?r:e===M.FILE_IDS_MP4FLAC?7e5:128e3,m=Jn[e];if(u={uri:c,uriType:l&&l.type?l.type:void 0,fileId:null!==(a=s.file_id)&&void 0!==a?a:"",resolvedURL:s.file_url,mediaType:d,format:m,bitrate:f,fileFormat:null!=p?p:void 0,playbackQuality:s.audio_quality,hifi_status:s.hifi_status,impressionURL:s.impression_url,impressionURLs:s.impression_urls,gainDb:s.gain_db,isAd:n,noLog:!1,noTSV:n,noManifest:m===ne.MP3,playable:!0},e===M.MANIFEST_IDS_VIDEO||h<=t)return u}}return u}resolveFromStateTrack(e){return Promise.all([Promise.resolve(this._descriptor),this._listPlayer.getCurrentBandwidth()]).then((([t,n])=>this._resolveFromStateTrack(e,n,t.getManifestFormats())))}}const Xn=1e3,$n=0,Zn=!1;class Qn{constructor(e,t={}){this._cancelFn=null,this._deferredTimer=0,this._fn=e,this._cancelFn=t.cancel||null,this._threshold=t.threshold||Xn,this._ts=t.initialTimetamp||$n,this._blockInital=t.blockInitial||Zn}_deferFn(e){this._fn.apply(this._fn,e)}_deferPromise(e,t){this._fn.apply(this._fn,e).then((e=>{t.resolve(e)}))}sync(...e){const t=Date.now()-this._ts;if(this._ts=Date.now(),t<this._threshold)return this._cancelFn&&this._deferredTimer&&this._cancelFn(),clearTimeout(this._deferredTimer),void(this._deferredTimer=setTimeout(this._deferFn.bind(this,e),this._threshold));!0!==this._blockInital?this._fn.apply(this._fn,e):this.sync.apply(this,e)}async(...e){const t=Date.now()-this._ts;if(this._ts=Date.now(),t<this._threshold){this._cancelFn&&this._deferredTimer&&this._cancelFn(),clearTimeout(this._deferredTimer);const t=(0,l.u)();return this._deferredTimer=setTimeout(this._deferPromise.bind(this,e,t),this._threshold),t.promise}return!0===this._blockInital?this.async.apply(this,e):this._fn.apply(this._fn,e)}setCancel(e){this._cancelFn=e}}var ei;!function(e){e.TRACK_DATA_FINALIZED="track_data_finalized",e.DEREGISTER="deregister",e.REGISTER="register",e.BEFORE_TRACK_LOAD="before_track_load",e.CAPPED="capped",e.ERROR="error",e.PAUSE="pause",e.RESUME="resume",e.PLAYED_THRESHOLD_REACHED="played_threshold_reached",e.POSITION_CHANGED="position_changed",e.SPEED_CHANGED="speed_changed",e.STARTED_PLAYING="started_playing",e.PROGRESS="progress",e.PING="ping",e.MODIFY_CURRENT_STATE="modify_current_state",e.STATE_CLEAR="state_clear"}(ei||(ei={}));const ti=O.m.forTag("tpapiclient"),ni=O.m.forTag("tpapiclient.endsong"),ii=O.m.forTag("tpapiclient.endsongs"),oi=/^hm:\/\/track-playback\/v1/,ri=/^hm:\/\/play-token\/lost/,ai=function(e,t){const n=e.getStatusFamily();return n===t.SERVER_ERROR||n===t.CONNECTION_ERROR},si={condition:ai,maxRetries:8},ci={condition:ai,maxRetries:2};class li extends c.bk{constructor(e){super(),this._deviceId=null,this._sequenceNumber=0,this._currentContext=null,this._loading=!1,this._lastSentStateUpdatePayload=null,this._isSendingConflict=!1,this._queuedRejectedStates=[],this._isSendingUpdate=!1,this._queueSendUpdate=[],this._currentTrackInfo={},this._registered=!1,this._isDeregistering=!1,this._waitingForTrackingData=(0,l.u)(),this._lastProcessedStateId=null,this._limitStateUpdates=!1,this._lastUpdateStateMonotonicTime=(0,u.X)(),this._initialUpdateSent=!1,this._startedPlayingUpdateSent=!1,this._nextFinalizedDataPayload=null,this._switchingContext=!1,this._connectionId=null,this._transport=e.transport,this._logger=e.logger,this._endpoint=e.endpoint||"http://@webgate/track-playback",this._listPlayer=e.listPlayer,this._ListClass=e.ListClass,this._currentGaiaVolume=e.initialVolume*p,this._clientVersion=e.clientVersion,this._manifestTrackResolver=e.manifestTrackResolver,this._descriptorPromise=Promise.resolve(e.descriptor),this._init(),this._performCommand=this._performCommand.bind(this),this._handleRegisterResponse=this._handleRegisterResponse.bind(this),this._handleStateConflictResponse=this._handleStateConflictResponse.bind(this),this.register=this.register.bind(this),this._parseDescriptor=this._parseDescriptor.bind(this),this._volumeDebouncer=new Qn(this._sendVolume.bind(this),{blockInitial:!0})}static create(e){return new li(e)}_init(){this._waitingForTrackingData=(0,l.u)(),this._waitingForTrackingData.resolve(!0),this._transport.on(this._transport.EVENT_CONNECTION_ID,this._onConnectionId.bind(this)),this._transport.matchMessages(ri,this._onPlayTokenLost.bind(this)),this._transport.matchMessages(oi,this._onTrackPlaybackMessage.bind(this)),this._listPlayer.addListeners({[Q.LIST_PLAYER_CAPPED]:this._onCapped.bind(this),[Q.LIST_PLAYER_ERROR_SYNC]:this._onError.bind(this),[Q.LIST_PLAYER_BEFORE_NEXT]:this._onBeforeTrackChange.bind(this),[Q.LIST_PLAYER_BEFORE_PREVIOUS]:this._onBeforeTrackChange.bind(this),[Q.LIST_PLAYER_BEFORE_PLAYER_LOAD]:this._onBeforePlayerLoad.bind(this),[Q.LIST_PLAYER_PLAYER_LOAD]:this._onListPlayerLoad.bind(this),[Q.LIST_PLAYER_BEFORE_TRACK_LOAD]:this._onBeforeTrackLoad.bind(this),[Q.LIST_PLAYER_POSITION_CHANGED]:this._onPositionChanged.bind(this),[Q.LIST_PLAYER_DURATION_CHANGED]:this._onDurationChanged.bind(this),[Q.LIST_PLAYER_VOLUME_CHANGED]:this._onVolumeChanged.bind(this),[Q.LIST_PLAYER_PLAYBACK_SPEED_CHANGED]:this._onSpeedChanged.bind(this),[Q.LIST_PLAYER_PAUSED]:this._onPlayPause.bind(this,!0),[Q.LIST_PLAYER_PLAYING]:this._onPlayPause.bind(this,!1),[Q.LIST_PLAYER_PLAYED_THRESHOLD_REACHED]:this._onPlayThresholdReached.bind(this),[Q.LIST_PLAYER_PROGRESS]:this._onProgress.bind(this),[Q.LIST_PLAYER_TRACKING_DATA_CREATED]:this._onTrackDataCreatedEvent.bind(this),[Q.LIST_PLAYER_TRACKING_DATA_FINALIZED]:this._onTrackDataFinalizedEvent.bind(this)}),this._descriptorPromise.then((e=>{e.on("descriptor_changed",(()=>{this._parseDescriptor(e),this._updateDeviceInfo()}))}))}_onBeforeTrackChange(){var e,t;if(this._nextFinalizedDataPayload||this._switchingContext)return;const n=null!==(t=null===(e=this._currentContext)||void 0===e?void 0:e.getStateRef())&&void 0!==t?t:null,i=this._generateStatePayload(n,ei.TRACK_DATA_FINALIZED);this._setSequenceNumber(i),this._nextFinalizedDataPayload=i}_onBeforeTrackLoad(e){var t;this._loading=!0,this._switchingContext=!1,this._currentTrackInfo.duration=void 0,this._stateEventPositionOverride=null===(t=e.data.newTrack.options)||void 0===t?void 0:t.position}_onBeforePlayerLoad(e){var t,n,i,o,r,a,s,c,l;const u=this._currentContext;if(!u)return;const d=u.getCurrentTrack(),p=u.getCurrentState(),h=null!==(n=null!==(t=null==p?void 0:p.duration_override)&&void 0!==t?t:null==d?void 0:d.metadata.duration)&&void 0!==n?n:0,{data:f}=e,m=f.track.metadata||{},_=null===(i=null==p?void 0:p.options)||void 0===i?void 0:i.playback_speed,g=null!==(o=!!_)&&void 0!==o&&o;this._currentTrackInfo={duration:h,mediaType:f.track.mediaType.toUpperCase(),fileFormat:f.track.fileFormat,bitrate:null===(a=null===(r=f.logData)||void 0===r?void 0:r.format)||void 0===a?void 0:a.bitrate,playbackQuality:m.playbackQuality,hifiStatus:m.hifiStatus,isPlaybackSpeedRestricted:g?!!(null===(c=null===(s=null==p?void 0:p.restrictions)||void 0===s?void 0:s.disallow_setting_playback_speed_reasons)||void 0===c?void 0:c.length):!!(null===(l=f.track.options)||void 0===l?void 0:l.useDefaultPlaybackSpeed),currentPlaybackSpeed:null!=_?_:this._currentTrackInfo.selectedPlaybackSpeed,selectedPlaybackSpeed:null!=_?_:this._currentTrackInfo.selectedPlaybackSpeed};const E=f.options;u.setPaused(!E.autoplay),this._setCurrentTrackPosition(E&&E.position||0),this._updateState(ei.BEFORE_TRACK_LOAD),this._startedPlayingUpdateSent=!1,this._initialUpdateSent=!1}_onCapped(){this._listPlayer.clear(s.CAPPED),this._currentContext=null,this._updateState(ei.CAPPED),this._setCurrentTrackPosition(void 0),this._lastProcessedStateId=null,this.emit("state_cleared",null)}_onConnectionId(e){this._connectionId=e.data.id,this._isDeregistering||(this._registered=!1,Promise.all([this._listPlayer.getVolume(),this._descriptorPromise.then(this._parseDescriptor)]).then(this.register,(e=>{ti.info("Skipping registration due to error",e),this.emit("registration_aborted",{reason_error:e,source:f.TRACK_PLAYBACK})})).catch((()=>{})))}_onDurationChanged(e){var t;const n=null===(t=this._currentContext)||void 0===t?void 0:t.getCurrentTrack();(null==n?void 0:n.metadata.uri)===e.data.track.uri&&this._currentTrackInfo.duration!==e.data.duration&&(this._currentTrackInfo.duration=e.data.duration,this._emitStateChanged())}_onError(e){"position"in e.data&&(this._setCurrentTrackPosition(e.data.position),this._updateState(ei.ERROR))}_onSpeedChanged(e){this._currentTrackInfo.currentPlaybackSpeed=e.data.playback_speed,this._currentTrackInfo.selectedPlaybackSpeed=e.data.playback_speed_selected,this._updateState(ei.SPEED_CHANGED)}_onPlayPause(e,t){const n=this._currentContext;n&&(n.setPaused(e),"position"in t.data&&this._setAllTrackPositions(t.data.position),t.data.track.stateId&&this._shouldSendUpdateForEvent(t.data.track.stateId)?this._updateState(e?ei.PAUSE:ei.RESUME):(this._lastProcessedStateId=null,this._emitStateChanged()))}_onPlayThresholdReached(e){this._initialUpdateSent=!0,this._setAllTrackPositions(e.data.position),this._updateState(ei.PLAYED_THRESHOLD_REACHED)}_onPlayTokenLost(){this._listPlayer.pause().catch((function(){}))}_onPositionChanged(e){this._loading||(this._setCurrentTrackPosition(e.data.position),this._logger.logClientEvent({source:"harmony:track_playback:client",source_version:A.tagged,source_vendor:"spotify",event:e.type,event_version:"1.0.0",json_data:{track:e.data.track,event_position:e.data.position,prev_position:this._previousTrackPosition,curr_position:this._currentTrackPosition}},"object"),e.data.position===this._previousTrackPosition&&this._logger.logClientEvent({source:"harmony:track_playback:client",source_version:A.tagged,source_vendor:"spotify",event:`${e.type} - same position as previous event`,event_version:"1.0.0",json_data:{track:e.data.track,event_position:e.data.position,prev_position:this._previousTrackPosition,curr_position:this._currentTrackPosition}},"object"),e.data.track&&this._shouldSendUpdateForEvent(e.data.track.stateId)?this._updateState(ei.POSITION_CHANGED):(this._lastProcessedStateId=null,this._emitStateChanged()))}_onProgress(e){if(this._loading||!this._currentContext)return;this._setAllTrackPositions(e.data.position),!this._startedPlayingUpdateSent&&e.data.played>1e3&&(this._startedPlayingUpdateSent=!0,this._updateState(ei.STARTED_PLAYING));if(!e.data.logData)return;const t=this._currentContext.getCurrentTrack(),n=t&&"number"==typeof t.ms_playing_update_interval?t.ms_playing_update_interval:null;this._initialUpdateSent&&null!==n&&n>0&&(0,u.X)()-this._lastUpdateStateMonotonicTime>n&&this._updateState(ei.PROGRESS)}_onTrackDataCreatedEvent(){this._waitingForTrackingData=(0,l.u)()}_onTrackDataFinalizedEvent(e){const t=this._nextFinalizedDataPayload;t&&(t.playback_stats=e.data.playbackStats,this._updateState(ei.TRACK_DATA_FINALIZED,t)),this._nextFinalizedDataPayload=null,this._waitingForTrackingData&&this._waitingForTrackingData.resolve(!0)}_onListPlayerLoad(e){this._loading=!1;const t=this._currentContext;t&&(t.setPaused(!e.data.autoplay),this._setCurrentTrackPosition(e.data.position||0))}_onTrackPlaybackMessage(e){const t=e.payloads;Array.isArray(t)&&t.length&&this._performCommand(t[0])}_onVolumeChanged(e){var t;if(this._currentGaiaVolume=e.data.volume*p,!this._registered)return;const n=null!==(t=e.data.commandId)&&void 0!==t?t:"",i={seq_num:void 0,volume:this._currentGaiaVolume,command_id:n};this._volumeDebouncer.async(i)}_clearSessionData(){this._connectionId=null,this._sequenceNumber=0,this._currentContext=null,this._lastSentStateUpdatePayload=null,this._isSendingConflict=!1,this._isSendingUpdate=!1,this._queueSendUpdate=[],this._previousTrackPosition=void 0,this._currentTrackPosition=void 0,this._currentTrackInfo={},this._lastProcessedStateId=null,this.emit("state_cleared",null)}_createStateRef(e,t){if(!t)return null;const n=e.states[t.state_index];if(!n)throw new Vn(o.TP_CANNOT_CREATE_STATE_REF,"Invalid state reference.");return{state_machine_id:e.state_machine_id,state_id:n.state_id,paused:t.paused}}_deregisterFromService(e){let t=null;const n=this._currentContext;n&&(e&&(n.setPaused(!e.playing),this._setAllTrackPositions(e.position)),t=n.getStateRef());const i=this._generateStatePayload(t,ei.DEREGISTER);this._setSequenceNumber(i);const o=`${this._endpoint}/v1/devices/${this._deviceId}`;return this._transport.request(o,{authorize:!0,method:"DELETE",payload:JSON.stringify(i),responseType:"json",retry:ci}).then((e=>{if(200!==e.status&&204!==e.status)return this._registered=!0,!1;const{body:t}=e;return t&&(t.endsong&&ni.log(t.endsong),t.endsongs&&(ii.log(t.endsongs),this.emit("internal_endcontent",{endcontents:t.endsongs}))),this._clearSessionData(),this.emit("deregistered",null),!0}))}_emitError(e,t={}){this.emit("error",{error:e,source:f.TRACK_PLAYBACK}),e.registration||this._logger.logJSSDKError({source:"tpapi-client",source_version:A.tagged,type:e.code,message:e&&e.message,stack:e&&e.stack,json_data:t,json_data_version:"1.0.0"},"object").catch((function(e){ti.error("Track-Playback Logging Error",e)}))}_emitStateChanged(){const e=this._currentContext;if(!e)return;let t=this._currentTrackPosition||0;void 0!==this._stateEventPositionOverride&&(t=this._stateEventPositionOverride,this._stateEventPositionOverride=void 0),this.emit("state_changed",{position:t,currentTrackInfo:this._currentTrackInfo,stateMachine:e.getStateMachine(),stateRef:e.getInternalStateRef(),paused:e.isPaused(),contextMetadata:e.getContextMetadata(),loading:this._loading})}_generateStatePayload(e,t){var n;const i=this._currentTrackInfo;return{seq_num:void 0,seq_nums:void 0,state_ref:e,sub_state:{playback_speed:(null==e?void 0:e.paused)?0:null!==(n=this._currentTrackInfo.currentPlaybackSpeed)&&void 0!==n?n:1,position:this._currentTrackPosition,duration:i.duration||void 0,media_type:i.mediaType,bitrate:i.bitrate,audio_quality:i.playbackQuality,format:i.fileFormat},previous_position:this._previousTrackPosition,playback_stats:void 0,rejected_state_refs:void 0,debug_source:t}}_handleRegisterResponse(e){let t;if(429===e.status)return t=Vn.fatal(o.TP_MAX_SUBSCRIPTIONS_REACHED,"Max connections reached"),t.maxedSubscriptions=!0,t.status=e.status,this.emit("max_subscriptions_reached",{error:t}),Promise.reject(t);if(403===e.status&&e.body&&"PREMIUM_REQUIRED"===e.body.error_type?t=Vn.fatal(o.TP_REGISTRATION_FAILED_NON_PREMIUM,"Cannot register to Track Playback with non-premium user."):200!==e.status?t=Vn.fatal(o.TP_REGISTRATION_FAILED_WITH_STATUS,`track-playback service responded with status ${e.status} when registering device`):e.body||(t=Vn.fatal(o.TP_NO_RESPONSE_BODY,"Unexpected empty response body from registration request.")),t)return t.status=e.status,Promise.reject(t);const n=e.body;return n.endsong&&ni.log(n.endsong),n.endsongs&&(ii.log(n.endsongs),this.emit("internal_endcontent",{endcontents:n.endsongs})),this._sequenceNumber=n.initial_seq_num,this._registered=!0,this.emit("registered",{deviceId:this._deviceId}),Promise.resolve(!0)}_handleStateConflictResponse(e){var t;if(e.status>=200&&e.status<300){const n=null===(t=e.body)||void 0===t?void 0:t.commands;if(!n||!n.length)return;for(let e=0,t=n.length;e<t;e++)this._performCommand(n[e])}else{const t=new Vn(o.TP_CONFLICT_REQUEST_FAILED_WITH_STATUS,`Track-Playback service responded with ${e.status}`);t.status=e.status,this._emitError(t)}}_handleStateUpdateResponse(e,t){let n;if(200!==t.status)return n=new Vn(o.TP_PARSE_STATE_UPDATE_FAILED_WITH_STATUS,`Service responded with status ${t.status}`),n.status=t.status,Promise.reject(n);if(!t.body)return n=new Vn(o.TP_UPDATE_REQUEST_EMPTY_RESPONSE,"Unexpected empty response body from state update request."),n.status=t.status,Promise.reject(n);const i=t.body;i.endsong&&ni.log(i.endsong),i.endsongs&&(ii.log(i.endsongs),this.emit("internal_endcontent",{endcontents:i.endsongs}));const r=this._currentContext;if(!r)return Promise.resolve();const a=i.state_machine,s=i.updated_state_ref;return this._isCurrentStateRef(e)?(r.setStateMachine(a),r.setCurrentState(s),r.setContextMetadata(i.context_metadata||null),this._emitStateChanged(),Promise.resolve()):Promise.resolve()}_isCurrentStateRef(e){const t=this._currentContext?this._currentContext.getStateRef():null;return!t&&!e||!(!t||!e)&&(t.state_machine_id===e.state_machine_id&&t.state_id===e.state_id&&t.paused===e.paused)}_logUnsentStateUpdate(e){ti.info("Unsent state update.",e),this._logger.logClientEvent({source:"tpapi-client",source_version:A.tagged,source_vendor:"spotify",event:"unsent-state-update",event_version:"1.0.0",json_data:e},"object").catch((e=>{ti.error("Track-Playback Logging Error",e)}))}_logout(){this._listPlayer.pause().catch((()=>{})),this.emit("state_cleared",null),this.deregister().then((e=>{this._currentContext=null,this._setCurrentTrackPosition(void 0),e&&this.emit("logout",null)}))}_parseDescriptor(e){return this._deviceId=e.getId(),this._deviceInfo=e.toTrackPlaybackDeviceInfo(),!0}_performCommand(e){switch(e.type){case"set_volume":this._setVolume(e);break;case"log_out":this._logout();break;case"replace_state":this._replaceState(e);break;case"ping":this._updateState(ei.PING);break;default:this._emitError(new Vn(o.TP_UNKNOWN_COMMAND,"Received unknown command."),{command:e})}}_rejectState(e){const t=this._queuedRejectedStates;if(void 0!==e&&t.push(e),!this._registered||this._isSendingConflict||!t.length)return;this._isSendingConflict=!0;const n=t.splice(0,5),i=this._currentContext?this._currentContext.getStateRef():null,o=this._generateStatePayload(i);o.rejected_state_refs=n,this._setSequenceNumbers(o,n.length);const r=()=>{this._isSendingConflict=!1,this._rejectState()},a=`${this._endpoint}/v1/devices/${this._deviceId}/state_conflict`;this._transport.request(a,{authorize:!0,method:"POST",headers:{"Content-Type":"application/json"},responseType:"json",payload:JSON.stringify(o),retry:ci}).then(this._handleStateConflictResponse).then(r,r)}_replaceState(e){var t,n,i,o;const r=this._listPlayer,a=e.state_machine,c=e.state_ref,l=this._createStateRef(a,c);if(!this._isCurrentStateRef(e.prev_state_ref))return void this._rejectState(l);if(!c)return void this._clearContextAndState();const u=null!==(n=null===(t=this._currentContext)||void 0===t?void 0:t.getStateRef())&&void 0!==n?n:null;if(function(e,t){if(!e)throw new Error(`Assertion failed: ${t}`)}(null!==l,"New state reference is null"),this._currentContext&&(null==u?void 0:u.state_id)===l.state_id){const t=this._currentContext;t.setStateMachine(a),t.setCurrentState(c),t.setContextMetadata(e.context_metadata||null);let n=!1;t.isPaused()!==c.paused&&(n=!0),c.paused?(t.setPaused(!0),r.pause()):(t.setPaused(!1),r.resume());const o=a.states[c.state_index],l=null===(i=null==o?void 0:o.options)||void 0===i?void 0:i.playback_speed;l&&l!==this._currentTrackInfo.currentPlaybackSpeed&&(this._listPlayer.setPlaybackSpeed(l),n=!0);const u=parseInt(e.seek_to,10);t.allowSeeking()&&!isNaN(u)&&(r.seek(u,s.REMOTE),this._setCurrentTrackPosition(u),n=!0),n?this._emitStateChanged():(this._lastProcessedStateId=null,this._updateState(ei.MODIFY_CURRENT_STATE))}else{this._lastProcessedStateId=null!==(o=l.state_id)&&void 0!==o?o:null,this._currentContext&&this._onBeforeTrackChange();const t=this._ListClass.create("spotify:app:jsspeaker",this._manifestTrackResolver);t.setStateMachine(a),t.startAtState(c),this._deviceId&&t.setDeviceId(this._deviceId),this._currentContext=t;const n=e.seek_to||0;t.setInitialPosition(n),this._loading=!0,this._switchingContext=!0,r.play(t,{reason:s.REMOTE})}}_clearContextAndState(){const e=this._listPlayer;e.pause().catch((function(){})),e.clear(s.REMOTE),this._currentContext=null,this._updateState(ei.STATE_CLEAR),this._setAllTrackPositions(void 0),this._lastProcessedStateId=null,this.emit("state_cleared",null),this._loading=!0}_sendDevicesRequest(e,t){let n=`${this._endpoint}/v1/devices`;return"PUT"===e&&(n=`${n}/${this._deviceId}`),this._transport.request(n,{authorize:!0,method:e||"POST",headers:{"Content-Type":"application/json"},responseType:"json",payload:JSON.stringify(t),retry:si})}_sendVolume(e){const t=`${this._endpoint}/v1/devices/${this._deviceId}/volume`;return this._setSequenceNumber(e),this._transport.request(t,{authorize:!0,method:"PUT",headers:{"Content-Type":"application/json"},payload:JSON.stringify(e)})}_setAllTrackPositions(e){this._previousTrackPosition=e,this._currentTrackPosition=e}_setCurrentTrackPosition(e){void 0!==e&&void 0!==this._currentTrackPosition&&e===this._currentTrackPosition||(this._previousTrackPosition=this._currentTrackPosition,this._currentTrackPosition=e)}_setSequenceNumber(e){return void 0===e.seq_num&&(e.seq_num=++this._sequenceNumber),e}_setSequenceNumbers(e,t){e.seq_nums=[];for(let n=0;n<t;n++)e.seq_nums.push(++this._sequenceNumber);return e}_setVolume(e){var t;const n=e.volume/p;this._listPlayer.setVolume(n,null!==(t=e.command_id)&&void 0!==t?t:`tpcommand-${Date.now()}`)}_shouldSendUpdateForEvent(e){return!(!e||e===this._lastProcessedStateId)}_updateDeviceInfo(){this._registered&&this._deviceInfo&&this._sendDevicesRequest("PUT",this._deviceInfo).then((e=>{204===e.status&&this.emit("registration_updated",null)}))}_updateState(e,t){var n,i;if(!this._registered)return;let r,a;if(t?(r=t.state_ref,a=t):(r=null!==(i=null===(n=this._currentContext)||void 0===n?void 0:n.getStateRef())&&void 0!==i?i:null,a=this._generateStatePayload(r,e)),!this._shouldSendPayload(a))return void ti.info("State update ignored (duplicate).",a);if(this._emitStateChanged(),this._isSendingUpdate&&this._limitStateUpdates)return this._logUnsentStateUpdate(a),void this._queueSendUpdate.push(e);this._isSendingUpdate=!0,this._queueSendUpdate=[],this._setSequenceNumber(a),this._lastSentStateUpdatePayload=a;const s=()=>{this._isSendingUpdate=!1,this._queueSendUpdate.length&&this._updateState(this._queueSendUpdate[this._queueSendUpdate.length-1]),ti.info("State update sent.",e,a)},c=`${this._endpoint}/v1/devices/${this._deviceId}/state`;this._lastUpdateStateMonotonicTime=(0,u.X)(),this._transport.request(c,{authorize:!0,method:"PUT",headers:{"Content-Type":"application/json"},responseType:"json",payload:JSON.stringify(a),retry:si}).then(this._handleStateUpdateResponse.bind(this,r)).then(s,(e=>{!function(e){return"object"==typeof e&&null!==e&&"code"in e}(e)?this._emitError(new Vn(o.TP_STATE_UPDATE_FAILED,`${e}`)):this._emitError(e),s()}))}_shouldSendPayload(e){const t=this._lastSentStateUpdatePayload;if(!t||!t.state_ref||!e.state_ref)return!0;const n=e.state_ref,i=t.state_ref;if(n.paused!==i.paused||n.state_id!==i.state_id||n.state_machine_id!==i.state_machine_id)return!0;const o=e.sub_state,r=t.sub_state;if(o.playback_speed!==r.playback_speed||o.position!==r.position)return!0;if(e.previous_position!==t.previous_position)return!0;return Math.abs((o.duration||0)-(r.duration||0))>=51}stop(){return!(!this._registered||!this._currentContext)&&(this._clearContextAndState(),!0)}deregister(){return this._registered?(this._isDeregistering=!0,this._registered=!1,this._listPlayer.getPlayerState().then((e=>Promise.all([this._deregisterFromService(e),this._waitingForTrackingData.promise,this._listPlayer.stop().catch((()=>{}))]).then((([e])=>(this._isDeregistering=!1,e)))),(()=>(this._isDeregistering=!1,this._registered=!0,!1)))):Promise.resolve(!1)}register(){if(this._registered)return Promise.resolve(!1);if(!this._deviceInfo)return Promise.reject(new Error("Need DeviceInfo for device registration."));if(!this._connectionId)return Promise.reject(new Error("Need connection-id for device registration"));let e;const t=this._currentContext;return t&&(e=this._generateStatePayload(t.getStateRef(),ei.REGISTER),this._setSequenceNumber(e)),this._sendDevicesRequest("POST",{device:this._deviceInfo,outro_endcontent_snooping:"true"==={}.OUTRO_SNOOPING,connection_id:this._connectionId,client_version:this._clientVersion,previous_session_state:e,volume:this._currentGaiaVolume}).then(this._handleRegisterResponse).catch((e=>(e&&!e.maxedSubscriptions&&(e.registration=!0,this._emitError(e)),!1)))}hasOptimisticUpdates(){return!1}}function ui(e,t={}){return function(e,t,n={}){var i,o,r,a,s,c,l;const u=e.getSDKId(),d=e.getPublicTransport(),p=e.getLogger(),h=e.getDeviceDescriptor(),f=null!==(i=n.initialVolume)&&void 0!==i?i:1,m=Pn(Object.assign(Object.assign({},n),{transport:d,sdkId:e.getUntaggedSDKId(),loggerOptions:{disableMux:null===(a=null!==(r=null===(o=null==n?void 0:n.mux)||void 0===o?void 0:o.disable)&&void 0!==r?r:null==n?void 0:n.disableMux)||void 0===a||a,muxEnvKey:null!==(c=null===(s=null==n?void 0:n.mux)||void 0===s?void 0:s.envKey)&&void 0!==c?c:null==n?void 0:n.muxEnvKey,deviceInfo:h.then((e=>({platform_name:e.getPlatformName(),platform:e.getPlatformIdentifier(),version:e.getPlatformVersion(),brand:e.getBrand(),model:e.getModel(),type:e.getType()}))),muxCustomDimensions:null===(l=null==n?void 0:n.mux)||void 0===l?void 0:l.customDimensions,platform:e.getPlatformIdentifier(),clientVersion:e.getPlatformVersion()}})).then((({player:e})=>e)),_=m.then((e=>e.getMediaConfig())),g=Promise.all([h,_]).then((([e,t])=>(e.getCapability("audio_podcasts")&&!n.disableExternalFiles&&e.appendManifestFormat(M.FILE_URLS_EXTERNAL),t.keysystem===ee.FAIRPLAY?e.appendManifestFormat(M.FILE_IDS_CBCS):t.keysystem!==ee.WIDEVINE||n.preferMultiDRMFormat?e.appendManifestFormat(M.FILE_IDS_MP4_DUAL,M.FILE_IDS_MP4,M.MANIFEST_URLS_AUDIO_AD):(-1!==t.formats.audio.indexOf('audio/mp4; codecs="flac"')&&e.getCapability("lossless_playback")&&e.appendManifestFormat(M.FILE_IDS_MP4FLAC),e.appendManifestFormat(M.FILE_IDS_MP4,M.FILE_IDS_MP4_DUAL,M.MANIFEST_URLS_AUDIO_AD)),t.supports.protected_video&&e.getCapability("video_playback")&&e.prependManifestFormat(M.MANIFEST_IDS_VIDEO),t.supports.unprotected_video&&e.getCapability("video_ads")&&e.prependManifestFormat(M.MANIFEST_URLS_VIDEO_AD),e))),E=Rn.create({trackPlayer:m}),v=qn.create({descriptor:h,listPlayer:E}),{playbackServiceClient:y,playbackStateObserver:b}=t({initialVolume:f,listPlayer:E,logger:p,transport:d,clientVersion:u,descriptor:g,endpoint:n.endpoint,manifestTrackResolver:v});return new Dn({client:e,playbackServiceClient:y,playbackStateObserver:b,initialVolume:f,playerPromise:m,listPlayer:E,stopOnBackground:n.stopOnBackground,enableMediaSession:n.enableMediaSession})}(e,(e=>{const t=li.create(Object.assign(Object.assign({},e),{ListClass:Fn}));return{playbackServiceClient:t,playbackStateObserver:zn.create(t)}}),t)}const di=O.m.forTag("transport.server_time");class pi{constructor(e){this._serverTime=0,this._serverTimeFetchedAt=null,this._transport=e}static create(e){return new pi(e)}_handleResponse(e,t){var n;const i=(0,u.X)();return t.status!==C.s.OK?this._handleError(`Status ${t.status}`):"number"!=typeof(null===(n=t.body)||void 0===n?void 0:n.timestamp)?this._handleError("Invalid response"):(this._serverTimeFetchedAt=i,this._serverTime=t.body.timestamp+Math.round((i-e)/2),this._serverTime)}_handleError(e){return di.error(`Cannot fetch server time: ${e}`),this._serverTimeFetchedAt=(0,u.X)(),this._serverTime=Date.now(),this._serverTime}get(){const e=(0,u.X)();return this._transport.request("@webgate/melody/v1/time",{responseType:"json",signal:(0,a.createAbortSignalWithTimeout)(1e3)}).then(this._handleResponse.bind(this,e),this._handleError.bind(this))}getApproximate(){if(!this._serverTime||null===this._serverTimeFetchedAt)return this.get(),Date.now();const e=(0,u.r)(this._serverTimeFetchedAt);return e>18e4&&this.get(),this._serverTime+e}}var hi;!function(e){e.LOCAL_PLAYER_DISABLED="local_player_disabled",e.STOPPED="stopped",e.REMOTE_ACTIVATED="remote_activated",e.UNKNOWN="unknown"}(hi||(hi={}));class fi extends Error{constructor(e,t){super(t),this.status=-1,this.maxedSubscriptions=!1,this.unrecoverable=!1,this.debug={},this.code=e,this.name="PlayerAPIClientError"}static fatal(e,t){const n=new fi(e,t);return n.unrecoverable=!0,n}}class mi{constructor(e){this._transport=e.transport,this._metadataCache=new $.q(e.cacheSize||20)}static create(e){return new mi(e)}_decorateTrackWindow(e){const t=this._metadataCache,n={current_track:null,next_tracks:[],previous_tracks:[]};let i,o,r;const a=e=>{var t;const n=null===(t=null==e?void 0:e.metadata)||void 0===t?void 0:t.track_player;e&&n&&(e.media_type="video"===n?"video":"audio")};e.current_track&&(o=t&&e.current_track&&"uri"in e.current_track&&t.get(e.current_track.uri),n.current_track=Object.assign({uid:e.current_track.uid,metadata:e.current_track.metadata},o||e.current_track),a(n.current_track)),i=e.next_tracks.length;for(;i--;)r=e.next_tracks[i],o=t&&r&&"uri"in r&&t.get(r.uri),n.next_tracks[i]=Object.assign({uid:r.uid,metadata:r.metadata},o||r),a(n.next_tracks[i]);for(i=e.previous_tracks.length;i--;)r=e.previous_tracks[i],o=t&&r&&"uri"in r&&t.get(r.uri),n.previous_tracks[i]=Object.assign({uid:r.uid,metadata:r.metadata},o||r),a(n.previous_tracks[i]);return n}_buildTrackList(e){const t=[],n={},i=[e.current_track,...e.next_tracks,...e.previous_tracks];for(const e of i)e&&!n[e.uri]&&t.push(e.uri);return t}_cacheMetadata(e,t){const n=[],i=[],o=[],r=this._metadataCache;for(const a of e){if(r.get(a))continue;const e=(0,Un.o_)(a);e&&(e.type===Un.NQ.TRACK?i.push(e.id):"chapter"===(null==t?void 0:t.contentType)?o.push(e.id):e.type===Un.NQ.EPISODE&&n.push(e.id))}return n.length||i.length||o.length?Promise.all([this._requestMultiData("episodes",n),this._requestMultiData("tracks",i),this._requestMultiData("chapters",o)]).then((([e,t,n])=>!!e||!!t||!!n)):Promise.resolve(!0)}_requestMultiData(e,t){if(!t.length)return Promise.resolve(!1);const n=this._metadataCache,i=["https://@webapi/v1/",e,"?ids=",t.join(","),"&market=from_token"].join("");return this._transport.request(i,{responseType:"json"}).then((t=>{var i;if(200!==t.status)return!1;const o=null===(i=t.body)||void 0===i?void 0:i[e];if(!o)return!1;let r=o.length;for(;r--;){let t=o[r];t&&("episodes"===e?t=this._formatEpisodeData(t):"chapters"===e?t=this._formatChapterData(t):(t.track_type="audio",t.media_type="audio",t.content_type="tracks"===e?"music":"undefined"),n&&n.set(t.uri,t),n&&t.linked_from&&t.linked_from.uri&&n.set(t.linked_from.uri,t))}return!0}))}_formatEpisodeData(e){const t="audio"===e.show.media_type?"audio":"video";return{id:e.id,uri:e.uri,type:"episode",media_type:t,track_type:e.show.media_type,content_type:"podcast",name:e.name,artists:[{uri:e.show.uri,name:e.show.publisher}],album:{uri:e.show.uri,name:e.show.name,images:e.images},duration_ms:e.duration_ms||0,is_playable:!0}}_formatChapterData(e){return{id:e.id,uri:e.uri,type:"episode",name:e.name,media_type:e.audiobook.media_type,track_type:"audio",content_type:"chapter",artists:[{uri:e.audiobook.uri,name:e.audiobook.name}],album:{name:e.audiobook.name,uri:e.audiobook.uri,images:e.images},duration_ms:e.duration_ms||0,is_playable:!0}}formatLocalTrack(e,t){if(!e||e.type!==Un.NQ.LOCAL_TRACK)return null;return{uri:e.toURI(),type:"local",uid:t,media_type:"audio",track_type:"audio",content_type:"music",name:e.track,artists:[{uri:(0,Un.DY)(e.artist).toURI(),name:e.artist}],album:{uri:(0,Un.dx)(e.artist,e.album).toURI(),name:e.album,images:[{url:""}]},duration_ms:e.duration?1e3*e.duration:0,is_playable:!1}}formatAd(e,t){if(!e||e.type!==Un.NQ.AD&&e.type!==Un.NQ.INTERRUPTION)return null;if(!t||!t.metadata)return null;const n=t.metadata;return{id:e.id,uri:e.toURI(),type:e.type,uid:t.uid,media_type:"audio",track_type:"audio",content_type:"ad",name:n.advertiser,artists:[{uri:n.click_url,name:n.buttonMessage||n.advertiser}],album:{uri:n.click_url,name:n.advertiser,images:[{url:n.image_url}]},duration_ms:parseInt(n.duration,10),is_playable:!1}}formatDJNarration(e,t){var n;if(!e||"true"!==(null===(n=t.metadata)||void 0===n?void 0:n.is_narration))return null;if(!t||!t.metadata)return null;const i=t.metadata;return{id:e.id,uri:e.toURI(),type:e.type,uid:t.uid,name:i.title,media_type:"audio",track_type:"audio",content_type:"narration",album:{name:i.album_title,images:[{url:i.image_url}]},artists:[{uri:"",name:i.artist_name}]}}decorateTrackWindow(e,t,n){const i=null!=t?t:this._buildTrackList(e);return this._cacheMetadata(i,{contentType:null==n?void 0:n.contentType}).then((t=>t?this._decorateTrackWindow(e):e))}}const _i=/^[0-9a-f]{32}$/i,gi=()=>F(32),Ei=e=>{if(e&&(t=e,!_i.test(t)))throw new TypeError(`Invalid commandId. Expected a 32 character hex string but got: ${e}`);var t;return e||gi()},vi=O.m.forTag("harmony.controller"),yi={disallow_pausing_reasons:!0,disallow_peeking_next_reasons:!0,disallow_peeking_prev_reasons:!0,disallow_resuming_reasons:!0,disallow_seeking_reasons:!0,disallow_skipping_next_reasons:!0,disallow_skipping_prev_reasons:!0,disallow_toggling_repeat_context_reasons:!0,disallow_toggling_repeat_track_reasons:!0,disallow_toggling_shuffle_reasons:!0,disallow_transferring_playback_reasons:!0,disallow_setting_playback_speed_reasons:!0,disallow_setting_modes:!0,disallow_signals:!0,disallow_add_to_queue_reasons:!0,disallow_set_queue_reasons:!0,disallow_updating_context_reasons:!0,disallow_removing_from_context_tracks_reasons:!0,disallow_removing_from_next_tracks_reasons:!0,disallow_reordering_in_context_tracks_reasons:!0,disallow_reordering_in_next_tracks_reasons:!0,disallow_inserting_into_context_tracks_reasons:!0,disallow_inserting_into_next_tracks_reasons:!0,disallow_remote_control_reasons:!0},bi={unknown:An.UNKNOWN,default:An.DEFAULT,low:An.LOW,normal:An.NORMAL,normalized:An.NORMAL,high:An.HIGH,veryhigh:An.VERY_HIGH,hifi:An.HIFI},Si={on:Mn.ON,off:Mn.OFF,none:Mn.NONE};function Ti(e,t){if(!e)return[];const n=[],i=[Un.NQ.TRACK,Un.NQ.EPISODE];for(let o=0,r=e.length;o<r;o++){let r,a=e[o];if(!a)throw new TypeError("Null value inside track array.");if("string"==typeof a?(r=(0,Un.o_)(a),a={uri:a}):r=(0,Un.o_)(a.uri),!/^spotify:(meta:|delimiter)/.test(a.uri)){if(!r)throw new TypeError(`Invalid uri string: ${r}`);if(-1===i.indexOf(r.type))throw new TypeError(`Invalid track uri: ${a.uri}`)}a.metadata||(a.metadata={}),t&&t.queued&&(a.metadata.is_queued="true"),n.push(a)}return n}function Ai(e){if(e){if(/^.+:\/\//.test(e))return e;throw new TypeError(`Invalid page url: ${e}`)}}class Ii extends c.bk{constructor(e){super(),this._suppressed=!1,this._lastDeviceInfoData=null,this._state=null,this._lastPlayerState=null,this._isOrphanedState=!1,this._progressPosition=0,this._lastProgressMonotonicTime=(0,u.X)(),this._trackingIntervalId=0,this._queue=null,this._client=e.client,this._serverTime=e.serverTime,this._version=e.version,this._playerClient=e.playerClient,this._disableProgress=!!e.disableProgress,this._transport=this._client.getPublicTransport(),this._decorate=!!e.decorateTrackWindow,this._metadataDecorator=new mi({transport:this._transport}),this._onClientBeforeDisconnect=this._onClientBeforeDisconnect.bind(this),this._onDeviceStateChanged=this._onDeviceStateChanged.bind(this),this._onPlayerStateChanged=this._onPlayerStateChanged.bind(this),this._onProgressTracking=this._onProgressTracking.bind(this),this._client.on("before_disconnect",this._onClientBeforeDisconnect),this.proxyEmit(this._playerClient,"max_subscriptions_reached","max_subscriptions_reached"),this.proxyEmit(this._playerClient,"devices_changed","devices_changed"),this.proxyEmit(this._playerClient,"registered","registered"),this.proxyEmit(this._playerClient,"deregistered","deregistered"),this._playerClient.on("device_state_changed",this._onDeviceStateChanged),this._playerClient.on("player_state_changed",this._onPlayerStateChanged)}static create(e){return new Ii(e)}_onClientBeforeDisconnect(e){e&&e.data.awaitPromise(this._playerClient.deregister().catch((()=>{})))}_onDeviceStateChanged(e){var t,n;const{deviceState:i,hasOrphanedState:o}=e.data,r=!!(null===(n=null===(t=this._lastDeviceInfoData)||void 0===t?void 0:t.deviceInfo)||void 0===n?void 0:n.local);this._lastDeviceInfoData={deviceInfo:i,hasOrphanedState:o},r&&!(null==i?void 0:i.local)&&this._playerClient.getDevices().then((({localDevice:e})=>{let t=hi.STOPPED;o?e||(t=hi.LOCAL_PLAYER_DISABLED):t=hi.REMOTE_ACTIVATED,this.emit("device_deactivated",{reason:t})})).catch((e=>{vi.warn("Device deactivation checking failed.",e)})),this._suppressed||this.emit("device_info_changed",this._lastDeviceInfoData)}_startProgressTracking(){this._stopProgressTracking(),this._lastProgressMonotonicTime=(0,u.X)(),this._onProgressTracking(),this._trackingIntervalId=setInterval(this._onProgressTracking,500)}_stopProgressTracking(){this._trackingIntervalId&&(clearInterval(this._trackingIntervalId),this._trackingIntervalId=0)}_onProgressTracking(){var e;const t=(0,u.X)(),n=(null===(e=this._lastPlayerState)||void 0===e?void 0:e.playback_speed)||1;this._progressPosition+=n*(t-this._lastProgressMonotonicTime),this.emit("progress",{position:this._progressPosition,timestamp:Date.now()}),this._lastProgressMonotonicTime=t}_generatePlayOptions(e,t){var n;const i={license:null!==(n=this._playerClient.getDeviceLicense())&&void 0!==n?n:""};if(!e)return i;if(("index"in e||"trackUID"in e||"trackURI"in e||"pageIndex"in e)&&(i.skip_to={track_uid:e.trackUID,track_index:e.index,track_uri:e.trackURI,page_index:e.pageIndex}),"initialOffset"in e&&(i.seek_to=e.initialOffset),"paused"in e&&(i.initially_paused=e.paused),"alwaysPlaySomething"in e&&(i.always_play_something=e.alwaysPlaySomething),t)return i;i.player_options_override={};const o=i.player_options_override;if("shuffle"in e&&(o.shuffling_context=e.shuffle),"repeatMode"in e)switch(e.repeatMode){case m.CONTEXT:o.repeating_context=!0,o.repeating_track=!1;break;case m.TRACK:o.repeating_track=!0,o.repeating_context=!1;break;case m.OFF:o.repeating_track=!1,o.repeating_context=!1}return i}_setFilterAndSort(e,t){t&&t.filter&&e.metadata&&(e.metadata["filtering.predicate"]=t.filter),t&&t.sort&&e.metadata&&(e.metadata["sorting.criteria"]=t.sort)}_setMetadataOptions(e,t){if(!t)return;const n=e.metadata||{};"autoplayCandidate"in t&&(n.autoplay_candidate=t.autoplayCandidate?"true":"false"),e.metadata=n}_generatePlayOrigin(e){if((null==e?void 0:e.featureClasses)&&!Array.isArray(e.featureClasses))throw new TypeError("PlayOptions playOrigin.featureClasses must be an array of strings.");return{feature_identifier:(null==e?void 0:e.featureIdentifier)||"harmony",feature_version:(null==e?void 0:e.featureVersion)||this._version,feature_classes:null==e?void 0:e.featureClasses,view_uri:null==e?void 0:e.viewURI,external_referrer:null==e?void 0:e.externalReferrer,referrer_identifier:null==e?void 0:e.referrerIdentifier,restriction_identifier:null==e?void 0:e.restrictionIdentifier}}_generateLoggingParams(e={}){const{pageInstanceId:t,interactionId:n,commandId:i}=e;try{return Promise.resolve({page_instance_ids:t?[t]:[],interaction_ids:n?[n]:[],command_id:Ei(i)})}catch(e){return Promise.reject(e)}}_parseRestrictions(e){const t={};for(const n in e.restrictions)e.restrictions.hasOwnProperty(n)&&yi[n]?t[n]=e.restrictions[n]:yi[n]&&(t[n]=[]);return t}_onPlayerStateChanged(e){this._isOrphanedState=e.data.orphaned,this._parsePlayerState(e.data.playerState).then((t=>{this._state=t,this._suppressed||this.emit("state_changed",{state:t?Object.assign({},t):null,orphaned:e.data.orphaned}),!this._disableProgress&&t&&(this._progressPosition=t.position,t.paused?this._stopProgressTracking():this._startProgressTracking())}))}_isUsingPlayerService(e){var t,n,i;const o=null===(n=null===(t=this._lastDeviceInfoData)||void 0===t?void 0:t.deviceInfo)||void 0===n?void 0:n.version,r=/\/(cloud|track)-playback$/.test(o||""),a=2===(null===(i=null==e?void 0:e.context_metadata)||void 0===i?void 0:i["player.arch"]);return r&&a}_parsePlayerState(e){return this._lastPlayerState=e,e?this._getTrackWindow(e).then((t=>{var n,i,o,r,a,s,c,l,u,d,p,h;const f=!!(null===(n=e.options)||void 0===n?void 0:n.playback_speed)||!1;if(!f){const t=(0,Un.gH)(e.track.uri)?"not_supported_by_device":"not_supported_by_content_type";e.restrictions=Object.assign({disallow_setting_playback_speed_reasons:[t]},e.restrictions)}const m=this._parseRestrictions(e),_=jn(m);return{context:{uri:e.context_uri||null,metadata:e.context_metadata||{}},timestamp:e.timestamp,duration:e.duration||t.current_track&&"uri"in t.current_track&&t.current_track.duration_ms||0,position:e.is_paused?e.position_as_of_timestamp:this._offsetPosition(e.timestamp,e.position_as_of_timestamp,e.playback_speed),playback_id:this._isUsingPlayerService(e)?null:e.playback_id,playback_quality:null!==(r=bi[null!==(o=null===(i=e.playback_quality)||void 0===i?void 0:i.bitrate_level)&&void 0!==o?o:"unknown"])&&void 0!==r?r:An.UNKNOWN,playback_features:{hifi_status:Si[null!==(s=null===(a=e.playback_quality)||void 0===a?void 0:a.hifi_status)&&void 0!==s?s:"none"],playback_speed:{current:e.playback_speed,selected:null!==(l=null===(c=e.options)||void 0===c?void 0:c.playback_speed)&&void 0!==l?l:1,restricted:!f||!!(null==_?void 0:_.setting_playback_speed)},signal_ids:e.signals||[],modes:e.modes||{}},paused:!!e.is_paused,shuffle:!(!e.options||!e.options.shuffling_context),shuffle_mode:Bn(null===(u=e.options)||void 0===u?void 0:u.shuffling_context,null===(d=e.options)||void 0===d?void 0:d.modes),repeat_mode:this._getStateRepeatMode(e),restrictions:m,disallows:_,track_window:t,loading:null!==(h=null===(p=this._state)||void 0===p?void 0:p.loading)&&void 0!==h&&h,playback_speed:e.playback_speed}})):Promise.resolve(null)}_offsetPosition(e,t,n=1,i){const o=t+((i||this._serverTime.getApproximate())-e)*n;return o<0?0:o}_isRestricted(e,t){if(!e||!e.restrictions)return!1;const n=`disallow_${t}_reasons`;return!!(e.restrictions[n]||[]).length}_getTrackWindow(e){var t,n;const i={current_track:null,next_tracks:[],previous_tracks:[]},o={},r=[];if(!e.track)return Promise.resolve(i);const a=e.track.uri;if(!a)return Promise.resolve(i);const s=(0,Un.o_)(a),c=this._metadataDecorator,l=c.formatLocalTrack(s,e.track.uid),u=c.formatAd(s,e.track),d=c.formatDJNarration(s,e.track);i.current_track=l||u||d||{uri:a,uid:e.track.uid,type:s&&s.type?s.type:"unknown"},i.current_track.metadata=e.track.metadata||{},l||u||d||(o[a]=1,r.push(a)),this._isRestricted(e,"peeking_next")||this._fillWindow(r,i.next_tracks,o,e.next_tracks?e.next_tracks.slice(0,5):[]),this._isRestricted(e,"peeking_prev")||this._fillWindow(r,i.previous_tracks,o,e.prev_tracks?e.prev_tracks.slice(-5):[],!0);const p="true"===(null===(t=e.track.metadata)||void 0===t?void 0:t.is_audiobook_chapter)||"true"===(null===(n=e.track.metadata)||void 0===n?void 0:n.is_audiobook)?"chapter":"unknown";return this._decorate?c.decorateTrackWindow(i,r,{contentType:p}):Promise.resolve(i)}_fillWindow(e,t,n,i,o){o&&i.reverse();for(const r of i){const{metadata:i,uri:a,uid:s}=r;if("true"===(null==i?void 0:i.hidden_in_queue))continue;const c=(0,Un.o_)(a);if(!a||"spotify:delimiter"===a||c&&(c.type===Un.NQ.AD||c.type===Un.NQ.INTERRUPTION))continue;const l=this._metadataDecorator.formatLocalTrack(c,s),u=l||{uri:a,uid:s,type:"unknown"};if(l||a in n||(n[a]=1,e.push(a)),o?t.unshift(Object.assign(Object.assign({},u),{metadata:i})):t.push(Object.assign(Object.assign({},u),{metadata:i})),2===t.length)break}}_getStateRepeatMode(e){const t=e.options;return t&&t.repeating_track?m.TRACK:t&&t.repeating_context?m.CONTEXT:m.OFF}_play(e,t,n){return this._setFilterAndSort(e,n),this._setMetadataOptions(e,n),Promise.all([this._generatePlayOptions(n),this._generateLoggingParams(null==n?void 0:n.loggingParams)]).then((([i,o])=>{const r={context:e,play_origin:this._generatePlayOrigin(n&&n.playOrigin),options:i,logging_params:o};return this._playerClient.play(r,t)}))}getActiveDevice(){return this._playerClient.getActiveDevice()}getCurrentState(e){var t;if(e&&this._isOrphanedState)return Promise.resolve(null);const n=this._state;if(n&&!n.paused){const e=this._serverTime.getApproximate();n.position=this._offsetPosition(n.timestamp,n.position,null===(t=this._lastPlayerState)||void 0===t?void 0:t.playback_speed,e),n.timestamp=e}return Promise.resolve(n?Object.assign({},n):null)}getContextPlayerState(){return vi.warn("The `getContextPlayerState()` method is not well supported. Please avoid using it directly."),this._playerClient.getContextPlayerState()}getDevices(){return this._playerClient.getDevices()}playURI(e,t,n){if(!(0,Un.o_)(e))return Promise.reject(new TypeError("Invalid Spotify URI"));const i={uri:e,url:`context://${e}`,metadata:n&&n.contextMetadata||{}};return this._play(i,t,n)}playPages(e,t,n){var i;if(!Array.isArray(e))return Promise.reject(new TypeError("Invalid pages array."));let o;try{o=function(e){var t,n,i;const o=[];for(const r of e)o.push({tracks:Array.isArray(r.tracks)?Ti(r.tracks):void 0,page_url:null!==(t=Ai(r.pageURL))&&void 0!==t?t:void 0,next_page_url:null!==(n=Ai(r.nextPageURL))&&void 0!==n?n:void 0,metadata:null!==(i=r.metadata)&&void 0!==i?i:void 0});return o}(e)}catch(e){return Promise.reject(e)}const r={uri:null!==(i=null==n?void 0:n.contextURI)&&void 0!==i?i:"spotify:internal:harmony-play-pages",metadata:(null==n?void 0:n.contextMetadata)||{},pages:o};return this._play(r,t,n)}playTracks(e,t,n){var i;if(!Array.isArray(e))return Promise.reject(new TypeError("Invalid tracks array."));let o;try{o=Ti(e)}catch(e){return Promise.reject(e)}const r={uri:null!==(i=null==n?void 0:n.contextURI)&&void 0!==i?i:"spotify:internal:harmony-play-tracks",metadata:(null==n?void 0:n.contextMetadata)||{},pages:[{tracks:o}]};return this._play(r,t,n)}updateCurrentContext(e,t={}){return this._playerClient.updateCurrentContext(e,t)}setQueue(e,t,n){if(!Array.isArray(e))return Promise.reject(new TypeError("Invalid nextTracks array."));if(!Array.isArray(t))return Promise.reject(new TypeError("Invalid previousTracks array."));let i,o;try{i=Ti(e),o=Ti(t)}catch(e){return Promise.reject(e)}const r={next_tracks:i.length?i:void 0,prev_tracks:o.length?o:void 0};return this._playerClient.setQueue(r,n)}transfer(e,t={}){return this._generateLoggingParams(null==t?void 0:t.loggingParams).then((n=>{const i=Object.assign(Object.assign({},t),{logging_params:n});return this._playerClient.transfer(e,i)}))}pause(e,t){return this._generateLoggingParams(null==t?void 0:t.loggingParams).then((t=>{const n={logging_params:t};return this._playerClient.pause(e,n)}))}resume(e,t){return this._generateLoggingParams(null==t?void 0:t.loggingParams).then((t=>{const n={logging_params:t};return this._playerClient.resume(e,n)}))}togglePlay(e,t){return this._generateLoggingParams(null==t?void 0:t.loggingParams).then((t=>{const n={logging_params:t};return this._playerClient.togglePlay(e,n)}))}nextTrack(e,t){return this._generateLoggingParams(null==t?void 0:t.loggingParams).then((n=>{const i={logging_params:n};return(null==t?void 0:t.track)&&(i.track=b([t.track])[0]),this._playerClient.nextTrack(e,i)}))}previousTrack(e,t){return this._generateLoggingParams(null==t?void 0:t.loggingParams).then((n=>{const i={logging_params:n};return(null==t?void 0:t.track)&&(i.track=b([t.track])[0]),this._playerClient.previousTrack(e,i)}))}seek(e,t){return this._playerClient.seek(e,t)}setShuffle(e,t,n){return this._generateLoggingParams(null==n?void 0:n.loggingParams).then((n=>{const i={logging_params:n};return this._playerClient.setShuffle(e,t,i)}))}toggleShuffle(e,t){return this._generateLoggingParams(null==t?void 0:t.loggingParams).then((t=>{const n={logging_params:t};return this._playerClient.toggleShuffle(e,n)}))}setVolume(e,t){return this._playerClient.setVolume(e,t)}logout(e){return this._playerClient.logout(e)}setRepeatMode(e,t){return this.getCurrentState().then((n=>{if(!n)return Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"));const i=this._playerClient,r=n.disallows;switch(e){case m.OFF:return(!r.toggling_repeat_context||!r.toggling_repeat_track)&&i.setOptions({repeating_context:!!r.toggling_repeat_context&&void 0,repeating_track:!!r.toggling_repeat_track&&void 0},t);case m.CONTEXT:return!r.toggling_repeat_context&&i.setOptions({repeating_context:!0,repeating_track:!!r.toggling_repeat_track&&void 0},t);case m.TRACK:return!r.toggling_repeat_track&&i.setOptions({repeating_context:!r.toggling_repeat_context||void 0,repeating_track:!0},t);default:return Promise.reject(new TypeError("Unknown repeat mode."))}}))}setPlaybackSpeed(e,t){return this.getCurrentState().then((n=>{if(!n)return Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"));return this._playerClient.setOptions({playback_speed:e},t)}))}register(){return this._playerClient.register()}suppressEvents(){this._suppressed=!0}unsuppressEvents(){this._suppressed=!1,this._lastDeviceInfoData&&this.emit("device_info_changed",this._lastDeviceInfoData),this._state&&this.emit("state_changed",{state:this._state})}getQueueManager(e,t={}){if(!this._queue){const n=t.reportInitial?this._lastPlayerState:null;this._queue=new T(Object.assign({connectClient:this._playerClient,initialContextPlayerState:n,runner:e},t))}return this._queue}sendCustomSignal(e,t,n){return this._generateLoggingParams(null==n?void 0:n.loggingParams).then((i=>this._playerClient.sendCustomSignal(t,{parameters:null==n?void 0:n.parameters,logging_params:i,signal_id:e})))}playAsNextInQueue(e,t,n){return this._generateLoggingParams(null==n?void 0:n.loggingParams).then((n=>{const i={logging_params:n},o=Ti(e);return this._playerClient.playAsNextInQueue(o,t,i)}))}_setContextURIOptions(e,t){return this._client.getDeviceDescriptor().then((n=>{const i=e.split("?")[0],r=n.toTrackPlaybackDeviceInfo(),a=`http://@webgate/track-playback/v1/devices/${r.device_id}/context/${encodeURIComponent(i)}/player_options`,s={player_options:t,device_info:Object.assign(Object.assign({},r),{client_version:this._client.getSDKId()})};return this._transport.request(a,{authorize:!0,method:"POST",headers:{"Content-Type":"application/json"},responseType:"json",payload:JSON.stringify(s)}).then((e=>{if(200!==e.status){const t=new Vn(o.TP_SET_OPTIONS_FAILED_WITH_STATUS,`Track-Playback service responded with ${e.status}`);return t.status=e.status,Promise.reject(t)}return!0})).catch((e=>Promise.reject(e)))}))}_setOptions(e,t,n){return Promise.all([this._generateLoggingParams(null==n?void 0:n.loggingParams),this.getCurrentState()]).then((([i,r])=>{const a={logging_params:i};if(null==n?void 0:n.contextURI){if(!(0,Un.o_)(n.contextURI))return Promise.reject(new TypeError("contextURI is not a valid URI"));if(!((null==r?void 0:r.context.uri)&&(0,Un.B2)(r.context.uri,n.contextURI)))return this._setContextURIOptions(n.contextURI,e)}return r?this._playerClient.setOptions(e,t,a):Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"))}))}setModes(e,t,n){return this._setOptions({modes:e},t,n)}setShuffleMode(e,t,n){return this.getCurrentState().then((i=>{var r,a;const s=(null==i?void 0:i.disallows)||{};if(s.toggling_shuffle)return Promise.reject(new fi(o.HARMONY_OPERATION_FORBIDDEN,"Shuffle mode cannot be modified."));let c={};if(e===xn.SMART){if(null===(a=null===(r=s.setting_modes)||void 0===r?void 0:r.context_enhancement)||void 0===a?void 0:a.RECOMMENDATION)return Promise.reject(new fi(o.HARMONY_OPERATION_FORBIDDEN,"Setting shuffle mode to SMART is not allowed."));c={shuffling_context:!0,modes:{context_enhancement:"RECOMMENDATION"}}}else c={shuffling_context:!!e,modes:{context_enhancement:"NONE"}};return this._setOptions(c,t,n)}))}}var Oi,Ci=n(4034);!function(e){e.PREMIUM="premium",e.TFT="tft"}(Oi||(Oi={}));const Ri=/connect-state\/v1\/cluster$/,Ni=/^([a-zA-Z0-9_%:-]{1,40}).*$/;function Pi(e){var t,n,i;return!!e.track&&0===(null!==(i=null===(n=null===(t=e.restrictions)||void 0===t?void 0:t.disallow_transferring_playback_reasons)||void 0===n?void 0:n.length)&&void 0!==i?i:0)}const Li="::a_";var ki;!function(e){e.NOT_PLAYING_LOCALLY="not_playing_locally",e.NOT_PLAYING_CONTEXT="not_playing_context",e.NOT_PLAYING_TRACK="not_playing_track",e.NOT_PLAYING_MEDIA="not_playing_media",e.NO_PREV_TRACK="no_prev_track",e.NO_NEXT_TRACK="no_next_track",e.NO_SPECIFIC_TRACK="no_specific_track",e.ALREADY_PAUSED="already_paused",e.NOT_PAUSED="not_paused",e.NARRATION="narration",e.PLAYER_CONTEXT_DISALLOW="context_player_disallow",e.MFT_DISALLOW="mft_disallow",e.AD_DISALLOW="ad_disallow",e.PROTOCOL_LIMITATIONS="protocol_limitations",e.UNKNOWN="unknown",e.ALREADY_PLAYING="already_playing",e.THROTTLED="throttled",e.ENDLESS_CONTEXT="endless_context"}(ki||(ki={}));const wi={[ki.AD_DISALLOW]:_.B.AD_PLAYING,[ki.NARRATION]:_.B.NARRATION};function Di(e){if(!e)return{deviceId:null};const[t,n]=e.split(Li);return{deviceId:t,aliasId:n?parseInt(n,10):void 0}}class Mi extends c.bk{constructor(e){super(),this._autoregister=!0,this._connectionId="",this._localDeviceId="",this._localObserverDeviceId=null,this._lastActiveDevice=null,this._lastKnownPlayerState=null,this._lastKnownDevices=[],this._localDevice=null,this._fetchedInitialState=!1,this._lastProcessedTimestamp=0,this._descriptor=e.descriptor,this._transport=e.transport,this._tracker=e.tracker,this._endpoint=e.endpoint||"@webgate/connect-state",this._autoregister=!("autoregister"in e)||!!e.autoregister,this._onConnectionId=this._onConnectionId.bind(this),this._onClusterMessage=this._onClusterMessage.bind(this),this._awaitResponseWithAck=this._awaitResponseWithAck.bind(this),this._transport.on(this._transport.EVENT_CONNECTION_ID,(e=>{this._onConnectionId(e.data.id)})),this._transport.matchMessages(Ri,this._onClusterMessage),this._descriptorPromise=Promise.resolve(this._descriptor).then((e=>(this._localDeviceId=e.id||"",this._localObserverDeviceId=("hobs_"+this._localDeviceId).replace(Ni,"$1"),!0)))}static create(e){return new Mi(e)}_onConnectionId(e){this._connectionId=e,this._autoregister&&this.register()}_onClusterMessage(e){const t=e.payloads&&e.payloads[0];if(!t)return;const n=t.ack_id;n&&this._tracker.trackCommandAcknowledged(n),this._parseCluster(t.cluster)}_resolveTargetDevice(e){return this._descriptorPromise.then((()=>{const t=this._localDeviceId;return Di(e?e===d?t:e:this._lastActiveDevice?this._lastActiveDevice.id:t)}))}_makeEndpoint(e,t,n){return this._descriptorPromise.then((()=>{const i=this._localDeviceId;return`${this._endpoint}/${e}/${t}/from/${i}/to/${n}`}))}_sendPlayerCommand(e,t=null,n={}){var i,r;n.endpoint=e;const a=(null===(i=n.logging_params)||void 0===i?void 0:i.command_id)||gi();n.logging_params=Object.assign(Object.assign({},n.logging_params),{command_id:a});const s={command:n};return this._tracker.startTracking({commandId:a,commandType:e,interactionIds:null===(r=null==n?void 0:n.loggingParams)||void 0===r?void 0:r.interaction_ids,playOrigin:null==n?void 0:n.play_origin}),this._resolveTargetDevice(t).then((e=>{if(!e.deviceId)throw new fi(o.CONNECTAPI_CLIENT_MISSING_DEVICE_ID,"Operation resulted in a null device id");!s.target_alias_id&&e.aliasId&&(s.target_alias_id=e.aliasId);const t=this._getTargetDeviceInfo(e.deviceId);return this._tracker.trackDeviceInfo(a,t),this._makeEndpoint("v1","player/command",e.deviceId)})).then((e=>this._sendRequest(Ci.I.POST,e,s,a))).then(this._awaitResponseWithAck.bind(this,a)).then((e=>(this._tracker.logCommand(a),e))).catch((e=>{throw this._tracker.logCommand(a),e}))}_sendConnectCommand(e,t=null,n={}){const i="volume"===e?Ci.I.PUT:Ci.I.POST,r="volume"===e||"logout"===e,a=(null==n?void 0:n.command_id)||gi();return this._tracker.startTracking({commandId:a,commandType:e,interactionIds:n.interaction_id?[n.interaction_id]:void 0}),this._resolveTargetDevice(t).then((t=>{if(!t.deviceId)throw new fi(o.CONNECTAPI_CLIENT_MISSING_DEVICE_ID,"Operation resulted in a null device id");t.aliasId&&(r?n.command_options={target_alias_id:t.aliasId}:n.target_alias_id||(n.target_alias_id=t.aliasId));const i=this._getTargetDeviceInfo(t.deviceId);return this._tracker.trackDeviceInfo(a,i),this._makeEndpoint("v1",`connect/${e}`,t.deviceId)})).then((e=>this._sendRequest(i,e,n,a))).then(this._awaitResponseWithAck.bind(this,a)).then((e=>(this._tracker.logCommand(a),e))).catch((e=>{throw this._tracker.logCommand(a),e}))}_sendRequest(e,t,n,i){return this._tracker.trackRequestStart(i),this._transport.request(t,{method:e,headers:{"Content-Type":"application/json"},payload:n?JSON.stringify(n):void 0,responseType:"json",retry:{condition:(e,t)=>{const n=e.getStatusFamily();return n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).catch((e=>Promise.reject(e)))}_awaitResponseWithAck(e,t){var n;if(this._tracker.trackRequestComplete(e,t),404===t.status)return Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_DEVICE,"No such device."));const i=null===(n=t.body)||void 0===n?void 0:n.ack_id;if(200===t.status&&i){const t=(0,l.u)();return this._tracker.trackAcknowledgementRequired(e,i,t),t.promise}return Promise.resolve(202===t.status&&!i)}_parseCluster(e){if(!e)return;const t=parseInt(e.timestamp,10);this._lastProcessedTimestamp>t||(this._lastProcessedTimestamp=t,this._parseClusterDevices(e),this._parseClusterPlayerState(e))}_parseClusterDevices(e){var t;const n=this._lastActiveDevice;this._lastActiveDevice=null,this._lastKnownDevices=[],this._localDevice=null;const i=[];for(const t in e.devices)e.devices.hasOwnProperty(t)&&i.push(t);if(i.sort(),i.length)for(const n of i){const i=this._formatClusterDevice(e,n);this._lastKnownDevices.push(...i);for(const n of i)n.is_active&&(this._lastActiveDevice=n),n.local&&(this._localDevice=n,this._deviceLicense=null===(t=e.devices[n.id])||void 0===t?void 0:t.license)}if(!this._fetchedInitialState||!E(this._lastActiveDevice,n)){const t=e.player_state,i=t&&Pi(t);this.emit("device_state_changed",{deviceState:this._lastActiveDevice,hasOrphanedState:!this._lastActiveDevice&&!!i,disappeared:!!n&&!this._lastActiveDevice})}this.emit("devices_changed",{devices:this._lastKnownDevices,localDevice:this._localDevice})}_shouldDisallowTransfer(e,t){var n,i,o;const r=e.player_state;if(!r)return null;const{track:a,restrictions:s}=r;if(a){let e=(null===(n=a.metadata)||void 0===n?void 0:n["media.type"])||(null===(i=a.metadata)||void 0===i?void 0:i.track_player);const r=null===(o=(0,Un.o_)(a.uri))||void 0===o?void 0:o.type;if(e&&"mixed"!==e||(e="audio"),-1===t.capabilities.supported_types.indexOf(`${e}/${r}`))return _.B.INCOMPATIBLE}if(s){const e=s.disallow_transferring_playback_reasons;if(null==e?void 0:e.length)for(const t of e)return wi[t]?wi[t]||null:_.B.UNSUPPORTED}const c=e.active_device_id;if(!t.can_play||c===t.device_id)return _.B.UNAVAILABLE;const l=e.devices[c];return(null==l?void 0:l.license)!==Oi.TFT||t.license===Oi.TFT&&t.device_type!==x.SMARTPHONE?null:_.B.PREMIUM_REQUIRED}_formatClusterDevice(e,t){const n=e.devices[t],i={};if(n&&Array.isArray(n.metadata))for(let e=0,t=n.metadata.length;e<t;e++){const t=n.metadata[e];i[t.type]=t.metadata}const{capabilities:o}=n,r=this._shouldDisallowTransfer(e,n),a={hidden:!1,id:n.device_id,client_id:n.client_id,is_active:n.device_id===e.active_device_id,is_controllable:!!o.is_controllable,is_observable:!!o.is_observable,local:n.device_id===this._localDeviceId,metadata:i,name:n.name,type:(n.device_type||x.UNKNOWN).toLowerCase(),brand:n.brand,model:n.model,version:n.device_software_version,volume:o.disable_volume?-1:n.volume/p||0,capabilities:{supports_lossless_audio:!!o.supports_lossless_audio,supports_dj:!!o.supports_dj},is_alias:!1,is_alias_group:!1,playback_features:{hifi_status:o.supports_hifi},is_group:!!n.is_group,is_being_activated:!1,disallow_transfer_reason:r};if(!n.device_aliases)return[a];const s=[];for(const e in n.device_aliases){if(!n.device_aliases.hasOwnProperty(e))continue;const t=n.device_aliases[e];if(!t)continue;const i=Object.assign(Object.assign({},a),{id:`${a.id}${Li}${t.id}`,name:t.display_name,is_alias:!0,is_alias_group:n.is_group||t.is_group,is_active:a.is_active&&n.selected_alias_id===t.id,is_group:!!t.is_group});s.push(i)}return s}_parseClusterPlayerState(e){this._lastKnownPlayerState=null;const t=e.active_device_id,n=t&&e.devices[t];let i=e.player_state;i&&i.track&&(n&&n.capabilities&&!n.capabilities.is_observable?i=null:(n||(i.is_paused=!0,i.restrictions&&(delete i.restrictions.disallow_resuming_reasons,i.restrictions.disallow_pausing_reasons=["already_paused"])),i.duration=parseInt(i.duration,10),i.position=parseInt(i.position,10),i.position_as_of_timestamp=parseInt(i.position_as_of_timestamp,10),i.timestamp=parseInt(i.timestamp,10),i.next_tracks=i.next_tracks||[],i.prev_tracks=i.prev_tracks||[]),this._lastKnownPlayerState=i);let o=!n&&!!this._lastKnownPlayerState;o&&i&&!Pi(i)&&(this._lastKnownPlayerState=null,o=!1),this.emit("player_state_changed",{playerState:this._lastKnownPlayerState,orphaned:o,isLocal:!!t&&t===this._localDeviceId})}_register(){this._fetchedInitialState=!1;const e=`${this._endpoint}/v1/devices/${this._localObserverDeviceId}`;return this._connectionId||Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_CONNECTION_ID,"Cannot register: no connection id.")),this._transport.request(e,{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json","X-Spotify-Connection-Id":this._connectionId},payload:JSON.stringify({member_type:"CONNECT_STATE",device:{device_info:{capabilities:{can_be_player:!1,hidden:!0,needs_full_player_state:!0}}}}),responseType:"json"}).then((e=>{429===e.status?this.emit("max_subscriptions_reached",{error:new fi(o.CONNECTAPI_MAX_SUBSCRIPTIONS_REACHED,"Max connections reached")}):200===e.status&&(this.emit("registered",null),e.body&&(this._parseCluster(e.body),this._fetchedInitialState=!0)),429!==e.status&&408!==e.status||(this._lastKnownDevices=this._lastKnownDevices.map((e=>(e.is_being_activated=!1,e))),this._localDevice&&(this._localDevice.is_being_activated=!1),this.emit("devices_changed",{devices:this._lastKnownDevices,localDevice:this._localDevice}))}))}_getTargetDeviceInfo(e){let t=null;const n=this._lastKnownDevices;for(const i of n)if(i.id===e){t=i;break}return t}register(){return this._connectionId?this._descriptorPromise.then(this._register.bind(this)):Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_CONNECTION_ID,"Cannot register: no connection id."))}deregister(){const e=`${this._endpoint}/v1/devices/${this._localObserverDeviceId}`;return this._transport.request(e,{method:"DELETE",responseType:"json"}).then((e=>{200===e.status&&this.emit("deregistered",null)}))}getDevices(){return this._fetchedInitialState?Promise.resolve({devices:this._lastKnownDevices,localDevice:this._localDevice}):new Promise((e=>{this.once("device_state_changed",(()=>{e({devices:this._lastKnownDevices,localDevice:this._localDevice})}))}))}getActiveDevice(){return this._fetchedInitialState?Promise.resolve(this._lastActiveDevice):new Promise((e=>{this.once("device_state_changed",(t=>{e(t.data.deviceState)}))}))}getDeviceLicense(){return this._deviceLicense||null}getContextPlayerState(){return this._fetchedInitialState?Promise.resolve(this._lastKnownPlayerState):new Promise((e=>{this.once("player_state_changed",(t=>{e(t.data.playerState)}))}))}play(e,t=null){return e?this._sendPlayerCommand("play",t,e):Promise.reject(new fi(o.CONNECTAPI_CLIENT_INVALID_ARGUMENTS,"Descriptor is required for play commands"))}updateCurrentContext(e=null,t){return this.getContextPlayerState().then((n=>n?n.session_id?n.context_url||t.forceNonUpdateable?this._sendPlayerCommand("update_context",e,{context:{url:t.contextURI?`context://${t.contextURI}`:n.context_url||`context://${n.context_uri}`},session_id:n.session_id}):Promise.resolve(!1):Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_SESSION_ID,"The current state does not have a session id")):Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"))))}setQueue(e,t){return this._sendPlayerCommand("set_queue",t,e)}addToQueue(e,t){return this._sendPlayerCommand("add_to_queue",t,{track:e})}transfer(e,t={}){var n,i;this._lastKnownDevices=this._lastKnownDevices.map((t=>(t.is_being_activated=t.id===e,t))),this._localDevice&&(this._localDevice.is_being_activated=e===d),this.emit("devices_changed",{devices:this._lastKnownDevices,localDevice:this._localDevice});const o={restore_paused:"restore"};return"paused"in t&&(o.restore_paused=t.paused?"pause":"resume"),this._sendConnectCommand("transfer",e||d,{transfer_options:o,interaction_id:null===(n=t.logging_params)||void 0===n?void 0:n.interaction_ids[0],command_id:null===(i=t.logging_params)||void 0===i?void 0:i.command_id})}pause(e,t){return this._sendPlayerCommand("pause",e,t)}resume(e,t){return this._sendPlayerCommand("resume",e,t)}togglePlay(e,t){return this.getContextPlayerState().then((n=>n?n.is_paused?this.resume(e,t):this.pause(e,t):Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"))))}nextTrack(e,t){return this._sendPlayerCommand("skip_next",e,t)}previousTrack(e,t){return this._sendPlayerCommand("skip_prev",e,t)}seek(e,t){return isNaN(e)||e<0?Promise.reject(new fi(o.CONNECTAPI_CLIENT_INVALID_POSITION,"Invalid position.")):this._sendPlayerCommand("seek_to",t,{value:e})}setShuffle(e,t,n){return this._sendPlayerCommand("set_shuffling_context",t,Object.assign({value:!!e},n))}toggleShuffle(e,t){return this.getContextPlayerState().then((n=>{if(!n)return Promise.reject(new fi(o.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"));const i=n.options&&n.options.shuffling_context;return this.setShuffle(!i,e,t)}))}setRepeatingContext(e,t){return this._sendPlayerCommand("set_repeating_context",t,{value:e})}setRepeatingTrack(e,t){return this._sendPlayerCommand("set_repeating_track",t,{value:!!e})}setOptions(e,t,n){return this._sendPlayerCommand("set_options",t,Object.assign(Object.assign({},e),n))}setVolume(e,t){if(isNaN(e)||e<0)return Promise.reject(new fi(o.CONNECTAPI_CLIENT_INVALID_VOLUME,"Invalid volume."));const n=Math.round(e*p);return this._sendConnectCommand("volume",t,{volume:n})}logout(e){return this._sendConnectCommand("logout",e)}sendCustomSignal(e,t){return this._sendPlayerCommand("signal",e,t)}playAsNextInQueue(e,t,n){return this._sendPlayerCommand("play_as_next_in_queue",t,Object.assign({tracks:e},n))}}var xi=n(44156);var Ui;!function(e){e.SUCCESS="success",e.ACK_TIMEOUT="ack_timeout",e.HTTP_ERROR="http_error",e.SYSTEM_ERROR="system_error",e.PLAYER_ERROR="player_error",e.UNKNOWN_ERROR="unknown_error"}(Ui||(Ui={}));class Vi{constructor(e){this._commandDataMap={},this._orphanedAcknowledgements={},this._logger=e}startTracking({commandId:e,commandType:t,interactionIds:n,playOrigin:i}){e&&(this._commandDataMap[e]={commandType:t,ackId:null,interactionIds:(n||[]).join(","),playOrigin:i?JSON.stringify(i):void 0,timings:{request:{start:null,end:null},acknowledgement:{start:null,end:null}}})}trackDeviceInfo(e,t){const n=this._commandDataMap[e];n&&t&&(n.deviceInfo={id:t.id,client_id:t.client_id,target_device_brand:t.brand,target_device_model:t.model})}trackRequestStart(e){const t=this._commandDataMap[e];if(!t)return;const n=(0,u.X)();t.timings.request.start=n,t.timings.acknowledgement.start=n}trackRequestComplete(e,t){const n=this._commandDataMap[e];n&&(n.response=t,n.timings.request.end=(0,u.X)())}trackAcknowledgementRequired(e,t,n){const i=this._commandDataMap[e],r=this._orphanedAcknowledgements[t];if(i)if(i.ackId=t,r)i.timings.acknowledgement.end=r.ackTimeMs,r.deferredPromise.resolve(!0),delete this._orphanedAcknowledgements[t];else{const e=setTimeout((()=>{n.reject(new fi(o.CONNECTAPI_CLIENT_ACK_TIMEOUT,"Command didn't receive an acknowledgement within 30000ms"))}),3e4);n.promise.then((t=>(clearTimeout(e),t))),i.deferredPromise=n}}trackCommandAcknowledged(e){const t=(0,u.X)();for(const n in this._commandDataMap){if(!this._commandDataMap.hasOwnProperty(n))continue;const i=this._commandDataMap[n];if(i&&i.ackId===e)return i.deferredPromise&&i.deferredPromise.resolve(!0),void(i.timings.acknowledgement.end=t)}this._waitingOnCommands()&&(this._orphanedAcknowledgements[e]={deferredPromise:(0,l.u)(),ackTimeMs:t},setTimeout((()=>{this._orphanedAcknowledgements[e]&&delete this._orphanedAcknowledgements[e]}),6e4))}logCommand(e){var t;const n=this._commandDataMap[e];if(!n)return Promise.resolve();const i=this._finalizeData(n),{msAckDuration:o,msRequestLatency:r}=this._calculateTimings(n.timings),a={command_id:e,command_type:n.commandType,ms_ack_duration:null!=o?o:null,ms_request_latency:r,interaction_ids:n.interactionIds,play_origin:n.playOrigin,result:i,http_response:n.httpResponse,http_status_code:null===(t=n.response)||void 0===t?void 0:t.status};n.deviceInfo&&(a.target_device_id=n.deviceInfo.id,a.target_device_brand=n.deviceInfo.target_device_brand,a.target_device_model=n.deviceInfo.target_device_model,a.target_device_client_id=n.deviceInfo.client_id);const s=()=>{delete this._commandDataMap[e]};return this._logger.logJSSDKConnectCommand(a).then(s,s)}_finalizeData(e){if(!e.response)return Ui.UNKNOWN_ERROR;const t=e.response.status,n=e.response.getStatusFamily();return 403===t?(e.response.body&&(e.httpResponse=JSON.stringify(e.response.body)),Ui.PLAYER_ERROR):200===t&&e.ackId&&null===e.timings.acknowledgement.end?Ui.ACK_TIMEOUT:n===xi.t.SUCCESS?Ui.SUCCESS:n===xi.t.CONNECTION_ERROR?Ui.SYSTEM_ERROR:t?(e.response.body&&(e.httpResponse=JSON.stringify(e.response.body)),Ui.HTTP_ERROR):Ui.UNKNOWN_ERROR}_calculateTimings(e){const t={};return e.request.start&&e.request.end&&(t.msRequestLatency=(0,u.r)(e.request.start,e.request.end)),e.acknowledgement.start&&e.acknowledgement.end&&(t.msAckDuration=(0,u.r)(e.acknowledgement.start,e.acknowledgement.end)),t}_waitingOnCommands(){let e=!1;for(const t in this._commandDataMap){if(!this._commandDataMap.hasOwnProperty(t))continue;const n=this._commandDataMap[t];if(n&&!n.response){e=!0;break}}return e}}const Fi=Object.assign(Object.assign(Object.assign({},o),r.L),i);function Bi(e){var t;const n=e.transport;if(!n)throw new TypeError("No Transport instance provided");const i=function(e){return J.create(e)}(Object.assign(Object.assign({},e.client),{transport:n,hidden:!!e.hidden,playTokenLostBehavior:e.playTokenLostBehavior||(e.hidden&&!e.onlyLocalState?"stop":"pause")})),o=e.streamer||{},r=e.controller||{};let a,s=!1;e.streamer&&e.streamer.disabled?(e.hidden=!0,e.onlyLocalState=!1,e.claimInactivePlayerStates=!1,s=!0):(a=ui(i,o),r.autoregister=!1,e.onlyLocalState&&(r.decorateTrackWindow=!1,r.disableProgress=!0));const c=function(e,t={}){const n=e.getPublicTransport(),i=e.getVersionDescriptor().tagged,o=Mi.create({autoregister:!("autoregister"in t)||t.autoregister,descriptor:e.getClientDescriptor(),transport:n,tracker:new Vi(e.getLogger())});return Ii.create({client:e,playerClient:o,version:i,serverTime:pi.create(n),decorateTrackWindow:"boolean"!=typeof t.decorateTrackWindow||t.decorateTrackWindow,disableProgress:t.disableProgress})}(i,r);return I.create({transport:n,client:i,streamer:a,controller:c,enableControllerWithoutStreamer:s,hidden:e.hidden,onlyLocalState:e.onlyLocalState,claimInactivePlayerStates:e.claimInactivePlayerStates,forceRemoteActions:e.forceRemoteActions,autoActivateElement:null!==(t=e.autoActivateElement)&&void 0!==t?t:"undefined"!=typeof WebKitMediaKeys,experimentalDeactivateOnStop:e.experimentalDeactivateOnStop})}},9926:(e,t,n)=>{"use strict";n.d(t,{qY:()=>T,ns:()=>I});var i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},o=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e};function r(e,t){return t.map((function(t){return e+"="+t+"&"})).join("")}function a(e){var t=e.body,n=Object.keys(t||{});if(t&&n.length>0){var i=t[n[0]],o=i.click_actions,r=i.html_content,a=i.impression_url;return{actions:o,format:i.creative_type,htmlContent:r,impressionUrl:a}}}function s(e,t){var n={"App-Platform":e.platform,"Content-Type":"application/json","X-Client-Id":e.clientId};return t&&(n["X-Spotify-Quicksilver-Uri"]=t),{method:"GET",authorize:!0,headers:n,rejectNotOk:!0,responseType:"json"}}function c(e){return"prod"===e?"quicksilver/v2/":"quicksilverdev/v2/"}var l=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},u=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e};function d(e){var t,n=e.formats,i=e.triggers,r=[];return 0===n.length&&r.push("No format included in request."),0===i.length&&r.push("No trigger included in request."),(t=i.map((function(e){return e.type})),o(new Set(t))).length>1&&r.push("Triggers must all be of the same type."),r}function p(e,t){var n=t.actions,i=t.app,o=t.appUri,l=t.enableLogs,p=t.formats,h=t.locale,f=t.env,m=t.triggers,_=d({formats:p,triggers:m});return _.length>0?(l&&console.error("In-App Messaging: Please fix the following request errors: "+_.join(" ")),Promise.resolve(void 0)):e.request.apply(e,u(function(e){var t=e.actions,n=e.app,i=e.appUri,o=e.formats,a=e.locale,l=e.env,u=e.triggers,d=c(l),p=u.map((function(e){return encodeURIComponent(e.pattern)})),h=r("trigger",p),f=r("ctv_type",o),m=r("action",t),_="@webgate/"+d+"messages?"+f+h+m+"locale="+a+"&trig_type="+u[0].type;return[_,s(n,i)]}({actions:n,app:i,appUri:o,formats:p,locale:h,env:f,triggers:m}))).then((function(e){return a(e)}))}var h=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},f=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e};function m(e,t){var n=t.app,i=t.appUri,o=t.creativeId,r=t.enableLogs,l=t.locale,u=t.env,d=function(e){var t=e.creativeId,n=[];return Number.isInteger(Number(t))||n.push("Invalid creative id."),n}({creativeId:o});return d.length>0?(r&&console.error("In-App Messaging: Please fix the following preview request errors: "+d.join(" ")),Promise.resolve(void 0)):e.request.apply(e,f(function(e){var t=e.app,n=e.appUri,i=e.creativeId,o=e.locale,r=e.env,a=c(r),l=encodeURIComponent("spotify:home"),u="@webgate/"+a+"preview?trigger="+l+"&locale="+o+"&trig_type=URI&return_messages=true&relay_creative=true&creative_id="+i;return[u,s(t,n)]}({app:n,appUri:i,creativeId:o,locale:l,env:u}))).then((function(e){return a(e)}))}var _=function(e){var t=e.actions,n=e.app,i=e.enableLogs,o=e.formats,a=e.locale,l=e.transport;return{requestMessage:function(e){var r=e.appUri,s=e.env,c=e.triggers;return p(l,{actions:t,app:n,appUri:r,enableLogs:i,formats:o,locale:a,env:s,triggers:c})},previewMessage:function(e){var t=e.appUri,o=e.creativeId,r=e.env;return m(l,{app:n,appUri:t,creativeId:o,enableLogs:i,locale:a,env:r})},getTriggers:function(e,t){return function(e,t){var n=t.app,i=t.triggerTypes,o=t.env,a=t.formats,s="@webgate/"+c(o)+"triggers?"+r("trig_type",i)+r("ctv_type",a);return e.request(s,{method:"GET",authorize:!0,headers:{"App-Platform":n.platform,"Content-Type":"application/json","X-Client-Id":n.clientId},rejectNotOk:!0,responseType:"json"}).then((function(e){return function(e){return e.body||[]}(e)})).catch((function(){return[]}))}(l,{app:n,formats:o,env:t,triggerTypes:e})},track:function(e){return function(e,t,n){e.request(t,s(n))}(l,e,n)}}},g=["DISMISS","URL","EXTERNAL_URL","SELECT_OPTION"];function E(e,t,n){var i=document.createElement("iframe");return i.srcdoc=e.htmlContent,i.addEventListener("load",(function(){!function(e,t,n){var i=e.contentDocument,o=e.contentWindow;i&&i.querySelectorAll("[data-click-to-action-id]").forEach((function(e){o&&e instanceof o.HTMLElement&&e.addEventListener("click",(function(e){var i,r=e.currentTarget;if(r instanceof o.HTMLElement||r instanceof HTMLElement){var a=r.dataset.clickToActionId,s=a&&t[a];s&&(i=s.action,g.some((function(e){return e===i})))&&n(s)}}))}))}(i,e.actions,n),function(e){var t=e.contentDocument;t&&(e.style.width=(t.body.getAttribute("data-iframe-width")||v)+"px",e.style.height=t.body.scrollHeight+"px")}(i),t()}),{once:!0}),i}var v=500;var y=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a},b=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e},S=6e5,T={CONNECTED:"CONNECTED"},A={actions:b(g),app:{clientId:"",platform:""},formats:b(["web-modal","web-banner","web-tooltip"]),locale:"en",env:"prod",triggerTypes:b(["URI","PLAYBACK_STARTED","CLIENT_EVENT"])};function I(e,t){void 0===t&&(t=A);var n,i=t.actions,o=t.app,r=t.enableLogs,a=void 0!==r&&r,s=t.locale,c=t.formats,l=t.env,u=t.triggerTypes,d=l,p=_({transport:e,actions:i,app:o,formats:c,locale:s,enableLogs:a}),h=[],f={};function m(){return p.getTriggers(u,d).then((function(e){h=e,a&&console.log("In-App Messaging: Triggers requested from "+d+" endpoint: ",e)}))}function g(e){if(e){if(c.includes(e.format))return e;a&&console.log('In-App Messaging: Requested message has an unsupported format "'+e.format+'" and was discarded')}}function v(){m().then((function(){var e,t;e=T.CONNECTED,t=f[e],a&&console.log("In-App Messaging Event Emitted: ",e),t&&t.forEach((function(e){"function"==typeof e&&e()}))})),n=window.setInterval(m,S)}function y(){clearInterval(n),h=[]}return{getEnv:function(){return d},setEnv:function(e){e!==d&&(a&&console.log("In-App Messaging: env switched to "+e),d=e,y(),v())},start:v,stop:y,on:function(e,t){!function(e,t){f[e]||(f[e]=[]),f[e].push(t)}(e,t)},requestMessage:function(e){var t=e.appUri,n=e.trigger,i=h.filter((function(e){return c.includes(e.format)&&function(e,t){return t.type===e.type&&new RegExp(t.pattern.replace("?",".+")).test(e.pattern)}(n,e)}));return 0===i.length?Promise.resolve(void 0):p.requestMessage({appUri:t,env:d,triggers:i}).then(g)},previewMessage:function(e){var t=e.appUri,n=e.creativeId;return p.previewMessage({appUri:t,creativeId:n,env:d}).then(g)},createIframe:function(e,t){return E(e,(function(){p.track(e.impressionUrl)}),(function(e){p.track(e.tracking_url),t(e)}))}}}},20556:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.silly=t.verbose=t.debug=t.info=t.warn=t.error=t.log=t.logger=t.default=void 0;var o=n(33086);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i(o).default}}),Object.defineProperty(t,"logger",{enumerable:!0,get:function(){return o.logger}}),Object.defineProperty(t,"log",{enumerable:!0,get:function(){return o.log}}),Object.defineProperty(t,"error",{enumerable:!0,get:function(){return o.error}}),Object.defineProperty(t,"warn",{enumerable:!0,get:function(){return o.warn}}),Object.defineProperty(t,"info",{enumerable:!0,get:function(){return o.info}}),Object.defineProperty(t,"debug",{enumerable:!0,get:function(){return o.debug}}),Object.defineProperty(t,"verbose",{enumerable:!0,get:function(){return o.verbose}}),Object.defineProperty(t,"silly",{enumerable:!0,get:function(){return o.silly}})},33086:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.silly=t.verbose=t.debug=t.info=t.warn=t.error=t.log=t.logger=void 0,t.logger={log:(...e)=>console.log(...e),error:(...e)=>console.error(...e),warn:(...e)=>console.warn(...e),info:(...e)=>console.info(...e),debug:(...e)=>console.debug(...e),verbose:(...e)=>console.log("verbose:",...e),silly:(...e)=>console.log("silly:",...e)},t.default=t.logger,t.log=t.logger.log.bind(t.logger),t.error=t.logger.error.bind(t.logger),t.warn=t.logger.warn.bind(t.logger),t.info=t.logger.info.bind(t.logger),t.debug=t.logger.debug.bind(t.logger),t.verbose=t.logger.verbose.bind(t.logger),t.silly=t.logger.silly.bind(t.logger)},22239:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});const i="Node already exists in another list!";class o{constructor(e){this.listId=null,this.key="",this.prev=null,this.next=null,this.value=null,this.value=e}}class r{constructor(){this._id={},this.length=0,this.first=null,this.last=null}append(e){if(e.listId)throw new Error(i);return e.listId=this._id,this.first?this.last&&(e.prev=this.last,e.next=null,this.last.next=e,this.last=e):(this.first=e,this.last=e),++this.length}insertAfter(e,t){if(t.listId)throw new Error(i);return t.listId=this._id,t.prev=e,t.next=e.next,e.next&&(e.next.prev=t),e.next=t,t.prev===this.last&&(this.last=t),++this.length}remove(e){return!(!this.length||e.listId!==this._id)&&(this.length>1?(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e===this.first?this.first=e.next:e===this.last&&(this.last=e.prev)):(this.first=null,this.last=null),e.listId=null,e.prev=null,e.next=null,this.length--,!0)}}class a{constructor(e){this._limit=100,this._list=new r,this._map={},this._limit=e}get(e){const t=this._map[e];if(!t)return null;const n=this._list;return n.remove(t),n.append(t),t.value}set(e,t){if(!e)throw new TypeError("Cache key cannot be empty.");const n=this._list,i=this._map;if(n.length>=this._limit){const e=n.first;i[e.key]=null,n.remove(e)}let r=i[e];r?(n.remove(r),r.value=t):(r=new o(t),r.key=e),n.append(r),i[e]=r}remove(e){const t=this._map,n=t[e];return n?(this._list.remove(n),t[e]=null,n.value):null}keys(){const e=[];let t=this._list.first;for(;t;)e.push(t.key),t=t.next;return e.reverse()}values(){const e=[];let t=this._list.first;for(;t;)e.push(t.value),t=t.next;return e.reverse()}size(){return this._list.length}clear(){const e=this._list.length;return this._list=new r,this._map={},e}}},38461:(e,t,n)=>{"use strict";n.d(t,{wi:()=>an,t5:()=>ae,tE:()=>rn,JM:()=>sn});var i=n(86070),o=n(30758);function r(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}function a(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}var s,c,l,u,d=function(){},p=d(),h=Object,f=function(e){return e===p},m=function(e){return"function"==typeof e},_=function(e,t){return h.assign({},e,t)},g="undefined",E=function(){return typeof window!=g},v=new WeakMap,y=0,b=function(e){var t,n,i=typeof e,o=e&&e.constructor,r=o==Date;if(h(e)!==e||r||o==RegExp)t=r?e.toJSON():"symbol"==i?e.toString():"string"==i?JSON.stringify(e):""+e;else{if(t=v.get(e))return t;if(t=++y+"~",v.set(e,t),o==Array){for(t="@",n=0;n<e.length;n++)t+=b(e[n])+",";v.set(e,t)}if(o==h){t="#";for(var a=h.keys(e).sort();!f(n=a.pop());)f(e[n])||(t+=n+":"+b(e[n])+",");v.set(e,t)}}return t},S=!0,T=E(),A=typeof document!=g,I=T&&window.addEventListener?window.addEventListener.bind(window):d,O=A?document.addEventListener.bind(document):d,C=T&&window.removeEventListener?window.removeEventListener.bind(window):d,R=A?document.removeEventListener.bind(document):d,N={isOnline:function(){return S},isVisible:function(){var e=A&&document.visibilityState;return f(e)||"hidden"!==e}},P={initFocus:function(e){return O("visibilitychange",e),I("focus",e),function(){R("visibilitychange",e),C("focus",e)}},initReconnect:function(e){var t=function(){S=!0,e()},n=function(){S=!1};return I("online",t),I("offline",n),function(){C("online",t),C("offline",n)}}},L=!E()||"Deno"in window,k=function(e){return E()&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1)},w=L?o.useEffect:o.useLayoutEffect,D="undefined"!=typeof navigator&&navigator.connection,M=!L&&D&&(["slow-2g","2g"].includes(D.effectiveType)||D.saveData),x=function(e){if(m(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?b(e):"",t,e?"$swr$"+e:""]},U=new WeakMap,V=function(e,t,n,i,o,r,a){void 0===a&&(a=!0);var s=U.get(e),c=s[0],l=s[1],u=s[3],d=c[t],p=l[t];if(a&&p)for(var h=0;h<p.length;++h)p[h](n,i,o);return r&&(delete u[t],d&&d[0])?d[0](2).then((function(){return e.get(t)})):e.get(t)},F=0,B=function(){return++F},H=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r(void 0,void 0,void 0,(function(){var t,n,i,o,r,s,c,l,u,d,h,g,E,v,y,b,S,T,A,I,O;return a(this,(function(a){switch(a.label){case 0:if(t=e[0],n=e[1],i=e[2],o=e[3],s=!!f((r="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||r.populateCache,c=!1!==r.revalidate,l=!1!==r.rollbackOnError,u=r.optimisticData,d=x(n),h=d[0],g=d[2],!h)return[2];if(E=U.get(t),v=E[2],e.length<3)return[2,V(t,h,t.get(h),p,p,c,!0)];if(y=i,S=B(),v[h]=[S,0],T=!f(u),A=t.get(h),T&&(I=m(u)?u(A):u,t.set(h,I),V(t,h,I)),m(y))try{y=y(t.get(h))}catch(e){b=e}return y&&m(y.then)?[4,y.catch((function(e){b=e}))]:[3,2];case 1:if(y=a.sent(),S!==v[h][0]){if(b)throw b;return[2,y]}b&&T&&l&&(s=!0,y=A,t.set(h,A)),a.label=2;case 2:return s&&(b||(m(s)&&(y=s(y,A)),t.set(h,y)),t.set(g,_(t.get(g),{error:b}))),v[h][1]=B(),[4,V(t,h,y,b,p,c,!!s)];case 3:if(O=a.sent(),b)throw b;return[2,s?O:y]}}))}))},G=function(e,t){for(var n in e)e[n][0]&&e[n][0](t)},W=function(e,t){if(!U.has(e)){var n=_(P,t),i={},o=H.bind(p,e),r=d;if(U.set(e,[i,{},{},{},o]),!L){var a=n.initFocus(setTimeout.bind(p,G.bind(p,i,0))),s=n.initReconnect(setTimeout.bind(p,G.bind(p,i,1)));r=function(){a&&a(),s&&s(),U.delete(e)}}return[e,o,r]}return[e,U.get(e)[4]]},j=W(new Map),Y=j[0],z=j[1],K=_({onLoadingSlow:d,onSuccess:d,onError:d,onErrorRetry:function(e,t,n,i,o){var r=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!f(r)&&a>r||setTimeout(i,s,o)},onDiscarded:d,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:M?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:M?5e3:3e3,compare:function(e,t){return b(e)==b(t)},isPaused:function(){return!1},cache:Y,mutate:z,fallback:{}},N),J=function(e,t){var n=_(e,t);if(t){var i=e.use,o=e.fallback,r=t.use,a=t.fallback;i&&r&&(n.use=i.concat(r)),o&&a&&(n.fallback=_(o,a))}return n},q=(0,o.createContext)({}),X=function(e,t,n){var i=t[e]||(t[e]=[]);return i.push(n),function(){var e=i.indexOf(n);e>=0&&(i[e]=i[i.length-1],i.pop())}},$={dedupe:!0},Z=(h.defineProperty((function(e){var t=e.value,n=J((0,o.useContext)(q),t),i=t&&t.provider,r=(0,o.useState)((function(){return i?W(i(n.cache||Y),t):p}))[0];return r&&(n.cache=r[0],n.mutate=r[1]),w((function(){return r?r[2]:p}),[]),(0,o.createElement)(q.Provider,_(e,{value:n}))}),"default",{value:K}),s=function(e,t,n){var i=n.cache,s=n.compare,c=n.fallbackData,l=n.suspense,u=n.revalidateOnMount,d=n.refreshInterval,h=n.refreshWhenHidden,g=n.refreshWhenOffline,E=U.get(i),v=E[0],y=E[1],b=E[2],S=E[3],T=x(e),A=T[0],I=T[1],O=T[2],C=(0,o.useRef)(!1),R=(0,o.useRef)(!1),N=(0,o.useRef)(A),P=(0,o.useRef)(t),D=(0,o.useRef)(n),M=function(){return D.current},F=function(){return M().isVisible()&&M().isOnline()},G=function(e){return i.set(O,_(i.get(O),e))},W=i.get(A),j=f(c)?n.fallback[A]:c,Y=f(W)?j:W,z=i.get(O)||{},K=z.error,J=!C.current,q=function(){return J&&!f(u)?u:!M().isPaused()&&(l?!f(Y)&&n.revalidateIfStale:f(Y)||n.revalidateIfStale)},Z=!(!A||!t)&&(!!z.isValidating||J&&q()),Q=function(e,t){var n=(0,o.useState)({})[1],i=(0,o.useRef)(e),r=(0,o.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,o.useCallback)((function(e){var o=!1,a=i.current;for(var s in e){var c=s;a[c]!==e[c]&&(a[c]=e[c],r.current[c]&&(o=!0))}o&&!t.current&&n({})}),[]);return w((function(){i.current=e})),[i,r.current,a]}({data:Y,error:K,isValidating:Z},R),ee=Q[0],te=Q[1],ne=Q[2],ie=(0,o.useCallback)((function(e){return r(void 0,void 0,void 0,(function(){var t,o,r,c,l,u,d,h,_,g,E,v,y;return a(this,(function(a){switch(a.label){case 0:if(t=P.current,!A||!t||R.current||M().isPaused())return[2,!1];c=!0,l=e||{},u=!S[A]||!l.dedupe,d=function(){return!R.current&&A===N.current&&C.current},h=function(){var e=S[A];e&&e[1]===r&&delete S[A]},_={isValidating:!1},g=function(){G({isValidating:!1}),d()&&ne(_)},G({isValidating:!0}),ne({isValidating:!0}),a.label=1;case 1:return a.trys.push([1,3,,4]),u&&(V(i,A,ee.current.data,ee.current.error,!0),n.loadingTimeout&&!i.get(A)&&setTimeout((function(){c&&d()&&M().onLoadingSlow(A,n)}),n.loadingTimeout),S[A]=[t.apply(void 0,I),B()]),y=S[A],o=y[0],r=y[1],[4,o];case 2:return o=a.sent(),u&&setTimeout(h,n.dedupingInterval),S[A]&&S[A][1]===r?(G({error:p}),_.error=p,E=b[A],!f(E)&&(r<=E[0]||r<=E[1]||0===E[1])?(g(),u&&d()&&M().onDiscarded(A),[2,!1]):(s(ee.current.data,o)?_.data=ee.current.data:_.data=o,s(i.get(A),o)||i.set(A,o),u&&d()&&M().onSuccess(o,A,n),[3,4])):(u&&d()&&M().onDiscarded(A),[2,!1]);case 3:return v=a.sent(),h(),M().isPaused()||(G({error:v}),_.error=v,u&&d()&&(M().onError(v,A,n),("boolean"==typeof n.shouldRetryOnError&&n.shouldRetryOnError||m(n.shouldRetryOnError)&&n.shouldRetryOnError(v))&&F()&&M().onErrorRetry(v,A,n,ie,{retryCount:(l.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return c=!1,g(),d()&&u&&V(i,A,_.data,_.error,!1),[2,!0]}}))}))}),[A]),oe=(0,o.useCallback)(H.bind(p,i,(function(){return N.current})),[]);if(w((function(){P.current=t,D.current=n})),w((function(){if(A){var e=A!==N.current,t=ie.bind(p,$),n=0,i=X(A,y,(function(e,t,n){ne(_({error:t,isValidating:n},s(ee.current.data,e)?p:{data:e}))})),o=X(A,v,(function(e){if(0==e){var i=Date.now();M().revalidateOnFocus&&i>n&&F()&&(n=i+M().focusThrottleInterval,t())}else if(1==e)M().revalidateOnReconnect&&F()&&t();else if(2==e)return ie()}));return R.current=!1,N.current=A,C.current=!0,e&&ne({data:Y,error:K,isValidating:Z}),q()&&(f(Y)||L?t():k(t)),function(){R.current=!0,i(),o()}}}),[A,ie]),w((function(){var e;function t(){var t=m(d)?d(Y):d;t&&-1!==e&&(e=setTimeout(n,t))}function n(){ee.current.error||!h&&!M().isVisible()||!g&&!M().isOnline()?t():ie($).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[d,h,g,ie]),(0,o.useDebugValue)(Y),l&&f(Y)&&A)throw P.current=t,D.current=n,R.current=!1,f(K)?ie($):K;return{mutate:oe,get data(){return te.data=!0,Y},get error(){return te.error=!0,K},get isValidating(){return te.isValidating=!0,Z}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=_(K,(0,o.useContext)(q)),i=function(e){return m(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]}(e),r=i[0],a=i[1],c=i[2],l=J(n,c),u=s,d=l.use;if(d)for(var p=d.length;p-- >0;)u=d[p](u);return u(r,a||l.fetcher,l)}),Q=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},ee=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},te=function(){return te=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},te.apply(this,arguments)},ne=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},ie=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},oe=(0,o.createContext)(null),re=function(e){var t=e.market,n=e.language,o=e.children,r=function(e,t,n,i){var o=Z("masthead-data",(function(){return ne(void 0,void 0,void 0,(function(){return ie(this,(function(o){switch(o.label){case 0:return[4,(r={market:e,language:t,testFeature:n,excludePlanLinks:i},Q(void 0,void 0,void 0,(function(){var e,t,n,i,o,a,s,c;return ee(this,(function(l){switch(l.label){case 0:return e=r.language,t=r.market,n=r.testFeature,i=r.excludePlanLinks,o=window.location.origin.includes(".com"),a=o?"https://www.spotify.com":"https://www-testing.spotify.net",s=n?"&testFeature=".concat(n):"",c=i?"&excludePlanLinks=true":"",[4,fetch("".concat(a,"/api/masthead/v1/masthead?market=").concat(t,"&language=").concat(e).concat(s).concat(c),{credentials:"include"})];case 1:return[4,l.sent().json()];case 2:return[2,l.sent()]}}))})))];case 1:return[2,o.sent()]}var r}))}))}),{errorRetryCount:2}).data;return null!=o?o:null}(t,n,e.testFeature,e.excludePlanLinks);return(0,i.jsx)(oe.Provider,te({value:r},{children:o}))},ae=function(e){var t=e.market,n=e.language,o=e.children,r=e.testFeature,a=e.excludePlanLinks,s=e.masthead,c=null!=s?s:null;return!c&&t&&n?(0,i.jsx)(re,te({market:t,language:n,testFeature:r,excludePlanLinks:a},{children:o})):(0,i.jsx)(oe.Provider,te({value:c},{children:o}))};!function(e){e.UNKNOWN="UNKNOWN",e.NORMAL="normal",e.CONDENSED="condensed",e.MESSAGES_ONLY="messagesOnly"}(c||(c={})),function(e){e.INSTAGRAM="Instagram",e.TWITTER="Twitter",e.FACEBOOK="Facebook"}(l||(l={})),function(e){e.CCPA="Ccpa"}(u||(u={}));u.CCPA;var se,ce=n(60386),le=n(71306),ue=n(6826),de=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},pe=(ce.Ay.div.withConfig({displayName:"Header__StyledHeader",componentId:"sc-1f904ys-0"})(se||(se=de(["\n background-color: ",";\n height: 56px;\n @media (min-width: ",") {\n height: 53px;\n }\n @media (min-width: ",") {\n height: 56px;\n }\n color: ",";\n"],["\n background-color: ",";\n height: 56px;\n @media (min-width: ",") {\n height: 53px;\n }\n @media (min-width: ",") {\n height: 56px;\n }\n color: ",";\n"])),le.fx6,ue.Dg,ue.e4,le.LLE),n(21953)),he=n(27844),fe=n(23938),me=n(75834),_e=n(78495),ge=(0,n(76578).Ay)(o.forwardRef((function(e,t){return o.createElement(_e.Y,Object.assign({semanticColor:"textBase",standalone:!0,ref:t},e))}))).withConfig({displayName:"Link",componentId:"sc-fe80qw-0"})(["display:block;",";"],(0,me.fn)());var Ee,ve,ye=o.forwardRef((function(e,t){var n=e.target&&"_blank"===e.target?"noopener noreferrer":void 0;return o.createElement(ge,Object.assign({},e,{ref:t,rel:n}))})),be=n(31322),Se=n(72973),Te=n(14693),Ae=n(31508),Ie=(0,Te.createSemanticMetrics)({key:"masthead",reporter:(0,Te.createUniversalReporter)()}).sendMetric;!function(e){e.MASTHEAD="masthead"}(Ee||(Ee={})),function(e){e.CLICK="click",e.CTA_CLICK="cta-click",e.FETCH_MASTHEAD="fetch-masthead",e.FETCH_MASTHEAD_ERROR="fetch-masthead-error"}(ve||(ve={}));var Oe,Ce,Re,Ne,Pe=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Le=function(){return Le=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Le.apply(this,arguments)},ke=(0,ce.Ay)(fe.b).withConfig({displayName:"TopLinksGroup__TypeListGroup",componentId:"sc-1l437nc-0"})(Oe||(Oe=Pe(["\n padding-inline-start: 0;\n"],["\n padding-inline-start: 0;\n"]))),we=ce.Ay.div.withConfig({displayName:"TopLinksGroup__LinksGroup",componentId:"sc-1l437nc-1"})(Ce||(Ce=Pe(["\n margin-bottom: ",";\n\n p {\n color: ",";\n }\n\n @media (min-width: ",") {\n ",";\n ",";\n\n [dir='rtl'] & {\n margin-right: 0;\n ","\n }\n }\n\n @media (min-width: ",") {\n ",";\n }\n"],["\n margin-bottom: ",";\n\n p {\n color: ",";\n }\n\n @media (min-width: ",") {\n ",";\n ",";\n\n [dir='rtl'] & {\n margin-right: 0;\n ","\n }\n }\n\n @media (min-width: ",") {\n ",";\n }\n"])),pe.WG,le.LLE,ue.Dg,(function(e){return e.columnWidth?"width: ".concat(e.columnWidth):"width: 40%"}),(function(e){return e.columnGap?"margin-right: ".concat(e.columnGap):"margin-right: ".concat(pe.lT)}),(function(e){return e.columnGap?"margin-left: ".concat(e.columnGap):"margin-left: ".concat(pe.lT)}),ue.e4,(function(e){return e.columnWidth?"width: ".concat(e.columnWidth):"width: 20%"})),De=(0,ce.Ay)(ye).withConfig({displayName:"TopLinksGroup__MastheadFooterLink",componentId:"sc-1l437nc-2"})(Re||(Re=Pe(["\n margin: "," 0;\n width: fit-content;\n span:hover {\n color: ",";\n }\n"],["\n margin: "," 0;\n width: fit-content;\n span:hover {\n color: ",";\n }\n"])),pe.v4,le.LLE),Me=function(e){var t=e.title,n=e.links,o=e.columnWidth,r=e.columnGap;return t&&n?(0,i.jsx)(we,Le({columnWidth:o,columnGap:r},{children:(0,i.jsxs)(ke,{children:[(0,i.jsx)(be.Z,Le({as:"p",variant:"balladBold"},{children:t})),n.map((function(e){return(0,i.jsx)(De,Le({role:"link",href:e.href,semanticColor:Se.ZI.textSubdued,onClick:function(){return t=e.href,n=e.dataAttributes["data-ga-action"],Ie({metric_type:Te.MetricTypes.COUNTER,what:ve.CTA_CLICK,value:1}),void(0,Ae.sendWwwAnalyticsAgnostic)({category:Ee.MASTHEAD,action:ve.CLICK,label:n,destination_url:t});var t,n}},e.dataAttributes,{children:(0,i.jsx)(be.Z,Le({variant:"ballad",paddingBottom:pe.v4},{children:e.title}))}),e.href)}))]})})):null},xe=function(e){var t,n,r,a,s=e.columnWidth,c=e.columnGap,l=(0,o.useContext)(oe),u=null===(n=null===(t=null==l?void 0:l.footer)||void 0===t?void 0:t.topLinkGroups[0])||void 0===n?void 0:n.title,d=null===(a=null===(r=null==l?void 0:l.footer)||void 0===r?void 0:r.topLinkGroups[0])||void 0===a?void 0:a.links;return(0,i.jsx)(Me,{title:u,links:d,columnWidth:s,columnGap:c})},Ue=function(e){var t,n,r,a,s=e.columnWidth,c=e.columnGap,l=(0,o.useContext)(oe),u=null===(n=null===(t=null==l?void 0:l.footer)||void 0===t?void 0:t.topLinkGroups[1])||void 0===n?void 0:n.title,d=null===(a=null===(r=null==l?void 0:l.footer)||void 0===r?void 0:r.topLinkGroups[1])||void 0===a?void 0:a.links;return(0,i.jsx)(Me,{title:u,links:d,columnWidth:s,columnGap:c})},Ve=function(e){var t,n,r,a,s=e.hideWebPlayerLink,c=e.columnWidth,l=e.columnGap,u=(0,o.useContext)(oe),d=null===(n=null===(t=null==u?void 0:u.footer)||void 0===t?void 0:t.topLinkGroups[2])||void 0===n?void 0:n.title,p=null===(a=null===(r=null==u?void 0:u.footer)||void 0===r?void 0:r.topLinkGroups[2])||void 0===a?void 0:a.links.filter((function(e){return!s||"https://open.spotify.com/"!==e.href}));return(0,i.jsx)(Me,{title:d,links:p,columnWidth:c,columnGap:l})},Fe=function(e){var t,n,r,a,s=e.columnWidth,c=e.columnGap,l=(0,o.useContext)(oe),u=null===(n=null===(t=null==l?void 0:l.footer)||void 0===t?void 0:t.topLinkGroups[3])||void 0===n?void 0:n.title,d=null===(a=null===(r=null==l?void 0:l.footer)||void 0===r?void 0:r.topLinkGroups[3])||void 0===a?void 0:a.links;return(0,i.jsx)(Me,{title:u,links:d,columnWidth:s,columnGap:c})};!function(e){e.ADDITIONAL_CLASSES="additionalClassNames",e.ADDITIONAL_IDS="additionalIds"}(Ne||(Ne={}));var Be=function(e,t){var n;return e[t]?null===(n=e[t])||void 0===n?void 0:n.join(" "):""},He=function(){return He=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},He.apply(this,arguments)};const Ge=function(){return(0,i.jsxs)("svg",He({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 30 14","aria-labelledby":"ccpa-svg-title",style:{width:"25px",paddingLeft:pe.vw,paddingBottom:pe.vw}},{children:[(0,i.jsx)("title",He({id:"ccpa-svg-title"},{children:"California Consumer Privacy Act (CCPA) Opt-Out Icon"})),(0,i.jsx)("path",{d:"M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"}}),(0,i.jsx)("path",{d:"M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#06f"}}),(0,i.jsx)("path",{d:"M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z",style:{fill:"#fff"}}),(0,i.jsx)("path",{d:"M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z",style:{fill:"#06f"}})]}))};var We,je,Ye,ze,Ke,Je,qe,Xe,$e,Ze,Qe,et,tt,nt,it,ot,rt,at,st,ct=function(e){return e.name===u.CCPA?(0,i.jsx)(Ge,{}):null},lt=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},ut=function(){return ut=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ut.apply(this,arguments)},dt=(0,ce.Ay)(_e.Y).withConfig({displayName:"Link__BottomLink",componentId:"sc-c30omp-0"})(We||(We=lt(["\n // Adding !important styles to override OneTrust styles\n margin-bottom: "," !important;\n text-decoration: none !important;\n line-height: inherit !important;\n border: none !important;\n padding: 0 !important;\n color: "," !important;\n &:hover {\n background-color: !important;\n }\n [dir='rtl'] & {\n margin-right: 0;\n margin-left: "," !important;\n }\n ","\n"],["\n // Adding !important styles to override OneTrust styles\n margin-bottom: "," !important;\n text-decoration: none !important;\n line-height: inherit !important;\n border: none !important;\n padding: 0 !important;\n color: "," !important;\n &:hover {\n background-color: !important;\n }\n [dir='rtl'] & {\n margin-right: 0;\n margin-left: "," !important;\n }\n ","\n"])),pe.v4,(0,Se.oj)(Se.ZI.textSubdued),pe.CD,(function(e){return!e.$isSmall&&"span:hover {\n color: ".concat(le.LLE,";\n }")})),pt=ce.Ay.div.withConfig({displayName:"Link__Container",componentId:"sc-c30omp-1"})(je||(je=lt(["\n margin-right: ",";\n [dir='rtl'] & {\n margin-right: 0 !important;\n }\n"],["\n margin-right: ",";\n [dir='rtl'] & {\n margin-right: 0 !important;\n }\n"])),pe.CD),ht=function(e){var t=e.link,n=e.isSmall;return(0,i.jsxs)(pt,{children:[(0,i.jsx)(dt,ut({href:t.href,semanticColor:Se.ZI.textSubdued,standalone:!0,$isSmall:n,id:Be(t,Ne.ADDITIONAL_IDS),className:Be(t,Ne.ADDITIONAL_CLASSES)},{children:(0,i.jsx)(be.Z,ut({variant:n?"finale":"viola"},{children:t.title}))})),(0,i.jsx)(ct,{name:t.icon})]})},ft=n(30171),mt=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},_t=function(){return _t=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_t.apply(this,arguments)},gt=(0,ce.Ay)(ft.H).withConfig({displayName:"Button__ButtonComponent",componentId:"sc-1xi4xno-0"})(Ye||(Ye=mt(["\n // Adding !important styles to override OneTrust styles\n text-decoration: none !important;\n margin-bottom: "," !important;\n line-height: inherit !important;\n border: none !important;\n padding: 0 !important;\n color: "," !important;\n [dir='rtl'] & {\n margin-right: 0;\n margin-left: "," !important;\n }\n &:hover {\n transform: none;\n cursor: pointer;\n background-color: transparent !important;\n }\n ","\n"],["\n // Adding !important styles to override OneTrust styles\n text-decoration: none !important;\n margin-bottom: "," !important;\n line-height: inherit !important;\n border: none !important;\n padding: 0 !important;\n color: "," !important;\n [dir='rtl'] & {\n margin-right: 0;\n margin-left: "," !important;\n }\n &:hover {\n transform: none;\n cursor: pointer;\n background-color: transparent !important;\n }\n ","\n"])),pe.vw,(0,Se.oj)(Se.ZI.textSubdued),pe.CD,(function(e){return!e.$isSmall&&"\n span:hover {\n color: ".concat(le.LLE,";\n text-decoration:underline;\n text-decoration-color: ").concat((0,Se.oj)("textSubdued"),";\n } ")})),Et=ce.Ay.div.withConfig({displayName:"Button__Container",componentId:"sc-1xi4xno-1"})(ze||(ze=mt(["\n display: flex;\n\n ",";\n\n [dir='ltr'] & {\n margin-right: ",";\n }\n\n [dir='rtl'] & {\n margin-right: 0;\n }\n"],["\n display: flex;\n\n ",";\n\n [dir='ltr'] & {\n margin-right: ",";\n }\n\n [dir='rtl'] & {\n margin-right: 0;\n }\n"])),(function(e){return!e.$isSmall&&"margin-bottom: ".concat(pe.v4," !important")}),pe.CD),vt=function(e){var t=e.button,n=e.isSmall;return(0,i.jsxs)(Et,_t({$isSmall:n},{children:[(0,i.jsx)(gt,_t({id:Be(t,Ne.ADDITIONAL_IDS),className:Be(t,Ne.ADDITIONAL_CLASSES),condensedAll:!0,buttonSize:"sm",semanticColor:Se.ZI.textSubdued,$isSmall:n},{children:(0,i.jsx)(be.Z,_t({variant:n?"finale":"viola"},{children:t.title}))})),(0,i.jsx)(ct,{name:t.icon})]}))},yt=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},bt=ce.Ay.div.withConfig({displayName:"BottomLinksList__Container",componentId:"sc-7kfetx-0"})(Ke||(Ke=yt(["\n display: flex;\n flex-wrap: wrap;\n"],["\n display: flex;\n flex-wrap: wrap;\n"]))),St=function(e){var t=e.isSmall,n=e.links;return(0,i.jsx)(bt,{children:n.map((function(e){return e.href?(0,i.jsx)(ht,{link:e,isSmall:t},null==e?void 0:e.href):(0,i.jsx)(vt,{button:e,isSmall:t},null==e?void 0:e.title)}))})},Tt=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},At=ce.Ay.div.withConfig({displayName:"BottomLinks__BottomLinksContainer",componentId:"sc-ihfzg8-0"})(Je||(Je=Tt(["\n display: flex;\n flex-flow: row wrap;\n"],["\n display: flex;\n flex-flow: row wrap;\n"]))),It=function(){var e,t=(0,o.useContext)(oe),n=null===(e=null==t?void 0:t.footer)||void 0===e?void 0:e.bottomLinks;return n?(0,i.jsx)(At,{children:(0,i.jsx)(St,{links:n})}):null},Ot=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Ct=function(){return Ct=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ct.apply(this,arguments)},Rt=ce.Ay.div.withConfig({displayName:"CountryCopyright__CountryCopyrightContainer",componentId:"sc-15djxf4-0"})(qe||(qe=Ot(["\n flex: 0 0 auto;\n display: flex;\n flex-flow: row nowrap;\n align-items: end;\n color: ",";\n"],["\n flex: 0 0 auto;\n display: flex;\n flex-flow: row nowrap;\n align-items: end;\n color: ",";\n"])),(0,Se.oj)(Se.ZI.textSubdued)),Nt=(0,ce.Ay)(_e.Y).withConfig({displayName:"CountryCopyright__StyledTextLink",componentId:"sc-15djxf4-1"})(Xe||(Xe=Ot(["\n span:hover {\n color: ",";\n }\n"],["\n span:hover {\n color: ",";\n }\n"])),le.LLE),Pt=ce.Ay.svg.withConfig({displayName:"CountryCopyright__Globe",componentId:"sc-15djxf4-2"})($e||($e=Ot(["\n padding-right: ",";\n width: auto;\n [dir='rtl'] & {\n padding-right: 0;\n padding-left: ",";\n }\n"],["\n padding-right: ",";\n width: auto;\n [dir='rtl'] & {\n padding-right: 0;\n padding-left: ",";\n }\n"])),pe.v4,pe.v4),Lt=ce.Ay.div.withConfig({displayName:"CountryCopyright__Copyright",componentId:"sc-15djxf4-3"})(Ze||(Ze=Ot(["\n padding-right: ",";\n\n [dir='rtl'] & {\n padding-right: 0;\n padding-left: ",";\n }\n"],["\n padding-right: ",";\n\n [dir='rtl'] & {\n padding-right: 0;\n padding-left: ",";\n }\n"])),pe.CD,pe.CD),kt=function(e){var t,n,r=e.hideGeoIndicators,a=(0,o.useContext)(oe),s=null===(t=null==a?void 0:a.footer)||void 0===t?void 0:t.country,c=null===(n=null==a?void 0:a.footer)||void 0===n?void 0:n.copyrightNotice;return s&&c?(0,i.jsxs)(Rt,{children:[(0,i.jsx)(Lt,{children:(0,i.jsx)(be.Z,Ct({variant:"viola",as:"p"},{children:c}))}),!r&&(0,i.jsxs)(Nt,Ct({href:s.href,semanticColor:Se.ZI.textSubdued,standalone:!0},{children:[(0,i.jsx)(Pt,Ct({width:"12",height:"13",viewBox:"0 0 12 13",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M6 0.624023C8.07255 0.624023 9.90309 1.68041 10.9815 3.28299C10.9819 3.28367 10.9822 3.28403 10.9825 3.28438C11.0029 3.30998 11.0209 3.33677 11.0363 3.36446C11.6453 4.30352 12 5.42315 12 6.62402C12 9.92265 9.32436 12.6079 6.02962 12.624C6.02732 12.6241 6.02495 12.6241 6.02258 12.6241L6 12.624C2.69149 12.624 0 9.93253 0 6.62402C0 3.31571 2.69149 0.624023 6 0.624023ZM6 1.78528C5.80411 1.78528 5.61089 1.79698 5.42102 1.81972C5.39755 1.91375 5.34896 2.0023 5.2765 2.07641L3.75157 3.63714C3.64024 3.75103 3.48978 3.812 3.33616 3.812C3.26752 3.812 3.19848 3.7998 3.1318 3.77483C2.91623 3.69359 2.76891 3.49277 2.75652 3.26265L2.74444 3.04725C1.77228 3.93289 1.16125 5.20844 1.16125 6.62402C1.16125 6.90513 1.18535 7.1807 1.23158 7.44881L2.11909 8.18538C2.12814 8.19266 2.13699 8.20053 2.14564 8.20859L2.91981 8.93437C2.99003 9.00007 3.04274 9.08228 3.07323 9.17374L3.37633 10.0793L3.83343 10.3016H4.86133C5.01514 10.3016 5.16285 10.3625 5.27182 10.4715L6.25621 11.4561C8.80567 11.3224 10.8387 9.20617 10.8387 6.62402C10.8387 5.8726 10.6666 5.16063 10.3596 4.52549L9.45716 5.24616L9.62455 5.6122C9.65956 5.68812 9.67726 5.77053 9.67726 5.85393V6.60784C9.67726 6.78014 9.60075 6.94358 9.46857 7.05393C9.3362 7.16407 9.16154 7.2103 8.99219 7.17902L8.05556 7.00751L8.52643 8.28855C8.58347 8.44354 8.57167 8.61544 8.49417 8.76139L7.67162 10.3097C7.58211 10.4783 7.41628 10.5907 7.22969 10.6136L7.15866 10.6179C6.94387 10.6179 6.74659 10.4991 6.64589 10.3093L6.25231 9.56742C6.24563 9.55444 6.23913 9.54126 6.23323 9.52788L5.91027 8.78833L5.5222 8.25412L4.15443 8.44118C4.0551 8.45475 3.9538 8.44255 3.86057 8.40518L2.68811 7.93765C2.46526 7.84855 2.3201 7.632 2.32244 7.39204L2.33879 5.84783C2.34095 5.65035 2.44304 5.46763 2.61022 5.3624L4.57554 4.12641C4.81058 3.97869 5.11781 4.01783 5.30801 4.22062L5.95905 4.91395L6.7818 5.23062L7.05303 5.13365L5.90181 3.48933C5.77849 3.3131 5.76256 3.08317 5.86051 2.89179L6.41732 1.80311C6.27976 1.7913 6.14057 1.78528 6 1.78528Z"})})),(0,i.jsx)(be.Z,Ct({variant:"viola"},{children:s.name}))]}))]}):null},wt=n(69590),Dt=n(53933),Mt=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},xt=(0,ce.Ay)(Dt.a).withConfig({displayName:"styles__StyledLink",componentId:"sc-14xufbj-0"})(Qe||(Qe=Mt(["\n height: 40px;\n width: 40px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: ",";\n\n :hover {\n background-color: ",";\n }\n"],["\n height: 40px;\n width: 40px;\n border-radius: 50%;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n background-color: ",";\n\n :hover {\n background-color: ",";\n }\n"])),"#292929","#727272"),Ut=function(){return Ut=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ut.apply(this,arguments)},Vt=function(e){var t=e.name,n=e.href;return(0,i.jsx)(xt,Ut({component:"a",className:"encore-dark-theme encore-layout-themes",href:n,"aria-label":t,title:t,target:"_blank",rel:"noopener noreferrer"},{children:(0,i.jsx)(wt.Y,{iconSize:16,semanticColor:Se.ZI.textBase})}))},Ft=n(81742),Bt=function(){return Bt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bt.apply(this,arguments)},Ht=function(e){var t=e.name,n=e.href;return(0,i.jsx)(xt,Bt({component:"a",className:"encore-dark-theme encore-layout-themes",href:n,"aria-label":t,title:t,target:"_blank",rel:"noopener noreferrer"},{children:(0,i.jsx)(Ft.f,{iconSize:16,semanticColor:Se.ZI.textBase})}))},Gt=n(6900),Wt=function(){return Wt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Wt.apply(this,arguments)},jt=function(e){var t=e.name,n=e.href;return(0,i.jsx)(xt,Wt({component:"a",className:"encore-dark-theme encore-layout-themes",href:n,"aria-label":t,title:t,semanticColor:Se.ZI.textBase,target:"_blank",rel:"noopener noreferrer"},{children:(0,i.jsx)(Gt.G,{iconSize:16})}))},Yt=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},zt=function(e){var t=e.name,n=e.href;switch(t){case l.INSTAGRAM:return(0,i.jsx)(Vt,{name:t,href:n});case l.TWITTER:return(0,i.jsx)(Ht,{name:t,href:n});case l.FACEBOOK:return(0,i.jsx)(jt,{name:t,href:n});default:return null}},Kt=ce.Ay.div.withConfig({displayName:"SocialLinks__SocialContainer",componentId:"sc-1pbv2e9-0"})(et||(et=Yt(["\n margin-bottom: ",";\n"],["\n margin-bottom: ",";\n"])),pe.Jm),Jt=ce.Ay.div.withConfig({displayName:"SocialLinks__SocialLink",componentId:"sc-1pbv2e9-1"})(tt||(tt=Yt(["\n display: inline;\n\n padding-right: ",";\n &:last-of-type {\n padding-right: 0;\n }\n\n [dir='rtl'] & {\n padding-right: 0;\n padding-left: ",";\n\n &:last-of-type {\n padding-left: 0;\n }\n }\n"],["\n display: inline;\n\n padding-right: ",";\n &:last-of-type {\n padding-right: 0;\n }\n\n [dir='rtl'] & {\n padding-right: 0;\n padding-left: ",";\n\n &:last-of-type {\n padding-left: 0;\n }\n }\n"])),pe.CD,pe.CD),qt=function(){var e,t=(0,o.useContext)(oe),n=null===(e=null==t?void 0:t.footer)||void 0===e?void 0:e.socialLinks;return n?(0,i.jsx)(Kt,{children:n.map((function(e){return(0,i.jsx)(Jt,{children:zt({name:e.name,href:e.href})},e.icon)}))}):null},Xt=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},$t=function(){return $t=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$t.apply(this,arguments)},Zt=ce.Ay.nav.withConfig({displayName:"Footer__StyledFooter",componentId:"sc-gfeb5q-0"})(nt||(nt=Xt(["\n background-color: ",";\n padding: "," "," ",";\n width: 100%;\n box-sizing: border-box;\n\n @media (min-width: ",") {\n padding-left: ",";\n padding-right: ",";\n }\n"],["\n background-color: ",";\n padding: "," "," ",";\n width: 100%;\n box-sizing: border-box;\n\n @media (min-width: ",") {\n padding-left: ",";\n padding-right: ",";\n }\n"])),le.vyq,pe.v4,pe.CD,pe.Jm,ue.e4,pe.WG,pe.WG),Qt=ce.Ay.div.withConfig({displayName:"Footer__TopSection",componentId:"sc-gfeb5q-1"})(it||(it=Xt(["\n display: flex;\n flex-direction: column;\n margin-top: ",";\n\n @media (min-width: ",") {\n justify-content: space-between;\n flex-direction: row;\n }\n"],["\n display: flex;\n flex-direction: column;\n margin-top: ",";\n\n @media (min-width: ",") {\n justify-content: space-between;\n flex-direction: row;\n }\n"])),pe.WG,ue.e4),en=ce.Ay.div.withConfig({displayName:"Footer__StyledTopLinks",componentId:"sc-gfeb5q-2"})(ot||(ot=Xt(["\n display: flex;\n flex-flow: column wrap;\n\n @media (min-width: ",") {\n flex-direction: row;\n }\n\n @media (min-width: ",") {\n flex: 50%;\n padding-bottom: 0;\n }\n"],["\n display: flex;\n flex-flow: column wrap;\n\n @media (min-width: ",") {\n flex-direction: row;\n }\n\n @media (min-width: ",") {\n flex: 50%;\n padding-bottom: 0;\n }\n"])),ue.Dg,ue.e4),tn=(0,ce.Ay)(he.d).withConfig({displayName:"Footer__Line",componentId:"sc-gfeb5q-3"})(rt||(rt=Xt(["\n border-color: ",";\n margin-block-start: 0;\n"],["\n border-color: ",";\n margin-block-start: 0;\n"])),le.CpN),nn=ce.Ay.div.withConfig({displayName:"Footer__StyledBottomLinks",componentId:"sc-gfeb5q-4"})(at||(at=Xt(["\n display: flex;\n flex-flow: column wrap;\n justify-content: space-between;\n padding-top: ",";\n\n @media (min-width: ",") {\n flex-flow: row nowrap;\n align-items: start;\n }\n"],["\n display: flex;\n flex-flow: column wrap;\n justify-content: space-between;\n padding-top: ",";\n\n @media (min-width: ",") {\n flex-flow: row nowrap;\n align-items: start;\n }\n"])),pe.CD,ue.e4),on=ce.Ay.div.withConfig({displayName:"Footer__LanguageSelectionButtonContainer",componentId:"sc-gfeb5q-5"})(st||(st=Xt(["\n padding-top: ",";\n @media (min-width: ",") {\n display: none;\n }\n"],["\n padding-top: ",";\n @media (min-width: ",") {\n display: none;\n }\n"])),pe.CD,ue.e4),rn=function(e){var t=e.hideWebPlayerLink,n=e.languageSelectionButton;return(0,o.useContext)(oe)?(0,i.jsx)(Zt,$t({"data-testid":"mini-footer"},{children:(0,i.jsxs)(nn,{children:[(0,i.jsx)(It,{}),(0,i.jsx)(kt,{hideGeoIndicators:t}),n&&(0,i.jsx)(on,{children:n})]})})):null},an=function(e){var t=e.hideWebPlayerLink,n=e.columnWidth,r=e.columnGap,a=e.languageSelectionButton,s=e.hideLegalLinks;return(0,o.useContext)(oe)?(0,i.jsxs)(Zt,$t({"data-testid":"footer-div"},{children:[(0,i.jsxs)(Qt,{children:[(0,i.jsxs)(en,{children:[(0,i.jsx)(xe,{columnWidth:n,columnGap:r}),(0,i.jsx)(Ue,{columnWidth:n,columnGap:r}),(0,i.jsx)(Ve,{hideWebPlayerLink:t,columnWidth:n,columnGap:r}),(0,i.jsx)(Fe,{columnWidth:n,columnGap:r})]}),(0,i.jsx)(qt,{})]}),(0,i.jsx)(tn,{}),(0,i.jsxs)(nn,{children:[!s&&(0,i.jsx)(It,{}),(0,i.jsx)(kt,{hideGeoIndicators:t}),a&&(0,i.jsx)(on,{children:a})]})]})):null},sn=function(){var e,t=(0,o.useContext)(oe),n=null===(e=null==t?void 0:t.footer)||void 0===e?void 0:e.bottomLinks;return n?(0,i.jsx)(St,{links:n,isSmall:!0}):null}},63462:(e,t,n)=>{"use strict";n.d(t,{LW:()=>zt,pM:()=>Bt,ci:()=>Ht,X7:()=>Qt,Wq:()=>en,a2:()=>Zt});var i,o=n(57128),r=n(80117),a=n(80521),s=n(74987),c=n(22239),l=n(86380);!function(e){e.FRAGMENT_FETCHED="fragment_fetched",e.FRAGMENT_FETCH_ERROR="fragment_fetch_error",e.VIDEO_PROFILE_CHANGED="video_profile"}(i||(i={}));var u,d,p,h,f,m;!function(e){e.URL="URL",e.MSE="MSE"}(u||(u={})),function(e){e.KEY_SESSION_MESSAGE="message",e.KEY_SESSION_STATUSES_CHANGE="keystatuseschange",e.MEDIA_SOURCE_OPEN="sourceopen",e.MEDIA_SOURCE_CLOSE="sourceclose",e.SOURCE_BUFFER_UPDATE_END="updateend",e.MS_KEY_ADDED="mskeyadded",e.MS_KEY_ERROR="mskeyerror",e.MS_KEY_MESSAGE="mskeymessage",e.MS_NEEDKEY="msneedkey",e.WEBKIT_KEY_ADDED="webkitkeyadded",e.WEBKIT_KEY_ERROR="webkitkeyerror",e.WEBKIT_KEY_MESSAGE="webkitkeymessage",e.WEBKIT_NEEDKEY="webkitneedkey",e.V0_1B_KEY_ADDED="keyadded",e.V0_1B_KEY_ERROR="keyerror",e.V0_1B_KEY_MESSAGE="keymessage",e.V0_1B_NEEDKEY="needkey",e.MEDIA_CANPLAY="canplay",e.MEDIA_CANPLAYTHROUGH="canplaythrough",e.MEDIA_DURATIONCHANGE="durationchange",e.MEDIA_ENCRYPTED="encrypted",e.MEDIA_ENDED="ended",e.MEDIA_ERROR="error",e.MEDIA_LOADEDMETADATA="loadedmetadata",e.MEDIA_PAUSE="pause",e.MEDIA_PLAY="play",e.MEDIA_PLAYING="playing",e.MEDIA_SEEKING="seeking",e.MEDIA_TIMEUPDATE="timeupdate",e.MEDIA_WAITING="waiting",e.MEDIA_RATECHANGE="ratechange",e.MEDIA_RESIZE="resize",e.INTERNAL_ENCRYPTED="__encrypted",e.INTERNAL_PLAYER_CANPLAY="__canplay",e.INTERNAL_PLAYER_CANPLAYTHROUGH="__canplaythrough",e.INTERNAL_MEDIA_REQUIRES_DURATION="__requiresduration",e.INTERNAL_PLAYER_LOADED_METADATA="__loadedmetadata",e.BUFFER_APPEND_ERROR="append_error",e.BUFFER_STALLED="stalled",e.BUFFERING_START="buffering_start",e.BUFFERING_END="buffering_end",e.BUFFER_SOURCE_OPEN="source_open",e.BUFFER_SOURCE_CLOSE="source_close",e.BUFFER_UPDATE_END="update_end",e.BUFFER_QUOTA_EXCEEDED="quota_exceeded",e.EME_LICENSE_REQUEST_ERROR="license_request_error",e.EME_LICENSE_REQUEST_CAPPED="license_request_capped",e.LIST_PLAYER_AUTOPLAY_FAILED="player_autoplay_failed",e.LIST_PLAYER_BEFORE_LIST_CHANGE="before_list_change",e.LIST_PLAYER_BEFORE_NEXT="before_next",e.LIST_PLAYER_BEFORE_PLAYER_LOAD="before_player_load",e.LIST_PLAYER_BEFORE_PREVIOUS="before_previous",e.LIST_PLAYER_BEFORE_TRACK_LOAD="before_track_load",e.LIST_PLAYER_BEFORE_VOLUME_CHANGE="before_volume_change",e.LIST_PLAYER_BUFFER_STALLED="stalled",e.LIST_PLAYER_BUFFERING_START="buffering_start",e.LIST_PLAYER_BUFFERING_END="buffering_end",e.LIST_PLAYER_REBUFFERING_START="rebuffering_start",e.LIST_PLAYER_REBUFFERING_END="rebuffering_end",e.LIST_PLAYER_CAPPED="capped",e.LIST_PLAYER_CLEARED="cleared",e.LIST_PLAYER_DURATION_CHANGED="duration_changed",e.LIST_PLAYER_ERROR="error",e.LIST_PLAYER_ERROR_SYNC="error_sync",e.LIST_PLAYER_LIST_CHANGED="list_change",e.LIST_PLAYER_LIST_ENDED="list_ended",e.LIST_PLAYER_LOAD_VIDEO="load_video",e.LIST_PLAYER_MAX_LIST_ERRORS_REACHED="max_list_errors_reached",e.LIST_PLAYER_PAUSED="paused",e.LIST_PLAYER_PLAYED_THRESHOLD_REACHED="played_threshold_reached",e.LIST_PLAYER_PLAYER_LOAD="player_load",e.LIST_PLAYER_PLAYING="playing",e.LIST_PLAYER_POSITION_CHANGED="position_changed",e.LIST_PLAYER_PROGRESS="progress",e.LIST_PLAYER_REPEAT_MODE_CHANGED="repeat_mode_changed",e.LIST_PLAYER_SHUFFLE_CHANGED="shuffle_changed",e.LIST_PLAYER_STOPPED="stopped",e.LIST_PLAYER_STOPPED_VIDEO="stopped_video",e.LIST_PLAYER_TRACKING_DATA_CREATED="tracking_data_created",e.LIST_PLAYER_TRACKING_DATA_FINALIZED="tracking_data_finalized",e.LIST_PLAYER_TRACK_ENDED="track_ended",e.LIST_PLAYER_TRACK_LOADED="track_loaded",e.LIST_PLAYER_TRACK_TIMEOUT="track_timeout",e.LIST_PLAYER_TRACK_UNPLAYABLE="track_unplayable",e.LIST_PLAYER_DATA_CREATED="tracking_data_created",e.LIST_PLAYER_DATA_FINALIZED="tracking_data_finalized",e.LIST_PLAYER_VOLUME_CHANGED="volume_changed",e.LIST_PLAYER_VIDEO_ELEMENT_APPENDED="video_element_appended",e.LIST_PLAYER_VIDEO_ELEMENT_REMOVED="video_element_removed",e.LIST_PLAYER_VIDEO_PROFILE_CHANGED="video_profile_changed",e.LIST_PLAYER_SEEK_HANDLED="list_player_seek_handled",e.LIST_PLAYER_DISPLAYED_CUES_CHANGED="displayed_cues_changed",e.LIST_PLAYER_PLAYBACK_SPEED_CHANGED="playback_speed_changed",e.LIST_PLAYER_SUBTITLE_LANGUAGES_LOADED="subtitle_languages_loaded",e.LOGGER_ERROR="error",e.PLAYER_AUTOPLAY_FAILED="player_autoplay_failed",e.PLAYER_BEFORE_LOAD="before_load",e.PLAYER_BEFORE_STOP="before_stop",e.PLAYER_BEFORE_VOLUME_CHANGE="before_volume_change",e.PLAYER_BUFFER_STALLED="stalled",e.PLAYER_BUFFERING_START="buffering_start",e.PLAYER_BUFFERING_END="buffering_end",e.PLAYER_CAN_PRELOAD="can_preload",e.PLAYER_CAPPED="capped",e.PLAYER_DURATION_CHANGED="duration_changed",e.PLAYER_ENDED="ended",e.PLAYER_ENDED_VIDEO="ended_video",e.PLAYER_ERROR="error",e.PLAYER_WARNING="warning",e.PLAYER_FIRST_BYTES="first_bytes",e.PLAYER_KEY_RECEIVED="key",e.PLAYER_LOAD="load",e.PLAYER_LOAD_VIDEO="load_video",e.PLAYER_LOADING_FAILED="loading_failed",e.PLAYER_MUTED="muted",e.PLAYER_UNMUTED="unmuted",e.PLAYER_PAUSED="paused",e.PLAYER_PLAY="play",e.PLAYER_PLAYING="playing",e.PLAYER_POSITION_CHANGED="position_changed",e.PLAYER_PRELOADING_ERROR="preloading_error",e.PLAYER_PROGRESS="progress",e.PLAYER_REBUFFERING_START="rebuffering_start",e.PLAYER_REBUFFERING_END="rebuffering_end",e.PLAYER_STALLED="stalled",e.PLAYER_STOPPED="stopped",e.PLAYER_STOPPED_VIDEO="stopped_video",e.PLAYER_PLAYED_THRESHOLD_REACHED="played_threshold_reached",e.PLAYER_TIMEOUT="timeout",e.PLAYER_PLAYBACK_START="playback_start",e.PLAYER_TRACKING_DATA_CREATED="tracking_data_created",e.PLAYER_TRACKING_DATA_FINALIZED="tracking_data_finalized",e.PLAYER_VIDEO_ELEMENT_APPENDED="video_element_appended",e.PLAYER_VIDEO_ELEMENT_REMOVED="video_element_removed",e.PLAYER_VIDEO_PROFILE_CHANGED="video_profile_changed",e.PLAYER_DISPLAYED_CUES_CHANGED="displayed_cues_changed",e.PLAYER_SEEKING="seeking",e.PLAYER_FRAGMENT_FETCHED="fragment_fetched",e.PLAYER_FRAGMENT_FETCH_ERROR="fragment_fetch_error",e.PLAYER_VIDEO_MANIFEST_RESOLVED="video_manifest_resolved",e.PLAYER_VIDEO_MANIFEST_RESOLVE_FAILED="video_manifest_resolve_failed",e.PLAYER_PLAYBACK_SPEED_CHANGED="playback_speed_changed",e.PLAYER_SUBTITLE_LANGUAGES_LOADED="subtitle_languages_loaded",e.PLAYER_VIDEO_RESIZED="resize",e.PLAYER_MANAGER_READY="ready",e.TRACKER_PLAYBACK_START="playback_start",e.TRACKER_PLAYED_THRESHOLD_REACHED="played_threshold_reached",e.TRACKER_TRACKING_DATA_CREATED="tracking_data_created",e.TRACKER_TRACKING_DATA_FINALIZED="tracking_data_finalized",e.TRACKER_FIRST_QUARTILE="tracking_first_quartile",e.TRACKER_MIDPOINT="tracking_midpoint",e.TRACKER_THIRD_QUARTILE="tracking_third_quartile",e.VIDEO_MANIFEST_RESOLVED="video_manifest_resolved",e.VIDEO_MANIFEST_RESOLVE_FAILED="video_manifest_resolve_failed",e.ABR_MANAGER_BITRATE_CHANGE="bitrate_change",e.REPORTING_START="reporting_start",e.REPORTING_CREATIVE_VIEW="reporting_creative_view",e.REPORTING_FIRST_QUARTILE="reporting_first_quartile",e.REPORTING_MIDPOINT="reporting_midpoint",e.REPORTING_THIRD_QUARTILE="reporting_third_quartile",e.REPORTING_COMPLETE="reporting_complete",e.REPORTING_PAUSE="reporting_pause",e.REPORTING_RESUME="reporting_resume",e.REPORTING_ERROR="reporting_error"}(d||(d={})),function(e){e.WIDEVINE="com.widevine.alpha",e.PLAYREADY="com.microsoft.playready",e.PLAYREADY_HARDWARE="com.microsoft.playready.hardware",e.FAIRPLAY="com.apple.fps.1_0",e.INVALID_SPOTIFY_KEY="com.spotify.invalid"}(p||(p={})),function(e){e.AD_MANIFEST_REQUEST_FAILED_WITH_STATUS="AD_MANIFEST_REQUEST_FAILED_WITH_STATUS",e.AD_MANIFEST_INVALID="AD_MANIFEST_INVALID",e.CAPPING_USER_IS_CAPPED="CAPPING_USER_IS_CAPPED",e.EME_API_NOT_SUPPORTED="EME_API_NOT_SUPPORTED",e.EME_MEDIA_KEYS_NOT_SUPPORTED="EME_MEDIA_KEYS_NOT_SUPPORTED",e.EME_MEDIA_KEY_SESSION_NOT_SUPPORTED="EME_MEDIA_KEY_SESSION_NOT_SUPPORTED",e.EME_NO_SUPPORTED_KEYSYSTEM="EME_NO_SUPPORTED_KEYSYSTEM",e.EME_PLAYER_MEDIA_KEYS_SETTING_FAILED="EME_PLAYER_MEDIA_KEYS_SETTING_FAILED",e.EME_ERROR_UNKNOWN="EME_ERROR_UNKNOWN",e.EME_LICENSE_REQUEST_EMPTY_RESPONSE="EME_LICENSE_REQUEST_EMPTY_RESPONSE",e.EME_LICENSE_REQUEST_FAILED_WITH_STATUS="EME_LICENSE_REQUEST_FAILED_WITH_STATUS",e.EME_LICENSE_REQUEST_WIDEVINE_ERROR="EME_LICENSE_REQUEST_WIDEVINE_ERROR",e.EME_LICENSE_UPDATE_FAILED="EME_LICENSE_UPDATE_FAILED",e.EME_HEADER_KEY_VALUE_MISMATCH="EME_HEADER_KEY_VALUE_MISMATCH",e.EME_HEADER_MISSING_CHALLENGE="EME_HEADER_MISSING_CHALLENGE",e.EME_INIT_DATA_MALFORMED="EME_INIT_DATA_MALFORMED",e.EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM="EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM",e.EME_MEDIA_KEY_SESSION_V0_1B_ERROR="EME_MEDIA_KEY_SESSION_V0_1B_ERROR",e.EME_MEDIA_KEY_SESSION_SAFARI_ERROR="EME_MEDIA_KEY_SESSION_SAFARI_ERROR",e.EME_NO_SUPPORTED_CONFIGURATION="EME_NO_SUPPORTED_CONFIGURATION",e.EME_NOT_SUPPORTED_ERROR="EME_NOT_SUPPORTED_ERROR",e.EME_INVALID_STATE_ERROR="EME_INVALID_STATE_ERROR",e.EME_UNKNOWN_ERROR="EME_UNKNOWN_ERROR",e.DISALLOW_PROTECTED_TRACK_ERROR="DISALLOW_PROTECTED_TRACK_ERROR",e.FILE_FORMAT_NOT_SUPPORTED="FILE_FORMAT_NOT_SUPPORTED",e.FILE_MALFORMED_SEEKTABLE="FILE_MALFORMED_SEEKTABLE",e.FILE_MALFORMED_PSSH="FILE_MALFORMED_PSSH",e.FILE_NOT_RESOLVED="FILE_NOT_RESOLVED",e.FRAGMENT_ONLINE_REQUEST_FAILED_WITH_ZERO="FRAGMENT_ONLINE_REQUEST_FAILED_WITH_ZERO",e.FRAGMENT_OFFLINE_REQUEST_FAILED_WITH_ZERO="FRAGMENT_OFFLINE_REQUEST_FAILED_WITH_ZERO",e.FRAGMENT_REQUEST_FAILED_WITH_ZERO="FRAGMENT_REQUEST_FAILED_WITH_ZERO",e.FRAGMENT_REQUEST_FAILED_WITH_STATUS="FRAGMENT_REQUEST_FAILED_WITH_STATUS",e.FRAGMENT_REQUEST_EMPTY_RESPONSE="FRAGMENT_REQUEST_EMPTY_RESPONSE",e.FRAGMENT_REQUEST_UNEXPECTED_LENGTH="FRAGMENT_REQUEST_UNEXPECTED_LENGTH",e.INVALID_TRACK="INVALID_TRACK",e.PLAYER_ATTEMPTED_VOLUME_OUT_OF_RANGE="PLAYER_ATTEMPTED_VOLUME_OUT_OF_RANGE",e.PLAYER_BUFFER_QUOTA_EXCEEDED="PLAYER_BUFFER_QUOTA_EXCEEDED",e.PLAYER_CANNOT_FIND_PLAYABLE_URI="PLAYER_CANNOT_FIND_PLAYABLE_URI",e.PLAYER_INVALID_INTERNAL_STATE="PLAYER_INVALID_INTERNAL_STATE",e.PLAYER_CONTAINER_ELEMENT_NOT_FOUND="PLAYER_CONTAINER_ELEMENT_NOT_FOUND",e.PLAYER_MEDIA_ERROR="PLAYER_MEDIA_ERROR",e.PLAYER_PLAYBACK_ERROR="PLAYER_PLAYBACK_ERROR",e.PLAYER_TIMEOUT_ERROR="PLAYER_TIMEOUT_ERROR",e.MEDIA_ABORTED="MEDIA_ABORTED",e.MEDIA_DECODING_ERROR="MEDIA_DECODING_ERROR",e.MEDIA_NETWORK_ERROR="MEDIA_NETWORK_ERROR",e.MEDIA_NOT_SUPPORTED="MEDIA_NOT_SUPPORTED",e.LICENSE_RESOLVE_INVALID_RESPONSE="LICENSE_RESOLVE_INVALID_RESPONSE",e.LICENSE_RESOLVER_CANT_RESOLVE_URL="LICENSE_RESOLVER_CANT_RESOLVE_URL",e.LICENSE_RESOLVER_DEPRECATED_VERSION="LICENSE_RESOLVER_DEPRECATED_VERSION",e.LIST_PLAYER_NO_TRACK_PLAYER="LIST_PLAYER_NO_TRACK_PLAYER",e.LIST_PLAYER_NO_LIST="LIST_PLAYER_NO_LIST",e.LIST_PLAYER_INVALID_ARGUMENT="LIST_PLAYER_INVALID_ARGUMENT",e.LIST_PLAYER_FORBIDDEN="LIST_PLAYER_FORBIDDEN",e.STORAGE_ERROR="STORAGE_ERROR",e.STORAGE_FAILED_WITH_STATUS="STORAGE_FAILED_WITH_STATUS",e.STORAGE_RETURNED_NO_TRACKS="STORAGE_RETURNED_NO_TRACKS",e.STORAGE_TRACK_MANIFEST_FAILED="STORAGE_TRACK_MANIFEST_FAILED",e.STORAGE_TRACK_MANIFEST_EMPTY="STORAGE_TRACK_MANIFEST_EMPTY",e.STORAGE_VIDEO_MANIFEST_FAILED="STORAGE_VIDEO_MANIFEST_FAILED",e.TRACK_DATA_ALREADY_FINALIZED="TRACK_DATA_ALREADY_FINALIZED",e.TSV_SENDING_FAILED="TSV_SENDING_FAILED",e.PLAYBACK_STATS_SENDING_FAILED="PLAYBACK_STATS_SENDING_FAILED",e.PLAYBACK_START_SENDING_FAILED="PLAYBACK_START_SENDING_FAILED",e.UNKNOWN="UNKNOWN"}(h||(h={})),function(e){e.SUCCESS="RESULT_SUCCESS",e.INVALID="RESULT_INVALID",e.FORBIDDEN="RESULT_FORBIDDEN",e.OUT_OF_BOUNDS="RESULT_OUT_OF_BOUNDS",e.NO_LIST="RESULT_NO_LIST",e.NO_TRACK="RESULT_NO_TRACK",e.LIST_END="RESULT_LIST_END",e.INVALID_TRACK="RESULT_INVALID_TRACK",e.CANCELLED="CANCELLED",e.NO_TRACK_PLAYER="NO_TRACK_PLAYER"}(f||(f={})),function(e){e.MP3="MP3",e.MP4="MP4",e.MP4_DUAL="MP4_DUAL",e.MP4_CBCS="MP4_CBCS",e.MP4_FLAC="MP4_FLAC",e.MANIFEST_ID="MANIFEST_ID",e.AD_MANIFEST="AD_MANIFEST",e.GENERIC_MEDIA="GENERIC_MEDIA"}(m||(m={}));class _ extends Error{constructor(e,t){super(),this.unrecoverable=!1,this.listPlayerIgnore=!1,this.debug={},this.name="PlaybackError",this.code=e,this.message=t}static fatal(e,t){const n=new _(e,t);return n.unrecoverable=!0,n}}n(28360);var g=n(30353);class E extends Error{constructor(e=h.EME_ERROR_UNKNOWN,t){super(t),this.status=-1,this.licenseServer="",this.shouldRefreshEndpoint=!1,this.unrecoverable=!1,this.debug={},this.code=e,this.message=t,this.name="EMEError"}static fatal(e=h.EME_ERROR_UNKNOWN,t){const n=new E(e,t);return n.unrecoverable=!0,n}}class v extends Error{constructor(e,t){super(t),this.name="CappingError",this.message=t,this.code=e}}function y(e){const t=document.createEvent("Event");t.initEvent("encrypted",!1,!1),t.initDataType="cenc",t.initData=e.initData,t.fromPolyfill=!0,this.dispatchEvent(t)}class b extends a.Vk{constructor(e){super(d.KEY_SESSION_MESSAGE,null),this.messageType="license-request",this.message=e}}class S extends a.bk{constructor(e){super(),this._nativeKeySession=null,this._lastUpdateDeferred=(0,g.u)(),this._lastGenerateDeferred=(0,g.u)(),this.addEventListener=this.addListener,this.removeEventListener=this.removeListener,this._nativeMediaKeys=e,this._onKeyMessage=this._onKeyMessage.bind(this),this._onKeyAdded=this._onKeyAdded.bind(this),this._onKeyError=this._onKeyError.bind(this)}_attach(){const e=this._nativeKeySession;e&&(e.addEventListener(d.MS_KEY_ADDED,this._onKeyAdded),e.addEventListener(d.MS_KEY_ERROR,this._onKeyError),e.addEventListener(d.MS_KEY_MESSAGE,this._onKeyMessage))}_detach(){const e=this._nativeKeySession;e&&(e.removeEventListener(d.MS_KEY_ADDED,this._onKeyAdded),e.removeEventListener(d.MS_KEY_ERROR,this._onKeyError),e.removeEventListener(d.MS_KEY_MESSAGE,this._onKeyMessage))}_onKeyMessage(e){e.message&&e.message.buffer&&(this.emitEvent(new b(e.message.buffer)),this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve(!0),this._lastGenerateDeferred=null))}_onKeyAdded(){this._lastUpdateDeferred&&(this._lastUpdateDeferred.resolve(!0),this._lastUpdateDeferred=null),this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve(!0),this._lastGenerateDeferred=null),this.emit(d.KEY_SESSION_STATUSES_CHANGE,null)}_onKeyError(){const e=this._nativeKeySession&&this._nativeKeySession.error;this._lastGenerateDeferred&&(this._lastGenerateDeferred.reject(e),this._lastGenerateDeferred=null),this._lastUpdateDeferred&&(this._lastUpdateDeferred.reject(e),this._lastUpdateDeferred=null),this.emit(d.KEY_SESSION_STATUSES_CHANGE,null)}generateRequest(e,t){return new Promise(((e,n)=>{this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve=e,this._lastGenerateDeferred.reject=n),this._nativeKeySession=this._nativeMediaKeys.createSession("audio/mp4",new Uint8Array(t),null),this._attach()}))}update(e){return new Promise(((t,n)=>{this._lastGenerateDeferred&&(this._lastGenerateDeferred.resolve=t,this._lastGenerateDeferred.reject=n),this._nativeKeySession&&this._nativeKeySession.update(new Uint8Array(e))}))}close(){return new Promise((e=>{this._nativeKeySession&&this._nativeKeySession.close(),this._detach(),e(!0)}))}}class T{constructor(e){this._lastBoundSetter=null,this.shouldRefreshPerTrack=!0,this._nativeMediaKeys=new MSMediaKeys(e)}attach(e){return new Promise((t=>{if(e.readyState>=1)return e.msSetMediaKeys(this._nativeMediaKeys),void t();const n=()=>{e.removeEventListener(d.MEDIA_LOADEDMETADATA,n),this._lastBoundSetter=null,e.msSetMediaKeys(this._nativeMediaKeys)};this._lastBoundSetter=n,e.addEventListener(d.MEDIA_LOADEDMETADATA,n),e.addEventListener(d.MS_NEEDKEY,y),t()}))}detach(e){this._lastBoundSetter&&(e.removeEventListener(d.MS_NEEDKEY,y),e.removeEventListener(d.MEDIA_LOADEDMETADATA,this._lastBoundSetter),this._lastBoundSetter=null)}setServerCertificate(){return Promise.reject(new E(h.EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM,"Cannot set server certificate on this platform."))}createSession(){return new S(this._nativeMediaKeys)}}function A(e){const t=this.mediaKeys;return t&&t!==e&&t.detach(this),delete this.mediaKeys,this.mediaKeys=e,e&&e.attach(this),Promise.resolve()}class I{constructor(e,t){if(this._configuration=null,this.keySystem=e,!this._checkConfig(t))throw new E(h.EME_NO_SUPPORTED_CONFIGURATION,"No supported configurations")}_checkConfig(e){var t,n;const i=this.keySystem;for(const o of e){const e={initDataTypes:o.initDataTypes,audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",sessionTypes:["temporary"],label:o.label};let r;if(o.audioCapabilities&&o.audioCapabilities.length&&e.audioCapabilities){r=!1;for(const n of o.audioCapabilities){const o=null===(t=n.contentType)||void 0===t?void 0:t.split(";")[0];MSMediaKeys.isTypeSupported(i,o)&&(e.audioCapabilities.push(n),r=!0)}}if(o.videoCapabilities&&o.videoCapabilities.length&&e.videoCapabilities){r=!1;for(const t of o.videoCapabilities){const o=null===(n=t.contentType)||void 0===n?void 0:n.split(";")[0];MSMediaKeys.isTypeSupported(i,o)&&(e.videoCapabilities.push(t),r=!0)}}if(r)return this._configuration=e,!0}return!1}getConfiguration(){return this._configuration}createMediaKeys(){return new Promise((e=>{e(new T(this.keySystem))}))}}const O=r.m.forTag("eme_polyfill.v0_1b");class C extends a.bk{constructor(e,t,n){super(),this._mediaElement=null,this._lastUpdateDeferred=null,this._lastGenerateResolver=null,this.sessionId=null,this._keySystem=e,this._mediaElement=t,this._prefix=n,this.addEventListener=this.addListener,this.removeEventListener=this.removeListener}_addPrefix(e){return this._prefix?this._prefix+e.replace(/\b[a-z]/,(function(e){return e.toUpperCase()})):e}generateComplete(e){this.emitEvent(new b(e)),this._lastGenerateResolver&&(this._lastGenerateResolver.resolve(!0),this._lastGenerateResolver=null)}updateComplete(){this._lastUpdateDeferred&&(this._lastUpdateDeferred.resolve(!0),this._lastUpdateDeferred=null),this.emit(d.KEY_SESSION_STATUSES_CHANGE,null)}handleErrorEvent(e){const t=new E(h.EME_MEDIA_KEY_SESSION_V0_1B_ERROR,"MediaKeySession v0.1b Error");t.debug.errorCode=e.errorCode,t.debug.systemCode=e.systemCode,!e.sessionId&&this._lastGenerateResolver?(this._lastGenerateResolver.reject(t),this._lastGenerateResolver=null):e.sessionId&&this._lastUpdateDeferred?(this._lastUpdateDeferred.reject(t),this._lastUpdateDeferred=null):this.emit(d.KEY_SESSION_STATUSES_CHANGE,null)}generateRequest(e,t){return this._mediaElement?new Promise(((e,n)=>{this._lastGenerateResolver={resolve:e,reject:n};try{this._mediaElement[this._addPrefix("generateKeyRequest")](this._keySystem,new Uint8Array(t))}catch(e){n(e),this._lastGenerateResolver=null}})):Promise.reject(new ReferenceError("InvalidState: Media keys are not attached."))}update(e){if(!this._mediaElement)return Promise.reject(new ReferenceError("InvalidState: Media keys are not attached."));if(this._lastUpdateDeferred){const t=this.update.bind(this,e);return this._lastUpdateDeferred.promise.then(t,t)}const t=(0,g.u)();this._lastUpdateDeferred=t;try{this._mediaElement[this._addPrefix("addKey")](this._keySystem,new Uint8Array(e),null,this.sessionId)}catch(e){t.reject(e),this._lastUpdateDeferred=null}return t.promise}close(){if(this.sessionId&&this._mediaElement)try{this._mediaElement[this._addPrefix("cancelKeyRequest")](this._keySystem,this.sessionId)}catch(e){O.warn("Could not close keysession",e)}return Promise.resolve(!0)}}class R{constructor(e,t=""){this._mediaElement=null,this._waitingForSessionIds=[],this._sessionMap={},this.shouldRefreshPerTrack=!0,this._keySystem=e,this._prefix=t,this._onKeyMessage=this._onKeyMessage.bind(this),this._onKeyAdded=this._onKeyAdded.bind(this),this._onKeyError=this._onKeyError.bind(this)}attach(e){this._mediaElement=e;const t=this._prefix;e.addEventListener(t+d.V0_1B_NEEDKEY,y);const n=e.addEventListener.bind(e);n(t+d.V0_1B_KEY_ADDED,this._onKeyAdded),n(t+d.V0_1B_KEY_ERROR,this._onKeyError),n(t+d.V0_1B_KEY_MESSAGE,this._onKeyMessage)}detach(e){this._mediaElement=null;const t=this._prefix;e.removeEventListener(t+d.V0_1B_NEEDKEY,y);const n=e.removeEventListener.bind(e);n(t+d.V0_1B_KEY_ADDED,this._onKeyAdded),n(t+d.V0_1B_KEY_ERROR,this._onKeyError),n(t+d.V0_1B_KEY_MESSAGE,this._onKeyMessage)}_getSession(e){const t=this._sessionMap[e];if(t)return t;const n=this._waitingForSessionIds.shift();return n?(n.sessionId=e,this._sessionMap[e]=n,n):null}_onKeyMessage(e){const t=this._getSession(e.sessionId);t?t.generateComplete(e.message):O.warn("Got keymessage without session.")}_onKeyAdded(e){const t=this._getSession(e.sessionId);t?t.updateComplete():O.warn("Got keyadded without session.")}_onKeyError(e){const t=this._getSession(e.sessionId);t?t.handleErrorEvent(e):O.warn("Got keyerror without session.")}setServerCertificate(){return Promise.reject(new E(h.EME_CANNOT_SET_CERTIFICATE_FOR_PLATFORM,"Cannot set server certificate on this platform."))}createSession(){const e=new C(this._keySystem,this._mediaElement,this._prefix);return this._waitingForSessionIds.push(e),e}}function N(e){const t=this.mediaKeys;return t&&t!==e&&t.detach(this),delete this.mediaKeys,this.mediaKeys=e,e&&e.attach(this),Promise.resolve()}class P{constructor(e,t,n){if(this._configuration=null,this.keySystem=e,this._prefix=n,!this._checkConfig(t))throw new E(h.EME_NO_SUPPORTED_CONFIGURATION,"No supported configurations")}_checkConfig(e){var t,n;const i=this.keySystem,o=document.createElement("video");for(const r of e){const e={initDataTypes:r.initDataTypes,audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",sessionTypes:["temporary"],label:r.label};let a=!1;if(r.audioCapabilities&&r.audioCapabilities.length&&e.audioCapabilities){a=!1;for(const n of r.audioCapabilities){const r=null===(t=n.contentType)||void 0===t?void 0:t.split(";")[0];r&&o.canPlayType(r,i)&&(e.audioCapabilities.push(n),a=!0)}}if(r.videoCapabilities&&r.videoCapabilities.length&&e.videoCapabilities){a=!1;for(const t of r.videoCapabilities){const r=null===(n=t.contentType)||void 0===n?void 0:n.split(";")[0];r&&o.canPlayType(r,i)&&(e.videoCapabilities.push(t),a=!0)}}if(a)return this._configuration=e,!0}return!1}getConfiguration(){return this._configuration}createMediaKeys(){return new Promise((e=>{e(new R(this.keySystem,this._prefix))}))}}function L(e){navigator.requestMediaKeySystemAccess=function(t,n){return new Promise((i=>{i(new P(t,n,e))}))};const t=HTMLMediaElement.prototype;delete t.mediaKeys,t.setMediaKeys=N}const k=r.m.forTag("eme_polyfill.safari");class w extends a.bk{constructor(e,t){super(),this._attached=!1,this._nativeKeySession=null,this._lastGenerateResolver=(0,g.u)(),this._lastUpdateResolver=(0,g.u)(),this.addEventListener=this.addListener,this.removeEventListener=this.removeListener,this._nativeMediaKeys=e,this._serverCertificate=t,this._onKeyMessage=this._onKeyMessage.bind(this),this._onKeyAdded=this._onKeyAdded.bind(this),this._onKeyError=this._onKeyError.bind(this)}_attach(){if(this._attached)return;const e=this._nativeKeySession;e?(e.addEventListener(d.WEBKIT_KEY_MESSAGE,this._onKeyMessage),e.addEventListener(d.WEBKIT_KEY_ADDED,this._onKeyAdded),e.addEventListener(d.WEBKIT_KEY_ERROR,this._onKeyError)):k.warn("Tried to attach with no WebKitMediaKeySession")}_detach(){if(!this._attached)return;const e=this._nativeKeySession;e?(e.removeEventListener(d.WEBKIT_KEY_MESSAGE,this._onKeyMessage),e.removeEventListener(d.WEBKIT_KEY_ADDED,this._onKeyAdded),e.removeEventListener(d.WEBKIT_KEY_ERROR,this._onKeyError)):k.warn("Tried to detach with no WebKitMediaKeySession")}_onKeyMessage(e){e.message&&e.message.buffer&&(this.emitEvent(new b(e.message.buffer)),this._lastGenerateResolver&&(this._lastGenerateResolver.resolve(!0),this._lastGenerateResolver=null))}_onKeyAdded(){this._lastUpdateResolver&&(this._lastUpdateResolver.resolve(!0),this._lastUpdateResolver=null),this.emit(d.KEY_SESSION_STATUSES_CHANGE,null)}_onKeyError(){const e=this._nativeKeySession&&this._nativeKeySession.error,t=new E(h.EME_MEDIA_KEY_SESSION_SAFARI_ERROR,e&&e.message||"MediaKeySession Safari Error");e&&(t.debug.errorCode=e.code,t.debug.systemCode=e.systemCode),this._lastGenerateResolver?(this._lastGenerateResolver.reject(t),this._lastGenerateResolver=null):this._lastUpdateResolver&&(this._lastUpdateResolver.reject(t),this._lastUpdateResolver=null)}_rebuildInitData(e){const t=new Uint8Array(e);if(new DataView(t.buffer).getUint32(0,!0)+4!==t.byteLength)throw new E(h.EME_INIT_DATA_MALFORMED,"Malformed init data");const n=function(e){const t=Math.floor(e.byteLength/2),n=new Uint16Array(t),i=new DataView(e.buffer);for(let e=0;e<t;e++)n[e]=i.getUint16(2*e,!0);return String.fromCharCode.apply(null,n)}(t.slice(4)),i=n.match(/^skd:\/\/([0-9a-fA-F]+)/);if(!(null==i?void 0:i[1]))throw new E(h.EME_INIT_DATA_MALFORMED,"Invalid content ID");const o=i[1],r=new Uint8Array(function(e){const t=new Uint8Array(2*e.length),n=new DataView(t.buffer),i=e.split("");for(let e=0,t=i.length;e<t;e++){const t=i[e].charCodeAt(0);n.setUint16(2*e,t,!0)}return t.buffer}(o)),a=this._serverCertificate,s=new Uint8Array(t.byteLength+4+r.byteLength+4+a.byteLength);let c=0;s.set(t,c),c+=t.byteLength;const l=new DataView(s.buffer);return l.setUint32(c,r.byteLength,!0),c+=4,s.set(r,c),c+=r.byteLength,l.setUint32(c,a.byteLength,!0),c+=4,s.set(a,c),s}generateRequest(e,t){return new Promise(((e,n)=>{this._lastGenerateResolver={resolve:e,reject:n};try{const e=this._rebuildInitData(t);this._nativeKeySession=this._nativeMediaKeys.createSession("video/mp4",new Uint8Array(e),null),this._attach()}catch(e){this._lastGenerateResolver=null,n(e)}}))}update(e){const t=(0,g.u)();if(this._lastUpdateResolver=t,!this._nativeKeySession)return k.warn("Tried to update with no WebKitMediaKeySession"),t.promise;try{this._nativeKeySession.update(new Uint8Array(e))}catch(e){t.reject(e)}return t.promise}close(){return new Promise((e=>{this._detach(),e(!0)}))}}class D{constructor(e){this._lastBoundSetter=null,this._serverCertificate=null,this.shouldRefreshPerTrack=!0,this._nativeMediaKeys=new WebKitMediaKeys(e)}attach(e){return new Promise((t=>{if(e.readyState>=1)return e.webkitSetMediaKeys(this._nativeMediaKeys),void t();const n=()=>{e.removeEventListener(d.MEDIA_LOADEDMETADATA,n),this._lastBoundSetter=null,e.webkitSetMediaKeys(this._nativeMediaKeys)};this._lastBoundSetter=n,e.addEventListener(d.MEDIA_LOADEDMETADATA,n),e.addEventListener(d.WEBKIT_NEEDKEY,y),t()}))}detach(e){e.removeEventListener(d.WEBKIT_NEEDKEY,y),this._lastBoundSetter&&(e.removeEventListener(d.MEDIA_LOADEDMETADATA,this._lastBoundSetter),this._lastBoundSetter=null)}setServerCertificate(e){return this._serverCertificate=new Uint8Array(e),Promise.resolve(!0)}createSession(){if(!this._serverCertificate)throw new E(h.EME_INVALID_STATE_ERROR,"The server certificate is not available");return new w(this._nativeMediaKeys,this._serverCertificate)}}class M{constructor(e,t){this.keySystem=e;const n=this._checkConfig(t);if(!n)throw new E(h.EME_NO_SUPPORTED_CONFIGURATION,"No supported configurations");this._configuration=n}_checkConfig(e){const t=this.keySystem;let n=!1;for(const i of e){const e={initDataTypes:i.initDataTypes,audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",sessionTypes:["temporary"]};if(i.audioCapabilities)for(const o of i.audioCapabilities){if(!o.contentType)continue;const i=o.contentType.split(";")[0];WebKitMediaKeys.isTypeSupported(t,i)&&(e.audioCapabilities.push(o),n=!0)}if(i.videoCapabilities)for(const o of i.videoCapabilities){if(!o.contentType)continue;const i=o.contentType.split(";")[0];WebKitMediaKeys.isTypeSupported(t,i)&&(e.videoCapabilities.push(o),n=!0)}if(n)return e}return null}getConfiguration(){return this._configuration}createMediaKeys(){return new Promise((e=>{e(new D(this.keySystem))}))}}function x(e){const t=this.mediaKeys;return t&&t!==e&&t.detach(this),delete this.mediaKeys,this.mediaKeys=e,e?e.attach(this):Promise.resolve()}const U=r.m.forTag("eme_polyfills.tester");function V(){return"undefined"!=typeof navigator&&(null===navigator||void 0===navigator?void 0:navigator.requestMediaKeySystemAccess)&&"undefined"==typeof WebKitMediaKeys&&"undefined"!=typeof MediaKeySystemAccess&&(null===MediaKeySystemAccess||void 0===MediaKeySystemAccess?void 0:MediaKeySystemAccess.prototype.getConfiguration)?(U.log("Using native EME implementation."),"native"):"undefined"!=typeof HTMLMediaElement&&(null===HTMLMediaElement||void 0===HTMLMediaElement?void 0:HTMLMediaElement.prototype.webkitGenerateKeyRequest)?(U.log('Detected "webkit" Prefixed EME v0.1b. Polyfilling.'),L("webkit"),"v0.1b-webkit"):"undefined"!=typeof HTMLMediaElement&&(null===HTMLMediaElement||void 0===HTMLMediaElement?void 0:HTMLMediaElement.prototype.generateKeyRequest)?(U.log("Detected Unprefixed EME v0.1b. Polyfilling."),L(),"v0.1b"):"undefined"!=typeof MSMediaKeys?(U.log("Detected MS IE EME. Polyfilling."),function(){navigator.requestMediaKeySystemAccess=function(e,t){return new Promise((n=>{n(new I(e,t))}))};const e=HTMLMediaElement.prototype;delete e.mediaKeys,e.setMediaKeys=A}(),"ms-ie"):"function"==typeof WebKitMediaKeys?(U.log("Detected Safari EME. Polyfilling."),function(){navigator.requestMediaKeySystemAccess=function(e,t){return new Promise((n=>{n(new M(e,t))}))};const e=HTMLMediaElement.prototype;delete e.mediaKeys,e.setMediaKeys=x}(),"safari"):(U.warn("Detected no EME APIs."),null)}const F={[p.WIDEVINE]:{commonName:"widevine",licenseServer:"https://@webgate/widevine-license",withCertificate:!0,pssh_field:{audio:"pssh_widevine",video:"encryption_data"}},[p.PLAYREADY]:{commonName:"playready",licenseServer:"https://@webgate/playready-license",withCertificate:!1,pssh_field:{audio:"pssh_playready",video:"encryption_data"}},[p.PLAYREADY_HARDWARE]:{commonName:"playready",licenseServer:"https://@webgate/playready-license",withCertificate:!1,pssh_field:{audio:"pssh_playready",video:"encryption_data"}},[p.FAIRPLAY]:{commonName:"fairplay",licenseServer:"https://@webgate/fairplay-license",withCertificate:!0,pssh_field:{audio:"pssh_fairplay",video:"asset_id"}},[p.INVALID_SPOTIFY_KEY]:{commonName:"spotify-invalid",licenseServer:"https://@webgate",withCertificate:!1,pssh_field:{audio:"pssh_invalid",video:"encryption_data"}}},B=[{label:"video-sw-decode",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/webm; codecs="opus"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.64002a"',robustness:"SW_SECURE_DECODE"},{contentType:'video/mp4; codecs="avc1.4d402a"',robustness:"SW_SECURE_DECODE"},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:"SW_SECURE_DECODE"},{contentType:'video/webm; codecs="vp9"',robustness:"SW_SECURE_DECODE"},{contentType:'video/webm; codecs="vp8"',robustness:"SW_SECURE_DECODE"}],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"video-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/webm; codecs="opus"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.64002a"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d402a"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/webm; codecs="vp9"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/webm; codecs="vp8"',robustness:"SW_SECURE_CRYPTO"}],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"video-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:""},{contentType:'audio/webm; codecs="opus"',robustness:""}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.64002a"',robustness:""},{contentType:'video/mp4; codecs="avc1.4d402a"',robustness:""},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:""},{contentType:'video/webm; codecs="vp9"',robustness:""},{contentType:'video/webm; codecs="vp8"',robustness:""}],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-flac-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-flac-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="flac"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:""}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]},{label:"audio-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""},{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:""}],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:"optional",sessionTypes:["temporary"]}];function H(e,t){var n,i;for(const o of e){const e={audioCapabilities:[],videoCapabilities:[]};let r,a=!1;if(null===(n=o.audioCapabilities)||void 0===n?void 0:n.length){a=!1;for(const n of o.audioCapabilities)r=n.contentType,r&&t(r)&&(e.audioCapabilities.push(n),a=!0)}if(null===(i=o.videoCapabilities)||void 0===i?void 0:i.length){a=!1;for(const n of o.videoCapabilities)r=n.contentType,r&&t(r)&&(e.videoCapabilities.push(n),a=!0)}if(a)return e}return null}const G=/([^;]+)(?:;\s?codecs="(.*)")?/;function W(e){var t;const[,n="unknown",i="unknown"]=null!==(t=e.match(G))&&void 0!==t?t:[];return{mimeType:n,codec:i,contentType:e}}const j=/([^;]+)(?:;\s?codecs="(.*)")?/,Y=r.m.forTag("playback.eme_manager"),z={EMPTY:"-no-robustness",SW_CRYPTO:"-sw-crypto",SW_DECODE:"-sw-decode",HW_CRYPTO:"-hw-crypto",HW_DECODE:"-hw-decode",HW_ALL:"-hw-all"};function K(e,t){var n;const i=[],o=new RegExp(`codecs="(${t.join("|")})"`);for(const t of e)o.test(null!==(n=t.contentType)&&void 0!==n?n:"")||i.push(t);return i.length?i:null}function J(e,{audio:t,video:n}){var i,o,r,a;if(!(null==t?void 0:t.length)&&!(null==n?void 0:n.length))return e;let{audioCapabilities:s,videoCapabilities:c}=e;return(null==t?void 0:t.length)&&(null===(i=e.audioCapabilities)||void 0===i?void 0:i.length)&&(s=null!==(o=K(e.audioCapabilities,t))&&void 0!==o?o:void 0,!s)||(null==n?void 0:n.length)&&(null===(r=e.videoCapabilities)||void 0===r?void 0:r.length)&&(c=null!==(a=K(e.videoCapabilities,n))&&void 0!==a?a:void 0,!c)?null:Object.assign(Object.assign({},e),{audioCapabilities:s,videoCapabilities:c})}class q extends a.bk{constructor(e){var t;super(),this._unauthServerCertificateBase="",this._disallowCodecs={},this._keySystemDeferred=(0,g.u)(),this._configuration=(0,g.u)(),this._keySystemSettings=null,this._keySessions=[],this._configs=[],this._pendingCertificateRequest=null,this._certificate=null,this._transport=e.transport,this._emeImpl=e.emeImpl,this._noServerCertificate=!!e.noServerCertificate,this._precacheServerCertificate=null===(t=e.precacheServerCertificate)||void 0===t||t,this._unauthServerCertificateBase=e.unauthServerCertificateBase||"https://spclient.wg.spotify.com",this._configFilter=function(e){const t=["--ensure-no-match--"];if(null==e?void 0:e.length){let n=e.length;for(;n--;){const i=e[n];i&&z.hasOwnProperty(i)&&t.push(z[i])}}return new RegExp(`(${t.join("|")})$`)}(e.disallowRobustnessValues||[]),this._disallowCodecs=e.disallowCodecs,this._preferredKeySystems=e.preferredKeySystems||[p.WIDEVINE,p.PLAYREADY,p.PLAYREADY_HARDWARE,p.FAIRPLAY]}static create(e){return new Promise((t=>{const n=V();if(!n)throw E.fatal(h.EME_API_NOT_SUPPORTED,"Platform does not support navigator.requestMediaKeySystemAccess");t(new q(Object.assign(Object.assign({},e),{emeImpl:n})).init())}))}_prepareConfiguration(e){const t=e.getConfiguration();Y.info("KeySystem configured as",t.label),t.audioCapabilities&&t.audioCapabilities.length||this._appendProbableMediaCapabilities(e.keySystem,t);const n={keySystem:e.keySystem,keySystemImpl:this._emeImpl,audioFormats:this._parseCapabilities(t.audioCapabilities),videoFormats:this._parseCapabilities(t.videoCapabilities)};return this._keySystemSettings=F[e.keySystem],this._configuration.resolve(n),n}_parseCapabilities(e){var t;if(!e)return[];const n=[];for(const i of e){if(!(null==i?void 0:i.contentType))continue;const[,e,o]=null!==(t=i.contentType.match(j))&&void 0!==t?t:[];e&&n.push({contentType:i.contentType,mimeType:e,codec:null!=o?o:""})}return n}_appendProbableMediaCapabilities(e,t){const n=H(this._configs,(t=>(-1===t.indexOf("webm")||e!==p.PLAYREADY&&e!==p.PLAYREADY_HARDWARE)&&!!MediaSource.isTypeSupported(t)));n&&(t.audioCapabilities=n.audioCapabilities,t.videoCapabilities=n.videoCapabilities)}_trySetServerCertificate(e,t){const n=this._certificate;return(n&&n.expiry>Date.now()?Promise.resolve(n):this._requestServerCertificate(e)).then((e=>t.setServerCertificate(e.contents))).then((()=>this)).catch((e=>(Y.warn("Error from setting server certificate",e),this)))}_cacheServerCertificate(e){let t="";switch(e){case p.FAIRPLAY:t="fairplay";break;case p.WIDEVINE:t="widevine";break;default:return Promise.resolve(this)}return this._requestServerCertificate(`${this._unauthServerCertificateBase}/${t}-license`,!1).then((()=>this),(e=>(Y.warn("Cannot precache server certificate",e),this)))}_requestServerCertificate(e,t=!0){if(this._pendingCertificateRequest)return this._pendingCertificateRequest;return this._transport.request(`${e}/v1/application-certificate`,{authorize:t,responseType:"arraybuffer",parseResponseHeaders:!0,retry:{condition:(e,t)=>e.getStatusFamily()===t.SERVER_ERROR}}).then((e=>{var t;if(!e.body)throw new TypeError("Response body is invalid");this._pendingCertificateRequest=null;let n=3600;const i=null===(t=e.headers)||void 0===t?void 0:t.get("cache-control");if(i){const e=i.match(/(?:^|,|\s)max-age=(\d+)(?:,|$)/);e&&e[1]&&(n=1e3*parseInt(e[1],10))}return this._certificate={expiry:Date.now()+(n-600),contents:e.body},this._certificate}))}_extractPlayReadyChallenge(e,t){var n;let i=null;const o=new Uint16Array(e),r=String.fromCharCode.apply(null,o);if(-1===r.indexOf("PlayReadyKeyMessage"))return Y.info("Using unextracted PlayReady message."),e;const a=(new DOMParser).parseFromString(r,"application/xml"),s=a.getElementsByTagName("Challenge")[0],c=null===(n=null==s?void 0:s.childNodes[0])||void 0===n?void 0:n.nodeValue;if(c)try{i=atob(c);const e=a.getElementsByTagName("name"),t=a.getElementsByTagName("value");if(e.length!==t.length)throw new E(h.EME_HEADER_KEY_VALUE_MISMATCH,"Mismatched header <name>/<value> pair in key message")}catch(e){this.emit(d.EME_LICENSE_REQUEST_ERROR,{signal:t,error:e}),i=null}else this.emit(d.EME_LICENSE_REQUEST_ERROR,{signal:t,error:new E(h.EME_HEADER_KEY_VALUE_MISMATCH,"Mismatched header <name>/<value> pair in key message")});return i}_onMessage(e,t){e.timeMap.generate.end=(0,l.X)();let n="message"in t?t.message:null;const i="messageType"in t?t.messageType:void 0;if(Y.info("Got EME message event with type",i),n&&e.keySystem===p.PLAYREADY&&(n=this._extractPlayReadyChallenge(n,e.signal)),!n)return void Y.info("Ignoring message event: no valid request payload");if(!e.licenseServer)return void Y.info("Ignoring message event: no licenseServer url");e.timeMap.request.start=(0,l.X)();let o=e.licenseServer;e.keySystem===p.FAIRPLAY&&(o=`${o}${-1!==o.indexOf("?")?"&":"?"}assetId=hex`),this._transport.request(o,{method:"POST",payload:n,responseType:"arraybuffer",retry:{condition:(e,t)=>400!==e.status&&402!==e.status&&403!==e.status&&(!e.body||e.getStatusFamily()!==t.SUCCESS)}}).then(this._handleLicenseResponse.bind(this,e))}_handleLicenseResponse(e,t){const n=t=>{e.licenseServer&&(t.licenseServer=e.licenseServer),this.emit(d.EME_LICENSE_REQUEST_ERROR,{signal:e.signal,error:t})};let i,o;if(e.timeMap.request.end=(0,l.X)(),200!==t.status){try{if(t.body){const e=new Uint8Array(t.body),n=String.fromCharCode.apply(String,e);o=JSON.parse(n).errorMsg}}catch(e){}402===t.status?this.emit(d.EME_LICENSE_REQUEST_CAPPED,{signal:e.signal,error:new v(h.CAPPING_USER_IS_CAPPED,"User is capped.")}):400===t.status&&"widevine error"===o?(i=E.fatal(h.EME_LICENSE_REQUEST_WIDEVINE_ERROR,"Widevine license server failed to parse request."),i.status=t.status,i.shouldRefreshEndpoint=!0,n(i)):(i=new E(h.EME_LICENSE_REQUEST_FAILED_WITH_STATUS,`License request failed (${o||"unknown"})`),i.status=t.status,i.shouldRefreshEndpoint=400===t.status||403===t.status,n(i))}else{if(!t.body)return i=new E(h.EME_LICENSE_REQUEST_EMPTY_RESPONSE,"Empty license response body"),i.status=t.status,void n(i);try{e.timeMap.update.start=(0,l.X)(),e.keySession.update(t.body).catch((e=>{n(new E(h.EME_LICENSE_UPDATE_FAILED,e.message||"License update failed."))})),Y.info("KeySession updated.")}catch(e){const{message:t}=e;n(new E(h.EME_LICENSE_UPDATE_FAILED,t||"License update failed."))}}}_selectKeySystem(e){const t=this._preferredKeySystems;for(let n=0,i=t.length;n<i;n++){const i=t[n];if(i&&i in e)return e[i]}return null}_testMediaKeys(e){return new Promise((t=>{t(e.createMediaKeys())})).then((t=>{if(!t)return Promise.reject(E.fatal(h.EME_MEDIA_KEYS_NOT_SUPPORTED,"Cannot create MediaKeys from KeySystemAccess"));e.keySystem===p.FAIRPLAY&&t.setServerCertificate(new ArrayBuffer(0));try{if(!t.createSession())throw new Error("")}catch(e){const{message:t}=e;return Promise.reject(E.fatal(h.EME_MEDIA_KEY_SESSION_NOT_SUPPORTED,t||"Cannot create MediaKeySession from KeySystemAccess"))}return Promise.resolve(e)}),(e=>(Y.error(e.name),Promise.reject(E.fatal(h.EME_MEDIA_KEYS_NOT_SUPPORTED,e.message||"Unknown error")))))}_saveSession(e){this._keySessions.push(e)}destroySessions(){const e=[],t=this._keySessions;for(const n of t)try{const t=n.keySession;if(!t)continue;n.onMessageListener&&t.removeEventListener(d.KEY_SESSION_MESSAGE,n.onMessageListener),n.onKeyStatusChangeListener&&t.removeEventListener(d.KEY_SESSION_STATUSES_CHANGE,n.onKeyStatusChangeListener);const i=Promise.resolve(t.close()).catch((e=>{Y.warn("Failed to close KeySession",e)}));e.push(i),n.keySession=null,n.onMessageListener=null,n.onKeyStatusChangeListener=null,Y.info("Closed KeySession")}catch(e){Y.warn("Failed to close KeySession",e)}return this._keySessions=[],Promise.all(e)}init(){const e=[];for(let t of B)if(!t.label||!this._configFilter.test(t.label)){if(this._disallowCodecs){const e=J(t,this._disallowCodecs);if(!e)continue;t=e}e.push(t)}return this._configs=e,this.requestMediaKeySystemAccess()}requestMediaKeySystemAccess(){const e=this._keySystemDeferred,t={},n=[];for(const e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;const i=e;n.push(navigator.requestMediaKeySystemAccess(p[i],this._configs).then((e=>{t[e.keySystem]=e})).catch((()=>{})))}return Promise.all(n).then((()=>this._selectKeySystem(t))).then((e=>e?(Y.info("Supported keySystem: ",e.keySystem),this._testMediaKeys(e)):Promise.reject(new E(h.EME_NO_SUPPORTED_KEYSYSTEM,"No supported keysystem was found.")))).then((t=>(this._prepareConfiguration(t),e.resolve(t),this._precacheServerCertificate?this._cacheServerCertificate(t.keySystem):this))).catch((t=>{const n=t.code||h.EME_NO_SUPPORTED_KEYSYSTEM,i=t.message||"No supported keysystem";return e.reject(E.fatal(n,i)),e.promise.then((()=>this))}))}createMediaKeys(e){return this._keySystemDeferred.promise.then((e=>e.createMediaKeys())).then((t=>this.setMediaKeys(e,t))).then((()=>this._configuration.promise.then((()=>{const t=this._keySystemSettings;return t&&!this._noServerCertificate&&t.withCertificate?this._trySetServerCertificate(t.licenseServer,e.mediaKeys):this}))))}setMediaKeys(e,t){return e.setMediaKeys(t).then((()=>{if(!e.mediaKeys)throw new E(h.EME_PLAYER_MEDIA_KEYS_SETTING_FAILED,"Failed to set MediaKeys on HTMLMediaElement");return this}))}removeMediaKeys(e){const t=e.mediaKeys;return Promise.resolve(e.setMediaKeys(null)).then((()=>t))}getKeySystemInfo(){return this._configuration.promise}getKeySystemImpl(){return this._emeImpl}createSessionWithParams(e){return new Promise(((t,n)=>{Y.info("Creating KeySession",e.keySystem);const i=e.mediaKeys.createSession(),o={generate:{start:null,end:null},request:{start:null,end:null},update:{start:null,end:null}},r=this._keySystemSettings&&this._keySystemSettings.licenseServer||void 0,a=this._onMessage.bind(this,{keySystem:e.keySystem,keySession:i,licenseServer:e.licenseServer||r,signal:e.signal,timeMap:o});i.addEventListener(d.KEY_SESSION_MESSAGE,a);const s=()=>{Y.info("KeyStatus change"),o.update.end=(0,l.X)();const e=e=>null!==e.start&&null!==e.end?(0,l.r)(e.start,e.end):0;t({elapsed:{generate:e(o.generate),request:e(o.request),update:e(o.update)}})};return i.addEventListener(d.KEY_SESSION_STATUSES_CHANGE,s),this._saveSession({keySession:i,onMessageListener:a,onKeyStatusChangeListener:s}),Y.info("Generating KeySession request",e.keySystem),o.generate.start=(0,l.X)(),Promise.resolve(i.generateRequest(e.initDataType,e.initData.buffer)).catch((e=>{if(!e)return;let t;switch(e.name){case"NotSupportedError":t=h.EME_NOT_SUPPORTED_ERROR;break;case"InvalidStateError":t=h.EME_INVALID_STATE_ERROR;break;default:t=h.EME_UNKNOWN_ERROR}n(new E(t,e.message||"Unknown error message."))}))}))}}var X;!function(e){e.SHOWING="showing",e.HIDDEN="hidden",e.DISABLED="disabled"}(X||(X={}));const $=Array.prototype.slice,Z="function"==typeof Array.from?e=>Array.from(e):e=>$.call(e);function Q(e,t){const n=Z(e.getElementsByTagName(t));for(const t of n)e.removeChild(t)}function ee(e){const t=e;return{id:t.id,text:t.text}}const te="visible",ne="hidden",ie=/^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$|[A-Za-z]{2,3}-x-cc/;class oe extends a.bk{constructor(e){super(),this._isVisible=!1,this._player=null,this._crossOrigin=null,this._currentVideoContent=null,this._unsubscribers=[],this._displayedCues=[],this._deactivateListeners=!1,this._activeLanguage=void 0,this._preferredLanguage=e.language.toLowerCase(),e.deactivateListeners&&(this._deactivateListeners=!0),this._onEnter=this._onEnter.bind(this),this._onExit=this._onExit.bind(this),this._onLoadedMetadata=this._onLoadedMetadata.bind(this),this.setPlayer(e.player)}_subscribeToCueEvents(e){var t;const{track:n}=e;if(!n)throw new Error("No track");if(null===(t=n.cues)||void 0===t?void 0:t.length){this._displayedCues=n.activeCues?Array.from(n.activeCues):[],this._emitDisplayedCues();for(let e=0;e<n.cues.length;e++){const t=n.cues[e];t&&(t.addEventListener("enter",this._onEnter),t.addEventListener("exit",this._onExit),this._unsubscribers.push((()=>{t.removeEventListener("enter",this._onEnter),t.removeEventListener("exit",this._onExit)})))}}else{const t=()=>{this._subscribeToCueEvents(e),e.removeEventListener("load",t)};e.addEventListener("load",t)}}_unsubscribeFromCueEvents(){this._unsubscribers.forEach((e=>e())),this._unsubscribers=[]}_onEnter(e){const t=e.target;this._displayedCues.indexOf(t)>-1||(this._displayedCues.push(t),this._emitDisplayedCues())}_onExit(e){const t=e.target,n=this._displayedCues.indexOf(t);n>-1&&(this._displayedCues.splice(n,1),this._emitDisplayedCues())}_emitDisplayedCues(){this.emit(d.PLAYER_DISPLAYED_CUES_CHANGED,{cues:this._displayedCues.map(ee)})}_updateVisibleState(){var e,t;if(!this._player)return;const n=this.getActiveLanguage();Array.from(null!==(t=null===(e=this._player)||void 0===e?void 0:e.querySelectorAll("track"))&&void 0!==t?t:[]).forEach((e=>{e.style.visibility=this._isVisible?te:ne}));const i=this._player.textTracks;for(let e=0,t=i.length;e<t;e++){const t=i[e];t&&(t.language.toLowerCase()===n?t.mode=this._isVisible?X.SHOWING:X.HIDDEN:t.mode=X.DISABLED)}}_updateTextTracks(){const e=this._player;if(!e)return;e.readyState>=1?this._switchActiveTextTrack():this._currentVideoContent&&e.addEventListener(d.MEDIA_LOADEDMETADATA,this._onLoadedMetadata)}_switchActiveTextTrack(){const e=this._player;if(!e||!this._currentVideoContent)return;const t=this._updateActiveLanguage();let n=null,i=null;Z(e.getElementsByTagName("track")).forEach((e=>{e.default&&(n=e),e.srclang.toLowerCase()===t&&(i=e)})),n&&(n.default=!1,n.track.mode=X.DISABLED,this._unsubscribeFromCueEvents()),i&&(i.default=!0,i.track.mode=this._isVisible?X.SHOWING:X.HIDDEN,this._deactivateListeners||this._subscribeToCueEvents(i))}_onLoadedMetadata(){const e=this._player;if(e&&(Q(e,"track"),this._currentVideoContent)){e.crossOrigin="anonymous",this._updateActiveLanguage();for(const{lang:t,url:n}of this._currentVideoContent.getSubtitles()){const i=document.createElement("track");i.label=`${t} subtitles`,i.kind="subtitles",i.srclang=t,i.src=n,i.style.visibility=this._isVisible?te:ne,e.appendChild(i)}setTimeout((()=>this._switchActiveTextTrack()))}}_updateActiveLanguage(){if(!this._player||!this._currentVideoContent)return void(this._activeLanguage=void 0);const e=this._currentVideoContent.getSubtitleLanguages(),t=this._preferredLanguage.split("-")[0];let n=null;for(const i of e){const e=i.toLowerCase();if(e===this._preferredLanguage)return this._activeLanguage=e,this._activeLanguage;e.split("-")[0]===t&&null===n&&(n=e)}return this._activeLanguage=null!=n?n:"en-us",this._activeLanguage}getActiveLanguage(){if(this._player&&this._currentVideoContent)return this._activeLanguage}setVideoContent(e){var t;this._unsubscribeFromCueEvents(),this._displayedCues=[],this._currentVideoContent=e,e?this.emit(d.PLAYER_SUBTITLE_LANGUAGES_LOADED,{languages:null!==(t=e.getSubtitleLanguages())&&void 0!==t?t:[]}):this.clear(),this._updateTextTracks()}setPlayer(e){var t;const n="VIDEO"===(null==e?void 0:e.tagName)?e:null;this._player!==n&&this.clear(),this._player=n||null,this._crossOrigin=null!==(t=null==n?void 0:n.crossOrigin)&&void 0!==t?t:null,this._updateTextTracks()}getAvailableLanguages(){var e,t;return null!==(t=null===(e=this._currentVideoContent)||void 0===e?void 0:e.getSubtitleLanguages())&&void 0!==t?t:[]}setLanguage(e){if(!e.length)throw new TypeError("Argument `code` must be a non-empty string. Hide subtitles using `hideSubtitles()`.");if(!ie.test(e))throw new TypeError("Argument `code` must be a valid BCP 47 formatted language code");this._preferredLanguage!==e.toLowerCase()&&(this._preferredLanguage=e.toLowerCase(),this._switchActiveTextTrack())}hide(){this._isVisible=!1,this._updateVisibleState()}show(){this._isVisible=!0,this._updateVisibleState()}deactivateListeners(){if(this._deactivateListeners)return;this._player&&(this._deactivateListeners=!0,this._unsubscribeFromCueEvents())}activateListeners(){this._deactivateListeners&&(this._deactivateListeners=!1,this._updateTextTracks())}areListenersActivated(){return!this._deactivateListeners}clear(){const e=this._player;e&&(this._unsubscribeFromCueEvents(),this._currentVideoContent=null,this._displayedCues=[],Q(e,"track"),e.removeEventListener(d.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.crossOrigin=this._crossOrigin)}visible(){return this._isVisible}}class re extends Error{constructor(e=h.STORAGE_ERROR,t="File Error"){super(t),this.canPlayNext=!0,this.debug={},this.code=e,this.message=t,this.name="FileError"}}class ae{constructor(e){this._mediaType=e.mediaType,this._fileId=e.fileId,this._uri=e.uri,this._audioGain=e.audioGain,this._logData=e.logData,this._hasNonFatalErrors=!!e.hasNonFatalErrors,this._disableCache=e.disableCache,this._keySystem=e.keySystem,this._licenseEndpoint=e.licenseEndpoint,this._mediaFormat=e.mediaFormat,this._mediator=e.mediator,this._noAuth=e.noAuth,this._contentMetadata=e.contentMetadata}getFileId(){return this._fileId}getAudioGain(){return this._audioGain}getMediaType(){return this._mediaType}getLogData(){return this._logData}setLogData(e){this._logData=e}toLogJSON(){return{uri:this._uri,fileId:this._fileId,mediaFormat:this._mediaFormat,mediaURL:this._mediaURL}}hasNonFatalErrors(){return this._hasNonFatalErrors}getContentMetadata(){return this._contentMetadata||{}}getInitParams(){return this.isProtected()?{initDataType:this._protection,initData:this._pssh}:null}getKeySystem(){var e;return null!==(e=this._keySystem)&&void 0!==e?e:null}getLicenseEndpoint(){var e;return null!==(e=this._licenseEndpoint)&&void 0!==e?e:null}}var se=n(82620);function ce(e){const t=se.X.decode(e),n=new Uint8Array(t.length);for(let e=0,i=t.length;e<i;e++)n[e]=t.charCodeAt(e);return n}const le=/avc1\.(([0-9a-f]{2})[0-9a-f]{2}([0-9a-f]{2}))/,ue="4d";function de(e,t){const n=e.toLowerCase().match(le),i=t.toLowerCase().match(le);if(!n||!i)return!1;const[,o,r,a]=n,[,s,c,l]=i;return o===s||r===ue&&c===ue&&parseInt(a,16)>=parseInt(l,16)}function pe(e,t){return e.sort(((e,n)=>"video_bitrate"in e&&"video_bitrate"in n?t?e.video_resolution===n.video_resolution?e.video_bitrate-n.video_bitrate:e.video_resolution-n.video_resolution:e.video_bitrate-n.video_bitrate:e.max_bitrate-n.max_bitrate))}function he(e,t){return void 0!==t&&Array.isArray(e.encryption_indices)&&-1===e.encryption_indices.indexOf(t)}function fe(e,t){if(!t)return!1;return t(Object.assign({mimeType:e.mime_type},function(e){return"video_codec"in e}(e)?{type:"video",codec:e.video_codec,bitrate:e.video_bitrate,height:e.video_height,width:e.video_width,resolution:e.video_resolution}:{type:"audio",codec:e.audio_codec,bitrate:e.audio_bitrate}))}function me(e){return"audio_codec"in e?e.audio_codec:e.video_codec}function _e(e){const{codec:t,formats:n,profiles:i,encryptionIndex:o,disallowProfile:r,preferredVideoResolution:a,allowMixedAVC1Codecs:s}=e;for(const e of n){const n=[];let c="spotify/unknown-mimeType",l="unknown-codec";for(const a of i){const i=me(a);!(t in a)||he(a,o)||fe(a,r)||("unknown-codec"!==l||a.mime_type!==e.mimeType||i!==e.codec&&!de(e.codec,i)?a.mime_type===c&&(i===l||s&&de(l,i))&&(n.push(a),a.__effective_codec=l):(c=e.mimeType,l=s?e.codec:i,n.push(a),a.__effective_codec=e.codec))}if(n.length)return pe(n,a)}return[]}function ge(e){if(!e)return;const t=e.__effective_codec||("audio_codec"in e?e.audio_codec:e.video_codec);return`${e.mime_type};codecs="${t}"`}class Ee extends ae{constructor(e){super(e),this._supportedFormats={audio:[],video:[]},this._baseURL="",this._fallbackURLs=[],this._loaded=!1,this._initTemplate="",this._segmentTemplate="",this._segmentLength=0,this._assetID="",this._segments=[],this._duration=0,this._videoProfiles={selected:null,available:[]},this._audioProfiles={selected:null,available:[]},this._subtitleLanguages=[],this._subtitleTemplate="",this._trackingData=null,this._resolver=e.resolver,this._keySystem=e.keySystem,this._keySystemSettings=e.keySystemSettings,this._disallowProfile=e.disallowProfile,this._supportedFormats=e.supportedFormats,this._videoResolution=e.videoResolution,this._allowMixedAVC1Codecs=e.allowMixedAVC1Codecs,this._trackingData=e.trackingData,this._contentMetadata=e.metadata}_calculateSegments(e){this._duration=e.end_time_millis/1e3;const t=this._segmentLength;this._initSegment={init:!0,cacheBufferSet:!1,timeStart:-1,timeEnd:-1,byteRanges:{}};const n=[];for(let e=0;e<this._duration;e+=t)n.push({cacheBufferSet:!e&&!this._disableCache,timeStart:e,timeEnd:e+t,byteRanges:{}});n[n.length-1].isFinal=!0,this._segments=n}_parseManifest(e){var t,n,i;let o;const r=e.contents[0];if(!r)return o=new re(h.FILE_MALFORMED_SEEKTABLE,"Malformed seektable: no contents."),o.track=this.toLogJSON(),Promise.reject(o);let a;if(this._fallbackURLs=e.base_urls.slice(),this._baseURL=null!==(t=this._fallbackURLs.shift())&&void 0!==t?t:"",this._initTemplate=e.initialization_template,this._segmentTemplate=e.segment_template,this._segmentLength=r.segment_length,null===(n=r.encryption_infos)||void 0===n?void 0:n.length){const e=r.encryption_infos,t=this._keySystemSettings.commonName;let n;for(let i=0,o=e.length;i<o;i++){const o=e[i];if(o&&o.key_system===t){a=i,n=o[this._keySystemSettings.pssh_field.video];break}}if(!n)return o=new re(h.FILE_FORMAT_NOT_SUPPORTED,"KeySystem does not support the file format."),o.track=this.toLogJSON(),Promise.reject(o);switch(this._keySystemSettings.commonName){case"widevine":case"playready":this._protection="cenc";try{this._pssh=ce(n)}catch(e){return o=new re(h.FILE_MALFORMED_PSSH,"Invalid PSSH value."),o.track=this.toLogJSON(),Promise.reject(o)}break;case"fairplay":this._protection="cbcs",this._pssh=new Uint8Array([]);try{this._assetID=function(e){const t=se.X.decode(e),n=new Array(t.length);for(let e=0,i=t.length;e<i;e++){const i=t.charCodeAt(e).toString(16);n[e]=1===i.length?`0${i}`:i}return n.join("")}(n)}catch(e){return o=new re(h.FILE_MALFORMED_PSSH,"Invalid PSSH value."),o.track=this.toLogJSON(),Promise.reject(o)}break;default:return o=new re(h.FILE_FORMAT_NOT_SUPPORTED,"KeySystem does not support the file format."),o.track=this.toLogJSON(),Promise.reject(o)}}return this._videoProfiles.available=_e({codec:"video_codec",formats:this._supportedFormats.video,profiles:r.profiles,encryptionIndex:a,disallowProfile:this._disallowProfile,preferredVideoResolution:this._videoResolution,allowMixedAVC1Codecs:this._allowMixedAVC1Codecs}),this._audioProfiles.available=_e({codec:"audio_codec",formats:this._supportedFormats.audio,profiles:r.profiles,encryptionIndex:a,disallowProfile:this._disallowProfile}),this._calculateSegments(e),this._subtitleLanguages=e.subtitle_language_codes||[],(null===(i=e.subtitle_base_urls)||void 0===i?void 0:i.length)&&e.subtitle_template?this._subtitleTemplate=`${e.subtitle_base_urls[0]}${e.subtitle_template}`:this._subtitleTemplate="",Promise.resolve()}load(e={resolveLatency:0,manifestLatency:0}){if(this._loaded)return e.resolveLatency=0,e.manifestLatency=0,Promise.resolve(this);if(!this._fileId)throw new TypeError("Missing: provide either fileId or resolvedURL");const t=(0,l.X)();return this._resolver.getManifest(this._fileId,this._noAuth).then((n=>(e.resolveLatency=0,e.manifestLatency=(0,l.r)(t),this._parseManifest(n)))).then((()=>(this._loaded=!0,this)))}isProtected(){return!!this._protection&&!!this._pssh}setVideoResolution(e){this._videoResolution=e}getMediaProfileInfo(){return{audio:this._audioProfiles,video:this._videoProfiles}}getSubtitles(){return this._subtitleLanguages.map((e=>({lang:e,url:this._subtitleTemplate.replace("{{language_code}}",e)})))}getSubtitleLanguages(){return this._subtitleLanguages}getCurrentBitrates(){var e,t,n,i;return{audio:null!==(t=null===(e=this._audioProfiles.selected)||void 0===e?void 0:e.audio_bitrate)&&void 0!==t?t:0,video:null!==(i=null===(n=this._videoProfiles.selected)||void 0===n?void 0:n.video_bitrate)&&void 0!==i?i:0}}getTrackingEvents(){return this._trackingData}getTrackingEventData(e){const t=this._trackingData?this._trackingData[e]:null;return t?{tracking_event:e,urls:t.urls}:null}}function ve(e){return!!e&&"getMediaProfileInfo"in e}function ye(e){return!!e&&"getCurrentBitrates"in e&&"canLowerBitrate"in e&&"adaptToBandwidth"in e}function be(e){return!!e&&"getTrackingEventData"in e&&"getTrackingEvents"in e}class Se{constructor(e){this.bandwidthEstimator=e.bandwidthEstimator}static create(e){return new Se(e)}getSample(e,t){var n,i,o,r,a,s,c;const l=this.bandwidthEstimator.getBandwidthEstimate(),d=function(e,t){const n=e.length;for(let i=0;i<n;i++)if(e.start(i)<=t&&t<=e.end(i))return 1e3*(e.end(i)-t);return 0}(e.buffered,e.currentTime);if("audio"===t.getMediaType()&&t.strategy===u.MSE){const e=null===(i=null===(n=t.getSegmentForTime(0))||void 0===n?void 0:n.bufferSet)||void 0===i?void 0:i.audio,o=null==e?void 0:e.bitrate;return{bandwidth:l,bufferAvailability:d,audio:{mimeType:null==e?void 0:e.mimeType,bitrate:o}}}if(ve(t)){const{audio:n,video:i}=t.getMediaProfileInfo(),u="getVideoPlaybackQuality"in e?e.getVideoPlaybackQuality():{creationTime:void 0,droppedVideoFrames:void 0,totalVideoFrames:void 0};return{bandwidth:l,bufferAvailability:d,video:{creationTime:u.creationTime,droppedVideoFrames:u.droppedVideoFrames,totalVideoFrames:u.totalVideoFrames,bitrate:null===(o=i.selected)||void 0===o?void 0:o.video_bitrate,availableBitrates:i.available.map((e=>e.video_bitrate)),height:null===(r=i.selected)||void 0===r?void 0:r.video_height,width:null===(a=i.selected)||void 0===a?void 0:a.video_width,resolution:null===(s=i.selected)||void 0===s?void 0:s.video_resolution,mimeType:ge(i.selected)},audio:{bitrate:null===(c=n.selected)||void 0===c?void 0:c.audio_bitrate,mimeType:ge(n.selected)}}}return null}}const Te=r.m.forTag("playback.audio_processor");class Ae{constructor(e){this._audioContext=null,this._mediaElementSource=null,this._gainNode=null,this._nodes=[],(null==e?void 0:e.disable)?Te.info("AudioProcessor disabled"):(this._audioContext=(null==e?void 0:e.audioContext)||("undefined"!=typeof AudioContext?new AudioContext:null),this._audioContext?(this._gainNode=this._audioContext.createGain(),this._buildNodePipeline(null==e?void 0:e.nodes)):Te.warn("The AudioContext API is not supported. Any future operation related to `AudioProcessor` will be skipped."))}static create(e){return new Ae(e)}_setMediaElementSource(e){var t;this._audioContext&&(this._mediaElementSource&&(Te.info("Disconnecting previous media element source"),this._mediaElementSource.disconnect()),Te.info("Creating new media element source"),this._mediaElementSource=this._audioContext.createMediaElementSource(e)||null,this._mediaElementSource.connect(null!==(t=this._nodes[0])&&void 0!==t?t:this._audioContext.destination))}_buildNodePipeline(e=[]){var t;if(!this._audioContext)return;Te.info("Disconnecting previous nodes");const n=this._nodes;for(const e of n)e.disconnect();const i=[this._gainNode,...e];let o=null;for(const e of i)o&&o.connect(e),o=e;null===(t=i[i.length-1])||void 0===t||t.connect(this._audioContext.destination),Te.info("Node pipeline built"),this._nodes=i}setPlayer(e){var t;e&&((null===(t=this._mediaElementSource)||void 0===t?void 0:t.mediaElement)!==e?this._setMediaElementSource(e):Te.info("The new player is the same as the current player"))}getPlayer(){var e;return(null===(e=this._mediaElementSource)||void 0===e?void 0:e.mediaElement)||null}setAudioGain(e=0){if(!this._gainNode)return Te.info("The default gain node is not available"),!1;const t=Math.pow(10,e/20);return this._gainNode.gain.value=t,Te.info("Main gain set to",t),!0}getAudioContext(){return this._audioContext}resume(){return this._audioContext&&"running"!==this._audioContext.state?this._audioContext.resume():Promise.resolve()}suspend(){return this._audioContext&&"suspended"!==this._audioContext.state?this._audioContext.suspend():Promise.resolve()}destroy(){var e;this._audioContext&&(null===(e=this._mediaElementSource)||void 0===e||e.connect(this._audioContext.destination)),this._nodes=[],this._audioContext=null,this._gainNode=null,this._mediaElementSource=null,Te.info("The AudioProcessor is destroyed")}}const Ie=r.m.forTag("playback.media_source_manager");function Oe(e){if(!e)return"";const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n]?`="${e[n]}"`:"";t.push(`${n}${i}`)}return t.length?`; ${t.join("; ")}`:""}class Ce extends a.bk{constructor(e){super(),this._mediaSource=null,this._sourceBuffers={},this._currentInitSegments={},this._updateQueue=[],this._playId=0,this._lastBufferClearTime=(0,l.X)(),this._customSourceBufferParams="";const{mimeTypes:t,customSourceBufferParams:n,disableBufferAbort:i}=e;this._mimeTypes=t,this._customSourceBufferParams=Oe(n),this._disableBufferAbort=!!i,this._onSourceOpen=this._onSourceOpen.bind(this),this._onSourceClose=this._onSourceClose.bind(this),this._onUpdateEnd=this._onUpdateEnd.bind(this),this.dequeueUpdates=this.dequeueUpdates.bind(this),e.noInit||this._init()}static create(e){return new Ce(e)}_init(){this._mediaSource=new MediaSource,this._mediaSource.addEventListener(d.MEDIA_SOURCE_OPEN,this._onSourceOpen),this._mediaSource.addEventListener(d.MEDIA_SOURCE_CLOSE,this._onSourceClose),this._sourceBuffers={},this._currentInitSegments={}}_onSourceOpen(){var e;Ie.info("MediaSource opened.");const t=this._mediaSource;if(0===(null===(e=null==t?void 0:t.sourceBuffers)||void 0===e?void 0:e.length)&&"open"===(null==t?void 0:t.readyState)){const e=this._mimeTypes;Ie.info("Creating source buffers for MIME types",e);for(const n of["video","audio"]){const i=e[n];if(i){const e=i+this._customSourceBufferParams,n=t.addSourceBuffer(e);n.addEventListener(d.SOURCE_BUFFER_UPDATE_END,this._onUpdateEnd),this._sourceBuffers[i]=n}}}this.dequeueUpdates(),this.emit(d.BUFFER_SOURCE_OPEN,null)}_onSourceClose(){Ie.info("MediaSource closed."),this._destroySourceBuffers(),this.emit(d.BUFFER_SOURCE_CLOSE,null)}_destroySourceBuffers(){const e=this._mediaSource;if(!e)return;const t=e.sourceBuffers;if(t.length)for(let n=0,i=t.length;n<i;n++){const i=t[n];if(i){i.removeEventListener(d.SOURCE_BUFFER_UPDATE_END,this._onUpdateEnd);try{e.removeSourceBuffer(i),Ie.info("Removed source buffer")}catch(e){Ie.warn("Failed to remove sourcebuffer",e)}}}this._sourceBuffers={},this._currentInitSegments={}}_onUpdateEnd(){this.dequeueUpdates(),this.emit(d.BUFFER_UPDATE_END,null)}_endUpdate(e){var t;this._isUpdating()?this._updateQueue.push(e):"open"===(null===(t=this._mediaSource)||void 0===t?void 0:t.readyState)&&(Ie.info("Signals end of stream."),this._mediaSource.endOfStream(),e.resolve&&e.resolve(!0))}_durationUpdate(e){this._isUpdating()?this._updateQueue.push(e):(this._mediaSource&&(this._mediaSource.duration=e.duration),e.resolve&&e.resolve(!0))}_isUpdating(){if(!this._mediaSource)return!1;const e=this._mediaSource.sourceBuffers;for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n&&n.updating)return!0}return!1}_appendUpdate(e){var t,n;const i=this._sourceBuffers[e.mimeType];if(!i||i.updating)return void this._updateQueue.push(e);let o=e.buffer;if(e.segment.init&&this._currentInitSegments[e.mimeType]===e.profileId)return null===(t=e.resolve)||void 0===t||t.call(e,!0),void Promise.resolve().then(this.dequeueUpdates);if(e.initBuffer&&e.buffer&&this._currentInitSegments[e.mimeType]!==e.profileId){const t=new Uint8Array(e.initBuffer.byteLength+e.buffer.byteLength);t.set(new Uint8Array(e.initBuffer),0),t.set(new Uint8Array(e.buffer),e.initBuffer.byteLength),o=t.buffer}try{i.appendBuffer(o)}catch(t){let n=!1;return"QuotaExceededError"===t.name?(Ie.warn("Failed to append buffer: exceeded quota."),n=!0,this.emitSync(d.BUFFER_QUOTA_EXCEEDED,null)):Ie.warn("Failed to append buffer",t),void new Promise((e=>{n?setTimeout(e,1e3):e()})).then((()=>{var n;null===(n=e.reject)||void 0===n||n.call(e,t),this.dequeueUpdates()})).then((()=>{e.init&&this._updateQueue.push(e)}))}const r=o.byteLength>e.buffer.byteLength;(e.segment.init||r)&&(this._currentInitSegments[e.mimeType]=e.profileId),null===(n=e.resolve)||void 0===n||n.call(e,!0),r?Ie.info(`Injected combined init segment and playable segment (${e.mimeType}, ${e.profileId})`):e.init&&Ie.info(`Injected individual init segment (${e.mimeType}, ${e.profileId})`)}_abortUpdate(e){var t;null===(t=e.resolve)||void 0===t||t.call(e,!1),Promise.resolve().then(this.dequeueUpdates)}dequeueUpdates(){const e=this._updateQueue.shift();e&&this.tryUpdate(e)}tryUpdate(e){if(e.playId!==this._playId)return Ie.info("Try update dropped: playId has changed"),void this._abortUpdate(e);if(e.timestamp<this._lastBufferClearTime)return Ie.info("Try update dropped: update is older than the last clear"),void this._abortUpdate(e);const t=this._mediaSource;t&&"open"!==t.readyState&&"ended"!==t.readyState?this._updateQueue.push(e):"end"===e.type?this._endUpdate(e):"duration"===e.type?this._durationUpdate(e):"append"===e.type&&this._appendUpdate(e)}appendBufferData(e,t,n,i=(0,l.X)()){const o=[];if(e.audio){const r=(0,g.u)();this.tryUpdate({playId:n,timestamp:i,segment:t,type:"append",profileId:e.audio.profileId,buffer:e.audio.buffer,initBuffer:e.audio.initBuffer,mimeType:e.audio.mimeType,init:!!t.init,resolve:r.resolve,reject:r.reject}),o.push(r.promise)}if(e.video){const r=(0,g.u)();this.tryUpdate({playId:n,timestamp:i,segment:t,type:"append",profileId:e.video.profileId,buffer:e.video.buffer,initBuffer:e.video.initBuffer,mimeType:e.video.mimeType,init:!!t.init,resolve:r.resolve,reject:r.reject}),o.push(r.promise)}return Promise.all(o)}endOfStream(e){this._mediaSource&&"ended"!==this._mediaSource.readyState&&this.tryUpdate({playId:e,timestamp:(0,l.X)(),type:"end"})}abort(e=!1){if(this._lastBufferClearTime=(0,l.X)(),this._disableBufferAbort)return void Ie.info("MediaSource abort skipped; action disabled.");const t=this._mediaSource;if(t){const n=t.sourceBuffers;for(let i=0,o=n.length;i<o;i++){const o=n[i];if("open"===t.readyState&&o)try{o.abort();const t=o.buffered;if(e&&t.length){const e=t.start(0),n=t.end(t.length-1);o.remove(e,n),Ie.info("Cleared buffer range",e,n)}}catch(e){Ie.warn("MediaSourceManager.clear failed.",e)}}}this._currentInitSegments={}}destroy(){const e=this._mediaSource;e&&(Ie.info("Source destroyed"),e.removeEventListener("sourceopen",this._onSourceOpen),e.removeEventListener("sourceclose",this._onSourceClose),this._destroySourceBuffers(),this._mediaSource=null)}recreate(e){this.abort(),this.destroy(),this._mimeTypes=e.mimeTypes,e.customSourceBufferParams&&(this._customSourceBufferParams=Oe(e.customSourceBufferParams)),this._init()}setDuration(e){return new Promise((t=>{this.tryUpdate({playId:this._playId,timestamp:(0,l.X)(),type:"duration",duration:e,resolve:t})}))}getMediaSource(){return this._mediaSource}setPlayId(e){this._playId=e}getPlayId(){return this._playId}}const Re=r.m.forTag("playback.buffer_fill_operation");class Ne{constructor(e){var t;this._batchSize=1,this._prioritizeFirst=!1,this._segmentsToAppend=[],this._abortController=(0,s.createAbortControllerLike)(),this.status="pending",this.timeStart=e.timeStart,this.timeEnd=e.timeEnd,this.done=new Promise((e=>{this._resolveDone=e})),this._getBufferedTimeRanges=e.getBufferedTimeRanges,this._getBufferSetForSegment=e.getBufferSetForSegment,this._getSegmentsForRange=e.getSegmentsForRange,this._appendBufferData=e.appendBufferData,this._batchSize=null!==(t=e.batchSize)&&void 0!==t?t:1,this._prioritizeFirst=!!e.prioritizeFirst}_filterBufferedSegments(e){const t=this._getBufferedTimeRanges();let n=[];if(null==t?void 0:t.length)e:for(const i of e){let e=t.length;for(;e--;){const n=t.start(e),o=t.end(e);if(n<=i.timeStart&&(o>=i.timeEnd||o+1e-5>i.timeEnd))continue e}n.push(i)}else n=e;return n}_fill(e,t=!1){var n;if(e.aborted)return;const i=this._segmentsToAppend,o=i.length,r=i.splice(0,t?1:Math.max(1,this._batchSize));if(!r.length)return this.status="ended",void(null===(n=this._resolveDone)||void 0===n||n.call(this));Re.log(`Segments to download: ${r.length}/${o}`);const a=(0,l.X)();Promise.all(r.map((t=>this._getBufferSetForSegment(t,e).then((n=>e.aborted?Promise.resolve([!1]):this._appendBufferData(n,t,a)))))).then((t=>{var n,i;if(e.aborted)return;if(-1!==[].concat(...t).indexOf(!1))return this.status="failed",null===(n=this._resolveDone)||void 0===n||n.call(this),Re.warn(`Fill operation ${this.timeStart}-${this.timeEnd} append failed.`),void this._clear();this._segmentsToAppend.length?this._fill(e):(this.status="ended",null===(i=this._resolveDone)||void 0===i||i.call(this),this._clear())}),(e=>{var t;e.code!==s.TransportErrors.HTTP_REQUEST_ABORTED?(this.status="failed",null===(t=this._resolveDone)||void 0===t||t.call(this),this._clear(),Re.warn(`Fill operation ${this.timeStart}-${this.timeEnd} failed.`,"QuotaExceededError"===e.name?"Exceeded buffer quota":e)):this.status="aborted"}))}_clear(){this._segmentsToAppend=[]}start(){var e;if(this._abortController.signal.aborted||"pending"!==this.status)return this.done;this.status="started",Re.log("Starting fill operation for range",this.timeStart,this.timeEnd);const t=this._getSegmentsForRange(this.timeStart,this.timeEnd);return this._segmentsToAppend=this._filterBufferedSegments(t),this._segmentsToAppend.length?(this._fill(this._abortController.signal,this._prioritizeFirst),this.done):(Re.warn("Fill operation ended early: all segments are buffered."),this.status="ended",null===(e=this._resolveDone)||void 0===e||e.call(this),this.done)}abort(){var e;return"aborted"===this.status||("started"===this.status&&Re.info(`Fill operation ${this.timeStart}-${this.timeEnd} aborted.`),this.status="aborted",null===(e=this._resolveDone)||void 0===e||e.call(this),this._abortController.abort(),this._clear()),this}}var Pe,Le;!function(e){e[e.AUDIO=12]="AUDIO",e[e.VIDEO=20]="VIDEO"}(Pe||(Pe={}));class ke extends a.bk{constructor(e,t={},n={}){var i,o;super(),this._bufferTarget={audio:Pe.AUDIO,video:Pe.VIDEO},this._currentFillOperation=null,this._tracker=e;const{customSourceBufferParams:r,noInit:a,disableBufferAbort:s}=n;this._bufferTarget.audio=(null===(i=n.bufferTarget)||void 0===i?void 0:i.audio)||Pe.AUDIO,this._bufferTarget.video=(null===(o=n.bufferTarget)||void 0===o?void 0:o.video)||Pe.VIDEO,this._mediaSourceManager=Ce.create({mimeTypes:t,noInit:a,customSourceBufferParams:r,disableBufferAbort:s}),this.proxyEmitAll(this._mediaSourceManager,{[d.BUFFER_SOURCE_OPEN]:d.BUFFER_SOURCE_OPEN,[d.BUFFER_SOURCE_CLOSE]:d.BUFFER_SOURCE_CLOSE,[d.BUFFER_QUOTA_EXCEEDED]:d.BUFFER_QUOTA_EXCEEDED,[d.BUFFER_UPDATE_END]:d.BUFFER_UPDATE_END})}static create(e,t={},n={}){return new ke(e,t,n)}_trackBufferingProgress(e){e.audio&&e.audio.buffer&&this._tracker.trackBytesDownloaded(e.audio.buffer.byteLength),e.video&&e.video.buffer&&this._tracker.trackBytesDownloaded(e.video.buffer.byteLength)}_trackBufferURLs(e){var t,n,i,o,r,a;null!==(null===(t=e.audio)||void 0===t?void 0:t.bandwidth)&&this._tracker.trackBufferURL((null===(n=e.audio)||void 0===n?void 0:n.bufferURL)||"",{bandwidth:(null===(i=e.audio)||void 0===i?void 0:i.bandwidth)||0}),null!==(null===(o=e.video)||void 0===o?void 0:o.bandwidth)&&this._tracker.trackBufferURL((null===(r=e.video)||void 0===r?void 0:r.bufferURL)||"",{bandwidth:(null===(a=e.video)||void 0===a?void 0:a.bandwidth)||0})}dequeueUpdates(){this._mediaSourceManager.dequeueUpdates()}abort(e=!1){var t;null===(t=this._currentFillOperation)||void 0===t||t.abort(),this._currentFillOperation=null,this._mediaSourceManager.abort(e)}getMediaSource(){return this._mediaSourceManager.getMediaSource()}destroy(){this._mediaSourceManager.destroy()}checkBufferHealth(e,t,n){var i;const o=this._currentFillOperation;if(!n&&"started"===(null==o?void 0:o.status))return;const r=this._mediaSourceManager,a=r.getMediaSource();if(!a||"closed"===a.readyState)return;let c=t;if(c>=a.duration){const t=e.getFinalSegment();t&&(c=t.timeStart)}const l=function(e,t){var n;const i=null===(n=e.sourceBuffers[e.sourceBuffers.length-1])||void 0===n?void 0:n.buffered;if(i)for(let e=0;e<i.length;e++){const n=i.start(e),o=i.end(e);if(n<=t&&t<=o)return{start:n,end:o}}return null}(a,c);if(l&&!e.getSegmentAfterTime(l.end)&&"ended"===a.readyState)return;const u="video"===e.getMediaType()?this._bufferTarget.video:this._bufferTarget.audio,p=null!==(i=null==l?void 0:l.end)&&void 0!==i?i:c,h=p-c;if(h>u)return;const f=p+(u-h);if(!o||"started"!==o.status||o.timeStart<p||o.timeEnd>f){null==o||o.abort();const t=r.getPlayId();this._currentFillOperation=new Ne({timeStart:p,timeEnd:f,getBufferedTimeRanges:()=>{var e,t;return null!==(t=null===(e=a.sourceBuffers[a.sourceBuffers.length-1])||void 0===e?void 0:e.buffered)&&void 0!==t?t:null},getBufferSetForSegment:(n,i)=>e.getBufferSetForSegment(n,i).then((e=>(this._trackBufferingProgress(e),this._trackBufferURLs(e),e)),(n=>(t===r.getPlayId()&&n.code!==s.TransportErrors.HTTP_REQUEST_ABORTED&&this.emit(d.BUFFER_APPEND_ERROR,{error:n,canPlayNext:!0,track:e.toLogJSON()}),Promise.reject(n)))),getSegmentsForRange:(t,n=1/0)=>e.getSegmentsForRange(t,n),appendBufferData:(e,n,i)=>r.appendBufferData(e,n,t,i).then((e=>(n.isFinal&&-1===(null==e?void 0:e.indexOf(!1))&&this._mediaSourceManager.endOfStream(t),e))),prioritizeFirst:!l}),this._currentFillOperation.start()}}isPositionInCurrentFillRange(e,t){const n=this._currentFillOperation;if("started"!==(null==n?void 0:n.status))return!1;const i=t+("video"===e.getMediaType()?this._bufferTarget.video:this._bufferTarget.audio);return n.timeStart>=t||n.timeEnd>=i}recreate(e){this._mediaSourceManager.recreate({mimeTypes:e})}injectInitSegment(e){const t=this._mediaSourceManager,n=t.getMediaSource();if(!n||"closed"===n.readyState)return Promise.resolve(!1);const i=e.getInitSegment();if(!i)return Promise.resolve(!1);const o=(0,l.X)(),r=t.getPlayId();return e.getInitBufferSet().then((e=>t.appendBufferData(e,i,r,o))).then((()=>!0))}setDuration(e){return this._mediaSourceManager.setDuration(e)}setPlayId(e){this._mediaSourceManager.setPlayId(e)}getBufferTarget(){return this._bufferTarget}}class we extends ae{constructor(e){super(e),this.strategy=u.URL,this._url=e.url,this._mimeType=e.mimeType}load(){if(this._mimeType){if(!(e=this._mimeType,t=this.getMediaType(),""!==document.createElement(t).canPlayType(e)))throw new re(h.FILE_FORMAT_NOT_SUPPORTED,"Content is not playable.")}var e,t;return Promise.resolve(this)}unload(){}isProtected(){return!1}getMediaTypeMimeTypes(){var e,t;return"video"===this._mediaType?{video:null!==(e=this._mimeType)&&void 0!==e?e:"video/mp4"}:{audio:null!==(t=this._mimeType)&&void 0!==t?t:"audio/mp3"}}getURL(){return this._url}getLoadingApproach(){return{approach:"src"}}}!function(e){e[e.MP3_256=3]="MP3_256",e[e.MP3_320=4]="MP3_320",e[e.MP3_160=5]="MP3_160",e[e.MP3_96=6]="MP3_96",e[e.MP4_128=10]="MP4_128",e[e.MP4_256=11]="MP4_256",e[e.MP4_128_DUAL=12]="MP4_128_DUAL",e[e.MP4_256_DUAL=13]="MP4_256_DUAL",e[e.MP4_128_CBCS=14]="MP4_128_CBCS",e[e.MP4_256_CBCS=15]="MP4_256_CBCS",e[e.MP4_FLAC=17]="MP4_FLAC"}(Le||(Le={}));const De={[Le.MP3_256]:"audio/mp3",[Le.MP3_320]:"audio/mp3",[Le.MP3_160]:"audio/mp3",[Le.MP3_96]:"audio/mp3",[Le.MP4_128]:'audio/mp4; codecs="mp4a.40.2"',[Le.MP4_256]:'audio/mp4; codecs="mp4a.40.2"',[Le.MP4_128_DUAL]:'audio/mp4; codecs="mp4a.40.2"',[Le.MP4_256_DUAL]:'audio/mp4; codecs="mp4a.40.2"',[Le.MP4_128_CBCS]:'audio/mp4; codecs="mp4a.40.2"',[Le.MP4_256_CBCS]:'audio/mp4; codecs="mp4a.40.2"',[Le.MP4_FLAC]:'audio/mp4; codecs="flac"'};class Me extends ae{constructor(e){if(super(e),this._loaded=!1,this._lastResolveToken=0,this._fallbackURLs=[],this._contentSegments=[],this._duration=0,this._segmentLength=0,this._protection="cenc",this._fileId=e.fileId,this._resolver=e.resolver,this._keySystem=e.keySystem,this._keySystemSettings=F[this._keySystem],this._fileFormat=e.fileFormat,this._disableCache=e.disableCache,this._preloadedManifest=e.preloadedManifest,this._preresolvedURL=e.preresolvedURL,this._fileFormat)this._mimeType=De[this._fileFormat];else switch(this._mediaFormat){case m.MP3:this._mimeType=De[Le.MP3_160];break;case m.MP4:case m.MP4_DUAL:case m.MP4_CBCS:this._mimeType=De[Le.MP4_128];break;default:throw new TypeError(`Unknown audio format ${this._mediaFormat}`)}}_getCDNURLs(e){if(this._preresolvedURL)return this._currentURL=this._preresolvedURL,this._fallbackURLs=[],e&&(e.resolveLatency=0),Promise.resolve(!0);const t=this._fileId;clearTimeout(this._lastResolveToken);const n=()=>(this._lastResolveTime=(0,l.X)(),this._resolver.getCDNURL(t,this._fileFormat).then((t=>(e&&this._lastResolveTime&&(e.resolveLatency=(0,l.r)(this._lastResolveTime)),t)))),i=this._lastResolveTime?(0,l.r)(this._lastResolveTime):1/0;let o;return o=i<1001?new Promise(((e,t)=>{this._lastResolveToken=setTimeout((()=>{n().then(e,t)}),1001-i)})):n(),o.then((e=>(this._fallbackURLs=e.uris,this._currentURL=this._fallbackURLs.shift(),!0))).catch((e=>(e&&(e.track=this.toLogJSON()),Promise.reject(e))))}_getManifest(e){if(this._preloadedManifest)return e&&(e.manifestLatency=0),Promise.resolve(this._preloadedManifest);const t=(0,l.X)();return this._resolver.getManifest(this._fileId).then((n=>(e&&(e.manifestLatency=(0,l.r)(t)),n)))}_calculateSegments(e){let t=e.offset;this._initSegment={init:!0,cacheBufferSet:!this._disableCache,timeStart:0,timeEnd:0,byteRanges:{audio:{start:0,end:t-1}}};const n=e.segments,i=e.timescale,o=n.length,r=new Array(o);let a=0,s=0;for(let e=0,c=o;e<c;e++){const o=n[e];if(!(null==o?void 0:o.length))continue;const[c,l]=o,u=l/i,d={init:!1,cacheBufferSet:!e&&!this._disableCache,timeStart:a,timeEnd:a+u,byteRanges:{audio:{start:t,end:t+(c-1)}}};r[e]=d,t+=c,s+=l,a+=u,Math.floor(u)>this._segmentLength&&(this._segmentLength=Math.floor(u))}r[r.length-1].isFinal=!0,this._contentSegments=r,this._duration=s/i}_calculateSegmentsV1(e){let t=e.offset;this._initSegment={init:!0,cacheBufferSet:!this._disableCache,timeStart:0,timeEnd:0,byteRanges:{audio:{start:0,end:t-1}}};const n=e.references,i=e.timescale,o=n.length,r=new Array(o);let a=0,s=0;for(let e=0,c=o;e<c;e++){const o=n[e];if(!o)continue;const c=o.duration/i,l={init:!1,cacheBufferSet:!e&&!this._disableCache,timeStart:s,timeEnd:s+c,byteRanges:{audio:{start:t,end:t+(o.size-1)}}};r[e]=l,t+=o.size,a+=o.duration,s+=c,Math.floor(c)>this._segmentLength&&(this._segmentLength=Math.floor(c))}r[r.length-1].isFinal=!0,this._contentSegments=r,this._duration=a/i}load(e={resolveLatency:0,manifestLatency:0}){return this._loaded?(e.resolveLatency=0,e.manifestLatency=0,Promise.resolve(this)):Promise.all([this._getCDNURLs(e),this._getManifest(e)]).then((([e,t])=>{var n;if(this._loaded=!0,!e||!t)return this;if(this._keySystem===p.INVALID_SPOTIFY_KEY)return this._pssh=new Uint8Array(0),this;let i;const o=this._keySystemSettings.pssh_field.audio;let r=function(e,t){return t.hasOwnProperty(e)}(o,t)?t[o]:null;if(!r&&"pssh_widevine"===o&&"pssh"in t&&(r=null!==(n=t.pssh)&&void 0!==n?n:null),!r)return i=new re(h.FILE_FORMAT_NOT_SUPPORTED,"KeySystem does not support the file format."),i.track=this.toLogJSON(),Promise.reject(i);if(this._protection=t.protection||"cenc",this._pssh=ce(r),"segments"in t&&t.segments)this._calculateSegments(t);else{if(!("references"in t)||!t.references)return i=new re(h.FILE_MALFORMED_SEEKTABLE,"Malformed seektable."),i.track=this.toLogJSON(),Promise.reject(i);this._calculateSegmentsV1(t)}return this}))}isProtected(){return!!this._protection&&!!this._pssh}getMediaTypeMimeTypes(){return{audio:this._mimeType}}}const xe="application/vnd.apple.mpegurl";function Ue(e){var t;const n=function(e){return e.map((e=>{if(e.byteEnd&&void 0!==e.byteStart){let t=""+(1+e.byteEnd-e.byteStart);return t+=`@${e.byteStart}`,`#EXTINF:${e.duration},\n#EXT-X-BYTERANGE:${t}\n${e.url}`}return`#EXTINF:${e.duration},\n${e.url}`})).join("\n")}(e.segments),i=e.assetID?`#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://${e.assetID}",KEYFORMATVERSIONS="1",KEYFORMAT="com.apple.streamingkeydelivery"`:"";let o=e.map?`#EXT-X-MAP:URI="${e.map.url}"`:"";return(null===(t=e.map)||void 0===t?void 0:t.byteEnd)&&void 0!==e.map.byteStart&&(o+=`,BYTERANGE="${1+e.map.byteEnd}@${e.map.byteStart}"`),`#EXTM3U\n#EXT-X-VERSION:6\n#EXT-X-TARGETDURATION:${Math.floor(e.targetDuration)}\n#EXT-X-MEDIA-SEQUENCE:0\n#EXT-X-PLAYLIST-TYPE:VOD\n${o?`${i}\n${o}`:i}\n${n}\n#EXT-X-ENDLIST`}function Ve(e){return`data:application/vnd.apple.mpegurl;base64,${btoa(e)}`}function Fe(e){const t=new Blob([e],{type:xe});return URL.createObjectURL(t)}function Be(e){return Fe(Ue(e))}function He(e){return Ve(Ue(e))}class Ge extends Me{constructor(){super(...arguments),this._hlsURL=null,this.strategy=u.URL}unload(){this._hlsURL&&URL.revokeObjectURL(this._hlsURL),this._hlsURL=null}getURL(){var e,t;const n=this._currentURL,i=this._initSegment;if(!n||!i)throw new re(h.FILE_NOT_RESOLVED,"Cannot return HLS Manifest URL: File not resolved.");this.unload();const o={url:n,byteStart:null===(e=i.byteRanges.audio)||void 0===e?void 0:e.start,byteEnd:null===(t=i.byteRanges.audio)||void 0===t?void 0:t.end},r=this._contentSegments.map((e=>{var t,i;return{url:n,duration:e.timeEnd-e.timeStart,byteStart:null===(t=e.byteRanges.audio)||void 0===t?void 0:t.start,byteEnd:null===(i=e.byteRanges.audio)||void 0===i?void 0:i.end}})),a="undefined"==typeof MediaSource?Be:He;return this._hlsURL=a({assetID:this._fileId,targetDuration:10,map:o,segments:r}),this._hlsURL}getLoadingApproach(){return{approach:"source",type:xe}}}class We extends Error{constructor(e,t,n,i={}){super(t),this.code=e,this.message=t,this.status=n,this.debug=i,this.name="FragmentError"}}class je extends Me{constructor(e){super(e),this._profileId=`${Date.now()}`,this._lastFetchedBuffer=null,this.strategy=u.MSE,this._transport=e.transport,this._abrManager=e.abrManager,this._parseSegmentResponse=this._parseSegmentResponse.bind(this)}_parseSegmentResponse(e,t){const{requestURL:n,segment:i,byteRangeHeader:o,expectedLength:r}=e.metadata,a=`${i.timeStart}-${i.timeEnd}`;switch(e.status){case 0:{if(e.offline)return Promise.reject(new We(h.FRAGMENT_OFFLINE_REQUEST_FAILED_WITH_ZERO,"Request failed with status 0.",0,{time_range:a,byte_range:o}));const r=new We(h.FRAGMENT_ONLINE_REQUEST_FAILED_WITH_ZERO,"Request failed with status 0.",0);let s=!1;return this._currentURL!==n?s=!0:this._fallbackURLs.length&&this._currentURL===n&&(s=!0,this._currentURL=this._fallbackURLs.shift()),r.debug.has_fallback=s,s?this.getBufferSetForSegment(i,t):Promise.reject(r)}case 200:case 206:{const t=e.body;if(!t)return Promise.reject(new We(h.FRAGMENT_REQUEST_EMPTY_RESPONSE,"Empty response for successful buffer.",e.status,{time_range:a,byte_range:o}));if(t.byteLength!==r)return Promise.reject(new We(h.FRAGMENT_REQUEST_UNEXPECTED_LENGTH,"Received buffer of unexpected length.",e.status,{time_range:a,byte_range:o,received_length:t.byteLength,expected_length:r}));const s={audio:{profileId:this._profileId,bufferURL:n,byteStart:i.byteRanges.audio.start,byteEnd:i.byteRanges.audio.end,buffer:t,mimeType:this._mimeType,bandwidth:8e3*t.byteLength/e.timing.completed}};return i.cacheBufferSet&&t&&t.byteLength&&(i.bufferSet=s),this._abrManager.sample(t.byteLength,e.timing.completed),Promise.resolve(s)}case 403:return this._getCDNURLs().then((()=>this.getBufferSetForSegment(i,t)));default:{let r=!1;return this._currentURL!==n?r=!0:this._fallbackURLs.length&&this._currentURL===n&&(r=!0,this._currentURL=this._fallbackURLs.shift()),r?this.getBufferSetForSegment(i,t):Promise.reject(new We(h.FRAGMENT_REQUEST_FAILED_WITH_STATUS,`Buffer request failed with status ${e.status}`,e.status,{time_range:a,byte_range:o}))}}}unload(){this._lastFetchedBuffer=null,this._disableCache&&(this._initSegment&&(this._initSegment.bufferSet=null),this._contentSegments[0]&&(this._contentSegments[0].bufferSet=null))}getCalculatedDuration(){return this._duration}getSegmentLength(){return this._segmentLength}getInitSegment(){return this._initSegment}getSegmentForTime(e){var t,n;if(!(null===(t=this._contentSegments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return null!==(n=this._contentSegments[0])&&void 0!==n?n:null;for(const t of this._contentSegments)if(t.timeStart<=e&&t.timeEnd>=e)return t;return null}getSegmentAfterTime(e){var t,n;if(!(null===(t=this._contentSegments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return null!==(n=this._contentSegments[1])&&void 0!==n?n:null;for(const t of this._contentSegments)if(t.timeStart>e)return t;return null}getSegmentsForRange(e,t=1/0){var n;const i=[];if(null===(n=this._contentSegments)||void 0===n?void 0:n.length)for(const n of this._contentSegments)n.timeStart<=t&&n.timeEnd>=e&&i.push(n);return i}getFinalSegment(){var e,t;return null!==(t=null===(e=this._contentSegments)||void 0===e?void 0:e[this._contentSegments.length-1])&&void 0!==t?t:null}getInitBufferSet(e){var t,n;if(!this._initSegment)throw new re(h.FILE_NOT_RESOLVED,"Cannot return the init bufferset: file not resolved.");return(null===(n=null===(t=this._initSegment.bufferSet)||void 0===t?void 0:t.audio)||void 0===n?void 0:n.buffer.byteLength)?Promise.resolve(this._initSegment.bufferSet):(this._initBufferPromise||(this._initBufferPromise=this.getBufferSetForSegment(this._initSegment,e).then((e=>{var t;if(!(null===(t=e.audio)||void 0===t?void 0:t.buffer.byteLength))throw new Error("Empty initialization segment buffer");return e}))),this._initBufferPromise)}getBufferSetForSegment(e,t){var n;if((null===(n=this._lastFetchedBuffer)||void 0===n?void 0:n.segment)===e)return Promise.resolve(this._lastFetchedBuffer.bufferSet);if(e.bufferSet)return Promise.resolve(e.bufferSet);if(!this._currentURL)return Promise.reject(new re(h.FILE_NOT_RESOLVED,"Cannot fetch buffer: No resolved URL"));const i=e.byteRanges.audio,o=`${i.start}-${i.end}`,r=i.end+1-i.start,a=this._currentURL;return(e.init?Promise.resolve(null):this.getInitBufferSet(t)).then((n=>Promise.all([n,this._transport.request(a,{method:"GET",responseType:"arraybuffer",headers:{Range:`bytes=${o}`},signal:t,timing:!0,metadata:{requestURL:a,segment:e,byteRangeHeader:o,expectedLength:r},retry:{condition:(e,t)=>{if(0===e.status)return e.offline;const n=e.getStatusFamily();return 429===e.status||n===t.CONNECTION_ERROR||n===t.SERVER_ERROR||!(n!==t.SUCCESS||!e.body)&&e.body.byteLength!==r}}}).then((e=>this._parseSegmentResponse(e,t)))]))).then((([t,n])=>{var i;return(null===(i=null==t?void 0:t.audio)||void 0===i?void 0:i.buffer)&&n.audio&&(n.audio.initBuffer=t.audio.buffer),this._lastFetchedBuffer={segment:e,bufferSet:n},n}))}}class Ye extends Ee{constructor(e){super(e),this._hlsURLs=[],this.strategy=u.URL,this._keySystem===p.FAIRPLAY&&(this._supportedFormats.audio.unshift({mimeType:"audio/mp2t",codec:"mp4a.40.2"}),this._supportedFormats.video.unshift({mimeType:"video/mp2t",codec:"avc1.4d402a"}))}_getHLSURLForProfile(e,t){const n=this._duration,i=this._segmentLength,o=this._segmentTemplate,r=[];for(let t=0;t<n;t+=i){const a=t+i>n?n-t:i,s=o.replace("{{profile_id}}",e.id.toString(10)).replace("{{segment_timestamp}}",t.toString(10)).replace("{{file_type}}",e.file_type);r.push({duration:a,url:`${this._baseURL}${s}`})}const a=("undefined"==typeof MediaSource?Be:He)({assetID:this._assetID,targetDuration:i,map:t?{url:t}:void 0,segments:r});return this._hlsURLs.push(a),a}load(e={resolveLatency:0,manifestLatency:0}){return super.load(e).then((()=>{var e,t;return this._audioProfiles.selected=null!==(e=this._audioProfiles.available[0])&&void 0!==e?e:null,this._videoProfiles.selected=null!==(t=this._videoProfiles.available[0])&&void 0!==t?t:null,this}))}getURL(){var e,t;if(!this._baseURL)throw new re(h.FILE_NOT_RESOLVED,"Cannot return HLS Manifest URL: File not resolved.");this.unload();const n=[],i=this._audioProfiles.available[0];if(i){const e="ts"!==i.file_type?this._resolver.getInitSegmentURLs(this._baseURL,this._initTemplate,i,void 0).audio:"";n.push(`#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,URI="${this._getHLSURLForProfile(i,e)}"`)}for(const o of this._videoProfiles.available){const r=(null!==(e=null==i?void 0:i.max_bitrate)&&void 0!==e?e:0)+o.max_bitrate,a=(null!==(t=null==i?void 0:i.audio_bitrate)&&void 0!==t?t:0)+o.video_bitrate,s="ts"!==o.file_type?this._resolver.getInitSegmentURLs(this._baseURL,this._initTemplate,void 0,o).video:"";n.push(`#EXT-X-STREAM-INF:BANDWIDTH=${r},AVERAGE-BANDWIDTH=${a},RESOLUTION=${o.video_width}x${o.video_height},CODECS="${(null==i?void 0:i.audio_codec)?`${i.audio_codec}, ${o.video_codec}`:o.video_codec}"${(null==i?void 0:i.audio_codec)?',AUDIO="audio"':""}\n${this._getHLSURLForProfile(o,s)}`)}const o=`#EXTM3U\n${n.join("\n")}`,r=("undefined"==typeof MediaSource?Fe:Ve)(o);return this._hlsURLs.push(r),r}unload(){for(const e of this._hlsURLs)URL.revokeObjectURL(e);this._hlsURLs=[]}getMediaTypeMimeTypes(){var e,t;return{audio:ge(null===(e=this._audioProfiles.available)||void 0===e?void 0:e[0]),video:ge(null===(t=this._videoProfiles.available)||void 0===t?void 0:t[0])}}getLoadingApproach(){return{approach:"source",type:xe}}adaptToBandwidth(){return Promise.resolve(!1)}canLowerBitrate(){return!1}}class ze extends Ee{constructor(e){super(e),this._initSegmentBuffers={},this.strategy=u.MSE,this._transport=e.transport,this._abrManager=e.abrManager,this._parseSegmentResponse=this._parseSegmentResponse.bind(this)}_isQualityMatched(e,t,n){var i,o,r,a;if(this._videoResolution){const t=null!==(i=this._videoResolution.max)&&void 0!==i?i:9007199254740991,a=null!==(o=this._videoResolution.min)&&void 0!==o?o:0;if(n){const n=null!==(r=this._videoResolution.start)&&void 0!==r?r:t;return e.video_resolution<=n}return e.video_resolution>=a&&e.video_resolution<=t}const s=null!==(a=null==t?void 0:t.audio_bitrate)&&void 0!==a?a:0,c=this._abrManager.getBandwidthEstimate();return e.video_bitrate+s<c-1e5}_updateVariants(e){var t;const n=this._audioProfiles.available[0];this._audioProfiles.selected=null!=n?n:null;const o=this._videoProfiles,r=o.selected;let a=null;const s=o.available;let c=s.length;if(c){for(;c--;){const t=s[c];if(t&&this._isQualityMatched(t,n,!!e)){a=t;break}}a||(a=s[0]),this._videoProfiles.selected=a,(null==r?void 0:r.id)!==a.id&&(null===(t=this._mediator)||void 0===t||t.emit(i.VIDEO_PROFILE_CHANGED,{profile:{type:"video",mimeType:a.mime_type,codec:a.video_codec,bitrate:a.video_bitrate,height:a.video_height,width:a.video_width,resolution:a.video_resolution}}))}}_constructSegmentURL(e,t,n){if(!t&&!n)throw new Error("Both audioProfile and videoProfile is null");return e.init?this._resolver.getInitSegmentURLs(this._baseURL,this._initTemplate,t,n):this._resolver.getSegmentURLs(this._baseURL,this._segmentTemplate,e.timeStart,t,n)}_parseSegmentResponse(e){var t,n,o,r;const{segment:a,profile:s,timeStart:c,loggingURL:l}=e.metadata,u=ge(s),d=function(e){return e?"audio_bitrate"in e?e.audio_bitrate:e.video_bitrate:0}(s),p="video_resolution"in s?s.video_resolution:void 0,f=`${a.timeStart}-${a.timeEnd}`,m="video_resolution"in s?"video":"audio";switch(e.status){case 0:{const e=new We(h.FRAGMENT_REQUEST_FAILED_WITH_ZERO,"Request failed with status 0.",0,{time_range:f,mimeType:u,resolution:p,bitrate:d});return null===(t=this._mediator)||void 0===t||t.emit(i.FRAGMENT_FETCH_ERROR,{media_type:"video",segment_type:m,url:l,start_time:c,init:a.init,error:e}),Promise.reject(e)}case 200:case 206:{const t=e.body;if(!(null==t?void 0:t.byteLength)){const t=new We(h.FRAGMENT_REQUEST_EMPTY_RESPONSE,"Empty response for successful buffer.",e.status,{time_range:f,mimeType:u,resolution:p,bitrate:d});return null===(n=this._mediator)||void 0===n||n.emit(i.FRAGMENT_FETCH_ERROR,{media_type:"video",segment_type:m,url:l,start_time:c,init:a.init,error:t}),Promise.reject(t)}const r=t.byteLength,_=8e3*r/e.timing.completed;return null===(o=this._mediator)||void 0===o||o.emit(i.FRAGMENT_FETCHED,{media_type:"video",segment_type:m,url:l,init:a.init,byte_length:r,start_time:c,end_time:Date.now(),resolution:p,bandwidth:_}),Promise.resolve({profileId:`${this._fileId}-${s.id}`,bufferURL:l,byteStart:0,byteEnd:r-1,buffer:t,mimeType:u,resolution:p,bitrate:d,bandwidth:_})}}const _=new We(h.FRAGMENT_REQUEST_FAILED_WITH_STATUS,`Buffer request failed with status ${e.status}`,e.status,{time_range:f,mimeType:u,resolution:p,bitrate:d});return null===(r=this._mediator)||void 0===r||r.emit(i.FRAGMENT_FETCH_ERROR,{media_type:"video",segment_type:m,url:l,init:a.init,start_time:c,error:_}),Promise.reject(_)}_fetchBufferData(e,t,n,i,o){return this._transport.request(e,{method:"GET",responseType:"arraybuffer",timing:!0,signal:o,retry:{condition:(e,t)=>{if(0===e.status)return!0;const n=e.getStatusFamily();return 429===e.status||n===t.CONNECTION_ERROR||n===t.SERVER_ERROR}},metadata:{timeStart:Date.now(),segment:t,profile:n,loggingURL:i}}).then(this._parseSegmentResponse)}_fetchInitSegmentBuffers(e,t,n){const i=this._initSegment;if(!i)return Promise.reject(new re(h.FILE_NOT_RESOLVED,"Cannot fetch Init Segment buffers: File not resolved."));let o;try{o=this._constructSegmentURL(i,e,t)}catch(e){return Promise.reject(e)}const r=this._initSegmentBuffers;let a=0,s=0;const c=(0,l.X)(),u=e=>{s+=e,a--,a||(this._abrManager.sample(s,(0,l.r)(c)),this._updateVariants())};let d=Promise.resolve(null);if(e){const t=r[e.id];(null==t?void 0:t.buffer.byteLength)?d=Promise.resolve(t):(null==o?void 0:o.audio)&&(a++,d=this._fetchBufferData(o.audio,i,e,o.audioLogging,n).then((t=>(r[e.id]=t,u(t.buffer.byteLength),t))))}let p=Promise.resolve(null);if(t){const e=r[t.id];(null==e?void 0:e.buffer.byteLength)?p=Promise.resolve(e):(null==o?void 0:o.video)&&(a++,p=this._fetchBufferData(o.video,i,t,o.videoLogging,n).then((e=>(r[t.id]=e,u(e.buffer.byteLength),e))))}return Promise.all([d,p]).then((([e,t])=>({audio:e,video:t})))}_fetchBufferSetForSegment(e,t,n,i){let o;try{o=this._constructSegmentURL(e,t,n)}catch(e){return Promise.reject(e)}return this._fetchInitSegmentBuffers(t,n,i).then((r=>{let a=0,s=0;const c=(0,l.X)(),u=e=>{s+=e,a--,a||(this._abrManager.sample(s,(0,l.r)(c)),this._updateVariants())};let d=null;!e.init&&(null==o?void 0:o.audio)&&(a++,d=this._fetchBufferData(o.audio,e,t,o.audioLogging,i).then((e=>(u(e.buffer.byteLength),e))));let p=null;return!e.init&&(null==o?void 0:o.video)&&(a++,p=this._fetchBufferData(o.video,e,n,o.videoLogging,i).then((e=>(u(e.buffer.byteLength),e)))),Promise.all([r,d,p])})).then((([t,n,i])=>{var o,r;let a;return e.init?a={audio:null!==(o=t.audio)&&void 0!==o?o:void 0,video:null!==(r=t.video)&&void 0!==r?r:void 0}:(a={audio:null!=n?n:void 0,video:null!=i?i:void 0},e.cacheBufferSet&&(e.bufferSet=a),a.audio&&(null==t?void 0:t.audio)&&(a.audio.initBuffer=t.audio.buffer),a.video&&(null==t?void 0:t.video)&&(a.video.initBuffer=t.video.buffer)),a})).catch((e=>Promise.reject(e)))}load(e={resolveLatency:0,manifestLatency:0}){return super.load(e).then((()=>(this._updateVariants(!0),this)))}adaptToBandwidth(){return this._updateVariants(),Promise.resolve(!0)}canLowerBitrate(){var e;const t=this._videoProfiles.available[0];return(null===(e=this._videoProfiles.selected)||void 0===e?void 0:e.id)!==(null==t?void 0:t.id)}getMediaTypeMimeTypes(){return{audio:ge(this._audioProfiles.selected),video:ge(this._videoProfiles.selected)}}unload(){this._initSegment&&(this._initSegmentBuffers={}),this._segments.forEach((e=>{e.bufferSet=null}))}getCalculatedDuration(){return this._duration}getSegmentLength(){return this._segmentLength}getInitSegment(){return this._initSegment}getInitBufferSet(){var e,t;const n=null!==(e=this._audioProfiles.selected)&&void 0!==e?e:void 0,i=null!==(t=this._videoProfiles.selected)&&void 0!==t?t:void 0;return this._fetchInitSegmentBuffers(n,i).then((e=>{var t,n;return{audio:null!==(t=e.audio)&&void 0!==t?t:void 0,video:null!==(n=e.video)&&void 0!==n?n:void 0}}))}getSegmentForTime(e){var t;if(!(null===(t=this._segments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return this._segments[0];for(const t of this._segments)if(t.timeStart<=e&&t.timeEnd>=e)return t;return null}getSegmentAfterTime(e){var t;if(!(null===(t=this._segments)||void 0===t?void 0:t.length))return null;if(0===e||.01===e)return this._segments[1];for(const t of this._segments)if(t.timeStart>e)return t;return null}getSegmentsForRange(e,t){var n;const i=[];if(null===(n=this._segments)||void 0===n?void 0:n.length)for(const n of this._segments)n.timeStart<=t&&n.timeEnd>=e&&i.push(n);return i}getFinalSegment(){var e,t;return null!==(t=null===(e=this._segments)||void 0===e?void 0:e[this._segments.length-1])&&void 0!==t?t:null}getBufferSetForSegment(e,t){var n,i;if(!e)return Promise.reject(new TypeError("No segment provided"));const o=this._audioProfiles.selected,r=this._videoProfiles.selected,a=null===(i=null===(n=e.bufferSet)||void 0===n?void 0:n.video)||void 0===i?void 0:i.resolution;return e.bufferSet&&(!r||a&&a>=r.video_resolution)?Promise.resolve(e.bufferSet):this._fetchBufferSetForSegment(e,null!=o?o:void 0,null!=r?r:void 0,t)}}class Ke extends ae{constructor(e){super(e),this._url="",this.strategy=u.URL,this._fileId=e.fileId,this._resolver=e.resolver}_getCDNURLs(e){const t=this._fileId,n=(0,l.X)();return this._resolver.getCDNURL(t).then((t=>(e&&(e.resolveLatency=(0,l.r)(n)),t)))}load(e={resolveLatency:0,manifestLatency:0}){return this._getCDNURLs(e).then((e=>(this._url=e.uri,this)))}unload(){}isProtected(){return!1}getMediaTypeMimeTypes(){return{audio:"audio/mp3"}}getURL(){return this._url}getLoadingApproach(){return{approach:"source",type:"audio/mp3"}}}class Je extends Error{constructor(e,t){super(),this.status=-1,this.debug={},this.canPlayNext=!0,this.unrecoverable=!1,this.name="AdManifestError",this.code=e,this.message=t}static fatal(e,t){const n=new Je(e,t);return n.unrecoverable=!1,n.canPlayNext=!0,n}}class qe extends ae{constructor(e){super(e),this._loaded=!1,this._playableContentSorted=[],this._mimeType="",this._manifestURL="",this._adURL="",this._product="",this._audioFiles=[],this._videoFiles=[],this._trackingData=null,this.strategy=u.URL,this._abrManager=e.abrManager,this._transport=e.transport,this._manifestURL=e.manifestURL,this._preloadedManifest=e.preloadedManifest,this._hasNonFatalErrors=!1,this._getManifest=this._getManifest.bind(this),this._parseManifest=this._parseManifest.bind(this),this._getPlayableContent=this._getPlayableContent.bind(this)}_isPlayable(e,t){return""!==document.createElement(t).canPlayType(e)}_parseManifest(e){if(!(null==e?void 0:e.manifest))throw new Je(h.STORAGE_TRACK_MANIFEST_EMPTY,"Received empty manifest.");const{manifest:t}=e;this._videoFiles=t.video_files,this._audioFiles=t.audio_files,this._contentMetadata=t.metadata,this._videoManifestId=t.video_manifest_id,this._product=t.product,this._trackingData=(e=>{const t={};for(const n in e){if(!e.hasOwnProperty(n))continue;const i=n;t[i]={urls:e[i]}}return t})(t.tracking_events)}_getManifest(e){if(this._preloadedManifest)return e&&(e.manifestLatency=0),Promise.resolve(this._preloadedManifest);const t=(0,l.X)(),n=this._manifestURL;return this._transport.request(n,{responseType:"json",authorize:!0,retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then((i=>{if(200!==i.status){const e=new Je(h.AD_MANIFEST_REQUEST_FAILED_WITH_STATUS,`Ad manifest request failed with status code ${i.status}`);return e.debug.manifestURL=n,e.status=i.status,Promise.reject(e)}if(!i.body){const e=new Je(h.AD_MANIFEST_INVALID,"Received empty manifest.");return e.debug.manifestURL=n,e.status=i.status,Promise.reject(e)}e&&(e.manifestLatency=(0,l.r)(t));const o=i.body;return Promise.resolve(o)}))}_getPlayableContent(){const e="video"===this._product;if(e&&this._videoManifestId)return;const t=e?this._videoFiles:this._audioFiles;if(!t.length)throw new re(h.FILE_NOT_RESOLVED,`Manifest's ${e?"video_files":"audio_files"} array is empty.`);const n=t.filter((e=>this._isPlayable(e.type,this.getMediaType())));if(!n.length)throw new re(h.FILE_FORMAT_NOT_SUPPORTED,"No playable content found.");this._playableContentSorted=n.sort(((e,t)=>t.bitrate-e.bitrate))}load(e={resolveLatency:0,manifestLatency:0}){return this._loaded?(e.resolveLatency=0,e.manifestLatency=0,Promise.resolve(this)):this._getManifest(e).then(this._parseManifest).then(this._getPlayableContent).then((()=>(this._loaded=!0,Promise.resolve(this))))}unload(){this._adURL=""}isProtected(){return!1}getMediaTypeMimeTypes(){return{[this._mediaType]:this._mimeType}}getURL(){if(""!==this._adURL)return this._adURL;const e=this._abrManager.getBandwidthEstimate();let t=this._playableContentSorted[this._playableContentSorted.length-1];for(const n of this._playableContentSorted)if(n.bitrate<=e){t=n;break}return t&&(this._adURL=t.url,this._mimeType=t.type),this._adURL}getLoadingApproach(){return{approach:"src"}}getManifestId(){return this._videoManifestId}getTrackingEvents(){if(!this._trackingData)throw new re(h.FILE_NOT_RESOLVED,"Cannot return Tracking Events: File not resolved.");return this._trackingData}getTrackingEventData(e){const t=this._trackingData?this._trackingData[e]:null;return t?{tracking_event:e,urls:t.urls}:null}}function Xe(e,t){var n;return{mediaType:e.mediaType,logData:e.logData,audioGain:e.audioGain,uri:e.uri,fileId:e.fileId,mediaFormat:e.format,hasNonFatalErrors:null!==(n=e.hasNonFatalErrors)&&void 0!==n?n:e.isAd,disableCache:t.disableCache,keySystem:t.keySystem,licenseEndpoint:e.licenseEndpoint,mediator:t.mediator,noAuth:e.noAuth,mimeType:e.mimeType}}function $e(e,t,n){if(!e.fileId)return Promise.reject(new _(h.INVALID_TRACK,`Invalid ${e.format} Track: No fileId.`));const i=Object.assign(Object.assign({},Xe(e,t)),{transport:t.transport,abrManager:t.abrManager,supportedFormats:t.supportedFormats,fileId:e.fileId,keySystemSettings:F[t.keySystem],resolver:t.videoResolver,disallowProfile:t.disallowProfile,allowMixedAVC1Codecs:t.allowMixedAVC1Codecs,trackingData:(null==n?void 0:n.trackingData)||null,metadata:null==n?void 0:n.metadata});return t.keySystem===p.FAIRPLAY?new Ye(i).load(t.measures):new ze(i).load(t.measures)}const Ze=r.m.forTag("playback.player"),Qe=/^blob:/,et={[m.MP4]:!0,[m.MP4_DUAL]:!0,[m.MP4_CBCS]:!0,[m.MP4_FLAC]:!0,[m.MP3]:!1,[m.MANIFEST_ID]:!0,[m.AD_MANIFEST]:!0,[m.GENERIC_MEDIA]:!0},tt={start:d.REPORTING_START,creative_view:d.REPORTING_CREATIVE_VIEW,first_quartile:d.REPORTING_FIRST_QUARTILE,midpoint:d.REPORTING_MIDPOINT,third_quartile:d.REPORTING_THIRD_QUARTILE,complete:d.REPORTING_COMPLETE,pause:d.REPORTING_PAUSE,resume:d.REPORTING_RESUME,error:d.REPORTING_ERROR},nt={audio:2,video:2};function it(e){return Math.ceil(1e3*e)}function ot(e){return e/1e3}function rt(e){return document.createElement(e)}class at extends a.bk{constructor(e){var t,n,i,o,r;super(),this._cubicVolume=!1,this._player=null,this._emeManager=null,this._mediator=new a.bk,this._currentContent=null,this._upcomingContent=null,this._preloadingTracks={},this._playId=0,this._abortController=null,this._loaded=!1,this._licenseRequested=!1,this._playerActivated=!1,this._pauseToken=0,this._syntheticEndedToken=0,this._activeMimeTypes={},this._playerVolume=1,this._muted=!1,this._playerSpeed=1,this._fatalOnNextError=!1,this._canPreloadEmitted=!1,this._lastTimeUpdatePostion=0,this._rebuffering=!1,this._preferredBitrate=0,this._disableLicensePrefetch=!1,this._allowMixedAVC1Codecs=!0,this._disableBufferingBeforeLicense=!1,this._rebufferTarget=nt,this._audioResolver=e.audioResolver,this._clearBufferOnSeek=!!e.clearBufferOnSeek,this._createPlayer=e.createPlayer||rt,this._cubicVolume=e.cubicVolume,this._disableCache=!!e.disableCache,this._licenseURLResolver=e.licenseURLResolver,this._newBufferPerTrack=!!e.newBufferPerTrack,this._newElementPerTrack=!!e.newElementPerTrack,this._newMediaKeysPerTrack=e.newMediaKeysPerTrack,this._rebufferOnQuotaExceeded=!!e.rebufferOnQuotaExceeded,this._disableLicensePrefetch=!!e.disableLicensePrefetch,this._synthesizeEnded=!!e.synthesizeEnded,this._tracker=e.tracker,this._transport=e.transport,this._videoPlayerContainer=e.videoPlayerContainer,this._audioPlayerContainer=e.audioPlayerContainer,this._playerContainerManager=e.playerContainerManager||{inject:this._defaultPlayerContainerInjector.bind(this),eject:this._defaultPlayerContainerEjector.bind(this)},this._allowMixedAVC1Codecs=null===(t=e.allowMixedAVC1Codecs)||void 0===t||t,this._videoResolver=e.videoResolver,this._abrManager=e.abrManager,this._initialBandwidthSampler=e.initialBandwidthSampler,this._emeManager=e.disallowProtectedTracks?null:e.emeManager||null,this._disallowProfile=e.disallowProfile,this._disableBufferingBeforeLicense=!!e.disableBufferingBeforeLicense,this._cache=new c.q(e.trackCacheSize||2),this._subtitleManager=new oe({language:e.preferredSubtitleLanguage||navigator.language,player:this._player}),this._videoResolution=e.videoResolution,Ze.info("Setting Player track cache to:",e.trackCacheSize||2),this._bufferManager=ke.create(this._tracker,void 0,{disableBufferAbort:!!e.disableBufferAbort,reinjectInitsOnAbort:!!e.reinjectInitsOnAbort,noInit:!0,customSourceBufferParams:e.customSourceBufferParams,bufferTarget:e.bufferTarget}),this._statistics=Se.create({bandwidthEstimator:this._abrManager}),this._newKeySystemAccessPerTrack=e.newKeySystemAccessPerTrack,this._loadingTimeout=e.loadingTimeout;const s=this._bufferManager.getBufferTarget();this._rebufferTarget={audio:Math.min(null!==(i=null===(n=e.rebufferTarget)||void 0===n?void 0:n.audio)&&void 0!==i?i:nt.audio,s.audio),video:Math.min(null!==(r=null===(o=e.rebufferTarget)||void 0===o?void 0:o.video)&&void 0!==r?r:nt.video,s.video)},this._audioProcessor=Ae.create(e.audioProcessorOptions),this._preloadThreshold=e.preloadThreshold||10,this._onCanPlay=this._onCanPlay.bind(this),this._onCanPlayThrough=this._onCanPlayThrough.bind(this),this._onTimeUpdate=this._onTimeUpdate.bind(this),this._onDurationChange=this._onDurationChange.bind(this),this._onPlay=this._onPlay.bind(this),this._onPlaying=this._onPlaying.bind(this),this._onPause=this._onPause.bind(this),this._onSeeking=this._onSeeking.bind(this),this._onEncrypted=this._onEncrypted.bind(this),this._onEnded=this._onEnded.bind(this),this._onError=this._onError.bind(this),this._onRequiresDuration=this._onRequiresDuration.bind(this),this._onQuotaExceeded=this._onQuotaExceeded.bind(this),this._onLoadedMetadata=this._onLoadedMetadata.bind(this),this._onWaiting=this._onWaiting.bind(this),this._onFragmentFetched=this._onFragmentFetched.bind(this),this._onProfileChanged=this._onProfileChanged.bind(this),this._onPlayedThresholdReached=this._onPlayedThresholdReached.bind(this),this._onSyntheticEnded=this._onSyntheticEnded.bind(this),this._onLicenseRequestCapped=this._onLicenseRequestCapped.bind(this),this._onLicenseRequestError=this._onLicenseRequestError.bind(this),this._onNavigatorOffline=this._onNavigatorOffline.bind(this),this._onBufferError=this._onBufferError.bind(this),this._onBufferUpdateEnd=this._onBufferUpdateEnd.bind(this),this._emitWarning=this._emitWarning.bind(this),this._handleLoadingComplete=this._handleLoadingComplete.bind(this),this._onRateChange=this._onRateChange.bind(this),this._onVideoResize=this._onVideoResize.bind(this),this._setAudioGain=this._setAudioGain.bind(this),this._init(),this._getCacheKey=this._getCacheKey.bind(this)}static create(e){const t=Object.assign({},e);return e.disallowProtectedTracks?at.createWithOptions(t):q.create({transport:e.transport,disallowRobustnessValues:e.disallowRobustnessValues,disallowCodecs:e.disallowCodecs,noServerCertificate:e.noServerCertificate,precacheServerCertificate:e.precacheServerCertificate,unauthServerCertificateBase:e.unauthServerCertificateBase,preferredKeySystems:e.preferredKeySystems}).then((e=>{t.emeManager=e;const n=new at(t);return t.preinitMediaElement?n._preinitMediaElement():n})).catch((n=>{if(e.enableWithoutEME)return at.createWithOptions(t);throw n}))}static createWithOptions(e){return new Promise((t=>{const n=new at(e);t(e.preinitMediaElement?n._preinitMediaElement():n)}))}_init(){this._disableCache&&Ze.info("Cache disabled."),this._transport.on(this._transport.EVENT_CONNECTION_OFFLINE,this._onNavigatorOffline),this.proxyEmitAllSync(this._tracker,{[d.TRACKER_TRACKING_DATA_CREATED]:d.PLAYER_TRACKING_DATA_CREATED,[d.TRACKER_TRACKING_DATA_FINALIZED]:d.PLAYER_TRACKING_DATA_FINALIZED,[d.TRACKER_PLAYBACK_START]:d.PLAYER_PLAYBACK_START}),this._tracker.on(d.TRACKER_PLAYED_THRESHOLD_REACHED,this._onPlayedThresholdReached),this._emeManager&&this._emeManager.addListeners({[d.EME_LICENSE_REQUEST_CAPPED]:this._onLicenseRequestCapped,[d.EME_LICENSE_REQUEST_ERROR]:this._onLicenseRequestError}),this._bufferManager.addListeners({[d.BUFFER_APPEND_ERROR]:this._onBufferError,[d.BUFFER_QUOTA_EXCEEDED]:this._onQuotaExceeded,[d.BUFFER_UPDATE_END]:this._onBufferUpdateEnd}),this._mediator.addListeners({[i.FRAGMENT_FETCHED]:this._onFragmentFetched,[i.VIDEO_PROFILE_CHANGED]:this._onProfileChanged}),this.proxyEmitAll(this._mediator,{[i.FRAGMENT_FETCH_ERROR]:d.PLAYER_FRAGMENT_FETCH_ERROR}),this.proxyEmitSync(this._subtitleManager,d.PLAYER_DISPLAYED_CUES_CHANGED,d.PLAYER_DISPLAYED_CUES_CHANGED),this.proxyEmit(this._subtitleManager,d.PLAYER_SUBTITLE_LANGUAGES_LOADED,d.PLAYER_SUBTITLE_LANGUAGES_LOADED),this.proxyEmitAll(this._videoResolver,{[d.VIDEO_MANIFEST_RESOLVED]:d.PLAYER_VIDEO_MANIFEST_RESOLVED,[d.VIDEO_MANIFEST_RESOLVE_FAILED]:d.PLAYER_VIDEO_MANIFEST_RESOLVE_FAILED}),this._tracker.addListeners({[d.TRACKER_FIRST_QUARTILE]:()=>this._emitReporting("first_quartile"),[d.TRACKER_MIDPOINT]:()=>this._emitReporting("midpoint"),[d.TRACKER_THIRD_QUARTILE]:()=>this._emitReporting("third_quartile")}),this.addListeners({[d.PLAYER_PLAYBACK_START]:()=>{this._emitReporting("start"),this._emitReporting("creative_view")},[d.PLAYER_ENDED]:()=>this._emitReporting("complete"),[d.PLAYER_ERROR]:()=>this._emitReporting("error")}),this._initialBandwidthSampler.sample().catch((()=>{}))}_onRateChange(){if(!this._player)return;const e=this._player.playbackRate;0!==e&&this._tracker.trackSpeedChanged(e),this.emit(d.PLAYER_PLAYBACK_SPEED_CHANGED,{playback_speed:e,playback_speed_selected:this._playerSpeed,rebuffering:this._rebuffering})}_onLicenseRequestError(e){if(e.data.signal.aborted)return;const t=this._currentContent;if(!t)return;const n=e.data.error,i=t.getKeySystem();n.shouldRefreshEndpoint&&i&&this._licenseURLResolver.remove(i,t.getMediaType()),this._emitError(n,!n.unrecoverable,t.toLogJSON())}_onFragmentFetched(e){const{data:t}=e;this._tracker.trackFragment(t),this.emit(d.PLAYER_FRAGMENT_FETCHED,t)}_onProfileChanged(e){const{data:t}=e;this._tracker.trackProfileChanged(t.profile),this.emit(d.PLAYER_VIDEO_PROFILE_CHANGED,t)}_defaultPlayerContainerInjector(e,t){const n=this._getContainerElement("video"===t?this._videoPlayerContainer:this._audioPlayerContainer);n&&e.parentNode!==n&&(n.appendChild(e),"video"===t&&this.emit(d.PLAYER_VIDEO_ELEMENT_APPENDED,null))}_defaultPlayerContainerEjector(e,t,n){const i=this._getContainerElement("video"===t?this._videoPlayerContainer:this._audioPlayerContainer);i&&e.parentNode===i&&(this._newElementPerTrack||n!==t)&&(i.removeChild(e),"video"===t&&(this._subtitleManager.setPlayer(null),this.emit(d.PLAYER_VIDEO_ELEMENT_REMOVED,null)))}_onLicenseRequestCapped(e){if(e.data.signal.aborted)return;this._currentContent&&(this.pause(),this.emit(d.PLAYER_CAPPED,null))}_shouldNextErrorBeFatal(){const e=this._currentContent;if(!e)return!1;if(e.hasNonFatalErrors()||!e.isProtected())return!1;if(!this._player)return!1;const t=this._player.error;if(!(t&&t instanceof MediaError))return this._fatalOnNextError=!1,!1;switch(t.code){case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:case MediaError.MEDIA_ERR_DECODE:return!0;default:return!1}}_onNavigatorOffline(){this._tracker.trackNavigatorOffline()}_onBufferError(e){this._emitError(e.data.error,e.data.canPlayNext,e.data.track)}_onBufferUpdateEnd(){var e;this._setRebufferingState(!0),this._rebuffering&&this._player&&(null===(e=this._currentContent)||void 0===e?void 0:e.strategy)===u.MSE&&this._bufferManager.checkBufferHealth(this._currentContent,this._player.currentTime)}_addPlayerEvents(e){e.addEventListener(d.MEDIA_TIMEUPDATE,this._onTimeUpdate),e.addEventListener(d.MEDIA_PLAY,this._onPlay),e.addEventListener(d.MEDIA_PLAYING,this._onPlaying),e.addEventListener(d.MEDIA_PAUSE,this._onPause),e.addEventListener(d.MEDIA_SEEKING,this._onSeeking),e.addEventListener(d.MEDIA_ENCRYPTED,this._onEncrypted),e.addEventListener(d.MEDIA_ENDED,this._onEnded),e.addEventListener(d.MEDIA_ERROR,this._onError),e.addEventListener(d.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.addEventListener(d.MEDIA_DURATIONCHANGE,this._onDurationChange),e.addEventListener(d.MEDIA_WAITING,this._onWaiting),e.addEventListener(d.MEDIA_CANPLAY,this._onCanPlay),e.addEventListener(d.MEDIA_CANPLAYTHROUGH,this._onCanPlayThrough),e.addEventListener(d.MEDIA_RATECHANGE,this._onRateChange),e.addEventListener(d.INTERNAL_MEDIA_REQUIRES_DURATION,this._onRequiresDuration),e.addEventListener(d.MEDIA_RESIZE,this._onVideoResize)}_removePlayerEvents(e){e.removeEventListener(d.MEDIA_TIMEUPDATE,this._onTimeUpdate),e.removeEventListener(d.MEDIA_PLAY,this._onPlay),e.removeEventListener(d.MEDIA_PLAYING,this._onPlaying),e.removeEventListener(d.MEDIA_PAUSE,this._onPause),e.removeEventListener(d.MEDIA_SEEKING,this._onSeeking),e.removeEventListener(d.MEDIA_ENCRYPTED,this._onEncrypted),e.removeEventListener(d.MEDIA_ENDED,this._onEnded),e.removeEventListener(d.MEDIA_ERROR,this._onError),e.removeEventListener(d.MEDIA_WAITING,this._onWaiting),e.removeEventListener(d.MEDIA_CANPLAY,this._onCanPlay),e.removeEventListener(d.MEDIA_RATECHANGE,this._onRateChange),e.removeEventListener(d.MEDIA_CANPLAYTHROUGH,this._onCanPlayThrough),e.removeEventListener(d.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.removeEventListener(d.MEDIA_DURATIONCHANGE,this._onDurationChange),e.removeEventListener(d.INTERNAL_MEDIA_REQUIRES_DURATION,this._onRequiresDuration),e.removeEventListener(d.MEDIA_RESIZE,this._onVideoResize)}_recreateMediaElement(e,t,n,i){var o,r,a;if(i.aborted)return Ze.info("Recreate player dropped: operation aborted."),Promise.resolve(null);const s=this._player;let c=Promise.resolve(null);if(s){const i=!this._newElementPerTrack&&!("AUDIO"===s.tagName&&"video"===t)&&!(s===this._audioProcessor.getPlayer()&&!(null===(o=this._upcomingContent)||void 0===o?void 0:o.isProtected()))&&function(e,t){let n=!0;return Object.keys(t).forEach((i=>{const o=t[i];'audio/mp2t;codecs="mp4a.40.2"'!==o&&o&&!e.canPlayType(o)&&(n=!1)})),n}(s,e);if(i){Ze.info("Reusing media element.");return(!(e.audio===this._activeMimeTypes.audio&&e.video===this._activeMimeTypes.video)||this._newBufferPerTrack)&&n===u.MSE&&(Ze.info("Recreating buffer."),this._bufferManager.recreate(e),this._activeMimeTypes=e),Promise.resolve({player:s,mediaKeys:s.mediaKeys})}this._removePlayerEvents(s),s.pause(),c=this._cleanMediaKeys(s),this._player=null,null===(r=this._playerContainerManager)||void 0===r||r.eject(s,"video"),null===(a=this._playerContainerManager)||void 0===a||a.eject(s,"audio")}Ze.info(`Creating new media element for media type ${t}.`);const l=this._createPlayer(t),d=this._playerVolume;return l.volume=this._cubicVolume?Math.pow(d,3):d,l.autoplay=!1,l.loop=!1,l.muted=this._muted,"playsInline"in l&&(l.playsInline=!0),this._player=l,this._playerActivated=!1,this._addPlayerEvents(l),n===u.MSE&&this._bufferManager.recreate(e),this._activeMimeTypes=e,c.then((e=>({player:l,mediaKeys:e})))}_getContainerElement(e){var t;if("string"==typeof e){const n=document.querySelector(e);if(n)return n;const i=new _(h.PLAYER_CONTAINER_ELEMENT_NOT_FOUND,"Container element was not found in the DOM");return i.listPlayerIgnore=!0,this._emitWarning(i,null===(t=this._currentContent)||void 0===t?void 0:t.toLogJSON()),null}return e||null}_onVideoResize(){if(!(this._player instanceof HTMLVideoElement))return;const{videoWidth:e,videoHeight:t}=this._player;this.emit(d.PLAYER_VIDEO_RESIZED,{width:e,height:t})}_onDurationChange(){var e;const t=null===(e=this._abortController)||void 0===e?void 0:e.signal,n=()=>{if(!this._player)return;if(null==t?void 0:t.aborted)return void Ze.info("Duration changed drop: operation aborted.");const e=it(this._player.duration),n=it(this._player.currentTime);this._tracker.setActualDuration(e),this.emit(d.PLAYER_DURATION_CHANGED,{timestamp:Date.now(),position:n,duration:e})};this._loaded?n():this.once(d.PLAYER_LOAD,n)}_onPlay(){var e;if(!this._player||!this._currentContent)return;const t=it(this._player.currentTime);this._tracker.trackPlay(t,this._player.playbackRate),this.emit(d.PLAYER_PLAY,{timestamp:Date.now(),position:t,logData:null!==(e=this._currentContent.getLogData())&&void 0!==e?e:null})}_onPlaying(){if(!this._player)return;this._playerActivated=!0;const e=this._currentContent,t=it(this._player.currentTime);this._tracker.trackPlaying(t),this.emit(d.PLAYER_PLAYING,{timestamp:Date.now(),position:t,logData:e?e.getLogData():null})}_onPause(){var e;if(!this._player)return;const t=it(this._player.currentTime);this._tracker.trackPaused(t);const n=this._currentContent?this._currentContent.getLogData():null;this._pauseToken=setTimeout((()=>{clearTimeout(this._syntheticEndedToken),this.emit(d.PLAYER_PAUSED,{position:t,logData:n})}),10),this._player&&(null===(e=this._currentContent)||void 0===e?void 0:e.strategy)===u.MSE&&this._bufferManager.checkBufferHealth(this._currentContent,this._player.currentTime)}_onSeeking(){var e;this.emit(d.PLAYER_SEEKING,null),this._setRebufferingState(),(null===(e=this._currentContent)||void 0===e?void 0:e.strategy)===u.MSE&&this._player&&!this._bufferManager.isPositionInCurrentFillRange(this._currentContent,this._player.currentTime)&&(Ze.log("Aborting buffer operations."),this._bufferManager.abort(this._clearBufferOnSeek)),this._lastTimeUpdatePostion=0,this._onTimeUpdate()}_onRequiresDuration(){this._currentContent&&this._currentContent.isProtected()&&this._player&&(this._player.duration=this._currentContent.getCalculatedDuration())}_onQuotaExceeded(){this._player&&this._rebufferOnQuotaExceeded&&(Ze.info("Exceeded quota: rebuffering current track."),this._bufferManager.abort(!0),this._player.currentTime=this._player.currentTime,this._onTimeUpdate())}_onEncrypted(e){Ze.info("Got Encrypted event");this._currentContent&&this.emitSync(d.INTERNAL_ENCRYPTED,{initData:e.initData,fromPolyfill:!!e.fromPolyfill})}_onEnded(){!this._currentContent||this._synthesizeEnded&&this._currentContent.isProtected()||(Ze.info("Native ended emitted."),this._emitEnded())}_onSyntheticEnded(){this._synthesizeEnded&&this._currentContent&&this._currentContent.isProtected()&&(Ze.info("Synthetic ended emitted."),this._emitEnded())}_onError(){if(!this._player)return;const e=this._player.error;let t,n=!1;const i=this._currentContent;let o,r,a,s=!1;i&&(n=i.isProtected(),t=i.toLogJSON(),s=i.hasNonFatalErrors(),i.unload());let c=!0;const l=!i||s||!this._fatalOnNextError,u=e&&e.msExtendedCode?`0x${(e.msExtendedCode>>>0).toString(16).toUpperCase()}`:null,d=`data:${(null==t?void 0:t.fileId)||"unknown"}`;if(e instanceof MediaError){switch(e.code){case MediaError.MEDIA_ERR_ABORTED:o=h.MEDIA_ABORTED,r="Media aborted.";break;case MediaError.MEDIA_ERR_NETWORK:o=h.MEDIA_NETWORK_ERROR,r="Network error.";break;case MediaError.MEDIA_ERR_DECODE:o=h.MEDIA_DECODING_ERROR,r="Media decoding error.",c=l;break;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:o=h.MEDIA_NOT_SUPPORTED,r="Media not supported.",c=l;break;default:o=h.PLAYER_MEDIA_ERROR,r="Media error.",a=!0}r+=` (${e.message||u||d||e.toString()})`}else o=h.PLAYER_PLAYBACK_ERROR,r="Error message undefined",a=!0;this._bufferManager.abort(!0);const p=new _(o,r);c||(p.unrecoverable=!0),p.listPlayerIgnore=s,p.debug.src_url=d,p.debug.protected=n,p.debug.extendedCode=u,p.debug.rawExCode=e&&e.msExtendedCode||null,a&&e&&(p.debug.nativeCode=e.code||null,p.debug.errorData=e),this._emitError(p,c,t)}_onLoadedMetadata(){this.emitSync(d.INTERNAL_PLAYER_LOADED_METADATA,null)}_onCanPlay(){this._setRebufferingState(),this.emitSync(d.INTERNAL_PLAYER_CANPLAY,null),this.emit(d.PLAYER_FIRST_BYTES,null)}_onCanPlayThrough(){this._setRebufferingState(),this.emitSync(d.INTERNAL_PLAYER_CANPLAYTHROUGH,null)}_onWaiting(){var e;clearTimeout(this._syntheticEndedToken);const t=this._player;if(!t||!this._currentContent)return;const n=t.seeking;this._setRebufferingState();const i=!!ye(this._currentContent)&&this._currentContent.canLowerBitrate(),o=this._tracker;this.emit(d.PLAYER_BUFFERING_START,Object.assign({position:it(t.currentTime),msPlayed:this._tracker.getMSPlayed(),canLowerBitrate:i,seeking:n},o.getStallsInformation()));const r=null===(e=this._abortController)||void 0===e?void 0:e.signal;this._getRebufferingLatency().then((e=>{(null==r?void 0:r.aborted)||(n||this._tracker.trackMsStalled(e),this.emit(d.PLAYER_BUFFERING_END,Object.assign({position:it(t.currentTime),msPlayed:this._tracker.getMSPlayed(),canLowerBitrate:i,msStalled:e,seeking:n},o.getStallsInformation())))}))}_onPlayedThresholdReached(e){this._currentContent&&this._player&&this.emit(d.PLAYER_PLAYED_THRESHOLD_REACHED,{played:e.data.played,threshold:e.data.threshold,position:it(this._player.currentTime)})}_emitEnded(){this._currentContent&&"video"===this._currentContent.getMediaType()&&this.emit(d.PLAYER_ENDED_VIDEO,null),clearTimeout(this._pauseToken),this.emit(d.PLAYER_ENDED,null)}_emitError(e,t,n){Ze.error("Player Error",e,n,t),this._tracker.setHadError(!0),!this._disableCache&&n&&n.fileId&&this._cache.remove(n.fileId),this.emit(d.PLAYER_ERROR,{playId:this._playId,error:e,track:n,canPlayNext:t,position:this._player?it(this._player.currentTime):0})}_emitWarning(e,t){Ze.warn("Player Warning",e,t,!0),this._tracker.trackWarning(),this.emit(d.PLAYER_WARNING,{playId:this._playId,error:e,track:t,canPlayNext:!0,position:this._player?it(this._player.currentTime):0})}_emitReporting(e){if(!be(this._currentContent))return;const t=this._currentContent.getTrackingEventData(e);t&&0!==t.urls.length&&this.emitAndWait(tt[e],t,(e=>{if(!e.defaultPrevented)for(const e of t.urls)this._transport.request(e,{forget:!0})}))}_prepareMediaElement(e,t){if(t.aborted||!this._upcomingContent)return Ze.info("Loading content dropped: operation aborted."),Promise.resolve(!1);const n=this._upcomingContent.getMediaTypeMimeTypes();return this._recreateMediaElement(n,this._upcomingContent.getMediaType(),this._upcomingContent.strategy,t).then((n=>{var i;if(!n||t.aborted)return Ze.info("Loading content dropped after recreate: operation aborted."),Promise.resolve(!1);const{player:o,mediaKeys:r}=n;if("VIDEO"===o.tagName&&(e.poster?o.poster=e.poster:o.removeAttribute("poster")),o.muted=!!e.muted,o.loop=!!e.loop,!this._emeManager||!(null===(i=this._upcomingContent)||void 0===i?void 0:i.isProtected()))return Promise.resolve(!0);const a=e=>{var t;return e.unrecoverable=!0,this._emitError(e,!1,null===(t=this._upcomingContent)||void 0===t?void 0:t.toLogJSON()),Promise.reject(e)};return!r||this._newMediaKeysPerTrack||void 0===this._newMediaKeysPerTrack&&!o.mediaKeys||(null==r?void 0:r.shouldRefreshPerTrack)?(Ze.info("Creating media keys"),this._emeManager.createMediaKeys(o).then((()=>!0),a)):o.mediaKeys!==r?(Ze.info("Reusing previous media keys"),this._emeManager.setMediaKeys(o,r).then((()=>!0),a)):Promise.resolve(!0)}))}_isRebufferingTargetReached(){var e;const t=this._player,n=this._currentContent;if(!t||!n)return!1;if(n.strategy!==u.MSE)return!0;const i=null!==(e=this._rebufferTarget[n.getMediaType()])&&void 0!==e?e:0;if(!i)return!0;const o=Math.max(t.currentTime,1),r=Math.min(i,Math.floor(t.duration-o)),a=t.buffered;for(let e=0,t=a.length;e<t;e++){const t=a.start(e),n=a.end(e);if(t<=o&&o<=n&&r<=n-o)return!0}return!1}_setPlaybackRate(){var e;const t=this._player,n=this._currentContent;if(!t||!n)return;if(n.strategy===u.MSE&&this._rebuffering)return void(t.playbackRate=0);const i=(null===(e=this._loadingOptions)||void 0===e?void 0:e.useDefaultPlaybackSpeed)?1:this._playerSpeed;t.playbackRate=i,t.defaultPlaybackRate=i}_setRebufferingState(e){const t=this._rebuffering,n=!this._isRebufferingTargetReached();e&&n||(this._rebuffering=n,this._setPlaybackRate(),!t&&this._rebuffering?(Ze.log("Rebuffering start"),this.emit(d.PLAYER_REBUFFERING_START,null)):t&&!this._rebuffering&&(Ze.log("Rebuffering end"),this._tracker.trackPlayLatency(),this.emit(d.PLAYER_REBUFFERING_END,null)))}_configureLoadingTimeout(e,t,n){const i=null!=n?n:this._loadingTimeout,o=new _(h.PLAYER_TIMEOUT_ERROR,`Timeout: track could not be loaded within ${i} ms.`);return i?setTimeout((()=>{e.aborted||(null==t||t.abort(),this._emitError(o,!0))}),i):void 0}_handleLoadingComplete(e,t){var n;clearTimeout(t);const i=this._currentContent&&this._currentContent.getMediaType();return this._player&&i&&(null===(n=this._playerContainerManager)||void 0===n||n.inject(this._player,i)),this._upcomingContent=null,e}_handleLoadingError(e,t,n,i,o){if(clearTimeout(i),this._upcomingContent=null,n.aborted)return Promise.resolve(!1);if(this._tracker.trackLoadFailed(),this.emit(d.PLAYER_LOADING_FAILED,{uri:e,logData:t.logData}),o){const n=o.track||{uri:e,fileId:t.fileId,mediaFormat:t.format,deviceId:t.logData.deviceId};this._emitError(o,"StorageError"!==o.name||!!o.canPlayNext,n)}return Promise.reject(o)}_handleLoadedMetadata(e,t,n){if(e.aborted)return void Ze.info("LoadedMetadata operations dropped: operation aborted.");this._loaded=!0;const i=this._player;if(!i)return;this._setRebufferingState(),this._bufferManager.dequeueUpdates();const o=n.position>i.duration?0:n.position;this._lastTimeUpdatePostion=0,(isNaN(i.currentTime)||i.currentTime<o)&&(Ze.info("Resetting initial position after metadata."),i.currentTime=o),this._tracker.trackLoadDone(it(i.currentTime)),this.emitSync(d.PLAYER_LOAD,{autoplay:n.autoplay,position:it(o),logData:t}),Promise.resolve().then((()=>{this._onTimeUpdate()}));let r=()=>{i.currentTime<o&&(Ze.info("Resetting initial position after playable."),i.currentTime=o)};n.autoplay&&!i.error&&(r=()=>{if(i.currentTime<o&&(Ze.info("Resetting initial position after playable."),i.currentTime=o),e.aborted)return void Ze.info("Play trigger dropped: operation aborted");new Promise((e=>e(this._player&&this._player.play()))).then((()=>this._audioProcessor.resume())).catch((e=>{if(e){if("NotSupportedError"===e.name)return Promise.reject(e);if("NotAllowedError"===e.name)return this.emit(d.PLAYER_AUTOPLAY_FAILED,null),Promise.reject(e)}return this._player?this._player.play():Promise.resolve()})).catch((()=>{this._onPause()}))}),i.readyState>2?(Ze.info("Ready to play, triggering play."),r()):(Ze.info("Waiting to be playable."),this.once(d.INTERNAL_PLAYER_CANPLAY,r))}_handleCanPlayThrough(e){var t;e.aborted?Ze.info("CanPlayThrough operations dropped: operation aborted."):(this._tracker.trackCanPlayThrough(),(null===(t=this._currentContent)||void 0===t?void 0:t.strategy)!==u.MSE&&this._tracker.trackPlayLatency())}_loadContent(e,t){if(t.aborted||!this._upcomingContent)return Ze.info("Loading content dropped: operation aborted."),Promise.resolve(!1);if(!this._player)throw new _(h.PLAYER_INVALID_INTERNAL_STATE,"Cannot load content without an HTMLMediaElement");this._canPreloadEmitted=!1;const n=this._upcomingContent;this._upcomingContent=null,this._currentContent=n,this._setAudioGain(n),this._subtitleManager.setVideoContent(function(e){return!!e&&"getSubtitles"in e&&"getSubtitleLanguages"in e}(n)?n:null);const i=e.callback;i&&this.once(d.PLAYER_LOAD,(()=>{t.aborted?Ze.info("Load content event dropped: operation aborted."):i()})),this.once(d.INTERNAL_PLAYER_LOADED_METADATA,this._handleLoadedMetadata.bind(this,t,this._currentContent.getLogData(),e)),this.once(d.INTERNAL_PLAYER_CANPLAYTHROUGH,this._handleCanPlayThrough.bind(this,t));let o=e.position;const r="getCalculatedDuration"in n?n.getCalculatedDuration():1/0;r&&o>r&&(o=e.position=0);try{this._player.currentTime=o}catch(e){Ze.warn("Cannot set initial position before loading.",e)}const a=e.playbackSpeed;return!e.useDefaultPlaybackSpeed&&a&&this.setPlaybackSpeed(a),this._tracker.setProtected(n.isProtected()),Ze.info(`Detecting strategy for ${n.constructor.name}`),n.strategy===u.MSE?this._loadMSEContent(n,e,t):this._loadURLContent(n,e,t)}_loadURLContent(e,t,n){var i,o,r;if(!this._player||!e)return Promise.reject(new _(h.PLAYER_INVALID_INTERNAL_STATE,"Invalid playback state."));Ze.info("Loading URL content.");const a=e.getURL();if(!a)return Promise.reject(new _(h.PLAYER_INVALID_INTERNAL_STATE,"Content not loaded."));if(e.isProtected()){Ze.info("URL content is protected");const e=t=>{t.data.fromPolyfill&&(this.removeListener(d.INTERNAL_ENCRYPTED,e),this._requestLicense(n,{initData:t.data.initData}))};this.on(d.INTERNAL_ENCRYPTED,e)}if("video"===e.getMediaType()&&ve(e)){const t=e.getMediaProfileInfo();this._tracker.trackVideoLoadStart({bitrate:null===(i=t.video.selected)||void 0===i?void 0:i.video_bitrate,audioProfile:null!==(o=t.audio.selected)&&void 0!==o?o:void 0,videoProfile:null!==(r=t.video.selected)&&void 0!==r?r:void 0})}this._tracker.trackBufferLoadStart(),this._tracker.trackBufferURL(a,{bandwidth:0});const s=e.getLoadingApproach();if("src"===s.approach)Ze.info("URL content loaded using src attribute"),this._player.src=a;else{Ze.info("URL content loaded using source element");const e=document.createElement("source");e.src=a,e.type=s.type,this._player.appendChild(e)}return this._player.load(),Promise.resolve(!0)}_loadMSEContent(e,t,n){var i,o,r;if(!this._player||!e)return Promise.reject(new _(h.PLAYER_INVALID_INTERNAL_STATE,"Invalid playback state."));if(Ze.info(`Loading MSE Content: ${e.getFileId()}`),e.isProtected()){Ze.log("MSE content is protected");const e=()=>this._requestLicense(n).then((()=>{n.aborted||(this._licenseRequested=!0,this._disableBufferingBeforeLicense&&this._onTimeUpdate())}));this._disableLicensePrefetch?this.once(d.INTERNAL_ENCRYPTED,e):this._bufferManager.once(d.BUFFER_SOURCE_OPEN,e)}const a=this._bufferManager,s=a.getMediaSource();if(!s)return Promise.reject(new _(h.PLAYER_INVALID_INTERNAL_STATE,"No media source."));if("video"===e.getMediaType()&&ve(e)){const t=e.getMediaProfileInfo();this._tracker.trackVideoLoadStart({bitrate:null===(i=t.video.selected)||void 0===i?void 0:i.video_bitrate,audioProfile:null!==(o=t.audio.selected)&&void 0!==o?o:void 0,videoProfile:null!==(r=t.video.selected)&&void 0!==r?r:void 0})}return this._player.src=URL.createObjectURL(s),this._setPlaybackRate(),new Promise(((i,o)=>{a.once(d.BUFFER_SOURCE_OPEN,(()=>{this._tracker.trackBufferLoadStart(),this._getRebufferingLatency().then((e=>{n.aborted||this._tracker.trackInitialRebuffering(e)}));("video"===e.getMediaType()?a.setDuration(e.getCalculatedDuration()):Promise.resolve(!0)).then((()=>e.isProtected()&&this._disableBufferingBeforeLicense?a.injectInitSegment(e):(this._bufferManager.checkBufferHealth(e,t.position,!0),!0))).then(i,o)}))}))}_getRebufferingLatency(){return new Promise((e=>{if(!this._player)return void e(0);const t=(0,l.X)();this.once(d.PLAYER_REBUFFERING_END,(()=>{e((0,l.r)(t))}))}))}_requestLicense(e,t={}){if(e.aborted){const e="Request license dropped: operation aborted.";return Ze.info(e),Promise.resolve(!1)}if(!this._player||!this._currentContent||!this._emeManager)return Promise.resolve(!1);const n=(0,l.X)(),i=this._player.mediaKeys,o=this._currentContent,r=o.getFileId(),a=o.getLogData(),s=o.toLogJSON(),c=o.getKeySystem();if(!c)return Promise.resolve(!1);const u=o.getLicenseEndpoint();let p;if(u)p=Promise.resolve(u);else{if(!r)return Promise.reject(new TypeError("Missing: fileId or licenseEndpoint"));p=this._licenseURLResolver.get(c,o.getMediaType()).then((e=>e.replace(/\{contentId\}/,r)))}const h=this._emeManager,f=this._tracker;return f.setKeySystem(c),f.setKeySystemImpl(h.getKeySystemImpl()),Promise.all([p,o.getInitParams()]).then((([o,r])=>{if(!r)return Promise.resolve(!1);f.setLicenseSessionLatency((0,l.r)(n));const a=r.initDataType,s=t.initData||r.initData;if(i&&s&&a){const t={keySystem:c,signal:e,initData:s,mediaKeys:i,licenseServer:o,initDataType:a};return h.createSessionWithParams(t)}return Promise.resolve(!1)})).then((t=>{if(e.aborted)return Ze.info("License tracking dropped: operation aborted."),Promise.resolve(!1);"boolean"!=typeof t&&"elapsed"in t&&(f.setLicenseGenerationLatency(t.elapsed.generate),f.setLicenseRequestLatency(t.elapsed.request),f.setLicenseUpdateLatency(t.elapsed.update));const i=(0,l.r)(n);return f.setKeyLatency(i),this.emit(d.PLAYER_KEY_RECEIVED,{requestTime:i,logData:a}),Ze.info("License updated."),Promise.resolve(!0)})).catch((t=>{if(e.aborted)return Promise.resolve(!1);const n=!t||!("canPlayNext"in t)||t.canPlayNext;return this._emitError(t,!!n,s),Promise.reject(t)}))}_onTimeUpdate(){var e;if(!this._loaded||!(null===(e=this._player)||void 0===e?void 0:e.readyState)||!this._currentContent)return;const t=this._currentContent,n=this._player.seeking,i=this._player.currentTime;if(t.isProtected()&&this._disableBufferingBeforeLicense&&!this._licenseRequested)return void Ze.log("Dropping time update event: buffering before license disabled.");if(!n&&this._lastTimeUpdatePostion&&this._lastTimeUpdatePostion===i)return void Ze.warn("Dropping duplicate time update.");this._lastTimeUpdatePostion=n?0:i,t.strategy===u.MSE&&this._bufferManager.checkBufferHealth(t,i,n);const o=this._player.duration,r=it(i),a=t.getLogData();n?(this._tracker.trackPositionChanged(r),this.emit(d.PLAYER_POSITION_CHANGED,{position:r,logData:a})):(this._tracker.trackProgress(r,ye(t)?t.getCurrentBitrates().video:0),this.emit(d.PLAYER_PROGRESS,{timestamp:Date.now(),position:r,played:this._tracker.getMSPlayed(),interval:500,logData:a}));const s=o-i<=this._preloadThreshold;!this._canPreloadEmitted&&s?(this._canPreloadEmitted=!0,this.emit(d.PLAYER_CAN_PRELOAD,null)):this._canPreloadEmitted&&!s&&(this._canPreloadEmitted=!1),clearTimeout(this._syntheticEndedToken),this._synthesizeEnded&&t.isProtected()&&this._isPlaying()&&(this._syntheticEndedToken=setTimeout(this._onSyntheticEnded,it(o-i)))}_isPlaying(){return!!this._player&&!this._player.paused}_cleanMediaKeys(e,t=this._emeManager){return t?t.removeMediaKeys(e).catch((e=>(Ze.warn("Failed to remove current media keys.",e),null))):Promise.resolve(null)}_checkKeySystemAccess(){if(!this._newKeySystemAccessPerTrack||!this._player||!this._emeManager)return Promise.resolve();const e=this._player,t=this._emeManager;return this._cleanMediaKeys(e,t).then((()=>t.requestMediaKeySystemAccess())).then((()=>{})).catch((e=>(Ze.warn("Failed to request new media key system access.",e),Promise.reject(e))))}_createContent(e,t={manifestLatency:0,resolveLatency:0},n=!1){return(this._emeManager?this._emeManager.getKeySystemInfo():this.getMediaConfig().then((e=>({keySystem:p.INVALID_SPOTIFY_KEY,audioFormats:e.formatsInfo.audio,videoFormats:e.formatsInfo.video})))).then((n=>function(e,t){var n,i,o;const r=Xe(e,t);switch(e.format){case m.MP3:{const i=null!==(n=e.url)&&void 0!==n?n:e.resolvedURL;return i?new we(Object.assign(Object.assign({},r),{url:i})).load():e.fileId?new Ke(Object.assign(Object.assign({},r),{fileId:e.fileId,resolver:t.audioResolver})).load():Promise.reject(new _(h.INVALID_TRACK,`Invalid ${e.format} Track: No url or fileId.`))}case m.GENERIC_MEDIA:{const t=null!==(i=e.url)&&void 0!==i?i:e.resolvedURL;return t?new we(Object.assign(Object.assign({},r),{url:t})).load():Promise.reject(new _(h.INVALID_TRACK,`Invalid ${e.format} Track: No url.`))}case m.MP4:case m.MP4_DUAL:case m.MP4_CBCS:case m.MP4_FLAC:{if(!e.fileId)return Promise.reject(new _(h.INVALID_TRACK,`Invalid ${e.format} Track: No fileId.`));const n=Object.assign(Object.assign({},r),{transport:t.transport,abrManager:t.abrManager,fileId:e.fileId,keySystemSettings:F[t.keySystem],resolver:t.audioResolver,fileFormat:e.fileFormat,preloadedManifest:e.preloadedManifest,preresolvedURL:null!==(o=e.url)&&void 0!==o?o:e.resolvedURL});return t.keySystem===p.FAIRPLAY?new Ge(n).load(t.measures):new je(n).load(t.measures)}case m.MANIFEST_ID:return $e(e,t);case m.AD_MANIFEST:{if(!e.url)return Promise.reject(new _(h.INVALID_TRACK,`Invalid ${e.format} Track: No url.`));const n=Object.assign(Object.assign({},r),{abrManager:t.abrManager,transport:t.transport,manifestURL:e.url,preloadedManifest:e.preloadedManifest});return new qe(n).load(t.measures).then((n=>{const i=n.getManifestId();if(!i)return n;const o=Object.assign(Object.assign({},e),{fileId:i,format:m.MANIFEST_ID}),r={trackingData:n.getTrackingEvents(),metadata:n.getContentMetadata()};return $e(o,t,r)}))}default:return Promise.reject(new _(h.INVALID_TRACK,"Cannot create PlayableContent: Invalid MediaFormat."))}}(e,{transport:this._transport,abrManager:this._abrManager,supportedFormats:{audio:n.audioFormats,video:n.videoFormats},mediator:this._mediator,keySystem:n.keySystem,audioResolver:this._audioResolver,videoResolver:this._videoResolver,disableCache:this._disableCache,disallowProfile:this._disallowProfile,allowMixedAVC1Codecs:this._allowMixedAVC1Codecs,measures:t}))).then((i=>{if(n)return i;const o=this._tracker;o.setResolveLatency(t.resolveLatency),o.setManifestLatency(t.manifestLatency);const r=this._getCacheKey(e);return r&&this._cache.set(r,i),i}))}_preinitMediaElement(){if(this._player||!this._emeManager)return Promise.resolve(this);const e=(0,s.createAbortControllerLike)();return this._emeManager.getKeySystemInfo().then((t=>{var n,i;const o={audio:null===(n=t.audioFormats[0])||void 0===n?void 0:n.contentType,video:null===(i=t.videoFormats[0])||void 0===i?void 0:i.contentType};return o.audio||o.video?this._recreateMediaElement(o,o.video?"video":"audio",t.keySystem===p.FAIRPLAY?u.URL:u.MSE,e.signal):null})).then((()=>this),(e=>(Ze.warn("Cannot precreate media element:",null==e?void 0:e.message),this)))}_setAudioGain(e){var t;null===(t=this._audioProcessor)||void 0===t||t.setAudioGain(e.getAudioGain())}_getCacheKey({fileId:e,url:t,format:n}){var i;const o=null!==(i=null!=e?e:t)&&void 0!==i?i:null;return!this._disableCache&&et[n]?o:null}_getContentPromise(e,t){const n=this._cache,i=this._getCacheKey(e);if(i){const o=this._preloadingTracks[i],r=n.get(i);if(o)return Ze.info("Waiting for preloading track.",i),o.then((e=>(Ze.info("Preloading succeeded.",i),t.setResolveLatency(e.resolveLatency),t.setManifestLatency(e.manifestLatency),n.get(i)))).catch((()=>(Ze.info("Preloading failed, creating new track",i),this._createContent(e))));if(r)return this._newKeySystemAccessPerTrack&&this._emeManager?this._emeManager.getKeySystemInfo().then((({keySystem:n})=>n===r.getKeySystem()?(Ze.info("Using cached track.",i,r),t.setMemoryCached(!0),r):(Ze.info("Mismatched keysystem for cached track. Creating new track",i),this._createContent(e)))):(Ze.info("Using cached track.",i,r),t.setMemoryCached(!0),Promise.resolve(r))}return Ze.info("Creating new content",i),this._createContent(e)}getMediaSource(){return this._bufferManager.getMediaSource()}load(e,t,n){var i,o,r,a,c,l,p;const f=function(e,t){return null==t?void 0:t.hasOwnProperty(e)}(t.uriProperty,e)?t.uriProperty:"uri",m=e[f];if(Ze.info("load",m),!m)return Promise.reject(new _(h.PLAYER_CANNOT_FIND_PLAYABLE_URI,"Cannot find a playable URI."));if(!e.logData)return Promise.reject(new Error("Invalid track: logging info not specified"));this.stop(e.logData,e.mediaType),this._loaded=!1,this._licenseRequested=!1,this._rebuffering=!0,this._currentContent=null,this._subtitleManager.setVideoContent(null),t.muted&&this.setMuted(!0),this._preloadThreshold=t.preloadThreshold||this._preloadThreshold;const g=++this._playId;this._abortController=(0,s.createAbortControllerLike)();const E=this._abortController.signal,v=this._tracker;v.trackLoadStart(m,e.fileId,g.toString(),e.logData,e.metadata);const y=this._configureLoadingTimeout(E,this._abortController,t.loadingTimeout);void 0!==y&&E.addEventListener("abort",(()=>clearTimeout(y))),this.emit(d.PLAYER_BEFORE_LOAD,{track:e,options:t,logData:e.logData,uri:m,timestamp:Date.now()}),this._bufferManager.setPlayId(g);const b=(null===(i=e.options)||void 0===i?void 0:i.useDefaultPlaybackSpeed)?1:null!==(r=null===(o=e.options)||void 0===o?void 0:o.playbackSpeed)&&void 0!==r?r:this._playerSpeed,S={position:ot(t.position||0),autoplay:null===(a=t.autoplay)||void 0===a||a,poster:e.poster,useDefaultPlaybackSpeed:!!(null===(c=e.options)||void 0===c?void 0:c.useDefaultPlaybackSpeed),playbackSpeed:b,callback:n,muted:null!==(l=t.muted)&&void 0!==l&&l,loop:null!==(p=t.loop)&&void 0!==p&&p};return this._loadingOptions=S,v.setPlayIntended(S.autoplay),v.setPlayedThreshold(t.playedThreshold),this._checkKeySystemAccess().then((()=>this._getContentPromise(e,v))).then((t=>{if(v.trackStrategy(t.strategy),t.isProtected()&&!this._emeManager)throw new _(h.DISALLOW_PROTECTED_TRACK_ERROR,"Protected tracks not supported");t.setLogData(e.logData),t.strategy===u.MSE&&v.setCalculatedDuration(it(t.getCalculatedDuration())),this._upcomingContent=t})).then((()=>this._prepareMediaElement(S,E))).then((()=>{var e;this._subtitleManager.setPlayer(this._player),(null===(e=this._upcomingContent)||void 0===e?void 0:e.isProtected())&&(Ze.info("Attaching HTMLMediaElement to the audio processor"),this._audioProcessor.setPlayer(this._player))})).then((()=>this._loadContent(S,E))).then((e=>this._handleLoadingComplete(e,y)),this._handleLoadingError.bind(this,m,e,E,y))}preload(e){const t=this._getCacheKey(e),n=this._cache;if(!t||n.get(t)||!this._emeManager)return Promise.resolve(null);const i=this._preloadingTracks,o=i[t];if(o)return o;Ze.info("Preloading track",t);const r={manifestLatency:0,resolveLatency:0},a=this._createContent(e,r,!0).then((e=>{if(e.strategy!==u.MSE)return e;const t=e.getSegmentForTime(0);return t?e.getBufferSetForSegment(t).then((()=>e)):e})).then((e=>(n.set(t,e),delete i[t],Ze.info("Cached",t),r))).catch((e=>(delete i[t],Ze.warn("Preloading error",e),this.emit(d.PLAYER_PRELOADING_ERROR,{error:e,track:e.track||null,canPlayNext:!("canPlayNext"in e)||e.canPlayNext,preloading:!0}),Promise.reject(e))));return i[t]=a,a}togglePlay(){return this._isPlaying()?this.pause():this.resume()}setSubtitleLanguage(e){this._subtitleManager.setLanguage(e)}getSubtitleLanguages(){return this._subtitleManager.getAvailableLanguages()}getActiveSubtitleLanguage(){return this._subtitleManager.getActiveLanguage()}deactivateCueEvents(){this._subtitleManager.deactivateListeners()}activateCueEvents(){this._subtitleManager.activateListeners()}setVolume(e,t){if(!this.emitSync(d.PLAYER_BEFORE_VOLUME_CHANGE,{volume:e,options:t}).defaultPrevented){if(e<0||e>1)throw new _(h.PLAYER_ATTEMPTED_VOLUME_OUT_OF_RANGE,"Volume should be in range [0, 1]");this._playerVolume=e,this._player&&(this._muted&&e>0&&this.setMuted(!1),this._player.volume=this._cubicVolume?e*e*e:e)}}getVolume(){return this._playerVolume}getPlayerState(){var e,t,n,i;const o=this._player,r=this._currentContent,a={src:(null==o?void 0:o.src)?`data:${(null==r?void 0:r.getFileId())||"unknown"}`:void 0,height:(null==o?void 0:o.clientHeight)||0,width:(null==o?void 0:o.clientWidth)||0},s={};if(r){const e=r.getMediaTypeMimeTypes();s.audio_format=e.audio,s.video_format=e.video,"video"===r.getMediaType()&&o instanceof HTMLVideoElement&&(s.video_height=o.videoHeight,s.video_width=o.videoWidth,a.poster=o.poster)}let c=null;if(be(r)){const e=r.getTrackingEvents();e&&(c={mute:e.mute,unmute:e.unmute,rewind:e.rewind,fullscreen:e.fullscreen,accept_invitation_linear:e.accept_invitation_linear,close_linear:e.close_linear,exit_fullscreen:e.exit_fullscreen})}return{playing:null!==(e=!(null==o?void 0:o.paused))&&void 0!==e&&e,position:o?it(o.currentTime):0,duration:o?it(o.duration):0,volume:null!==(t=this._playerVolume)&&void 0!==t?t:1,muted:this._muted,loop:null!==(n=null==o?void 0:o.loop)&&void 0!==n&&n,playback_speed:null!==(i=null==o?void 0:o.playbackRate)&&void 0!==i?i:0,playback_speed_selected:this._playerSpeed,buffering:this._rebuffering,media_type:(null==r?void 0:r.getMediaType())||null,media_info:s,player_element:a,content_metadata:(null==r?void 0:r.getContentMetadata())||{},tracking_data:c}}getPlayerPosition(){return this._player?it(this._player.currentTime):0}seek(e){var t;if(!this._player)return;const n=null===(t=this._abortController)||void 0===t?void 0:t.signal,i=()=>{if(!this._player||(null==n?void 0:n.aborted))return void Ze.info("Seek dropped: operation aborted.");let t=ot(e);t<0?t=0:t>=this._player.duration&&(t=this._player.duration),this._player.currentTime=t};this._loaded?i():this.once(d.PLAYER_LOAD,i),this._getRebufferingLatency().then((e=>{(null==n?void 0:n.aborted)||this._tracker.trackSeekRebuffering(e)}))}pause(){return this._audioProcessor.suspend().then((()=>this._player&&this._isPlaying()?(this._emitReporting("pause"),Promise.resolve(this._player.pause())):Promise.resolve()))}resume(){return this._audioProcessor.resume().then((()=>this._player&&!this._isPlaying()?(this._emitReporting("resume"),Promise.resolve(this._player.play())):Promise.resolve()))}stop(e,t){var n,i,o;const r=[],a=e||{};this.emit(d.PLAYER_BEFORE_STOP,{timestamp:Date.now(),logData:a}),null===(n=this._abortController)||void 0===n||n.abort(),this._tracker.trackStopped(this._player?it(this._player.currentTime):-1,e,this.getStatistics()||void 0),this._bufferManager.abort(!0),this._emeManager&&r.push(this._emeManager.destroySessions());const s=this._player;if(s){this._subtitleManager.clear(),this._fatalOnNextError=this._shouldNextErrorBeFatal(),this._fatalOnNextError&&Ze.warn("MediaError detected: next immediate media error will be fatal.");const e=s.src;if(e)Qe.test(e)&&URL.revokeObjectURL(e),s.removeAttribute("src");else{const e=Z(s.getElementsByTagName("source"));Ze.info(`HTMLSourceElements to removed: ${e.length}`);for(const t of e)s.removeChild(t);Ze.info("Releasing HLS URLs")}s.load()}null===(i=this._currentContent)||void 0===i||i.unload();const c=this._currentContent&&this._currentContent.getMediaType();return s&&c&&(null===(o=this._playerContainerManager)||void 0===o||o.eject(s,c,t),s.ownerDocument!==document&&document.adoptNode(s)),this.emit(d.PLAYER_STOPPED,null),Promise.all(r).then((()=>!0))}setMuted(e=!0){const t=this._player;t&&(this._muted=e,t.muted=e,e?this.emitSync(d.PLAYER_MUTED,null):this.emitSync(d.PLAYER_UNMUTED,null))}hideSubtitles(){this._subtitleManager.hide()}showSubtitles(){this._subtitleManager.show()}areSubtitlesShown(){return this._subtitleManager.visible()}getKeySystemInfo(){return this._emeManager?this._emeManager.getKeySystemInfo():Promise.resolve(null)}getVideoVariants(){const e=this._currentContent;if("video"!==(null==e?void 0:e.getMediaType()))return[];const t=[];if(!ve(e))return t;const n=e.getMediaProfileInfo().video.available;for(const e of n)t.push({width:e.video_width,height:e.video_height,bitrate:e.video_bitrate});return t}setPreferredBitrate(e){return"number"!=typeof e?Promise.resolve(f.INVALID):(this._preferredBitrate=e,this._currentContent&&"video"===this._currentContent.getMediaType()&&e>0&&this._bufferManager.abort(!0),this._abrManager.overrideBitrate(e),Promise.resolve(f.SUCCESS))}getCurrentBandwidth(){return this._abrManager.getBandwidthEstimate()}setBackgrounded(e){this._abrManager.overrideBitrate(e?1e-32:this._preferredBitrate)}setVideoResolution(e){var t,n,i;this._videoResolution=Object.assign(Object.assign({},this._videoResolution),e),(i=this._currentContent)&&"setVideoResolution"in i&&(null===(n=(t=this._currentContent).setVideoResolution)||void 0===n||n.call(t,this._videoResolution))}activateElement(){var e;return this._playerActivated||!this._player||this._player.src?(this._audioProcessor.resume(),!1):(null===(e=this._player)||void 0===e||e.load(),this._playerActivated=!0,!0)}getMediaConfig(){return void 0===this._mediaConfig?function(e,t){const n=t||rt("video"),i=e=>{n.canPlayType("audio/mp3")&&(e.formats.audio.push("audio/mp3"),e.formatsInfo.audio.push({mimeType:"audio/mp3",codec:"mp3",contentType:'audio/mp3; codecs="mp3"'}),e.supports.unprotected_audio=!0)};if(e)return e.getKeySystemInfo().then((e=>{const{audioFormats:t,videoFormats:n}=e,o={supports:{protected_audio:!!t.length,unprotected_audio:!0,protected_video:!!n.length,unprotected_video:!0},formats:{audio:t.map((e=>e.contentType)),video:n.map((e=>e.contentType))},formatsInfo:{audio:[...t],video:[...n]}};return o.keysystem=e.keySystem,o.keysystem_impl=e.keySystemImpl,i(o),o}));const o="undefined"!=typeof window&&window.MediaSource?e=>MediaSource.isTypeSupported(e):e=>"probably"===n.canPlayType(e)||"probably"===n.canPlayType(e.split(";")[0]),r=H([B[0]],o),a=[],s=[],c=[],l=[];if(r){const{audioCapabilities:e,videoCapabilities:t}=r;for(const t of e)a.push(t.contentType),c.push(W(t.contentType));for(const e of t)s.push(e.contentType),l.push(W(e.contentType))}const u={supports:{protected_audio:!1,unprotected_audio:!!a.length,protected_video:!1,unprotected_video:!!s.length},formats:{audio:a,video:s},formatsInfo:{audio:c,video:l}};return i(u),Promise.resolve(u)}(this._emeManager,this._player).then((e=>(this._mediaConfig=e,this._mediaConfig))):Promise.resolve(this._mediaConfig)}setPlaybackSpeed(e){return!(!isFinite(e)||e<=0)&&(this._playerSpeed=null!=e?e:1,this._setPlaybackRate(),!0)}getStatistics(){return this._player&&this._currentContent?this._statistics.getSample(this._player,this._currentContent):null}getAudioProcessor(){return this._audioProcessor}}var st=n(36858);class ct extends Error{constructor(e,t){super(t),this.debug={},this.name="LoggingError",this.message=t,this.code=e}}const lt="7.37.2-4868c76d",ut="7.37.2",dt=r.m.forTag("playback.logger");class pt extends a.bk{constructor(e){super(),this._currentTrackingData=null,this._sequenceId=0,this._sequenceSessionStorage={},this._sessionId="0",this._transport=e.transport,this._logSender=e.logSender,this._player=e.player,this._init()}static create(e){return new pt(e)}_init(){const e=this._player;e.on(d.PLAYER_LOAD,this._onPlayerLoad.bind(this)),e.on(d.PLAYER_ERROR,this._onError.bind(this,!1)),e.on(d.PLAYER_WARNING,this._onError.bind(this,!0)),e.on(d.PLAYER_PRELOADING_ERROR,this._onError.bind(this,!1)),e.on(d.PLAYER_TRACKING_DATA_CREATED,this._onTrackingDataCreated.bind(this)),e.on(d.PLAYER_TRACKING_DATA_FINALIZED,this._onTrackingDataFinalized.bind(this)),e.on(d.PLAYER_PLAYBACK_START,this._onPlaybackStart.bind(this))}_emitError(e,t){this.emit(d.LOGGER_ERROR,{error:e,trackingData:t})}_onError(e,t){var n,i,o;const r=t.data,a=this._currentTrackingData;if(!a||a.noLog)return;const s=r.error,c=null!==(n=null==s?void 0:s.debug)&&void 0!==n?n:{};c.position="position"in r?r.position:0;const l={track:r.track||{},debug:c,preloading:"preloading"in r&&!!r.preloading,session_id:this._sessionId,playback_id:a.playbackId||null,player_play_id:"playId"in r?r.playId:null,http_status_code:null!==(i=null==s?void 0:s.status)&&void 0!==i?i:null,license_server:null!==(o=null==s?void 0:s.licenseServer)&&void 0!==o?o:null};this._logError(s.code||h.UNKNOWN,s,l,a,e)}_onPlayerLoad(e){const t=e.data.logData;if(t)if(t.impressionURLs)for(const e of t.impressionURLs)this._logImpression(e);else t.impressionURL&&this._logImpression(t.impressionURL)}_onPlaybackStart(e){const t=e.data.trackingData;t.noLog||t.noStats||this._logPlaybackStart(t)}_onTrackingDataCreated(e){const t=e.data.trackingData;t.noLog?this._currentTrackingData=null:(this._currentTrackingData=t,this._setSessionId(),t.noTSV||this._setSequenceId())}_setSessionId(){this._sessionId=this._transport.getInitTime().toString()}_setSequenceId(){this._sessionId&&(this._sequenceId=this._getSequenceId(this._sessionId))}_onTrackingDataFinalized(e){const t=e.data.trackingData;if(t.noLog)return;const n=this._sessionId!==this._transport.getInitTime().toString();if(n&&this._setSessionId(),t.playbackId&&!t.noTSV){if(n&&this._setSequenceId(),!t.playIntended&&!t.played)return void this._rollbackSequenceId(this._sessionId);this._logTrackStreamVerification(t)}t.noStats||this._logPlaybackStats(t)}_logTrackStreamVerification(e){const t={play_track:e.currentTrackUri,playback_id:e.playbackId,ms_played:e.msPlayed,ms_nominal_played:e.msNominalPlayed,session_id:this._sessionId,sequence_id:this._sequenceId,next_playback_id:e.nextPlaybackId,playback_service:e.playbackService};dt.debug("Logged TrackStreamVerification",t),this._logSender.logTrackStreamVerification(t).catch((n=>{const i=new ct(h.TSV_SENDING_FAILED,n.message||"Unknown reason.");this._logError(i.code,n,t,e,!1),this._emitError(i,e)}))}_logPlaybackStats(e){const t={play_track:e.currentTrackUri,file_id:e.fileId,playback_id:e.playbackId,internal_play_id:e.internalPlayId,memory_cached:e.memoryCached,persistent_cached:e.persistentCached,audio_format:e.audioCodec||"",video_format:e.videoCodec||"",manifest_id:e.fileId,protected:e.isProtected,key_system:e.keySystem,key_system_impl:e.keySystemImpl,urls_json:JSON.stringify(e.urls),start_time:e.loadTime,end_time:e.stopTime,external_start_time:e.externalLoadTime,ms_play_latency:e.msPlayLatency,ms_init_latency:e.msInitLatency,ms_head_latency:e.msHeadLatency,ms_manifest_latency:e.msManifestLatency,ms_resolve_latency:e.msResolveLatency,ms_license_session_latency:e.msLicenseSessionLatency,ms_license_generation_latency:e.msLicenseGenerationLatency,ms_license_request_latency:e.msLicenseRequestLatency,ms_license_update_latency:e.msLicenseUpdateLatency,ms_played:e.msPlayed,ms_nominal_played:e.msNominalPlayed,ms_file_duration:e.msFileDuration,ms_actual_duration:e.msActualDuration,ms_metadata_duration:e.msMetadataDuration,ms_start_position:e.startPosition,ms_end_position:e.position,ms_initial_rebuffer:e.msInitialRebuffering,ms_seek_rebuffer:e.msSeekRebuffering,ms_seek_rebuffer_longest:e.maxMsSeekRebuffering,ms_stall_rebuffer:e.msStalled,ms_stall_rebuffer_longest:e.maxMsStalled,n_stalls:e.nStalls,n_rendition_upgrade:e.nRenditionUpgrade,n_rendition_downgrade:e.nRenditionDowngrade,bps_bandwidth_max:e.bpsBandwidthMax,bps_bandwidth_min:e.bpsBandwidthMin,bps_bandwidth_avg:e.bpsBandwidthAvg,n_seekback:e.nSeeksBackward,n_seekforward:e.nSeeksForward,start_bitrate:e.startBitrate||e.bitrate||0,audio_quality:e.audioQuality,time_weighted_bitrate:e.timeWeightedBitrate,reason_start:e.reasonStart,reason_end:e.reasonEnd,initially_paused:!e.playIntended,had_error:e.hadError,n_warnings:e.nWarnings,n_navigator_offline:e.nOffline,session_id:this._sessionId,sequence_id:this._sequenceId,client_id:e.clientId,correlation_id:e.correlationId,n_dropped_video_frames:e.droppedVideoFrames,n_total_video_frames:e.totalVideoFrames,resolution_max:e.maxResolution||0,resolution_min:e.minResolution||0,total_bytes:e.totalBytes,strategy:e.strategy};dt.info("Logging PlaybackStats"),this._logSender.logJSSDKPlaybackStats(t).catch((n=>{const i=new ct(h.PLAYBACK_STATS_SENDING_FAILED,n.message||"Unknown reason.");this._logError(i.code,n,t,e,!1),this._emitError(i,e)}))}_logPlaybackStart(e){const t={play_track:e.currentTrackUri,file_id:e.fileId,playback_id:e.playbackId,session_id:this._sessionId,ms_start_position:e.startPosition,initially_paused:!e.playIntended,client_id:e.clientId,correlation_id:e.correlationId};dt.info("Logging PlaybackStart"),this._logSender.logJSSDKPlaybackStart(t).catch((n=>{const i=new ct(h.PLAYBACK_START_SENDING_FAILED,n.message||"Unknown reason.");this._logError(i.code,n,t,e,!1),this._emitError(i,e)}))}_getSequenceId(e){let t=this._sequenceSessionStorage[e];return t||(t=0),t+1>=9007199254740991&&(t=0),this._sequenceSessionStorage[e]=t+1,t}_rollbackSequenceId(e){const t=this._sequenceSessionStorage[e];t&&(this._sequenceSessionStorage[e]=Math.max(t-1,0))}_logImpression(e){return;this._transport.request(e,{forget:!0}).catch((function(e){dt.warn("Unable to send impression request",e)}))}_logError(e,t,n,i,o){let r="";t&&(r=t.stack||"",r||(r=t.toString()));const a={source:"playback",source_version:lt||st.Z7.UNKNOWN,type:e||st.Z7.UNKNOWN,message:t&&t.message||st.Z7.EMPTY,stack:JSON.stringify(r),json_data:JSON.stringify(n||{}),json_data_version:"1.0.0",client_id:i.clientId,correlation_id:i.correlationId};o?this._logSender.logJSSDKWarning(a).catch((e=>dt.warn("Failed to log warning",a,e))):this._logSender.logJSSDKError(a).catch((e=>dt.warn("Failed to log error",a,e)))}}class ht extends Error{constructor(e=h.STORAGE_ERROR,t="Storage Error"){super(t),this.status=-1,this.fileId="",this.debug={},this.canPlayNext=!0,this.code=e,this.message=t,this.name="StorageError"}}const ft=r.m.forTag("playback.storage_resolve");class mt{constructor(e){this._transport=e}_parseResponse(e,t){var n;let i;if(200!==t.status)return i=new ht(h.STORAGE_FAILED_WITH_STATUS,`Storage Resolve responded with ${t.status}`),i.status=t.status,i.fileId=e,Promise.reject(i);const o=t.body;if(!(null===(n=null==o?void 0:o.cdnurl)||void 0===n?void 0:n.length))return i=new ht(h.STORAGE_RETURNED_NO_TRACKS,`Storage Resolve returned no tracks for fileId ${e}`),i.fileId=e,Promise.reject(i);const r={uri:o.cdnurl[0],uris:o.cdnurl,protection:"cenc"};return Promise.resolve(r)}getCDNURL(e,t){ft.info("Requesting CDN URL for ",e);const n="files/audio/interactive",i=`@webgate/storage-resolve/${t?`v2/${n}/${t}/${e}`:`${n}/${e}`}?version=10000000&product=9&platform=39&alt=json`;return this._transport.request(i,{responseType:"json",retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then(this._parseResponse.bind(this,e))}getManifest(e){const t=`https://seektables.scdn.co/seektable/${e}.json`;return ft.info("Requesting JSON manifest for ",e),this._transport.request(t,{responseType:"json",retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then((t=>{let n;return 200!==t.status?(n=new ht(h.STORAGE_TRACK_MANIFEST_FAILED,`Track manifest request failed with status code ${t.status}`),n.debug.file_id=e,n.status=t.status,Promise.reject(n)):t.body?t.body:(n=new ht(h.STORAGE_TRACK_MANIFEST_EMPTY,"Received empty manifest."),n.debug.file_id=e,n.status=t.status,Promise.reject(n))}))}}class _t extends Error{constructor(e,t){super(t),this.debug={},this.name="TrackingError",this.message=t,this.code=e}}class gt{constructor(){this._version="1.0.0",this._map={}}clear(){this._map={}}track(e,t){let n=this._map[e];n||(n={url:e,segments:0,bandwidths:[],totalBandwidth:0},this._map[e]=n),n.segments+=1,n.bandwidths.push(t.bandwidth),n.totalBandwidth+=t.bandwidth}toJSON(){const e=[];for(const t in this._map){if(!this._map[t])continue;const n=this._map[t];n&&e.push({url:t,segments:n.segments,avg_bw:parseFloat((n.totalBandwidth/n.bandwidths.length).toFixed(7))})}return{version:this._version,urls:e}}}class Et{constructor(){this._bitrates={},this._isFinalized=!1,this._needsEndSegment=!1,this._segments=[],this._cdnURLTracker=new gt,this.currentSpeed=1,this.audioCodec=null,this.bitrate=0,this.audioQuality=void 0,this.urls={},this.currentTrackUri="",this.displayTrack="",this.externalLoadTime=0,this.fileId="",this.gaiaDevId="none",this.hadError=!1,this.internalPlayId="",this.isProtected=!1,this.keySystem="",this.keySystemImpl="",this.lastPlayPosition=-1,this.loadTime=0,this.localTimeMs=-1,this.maxContinuous=0,this.msInitialRebuffering=0,this.maxMsSeekRebuffering=0,this.maxMsStalled=0,this.memoryCached=!1,this.msActualDuration=0,this.msMetadataDuration=0,this.msFileDuration=0,this.msHeadLatency=null,this.msInitLatency=null,this.msKeyLatency=null,this.msLicenseGenerationLatency=null,this.msLicenseRequestLatency=null,this.msLicenseSessionLatency=null,this.msLicenseUpdateLatency=null,this.msManifestLatency=null,this.msPlayed=0,this.msNominalPlayed=0,this.msPlayedUnion=0,this.msPlayLatency=null,this.msResolveLatency=null,this.msSeekRebuffering=0,this.msSeeksBackward=0,this.msSeeksForward=0,this.nextPlaybackId="",this.nOffline=0,this.noLog=!1,this.noTSV=!1,this.noStats=!1,this.nWarnings=0,this.msStalled=0,this.nSeeksBackward=0,this.nSeeksForward=0,this.nSpeedChanges=0,this.nStalls=0,this.nRenditionUpgrade=0,this.nRenditionDowngrade=0,this.bpsBandwidthMax=0,this.bpsBandwidthMin=0,this.bpsBandwidthAvg=0,this.totalBandwidth=0,this.lastBitrate=0,this.persistentCached=!1,this.playbackId="",this.playContext="",this.played=!1,this.position=0,this.reasonEnd="unknown",this.reasonStart="unknown",this.referrer="unknown",this.referrerVendor="unknown",this.referrerVersion="unknown",this.sourceEnd="unknown",this.sourceStart="unknown",this.startPosition=0,this.stopTime=0,this.streamingRule="none",this.timeWeightedBitrate=0,this.totalBytes=0,this.playIntended=!1,this.videoCodec=null,this.clientId="unknown",this.correlationId="unknown",this.droppedVideoFrames=0,this.totalVideoFrames=0,this.maxResolution=0,this.minResolution=0,this.playbackService="",this.strategy=""}static create(){return new Et}_calculateUnion(){const e=this._segments.slice(0);let t=0,n=0,i=0,o=0,r=0,a=0,s=this.maxContinuous;for(;r<e.length;r++)r%2!=0&&void 0!==e[r-1]&&"start"===e[r-1].type&&(a=e[r].time-e[r-1].time,s=a>s?a:s);for(this.maxContinuous=s,e.sort(((e,t)=>e.time-t.time));o<e.length;o++)"start"===e[o].type&&(0===n&&(i=o),++n),"end"===e[o].type&&(--n,0===n&&(t+=e[o].time-e[i].time));return t}_calculateWeightedBitrate(e){const t=this._bitrates;let n=0;for(const i in t)i&&t.hasOwnProperty(i)&&e>0&&(n+=parseInt(i,10)*t[i]/e);return Math.round(n)}registerVideoVariant(e){const t=e.bitrate;t&&(this._bitrates[t]=this._bitrates[t]||0,this.startBitrate||(this.startBitrate=t)),e.audioProfile&&(this.audioCodec=e.audioProfile.audio_codec),e.videoProfile&&(this.videoCodec=e.videoProfile.video_codec,this.lastBitrate=e.videoProfile.video_bitrate,this.minResolution=e.videoProfile.video_resolution,this.maxResolution=e.videoProfile.video_resolution)}addStartSegment(){this._segments.push({type:"start",time:this.position}),this._needsEndSegment=!0}addEndSegment(){this._needsEndSegment&&(this._segments.push({type:"end",time:this.position}),this._needsEndSegment=!1)}addMSPlayed(e){if(e){if(e<0)throw new TypeError(`Cannot add negative msPlayed value: ${e}`);this.msPlayed+=e/this.currentSpeed,this.msNominalPlayed+=e}}addSpeedChange(e){++this.nSpeedChanges,this.currentSpeed=e}trackBitrate(e,t){const n=e||"dummy";this._bitrates[n]=this._bitrates[n]||0,this._bitrates[n]+=t}trackBufferURL(e,t){const n=e.substring(0,5);"data:"!==n&&"blob:"!==n&&this._cdnURLTracker.track(e,t)}finalize(){if(this._isFinalized)throw new _t(h.TRACK_DATA_ALREADY_FINALIZED,"TrackData already finalized.");this.msPlayedUnion=this._calculateUnion(),this.nSeeksBackward||this.nSeeksForward||this.nSpeedChanges||(this.msNominalPlayed=this.maxContinuous=this.msPlayedUnion,this.msPlayed=this.msNominalPlayed/this.currentSpeed,this.nSpeedChanges=0);const e=this.msPlayed;return this.timeWeightedBitrate=this._calculateWeightedBitrate(e),this.startBitrate||(this.startBitrate=this.bitrate),this.urls=this._cdnURLTracker.toJSON(),this._isFinalized=!0,!0}getURLsJSON(){var e,t;return null!==(t=null===(e=this._cdnURLTracker.toJSON().urls)||void 0===e?void 0:e.map((({url:e})=>e)))&&void 0!==t?t:[]}getPlaybackStats(){let e;switch(this.keySystem){case p.WIDEVINE:e="widevine";break;case p.PLAYREADY:case p.PLAYREADY_HARDWARE:e="playready";break;default:e="none"}return{ms_total_est:this.msActualDuration,ms_metadata_duration:this.msMetadataDuration,ms_manifest_latency:this.msManifestLatency||0,ms_latency:this.msPlayLatency||0,start_offset_ms:this.startPosition,ms_initial_buffering:this.msInitialRebuffering,ms_initial_rebuffer:this.msInitialRebuffering,ms_seek_rebuffering:this.msSeekRebuffering,ms_stalled:this.msStalled,max_ms_seek_rebuffering:this.maxMsSeekRebuffering,max_ms_stalled:this.maxMsStalled,n_stalls:this.nStalls,n_rendition_upgrade:this.nRenditionUpgrade,n_rendition_downgrade:this.nRenditionDowngrade,bps_bandwidth_max:this.bpsBandwidthMax,bps_bandwidth_min:this.bpsBandwidthMin,bps_bandwidth_avg:this.bpsBandwidthAvg,audiocodec:this.audioCodec?this.audioCodec.toLowerCase():void 0,videocodec:this.videoCodec?this.videoCodec.toLowerCase():void 0,start_bitrate:this.startBitrate||this.bitrate||void 0,full_screen:void 0,time_weighted_bitrate:this.timeWeightedBitrate,buffering_percentage:void 0,prefetched_bytes:void 0,prefetched_bytes_loaded:void 0,prefetched_initial_bitrate:void 0,key_system:e,ms_key_latency:this.msKeyLatency||0,total_bytes:this.totalBytes,local_time_ms:this.localTimeMs,ms_played_background:void 0,n_dropped_video_frames:this.droppedVideoFrames,n_total_video_frames:this.totalVideoFrames,resolution_max:this.maxResolution,resolution_min:this.minResolution,strategy:this.strategy}}isFinalized(){return this._isFinalized}}const vt=r.m.forTag("playback.tracker");class yt extends a.bk{constructor(e={}){super(),this._playedThreshold=31e3,this._playedThresholdReached=!1,this._trackingData=null,this._quartileTrackingEvents={firstEventFired:!1,midEventFired:!1,thirdEventFired:!1},this._playedThreshold=e.playerThreshold||31e3}static create(e){return new yt(e)}_checkPlayedThreshold(){const e=this._trackingData;!e||!this._playedThreshold||this._playedThresholdReached||e.msPlayed<this._playedThreshold||(this._playedThresholdReached=!0,this.emit(d.TRACKER_PLAYED_THRESHOLD_REACHED,{played:e&&e.msPlayed||0,threshold:this._playedThreshold}))}_checkPercentileThresholds(){const e=this._trackingData;if(!e)return;const t=e.msActualDuration||e.msFileDuration;if(!t)return;const n=Math.ceil(t/4);!this._quartileTrackingEvents.firstEventFired&&e.position>=n&&(this._quartileTrackingEvents.firstEventFired=!0,this.emit(d.TRACKER_FIRST_QUARTILE,null)),!this._quartileTrackingEvents.midEventFired&&e.position>=2*n&&(this._quartileTrackingEvents.midEventFired=!0,this.emit(d.TRACKER_MIDPOINT,null)),!this._quartileTrackingEvents.thirdEventFired&&e.position>=3*n&&(this._quartileTrackingEvents.thirdEventFired=!0,this.emit(d.TRACKER_THIRD_QUARTILE,null))}getMSPlayed(){return this._trackingData?this._trackingData.msPlayed:0}getStallsInformation(){return this._trackingData?{nStalls:this._trackingData.nStalls,msTotalStalled:this._trackingData.msStalled}:{nStalls:0,msTotalStalled:0}}trackLoadStart(e,t,n,i,o){const r=Et.create();this._trackingData=r,this._playedThresholdReached=!1,this._quartileTrackingEvents={firstEventFired:!1,midEventFired:!1,thirdEventFired:!1},r.fileId=null!=t?t:"",r.currentTrackUri=e,r.loadTime=Date.now(),r.loadStartMonotonic=(0,l.X)(),r.internalPlayId=n,r.externalLoadTime=i.externalLoadTime||0,r.displayTrack=i.displayTrack||"",r.playbackId=i.playbackId||"",r.playContext=i.playContext||"",r.reasonStart=i.reason||"unknown",r.sourceStart=i.source||"unknown",r.clientId=i.clientId||"",r.correlationId=i.correlationId||"",r.playbackService=i.playbackService||"";const a=i.referrer||{};r.referrer=void 0!==a.name?a.name:"unknown",r.referrerVersion=void 0!==a.version?a.version:"unknown",r.referrerVendor=void 0!==a.vendor?a.vendor:"unknown";const s=i.format||{};s.codec&&(r.audioCodec=s.codec.toLowerCase()),s.bitrate&&(r.bitrate=s.bitrate),s.audioQuality&&(r.audioQuality=s.audioQuality),r.gaiaDevId=i.deviceId||"none",r.noLog=i.noLog||!1,r.noTSV=i.noTSV||!1,r.noStats=i.noStats||!1,r.contentMetadata=o,"number"==typeof(null==o?void 0:o.displayDuration)&&(r.msMetadataDuration=o.displayDuration),this.emit(d.TRACKER_TRACKING_DATA_CREATED,{trackingData:r})}trackBufferLoadStart(){const e=this._trackingData;e&&(e.bufferLoadStartMonotonic=(0,l.X)())}trackBytesDownloaded(e){const t=this._trackingData;t&&(t.totalBytes+=e)}trackLoadDone(e){const t=this._trackingData;t&&(t.bufferLoadStartMonotonic&&(t.msInitLatency=(0,l.r)(t.bufferLoadStartMonotonic)),t.localTimeMs=Date.now(),t.position=e,t.addStartSegment())}trackPlay(e,t){const n=this._trackingData;n&&(n.played||this.emit(d.TRACKER_PLAYBACK_START,{trackingData:n}),n.played=!0,n.position=e,n.startPosition=e,n.addSpeedChange(t||1))}trackCanPlayThrough(){if(!this._trackingData)return;const e=(0,l.X)();this.trackHeadLatency(e)}trackPlayLatency(e=(0,l.X)()){const t=this._trackingData;!t||t.nSeeksBackward||t.nSeeksForward||t.loadStartMonotonic&&(t.msPlayLatency=(0,l.r)(t.loadStartMonotonic,e))}trackHeadLatency(e=(0,l.X)()){const t=this._trackingData;t&&t.bufferLoadStartMonotonic&&(t.msHeadLatency=(0,l.r)(t.bufferLoadStartMonotonic,e))}trackBufferURL(e,t){const n=this._trackingData;n&&n.trackBufferURL(e,t)}trackNavigatorOffline(){const e=this._trackingData;e&&(e.nOffline+=1)}trackInitialRebuffering(e){const t=this._trackingData;t&&(t.msInitialRebuffering=e)}trackSeekRebuffering(e){const t=this._trackingData;t&&(e>t.maxMsSeekRebuffering&&(t.maxMsSeekRebuffering=e),t.msSeekRebuffering+=e)}trackMsStalled(e){const t=this._trackingData;t&&(e>t.maxMsStalled&&(t.maxMsStalled=e),t.msStalled+=e,t.nStalls++)}trackLoadFailed(){const e=this._trackingData;e&&(this.trackPlayLatency(),e.position=0,e.addStartSegment())}trackStopped(e,t,n){var i,o,r,a;const s=this._trackingData;if(!s||s.isFinalized())return;if(s.stopTime=Date.now(),s.lastPlayPosition>=0&&e>=0&&s.lastPlayPosition<e){const t=e-s.lastPlayPosition;s.addMSPlayed(t)}s.addEndSegment(),s.sourceEnd=t.source||"unknown",s.reasonEnd=t.reason||"unknown",s.nextPlaybackId=t.playbackId||"",s.droppedVideoFrames=null!==(o=null===(i=null==n?void 0:n.video)||void 0===i?void 0:i.droppedVideoFrames)&&void 0!==o?o:0,s.totalVideoFrames=null!==(a=null===(r=null==n?void 0:n.video)||void 0===r?void 0:r.totalVideoFrames)&&void 0!==a?a:0,s.finalize(),vt.info("Tracker data finalized.");const c=s.getPlaybackStats();this.emit(d.TRACKER_TRACKING_DATA_FINALIZED,{trackingData:s,playbackStats:c})}trackPositionChanged(e){const t=this._trackingData;if(!t)return;const n=t.position;e!==n&&(t.addEndSegment(),e>n?(t.nSeeksForward++,t.msSeeksForward+=e-n):e<n&&(t.nSeeksBackward++,t.msSeeksBackward+=n-e),t.position=e,t.lastPlayPosition=-1,t.addStartSegment())}trackPlaying(e){const t=this._trackingData;if(t){if(t.lastPlayPosition>=0&&t.lastPlayPosition<e){const n=e-t.lastPlayPosition;t.addMSPlayed(n)}t.position=e,t.lastPlayPosition=e}}trackPaused(e){const t=this._trackingData;if(t){if(t.lastPlayPosition>=0&&t.lastPlayPosition<e){const n=e-t.lastPlayPosition;t.addMSPlayed(n)}t.position=e,t.lastPlayPosition=e}}trackProgress(e,t){const n=this._trackingData;if(!(null==n?void 0:n.played))return;let i=0;if(n.lastPlayPosition>=0){if(i=e-n.lastPlayPosition,i<0)return void vt.warn("Skipping msPlayed calculation: late progress event.");n.addMSPlayed(i)}this._checkPlayedThreshold(),n.position=e,n.lastPlayPosition=e,this._checkPercentileThresholds(),t&&n.trackBitrate(t,i)}trackSpeedChanged(e){const t=this._trackingData;t&&t.addSpeedChange(e)}trackVideoLoadStart(e){const t=this._trackingData;t&&t.registerVideoVariant(e)}trackWarning(){const e=this._trackingData;e&&e.nWarnings++}trackOffline(){const e=this._trackingData;e&&e.nOffline++}trackStrategy(e){const t=this._trackingData;t&&(t.strategy=e)}setActualDuration(e){const t=this._trackingData;t&&(t.msActualDuration=e)}setKeySystem(e){const t=this._trackingData;t&&(t.keySystem=e)}setKeySystemImpl(e){const t=this._trackingData;t&&(t.keySystemImpl=e)}setManifestLatency(e){const t=this._trackingData;t&&(t.msManifestLatency=e)}setPlayIntended(e){const t=this._trackingData;t&&(t.playIntended=e)}setKeyLatency(e){const t=this._trackingData;t&&(t.msKeyLatency=e)}setMemoryCached(e){const t=this._trackingData;t&&(t.memoryCached=e)}setPersistentCached(e){const t=this._trackingData;t&&(t.persistentCached=e)}setProtected(e){const t=this._trackingData;t&&(t.isProtected=e)}setHadError(e){const t=this._trackingData;t&&(t.hadError=e)}setLicenseSessionLatency(e){const t=this._trackingData;t&&(t.msLicenseSessionLatency=e)}setLicenseGenerationLatency(e){const t=this._trackingData;t&&(t.msLicenseGenerationLatency=e)}setLicenseRequestLatency(e){const t=this._trackingData;t&&(t.msLicenseRequestLatency=e)}setLicenseUpdateLatency(e){const t=this._trackingData;t&&(t.msLicenseUpdateLatency=e)}setResolveLatency(e){const t=this._trackingData;t&&(t.msResolveLatency=e)}setCalculatedDuration(e){const t=this._trackingData;t&&(t.msFileDuration=e)}setPlayedThreshold(e){this._playedThreshold=e}trackFragment(e){const t=this._trackingData;if(!t)return;const{bandwidth:n,resolution:i}=e;i&&((i<t.minResolution||!t.minResolution)&&(t.minResolution=i),i>t.maxResolution&&(t.maxResolution=i)),(n<t.bpsBandwidthMin||!t.bpsBandwidthMin)&&(t.bpsBandwidthMin=n),n>t.bpsBandwidthMax&&(t.bpsBandwidthMax=n),t.bpsBandwidthAvg=t.bpsBandwidthAvg?(t.bpsBandwidthAvg+n)/2:n}trackProfileChanged(e){const t=this._trackingData;if(!t)return;const{bitrate:n}=e;n<t.lastBitrate&&t.nRenditionDowngrade++,n>t.lastBitrate&&t.nRenditionUpgrade++,t.lastBitrate=n}}class bt extends a.bk{constructor(e){super(),this._transport=e,this._parseManifestResponse=this._parseManifestResponse.bind(this)}static create(e){return new bt(e)}_parseManifestResponse(e){var t;const n=e.metadata.startTime;if(200!==e.status){const t=new ht(h.STORAGE_VIDEO_MANIFEST_FAILED,`Video manifest request failed with status ${e.status}`);return t.status=e.status,this.emit(d.VIDEO_MANIFEST_RESOLVE_FAILED,{url:e.url,error:t,start_time:n}),Promise.reject(t)}const i=e.body,o=null===(t=e.headers)||void 0===t?void 0:t.get("content-length");return this.emit(d.VIDEO_MANIFEST_RESOLVED,{url:e.url,manifest_size:o?parseInt(o,10):JSON.stringify(i).length,start_time:n,end_time:Date.now()}),Promise.resolve(i)}getInitSegmentURLs(e,t,n,i){let o="";n&&(o=e+t.replace("{{profile_id}}",n.id.toString(10)).replace("{{file_type}}",n.file_type));let r="";return i&&(r=e+t.replace("{{profile_id}}",i.id.toString(10)).replace("{{file_type}}",i.file_type)),{audio:o,video:r,audioLogging:o,videoLogging:r}}getSegmentURLs(e,t,n,i,o){let r="";i&&(r=e+t.replace("{{profile_id}}",i.id.toString(10)).replace("{{file_type}}",i.file_type));let a="";return o&&(a=e+t.replace("{{profile_id}}",o.id.toString(10)).replace("{{file_type}}",o.file_type)),{audio:r.replace("{{segment_timestamp}}",n.toString()),video:a.replace("{{segment_timestamp}}",n.toString()),audioLogging:r,videoLogging:a}}getManifest(e,t=!1){const n=`${t?"@webgate/manifests/v8/unauth/json/sources":"@webgate/manifests/v7/json/sources"}/${e}/options/supports_drm`;return this._transport.request(n,{authorize:!t,responseType:"json",parseResponseHeaders:!0,retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}},metadata:{startTime:Date.now()}}).then(this._parseManifestResponse)}}class St extends Error{constructor(e,t){super(),this.status=-1,this.debug={},this.canPlayNext=!0,this.unrecoverable=!1,this.name="LicenseError",this.code=e,this.message=t}static fatal(e,t){const n=new St(e,t);return n.unrecoverable=!0,n.canPlayNext=!1,n}}class Tt{constructor(e){this._sdk={name:"",version:""},this._securityLevel=null,this._urls={},e.sdk&&(this._sdk=e.sdk),e.securityLevel&&(this._securityLevel=e.securityLevel),this._transport=e.transport,this._useTestLicenseServer=!!e.useTestLicenseServer,this._transport.on(this._transport.EVENT_CONNECTION_ID,(()=>{this._urls={}}))}get(e,t){const n=`${e}:${t}`,i=this._urls[n];if(i&&i.expires>Date.now()+6e4)return Promise.resolve(i.uri);const o=this._useTestLicenseServer?"&use_test_license_server=true":"",r=`@webgate/melody/v1/license_url?keysystem=${e}&mediatype=${t}&sdk_name=${this._sdk.name}&sdk_version=${this._sdk.version}${o}`;return this._transport.request(r,{responseType:"json",retry:{condition:(e,t)=>{const n=e.getStatusFamily();return 429===e.status||n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}}}).then((e=>{const t=e.body;if(t&&200===e.status)return t.expires*=1e3,t.uri=`@webgate/${t.uri}`,this._securityLevel&&(t.uri+=[-1!==t.uri.indexOf("?")?"&":"?","sl=",this._securityLevel].join("")),this._urls[n]=t,t.uri;let i;return i=t?400===e.status&&t&&"deprecated-version"===t.code?St.fatal(h.LICENSE_RESOLVER_DEPRECATED_VERSION,"This version of the SDK is no longer supported. Please upgrade"):new St(h.LICENSE_RESOLVER_CANT_RESOLVE_URL,`License URL endpoint responded with status ${e.status}`):St.fatal(h.LICENSE_RESOLVE_INVALID_RESPONSE,"License URL endpoint responded with invalid response"),i.status=e.status,Promise.reject(i)}))}remove(e,t){this._urls[`${e}:${t}`]=null}}class At{constructor(e){this._melodyLogger=new st.nj(e)}logTrackStreamVerification(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"track_stream_verification",message:e},{batch:!0})}logJSSDKPlaybackStats(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_playback_stats",message:e},{batch:!0})}logJSSDKPlaybackStart(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_playback_start",message:e},{batch:!0})}logJSSDKError(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_error",message:e},{batch:!0})}logJSSDKWarning(e){return this._melodyLogger.sendLog("/v1/msg/batch",{type:"jssdk_warning",message:e},{batch:!0})}}var It;!function(e){e[e.ABORTED=101]="ABORTED",e[e.NETWORK=102]="NETWORK",e[e.MEDIA_DECODING=103]="MEDIA_DECODING",e[e.SRC_NOT_SUPPORTED=104]="SRC_NOT_SUPPORTED",e[e.EME=105]="EME",e[e.GENERIC=100]="GENERIC"}(It||(It={}));const Ot={[h.MEDIA_ABORTED]:It.ABORTED,[h.MEDIA_DECODING_ERROR]:It.MEDIA_DECODING,[h.MEDIA_NOT_SUPPORTED]:It.SRC_NOT_SUPPORTED,[h.MEDIA_NETWORK_ERROR]:It.NETWORK};function Ct(e){let t=Ot[e];return/_REQUEST_|_RESPONSE$/.test(e)?t=It.NETWORK:t||(t=/^EME_/.test(e)?It.EME:It.GENERIC),t}function Rt(e){var t;const n=e.match(/^https?:\/\/([^\/]+@)?([^\/?#]+)/);return null!==(t=null==n?void 0:n[2])&&void 0!==t?t:""}var Nt;!function(e){e.READY="playerready",e.VIDEO_CHANGE="videochange",e.PLAY="play",e.PLAYING="playing",e.PAUSE="pause",e.TIMEUPDATE="timeupdate",e.SEEKING="seeking",e.SEEKED="seeked",e.ERROR="error",e.ENDED="ended",e.RENDITION_CHANGE="renditionchange",e.REQUEST_COMPLETED="requestcompleted",e.REQUEST_FAILED="requestfailed",e.REQUEST_CANCELED="requestcanceled"}(Nt||(Nt={}));const Pt={player_is_paused:!0,player_width:0,player_height:0,video_source_height:0,video_source_width:0,player_is_fullscreen:void 0,player_autoplay_on:void 0,player_preload_on:void 0,video_source_url:void 0,video_source_mime_type:void 0,video_source_duration:void 0,video_poster_url:void 0,player_language_code:void 0};class Lt{constructor(e){this._playerId=`spotify-playback-${Date.now()}`,this._currentContentInfo=null,this._readyDeferred=(0,g.u)(),this._isMuxInitialized=!1,this._muxInitData=null,this._player=e.player,this._mux=e.mux,this._getPlayheadTime=this._getPlayheadTime.bind(this),this._getStateData=this._getStateData.bind(this),this._init(e)}static create(e){return new Lt(e)}_init(e){Promise.all([Promise.resolve(e.deviceInfo)]).then((([t])=>{var n;this._muxInitData={data:Object.assign({env_key:e.envKey||"2qbjhhcl4u87btjbo7dh8vi2n",player_name:null!==(n=null==t?void 0:t.platform_name)&&void 0!==n?n:null==t?void 0:t.platform,player_version:null==t?void 0:t.version,viewer_device_manufacturer:null==t?void 0:t.brand,viewer_device_category:null==t?void 0:t.type,viewer_device_name:null==t?void 0:t.model,player_software_name:e.sdk||"spotify-playback",player_software_version:e.sdkVersion||ut,player_mux_plugin_name:"spotify-playback-mux-reporter",player_mux_plugin_version:ut},e.muxCustomDimensions),getPlayheadTime:this._getPlayheadTime,getStateData:this._getStateData},this._player.addListeners({[d.PLAYER_BEFORE_LOAD]:this._onBeforeLoad.bind(this),[d.PLAYER_PLAY]:this._onPlay.bind(this),[d.PLAYER_PLAYING]:this._onPlaying.bind(this),[d.PLAYER_PAUSED]:this._onPause.bind(this),[d.PLAYER_PROGRESS]:this._onProgress.bind(this),[d.PLAYER_SEEKING]:this._onSeeking.bind(this),[d.PLAYER_POSITION_CHANGED]:this._onPositionChanged.bind(this),[d.PLAYER_ERROR]:this._onError.bind(this),[d.PLAYER_ENDED]:this._onEnded.bind(this),[d.PLAYER_DURATION_CHANGED]:this._onDurationChanged.bind(this),[d.PLAYER_VIDEO_RESIZED]:this._onVideoResized.bind(this),[d.PLAYER_VIDEO_PROFILE_CHANGED]:this._onVideoProfileChanged.bind(this),[d.PLAYER_FRAGMENT_FETCHED]:this._onFragmentFetched.bind(this),[d.PLAYER_FRAGMENT_FETCH_ERROR]:this._onFragmentFetchError.bind(this),[d.PLAYER_VIDEO_MANIFEST_RESOLVED]:this._onVideoManifestResolved.bind(this),[d.PLAYER_VIDEO_MANIFEST_RESOLVE_FAILED]:this._onVideoManifestResolveFailed.bind(this)})})).then(this._readyDeferred.resolve,this._readyDeferred.reject)}_getPlayheadTime(){return this._player.getPlayerPosition()}_getStateData(){return this._currentContentInfo?Object.assign(Object.assign({},this._currentContentInfo.stateData),{player_language_code:this._player.getActiveSubtitleLanguage()}):null}_onDurationChanged(e){this._currentContentInfo&&(this._currentContentInfo.stateData.video_source_duration=e.data.duration)}_onVideoResized(e){this._currentContentInfo&&(this._currentContentInfo.stateData.player_width=e.data.width,this._currentContentInfo.stateData.player_height=e.data.height)}_onBeforeLoad(e){const{track:t,options:n,logData:i}=e.data,o=!!this._currentContentInfo;if("video"!==t.mediaType||(null==i?void 0:i.noLog)||(null==i?void 0:i.noMuxEvents))return o&&this._mux.emit(this._playerId,Nt.VIDEO_CHANGE,{}),void(this._currentContentInfo=null);const r={video_id:t.fileId,video_title:(null==i?void 0:i.displayTitle)||void 0,video_series:(null==i?void 0:i.displayGroup)||void 0,video_duration:(null==i?void 0:i.displayDuration)||void 0},a=Object.assign({},Pt);this._currentContentInfo={track:t,options:n,videoData:r,stateData:a},!this._isMuxInitialized&&this._muxInitData?(this._mux.init(this._playerId,this._muxInitData),this._mux.emit(this._playerId,Nt.READY),this._isMuxInitialized=!0):o&&this._mux.emit(this._playerId,Nt.VIDEO_CHANGE,r)}_onPlay(){var e,t;if(!this._currentContentInfo)return;const n=this._currentContentInfo.stateData,i=this._player.getPlayerState(),o=i.media_info,r=(null===(t=null===(e=this._currentContentInfo)||void 0===e?void 0:e.options)||void 0===t?void 0:t.autoplay)||!1,{width:a,height:s,src:c,poster:l}=i.player_element;n.player_is_paused=!i.playing,n.player_width=a||0,n.player_height=s||0,n.video_source_height=o.video_height||0,n.video_source_width=o.video_width||0,n.player_autoplay_on=r,n.video_source_url=c,n.video_source_mime_type=o.video_format,n.video_source_duration=i.duration,n.video_poster_url=l,this._mux.emit(this._playerId,Nt.PLAY,this._currentContentInfo.videoData)}_onPlaying(){this._currentContentInfo&&(this._currentContentInfo.stateData.player_is_paused=!1,this._mux.emit(this._playerId,Nt.PLAYING))}_onPause(){this._currentContentInfo&&(this._currentContentInfo.stateData.player_is_paused=!0,this._mux.emit(this._playerId,Nt.PAUSE))}_onProgress(e){this._currentContentInfo&&this._mux.emit(this._playerId,Nt.TIMEUPDATE,{player_playhead_time:e.data.position})}_onSeeking(){this._currentContentInfo&&this._mux.emit(this._playerId,Nt.SEEKING)}_onPositionChanged(){this._currentContentInfo&&this._mux.emit(this._playerId,Nt.SEEKED)}_onError(e){var t,n;const i=null===(n=null===(t=e.data)||void 0===t?void 0:t.error)||void 0===n?void 0:n.code;this._currentContentInfo&&i&&this._mux.emit(this._playerId,Nt.ERROR,{player_error_code:Ct(i),player_error_message:i})}_onEnded(){this._currentContentInfo&&this._mux.emit(this._playerId,Nt.ENDED)}_onVideoProfileChanged(e){if(!this._currentContentInfo)return;const t=e.data.profile,n=this._currentContentInfo.stateData;n.video_source_height=t.height||0,n.video_source_width=t.width||0,n.video_source_mime_type=t.mimeType,this._mux.emit(this._playerId,Nt.RENDITION_CHANGE,{video_source_bitrate:t.bitrate,video_source_width:t.width,video_source_height:t.height})}_onFragmentFetched(e){const t=e.data;if(!this._currentContentInfo&&"video"!==t.media_type)return;const n=`${t.segment_type}${t.init?"_init":""}`;this._mux.emit(this._playerId,Nt.REQUEST_COMPLETED,{request_type:n,request_hostname:Rt(t.url),request_start:t.start_time,request_response_end:t.end_time,request_bytes_loaded:t.byte_length})}_onFragmentFetchError(e){const t=e.data;if(!this._currentContentInfo&&"video"!==t.media_type)return;const n=`${t.segment_type}${t.init?"_init":""}`;this._mux.emit(this._playerId,Nt.REQUEST_FAILED,{request_type:n,request_hostname:Rt(t.url),request_start:t.start_time,request_error:t.error.code,request_error_code:t.error.status,request_error_text:""})}_onVideoManifestResolved(e){const t=e.data;this._currentContentInfo&&this._mux.emit(this._playerId,Nt.REQUEST_COMPLETED,{request_type:"manifest",request_hostname:Rt(t.url),request_start:t.start_time,request_response_end:t.end_time,request_bytes_loaded:t.manifest_size})}_onVideoManifestResolveFailed(e){const t=e.data;this._currentContentInfo&&this._mux.emit(this._playerId,Nt.REQUEST_FAILED,{request_type:"manifest",request_hostname:Rt(t.url),request_start:t.start_time,request_error:t.error.code,request_error_code:t.error.status,request_error_text:""})}ready(){return this._readyDeferred.promise}}class kt{constructor(e){if(this._estimate=0,this._totalWeight=0,e<0)throw new TypeError("Halflife must be set to a positive value.");this._weightingDecrease=Math.exp(Math.log(.5)/e)}sample(e,t){const n=Math.pow(this._weightingDecrease,e),i=t*(1-n)+n*this._estimate;isNaN(i)||(this._estimate=i,this._totalWeight+=t)}getEstimate(){return this._estimate/1-Math.pow(this._weightingDecrease,this._totalWeight)}}class wt{constructor(e=4e5){this._totalBytes=0,this._overrideBitrate=0,this._currentBandwidth=e,this._short=new kt(2),this._long=new kt(5),this._init()}_init(){if("undefined"==typeof navigator)return;const e=navigator;e.connection&&e.connection.downlink&&(this._currentBandwidth=1e6*e.connection.downlink,this._onConnectionChange=this._onConnectionChange.bind(this),e.connection.addEventListener("change",this._onConnectionChange))}_onConnectionChange(e){const t=e.target.downlink||0;this._setBandwidth(t)}_setBandwidth(e){this._currentBandwidth=1e6*e}getBandwidthEstimate(){if(this._overrideBitrate)return this._overrideBitrate;if(this._totalBytes<128e3)return this._currentBandwidth;const e=this._short.getEstimate(),t=this._long.getEstimate();return Math.min(e,t)}sample(e,t){if(e<16e3)return;const n=t/1e3,i=8*e/n;this._totalBytes+=e,this._short.sample(n,i),this._long.sample(n,i)}overrideBitrate(e){this._overrideBitrate=e<=0?0:e}}class Dt{constructor(e,t){this._transport=e,this._abrManager=t}_fetch(e,t){const n=(0,l.X)();return this._transport.request(e,{responseType:"arraybuffer",headers:{Range:t}}).then((e=>e.ok&&e.body?{bytes:e.body.byteLength,time:(0,l.X)()-n}:null))}sample(){const e=`https://web-sdk-assets.spotifycdn.com/bandwidth_sampling_data?no-cache=${Math.random()}`;return this._fetch(e,"bytes=0-0").then((()=>this._fetch(e,"bytes=0-"))).then((e=>{e&&this._abrManager.sample(e.bytes,e.time)}))}}const Mt=(e,t)=>new Dt(e,t);var xt,Ut,Vt,Ft,Bt,Ht;function Gt(e){return"uri"in e}!function(e){e.NULL_VALUE="NULL_VALUE",e.LIST_START="LIST_START",e.LIST_END="LIST_END",e.FORBIDDEN="FORBIDDEN",e.IGNORE="IGNORE",e.PAUSE="PAUSE"}(xt||(xt={})),function(e){e.AAC_LC="mp4a.40.2",e.AAC_HE="mp4a.40.5",e.FLAC="flac",e.OPUS="opus",e.VP9="vp9",e.VP8="vp8",e.H264_31="avc1.4d401f"}(Ut||(Ut={})),function(e){e.APPLOAD="appload",e.BACK_BUTTON="backbtn",e.CLICK_ROW="clickrow",e.CLICK_SIDE="clickside",e.END_PLAY="endplay",e.FORWARD_BUTTON="fwdbtn",e.LOGOUT="logout",e.PLAY_BUTTON="playbtn",e.POPUP="popup",e.REMOTE="remote",e.TRACK_DONE="trackdone",e.TRACK_ERROR="trackerror",e.UNKNOWN="unknown",e.URI_OPEN="uriopen",e.CAPPED="capped",e.SEEK="seek"}(Vt||(Vt={})),function(e){e.UNKNOWN="UNKNOWN",e.DEFAULT="DEFAULT",e.LOW="LOW",e.NORMAL="NORMAL",e.HIGH="HIGH",e.VERY_HIGH="VERY_HIGH",e.HIFI="HIFI"}(Ft||(Ft={})),function(e){e.NONE="NONE",e.CONTEXT="CONTEXT",e.TRACK="TRACK"}(Bt||(Bt={})),function(e){e.EMPTY="EMPTY",e.SW_CRYPTO="SW_CRYPTO",e.SW_DECODE="SW_DECODE",e.HW_CRYPTO="HW_CRYPTO",e.HW_DECODE="HW_DECODE",e.HW_ALL="HW_ALL"}(Ht||(Ht={}));class Wt extends a.bk{constructor(e){if(super(),this._trackPlayerPromise=(0,g.u)(),this._maxListErrors=5,this._uid=0,this._loadedList=null,this._loadedOptions=null,this._currentTrack=null,this._currentTrackOptions=null,this._listPlayCount=0,this._listErrorCount=0,this._shuffled=!1,this._repeatMode=Bt.NONE,this._currentSeqId=0,!e.trackPlayer)throw new TypeError("Argument `options.trackPlayer` not found.");e.maxListErrors&&(this._maxListErrors=e.maxListErrors),this._setListOptions=this._setListOptions.bind(this),this._replaceCurrentList=this._replaceCurrentList.bind(this),this._handleCapped=this._handleCapped.bind(this),this._handlePlaying=this._handlePlaying.bind(this),this._handlePaused=this._handlePaused.bind(this),this._handleEnded=this._handleEnded.bind(this),this._handleCanPreload=this._handleCanPreload.bind(this),this._handleError=this._handleError.bind(this),this._handlePositionChanged=this._handlePositionChanged.bind(this),this._handleDurationChanged=this._handleDurationChanged.bind(this),this._handleTimeout=this._handleTimeout.bind(this),this._handlePlayerInitError=this._handlePlayerInitError.bind(this),this._handleProgress=this._handleProgress.bind(this),this._handlePlayedThresholdReached=this._handlePlayedThresholdReached.bind(this),this._handleBeforeLoad=this._handleBeforeLoad.bind(this),this._init(e.trackPlayer)}static create(e){return new Wt(e)}_init(e){this._trackPlayerPromise.promise.catch((()=>{})),Promise.resolve(e).then((e=>{this._attachPlayerEvents(e),this._trackPlayerPromise.resolve(e)})).catch(this._handlePlayerInitError)}_attachPlayerEvents(e){e.addListeners({[d.PLAYER_CAN_PRELOAD]:this._handleCanPreload,[d.PLAYER_CAPPED]:this._handleCapped,[d.PLAYER_ENDED]:this._handleEnded,[d.PLAYER_ERROR]:this._handleError,[d.PLAYER_PAUSED]:this._handlePaused,[d.PLAYER_PLAYING]:this._handlePlaying,[d.PLAYER_TIMEOUT]:this._handleTimeout,[d.PLAYER_POSITION_CHANGED]:this._handlePositionChanged,[d.PLAYER_DURATION_CHANGED]:this._handleDurationChanged,[d.PLAYER_PROGRESS]:this._handleProgress,[d.PLAYER_BEFORE_LOAD]:this._handleBeforeLoad,[d.PLAYER_PLAYED_THRESHOLD_REACHED]:this._handlePlayedThresholdReached}),this.proxyEmitAllSync(e,{[d.PLAYER_BEFORE_VOLUME_CHANGE]:d.LIST_PLAYER_BEFORE_VOLUME_CHANGE,[d.PLAYER_LOAD]:d.LIST_PLAYER_PLAYER_LOAD,[d.REPORTING_START]:d.REPORTING_START,[d.REPORTING_CREATIVE_VIEW]:d.REPORTING_CREATIVE_VIEW,[d.REPORTING_FIRST_QUARTILE]:d.REPORTING_FIRST_QUARTILE,[d.REPORTING_MIDPOINT]:d.REPORTING_MIDPOINT,[d.REPORTING_THIRD_QUARTILE]:d.REPORTING_THIRD_QUARTILE,[d.REPORTING_COMPLETE]:d.REPORTING_COMPLETE,[d.REPORTING_PAUSE]:d.REPORTING_PAUSE,[d.REPORTING_RESUME]:d.REPORTING_RESUME,[d.REPORTING_ERROR]:d.REPORTING_ERROR}),this.proxyEmitAll(e,{[d.PLAYER_AUTOPLAY_FAILED]:d.LIST_PLAYER_AUTOPLAY_FAILED,[d.PLAYER_TRACKING_DATA_CREATED]:d.LIST_PLAYER_TRACKING_DATA_CREATED,[d.PLAYER_TRACKING_DATA_FINALIZED]:d.LIST_PLAYER_TRACKING_DATA_FINALIZED,[d.PLAYER_BUFFER_STALLED]:d.LIST_PLAYER_BUFFER_STALLED,[d.PLAYER_BUFFERING_START]:d.LIST_PLAYER_BUFFERING_START,[d.PLAYER_BUFFERING_END]:d.LIST_PLAYER_BUFFERING_END,[d.PLAYER_REBUFFERING_START]:d.LIST_PLAYER_REBUFFERING_START,[d.PLAYER_REBUFFERING_END]:d.LIST_PLAYER_REBUFFERING_END,[d.PLAYER_VIDEO_ELEMENT_APPENDED]:d.LIST_PLAYER_VIDEO_ELEMENT_APPENDED,[d.PLAYER_VIDEO_ELEMENT_REMOVED]:d.LIST_PLAYER_VIDEO_ELEMENT_REMOVED,[d.PLAYER_DISPLAYED_CUES_CHANGED]:d.LIST_PLAYER_DISPLAYED_CUES_CHANGED,[d.LIST_PLAYER_VIDEO_PROFILE_CHANGED]:d.PLAYER_VIDEO_PROFILE_CHANGED,[d.LIST_PLAYER_PLAYBACK_SPEED_CHANGED]:d.PLAYER_PLAYBACK_SPEED_CHANGED,[d.LIST_PLAYER_SUBTITLE_LANGUAGES_LOADED]:d.PLAYER_SUBTITLE_LANGUAGES_LOADED})}_translatePosition(e){var t,n,i;return null!==(i=null===(n=null===(t=this._loadedList)||void 0===t?void 0:t.translatePosition)||void 0===n?void 0:n.call(t,e))&&void 0!==i?i:e}_translateDuration(e){var t,n,i;const o=isNaN(e)?0:e;return null!==(i=null===(n=null===(t=this._loadedList)||void 0===t?void 0:t.translateDuration)||void 0===n?void 0:n.call(t,o))&&void 0!==i?i:o}_handleProgress(e){const{data:t}=e;this.emit(d.LIST_PLAYER_PROGRESS,Object.assign(Object.assign({},t),{position:this._translatePosition(t.position)}))}_handleBeforeLoad(e){const{data:t}=e;this.emit(d.LIST_PLAYER_BEFORE_PLAYER_LOAD,Object.assign(Object.assign({},t),{options:Object.assign(Object.assign({},t.options),{position:this._translatePosition(t.options.position)})}))}_handlePlayerInitError(e){this._trackPlayerPromise.reject(new _(h.LIST_PLAYER_NO_TRACK_PLAYER,e.message||"Track player promise was rejected."))}_handleCapped(){const e=this._currentTrack;e&&this.emit(d.LIST_PLAYER_CAPPED,{uid:this._uid,track:e,options:this._currentTrackOptions,list:this._loadedList})}_handlePlaying(e){const t=this._currentTrack;t&&this.emit(d.LIST_PLAYER_PLAYING,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position)})}_handlePaused(e){const t=this._currentTrack;t&&this.emit(d.LIST_PLAYER_PAUSED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position)})}_handleCanPreload(){this._preloadUpcomingTrack().catch((()=>{}))}_handleEnded(){const e=this._currentTrack;e&&(this.emit(d.LIST_PLAYER_TRACK_ENDED,{uid:this._uid,track:e,options:this._currentTrackOptions,list:this._loadedList}),this.next(Vt.TRACK_DONE))}_handleTimeout(){const e=this._currentTrack;e&&(this.emit(d.LIST_PLAYER_TRACK_TIMEOUT,{uid:this._uid,track:e,options:this._currentTrackOptions,list:this._loadedList}),this.next(Vt.TRACK_ERROR))}_handlePositionChanged(e){const t=this._currentTrack;t&&this.emit(d.LIST_PLAYER_POSITION_CHANGED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position)})}_handleDurationChanged(e){const t=this._currentTrack;t&&this.emit(d.LIST_PLAYER_DURATION_CHANGED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,position:this._translatePosition(e.data.position),duration:this._translateDuration(e.data.duration)})}_handlePlayedThresholdReached(e){const t=this._currentTrack;t&&this.emit(d.LIST_PLAYER_PLAYED_THRESHOLD_REACHED,{uid:this._uid,track:t,options:this._currentTrackOptions,list:this._loadedList,threshold:e.data.threshold,position:this._translatePosition(e.data.position)})}_handleError(e){const t=this._currentTrack,n=e.data;if(!t)return;n.position=this._translatePosition(e.data.position),this.emit(d.LIST_PLAYER_ERROR,n),this.emitSync(d.LIST_PLAYER_ERROR_SYNC,n);const i=!!n.error&&n.error.listPlayerIgnore;i||this._listErrorCount++,n.canPlayNext&&(i||this._listErrorCount<=this._maxListErrors?this.next(Vt.TRACK_ERROR):this.emit(d.LIST_PLAYER_MAX_LIST_ERRORS_REACHED,{count:this._listErrorCount,threshold:this._maxListErrors}))}_handleTrackLoaded(e){this.emitSync(d.LIST_PLAYER_TRACK_LOADED,e)}_incrementSeqId(){return this._currentSeqId>=9007199254740991?this._currentSeqId=0:this._currentSeqId+=1,this._currentSeqId}_getTrackPlayer(){return this._trackPlayerPromise.promise}_setListIndex(e,t){const n=t.index&&-1!==t.index?t.index:0;return Promise.all([e,t,e.startAt(n)])}_setListOptions([e,t,n]){return Promise.all([e.setShuffle(!!this._shuffled),e.setRepeatMode(this._repeatMode)]).then((()=>[e,t]))}_replaceCurrentList([e,t]){return this.emitSync(d.LIST_PLAYER_BEFORE_LIST_CHANGE,{newList:e,newOptions:t,oldList:this._loadedList,oldOptions:this._loadedOptions}),this._loadedList=e,this._loadedOptions=t,this._listPlayCount=0,this._listErrorCount=0,this.emit(d.LIST_PLAYER_LIST_CHANGED,{list:e,options:t}),f.SUCCESS}_changeTrack(e,t,n){if(this._currentSeqId!==n)return Promise.resolve(f.CANCELLED);this.emitSync(d.LIST_PLAYER_BEFORE_TRACK_LOAD,{list:this._loadedList,newTrack:e,oldTrack:this._currentTrack}),this._uid++;const i=++this._listPlayCount,o=this._loadedOptions;let r,a=!0,s=0,c=3e4,l=!1,u=!1;o&&(1===i?(a=!o.paused,s=o.initialPosition||o.position||0):s=o.position||0,l=o.muted||!1,u=o.loop||!1);const p=t===Vt.TRACK_DONE;if(e.options){const t=e.options;void 0!==t.paused&&(a=!t.paused),void 0!==t.position&&(s=t.position),void 0!==t.playedThreshold&&(c=t.playedThreshold),void 0!==t.loadingTimeout&&(r=t.loadingTimeout),void 0!==t.muted&&(l=t.muted),void 0!==t.loop&&(u=t.loop)}this._currentTrack=e,this._currentTrackOptions={reason:t,paused:!a,position:s,playedThreshold:c,muted:l,loop:u};const h=this._handleTrackLoaded.bind(this,{uid:this._uid,track:this._currentTrack,options:this._currentTrackOptions,list:this._loadedList});return this._getTrackPlayer().then((t=>this._currentSeqId!==n?f.CANCELLED:(Promise.resolve(t.load(e,{uriProperty:"playableURI",autoplay:a,position:s,playedThreshold:c,continuePrevious:p,loadingTimeout:r,muted:l,loop:u},h)).catch((()=>{})),f.SUCCESS)))}_preloadUpcomingTrack(){const e=this._loadedList;return e?e.peekNext({reason:Vt.TRACK_DONE,listConstants:xt}).then((e=>e===xt.FORBIDDEN?f.FORBIDDEN:e===xt.NULL_VALUE?f.INVALID:e===xt.LIST_END?f.LIST_END:Gt(e)&&e.playable?this.preloadTrack(e):f.INVALID)):Promise.reject(new _(h.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}preloadTrack(e){return this._getTrackPlayer().then((t=>(t.preload(e).catch((()=>{})),f.SUCCESS)))}activateElement(){return this._getTrackPlayer().then((e=>(e.activateElement(),f.SUCCESS)))}load(e,t){const n=function(e={}){const t={index:-1,position:0,initialPosition:0,playbackSpeed:1,duration:-1,paused:!1,reason:Vt.UNKNOWN,muted:!1,loop:!1};return void 0!==e.index&&(t.index=e.index),void 0!==e.position&&(t.position=e.position),void 0!==e.initialPosition&&(t.initialPosition=e.initialPosition),void 0!==e.duration&&(t.duration=e.duration),void 0!==e.paused&&(t.paused=e.paused),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),void 0!==e.reason&&(t.reason=e.reason),void 0!==e.muted&&(t.muted=e.muted),void 0!==e.loop&&(t.loop=e.loop),t}(t||this._loadedOptions||{});return this._setListIndex(e,n).then(this._setListOptions).then(this._replaceCurrentList)}play(e,t){return this.load(e,t).then((()=>{if(this._loadedList!==e)return f.CANCELLED;const t=this._loadedOptions?this._loadedOptions.reason:Vt.UNKNOWN;return this.next(t)}))}canChangeTrack(){return this._loadedList?this._loadedList.peekNext({reason:Vt.FORWARD_BUTTON,listConstants:xt}).then((e=>e!==xt.FORBIDDEN)):Promise.resolve(!0)}next(e){if(!e)return Promise.reject(new _(h.LIST_PLAYER_INVALID_ARGUMENT,"The argument `reason` is required."));const t=this._loadedList;if(!t)return Promise.reject(new _(h.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."));this.emitSync(d.LIST_PLAYER_BEFORE_NEXT,{list:t,reason:e});const n=this._incrementSeqId(),i={reason:e,listConstants:xt};return t.next(i).then((i=>this._currentSeqId!==n?f.CANCELLED:i===xt.FORBIDDEN?f.FORBIDDEN:i===xt.NULL_VALUE?this.next(e):i===xt.LIST_END?(this.emit(d.LIST_PLAYER_LIST_ENDED,{list:t,reason:Vt.END_PLAY}),this.clear(e),f.LIST_END):Gt(i)?i.playable?this._changeTrack(i,e,n):(this.emit(d.LIST_PLAYER_TRACK_UNPLAYABLE,{track:i,list:t}),this.next(e)):f.INVALID))}previous(e){if(!e)return Promise.reject(new _(h.LIST_PLAYER_INVALID_ARGUMENT,"The argument `reason` is required."));const t=this._loadedList;if(!t)return Promise.reject(new _(h.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."));this.emitSync(d.LIST_PLAYER_BEFORE_PREVIOUS,{list:t,reason:e});const n=this._incrementSeqId(),i={reason:e,listConstants:xt};return t.previous(i).then((i=>this._currentSeqId!==n?f.CANCELLED:i===xt.FORBIDDEN?f.FORBIDDEN:i===xt.NULL_VALUE?this.previous(e):i===xt.LIST_START?(this.emit(d.LIST_PLAYER_LIST_ENDED,{list:t,reason:Vt.END_PLAY}),this.clear(e),f.LIST_END):Gt(i)?i.playable?this._changeTrack(i,e,n):(this.emit(d.LIST_PLAYER_TRACK_UNPLAYABLE,{track:i,list:t}),this.previous(e)):f.INVALID))}pause(){return this._loadedList?this._currentTrack?this._getTrackPlayer().then((e=>e.pause().then((()=>f.SUCCESS)).catch((e=>"AbortError"===(null==e?void 0:e.name)?f.CANCELLED:f.FORBIDDEN)))):Promise.resolve(f.SUCCESS):Promise.reject(new _(h.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}resume(){return this._loadedList?this._currentTrack?this._getTrackPlayer().then((e=>e.resume().then((()=>f.SUCCESS)).catch((e=>"AbortError"===(null==e?void 0:e.name)?f.CANCELLED:f.FORBIDDEN)))):Promise.resolve(f.SUCCESS):Promise.reject(new _(h.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}togglePlay(){return this._loadedList?this._currentTrack?this._getTrackPlayer().then((e=>e.togglePlay().then((()=>f.SUCCESS)).catch((e=>"AbortError"===(null==e?void 0:e.name)?f.CANCELLED:f.FORBIDDEN)))):Promise.resolve(f.SUCCESS):Promise.reject(new _(h.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."))}stop(e){const t={reason:e||Vt.UNKNOWN},n=this._currentTrack;return n&&n.logData&&(t.source=n.logData.source,t.playbackService=n.logData.playbackService),this._incrementSeqId(),this._getTrackPlayer().then((e=>(e.stop(t),this.emit(d.LIST_PLAYER_STOPPED,{uid:this._uid,options:this._currentTrackOptions,list:this._loadedList}),f.SUCCESS)))}clear(e){return this.stop(e).then((()=>(this._loadedList=null,this._loadedOptions=null,this._currentTrack=null,this._currentTrackOptions=null,this.emit(d.LIST_PLAYER_CLEARED,null),f.SUCCESS)))}setShuffle(e){const t=!!e;if(this._shuffled!==t){this._shuffled=t,this.emit(d.LIST_PLAYER_SHUFFLE_CHANGED,{player:this,shuffled:t});const e=this._loadedList;e&&e.setShuffle(this._shuffled)}return Promise.resolve(f.SUCCESS)}setRepeatMode(e){if(!(e in Bt))return Promise.reject(new _(h.LIST_PLAYER_INVALID_ARGUMENT,"The value of repeat mode is not a correct RepeatMode enum value"));if(this._repeatMode!==e){this._repeatMode=e,this.emit(d.LIST_PLAYER_REPEAT_MODE_CHANGED,{player:this,repeatMode:e});const t=this._loadedList;t&&t.setRepeatMode(this._repeatMode)}return Promise.resolve(f.SUCCESS)}getVolume(){return this._getTrackPlayer().then((e=>e.getVolume()))}setVolume(e,t=null){return this._getTrackPlayer().then((n=>(n.setVolume(e,{commandId:null!=t?t:void 0}),this.emit(d.LIST_PLAYER_VOLUME_CHANGED,{volume:e,commandId:t}),f.SUCCESS)))}seek(e,t=Vt.SEEK){var n,i;const o=this._loadedList;if(!o)return Promise.reject(new _(h.LIST_PLAYER_NO_LIST,"Cannot perform operation; no list was loaded."));if("function"==typeof o.allowSeeking&&!o.allowSeeking())return Promise.reject(new _(h.LIST_PLAYER_FORBIDDEN,"The operation is not allowed."));const r=null!==(i=null===(n=o.handleSeek)||void 0===n?void 0:n.call(o,e,{reason:t,listConstants:xt}))&&void 0!==i?i:e;return r===xt.PAUSE?this.pause().then((t=>(this.emit(d.LIST_PLAYER_SEEK_HANDLED,{position:e,reason:r}),t))):r===xt.IGNORE?(this.emit(d.LIST_PLAYER_SEEK_HANDLED,{position:e,reason:r}),Promise.resolve(f.SUCCESS)):this._currentTrack?this._getTrackPlayer().then((e=>(e.seek(r),f.SUCCESS))):Promise.resolve(f.SUCCESS)}getListConstants(){return xt}getLoadedList(){return this._loadedList}getLoadedOptions(){return this._loadedOptions}getPlayerState(){return this._getTrackPlayer().then((e=>{const t=e.getPlayerState();return Object.assign(Object.assign({},t),{position:this._translatePosition(t.position),duration:this._translateDuration(t.duration)})}))}getState(){return this.getPlayerState().then((e=>({playbackState:e,track:this._currentTrack,list:this._loadedList,options:this._loadedOptions})))}getMediaConfig(){return this._getTrackPlayer().then((e=>e.getMediaConfig()))}hideSubtitles(){return this._getTrackPlayer().then((e=>e.hideSubtitles())).then((()=>f.SUCCESS))}showSubtitles(){return this._getTrackPlayer().then((e=>e.showSubtitles())).then((()=>f.SUCCESS))}areSubtitlesShown(){return this._getTrackPlayer().then((e=>e.areSubtitlesShown()))}getSubtitleLanguages(){return this._getTrackPlayer().then((e=>e.getSubtitleLanguages()))}getActiveSubtitleLanguage(){return this._getTrackPlayer().then((e=>{var t;return null!==(t=e.getActiveSubtitleLanguage())&&void 0!==t?t:null}))}deactivateCueEvents(){return this._getTrackPlayer().then((e=>e.deactivateCueEvents())).then((()=>f.SUCCESS))}activateCueEvents(){return this._getTrackPlayer().then((e=>e.activateCueEvents())).then((()=>f.SUCCESS))}getCurrentBandwidth(){return this._getTrackPlayer().then((e=>e.getCurrentBandwidth()))}setSubtitleLanguage(e){return this._getTrackPlayer().then((t=>t.setSubtitleLanguage(e))).then((()=>f.SUCCESS))}setPlaybackSpeed(e){return this._getTrackPlayer().then((t=>t.setPlaybackSpeed(e))).then((e=>e?f.SUCCESS:f.FORBIDDEN))}setMuted(e){return this._getTrackPlayer().then((t=>(t.setMuted(e),f.SUCCESS)))}getStatistics(){return this._getTrackPlayer().then((e=>e.getStatistics()))}getAudioProcessor(){return this._getTrackPlayer().then((e=>e.getAudioProcessor()))}}const jt=r.m.forTag("playback.init");function Yt(e){return new Promise(((t,n)=>{var i,r,a,s,c,l,u,d,p,h,f;if(!e.transport)return void n(new TypeError("Argument transport is required."));if("undefined"!=typeof window){("boolean"==typeof window.isSecureContext?window.isSecureContext:function(){if("undefined"==typeof window||!window.location)return!1;const e=window.location;if("https"===e.protocol||"file"===e.protocol)return!0;const t=e.hostname;return!!/^127(\.[0-255]){3}$|^locahost\.?$|\.localhost\.?$/.test(t)}())||null===(i=window.console)||void 0===i||i.warn("%cDRM might not be available from unsecure contexts","background: #222; color: #bada55; font-size: 40px")}if(e.playerContainerManager&&("function"!=typeof(null===(r=e.playerContainerManager)||void 0===r?void 0:r.eject)||"function"!=typeof(null===(a=e.playerContainerManager)||void 0===a?void 0:a.inject)))return void n(new TypeError("Both inject and eject PlayerContainerManager functions must be present."));const{transport:m}=e,[_="",g=""]=(e.sdkId||"").split(":"),E=new wt,v=Object.assign(Object.assign({},e),{abrManager:E,initialBandwidthSampler:Mt(m,E),tracker:yt.create(),audioResolver:new mt(m),videoResolver:new bt(m),licenseURLResolver:new Tt({transport:m,sdk:{name:_,version:g},securityLevel:e.securityLevel,useTestLicenseServer:e.useTestLicenseServer}),newBufferPerTrack:null===(s=e.newBufferPerTrack)||void 0===s||s,preinitMediaElement:null===(c=e.preinitMediaElement)||void 0===c||c,audioProcessorOptions:Object.assign(Object.assign({},e.audioProcessorOptions),{disable:null!==(u=null===(l=e.audioProcessorOptions)||void 0===l?void 0:l.disable)&&void 0!==u?u:!!e.createPlayer})});e.unauthenticatedLogs&&!(null===(d=e.loggerOptions)||void 0===d?void 0:d.endpoint)&&(e.loggerOptions=Object.assign(Object.assign({},e.loggerOptions),{endpoint:"https://spclient.wg.spotify.com/melody/unauth"})),(null===(p=null==e?void 0:e.loggerOptions)||void 0===p?void 0:p.deviceInfo)||Promise.all([null===(h=e.loggerOptions)||void 0===h?void 0:h.platform,null===(f=e.loggerOptions)||void 0===f?void 0:f.clientVersion]).then((([t,n])=>{e.loggerOptions=Object.assign(Object.assign({},e.loggerOptions),{deviceInfo:{platform:t,version:n}})})),at.create(v).then((t=>{const n=Object.assign({disableMux:!0},e.loggerOptions),i=function(e){return new At(e)}(Object.assign(Object.assign({},n),{transport:m,sdkId:e.sdkId,platform:Promise.resolve(n.deviceInfo).then((e=>{var t;return null!==(t=null==e?void 0:e.platform)&&void 0!==t?t:""})),clientVersion:Promise.resolve(n.deviceInfo).then((e=>{var t;return null!==(t=null==e?void 0:e.version)&&void 0!==t?t:""}))})),r=pt.create({transport:m,player:t,logSender:i});return n.disableMux||Lt.create({player:t,mux:o,envKey:null==n?void 0:n.muxEnvKey,sdk:_,sdkVersion:g,deviceInfo:n.deviceInfo,muxCustomDimensions:n.muxCustomDimensions}).ready().then((()=>jt.info("MuxReporter ready")),(e=>jt.error("Failed to instantiate MuxReporter",null==e?void 0:e.message))),{player:t,logger:r}})).then(t,n)}))}var zt;!function(e){e.PLAYER_INITIALIZATION_DONE="PLAYER_INITIALIZATION_DONE",e.PLAYER_INITIALIZATION_FAILED="PLAYER_INITIALIZATION_FAILED",e.STATE_CHANGED="STATE_CHANGED",e.AUTOPLAY_FAILED="AUTOPLAY_FAILED",e.BEFORE_LIST_CHANGE="BEFORE_LIST_CHANGE",e.BEFORE_NEXT="BEFORE_NEXT",e.BEFORE_PREVIOUS="BEFORE_PREVIOUS",e.BEFORE_TRACK_LOAD="BEFORE_TRACK_LOAD",e.BUFFER_STALLED="BUFFER_STALLED",e.BUFFERING_START="BUFFERING_START",e.BUFFERING_END="BUFFERING_END",e.REBUFFERING_START="REBUFFERING_START",e.REBUFFERING_END="REBUFFERING_END",e.CAPPED="CAPPED",e.CLEARED="CLEARED",e.DISPLAYED_CUES_CHANGED="DISPLAYED_CUES_CHANGED",e.SUBTITLE_LANGUAGES_LOADED="SUBTITLE_LANGUAGES_LOADED",e.DURATION_CHANGED="DURATION_CHANGED",e.ERROR="ERROR",e.ERROR_SYNC="ERROR_SYNC",e.LIST_CHANGED="LIST_CHANGED",e.LIST_ENDED="LIST_ENDED",e.LOAD_VIDEO="LOAD_VIDEO",e.MAX_LIST_ERRORS_REACHED="MAX_LIST_ERRORS_REACHED",e.PAUSED="PAUSED",e.PLAYING="PLAYING",e.PLAYED_THRESHOLD_REACHED="PLAYED_THRESHOLD_REACHED",e.POSITION_CHANGED="POSITION_CHANGED",e.PROGRESS="PROGRESS",e.REPEAT_MODE_CHANGED="REPEAT_MODE_CHANGED",e.SHUFFLE_CHANGED="SHUFFLE_CHANGED",e.STOPPED="STOPPED",e.STOPPED_VIDEO="STOPPED_VIDEO",e.TRACKING_DATA_CREATED="TRACKING_DATA_CREATED",e.TRACKING_DATA_FINALIZED="TRACKING_DATA_FINALIZED",e.TRACK_ENDED="TRACK_ENDED",e.TRACK_LOADED="TRACK_LOADED",e.TRACK_TIMEOUT="TRACK_TIMEOUT",e.TRACK_UNPLAYABLE="TRACK_UNPLAYABLE",e.VOLUME_CHANGED="VOLUME_CHANGED",e.VIDEO_ELEMENT_APPENDED="VIDEO_ELEMENT_APPENDED",e.VIDEO_ELEMENT_REMOVED="VIDEO_ELEMENT_REMOVED",e.SPEED_CHANGED="SPEED_CHANGED",e.REPORTING_START="REPORTING_START",e.REPORTING_FIRST_QUARTILE="REPORTING_FIRST_QUARTILE",e.REPORTING_MIDPOINT="REPORTING_MIDPOINT",e.REPORTING_THIRD_QUARTILE="REPORTING_THIRD_QUARTILE",e.REPORTING_COMPLETE="REPORTING_COMPLETE",e.REPORTING_PAUSE="REPORTING_PAUSE",e.REPORTING_RESUME="REPORTING_RESUME",e.REPORTING_CREATIVE_VIEW="REPORTING_CREATIVE_VIEW",e.REPORTING_ERROR="REPORTING_ERROR"}(zt||(zt={}));const Kt={MP3:m.MP3,MP4:m.MP4,MP4_DUAL:m.MP4_DUAL,MP4_CBCS:m.MP4_CBCS,MP4_FLAC:m.MP4_FLAC,MANIFEST_ID:m.MANIFEST_ID,AD_MANIFEST:m.AD_MANIFEST,GENERIC_MEDIA:m.GENERIC_MEDIA};class Jt{constructor(e){var t,n,i,o,r;if(this.isAd=!1,!e.uri)throw new TypeError("Missing required `uri` option.");if(!e.fileId&&!(null!==(t=e.url)&&void 0!==t?t:e.resolvedURL))throw new TypeError("Missing: provide either fileId or url");this.uri=e.uri,this.playableURI=this.uri,this.fileId=e.fileId||"",this.playable=null===(n=e.playable)||void 0===n||n,this.mediaType=e.mediaType||"audio",this.metadata=e.metadata||{},this.url=null!==(i=e.url)&&void 0!==i?i:e.resolvedURL,this.noManifest=null!==(o=e.noManifest)&&void 0!==o?o:!!this.url,this.noAuth=null!==(r=e.noAuth)&&void 0!==r&&r,this.preloadedManifest=e.preloadedManifest,this.licenseEndpoint=e.licenseEndpoint,this.fileFormat=e.fileFormat,this.poster=e.poster,this.options=e.options,this.audioGain=e.audioGain,this.mimeType=e.mimeType;const{format:a}=e;if(a){if(!Kt.hasOwnProperty(a))throw new TypeError("Invalid `format` option.");this.format=Kt[a]}else this.format=this.url&&!this.fileId?m.GENERIC_MEDIA:m.MP4;this.logData=Object.assign(Object.assign({},e.logData),{noLog:!1,noTSV:!0,noStats:!1})}static create(e){return new Jt(e)}}class qt{constructor(e){this._index=-1,this._tracks=[],this._tracks=e.tracks}static create(e){const t=[];for(const n of e.tracks)n instanceof Jt?t.push(n):t.push(Jt.create(n));return new qt({tracks:t})}startAt(e){return e>this._tracks.length||e<0?this._index=-1:this._index=e-1,Promise.resolve(f.SUCCESS)}next(e,t){const n=this._index+1;if(n>=this._tracks.length)return Promise.resolve(e.listConstants.LIST_END);const i=this._tracks[n];return t||(this._index=n),i?Promise.resolve(i):Promise.reject(xt.NULL_VALUE)}peekNext(e){return this.next(e,!0)}allowSeeking(){return!0}previous(e){const t=this._index-1;if(t<0)return Promise.resolve(e.listConstants.LIST_START);const n=this._tracks[t];return this._index=t,n?Promise.resolve(n):Promise.reject(xt.NULL_VALUE)}setShuffle(){return Promise.resolve(f.SUCCESS)}setRepeatMode(){return Promise.resolve(f.SUCCESS)}}class Xt extends a.bk{constructor(e){super(),this._playerPromise=e.playerPromise,this._listPlayer=e.listPlayer,this._transport=e.transport,this._autoActivateElement=!!e.autoActivateElement,this._init()}static create(e){return new Xt(e)}_init(){const e=this._listPlayer;this.proxyEmitAll(e,{[d.LIST_PLAYER_AUTOPLAY_FAILED]:zt.AUTOPLAY_FAILED,[d.LIST_PLAYER_BEFORE_LIST_CHANGE]:zt.BEFORE_LIST_CHANGE,[d.LIST_PLAYER_BUFFER_STALLED]:zt.BUFFER_STALLED,[d.LIST_PLAYER_BUFFERING_START]:zt.BUFFERING_START,[d.LIST_PLAYER_BUFFERING_END]:zt.BUFFERING_END,[d.LIST_PLAYER_REBUFFERING_START]:zt.REBUFFERING_START,[d.LIST_PLAYER_REBUFFERING_END]:zt.REBUFFERING_END,[d.LIST_PLAYER_CLEARED]:zt.CLEARED,[d.LIST_PLAYER_DURATION_CHANGED]:zt.DURATION_CHANGED,[d.LIST_PLAYER_ERROR]:zt.ERROR,[d.LIST_PLAYER_LIST_CHANGED]:zt.LIST_CHANGED,[d.LIST_PLAYER_LIST_ENDED]:zt.LIST_ENDED,[d.LIST_PLAYER_MAX_LIST_ERRORS_REACHED]:zt.MAX_LIST_ERRORS_REACHED,[d.LIST_PLAYER_PAUSED]:zt.PAUSED,[d.LIST_PLAYER_PLAYING]:zt.PLAYING,[d.LIST_PLAYER_PLAYED_THRESHOLD_REACHED]:zt.PLAYED_THRESHOLD_REACHED,[d.LIST_PLAYER_POSITION_CHANGED]:zt.POSITION_CHANGED,[d.LIST_PLAYER_PROGRESS]:zt.PROGRESS,[d.LIST_PLAYER_REPEAT_MODE_CHANGED]:zt.REPEAT_MODE_CHANGED,[d.LIST_PLAYER_SHUFFLE_CHANGED]:zt.SHUFFLE_CHANGED,[d.LIST_PLAYER_STOPPED]:zt.STOPPED,[d.LIST_PLAYER_TRACKING_DATA_CREATED]:zt.TRACKING_DATA_CREATED,[d.LIST_PLAYER_TRACKING_DATA_FINALIZED]:zt.TRACKING_DATA_FINALIZED,[d.LIST_PLAYER_TRACK_ENDED]:zt.TRACK_ENDED,[d.LIST_PLAYER_TRACK_LOADED]:zt.TRACK_LOADED,[d.LIST_PLAYER_TRACK_TIMEOUT]:zt.TRACK_TIMEOUT,[d.LIST_PLAYER_TRACK_UNPLAYABLE]:zt.TRACK_UNPLAYABLE,[d.LIST_PLAYER_VOLUME_CHANGED]:zt.VOLUME_CHANGED,[d.LIST_PLAYER_VIDEO_ELEMENT_APPENDED]:zt.VIDEO_ELEMENT_APPENDED,[d.LIST_PLAYER_VIDEO_ELEMENT_REMOVED]:zt.VIDEO_ELEMENT_REMOVED,[d.PLAYER_DISPLAYED_CUES_CHANGED]:zt.DISPLAYED_CUES_CHANGED,[d.PLAYER_SUBTITLE_LANGUAGES_LOADED]:zt.SUBTITLE_LANGUAGES_LOADED,[d.PLAYER_PLAYBACK_SPEED_CHANGED]:zt.SPEED_CHANGED}),this.proxyEmitAllSync(e,{[d.LIST_PLAYER_BEFORE_NEXT]:zt.BEFORE_NEXT,[d.LIST_PLAYER_BEFORE_PREVIOUS]:zt.BEFORE_PREVIOUS,[d.LIST_PLAYER_BEFORE_TRACK_LOAD]:zt.BEFORE_TRACK_LOAD,[d.LIST_PLAYER_ERROR_SYNC]:zt.ERROR_SYNC,[d.REPORTING_START]:zt.REPORTING_START,[d.REPORTING_FIRST_QUARTILE]:zt.REPORTING_FIRST_QUARTILE,[d.REPORTING_MIDPOINT]:zt.REPORTING_MIDPOINT,[d.REPORTING_THIRD_QUARTILE]:zt.REPORTING_THIRD_QUARTILE,[d.REPORTING_COMPLETE]:zt.REPORTING_COMPLETE,[d.REPORTING_PAUSE]:zt.REPORTING_PAUSE,[d.REPORTING_RESUME]:zt.REPORTING_RESUME,[d.REPORTING_CREATIVE_VIEW]:zt.REPORTING_CREATIVE_VIEW,[d.REPORTING_ERROR]:zt.REPORTING_ERROR}),this._emitStateChanged=this._emitStateChanged.bind(this),this.on(zt.CLEARED,this._emitStateChanged),this.on(zt.PAUSED,this._emitStateChanged),this.on(zt.PLAYING,this._emitStateChanged),this.on(zt.POSITION_CHANGED,this._emitStateChanged),this.on(zt.STOPPED,this._emitStateChanged),this.on(zt.LIST_CHANGED,this._emitStateChanged),this.on(zt.VOLUME_CHANGED,this._emitStateChanged),this.on(zt.SPEED_CHANGED,this._emitStateChanged),this.on(zt.TRACK_LOADED,this._emitStateChanged),this._playerPromise.then((()=>this.emit(zt.PLAYER_INITIALIZATION_DONE,null))).catch((e=>this.emit(zt.PLAYER_INITIALIZATION_FAILED,{error:e}))),this._transport.on(s.TransportEvent.BEFORE_ONLINE_DISCONNECT,(e=>{e.data.awaitPromise(this._listPlayer.stop(Vt.END_PLAY).catch((e=>{})))}))}_emitStateChanged(){this._listPlayer.getState().then((e=>{this.emit(zt.STATE_CHANGED,{state:e})}))}playTracks(e,t){return this._autoActivateElement&&this._listPlayer.activateElement(),new Promise((t=>{t(qt.create({tracks:e}))})).then((e=>this._listPlayer.play(e,t)))}playList(e,t){return this._autoActivateElement&&this._listPlayer.activateElement(),this._listPlayer.play(e,t)}getState(){return this.getCurrentState()}getCurrentState(){return this._listPlayer.getState()}pause(){return this._listPlayer.pause()}resume(){return this._listPlayer.resume()}togglePlay(){return this._listPlayer.togglePlay()}stop(){return this._listPlayer.stop(Vt.END_PLAY)}seek(e){return this._listPlayer.seek(e)}nextTrack(){return this._listPlayer.next(Vt.FORWARD_BUTTON)}previousTrack(){return this._listPlayer.previous(Vt.BACK_BUTTON)}getVolume(){return this._listPlayer.getVolume()}setVolume(e){return this._listPlayer.setVolume(e)}setPlaybackSpeed(e){return this._listPlayer.setPlaybackSpeed(e)}setMuted(e){return this._listPlayer.setMuted(e)}activateElement(){return this._listPlayer.activateElement()}preloadTrack(e){return this._listPlayer.preloadTrack(e)}hideSubtitles(){return this._listPlayer.hideSubtitles()}showSubtitles(){return this._listPlayer.showSubtitles()}getSubtitleLanguages(){return this._listPlayer.getSubtitleLanguages()}setSubtitleLanguage(e){return this._listPlayer.setSubtitleLanguage(e)}areSubtitlesShown(){return this._listPlayer.areSubtitlesShown()}getActiveSubtitleLanguage(){return this._listPlayer.getActiveSubtitleLanguage()}getMediaConfig(){return this._listPlayer.getMediaConfig()}deactivateSubtitleEvents(){return this._listPlayer.deactivateCueEvents()}activateSubtitleEvents(){return this._listPlayer.activateCueEvents()}}const $t={tagged:"2.24.0-af512aa",version:"2.24.0",revision:"af512aa"},Zt=(Object.assign(Object.assign({},s.TransportErrors),h),Jt.create),Qt=qt.create;function en(e){var t,n,i,o,r,a,s;const{transport:c,autoActivateElement:l,config:u}=e,d=null==u?void 0:u.mux,p=Yt(Object.assign(Object.assign({},u),{loggerOptions:{platform:e.platform_identifier,disableMux:null===(n=null!==(t=null==d?void 0:d.disable)&&void 0!==t?t:null==u?void 0:u.disableMux)||void 0===n||n,muxEnvKey:null!==(i=null==d?void 0:d.envKey)&&void 0!==i?i:null==u?void 0:u.muxEnvKey,muxCustomDimensions:null==d?void 0:d.customDimensions,deviceInfo:null!==(o=null==d?void 0:d.deviceInfo)&&void 0!==o?o:null===(r=null==u?void 0:u.loggerOptions)||void 0===r?void 0:r.deviceInfo},sdkId:`overture:${$t.version}`,transport:c.toPublic(),audioProcessorOptions:{disable:null===(s=null===(a=null==u?void 0:u.audioProcessorOptions)||void 0===a?void 0:a.disable)||void 0===s||s}})).then((e=>e.player)),h=Wt.create({trackPlayer:p});return Xt.create({listPlayer:h,playerPromise:p,transport:c,autoActivateElement:l})}},39302:(e,t,n)=>{"use strict";n.d(t,{HK:()=>ue,Dr:()=>v,Qm:()=>ie,wK:()=>re,Op:()=>J,KT:()=>q,H1:()=>A,jB:()=>se,Gv:()=>O});var i=n(21364),o=n(24848),r=n.n(o);const a={encode:(e,t=r().Writer.create())=>(void 0!==e.identifier&&""!==e.identifier&&t.uint32(10).string(e.identifier),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={identifier:""};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.identifier=n.string();else n.skipType(7&e)}return o},fromJSON:e=>({identifier:d(e.identifier)?String(e.identifier):""}),toJSON(e){const t={};return void 0!==e.identifier&&(t.identifier=e.identifier),t},fromPartial(e){const t={identifier:""};return t.identifier=e.identifier??"",t}};function s(){return{identifier:"",revision:new Uint8Array}}const c={encode:(e,t=r().Writer.create())=>(void 0!==e.identifier&&""!==e.identifier&&t.uint32(10).string(e.identifier),void 0!==e.revision&&0!==e.revision.length&&t.uint32(18).bytes(e.revision),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=s();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.identifier=n.string();break;case 2:o.revision=n.bytes();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({identifier:d(e.identifier)?String(e.identifier):"",revision:d(e.revision)?u(e.revision):new Uint8Array}),toJSON(e){const t={};return void 0!==e.identifier&&(t.identifier=e.identifier),void 0!==e.revision&&(t.revision=function(e){if(l.Buffer)return l.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),l.btoa(t.join(""))}}(void 0!==e.revision?e.revision:new Uint8Array)),t},fromPartial(e){const t=s();return t.identifier=e.identifier??"",t.revision=e.revision??new Uint8Array,t}};var l=(()=>{if(void 0!==l)return l;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw"Unable to locate global object"})();function u(e){if(l.Buffer)return Uint8Array.from(l.Buffer.from(e,"base64"));{const t=l.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function d(e){return null!=e}let p=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.BLOCKED=1]="BLOCKED",e[e.VIEWER=2]="VIEWER",e[e.CONTRIBUTOR=3]="CONTRIBUTOR",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e}({});function h(e){switch(e){case 0:case"UNKNOWN":return p.UNKNOWN;case 1:case"BLOCKED":return p.BLOCKED;case 2:case"VIEWER":return p.VIEWER;case 3:case"CONTRIBUTOR":return p.CONTRIBUTOR;default:return p.UNRECOGNIZED}}function f(e){switch(e){case p.UNKNOWN:return 0;case p.BLOCKED:return 1;case p.VIEWER:return 2;case p.CONTRIBUTOR:return 3;case p.UNRECOGNIZED:default:return-1}}const m={encode(e,t=r().Writer.create()){if(!0===e.canView&&t.uint32(8).bool(e.canView),!0===e.canAdministratePermissions&&t.uint32(16).bool(e.canAdministratePermissions),void 0!==e.grantableLevel&&0!==e.grantableLevel.length){t.uint32(26).fork();for(const n of e.grantableLevel)t.int32(n);t.ldelim()}return!0===e.canEditMetadata&&t.uint32(32).bool(e.canEditMetadata),!0===e.canEditItems&&t.uint32(40).bool(e.canEditItems),!0===e.canCancelMembership&&t.uint32(48).bool(e.canCancelMembership),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={canView:!1,canAdministratePermissions:!1,grantableLevel:[],canEditMetadata:!1,canEditItems:!1,canCancelMembership:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.canView=n.bool();break;case 2:o.canAdministratePermissions=n.bool();break;case 3:if(2==(7&e)){const e=n.uint32()+n.pos;for(;n.pos<e;)o.grantableLevel.push(n.int32())}else o.grantableLevel.push(n.int32());break;case 4:o.canEditMetadata=n.bool();break;case 5:o.canEditItems=n.bool();break;case 6:o.canCancelMembership=n.bool();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({canView:!!g(e.canView)&&Boolean(e.canView),canAdministratePermissions:!!g(e.canAdministratePermissions)&&Boolean(e.canAdministratePermissions),grantableLevel:Array.isArray(e?.grantableLevel)?e.grantableLevel.map((e=>h(e))):[],canEditMetadata:!!g(e.canEditMetadata)&&Boolean(e.canEditMetadata),canEditItems:!!g(e.canEditItems)&&Boolean(e.canEditItems),canCancelMembership:!!g(e.canCancelMembership)&&Boolean(e.canCancelMembership)}),toJSON(e){const t={};return void 0!==e.canView&&(t.canView=e.canView),void 0!==e.canAdministratePermissions&&(t.canAdministratePermissions=e.canAdministratePermissions),e.grantableLevel?t.grantableLevel=e.grantableLevel.map((e=>f(e))):t.grantableLevel=[],void 0!==e.canEditMetadata&&(t.canEditMetadata=e.canEditMetadata),void 0!==e.canEditItems&&(t.canEditItems=e.canEditItems),void 0!==e.canCancelMembership&&(t.canCancelMembership=e.canCancelMembership),t},fromPartial(e){const t={canView:!1,canAdministratePermissions:!1,grantableLevel:[],canEditMetadata:!1,canEditItems:!1,canCancelMembership:!1};return t.canView=e.canView??!1,t.canAdministratePermissions=e.canAdministratePermissions??!1,t.grantableLevel=e.grantableLevel?.map((e=>e))||[],t.canEditMetadata=e.canEditMetadata??!1,t.canEditItems=e.canEditItems??!1,t.canCancelMembership=e.canCancelMembership??!1,t}};var _=(()=>{if(void 0!==_)return _;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw"Unable to locate global object"})();function g(e){return null!=e}r().util.Long!==i.A&&(r().util.Long=i.A,r().configure());var E=n(20633);let v=function(e){return e[e.LIST_UNKNOWN=0]="LIST_UNKNOWN",e[e.LIST_NAME=1]="LIST_NAME",e[e.LIST_DESCRIPTION=2]="LIST_DESCRIPTION",e[e.LIST_PICTURE=3]="LIST_PICTURE",e[e.LIST_COLLABORATIVE=4]="LIST_COLLABORATIVE",e[e.LIST_PL3_VERSION=5]="LIST_PL3_VERSION",e[e.LIST_DELETED_BY_OWNER=6]="LIST_DELETED_BY_OWNER",e[e.LIST_CLIENT_ID=10]="LIST_CLIENT_ID",e[e.LIST_FORMAT=11]="LIST_FORMAT",e[e.LIST_FORMAT_ATTRIBUTES=12]="LIST_FORMAT_ATTRIBUTES",e[e.LIST_PICTURE_SIZE=13]="LIST_PICTURE_SIZE",e[e.LIST_SEQUENCE_CONTEXT_TEMPLATE=14]="LIST_SEQUENCE_CONTEXT_TEMPLATE",e[e.LIST_AI_CURATION_REFERENCE_ID=15]="LIST_AI_CURATION_REFERENCE_ID",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e}({});let y=function(e){return e[e.ITEM_UNKNOWN=0]="ITEM_UNKNOWN",e[e.ITEM_ADDED_BY=1]="ITEM_ADDED_BY",e[e.ITEM_TIMESTAMP=2]="ITEM_TIMESTAMP",e[e.ITEM_SEEN_AT=9]="ITEM_SEEN_AT",e[e.ITEM_PUBLIC=10]="ITEM_PUBLIC",e[e.ITEM_FORMAT_ATTRIBUTES=11]="ITEM_FORMAT_ATTRIBUTES",e[e.ITEM_ID=12]="ITEM_ID",e[e.ITEM_SOURCE_LENS=13]="ITEM_SOURCE_LENS",e[e.ITEM_AVAILABLE_SIGNALS=14]="ITEM_AVAILABLE_SIGNALS",e[e.ITEM_RECOMMENDATION_INFO=15]="ITEM_RECOMMENDATION_INFO",e[e.ITEM_SEQUENCE_CHILD_TEMPLATE=16]="ITEM_SEQUENCE_CHILD_TEMPLATE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e}({});let b=function(e){return e[e.GEOBLOCK_BLOCKING_TYPE_UNSPECIFIED=0]="GEOBLOCK_BLOCKING_TYPE_UNSPECIFIED",e[e.GEOBLOCK_BLOCKING_TYPE_TITLE=1]="GEOBLOCK_BLOCKING_TYPE_TITLE",e[e.GEOBLOCK_BLOCKING_TYPE_DESCRIPTION=2]="GEOBLOCK_BLOCKING_TYPE_DESCRIPTION",e[e.GEOBLOCK_BLOCKING_TYPE_IMAGE=3]="GEOBLOCK_BLOCKING_TYPE_IMAGE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e}({});function S(e){switch(e){case 0:case"GEOBLOCK_BLOCKING_TYPE_UNSPECIFIED":return b.GEOBLOCK_BLOCKING_TYPE_UNSPECIFIED;case 1:case"GEOBLOCK_BLOCKING_TYPE_TITLE":return b.GEOBLOCK_BLOCKING_TYPE_TITLE;case 2:case"GEOBLOCK_BLOCKING_TYPE_DESCRIPTION":return b.GEOBLOCK_BLOCKING_TYPE_DESCRIPTION;case 3:case"GEOBLOCK_BLOCKING_TYPE_IMAGE":return b.GEOBLOCK_BLOCKING_TYPE_IMAGE;default:return b.UNRECOGNIZED}}function T(e){switch(e){case b.GEOBLOCK_BLOCKING_TYPE_UNSPECIFIED:return 0;case b.GEOBLOCK_BLOCKING_TYPE_TITLE:return 1;case b.GEOBLOCK_BLOCKING_TYPE_DESCRIPTION:return 2;case b.GEOBLOCK_BLOCKING_TYPE_IMAGE:return 3;case b.UNRECOGNIZED:default:return-1}}let A=function(e){return e[e.KIND_UNKNOWN=0]="KIND_UNKNOWN",e[e.ADD=2]="ADD",e[e.REM=3]="REM",e[e.MOV=4]="MOV",e[e.UPDATE_ITEM_ATTRIBUTES=5]="UPDATE_ITEM_ATTRIBUTES",e[e.UPDATE_LIST_ATTRIBUTES=6]="UPDATE_LIST_ATTRIBUTES",e[e.UPDATE_ITEM_URIS=7]="UPDATE_ITEM_URIS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e}({});function I(e){switch(e){case 0:case"KIND_UNKNOWN":return A.KIND_UNKNOWN;case 2:case"ADD":return A.ADD;case 3:case"REM":return A.REM;case 4:case"MOV":return A.MOV;case 5:case"UPDATE_ITEM_ATTRIBUTES":return A.UPDATE_ITEM_ATTRIBUTES;case 6:case"UPDATE_LIST_ATTRIBUTES":return A.UPDATE_LIST_ATTRIBUTES;case 7:case"UPDATE_ITEM_URIS":return A.UPDATE_ITEM_URIS;default:return A.UNRECOGNIZED}}let O=function(e){return e[e.CLIENT_UNKNOWN=0]="CLIENT_UNKNOWN",e[e.NATIVE_HERMES=1]="NATIVE_HERMES",e[e.CLIENT=2]="CLIENT",e[e.PYTHON=3]="PYTHON",e[e.JAVA=4]="JAVA",e[e.WEBPLAYER=5]="WEBPLAYER",e[e.LIBSPOTIFY=6]="LIBSPOTIFY",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e}({});function C(e){switch(e){case 0:case"CLIENT_UNKNOWN":return O.CLIENT_UNKNOWN;case 1:case"NATIVE_HERMES":return O.NATIVE_HERMES;case 2:case"CLIENT":return O.CLIENT;case 3:case"PYTHON":return O.PYTHON;case 4:case"JAVA":return O.JAVA;case 5:case"WEBPLAYER":return O.WEBPLAYER;case 6:case"LIBSPOTIFY":return O.LIBSPOTIFY;default:return O.UNRECOGNIZED}}const R={encode:(e,t=r().Writer.create())=>(void 0!==e.uri&&""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.attributes&&V.encode(e.attributes,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={uri:"",attributes:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.uri=n.string();break;case 2:o.attributes=V.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({uri:me(e.uri)?String(e.uri):"",attributes:me(e.attributes)?V.fromJSON(e.attributes):void 0}),toJSON(e){const t={};return void 0!==e.uri&&(t.uri=e.uri),void 0!==e.attributes&&(t.attributes=e.attributes?V.toJSON(e.attributes):void 0),t},fromPartial(e){const t={uri:"",attributes:void 0};return t.uri=e.uri??"",t.attributes=void 0!==e.attributes&&null!==e.attributes?V.fromPartial(e.attributes):void 0,t}};function N(){return{revision:new Uint8Array,attributes:void 0,length:0,timestamp:"0",ownerUsername:"",abuseReportingEnabled:!1,capabilities:void 0,geoblock:[]}}const P={encode(e,t=r().Writer.create()){if(void 0!==e.revision&&0!==e.revision.length&&t.uint32(10).bytes(e.revision),void 0!==e.attributes&&x.encode(e.attributes,t.uint32(18).fork()).ldelim(),void 0!==e.length&&0!==e.length&&t.uint32(24).int32(e.length),void 0!==e.timestamp&&"0"!==e.timestamp&&t.uint32(32).int64(e.timestamp),void 0!==e.ownerUsername&&""!==e.ownerUsername&&t.uint32(42).string(e.ownerUsername),!0===e.abuseReportingEnabled&&t.uint32(48).bool(e.abuseReportingEnabled),void 0!==e.capabilities&&m.encode(e.capabilities,t.uint32(58).fork()).ldelim(),void 0!==e.geoblock&&0!==e.geoblock.length){t.uint32(66).fork();for(const n of e.geoblock)t.int32(n);t.ldelim()}return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=N();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.revision=n.bytes();break;case 2:o.attributes=x.decode(n,n.uint32());break;case 3:o.length=n.int32();break;case 4:o.timestamp=fe(n.int64());break;case 5:o.ownerUsername=n.string();break;case 6:o.abuseReportingEnabled=n.bool();break;case 7:o.capabilities=m.decode(n,n.uint32());break;case 8:if(2==(7&e)){const e=n.uint32()+n.pos;for(;n.pos<e;)o.geoblock.push(n.int32())}else o.geoblock.push(n.int32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({revision:me(e.revision)?pe(e.revision):new Uint8Array,attributes:me(e.attributes)?x.fromJSON(e.attributes):void 0,length:me(e.length)?Number(e.length):0,timestamp:me(e.timestamp)?String(e.timestamp):"0",ownerUsername:me(e.ownerUsername)?String(e.ownerUsername):"",abuseReportingEnabled:!!me(e.abuseReportingEnabled)&&Boolean(e.abuseReportingEnabled),capabilities:me(e.capabilities)?m.fromJSON(e.capabilities):void 0,geoblock:Array.isArray(e?.geoblock)?e.geoblock.map((e=>S(e))):[]}),toJSON(e){const t={};return void 0!==e.revision&&(t.revision=he(void 0!==e.revision?e.revision:new Uint8Array)),void 0!==e.attributes&&(t.attributes=e.attributes?x.toJSON(e.attributes):void 0),void 0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.ownerUsername&&(t.ownerUsername=e.ownerUsername),void 0!==e.abuseReportingEnabled&&(t.abuseReportingEnabled=e.abuseReportingEnabled),void 0!==e.capabilities&&(t.capabilities=e.capabilities?m.toJSON(e.capabilities):void 0),e.geoblock?t.geoblock=e.geoblock.map((e=>T(e))):t.geoblock=[],t},fromPartial(e){const t=N();return t.revision=e.revision??new Uint8Array,t.attributes=void 0!==e.attributes&&null!==e.attributes?x.fromPartial(e.attributes):void 0,t.length=e.length??0,t.timestamp=e.timestamp??"0",t.ownerUsername=e.ownerUsername??"",t.abuseReportingEnabled=e.abuseReportingEnabled??!1,t.capabilities=void 0!==e.capabilities&&null!==e.capabilities?m.fromPartial(e.capabilities):void 0,t.geoblock=e.geoblock?.map((e=>e))||[],t}};const L={encode(e,t=r().Writer.create()){if(void 0!==e.pos&&0!==e.pos&&t.uint32(8).int32(e.pos),!0===e.truncated&&t.uint32(16).bool(e.truncated),void 0!==e.items&&0!==e.items.length)for(const n of e.items)R.encode(n,t.uint32(26).fork()).ldelim();if(void 0!==e.metaItems&&0!==e.metaItems.length)for(const n of e.metaItems)P.encode(n,t.uint32(34).fork()).ldelim();if(void 0!==e.availableSignals&&0!==e.availableSignals.length)for(const n of e.availableSignals)E.HN.encode(n,t.uint32(42).fork()).ldelim();return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={pos:0,truncated:!1,items:[],metaItems:[],availableSignals:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.pos=n.int32();break;case 2:o.truncated=n.bool();break;case 3:o.items.push(R.decode(n,n.uint32()));break;case 4:o.metaItems.push(P.decode(n,n.uint32()));break;case 5:o.availableSignals.push(E.HN.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return o},fromJSON:e=>({pos:me(e.pos)?Number(e.pos):0,truncated:!!me(e.truncated)&&Boolean(e.truncated),items:Array.isArray(e?.items)?e.items.map((e=>R.fromJSON(e))):[],metaItems:Array.isArray(e?.metaItems)?e.metaItems.map((e=>P.fromJSON(e))):[],availableSignals:Array.isArray(e?.availableSignals)?e.availableSignals.map((e=>E.HN.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.pos&&(t.pos=Math.round(e.pos)),void 0!==e.truncated&&(t.truncated=e.truncated),e.items?t.items=e.items.map((e=>e?R.toJSON(e):void 0)):t.items=[],e.metaItems?t.metaItems=e.metaItems.map((e=>e?P.toJSON(e):void 0)):t.metaItems=[],e.availableSignals?t.availableSignals=e.availableSignals.map((e=>e?E.HN.toJSON(e):void 0)):t.availableSignals=[],t},fromPartial(e){const t={pos:0,truncated:!1,items:[],metaItems:[],availableSignals:[]};return t.pos=e.pos??0,t.truncated=e.truncated??!1,t.items=e.items?.map((e=>R.fromPartial(e)))||[],t.metaItems=e.metaItems?.map((e=>P.fromPartial(e)))||[],t.availableSignals=e.availableSignals?.map((e=>E.HN.fromPartial(e)))||[],t}};const k={encode:(e,t=r().Writer.create())=>(void 0!==e.key&&""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.key=n.string();break;case 2:o.value=n.string();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({key:me(e.key)?String(e.key):"",value:me(e.value)?String(e.value):""}),toJSON(e){const t={};return void 0!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=e.value),t},fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const w={encode:(e,t=r().Writer.create())=>(void 0!==e.targetName&&""!==e.targetName&&t.uint32(10).string(e.targetName),void 0!==e.url&&""!==e.url&&t.uint32(18).string(e.url),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={targetName:"",url:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.targetName=n.string();break;case 2:o.url=n.string();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({targetName:me(e.targetName)?String(e.targetName):"",url:me(e.url)?String(e.url):""}),toJSON(e){const t={};return void 0!==e.targetName&&(t.targetName=e.targetName),void 0!==e.url&&(t.url=e.url),t},fromPartial(e){const t={targetName:"",url:""};return t.targetName=e.targetName??"",t.url=e.url??"",t}};const D={encode:(e,t=r().Writer.create())=>(!0===e.isRecommendation&&t.uint32(8).bool(e.isRecommendation),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={isRecommendation:!1};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.isRecommendation=n.bool();else n.skipType(7&e)}return o},fromJSON:e=>({isRecommendation:!!me(e.isRecommendation)&&Boolean(e.isRecommendation)}),toJSON(e){const t={};return void 0!==e.isRecommendation&&(t.isRecommendation=e.isRecommendation),t},fromPartial(e){const t={isRecommendation:!1};return t.isRecommendation=e.isRecommendation??!1,t}};function M(){return{name:"",description:"",picture:new Uint8Array,collaborative:!1,pl3Version:"",deletedByOwner:!1,clientId:"",format:"",formatAttributes:[],pictureSize:[],sequenceContextTemplate:new Uint8Array,aiCurationReferenceId:new Uint8Array}}const x={encode(e,t=r().Writer.create()){if(void 0!==e.name&&""!==e.name&&t.uint32(10).string(e.name),void 0!==e.description&&""!==e.description&&t.uint32(18).string(e.description),void 0!==e.picture&&0!==e.picture.length&&t.uint32(26).bytes(e.picture),!0===e.collaborative&&t.uint32(32).bool(e.collaborative),void 0!==e.pl3Version&&""!==e.pl3Version&&t.uint32(42).string(e.pl3Version),!0===e.deletedByOwner&&t.uint32(48).bool(e.deletedByOwner),void 0!==e.clientId&&""!==e.clientId&&t.uint32(82).string(e.clientId),void 0!==e.format&&""!==e.format&&t.uint32(90).string(e.format),void 0!==e.formatAttributes&&0!==e.formatAttributes.length)for(const n of e.formatAttributes)k.encode(n,t.uint32(98).fork()).ldelim();if(void 0!==e.pictureSize&&0!==e.pictureSize.length)for(const n of e.pictureSize)w.encode(n,t.uint32(106).fork()).ldelim();return void 0!==e.sequenceContextTemplate&&0!==e.sequenceContextTemplate.length&&t.uint32(114).bytes(e.sequenceContextTemplate),void 0!==e.aiCurationReferenceId&&0!==e.aiCurationReferenceId.length&&t.uint32(122).bytes(e.aiCurationReferenceId),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=M();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.name=n.string();break;case 2:o.description=n.string();break;case 3:o.picture=n.bytes();break;case 4:o.collaborative=n.bool();break;case 5:o.pl3Version=n.string();break;case 6:o.deletedByOwner=n.bool();break;case 10:o.clientId=n.string();break;case 11:o.format=n.string();break;case 12:o.formatAttributes.push(k.decode(n,n.uint32()));break;case 13:o.pictureSize.push(w.decode(n,n.uint32()));break;case 14:o.sequenceContextTemplate=n.bytes();break;case 15:o.aiCurationReferenceId=n.bytes();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({name:me(e.name)?String(e.name):"",description:me(e.description)?String(e.description):"",picture:me(e.picture)?pe(e.picture):new Uint8Array,collaborative:!!me(e.collaborative)&&Boolean(e.collaborative),pl3Version:me(e.pl3Version)?String(e.pl3Version):"",deletedByOwner:!!me(e.deletedByOwner)&&Boolean(e.deletedByOwner),clientId:me(e.clientId)?String(e.clientId):"",format:me(e.format)?String(e.format):"",formatAttributes:Array.isArray(e?.formatAttributes)?e.formatAttributes.map((e=>k.fromJSON(e))):[],pictureSize:Array.isArray(e?.pictureSize)?e.pictureSize.map((e=>w.fromJSON(e))):[],sequenceContextTemplate:me(e.sequenceContextTemplate)?pe(e.sequenceContextTemplate):new Uint8Array,aiCurationReferenceId:me(e.aiCurationReferenceId)?pe(e.aiCurationReferenceId):new Uint8Array}),toJSON(e){const t={};return void 0!==e.name&&(t.name=e.name),void 0!==e.description&&(t.description=e.description),void 0!==e.picture&&(t.picture=he(void 0!==e.picture?e.picture:new Uint8Array)),void 0!==e.collaborative&&(t.collaborative=e.collaborative),void 0!==e.pl3Version&&(t.pl3Version=e.pl3Version),void 0!==e.deletedByOwner&&(t.deletedByOwner=e.deletedByOwner),void 0!==e.clientId&&(t.clientId=e.clientId),void 0!==e.format&&(t.format=e.format),e.formatAttributes?t.formatAttributes=e.formatAttributes.map((e=>e?k.toJSON(e):void 0)):t.formatAttributes=[],e.pictureSize?t.pictureSize=e.pictureSize.map((e=>e?w.toJSON(e):void 0)):t.pictureSize=[],void 0!==e.sequenceContextTemplate&&(t.sequenceContextTemplate=he(void 0!==e.sequenceContextTemplate?e.sequenceContextTemplate:new Uint8Array)),void 0!==e.aiCurationReferenceId&&(t.aiCurationReferenceId=he(void 0!==e.aiCurationReferenceId?e.aiCurationReferenceId:new Uint8Array)),t},fromPartial(e){const t=M();return t.name=e.name??"",t.description=e.description??"",t.picture=e.picture??new Uint8Array,t.collaborative=e.collaborative??!1,t.pl3Version=e.pl3Version??"",t.deletedByOwner=e.deletedByOwner??!1,t.clientId=e.clientId??"",t.format=e.format??"",t.formatAttributes=e.formatAttributes?.map((e=>k.fromPartial(e)))||[],t.pictureSize=e.pictureSize?.map((e=>w.fromPartial(e)))||[],t.sequenceContextTemplate=e.sequenceContextTemplate??new Uint8Array,t.aiCurationReferenceId=e.aiCurationReferenceId??new Uint8Array,t}};function U(){return{addedBy:"",timestamp:"0",seenAt:"0",public:!1,formatAttributes:[],itemId:new Uint8Array,sourceLens:void 0,availableSignals:[],recommendationInfo:void 0,sequenceChildTemplate:new Uint8Array}}const V={encode(e,t=r().Writer.create()){if(void 0!==e.addedBy&&""!==e.addedBy&&t.uint32(10).string(e.addedBy),void 0!==e.timestamp&&"0"!==e.timestamp&&t.uint32(16).int64(e.timestamp),void 0!==e.seenAt&&"0"!==e.seenAt&&t.uint32(72).int64(e.seenAt),!0===e.public&&t.uint32(80).bool(e.public),void 0!==e.formatAttributes&&0!==e.formatAttributes.length)for(const n of e.formatAttributes)k.encode(n,t.uint32(90).fork()).ldelim();if(void 0!==e.itemId&&0!==e.itemId.length&&t.uint32(98).bytes(e.itemId),void 0!==e.sourceLens&&a.encode(e.sourceLens,t.uint32(106).fork()).ldelim(),void 0!==e.availableSignals&&0!==e.availableSignals.length)for(const n of e.availableSignals)E.HN.encode(n,t.uint32(114).fork()).ldelim();return void 0!==e.recommendationInfo&&D.encode(e.recommendationInfo,t.uint32(122).fork()).ldelim(),void 0!==e.sequenceChildTemplate&&0!==e.sequenceChildTemplate.length&&t.uint32(130).bytes(e.sequenceChildTemplate),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=U();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.addedBy=n.string();break;case 2:o.timestamp=fe(n.int64());break;case 9:o.seenAt=fe(n.int64());break;case 10:o.public=n.bool();break;case 11:o.formatAttributes.push(k.decode(n,n.uint32()));break;case 12:o.itemId=n.bytes();break;case 13:o.sourceLens=a.decode(n,n.uint32());break;case 14:o.availableSignals.push(E.HN.decode(n,n.uint32()));break;case 15:o.recommendationInfo=D.decode(n,n.uint32());break;case 16:o.sequenceChildTemplate=n.bytes();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({addedBy:me(e.addedBy)?String(e.addedBy):"",timestamp:me(e.timestamp)?String(e.timestamp):"0",seenAt:me(e.seenAt)?String(e.seenAt):"0",public:!!me(e.public)&&Boolean(e.public),formatAttributes:Array.isArray(e?.formatAttributes)?e.formatAttributes.map((e=>k.fromJSON(e))):[],itemId:me(e.itemId)?pe(e.itemId):new Uint8Array,sourceLens:me(e.sourceLens)?a.fromJSON(e.sourceLens):void 0,availableSignals:Array.isArray(e?.availableSignals)?e.availableSignals.map((e=>E.HN.fromJSON(e))):[],recommendationInfo:me(e.recommendationInfo)?D.fromJSON(e.recommendationInfo):void 0,sequenceChildTemplate:me(e.sequenceChildTemplate)?pe(e.sequenceChildTemplate):new Uint8Array}),toJSON(e){const t={};return void 0!==e.addedBy&&(t.addedBy=e.addedBy),void 0!==e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.seenAt&&(t.seenAt=e.seenAt),void 0!==e.public&&(t.public=e.public),e.formatAttributes?t.formatAttributes=e.formatAttributes.map((e=>e?k.toJSON(e):void 0)):t.formatAttributes=[],void 0!==e.itemId&&(t.itemId=he(void 0!==e.itemId?e.itemId:new Uint8Array)),void 0!==e.sourceLens&&(t.sourceLens=e.sourceLens?a.toJSON(e.sourceLens):void 0),e.availableSignals?t.availableSignals=e.availableSignals.map((e=>e?E.HN.toJSON(e):void 0)):t.availableSignals=[],void 0!==e.recommendationInfo&&(t.recommendationInfo=e.recommendationInfo?D.toJSON(e.recommendationInfo):void 0),void 0!==e.sequenceChildTemplate&&(t.sequenceChildTemplate=he(void 0!==e.sequenceChildTemplate?e.sequenceChildTemplate:new Uint8Array)),t},fromPartial(e){const t=U();return t.addedBy=e.addedBy??"",t.timestamp=e.timestamp??"0",t.seenAt=e.seenAt??"0",t.public=e.public??!1,t.formatAttributes=e.formatAttributes?.map((e=>k.fromPartial(e)))||[],t.itemId=e.itemId??new Uint8Array,t.sourceLens=void 0!==e.sourceLens&&null!==e.sourceLens?a.fromPartial(e.sourceLens):void 0,t.availableSignals=e.availableSignals?.map((e=>E.HN.fromPartial(e)))||[],t.recommendationInfo=void 0!==e.recommendationInfo&&null!==e.recommendationInfo?D.fromPartial(e.recommendationInfo):void 0,t.sequenceChildTemplate=e.sequenceChildTemplate??new Uint8Array,t}};const F={encode(e,t=r().Writer.create()){if(void 0!==e.fromIndex&&0!==e.fromIndex&&t.uint32(8).int32(e.fromIndex),void 0!==e.items&&0!==e.items.length)for(const n of e.items)R.encode(n,t.uint32(18).fork()).ldelim();return!0===e.addLast&&t.uint32(32).bool(e.addLast),!0===e.addFirst&&t.uint32(40).bool(e.addFirst),void 0!==e.addBeforeItem&&R.encode(e.addBeforeItem,t.uint32(50).fork()).ldelim(),void 0!==e.addAfterItem&&R.encode(e.addAfterItem,t.uint32(58).fork()).ldelim(),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={fromIndex:0,items:[],addLast:!1,addFirst:!1,addBeforeItem:void 0,addAfterItem:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.fromIndex=n.int32();break;case 2:o.items.push(R.decode(n,n.uint32()));break;case 4:o.addLast=n.bool();break;case 5:o.addFirst=n.bool();break;case 6:o.addBeforeItem=R.decode(n,n.uint32());break;case 7:o.addAfterItem=R.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({fromIndex:me(e.fromIndex)?Number(e.fromIndex):0,items:Array.isArray(e?.items)?e.items.map((e=>R.fromJSON(e))):[],addLast:!!me(e.addLast)&&Boolean(e.addLast),addFirst:!!me(e.addFirst)&&Boolean(e.addFirst),addBeforeItem:me(e.addBeforeItem)?R.fromJSON(e.addBeforeItem):void 0,addAfterItem:me(e.addAfterItem)?R.fromJSON(e.addAfterItem):void 0}),toJSON(e){const t={};return void 0!==e.fromIndex&&(t.fromIndex=Math.round(e.fromIndex)),e.items?t.items=e.items.map((e=>e?R.toJSON(e):void 0)):t.items=[],void 0!==e.addLast&&(t.addLast=e.addLast),void 0!==e.addFirst&&(t.addFirst=e.addFirst),void 0!==e.addBeforeItem&&(t.addBeforeItem=e.addBeforeItem?R.toJSON(e.addBeforeItem):void 0),void 0!==e.addAfterItem&&(t.addAfterItem=e.addAfterItem?R.toJSON(e.addAfterItem):void 0),t},fromPartial(e){const t={fromIndex:0,items:[],addLast:!1,addFirst:!1,addBeforeItem:void 0,addAfterItem:void 0};return t.fromIndex=e.fromIndex??0,t.items=e.items?.map((e=>R.fromPartial(e)))||[],t.addLast=e.addLast??!1,t.addFirst=e.addFirst??!1,t.addBeforeItem=void 0!==e.addBeforeItem&&null!==e.addBeforeItem?R.fromPartial(e.addBeforeItem):void 0,t.addAfterItem=void 0!==e.addAfterItem&&null!==e.addAfterItem?R.fromPartial(e.addAfterItem):void 0,t}};const B={encode(e,t=r().Writer.create()){if(void 0!==e.fromIndex&&0!==e.fromIndex&&t.uint32(8).int32(e.fromIndex),void 0!==e.length&&0!==e.length&&t.uint32(16).int32(e.length),void 0!==e.items&&0!==e.items.length)for(const n of e.items)R.encode(n,t.uint32(26).fork()).ldelim();return!0===e.itemsAsKey&&t.uint32(56).bool(e.itemsAsKey),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={fromIndex:0,length:0,items:[],itemsAsKey:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.fromIndex=n.int32();break;case 2:o.length=n.int32();break;case 3:o.items.push(R.decode(n,n.uint32()));break;case 7:o.itemsAsKey=n.bool();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({fromIndex:me(e.fromIndex)?Number(e.fromIndex):0,length:me(e.length)?Number(e.length):0,items:Array.isArray(e?.items)?e.items.map((e=>R.fromJSON(e))):[],itemsAsKey:!!me(e.itemsAsKey)&&Boolean(e.itemsAsKey)}),toJSON(e){const t={};return void 0!==e.fromIndex&&(t.fromIndex=Math.round(e.fromIndex)),void 0!==e.length&&(t.length=Math.round(e.length)),e.items?t.items=e.items.map((e=>e?R.toJSON(e):void 0)):t.items=[],void 0!==e.itemsAsKey&&(t.itemsAsKey=e.itemsAsKey),t},fromPartial(e){const t={fromIndex:0,length:0,items:[],itemsAsKey:!1};return t.fromIndex=e.fromIndex??0,t.length=e.length??0,t.items=e.items?.map((e=>R.fromPartial(e)))||[],t.itemsAsKey=e.itemsAsKey??!1,t}};const H={encode(e,t=r().Writer.create()){if(void 0!==e.fromIndex&&0!==e.fromIndex&&t.uint32(8).int32(e.fromIndex),void 0!==e.length&&0!==e.length&&t.uint32(16).int32(e.length),void 0!==e.toIndex&&0!==e.toIndex&&t.uint32(24).int32(e.toIndex),void 0!==e.items&&0!==e.items.length)for(const n of e.items)R.encode(n,t.uint32(34).fork()).ldelim();return void 0!==e.addBeforeItem&&R.encode(e.addBeforeItem,t.uint32(42).fork()).ldelim(),void 0!==e.addAfterItem&&R.encode(e.addAfterItem,t.uint32(50).fork()).ldelim(),!0===e.addFirst&&t.uint32(56).bool(e.addFirst),!0===e.addLast&&t.uint32(64).bool(e.addLast),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={fromIndex:0,length:0,toIndex:0,items:[],addBeforeItem:void 0,addAfterItem:void 0,addFirst:!1,addLast:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.fromIndex=n.int32();break;case 2:o.length=n.int32();break;case 3:o.toIndex=n.int32();break;case 4:o.items.push(R.decode(n,n.uint32()));break;case 5:o.addBeforeItem=R.decode(n,n.uint32());break;case 6:o.addAfterItem=R.decode(n,n.uint32());break;case 7:o.addFirst=n.bool();break;case 8:o.addLast=n.bool();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({fromIndex:me(e.fromIndex)?Number(e.fromIndex):0,length:me(e.length)?Number(e.length):0,toIndex:me(e.toIndex)?Number(e.toIndex):0,items:Array.isArray(e?.items)?e.items.map((e=>R.fromJSON(e))):[],addBeforeItem:me(e.addBeforeItem)?R.fromJSON(e.addBeforeItem):void 0,addAfterItem:me(e.addAfterItem)?R.fromJSON(e.addAfterItem):void 0,addFirst:!!me(e.addFirst)&&Boolean(e.addFirst),addLast:!!me(e.addLast)&&Boolean(e.addLast)}),toJSON(e){const t={};return void 0!==e.fromIndex&&(t.fromIndex=Math.round(e.fromIndex)),void 0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.toIndex&&(t.toIndex=Math.round(e.toIndex)),e.items?t.items=e.items.map((e=>e?R.toJSON(e):void 0)):t.items=[],void 0!==e.addBeforeItem&&(t.addBeforeItem=e.addBeforeItem?R.toJSON(e.addBeforeItem):void 0),void 0!==e.addAfterItem&&(t.addAfterItem=e.addAfterItem?R.toJSON(e.addAfterItem):void 0),void 0!==e.addFirst&&(t.addFirst=e.addFirst),void 0!==e.addLast&&(t.addLast=e.addLast),t},fromPartial(e){const t={fromIndex:0,length:0,toIndex:0,items:[],addBeforeItem:void 0,addAfterItem:void 0,addFirst:!1,addLast:!1};return t.fromIndex=e.fromIndex??0,t.length=e.length??0,t.toIndex=e.toIndex??0,t.items=e.items?.map((e=>R.fromPartial(e)))||[],t.addBeforeItem=void 0!==e.addBeforeItem&&null!==e.addBeforeItem?R.fromPartial(e.addBeforeItem):void 0,t.addAfterItem=void 0!==e.addAfterItem&&null!==e.addAfterItem?R.fromPartial(e.addAfterItem):void 0,t.addFirst=e.addFirst??!1,t.addLast=e.addLast??!1,t}};const G={encode(e,t=r().Writer.create()){if(void 0!==e.values&&V.encode(e.values,t.uint32(10).fork()).ldelim(),void 0!==e.noValue&&0!==e.noValue.length){t.uint32(18).fork();for(const n of e.noValue)t.int32(n);t.ldelim()}return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={values:void 0,noValue:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.values=V.decode(n,n.uint32());break;case 2:if(2==(7&e)){const e=n.uint32()+n.pos;for(;n.pos<e;)o.noValue.push(n.int32())}else o.noValue.push(n.int32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({values:me(e.values)?V.fromJSON(e.values):void 0,noValue:Array.isArray(e?.noValue)?e.noValue.map((e=>function(e){switch(e){case 0:case"ITEM_UNKNOWN":return y.ITEM_UNKNOWN;case 1:case"ITEM_ADDED_BY":return y.ITEM_ADDED_BY;case 2:case"ITEM_TIMESTAMP":return y.ITEM_TIMESTAMP;case 9:case"ITEM_SEEN_AT":return y.ITEM_SEEN_AT;case 10:case"ITEM_PUBLIC":return y.ITEM_PUBLIC;case 11:case"ITEM_FORMAT_ATTRIBUTES":return y.ITEM_FORMAT_ATTRIBUTES;case 12:case"ITEM_ID":return y.ITEM_ID;case 13:case"ITEM_SOURCE_LENS":return y.ITEM_SOURCE_LENS;case 14:case"ITEM_AVAILABLE_SIGNALS":return y.ITEM_AVAILABLE_SIGNALS;case 15:case"ITEM_RECOMMENDATION_INFO":return y.ITEM_RECOMMENDATION_INFO;case 16:case"ITEM_SEQUENCE_CHILD_TEMPLATE":return y.ITEM_SEQUENCE_CHILD_TEMPLATE;default:return y.UNRECOGNIZED}}(e))):[]}),toJSON(e){const t={};return void 0!==e.values&&(t.values=e.values?V.toJSON(e.values):void 0),e.noValue?t.noValue=e.noValue.map((e=>function(e){switch(e){case y.ITEM_UNKNOWN:return 0;case y.ITEM_ADDED_BY:return 1;case y.ITEM_TIMESTAMP:return 2;case y.ITEM_SEEN_AT:return 9;case y.ITEM_PUBLIC:return 10;case y.ITEM_FORMAT_ATTRIBUTES:return 11;case y.ITEM_ID:return 12;case y.ITEM_SOURCE_LENS:return 13;case y.ITEM_AVAILABLE_SIGNALS:return 14;case y.ITEM_RECOMMENDATION_INFO:return 15;case y.ITEM_SEQUENCE_CHILD_TEMPLATE:return 16;case y.UNRECOGNIZED:default:return-1}}(e))):t.noValue=[],t},fromPartial(e){const t={values:void 0,noValue:[]};return t.values=void 0!==e.values&&null!==e.values?V.fromPartial(e.values):void 0,t.noValue=e.noValue?.map((e=>e))||[],t}};const W={encode(e,t=r().Writer.create()){if(void 0!==e.values&&x.encode(e.values,t.uint32(10).fork()).ldelim(),void 0!==e.noValue&&0!==e.noValue.length){t.uint32(18).fork();for(const n of e.noValue)t.int32(n);t.ldelim()}return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={values:void 0,noValue:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.values=x.decode(n,n.uint32());break;case 2:if(2==(7&e)){const e=n.uint32()+n.pos;for(;n.pos<e;)o.noValue.push(n.int32())}else o.noValue.push(n.int32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({values:me(e.values)?x.fromJSON(e.values):void 0,noValue:Array.isArray(e?.noValue)?e.noValue.map((e=>function(e){switch(e){case 0:case"LIST_UNKNOWN":return v.LIST_UNKNOWN;case 1:case"LIST_NAME":return v.LIST_NAME;case 2:case"LIST_DESCRIPTION":return v.LIST_DESCRIPTION;case 3:case"LIST_PICTURE":return v.LIST_PICTURE;case 4:case"LIST_COLLABORATIVE":return v.LIST_COLLABORATIVE;case 5:case"LIST_PL3_VERSION":return v.LIST_PL3_VERSION;case 6:case"LIST_DELETED_BY_OWNER":return v.LIST_DELETED_BY_OWNER;case 10:case"LIST_CLIENT_ID":return v.LIST_CLIENT_ID;case 11:case"LIST_FORMAT":return v.LIST_FORMAT;case 12:case"LIST_FORMAT_ATTRIBUTES":return v.LIST_FORMAT_ATTRIBUTES;case 13:case"LIST_PICTURE_SIZE":return v.LIST_PICTURE_SIZE;case 14:case"LIST_SEQUENCE_CONTEXT_TEMPLATE":return v.LIST_SEQUENCE_CONTEXT_TEMPLATE;case 15:case"LIST_AI_CURATION_REFERENCE_ID":return v.LIST_AI_CURATION_REFERENCE_ID;default:return v.UNRECOGNIZED}}(e))):[]}),toJSON(e){const t={};return void 0!==e.values&&(t.values=e.values?x.toJSON(e.values):void 0),e.noValue?t.noValue=e.noValue.map((e=>function(e){switch(e){case v.LIST_UNKNOWN:return 0;case v.LIST_NAME:return 1;case v.LIST_DESCRIPTION:return 2;case v.LIST_PICTURE:return 3;case v.LIST_COLLABORATIVE:return 4;case v.LIST_PL3_VERSION:return 5;case v.LIST_DELETED_BY_OWNER:return 6;case v.LIST_CLIENT_ID:return 10;case v.LIST_FORMAT:return 11;case v.LIST_FORMAT_ATTRIBUTES:return 12;case v.LIST_PICTURE_SIZE:return 13;case v.LIST_SEQUENCE_CONTEXT_TEMPLATE:return 14;case v.LIST_AI_CURATION_REFERENCE_ID:return 15;case v.UNRECOGNIZED:default:return-1}}(e))):t.noValue=[],t},fromPartial(e){const t={values:void 0,noValue:[]};return t.values=void 0!==e.values&&null!==e.values?x.fromPartial(e.values):void 0,t.noValue=e.noValue?.map((e=>e))||[],t}};const j={encode:(e,t=r().Writer.create())=>(void 0!==e.index&&0!==e.index&&t.uint32(8).int32(e.index),void 0!==e.newAttributes&&G.encode(e.newAttributes,t.uint32(18).fork()).ldelim(),void 0!==e.oldAttributes&&G.encode(e.oldAttributes,t.uint32(26).fork()).ldelim(),void 0!==e.item&&R.encode(e.item,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={index:0,newAttributes:void 0,oldAttributes:void 0,item:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.index=n.int32();break;case 2:o.newAttributes=G.decode(n,n.uint32());break;case 3:o.oldAttributes=G.decode(n,n.uint32());break;case 4:o.item=R.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({index:me(e.index)?Number(e.index):0,newAttributes:me(e.newAttributes)?G.fromJSON(e.newAttributes):void 0,oldAttributes:me(e.oldAttributes)?G.fromJSON(e.oldAttributes):void 0,item:me(e.item)?R.fromJSON(e.item):void 0}),toJSON(e){const t={};return void 0!==e.index&&(t.index=Math.round(e.index)),void 0!==e.newAttributes&&(t.newAttributes=e.newAttributes?G.toJSON(e.newAttributes):void 0),void 0!==e.oldAttributes&&(t.oldAttributes=e.oldAttributes?G.toJSON(e.oldAttributes):void 0),void 0!==e.item&&(t.item=e.item?R.toJSON(e.item):void 0),t},fromPartial(e){const t={index:0,newAttributes:void 0,oldAttributes:void 0,item:void 0};return t.index=e.index??0,t.newAttributes=void 0!==e.newAttributes&&null!==e.newAttributes?G.fromPartial(e.newAttributes):void 0,t.oldAttributes=void 0!==e.oldAttributes&&null!==e.oldAttributes?G.fromPartial(e.oldAttributes):void 0,t.item=void 0!==e.item&&null!==e.item?R.fromPartial(e.item):void 0,t}};const Y={encode:(e,t=r().Writer.create())=>(void 0!==e.newAttributes&&W.encode(e.newAttributes,t.uint32(10).fork()).ldelim(),void 0!==e.oldAttributes&&W.encode(e.oldAttributes,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={newAttributes:void 0,oldAttributes:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.newAttributes=W.decode(n,n.uint32());break;case 2:o.oldAttributes=W.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({newAttributes:me(e.newAttributes)?W.fromJSON(e.newAttributes):void 0,oldAttributes:me(e.oldAttributes)?W.fromJSON(e.oldAttributes):void 0}),toJSON(e){const t={};return void 0!==e.newAttributes&&(t.newAttributes=e.newAttributes?W.toJSON(e.newAttributes):void 0),void 0!==e.oldAttributes&&(t.oldAttributes=e.oldAttributes?W.toJSON(e.oldAttributes):void 0),t},fromPartial(e){const t={newAttributes:void 0,oldAttributes:void 0};return t.newAttributes=void 0!==e.newAttributes&&null!==e.newAttributes?W.fromPartial(e.newAttributes):void 0,t.oldAttributes=void 0!==e.oldAttributes&&null!==e.oldAttributes?W.fromPartial(e.oldAttributes):void 0,t}};const z={encode(e,t=r().Writer.create()){if(void 0!==e.uriReplacements&&0!==e.uriReplacements.length)for(const n of e.uriReplacements)K.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={uriReplacements:[]};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.uriReplacements.push(K.decode(n,n.uint32()));else n.skipType(7&e)}return o},fromJSON:e=>({uriReplacements:Array.isArray(e?.uriReplacements)?e.uriReplacements.map((e=>K.fromJSON(e))):[]}),toJSON(e){const t={};return e.uriReplacements?t.uriReplacements=e.uriReplacements.map((e=>e?K.toJSON(e):void 0)):t.uriReplacements=[],t},fromPartial(e){const t={uriReplacements:[]};return t.uriReplacements=e.uriReplacements?.map((e=>K.fromPartial(e)))||[],t}};const K={encode:(e,t=r().Writer.create())=>(void 0!==e.index&&0!==e.index&&t.uint32(8).int32(e.index),void 0!==e.item&&R.encode(e.item,t.uint32(18).fork()).ldelim(),void 0!==e.newUri&&""!==e.newUri&&t.uint32(26).string(e.newUri),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={index:0,item:void 0,newUri:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.index=n.int32();break;case 2:o.item=R.decode(n,n.uint32());break;case 3:o.newUri=n.string();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({index:me(e.index)?Number(e.index):0,item:me(e.item)?R.fromJSON(e.item):void 0,newUri:me(e.newUri)?String(e.newUri):""}),toJSON(e){const t={};return void 0!==e.index&&(t.index=Math.round(e.index)),void 0!==e.item&&(t.item=e.item?R.toJSON(e.item):void 0),void 0!==e.newUri&&(t.newUri=e.newUri),t},fromPartial(e){const t={index:0,item:void 0,newUri:""};return t.index=e.index??0,t.item=void 0!==e.item&&null!==e.item?R.fromPartial(e.item):void 0,t.newUri=e.newUri??"",t}};const J={encode:(e,t=r().Writer.create())=>(void 0!==e.kind&&0!==e.kind&&t.uint32(8).int32(e.kind),void 0!==e.add&&F.encode(e.add,t.uint32(18).fork()).ldelim(),void 0!==e.rem&&B.encode(e.rem,t.uint32(26).fork()).ldelim(),void 0!==e.mov&&H.encode(e.mov,t.uint32(34).fork()).ldelim(),void 0!==e.updateItemAttributes&&j.encode(e.updateItemAttributes,t.uint32(42).fork()).ldelim(),void 0!==e.updateListAttributes&&Y.encode(e.updateListAttributes,t.uint32(50).fork()).ldelim(),void 0!==e.updateItemUris&&z.encode(e.updateItemUris,t.uint32(58).fork()).ldelim(),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={kind:0,add:void 0,rem:void 0,mov:void 0,updateItemAttributes:void 0,updateListAttributes:void 0,updateItemUris:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.kind=n.int32();break;case 2:o.add=F.decode(n,n.uint32());break;case 3:o.rem=B.decode(n,n.uint32());break;case 4:o.mov=H.decode(n,n.uint32());break;case 5:o.updateItemAttributes=j.decode(n,n.uint32());break;case 6:o.updateListAttributes=Y.decode(n,n.uint32());break;case 7:o.updateItemUris=z.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({kind:me(e.kind)?I(e.kind):0,add:me(e.add)?F.fromJSON(e.add):void 0,rem:me(e.rem)?B.fromJSON(e.rem):void 0,mov:me(e.mov)?H.fromJSON(e.mov):void 0,updateItemAttributes:me(e.updateItemAttributes)?j.fromJSON(e.updateItemAttributes):void 0,updateListAttributes:me(e.updateListAttributes)?Y.fromJSON(e.updateListAttributes):void 0,updateItemUris:me(e.updateItemUris)?z.fromJSON(e.updateItemUris):void 0}),toJSON(e){const t={};return void 0!==e.kind&&(t.kind=function(e){switch(e){case A.KIND_UNKNOWN:return 0;case A.ADD:return 2;case A.REM:return 3;case A.MOV:return 4;case A.UPDATE_ITEM_ATTRIBUTES:return 5;case A.UPDATE_LIST_ATTRIBUTES:return 6;case A.UPDATE_ITEM_URIS:return 7;case A.UNRECOGNIZED:default:return-1}}(e.kind)),void 0!==e.add&&(t.add=e.add?F.toJSON(e.add):void 0),void 0!==e.rem&&(t.rem=e.rem?B.toJSON(e.rem):void 0),void 0!==e.mov&&(t.mov=e.mov?H.toJSON(e.mov):void 0),void 0!==e.updateItemAttributes&&(t.updateItemAttributes=e.updateItemAttributes?j.toJSON(e.updateItemAttributes):void 0),void 0!==e.updateListAttributes&&(t.updateListAttributes=e.updateListAttributes?Y.toJSON(e.updateListAttributes):void 0),void 0!==e.updateItemUris&&(t.updateItemUris=e.updateItemUris?z.toJSON(e.updateItemUris):void 0),t},fromPartial(e){const t={kind:0,add:void 0,rem:void 0,mov:void 0,updateItemAttributes:void 0,updateListAttributes:void 0,updateItemUris:void 0};return t.kind=e.kind??0,t.add=void 0!==e.add&&null!==e.add?F.fromPartial(e.add):void 0,t.rem=void 0!==e.rem&&null!==e.rem?B.fromPartial(e.rem):void 0,t.mov=void 0!==e.mov&&null!==e.mov?H.fromPartial(e.mov):void 0,t.updateItemAttributes=void 0!==e.updateItemAttributes&&null!==e.updateItemAttributes?j.fromPartial(e.updateItemAttributes):void 0,t.updateListAttributes=void 0!==e.updateListAttributes&&null!==e.updateListAttributes?Y.fromPartial(e.updateListAttributes):void 0,t.updateItemUris=void 0!==e.updateItemUris&&null!==e.updateItemUris?z.fromPartial(e.updateItemUris):void 0,t}};const q={encode(e,t=r().Writer.create()){if(void 0!==e.ops&&0!==e.ops.length)for(const n of e.ops)J.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={ops:[]};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.ops.push(J.decode(n,n.uint32()));else n.skipType(7&e)}return o},fromJSON:e=>({ops:Array.isArray(e?.ops)?e.ops.map((e=>J.fromJSON(e))):[]}),toJSON(e){const t={};return e.ops?t.ops=e.ops.map((e=>e?J.toJSON(e):void 0)):t.ops=[],t},fromPartial(e){const t={ops:[]};return t.ops=e.ops?.map((e=>J.fromPartial(e)))||[],t}};const X={encode:(e,t=r().Writer.create())=>(void 0!==e.user&&""!==e.user&&t.uint32(10).string(e.user),void 0!==e.timestamp&&"0"!==e.timestamp&&t.uint32(16).int64(e.timestamp),!0===e.admin&&t.uint32(24).bool(e.admin),!0===e.undo&&t.uint32(32).bool(e.undo),!0===e.redo&&t.uint32(40).bool(e.redo),!0===e.merge&&t.uint32(48).bool(e.merge),!0===e.compressed&&t.uint32(56).bool(e.compressed),!0===e.migration&&t.uint32(64).bool(e.migration),void 0!==e.splitId&&0!==e.splitId&&t.uint32(72).int32(e.splitId),void 0!==e.source&&$.encode(e.source,t.uint32(82).fork()).ldelim(),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={user:"",timestamp:"0",admin:!1,undo:!1,redo:!1,merge:!1,compressed:!1,migration:!1,splitId:0,source:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.user=n.string();break;case 2:o.timestamp=fe(n.int64());break;case 3:o.admin=n.bool();break;case 4:o.undo=n.bool();break;case 5:o.redo=n.bool();break;case 6:o.merge=n.bool();break;case 7:o.compressed=n.bool();break;case 8:o.migration=n.bool();break;case 9:o.splitId=n.int32();break;case 10:o.source=$.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({user:me(e.user)?String(e.user):"",timestamp:me(e.timestamp)?String(e.timestamp):"0",admin:!!me(e.admin)&&Boolean(e.admin),undo:!!me(e.undo)&&Boolean(e.undo),redo:!!me(e.redo)&&Boolean(e.redo),merge:!!me(e.merge)&&Boolean(e.merge),compressed:!!me(e.compressed)&&Boolean(e.compressed),migration:!!me(e.migration)&&Boolean(e.migration),splitId:me(e.splitId)?Number(e.splitId):0,source:me(e.source)?$.fromJSON(e.source):void 0}),toJSON(e){const t={};return void 0!==e.user&&(t.user=e.user),void 0!==e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.admin&&(t.admin=e.admin),void 0!==e.undo&&(t.undo=e.undo),void 0!==e.redo&&(t.redo=e.redo),void 0!==e.merge&&(t.merge=e.merge),void 0!==e.compressed&&(t.compressed=e.compressed),void 0!==e.migration&&(t.migration=e.migration),void 0!==e.splitId&&(t.splitId=Math.round(e.splitId)),void 0!==e.source&&(t.source=e.source?$.toJSON(e.source):void 0),t},fromPartial(e){const t={user:"",timestamp:"0",admin:!1,undo:!1,redo:!1,merge:!1,compressed:!1,migration:!1,splitId:0,source:void 0};return t.user=e.user??"",t.timestamp=e.timestamp??"0",t.admin=e.admin??!1,t.undo=e.undo??!1,t.redo=e.redo??!1,t.merge=e.merge??!1,t.compressed=e.compressed??!1,t.migration=e.migration??!1,t.splitId=e.splitId??0,t.source=void 0!==e.source&&null!==e.source?$.fromPartial(e.source):void 0,t}};const $={encode:(e,t=r().Writer.create())=>(void 0!==e.client&&0!==e.client&&t.uint32(8).int32(e.client),void 0!==e.app&&""!==e.app&&t.uint32(26).string(e.app),void 0!==e.source&&""!==e.source&&t.uint32(34).string(e.source),void 0!==e.version&&""!==e.version&&t.uint32(42).string(e.version),void 0!==e.serverDomain&&""!==e.serverDomain&&t.uint32(50).string(e.serverDomain),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={client:0,app:"",source:"",version:"",serverDomain:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.client=n.int32();break;case 3:o.app=n.string();break;case 4:o.source=n.string();break;case 5:o.version=n.string();break;case 6:o.serverDomain=n.string();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({client:me(e.client)?C(e.client):0,app:me(e.app)?String(e.app):"",source:me(e.source)?String(e.source):"",version:me(e.version)?String(e.version):"",serverDomain:me(e.serverDomain)?String(e.serverDomain):""}),toJSON(e){const t={};return void 0!==e.client&&(t.client=function(e){switch(e){case O.CLIENT_UNKNOWN:return 0;case O.NATIVE_HERMES:return 1;case O.CLIENT:return 2;case O.PYTHON:return 3;case O.JAVA:return 4;case O.WEBPLAYER:return 5;case O.LIBSPOTIFY:return 6;case O.UNRECOGNIZED:default:return-1}}(e.client)),void 0!==e.app&&(t.app=e.app),void 0!==e.source&&(t.source=e.source),void 0!==e.version&&(t.version=e.version),void 0!==e.serverDomain&&(t.serverDomain=e.serverDomain),t},fromPartial(e){const t={client:0,app:"",source:"",version:"",serverDomain:""};return t.client=e.client??0,t.app=e.app??"",t.source=e.source??"",t.version=e.version??"",t.serverDomain=e.serverDomain??"",t}};function Z(){return{baseVersion:new Uint8Array,ops:[],info:void 0}}const Q={encode(e,t=r().Writer.create()){if(void 0!==e.baseVersion&&0!==e.baseVersion.length&&t.uint32(10).bytes(e.baseVersion),void 0!==e.ops&&0!==e.ops.length)for(const n of e.ops)J.encode(n,t.uint32(18).fork()).ldelim();return void 0!==e.info&&X.encode(e.info,t.uint32(34).fork()).ldelim(),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=Z();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.baseVersion=n.bytes();break;case 2:o.ops.push(J.decode(n,n.uint32()));break;case 4:o.info=X.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({baseVersion:me(e.baseVersion)?pe(e.baseVersion):new Uint8Array,ops:Array.isArray(e?.ops)?e.ops.map((e=>J.fromJSON(e))):[],info:me(e.info)?X.fromJSON(e.info):void 0}),toJSON(e){const t={};return void 0!==e.baseVersion&&(t.baseVersion=he(void 0!==e.baseVersion?e.baseVersion:new Uint8Array)),e.ops?t.ops=e.ops.map((e=>e?J.toJSON(e):void 0)):t.ops=[],void 0!==e.info&&(t.info=e.info?X.toJSON(e.info):void 0),t},fromPartial(e){const t=Z();return t.baseVersion=e.baseVersion??new Uint8Array,t.ops=e.ops?.map((e=>J.fromPartial(e)))||[],t.info=void 0!==e.info&&null!==e.info?X.fromPartial(e.info):void 0,t}};function ee(){return{fromRevision:new Uint8Array,ops:[],toRevision:new Uint8Array}}const te={encode(e,t=r().Writer.create()){if(void 0!==e.fromRevision&&0!==e.fromRevision.length&&t.uint32(10).bytes(e.fromRevision),void 0!==e.ops&&0!==e.ops.length)for(const n of e.ops)J.encode(n,t.uint32(18).fork()).ldelim();return void 0!==e.toRevision&&0!==e.toRevision.length&&t.uint32(26).bytes(e.toRevision),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=ee();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.fromRevision=n.bytes();break;case 2:o.ops.push(J.decode(n,n.uint32()));break;case 3:o.toRevision=n.bytes();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({fromRevision:me(e.fromRevision)?pe(e.fromRevision):new Uint8Array,ops:Array.isArray(e?.ops)?e.ops.map((e=>J.fromJSON(e))):[],toRevision:me(e.toRevision)?pe(e.toRevision):new Uint8Array}),toJSON(e){const t={};return void 0!==e.fromRevision&&(t.fromRevision=he(void 0!==e.fromRevision?e.fromRevision:new Uint8Array)),e.ops?t.ops=e.ops.map((e=>e?J.toJSON(e):void 0)):t.ops=[],void 0!==e.toRevision&&(t.toRevision=he(void 0!==e.toRevision?e.toRevision:new Uint8Array)),t},fromPartial(e){const t=ee();return t.fromRevision=e.fromRevision??new Uint8Array,t.ops=e.ops?.map((e=>J.fromPartial(e)))||[],t.toRevision=e.toRevision??new Uint8Array,t}};function ne(){return{baseRevision:new Uint8Array,deltas:[],wantResultingRevisions:!1,wantSyncResult:!1,nonces:[]}}const ie={encode(e,t=r().Writer.create()){if(void 0!==e.baseRevision&&0!==e.baseRevision.length&&t.uint32(10).bytes(e.baseRevision),void 0!==e.deltas&&0!==e.deltas.length)for(const n of e.deltas)Q.encode(n,t.uint32(18).fork()).ldelim();if(!0===e.wantResultingRevisions&&t.uint32(24).bool(e.wantResultingRevisions),!0===e.wantSyncResult&&t.uint32(32).bool(e.wantSyncResult),void 0!==e.nonces&&0!==e.nonces.length){t.uint32(50).fork();for(const n of e.nonces)t.int64(n);t.ldelim()}return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=ne();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.baseRevision=n.bytes();break;case 2:o.deltas.push(Q.decode(n,n.uint32()));break;case 3:o.wantResultingRevisions=n.bool();break;case 4:o.wantSyncResult=n.bool();break;case 6:if(2==(7&e)){const e=n.uint32()+n.pos;for(;n.pos<e;)o.nonces.push(fe(n.int64()))}else o.nonces.push(fe(n.int64()));break;default:n.skipType(7&e)}}return o},fromJSON:e=>({baseRevision:me(e.baseRevision)?pe(e.baseRevision):new Uint8Array,deltas:Array.isArray(e?.deltas)?e.deltas.map((e=>Q.fromJSON(e))):[],wantResultingRevisions:!!me(e.wantResultingRevisions)&&Boolean(e.wantResultingRevisions),wantSyncResult:!!me(e.wantSyncResult)&&Boolean(e.wantSyncResult),nonces:Array.isArray(e?.nonces)?e.nonces.map((e=>String(e))):[]}),toJSON(e){const t={};return void 0!==e.baseRevision&&(t.baseRevision=he(void 0!==e.baseRevision?e.baseRevision:new Uint8Array)),e.deltas?t.deltas=e.deltas.map((e=>e?Q.toJSON(e):void 0)):t.deltas=[],void 0!==e.wantResultingRevisions&&(t.wantResultingRevisions=e.wantResultingRevisions),void 0!==e.wantSyncResult&&(t.wantSyncResult=e.wantSyncResult),e.nonces?t.nonces=e.nonces.map((e=>e)):t.nonces=[],t},fromPartial(e){const t=ne();return t.baseRevision=e.baseRevision??new Uint8Array,t.deltas=e.deltas?.map((e=>Q.fromPartial(e)))||[],t.wantResultingRevisions=e.wantResultingRevisions??!1,t.wantSyncResult=e.wantSyncResult??!1,t.nonces=e.nonces?.map((e=>e))||[],t}};function oe(){return{baseRevision:new Uint8Array,emittedSignals:[]}}const re={encode(e,t=r().Writer.create()){if(void 0!==e.baseRevision&&0!==e.baseRevision.length&&t.uint32(10).bytes(e.baseRevision),void 0!==e.emittedSignals&&0!==e.emittedSignals.length)for(const n of e.emittedSignals)E.HN.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=oe();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.baseRevision=n.bytes();break;case 2:o.emittedSignals.push(E.HN.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return o},fromJSON:e=>({baseRevision:me(e.baseRevision)?pe(e.baseRevision):new Uint8Array,emittedSignals:Array.isArray(e?.emittedSignals)?e.emittedSignals.map((e=>E.HN.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.baseRevision&&(t.baseRevision=he(void 0!==e.baseRevision?e.baseRevision:new Uint8Array)),e.emittedSignals?t.emittedSignals=e.emittedSignals.map((e=>e?E.HN.toJSON(e):void 0)):t.emittedSignals=[],t},fromPartial(e){const t=oe();return t.baseRevision=e.baseRevision??new Uint8Array,t.emittedSignals=e.emittedSignals?.map((e=>E.HN.fromPartial(e)))||[],t}};function ae(){return{revision:new Uint8Array,length:0,attributes:void 0,contents:void 0,diff:void 0,syncResult:void 0,resultingRevisions:[],multipleHeads:!1,upToDate:!1,nonces:[],timestamp:"0",ownerUsername:"",abuseReportingEnabled:!1,capabilities:void 0,geoblock:[],changesRequireResync:!1,createdAt:"0",appliedLenses:void 0}}const se={encode(e,t=r().Writer.create()){if(void 0!==e.revision&&0!==e.revision.length&&t.uint32(10).bytes(e.revision),void 0!==e.length&&0!==e.length&&t.uint32(16).int32(e.length),void 0!==e.attributes&&x.encode(e.attributes,t.uint32(26).fork()).ldelim(),void 0!==e.contents&&L.encode(e.contents,t.uint32(42).fork()).ldelim(),void 0!==e.diff&&te.encode(e.diff,t.uint32(50).fork()).ldelim(),void 0!==e.syncResult&&te.encode(e.syncResult,t.uint32(58).fork()).ldelim(),void 0!==e.resultingRevisions&&0!==e.resultingRevisions.length)for(const n of e.resultingRevisions)t.uint32(66).bytes(n);if(!0===e.multipleHeads&&t.uint32(72).bool(e.multipleHeads),!0===e.upToDate&&t.uint32(80).bool(e.upToDate),void 0!==e.nonces&&0!==e.nonces.length){t.uint32(114).fork();for(const n of e.nonces)t.int64(n);t.ldelim()}if(void 0!==e.timestamp&&"0"!==e.timestamp&&t.uint32(120).int64(e.timestamp),void 0!==e.ownerUsername&&""!==e.ownerUsername&&t.uint32(130).string(e.ownerUsername),!0===e.abuseReportingEnabled&&t.uint32(136).bool(e.abuseReportingEnabled),void 0!==e.capabilities&&m.encode(e.capabilities,t.uint32(146).fork()).ldelim(),void 0!==e.geoblock&&0!==e.geoblock.length){t.uint32(154).fork();for(const n of e.geoblock)t.int32(n);t.ldelim()}return!0===e.changesRequireResync&&t.uint32(160).bool(e.changesRequireResync),void 0!==e.createdAt&&"0"!==e.createdAt&&t.uint32(168).int64(e.createdAt),void 0!==e.appliedLenses&&ce.encode(e.appliedLenses,t.uint32(178).fork()).ldelim(),t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=ae();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.revision=n.bytes();break;case 2:o.length=n.int32();break;case 3:o.attributes=x.decode(n,n.uint32());break;case 5:o.contents=L.decode(n,n.uint32());break;case 6:o.diff=te.decode(n,n.uint32());break;case 7:o.syncResult=te.decode(n,n.uint32());break;case 8:o.resultingRevisions.push(n.bytes());break;case 9:o.multipleHeads=n.bool();break;case 10:o.upToDate=n.bool();break;case 14:if(2==(7&e)){const e=n.uint32()+n.pos;for(;n.pos<e;)o.nonces.push(fe(n.int64()))}else o.nonces.push(fe(n.int64()));break;case 15:o.timestamp=fe(n.int64());break;case 16:o.ownerUsername=n.string();break;case 17:o.abuseReportingEnabled=n.bool();break;case 18:o.capabilities=m.decode(n,n.uint32());break;case 19:if(2==(7&e)){const e=n.uint32()+n.pos;for(;n.pos<e;)o.geoblock.push(n.int32())}else o.geoblock.push(n.int32());break;case 20:o.changesRequireResync=n.bool();break;case 21:o.createdAt=fe(n.int64());break;case 22:o.appliedLenses=ce.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({revision:me(e.revision)?pe(e.revision):new Uint8Array,length:me(e.length)?Number(e.length):0,attributes:me(e.attributes)?x.fromJSON(e.attributes):void 0,contents:me(e.contents)?L.fromJSON(e.contents):void 0,diff:me(e.diff)?te.fromJSON(e.diff):void 0,syncResult:me(e.syncResult)?te.fromJSON(e.syncResult):void 0,resultingRevisions:Array.isArray(e?.resultingRevisions)?e.resultingRevisions.map((e=>pe(e))):[],multipleHeads:!!me(e.multipleHeads)&&Boolean(e.multipleHeads),upToDate:!!me(e.upToDate)&&Boolean(e.upToDate),nonces:Array.isArray(e?.nonces)?e.nonces.map((e=>String(e))):[],timestamp:me(e.timestamp)?String(e.timestamp):"0",ownerUsername:me(e.ownerUsername)?String(e.ownerUsername):"",abuseReportingEnabled:!!me(e.abuseReportingEnabled)&&Boolean(e.abuseReportingEnabled),capabilities:me(e.capabilities)?m.fromJSON(e.capabilities):void 0,geoblock:Array.isArray(e?.geoblock)?e.geoblock.map((e=>S(e))):[],changesRequireResync:!!me(e.changesRequireResync)&&Boolean(e.changesRequireResync),createdAt:me(e.createdAt)?String(e.createdAt):"0",appliedLenses:me(e.appliedLenses)?ce.fromJSON(e.appliedLenses):void 0}),toJSON(e){const t={};return void 0!==e.revision&&(t.revision=he(void 0!==e.revision?e.revision:new Uint8Array)),void 0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.attributes&&(t.attributes=e.attributes?x.toJSON(e.attributes):void 0),void 0!==e.contents&&(t.contents=e.contents?L.toJSON(e.contents):void 0),void 0!==e.diff&&(t.diff=e.diff?te.toJSON(e.diff):void 0),void 0!==e.syncResult&&(t.syncResult=e.syncResult?te.toJSON(e.syncResult):void 0),e.resultingRevisions?t.resultingRevisions=e.resultingRevisions.map((e=>he(void 0!==e?e:new Uint8Array))):t.resultingRevisions=[],void 0!==e.multipleHeads&&(t.multipleHeads=e.multipleHeads),void 0!==e.upToDate&&(t.upToDate=e.upToDate),e.nonces?t.nonces=e.nonces.map((e=>e)):t.nonces=[],void 0!==e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.ownerUsername&&(t.ownerUsername=e.ownerUsername),void 0!==e.abuseReportingEnabled&&(t.abuseReportingEnabled=e.abuseReportingEnabled),void 0!==e.capabilities&&(t.capabilities=e.capabilities?m.toJSON(e.capabilities):void 0),e.geoblock?t.geoblock=e.geoblock.map((e=>T(e))):t.geoblock=[],void 0!==e.changesRequireResync&&(t.changesRequireResync=e.changesRequireResync),void 0!==e.createdAt&&(t.createdAt=e.createdAt),void 0!==e.appliedLenses&&(t.appliedLenses=e.appliedLenses?ce.toJSON(e.appliedLenses):void 0),t},fromPartial(e){const t=ae();return t.revision=e.revision??new Uint8Array,t.length=e.length??0,t.attributes=void 0!==e.attributes&&null!==e.attributes?x.fromPartial(e.attributes):void 0,t.contents=void 0!==e.contents&&null!==e.contents?L.fromPartial(e.contents):void 0,t.diff=void 0!==e.diff&&null!==e.diff?te.fromPartial(e.diff):void 0,t.syncResult=void 0!==e.syncResult&&null!==e.syncResult?te.fromPartial(e.syncResult):void 0,t.resultingRevisions=e.resultingRevisions?.map((e=>e))||[],t.multipleHeads=e.multipleHeads??!1,t.upToDate=e.upToDate??!1,t.nonces=e.nonces?.map((e=>e))||[],t.timestamp=e.timestamp??"0",t.ownerUsername=e.ownerUsername??"",t.abuseReportingEnabled=e.abuseReportingEnabled??!1,t.capabilities=void 0!==e.capabilities&&null!==e.capabilities?m.fromPartial(e.capabilities):void 0,t.geoblock=e.geoblock?.map((e=>e))||[],t.changesRequireResync=e.changesRequireResync??!1,t.createdAt=e.createdAt??"0",t.appliedLenses=void 0!==e.appliedLenses&&null!==e.appliedLenses?ce.fromPartial(e.appliedLenses):void 0,t}};const ce={encode(e,t=r().Writer.create()){if(void 0!==e.states&&0!==e.states.length)for(const n of e.states)c.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={states:[]};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.states.push(c.decode(n,n.uint32()));else n.skipType(7&e)}return o},fromJSON:e=>({states:Array.isArray(e?.states)?e.states.map((e=>c.fromJSON(e))):[]}),toJSON(e){const t={};return e.states?t.states=e.states.map((e=>e?c.toJSON(e):void 0)):t.states=[],t},fromPartial(e){const t={states:[]};return t.states=e.states?.map((e=>c.fromPartial(e)))||[],t}};function le(){return{uri:"",revision:new Uint8Array}}const ue={encode:(e,t=r().Writer.create())=>(void 0!==e.uri&&""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.revision&&0!==e.revision.length&&t.uint32(18).bytes(e.revision),t),decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=le();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.uri=n.string();break;case 2:o.revision=n.bytes();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({uri:me(e.uri)?String(e.uri):"",revision:me(e.revision)?pe(e.revision):new Uint8Array}),toJSON(e){const t={};return void 0!==e.uri&&(t.uri=e.uri),void 0!==e.revision&&(t.revision=he(void 0!==e.revision?e.revision:new Uint8Array)),t},fromPartial(e){const t=le();return t.uri=e.uri??"",t.revision=e.revision??new Uint8Array,t}};var de=(()=>{if(void 0!==de)return de;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw"Unable to locate global object"})();function pe(e){if(de.Buffer)return Uint8Array.from(de.Buffer.from(e,"base64"));{const t=de.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function he(e){if(de.Buffer)return de.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),de.btoa(t.join(""))}}function fe(e){return e.toString()}function me(e){return null!=e}r().util.Long!==i.A&&(r().util.Long=i.A,r().configure())},27090:(e,t,n)=>{"use strict";n.d(t,{Lg:()=>c,d0:()=>u});var i=n(21364),o=n(24848),r=n.n(o),a=n(39302);function s(){return{uri:new Uint8Array,newRevision:new Uint8Array,parentRevision:new Uint8Array,ops:[]}}const c={encode(e,t=r().Writer.create()){if(void 0!==e.uri&&0!==e.uri.length&&t.uint32(10).bytes(e.uri),void 0!==e.newRevision&&0!==e.newRevision.length&&t.uint32(18).bytes(e.newRevision),void 0!==e.parentRevision&&0!==e.parentRevision.length&&t.uint32(26).bytes(e.parentRevision),void 0!==e.ops&&0!==e.ops.length)for(const n of e.ops)a.Op.encode(n,t.uint32(34).fork()).ldelim();return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=s();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.uri=n.bytes();break;case 2:o.newRevision=n.bytes();break;case 3:o.parentRevision=n.bytes();break;case 4:o.ops.push(a.Op.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return o},fromJSON:e=>({uri:f(e.uri)?p(e.uri):new Uint8Array,newRevision:f(e.newRevision)?p(e.newRevision):new Uint8Array,parentRevision:f(e.parentRevision)?p(e.parentRevision):new Uint8Array,ops:Array.isArray(e?.ops)?e.ops.map((e=>a.Op.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.uri&&(t.uri=h(void 0!==e.uri?e.uri:new Uint8Array)),void 0!==e.newRevision&&(t.newRevision=h(void 0!==e.newRevision?e.newRevision:new Uint8Array)),void 0!==e.parentRevision&&(t.parentRevision=h(void 0!==e.parentRevision?e.parentRevision:new Uint8Array)),e.ops?t.ops=e.ops.map((e=>e?a.Op.toJSON(e):void 0)):t.ops=[],t},fromPartial(e){const t=s();return t.uri=e.uri??new Uint8Array,t.newRevision=e.newRevision??new Uint8Array,t.parentRevision=e.parentRevision??new Uint8Array,t.ops=e.ops?.map((e=>a.Op.fromPartial(e)))||[],t}};function l(){return{newRevision:new Uint8Array,parentRevision:new Uint8Array,ops:[]}}const u={encode(e,t=r().Writer.create()){if(void 0!==e.newRevision&&0!==e.newRevision.length&&t.uint32(10).bytes(e.newRevision),void 0!==e.parentRevision&&0!==e.parentRevision.length&&t.uint32(18).bytes(e.parentRevision),void 0!==e.ops&&0!==e.ops.length)for(const n of e.ops)a.Op.encode(n,t.uint32(26).fork()).ldelim();return t},decode(e,t){const n=e instanceof r().Reader?e:new(r().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o=l();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.newRevision=n.bytes();break;case 2:o.parentRevision=n.bytes();break;case 3:o.ops.push(a.Op.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return o},fromJSON:e=>({newRevision:f(e.newRevision)?p(e.newRevision):new Uint8Array,parentRevision:f(e.parentRevision)?p(e.parentRevision):new Uint8Array,ops:Array.isArray(e?.ops)?e.ops.map((e=>a.Op.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.newRevision&&(t.newRevision=h(void 0!==e.newRevision?e.newRevision:new Uint8Array)),void 0!==e.parentRevision&&(t.parentRevision=h(void 0!==e.parentRevision?e.parentRevision:new Uint8Array)),e.ops?t.ops=e.ops.map((e=>e?a.Op.toJSON(e):void 0)):t.ops=[],t},fromPartial(e){const t=l();return t.newRevision=e.newRevision??new Uint8Array,t.parentRevision=e.parentRevision??new Uint8Array,t.ops=e.ops?.map((e=>a.Op.fromPartial(e)))||[],t}};var d=(()=>{if(void 0!==d)return d;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw"Unable to locate global object"})();function p(e){if(d.Buffer)return Uint8Array.from(d.Buffer.from(e,"base64"));{const t=d.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function h(e){if(d.Buffer)return d.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),d.btoa(t.join(""))}}function f(e){return null!=e}r().util.Long!==i.A&&(r().util.Long=i.A,r().configure())},20633:(e,t,n)=>{"use strict";n.d(t,{HN:()=>a,tu:()=>c});var i=n(24848),o=n.n(i);function r(){return{identifier:"",data:new Uint8Array}}const a={encode:(e,t=o().Writer.create())=>(void 0!==e.identifier&&""!==e.identifier&&t.uint32(10).string(e.identifier),void 0!==e.data&&0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof o().Reader?e:new(o().Reader)(e);let i=void 0===t?n.len:n.pos+t;const a=r();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:a.identifier=n.string();break;case 2:a.data=n.bytes();break;default:n.skipType(7&e)}}return a},fromJSON:e=>({identifier:p(e.identifier)?String(e.identifier):"",data:p(e.data)?u(e.data):new Uint8Array}),toJSON(e){const t={};return void 0!==e.identifier&&(t.identifier=e.identifier),void 0!==e.data&&(t.data=d(void 0!==e.data?e.data:new Uint8Array)),t},fromPartial(e){const t=r();return t.identifier=e.identifier??"",t.data=e.data??new Uint8Array,t}};function s(){return{lensIdentifier:"",uri:"",itemId:new Uint8Array,additionalData:new Uint8Array}}const c={encode:(e,t=o().Writer.create())=>(void 0!==e.lensIdentifier&&""!==e.lensIdentifier&&t.uint32(10).string(e.lensIdentifier),void 0!==e.uri&&""!==e.uri&&t.uint32(18).string(e.uri),void 0!==e.itemId&&0!==e.itemId.length&&t.uint32(26).bytes(e.itemId),void 0!==e.additionalData&&0!==e.additionalData.length&&t.uint32(34).bytes(e.additionalData),t),decode(e,t){const n=e instanceof o().Reader?e:new(o().Reader)(e);let i=void 0===t?n.len:n.pos+t;const r=s();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:r.lensIdentifier=n.string();break;case 2:r.uri=n.string();break;case 3:r.itemId=n.bytes();break;case 4:r.additionalData=n.bytes();break;default:n.skipType(7&e)}}return r},fromJSON:e=>({lensIdentifier:p(e.lensIdentifier)?String(e.lensIdentifier):"",uri:p(e.uri)?String(e.uri):"",itemId:p(e.itemId)?u(e.itemId):new Uint8Array,additionalData:p(e.additionalData)?u(e.additionalData):new Uint8Array}),toJSON(e){const t={};return void 0!==e.lensIdentifier&&(t.lensIdentifier=e.lensIdentifier),void 0!==e.uri&&(t.uri=e.uri),void 0!==e.itemId&&(t.itemId=d(void 0!==e.itemId?e.itemId:new Uint8Array)),void 0!==e.additionalData&&(t.additionalData=d(void 0!==e.additionalData?e.additionalData:new Uint8Array)),t},fromPartial(e){const t=s();return t.lensIdentifier=e.lensIdentifier??"",t.uri=e.uri??"",t.itemId=e.itemId??new Uint8Array,t.additionalData=e.additionalData??new Uint8Array,t}};var l=(()=>{if(void 0!==l)return l;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw"Unable to locate global object"})();function u(e){if(l.Buffer)return Uint8Array.from(l.Buffer.from(e,"base64"));{const t=l.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function d(e){if(l.Buffer)return l.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),l.btoa(t.join(""))}}function p(e){return null!=e}},78424:(e,t,n)=>{"use strict";n.d(t,{M:()=>W});var i,o=n(86070),r=n(73217),a=n(54555),s=n(12783),c=n(45729),l=n(75930),u=n(83547),d=n(69644),p=n(435),h=n(43830),f=n(1256),m=n(94526),_=n(75721),g=n(30171),E=n(69808),v=n(30758),y="PromotionDefaultNative-module_card-container__Y90Vl",b="PromotionDefaultNative-module_layout-container__g9tY4",S="PromotionDefaultNative-module_tertiary-footer-visibility-buttons__XUyBk",T="PromotionDefaultNative-module_title-area__MQiix",A="PromotionDefaultNative-module_body-area__Hsx6u",I="PromotionDefaultNative-module_footer-area__N7OZR",O="PromotionDefaultNative-module_truncated-text__YVan5",C="PromotionDefaultNative-module_truncated-text-single-line__bwBLq",R="PromotionDefaultNative-module_tertiary-footer-icons__aNIyL",N="PromotionDefaultNative-module_dynamic-layout-container__Ka-Eb",P={exports:{}};i=P,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=o(e,n(i)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var i="";for(var r in n)e.call(n,r)&&n[r]&&(i=o(i,r));return i}function o(e,t){return t?e?e+" "+t:e+t:e}i.exports?(t.default=t,i.exports=t):window.classNames=t}();var L=P.exports,k="PromotionButtonTooltip-module_tooltip-animation__gfexU";function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function D(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(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.")}()}var M=function(e){var t=e.children,n=e.label,i=D((0,v.useState)(!1),2),c=i[0],l=i[1];return(0,o.jsx)(r.k,{overlay:c&&(0,o.jsx)(a.m,{className:k,children:(0,o.jsx)(s.E,{variant:"bodySmall",children:n})}),onShow:function(){return l(!0)},onHide:function(){return l(!1)},placement:"bottom",children:t})},x="PromotionDefaultNativeImage-module_image__SAcfY",U="PromotionDefaultNativeImage-module_image-container__gQhJp",V="PromotionDefaultNativeImage-module_icon-container__QE9ZI";function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(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.")}()}var H=function(e){var t=e.mediaSlotImage,n=e.mediaSlotImageSrc,i=e.mediaSlotImageSrcSet,r=e.fallbackIcon,a=void 0===r?c.d:r,s=e.titleId,l=B((0,v.useState)(null),2),u=l[0],d=l[1];return t?(0,o.jsx)("div",{className:U,children:t}):u!==n&&n?(0,o.jsx)("div",{className:U,children:(0,o.jsx)("img",{className:x,onError:function(){return d(n)},src:n,srcSet:i,"aria-labelledby":s})}):(0,o.jsx)("div",{className:U,children:(0,o.jsx)("div",{className:V,children:(0,o.jsx)(a,{"aria-labelledby":s,size:"xxlarge"})})})},G="".concat("promotion-default-native","-title"),W=function(e){var t=e.href,n=e.isExternalLinkTargetFn,i=e.title,r=e.subtitle,a=e.pretitle,c=e.pretitleSemanticColor,P=void 0===c?"textSubdued":c,k=e.body,w=e.padding,D=void 0===w?"tighter":w,x=e.mediaSlotImageSrc,U=e.mediaSlotImageSrcSet,V=e.mediaSlotImage,F=e.mediaSlotImageFallbackIcon,B=e.actions,W=void 0===B?[]:B,j=e.callToAction,Y=e.onPlay,z=e.isPlaying,K=e.isInLibrary,J=e.onAddToLibrary,q=e.onNavigate,X=e.onShare,$=e.playButtonLabel,Z=e.pauseButtonLabel,Q=e.addToLibraryButtonLabel,ee=e.removeFromLibraryButtonLabel,te=e.shareButtonLabel,ne=e.addToLibraryIcon,ie=void 0===ne?K?l.k:u.P:ne,oe=e.className,re=e.contextMenu,ae=(0,v.useRef)(null),se=(0,v.useMemo)((function(){return W.reduce((function(e,t){return e[t.type]=t,e}),{})}),[W]),ce=se.ADD_TO_LIBRARY,le=se.PLAY,ue=se.SHARE;return(0,o.jsx)(d.a,{className:L(oe,y),href:t,target:n(t)?"_blank":void 0,onClick:function(e){return q(t,e)},variant:"naked",hoverBackgroundColor:"backgroundHighlight",activeBackgroundColor:"backgroundPress",padding:(0,p.po)(D),borderRadius:(0,p.AN)("larger-2"),children:(0,o.jsxs)("div",{className:L(b,k?N:void 0),children:[(0,o.jsx)(H,{mediaSlotImage:V,mediaSlotImageSrc:x,mediaSlotImageSrcSet:U,fallbackIcon:F,titleId:G}),(0,o.jsxs)("div",{className:T,children:[a&&(0,o.jsx)(s.E,{className:L(O,C),variant:"bodySmall",semanticColor:P,style:{WebkitLineClamp:1,lineClamp:1},children:a}),(0,o.jsx)(s.E,{className:L(O),variant:"titleSmall",id:G,children:i}),r&&(0,o.jsx)(s.E,{className:L(O,C),variant:"bodySmall",semanticColor:"textSubdued",children:r})]}),(0,o.jsx)("div",{className:A,children:k&&(0,o.jsx)(s.E,{className:O,variant:"bodySmall",semanticColor:"textSubdued",children:k})}),(0,o.jsxs)("div",{className:I,ref:ae,onClick:function(e){e.target!==ae.current&&(e.stopPropagation(),e.preventDefault())},children:[le&&(0,o.jsx)(M,{label:z?Z:$,children:(0,o.jsx)(h.$,{size:"small","aria-label":z?Z:$,iconOnly:z?f._:m.A,colorSet:"invertedLight",onClick:function(e){return Y(le.target,e)}})}),"NAVIGATE"===(null==j?void 0:j.type)&&(0,o.jsx)(h.$,{href:j.target,target:n(j.target)?"_blank":void 0,iconTrailing:n(j.target)?_.H:void 0,size:"small","aria-label":j.text,colorSet:"invertedLight",onClick:function(e){return q(j.target,e)},children:j.text}),(0,o.jsxs)("div",{className:R,children:[ce&&(K?(0,o.jsx)(M,{label:ee,children:(0,o.jsx)(g.H,{"aria-label":ee,iconOnly:ie,semanticColor:"textPositive",onClick:function(e){return J(ce.target,e)}})}):(0,o.jsx)(M,{label:Q,children:(0,o.jsx)(g.H,{"aria-label":Q,iconOnly:ie,semanticColor:"textSubdued",onClick:function(e){return J(ce.target,e)}})})),(0,o.jsxs)("div",{className:S,children:[ue&&(0,o.jsx)(M,{label:te,children:(0,o.jsx)(g.H,{"aria-label":te,iconOnly:E.C,onClick:function(e){return X(ue.target,e)}})}),re||null]})]})]})]})})}},35381:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>P});var i=n(30758),o=n(10018),r=n(21953),a=n(6826),s=n(72973),c=n(82775),l=n(80481),u=n(92808),d=n(31323),p=n(53933),h=n(43178),f=n(74743);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E="0 ".concat(r.vw," ").concat(r.CJ," 0 rgba(0, 0, 0, 0.2)"),v=function(e,t){return _(_({},e),{},g({fontSize:e.fontSize},"@media (min-width: ".concat(a.Dg,")"),_(_({},t),{},{fontSize:t.fontSize})))};var y=function(e){var t=e.isUsingKeyboard,n=e.error,i=e.customStyles,o=void 0===i?{}:i;return _(_({},o),{},{control:function(e,i){return function(e){var t,n=e.provided,i=e.state,o=e.isUsingKeyboard,a=e.error,u=e.customStyles,d={boxShadow:"inset 0 0 0 ".concat(o?3:1.5,"px ").concat((0,s.oj)(s.ZI.essentialBase))},p={boxShadow:"inset 0 0 0 1px ".concat((0,s.oj)(s.ZI.essentialSubdued)),opacity:"0.3",cursor:"not-allowed"},h={boxShadow:"inset 0 0 0 1px ".concat((0,s.oj)(s.ZI.essentialNegative))},f={boxShadow:"inset 0 0 0 ".concat(o?3:1.5,"px ").concat((0,s.oj)(s.ZI.essentialNegative))},m=_(_(_(_({},i.isFocused?d:{}),a?h:{}),a&&i.isFocused?f:{}),i.isDisabled?p:{}),g={":hover":_({boxShadow:"inset 0 0 0 1px ".concat((0,s.oj)(s.ZI.essentialBase))},m)};return _(_(_(_(_({},n),v(c.$m,l.Nt)),{},{padding:0,border:0,outline:0,borderRadius:r.vw,transition:"box-shadow ease-in-out 0.1s, color ease-in-out 0.1s",backgroundColor:"".concat((0,s.oj)(s.ZI.backgroundBase)),color:"".concat((0,s.oj)(s.ZI.textBase)),boxShadow:"inset 0 0 0 1px ".concat((0,s.oj)(s.ZI.essentialSubdued))},g),m),null==u||null===(t=u.control)||void 0===t?void 0:t.call(u,n,i))}({provided:e,state:i,isUsingKeyboard:t,error:n,customStyles:o})},valueContainer:function(e,t){var n;return _(_({},e),{},{margin:0,gap:r.vw,minHeight:t.isMulti?"52px":e.minHeight,padding:t.isMulti?"10px 14px":"14px",paddingRight:0},null==o||null===(n=o.valueContainer)||void 0===n?void 0:n.call(o,e,t))},placeholder:function(e,t){var n;return _(_({},e),{},{margin:0,color:(0,s.oj)(s.ZI.textSubdued)},null==o||null===(n=o.placeholder)||void 0===n?void 0:n.call(o,e,t))},input:function(e,t){var n;return _(_({},e),{},{margin:0,padding:0},null==o||null===(n=o.input)||void 0===n?void 0:n.call(o,e,t))},clearIndicator:function(e,t){var n;return _(_({},e),{},{padding:0},null==o||null===(n=o.indicatorSeparator)||void 0===n?void 0:n.call(o,e,t))},indicatorSeparator:function(e,t){var n;return _({},null==o||null===(n=o.indicatorSeparator)||void 0===n?void 0:n.call(o,e,t))},dropdownIndicator:function(e,t){var n;return _(_({},e),{},{color:(0,s.oj)(s.ZI.essentialSubdued),padding:"14px",pointerEvents:"none"},null==o||null===(n=o.dropdownIndicator)||void 0===n?void 0:n.call(o,e,t))},menu:function(e,t){var n;return _(_({},e),{},{background:(0,s.oj)(s.ZI.backgroundElevatedBase),color:(0,s.oj)(s.ZI.textBase),borderRadius:r.v4,boxShadow:E,overflow:"hidden"},null==o||null===(n=o.menu)||void 0===n?void 0:n.call(o,e,t))},menuList:function(e,t){var n;return _(_({},e),{},{margin:0,padding:0,maxHeight:"273px",paddingBlockStart:r.v4,paddingBlockEnd:r.v4},null==o||null===(n=o.menuList)||void 0===n?void 0:n.call(o,e,t))},option:function(e,t){var n;return _(_(_({},e),v(c.mi,l.ec)),{},{padding:"14px 16px",color:t.isSelected?(0,s.oj)(s.ZI.textBase):(0,s.oj)(s.ZI.textSubdued),"&:hover":t.isSelected?{}:{backgroundColor:(0,s.oj)(s.ZI.backgroundTintedHighlight),color:(0,s.oj)(s.ZI.textSubdued)},backgroundColor:t.isSelected?(0,s.oj)(s.ZI.backgroundTintedBase):t.isFocused?(0,s.oj)(s.ZI.backgroundTintedHighlight):"transparent","&:active":{color:(0,s.oj)(s.ZI.textSubdued),backgroundColor:(0,s.oj)(s.ZI.backgroundTintedPress)}},null==o||null===(n=o.option)||void 0===n?void 0:n.call(o,e,t))},singleValue:function(e,t){var n;return _(_({},e),{},{margin:0,color:(0,s.oj)(s.ZI.textBase)},null==o||null===(n=o.singleValue)||void 0===n?void 0:n.call(o,e,t))},multiValue:function(e,t){var n;return _(_({},e),{},{margin:0,backgroundColor:(0,s.oj)(s.ZI.backgroundTintedBase),borderRadius:r.vw},null==o||null===(n=o.multiValue)||void 0===n?void 0:n.call(o,e,t))},multiValueLabel:function(e,t){var n;return _(_(_({},e),v(c.rq,l.ZV)),{},{color:(0,s.oj)(s.ZI.textBase)},null==o||null===(n=o.multiValueLabel)||void 0===n?void 0:n.call(o,e,t))},multiValueRemove:function(e,t){var n;return _(_({},e),{},{display:t.isDisabled?"none":e.display,"&:hover":{color:(0,s.oj)(s.ZI.textBase),backgroundColor:(0,s.oj)(s.ZI.backgroundTintedHighlight),borderRadius:"0 ".concat(r.vw," ").concat(r.vw," 0")}},null==o||null===(n=o.multiValueRemove)||void 0===n?void 0:n.call(o,e,t))}})},b=function(e){return i.createElement(f.c.DropdownIndicator,e,e.isFocused?i.createElement(u.o,{iconSize:16}):i.createElement(d.r,{iconSize:16}))},S=function(e){return i.createElement(f.c.ClearIndicator,e,i.createElement(p.a,null,i.createElement(h.M,{iconSize:16,"aria-label":"Close"})))},T=function(e){return i.createElement(f.c.MultiValueRemove,e,i.createElement(h.M,{iconSize:16,"aria-label":"Close",semanticColor:s.ZI.textSubdued}))};function A(){return A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},A.apply(this,arguments)}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=n(3625).Ay;function N(e,t){var n=i.useContext(o.E).isUsingKeyboard;return i.createElement(R,A({},e,{ref:t,styles:y({isUsingKeyboard:n,error:!!e.error,customStyles:e.styles}),components:O({DropdownIndicator:b,ClearIndicator:S,MultiValueRemove:T},e.components)}))}const P=i.forwardRef(N)},75323:(e,t,n)=>{"use strict";n.d(t,{Id:()=>oe,tZ:()=>E,YJ:()=>ne,O_:()=>r,$X:()=>l,he:()=>c,ff:()=>i});var i={};n.r(i),n.d(i,{G2:()=>N,gn:()=>w,sv:()=>D});var o=n(86857);function r(e){let t=!0;const n=(0,o.h64)();return a((e=>{n.update(e),t=!1}),e),t?void 0:n.digest().toString(16)}function a(e,t){switch(typeof t){case"boolean":return void function(e,t){e(`boolean:${t}`)}(e,t);case"number":return void function(e,t){e(`number:${t}`)}(e,t);case"string":return void function(e,t){e(`string:${t.length}:${t}`)}(e,t);case"object":return null===t?void s(e):Array.isArray(t)?void function(e,t){e(`array:${t.length}:`);for(const n of t)void 0===n?s(e):a(e,n)}(e,t):"toJSON"in t&&"function"==typeof t.toJSON?void a(e,t.toJSON()):void function(e,t){const n=Object.keys(t).filter((e=>void 0!==t[e]));n.sort(),e(`object:${n.length}:`);for(const i of n)e(`${i}:`),a(e,t[i])}(e,t);default:return}}function s(e){e("null")}function c(e,t,n=new Error("Timeout")){return t===Number.POSITIVE_INFINITY?e:t<=0?Promise.reject(n):new Promise(((i,o)=>{setTimeout((()=>{o(n)}),t),e.then(i,o)}))}function l(e){return function(e){return null!==e&&"object"==typeof e}(e)&&"function"==typeof e.then}const u=["error","warn","info","debug"];const d="[0m",p=["0","1","2","3","4","5","6","7","8"];let h=e=>{console[e.level](function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return`[3${p[Math.abs(t)%p.length]}m${e}${d}`}(e.name),e.msg,...e.args,e.data)};const f=()=>{};function m(e,t){const n=u.indexOf(t);return u.reduce(((t,i,o)=>(t[i]=o<=n?function(e,t){return(...n)=>{if("object"==typeof n[0]){const[i,o,...r]=n;return h({name:t,level:e,timestamp:Date.now(),data:Object.create(null,i),msg:o,args:r})}const[i,...o]=n;return h({name:t,level:e,timestamp:Date.now(),data:Object.create(null),msg:i,args:o})}}(i,e):f,t)),{})}const _=function(){let e;return e="undefined"!=typeof localStorage?localStorage.getItem("rcLogLevel"):{}.RC_LOG_LEVEL,e?"string"==typeof(t=e)&&u.includes(t)?e:"error":"error";var t}(),g=new Map;function E(e){const t=g.get(e);if(t)return t;const n=m(e,_);return g.set(e,n),n}var v=n(87252),y=n.n(v),b=n(24848),S=n.n(b);var T;!function(e){e[e.APP_PLATFORM_UNKNOWN=0]="APP_PLATFORM_UNKNOWN",e[e.APP_PLATFORM_ANDROID=1]="APP_PLATFORM_ANDROID",e[e.APP_PLATFORM_IOS=2]="APP_PLATFORM_IOS",e[e.APP_PLATFORM_WEB=3]="APP_PLATFORM_WEB",e[e.APP_PLATFORM_DESKTOP=4]="APP_PLATFORM_DESKTOP",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(T||(T={}));const A={encode:(e,t=S().Writer.create())=>(""!==e.scope&&t.uint32(10).string(e.scope),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={scope:"",name:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.scope=n.string();break;case 2:o.name=n.string();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({scope:R(e.scope)?String(e.scope):"",name:R(e.name)?String(e.name):""}),toJSON(e){const t={};return void 0!==e.scope&&(t.scope=e.scope),void 0!==e.name&&(t.name=e.name),t},fromPartial(e){var t,n;const i={scope:"",name:""};return i.scope=null!==(t=e.scope)&&void 0!==t?t:"",i.name=null!==(n=e.name)&&void 0!==n?n:"",i}};const I={encode:(e,t=S().Writer.create())=>(""!==e.system&&t.uint32(10).string(e.system),""!==e.serviceName&&t.uint32(18).string(e.serviceName),void 0!==e.staticContext&&O.encode(e.staticContext,t.uint32(26).fork()).ldelim(),void 0!==e.surfaceMetadata&&C.encode(e.surfaceMetadata,t.uint32(82).fork()).ldelim(),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={system:"",serviceName:"",staticContext:void 0,surfaceMetadata:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.system=n.string();break;case 2:o.serviceName=n.string();break;case 3:o.staticContext=O.decode(n,n.uint32());break;case 10:o.surfaceMetadata=C.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({system:R(e.system)?String(e.system):"",serviceName:R(e.serviceName)?String(e.serviceName):"",staticContext:R(e.staticContext)?O.fromJSON(e.staticContext):void 0,surfaceMetadata:R(e.surfaceMetadata)?C.fromJSON(e.surfaceMetadata):void 0}),toJSON(e){const t={};return void 0!==e.system&&(t.system=e.system),void 0!==e.serviceName&&(t.serviceName=e.serviceName),void 0!==e.staticContext&&(t.staticContext=e.staticContext?O.toJSON(e.staticContext):void 0),void 0!==e.surfaceMetadata&&(t.surfaceMetadata=e.surfaceMetadata?C.toJSON(e.surfaceMetadata):void 0),t},fromPartial(e){var t,n;const i={system:"",serviceName:"",staticContext:void 0,surfaceMetadata:void 0};return i.system=null!==(t=e.system)&&void 0!==t?t:"",i.serviceName=null!==(n=e.serviceName)&&void 0!==n?n:"",i.staticContext=void 0!==e.staticContext&&null!==e.staticContext?O.fromPartial(e.staticContext):void 0,i.surfaceMetadata=void 0!==e.surfaceMetadata&&null!==e.surfaceMetadata?C.fromPartial(e.surfaceMetadata):void 0,i}};const O={encode:(e,t=S().Writer.create())=>(""!==e.system&&t.uint32(10).string(e.system),""!==e.serviceName&&t.uint32(18).string(e.serviceName),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={system:"",serviceName:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.system=n.string();break;case 2:o.serviceName=n.string();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({system:R(e.system)?String(e.system):"",serviceName:R(e.serviceName)?String(e.serviceName):""}),toJSON(e){const t={};return void 0!==e.system&&(t.system=e.system),void 0!==e.serviceName&&(t.serviceName=e.serviceName),t},fromPartial(e){var t,n;const i={system:"",serviceName:""};return i.system=null!==(t=e.system)&&void 0!==t?t:"",i.serviceName=null!==(n=e.serviceName)&&void 0!==n?n:"",i}};const C={encode:(e,t=S().Writer.create())=>(""!==e.backendSdkVersion&&t.uint32(10).string(e.backendSdkVersion),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={backendSdkVersion:""};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.backendSdkVersion=n.string();else n.skipType(7&e)}return o},fromJSON:e=>({backendSdkVersion:R(e.backendSdkVersion)?String(e.backendSdkVersion):""}),toJSON(e){const t={};return void 0!==e.backendSdkVersion&&(t.backendSdkVersion=e.backendSdkVersion),t},fromPartial(e){var t;const n={backendSdkVersion:""};return n.backendSdkVersion=null!==(t=e.backendSdkVersion)&&void 0!==t?t:"",n}};function R(e){return null!=e}var N,P;function L(e){switch(e){case 0:case"BLOCKING":return N.BLOCKING;case 1:case"BACKGROUND_SYNC":return N.BACKGROUND_SYNC;case 2:case"ASYNC":return N.ASYNC;case 3:case"PUSH_INITIATED":return N.PUSH_INITIATED;case 4:case"RECONNECT":return N.RECONNECT;default:return N.UNRECOGNIZED}}function k(e){switch(e){case 0:case"KNOWN_CONTEXT_INVALID":return P.KNOWN_CONTEXT_INVALID;case 1:case"KNOWN_CONTEXT_USER_ID":return P.KNOWN_CONTEXT_USER_ID;case 2:case"KNOWN_CONTEXT_INSTALLATION_ID":return P.KNOWN_CONTEXT_INSTALLATION_ID;case 3:case"KNOWN_CONTEXT_VERSION":return P.KNOWN_CONTEXT_VERSION;default:return P.UNRECOGNIZED}}!function(e){e[e.BLOCKING=0]="BLOCKING",e[e.BACKGROUND_SYNC=1]="BACKGROUND_SYNC",e[e.ASYNC=2]="ASYNC",e[e.PUSH_INITIATED=3]="PUSH_INITIATED",e[e.RECONNECT=4]="RECONNECT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(N||(N={})),function(e){e[e.KNOWN_CONTEXT_INVALID=0]="KNOWN_CONTEXT_INVALID",e[e.KNOWN_CONTEXT_USER_ID=1]="KNOWN_CONTEXT_USER_ID",e[e.KNOWN_CONTEXT_INSTALLATION_ID=2]="KNOWN_CONTEXT_INSTALLATION_ID",e[e.KNOWN_CONTEXT_VERSION=3]="KNOWN_CONTEXT_VERSION",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(P||(P={}));const w={encode:(e,t=S().Writer.create())=>(""!==e.propertySetId&&t.uint32(10).string(e.propertySetId),void 0!==e.fetchType&&H.encode(e.fetchType,t.uint32(18).fork()).ldelim(),void 0!==e.context&&G.encode(e.context,t.uint32(90).fork()).ldelim(),void 0!==e.backendContext&&I.encode(e.backendContext,t.uint32(98).fork()).ldelim(),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={propertySetId:"",fetchType:void 0,context:void 0,backendContext:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.propertySetId=n.string();break;case 2:o.fetchType=H.decode(n,n.uint32());break;case 11:o.context=G.decode(n,n.uint32());break;case 12:o.backendContext=I.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({propertySetId:z(e.propertySetId)?String(e.propertySetId):"",fetchType:z(e.fetchType)?H.fromJSON(e.fetchType):void 0,context:z(e.context)?G.fromJSON(e.context):void 0,backendContext:z(e.backendContext)?I.fromJSON(e.backendContext):void 0}),toJSON(e){const t={};return void 0!==e.propertySetId&&(t.propertySetId=e.propertySetId),void 0!==e.fetchType&&(t.fetchType=e.fetchType?H.toJSON(e.fetchType):void 0),void 0!==e.context&&(t.context=e.context?G.toJSON(e.context):void 0),void 0!==e.backendContext&&(t.backendContext=e.backendContext?I.toJSON(e.backendContext):void 0),t},fromPartial(e){var t;const n={propertySetId:"",fetchType:void 0,context:void 0,backendContext:void 0};return n.propertySetId=null!==(t=e.propertySetId)&&void 0!==t?t:"",n.fetchType=void 0!==e.fetchType&&null!==e.fetchType?H.fromPartial(e.fetchType):void 0,n.context=void 0!==e.context&&null!==e.context?G.fromPartial(e.context):void 0,n.backendContext=void 0!==e.backendContext&&null!==e.backendContext?I.fromPartial(e.backendContext):void 0,n}};const D={encode:(e,t=S().Writer.create())=>(void 0!==e.configuration&&M.encode(e.configuration,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={configuration:void 0};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.configuration=M.decode(n,n.uint32());else n.skipType(7&e)}return o},fromJSON:e=>({configuration:z(e.configuration)?M.fromJSON(e.configuration):void 0}),toJSON(e){const t={};return void 0!==e.configuration&&(t.configuration=e.configuration?M.toJSON(e.configuration):void 0),t},fromPartial(e){const t={configuration:void 0};return t.configuration=void 0!==e.configuration&&null!==e.configuration?M.fromPartial(e.configuration):void 0,t}};const M={encode(e,t=S().Writer.create()){""!==e.configurationAssignmentId&&t.uint32(10).string(e.configurationAssignmentId),0!==e.fetchTimeMillis&&t.uint32(16).int64(e.fetchTimeMillis);for(const n of e.assignedValues)x.encode(n,t.uint32(26).fork()).ldelim();return t},decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={configurationAssignmentId:"",fetchTimeMillis:0,assignedValues:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.configurationAssignmentId=n.string();break;case 2:o.fetchTimeMillis=Y(n.int64());break;case 3:o.assignedValues.push(x.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return o},fromJSON:e=>({configurationAssignmentId:z(e.configurationAssignmentId)?String(e.configurationAssignmentId):"",fetchTimeMillis:z(e.fetchTimeMillis)?Number(e.fetchTimeMillis):0,assignedValues:Array.isArray(null==e?void 0:e.assignedValues)?e.assignedValues.map((e=>x.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.configurationAssignmentId&&(t.configurationAssignmentId=e.configurationAssignmentId),void 0!==e.fetchTimeMillis&&(t.fetchTimeMillis=Math.round(e.fetchTimeMillis)),e.assignedValues?t.assignedValues=e.assignedValues.map((e=>e?x.toJSON(e):void 0)):t.assignedValues=[],t},fromPartial(e){var t,n,i;const o={configurationAssignmentId:"",fetchTimeMillis:0,assignedValues:[]};return o.configurationAssignmentId=null!==(t=e.configurationAssignmentId)&&void 0!==t?t:"",o.fetchTimeMillis=null!==(n=e.fetchTimeMillis)&&void 0!==n?n:0,o.assignedValues=(null===(i=e.assignedValues)||void 0===i?void 0:i.map((e=>x.fromPartial(e))))||[],o}};const x={encode:(e,t=S().Writer.create())=>(void 0!==e.propertyId&&A.encode(e.propertyId,t.uint32(10).fork()).ldelim(),void 0!==e.metadata&&U.encode(e.metadata,t.uint32(18).fork()).ldelim(),void 0!==e.boolValue&&V.encode(e.boolValue,t.uint32(26).fork()).ldelim(),void 0!==e.intValue&&F.encode(e.intValue,t.uint32(34).fork()).ldelim(),void 0!==e.enumValue&&B.encode(e.enumValue,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={propertyId:void 0,metadata:void 0,boolValue:void 0,intValue:void 0,enumValue:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.propertyId=A.decode(n,n.uint32());break;case 2:o.metadata=U.decode(n,n.uint32());break;case 3:o.boolValue=V.decode(n,n.uint32());break;case 4:o.intValue=F.decode(n,n.uint32());break;case 5:o.enumValue=B.decode(n,n.uint32());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({propertyId:z(e.propertyId)?A.fromJSON(e.propertyId):void 0,metadata:z(e.metadata)?U.fromJSON(e.metadata):void 0,boolValue:z(e.boolValue)?V.fromJSON(e.boolValue):void 0,intValue:z(e.intValue)?F.fromJSON(e.intValue):void 0,enumValue:z(e.enumValue)?B.fromJSON(e.enumValue):void 0}),toJSON(e){const t={};return void 0!==e.propertyId&&(t.propertyId=e.propertyId?A.toJSON(e.propertyId):void 0),void 0!==e.metadata&&(t.metadata=e.metadata?U.toJSON(e.metadata):void 0),void 0!==e.boolValue&&(t.boolValue=e.boolValue?V.toJSON(e.boolValue):void 0),void 0!==e.intValue&&(t.intValue=e.intValue?F.toJSON(e.intValue):void 0),void 0!==e.enumValue&&(t.enumValue=e.enumValue?B.toJSON(e.enumValue):void 0),t},fromPartial(e){const t={propertyId:void 0,metadata:void 0,boolValue:void 0,intValue:void 0,enumValue:void 0};return t.propertyId=void 0!==e.propertyId&&null!==e.propertyId?A.fromPartial(e.propertyId):void 0,t.metadata=void 0!==e.metadata&&null!==e.metadata?U.fromPartial(e.metadata):void 0,t.boolValue=void 0!==e.boolValue&&null!==e.boolValue?V.fromPartial(e.boolValue):void 0,t.intValue=void 0!==e.intValue&&null!==e.intValue?F.fromPartial(e.intValue):void 0,t.enumValue=void 0!==e.enumValue&&null!==e.enumValue?B.fromPartial(e.enumValue):void 0,t}};const U={encode:(e,t=S().Writer.create())=>(0!==e.policyId&&t.uint32(8).int64(e.policyId),""!==e.externalRealm&&t.uint32(18).string(e.externalRealm),0!==e.externalRealmId&&t.uint32(24).int64(e.externalRealmId),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={policyId:0,externalRealm:"",externalRealmId:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.policyId=Y(n.int64());break;case 2:o.externalRealm=n.string();break;case 3:o.externalRealmId=Y(n.int64());break;default:n.skipType(7&e)}}return o},fromJSON:e=>({policyId:z(e.policyId)?Number(e.policyId):0,externalRealm:z(e.externalRealm)?String(e.externalRealm):"",externalRealmId:z(e.externalRealmId)?Number(e.externalRealmId):0}),toJSON(e){const t={};return void 0!==e.policyId&&(t.policyId=Math.round(e.policyId)),void 0!==e.externalRealm&&(t.externalRealm=e.externalRealm),void 0!==e.externalRealmId&&(t.externalRealmId=Math.round(e.externalRealmId)),t},fromPartial(e){var t,n,i;const o={policyId:0,externalRealm:"",externalRealmId:0};return o.policyId=null!==(t=e.policyId)&&void 0!==t?t:0,o.externalRealm=null!==(n=e.externalRealm)&&void 0!==n?n:"",o.externalRealmId=null!==(i=e.externalRealmId)&&void 0!==i?i:0,o}};const V={encode:(e,t=S().Writer.create())=>(!0===e.value&&t.uint32(8).bool(e.value),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={value:!1};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.value=n.bool();else n.skipType(7&e)}return o},fromJSON:e=>({value:!!z(e.value)&&Boolean(e.value)}),toJSON(e){const t={};return void 0!==e.value&&(t.value=e.value),t},fromPartial(e){var t;const n={value:!1};return n.value=null!==(t=e.value)&&void 0!==t&&t,n}};const F={encode:(e,t=S().Writer.create())=>(0!==e.value&&t.uint32(8).int32(e.value),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={value:0};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.value=n.int32();else n.skipType(7&e)}return o},fromJSON:e=>({value:z(e.value)?Number(e.value):0}),toJSON(e){const t={};return void 0!==e.value&&(t.value=Math.round(e.value)),t},fromPartial(e){var t;const n={value:0};return n.value=null!==(t=e.value)&&void 0!==t?t:0,n}};const B={encode:(e,t=S().Writer.create())=>(""!==e.value&&t.uint32(10).string(e.value),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={value:""};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.value=n.string();else n.skipType(7&e)}return o},fromJSON:e=>({value:z(e.value)?String(e.value):""}),toJSON(e){const t={};return void 0!==e.value&&(t.value=e.value),t},fromPartial(e){var t;const n={value:""};return n.value=null!==(t=e.value)&&void 0!==t?t:"",n}};const H={encode:(e,t=S().Writer.create())=>(0!==e.type&&t.uint32(8).int32(e.type),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={type:0};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.type=n.int32();else n.skipType(7&e)}return o},fromJSON:e=>({type:z(e.type)?L(e.type):0}),toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case N.BLOCKING:return"BLOCKING";case N.BACKGROUND_SYNC:return"BACKGROUND_SYNC";case N.ASYNC:return"ASYNC";case N.PUSH_INITIATED:return"PUSH_INITIATED";case N.RECONNECT:return"RECONNECT";case N.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.type)),t},fromPartial(e){var t;const n={type:0};return n.type=null!==(t=e.type)&&void 0!==t?t:0,n}};const G={encode(e,t=S().Writer.create()){for(const n of e.context)W.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={context:[]};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1)o.context.push(W.decode(n,n.uint32()));else n.skipType(7&e)}return o},fromJSON:e=>({context:Array.isArray(null==e?void 0:e.context)?e.context.map((e=>W.fromJSON(e))):[]}),toJSON(e){const t={};return e.context?t.context=e.context.map((e=>e?W.toJSON(e):void 0)):t.context=[],t},fromPartial(e){var t;const n={context:[]};return n.context=(null===(t=e.context)||void 0===t?void 0:t.map((e=>W.fromPartial(e))))||[],n}};const W={encode:(e,t=S().Writer.create())=>(void 0!==e.knownContext&&t.uint32(8).int32(e.knownContext),void 0!==e.policyInputName&&t.uint32(18).string(e.policyInputName),""!==e.value&&t.uint32(82).string(e.value),t),decode(e,t){const n=e instanceof S().Reader?e:new(S().Reader)(e);let i=void 0===t?n.len:n.pos+t;const o={knownContext:void 0,policyInputName:void 0,value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:o.knownContext=n.int32();break;case 2:o.policyInputName=n.string();break;case 10:o.value=n.string();break;default:n.skipType(7&e)}}return o},fromJSON:e=>({knownContext:z(e.knownContext)?k(e.knownContext):void 0,policyInputName:z(e.policyInputName)?String(e.policyInputName):void 0,value:z(e.value)?String(e.value):""}),toJSON(e){const t={};return void 0!==e.knownContext&&(t.knownContext=void 0!==e.knownContext?function(e){switch(e){case P.KNOWN_CONTEXT_INVALID:return"KNOWN_CONTEXT_INVALID";case P.KNOWN_CONTEXT_USER_ID:return"KNOWN_CONTEXT_USER_ID";case P.KNOWN_CONTEXT_INSTALLATION_ID:return"KNOWN_CONTEXT_INSTALLATION_ID";case P.KNOWN_CONTEXT_VERSION:return"KNOWN_CONTEXT_VERSION";case P.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.knownContext):void 0),void 0!==e.policyInputName&&(t.policyInputName=e.policyInputName),void 0!==e.value&&(t.value=e.value),t},fromPartial(e){var t,n,i;const o={knownContext:void 0,policyInputName:void 0,value:""};return o.knownContext=null!==(t=e.knownContext)&&void 0!==t?t:void 0,o.policyInputName=null!==(n=e.policyInputName)&&void 0!==n?n:void 0,o.value=null!==(i=e.value)&&void 0!==i?i:"",o}};var j=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw"Unable to locate global object"})();function Y(e){if(e.gt(Number.MAX_SAFE_INTEGER))throw new j.Error("Value is larger than Number.MAX_SAFE_INTEGER");return e.toNumber()}function z(e){return null!=e}S().util.Long!==y()&&(S().util.Long=y(),S().configure());var K=(()=>{if(void 0!==K)return K;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw"Unable to locate global object"})();K.atob;K.btoa;S().util.Long!==y()&&(S().util.Long=y(),S().configure());const J={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let q;const X=new Uint8Array(16);function $(){if(!q&&(q="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!q))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return q(X)}const Z=[];for(let e=0;e<256;++e)Z.push((e+256).toString(16).slice(1));function Q(e,t=0){return(Z[e[t+0]]+Z[e[t+1]]+Z[e[t+2]]+Z[e[t+3]]+"-"+Z[e[t+4]]+Z[e[t+5]]+"-"+Z[e[t+6]]+Z[e[t+7]]+"-"+Z[e[t+8]]+Z[e[t+9]]+"-"+Z[e[t+10]]+Z[e[t+11]]+Z[e[t+12]]+Z[e[t+13]]+Z[e[t+14]]+Z[e[t+15]]).toLowerCase()}const ee=function(e,t,n){if(J.randomUUID&&!t&&!e)return J.randomUUID();const i=(e=e||{}).random||(e.rng||$)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=i[e];return t}return Q(i)},te=E("common");function ne(){try{return ee()}catch(e){return te.debug("creating uuid failed, trying with custom rng",e),ee({rng:()=>{const e=new Array(16);let t;for(let n=0;n<16;n++)0==(3&n)&&(t=4294967296*Math.random()),e[n]=t>>>((3&n)<<3)&255;return e}})}}const ie="object"==typeof performance&&"function"==typeof performance.now?()=>performance.now():()=>Date.now();class oe{constructor(e){this.millisecondStart=e}duration(){return Math.round(1e6*(ie()-this.millisecondStart))}static start(){return new oe(ie())}}},26238:(e,t,n)=>{"use strict";n.d(t,{N$:()=>i,bs:()=>s,$p:()=>u,gn:()=>c,sv:()=>l,Tw:()=>h});var i,o=n(75323),r=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};!function(e){e.BLOCKING="blocking",e.BACKGROUND_SYNC="background_sync",e.DELAYED="delayed"}(i||(i={}));const a={user_id:{policyInputName:"/spotify-user/user-id",encode:e=>e,isIdentifier:!0},user_catalogue:{policyInputName:"/spotify-user/catalogue",encode:e=>e,isIdentifier:!1},user_country:{policyInputName:"/spotify-user/country",encode:e=>e,isIdentifier:!1},geoip_country:{policyInputName:"/client/geo-ip-country",encode:e=>e,isIdentifier:!1},user_is_employee:{policyInputName:"/spotify-user/is-employee",encode:e=>e,isIdentifier:!1},installationId:{policyInputName:"/remote-config/installation-id",encode:e=>e,isIdentifier:!0},sp_t_cookie:{policyInputName:"/client/sp-t-cookie",encode:e=>e,isIdentifier:!0},version:{policyInputName:"/remote-config/rc-client-version",encode:e=>e,isIdentifier:!1},artist_id:{policyInputName:"/artist/artist-id",encode:e=>e,isIdentifier:!0},advisor_id:{policyInputName:"/advisor/advisor-id",encode:e=>e,isIdentifier:!0},show_id:{policyInputName:"/spotify-podcast-show/show-id",encode:e=>e,isIdentifier:!0},episode_id:{policyInputName:"/spotify-podcast-episode/episode-id",encode:e=>e,isIdentifier:!0},adstudio_advertiser_account_id:{policyInputName:"/adstudio-advertiser-account/account-id",encode:e=>e,isIdentifier:!0},oauth_client_id:{policyInputName:"/client/oauth-client-id",encode:e=>e,isIdentifier:!1}};var s,c;!function(e){function t(e){return Object.entries(e).filter((([e])=>e in a)).reduce(((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n})),{})}function n(e,t){return Object.entries(e).filter((([e])=>e in a)).forEach((([e,n])=>t(e,n,a[e])))}e.definitions=a,e.defaultIdentifiers=Object.freeze(["user_id","sp_t_cookie"]),e.declarableIdentifiers=Object.freeze(Object.entries(e.definitions).filter((([t,{isIdentifier:n}])=>n&&!e.defaultIdentifiers.includes(t))).map((([e])=>e))),e.extract=t,e.forEach=n,e.map=function(e,t){return Object.entries(e).filter((([e])=>e in a)).map((([e,n])=>t(e,n,a[e])))},e.extractIdentifiersMap=function(e){const t={};return n(e,((e,n,i)=>{if(i.isIdentifier){const e=i.encode(n);"string"==typeof e&&""!==e&&(t[i.policyInputName]=e)}})),a.sp_t_cookie.policyInputName in t&&!(a.installationId.policyInputName in t)?t[a.installationId.policyInputName]=t[a.sp_t_cookie.policyInputName]:a.installationId.policyInputName in t&&!(a.sp_t_cookie.policyInputName in t)&&(t[a.sp_t_cookie.policyInputName]=t[a.installationId.policyInputName]),t},e.extractDeclaredIdentifiers=function(t){return Object.keys(t).filter((t=>e.declarableIdentifiers.includes(t)))},e.hash=function(e){return e.username?(0,o.O_)(Object.assign(Object.assign({},t(e)),{username:e.username})):(0,o.O_)(t(e))}}(s||(s={})),function(e){function t(e){var{propertySetId:t,fetchType:o=i.BLOCKING}=e;return{propertySetId:t,context:n(r(e,["propertySetId","fetchType"])),fetchType:c(o)}}function n(e){const t=[];return s.forEach(e,((e,n,{policyInputName:i,encode:o})=>{const r=o(n);"string"==typeof r&&""!==r&&(i===a.sp_t_cookie.policyInputName&&t.push({knownContext:void 0,policyInputName:a.installationId.policyInputName,value:r}),t.push({knownContext:void 0,policyInputName:i,value:r}))})),{context:t}}function c(e){switch(e){case i.BACKGROUND_SYNC:return{type:o.ff.G2.BACKGROUND_SYNC};case i.BLOCKING:return{type:o.ff.G2.BLOCKING};case i.DELAYED:return{type:o.ff.G2.ASYNC};default:throw new Error(`Unknown FetchType (${e})`)}}e.toPayload=t,e.encode=function(e){return o.ff.gn.encode(t(e)).finish()}}(c||(c={}));var l,u,d=n(28835);!function(e){e.configurationAssignmentId=(0,d.p1)({name:"#configurationAssignmentId",description:"Unique ID for the specific resolver call this configuration originates from.",default:""}),e.fetchTimeMillis=(0,d.p1)({name:"#fetchTimeMillis",description:"Server reported time when this configuration was fetched.",default:0}),e.groupIds=(0,d.p1)({name:"#groupIds",description:"An object mapping property name to group-id.",default:void 0}),e.getGroupId=(t,n)=>{var i;return null===(i=n.getValue(e.groupIds))||void 0===i?void 0:i[t]},e.toConfiguration=function(t){t instanceof Uint8Array&&(t=o.ff.sv.decode(t));const{configuration:n}=o.ff.sv.fromJSON(t);if(!n)throw new Error("Bad response payload");const i=d.Vk.builder(),r={};for(const{propertyId:e,metadata:t,boolValue:o,intValue:a,enumValue:s}of n.assignedValues){const n=e.name,c=(0,d.qW)(n);c&&(t&&(r[n]=t.externalRealmId),o?i.setValue(c,o.value):a?i.setValue(c,a.value):s&&i.setValue(c,s.value))}return i.setValue(e.configurationAssignmentId,n.configurationAssignmentId),i.setValue(e.groupIds,r),i.setValue(e.fetchTimeMillis,n.fetchTimeMillis),i}}(l||(l={})),function(e){e.apply=function(e,t){return n=>e(t(n))(n)},e.compose=function(...e){return e.reduce(((e,t)=>n=>i=>e(t(n)(i))(i)))}}(u||(u={}));const p=(0,o.tZ)("core");function h(e){return f(e)}function f(e){return class{constructor(t){this.onDestroyListeners=new Set,this.logger=(0,o.tZ)("core");const n={onDestroy:e=>{this.onDestroyListeners.add(e)}};this.delegate=e(Object.assign(Object.assign({},t),n))}resolve(e){return Promise.resolve().then((()=>this.delegate(e))).then((e=>e.build())).catch((e=>(this.logger.warn("Uncaught error in resolve chain:",e),d.Vk.empty())))}destroy(){this.delegate=()=>{throw new Error("Resolver instance has been destroyed")};for(const e of this.onDestroyListeners)try{e()}catch(e){p.warn("uncaught error in onDestroy listener",e)}this.onDestroyListeners.clear()}static addMiddleware(t){return f(u.apply(t,e))}static withIdentifier(e){return this}static withContext(e){return this}}}},81987:(e,t,n)=>{"use strict";n.d(t,{Gu:()=>c,NC:()=>l});var i=n(30758),o=n(28835);const r=(0,i.createContext)(new o.Vk.Delegate((()=>{throw new Error("Please wrap your component in RemoteConfig Provider")})));var a=n(75323);class s extends o.Vk.Delegate{constructor(){super((()=>{if(!this.delegate)throw this.suspendedPromise;return this.delegate})),this.suspendedPromise=new Promise((e=>{this.resolveSuspense=t=>{if(this.delegate)throw new Error("Already resolved");this.delegate=t,e()}}))}get isSuspended(){return!this.delegate}static isSuspended(e){return e instanceof s&&e.isSuspended}}const c=({children:e,configuration:t})=>{const[n,o]=(0,i.useState)(new s);return function(e,t){const n=(0,i.useRef)(null);if(!e||n.current===e)return;if(n.current=e,!(0,a.$X)(e))return void t(e);e.then(t)}(t,(e=>{s.isSuspended(n)&&n.resolveSuspense(e),o(e)})),i.createElement(r.Provider,{value:n},e)};function l(e,t){const n=function(e={}){const{Context:t=r}=e,n=(0,i.useContext)(t);if(!n)throw new Error("RemoteConfigContext is undefined");return n}(t);try{return n.getValue(e)}catch(e){if(t&&"loadingValue"in t&&(0,a.$X)(e))return t.loadingValue;throw e}}},66768:(e,t,n)=>{"use strict";n.d(t,{li:()=>d});var i=n(26238),o=n(28835),r=n(75323),a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};const s=new Map,c=(0,o.p1)({name:"#contextHash",description:"Hash of the context when passing through initial-config-middleware",default:""}),l=(0,r.tZ)("middleware:initial-configuration"),u=["geoip_country","user_country","user_catalogue","user_id","username","user_is_employee"];const d=e=>t=>n=>a(void 0,void 0,void 0,(function*(){const a=(0,r.O_)(Object.assign(Object.assign({},i.bs.extract(function(e){const t=Object.assign({},e);return u.forEach((e=>{delete t[e]})),t}(n))),{auth:n.auth}));if(t.initialConfiguration&&a===t.initialConfiguration.getValue(c))return o.Vk.builder(t.initialConfiguration);const d=yield e(n);return l.info("Setting hash: '%s' on configuration",a),d.setValue(c,a),n.req&&(!function(e){const t=e.getValue(i.sv.configurationAssignmentId);t&&s.set(t,e)}(d),n.req.on("close",(()=>{!function(e){s.delete(e.getValue(i.sv.configurationAssignmentId))}(d)}))),d}))},46227:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});const i=(0,n(75323).tZ)("middleware:version"),o=e=>({version:t})=>n=>(i.debug("Setting version: %s",t),e(Object.assign(Object.assign({},n),{version:t})))},28835:(e,t,n)=>{"use strict";n.d(t,{Vk:()=>y,mA:()=>a,m9:()=>m,BL:()=>g,HW:()=>_,p1:()=>E,qW:()=>f,Ao:()=>h,v6:()=>p});var i=n(75323),o=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};const r=(0,i.tZ)("properties");var a;!function(e){function t(e,t){switch(e.type){case"bool":if("boolean"!=typeof t)throw new TypeError("Expected boolean value");break;case"enum":if("string"!=typeof t)throw new TypeError("Expected string value");if(e.values.indexOf(t)<0)throw new TypeError(`Expected value to be ${e.values.join("|")}`);break;case"int":if("number"!=typeof t||!Number.isInteger(t))throw new TypeError("Expected integer value");if(t<e.lower||t>e.upper)throw new TypeError(`Expected value in range [${e.lower},${e.upper}]`);break;case"internal":break;default:throw new TypeError(`Unknown property type "${e.type}"`)}}e.match=function(e){return t=>{var{type:n}=t,i=o(t,["type"]);return e[n](i)}},e.assertValue=t,e.validateValue=function(e,n){try{return t(e,n),!0}catch(e){return!1}},e.getPropertySetId=function(e,t,n=[]){const a=[e,Array.from(t).reduce(((e,t)=>{var{name:n}=t,i=o(t,["name"]);return Object.assign(Object.assign({},e),{[n]:i})}),{})],s=new Set(n);return s.size&&a.push(Array.from(s).sort()),r.debug("property-set-id sources",...a),(0,i.O_)(a)}}(a||(a={}));var s=n(93212),c=n.n(s),l=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};const u=new Map;function d(e){const t=e.name;if("internal"===e.type){if("#"!==e.name[0])throw new TypeError('Internal property names must begin with "#"')}else if("#"===e.name[0])throw new TypeError('Property names must not begin with "#"');if(u.has(t)){if(!c()(u.get(t),e))throw new Error(`A different property was already defined for "${e.name}"`)}else u.set(t,e);return t}function*p(e={}){for(const t of u.values())(e.includeInternal||"internal"!==t.type)&&(yield t)}function h(e){const t=u.get(e);if(!t)throw new Error(`Unknown property "${e}"`);return t}function f(e){for(const[t,{name:n}]of u)if(n===e)return t}function m(e){return d(Object.assign(Object.assign({},e),{type:"bool"}))}function _(e){return d(Object.assign(Object.assign({},e),{type:"int"}))}function g(e){var{values:t}=e,n=l(e,["values"]);const i="string"==typeof t?t.split("|"):Object.values(t);return i.sort(),d(Object.assign(Object.assign({},n),{values:i,type:"enum"}))}function E(e){return d(Object.assign(Object.assign({},e),{type:"internal"}))}const v=(0,i.tZ)("properties");var y;E({name:"#v",description:"Schema version of JSON serialized configuration.",default:""}),function(e){class t{constructor(e=[],t=new Set){this.values=new Map(e),this.accessListeners=t}getValue(e){const t=h(e);if("#"!==e[0])for(const t of this.accessListeners)try{t(e,this)}catch(e){v.warn("Error invoking access listener.",e)}return this.values.has(e)?this.values.get(e):t.default}toJSON(e={}){const t={};e.omitInternal||(t["#v"]="1");for(const[n,i]of this.values){const o=h(n);e.omitDefaults&&i===o.default||(e.omitInternal&&"internal"===o.type||(t[o.name]=i))}return t}toBuilder(){return new i(this.values,this.accessListeners)}}function n(e){if("string"==typeof e&&(e=JSON.parse(e)),"object"!=typeof e||null===e)throw new TypeError("Expected object");!function(e){if(void 0===e["#v"]){if(e["#v"]="1","configurationAssignmentId"in e&&(e["#configurationAssignmentId"]=e.configurationAssignmentId,delete e.configurationAssignmentId),"rcsFetchTime"in e&&(e["#fetchTimeMillis"]=Number(e.rcsFetchTime),delete e.rcsFetchTime),"object"==typeof e.properties){const t={};e["#groupIds"]=t;for(const[n,{value:i,groupId:o}]of Object.entries(e.properties))e[n]=i,o&&(t[n]=Number(o));delete e.properties}delete e.clientFetchTime}delete e["#v"]}(e);const t=new Map;for(const[n,i]of Object.entries(e)){const e=f(n);e&&t.set(e,i)}return t}e.fromJSON=function(e){return new t(n(e))},e.builder=function(e){return(null==e?void 0:e.toBuilder())||new i},e.merge=function(...e){return e.map((e=>e.toBuilder())).reduce(((e,t)=>e.merge(t)),new i).build()},e.empty=function(){return new t};class i extends t{setValues(e){for(const[t,n]of e)this.setValue(t,n);return this}withAccessListener(e){return this.accessListeners.add(e),this}setValue(e,t){return h(e),this.values.set(e,t),this}merge(e){for(const[t,n]of e.values)this.values.set(t,n);for(const t of e.accessListeners)this.accessListeners.add(t);return this}getValue(e){const t=h(e);return this.values.has(e)?this.values.get(e):t.default}build(){return new t(this.values,this.accessListeners)}[Symbol.iterator](){return this.values.entries()}static fromJSON(e){return new i(n(e))}}e.Builder=i;e.Delegate=class{constructor(e){this.provider=e}getValue(e){return this.provider().getValue(e)}toJSON(e){return this.provider().toJSON(e)}toBuilder(){return this.provider().toBuilder()}}}(y||(y={}))},57321:(e,t,n)=>{"use strict";n.d(t,{HZ:()=>H,If:()=>N,m4:()=>L,u0:()=>U,pn:()=>B});var i=n(26238),o=n(75323);const r=6e5;let a;var s=n(28835),c=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};const l=e=>"getConfig"in e,u=(0,o.tZ)("middleware:caching");class d{constructor(e,t){this.storageKey=e,this.storage=t}getConfig(e){return c(this,void 0,void 0,(function*(){const t=this.storage.getItem(this.storageKey);if("string"==typeof t){const n=JSON.parse(t);if(n.key===e)return s.Vk.fromJSON(n.value)}return null}))}setConfig(e,t){return c(this,void 0,void 0,(function*(){this.storage.setItem(this.storageKey,JSON.stringify({key:e,value:t.toJSON()}))}))}}var p=n(43433),h=n(21046),f=n(90061);var m=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};const _=new WeakMap;const g={debounceTimeout:400,exposeOnGc:!0};function E(e,t){return(...n)=>(t(...n),e(...n))}function v(e,t){let n=(...i)=>(n=e,t(...i),e(...i));return(...e)=>n(...e)}function y(e){return"number"==typeof e}const b=function(e,t=g,n){return r=>a=>{const{clientId:s,semanticMetrics:c,exposureStrategy:l="access"}=a,u=e(a);if("resolve"===l)return function(e,t,n,o,r){return a=>m(this,void 0,void 0,(function*(){const s=yield e(a);n&&n.sendMetric({metric_type:"counter",what:"remote-config-exposure-counter",tags:{strategy:"resolve"},value:1});const c=(l=Object.values(s.getValue(i.sv.groupIds)||{}),Array.from(new Set(l))).filter(y);var l;const u={clientId:t,configuration:s,policyGroupIds:c,context:a};return r.debug("sending resolve exposure event",u),o(u),s}))}(r,s,c,u,n);if("access"===l)return function(e,t,n,r,a,s){return c=>m(this,void 0,void 0,(function*(){const l=yield e(c),u=o.Id.start();return l.withAccessListener(function(e,t,n){const{debounceTimeout:o,exposeOnGc:r=!1}=t,a=new Set;let s=[],c=t=>{n.debug("Flushing exposure events, with signal %s for pending group ids: %o",t,s),s.length&&(e(s,t),s=[])},l=(e,t)=>{const o=i.sv.getGroupId(e,t);n.info('Access listener called for ref: "%s", with group id: "%s"',e,o),o&&!a.has(o)&&(a.add(o),s.push(o))};if(l=v(l,((e,t)=>{_.set(t,(()=>{c("manual")}))})),o>=0&&o<Number.POSITIVE_INFINITY){let e;l=E(l,(()=>{clearTimeout(e),e=setTimeout((()=>{c("timeout")}),o)})),c=E(c,(()=>{clearTimeout(e)}))}const u=function(){if("function"==typeof FinalizationRegistry)return new FinalizationRegistry((e=>{e()}))}();r&&u&&(n.debug("Adding GC cleanup function"),l=v(l,((e,t)=>{u.register(t,(()=>{c("gc")}))})));return l}(((e,i)=>{n&&(n.sendMetric({metric_type:"counter",what:"remote-config-exposure-counter",tags:{strategy:"access"},value:1}),n.sendMetric({metric_type:"timer",what:"remote-config-time-to-exposure",tags:{signal:i},value:u.duration()}));const o={clientId:t,configuration:l,policyGroupIds:e,context:c};s.debug("sending access exposure event",o),r(o)}),a,s)),l}))}(r,s,c,u,t,n);throw new Error("exposure strategy not defined")}}((e=>{const t=e.eventSender;return({context:e,clientId:n,configuration:o,policyGroupIds:r})=>{const a=e.auth,s=function(e,t,n,o){const r=n.getValue(i.sv.fetchTimeMillis),a=n.getValue(i.sv.configurationAssignmentId);return{platform:"WEB",rc_client_id:e,configuration_assignment_id:a,fetch_type:t.fetchType,installation_id:t.sp_t_cookie,last_rcs_fetch_time:r,policy_group_ids:o,identifiers:i.bs.extractIdentifiersMap(t)}}(n,e,o,r);return a?t.send((0,h.Y)(s)):t.send((0,f.b)(s))}}),void 0,(0,o.tZ)("middleware:exposure"));var S=n(37167),T=n(16526);var A=n(48431),I=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};const O=function(){try{return n(78827)}catch(e){}return}();var C=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};const R=i.$p.compose((e=>({eventSender:t,onDestroy:n})=>{if(!O)return e;let o;const r=e=>{if(!o||!e)return;const n={spt_cookie:o,consent_groups:Object.entries(e.groups).map((([e,t])=>`${e}:${t?"1":"0"}`)).join(","),datetime:e.date.getTime()};t.send((0,A.w)(n))};return O.addConsentListener(r,!0),n((()=>{O.removeConsentListener(r)})),t=>I(void 0,void 0,void 0,(function*(){const n=yield e(t),a=i.bs.extractIdentifiersMap(t)["/client/sp-t-cookie"];if(a&&o!==a){o=a;const e=O.getConsentInfo();e&&r(e)}return n}))}),b,(e=>({clientId:t,eventSender:n})=>o=>e(o).catch((e=>{const r=(s="message",("object"==typeof(a=e)&&null!==a||"function"==typeof a)&&s in a?String(e.message):void 0);var a,s;throw n.send((({context:e,clientId:t,reason:n})=>{const o=Boolean(e.auth),r={installation_id:e.sp_t_cookie,rc_client_id:t,platform:"WEB",fetch_type:e.fetchType,reason:n,identifiers:i.bs.extractIdentifiersMap(e)};return o?(0,S.P)(r):(0,T.m)(r)})({context:o,reason:r,clientId:t})),e})))),N=e=>t=>{var{transport:n,eventSender:i=P(n)}=t,o=C(t,["transport","eventSender"]);return R(e)(Object.assign({eventSender:i},o))};function P(e){if(!e)throw new Error('Either "transport" or "eventSender" must be provided.');return(0,p.kE)({transport:e})}const L=e=>({clientId:t,properties:n})=>{const r=(0,o.tZ)("middleware:properties");let a;return o=>(null!=a||(a=(e=>s.mA.getPropertySetId({clientId:t},n?n.map(s.Ao):(0,s.v6)(),i.bs.extractDeclaredIdentifiers(e)))(o)),r.info("Property Set ID: %s",a),e(Object.assign(Object.assign({},o),{propertySetId:a})))};var k=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};const w=(0,o.tZ)("middleware:session-config");function D(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}var M=function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=D({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var a in o)o[a]&&(r+="; "+a,!0!==o[a]&&(r+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+r}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},o=0;o<n.length;o++){var r=n[o].split("="),a=r.slice(1).join("=");try{var s=decodeURIComponent(r[0]);if(i[s]=t.read(a,s),e===s)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){i(e,"",D({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,D({},this.attributes,t))},withConverter:function(t){return e(D({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const x="sp_t";const U=e=>t=>{const n=(0,o.tZ)("middleware:sptcookie"),i=function(e){return e||M.get(x)}(t.sp_t_cookie);if(!("string"==typeof(r=i)&&r.length>5)){const t=(0,o.YJ)();try{(e=>{if(!M.set(x,e,{expires:Date.now()+316224e5,path:"/"}))throw new Error("Unable to set sp_t cookie")})(t)}catch(e){n.error("error writing spt cookie",e)}return n=>e(Object.assign(Object.assign({},n),{sp_t_cookie:t}))}var r;return t=>e(Object.assign(Object.assign({},t),{sp_t_cookie:i}))};var V=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};const F=(0,o.tZ)("provider:transport"),B=({transport:e,timeout:t})=>n=>{var{timeout:r=t}=n,a=V(n,["timeout"]);0===r&&F.warn("Resolving with a timeout of zero, response will be discarded."),F.debug("resolve context",a);const s=i.gn.toPayload(a),c=a.auth;F.debug("User is authenticated? %s",c),F.debug("resolve request",s);const l=e.request(c?"@webgate/remote-config-resolver/v3/configuration":"@webgate/remote-config-resolver/v3/unauth/configuration",{method:"POST",headers:{"Content-Type":"application/json"},payload:JSON.stringify(s),responseType:"json",authorize:c,rejectNotOk:!0}).then((({body:e})=>(F.info("resolve response",e),i.sv.toConfiguration(e)))).catch((e=>{throw F.error("resolve error",e),e}));return(0,o.he)(l,r)},H=(0,i.Tw)(B).addMiddleware(L).addMiddleware((e=>({clientId:t,storage:n=localStorage,cacheFactory:r,timeout:a})=>{if(!n)return e;const p=function(e,t,n){if(l(e)&&n)throw new Error("[Remote-Configuration] Both storage as a cache and a cacheFactory supplied to Caching middleware, only one or the other is supported.");if(l(e))return e;if(n)return n(e,t);return new d(`com.spotify.single.item.cache:${t}`,e)}(n,t,r);return t=>c(void 0,void 0,void 0,(function*(){const n=i.bs.hash(t);let{timeout:r=a}=t,l=Number.POSITIVE_INFINITY;"number"==typeof r&&(l=r,r=Number.POSITIVE_INFINITY);const d=e(Object.assign(Object.assign({},t),{timeout:r}));try{const e=yield p.getConfig(n);if(u.info("cache %s for key %s",e?"hit":"miss",n),e)return s.Vk.builder(e)}catch(e){u.warn("Error reading from cache.",e)}finally{d.then((e=>c(void 0,void 0,void 0,(function*(){try{yield p.setConfig(n,e)}catch(e){u.error("Error writing to cache.",e)}}))))}return(0,o.he)(d,l)}))})).addMiddleware((e=>({backgroundFetchInterval:t=36e5})=>{const n=(0,o.tZ)("middleware:background-fetch");if(t<r)throw new Error(`backgroundFetchInterval of ${t} is less than the allowed minimum of 600000`);return o=>{return r=e(o),s=()=>{var r,s;r=()=>{e(Object.assign(Object.assign({},o),{fetchType:i.N$.BACKGROUND_SYNC})).catch((e=>{n.warn("Background fetch failed",e)}))},s=t,clearInterval(a),a=setInterval(r,s)},r.then((e=>(s(),e)),(e=>{throw s(),e}));var r,s}})).addMiddleware(N).addMiddleware(U).addMiddleware((e=>()=>{let t=null,n="";return o=>k(void 0,void 0,void 0,(function*(){const r=i.bs.hash(o);return n===r?(w.debug('Session matching hash: "%s" will be used. %o',r,t),t):(t=yield e(o),w.debug('Setting session hash: "%s"',r),n=r,t)}))})).addMiddleware((e=>()=>t=>e(Object.assign(Object.assign({},t),{auth:Boolean(null==t?void 0:t.username)}))))},18762:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendMetric=t.reportMetrics=t.createSemanticMetrics=t.asNanoseconds=t.MetricTypes=void 0;const r=o(n(20556)),a=n(78448);t.MetricTypes={COUNTER:"counter",GAUGE:"gauge",TIMER:"timer"},t.asNanoseconds=function(e){return e};const s=(e,t)=>i(void 0,void 0,void 0,(function*(){if(Array.isArray(t.reporter)){const n=t.reporter.map((t=>t.send(e)));yield Promise.all(n)}else yield t.reporter.send(e)}));t.reportMetrics=s;const c=e=>{void 0!==e.dev&&e.dev&&(e.reporter=new a.NoopReporter);const t={queue:[],timeout:void 0,flush(){return i(this,void 0,void 0,(function*(){yield s(this.queue,e),this.queue=[],this.timeout=void 0}))}};let n=!1;void 0===e.batching&&(e.batching={delay:4e3}),e.batching&&"object"==typeof window&&"function"==typeof window.addEventListener&&window.addEventListener("beforeunload",(()=>{n=!0,t.flush()}));return{sendMetric:o=>i(void 0,void 0,void 0,(function*(){var i,r;const a=Object.assign({},o);if(o.tags&&(a.tags=Object.assign({},o.tags)),a.key=a.key||e.key,!a.key)throw new Error(`metric.key is required. Got: "${a.key}". Set it in createSemanticMetrics(...) or pass it to sendMetric(...).`);a.tags=Object.assign({app:null!==(i=e.app)&&void 0!==i?i:a.key,application:null!==(r=e.app)&&void 0!==r?r:a.key},a.tags),e.component_id?a.component_id=a.component_id||e.component_id:a.component_id=e.key,e.batching&&!n?(t.queue.push(a),t.timeout||(t.timeout=setTimeout((()=>t.flush()),e.batching.delay))):yield s([a],e)})),config:e,isWindowUnloading:n,flush:()=>e.batching?t.flush():(r.default.warn("Manual flushing only supported in batch mode. Set config.batching: true"),Promise.resolve())}};t.createSemanticMetrics=c;class l{static init(e){l.config&&r.default.error("SemanticMetrics has already been initialized. This may lead to dangerous side effects such as your metrics disappearing from Grafana due to the `key` value being overwritten by something else"),r.default.warn("The singleton usage of SemanticMetrics will be deprecated. Please use createSemanticMetrics()"),l.config=e;const{sendMetric:t,isWindowUnloading:n}=c(e);l.sendMetric=t,l.isWindowUnloading=n}}t.default=l;t.sendMetric=e=>i(void 0,void 0,void 0,(function*(){if(!l.config)throw new Error("SemanticMetrics has not been initialized. Call SemanticMetrics.init()");return l.sendMetric(e)}))},1662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WEBAPI_URL=t.INTERNAL_WEBGATE_URL=void 0,t.INTERNAL_WEBGATE_URL="https://wgint.spotify.net",t.WEBAPI_URL="https://api.spotify.com"},14693:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,o(n(97044),t),o(n(41203),t),o(n(63450),t);var a=n(18762);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(a).default}})},97044:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Time=t.Timer=void 0,o(n(18762),t),o(n(34653),t),o(n(5395),t),o(n(1451),t);var r=n(89948);Object.defineProperty(t,"Timer",{enumerable:!0,get:function(){return r.Timer}});var a=n(98348);Object.defineProperty(t,"Time",{enumerable:!0,get:function(){return a.Time}})},63450:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserMetrics=void 0;const i=n(18762),o=n(98348);function r(){const[e]=window.performance.getEntriesByType("navigation");return e}function a(e){return new Promise(((t,n)=>window.performance&&"function"==typeof performance.getEntriesByType?window.addEventListener("load",(()=>{const i=performance.getEntriesByType("paint"),o=i.find((({name:t})=>t===e));return void 0!==i&&o?t(o.startTime):n("Time to paint api is not supported on this browser")})):n("window.performance api is not supported in this browser")))}function s({name:e,label:t,value:n},i){let r;return r="cls"===e.toLowerCase()?{metric_type:"gauge",value:n}:{metric_type:"timer",value:o.Time.fromMillis(Math.round(n)).asNanos()},Object.assign(Object.assign({what:`web_vitals_${e.toLowerCase()}`},r),{tags:Object.assign({name:e,label:t},i)})}const c={getPageLoadTime:function(){return new Promise(((e,t)=>{if(!window.performance||"function"!=typeof performance.getEntriesByType)return t("window.performance api is not supported in this browser");if(void 0===r())return t("navigationTiming api is not supported in this browser");const{loadEventEnd:n}=r();return n>0?e(n):window.addEventListener("load",(()=>{setTimeout((()=>{const{loadEventEnd:t}=r();return e(t)}),0)}))}))},getResourceTiming:function(){return window.performance.getEntriesByType("resource")},getTimeToFirstPaint:function(){return a("first-paint")},getTimeToFirstContentfulPaint:function(){return a("first-contentful-paint")},sendWebVitalsMetric:function(e,t){return i.sendMetric(s(e,t))},getWebVitalsMetric:s};t.BrowserMetrics=c},1451:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleReporter=void 0;const r=o(n(20556));t.ConsoleReporter=class{constructor(e=2,t="info"){this.spacingLevel=e,this.logLevel=t}send(e){return i(this,void 0,void 0,(function*(){r.default.log(this.logLevel,`[semantic-metrics] ${JSON.stringify(e,null,this.spacingLevel)}`)}))}}},5395:function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EventSenderReporter=void 0;const r=n(83087),a=n(87783),s=n(70710),c=o(n(20556)),l=n(74987),u=n(1662);function d(e){return t=>e.isAuthenticated()?a.createSemanticMetricClient(t):s.createSemanticMetricClientNonAuth(t)}class p{constructor(e,t,n="browser",i){this.eventSender=e,this.createEvent=t,this.environment=n,this.transport=i}static create(e){const t="getToken"in e?e.getToken:null,n="ownerProvider"in e?e.ownerProvider:null,o=e.context?[...e.context]:void 0,a=e.environment,s=l.createBaseTransport({providers:{endpoints:(()=>{const t=l.createXResolveProvider();return n=>i(this,void 0,void 0,(function*(){const i=yield t(n);return Object.assign(Object.assign({},i),e.internal&&{webgate:u.INTERNAL_WEBGATE_URL})}))})(),token:()=>new Promise((e=>{t?t(((t,n)=>{e(void 0===n?t:[t,n])})):e("")}))}});t&&(s.on(l.TransportEvent.CONNECTED,(()=>{s.authenticate().catch((e=>{var t,n;c.default.debug("authentication fail.",null!==(n=null!==(t=null==e?void 0:e.message)&&void 0!==t?t:null==e?void 0:e.code)&&void 0!==n?n:"")}))})),s.on(l.TransportEvent.AUTHENTICATED,(()=>{c.default.debug("created authenticated browser transport")})),s.on(l.TransportEvent.TOKEN_PROVIDER_ERROR,(()=>{c.default.debug("the token provided isn't working.")}))),s.connect();const h=r.createEventSender(Object.assign({transport:s,context:o},n&&{ownerProvider:n})),f=d(s);return new p(h,f,a,s)}static createWithCustomTransport(e){const t="ownerProvider"in e?e.ownerProvider:null,n=e.context?[...e.context]:void 0,i=r.createEventSender(Object.assign({transport:e.transport,context:n},t&&{ownerProvider:t})),o=d(e.transport);return new p(i,o,e.environment,e.transport)}send(e){return i(this,void 0,void 0,(function*(){for(const t of e){const e=Object.assign({},t);e.tags=Object.assign({},e.tags),e.tags.environment&&c.default.error("`tags.environment` must not be set. It is a reserved tag and will be overwritten."),e.tags.environment=this.environment;const n=this.createEvent(Object.assign({},e));this.eventSender.send(n,{flush:!1})}return this.eventSender.flush(this.transport.isAuthenticated())}))}}t.EventSenderReporter=p},78448:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.NoopReporter=void 0;t.NoopReporter=class{send(e){return n(this,void 0,void 0,(function*(){}))}}},34653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},98348:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Time=void 0;class n{constructor(e=0){this.nanos=e}static fromNanos(e){return new n(e)}static fromMicros(e){return new n(1e3*e)}static fromMillis(e){return new n(1e6*e)}static fromSeconds(e){return new n(1e9*e)}static from(e){return new n(e.asNanos())}asSeconds(){return this.nanos/1e9}asMillis(){return this.nanos/1e6}asMicros(){return this.nanos/1e3}asNanos(){return Math.round(this.nanos)}}t.Time=n,n.ZERO=new n(0)},89948:(e,t,n)=>{"use strict";var i=n(68558);Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=t.getHighResolutionTime=t.getLowResolutionTime=t.getTime=t.getBrowserTime=t.supportsHighResolutionTime=void 0;const o=n(98348),r=n(18762);t.supportsHighResolutionTime=()=>"undefined"==typeof window&&"function"==typeof i.hrtime;t.getBrowserTime=()=>"undefined"!=typeof performance?performance.now():Date.now();t.getTime=()=>t.supportsHighResolutionTime()?i.hrtime():t.getBrowserTime();t.getLowResolutionTime=e=>{const n=t.getTime()-e,i=o.Time.fromMillis(n);return{nanoseconds:r.asNanoseconds(i.asNanos()),milliseconds:i.asMillis(),seconds:i.asSeconds()}};t.getHighResolutionTime=e=>{const[t,n]=i.hrtime(e),o=1e9*t+n,a=o/1e6,s=o/1e9;return{nanoseconds:r.asNanoseconds(o),milliseconds:a,seconds:s}};class a{constructor(e){this.startTime=e}static start(){return new a(t.getTime())}end(){return t.supportsHighResolutionTime()?t.getHighResolutionTime(this.startTime):t.getLowResolutionTime(this.startTime)}}t.Timer=a},41203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createUniversalReporter=void 0;const i=n(5395),o=n(97886);t.createUniversalReporter=function(e={}){const t=e.context?[o.createUserAgentContext(),...e.context]:[o.createUserAgentContext()];return i.EventSenderReporter.create(Object.assign(Object.assign({environment:"browser"},e),{context:t}))}},66465:(e,t,n)=>{"use strict";t.Cd=t.Lj=void 0;var i=n(38589);Object.defineProperty(t,"Lj",{enumerable:!0,get:function(){return i.logPageActionForTestStep}}),Object.defineProperty(t,"Cd",{enumerable:!0,get:function(){return i.setUpSpektrumLogging}})},38589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.testables=t.setUpSpektrumLogging=t.logPageActionForTestStep=void 0;const n=[];function i(){const e=globalThis.spektrumLoggingInternals;e&&(n.forEach((t=>{e.logPageActionForTestStep({title:t.title,timestamp:t.timestamp})})),n.length=0)}t.logPageActionForTestStep=function(e){const t={title:e,timestamp:Date.now()};n.push(t),i()},t.setUpSpektrumLogging=function(){globalThis.spektrumLoggingInternalsFromApp={reportPageActions(){i()}}},t.testables={resetForTesting(){n.length=0},getPageActionsToReport:()=>n}},78827:(e,t,n)=>{"use strict";function i(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push(e)}function o(){window.dataLayer=window.dataLayer||[],window.dataLayer.push(arguments)}function r({async:e,dataset:t,onError:n,onLoad:i,src:o,nonce:r}){const a=document.createElement("script");e&&(a.async=e),t&&Object.keys(t).map((e=>{a.dataset[e]=t[e]})),n&&a.addEventListener("error",n),i&&a.addEventListener("load",i),r&&a.setAttribute("nonce",r),a.src=o,document.head.appendChild(a)}function a({innerHTML:e,nonce:t}){const n=document.createElement("script");t&&n.setAttribute("nonce",t),n.innerHTML=e,document.head.appendChild(n)}n.r(t),n.d(t,{GTM_SHA_HASH:()=>s,OPTIMIZE_SHA_HASH:()=>A,addConsentListener:()=>b,getConsentInfo:()=>T,removeConsentListener:()=>S,track:()=>C});const s="'sha256-WfsTi7oVogdF9vq5d14s2birjvCglqWF842fyHhzoNw='";function c({id:e,additionalData:t,nonce:n}){window.__gtm_additional_data=t||"",window.__gtm_track_id=e,a({innerHTML:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl+window.__gtm_additional_data;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer',window.__gtm_track_id);",nonce:n})}const l="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js";const u=e=>e.slice(e.indexOf("."));var d=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};const p="50da44be-0564-43df-b139-329aedcf267b",h=new Set,f=new Set;function m({timeout:e=5e3,oneTrustDomainScript:t}){return d(this,void 0,void 0,(function*(){let n;return window.OptanonWrapper=_,new Promise(((i,o)=>{r({dataset:{domainScript:t||p,documentLanguage:"true"},onError:o,onLoad:i,src:l}),n=setTimeout(o,e)})).then((()=>clearTimeout(n)))}))}function _(){var e,t;window.gtag||(window.gtag=o);const n=T();var r;n&&h.forEach((e=>{try{e(n)}catch(e){}})),null===(e=window.OneTrust)||void 0===e||e.OnConsentChanged(y),(window.__cmp||window.__tcfapi)&&window.OptanonActiveGroups&&(null===(t=n)||void 0===t?void 0:t.consentId)&&(r=n.consentId,window.__tcfapi?window.__tcfapi("getTCData",2,function(e){return function(t,n){if(!n)return;const o=JSON.stringify({id:e,iab:t.tcString,cate:window.OptanonActiveGroups});v(),i({consentData:o})}}(r)):window.__cmp("getVendorConsents",{},function(e){return function(t){const n=JSON.stringify({id:e,iab:t.metadata,cate:window.OptanonActiveGroups});v(),i({consentData:n})}}(r)))}const g="sp_consent",E=-1e3;function v(){const e=u(window.location.hostname);document.cookie=[`${g}=`,`max-age=${E}`,`domain=${e}`,"path=/"].join("; ")}function y(){const e=T();e&&f.forEach((t=>{try{t(e)}catch(e){}}))}function b(e,t){t&&h.add(e),f.add(e)}function S(e){h.delete(e),f.delete(e)}function T(){const e=function(e){const t=`${e}=`,n=decodeURIComponent(document.cookie).split(";");for(let e=0;e<n.length;e++){let i=n[e];for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return""}("OptanonConsent"),{groups:t,consentId:n,datestamp:i}=(null===(o=e)||void 0===o?void 0:o.split("&").reduce(((e,t)=>{const[n,i]=t.split("=");return n&&(e[n]=decodeURIComponent(i)),e}),{}))||{};var o;if(!n||!i||""===i)return;const r=function(e){if(!e)return{};return e.split(",").reduce(((e,t)=>{const[n,i]=t.split(":");return e[n]="1"===i,e}),{})}(t);return{groups:r,consentId:n,date:function(e){const t=e.replace(/\+/g," ");return new Date(t)}(i)}}const A="'sha256-KRzjHxCdT8icNaDOqPBdY0AlKiIh5F8r4bnbe1PQwss='";function I({id:e,timeout:t=4e3,nonce:n}){window.__optimize_timeout=t,window.__optimize_options={},window.__optimize_options[e]=!0,function({innerHTML:e}){const t=document.createElement("style");t.innerHTML=e,document.head.appendChild(t)}({innerHTML:".async-hide { opacity: 0 !important}"}),a({innerHTML:'(function(a,s,y,n,c,h,i,d,e){d=true;s.className+=\' \'+y;h.start=1*new Date;h.end=i=function(t){s.className=s.className.replace(RegExp(" ?"+y),""),e=new Date-h.start,(e<c||d)&&a[n].push({event:"optimize",optimizeLoadedWithinTimeout:t?"false":"true"}),d=!1};(a[n]=a[n]||[]).hide=h;setTimeout(function(){i(true);h.end=null},c);h.timeout=c;})(window,document.documentElement,\'async-hide\',\'dataLayer\',window.__optimize_timeout,window.__optimize_options);',nonce:n}),r({async:!0,onError:()=>window.dataLayer&&window.dataLayer.hide&&window.dataLayer.hide.end&&window.dataLayer.hide.end(),src:`https://www.googleoptimize.com/optimize.js?id=${e}`,nonce:n})}var O=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};function C(e){return O(this,void 0,void 0,(function*(){if(!e)return Promise.resolve();const t=function(e){const{dataLayerPushInitial:t,googleOptimizeId:n,googleTagManagerId:i,language:o,market:r,oneTrust:a}=e;return{loadGoogleOptimize:!!n,loadGoogleTagManager:!!i,loadOneTrust:a&&r,pushInitialData:t&&o&&r}}(e);return function({language:e,loggedIn:t=!1,pushInitialData:n,market:o,userCountry:r=""}){n&&i({language:e,loggedIn:t,market:o,userCountry:r})}(Object.assign(Object.assign({},t),e)),yield function({loadGoogleOptimize:e,loadGoogleTagManager:t,loadOneTrust:n,googleOptimizeId:i,googleOptimizeTimeout:o,googleTagManagerId:r,googleTagManagerAdditionalData:a,oneTrustDomainScript:s,nonce:l}){return O(this,void 0,void 0,(function*(){const u=[];return e&&u.push(I({id:i,timeout:o})),t&&n?u.push(m({oneTrustDomainScript:s}).then((()=>c({id:r,additionalData:a,nonce:l})))):n?u.push(m({oneTrustDomainScript:s})):t&&u.push(c({id:r,additionalData:a,nonce:l})),Promise.all(u)}))}(Object.assign(Object.assign({},t),e))}))}},83356:(e,t,n)=>{"use strict";var i;n.d(t,{L:()=>i}),function(e){e.HTTP_REQUEST_ABORTED="HTTP_REQUEST_ABORTED",e.HTTP_REQUEST_FAILED="HTTP_REQUEST_FAILED",e.HTTP_REQUEST_TIMEOUT="HTTP_REQUEST_TIMEOUT",e.LOGGING_REQUEST_FAILED="LOGGING_REQUEST_FAILED",e.TRANSPORT_ENDPOINTS_PROVIDER_ERROR="TRANSPORT_ENDPOINTS_PROVIDER_ERROR",e.TRANSPORT_INVALID_STATE="TRANSPORT_INVALID_STATE",e.TRANSPORT_INVALID_TOKEN="TRANSPORT_INVALID_TOKEN",e.TRANSPORT_STALE_TOKEN="TRANSPORT_STALE_TOKEN ",e.TRANSPORT_TOKEN_PROVIDER_ERROR="TRANSPORT_TOKEN_PROVIDER_ERROR",e.TRANSPORT_LIFECYCLE_DISABLED="TRANSPORT_LIFECYCLE_DISABLED",e.TRANSPORT_UNSUPPORTED_OPTION="TRANSPORT_UNSUPPORTED_OPTION",e.XRESOLVE_INCOMPLETE_RESPONSE="XRESOLVE_INCOMPLETE_RESPONSE",e.XRESOLVE_INVALID_RESPONSE="XRESOLVE_INVALID_RESPONSE",e.XRESOLVE_REQUEST_FAILED_WITH_STATUS="XRESOLVE_REQUEST_FAILED_WITH_STATUS"}(i||(i={}))},40231:(e,t,n)=>{"use strict";var i;n.d(t,{J:()=>i}),function(e){e.CONNECTION_ONLINE="online",e.CONNECTION_OFFLINE="offline",e.PRODUCT_STATE_CHANGED="product_state_changed",e.ACCESS_TOKEN="access_token",e.AUTHENTICATED="authenticated",e.AUTHENTICATION_FAILED="authentication_failed",e.BEFORE_OFFLINE_DISCONNECT="before_offline_disconnect",e.BEFORE_ONLINE_DISCONNECT="before_online_disconnect",e.CONNECTED="connected",e.CONNECTION_FAILED="connection_failed",e.CONNECTION_ID="connection_id",e.DISCONNECTED="disconnected",e.ENDPOINTS_RESOLVED="endpoints_resolved",e.LOGGED_OUT="logged_out",e.SHORT_SESSION_DISCONNECTED="short_session_disconnected",e.TOKEN_PROVIDER_ERROR="token_provider_error",e.RECONNECTED="reconnected",e.RECONNECTING="reconnecting",e.WINDOW_BEFORE_UNLOAD="beforeunload"}(i||(i={}))},36722:(e,t,n)=>{"use strict";var i;n.d(t,{W:()=>i}),function(e){e[e.CLOSE=4e3]="CLOSE",e[e.TIMEOUT=4001]="TIMEOUT"}(i||(i={}))},4034:(e,t,n)=>{"use strict";var i;n.d(t,{I:()=>i}),function(e){e.DELETE="DELETE",e.GET="GET",e.OPTIONS="OPTIONS",e.PATCH="PATCH",e.POST="POST",e.PUT="PUT",e.TRACE="TRACE"}(i||(i={}))},36051:(e,t,n)=>{"use strict";var i;n.d(t,{O:()=>i}),function(e){e.TRANSPORT_AUTHENTICATE="transport_authenticate",e.TRANSPORT_AUTHENTICATE_FAILED="transport_authenticate_failed",e.TRANSPORT_CONNECT="transport_connect",e.TRANSPORT_DISCONNECT="transport_disconnect",e.TRANSPORT_ENDPOINTS_RESOLVED="transport_endpoints_resolved",e.TRANSPORT_BEFORE_PROCESS_REQUEST="transport_before_process_request",e.TRANSPORT_BEFORE_SEND_REQUEST="transport_before_send_request",e.TRANSPORT_BEFORE_RETURN_RESPONSE="transport_before_return_response",e.TRANSPORT_REQUEST="transport_request",e.PLUGIN_CONNECTION_INFO="plugin_connection_info",e.PLUGIN_DISCONNECTED="plugin_disconnected",e.PLUGIN_MESSAGE="plugin_message",e.PLUGIN_REQUEST="plugin_request",e.PLUGIN_ERROR="plugin_error"}(i||(i={}))},98321:(e,t,n)=>{"use strict";var i;n.d(t,{s:()=>i}),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.OK=200]="OK",e[e.CREATED=201]="CREATED",e[e.ACCEPTED=202]="ACCEPTED",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.TIMED_OUT=408]="TIMED_OUT",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.CONFLICT=409]="CONFLICT",e[e.GONE=410]="GONE",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.REQUEST_ENTITY_TOO_LARGE=413]="REQUEST_ENTITY_TOO_LARGE",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED"}(i||(i={}))},44156:(e,t,n)=>{"use strict";var i;n.d(t,{t:()=>i}),function(e){e[e.CONNECTION_ERROR=0]="CONNECTION_ERROR",e[e.INFORMATIONAL=1]="INFORMATIONAL",e[e.SUCCESS=2]="SUCCESS",e[e.REDIRECTION=3]="REDIRECTION",e[e.CLIENT_ERROR=4]="CLIENT_ERROR",e[e.SERVER_ERROR=5]="SERVER_ERROR"}(i||(i={}))},74987:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ConnectionObserver:()=>h,DEALER_PLUGIN_NAME:()=>O.IL,DealerErrors:()=>O.xJ,DisconnectionReason:()=>r,Method:()=>c.I,PluginEvent:()=>l.O,REQUEST_TRANSFORMER_PLUGIN_NAME:()=>Se,TransportErrors:()=>a.L,TransportEvent:()=>s.J,createAbortControllerLike:()=>T,createAbortSignalWithTimeout:()=>A,createBaseTransport:()=>Ie,createSpotifyComEndpointsProvider:()=>ve,createSpotifyComProviders:()=>be,createSpotifyComTokenProvider:()=>ye,createTransport:()=>Oe,createXResolveProvider:()=>Ee.Q,dealerCreator:()=>O.kJ,requestTransformerCreator:()=>Ae});var i={};n.r(i),n.d(i,{isSupported:()=>M,request:()=>x});var o={};n.r(o),n.d(o,{request:()=>ge});var r,a=n(83356),s=n(40231),c=n(4034),l=n(36051);!function(e){e.RECONNECTION_FAILED="reconnection_failed",e.EXPLICIT="explicit",e.LOG_OUT="log_out",e.WINDOW_BEFORE_UNLOAD="window_before_unload"}(r||(r={}));var u,d,p=n(80521);class h extends p.bk{}class f extends h{constructor(e){super();const t="undefined"!=typeof window,n=e&&e.notifyBeforeUnload;this._navigator=t&&window.navigator||null,t&&"function"==typeof window.addEventListener&&(window.addEventListener("online",this.emitSync.bind(this,s.J.CONNECTION_ONLINE,null)),window.addEventListener("offline",this.emitSync.bind(this,s.J.CONNECTION_OFFLINE,null)),n&&window.addEventListener(s.J.WINDOW_BEFORE_UNLOAD,this.emitSync.bind(this,s.J.WINDOW_BEFORE_UNLOAD,null)))}static create(e){return new f(e)}isOnline(){const e=this._navigator;return!e||!("onLine"in e)||e.onLine}}class m extends Error{constructor(e,t,n,i){super(e),this.name="RequestError",this.message=e,this.code=t,this.status=n||0,this.url=i}}class _ extends m{constructor(e,t){super("Request aborted by signal.",a.L.HTTP_REQUEST_ABORTED,0,e),this.name="RequestAbortedError",this.reason=t}}class g extends m{constructor(e,t){super("Request aborted by timeout.",a.L.HTTP_REQUEST_TIMEOUT,0,e),this.name="RequestTimeoutError",this.reason=t}}const E="Signal is aborted without reason";function v(e,t){const n=new Error(t);return n.name=e,n}class y extends p.bk{constructor(){super(),this._aborted=!1,this._reason=void 0,this.onabort=null,this.on("abort",(()=>{var e;return null===(e=this.onabort)||void 0===e?void 0:e.call(this)}))}static abort(e){const t=new y;return t._aborted=!0,t._reason=v("AbortError",null!=e?e:E),t}static signalAbort(e,t){"_aborted"in e&&!e._aborted&&(e._aborted=!0,"_reason"in e&&(e._reason=t||v("AbortError",E)),e.emit("abort",null))}static timeout(e){if(!isFinite(e))throw new TypeError('Value of "delay" is not supported.');const t=new y;return setTimeout((()=>{y.signalAbort(t,v("TimeoutError","Signal timed out"))}),e),t}get aborted(){return this._aborted}set aborted(e){}get reason(){return this._reason}addEventListener(e,t){this.addListener(e,t)}removeEventListener(e,t){this.removeListener(e,t)}dispatchEvent(){}}class b{constructor(){this.signal=new y}abort(e){const t=this.signal;y.signalAbort(t,e)}}function S(){return"undefined"!=typeof window&&"function"==typeof window.AbortController}const T=S()?()=>new AbortController:()=>new b,A=("undefined"!=typeof window&&"function"==typeof(null===(u=window.AbortSignal)||void 0===u?void 0:u.any)&&window.AbortSignal.any,"undefined"!=typeof window&&"function"==typeof(null===(d=window.AbortSignal)||void 0===d?void 0:d.timeout)?window.AbortSignal.timeout:y.timeout);function I(e,t){var n;return"TimeoutError"===(null===(n=t.reason)||void 0===n?void 0:n.name)?new g(e,t.reason):new _(e,t.reason)}var O=n(92232),C=n(80117),R=n(86380);const N={POST:!0,PUT:!0,PATCH:!0,DELETE:!0};var P=n(98321);class L{constructor(e){this.get=e.get.bind(e),this.has=e.has.bind(e)}get(e){return null}has(e){return!1}}class k{constructor(e,t=0){this.url="",this.status=0,this.headers=null,this.body=null,this.offline=!1,this.timing=null,this.metadata=null,this.retries={count:0},this.url=e,this.status=t,this.ok=t>=200&&t<=299}getStatusFamily(){return 0|this.status/100}}const w=C.m.forTag("transport.http.fetch"),D={json:!0,text:!0,arraybuffer:!0,blob:!0};function M(){return"function"==typeof fetch}function x(e){if(!M())return Promise.reject(new TypeError("Fetch is not supported"));const t=e.options.signal;if(null==t?void 0:t.aborted)return Promise.reject(I(e.url,t));if(!e.url)return Promise.reject(new TypeError("Request URL cannot be blank."));const n=e.method||"GET";let i=e.url,o=null;if(n in N&&!0===N[n]&&e.payload?o=e.payload:e.payload&&(i+=`?${e.payload}`),e.options.responseType&&!(e.options.responseType in D))return Promise.reject(new TypeError("Cannot set responseType: not supported in browser."));const r={mode:e.options.mode||"cors",credentials:e.options.credentials||"same-origin",redirect:e.options.redirect||"follow",signal:t,method:n};e.headers.count()&&(r.headers=e.headers.toJSON()),o&&(r.body=o);const a=(0,R.X)();return fetch(i,r).then((function(t){let n;n=e.options.ignoreResponseBody||t.status===P.s.NO_CONTENT?null:"json"===e.options.responseType?t.json().catch((function(e){return w.warn("Could not parse response as JSON:",e),null})):"arraybuffer"===e.options.responseType?t.arrayBuffer():"blob"===e.options.responseType?t.blob():t.text();const i=e.options.parseResponseHeaders||t.status>299?new L(t.headers):null;return Promise.all([t.url,t.status,i,n])})).then((function([t,n,i,o]){const r=(0,R.X)(),s=new k(t,n);return s.body=o,s.headers=i,e.options.timing&&(s.timing={completed:(0,R.r)(a,r)}),s})).catch((function(t){const n=(0,R.X)();if("AbortError"===(null==t?void 0:t.name))throw new _(i);if("TimeoutError"===(null==t?void 0:t.name))throw new g(i);const o=new k(i);return e.options.timing&&(o.timing={completed:(0,R.r)(a,n)}),o})).then((function(t){return e.options.connectionObserver&&(t.offline=!e.options.connectionObserver.isOnline()),t}))}var U=n(83422),V=n(30353);const F=200,B=0,H="linear",G=!0;class W{constructor(e={}){this._curve=e.curve||H,this._baseTime=e.baseTime||F,this._ceiling=e.ceiling||B,this._jitter="jitter"in e?!!e.jitter:G}getTime(e){let t;switch(this._curve){case"static":t=1;break;case"logarithmic":t=Math.log(e);break;case"exponential":t=Math.pow(Math.E,e);break;default:t=e+1}let n=Math.min(4294967296,Math.floor(t*this._baseTime));return this._ceiling&&(n=Math.min(n,this._ceiling)),this._jitter?function(e){const t=e/5;return Math.floor(e-t/2+Math.random()*t)}(n):n}}const j={backoffInitial:!1,baseTime:200,ceiling:0,curve:"linear",jitter:!0,maxDuration:1/0,maxRetries:1/0,maxTime:1/0,retryPredicate:()=>!0};class Y{constructor(e,t){this._resolver=(0,V.u)(),this._ts=0,this._callCount=0,this._tickInterval=0,this._isRunning=!1,this._isDestroyed=!1;const n=Object.assign(Object.assign({},j),t),{backoffInitial:i,maxDuration:o,maxRetries:r,maxTime:a,retryPredicate:s}=n,c=(0,U.__rest)(n,["backoffInitial","maxDuration","maxRetries","maxTime","retryPredicate"]);this._fn=e,this._backoffInitial=i,this._maxDuration=o,this._maxRetries=r,this._maxTime=a,this._retryPredicate=s,this._backoffInitial=i,this._counter=new W(c),this._backoffInitial&&(this._maxRetries+=1)}static init(e,t={}){return new Y(e,t).start()}_destroy(){this._isRunning=!1,this._isDestroyed=!0}_failure(e){if(!this._isDestroyed)if(e&&"retryAfter"in e)this._retryAfter(e);else{const t=this._counter.getTime(this._callCount);this._shouldRetry(t,e)?(this._callCount++,this._tickInterval=setTimeout((()=>this._tick()),t)):(this._resolver.reject(e),this._destroy())}}_retryAfter(e){this._callCount++,this._tickInterval=setTimeout((()=>this._tick()),e.retryAfter)}_success(...e){this._isDestroyed||(this._resolver.resolve(...e),this._destroy())}_shouldRetry(e,t){const n=Date.now()-this._ts+e;return this._callCount<this._maxRetries&&e<this._maxTime&&n<this._maxDuration&&this._retryPredicate(t)}_tick(){this._fn().then(((...e)=>this._success(...e))).catch((e=>this._failure(e)))}getResolver(){return this._resolver.promise}start(){return this._isDestroyed?Promise.reject(new Error("Backoff already consumed")):(this._isRunning||(this._ts=Date.now(),this._isRunning=!0,this._backoffInitial?(this._callCount=1,this._tickInterval=setTimeout((()=>this._tick()),this._counter.getTime(0))):this._tick()),this._resolver.promise)}stop(){clearTimeout(this._tickInterval),this._destroy()}getRetryCount(){return this._callCount}}var z,K=n(36722),J=n(44156);class q extends Error{constructor(e,t,n=null){super(t),this.name="TransportError",this.message=t,this.code=e,this.origin=n}}class X{constructor(e){this._headers={},this._count=0,this._setAll(e)}_setAll(e){let t=0;for(const n in e)e.hasOwnProperty(n)&&e[n]&&(this._headers[n.toLowerCase()]=e[n],t++);this._count=t}get(e){return this._headers[e.toLowerCase()]||null}has(e){return!!this._headers[e.toLowerCase()]}set(e,t){this._headers[e.toLowerCase()]=t,this._count++}delete(e){const t=e.toLowerCase();this._headers[t]&&this._count--,delete this._headers[e.toLowerCase()]}count(){return this._count}toJSON(){return Object.assign({},this._headers)}}class ${constructor(e,t){this.url=e,this.method=(null==t?void 0:t.method)||"GET",this.headers=new X(null==t?void 0:t.headers),this.options=(null==t?void 0:t.options)||{},this.payload=null==t?void 0:t.payload,this.urlExpanded=(null==t?void 0:t.urlExpanded)||!1,this.retryOptions=(null==t?void 0:t.retryOptions)||{}}static create(e,t){return new $(e,t)}clone(){const e=new $(this.url);return e.method=this.method,e.headers=new X(this.headers.toJSON()),e.options=this.options,e.payload=this.payload,e.urlExpanded=this.urlExpanded,e.retryOptions=this.retryOptions,e}}!function(e){e.EVENT_ACCESS_TOKEN="access_token",e.EVENT_CONNECTION_ID="connection_id",e.EVENT_CONNECTION_OFFLINE="connection_offline",e.EVENT_CONNECTION_ONLINE="connection_online",e.EVENT_ENDPOINTS_RESOLVED="endpoints_resolved"}(z||(z={}));class Z extends p.bk{constructor(e,t){super(),this.EVENT_ACCESS_TOKEN=z.EVENT_ACCESS_TOKEN,this.EVENT_CONNECTION_ID=z.EVENT_CONNECTION_ID,this.EVENT_CONNECTION_OFFLINE=z.EVENT_CONNECTION_OFFLINE,this.EVENT_CONNECTION_ONLINE=z.EVENT_CONNECTION_ONLINE,this.EVENT_ENDPOINTS_RESOLVED=z.EVENT_ENDPOINTS_RESOLVED,this.StatusCode=P.s,this.StatusFamily=J.t,this.getConnectionId=e.getConnectionId.bind(e),this.getEndpoints=e.getEndpoints.bind(e),this.getInitTime=e.getInitTime.bind(e),this.getLastToken=e.getLastToken.bind(e),this.matchMessages=e.matchMessages.bind(e),this.unmatchMessages=e.unmatchMessages.bind(e),this.handlePushRequests=e.handlePushRequests.bind(e),this.unhandlePushRequests=e.unhandlePushRequests.bind(e),this.hasPlugin=e.hasPlugin.bind(e),this.getPluginAPI=e.getPluginAPI.bind(e);const n=e.request.bind(e);(null==t?void 0:t.requestOptions)?this.request=(e,i)=>n(e,i?Object.assign(Object.assign(Object.assign({},null==t?void 0:t.requestOptions),i),{metadata:Object.assign(Object.assign({},t.requestOptions.metadata),null==i?void 0:i.metadata),retry:Object.assign(Object.assign({},t.requestOptions.retry),null==i?void 0:i.retry)}):t.requestOptions):this.request=n,this.proxyEmit(e,s.J.ACCESS_TOKEN,z.EVENT_ACCESS_TOKEN),this.proxyEmit(e,s.J.CONNECTION_OFFLINE,z.EVENT_CONNECTION_OFFLINE),this.proxyEmit(e,s.J.CONNECTION_ONLINE,z.EVENT_CONNECTION_ONLINE),this.proxyEmit(e,s.J.ENDPOINTS_RESOLVED,z.EVENT_ENDPOINTS_RESOLVED),this.onAddListener(z.EVENT_CONNECTION_ID,this._onAddConnectionIdListener.bind(this,e.on.bind(e))),this.onRemoveListener(z.EVENT_CONNECTION_ID,this._onRemoveConnectionIdListener.bind(this,e.removeListener.bind(e)))}_onAddConnectionIdListener(e,t){t.preventDefault();const n=t.data.listener,i=e=>{const t=this.createEvent(z.EVENT_CONNECTION_ID,e.data);n.call(this,t)};n.$proxy_wrapper=i,e(s.J.CONNECTION_ID,i,t.data.options)}_onRemoveConnectionIdListener(e,t){t.preventDefault();const n=t.data.listener;n.$proxy_wrapper&&e(s.J.CONNECTION_ID,n.$proxy_wrapper,t.data.options)}removeAllListeners(){return this}}class Q{constructor(){this._startTime=null,this._endTime=null}static create(){return new Q}start(){if(null!==this._startTime)throw new Error("Measurement is already in progress.");this._startTime=Date.now()}end(){if(null===this._startTime||null!==this._endTime)throw new Error("Measurement is not in progress.");this._endTime=Date.now()}getMetrics(){if(null===this._startTime||null===this._endTime)throw new Error("Measurement is not done.");return{start_time:this._startTime,end_time:this._endTime}}}const ee=C.m.forTag("transport.transport"),te=/^(?:https?:\/\/)?@([^\/]+)\//,ne=/^(ws|http)s?:\/\/.*[^\/]$/,ie=/^([a-zA-Z]{3},\ \d{1,2}\ [a-zA-Z]{3}\ (\d{1,2}.){3})/,oe={xhr:!0,fetch:!0},re=1,ae=4;function se(e,t){const n=`access_token=${encodeURIComponent(t)}`,[i,o]=e.split("?");if(!o)return`${i}?${n}`;const r=o.replace(/access_token=[^&]*(&|$)/,`${n}$1`);return r!==o?`${i}?${r}`:`${i}?${n}&${o}`}class ce extends p.bk{constructor(e){if(super(),this._plugins={},this._pluginMediator=new p.bk,this._connectCalled=!1,this._authenticateCalled=!1,this._endpoints=null,this._lastToken=null,this._lastTokenExpiry=0,this._refreshTokenPromise=null,this._authenticationPromise=null,this._reconnectTimeout=0,this._isReconnecting=!1,this._initTime=0,this._lastDisconnect=0,this._stateMask=0,this._quickDisconnectCount=0,this._counter=new W({curve:"exponential",baseTime:5e3,ceiling:15e3}),this._stateAwareListeners={connected:[],authenticated:[],connection_id:[],transport_connect:[],transport_authenticate:[]},this._stateAwareOperationMetrics={authenticated:null},this._stateAwareRunners={connected:null,authenticated:null,connection_id:null,transport_connect:null,transport_authenticate:null},!e)throw new TypeError("Argument `options` for Transport cannot be null.");if(!e.providers)throw new TypeError("Argument `options.providers` for Transport cannot be null.");this._ownerRef="ownerRef"in e?Object(e.ownerRef):{},this._tokenProvider=e.providers.token,this._endpointsProvider=e.providers.endpoints,this._XHR=e.XHR,this._Fetch=e.Fetch,this._reconnectionRetries=e.reconnectionRetries>=0?e.reconnectionRetries:3,this._requestMode=e.requestMode in oe?e.requestMode:"xhr",this._forcePolyfillTypes=e.forcePolyfillTypes||{},this._disableAutoLogout="disableAutoLogout"in e&&!!e.disableAutoLogout,this._disconnectBeforeUnload=e.disconnectBeforeUnload||!1;const t=e.createConnectionObserver||f.create;this._connectionObserver=t({notifyBeforeUnload:this._disconnectBeforeUnload}),this.authenticate=this.authenticate.bind(this),this._authenticateWithToken=this._authenticateWithToken.bind(this),this._connectToEndpoints=this._connectToEndpoints.bind(this),this._parseProvidedToken=this._parseProvidedToken.bind(this),this._onConnected=this._onConnected.bind(this),this._onAuthenticated=this._onAuthenticated.bind(this),this._onAuthenticationFailed=this._onAuthenticationFailed.bind(this),this._init()}static create(e){return new ce(e)}_init(){this.onAddListener(s.J.CONNECTED,this._onAddListener.bind(this,"connected")),this.onAddListener(s.J.AUTHENTICATED,this._onAddListener.bind(this,"authenticated")),this.onAddListener(s.J.CONNECTION_ID,this._onAddListener.bind(this,"connection_id")),this.onRemoveListener(s.J.CONNECTED,this._onRemoveListener.bind(this,"connected")),this.onRemoveListener(s.J.AUTHENTICATED,this._onRemoveListener.bind(this,"authenticated")),this.onRemoveListener(s.J.CONNECTION_ID,this._onRemoveListener.bind(this,"connection_id")),this._pluginMediator.onAddListener(l.O.TRANSPORT_CONNECT,this._onAddListener.bind(this,"transport_connect")),this._pluginMediator.onAddListener(l.O.TRANSPORT_AUTHENTICATE,this._onAddListener.bind(this,"transport_authenticate")),this._pluginMediator.onRemoveListener(l.O.TRANSPORT_CONNECT,this._onRemoveListener.bind(this,"transport_connect")),this._pluginMediator.onRemoveListener(l.O.TRANSPORT_AUTHENTICATE,this._onRemoveListener.bind(this,"transport_authenticate")),"fetch"!==this._requestMode||this._Fetch&&this._Fetch.isSupported()||(ee.warn('Default "fetch" request mode unavailable; Fallback to "xhr"'),this._requestMode="xhr");const e=this._pluginMediator;e.addListeners({[l.O.PLUGIN_DISCONNECTED]:this._onPluginDisconnected.bind(this)}),this.proxyEmit(e,l.O.PLUGIN_CONNECTION_INFO,s.J.CONNECTION_ID),this._disableAutoLogout||this.matchMessages("client:logout",(()=>this._onLogout())),this._connectionObserver.on(s.J.CONNECTION_ONLINE,(()=>this._onOnline())),this._connectionObserver.on(s.J.CONNECTION_OFFLINE,(()=>this._onOffline())),this._connectionObserver.on(s.J.WINDOW_BEFORE_UNLOAD,(()=>this._disconnect(r.WINDOW_BEFORE_UNLOAD)))}_runStateAwareQueues(e,t){const n=this._stateAwareListeners[e].splice(0);try{for(const e of n)e.call(this,t)}finally{this._stateAwareRunners[e]=null}}_connect(){return this._stateMask&re?Promise.resolve(!1):this._connectionObserver.isOnline()?this._performConnect():new Promise(((e,t)=>{ee.info("Waiting to go online before connecting"),this._connectionObserver.once(s.J.CONNECTION_ONLINE,(()=>{this._performConnect().then(e,t)}))}))}_performConnect(){return new Promise((e=>{ee.info("Resolving endpoints"),e(this._endpointsProvider(this.toPublic()))})).catch((e=>{const t=(null==e?void 0:e.code)?e:new q(a.L.TRANSPORT_ENDPOINTS_PROVIDER_ERROR,(null==e?void 0:e.message)||"Endpoints provider error",null!=e?e:null);return ee.error("Endpoints resolution failed",t),Promise.reject(t)})).then(this._connectToEndpoints).then(this._onConnected).catch((e=>{const t=e&&e.error?e.error:e;return this.emit(s.J.CONNECTION_FAILED,{error:t}),ee.error("Connection failed",t),Promise.reject(t)}))}_connectToEndpoints(e){const t={webgate:"",webapi:""};for(const n in e){if(!e.hasOwnProperty(n))continue;let i=e[n];i&&(ne.test(i)&&(i+="/"),t[n]=i)}this._endpoints=t,this.emit(s.J.ENDPOINTS_RESOLVED,{endpoints:Object.assign({},t)}),ee.info("Endpoints resolved");const n=[],i=e=>{n.push(e)};return ee.info("Waiting for plugins to connect"),new Promise(((e,o)=>{this._pluginMediator.emitAndWait(l.O.TRANSPORT_CONNECT,{endpoints:Object.assign({},t),awaitPromise:i},(()=>{Promise.all(n).then((()=>e(!0)),o)}))}))}_refreshToken(e=!1){if(this._refreshTokenPromise)return this._refreshTokenPromise;if(!e&&this._lastToken&&this._lastTokenExpiry>Date.now())return Promise.resolve(this._lastToken);this._refreshTokenPromise=new Promise((e=>{ee.info("Requesting token from provider"),e(this._tokenProvider())})).then(this._parseProvidedToken);const t=()=>{this._refreshTokenPromise=null};return this._refreshTokenPromise.then(t,t),this._refreshTokenPromise.catch((e=>{const t=(null==e?void 0:e.code)?e:new q(a.L.TRANSPORT_TOKEN_PROVIDER_ERROR,(null==e?void 0:e.message)||"Token provider error",e);return this.emit(s.J.TOKEN_PROVIDER_ERROR,{error:t}),ee.error("Token provider error",t),Promise.reject(t)}))}_parseProvidedToken(e){let t,n=3540;if(Array.isArray(e)?(t=e[0],n="string"==typeof e[1]?parseInt(e[1],10):e[1],"number"==typeof n&&isFinite(n)||(n=3540)):t=e,!t)throw this._lastToken=null,this._lastTokenExpiry=0,ee.error("No token was provided"),new q(a.L.TRANSPORT_INVALID_TOKEN,`Token provider returned an invalid token, "${t}"`);if(this._lastToken===t){ee.error("TokenProvider returned same token twice.");const e=new q(a.L.TRANSPORT_STALE_TOKEN,"Token provider returned the same token twice.");throw this._lastToken=null,this._lastTokenExpiry=0,e}return this._lastToken=t,this._lastTokenExpiry=Date.now()+1e3*n,this.emit(s.J.ACCESS_TOKEN,{token:t}),ee.info("Access token set"),t}_authenticateWithToken(e){if(!this._endpoints)return Promise.resolve(!0);const t=[],n=e=>{t.push(e)};return ee.info("Waiting for plugins to authenticate"),new Promise(((i,o)=>{this._pluginMediator.emitAndWait(l.O.TRANSPORT_AUTHENTICATE,{token:e,awaitPromise:n},(()=>{Promise.all(t).then((()=>i(!0)),o)}))}))}_authenticate(e){if(!(this._stateMask&re))return Promise.reject(new q(a.L.TRANSPORT_INVALID_STATE,"Cannot authenticate disconnected transport."));if(this._authenticationPromise)return this._authenticationPromise;const t=Q.create();return t.start(),this._authenticationPromise=Y.init((()=>(ee.info("Authenticating"),this._refreshToken(e).then(this._authenticateWithToken))),{curve:"exponential",maxRetries:2,baseTime:500,retryPredicate:e=>(ee.warn("Retrying authentication due to failure",e),!0)}).then((()=>this._onAuthenticated(t))).catch((e=>this._onAuthenticationFailed(e,t))),this._authenticationPromise}_performDisconnect(e){this._stateMask=0;const t=!e;return e&&(this.emit(s.J.DISCONNECTED,{reason:e}),ee.info("Disconnected")),ee.info("Waiting for plugins to disconnect."),this._pluginMediator.emitSync(l.O.TRANSPORT_DISCONNECT,{supressed:t}),!0}_createReconnector(){let e=!1;return()=>(this._isReconnecting=!0,this.emit(s.J.RECONNECTING,null),ee.info("Reconnecting"),this._performDisconnect(),this._connect().then((()=>!!this._authenticateCalled&&this._authenticate(e).then((t=>(e=!1,t)),(t=>(e=!0,Promise.reject(t)))))).then((()=>(this._isReconnecting=!1,this.emit(s.J.RECONNECTED,null),ee.info("Reconnected"),!0))))}_tryToReconnect(){this._isReconnecting?ee.warn("Reconnection triggered while already reconnecting"):(this._stateMask=0,Y.init(this._createReconnector(),{baseTime:1e3,maxTime:15e3,maxRetries:this._reconnectionRetries,retryPredicate:e=>(ee.warn("Retrying reconnection due to failure",e),!0)}).catch((()=>{this._stateMask=0,this._isReconnecting=!1,this.emit(s.J.DISCONNECTED,{reason:r.RECONNECTION_FAILED}),ee.info("Disconnected: reconnection failed")})))}_sendRequest(e,t={},n={}){const i=t.signal;return(null==i?void 0:i.aborted)?Promise.reject(I(e,i)):this._processRequestArgs(e,t).then((t=>(null==i?void 0:i.aborted)?Promise.reject(I(e,i)):t.options.forget?this._sendFireAndForgetRequest(t):this._sendRetriedRequest(t,n)))}_processRequestArgs(e,t={}){var n,i;if(null===(n=t.signal)||void 0===n?void 0:n.aborted)return Promise.reject(I(e,t.signal));let o=e,r=!1;const a=Object.assign(Object.assign({},t),{forcePolyfill:!(!t.responseType||!(t.responseType in this._forcePolyfillTypes)),requestMode:null!==(i=null==t?void 0:t.requestMode)&&void 0!==i?i:this._requestMode,connectionObserver:this._connectionObserver,metadata:(null==t?void 0:t.metadata)||null});if((null==t?void 0:t.signal)&&!S()&&("fetch"===t.requestMode?ee.warn("Request with `{requestMode: fetch}` but no native AbortController."):a.requestMode="xhr"),te.test(o)){r=!0;try{o=this._tryExpandSpecialURL(o)}catch(e){return Promise.reject(e)}"authorize"in a||(a.authorize=!0,a.autoAuthorized=!0)}const s=Object.assign(Object.assign({maxRetries:2,curve:"exponential"},t.retry),{retryPredicate:e=>!(e instanceof _)});return Promise.resolve($.create(o,{method:t.method,headers:t.headers,payload:t.payload,options:a,urlExpanded:r,retryOptions:s}))}_tryExpandSpecialURL(e){const t=this._endpoints;return e.replace(te,((e,n)=>{if(!t.hasOwnProperty(n))throw new TypeError(`Cannot replace endpoint @${n}: endpoint not defined.`);return t[n]}))}_sendFireAndForgetRequest(e){var t;const{url:n,method:i,options:o}=e;if(null===(t=o.signal)||void 0===t?void 0:t.aborted)return Promise.reject(I(n,o.signal));if("GET"!==i&&"POST"!==i)return Promise.reject(new q(a.L.TRANSPORT_UNSUPPORTED_OPTION,`Option 'forget' cannot be used for ${i} request.`));if(!o.autoAuthorized&&o.authorize)return Promise.reject(new q(a.L.TRANSPORT_UNSUPPORTED_OPTION,"Option 'forget' cannot be used for authorized request."));if(o.requestMode="xhr",o.authorize=!1,o.ignoreResponseBody=!0,"GET"===i)if("function"==typeof fetch){const e={mode:"no-cors"};o.signal&&S()&&(e.signal=o.signal),fetch(n,e).catch((()=>{}))}else"function"==typeof Image?(new Image).src=n:this._sendRetriedRequest(e,{}).catch((()=>{}));else if("POST"===i)if("undefined"!=typeof navigator&&(null===navigator||void 0===navigator?void 0:navigator.sendBeacon)){const t=e.headers.get("content-type");navigator.sendBeacon(e.url,"string"==typeof e.payload&&t?new Blob([e.payload],{type:t}):e.payload)}else if("function"==typeof fetch){const t=e.headers.get("content-type"),i={method:"POST",body:e.payload,headers:t?{"content-type":t}:void 0};o.signal&&S()&&(i.signal=o.signal),fetch(n,i).catch((()=>{}))}else this._sendRetriedRequest(e,{}).catch((()=>{}));return Promise.resolve(new k(n,0))}_sendRetriedRequest(e,t){const n=e.retryOptions,i=e.options.signal;let o=!1;const r=()=>(null==i?void 0:i.aborted)?Promise.reject(I(e.url,i)):this._setAuthHeader(e,o),a=this._connectionObserver,c=new Y((()=>{let c;return c=a.isOnline()||e.options.allowOffline?r():new Promise(((e,t)=>{a.once(s.J.CONNECTION_ONLINE,(()=>{r().then(e,t)}))})),c.then((()=>{if(null==i?void 0:i.aborted)return Promise.reject(I(e.url,i));let n;if(this._pluginMediator.emitSync(l.O.TRANSPORT_BEFORE_SEND_REQUEST,{request:e,context:t}),"fetch"===e.options.requestMode&&this._Fetch&&this._Fetch.isSupported())n=this._Fetch.request(e);else{if(!this._XHR)throw new Error("No available request mechanisms.");n=this._XHR.request(e)}return n})).then((t=>{if(null==i?void 0:i.aborted)return Promise.reject(I(e.url,i));let r=null;if(t.headers&&(r=t.headers.get("Retry-After")),t.status===P.s.UNAUTHORIZED&&!e.options.ignoreUnauthorized)return o=!0,Promise.reject(t);if("function"==typeof(null==n?void 0:n.condition)&&(n.condition(t,J.t)||r)){if(null!==r)if(ie.test(r))t.retryAfter=new Date(r).getTime()-Date.now();else{const e=parseInt(r,10);e>0&&(t.retryAfter=1e3*e)}return Promise.reject(t)}return Promise.resolve(t)}))}),n);return c.start().catch(this._handleRetriedRequestError).then((n=>(null==i?void 0:i.aborted)?Promise.reject(I(e.url,i)):(n.metadata=e.options.metadata,n.retries=n.retries||{count:0},n.retries.count=c.getRetryCount(),this._pluginMediator.emitSync(l.O.TRANSPORT_BEFORE_RETURN_RESPONSE,{context:t,response:n}),e.options.rejectNotOk&&!n.ok?Promise.reject(n):n)))}_setAuthHeader(e,t){if(!e.options.authorize)return Promise.resolve(e);const n=()=>this._refreshToken(t).then((t=>(e.headers.set("Authorization",`Bearer ${t}`),e)));return this._stateMask&ae?n():new Promise(((e,t)=>{ee.info("Auth header setting awaiting authentication."),this.once(s.J.AUTHENTICATED,(()=>{ee.info("Auth header set after authentication."),n().then(e,t)}))}))}_handleRetriedRequestError(e){return e instanceof k?Promise.resolve(e):Promise.reject(e)}_onAddListener(e,t){const n=t.data.options;if(n.ignoreCurrentState)return;let i;switch(e){case"connected":if(!this.isConnected())return;i=Promise.resolve(this.createEvent(s.J.CONNECTED,null));break;case"authenticated":{if(!this.isAuthenticated())return;const e=this._stateAwareOperationMetrics.authenticated;i=Promise.resolve(this.createEvent(s.J.AUTHENTICATED,{timing:e}));break}case"connection_id":{const e=this.getPluginAPI("dealer");if(!e||!e.hasConnectionInfo())return;i=e.getConnectionInfo().then((e=>this.createEvent(s.J.CONNECTION_ID,e)));break}case"transport_connect":if(!this.isConnected()||!this._endpoints)return;i=Promise.resolve(this._pluginMediator.createEvent(l.O.TRANSPORT_CONNECT,{endpoints:Object.assign({},this._endpoints),awaitPromise:e=>{}}));break;case"transport_authenticate":if(!this.isAuthenticated())return;i=this._refreshToken().then((e=>this._pluginMediator.createEvent(l.O.TRANSPORT_AUTHENTICATE,{token:e,awaitPromise:e=>{}})));break;default:return}const o=t.data.listener;this._stateAwareListeners[e].push(o);const r=this._stateAwareRunners;r[e]||(r[e]=i.then(this._runStateAwareQueues.bind(this,e)),n.once&&t.preventDefault())}_onRemoveListener(e,t){const n=t.data.options;if(n.ignoreCurrentState||n.once)return;const i=t.data.listener,o=this._stateAwareListeners[e].indexOf(i);-1!==o&&this._stateAwareListeners[e].splice(o,1)}_getQuickDisconnectTimeout(){return this._counter.getTime(this._quickDisconnectCount)}_onPluginDisconnected(e){const t=Date.now(),n=t-this._lastDisconnect;if(this._performDisconnect(),e.data.code===K.W.CLOSE)return ee.info(`Plugin "${e.data.plugin}" explicitly disconnected`),void(this._quickDisconnectCount=0);this._connectionObserver.isOnline()&&(ee.info(`Plugin "${e.data.plugin}" unexpectedly disconnect; trying to reconnect`),n<5e3?(this._reconnectTimeout&&clearTimeout(this._reconnectTimeout),this._quickDisconnectCount++,this.emit(s.J.SHORT_SESSION_DISCONNECTED,{disconnectCount:this._quickDisconnectCount,sessionLength:n}),this._reconnectTimeout=setTimeout(this._tryToReconnect.bind(this),this._getQuickDisconnectTimeout())):(this._quickDisconnectCount=0,this._lastDisconnect=t,this._tryToReconnect()))}_onOnline(){this.emit(s.J.CONNECTION_ONLINE,null),ee.info("ConnectionObserver online"),this._connectCalled&&this._tryToReconnect()}_onOffline(){this.emit(s.J.CONNECTION_OFFLINE,null),ee.info("ConnectioObserver offline"),this._performDisconnect()}_onConnected(){return this._stateMask|=re,this.emit(s.J.CONNECTED,null),ee.info("Connected"),Promise.resolve(!0)}_onAuthenticated(e){e.end(),clearTimeout(this._reconnectTimeout),this._authenticationPromise=null,this._stateMask|=ae,this._initTime=Date.now();const t=e.getMetrics();return this.emit(s.J.AUTHENTICATED,{timing:t}),this._stateAwareOperationMetrics.authenticated=t,ee.info("Authenticated"),Promise.resolve(!0)}_onAuthenticationFailed(e,t){t.end();const n=e&&e.error?e.error:e;this._authenticationPromise=null,this._stateMask&=~ae;const i={error:n,timing:t.getMetrics()};return this.emit(s.J.AUTHENTICATION_FAILED,i),this._pluginMediator.emit(l.O.TRANSPORT_AUTHENTICATE_FAILED,i),ee.info("Authentication failed",n),Promise.reject(n)}_onLogout(){const e=()=>{this._lastToken=null,this._lastTokenExpiry=0,this.emit(s.J.LOGGED_OUT,null)};this._disconnect(r.LOG_OUT).then(e,e)}_disconnect(e){if(!this._connectCalled)return Promise.resolve(!1);this._connectCalled=!1,this._authenticateCalled=!1;const t=this.isConnected()?s.J.BEFORE_ONLINE_DISCONNECT:s.J.BEFORE_OFFLINE_DISCONNECT,n=[];return this.emitSync(t,{awaitPromise:e=>{n.push(e.catch((()=>{})))}}),Promise.all(n).then((()=>this._performDisconnect(e)))}isConnected(){return!!(this._stateMask&re)}isAuthenticated(){return!!(this._stateMask&ae)}isReconnecting(){return this._isReconnecting}isOnline(){return this._connectionObserver.isOnline()}connect(){return this._connectCalled=!0,this._connect()}authenticate(){return this._authenticateCalled=!0,this._authenticate(!0)}disconnect(){return this._disconnect(r.EXPLICIT)}forceDisconnect(){return this._connectCalled?(this._connectCalled=!1,this._authenticateCalled=!1,this._performDisconnect(r.EXPLICIT),Promise.resolve(!0)):Promise.resolve(!1)}forceTokenRefresh(){return this._refreshToken(!0).then((()=>!0))}getInitTime(){return this._initTime}getEndpoints(){return this._endpoints?Object.assign({},this._endpoints):null}getLastToken(){return this._lastToken}toPublic(e){return new Z(this,e)}hasOwnerRef(e){return this._ownerRef===e}appendTokenQuery(e){return this._refreshToken().then((t=>se(e,t)))}appendLastTokenQuery(e){return this._lastToken?se(e,this._lastToken):e}matchMessages(e,t,n){if(!e)throw new TypeError('Message "matcher" cannot be null.');if("function"!=typeof t)throw new TypeError("Message callback cannot be null.");const i=i=>{const o=i.data.message;!o.uri||!o.uri.match(e)||n&&n!==i.data.plugin||t(o)};i.__matchMessagesExp=e,i.__matchMessagesPlugin=n,t.__matchMessagesWrapper=i,this._pluginMediator.on(l.O.PLUGIN_MESSAGE,i)}unmatchMessages(e,t,n){if("function"!=typeof t)throw new TypeError("Message callback cannot be null.");const i=t.__matchMessagesWrapper;return!(!i||i.__matchMessagesExp!==e||i.__matchMessagesPlugin!==n)&&(this._pluginMediator.removeListener(l.O.PLUGIN_MESSAGE,i),!0)}handlePushRequests(e,t,n){if(!e)throw new TypeError('Push request "matcher" cannot be null.');if("function"!=typeof t)throw new TypeError("Push request callback cannot be null.");const i=i=>{const o=i.data.request;!o.message_ident||!o.message_ident.match(e)||n&&n!==i.data.plugin||Promise.resolve(t(o)).then(i.data.reply)};i.__matchRequestExp=e,i.__matchRequestPlugin=n,t.__matchRequestWrapper=i,this._pluginMediator.on(l.O.PLUGIN_REQUEST,i)}unhandlePushRequests(e,t,n){if("function"!=typeof t)throw new TypeError("Push request callback cannot be null.");const i=t.__matchRequestWrapper;return!(!i||i.__matchRequestExp!==e||i.__matchRequestPlugin!==n)&&(this._pluginMediator.removeListener(l.O.PLUGIN_REQUEST,i),!0)}request(e,t){var n;const i={uri:e,options:t,context:{}};this._pluginMediator.emitSync(l.O.TRANSPORT_BEFORE_PROCESS_REQUEST,i);const o=this._sendRequest.bind(this,i.uri,i.options,i.context);if(!this._endpoints&&te.test(i.uri))return ee.info("Request queued until endpoints resolved",i.uri),new Promise(((e,t)=>{this.once(s.J.ENDPOINTS_RESOLVED,(()=>{ee.info("Sending endpoints-queued request",i.uri),o().then(e,t)}))}));return!this._connectionObserver.isOnline()&&!(null===(n=i.options)||void 0===n?void 0:n.allowOffline)?(ee.info("Request queued until online",i.uri),new Promise(((e,t)=>{this.once(s.J.CONNECTION_ONLINE,(()=>{ee.info("Sending offline-queued request",i.uri),o().then(e,t)}))}))):o()}addPlugin(e,t){const n=e(this,t),i=n.name;if(this._plugins[i])throw new TypeError("Plugin is already added.");return n.attach(this,this._pluginMediator),this._plugins[i]=n,i}removePlugin(e){const t=this._plugins[e];return!!t&&(t.detach(this,this._pluginMediator),this._plugins[e]=void 0,!0)}hasPlugin(e){return!!this._plugins[e]}getPluginAPI(e){const t=this._plugins[e];return t&&t.api?t.api:null}getConnectionId(e="dealer"){const t=this._plugins[e];return t?t.api&&function(e){return"getConnectionInfo"in e.api}(t)?t.api.getConnectionInfo().then((e=>e.id)):Promise.reject(new TypeError(`Plugin ${t} is not a socket plugin.`)):Promise.reject(new TypeError(`Cannot retrieve connection id for plugin ${t}.`))}removeAllListeners(){return this}}class le{constructor(e){this._headers={},this._init(e)}_init(e){if(e){const t=e.split("\r\n");for(const e of t){const t=e.indexOf(": ");if(t>0){const n=e.substring(0,t).toLowerCase(),i=e.substring(t+2);this._headers[n]=i}}}}get(e){return this._headers[e.toLowerCase()]||null}has(e){return this._headers.hasOwnProperty(e.toLowerCase())}}const ue=C.m.forTag("transport.http.xhr"),de=function(){},pe={json:!0,text:!0,document:!0};function he(){this.onabort=de,this.onerror=de,this.onload=de,this.onloadend=de}function fe(e,t,n){var i,o;if(null===(i=e.options.signal)||void 0===i?void 0:i.aborted)return;const r=(0,R.X)(),a=this.status,s=new k(this.responseURL||e.url,a);s.body=null;const c=e.options;if(c.timing&&(s.timing={completed:(0,R.r)(t,r)}),(null===(o=c.connectionObserver)||void 0===o?void 0:o.isOnline)&&(s.offline=!c.connectionObserver.isOnline()),(c.parseResponseHeaders||a>299)&&(s.headers=new le(this.getAllResponseHeaders())),!c.ignoreResponseBody&&a!==P.s.NO_CONTENT){const e=c.responseType||"";if(!c.forcePolyfill&&"response"in this&&e===this.responseType)s.body=this.response;else if("document"===e)s.body=this.responseXML;else if("json"===e)try{s.body=JSON.parse(this.responseText)}catch(e){ue.warn("Could not parse response as JSON:",e),s.body=null}else"text"!==e&&""!==e||(s.body=this.responseText)}n(s)}function me(e,t,n){4===this.readyState?t(new k(this.responseURL||e,this.status)):n(new m("Request cannot be completed.",a.L.HTTP_REQUEST_FAILED,this.status,e))}function _e(e){const t=e.options.signal;return new Promise(((n,i)=>{if(null==t?void 0:t.aborted)return void i(I(e.url,t));const o=new XMLHttpRequest;let r=e.url;if(!r)return void i(new TypeError("Request URL cannot be blank."));let a=null;const s=e.method||"GET",c=e.payload||"";s in N&&!0===N[s]&&c?a=c:c&&(r+=`?${c}`),o.open(s,r,!0),o.onerror=me.bind(o,r,n,i),o.onabort=he,o.onloadend=he,o.onprogress=de;const l=e.options;"include"===l.credentials&&(o.withCredentials=!0);const u=l.responseType;if(u)if(l.forcePolyfill){if(!(u in pe))return void i(new TypeError(`Cannot polyfill responseType "${u}"`))}else{if(!("responseType"in o)&&!(u in pe))return void i(new TypeError("Cannot set responseType: not supported in browser."));try{o.responseType=u}catch(e){return void i(new TypeError(`Unknown responseType "${u}".`))}if(o&&u!==o.responseType&&!(u in pe))return void i(new TypeError(`Unknown responseType "${u}".`))}const d=e.headers.count()?e.headers.toJSON():null;if(d)for(const e in d)if(d.hasOwnProperty(e)&&d[e])try{o.setRequestHeader(e,d[e])}catch(e){return void i(e)}t&&t.addEventListener("abort",(function e(){t.removeEventListener("abort",e),o.abort(),i(I(r,t))})),o.onload=fe.bind(o,e,(0,R.X)(),n);try{o.send(a)}catch(e){return void i(e)}}))}function ge(e){return _e(e)}var Ee=n(80483);function ve(){return()=>Promise.resolve({webgate:"https://www.spotify.com/api/",webapi:"https://api.spotify.com"})}function ye(){return()=>Promise.resolve("NOT_A_TOKEN")}function be(){return{endpoints:ve(),token:ye()}}const Se="request-transformer";class Te{constructor(e){this.name=Se,this._uriTransformer=e.uriTransformer,this._optionsOverrides=e.optionsOverrides,this._include=e.include,this._processRequest=this._processRequest.bind(this)}_processRequest(e){var t,n;const i=e.data;if((null===(n=null===(t=i.options)||void 0===t?void 0:t.metadata)||void 0===n?void 0:n.noRequestTransform)||this._include&&!this._include(i.uri,i.options))return;this._uriTransformer&&(i.uri=this._uriTransformer(i.uri));const o=this._optionsOverrides;if(o)if(i.options){const e=Object.assign(Object.assign(Object.assign({},i.options),o),{metadata:Object.assign(Object.assign({},i.options.metadata),o.metadata),retry:Object.assign(Object.assign({},i.options.retry),o.retry),headers:Object.assign(Object.assign({},i.options.headers),o.headers)});i.options=e}else i.options=o}attach(e,t){t.on(l.O.TRANSPORT_BEFORE_PROCESS_REQUEST,this._processRequest)}detach(e,t){t.removeListener(l.O.TRANSPORT_BEFORE_PROCESS_REQUEST,this._processRequest)}}function Ae(e,t){return new Te(t)}function Ie(e){const t=Object.assign({},e);return t.XHR||(t.XHR=o),t.Fetch=i,ce.create(t)}function Oe(e){const t=Ie(e);return t.addPlugin(O.kJ,{WebSocket}),t}},48500:(e,t,n)=>{"use strict";n.d(t,{dW:()=>c});var i=n(80117),o=n(36051);const r=i.m.forTag("transport.client_token");function a(e,t){const n=e.getStatusFamily();return n===t.SERVER_ERROR||n===t.CONNECTION_ERROR}class s{constructor(e){this._inFlightPromise=null,this.name="client-token",this._clientInfo=e.clientInfo,this._onBeforeSendRequest=this._onBeforeSendRequest.bind(this),this._onAuthenticate=this._onAuthenticate.bind(this)}_fetchClientToken(e){if(null!==this._inFlightPromise)return this._inFlightPromise;const{clientVersion:t,clientID:n,deviceBrand:i,deviceModel:o,os:s,osVersion:c,containerVersion:l,deviceID:u,deviceType:d,platformIdentifier:p}=this._clientInfo,h={client_data:{client_version:t,client_id:n,js_sdk_data:{device_brand:i,device_model:o,os:s,os_version:c,container_version:l,device_id:u,device_type:d,platform_identifier:p}}};return this._inFlightPromise=e.request("https://clienttoken.spotify.com/v1/clienttoken",{method:"POST",responseType:"json",payload:JSON.stringify(h),headers:{"content-type":"application/json",accept:"application/json"},retry:{maxRetries:2,condition:a},authorize:!1,metadata:{skipClientToken:!0}}).then((e=>{var t;const n=(new Date).getTime()/1e3,i=null===(t=e.body)||void 0===t?void 0:t.granted_token;i&&(this._clientToken=i.token,this._refresh=n+i.refresh_after_seconds,this._domains=i.domains.map((e=>e.domain))),this._inFlightPromise=null})).catch((e=>{r.warn(`could not fetch client token for ${JSON.stringify(this._clientInfo)}`),r.warn(e),this._inFlightPromise=null})),this._inFlightPromise}_onAuthenticate(e){this._transport&&e.data.awaitPromise(this._fetchClientToken(this._transport))}_onBeforeSendRequest(e){var t,n;const i=e.data.request;if(null===(n=null===(t=i.options)||void 0===t?void 0:t.metadata)||void 0===n?void 0:n.skipClientToken)return;const o=(new Date).getTime()/1e3;(!this._refresh||this._refresh<o)&&this._transport&&this._fetchClientToken(this._transport);const r=function(e){const t=e.match(/(?:https?:\/\/)?([^\/]+)/);return(null==t?void 0:t[1])?t[1]:e}(i.url);this._clientToken&&this._domains&&this._domains.some((e=>{return n=e,(t=r).length>=n.length&&t.lastIndexOf(n)===t.length-n.length;var t,n}))&&i.headers.set("client-token",this._clientToken)}getClientToken(){return this._clientToken}getTokenRefresh(){return this._refresh}getTokenDomains(){return this._domains}attach(e,t){t.on(o.O.TRANSPORT_AUTHENTICATE,this._onAuthenticate),t.on(o.O.TRANSPORT_BEFORE_SEND_REQUEST,this._onBeforeSendRequest),this._transport=e}detach(e,t){t.removeListener(o.O.TRANSPORT_AUTHENTICATE,this._onAuthenticate),t.removeListener(o.O.TRANSPORT_BEFORE_SEND_REQUEST,this._onBeforeSendRequest),this._clientToken=void 0,this._refresh=void 0,this._transport=void 0,this._domains=void 0}}function c(e,t){return new s(t)}},92232:(e,t,n)=>{"use strict";var i;n.d(t,{IL:()=>m,xJ:()=>i,kJ:()=>g}),function(e){e.DEALER_CONNECTION_ERROR="DEALER_CONNECTION_ERROR",e.DEALER_AUTHENTICATION_FAILED="DEALER_AUTHENTICATION_FAILED",e.DEALER_ERROR="DEALER_ERROR",e.DEALER_DISCONNECTED_BEFORE_EVENTS="DEALER_DISCONNECTED_BEFORE_EVENTS",e.ENDPOINT_NOT_DEFINED="ENDPOINT_NOT_DEFINED",e.INVALID_ENDPOINT="INVALID_ENDPOINT"}(i||(i={}));var o,r=n(36051);class a extends Error{constructor(e=i.DEALER_ERROR,t,n={}){super(t),this.name="DealerError",this.message=t,this.code=e,this.raw=n,this.wsCode=n.code||null,this.wsReason=n.reason||null}}!function(e){e.AUTHENTICATED="authenticated",e.AUTHENTICATION_FAILED="authentication_failed",e.CONNECTED="connected",e.CONNECTION_ID="connection_id",e.ERROR="error",e.DISCONNECTED="disconnected",e.MESSAGE="message",e.REQUEST="request"}(o||(o={}));var s=n(80521),c=n(30353),l=n(36722),u=n(84686).hp;const d=function(){},p=/hm:\/\/pusher\/(?:[^]+)?\/connections\/([^]+)/,h="undefined"!=typeof window;class f extends s.bk{constructor(e){super(),this._socket=null,this._lastPingDeferred=null,this._waitingForConnectionId=!0,this._connectionId=null,this._connectionURI=null,this._heartbeatToken=0,this._heartbeatTimeoutToken=0,this._connected=!1,this._endpoint=null,this._closeBeforeEventsRejector=null,this._WebSocket=e.WebSocket||WebSocket,this._heartbeatTimeout=e.heartbeatTimeout||1e4}static create(e){return new f(e)}_startHeartbeat(e){const t=()=>{this.ping().then((()=>this._onHeartbeatSuccess()),(()=>this._onHeartbeatError())),this._heartbeatTimeoutToken=setTimeout((()=>this._onHeartbeatError()),this._heartbeatTimeout)};e?t():this._heartbeatToken=setTimeout((()=>t()),3e4)}_onHeartbeatError(){this._stopHeartbeat(),this._socket&&this._socket.close(l.W.TIMEOUT,"internal-timeout")}_onHeartbeatSuccess(){this._stopHeartbeat(),this._startHeartbeat()}_stopHeartbeat(){null!==this._heartbeatToken&&clearTimeout(this._heartbeatToken),null!==this._heartbeatTimeoutToken&&clearTimeout(this._heartbeatTimeoutToken)}_prepareConnectionId(e){var t;if(!e.uri)return!1;const[,n]=null!==(t=e.uri.match(p))&&void 0!==t?t:[];if(!n)return!1;let i;return i=e.headers&&e.headers["Spotify-Connection-Id"]?e.headers["Spotify-Connection-Id"]:decodeURIComponent(n),this._connectionId=i,this._connectionURI=e.uri,this.emit(o.CONNECTION_ID,{id:i,uri:e.uri}),!0}_reply(e,t){if(!e)throw new TypeError("Invalid key.");const n=this._socket;if(!n||1!==n.readyState)return;const i={type:"reply",key:e,payload:t};n.send(JSON.stringify(i))}_parseMessage(e){let t;try{t=JSON.parse(e)}catch(e){return}if("message"===t.type)this._waitingForConnectionId&&this._prepareConnectionId(t)?(this._waitingForConnectionId=!1,this._startHeartbeat(!0)):this.emit(o.MESSAGE,{message:t});else if("pong"===t.type&&this._lastPingDeferred)this._lastPingDeferred.resolve(!0),this._lastPingDeferred=null;else if("request"===t.type){const e=t.key;e&&this.emit(o.REQUEST,{request:t,reply:this._reply.bind(this,e)})}}_handleOpen(e){e.resolve(!0),this._connected=!0,this.emit(o.AUTHENTICATED,null)}_handleMessage(e){const t=this,n=e.data;if(h&&window.Blob&&n instanceof window.Blob){const e=new FileReader;e.onloadend=function(){if(!this.result)return;let e;if(this.result instanceof ArrayBuffer){e="";const t=new Uint8Array(this.result);for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n])}else e=this.result;t._parseMessage(e)},e.readAsText(n)}else void 0!==u&&"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer?this._parseMessage(new u(n).toString("ascii")):this._parseMessage(n)}_handleClose(e){const t=this._connected;if(this._connected=!1,t)this.emitSync(o.DISCONNECTED,{wsCode:e.code,reason:e.reason});else{const t=new a(i.DEALER_AUTHENTICATION_FAILED,"Dealer connection error",e);this.emit(o.AUTHENTICATION_FAILED,{error:t})}}_handleError(e){const t=new a(i.DEALER_CONNECTION_ERROR,"Cannot connect to dealer");e.reject(t),this._connected=!1,this.emit(o.ERROR,{error:t})}_handleDisconnectBeforeEvents(e){e.reject(new a(i.DEALER_DISCONNECTED_BEFORE_EVENTS,"Dealer disconnected before events"))}connect(e){return this._endpoint=e,this._waitingForConnectionId=!0,this.emit(o.CONNECTED,null),Promise.resolve(!0)}authenticate(e){const t=(0,c.u)(),n=`${this._endpoint}?access_token=${e}`,i=this._socket=new this._WebSocket(n);return i.onopen=this._handleOpen.bind(this,t),i.onclose=this._handleClose.bind(this),i.onerror=this._handleError.bind(this,t),i.onmessage=this._handleMessage.bind(this),this._closeBeforeEventsRejector=this._handleDisconnectBeforeEvents.bind(this,t),t.promise}disconnect(){var e;this._socket&&(this._stopHeartbeat(),this._waitingForConnectionId=!0,this._connected=!1,this._socket.close(l.W.CLOSE,"internal-close"),this._socket.onopen=d,this._socket.onerror=d,this._socket.onmessage=d,this._socket.onclose=d,this._socket=null,null===(e=this._closeBeforeEventsRejector)||void 0===e||e.call(this),this.emitSync(o.DISCONNECTED,{wsCode:l.W.CLOSE,reason:"internal-close"}))}ping(){return this._socket&&1===this._socket.readyState?(this._lastPingDeferred=(0,c.u)(),this._socket.send('{"type":"ping"}'),this._lastPingDeferred.promise):Promise.reject(new a(i.DEALER_CONNECTION_ERROR,"Dealer connection error"))}getConnectionId(){return this._waitingForConnectionId?new Promise((e=>{this.once(o.CONNECTION_ID,(t=>{e(t.data.id)}))})):Promise.resolve(this._connectionId)}getConnectionInfo(){return this._waitingForConnectionId?new Promise((e=>{this.once(o.CONNECTION_ID,(t=>{e({id:t.data.id,uri:t.data.uri})}))})):Promise.resolve({id:this._connectionId,uri:this._connectionURI})}hasConnectionId(){return!this._waitingForConnectionId&&!!this._connectionId}}const m="dealer";class _{constructor(e){this.name=m,this._dealer=new f(e),this.api={hasConnectionInfo:()=>this._dealer.hasConnectionId(),getConnectionInfo:()=>this._dealer.getConnectionInfo().then((e=>Object.assign({plugin:this.name},e)))},this._onDealerConnectionId=this._onDealerConnectionId.bind(this),this._onDealerDisconnected=this._onDealerDisconnected.bind(this),this._onDealerMessage=this._onDealerMessage.bind(this),this._onDealerRequest=this._onDealerRequest.bind(this),this._onTransportConnect=this._onTransportConnect.bind(this),this._onTransportAuthenticate=this._onTransportAuthenticate.bind(this),this._onTransportDisconnect=this._onTransportDisconnect.bind(this)}_onDealerConnectionId(e){this._mediator&&this._mediator.emit(r.O.PLUGIN_CONNECTION_INFO,Object.assign({plugin:this.name},e.data))}_onDealerDisconnected(e){if(!this._mediator)return;const t=e.data;this._mediator.emit(r.O.PLUGIN_DISCONNECTED,{plugin:this.name,code:t.wsCode,reason:t.reason})}_onDealerMessage(e){this._mediator&&this._mediator.emit(r.O.PLUGIN_MESSAGE,Object.assign({plugin:this.name},e.data))}_onDealerRequest(e){this._mediator&&this._mediator.emit(r.O.PLUGIN_REQUEST,Object.assign({plugin:this.name},e.data))}_onTransportConnect(e){const t=e.data.endpoints,n=e.data.awaitPromise;t.dealer?/^wss:/.test(t.dealer)?n(this._dealer.connect(t.dealer)):n(Promise.reject(new a(i.INVALID_ENDPOINT,"Dealer endpoint needs to be wss://"))):n(Promise.reject(new a(i.ENDPOINT_NOT_DEFINED,'No "dealer" endpoint defined.')))}_onTransportAuthenticate(e){const t=e.data;t.awaitPromise(this._dealer.authenticate(t.token))}_onTransportDisconnect(){this._dealer.disconnect()}_onDealerError(e){var t;null===(t=this._mediator)||void 0===t||t.emit(r.O.PLUGIN_ERROR,{plugin:this.name,error:e.data.error})}attach(e,t){this._mediator=t,t.addListeners({[r.O.TRANSPORT_CONNECT]:this._onTransportConnect,[r.O.TRANSPORT_AUTHENTICATE]:this._onTransportAuthenticate,[r.O.TRANSPORT_DISCONNECT]:this._onTransportDisconnect}),this._dealer.addListeners({[o.DISCONNECTED]:this._onDealerDisconnected,[o.CONNECTION_ID]:this._onDealerConnectionId,[o.MESSAGE]:this._onDealerMessage,[o.REQUEST]:this._onDealerRequest,[o.ERROR]:this._onDealerError})}detach(e,t){this._mediator=void 0,t.removeListeners({[r.O.TRANSPORT_CONNECT]:this._onTransportConnect,[r.O.TRANSPORT_AUTHENTICATE]:this._onTransportAuthenticate,[r.O.TRANSPORT_DISCONNECT]:this._onTransportDisconnect}),this._dealer.removeListeners({[o.DISCONNECTED]:this._onDealerDisconnected,[o.CONNECTION_ID]:this._onDealerConnectionId,[o.MESSAGE]:this._onDealerMessage,[o.REQUEST]:this._onDealerRequest,[o.ERROR]:this._onDealerError})}}function g(e,t){return new _(t)}},23301:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});const i="https://spclient.wg.spotify.com/",o="https://api.spotify.com/",r="wss://dealer.spotify.com:443/";function a(e){return void 0===e||!!e}function s(e){const t={};return a(e.dealer)&&(t.dealer=r),a(e.webgate)&&(t.webgate=i),a(e.webapi)&&(t.webapi=o),function(){return Promise.resolve(t)}}},80483:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var i=n(83356);class o extends Error{constructor(e,t,n=-1){super(t),this.name="XResolveError",this.message=t,this.code=e,this.status=n}}const r="https://apresolve.spotify.com/",a={DEALER:"dealer",WEBGATE:"spclient"},s="dealer.spotify.com",c="https://api.spotify.com/",l={spclient:"spclient.wg.spotify.com",exp:"exp.wg.spotify.com",partners:"partners.wg.spotify.com"};function u(e={}){const t=e.dealer||a.DEALER,n=e.webgate||a.WEBGATE,u=`${r}?type=${t}&type=${n}`;return function(e){return e.request(u,{forcePolyfill:!0,responseType:"json",retry:{maxRetries:3,curve:"exponential",condition:function(e,t){return e.getStatusFamily()!==t.SUCCESS}},metadata:{noRequestTransform:!0}}).then((e=>{var r,a,u,d,p;const h=e.body,f={dealer:null!==(a=null===(r=null==h?void 0:h[t])||void 0===r?void 0:r[0])&&void 0!==a?a:s,webgate:null!==(p=null!==(d=null===(u=null==h?void 0:h[n])||void 0===u?void 0:u[0])&&void 0!==d?d:l[n])&&void 0!==p?p:l.spclient,webapi:c};if(!f.dealer||!f.webgate)throw new o(i.L.XRESOLVE_INCOMPLETE_RESPONSE,"X-Resolve responded with incomplete results.",e.status);return f})).then((e=>(e.dealer=`wss://${e.dealer.replace(/:443$/,"")}`,e.webgate=`https://${e.webgate.replace(/:443$/,"")}`,e)))}}},53190:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});const i={threshold:.5};class o{constructor(e,t){this.isIOSupported=!0,this.ubiLogger=e,this.isIOSupported="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,this.isIOSupported&&(this.observer=new IntersectionObserver((e=>{e.forEach((e=>{var t;const n=null===(t=this._observableEntities)||void 0===t?void 0:t.get(e.target);n&&e.intersectionRatio>=.5&&(this.ubiLogger.logImpression(n.impression()),this.removeFromObservableEntities(n.element))}))}),i),this._observableEntities=null!=t?t:new Map)}removeFromObservableEntities(e){var t,n;this.isIOSupported&&(null===(t=this.observer)||void 0===t||t.unobserve(e),null===(n=this._observableEntities)||void 0===n||n.delete(e))}addToObservableEntities(e){var t,n;if(!this.isIOSupported)return null;const i=e.element;return null===(t=this._observableEntities)||void 0===t||t.set(i,e),null===(n=this.observer)||void 0===n||n.observe(i),()=>{this.removeFromObservableEntities(i)}}}},31052:(e,t,n)=>{"use strict";n.d(t,{vR:()=>D});var i=n(25848),o=n(6583);const r="",a="UBI|";function s(e){return e.reduce(((e,t)=>e.concat(t)),[])}function c(e){var t;const n={element_path_names:[],element_path_pos:[],element_path_ids:[],element_path_uris:[],element_path_reasons:[]};for(const i of e)n.element_path_names.push(i.name),n.element_path_pos.push((null===(t=i.position)||void 0===t?void 0:t.toString())||r),n.element_path_ids.push(i.identifier||r),n.element_path_uris.push(i.uri||r),n.element_path_reasons.push(i.reason||r);return n}function l(e){return e?s(e.locations.map((e=>e.pathNodes))):[]}function u(e){return e?s(e.locations.map((e=>e.specVersion))):[]}function d(e){return e?s(e.locations.map((e=>e.specMode))):[]}var p=n(37204);const h={createGabitoEvent:function(e,t,n){var a,s,h,f;const m=c(e.location.pathNodes),_=c(l(e.parentAbsoluteLocation)),g=u(e.parentAbsoluteLocation),E=d(e.parentAbsoluteLocation);let v={annotator_configuration_version:r,annotator_version:r,app:e.app,element_path_ids:m.element_path_ids,element_path_names:m.element_path_names,element_path_pos:m.element_path_pos,element_path_reasons:m.element_path_reasons,element_path_uris:m.element_path_uris,generator_version:e.generatorVersion,impression_id:(0,p.v4)(),parent_modes:E,parent_path_ids:_.element_path_ids,parent_path_names:_.element_path_names,parent_path_pos:_.element_path_pos,parent_path_reasons:_.element_path_reasons,parent_path_uris:_.element_path_uris,parent_specification_versions:g,specification_version:e.specificationVersion,specification_mode:e.specificationMode};if(n.pageInstanceIdProvider&&(v=Object.assign(Object.assign({},v),{page_instance_id:n.pageInstanceIdProvider.getPageInstanceId()||null})),n.playbackIdProvider&&(v=Object.assign(Object.assign({},v),{playback_id:(null===(a=n.playbackIdProvider)||void 0===a?void 0:a.getPlaybackId())||null})),n.playContextUriProvider&&(v=Object.assign(Object.assign({},v),{play_context_uri:(null===(s=n.playContextUriProvider)||void 0===s?void 0:s.getPlayContextUri())||null})),n.pageUriProvider&&(v=Object.assign(Object.assign({},v),{page_uri:(null===(h=n.pageUriProvider)||void 0===h?void 0:h.getPageUri())||null})),t.isAuthenticated())return(0,i.m)(v);const y=Object.assign(Object.assign({},v),{flow_id:(null===(f=n.flowIdProvider)||void 0===f?void 0:f.getFlowId())||null});return(0,o.J)(y)}};var f=n(47233),m=n(26272);const _={createGabitoEvent:function(e,t,n){var i,o,a,s;const h=c(e.location.pathNodes),_=c(l(e.parentAbsoluteLocation)),g=u(e.parentAbsoluteLocation),E=d(e.parentAbsoluteLocation);let v={action_parameter_names:e.actionParameterNames,action_parameter_values:e.actionParameterValues,action_name:e.actionName,action_version:e.actionVersion,annotator_configuration_version:r,annotator_version:r,app:e.app,element_path_ids:h.element_path_ids,element_path_names:h.element_path_names,element_path_pos:h.element_path_pos,element_path_reasons:h.element_path_reasons,element_path_uris:h.element_path_uris,generator_version:e.generatorVersion,interaction_id:(0,p.v4)(),interaction_type:e.interactionType,parent_modes:E,parent_path_ids:_.element_path_ids,parent_path_names:_.element_path_names,parent_path_pos:_.element_path_pos,parent_path_reasons:_.element_path_reasons,parent_path_uris:_.element_path_uris,parent_specification_versions:g,specification_version:e.specificationVersion,specification_mode:e.specificationMode};if(n.pageInstanceIdProvider&&(v=Object.assign(Object.assign({},v),{page_instance_id:n.pageInstanceIdProvider.getPageInstanceId()||null})),n.playbackIdProvider&&(v=Object.assign(Object.assign({},v),{playback_id:(null===(i=n.playbackIdProvider)||void 0===i?void 0:i.getPlaybackId())||null})),n.playContextUriProvider&&(v=Object.assign(Object.assign({},v),{play_context_uri:(null===(o=n.playContextUriProvider)||void 0===o?void 0:o.getPlayContextUri())||null})),n.pageUriProvider&&(v=Object.assign(Object.assign({},v),{page_uri:(null===(a=n.pageUriProvider)||void 0===a?void 0:a.getPageUri())||null})),t.isAuthenticated())return(0,f.l)(v);const y=Object.assign(Object.assign({},v),{flow_id:(null===(s=n.flowIdProvider)||void 0===s?void 0:s.getFlowId())||null});return(0,m.y)(y)}},g="CURRENT_PAGE_INSTANCE_ID";class E{constructor(e){this.storageManager=e.storageManager}getPageInstanceId(){return this.storageManager.getItem(g)}setPageInstanceId(e){this.storageManager.setItem(g,e)}}var v,y,b=n(17744),S=n(4820),T=n(5800);!function(e){e.NAVIGATION_IDLE="navigation_idle",e.NAVIGATION_STARTED="navigation_started",e.NAVIGATION_COMPLETED="navigation_completed"}(v||(v={})),function(e){e.CURRENT_PAGE_ID="CURRENT_PAGE_ID",e.CURRENT_PAGE_INSTANCE_ID="CURRENT_PAGE_INSTANCE_ID",e.CURRENT_ENTITY_URI="CURRENT_ENTITY_URI",e.CURRENT_NAV_ROOT="CURRENT_NAV_ROOT",e.PENDING_NAV_ROOT="PENDING_NAV_ROOT",e.PENDING_INTERACTION_ID="PENDING_INTERACTION_ID",e.PENDING_NAV_REASON="PENDING_NAV_REASON",e.NAVIGATION_STATUS="NAV_STATUS"}(y||(y={}));class A{constructor(e){this.eventSender=e.eventSender,this.pageInstanceIdProvider=e.pageInstanceIdProvider,this.pageUriProvider=e.pageUriProvider,this.flowIdProvider=e.flowIdProvider,this.authenticationProvider=e.authenticationProvider,this.disableAutoBackgroundMonitoring=e.disableAutoBackgroundMonitoring,this.storageManager=e.storageManager,this.handleBackgroundStates=this.handleBackgroundStates.bind(this)}getCurrentPageId(){return this.storageManager.getItem(y.CURRENT_PAGE_ID)}setCurrentPageId(e){this.storageManager.setItem(y.CURRENT_PAGE_ID,e)}getCurrentPageInstanceId(){return this.pageInstanceIdProvider.getPageInstanceId()}setCurrentPageInstanceId(e){this.pageInstanceIdProvider.setPageInstanceId(e)}getCurrentEntityUri(){return this.pageUriProvider.getPageUri()}setCurrentEntityUri(e){this.pageUriProvider.setPageUri(e)}getCurrentNavigationalRoot(){return this.storageManager.getItem(y.CURRENT_NAV_ROOT)}setCurrentNavigationalRoot(e){this.storageManager.setItem(y.CURRENT_NAV_ROOT,e)}getNavigationStatus(){return this.storageManager.getItem(y.NAVIGATION_STATUS)}setNavigationStatus(e){this.storageManager.setItem(y.NAVIGATION_STATUS,e)}getPendingNavigationalRoot(){return this.storageManager.getItem(y.PENDING_NAV_ROOT)}setPendingNavigationalRoot(e){this.storageManager.setItem(y.PENDING_NAV_ROOT,e)}getPendingInteractionId(){return this.storageManager.getItem(y.PENDING_INTERACTION_ID)}setPendingInteractionId(e){this.storageManager.setItem(y.PENDING_INTERACTION_ID,e)}getPendingNavigationReason(){return this.storageManager.getItem(y.PENDING_NAV_REASON)}setPendingNavigationReason(e){this.storageManager.setItem(y.PENDING_NAV_REASON,e)}resetNavStartInfo(){this.setPendingInteractionId(null),this.setPendingNavigationReason(null),this.setPendingNavigationalRoot(null)}populateNavigationReason(){const e=this.getPendingInteractionId();if(e){const t=`user_interaction(${e})`;return this.setPendingInteractionId(null),t}return this.getPendingNavigationReason()}generatePageInstanceId(){return(0,p.v4)()}setCurrent(e,t,n,i){this.setCurrentPageId(e),this.setCurrentPageInstanceId(t),this.setCurrentEntityUri(n),this.setCurrentNavigationalRoot(i)}handleBackgroundStates(){return;document.hidden?this.logClientLostFocus():this.logClientGainedFocus()}startNavigation(e){const{navigationalRoot:t}=e;if((0,T.km)(e)){const{interactionId:t}=e;this.setPendingInteractionId(t)}if((0,T.EO)(e)){const{navigationReason:t}=e;this.setPendingNavigationReason(t)}this.setPendingNavigationalRoot(t),this.setNavigationStatus(v.NAVIGATION_STARTED)}completeNavigation(e){var t;const{pageId:n,entityUri:i}=e;if(this.getCurrentEntityUri()!==i&&this.getNavigationStatus()===v.NAVIGATION_STARTED){const e=this.generatePageInstanceId(),o={page_instance_id:e,page_id:n,entity_uri:i,navigational_root:this.getPendingNavigationalRoot(),from_page_instance_id:this.getCurrentPageInstanceId(),from_page_id:this.getCurrentPageId(),from_entity_uri:this.getCurrentEntityUri(),from_navigational_root:this.getCurrentNavigationalRoot(),navigation_reason:this.populateNavigationReason()};if(this.authenticationProvider.isAuthenticated()){const e=(0,b.I)(o);this.eventSender.send(e)}else{const e=Object.assign(Object.assign({},o),{flow_id:(null===(t=this.flowIdProvider)||void 0===t?void 0:t.getFlowId())||null}),n=(0,S.m)(e);this.eventSender.send(n)}this.setCurrent(n,e,i,this.getPendingNavigationalRoot())}else this.resetNavStartInfo();this.setNavigationStatus(v.NAVIGATION_IDLE)}logClientLostFocus(){var e;const t=this.generatePageInstanceId(),n={page_instance_id:t,page_id:null,entity_uri:null,navigational_root:null,from_page_instance_id:this.getCurrentPageInstanceId(),from_page_id:this.getCurrentPageId(),from_entity_uri:this.getCurrentEntityUri(),from_navigational_root:this.getCurrentNavigationalRoot(),navigation_reason:T.$.CLIENT_LOST_FOCUS};if(this.authenticationProvider.isAuthenticated()){const e=(0,b.I)(n);this.eventSender.send(e)}else{const t=Object.assign(Object.assign({},n),{flow_id:(null===(e=this.flowIdProvider)||void 0===e?void 0:e.getFlowId())||null}),i=(0,S.m)(t);this.eventSender.send(i)}this.setCurrent(this.getCurrentPageId(),t,this.getCurrentEntityUri(),this.getCurrentNavigationalRoot())}logClientGainedFocus(){var e;const t=this.generatePageInstanceId(),n={page_instance_id:t,page_id:this.getCurrentPageId(),entity_uri:this.getCurrentEntityUri(),navigational_root:this.getCurrentNavigationalRoot(),from_page_instance_id:this.getCurrentPageInstanceId(),from_page_id:null,from_entity_uri:null,from_navigational_root:null,navigation_reason:T.$.CLIENT_GAINED_FOCUS};if(this.authenticationProvider.isAuthenticated()){const e=(0,b.I)(n);this.eventSender.send(e)}else{const t=Object.assign(Object.assign({},n),{flow_id:(null===(e=this.flowIdProvider)||void 0===e?void 0:e.getFlowId())||null}),i=(0,S.m)(t);this.eventSender.send(i)}this.setCurrent(this.getCurrentPageId(),t,this.getCurrentEntityUri(),this.getCurrentNavigationalRoot())}addEventListeners(){this.disableAutoBackgroundMonitoring||null===document||void 0===document||document.addEventListener("visibilitychange",this.handleBackgroundStates)}removeEventListeners(){this.disableAutoBackgroundMonitoring||null===document||void 0===document||document.removeEventListener("visibilitychange",this.handleBackgroundStates)}}class I{constructor(){this.items=new Map([])}setItem(e,t){try{return this.items.set(e,t),!0}catch(e){return!1}}getItem(e){const t=this.items.get(e);return null!=t?t:null}removeItem(e){this.items.delete(e)}clear(){this.items.clear()}}class O{setItem(e,t){try{return window.sessionStorage.setItem(e,t),!0}catch(e){return!1}}getItem(e){return window.sessionStorage.getItem(e)}removeItem(e){window.sessionStorage.removeItem(e)}clear(){window.sessionStorage.clear()}}function C(e){let t=e.length,n=t;for(;n--;){const i=e.charCodeAt(n);i>127&&i<=2047?t++:i>2047&&i<=65535&&(t+=2),i>=56320&&i<=57343&&n--}return t}const R={requiresPersistingState:!1};var N;!function(e){e.IN_MEMORY="in-memory",e.SESSION_STORAGE="session-storage",e.CUSTOM_STORAGE="custom-storage"}(N||(N={}));class P{constructor(e=R){this.storageAdapter=new I,e.requiresPersistingState&&(e.storageAdapter?this.storageAdapter=e.storageAdapter:function(){const e={"UBI|CURRENT_PAGE_ID":"playlist","UBI|CURRENT_PAGE_INSTANCE_ID":"bc33087f-b95a-4b15-bd48-0277666f303c","UBI|CURRENT_ENTITY_URI":"spotify:playlist:37i9dQZF1DX5trt9i14X7j","UBI|CURRENT_NAV_ROOT":"playlists-sidebar","UBI|PENDING_NAV_ROOT":"playlists-sidebar","UBI|PENDING_INTERACTION_ID":"8dbc8e4d-b4f7-4870-ab9e-a3238307ea6d","UBI|PENDING_NAV_REASON":"user_interaction(8dbc8e4d-b4f7-4870-ab9e-a3238307ea6d)","UBI|NAVIGATION_STATUS":v.NAVIGATION_COMPLETED,"UBI|PROVIDER_CURRENT_PAGE_INSTANCE_ID":"bc33087f-b95a-4b15-bd48-0277666f303c"},t=4*Object.keys(e).map((t=>C(t)+C(e[t]))).reduce(((e,t)=>e+t));try{const e="__UBI_STORAGE_TEST__",n="x".repeat(t);return window.sessionStorage.setItem(e,n),window.sessionStorage.removeItem(e),!0}catch(e){return!1}}()&&(this.storageAdapter=new O))}getItem(e){return this.storageAdapter.getItem(`${a}${e}`)}setItem(e,t){const n=t||"";this.storageAdapter.setItem(`${a}${e}`,n)}removeItem(e){this.storageAdapter.removeItem(`${a}${e}`)}clear(){this.storageAdapter.clear()}getStorageType(){return this.storageAdapter instanceof I?N.IN_MEMORY:this.storageAdapter instanceof O?N.SESSION_STORAGE:N.CUSTOM_STORAGE}}const L="CURRENT_PAGE_URI";class k{constructor(e){this.storageManager=e.storageManager}getPageUri(){return this.storageManager.getItem(L)}setPageUri(e){this.storageManager.setItem(L,e)}}class w{constructor(e){var t,n;this.eventSender=e.eventSender,this.disableAutoBackgroundMonitoring=null===(t=e.disableAutoBackgroundMonitoring)||void 0===t||t,this.storageManager=new P({storageAdapter:e.storageAdapter,requiresPersistingState:e.requiresPersistingState}),this.authenticationProvider=e.authenticationProvider,this.pageInstanceIdProvider=new E({storageManager:this.storageManager}),this.pageUriProvider=new k({storageManager:this.storageManager}),this.contextualProviders=e.contextualProviders,this.pageViewLogger=new A({eventSender:e.eventSender,pageInstanceIdProvider:this.pageInstanceIdProvider,pageUriProvider:this.pageUriProvider,disableAutoBackgroundMonitoring:this.disableAutoBackgroundMonitoring,storageManager:this.storageManager,authenticationProvider:this.authenticationProvider,flowIdProvider:null===(n=this.contextualProviders)||void 0===n?void 0:n.flowIdProvider})}registerEventListeners(){return;this.pageViewLogger.addEventListeners()}unregisterEventListeners(){return;this.pageViewLogger.removeEventListeners()}logInteraction(e){return {interactionId:null,pageInstanceId:null};const t=_.createGabitoEvent(e,this.authenticationProvider,Object.assign(Object.assign({},this.contextualProviders),{pageInstanceIdProvider:this.pageInstanceIdProvider,pageUriProvider:this.pageUriProvider}));return this.eventSender.send(t),t.data.interaction_id||""}logImpression(e){return;const t=h.createGabitoEvent(e,this.authenticationProvider,Object.assign(Object.assign({},this.contextualProviders),{pageInstanceIdProvider:this.pageInstanceIdProvider,pageUriProvider:this.pageUriProvider}));return this.eventSender.send(t),t.data.impression_id||""}logNavigationStart(e){this.pageViewLogger.startNavigation(e)}logNavigationEnd(e){this.pageViewLogger.completeNavigation(e)}logNavigation(e,t){return;this.logNavigationStart(e),this.logNavigationEnd(t)}logClientLostFocus(){this.disableAutoBackgroundMonitoring&&this.pageViewLogger.logClientLostFocus()}logClientGainedFocus(){this.disableAutoBackgroundMonitoring&&this.pageViewLogger.logClientGainedFocus()}getPageInstanceId(){return this.pageInstanceIdProvider.getPageInstanceId()}}const D=function(){let e;return{getUBILogger:function(t){return function(t){return e&&e.unregisterEventListeners(),e=new w(t),e.registerEventListeners(),e}(t)}}}()},5800:(e,t,n)=>{"use strict";var i,o;function r(e){return"interactionId"in e}function a(e){return"navigationReason"in e}n.d(t,{$:()=>i,$h:()=>o,km:()=>r,EO:()=>a}),function(e){e.CLIENT_LOST_FOCUS="client_lost_focus",e.CLIENT_GAINED_FOCUS="client_gained_focus",e.CLIENT_STARTED="client_started",e.DEEP_LINK="deep_link",e.BACK="back",e.FORWARD="forward",e.UNKNOWN="unknown"}(i||(i={})),function(e){e.ACCOUNTSWITCHING_PICKACCOUNT="accountswitching/pickaccount",e.AD_BASED_ON_DEMAND="ad-based-on-demand",e.ADAPTIVEAUTHENTICATION_START="adaptiveauthentication/start",e.AGE_VERIFICATION="age-verification",e.ALBUM="album",e.ANCHORFUNNEL="anchorfunnel",e.APPRATER="apprater",e.AUDIOBOOK_DIRECTSALES_SUCCESS="audiobook/directsales/success",e.AUDIOBOOK_DIRECTSALES_INAPPWEBCHECKOUTOVERLAY="audiobook/directsales/inappwebcheckoutoverlay",e.AAA_CON="aaa/con",e.AAA_CON_T="aaa/con/t",e.AAA_T="aaa/t",e.AUDIOBOOK_CONSUMPTIONCAP="audiobook/consumptioncap",e.AUDIOBOOK_SUPPLEMENTARYMATERIAL="audiobook/supplementarymaterial",e.AUDIOBOOK_TOPUP_PRODUCTPAGE="audiobook/topup/productpage",e.AUDIOBOOK_TOPUP_SUCCESS="audiobook/topup/success",e.PRERELEASE_AUDIOBOOK="prerelease/audiobook",e.ACTIVATION_AUTO_TRIAL="activation/auto-trial",e.ALLBOARDING_CONTENTPICKER="allboarding/contentpicker",e.ALLBOARDING_SINGLEITEMPICKER="allboarding/singleitempicker",e.ALLBOARDING_SEARCH="allboarding/search",e.ALLBOARDING_SEND="allboarding/send",e.ALLBOARDING_PLACEHOLDER="allboarding/placeholder",e.ARTIST="artist",e.ARTIST_ABOUT="artist/about",e.ARTIST_APPEARS_ON="artist/appears-on",e.ARTIST_ABOUT_WEBVIEW="artist/about/webview",e.ARTIST_ALBUMS="artist/albums",e.ARTIST_CONCERTS="artist/concerts",e.ARTIST_DISCOVERED_ON="artist/discovered-on",e.ARTIST_FEATURING="artist/featuring",e.ARTIST_GALLERY="artist/gallery",e.ARTIST_PLAYLISTS="artist/playlists",e.ARTIST_RELATED="artist/related",e.ARTIST_RELEASES="artist/releases",e.ARTIST_SAVED_TRACKS="artist/saved-tracks",e.ARTIST_RELATED_VIDEOS="artist/related-videos",e.ARTIST_MUSIC_VIDEOS="artist/music-videos",e.CREATORFOLLOW_SLATE="creatorfollow/slate",e.ARTIST_PATRON="artist/patron",e.ARTIST_STORE="artist/store",e.ARSENAL="arsenal",e.ASSISTED_CURATION="assisted-curation",e.ASSISTED_CURATION_NAMING="assisted-curation/naming",e.ASSISTED_CURATION_SEARCH="assisted-curation/search",e.ASSISTED_CURATION_SEARCH_SONGS="assisted-curation/search/songs",e.ASSISTED_CURATION_SEARCH_ALBUMS="assisted-curation/search/albums",e.ASSISTED_CURATION_SEARCH_ARTISTS="assisted-curation/search/artists",e.ASSISTED_CURATION_SEARCH_EPISODES="assisted-curation/search/episodes",e.ASSISTED_CURATION_SEARCH_SHOWS="assisted-curation/search/shows",e.ASSISTED_CURATION_SEARCH_ALBUM_ENTITY="assisted-curation/search/album-entity",e.ASSISTED_CURATION_SEARCH_ARTIST_ENTITY="assisted-curation/search/artist-entity",e.ASSISTED_CURATION_SEARCH_SHOW_ENTITY="assisted-curation/search/show-entity",e.ADS="ads",e.ADSDISPLAY_CTAWIDGETNPV_SEEALL="adsdisplay/ctawidgetnpv/seeall",e.ADSDISPLAY_DSA="adsdisplay/dsa",e.BACKGROUND="background",e.BIRTHDAYS_GIFT="birthdays/gift",e.BLEND_ENTITY="blend/entity",e.BLEND_ENTITY_EDITNAME="blend/entity/editname",e.BLEND_ENTITY_MEMBERS="blend/entity/members",e.BLEND_ENTITY_TRACKAFFILIATION="blend/entity/trackaffiliation",e.BLEND_INVITATION="blend/invitation",e.BLEND_INVITATION_GROUPBLENDSJOIN="blend/invitation/groupblendsjoin",e.BLEND_TASTE_MATCH="blend/taste-match",e.BLEND_DATA_STORY="blend/data-story",e.BLEND_PARTY="blend/party",e.JAM_STORIES="jam/stories",e.BOOKMARKS="bookmarks",e.BOOTCAMP_CHORDS="bootcamp/chords",e.BOOTCAMP_EASTEREGGS="bootcamp/eastereggs",e.BOOTCAMP_MASHUP="bootcamp/mashup",e.BOOTCAMP_TOPTRACKS="bootcamp/toptracks",e.BOOTCAMP_TFB_TOPTRACKS="bootcamp/tfb/toptracks",e.BOOTCAMP_TOP50PLAYLIST="bootcamp/top50playlist",e.BOOTCAMP_TOPCOUNTRYPLAYLIST="bootcamp/topcountryplaylist",e.BROWSE="browse",e.BROWSE_DISCOVER="browse/discover",e.BROWSE_GENRES="browse/genres",e.BROWSE_NEWRELEASES="browse/newreleases",e.BROWSE_PODCASTS="browse/podcasts",e.BROWSE_TOPPODCAST="browse/toppodcast",e.BUNDLING="bundling",e.BUNDLING_WEBVIEW="bundling/webview",e.BUNDLING_SURVEY_WEBVIEW="bundling/survey/webview",e.BUNDLING_OFFER="bundling/offer",e.BUNDLING_OFFER_WEBVIEW="bundling/offer/webview",e.BUNDLING_PLACEBO="bundling/placebo",e.BUNDLING_PLACEBO_WEBVIEW="bundling/placebo/webview",e.CACHED_FILES="cached-files",e.CACHED_FILES_SEARCH="cached-files/search",e.CALLING_CODE_PICKER="calling-code-picker",e.CALIFORNIA="california",e.CALIFORNIA_NOARGS="california/noargs",e.CANVAS_NOWPLAYING="canvas/nowplaying",e.CAPPED_OFFLINE_DIALOG="capped-offline/dialog",e.CAPPED_ONDEMAND_DIALOG="capped-ondemand/dialog",e.CAR_MODE_ENTITY="car-mode/entity",e.CAR_MODE_HOME="car-mode/home",e.CAR_MODE_YOURLIBRARY="car-mode/yourLibrary",e.DRIVING_DRIVINGMODE="driving/drivingMode",e.CARS_MEDIASERVICE="cars/mediaservice",e.CARS_ANDROIDAUTO="cars/androidauto",e.CARS_APPPROTOCOL="cars/appprotocol",e.CARS_BMW="cars/bmw",e.CARS_LOCKSCREEN="cars/lockscreen",e.CARS_MYSPIN="cars/myspin",e.CARS_WAZE="cars/waze",e.CARTHING="carthing",e.CARTHING_SETTINGS="carthing/settings",e.CARTHING_PRESETS="carthing/presets",e.CARTHING_PRESETS_HOWTO="carthing/presets/howto",e.CARTHING_PRESETS_SAVE="carthing/presets/save",e.CELEBRITYBLEND_ENTITY="celebrityblend/entity",e.CHALLENGE_DUMMY="challenge/dummy",e.CHALLENGE_TOTP="challenge/totp",e.CHALLENGE_EMAIL_VERIFICATION="challenge/email-verification",e.CHARTS="charts",e.CHARTS_CHART="charts/chart",e.CHARTS_REGIONAL="charts/regional",e.CHARTS_UNKNOWN="charts/unknown",e.CHARTS_VIRAL="charts/viral",e.CHARTS_WEEKLY="charts/weekly",e.CHARTS_ALBUMS="charts/albums",e.CHARTS_ALBUM="charts/album",e.CHARTS_MERCH="charts/merch",e.CHARTS_MERCHCOLLECTION="charts/merchcollection",e.CHECKOUT="checkout",e.CHECKOUT_CODEREDEMPTION="checkout/coderedemption",e.CHECKOUT_GPB="checkout/gpb",e.CHECKOUT_CHOICESCREEN="checkout/choicescreen",e.CHECKOUT_CHOICESCREEN_UC="checkout/choicescreen-uc",e.CHECKOUT_UNIFIEDCHECKOUT="checkout/unifiedcheckout",e.CHURNLOCK="churnlock",e.COLLECTION="collection",e.COLLECTION_ALBUMS="collection/albums",e.COLLECTION_ALBUMS_ALBUM="collection/albums/album",e.COLLECTION_ARTISTS="collection/artists",e.COLLECTION_ARTISTS_ARTIST="collection/artists/artist",e.COLLECTION_EPISODES_REMOVEALL="collection/episodes/removeall",e.COLLECTION_FILEPICKER="collection/filepicker",e.COLLECTION_FOLDER="collection/folder",e.COLLECTION_OFFLINELIBRARY="collection/offlinelibrary",e.COLLECTION_PLAYLISTS="collection/playlists",e.COLLECTION_PODCASTS="collection/podcasts",e.COLLECTION_PODCASTSONLY="collection/podcastsonly",e.COLLECTION_PODCASTS_FOLLOWING="collection/podcasts/following",e.COLLECTION_PODCASTS_EPISODES_UNPLAYED="collection/podcasts/episodes/unplayed",e.COLLECTION_PODCASTS_EPISODES_OFFLINE="collection/podcasts/episodes/offline",e.COLLECTION_PODCASTS_EPISODES_UNFINISHED="collection/podcasts/episodes/unfinished",e.COLLECTION_PODCASTS_EPISODES_LISTENLATER="collection/podcasts/episodes/listenlater",e.COLLECTION_PODCASTS_EPISODES="collection/podcasts/episodes",e.COLLECTION_RADIO="collection/radio",e.COLLECTION_RECENTLYPLAYED="collection/recentlyplayed",e.COLLECTION_SONGS="collection/songs",e.COLLECTION_VIDEO="collection/video",e.COLLECTION_YOUREPISODES="collection/yourepisodes",e.COLLECTION_YOUREPISODES_SETTINGS="collection/yourepisodes/settings",e.COLLECTION_YOUREPISODES_SETTINGS_REMOVEPLAYED="collection/yourepisodes/settings/removeplayed",e.COLLECTION_YOUREPISODES_SETTINGS_REMOVEUNPLAYED="collection/yourepisodes/settings/removeunplayed",e.COLLECTION_YOUREPISODES_SETTINGS_AUTODOWNLOAD="collection/yourepisodes/settings/autodownload",e.COLLECTION_YOUREPISODES_SETTINGS_AUTODOWNLOADLIMIT="collection/yourepisodes/settings/autodownloadlimit",e.COLLECTION_SAVEDEPISODES="collection/savedepisodes",e.COMMENTS="comments",e.COMMENTS_SECTION="comments/section",e.COMMENTS_SETTINGS="comments/settings",e.COMMUNITY_LISTENING_ACTIVITY="community/listening-activity",e.CONTENT_FEED="content-feed",e.CULTURALMOMENTSHUB="culturalmomentshub",e.CULTURALMOMENTS_STORIES="culturalmoments/stories",e.SETTINGS_APP_ICON="settings/app-icon",e.YOURLIBRARY="yourlibrary",e.YOURLIBRARY_ALBUMS="yourlibrary/albums",e.YOURLIBRARY_ARTISTS="yourlibrary/artists",e.YOURLIBRARY_AUDIOBOOKS="yourlibrary/audiobooks",e.YOURLIBRARY_PLAYLISTS="yourlibrary/playlists",e.YOURLIBRARY_EPISODES="yourlibrary/episodes",e.YOURLIBRARY_DOWNLOADS="yourlibrary/downloads",e.YOURLIBRARY_SHOWS="yourlibrary/shows",e.YOURLIBRARY_HIDDEN_CONTENT="yourlibrary/hidden-content",e.YOURLIBRARY_SEARCH="yourlibrary/search",e.YOURLIBRARY_TAG="yourlibrary/tag",e.YOURLIBRARY_PROONBOARDING="yourlibrary/proonboarding",e.YOURLIBRARY_FILTERS_SETTINGS="yourlibrary/filters-settings",e.YOURLIBRARYTAGS_YOURTAGSPAGE="yourlibrarytags/yourtagspage",e.CONCERTS="concerts",e.CONCERTS_CITYSEARCH="concerts/citysearch",e.CONCERTS_CONCERT="concerts/concert",e.CONCERTS_CONCERT_WEBVIEW="concerts/concert/webview",e.CONCERTS_GROUP="concerts/group",e.CONCERTS_ARTIST="concerts/artist",e.VENUE="venue",e.CONNECT_CONTEXTMENU="connect/contextmenu",e.CONNECT_DEVICEPICKER="connect/devicepicker",e.CONNECT_OUTPUTSWITCHERDEVICEPICKER="connect/outputSwitcherDevicePicker",e.CONNECT_OVERLAY_NEWDEVICE="connect/overlay/newdevice",e.CONNECT_OVERLAY_SWITCHDEVICE="connect/overlay/switchdevice",e.CONNECT_OVERLAY_VOLUME="connect/overlay/volume",e.CONNECT_TUTORIALDESKTOP="connect/tutorialdesktop",e.CONNECT_TUTORIALSPEAKER="connect/tutorialspeaker",e.CONNECT_TUTORIALTV="connect/tutorialtv",e.CONNECT_TUTORIALGAMECONSOLE="connect/tutorialgameconsole",e.CONNECT_TUTORIALCHROMECAST="connect/tutorialchromecast",e.CONNECT_TUTORIALBLUETOOTH="connect/tutorialbluetooth",e.CONNECT_EDUCATIONPAGE="connect/educationpage",e.CONTEXTDISPATCH_ERROR="contextdispatch/error",e.CONTEXTDISPATCH_OFFLINE="contextdispatch/offline",e.CONTEXTMENU="contextmenu",e.CONTEXTMENU_TRACK="contextmenu/track",e.CONTEXTMENU_ALBUM="contextmenu/album",e.CONTEXTMENU_ARTIST="contextmenu/artist",e.CONTEXTMENU_PLAYLIST="contextmenu/playlist",e.CONTEXTMENU_EPISODE="contextmenu/episode",e.CONTEXTMENU_LIVEROOM="contextmenu/liveroom",e.CONTEXTMENU_EXPRESSIONVIDEO="contextMenu/expressionvideo",e.CONTEXTMENU_SHOWSCANNABLECODE="contextmenu/showscannablecode",e.CONTEXTMENU_VIEWARTISTS="contextmenu/viewartists",e.CONTEXTMENU_AUDIOSETTINGS="contextmenu/audiosettings",e.CONTEXTMENU_VIDEOSETTINGS="contextmenu/videosettings",e.CONTEXTMENU_EPISODE_SLEEPTIMER="contextmenu/episode/sleeptimer",e.CONTEXTMENU_EPISODE_SPEEDCONTROL="contextmenu/episode/speedcontrol",e.CONTEXTMENU_SHOW="contextmenu/show",e.CONTEXTMENU_SHARE="contextmenu/share",e.CONTEXTMENU_POSTTO="contextmenu/postto",e.CONTEXTMENU_SENDTO="contextmenu/sendto",e.CONTEXTMENU_REMOTEDOWNLOADS="contextmenu/remotedownloads",e.CONTEXTMENU_MERCH="contextmenu/merch",e.CONTEXTMENU_COURSE="contextmenu/course",e.CONTEXTMENU_ALBUMPRERELEASE="contextmenu/albumprerelease",e.CONTEXTMENU_DJLANGUAGESETTINGS="contextmenu/djlanguagesettings",e.CONTEXTMENU_DJNARRATION="contextmenu/djnarration",e.COURSE="course",e.COURSE_UPSELL="course/upsell",e.COVERIMAGE="coverimage",e.DAILYMIXHUB="dailymixhub",e.DATASAVERMODE="datasavermode",e.DATASAVERMODE_SETTINGS="datasavermode/settings",e.DEBUG="debug",e.DIALOG_COLLECTION_INSUFFICIENTSTORAGE="dialog/collection/insufficientstorage",e.DIALOG_CONNECT_NOMUSIC="dialog/connect/nomusic",e.DIALOG_DISKALMOSTFULL="dialog/diskalmostfull",e.DIALOG_FINDFRIENDS_CONFIRMALL="dialog/findfriends/confirmall",e.DIALOG_LOCALFILESIMPORT_OK="dialog/localfilesimport/ok",e.DIALOG_LOCALFILESIMPORT_DISCARD="dialog/localfilesimport/discard",e.DIALOG_LOCALFILESIMPORT_SONGS="dialog/localfilesimport/songs",e.DIALOG_CONNECTFACEBOOK="dialog/connectfacebook",e.DIALOG_CONNECTXAUTH="dialog/connectxauth",e.DIALOG_CONNECTOAUTH="dialog/connectoauth",e.DIALOG_SHOW_VIDEOUNAVAILABLE="dialog/show/videounavailable",e.DIALOG_REQUESTPERMISSIONS_SHOWRATIONALE="dialog/requestpermissions/showrationale",e.DIALOG_PROFILE_ACTIVITY_ONDEMANDUNAVAILABLE="dialog/profile/activity/ondemandunavailable",e.DIALOG_TERMS_TERMSCHANGED="dialog/terms/termschanged",e.DIALOG_TERMS_TERMSPOSTPONED="dialog/terms/termspostponed",e.DIALOG_CONNECT_PLAYBACK_ERROR="dialog/connect/playback/error",e.DIALOG_SEARCH_FEEDBACK="dialog/search/feedback",e.DIALOG_MARKETOPPORTUNITIES_SHOWCASE="dialog/marketopportunities/showcase",e.DIALOG_AGELIMITDIALOG="dialog/agelimitdialog",e.DIALOG_PAYWALL="dialog/paywall",e.DISCOVERWEEKLY="discoverweekly",e.DISCOVERWEEKLY_SWIPE="discoverweekly/swipe",e.DISCOVERNOW="discovernow",e.DISCOVERNOWMUSIC="discovernowmusic",e.DOWNLOAD_DESKTOP="download/desktop",e.DRIVINGMODE="drivingmode",e.ENHANCED_SESSION="enhanced-session",e.DYNAMIC_SESSION_ENTITY="dynamic-session/entity",e.EMAIL_EDIT="email/edit",e.EMAIL_EDIT_SSO="email/edit/sso",e.EMAIL_EDIT_RESETPASSWORD="email/edit/resetpassword",e.EMAIL_VERIFY_BLOCKING="email/verify/blocking",e.ENTERPRISEPODCASTS="enterprisepodcasts",e.EPISODE="episode",e.EVENTSENDER_DEBUG="eventsender/debug",e.EVENTSENDER_ITGC_DEBUG="eventsender/itgc/debug",e.EXPERIMENTAL="experimental",e.EXPERIMENTAL_AUDIOPLAYBACK="experimental/audioplayback",e.EXPERIMENTAL_COUNTRYTOPTEN="experimental/countrytopten",e.EXPERIMENTAL_LISTENINGHISTORY="experimental/listeninghistory",e.FACEBOOK_CONNECT="facebook/connect",e.FACEBOOK_PERMISSIONS="facebook/permissions",e.FACEBOOK_WEBVIEWPERMISSIONS="facebook/webviewpermissions",e.FINDFRIENDS="findfriends",e.FANDOM_TOPARTISTS="fandom/topartists",e.FANDOM_ARTISTMIX="fandom/artistmix",e.FANDOM_ARTISTBLEND="fandom/artistblend",e.FANDOM_TOPTRACKS="fandom/toptracks",e.FIND="find",e.FOLLOWFEED="followfeed",e.FORMATLISTPLATFORM="formatlistplatform",e.FORMATLISTPLATFORM_OFFLINE="formatlistplatform/offline",e.FRIENDSACTIVITY="friendsactivity",e.FRIENDSACTIVITY_FRIENDSLIST="friendsactivity/friendslist",e.FRIENDSACTIVITY_STORY="friendsactivity/story",e.FRIENDSHOME="friendshome",e.FRIENDSHOME_ENTITY="friendshome/entity",e.FRIENDSHOME_LISTENERS="friendshome/listeners",e.FRIENDSHOME_FINDFRIENDS="friendshome/findfriends",e.FRIENDSHOME_SEARCHFRIENDS="friendshome/searchfriends",e.FRIENDRECOMMENDATIONS="friendrecommendations",e.GIFT_SHARE="gift-share",e.UNBOXING_HUB="unboxing/hub",e.UNBOXING_FEATURE_FLOW="unboxing/feature-flow",e.KID_ACCOUNT_CREATION_LEGAL_CONSENT="kid-account-creation/legal-consent",e.KID_ACCOUNT_CREATION_PARENTAL_CONTROL="kid-account-creation/parental-control",e.KID_ACCOUNT_CREATION_PIN="kid-account-creation/pin",e.KID_ACCOUNT_CREATION_NAME="kid-account-creation/name",e.KID_ACCOUNT_CREATION_BIRTHDAY="kid-account-creation/birthday",e.KID_ACCOUNT_CREATION_SUBMIT="kid-account-creation/submit",e.KID_ACCOUNT_CREATION_EDUCATION="kid-account-creation/education",e.KID_ACCOUNT_SELECTION="kid-account-selection",e.KID_ACCOUNT_TRANSITION_EDUCATION="kid-account-transition/education",e.KID_ACCOUNT_TRANSITION_CONSENT="kid-account-transition/consent",e.KID_ACCOUNT_TRANSITION_LEGAL_CONSENT="kid-account-transition/legal-consent",e.KID_ACCOUNT_TRANSITION_PARENTAL_CONTROL="kid-account-transition/parental-control",e.KID_ACCOUNT_TRANSITION_PIN="kid-account-transition/pin",e.KID_ACCOUNT_TRANSITION_NAME="kid-account-transition/name",e.KID_ACCOUNT_TRANSITION_BIRTHDAY="kid-account-transition/birthday",e.KID_ACCOUNT_TRANSITION_SUBMIT="kid-account-transition/submit",e.KID_PARENTAL_BLOCKING_TRACK="kid-parental-blocking/track",e.KID_PARENTAL_BLOCKING_ARTIST="kid-parental-blocking/artist",e.PARENTALCONTROL="parentalcontrol",e.PARENTAL_CONTROL_LOGIN_OPTIONS="parental-control/login-options",e.PARENTAL_CONTROL_UPDATE_NAME="parental-control/update-name",e.PARENTAL_CONTROL_UPDATE_BIRTHDAY="parental-control/update-birthday",e.CHANGEPIN="changepin",e.PIN_GATE="pin-gate",e.ADD_MEMBER="add-member",e.FULLSCREEN_STORY="fullscreen-story",e.FULLSCREEN_STORY_SHARE="fullscreen-story-share",e.FULLSCREEN_VIDEOPLAYER="fullscreen/videoplayer",e.HOLIDAYCAMPAIGN="holidaycampaign",e.INBOX="inbox",e.INVITE_HAVEINVITE="invite/haveinvite",e.GOOGLEASSISTANT="googleassistant",e.GUEST_LIBRARYTABWALL="guest/librarytabwall",e.GUEST_LOGINTABWALL="guest/logintabwall",e.HOMEMIX_ENTITY="homemix/entity",e.HOMEMIX_TASTEONBOARDING="homemix/tasteonboarding",e.HOMEMIX_GENRESPAGE="homemix/genrespage",e.HOMEMIX_GENREDETAIL="homemix/genredetail",e.HOMEMIX_ABOUT="homemix/about",e.HOMEMIX_ABOUTVIDEO="homemix/aboutvideo",e.HOMEMIX_USERTOGGLE="homemix/usertoggle",e.HOMEMIX_FACEPILEDETAIL="homemix/facepiledetail",e.HOMETHING="homething",e.HOMETHING_ACTIVATION_WELCOME="homething/activation/welcome",e.HOMETHING_ACTIVATION_SCANDEVICES="homething/activation/scandevices",e.HOMETHING_ACTIVATION_CONNECTING="homething/activation/connecting",e.HOMETHING_ACTIVATION_WIFI="homething/activation/wifi",e.HOMETHING_ACTIVATION_ERROR="homething/activation/error",e.HOMETHING_ACTIVATION_CONNECTED="homething/activation/connected",e.HOMETHING_SETTINGS="homething/settings",e.INSPIRECREATION="inspirecreation",e.IMAGERECS="imagerecs",e.LANGUAGEPICKER="languagepicker",e.LANGUAGEPICKER_NOSKIPDIALOG="languagepicker/noskipdialog",e.LINGO_HOME="lingo/home",e.LISTENINGHISTORY="listeninghistory",e.LISTENINGHISTORY_PLAYSFROMCONTEXT="listeninghistory/playsfromcontext",e.LISTENINGSTATS="listeningstats",e.LISTENINGSTATS_DETAILS="listeningstats/details",e.LOCALFILESIMPORT="localfilesimport",e.LOCALFILES="localfiles",e.LOGIN="login",e.LOGIN_WELCOME="login/welcome",e.LOGIN_SETTINGS="login/settings",e.LOGIN_ACCOUNTRECOVERY_REQUESTEMAIL="login/accountrecovery/requestemail",e.LOGIN_ACCOUNTRECOVERY_REQUESTEMAILCONFIRMATION="login/accountrecovery/requestemailconfirmation",e.LOGIN_ACCOUNTRECOVERY_RESETPASSWORD="login/accountrecovery/resetpassword",e.LOGIN_ACCOUNTRECOVERY_RESETPASSWORDCONFIRMATION="login/accountrecovery/resetpasswordconfirmation",e.LOGIN_ACCOUNTRECOVERY_COLLECTEMAIL="login/accountrecovery/collectemail",e.LOGIN_CONTINUEWITH="login/continuewith",e.LOGIN_CONTINUEWITH_EMAIL="login/continuewith/email",e.LOGIN_CONNECT="login/connect",e.LOGIN_PIN="login/pin",e.LOGIN_MULTIUSER="login/multiuser",e.PHONENUMBERSIGNUP="phonenumbersignup",e.PHONENUMBERSIGNUP_CALLINGCODEPICKER="phonenumbersignup/callingcodepicker",e.PHONENUMBERSIGNUP_PHONENUMBERENTRY="phonenumbersignup/phonenumberentry",e.PHONENUMBERSIGNUP_VALIDATEOTP="phonenumbersignup/validateotp",e.LYRICS="lyrics",e.LYRICS_FULLSCREEN="lyrics/fullscreen",e.LYRICS_SHARE="lyrics/share",e.LYRICS_SHEET="lyrics/sheet",e.MADE_FOR_YOU="made-for-you",e.MARKETOPPORTUNITIES_PRECACHING="marketopportunities/precaching",e.MERCH_DETAILS="merch-details",e.MERCH_HUB="merch-hub",e.MISSEDCONNECTIONS="missedconnections",e.MOMENTS="moments",e.MOMENTS_CATEGORY="moments/category",e.MUSIC="music",e.MUSIC_CATEGORY="music/category",e.NOTIFICATIONS="notifications",e.NOTIFICATIONS_ACTIVITY="notifications/activity",e.NOW="now",e.HOME="home",e.HOME_DRILLDOWN="home/drilldown",e.HOME_FUNKIS="home-funkis",e.HOME_MUSIC="home/music",e.HOME_MUSIC_FOLLOWING="home/music-following",e.HOME_MUSIC_VIDEOS="home/music-videos",e.HOME_PODCASTS="home/podcasts",e.HOME_PODCASTS_FOLLOW="home/podcasts-follow",e.HOME_PODCASTS_VIDEOS="home/podcasts-videos",e.HOME_AUDIOBOOKS="home/audiobooks",e.HOME_WRAPPED="home/wrapped",e.HOME_COURSES="home/courses",e.HOME_UNKNOWN="home/unknown",e.NEWRELEASESFEED="newreleasesfeed",e.NOTIFICATIONS_CENTER="notifications-center",e.NOWPLAYING="nowplaying",e.NOWPLAYINGV2="nowplayingv2",e.NOWPLAYING_GENIUSCARDS="nowplaying/geniuscards",e.NOWPLAYING_NOWPLAYINGBAR="nowplaying/nowplayingbar",e.NOWPLAYING_LIVEROOMNOWPLAYINGBAR="nowplaying/liveroomnowplayingbar",e.NOWPLAYING_NOWPLAYINGSIDEBAR="nowplaying/nowplayingsidebar",e.NOWPLAYING_QUEUE="nowplaying/queue",e.NOWPLAYING_HISTORY="nowplaying/history",e.NOWPLAYING_UPNEXT="nowplaying/upnext",e.NFT_MIX="nft-mix",e.OFFLINE="offline",e.OFFLINE_SYNC_ERROR="offline-sync/error",e.OFFLINE_MIX_ENTITY="offline-mix/entity",e.OFFLINE_USER_MIX_ENTITY="offline-user-mix/entity",e.OVERLAY_SHUFFLEPLAYLIST="overlay/shuffleplaylist",e.OVERLAY_DATASAVERPLAYLIST="overlay/datasaverplaylist",e.ONBOARDING_OVERLAY="onboarding/overlay",e.ONETAPBROWSE="onetapbrowse",e.ONLYYOU_DATASTORIES="onlyyou/datastories",e.OPEN_ACCESS_PREVIEW="open-access-preview",e.OURDJ="ourdj",e.PAYMENTFAILURE_RESUBSCRIPTIONMODAL="paymentfailure/resubscriptionmodal",e.PERSONALISED_SET="personalised-set",e.PLAN_MEMBER_INVITATION="plan-member-invitation",e.PLAYLIST="playlist",e.PLAYLIST_NOTLOADED="playlist/notloaded",e.PLAYLIST_ONDEMAND="playlist/ondemand",e.PLAYLIST_DATA_SAVER="playlist/data-saver",e.PLAYLIST_ADDTOPLAYLIST="playlist/addtoplaylist",e.PLAYLIST_ADDTOPLAYLIST_ADDONTOPDIALOG="playlist/addtoplaylist/addontopdialog",e.PLAYLIST_ADDTOPLAYLIST_ADDTOBOTTOMDIALOG="playlist/addtoplaylist/addtobottomdialog",e.PLAYLIST_ADDTOPLAYLIST_DUPLICATEDIALOG="playlist/addtoplaylist/duplicatedialog",e.PLAYLIST_ADDTOPLAYLISTBOTTOMSHEET="playlist/addtoplaylistbottomsheet",e.PLAYLIST_ANNOTATE="playlist/annotate",e.PLAYLIST_CONFIRMDELETE="playlist/confirmdelete",e.PLAYLIST_CREATE="playlist/create",e.PLAYLIST_FOLDER="playlist/folder",e.PLAYLIST_FOLDER_TRACKS="playlist/folder/tracks",e.PLAYLIST_RENAME="playlist/rename",e.PLAYLIST_EDIT="playlist/edit",e.PLAYLIST_EDIT_DISCARD="playlist/edit/discard",e.PLAYLIST_EDIT_CROP="playlist/edit/crop",e.PLAYLIST_ALLSONGS="playlist/allsongs",e.PLAYLIST_PARTICIPANTS="playlist/participants",e.PLAYLIST_PERMISSIONS="playlist/permissions",e.PLAYLIST_PERMISSIONS_CLAIMDIALOG="playlist/permissions/claimdialog",e.PLAYLIST_PERMISSIONS_INVITESTORY="playlist/permissions/invitestory",e.PLAYLIST_STORY="playlist/story",e.PLAYLIST_WRAPPEDLIVE="playlist/wrappedlive",e.PLAYLIST_WEBVIEW="playlist/webview",e.PLAYLIST_FILTER="playlist/filter",e.PLAYLIST_COVER_ART_SNAKE="playlist/cover-art-snake",e.PLAYLIST_CREATE_EUTERPE="playlist/create/euterpe",e.PLAYLIST_CREATE_EUTERPE_REPORT_A_PROBLEM="playlist/create/euterpe-report-a-problem",e.PLAYLIST_TUNER="playlist/tuner",e.PLAYLIST_TUNER_EDIT_MENU="playlist/tuner/edit-menu",e.PLAYLIST_TUNER_ONBOARDING="playlist/tuner/onboarding",e.PLAYLIST_TUNER_ONBOARDING_SELECT_PLAYLIST="playlist/tuner/onboarding/select-playlist",e.LIST_CREATIONMENU="list/creationmenu",e.PLAYLISTPRO="playlistpro",e.PLAYLISTPRO_PREVIEW="playlistpro/preview",e.PODCAST="podcast",e.PODCAST_LOADING="podcast/loading",e.PODCAST_EPISODE="podcast/episode",e.PODCAST_EPISODE_AUDIOBOOK="podcast/episode/audiobook",e.PODCAST_EPISODE_DESCRIPTION="podcast/episode/description",e.PODCAST_EPISODE_LOADING="podcast/episode/loading",e.PODCAST_EPISODE_TIMELINE="podcast/episode/timeline",e.PODCAST_EPISODE_TRANSCRIPT="podcast/episode/transcript",e.PODCAST_EPISODE_COMMENTS="podcast/episode/comments",e.PODCAST_SHOW_AUDIOBOOK="podcast/show/audiobook",e.PODCAST_SHOW_LOADING="podcast/show/loading",e.PODCAST_SHOW_AUDIOBOOK_GATEDACCESSEDUCATION="podcast/show/audiobook/gatedaccesseducation",e.PODCAST_SHOW_COMMUNITY="podcast/show/community",e.PODCAST_SHOW_GATEDACCESSEDUCATION="podcast/show/gatedaccesseducation",e.PODCAST_SHOW_INTERACTIVEAUDIOBOOK="podcast/show/interactiveaudiobook",e.PODCAST_SHOW_RECOMMENDATIONS="podcast/show/recommendations",e.PODCAST_SHOW_SEARCH="podcast/show/search",e.PODCAST_STORYLINE="podcast/storyline",e.PODCAST_SHOW_SETTINGS="podcast/show/settings",e.PODCAST_SHOW_SETTINGS_MARKASPLAYED="podcast/show/settings/markasplayed",e.PODCAST_SPEED="podcast/speed",e.PODCAST_SPONSORS="podcast/sponsors",e.PODCAST_PEPAREPISODE="podcast/peparepisode",e.PODCAST_IMPORT="podcast/import",e.PODCAST_PREVIEW="podcast/preview",e.PODCAST_CREATOR="podcast/creator",e.PODCAST_CREATOR_SHOWS="podcast/creator/shows",e.PODCASTCHARTS="podcastcharts",e.PODCASTCHARTS_CATEGORIES="podcastcharts/categories",e.PODCASTCHARTS_REGIONS="podcastcharts/regions",e.PODCASTCHARTS_CHART="podcastcharts/chart",e.PODCASTCLIPS="podcastclips",e.PODCASTINTERACTIVITY_POLL="podcastinteractivity/poll",e.PODCASTONBOARDING_TOPICPICKER="podcastonboarding/topicpicker",e.PODCASTONBOARDING_SENDTOPICS="podcastonboarding/sendtopics",e.PODCAST_NEW_EPISODE_NOTIFICATIONS_SETTINGS="podcast-new-episode-notifications/settings",e.RATINGS_AND_REVIEWS_RATINGS="ratings-and-reviews/ratings",e.RATINGS_AND_REVIEWS_RATINGS_AUDIOBOOK="ratings-and-reviews/ratings/audiobook",e.PREMIUM="premium",e.PREMIUM_CONSIDERATION="premium-consideration",e.PLAN_DETAILS="plan-details",e.PREMIUM_ACCOUNT_MANAGEMENT="premium-account-management",e.PREMIUM_ACCOUNT_MANAGEMENT_ALL_PLANS="premium-account-management/all-plans",e.PREMIUM_ACCOUNT_MANAGEMENT_AVAILABLE_PLANS="premium-account-management/available-plans",e.PREMIUM_ACCOUNT_MANAGEMENT_BILLING="premium-account-management/billing",e.PREMIUM_ACCOUNT_MANAGEMENT_PLAN_DETAILS="premium-account-management/plan-details",e.PREMIUM_ACCOUNT_MANAGEMENT_MEMBER_DETAILS="premium-account-management/member-details",e.PREMIUM_ACCOUNT_MANAGEMENT_NEMO_CONSIDERATION="premium-account-management/nemo-consideration",e.PREMIUM_DESTINATION="premium-destination",e.PREMIUM_DESTINATION_PREMIUM_PLANS="premium-destination/premium-plans",e.PREMIUMHUB="premiumhub",e.PREMIUM_MINI_DOWNLOADED_ENTITY="premium-mini/downloaded-entity",e.PREMIUM_MINI_REWARDS="premium-mini/rewards",e.PREMIUM_MESSAGING="premium-messaging",e.PREMIUM_SIGNUP="premium-signup",e.PRERELEASE="prerelease",e.PROACTIVE_PLATFORMS_RECOMMENDATIONS_WIDGET="proactive-platforms/recommendations-widget",e.PROACTIVE_PLATFORMS_NPV_WIDGET="proactive-platforms/npv-widget",e.PROACTIVE_PLATFORMS_COVER_SCREEN_WIDGET="proactive-platforms/cover-screen-widget",e.PROFILE="profile",e.PROFILE_ACTIVITY="profile/activity",e.PROFILE_ACTIVITY_REPLAYS="profile/activity/replays",e.PROFILE_ARTISTS="profile/artists",e.PROFILE_BLOCKED_LIST="profile/blocked-list",e.PROFILE_FOLLOWERS="profile/followers",e.PROFILE_FOLLOWING="profile/following",e.PROFILE_PLAYLISTS="profile/playlists",e.PROFILE_EPISODES="profile/episodes",e.PROFILE_EDIT="profile/edit",e.PROFILE_FOLLOW_SUGGESTIONS="profile/follow-suggestions",e.PROFILE_IMAGEPREVIEW="profile/imagepreview",e.PROFILE_RECENTLY_PLAYED_ARTISTS="profile/recently-played-artists",e.PROFILE_TOP_TRACKS="profile/top-tracks",e.PROFILE_TOP_ARTISTS="profile/top-artists",e.PROFILE_PRONOUNS="profile/pronouns",e.PROFILE_IMAGE_PICKER="profile/image-picker",e.REFRESHEDPROFILE_FOLLOW_SUGGESTIONS="refreshedprofile/follow-suggestions",e.PICKINSIGHTS="pickinsights",e.PROMODISCLOSURE="promodisclosure",e.PUSHOPTIN="pushoptin",e.RADIO="radio",e.RADIO_DAILY_MIX_SURVEY="radio/daily-mix-survey",e.RADIO_DAILY_MIXES="radio/daily-mixes",e.RADIO_DASHBOARD_MIXES="radio/dashboard/mixes",e.RADIO_STATION="radio/station",e.RADIO_STATION_CREATE="radio/station/create",e.RADIO_STATION_CREATE_ALBUMS="radio/station/create/albums",e.RADIO_STATION_CREATE_ARTISTS="radio/station/create/artists",e.RADIO_STATION_CREATE_PLAYLISTS="radio/station/create/playlists",e.RADIO_STATION_CREATE_SHOWS="radio/station/create/shows",e.RADIO_STATION_CREATE_TRACKS="radio/station/create/tracks",e.RECENTLYPLAYED="recentlyplayed",e.RECENTS="recents",e.REMOTECONFIGURATION_DEBUG="remoteconfiguration/debug",e.REQUESTPERMISSIONS="requestpermissions",e.RESETPASSWORD="resetpassword",e.RESETPASSWORD_EMAILSENT="resetpassword/emailsent",e.RESETPASSWORD_EMAILLANDING="resetpassword/emaillanding",e.RESETPASSWORD_CHANGEPASSWORD="resetpassword/changepassword",e.RESETPASSWORD_SUCCESS="resetpassword/success",e.RUNNING="running",e.RUNNING_CATEGORY="running/category",e.RUNNING_SETUP="running/setup",e.RUNNING_SETUP_MANUAL="running/setup/manual",e.SAYIT="sayit",e.SCANNABLES_SCANNER="scannables/scanner",e.SCANNABLES_IMAGEPICKERCONTROLLER="scannables/imagepickercontroller",e.SEARCH="search",e.SEARCH_ALBUMS="search/albums",e.SEARCH_ARTISTS="search/artists",e.SEARCH_AUDIOBOOKS="search/audiobooks",e.SEARCH_AUDIOS="search/audios",e.SEARCH_AUTOCOMPLETE="search/autocomplete",e.SEARCH_EPISODES="search/episodes",e.SEARCH_MUSIC="search/music",e.SEARCH_GENRES="search/genres",e.SEARCH_PLAYLISTS="search/playlists",e.SEARCH_PODCASTS_AND_EPISODES="search/podcasts_and_episodes",e.SEARCH_PODCASTS_AND_EPISODES_VIDEOS="search/podcasts_and_episodes/videos",e.SEARCH_PODCASTS_AND_EPISODES_UPLOAD_DATE="search/podcasts_and_episodes/upload_date",e.SEARCH_PROFILES="search/profiles",e.SEARCH_SHOWS="search/shows",e.SEARCH_SONGS="search/songs",e.SEARCH_VIDEOS="search/videos",e.SEARCH_RECENT="search/recent",e.SETTINGS="settings",e.SETTINGS_SEARCH="settings/search",e.SETTINGS_ABOUT="settings/about",e.SETTINGS_ACCOUNT="settings/account",e.SETTINGS_ACCOUNT_UPSELL="settings/account/upsell",e.SETTINGS_ADS="settings/ads",e.SETTINGS_CONTENT_LANGUAGES="settings/content-languages",e.SETTINGS_LANGUAGE_SETTINGS_ROOT="settings/language-settings-root",e.SETTINGS_LANGUAGES_ROOT="settings/languages/root",e.SETTINGS_LANGUAGES_MUSIC="settings/languages/music",e.SETTINGS_LANGUAGES_CONTENT="settings/languages/content",e.SETTINGS_LANGUAGES_CONTENT_SEEALL="settings/languages/content/seeAll",e.SETTINGS_EQUALIZER="settings/equalizer",e.SETTINGS_FEATURES="settings/features",e.SETTINGS_IMPORT="settings/import",e.SETTINGS_LOCAL_FILES="settings/local-files",e.SETTINGS_NEARBY="settings/nearby",e.SETTINGS_NOTIFICATIONS="settings/notifications",e.SETTINGS_NOTIFICATIONS_CHANNELS="settings/notifications/channels",e.SETTINGS_NOTIFICATIONS_CHANNEL_DETAILS="settings/notifications/channel-details",e.SETTINGS_NOTIFICATIONS_CATEGORIES="settings/notifications/categories",e.SETTINGS_NOTIFICATIONS_CATEGORY_DETAILS="settings/notifications/category-details",e.SETTINGS_NOTIFICATIONS_IMPORTANT_PUBLIC_NOTICE="settings/notifications/important-public-notice",e.SETTINGS_PLAYBACK="settings/playback",e.SETTINGS_MEDIA_QUALITY="settings/media-quality",e.SETTINGS_QUALITY="settings/quality",e.SETTINGS_VIDEOQUALITY="settings/videoquality",e.SETTINGS_SOCIAL="settings/social",e.SETTINGS_APPS="settings/apps",e.SETTINGS_STORAGE="settings/storage",e.SETTINGS_THIRD_PARTY_LIBRARIES="settings/third-party-libraries",e.SETTINGS_DEVICES="settings/devices",e.SETTINGS_SIRIINTENTS="settings/siriintents",e.SETTINGS_UPDATE_EMAIL_ADDRESS="settings/update-email-address",e.SETTINGS_VOICE_ASSISTANTS="settings/voice-assistants",e.SETTINGS_IGNORED_IN_RECOMMENDATIONS="settings/ignored-in-recommendations",e.SETTINGS_CONTENTPREFERENCES="settings/contentpreferences",e.SETTINGS_CAR="settings/car",e.SETTINGS_EMPLOYEE_TOOLS="settings/employee-tools",e.SETTINGS_INTEGRATIONS="settings/integrations",e.SETTINGS_CONTENT_PERSONALIZATION="settings/content-personalization",e.SETTINGS_CONNECTIVITY="settings/connectivity",e.SARABANDA="sarabanda",e.SHARE="share",e.LEGACYSHARE="legacyshare",e.INTERIMSHARE="interimshare",e.LEGACYSHARE_POSTTO="legacyshare/postto",e.LEGACYSHARE_SENDTO="legacyshare/sendto",e.SHARE_FACEBOOK="share/facebook",e.SHARE_FACEBOOKFEED="share/facebookfeed",e.SHARE_INSTAGRAM="share/instagram",e.SHARE_SNAPCHAT="share/snapchat",e.SHARE_MESSENGER="share/messenger",e.SHARE_MESSENGER_COMPOSE="share/messenger/compose",e.SHARE_MISSINGUSER="share/missinguser",e.SHARE_MENU="share-menu",e.SHARE_MENU_COMPOSER="share-menu/composer",e.SHOWCASE="showcase",e.MARQUEE="marquee",e.SHOWS="shows",e.SHOWS_FORMAT_LIST="shows/format/list",e.SHOWS_FORMAT_NOWPLAYING="shows/format/nowplaying",e.SHOWS_FORMAT_ITEM="shows/format/item",e.SHOWS_FORMAT_SHARE="shows/format/share",e.SHOWS_AUDIO="shows/audio",e.SHOWS_RESOLVER="shows/resolver",e.SHUFFLE_TOGGLE_UPSELL="shuffle-toggle-upsell",e.REINVENTFREE_TIME_CAP_UPSELL="reinventfree-time-cap-upsell",e.REINVENTFREE_SKIP_LIMIT_UPSELL="reinventfree-skip-limit-upsell",e.REINVENTFREE_UPNEXT="reinventfree-upnext",e.REINVENTFREE_INDIA_EDUCATION_UPSELL="reinventfree-india-education-upsell",e.SKIP_LIMIT_PIVOT="skip-limit-pivot",e.SKIP_LIMIT_PIVOT_TRACKS="skip-limit-pivot-tracks",e.SPONSORED_RECOMMENDATION="sponsored-recommendation",e.SPOTIT="spotit",e.SPOTIT_STRONGRESULT="spotit/strongresult",e.SPOTIT_WEAKRESULT="spotit/weakresult",e.SPOTIT_ERROR="spotit/error",e.SUPPORT_HOME="support/home",e.SUPPORT_CATEGORY="support/category",e.SUPPORT_ARTICLE="support/article",e.SUPPORT_SITE_HOME="support-site/home",e.SUPPORT_SITE_CATEGORY="support-site/category",e.SUPPORT_SITE_ARTICLE="support-site/article",e.SUPPORT_SITE_CONTACT="support-site/contact",e.SUPPORT_SITE_OLD_HOME="support-site/old/home",e.SUPPORT_SITE_OLD_ARTICLE="support-site/old/article",e.SUPPORT_SITE_OLD_CHILDCATEGORY="support-site/old/childcategory",e.SUPPORT_SITE_OLD_CONTACT="support-site/old/contact",e.WWW_ACCOUNT_PAGES_ACCOUNTSETTINGS="www-account-pages/accountsettings",e.WWW_ACCOUNT_PAGES_ACTIVATIONHUB="www-account-pages/activationhub",e.WWW_ACCOUNT_PAGES_ADDRESS="www-account-pages/address",e.WWW_ACCOUNT_PAGES_AUDIOBOOK_LISTENING_TIME="www-account-pages/audiobook-listening-time",e.WWW_ACCOUNT_PAGES_AUTHENTICATIONSETTINGS="www-account-pages/authenticationsettings",e.WWW_ACCOUNT_PAGES_AVAILABLEPLANS="www-account-pages/availableplans",e.WWW_ACCOUNT_PAGES_CANCELLATIONOFFLINE="www-account-pages/cancellationoffline",e.WWW_ACCOUNT_PAGES_COLLECT_ACCOUNT_DETAILS="www-account-pages/collect-account-details",e.WWW_ACCOUNT_PAGES_DYNAMICHERO="www-account-pages/dynamichero",e.WWW_ACCOUNT_PAGES_EMAIL_VERIFICATION="www-account-pages/email-verification",e.WWW_ACCOUNT_PAGES_FAMILYDUO="www-account-pages/familyduo",e.WWW_ACCOUNT_PAGES_HERO="www-account-pages/hero",e.WWW_ACCOUNT_PAGES_LANDING="www-account-pages/landing",e.WWW_ACCOUNT_PAGES_LOGIN_METHODS="www-account-pages/login-methods",e.WWW_ACCOUNT_PAGES_MANAGEYOURPLAN="www-account-pages/manageyourplan",e.WWW_ACCOUNT_PAGES_NOTIFICATIONS="www-account-pages/notifications",e.WWW_ACCOUNT_PAGES_ORDER_HISTORY="www-account-pages/order-history",e.WWW_ACCOUNT_PAGES_OVERVIEW="www-account-pages/overview",e.WWW_ACCOUNT_PAGES_PREMIUM_SUBSCRIPTION_MANAGEMENT_COMPONENTS="www-account-pages/premium-subscription-management-components",e.WWW_ACCOUNT_PAGES_PRICECHANGE="www-account-pages/pricechange",e.WWW_ACCOUNT_PAGES_PRIVACY="www-account-pages/privacy",e.WWW_ACCOUNT_PAGES_RECEIPTS="www-account-pages/receipts",e.WWW_ACCOUNT_PAGES_RECOVERPLAYLISTS="www-account-pages/recoverplaylists",e.WWW_ACCOUNT_PAGES_RESUBSCRIPTIONMODAL="www-account-pages/resubscriptionmodal",e.WWW_ACCOUNT_PAGES_SAMPLEINAPP="www-account-pages/sampleinapp",e.WWW_ACCOUNT_PAGES_SAVEDPAYMENTCARDS="www-account-pages/savedpaymentcards",e.WWW_ACCOUNT_PAGES_SIGNEDOUT_CANCEL_SUBSCRIPTION="www-account-pages/signedout-cancel-subscription",e.WWW_ACCOUNT_PAGES_STUDENT="www-account-pages/student",e.WWW_ACCOUNT_PAGES_UPDATEPAYMENTDETAILS="www-account-pages/updatepaymentdetails",e.WWW_ACCOUNT_PAGES_YOURPLAN="www-account-pages/yourplan",e.SHOWS_CATEGORY="shows/category",e.SHOWS_MIXED="shows/mixed",e.SHOWS_NETWORK="shows/network",e.SHOWS_VIDEO="shows/video",e.SIDEDRAWER="sidedrawer",e.YOU="you",e.SOCIAL_LISTENING_IPLONBOARDINGDIALOG="social-listening/iplonboardingdialog",e.SOCIAL_LISTENING_ENDSESSIONDIALOG="social-listening/endsessiondialog",e.SOCIAL_LISTENING_JOINCONFIRMATIONDIALOG="social-listening/joinconfirmationdialog",e.SOCIAL_LISTENING_NOTIFICATIONDIALOG="social-listening/notificationdialog",e.SOCIAL_LISTENING_PARTICIPANTLIST="social-listening/participantlist",e.SOCIAL_LISTENING_EDUCATION="social-listening/education",e.SOCIAL_LISTENING_TAPTOQUEUE="social-listening/taptoqueue",e.SOCIAL_LISTENING_SETTINGS="social-listening/settings",e.SOCIAL_LISTENING_IPLSESSIONSHARING="social-listening/iplsessionsharing",e.SOCIAL_LISTENING_MARACASDIALOG="social-listening/maracasdialog",e.SIGNUP="signup",e.SOCIAL_LISTENING_SHAREOPTIONS="social-listening/shareoptions",e.SSO="sso",e.SSO_PARTNERACCOUNTLINKING="sso/partneraccountlinking",e.PARTNERACCOUNTLINKING="partneraccountlinking",e.PARTNERSCOPESCONSENT="partnerscopesconsent",e.TASTE_ONBOARDING="taste-onboarding",e.TERMS="terms",e.TERMS_TERMSOFSERVICE="terms/termsofservice",e.TERMS_TERMSOFSERVICE_REACCEPT="terms/termsofservice/reaccept",e.TERMS_TERMSINFO="terms/termsinfo",e.TERMS_PRIVACYPOLICY="terms/privacypolicy",e.TRACK_CREDITS_CREDITS="track-credits/credits",e.TRAVEL_WITH_MUSIC="travel-with-music",e.TRACK="track",e.UNKNOWN="unknown",e.UNKNOWN_LEGACYHUB="unknown/legacyhub",e.UNKNOWN_NOTLOADED="unknown/notloaded",e.UNKNOWN_UNCOVERED="unknown/uncovered",e.UPDATE_DIALOG="update-dialog",e.UBI_DEBUG_MONITOR_JOURNEY="ubi/debug-monitor/journey",e.UBI_DEBUG_MONITOR_RECENTEVENTSLIST="ubi/debug-monitor/recenteventslist",e.UBI_DEBUG_MONITOR_RAWDATA="ubi/debug-monitor/rawdata",e.UBI_DEBUG_MONITOR_EVENTGROUPDETAILS="ubi/debug-monitor/eventgroupdetails",e.UBI_DEBUG_MONITOR_EVENTDETAILS="ubi/debug-monitor/eventdetails",e.UPSELL="upsell",e.VIDEO_DEBUG="video/debug",e.VOICE="voice",e.VOICE_LISTENING="voice/listening",e.VOICE_ONBOARDING="voice/onboarding",e.VOICE_ALTERNATIVESEARCHRESULTS="voice/alternativesearchresults",e.VOICETIPS="voicetips",e.WATCHFEED="watchfeed",e.YOURSPOTIFY="yourspotify",e.YOURSPOTIFY_PROFILE="yourspotify/profile",e.YOURSPOTIFY_FORYOU="yourspotify/foryou",e.YOURSPOTIFY_DISCOVEREDFEATURES="yourspotify/discoveredfeatures",e.DISCOVERYFEED="discoveryfeed",e.VTEC="vtec",e.EXPRESSIVE_PLAYLISTS="expressive-playlists",e.EXPRESSIVE_PLAYLISTS_EDIT="expressive-playlists-edit",e.FREE_TIER_PLAYLIST="free-tier-playlist",e.FREE_TIER_PLAYLIST_ONDEMAND="free-tier-playlist/ondemand",e.FREE_TIER_COLLECTION="free-tier-collection",e.FREE_TIER_LIKES="free-tier-likes",e.FREE_TIER_LIKES_SONGS="free-tier-likes/songs",e.FREE_TIER_PROFILE="free-tier-profile",e.FREE_TIER_OTHER_USER_PROFILE="free-tier-other-user-profile",e.FREE_TIER_ALL_SONGS_DIALOG="free-tier-all-songs-dialog",e.FREE_TIER_EDIT_PLAYLIST="free-tier-edit-playlist",e.FREE_TIER_SEARCH_PLAYLIST="free-tier-search-playlist",e.FREE_TIER_ARTIST="free-tier-artist",e.FREE_TIER_ARTIST_SUBPAGE="free-tier-artist/subpage",e.FREE_TIER_ALBUM="free-tier-album",e.FREE_TIER_TRACK="free-tier-track",e.FREE_TIER_HOME="free-tier-home",e.FREE_TIER_HOME_DRILLDOWN="free-tier-home/drilldown",e.CATEGORIES_ONBOARDING="categories/onboarding",e.CATEGORIES_ONBOARDING_LOADING="categories/onboarding/loading",e.FREETIER_TASTEONBOARDING_LIKEDARTISTS="freetier/tasteonboarding/likedartists",e.FREETIER_TASTEONBOARDING_ARTISTPICKERCONTAINER="freetier/tasteonboarding/artistpickercontainer",e.FREETIER_TASTEONBOARDING_ARTISTPICKER="freetier/tasteonboarding/artistpicker",e.FREETIER_TASTEONBOARDING_ARTISTSEARCH="freetier/tasteonboarding/artistsearch",e.FREETIER_TASTEONBOARDING_SWIPETRACKS="freetier/tasteonboarding/swipetracks",e.FREETIER_TASTEONBOARDING_UPDATETASTE="freetier/tasteonboarding/updatetaste",e.FREETIER_TASTEONBOARDING_SKIPDIALOG="freetier/tasteonboarding/skipdialog",e.FREETIER_DATASAVER="freetier/datasaver",e.FREETIER_DATASAVER_LEARNMORE="freetier/datasaver/learnmore";e.FREETIER_DATASAVER_STATUS="freetier/datasaver/status",e.FREETIER_CHARTS_CHART="freetier/charts/chart",e.INAPPMESSAGE_MODAL="inappmessage/modal",e.INAPPMESSAGE_FULLSCREEN="inappmessage/fullscreen",e.INAPPMESSAGE_WEBVIEW="inappmessage/webview",e.INAPPMESSAGE="inappmessage",e.MESSAGE_STORE="message-store",e.STATIONSPROMO="stationspromo",e.QUICKPLAY="quickplay",e.LIVESTREAMING="livestreaming",e.LIVE_ENTITY="live/entity",e.LIVE_LEGALDISCLOSURE="live/legaldisclosure",e.LIVE_AUDIO_ENTITY="live-audio/entity",e.SPOTIFLY="spotifly",e.CAREPACKAGE="carepackage",e.OURSONG_INVITE="oursong/invite",e.OURSONG_RECEIVER="oursong/receiver",e.OURSONG_SHARE="oursong/share",e.VOTING_ROOT="voting/root",e.VOTING_CONFIRMATION="voting/confirmation",e.VOTING_SHARE="voting/share",e.WRAPPED_DATASTORIES="wrapped/datastories",e.WRAPPED_HOME="wrapped/home",e.WRAPPED_ENTITY="wrapped/entity",e.MRKT_ARTIST_AUDIENCE="mrkt/artist/audience",e.MRKT_ARTIST_AUDIENCE_WEB_VIEW="mrkt/artist/audience-web-view",e.MRKT_ARTIST_AUDIENCE_CITIES="mrkt/artist/audience/cities",e.MRKT_ARTIST_AUDIENCE_COUNTRIES="mrkt/artist/audience/countries",e.MRKT_ARTIST_AUDIENCE_ACTIVE_AUDIENCE="mrkt/artist/audience/active-audience",e.MRKT_ARTIST_EVENTS="mrkt/artist/events",e.MRKT_ARTIST_NOTIFICATIONS="mrkt/artist/notifications",e.MRKT_ARTIST_EVENTS_NO_ARTIST_REDIRECT="mrkt/artist/events/no-artist-redirect",e.MRKT_ARTIST_AUDIENCE_ACTIVE_AUDIENCE_NO_ARTIST_REDIRECT="mrkt/artist/audience/active-audience/no-artist-redirect",e.MRKT_ARTIST_AUDIENCE_SEGMENTS="mrkt/artist/audience/segments",e.MRKT_ARTIST_AUDIENCE_SEGMENTS_NO_ARTIST_REDIRECT="mrkt/artist/audience/segments/no-artist-redirect",e.MRKT_ARTIST_AUDIENCE_DEMOGRAPHIC="mrkt/artist/audience/demographic",e.MRKT_ARTIST_AUDIENCE_ENGAGEMENT="mrkt/artist/audience/engagement",e.MRKT_ARTIST_AUDIENCE_LOCATION="mrkt/artist/audience/location",e.MRKT_ARTIST_AUDIENCE_RELATED="mrkt/artist/audience/related",e.MRKT_ARTIST_AUDIENCE_RELEASE_ENGAGEMENT="mrkt/artist/audience/release-engagement",e.MRKT_ARTIST_AUDIENCE_RELEASE_ENGAGEMENT_NO_ARTIST_REDIRECT="mrkt/artist/audience/release-engagement/no-artist-redirect",e.MRKT_ARTIST_AUDIENCE_SOURCE_OF_STREAMS="mrkt/artist/audience/source-of-streams",e.MRKT_ARTIST_HOME="mrkt/artist/home",e.MRKT_ARTIST_PROFILE_MERCH="mrkt/artist/profile/merch",e.MRKT_ARTIST_PROFILE_MERCH_DETAILS="mrkt/artist/profile/merch/details",e.MRKT_ARTIST_MERCH="mrkt/artist/merch",e.MRKT_ARTIST_MERCH_DETAILS="mrkt/artist/merch/details",e.MRKT_ARTIST_MERCH_NO_ARTIST_REDIRECT="mrkt/artist/merch/no-artist-redirect",e.MRKT_ARTIST_MUSIC="mrkt/artist/music",e.MRKT_ARTIST_PLAYLIST="mrkt/artist/playlist",e.MRKT_ARTIST_MUSIC_PLAYLISTS="mrkt/artist/music/playlists",e.MRKT_ARTIST_PROFILE="mrkt/artist/profile",e.MRKT_ARTIST_PROFILE_ABOUT="mrkt/artist/profile/about",e.MRKT_ARTIST_PROFILE_ABOUT_EDIT="mrkt/artist/profile/about/edit",e.MRKT_ARTIST_PROFILE_ARTISTPICK_PICK="mrkt/artist/profile/artistpick/pick",e.MRKT_ARTIST_PROFILE_ARTISTPICK_EDIT="mrkt/artist/profile/artistpick/edit",e.MRKT_ARTIST_PROFILE_AVATAR="mrkt/artist/profile/avatar",e.MRKT_ARTIST_PROFILE_AVATAR_EDIT="mrkt/artist/profile/avatar/edit",e.MRKT_ARTIST_PROFILE_CATALOG_ALBUMS="mrkt/artist/profile/catalog/albums",e.MRKT_ARTIST_PROFILE_CATALOG_RELEASE="mrkt/artist/profile/catalog/release",e.MRKT_ARTIST_PROFILE_CATALOG_SINGLES="mrkt/artist/profile/catalog/singles",e.MRKT_ARTIST_PROFILE_IMAGE_GALLERY="mrkt/artist/profile/image-gallery",e.MRKT_ARTIST_PROFILE_IMAGE_GALLERY_ADD="mrkt/artist/profile/image-gallery/add",e.MRKT_ARTIST_PROFILE_IMAGE_GALLERY_ADD_PREVIEW="mrkt/artist/profile/image-gallery/add/preview",e.MRKT_ARTIST_PROFILE_IMAGES_EDIT="mrkt/artist/profile/images/edit",e.MRKT_ARTIST_PROFILE_PLAYLISTS="mrkt/artist/profile/playlists",e.MRKT_ARTIST_PROFILE_PLAYLISTS_EDIT="mrkt/artist/profile/playlists/edit",e.MRKT_ARTIST_PROFILE_FUNDRAISING="mrkt/artist/profile/fundraising",e.MRKT_ARTIST_SONG_CITIES="mrkt/artist/song/cities",e.MRKT_ARTIST_SONG_COUNTRIES="mrkt/artist/song/countries",e.MRKT_ARTIST_SONG_LOCATION="mrkt/artist/song/location",e.MRKT_ARTIST_SONG_PLAYLIST="mrkt/artist/song/playlist",e.MRKT_ARTIST_SONG_PLAYLISTS="mrkt/artist/song/playlists",e.MRKT_ARTIST_SONG_STATS="mrkt/artist/song/stats",e.MRKT_ARTIST_MUSIC_SONGS="mrkt/artist/music/songs",e.MRKT_SUBMISSION_CREATE="mrkt/submission/create",e.MRKT_ARTIST_CAMPAIGNS="mrkt/artist/campaigns",e.MRKT_ARTIST_CAMPAIGNS_TEAM="mrkt/artist/campaigns/team",e.MRKT_ARTIST_CAMPAIGNS_PREVIEW="mrkt/artist/campaigns/preview",e.MRKT_ARTIST_CAMPAIGNS_BILLING="mrkt/artist/campaigns/billing",e.MRKT_ARTIST_CAMPAIGNS_BUDGET="mrkt/artist/campaigns/budget",e.MRKT_ARTIST_CAMPAIGNS_DRAFT="mrkt/artist/campaigns/draft",e.MRKT_ARTIST_CAMPAIGNS_REVIEW="mrkt/artist/campaigns/review",e.MRKT_ARTIST_CAMPAIGNS_SETUP="mrkt/artist/campaigns/setup",e.MRKT_ARTIST_CAMPAIGNS_SUCCESS="mrkt/artist/campaigns/success",e.MRKT_ARTIST_CAMPAIGNS_DETAIL="mrkt/artist/campaigns/detail",e.MRKT_ARTIST_CAMPAIGNS_REPORTING="mrkt/artist/campaigns/reporting",e.MRKT_ARTIST_CAMPAIGNS_OVERVIEW="mrkt/artist/campaigns/overview",e.MRKT_ARTIST_CAMPAIGNS_PITCHING="mrkt/artist/campaigns/pitching",e.MRKT_ARTIST_CAMPAIGNS_COUNTDOWN="mrkt/artist/campaigns/countdown",e.MRKT_ARTIST_CAMPAIGNS_DM="mrkt/artist/campaigns/dm",e.MRKT_ARTIST_CAMPAIGNS_DM_CREATION="mrkt/artist/campaigns/dm/creation",e.MRKT_ARTIST_CAMPAIGNS_DM_REPORT="mrkt/artist/campaigns/dm/report",e.MRKT_ARTIST_CAMPAIGNS_DM_REVIEW="mrkt/artist/campaigns/dm/review",e.MRKT_ARTIST_CAMPAIGNS_NO_ARTIST_REDIRECT="mrkt/artist/campaigns/no-artist-redirect",e.MRKT_ARTIST_CAMPAIGNS_SHOWCASE="mrkt/artist/campaigns/showcase",e.MRKT_ARTIST_CAMPAIGNS_SHOWCASE_RELEASE="mrkt/artist/campaigns/showcase/release",e.MRKT_ARTIST_CAMPAIGNS_SHOWCASE_TEAM="mrkt/artist/campaigns/showcase/team",e.MRKT_ARTIST_CAMPAIGNS_SHOWCASE_SETUP="mrkt/artist/campaigns/showcase/setup",e.MRKT_ARTIST_CAMPAIGNS_SHOWCASE_BILLING="mrkt/artist/campaigns/showcase/billing",e.MRKT_ARTIST_CAMPAIGNS_SHOWCASE_REVIEW="mrkt/artist/campaigns/showcase/review",e.MRKT_ARTIST_CAMPAIGNS_SHOWCASE_SUCCESS="mrkt/artist/campaigns/showcase/success",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE="mrkt/artist/campaigns/marquee-and-showcase",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_RELEASE="mrkt/artist/campaigns/marquee-and-showcase/release",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_TEAM="mrkt/artist/campaigns/marquee-and-showcase/team",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_COUNTRY="mrkt/artist/campaigns/marquee-and-showcase/country",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_SETUP="mrkt/artist/campaigns/marquee-and-showcase/setup",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_CUSTOMIZE="mrkt/artist/campaigns/marquee-and-showcase/customize",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_BILLING="mrkt/artist/campaigns/marquee-and-showcase/billing",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_REVIEW="mrkt/artist/campaigns/marquee-and-showcase/review",e.MRKT_ARTIST_CAMPAIGNS_MARQUEE_AND_SHOWCASE_SUCCESS="mrkt/artist/campaigns/marquee-and-showcase/success",e.MRKT_ARTIST_CAMPAIGN_ADMIN="mrkt/artist/campaign-admin",e.MRKT_CANVAS_EDIT="mrkt/canvas/edit",e.MRKT_CHARTS_OVERVIEW="mrkt/charts/overview",e.MRKT_CHARTS_VIEW="mrkt/charts/view",e.MRKT_CHARTS_ONBOARDING="mrkt/charts/onboarding",e.MRKT_DEBUG_HUBS_COMPONENT_INFO="mrkt/debug/hubs/component-info",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_OVERVIEW="mrkt/debug/hubs/component-reference/overview",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_ROWS="mrkt/debug/hubs/component-reference/rows",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_ROWS_DARK="mrkt/debug/hubs/component-reference/rows-dark",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_BUTTONS="mrkt/debug/hubs/component-reference/buttons",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_BUTTONS_DARK="mrkt/debug/hubs/component-reference/buttons-dark",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_TILES="mrkt/debug/hubs/component-reference/tiles",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_TILES_DARK="mrkt/debug/hubs/component-reference/tiles-dark",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_SECTION_HEADERS="mrkt/debug/hubs/component-reference/section-headers",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_SECTION_HEADERS_DARK="mrkt/debug/hubs/component-reference/section-headers-dark",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_PAGE_HEADERS="mrkt/debug/hubs/component-reference/page-headers",e.MRKT_DEBUG_HUBS_COMPONENT_REFERENCE_PAGE_HEADERS_DARK="mrkt/debug/hubs/component-reference/page-headers-dark",e.MRKT_DEBUG_KAIZEN_COMPONENT_REFERENCE="mrkt/debug/kaizen/component-reference",e.MRKT_DEBUG_S4P_COMPONENT_REFERENCE="mrkt/debug/s4p/component-reference",e.MRKT_DISCOVERYMODE="mrkt/discoverymode",e.MRKT_DISCOVERYMODE_CREATE="mrkt/discoverymode/create",e.MRKT_DISCOVERYMODE_EDIT="mrkt/discoverymode/edit",e.MRKT_EXPRESSION_VIDEO_WRAPPED_DASHBOARD="mrkt/expression-video/wrapped-dashboard",e.MRKT_EXPRESSION_VIDEO_DASHBOARD="mrkt/expression-video/dashboard",e.MRKT_EXPRESSION_VIDEO_DETAIL="mrkt/expression-video/detail",e.MRKT_EXPRESSION_VIDEO_FORMAT="mrkt/expression-video/format",e.MRKT_EXPRESSION_VIDEO_SELECT_RELEASE="mrkt/expression-video/select-release",e.MRKT_EXPRESSION_VIDEO_SELECT_TRACK="mrkt/expression-video/select-track",e.MRKT_EXPRESSION_VIDEO_TYPE="mrkt/expression-video/type",e.MRKT_EXPRESSION_VIDEO_UPLOAD="mrkt/expression-video/upload",e.MRKT_EXPRESSION_VIDEO_YOUR_ARTIST_MESSAGE="mrkt/expression-video/your-artist-message",e.MRKT_HELP="mrkt/help",e.MRKT_LEGAL_PRIVACY_POLICY="mrkt/legal/privacy-policy",e.MRKT_LEGAL_TERMS_AND_CONDITIONS="mrkt/legal/terms-and-conditions",e.MRKT_LEGAL_THIRD_PARTY_LICENSES="mrkt/legal/third-party-licenses",e.MRKT_LOGIN="mrkt/login",e.MRKT_MOBILE_STATS_LATEST_ALBUM="mrkt/mobile-stats/latest-album",e.MRKT_MOBILE_STATS_OVERVIEW="mrkt/mobile-stats/overview",e.MRKT_REQUEST_ACCESS_MOBILE_LAUNCHER="mrkt/request-access/mobile-launcher",e.MRKT_ROSTER="mrkt/roster",e.MRKT_APP_SETTINGS="mrkt/app-settings",e.MRKT_APP_SETTINGS_SELECT_ARTIST="mrkt/app-settings/select-artist",e.MRKT_APP_SETTINGS_PUSH_NOTIFICATIONS="mrkt/app-settings/push-notifications",e.MRKT_WAITING_ROOM_HOME="mrkt/waiting-room/home",e.MRKT_WAITING_ROOM_MUSIC="mrkt/waiting-room/music",e.MRKT_WAITING_ROOM_AUDIENCE="mrkt/waiting-room/audience",e.MRKT_WAITING_ROOM_PROFILE="mrkt/waiting-room/profile",e.MRKT_WAITING_ROOM_STATS="mrkt/waiting-room/stats",e.MRKT_WELCOME="mrkt/welcome",e.MRKT_ACTIVITY="mrkt/activity",e.MRKT_ADD_TEAM="mrkt/add-team",e.MRKT_ARTIST_NMS="mrkt/artist/nms",e.MRKT_ARTIST_NMS_CREATE="mrkt/artist/nms/create",e.MRKT_ARTIST_NMS_EDIT="mrkt/artist/nms/edit",e.MRKT_ARTIST_PROFILE_CONCERTS="mrkt/artist/profile/concerts",e.MRKT_ARTIST_MUSIC_RELEASES="mrkt/artist/music/releases",e.MRKT_ARTIST_RELEASE_STATS="mrkt/artist/release/stats",e.MRKT_ARTIST_MUSIC_UPCOMING="mrkt/artist/music/upcoming",e.MRKT_CONTENT_MISMATCH="mrkt/content-mismatch",e.MRKT_DISTRIBUTOR_INVITE="mrkt/distributor-invite",e.MRKT_LABS="mrkt/labs",e.MRKT_LABS_ARTIST_HISTORY="mrkt/labs/artist-history",e.MRKT_NOT_FOUND="mrkt/not-found",e.MRKT_TEAM_ACCESS_ARTIST="mrkt/team/access/artist",e.MRKT_TEAM_ACCESS_LABEL="mrkt/team/access/label",e.MRKT_TEAM_LABEL_ARTISTS="mrkt/team/label/artists",e.MRKT_TEAM_MANAGEMENT="mrkt/team-management",e.MRKT_TEAM_MANAGEMENT_SELECT_TEAM="mrkt/team-management/select-team",e.MRKT_TEAM_MANAGEMENT_ACCEPT_INVITE="mrkt/team-management/accept-invite",e.MRKT_TEAM_MANAGEMENT_ACTIVITY="mrkt/team-management/activity",e.MRKT_TEAM_MANAGEMENT_BULK_INVITE="mrkt/team-management/bulk-invite",e.MRKT_TEAM_MANAGEMENT_DETAILS="mrkt/team-management/details",e.MRKT_TEAM_MANAGEMENT_TEAM_DETAILS="mrkt/team-management/team-details",e.MRKT_TEAM_MANAGEMENT_INVITE="mrkt/team-management/invite",e.MRKT_TEAM_MANAGEMENT_BILLING="mrkt/team-management/billing",e.MRKT_TEAM_MANAGEMENT_PAYOUTS="mrkt/team-management/payouts",e.MRKT_TEAM_SWITCHER_DEBUG_SETTINGS="mrkt/team-switcher/debug-settings",e.MRKT_USER_SETTINGS="mrkt/user-settings",e.MRKT_SONGWRITER_PROFILE="mrkt/songwriter/profile",e.MRKT_FAN_ENGAGEMENT="mrkt/fan-engagement",e.MRKT_LIVE_ARTIST_ROOM_CREATE="mrkt/live-artist-room/create",e.MRKT_LIVE_ARTIST_ROOM_EDIT="mrkt/live-artist-room/edit",e.MRKT_VIDEO="mrkt/video",e.MRKT_VIDEO_CREATE="mrkt/video/create",e.MRKT_VIDEO_EDIT="mrkt/video/edit",e.MRKT_VIDEO_WRAPPED="mrkt/video/wrapped",e.MRKT_WRAPPED="mrkt/wrapped",e.MRKT_PRE_RELEASE_CREATE="mrkt/pre-release/create",e.MRKT_PRE_RELEASE_VIDEO_CREATE="mrkt/pre-release/video/create",e.MRKT_PRE_RELEASE_EDIT="mrkt/pre-release/edit",e.MRKT_FRONTDOOR_HOME="mrkt/frontdoor/home",e.MRKT_FRONTDOOR_CLAIM="mrkt/frontdoor/claim",e.MRKT_FRONTDOOR_GET_STARTED="mrkt/frontdoor/get-started",e.MRKT_FRONTDOOR_BLOG="mrkt/frontdoor/blog",e.MRKT_FRONTDOOR_BLOG_CONTENT="mrkt/frontdoor/blog/content",e.MRKT_FRONTDOOR_PROVIDERS="mrkt/frontdoor/providers",e.MRKT_FRONTDOOR_FEATURES="mrkt/frontdoor/features",e.MRKT_FRONTDOOR_PLAYLISTING="mrkt/frontdoor/playlisting",e.MRKT_FRONTDOOR_VIDEOS="mrkt/frontdoor/videos",e.MRKT_FRONTDOOR_VIDEOS_CONTENT="mrkt/frontdoor/videos/content",e.MRKT_FRONTDOOR_MARQUEE="mrkt/frontdoor/marquee",e.MRKT_FRONTDOOR_MERCH="mrkt/frontdoor/merch",e.MRKT_FRONTDOOR_STREAM_ON="mrkt/frontdoor/stream-on",e.MRKT_FRONTDOOR_SONGWRITING="mrkt/frontdoor/songwriting",e.MRKT_FRONTDOOR_SHOWCASE="mrkt/frontdoor/showcase",e.MRKT_FRONTDOOR_YOUR_WRAPPED="mrkt/frontdoor/your-wrapped",e.MRKT_FRONTDOOR_GET_READY_FOR_WRAPPED="mrkt/frontdoor/get-ready-for-wrapped",e.MRKT_FRONTDOOR_CAMPAIGN_KIT="mrkt/frontdoor/campaign-kit",e.MRKT_FRONTDOOR_ANALYTICS="mrkt/frontdoor/analytics",e.MRKT_FRONTDOOR_EVENTS="mrkt/frontdoor/events",e.MRKT_FRONTDOOR_DISCOVERY_MODE="mrkt/frontdoor/discovery-mode",e.MRKT_FRONTDOOR_CANVAS="mrkt/frontdoor/canvas",e.MRKT_FRONTDOOR_MERCH_LIVE_AND_MORE="mrkt/frontdoor/merch-live-and-more",e.MRKT_FRONTDOOR_VIDEO_AND_VISUALS="mrkt/frontdoor/video-and-visuals",e.MRKT_FRONTDOOR_LIVE_EVENTS="mrkt/frontdoor/live-events",e.MRKT_FRONTDOOR_CLIPS="mrkt/frontdoor/clips",e.MRKT_FRONTDOOR_ARTIFICIAL_STREAMING="mrkt/frontdoor/artificial-streaming",e.MRKT_FRONTDOOR_NEW_RELEASES="mrkt/frontdoor/new-releases",e.MRKT_FRONTDOOR_COUNTDOWN_PAGES="mrkt/frontdoor/countdown-pages",e.MRKT_FRONTDOOR_UNKNOWN="mrkt/frontdoor/unknown",e.S4P_AUTHENTICATION_SELECTION="s4p/authentication/selection",e.S4P_AUTHENTICATION_ABOUT_SPOTITY_ACCOUNTS="s4p/authentication/about-spotity-accounts",e.S4P_AUTHENTICATION_ACCOUNT_INFORMATION="s4p/authentication/account-information",e.S4P_CLAIM_PODCAST_WEB_MIGRATION_REQUIRED="s4p/claim-podcast/web-migration-required",e.S4P_CLAIM_PODCAST_ADD_EXISTING_PODCAST="s4p/claim-podcast/add-existing-podcast",e.S4P_CLAIM_PODCAST_PODCAST_SEARCH_RESULTS="s4p/claim-podcast/podcast-search-results",e.S4P_CLAIM_PODCAST_PODCAST_VERIFICATION="s4p/claim-podcast/podcast-verification",e.S4P_CLAIM_PODCAST_PODCAST_VERIFICATION_COMPLETE="s4p/claim-podcast/podcast-verification-complete",e.S4P_CLAIM_PODCAST_PAYOUTS_CONFIRMATION="s4p/claim-podcast/payouts-confirmation",e.S4P_EMAIL_VERIFICATION="s4p/email-verification",e.S4P_HOME="s4p/home",e.S4P_WEB_VIEW_HOW_TO_GROW_AN_AUDIENCE="s4p/web-view/how-to-grow-an-audience",e.S4P_WEB_VIEW_HOW_TO_GET_DISCOVERED_ON_SPOTIFY="s4p/web-view/how-to-get-discovered-on-spotify",e.S4P_WEB_VIEW_HOW_TO_INSERT_AD_BREAKS="s4p/web-view/how-to-insert-ad-breaks",e.S4P_WEB_VIEW_SUBSCRIPTION_ANALYTICS="s4p/web-view/subscription-analytics",e.S4P_PODCAST_EPISODE="s4p/podcast/episode",e.S4P_PODCAST_EPISODE_RICH_TEXT_EDITOR="s4p/podcast/episode/rich-text-editor",e.S4P_PODCAST_EPISODE_ADDITIONAL_DETAILS="s4p/podcast/episode/additional-details",e.S4P_PODCAST_EPISODE_PREVIEW_PLAYER="s4p/podcast/episode/preview-player",e.S4P_PODCAST="s4p/podcast",e.S4P_PODCAST_EPISODE_OPTIONS="s4p/podcast/episode/options",e.S4P_PODCAST_EPISODE_MONETIZE="s4p/podcast/episode/monetize",e.S4P_ANALYTICS="s4p/analytics",e.S4P_ANALYTICS_IMPRESSIONS="s4p/analytics/impressions",e.S4P_ANALYTICS_GEO_LOCATION="s4p/analytics/geo-location",e.S4P_ANALYTICS_MILESTONE="s4p/analytics/milestone",e.S4P_ANALYTICS_MILESTONE_PLAYS="s4p/analytics/milestone/plays",e.S4P_ANALYTICS_NOTIFICATION_CHARTS="s4p/analytics/notification/charts",e.S4P_SHOW_SWITCHER="s4p/show-switcher",e.S4P_SHOWS_ALL="s4p/shows/all",e.S4P_SHOWS_VIEW_IN_BROWSER="s4p/shows/view-in-browser",e.S4P_INCOMPLETE_HOSTING_SWITCH="s4p/incomplete-hosting-switch",e.S4P_SUBMITTED_SHOW="s4p/submitted-show",e.S4P_SETTINGS="s4p/settings",e.S4P_SETTINGS_PERSONAL_INFO="s4p/settings/personal-info",e.S4P_SETTINGS_EMAIL_NOTIFICATION="s4p/settings/email-notification",e.S4P_SETTINGS_PODCAST="s4p/settings/podcast",e.S4P_SETTINGS_PODCAST_PROFILE="s4p/settings/podcast/profile",e.S4P_SETTINGS_PUSH_NOTIFICATION="s4p/settings/push-notification",e.S4P_SETTINGS_THEME="s4p/settings/theme",e.S4P_SETUP_SHOW_ZERO_STATE="s4p/setup-show/zero-state",e.S4P_SETUP_SHOW_TABLE_OF_CONTENTS="s4p/setup-show/table-of-contents",e.S4P_SETUP_SHOW_NAME="s4p/setup-show/name",e.S4P_SETUP_SHOW_DESCRIPTION="s4p/setup-show/description",e.S4P_SETUP_SHOW_AUTHOR="s4p/setup-show/author",e.S4P_SETUP_SHOW_CATEGORY_LANGUAGE="s4p/setup-show/category-language",e.S4P_SETUP_SHOW_COVER_ART="s4p/setup-show/cover-art",e.S4P_SETUP_SHOW_CROP_COVER_ART="s4p/setup-show/crop-cover-art",e.S4P_SETUP_SHOW_SUMMARY="s4p/setup-show/summary",e.S4P_SETUP_SHOW_DONE="s4p/setup-show/done",e.S4P_SETUP_SHOW_PLATFORM_SELECTION="s4p/setup-show/platform-selection",e.S4P_SETUP_SHOW_CLAIM_BLOCKING="s4p/setup-show/claim-blocking",e.S4P_TERMS_OF_SERVICE="s4p/terms-of-service",e.S4P_ONBOARDING_LANDING="s4p/onboarding/landing",e.S4P_ONBOARDING_PUSH_NOTIFICATIONS="s4p/onboarding/push-notifications",e.S4P_ONBOARDING_HOSTING="s4p/onboarding/hosting",e.S4P_LOGIN="s4p/login",e.S4P_EPISODES_SELECT="s4p/episodes/select",e.S4P_EPISODES_SELECT_POLL="s4p/episodes/select/poll",e.S4P_EPISODES_SELECT_QNA="s4p/episodes/select/qna",e.S4P_BLOCKED_USERS="s4p/blocked-users",e.S4P_BLOCKED_WORDS="s4p/blocked-words",e.S4P_QNA_RESPONSES="s4p/qna-responses",e.S4P_INTERACT="s4p/interact",e.S4P_INTERACT_SETTINGS="s4p/interact/settings",e.S4P_POLL_EDIT="s4p/poll/edit",e.S4P_QNA_EDIT="s4p/qna/edit",e.S4P_CREATION_AUDIO_TRIMMER="s4p/creation/audio-trimmer",e.S4P_CREATION_ENTRY="s4p/creation/entry",e.S4P_CREATION_IMPORT="s4p/creation/import",e.S4P_SHARING_SHARE="s4p/sharing/share",e.S4P_CREATION_RECORDER="s4p/creation/recorder",e.S4P_CREATION_RECORDING_TERMS="s4p/creation/recording-terms",e.S4P_DEBUG_MENU="s4p/debug/menu",e.S4P_DEBUG_EXPERIMENTS="s4p/debug/experiments",e.S4P_DEBUG_CONSOLE_LOGGER="s4p/debug/console-logger",e.S4P_DEBUG_KAIZEN_COMPONENTS="s4p/debug/kaizen-components",e.S4P_DEBUG_S4P_COMPONENTS="s4p/debug/s4p-components",e.S4P_DEBUG_TEST_ACCOUNT_SWITCHER="s4p/debug/test-account-switcher",e.S4P_COMMENTS_DETAIL="s4p/comments-detail",e.S4P_MONETIZE="s4p/monetize",e.S4P_AUDIENCE="s4p/audience",e.S4P_CATALOG="s4p/catalog",e.S4P_POLL_DETAIL="s4p/poll-detail",e.S4P_COMMON_WEBVIEW="s4p/common-webview",e.SOULSEEKER_SIMILAR_PROFILES="soulseeker-similar-profiles",e.SOULSEEKER_PROFILE_TRACKS="soulseeker-profile-tracks",e.PODCASTMIX_ENTITY="podcastmix/entity",e.PODCASTMIX_CONTROLS="podcastmix/controls",e.PODCASTMIX_CONTROLS_TOPICS="podcastmix/controls/topics",e.PODCASTMIX_CONTROLS_SHOWS="podcastmix/controls/shows",e.PODCASTMIX_CONTROLS_MUSIC="podcastmix/controls/music",e.TOPIC="topic",e.THESTAGE="thestage",e.USERPLAYLISTRESOLVER="userplaylistresolver",e.GENRE="genre",e.FORCEUPGRADE="forceupgrade",e.IMAGE_PICKER="image-picker",e.SUPERBIRD_SETUP_WELCOME="superbird/setup/welcome",e.SUPERBIRD_SETUP_BLUETOOTHCONNECT="superbird/setup/bluetoothconnect",e.SUPERBIRD_SETUP_BLUETOOTHSETTINGS="superbird/setup/bluetoothsettings",e.SUPERBIRD_SETUP_SEARCHING="superbird/setup/searching",e.SUPERBIRD_SETUP_CONNECTED="superbird/setup/connected",e.SUPERBIRD_SETUP_CHECKFORUPDATES="superbird/setup/checkforupdates",e.SUPERBIRD_SETUP_CONNECTTOCAR="superbird/setup/connecttocar",e.SUPERBIRD_SETUP_CONNECTTOWIFI="superbird/setup/connecttowifi",e.SUPERBIRD_SETUP_DOWNLOADED="superbird/setup/downloaded",e.SUPERBIRD_SETUP_DOWNLOADING="superbird/setup/downloading",e.SUPERBIRD_SETUP_EVERYTHINGCONNECTED="superbird/setup/everythingconnected",e.SUPERBIRD_SETUP_READY="superbird/setup/ready",e.SUPERBIRD_SETUP_RECONNECTING="superbird/setup/reconnecting",e.SUPERBIRD_SETUP_TESTSOUND="superbird/setup/testsound",e.SUPERBIRD_SETUP_MOUNTSELECTION="superbird/setup/mountselection",e.SUPERBIRD_SETUP_MOUNTINSTRUCTIONS="superbird/setup/mountinstructions",e.SUPERBIRD_SETUP_CONTROLOTHERMEDIA="superbird/setup/controlothermedia",e.SUPERBIRD_SETUP_CONTROLOTHERMEDIADECLINED="superbird/setup/controlothermediadeclined",e.SPOTIFYBUTTON_ACTIVATION_WELCOME="spotifybutton/activation/welcome",e.SPOTIFYBUTTON_ACTIVATION_DEVICESCANNING="spotifybutton/activation/devicescanning",e.SPOTIFYBUTTON_ACTIVATION_SETUP="spotifybutton/activation/setup",e.SPOTIFYBUTTON_ACTIVATION_READY="spotifybutton/activation/ready",e.IRONCHEF_ENTITY="ironchef/entity",e.IRONCHEF_PREVIEWSONGS="ironchef/previewsongs",e.IRONCHEF_CHOOSEKIND="ironchef/choosekind",e.IRONCHEF_CREATE="ironchef/create",e.IRONCHEF_EDIT="ironchef/edit",e.IRONCHEF_SEARCH="ironchef/search",e.IRONCHEF_NAMING="ironchef/naming",e.ENDLESS_FEED="endless-feed",e.HIFI_ONBOARDING="hifi/onboarding",e.HIFI_SESSION_INFO="hifi/session-info",e.HIFI_TOGGLE="hifi/toggle",e.HARMONYPLAYER_NPV="harmonyplayer/npv",e.HARMONYPLAYER_PLAYLISTS="harmonyplayer/playlists",e.CAMPAIGNS_DATASTORIES="campaigns/datastories",e.PUFFIN_AUTODETECT="puffin/autodetect",e.PUFFIN_MANUAL_SELECT="puffin/manual-select",e.PUFFIN_MANUAL_SELECT_REDUCED="puffin/manual-select-reduced",e.PUFFIN_MANAGEMENT="puffin/management",e.PUFFIN_ONBOARDING="puffin/onboarding",e.PUFFIN_INTRO="puffin/intro",e.PUFFIN_PIGEON_ONBOARDING="puffin/pigeon-onboarding",e.PUFFIN_CLOUD="puffin/cloud",e.SHARECARD_PLAYLIST="sharecard/playlist",e.GUILTYPLEASURE_LIST="guiltypleasure/list",e.WEB3_NFTSHOWCASEGRID="web3/nftshowcasegrid",e.WEB3_NFTSHOWCASEPREVIEW="web3/nftshowcasepreview",e.WEB3_TOKENENABLED_PLAYLIST="web3/tokenenabled/playlist",e.MANAGE_TEAMS_PAGE="manage/teams-page",e.MANAGE_ACCEPT_INVITE="manage/accept-invite",e.MANAGE_ACCEPT_INVITE_WELCOME_PAGE="manage/accept-invite/welcome-page",e.MANAGE_TEAM_MEMBERS_PAGE="manage/team-members-page",e.MANAGE_TEAM_MEMBER_DETAILS_PAGE="manage/team-member-details-page",e.MANAGE_INVITES_PAGE="manage/invites-page",e.MANAGE_CREATE_INVITE_PAGE="manage/create-invite-page",e.MANAGE_ACTIVITY_FEED="manage/activity-feed",e.MANAGE_ORG_UNITS="manage/org-units",e.READALONG="readalong",e.READALONG_FULLSCREEN="readalong/fullscreen",e.READALONG_SHARE="readalong/share",e.ADSTUDIO_DASHBOARD_CAMPAIGNS="adstudio/dashboard/campaigns",e.ADSTUDIO_DASHBOARD_CAMPAIGN_DRAFTS="adstudio/dashboard/campaign-drafts",e.ADSTUDIO_DASHBOARD_AD_SETS="adstudio/dashboard/ad-sets",e.ADSTUDIO_DASHBOARD_AD_SET_DRAFTS="adstudio/dashboard/ad-set-drafts",e.ADSTUDIO_DASHBOARD_ADS="adstudio/dashboard/ads",e.ADSTUDIO_DASHBOARD_AD_DRAFTS="adstudio/dashboard/ad-drafts",e.ADSTUDIO_ASSET_LIBRARY="adstudio/asset-library",e.ADSTUDIO_USER_SETTINGS="adstudio/user-settings",e.ADSTUDIO_ACCOUNT_MANAGEMENT="adstudio/account-management",e.ADSTUDIO_AD_ACCOUNTS="adstudio/ad-accounts",e.ADSTUDIO_ACCOUNT_DETAILS="adstudio/account-details",e.ADSTUDIO_BILLING_CENTER="adstudio/billing-center",e.ADSTUDIO_ACCOUNT_SETTINGS="adstudio/account-settings",e.ADSTUDIO_PIXELS="adstudio/pixels",e.ADSTUDIO_APPS="adstudio/apps",e.ADSTUDIO_AD_SET_REPORT="adstudio/ad-set/report",e.ADSTUDIO_AD_SET_DETAILS="adstudio/ad-set/details",e.ADSTUDIO_AD_SET_ADS="adstudio/ad-set/ads",e.ADSTUDIO_AD_DETAILS="adstudio/ad/details",e.ADSTUDIO_AD_REPORT="adstudio/ad/report",e.ADSTUDIO_AD_AD_SETS="adstudio/ad/ad-sets",e.ADSTUDIO_COLD_START_CAMPAIGN="adstudio/cold-start/campaign",e.ADSTUDIO_COLD_START_AD_SET="adstudio/cold-start/ad-set",e.ADSTUDIO_COLD_START_AD="adstudio/cold-start/ad",e.ADSTUDIO_COLD_START_REVIEW_AND_SUBMIT="adstudio/cold-start/review-and-submit",e.ADSTUDIO_COLD_START_CAMPAIGN_RESERVED_BOOKING="adstudio/cold-start/campaign/reserved-booking",e.ADSTUDIO_COLD_START_AD_SET_RESERVED_BOOKING="adstudio/cold-start/ad-set/reserved-booking",e.ADSTUDIO_COLD_START_AD_RESERVED_BOOKING="adstudio/cold-start/ad/reserved-booking",e.ADSTUDIO_COLD_START_REVIEW_AND_SUBMIT_RESERVED_BOOKING="adstudio/cold-start/review-and-submit/reserved-booking",e.ADSTUDIO_EDIT_CAMPAIGN="adstudio/edit/campaign",e.ADSTUDIO_EDIT_AD_SET="adstudio/edit/ad-set",e.ADSTUDIO_EDIT_AD="adstudio/edit/ad",e.ADSTUDIO_EDIT_CAMPAIGN_RESERVED_BOOKING="adstudio/edit/campaign/reserved-booking",e.ADSTUDIO_EDIT_AD_SET_RESERVED_BOOKING="adstudio/edit/ad-set/reserved-booking",e.ADSTUDIO_APPROVE_CAMPAIGN_RESERVED_BOOKING="adstudio/approve/campaign/reserved-booking",e.ADSTUDIO_ADD_TO_EXISTING_CAMPAIGN_AD_SET="adstudio/add-to-existing-campaign/ad-set",e.ADSTUDIO_ADD_TO_EXISTING_CAMPAIGN_AD="adstudio/add-to-existing-campaign/ad",e.ADSTUDIO_ADD_TO_EXISTING_CAMPAIGN_REVIEW_AND_SUBMIT="adstudio/add-to-existing-campaign/review-and-submit",e.ADSTUDIO_ADD_TO_EXISTING_AD_SET_AD="adstudio/add-to-existing-ad-set/ad",e.ADSTUDIO_ADD_TO_EXISTING_AD_SET_REVIEW_AND_SUBMIT="adstudio/add-to-existing-ad-set/review-and-submit",e.ADSTUDIO_DUPLICATE_AD_SET_WITH_ADS_AD_SET="adstudio/duplicate-ad-set-with-ads/ad-set",e.ADSTUDIO_DUPLICATE_AD_SET_WITH_ADS_AD="adstudio/duplicate-ad-set-with-ads/ad",e.ADSTUDIO_DUPLICATE_AD_SET_WITH_ADS_REVIEW_AND_SUBMIT="adstudio/duplicate-ad-set-with-ads/review-and-submit",e.ADSTUDIO_DUPLICATE_AD_SET_ONLY_AD_SET="adstudio/duplicate-ad-set-only/ad-set",e.ADSTUDIO_DUPLICATE_AD_SET_ONLY_AD="adstudio/duplicate-ad-set-only/ad",e.ADSTUDIO_DUPLICATE_AD_SET_ONLY_REVIEW_AND_SUBMIT="adstudio/duplicate-ad-set-only/review-and-submit",e.ADSTUDIO_DUPLICATE_AD_AD="adstudio/duplicate-ad/ad",e.ADSTUDIO_BUSINESS_PEOPLE="adstudio/business/people",e.ADSTUDIO_BUSINESS_DETAILS="adstudio/business/details",e.ADSTUDIO_BUSINESS_AD_ACCOUNTS="adstudio/business/ad-accounts",e.ADSTUDIO_BUSINESS_AD_ACCOUNTS_DETAILS="adstudio/business/ad-accounts/details",e.ADSTUDIO_BUSINESS_SIGNUP="adstudio/business/signup",e.ADSTUDIO_COLD_START_AD_QUICK_AUDIO="adstudio/cold-start/ad-quick-audio",e.ADSTUDIO_COLD_START_AD_QUICK_AI_AUDIO="adstudio/cold-start/ad-quick-ai-audio",e.ADSTUDIO_COLD_START_AD_FULL_SERVICE_AUDIO="adstudio/cold-start/ad-full-service-audio",e.ADSTUDIO_ADD_TO_EXISTING_AD_SET_AD_QUICK_AUDIO="adstudio/add-to-existing-ad-set/ad-quick-audio",e.ADSTUDIO_ADD_TO_EXISTING_AD_SET_AD_QUICK_AI_AUDIO="adstudio/add-to-existing-ad-set/ad-quick-ai-audio",e.ADSTUDIO_ADD_TO_EXISTING_AD_SET_AD_FULL_SERVICE_AUDIO="adstudio/add-to-existing-ad-set/ad-full-service-audio",e.ADSTUDIO_DUPLICATE_AD_SET_ONLY_AD_QUICK_AUDIO="adstudio/duplicate-ad-set-only/ad-quick-audio",e.ADSTUDIO_DUPLICATE_AD_SET_ONLY_AD_QUICK_AI_AUDIO="adstudio/duplicate-ad-set-only/ad-quick-ai-audio",e.ADSTUDIO_DUPLICATE_AD_SET_ONLY_AD_FULL_SERVICE_AUDIO="adstudio/duplicate-ad-set-only/ad-full-service-audio",e.ADSTUDIO_REPORT="adstudio/report",e.ADSTUDIO_REPORT_CREATE="adstudio/report/create",e.ADSTUDIO_SIGN_UP="adstudio/sign-up",e.YOUR_SOUND="your-sound",e.EPISODECHAPTERS_NPV="episodechapters/npv",e.EPISODECHAPTERS_NPV_FULLSCREEN="episodechapters/npv/fullscreen",e.EPISODECHAPTERS_CONTENTS="episodechapters/contents",e.EPISODECHAPTERS_EPISODECHAPTER_CONTEXTMENU="episodechapters/episodechapter/contextmenu",e.EPISODECHAPTERS_SEARCH="episodechapters/search",e.HACKWEEK2023_SYNC_LIGHTS="hackweek2023/sync-lights",e.HACKWEEK2023_PRERELEASE_EVENT="hackweek2023/prerelease-event",e.SMARTSHUFFLE_NPVRECOMMENDATIONS_FULLSCREEN="smartshuffle/npvrecommendations/fullscreen",e.SPOTS="spots"}(o||(o={}))},61544:(e,t,n)=>{"use strict";n.d(t,{NQ:()=>i,Q0:()=>h,bX:()=>f,ZA:()=>_,IT:()=>m,Uu:()=>v,g1:()=>y,fH:()=>g,B4:()=>b,iM:()=>S,TR:()=>T,XI:()=>ce,d7:()=>le,cE:()=>se,Y8:()=>ae,CC:()=>A,AI:()=>me,_T:()=>_e,Th:()=>ge,ec:()=>Ee,bp:()=>ve,KB:()=>be,eW:()=>Se,Z0:()=>ye,ly:()=>Te,gH:()=>Ae,fp:()=>Ie,p3:()=>Oe,Pk:()=>Ce,tb:()=>Pe,iw:()=>Re,nu:()=>Ne,AP:()=>Le,Cf:()=>ke,B2:()=>re,WB:()=>we,cr:()=>De,t9:()=>Me,U_:()=>xe,dx:()=>C,DY:()=>R,o_:()=>fe,cA:()=>he,Ps:()=>N,js:()=>P,Qj:()=>L,K7:()=>E,Ru:()=>k,Mc:()=>w,MZ:()=>D,Ft:()=>M,tR:()=>U,du:()=>V});const i={AD:"ad",ALBUM:"album",GENRE:"genre",QUEUE:"queue",APPLICATION:"application",ARTIST:"artist",ARTIST_TOPLIST:"artist-toplist",ARTIST_CONCERTS:"artist-concerts",AUDIO_FILE:"audiofile",COLLECTION:"collection",COLLECTION_ALBUM:"collection-album",COLLECTION_ARTIST:"collection-artist",COLLECTION_MISSING_ALBUM:"collection-missing-album",COLLECTION_TRACK_LIST:"collectiontracklist",COMMENT:"comment",CONCEPT:"concept",CONCERT:"concert",CONTEXT_GROUP:"context-group",CULTURAL_MOMENT:"cultural-moment",DAILY_MIX:"dailymix",EMPTY:"empty",EPISODE:"episode",FACEBOOK:"facebook",FESTIVAL:"festival",FOLDER:"folder",FOLLOWERS:"followers",FOLLOWING:"following",IMAGE:"image",INBOX:"inbox",INTERRUPTION:"interruption",LIBRARY:"library",LIVE:"live",ROOM:"room",EXPRESSION:"expression",JAM:"jam",LOCAL:"local",LOCAL_TRACK:"local",LOCAL_ALBUM:"local-album",LOCAL_ARTIST:"local-artist",MERCH:"merch",MERCHHUB:"merchhub",MOSAIC:"mosaic",PLAYLIST:"playlist",PLAYLIST_V2:"playlist-v2",PRERELEASE:"prerelease",PROFILE:"profile",PROMOTER:"promoter",PUBLISHED_ROOTLIST:"published-rootlist",RADIO:"radio",ROOTLIST:"rootlist",SEARCH:"search",SHOW:"show",SOCIAL_SESSION:"socialsession",SPECIAL:"special",STARRED:"starred",STATION:"station",TEMP_PLAYLIST:"temp-playlist",TOPLIST:"toplist",TOUR:"tour",TRACK:"track",TRACKSET:"trackset",USER_TOPLIST:"user-toplist",USER_TOP_TRACKS:"user-top-tracks",UNKNOWN:"unknown",VENUE:"venue",VIDEO:"video",MEDIA:"media",QUESTION:"question",POLL:"poll",RESPONSE:"response",COURSE:"course",LESSON:"lesson",CANVAS:"canvas"};var o,r=n(83422);!function(e){e[e.URI=0]="URI",e[e.URL=1]="URL"}(o||(o={}));const a="spotify:",s="http://play.spotify.com/",c="https://play.spotify.com/",l="http://open.spotify.com/",u="https://open.spotify.com/",d="/",p={APP:"app",FACEBOOK:"facebook",GLOBAL:"global",TOP:"top",USER:"user",CONCERTS:"concerts",HUB:"hub"};function h(e,t){return pe(i.ALBUM,{id:e,disc:t,hasBase62Id:!0})}function f(e,t){return pe(i.APPLICATION,{id:e,args:Array.isArray(t)?t:[]})}function m(e){return pe(i.ARTIST,{id:e,hasBase62Id:!0})}function _(e){return pe(i.ARTIST_CONCERTS,{id:e,hasBase62Id:!0})}function g(e,t){return pe(i.COLLECTION,{username:e,category:t})}function E(){return pe(i.QUEUE,{})}function v(e,t){return pe(i.COLLECTION_ALBUM,{id:t,username:e,hasBase62Id:!0})}function y(e,t){return pe(i.COLLECTION_ARTIST,{id:t,username:e,hasBase62Id:!0})}function b(e){return pe(i.CONCERT,{id:e,hasBase62Id:!0})}function S(e,t,n){return pe(i.EPISODE,{id:e,context:t?he(t):null,play:n,hasBase62Id:!0})}function T(e,t){return pe(i.FOLDER,{id:t,username:e,hasBase62Id:!0})}function A(e){return pe(i.IMAGE,{id:e})}function I(e,t,n){return pe(i.JAM,{id:e,contextType:t,hasBase62Id:Boolean(e),play:Boolean(n)})}function O(e,t,n,o){return pe(i.LOCAL_TRACK,{artist:e,album:t,track:n,duration:o})}function C(e,t){return pe(i.LOCAL_ALBUM,{artist:e,album:t})}function R(e){return pe(i.LOCAL_ARTIST,{artist:e})}function N(e){return pe(i.PLAYLIST_V2,{id:e,hasBase62Id:!0})}function P(e){return pe(i.PRERELEASE,{id:e,hasBase62Id:!0})}function L(e,t){return pe(i.PROFILE,{username:e,args:null!=t?t:[]})}function k(e){return pe(i.SEARCH,{query:e})}function w(e){return pe(i.SHOW,{id:e,hasBase62Id:!0})}function D(e){return pe(i.SOCIAL_SESSION,{id:e,hasBase62Id:!0})}function M(e){return pe(i.STATION,{args:null!=e?e:[]})}function x(e,t,n){return pe(i.TOPLIST,{toplist:e,country:t,global:Boolean(n)})}function U(e,t,n,o){return pe(i.TRACK,{id:e,anchor:t,context:n?he(n):null,play:o,hasBase62Id:!0})}function V(e,t){return pe(i.USER_TOPLIST,{username:e,toplist:t})}function F(e,t){if(!e)return"";let n=encodeURIComponent(e);return t===o.URI&&(n=n.replace(/%20/g,"+")),n=n.replace(/[!'()]/g,escape),n=n.replace(/\*/g,"%2A"),n}function B(e,t,n=[]){for(let i=0,o=e.length;i<o;++i)n.push(F(e[i],t));return n}function H(e,t){if(!e)return"";const n=t===o.URI?e.replace(/\+/g,"%20"):e;return decodeURIComponent(n)}function G(e){let t="?";for(const n in e)if(e.hasOwnProperty(n)&&void 0!==e[n]){t.length>1&&(t+="&");const i=e[n];void 0!==i&&(t+=`${n}=${encodeURIComponent(i)}`)}return t}const W=/^intl-[A-Za-z]{2,3}(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?$/;const j=()=>{const e={};return[(t,n)=>{e[t]||(e[t]=n)},e]},[Y,z]=j();Y(i.PLAYLIST,((e,t,{username:n})=>function(e,t){return pe(i.PLAYLIST,{id:t,username:e,hasBase62Id:!0})}(n,e.getBase62IdComponent()))),Y(i.FOLDER,((e,t,{username:n})=>T(n,e.getIdComponent()))),Y(i.COLLECTION_TRACK_LIST,((e,t,{username:n})=>function(e,t){return pe(i.COLLECTION_TRACK_LIST,{id:t,username:e,hasBase62Id:!0})}(n,e.getIdComponent()))),Y(i.COLLECTION,((e,t,{username:n})=>{const o=e.getNextComponent();if(o===i.ALBUM){const t=e.getIdComponent();return"missing"===e.getNextComponent()?function(e,t){return pe(i.COLLECTION_MISSING_ALBUM,{id:t,username:e,hasBase62Id:!0})}(n,t):v(n,t)}return o===i.ARTIST?y(n,e.getIdComponent()):g(n,o)})),Y(i.STARRED,((e,t,{username:n})=>function(e){return pe(i.STARRED,{username:e})}(n))),Y(i.FOLLOWERS,((e,t,{username:n})=>function(e){return pe(i.FOLLOWERS,{username:e})}(n))),Y(i.FOLLOWING,((e,t,{username:n})=>function(e){return pe(i.FOLLOWING,{username:e})}(n))),Y(p.TOP,((e,t,{username:n})=>V(n,e.getNextRequiredComponent()))),Y(i.INBOX,((e,t,{username:n})=>function(e){return pe(i.INBOX,{username:e})}(n))),Y(i.ROOTLIST,((e,t,{username:n})=>function(e){return pe(i.ROOTLIST,{username:e})}(n))),Y(i.PUBLISHED_ROOTLIST,((e,t,{username:n})=>function(e){return pe(i.PUBLISHED_ROOTLIST,{username:e})}(n))),Y(i.TOPLIST,((e,t,{username:n})=>function(e){return pe(i.USER_TOP_TRACKS,{username:e})}(n))),Y(i.LIBRARY,((e,t,{username:n})=>function(e,t){return pe(i.LIBRARY,{username:e,category:t})}(n,e.getNextComponent())));const[K,J]=j();function q(e){let t,n,i,r,p=e;const[h,f]=p.split("?");if(h&&f){p=h;const[e,t]=f.split("#");e&&(i=function(e){return e.split("&").reduce(((e,t)=>{const[n,i]=t.split("=");return n&&i&&(e[n]=decodeURIComponent(i)),e}),{})}(e),r=t)}const m=p.split("#");if(m.length>1&&(p=m.shift(),r=m.pop()),0===p.indexOf(a))t=p.slice(a.length).split(":"),n=o.URI;else{const[e]=p.split("?");if(0===(null==e?void 0:e.indexOf(s)))t=e.slice(s.length).split("/");else if(0===(null==e?void 0:e.indexOf(c)))t=e.slice(c.length).split("/");else if(0===(null==e?void 0:e.indexOf(l)))t=e.slice(l.length).split("/");else if(0===(null==e?void 0:e.indexOf(u)))t=e.slice(u.length).split("/");else{if(0!==(null==e?void 0:e.indexOf(d)))throw new TypeError("Invalid Spotify URI!");t=e.slice(d.length).split("/")}n=o.URL}return r&&t.push(r),{format:n,components:t,query:i}}function X(e,t,n,r){let a=0;const s=()=>{const t=e[a++];if(t&&/\s/.test(t))throw new TypeError("Invalid Spotify URI!");return t},c=()=>{const e=s();if(!e)throw new TypeError("Invalid Spotify URI!");return e},l={getAllComponents:()=>e,getQueryParams:()=>n,getNextComponent:s,getNextRequiredComponent:c,getIdComponent:()=>{const e=c();if(e.length>22)throw new TypeError("Invalid Spotify URI!");return e},getHexIdComponent:e=>{const t=c();if(t.length!==e)throw new TypeError("Invalid Spotify URI!");if(!/^[a-fA-F0-9]+$/.test(t))throw new Error("Invalid Hex ID");return t},getBase62IdComponent:()=>{const e=c();if(22!==e.length)throw new TypeError("Invalid Spotify URI!");if(!/^[a-zA-Z0-9]+$/.test(e))throw new Error("Invalid ID");return e},getRemainingComponents:()=>e.slice(a),getRemainingString:()=>{const n=t===o.URI?":":"/";return e.slice(a).join(n)}};let u=c(),d=J[u];if(!d){const e=function(e){return W.test(e)}(u);e&&(u=c(),d=J[u])}if(d)return d(l,t,{});if(r)return J[i.UNKNOWN](l,t,{});throw new TypeError("Invalid or unknown Spotify URI!")}K(i.ALBUM,(e=>{const t=e.getBase62IdComponent(),n=e.getNextComponent();return h(t,n?parseInt(n,10):void 0)})),K(p.APP,((e,t)=>{const n=e.getNextRequiredComponent();if(F(H(n,t),t)!==n)throw new TypeError("Invalid or unknown Spotify URI!");const i=e.getRemainingComponents();for(let e=0,n=i.length;e<n;++e)i[e]=H(i[e],t);return f(n,i)})),K(i.AD,(e=>{return t=e.getNextRequiredComponent(),pe(i.AD,{id:t});var t})),K(i.ARTIST,(e=>{const t=e.getBase62IdComponent(),n=e.getNextComponent();return n===p.TOP?function(e,t){return pe(i.ARTIST_TOPLIST,{id:e,toplist:t,hasBase62Id:!0})}(t,e.getNextRequiredComponent()):n===p.CONCERTS?_(t):m(t)})),K(i.AUDIO_FILE,(e=>{return t=e.getNextRequiredComponent(),n=e.getNextRequiredComponent(),pe(i.AUDIO_FILE,{id:n,extension:t});var t,n})),K(i.DAILY_MIX,(e=>{return t=e.getIdComponent(),pe(i.DAILY_MIX,{id:t,hasBase62Id:!0});var t})),K(i.TEMP_PLAYLIST,(e=>{return t=e.getNextRequiredComponent(),n=e.getRemainingString(),pe(i.TEMP_PLAYLIST,{origin:t,data:n});var t,n})),K(i.PLAYLIST,(e=>N(e.getBase62IdComponent()))),K(i.SEARCH,((e,t)=>k(H(e.getRemainingString(),t)))),K(i.TRACK,(e=>{const t=e.getQueryParams();return U(e.getBase62IdComponent(),e.getNextComponent(),null==t?void 0:t.context,null==t?void 0:t.play)})),K(i.TRACKSET,(e=>{var t;const n=H(e.getNextComponent());let o=e.getNextRequiredComponent();const r=e.getNextComponent();let a=parseInt(null!==(t=e.getNextComponent())&&void 0!==t?t:"",10);("%23"!==r||isNaN(a))&&(a=null);const s=[];if(o){o=H(o).split(",");for(let e=0,t=o.length;e<t;e++){const t=o[e];t&&s.push(U(t))}}return function(e,t,n){return pe(i.TRACKSET,{tracks:e,name:t||"",index:isNaN(n)?null:null!=n?n:null})}(s,n,a)})),K(i.CONTEXT_GROUP,(e=>{return t=e.getNextRequiredComponent(),n=e.getNextRequiredComponent(),pe(i.CONTEXT_GROUP,{origin:t,name:n,hasBase62Id:!0});var t,n})),K(p.TOP,(e=>{const t=e.getNextRequiredComponent();return e.getNextComponent()===p.GLOBAL?x(t,void 0,!0):x(t,e.getNextComponent(),!1)})),K(i.LOCAL_TRACK,((e,t)=>{const n=H(e.getNextComponent(),t),i=e.getNextComponent(),o=H(i,t),r=e.getNextComponent(),a=H(r,t),s=e.getNextComponent(),c=s?parseInt(s,10):void 0;return void 0!==r?O(n,o,a,c):void 0!==i?C(n,o):R(n)})),K(i.IMAGE,(e=>A(e.getHexIdComponent(40)))),K(i.MOSAIC,(e=>{return t=e.getRemainingComponents(),pe(i.MOSAIC,{ids:t});var t})),K(i.RADIO,(e=>{return t=e.getRemainingString(),pe(i.RADIO,{args:null!=t?t:""});var t})),K(i.SPECIAL,((e,t)=>{const n=e.getRemainingComponents();for(let e=0,i=n.length;e<i;++e)n[e]=H(n[e],t);return function(e){return pe(i.SPECIAL,{args:null!=e?e:[]})}(n)})),K(i.STATION,(e=>M(e.getRemainingComponents()))),K(i.EPISODE,(e=>{const t=e.getQueryParams();return S(e.getBase62IdComponent(),null==t?void 0:t.context,null==t?void 0:t.play)})),K(i.SHOW,(e=>w(e.getBase62IdComponent()))),K(i.LIVE,(e=>{return t=e.getIdComponent(),pe(i.LIVE,{id:t,hasBase62Id:!0});var t})),K(i.ROOM,(e=>{return t=e.getIdComponent(),pe(i.ROOM,{id:t,hasBase62Id:!0});var t})),K(i.EXPRESSION,(e=>{return t=e.getIdComponent(),pe(i.EXPRESSION,{id:t,hasBase62Id:!0});var t})),K(i.CONCEPT,(e=>{return t=e.getIdComponent(),pe(i.CONCEPT,{id:t,hasBase62Id:!0});var t})),K(i.CONCERT,(e=>b(e.getIdComponent()))),K(i.MERCH,(e=>{return t=e.getIdComponent(),pe(i.MERCH,{id:t,hasBase62Id:!0});var t})),K(i.MERCHHUB,(()=>pe(i.MERCHHUB,{}))),K(i.PRERELEASE,(e=>P(e.getIdComponent()))),K(i.SOCIAL_SESSION,(e=>D(e.getNextRequiredComponent()))),K(i.JAM,(e=>{const[t,n,o,r]=e.getAllComponents();return n===i.ALBUM||n===i.ARTIST||n===i.PLAYLIST?I(o,n,!!r):I("")})),K(i.INTERRUPTION,(e=>{return t=e.getNextRequiredComponent(),pe(i.INTERRUPTION,{id:t});var t})),K(i.COLLECTION,(e=>g(void 0,e.getNextComponent()))),K(i.GENRE,(e=>{return t=e.getNextRequiredComponent(),pe(i.GENRE,{genre:t});var t})),K(i.QUEUE,(()=>E())),K(p.USER,((e,t)=>{const n=H(e.getNextRequiredComponent(),t),o=e.getNextComponent();if(n===i.FACEBOOK&&o)return r=o,pe(i.FACEBOOK,{uid:r});if(o&&z[o]){const i=z[o];if(!i)throw new TypeError("Invalid Spotify URI!");return i(e,t,{username:n})}var r;const a=e.getRemainingComponents();return L(n,o?[o].concat(a):void 0)})),K(i.UNKNOWN,(e=>function(e){return pe(i.UNKNOWN,{args:null!=e?e:[]})}(e.getAllComponents()))),K(i.MEDIA,(e=>{return t=e.getIdComponent(),pe(i.MEDIA,{id:t,hasBase62Id:!0});var t})),K(i.POLL,(e=>{return t=e.getIdComponent(),pe(i.POLL,{id:t,hasBase62Id:!0});var t})),K(i.QUESTION,(e=>{return t=e.getIdComponent(),pe(i.QUESTION,{id:t,hasBase62Id:!0});var t})),K(i.RESPONSE,(e=>{return t=e.getIdComponent(),pe(i.RESPONSE,{id:t,hasBase62Id:!0});var t})),K(i.CULTURAL_MOMENT,(e=>{if(e.getNextComponent()!==p.HUB)throw new TypeError("Invalid or unknown Spotify URI!");return t=e.getIdComponent(),pe(i.CULTURAL_MOMENT,{id:t});var t})),K(i.FESTIVAL,(e=>{return t=e.getIdComponent(),pe(i.FESTIVAL,{id:t,hasBase62Id:!0});var t})),K(i.TOUR,(e=>{return t=e.getIdComponent(),pe(i.TOUR,{id:t,hasBase62Id:!0});var t})),K(i.VENUE,(e=>{return t=e.getIdComponent(),pe(i.VENUE,{id:t,hasBase62Id:!0});var t})),K(i.VIDEO,(e=>{return t=e.getIdComponent(),pe(i.VIDEO,{id:t,hasBase62Id:!0});var t})),K(i.CANVAS,(e=>{return t=e.getIdComponent(),pe(i.CANVAS,{id:t,hasBase62Id:!0});var t})),K(i.COURSE,(e=>{return t=e.getIdComponent(),pe(i.COURSE,{id:t,hasBase62Id:!0});var t})),K(i.LESSON,(e=>{return t=e.getIdComponent(),pe(i.LESSON,{id:t,hasBase62Id:!0});var t})),K(i.PROMOTER,(e=>{return t=e.getIdComponent(),pe(i.PROMOTER,{id:t,hasBase62Id:!0});var t})),K(i.COMMENT,(e=>{return t=e.getIdComponent(),pe(i.COMMENT,{id:t,hasBase62Id:!0});var t}));const[$,Z]=(()=>{const e={};return[(t,n)=>{e[t]||(e[t]=n)},e]})();function Q(e,t){const n=Z[e.type];if(!n)throw new TypeError("Invalid Spotify URI!");return n(e,t)}$(i.ALBUM,(e=>{const t=[i.ALBUM,e.id];return e.disc&&t.push(e.disc),t})),$(i.AD,(e=>[i.AD,e.id])),$(i.ARTIST,(e=>[i.ARTIST,e.id])),$(i.QUEUE,(()=>[i.QUEUE])),$(i.GENRE,(e=>[i.GENRE,e.genre])),$(i.ARTIST_TOPLIST,(e=>[i.ARTIST,e.id,p.TOP,e.toplist])),$(i.ARTIST_CONCERTS,(e=>[i.ARTIST,e.id,p.CONCERTS])),$(i.DAILY_MIX,(e=>[i.DAILY_MIX,e.id])),$(i.SEARCH,((e,t)=>[i.SEARCH,F(e.query,t)])),$(i.TRACK,(e=>{let t=e.id;return(e.context||e.play)&&(t+=G({context:e.context,play:e.play})),e.anchor&&(t+=`#${e.anchor}`),[i.TRACK,t]})),$(i.TRACKSET,(e=>{let t=[];if(e.tracks)for(let n=0,i=e.tracks.length;n<i;n++)t.push(e.tracks[n].id);return t=[t.join(",")],null!==e.index&&void 0!==e.index&&t.push("#",e.index.toString()),[i.TRACKSET,F(e.name)].concat(t)})),$(i.FACEBOOK,(e=>[p.USER,i.FACEBOOK,e.uid])),$(i.AUDIO_FILE,(e=>[i.AUDIO_FILE,e.extension,e.id])),$(i.FOLDER,((e,t)=>[p.USER,F(e.username,t),i.FOLDER,e.id])),$(i.FOLLOWERS,((e,t)=>[p.USER,F(e.username,t),i.FOLLOWERS])),$(i.FOLLOWING,((e,t)=>[p.USER,F(e.username,t),i.FOLLOWING])),$(i.PLAYLIST,((e,t)=>[p.USER,F(e.username,t),i.PLAYLIST,e.id])),$(i.PLAYLIST_V2,(e=>[i.PLAYLIST,e.id])),$(i.STARRED,((e,t)=>[p.USER,F(e.username,t),i.STARRED])),$(i.TEMP_PLAYLIST,(e=>[i.TEMP_PLAYLIST,e.origin,e.data])),$(i.CONTEXT_GROUP,(e=>[i.CONTEXT_GROUP,e.origin,e.name])),$(i.USER_TOPLIST,((e,t)=>[p.USER,F(e.username,t),p.TOP,e.toplist])),$(i.USER_TOP_TRACKS,((e,t)=>[p.USER,F(e.username,t),i.TOPLIST])),$(i.TOPLIST,(e=>[p.TOP,e.toplist].concat(e.global||!e.country?[p.GLOBAL]:["country",e.country]))),$(i.INBOX,((e,t)=>[p.USER,F(e.username,t),i.INBOX])),$(i.ROOTLIST,((e,t)=>[p.USER,F(e.username,t),i.ROOTLIST])),$(i.PUBLISHED_ROOTLIST,((e,t)=>[p.USER,F(e.username,t),i.PUBLISHED_ROOTLIST])),$(i.COLLECTION_TRACK_LIST,((e,t)=>[p.USER,F(e.username,t),i.COLLECTION_TRACK_LIST,e.id])),$(i.PROFILE,((e,t)=>e.args&&e.args.length>0?[p.USER,F(e.username,t)].concat(e.args):[p.USER,F(e.username,t)])),$(i.LOCAL_ARTIST,((e,t)=>[i.LOCAL_TRACK,F(e.artist,t)])),$(i.LOCAL_ALBUM,((e,t)=>[i.LOCAL_TRACK,F(e.artist,t),F(e.album,t)])),$(i.LOCAL_TRACK,((e,t)=>[i.LOCAL_TRACK,F(e.artist,t),F(e.album,t),F(e.track,t),e.duration])),$(i.LIBRARY,((e,t)=>[p.USER,F(e.username,t),i.LIBRARY].concat(e.category?[e.category]:[]))),$(i.IMAGE,(e=>[i.IMAGE,e.id])),$(i.MOSAIC,(e=>{let t=[];return e.ids&&(t=e.ids.slice(0)),t.unshift(i.MOSAIC),t})),$(i.RADIO,((e,t)=>B(e.args,t,[i.RADIO]))),$(i.SPECIAL,((e,t)=>B(e.args,t,[i.SPECIAL]))),$(i.STATION,((e,t)=>B(e.args,t,[i.STATION]))),$(i.APPLICATION,((e,t)=>B(e.args,t,[p.APP,e.id]))),$(i.COLLECTION_ALBUM,((e,t)=>[p.USER,F(e.username,t),i.COLLECTION,i.ALBUM,e.id])),$(i.COLLECTION_MISSING_ALBUM,((e,t)=>[p.USER,F(e.username,t),i.COLLECTION,i.ALBUM,e.id,"missing"])),$(i.COLLECTION_ARTIST,((e,t)=>[p.USER,F(e.username,t),i.COLLECTION,i.ARTIST,e.id])),$(i.COLLECTION,((e,t)=>{const n=[i.COLLECTION].concat(e.category?[e.category]:[]);return e.username?[p.USER,F(e.username,t)].concat(n):n})),$(i.COMMENT,(e=>[i.COMMENT,e.id])),$(i.EPISODE,(e=>{let t=e.id;return(e.context||e.play)&&(t+=G({context:e.context,play:e.play})),[i.EPISODE,t]})),$(i.SHOW,(e=>[i.SHOW,e.id])),$(i.LIVE,(e=>[i.LIVE,e.id])),$(i.ROOM,(e=>[i.ROOM,e.id])),$(i.EXPRESSION,(e=>[i.EXPRESSION,e.id])),$(i.CONCEPT,(e=>[i.CONCEPT,e.id])),$(i.CONCERT,(e=>[i.CONCERT,e.id])),$(i.SOCIAL_SESSION,(e=>[i.SOCIAL_SESSION,e.id])),$(i.JAM,(e=>{const t=[i.JAM];return e.contextType&&e.id&&t.push(e.contextType,e.id),e.play&&t.push("play"),t})),$(i.INTERRUPTION,(e=>[i.INTERRUPTION,e.id])),$(i.MERCH,(e=>[i.MERCH,e.id])),$(i.MERCHHUB,(()=>[i.MERCHHUB])),$(i.PRERELEASE,(e=>[i.PRERELEASE,e.id])),$(i.UNKNOWN,((e,t)=>B(e.args,t))),$(i.MEDIA,(e=>[i.MEDIA,e.id])),$(i.POLL,(e=>[i.POLL,e.id])),$(i.QUESTION,(e=>[i.QUESTION,e.id])),$(i.RESPONSE,(e=>[i.RESPONSE,e.id])),$(i.FESTIVAL,(e=>[i.FESTIVAL,e.id])),$(i.TOUR,(e=>[i.TOUR,e.id])),$(i.CULTURAL_MOMENT,(e=>[i.CULTURAL_MOMENT,p.HUB,e.id])),$(i.VENUE,(e=>[i.VENUE,e.id])),$(i.VIDEO,(e=>[i.VIDEO,e.id])),$(i.CANVAS,(e=>[i.CANVAS,e.id])),$(i.COURSE,(e=>[i.COURSE,e.id])),$(i.LESSON,(e=>[i.LESSON,e.id])),$(i.PROMOTER,(e=>[i.PROMOTER,e.id]));const ee="0123456789abcdef",te="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",ne=[];ne.length=256;for(let e=0;e<256;e++)ne[e]=ee[e>>4]+ee[15&e];const ie=[];ie.length=128;for(let e=0;e<te.length;++e)ie[te.charCodeAt(e)]=e;const oe=[];for(let e=0;e<16;e++)oe[ee.charCodeAt(e)]=e;for(let e=0;e<6;e++)oe["ABCDEF".charCodeAt(e)]=10+e;function re(e,t){const n=fe(e),r=fe(t);if(!n||!r)return!1;if(n.toString()===r.toString())return!0;if(!(n.type!==i.PLAYLIST&&n.type!==i.PLAYLIST_V2||r.type!==i.PLAYLIST&&r.type!==i.PLAYLIST_V2))return n.id===r.id;if(n.type===i.STATION&&r.type===i.STATION){const e=X(n.args,o.URI);return!!e&&re(e,X(r.args,o.URI))}return!1}function ae(e){return 22===e.length?function(e){if(22!==e.length)return null;const t=2.3283064365386963e-10,n=4294967296,i=238328;let o,r,a,s,c;return o=56800235584*ie[e.charCodeAt(0)]+916132832*ie[e.charCodeAt(1)]+14776336*ie[e.charCodeAt(2)]+238328*ie[e.charCodeAt(3)]+3844*ie[e.charCodeAt(4)]+62*ie[e.charCodeAt(5)]+ie[e.charCodeAt(6)],r=o*t|0,o-=r*n,c=3844*ie[e.charCodeAt(7)]+62*ie[e.charCodeAt(8)]+ie[e.charCodeAt(9)],o=o*i+c,o-=(c=o*t|0)*n,r=r*i+c,c=3844*ie[e.charCodeAt(10)]+62*ie[e.charCodeAt(11)]+ie[e.charCodeAt(12)],o=o*i+c,o-=(c=o*t|0)*n,r=r*i+c,r-=(c=r*t|0)*n,a=c,c=3844*ie[e.charCodeAt(13)]+62*ie[e.charCodeAt(14)]+ie[e.charCodeAt(15)],o=o*i+c,o-=(c=o*t|0)*n,r=r*i+c,r-=(c=r*t|0)*n,a=a*i+c,c=3844*ie[e.charCodeAt(16)]+62*ie[e.charCodeAt(17)]+ie[e.charCodeAt(18)],o=o*i+c,o-=(c=o*t|0)*n,r=r*i+c,r-=(c=r*t|0)*n,a=a*i+c,a-=(c=a*t|0)*n,s=c,c=3844*ie[e.charCodeAt(19)]+62*ie[e.charCodeAt(20)]+ie[e.charCodeAt(21)],o=o*i+c,o-=(c=o*t|0)*n,r=r*i+c,r-=(c=r*t|0)*n,a=a*i+c,a-=(c=a*t|0)*n,s=s*i+c,s-=(c=s*t|0)*n,c?null:ne[s>>>24]+ne[s>>>16&255]+ne[s>>>8&255]+ne[255&s]+ne[a>>>24]+ne[a>>>16&255]+ne[a>>>8&255]+ne[255&a]+ne[r>>>24]+ne[r>>>16&255]+ne[r>>>8&255]+ne[255&r]+ne[o>>>24]+ne[o>>>16&255]+ne[o>>>8&255]+ne[255&o]}(e):e}function se(e){return 32===e.length?function(e){let t,n=0,i=0,o=0;for(t=0;t<10;t++)o=16*o+oe[e.charCodeAt(t)];for(t=0;t<11;t++)i=16*i+oe[e.charCodeAt(t+10)];for(t=0;t<11;t++)n=16*n+oe[e.charCodeAt(t+21)];if(isNaN(n+i+o))return null;const r=17592186044416,a=1/62;let s,c="";for(t=0;t<7;++t)s=o,o=Math.floor(s*a),s=(s-62*o)*r+i,i=Math.floor(s*a),s=(s-62*i)*r+n,n=Math.floor(s*a),c=te[s-62*n]+c;for(i+=o*r;t<15;++t)s=i,i=Math.floor(s*a),s=(s-62*i)*r+n,n=Math.floor(s*a),c=te[s-62*n]+c;for(n+=i*r;t<21;++t)s=n,n=Math.floor(s*a),c=te[s-62*n]+c;return te[n]+c}(e):e}function ce(e){return F(e,o.URI)}function le(e){return H(e,o.URI)}const ue="function"==typeof Object.assign?(e,t)=>{Object.assign(e,t)}:(e,t)=>{for(const n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};class de{constructor(e,t={}){this.type=e,this.hasBase62Id=!!t.hasBase62Id,ue(this,t)}toURI(){return`spotify:${Q(this,o.URI).join(":")}`}toString(){return this.toURI()}toURLPath(e=!1){let t=Q(this,o.URL);t[0]===p.APP&&t.shift();const n=t[0]===i.TRACKSET,r=t[0]===i.LOCAL_TRACK;if(!n&&!r){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n];i&&e.push(i)}t=e}const a=t.join("/");return e?`/${a}`:a}getPath(){return this.toString().replace(/[#?].*/,"")}toURL(e){return`${e||u}${this.toURLPath()}`}clone(){return new de(this.type,this)}};Spicetify.URI=de;function pe(e,t){return new de(e,t)}function he(e,t){if("string"!=typeof e)throw new TypeError("Argument `uri` must be a string.");return function(e,t){const n=q(e);return X(n.components,n.format,n.query,t)}(e,null==t?void 0:t.parseUnknown)}function fe(e,t){var n,i,o;if(!e)return null;let a={};if(t&&(Array.isArray(t)?a.allowedTypes=t:a=t),e instanceof de)return-1===(null===(n=a.allowedTypes)||void 0===n?void 0:n.indexOf(e.type))?null:e.clone();if("string"==typeof e)try{const t=he(e,a);return-1===(null===(i=a.allowedTypes)||void 0===i?void 0:i.indexOf(t.type))?null:t}catch(e){return null}if(null==e?void 0:e.type){if(-1===(null===(o=a.allowedTypes)||void 0===o?void 0:o.indexOf(e.type)))return null;const{type:t}=e,n=(0,r.__rest)(e,["type"]);return new de(t,n)}return null}function me(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.AD}function _e(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.ALBUM}function ge(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.APPLICATION}function Ee(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.ARTIST}function ve(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.CANVAS}function ye(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.COLLECTION}function be(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.COLLECTION_ALBUM}function Se(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.COLLECTION_ARTIST}function Te(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.CONCERT}function Ae(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.EPISODE}function Ie(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.FOLDER}function Oe(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.JAM}function Ce(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.LOCAL_TRACK}function Re(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.PLAYLIST}function Ne(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.PLAYLIST_V2}function Pe(e){return Re(e)||Ne(e)}function Le(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.PROFILE}function ke(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.RADIO}function we(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.SHOW}function De(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.SOCIAL_SESSION}function Me(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.STATION}function xe(e){var t;return(null===(t=fe(e))||void 0===t?void 0:t.type)===i.TRACK}},70825:(e,t,n)=>{"use strict";n.d(t,{Z0:()=>G,gH:()=>W});const i={AD:"ad",ALBUM:"album",GENRE:"genre",QUEUE:"queue",APPLICATION:"application",ARTIST:"artist",ARTIST_TOPLIST:"artist-toplist",ARTIST_CONCERTS:"artist-concerts",AUDIO_FILE:"audiofile",COLLECTION:"collection",COLLECTION_ALBUM:"collection-album",COLLECTION_ARTIST:"collection-artist",COLLECTION_MISSING_ALBUM:"collection-missing-album",COLLECTION_TRACK_LIST:"collectiontracklist",COMMENT:"comment",CONCEPT:"concept",CONCERT:"concert",CONTEXT_GROUP:"context-group",CULTURAL_MOMENT:"cultural-moment",DAILY_MIX:"dailymix",EMPTY:"empty",EPISODE:"episode",FACEBOOK:"facebook",FESTIVAL:"festival",FOLDER:"folder",FOLLOWERS:"followers",FOLLOWING:"following",IMAGE:"image",INBOX:"inbox",INTERRUPTION:"interruption",LIBRARY:"library",LIVE:"live",ROOM:"room",EXPRESSION:"expression",JAM:"jam",LOCAL:"local",LOCAL_TRACK:"local",LOCAL_ALBUM:"local-album",LOCAL_ARTIST:"local-artist",MERCH:"merch",MERCHHUB:"merchhub",MOSAIC:"mosaic",PLAYLIST:"playlist",PLAYLIST_V2:"playlist-v2",PRERELEASE:"prerelease",PROFILE:"profile",PROMOTER:"promoter",PUBLISHED_ROOTLIST:"published-rootlist",RADIO:"radio",ROOTLIST:"rootlist",SEARCH:"search",SHOW:"show",SOCIAL_SESSION:"socialsession",SPECIAL:"special",STARRED:"starred",STATION:"station",TEMP_PLAYLIST:"temp-playlist",TOPLIST:"toplist",TOUR:"tour",TRACK:"track",TRACKSET:"trackset",USER_TOPLIST:"user-toplist",USER_TOP_TRACKS:"user-top-tracks",UNKNOWN:"unknown",VENUE:"venue",VIDEO:"video",MEDIA:"media",QUESTION:"question",POLL:"poll",RESPONSE:"response",COURSE:"course",LESSON:"lesson",CANVAS:"canvas"};let o=function(e){return e[e.URI=0]="URI",e[e.URL=1]="URL",e}({});const r="spotify:",a="http://play.spotify.com/",s="https://play.spotify.com/",c="http://open.spotify.com/",l="https://open.spotify.com/",u="/",d={APP:"app",FACEBOOK:"facebook",GLOBAL:"global",TOP:"top",USER:"user",CONCERTS:"concerts",HUB:"hub"};function p(e,t){return F(i.COLLECTION,{username:e,category:t})}function h(e,t,n){return F(i.JAM,{id:e,contextType:t,hasBase62Id:Boolean(e),play:Boolean(n)})}function f(e,t,n,o){return F(i.LOCAL_TRACK,{artist:e,album:t,track:n,duration:o})}function m(e,t,n){return F(i.TOPLIST,{toplist:e,country:t,global:Boolean(n)})}function _(e,t,n,o){return F(i.TRACK,{id:e,anchor:t,context:n?B(n):null,play:o,hasBase62Id:!0})}function g(e,t){if(!e)return"";let n=encodeURIComponent(e);return t===o.URI&&(n=n.replace(/%20/g,"+")),n=n.replace(/[!'()]/g,escape),n=n.replace(/\*/g,"%2A"),n}function E(e,t,n=[]){for(let i=0,o=e.length;i<o;++i)n.push(g(e[i],t));return n}function v(e,t){if(!e)return"";const n=t===o.URI?e.replace(/\+/g,"%20"):e;return decodeURIComponent(n)}function y(e){let t="?";for(const n in e)if(e.hasOwnProperty(n)&&void 0!==e[n]){t.length>1&&(t+="&");const i=e[n];void 0!==i&&(t+=`${n}=${encodeURIComponent(i)}`)}return t}const b=/^intl-[A-Za-z]{2,3}(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?$/;const S=()=>{const e={};return[(t,n)=>{e[t]||(e[t]=n)},e]},[T,A]=S();T(i.PLAYLIST,((e,t,{username:n})=>function(e,t){return F(i.PLAYLIST,{id:t,username:e,hasBase62Id:!0})}(n,e.getBase62IdComponent()))),T(i.FOLDER,((e,t,{username:n})=>function(e,t){return F(i.FOLDER,{id:t,username:e,hasBase62Id:!0})}(n,e.getIdComponent()))),T(i.COLLECTION_TRACK_LIST,((e,t,{username:n})=>function(e,t){return F(i.COLLECTION_TRACK_LIST,{id:t,username:e,hasBase62Id:!0})}(n,e.getIdComponent()))),T(i.COLLECTION,((e,t,{username:n})=>{const o=e.getNextComponent();if(o===i.ALBUM){const t=e.getIdComponent();return"missing"===e.getNextComponent()?function(e,t){return F(i.COLLECTION_MISSING_ALBUM,{id:t,username:e,hasBase62Id:!0})}(n,t):function(e,t){return F(i.COLLECTION_ALBUM,{id:t,username:e,hasBase62Id:!0})}(n,t)}return o===i.ARTIST?function(e,t){return F(i.COLLECTION_ARTIST,{id:t,username:e,hasBase62Id:!0})}(n,e.getIdComponent()):p(n,o)})),T(i.STARRED,((e,t,{username:n})=>function(e){return F(i.STARRED,{username:e})}(n))),T(i.FOLLOWERS,((e,t,{username:n})=>function(e){return F(i.FOLLOWERS,{username:e})}(n))),T(i.FOLLOWING,((e,t,{username:n})=>function(e){return F(i.FOLLOWING,{username:e})}(n))),T(d.TOP,((e,t,{username:n})=>function(e,t){return F(i.USER_TOPLIST,{username:e,toplist:t})}(n,e.getNextRequiredComponent()))),T(i.INBOX,((e,t,{username:n})=>function(e){return F(i.INBOX,{username:e})}(n))),T(i.ROOTLIST,((e,t,{username:n})=>function(e){return F(i.ROOTLIST,{username:e})}(n))),T(i.PUBLISHED_ROOTLIST,((e,t,{username:n})=>function(e){return F(i.PUBLISHED_ROOTLIST,{username:e})}(n))),T(i.TOPLIST,((e,t,{username:n})=>function(e){return F(i.USER_TOP_TRACKS,{username:e})}(n))),T(i.LIBRARY,((e,t,{username:n})=>function(e,t){return F(i.LIBRARY,{username:e,category:t})}(n,e.getNextComponent())));const[I,O]=S();function C(e){let t,n,i,d,p=e;const[h,f]=p.split("?");if(h&&f){p=h;const[e,t]=f.split("#");e&&(i=function(e){return e.split("&").reduce(((e,t)=>{const[n,i]=t.split("=");return n&&i&&(e[n]=decodeURIComponent(i)),e}),{})}(e),d=t)}const m=p.split("#");if(m.length>1&&(p=m.shift(),d=m.pop()),0===p.indexOf(r))t=p.slice(r.length).split(":"),n=o.URI;else{const[e]=p.split("?");if(0===e?.indexOf(a))t=e.slice(a.length).split("/");else if(0===e?.indexOf(s))t=e.slice(s.length).split("/");else if(0===e?.indexOf(c))t=e.slice(c.length).split("/");else if(0===e?.indexOf(l))t=e.slice(l.length).split("/");else{if(0!==e?.indexOf(u))throw new TypeError("Invalid Spotify URI!");t=e.slice(u.length).split("/")}n=o.URL}return d&&t.push(d),{format:n,components:t,query:i}}function R(e,t,n,r){let a=0;const s=()=>{const t=e[a++];if(t&&/\s/.test(t))throw new TypeError("Invalid Spotify URI!");return t},c=()=>{const e=s();if(!e)throw new TypeError("Invalid Spotify URI!");return e},l={getAllComponents:()=>e,getQueryParams:()=>n,getNextComponent:s,getNextRequiredComponent:c,getIdComponent:()=>{const e=c();if(e.length>22)throw new TypeError("Invalid Spotify URI!");return e},getHexIdComponent:e=>{const t=c();if(t.length!==e)throw new TypeError("Invalid Spotify URI!");if(!/^[a-fA-F0-9]+$/.test(t))throw new Error("Invalid Hex ID");return t},getBase62IdComponent:()=>{const e=c();if(22!==e.length)throw new TypeError("Invalid Spotify URI!");if(!/^[a-zA-Z0-9]+$/.test(e))throw new Error("Invalid ID");return e},getRemainingComponents:()=>e.slice(a),getRemainingString:()=>{const n=t===o.URI?":":"/";return e.slice(a).join(n)}};let u=c(),d=O[u];if(!d){const e=function(e){return b.test(e)}(u);e&&(u=c(),d=O[u])}if(d)return d(l,t,{});if(r)return O[i.UNKNOWN](l,t,{});throw new TypeError("Invalid or unknown Spotify URI!")}I(i.ALBUM,(e=>{const t=e.getBase62IdComponent(),n=e.getNextComponent();return function(e,t){return F(i.ALBUM,{id:e,disc:t,hasBase62Id:!0})}(t,n?parseInt(n,10):void 0)})),I(d.APP,((e,t)=>{const n=e.getNextRequiredComponent();if(g(v(n,t),t)!==n)throw new TypeError("Invalid or unknown Spotify URI!");const o=e.getRemainingComponents();for(let e=0,n=o.length;e<n;++e)o[e]=v(o[e],t);return function(e,t){return F(i.APPLICATION,{id:e,args:Array.isArray(t)?t:[]})}(n,o)})),I(i.AD,(e=>{return t=e.getNextRequiredComponent(),F(i.AD,{id:t});var t})),I(i.ARTIST,(e=>{const t=e.getBase62IdComponent(),n=e.getNextComponent();return n===d.TOP?function(e,t){return F(i.ARTIST_TOPLIST,{id:e,toplist:t,hasBase62Id:!0})}(t,e.getNextRequiredComponent()):n===d.CONCERTS?function(e){return F(i.ARTIST_CONCERTS,{id:e,hasBase62Id:!0})}(t):function(e){return F(i.ARTIST,{id:e,hasBase62Id:!0})}(t)})),I(i.AUDIO_FILE,(e=>{return t=e.getNextRequiredComponent(),n=e.getNextRequiredComponent(),F(i.AUDIO_FILE,{id:n,extension:t});var t,n})),I(i.DAILY_MIX,(e=>{return t=e.getIdComponent(),F(i.DAILY_MIX,{id:t,hasBase62Id:!0});var t})),I(i.TEMP_PLAYLIST,(e=>{return t=e.getNextRequiredComponent(),n=e.getRemainingString(),F(i.TEMP_PLAYLIST,{origin:t,data:n});var t,n})),I(i.PLAYLIST,(e=>{return t=e.getBase62IdComponent(),F(i.PLAYLIST_V2,{id:t,hasBase62Id:!0});var t})),I(i.SEARCH,((e,t)=>{return n=v(e.getRemainingString(),t),F(i.SEARCH,{query:n});var n})),I(i.TRACK,(e=>{const t=e.getQueryParams();return _(e.getBase62IdComponent(),e.getNextComponent(),t?.context,t?.play)})),I(i.TRACKSET,(e=>{const t=v(e.getNextComponent());let n=e.getNextRequiredComponent();const o=e.getNextComponent();let r=parseInt(e.getNextComponent()??"",10);("%23"!==o||isNaN(r))&&(r=null);const a=[];if(n){n=v(n).split(",");for(let e=0,t=n.length;e<t;e++){const t=n[e];t&&a.push(_(t))}}return function(e,t,n){return F(i.TRACKSET,{tracks:e,name:t||"",index:isNaN(n)?null:n??null})}(a,t,r)})),I(i.CONTEXT_GROUP,(e=>{return t=e.getNextRequiredComponent(),n=e.getNextRequiredComponent(),F(i.CONTEXT_GROUP,{origin:t,name:n,hasBase62Id:!0});var t,n})),I(d.TOP,(e=>{const t=e.getNextRequiredComponent();return e.getNextComponent()===d.GLOBAL?m(t,void 0,!0):m(t,e.getNextComponent(),!1)})),I(i.LOCAL_TRACK,((e,t)=>{const n=v(e.getNextComponent(),t),o=e.getNextComponent(),r=v(o,t),a=e.getNextComponent(),s=v(a,t),c=e.getNextComponent(),l=c?parseInt(c,10):void 0;return void 0!==a?f(n,r,s,l):void 0!==o?(u=n,d=r,F(i.LOCAL_ALBUM,{artist:u,album:d})):function(e){return F(i.LOCAL_ARTIST,{artist:e})}(n);var u,d})),I(i.IMAGE,(e=>{return t=e.getHexIdComponent(40),F(i.IMAGE,{id:t});var t})),I(i.MOSAIC,(e=>{return t=e.getRemainingComponents(),F(i.MOSAIC,{ids:t});var t})),I(i.RADIO,(e=>{return t=e.getRemainingString(),F(i.RADIO,{args:t??""});var t})),I(i.SPECIAL,((e,t)=>{const n=e.getRemainingComponents();for(let e=0,i=n.length;e<i;++e)n[e]=v(n[e],t);return function(e){return F(i.SPECIAL,{args:e??[]})}(n)})),I(i.STATION,(e=>{return t=e.getRemainingComponents(),F(i.STATION,{args:t??[]});var t})),I(i.EPISODE,(e=>{const t=e.getQueryParams();return function(e,t,n){return F(i.EPISODE,{id:e,context:t?B(t):null,play:n,hasBase62Id:!0})}(e.getBase62IdComponent(),t?.context,t?.play)})),I(i.SHOW,(e=>{return t=e.getBase62IdComponent(),F(i.SHOW,{id:t,hasBase62Id:!0});var t})),I(i.LIVE,(e=>{return t=e.getIdComponent(),F(i.LIVE,{id:t,hasBase62Id:!0});var t})),I(i.ROOM,(e=>{return t=e.getIdComponent(),F(i.ROOM,{id:t,hasBase62Id:!0});var t})),I(i.EXPRESSION,(e=>{return t=e.getIdComponent(),F(i.EXPRESSION,{id:t,hasBase62Id:!0});var t})),I(i.CONCEPT,(e=>{return t=e.getIdComponent(),F(i.CONCEPT,{id:t,hasBase62Id:!0});var t})),I(i.CONCERT,(e=>{return t=e.getIdComponent(),F(i.CONCERT,{id:t,hasBase62Id:!0});var t})),I(i.MERCH,(e=>{return t=e.getIdComponent(),F(i.MERCH,{id:t,hasBase62Id:!0});var t})),I(i.MERCHHUB,(()=>F(i.MERCHHUB,{}))),I(i.PRERELEASE,(e=>{return t=e.getIdComponent(),F(i.PRERELEASE,{id:t,hasBase62Id:!0});var t})),I(i.SOCIAL_SESSION,(e=>{return t=e.getNextRequiredComponent(),F(i.SOCIAL_SESSION,{id:t,hasBase62Id:!0});var t})),I(i.JAM,(e=>{const[t,n,o,r]=e.getAllComponents();return n===i.ALBUM||n===i.ARTIST||n===i.PLAYLIST?h(o,n,!!r):h("")})),I(i.INTERRUPTION,(e=>{return t=e.getNextRequiredComponent(),F(i.INTERRUPTION,{id:t});var t})),I(i.COLLECTION,(e=>p(void 0,e.getNextComponent()))),I(i.GENRE,(e=>{return t=e.getNextRequiredComponent(),F(i.GENRE,{genre:t});var t})),I(i.QUEUE,(()=>F(i.QUEUE,{}))),I(d.USER,((e,t)=>{const n=v(e.getNextRequiredComponent(),t),o=e.getNextComponent();if(n===i.FACEBOOK&&o)return r=o,F(i.FACEBOOK,{uid:r});if(o&&A[o]){const i=A[o];if(!i)throw new TypeError("Invalid Spotify URI!");return i(e,t,{username:n})}var r;const a=e.getRemainingComponents();return function(e,t){return F(i.PROFILE,{username:e,args:t??[]})}(n,o?[o].concat(a):void 0)})),I(i.UNKNOWN,(e=>function(e){return F(i.UNKNOWN,{args:e??[]})}(e.getAllComponents()))),I(i.MEDIA,(e=>{return t=e.getIdComponent(),F(i.MEDIA,{id:t,hasBase62Id:!0});var t})),I(i.POLL,(e=>{return t=e.getIdComponent(),F(i.POLL,{id:t,hasBase62Id:!0});var t})),I(i.QUESTION,(e=>{return t=e.getIdComponent(),F(i.QUESTION,{id:t,hasBase62Id:!0});var t})),I(i.RESPONSE,(e=>{return t=e.getIdComponent(),F(i.RESPONSE,{id:t,hasBase62Id:!0});var t})),I(i.CULTURAL_MOMENT,(e=>{if(e.getNextComponent()!==d.HUB)throw new TypeError("Invalid or unknown Spotify URI!");return t=e.getIdComponent(),F(i.CULTURAL_MOMENT,{id:t});var t})),I(i.FESTIVAL,(e=>{return t=e.getIdComponent(),F(i.FESTIVAL,{id:t,hasBase62Id:!0});var t})),I(i.TOUR,(e=>{return t=e.getIdComponent(),F(i.TOUR,{id:t,hasBase62Id:!0});var t})),I(i.VENUE,(e=>{return t=e.getIdComponent(),F(i.VENUE,{id:t,hasBase62Id:!0});var t})),I(i.VIDEO,(e=>{return t=e.getIdComponent(),F(i.VIDEO,{id:t,hasBase62Id:!0});var t})),I(i.CANVAS,(e=>{return t=e.getIdComponent(),F(i.CANVAS,{id:t,hasBase62Id:!0});var t})),I(i.COURSE,(e=>{return t=e.getIdComponent(),F(i.COURSE,{id:t,hasBase62Id:!0});var t})),I(i.LESSON,(e=>{return t=e.getIdComponent(),F(i.LESSON,{id:t,hasBase62Id:!0});var t})),I(i.PROMOTER,(e=>{return t=e.getIdComponent(),F(i.PROMOTER,{id:t,hasBase62Id:!0});var t})),I(i.COMMENT,(e=>{return t=e.getIdComponent(),F(i.COMMENT,{id:t,hasBase62Id:!0});var t}));const[N,P]=(()=>{const e={};return[(t,n)=>{e[t]||(e[t]=n)},e]})();function L(e,t){const n=P[e.type];if(!n)throw new TypeError("Invalid Spotify URI!");return n(e,t)}N(i.ALBUM,(e=>{const t=[i.ALBUM,e.id];return e.disc&&t.push(e.disc),t})),N(i.AD,(e=>[i.AD,e.id])),N(i.ARTIST,(e=>[i.ARTIST,e.id])),N(i.QUEUE,(()=>[i.QUEUE])),N(i.GENRE,(e=>[i.GENRE,e.genre])),N(i.ARTIST_TOPLIST,(e=>[i.ARTIST,e.id,d.TOP,e.toplist])),N(i.ARTIST_CONCERTS,(e=>[i.ARTIST,e.id,d.CONCERTS])),N(i.DAILY_MIX,(e=>[i.DAILY_MIX,e.id])),N(i.SEARCH,((e,t)=>[i.SEARCH,g(e.query,t)])),N(i.TRACK,(e=>{let t=e.id;return(e.context||e.play)&&(t+=y({context:e.context,play:e.play})),e.anchor&&(t+=`#${e.anchor}`),[i.TRACK,t]})),N(i.TRACKSET,(e=>{let t=[];if(e.tracks)for(let n=0,i=e.tracks.length;n<i;n++)t.push(e.tracks[n].id);return t=[t.join(",")],null!==e.index&&void 0!==e.index&&t.push("#",e.index.toString()),[i.TRACKSET,g(e.name)].concat(t)})),N(i.FACEBOOK,(e=>[d.USER,i.FACEBOOK,e.uid])),N(i.AUDIO_FILE,(e=>[i.AUDIO_FILE,e.extension,e.id])),N(i.FOLDER,((e,t)=>[d.USER,g(e.username,t),i.FOLDER,e.id])),N(i.FOLLOWERS,((e,t)=>[d.USER,g(e.username,t),i.FOLLOWERS])),N(i.FOLLOWING,((e,t)=>[d.USER,g(e.username,t),i.FOLLOWING])),N(i.PLAYLIST,((e,t)=>[d.USER,g(e.username,t),i.PLAYLIST,e.id])),N(i.PLAYLIST_V2,(e=>[i.PLAYLIST,e.id])),N(i.STARRED,((e,t)=>[d.USER,g(e.username,t),i.STARRED])),N(i.TEMP_PLAYLIST,(e=>[i.TEMP_PLAYLIST,e.origin,e.data])),N(i.CONTEXT_GROUP,(e=>[i.CONTEXT_GROUP,e.origin,e.name])),N(i.USER_TOPLIST,((e,t)=>[d.USER,g(e.username,t),d.TOP,e.toplist])),N(i.USER_TOP_TRACKS,((e,t)=>[d.USER,g(e.username,t),i.TOPLIST])),N(i.TOPLIST,(e=>[d.TOP,e.toplist].concat(e.global||!e.country?[d.GLOBAL]:["country",e.country]))),N(i.INBOX,((e,t)=>[d.USER,g(e.username,t),i.INBOX])),N(i.ROOTLIST,((e,t)=>[d.USER,g(e.username,t),i.ROOTLIST])),N(i.PUBLISHED_ROOTLIST,((e,t)=>[d.USER,g(e.username,t),i.PUBLISHED_ROOTLIST])),N(i.COLLECTION_TRACK_LIST,((e,t)=>[d.USER,g(e.username,t),i.COLLECTION_TRACK_LIST,e.id])),N(i.PROFILE,((e,t)=>e.args&&e.args.length>0?[d.USER,g(e.username,t)].concat(e.args):[d.USER,g(e.username,t)])),N(i.LOCAL_ARTIST,((e,t)=>[i.LOCAL_TRACK,g(e.artist,t)])),N(i.LOCAL_ALBUM,((e,t)=>[i.LOCAL_TRACK,g(e.artist,t),g(e.album,t)])),N(i.LOCAL_TRACK,((e,t)=>[i.LOCAL_TRACK,g(e.artist,t),g(e.album,t),g(e.track,t),e.duration])),N(i.LIBRARY,((e,t)=>[d.USER,g(e.username,t),i.LIBRARY].concat(e.category?[e.category]:[]))),N(i.IMAGE,(e=>[i.IMAGE,e.id])),N(i.MOSAIC,(e=>{let t=[];return e.ids&&(t=e.ids.slice(0)),t.unshift(i.MOSAIC),t})),N(i.RADIO,((e,t)=>E(e.args,t,[i.RADIO]))),N(i.SPECIAL,((e,t)=>E(e.args,t,[i.SPECIAL]))),N(i.STATION,((e,t)=>E(e.args,t,[i.STATION]))),N(i.APPLICATION,((e,t)=>E(e.args,t,[d.APP,e.id]))),N(i.COLLECTION_ALBUM,((e,t)=>[d.USER,g(e.username,t),i.COLLECTION,i.ALBUM,e.id])),N(i.COLLECTION_MISSING_ALBUM,((e,t)=>[d.USER,g(e.username,t),i.COLLECTION,i.ALBUM,e.id,"missing"])),N(i.COLLECTION_ARTIST,((e,t)=>[d.USER,g(e.username,t),i.COLLECTION,i.ARTIST,e.id])),N(i.COLLECTION,((e,t)=>{const n=[i.COLLECTION].concat(e.category?[e.category]:[]);return e.username?[d.USER,g(e.username,t)].concat(n):n})),N(i.COMMENT,(e=>[i.COMMENT,e.id])),N(i.EPISODE,(e=>{let t=e.id;return(e.context||e.play)&&(t+=y({context:e.context,play:e.play})),[i.EPISODE,t]})),N(i.SHOW,(e=>[i.SHOW,e.id])),N(i.LIVE,(e=>[i.LIVE,e.id])),N(i.ROOM,(e=>[i.ROOM,e.id])),N(i.EXPRESSION,(e=>[i.EXPRESSION,e.id])),N(i.CONCEPT,(e=>[i.CONCEPT,e.id])),N(i.CONCERT,(e=>[i.CONCERT,e.id])),N(i.SOCIAL_SESSION,(e=>[i.SOCIAL_SESSION,e.id])),N(i.JAM,(e=>{const t=[i.JAM];return e.contextType&&e.id&&t.push(e.contextType,e.id),e.play&&t.push("play"),t})),N(i.INTERRUPTION,(e=>[i.INTERRUPTION,e.id])),N(i.MERCH,(e=>[i.MERCH,e.id])),N(i.MERCHHUB,(()=>[i.MERCHHUB])),N(i.PRERELEASE,(e=>[i.PRERELEASE,e.id])),N(i.UNKNOWN,((e,t)=>E(e.args,t))),N(i.MEDIA,(e=>[i.MEDIA,e.id])),N(i.POLL,(e=>[i.POLL,e.id])),N(i.QUESTION,(e=>[i.QUESTION,e.id])),N(i.RESPONSE,(e=>[i.RESPONSE,e.id])),N(i.FESTIVAL,(e=>[i.FESTIVAL,e.id])),N(i.TOUR,(e=>[i.TOUR,e.id])),N(i.CULTURAL_MOMENT,(e=>[i.CULTURAL_MOMENT,d.HUB,e.id])),N(i.VENUE,(e=>[i.VENUE,e.id])),N(i.VIDEO,(e=>[i.VIDEO,e.id])),N(i.CANVAS,(e=>[i.CANVAS,e.id])),N(i.COURSE,(e=>[i.COURSE,e.id])),N(i.LESSON,(e=>[i.LESSON,e.id])),N(i.PROMOTER,(e=>[i.PROMOTER,e.id]));const k="0123456789abcdef",w="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",D=[];D.length=256;for(let e=0;e<256;e++)D[e]=k[e>>4]+k[15&e];const M=[];M.length=128;for(let e=0;e<62;++e)M[w.charCodeAt(e)]=e;const x=[];for(let e=0;e<16;e++)x[k.charCodeAt(e)]=e;for(let e=0;e<6;e++)x["ABCDEF".charCodeAt(e)]=10+e;const U="function"==typeof Object.assign?(e,t)=>{Object.assign(e,t)}:(e,t)=>{for(const n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};class V{constructor(e,t={}){this.type=e,this.hasBase62Id=!!t.hasBase62Id,U(this,t)}toURI(){return`spotify:${L(this,o.URI).join(":")}`}toString(){return this.toURI()}toURLPath(e=!1){let t=L(this,o.URL);t[0]===d.APP&&t.shift();const n=t[0]===i.TRACKSET,r=t[0]===i.LOCAL_TRACK;if(!n&&!r){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t[n];i&&e.push(i)}t=e}const a=t.join("/");return e?`/${a}`:a}getPath(){return this.toString().replace(/[#?].*/,"")}toURL(e){return`${e||l}${this.toURLPath()}`}clone(){return new V(this.type,this)}}function F(e,t){return new V(e,t)}function B(e,t){if("string"!=typeof e)throw new TypeError("Argument `uri` must be a string.");return function(e,t){const n=C(e);return R(n.components,n.format,n.query,t)}(e,t?.parseUnknown)}function H(e,t){if(!e)return null;let n={};if(t&&(Array.isArray(t)?n.allowedTypes=t:n=t),e instanceof V)return-1===n.allowedTypes?.indexOf(e.type)?null:e.clone();if("string"==typeof e)try{const t=B(e,n);return-1===n.allowedTypes?.indexOf(t.type)?null:t}catch{return null}if(e?.type){if(-1===n.allowedTypes?.indexOf(e.type))return null;const{type:t,...i}=e;return new V(t,i)}return null}function G(e){return H(e)?.type===i.COLLECTION}function W(e){return H(e)?.type===i.EPISODE}},31508:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(86249),t)},86249:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendWwwWebFraudLogsNonAuth=t.sendWwwWebFraudLogs=t.sendWwwExperimentsNonAuth=t.sendWwwExperimentsAgnostic=t.sendWwwExperiments=t.sendWwwAnalyticsAgnostic=t.sendWwwAnalyticsNonAuth=t.sendWwwAnalytics=void 0;const o=i(n(95452)),r=n(88176),a=n(80284);t.sendWwwAnalytics=o.default({endpoint:r.Endpoints.WwwAnalytics,request:a.request}),t.sendWwwAnalyticsNonAuth=o.default({endpoint:r.Endpoints.WwwAnalyticsNonAuth,request:a.request}),t.sendWwwAnalyticsAgnostic=o.default({endpoint:r.Endpoints.WwwAnalyticsAgnostic,request:a.request}),t.sendWwwExperiments=o.default({endpoint:r.Endpoints.WwwExperiments,request:a.request}),t.sendWwwExperimentsAgnostic=o.default({endpoint:r.Endpoints.WwwExperimentsAgnostic,request:a.request}),t.sendWwwExperimentsNonAuth=o.default({endpoint:r.Endpoints.WwwExperimentsNonAuth,request:a.request}),t.sendWwwWebFraudLogs=o.default({endpoint:"wwwwebfraudlogs",request:a.request}),t.sendWwwWebFraudLogsNonAuth=o.default({endpoint:"wwwwebfraudlogsnonauth",request:a.request})},80284:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0,t.request=function(e,t){return n(this,void 0,void 0,(function*(){if(!("sendBeacon"in window.navigator))return;const n=`https://www.spotify.com/api/growth-events/${e}`;try{if(!navigator.sendBeacon(n,JSON.stringify(t)))throw new Error("Error sending beacon")}catch(e){throw new Error(e)}}))}},95452:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({endpoint:e,request:t}){return(i,o)=>n(this,void 0,void 0,(function*(){try{yield t(e,i,o)}catch(e){throw new Error(e)}}))}},88176:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Endpoints=void 0,function(e){e.WwwAnalytics="wwwanalytics",e.WwwAnalyticsAgnostic="wwwanalyticsagnostic",e.WwwAnalyticsNonAuth="wwwanalyticsnonauth",e.WwwExperiments="wwwexperiments",e.WwwExperimentsAgnostic="wwwexperimentsagnostic",e.WwwExperimentsNonAuth="wwwexperimentsnonauth",e.WwwWebFraudLogs="wwwwebfraudlogs",e.WwwWebFraudLogsNonAuth="wwwwebfraudlogsnonauth"}(t.Endpoints||(t.Endpoints={}))},21913:function(e,t,n){var i;e=n.nmd(e),function(o){var r=t,a=(e&&e.exports,"object"==typeof n.g&&n.g);a.global!==a&&a.window;var s=function(e){this.message=e};(s.prototype=new Error).name="InvalidCharacterError";var c=function(e){throw new s(e)},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,d={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var t,n,i,o,r=e.length%3,a="",s=-1,u=e.length-r;++s<u;)t=e.charCodeAt(s)<<16,n=e.charCodeAt(++s)<<8,i=e.charCodeAt(++s),a+=l.charAt((o=t+n+i)>>18&63)+l.charAt(o>>12&63)+l.charAt(o>>6&63)+l.charAt(63&o);return 2==r?(t=e.charCodeAt(s)<<8,n=e.charCodeAt(++s),a+=l.charAt((o=t+n)>>10)+l.charAt(o>>4&63)+l.charAt(o<<2&63)+"="):1==r&&(o=e.charCodeAt(s),a+=l.charAt(o>>2)+l.charAt(o<<4&63)+"=="),a},decode:function(e){var t=(e=String(e).replace(u,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var n,i,o=0,r="",a=-1;++a<t;)i=l.indexOf(e.charAt(a)),n=o%4?64*n+i:i,o++%4&&(r+=String.fromCharCode(255&n>>(-2*o&6)));return r},version:"1.0.0"};void 0===(i=function(){return d}.call(t,n,t,e))||(e.exports=i)}()},35350:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],i=t[1];return 3*(n+i)/4-i},t.toByteArray=function(e){var t,n,r=s(e),a=r[0],c=r[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,c)),u=0,d=c>0?a-4:a;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===c&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===c&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,i=e.length,o=i%3,r=[],a=16383,s=0,l=i-o;s<l;s+=a)r.push(c(e,s,s+a>l?l:s+a));1===o?(t=e[i-1],r.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[i-2]<<8)+e[i-1],r.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return r.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=r[a],i[r.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,i){for(var o,r,a=[],s=t;s<i;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(r=o)>>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},9856:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i=n(18),o=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,i){void 0===i&&(i=!1);var o=e.getVersionPrecision(t),r=e.getVersionPrecision(n),a=Math.max(o,r),s=0,c=e.map([t,n],(function(t){var n=a-e.getVersionPrecision(t),i=t+new Array(n+1).join(".0");return e.map(i.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(i&&(s=a-Math.min(o,r)),a-=1;a>=s;){if(c[0][a]>c[1][a])return 1;if(c[0][a]===c[1][a]){if(a===s)return 0;a-=1}else if(c[0][a]<c[1][a])return-1}},e.map=function(e,t){var n,i=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)i.push(t(e[n]));return i},e.find=function(e,t){var n,i;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,i=e.length;n<i;n+=1){var o=e[n];if(t(o,n))return o}},e.assign=function(e){for(var t,n,i=e,o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];if(Object.assign)return Object.assign.apply(Object,[e].concat(r));var s=function(){var e=r[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){i[t]=e[t]}))};for(t=0,n=r.length;t<n;t+=1)s();return e},e.getBrowserAlias=function(e){return i.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return i.BROWSER_MAP[e]||""},e}();t.default=o,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,o=(i=n(91))&&i.__esModule?i:{default:i},r=n(18);function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var s=function(){function e(){}var t,n,i;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new o.default(e,t)},e.parse=function(e){return new o.default(e).getResult()},t=e,i=[{key:"BROWSER_MAP",get:function(){return r.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return r.ENGINE_MAP}},{key:"OS_MAP",get:function(){return r.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return r.PLATFORMS_MAP}}],(n=null)&&a(t.prototype,n),i&&a(t,i),e}();t.default=s,e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i=c(n(92)),o=c(n(93)),r=c(n(94)),a=c(n(95)),s=c(n(17));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=s.default.find(i.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=s.default.find(o.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=s.default.find(r.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=s.default.find(a.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return s.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},i=0,o={},r=0;if(Object.keys(e).forEach((function(t){var a=e[t];"string"==typeof a?(o[t]=a,r+=1):"object"==typeof a&&(n[t]=a,i+=1)})),i>0){var a=Object.keys(n),c=s.default.find(a,(function(e){return t.isOS(e)}));if(c){var l=this.satisfies(n[c]);if(void 0!==l)return l}var u=s.default.find(a,(function(e){return t.isPlatform(e)}));if(u){var d=this.satisfies(n[u]);if(void 0!==d)return d}}if(r>0){var p=Object.keys(o),h=s.default.find(p,(function(e){return t.isBrowser(e,!0)}));if(void 0!==h)return this.compareVersion(o[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),i=e.toLowerCase(),o=s.default.getBrowserTypeByAlias(i);return t&&o&&(i=o.toLowerCase()),i===n},t.compareVersion=function(e){var t=[0],n=e,i=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(i=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(i=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(o,n,i))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=l,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,o=(i=n(17))&&i.__esModule?i:{default:i},r=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=o.default.getFirstMatch(r,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=o.default.getFirstMatch(r,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(t,e),version:o.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,o=(i=n(17))&&i.__esModule?i:{default:i},r=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:r.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:r.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=o.default.getWindowsVersionName(t);return{name:r.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:r.OS_MAP.iOS},n=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=o.default.getMacOSVersionName(t),i={name:r.OS_MAP.MacOS,version:t};return n&&(i.versionName=n),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:r.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=o.default.getAndroidVersionName(t),i={name:r.OS_MAP.Android,version:t};return n&&(i.versionName=n),i}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:r.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:r.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:r.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:r.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:r.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:r.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:r.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,o=(i=n(17))&&i.__esModule?i:{default:i},r=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:r.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:r.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:r.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:r.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:r.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:r.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:r.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:r.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:r.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:r.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:r.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:r.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:r.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var i,o=(i=n(17))&&i.__esModule?i:{default:i},r=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:r.ENGINE_MAP.Blink};var t=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:r.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:r.ENGINE_MAP.Trident},n=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:r.ENGINE_MAP.Presto},n=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:r.ENGINE_MAP.Gecko},n=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:r.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:r.ENGINE_MAP.WebKit},n=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})},84686:(e,t,n)=>{"use strict";const i=n(35350),o=n(77947),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=c,t.IS=50;const a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|m(e,t);let i=s(n);const o=i.write(e,t);o!==n&&(i=i.slice(0,o));return i}(e,t);if(ArrayBuffer.isView(e))return function(e){if(q(e,Uint8Array)){const t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer))return h(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(q(e,SharedArrayBuffer)||e&&q(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return c.from(i,t,n);const o=function(e){if(c.isBuffer(e)){const t=0|f(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||X(e.length)?s(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|f(e))}function p(e){const t=e.length<0?0:0|f(e.length),n=s(t);for(let i=0;i<t;i+=1)n[i]=255&e[i];return n}function h(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let i;return i=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(i,c.prototype),i}function f(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||q(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(o)return i?-1:z(e).length;t=(""+t).toLowerCase(),o=!0}}function _(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return I(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function g(e,t,n){const i=e[t];e[t]=e[n],e[n]=i}function E(e,t,n,i,o){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),X(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=c.from(t,i)),c.isBuffer(t))return 0===t.length?-1:v(e,t,n,i,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,i,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,i,o){let r,a=1,s=e.length,c=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let i=-1;for(r=n;r<s;r++)if(l(e,r)===l(t,-1===i?0:r-i)){if(-1===i&&(i=r),r-i+1===c)return i*a}else-1!==i&&(r-=r-i),i=-1}else for(n+c>s&&(n=s-c),r=n;r>=0;r--){let n=!0;for(let i=0;i<c;i++)if(l(e,r+i)!==l(t,i)){n=!1;break}if(n)return r}return-1}function y(e,t,n,i){n=Number(n)||0;const o=e.length-n;i?(i=Number(i))>o&&(i=o):i=o;const r=t.length;let a;for(i>r/2&&(i=r/2),a=0;a<i;++a){const i=parseInt(t.substr(2*a,2),16);if(X(i))return a;e[n+a]=i}return a}function b(e,t,n,i){return J(z(t,e.length-n),e,n,i)}function S(e,t,n,i){return J(function(e){const t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function T(e,t,n,i){return J(K(t),e,n,i)}function A(e,t,n,i){return J(function(e,t){let n,i,o;const r=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),i=n>>8,o=n%256,r.push(o),r.push(i);return r}(t,e.length-n),e,n,i)}function I(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function O(e,t,n){n=Math.min(e.length,n);const i=[];let o=t;for(;o<n;){const t=e[o];let r=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=n){let n,i,s,c;switch(a){case 1:t<128&&(r=t);break;case 2:n=e[o+1],128==(192&n)&&(c=(31&t)<<6|63&n,c>127&&(r=c));break;case 3:n=e[o+1],i=e[o+2],128==(192&n)&&128==(192&i)&&(c=(15&t)<<12|(63&n)<<6|63&i,c>2047&&(c<55296||c>57343)&&(r=c));break;case 4:n=e[o+1],i=e[o+2],s=e[o+3],128==(192&n)&&128==(192&i)&&128==(192&s)&&(c=(15&t)<<18|(63&n)<<12|(63&i)<<6|63&s,c>65535&&c<1114112&&(r=c))}}null===r?(r=65533,a=1):r>65535&&(r-=65536,i.push(r>>>10&1023|55296),r=56320|1023&r),i.push(r),o+=a}return function(e){const t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);let n="",i=0;for(;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=C));return n}(i)}c.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},c.allocUnsafe=function(e){return d(e)},c.allocUnsafeSlow=function(e){return d(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(q(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),q(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,i=t.length;for(let o=0,r=Math.min(n,i);o<r;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);let n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;const i=c.allocUnsafe(t);let o=0;for(n=0;n<e.length;++n){let t=e[n];if(q(t,Uint8Array))o+t.length>i.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(i,o)):Uint8Array.prototype.set.call(i,t,o);else{if(!c.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(i,o)}o+=t.length}return i},c.byteLength=m,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)g(this,t,t+1);return this},c.prototype.swap32=function(){const e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},c.prototype.swap64=function(){const e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},c.prototype.toString=function(){const e=this.length;return 0===e?"":0===arguments.length?O(this,0,e):_.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){let e="";const n=t.IS;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},r&&(c.prototype[r]=c.prototype.inspect),c.prototype.compare=function(e,t,n,i,o){if(q(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(this===e)return 0;let r=(o>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0);const s=Math.min(r,a),l=this.slice(i,o),u=e.slice(t,n);for(let e=0;e<s;++e)if(l[e]!==u[e]){r=l[e],a=u[e];break}return r<a?-1:a<r?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return E(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return E(this,e,t,n,!1)},c.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}const o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let r=!1;for(;;)switch(i){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":case"latin1":case"binary":return S(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const C=4096;function R(e,t,n){let i="";n=Math.min(e.length,n);for(let o=t;o<n;++o)i+=String.fromCharCode(127&e[o]);return i}function N(e,t,n){let i="";n=Math.min(e.length,n);for(let o=t;o<n;++o)i+=String.fromCharCode(e[o]);return i}function P(e,t,n){const i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);let o="";for(let i=t;i<n;++i)o+=$[e[i]];return o}function L(e,t,n){const i=e.slice(t,n);let o="";for(let e=0;e<i.length-1;e+=2)o+=String.fromCharCode(i[e]+256*i[e+1]);return o}function k(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function w(e,t,n,i,o,r){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<r)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function D(e,t,n,i,o){G(t,i,o,e,n,7);let r=Number(t&BigInt(4294967295));e[n++]=r,r>>=8,e[n++]=r,r>>=8,e[n++]=r,r>>=8,e[n++]=r;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function M(e,t,n,i,o){G(t,i,o,e,n,7);let r=Number(t&BigInt(4294967295));e[n+7]=r,r>>=8,e[n+6]=r,r>>=8,e[n+5]=r,r>>=8,e[n+4]=r;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function x(e,t,n,i,o,r){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(e,t,n,i,r){return t=+t,n>>>=0,r||x(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function V(e,t,n,i,r){return t=+t,n>>>=0,r||x(e,0,n,8),o.write(e,t,n,i,52,8),n+8}c.prototype.slice=function(e,t){const n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);const i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let i=this[e],o=1,r=0;for(;++r<t&&(o*=256);)i+=this[e+r]*o;return i},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let i=this[e+--t],o=1;for(;t>0&&(o*=256);)i+=this[e+--t]*o;return i},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,o=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(i)+(BigInt(o)<<BigInt(32))})),c.prototype.readBigUInt64BE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=t*2**24+65536*this[++e]+256*this[++e]+this[++e],o=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(i)<<BigInt(32))+BigInt(o)})),c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let i=this[e],o=1,r=0;for(;++r<t&&(o*=256);)i+=this[e+r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);let i=t,o=1,r=this[e+--i];for(;i>0&&(o*=256);)r+=this[e+--i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},c.prototype.readInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);const n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);const n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),c.prototype.readBigInt64BE=Z((function(e){W(e>>>=0,"offset");const t=this[e],n=this[e+7];void 0!==t&&void 0!==n||j(e,this.length-8);const i=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(i)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+n)})),c.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){w(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=1,r=0;for(this[t]=255&e;++r<n&&(o*=256);)this[t+r]=e/o&255;return t+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){w(this,e,t,n,Math.pow(2,8*n)-1,0)}let o=n-1,r=1;for(this[t+o]=255&e;--o>=0&&(r*=256);)this[t+o]=e/r&255;return t+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=Z((function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Z((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){const i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}let o=0,r=1,a=0;for(this[t]=255&e;++o<n&&(r*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/r>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){const i=Math.pow(2,8*n-1);w(this,e,t,n,i-1,-i)}let o=n-1,r=1,a=0;for(this[t+o]=255&e;--o>=0&&(r*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/r>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=Z((function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Z((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(e,t,n){return U(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return U(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return V(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return V(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);const o=i-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o},c.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){const t=e.charCodeAt(0);("utf8"===i&&t<128||"latin1"===i)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;let o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{const r=c.isBuffer(e)?e:c.from(e,i),a=r.length;if(0===a)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=r[o%a]}return this};const F={};function B(e,t,n){F[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",n=e.length;const i="-"===e[0]?1:0;for(;n>=i+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function G(e,t,n,i,o,r){if(e>n||e<t){const i="bigint"==typeof t?"n":"";let o;throw o=r>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${8*(r+1)}${i}`:`>= -(2${i} ** ${8*(r+1)-1}${i}) and < 2 ** ${8*(r+1)-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new F.ERR_OUT_OF_RANGE("value",o,e)}!function(e,t,n){W(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||j(t,e.length-(n+1))}(i,o,r)}function W(e,t){if("number"!=typeof e)throw new F.ERR_INVALID_ARG_TYPE(t,"number",e)}function j(e,t,n){if(Math.floor(e)!==e)throw W(e,n),new F.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}B("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),B("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),B("ERR_OUT_OF_RANGE",(function(e,t,n){let i=`The value of "${e}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>2**32?o=H(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=H(o)),o+="n"),i+=` It must be ${t}. Received ${o}`,i}),RangeError);const Y=/[^+/0-9A-Za-z-_]/g;function z(e,t){let n;t=t||1/0;const i=e.length;let o=null;const r=[];for(let a=0;a<i;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(a+1===i){(t-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function K(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function J(e,t,n,i){let o;for(o=0;o<i&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function X(e){return e!=e}const $=function(){const e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){const i=16*n;for(let o=0;o<16;++o)t[i+o]=e[n]+e[o]}return t}();function Z(e){return"undefined"==typeof BigInt?Q:e}function Q(){throw new Error("BigInt not supported")}},14877:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},66138:(e,t,n)=>{var i=n(14877),o=n(301),r=Object.hasOwnProperty,a=Object.create(null);for(var s in i)r.call(i,s)&&(a[i[s]]=s);var c=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}c.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=c.get.hsl(e),n="hsl";break;case"hwb":t=c.get.hwb(e),n="hwb";break;default:t=c.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},c.get.rgb=function(e){if(!e)return null;var t,n,o,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){var s=2*n;a[n]=parseInt(t.slice(s,s+2),16)}o&&(a[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);o&&(a[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:r.call(i,t[1])?((a=i[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=l(a[n],0,255);return a[3]=l(a[3],0,1),a},c.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},c.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},c.to.hex=function(){var e=o(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},c.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},c.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+i+"%)":"rgba("+t+"%, "+n+"%, "+i+"%, "+e[3]+")"},c.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},c.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},c.to.keyword=function(e){return a[e.slice(0,3)]}},56324:(e,t,n)=>{var i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g,o=function(){function e(){this.fetch=!1,this.DOMException=i.DOMException}return e.prototype=i,new e}();!function(e){!function(t){var n=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==n&&n,i="URLSearchParams"in n,o="Symbol"in n&&"iterator"in Symbol,r="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in n,s="ArrayBuffer"in n;if(s)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function _(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function E(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&r&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=f(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(_)}),this.text=function(){var e,t,n,i=f(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=m(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(e,t){e=u(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[u(e)]},h.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},h.prototype.set=function(e,t){this.map[u(e)]=d(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},h.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},h.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},o&&(h.prototype[Symbol.iterator]=h.prototype.entries);var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(e,t){if(!(this instanceof y))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i,o=(t=t||{}).body;if(e instanceof y){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(n=t.method||this.method||"GET",i=n.toUpperCase(),v.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(o))}})),t}function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},E.call(y.prototype),E.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];S.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new S(null,{status:t,headers:{location:e}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function A(e,i){return new Promise((function(o,a){var c=new y(e,i);if(c.signal&&c.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function u(){l.abort()}l.onload=function(){var e,t,n={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),i=n.shift().trim();if(i){var o=n.join(":").trim();t.append(i,o)}})),t)};n.url="responseURL"in l?l.responseURL:n.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;setTimeout((function(){o(new S(i,n))}),0)},l.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},l.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},l.onabort=function(){setTimeout((function(){a(new t.DOMException("Aborted","AbortError"))}),0)},l.open(c.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(c.url),!0),"include"===c.credentials?l.withCredentials=!0:"omit"===c.credentials&&(l.withCredentials=!1),"responseType"in l&&(r?l.responseType="blob":s&&c.headers.get("Content-Type")&&-1!==c.headers.get("Content-Type").indexOf("application/octet-stream")&&(l.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof h?c.headers.forEach((function(e,t){l.setRequestHeader(t,e)})):Object.getOwnPropertyNames(i.headers).forEach((function(e){l.setRequestHeader(e,d(i.headers[e]))})),c.signal&&(c.signal.addEventListener("abort",u),l.onreadystatechange=function(){4===l.readyState&&c.signal.removeEventListener("abort",u)}),l.send(void 0===c._bodyInit?null:c._bodyInit)}))}A.polyfill=!0,n.fetch||(n.fetch=A,n.Headers=h,n.Request=y,n.Response=S),t.Headers=h,t.Request=y,t.Response=S,t.fetch=A}({})}(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var r=i.fetch?i:o;(t=r.fetch).default=r.fetch,t.fetch=r.fetch,t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response,e.exports=t},42067:(e,t,n)=>{t.UINT32=n(44402),t.UINT64=n(49117)},44402:function(e,t){var n;!function(i){o(Math.pow(36,5)),o(Math.pow(16,7)),o(Math.pow(10,9)),o(Math.pow(2,30)),o(36),o(16),o(10),o(2);function o(e,t){return this instanceof o?(this._low=0,this._high=0,this.remainder=null,void 0===t?a.call(this,e):"string"==typeof e?s.call(this,e,t):void r.call(this,e,t)):new o(e,t)}function r(e,t){return this._low=0|e,this._high=0|t,this}function a(e){return this._low=65535&e,this._high=e>>>16,this}function s(e,t){var n=parseInt(e,t||10);return this._low=65535&n,this._high=n>>>16,this}o.prototype.fromBits=r,o.prototype.fromNumber=a,o.prototype.fromString=s,o.prototype.toNumber=function(){return 65536*this._high+this._low},o.prototype.toString=function(e){return this.toNumber().toString(e||10)},o.prototype.add=function(e){var t=this._low+e._low,n=t>>>16;return n+=this._high+e._high,this._low=65535&t,this._high=65535&n,this},o.prototype.subtract=function(e){return this.add(e.clone().negate())},o.prototype.multiply=function(e){var t,n,i=this._high,o=this._low,r=e._high,a=e._low;return t=(n=o*a)>>>16,t+=i*a,t&=65535,t+=o*r,this._low=65535&n,this._high=65535&t,this},o.prototype.div=function(e){if(0==e._low&&0==e._high)throw Error("division by zero");if(0==e._high&&1==e._low)return this.remainder=new o(0),this;if(e.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(e))return this.remainder=new o(0),this._low=1,this._high=0,this;for(var t=e.clone(),n=-1;!this.lt(t);)t.shiftLeft(1,!0),n++;for(this.remainder=this.clone(),this._low=0,this._high=0;n>=0;n--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),n>=16?this._high|=1<<n-16:this._low|=1<<n);return this},o.prototype.negate=function(){var e=1+(65535&~this._low);return this._low=65535&e,this._high=~this._high+(e>>>16)&65535,this},o.prototype.equals=o.prototype.eq=function(e){return this._low==e._low&&this._high==e._high},o.prototype.greaterThan=o.prototype.gt=function(e){return this._high>e._high||!(this._high<e._high)&&this._low>e._low},o.prototype.lessThan=o.prototype.lt=function(e){return this._high<e._high||!(this._high>e._high)&&this._low<e._low},o.prototype.or=function(e){return this._low|=e._low,this._high|=e._high,this},o.prototype.and=function(e){return this._low&=e._low,this._high&=e._high,this},o.prototype.not=function(){return this._low=65535&~this._low,this._high=65535&~this._high,this},o.prototype.xor=function(e){return this._low^=e._low,this._high^=e._high,this},o.prototype.shiftRight=o.prototype.shiftr=function(e){return e>16?(this._low=this._high>>e-16,this._high=0):16==e?(this._low=this._high,this._high=0):(this._low=this._low>>e|this._high<<16-e&65535,this._high>>=e),this},o.prototype.shiftLeft=o.prototype.shiftl=function(e,t){return e>16?(this._high=this._low<<e-16,this._low=0,t||(this._high&=65535)):16==e?(this._high=this._low,this._low=0):(this._high=this._high<<e|this._low>>16-e,this._low=this._low<<e&65535,t||(this._high&=65535)),this},o.prototype.rotateLeft=o.prototype.rotl=function(e){var t=this._high<<16|this._low;return t=t<<e|t>>>32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.rotateRight=o.prototype.rotr=function(e){var t=this._high<<16|this._low;return t=t>>>e|t<<32-e,this._low=65535&t,this._high=t>>>16,this},o.prototype.clone=function(){return new o(this._low,this._high)},void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},49117:function(e,t){var n;!function(i){var o={16:a(Math.pow(16,5)),10:a(Math.pow(10,5)),2:a(Math.pow(2,5))},r={16:a(16),10:a(10),2:a(2)};function a(e,t,n,i){return this instanceof a?(this.remainder=null,"string"==typeof e?l.call(this,e,t):void 0===t?c.call(this,e):void s.apply(this,arguments)):new a(e,t,n,i)}function s(e,t,n,i){return void 0===n?(this._a00=65535&e,this._a16=e>>>16,this._a32=65535&t,this._a48=t>>>16,this):(this._a00=0|e,this._a16=0|t,this._a32=0|n,this._a48=0|i,this)}function c(e){return this._a00=65535&e,this._a16=e>>>16,this._a32=0,this._a48=0,this}function l(e,t){t=t||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var n=o[t]||new a(Math.pow(t,5)),i=0,r=e.length;i<r;i+=5){var s=Math.min(5,r-i),c=parseInt(e.slice(i,i+s),t);this.multiply(s<5?new a(Math.pow(t,s)):n).add(new a(c))}return this}a.prototype.fromBits=s,a.prototype.fromNumber=c,a.prototype.fromString=l,a.prototype.toNumber=function(){return 65536*this._a16+this._a00},a.prototype.toString=function(e){var t=r[e=e||10]||new a(e);if(!this.gt(t))return this.toNumber().toString(e);for(var n=this.clone(),i=new Array(64),o=63;o>=0&&(n.div(t),i[o]=n.remainder.toNumber().toString(e),n.gt(t));o--);return i[o-1]=n.toNumber().toString(e),i.join("")},a.prototype.add=function(e){var t=this._a00+e._a00,n=t>>>16,i=(n+=this._a16+e._a16)>>>16,o=(i+=this._a32+e._a32)>>>16;return o+=this._a48+e._a48,this._a00=65535&t,this._a16=65535&n,this._a32=65535&i,this._a48=65535&o,this},a.prototype.subtract=function(e){return this.add(e.clone().negate())},a.prototype.multiply=function(e){var t=this._a00,n=this._a16,i=this._a32,o=this._a48,r=e._a00,a=e._a16,s=e._a32,c=t*r,l=c>>>16,u=(l+=t*a)>>>16;l&=65535,u+=(l+=n*r)>>>16;var d=(u+=t*s)>>>16;return u&=65535,d+=(u+=n*a)>>>16,u&=65535,d+=(u+=i*r)>>>16,d+=t*e._a48,d&=65535,d+=n*s,d&=65535,d+=i*a,d&=65535,d+=o*r,this._a00=65535&c,this._a16=65535&l,this._a32=65535&u,this._a48=65535&d,this},a.prototype.div=function(e){if(0==e._a16&&0==e._a32&&0==e._a48){if(0==e._a00)throw Error("division by zero");if(1==e._a00)return this.remainder=new a(0),this}if(e.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(e))return this.remainder=new a(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var t=e.clone(),n=-1;!this.lt(t);)t.shiftLeft(1,!0),n++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;n>=0;n--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),n>=48?this._a48|=1<<n-48:n>=32?this._a32|=1<<n-32:n>=16?this._a16|=1<<n-16:this._a00|=1<<n);return this},a.prototype.negate=function(){var e=1+(65535&~this._a00);return this._a00=65535&e,e=(65535&~this._a16)+(e>>>16),this._a16=65535&e,e=(65535&~this._a32)+(e>>>16),this._a32=65535&e,this._a48=~this._a48+(e>>>16)&65535,this},a.prototype.equals=a.prototype.eq=function(e){return this._a48==e._a48&&this._a00==e._a00&&this._a32==e._a32&&this._a16==e._a16},a.prototype.greaterThan=a.prototype.gt=function(e){return this._a48>e._a48||!(this._a48<e._a48)&&(this._a32>e._a32||!(this._a32<e._a32)&&(this._a16>e._a16||!(this._a16<e._a16)&&this._a00>e._a00))},a.prototype.lessThan=a.prototype.lt=function(e){return this._a48<e._a48||!(this._a48>e._a48)&&(this._a32<e._a32||!(this._a32>e._a32)&&(this._a16<e._a16||!(this._a16>e._a16)&&this._a00<e._a00))},a.prototype.or=function(e){return this._a00|=e._a00,this._a16|=e._a16,this._a32|=e._a32,this._a48|=e._a48,this},a.prototype.and=function(e){return this._a00&=e._a00,this._a16&=e._a16,this._a32&=e._a32,this._a48&=e._a48,this},a.prototype.xor=function(e){return this._a00^=e._a00,this._a16^=e._a16,this._a32^=e._a32,this._a48^=e._a48,this},a.prototype.not=function(){return this._a00=65535&~this._a00,this._a16=65535&~this._a16,this._a32=65535&~this._a32,this._a48=65535&~this._a48,this},a.prototype.shiftRight=a.prototype.shiftr=function(e){return(e%=64)>=48?(this._a00=this._a48>>e-48,this._a16=0,this._a32=0,this._a48=0):e>=32?(e-=32,this._a00=65535&(this._a32>>e|this._a48<<16-e),this._a16=this._a48>>e&65535,this._a32=0,this._a48=0):e>=16?(e-=16,this._a00=65535&(this._a16>>e|this._a32<<16-e),this._a16=65535&(this._a32>>e|this._a48<<16-e),this._a32=this._a48>>e&65535,this._a48=0):(this._a00=65535&(this._a00>>e|this._a16<<16-e),this._a16=65535&(this._a16>>e|this._a32<<16-e),this._a32=65535&(this._a32>>e|this._a48<<16-e),this._a48=this._a48>>e&65535),this},a.prototype.shiftLeft=a.prototype.shiftl=function(e,t){return(e%=64)>=48?(this._a48=this._a00<<e-48,this._a32=0,this._a16=0,this._a00=0):e>=32?(e-=32,this._a48=this._a16<<e|this._a00>>16-e,this._a32=this._a00<<e&65535,this._a16=0,this._a00=0):e>=16?(e-=16,this._a48=this._a32<<e|this._a16>>16-e,this._a32=65535&(this._a16<<e|this._a00>>16-e),this._a16=this._a00<<e&65535,this._a00=0):(this._a48=this._a48<<e|this._a32>>16-e,this._a32=65535&(this._a32<<e|this._a16>>16-e),this._a16=65535&(this._a16<<e|this._a00>>16-e),this._a00=this._a00<<e&65535),t||(this._a48&=65535),this},a.prototype.rotateLeft=a.prototype.rotl=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var n=this._a48<<16|this._a32,i=this._a16<<16|this._a00,o=n<<e|i>>>32-e,r=i<<e|n>>>32-e;return this._a00=65535&r,this._a16=r>>>16,this._a32=65535&o,this._a48=o>>>16,this},a.prototype.rotateRight=a.prototype.rotr=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var n=this._a48<<16|this._a32,i=this._a16<<16|this._a00,o=n>>>e|i<<32-e,r=i>>>e|n<<32-e;return this._a00=65535&r,this._a16=r>>>16,this._a32=65535&o,this._a48=o>>>16,this},a.prototype.clone=function(){return new a(this._a00,this._a16,this._a32,this._a48)},void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},76860:e=>{"use strict";function t(e,t){if("function"!=typeof e)throw new TypeError("argument fn must be a function");return e}function n(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("argument obj must be object");var i=Object.getOwnPropertyDescriptor(e,t);if(!i)throw new TypeError("must call property on owner object");if(!i.configurable)throw new TypeError("property must be configurable")}e.exports=function(e){if(!e)throw new TypeError("argument namespace is required");function i(e){}return i._file=void 0,i._ignored=!0,i._namespace=e,i._traced=!1,i._warned=Object.create(null),i.function=t,i.property=n,i}},8994:(e,t)=>{"use strict";var n;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"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},42095:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var r=n(8994),a=n(42399);o(n(42399),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.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 n=this.options.xmlMode?r.ElementType.Tag:void 0,i=new a.Element(e,t,void 0,n);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===r.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.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 n=new a.ProcessingInstruction(e,t);this.addNode(n)},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],n=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),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},42399:function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(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 n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.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 a=n(8994),s=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),S(this,e)},e}();t.Node=s;var c=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=c;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(c);t.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(c);t.Comment=u;var d=function(e){function t(t,n){var i=e.call(this,n)||this;return i.name=t,i.type=a.ElementType.Directive,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(c);t.ProcessingInstruction=d;var p=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(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}(s);t.NodeWithChildren=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);t.CDATA=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);t.Document=f;var m=function(e){function t(t,n,i,o){void 0===i&&(i=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var r=e.call(this,i)||this;return r.name=t,r.attribs=n,r.type=o,r}return o(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},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,i;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}}))},enumerable:!1,configurable:!0}),t}(p);function _(e){return(0,a.isTag)(e)}function g(e){return e.type===a.ElementType.CDATA}function E(e){return e.type===a.ElementType.Text}function v(e){return e.type===a.ElementType.Comment}function y(e){return e.type===a.ElementType.Directive}function b(e){return e.type===a.ElementType.Root}function S(e,t){var n;if(void 0===t&&(t=!1),E(e))n=new l(e.data);else if(v(e))n=new u(e.data);else if(_(e)){var i=t?T(e.children):[],o=new m(e.name,r({},e.attribs),i);i.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=r({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=r({},e["x-attribsPrefix"])),n=o}else if(g(e)){i=t?T(e.children):[];var a=new h(i);i.forEach((function(e){return e.parent=a})),n=a}else if(b(e)){i=t?T(e.children):[];var s=new f(i);i.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!y(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new d(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function T(e){for(var t=e.map((function(e){return S(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=_,t.isCDATA=g,t.isText=E,t.isComment=v,t.isDirective=y,t.isDocument=b,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=S},33092:(e,t,n)=>{var i;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(i=function(){return r}.call(t,n,t,e))||(e.exports=i)}()},93212:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,o,r;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(o=i;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(r=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,r[o]))return!1;for(o=i;0!=o--;){var a=r[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},8741:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});const i=new Uint32Array(65536),o=(e,t)=>{if(e.length<t.length){const n=t;t=e,e=n}return 0===t.length?e.length:e.length<=32?((e,t)=>{const n=e.length,o=t.length,r=1<<n-1;let a=-1,s=0,c=n,l=n;for(;l--;)i[e.charCodeAt(l)]|=1<<l;for(l=0;l<o;l++){let e=i[t.charCodeAt(l)];const n=e|s;e|=(e&a)+a^a,s|=~(e|a),a&=e,s&r&&c++,a&r&&c--,s=s<<1|1,a=a<<1|~(n|s),s&=n}for(l=n;l--;)i[e.charCodeAt(l)]=0;return c})(e,t):((e,t)=>{const n=t.length,o=e.length,r=[],a=[],s=Math.ceil(n/32),c=Math.ceil(o/32);for(let e=0;e<s;e++)a[e]=-1,r[e]=0;let l=0;for(;l<c-1;l++){let s=0,c=-1;const u=32*l,d=Math.min(32,o)+u;for(let t=u;t<d;t++)i[e.charCodeAt(t)]|=1<<t;for(let e=0;e<n;e++){const n=i[t.charCodeAt(e)],o=a[e/32|0]>>>e&1,l=r[e/32|0]>>>e&1,u=n|s,d=((n|l)&c)+c^c|n|l;let p=s|~(d|c),h=c&d;p>>>31^o&&(a[e/32|0]^=1<<e),h>>>31^l&&(r[e/32|0]^=1<<e),p=p<<1|o,h=h<<1|l,c=h|~(u|p),s=p&u}for(let t=u;t<d;t++)i[e.charCodeAt(t)]=0}let u=0,d=-1;const p=32*l,h=Math.min(32,o-p)+p;for(let t=p;t<h;t++)i[e.charCodeAt(t)]|=1<<t;let f=o;for(let e=0;e<n;e++){const n=i[t.charCodeAt(e)],s=a[e/32|0]>>>e&1,c=r[e/32|0]>>>e&1,l=n|u,p=((n|c)&d)+d^d|n|c;let h=u|~(p|d),m=d&p;f+=h>>>o-1&1,f-=m>>>o-1&1,h>>>31^s&&(a[e/32|0]^=1<<e),m>>>31^c&&(r[e/32|0]^=1<<e),h=h<<1|s,m=m<<1|c,d=m|~(l|h),u=h&l}for(let t=p;t<h;t++)i[e.charCodeAt(t)]=0;return f})(e,t)}},72817:function(e){e.exports=function(){"use strict";function e(e){return Number.isInteger(e)&&e>=0}function t(e){this.name="ArgumentError",this.message=e}return function(n,i){if(i=i||{},"function"!=typeof n)throw new t("fetch must be a function");if("object"!=typeof i)throw new t("defaults must be an object");if(void 0!==i.retries&&!e(i.retries))throw new t("retries must be a positive integer");if(void 0!==i.retryDelay&&!e(i.retryDelay)&&"function"!=typeof i.retryDelay)throw new t("retryDelay must be a positive integer or a function returning a positive integer");if(void 0!==i.retryOn&&!Array.isArray(i.retryOn)&&"function"!=typeof i.retryOn)throw new t("retryOn property expects an array or function");var o={retries:3,retryDelay:1e3,retryOn:[]};return i=Object.assign(o,i),function(o,r){var a=i.retries,s=i.retryDelay,c=i.retryOn;if(r&&void 0!==r.retries){if(!e(r.retries))throw new t("retries must be a positive integer");a=r.retries}if(r&&void 0!==r.retryDelay){if(!e(r.retryDelay)&&"function"!=typeof r.retryDelay)throw new t("retryDelay must be a positive integer or a function returning a positive integer");s=r.retryDelay}if(r&&r.retryOn){if(!Array.isArray(r.retryOn)&&"function"!=typeof r.retryOn)throw new t("retryOn property expects an array or function");c=r.retryOn}return new Promise((function(e,t){var i=function(i){var s="undefined"!=typeof Request&&o instanceof Request?o.clone():o;n(s,r).then((function(n){if(Array.isArray(c)&&-1===c.indexOf(n.status))e(n);else if("function"==typeof c)try{return Promise.resolve(c(i,null,n)).then((function(t){t?l(i,null,n):e(n)})).catch(t)}catch(e){t(e)}else i<a?l(i,null,n):e(n)})).catch((function(e){if("function"==typeof c)try{Promise.resolve(c(i,e,null)).then((function(n){n?l(i,e,null):t(e)})).catch((function(e){t(e)}))}catch(e){t(e)}else i<a?l(i,e,null):t(e)}))};function l(e,t,n){var o="function"==typeof s?s(e,t,n):s;setTimeout((function(){i(++e)}),o)}i(0)}))}}}()},40157:(e,t,n)=>{"use strict";function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(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 n,o=c(e);if(t){var r=c(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}(this,n)}}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l=n(30758),u=n(2736),d=n(61912).createFocusTrap,p=n(29069).isFocusable,h=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&&r(e,t)}(u,e);var t,n,i,c=a(u);function u(e){var t,n,i,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),t=c.call(this,e),n=s(t),o=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var i=arguments.length,o=new Array(i>1?i-1:0),r=1;r<i;r++)o[r-1]=arguments[r];n=n.apply(void 0,o)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(i="getNodeForOption")in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,t.handleDeactivate=t.handleDeactivate.bind(s(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(s(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(s(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 r=e.focusTrapOptions;for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&("returnFocusOnDeactivate"!==a&&"onDeactivate"!==a&&"onPostDeactivate"!==a&&"checkCanReturnFocus"!==a&&"clickOutsideDeactivates"!==a?t.internalOptions[a]=r[a]:t.originalOptions[a]=r[a]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=u,(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(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||p(e.outsideClick.target,e.internalOptions.tabbableOptions))),i=e.internalOptions.preventScroll,o=void 0!==i&&i;n&&t.focus({preventScroll:o}),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,n=e.active&&!this.props.active,i=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();i&&this.focusTrap.pause(),o&&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?l.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===l.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return l.cloneElement(t,{ref:function(n){var i=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=i||[n]}})}return null}}])&&o(t.prototype,n),i&&o(t,i),Object.defineProperty(t,"prototype",{writable:!1}),u}(l.Component),f="undefined"==typeof Element?Function:Element;h.propTypes={active:u.bool,paused:u.bool,focusTrapOptions:u.shape({document:u.object,onActivate:u.func,onPostActivate:u.func,checkCanFocusTrap:u.func,onDeactivate:u.func,onPostDeactivate:u.func,checkCanReturnFocus:u.func,initialFocus:u.oneOfType([u.instanceOf(f),u.string,u.bool,u.func]),fallbackFocus:u.oneOfType([u.instanceOf(f),u.string,u.func]),escapeDeactivates:u.oneOfType([u.bool,u.func]),clickOutsideDeactivates:u.oneOfType([u.bool,u.func]),returnFocusOnDeactivate:u.bool,setReturnFocus:u.oneOfType([u.instanceOf(f),u.string,u.bool,u.func]),allowOutsideClick:u.oneOfType([u.bool,u.func]),preventScroll:u.bool,tabbableOptions:u.shape({displayCheck:u.oneOf(["full","non-zero-area","none"]),getShadowRoot:u.oneOfType([u.bool,u.func])})}),containerElements:u.arrayOf(u.instanceOf(f)),children:u.oneOfType([u.element,u.instanceOf(f)])},h.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},e.exports=h},61912:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>h});var i=n(29069);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,c=(s=[],{activateTrap:function(e){if(s.length>0){var t=s[s.length-1];t!==e&&t.pause()}var n=s.indexOf(e);-1===n||s.splice(n,1),s.push(e)},deactivateTrap:function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1),s.length>0&&s[s.length-1].unpause()}}),l=function(e){return setTimeout(e,0)},u=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},p=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},h=function(e,t){var n,o=(null==t?void 0:t.document)||document,a=r({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},h=function(e,t,n){return e&&void 0!==e[t]?e[t]:a[n||t]},f=function(e){return s.containerGroups.findIndex((function(t){var n=t.container,i=t.tabbableNodes;return n.contains(e)||i.find((function(t){return t===e}))}))},m=function(e){var t=a[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t=t.apply(void 0,i)}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=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},_=function(){var e=m("initialFocus");if(!1===e)return!1;if(void 0===e)if(f(o.activeElement)>=0)e=o.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||m("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},g=function(){if(s.containerGroups=s.containers.map((function(e){var t=(0,i.tabbable)(e,a.tabbableOptions),n=(0,i.focusable)(e,a.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=n.findIndex((function(t){return t===e}));if(!(o<0))return t?n.slice(o+1).find((function(e){return(0,i.isTabbable)(e,a.tabbableOptions)})):n.slice(0,o).reverse().find((function(e){return(0,i.isTabbable)(e,a.tabbableOptions)}))}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},E=function e(t){!1!==t&&t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(_()))},v=function(e){var t=m("setReturnFocus",e);return t||!1!==t&&e},y=function(e){var t=p(e);f(t)>=0||(d(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate&&!(0,i.isFocusable)(t,a.tabbableOptions)}):d(a.allowOutsideClick,e)||e.preventDefault())},b=function(e){var t=p(e),n=f(t)>=0;n||t instanceof Document?n&&(s.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),E(s.mostRecentlyFocusedNode||_()))},S=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(a.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=p(e);g();var n=null;if(s.tabbableGroups.length>0){var o=f(t),r=o>=0?s.containerGroups[o]:void 0;if(o<0)n=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=u(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(c<0&&(r.container===t||(0,i.isFocusable)(t,a.tabbableOptions)&&!(0,i.isTabbable)(t,a.tabbableOptions)&&!r.nextTabbableNode(t,!1))&&(c=o),c>=0){var l=0===c?s.tabbableGroups.length-1:c-1;n=s.tabbableGroups[l].lastTabbableNode}}else{var d=u(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(r.container===t||(0,i.isFocusable)(t,a.tabbableOptions)&&!(0,i.isTabbable)(t,a.tabbableOptions)&&!r.nextTabbableNode(t))&&(d=o),d>=0){var h=d===s.tabbableGroups.length-1?0:d+1;n=s.tabbableGroups[h].firstTabbableNode}}}else n=m("fallbackFocus");n&&(e.preventDefault(),E(n))}(e)},T=function(e){var t=p(e);f(t)>=0||d(a.clickOutsideDeactivates,e)||d(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},A=function(){if(s.active)return c.activateTrap(n),s.delayInitialFocusTimer=a.delayInitialFocus?l((function(){E(_())})):E(_()),o.addEventListener("focusin",b,!0),o.addEventListener("mousedown",y,{capture:!0,passive:!1}),o.addEventListener("touchstart",y,{capture:!0,passive:!1}),o.addEventListener("click",T,{capture:!0,passive:!1}),o.addEventListener("keydown",S,{capture:!0,passive:!1}),n},I=function(){if(s.active)return o.removeEventListener("focusin",b,!0),o.removeEventListener("mousedown",y,!0),o.removeEventListener("touchstart",y,!0),o.removeEventListener("click",T,!0),o.removeEventListener("keydown",S,!0),n};return(n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=h(e,"onActivate"),n=h(e,"onPostActivate"),i=h(e,"checkCanFocusTrap");i||g(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=o.activeElement,t&&t();var r=function(){i&&g(),A(),n&&n()};return i?(i(s.containers.concat()).then(r,r),this):(r(),this)},deactivate:function(e){if(!s.active)return this;var t=r({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,I(),s.active=!1,s.paused=!1,c.deactivateTrap(n);var i=h(t,"onDeactivate"),o=h(t,"onPostDeactivate"),u=h(t,"checkCanReturnFocus"),d=h(t,"returnFocus","returnFocusOnDeactivate");i&&i();var p=function(){l((function(){d&&E(v(s.nodeFocusedBeforeActivation)),o&&o()}))};return d&&u?(u(v(s.nodeFocusedBeforeActivation)).then(p,p),this):(p(),this)},pause:function(){return s.paused||!s.active||(s.paused=!0,I()),this},unpause:function(){return s.paused&&s.active?(s.paused=!1,g(),A(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),s.active&&g(),this}}).updateContainerElements(e),n}},79133:(e,t,n)=>{const i=n(4964),o=n(8082).p,r=n(66505).p,a=n(44747),s=n(80686).Base64,c=new a(s.toUint8Array(o)),l=new a(s.toUint8Array(r));function u(e,t){return 0!=(e&t)}const d=0,p=1,h=2;function f(e,t){const n=e.length;let o=0,r=d;for(let a=t;a+1<n;a++){const n=e[a+0],s=e[a+1];switch(u(n,i.Regional_Indicator)||(o=0),r){case h:case d:r=u(n,i.Extended_Pictographic)?p:d;break;case p:r=u(n,i.Extend)?p:u(n,i.ZWJ)&&u(s,i.Extended_Pictographic)?h:d}if(!u(n,i.CR)||!u(s,i.LF)){if(u(n,i.Control|i.CR|i.LF))return a+1-t;if(u(s,i.Control|i.CR|i.LF))return a+1-t;if(!(u(n,i.L)&&u(s,i.L|i.V|i.LV|i.LVT)||u(n,i.LV|i.V)&&u(s,i.V|i.T)||u(n,i.LVT|i.T)&&u(s,i.T)||u(s,i.Extend|i.ZWJ)||u(s,i.SpacingMark)||u(n,i.Prepend)||r===h)){if(!u(n,i.Regional_Indicator)||!u(s,i.Regional_Indicator)||o%2!=0)return a+1-t;o++}}}return n-t}e.exports=function(e){const t=[],n=[0],i=[];for(let t=0;t<e.length;){const o=e.codePointAt(t);i.push(c.get(o)|l.get(o)),t+=o>65535?2:1,n.push(t)}for(let o=0;o<i.length;){const r=f(i,o),a=n[o],s=n[o+r];t.push(e.slice(a,s)),o+=r}return t}},4964:e=>{e.exports={Other:0,CR:1,LF:2,Control:4,Extend:8,ZWJ:16,Regional_Indicator:32,Prepend:64,SpacingMark:128,L:256,V:512,T:1024,LV:2048,LVT:4096,Extended_Pictographic:8192}},83407:(e,t,n)=>{"use strict";n.d(t,{zR:()=>I,sC:()=>N});var i=n(41930),o=n.n(i),r=n(29597),a=n.n(r);function s(e){return"/"===e.charAt(0)}function c(e,t){for(var n=t,i=n+1,o=e.length;i<o;n+=1,i+=1)e[n]=e[i];e.pop()}const l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&s(e),r=t&&s(t),a=o||r;if(e&&s(e)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var l=void 0;if(i.length){var u=i[i.length-1];l="."===u||".."===u||""===u}else l=!1;for(var d=0,p=i.length;p>=0;p--){var h=i[p];"."===h?c(i,p):".."===h?(c(i,p),d++):d&&(c(i,p),d--)}if(!a)for(;d--;d)i.unshift("..");!a||""===i[0]||i[0]&&s(i[0])||i.unshift("");var f=i.join("/");return l&&"/"!==f.substr(-1)&&(f+="/"),f};"function"==typeof Symbol&&Symbol.iterator;var u=function(e){return"/"===e.charAt(0)?e:"/"+e},d=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},p=function(e){var t=e.pathname,n=e.search,i=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(o+="#"===i.charAt(0)?i:"#"+i),o},h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},f=function(e,t,n,i){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",n="",i="",o=t.indexOf("#");-1!==o&&(i=t.substr(o),t=t.substr(0,o));var r=t.indexOf("?");return-1!==r&&(n=t.substr(r),t=t.substr(0,r)),{pathname:t,search:"?"===n?"":n,hash:"#"===i?"":i}}(e),o.state=t):(void 0===(o=h({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=l(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o};const m=function(){var e=null,t=[];return{setPrompt:function(t){return o()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,i,r){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof i?i(a,r):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),r(!0)):r(!1!==a)}else r(!0)},appendListener:function(e){var n=!0,i=function(){n&&e.apply(void 0,arguments)};return t.push(i),function(){n=!1,t=t.filter((function(e){return e!==i}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];t.forEach((function(e){return e.apply(void 0,n)}))}}};var _=!("undefined"==typeof window||!window.document||!window.document.createElement),g=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},E=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},v=function(e,t){return t(window.confirm(e))},y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},S="popstate",T="hashchange",A=function(){try{return window.history.state||{}}catch(e){return{}}};const I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(_,"Browser history needs a DOM");var t,n,i=window.history,r=(-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,s=!(-1===window.navigator.userAgent.indexOf("Trident")),c=e.forceRefresh,l=void 0!==c&&c,h=e.getUserConfirmation,I=void 0===h?v:h,O=e.keyLength,C=void 0===O?6:O,R=e.basename?"/"===(n=u(e.basename)).charAt(n.length-1)?n.slice(0,-1):n:"",N=function(e){var t=e||{},n=t.key,i=t.state,r=window.location,a=r.pathname+r.search+r.hash;return o()(!R||d(a,R),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+R+'".'),R&&(a=function(e,t){return d(e,t)?e.substr(t.length):e}(a,R)),f(a,i,n)},P=function(){return Math.random().toString(36).substr(2,C)},L=m(),k=function(e){b(Y,e),Y.length=i.length,L.notifyListeners(Y.location,Y.action)},w=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||x(N(e.state))},D=function(){x(N(A()))},M=!1,x=function(e){if(M)M=!1,k();else{L.confirmTransitionTo(e,"POP",I,(function(t){t?k({action:"POP",location:e}):U(e)}))}},U=function(e){var t=Y.location,n=F.indexOf(t.key);-1===n&&(n=0);var i=F.indexOf(e.key);-1===i&&(i=0);var o=n-i;o&&(M=!0,H(o))},V=N(A()),F=[V.key],B=function(e){return R+p(e)},H=function(e){i.go(e)},G=0,W=function(e){1===(G+=e)?(g(window,S,w),s&&g(window,T,D)):0===G&&(E(window,S,w),s&&E(window,T,D))},j=!1,Y={length:i.length,action:"POP",location:V,createHref:B,push:function(e,t){o()(!("object"===(void 0===e?"undefined":y(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var n="PUSH",a=f(e,t,P(),Y.location);L.confirmTransitionTo(a,n,I,(function(e){if(e){var t=B(a),s=a.key,c=a.state;if(r)if(i.pushState({key:s,state:c},null,t),l)window.location.href=t;else{var u=F.indexOf(Y.location.key),d=F.slice(0,-1===u?0:u+1);d.push(a.key),F=d,k({action:n,location:a})}else o()(void 0===c,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}}))},replace:function(e,t){o()(!("object"===(void 0===e?"undefined":y(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var n="REPLACE",a=f(e,t,P(),Y.location);L.confirmTransitionTo(a,n,I,(function(e){if(e){var t=B(a),s=a.key,c=a.state;if(r)if(i.replaceState({key:s,state:c},null,t),l)window.location.replace(t);else{var u=F.indexOf(Y.location.key);-1!==u&&(F[u]=a.key),k({action:n,location:a})}else o()(void 0===c,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}}))},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=L.setPrompt(e);return j||(W(1),j=!0),function(){return j&&(j=!1,W(-1)),t()}},listen:function(e){var t=L.appendListener(e);return W(1),function(){W(-1),t()}}};return Y};Object.assign;var O="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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},R=function(e,t,n){return Math.min(Math.max(e,t),n)};const N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,i=void 0===n?["/"]:n,r=e.initialIndex,a=void 0===r?0:r,s=e.keyLength,c=void 0===s?6:s,l=m(),u=function(e){C(v,e),v.length=v.entries.length,l.notifyListeners(v.location,v.action)},d=function(){return Math.random().toString(36).substr(2,c)},h=R(a,0,i.length-1),_=i.map((function(e){return f(e,void 0,"string"==typeof e?d():e.key||d())})),g=p,E=function(e){var n=R(v.index+e,0,v.entries.length-1),i=v.entries[n];l.confirmTransitionTo(i,"POP",t,(function(e){e?u({action:"POP",location:i,index:n}):u()}))},v={length:_.length,action:"POP",location:_[h],index:h,entries:_,createHref:g,push:function(e,n){o()(!("object"===(void 0===e?"undefined":O(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i="PUSH",r=f(e,n,d(),v.location);l.confirmTransitionTo(r,i,t,(function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),u({action:i,location:r,index:t,entries:n})}}))},replace:function(e,n){o()(!("object"===(void 0===e?"undefined":O(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i="REPLACE",r=f(e,n,d(),v.location);l.confirmTransitionTo(r,i,t,(function(e){e&&(v.entries[v.index]=r,u({action:i,location:r}))}))},go:E,goBack:function(){return E(-1)},goForward:function(){return E(1)},canGo:function(e){var t=v.index+e;return t>=0&&t<v.entries.length},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return v}},31035:(e,t,n)=>{"use strict";var i=n(35959),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return i.isMemo(e)?a:s[e.$$typeof]||o}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(f){var o=h(n);o&&o!==f&&e(t,o,i)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=c(t),m=c(n),_=0;_<a.length;++_){var g=a[_];if(!(r[g]||i&&i[g]||m&&m[g]||s&&s[g])){var E=p(n,g);try{l(t,g,E)}catch(e){}}}}return t}},98615:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,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"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},65189:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="html",i="head",o="body",r=/<([a-zA-Z]+[0-9]?)/,a=/<head[^]*>/i,s=/<body[^]*>/i,c=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var d=new u;c=l=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();c=function(e,t){if(t){var n=p.documentElement.querySelector(t);return n&&(n.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var h,f="object"==typeof document&&document.createElement("template");f&&f.content&&(h=function(e){return f.innerHTML=e,f.content.childNodes}),t.default=function(e){var t,u,d=e.match(r),p=d&&d[1]?d[1].toLowerCase():"";switch(p){case n:var f=l(e);if(!a.test(e))null===(t=null==(_=f.querySelector(i))?void 0:_.parentNode)||void 0===t||t.removeChild(_);if(!s.test(e))null===(u=null==(_=f.querySelector(o))?void 0:_.parentNode)||void 0===u||u.removeChild(_);return f.querySelectorAll(n);case i:case o:var m=c(e).querySelectorAll(p);return s.test(e)&&a.test(e)?m[0].parentNode.childNodes:m;default:return h?h(e):(_=c(e,o).querySelector(o)).childNodes;var _}}},35466:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(65189)),r=n(85562),a=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),n=t?t[1]:void 0;return(0,r.formatDOM)((0,o.default)(e),null,n)}},85562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var i=n(42095),o=n(98615);function r(e){for(var t={},n=0,i=e.length;n<i;n++){var o=e[n];t[o.name]=o.value}return t}function a(e){var t=function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase());return t||e}t.formatAttributes=r,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var s,c=[],l=0,u=t.length;l<u;l++){var d=t[l];switch(d.nodeType){case 1:var p=a(d.nodeName);(s=new i.Element(p,r(d.attributes))).children=e("template"===p?d.content.childNodes:d.childNodes,s);break;case 3:s=new i.Text(d.nodeValue);break;case 8:s=new i.Comment(d.nodeValue);break;default:continue}var h=c[l-1]||null;h&&(h.next=s),s.parent=n,s.prev=h,s.next=null,c.push(s)}return o&&((s=new i.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=c[0]||null,s.parent=n,c.unshift(s),c[1]&&(c[1].prev=c[0])),c}},20886:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(67350),r=n(17588),a=n(88744),s=i(i({},o.namedReferences),{all:o.namedReferences.html5});function c(e,t,n){t.lastIndex=0;var i,o=t.exec(e);if(o){i="";var r=0;do{r!==o.index&&(i+=e.substring(r,o.index));var a=o[0];i+=n(a),r=o.index+a.length}while(o=t.exec(e));r!==e.length&&(i+=e.substring(r))}else i=e;return i}var l={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},u={mode:"specialChars",level:"all",numeric:"decimal"};t.encode=function(e,t){var n=void 0===t?u:t,i=n.mode,o=void 0===i?"specialChars":i,r=n.numeric,d=void 0===r?"decimal":r,p=n.level;if(!e)return"";var h=l[o],f=s[void 0===p?"all":p].characters,m="hexadecimal"===d;return c(e,h,(function(e){var t=f[e];if(!t){var n=e.length>1?a.getCodePoint(e,0):e.charCodeAt(0);t=(m?"&#x"+n.toString(16):"&#"+n)+";"}return t}))};var d={scope:"body",level:"all"},p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,h=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,f={xml:{strict:p,attribute:h,body:o.bodyRegExps.xml},html4:{strict:p,attribute:h,body:o.bodyRegExps.html4},html5:{strict:p,attribute:h,body:o.bodyRegExps.html5}},m=i(i({},f),{all:f.html5}),_=String.fromCharCode,g=_(65533),E={level:"all"};function v(e,t,n,i){var o=e,s=e[e.length-1];if(n&&"="===s)o=e;else if(i&&";"!==s)o=e;else{var c=t[e];if(c)o=c;else if("&"===e[0]&&"#"===e[1]){var l=e[2],u="x"==l||"X"==l?parseInt(e.substr(3),16):parseInt(e.substr(2));o=u>=1114111?g:u>65535?a.fromCodePoint(u):_(r.numericUnicodeMap[u]||u)}}return o}t.decodeEntity=function(e,t){var n=(void 0===t?E:t).level;return e?v(e,s[void 0===n?"all":n].entities,!1,!1):""},t.decode=function(e,t){var n=void 0===t?d:t,i=n.level,o=void 0===i?"all":i,r=n.scope,a=void 0===r?"xml"===o?"strict":"body":r;if(!e)return"";var l=m[o][a],u=s[o].entities,p="attribute"===a,h="strict"===a;return c(e,l,(function(e){return v(e,u,p,h)}))}},67350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},t.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ",ˆ:"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄",℘:"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А",𝔄:"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą",𝔸:"𝔸","":"⁡",Å:"Å",𝒜:"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β",𝔅:"𝔅",𝔹:"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒",ⅅ:"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯",𝒞:"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ",𝔇:"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄",ⅆ:"ⅆ",𝔻:"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧",𝒟:"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė",𝔈:"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę",𝔼:"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃",ⅇ:"ⅇ",Ф:"Ф",𝔉:"𝔉","◼":"◼","▪":"▪",𝔽:"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ",𝔊:"𝔊","⋙":"⋙",𝔾:"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳",𝒢:"𝒢","≫":"≫",Ъ:"Ъ",ˇ:"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī",ⅈ:"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į",𝕀:"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й",𝔍:"𝔍",𝕁:"𝕁",𝒥:"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К",𝔎:"𝔎",𝕂:"𝕂",𝒦:"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲",𝔏:"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶",𝕃:"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ",𝔐:"𝔐","∓":"∓",𝕄:"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
",𝔑:"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤",𝒩:"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő",𝔒:"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο",𝕆:"𝕆","“":"“","‘":"‘","⩔":"⩔",𝒪:"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П",𝔓:"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝",𝒫:"𝒫",Ψ:"Ψ",'"':""",𝔔:"𝔔",ℚ:"ℚ",𝒬:"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С",𝔖:"𝔖","↑":"↑",Σ:"Σ","∘":"∘",𝕊:"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔",𝒮:"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц","\t":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т",𝔗:"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈",𝕋:"𝕋","⃛":"⃛",𝒯:"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű",𝔘:"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų",𝕌:"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů",𝒰:"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ",𝔙:"𝔙",𝕍:"𝕍",𝒱:"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀",𝔚:"𝔚",𝕎:"𝕎",𝒲:"𝒲",𝔛:"𝔛",Ξ:"Ξ",𝕏:"𝕏",𝒳:"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы",𝔜:"𝔜",𝕐:"𝕐",𝒴:"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ",𝒵:"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ",𝔞:"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą",𝕒:"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å",𝒶:"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬",𝔟:"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐",𝕓:"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦",𝒷:"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢",𝔠:"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃",ˆ:"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭",𝕔:"𝕔","℗":"℗","↵":"↵","✗":"✗",𝒸:"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿",𝔡:"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$",𝕕:"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌",𝒹:"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒",𝔢:"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę",𝕖:"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε",ϵ:"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl",𝔣:"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ",𝕗:"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢",𝒻:"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔",𝔤:"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧",𝕘:"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹",𝔥:"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪",𝕙:"𝕙","―":"―",𝒽:"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡",𝔦:"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į",𝕚:"𝕚",ι:"ι","¿":"¿",𝒾:"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й",𝔧:"𝔧",ȷ:"ȷ",𝕛:"𝕛",𝒿:"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к",𝔨:"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ",𝕜:"𝕜",𝓀:"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼",𝔩:"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅",𝕝:"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹",𝓁:"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—",𝔪:"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧",𝕞:"𝕞",𝓂:"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨",𝔫:"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥",𝕟:"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸",𝓃:"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿",𝔬:"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶",𝕠:"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱",𝔭:"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕",𝕡:"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰",𝓅:"𝓅",ψ:"ψ"," ":" ",𝔮:"𝔮",𝕢:"𝕢","⁗":"⁗",𝓆:"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽",𝔯:"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆",𝕣:"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›",𝓇:"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶",𝔰:"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿",𝕤:"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀",𝓈:"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕",𝔱:"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱",𝕥:"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢",𝓉:"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾",𝔲:"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų",𝕦:"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹",𝓊:"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮",𝔳:"𝔳",𝕧:"𝕧",𝓋:"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙",℘:"℘",𝔴:"𝔴",𝕨:"𝕨",𝓌:"𝓌",𝔵:"𝔵",ξ:"ξ","⋻":"⋻",𝕩:"𝕩",𝓍:"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥",𝔶:"𝔶",ї:"ї",𝕪:"𝕪",𝓎:"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ",𝔷:"𝔷",ж:"ж","⇝":"⇝",𝕫:"𝕫",𝓏:"𝓏","":"‍","":"‌"}}}},17588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},88744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},14736:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(92913),o=n(90022),r=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function c(e){return i.possibleStandardNames[e]}t.default=function(e,t){void 0===e&&(e={});var n={},l=Boolean(e.type&&s[e.type]);for(var u in e){var d=e[u];if((0,i.isCustomAttribute)(u))n[u]=d;else{var p=u.toLowerCase(),h=c(p);if(h){var f=(0,i.getPropertyInfo)(h);switch(r.includes(h)&&a.includes(t)&&!l&&(h=c("default"+p)),n[h]=d,f&&f.type){case i.BOOLEAN:n[h]=!0;break;case i.OVERLOADED_BOOLEAN:""===d&&(n[h]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=d)}}return(0,o.setStyleProp)(e.style,n),n}},13564:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(30758),r=i(n(14736)),a=n(90022),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function c(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}t.default=function e(t,n){void 0===n&&(n={});for(var i=[],o="function"==typeof n.replace,l=n.transform||a.returnFirstArg,u=n.library||s,d=u.cloneElement,p=u.createElement,h=u.isValidElement,f=t.length,m=0;m<f;m++){var _=t[m];if(o){var g=n.replace(_,m);if(h(g)){f>1&&(g=d(g,{key:g.key||m})),i.push(l(g,_,m));continue}}if("text"!==_.type){var E=_,v={};c(E)?((0,a.setStyleProp)(E.attribs.style,E.attribs),v=E.attribs):E.attribs&&(v=(0,r.default)(E.attribs,E.name));var y=void 0;switch(_.type){case"script":case"style":_.children[0]&&(v.dangerouslySetInnerHTML={__html:_.children[0].data});break;case"tag":"textarea"===_.name&&_.children[0]?v.defaultValue=_.children[0].data:_.children&&_.children.length&&(y=e(_.children,n));break;default:continue}f>1&&(v.key=m),i.push(l(p(_.name,v,y),_,m))}else{var b=!_.data.trim().length;if(b&&_.parent&&!(0,a.canTextBeChildOfNode)(_.parent))continue;if(n.trim&&b)continue;i.push(l(_.data,_,m))}}return 1===i.length?i[0]:i}},8498:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0;var o=i(n(35466));t.htmlToDOM=o.default;var r=i(n(14736));t.attributesToProps=r.default;var a=i(n(13564));t.domToReact=a.default;var s=n(42095);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var c={lowerCaseAttributeNames:!1};t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,a.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||c),t):[]}},90022:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=t.setStyleProp=t.isCustomComponent=void 0;var o=n(30758),r=i(n(78783)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):Boolean(t&&"string"==typeof t.is)};var s={reactCompat:!0};t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,r.default)(e,s)}catch(e){t.style={}}else t.style={}},t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};t.returnFirstArg=function(e){return e}},6936:function(e,t,n){e.exports=function(e){"use strict";function t(e,t,i,o){return void 0===t&&(t={}),Object.keys(t).reduce((function(r,a){if(/^on.*/.test(a))return r;var s=a;/^(data|aria)-/.test(a)||0===i.filter((function(e){return e instanceof RegExp?e.test(a):e===a})).length&&(s=n(a));var c,l,u=o(e,s);if("style"===u.name)r[u.name]=(c=t.style,l={},c.split(";").filter((function(e){return""!==e.trim()})).forEach((function(e){var t,i=e.split(":");if(i.length>1){var o=function(e){return/^-ms-/.test(e)&&(e=e.substr(1)),e.startsWith("--")?e:n(e)}(i[0].trim()),r=(t=i.slice(1).join(":").trim(),/^\d+$/.test(t)?Number(t):t.replace(/'/g,'"'));l[o]=r}})),l);else{var d=t[a],p=""===d||String(d).toLowerCase()===s.toLowerCase();r[u.name]=u.isBoolean?p:d}return r}),{})}function n(e){return e.replace(/(-|:)(.)/g,(function(e,t,n){return n.toUpperCase()}))}e=e&&e.hasOwnProperty("default")?e.default:e;var i=["table","tbody","thead","tfoot","tr"],o={for:"htmlFor",class:"className",allowfullscreen:["allowFullScreen","allowFullscreen"],autocomplete:"autoComplete",autofocus:["autoFocus"],contenteditable:"contentEditable",spellcheck:"spellCheck",srcdoc:"srcDoc",srcset:"srcSet",itemscope:"itemScope",itemprop:"itemProp",itemtype:"itemType"};function r(e,t){var n=o[t],i=document.createElement(e);if(n)return{name:Array.isArray(n)?n[0]:n,isBoolean:a(i,Array.isArray(n)?n[1]||t:n)};for(var r in i)if(r.toLowerCase()===t.toLowerCase())return{name:r,isBoolean:a(i,r)};return{name:t,isBoolean:a(i,t)}}function a(e,t){return e.setAttribute(t,""),!0===e[t]||s.indexOf(t)>-1}var s=["itemScope"];function c(t,n,i,o){void 0===o&&(o=null);var r=i[t],a=i._;return r?e.createElement(r,n,o):a?a(t,n,o):e.createElement(t,n,o)}return function(e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new TypeError("Expected HTML string");var o=document.createElement("div");o.innerHTML=e.trim();var a=Array.from(o.childNodes).map((function(e,o){return function e(n,o,a){var s=a.transform||{},l=a.preserveAttributes||[],u=a.dangerouslySetChildren||["style"],d=s._;if(8===n.nodeType)return null;if(3===n.nodeType){var p=n.textContent;return d?d(p):p}for(var h={},f=n.attributes,m=0;m<f.length;m++)h[f[m].name]=f[m].value;h.key=o.toString();var _=n.tagName.toLowerCase(),g=t(_,h,l,r),E=Array.from(n.childNodes).map((function(t,n){return i.indexOf(_)>-1&&3===t.nodeType&&(t.textContent=t.textContent.trim(),""===t.textContent)?null:e(t,o+"."+n,a)})).filter(Boolean);if(u.indexOf(_)>-1){var v=n.innerHTML;return v&&("style"!==_&&"script"!==_&&(v=v.replace(/"/g,""")),g.dangerouslySetInnerHTML={__html:v.trim()}),c(_,g,s)}var y=0===E.length?null:E;return c(_,g,s,y)}(e,String(o),n)})).filter(Boolean);return 1===a.length?a[0]:a}}(n(30758))},91771:(e,t,n)=>{"use strict";var i,o=n(76860)("http-errors"),r=n(74144),a=n(9216),s=n(56192),c=n(15237);function l(e){return Number(String(e).charAt(0)+"00")}function u(e,t){var n=Object.getOwnPropertyDescriptor(e,"name");n&&n.configurable&&(n.value=t,Object.defineProperty(e,"name",n))}function d(e){return"Error"!==e.substr(-5)?e+"Error":e}e.exports=function e(){for(var t,n,i=500,r={},s=0;s<arguments.length;s++){var c=arguments[s],u=typeof c;if("object"===u&&c instanceof Error)i=(t=c).status||t.statusCode||i;else if("number"===u&&0===s)i=c;else if("string"===u)n=c;else{if("object"!==u)throw new TypeError("argument #"+(s+1)+" unsupported type "+u);r=c}}"number"==typeof i&&(i<400||i>=600)&&o("non-error status code; use only 4xx or 5xx status codes");("number"!=typeof i||!a.message[i]&&(i<400||i>=600))&&(i=500);var d=e[i]||e[l(i)];t||(t=d?new d(n):new Error(n||a.message[i]),Error.captureStackTrace(t,e));d&&t instanceof d&&t.status===i||(t.expose=i<500,t.status=t.statusCode=i);for(var p in r)"status"!==p&&"statusCode"!==p&&(t[p]=r[p]);return t},e.exports.HttpError=function(){function e(){throw new TypeError("cannot construct abstract class")}return s(e,Error),e}(),e.exports.isHttpError=(i=e.exports.HttpError,function(e){return!(!e||"object"!=typeof e)&&(e instanceof i||e instanceof Error&&"boolean"==typeof e.expose&&"number"==typeof e.statusCode&&e.status===e.statusCode)}),function(e,t,n){t.forEach((function(t){var i,o=c(a.message[t]);switch(l(t)){case 400:i=function(e,t,n){var i=d(t);function o(e){var t=null!=e?e:a.message[n],s=new Error(t);return Error.captureStackTrace(s,o),r(s,o.prototype),Object.defineProperty(s,"message",{enumerable:!0,configurable:!0,value:t,writable:!0}),Object.defineProperty(s,"name",{enumerable:!1,configurable:!0,value:i,writable:!0}),s}return s(o,e),u(o,i),o.prototype.status=n,o.prototype.statusCode=n,o.prototype.expose=!0,o}(n,o,t);break;case 500:i=function(e,t,n){var i=d(t);function o(e){var t=null!=e?e:a.message[n],s=new Error(t);return Error.captureStackTrace(s,o),r(s,o.prototype),Object.defineProperty(s,"message",{enumerable:!0,configurable:!0,value:t,writable:!0}),Object.defineProperty(s,"name",{enumerable:!1,configurable:!0,value:i,writable:!0}),s}return s(o,e),u(o,i),o.prototype.status=n,o.prototype.statusCode=n,o.prototype.expose=!1,o}(n,o,t)}i&&(e[t]=i,e[o]=i)}))}(e.exports,a.codes,e.exports.HttpError)},77947:(e,t)=>{t.read=function(e,t,n,i,o){var r,a,s=8*o-i-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?o-1:0,p=n?-1:1,h=e[t+d];for(d+=p,r=h&(1<<-u)-1,h>>=-u,u+=s;u>0;r=256*r+e[t+d],d+=p,u-=8);for(a=r&(1<<-u)-1,r>>=-u,u+=i;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===r)r=1-l;else{if(r===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,i),r-=l}return(h?-1:1)*a*Math.pow(2,r-i)},t.write=function(e,t,n,i,o,r){var a,s,c,l=8*r-o-1,u=(1<<l)-1,d=u>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:r-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+d>=1?p/c:p*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*c-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&s,h+=f,s/=256,o-=8);for(a=a<<o|s,l+=o;l>0;e[n+h]=255&a,h+=f,a/=256,l-=8);e[n+h-f]|=128*m}},56192:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},70090:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,l="";function u(e){return e?e.replace(c,l):l}e.exports=function(e,c){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];c=c||{};var d=1,p=1;function h(e){var t=e.match(n);t&&(d+=t.length);var i=e.lastIndexOf("\n");p=~i?e.length-i:p+e.length}function f(){var e={line:d,column:p};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:d,column:p},this.source=c.source}m.prototype.content=e;var _=[];function g(t){var n=new Error(c.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=c.source,n.line=d,n.column=p,n.source=e,!c.silent)throw n;_.push(n)}function E(t){var n=t.exec(e);if(n){var i=n[0];return h(i),e=e.slice(i.length),n}}function v(){E(i)}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;l!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,l===e.charAt(n-1))return g("End of comment missing");var i=e.slice(2,n-2);return p+=2,h(i),e=e.slice(n),p+=2,t({type:"comment",comment:i})}}function S(){var e=f(),n=E(o);if(n){if(b(),!E(r))return g("property missing ':'");var i=E(a),c=e({type:"declaration",property:u(n[0].replace(t,l)),value:i?u(i[0].replace(t,l)):l});return E(s),c}}return v(),function(){var e,t=[];for(y(t);e=S();)!1!==e&&(t.push(e),y(t));return t}()}},56175:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Ce});var i,o,r,a=n(83422);function s(e){return e.type===o.literal}function c(e){return e.type===o.argument}function l(e){return e.type===o.number}function u(e){return e.type===o.date}function d(e){return e.type===o.time}function p(e){return e.type===o.select}function h(e){return e.type===o.plural}function f(e){return e.type===o.pound}function m(e){return e.type===o.tag}function _(e){return!(!e||"object"!=typeof e||e.type!==r.number)}function g(e){return!(!e||"object"!=typeof e||e.type!==r.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(i||(i={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(o||(o={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(r||(r={}));var E=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,v=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function y(e){var t={};return e.replace(v,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var b=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var S=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,T=/^(@+)?(\+|#+)?[rs]?$/g,A=/(\*)(0+)|(#+)(0+)|(0+)/g,I=/^(0+)$/;function O(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(T,(function(e,n,i){return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""})),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function R(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!I.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function N(e){var t=C(e);return t||{}}function P(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,a.__assign)((0,a.__assign)((0,a.__assign)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return(0,a.__assign)((0,a.__assign)({},e),N(t))}),{}));continue;case"engineering":t=(0,a.__assign)((0,a.__assign)((0,a.__assign)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return(0,a.__assign)((0,a.__assign)({},e),N(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(A,(function(e,n,i,o,r,a){if(n)t.minimumIntegerDigits=i.length;else{if(o&&r)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(I.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(S.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(S,(function(e,n,i,o,r,a){return"*"===i?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:r&&a?(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var r=o.options[0];"w"===r?t=(0,a.__assign)((0,a.__assign)({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=(0,a.__assign)((0,a.__assign)({},t),O(r)))}else if(T.test(o.stem))t=(0,a.__assign)((0,a.__assign)({},t),O(o.stem));else{var s=C(o.stem);s&&(t=(0,a.__assign)((0,a.__assign)({},t),s));var c=R(o.stem);c&&(t=(0,a.__assign)((0,a.__assign)({},t),c))}}return t}var L,k={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function w(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(k[n||""]||k[i||""]||k["".concat(i,"-001")]||k["001"])[0]}var D=new RegExp("^".concat(E.source,"*")),M=new RegExp("".concat(E.source,"*$"));function x(e,t){return{start:e,end:t}}var U=!!String.prototype.startsWith&&"_a".startsWith("a",1),V=!!String.fromCodePoint,F=!!Object.fromEntries,B=!!String.prototype.codePointAt,H=!!String.prototype.trimStart,G=!!String.prototype.trimEnd,W=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},j=!0;try{j="a"===(null===(L=Z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===L?void 0:L[0])}catch(e){j=!1}var Y,z=U?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},K=V?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",o=e.length,r=0;o>r;){if((n=e[r++])>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},J=F?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],a=o[1];t[r]=a}return t},q=B?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var i,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?o:i-56320+(o-55296<<10)+65536}},X=H?function(e){return e.trimStart()}:function(e){return e.replace(D,"")},$=G?function(e){return e.trimEnd()}:function(e){return e.replace(M,"")};function Z(e,t){return new RegExp(e,t)}if(j){var Q=Z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Y=function(e,t){var n;return Q.lastIndex=t,null!==(n=Q.exec(e)[1])&&void 0!==n?n:""}}else Y=function(e,t){for(var n=[];;){var i=q(e,t);if(void 0===i||ie(i)||oe(i))break;n.push(i),t+=i>=65536?2:1}return K.apply(void 0,n)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a=this.char();if(123===a){if((s=this.parseArgument(e,n)).err)return s;r.push(s.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(i.UNMATCHED_CLOSING_TAG,x(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&te(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var c=this.clonePosition();this.bump(),r.push({type:o.pound,location:x(c,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(r,"/>"),location:x(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!te(this.char()))return this.error(i.INVALID_TAG,x(c,this.clonePosition()));var l=this.clonePosition();return r!==this.parseTagName()?this.error(i.UNMATCHED_CLOSING_TAG,x(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:o.tag,value:r,children:s,location:x(n,this.clonePosition())},err:null}:this.error(i.INVALID_TAG,x(c,this.clonePosition())))}return this.error(i.UNCLOSED_TAG,x(n,this.clonePosition()))}return this.error(i.INVALID_TAG,x(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&ne(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{var a=this.tryParseUnquoted(e,t);if(a)i+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;i+=s}}}var c=x(n,this.clonePosition());return{val:{type:o.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return K.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),K(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(i.EMPTY_ARGUMENT,x(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(i.MALFORMED_ARGUMENT,x(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:r,location:x(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(i.MALFORMED_ARGUMENT,x(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Y(this.message,t),i=t+n.length;return this.bumpTo(i),{value:n,location:x(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var c,l=this.clonePosition(),u=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(u){case"":return this.error(i.EXPECT_ARGUMENT_TYPE,x(l,d));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((S=this.parseSimpleArgStyleIfPossible()).err)return S;if(0===(g=$(S.val)).length)return this.error(i.EXPECT_ARGUMENT_STYLE,x(this.clonePosition(),this.clonePosition()));p={style:g,styleLocation:x(h,this.clonePosition())}}if((T=this.tryParseArgumentClose(s)).err)return T;var f=x(s,this.clonePosition());if(p&&z(null==p?void 0:p.style,"::",0)){var m=X(p.style.slice(2));if("number"===u)return(S=this.parseNumberSkeletonFromString(m,p.styleLocation)).err?S:{val:{type:o.number,value:n,location:f,style:S.val},err:null};if(0===m.length)return this.error(i.EXPECT_DATE_TIME_SKELETON,f);var _=m;this.locale&&(_=function(e,t){for(var n="",i=0;i<e.length;i++){var o=e.charAt(i);if("j"===o){for(var r=0;i+1<e.length&&e.charAt(i+1)===o;)r++,i++;var a=1+(1&r),s=r<2?1:3+(r>>1),c=w(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=c+n}else n+="J"===o?"H":o}return n}(m,this.locale));var g={type:r.dateTime,pattern:_,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?y(_):{}};return{val:{type:"date"===u?o.date:o.time,value:n,location:f,style:g},err:null}}return{val:{type:"number"===u?o.number:"date"===u?o.date:o.time,value:n,location:f,style:null!==(c=null==p?void 0:p.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(i.EXPECT_SELECT_ARGUMENT_OPTIONS,x(E,(0,a.__assign)({},E)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),b=0;if("select"!==u&&"offset"===v.value){if(!this.bumpIf(":"))return this.error(i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x(this.clonePosition(),this.clonePosition()));var S;if(this.bumpSpace(),(S=this.tryParseDecimalInteger(i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return S;this.bumpSpace(),v=this.parseIdentifierIfPossible(),b=S.val}var T,A=this.tryParsePluralOrSelectOptions(e,u,t,v);if(A.err)return A;if((T=this.tryParseArgumentClose(s)).err)return T;var I=x(s,this.clonePosition());return"select"===u?{val:{type:o.select,value:n,options:J(A.val),location:I},err:null}:{val:{type:o.plural,value:n,options:J(A.val),offset:b,pluralType:"plural"===u?"cardinal":"ordinal",location:I},err:null};default:return this.error(i.INVALID_ARGUMENT_TYPE,x(l,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,x(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,x(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(b).filter((function(e){return e.length>0}));n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var r=o[0],a=o.slice(1),s=0,c=a;s<c.length;s++)if(0===c[s].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:a})}return t}(e)}catch(e){return this.error(i.INVALID_NUMBER_SKELETON,t)}return{val:{type:r.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?P(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,o){for(var r,a=!1,s=[],c=new Set,l=o.value,u=o.location;;){if(0===l.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(i.EXPECT_PLURAL_ARGUMENT_SELECTOR,i.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=x(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}if(c.has(l))return this.error("select"===t?i.DUPLICATE_SELECT_ARGUMENT_SELECTOR:i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,x(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var m=this.tryParseArgumentClose(h);if(m.err)return m;s.push([l,{value:f.val,location:x(h,this.clonePosition())}]),c.add(l),this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?i.EXPECT_SELECT_ARGUMENT_SELECTOR:i.EXPECT_PLURAL_ARGUMENT_SELECTOR,x(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(i.MISSING_OTHER_CLAUSE,x(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,r=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,r=10*r+(a-48),this.bump()}var s=x(i,this.clonePosition());return o?W(r*=n)?{val:r,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=q(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(z(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ie(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function ne(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function ie(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function oe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function re(e){e.forEach((function(e){if(delete e.location,p(e)||h(e))for(var t in e.options)delete e.options[t].location,re(e.options[t].value);else l(e)&&_(e.style)||(u(e)||d(e))&&g(e.style)?delete e.style.location:m(e)&&re(e.children)}))}function ae(e,t){void 0===t&&(t={}),t=(0,a.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ee(e,t).parse();if(n.err){var o=SyntaxError(i[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return(null==t?void 0:t.captureLocation)||re(n.val),n.val}function se(e,t){var n=t&&t.cache?t.cache:me,i=t&&t.serializer?t.serializer:pe;return(t&&t.strategy?t.strategy:de)(e,{cache:n,serializer:i})}function ce(e,t,n,i){var o,r=null==(o=i)||"number"==typeof o||"boolean"==typeof o?i:n(i),a=t.get(r);return void 0===a&&(a=e.call(this,i),t.set(r,a)),a}function le(e,t,n){var i=Array.prototype.slice.call(arguments,3),o=n(i),r=t.get(o);return void 0===r&&(r=e.apply(this,i),t.set(o,r)),r}function ue(e,t,n,i,o){return n.bind(t,e,i,o)}function de(e,t){return ue(e,this,1===e.length?ce:le,t.cache.create(),t.serializer)}var pe=function(){return JSON.stringify(arguments)};function he(){this.cache=Object.create(null)}he.prototype.get=function(e){return this.cache[e]},he.prototype.set=function(e,t){this.cache[e]=t};var fe,me={create:function(){return new he}},_e={variadic:function(e,t){return ue(e,this,le,t.cache.create(),t.serializer)},monadic:function(e,t){return ue(e,this,ce,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(fe||(fe={}));var ge,Ee=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=i,o}return(0,a.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ve=function(e){function t(t,n,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),fe.INVALID_VALUE,o)||this}return(0,a.__extends)(t,e),t}(Ee),ye=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),fe.INVALID_VALUE,i)||this}return(0,a.__extends)(t,e),t}(Ee),be=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),fe.MISSING_VALUE,n)||this}return(0,a.__extends)(t,e),t}(Ee);function Se(e){return"function"==typeof e}function Te(e,t,n,i,o,r,a){if(1===e.length&&s(e[0]))return[{type:ge.literal,value:e[0].value}];for(var E=[],v=0,y=e;v<y.length;v++){var b=y[v];if(s(b))E.push({type:ge.literal,value:b.value});else if(f(b))"number"==typeof r&&E.push({type:ge.literal,value:n.getNumberFormat(t).format(r)});else{var S=b.value;if(!o||!(S in o))throw new be(S,a);var T=o[S];if(c(b))T&&"string"!=typeof T&&"number"!=typeof T||(T="string"==typeof T||"number"==typeof T?String(T):""),E.push({type:"string"==typeof T?ge.literal:ge.object,value:T});else if(u(b)){var A="string"==typeof b.style?i.date[b.style]:g(b.style)?b.style.parsedOptions:void 0;E.push({type:ge.literal,value:n.getDateTimeFormat(t,A).format(T)})}else if(d(b)){A="string"==typeof b.style?i.time[b.style]:g(b.style)?b.style.parsedOptions:i.time.medium;E.push({type:ge.literal,value:n.getDateTimeFormat(t,A).format(T)})}else if(l(b)){(A="string"==typeof b.style?i.number[b.style]:_(b.style)?b.style.parsedOptions:void 0)&&A.scale&&(T*=A.scale||1),E.push({type:ge.literal,value:n.getNumberFormat(t,A).format(T)})}else{if(m(b)){var I=b.children,O=b.value,C=o[O];if(!Se(C))throw new ye(O,"function",a);var R=C(Te(I,t,n,i,o,r).map((function(e){return e.value})));Array.isArray(R)||(R=[R]),E.push.apply(E,R.map((function(e){return{type:"string"==typeof e?ge.literal:ge.object,value:e}})))}if(p(b)){if(!(N=b.options[T]||b.options.other))throw new ve(b.value,T,Object.keys(b.options),a);E.push.apply(E,Te(N.value,t,n,i,o))}else if(h(b)){var N;if(!(N=b.options["=".concat(T)])){if(!Intl.PluralRules)throw new Ee('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',fe.MISSING_INTL_API,a);var P=n.getPluralRules(t,{type:b.pluralType}).select(T-(b.offset||0));N=b.options[P]||b.options.other}if(!N)throw new ve(b.value,T,Object.keys(b.options),a);E.push.apply(E,Te(N.value,t,n,i,o,T-(b.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===ge.literal&&t.type===ge.literal?n.value+=t.value:e.push(t),e}),[])}(E)}function Ae(e,t){return t?Object.keys(e).reduce((function(n,i){var o,r;return n[i]=(o=e[i],(r=t[i])?(0,a.__assign)((0,a.__assign)((0,a.__assign)({},o||{}),r||{}),Object.keys(o).reduce((function(e,t){return e[t]=(0,a.__assign)((0,a.__assign)({},o[t]),r[t]||{}),e}),{})):o),n}),(0,a.__assign)({},e)):e}function Ie(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(ge||(ge={}));var Oe=function(){function e(t,n,i,o){var r,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===ge.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Te(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=s.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var c=o||{},l=(c.formatters,(0,a.__rest)(c,["formatters"]));this.ast=e.__parse(t,(0,a.__assign)((0,a.__assign)({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ae(e.formats,i),this.formatters=o&&o.formatters||(void 0===(r=this.formatterCache)&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:se((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,a.__spreadArray)([void 0],t,!1)))}),{cache:Ie(r.number),strategy:_e.variadic}),getDateTimeFormat:se((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,a.__spreadArray)([void 0],t,!1)))}),{cache:Ie(r.dateTime),strategy:_e.variadic}),getPluralRules:se((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,a.__spreadArray)([void 0],t,!1)))}),{cache:Ie(r.pluralRules),strategy:_e.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=ae,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Ce=Oe},29597:e=>{"use strict";e.exports=function(e,t,n,i,o,r,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,i,o,r,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},48336:e=>{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},80686:function(e,t,n){var i=n(84686).hp;"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g&&n.g,e.exports=function(){"use strict";var e,t="3.7.2",n=t,o="function"==typeof atob,r="function"==typeof btoa,a="function"==typeof i,s="function"==typeof TextDecoder?new TextDecoder:void 0,c="function"==typeof TextEncoder?new TextEncoder:void 0,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=Array.prototype.slice.call(l),d=(e={},u.forEach((function(t,n){return e[t]=n})),e),p=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,h=String.fromCharCode.bind(String),f="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e,t){return void 0===t&&(t=function(e){return e}),new Uint8Array(Array.prototype.slice.call(e,0).map(t))},m=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"}))},_=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},g=function(e){for(var t,n,i,o,r="",a=e.length%3,s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255||(o=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");r+=u[(t=n<<16|i<<8|o)>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}return a?r.slice(0,a-3)+"===".substring(a):r},E=r?function(e){return btoa(e)}:a?function(e){return i.from(e,"binary").toString("base64")}:g,v=a?function(e){return i.from(e).toString("base64")}:function(e){for(var t=4096,n=[],i=0,o=e.length;i<o;i+=t)n.push(h.apply(null,e.subarray(i,i+t)));return E(n.join(""))},y=function(e,t){return void 0===t&&(t=!1),t?m(v(e)):v(e)},b=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?h(192|t>>>6)+h(128|63&t):h(224|t>>>12&15)+h(128|t>>>6&63)+h(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return h(240|t>>>18&7)+h(128|t>>>12&63)+h(128|t>>>6&63)+h(128|63&t)},S=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,T=function(e){return e.replace(S,b)},A=a?function(e){return i.from(e,"utf8").toString("base64")}:c?function(e){return v(c.encode(e))}:function(e){return E(T(e))},I=function(e,t){return void 0===t&&(t=!1),t?m(A(e)):A(e)},O=function(e){return I(e,!0)},C=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,R=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return h(55296+(t>>>10))+h(56320+(1023&t));case 3:return h((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return h((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},N=function(e){return e.replace(C,R)},P=function(e){if(e=e.replace(/\s+/g,""),!p.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));for(var t,n,i,o="",r=0;r<e.length;)t=d[e.charAt(r++)]<<18|d[e.charAt(r++)]<<12|(n=d[e.charAt(r++)])<<6|(i=d[e.charAt(r++)]),o+=64===n?h(t>>16&255):64===i?h(t>>16&255,t>>8&255):h(t>>16&255,t>>8&255,255&t);return o},L=o?function(e){return atob(_(e))}:a?function(e){return i.from(e,"base64").toString("binary")}:P,k=a?function(e){return f(i.from(e,"base64"))}:function(e){return f(L(e),(function(e){return e.charCodeAt(0)}))},w=function(e){return k(M(e))},D=a?function(e){return i.from(e,"base64").toString("utf8")}:s?function(e){return s.decode(k(e))}:function(e){return N(L(e))},M=function(e){return _(e.replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})))},x=function(e){return D(M(e))},U=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},V=function(){var e=function(e,t){return Object.defineProperty(String.prototype,e,U(t))};e("fromBase64",(function(){return x(this)})),e("toBase64",(function(e){return I(this,e)})),e("toBase64URI",(function(){return I(this,!0)})),e("toBase64URL",(function(){return I(this,!0)})),e("toUint8Array",(function(){return w(this)}))},F=function(){var e=function(e,t){return Object.defineProperty(Uint8Array.prototype,e,U(t))};e("toBase64",(function(e){return y(this,e)})),e("toBase64URI",(function(){return y(this,!0)})),e("toBase64URL",(function(){return y(this,!0)}))},B=function(){V(),F()},H={version:t,VERSION:n,atob:L,atobPolyfill:P,btoa:E,btoaPolyfill:g,fromBase64:x,toBase64:I,encode:I,encodeURI:O,encodeURL:O,utob:T,btou:N,decode:x,isValid:function(e){if("string"!=typeof e)return!1;var t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:y,toUint8Array:w,extendString:V,extendUint8Array:F,extendBuiltins:B,Base64:{}};return Object.keys(H).forEach((function(e){return H.Base64[e]=H[e]})),H}()},55569:(e,t,n)=>{var i,o=n(68558);!function(){"use strict";var t="input is invalid type",r="object"==typeof window,a=r?window:{};a.JS_MD5_NO_WINDOW&&(r=!1);var s=!r&&"object"==typeof self,c=!a.JS_MD5_NO_NODE_JS&&"object"==typeof o&&o.versions&&o.versions.node;c?a=n.g:s&&(a=self);var l,u=!a.JS_MD5_NO_COMMON_JS&&e.exports,d=n.amdO,p=!a.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,h="0123456789abcdef".split(""),f=[128,32768,8388608,-2147483648],m=[0,8,16,24],_=["hex","array","digest","buffer","arrayBuffer","base64"],g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),E=[];if(p){var v=new ArrayBuffer(68);l=new Uint8Array(v),E=new Uint32Array(v)}var y=Array.isArray;!a.JS_MD5_NO_NODE_JS&&y||(y=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var b=ArrayBuffer.isView;!p||!a.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&b||(b=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var S=function(e){var n=typeof e;if("string"===n)return[e,!0];if("object"!==n||null===e)throw new Error(t);if(p&&e.constructor===ArrayBuffer)return[new Uint8Array(e),!1];if(!y(e)&&!b(e))throw new Error(t);return[e,!1]},T=function(e){return function(t){return new O(!0).update(t)[e]()}},A=function(e){var i,o=n(15644),r=n(28333).Buffer;i=r.from&&!a.JS_MD5_NO_BUFFER_FROM?r.from:function(e){return new r(e)};return function(n){if("string"==typeof n)return o.createHash("md5").update(n,"utf8").digest("hex");if(null==n)throw new Error(t);return n.constructor===ArrayBuffer&&(n=new Uint8Array(n)),y(n)||b(n)||n.constructor===r?o.createHash("md5").update(i(n)).digest("hex"):e(n)}},I=function(e){return function(t,n){return new C(t,!0).update(n)[e]()}};function O(e){if(e)E[0]=E[16]=E[1]=E[2]=E[3]=E[4]=E[5]=E[6]=E[7]=E[8]=E[9]=E[10]=E[11]=E[12]=E[13]=E[14]=E[15]=0,this.blocks=E,this.buffer8=l;else if(p){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}function C(e,t){var n,i=S(e);if(e=i[0],i[1]){var o,r=[],a=e.length,s=0;for(n=0;n<a;++n)(o=e.charCodeAt(n))<128?r[s++]=o:o<2048?(r[s++]=192|o>>>6,r[s++]=128|63&o):o<55296||o>=57344?(r[s++]=224|o>>>12,r[s++]=128|o>>>6&63,r[s++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++n)),r[s++]=240|o>>>18,r[s++]=128|o>>>12&63,r[s++]=128|o>>>6&63,r[s++]=128|63&o);e=r}e.length>64&&(e=new O(!0).update(e).array());var c=[],l=[];for(n=0;n<64;++n){var u=e[n]||0;c[n]=92^u,l[n]=54^u}O.call(this,t),this.update(l),this.oKeyPad=c,this.inner=!0,this.sharedMemory=t}O.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t=S(e);e=t[0];for(var n,i,o=t[1],r=0,a=e.length,s=this.blocks,c=this.buffer8;r<a;){if(this.hashed&&(this.hashed=!1,s[0]=s[16],s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),o)if(p)for(i=this.start;r<a&&i<64;++r)(n=e.charCodeAt(r))<128?c[i++]=n:n<2048?(c[i++]=192|n>>>6,c[i++]=128|63&n):n<55296||n>=57344?(c[i++]=224|n>>>12,c[i++]=128|n>>>6&63,c[i++]=128|63&n):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++r)),c[i++]=240|n>>>18,c[i++]=128|n>>>12&63,c[i++]=128|n>>>6&63,c[i++]=128|63&n);else for(i=this.start;r<a&&i<64;++r)(n=e.charCodeAt(r))<128?s[i>>>2]|=n<<m[3&i++]:n<2048?(s[i>>>2]|=(192|n>>>6)<<m[3&i++],s[i>>>2]|=(128|63&n)<<m[3&i++]):n<55296||n>=57344?(s[i>>>2]|=(224|n>>>12)<<m[3&i++],s[i>>>2]|=(128|n>>>6&63)<<m[3&i++],s[i>>>2]|=(128|63&n)<<m[3&i++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++r)),s[i>>>2]|=(240|n>>>18)<<m[3&i++],s[i>>>2]|=(128|n>>>12&63)<<m[3&i++],s[i>>>2]|=(128|n>>>6&63)<<m[3&i++],s[i>>>2]|=(128|63&n)<<m[3&i++]);else if(p)for(i=this.start;r<a&&i<64;++r)c[i++]=e[r];else for(i=this.start;r<a&&i<64;++r)s[i>>>2]|=e[r]<<m[3&i++];this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},O.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>>2]|=f[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},O.prototype.hash=function(){var e,t,n,i,o,r,a=this.blocks;this.first?t=((t=((e=((e=a[0]-680876937)<<7|e>>>25)-271733879<<0)^(n=((n=(-271733879^(i=((i=(-1732584194^2004318071&e)+a[1]-117830708)<<12|i>>>20)+e<<0)&(-271733879^e))+a[2]-1126478375)<<17|n>>>15)+i<<0)&(i^e))+a[3]-1316259209)<<22|t>>>10)+n<<0:(e=this.h0,t=this.h1,n=this.h2,t=((t+=((e=((e+=((i=this.h3)^t&(n^i))+a[0]-680876936)<<7|e>>>25)+t<<0)^(n=((n+=(t^(i=((i+=(n^e&(t^n))+a[1]-389564586)<<12|i>>>20)+e<<0)&(e^t))+a[2]+606105819)<<17|n>>>15)+i<<0)&(i^e))+a[3]-1044525330)<<22|t>>>10)+n<<0),t=((t+=((e=((e+=(i^t&(n^i))+a[4]-176418897)<<7|e>>>25)+t<<0)^(n=((n+=(t^(i=((i+=(n^e&(t^n))+a[5]+1200080426)<<12|i>>>20)+e<<0)&(e^t))+a[6]-1473231341)<<17|n>>>15)+i<<0)&(i^e))+a[7]-45705983)<<22|t>>>10)+n<<0,t=((t+=((e=((e+=(i^t&(n^i))+a[8]+1770035416)<<7|e>>>25)+t<<0)^(n=((n+=(t^(i=((i+=(n^e&(t^n))+a[9]-1958414417)<<12|i>>>20)+e<<0)&(e^t))+a[10]-42063)<<17|n>>>15)+i<<0)&(i^e))+a[11]-1990404162)<<22|t>>>10)+n<<0,t=((t+=((e=((e+=(i^t&(n^i))+a[12]+1804603682)<<7|e>>>25)+t<<0)^(n=((n+=(t^(i=((i+=(n^e&(t^n))+a[13]-40341101)<<12|i>>>20)+e<<0)&(e^t))+a[14]-1502002290)<<17|n>>>15)+i<<0)&(i^e))+a[15]+1236535329)<<22|t>>>10)+n<<0,t=((t+=((i=((i+=(t^n&((e=((e+=(n^i&(t^n))+a[1]-165796510)<<5|e>>>27)+t<<0)^t))+a[6]-1069501632)<<9|i>>>23)+e<<0)^e&((n=((n+=(e^t&(i^e))+a[11]+643717713)<<14|n>>>18)+i<<0)^i))+a[0]-373897302)<<20|t>>>12)+n<<0,t=((t+=((i=((i+=(t^n&((e=((e+=(n^i&(t^n))+a[5]-701558691)<<5|e>>>27)+t<<0)^t))+a[10]+38016083)<<9|i>>>23)+e<<0)^e&((n=((n+=(e^t&(i^e))+a[15]-660478335)<<14|n>>>18)+i<<0)^i))+a[4]-405537848)<<20|t>>>12)+n<<0,t=((t+=((i=((i+=(t^n&((e=((e+=(n^i&(t^n))+a[9]+568446438)<<5|e>>>27)+t<<0)^t))+a[14]-1019803690)<<9|i>>>23)+e<<0)^e&((n=((n+=(e^t&(i^e))+a[3]-187363961)<<14|n>>>18)+i<<0)^i))+a[8]+1163531501)<<20|t>>>12)+n<<0,t=((t+=((i=((i+=(t^n&((e=((e+=(n^i&(t^n))+a[13]-1444681467)<<5|e>>>27)+t<<0)^t))+a[2]-51403784)<<9|i>>>23)+e<<0)^e&((n=((n+=(e^t&(i^e))+a[7]+1735328473)<<14|n>>>18)+i<<0)^i))+a[12]-1926607734)<<20|t>>>12)+n<<0,t=((t+=((r=(i=((i+=((o=t^n)^(e=((e+=(o^i)+a[5]-378558)<<4|e>>>28)+t<<0))+a[8]-2022574463)<<11|i>>>21)+e<<0)^e)^(n=((n+=(r^t)+a[11]+1839030562)<<16|n>>>16)+i<<0))+a[14]-35309556)<<23|t>>>9)+n<<0,t=((t+=((r=(i=((i+=((o=t^n)^(e=((e+=(o^i)+a[1]-1530992060)<<4|e>>>28)+t<<0))+a[4]+1272893353)<<11|i>>>21)+e<<0)^e)^(n=((n+=(r^t)+a[7]-155497632)<<16|n>>>16)+i<<0))+a[10]-1094730640)<<23|t>>>9)+n<<0,t=((t+=((r=(i=((i+=((o=t^n)^(e=((e+=(o^i)+a[13]+681279174)<<4|e>>>28)+t<<0))+a[0]-358537222)<<11|i>>>21)+e<<0)^e)^(n=((n+=(r^t)+a[3]-722521979)<<16|n>>>16)+i<<0))+a[6]+76029189)<<23|t>>>9)+n<<0,t=((t+=((r=(i=((i+=((o=t^n)^(e=((e+=(o^i)+a[9]-640364487)<<4|e>>>28)+t<<0))+a[12]-421815835)<<11|i>>>21)+e<<0)^e)^(n=((n+=(r^t)+a[15]+530742520)<<16|n>>>16)+i<<0))+a[2]-995338651)<<23|t>>>9)+n<<0,t=((t+=((i=((i+=(t^((e=((e+=(n^(t|~i))+a[0]-198630844)<<6|e>>>26)+t<<0)|~n))+a[7]+1126891415)<<10|i>>>22)+e<<0)^((n=((n+=(e^(i|~t))+a[14]-1416354905)<<15|n>>>17)+i<<0)|~e))+a[5]-57434055)<<21|t>>>11)+n<<0,t=((t+=((i=((i+=(t^((e=((e+=(n^(t|~i))+a[12]+1700485571)<<6|e>>>26)+t<<0)|~n))+a[3]-1894986606)<<10|i>>>22)+e<<0)^((n=((n+=(e^(i|~t))+a[10]-1051523)<<15|n>>>17)+i<<0)|~e))+a[1]-2054922799)<<21|t>>>11)+n<<0,t=((t+=((i=((i+=(t^((e=((e+=(n^(t|~i))+a[8]+1873313359)<<6|e>>>26)+t<<0)|~n))+a[15]-30611744)<<10|i>>>22)+e<<0)^((n=((n+=(e^(i|~t))+a[6]-1560198380)<<15|n>>>17)+i<<0)|~e))+a[13]+1309151649)<<21|t>>>11)+n<<0,t=((t+=((i=((i+=(t^((e=((e+=(n^(t|~i))+a[4]-145523070)<<6|e>>>26)+t<<0)|~n))+a[11]-1120210379)<<10|i>>>22)+e<<0)^((n=((n+=(e^(i|~t))+a[2]+718787259)<<15|n>>>17)+i<<0)|~e))+a[9]-343485551)<<21|t>>>11)+n<<0,this.first?(this.h0=e+1732584193<<0,this.h1=t-271733879<<0,this.h2=n-1732584194<<0,this.h3=i+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+n<<0,this.h3=this.h3+i<<0)},O.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3;return h[e>>>4&15]+h[15&e]+h[e>>>12&15]+h[e>>>8&15]+h[e>>>20&15]+h[e>>>16&15]+h[e>>>28&15]+h[e>>>24&15]+h[t>>>4&15]+h[15&t]+h[t>>>12&15]+h[t>>>8&15]+h[t>>>20&15]+h[t>>>16&15]+h[t>>>28&15]+h[t>>>24&15]+h[n>>>4&15]+h[15&n]+h[n>>>12&15]+h[n>>>8&15]+h[n>>>20&15]+h[n>>>16&15]+h[n>>>28&15]+h[n>>>24&15]+h[i>>>4&15]+h[15&i]+h[i>>>12&15]+h[i>>>8&15]+h[i>>>20&15]+h[i>>>16&15]+h[i>>>28&15]+h[i>>>24&15]},O.prototype.toString=O.prototype.hex,O.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,i=this.h3;return[255&e,e>>>8&255,e>>>16&255,e>>>24&255,255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&n,n>>>8&255,n>>>16&255,n>>>24&255,255&i,i>>>8&255,i>>>16&255,i>>>24&255]},O.prototype.array=O.prototype.digest,O.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},O.prototype.buffer=O.prototype.arrayBuffer,O.prototype.base64=function(){for(var e,t,n,i="",o=this.array(),r=0;r<15;)e=o[r++],t=o[r++],n=o[r++],i+=g[e>>>2]+g[63&(e<<4|t>>>4)]+g[63&(t<<2|n>>>6)]+g[63&n];return e=o[r],i+=g[e>>>2]+g[e<<4&63]+"=="},C.prototype=new O,C.prototype.finalize=function(){if(O.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();O.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(e),O.prototype.finalize.call(this)}};var R=function(){var e=T("hex");c&&(e=A(e)),e.create=function(){return new O},e.update=function(t){return e.create().update(t)};for(var t=0;t<_.length;++t){var n=_[t];e[n]=T(n)}return e}();R.md5=R,R.md5.hmac=function(){var e=I("hex");e.create=function(e){return new C(e)},e.update=function(t,n){return e.create(t).update(n)};for(var t=0;t<_.length;++t){var n=_[t];e[n]=I(n)}return e}(),u?e.exports=R:(a.md5=R,d&&(void 0===(i=function(){return R}.call(R,n,R,e))||(e.exports=i)))}()},87252:e=>{e.exports=n;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function n(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function i(e){return!0===(e&&e.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=i;var o={},r={};function a(e,t){var n,i,a;return t?(a=0<=(e>>>=0)&&e<256)&&(i=r[e])?i:(n=c(e,(0|e)<0?-1:0,!0),a&&(r[e]=n),n):(a=-128<=(e|=0)&&e<128)&&(i=o[e])?i:(n=c(e,e<0?-1:0,!1),a&&(o[e]=n),n)}function s(e,t){if(isNaN(e))return t?g:_;if(t){if(e<0)return g;if(e>=h)return S}else{if(e<=-f)return T;if(e+1>=f)return b}return e<0?s(-e,t).neg():c(e%p|0,e/p|0,t)}function c(e,t,i){return new n(e,t,i)}n.fromInt=a,n.fromNumber=s,n.fromBits=c;var l=Math.pow;function u(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return _;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var i;if((i=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===i)return u(e.substring(1),t,n).neg();for(var o=s(l(n,8)),r=_,a=0;a<e.length;a+=8){var c=Math.min(8,e.length-a),d=parseInt(e.substring(a,a+c),n);if(c<8){var p=s(l(n,c));r=r.mul(p).add(s(d))}else r=(r=r.mul(o)).add(s(d))}return r.unsigned=t,r}function d(e,t){return"number"==typeof e?s(e,t):"string"==typeof e?u(e,t):c(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}n.fromString=u,n.fromValue=d;var p=4294967296,h=p*p,f=h/2,m=a(1<<24),_=a(0);n.ZERO=_;var g=a(0,!0);n.UZERO=g;var E=a(1);n.ONE=E;var v=a(1,!0);n.UONE=v;var y=a(-1);n.NEG_ONE=y;var b=c(-1,2147483647,!1);n.MAX_VALUE=b;var S=c(-1,-1,!0);n.MAX_UNSIGNED_VALUE=S;var T=c(0,-2147483648,!1);n.MIN_VALUE=T;var A=n.prototype;A.toInt=function(){return this.unsigned?this.low>>>0:this.low},A.toNumber=function(){return this.unsigned?(this.high>>>0)*p+(this.low>>>0):this.high*p+(this.low>>>0)},A.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(T)){var t=s(e),n=this.div(t),i=n.mul(t).sub(this);return n.toString(e)+i.toInt().toString(e)}return"-"+this.neg().toString(e)}for(var o=s(l(e,6),this.unsigned),r=this,a="";;){var c=r.div(o),u=(r.sub(c.mul(o)).toInt()>>>0).toString(e);if((r=c).isZero())return u+a;for(;u.length<6;)u="0"+u;a=""+u+a}},A.getHighBits=function(){return this.high},A.getHighBitsUnsigned=function(){return this.high>>>0},A.getLowBits=function(){return this.low},A.getLowBitsUnsigned=function(){return this.low>>>0},A.getNumBitsAbs=function(){if(this.isNegative())return this.eq(T)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high?t+33:t+1},A.isZero=function(){return 0===this.high&&0===this.low},A.eqz=A.isZero,A.isNegative=function(){return!this.unsigned&&this.high<0},A.isPositive=function(){return this.unsigned||this.high>=0},A.isOdd=function(){return 1==(1&this.low)},A.isEven=function(){return 0==(1&this.low)},A.equals=function(e){return i(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&(this.high===e.high&&this.low===e.low)},A.eq=A.equals,A.notEquals=function(e){return!this.eq(e)},A.neq=A.notEquals,A.ne=A.notEquals,A.lessThan=function(e){return this.comp(e)<0},A.lt=A.lessThan,A.lessThanOrEqual=function(e){return this.comp(e)<=0},A.lte=A.lessThanOrEqual,A.le=A.lessThanOrEqual,A.greaterThan=function(e){return this.comp(e)>0},A.gt=A.greaterThan,A.greaterThanOrEqual=function(e){return this.comp(e)>=0},A.gte=A.greaterThanOrEqual,A.ge=A.greaterThanOrEqual,A.compare=function(e){if(i(e)||(e=d(e)),this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},A.comp=A.compare,A.negate=function(){return!this.unsigned&&this.eq(T)?T:this.not().add(E)},A.neg=A.negate,A.add=function(e){i(e)||(e=d(e));var t=this.high>>>16,n=65535&this.high,o=this.low>>>16,r=65535&this.low,a=e.high>>>16,s=65535&e.high,l=e.low>>>16,u=0,p=0,h=0,f=0;return h+=(f+=r+(65535&e.low))>>>16,p+=(h+=o+l)>>>16,u+=(p+=n+s)>>>16,u+=t+a,c((h&=65535)<<16|(f&=65535),(u&=65535)<<16|(p&=65535),this.unsigned)},A.subtract=function(e){return i(e)||(e=d(e)),this.add(e.neg())},A.sub=A.subtract,A.multiply=function(e){if(this.isZero())return _;if(i(e)||(e=d(e)),t)return c(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return _;if(this.eq(T))return e.isOdd()?T:_;if(e.eq(T))return this.isOdd()?T:_;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(m)&&e.lt(m))return s(this.toNumber()*e.toNumber(),this.unsigned);var n=this.high>>>16,o=65535&this.high,r=this.low>>>16,a=65535&this.low,l=e.high>>>16,u=65535&e.high,p=e.low>>>16,h=65535&e.low,f=0,g=0,E=0,v=0;return E+=(v+=a*h)>>>16,g+=(E+=r*h)>>>16,E&=65535,g+=(E+=a*p)>>>16,f+=(g+=o*h)>>>16,g&=65535,f+=(g+=r*p)>>>16,g&=65535,f+=(g+=a*u)>>>16,f+=n*h+o*p+r*u+a*l,c((E&=65535)<<16|(v&=65535),(f&=65535)<<16|(g&=65535),this.unsigned)},A.mul=A.multiply,A.divide=function(e){if(i(e)||(e=d(e)),e.isZero())throw Error("division by zero");var n,o,r;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?c((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?g:_;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return g;if(e.gt(this.shru(1)))return v;r=g}else{if(this.eq(T))return e.eq(E)||e.eq(y)?T:e.eq(T)?E:(n=this.shr(1).div(e).shl(1)).eq(_)?e.isNegative()?E:y:(o=this.sub(e.mul(n)),r=n.add(o.div(e)));if(e.eq(T))return this.unsigned?g:_;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();r=_}for(o=this;o.gte(e);){n=Math.max(1,Math.floor(o.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(n)/Math.LN2),u=a<=48?1:l(2,a-48),p=s(n),h=p.mul(e);h.isNegative()||h.gt(o);)h=(p=s(n-=u,this.unsigned)).mul(e);p.isZero()&&(p=E),r=r.add(p),o=o.sub(h)}return r},A.div=A.divide,A.modulo=function(e){return i(e)||(e=d(e)),t?c((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},A.mod=A.modulo,A.rem=A.modulo,A.not=function(){return c(~this.low,~this.high,this.unsigned)},A.and=function(e){return i(e)||(e=d(e)),c(this.low&e.low,this.high&e.high,this.unsigned)},A.or=function(e){return i(e)||(e=d(e)),c(this.low|e.low,this.high|e.high,this.unsigned)},A.xor=function(e){return i(e)||(e=d(e)),c(this.low^e.low,this.high^e.high,this.unsigned)},A.shiftLeft=function(e){return i(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?c(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):c(0,this.low<<e-32,this.unsigned)},A.shl=A.shiftLeft,A.shiftRight=function(e){return i(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?c(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):c(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},A.shr=A.shiftRight,A.shiftRightUnsigned=function(e){if(i(e)&&(e=e.toInt()),0===(e&=63))return this;var t=this.high;return e<32?c(this.low>>>e|t<<32-e,t>>>e,this.unsigned):c(32===e?t:t>>>e-32,0,this.unsigned)},A.shru=A.shiftRightUnsigned,A.shr_u=A.shiftRightUnsigned,A.toSigned=function(){return this.unsigned?c(this.low,this.high,!1):this},A.toUnsigned=function(){return this.unsigned?this:c(this.low,this.high,!0)},A.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},A.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},A.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},n.fromBytes=function(e,t,i){return i?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},3899:()=>{},5460:()=>{},95104:()=>{},81465:()=>{},73075:(e,t,n)=>{var i;!function(o,r,a){if(o){for(var s,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p=1;p<20;++p)c[111+p]="f"+p;for(p=0;p<=9;++p)c[p+96]=p.toString();v.prototype.bind=function(e,t,n){var i=this;return e=e instanceof Array?e:[e],i._bindMultiple.call(i,e,t,n),i},v.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},v.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},v.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},v.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(E(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},v.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},v.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},v.init=function(){var e=v(r);for(var t in e)"_"!==t.charAt(0)&&(v[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},v.init(),o.Mousetrap=v,e.exports&&(e.exports=v),void 0===(i=function(){return v}.call(t,n,t,e))||(e.exports=i)}function h(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function f(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function m(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function _(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e,t){var n,i,o,r=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)i=n[o],d[i]&&(i=d[i]),t&&"keypress"!=t&&u[i]&&(i=u[i],r.push("shift")),m(i)&&r.push(i);return{key:i,modifiers:r,action:t=_(i,r,t)}}function E(e,t){return null!==e&&e!==r&&(e===t||E(e.parentNode,t))}function v(e){var t=this;if(e=e||r,!(t instanceof v))return new v(e);t.target=e,t._callbacks={},t._directMap={};var n,i={},o=!1,a=!1,s=!1;function c(e){e=e||{};var t,n=!1;for(t in i)e[t]?n=!0:i[t]=0;n||(s=!1)}function l(e,n,o,r,a,s){var c,l,u,d,p=[],h=o.type;if(!t._callbacks[e])return[];for("keyup"==h&&m(e)&&(n=[e]),c=0;c<t._callbacks[e].length;++c)if(l=t._callbacks[e][c],(r||!l.seq||i[l.seq]==l.level)&&h==l.action&&("keypress"==h&&!o.metaKey&&!o.ctrlKey||(u=n,d=l.modifiers,u.sort().join(",")===d.sort().join(",")))){var f=!r&&l.combo==a,_=r&&l.seq==r&&l.level==s;(f||_)&&t._callbacks[e].splice(c,1),p.push(l)}return p}function u(e,n,i,o){t.stopCallback(n,n.target||n.srcElement,i,o)||!1===e(n,i)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=f(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function p(e,t,r,a){function l(t){return function(){s=t,++i[e],clearTimeout(n),n=setTimeout(c,1e3)}}function d(t){u(r,t,e),"keyup"!==a&&(o=f(t)),setTimeout(c,10)}i[e]=0;for(var p=0;p<t.length;++p){var h=p+1===t.length?d:l(a||g(t[p+1]).action);_(t[p],h,a,e,p)}}function _(e,n,i,o,r){t._directMap[e+":"+i]=n;var a,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?p(e,s,n,i):(a=g(e,i),t._callbacks[a.key]=t._callbacks[a.key]||[],l(a.key,a.modifiers,{type:a.action},o,e,r),t._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:r,combo:e}))}t._handleKey=function(e,t,n){var i,o=l(e,t,n),r={},d=0,p=!1;for(i=0;i<o.length;++i)o[i].seq&&(d=Math.max(d,o[i].level));for(i=0;i<o.length;++i)if(o[i].seq){if(o[i].level!=d)continue;p=!0,r[o[i].seq]=1,u(o[i].callback,n,o[i].combo,o[i].seq)}else p||u(o[i].callback,n,o[i].combo);var h="keypress"==n.type&&a;n.type!=s||m(e)||h||c(r),a=p&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var i=0;i<e.length;++i)_(e[i],t,n)},h(e,"keypress",d),h(e,"keydown",d),h(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},93240:(e,t,n)=>{"use strict";n.d(t,{n:()=>Ge,eB:()=>x,mk:()=>Le,M8:()=>Pe,dh:()=>We});var i=n(30758),o=n(8143);function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}const a=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i};let s={data:""},c=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||s,l=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,u=/\/\*[^]*?\*\/| +/g,d=/\n+/g,p=(e,t)=>{let n="",i="",o="";for(let r in e){let a=e[r];"@"==r[0]?"i"==r[1]?n=r+" "+a+";":i+="f"==r[1]?p(a,r):r+"{"+p(a,"k"==r[1]?"":t)+"}":"object"==typeof a?i+=p(a,t?t.replace(/([^,])+/g,(e=>r.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):r):null!=a&&(r=/^--/.test(r)?r:r.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=p.p?p.p(r,a):r+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+i},h={},f=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+f(e[n]);return t}return e},m=(e,t,n,i,o)=>{let r=f(e),a=h[r]||(h[r]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(r));if(!h[a]){let t=r!==e?e:(e=>{let t,n,i=[{}];for(;t=l.exec(e.replace(u,""));)t[4]?i.shift():t[3]?(n=t[3].replace(d," ").trim(),i.unshift(i[0][n]=i[0][n]||{})):i[0][t[1]]=t[2].replace(d," ").trim();return i[0]})(e);h[a]=p(o?{["@keyframes "+a]:t}:t,n?"":"."+a)}let s=n&&h.g?h.g:null;return n&&(h.g=h[a]),((e,t,n,i)=>{i?t.data=t.data.replace(i,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(h[a],t,i,s),a},_=(e,t,n)=>e.reduce(((e,i,o)=>{let r=t[o];if(r&&r.call){let e=r(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;r=t?"."+t:e&&"object"==typeof e?e.props?"":p(e,""):!1===e?"":e}return e+i+(null==r?"":r)}),"");function g(e){let t=this||{},n=e.call?e(t.p):e;return m(n.unshift?n.raw?_(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,c(t.target),t.g,t.o,t.k)}g.bind({g:1}),g.bind({k:1});function E(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},y.apply(this,arguments)}function b(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function S(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var A=function(){return""},I=i.createContext({enqueueSnackbar:A,closeSnackbar:A}),O="@media (max-width:599.95px)",C="@media (min-width:600px)",R=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},N=function(e){return""+R(e.vertical)+R(e.horizontal)},P=function(e){return!!e||0===e},L="unmounted",k="exited",w="entering",D="entered",M="exiting",x=function(e){function t(t){var n;n=e.call(this,t)||this;var i,o=t.appear;return n.appearStatus=null,t.in?o?(i=k,n.appearStatus=w):i=D:i=t.unmountOnExit||t.mountOnEnter?L:k,n.state={status:i},n.nextCallback=null,n}b(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===L?{status:k}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==w&&n!==D&&(t=w):n!==w&&n!==D||(t=M)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=e,n=e;return null!=e&&"number"!=typeof e&&"string"!=typeof e&&(n=e.exit,t=e.enter),{exit:n,enter:t}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===w?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===k&&this.setState({status:L})},n.performEnter=function(e){var t=this,n=this.props.enter,i=e,o=this.getTimeouts();e||n?(this.props.onEnter&&this.props.onEnter(this.node,i),this.safeSetState({status:w},(function(){t.props.onEntering&&t.props.onEntering(t.node,i),t.onTransitionEnd(o.enter,(function(){t.safeSetState({status:D},(function(){t.props.onEntered&&t.props.onEntered(t.node,i)}))}))}))):this.safeSetState({status:D},(function(){t.props.onEntered&&t.props.onEntered(t.node,i)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts();t?(this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:M},(function(){e.props.onExiting&&e.props.onExiting(e.node),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:k},(function(){e.props.onExited&&e.props.onExited(e.node)}))}))}))):this.safeSetState({status:k},(function(){e.props.onExited&&e.props.onExited(e.node)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(){n&&(n=!1,t.nextCallback=null,e())},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=null==e&&!this.props.addEndListener;this.node&&!n?(this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===L)return null;var t=this.props;return(0,t.children)(e,S(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]))},v(t,[{key:"node",get:function(){var e,t=null===(e=this.props.nodeRef)||void 0===e?void 0:e.current;if(!t)throw new Error("notistack - Custom snackbar is not refForwarding");return t}}]),t}(i.Component);function U(){}function V(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function F(e,t){return(0,i.useMemo)((function(){return null==e&&null==t?null:function(n){V(e,n),V(t,n)}}),[e,t])}function B(e){var t=e.timeout,n=e.style,i=void 0===n?{}:n,o=e.mode;return{duration:"object"==typeof t?t[o]||0:t,easing:i.transitionTimingFunction,delay:i.transitionDelay}}x.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:U,onEntering:U,onEntered:U,onExit:U,onExiting:U,onExited:U};var H="cubic-bezier(0.4, 0, 0.2, 1)",G="cubic-bezier(0.0, 0, 0.2, 1)",W="cubic-bezier(0.4, 0, 0.6, 1)",j=function(e){e.scrollTop=e.scrollTop},Y=function(e){return Math.round(e)+"ms"};function z(e,t){void 0===e&&(e=["all"]);var n=t||{},i=n.duration,o=void 0===i?300:i,r=n.easing,a=void 0===r?H:r,s=n.delay,c=void 0===s?0:s;return(Array.isArray(e)?e:[e]).map((function(e){var t="string"==typeof o?o:Y(o),n="string"==typeof c?c:Y(c);return e+" "+t+" "+a+" "+n})).join(",")}function K(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t.defaultView||window}function J(e,t){if(t){var n=function(e,t){var n,i=t.getBoundingClientRect(),o=K(t);if(t.fakeTransform)n=t.fakeTransform;else{var r=o.getComputedStyle(t);n=r.getPropertyValue("-webkit-transform")||r.getPropertyValue("transform")}var a=0,s=0;if(n&&"none"!==n&&"string"==typeof n){var c=n.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),s=parseInt(c[5],10)}switch(e){case"left":return"translateX("+(o.innerWidth+a-i.left)+"px)";case"right":return"translateX(-"+(i.left+i.width-a)+"px)";case"up":return"translateY("+(o.innerHeight+s-i.top)+"px)";default:return"translateY(-"+(i.top+i.height-s)+"px)"}}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}}var q=(0,i.forwardRef)((function(e,t){var n=e.children,o=e.direction,r=void 0===o?"down":o,a=e.in,s=e.style,c=e.timeout,l=void 0===c?0:c,u=e.onEnter,d=e.onEntered,p=e.onExit,h=e.onExited,f=S(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),m=(0,i.useRef)(null),_=F(n.ref,m),g=F(_,t),E=(0,i.useCallback)((function(){m.current&&J(r,m.current)}),[r]);return(0,i.useEffect)((function(){if(!a&&"down"!==r&&"right"!==r){var e=function(e,t){var n;function i(){for(var i=this,o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){e.apply(i,r)}),t)}return void 0===t&&(t=166),i.clear=function(){clearTimeout(n)},i}((function(){m.current&&J(r,m.current)})),t=K(m.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[r,a]),(0,i.useEffect)((function(){a||E()}),[a,E]),(0,i.createElement)(x,Object.assign({appear:!0,nodeRef:m,onEnter:function(e,t){J(r,e),j(e),u&&u(e,t)},onEntered:d,onEntering:function(e){var t=(null==s?void 0:s.transitionTimingFunction)||G,n=B({timeout:l,mode:"enter",style:y({},s,{transitionTimingFunction:t})});e.style.webkitTransition=z("-webkit-transform",n),e.style.transition=z("transform",n),e.style.webkitTransform="none",e.style.transform="none"},onExit:function(e){var t=(null==s?void 0:s.transitionTimingFunction)||W,n=B({timeout:l,mode:"exit",style:y({},s,{transitionTimingFunction:t})});e.style.webkitTransition=z("-webkit-transform",n),e.style.transition=z("transform",n),J(r,e),p&&p(e)},onExited:function(e){e.style.webkitTransition="",e.style.transition="",h&&h(e)},in:a,timeout:l},f),(function(e,t){return(0,i.cloneElement)(n,y({ref:g,style:y({visibility:"exited"!==e||a?void 0:"hidden"},s,{},n.props.style)},t))}))}));q.displayName="Slide";var X=function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},e))},$=function(){return i.createElement(X,null,i.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41\n 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},Z=function(){return i.createElement(X,null,i.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},Q=function(){return i.createElement(X,null,i.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,\n 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,\n 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},ee=function(){return i.createElement(X,null,i.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,\n 0 22,12A10,10 0 0,0 12,2Z"}))},te={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:{default:void 0,success:i.createElement($,null),warning:i.createElement(Z,null),error:i.createElement(Q,null),info:i.createElement(ee,null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:q,transitionDuration:{enter:225,exit:195}},ne=function(e,t){return function(n,i){return void 0===i&&(i=!1),i?y({},te[n],{},t[n],{},e[n]):"autoHideDuration"===n?(o=e.autoHideDuration,r=t.autoHideDuration,(a=function(e){return"number"==typeof e||null===e})(o)?o:a(r)?r:te.autoHideDuration):"transitionDuration"===n?function(e,t){var n=function(e,t){return t.some((function(t){return typeof e===t}))};return n(e,["string","number"])?e:n(e,["object"])?y({},te.transitionDuration,{},n(t,["object"])&&t,{},e):n(t,["string","number"])?t:n(t,["object"])?y({},te.transitionDuration,{},t):te.transitionDuration}(e.transitionDuration,t.transitionDuration):e[n]||t[n]||te[n];var o,r,a}};function ie(e){return Object.entries(e).reduce((function(e,t){var n,i=t[0],o=t[1];return y({},e,((n={})[i]=g(o),n))}),{})}var oe="notistack-SnackbarContainer",re="notistack-Snackbar",ae="notistack-CollapseWrapper",se="notistack-MuiContent",ce=function(e){return"notistack-MuiContent-"+e},le=ie({root:{height:0},entered:{height:"auto"}}),ue="0px",de=(0,i.forwardRef)((function(e,t){var n=e.children,o=e.in,r=e.onExited,s=(0,i.useRef)(null),c=(0,i.useRef)(null),l=F(t,c),u=function(){return s.current?s.current.clientHeight:0};return(0,i.createElement)(x,{in:o,unmountOnExit:!0,onEnter:function(e){e.style.height=ue},onEntered:function(e){e.style.height="auto"},onEntering:function(e){var t=u(),n=B({timeout:175,mode:"enter"}),i=n.duration,o=n.easing;e.style.transitionDuration="string"==typeof i?i:i+"ms",e.style.height=t+"px",e.style.transitionTimingFunction=o||""},onExit:function(e){e.style.height=u()+"px"},onExited:r,onExiting:function(e){j(e);var t=B({timeout:175,mode:"exit"}),n=t.duration,i=t.easing;e.style.transitionDuration="string"==typeof n?n:n+"ms",e.style.height=ue,e.style.transitionTimingFunction=i||""},nodeRef:c,timeout:175},(function(e,t){return(0,i.createElement)("div",Object.assign({ref:l,className:a(le.root,"entered"===e&&le.entered),style:y({pointerEvents:"all",overflow:"hidden",minHeight:ue,transition:z("height")},"entered"===e&&{overflow:"visible"},{},"exited"===e&&!o&&{visibility:"hidden"})},t),(0,i.createElement)("div",{ref:s,className:ae,style:{display:"flex",width:"100%"}},n))}))}));de.displayName="Collapse";var pe={right:"left",left:"right",bottom:"up",top:"down"},he=function(e){return"anchorOrigin"+N(e)},fe=function(){};function me(e,t){return e.reduce((function(e,n){return null==n?e:function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var a=[].concat(o);t&&-1===a.indexOf(t)&&a.push(t),e.apply(this,a),n.apply(this,a)}}),fe)}var _e="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function ge(e){var t=(0,i.useRef)(e);return _e((function(){t.current=e})),(0,i.useCallback)((function(){return t.current.apply(void 0,arguments)}),[])}var Ee,ve=(0,i.forwardRef)((function(e,t){var n=e.children,o=e.className,r=e.autoHideDuration,s=e.disableWindowBlurListener,c=void 0!==s&&s,l=e.onClose,u=e.id,d=e.open,p=e.SnackbarProps,h=void 0===p?{}:p,f=(0,i.useRef)(),m=ge((function(){l&&l.apply(void 0,arguments)})),_=ge((function(e){l&&null!=e&&(f.current&&clearTimeout(f.current),f.current=setTimeout((function(){m(null,"timeout",u)}),e))}));(0,i.useEffect)((function(){return d&&_(r),function(){f.current&&clearTimeout(f.current)}}),[d,r,_]);var g=function(){f.current&&clearTimeout(f.current)},E=(0,i.useCallback)((function(){null!=r&&_(.5*r)}),[r,_]);return(0,i.useEffect)((function(){if(!c&&d)return window.addEventListener("focus",E),window.addEventListener("blur",g),function(){window.removeEventListener("focus",E),window.removeEventListener("blur",g)}}),[c,E,d]),(0,i.createElement)("div",Object.assign({ref:t},h,{className:a(re,o),onMouseEnter:function(e){h.onMouseEnter&&h.onMouseEnter(e),g()},onMouseLeave:function(e){h.onMouseLeave&&h.onMouseLeave(e),E()}}),n)}));ve.displayName="Snackbar";var ye=ie({root:(Ee={display:"flex",flexWrap:"wrap",flexGrow:1},Ee[C]={flexGrow:"initial",minWidth:"288px"},Ee)}),be=(0,i.forwardRef)((function(e,t){var n=e.className,o=S(e,["className"]);return i.createElement("div",Object.assign({ref:t,className:a(ye.root,n)},o))}));be.displayName="SnackbarContent";var Se=ie({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:"20px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),Te="notistack-snackbar",Ae=(0,i.forwardRef)((function(e,t){var n=e.id,o=e.message,r=e.action,s=e.iconVariant,c=e.variant,l=e.hideIconVariant,u=e.style,d=e.className,p=s[c],h=r;return"function"==typeof h&&(h=h(n)),i.createElement(be,{ref:t,role:"alert","aria-describedby":Te,style:u,className:a(se,ce(c),Se.root,Se[c],d,!l&&p&&Se.lessPadding)},i.createElement("div",{id:Te,className:Se.message},l?null:p,o),h&&i.createElement("div",{className:Se.action},h))}));Ae.displayName="MaterialDesignContent";var Ie,Oe,Ce,Re,Ne,Pe,Le,ke=(0,i.memo)(Ae),we=ie({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),De=function(e){var t=(0,i.useRef)(),n=(0,i.useState)(!0),o=n[0],r=n[1],s=me([e.snack.onClose,e.onClose]),c=(0,i.useCallback)((function(){t.current=setTimeout((function(){r((function(e){return!e}))}),125)}),[]);(0,i.useEffect)((function(){return function(){t.current&&clearTimeout(t.current)}}),[]);var l,u=e.snack,d=e.classes,p=e.Component,h=void 0===p?ke:p,f=(0,i.useMemo)((function(){return function(e){void 0===e&&(e={});var t={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(e).filter((function(e){return!t[e]})).reduce((function(t,n){var i;return y({},t,((i={})[n]=e[n],i))}),{})}(d)}),[d]),m=u.open,_=u.SnackbarProps,g=u.TransitionComponent,E=u.TransitionProps,v=u.transitionDuration,b=u.disableWindowBlurListener,T=u.content,A=S(u,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),I=y({direction:(l=A.anchorOrigin,"center"!==l.horizontal?pe[l.horizontal]:pe[l.vertical]),timeout:v},E),O=T;"function"==typeof O&&(O=O(A.id,A.message));var C=["onEnter","onEntered","onExit","onExited"].reduce((function(t,n){var i;return y({},t,((i={})[n]=me([e.snack[n],e[n]],A.id),i))}),{});return i.createElement(de,{in:o,onExited:C.onExited},i.createElement(ve,{open:m,id:A.id,disableWindowBlurListener:b,autoHideDuration:A.autoHideDuration,className:a(we.wrappedRoot,f.root,f[he(A.anchorOrigin)]),SnackbarProps:_,onClose:s},i.createElement(g,Object.assign({},I,{appear:!0,in:m,onExit:C.onExit,onExited:c,onEnter:C.onEnter,onEntered:me([C.onEntered,function(){e.snack.requestClose&&s(null,"instructed",e.snack.id)}],A.id)}),O||i.createElement(h,Object.assign({},A)))))},Me={default:20,dense:4},xe={default:6,dense:2},Ue="."+ae,Ve=ie({root:(Ie={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:z(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},Ie[Ue]={padding:xe.default+"px 0px",transition:"padding 300ms ease 0ms"},Ie.maxWidth="calc(100% - "+2*Me.default+"px)",Ie[O]={width:"100%",maxWidth:"calc(100% - 32px)"},Ie),rootDense:(Oe={},Oe[Ue]={padding:xe.dense+"px 0px"},Oe),top:{top:Me.default-xe.default+"px",flexDirection:"column"},bottom:{bottom:Me.default-xe.default+"px",flexDirection:"column-reverse"},left:(Ce={left:Me.default+"px"},Ce[C]={alignItems:"flex-start"},Ce[O]={left:"16px"},Ce),right:(Re={right:Me.default+"px"},Re[C]={alignItems:"flex-end"},Re[O]={right:"16px"},Re),center:(Ne={left:"50%",transform:"translateX(-50%)"},Ne[C]={alignItems:"center"},Ne)}),Fe=function(e){var t=e.classes,n=void 0===t?{}:t,o=e.anchorOrigin,r=e.dense,s=e.children,c=a(oe,Ve[o.vertical],Ve[o.horizontal],Ve.root,n.containerRoot,n["containerAnchorOrigin"+N(o)],r&&Ve.rootDense);return i.createElement("div",{className:c},s)},Be=(0,i.memo)(Fe),He=function(e){return!("string"==typeof e||(0,i.isValidElement)(e))},Ge=function(e){function t(t){var n;return(Spicetify.Snackbar=n=e.call(this,t)||this).enqueueSnackbar=function(e,t){if(void 0===t&&(t={}),null==e)throw new Error("enqueueSnackbar called with invalid argument");var i=He(e)?e:t,o=He(e)?e.message:e,r=i.key,s=i.preventDuplicate,c=S(i,["key","preventDuplicate"]),l=P(r),u=l?r:(new Date).getTime()+Math.random(),d=ne(c,n.props),p=y({id:u},c,{message:o,open:!0,entered:!1,requestClose:!1,persist:d("persist"),action:d("action"),content:d("content"),variant:d("variant"),anchorOrigin:d("anchorOrigin"),disableWindowBlurListener:d("disableWindowBlurListener"),autoHideDuration:d("autoHideDuration"),hideIconVariant:d("hideIconVariant"),TransitionComponent:d("TransitionComponent"),transitionDuration:d("transitionDuration"),TransitionProps:d("TransitionProps",!0),iconVariant:d("iconVariant",!0),style:d("style",!0),SnackbarProps:d("SnackbarProps",!0),className:a(n.props.className,c.className)});return p.persist&&(p.autoHideDuration=void 0),n.setState((function(e){if(void 0===s&&n.props.preventDuplicate||s){var t=function(e){return l?e.id===u:e.message===o},i=e.queue.findIndex(t)>-1,r=e.snacks.findIndex(t)>-1;if(i||r)return e}return n.handleDisplaySnack(y({},e,{queue:[].concat(e.queue,[p])}))})),u},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?y({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some((function(e){return!e.open||e.requestClose})))return e;var t=!1,i=!1;e.snacks.reduce((function(e,t){return e+(t.open&&t.persist?1:0)}),0)===n.maxSnack&&(i=!0);var o=e.snacks.map((function(e){return t||e.persist&&!i?y({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,"maxsnack",e.id),n.props.onClose&&n.props.onClose(null,"maxsnack",e.id),y({},e,{open:!1})):y({},e,{requestClose:!0}))}));return y({},e,{snacks:o})},n.handleEnteredSnack=function(e,t,i){if(!P(i))throw new Error("handleEnteredSnack Cannot be called with undefined key");n.setState((function(e){return{snacks:e.snacks.map((function(e){return e.id===i?y({},e,{entered:!0}):y({},e)}))}}))},n.handleCloseSnack=function(e,t,i){n.props.onClose&&n.props.onClose(e,t,i);var o=void 0===i;n.setState((function(e){var t=e.snacks,n=e.queue;return{snacks:t.map((function(e){return o||e.id===i?e.entered?y({},e,{open:!1}):y({},e,{requestClose:!0}):y({},e)})),queue:n.filter((function(e){return e.id!==i}))}}))},n.closeSnackbar=function(e){var t=n.state.snacks.find((function(t){return t.id===e}));P(e)&&t&&t.onClose&&t.onClose(null,"instructed",e),n.handleCloseSnack(null,"instructed",e)},n.handleExitedSnack=function(e,t){if(!P(t))throw new Error("handleExitedSnack Cannot be called with undefined key");n.setState((function(e){var i=n.processQueue(y({},e,{snacks:e.snacks.filter((function(e){return e.id!==t}))}));return 0===i.queue.length?i:n.handleDismissOldest(i)}))},Pe=n.enqueueSnackbar,Le=n.closeSnackbar,n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar.bind(T(n)),closeSnackbar:n.closeSnackbar.bind(T(n))}},n}return b(t,e),t.prototype.render=function(){var e=this,t=this.state.contextValue,n=this.props,r=n.domRoot,a=n.children,s=n.dense,c=void 0!==s&&s,l=n.Components,u=void 0===l?{}:l,d=n.classes,p=this.state.snacks.reduce((function(e,t){var n,i=N(t.anchorOrigin),o=e[i]||[];return y({},e,((n={})[i]=[].concat(o,[t]),n))}),{}),h=Object.keys(p).map((function(t){var n=p[t],o=n[0];return i.createElement(Be,{key:t,dense:c,anchorOrigin:o.anchorOrigin,classes:d},n.map((function(t){return i.createElement(De,{key:t.id,snack:t,classes:d,Component:u[t.variant],onClose:e.handleCloseSnack,onEnter:e.props.onEnter,onExit:e.props.onExit,onExited:me([e.handleExitedSnack,e.props.onExited],t.id),onEntered:me([e.handleEnteredSnack,e.props.onEntered],t.id)})})))}));return i.createElement(I.Provider,{value:t},a,r?(0,o.createPortal)(h,r):h)},v(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||te.maxSnack}}]),t}(i.Component),We=function(){return(0,i.useContext)(I)}},68558:e=>{var t,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:r}catch(e){n=r}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u<t;)s&&s[u].run();u=-1,t=c.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===r||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},16186:(e,t,n)=>{"use strict";var i=n(62985);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,a){if(a!==i){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={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:r,resetWarningCache:o};return n.PropTypes=n,n}},2736:(e,t,n)=>{e.exports=n(16186)()},62985:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},24848:(e,t,n)=>{"use strict";e.exports=n(15948)},15948:(e,t,n)=>{"use strict";var i=t;function o(){i.util._configure(),i.Writer._configure(i.BufferWriter),i.Reader._configure(i.BufferReader)}i.build="minimal",i.Writer=n(12387),i.BufferWriter=n(97292),i.Reader=n(3619),i.BufferReader=n(80108),i.util=n(26736),i.rpc=n(67481),i.roots=n(33603),i.configure=o,o()},3619:(e,t,n)=>{"use strict";e.exports=c;var i,o=n(26736),r=o.LongBits,a=o.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function c(e){this.buf=e,this.pos=0,this.len=e.length}var l,u="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new c(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new c(e);throw Error("illegal buffer")},d=function(){return o.Buffer?function(e){return(c.create=function(e){return o.Buffer.isBuffer(e)?new i(e):u(e)})(e)}:u};function p(){var e=new r(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function h(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function f(){if(this.pos+8>this.len)throw s(this,8);return new r(h(this.buf,this.pos+=4),h(this.buf,this.pos+=4))}c.create=d(),c.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,c.prototype.uint32=(l=4294967295,function(){if(l=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return l;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return l}),c.prototype.int32=function(){return 0|this.uint32()},c.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},c.prototype.bool=function(){return 0!==this.uint32()},c.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return h(this.buf,this.pos+=4)},c.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|h(this.buf,this.pos+=4)},c.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},c.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},c.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw s(this,e);if(this.pos+=e,Array.isArray(this.buf))return this.buf.slice(t,n);if(t===n){var i=o.Buffer;return i?i.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,t,n)},c.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},c.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},c.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},c._configure=function(e){i=e,c.create=d(),i._configure();var t=o.Long?"toLong":"toNumber";o.merge(c.prototype,{int64:function(){return p.call(this)[t](!1)},uint64:function(){return p.call(this)[t](!0)},sint64:function(){return p.call(this).zzDecode()[t](!1)},fixed64:function(){return f.call(this)[t](!0)},sfixed64:function(){return f.call(this)[t](!1)}})}},80108:(e,t,n)=>{"use strict";e.exports=r;var i=n(3619);(r.prototype=Object.create(i.prototype)).constructor=r;var o=n(26736);function r(e){i.call(this,e)}r._configure=function(){o.Buffer&&(r.prototype._slice=o.Buffer.prototype.slice)},r.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},r._configure()},33603:e=>{"use strict";e.exports={}},67481:(e,t,n)=>{"use strict";t.Service=n(59889)},59889:(e,t,n)=>{"use strict";e.exports=o;var i=n(26736);function o(e,t,n){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");i.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(n)}(o.prototype=Object.create(i.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,n,o,r,a){if(!r)throw TypeError("request must be specified");var s=this;if(!a)return i.asPromise(e,s,t,n,o,r);if(s.rpcImpl)try{return s.rpcImpl(t,n[s.requestDelimited?"encodeDelimited":"encode"](r).finish(),(function(e,n){if(e)return s.emit("error",e,t),a(e);if(null!==n){if(!(n instanceof o))try{n=o[s.responseDelimited?"decodeDelimited":"decode"](n)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",n,t),a(null,n)}s.end(!0)}))}catch(e){return s.emit("error",e,t),void setTimeout((function(){a(e)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},29433:(e,t,n)=>{"use strict";e.exports=o;var i=n(26736);function o(e,t){this.lo=e>>>0,this.hi=t>>>0}var r=o.zero=new o(0,0);r.toNumber=function(){return 0},r.zzEncode=r.zzDecode=function(){return this},r.length=function(){return 1};var a=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return r;var t=e<0;t&&(e=-e);var n=e>>>0,i=(e-n)/4294967296>>>0;return t&&(i=~i>>>0,n=~n>>>0,++n>4294967295&&(n=0,++i>4294967295&&(i=0))),new o(n,i)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(i.isString(e)){if(!i.Long)return o.fromNumber(parseInt(e,10));e=i.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):r},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+4294967296*n)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return i.Long?new i.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;o.fromHash=function(e){return e===a?r:new o((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}},26736:function(e,t,n){"use strict";var i=t;function o(e,t,n){for(var i=Object.keys(t),o=0;o<i.length;++o)void 0!==e[i[o]]&&n||(e[i[o]]=t[i[o]]);return e}function r(e){function t(e,n){if(!(this instanceof t))return new t(e,n);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),n&&o(this,n)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return e},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}i.asPromise=n(68315),i.base64=n(72939),i.EventEmitter=n(25985),i.float=n(38424),i.inquire=n(47789),i.utf8=n(32025),i.pool=n(35057),i.LongBits=n(29433),i.isNode=Boolean(void 0!==n.g&&n.g&&n.g.process&&n.g.process.versions&&n.g.process.versions.node),i.global=i.isNode&&n.g||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,i.emptyArray=Object.freeze?Object.freeze([]):[],i.emptyObject=Object.freeze?Object.freeze({}):{},i.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},i.isString=function(e){return"string"==typeof e||e instanceof String},i.isObject=function(e){return e&&"object"==typeof e},i.isset=i.isSet=function(e,t){var n=e[t];return!(null==n||!e.hasOwnProperty(t))&&("object"!=typeof n||(Array.isArray(n)?n.length:Object.keys(n).length)>0)},i.Buffer=function(){try{var e=i.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),i._Buffer_from=null,i._Buffer_allocUnsafe=null,i.newBuffer=function(e){return"number"==typeof e?i.Buffer?i._Buffer_allocUnsafe(e):new i.Array(e):i.Buffer?i._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},i.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,i.Long=i.global.dcodeIO&&i.global.dcodeIO.Long||i.global.Long||i.inquire("long"),i.key2Re=/^true|false|0|1$/,i.key32Re=/^-?(?:0|[1-9][0-9]*)$/,i.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,i.longToHash=function(e){return e?i.LongBits.from(e).toHash():i.LongBits.zeroHash},i.longFromHash=function(e,t){var n=i.LongBits.fromHash(e);return i.Long?i.Long.fromBits(n.lo,n.hi,t):n.toNumber(Boolean(t))},i.merge=o,i.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},i.newError=r,i.ProtocolError=r("ProtocolError"),i.oneOfGetter=function(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=1;return function(){for(var e=Object.keys(this),n=e.length-1;n>-1;--n)if(1===t[e[n]]&&void 0!==this[e[n]]&&null!==this[e[n]])return e[n]}},i.oneOfSetter=function(e){return function(t){for(var n=0;n<e.length;++n)e[n]!==t&&delete this[e[n]]}},i.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},i._configure=function(){var e=i.Buffer;e?(i._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,n){return new e(t,n)},i._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}):i._Buffer_from=i._Buffer_allocUnsafe=null}},12387:(e,t,n)=>{"use strict";e.exports=d;var i,o=n(26736),r=o.LongBits,a=o.base64,s=o.utf8;function c(e,t,n){this.fn=e,this.len=t,this.next=void 0,this.val=n}function l(){}function u(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function d(){this.len=0,this.head=new c(l,0,0),this.tail=this.head,this.states=null}var p=function(){return o.Buffer?function(){return(d.create=function(){return new i})()}:function(){return new d}};function h(e,t,n){t[n]=255&e}function f(e,t){this.len=e,this.next=void 0,this.val=t}function m(e,t,n){for(;e.hi;)t[n++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function _(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}d.create=p(),d.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(d.alloc=o.pool(d.alloc,o.Array.prototype.subarray)),d.prototype._push=function(e,t,n){return this.tail=this.tail.next=new c(e,t,n),this.len+=t,this},f.prototype=Object.create(c.prototype),f.prototype.fn=function(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e},d.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new f((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},d.prototype.int32=function(e){return e<0?this._push(m,10,r.fromNumber(e)):this.uint32(e)},d.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},d.prototype.uint64=function(e){var t=r.from(e);return this._push(m,t.length(),t)},d.prototype.int64=d.prototype.uint64,d.prototype.sint64=function(e){var t=r.from(e).zzEncode();return this._push(m,t.length(),t)},d.prototype.bool=function(e){return this._push(h,1,e?1:0)},d.prototype.fixed32=function(e){return this._push(_,4,e>>>0)},d.prototype.sfixed32=d.prototype.fixed32,d.prototype.fixed64=function(e){var t=r.from(e);return this._push(_,4,t.lo)._push(_,4,t.hi)},d.prototype.sfixed64=d.prototype.fixed64,d.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},d.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var g=o.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var i=0;i<e.length;++i)t[n+i]=e[i]};d.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(h,1,0);if(o.isString(e)){var n=d.alloc(t=a.length(e));a.decode(e,n,0),e=n}return this.uint32(t)._push(g,t,e)},d.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(h,1,0)},d.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new c(l,0,0),this.len=0,this},d.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new c(l,0,0),this.len=0),this},d.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},d.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},d._configure=function(e){i=e,d.create=p(),i._configure()}},97292:(e,t,n)=>{"use strict";e.exports=r;var i=n(12387);(r.prototype=Object.create(i.prototype)).constructor=r;var o=n(26736);function r(){i.call(this)}function a(e,t,n){e.length<40?o.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}r._configure=function(){r.alloc=o._Buffer_allocUnsafe,r.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var i=0;i<e.length;)t[n++]=e[i++]}},r.prototype.bytes=function(e){o.isString(e)&&(e=o._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(r.writeBytesBuffer,t,e),this},r.prototype.string=function(e){var t=o.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},r._configure()},2477:(e,t,n)=>{"use strict";t.Ay=void 0;var i,o=(i=n(39590))&&i.__esModule?i:{default:i};var r,a,s,c,l,u,d,p,h,f=(r={blacklistedNodeNames:["STYLE"]},a={strategy:"accented"},s=!1,c=null,l={characterData:!0,childList:!0,subtree:!0},u=function(e){return!!e&&"string"==typeof e},d=function(e){var t=function(e){for(var t,n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,(function(e){return e.nodeValue&&!/[^\s]/.test(e.nodeValue)||e.parentElement&&r.blacklistedNodeNames.includes(e.parentElement.nodeName)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT})),i=[];t=n.nextNode();)i.push(t);return i}(e),n=!0,i=!1,s=void 0;try{for(var c,l=t[Symbol.iterator]();!(n=(c=l.next()).done);n=!0){var d=c.value,p=d.nodeValue;u(p)&&(d.nodeValue=(0,o.default)(p,a))}}catch(e){i=!0,s=e}finally{try{n||null==l.return||l.return()}finally{if(i)throw s}}},p=function(e){if(c){var t=!0,n=!1,i=void 0;try{for(var s,p=e[Symbol.iterator]();!(t=(s=p.next()).done);t=!0){var h=s.value;if("childList"===h.type&&h.addedNodes.length>0)c.disconnect(),h.addedNodes.forEach(d),c.observe(document.body,l);else if("characterData"===h.type){var f=h.target.nodeValue,m=!!h.target.parentElement&&r.blacklistedNodeNames.includes(h.target.parentElement.nodeName);u(f)&&!m&&(c.disconnect(),h.target.nodeValue=(0,o.default)(f,a),c.observe(document.body,l))}}}catch(e){n=!0,i=e}finally{try{t||null==p.return||p.return()}finally{if(n)throw i}}}},{start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.strategy,n=void 0===t?"accented":t,i=e.blacklistedNodeNames,o=void 0===i?r.blacklistedNodeNames:i;h()?console.error("pseudo-localization is already enabled"):(r.blacklistedNodeNames=o,a.strategy=n,d(document.body),(c=new MutationObserver(p)).observe(document.body,l),s=!0)},stop:function(){h()?(c&&c.disconnect(),s=!1):console.error("pseudo-localization is already disabled")},isEnabled:h=function(){return s},localize:o.default});t.Ay=f},39590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={accented:{prefix:"",postfix:"",map:{a:"ȧ",A:"Ȧ",b:"ƀ",B:"Ɓ",c:"ƈ",C:"Ƈ",d:"ḓ",D:"Ḓ",e:"ḗ",E:"Ḗ",f:"ƒ",F:"Ƒ",g:"ɠ",G:"Ɠ",h:"ħ",H:"Ħ",i:"ī",I:"Ī",j:"ĵ",J:"Ĵ",k:"ķ",K:"Ķ",l:"ŀ",L:"Ŀ",m:"ḿ",M:"Ḿ",n:"ƞ",N:"Ƞ",o:"ǿ",O:"Ǿ",p:"ƥ",P:"Ƥ",q:"ɋ",Q:"Ɋ",r:"ř",R:"Ř",s:"ş",S:"Ş",t:"ŧ",T:"Ŧ",v:"ṽ",V:"Ṽ",u:"ŭ",U:"Ŭ",w:"ẇ",W:"Ẇ",x:"ẋ",X:"Ẋ",y:"ẏ",Y:"Ẏ",z:"ẑ",Z:"Ẑ"},elongate:!0},bidi:{prefix:"",postfix:"",map:{a:"ɐ",A:"∀",b:"q",B:"Ԑ",c:"ɔ",C:"Ↄ",d:"p",D:"ᗡ",e:"ǝ",E:"Ǝ",f:"ɟ",F:"Ⅎ",g:"ƃ",G:"⅁",h:"ɥ",H:"H",i:"ı",I:"I",j:"ɾ",J:"ſ",k:"ʞ",K:"Ӽ",l:"ʅ",L:"⅂",m:"ɯ",M:"W",n:"u",N:"N",o:"o",O:"O",p:"d",P:"Ԁ",q:"b",Q:"Ò",r:"ɹ",R:"ᴚ",s:"s",S:"S",t:"ʇ",T:"⊥",u:"n",U:"∩",v:"ʌ",V:"Ʌ",w:"ʍ",W:"M",x:"x",X:"X",y:"ʎ",Y:"⅄",z:"z",Z:"Z"},elongate:!1}},i=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strategy,i=n[void 0===t?"accented":t],o="",r=!0,a=!1,s=void 0;try{for(var c,l=e[Symbol.iterator]();!(r=(c=l.next()).done);r=!0){var u=c.value;if(u in i.map){var d=u,p=d.toLowerCase();!i.elongate||"a"!==p&&"e"!==p&&"o"!==p&&"u"!==p?o+=i.map[d]:o+=i.map[d]+i.map[d]}else o+=u}}catch(e){a=!0,s=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw s}}return o.startsWith(i.prefix)&&o.endsWith(i.postfix)?o:i.prefix+o+i.postfix};t.default=i},35616:(e,t,n)=>{var i=n(68002);function o(e){this.mode=i.MODE_8BIT_BYTE,this.data=e}o.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=o},97304:e=>{function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},85543:e=>{e.exports={L:1,M:0,Q:3,H:2}},89363:(e,t,n)=>{var i=n(86023);function o(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var i=0;i<e.length-n;i++)this.num[i]=e[i+n]}o.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<e.getLength();r++)t[n+r]^=i.gexp(i.glog(this.get(n))+i.glog(e.get(r)));return new o(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=i.glog(this.get(0))-i.glog(e.get(0)),n=new Array(this.getLength()),r=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<e.getLength();r++)n[r]^=i.gexp(i.glog(e.get(r))+t);return new o(n,0).mod(e)}},e.exports=o},71135:(e,t,n)=>{var i=n(35616),o=n(3249),r=n(97304),a=n(19049),s=n(89363);function c(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var l=c.prototype;l.addData=function(e){var t=new i(e);this.dataList.push(t),this.dataCache=null},l.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},l.getModuleCount=function(){return this.moduleCount},l.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),n=new r,i=0,s=0;s<t.length;s++)i+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var c=this.dataList[s];n.put(c.mode,4),n.put(c.getLength(),a.getLengthInBits(c.mode,e)),c.write(n)}if(n.getLengthInBits()<=8*i)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},l.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=c.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},l.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var i=-1;i<=7;i++)t+i<=-1||this.moduleCount<=t+i||(this.modules[e+n][t+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},l.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=a.getLostPoint(this);(0==n||e>i)&&(e=i,t=n)}return t},l.createMovieClip=function(e,t,n){var i=e.createEmptyMovieClip(t,n);this.make();for(var o=0;o<this.modules.length;o++)for(var r=1*o,a=0;a<this.modules[o].length;a++){var s=1*a;this.modules[o][a]&&(i.beginFill(0,100),i.moveTo(s,r),i.lineTo(s+1,r),i.lineTo(s+1,r+1),i.lineTo(s,r+1),i.endFill())}return i},l.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},l.setupPositionAdjustPattern=function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var i=e[t],o=e[n];if(null==this.modules[i][o])for(var r=-2;r<=2;r++)for(var s=-2;s<=2;s++)this.modules[i+r][o+s]=-2==r||2==r||-2==s||2==s||0==r&&0==s}},l.setupTypeNumber=function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++){i=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},l.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,i=a.getBCHTypeInfo(n),o=0;o<15;o++){var r=!e&&1==(i>>o&1);o<6?this.modules[o][8]=r:o<8?this.modules[o+1][8]=r:this.modules[this.moduleCount-15+o][8]=r}for(o=0;o<15;o++){r=!e&&1==(i>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=r:o<9?this.modules[8][15-o-1+1]=r:this.modules[8][15-o-1]=r}this.modules[this.moduleCount-8][8]=!e},l.mapData=function(e,t){for(var n=-1,i=this.moduleCount-1,o=7,r=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var c=0;c<2;c++)if(null==this.modules[i][s-c]){var l=!1;r<e.length&&(l=1==(e[r]>>>o&1)),a.getMask(t,i,s-c)&&(l=!l),this.modules[i][s-c]=l,-1==--o&&(r++,o=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}},c.PAD0=236,c.PAD1=17,c.createData=function(e,t,n){for(var i=o.getRSBlocks(e,t),s=new r,l=0;l<n.length;l++){var u=n[l];s.put(u.mode,4),s.put(u.getLength(),a.getLengthInBits(u.mode,e)),u.write(s)}var d=0;for(l=0;l<i.length;l++)d+=i[l].dataCount;if(s.getLengthInBits()>8*d)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*d+")");for(s.getLengthInBits()+4<=8*d&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*d||(s.put(c.PAD0,8),s.getLengthInBits()>=8*d));)s.put(c.PAD1,8);return c.createBytes(s,i)},c.createBytes=function(e,t){for(var n=0,i=0,o=0,r=new Array(t.length),c=new Array(t.length),l=0;l<t.length;l++){var u=t[l].dataCount,d=t[l].totalCount-u;i=Math.max(i,u),o=Math.max(o,d),r[l]=new Array(u);for(var p=0;p<r[l].length;p++)r[l][p]=255&e.buffer[p+n];n+=u;var h=a.getErrorCorrectPolynomial(d),f=new s(r[l],h.getLength()-1).mod(h);c[l]=new Array(h.getLength()-1);for(p=0;p<c[l].length;p++){var m=p+f.getLength()-c[l].length;c[l][p]=m>=0?f.get(m):0}}var _=0;for(p=0;p<t.length;p++)_+=t[p].totalCount;var g=new Array(_),E=0;for(p=0;p<i;p++)for(l=0;l<t.length;l++)p<r[l].length&&(g[E++]=r[l][p]);for(p=0;p<o;p++)for(l=0;l<t.length;l++)p<c[l].length&&(g[E++]=c[l][p]);return g},e.exports=c},3249:(e,t,n)=>{var i=n(85543);function o(e,t){this.totalCount=e,this.dataCount=t}o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(e,t){var n=o.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var i=n.length/3,r=new Array,a=0;a<i;a++)for(var s=n[3*a+0],c=n[3*a+1],l=n[3*a+2],u=0;u<s;u++)r.push(new o(c,l));return r},o.getRsBlockTable=function(e,t){switch(t){case i.L:return o.RS_BLOCK_TABLE[4*(e-1)+0];case i.M:return o.RS_BLOCK_TABLE[4*(e-1)+1];case i.Q:return o.RS_BLOCK_TABLE[4*(e-1)+2];case i.H:return o.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=o},86023:e=>{for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},68002:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},19049:(e,t,n)=>{var i=n(68002),o=n(89363),r=n(86023),a=0,s=1,c=2,l=3,u=4,d=5,p=6,h=7,f={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;f.getBCHDigit(t)-f.getBCHDigit(f.G15)>=0;)t^=f.G15<<f.getBCHDigit(t)-f.getBCHDigit(f.G15);return(e<<10|t)^f.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;f.getBCHDigit(t)-f.getBCHDigit(f.G18)>=0;)t^=f.G18<<f.getBCHDigit(t)-f.getBCHDigit(f.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return f.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case a:return(t+n)%2==0;case s:return t%2==0;case c:return n%3==0;case l:return(t+n)%3==0;case u:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case d:return t*n%2+t*n%3==0;case p:return(t*n%2+t*n%3)%2==0;case h:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new o([1],0),n=0;n<e;n++)t=t.multiply(new o([1,r.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case i.MODE_NUMBER:return 10;case i.MODE_ALPHA_NUM:return 9;case i.MODE_8BIT_BYTE:case i.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case i.MODE_NUMBER:return 12;case i.MODE_ALPHA_NUM:return 11;case i.MODE_8BIT_BYTE:return 16;case i.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case i.MODE_NUMBER:return 14;case i.MODE_ALPHA_NUM:return 13;case i.MODE_8BIT_BYTE:return 16;case i.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,i=0;i<t;i++)for(var o=0;o<t;o++){for(var r=0,a=e.isDark(i,o),s=-1;s<=1;s++)if(!(i+s<0||t<=i+s))for(var c=-1;c<=1;c++)o+c<0||t<=o+c||0==s&&0==c||a==e.isDark(i+s,o+c)&&r++;r>5&&(n+=3+r-5)}for(i=0;i<t-1;i++)for(o=0;o<t-1;o++){var l=0;e.isDark(i,o)&&l++,e.isDark(i+1,o)&&l++,e.isDark(i,o+1)&&l++,e.isDark(i+1,o+1)&&l++,0!=l&&4!=l||(n+=3)}for(i=0;i<t;i++)for(o=0;o<t-6;o++)e.isDark(i,o)&&!e.isDark(i,o+1)&&e.isDark(i,o+2)&&e.isDark(i,o+3)&&e.isDark(i,o+4)&&!e.isDark(i,o+5)&&e.isDark(i,o+6)&&(n+=40);for(o=0;o<t;o++)for(i=0;i<t-6;i++)e.isDark(i,o)&&!e.isDark(i+1,o)&&e.isDark(i+2,o)&&e.isDark(i+3,o)&&e.isDark(i+4,o)&&!e.isDark(i+5,o)&&e.isDark(i+6,o)&&(n+=40);var u=0;for(o=0;o<t;o++)for(i=0;i<t;i++)e.isDark(i,o)&&u++;return n+=10*(Math.abs(100*u/t/t-50)/5)}};e.exports=f},73155:(e,t,n)=>{"use strict";n.d(t,{hv:()=>zt});var i=n(86070),o=n(30758),r=n(67017),a=n(71682);Math.pow(10,8);const s=6048e5,c=864e5;var l=n(10849),u=n(72849);function d(e){const t=(0,u.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function p(e,t){const n=(0,l.o)(e),i=(0,l.o)(t),o=+n-d(n),r=+i-d(i);return Math.round((o-r)/c)}function h(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function f(e){const t=(0,u.a)(e),n=h(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function m(e){const t=(0,u.a)(e);return p(t,f(t))+1}var _=n(70001);function g(e){return(0,_.k)(e,{weekStartsOn:1})}function E(e){const t=(0,u.a)(e),n=t.getFullYear(),i=h(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);const o=g(i),r=h(e,0);r.setFullYear(n,0,4),r.setHours(0,0,0,0);const a=g(r);return t.getTime()>=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function v(e){const t=E(e),n=h(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),g(n)}function y(e){const t=(0,u.a)(e),n=+g(t)-+v(t);return Math.round(n/s)+1}function b(e,t){const n=(0,u.a)(e),i=n.getFullYear(),o=(0,a.q)(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=h(e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);const c=(0,_.k)(s,t),l=h(e,0);l.setFullYear(i,0,r),l.setHours(0,0,0,0);const d=(0,_.k)(l,t);return n.getTime()>=c.getTime()?i+1:n.getTime()>=d.getTime()?i:i-1}function S(e,t){const n=(0,a.q)(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=b(e,t),r=h(e,0);r.setFullYear(o,0,i),r.setHours(0,0,0,0);return(0,_.k)(r,t)}function T(e,t){const n=(0,u.a)(e),i=+(0,_.k)(n,t)-+S(n,t);return Math.round(i/s)+1}var A=n(79357);const I={y(e,t){const n=e.getFullYear(),i=n>0?n:1-n;return(0,A.F)("yy"===t?i%100:i,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,A.F)(n+1,2)},d:(e,t)=>(0,A.F)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,A.F)(e.getHours()%12||12,t.length),H:(e,t)=>(0,A.F)(e.getHours(),t.length),m:(e,t)=>(0,A.F)(e.getMinutes(),t.length),s:(e,t)=>(0,A.F)(e.getSeconds(),t.length),S(e,t){const n=t.length,i=e.getMilliseconds(),o=Math.trunc(i*Math.pow(10,n-3));return(0,A.F)(o,t.length)}},O="midnight",C="noon",R="morning",N="afternoon",P="evening",L="night",k={G:function(e,t,n){const i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),i=t>0?t:1-t;return n.ordinalNumber(i,{unit:"year"})}return I.y(e,t)},Y:function(e,t,n,i){const o=b(e,i),r=o>0?o:1-o;if("YY"===t){const e=r%100;return(0,A.F)(e,2)}return"Yo"===t?n.ordinalNumber(r,{unit:"year"}):(0,A.F)(r,t.length)},R:function(e,t){const n=E(e);return(0,A.F)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,A.F)(n,t.length)},Q:function(e,t,n){const i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return(0,A.F)(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){const i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return(0,A.F)(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){const i=e.getMonth();switch(t){case"M":case"MM":return I.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){const i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return(0,A.F)(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){const o=T(e,i);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,A.F)(o,t.length)},I:function(e,t,n){const i=y(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):(0,A.F)(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):I.d(e,t)},D:function(e,t,n){const i=m(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,A.F)(i,t.length)},E:function(e,t,n){const i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){const o=e.getDay(),r=(o-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return(0,A.F)(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){const o=e.getDay(),r=(o-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return(0,A.F)(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const i=e.getDay(),o=0===i?7:i;switch(t){case"i":return String(o);case"ii":return(0,A.F)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const i=e.getHours();let o;switch(o=12===i?C:0===i?O:i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const i=e.getHours();let o;switch(o=i>=17?P:i>=12?N:i>=4?R:L,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return I.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):I.H(e,t)},K:function(e,t,n){const i=e.getHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):(0,A.F)(i,t.length)},k:function(e,t,n){let i=e.getHours();return 0===i&&(i=24),"ko"===t?n.ordinalNumber(i,{unit:"hour"}):(0,A.F)(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):I.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):I.s(e,t)},S:function(e,t){return I.S(e,t)},X:function(e,t,n){const i=e.getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return D(i);case"XXXX":case"XX":return M(i);default:return M(i,":")}},x:function(e,t,n){const i=e.getTimezoneOffset();switch(t){case"x":return D(i);case"xxxx":case"xx":return M(i);default:return M(i,":")}},O:function(e,t,n){const i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+w(i,":");default:return"GMT"+M(i,":")}},z:function(e,t,n){const i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+w(i,":");default:return"GMT"+M(i,":")}},t:function(e,t,n){const i=Math.trunc(e.getTime()/1e3);return(0,A.F)(i,t.length)},T:function(e,t,n){const i=e.getTime();return(0,A.F)(i,t.length)}};function w(e,t=""){const n=e>0?"-":"+",i=Math.abs(e),o=Math.trunc(i/60),r=i%60;return 0===r?n+String(o):n+String(o)+t+(0,A.F)(r,2)}function D(e,t){if(e%60==0){return(e>0?"-":"+")+(0,A.F)(Math.abs(e)/60,2)}return M(e,t)}function M(e,t=""){const n=e>0?"-":"+",i=Math.abs(e);return n+(0,A.F)(Math.trunc(i/60),2)+t+(0,A.F)(i%60,2)}const x=(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"})}},U=(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"})}},V={p:U,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return x(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",x(i,t)).replace("{{time}}",U(o,t))}},F=/^D+$/,B=/^Y+$/,H=["D","DD","YY","YYYY"];function G(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function W(e){if(!G(e)&&"number"!=typeof e)return!1;const t=(0,u.a)(e);return!isNaN(Number(t))}const j=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Y=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,z=/^'([^]*?)'?$/,K=/''/g,J=/[a-zA-Z]/;function q(e,t,n){const i=(0,a.q)(),o=n?.locale??i.locale??r.c,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,l=(0,u.a)(e);if(!W(l))throw new RangeError("Invalid time value");let d=t.match(Y).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,V[t])(e,o.formatLong)}return e})).join("").match(j).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:X(e)};if(k[t])return{isToken:!0,value:e};if(t.match(J))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(d=o.localize.preprocessor(l,d));const p={firstWeekContainsDate:s,weekStartsOn:c,locale:o};return d.map((i=>{if(!i.isToken)return i.value;const r=i.value;(!n?.useAdditionalWeekYearTokens&&function(e){return B.test(e)}(r)||!n?.useAdditionalDayOfYearTokens&&function(e){return F.test(e)}(r))&&function(e,t,n){const i=function(e,t,n){const i="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(i),H.includes(e))throw new RangeError(i)}(r,t,String(e));return(0,k[r[0]])(l,r,o.localize,p)})).join("")}function X(e){const t=e.match(z);return t?t[1].replace(K,"'"):e}function $(e){const t=(0,u.a)(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Z(e){const t=(0,u.a)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Q(e,t){const n=(0,u.a)(e),i=(0,u.a)(t);return n.getFullYear()===i.getFullYear()}function ee(e){const t=(0,u.a)(e),n=t.getFullYear(),i=t.getMonth(),o=h(e,0);return o.setFullYear(n,i+1,0),o.setHours(0,0,0,0),o.getDate()}function te(e,t){const n=(0,u.a)(e),i=n.getFullYear(),o=n.getDate(),r=h(e,0);r.setFullYear(i,t,15),r.setHours(0,0,0,0);const a=ee(r);return n.setMonth(t,Math.min(o,a)),n}function ne(e,t){const n=(0,u.a)(e);return isNaN(+n)?h(e,NaN):(n.setFullYear(t),n)}function ie(e,t){const n=(0,u.a)(e),i=(0,u.a)(t);return 12*(n.getFullYear()-i.getFullYear())+(n.getMonth()-i.getMonth())}function oe(e,t){const n=(0,u.a)(e);if(isNaN(t))return h(e,NaN);if(!t)return n;const i=n.getDate(),o=h(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);return i>=o.getDate()?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function re(e,t){const n=(0,u.a)(e),i=(0,u.a)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}function ae(e,t){return+(0,u.a)(e)<+(0,u.a)(t)}function se(e,t){const n=(0,u.a)(e);return isNaN(t)?h(e,NaN):t?(n.setDate(n.getDate()+t),n):n}var ce=n(12058);function le(e,t){const n=(0,u.a)(e),i=(0,u.a)(t);return n.getTime()>i.getTime()}function ue(e,t){return se(e,-t)}function de(e,t){return se(e,7*t)}function pe(e,t){return oe(e,12*t)}function he(e,t){const n=(0,a.q)(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,u.a)(e),r=o.getDay(),s=6+(r<i?-7:0)-(r-i);return o.setDate(o.getDate()+s),o.setHours(23,59,59,999),o}function fe(e){return he(e,{weekStartsOn:1})}function me(e){let t;return e.forEach((function(e){const n=(0,u.a)(e);(void 0===t||t<n||isNaN(Number(n)))&&(t=n)})),t||new Date(NaN)}function _e(e){let t;return e.forEach((e=>{const n=(0,u.a)(e);(!t||t>n||isNaN(+n))&&(t=n)})),t||new Date(NaN)}function ge(e){return Math.trunc(+(0,u.a)(e)/1e3)}function Ee(e,t,n){const i=(0,_.k)(e,n),o=(0,_.k)(t,n),r=+i-d(i),a=+o-d(o);return Math.round((r-a)/s)}function ve(e){const t=(0,u.a)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function ye(e,t){return Ee(ve(e),$(e),t)+1}var be=function(){return be=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},be.apply(this,arguments)};function Se(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function Te(e){return"multiple"===e.mode}function Ae(e){return"range"===e.mode}function Ie(e){return"single"===e.mode}"function"==typeof SuppressedError&&SuppressedError;var Oe={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};var Ce=Object.freeze({__proto__:null,formatCaption:function(e,t){return q(e,"LLLL y",t)},formatDay:function(e,t){return q(e,"d",t)},formatMonthCaption:function(e,t){return q(e,"LLLL",t)},formatWeekNumber:function(e){return"".concat(e)},formatWeekdayName:function(e,t){return q(e,"cccccc",t)},formatYearCaption:function(e,t){return q(e,"yyyy",t)}}),Re=Object.freeze({__proto__:null,labelDay:function(e,t,n){return q(e,"do MMMM (EEEE)",n)},labelMonthDropdown:function(){return"Month: "},labelNext:function(){return"Go to next month"},labelPrevious:function(){return"Go to previous month"},labelWeekNumber:function(e){return"Week n. ".concat(e)},labelWeekday:function(e,t){return q(e,"cccc",t)},labelYearDropdown:function(){return"Year: "}});function Ne(e){var t=e.fromYear,n=e.toYear,i=e.fromMonth,o=e.toMonth,r=e.fromDate,a=e.toDate;return i?r=$(i):t&&(r=new Date(t,0,1)),o?a=Z(o):n&&(a=new Date(n,11,31)),{fromDate:r?(0,l.o)(r):void 0,toDate:a?(0,l.o)(a):void 0}}var Pe=(0,o.createContext)(void 0);function Le(e){var t,n,o,a,s,c=e.initialProps,l=(n=Oe,o=r.c,a=new Date,{captionLayout:"buttons",classNames:n,formatters:Ce,labels:Re,locale:o,modifiersClassNames:{},modifiers:{},numberOfMonths:1,styles:{},today:a,mode:"default"}),u=Ne(c),d=u.fromDate,p=u.toDate,h=null!==(t=c.captionLayout)&&void 0!==t?t:l.captionLayout;"buttons"===h||d&&p||(h="buttons"),(Ie(c)||Te(c)||Ae(c))&&(s=c.onSelect);var f=be(be(be({},l),c),{captionLayout:h,classNames:be(be({},l.classNames),c.classNames),components:be({},c.components),formatters:be(be({},l.formatters),c.formatters),fromDate:d,labels:be(be({},l.labels),c.labels),mode:c.mode||l.mode,modifiers:be(be({},l.modifiers),c.modifiers),modifiersClassNames:be(be({},l.modifiersClassNames),c.modifiersClassNames),onSelect:s,styles:be(be({},l.styles),c.styles),toDate:p});return(0,i.jsx)(Pe.Provider,{value:f,children:e.children})}function ke(){var e=(0,o.useContext)(Pe);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function we(e){var t=ke(),n=t.locale,o=t.classNames,r=t.styles,a=t.formatters.formatCaption;return(0,i.jsx)("div",{className:o.caption_label,style:r.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:n})})}function De(e){return(0,i.jsx)("svg",be({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:(0,i.jsx)("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function Me(e){var t,n,o=e.onChange,r=e.value,a=e.children,s=e.caption,c=e.className,l=e.style,u=ke(),d=null!==(n=null===(t=u.components)||void 0===t?void 0:t.IconDropdown)&&void 0!==n?n:De;return(0,i.jsxs)("div",{className:c,style:l,children:[(0,i.jsx)("span",{className:u.classNames.vhidden,children:e["aria-label"]}),(0,i.jsx)("select",{name:e.name,"aria-label":e["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:r,onChange:o,children:a}),(0,i.jsxs)("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[s,(0,i.jsx)(d,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function xe(e){var t,n=ke(),o=n.fromDate,r=n.toDate,a=n.styles,s=n.locale,c=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,d=n.labels.labelMonthDropdown;if(!o)return(0,i.jsx)(i.Fragment,{});if(!r)return(0,i.jsx)(i.Fragment,{});var p=[];if(Q(o,r))for(var h=$(o),f=o.getMonth();f<=r.getMonth();f++)p.push(te(h,f));else for(h=$(new Date),f=0;f<=11;f++)p.push(te(h,f));var m=null!==(t=null==u?void 0:u.Dropdown)&&void 0!==t?t:Me;return(0,i.jsx)(m,{name:"months","aria-label":d(),className:l.dropdown_month,style:a.dropdown_month,onChange:function(t){var n=Number(t.target.value),i=te($(e.displayMonth),n);e.onChange(i)},value:e.displayMonth.getMonth(),caption:c(e.displayMonth,{locale:s}),children:p.map((function(e){return(0,i.jsx)("option",{value:e.getMonth(),children:c(e,{locale:s})},e.getMonth())}))})}function Ue(e){var t,n=e.displayMonth,o=ke(),r=o.fromDate,a=o.toDate,s=o.locale,c=o.styles,l=o.classNames,u=o.components,d=o.formatters.formatYearCaption,p=o.labels.labelYearDropdown,h=[];if(!r)return(0,i.jsx)(i.Fragment,{});if(!a)return(0,i.jsx)(i.Fragment,{});for(var m=r.getFullYear(),_=a.getFullYear(),g=m;g<=_;g++)h.push(ne(f(new Date),g));var E=null!==(t=null==u?void 0:u.Dropdown)&&void 0!==t?t:Me;return(0,i.jsx)(E,{name:"years","aria-label":p(),className:l.dropdown_year,style:c.dropdown_year,onChange:function(t){var i=ne($(n),Number(t.target.value));e.onChange(i)},value:n.getFullYear(),caption:d(n,{locale:s}),children:h.map((function(e){return(0,i.jsx)("option",{value:e.getFullYear(),children:d(e,{locale:s})},e.getFullYear())}))})}function Ve(){var e=ke(),t=function(e){var t=e.month,n=e.defaultMonth,i=e.today,o=t||n||i||new Date,r=e.toDate,a=e.fromDate,s=e.numberOfMonths,c=void 0===s?1:s;return r&&ie(r,o)<0&&(o=oe(r,-1*(c-1))),a&&ie(o,a)<0&&(o=a),$(o)}(e),n=function(e,t){var n=(0,o.useState)(e),i=n[0];return[void 0===t?i:t,n[1]]}(t,e.month),i=n[0],r=n[1];return[i,function(t){var n;if(!e.disableNavigation){var i=$(t);r(i),null===(n=e.onMonthChange)||void 0===n||n.call(e,i)}}]}var Fe=(0,o.createContext)(void 0);function Be(e){var t=ke(),n=Ve(),o=n[0],r=n[1],a=function(e,t){for(var n=t.reverseMonths,i=t.numberOfMonths,o=$(e),r=ie($(oe(o,i)),o),a=[],s=0;s<r;s++){var c=oe(o,s);a.push(c)}return n&&(a=a.reverse()),a}(o,t),s=function(e,t){if(!t.disableNavigation){var n=t.toDate,i=t.pagedNavigation,o=t.numberOfMonths,r=void 0===o?1:o,a=i?r:1,s=$(e);if(!n)return oe(s,a);if(!(ie(n,e)<r))return oe(s,a)}}(o,t),c=function(e,t){if(!t.disableNavigation){var n=t.fromDate,i=t.pagedNavigation,o=t.numberOfMonths,r=i?void 0===o?1:o:1,a=$(e);if(!n)return oe(a,-r);if(!(ie(a,n)<=0))return oe(a,-r)}}(o,t),l=function(e){return a.some((function(t){return re(e,t)}))},u={currentMonth:o,displayMonths:a,goToMonth:r,goToDate:function(e,n){l(e)||(n&&ae(e,n)?r(oe(e,1+-1*t.numberOfMonths)):r(e))},previousMonth:c,nextMonth:s,isDateDisplayed:l};return(0,i.jsx)(Fe.Provider,{value:u,children:e.children})}function He(){var e=(0,o.useContext)(Fe);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Ge(e){var t,n=ke(),o=n.classNames,r=n.styles,a=n.components,s=He().goToMonth,c=function(t){s(oe(t,e.displayIndex?-e.displayIndex:0))},l=null!==(t=null==a?void 0:a.CaptionLabel)&&void 0!==t?t:we,u=(0,i.jsx)(l,{id:e.id,displayMonth:e.displayMonth});return(0,i.jsxs)("div",{className:o.caption_dropdowns,style:r.caption_dropdowns,children:[(0,i.jsx)("div",{className:o.vhidden,children:u}),(0,i.jsx)(xe,{onChange:c,displayMonth:e.displayMonth}),(0,i.jsx)(Ue,{onChange:c,displayMonth:e.displayMonth})]})}function We(e){return(0,i.jsx)("svg",be({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:(0,i.jsx)("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function je(e){return(0,i.jsx)("svg",be({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:(0,i.jsx)("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var Ye=(0,o.forwardRef)((function(e,t){var n=ke(),o=n.classNames,r=n.styles,a=[o.button_reset,o.button];e.className&&a.push(e.className);var s=a.join(" "),c=be(be({},r.button_reset),r.button);return e.style&&Object.assign(c,e.style),(0,i.jsx)("button",be({},e,{ref:t,type:"button",className:s,style:c}))}));function ze(e){var t,n,o=ke(),r=o.dir,a=o.locale,s=o.classNames,c=o.styles,l=o.labels,u=l.labelPrevious,d=l.labelNext,p=o.components;if(!e.nextMonth&&!e.previousMonth)return(0,i.jsx)(i.Fragment,{});var h=u(e.previousMonth,{locale:a}),f=[s.nav_button,s.nav_button_previous].join(" "),m=d(e.nextMonth,{locale:a}),_=[s.nav_button,s.nav_button_next].join(" "),g=null!==(t=null==p?void 0:p.IconRight)&&void 0!==t?t:je,E=null!==(n=null==p?void 0:p.IconLeft)&&void 0!==n?n:We;return(0,i.jsxs)("div",{className:s.nav,style:c.nav,children:[!e.hidePrevious&&(0,i.jsx)(Ye,{name:"previous-month","aria-label":h,className:f,style:c.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:"rtl"===r?(0,i.jsx)(g,{className:s.nav_icon,style:c.nav_icon}):(0,i.jsx)(E,{className:s.nav_icon,style:c.nav_icon})}),!e.hideNext&&(0,i.jsx)(Ye,{name:"next-month","aria-label":m,className:_,style:c.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:"rtl"===r?(0,i.jsx)(E,{className:s.nav_icon,style:c.nav_icon}):(0,i.jsx)(g,{className:s.nav_icon,style:c.nav_icon})})]})}function Ke(e){var t=ke().numberOfMonths,n=He(),o=n.previousMonth,r=n.nextMonth,a=n.goToMonth,s=n.displayMonths,c=s.findIndex((function(t){return re(e.displayMonth,t)})),l=0===c,u=c===s.length-1,d=t>1&&(l||!u),p=t>1&&(u||!l);return(0,i.jsx)(ze,{displayMonth:e.displayMonth,hideNext:d,hidePrevious:p,nextMonth:r,previousMonth:o,onPreviousClick:function(){o&&a(o)},onNextClick:function(){r&&a(r)}})}function Je(e){var t,n,o=ke(),r=o.classNames,a=o.disableNavigation,s=o.styles,c=o.captionLayout,l=o.components,u=null!==(t=null==l?void 0:l.CaptionLabel)&&void 0!==t?t:we;return n=a?(0,i.jsx)(u,{id:e.id,displayMonth:e.displayMonth}):"dropdown"===c?(0,i.jsx)(Ge,{displayMonth:e.displayMonth,id:e.id}):"dropdown-buttons"===c?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Ge,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),(0,i.jsx)(Ke,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),(0,i.jsx)(Ke,{displayMonth:e.displayMonth,id:e.id})]}),(0,i.jsx)("div",{className:r.caption,style:s.caption,children:n})}function qe(e){var t=ke(),n=t.footer,o=t.styles,r=t.classNames.tfoot;return n?(0,i.jsx)("tfoot",{className:r,style:o.tfoot,children:(0,i.jsx)("tr",{children:(0,i.jsx)("td",{colSpan:8,children:n})})}):(0,i.jsx)(i.Fragment,{})}function Xe(){var e=ke(),t=e.classNames,n=e.styles,o=e.showWeekNumber,r=e.locale,a=e.weekStartsOn,s=e.ISOWeek,c=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,u=function(e,t,n){for(var i=n?g(new Date):(0,_.k)(new Date,{locale:e,weekStartsOn:t}),o=[],r=0;r<7;r++){var a=se(i,r);o.push(a)}return o}(r,a,s);return(0,i.jsxs)("tr",{style:n.head_row,className:t.head_row,children:[o&&(0,i.jsx)("td",{style:n.head_cell,className:t.head_cell}),u.map((function(e,o){return(0,i.jsx)("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":l(e,{locale:r}),children:c(e,{locale:r})},o)}))]})}function $e(){var e,t=ke(),n=t.classNames,o=t.styles,r=t.components,a=null!==(e=null==r?void 0:r.HeadRow)&&void 0!==e?e:Xe;return(0,i.jsx)("thead",{style:o.head,className:n.head,children:(0,i.jsx)(a,{})})}function Ze(e){var t=ke(),n=t.locale,o=t.formatters.formatDay;return(0,i.jsx)(i.Fragment,{children:o(e.date,{locale:n})})}var Qe=(0,o.createContext)(void 0);function et(e){if(!Te(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return(0,i.jsx)(Qe.Provider,{value:t,children:e.children})}return(0,i.jsx)(tt,{initialProps:e.initialProps,children:e.children})}function tt(e){var t=e.initialProps,n=e.children,o=t.selected,r=t.min,a=t.max,s={disabled:[]};o&&s.disabled.push((function(e){var t=a&&o.length>a-1,n=o.some((function(t){return(0,ce.r)(t,e)}));return Boolean(t&&!n)}));var c={selected:o,onDayClick:function(e,n,i){var s,c;if((null===(s=t.onDayClick)||void 0===s||s.call(t,e,n,i),!Boolean(n.selected&&r&&(null==o?void 0:o.length)===r))&&!Boolean(!n.selected&&a&&(null==o?void 0:o.length)===a)){var l=o?Se([],o,!0):[];if(n.selected){var u=l.findIndex((function(t){return(0,ce.r)(e,t)}));l.splice(u,1)}else l.push(e);null===(c=t.onSelect)||void 0===c||c.call(t,l,e,n,i)}},modifiers:s};return(0,i.jsx)(Qe.Provider,{value:c,children:n})}function nt(){var e=(0,o.useContext)(Qe);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}var it,ot=(0,o.createContext)(void 0);function rt(e){if(!Ae(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return(0,i.jsx)(ot.Provider,{value:t,children:e.children})}return(0,i.jsx)(at,{initialProps:e.initialProps,children:e.children})}function at(e){var t=e.initialProps,n=e.children,o=t.selected,r=o||{},a=r.from,s=r.to,c=t.min,l=t.max,u={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(u.range_start=[a],s?(u.range_end=[s],(0,ce.r)(a,s)||(u.range_middle=[{after:a,before:s}])):u.range_end=[a]):s&&(u.range_start=[s],u.range_end=[s]),c&&(a&&!s&&u.disabled.push({after:ue(a,c-1),before:se(a,c-1)}),a&&s&&u.disabled.push({after:a,before:se(a,c-1)}),!a&&s&&u.disabled.push({after:ue(s,c-1),before:se(s,c-1)})),l){if(a&&!s&&(u.disabled.push({before:se(a,1-l)}),u.disabled.push({after:se(a,l-1)})),a&&s){var d=l-(p(s,a)+1);u.disabled.push({before:ue(a,d)}),u.disabled.push({after:se(s,d)})}!a&&s&&(u.disabled.push({before:se(s,1-l)}),u.disabled.push({after:se(s,l-1)}))}return(0,i.jsx)(ot.Provider,{value:{selected:o,onDayClick:function(e,n,i){var r,a;null===(r=t.onDayClick)||void 0===r||r.call(t,e,n,i);var s=function(e,t){var n=t||{},i=n.from,o=n.to;if(i&&o){if((0,ce.r)(o,e)&&(0,ce.r)(i,e))return;if((0,ce.r)(o,e))return{from:o,to:void 0};if((0,ce.r)(i,e))return;return le(i,e)?{from:e,to:o}:{from:i,to:e}}return o?le(e,o)?{from:o,to:e}:{from:e,to:o}:i?ae(e,i)?{from:e,to:i}:{from:i,to:e}:{from:e,to:void 0}}(e,o);null===(a=t.onSelect)||void 0===a||a.call(t,s,e,n,i)},modifiers:u},children:n})}function st(){var e=(0,o.useContext)(ot);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function ct(e){return Array.isArray(e)?Se([],e,!0):void 0!==e?[e]:[]}!function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"}(it||(it={}));var lt=it.Selected,ut=it.Disabled,dt=it.Hidden,pt=it.Today,ht=it.RangeEnd,ft=it.RangeMiddle,mt=it.RangeStart,_t=it.Outside;var gt=(0,o.createContext)(void 0);function Et(e){var t=ke(),n=function(e,t,n){var i,o=((i={})[lt]=ct(e.selected),i[ut]=ct(e.disabled),i[dt]=ct(e.hidden),i[pt]=[e.today],i[ht]=[],i[ft]=[],i[mt]=[],i[_t]=[],i);return e.fromDate&&o[ut].push({before:e.fromDate}),e.toDate&&o[ut].push({after:e.toDate}),Te(e)?o[ut]=o[ut].concat(t.modifiers[ut]):Ae(e)&&(o[ut]=o[ut].concat(n.modifiers[ut]),o[mt]=n.modifiers[mt],o[ft]=n.modifiers[ft],o[ht]=n.modifiers[ht]),o}(t,nt(),st()),o=function(e){var t={};return Object.entries(e).forEach((function(e){var n=e[0],i=e[1];t[n]=ct(i)})),t}(t.modifiers),r=be(be({},n),o);return(0,i.jsx)(gt.Provider,{value:r,children:e.children})}function vt(){var e=(0,o.useContext)(gt);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function yt(e,t){return t.some((function(t){if("boolean"==typeof t)return t;if(G(t))return(0,ce.r)(e,t);if(function(e){return Array.isArray(e)&&e.every(G)}(t))return t.includes(e);if(function(e){return Boolean(e&&"object"==typeof e&&"from"in e)}(t))return function(e,t){var n,i=t.from,o=t.to;return i&&o?(p(o,i)<0&&(i=(n=[o,i])[0],o=n[1]),p(e,i)>=0&&p(o,e)>=0):o?(0,ce.r)(o,e):!!i&&(0,ce.r)(i,e)}(e,t);if(function(e){return Boolean(e&&"object"==typeof e&&"dayOfWeek"in e)}(t))return t.dayOfWeek.includes(e.getDay());if(function(e){return Boolean(e&&"object"==typeof e&&"before"in e&&"after"in e)}(t)){var n=p(t.before,e)>0,i=p(t.after,e)<0;return le(t.before,t.after)?i&&n:n||i}return function(e){return Boolean(e&&"object"==typeof e&&"after"in e)}(t)?p(e,t.after)>0:function(e){return Boolean(e&&"object"==typeof e&&"before"in e)}(t)?p(t.before,e)>0:"function"==typeof t&&t(e)}))}function bt(e,t,n){var i=Object.keys(t).reduce((function(n,i){var o=t[i];return yt(e,o)&&n.push(i),n}),[]),o={};return i.forEach((function(e){return o[e]=!0})),n&&!re(e,n)&&(o.outside=!0),o}var St=365;function Tt(e,t){var n=t.moveBy,i=t.direction,o=t.context,r=t.modifiers,a=t.retry,s=void 0===a?{count:0,lastFocused:e}:a,c=o.weekStartsOn,l=o.fromDate,u=o.toDate,d=o.locale,p={day:se,week:de,month:oe,year:pe,startOfWeek:function(e){return o.ISOWeek?g(e):(0,_.k)(e,{locale:d,weekStartsOn:c})},endOfWeek:function(e){return o.ISOWeek?fe(e):he(e,{locale:d,weekStartsOn:c})}}[n](e,"after"===i?1:-1);"before"===i&&l?p=me([l,p]):"after"===i&&u&&(p=_e([u,p]));var h=!0;if(r){var f=bt(p,r);h=!f.disabled&&!f.hidden}return h?p:s.count>St?s.lastFocused:Tt(p,{moveBy:n,direction:i,context:o,modifiers:r,retry:be(be({},s),{count:s.count+1})})}var At=(0,o.createContext)(void 0);function It(e){var t=He(),n=vt(),r=(0,o.useState)(),a=r[0],s=r[1],c=(0,o.useState)(),l=c[0],u=c[1],d=function(e,t){for(var n,i,o=$(e[0]),r=Z(e[e.length-1]),a=o;a<=r;){var s=bt(a,t);if(s.disabled||s.hidden)a=se(a,1);else{if(s.selected)return a;s.today&&!i&&(i=a),n||(n=a),a=se(a,1)}}return i||n}(t.displayMonths,n),p=(null!=a?a:l&&t.isDateDisplayed(l))?l:d,h=function(e){s(e)},f=ke(),m=function(e,i){if(a){var o=Tt(a,{moveBy:e,direction:i,context:f,modifiers:n});(0,ce.r)(a,o)||(t.goToDate(o,a),h(o))}},_={focusedDay:a,focusTarget:p,blur:function(){u(a),s(void 0)},focus:h,focusDayAfter:function(){return m("day","after")},focusDayBefore:function(){return m("day","before")},focusWeekAfter:function(){return m("week","after")},focusWeekBefore:function(){return m("week","before")},focusMonthBefore:function(){return m("month","before")},focusMonthAfter:function(){return m("month","after")},focusYearBefore:function(){return m("year","before")},focusYearAfter:function(){return m("year","after")},focusStartOfWeek:function(){return m("startOfWeek","before")},focusEndOfWeek:function(){return m("endOfWeek","after")}};return(0,i.jsx)(At.Provider,{value:_,children:e.children})}function Ot(){var e=(0,o.useContext)(At);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}var Ct=(0,o.createContext)(void 0);function Rt(e){if(!Ie(e.initialProps)){var t={selected:void 0};return(0,i.jsx)(Ct.Provider,{value:t,children:e.children})}return(0,i.jsx)(Nt,{initialProps:e.initialProps,children:e.children})}function Nt(e){var t=e.initialProps,n=e.children,o={selected:t.selected,onDayClick:function(e,n,i){var o,r,a;null===(o=t.onDayClick)||void 0===o||o.call(t,e,n,i),!n.selected||t.required?null===(a=t.onSelect)||void 0===a||a.call(t,e,e,n,i):null===(r=t.onSelect)||void 0===r||r.call(t,void 0,e,n,i)}};return(0,i.jsx)(Ct.Provider,{value:o,children:n})}function Pt(){var e=(0,o.useContext)(Ct);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function Lt(e,t){var n=[e.classNames.day];return Object.keys(t).forEach((function(t){var i=e.modifiersClassNames[t];if(i)n.push(i);else if(function(e){return Object.values(it).includes(e)}(t)){var o=e.classNames["day_".concat(t)];o&&n.push(o)}})),n}function kt(e,t,n){var r,a,s,c=ke(),l=Ot(),u=function(e,t){return bt(e,vt(),t)}(e,t),d=function(e,t){var n=ke(),i=Pt(),o=nt(),r=st(),a=Ot(),s=a.focusDayAfter,c=a.focusDayBefore,l=a.focusWeekAfter,u=a.focusWeekBefore,d=a.blur,p=a.focus,h=a.focusMonthBefore,f=a.focusMonthAfter,m=a.focusYearBefore,_=a.focusYearAfter,g=a.focusStartOfWeek,E=a.focusEndOfWeek,v={onClick:function(a){var s,c,l,u;Ie(n)?null===(s=i.onDayClick)||void 0===s||s.call(i,e,t,a):Te(n)?null===(c=o.onDayClick)||void 0===c||c.call(o,e,t,a):Ae(n)?null===(l=r.onDayClick)||void 0===l||l.call(r,e,t,a):null===(u=n.onDayClick)||void 0===u||u.call(n,e,t,a)},onFocus:function(i){var o;p(e),null===(o=n.onDayFocus)||void 0===o||o.call(n,e,t,i)},onBlur:function(i){var o;d(),null===(o=n.onDayBlur)||void 0===o||o.call(n,e,t,i)},onKeyDown:function(i){var o;switch(i.key){case"ArrowLeft":i.preventDefault(),i.stopPropagation(),"rtl"===n.dir?s():c();break;case"ArrowRight":i.preventDefault(),i.stopPropagation(),"rtl"===n.dir?c():s();break;case"ArrowDown":i.preventDefault(),i.stopPropagation(),l();break;case"ArrowUp":i.preventDefault(),i.stopPropagation(),u();break;case"PageUp":i.preventDefault(),i.stopPropagation(),i.shiftKey?m():h();break;case"PageDown":i.preventDefault(),i.stopPropagation(),i.shiftKey?_():f();break;case"Home":i.preventDefault(),i.stopPropagation(),g();break;case"End":i.preventDefault(),i.stopPropagation(),E()}null===(o=n.onDayKeyDown)||void 0===o||o.call(n,e,t,i)},onKeyUp:function(i){var o;null===(o=n.onDayKeyUp)||void 0===o||o.call(n,e,t,i)},onMouseEnter:function(i){var o;null===(o=n.onDayMouseEnter)||void 0===o||o.call(n,e,t,i)},onMouseLeave:function(i){var o;null===(o=n.onDayMouseLeave)||void 0===o||o.call(n,e,t,i)},onPointerEnter:function(i){var o;null===(o=n.onDayPointerEnter)||void 0===o||o.call(n,e,t,i)},onPointerLeave:function(i){var o;null===(o=n.onDayPointerLeave)||void 0===o||o.call(n,e,t,i)},onTouchCancel:function(i){var o;null===(o=n.onDayTouchCancel)||void 0===o||o.call(n,e,t,i)},onTouchEnd:function(i){var o;null===(o=n.onDayTouchEnd)||void 0===o||o.call(n,e,t,i)},onTouchMove:function(i){var o;null===(o=n.onDayTouchMove)||void 0===o||o.call(n,e,t,i)},onTouchStart:function(i){var o;null===(o=n.onDayTouchStart)||void 0===o||o.call(n,e,t,i)}};return v}(e,u),p=function(){var e=ke(),t=Pt(),n=nt(),i=st();return Ie(e)?t.selected:Te(e)?n.selected:Ae(e)?i.selected:void 0}(),h=Boolean(c.onDayClick||"default"!==c.mode);(0,o.useEffect)((function(){var t;u.outside||l.focusedDay&&h&&(0,ce.r)(l.focusedDay,e)&&(null===(t=n.current)||void 0===t||t.focus())}),[l.focusedDay,e,n,h,u.outside]);var f=Lt(c,u).join(" "),m=function(e,t){var n=be({},e.styles.day);return Object.keys(t).forEach((function(t){var i;n=be(be({},n),null===(i=e.modifiersStyles)||void 0===i?void 0:i[t])})),n}(c,u),_=Boolean(u.outside&&!c.showOutsideDays||u.hidden),g=null!==(s=null===(a=c.components)||void 0===a?void 0:a.DayContent)&&void 0!==s?s:Ze,E={style:m,className:f,children:(0,i.jsx)(g,{date:e,displayMonth:t,activeModifiers:u}),role:"gridcell"},v=l.focusTarget&&(0,ce.r)(l.focusTarget,e)&&!u.outside,y=l.focusedDay&&(0,ce.r)(l.focusedDay,e),b=be(be(be({},E),((r={disabled:u.disabled,role:"gridcell"})["aria-selected"]=u.selected,r.tabIndex=y||v?0:-1,r)),d);return{isButton:h,isHidden:_,activeModifiers:u,selectedDays:p,buttonProps:b,divProps:E}}function wt(e){var t=(0,o.useRef)(null),n=kt(e.date,e.displayMonth,t);return n.isHidden?(0,i.jsx)("div",{role:"gridcell"}):n.isButton?(0,i.jsx)(Ye,be({name:"day",ref:t},n.buttonProps)):(0,i.jsx)("div",be({},n.divProps))}function Dt(e){var t=e.number,n=e.dates,o=ke(),r=o.onWeekNumberClick,a=o.styles,s=o.classNames,c=o.locale,l=o.labels.labelWeekNumber,u=(0,o.formatters.formatWeekNumber)(Number(t),{locale:c});if(!r)return(0,i.jsx)("span",{className:s.weeknumber,style:a.weeknumber,children:u});var d=l(Number(t),{locale:c});return(0,i.jsx)(Ye,{name:"week-number","aria-label":d,className:s.weeknumber,style:a.weeknumber,onClick:function(e){r(t,n,e)},children:u})}function Mt(e){var t,n,o,r=ke(),a=r.styles,s=r.classNames,c=r.showWeekNumber,l=r.components,u=null!==(t=null==l?void 0:l.Day)&&void 0!==t?t:wt,d=null!==(n=null==l?void 0:l.WeekNumber)&&void 0!==n?n:Dt;return c&&(o=(0,i.jsx)("td",{className:s.cell,style:a.cell,children:(0,i.jsx)(d,{number:e.weekNumber,dates:e.dates})})),(0,i.jsxs)("tr",{className:s.row,style:a.row,children:[o,e.dates.map((function(t){return(0,i.jsx)("td",{className:s.cell,style:a.cell,role:"presentation",children:(0,i.jsx)(u,{displayMonth:e.displayMonth,date:t})},ge(t))}))]})}function xt(e,t,n){for(var i=(null==n?void 0:n.ISOWeek)?fe(t):he(t,n),o=(null==n?void 0:n.ISOWeek)?g(e):(0,_.k)(e,n),r=p(i,o),a=[],s=0;s<=r;s++)a.push(se(o,s));return a.reduce((function(e,t){var i=(null==n?void 0:n.ISOWeek)?y(t):T(t,n),o=e.find((function(e){return e.weekNumber===i}));return o?(o.dates.push(t),e):(e.push({weekNumber:i,dates:[t]}),e)}),[])}function Ut(e){var t,n,o,r=ke(),a=r.locale,s=r.classNames,c=r.styles,l=r.hideHead,u=r.fixedWeeks,d=r.components,p=r.weekStartsOn,h=r.firstWeekContainsDate,f=r.ISOWeek,m=function(e,t){var n=xt($(e),Z(e),t);if(null==t?void 0:t.useFixedWeeks){var i=ye(e,t);if(i<6){var o=n[n.length-1],r=o.dates[o.dates.length-1],a=de(r,6-i),s=xt(de(r,1),a,t);n.push.apply(n,s)}}return n}(e.displayMonth,{useFixedWeeks:Boolean(u),ISOWeek:f,locale:a,weekStartsOn:p,firstWeekContainsDate:h}),_=null!==(t=null==d?void 0:d.Head)&&void 0!==t?t:$e,g=null!==(n=null==d?void 0:d.Row)&&void 0!==n?n:Mt,E=null!==(o=null==d?void 0:d.Footer)&&void 0!==o?o:qe;return(0,i.jsxs)("table",{id:e.id,className:s.table,style:c.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&(0,i.jsx)(_,{}),(0,i.jsx)("tbody",{className:s.tbody,style:c.tbody,children:m.map((function(t){return(0,i.jsx)(g,{displayMonth:e.displayMonth,dates:t.dates,weekNumber:t.weekNumber},t.weekNumber)}))}),(0,i.jsx)(E,{displayMonth:e.displayMonth})]})}var Vt="undefined"!=typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,Ft=!1,Bt=0;function Ht(){return"react-day-picker-".concat(++Bt)}function Gt(e){var t,n,r=ke(),a=r.dir,s=r.classNames,c=r.styles,l=r.components,u=He().displayMonths,d=function(e){var t,n=null!=e?e:Ft?Ht():null,i=(0,o.useState)(n),r=i[0],a=i[1];return Vt((function(){null===r&&a(Ht())}),[]),(0,o.useEffect)((function(){!1===Ft&&(Ft=!0)}),[]),null!==(t=null!=e?e:r)&&void 0!==t?t:void 0}(r.id?"".concat(r.id,"-").concat(e.displayIndex):void 0),p=r.id?"".concat(r.id,"-grid-").concat(e.displayIndex):void 0,h=[s.month],f=c.month,m=0===e.displayIndex,_=e.displayIndex===u.length-1,g=!m&&!_;"rtl"===a&&(_=(t=[m,_])[0],m=t[1]),m&&(h.push(s.caption_start),f=be(be({},f),c.caption_start)),_&&(h.push(s.caption_end),f=be(be({},f),c.caption_end)),g&&(h.push(s.caption_between),f=be(be({},f),c.caption_between));var E=null!==(n=null==l?void 0:l.Caption)&&void 0!==n?n:Je;return(0,i.jsxs)("div",{className:h.join(" "),style:f,children:[(0,i.jsx)(E,{id:d,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),(0,i.jsx)(Ut,{id:p,"aria-labelledby":d,displayMonth:e.displayMonth})]},e.displayIndex)}function Wt(e){var t=ke(),n=t.classNames,o=t.styles;return(0,i.jsx)("div",{className:n.months,style:o.months,children:e.children})}function jt(e){var t,n,r=e.initialProps,a=ke(),s=Ot(),c=He(),l=(0,o.useState)(!1),u=l[0],d=l[1];(0,o.useEffect)((function(){a.initialFocus&&s.focusTarget&&(u||(s.focus(s.focusTarget),d(!0)))}),[a.initialFocus,u,s.focus,s.focusTarget,s]);var p=[a.classNames.root,a.className];a.numberOfMonths>1&&p.push(a.classNames.multiple_months),a.showWeekNumber&&p.push(a.classNames.with_weeknumber);var h=be(be({},a.styles.root),a.style),f=Object.keys(r).filter((function(e){return e.startsWith("data-")})).reduce((function(e,t){var n;return be(be({},e),((n={})[t]=r[t],n))}),{}),m=null!==(n=null===(t=r.components)||void 0===t?void 0:t.Months)&&void 0!==n?n:Wt;return(0,i.jsx)("div",be({className:p.join(" "),style:h,dir:a.dir,id:a.id,nonce:r.nonce,title:r.title,lang:r.lang},f,{children:(0,i.jsx)(m,{children:c.displayMonths.map((function(e,t){return(0,i.jsx)(Gt,{displayIndex:t,displayMonth:e},t)}))})}))}function Yt(e){var t=e.children,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}(e,["children"]);return(0,i.jsx)(Le,{initialProps:n,children:(0,i.jsx)(Be,{children:(0,i.jsx)(Rt,{initialProps:n,children:(0,i.jsx)(et,{initialProps:n,children:(0,i.jsx)(rt,{initialProps:n,children:(0,i.jsx)(Et,{children:(0,i.jsx)(It,{children:t})})})})})})})}function zt(e){return(0,i.jsx)(Yt,be({},e,{children:(0,i.jsx)(jt,{initialProps:e})}))}},67495:(e,t,n)=>{"use strict";var i=n(30758);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,a=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,s={},c={};function l(e){return!!r.call(c,e)||!r.call(s,e)&&(a.test(e)?c[e]=!0:(s[e]=!0,!1))}function u(e,t,n,i,o,r,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=a}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){d[e]=new u(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];d[t]=new u(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){d[e]=new u(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){d[e]=new u(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){d[e]=new u(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){d[e]=new u(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){d[e]=new u(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){d[e]=new u(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){d[e]=new u(e,5,!1,e.toLowerCase(),null,!1,!1)}));var p=/[\-:]([a-z])/g;function h(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(p,h);d[t]=new u(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(p,h);d[t]=new u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(p,h);d[t]=new u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){d[e]=new u(e,1,!1,e.toLowerCase(),null,!1,!1)})),d.xlinkHref=new u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){d[e]=new u(e,1,!1,e.toLowerCase(),null,!0,!0)}));var f={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(f).forEach((function(e){m.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),f[t]=f[e]}))}));var _=/["'&<>]/;function g(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=_.exec(e);if(t){var n,i="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(i+=e.substring(o,n)),o=n+1,i+=t}e=o!==n?i+e.substring(o,n):i}return e}var E=/([A-Z])/g,v=/^ms-/,y=Array.isArray;function b(e,t){return{insertionMode:e,selectedValue:t}}var S=new Map;function T(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var i in t=!0,n)if(r.call(n,i)){var a=n[i];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===i.indexOf("--")){var s=g(i);a=g((""+a).trim())}else{s=i;var c=S.get(s);void 0!==c||(c=g(s.replace(E,"-$1").toLowerCase().replace(v,"-ms-")),S.set(s,c)),s=c,a="number"==typeof a?0===a||r.call(f,i)?""+a:a+"px":g((""+a).trim())}t?(t=!1,e.push(' style="',s,":",a)):e.push(";",s,":",a)}}t||e.push('"')}function A(e,t,n,i){switch(n){case"style":return void T(e,t,i);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=d.hasOwnProperty(n)?d[n]:null)){switch(typeof i){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:i&&e.push(" ",n,'=""');break;case 4:!0===i?e.push(" ",n,'=""'):!1!==i&&e.push(" ",n,'="',g(i),'"');break;case 5:isNaN(i)||e.push(" ",n,'="',g(i),'"');break;case 6:!isNaN(i)&&1<=i&&e.push(" ",n,'="',g(i),'"');break;default:t.sanitizeURL&&(i=""+i),e.push(" ",n,'="',g(i),'"')}}else if(l(n)){switch(typeof i){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",n,'="',g(i),'"')}}function I(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(""+t)}}function O(e,t,n,i){e.push(N(n));var o,a=n=null;for(o in t)if(r.call(t,o)){var s=t[o];if(null!=s)switch(o){case"children":n=s;break;case"dangerouslySetInnerHTML":a=s;break;default:A(e,i,o,s)}}return e.push(">"),I(e,a,n),"string"==typeof n?(e.push(g(n)),null):n}var C=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,R=new Map;function N(e){var t=R.get(e);if(void 0===t){if(!C.test(e))throw Error(o(65,e));t="<"+e,R.set(e,t)}return t}function P(e,t,n,a,s){switch(t){case"select":e.push(N("select"));var c=null,u=null;for(f in n)if(r.call(n,f)){var d=n[f];if(null!=d)switch(f){case"children":c=d;break;case"dangerouslySetInnerHTML":u=d;break;case"defaultValue":case"value":break;default:A(e,a,f,d)}}return e.push(">"),I(e,u,c),c;case"option":u=s.selectedValue,e.push(N("option"));var p=d=null,h=null,f=null;for(c in n)if(r.call(n,c)){var m=n[c];if(null!=m)switch(c){case"children":d=m;break;case"selected":h=m;break;case"dangerouslySetInnerHTML":f=m;break;case"value":p=m;default:A(e,a,c,m)}}if(null!=u)if(n=null!==p?""+p:function(e){var t="";return i.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(d),y(u)){for(a=0;a<u.length;a++)if(""+u[a]===n){e.push(' selected=""');break}}else""+u===n&&e.push(' selected=""');else h&&e.push(' selected=""');return e.push(">"),I(e,f,d),d;case"textarea":for(d in e.push(N("textarea")),f=u=c=null,n)if(r.call(n,d)&&null!=(p=n[d]))switch(d){case"children":f=p;break;case"value":c=p;break;case"defaultValue":u=p;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:A(e,a,d,p)}if(null===c&&null!==u&&(c=u),e.push(">"),null!=f){if(null!=c)throw Error(o(92));if(y(f)&&1<f.length)throw Error(o(93));c=""+f}return"string"==typeof c&&"\n"===c[0]&&e.push("\n"),null!==c&&e.push(g(""+c)),null;case"input":for(u in e.push(N("input")),p=f=d=c=null,n)if(r.call(n,u)&&null!=(h=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":p=h;break;case"defaultValue":d=h;break;case"checked":f=h;break;case"value":c=h;break;default:A(e,a,u,h)}return null!==f?A(e,a,"checked",f):null!==p&&A(e,a,"checked",p),null!==c?A(e,a,"value",c):null!==d&&A(e,a,"value",d),e.push("/>"),null;case"menuitem":for(var _ in e.push(N("menuitem")),n)if(r.call(n,_)&&null!=(c=n[_]))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:A(e,a,_,c)}return e.push(">"),null;case"title":for(m in e.push(N("title")),c=null,n)if(r.call(n,m)&&null!=(u=n[m]))switch(m){case"children":c=u;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:A(e,a,m,u)}return e.push(">"),c;case"listing":case"pre":for(p in e.push(N(t)),u=c=null,n)if(r.call(n,p)&&null!=(d=n[p]))switch(p){case"children":c=d;break;case"dangerouslySetInnerHTML":u=d;break;default:A(e,a,p,d)}if(e.push(">"),null!=u){if(null!=c)throw Error(o(60));if("object"!=typeof u||!("__html"in u))throw Error(o(61));null!=(n=u.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push("\n",n):e.push(""+n))}return"string"==typeof c&&"\n"===c[0]&&e.push("\n"),c;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var E in e.push(N(t)),n)if(r.call(n,E)&&null!=(c=n[E]))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:A(e,a,E,c)}return e.push("/>"),null;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 O(e,n,t,a);case"html":return 0===s.insertionMode&&e.push("<!DOCTYPE html>"),O(e,n,t,a);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return O(e,n,t,a);for(h in e.push(N(t)),u=c=null,n)if(r.call(n,h)&&null!=(d=n[h]))switch(h){case"children":c=d;break;case"dangerouslySetInnerHTML":u=d;break;case"style":T(e,a,d);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(h)&&"function"!=typeof d&&"symbol"!=typeof d&&e.push(" ",h,'="',g(d),'"')}return e.push(">"),I(e,u,c),c}}function L(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(o(395));return e.push(n),e.push('"></template>')}var k=/[<\u2028\u2029]/g;function w(e){return JSON.stringify(e).replace(k,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function D(e,t,n,i){return n.generateStaticMarkup?(e.push(g(t)),!1):(""===t?e=i:(i&&e.push("\x3c!-- --\x3e"),e.push(g(t)),e=!0),e)}var M=Object.assign,x=Symbol.for("react.element"),U=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),G=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),J=Symbol.for("react.scope"),q=Symbol.for("react.debug_trace_mode"),X=Symbol.for("react.legacy_hidden"),$=Symbol.for("react.default_value"),Z=Symbol.iterator;function Q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case V:return"Fragment";case U:return"Portal";case B:return"Profiler";case F:return"StrictMode";case j:return"Suspense";case Y:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case G:return(e.displayName||"Context")+".Consumer";case H:return(e._context.displayName||"Context")+".Provider";case W:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case z:return null!==(t=e.displayName||null)?t:Q(e.type)||"Memo";case K:t=e._payload,e=e._init;try{return Q(e(t))}catch(e){}}return null}var ee={};function te(e,t){if(!(e=e.contextTypes))return ee;var n,i={};for(n in e)i[n]=t[n];return i}var ne=null;function ie(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));ie(e,n)}t.context._currentValue2=t.value}}function oe(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&oe(e)}function re(e){var t=e.parent;null!==t&&re(t),e.context._currentValue2=e.value}function ae(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?ie(e,t):ae(e,t)}function se(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?ie(e,n):se(e,n),t.context._currentValue2=t.value}function ce(e){var t=ne;t!==e&&(null===t?re(e):null===e?oe(t):t.depth===e.depth?ie(t,e):t.depth>e.depth?ae(t,e):se(t,e),ne=e)}var le={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function ue(e,t,n,i){var o=void 0!==e.state?e.state:null;e.updater=le,e.props=n,e.state=o;var r={queue:[],replace:!1};e._reactInternals=r;var a=t.contextType;if(e.context="object"==typeof a&&null!==a?a._currentValue2:i,"function"==typeof(a=t.getDerivedStateFromProps)&&(o=null==(a=a(n,o))?o:M({},o,a),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&le.enqueueReplaceState(e,e.state,null),null!==r.queue&&0<r.queue.length)if(t=r.queue,a=r.replace,r.queue=null,r.replace=!1,a&&1===t.length)e.state=t[0];else{for(r=a?t[0]:e.state,o=!0,a=a?1:0;a<t.length;a++){var s=t[a];null!=(s="function"==typeof s?s.call(e,r,n,i):s)&&(o?(o=!1,r=M({},r,s)):M(r,s))}e.state=r}else r.queue=null}var de={id:1,overflow:""};function pe(e,t,n){var i=e.id;e=e.overflow;var o=32-he(i)-1;i&=~(1<<o),n+=1;var r=32-he(t)+o;if(30<r){var a=o-o%5;return r=(i&(1<<a)-1).toString(32),i>>=a,o-=a,{id:1<<32-he(t)+o|n<<o|i,overflow:r+e}}return{id:1<<r|n<<o|i,overflow:e}}var he=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(fe(e)/me|0)|0},fe=Math.log,me=Math.LN2;var _e="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ge=null,Ee=null,ve=null,ye=null,be=!1,Se=!1,Te=0,Ae=null,Ie=0;function Oe(){if(null===ge)throw Error(o(321));return ge}function Ce(){if(0<Ie)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Re(){return null===ye?null===ve?(be=!1,ve=ye=Ce()):(be=!0,ye=ve):null===ye.next?(be=!1,ye=ye.next=Ce()):(be=!0,ye=ye.next),ye}function Ne(){Ee=ge=null,Se=!1,ve=null,Ie=0,ye=Ae=null}function Pe(e,t){return"function"==typeof t?t(e):t}function Le(e,t,n){if(ge=Oe(),ye=Re(),be){var i=ye.queue;if(t=i.dispatch,null!==Ae&&void 0!==(n=Ae.get(i))){Ae.delete(i),i=ye.memoizedState;do{i=e(i,n.action),n=n.next}while(null!==n);return ye.memoizedState=i,[i,t]}return[ye.memoizedState,t]}return e=e===Pe?"function"==typeof t?t():t:void 0!==n?n(t):t,ye.memoizedState=e,e=(e=ye.queue={last:null,dispatch:null}).dispatch=we.bind(null,ge,e),[ye.memoizedState,e]}function ke(e,t){if(ge=Oe(),t=void 0===t?null:t,null!==(ye=Re())){var n=ye.memoizedState;if(null!==n&&null!==t){var i=n[1];e:if(null===i)i=!1;else{for(var o=0;o<i.length&&o<t.length;o++)if(!_e(t[o],i[o])){i=!1;break e}i=!0}if(i)return n[0]}}return e=e(),ye.memoizedState=[e,t],e}function we(e,t,n){if(25<=Ie)throw Error(o(301));if(e===ge)if(Se=!0,e={action:n,next:null},null===Ae&&(Ae=new Map),void 0===(n=Ae.get(t)))Ae.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function De(){throw Error(o(394))}function Me(){}var xe={readContext:function(e){return e._currentValue2},useContext:function(e){return Oe(),e._currentValue2},useMemo:ke,useReducer:Le,useRef:function(e){ge=Oe();var t=(ye=Re()).memoizedState;return null===t?(e={current:e},ye.memoizedState=e):t},useState:function(e){return Le(Pe,e)},useInsertionEffect:Me,useLayoutEffect:function(){},useCallback:function(e,t){return ke((function(){return e}),t)},useImperativeHandle:Me,useEffect:Me,useDebugValue:Me,useDeferredValue:function(e){return Oe(),e},useTransition:function(){return Oe(),[!1,De]},useId:function(){var e=Ee.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-he(e)-1)).toString(32)+t;var n=Ue;if(null===n)throw Error(o(404));return t=Te++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Oe(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},Ue=null,Ve=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Fe(e){return console.error(e),null}function Be(){}function He(e,t,n,i,o,r,a,s){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var c={node:t,ping:function(){var t=e.pingedTasks;t.push(c),1===t.length&&nt(e)},blockedBoundary:n,blockedSegment:i,abortSet:o,legacyContext:r,context:a,treeContext:s};return o.add(c),c}function Ge(e,t,n,i,o,r){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:i,boundary:n,lastPushedText:o,textEmbedded:r}}function We(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function je(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function Ye(e,t,n,i,o){for(ge={},Ee=t,Te=0,e=n(i,o);Se;)Se=!1,Te=0,Ie+=1,ye=null,e=n(i,o);return Ne(),e}function ze(e,t,n,i){var r=n.render(),a=i.childContextTypes;if(null!=a){var s=t.legacyContext;if("function"!=typeof n.getChildContext)i=s;else{for(var c in n=n.getChildContext())if(!(c in a))throw Error(o(108,Q(i)||"Unknown",c));i=M({},s,n)}t.legacyContext=i,qe(e,t,r),t.legacyContext=s}else qe(e,t,r)}function Ke(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Je(e,t,n,i,r){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){r=te(n,t.legacyContext);var a=n.contextType;ue(a=new n(i,"object"==typeof a&&null!==a?a._currentValue2:r),n,i,r),ze(e,t,a,n)}else{r=Ye(e,t,n,i,a=te(n,t.legacyContext));var s=0!==Te;if("object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof)ue(r,n,i,a),ze(e,t,r,n);else if(s){i=t.treeContext,t.treeContext=pe(i,1,0);try{qe(e,t,r)}finally{t.treeContext=i}}else qe(e,t,r)}else{if("string"!=typeof n){switch(n){case X:case q:case F:case B:case V:case Y:return void qe(e,t,i.children);case J:throw Error(o(343));case j:e:{n=t.blockedBoundary,r=t.blockedSegment,a=i.fallback,i=i.children;var c={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s=new Set,errorDigest:null},l=Ge(0,r.chunks.length,c,r.formatContext,!1,!1);r.children.push(l),r.lastPushedText=!1;var u=Ge(0,0,null,r.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=c,t.blockedSegment=u;try{if($e(e,t,i),e.responseState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("\x3c!-- --\x3e"),u.status=1,et(c,u),0===c.pendingTasks)break e}catch(t){u.status=4,c.forceClientRender=!0,c.errorDigest=We(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=r}t=He(e,a,n,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case W:if(i=Ye(e,t,n.render,i,r),0!==Te){n=t.treeContext,t.treeContext=pe(n,1,0);try{qe(e,t,i)}finally{t.treeContext=n}}else qe(e,t,i);return;case z:return void Je(e,t,n=n.type,i=Ke(n,i),r);case H:if(r=i.children,n=n._context,i=i.value,a=n._currentValue2,n._currentValue2=i,ne=i={parent:s=ne,depth:null===s?0:s.depth+1,context:n,parentValue:a,value:i},t.context=i,qe(e,t,r),null===(e=ne))throw Error(o(403));return i=e.parentValue,e.context._currentValue2=i===$?e.context._defaultValue:i,e=ne=e.parent,void(t.context=e);case G:return void qe(e,t,i=(i=i.children)(n._currentValue2));case K:return void Je(e,t,n=(r=n._init)(n._payload),i=Ke(n,i),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(a=P((r=t.blockedSegment).chunks,n,i,e.responseState,r.formatContext),r.lastPushedText=!1,s=r.formatContext,r.formatContext=function(e,t,n){switch(t){case"select":return b(1,null!=n.value?n.value:n.defaultValue);case"svg":return b(2,null);case"math":return b(3,null);case"foreignObject":return b(1,null);case"table":return b(4,null);case"thead":case"tbody":case"tfoot":return b(5,null);case"colgroup":return b(7,null);case"tr":return b(6,null)}return 4<=e.insertionMode||0===e.insertionMode?b(1,null):e}(s,n,i),$e(e,t,a),r.formatContext=s,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:r.chunks.push("</",n,">")}r.lastPushedText=!1}}function qe(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case x:return void Je(e,t,n.type,n.props,n.ref);case U:throw Error(o(257));case K:var i=n._init;return void qe(e,t,n=i(n._payload))}if(y(n))return void Xe(e,t,n);if(null===n||"object"!=typeof n?i=null:i="function"==typeof(i=Z&&n[Z]||n["@@iterator"])?i:null,i&&(i=i.call(n))){if(!(n=i.next()).done){var r=[];do{r.push(n.value),n=i.next()}while(!n.done);Xe(e,t,r)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(i=t.blockedSegment).lastPushedText=D(t.blockedSegment.chunks,n,e.responseState,i.lastPushedText):"number"==typeof n&&((i=t.blockedSegment).lastPushedText=D(t.blockedSegment.chunks,""+n,e.responseState,i.lastPushedText))}function Xe(e,t,n){for(var i=n.length,o=0;o<i;o++){var r=t.treeContext;t.treeContext=pe(r,i,o);try{$e(e,t,n[o])}finally{t.treeContext=r}}}function $e(e,t,n){var i=t.blockedSegment.formatContext,o=t.legacyContext,r=t.context;try{return qe(e,t,n)}catch(c){if(Ne(),"object"!=typeof c||null===c||"function"!=typeof c.then)throw t.blockedSegment.formatContext=i,t.legacyContext=o,t.context=r,ce(r),c;n=c;var a=t.blockedSegment,s=Ge(0,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=He(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=i,t.legacyContext=o,t.context=r,ce(r)}}function Ze(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,tt(this,t,e)}function Qe(e,t,n){var i=e.blockedBoundary;e.blockedSegment.status=3,null===i?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(i.pendingTasks--,i.forceClientRender||(i.forceClientRender=!0,e=void 0===n?Error(o(432)):n,i.errorDigest=t.onError(e),i.parentFlushed&&t.clientRenderedBoundaries.push(i)),i.fallbackAbortableTasks.forEach((function(e){return Qe(e,t,n)})),i.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(i=t.onAllReady)())}function et(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&et(e,n)}else e.completedSegments.push(t)}function tt(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=Be,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&et(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Ze,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(et(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function nt(e){if(2!==e.status){var t=ne,n=Ve.current;Ve.current=xe;var i=Ue;Ue=e.responseState;try{var o,r=e.pingedTasks;for(o=0;o<r.length;o++){var a=r[o],s=e,c=a.blockedSegment;if(0===c.status){ce(a.context);try{qe(s,a,a.node),s.responseState.generateStaticMarkup||c.lastPushedText&&c.textEmbedded&&c.chunks.push("\x3c!-- --\x3e"),a.abortSet.delete(a),c.status=1,tt(s,a.blockedBoundary,c)}catch(e){if(Ne(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var l=a.ping;e.then(l,l)}else{a.abortSet.delete(a),c.status=4;var u=a.blockedBoundary,d=e,p=We(s,d);if(null===u?je(s,d):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=p,u.parentFlushed&&s.clientRenderedBoundaries.push(u))),s.allPendingTasks--,0===s.allPendingTasks)(0,s.onAllReady)()}}}}r.splice(0,o),null!==e.destination&&ct(e,e.destination)}catch(t){We(e,t),je(e,t)}finally{Ue=i,Ve.current=n,n===xe&&ce(t)}}}function it(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var i=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=i.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var r=!0;i=n.chunks;var a=0;n=n.children;for(var s=0;s<n.length;s++){for(r=n[s];a<r.index;a++)t.push(i[a]);r=ot(e,t,r)}for(;a<i.length-1;a++)t.push(i[a]);return a<i.length&&(r=t.push(i[a])),r;default:throw Error(o(390))}}function ot(e,t,n){var i=n.boundary;if(null===i)return it(e,t,n);if(i.parentFlushed=!0,i.forceClientRender)return e.responseState.generateStaticMarkup||(i=i.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),i&&(t.push(' data-dgst="'),i=g(i),t.push(i),t.push('"')),t.push("></template>")),it(e,t,n),e=!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e");if(0<i.pendingTasks){i.rootSegmentID=e.nextSegmentId++,0<i.completedSegments.length&&e.partialBoundaries.push(i);var r=e.responseState,a=r.nextSuspenseID++;return r=r.boundaryPrefix+a.toString(16),i=i.id=r,L(t,e.responseState,i),it(e,t,n),t.push("\x3c!--/$--\x3e")}if(i.byteSize>e.progressiveChunkSize)return i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),L(t,e.responseState,i.id),it(e,t,n),t.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=i.completedSegments).length)throw Error(o(391));return ot(e,t,n[0]),e=!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function rt(e,t,n){return function(e,t,n,i){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),ot(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(o(397))}}(t,n.formatContext)}function at(e,t,n){for(var i=n.completedSegments,r=0;r<i.length;r++)st(e,t,n,i[r]);if(i.length=0,e=e.responseState,i=n.id,n=n.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===i)throw Error(o(395));return n=n.toString(16),t.push(i),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function st(e,t,n,i){if(2===i.status)return!0;var r=i.id;if(-1===r){if(-1===(i.id=n.rootSegmentID))throw Error(o(392));return rt(e,t,i)}return rt(e,t,i),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),r=r.toString(16),t.push(r),t.push('","'),t.push(e.placeholderPrefix),t.push(r),t.push('")<\/script>')}function ct(e,t){try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){ot(e,t,n),e.completedRootSegment=null;var i=e.responseState.bootstrapChunks;for(n=0;n<i.length-1;n++)t.push(i[n]);n<i.length&&t.push(i[n])}var r,a=e.clientRenderedBoundaries;for(r=0;r<a.length;r++){var s=a[r];i=t;var c=e.responseState,l=s.id,u=s.errorDigest,d=s.errorMessage,p=s.errorComponentStack;if(i.push(c.startInlineScript),c.sentClientRenderFunction?i.push('$RX("'):(c.sentClientRenderFunction=!0,i.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===l)throw Error(o(395));if(i.push(l),i.push('"'),u||d||p){i.push(",");var h=w(u||"");i.push(h)}if(d||p){i.push(",");var f=w(d||"");i.push(f)}if(p){i.push(",");var m=w(p);i.push(m)}if(!i.push(")<\/script>"))return e.destination=null,r++,void a.splice(0,r)}a.splice(0,r);var _=e.completedBoundaries;for(r=0;r<_.length;r++)if(!at(e,t,_[r]))return e.destination=null,r++,void _.splice(0,r);_.splice(0,r);var g=e.partialBoundaries;for(r=0;r<g.length;r++){var E=g[r];e:{a=e,s=t;var v=E.completedSegments;for(c=0;c<v.length;c++)if(!st(a,s,E,v[c])){c++,v.splice(0,c);var y=!1;break e}v.splice(0,c),y=!0}if(!y)return e.destination=null,r++,void g.splice(0,r)}g.splice(0,r);var b=e.completedBoundaries;for(r=0;r<b.length;r++)if(!at(e,t,b[r]))return e.destination=null,r++,void b.splice(0,r);b.splice(0,r)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function lt(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Qe(n,e,t)})),n.clear(),null!==e.destination&&ct(e,e.destination)}catch(t){We(e,t),je(e,t)}}function ut(){}function dt(e,t,n,i){var r=!1,a=null,s="",c={push:function(e){return null!==e&&(s+=e),!0},destroy:function(e){r=!0,a=e}},l=!1;if(e=function(e,t,n,i,o,r,a,s,c){var l=[],u=new Set;return(n=Ge(t={destination:null,responseState:t,progressiveChunkSize:void 0===i?12800:i,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:l,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?Fe:o,onAllReady:void 0===r?Be:r,onShellReady:void 0===a?Be:a,onShellError:void 0===s?Be:s,onFatalError:void 0===c?Be:c},0,null,n,!1,!1)).parentFlushed=!0,e=He(t,e,null,n,u,ee,null,de),l.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ut,void 0,(function(){l=!0}),void 0,void 0),nt(e),lt(e,i),1===e.status)e.status=2,c.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=c;try{ct(e,c)}catch(t){We(e,t),je(e,t)}}if(r)throw a;if(!l)throw Error(o(426));return s}t.renderToNodeStream=function(){throw Error(o(207))},t.renderToStaticMarkup=function(e,t){return dt(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToStaticNodeStream=function(){throw Error(o(208))},t.renderToString=function(e,t){return dt(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="18.3.1"},29521:(e,t,n)=>{"use strict";var i=n(30758);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,a=0;function s(e,t){if(0!==t.length)if(512<t.length)0<a&&(e.enqueue(new Uint8Array(r.buffer,0,a)),r=new Uint8Array(512),a=0),e.enqueue(t);else{var n=r.length-a;n<t.length&&(0===n?e.enqueue(r):(r.set(t.subarray(0,n),a),e.enqueue(r),t=t.subarray(n)),r=new Uint8Array(512),a=0),r.set(t,a),a+=t.length}}function c(e,t){return s(e,t),!0}function l(e){r&&0<a&&(e.enqueue(new Uint8Array(r.buffer,0,a)),r=null,a=0)}var u=new TextEncoder;function d(e){return u.encode(e)}function p(e){return u.encode(e)}function h(e,t){"function"==typeof e.error?e.error(t):e.close()}var f=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_={},g={};function E(e){return!!f.call(g,e)||!f.call(_,e)&&(m.test(e)?g[e]=!0:(_[e]=!0,!1))}function v(e,t,n,i,o,r,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){y[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){y[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){y[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){y[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){y[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function S(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,S);y[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,S);y[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,S);y[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),y.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var T={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},A=["Webkit","ms","Moz","O"];Object.keys(T).forEach((function(e){A.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),T[t]=T[e]}))}));var I=/["'&<>]/;function O(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=I.exec(e);if(t){var n,i="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(i+=e.substring(o,n)),o=n+1,i+=t}e=o!==n?i+e.substring(o,n):i}return e}var C=/([A-Z])/g,R=/^ms-/,N=Array.isArray,P=p("<script>"),L=p("<\/script>"),k=p('<script src="'),w=p('<script type="module" src="'),D=p('" async=""><\/script>'),M=/(<\/|<)(s)(cript)/gi;function x(e,t,n,i){return t+("s"===n?"\\u0073":"\\u0053")+i}function U(e,t){return{insertionMode:e,selectedValue:t}}var V=p("\x3c!-- --\x3e");function F(e,t,n,i){return""===t?i:(i&&e.push(V),e.push(d(O(t))),!0)}var B=new Map,H=p(' style="'),G=p(":"),W=p(";");function j(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var i in t=!0,n)if(f.call(n,i)){var r=n[i];if(null!=r&&"boolean"!=typeof r&&""!==r){if(0===i.indexOf("--")){var a=d(O(i));r=d(O((""+r).trim()))}else{a=i;var s=B.get(a);void 0!==s||(s=p(O(a.replace(C,"-$1").toLowerCase().replace(R,"-ms-"))),B.set(a,s)),a=s,r="number"==typeof r?0===r||f.call(T,i)?d(""+r):d(r+"px"):d(O((""+r).trim()))}t?(t=!1,e.push(H,a,G,r)):e.push(W,a,G,r)}}t||e.push(K)}var Y=p(" "),z=p('="'),K=p('"'),J=p('=""');function q(e,t,n,i){switch(n){case"style":return void j(e,t,i);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=y.hasOwnProperty(n)?y[n]:null)){switch(typeof i){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=d(t.attributeName),t.type){case 3:i&&e.push(Y,n,J);break;case 4:!0===i?e.push(Y,n,J):!1!==i&&e.push(Y,n,z,d(O(i)),K);break;case 5:isNaN(i)||e.push(Y,n,z,d(O(i)),K);break;case 6:!isNaN(i)&&1<=i&&e.push(Y,n,z,d(O(i)),K);break;default:t.sanitizeURL&&(i=""+i),e.push(Y,n,z,d(O(i)),K)}}else if(E(n)){switch(typeof i){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(Y,d(n),z,d(O(i)),K)}}var X=p(">"),$=p("/>");function Z(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(d(""+t))}}var Q=p(' selected=""');function ee(e,t,n,i){e.push(oe(n));var o,r=n=null;for(o in t)if(f.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":n=a;break;case"dangerouslySetInnerHTML":r=a;break;default:q(e,i,o,a)}}return e.push(X),Z(e,r,n),"string"==typeof n?(e.push(d(O(n))),null):n}var te=p("\n"),ne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ie=new Map;function oe(e){var t=ie.get(e);if(void 0===t){if(!ne.test(e))throw Error(o(65,e));t=p("<"+e),ie.set(e,t)}return t}var re=p("<!DOCTYPE html>");function ae(e,t,n,r,a){switch(t){case"select":e.push(oe("select"));var s=null,c=null;for(h in n)if(f.call(n,h)){var l=n[h];if(null!=l)switch(h){case"children":s=l;break;case"dangerouslySetInnerHTML":c=l;break;case"defaultValue":case"value":break;default:q(e,r,h,l)}}return e.push(X),Z(e,c,s),s;case"option":c=a.selectedValue,e.push(oe("option"));var u=l=null,p=null,h=null;for(s in n)if(f.call(n,s)){var m=n[s];if(null!=m)switch(s){case"children":l=m;break;case"selected":p=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":u=m;default:q(e,r,s,m)}}if(null!=c)if(n=null!==u?""+u:function(e){var t="";return i.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(l),N(c)){for(r=0;r<c.length;r++)if(""+c[r]===n){e.push(Q);break}}else""+c===n&&e.push(Q);else p&&e.push(Q);return e.push(X),Z(e,h,l),l;case"textarea":for(l in e.push(oe("textarea")),h=c=s=null,n)if(f.call(n,l)&&null!=(u=n[l]))switch(l){case"children":h=u;break;case"value":s=u;break;case"defaultValue":c=u;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:q(e,r,l,u)}if(null===s&&null!==c&&(s=c),e.push(X),null!=h){if(null!=s)throw Error(o(92));if(N(h)&&1<h.length)throw Error(o(93));s=""+h}return"string"==typeof s&&"\n"===s[0]&&e.push(te),null!==s&&e.push(d(O(""+s))),null;case"input":for(c in e.push(oe("input")),u=h=l=s=null,n)if(f.call(n,c)&&null!=(p=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":u=p;break;case"defaultValue":l=p;break;case"checked":h=p;break;case"value":s=p;break;default:q(e,r,c,p)}return null!==h?q(e,r,"checked",h):null!==u&&q(e,r,"checked",u),null!==s?q(e,r,"value",s):null!==l&&q(e,r,"value",l),e.push($),null;case"menuitem":for(var _ in e.push(oe("menuitem")),n)if(f.call(n,_)&&null!=(s=n[_]))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:q(e,r,_,s)}return e.push(X),null;case"title":for(m in e.push(oe("title")),s=null,n)if(f.call(n,m)&&null!=(c=n[m]))switch(m){case"children":s=c;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:q(e,r,m,c)}return e.push(X),s;case"listing":case"pre":for(u in e.push(oe(t)),c=s=null,n)if(f.call(n,u)&&null!=(l=n[u]))switch(u){case"children":s=l;break;case"dangerouslySetInnerHTML":c=l;break;default:q(e,r,u,l)}if(e.push(X),null!=c){if(null!=s)throw Error(o(60));if("object"!=typeof c||!("__html"in c))throw Error(o(61));null!=(n=c.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push(te,d(n)):e.push(d(""+n)))}return"string"==typeof s&&"\n"===s[0]&&e.push(te),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var g in e.push(oe(t)),n)if(f.call(n,g)&&null!=(s=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:q(e,r,g,s)}return e.push($),null;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 ee(e,n,t,r);case"html":return 0===a.insertionMode&&e.push(re),ee(e,n,t,r);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return ee(e,n,t,r);for(p in e.push(oe(t)),c=s=null,n)if(f.call(n,p)&&null!=(l=n[p]))switch(p){case"children":s=l;break;case"dangerouslySetInnerHTML":c=l;break;case"style":j(e,r,l);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(p)&&"function"!=typeof l&&"symbol"!=typeof l&&e.push(Y,d(p),z,d(O(l)),K)}return e.push(X),Z(e,c,s),s}}var se=p("</"),ce=p(">"),le=p('<template id="'),ue=p('"></template>'),de=p("\x3c!--$--\x3e"),pe=p('\x3c!--$?--\x3e<template id="'),he=p('"></template>'),fe=p("\x3c!--$!--\x3e"),me=p("\x3c!--/$--\x3e"),_e=p("<template"),ge=p('"'),Ee=p(' data-dgst="');p(' data-msg="'),p(' data-stck="');var ve=p("></template>");function ye(e,t,n){if(s(e,pe),null===n)throw Error(o(395));return s(e,n),c(e,he)}var be=p('<div hidden id="'),Se=p('">'),Te=p("</div>"),Ae=p('<svg aria-hidden="true" style="display:none" id="'),Ie=p('">'),Oe=p("</svg>"),Ce=p('<math aria-hidden="true" style="display:none" id="'),Re=p('">'),Ne=p("</math>"),Pe=p('<table hidden id="'),Le=p('">'),ke=p("</table>"),we=p('<table hidden><tbody id="'),De=p('">'),Me=p("</tbody></table>"),xe=p('<table hidden><tr id="'),Ue=p('">'),Ve=p("</tr></table>"),Fe=p('<table hidden><colgroup id="'),Be=p('">'),He=p("</colgroup></table>");var Ge=p('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),We=p('$RS("'),je=p('","'),Ye=p('")<\/script>'),ze=p('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Ke=p('$RC("'),Je=p('","'),qe=p('")<\/script>'),Xe=p('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),$e=p('$RX("'),Ze=p('"'),Qe=p(")<\/script>"),et=p(","),tt=/[<\u2028\u2029]/g;function nt(e){return JSON.stringify(e).replace(tt,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var it=Object.assign,ot=Symbol.for("react.element"),rt=Symbol.for("react.portal"),at=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),ct=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),ut=Symbol.for("react.context"),dt=Symbol.for("react.forward_ref"),pt=Symbol.for("react.suspense"),ht=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),mt=Symbol.for("react.lazy"),_t=Symbol.for("react.scope"),gt=Symbol.for("react.debug_trace_mode"),Et=Symbol.for("react.legacy_hidden"),vt=Symbol.for("react.default_value"),yt=Symbol.iterator;function bt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case at:return"Fragment";case rt:return"Portal";case ct:return"Profiler";case st:return"StrictMode";case pt:return"Suspense";case ht:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ut:return(e.displayName||"Context")+".Consumer";case lt:return(e._context.displayName||"Context")+".Provider";case dt:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case ft:return null!==(t=e.displayName||null)?t:bt(e.type)||"Memo";case mt:t=e._payload,e=e._init;try{return bt(e(t))}catch(e){}}return null}var St={};function Tt(e,t){if(!(e=e.contextTypes))return St;var n,i={};for(n in e)i[n]=t[n];return i}var At=null;function It(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));It(e,n)}t.context._currentValue=t.value}}function Ot(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&Ot(e)}function Ct(e){var t=e.parent;null!==t&&Ct(t),e.context._currentValue=e.value}function Rt(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?It(e,t):Rt(e,t)}function Nt(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?It(e,n):Nt(e,n),t.context._currentValue=t.value}function Pt(e){var t=At;t!==e&&(null===t?Ct(e):null===e?Ot(t):t.depth===e.depth?It(t,e):t.depth>e.depth?Rt(t,e):Nt(t,e),At=e)}var Lt={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function kt(e,t,n,i){var o=void 0!==e.state?e.state:null;e.updater=Lt,e.props=n,e.state=o;var r={queue:[],replace:!1};e._reactInternals=r;var a=t.contextType;if(e.context="object"==typeof a&&null!==a?a._currentValue:i,"function"==typeof(a=t.getDerivedStateFromProps)&&(o=null==(a=a(n,o))?o:it({},o,a),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&Lt.enqueueReplaceState(e,e.state,null),null!==r.queue&&0<r.queue.length)if(t=r.queue,a=r.replace,r.queue=null,r.replace=!1,a&&1===t.length)e.state=t[0];else{for(r=a?t[0]:e.state,o=!0,a=a?1:0;a<t.length;a++){var s=t[a];null!=(s="function"==typeof s?s.call(e,r,n,i):s)&&(o?(o=!1,r=it({},r,s)):it(r,s))}e.state=r}else r.queue=null}var wt={id:1,overflow:""};function Dt(e,t,n){var i=e.id;e=e.overflow;var o=32-Mt(i)-1;i&=~(1<<o),n+=1;var r=32-Mt(t)+o;if(30<r){var a=o-o%5;return r=(i&(1<<a)-1).toString(32),i>>=a,o-=a,{id:1<<32-Mt(t)+o|n<<o|i,overflow:r+e}}return{id:1<<r|n<<o|i,overflow:e}}var Mt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(xt(e)/Ut|0)|0},xt=Math.log,Ut=Math.LN2;var Vt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ft=null,Bt=null,Ht=null,Gt=null,Wt=!1,jt=!1,Yt=0,zt=null,Kt=0;function Jt(){if(null===Ft)throw Error(o(321));return Ft}function qt(){if(0<Kt)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function Xt(){return null===Gt?null===Ht?(Wt=!1,Ht=Gt=qt()):(Wt=!0,Gt=Ht):null===Gt.next?(Wt=!1,Gt=Gt.next=qt()):(Wt=!0,Gt=Gt.next),Gt}function $t(){Bt=Ft=null,jt=!1,Ht=null,Kt=0,Gt=zt=null}function Zt(e,t){return"function"==typeof t?t(e):t}function Qt(e,t,n){if(Ft=Jt(),Gt=Xt(),Wt){var i=Gt.queue;if(t=i.dispatch,null!==zt&&void 0!==(n=zt.get(i))){zt.delete(i),i=Gt.memoizedState;do{i=e(i,n.action),n=n.next}while(null!==n);return Gt.memoizedState=i,[i,t]}return[Gt.memoizedState,t]}return e=e===Zt?"function"==typeof t?t():t:void 0!==n?n(t):t,Gt.memoizedState=e,e=(e=Gt.queue={last:null,dispatch:null}).dispatch=tn.bind(null,Ft,e),[Gt.memoizedState,e]}function en(e,t){if(Ft=Jt(),t=void 0===t?null:t,null!==(Gt=Xt())){var n=Gt.memoizedState;if(null!==n&&null!==t){var i=n[1];e:if(null===i)i=!1;else{for(var o=0;o<i.length&&o<t.length;o++)if(!Vt(t[o],i[o])){i=!1;break e}i=!0}if(i)return n[0]}}return e=e(),Gt.memoizedState=[e,t],e}function tn(e,t,n){if(25<=Kt)throw Error(o(301));if(e===Ft)if(jt=!0,e={action:n,next:null},null===zt&&(zt=new Map),void 0===(n=zt.get(t)))zt.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function nn(){throw Error(o(394))}function on(){}var rn={readContext:function(e){return e._currentValue},useContext:function(e){return Jt(),e._currentValue},useMemo:en,useReducer:Qt,useRef:function(e){Ft=Jt();var t=(Gt=Xt()).memoizedState;return null===t?(e={current:e},Gt.memoizedState=e):t},useState:function(e){return Qt(Zt,e)},useInsertionEffect:on,useLayoutEffect:function(){},useCallback:function(e,t){return en((function(){return e}),t)},useImperativeHandle:on,useEffect:on,useDebugValue:on,useDeferredValue:function(e){return Jt(),e},useTransition:function(){return Jt(),[!1,nn]},useId:function(){var e=Bt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Mt(e)-1)).toString(32)+t;var n=an;if(null===n)throw Error(o(404));return t=Yt++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Jt(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},an=null,sn=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function cn(e){return console.error(e),null}function ln(){}function un(e,t,n,i,o,r,a,s){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var c={node:t,ping:function(){var t=e.pingedTasks;t.push(c),1===t.length&&In(e)},blockedBoundary:n,blockedSegment:i,abortSet:o,legacyContext:r,context:a,treeContext:s};return o.add(c),c}function dn(e,t,n,i,o,r){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:i,boundary:n,lastPushedText:o,textEmbedded:r}}function pn(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function hn(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,h(e.destination,t)):(e.status=1,e.fatalError=t)}function fn(e,t,n,i,o){for(Ft={},Bt=t,Yt=0,e=n(i,o);jt;)jt=!1,Yt=0,Kt+=1,Gt=null,e=n(i,o);return $t(),e}function mn(e,t,n,i){var r=n.render(),a=i.childContextTypes;if(null!=a){var s=t.legacyContext;if("function"!=typeof n.getChildContext)i=s;else{for(var c in n=n.getChildContext())if(!(c in a))throw Error(o(108,bt(i)||"Unknown",c));i=it({},s,n)}t.legacyContext=i,En(e,t,r),t.legacyContext=s}else En(e,t,r)}function _n(e,t){if(e&&e.defaultProps){for(var n in t=it({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function gn(e,t,n,i,r){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){r=Tt(n,t.legacyContext);var a=n.contextType;kt(a=new n(i,"object"==typeof a&&null!==a?a._currentValue:r),n,i,r),mn(e,t,a,n)}else{r=fn(e,t,n,i,a=Tt(n,t.legacyContext));var s=0!==Yt;if("object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof)kt(r,n,i,a),mn(e,t,r,n);else if(s){i=t.treeContext,t.treeContext=Dt(i,1,0);try{En(e,t,r)}finally{t.treeContext=i}}else En(e,t,r)}else{if("string"!=typeof n){switch(n){case Et:case gt:case st:case ct:case at:case ht:return void En(e,t,i.children);case _t:throw Error(o(343));case pt:e:{n=t.blockedBoundary,r=t.blockedSegment,a=i.fallback,i=i.children;var c={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s=new Set,errorDigest:null},l=dn(0,r.chunks.length,c,r.formatContext,!1,!1);r.children.push(l),r.lastPushedText=!1;var u=dn(0,0,null,r.formatContext,!1,!1);u.parentFlushed=!0,t.blockedBoundary=c,t.blockedSegment=u;try{if(yn(e,t,i),u.lastPushedText&&u.textEmbedded&&u.chunks.push(V),u.status=1,Tn(c,u),0===c.pendingTasks)break e}catch(t){u.status=4,c.forceClientRender=!0,c.errorDigest=pn(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=r}t=un(e,a,n,l,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case dt:if(i=fn(e,t,n.render,i,r),0!==Yt){n=t.treeContext,t.treeContext=Dt(n,1,0);try{En(e,t,i)}finally{t.treeContext=n}}else En(e,t,i);return;case ft:return void gn(e,t,n=n.type,i=_n(n,i),r);case lt:if(r=i.children,n=n._context,i=i.value,a=n._currentValue,n._currentValue=i,At=i={parent:s=At,depth:null===s?0:s.depth+1,context:n,parentValue:a,value:i},t.context=i,En(e,t,r),null===(e=At))throw Error(o(403));return i=e.parentValue,e.context._currentValue=i===vt?e.context._defaultValue:i,e=At=e.parent,void(t.context=e);case ut:return void En(e,t,i=(i=i.children)(n._currentValue));case mt:return void gn(e,t,n=(r=n._init)(n._payload),i=_n(n,i),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(a=ae((r=t.blockedSegment).chunks,n,i,e.responseState,r.formatContext),r.lastPushedText=!1,s=r.formatContext,r.formatContext=function(e,t,n){switch(t){case"select":return U(1,null!=n.value?n.value:n.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=e.insertionMode||0===e.insertionMode?U(1,null):e}(s,n,i),yn(e,t,a),r.formatContext=s,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:r.chunks.push(se,d(n),ce)}r.lastPushedText=!1}}function En(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case ot:return void gn(e,t,n.type,n.props,n.ref);case rt:throw Error(o(257));case mt:var i=n._init;return void En(e,t,n=i(n._payload))}if(N(n))return void vn(e,t,n);if(null===n||"object"!=typeof n?i=null:i="function"==typeof(i=yt&&n[yt]||n["@@iterator"])?i:null,i&&(i=i.call(n))){if(!(n=i.next()).done){var r=[];do{r.push(n.value),n=i.next()}while(!n.done);vn(e,t,r)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(i=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,n,e.responseState,i.lastPushedText):"number"==typeof n&&((i=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,""+n,e.responseState,i.lastPushedText))}function vn(e,t,n){for(var i=n.length,o=0;o<i;o++){var r=t.treeContext;t.treeContext=Dt(r,i,o);try{yn(e,t,n[o])}finally{t.treeContext=r}}}function yn(e,t,n){var i=t.blockedSegment.formatContext,o=t.legacyContext,r=t.context;try{return En(e,t,n)}catch(c){if($t(),"object"!=typeof c||null===c||"function"!=typeof c.then)throw t.blockedSegment.formatContext=i,t.legacyContext=o,t.context=r,Pt(r),c;n=c;var a=t.blockedSegment,s=dn(0,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=un(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=i,t.legacyContext=o,t.context=r,Pt(r)}}function bn(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,An(this,t,e)}function Sn(e,t,n){var i=e.blockedBoundary;e.blockedSegment.status=3,null===i?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(i.pendingTasks--,i.forceClientRender||(i.forceClientRender=!0,e=void 0===n?Error(o(432)):n,i.errorDigest=t.onError(e),i.parentFlushed&&t.clientRenderedBoundaries.push(i)),i.fallbackAbortableTasks.forEach((function(e){return Sn(e,t,n)})),i.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(i=t.onAllReady)())}function Tn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Tn(e,n)}else e.completedSegments.push(t)}function An(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=ln,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&Tn(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(bn,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(Tn(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function In(e){if(2!==e.status){var t=At,n=sn.current;sn.current=rn;var i=an;an=e.responseState;try{var o,r=e.pingedTasks;for(o=0;o<r.length;o++){var a=r[o],s=e,c=a.blockedSegment;if(0===c.status){Pt(a.context);try{En(s,a,a.node),c.lastPushedText&&c.textEmbedded&&c.chunks.push(V),a.abortSet.delete(a),c.status=1,An(s,a.blockedBoundary,c)}catch(e){if($t(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var l=a.ping;e.then(l,l)}else{a.abortSet.delete(a),c.status=4;var u=a.blockedBoundary,d=e,p=pn(s,d);if(null===u?hn(s,d):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=p,u.parentFlushed&&s.clientRenderedBoundaries.push(u))),s.allPendingTasks--,0===s.allPendingTasks)(0,s.onAllReady)()}}}}r.splice(0,o),null!==e.destination&&Ln(e,e.destination)}catch(t){pn(e,t),hn(e,t)}finally{an=i,sn.current=n,n===rn&&Pt(t)}}}function On(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var i=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,s(t,le),s(t,e.placeholderPrefix),s(t,e=d(i.toString(16))),c(t,ue);case 1:n.status=2;var r=!0;i=n.chunks;var a=0;n=n.children;for(var l=0;l<n.length;l++){for(r=n[l];a<r.index;a++)s(t,i[a]);r=Cn(e,t,r)}for(;a<i.length-1;a++)s(t,i[a]);return a<i.length&&(r=c(t,i[a])),r;default:throw Error(o(390))}}function Cn(e,t,n){var i=n.boundary;if(null===i)return On(e,t,n);if(i.parentFlushed=!0,i.forceClientRender)i=i.errorDigest,c(t,fe),s(t,_e),i&&(s(t,Ee),s(t,d(O(i))),s(t,ge)),c(t,ve),On(e,t,n);else if(0<i.pendingTasks){i.rootSegmentID=e.nextSegmentId++,0<i.completedSegments.length&&e.partialBoundaries.push(i);var r=e.responseState,a=r.nextSuspenseID++;r=p(r.boundaryPrefix+a.toString(16)),i=i.id=r,ye(t,e.responseState,i),On(e,t,n)}else if(i.byteSize>e.progressiveChunkSize)i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),ye(t,e.responseState,i.id),On(e,t,n);else{if(c(t,de),1!==(n=i.completedSegments).length)throw Error(o(391));Cn(e,t,n[0])}return c(t,me)}function Rn(e,t,n){return function(e,t,n,i){switch(n.insertionMode){case 0:case 1:return s(e,be),s(e,t.segmentPrefix),s(e,d(i.toString(16))),c(e,Se);case 2:return s(e,Ae),s(e,t.segmentPrefix),s(e,d(i.toString(16))),c(e,Ie);case 3:return s(e,Ce),s(e,t.segmentPrefix),s(e,d(i.toString(16))),c(e,Re);case 4:return s(e,Pe),s(e,t.segmentPrefix),s(e,d(i.toString(16))),c(e,Le);case 5:return s(e,we),s(e,t.segmentPrefix),s(e,d(i.toString(16))),c(e,De);case 6:return s(e,xe),s(e,t.segmentPrefix),s(e,d(i.toString(16))),c(e,Ue);case 7:return s(e,Fe),s(e,t.segmentPrefix),s(e,d(i.toString(16))),c(e,Be);default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),Cn(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return c(e,Te);case 2:return c(e,Oe);case 3:return c(e,Ne);case 4:return c(e,ke);case 5:return c(e,Me);case 6:return c(e,Ve);case 7:return c(e,He);default:throw Error(o(397))}}(t,n.formatContext)}function Nn(e,t,n){for(var i=n.completedSegments,r=0;r<i.length;r++)Pn(e,t,n,i[r]);if(i.length=0,e=e.responseState,i=n.id,n=n.rootSegmentID,s(t,e.startInlineScript),e.sentCompleteBoundaryFunction?s(t,Ke):(e.sentCompleteBoundaryFunction=!0,s(t,ze)),null===i)throw Error(o(395));return n=d(n.toString(16)),s(t,i),s(t,Je),s(t,e.segmentPrefix),s(t,n),c(t,qe)}function Pn(e,t,n,i){if(2===i.status)return!0;var r=i.id;if(-1===r){if(-1===(i.id=n.rootSegmentID))throw Error(o(392));return Rn(e,t,i)}return Rn(e,t,i),s(t,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?s(t,We):(e.sentCompleteSegmentFunction=!0,s(t,Ge)),s(t,e.segmentPrefix),s(t,r=d(r.toString(16))),s(t,je),s(t,e.placeholderPrefix),s(t,r),c(t,Ye)}function Ln(e,t){r=new Uint8Array(512),a=0;try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){Cn(e,t,n),e.completedRootSegment=null;var i=e.responseState.bootstrapChunks;for(n=0;n<i.length-1;n++)s(t,i[n]);n<i.length&&c(t,i[n])}var u,p=e.clientRenderedBoundaries;for(u=0;u<p.length;u++){var h=p[u];i=t;var f=e.responseState,m=h.id,_=h.errorDigest,g=h.errorMessage,E=h.errorComponentStack;if(s(i,f.startInlineScript),f.sentClientRenderFunction?s(i,$e):(f.sentClientRenderFunction=!0,s(i,Xe)),null===m)throw Error(o(395));if(s(i,m),s(i,Ze),(_||g||E)&&(s(i,et),s(i,d(nt(_||"")))),(g||E)&&(s(i,et),s(i,d(nt(g||"")))),E&&(s(i,et),s(i,d(nt(E)))),!c(i,Qe))return e.destination=null,u++,void p.splice(0,u)}p.splice(0,u);var v=e.completedBoundaries;for(u=0;u<v.length;u++)if(!Nn(e,t,v[u]))return e.destination=null,u++,void v.splice(0,u);v.splice(0,u),l(t),r=new Uint8Array(512),a=0;var y=e.partialBoundaries;for(u=0;u<y.length;u++){var b=y[u];e:{p=e,h=t;var S=b.completedSegments;for(f=0;f<S.length;f++)if(!Pn(p,h,b,S[f])){f++,S.splice(0,f);var T=!1;break e}S.splice(0,f),T=!0}if(!T)return e.destination=null,u++,void y.splice(0,u)}y.splice(0,u);var A=e.completedBoundaries;for(u=0;u<A.length;u++)if(!Nn(e,t,A[u]))return e.destination=null,u++,void A.splice(0,u);A.splice(0,u)}finally{l(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function kn(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Sn(n,e,t)})),n.clear(),null!==e.destination&&Ln(e,e.destination)}catch(t){pn(e,t),hn(e,t)}}t.renderToReadableStream=function(e,t){return new Promise((function(n,i){var o,r,a=new Promise((function(e,t){r=e,o=t})),s=function(e,t,n,i,o,r,a,s,c){var l=[],u=new Set;return(n=dn(t={destination:null,responseState:t,progressiveChunkSize:void 0===i?12800:i,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:l,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?cn:o,onAllReady:void 0===r?ln:r,onShellReady:void 0===a?ln:a,onShellError:void 0===s?ln:s,onFatalError:void 0===c?ln:c},0,null,n,!1,!1)).parentFlushed=!0,e=un(t,e,null,n,u,St,null,wt),l.push(e),t}(e,function(e,t,n,i,o){e=void 0===e?"":e,t=void 0===t?P:p('<script nonce="'+O(t)+'">');var r=[];if(void 0!==n&&r.push(t,d((""+n).replace(M,x)),L),void 0!==i)for(n=0;n<i.length;n++)r.push(k,d(O(i[n])),D);if(void 0!==o)for(i=0;i<o.length;i++)r.push(w,d(O(o[i])),D);return{bootstrapChunks:r,startInlineScript:t,placeholderPrefix:p(e+"P:"),segmentPrefix:p(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return U("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,r,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===s.status)s.status=2,h(e,s.fatalError);else if(2!==s.status&&null===s.destination){s.destination=e;try{Ln(s,e)}catch(e){pn(s,e),hn(s,e)}}},cancel:function(){kn(s)}},{highWaterMark:0});e.allReady=a,n(e)}),(function(e){a.catch((function(){})),i(e)}),o);if(t&&t.signal){var c=t.signal,l=function(){kn(s,c.reason),c.removeEventListener("abort",l)};c.addEventListener("abort",l)}In(s)}))},t.version="18.3.1"},19481:(e,t,n)=>{"use strict";var i=n(30758),o=n(31896);function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function c(e,t){l(e,t),l(e+"Capture",t)}function l(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},f={};function m(e,t,n,i,o,r,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=a}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){_[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];_[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){_[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){_[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){_[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){_[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){_[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){_[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){_[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function E(e){return e[1].toUpperCase()}function v(e,t,n,i){var o=_.hasOwnProperty(t)?_[t]:null;(null!==o?0!==o.type:i||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,i){if(null==t||function(e,t,n,i){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!i&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,i))return!0;if(i)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,i)&&(n=null),i||null===o?function(e){return!!d.call(f,e)||!d.call(h,e)&&(p.test(e)?f[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,i=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,E);_[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,E);_[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,E);_[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){_[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),_.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){_[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var y=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=Symbol.for("react.element"),S=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),C=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),k=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var w=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=D&&e[D]||e["@@iterator"])?e:null}var x,U=Object.assign;function V(e){if(void 0===x)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);x=t&&t[1]||""}return"\n"+x+e}var F=!1;function B(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var i=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){i=e}e.call(t.prototype)}else{try{throw Error()}catch(e){i=e}e()}}catch(t){if(t&&i&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),r=i.stack.split("\n"),a=o.length-1,s=r.length-1;1<=a&&0<=s&&o[a]!==r[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==r[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==r[s]){var c="\n"+o[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function H(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case T:return"Fragment";case S:return"Portal";case I:return"Profiler";case A:return"StrictMode";case N:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case O:return(e._context.displayName||"Context")+".Provider";case R:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:G(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function W(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(t);case 8:return t===A?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function j(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function z(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){i=""+e,r.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Y(e)?e.checked?"true":"false":e.value),(e=i)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return U({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,i=null!=t.checked?t.checked:t.defaultChecked;n=j(null!=t.value?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function $(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Z(e,t){$(e,t);var n=j(t.value),i=t.type;if(null!=n)"number"===i?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===i||"reset"===i)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,j(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!("submit"!==i&&"reset"!==i||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+j(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(i&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ie(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(r(91));return U({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(r(92));if(te(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:j(n)}}function re(e,t){var n=j(t.value),i=j(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=i&&(e.defaultValue=""+i)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,i){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function _e(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var i=0===n.indexOf("--"),o=me(n,t[n],i);"float"===n&&(n="cssFloat"),i?e.setProperty(n,o):e[n]=o}}Object.keys(he).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ge=U({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(r(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(r(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(r(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"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}}var ye=null;function be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,Te=null,Ae=null;function Ie(e){if(e=yo(e)){if("function"!=typeof Se)throw Error(r(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function Oe(e){Te?Ae?Ae.push(e):Ae=[e]:Te=e}function Ce(){if(Te){var e=Te,t=Ae;if(Ae=Te=null,Ie(e),t)for(e=0;e<t.length;e++)Ie(t[e])}}function Re(e,t){return e(t)}function Ne(){}var Pe=!1;function Le(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Re(e,t,n)}finally{Pe=!1,(null!==Te||null!==Ae)&&(Ne(),Ce())}}function ke(e,t){var n=e.stateNode;if(null===n)return null;var i=So(n);if(null===i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var we=!1;if(u)try{var De={};Object.defineProperty(De,"passive",{get:function(){we=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ue){we=!1}function Me(e,t,n,i,o,r,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var xe=!1,Ue=null,Ve=!1,Fe=null,Be={onError:function(e){xe=!0,Ue=e}};function He(e,t,n,i,o,r,a,s,c){xe=!1,Ue=null,Me.apply(Be,arguments)}function Ge(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function We(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function je(e){if(Ge(e)!==e)throw Error(r(188))}function Ye(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ge(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(i=o.return)){n=i;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return je(o),e;if(a===i)return je(o),t;a=a.sibling}throw Error(r(188))}if(n.return!==i.return)n=o,i=a;else{for(var s=!1,c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(e))?ze(e):null}function ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=ze(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,Je=o.unstable_cancelCallback,qe=o.unstable_shouldYield,Xe=o.unstable_requestPaint,$e=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Qe=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,it=o.unstable_IdlePriority,ot=null,rt=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/ct|0)|0},st=Math.log,ct=Math.LN2;var lt=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var i=0,o=e.suspendedLanes,r=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?i=dt(s):0!==(r&=a)&&(i=dt(r))}else 0!==(a=n&~o)?i=dt(a):0!==r&&(i=dt(r));if(0===i)return 0;if(0!==t&&t!==i&&0==(t&o)&&((o=i&-i)>=(r=t&-t)||16===o&&0!=(4194240&r)))return t;if(0!=(4&i)&&(i|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=i;0<t;)o=1<<(n=31-at(t)),i|=e[n],t&=~o;return i}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=lt;return 0==(4194240&(lt<<=1))&&(lt=64),e}function _t(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function Et(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-at(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}var vt=0;function yt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var bt,St,Tt,At,It,Ot=!1,Ct=[],Rt=null,Nt=null,Pt=null,Lt=new Map,kt=new Map,wt=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Nt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":kt.delete(t.pointerId)}}function xt(e,t,n,i,o,r){return null===e||e.nativeEvent!==r?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:r,targetContainers:[o]},null!==t&&(null!==(t=yo(t))&&St(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ut(e){var t=vo(e.target);if(null!==t){var n=Ge(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=We(n)))return e.blockedOn=t,void It(e.priority,(function(){Tt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yo(n))&&St(t),e.blockedOn=n,!1;var i=new(n=e.nativeEvent).constructor(n.type,n);ye=i,n.target.dispatchEvent(i),ye=null,t.shift()}return!0}function Ft(e,t,n){Vt(e)&&n.delete(t)}function Bt(){Ot=!1,null!==Rt&&Vt(Rt)&&(Rt=null),null!==Nt&&Vt(Nt)&&(Nt=null),null!==Pt&&Vt(Pt)&&(Pt=null),Lt.forEach(Ft),kt.forEach(Ft)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Ot||(Ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Gt(e){function t(t){return Ht(t,e)}if(0<Ct.length){Ht(Ct[0],e);for(var n=1;n<Ct.length;n++){var i=Ct[n];i.blockedOn===e&&(i.blockedOn=null)}}for(null!==Rt&&Ht(Rt,e),null!==Nt&&Ht(Nt,e),null!==Pt&&Ht(Pt,e),Lt.forEach(t),kt.forEach(t),n=0;n<wt.length;n++)(i=wt[n]).blockedOn===e&&(i.blockedOn=null);for(;0<wt.length&&null===(n=wt[0]).blockedOn;)Ut(n),null===n.blockedOn&&wt.shift()}var Wt=y.ReactCurrentBatchConfig,jt=!0;function Yt(e,t,n,i){var o=vt,r=Wt.transition;Wt.transition=null;try{vt=1,Kt(e,t,n,i)}finally{vt=o,Wt.transition=r}}function zt(e,t,n,i){var o=vt,r=Wt.transition;Wt.transition=null;try{vt=4,Kt(e,t,n,i)}finally{vt=o,Wt.transition=r}}function Kt(e,t,n,i){if(jt){var o=qt(e,t,n,i);if(null===o)ji(e,t,i,Jt,n),Mt(e,i);else if(function(e,t,n,i,o){switch(t){case"focusin":return Rt=xt(Rt,e,t,n,i,o),!0;case"dragenter":return Nt=xt(Nt,e,t,n,i,o),!0;case"mouseover":return Pt=xt(Pt,e,t,n,i,o),!0;case"pointerover":var r=o.pointerId;return Lt.set(r,xt(Lt.get(r)||null,e,t,n,i,o)),!0;case"gotpointercapture":return r=o.pointerId,kt.set(r,xt(kt.get(r)||null,e,t,n,i,o)),!0}return!1}(o,e,t,n,i))i.stopPropagation();else if(Mt(e,i),4&t&&-1<Dt.indexOf(e)){for(;null!==o;){var r=yo(o);if(null!==r&&bt(r),null===(r=qt(e,t,n,i))&&ji(e,t,i,Jt,n),r===o)break;o=r}null!==o&&i.stopPropagation()}else ji(e,t,i,null,n)}}var Jt=null;function qt(e,t,n,i){if(Jt=null,null!==(e=vo(e=be(i))))if(null===(t=Ge(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=We(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Jt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Qe:return 1;case et:return 4;case tt:case nt:return 16;case it:return 536870912;default:return 16}default:return 16}}var $t=null,Zt=null,Qt=null;function en(){if(Qt)return Qt;var e,t,n=Zt,i=n.length,o="value"in $t?$t.value:$t.textContent,r=o.length;for(e=0;e<i&&n[e]===o[e];e++);var a=i-e;for(t=1;t<=a&&n[i-t]===o[r-t];t++);return Qt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function on(){return!1}function rn(e){function t(t,n,i,o,r){for(var a in this._reactName=t,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=r,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:on,this.isPropagationStopped=on,this}return U(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,cn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=rn(ln),dn=U({},ln,{view:0,detail:0}),pn=rn(dn),hn=U({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(an=e.screenX-cn.screenX,sn=e.screenY-cn.screenY):sn=an=0,cn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),fn=rn(hn),mn=rn(U({},hn,{dataTransfer:0})),_n=rn(U({},dn,{relatedTarget:0})),gn=rn(U({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),En=U({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=rn(En),yn=rn(U({},ln,{data:0})),bn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Tn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function An(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Tn[e])&&!!t[e]}function In(){return An}var On=U({},dn,{key:function(e){if(e.key){var t=bn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=rn(On),Rn=rn(U({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=rn(U({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),Pn=rn(U({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ln=U({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),kn=rn(Ln),wn=[9,13,27,32],Dn=u&&"CompositionEvent"in window,Mn=null;u&&"documentMode"in document&&(Mn=document.documentMode);var xn=u&&"TextEvent"in window&&!Mn,Un=u&&(!Dn||Mn&&8<Mn&&11>=Mn),Vn=String.fromCharCode(32),Fn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==wn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Gn=!1;var Wn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wn[e.type]:"textarea"===t}function Yn(e,t,n,i){Oe(i),0<(t=zi(t,"onChange")).length&&(n=new un("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var zn=null,Kn=null;function Jn(e){Vi(e,0)}function qn(e){if(K(bo(e)))return e}function Xn(e,t){if("change"===e)return t}var $n=!1;if(u){var Zn;if(u){var Qn="oninput"in document;if(!Qn){var ei=document.createElement("div");ei.setAttribute("oninput","return;"),Qn="function"==typeof ei.oninput}Zn=Qn}else Zn=!1;$n=Zn&&(!document.documentMode||9<document.documentMode)}function ti(){zn&&(zn.detachEvent("onpropertychange",ni),Kn=zn=null)}function ni(e){if("value"===e.propertyName&&qn(Kn)){var t=[];Yn(t,Kn,e,be(e)),Le(Jn,t)}}function ii(e,t,n){"focusin"===e?(ti(),Kn=n,(zn=t).attachEvent("onpropertychange",ni)):"focusout"===e&&ti()}function oi(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Kn)}function ri(e,t){if("click"===e)return qn(t)}function ai(e,t){if("input"===e||"change"===e)return qn(t)}var si="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ci(e,t){if(si(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!d.call(t,o)||!si(e[o],t[o]))return!1}return!0}function li(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ui(e,t){var n,i=li(e);for(e=0;i;){if(3===i.nodeType){if(n=e+i.textContent.length,e<=t&&n>=t)return{node:i,offset:t-e};e=n}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=li(i)}}function di(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?di(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pi(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function hi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fi(e){var t=pi(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&di(n.ownerDocument.documentElement,n)){if(null!==i&&hi(n))if(t=i.start,void 0===(e=i.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,r=Math.min(i.start,o);i=void 0===i.end?r:Math.min(i.end,o),!e.extend&&r>i&&(o=i,i=r,r=o),o=ui(n,r);var a=ui(n,i);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),r>i?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mi=u&&"documentMode"in document&&11>=document.documentMode,_i=null,gi=null,Ei=null,vi=!1;function yi(e,t,n){var i=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vi||null==_i||_i!==J(i)||("selectionStart"in(i=_i)&&hi(i)?i={start:i.selectionStart,end:i.selectionEnd}:i={anchorNode:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset},Ei&&ci(Ei,i)||(Ei=i,0<(i=zi(gi,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=_i)))}function bi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Si={animationend:bi("Animation","AnimationEnd"),animationiteration:bi("Animation","AnimationIteration"),animationstart:bi("Animation","AnimationStart"),transitionend:bi("Transition","TransitionEnd")},Ti={},Ai={};function Ii(e){if(Ti[e])return Ti[e];if(!Si[e])return e;var t,n=Si[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ai)return Ti[e]=n[t];return e}u&&(Ai=document.createElement("div").style,"AnimationEvent"in window||(delete Si.animationend.animation,delete Si.animationiteration.animation,delete Si.animationstart.animation),"TransitionEvent"in window||delete Si.transitionend.transition);var Oi=Ii("animationend"),Ci=Ii("animationiteration"),Ri=Ii("animationstart"),Ni=Ii("transitionend"),Pi=new Map,Li="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ki(e,t){Pi.set(e,t),c(t,[e])}for(var wi=0;wi<Li.length;wi++){var Di=Li[wi];ki(Di.toLowerCase(),"on"+(Di[0].toUpperCase()+Di.slice(1)))}ki(Oi,"onAnimationEnd"),ki(Ci,"onAnimationIteration"),ki(Ri,"onAnimationStart"),ki("dblclick","onDoubleClick"),ki("focusin","onFocus"),ki("focusout","onBlur"),ki(Ni,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xi=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mi));function Ui(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,i,o,a,s,c,l){if(He.apply(this,arguments),xe){if(!xe)throw Error(r(198));var u=Ue;xe=!1,Ue=null,Ve||(Ve=!0,Fe=u)}}(i,t,void 0,e),e.currentTarget=null}function Vi(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var r=void 0;if(t)for(var a=i.length-1;0<=a;a--){var s=i[a],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==r&&o.isPropagationStopped())break e;Ui(o,s,l),r=c}else for(a=0;a<i.length;a++){if(c=(s=i[a]).instance,l=s.currentTarget,s=s.listener,c!==r&&o.isPropagationStopped())break e;Ui(o,s,l),r=c}}}if(Ve)throw e=Fe,Ve=!1,Fe=null,e}function Fi(e,t){var n=t[_o];void 0===n&&(n=t[_o]=new Set);var i=e+"__bubble";n.has(i)||(Wi(t,e,2,!1),n.add(i))}function Bi(e,t,n){var i=0;t&&(i|=4),Wi(n,e,i,t)}var Hi="_reactListening"+Math.random().toString(36).slice(2);function Gi(e){if(!e[Hi]){e[Hi]=!0,a.forEach((function(t){"selectionchange"!==t&&(xi.has(t)||Bi(t,!1,e),Bi(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hi]||(t[Hi]=!0,Bi("selectionchange",!1,t))}}function Wi(e,t,n,i){switch(Xt(t)){case 1:var o=Yt;break;case 4:o=zt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!we||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),i?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function ji(e,t,n,i,o){var r=i;if(0==(1&t)&&0==(2&t)&&null!==i)e:for(;;){if(null===i)return;var a=i.tag;if(3===a||4===a){var s=i.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=i.return;null!==a;){var c=a.tag;if((3===c||4===c)&&((c=a.stateNode.containerInfo)===o||8===c.nodeType&&c.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=vo(s)))return;if(5===(c=a.tag)||6===c){i=r=a;continue e}s=s.parentNode}}i=i.return}Le((function(){var i=r,o=be(n),a=[];e:{var s=Pi.get(e);if(void 0!==s){var c=un,l=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":c=Cn;break;case"focusin":l="focus",c=_n;break;case"focusout":l="blur",c=_n;break;case"beforeblur":case"afterblur":c=_n;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=Nn;break;case Oi:case Ci:case Ri:c=gn;break;case Ni:c=Pn;break;case"scroll":c=pn;break;case"wheel":c=kn;break;case"copy":case"cut":case"paste":c=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=Rn}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var h,f=i;null!==f;){var m=(h=f).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==p&&(null!=(m=ke(f,p))&&u.push(Yi(f,m,h)))),d)break;f=f.return}0<u.length&&(s=new c(s,l,null,n,o),a.push({event:s,listeners:u}))}}if(0==(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===ye||!(l=n.relatedTarget||n.fromElement)||!vo(l)&&!l[mo])&&(c||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,c?(c=i,null!==(l=(l=n.relatedTarget||n.toElement)?vo(l):null)&&(l!==(d=Ge(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(c=null,l=i),c!==l)){if(u=fn,m="onMouseLeave",p="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=Rn,m="onPointerLeave",p="onPointerEnter",f="pointer"),d=null==c?s:bo(c),h=null==l?s:bo(l),(s=new u(m,f+"leave",c,n,o)).target=d,s.relatedTarget=h,m=null,vo(o)===i&&((u=new u(p,f+"enter",l,n,o)).target=h,u.relatedTarget=d,m=u),d=m,c&&l)e:{for(p=l,f=0,h=u=c;h;h=Ki(h))f++;for(h=0,m=p;m;m=Ki(m))h++;for(;0<f-h;)u=Ki(u),f--;for(;0<h-f;)p=Ki(p),h--;for(;f--;){if(u===p||null!==p&&u===p.alternate)break e;u=Ki(u),p=Ki(p)}u=null}else u=null;null!==c&&Ji(a,s,c,u,!1),null!==l&&null!==d&&Ji(a,d,l,u,!0)}if("select"===(c=(s=i?bo(i):window).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type)var _=Xn;else if(jn(s))if($n)_=ai;else{_=oi;var g=ii}else(c=s.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(_=ri);switch(_&&(_=_(e,i))?Yn(a,_,n,o):(g&&g(e,s,i),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=i?bo(i):window,e){case"focusin":(jn(g)||"true"===g.contentEditable)&&(_i=g,gi=i,Ei=null);break;case"focusout":Ei=gi=_i=null;break;case"mousedown":vi=!0;break;case"contextmenu":case"mouseup":case"dragend":vi=!1,yi(a,n,o);break;case"selectionchange":if(mi)break;case"keydown":case"keyup":yi(a,n,o)}var E;if(Dn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Gn?Bn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Un&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==v?"onCompositionEnd"===v&&Gn&&(E=en()):(Zt="value"in($t=o)?$t.value:$t.textContent,Gn=!0)),0<(g=zi(i,v)).length&&(v=new yn(v,e,null,n,o),a.push({event:v,listeners:g}),E?v.data=E:null!==(E=Hn(n))&&(v.data=E))),(E=xn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Vn);case"textInput":return(e=t.data)===Vn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Gn)return"compositionend"===e||!Dn&&Bn(e,t)?(e=en(),Qt=Zt=$t=null,Gn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Un&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(i=zi(i,"onBeforeInput")).length&&(o=new yn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:i}),o.data=E))}Vi(a,t)}))}function Yi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zi(e,t){for(var n=t+"Capture",i=[];null!==e;){var o=e,r=o.stateNode;5===o.tag&&null!==r&&(o=r,null!=(r=ke(e,n))&&i.unshift(Yi(e,r,o)),null!=(r=ke(e,t))&&i.push(Yi(e,r,o))),e=e.return}return i}function Ki(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ji(e,t,n,i,o){for(var r=t._reactName,a=[];null!==n&&n!==i;){var s=n,c=s.alternate,l=s.stateNode;if(null!==c&&c===i)break;5===s.tag&&null!==l&&(s=l,o?null!=(c=ke(n,r))&&a.unshift(Yi(n,c,s)):o||null!=(c=ke(n,r))&&a.push(Yi(n,c,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var qi=/\r\n?/g,Xi=/\u0000|\uFFFD/g;function $i(e){return("string"==typeof e?e:""+e).replace(qi,"\n").replace(Xi,"")}function Zi(e,t,n){if(t=$i(t),$i(e)!==t&&n)throw Error(r(425))}function Qi(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var io="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ro="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==ro?function(e){return ro.resolve(null).then(e).catch(so)}:io;function so(e){setTimeout((function(){throw e}))}function co(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===i)return e.removeChild(o),void Gt(t);i--}else"$"!==n&&"$?"!==n&&"$!"!==n||i++;n=o}while(n);Gt(t)}function lo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),ho="__reactFiber$"+po,fo="__reactProps$"+po,mo="__reactContainer$"+po,_o="__reactEvents$"+po,go="__reactListeners$"+po,Eo="__reactHandles$"+po;function vo(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[ho])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function yo(e){return!(e=e[ho]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function bo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(r(33))}function So(e){return e[fo]||null}var To=[],Ao=-1;function Io(e){return{current:e}}function Oo(e){0>Ao||(e.current=To[Ao],To[Ao]=null,Ao--)}function Co(e,t){Ao++,To[Ao]=e.current,e.current=t}var Ro={},No=Io(Ro),Po=Io(!1),Lo=Ro;function ko(e,t){var n=e.type.contextTypes;if(!n)return Ro;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var o,r={};for(o in n)r[o]=t[o];return i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function wo(e){return null!=(e=e.childContextTypes)}function Do(){Oo(Po),Oo(No)}function Mo(e,t,n){if(No.current!==Ro)throw Error(r(168));Co(No,t),Co(Po,n)}function xo(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,"function"!=typeof i.getChildContext)return n;for(var o in i=i.getChildContext())if(!(o in t))throw Error(r(108,W(e)||"Unknown",o));return U({},n,i)}function Uo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ro,Lo=No.current,Co(No,e),Co(Po,Po.current),!0}function Vo(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=xo(e,t,Lo),i.__reactInternalMemoizedMergedChildContext=e,Oo(Po),Oo(No),Co(No,e)):Oo(Po),Co(Po,n)}var Fo=null,Bo=!1,Ho=!1;function Go(e){null===Fo?Fo=[e]:Fo.push(e)}function Wo(){if(!Ho&&null!==Fo){Ho=!0;var e=0,t=vt;try{var n=Fo;for(vt=1;e<n.length;e++){var i=n[e];do{i=i(!0)}while(null!==i)}Fo=null,Bo=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ke(Qe,Wo),t}finally{vt=t,Ho=!1}}return null}var jo=[],Yo=0,zo=null,Ko=0,Jo=[],qo=0,Xo=null,$o=1,Zo="";function Qo(e,t){jo[Yo++]=Ko,jo[Yo++]=zo,zo=e,Ko=t}function er(e,t,n){Jo[qo++]=$o,Jo[qo++]=Zo,Jo[qo++]=Xo,Xo=e;var i=$o;e=Zo;var o=32-at(i)-1;i&=~(1<<o),n+=1;var r=32-at(t)+o;if(30<r){var a=o-o%5;r=(i&(1<<a)-1).toString(32),i>>=a,o-=a,$o=1<<32-at(t)+o|n<<o|i,Zo=r+e}else $o=1<<r|n<<o|i,Zo=e}function tr(e){null!==e.return&&(Qo(e,1),er(e,1,0))}function nr(e){for(;e===zo;)zo=jo[--Yo],jo[Yo]=null,Ko=jo[--Yo],jo[Yo]=null;for(;e===Xo;)Xo=Jo[--qo],Jo[qo]=null,Zo=Jo[--qo],Jo[qo]=null,$o=Jo[--qo],Jo[qo]=null}var ir=null,or=null,rr=!1,ar=null;function sr(e,t){var n=Ll(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function cr(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ir=e,or=lo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ir=e,or=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:$o,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ll(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ir=e,or=null,!0);default:return!1}}function lr(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ur(e){if(rr){var t=or;if(t){var n=t;if(!cr(e,t)){if(lr(e))throw Error(r(418));t=lo(n.nextSibling);var i=ir;t&&cr(e,t)?sr(i,n):(e.flags=-4097&e.flags|2,rr=!1,ir=e)}}else{if(lr(e))throw Error(r(418));e.flags=-4097&e.flags|2,rr=!1,ir=e}}}function dr(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ir=e}function pr(e){if(e!==ir)return!1;if(!rr)return dr(e),rr=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=or)){if(lr(e))throw hr(),Error(r(418));for(;t;)sr(e,t),t=lo(t.nextSibling)}if(dr(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){or=lo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}or=null}}else or=ir?lo(e.stateNode.nextSibling):null;return!0}function hr(){for(var e=or;e;)e=lo(e.nextSibling)}function fr(){or=ir=null,rr=!1}function mr(e){null===ar?ar=[e]:ar.push(e)}var _r=y.ReactCurrentBatchConfig;function gr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var o=i,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Er(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vr(e){return(0,e._init)(e._payload)}function yr(e){function t(t,n){if(e){var i=t.deletions;null===i?(t.deletions=[n],t.flags|=16):i.push(n)}}function n(n,i){if(!e)return null;for(;null!==i;)t(n,i),i=i.sibling;return null}function i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=wl(e,t)).index=0,e.sibling=null,e}function a(t,n,i){return t.index=i,e?null!==(i=t.alternate)?(i=i.index)<n?(t.flags|=2,n):i:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function c(e,t,n,i){return null===t||6!==t.tag?((t=Ul(n,e.mode,i)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,i){var r=n.type;return r===T?d(e,t,n.props.children,i,n.key):null!==t&&(t.elementType===r||"object"==typeof r&&null!==r&&r.$$typeof===k&&vr(r)===t.type)?((i=o(t,n.props)).ref=gr(e,t,n),i.return=e,i):((i=Dl(n.type,n.key,n.props,null,e.mode,i)).ref=gr(e,t,n),i.return=e,i)}function u(e,t,n,i){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vl(n,e.mode,i)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,i,r){return null===t||7!==t.tag?((t=Ml(n,e.mode,i,r)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ul(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case b:return(n=Dl(t.type,t.key,t.props,null,e.mode,n)).ref=gr(e,null,t),n.return=e,n;case S:return(t=Vl(t,e.mode,n)).return=e,t;case k:return p(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Ml(t,e.mode,n,null)).return=e,t;Er(e,t)}return null}function h(e,t,n,i){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:c(e,t,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case b:return n.key===o?l(e,t,n,i):null;case S:return n.key===o?u(e,t,n,i):null;case k:return h(e,t,(o=n._init)(n._payload),i)}if(te(n)||M(n))return null!==o?null:d(e,t,n,i,null);Er(e,n)}return null}function f(e,t,n,i,o){if("string"==typeof i&&""!==i||"number"==typeof i)return c(t,e=e.get(n)||null,""+i,o);if("object"==typeof i&&null!==i){switch(i.$$typeof){case b:return l(t,e=e.get(null===i.key?n:i.key)||null,i,o);case S:return u(t,e=e.get(null===i.key?n:i.key)||null,i,o);case k:return f(e,t,n,(0,i._init)(i._payload),o)}if(te(i)||M(i))return d(t,e=e.get(n)||null,i,o,null);Er(t,i)}return null}function m(o,r,s,c){for(var l=null,u=null,d=r,m=r=0,_=null;null!==d&&m<s.length;m++){d.index>m?(_=d,d=null):_=d.sibling;var g=h(o,d,s[m],c);if(null===g){null===d&&(d=_);break}e&&d&&null===g.alternate&&t(o,d),r=a(g,r,m),null===u?l=g:u.sibling=g,u=g,d=_}if(m===s.length)return n(o,d),rr&&Qo(o,m),l;if(null===d){for(;m<s.length;m++)null!==(d=p(o,s[m],c))&&(r=a(d,r,m),null===u?l=d:u.sibling=d,u=d);return rr&&Qo(o,m),l}for(d=i(o,d);m<s.length;m++)null!==(_=f(d,o,m,s[m],c))&&(e&&null!==_.alternate&&d.delete(null===_.key?m:_.key),r=a(_,r,m),null===u?l=_:u.sibling=_,u=_);return e&&d.forEach((function(e){return t(o,e)})),rr&&Qo(o,m),l}function _(o,s,c,l){var u=M(c);if("function"!=typeof u)throw Error(r(150));if(null==(c=u.call(c)))throw Error(r(151));for(var d=u=null,m=s,_=s=0,g=null,E=c.next();null!==m&&!E.done;_++,E=c.next()){m.index>_?(g=m,m=null):g=m.sibling;var v=h(o,m,E.value,l);if(null===v){null===m&&(m=g);break}e&&m&&null===v.alternate&&t(o,m),s=a(v,s,_),null===d?u=v:d.sibling=v,d=v,m=g}if(E.done)return n(o,m),rr&&Qo(o,_),u;if(null===m){for(;!E.done;_++,E=c.next())null!==(E=p(o,E.value,l))&&(s=a(E,s,_),null===d?u=E:d.sibling=E,d=E);return rr&&Qo(o,_),u}for(m=i(o,m);!E.done;_++,E=c.next())null!==(E=f(m,o,_,E.value,l))&&(e&&null!==E.alternate&&m.delete(null===E.key?_:E.key),s=a(E,s,_),null===d?u=E:d.sibling=E,d=E);return e&&m.forEach((function(e){return t(o,e)})),rr&&Qo(o,_),u}return function e(i,r,a,c){if("object"==typeof a&&null!==a&&a.type===T&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case b:e:{for(var l=a.key,u=r;null!==u;){if(u.key===l){if((l=a.type)===T){if(7===u.tag){n(i,u.sibling),(r=o(u,a.props.children)).return=i,i=r;break e}}else if(u.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===k&&vr(l)===u.type){n(i,u.sibling),(r=o(u,a.props)).ref=gr(i,u,a),r.return=i,i=r;break e}n(i,u);break}t(i,u),u=u.sibling}a.type===T?((r=Ml(a.props.children,i.mode,c,a.key)).return=i,i=r):((c=Dl(a.type,a.key,a.props,null,i.mode,c)).ref=gr(i,r,a),c.return=i,i=c)}return s(i);case S:e:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(i,r.sibling),(r=o(r,a.children||[])).return=i,i=r;break e}n(i,r);break}t(i,r),r=r.sibling}(r=Vl(a,i.mode,c)).return=i,i=r}return s(i);case k:return e(i,r,(u=a._init)(a._payload),c)}if(te(a))return m(i,r,a,c);if(M(a))return _(i,r,a,c);Er(i,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==r&&6===r.tag?(n(i,r.sibling),(r=o(r,a)).return=i,i=r):(n(i,r),(r=Ul(a,i.mode,c)).return=i,i=r),s(i)):n(i,r)}}var br=yr(!0),Sr=yr(!1),Tr=Io(null),Ar=null,Ir=null,Or=null;function Cr(){Or=Ir=Ar=null}function Rr(e){var t=Tr.current;Oo(Tr),e._currentValue=t}function Nr(e,t,n){for(;null!==e;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==i&&(i.childLanes|=t)):null!==i&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function Pr(e,t){Ar=e,Or=Ir=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(vs=!0),e.firstContext=null)}function Lr(e){var t=e._currentValue;if(Or!==e)if(e={context:e,memoizedValue:t,next:null},null===Ir){if(null===Ar)throw Error(r(308));Ir=e,Ar.dependencies={lanes:0,firstContext:e}}else Ir=Ir.next=e;return t}var kr=null;function wr(e){null===kr?kr=[e]:kr.push(e)}function Dr(e,t,n,i){var o=t.interleaved;return null===o?(n.next=n,wr(t)):(n.next=o.next,o.next=n),t.interleaved=n,Mr(e,i)}function Mr(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var xr=!1;function Ur(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Br(e,t,n){var i=e.updateQueue;if(null===i)return null;if(i=i.shared,0!=(2&Rc)){var o=i.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),i.pending=t,Mr(e,n)}return null===(o=i.interleaved)?(t.next=t,wr(i)):(t.next=o.next,o.next=t),i.interleaved=t,Mr(e,n)}function Hr(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var i=t.lanes;n|=i&=e.pendingLanes,t.lanes=n,Et(e,n)}}function Gr(e,t){var n=e.updateQueue,i=e.alternate;if(null!==i&&n===(i=i.updateQueue)){var o=null,r=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===r?o=r=a:r=r.next=a,n=n.next}while(null!==n);null===r?o=r=t:r=r.next=t}else o=r=t;return n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:r,shared:i.shared,effects:i.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wr(e,t,n,i){var o=e.updateQueue;xr=!1;var r=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var c=s,l=c.next;c.next=null,null===a?r=l:a.next=l,a=c;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(null!==r){var d=o.baseState;for(a=0,u=l=c=null,s=r;;){var p=s.lane,h=s.eventTime;if((i&p)===p){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,m=s;switch(p=t,h=n,m.tag){case 1:if("function"==typeof(f=m.payload)){d=f.call(h,d,p);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(p="function"==typeof(f=m.payload)?f.call(h,d,p):f))break e;d=U({},d,p);break e;case 2:xr=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(l=u=h,c=d):u=u.next=h,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(c=d),o.baseState=c,o.firstBaseUpdate=l,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===r&&(o.shared.lanes=0);xc|=a,e.lanes=a,e.memoizedState=d}}function jr(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(null!==o){if(i.callback=null,i=n,"function"!=typeof o)throw Error(r(191,o));o.call(i)}}}var Yr={},zr=Io(Yr),Kr=Io(Yr),Jr=Io(Yr);function qr(e){if(e===Yr)throw Error(r(174));return e}function Xr(e,t){switch(Co(Jr,t),Co(Kr,e),Co(zr,Yr),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(zr),Co(zr,t)}function $r(){Oo(zr),Oo(Kr),Oo(Jr)}function Zr(e){qr(Jr.current);var t=qr(zr.current),n=ce(t,e.type);t!==n&&(Co(Kr,e),Co(zr,n))}function Qr(e){Kr.current===e&&(Oo(zr),Oo(Kr))}var ea=Io(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ia(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=y.ReactCurrentDispatcher,ra=y.ReactCurrentBatchConfig,aa=0,sa=null,ca=null,la=null,ua=!1,da=!1,pa=0,ha=0;function fa(){throw Error(r(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!si(e[n],t[n]))return!1;return!0}function _a(e,t,n,i,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Qa:es,e=n(i,o),da){a=0;do{if(da=!1,pa=0,25<=a)throw Error(r(301));a+=1,la=ca=null,t.updateQueue=null,oa.current=ts,e=n(i,o)}while(da)}if(oa.current=Za,t=null!==ca&&null!==ca.next,aa=0,la=ca=sa=null,ua=!1,t)throw Error(r(300));return e}function ga(){var e=0!==pa;return pa=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?sa.memoizedState=la=e:la=la.next=e,la}function va(){if(null===ca){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ca.next;var t=null===la?sa.memoizedState:la.next;if(null!==t)la=t,ca=e;else{if(null===e)throw Error(r(310));e={memoizedState:(ca=e).memoizedState,baseState:ca.baseState,baseQueue:ca.baseQueue,queue:ca.queue,next:null},null===la?sa.memoizedState=la=e:la=la.next=e}return la}function ya(e,t){return"function"==typeof t?t(e):t}function ba(e){var t=va(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var i=ca,o=i.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}i.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,i=i.baseState;var c=s=null,l=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(c=l=p,s=i):l=l.next=p,sa.lanes|=d,xc|=d}u=u.next}while(null!==u&&u!==a);null===l?s=i:l.next=c,si(i,t.memoizedState)||(vs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,xc|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sa(e){var t=va(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);si(a,t.memoizedState)||(vs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,i]}function Ta(){}function Aa(e,t){var n=sa,i=va(),o=t(),a=!si(i.memoizedState,o);if(a&&(i.memoizedState=o,vs=!0),i=i.queue,xa(Ca.bind(null,n,i,e),[e]),i.getSnapshot!==t||a||null!==la&&1&la.memoizedState.tag){if(n.flags|=2048,La(9,Oa.bind(null,n,i,o,t),void 0,null),null===Nc)throw Error(r(349));0!=(30&aa)||Ia(n,t,o)}return o}function Ia(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,i){t.value=n,t.getSnapshot=i,Ra(t)&&Na(e)}function Ca(e,t,n){return n((function(){Ra(t)&&Na(e)}))}function Ra(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!si(e,n)}catch(e){return!0}}function Na(e){var t=Mr(e,1);null!==t&&nl(t,e,1,-1)}function Pa(e){var t=Ea();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:e},t.queue=e,e=e.dispatch=Ja.bind(null,sa,e),[t.memoizedState,e]}function La(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function ka(){return va().memoizedState}function wa(e,t,n,i){var o=Ea();sa.flags|=e,o.memoizedState=La(1|t,n,void 0,void 0===i?null:i)}function Da(e,t,n,i){var o=va();i=void 0===i?null:i;var r=void 0;if(null!==ca){var a=ca.memoizedState;if(r=a.destroy,null!==i&&ma(i,a.deps))return void(o.memoizedState=La(t,n,r,i))}sa.flags|=e,o.memoizedState=La(1|t,n,r,i)}function Ma(e,t){return wa(8390656,8,e,t)}function xa(e,t){return Da(2048,8,e,t)}function Ua(e,t){return Da(4,2,e,t)}function Va(e,t){return Da(4,4,e,t)}function Fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,n){return n=null!=n?n.concat([e]):null,Da(4,4,Fa.bind(null,t,e),n)}function Ha(){}function Ga(e,t){var n=va();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&ma(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function Wa(e,t){var n=va();t=void 0===t?null:t;var i=n.memoizedState;return null!==i&&null!==t&&ma(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function ja(e,t,n){return 0==(21&aa)?(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=n):(si(n,t)||(n=mt(),sa.lanes|=n,xc|=n,e.baseState=!0),t)}function Ya(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var i=ra.transition;ra.transition={};try{e(!1),t()}finally{vt=n,ra.transition=i}}function za(){return va().memoizedState}function Ka(e,t,n){var i=tl(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},qa(e))Xa(t,n);else if(null!==(n=Dr(e,t,n,i))){nl(n,e,i,el()),$a(n,t,i)}}function Ja(e,t,n){var i=tl(e),o={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(qa(e))Xa(t,o);else{var r=e.alternate;if(0===e.lanes&&(null===r||0===r.lanes)&&null!==(r=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=r(a,n);if(o.hasEagerState=!0,o.eagerState=s,si(s,a)){var c=t.interleaved;return null===c?(o.next=o,wr(t)):(o.next=c.next,c.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Dr(e,t,o,i))&&(nl(n,e,i,o=el()),$a(n,t,i))}}function qa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Xa(e,t){da=ua=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $a(e,t,n){if(0!=(4194240&n)){var i=t.lanes;n|=i&=e.pendingLanes,t.lanes=n,Et(e,n)}}var Za={readContext:Lr,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useInsertionEffect:fa,useLayoutEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useMutableSource:fa,useSyncExternalStore:fa,useId:fa,unstable_isNewReconciler:!1},Qa={readContext:Lr,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Lr,useEffect:Ma,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wa(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wa(4194308,4,e,t)},useInsertionEffect:function(e,t){return wa(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Ea();return t=void 0!==n?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=Ka.bind(null,sa,e),[i.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Pa,useDebugValue:Ha,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=Pa(!1),t=e[0];return e=Ya.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=sa,o=Ea();if(rr){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===Nc)throw Error(r(349));0!=(30&aa)||Ia(i,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ma(Ca.bind(null,i,a,e),[e]),i.flags|=2048,La(9,Oa.bind(null,i,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=Nc.identifierPrefix;if(rr){var n=Zo;t=":"+t+"R"+(n=($o&~(1<<32-at($o)-1)).toString(32)+n),0<(n=pa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Lr,useCallback:Ga,useContext:Lr,useEffect:xa,useImperativeHandle:Ba,useInsertionEffect:Ua,useLayoutEffect:Va,useMemo:Wa,useReducer:ba,useRef:ka,useState:function(){return ba(ya)},useDebugValue:Ha,useDeferredValue:function(e){return ja(va(),ca.memoizedState,e)},useTransition:function(){return[ba(ya)[0],va().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Aa,useId:za,unstable_isNewReconciler:!1},ts={readContext:Lr,useCallback:Ga,useContext:Lr,useEffect:xa,useImperativeHandle:Ba,useInsertionEffect:Ua,useLayoutEffect:Va,useMemo:Wa,useReducer:Sa,useRef:ka,useState:function(){return Sa(ya)},useDebugValue:Ha,useDeferredValue:function(e){var t=va();return null===ca?t.memoizedState=e:ja(t,ca.memoizedState,e)},useTransition:function(){return[Sa(ya)[0],va().memoizedState]},useMutableSource:Ta,useSyncExternalStore:Aa,useId:za,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=U({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function is(e,t,n,i){n=null==(n=n(i,t=e.memoizedState))?t:U({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&Ge(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=el(),o=tl(e),r=Fr(i,o);r.payload=t,null!=n&&(r.callback=n),null!==(t=Br(e,r,o))&&(nl(t,e,o,i),Hr(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=el(),o=tl(e),r=Fr(i,o);r.tag=1,r.payload=t,null!=n&&(r.callback=n),null!==(t=Br(e,r,o))&&(nl(t,e,o,i),Hr(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=el(),i=tl(e),o=Fr(n,i);o.tag=2,null!=t&&(o.callback=t),null!==(t=Br(e,o,i))&&(nl(t,e,i,n),Hr(t,e,i))}};function rs(e,t,n,i,o,r,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(i,r,a):!t.prototype||!t.prototype.isPureReactComponent||(!ci(n,i)||!ci(o,r))}function as(e,t,n){var i=!1,o=Ro,r=t.contextType;return"object"==typeof r&&null!==r?r=Lr(r):(o=wo(t)?Lo:No.current,r=(i=null!=(i=t.contextTypes))?ko(e,o):Ro),t=new t(n,r),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,i&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=r),t}function ss(e,t,n,i){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,i),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function cs(e,t,n,i){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Ur(e);var r=t.contextType;"object"==typeof r&&null!==r?o.context=Lr(r):(r=wo(t)?Lo:No.current,o.context=ko(e,r)),o.state=e.memoizedState,"function"==typeof(r=t.getDerivedStateFromProps)&&(is(e,t,r,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),Wr(e,n,o,i),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ls(e,t){try{var n="",i=t;do{n+=H(i),i=i.return}while(i);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Fr(-1,n)).tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){jc||(jc=!0,Yc=i),ds(0,t)},n}function fs(e,t,n){(n=Fr(-1,n)).tag=3;var i=e.type.getDerivedStateFromError;if("function"==typeof i){var o=t.value;n.payload=function(){return i(o)},n.callback=function(){ds(0,t)}}var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof i&&(null===zc?zc=new Set([this]):zc.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var i=e.pingCache;if(null===i){i=e.pingCache=new ps;var o=new Set;i.set(t,o)}else void 0===(o=i.get(t))&&(o=new Set,i.set(t,o));o.has(n)||(o.add(n),e=Il.bind(null,e,t,n),t.then(e,e))}function _s(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,i,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fr(-1,1)).tag=2,Br(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Es=y.ReactCurrentOwner,vs=!1;function ys(e,t,n,i){t.child=null===e?Sr(t,null,n,i):br(t,e.child,n,i)}function bs(e,t,n,i,o){n=n.render;var r=t.ref;return Pr(t,o),i=_a(e,t,n,i,r,o),n=ga(),null===e||vs?(rr&&n&&tr(t),t.flags|=1,ys(e,t,i,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,js(e,t,o))}function Ss(e,t,n,i,o){if(null===e){var r=n.type;return"function"!=typeof r||kl(r)||void 0!==r.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Dl(n.type,null,i,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=r,Ts(e,t,r,i,o))}if(r=e.child,0==(e.lanes&o)){var a=r.memoizedProps;if((n=null!==(n=n.compare)?n:ci)(a,i)&&e.ref===t.ref)return js(e,t,o)}return t.flags|=1,(e=wl(r,i)).ref=t.ref,e.return=t,t.child=e}function Ts(e,t,n,i,o){if(null!==e){var r=e.memoizedProps;if(ci(r,i)&&e.ref===t.ref){if(vs=!1,t.pendingProps=i=r,0==(e.lanes&o))return t.lanes=e.lanes,js(e,t,o);0!=(131072&e.flags)&&(vs=!0)}}return Os(e,t,n,i,o)}function As(e,t,n){var i=t.pendingProps,o=i.children,r=null!==e?e.memoizedState:null;if("hidden"===i.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Co(wc,kc),kc|=n;else{if(0==(1073741824&n))return e=null!==r?r.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Co(wc,kc),kc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=null!==r?r.baseLanes:n,Co(wc,kc),kc|=i}else null!==r?(i=r.baseLanes|n,t.memoizedState=null):i=n,Co(wc,kc),kc|=i;return ys(e,t,o,n),t.child}function Is(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,i,o){var r=wo(n)?Lo:No.current;return r=ko(t,r),Pr(t,o),n=_a(e,t,n,i,r,o),i=ga(),null===e||vs?(rr&&i&&tr(t),t.flags|=1,ys(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,js(e,t,o))}function Cs(e,t,n,i,o){if(wo(n)){var r=!0;Uo(t)}else r=!1;if(Pr(t,o),null===t.stateNode)Ws(e,t),as(t,n,i),cs(t,n,i,o),i=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=Lr(l):l=ko(t,l=wo(n)?Lo:No.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==i||c!==l)&&ss(t,a,i,l),xr=!1;var p=t.memoizedState;a.state=p,Wr(t,i,a,o),c=t.memoizedState,s!==i||p!==c||Po.current||xr?("function"==typeof u&&(is(t,n,u,i),c=t.memoizedState),(s=xr||rs(t,n,s,i,p,c,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=c),a.props=i,a.state=c,a.context=l,i=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),i=!1)}else{a=t.stateNode,Vr(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ns(t.type,s),a.props=l,d=t.pendingProps,p=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=Lr(c):c=ko(t,c=wo(n)?Lo:No.current);var h=n.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==c)&&ss(t,a,i,c),xr=!1,p=t.memoizedState,a.state=p,Wr(t,i,a,o);var f=t.memoizedState;s!==d||p!==f||Po.current||xr?("function"==typeof h&&(is(t,n,h,i),f=t.memoizedState),(l=xr||rs(t,n,l,i,p,f,c)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(i,f,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(i,f,c)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=f),a.props=i,a.state=f,a.context=c,i=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),i=!1)}return Rs(e,t,n,i,r,o)}function Rs(e,t,n,i,o,r){Is(e,t);var a=0!=(128&t.flags);if(!i&&!a)return o&&Vo(t,n,!1),js(e,t,r);i=t.stateNode,Es.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:i.render();return t.flags|=1,null!==e&&a?(t.child=br(t,e.child,null,r),t.child=br(t,null,s,r)):ys(e,t,s,r),t.memoizedState=i.state,o&&Vo(t,n,!0),t.child}function Ns(e){var t=e.stateNode;t.pendingContext?Mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mo(0,t.context,!1),Xr(e,t.containerInfo)}function Ps(e,t,n,i,o){return fr(),mr(o),t.flags|=256,ys(e,t,n,i),t.child}var Ls,ks,ws,Ds,Ms={dehydrated:null,treeContext:null,retryLane:0};function xs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Us(e,t,n){var i,o=t.pendingProps,a=ea.current,s=!1,c=0!=(128&t.flags);if((i=c)||(i=(null===e||null!==e.memoizedState)&&0!=(2&a)),i?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Co(ea,1&a),null===e)return ur(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(c=o.children,e=o.fallback,s?(o=t.mode,s=t.child,c={mode:"hidden",children:c},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=c):s=xl(c,o,0,null),e=Ml(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=xs(n),t.memoizedState=Ms,e):Vs(t,c));if(null!==(a=e.memoizedState)&&null!==(i=a.dehydrated))return function(e,t,n,i,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Fs(e,t,s,i=us(Error(r(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=xl({mode:"visible",children:i.children},o,0,null),(a=Ml(a,o,s,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,0!=(1&t.mode)&&br(t,e.child,null,s),t.child.memoizedState=xs(s),t.memoizedState=Ms,a);if(0==(1&t.mode))return Fs(e,t,s,null);if("$!"===o.data){if(i=o.nextSibling&&o.nextSibling.dataset)var c=i.dgst;return i=c,Fs(e,t,s,i=us(a=Error(r(419)),i,void 0))}if(c=0!=(s&e.childLanes),vs||c){if(null!==(i=Nc)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(i.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Mr(e,o),nl(i,e,o,-1))}return ml(),Fs(e,t,s,i=us(Error(r(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Cl.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,or=lo(o.nextSibling),ir=t,rr=!0,ar=null,null!==e&&(Jo[qo++]=$o,Jo[qo++]=Zo,Jo[qo++]=Xo,$o=e.id,Zo=e.overflow,Xo=t),t=Vs(t,i.children),t.flags|=4096,t)}(e,t,c,o,i,a,n);if(s){s=o.fallback,c=t.mode,i=(a=e.child).sibling;var l={mode:"hidden",children:o.children};return 0==(1&c)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=l,t.deletions=null):(o=wl(a,l)).subtreeFlags=14680064&a.subtreeFlags,null!==i?s=wl(i,s):(s=Ml(s,c,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,c=null===(c=e.child.memoizedState)?xs(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},s.memoizedState=c,s.childLanes=e.childLanes&~n,t.memoizedState=Ms,o}return e=(s=e.child).sibling,o=wl(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Vs(e,t){return(t=xl({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,i){return null!==i&&mr(i),br(t,e.child,null,n),(e=Vs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,n){e.lanes|=t;var i=e.alternate;null!==i&&(i.lanes|=t),Nr(e.return,t,n)}function Hs(e,t,n,i,o){var r=e.memoizedState;null===r?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o}:(r.isBackwards=t,r.rendering=null,r.renderingStartTime=0,r.last=i,r.tail=n,r.tailMode=o)}function Gs(e,t,n){var i=t.pendingProps,o=i.revealOrder,r=i.tail;if(ys(e,t,i.children,n),0!=(2&(i=ea.current)))i=1&i|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,n,t);else if(19===e.tag)Bs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(Co(ea,i),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hs(t,!1,o,n,r);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hs(t,!0,n,null,r);break;case"together":Hs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ws(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function js(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),xc|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=wl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=wl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ys(e,t){if(!rr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;null!==n;)null!==n.alternate&&(i=n),n=n.sibling;null===i?t||null===e.tail?e.tail=null:e.tail.sibling=null:i.sibling=null}}function zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,i=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,i|=14680064&o.subtreeFlags,i|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function Ks(e,t,n){var i=t.pendingProps;switch(nr(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zs(t),null;case 1:case 17:return wo(t.type)&&Do(),zs(t),null;case 3:return i=t.stateNode,$r(),Oo(Po),Oo(No),ia(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(pr(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ar&&(al(ar),ar=null))),ks(e,t),zs(t),null;case 5:Qr(t);var o=qr(Jr.current);if(n=t.type,null!==e&&null!=t.stateNode)ws(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(r(166));return zs(t),null}if(e=qr(zr.current),pr(t)){i=t.stateNode,n=t.type;var a=t.memoizedProps;switch(i[ho]=t,i[fo]=a,e=0!=(1&t.mode),n){case"dialog":Fi("cancel",i),Fi("close",i);break;case"iframe":case"object":case"embed":Fi("load",i);break;case"video":case"audio":for(o=0;o<Mi.length;o++)Fi(Mi[o],i);break;case"source":Fi("error",i);break;case"img":case"image":case"link":Fi("error",i),Fi("load",i);break;case"details":Fi("toggle",i);break;case"input":X(i,a),Fi("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!a.multiple},Fi("invalid",i);break;case"textarea":oe(i,a),Fi("invalid",i)}for(var c in Ee(n,a),o=null,a)if(a.hasOwnProperty(c)){var l=a[c];"children"===c?"string"==typeof l?i.textContent!==l&&(!0!==a.suppressHydrationWarning&&Zi(i.textContent,l,e),o=["children",l]):"number"==typeof l&&i.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Zi(i.textContent,l,e),o=["children",""+l]):s.hasOwnProperty(c)&&null!=l&&"onScroll"===c&&Fi("scroll",i)}switch(n){case"input":z(i),Q(i,a,!0);break;case"textarea":z(i),ae(i);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(i.onclick=Qi)}i=o,t.updateQueue=i,null!==i&&(t.flags|=4)}else{c=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),"select"===n&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[ho]=t,e[fo]=i,Ls(e,t,!1,!1),t.stateNode=e;e:{switch(c=ve(n,i),n){case"dialog":Fi("cancel",e),Fi("close",e),o=i;break;case"iframe":case"object":case"embed":Fi("load",e),o=i;break;case"video":case"audio":for(o=0;o<Mi.length;o++)Fi(Mi[o],e);o=i;break;case"source":Fi("error",e),o=i;break;case"img":case"image":case"link":Fi("error",e),Fi("load",e),o=i;break;case"details":Fi("toggle",e),o=i;break;case"input":X(e,i),o=q(e,i),Fi("invalid",e);break;case"option":default:o=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},o=U({},i,{value:void 0}),Fi("invalid",e);break;case"textarea":oe(e,i),o=ie(e,i),Fi("invalid",e)}for(a in Ee(n,o),l=o)if(l.hasOwnProperty(a)){var u=l[a];"style"===a?_e(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Fi("scroll",e):null!=u&&v(e,a,u,c))}switch(n){case"input":z(e),Q(e,i,!1);break;case"textarea":z(e),ae(e);break;case"option":null!=i.value&&e.setAttribute("value",""+j(i.value));break;case"select":e.multiple=!!i.multiple,null!=(a=i.value)?ne(e,!!i.multiple,a,!1):null!=i.defaultValue&&ne(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Qi)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return zs(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(r(166));if(n=qr(Jr.current),qr(zr.current),pr(t)){if(i=t.stateNode,n=t.memoizedProps,i[ho]=t,(a=i.nodeValue!==n)&&null!==(e=ir))switch(e.tag){case 3:Zi(i.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zi(i.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(i=(9===n.nodeType?n:n.ownerDocument).createTextNode(i))[ho]=t,t.stateNode=i}return zs(t),null;case 13:if(Oo(ea),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(rr&&null!==or&&0!=(1&t.mode)&&0==(128&t.flags))hr(),fr(),t.flags|=98560,a=!1;else if(a=pr(t),null!==i&&null!==i.dehydrated){if(null===e){if(!a)throw Error(r(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(r(317));a[ho]=t}else fr(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;zs(t),a=!1}else null!==ar&&(al(ar),ar=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((i=null!==i)!==(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ea.current)?0===Dc&&(Dc=3):ml())),null!==t.updateQueue&&(t.flags|=4),zs(t),null);case 4:return $r(),ks(e,t),null===e&&Gi(t.stateNode.containerInfo),zs(t),null;case 10:return Rr(t.type._context),zs(t),null;case 19:if(Oo(ea),null===(a=t.memoizedState))return zs(t),null;if(i=0!=(128&t.flags),null===(c=a.rendering))if(i)Ys(a,!1);else{if(0!==Dc||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=ta(e))){for(t.flags|=128,Ys(a,!1),null!==(i=c.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;null!==n;)e=i,(a=n).flags&=14680066,null===(c=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=c.childLanes,a.lanes=c.lanes,a.child=c.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=c.memoizedProps,a.memoizedState=c.memoizedState,a.updateQueue=c.updateQueue,a.type=c.type,e=c.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Co(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&$e()>Gc&&(t.flags|=128,i=!0,Ys(a,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=ta(c))){if(t.flags|=128,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ys(a,!0),null===a.tail&&"hidden"===a.tailMode&&!c.alternate&&!rr)return zs(t),null}else 2*$e()-a.renderingStartTime>Gc&&1073741824!==n&&(t.flags|=128,i=!0,Ys(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=a.last)?n.sibling=c:t.child=c,a.last=c)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=$e(),t.sibling=null,n=ea.current,Co(ea,i?1&n|2:1&n),t):(zs(t),null);case 22:case 23:return dl(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&0!=(1&t.mode)?0!=(1073741824&kc)&&(zs(t),6&t.subtreeFlags&&(t.flags|=8192)):zs(t),null;case 24:case 25:return null}throw Error(r(156,t.tag))}function Js(e,t){switch(nr(t),t.tag){case 1:return wo(t.type)&&Do(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return $r(),Oo(Po),Oo(No),ia(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Qr(t),null;case 13:if(Oo(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));fr()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(ea),null;case 4:return $r(),null;case 10:return Rr(t.type._context),null;case 22:case 23:return dl(),null;default:return null}}Ls=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ks=function(){},ws=function(e,t,n,i){var o=e.memoizedProps;if(o!==i){e=t.stateNode,qr(zr.current);var r,a=null;switch(n){case"input":o=q(e,o),i=q(e,i),a=[];break;case"select":o=U({},o,{value:void 0}),i=U({},i,{value:void 0}),a=[];break;case"textarea":o=ie(e,o),i=ie(e,i),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof i.onClick&&(e.onclick=Qi)}for(u in Ee(n,i),n=null,o)if(!i.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var c=o[u];for(r in c)c.hasOwnProperty(r)&&(n||(n={}),n[r]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in i){var l=i[u];if(c=null!=o?o[u]:void 0,i.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(r in c)!c.hasOwnProperty(r)||l&&l.hasOwnProperty(r)||(n||(n={}),n[r]="");for(r in l)l.hasOwnProperty(r)&&c[r]!==l[r]&&(n||(n={}),n[r]=l[r])}else n||(a||(a=[]),a.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(a=a||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&Fi("scroll",e),a||c===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ds=function(e,t,n,i){n!==i&&(t.flags|=4)};var qs=!1,Xs=!1,$s="function"==typeof WeakSet?WeakSet:Set,Zs=null;function Qs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Al(e,t,n)}else n.current=null}function ec(e,t,n){try{n()}catch(n){Al(e,t,n)}}var tc=!1;function nc(e,t,n){var i=t.updateQueue;if(null!==(i=null!==i?i.lastEffect:null)){var o=i=i.next;do{if((o.tag&e)===e){var r=o.destroy;o.destroy=void 0,void 0!==r&&ec(t,n,r)}o=o.next}while(o!==i)}}function ic(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function oc(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function rc(e){var t=e.alternate;null!==t&&(e.alternate=null,rc(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ho],delete t[fo],delete t[_o],delete t[go],delete t[Eo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ac(e){return 5===e.tag||3===e.tag||4===e.tag}function sc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ac(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cc(e,t,n){var i=e.tag;if(5===i||6===i)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Qi));else if(4!==i&&null!==(e=e.child))for(cc(e,t,n),e=e.sibling;null!==e;)cc(e,t,n),e=e.sibling}function lc(e,t,n){var i=e.tag;if(5===i||6===i)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==i&&null!==(e=e.child))for(lc(e,t,n),e=e.sibling;null!==e;)lc(e,t,n),e=e.sibling}var uc=null,dc=!1;function pc(e,t,n){for(n=n.child;null!==n;)hc(e,t,n),n=n.sibling}function hc(e,t,n){if(rt&&"function"==typeof rt.onCommitFiberUnmount)try{rt.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Xs||Qs(n,t);case 6:var i=uc,o=dc;uc=null,pc(e,t,n),dc=o,null!==(uc=i)&&(dc?(e=uc,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):uc.removeChild(n.stateNode));break;case 18:null!==uc&&(dc?(e=uc,n=n.stateNode,8===e.nodeType?co(e.parentNode,n):1===e.nodeType&&co(e,n),Gt(e)):co(uc,n.stateNode));break;case 4:i=uc,o=dc,uc=n.stateNode.containerInfo,dc=!0,pc(e,t,n),uc=i,dc=o;break;case 0:case 11:case 14:case 15:if(!Xs&&(null!==(i=n.updateQueue)&&null!==(i=i.lastEffect))){o=i=i.next;do{var r=o,a=r.destroy;r=r.tag,void 0!==a&&(0!=(2&r)||0!=(4&r))&&ec(n,t,a),o=o.next}while(o!==i)}pc(e,t,n);break;case 1:if(!Xs&&(Qs(n,t),"function"==typeof(i=n.stateNode).componentWillUnmount))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(e){Al(n,t,e)}pc(e,t,n);break;case 21:pc(e,t,n);break;case 22:1&n.mode?(Xs=(i=Xs)||null!==n.memoizedState,pc(e,t,n),Xs=i):pc(e,t,n);break;default:pc(e,t,n)}}function fc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new $s),t.forEach((function(t){var i=Rl.bind(null,e,t);n.has(t)||(n.add(t),t.then(i,i))}))}}function mc(e,t){var n=t.deletions;if(null!==n)for(var i=0;i<n.length;i++){var o=n[i];try{var a=e,s=t,c=s;e:for(;null!==c;){switch(c.tag){case 5:uc=c.stateNode,dc=!1;break e;case 3:case 4:uc=c.stateNode.containerInfo,dc=!0;break e}c=c.return}if(null===uc)throw Error(r(160));hc(a,s,o),uc=null,dc=!1;var l=o.alternate;null!==l&&(l.return=null),o.return=null}catch(e){Al(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)_c(t,e),t=t.sibling}function _c(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mc(t,e),gc(e),4&i){try{nc(3,e,e.return),ic(3,e)}catch(t){Al(e,e.return,t)}try{nc(5,e,e.return)}catch(t){Al(e,e.return,t)}}break;case 1:mc(t,e),gc(e),512&i&&null!==n&&Qs(n,n.return);break;case 5:if(mc(t,e),gc(e),512&i&&null!==n&&Qs(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(t){Al(e,e.return,t)}}if(4&i&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,c=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===c&&"radio"===a.type&&null!=a.name&&$(o,a),ve(c,s);var u=ve(c,a);for(s=0;s<l.length;s+=2){var d=l[s],p=l[s+1];"style"===d?_e(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):v(o,d,p,u)}switch(c){case"input":Z(o,a);break;case"textarea":re(o,a);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?ne(o,!!a.multiple,f,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[fo]=a}catch(t){Al(e,e.return,t)}}break;case 6:if(mc(t,e),gc(e),4&i){if(null===e.stateNode)throw Error(r(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Al(e,e.return,t)}}break;case 3:if(mc(t,e),gc(e),4&i&&null!==n&&n.memoizedState.isDehydrated)try{Gt(t.containerInfo)}catch(t){Al(e,e.return,t)}break;case 4:default:mc(t,e),gc(e);break;case 13:mc(t,e),gc(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Hc=$e())),4&i&&fc(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xs=(u=Xs)||d,mc(t,e),Xs=u):mc(t,e),gc(e),8192&i){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Zs=e,d=e.child;null!==d;){for(p=Zs=d;null!==Zs;){switch(f=(h=Zs).child,h.tag){case 0:case 11:case 14:case 15:nc(4,h,h.return);break;case 1:Qs(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){i=h,n=h.return;try{t=i,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Al(i,n,e)}}break;case 5:Qs(h,h.return);break;case 22:if(null!==h.memoizedState){bc(p);continue}}null!==f?(f.return=h,Zs=f):bc(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(c=p.stateNode,s=null!=(l=p.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,c.style.display=me("display",s))}catch(t){Al(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){Al(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:mc(t,e),gc(e),4&i&&fc(e);case 21:}}function gc(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ac(n)){var i=n;break e}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var o=i.stateNode;32&i.flags&&(pe(o,""),i.flags&=-33),lc(e,sc(e),o);break;case 3:case 4:var a=i.stateNode.containerInfo;cc(e,sc(e),a);break;default:throw Error(r(161))}}catch(t){Al(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ec(e,t,n){Zs=e,vc(e,t,n)}function vc(e,t,n){for(var i=0!=(1&e.mode);null!==Zs;){var o=Zs,r=o.child;if(22===o.tag&&i){var a=null!==o.memoizedState||qs;if(!a){var s=o.alternate,c=null!==s&&null!==s.memoizedState||Xs;s=qs;var l=Xs;if(qs=a,(Xs=c)&&!l)for(Zs=o;null!==Zs;)c=(a=Zs).child,22===a.tag&&null!==a.memoizedState?Sc(o):null!==c?(c.return=a,Zs=c):Sc(o);for(;null!==r;)Zs=r,vc(r,t,n),r=r.sibling;Zs=o,qs=s,Xs=l}yc(e)}else 0!=(8772&o.subtreeFlags)&&null!==r?(r.return=o,Zs=r):yc(e)}}function yc(e){for(;null!==Zs;){var t=Zs;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xs||ic(5,t);break;case 1:var i=t.stateNode;if(4&t.flags&&!Xs)if(null===n)i.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);i.componentDidUpdate(o,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&jr(t,a,i);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}jr(t,s,n)}break;case 5:var c=t.stateNode;if(null===n&&4&t.flags){n=c;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Gt(p)}}}break;default:throw Error(r(163))}Xs||512&t.flags&&oc(t)}catch(e){Al(t,t.return,e)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function bc(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function Sc(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ic(4,t)}catch(e){Al(t,n,e)}break;case 1:var i=t.stateNode;if("function"==typeof i.componentDidMount){var o=t.return;try{i.componentDidMount()}catch(e){Al(t,o,e)}}var r=t.return;try{oc(t)}catch(e){Al(t,r,e)}break;case 5:var a=t.return;try{oc(t)}catch(e){Al(t,a,e)}}}catch(e){Al(t,t.return,e)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var Tc,Ac=Math.ceil,Ic=y.ReactCurrentDispatcher,Oc=y.ReactCurrentOwner,Cc=y.ReactCurrentBatchConfig,Rc=0,Nc=null,Pc=null,Lc=0,kc=0,wc=Io(0),Dc=0,Mc=null,xc=0,Uc=0,Vc=0,Fc=null,Bc=null,Hc=0,Gc=1/0,Wc=null,jc=!1,Yc=null,zc=null,Kc=!1,Jc=null,qc=0,Xc=0,$c=null,Zc=-1,Qc=0;function el(){return 0!=(6&Rc)?$e():-1!==Zc?Zc:Zc=$e()}function tl(e){return 0==(1&e.mode)?1:0!=(2&Rc)&&0!==Lc?Lc&-Lc:null!==_r.transition?(0===Qc&&(Qc=mt()),Qc):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function nl(e,t,n,i){if(50<Xc)throw Xc=0,$c=null,Error(r(185));gt(e,n,i),0!=(2&Rc)&&e===Nc||(e===Nc&&(0==(2&Rc)&&(Uc|=n),4===Dc&&sl(e,Lc)),il(e,i),1===n&&0===Rc&&0==(1&t.mode)&&(Gc=$e()+500,Bo&&Wo()))}function il(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,r=e.pendingLanes;0<r;){var a=31-at(r),s=1<<a,c=o[a];-1===c?0!=(s&n)&&0==(s&i)||(o[a]=ht(s,t)):c<=t&&(e.expiredLanes|=s),r&=~s}}(e,t);var i=pt(e,e===Nc?Lc:0);if(0===i)null!==n&&Je(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=n&&Je(n),1===t)0===e.tag?function(e){Bo=!0,Go(e)}(cl.bind(null,e)):Go(cl.bind(null,e)),ao((function(){0==(6&Rc)&&Wo()})),n=null;else{switch(yt(i)){case 1:n=Qe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=it}n=Nl(n,ol.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ol(e,t){if(Zc=-1,Qc=0,0!=(6&Rc))throw Error(r(327));var n=e.callbackNode;if(Sl()&&e.callbackNode!==n)return null;var i=pt(e,e===Nc?Lc:0);if(0===i)return null;if(0!=(30&i)||0!=(i&e.expiredLanes)||t)t=_l(e,i);else{t=i;var o=Rc;Rc|=2;var a=fl();for(Nc===e&&Lc===t||(Wc=null,Gc=$e()+500,pl(e,t));;)try{El();break}catch(t){hl(e,t)}Cr(),Ic.current=a,Rc=o,null!==Pc?t=0:(Nc=null,Lc=0,t=Dc)}if(0!==t){if(2===t&&(0!==(o=ft(e))&&(i=o,t=rl(e,o))),1===t)throw n=Mc,pl(e,0),sl(e,i),il(e,$e()),n;if(6===t)sl(e,i);else{if(o=e.current.alternate,0==(30&i)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var i=0;i<n.length;i++){var o=n[i],r=o.getSnapshot;o=o.value;try{if(!si(r(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=_l(e,i))&&(0!==(a=ft(e))&&(i=a,t=rl(e,a))),1===t))throw n=Mc,pl(e,0),sl(e,i),il(e,$e()),n;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:case 5:bl(e,Bc,Wc);break;case 3:if(sl(e,i),(130023424&i)===i&&10<(t=Hc+500-$e())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&i)!==i){el(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=io(bl.bind(null,e,Bc,Wc),t);break}bl(e,Bc,Wc);break;case 4:if(sl(e,i),(4194240&i)===i)break;for(t=e.eventTimes,o=-1;0<i;){var s=31-at(i);a=1<<s,(s=t[s])>o&&(o=s),i&=~a}if(i=o,10<(i=(120>(i=$e()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Ac(i/1960))-i)){e.timeoutHandle=io(bl.bind(null,e,Bc,Wc),i);break}bl(e,Bc,Wc);break;default:throw Error(r(329))}}}return il(e,$e()),e.callbackNode===n?ol.bind(null,e):null}function rl(e,t){var n=Fc;return e.current.memoizedState.isDehydrated&&(pl(e,t).flags|=256),2!==(e=_l(e,t))&&(t=Bc,Bc=n,null!==t&&al(t)),e}function al(e){null===Bc?Bc=e:Bc.push.apply(Bc,e)}function sl(e,t){for(t&=~Vc,t&=~Uc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),i=1<<n;e[n]=-1,t&=~i}}function cl(e){if(0!=(6&Rc))throw Error(r(327));Sl();var t=pt(e,0);if(0==(1&t))return il(e,$e()),null;var n=_l(e,t);if(0!==e.tag&&2===n){var i=ft(e);0!==i&&(t=i,n=rl(e,i))}if(1===n)throw n=Mc,pl(e,0),sl(e,t),il(e,$e()),n;if(6===n)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,bl(e,Bc,Wc),il(e,$e()),null}function ll(e,t){var n=Rc;Rc|=1;try{return e(t)}finally{0===(Rc=n)&&(Gc=$e()+500,Bo&&Wo())}}function ul(e){null!==Jc&&0===Jc.tag&&0==(6&Rc)&&Sl();var t=Rc;Rc|=1;var n=Cc.transition,i=vt;try{if(Cc.transition=null,vt=1,e)return e()}finally{vt=i,Cc.transition=n,0==(6&(Rc=t))&&Wo()}}function dl(){kc=wc.current,Oo(wc)}function pl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Pc)for(n=Pc.return;null!==n;){var i=n;switch(nr(i),i.tag){case 1:null!=(i=i.type.childContextTypes)&&Do();break;case 3:$r(),Oo(Po),Oo(No),ia();break;case 5:Qr(i);break;case 4:$r();break;case 13:case 19:Oo(ea);break;case 10:Rr(i.type._context);break;case 22:case 23:dl()}n=n.return}if(Nc=e,Pc=e=wl(e.current,null),Lc=kc=t,Dc=0,Mc=null,Vc=Uc=xc=0,Bc=Fc=null,null!==kr){for(t=0;t<kr.length;t++)if(null!==(i=(n=kr[t]).interleaved)){n.interleaved=null;var o=i.next,r=n.pending;if(null!==r){var a=r.next;r.next=o,i.next=a}n.pending=i}kr=null}return e}function hl(e,t){for(;;){var n=Pc;try{if(Cr(),oa.current=Za,ua){for(var i=sa.memoizedState;null!==i;){var o=i.queue;null!==o&&(o.pending=null),i=i.next}ua=!1}if(aa=0,la=ca=sa=null,da=!1,pa=0,Oc.current=null,null===n||null===n.return){Dc=1,Mc=t,Pc=null;break}e:{var a=e,s=n.return,c=n,l=t;if(t=Lc,c.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,d=c,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=_s(s);if(null!==f){f.flags&=-257,gs(f,s,c,0,t),1&f.mode&&ms(a,u,t),l=u;var m=(t=f).updateQueue;if(null===m){var _=new Set;_.add(l),t.updateQueue=_}else m.add(l);break e}if(0==(1&t)){ms(a,u,t),ml();break e}l=Error(r(426))}else if(rr&&1&c.mode){var g=_s(s);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),gs(g,s,c,0,t),mr(ls(l,c));break e}}a=l=ls(l,c),4!==Dc&&(Dc=2),null===Fc?Fc=[a]:Fc.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Gr(a,hs(0,l,t));break e;case 1:c=l;var E=a.type,v=a.stateNode;if(0==(128&a.flags)&&("function"==typeof E.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===zc||!zc.has(v)))){a.flags|=65536,t&=-t,a.lanes|=t,Gr(a,fs(a,c,t));break e}}a=a.return}while(null!==a)}yl(n)}catch(e){t=e,Pc===n&&null!==n&&(Pc=n=n.return);continue}break}}function fl(){var e=Ic.current;return Ic.current=Za,null===e?Za:e}function ml(){0!==Dc&&3!==Dc&&2!==Dc||(Dc=4),null===Nc||0==(268435455&xc)&&0==(268435455&Uc)||sl(Nc,Lc)}function _l(e,t){var n=Rc;Rc|=2;var i=fl();for(Nc===e&&Lc===t||(Wc=null,pl(e,t));;)try{gl();break}catch(t){hl(e,t)}if(Cr(),Rc=n,Ic.current=i,null!==Pc)throw Error(r(261));return Nc=null,Lc=0,Dc}function gl(){for(;null!==Pc;)vl(Pc)}function El(){for(;null!==Pc&&!qe();)vl(Pc)}function vl(e){var t=Tc(e.alternate,e,kc);e.memoizedProps=e.pendingProps,null===t?yl(e):Pc=t,Oc.current=null}function yl(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ks(n,t,kc)))return void(Pc=n)}else{if(null!==(n=Js(n,t)))return n.flags&=32767,void(Pc=n);if(null===e)return Dc=6,void(Pc=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pc=t);Pc=t=e}while(null!==t);0===Dc&&(Dc=5)}function bl(e,t,n){var i=vt,o=Cc.transition;try{Cc.transition=null,vt=1,function(e,t,n,i){do{Sl()}while(null!==Jc);if(0!=(6&Rc))throw Error(r(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var i=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),r=1<<o;t[o]=0,i[o]=-1,e[o]=-1,n&=~r}}(e,a),e===Nc&&(Pc=Nc=null,Lc=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Kc||(Kc=!0,Nl(tt,(function(){return Sl(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Cc.transition,Cc.transition=null;var s=vt;vt=1;var c=Rc;Rc|=4,Oc.current=null,function(e,t){if(eo=jt,hi(e=pi())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(i&&0!==i.rangeCount){n=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,c=-1,l=-1,u=0,d=0,p=e,h=null;t:for(;;){for(var f;p!==n||0!==o&&3!==p.nodeType||(c=s+o),p!==a||0!==i&&3!==p.nodeType||(l=s+i),3===p.nodeType&&(s+=p.nodeValue.length),null!==(f=p.firstChild);)h=p,p=f;for(;;){if(p===e)break t;if(h===n&&++u===o&&(c=s),h===a&&++d===i&&(l=s),null!==(f=p.nextSibling))break;h=(p=h).parentNode}p=f}n=-1===c||-1===l?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},jt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var _=m.memoizedProps,g=m.memoizedState,E=t.stateNode,v=E.getSnapshotBeforeUpdate(t.elementType===t.type?_:ns(t.type,_),g);E.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(r(163))}}catch(e){Al(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}m=tc,tc=!1}(e,n),_c(n,e),fi(to),jt=!!eo,to=eo=null,e.current=n,Ec(n,e,o),Xe(),Rc=c,vt=s,Cc.transition=a}else e.current=n;if(Kc&&(Kc=!1,Jc=e,qc=o),a=e.pendingLanes,0===a&&(zc=null),function(e){if(rt&&"function"==typeof rt.onCommitFiberRoot)try{rt.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),il(e,$e()),null!==t)for(i=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],i(o.value,{componentStack:o.stack,digest:o.digest});if(jc)throw jc=!1,e=Yc,Yc=null,e;0!=(1&qc)&&0!==e.tag&&Sl(),a=e.pendingLanes,0!=(1&a)?e===$c?Xc++:(Xc=0,$c=e):Xc=0,Wo()}(e,t,n,i)}finally{Cc.transition=o,vt=i}return null}function Sl(){if(null!==Jc){var e=yt(qc),t=Cc.transition,n=vt;try{if(Cc.transition=null,vt=16>e?16:e,null===Jc)var i=!1;else{if(e=Jc,Jc=null,qc=0,0!=(6&Rc))throw Error(r(331));var o=Rc;for(Rc|=4,Zs=e.current;null!==Zs;){var a=Zs,s=a.child;if(0!=(16&Zs.flags)){var c=a.deletions;if(null!==c){for(var l=0;l<c.length;l++){var u=c[l];for(Zs=u;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:nc(8,d,a)}var p=d.child;if(null!==p)p.return=d,Zs=p;else for(;null!==Zs;){var h=(d=Zs).sibling,f=d.return;if(rc(d),d===u){Zs=null;break}if(null!==h){h.return=f,Zs=h;break}Zs=f}}}var m=a.alternate;if(null!==m){var _=m.child;if(null!==_){m.child=null;do{var g=_.sibling;_.sibling=null,_=g}while(null!==_)}}Zs=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Zs=s;else e:for(;null!==Zs;){if(0!=(2048&(a=Zs).flags))switch(a.tag){case 0:case 11:case 15:nc(9,a,a.return)}var E=a.sibling;if(null!==E){E.return=a.return,Zs=E;break e}Zs=a.return}}var v=e.current;for(Zs=v;null!==Zs;){var y=(s=Zs).child;if(0!=(2064&s.subtreeFlags)&&null!==y)y.return=s,Zs=y;else e:for(s=v;null!==Zs;){if(0!=(2048&(c=Zs).flags))try{switch(c.tag){case 0:case 11:case 15:ic(9,c)}}catch(e){Al(c,c.return,e)}if(c===s){Zs=null;break e}var b=c.sibling;if(null!==b){b.return=c.return,Zs=b;break e}Zs=c.return}}if(Rc=o,Wo(),rt&&"function"==typeof rt.onPostCommitFiberRoot)try{rt.onPostCommitFiberRoot(ot,e)}catch(e){}i=!0}return i}finally{vt=n,Cc.transition=t}}return!1}function Tl(e,t,n){e=Br(e,t=hs(0,t=ls(n,t),1),1),t=el(),null!==e&&(gt(e,1,t),il(e,t))}function Al(e,t,n){if(3===e.tag)Tl(e,e,n);else for(;null!==t;){if(3===t.tag){Tl(t,e,n);break}if(1===t.tag){var i=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&(null===zc||!zc.has(i))){t=Br(t,e=fs(t,e=ls(n,e),1),1),e=el(),null!==t&&(gt(t,1,e),il(t,e));break}}t=t.return}}function Il(e,t,n){var i=e.pingCache;null!==i&&i.delete(t),t=el(),e.pingedLanes|=e.suspendedLanes&n,Nc===e&&(Lc&n)===n&&(4===Dc||3===Dc&&(130023424&Lc)===Lc&&500>$e()-Hc?pl(e,0):Vc|=n),il(e,t)}function Ol(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=el();null!==(e=Mr(e,t))&&(gt(e,t,n),il(e,n))}function Cl(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ol(e,n)}function Rl(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}null!==i&&i.delete(t),Ol(e,n)}function Nl(e,t){return Ke(e,t)}function Pl(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ll(e,t,n,i){return new Pl(e,t,n,i)}function kl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wl(e,t){var n=e.alternate;return null===n?((n=Ll(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dl(e,t,n,i,o,a){var s=2;if(i=e,"function"==typeof e)kl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case T:return Ml(n.children,o,a,t);case A:s=8,o|=8;break;case I:return(e=Ll(12,n,t,2|o)).elementType=I,e.lanes=a,e;case N:return(e=Ll(13,n,t,o)).elementType=N,e.lanes=a,e;case P:return(e=Ll(19,n,t,o)).elementType=P,e.lanes=a,e;case w:return xl(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:s=10;break e;case C:s=9;break e;case R:s=11;break e;case L:s=14;break e;case k:s=16,i=null;break e}throw Error(r(130,null==e?e:typeof e,""))}return(t=Ll(s,n,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Ml(e,t,n,i){return(e=Ll(7,e,i,t)).lanes=n,e}function xl(e,t,n,i){return(e=Ll(22,e,i,t)).elementType=w,e.lanes=n,e.stateNode={isHidden:!1},e}function Ul(e,t,n){return(e=Ll(6,e,null,t)).lanes=n,e}function Vl(e,t,n){return(t=Ll(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fl(e,t,n,i,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_t(0),this.expirationTimes=_t(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_t(0),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bl(e,t,n,i,o,r,a,s,c){return e=new Fl(e,t,n,s,c),1===t?(t=1,!0===r&&(t|=8)):t=0,r=Ll(3,null,null,t),e.current=r,r.stateNode=e,r.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ur(r),e}function Hl(e){if(!e)return Ro;e:{if(Ge(e=e._reactInternals)!==e||1!==e.tag)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(wo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(r(171))}if(1===e.tag){var n=e.type;if(wo(n))return xo(e,n,t)}return t}function Gl(e,t,n,i,o,r,a,s,c){return(e=Bl(n,i,!0,e,0,r,0,s,c)).context=Hl(null),n=e.current,(r=Fr(i=el(),o=tl(n))).callback=null!=t?t:null,Br(n,r,o),e.current.lanes=o,gt(e,o,i),il(e,i),e}function Wl(e,t,n,i){var o=t.current,r=el(),a=tl(o);return n=Hl(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fr(r,a)).payload={element:e},null!==(i=void 0===i?null:i)&&(t.callback=i),null!==(e=Br(o,t,a))&&(nl(e,o,a,r),Hr(e,o,a)),a}function jl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Yl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function zl(e,t){Yl(e,t),(e=e.alternate)&&Yl(e,t)}Tc=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)vs=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return vs=!1,function(e,t,n){switch(t.tag){case 3:Ns(t),fr();break;case 5:Zr(t);break;case 1:wo(t.type)&&Uo(t);break;case 4:Xr(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,o=t.memoizedProps.value;Co(Tr,i._currentValue),i._currentValue=o;break;case 13:if(null!==(i=t.memoizedState))return null!==i.dehydrated?(Co(ea,1&ea.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Us(e,t,n):(Co(ea,1&ea.current),null!==(e=js(e,t,n))?e.sibling:null);Co(ea,1&ea.current);break;case 19:if(i=0!=(n&t.childLanes),0!=(128&e.flags)){if(i)return Gs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Co(ea,ea.current),i)break;return null;case 22:case 23:return t.lanes=0,As(e,t,n)}return js(e,t,n)}(e,t,n);vs=0!=(131072&e.flags)}else vs=!1,rr&&0!=(1048576&t.flags)&&er(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Ws(e,t),e=t.pendingProps;var o=ko(t,No.current);Pr(t,n),o=_a(null,t,i,e,o,n);var a=ga();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,wo(i)?(a=!0,Uo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ur(t),o.updater=os,t.stateNode=o,o._reactInternals=t,cs(t,i,e,n),t=Rs(null,t,i,!0,a,n)):(t.tag=0,rr&&a&&tr(t),ys(null,t,o,n),t=t.child),t;case 16:i=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return kl(e)?1:0;if(null!=e){if((e=e.$$typeof)===R)return 11;if(e===L)return 14}return 2}(i),e=ns(i,e),o){case 0:t=Os(null,t,i,e,n);break e;case 1:t=Cs(null,t,i,e,n);break e;case 11:t=bs(null,t,i,e,n);break e;case 14:t=Ss(null,t,i,ns(i.type,e),n);break e}throw Error(r(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,Os(e,t,i,o=t.elementType===i?o:ns(i,o),n);case 1:return i=t.type,o=t.pendingProps,Cs(e,t,i,o=t.elementType===i?o:ns(i,o),n);case 3:e:{if(Ns(t),null===e)throw Error(r(387));i=t.pendingProps,o=(a=t.memoizedState).element,Vr(e,t),Wr(t,i,null,n);var s=t.memoizedState;if(i=s.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ps(e,t,i,n,o=ls(Error(r(423)),t));break e}if(i!==o){t=Ps(e,t,i,n,o=ls(Error(r(424)),t));break e}for(or=lo(t.stateNode.containerInfo.firstChild),ir=t,rr=!0,ar=null,n=Sr(t,null,i,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fr(),i===o){t=js(e,t,n);break e}ys(e,t,i,n)}t=t.child}return t;case 5:return Zr(t),null===e&&ur(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(i,o)?s=null:null!==a&&no(i,a)&&(t.flags|=32),Is(e,t),ys(e,t,s,n),t.child;case 6:return null===e&&ur(t),null;case 13:return Us(e,t,n);case 4:return Xr(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=br(t,null,i,n):ys(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,bs(e,t,i,o=t.elementType===i?o:ns(i,o),n);case 7:return ys(e,t,t.pendingProps,n),t.child;case 8:case 12:return ys(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Co(Tr,i._currentValue),i._currentValue=s,null!==a)if(si(a.value,s)){if(a.children===o.children&&!Po.current){t=js(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var c=a.dependencies;if(null!==c){s=a.child;for(var l=c.firstContext;null!==l;){if(l.context===i){if(1===a.tag){(l=Fr(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Nr(a.return,n,t),c.lanes|=n;break}l=l.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(r(341));s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),Nr(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ys(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,Pr(t,n),i=i(o=Lr(o)),t.flags|=1,ys(e,t,i,n),t.child;case 14:return o=ns(i=t.type,t.pendingProps),Ss(e,t,i,o=ns(i.type,o),n);case 15:return Ts(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:ns(i,o),Ws(e,t),t.tag=1,wo(i)?(e=!0,Uo(t)):e=!1,Pr(t,n),as(t,i,o),cs(t,i,o,n),Rs(null,t,i,!0,e,n);case 19:return Gs(e,t,n);case 22:return As(e,t,n)}throw Error(r(156,t.tag))};var Kl="function"==typeof reportError?reportError:function(e){console.error(e)};function Jl(e){this._internalRoot=e}function ql(e){this._internalRoot=e}function Xl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function $l(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zl(){}function Ql(e,t,n,i,o){var r=n._reactRootContainer;if(r){var a=r;if("function"==typeof o){var s=o;o=function(){var e=jl(a);s.call(e)}}Wl(t,a,e,o)}else a=function(e,t,n,i,o){if(o){if("function"==typeof i){var r=i;i=function(){var e=jl(a);r.call(e)}}var a=Gl(t,i,e,0,null,!1,0,"",Zl);return e._reactRootContainer=a,e[mo]=a.current,Gi(8===e.nodeType?e.parentNode:e),ul(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof i){var s=i;i=function(){var e=jl(c);s.call(e)}}var c=Bl(e,0,!1,null,0,!1,0,"",Zl);return e._reactRootContainer=c,e[mo]=c.current,Gi(8===e.nodeType?e.parentNode:e),ul((function(){Wl(t,c,n,i)})),c}(n,t,e,o,i);return jl(a)}ql.prototype.render=Jl.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));Wl(e,t,null,null)},ql.prototype.unmount=Jl.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ul((function(){Wl(null,e,null,null)})),t[mo]=null}},ql.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var n=0;n<wt.length&&0!==t&&t<wt[n].priority;n++);wt.splice(n,0,e),0===n&&Ut(e)}},bt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(Et(t,1|n),il(t,$e()),0==(6&Rc)&&(Gc=$e()+500,Wo()))}break;case 13:ul((function(){var t=Mr(e,1);if(null!==t){var n=el();nl(t,e,1,n)}})),zl(e,1)}},St=function(e){if(13===e.tag){var t=Mr(e,134217728);if(null!==t)nl(t,e,134217728,el());zl(e,134217728)}},Tt=function(e){if(13===e.tag){var t=tl(e),n=Mr(e,t);if(null!==n)nl(n,e,t,el());zl(e,t)}},At=function(){return vt},It=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},Se=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=So(i);if(!o)throw Error(r(90));K(i),Z(i,o)}}}break;case"textarea":re(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Re=ll,Ne=ul;var eu={usingClientEntryPoint:!1,Events:[yo,bo,So,Oe,Ce,ll]},tu={findFiberByHostInstance:vo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ye(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var iu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!iu.isDisabled&&iu.supportsFiber)try{ot=iu.inject(nu),rt=iu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xl(t))throw Error(r(200));return function(e,t,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==i?null:""+i,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xl(e))throw Error(r(299));var n=!1,i="",o=Kl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bl(e,1,!1,null,0,n,0,i,o),e[mo]=t.current,Gi(8===e.nodeType?e.parentNode:e),new Jl(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=null===(e=Ye(t))?null:e.stateNode},t.flushSync=function(e){return ul(e)},t.hydrate=function(e,t,n){if(!$l(t))throw Error(r(200));return Ql(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xl(e))throw Error(r(405));var i=null!=n&&n.hydratedSources||null,o=!1,a="",s=Kl;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Gl(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,Gi(e),i)for(e=0;e<i.length;e++)o=(o=(n=i[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ql(t)},t.render=function(e,t,n){if(!$l(t))throw Error(r(200));return Ql(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!$l(e))throw Error(r(40));return!!e._reactRootContainer&&(ul((function(){Ql(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=ll,t.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!$l(n))throw Error(r(200));if(null==e||void 0===e._reactInternals)throw Error(r(38));return Ql(e,t,n,!1,i)},t.version="18.3.1-next-f1338f8080-20240426"},99576:(e,t,n)=>{"use strict";var i=n(8143);t.H=i.createRoot,i.hydrateRoot},8143:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(19481)},31186:(e,t,n)=>{"use strict";var i,o;i=n(67495),o=n(29521),t.version=i.version,t.renderToString=i.renderToString,t.renderToStaticMarkup=i.renderToStaticMarkup,t.renderToNodeStream=i.renderToNodeStream,t.renderToStaticNodeStream=i.renderToStaticNodeStream,t.renderToReadableStream=o.renderToReadableStream},29615:(e,t,n)=>{"use strict";n.d(t,{tH:()=>a});var i=n(30758);const o=(0,i.createContext)(null),r={didCatch:!1,error:null};class a extends i.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=r}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(null!==e){for(var t,n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];null===(t=(n=this.props).onReset)||void 0===t||t.call(n,{args:o,reason:"imperative-api"}),this.setState(r)}}componentDidCatch(e,t){var n,i;null===(n=(i=this.props).onError)||void 0===n||n.call(i,e,t)}componentDidUpdate(e,t){const{didCatch:n}=this.state,{resetKeys:i}=this.props;var o,a;n&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some(((e,n)=>!Object.is(e,t[n])))}(e.resetKeys,i)&&(null===(o=(a=this.props).onReset)||void 0===o||o.call(a,{next:i,prev:e.resetKeys,reason:"keys"}),this.setState(r))}render(){const{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:a,error:s}=this.state;let c=e;if(a){const e={error:s,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)c=t(e);else if(n)c=(0,i.createElement)(n,e);else{if(null!==r&&!(0,i.isValidElement)(r))throw s;c=r}}return(0,i.createElement)(o.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},c)}}},34072:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,i="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function r(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(c=s;0!=c--;)if(!r(e[c],a[c]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!r(c.value[1],a.get(c.value[0])))return!1;return!0}if(i&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(c=s;0!=c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!r(e[l[c]],a[l[c]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return r(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},72757:(e,t,n)=>{"use strict";n.d(t,{lf:()=>ne,ZI:()=>ee,oz:()=>q});var i=n(30758);function o(e){if(e.constructor!==Array)throw new TypeError("Expected array.");if(16===e.length)return e;if(6===e.length){var t=r();return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}throw new RangeError("Expected array with either 6 or 16 values.")}function r(){for(var e=[],t=0;t<16;t++)t%5==0?e.push(1):e.push(0);return e}function a(e,t){for(var n=o(e),i=o(t),r=[],a=0;a<4;a++)for(var s=[n[a],n[a+4],n[a+8],n[a+12]],c=0;c<4;c++){var l=4*c,u=[i[l],i[l+1],i[l+2],i[l+3]],d=s[0]*u[0]+s[1]*u[1]+s[2]*u[2]+s[3]*u[3];r[a+l]=d}return r}var s=function(e){return"number"==typeof e},c=function(e){return"function"==typeof e},l=function(e){return"[object Object]"===Object.prototype.toString.call(e)},u=function(e){return Array.prototype.slice.apply(e)},d=function(e){var t=e.reduce((function(e,t){return e[t]=(e[t]||0)+1,e}),{});return Object.keys(t).filter((function(e){return t[e]>1}))};function p(e){return[].slice.call(arguments,1).forEach((function(t){if(t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}var h,f=function(e,t,n){return e+(t-e)*n},m={__proto__:null,isNumber:s,isFunction:c,isObject:l,toArray:u,getDuplicateValsAsStrings:d,assign:p,tweenProp:f},_="data-flip-id",g="data-inverse-flip-id",E="data-portal-key",v="data-exit-container",y=_,b=g,S="data-flip-config",T=E,A={noWobble:{stiffness:200,damping:26},gentle:{stiffness:120,damping:14},veryGentle:{stiffness:130,damping:17},wobbly:{stiffness:180,damping:12},stiff:{stiffness:260,damping:26}},I=function(e){return l(e)?e:Object.keys(A).indexOf(e)>-1?A[e]:{}};"undefined"!=typeof window&&(h=window.requestAnimationFrame);var O=h=h||function(e){window.setTimeout(e,1e3/60)},C=Date.now(),R="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()-C};function N(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}var P=function(){function e(){}return e.prototype.run=function(){var e=this;O((function(){e.springSystem.loop(R())}))},e}(),L=function(){this.position=0,this.velocity=0},k=0,w=.001,D=function(){function e(e){this._id="s"+k++,this._springSystem=e,this.listeners=[],this._startValue=0,this._currentState=new L,this._displacementFromRestThreshold=.001,this._endValue=0,this._overshootClampingEnabled=!1,this._previousState=new L,this._restSpeedThreshold=.001,this._tempState=new L,this._timeAccumulator=0,this._wasAtRest=!0,this._cachedSpringConfig={}}var t=e.prototype;return t.getId=function(){return this._id},t.destroy=function(){this.listeners=[],this._springSystem.deregisterSpring(this)},t.setSpringConfig=function(e){return this._springConfig=e,this},t.getCurrentValue=function(){return this._currentState.position},t.getDisplacementDistanceForState=function(e){return Math.abs(this._endValue-e.position)},t.setEndValue=function(e){if(e===this._endValue)return this;if(this.prevEndValue=e,this._endValue===e&&this.isAtRest())return this;this._startValue=this.getCurrentValue(),this._endValue=e,this._springSystem.activateSpring(this.getId());for(var t=0,n=this.listeners.length;t<n;t++){var i=this.listeners[t].onSpringEndStateChange;i&&i(this)}return this},t.setVelocity=function(e){return e===this._currentState.velocity||(this._currentState.velocity=e,this._springSystem.activateSpring(this.getId())),this},t.setCurrentValue=function(e){this._startValue=e,this._currentState.position=e;for(var t=0,n=this.listeners.length;t<n;t++){var i=this.listeners[t];i.onSpringUpdate&&i.onSpringUpdate(this)}return this},t.setAtRest=function(){return this._endValue=this._currentState.position,this._tempState.position=this._currentState.position,this._currentState.velocity=0,this},t.setOvershootClampingEnabled=function(e){return this._overshootClampingEnabled=e,this},t.isOvershooting=function(){var e=this._startValue,t=this._endValue;return this._springConfig.tension>0&&(e<t&&this.getCurrentValue()>t||e>t&&this.getCurrentValue()<t)},t.advance=function(e,t){var n=this.isAtRest();if(!n||!this._wasAtRest){var i=t;t>.064&&(i=.064),this._timeAccumulator+=i;for(var o,r,a,s,c,l,u=this._springConfig.tension,d=this._springConfig.friction,p=this._currentState.position,h=this._currentState.velocity,f=this._tempState.position,m=this._tempState.velocity;this._timeAccumulator>=w;)this._timeAccumulator-=w,this._timeAccumulator<w&&(this._previousState.position=p,this._previousState.velocity=h),r=u*(this._endValue-f)-d*h,s=u*(this._endValue-(f=p+(o=h)*w*.5))-d*(m=h+r*w*.5),l=u*(this._endValue-(f=p+(a=m)*w*.5))-d*(m=h+s*w*.5),f=p+(c=m)*w,p+=1/6*(o+2*(a+c)+(m=h+l*w))*w,h+=1/6*(r+2*(s+l)+(u*(this._endValue-f)-d*m))*w;this._tempState.position=f,this._tempState.velocity=m,this._currentState.position=p,this._currentState.velocity=h,this._timeAccumulator>0&&this._interpolate(this._timeAccumulator/w),(this.isAtRest()||this._overshootClampingEnabled&&this.isOvershooting())&&(this._springConfig.tension>0?(this._startValue=this._endValue,this._currentState.position=this._endValue):(this._endValue=this._currentState.position,this._startValue=this._endValue),this.setVelocity(0),n=!0);var _=!1;this._wasAtRest&&(this._wasAtRest=!1,_=!0);var g=!1;n&&(this._wasAtRest=!0,g=!0),this.notifyPositionUpdated(_,g)}},t.notifyPositionUpdated=function(e,t){var n=this;this.listeners.filter(Boolean).forEach((function(i){e&&i.onSpringActivate&&!n._onActivateCalled&&(i.onSpringActivate(n),n._onActivateCalled=!0),i.onSpringUpdate&&i.onSpringUpdate(n),t&&i.onSpringAtRest&&i.onSpringAtRest(n)}))},t.systemShouldAdvance=function(){return!this.isAtRest()||!this.wasAtRest()},t.wasAtRest=function(){return this._wasAtRest},t.isAtRest=function(){return Math.abs(this._currentState.velocity)<this._restSpeedThreshold&&(this.getDisplacementDistanceForState(this._currentState)<=this._displacementFromRestThreshold||0===this._springConfig.tension)},t._interpolate=function(e){this._currentState.position=this._currentState.position*e+this._previousState.position*(1-e),this._currentState.velocity=this._currentState.velocity*e+this._previousState.velocity*(1-e)},t.addListener=function(e){return this.listeners.push(e),this},t.addOneTimeListener=function(e){var t=this;return Object.keys(e).forEach((function(n){var i;e[n]=(i=e[n],function(){i.apply(void 0,[].slice.call(arguments)),t.removeListener(e)})})),this.listeners.push(e),this},t.removeListener=function(e){return N(this.listeners,e),this},e}(),M=function(){function e(e){this.looper=e||new P,this.looper.springSystem=this,this.listeners=[],this._activeSprings=[],this._idleSpringIndices=[],this._isIdle=!0,this._lastTimeMillis=-1,this._springRegistry={}}var t=e.prototype;return t.createSpring=function(e,t){return this.createSpringWithConfig({tension:e,friction:t})},t.createSpringWithConfig=function(e){var t=new D(this);return this.registerSpring(t),t.setSpringConfig(e),t},t.getIsIdle=function(){return this._isIdle},t.registerSpring=function(e){this._springRegistry[e.getId()]=e},t.deregisterSpring=function(e){N(this._activeSprings,e),delete this._springRegistry[e.getId()]},t.advance=function(e,t){for(var n=this;this._idleSpringIndices.length>0;)this._idleSpringIndices.pop();for(this._activeSprings.filter(Boolean).forEach((function(i){i.systemShouldAdvance()?i.advance(e/1e3,t/1e3):n._idleSpringIndices.push(n._activeSprings.indexOf(i))}));this._idleSpringIndices.length>0;){var i=this._idleSpringIndices.pop();i>=0&&this._activeSprings.splice(i,1)}},t.loop=function(e){var t;-1===this._lastTimeMillis&&(this._lastTimeMillis=e-1);var n=e-this._lastTimeMillis;this._lastTimeMillis=e;var i=0,o=this.listeners.length;for(i=0;i<o;i++)(t=this.listeners[i]).onBeforeIntegrate&&t.onBeforeIntegrate(this);for(this.advance(e,n),0===this._activeSprings.length&&(this._isIdle=!0,this._lastTimeMillis=-1),i=0;i<o;i++)(t=this.listeners[i]).onAfterIntegrate&&t.onAfterIntegrate(this);this._isIdle||this.looper.run()},t.activateSpring=function(e){var t=this._springRegistry[e];-1===this._activeSprings.indexOf(t)&&this._activeSprings.push(t),this.getIsIdle()&&(this._isIdle=!1,this.looper.run())},e}(),x=new M,U=Spicetify.ReactFlipToolkit.spring=function(e){var t=e.springConfig,n=t.overshootClamping,i=e.getOnUpdateFunc,o=e.onAnimationEnd,r=e.onSpringActivate,a=x.createSpring(t.stiffness,t.damping);a.setOvershootClampingEnabled(!!n);var s={onSpringActivate:r,onSpringAtRest:function(){a.destroy(),o()},onSpringUpdate:i({spring:a,onAnimationEnd:o})};return a.addListener(s),a},V=function(e){var t=U(e);return t.setEndValue(1),t},F=function(e,t){if(void 0===t&&(t={}),e&&e.length){t.reverse&&e.reverse();var n,i="number"!=typeof(n=t.speed)?1.1:1+Math.min(Math.max(5*n,0),5),o=1/Math.max(Math.min(e.length,100),10),r=e.map((function(e,t){var n=e.getOnUpdateFunc;return e.getOnUpdateFunc=function(e){var a=n(e);return function(e){var n=e.getCurrentValue();(n=n<.01?0:n>.99?1:n)>=o&&r[t+1]&&r[t+1](Math.max(Math.min(n*i,1),0)),a(e)}},e})).map((function(e){var t=U(e);if(t)return t.setEndValue.bind(t)})).filter(Boolean);r[0]&&r[0](1)}},B=function(e){return[0,1,4,5,12,13].map((function(t){return e[t]}))},H=function(e){return e.top<window.innerHeight&&e.bottom>0&&e.left<window.innerWidth&&e.right>0};function G(e){return JSON.parse(e.dataset.flipConfig||"{}")}var W=function(e,t){var n;return p(e,((n={})[t[0]]=t[1],n))},j=function(e,t){return u(t?document.querySelectorAll("["+E+'="'+t+'"]'):e.querySelectorAll("["+_+"]"))},Y=function(e){return e.map((function(e){return[e,e.getBoundingClientRect()]}))},z=function(e){var t,n=e.cachedOrderedFlipIds,i=void 0===n?[]:n,l=e.inProgressAnimations,h=void 0===l?{}:l,m=e.flippedElementPositionsBeforeUpdate,v=void 0===m?{}:m,y=e.flipCallbacks,b=void 0===y?{}:y,S=e.containerEl,T=e.applyTransformOrigin,O=e.spring,C=e.debug,R=e.portalKey,N=e.staggerConfig,P=void 0===N?{}:N,L=e.decisionData,k=void 0===L?{}:L,w=e.handleEnterUpdateDelete,D=e.onComplete,M=e.onStart;if(!window.matchMedia("(prefers-reduced-motion: reduce)").matches){var x,U=Y(j((x={element:S,portalKey:R}).element,x.portalKey)).map((function(e){var t=e[0],n=e[1],i=window.getComputedStyle(t);return[t.dataset.flipId,{element:t,rect:n,opacity:parseFloat(i.opacity),transform:i.transform}]})).reduce(W,{}),z=function(e){var t=e.containerEl,n=e.portalKey;return n?function(e){return function(t){return u(document.querySelectorAll("["+E+'="'+e+'"]'+t))}}(n):t?function(e){var t=Math.random().toFixed(5);return e.dataset.flipperId=t,function(n){return u(e.querySelectorAll('[data-flipper-id="'+t+'"] '+n))}}(t):function(){return[]}}({containerEl:S,portalKey:R}),K=(t=z,function(e){return t("["+_+'="'+e+'"]')[0]}),J=function(e){return v[e]&&U[e]},q=Object.keys(v).concat(Object.keys(U)).filter((function(e){return!J(e)})),X={flipCallbacks:b,getElement:K,flippedElementPositionsBeforeUpdate:v,flippedElementPositionsAfterUpdate:U,inProgressAnimations:h,decisionData:k},$=function(e){var t,n=e.unflippedIds,i=e.flipCallbacks,o=e.getElement,r=e.flippedElementPositionsBeforeUpdate,a=e.flippedElementPositionsAfterUpdate,s=e.inProgressAnimations,c=e.decisionData,l=n.filter((function(e){return a[e]})).filter((function(e){return i[e]&&i[e].onAppear})),u=n.filter((function(e){return r[e]&&i[e]&&i[e].onExit})),d=new Promise((function(e){t=e})),p=[],h=0,f=u.map((function(e,n){var o=r[e].domDataForExitAnimations,a=o.element,l=o.parent,u=o.childPosition,d=u.top,f=u.left,m=u.width,_=u.height;"static"===getComputedStyle(l).position&&(l.style.position="relative"),a.style.transform="matrix(1, 0, 0, 1, 0, 0)",a.style.position="absolute",a.style.top=d+"px",a.style.left=f+"px",a.style.height=_+"px",a.style.width=m+"px";var g=p.filter((function(e){return e[0]===l}))[0];g||(g=[l,document.createDocumentFragment()],p.push(g)),g[1].appendChild(a),h+=1;var E=function(){try{l.removeChild(a)}catch(e){}finally{0==(h-=1)&&t()}};return s[e]={stop:E},function(){return i[e].onExit(a,n,E,c)}}));return p.forEach((function(e){e[0].appendChild(e[1])})),f.length||t(),{hideEnteringElements:function(){l.forEach((function(e){var t=o(e);t&&(t.style.opacity="0")}))},animateEnteringElements:function(){l.forEach((function(e,t){var n=o(e);n&&i[e].onAppear(n,t,c)}))},animateExitingElements:function(){return f.forEach((function(e){return e()})),d}}}(p({},X,{unflippedIds:q})),Z=$.hideEnteringElements,Q=$.animateEnteringElements,ee=$.animateExitingElements,te=p({},X,{containerEl:S,flippedIds:i.filter(J),applyTransformOrigin:T,spring:O,debug:C,staggerConfig:P,scopedSelector:z,onComplete:D});M&&M(S,k);var ne=function(e){var t,n=e.flippedIds,i=e.flipCallbacks,l=e.inProgressAnimations,h=e.flippedElementPositionsBeforeUpdate,m=e.flippedElementPositionsAfterUpdate,_=e.applyTransformOrigin,E=e.spring,v=e.getElement,y=e.debug,b=e.staggerConfig,S=void 0===b?{}:b,T=e.decisionData,O=void 0===T?{}:T,C=e.onComplete,R=e.containerEl,N=new Promise((function(e){t=e}));if(C&&N.then((function(){return C(R,O)})),!n.length)return function(){return t([]),N};var P=[],L=v(n[0]),k=L?L.ownerDocument.querySelector("body"):document.querySelector("body");d(n);var w=n.map((function(e){var n=h[e].rect,d=m[e].rect,v=h[e].opacity,y=m[e].opacity,b=d.width<1||d.height<1,S=m[e].element;if(!H(n)&&!H(d))return!1;if(!S)return!1;var T,C,R,N=G(S),L=(R=(C=void 0===(T={flipperSpring:E,flippedSpring:N.spring})?{}:T).flippedSpring,p({},A.noWobble,I(C.flipperSpring),I(R))),D=!0===N.stagger?"default":N.stagger,M={element:S,id:e,stagger:D,springConfig:L};if(i[e]&&i[e].shouldFlip&&!i[e].shouldFlip(O.previous,O.current))return!1;var x=Math.abs(n.left-d.left)+Math.abs(n.top-d.top),U=Math.abs(n.width-d.width)+Math.abs(n.height-d.height),V=Math.abs(y-v);if(0===n.height&&0===d.height||0===n.width&&0===d.width||x<.5&&U<.5&&V<.01)return!1;var F,W,j=function(e){if("string"==typeof e){var t=e.match(/matrix(3d)?\(([^)]+)\)/);if(t)return o(t[2].split(", ").map(parseFloat))}return r()}(m[e].transform),Y={matrix:j},z={matrix:[]},K=[j];N.translate&&(K.push((F=n.left-d.left,(W=r())[12]=F,W)),K.push(function(e){var t=r();return t[13]=e,t}(n.top-d.top))),N.scale&&(K.push(function(e){var t=r();return t[0]=e,t}(Math.max(n.width,1)/Math.max(d.width,1))),K.push(function(e){var t=r();return t[5]=e,t}(Math.max(n.height,1)/Math.max(d.height,1)))),N.opacity&&(z.opacity=v,Y.opacity=y);var J=[];if(!i[e]||!i[e].shouldInvert||i[e].shouldInvert(O.previous,O.current)){var q=function(e,t){return u(e.querySelectorAll("["+g+'="'+t+'"]'))}(S,e);J=q.map((function(e){return[e,G(e)]}))}z.matrix=B(K.reduce(a)),Y.matrix=B(Y.matrix);var X,$=function(e){var t=e.element,n=e.invertedChildren,i=e.body;return function(e){var o=e.matrix,r=e.opacity,a=e.forceMinVals;if(s(r)&&(t.style.opacity=r+""),a&&(t.style.minHeight="1px",t.style.minWidth="1px"),o){var c=function(e){return"matrix("+e.join(", ")+")"}(o);t.style.transform=c,n&&function(e){var t=e.matrix,n=e.body;e.invertedChildren.forEach((function(e){var i=e[0],o=e[1];if(n.contains(i)){var r=t[0],a=t[3],s=t[5],c={translateX:0,translateY:0,scaleX:1,scaleY:1},l="";o.translate&&(c.translateX=-t[4]/r,c.translateY=-s/a,l+="translate("+c.translateX+"px, "+c.translateY+"px)"),o.scale&&(c.scaleX=1/r,c.scaleY=1/a,l+=" scale("+c.scaleX+", "+c.scaleY+")"),i.style.transform=l}}))}({invertedChildren:n,matrix:o,body:i})}}}({element:S,invertedChildren:J,body:k});if(i[e]&&i[e].onComplete){var Z=i[e].onComplete;X=function(){return Z(S,O)}}var Q=s(z.opacity)&&s(Y.opacity)&&z.opacity!==Y.opacity,ee=!1;return p({},M,{stagger:D,springConfig:L,getOnUpdateFunc:function(t){var n=t.spring,o=t.onAnimationEnd;return l[e]={destroy:n.destroy.bind(n),onAnimationEnd:o},function(t){i[e]&&i[e].onSpringUpdate&&i[e].onSpringUpdate(t.getCurrentValue()),ee||(ee=!0,i[e]&&i[e].onStart&&i[e].onStart(S,O));var n=t.getCurrentValue();if(k.contains(S)){var o={matrix:[]};o.matrix=z.matrix.map((function(e,t){return f(e,Y.matrix[t],n)})),Q&&(o.opacity=f(z.opacity,Y.opacity,n)),$(o)}else t.destroy()}},initializeFlip:function(){$({matrix:z.matrix,opacity:Q?z.opacity:void 0,forceMinVals:b}),i[e]&&i[e].onStartImmediate&&i[e].onStartImmediate(S,O),N.transformOrigin?S.style.transformOrigin=N.transformOrigin:_&&(S.style.transformOrigin="0 0"),J.forEach((function(e){var t=e[0],n=e[1];n.transformOrigin?t.style.transformOrigin=n.transformOrigin:_&&(t.style.transformOrigin="0 0")}))},onAnimationEnd:function(n){delete l[e],c(X)&&X(),S.style.transform="",J.forEach((function(e){e[0].style.transform=""})),b&&S&&(S.style.minHeight="",S.style.minWidth=""),n||(P.push(e),P.length>=w.length&&t(P))},delayUntil:N.delayUntil})})).filter(Boolean);if(w.forEach((function(e){return(0,e.initializeFlip)()})),y)return function(){};var D=w.filter((function(e){return e.delayUntil&&(t=e.delayUntil,w.filter((function(e){return e.id===t})).length);var t})),M={},x={},U={};D.forEach((function(e){e.stagger?(U[e.stagger]=!0,x[e.delayUntil]?x[e.delayUntil].push(e.stagger):x[e.delayUntil]=[e.stagger]):M[e.delayUntil]?M[e.delayUntil].push(e):M[e.delayUntil]=[e]}));var W=w.filter((function(e){return e.stagger})).reduce((function(e,t){return e[t.stagger]?e[t.stagger].push(t):e[t.stagger]=[t],e}),{}),j=w.filter((function(e){return-1===D.indexOf(e)}));return j.forEach((function(e){e.onSpringActivate=function(){M[e.id]&&M[e.id].forEach(V),x[e.id]&&Object.keys(x[e.id].reduce((function(e,t){var n;return p(e,((n={})[t]=!0,n))}),{})).forEach((function(e){F(W[e],S[e])}))}})),function(){return w.length||t([]),j.filter((function(e){return!e.stagger})).forEach(V),Object.keys(W).forEach((function(e){U[e]||F(W[e],S[e])})),N}}(te);w?w({hideEnteringElements:Z,animateEnteringElements:Q,animateExitingElements:ee,animateFlippedElements:ne}):(Z(),ee().then(Q),ne())}},K=function(e){var t=e.element,n=e.flipCallbacks,i=void 0===n?{}:n,o=e.inProgressAnimations,r=void 0===o?{}:o,a=j(t,e.portalKey),s=u(t.querySelectorAll("["+g+"]")),c={},l=[],d={};a.filter((function(e){return i&&i[e.dataset.flipId]&&i[e.dataset.flipId].onExit})).forEach((function(e){var t=e.parentNode;if(e.closest){var n=e.closest("["+v+"]");n&&(t=n)}var i=l.findIndex((function(e){return e[0]===t}));-1===i&&(l.push([t,t.getBoundingClientRect()]),i=l.length-1),c[e.dataset.flipId]=l[i][1],d[e.dataset.flipId]=t}));var h=Y(a),f=h.map((function(e){var t=e[0],n=e[1],o={};if(i&&i[t.dataset.flipId]&&i[t.dataset.flipId].onExit){var r=c[t.dataset.flipId];p(o,{element:t,parent:d[t.dataset.flipId],childPosition:{top:n.top-r.top,left:n.left-r.left,width:n.width,height:n.height}})}return[t.dataset.flipId,{rect:n,opacity:parseFloat(window.getComputedStyle(t).opacity||"1"),domDataForExitAnimations:o}]})).reduce(W,{});return function(e,t){Object.keys(e).forEach((function(t){e[t].destroy&&e[t].destroy(),e[t].onAnimationEnd&&e[t].onAnimationEnd(!0),delete e[t]})),t.forEach((function(e){e.style.transform="",e.style.opacity=""}))}(r,a.concat(s)),{flippedElementPositions:f,cachedOrderedFlipIds:h.map((function(e){return e[0].dataset.flipId}))}},J=new M,q=function(e){var t=e.values,n=e.onUpdate,i=e.delay,o=void 0===i?0:i,r=e.onComplete,a=p({},A.noWobble,I(e.config)),s=a.overshootClamping,c=J.createSpring(a.stiffness,a.damping);return c.setOvershootClampingEnabled(!!s),c.addListener({onSpringAtRest:function(e){r&&r(),e.destroy()},onSpringUpdate:function(e){var i=e.getCurrentValue();if(!t)return n(i);var o=Object.keys(t).map((function(e){return[e,f(t[e][0],t[e][1],i)]})).reduce((function(e,t){var n;return Object.assign(e,((n={})[t[0]]=t[1],n))}),{});n(o)}}),o?setTimeout((function(){c.setEndValue(1)}),o):c.setEndValue(1),c};function X(e,t){return(X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)t.indexOf(n=r[i])>=0||(o[n]=e[n]);return o}var Z=(0,i.createContext)({}),Q=(0,i.createContext)("portal"),ee=function(e){var t,n;function o(){var t;return(t=e.apply(this,arguments)||this).inProgressAnimations={},t.flipCallbacks={},t.el=void 0,t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,X(t,n);var r=o.prototype;return r.getSnapshotBeforeUpdate=function(e){return e.flipKey!==this.props.flipKey&&this.el?K({element:this.el,flipCallbacks:this.flipCallbacks,inProgressAnimations:this.inProgressAnimations,portalKey:this.props.portalKey}):null},r.componentDidUpdate=function(e,t,n){this.props.flipKey!==e.flipKey&&this.el&&z({flippedElementPositionsBeforeUpdate:n.flippedElementPositions,cachedOrderedFlipIds:n.cachedOrderedFlipIds,containerEl:this.el,inProgressAnimations:this.inProgressAnimations,flipCallbacks:this.flipCallbacks,applyTransformOrigin:this.props.applyTransformOrigin,spring:this.props.spring,debug:this.props.debug,portalKey:this.props.portalKey,staggerConfig:this.props.staggerConfig,handleEnterUpdateDelete:this.props.handleEnterUpdateDelete,decisionData:{previous:e.decisionData,current:this.props.decisionData},onComplete:this.props.onComplete,onStart:this.props.onStart})},r.render=function(){var e=this,t=this.props,n=t.portalKey,o=i.createElement(Z.Provider,{value:this.flipCallbacks},i.createElement(t.element,{className:t.className,ref:function(t){return e.el=t}},this.props.children));return n&&(o=i.createElement(Q.Provider,{value:n},o)),o},o}(i.Component);ee.defaultProps={applyTransformOrigin:!0,element:"div"};var te=function(e){var t,n=e.children,o=e.flipId,r=e.inverseFlipId,a=e.portalKey,s=$(e,["children","flipId","inverseFlipId","portalKey"]),c=n,l=function(e){return"function"==typeof e}(c);if(!l)try{c=i.Children.only(n)}catch(e){throw new Error("Each Flipped component must wrap a single child")}s.scale||s.translate||s.opacity||m.assign(s,{translate:!0,scale:!0,opacity:!0});var u=((t={})[S]=JSON.stringify(s),t);return void 0!==o?u[y]=String(o):r&&(u[b]=String(r)),void 0!==a&&(u[T]=a),l?c(u):(0,i.cloneElement)(c,u)},ne=function(e){var t=e.children,n=e.flipId,o=e.shouldFlip,r=e.shouldInvert,a=e.onAppear,s=e.onStart,c=e.onStartImmediate,l=e.onComplete,u=e.onExit,d=e.onSpringUpdate,p=$(e,["children","flipId","shouldFlip","shouldInvert","onAppear","onStart","onStartImmediate","onComplete","onExit","onSpringUpdate"]);return t?p.inverseFlipId?i.createElement(te,Object.assign({},p),t):i.createElement(Q.Consumer,null,(function(e){return i.createElement(Z.Consumer,null,(function(h){return m.isObject(h)&&n&&(h[n]={shouldFlip:o,shouldInvert:r,onAppear:a,onStart:s,onStartImmediate:c,onComplete:l,onExit:u,onSpringUpdate:d}),i.createElement(te,Object.assign({flipId:n},p,{portalKey:e}),t)}))})):null};ne.displayName="Flipped"},51778:(e,t,n)=>{"use strict";n.d(t,{mg:()=>Z,vd:()=>Y});var i=n(30758),o=n(34072),r=n.n(o),a=n(29597),s=n.n(a),c=n(62945),l=n.n(c),u=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(u||{}),d={rel:["amphtml","canonical","alternate"]},p={type:["application/ld+json"]},h={charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},f=Object.values(u),m={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},_=Object.entries(m).reduce(((e,[t,n])=>(e[n]=t,e)),{}),g="data-rh",E="defaultTitle",v="defer",y="encodeSpecialCharacters",b="onChangeClientState",S="titleTemplate",T="prioritizeSeoTags",A=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const i=e[n];if(Object.prototype.hasOwnProperty.call(i,t))return i[t]}return null},I=e=>{let t=A(e,"title");const n=A(e,S);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(()=>t));const i=A(e,E);return t||i||void 0},O=e=>A(e,b)||(()=>{}),C=(e,t)=>t.filter((t=>void 0!==t[e])).map((t=>t[e])).reduce(((e,t)=>({...e,...t})),{}),R=(e,t)=>t.filter((e=>void 0!==e.base)).map((e=>e.base)).reverse().reduce(((t,n)=>{if(!t.length){const i=Object.keys(n);for(let o=0;o<i.length;o+=1){const r=i[o].toLowerCase();if(-1!==e.indexOf(r)&&n[r])return t.concat(n)}}return t}),[]),N=(e,t,n)=>{const i={};return n.filter((t=>{return!!Array.isArray(t[e])||(void 0!==t[e]&&(n=`Helmet: ${e} should be of type "Array". Instead found type "${typeof t[e]}"`,console&&"function"==typeof console.warn&&console.warn(n)),!1);var n})).map((t=>t[e])).reverse().reduce(((e,n)=>{const o={};n.filter((e=>{let n;const r=Object.keys(e);for(let i=0;i<r.length;i+=1){const o=r[i],a=o.toLowerCase();-1===t.indexOf(a)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===a&&"stylesheet"===e[a].toLowerCase()||(n=a),-1===t.indexOf(o)||"innerHTML"!==o&&"cssText"!==o&&"itemprop"!==o||(n=o)}if(!n||!e[n])return!1;const a=e[n].toLowerCase();return i[n]||(i[n]={}),o[n]||(o[n]={}),!i[n][a]&&(o[n][a]=!0,!0)})).reverse().forEach((t=>e.push(t)));const r=Object.keys(o);for(let e=0;e<r.length;e+=1){const t=r[e],n={...i[t],...o[t]};i[t]=n}return e}),[]).reverse()},P=(e,t)=>{if(Array.isArray(e)&&e.length)for(let n=0;n<e.length;n+=1){if(e[n][t])return!0}return!1},L=e=>Array.isArray(e)?e.join(""):e,k=(e,t)=>Array.isArray(e)?e.reduce(((e,n)=>(((e,t)=>{const n=Object.keys(e);for(let i=0;i<n.length;i+=1)if(t[n[i]]&&t[n[i]].includes(e[n[i]]))return!0;return!1})(n,t)?e.priority.push(n):e.default.push(n),e)),{priority:[],default:[]}):{default:e,priority:[]},w=(e,t)=>({...e,[t]:void 0}),D=["noscript","script","style"],M=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),x=e=>Object.keys(e).reduce(((t,n)=>{const i=void 0!==e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${i}`:i}),""),U=(e,t={})=>Object.keys(e).reduce(((t,n)=>(t[m[n]||n]=e[n],t)),t),V=(e,t)=>t.map(((t,n)=>{const o={key:n,[g]:!0};return Object.keys(t).forEach((e=>{const n=m[e]||e;if("innerHTML"===n||"cssText"===n){const e=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:e}}else o[n]=t[e]})),i.createElement(e,o)})),F=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>((e,t,n)=>{const o=U(n,{key:t,[g]:!0});return[i.createElement("title",o,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n,i)=>{const o=x(n),r=L(t);return o?`<${e} ${g}="true" ${o}>${M(r,i)}</${e}>`:`<${e} ${g}="true">${M(r,i)}</${e}>`})(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>U(t),toString:()=>x(t)};default:return{toComponent:()=>V(e,t),toString:()=>((e,t,n=!0)=>t.reduce(((t,i)=>{const o=i,r=Object.keys(o).filter((e=>!("innerHTML"===e||"cssText"===e))).reduce(((e,t)=>{const i=void 0===o[t]?t:`${t}="${M(o[t],n)}"`;return e?`${e} ${i}`:i}),""),a=o.innerHTML||o.cssText||"",s=-1===D.indexOf(e);return`${t}<${e} ${g}="true" ${r}${s?"/>":`>${a}</${e}>`}`}),""))(e,t,n)}}},B=e=>{const{baseTag:t,bodyAttributes:n,encode:i=!0,htmlAttributes:o,noscriptTags:r,styleTags:a,title:s="",titleAttributes:c,prioritizeSeoTags:l}=e;let{linkTags:u,metaTags:f,scriptTags:m}=e,_={toComponent:()=>{},toString:()=>""};return l&&({priorityMethods:_,linkTags:u,metaTags:f,scriptTags:m}=(({metaTags:e,linkTags:t,scriptTags:n,encode:i})=>{const o=k(e,h),r=k(t,d),a=k(n,p);return{priorityMethods:{toComponent:()=>[...V("meta",o.priority),...V("link",r.priority),...V("script",a.priority)],toString:()=>`${F("meta",o.priority,i)} ${F("link",r.priority,i)} ${F("script",a.priority,i)}`},metaTags:o.default,linkTags:r.default,scriptTags:a.default}})(e)),{priority:_,base:F("base",t,i),bodyAttributes:F("bodyAttributes",n,i),htmlAttributes:F("htmlAttributes",o,i),link:F("link",u,i),meta:F("meta",f,i),noscript:F("noscript",r,i),script:F("script",m,i),style:F("style",a,i),title:F("title",{title:s,titleAttributes:c},i)}},H=[],G=!("undefined"==typeof window||!window.document||!window.document.createElement),W=class{instances=[];canUseDOM=G;context;value={setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?H:this.instances,add:e=>{(this.canUseDOM?H:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?H:this.instances).indexOf(e);(this.canUseDOM?H:this.instances).splice(t,1)}}};constructor(e,t){this.context=e,this.canUseDOM=t||!1,t||(e.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},j=i.createContext({}),Y=class e extends i.Component{static canUseDOM=G;helmetData;constructor(t){super(t),this.helmetData=new W(this.props.context||{},e.canUseDOM)}render(){return i.createElement(j.Provider,{value:this.helmetData.value},this.props.children)}},z=(e,t)=>{const n=document.head||document.querySelector("head"),i=n.querySelectorAll(`${e}[${g}]`),o=[].slice.call(i),r=[];let a;return t&&t.length&&t.forEach((t=>{const n=document.createElement(e);for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))if("innerHTML"===e)n.innerHTML=t.innerHTML;else if("cssText"===e)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{const i=e,o=void 0===t[i]?"":t[i];n.setAttribute(e,o)}n.setAttribute(g,"true"),o.some(((e,t)=>(a=t,n.isEqualNode(e))))?o.splice(a,1):r.push(n)})),o.forEach((e=>e.parentNode?.removeChild(e))),r.forEach((e=>n.appendChild(e))),{oldTags:o,newTags:r}},K=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const i=n.getAttribute(g),o=i?i.split(","):[],r=[...o],a=Object.keys(t);for(const e of a){const i=t[e]||"";n.getAttribute(e)!==i&&n.setAttribute(e,i),-1===o.indexOf(e)&&o.push(e);const a=r.indexOf(e);-1!==a&&r.splice(a,1)}for(let e=r.length-1;e>=0;e-=1)n.removeAttribute(r[e]);o.length===r.length?n.removeAttribute(g):n.getAttribute(g)!==a.join(",")&&n.setAttribute(g,a.join(","))},J=(e,t)=>{const{baseTag:n,bodyAttributes:i,htmlAttributes:o,linkTags:r,metaTags:a,noscriptTags:s,onChangeClientState:c,scriptTags:l,styleTags:u,title:d,titleAttributes:p}=e;K("body",i),K("html",o),((e,t)=>{void 0!==e&&document.title!==e&&(document.title=L(e)),K("title",t)})(d,p);const h={baseTag:z("base",n),linkTags:z("link",r),metaTags:z("meta",a),noscriptTags:z("noscript",s),scriptTags:z("script",l),styleTags:z("style",u)},f={},m={};Object.keys(h).forEach((e=>{const{newTags:t,oldTags:n}=h[e];t.length&&(f[e]=t),n.length&&(m[e]=h[e].oldTags)})),t&&t(),c(e,f,m)},q=null,X=e=>{q&&cancelAnimationFrame(q),e.defer?q=requestAnimationFrame((()=>{J(e,(()=>{q=null}))})):(J(e),q=null)},$=class extends i.Component{rendered=!1;shouldComponentUpdate(e){return!l()(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let n=null;const i=(o=e.get().map((e=>{const t={...e.props};return delete t.context,t})),{baseTag:R(["href"],o),bodyAttributes:C("bodyAttributes",o),defer:A(o,v),encode:A(o,y),htmlAttributes:C("htmlAttributes",o),linkTags:N("link",["rel","href"],o),metaTags:N("meta",["name","charset","http-equiv","property","itemprop"],o),noscriptTags:N("noscript",["innerHTML"],o),onChangeClientState:O(o),scriptTags:N("script",["src","innerHTML"],o),styleTags:N("style",["cssText"],o),title:I(o),titleAttributes:C("titleAttributes",o),prioritizeSeoTags:P(o,T)});var o;Y.canUseDOM?X(i):B&&(n=B(i)),t(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Z=class extends i.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(e){return!r()(w(this.props,"helmetData"),w(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,i){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,i)}]}}mapObjectTypeChildren(e,t,n,i){switch(e.type){case"title":return{...t,[e.type]:i,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach((t=>{n={...n,[t]:e[t]}})),n}warnOnInvalidChildren(e,t){return s()(f.some((t=>e.type===t)),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${f.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),s()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((e=>"string"!=typeof e)),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return i.Children.forEach(e,(e=>{if(!e||!e.props)return;const{children:i,...o}=e.props,r=Object.keys(o).reduce(((e,t)=>(e[_[t]||t]=o[t],e)),{});let{type:a}=e;switch("symbol"==typeof a?a=a.toString():this.warnOnInvalidChildren(e,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(e,n,r,i);break;default:t=this.mapObjectTypeChildren(e,t,r,i)}})),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:o}=t;if(e&&(n=this.mapChildrenToProps(e,n)),o&&!(o instanceof W)){o=new W(o.context,!0),delete n.helmetData}return o?i.createElement($,{...n,context:o.value}):i.createElement(j.Consumer,null,(e=>i.createElement($,{...n,context:e})))}}},11170:(e,t,n)=>{e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(2),r=(i=o)&&i.__esModule?i:{default:i};t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function o(e){return e&&e.__esModule?e:{default:e}}t.default=l;var r=n(3),a=o(n(4)),s=n(14),c=o(n(15));function l(e){var t=e.activeClassName,n=void 0===t?"":t,o=e.activeIndex,a=void 0===o?-1:o,l=e.activeStyle,u=e.autoEscape,d=e.caseSensitive,p=void 0!==d&&d,h=e.className,f=e.findChunks,m=e.highlightClassName,_=void 0===m?"":m,g=e.highlightStyle,E=void 0===g?{}:g,v=e.highlightTag,y=void 0===v?"mark":v,b=e.sanitize,S=e.searchWords,T=e.textToHighlight,A=e.unhighlightTag,I=void 0===A?"span":A,O=e.unhighlightClassName,C=void 0===O?"":O,R=e.unhighlightStyle,N=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),P=(0,r.findAll)({autoEscape:u,caseSensitive:p,findChunks:f,sanitize:b,searchWords:S,textToHighlight:T}),L=y,k=-1,w="",D=void 0,M=(0,c.default)((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));return(0,s.createElement)("span",i({className:h},N,{children:P.map((function(e,t){var i=T.substr(e.start,e.end-e.start);if(e.highlight){k++;var o=void 0;o="object"==typeof _?p?_[i]:(_=M(_))[i.toLowerCase()]:_;var r=k===+a;w=o+" "+(r?n:""),D=!0===r&&null!=l?Object.assign({},E,l):E;var c={children:i,className:w,key:t,style:D};return"string"!=typeof L&&(c.highlightIndex=k),(0,s.createElement)(L,c)}return(0,s.createElement)(I,{children:i,className:C,key:t,style:R})}))}))}l.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return i.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return i.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return i.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return i.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.findAll=function(e){var t=e.autoEscape,r=e.caseSensitive,a=void 0!==r&&r,s=e.findChunks,c=void 0===s?i:s,l=e.sanitize,u=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:c({autoEscape:t,caseSensitive:a,sanitize:l,searchWords:u,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var i=Math.max(n.end,t.end);e.push({start:n.start,end:i})}else e.push(n,t);return e}),[])},i=function(e){var t=e.autoEscape,n=e.caseSensitive,i=e.sanitize,o=void 0===i?r:i,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter((function(e){return e})).reduce((function(e,i){i=o(i),t&&(i=i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var r=new RegExp(i,n?"g":"gi"),a=void 0;a=r.exec(s);){var c=a.index,l=r.lastIndex;l>c&&e.push({start:c,end:l}),a.index==r.lastIndex&&r.lastIndex++}return e}),[])};t.findChunks=i;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,i=[],o=function(e,t,n){t-e>0&&i.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var r=0;t.forEach((function(e){o(r,e.start,!1),o(e.start,e.end,!0),r=e.end})),o(r,n,!1)}return i};function r(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}),!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,i,o=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(e){n=r}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var c,l=[],u=!1,d=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&h())}function h(){if(!u){var e=s(p);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d<t;)c&&c[d].run();d=-1,t=l.length}c=null,u=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||u||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";var i=n(7),o=n(8),r=n(9),a=n(10),s=n(11),c=n(12);e.exports=function(e,n){var l="function"==typeof Symbol&&Symbol.iterator,u="@@iterator";var d="<<anonymous>>",p={array:_("array"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:m(i.thatReturnsNull),arrayOf:function(e){return m((function(t,n,i,o,r){if("function"!=typeof e)return new f("Property `"+r+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new f("Invalid "+o+" `"+r+"` of type `"+E(a)+"` supplied to `"+i+"`, expected an array.");for(var c=0;c<a.length;c++){var l=e(a,c,i,o,r+"["+c+"]",s);if(l instanceof Error)return l}return null}))},element:m((function(t,n,i,o,r){var a=t[n];return e(a)?null:new f("Invalid "+o+" `"+r+"` of type `"+E(a)+"` supplied to `"+i+"`, expected a single ReactElement.")})),instanceOf:function(e){return m((function(t,n,i,o,r){if(!(t[n]instanceof e)){var a=e.name||d;return new f("Invalid "+o+" `"+r+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:d)+"` supplied to `")+i+"`, expected instance of `"+a+"`.")}var s;return null}))},node:m((function(e,t,n,i,o){return g(e[t])?null:new f("Invalid "+i+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,n,i,o,r){if("function"!=typeof e)return new f("Property `"+r+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var a=t[n],c=E(a);if("object"!==c)return new f("Invalid "+o+" `"+r+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var l in a)if(a.hasOwnProperty(l)){var u=e(a,l,i,o,r+"."+l,s);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&r(!1,"Invalid argument supplied to oneOf, expected an instance of array."),i.thatReturnsNull;return m((function(t,n,i,o,r){for(var a=t[n],s=0;s<e.length;s++)if(h(a,e[s]))return null;return new f("Invalid "+o+" `"+r+"` of value `"+a+"` supplied to `"+i+"`, expected one of "+JSON.stringify(e)+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&r(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),i.thatReturnsNull;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return r(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",y(o),n),i.thatReturnsNull}return m((function(t,n,i,o,r){for(var a=0;a<e.length;a++)if(null==(0,e[a])(t,n,i,o,r,s))return null;return new f("Invalid "+o+" `"+r+"` supplied to `"+i+"`.")}))},shape:function(e){return m((function(t,n,i,o,r){var a=t[n],c=E(a);if("object"!==c)return new f("Invalid "+o+" `"+r+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");for(var l in e){var u=e[l];if(u){var d=u(a,l,i,o,r+"."+l,s);if(d)return d}}return null}))},exact:function(e){return m((function(t,n,i,o,r){var c=t[n],l=E(c);if("object"!==l)return new f("Invalid "+o+" `"+r+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var u=a({},t[n],e);for(var d in u){var p=e[d];if(!p)return new f("Invalid "+o+" `"+r+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(c,d,i,o,r+"."+d,s);if(h)return h}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function m(e){if("production"!==t.env.NODE_ENV)var i={},a=0;function c(c,l,u,p,h,m,_){if(p=p||d,m=m||u,_!==s)if(n)o(!1,"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");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var g=p+":"+u;!i[g]&&a<3&&(r(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,p),i[g]=!0,a++)}return null==l[u]?c?null===l[u]?new f("The "+h+" `"+m+"` is marked as required in `"+p+"`, but its value is `null`."):new f("The "+h+" `"+m+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(l,u,p,h,m)}var l=c.bind(null,!1);return l.isRequired=c.bind(null,!0),l}function _(e){return m((function(t,n,i,o,r,a){var s=t[n];return E(s)!==e?new f("Invalid "+o+" `"+r+"` of type `"+v(s)+"` supplied to `"+i+"`, expected `"+e+"`."):null}))}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||e(t))return!0;var n=function(e){var t=e&&(l&&e[l]||e[u]);if("function"==typeof t)return t}(t);if(!n)return!1;var i,o=n.call(t);if(n!==t.entries){for(;!(i=o.next()).done;)if(!g(i.value))return!1}else for(;!(i=o.next()).done;){var r=i.value;if(r&&!g(r[1]))return!1}return!0;default:return!1}}function E(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=E(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,p.checkPropTypes=c,p.PropTypes=p,p}}).call(t,n(5))},function(e,t){"use strict";function n(e){return function(){return e}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){(function(t){"use strict";var n=function(e){};"production"!==t.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,i,o,r,a,s,c){if(n(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[i,o,r,a,s,c],d=0;(l=new Error(t.replace(/%s/g,(function(){return u[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}}).call(t,n(5))},function(e,t,n){(function(t){"use strict";var i=n(7);if("production"!==t.env.NODE_ENV){var o=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=0,r="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}};i=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];o.apply(void 0,[t].concat(i))}}}e.exports=i}).call(t,n(5))},function(e,t){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))i.call(r,l)&&(s[l]=r[l]);if(n){a=n(r);for(var u=0;u<a.length;u++)o.call(r,a[u])&&(s[a[u]]=r[a[u]])}}return s}},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){"use strict";if("production"!==t.env.NODE_ENV)var i=n(8),o=n(9),r=n(11),a={};e.exports=function(e,n,s,c,l){if("production"!==t.env.NODE_ENV)for(var u in e)if(e.hasOwnProperty(u)){var d;try{i("function"==typeof e[u],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",c||"React class",s,u,typeof e[u]),d=e[u](n,u,c,s,null,r)}catch(e){d=e}if(o(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",s,u,typeof d),d instanceof Error&&!(d.message in a)){a[d.message]=!0;var p=l?l():"";o(!1,"Failed %s type: %s%s",s,d.message,null!=p?p:"")}}}}).call(t,n(5))},function(e,t,n){"use strict";var i=n(7),o=n(8),r=n(11);e.exports=function(){function e(e,t,n,i,a,s){s!==r&&o(!1,"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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t){e.exports=n(30758)},function(e,t){"use strict";var n=function(e,t){return e===t};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,i=void 0,o=[],r=void 0,a=!1,s=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),c=0;c<t;c++)n[c]=arguments[c];return a&&i===this&&n.length===o.length&&n.every(s)?r:(a=!0,i=this,o=n,r=e.apply(this,n))}}}])},95843:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,_=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,E=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case u:case d:case r:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case _:case m:case c:return e;default:return t}}case o:return t}}}function S(e){return b(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=p,t.Fragment=r,t.Lazy=_,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||b(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return b(e)===p},t.isFragment=function(e){return b(e)===r},t.isLazy=function(e){return b(e)===_},t.isMemo=function(e){return b(e)===m},t.isPortal=function(e){return b(e)===o},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===a},t.isSuspense=function(e){return b(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===d||e===s||e===a||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===E||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},t.typeOf=b},35959:(e,t,n)=>{"use strict";e.exports=n(95843)},26936:(e,t)=>{"use strict";var n,i=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case r:case s:case a:case p:case h:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case m:case f:case c:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return g(e)===l},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===s||e===a||e===p||e===h||e===_||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=g},84276:(e,t,n)=>{"use strict";e.exports=n(26936)},75818:(e,t,n)=>{"use strict";function i(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function r(e,t){try{var n=this.props,i=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,i)}finally{this.props=n,this.state=i}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var c=e.displayName||e.name,l="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=i,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=r;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var i=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,i)}}return e}n.r(t),n.d(t,{polyfill:()=>a}),i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0},34437:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(30758),a=f(r),s=f(n(8143)),c=f(n(2736)),l=f(n(68239)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(92331)),d=n(86229),p=f(d),h=n(75818);function f(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var _=t.portalClassName="ReactModalPortal",g=t.bodyOpenClassName="ReactModal__Body--open",E=d.canUseDOM&&void 0!==s.default.createPortal,v=function(e){return document.createElement(e)},y=function(){return E?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function b(e){return e()}var S=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,c=Array(r),u=0;u<r;u++)c[u]=arguments[u];return n=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),o.removePortal=function(){!E&&s.default.unmountComponentAtNode(o.node);var e=b(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=y()(o,a.default.createElement(l.default,i({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},m(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(E||(this.node=v("div")),this.node.className=this.props.portalClassName,b(this.props.parentSelector).appendChild(this.node),!E&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:b(e.parentSelector),nextParent:b(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(d.canUseDOM){var i=this.props,o=i.isOpen,r=i.portalClassName;e.portalClassName!==r&&(this.node.className=r);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!E&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&E?(!this.node&&E&&(this.node=v("div")),y()(a.default.createElement(l.default,i({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(r.Component);S.propTypes={isOpen:c.default.bool.isRequired,style:c.default.shape({content:c.default.object,overlay:c.default.object}),portalClassName:c.default.string,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,className:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),overlayClassName:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),appElement:c.default.oneOfType([c.default.instanceOf(p.default),c.default.instanceOf(d.SafeHTMLCollection),c.default.instanceOf(d.SafeNodeList),c.default.arrayOf(c.default.instanceOf(p.default))]),onAfterOpen:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,ariaHideApp:c.default.bool,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,parentSelector:c.default.func,aria:c.default.object,data:c.default.object,role:c.default.string,contentLabel:c.default.string,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func},S.defaultProps={isOpen:!1,portalClassName:_,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},S.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,h.polyfill)(S),t.default=S},68239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o="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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=n(30758),s=_(n(2736)),c=m(n(6110)),l=_(n(750)),u=m(n(92331)),d=m(n(74137)),p=n(86229),h=_(p),f=_(n(43583));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function _(e){return e&&e.__esModule?e:{default:e}}n(61150);var g={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},E=0,v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,i=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;r&&d.remove(s.body,r),o&&d.remove(s.getElementsByTagName("html")[0],o),i&&E>0&&0===(E-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(n.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),f.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var i="object"===(void 0===t?"undefined":o(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},r=i.base;return n.state.afterOpen&&(r=r+" "+i.afterOpen),n.state.beforeClose&&(r=r+" "+i.beforeClose),"string"==typeof t&&t?r+" "+t:r},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,i){return n[e+"-"+i]=t[i],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName,r=e.parentSelector,a=r&&r().ownerDocument||document;o&&d.add(a.body,o),i&&d.add(a.getElementsByTagName("html")[0],i),n&&(E+=1,u.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,r=e.defaultStyles,a=e.children,s=n?{}:r.content,c=o?{}:r.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:i({},c,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=i({id:t,ref:this.setContentRef,style:i({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",i({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(l,d)}}]),t}(a.Component);v.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},v.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(h.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(h.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=v,e.exports=t.default},92331:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(e){return e.removeAttribute("aria-hidden")})));s=null},t.log=function(){0},t.assertNodeList=c,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);c(n,t),t=n}return s=t||s},t.validateElement=l,t.hide=function(e){var t=!0,n=!1,i=void 0;try{for(var o,r=l(e)[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,i=e}finally{try{!t&&r.return&&r.return()}finally{if(n)throw i}}},t.show=function(e){var t=!0,n=!1,i=void 0;try{for(var o,r=l(e)[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,i=e}finally{try{!t&&r.return&&r.return()}finally{if(n)throw i}}},t.documentNotReadyOrSSRTesting=function(){s=null};var i,o=n(63730),r=(i=o)&&i.__esModule?i:{default:i},a=n(86229);var s=null;function c(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,r.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},61150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[a,s],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}a=s=null,c=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(c.length);for(var e=[a,s],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var i,o=n(43583),r=(i=o)&&i.__esModule?i:{default:i};var a=void 0,s=void 0,c=[];function l(){0!==c.length&&c[c.length-1].focusContent()}r.default.subscribe((function(e,t){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",l),(s=a.cloneNode()).addEventListener("focus",l)),(c=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},74137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var r=document.body;for(var a in i)o(r,i[a]);n={},i={}},t.log=function(){0};var n={},i={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,r="html"==e.nodeName.toLowerCase()?n:i,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(r,e),o.add(e)}));var o,r},t.remove=function(e,t){return o=e.classList,r="html"==e.nodeName.toLowerCase()?n:i,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(r,e),0===r[e]&&o.remove(e)}));var o,r}},6110:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){0},t.handleBlur=l,t.handleFocus=u,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var i,o=n(3098),r=(i=o)&&i.__esModule?i:{default:i};var a=[],s=null,c=!1;function l(){c=!0}function u(){if(c){if(c=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,r.default)(s)[0]||s).focus()}),0)}}},43583:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(i.openInstances.length),i.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){i=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},i=new n;t.default=i},86229:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var i,o=n(33092);var r=((i=o)&&i.__esModule?i:{default:i}).default,a=r.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=r.canUseDOM?window.NodeList:{},t.canUseDOM=r.canUseDOM;t.default=a},750:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,r.default)(e);if(!n.length)return void t.preventDefault();var i=void 0,o=t.shiftKey,s=n[0],c=n[n.length-1],l=a();if(e===l){if(!o)return;i=c}c!==l||o||(i=s);s===l&&o&&(i=c);if(i)return t.preventDefault(),void i.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var d=n.indexOf(l);d>-1&&(d+=o?-1:1);if(void 0===(i=n[d]))return t.preventDefault(),void(i=o?c:s).focus();t.preventDefault(),i.focus()};var i,o=n(3098),r=(i=o)&&i.__esModule?i:{default:i};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?a(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},3098:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(s)};var n="none",i="contents",o=/input|select|textarea|button|object|iframe/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),r=o.getPropertyValue("display");return t?r!==i&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):r===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},76595:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(34437),r=(i=o)&&i.__esModule?i:{default:i};t.default=r.default,e.exports=t.default},92913:(e,t,n)=>{"use strict";function i(e,t,n,i,o,r,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=a}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new i(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{o[e]=new i(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new i(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{o[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new i(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new i(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new i(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)}));const r=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(r,a);o[t]=new i(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(r,a);o[t]=new i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(r,a);o[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}));o.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:s,SAME:c,possibleStandardNames:l}=n(26614),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(l).reduce(((e,t)=>{const n=l[t];return n===c?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},26614:(e,t)=>{t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},68469:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=s(n(2736)),r=n(30758),a=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var c={bgColor:o.default.oneOfType([o.default.object,o.default.string]).isRequired,bgD:o.default.string.isRequired,fgColor:o.default.oneOfType([o.default.object,o.default.string]).isRequired,fgD:o.default.string.isRequired,size:o.default.number.isRequired,title:o.default.string,viewBoxSize:o.default.number.isRequired,xmlns:o.default.string},l=(0,r.forwardRef)((function(e,t){var n=e.bgColor,o=e.bgD,r=e.fgD,s=e.fgColor,c=e.size,l=e.title,u=e.viewBoxSize,d=e.xmlns,p=void 0===d?"http://www.w3.org/2000/svg":d,h=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["bgColor","bgD","fgD","fgColor","size","title","viewBoxSize","xmlns"]);return a.default.createElement("svg",i({},h,{height:c,ref:t,viewBox:"0 0 "+u+" "+u,width:c,xmlns:p}),l?a.default.createElement("title",null,l):null,a.default.createElement("path",{d:o,fill:n}),a.default.createElement("path",{d:r,fill:s}))}));l.displayName="QRCodeSvg",l.propTypes=c,t.default=l},33242:(e,t,n)=>{"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=u(n(2736)),r=u(n(85543)),a=u(n(71135)),s=n(30758),c=u(s),l=u(n(68469));function u(e){return e&&e.__esModule?e:{default:e}}var d={bgColor:o.default.oneOfType([o.default.object,o.default.string]),fgColor:o.default.oneOfType([o.default.object,o.default.string]),level:o.default.string,size:o.default.number,value:o.default.string.isRequired},p=(0,s.forwardRef)((function(e,t){var n=e.bgColor,o=void 0===n?"#FFFFFF":n,s=e.fgColor,u=void 0===s?"#000000":s,d=e.level,p=void 0===d?"L":d,h=e.size,f=void 0===h?256:h,m=e.value,_=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["bgColor","fgColor","level","size","value"]),g=new a.default(-1,r.default[p]);g.addData(m),g.make();var E=g.modules;return c.default.createElement(l.default,i({},_,{bgColor:o,bgD:E.map((function(e,t){return e.map((function(e,n){return e?"":"M "+n+" "+t+" l 1 0 0 1 -1 0 Z"})).join(" ")})).join(" "),fgColor:u,fgD:E.map((function(e,t){return e.map((function(e,n){return e?"M "+n+" "+t+" l 1 0 0 1 -1 0 Z":""})).join(" ")})).join(" "),ref:t,size:f,viewBoxSize:E.length}))}));p.displayName="QRCode",p.propTypes=d,t.Ay=p},41978:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>W,Ng:()=>G,wA:()=>K,d4:()=>v,Pj:()=>Y});var i=n(91285),o=n(51467),r=n(8143);let a=function(e){e()};const s=()=>a;var c=n(30758);const l=Symbol.for("react-redux-context"),u="undefined"!=typeof globalThis?globalThis:{};function d(){var e;if(!c.createContext)return{};const t=null!=(e=u[l])?e:u[l]=new Map;let n=t.get(c.createContext);return n||(n=c.createContext(null),t.set(c.createContext,n)),n}const p=d();function h(e=p){return function(){return(0,c.useContext)(e)}}const f=h(),m=()=>{throw new Error("uSES not initialized!")};let _=m;const g=(e,t)=>e===t;function E(e=p){const t=e===p?f:h(e);return function(e,n={}){const{equalityFn:i=g,stabilityCheck:o,noopCheck:r}="function"==typeof n?{equalityFn:n}:n;const{store:a,subscription:s,getServerState:l,stabilityCheck:u,noopCheck:d}=t(),p=((0,c.useRef)(!0),(0,c.useCallback)({[e.name]:t=>e(t)}[e.name],[e,u,o])),h=_(s.addNestedSub,a.getState,l||a.getState,p,i);return(0,c.useDebugValue)(h),h}}const v=E();var y=n(95265),b=n(64032),S=n(31035),T=n.n(S),A=n(84276);const I=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function O(e,t,n,i,{areStatesEqual:o,areOwnPropsEqual:r,areStatePropsEqual:a}){let s,c,l,u,d,p=!1;function h(p,h){const f=!r(h,c),m=!o(p,s,h,c);return s=p,c=h,f&&m?(l=e(s,c),t.dependsOnOwnProps&&(u=t(i,c)),d=n(l,u,c),d):f?(e.dependsOnOwnProps&&(l=e(s,c)),t.dependsOnOwnProps&&(u=t(i,c)),d=n(l,u,c),d):m?function(){const t=e(s,c),i=!a(t,l);return l=t,i&&(d=n(l,u,c)),d}():d}return function(o,r){return p?h(o,r):(s=o,c=r,l=e(s,c),u=t(i,c),d=n(l,u,c),p=!0,d)}}function C(e){return function(t){const n=e(t);function i(){return n}return i.dependsOnOwnProps=!1,i}}function R(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function N(e,t){return function(t,{displayName:n}){const i=function(e,t){return i.dependsOnOwnProps?i.mapToProps(e,t):i.mapToProps(e,void 0)};return i.dependsOnOwnProps=!0,i.mapToProps=function(t,n){i.mapToProps=e,i.dependsOnOwnProps=R(e);let o=i(t,n);return"function"==typeof o&&(i.mapToProps=o,i.dependsOnOwnProps=R(o),o=i(t,n)),o},i}}function P(e,t){return(n,i)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${i.wrappedComponentName}.`)}}function L(e,t,n){return(0,y.A)({},n,e,t)}const k={notify(){},get:()=>[]};function w(e,t){let n,i=k,o=0,r=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),i=function(){const e=s();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let i=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){i&&null!==t&&(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function l(){o--,n&&0===o&&(n(),n=void 0,i.clear(),i=k)}const u={addNestedSub:function(e){c();const t=i.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:a,isSubscribed:function(){return r},trySubscribe:function(){r||(r=!0,c())},tryUnsubscribe:function(){r&&(r=!1,l())},getListeners:()=>i};return u}const D=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?c.useLayoutEffect:c.useEffect;function M(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function x(e,t){if(M(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!M(e[n[i]],t[n[i]]))return!1;return!0}const U=["reactReduxForwardedRef"];let V=m;const F=[null,null];function B(e,t,n,i,o,r){e.current=i,n.current=!1,o.current&&(o.current=null,r())}function H(e,t){return e===t}const G=function(e,t,n,{pure:i,areStatesEqual:o=H,areOwnPropsEqual:r=x,areStatePropsEqual:a=x,areMergedPropsEqual:s=x,forwardRef:l=!1,context:u=p}={}){const d=u,h=function(e){return e?"function"==typeof e?N(e):P(e,"mapStateToProps"):C((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?C((t=>function(e,t){const n={};for(const i in e){const o=e[i];"function"==typeof o&&(n[i]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?N(e):P(e,"mapDispatchToProps"):C((e=>({dispatch:e})))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:i}){let o,r=!1;return function(t,n,a){const s=e(t,n,a);return r?i(s,o)||(o=s):(r=!0,o=s),o}}}(e):P(e,"mergeProps"):()=>L}(n),_=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,i={shouldHandleStateChanges:_,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:h,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:r,areMergedPropsEqual:s};function u(t){const[n,o,r]=c.useMemo((()=>{const{reactReduxForwardedRef:e}=t,n=(0,b.A)(t,U);return[t.context,e,n]}),[t]),a=c.useMemo((()=>n&&n.Consumer&&(0,A.isContextConsumer)(c.createElement(n.Consumer,null))?n:d),[n,d]),s=c.useContext(a),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(s)&&Boolean(s.store);const p=l?t.store:s.store,h=u?s.getServerState:p.getState,f=c.useMemo((()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:i,initMergeProps:o}=t,r=(0,b.A)(t,I);return O(n(e,r),i(e,r),o(e,r),e,r)}(p.dispatch,i)),[p]),[m,g]=c.useMemo((()=>{if(!_)return F;const e=w(p,l?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,l,s]),E=c.useMemo((()=>l?s:(0,y.A)({},s,{subscription:m})),[l,s,m]),v=c.useRef(),S=c.useRef(r),T=c.useRef(),C=c.useRef(!1),R=(c.useRef(!1),c.useRef(!1)),N=c.useRef();D((()=>(R.current=!0,()=>{R.current=!1})),[]);const P=c.useMemo((()=>()=>T.current&&r===S.current?T.current:f(p.getState(),r)),[p,r]),L=c.useMemo((()=>e=>m?function(e,t,n,i,o,r,a,s,c,l,u){if(!e)return()=>{};let d=!1,p=null;const h=()=>{if(d||!s.current)return;const e=t.getState();let n,h;try{n=i(e,o.current)}catch(e){h=e,p=e}h||(p=null),n===r.current?a.current||l():(r.current=n,c.current=n,a.current=!0,u())};return n.onStateChange=h,n.trySubscribe(),h(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(_,p,m,f,S,v,C,R,T,g,e):()=>{}),[m]);var k,M,x;let H;k=B,M=[S,v,C,r,T,g],D((()=>k(...M)),x);try{H=V(L,P,h?()=>f(h(),r):P)}catch(e){throw N.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${N.current.stack}\n\n`),e}D((()=>{N.current=void 0,T.current=void 0,v.current=H}));const G=c.useMemo((()=>c.createElement(e,(0,y.A)({},H,{ref:o}))),[o,e,H]);return c.useMemo((()=>_?c.createElement(a.Provider,{value:E},G):G),[a,G,E])}const p=c.memo(u);if(p.WrappedComponent=e,p.displayName=u.displayName=n,l){const t=c.forwardRef((function(e,t){return c.createElement(p,(0,y.A)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,T()(t,e)}return T()(p,e)}};const W=function({store:e,context:t,children:n,serverState:i,stabilityCheck:o="once",noopCheck:r="once"}){const a=c.useMemo((()=>{const t=w(e);return{store:e,subscription:t,getServerState:i?()=>i:void 0,stabilityCheck:o,noopCheck:r}}),[e,i,o,r]),s=c.useMemo((()=>e.getState()),[e]);D((()=>{const{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]);const l=t||p;return c.createElement(l.Provider,{value:a},n)};function j(e=p){const t=e===p?f:h(e);return function(){const{store:e}=t();return e}}const Y=j();function z(e=p){const t=e===p?Y:j(e);return function(){return t().dispatch}}const K=z();var J,q;J=o.useSyncExternalStoreWithSelector,_=J,(e=>{V=e})(i.useSyncExternalStore),q=r.unstable_batchedUpdates,a=q},37985:(e,t,n)=>{"use strict";var i,o;n.d(t,{N_:()=>g,PI:()=>d,k2:()=>E,ok:()=>S});var r=n(30758),a=n(8143),s=n(9183),c=n(35736);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}function d(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let i=e[n];return t.concat(Array.isArray(i)?i.map((e=>[n,e])):[[n,i]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const p=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],h=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}const f=r.createContext({isTransitioning:!1});new Map;(i||(i=n.t(r,2))).startTransition,(o||(o=n.t(a,2))).flushSync,(i||(i=n.t(r,2))).useId;const m="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,g=r.forwardRef((function(e,t){let n,{onClick:i,relative:o,reloadDocument:a,replace:d,state:h,target:f,to:g,preventScrollReset:E,unstable_viewTransition:v}=e,y=u(e,p),{basename:b}=r.useContext(s.jb),S=!1;if("string"==typeof g&&_.test(g)&&(n=g,m))try{let e=new URL(window.location.href),t=g.startsWith("//")?new URL(e.protocol+g):new URL(g),n=(0,c.pb)(t.pathname,b);t.origin===e.origin&&null!=n?g=n+t.search+t.hash:S=!0}catch(e){}let T=(0,s.$P)(g,{relative:o}),A=function(e,t){let{target:n,replace:i,state:o,preventScrollReset:a,relative:l,unstable_viewTransition:u}=void 0===t?{}:t,d=(0,s.Zp)(),p=(0,s.zy)(),h=(0,s.x$)(e,{relative:l});return r.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==i?i:(0,c.AO)(p)===(0,c.AO)(h);d(e,{replace:n,state:o,preventScrollReset:a,relative:l,unstable_viewTransition:u})}}),[p,d,h,i,o,n,e,a,l,u])}(g,{replace:d,state:h,target:f,preventScrollReset:E,relative:o,unstable_viewTransition:v});return r.createElement("a",l({},y,{href:n||T,onClick:S||a?i:function(e){i&&i(e),e.defaultPrevented||A(e)},ref:t,target:f}))}));const E=r.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:i=!1,className:o="",end:a=!1,style:d,to:p,unstable_viewTransition:m,children:_}=e,E=u(e,h),y=(0,s.x$)(p,{relative:E.relative}),S=(0,s.zy)(),T=r.useContext(s.Rq),{navigator:A,basename:I}=r.useContext(s.jb),O=null!=T&&function(e,t){void 0===t&&(t={});let n=r.useContext(f);null==n&&(0,c.Oi)(!1);let{basename:i}=b(v.useViewTransitionState),o=(0,s.x$)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=(0,c.pb)(n.currentLocation.pathname,i)||n.currentLocation.pathname,l=(0,c.pb)(n.nextLocation.pathname,i)||n.nextLocation.pathname;return null!=(0,c.B6)(o.pathname,l)||null!=(0,c.B6)(o.pathname,a)}(y)&&!0===m,C=A.encodeLocation?A.encodeLocation(y).pathname:y.pathname,R=S.pathname,N=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;i||(R=R.toLowerCase(),N=N?N.toLowerCase():null,C=C.toLowerCase()),N&&I&&(N=(0,c.pb)(N,I)||N);const P="/"!==C&&C.endsWith("/")?C.length-1:C.length;let L,k=R===C||!a&&R.startsWith(C)&&"/"===R.charAt(P),w=null!=N&&(N===C||!a&&N.startsWith(C)&&"/"===N.charAt(C.length)),D={isActive:k,isPending:w,isTransitioning:O},M=k?n:void 0;L="function"==typeof o?o(D):[o,k?"active":null,w?"pending":null,O?"transitioning":null].filter(Boolean).join(" ");let x="function"==typeof d?d(D):d;return r.createElement(g,l({},E,{"aria-current":M,className:L,ref:t,style:x,to:p,unstable_viewTransition:m}),"function"==typeof _?_(D):_)}));var v,y;function b(e){let t=r.useContext(s.sp);return t||(0,c.Oi)(!1),t}function S(e){let t=r.useRef(d(e)),n=r.useRef(!1),i=(0,s.zy)(),o=r.useMemo((()=>function(e,t){let n=d(e);return t&&t.forEach(((e,i)=>{n.has(i)||t.getAll(i).forEach((e=>{n.append(i,e)}))})),n}(i.search,n.current?null:t.current)),[i.search]),a=(0,s.Zp)(),c=r.useCallback(((e,t)=>{const i=d("function"==typeof e?e(o):e);n.current=!0,a("?"+i,t)}),[a,o]);return[o,c]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(v||(v={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(y||(y={}))},9183:(e,t,n)=>{"use strict";var i;n.d(t,{$P:()=>h,BV:()=>F,C5:()=>M,Ix:()=>V,RQ:()=>g,Rq:()=>c,Zp:()=>v,g:()=>b,jb:()=>l,qh:()=>U,sp:()=>s,sv:()=>x,wQ:()=>_,x$:()=>S,zy:()=>m});var o=n(30758),r=n(35736);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(this,arguments)}const s=o.createContext(null);const c=o.createContext(null);const l=o.createContext(null);const u=o.createContext(null);const d=o.createContext({outlet:null,matches:[],isDataRoute:!1});const p=o.createContext(null);function h(e,t){let{relative:n}=void 0===t?{}:t;f()||(0,r.Oi)(!1);let{basename:i,navigator:a}=o.useContext(l),{hash:s,pathname:c,search:u}=S(e,{relative:n}),d=c;return"/"!==i&&(d="/"===c?i:(0,r.HS)([i,c])),a.createHref({pathname:d,search:u,hash:s})}function f(){return null!=o.useContext(u)}function m(){return f()||(0,r.Oi)(!1),o.useContext(u).location}function _(){return o.useContext(u).navigationType}function g(e){f()||(0,r.Oi)(!1);let{pathname:t}=m();return o.useMemo((()=>(0,r.B6)(e,t)),[t,e])}function E(e){o.useContext(l).static||o.useLayoutEffect(e)}function v(){let{isDataRoute:e}=o.useContext(d);return e?function(){let{router:e}=L(N.UseNavigateStable),t=w(P.UseNavigateStable),n=o.useRef(!1);return E((()=>{n.current=!0})),o.useCallback((function(i,o){void 0===o&&(o={}),n.current&&("number"==typeof i?e.navigate(i):e.navigate(i,a({fromRouteId:t},o)))}),[e,t])}():function(){f()||(0,r.Oi)(!1);let e=o.useContext(s),{basename:t,future:n,navigator:i}=o.useContext(l),{matches:a}=o.useContext(d),{pathname:c}=m(),u=JSON.stringify((0,r.yD)(a,n.v7_relativeSplatPath)),p=o.useRef(!1);return E((()=>{p.current=!0})),o.useCallback((function(n,o){if(void 0===o&&(o={}),!p.current)return;if("number"==typeof n)return void i.go(n);let a=(0,r.Gh)(n,JSON.parse(u),c,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,r.HS)([t,a.pathname])),(o.replace?i.replace:i.push)(a,o.state,o)}),[t,i,u,c,e])}()}const y=o.createContext(null);function b(){let{matches:e}=o.useContext(d),t=e[e.length-1];return t?t.params:{}}function S(e,t){let{relative:n}=void 0===t?{}:t,{future:i}=o.useContext(l),{matches:a}=o.useContext(d),{pathname:s}=m(),c=JSON.stringify((0,r.yD)(a,i.v7_relativeSplatPath));return o.useMemo((()=>(0,r.Gh)(e,JSON.parse(c),s,"path"===n)),[e,c,s,n])}function T(e,t,n,i){f()||(0,r.Oi)(!1);let{navigator:s}=o.useContext(l),{matches:c}=o.useContext(d),p=c[c.length-1],h=p?p.params:{},_=(p&&p.pathname,p?p.pathnameBase:"/");p&&p.route;let g,E=m();if(t){var v;let e="string"==typeof t?(0,r.Rr)(t):t;"/"===_||(null==(v=e.pathname)?void 0:v.startsWith(_))||(0,r.Oi)(!1),g=e}else g=E;let y=g.pathname||"/",b=y;if("/"!==_){let e=_.replace(/^\//,"").split("/");b="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let S=(0,r.ue)(e,{pathname:b});let T=R(S&&S.map((e=>Object.assign({},e,{params:Object.assign({},h,e.params),pathname:(0,r.HS)([_,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?_:(0,r.HS)([_,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),c,n,i);return t&&T?o.createElement(u.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:r.rc.Pop}},T):T}function A(){let e=function(){var e;let t=o.useContext(p),n=k(P.UseRouteError),i=w(P.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[i]}(),t=(0,r.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i};return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,null)}const I=o.createElement(A,null);class O extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?o.createElement(d.Provider,{value:this.props.routeContext},o.createElement(p.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function C(e){let{routeContext:t,match:n,children:i}=e,r=o.useContext(s);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),o.createElement(d.Provider,{value:t},i)}function R(e,t,n,i){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===i&&(i=null),null==e){var s;if(null==(s=n)||!s.errors)return null;e=n.matches}let c=e,l=null==(a=n)?void 0:a.errors;if(null!=l){let e=c.findIndex((e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id])));e>=0||(0,r.Oi)(!1),c=c.slice(0,Math.min(c.length,e+1))}let u=!1,d=-1;if(n&&i&&i.v7_partialHydration)for(let e=0;e<c.length;e++){let t=c[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:i}=n,o=t.route.loader&&void 0===e[t.route.id]&&(!i||void 0===i[t.route.id]);if(t.route.lazy||o){u=!0,c=d>=0?c.slice(0,d+1):[c[0]];break}}}return c.reduceRight(((e,i,r)=>{let a,s=!1,p=null,h=null;var f;n&&(a=l&&i.route.id?l[i.route.id]:void 0,p=i.route.errorElement||I,u&&(d<0&&0===r?(f="route-fallback",!1||D[f]||(D[f]=!0),s=!0,h=null):d===r&&(s=!0,h=i.route.hydrateFallbackElement||null)));let m=t.concat(c.slice(0,r+1)),_=()=>{let t;return t=a?p:s?h:i.route.Component?o.createElement(i.route.Component,null):i.route.element?i.route.element:e,o.createElement(C,{match:i,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===r)?o.createElement(O,{location:n.location,revalidation:n.revalidation,component:p,error:a,children:_(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):_()}),null)}var N=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(N||{}),P=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(P||{});function L(e){let t=o.useContext(s);return t||(0,r.Oi)(!1),t}function k(e){let t=o.useContext(c);return t||(0,r.Oi)(!1),t}function w(e){let t=function(e){let t=o.useContext(d);return t||(0,r.Oi)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,r.Oi)(!1),n.route.id}const D={};(i||(i=n.t(o,2))).startTransition;function M(e){let{to:t,replace:n,state:i,relative:a}=e;f()||(0,r.Oi)(!1);let{future:s,static:c}=o.useContext(l),{matches:u}=o.useContext(d),{pathname:p}=m(),h=v(),_=(0,r.Gh)(t,(0,r.yD)(u,s.v7_relativeSplatPath),p,"path"===a),g=JSON.stringify(_);return o.useEffect((()=>h(JSON.parse(g),{replace:n,state:i,relative:a})),[h,g,a,n,i]),null}function x(e){return function(e){let t=o.useContext(d).outlet;return t?o.createElement(y.Provider,{value:e},t):t}(e.context)}function U(e){(0,r.Oi)(!1)}function V(e){let{basename:t="/",children:n=null,location:i,navigationType:s=r.rc.Pop,navigator:c,static:d=!1,future:p}=e;f()&&(0,r.Oi)(!1);let h=t.replace(/^\/*/,"/"),m=o.useMemo((()=>({basename:h,navigator:c,static:d,future:a({v7_relativeSplatPath:!1},p)})),[h,p,c,d]);"string"==typeof i&&(i=(0,r.Rr)(i));let{pathname:_="/",search:g="",hash:E="",state:v=null,key:y="default"}=i,b=o.useMemo((()=>{let e=(0,r.pb)(_,h);return null==e?null:{location:{pathname:e,search:g,hash:E,state:v,key:y},navigationType:s}}),[h,_,g,E,v,y,s]);return null==b?null:o.createElement(l.Provider,{value:m},o.createElement(u.Provider,{children:n,value:b}))}function F(e){let{children:t,location:n}=e;return T(B(t),n)}new Promise((()=>{}));o.Component;function B(e,t){void 0===t&&(t=[]);let n=[];return o.Children.forEach(e,((e,i)=>{if(!o.isValidElement(e))return;let a=[...t,i];if(e.type===o.Fragment)return void n.push.apply(n,B(e.props.children,a));e.type!==U&&(0,r.Oi)(!1),e.props.index&&e.props.children&&(0,r.Oi)(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=B(e.props.children,a)),n.push(s)})),n}},74743:(e,t,n)=>{"use strict";n.d(t,{A:()=>Q,B:()=>se,C:()=>ae,D:()=>re,E:()=>W,F:()=>st,G:()=>K,H:()=>j,I:()=>$,J:()=>H,K:()=>oe,M:()=>_e,a:()=>xe,b:()=>Te,c:()=>at,d:()=>He,e:()=>Me,f:()=>Ye,g:()=>je,h:()=>Ue,i:()=>Ie,j:()=>Je,k:()=>be,l:()=>Fe,m:()=>fe,n:()=>Ee,o:()=>Se,p:()=>Ze,q:()=>Qe,r:()=>ce,s:()=>ie,t:()=>et,u:()=>ye,v:()=>it,w:()=>ot,x:()=>rt,y:()=>Ae,z:()=>Z});var i=n(81322),o=n(95265),r=n(29778),a=n(12867),s=n(59764),c=n(90855);var l=n(19484),u=n(30758),d=n(8143);const p=Math.min,h=Math.max,f=Math.round,m=Math.floor,_=e=>({x:e,y:e});function g(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}function E(e){return b(e)?(e.nodeName||"").toLowerCase():"#document"}function v(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function y(e){var t;return null==(t=(b(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function b(e){return e instanceof Node||e instanceof v(e).Node}function S(e){return e instanceof Element||e instanceof v(e).Element}function T(e){return e instanceof HTMLElement||e instanceof v(e).HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof v(e).ShadowRoot)}function I(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(o)}function O(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function C(e){return["html","body","#document"].includes(E(e))}function R(e){return v(e).getComputedStyle(e)}function N(e){if("html"===E(e))return e;const t=e.assignedSlot||e.parentNode||A(e)&&e.host||y(e);return A(t)?t.host:t}function P(e){const t=N(e);return C(t)?e.ownerDocument?e.ownerDocument.body:e.body:T(t)&&I(t)?t:P(t)}function L(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=P(e),r=o===(null==(i=e.ownerDocument)?void 0:i.body),a=v(o);return r?t.concat(a,a.visualViewport||[],I(o)?o:[],a.frameElement&&n?L(a.frameElement):[]):t.concat(o,L(o,[],n))}function k(e){const t=R(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=T(e),r=o?e.offsetWidth:n,a=o?e.offsetHeight:i,s=f(n)!==r||f(i)!==a;return s&&(n=r,i=a),{width:n,height:i,$:s}}function w(e){return S(e)?e:e.contextElement}function D(e){const t=w(e);if(!T(t))return _(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:r}=k(t);let a=(r?f(n.width):n.width)/i,s=(r?f(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const M=_(0);function x(e){const t=v(e);return O()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:M}function U(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),r=w(e);let a=_(1);t&&(i?S(i)&&(a=D(i)):a=D(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==v(e))&&t}(r,n,i)?x(r):_(0);let c=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(r){const e=v(r),t=i&&S(i)?v(i):i;let n=e,o=n.frameElement;for(;o&&i&&t!==n;){const e=D(o),t=o.getBoundingClientRect(),i=R(o),r=t.left+(o.clientLeft+parseFloat(i.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(i.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=r,l+=a,n=v(o),o=n.frameElement}}return g({width:u,height:d,x:c,y:l})}function V(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=i,l=w(e),u=o||r?[...l?L(l):[],...L(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)}));const d=l&&s?function(e,t){let n,i=null;const o=y(e);function r(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function a(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),r();const{left:l,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const _={rootMargin:-m(u)+"px "+-m(o.clientWidth-(l+d))+"px "+-m(o.clientHeight-(u+f))+"px "+-m(l)+"px",threshold:h(0,p(1,c))||1};let g=!0;function E(e){const t=e[0].intersectionRatio;if(t!==c){if(!g)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}g=!1}try{i=new IntersectionObserver(E,{..._,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(E,_)}i.observe(e)}(!0),r}(l,n):null;let f,_=-1,g=null;a&&(g=new ResizeObserver((e=>{let[i]=e;i&&i.target===l&&g&&(g.unobserve(t),cancelAnimationFrame(_),_=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),l&&!c&&g.observe(l),g.observe(t));let E=c?U(e):null;return c&&function t(){const i=U(e);!E||i.x===E.x&&i.y===E.y&&i.width===E.width&&i.height===E.height||n();E=i,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=g)||e.disconnect(),g=null,c&&cancelAnimationFrame(f)}}var F=n(27249),B=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],H=function(){};function G(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function W(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=[].concat(i);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(G(e,a)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var j=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,c.A)(e)&&null!==e?[e]:[];var t},Y=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,s.A)(e,B);return(0,i.A)({},t)},z=function(e,t,n){var i=e.cx,o=e.getStyles,r=e.getClassNames,a=e.className;return{css:o(t,e),className:i(null!=n?n:{},r(t,e),a)}};function K(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function J(e){return K(e)?window.pageYOffset:e.scrollTop}function q(e,t){K(e)?window.scrollTo(0,t):e.scrollTop=t}function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:H,o=J(e),r=t-o,a=0;!function t(){var s=function(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t}(a+=10,o,r,n);q(e,s),a<n?window.requestAnimationFrame(t):i(e)}()}function $(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),o=t.offsetHeight/3;i.bottom+o>n.bottom?q(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):i.top-o<n.top&&q(e,Math.max(t.offsetTop-o,0))}function Z(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function Q(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var ee=!1,te={get passive(){return ee=!0}},ne="undefined"!=typeof window?window:{};ne.addEventListener&&ne.removeEventListener&&(ne.addEventListener("p",H,te),ne.removeEventListener("p",H,!1));var ie=ee;function oe(e){return null!=e}function re(e,t,n){return e?t:n}function ae(e){return e}function se(e){return e}var ce=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Object.entries(e).filter((function(e){var t=(0,a.A)(e,1)[0];return!n.includes(t)})).reduce((function(e,t){var n=(0,a.A)(t,2),i=n[0],o=n[1];return e[i]=o,e}),{})},le=["children","innerProps"],ue=["children","innerProps"];function de(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,o=e.placement,r=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,c=function(e){var t=getComputedStyle(e),n="absolute"===t.position,i=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&i.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var u,d=c.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,f=p.height,m=p.top,_=n.offsetParent.getBoundingClientRect().top,g=a?window.innerHeight:K(u=c)?window.innerHeight:u.clientHeight,E=J(c),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),b=_-y,S=g-m,T=b+E,A=d-E-m,I=h-g+E+v,O=E+m-y,C=160;switch(o){case"auto":case"bottom":if(S>=f)return{placement:"bottom",maxHeight:t};if(A>=f&&!a)return r&&X(c,I,C),{placement:"bottom",maxHeight:t};if(!a&&A>=i||a&&S>=i)return r&&X(c,I,C),{placement:"bottom",maxHeight:a?S-v:A-v};if("auto"===o||a){var R=t,N=a?b:T;return N>=i&&(R=Math.min(N-v-s,t)),{placement:"top",maxHeight:R}}if("bottom"===o)return r&&q(c,I),{placement:"bottom",maxHeight:t};break;case"top":if(b>=f)return{placement:"top",maxHeight:t};if(T>=f&&!a)return r&&X(c,O,C),{placement:"top",maxHeight:t};if(!a&&T>=i||a&&b>=i){var P=t;return(!a&&T>=i||a&&b>=i)&&(P=a?b-y:T-y),r&&X(c,O,C),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return l}var pe,he=function(e){return"auto"===e?"bottom":e},fe=function(e,t){var n,o=e.placement,r=e.theme,a=r.borderRadius,s=r.spacing,c=r.colors;return(0,i.A)((n={label:"menu"},(0,l.A)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,l.A)(n,"position","absolute"),(0,l.A)(n,"width","100%"),(0,l.A)(n,"zIndex",1),n),t?{}:{backgroundColor:c.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},me=(0,u.createContext)(null),_e=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,r=e.menuPlacement,s=e.menuPosition,c=e.menuShouldScrollIntoView,l=e.theme,d=((0,u.useContext)(me)||{}).setPortalPlacement,p=(0,u.useRef)(null),h=(0,u.useState)(o),f=(0,a.A)(h,2),m=f[0],_=f[1],g=(0,u.useState)(null),E=(0,a.A)(g,2),v=E[0],y=E[1],b=l.spacing.controlHeight;return(0,F.A)((function(){var e=p.current;if(e){var t="fixed"===s,i=de({maxHeight:o,menuEl:e,minHeight:n,placement:r,shouldScroll:c&&!t,isFixedPosition:t,controlHeight:b});_(i.maxHeight),y(i.placement),null==d||d(i.placement)}}),[o,r,s,c,n,d,b]),t({ref:p,placerProps:(0,i.A)((0,i.A)({},e),{},{placement:v||he(r),maxHeight:m})})},ge=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return(0,r.Y)("div",(0,o.A)({},z(e,"menu",{menu:!0}),{ref:n},i),t)},Ee=function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,i.A)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},ve=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return(0,i.A)({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},ye=ve,be=ve,Se=function(e){var t=e.rect,n=e.offset,i=e.position;return{left:t.left,position:i,top:n,width:t.width,zIndex:1}},Te=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},Ae=function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,i.A)({alignItems:"center",display:o&&r&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},Ie=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Oe=["size"],Ce=["innerProps","isRtl","size"];var Re,Ne,Pe={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Le=function(e){var t=e.size,n=(0,s.A)(e,Oe);return(0,r.Y)("svg",(0,o.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Pe},n))},ke=function(e){return(0,r.Y)(Le,(0,o.A)({size:20},e),(0,r.Y)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},we=function(e){return(0,r.Y)(Le,(0,o.A)({size:20},e),(0,r.Y)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},De=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,a=o.colors;return(0,i.A)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*r,":hover":{color:n?a.neutral80:a.neutral40}})},Me=De,xe=De,Ue=function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,a=o.colors;return(0,i.A)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*r,marginTop:2*r})},Ve=(0,r.i7)(pe||(Re=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Ne||(Ne=Re.slice(0)),pe=Object.freeze(Object.defineProperties(Re,{raw:{value:Object.freeze(Ne)}})))),Fe=function(e,t){var n=e.isFocused,o=e.size,r=e.theme,a=r.colors,s=r.spacing.baseUnit;return(0,i.A)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*s})},Be=function(e){var t=e.delay,n=e.offset;return(0,r.Y)("span",{css:(0,r.AH)({animation:"".concat(Ve," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},He=function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.theme,a=r.colors,s=r.borderRadius,c=r.spacing;return(0,i.A)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:c.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:o?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},Ge=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,a=e.innerRef,s=e.innerProps,c=e.menuIsOpen;return(0,r.Y)("div",(0,o.A)({ref:a},z(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":c}),s,{"aria-disabled":n||void 0}),t)},We=["data"],je=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},Ye=function(e,t){var n=e.theme,o=n.colors,r=n.spacing;return(0,i.A)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},ze=function(e){var t=e.children,n=e.cx,i=e.getStyles,a=e.getClassNames,s=e.Heading,c=e.headingProps,l=e.innerProps,u=e.label,d=e.theme,p=e.selectProps;return(0,r.Y)("div",(0,o.A)({},z(e,"group",{group:!0}),l),(0,r.Y)(s,(0,o.A)({},c,{selectProps:p,theme:d,getStyles:i,getClassNames:a,cx:n}),u),(0,r.Y)("div",null,t))},Ke=["innerRef","isDisabled","isHidden","inputClassName"],Je=function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,a=r.spacing,s=r.colors;return(0,i.A)((0,i.A)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Xe),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},qe={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Xe={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,i.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},qe)},$e=function(e){return(0,i.A)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},qe)},Ze=function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,a=n.colors;return(0,i.A)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},Qe=function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,a=e.cropWithEllipsis;return(0,i.A)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},et=function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,a=n.colors,s=e.isFocused;return(0,i.A)({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},tt=function(e){var t=e.children,n=e.innerProps;return(0,r.Y)("div",n,t)};var nt=function(e){var t=e.children,n=e.components,o=e.data,a=e.innerProps,s=e.isDisabled,c=e.removeProps,l=e.selectProps,u=n.Container,d=n.Label,p=n.Remove;return(0,r.Y)(u,{data:o,innerProps:(0,i.A)((0,i.A)({},z(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:l},(0,r.Y)(d,{data:o,innerProps:(0,i.A)({},z(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),(0,r.Y)(p,{data:o,innerProps:(0,i.A)((0,i.A)({},z(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},c),selectProps:l}))},it=function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,a=e.theme,s=a.spacing,c=a.colors;return(0,i.A)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?c.primary:o?c.primary25:"transparent",color:n?c.neutral20:r?c.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?c.primary:c.primary50}})},ot=function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return(0,i.A)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},rt=function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,a=o.colors;return(0,i.A)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},at={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,r.Y)("div",(0,o.A)({},z(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,r.Y)(ke,null))},Control:Ge,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,r.Y)("div",(0,o.A)({},z(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,r.Y)(we,null))},DownChevron:we,CrossIcon:ke,Group:ze,GroupHeading:function(e){var t=Y(e);t.data;var n=(0,s.A)(t,We);return(0,r.Y)("div",(0,o.A)({},z(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,r.Y)("div",(0,o.A)({},z(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,r.Y)("span",(0,o.A)({},t,z(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,i=Y(e),a=i.innerRef,c=i.isDisabled,l=i.isHidden,u=i.inputClassName,d=(0,s.A)(i,Ke);return(0,r.Y)("div",(0,o.A)({},z(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,r.Y)("input",(0,o.A)({className:t({input:!0},u),ref:a,style:$e(l),disabled:c},d)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,a=e.size,c=void 0===a?4:a,l=(0,s.A)(e,Ce);return(0,r.Y)("div",(0,o.A)({},z((0,i.A)((0,i.A)({},l),{},{innerProps:t,isRtl:n,size:c}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,r.Y)(Be,{delay:0,offset:n}),(0,r.Y)(Be,{delay:160,offset:!0}),(0,r.Y)(Be,{delay:320,offset:!n}))},Menu:ge,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,a=e.isMulti;return(0,r.Y)("div",(0,o.A)({},z(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,s=e.controlElement,c=e.innerProps,l=e.menuPlacement,p=e.menuPosition,h=(0,u.useRef)(null),f=(0,u.useRef)(null),m=(0,u.useState)(he(l)),_=(0,a.A)(m,2),g=_[0],E=_[1],v=(0,u.useMemo)((function(){return{setPortalPlacement:E}}),[]),y=(0,u.useState)(null),b=(0,a.A)(y,2),S=b[0],T=b[1],A=(0,u.useCallback)((function(){if(s){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(s),t="fixed"===p?0:window.pageYOffset,n=e[g]+t;n===(null==S?void 0:S.offset)&&e.left===(null==S?void 0:S.rect.left)&&e.width===(null==S?void 0:S.rect.width)||T({offset:n,rect:e})}}),[s,p,g,null==S?void 0:S.offset,null==S?void 0:S.rect.left,null==S?void 0:S.rect.width]);(0,F.A)((function(){A()}),[A]);var I=(0,u.useCallback)((function(){"function"==typeof f.current&&(f.current(),f.current=null),s&&h.current&&(f.current=V(s,h.current,A,{elementResize:"ResizeObserver"in window}))}),[s,A]);(0,F.A)((function(){I()}),[I]);var O=(0,u.useCallback)((function(e){h.current=e,I()}),[I]);if(!t&&"fixed"!==p||!S)return null;var C=(0,r.Y)("div",(0,o.A)({ref:O},z((0,i.A)((0,i.A)({},e),{},{offset:S.offset,position:p,rect:S.rect}),"menuPortal",{"menu-portal":!0}),c),n);return(0,r.Y)(me.Provider,{value:v},t?(0,d.createPortal)(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,a=e.innerProps,c=(0,s.A)(e,ue);return(0,r.Y)("div",(0,o.A)({},z((0,i.A)((0,i.A)({},c),{},{children:n,innerProps:a}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),a),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,a=e.innerProps,c=(0,s.A)(e,le);return(0,r.Y)("div",(0,o.A)({},z((0,i.A)((0,i.A)({},c),{},{children:n,innerProps:a}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),a),n)},MultiValue:nt,MultiValueContainer:tt,MultiValueLabel:tt,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,r.Y)("div",(0,o.A)({role:"button"},n),t||(0,r.Y)(ke,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,a=e.isSelected,s=e.innerRef,c=e.innerProps;return(0,r.Y)("div",(0,o.A)({},z(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":i,"option--is-selected":a}),{ref:s,"aria-disabled":n},c),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,r.Y)("div",(0,o.A)({},z(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,a=e.isRtl;return(0,r.Y)("div",(0,o.A)({},z(e,"container",{"--is-disabled":i,"--is-rtl":a}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return(0,r.Y)("div",(0,o.A)({},z(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),i),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,i=e.isMulti,a=e.hasValue;return(0,r.Y)("div",(0,o.A)({},z(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),n),t)}},st=function(e){return(0,i.A)((0,i.A)({},at),e.components)}},3625:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Te});var i=n(81322),o=n(12867),r=n(59764),a=n(30758),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var c=n(95265);var l=n(41775);function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,l.A)(i.key),i)}}var d=n(58269);function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var f=n(90855),m=n(57780);function _(e){var t=h();return function(){var n,i=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"==(0,f.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,m.A)(e)}(this,n)}}var g=n(89730);var E=n(54075);function v(e){return function(e){if(Array.isArray(e))return(0,g.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,E.A)(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 y=n(74743),b=n(29778),S=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function T(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(i=e[n],o=t[n],!(i===o||S(i)&&S(o)))return!1;var i,o;return!0}for(var A={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},I=function(e){return(0,b.Y)("span",(0,c.A)({css:A},e))},O={guidance:function(e){var t=e.isSearchable,n=e.isMulti,i=e.tabSelectsValue,o=e.context,r=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return r?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,i=void 0===n?"":n,o=e.labels,r=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(i,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,i=e.options,o=e.label,r=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,c=e.isSelected,l=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(r," focused, ").concat(u(a,n),".");if("menu"===t&&l){var d=s?" disabled":"",p="".concat(c?" selected":"").concat(d);return"".concat(r).concat(p,", ").concat(u(i,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},C=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,s=e.isFocused,c=e.selectValue,l=e.selectProps,u=e.id,d=e.isAppleDevice,p=l.ariaLiveMessages,h=l.getOptionLabel,f=l.inputValue,m=l.isMulti,_=l.isOptionDisabled,g=l.isSearchable,E=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,S=l.tabSelectsValue,T=l.isLoading,A=l["aria-label"],C=l["aria-live"],R=(0,a.useMemo)((function(){return(0,i.A)((0,i.A)({},O),p||{})}),[p]),N=(0,a.useMemo)((function(){var e,n="";if(t&&R.onChange){var o=t.option,r=t.options,a=t.removedValue,s=t.removedValues,l=t.value,u=a||o||(e=l,Array.isArray(e)?null:e),d=u?h(u):"",p=r||s||void 0,f=p?p.map(h):[],m=(0,i.A)({isDisabled:u&&_(u,c),label:d,labels:f},t);n=R.onChange(m)}return n}),[t,R,_,c,h]),P=(0,a.useMemo)((function(){var e="",t=n||o,i=!!(n&&c&&c.includes(n));if(t&&R.onFocus){var a={focused:t,label:h(t),isDisabled:_(t,c),isSelected:i,options:r,context:t===n?"menu":"value",selectValue:c,isAppleDevice:d};e=R.onFocus(a)}return e}),[n,o,h,_,R,r,c,d]),L=(0,a.useMemo)((function(){var e="";if(E&&v.length&&!T&&R.onFilter){var t=y({count:r.length});e=R.onFilter({inputValue:f,resultsMessage:t})}return e}),[r,f,E,R,v,y,T]),k="initial-input-focus"===(null==t?void 0:t.action),w=(0,a.useMemo)((function(){var e="";if(R.guidance){var t=o?"value":E?"menu":"input";e=R.guidance({"aria-label":A,context:t,isDisabled:n&&_(n,c),isMulti:m,isSearchable:g,tabSelectsValue:S,isInitialFocus:k})}return e}),[A,n,o,m,_,g,E,R,c,S,k]),D=(0,b.Y)(a.Fragment,null,(0,b.Y)("span",{id:"aria-selection"},N),(0,b.Y)("span",{id:"aria-focused"},P),(0,b.Y)("span",{id:"aria-results"},L),(0,b.Y)("span",{id:"aria-guidance"},w));return(0,b.Y)(a.Fragment,null,(0,b.Y)(I,{id:u},k&&D),(0,b.Y)(I,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!k&&D))},R=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],N=new RegExp("["+R.map((function(e){return e.letters})).join("")+"]","g"),P={},L=0;L<R.length;L++)for(var k=R[L],w=0;w<k.letters.length;w++)P[k.letters[w]]=k.base;var D=function(e){return e.replace(N,(function(e){return P[e]}))},M=function(e,t){void 0===t&&(t=T);var n=null;function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var r=e.apply(this,i);return n={lastResult:r,lastArgs:i,lastThis:this},r}return i.clear=function(){n=null},i}(D),x=function(e){return e.replace(/^\s+|\s+$/g,"")},U=function(e){return"".concat(e.label," ").concat(e.value)},V=["innerRef"];function F(e){var t=e.innerRef,n=(0,r.A)(e,V),i=(0,y.r)(n,"onExited","in","enter","exit","appear");return(0,b.Y)("input",(0,c.A)({ref:t},i,{css:(0,b.AH)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var B=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};var H=["boxSizing","height","overflow","paddingRight","position"],G={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function W(e){e.preventDefault()}function j(e){e.stopPropagation()}function Y(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function z(){return"ontouchstart"in window||navigator.maxTouchPoints}var K=!("undefined"==typeof window||!window.document||!window.document.createElement),J=0,q={capture:!1,passive:!1};var X=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},$={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Z(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,r=e.onTopLeave,s=(0,a.useRef)(!1),c=(0,a.useRef)(!1),l=(0,a.useRef)(0),u=(0,a.useRef)(null),d=(0,a.useCallback)((function(e,t){if(null!==u.current){var a=u.current,l=a.scrollTop,d=a.scrollHeight,p=a.clientHeight,h=u.current,f=t>0,m=d-p-l,_=!1;m>t&&s.current&&(i&&i(e),s.current=!1),f&&c.current&&(r&&r(e),c.current=!1),f&&t>m?(n&&!s.current&&n(e),h.scrollTop=d,_=!0,s.current=!0):!f&&-t>l&&(o&&!c.current&&o(e),h.scrollTop=0,_=!0,c.current=!0),_&&B(e)}}),[n,i,o,r]),p=(0,a.useCallback)((function(e){d(e,e.deltaY)}),[d]),h=(0,a.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),f=(0,a.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,a.useCallback)((function(e){if(e){var t=!!y.s&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",f,t)}}),[f,h,p]),_=(0,a.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",f,!1))}),[f,h,p]);return(0,a.useEffect)((function(){if(t){var e=u.current;return m(e),function(){_(e)}}}),[t,m,_]),function(e){u.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,i=void 0===n||n,o=(0,a.useRef)({}),r=(0,a.useRef)(null),s=(0,a.useCallback)((function(e){if(K){var t=document.body,n=t&&t.style;if(i&&H.forEach((function(e){var t=n&&n[e];o.current[e]=t})),i&&J<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(G).forEach((function(e){var t=G[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&z()&&(t.addEventListener("touchmove",W,q),e&&(e.addEventListener("touchstart",Y,q),e.addEventListener("touchmove",j,q))),J+=1}}),[i]),c=(0,a.useCallback)((function(e){if(K){var t=document.body,n=t&&t.style;J=Math.max(J-1,0),i&&J<1&&H.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&z()&&(t.removeEventListener("touchmove",W,q),e&&(e.removeEventListener("touchstart",Y,q),e.removeEventListener("touchmove",j,q)))}}),[i]);return(0,a.useEffect)((function(){if(t){var e=r.current;return s(e),function(){c(e)}}}),[t,s,c]),function(e){r.current=e}}({isEnabled:n});return(0,b.Y)(a.Fragment,null,n&&(0,b.Y)("div",{onClick:X,css:$}),t((function(e){o(e),r(e)})))}var Q={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},ee=function(e){var t=e.name,n=e.onFocus;return(0,b.Y)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Q,value:"",onChange:function(){}})};function te(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function ne(){return te(/^Mac/i)}function ie(){return te(/^iPhone/i)||te(/^iPad/i)||ne()&&navigator.maxTouchPoints>1}var oe={clearIndicator:y.a,container:y.b,control:y.d,dropdownIndicator:y.e,group:y.g,groupHeading:y.f,indicatorsContainer:y.i,indicatorSeparator:y.h,input:y.j,loadingIndicator:y.l,loadingMessage:y.k,menu:y.m,menuList:y.n,menuPortal:y.o,multiValue:y.p,multiValueLabel:y.q,multiValueRemove:y.t,noOptionsMessage:y.u,option:y.v,placeholder:y.w,singleValue:y.x,valueContainer:y.y};var re,ae={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},se={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,y.z)(),captureMenuScroll:!(0,y.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,i.A)({ignoreCase:!0,ignoreAccents:!0,stringify:U,trim:!0,matchFrom:"any"},re),o=n.ignoreCase,r=n.ignoreAccents,a=n.stringify,s=n.trim,c=n.matchFrom,l=s?x(t):t,u=s?x(a(e)):a(e);return o&&(l=l.toLowerCase(),u=u.toLowerCase()),r&&(l=M(l),u=D(u)),"start"===c?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,y.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ce(e,t,n,i){return{type:"option",data:t,isDisabled:_e(e,t,n),isSelected:ge(e,t,n),label:fe(e,t),value:me(e,t),index:i}}function le(e,t){return e.options.map((function(n,i){if("options"in n){var o=n.options.map((function(n,i){return ce(e,n,t,i)})).filter((function(t){return pe(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:i}:void 0}var r=ce(e,n,t,i);return pe(e,r)?r:void 0})).filter(y.K)}function ue(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,v(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function de(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,v(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function pe(e,t){var n=e.inputValue,i=void 0===n?"":n,o=t.data,r=t.isSelected,a=t.label,s=t.value;return(!ve(e)||!r)&&Ee(e,{label:a,value:s,data:o},i)}var he=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},fe=function(e,t){return e.getOptionLabel(t)},me=function(e,t){return e.getOptionValue(t)};function _e(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ge(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=me(e,t);return n.some((function(t){return me(e,t)===i}))}function Ee(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ve=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ye=1,be=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&&(0,d.A)(e,t)}(n,e);var t=_(n);function n(e){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=ne()||ie(),o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,i=n.onChange,r=n.name;t.name=r,o.ariaOnChange(e,t),i(e,t)},o.setValue=function(e,t,n){var i=o.props,r=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),r&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,i=t.isMulti,r=t.name,a=o.state.selectValue,s=i&&o.isOptionSelected(e,a),c=o.isOptionDisabled(e,a);if(s){var l=o.getOptionValue(e);o.setValue((0,y.B)(a.filter((function(e){return o.getOptionValue(e)!==l}))),"deselect-option",e)}else{if(c)return void o.ariaOnChange((0,y.C)(e),{action:"select-option",option:e,name:r});i?o.setValue((0,y.B)([].concat(v(a),[e])),"select-option",e):o.setValue((0,y.C)(e),"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,i=o.getOptionValue(e),r=n.filter((function(e){return o.getOptionValue(e)!==i})),a=(0,y.D)(t,r,r[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange((0,y.D)(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),r=(0,y.D)(e,i,i[0]||null);o.onChange(r,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return he(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return de(le(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y.E.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return fe(o.props,e)},o.getOptionValue=function(e){return me(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,i=oe[e](t,n);i.boxSizing="border-box";var r=o.props.styles[e];return r?r(i,t):i},o.getClassNames=function(e,t){var n,i;return null===(n=(i=o.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return(0,y.F)(o.props)},o.buildCategorizedOptions=function(){return le(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return ue(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:(0,i.A)({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,i=t.menuIsOpen;o.focusInput(),i?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout((function(){return o.focusInput()})))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,y.G)(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-o.initialTouchX),r=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=i>5||r>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return ve(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,i=t.backspaceRemovesValue,r=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,c=t.isDisabled,l=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=o.state,f=h.focusedOption,m=h.focusedValue,_=h.selectValue;if(!(c||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)o.removeValue(m);else{if(!i)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!l||!d||!f||p&&o.isOptionSelected(f,_))return;o.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(l){if(!f)return;if(o.isComposing)return;o.selectOption(f);break}return;case"Escape":l?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&r&&o.clearValue();break;case" ":if(a)return;if(!l){o.openMenu("first");break}if(!f)return;o.selectOption(f);break;case"ArrowUp":l?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":l?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!l)return;o.focusOption("pageup");break;case"PageDown":if(!l)return;o.focusOption("pagedown");break;case"Home":if(!l)return;o.focusOption("first");break;case"End":if(!l)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++ye),o.state.selectValue=(0,y.H)(e.value),e.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),s=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=a[s],o.state.focusedOptionId=he(r,a[s])}return o}return function(e,t,n){t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,y.I)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,i=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&i&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,y.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,i=n.selectValue,o=n.isFocused,r=this.buildFocusableOptions(),a="first"===e?0:r.length-1;if(!this.props.isMulti){var s=r.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[a],focusedOptionId:this.getFocusedOptionId(r[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,i=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(i);i||(o=-1);var r=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?r:o-1;break;case"next":o>-1&&o<r&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,i=this.getFocusableOptions();if(i.length){var o=0,r=i.indexOf(n);n||(r=-1),"up"===e?o=r>0?r-1:i.length-1:"down"===e?o=(r+1)%i.length:"pageup"===e?(o=r-t)<0&&(o=0):"pagedown"===e?(o=r+t)>i.length-1&&(o=i.length-1):"last"===e&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(ae):(0,i.A)((0,i.A)({},ae),this.props.theme):ae}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,i=this.getClassNames,o=this.getValue,r=this.selectOption,a=this.setValue,s=this.props,c=s.isMulti,l=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:i,getValue:o,hasValue:this.hasValue(),isMulti:c,isRtl:l,options:u,selectOption:r,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return _e(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ge(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Ee(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:i})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,s=e.tabIndex,l=e.form,u=e.menuIsOpen,d=e.required,p=this.getComponents().Input,h=this.state,f=h.inputIsHidden,m=h.ariaSelection,_=this.commonProps,g=o||this.getElementId("input"),E=(0,i.A)((0,i.A)((0,i.A)({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":d,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?a.createElement(p,(0,c.A)({},_,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:r},E)):a.createElement(F,(0,c.A)({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:y.J,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},E))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,r=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,u=this.commonProps,d=this.props,p=d.controlShouldRenderValue,h=d.isDisabled,f=d.isMulti,m=d.inputValue,_=d.placeholder,g=this.state,E=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!p)return m?null:a.createElement(l,(0,c.A)({},u,{key:"placeholder",isDisabled:h,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),_);if(f)return E.map((function(t,s){var l=t===v,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return a.createElement(n,(0,c.A)({},u,{components:{Container:i,Label:o,Remove:r},isFocused:l,isDisabled:h,key:d,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var b=E[0];return a.createElement(s,(0,c.A)({},u,{data:b,isDisabled:h}),this.formatOptionLabel(b,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,r=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,(0,c.A)({},t,{innerProps:s,isFocused:r}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,r=this.state.isFocused;if(!e||!o)return null;return a.createElement(e,(0,c.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:r}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,r=this.state.isFocused;return a.createElement(n,(0,c.A)({},i,{isDisabled:o,isFocused:r}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,(0,c.A)({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,r=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,u=t.NoOptionsMessage,d=t.Option,p=this.commonProps,h=this.state.focusedOption,f=this.props,m=f.captureMenuScroll,_=f.inputValue,g=f.isLoading,E=f.loadingMessage,v=f.minMenuHeight,b=f.maxMenuHeight,S=f.menuIsOpen,T=f.menuPlacement,A=f.menuPosition,I=f.menuPortalTarget,O=f.menuShouldBlockScroll,C=f.menuShouldScrollIntoView,R=f.noOptionsMessage,N=f.onMenuScrollToTop,P=f.onMenuScrollToBottom;if(!S)return null;var L,k=function(t,n){var i=t.type,o=t.data,r=t.isDisabled,s=t.isSelected,l=t.label,u=t.value,f=h===o,m=r?void 0:function(){return e.onOptionHover(o)},_=r?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),E={id:g,onClick:_,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:s};return a.createElement(d,(0,c.A)({},p,{innerProps:E,data:o,isDisabled:r,isSelected:s,key:g,label:l,type:i,value:u,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())L=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,r=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),u="".concat(l,"-heading");return a.createElement(n,(0,c.A)({},p,{key:l,data:o,options:r,Heading:i,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return k(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return k(t,"".concat(t.index))}));else if(g){var w=E({inputValue:_});if(null===w)return null;L=a.createElement(l,p,w)}else{var D=R({inputValue:_});if(null===D)return null;L=a.createElement(u,p,D)}var M={minMenuHeight:v,maxMenuHeight:b,menuPlacement:T,menuPosition:A,menuShouldScrollIntoView:C},x=a.createElement(y.M,(0,c.A)({},p,M),(function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return a.createElement(o,(0,c.A)({},p,M,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),a.createElement(Z,{captureEnabled:m,onTopArrive:N,onBottomArrive:P,lockEnabled:O},(function(t){return a.createElement(r,(0,c.A)({},p,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:h}),L)})))}));return I||"fixed"===A?a.createElement(s,(0,c.A)({},p,{appendTo:I,controlElement:this.controlRef,menuPlacement:T,menuPosition:A}),x):x}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,r=t.name,s=t.required,c=this.state.selectValue;if(s&&!this.hasValue()&&!i)return a.createElement(ee,{name:r,onFocus:this.onValueInputFocus});if(r&&!i){if(o){if(n){var l=c.map((function(t){return e.getOptionValue(t)})).join(n);return a.createElement("input",{name:r,type:"hidden",value:l})}var u=c.length>0?c.map((function(t,n){return a.createElement("input",{key:"i-".concat(n),name:r,type:"hidden",value:e.getOptionValue(t)})})):a.createElement("input",{name:r,type:"hidden",value:""});return a.createElement("div",null,u)}var d=c[0]?this.getOptionValue(c[0]):"";return a.createElement("input",{name:r,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,r=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return a.createElement(C,(0,c.A)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:r,selectValue:s,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,r=this.props,s=r.className,l=r.id,u=r.isDisabled,d=r.menuIsOpen,p=this.state.isFocused,h=this.commonProps=this.getCommonProps();return a.createElement(i,(0,c.A)({},h,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:p}),this.renderLiveRegion(),a.createElement(t,(0,c.A)({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:p,menuIsOpen:d}),a.createElement(o,(0,c.A)({},h,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),a.createElement(n,(0,c.A)({},h,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,s=t.isFocused,c=t.prevWasFocused,l=t.instancePrefix,u=e.options,d=e.value,p=e.menuIsOpen,h=e.inputValue,f=e.isMulti,m=(0,y.H)(d),_={};if(n&&(d!==n.value||u!==n.options||p!==n.menuIsOpen||h!==n.inputValue)){var g=p?function(e,t){return ue(le(e,t))}(e,m):[],E=p?de(le(e,m),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}(t,m):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);_={selectValue:m,focusedOption:b,focusedOptionId:he(E,b),focusableOptionsWithIds:E,focusedValue:v,clearFocusValueOnUpdate:!1}}var S=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},T=a,A=s&&c;return s&&!A&&(T={value:(0,y.D)(f,m,m[0]||null),options:m,action:"initial-input-focus"},A=!c),"initial-input-focus"===(null==a?void 0:a.action)&&(T=null),(0,i.A)((0,i.A)((0,i.A)({},_),S),{},{prevProps:e,ariaSelection:T,prevWasFocused:A})}}]),n}(a.Component);be.defaultProps=se;n(34143),n(8143),n(27249);var Se=(0,a.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,c=e.defaultMenuIsOpen,l=void 0!==c&&c,u=e.defaultValue,d=void 0===u?null:u,p=e.inputValue,h=e.menuIsOpen,f=e.onChange,m=e.onInputChange,_=e.onMenuClose,g=e.onMenuOpen,E=e.value,v=(0,r.A)(e,s),y=(0,a.useState)(void 0!==p?p:n),b=(0,o.A)(y,2),S=b[0],T=b[1],A=(0,a.useState)(void 0!==h?h:l),I=(0,o.A)(A,2),O=I[0],C=I[1],R=(0,a.useState)(void 0!==E?E:d),N=(0,o.A)(R,2),P=N[0],L=N[1],k=(0,a.useCallback)((function(e,t){"function"==typeof f&&f(e,t),L(e)}),[f]),w=(0,a.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),T(void 0!==n?n:e)}),[m]),D=(0,a.useCallback)((function(){"function"==typeof g&&g(),C(!0)}),[g]),M=(0,a.useCallback)((function(){"function"==typeof _&&_(),C(!1)}),[_]),x=void 0!==p?p:S,U=void 0!==h?h:O,V=void 0!==E?E:P;return(0,i.A)((0,i.A)({},v),{},{inputValue:x,menuIsOpen:U,onChange:k,onInputChange:w,onMenuClose:M,onMenuOpen:D,value:V})}(e);return a.createElement(be,(0,c.A)({ref:t},n))})),Te=Se},56386:e=>{var t=function(e){return"string"==typeof e};function n(e,n,i){var o=0,r=0;if(""===e)return e;if(!e||!t(e))throw new TypeError("First argument to react-string-replace#replaceString must be a string");var a,s,c,l=n;(function(e){return e instanceof RegExp})(l)||(l=new RegExp("("+(a=l,s=/[\\^$.*+?()[\]{}|]/g,c=RegExp(s.source),(a&&c.test(a)?a.replace(s,"\\$&"):a)+")"),"gi"));for(var u=e.split(l),d=1,p=u.length;d<p;d+=2)void 0!==u[d]&&void 0!==u[d-1]?(r=u[d].length,o+=u[d-1].length,u[d]=i(u[d],d,o),o+=r):console.warn("reactStringReplace: Encountered undefined value during string replacement. Your RegExp may not be working the way you expect.");return u}e.exports=function(e,i,o){return Array.isArray(e)||(e=[e]),r=e.map((function(e){return t(e)?n(e,i,o):e})),a=[],r.forEach((function(e){Array.isArray(e)?a=a.concat(e):a.push(e)})),a;var r,a}},94079:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var i=n(95265),o=n(64032),r=n(57878);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(30758),c=n(17988),l=n(96610),u=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=a(n.className,i):n.setAttribute("class",a(n.className&&n.className.baseVal||"",i)));var n,i}))},d=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1];t.removeClasses(o,"exit"),t.addClass(o,r?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.addClass(o,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.removeClasses(o,r),t.addClass(o,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,o=i?""+(i&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:i?o+"-active":n[e+"Active"],doneClassName:i?o+"-done":n[e+"Done"]}},t}(0,r.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(i+=" "+o),"active"===n&&e&&(0,l.F)(e),i&&(this.appliedClasses[t][n]=i,function(e,t){e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))}(e,i))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,o=n.active,r=n.done;this.appliedClasses[t]={},i&&u(e,i),o&&u(e,o),r&&u(e,r)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.A)(e,["classNames"]));return s.createElement(c.Ay,(0,i.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s.Component);d.defaultProps={classNames:""},d.propTypes={};const p=d},17988:(e,t,n)=>{"use strict";n.d(t,{_K:()=>h,ns:()=>p,ze:()=>f,Ay:()=>g});var i=n(64032),o=n(57878),r=n(30758),a=n(8143);const s=!1;var c=n(20224),l=n(96610),u="unmounted",d="exited",p="entering",h="entered",f="exiting",m=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var o,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(o=d,i.appearStatus=p):o=h:o=t.unmountOnExit||t.mountOnEnter?u:d,i.state={status:o},i.nextCallback=null,i}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):n!==p&&n!==h||(t=f)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&(0,l.F)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,o=this.props.nodeRef?[i]:[a.findDOMNode(this),i],r=o[0],c=o[1],l=this.getTimeouts(),u=i?l.appear:l.enter;!e&&!n||s?this.safeSetState({status:h},(function(){t.props.onEntered(r)})):(this.props.onEnter(r,c),this.safeSetState({status:p},(function(){t.props.onEntering(r,c),t.onTransitionEnd(u,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(r,c)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(i),this.safeSetState({status:f},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=o[0],s=o[1];this.props.addEndListener(r,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,i.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(c.A.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function _(){}m.contextType=c.A,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_,onEntering:_,onEntered:_,onExit:_,onExiting:_,onExited:_},m.UNMOUNTED=u,m.EXITED=d,m.ENTERING=p,m.ENTERED=h,m.EXITING=f;const g=m},95079:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var i=n(64032),o=n(95265),r=n(57780),a=n(57878),s=n(30758),c=n(20224);function l(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function u(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var i=l(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,o=Object.create(null),r=[];for(var a in e)a in t?r.length&&(o[a]=r,r=[]):r.push(a);var s={};for(var c in t){if(o[c])for(i=0;i<o[c].length;i++){var l=o[c][i];s[o[c][i]]=n(l)}s[c]=n(c)}for(i=0;i<r.length;i++)s[r[i]]=n(r[i]);return s}(t,i);return Object.keys(o).forEach((function(r){var a=o[r];if((0,s.isValidElement)(a)){var c=r in t,l=r in i,d=t[r],p=(0,s.isValidElement)(d)&&!d.props.in;!l||c&&!p?l||!c||p?l&&c&&(0,s.isValidElement)(d)&&(o[r]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:d.props.in,exit:u(a,"exit",e),enter:u(a,"enter",e)})):o[r]=(0,s.cloneElement)(a,{in:!1}):o[r]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:u(a,"exit",e),enter:u(a,"enter",e)})}})),o}var p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},h=function(e){function t(t,n){var i,o=(i=e.call(this,t,n)||this).handleExited.bind((0,r.A)(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}(0,a.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,o=t.children,r=t.handleExited;return{children:t.firstRender?(n=e,i=r,l(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:u(e,"appear",n),enter:u(e,"enter",n),exit:u(e,"exit",n)})}))):d(e,o,r),firstRender:!1}},n.handleExited=function(e,t){var n=l(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,o.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,i.A)(e,["component","childFactory"]),r=this.state.contextValue,a=p(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?s.createElement(c.A.Provider,{value:r},a):s.createElement(c.A.Provider,{value:r},s.createElement(t,o,a))},t}(s.Component);h.propTypes={},h.defaultProps={component:"div",childFactory:function(e){return e}};const f=h},20224:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const i=n(30758).createContext(null)},96610:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var i=function(e){return e.scrollTop}},77462:(e,t,n)=>{"use strict";var i=n(30758),o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var i,r={},l=null,u=null;for(i in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,i)&&!c.hasOwnProperty(i)&&(r[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===r[i]&&(r[i]=t[i]);return{$$typeof:o,type:e,key:l,ref:u,props:r,_owner:s.current}}t.Fragment=r,t.jsx=l,t.jsxs=l},32713:(e,t)=>{"use strict";var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,_={};function g(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||f}function E(){}function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||f}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=g.prototype;var y=v.prototype=new E;y.constructor=v,m(y,g.prototype),y.isPureReactComponent=!0;var b=Array.isArray,S=Object.prototype.hasOwnProperty,T={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,i){var o,r={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!A.hasOwnProperty(o)&&(r[o]=t[o]);var c=arguments.length-2;if(1===c)r.children=i;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===r[o]&&(r[o]=c[o]);return{$$typeof:n,type:e,key:a,ref:s,props:r,_owner:T.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function N(e,t,o,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case i:c=!0}}if(c)return a=a(c=e),e=""===r?"."+R(c,0):r,b(a)?(o="",null!=e&&(o=e.replace(C,"$&/")+"/"),N(a,t,o,"",(function(e){return e}))):null!=a&&(O(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(c=0,r=""===r?".":r+":",b(e))for(var l=0;l<e.length;l++){var u=r+R(s=e[l],l);c+=N(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),l=0;!(s=e.next()).done;)c+=N(s=s.value,t,o,u=r+R(s,l++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function P(e,t,n){if(null==e)return e;var i=[],o=0;return N(e,i,"","",(function(e){return t.call(n,e,o++)})),i}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var k={current:null},w={transition:null},D={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:w,ReactCurrentOwner:T};function M(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=r,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.act=M,t.cloneElement=function(e,t,i){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),r=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=T.current),void 0!==t.key&&(r=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)S.call(t,l)&&!A.hasOwnProperty(l)&&(o[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=i;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}return{$$typeof:n,type:e.type,key:r,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=I,t.createFactory=function(e){var t=I.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=w.transition;w.transition={};try{e()}finally{w.transition=t}},t.unstable_act=M,t.useCallback=function(e,t){return k.current.useCallback(e,t)},t.useContext=function(e){return k.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return k.current.useDeferredValue(e)},t.useEffect=function(e,t){return k.current.useEffect(e,t)},t.useId=function(){return k.current.useId()},t.useImperativeHandle=function(e,t,n){return k.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return k.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return k.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return k.current.useMemo(e,t)},t.useReducer=function(e,t,n){return k.current.useReducer(e,t,n)},t.useRef=function(e){return k.current.useRef(e)},t.useState=function(e){return k.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return k.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return k.current.useTransition()},t.version="18.3.1"},30758:(e,t,n)=>{"use strict";e.exports=n(32713)},86070:(e,t,n)=>{"use strict";e.exports=n(77462)},16976:(e,t,n)=>{"use strict";function i(e){return function(t){var n=t.dispatch,i=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,i,e):t(o)}}}}n.d(t,{A:()=>r});var o=i();o.withExtraArgument=i;const r=o},333:(e,t,n)=>{"use strict";n.d(t,{HY:()=>u,Tw:()=>p,Zz:()=>d,y$:()=>l});var i=n(81322);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. "}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function c(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 l(e,t,n){var i;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(l)(e,t)}if("function"!=typeof e)throw new Error(o(2));var a=e,u=t,d=[],p=d,h=!1;function f(){p===d&&(p=d.slice())}function m(){if(h)throw new Error(o(3));return u}function _(e){if("function"!=typeof e)throw new Error(o(4));if(h)throw new Error(o(5));var t=!0;return f(),p.push(e),function(){if(t){if(h)throw new Error(o(6));t=!1,f();var n=p.indexOf(e);p.splice(n,1),d=null}}}function g(e){if(!c(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(h)throw new Error(o(9));try{h=!0,u=a(u,e)}finally{h=!1}for(var t=d=p,n=0;n<t.length;n++){(0,t[n])()}return e}return g({type:s.INIT}),(i={dispatch:g,subscribe:_,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(o(10));a=e,g({type:s.REPLACE})}})[r]=function(){var e,t=_;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[r]=function(){return this},e},i}function u(e){for(var t=Object.keys(e),n={},i=0;i<t.length;i++){var r=t[i];0,"function"==typeof e[r]&&(n[r]=e[r])}var a,c=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:s.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var i=!1,r={},s=0;s<c.length;s++){var l=c[s],u=n[l],d=e[l],p=u(d,t);if(void 0===p){t&&t.type;throw new Error(o(14))}r[l]=p,i=i||p!==d}return(i=i||c.length!==Object.keys(e).length)?r:e}}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];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 p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(o(15))},a={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map((function(e){return e(a)}));return r=d.apply(void 0,s)(n.dispatch),(0,i.A)((0,i.A)({},n),{},{dispatch:r})}}}},42551:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>s});var i="NOT_FOUND";var o=function(e,t){return e===t};function r(e,t){var n,r,a="object"==typeof t?t:{equalityCheck:t},s=a.equalityCheck,c=void 0===s?o:s,l=a.maxSize,u=void 0===l?1:l,d=a.resultEqualityCheck,p=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var i=t.length,o=0;o<i;o++)if(!e(t[o],n[o]))return!1;return!0}}(c),h=1===u?(n=p,{get:function(e){return r&&n(r.key,e)?r.value:i},put:function(e,t){r={key:e,value:t}},getEntries:function(){return r?[r]:[]},clear:function(){r=void 0}}):function(e,t){var n=[];function o(e){var o=n.findIndex((function(n){return t(e,n.key)}));if(o>-1){var r=n[o];return o>0&&(n.splice(o,1),n.unshift(r)),r.value}return i}return{get:o,put:function(t,r){o(t)===i&&(n.unshift({key:t,value:r}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(u,p);function f(){var t=h.get(arguments);if(t===i){if(t=e.apply(null,arguments),d){var n=h.getEntries().find((function(e){return d(e.value,t)}));n&&(t=n.value)}h.put(arguments,t)}return t}return f.clearCache=function(){return h.clear()},f}function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return function(){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];var r,a=0,s={memoizeOptions:void 0},c=i.pop();if("object"==typeof c&&(s=c,c=i.pop()),"function"!=typeof c)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof c+"]");var l=s.memoizeOptions,u=void 0===l?n:l,d=Array.isArray(u)?u:[u],p=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=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: ["+n+"]")}return t}(i),h=e.apply(void 0,[function(){return a++,c.apply(null,arguments)}].concat(d)),f=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return r=h.apply(null,e)}));return Object.assign(f,{resultFunc:c,memoizedResultFunc:h,dependencies:p,lastResult:function(){return r},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),f}}var s=a(r)},54733:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var i=n-1>>>1,o=e[i];if(!(0<r(o,t)))break e;e[i]=t,e[n]=o,n=i}}function i(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,o=e.length,a=o>>>1;i<a;){var s=2*(i+1)-1,c=e[s],l=s+1,u=e[l];if(0>r(c,n))l<o&&0>r(u,c)?(e[i]=u,e[l]=n,i=l):(e[i]=c,e[s]=n,i=s);else{if(!(l<o&&0>r(u,n)))break e;e[i]=u,e[l]=n,i=l}}}return t}function r(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,c=s.now();t.unstable_now=function(){return s.now()-c}}var l=[],u=[],d=1,p=null,h=3,f=!1,m=!1,_=!1,g="function"==typeof setTimeout?setTimeout:null,E="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var t=i(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(l,t)}t=i(u)}}function b(e){if(_=!1,y(e),!m)if(null!==i(l))m=!0,w(S);else{var t=i(u);null!==t&&D(b,t.startTime-e)}}function S(e,n){m=!1,_&&(_=!1,E(O),O=-1),f=!0;var r=h;try{for(y(n),p=i(l);null!==p&&(!(p.expirationTime>n)||e&&!N());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var s=a(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===i(l)&&o(l),y(n)}else o(l);p=i(l)}if(null!==p)var c=!0;else{var d=i(u);null!==d&&D(b,d.startTime-n),c=!1}return c}finally{p=null,h=r,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var T,A=!1,I=null,O=-1,C=5,R=-1;function N(){return!(t.unstable_now()-R<C)}function P(){if(null!==I){var e=t.unstable_now();R=e;var n=!0;try{n=I(!0,e)}finally{n?T():(A=!1,I=null)}}else A=!1}if("function"==typeof v)T=function(){v(P)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,k=L.port2;L.port1.onmessage=P,T=function(){k.postMessage(null)}}else T=function(){g(P,0)};function w(e){I=e,A||(A=!0,T())}function D(e,n){O=g((function(){e(t.unstable_now())}),n)}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(){m||f||(m=!0,w(S))},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"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return i(l)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},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 n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,r){var a=t.unstable_now();switch("object"==typeof r&&null!==r?r="number"==typeof(r=r.delay)&&0<r?a+r:a:r=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:r,expirationTime:s=r+s,sortIndex:-1},r>a?(e.sortIndex=r,n(u,e),null===i(l)&&e===i(u)&&(_?(E(O),O=-1):_=!0,D(b,r-a))):(e.sortIndex=s,n(l,e),m||f||(m=!0,w(S))),e},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},31896:(e,t,n)=>{"use strict";e.exports=n(54733)},74144:e=>{"use strict";e.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n]);return e})},36601:(e,t,n)=>{!function(){var e="undefined"!=typeof window?window:n.g,i={};for(var o in function(e,t,n){var i;function o(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var r="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};var a=function(n){n=["object"==typeof globalThis&&globalThis,n,"object"==typeof e&&e,"object"==typeof self&&self,"object"==typeof t&&t];for(var i=0;i<n.length;++i){var o=n[i];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")}(this);function s(e,t){if(t)e:{var n=a;e=e.split(".");for(var i=0;i<e.length-1;i++){var o=e[i];if(!(o in n))break e;n=n[o]}(t=t(i=n[e=e[e.length-1]]))!=i&&null!=t&&r(n,e,{configurable:!0,writable:!0,value:t})}}function c(e){return(e={next:e})[Symbol.iterator]=function(){return this},e}function l(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:o(e)}}function u(e){if(!(e instanceof Array)){e=l(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}s("Symbol",(function(e){function t(e,t){this.g=e,r(this,"description",{configurable:!0,writable:!0,value:t})}if(e)return e;t.prototype.toString=function(){return this.g};var n="jscomp_symbol_"+(1e9*Math.random()>>>0)+"_",i=0;return function e(o){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new t(n+(o||"")+"_"+i++,o)}})),s("Symbol.iterator",(function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<t.length;n++){var i=a[t[n]];"function"==typeof i&&"function"!=typeof i.prototype[e]&&r(i.prototype,e,{configurable:!0,writable:!0,value:function(){return c(o(this))}})}return e}));var d,p="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)d=Object.setPrototypeOf;else{var h;e:{var f={};try{f.__proto__={a:!0},h=f.a;break e}catch(e){}h=!1}d=h?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var m=d;function _(e,t){if(e.prototype=p(t.prototype),e.prototype.constructor=e,m)m(e,t);else for(var n in t)if("prototype"!=n)if(Object.defineProperties){var i=Object.getOwnPropertyDescriptor(t,n);i&&Object.defineProperty(e,n,i)}else e[n]=t[n];e.ii=t.prototype}function g(){this.o=!1,this.l=null,this.h=void 0,this.g=1,this.j=this.m=0,this.u=this.i=null}function E(e){if(e.o)throw new TypeError("Generator is already running");e.o=!0}function v(e,t){e.i={jf:t,rf:!0},e.g=e.m||e.j}function y(e,t,n){return e.g=n,{value:t}}function b(e){e.g=0}function S(e,t,n){e.m=t,null!=n&&(e.j=n)}function T(e){e.m=0,e.j=2}function A(e,t,n){e.g=t,e.m=n||0}function I(e,t){return e.m=t||0,t=e.i.jf,e.i=null,t}function O(e){e.u=[e.i],e.m=0,e.j=0}function C(e,t){var n=e.u.splice(0)[0];(n=e.i=e.i||n)?n.rf?e.g=e.m||e.j:null!=n.B&&e.j<n.B?(e.g=n.B,e.i=null):e.g=e.j:e.g=t}function R(e){this.g=new g,this.h=e}function N(e,t,n,i){try{var o=t.call(e.g.l,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return e.g.o=!1,o;var r=o.value}catch(t){return e.g.l=null,v(e.g,t),P(e)}return e.g.l=null,i.call(e.g,r),P(e)}function P(e){for(;e.g.g;)try{var t=e.h(e.g);if(t)return e.g.o=!1,{value:t.value,done:!1}}catch(t){e.g.h=void 0,v(e.g,t)}if(e.g.o=!1,e.g.i){if(t=e.g.i,e.g.i=null,t.rf)throw t.jf;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function L(e){this.next=function(t){return E(e.g),e.g.l?t=N(e,e.g.l.next,t,e.g.s):(e.g.s(t),t=P(e)),t},this.throw=function(t){return E(e.g),e.g.l?t=N(e,e.g.l.throw,t,e.g.s):(v(e.g,t),t=P(e)),t},this.return=function(t){return function(e,t){E(e.g);var n=e.g.l;return n?N(e,"return"in n?n.return:function(e){return{value:e,done:!0}},t,e.g.return):(e.g.return(t),P(e))}(e,t)},this[Symbol.iterator]=function(){return this}}function k(e){return function(e){function t(t){return e.next(t)}function n(t){return e.throw(t)}return new Promise((function(i,o){!function e(r){r.done?i(r.value):Promise.resolve(r.value).then(t,n).then(e,o)}(e.next())}))}(new L(new R(e)))}function w(){for(var e=Number(this),t=[],n=e;n<arguments.length;n++)t[n-e]=arguments[n];return t}function D(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function M(e,t,n){e instanceof String&&(e=String(e));for(var i=e.length,o=0;o<i;o++){var r=e[o];if(t.call(n,r,o,e))return{pf:o,v:r}}return{pf:-1,v:void 0}}function x(e,t,n){if(null==e)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return e+""}function U(e,t){e instanceof String&&(e+="");var n=0,i=!1,o={next:function(){if(!i&&n<e.length){var o=n++;return{value:t(o,e[o]),done:!1}}return i=!0,{done:!0,value:void 0}}};return o[Symbol.iterator]=function(){return o},o}g.prototype.s=function(e){this.h=e},g.prototype.return=function(e){this.i={return:e},this.g=this.j},g.prototype.B=function(e){this.g=e},s("Promise",(function(e){function t(e){this.h=0,this.i=void 0,this.g=[],this.o=!1;var t=this.j();try{e(t.resolve,t.reject)}catch(e){t.reject(e)}}function n(){this.g=null}function i(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;n.prototype.h=function(e){if(null==this.g){this.g=[];var t=this;this.i((function(){t.l()}))}this.g.push(e)};var o=a.setTimeout;n.prototype.i=function(e){o(e,0)},n.prototype.l=function(){for(;this.g&&this.g.length;){var e=this.g;this.g=[];for(var t=0;t<e.length;++t){var n=e[t];e[t]=null;try{n()}catch(e){this.j(e)}}}this.g=null},n.prototype.j=function(e){this.i((function(){throw e}))},t.prototype.j=function(){function e(e){return function(i){n||(n=!0,e.call(t,i))}}var t=this,n=!1;return{resolve:e(this.F),reject:e(this.l)}},t.prototype.F=function(e){if(e===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.H(e);else{e:switch(typeof e){case"object":var n=null!=e;break e;case"function":n=!0;break e;default:n=!1}n?this.C(e):this.m(e)}},t.prototype.C=function(e){var t=void 0;try{t=e.then}catch(e){return void this.l(e)}"function"==typeof t?this.I(t,e):this.m(e)},t.prototype.l=function(e){this.s(2,e)},t.prototype.m=function(e){this.s(1,e)},t.prototype.s=function(e,t){if(0!=this.h)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.h);this.h=e,this.i=t,2===this.h&&this.G(),this.u()},t.prototype.G=function(){var e=this;o((function(){if(e.A()){var t=a.console;void 0!==t&&t.error(e.i)}}),1)},t.prototype.A=function(){if(this.o)return!1;var e=a.CustomEvent,t=a.Event,n=a.dispatchEvent;return void 0===n||("function"==typeof e?e=new e("unhandledrejection",{cancelable:!0}):"function"==typeof t?e=new t("unhandledrejection",{cancelable:!0}):(e=a.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,e),e.promise=this,e.reason=this.i,n(e))},t.prototype.u=function(){if(null!=this.g){for(var e=0;e<this.g.length;++e)r.h(this.g[e]);this.g=null}};var r=new n;return t.prototype.H=function(e){var t=this.j();e.jd(t.resolve,t.reject)},t.prototype.I=function(e,t){var n=this.j();try{e.call(t,n.resolve,n.reject)}catch(e){n.reject(e)}},t.prototype.then=function(e,n){function i(e,t){return"function"==typeof e?function(t){try{o(e(t))}catch(e){r(e)}}:t}var o,r,a=new t((function(e,t){o=e,r=t}));return this.jd(i(e,o),i(n,r)),a},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.jd=function(e,t){function n(){switch(i.h){case 1:e(i.i);break;case 2:t(i.i);break;default:throw Error("Unexpected state: "+i.h)}}var i=this;null==this.g?r.h(n):this.g.push(n),this.o=!0},t.resolve=i,t.reject=function(e){return new t((function(t,n){n(e)}))},t.race=function(e){return new t((function(t,n){for(var o=l(e),r=o.next();!r.done;r=o.next())i(r.value).jd(t,n)}))},t.all=function(e){var n=l(e),o=n.next();return o.done?i([]):new t((function(e,t){function r(t){return function(n){a[t]=n,0==--s&&e(a)}}var a=[],s=0;do{a.push(void 0),s++,i(o.value).jd(r(a.length-1),t),o=n.next()}while(!o.done)}))},t})),s("WeakMap",(function(e){function t(e){if(this.g=(c+=Math.random()+1).toString(),e){e=l(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}}function n(){}function i(e){var t=typeof e;return"object"===t&&null!==e||"function"===t}function o(e){if(!D(e,s)){var t=new n;r(e,s,{value:t})}}function a(e){var t=Object[e];t&&(Object[e]=function(e){return e instanceof n?e:(Object.isExtensible(e)&&o(e),t(e))})}if(function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}),n=Object.seal({}),i=new e([[t,2],[n,3]]);return 2==i.get(t)&&3==i.get(n)&&(i.delete(t),i.set(n,4),!i.has(t)&&4==i.get(n))}catch(e){return!1}}())return e;var s="$jscomp_hidden_"+Math.random();a("freeze"),a("preventExtensions"),a("seal");var c=0;return t.prototype.set=function(e,t){if(!i(e))throw Error("Invalid WeakMap key");if(o(e),!D(e,s))throw Error("WeakMap key fail: "+e);return e[s][this.g]=t,this},t.prototype.get=function(e){return i(e)&&D(e,s)?e[s][this.g]:void 0},t.prototype.has=function(e){return i(e)&&D(e,s)&&D(e[s],this.g)},t.prototype.delete=function(e){return!!(i(e)&&D(e,s)&&D(e[s],this.g))&&delete e[s][this.g]},t})),s("Map",(function(e){function t(){var e={};return e.jb=e.next=e.head=e}function n(e,t){var n=e.g;return c((function(){if(n){for(;n.head!=e.g;)n=n.jb;for(;n.next!=n.head;)return n=n.next,{done:!1,value:t(n)};n=null}return{done:!0,value:void 0}}))}function i(e,t){var n=t&&typeof t;"object"==n||"function"==n?r.has(t)?n=r.get(t):(n=""+ ++a,r.set(t,n)):n="p_"+t;var i=e.h[n];if(i&&D(e.h,n))for(e=0;e<i.length;e++){var o=i[e];if(t!=t&&o.key!=o.key||t===o.key)return{id:n,list:i,index:e,entry:o}}return{id:n,list:i,index:-1,entry:void 0}}function o(e){if(this.h={},this.g=t(),this.size=0,e){e=l(e);for(var n;!(n=e.next()).done;)n=n.value,this.set(n[0],n[1])}}if(function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),n=new e(l([[t,"s"]]));if("s"!=n.get(t)||1!=n.size||n.get({x:4})||n.set({x:4},"t")!=n||2!=n.size)return!1;var i=n.entries(),o=i.next();return!o.done&&o.value[0]==t&&"s"==o.value[1]&&!((o=i.next()).done||4!=o.value[0].x||"t"!=o.value[1]||!i.next().done)}catch(e){return!1}}())return e;var r=new WeakMap;o.prototype.set=function(e,t){var n=i(this,e=0===e?0:e);return n.list||(n.list=this.h[n.id]=[]),n.entry?n.entry.value=t:(n.entry={next:this.g,jb:this.g.jb,head:this.g,key:e,value:t},n.list.push(n.entry),this.g.jb.next=n.entry,this.g.jb=n.entry,this.size++),this},o.prototype.delete=function(e){return!(!(e=i(this,e)).entry||!e.list)&&(e.list.splice(e.index,1),e.list.length||delete this.h[e.id],e.entry.jb.next=e.entry.next,e.entry.next.jb=e.entry.jb,e.entry.head=null,this.size--,!0)},o.prototype.clear=function(){this.h={},this.g=this.g.jb=t(),this.size=0},o.prototype.has=function(e){return!!i(this,e).entry},o.prototype.get=function(e){return(e=i(this,e).entry)&&e.value},o.prototype.entries=function(){return n(this,(function(e){return[e.key,e.value]}))},o.prototype.keys=function(){return n(this,(function(e){return e.key}))},o.prototype.values=function(){return n(this,(function(e){return e.value}))},o.prototype.forEach=function(e,t){for(var n,i=this.entries();!(n=i.next()).done;)n=n.value,e.call(t,n[1],n[0],this)},o.prototype[Symbol.iterator]=o.prototype.entries;var a=0;return o})),s("Set",(function(e){function t(e){if(this.g=new Map,e){e=l(e);for(var t;!(t=e.next()).done;)this.add(t.value)}this.size=this.g.size}return function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),n=new e(l([t]));if(!n.has(t)||1!=n.size||n.add(t)!=n||1!=n.size||n.add({x:4})!=n||2!=n.size)return!1;var i=n.entries(),o=i.next();return!o.done&&o.value[0]==t&&o.value[1]==t&&(!(o=i.next()).done&&o.value[0]!=t&&4==o.value[0].x&&o.value[1]==o.value[0]&&i.next().done)}catch(e){return!1}}()?e:(t.prototype.add=function(e){return e=0===e?0:e,this.g.set(e,e),this.size=this.g.size,this},t.prototype.delete=function(e){return e=this.g.delete(e),this.size=this.g.size,e},t.prototype.clear=function(){this.g.clear(),this.size=0},t.prototype.has=function(e){return this.g.has(e)},t.prototype.entries=function(){return this.g.entries()},t.prototype.values=function(){return this.g.values()},t.prototype.keys=t.prototype.values,t.prototype[Symbol.iterator]=t.prototype.values,t.prototype.forEach=function(e,t){var n=this;this.g.forEach((function(i){return e.call(t,i,i,n)}))},t)})),s("Array.prototype.findIndex",(function(e){return e||function(e,t){return M(this,e,t).pf}})),s("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}})),s("Array.prototype.includes",(function(e){return e||function(e,t){var n=this;n instanceof String&&(n=String(n));var i=n.length;for(0>(t=t||0)&&(t=Math.max(t+i,0));t<i;t++){var o=n[t];if(o===e||Object.is(o,e))return!0}return!1}})),s("String.prototype.includes",(function(e){return e||function(e,t){return-1!==x(this,e,"includes").indexOf(e,t||0)}})),s("Array.prototype.find",(function(e){return e||function(e,t){return M(this,e,t).v}})),s("String.prototype.startsWith",(function(e){return e||function(e,t){var n=x(this,e,"startsWith"),i=n.length,o=e.length;t=Math.max(0,Math.min(0|t,n.length));for(var r=0;r<o&&t<i;)if(n[t++]!=e[r++])return!1;return r>=o}})),s("Array.prototype.keys",(function(e){return e||function(){return U(this,(function(e){return e}))}}));var V="function"==typeof Object.assign?Object.assign:function(e,t){for(var n=1;n<arguments.length;n++){var i=arguments[n];if(i)for(var o in i)D(i,o)&&(e[o]=i[o])}return e};s("Object.assign",(function(e){return e||V})),s("Array.from",(function(e){return e||function(e,t,n){t=null!=t?t:function(e){return e};var i=[],o="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];if("function"==typeof o){e=o.call(e);for(var r=0;!(o=e.next()).done;)i.push(t.call(n,o.value,r++))}else for(o=e.length,r=0;r<o;r++)i.push(t.call(n,e[r],r));return i}})),s("Array.prototype.values",(function(e){return e||function(){return U(this,(function(e,t){return t}))}})),s("Promise.prototype.finally",(function(e){return e||function(e){return this.then((function(t){return Promise.resolve(e()).then((function(){return t}))}),(function(t){return Promise.resolve(e()).then((function(){throw t}))}))}})),s("Array.prototype.entries",(function(e){return e||function(){return U(this,(function(e,t){return[e,t]}))}})),s("String.prototype.repeat",(function(e){return e||function(e){var t=x(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var n="";e;)1&e&&(n+=t),(e>>>=1)&&(t+=t);return n}})),s("Number.isNaN",(function(e){return e||function(e){return"number"==typeof e&&isNaN(e)}})),s("Number.isFinite",(function(e){return e||function(e){return"number"==typeof e&&(!isNaN(e)&&1/0!==e&&-1/0!==e)}})),s("Object.values",(function(e){return e||function(e){var t,n=[];for(t in e)D(e,t)&&n.push(e[t]);return n}})),s("Math.log2",(function(e){return e||function(e){return Math.log(e)/Math.LN2}})),s("Number.MAX_SAFE_INTEGER",(function(){return 9007199254740991})),s("Math.trunc",(function(e){return e||function(e){if(e=Number(e),isNaN(e)||1/0===e||-1/0===e||0===e)return e;var t=Math.floor(Math.abs(e));return 0>e?-t:t}})),s("Object.entries",(function(e){return e||function(e){var t,n=[];for(t in e)D(e,t)&&n.push([t,e[t]]);return n}}));var F=this||self;function B(e,t){e=e.split(".");var n,i=F;e[0]in i||void 0===i.execScript||i.execScript("var "+e[0]);for(;e.length&&(n=e.shift());)e.length||void 0===t?i=i[n]&&i[n]!==Object.prototype[n]?i[n]:i[n]={}:i[n]=t}function H(e){this.g=Math.exp(Math.log(.5)/e),this.i=this.h=0}function G(e){return e.h/(1-Math.pow(e.g,e.i))}function W(){this.h=new H(2),this.j=new H(5),this.g=0,this.i=128e3,this.l=16e3}function j(){}function Y(){}function z(){}function K(e){var t=w.apply(1,arguments);q.has(e)||(q.add(e),z.apply(j,u(t)))}function J(){}H.prototype.sample=function(e,t){var n=Math.pow(this.g,e);t=t*(1-n)+n*this.h,isNaN(t)||(this.h=t,this.i+=e)},W.prototype.configure=function(e){this.i=e.minTotalBytes,this.l=e.minBytes,this.h.g=Math.exp(Math.log(.5)/e.fastHalfLife),this.j.g=Math.exp(Math.log(.5)/e.slowHalfLife)},W.prototype.sample=function(e,t){if(!(t<this.l)){var n=8e3*t/e;e/=1e3,this.g+=t,this.h.sample(e,n),this.j.sample(e,n)}},W.prototype.getBandwidthEstimate=function(e){return this.g<this.i?e:Math.min(G(this.h),G(this.j))};var q=new Set;function X(e){if($.has(e))return $.get(e);var t=MediaSource.isTypeSupported(e);return $.set(e,t),t}e.console&&(z=function(){return console.warn.apply(console,u(w.apply(0,arguments)))},Y=function(){console.error.apply(console,u(w.apply(0,arguments)))});var $=new Map;function Z(){}function Q(){}function ee(){}function te(e,t){if(!e&&!t)return!0;if(!e||!t||e.byteLength!=t.byteLength)return!1;if(ne(e)==ne(t)&&(e.byteOffset||0)==(t.byteOffset||0))return!0;var n=oe(e);t=oe(t);for(var i=0;i<e.byteLength;i++)if(n[i]!=t[i])return!1;return!0}function ne(e){return e instanceof ArrayBuffer?e:e.buffer}function ie(e){return e instanceof ArrayBuffer?e:0==e.byteOffset&&e.byteLength==e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer}function oe(e,t,n){return ae(e,void 0===t?0:t,n=void 0===n?1/0:n,Uint8Array)}function re(e,t,n){return ae(e,void 0===t?0:t,n=void 0===n?1/0:n,DataView)}function ae(e,t,n,i){var o=(e.byteOffset||0)+e.byteLength;return t=Math.max(0,Math.min((e.byteOffset||0)+t,o)),new i(ne(e),t,Math.min(t+Math.max(n,0),o)-t)}function se(){}function ce(e){this.h=new Q,(e=le[e.toLowerCase()])&&(this.h=e()),this.g=new Z,(e=ue)&&(this.g=e())}Z.prototype.extract=function(){},Z.prototype.decode=function(){return[]},Z.prototype.clear=function(){},Q.prototype.init=function(){},Q.prototype.parse=function(){return[]},B("shaka.util.BufferUtils",ee),ee.toDataView=re,ee.toUint8=oe,ee.toArrayBuffer=ie,ee.equal=te,se.prototype.init=function(){},se.prototype.j=function(){},se.prototype.i=function(){},B("shaka.media.IClosedCaptionParser",se),ce.prototype.init=function(e){this.h.init(e)},ce.prototype.j=function(e){for(var t=(e=l(e=this.h.parse(e))).next();!t.done;t=e.next()){var n=oe((t=t.value).packet);0<n.length&&this.g.extract(n,t.pts)}return this.g.decode()},ce.prototype.i=function(){this.g.clear()},B("shaka.media.ClosedCaptionParser",ce),ce.findDecoder=function(){return ue},ce.unregisterDecoder=function(){ue=null},ce.registerDecoder=function(e){ue=e},ce.findParser=function(e){return le[e]},ce.unregisterParser=function(e){delete le[e]},ce.registerParser=function(e,t){le[e]=t};var le={},ue=null;function de(e,t){return!("number"!=typeof e||"number"!=typeof t||!isNaN(e)||!isNaN(t))||e===t}function pe(e,t){-1<(t=e.indexOf(t))&&e.splice(t,1)}function he(e,t,n){if(n||(n=de),e.length!=t.length)return!1;t=t.slice();for(var i={},o=(e=l(e)).next();!o.done;i={Sd:i.Sd},o=e.next()){if(i.Sd=o.value,-1==(o=t.findIndex(function(e){return function(t){return n(e.Sd,t)}}(i))))return!1;t[o]=t[t.length-1],t.pop()}return 0==t.length}function fe(e,t,n){if(n||(n=de),e.length!=t.length)return!1;for(var i=0;i<e.length;i++)if(!n(e[i],t[i]))return!1;return!0}function me(e,t,n){this.startTime=e,this.endTime=t,this.U=n,this.region=new ke,this.position=null,this.H=ge,this.size=0,this.textAlign=Ee,this.direction=Se,this.writingMode=Te,this.G=Ae,this.j=null,this.aa="",this.s=Ie,this.i=ye,this.A=this.V=this.N=this.backgroundColor=this.l="",this.u=Ne,this.o=Pe,this.Z=this.W=this.m="",this.C=1,this.h=[],this.ga=this.L=this.I="",this.M=!0,this.id="",this.g=[],this.F=this.Y=!1,this.X={cg:32,rows:15}}function _e(e,t){if(e.startTime!=t.startTime||e.endTime!=t.endTime||e.U!=t.U)return!1;for(var n in e)if("startTime"!=n&&"endTime"!=n&&"payload"!=n)if("nestedCues"==n){if(!fe(e.g,t.g,_e))return!1}else if("region"==n||"cellResolution"==n){for(var i in e[n])if(e[n][i]!=t[n][i])return!1}else if(Array.isArray(e[n])){if(!fe(e[n],t[n]))return!1}else if(e[n]!=t[n])return!1;return!0}me.prototype.clone=function(){var e,t=new me(0,0,"");for(e in this)t[e]=this[e],t[e]&&t[e].constructor==Array&&(t[e]=t[e].slice());return t},B("shaka.text.Cue",me),me.equal=_e,me.prototype.clone=me.prototype.clone;var ge="auto";me.positionAlign={LEFT:"line-left",RIGHT:"line-right",CENTER:"center",AUTO:ge};var Ee="center",ve={LEFT:"left",RIGHT:"right",CENTER:Ee,START:"start",END:"end"};me.textAlign=ve;var ye="after",be={BEFORE:"before",CENTER:"center",AFTER:ye};me.displayAlign=be;var Se="ltr";me.direction={HORIZONTAL_LEFT_TO_RIGHT:Se,HORIZONTAL_RIGHT_TO_LEFT:"rtl"};var Te="horizontal-tb";me.writingMode={HORIZONTAL_TOP_TO_BOTTOM:Te,VERTICAL_LEFT_TO_RIGHT:"vertical-lr",VERTICAL_RIGHT_TO_LEFT:"vertical-rl"};var Ae=0;me.lineInterpretation={LINE_NUMBER:Ae,PERCENTAGE:1};var Ie="start",Oe={CENTER:"center",START:Ie,END:"end"};me.lineAlign=Oe;var Ce={white:"white",lime:"lime",cyan:"cyan",red:"red",yellow:"yellow",magenta:"magenta",blue:"blue",black:"black"};me.defaultTextColor=Ce;var Re={bg_white:"white",bg_lime:"lime",bg_cyan:"cyan",bg_red:"red",bg_yellow:"yellow",bg_magenta:"magenta",bg_blue:"blue",bg_black:"black"};me.defaultTextBackgroundColor=Re;var Ne=400;me.fontWeight={NORMAL:Ne,BOLD:700};var Pe="normal",Le={NORMAL:Pe,ITALIC:"italic",OBLIQUE:"oblique"};function ke(){this.id="",this.o=this.m=this.h=this.g=0,this.height=this.width=100,this.j=this.l=this.i=we,this.s=De}me.fontStyle=Le,me.textDecoration={UNDERLINE:"underline",LINE_THROUGH:"lineThrough",OVERLINE:"overline"},B("shaka.text.CueRegion",ke);var we=1;ke.units={PX:0,PERCENTAGE:we,LINES:2};var De="";function Me(){}function xe(e,t,n){Ve[e.toLowerCase().split(";")[0]+"-"+n]={priority:n,Ld:t}}function Ue(e,t){for(var n=e.toLowerCase().split(";")[0],i=l([Ge,He,Be,Fe]),o=i.next();!o.done;o=i.next())if(o=Ve[n+"-"+o.value]){var r=o.Ld(),a=r.isSupported(e,t);if(r.destroy(),a)return o.Ld}return null}ke.scrollMode={NONE:De,UP:"up"},Me.prototype.destroy=function(){},B("shaka.transmuxer.TransmuxerEngine",Me),Me.findTransmuxer=Ue,Me.unregisterTransmuxer=function(e,t){delete Ve[e.toLowerCase().split(";")[0]+"-"+t]},Me.registerTransmuxer=xe,Me.prototype.destroy=Me.prototype.destroy;var Ve={},Fe=1,Be=2,He=3,Ge=4;Me.PluginPriority={FALLBACK:Fe,PREFERRED_SECONDARY:Be,PREFERRED:He,APPLICATION:Ge};var We=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function je(e){var t;e instanceof je?(Ye(this,e.Na),this.Mb=e.Mb,this.Sa=e.Sa,ze(this,e.cc),this.ua=e.ua,Ke(this,e.g.clone()),this.yb=e.yb):e&&(t=String(e).match(We))?(Ye(this,t[1]||"",!0),this.Mb=Je(t[2]||""),this.Sa=Je(t[3]||"",!0),ze(this,t[4]),this.ua=Je(t[5]||"",!0),Ke(this,t[6]||"",!0),this.yb=Je(t[7]||"")):this.g=new nt(null)}function Ye(e,t,n){e.Na=n?Je(t,!0):t,e.Na&&(e.Na=e.Na.replace(/:$/,""))}function ze(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.cc=t}else e.cc=null}function Ke(e,t,n){t instanceof nt?e.g=t:(n||(t=qe(t,et)),e.g=new nt(t))}function Je(e,t){return e?t?decodeURI(e):decodeURIComponent(e):""}function qe(e,t,n){return null!=e?(e=encodeURI(e).replace(t,Xe),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Xe(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}(i=je.prototype).Na="",i.Mb="",i.Sa="",i.cc=null,i.ua="",i.yb="",i.toString=function(){var e=[],t=this.Na;if(t&&e.push(qe(t,$e,!0),":"),t=this.Sa){e.push("//");var n=this.Mb;n&&e.push(qe(n,$e,!0),"@"),e.push(encodeURIComponent(t).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(t=this.cc)&&e.push(":",String(t))}return(t=this.ua)&&(this.Sa&&"/"!=t.charAt(0)&&e.push("/"),e.push(qe(t,"/"==t.charAt(0)?Qe:Ze,!0))),(t=this.g.toString())&&e.push("?",t),(t=this.yb)&&e.push("#",qe(t,tt)),e.join("")},i.resolve=function(e){var t=this.clone();"data"===t.Na&&(t=new je);var n=!!e.Na;n?Ye(t,e.Na):n=!!e.Mb,n?t.Mb=e.Mb:n=!!e.Sa,n?t.Sa=e.Sa:n=null!=e.cc;var i=e.ua;if(n)ze(t,e.cc);else if(n=!!e.ua){if("/"!=i.charAt(0))if(this.Sa&&!this.ua)i="/"+i;else{var o=t.ua.lastIndexOf("/");-1!=o&&(i=t.ua.substr(0,o+1)+i)}if(".."==i||"."==i)i="";else if(-1!=i.indexOf("./")||-1!=i.indexOf("/.")){o=0==i.lastIndexOf("/",0),i=i.split("/");for(var r=[],a=0;a<i.length;){var s=i[a++];"."==s?o&&a==i.length&&r.push(""):".."==s?((1<r.length||1==r.length&&""!=r[0])&&r.pop(),o&&a==i.length&&r.push("")):(r.push(s),o=!0)}i=r.join("/")}}return n?t.ua=i:n=""!==e.g.toString(),n?Ke(t,e.g.clone()):n=!!e.yb,n&&(t.yb=e.yb),t},i.clone=function(){return new je(this)};var $e=/[#\/\?@]/g,Ze=/[#\?:]/g,Qe=/[#\?]/g,et=/[#\?@]/g,tt=/#/g;function nt(e){this.g=e||null}function it(e){if(!e.qa&&(e.qa={},e.Dc=0,e.g))for(var t=e.g.split("&"),n=0;n<t.length;n++){var i=t[n].indexOf("="),o=null;if(0<=i){var r=t[n].substring(0,i);o=t[n].substring(i+1)}else r=t[n];r=decodeURIComponent(r.replace(/\+/g," ")),o=o||"",e.add(r,decodeURIComponent(o.replace(/\+/g," ")))}}function ot(e,t,n){var i=w.apply(3,arguments);if(this.severity=e,this.category=t,this.code=n,this.data=i,this.handled=!1,this.message="Shaka Error "+this.code,rt)try{throw Error(this.message||"Shaka Error")}catch(e){this.stack=e.stack}}(i=nt.prototype).qa=null,i.Dc=null,i.add=function(e,t){it(this),this.g=null;var n=this.qa.hasOwnProperty(e)?this.qa[e]:null;return n||(this.qa[e]=n=[]),n.push(t),this.Dc++,this},i.set=function(e,t){return it(this),this.g=null,this.qa.hasOwnProperty(e)?this.qa[e]=[t]:this.add(e,t),this},i.toString=function(){if(this.g)return this.g;if(!this.qa)return"";var e,t=[];for(e in this.qa)for(var n=encodeURIComponent(e),i=this.qa[e],o=0;o<i.length;o++){var r=n;""!==i[o]&&(r+="="+encodeURIComponent(i[o])),t.push(r)}return this.g=t.join("&")},i.clone=function(){var e=new nt;if(e.g=this.g,this.qa){var t,n={};for(t in this.qa)n[t]=this.qa[t].concat();e.qa=n,e.Dc=this.Dc}return e},ot.prototype.toString=function(){return"shaka.util.Error "+JSON.stringify(this,null," ")},B("shaka.util.Error",ot);var rt=!0;function at(e,t){return e.concat(t)}function st(){}function ct(e){return null!=e}function lt(e,t){if(0==t.length)return e;var n=t.map((function(e){return new je(e)}));return e.map((function(e){return new je(e)})).map((function(e){return n.map((function(t){return e.resolve(t)}))})).reduce(at,[]).map((function(e){return e.toString()}))}function ut(e,t){return{keySystem:e,licenseServerUri:"",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",sessionType:"",initData:t||[],keyIds:new Set}}function dt(e,t){if(1==t.length)return t[0];if(null!=(e=pt(e,t)))return e;throw new ot(2,4,4025,t)}function pt(e,t){for(var n=l(mt[e]),i=n.next();!i.done;i=n.next()){i=i.value;for(var o=l(t),r=o.next();!r.done;r=o.next())if(r=r.value,i.test(r.trim()))return r.trim()}return e==ht?"":null}ot.Severity={RECOVERABLE:1,CRITICAL:2},ot.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9,ADS:10},ot.Code={UNSUPPORTED_SCHEME:1e3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,MALFORMED_TEST_URI:1008,UNEXPECTED_TEST_REQUEST:1009,ATTEMPTS_EXHAUSTED:1010,SEGMENT_MISSING:1011,INVALID_TEXT_HEADER:2e3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_EXTRACT_CUE_START_TIME:2009,INVALID_MP4_CEA:2010,TEXT_COULD_NOT_GUESS_MIME_TYPE:2011,CANNOT_ADD_EXTERNAL_TEXT_TO_SRC_EQUALS:2012,TEXT_ONLY_WEBVTT_SRC_EQUALS:2013,MISSING_TEXT_PLUGIN:2014,CHAPTERS_TRACK_FAILED:2015,CANNOT_ADD_EXTERNAL_THUMBNAILS_TO_SRC_EQUALS:2016,UNSUPPORTED_EXTERNAL_THUMBNAILS_URI:2017,BUFFER_READ_OUT_OF_BOUNDS:3e3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,TRANSMUXING_FAILED:3018,CONTENT_TRANSFORMATION_FAILED:3019,MSS_MISSING_DATA_FOR_TRANSMUXING:3020,MSS_TRANSMUXING_CODEC_UNKNOWN:3021,MSS_TRANSMUXING_FAILED:3022,UNABLE_TO_GUESS_MANIFEST_TYPE:4e3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,RESTRICTIONS_CANNOT_BE_MET:4012,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_LIMIT:4028,CONTENT_UNSUPPORTED_BY_BROWSER:4032,CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM:4033,NO_VARIANTS:4036,PERIOD_FLATTENING_FAILED:4037,INCONSISTENT_DRM_ACROSS_PERIODS:4038,HLS_VARIABLE_NOT_FOUND:4039,HLS_MSE_ENCRYPTED_MP2T_NOT_SUPPORTED:4040,HLS_MSE_ENCRYPTED_LEGACY_APPLE_MEDIA_KEYS_NOT_SUPPORTED:4041,NO_WEB_CRYPTO_API:4042,HLS_AES_128_INVALID_IV_LENGTH:4043,HLS_AES_128_INVALID_KEY_LENGTH:4044,CANNOT_ADD_EXTERNAL_THUMBNAILS_TO_LIVE_STREAM:4045,MSS_INVALID_XML:4046,MSS_LIVE_CONTENT_NOT_SUPPORTED:4047,STREAMING_ENGINE_STARTUP_INVALID_STATE:5006,NO_RECOGNIZED_KEY_SYSTEMS:6e3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,SERVER_CERTIFICATE_REQUIRED:6015,INIT_DATA_TRANSFORM_ERROR:6016,SERVER_CERTIFICATE_REQUEST_FAILED:6017,MIN_HDCP_VERSION_NOT_MATCH:6018,ERROR_CHECKING_HDCP_VERSION:6019,LOAD_INTERRUPTED:7e3,OPERATION_ABORTED:7001,NO_VIDEO_ELEMENT:7002,OBJECT_DESTROYED:7003,CONTENT_NOT_LOADED:7004,CAST_API_UNAVAILABLE:8e3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9e3,INDEXED_DB_ERROR:9001,DEPRECATED_OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,NEW_KEY_OPERATION_NOT_SUPPORTED:9011,KEY_NOT_FOUND:9012,MISSING_STORAGE_CELL:9013,STORAGE_LIMIT_REACHED:9014,DOWNLOAD_SIZE_CALLBACK_ERROR:9015,MODIFY_OPERATION_NOT_SUPPORTED:9016,INDEXED_DB_INIT_TIMED_OUT:9017,CS_IMA_SDK_MISSING:1e4,CS_AD_MANAGER_NOT_INITIALIZED:10001,SS_IMA_SDK_MISSING:10002,SS_AD_MANAGER_NOT_INITIALIZED:10003,CURRENT_DAI_REQUEST_NOT_FINISHED:10004};var ht="text",ft={wa:"video",qb:"audio",da:ht,wc:"image",sh:"application"},mt={audio:[/^vorbis$/,/^Opus$/,/^opus$/,/^fLaC$/,/^flac$/,/^mp4a/,/^[ae]c-3$/,/^ac-4$/,/^dts[cex]$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av01/,/^dvh/],text:[/^vtt$/,/^wvtt/,/^stpp/]};function _t(){}function gt(e,t){var n=e;return t&&!Tt.includes(e)&&(n+='; codecs="'+t+'"'),n}function Et(e,t){return t&&(e+='; codecs="'+t+'"'),e}function vt(e,t,n){var i=gt(e,t);return Ue(t=Et(e,t))?(e=Ue(t))?(n=(e=e()).convertCodecs(n,t),e.destroy()):n=t:n="video/mp2t"!=e&&"audio"==n?i.replace("video","audio"):i,n}function yt(e){var t=St(e);switch(e=t[0],t=t[1].toLowerCase(),!0){case"mp4a"===e&&"69"===t:case"mp4a"===e&&"6b"===t:case"mp4a"===e&&"40.34"===t:return"mp3";case"mp4a"===e&&"66"===t:case"mp4a"===e&&"67"===t:case"mp4a"===e&&"68"===t:case"mp4a"===e&&"40.2"===t:case"mp4a"===e&&"40.02"===t:case"mp4a"===e&&"40.5"===t:case"mp4a"===e&&"40.05"===t:case"mp4a"===e&&"40.29"===t:case"mp4a"===e&&"40.42"===t:return"aac";case"mp4a"===e&&"a5"===t:return"ac-3";case"mp4a"===e&&"a6"===t:return"ec-3";case"mp4a"===e&&"b2"===t:return"dtsx";case"mp4a"===e&&"a9"===t:return"dtsc";case"avc1"===e:case"avc3"===e:return"avc";case"hvc1"===e:case"hev1"===e:return"hevc";case"dvh1"===e:case"dvhe"===e:return"dovi"}return e}function bt(e){return(e=e.split(/ *; */)).shift(),(e=e.find((function(e){return e.startsWith("codecs=")})))?e.split("=")[1].replace(/^"|"$/g,""):""}function St(e){var t=(e=e.split("."))[0];return e.shift(),[t,e.join(".")]}B("shaka.util.MimeUtils",_t),_t.getFullTypeWithAllCodecs=Et,_t.getFullType=gt,(new Map).set("codecs","codecs").set("frameRate","framerate").set("bandwidth","bitrate").set("width","width").set("height","height").set("channelsCount","channels");var Tt=["audio/aac","audio/ac3","audio/ec3","audio/mpeg"];function At(e){this.i=null,this.j=e,this.u=!1,this.l=this.s=0,this.m=1/0,this.h=this.g=null,this.A="",this.o=new Map}function It(e){return!!Rt[e]||("application/cea-608"==e||"application/cea-708"==e)&&!!ue}function Ot(e,t,n){if(e.A=t,t=e.o.get(t))for(var i=l(t.keys()),o=i.next();!o.done;o=i.next())(o=t.get(o.value).filter((function(e){return e.endTime<=n})))&&e.j.append(o)}function Ct(e,t,n){t.startTime+=n,t.endTime+=n;for(var i=(t=l(t.g)).next();!i.done;i=t.next())Ct(e,i.value,n)}At.prototype.destroy=function(){return this.j=this.i=null,this.o.clear(),Promise.resolve()},At.prototype.remove=function(e,t){var n=this;return k((function(i){if(1==i.g)return y(i,Promise.resolve(),2);!n.j||!n.j.remove(e,t)||null==n.g||t<=n.g||e>=n.h||(e<=n.g&&t>=n.h?n.g=n.h=null:e<=n.g&&t<n.h?n.g=t:e>n.g&&t>=n.h&&(n.h=e)),b(i)}))},B("shaka.text.TextEngine",At),At.prototype.destroy=At.prototype.destroy,At.findParser=function(e){return Rt[e]},At.unregisterParser=function(e){delete Rt[e]},At.registerParser=function(e,t){Rt[e]=t};var Rt={};function Nt(){}function Pt(e,t){return e=wt(e),t=wt(t),e.split("-")[0]==t.split("-")[0]}function Lt(e,t){return e=wt(e),t=wt(t),e=e.split("-"),t=t.split("-"),e[0]==t[0]&&1==e.length&&2==t.length}function kt(e,t){return e=wt(e),t=wt(t),e=e.split("-"),t=t.split("-"),2==e.length&&2==t.length&&e[0]==t[0]}function wt(e){var t=e.split("-x-"),n=t[0].split("-");return e=n[0]||"",n=n[1]||"",t=t[1]?"x-"+t[1]:"",e=e.toLowerCase(),e=Vt.get(e)||e,((n=n.toUpperCase())?e+"-"+n:e)+(t?"-"+t:"")}function Dt(e,t){return e=wt(e),(t=wt(t))==e?4:Lt(t,e)?3:kt(t,e)?2:Lt(e,t)?1:0}function Mt(e){var t=e.indexOf("-");return e=(e=0<=t?e.substring(0,t):e).toLowerCase(),Vt.get(e)||e}function xt(e){return e.language?wt(e.language):e.audio&&e.audio.language?wt(e.audio.language):e.video&&e.video.language?wt(e.video.language):"und"}function Ut(e,t){e=wt(e);var n=new Set,i=l(t);for(t=i.next();!t.done;t=i.next())n.add(wt(t.value));for(t=(i=l(n)).next();!t.done;t=i.next())if((t=t.value)==e)return t;for(t=(i=l(n)).next();!t.done;t=i.next())if(Lt(t=t.value,e))return t;for(t=(i=l(n)).next();!t.done;t=i.next())if(kt(t=t.value,e))return t;for(t=(n=l(n)).next();!t.done;t=n.next())if(Lt(e,t=t.value))return t;return null}B("shaka.util.LanguageUtils",Nt),Nt.findClosestLocale=Ut,Nt.getLocaleForVariant=xt,Nt.getLocaleForText=function(e){return wt(e.language||"und")},Nt.getBase=Mt,Nt.relatedness=Dt,Nt.areSiblings=function(e,t){var n=Mt(e),i=Mt(t);return e!=n&&t!=i&&n==i},Nt.normalize=wt,Nt.isSiblingOf=kt,Nt.isParentOf=Lt,Nt.areLanguageCompatible=Pt,Nt.areLocaleCompatible=function(e,t){return(e=wt(e))==(t=wt(t))};var Vt=new Map([["aar","aa"],["abk","ab"],["afr","af"],["aka","ak"],["alb","sq"],["amh","am"],["ara","ar"],["arg","an"],["arm","hy"],["asm","as"],["ava","av"],["ave","ae"],["aym","ay"],["aze","az"],["bak","ba"],["bam","bm"],["baq","eu"],["bel","be"],["ben","bn"],["bih","bh"],["bis","bi"],["bod","bo"],["bos","bs"],["bre","br"],["bul","bg"],["bur","my"],["cat","ca"],["ces","cs"],["cha","ch"],["che","ce"],["chi","zh"],["chu","cu"],["chv","cv"],["cor","kw"],["cos","co"],["cre","cr"],["cym","cy"],["cze","cs"],["dan","da"],["deu","de"],["div","dv"],["dut","nl"],["dzo","dz"],["ell","el"],["eng","en"],["epo","eo"],["est","et"],["eus","eu"],["ewe","ee"],["fao","fo"],["fas","fa"],["fij","fj"],["fin","fi"],["fra","fr"],["fre","fr"],["fry","fy"],["ful","ff"],["geo","ka"],["ger","de"],["gla","gd"],["gle","ga"],["glg","gl"],["glv","gv"],["gre","el"],["grn","gn"],["guj","gu"],["hat","ht"],["hau","ha"],["heb","he"],["her","hz"],["hin","hi"],["hmo","ho"],["hrv","hr"],["hun","hu"],["hye","hy"],["ibo","ig"],["ice","is"],["ido","io"],["iii","ii"],["iku","iu"],["ile","ie"],["ina","ia"],["ind","id"],["ipk","ik"],["isl","is"],["ita","it"],["jav","jv"],["jpn","ja"],["kal","kl"],["kan","kn"],["kas","ks"],["kat","ka"],["kau","kr"],["kaz","kk"],["khm","km"],["kik","ki"],["kin","rw"],["kir","ky"],["kom","kv"],["kon","kg"],["kor","ko"],["kua","kj"],["kur","ku"],["lao","lo"],["lat","la"],["lav","lv"],["lim","li"],["lin","ln"],["lit","lt"],["ltz","lb"],["lub","lu"],["lug","lg"],["mac","mk"],["mah","mh"],["mal","ml"],["mao","mi"],["mar","mr"],["may","ms"],["mkd","mk"],["mlg","mg"],["mlt","mt"],["mon","mn"],["mri","mi"],["msa","ms"],["mya","my"],["nau","na"],["nav","nv"],["nbl","nr"],["nde","nd"],["ndo","ng"],["nep","ne"],["nld","nl"],["nno","nn"],["nob","nb"],["nor","no"],["nya","ny"],["oci","oc"],["oji","oj"],["ori","or"],["orm","om"],["oss","os"],["pan","pa"],["per","fa"],["pli","pi"],["pol","pl"],["por","pt"],["pus","ps"],["que","qu"],["roh","rm"],["ron","ro"],["rum","ro"],["run","rn"],["rus","ru"],["sag","sg"],["san","sa"],["sin","si"],["slk","sk"],["slo","sk"],["slv","sl"],["sme","se"],["smo","sm"],["sna","sn"],["snd","sd"],["som","so"],["sot","st"],["spa","es"],["sqi","sq"],["srd","sc"],["srp","sr"],["ssw","ss"],["sun","su"],["swa","sw"],["swe","sv"],["tah","ty"],["tam","ta"],["tat","tt"],["tel","te"],["tgk","tg"],["tgl","tl"],["tha","th"],["tib","bo"],["tir","ti"],["ton","to"],["tsn","tn"],["tso","ts"],["tuk","tk"],["tur","tr"],["twi","tw"],["uig","ug"],["ukr","uk"],["urd","ur"],["uzb","uz"],["ven","ve"],["vie","vi"],["vol","vo"],["wel","cy"],["wln","wa"],["wol","wo"],["xho","xh"],["yid","yi"],["yor","yo"],["zha","za"],["zho","zh"],["zul","zu"]]);function Ft(){this.g={}}function Bt(e){this.h=e,this.g=null}function Ht(e){this.h=e,this.g=null}function Gt(){return!(!e.MediaSource||!MediaSource.isTypeSupported)}function Wt(e){return""!=Zt().canPlayType(e)}function jt(){return!!navigator.userAgent.match(/Edge?\//)}function Yt(){return $t("Xbox One")}function zt(){return $t("Tizen")}function Kt(){return $t("Web0S")&&$t("Chrome/38.0.2125.122 Safari/537.36")}function Jt(){return!!navigator.vendor&&navigator.vendor.includes("Apple")&&!zt()&&!$t("PC=EOS")&&!$t("VirginMedia")&&!$t("SOPOpenBrowser")&&!qt()&&!$t("AFT")}function qt(){return $t("PlayStation 4")}function Xt(){if(!Jt())return null;var e=navigator.userAgent.match(/Version\/(\d+)/);return e||(e=navigator.userAgent.match(/OS (\d+)(?:_\d+)?/))?parseInt(e[1],10):null}function $t(e){return(navigator.userAgent||"").includes(e)}function Zt(){return en||(Qt||(Qt=new Ht((function(){en=null}))),(en=document.getElementsByTagName("video")[0]||document.getElementsByTagName("audio")[0])||(en=document.createElement("video")),Qt.S(1),en)}(i=Ft.prototype).push=function(e,t){this.g.hasOwnProperty(e)?this.g[e].push(t):this.g[e]=[t]},i.get=function(e){return(e=this.g[e])?e.slice():null},i.remove=function(e,t){e in this.g&&(this.g[e]=this.g[e].filter((function(e){return e!=t})),0==this.g[e].length&&delete this.g[e])},i.forEach=function(e){for(var t in this.g)e(t,this.g[t])},i.size=function(){return Object.keys(this.g).length},i.keys=function(){return Object.keys(this.g)},Bt.prototype.S=function(t){var n=this;this.stop();var i=!0,o=null;return this.g=function(){e.clearTimeout(o),i=!1},o=e.setTimeout((function(){i&&n.h()}),1e3*t),this},Bt.prototype.stop=function(){this.g&&(this.g(),this.g=null)},Ht.prototype.ic=function(){return this.stop(),this.h(),this},Ht.prototype.S=function(e){var t=this;return this.stop(),this.g=new Bt((function(){t.h()})).S(e),this},Ht.prototype.Da=function(e){var t=this;return this.stop(),this.g=new Bt((function(){t.g.S(e),t.h()})).S(e),this},Ht.prototype.stop=function(){this.g&&(this.g.stop(),this.g=null)},B("shaka.util.Timer",Ht),Ht.prototype.stop=Ht.prototype.stop,Ht.prototype.tickEvery=Ht.prototype.Da,Ht.prototype.tickAfter=Ht.prototype.S,Ht.prototype.tickNow=Ht.prototype.ic;var Qt=null,en=null;function tn(){}function nn(e,t,n,i,o){var r=e.variants;(t.length||n.length)&&(r=function(e,t,n){for(var i={},o=(t=l(t)).next();!o.done;i={Xd:i.Xd},o=t.next())if(i.Xd=o.value,o=e.filter(function(e){return function(t){return t.video&&t.video.codecs.startsWith(e.Xd)}}(i)),o.length){e=o;break}for(i={},n=l(n),t=n.next();!t.done;i={Rd:i.Rd},t=n.next())if(i.Rd=t.value,t=e.filter(function(e){return function(t){return t.audio&&t.audio.codecs.startsWith(e.Rd)}}(i)),t.length){e=t;break}return e}(r,t,n)),t=function(e){for(var t=new Ft,n=(e=l(e)).next();!n.done;n=e.next()){var i=rn(n=n.value);t.push(i,n)}return t}(r=On(r,i)),t=function(e){var t=0,n=new Map,i=e.size();return e.forEach((function(e,o){for(var r=(o=l(o)).next();!r.done;r=o.next()){var a=(r=r.value).video;if(a&&a.width&&a.height){a=a.width*a.height*(a.frameRate||1),n.has(a)||n.set(a,new Ft);var s=n.get(a);s.push(e,r),s.size()===i&&(t=Math.max(t,a))}}})),t?n.get(t):e}(t);var a=function(e,t){for(var n=(t=l(t)).next();!n.done;n=t.next())if((n=n.value)==wn||n==Dn){if(1==(e=on(e,n)).size())return e.keys()[0]}else if(n==Mn)break;return function(e){var t="",n=1/0;return e.forEach((function(e,i){for(var o=0,r=0,a=(i=l(i)).next();!a.done;a=i.next())o+=a.value.bandwidth||0,++r;(o/=r)<n&&(t=e,n=o)})),t}(e)}(t,o);e.variants=e.variants.filter((function(e){return rn(e)==a}))}function on(e,t){var n=0,i=new Ft;return e.forEach((function(e,o){for(var r=0,a=0,s=l(o),c=s.next();!c.done;c=s.next())(c=c.value).decodingInfos.length&&(r+=c.decodingInfos[0][t]?1:0,a++);(r/=a)>n?(i.g={},i.push(e,o),n=r):r==n&&i.push(e,o)})),i}function rn(e){var t="";e.video&&(t=yt(e.video.codecs));var n="";return e.audio&&(n=yt(e.audio.codecs)),t+"-"+n}function an(e,t,n){function i(e,t,n){return e>=t&&e<=n}var o=e.video;return!(o&&o.width&&o.height&&(!i(o.width,t.minWidth,Math.min(t.maxWidth,n.width))||!i(o.height,t.minHeight,Math.min(t.maxHeight,n.height))||!i(o.width*o.height,t.minPixels,t.maxPixels))||e&&e.video&&e.video.frameRate&&!i(e.video.frameRate,t.minFrameRate,t.maxFrameRate)||!i(e.bandwidth,t.minBandwidth,t.maxBandwidth))}function sn(e,t){return k((function(n){return 1==n.g?y(n,cn(t,0<t.offlineSessionIds.length),2):(mn(e,t),function(e){e.textStreams=e.textStreams.filter((function(e){return It(e=gt(e.mimeType,e.codecs))}))}(t),y(n,function(e){var t,n,i,o,r,a,s;return k((function(c){switch(c.g){case 1:t=[],n=l(e.imageStreams),i=n.next();case 2:if(i.done){c.B(4);break}if(o=i.value,r=o.mimeType,xn.has(r)){c.B(5);break}if(!(a=Un.get(r))){xn.set(r,!1),c.B(5);break}return y(c,function(e){return new Promise((function(t){var n=new Image;n.src=e,"decode"in n?n.decode().then((function(){t(!0)})).catch((function(){t(!1)})):n.onload=n.onerror=function(){t(2===n.height)}}))}(a),7);case 7:s=c.h,xn.set(r,s);case 5:xn.get(r)&&t.push(o),i=n.next(),c.B(2);break;case 4:e.imageStreams=t,b(c)}}))}(t),0))}))}function cn(e,t){return k((function(n){if(1==n.g)return y(n,dn(e.variants,t,!1,[]),2);e.variants=e.variants.filter((function(e){var t=e.video;if(t){var n=fn(t.codecs);if(t.codecs.includes(",")){var i=t.codecs.split(",");n=fn(n=dt("video",i)),i=hn(i=dt("audio",i));var o=vt(t.mimeType,i,"audio");if(!X(o))return!1;n=[n,i].join()}if(!X(i=vt(t.mimeType,n,"video")))return!1;t.codecs=n}if(n=e.audio){if(i=hn(n.codecs),!X(o=vt(n.mimeType,i,"audio")))return!1;n.codecs=i}return Yt()&&t&&(t.width&&1920<t.width||t.height&&1080<t.height)&&(t.codecs.includes("avc1.")||t.codecs.includes("avc3."))?(Nn(e),!1):((t=e.decodingInfos.some((function(e){return e.supported})))||Nn(e),t)})),b(n)}))}function ln(e){var t=[];for(n in e)t.push(n);t.sort();for(var n=[],i=(t=l(t)).next();!i.done;i=t.next()){var o=i.value;i=JSON.stringify(o),(o=e[o])instanceof Object?(o=ln(o),n.push(i+":"+o)):(o=JSON.stringify(o),n.push(i+":"+o))}return"{"+n.join(",")+"}"}function un(e,t){var n,i,o;return k((function(r){switch(r.g){case 1:if(n=ln(t),S(r,2),(i=Ln)[n]){e.decodingInfos.push(i[n]),r.B(4);break}return y(r,navigator.mediaCapabilities.decodingInfo(t),5);case 5:o=r.h,i[n]=o,e.decodingInfos.push(o);case 4:A(r,0);break;case 2:I(r),JSON.stringify(t),b(r)}}))}function dn(e,t,n,i){var o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,b;return k((function(S){switch(S.g){case 1:if(e.some((function(e){return e.decodingInfos.length})))return S.return();o={},r=l(i),a=r.next();case 2:if(a.done){S.B(4);break}o.Td=a.value,s=!1,c=l(e),u=c.next();case 5:if(u.done){S.B(7);break}d=u.value,p=pn(d,t,n).filter((T=o,function(e){return(e.keySystemConfiguration&&e.keySystemConfiguration.keySystem)===T.Td})),h=l(p),f=h.next();case 8:if(f.done){S.B(10);break}return m=f.value,y(S,un(d,m),9);case 9:f=h.next(),S.B(8);break;case 10:d.decodingInfos.length&&(s=!0),u=c.next(),S.B(5);break;case 7:if(s)return S.return();o={Td:o.Td},a=r.next(),S.B(2);break;case 4:_=l(e),u=_.next();case 12:if(u.done){S.B(0);break}g=u.value,E=pn(g,t,n).filter((function(e){return!(e=e.keySystemConfiguration&&e.keySystemConfiguration.keySystem)||!i.includes(e)})),v=l(E),f=v.next();case 15:if(f.done){u=_.next(),S.B(12);break}return b=f.value,y(S,un(g,b),16);case 16:f=v.next(),S.B(15)}var T}))}function pn(e,t,n){var i=e.audio,o=e.video;if(n={type:n?"file":"media-source"},o){var r=o.codecs;if(o.codecs.includes(",")){var a=o.codecs.split(",");r=fn(r=dt("video",a)),a=hn(a=dt("audio",a)),a=vt(o.mimeType,a,"audio"),n.audio={contentType:a,channels:2,bitrate:e.bandwidth||1,samplerate:1,spatialRendering:!1}}if(r=fn(r),r=vt(o.mimeType,r,"video"),n.video={contentType:r,width:o.width||64,height:o.height||64,bitrate:o.bandwidth||e.bandwidth||1,framerate:o.frameRate||1},o.hdr)switch(o.hdr){case"SDR":n.video.transferFunction="srgb";break;case"PQ":n.video.transferFunction="pq";break;case"HLG":n.video.transferFunction="hlg"}}if(i&&(r=hn(i.codecs),r=vt(i.mimeType,r,"audio"),n.audio={contentType:r,channels:i.channelsCount||2,bitrate:i.bandwidth||e.bandwidth||1,samplerate:i.audioSamplingRate||1,spatialRendering:i.spatialAudio}),!(a=(e.video?e.video.drmInfos:[]).concat(e.audio?e.audio.drmInfos:[])).length)return[n];e=[],r=new Map;for(var s=(a=l(a)).next();!s.done;s=a.next()){var c=s.value;r.get(c.keySystem)||r.set(c.keySystem,[]),r.get(c.keySystem).push(c)}a=t?"required":"optional",t=t?["persistent-license"]:["temporary"];for(var u=(c=l(r.keys())).next();!u.done;u=c.next()){var d=u.value;u=Object.assign({},n);var p=r.get(d);for(d={keySystem:d,initDataType:"cenc",persistentState:a,distinctiveIdentifier:"optional",sessionTypes:t},s=(p=l(p)).next();!s.done;s=p.next()){if((s=s.value).initData&&s.initData.length){for(var h=new Set,f=l(s.initData),m=f.next();!m.done;m=f.next())h.add(m.value.initDataType);d.initDataType=s.initData[0].initDataType}s.distinctiveIdentifierRequired&&(d.distinctiveIdentifier="required"),s.persistentStateRequired&&(d.persistentState="required"),s.sessionType&&(d.sessionTypes=[s.sessionType]),i&&(""!=s.audioRobustness?d.audio?d.audio.robustness=d.audio.robustness||s.audioRobustness:d.audio={robustness:s.audioRobustness}:d.audio||(d.audio={})),o&&(""!=s.videoRobustness?d.video?d.video.robustness=d.video.robustness||s.videoRobustness:d.video={robustness:s.videoRobustness}:d.video||(d.video={}))}u.keySystemConfiguration=d,e.push(u)}return e}function hn(e){return"fLaC"===e?"flac":"Opus"===e?"opus":zt()&&"ac-3"==e.toLowerCase()?"ec-3":e}function fn(e){if(e.includes("avc1")){var t=e.split(".");if(3==t.length)return e=t.shift()+".",(e+=parseInt(t.shift(),10).toString(16))+("000"+parseInt(t.shift(),10).toString(16)).slice(-4)}else if("vp9"==e)return"vp09.00.41.08";return e}function mn(e,t){t.variants=t.variants.filter((function(t){var n=t.audio;return t=t.video,!(n&&e&&e.audio&&!_n(n,e.audio)||t&&e&&e.video&&!_n(t,e.video))}))}function _n(e,t){return e.mimeType==t.mimeType&&e.codecs.split(".")[0]==t.codecs.split(".")[0]}function gn(e){var t=e.audio,n=e.video,i=t?t.mimeType:null,o=n?n.mimeType:null,r=t?t.codecs:null,a=n?n.codecs:null,s=[];a&&s.push(a),r&&s.push(r);var c=[];n&&c.push(n.mimeType),t&&c.push(t.mimeType),c=c[0]||null;var u=[];t&&u.push(t.kind),n&&u.push(n.kind),u=u[0]||null;var d=new Set;if(t)for(var p=l(t.roles),h=p.next();!h.done;h=p.next())d.add(h.value);if(n)for(h=(p=l(n.roles)).next();!h.done;h=p.next())d.add(h.value);return e={id:e.id,active:!1,type:"variant",bandwidth:e.bandwidth,language:e.language,label:null,kind:u,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:c,audioMimeType:i,videoMimeType:o,codecs:s.join(", "),audioCodec:r,videoCodec:a,primary:e.primary,roles:Array.from(d),audioRoles:null,forced:!1,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:null,accessibilityPurpose:null,originalLanguage:null},n&&(e.videoId=n.id,e.originalVideoId=n.originalId,e.width=n.width||null,e.height=n.height||null,e.frameRate=n.frameRate||null,e.pixelAspectRatio=n.pixelAspectRatio||null,e.videoBandwidth=n.bandwidth||null,e.hdr=n.hdr||null),t&&(e.audioId=t.id,e.originalAudioId=t.originalId,e.channelsCount=t.channelsCount,e.audioSamplingRate=t.audioSamplingRate,e.audioBandwidth=t.bandwidth||null,e.spatialAudio=t.spatialAudio,e.label=t.label,e.audioRoles=t.roles,e.accessibilityPurpose=t.accessibilityPurpose,e.originalLanguage=t.originalLanguage),e}function En(e){return{id:e.id,active:!1,type:ht,bandwidth:0,language:e.language,label:e.label,kind:e.kind||null,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:e.mimeType,audioMimeType:null,videoMimeType:null,codecs:e.codecs||null,audioCodec:null,videoCodec:null,primary:e.primary,roles:e.roles,audioRoles:null,forced:e.forced,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:e.originalId,originalImageId:null,accessibilityPurpose:e.accessibilityPurpose,originalLanguage:e.originalLanguage}}function vn(e){var t=e.width||null,n=e.height||null,i=null;e.segmentIndex&&(i=e.segmentIndex.get(0));var o=e.tilesLayout;return i&&(o=i.tilesLayout||o),o&&null!=t&&(t/=Number(o.split("x")[0])),o&&null!=n&&(n/=Number(o.split("x")[1])),{id:e.id,active:!1,type:"image",bandwidth:e.bandwidth||0,language:"",label:null,kind:null,width:t,height:n,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:e.mimeType,audioMimeType:null,videoMimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],audioRoles:null,forced:!1,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:o||null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:e.originalId,accessibilityPurpose:null,originalLanguage:null}}function yn(e){return e.__shaka_id||(e.__shaka_id=kn++),e.__shaka_id}function bn(e){var t=Tn(e);return t.active="disabled"!=e.mode,t.type="text",t.originalTextId=e.id,"captions"==e.kind&&(t.mimeType="application/cea-608"),"subtitles"==e.kind&&(t.mimeType="text/vtt"),e.kind&&(t.roles=[e.kind]),"forced"==e.kind&&(t.forced=!0),t}function Sn(e){var t=Tn(e);return t.active=e.enabled,t.type="variant",t.originalAudioId=e.id,"main"==e.kind&&(t.primary=!0),e.kind&&(t.roles=[e.kind],t.audioRoles=[e.kind],t.label=e.label),t}function Tn(e){var t=e.language;return{id:yn(e),active:!1,type:"",bandwidth:0,language:wt(t||"und"),label:e.label,kind:e.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,mimeType:null,audioMimeType:null,videoMimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],forced:!1,audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:null,accessibilityPurpose:null,originalLanguage:t}}function An(e){return e.allowedByApplication&&e.allowedByKeySystem&&0==e.disabledUntilTime}function In(e){return e.filter((function(e){return An(e)}))}function On(e,t){for(var n=e.filter((function(e){return e.audio&&e.audio.channelsCount})),i=new Map,o=(n=l(n)).next();!o.done;o=n.next()){var r=(o=o.value).audio.channelsCount;i.has(r)||i.set(r,[]),i.get(r).push(o)}return 0==(n=Array.from(i.keys())).length?e:(e=n.filter((function(e){return e<=t}))).length?i.get(Math.max.apply(Math,u(e))):i.get(Math.min.apply(Math,u(n)))}function Cn(e,t,n,i){var o=e,r=e.filter((function(e){return e.primary}));r.length&&(o=r);var a=o.length?o[0].language:"";if(o=o.filter((function(e){return e.language==a})),t){var s=Ut(wt(t),e.map((function(e){return e.language})));s&&(o=e.filter((function(e){return wt(e.language)==s})))}if(o=o.filter((function(e){return e.forced==i})),n){if((e=Rn(o,n)).length)return e}else if(e=o.filter((function(e){return 0==e.roles.length})),e.length)return e;return e=o.map((function(e){return e.roles})).reduce(at,[]),e.length?Rn(o,e[0]):o}function Rn(e,t){return e.filter((function(e){return e.roles.includes(t)}))}function Nn(e){var t=[];return e.audio&&t.push(Pn(e.audio)),e.video&&t.push(Pn(e.video)),t.join(", ")}function Pn(e){return"audio"==e.type?"type=audio codecs="+e.codecs+" bandwidth="+e.bandwidth+" channelsCount="+e.channelsCount+" audioSamplingRate="+e.audioSamplingRate:"video"==e.type?"type=video codecs="+e.codecs+" bandwidth="+e.bandwidth+" frameRate="+e.frameRate+" width="+e.width+" height="+e.height:"unexpected stream type"}B("shaka.util.StreamUtils",tn),tn.meetsRestrictions=an;var Ln={},kn=0,wn="smooth",Dn="powerEfficient",Mn="bandwidth",xn=(new Map).set("image/svg+xml",!0).set("image/png",!0).set("image/jpeg",!0).set("image/jpg",!0),Un=(new Map).set("image/webp","data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA").set("image/avif","data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A=");function Vn(){var e=this;this.l=null,this.o=!1,this.i=new W,this.u=null,navigator.connection&&navigator.connection.addEventListener&&(this.u=function(){if(e.o&&e.g.useNetworkInformation){e.i=new W,e.g&&e.i.configure(e.g.advanced);var t=e.chooseVariant();t&&e.l(t,e.g.clearBufferSwitch,e.g.safeMarginSwitch)}},navigator.connection.addEventListener("change",this.u)),this.m=[],this.A=1,this.F=!1,this.h=this.j=this.g=this.s=null,this.C=new Ht((function(){if(e.g.restrictToElementSize){var t=e.chooseVariant();t&&e.l(t,e.g.clearBufferSwitch,e.g.safeMarginSwitch)}}))}function Fn(e){var t=e.g.defaultBandwidthEstimate;return navigator.connection&&navigator.connection.downlink&&e.g.useNetworkInformation&&(t=1e6*navigator.connection.downlink),t}function Bn(e,t,n,i){return e&&(t=t.filter((function(t){return an(t,e,{width:i,height:n})}))),t.sort((function(e,t){return e.bandwidth-t.bandwidth}))}(i=Vn.prototype).stop=function(){this.l=null,this.o=!1,this.m=[],this.A=1,this.j=this.s=null,this.h&&(this.h.disconnect(),this.h=null),this.C.stop()},i.release=function(){navigator.connection&&navigator.connection.removeEventListener&&(navigator.connection.removeEventListener("change",this.u),this.u=null),this.C=null},i.init=function(e){this.l=e},i.chooseVariant=function(){var t=1/0,n=1/0;this.g.restrictToScreenSize&&(n=this.g.ignoreDevicePixelRatio?1:e.devicePixelRatio,t=e.screen.height*n,n*=e.screen.width),this.h&&this.g.restrictToElementSize&&(n=this.g.ignoreDevicePixelRatio?1:e.devicePixelRatio,t=this.j.clientHeight*n,n*=this.j.clientWidth),t=Bn(this.g.restrictions,this.m,t,n),n=this.i.getBandwidthEstimate(Fn(this)),this.m.length&&!t.length&&(t=[(t=Bn(null,this.m,1/0,1/0))[0]]);for(var i=t[0]||null,o=0;o<t.length;o++){for(var r=t[o],a=isNaN(this.A)?1:Math.abs(this.A),s=a*r.bandwidth/this.g.bandwidthDowngradeTarget,c={bandwidth:1/0},l=o+1;l<t.length;l++)if(r.bandwidth!=t[l].bandwidth){c=t[l];break}a=a*c.bandwidth/this.g.bandwidthUpgradeTarget,n>=s&&n<=a&&i.bandwidth!=r.bandwidth&&(i=r)}return this.s=Date.now(),i},i.enable=function(){this.o=!0},i.disable=function(){this.o=!1},i.segmentDownloaded=function(e,t){if(this.i.sample(e,t),null!=this.s&&this.o)e:{if(this.F){if(Date.now()-this.s<1e3*this.g.switchInterval)break e}else{if(!((e=this.i).g>=e.i))break e;this.F=!0}e=this.chooseVariant(),this.i.getBandwidthEstimate(Fn(this)),e&&this.l(e,this.g.clearBufferSwitch,this.g.safeMarginSwitch)}},i.getBandwidthEstimate=function(){return this.i.getBandwidthEstimate(Fn(this))},i.setVariants=function(e){this.m=e},i.playbackRateChanged=function(e){this.A=e},i.setMediaElement=function(t){var n=this;this.j=t,this.h&&(this.h.disconnect(),this.h=null),this.j&&"ResizeObserver"in e&&(this.h=new ResizeObserver((function(){n.C.S(Hn)})),this.h.observe(this.j))},i.configure=function(e){this.g=e,this.i&&this.g&&this.i.configure(this.g.advanced)},B("shaka.abr.SimpleAbrManager",Vn),Vn.prototype.configure=Vn.prototype.configure,Vn.prototype.setMediaElement=Vn.prototype.setMediaElement,Vn.prototype.playbackRateChanged=Vn.prototype.playbackRateChanged,Vn.prototype.setVariants=Vn.prototype.setVariants,Vn.prototype.getBandwidthEstimate=Vn.prototype.getBandwidthEstimate,Vn.prototype.segmentDownloaded=Vn.prototype.segmentDownloaded,Vn.prototype.disable=Vn.prototype.disable,Vn.prototype.enable=Vn.prototype.enable,Vn.prototype.chooseVariant=Vn.prototype.chooseVariant,Vn.prototype.init=Vn.prototype.init,Vn.prototype.release=Vn.prototype.release,Vn.prototype.stop=Vn.prototype.stop;var Hn=1;function Gn(e,t){this.g=e,this.h=t}function Wn(e,t){var n=new Gn(5,0),i=zn,o=i.g,r=n.h-o.h;(0<(n.g-o.g||r)?i.i:i.h)(i.g,n,e,t)}function jn(e,t,n,i){z([n,"has been deprecated and will be removed in",t,". We are currently at version",e,". Additional information:",i].join(" "))}function Yn(e,t,n,i){Y([n,"has been deprecated and has been removed in",t,". We are now at version",e,". Additional information:",i].join(""))}Gn.prototype.toString=function(){return"v"+this.g+"."+this.h};var zn=null;function Kn(e,t){for(this.h=e,this.g=new Set([e]),t=(e=l(t=t||[])).next();!t.done;t=e.next())this.add(t.value)}function Jn(e,t){var n;if(!(n=!!e.audio!=!!t.audio||!!e.video!=!!t.video||e.language!=t.language)&&(n=e.audio&&t.audio)){n=e.audio;var i=t.audio;n=!((!(!n.channelsCount||!i.channelsCount||2<n.channelsCount||2<i.channelsCount)||n.channelsCount==i.channelsCount)&&qn(n,i)&&Xn(n.roles,i.roles))}return!n&&(n=e.video&&t.video)&&(n=!(qn(e=e.video,t=t.video)&&Xn(e.roles,t.roles))),!n}function qn(e,t){if(e.mimeType!=t.mimeType)return!1;if(e=e.codecs.split(",").map((function(e){return St(e)[0]})),t=t.codecs.split(",").map((function(e){return St(e)[0]})),e.length!=t.length)return!1;e.sort(),t.sort();for(var n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function Xn(e,t){if(e=new Set(e),t=new Set(t),e.delete("main"),t.delete("main"),e.size!=t.size)return!1;for(var n=(e=l(e)).next();!n.done;n=e.next())if(!t.has(n.value))return!1;return!0}function $n(e){this.g=e,this.h=new Zn(e.language,"",e.audio&&e.audio.channelsCount?e.audio.channelsCount:0,"","")}function Zn(e,t,n,i,o){this.j=e,this.l=t,this.g=n,this.h=i,this.i=void 0===o?"":o}function Qn(){this.g=ni,this.h=(new Map).set(ni,2).set(ti,1)}function ei(e,t,n){e.h.set(ni,n).set(ti,t)}B("shaka.config.AutoShowText",{NEVER:0,ALWAYS:1,IF_PREFERRED_TEXT_LANGUAGE:2,IF_SUBTITLES_MAY_BE_NEEDED:3}),Kn.prototype.add=function(e){return!!Jn(this.h,e)&&(this.g.add(e),!0)},Kn.prototype.values=function(){return this.g.values()},$n.prototype.create=function(e){var t=this,n=e.filter((function(e){return Jn(t.g,e)}));return n.length?new Kn(n[0],n):this.h.create(e)},Zn.prototype.create=function(t){var n=[];n=function(e,t){t=wt(t);var n=Ut(t,e.map((function(e){return xt(e)})));return n?e.filter((function(e){return n==xt(e)})):[]}(t,this.j);var i=t.filter((function(e){return e.primary}));for(t=function(e,t){return e.filter((function(e){return!!e.audio&&(t?e.audio.roles.includes(t):0==e.audio.roles.length)}))}(n=n.length?n:i.length?i:t,this.l),t.length&&(n=t),this.h&&(t=function(t,n){return"AUTO"==n&&(n=e.matchMedia("(color-gamut: p3)").matches?"PQ":"SDR"),t.filter((function(e){return!e.video||!e.video.hdr||e.video.hdr==n}))}(n,this.h),t.length&&(n=t)),this.g&&((t=On(n,this.g)).length&&(n=t)),this.i&&(t=function(e,t){return e.filter((function(e){return!(!e.audio||!e.audio.label)&&e.audio.label.toLowerCase()==t.toLowerCase()}))}(n,this.i),t.length&&(n=t)),t=new Kn(n[0]),i=(n=l(n)).next();!i.done;i=n.next())i=i.value,Jn(t.h,i)&&t.add(i);return t};var ti=0,ni=1;function ii(e,t){var n={maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4};this.l=null==e.maxAttempts?n.maxAttempts:e.maxAttempts,this.j=null==e.baseDelay?n.baseDelay:e.baseDelay,this.o=null==e.fuzzFactor?n.fuzzFactor:e.fuzzFactor,this.m=null==e.backoffFactor?n.backoffFactor:e.backoffFactor,this.g=0,this.h=this.j,(this.i=void 0!==t&&t)&&(this.g=1)}function oi(e){var t,n;return k((function(i){if(1==i.g){if(e.g>=e.l){if(!e.i)throw new ot(2,7,1010);e.g=1,e.h=e.j}return t=e.g,e.g++,0==t?i.return():(n=e.h*(1+(2*Math.random()-1)*e.o),y(i,new Promise((function(e){new Ht(e).S(n/1e3)})),2))}e.h*=e.m,b(i)}))}function ri(){var e,t,n=new Promise((function(n,i){e=n,t=i}));return n.resolve=e,n.reject=t,n}function ai(e,t){this.promise=e,this.i=t,this.g=!1}function si(e){return new ai(Promise.reject(e),(function(){return Promise.resolve()}))}function ci(){var e=Promise.reject(new ot(2,7,7001));return e.catch((function(){})),new ai(e,(function(){return Promise.resolve()}))}function li(e){return new ai(Promise.resolve(e),(function(){return Promise.resolve()}))}function ui(e){return new ai(e,(function(){return e.catch((function(){}))}))}function di(e){return new ai(Promise.all(e.map((function(e){return e.promise}))),(function(){return Promise.all(e.map((function(e){return e.abort()})))}))}function pi(t,n){if(n)if(n instanceof Map)for(var i=l(n.keys()),o=i.next();!o.done;o=i.next())o=o.value,Object.defineProperty(this,o,{value:n.get(o),writable:!0,enumerable:!0});else for(i in n)Object.defineProperty(this,i,{value:n[i],writable:!0,enumerable:!0});this.defaultPrevented=this.cancelable=this.bubbles=!1,this.timeStamp=e.performance&&e.performance.now?e.performance.now():Date.now(),this.type=t,this.isTrusted=!1,this.target=this.currentTarget=null,this.g=!1}function hi(e){var t,n=new pi(e.type);for(t in e)Object.defineProperty(n,t,{value:e[t],writable:!0,enumerable:!0});return n}ri.prototype.resolve=function(){},ri.prototype.reject=function(){},ai.prototype.abort=function(){return this.g=!0,this.i()},ai.prototype.finally=function(e){return this.promise.then((function(){return e(!0)}),(function(){return e(!1)})),this},ai.prototype.fa=function(e,t){function n(n){return function(s){if(o.g&&n)r.reject(a);else{var c=n?e:t;c?i=function(e,t,n){try{var i=e(t);return i&&i.promise&&i.abort?(n.resolve(i.promise),function(){return i.abort()}):(n.resolve(i),function(){return Promise.resolve(i).then((function(){}),(function(){}))})}catch(e){return n.reject(e),function(){return Promise.resolve()}}}(c,s,r):(n?r.resolve:r.reject)(s)}}}function i(){return r.reject(a),o.abort()}var o=this,r=new ri,a=new ot(2,7,7001);return this.promise.then(n(!0),n(!1)),new ai(r,(function(){return i()}))},B("shaka.util.AbortableOperation",ai),ai.prototype.chain=ai.prototype.fa,ai.prototype.finally=ai.prototype.finally,ai.all=di,ai.prototype.abort=ai.prototype.abort,ai.notAbortable=ui,ai.completed=li,ai.aborted=ci,ai.failed=si,pi.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)},pi.prototype.stopImmediatePropagation=function(){this.g=!0},pi.prototype.stopPropagation=function(){},B("shaka.util.FakeEvent",pi);var fi={uh:"abrstatuschanged",vh:"adaptation",wh:"buffering",xh:"downloadfailed",yh:"downloadheadersreceived",zh:"drmsessionupdate",Bh:"emsg",Nh:"prft",Error:"error",Ch:"expirationupdated",Dh:"gapjumped",Gh:"loaded",Hh:"loading",Jh:"manifestparsed",Kh:"mediaqualitychanged",Metadata:"metadata",Lh:"onstatechange",Mh:"onstateidle",Oh:"ratechange",Qh:"segmentappended",Rh:"sessiondata",Sh:"stalldetected",Th:"streaming",Uh:"textchanged",Vh:"texttrackvisibility",Wh:"timelineregionadded",Xh:"timelineregionenter",Yh:"timelineregionexit",Zh:"trackschanged",ai:"unloading",ci:"variantchanged"};function mi(){this.Z=new Ft,this.yd=this}function _i(e){var t=new Set;return function e(n){switch(typeof n){case"undefined":case"boolean":case"number":case"string":case"symbol":case"function":return n;default:if(!n||n.buffer&&n.buffer.constructor==ArrayBuffer)return n;if(t.has(n))return null;var i=n.constructor==Array;if(n.constructor!=Object&&!i)return null;t.add(n);var o,r=i?[]:{};for(o in n)r[o]=e(n[o]);return i&&(r.length=n.length),r}}(e)}function gi(e){var t,n={};for(t in e)n[t]=e[t];return n}function Ei(){this.g=[]}function vi(e,t){e.g.push(t.finally((function(){pe(e.g,t)})))}function yi(e,t,n,i){mi.call(this),this.i=!1,this.m=new Ei,this.g=new Set,this.h=new Set,this.l=e||null,this.j=t||null,this.s=n||null,this.u=i||null,this.o=!1}function bi(e,t,n,i){n=n||Ci;var o=Ri[e];(!o||n>=o.priority)&&(Ri[e]={priority:n,Ld:t,Xg:void 0!==i&&i})}function Si(e,t,n){return{uris:e,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:t,licenseRequestType:null,sessionId:null,drmInfo:null,initData:null,initDataType:null,streamDataCallback:void 0===n?null:n}}function Ti(e,t,n,i,o,r,a){e.o&&(n.uris[o]=n.uris[o].replace("http://","https://"));var s=new je(n.uris[o]),c=s.Na,l=!1;c||(Ye(s,c=(c=location.protocol).slice(0,-1)),n.uris[o]=s.toString()),c=c.toLowerCase();var u=(c=Ri[c])?c.Ld:null;if(!u)return si(new ot(2,1,1e3,s));var d,p=c.Xg,h=null,f=null,m=!1,_=!1;return ui(oi(i)).fa((function(){if(e.i)return ci();d=Date.now();var i=u(n.uris[o],n,t,(function(n,i,o){h&&h.stop(),f&&f.S(s/1e3),e.l&&t==Oi&&(e.l(n,i),l=!0,a.g=o)}),(function(i){e.j&&e.j(i,n,t),_=!0}));if(!p)return i;var r=n.retryParameters.connectionTimeout;r&&(h=new Ht((function(){m=!0,i.abort()}))).S(r/1e3);var s=n.retryParameters.stallTimeout;return s&&(f=new Ht((function(){m=!0,i.abort()}))),i})).fa((function(i){h&&h.stop(),f&&f.stop(),null==i.timeMs&&(i.timeMs=Date.now()-d);var o={response:i,Jg:l};return!_&&e.j&&e.j(i.headers,n,t),o}),(function(s){if(h&&h.stop(),f&&f.stop(),e.s){var c=null,l=0;s instanceof ot&&(c=s,1001==s.code&&(l=s.data[1])),e.s(n,c,l,m)}if(e.i)return ci();if(m&&(s=new ot(1,1,1003,n.uris[o],t)),s instanceof ot){if(7001==s.code)throw s;if(1010==s.code)throw r;if(1==s.severity)return c=new pi("retry",c=(new Map).set("error",s)),e.dispatchEvent(c),o=(o+1)%n.uris.length,Ti(e,t,n,i,o,s,a)}throw s}))}function Ai(){this.g=0}function Ii(e,t,n){ai.call(this,e,t),this.h=n}mi.prototype.addEventListener=function(e,t){this.Z&&this.Z.push(e,t)},mi.prototype.removeEventListener=function(e,t){this.Z&&this.Z.remove(e,t)},mi.prototype.dispatchEvent=function(e){if(!this.Z)return!0;var t=this.Z.get(e.type)||[],n=this.Z.get("All");for(n&&(t=t.concat(n)),n=(t=l(t)).next();!n.done;n=t.next()){n=n.value,e.target=this.yd,e.currentTarget=this.yd;try{n.handleEvent?n.handleEvent(e):n.call(this,e)}catch(e){}if(e.g)break}return e.defaultPrevented},mi.prototype.release=function(){this.Z=null},Ei.prototype.destroy=function(){for(var e=[],t=l(this.g),n=t.next();!n.done;n=t.next())(n=n.value).promise.catch((function(){})),e.push(n.abort());return this.g=[],Promise.all(e)},_(yi,mi),(i=yi.prototype).Ne=function(e){this.o=e},i.Yg=function(e){this.g.add(e)},i.oh=function(e){this.g.delete(e)},i.$f=function(){this.g.clear()},i.Zg=function(e){this.h.add(e)},i.ph=function(e){this.h.delete(e)},i.ag=function(){this.h.clear()},i.destroy=function(){return this.i=!0,this.g.clear(),this.h.clear(),mi.prototype.release.call(this),this.m.destroy()},i.request=function(e,t,n){var i=this,o=new Ai;if(this.i){var r=Promise.reject(new ot(2,7,7001));return r.catch((function(){})),new Ii(r,(function(){return Promise.resolve()}),o)}t.method=t.method||"GET",t.headers=t.headers||{},t.retryParameters=t.retryParameters?_i(t.retryParameters):{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},t.uris=_i(t.uris),r=function(e,t,n,i){function o(e){r=r.fa((function(){return n.body&&(n.body=ie(n.body)),e(t,n,i)}))}var r=li(void 0);e.u&&o(e.u);for(var a=(e=l(e.g)).next();!a.done;a=e.next())o(a.value);return r.fa(void 0,(function(e){if(e instanceof ot&&7001==e.code)throw e;throw new ot(2,1,1006,e)}))}(this,e,t,n);var a=r.fa((function(){return Ti(i,e,t,new ii(t.retryParameters,!1),0,null,o)})),s=a.fa((function(t){return function(e,t,n,i){for(var o=li(void 0),r={},a=(e=l(e.h)).next();!a.done;r={Vd:r.Vd},a=e.next())r.Vd=a.value,o=o.fa(function(e){return function(){var o=n.response;return o.data&&(o.data=ie(o.data)),e.Vd(t,o,i)}}(r));return o.fa((function(){return n}),(function(e){var t=2;if(e instanceof ot){if(7001==e.code)throw e;t=e.severity}throw new ot(t,1,1007,e)}))}(i,e,t,n)})),c=Date.now(),u=0;r.promise.then((function(){u=Date.now()-c}),(function(){}));var d=0;a.promise.then((function(){d=Date.now()}),(function(){}));var p=s.fa((function(n){var o=Date.now()-d,r=n.response;return r.timeMs+=u,r.timeMs+=o,n.Jg||!i.l||r.fromCache||"HEAD"==t.method||e!=Oi||i.l(r.timeMs,r.data.byteLength),r}),(function(e){throw e&&(e.severity=2),e}));return r=new Ii(p.promise,(function(){return p.abort()}),o),vi(this.m,r),r},B("shaka.net.NetworkingEngine",yi),yi.prototype.request=yi.prototype.request,yi.prototype.destroy=yi.prototype.destroy,yi.makeRequest=Si,yi.defaultRetryParameters=function(){return{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4}},yi.prototype.clearAllResponseFilters=yi.prototype.ag,yi.prototype.unregisterResponseFilter=yi.prototype.ph,yi.prototype.registerResponseFilter=yi.prototype.Zg,yi.prototype.clearAllRequestFilters=yi.prototype.$f,yi.prototype.unregisterRequestFilter=yi.prototype.oh,yi.prototype.registerRequestFilter=yi.prototype.Yg,yi.unregisterScheme=function(e){delete Ri[e]},yi.registerScheme=bi,yi.prototype.setForceHTTPS=yi.prototype.Ne,yi.NumBytesRemainingClass=Ai,_(Ii,ai),yi.PendingRequest=Ii;var Oi=1;yi.RequestType={MANIFEST:0,SEGMENT:Oi,LICENSE:2,APP:3,TIMING:4,SERVER_CERTIFICATE:5,KEY:6},yi.AdvancedRequestType={INIT_SEGMENT:0,MEDIA_SEGMENT:1,MEDIA_PLAYLIST:2,MASTER_PLAYLIST:3,MPD:4,MSS:5};var Ci=3;yi.PluginPriority={FALLBACK:1,PREFERRED:2,APPLICATION:Ci};var Ri={};function Ni(e){this.g=!1,this.h=new ri,this.i=e}function Pi(e,t){if(e.g){if(t instanceof ot&&7003==t.code)throw t;throw new ot(2,7,7003,t)}}function Li(){this.g=new Ft}function ki(e,t,n,i){this.target=e,this.type=t,this.listener=n,this.g=function(e,t){if(null==t)return!1;if("boolean"==typeof t)return t;var n=new Set(["passive","capture"]);return Object.keys(t).filter((function(e){return!n.has(e)})),function(e){var t=wi;if(null==t){t=!1;try{var n={},i={get:function(){return t=!0,!1}};Object.defineProperty(n,"passive",i),Object.defineProperty(n,"capture",i),i=function(){},e.addEventListener("test",i,n),e.removeEventListener("test",i,n)}catch(e){t=!1}wi=t}return t||!1}(e)?t:t.capture||!1}(e,i),this.target.addEventListener(t,n,this.g)}Ni.prototype.destroy=function(){var e=this;return this.g?this.h:(this.g=!0,this.i().then((function(){e.h.resolve()}),(function(){e.h.resolve()})))},(i=Li.prototype).release=function(){this.ub(),this.g=null},i.D=function(e,t,n,i){this.g&&(e=new ki(e,t,n,i),this.g.push(t,e))},i.la=function(e,t,n,i){var o=this;this.D(e,t,(function i(r){o.Yc(e,t,i),n(r)}),i)},i.Yc=function(e,t,n){if(this.g)for(var i=this.g.get(t)||[],o=(i=l(i)).next();!o.done;o=i.next())(o=o.value).target!=e||n!=o.listener&&n||(o.Yc(),this.g.remove(t,o))},i.ub=function(){if(this.g){var e,t=this.g,n=[];for(e in t.g)n.push.apply(n,u(t.g[e]));for(n=(t=l(n)).next();!n.done;n=t.next())n.value.Yc();this.g.g={}}},B("shaka.util.EventManager",Li),Li.prototype.removeAll=Li.prototype.ub,Li.prototype.unlisten=Li.prototype.Yc,Li.prototype.listenOnce=Li.prototype.la,Li.prototype.listen=Li.prototype.D,Li.prototype.release=Li.prototype.release,ki.prototype.Yc=function(){this.target.removeEventListener(this.type,this.listener,this.g),this.listener=this.target=null,this.g=!1};var wi=void 0;function Di(e,t){for(var n=[],i=(e=l(e)).next();!i.done;i=e.next())n.push(t(i.value));return n}function Mi(e){this.h=e,this.g=void 0}function xi(e){for(var t=new Map,n=l(Object.keys(e)),i=n.next();!i.done;i=n.next())i=i.value,t.set(i,e[i]);return t}function Ui(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}function Vi(e,t){if(!e&&!t)return!0;if(e&&!t||t&&!e)return!1;if(e.size!=t.size)return!1;for(var n=(e=l(e)).next();!n.done;n=e.next()){var i=l(n.value);if(n=i.next().value,i=i.next().value,!t.has(n))return!1;if((n=t.get(n))!=i||null==n)return!1}return!0}function Fi(){}function Bi(t){if(!t)return"";if(239==(t=oe(t))[0]&&187==t[1]&&191==t[2]&&(t=t.subarray(3)),e.TextDecoder&&!qt())return(t=(new TextDecoder).decode(t)).includes("<22>")&&Y('Decoded string contains an "unknown character" codepoint. That probably means the UTF8 encoding was incorrect!'),t;for(var n="",i=0;i<t.length;++i){var o=65533;if(0==(128&t[i])?o=t[i]:t.length>=i+2&&192==(224&t[i])&&128==(192&t[i+1])?(o=(31&t[i])<<6|63&t[i+1],i+=1):t.length>=i+3&&224==(240&t[i])&&128==(192&t[i+1])&&128==(192&t[i+2])?(o=(15&t[i])<<12|(63&t[i+1])<<6|63&t[i+2],i+=2):t.length>=i+4&&240==(241&t[i])&&128==(192&t[i+1])&&128==(192&t[i+2])&&128==(192&t[i+3])&&(o=(7&t[i])<<18|(63&t[i+1])<<12|(63&t[i+2])<<6|63&t[i+3],i+=3),65535>=o)n+=String.fromCharCode(o);else{var r=1023&(o-=65536);n+=String.fromCharCode(55296+(o>>10)),n+=String.fromCharCode(56320+r)}}return n}function Hi(e,t,n){if(!e)return"";if(!n&&0!=e.byteLength%2)throw new ot(2,2,2004);n=Math.floor(e.byteLength/2);var i=new Uint16Array(n);e=re(e);for(var o=0;o<n;o++)i[o]=e.getUint16(2*o,t);return Yi.value()(i)}function Gi(e){function t(e){return n.byteLength<=e||32<=n[e]&&126>=n[e]}if(!e)return"";var n=oe(e);if(239==n[0]&&187==n[1]&&191==n[2])return Bi(n);if(254==n[0]&&255==n[1])return Hi(n.subarray(2),!1);if(255==n[0]&&254==n[1])return Hi(n.subarray(2),!0);if(0==n[0]&&0==n[2])return Hi(e,!1);if(0==n[1]&&0==n[3])return Hi(e,!0);if(t(0)&&t(1)&&t(2)&&t(3))return Bi(e);throw new ot(2,2,2003)}function Wi(t){if(e.TextEncoder&&!qt()){var n=new TextEncoder;return ie(n.encode(t))}t=encodeURIComponent(t),t=unescape(t),n=new Uint8Array(t.length);for(var i=0;i<t.length;i++)n[i]=t[i].charCodeAt(0);return ie(n)}function ji(e,t){for(var n=new ArrayBuffer(2*e.length),i=new DataView(n),o=0;o<e.length;++o)i.setUint16(2*o,e.charCodeAt(o),t);return n}Mi.prototype.value=function(){return null==this.g&&(this.g=this.h()),this.g},B("shaka.util.StringUtils",Fi),Fi.resetFromCharCode=function(){Yi.g=void 0},Fi.toUTF16=ji,Fi.toUTF8=Wi,Fi.fromBytesAutoDetect=Gi,Fi.fromUTF16=Hi,Fi.fromUTF8=Bi;var Yi=new Mi((function(){function e(e){try{var t=new Uint8Array(e);return 0<String.fromCharCode.apply(null,t).length}catch(e){return!1}}for(var t={ob:65536};0<t.ob;(t={ob:t.ob}).ob/=2)if(e(t.ob))return function(e){return function(t){for(var n="",i=0;i<t.length;i+=e.ob)n+=String.fromCharCode.apply(null,t.subarray(i,i+e.ob));return n}}(t);return null}));function zi(e,t){this.h=re(e),this.i=t==Ji,this.g=0}function Ki(){return new ot(2,3,3e3)}(i=zi.prototype).ja=function(){return this.g<this.h.byteLength},i.ha=function(){return this.g},i.getLength=function(){return this.h.byteLength},i.ra=function(){try{var e=this.h.getUint8(this.g);return this.g+=1,e}catch(e){throw Ki()}},i.Ja=function(){try{var e=this.h.getUint16(this.g,this.i);return this.g+=2,e}catch(e){throw Ki()}},i.K=function(){try{var e=this.h.getUint32(this.g,this.i);return this.g+=4,e}catch(e){throw Ki()}},i.zf=function(){try{var e=this.h.getInt32(this.g,this.i);return this.g+=4,e}catch(e){throw Ki()}},i.dc=function(){try{if(this.i)var e=this.h.getUint32(this.g,!0),t=this.h.getUint32(this.g+4,!0);else t=this.h.getUint32(this.g,!1),e=this.h.getUint32(this.g+4,!1)}catch(e){throw Ki()}if(2097151<t)throw new ot(2,3,3001);return this.g+=8,t*Math.pow(2,32)+e},i.kb=function(e){if(this.g+e>this.h.byteLength)throw Ki();var t=oe(this.h,this.g,e);return this.g+=e,t},i.skip=function(e){if(this.g+e>this.h.byteLength)throw Ki();this.g+=e},i.fh=function(e){if(this.g<e)throw Ki();this.g-=e},i.seek=function(e){if(0>e||e>this.h.byteLength)throw Ki();this.g=e},i.Tc=function(){for(var e=this.g;this.ja()&&0!=this.h.getUint8(this.g);)this.g+=1;return e=oe(this.h,e,this.g-e),this.g+=1,Bi(e)},B("shaka.util.DataViewReader",zi),zi.prototype.readTerminatedString=zi.prototype.Tc,zi.prototype.seek=zi.prototype.seek,zi.prototype.rewind=zi.prototype.fh,zi.prototype.skip=zi.prototype.skip,zi.prototype.readBytes=zi.prototype.kb,zi.prototype.readUint64=zi.prototype.dc,zi.prototype.readInt32=zi.prototype.zf,zi.prototype.readUint32=zi.prototype.K,zi.prototype.readUint16=zi.prototype.Ja,zi.prototype.readUint8=zi.prototype.ra,zi.prototype.getLength=zi.prototype.getLength,zi.prototype.getPosition=zi.prototype.ha,zi.prototype.hasMoreData=zi.prototype.ja;var Ji=1;function qi(){this.i=[],this.h=[],this.g=!1}function Xi(e){for(var t=no(e);e.reader.ja()&&!e.parser.g;)e.parser.Rc(e.start+t,e.reader,e.partialOkay)}function $i(e){for(var t=no(e),n=e.reader.K(),i=0;i<n&&(e.parser.Rc(e.start+t,e.reader,e.partialOkay),!e.parser.g);i++);}function Zi(e){var t=no(e);for(e.reader.skip(78);e.reader.ja()&&!e.parser.g;)e.parser.Rc(e.start+t,e.reader,e.partialOkay)}function Qi(e){return function(t){e(t.reader.kb(t.reader.getLength()-t.reader.ha()))}}function eo(e){for(var t=0,n=(e=l(e)).next();!n.done;n=e.next())t=t<<8|n.value.charCodeAt(0);return t}function to(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function no(e){return 8+(e.has64BitSize?8:0)+(null!=e.flags?4:0)}zi.Endianness={BIG_ENDIAN:0,LITTLE_ENDIAN:Ji},(i=qi.prototype).box=function(e,t){return e=eo(e),this.i[e]=io,this.h[e]=t,this},i.O=function(e,t){return e=eo(e),this.i[e]=oo,this.h[e]=t,this},i.stop=function(){this.g=!0},i.parse=function(e,t,n){for(e=new zi(e,0),this.g=!1;e.ja()&&!this.g;)this.Rc(0,e,t,n)},i.Rc=function(e,t,n,i){var o=t.ha();if(i&&o+8>t.getLength())this.g=!0;else{var r=t.K(),a=t.K(),s=to(a),c=!1;switch(r){case 0:r=t.getLength()-o;break;case 1:if(i&&t.ha()+8>t.getLength())return void(this.g=!0);r=t.dc(),c=!0}var l=this.h[a];if(l){var u=null,d=null;if(this.i[a]==oo){if(i&&t.ha()+4>t.getLength())return void(this.g=!0);u=(d=t.K())>>>24,d&=16777215}a=o+r,n&&a>t.getLength()&&(a=t.getLength()),i&&a>t.getLength()?this.g=!0:(i=a-t.ha(),l({name:s,parser:this,partialOkay:n||!1,version:u,flags:d,reader:t=new zi(t=0<i?t.kb(i):new Uint8Array(0),0),size:r,start:o+e,has64BitSize:c}))}else t.skip(Math.min(o+r-t.ha(),t.getLength()-t.ha()))}},B("shaka.util.Mp4Parser",qi),qi.headerSize=no,qi.typeToString=to,qi.allData=Qi,qi.visualSampleEntry=Zi,qi.sampleDescription=$i,qi.children=Xi,qi.prototype.parseNext=qi.prototype.Rc,qi.prototype.parse=qi.prototype.parse,qi.prototype.stop=qi.prototype.stop,qi.prototype.fullBox=qi.prototype.O,qi.prototype.box=qi.prototype.box;var io=0,oo=1;function ro(){}function ao(e){return e=oe(e),e=Yi.value()(e),btoa(e)}function so(e,t){return t=null==t||t,e=ao(e).replace(/\+/g,"-").replace(/\//g,"_"),t?e:e.replace(/[=]*$/,"")}function co(t){t=e.atob(t.replace(/-/g,"+").replace(/_/g,"/"));for(var n=new Uint8Array(t.length),i=0;i<t.length;++i)n[i]=t.charCodeAt(i);return n}function lo(t){for(var n=t.length/2,i=new Uint8Array(n),o=0;o<n;o++)i[o]=e.parseInt(t.substr(2*o,2),16);return i}function uo(e){var t=oe(e);e="";for(var n=(t=l(t)).next();!n.done;n=t.next())1==(n=(n=n.value).toString(16)).length&&(n="0"+n),e+=n;return e}function po(){for(var e=w.apply(0,arguments),t=0,n=l(e),i=n.next();!i.done;i=n.next())t+=i.value.byteLength;for(t=new Uint8Array(t),n=0,i=(e=l(e)).next();!i.done;i=e.next())i=i.value,t.set(oe(i),n),n+=i.byteLength;return t}function ho(e){var t=this;this.g=[],this.h=[],this.data=[],(new qi).box("moov",Xi).box("moof",Xi).O("pssh",(function(e){if(!(1<e.version)){var n=oe(e.reader.h,-12,e.size);if(t.data.push(n),t.g.push(uo(e.reader.kb(16))),0<e.version){n=e.reader.K();for(var i=0;i<n;i++){var o=uo(e.reader.kb(16));t.h.push(o)}}}})).parse(e)}function fo(e,t,n,i){var o=e.length,r=t.length+16+o;0<i&&(r+=4+16*n.size);var a=new Uint8Array(r),s=re(a),c=0;if(s.setUint32(c,r),c+=4,s.setUint32(c,1886614376),c+=4,1>i?s.setUint32(c,0):s.setUint32(c,16777216),c+=4,a.set(t,c),c+=t.length,0<i)for(s.setUint32(c,n.size),c+=4,n=(t=l(n)).next();!n.done;n=t.next())n=lo(n.value),a.set(n,c),c+=n.length;return s.setUint32(c,o),a.set(e,c+4),a}function mo(e,t){return 1!=(e=go(e,t)).length?null:e[0]}function _o(e,t,n){return 1!=(e=Eo(e,t,n)).length?null:e[0]}function go(e,t){for(var n=[],i=(e=l(e.childNodes)).next();!i.done;i=e.next())(i=i.value)instanceof Element&&i.tagName==t&&n.push(i);return n}function Eo(e,t,n){for(var i=[],o=(e=l(e.childNodes)).next();!o.done;o=e.next())(o=o.value)instanceof Element&&o.localName==n&&o.namespaceURI==t&&i.push(o);return i}function vo(e,t,n){return e.hasAttributeNS(t,n)?e.getAttributeNS(t,n):null}function yo(e,t,n){for(var i=(t=l(t)).next();!i.done;i=t.next())if(i=i.value,e.hasAttributeNS(i,n))return e.getAttributeNS(i,n);return null}function bo(e){return Array.from(e.childNodes).every(So)?e.textContent.trim():null}function So(e){return e.nodeType==Node.TEXT_NODE||e.nodeType==Node.CDATA_SECTION_NODE}function To(e,t,n,i){i=void 0===i?null:i;var o=null;return null!=(e=e.getAttribute(t))&&(o=n(e)),null==o?i:o}function Ao(e){return e?(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e)&&(e+="Z"),e=Date.parse(e),isNaN(e)?null:e/1e3):null}function Io(e){return e&&(e=RegExp("^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$").exec(e))?(e=31536e3*Number(e[1]||null)+2592e3*Number(e[2]||null)+86400*Number(e[3]||null)+3600*Number(e[4]||null)+60*Number(e[5]||null)+Number(e[6]||null),isFinite(e)?e:null):null}function Oo(e){var t=/([0-9]+)-([0-9]+)/.exec(e);return t?(e=Number(t[1]),isFinite(e)?(t=Number(t[2]),isFinite(t)?{start:e,end:t}:null):null):null}function Co(e){return 0==(e=Number(e))%1?e:null}function Ro(e){return 0==(e=Number(e))%1&&0<e?e:null}function No(e){return 0==(e=Number(e))%1&&0<=e?e:null}function Po(e){return e=Number(e),isNaN(e)?null:e}function Lo(e){return!!e&&"true"===e.toLowerCase()}function ko(e){var t,n=(t=e.match(/^(\d+)\/(\d+)$/))?Number(t[1])/Number(t[2]):Number(e);return isNaN(n)?null:n}function wo(e,t){var n=new DOMParser,i=Mo.value()(e);e=null;try{e=n.parseFromString(i,"text/xml")}catch(e){return null}if(!(n=e.documentElement)||n.getElementsByTagName("parsererror").length||n.tagName!=t)return null;for(t=document.createNodeIterator(e,NodeFilter.SHOW_ALL);e=t.nextNode();)if(e instanceof HTMLElement||e instanceof SVGElement)return null;return n}function Do(e,t){try{return wo(Gi(e),t)}catch(e){return null}}B("shaka.util.Uint8ArrayUtils",ro),ro.concat=po,ro.toHex=uo,ro.fromHex=lo,ro.fromBase64=co,ro.toBase64=so,ro.toStandardBase64=ao;var Mo=new Mi((function(){if("undefined"!=typeof trustedTypes){var e=trustedTypes.createPolicy("shaka-player#xml",{createHTML:function(e){return e}});return function(t){return e.createHTML(t)}}return function(e){return e}}));function xo(e,t){var n=this;t=void 0===t?1:t,this.C=e,this.G=new Set,this.m=this.s=null,this.ga=this.Y=!1,this.H=0,this.g=null,this.A=new Li,this.i=new Map,this.u=new Map,this.l=new ri,this.h=null,this.o=function(t){2==t.severity&&n.l.reject(t),e.onError(t)},this.V=new Map,this.Z=new Map,this.W=new Ht((function(){return function(e){var t=e.V,n=e.Z;n.clear(),t.forEach((function(e,t){return n.set(t,e)})),t=Array.from(n.values()),t.length&&t.every((function(e){return"expired"==e}))&&e.o(new ot(2,6,6014)),e.C.Jd(Ui(n))}(n)})),this.M=!1,this.L=[],this.N=!1,this.aa=new Ht((function(){!function(e){e.i.forEach((function(t,n){var i=t.ye,o=n.expiration;isNaN(o)&&(o=1/0),o!=i&&(e.C.onExpirationUpdated(n.sessionId,o),t.ye=o)}))}(n)})).Da(t),this.l.catch((function(){})),this.j=new Ni((function(){return function(e){return k((function(t){switch(t.g){case 1:return e.A.release(),e.A=null,e.l.reject(),e.aa.stop(),e.aa=null,e.W.stop(),e.W=null,y(t,$o(e),2);case 2:if(!e.m){t.B(3);break}return S(t,4),y(t,e.m.setMediaKeys(null),6);case 6:A(t,5);break;case 4:I(t);case 5:e.m=null;case 3:e.g=null,e.G.clear(),e.s=null,e.u=new Map,e.h=null,e.o=function(){},e.C=null,e.X=!1,e.F=null,b(t)}}))}(n)})),this.X=!1,this.I=this.F=null}function Uo(e,t,n){e.u=new Map;for(var i=(n=l(n)).next();!i.done;i=n.next())e.u.set(i.value,{initData:null,initDataType:null});for(i=(n=l(e.h.persistentSessionsMetadata)).next();!i.done;i=n.next())i=i.value,e.u.set(i.sessionId,{initData:i.initData,initDataType:i.initDataType});return e.M=0<e.u.size,Vo(e,t)}function Vo(t,n){var i,o,r,a,s,c,u,d,p,h,f,m,_,g,E;return k((function(v){if(1==v.g){if(i=function(t){if(t=xi(t.h.clearKeys),0==t.size)return null;var n=[],i=[];t.forEach((function(e,t){var o=t;22!=o.length&&(o=so(lo(t),!1)),22!=(t=e).length&&(t=so(lo(e),!1)),e={kty:"oct",kid:o,k:t},n.push(e),i.push(e.kid)})),t=JSON.stringify({keys:n});var o=JSON.stringify({kids:i});return o=[{initData:oe(Wi(o)),initDataType:"keyids"}],{keySystem:"org.w3.clearkey",licenseServerUri:"data:application/json;base64,"+e.btoa(t),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",sessionType:"",initData:o,keyIds:new Set(i)}}(t))for(o=l(n),r=o.next();!r.done;r=o.next())(a=r.value).video&&(a.video.drmInfos=[i]),a.audio&&(a.audio.drmInfos=[i]);for((s=n.some((function(e){return!!(e.video&&e.video.drmInfos.length||e.audio&&e.audio.drmInfos.length)})))||(c=xi(t.h.servers),function(e,t){var n=[];for(t.forEach((function(e,t){n.push({keySystem:t,licenseServerUri:e,distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",initData:[],keyIds:new Set})})),e=l(e),t=e.next();!t.done;t=e.next())(t=t.value).video&&(t.video.drmInfos=n),t.audio&&(t.audio.drmInfos=n)}(n,c)),u=new Set,d=l(n),r=d.next();!r.done;r=d.next())for(p=r.value,h=er(p),f=l(h),m=f.next();!m.done;m=f.next())_=m.value,u.add(_);for(g=l(u),m=g.next();!m.done;m=g.next())ir(m.value,xi(t.h.servers),xi(t.h.advanced||{}),t.h.keySystemsMapping);return y(v,dn(n,t.M,t.X,t.h.preferredKeySystems),2)}return s||Object.keys(t.h.servers).length?(E=Yo(t,void 0,n),v.return(s?E:E.catch((function(){})))):(t.Y=!0,v.return(Promise.resolve()))}))}function Fo(e){var t;return k((function(n){switch(n.g){case 1:if(e.m.mediaKeys)return n.return();if(!e.F){n.B(2);break}return y(n,e.F,3);case 3:return Pi(e.j),n.return();case 2:return S(n,4),e.F=e.m.setMediaKeys(e.s),y(n,e.F,6);case 6:A(n,5);break;case 4:t=I(n),e.o(new ot(2,6,6003,t.message));case 5:Pi(e.j),b(n)}}))}function Bo(e){var t,n;return k((function(i){switch(i.g){case 1:if(!e.s||!e.g)return i.return();if(!e.g.serverCertificateUri||e.g.serverCertificate&&e.g.serverCertificate.length){i.B(2);break}return t=Si([e.g.serverCertificateUri],e.h.retryParameters),S(i,3),y(i,e.C.Ib.request(5,t).promise,5);case 5:n=i.h,e.g.serverCertificate=oe(n.data),A(i,4);break;case 3:throw new ot(2,6,6017,I(i));case 4:if(e.j.g)return i.return();case 2:return e.g.serverCertificate&&e.g.serverCertificate.length?(S(i,6),y(i,e.s.setServerCertificate(e.g.serverCertificate),8)):i.return();case 8:A(i,0);break;case 6:throw new ot(2,6,6004,I(i).message)}}))}function Ho(e){var t,n,i,o;return k((function(r){if(1==r.g)return e.u.size?(e.u.forEach((function(t,n){Jo(e,n,t)})),y(r,e.l,3)):r.B(2);if(2!=r.g){if(0<(e.g&&e.g.keyIds||new Set([])).size&&function(e){for(var t=l(e.g&&e.g.keyIds||new Set([])),n=t.next();!n.done;n=t.next())if("usable"!==e.V.get(n.value))return!1;return!0}(e))return r.return(e.l);e.l=new ri,e.l.catch((function(){}))}for(t=(e.g?e.g.initData:[])||[],n=l(t),i=n.next();!i.done;i=n.next())o=i.value,Go(e,o.initDataType,o.initData);return t.length||e.l.resolve(),r.return(e.l)}))}function Go(e,t,n){if(n.length){for(var i=e.i.values(),o=(i=l(i)).next();!o.done;o=i.next())if(te(n,o.value.initData)&&!$t("Tizen 2"))return;0<e.i.size&&tr(e)&&(e.l.resolve(),e.l=new ri,e.l.catch((function(){}))),function(e,t,n,i){try{var o=e.s.createSession(i)}catch(t){return void e.o(new ot(2,6,6005,t.message))}e.A.D(o,"message",(function(t){e.m&&e.h.delayLicenseRequestUntilPlayed&&e.m.paused&&!e.N?e.L.push(t):qo(e,t)})),e.A.D(o,"keystatuseschange",(function(t){return Xo(e,t)})),e.i.set(o,{initData:n,initDataType:t,loaded:!1,ye:1/0,Xa:null,type:i});try{n=e.h.initDataTransform(n,t,e.g)}catch(n){return t=n,n instanceof ot||(t=new ot(2,6,6016,n)),void e.o(t)}e.h.logLicenseExchange&&so(n),o.generateRequest(t,n).catch((function(t){if(!e.j.g){e.i.delete(o);var n=t.errorCode;if(n&&n.systemCode){var i=n.systemCode;0>i&&(i+=Math.pow(2,32)),i="0x"+i.toString(16)}e.o(new ot(2,6,6006,t.message,t,i))}}))}(e,t,n,e.g.sessionType)}}function Wo(e){return!!e&&!!e.match(/^com\.(microsoft|chromecast)\.playready/)}function jo(e){return e=Di(e=e.i.keys(),(function(e){return e.sessionId})),Array.from(e)}function Yo(e,t,n){var i,o,r,a,s,c,u,d,p,h,f,m,_,g;return k((function(E){switch(E.g){case 1:if(i=new Map,n.length){o=function(e,t,n){for(var i=l(t),o=i.next();!o.done;o=i.next()){var r=l(er(o.value));for(o=r.next();!o.done;o=r.next())o=o.value,n.has(o.keySystem)||n.set(o.keySystem,[]),n.get(o.keySystem).push(o)}if(1==n.size&&n.has(""))throw new ot(2,6,6e3);for(i={},e=l(e.h.preferredKeySystems),o=e.next();!o.done;i={Ud:i.Ud},o=e.next())for(i.Ud=o.value,r=l(t),o=r.next();!o.done;o=r.next())if(o=o.value.decodingInfos.find(function(e){return function(t){return t.supported&&null!=t.keySystemAccess&&t.keySystemAccess.keySystem==e.Ud}}(i)))return o.keySystemAccess;for(e=l([!0,!1]),o=e.next();!o.done;o=e.next())for(i=o.value,r=l(t),o=r.next();!o.done;o=r.next()){var a=l(o.value.decodingInfos);for(o=a.next();!o.done;o=a.next()){var s=o.value;if(s.supported&&s.keySystemAccess){var c=l(o=n.get(s.keySystemAccess.keySystem));for(o=c.next();!o.done;o=c.next())if(!!o.value.licenseServerUri==i)return s.keySystemAccess}}}return null}(e,n,i),E.B(2);break}return y(E,function(e,t){var n,i,o,r,a,s,c,u,d,p,h,f,m,_,g;return k((function(E){switch(E.g){case 1:if(1==t.size&&t.has(""))throw new ot(2,6,6e3);for(i=l(t.values()),o=i.next();!o.done;o=i.next())0==(r=o.value).audioCapabilities.length&&delete r.audioCapabilities,0==r.videoCapabilities.length&&delete r.videoCapabilities;a=l(e.h.preferredKeySystems),s=a.next();case 2:if(s.done){E.B(4);break}if(c=s.value,!t.has(c)){E.B(3);break}return u=t.get(c),S(E,6),y(E,navigator.requestMediaKeySystemAccess(c,[u]),8);case 8:return n=E.h,E.return(n);case 6:I(E);case 7:Pi(e.j);case 3:s=a.next(),E.B(2);break;case 4:d=l([!0,!1]),p=d.next();case 9:if(p.done){E.B(11);break}h=p.value,f=l(t.keys()),s=f.next();case 12:if(s.done){p=d.next(),E.B(9);break}if(m=s.value,_=t.get(m),g=_.drmInfos.some((function(e){return!!e.licenseServerUri})),g!=h){E.B(13);break}return S(E,15),y(E,navigator.requestMediaKeySystemAccess(m,[_]),17);case 17:return n=E.h,E.return(n);case 15:I(E);case 16:Pi(e.j);case 13:s=f.next(),E.B(12);break;case 11:return E.return(n)}}))}(e,t),3);case 3:o=E.h;case 2:if(!(r=o))throw new ot(2,6,6001);for(Pi(e.j),S(E,4),e.G.clear(),a=r.getConfiguration(),s=a.audioCapabilities||[],c=a.videoCapabilities||[],u=l(s),d=u.next();!d.done;d=u.next())p=d.value,e.G.add(p.contentType.toLowerCase());for(h=l(c),d=h.next();!d.done;d=h.next())f=d.value,e.G.add(f.contentType.toLowerCase());if(n.length){var v=r.keySystem,b=i.get(r.keySystem),T=[],O=[],C=[],R=[],N=new Set;nr(b,T,C,O,R,N);var P=e.M?"persistent-license":"temporary";for(v={keySystem:v,licenseServerUri:T[0],distinctiveIdentifierRequired:b[0].distinctiveIdentifierRequired,persistentStateRequired:b[0].persistentStateRequired,sessionType:b[0].sessionType||P,audioRobustness:b[0].audioRobustness||"",videoRobustness:b[0].videoRobustness||"",serverCertificate:C[0],serverCertificateUri:O[0],initData:R,keyIds:N},T=(b=l(b)).next();!T.done;T=b.next())(T=T.value).distinctiveIdentifierRequired&&(v.distinctiveIdentifierRequired=T.distinctiveIdentifierRequired),T.persistentStateRequired&&(v.persistentStateRequired=T.persistentStateRequired);b=v}else b=r.keySystem,v=t.get(r.keySystem),T=[],O=[],C=[],R=[],N=new Set,nr(v.drmInfos,T,C,O,R,N),b={keySystem:b,licenseServerUri:T[0],distinctiveIdentifierRequired:"required"==v.distinctiveIdentifier,persistentStateRequired:"required"==v.persistentState,sessionType:v.sessionTypes[0]||"temporary",audioRobustness:(v.audioCapabilities?v.audioCapabilities[0].robustness:"")||"",videoRobustness:(v.videoCapabilities?v.videoCapabilities[0].robustness:"")||"",serverCertificate:C[0],serverCertificateUri:O[0],initData:R,keyIds:N};if(e.g=b,!e.g.licenseServerUri)throw new ot(2,6,6012,e.g.keySystem);return y(E,r.createMediaKeys(),6);case 6:if(m=E.h,Pi(e.j),e.s=m,""==e.h.minHdcpVersion||!("getStatusForPolicy"in e.s)){E.B(7);break}return S(E,8),y(E,e.s.getStatusForPolicy({minHdcpVersion:e.h.minHdcpVersion}),10);case 10:if("usable"!=E.h)throw new ot(2,6,6018);Pi(e.j),A(E,7,4);break;case 8:if((_=I(E,4))instanceof ot)throw _;throw new ot(2,6,6019,_.message);case 7:return e.Y=!0,y(E,Bo(e),11);case 11:Pi(e.j),A(E,0);break;case 4:if(g=I(E),Pi(e.j,g),e.g=null,e.G.clear(),g instanceof ot)throw g;throw new ot(2,6,6002,g.message)}}))}function zo(e){tr(e)&&e.l.resolve()}function Ko(e,t){new Ht((function(){t.loaded=!0,zo(e)})).S(rr)}function Jo(e,t,n){var i,o,r,a,s,c,l;return k((function(u){switch(u.g){case 1:try{i=e.s.createSession("persistent-license")}catch(t){return o=new ot(2,6,6005,t.message),e.o(o),u.return(Promise.reject(o))}return e.A.D(i,"message",(function(t){e.m&&e.h.delayLicenseRequestUntilPlayed&&e.m.paused&&!e.N?e.L.push(t):qo(e,t)})),e.A.D(i,"keystatuseschange",(function(t){return Xo(e,t)})),r={initData:n.initData,initDataType:n.initDataType,loaded:!1,ye:1/0,Xa:null,type:"persistent-license"},e.i.set(i,r),S(u,2),y(u,i.load(t),4);case 4:return a=u.h,Pi(e.j),a||(e.i.delete(i),s=e.h.persistentSessionOnlinePlayback?1:2,e.o(new ot(s,6,6013)),r.loaded=!0),Ko(e,r),zo(e),u.return(i);case 2:c=I(u),Pi(e.j,c),e.i.delete(i),l=e.h.persistentSessionOnlinePlayback?1:2,e.o(new ot(l,6,6005,c.message)),r.loaded=!0,zo(e);case 3:return u.return(Promise.resolve())}}))}function qo(e,t){var n,i,o,r,a,s,c,u,d,p,h,f;k((function(m){switch(m.g){case 1:if(n=t.target,e.h.logLicenseExchange&&so(t.message),i=e.i.get(n),o=e.g.licenseServerUri,r=e.h.advanced[e.g.keySystem],"individualization-request"==t.messageType&&r&&r.individualizationServer&&(o=r.individualizationServer),(a=Si([o],e.h.retryParameters)).body=t.message,a.method="POST",a.licenseRequestType=t.messageType,a.sessionId=n.sessionId,a.drmInfo=e.g,i&&(a.initData=i.initData,a.initDataType=i.initDataType),Wo(e.g.keySystem)){var _=Hi(a.body,!0,!0);if(_.includes("PlayReadyKeyMessage")){for(var g=l((_=wo(_,"PlayReadyKeyMessage")).getElementsByTagName("HttpHeader")),E=g.next();!E.done;E=g.next())E=E.value,a.headers[E.getElementsByTagName("name")[0].textContent]=E.getElementsByTagName("value")[0].textContent;a.body=co(_.getElementsByTagName("Challenge")[0].textContent)}else a.headers["Content-Type"]="text/xml; charset=utf-8"}return s=Date.now(),S(m,2),y(m,e.C.Ib.request(2,a).promise,4);case 4:c=m.h,A(m,3);break;case 2:return u=I(m),d=new ot(2,6,6007,u),e.o(d),i&&i.Xa&&i.Xa.reject(d),m.return();case 3:return e.j.g?m.return():(e.H+=(Date.now()-s)/1e3,e.h.logLicenseExchange&&so(c.data),S(m,5),y(m,n.update(c.data),7));case 7:A(m,6);break;case 5:return p=I(m),h=new ot(2,6,6008,p.message),e.o(h),i&&i.Xa&&i.Xa.reject(h),m.return();case 6:if(e.j.g)return m.return();f=new pi("drmsessionupdate"),e.C.onEvent(f),i&&(i.Xa&&i.Xa.resolve(),Ko(e,i)),b(m)}}))}function Xo(e,t){t=t.target;var n=e.i.get(t),i=!1;t.keyStatuses.forEach((function(t,o){if("string"==typeof o){var r=o;o=t,t=r}if(Wo(e.g.keySystem)&&16==o.byteLength&&(jt()||qt())){var a=(r=re(o)).getUint32(0,!0),s=r.getUint16(4,!0),c=r.getUint16(6,!0);r.setUint32(0,a,!1),r.setUint16(4,s,!1),r.setUint16(6,c,!1)}"status-pending"!=t&&(n.loaded=!0),"expired"==t&&(i=!0),o=uo(o).slice(0,32),e.V.set(o,t)}));var o=t.expiration-Date.now();(0>o||i&&1e3>o)&&n&&!n.Xa&&(e.i.delete(t),t.close().catch((function(){}))),tr(e)&&(e.l.resolve(),e.W.S(ar))}function $o(e){var t;return k((function(n){return t=Array.from(e.i.entries()),e.i.clear(),y(n,Promise.all(t.map((function(t){var n=(t=l(t)).next().value,i=t.next().value;return k((function(t){return 1==t.g?(S(t,2),e.ga||e.u.has(n.sessionId)||"persistent-license"!==i.type||e.h.persistentSessionOnlinePlayback?y(t,function(e){var t;return k((function(n){return 1==n.g?(t=new Promise((function(e,t){new Ht(t).S(or)})),S(n,2),y(n,Promise.race([Promise.all([e.close(),e.closed]),t]),4)):2!=n.g?A(n,0):(I(n),void b(n))}))}(n),5):y(t,n.remove(),5)):2!=t.g?A(t,0):(I(t),void b(t))}))}))),0)}))}function Zo(e,t){return!e.length||!t.length||e===t||0<Qo(e,t).length}function Qo(e,t){if(!e.length)return t;if(!t.length)return e;for(var n=[],i=(e=l(e)).next();!i.done;i=e.next()){i=i.value;for(var o={},r=l(t),a=r.next();!a.done;o={Ma:o.Ma},a=r.next())if(a=a.value,i.keySystem==a.keySystem){o.Ma=[],o.Ma=o.Ma.concat(i.initData||[]),o.Ma=o.Ma.concat(a.initData||[]),o.Ma=o.Ma.filter(function(e){return function(t,n){return void 0===t.keyId||n===e.Ma.findIndex((function(e){return e.keyId===t.keyId}))}}(o)),r=i.keyIds&&a.keyIds?new Set([].concat(u(i.keyIds),u(a.keyIds))):i.keyIds||a.keyIds,n.push({keySystem:i.keySystem,licenseServerUri:i.licenseServerUri||a.licenseServerUri,distinctiveIdentifierRequired:i.distinctiveIdentifierRequired||a.distinctiveIdentifierRequired,persistentStateRequired:i.persistentStateRequired||a.persistentStateRequired,videoRobustness:i.videoRobustness||a.videoRobustness,audioRobustness:i.audioRobustness||a.audioRobustness,serverCertificate:i.serverCertificate||a.serverCertificate,serverCertificateUri:i.serverCertificateUri||a.serverCertificateUri,initData:o.Ma,keyIds:r});break}}return n}function er(e){return(e.video?e.video.drmInfos:[]).concat(e.audio?e.audio.drmInfos:[])}function tr(e){return function(e,t){for(var n=(e=l(e)).next();!n.done;n=e.next())if(!t(n.value))return!1;return!0}(e=e.i.values(),(function(e){return e.loaded}))}function nr(e,t,n,i,o,r){for(var a={},s=(e=l(e)).next();!s.done;a={sa:a.sa},s=e.next()){if(a.sa=s.value,t.includes(a.sa.licenseServerUri)||t.push(a.sa.licenseServerUri),i.includes(a.sa.serverCertificateUri)||i.push(a.sa.serverCertificateUri),a.sa.serverCertificate&&(n.some(function(e){return function(t){return te(t,e.sa.serverCertificate)}}(a))||n.push(a.sa.serverCertificate)),a.sa.initData){s={};for(var c=l(a.sa.initData),u=c.next();!u.done;s={bd:s.bd},u=c.next())s.bd=u.value,o.some(function(e){return function(t){var n=e.bd;return!(!t.keyId||t.keyId!=n.keyId)||t.initDataType==n.initDataType&&te(t.initData,n.initData)}}(s))||o.push(s.bd)}if(a.sa.keyIds)for(c=(s=l(a.sa.keyIds)).next();!c.done;c=s.next())r.add(c.value)}}function ir(t,n,i,o){var r=t.keySystem;!r||"org.w3.clearkey"==r&&t.licenseServerUri||(n.size&&(n=n.get(r)||"",t.licenseServerUri=n),t.keyIds||(t.keyIds=new Set),(i=i.get(r))&&(t.distinctiveIdentifierRequired||(t.distinctiveIdentifierRequired=i.distinctiveIdentifierRequired),t.persistentStateRequired||(t.persistentStateRequired=i.persistentStateRequired),t.videoRobustness||(t.videoRobustness=i.videoRobustness),t.audioRobustness||(t.audioRobustness=i.audioRobustness),t.serverCertificate||(t.serverCertificate=i.serverCertificate),i.sessionType&&(t.sessionType=i.sessionType),t.serverCertificateUri||(t.serverCertificateUri=i.serverCertificateUri)),o[r]&&(t.keySystem=o[r]),e.cast&&e.cast.__platform__&&"com.microsoft.playready"==r&&(t.keySystem="com.chromecast.playready"))}(i=xo.prototype).destroy=function(){return this.j.destroy()},i.configure=function(e){this.h=e},i.yc=function(e){var t=this;return k((function(n){if(1==n.g)return t.s?(t.m=e,t.A.la(t.m,"play",(function(){for(var e=l(t.L),n=e.next();!n.done;n=e.next())qo(t,n.value);t.N=!0,t.L=[]})),"webkitCurrentPlaybackTargetIsWireless"in t.m&&t.A.D(t.m,"webkitcurrentplaybacktargetiswirelesschanged",(function(){return $o(t)})),t.I=t.g&&t.g.initData.find((function(e){return 0<e.initData.length}))||null,t.I||"com.apple.fps"!==t.g.keySystem||t.u.size?y(n,Fo(t),2):n.B(2)):(t.A.la(e,"encrypted",(function(){t.o(new ot(2,6,6010))})),n.return());Ho(t).catch((function(){})),t.I||t.u.size||t.h.parseInbandPsshEnabled||t.A.D(t.m,"encrypted",(function(e){return function(e,t){return k((function(n){if(1==n.g)return y(n,Fo(e),2);Go(e,t.initDataType,oe(t.initData)),b(n)}))}(t,e)})),b(n)}))},i.ce=function(){var e=this,t=this.i.keys();return t=Di(t,(function(t){var n=e.i.get(t);return{sessionId:t.sessionId,sessionType:n.type,initData:n.initData,initDataType:n.initDataType}})),Array.from(t)},i.Ic=function(){for(var e=1/0,t=this.i.keys(),n=(t=l(t)).next();!n.done;n=t.next())n=n.value,isNaN(n.expiration)||(e=Math.min(e,n.expiration));return e},i.qd=function(){return Ui(this.Z)};var or=1,rr=5,ar=.5,sr=new Mi((function(){return ie(new Uint8Array([0]))}));function cr(){}function lr(e,t,n,i){var o,r,a,s;return k((function(c){if(1==c.g)return i&&(o=pr[i.toLowerCase()])?c.return(o):(r=dr(e))&&(a=hr[r])?c.return(a):i?c.B(2):y(c,ur(e,t,n),3);if(2!=c.g&&(i=c.h)&&(s=pr[i]))return c.return(s);throw new ot(2,4,4e3,e)}))}function ur(e,t,n){var i,o,r;return k((function(a){return 1==a.g?((i=Si([e],n)).method="HEAD",y(a,t.request(0,i).promise,2)):(o=a.h,r=o.headers["content-type"],a.return(r?r.toLowerCase().split(";").shift():""))}))}function dr(e){return 1==(e=new je(e).ua.split("/").pop().split(".")).length?"":e.pop().toLowerCase()}B("shaka.media.ManifestParser",cr),cr.unregisterParserByMime=function(e){delete pr[e]},cr.registerParserByMime=function(e,t){pr[e]=t},cr.registerParserByExtension=function(e,t){hr[e]=t},cr.AccessibilityPurpose={bi:"visually impaired",Eh:"hard of hearing"};var pr={},hr={};function fr(e,t,n,i,o){var r=_r.value(),a=e.subarray(n.start,n.start+n.size),s=re(a),c=new Uint8Array(n.size+r.byteLength);for(c.set(a,0),(a=re(c)).setUint32(4,o),c.set(r,n.size),o=s.getUint32(4),a.setUint32(n.size+16,o),mr(c,0,c.byteLength),o=new Uint8Array(e.byteLength+c.byteLength),n=Yt()?n.start:n.start+n.size,r=e.subarray(n),o.set(e.subarray(0,n)),o.set(c,n),o.set(r,n+c.byteLength),i=(e=l(i)).next();!i.done;i=e.next())mr(o,(i=i.value).start,i.size+c.byteLength);return c=re(o,t.start),t=no(t),e=c.getUint32(t),c.setUint32(t,e+1),o}function mr(e,t,n){0!=(t=(e=re(e,t)).getUint32(0))&&(1==t?(e.setUint32(8,n>>32),e.setUint32(12,4294967295&n)):e.setUint32(0,n))}var _r=new Mi((function(){return new Uint8Array([0,0,0,80,115,105,110,102,0,0,0,12,102,114,109,97,0,0,0,0,0,0,0,20,115,99,104,109,0,0,0,0,99,101,110,99,0,1,0,0,0,0,0,40,115,99,104,105,0,0,0,32,116,101,110,99,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])}));function gr(e,t,n,i,o,r){this.xa=e,this.Ca=t,this.ka=n,this.se=void 0===i?null:i,this.timescale=void 0===o?null:o,this.g=void 0===r?null:r}function Er(e,t,n,i,o,r,a,s,c,l,u,d,p,h,f){l=void 0===l?[]:l,h=void 0===h?vr:h,this.startTime=e,this.l=this.endTime=t,this.F=n,this.Ca=i,this.ka=o,this.h=r,this.timestampOffset=a,this.appendWindowStart=s,this.appendWindowEnd=c,this.i=l,this.tilesLayout=void 0===u?"":u,this.C=void 0===d?null:d,this.g=void 0===p?null:p,this.status=h,this.m=!1,this.s=!0,this.o=!1,this.u=void 0===f?null:f,this.A=null,this.j=0}gr.prototype.Lc=function(){return this.Ca},gr.prototype.Hc=function(){return this.ka},B("shaka.media.InitSegmentReference",gr),gr.prototype.getEndByte=gr.prototype.Hc,gr.prototype.getStartByte=gr.prototype.Lc,(i=Er.prototype).xa=function(){return this.F()},i.getStartTime=function(){return this.startTime},i.mg=function(){return this.endTime},i.Lc=function(){return this.Ca},i.Hc=function(){return this.ka},i.Eg=function(){return this.tilesLayout},i.Dg=function(){return this.C},i.Db=function(){return this.status},i.Qg=function(){this.status=yr},i.re=function(){this.m=!0},i.Og=function(){return this.m},i.vf=function(){this.s=!1},i.Ng=function(){return this.s},i.uf=function(){this.o=!0},i.Kg=function(){return this.o},i.Jf=function(e){this.A=e},i.Bg=function(){return this.A},i.offset=function(e){this.startTime+=e,this.endTime+=e,this.l+=e;for(var t=l(this.i),n=t.next();!n.done;n=t.next())(n=n.value).startTime+=e,n.endTime+=e,n.l+=e},i.Qe=function(e){null==this.g?Y("Sync attempted without sync time!"):(e=this.g-e-this.startTime,.001<=Math.abs(e)&&this.offset(e))},B("shaka.media.SegmentReference",Er),Er.prototype.syncAgainst=Er.prototype.Qe,Er.prototype.offset=Er.prototype.offset,Er.prototype.getThumbnailSprite=Er.prototype.Bg,Er.prototype.setThumbnailSprite=Er.prototype.Jf,Er.prototype.hasByterangeOptimization=Er.prototype.Kg,Er.prototype.markAsByterangeOptimization=Er.prototype.uf,Er.prototype.isIndependent=Er.prototype.Ng,Er.prototype.markAsNonIndependent=Er.prototype.vf,Er.prototype.isPreload=Er.prototype.Og,Er.prototype.markAsPreload=Er.prototype.re,Er.prototype.markAsUnavailable=Er.prototype.Qg,Er.prototype.getStatus=Er.prototype.Db,Er.prototype.getTileDuration=Er.prototype.Dg,Er.prototype.getTilesLayout=Er.prototype.Eg,Er.prototype.getEndByte=Er.prototype.Hc,Er.prototype.getStartByte=Er.prototype.Lc,Er.prototype.getEndTime=Er.prototype.mg,Er.prototype.getStartTime=Er.prototype.getStartTime,Er.prototype.getUris=Er.prototype.xa;var vr=0,yr=1;function br(e){return!e||1==e.length&&1e-6>e.end(0)-e.start(0)?null:e.length?e.end(e.length-1):null}function Sr(e,t){return!(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0)||t>e.end(e.length-1))&&t>=e.start(0)}function Tr(e,t){if(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0))return 0;for(var n=0,i=(e=l(Ar(e))).next();!i.done;i=e.next()){var o=i.value;i=o.start,(o=o.end)>t&&(n+=o-Math.max(i,t))}return n}function Ar(e){if(!e)return[];for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}function Ir(){}function Or(e,t){return t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&255>e[t+3]&&255>e[t+4]&&128>e[t+6]&&128>e[t+7]&&128>e[t+8]&&128>e[t+9]}function Cr(e,t){return t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&255>e[t+3]&&255>e[t+4]&&128>e[t+6]&&128>e[t+7]&&128>e[t+8]&&128>e[t+9]}function Rr(e,t){var n=(127&e[t])<<21;return n|=(127&e[t+1])<<14,(n|=(127&e[t+2])<<7)|127&e[t+3]}function Nr(e){var t={key:e.type,description:"",data:""};if("TXXX"===e.type){if(2>e.size||3!==e.data[0])return null;var n=e.data.subarray(1).indexOf(0);if(-1===n)return null;var i=Bi(oe(e.data,1,n));return e=Bi(oe(e.data,2+n)).replace(/\0*$/,""),t.description=i,t.data=e,t}return"WXXX"===e.type?2>e.size||3!==e.data[0]||-1===(n=e.data.subarray(1).indexOf(0))?null:(i=Bi(oe(e.data,1,n)),e=Bi(oe(e.data,2+n)).replace(/\0*$/,""),t.description=i,t.data=e,t):"PRIV"===e.type?2>e.size||-1===(i=e.data.indexOf(0))?null:(i=Bi(oe(e.data,0,i)),t.description=i,"com.apple.streaming.transportStreamTimestamp"==i?(i=e.data.subarray(i.length+1),e=1&i[3],i=(i[4]<<23)+(i[5]<<15)+(i[6]<<7)+i[7],i/=45,e&&(i+=47721858.84),t.data=i):(e=ie(e.data.subarray(i.length+1)),t.data=e),t):"T"===e.type[0]?2>e.size||3!==e.data[0]?null:(e=Bi(e.data.subarray(1)).replace(/\0*$/,""),t.data=e,t):"W"===e.type[0]?(e=Bi(e.data).replace(/\0*$/,""),t.data=e,t):e.data?(t.data=ie(e.data),t):null}function Pr(e){for(var t=0,n=[];Or(e,t);){var i=Rr(e,t+6);for(e[t+5]>>6&1&&(t+=10),i=(t+=10)+i;t+10<i;){var o=e.subarray(t),r=Rr(o,4);(r=Nr(o={type:String.fromCharCode(o[0],o[1],o[2],o[3]),size:r,data:o.subarray(10,10+r)}))&&n.push(r),t+=o.size+10}Cr(e,t)&&(t+=10)}return n}function Lr(e,t){for(var n=t=void 0===t?0:t,i=0;Or(e,t);)e[t+5]>>6&1&&(i+=10),i+=10,i+=Rr(e,t+6),Cr(e,t+10)&&(i+=10),t+=i;return 0<i?e.subarray(n,n+i):new Uint8Array([])}function kr(e,t){var n=null,i=null,o=null,r=e.K();return 1&t&&(o=e.dc()),2&t&&e.skip(4),8&t&&(n=e.K()),16&t&&(i=e.K()),{trackId:r,gf:n,fg:i,di:o}}function wr(e,t){return 1==t?(t=e.K(),e=e.K(),{baseMediaDecodeTime:t*Math.pow(2,32)+e}):{baseMediaDecodeTime:e.K()}}function Dr(e,t){return 1==t?(e.skip(8),e.skip(8)):(e.skip(4),e.skip(4)),t=e.K(),e.skip(4),e=e.Ja(),{timescale:t,language:String.fromCharCode(96+(e>>10))+String.fromCharCode(96+((960&e)>>5))+String.fromCharCode(96+(31&e))}}function Mr(e,t,n){var i=e.K(),o=[],r=null;1&n&&(r=e.K()),4&n&&e.skip(4);for(var a=0;a<i;a++){var s={Je:null,sampleSize:null,Md:null};256&n&&(s.Je=e.K()),512&n&&(s.sampleSize=e.K()),1024&n&&e.skip(4),2048&n&&(s.Md=0==t?e.K():e.zf()),o.push(s)}return{hi:i,Bf:o,eg:r}}function xr(e,t){1==t?(e.skip(8),e.skip(8)):(e.skip(4),e.skip(4));var n=e.K();return 1==t?e.skip(8):e.skip(4),e.skip(4),e.skip(8),e.skip(2),e.skip(2),e.skip(2),e.skip(2),e.skip(36),{trackId:n,width:t=e.Ja()+e.Ja()/16,height:e=e.Ja()+e.Ja()/16}}function Ur(e,t){return e.skip(87),{pa:t+"."+this.g(e.ra())+this.g(e.ra())+this.g(e.ra())}}function Vr(e){return{pa:to(e=e.K())}}function Fr(e){this.j=e,this.i=e.byteLength,this.g=this.h=0}function Br(e){var t=e.j.byteLength-e.i,n=new Uint8Array(4),i=Math.min(4,e.i);0!==i&&(n.set(e.j.subarray(t,t+i)),e.h=new zi(n,0).K(),e.g=8*i,e.i-=i)}function Hr(e,t){if(e.g<=t){t-=e.g;var n=Math.floor(t/8);t-=8*n,e.g-=n,Br(e)}e.h<<=t,e.g-=t}function Gr(e,t){var n=Math.min(e.g,t),i=e.h>>>32-n;return e.g-=n,0<e.g?e.h<<=n:0<e.i&&Br(e),0<(n=t-n)?i<<n|Gr(e,n):i}function Wr(e){var t;for(t=0;t<e.g;++t)if(0!=(e.h&2147483648>>>t))return e.h<<=t,e.g-=t,t;return Br(e),t+Wr(e)}function jr(e){Hr(e,1+Wr(e))}function Yr(e){return Gr(e,Wr(e)+1)-1}function zr(e,t){for(var n=8,i=8,o=0;o<t;o++)0!==i&&(i=(n+(1&(i=Yr(e))?1+i>>>1:-1*(i>>>1))+256)%256),n=0===i?n:i}function Kr(e){return Gr(e,8),Yr(e),Yr(e)}function Jr(){this.u=null,this.A=!1,this.m=this.o=null,this.i=[],this.s=this.j=null,this.g=[],this.l=null,this.h=[]}function qr(e){if(1!=(e[0]<<16|e[1]<<8|e[2]))return null;var t={data:new Uint8Array(0),Be:e[4]<<8|e[5],pts:null,dts:null};if(t.Be&&t.Be>e.byteLength-6)return null;var n=e[7];return 192&n&&(t.pts=536870912*(14&e[9])+4194304*(255&e[10])+16384*(254&e[11])+128*(255&e[12])+(254&e[13])/2,t.dts=t.pts,64&n&&(t.dts=536870912*(14&e[14])+4194304*(255&e[15])+16384*(254&e[16])+128*(255&e[17])+(254&e[18])/2)),n=e[8]+9,e.byteLength<=n?null:(t.data=e.subarray(n),t)}function Xr(e){return!(0>$r(e))}function $r(e){for(var t=Math.min(1e3,e.length-564),n=0;n<t;){if(71==e[n]&&71==e[n+188]&&71==e[n+376])return n;n++}return-1}Er.Status={th:vr,$h:yr,Ih:2},B("shaka.util.Id3Utils",Ir),Ir.getID3Data=Lr,Ir.getID3Frames=Pr,B("shaka.util.ExpGolomb",Fr),(i=Jr.prototype).clearData=function(){this.i=[],this.g=[],this.h=[]},i.parse=function(e){if(564>e.length)return this;for(var t=Math.max(0,$r(e)),n=e.length-(e.length+t)%188,i=!1,o=t;o<n;o+=188)if(71==e[o]){var r=!!(64&e[o+1]),a=((31&e[o+1])<<8)+e[o+2];if(1<(48&e[o+3])>>4){var s=o+5+e[o+4];if(s==o+188)continue}else s=o+4;switch(a){case 0:r&&(s+=e[s]+1),this.u=(31&e[s+10])<<8|e[s+11];break;case 17:case 8191:break;case this.u:r&&(s+=e[s]+1),a={audio:-1,video:-1,he:-1,audioCodec:"",videoCodec:""};var c=s+3+((15&(r=e)[s+1])<<8|r[s+2])-4;for(s+=12+((15&r[s+10])<<8|r[s+11]);s<c;){var l=(31&r[s+1])<<8|r[s+2],u=(15&r[s+3])<<8|r[s+4];switch(r[s]){case 6:if(-1==a.audio&&0<u)for(var d=s+5,p=u;2<p;){switch(r[d]){case 106:a.audio=l,a.audioCodec="ac3";break;case 122:a.audio=l,a.audioCodec="ec3"}var h=r[d+1]+2;d+=h,p-=h}break;case 15:-1==a.audio&&(a.audio=l,a.audioCodec="aac");break;case 21:-1==a.he&&(a.he=l);break;case 27:-1==a.video&&(a.video=l,a.videoCodec="avc");break;case 3:case 4:-1==a.audio&&(a.audio=l,a.audioCodec="mp3");break;case 36:-1==a.video&&(a.video=l,a.videoCodec="hvc");break;case 129:-1==a.audio&&(a.audio=l,a.audioCodec="ac3");break;case 132:case 135:-1==a.audio&&(a.audio=l,a.audioCodec="ec3")}s+=u+5}r=a,null==this.o&&(this.o=r.video,this.m=r.videoCodec),null==this.j&&(this.j=r.audio,this.s=r.audioCodec),null==this.l&&(this.l=r.he),i&&!this.A&&(i=!1,o=t-188),this.A=!0;break;case this.o:s=e.subarray(s,o+188),r?this.i.push(s):this.i.length&&(r=this.i[this.i.length-1])&&(this.i[this.i.length-1]=po(r,s));break;case this.j:s=e.subarray(s,o+188),r?this.g.push(s):this.g.length&&(r=this.g[this.g.length-1])&&(this.g[this.g.length-1]=po(r,s));break;case this.l:s=e.subarray(s,o+188),r?this.h.push(s):this.h.length&&(r=this.h[this.h.length-1])&&(this.h[this.h.length-1]=po(r,s));break;default:i=!0}}return this},i.Ce=function(e,t){for(var n,i=e.pts?e.pts/9e4:null,o=e.data,r=o.byteLength,a=0,s=[],c=-1,l=0,u=!1,d=0;d<r;++d){var p=o[d];if(p){if(2<=a&&1==p&&u){if(0==(e=d-(3<a?3:a)))break;n.data=po(n.data,o.subarray(0,e)),n.bb=po(n.bb,o.subarray(0,e));break}if(2<=a&&1==p){if(0<=c&&(a=d-((3<a?3:a)+1),s.push({data:o.subarray(c+1,a+1),bb:o.subarray(c,a+1),type:l,time:i})),d>=r-1)return s;c=++d,l=31&o[d]}a=0}else a++;d>=r-1&&0<=c&&0<=a&&(u?(n.data=po(n.data,o),n.bb=po(n.bb,o)):(u=!0,n={data:o.subarray(c+1,r),bb:o.subarray(c,r),type:l,time:i},t&&0==e.Be&&(r=(o=t.data).byteLength,d=-1)))}return n&&s.push(n),s},i.getMetadata=function(){for(var e=[],t=l(this.h),n=t.next();!n.done;n=t.next())(n=qr(n.value))&&e.push({cueTime:n.pts?n.pts/9e4:null,data:n.data,frames:Pr(n.data),dts:n.dts,pts:n.pts});return e},i.zb=function(){for(var e=[],t=l(this.g),n=t.next();!n.done;n=t.next())(n=qr(n.value))&&e.push(n);return e},i.ud=function(){for(var e=[],t=l(this.i),n=t.next();!n.done;n=t.next()){var i=qr(n=n.value);i&&null!=i.pts&&null!=i.dts?e.push(i):e.length&&(n=i?i.data:n)&&((i=e.pop()).data=po(i.data,n),e.push(i))}return e},i.getStartTime=function(){for(var e=null,t=l(this.zb()),n=t.next();!n.done;n=t.next()){var i=n.value;i&&null!=i.pts&&(i=Math.min(i.dts,i.pts)/9e4,null==e||e>i)&&(e=i)}for(t=null,n=(i=l(this.ud())).next();!n.done;n=i.next())(n=n.value)&&null!=n.pts&&(n=Math.min(n.dts,n.pts)/9e4,null==t||t>n)&&(t=n);return{audio:e,video:t}},i.od=function(){return{audio:this.s,video:this.m}},i.ge=function(){var e=[];if("avc"!=this.m)return e;for(var t=this.ud(),n=0;n<t.length;n++){var i=t[n],o=void 0;n+1<t.length&&(o=t[n+1]),e.push.apply(e,u(this.Ce(i,o)))}return e},i.Hg=function(){Wn("TsParser","Please use getVideoInfo function instead.");var e=this.fe();return{height:e.height,width:e.width}},i.fe=function(){var e={height:null,width:null,pa:null},t=this.ge();if(!t.length)return e;if(!(t=t.find((function(e){return 7==e.type}))))return e;var n=Gr(t=new Fr(t.data),8),i=Gr(t,8),o=Gr(t,8);if(jr(t),Zr.includes(n)){var r=Yr(t);if(3===r&&Hr(t,1),jr(t),jr(t),Hr(t,1),1===Gr(t,1)){r=3!==r?8:12;for(var a=0;a<r;a++)1===Gr(t,1)&&zr(t,6>a?16:64)}}if(jr(t),0===(r=Yr(t)))Yr(t);else if(1===r)for(Hr(t,1),jr(t),jr(t),r=Yr(t),a=0;a<r;a++)jr(t);jr(t),Hr(t,1),r=Yr(t),a=Yr(t);var s=Gr(t,1);0===s&&Hr(t,1),Hr(t,1);var c=0,l=0,u=0,d=0;return 1===Gr(t,1)&&(c=Yr(t),l=Yr(t),u=Yr(t),d=Yr(t)),e.height=String((2-s)*(a+1)*16-2*u-2*d),e.width=String(16*(r+1)-2*c-2*l),e.pa="avc1."+("0"+n.toString(16).toUpperCase()).slice(-2)+("0"+i.toString(16).toUpperCase()).slice(-2)+("0"+o.toString(16).toUpperCase()).slice(-2),e},B("shaka.util.TsParser",Jr),Jr.syncOffset=$r,Jr.probe=Xr,Jr.prototype.getVideoInfo=Jr.prototype.fe,Jr.prototype.getVideoResolution=Jr.prototype.Hg,Jr.prototype.getVideoNalus=Jr.prototype.ge,Jr.prototype.getCodecs=Jr.prototype.od,Jr.prototype.getStartTime=Jr.prototype.getStartTime,Jr.prototype.getVideoData=Jr.prototype.ud,Jr.prototype.getAudioData=Jr.prototype.zb,Jr.prototype.getMetadata=Jr.prototype.getMetadata,Jr.prototype.parseAvcNalus=Jr.prototype.Ce,Jr.prototype.parse=Jr.prototype.parse,Jr.prototype.clearData=Jr.prototype.clearData,Jr.Timescale=9e4;var Zr=[100,110,122,244,44,83,86,118,128,138,139,134];function Qr(e,t,n){this.g=null,this.i=-1,this.j=e,this.h=t,this.l=n,"undefined"==typeof libDPIModule&&z("Could not Find LCEVC Library dependencies on this page"),"undefined"==typeof LcevcDil?z("Could not Find LCEVC Library on this page"):LcevcDil.SupportObject.SupportStatus||z(LcevcDil.SupportObject.SupportError),"undefined"!=typeof LcevcDil&&"undefined"!=typeof libDPIModule&&this.h instanceof HTMLCanvasElement&&LcevcDil.SupportObject.SupportStatus&&!this.g&&LcevcDil.SupportObject.webGLSupport(this.h)&&(this.h.classList.remove("shaka-hidden"),this.g=new LcevcDil.LcevcDil(this.j,this.h,this.l))}function ea(e,t){var n=ta;switch(t.mimeType){case"video/webm":n=na;break;case"video/mp4":n=ia}e.g&&(e.i=t.id,e.g.setLevelSwitching(t.id,!0),e.g.setContainerFormat(n))}Qr.prototype.release=function(){this.g&&(this.g.close(),this.g=null)},B("shaka.lcevc.Dil",Qr),Qr.prototype.release=Qr.prototype.release;var ta=0,na=1,ia=2;function oa(e,t,n,i){var o=this;this.l=e,this.C=null,this.u=t,this.h={},this.H={},this.X={},this.g=null,this.N=!1,this.Z=n||function(){},this.L=i||null,this.j={},this.A=new Li,this.m={},this.F=null,this.G=new ri,this.V="",this.i=ra(this,this.G),this.o=!1,this.I=new Ni((function(){return function(e){var t,n,i,o,r,a,s;return k((function(c){if(1==c.g){for(n in t=[],e.j)for(i=e.j[n],o=i[0],e.j[n]=i.slice(0,1),o&&t.push(o.p.catch(st)),r=l(i.slice(1)),a=r.next();!a.done;a=r.next())a.value.p.reject(new ot(2,7,7003,void 0));for(s in e.g&&t.push(e.g.destroy()),e.u&&t.push(e.u.destroy()),e.m)t.push(e.m[s].destroy());return y(c,Promise.all(t),2)}e.A&&(e.A.release(),e.A=null),e.l&&(e.l.removeAttribute("src"),e.l.load(),e.l=null),e.C=null,e.i=null,e.g=null,e.u=null,e.h={},e.m={},e.F=null,e.j={},e.L=null,b(c)}))}(o)})),this.s=!1,this.M="UNKNOWN",this.W=this.Y=!1,this.aa=new ri}function ra(e,t){var n=new MediaSource;return e.A.la(n,"sourceopen",(function(){URL.revokeObjectURL(e.V),t.resolve()})),e.V=Ta(n),e.l.src=e.V,n}function aa(e,t,n){var i=gt(n.mimeType,n.codecs);if(t==ht)sa(e,i,e.s,n.external);else{var o=e.C.forceTransmux;(!X(i)||!e.s&&Tt.includes(i))&&(o=!0);var r=Et(n.mimeType,n.codecs);o&&(o=Ue(r))&&(i=o(),e.m[t]=i,i=i.convertCodecs(t,r)),r=i+e.C.sourceBufferExtraFeatures,Pi(e.I);try{var a=e.i.addSourceBuffer(r)}catch(t){throw new ot(2,3,3015,t,"The mediaSource_ status was"+e.i.readyState+"expected 'open'")}e.s&&(a.mode=Aa),e.A.D(a,"error",(function(){e.j[t][0].p.reject(new ot(2,3,3014,e.l.error?e.l.error.code:0))})),e.A.D(a,"updateend",(function(){return Ea(e,t)})),e.h[t]=a,e.H[t]=i,e.X[t]=!!n.drmInfos.length}}function sa(e,t,n,i){e.g||(e.g=new At(e.u));var o=e.g;i=i||e.N,e=e.M,"application/cea-608"==t||"application/cea-708"==t?o.i=null:(o.i=(0,Rt[t])(),o.i.setSequenceMode?o.i.setSequenceMode(n):z('Text parsers should have a "setSequenceMode" method!'),o.i.setManifestType?o.i.setManifestType(e):z('Text parsers should have a "setManifestType" method!'),o.u=i)}function ca(e){return!e.o&&(!e.i||"ended"==e.i.readyState)}function la(e,t){return e.o?e=null:t==ht?e=e.g.g:e=!(e=da(e,t))||1==e.length&&1e-6>e.end(0)-e.start(0)?null:1==e.length&&0>e.start(0)?0:e.length?e.start(0):null,e}function ua(e,t){return e.o?null:t==ht?e.g.h:br(da(e,t))}function da(e,t){try{return e.h[t].buffered}catch(e){return null}}function pa(e,t,n,i,o,r,a,s){var c,u,d,p,h,f,m,_,g,E;return a=void 0!==a&&a,s=void 0!==s&&s,k((function(v){switch(v.g){case 1:if(t!=(c=ft).da){v.B(2);break}if(!e.s){v.B(3);break}return y(v,e.aa,4);case 4:u=v.h,e.g.s=u;case 3:return y(v,function(e,t,n,i){var o,r,a,s;return k((function(c){return 1==c.g?y(c,Promise.resolve(),2):e.i&&e.j?null==n||null==i?(e.i.parseInit(oe(t)),c.return()):(o=e.u?n:e.s,r={periodStart:e.s,segmentStart:n,segmentEnd:i,vttOffset:o},a=e.i.parseMedia(oe(t),r),s=a.filter((function(t){return t.startTime>=e.l&&t.startTime<e.m})),e.j.append(s),null==e.g&&(e.g=Math.max(n,e.l)),e.h=Math.min(i,e.m),void b(c)):c.return()}))}(e.g,n,i?i.startTime:null,i?i.endTime:null),5);case 5:return v.return();case 2:if(d=e.h[t].timestampOffset,p=e.H[t],e.m[t]&&(p=e.m[t].getOrginalMimeType()),i&&(h=function(e,t,n,i,o,r){var a=null,s=oe(n);if(Tt.includes(o))(r=Pr(s)).length&&i&&((t=r.find((function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description})))&&t.data&&(a=Math.round(t.data)/1e3),e.Z([{cueTime:i.startTime,data:s,frames:r,dts:i.startTime,pts:i.startTime}],0,i.endTime));else if(o.includes("/mp4")&&i&&0==i.timestampOffset&&i.h&&i.h.timescale){var c=i.h.timescale;if(!isNaN(c)){var l=0,u=!1;(new qi).box("moof",Xi).box("traf",Xi).O("tfdt",(function(e){l=wr(e.reader,e.version).baseMediaDecodeTime/c,u=!0,e.parser.stop()})).parse(n,!0),u&&(a=l)}}else o.includes("/mp4")||o.includes("/webm")||!Xr(s)||(null!=(t=(s=(new Jr).parse(s)).getStartTime()[t])&&(a=t),(s=s.getMetadata()).length&&e.Z(s,r,i?i.endTime:null));return a}(e,t,n,i,p,d),null!=h)&&(f=i.startTime-h,(.1<=Math.abs(d-f)||a||s)&&(d=f,e.W&&(va(e,t,(function(){return _a(e,t)})),va(e,t,(function(){return ga(e,t,d)})))),m=t==c.wa||!(c.wa in e.h),e.s&&m&&e.aa.resolve(d)),r&&t==c.wa&&(e.g||sa(e,"application/cea-608",e.s,!1),e.F||(_=p.split(";",1)[0],e.F=new ce(_)),i?(g=e.F.j(n)).length&&function(e,t,n,i,o){for(var r=n+" "+i,a=new Map,s=(t=l(t)).next();!s.done;s=t.next()){var c=s.value;s=c.stream,c=c.cue,a.has(s)||a.set(s,new Map),a.get(s).has(r)||a.get(s).set(r,[]),Ct(e,c,o),c.startTime>=e.l&&c.startTime<e.m&&(a.get(s).get(r).push(c),s==e.A&&e.j.append([c]))}for(r=(o=l(a.keys())).next();!r.done;r=o.next())for(r=r.value,e.o.has(r)||e.o.set(r,new Map),s=(t=l(a.get(r).keys())).next();!s.done;s=t.next())s=s.value,c=a.get(r).get(s),e.o.get(r).set(s,c);e.g=null==e.g?Math.max(n,e.l):Math.min(e.g,Math.max(n,e.l)),e.h=Math.max(e.h,Math.min(i,e.m))}(e.g,g,i.startTime,i.endTime,d):e.F.init(n)),!e.m[t]){v.B(6);break}return y(v,e.m[t].transmux(n,o,i,e.i.duration,t),7);case 7:n=v.h;case 6:return n=function(e,t,n,i){var o=e.X[i];return e.C.insertFakeEncryptionInInit&&null==n&&o&&(zt()||Yt())&&"mp4"==e.H[i].split(";")[0].split("/")[1]&&(t=function(e){function t(){o=!0}function n(e){r.push(e),Xi(e)}e=oe(e);var i,o=!1,r=[],a=[];if((new qi).box("moov",n).box("trak",n).box("mdia",n).box("minf",n).box("stbl",n).O("stsd",(function(e){i=e,r.push(e),$i(e)})).O("encv",t).O("enca",t).O("hev1",(function(e){a.push({box:e,Jb:1701733238})})).O("hvc1",(function(e){a.push({box:e,Jb:1701733238})})).O("avc1",(function(e){a.push({box:e,Jb:1701733238})})).O("avc3",(function(e){a.push({box:e,Jb:1701733238})})).O("ac-3",(function(e){a.push({box:e,Jb:1701733217})})).O("ec-3",(function(e){a.push({box:e,Jb:1701733217})})).O("mp4a",(function(e){a.push({box:e,Jb:1701733217})})).parse(e),o)return e;if(0==a.length||!i)throw uo(e),new ot(2,3,3019);a.reverse();for(var s=l(a),c=s.next();!c.done;c=s.next())c=c.value,e=fr(e,i,c.box,r,c.Jb);return e}(t)),t}(e,n,i?i.startTime:null,t),i&&e.s&&t!=c.da&&(a||s)&&(E=i.startTime,va(e,t,(function(){return _a(e,t)})),va(e,t,(function(){return ga(e,t,E)}))),y(v,va(e,t,(function(){var i=n;if("video"==t&&e.L){var o=e.L;o.g&&o.g.appendBuffer(i,"video",o.i)}e.h[t].appendBuffer(i)})),8);case 8:b(v)}}))}function ha(e,t){return k((function(n){return t==ft.da?e.g?y(n,e.g.remove(0,1/0),0):n.return():y(n,va(e,t,(function(){var n=e.i.duration;0>=n?Ea(e,t):e.h[t].remove(0,n)})),0)}))}function fa(t,n,i,o,r,a,s,c){var u;return k((function(d){return 1==d.g?n==ft.da?(a||(t.g.s=i),function(e,t,n){e.l=t,e.m=n}(t.g,o,r),d.return()):(u=[],y(d,function(t,n,i,o){var r,a,s,c,u,d,p,h,f;return k((function(m){return 1==m.g?(r=St(bt(t.H[n]))[0],a=t.H[n].split(";")[0],c=gt(i.mimeType,i.codecs),u=t.C.forceTransmux,(!X(c)||!t.s&&Tt.includes(c))&&(u=!0),d=Et(i.mimeType,i.codecs),u&&(p=Ue(d))&&(s=p(),c=s.convertCodecs(n,d)),h=St(bt(c))[0],f=c.split(";")[0],r===h&&a===f?m.return(!1):e.SourceBuffer&&SourceBuffer.prototype&&SourceBuffer.prototype.changeType?y(m,function(t,n,i,o){return va(t,n,(function(){n!==ht&&(e.SourceBuffer&&SourceBuffer.prototype&&SourceBuffer.prototype.changeType&&(t.m[n]&&t.m[n].destroy(),o&&(t.m[n]=o),t.h[n].changeType(i+t.C.sourceBufferExtraFeatures),t.H[n]=i),Ea(t,n))}))}(t,n,c,s),3):(s&&s.destroy(),y(m,function(e,t){return ya(e,(function(){return function(e,t){var n,i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,b,S;return k((function(A){switch(A.g){case 1:for(o in e.o=!0,n=e.l.currentTime,T(A),e.A.ub(),i=[],e.m)i.push(e.m[o].destroy());for(r in e.j)for(a=e.j[r],s=a[0],e.j[r]=a.slice(0,1),s&&i.push(s.p.catch(st)),c=l(a.slice(1)),u=c.next();!u.done;u=c.next())u.value.p.reject(new ot(2,7,7003,void 0));for(d in e.h){p=e.h[d];try{e.i.removeSourceBuffer(p)}catch(e){}}return y(A,Promise.all(i),4);case 4:return e.m={},e.j={},e.h={},h=e.i.duration,e.G=new ri,e.i=ra(e,e.G),y(A,e.G,5);case 5:for(e.i.duration=h,f=new ri,m=e.i.sourceBuffers,_=t.size,g=0,e.A.D(m,"addsourcebuffer",(function(){++g===_&&f.resolve()})),E=l(t.keys()),v=E.next();!v.done;v=E.next())b=v.value,S=t.get(b),aa(e,b,S);return e.l.currentTime=n,y(A,f,2);case 2:O(A),e.o=!1,C(A,0)}}))}(e,t)}))}(t,o),3))):m.return(!0)}))}(t,n,s,c),2)):(d.h||u.push(va(t,n,(function(){return _a(t,n)}))),a||u.push(va(t,n,(function(){return ga(t,n,i)}))),u.push(va(t,n,(function(){t.h[n].appendWindowStart=0,t.h[n].appendWindowEnd=r,t.h[n].appendWindowStart=o,Ea(t,n)}))),y(d,Promise.all(u),0))}))}function ma(e,t,n){return k((function(i){return t==ft.da?i.return():(va(e,t,(function(){return _a(e,t)})),y(i,va(e,t,(function(){return ga(e,t,n)})),0))}))}function _a(e,t){var n=e.h[t].appendWindowStart,i=e.h[t].appendWindowEnd;e.h[t].abort(),e.h[t].appendWindowStart=n,e.h[t].appendWindowEnd=i,Ea(e,t)}function ga(e,t,n){0>n&&(n+=.001),e.h[t].timestampOffset=n,Ea(e,t)}function Ea(e,t){if(!e.o){var n=e.j[t][0];n&&(n.p.resolve(),ba(e,t))}}function va(e,t,n){return Pi(e.I),n={start:n,p:new ri},e.j[t].push(n),1==e.j[t].length&&Sa(e,t),n.p}function ya(e,t){var n,i,o,r,a;return k((function(s){switch(s.g){case 1:for(o in Pi(e.I),n=[],i={},e.h)i.rc=new ri,r={start:function(e){return function(){return e.rc.resolve()}}(i),p:i.rc},e.j[o].push(r),n.push(i.rc),1==e.j[o].length&&r.start(),i={rc:i.rc};return S(s,2),y(s,Promise.all(n),4);case 4:A(s,3);break;case 2:throw I(s);case 3:return S(s,5,6),y(s,t(),6);case 6:for(a in O(s),e.h)ba(e,a);C(s,0);break;case 5:throw new ot(2,3,3015,I(s),e.l.error||"No error in the media element")}}))}function ba(e,t){e.j[t].shift(),Sa(e,t)}function Sa(e,t){var n=e.j[t][0];if(n)try{n.start()}catch(i){"QuotaExceededError"==i.name?n.p.reject(new ot(2,3,3017,t)):n.p.reject(new ot(2,3,3015,i,e.l.error||"No error in the media element")),ba(e,t)}}(i=oa.prototype).destroy=function(){return this.I.destroy()},i.init=function(e,t,n,i){t=void 0!==t&&t,n=void 0===n?"UNKNOWN":n,i=void 0!==i&&i;var o,r,a,s,c=this;return k((function(u){if(1==u.g)return y(u,c.G,2);for(c.s=t,c.M=n,c.Y=i,c.W=!c.s&&"HLS"==c.M&&!c.Y,o=l(e.keys()),r=o.next();!r.done;r=o.next())a=r.value,s=e.get(a),aa(c,a,s),c.j[a]=[];b(u)}))},i.configure=function(e){this.C=e},i.cb=function(){var e={total:this.o?[]:Ar(this.l.buffered),audio:this.o?[]:Ar(da(this,"audio")),video:this.o?[]:Ar(da(this,"video")),text:[]};if(this.g){var t=this.g.g,n=this.g.h;null!=t&&null!=n&&e.text.push({start:t,end:n})}return e},i.remove=function(e,t,n){var i=this;return k((function(o){return e==ft.da?y(o,i.g.remove(t,n),0):y(o,va(i,e,(function(){n<=t?Ea(i,e):i.h[e].remove(t,n)})),0)}))},i.flush=function(e){var t=this;return k((function(n){return e==ft.da?n.return():y(n,va(t,e,(function(){t.l.currentTime-=.001,Ea(t,e)})),0)}))},i.endOfStream=function(e){var t=this;return k((function(n){return y(n,ya(t,(function(){ca(t)||"closed"===t.i.readyState||(e?t.i.endOfStream(e):t.i.endOfStream())})),0)}))},i.Ba=function(e){var t=this;return k((function(n){return y(n,ya(t,(function(){if(e<t.i.duration)for(var n in t.h){var i={start:function(){},p:new ri};t.j[n].unshift(i)}t.i.duration=e})),0)}))},i.getDuration=function(){return this.i.duration};var Ta=e.URL.createObjectURL,Aa="sequence";function Ia(e,t,n){this.i=e,this.m=t,this.s=this.j=1/0,this.g=1,this.h=this.l=null,this.o=0,this.C=!0,this.F=0,this.u=void 0===n||n,this.G=0,this.A=!1}function Oa(e,t,n){this.l=n,this.j=e,this.s=Ra(e),this.g=e.g.currentTime,this.m=Date.now()/1e3,this.h=!1,this.o=0,this.u=t,this.i=function(){}}function Ca(e){this.g=e}function Ra(e){if(e.g.paused||0==e.g.playbackRate||0==e.g.buffered.length)var t=!1;else e:{t=e.g.currentTime;for(var n=(e=l(Ar(e.g.buffered))).next();!n.done;n=e.next())if(!(t<(n=n.value).start-.1||t>n.end-.5)){t=!0;break e}t=!1}return t}function Na(e,t,n,i,o){var r=this;this.u=o,this.g=e,this.A=t,this.s=n,this.l=new Li,this.j=!1,this.F=e.readyState,this.C=this.i=0,this.h=i,this.o=!1,this.l.D(e,"waiting",(function(){return Pa(r)})),this.m=new Ht((function(){Pa(r)})).Da(this.s.gapJumpTimerTime)}function Pa(e){if(0!=e.g.readyState){if(e.g.seeking){if(!e.j)return}else e.j=!1;if(!e.g.paused||e.g.currentTime==e.i&&(e.g.autoplay||e.g.currentTime!=e.i)){var t;if(e.g.readyState!=e.F&&(e.F=e.g.readyState),!(t=!e.h)){var n=(t=e.h).j,i=Ra(n),o=n.g.currentTime,r=Date.now()/1e3;t.g==o&&t.s==i||(t.m=r,t.g=o,t.s=i,t.h=!1),(i=(o=r-t.m)>=t.u&&i&&!t.h)&&(t.i(t.g,o),t.h=!0,t.g=n.g.currentTime,t.o++,t.l(new pi("stalldetected"))),t=!i}t&&(t=e.g.currentTime,i=function(e,t,n){return!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0)?null:0<=(e=Ar(e).findIndex((function(e,i,o){return e.start>t&&(0==i||o[i-1].end-t<=n)})))?e:null}(n=e.g.buffered,t,e.s.gapDetectionThreshold),null==i||0==i&&!e.o||((o=n.start(i))>=e.A.eb()||.001>o-t||(0!=i&&n.end(i-1),e.g.currentTime=o,t==e.i&&(e.i=o),e.C++,e.u(new pi("gapjumped")))))}}}function La(e,t,n,i){t==HTMLMediaElement.HAVE_NOTHING||e.readyState>=t?i():(t=ka.value().get(t),n.la(e,t,i))}(i=Ia.prototype).getDuration=function(){return this.j},i.tg=function(){return this.g},i.If=function(e){this.i=e},i.Ba=function(e){this.j=e},i.yg=function(){return this.i},i.Gf=function(e){this.o=e},i.fc=function(e){this.C=e},i.Nd=function(e){this.s=e},i.Hf=function(e){this.m=e},i.lg=function(){return this.m},i.yf=function(e,t){if(0!=e.length){var n=e[e.length-1].end+t;this.Gd(e[0].start+t),this.g=e.reduce((function(e,t){return Math.max(e,t.end-t.start)}),this.g),this.h=Math.max(this.h,n),null!=this.i&&this.u&&!this.A&&(this.i=(Date.now()+this.o)/1e3-this.h-this.g)}},i.Qc=function(e){if(0!=e.length){for(var t=e[0].startTime,n=e[0].endTime,i=(Date.now()+this.o)/1e3,o=(e=l(e)).next();!o.done;o=e.next())i<(o=o.value).startTime||(t=Math.min(t,o.startTime),n=Math.max(n,o.endTime),this.g=Math.max(this.g,o.endTime-o.startTime));this.Gd(t),this.h=Math.max(this.h,n),null!=this.i&&this.u&&!this.A&&(this.i=i-this.h-this.g)}},i.Dd=function(){this.A=!0},i.Gd=function(e){this.l=null==this.l?e:Math.min(this.l,e)},i.we=function(e){this.g=Math.max(this.g,e)},i.offset=function(e){null!=this.l&&(this.l+=e),null!=this.h&&(this.h+=e)},i.T=function(){return 1/0==this.j&&!this.C},i.Gb=function(){return 1/0!=this.j&&!this.C},i.fb=function(){return Math.max(this.F,this.Cb()-this.s)},i.Kf=function(e){this.F=e},i.Cb=function(){return this.T()||this.Gb()?Math.min(Math.max(0,(Date.now()+this.o)/1e3-this.g-this.i)+this.G,this.j):this.h?Math.min(this.h,this.j):this.j},i.Kc=function(e){var t=Math.max(this.l,this.F);return 1/0==this.s?Math.ceil(1e3*t)/1e3:Math.max(t,Math.min(this.Cb()-this.s+e,this.eb()))},i.Yb=function(){return this.Kc(0)},i.eb=function(){return Math.max(0,this.Cb()-(this.T()||this.Gb()?this.m:0))},i.Pf=function(){return!(null==this.i||null!=this.h&&this.u)},i.Ff=function(e){this.G=e},B("shaka.media.PresentationTimeline",Ia),Ia.prototype.setAvailabilityTimeOffset=Ia.prototype.Ff,Ia.prototype.usingPresentationStartTime=Ia.prototype.Pf,Ia.prototype.getSeekRangeEnd=Ia.prototype.eb,Ia.prototype.getSeekRangeStart=Ia.prototype.Yb,Ia.prototype.getSafeSeekRangeStart=Ia.prototype.Kc,Ia.prototype.getSegmentAvailabilityEnd=Ia.prototype.Cb,Ia.prototype.setUserSeekStart=Ia.prototype.Kf,Ia.prototype.getSegmentAvailabilityStart=Ia.prototype.fb,Ia.prototype.isInProgress=Ia.prototype.Gb,Ia.prototype.isLive=Ia.prototype.T,Ia.prototype.offset=Ia.prototype.offset,Ia.prototype.notifyMaxSegmentDuration=Ia.prototype.we,Ia.prototype.notifyMinSegmentStartTime=Ia.prototype.Gd,Ia.prototype.lockStartTime=Ia.prototype.Dd,Ia.prototype.notifySegments=Ia.prototype.Qc,Ia.prototype.notifyTimeRange=Ia.prototype.yf,Ia.prototype.getDelay=Ia.prototype.lg,Ia.prototype.setDelay=Ia.prototype.Hf,Ia.prototype.setSegmentAvailabilityDuration=Ia.prototype.Nd,Ia.prototype.setStatic=Ia.prototype.fc,Ia.prototype.setClockOffset=Ia.prototype.Gf,Ia.prototype.getPresentationStartTime=Ia.prototype.yg,Ia.prototype.setDuration=Ia.prototype.Ba,Ia.prototype.setPresentationStartTime=Ia.prototype.If,Ia.prototype.getMaxSegmentDuration=Ia.prototype.tg,Ia.prototype.getDuration=Ia.prototype.getDuration,Oa.prototype.release=function(){this.l=this.j=null,this.i=function(){}},Na.prototype.release=function(){this.l&&(this.l.release(),this.l=null),null!=this.m&&(this.m.stop(),this.m=null),this.h&&(this.h.release(),this.h=null),this.g=this.A=this.u=null},Na.prototype.ze=function(){this.o=!0,Pa(this)};var ka=new Mi((function(){return new Map([[HTMLMediaElement.HAVE_METADATA,"loadedmetadata"],[HTMLMediaElement.HAVE_CURRENT_DATA,"loadeddata"],[HTMLMediaElement.HAVE_FUTURE_DATA,"canplay"],[HTMLMediaElement.HAVE_ENOUGH_DATA,"canplaythrough"]])}));function wa(e,t,n,i){var o=this;this.g=e,this.m=t,this.s=n,this.l=null,this.j=function(){return null==o.l&&(o.l=i()),o.l},this.o=!1,this.h=new Li,this.i=new Va(e),La(this.g,HTMLMediaElement.HAVE_METADATA,this.h,(function(){xa(o,o.j())}))}function Da(e){return e.o?e.g.currentTime:e.j()}function Ma(e,t){0<e.g.readyState?Fa(e.i,t):La(e.g,HTMLMediaElement.HAVE_METADATA,e.h,(function(){xa(e,e.j())}))}function xa(e,t){.001>Math.abs(e.g.currentTime-t)?Ua(e):(e.h.la(e.g,"seeking",(function(){Ua(e)})),Fa(e.i,e.g.currentTime&&0!=e.g.currentTime?e.g.currentTime:t))}function Ua(e){e.o=!0,e.h.D(e.g,"seeking",(function(){return e.m()})),e.s(e.g.currentTime)}function Va(e){var t=this;this.h=e,this.m=10,this.l=this.j=this.i=0,this.g=new Ht((function(){0>=t.i||t.h.currentTime!=t.j?t.g.stop():(t.h.currentTime=t.l,t.i--)}))}function Fa(e,t){e.j=e.h.currentTime,e.l=t,e.i=e.m,e.h.currentTime=t,e.g.Da(.1)}function Ba(e){this.g=e,this.j=!1,this.h=null,this.i=new Li}function Ha(e,t,n,i,o,r){var a=this;this.i=e,this.g=t.presentationTimeline,this.A=t.minBufferTime||0,this.l=n,this.u=o,this.s=null,this.o=function(e,t,n){if(!t.stallEnabled)return null;var i=t.stallSkip;return t=new Oa(new Ca(e),t.stallThreshold,n),function(e,t){e.i=t}(t,(function(){i?e.currentTime+=i:(e.pause(),e.play())})),t}(e,n,r),this.j=new Na(e,t.presentationTimeline,n,this.o,r),this.h=new wa(e,(function(){var e=a.j;e.j=!0,e.o=!1;var t=Da(a.h);return e=Wa(a,t),.001<Math.abs(e-t)&&(t=Date.now()/1e3,!a.s||a.s<t-1)?(a.s=t,Ma(a.h,e),e=void 0):(a.u(),e=void 0),e}),(function(e){var t=a.j;t.g.seeking&&!t.j&&(t.j=!0,t.i=e)}),(function(){var e=i;return null==e?e=1/0>a.g.getDuration()?a.g.Yb():a.g.eb():0>e&&(e=a.g.eb()+e),Ga(a,ja(a,e))})),this.m=new Ht((function(){if(0!=a.i.readyState&&!a.i.paused){var e=Da(a.h),t=a.g.Yb(),n=a.g.eb();3>n-t&&(t=n-3),e<t&&(e=Wa(a,e),a.i.currentTime=e)}}))}function Ga(e,t){var n=e.g.getDuration();return t>=n?n-e.l.durationBackoff:t}function Wa(e,t){var n=Math.max(e.A,e.l.rebufferingGoal),i=e.l.safeSeekOffset,o=e.g.Yb(),r=e.g.eb(),a=e.g.getDuration();3>r-o&&(o=r-3);var s=e.g.Kc(n),c=e.g.Kc(i);return n=e.g.Kc(n+i),t>=a?Ga(e,t):t>r?r:t<o?Sr(e.i.buffered,c)?c:n:t>=s||Sr(e.i.buffered,t)?t:n}function ja(e,t){var n=e.g.Yb();return t<n?n:t>(e=e.g.eb())?e:t}function Ya(e){this.g=e,this.l=null,this.i=0,this.m=!1}function za(e,t){for(var n=(e=l(e.g)).next();!n.done;n=e.next())t(n.value)}function Ka(e,t,n){return new Ya([new Er(e,e+t,(function(){return n}),0,null,null,e,e,e+t)])}function Ja(e,t,n){this.i=e,this.g=t,this.h=n}function qa(){Ya.call(this,[]),this.h=[]}function Xa(e){var t=this;this.g=e,this.j=!1,this.i=this.g.td(),this.h=new Ht((function(){t.g.wf(.25*t.i)}))}function $a(e){e.h.stop();var t=e.j?0:e.i;if(0<=t)try{return void(e.g.td()!=t&&e.g.Pe(t))}catch(e){}e.h.Da(.25),0!=e.g.td()&&e.g.Pe(0)}function Za(e){var t=this;this.h=e,this.g=new Set,this.i=new Ht((function(){Qa(t,!1)})).Da(.25)}function Qa(e,t){for(var n=l(e.g),i=n.next();!i.done;i=n.next())i.value.j(e.h.currentTime,t)}function es(e){mi.call(this),this.g=new Map,this.h=e}function ts(e){mi.call(this);var t=this;this.g=new Set,this.i=e,this.h=new Ht((function(){for(var e=t.i(),n=l(t.g),i=n.next();!i.done;i=n.next())(i=i.value).endTime<e.start&&(t.g.delete(i),i=new pi("regionremove",new Map([["region",i]])),t.dispatchEvent(i))})).Da(2)}function ns(e,t){mi.call(this);var n=this;this.i=e,this.l=t,this.g=new Map,this.m=[{Ob:null,Nb:rs,Fb:function(e,t){return is(n,"enter",e,t)}},{Ob:os,Nb:rs,Fb:function(e,t){return is(n,"enter",e,t)}},{Ob:as,Nb:rs,Fb:function(e,t){return is(n,"enter",e,t)}},{Ob:rs,Nb:os,Fb:function(e,t){return is(n,"exit",e,t)}},{Ob:rs,Nb:as,Fb:function(e,t){return is(n,"exit",e,t)}},{Ob:os,Nb:as,Fb:function(e,t){return is(n,"skip",e,t)}},{Ob:as,Nb:os,Fb:function(e,t){return is(n,"skip",e,t)}}],this.h=new Li,this.h.D(this.i,"regionremove",(function(e){n.g.delete(e.region)}))}function is(e,t,n,i){t=new pi(t,new Map([["region",n],["seeking",i]])),e.dispatchEvent(t)}wa.prototype.release=function(){this.h&&(this.h.release(),this.h=null),null!=this.i&&(this.i.release(),this.i=null),this.m=function(){},this.g=null},Va.prototype.release=function(){this.g&&(this.g.stop(),this.g=null),this.h=null},(i=Ba.prototype).Yd=function(){var e=this;La(this.g,HTMLMediaElement.HAVE_CURRENT_DATA,this.i,(function(){null==e.h||0==e.h?e.j=!0:(e.i.la(e.g,"seeking",(function(){e.j=!0})),e.g.currentTime=Math.max(0,e.g.currentTime+e.h))}))},i.release=function(){this.i&&(this.i.release(),this.i=null),this.g=null},i.Zd=function(e){this.h=this.j?this.h:e},i.gd=function(){return(this.j?this.g.currentTime:this.h)||0},i.Ye=function(){return 0},i.Xe=function(){return 0},i.xf=function(){},(i=Ha.prototype).Yd=function(){this.m.Da(.25)},i.release=function(){this.h&&(this.h.release(),this.h=null),this.j&&(this.j.release(),this.j=null),this.m&&(this.m.stop(),this.m=null),this.i=this.h=this.g=this.l=null,this.u=function(){}},i.Zd=function(e){Ma(this.h,e)},i.gd=function(){var e=Da(this.h);return 0<this.i.readyState&&!this.i.paused?ja(this,e):e},i.Ye=function(){return this.o?this.o.o:0},i.Xe=function(){return this.j.C},i.xf=function(){this.j.ze()},(i=Ya.prototype).Jc=function(){return this.g.length},i.release=function(){this.m||(this.g=[],this.l&&this.l.stop(),this.l=null)},i.Rg=function(){this.m=!0},i.find=function(e){for(var t=this.g.length-1,n=t;0<=n;--n){var i=this.g[n],o=n<t?this.g[n+1].startTime:i.endTime;if(e>=i.startTime&&e<o)return n+this.i}return this.g.length&&e<this.g[0].startTime?this.i:null},i.get=function(e){return 0==this.g.length||0>(e-=this.i)||e>=this.g.length?null:this.g[e]},i.offset=function(e){if(!this.m)for(var t=l(this.g),n=t.next();!n.done;n=t.next())n.value.offset(e)},i.Fd=function(e){if(!this.m&&e.length){var t=Math.round(1e3*e[0].startTime)/1e3;this.g=this.g.filter((function(e){return Math.round(1e3*e.startTime)/1e3<t})),this.g.push.apply(this.g,u(e))}},i.Pc=function(e,t){var n=this;e=e.filter((function(e){return e.endTime>t&&(0==n.g.length||e.endTime>n.g[0].startTime)})),this.Fd(e),this.Ta(t)},i.Ta=function(e){if(!this.m){var t=this.g.length;this.g=this.g.filter((function(t){return t.endTime>e})),this.i+=t-this.g.length}},i.Vb=function(e,t,n){if(n=void 0!==n&&n,!this.m){for(;this.g.length&&this.g[this.g.length-1].startTime>=t;)this.g.pop();for(;this.g.length&&this.g[0].endTime<=e;)this.g.shift(),n||this.i++;0!=this.g.length&&(e=this.g[this.g.length-1],this.g[this.g.length-1]=new Er(e.startTime,t,e.F,e.Ca,e.ka,e.h,e.timestampOffset,e.appendWindowStart,e.appendWindowEnd,e.i,e.tilesLayout,e.C,e.g,e.status,e.u),this.g[this.g.length-1].j=e.j)}},i.Pd=function(e,t){var n=this;this.m||(this.l&&this.l.stop(),this.l=new Ht((function(){var e=t();e?n.g.push.apply(n.g,u(e)):(n.l.stop(),n.l=null)})),this.l.Da(e))},Ya.prototype[Symbol.iterator]=function(){return this.Ab(0)},Ya.prototype.Ab=function(e){var t=this.find(e);if(null==t)return null;t--;var n=this.get(t+1),i=-1;if(n&&0<n.i.length)for(var o=n.i.length-1;0<=o;--o){var r=n.i[o];if(e>=r.startTime&&e<r.endTime){for(;o&&!r.s;)o--,r=n.i[o];if(!r.s)return Y("No independent partial segment found!"),null;t++,i=o-1;break}}return new Ja(this,t,i)},B("shaka.media.SegmentIndex",Ya),Ya.forSingleSegment=Ka,Ya.prototype.getIteratorForTime=Ya.prototype.Ab,Ya.prototype.updateEvery=Ya.prototype.Pd,Ya.prototype.fit=Ya.prototype.Vb,Ya.prototype.evict=Ya.prototype.Ta,Ya.prototype.mergeAndEvict=Ya.prototype.Pc,Ya.prototype.offset=Ya.prototype.offset,Ya.prototype.get=Ya.prototype.get,Ya.prototype.find=Ya.prototype.find,Ya.prototype.markImmutable=Ya.prototype.Rg,Ya.prototype.release=Ya.prototype.release,Ja.prototype.dg=function(){return this.g},Ja.prototype.current=function(){var e=this.i.get(this.g);return e&&0<e.i.length&&e.xa().length&&this.h>=e.i.length&&(this.g++,this.h=0,e=this.i.get(this.g)),e&&0<e.i.length?e.i[this.h]:e},Ja.prototype.next=function(){var e=this.i.get(this.g);return e&&0<e.i.length?(this.h++,e.xa().length&&this.h==e.i.length&&(this.g++,this.h=0)):(this.g++,this.h=0),{value:e=this.current(),done:!e}},B("shaka.media.SegmentIterator",Ja),Ja.prototype.next=Ja.prototype.next,Ja.prototype.current=Ja.prototype.current,Ja.prototype.currentPosition=Ja.prototype.dg,_(qa,Ya),(i=qa.prototype).clone=function(){var e=new qa;return e.h=this.h.slice(),e},i.release=function(){for(var e=l(this.h),t=e.next();!t.done;t=e.next())t.value.release();this.h=[]},i.find=function(e){for(var t=0,n=l(this.h),i=n.next();!i.done;i=n.next()){var o=(i=i.value).find(e);if(null!=o)return o+t;t+=i.i+i.g.length}return null},i.get=function(e){for(var t=0,n=l(this.h),i=n.next();!i.done;i=n.next()){var o=(i=i.value).get(e-t);if(o)return o;t+=i.i+i.g.length}return null},i.offset=function(){},i.Fd=function(){},i.Ta=function(){},i.Pc=function(){},i.Vb=function(){},i.Pd=function(){},B("shaka.media.MetaSegmentIndex",qa),qa.prototype.updateEvery=qa.prototype.Pd,qa.prototype.fit=qa.prototype.Vb,qa.prototype.mergeAndEvict=qa.prototype.Pc,qa.prototype.evict=qa.prototype.Ta,qa.prototype.merge=qa.prototype.Fd,qa.prototype.offset=qa.prototype.offset,qa.prototype.get=qa.prototype.get,qa.prototype.find=qa.prototype.find,qa.prototype.release=qa.prototype.release,Xa.prototype.release=function(){this.h&&(this.h.stop(),this.h=null),this.g=null},Xa.prototype.set=function(e){this.i=e,$a(this)},Xa.prototype.pd=function(){return this.g.pd()},Za.prototype.release=function(){this.i.stop();for(var e=l(this.g),t=e.next();!t.done;t=e.next())t.value.release();this.g.clear()},_(es,mi),es.prototype.release=function(){this.g.clear(),mi.prototype.release.call(this)},es.prototype.j=function(e){for(var t=l(this.g.values()),n=t.next();!n.done;n=t.next()){e:{for(var i=(n=n.value).Sc,o=i.length-1;0<=o;o--){var r=i[o];if(r.position<=e){i=r.se;break e}}i=null}if((o=i)&&(o=!((o=n.ef)===i||o&&i&&o.bandwidth==i.bandwidth&&o.audioSamplingRate==i.audioSamplingRate&&o.codecs==i.codecs&&o.contentType==i.contentType&&o.frameRate==i.frameRate&&o.height==i.height&&o.mimeType==i.mimeType&&o.channelsCount==i.channelsCount&&o.pixelAspectRatio==i.pixelAspectRatio&&o.width==i.width)),o)e:{if(o=e,r=i.contentType,(r=this.h()[r])&&0<r.length){var a=r[r.length-1].end;if(o>=r[0].start&&o<a){o=!0;break e}}o=!1}o&&(n.ef=i,JSON.stringify(i),n=new pi("qualitychange",new Map([["quality",i],["position",e]])),this.dispatchEvent(n))}},_(ts,mi),ts.prototype.release=function(){this.g.clear(),this.h.stop(),mi.prototype.release.call(this)},_(ns,mi),ns.prototype.release=function(){this.i=null,this.g.clear(),this.h.release(),this.h=null,mi.prototype.release.call(this)},ns.prototype.j=function(e,t){if(!this.l||0!=e){this.l=!1;for(var n=l(this.i.g),i=n.next();!i.done;i=n.next()){i=i.value;var o=this.g.get(i),r=e<i.startTime?os:e>i.endTime?as:rs;this.g.set(i,r);for(var a=l(this.m),s=a.next();!s.done;s=a.next())(s=s.value).Ob==o&&s.Nb==r&&s.Fb(i,t)}}};var os=1,rs=2,as=3;function ss(e,t,n){this.j=e,this.h=t,this.i=0,this.l=n,this.g=new Map}function cs(e){if(0!==e.g.size){for(var t=l(e.g.keys()),n=t.next();!n.done;n=t.next())(n=n.value)&&ls(e,n);e.i=0}}function ls(e,t){var n=e.g.get(t);e.g.delete(t),n&&n.abort()}function us(e){this.i=e,this.g=this.h=null}function ds(e,t,n){e.g=e.i(t,n,(function(t){return k((function(n){return e.h?y(n,e.h(t),0):n.B(0)}))}))}function ps(e,t,n,i,o){return e=Si(e,i,o),0==t&&null==n||(e.headers.Range=n?"bytes="+t+"-"+n:"bytes="+t+"-"),e}function hs(e,t){var n=this;this.g=t,this.m=e,this.i=null,this.u=1,this.o=this.j=null,this.F=0,this.C=!1,this.h=new Map,this.A=!1,this.G=null,this.s=!1,this.l=new Ni((function(){return function(e){var t,n,i,o;return k((function(r){if(1==r.g){for(t=[],n=l(e.h.values()),i=n.next();!i.done;i=n.next())Rs(o=i.value),t.push(Ns(o));return y(r,Promise.all(t),2)}e.h.clear(),e.g=null,e.m=null,e.i=null,b(r)}))}(n)}))}function fs(e,t){var n=e.h.get("video");if(n){var i=n.stream;i&&(t?(t=i.trickModeVideo)&&!n.Lb&&(gs(e,t,!1,0,!1),n.Lb=i):(i=n.Lb)&&(n.Lb=null,gs(e,i,!0,0,!1)))}}function ms(e,t,n,i,o,r){n=void 0!==n&&n,i=void 0===i?0:i,o=void 0!==o&&o,r=void 0!==r&&r,e.j=t,e.A&&(t.video&&gs(e,t.video,n,i,o,r),t.audio&&gs(e,t.audio,n,i,o,r))}function _s(e,t){k((function(n){if(1==n.g)return e.o=t,e.A?t.segmentIndex?n.B(2):y(n,t.createSegmentIndex(),2):n.return();gs(e,t,!0,0,!1),b(n)}))}function gs(e,t,n,i,o,r){var a=e.h.get(t.type);a||t.type!=ht?a&&(a.Lb&&(t.trickModeVideo?(a.Lb=t,t=t.trickModeVideo):a.Lb=null),a.stream!=t||o)&&(a.Aa&&function(e,t){t&&t!==e.h&&(cs(e),e.h=t)}(a.Aa,t),t.type==ht&&(o=gt(t.mimeType,t.codecs),sa(e.g.R,o,e.m.sequenceMode,t.external)),a.stream.closeSegmentIndex&&a.stream.closeSegmentIndex(),a.stream=t,a.ba=null,a.Ze=!!r,n&&(a.Bc?a.Qd=!0:a.va?(a.wb=!0,a.md=i,a.Qd=!0):(Rs(a),Os(e,a,!0,i).catch((function(t){e.g&&e.g.onError(t)})))),function(e,t){var n,i;return k((function(o){if(1==o.g)return t.za?(n=t.stream,i=t.za,n.segmentIndex?o.B(2):y(o,n.createSegmentIndex(),2)):o.return();if(t.za!=i||t.stream!=n)return o.return();var r=e.g.sd(),a=ua(e.g.R,t.type),s=t.stream.segmentIndex.find(t.ta?t.ta.endTime:r),c=null==s?null:t.stream.segmentIndex.get(s);s=c&&c.ka?c.ka-c.Ca:null,c&&!s&&(s=(c.endTime-c.getStartTime())*(t.stream.bandwidth||0)/8),s?((c=c.h)&&(s+=(c.ka?c.ka-c.Ca:null)||0),r=8*s/(c=e.g.getBandwidthEstimate())<(a||0)-r-Math.max(e.m.minBufferTime||0,e.i.rebufferingGoal)||t.za.h.g>s):r=!1,r&&t.za.abort(),b(o)}))}(e,a).catch((function(t){e.g&&e.g.onError(t)}))):function(e,t){var n,i,o,r,a;k((function(s){switch(s.g){case 1:return n=ft,e.F++,i=e.F,S(s,2),y(s,ha(e.g.R,n.da),4);case 4:A(s,3);break;case 2:o=I(s),e.g&&e.g.onError(o);case 3:r=gt(t.mimeType,t.codecs),sa(e.g.R,r,e.m.sequenceMode,t.external),(e.g.R.u.isTextVisible()||e.i.alwaysStreamText)&&e.F==i&&(a=vs(e,t),e.h.set(n.da,a),Cs(e,a,0)),b(s)}}))}(e,t)}function Es(e,t){t.Bc||t.wb||(t.va?(t.wb=!0,t.md=0):null==la(e.g.R,t.type)?null==t.Ya&&Cs(e,t,0):(Rs(t),Os(e,t,!1,0).catch((function(t){e.g&&e.g.onError(t)}))))}function vs(e,t){return{stream:t,type:t.type,ba:null,Aa:ys(e,t),ta:null,$b:null,oe:null,me:null,le:null,Lb:null,endOfStream:!1,va:!1,Ya:null,wb:!1,md:0,Qd:!1,Bc:!1,Vc:!0,ve:!1,Ge:!1,Nc:!1,za:null}}function ys(e,t){return"video"!==t.type&&"audio"!==t.type?null:0<e.i.segmentPrefetchLimit?new ss(e.i.segmentPrefetchLimit,t,(function(t,n,i){return Is(e,t,n,i)})):null}function bs(t,n){var i,o,r,a,s;return k((function(c){switch(c.g){case 1:if(Pi(t.l),n.va||null==n.Ya||n.Bc)return c.return();if(n.Ya=null,!n.wb){c.B(2);break}return y(c,Os(t,n,n.Qd,n.md),3);case 3:return c.return();case 2:if(n.stream.segmentIndex){c.B(4);break}return i=n.stream,y(c,n.stream.createSegmentIndex(),5);case 5:if(i!=n.stream)return i.closeSegmentIndex&&i.closeSegmentIndex(),n.va||n.Ya||Cs(t,n,0),c.return();case 4:S(c,6),o=function(t,n){if(Ts(n))return function(e,t){var n=ua(e,"video")||0;Ot(e.g,t,n)}(t.g.R,n.stream.originalId||""),null;n.type==ht&&function(e){e.g&&Ot(e.g,"",0)}(t.g.R);var i=t.g.sd(),o=n.ta?n.ta.endTime:i,r=function(e,t,n){return e.o?0:t==ht?null==(e=e.g).h||e.h<n?0:e.h-Math.max(n,e.g):Tr(e=da(e,t),n)}(t.g.R,n.type,i),a=Math.max(t.m.minBufferTime||0,t.i.rebufferingGoal,t.i.bufferingGoal)*t.u,s=t.m.presentationTimeline.getDuration()-o,c=ua(t.g.R,n.type);if(1e-6>s&&c)return n.endOfStream=!0,"video"==n.type&&(t=t.h.get(ht))&&Ts(t)&&(t.endOfStream=!0),null;if(n.endOfStream=!1,r>=a)return t.i.updateIntervalSeconds/2;if(r=function(e,t,n,i){if(t.ba)return t.ba.current();if(t.ta||i)return n=t.ta?t.ta.endTime:i,t.ve=!0,t.ba=t.stream.segmentIndex.Ab(n),t.ba&&t.ba.next().value;e=e.i.inaccurateManifestTolerance,i=Math.max(n-e,0);var o=null;return e&&(t.ba=t.stream.segmentIndex.Ab(i),o=t.ba&&t.ba.next().value),o||(t.ba=t.stream.segmentIndex.Ab(n),o=t.ba&&t.ba.next().value),o}(t,n,i,c),!r)return t.i.updateIntervalSeconds;for(a=1/0,s=l(s=Array.from(t.h.values())),c=s.next();!c.done;c=s.next())Ts(c=c.value)||c.ba&&!c.ba.current()||(a=Math.min(a,c.ta?c.ta.endTime:i));return o>=a+t.m.presentationTimeline.g?t.i.updateIntervalSeconds:(n.Aa&&n.ba&&function(e,t){if(e.h.segmentIndex){var n=e.h.segmentIndex.Ab(Math.max(t.startTime,e.i));if(n)for(;e.g.size<e.j&&null!=t;){var i=!0;t.m&&null!=t.ka&&(i=!1),2==t.Db()&&(i=!1),i&&!e.g.has(t)&&(ds(i=new us(e.l),t,e.h),e.g.set(t,i)),e.i=t.startTime,t=n.next().value}}}(n.Aa,r),function(t,n,i,o){var r,a,s,c,l,u,d,p,h,f,m,_,g,E;return k((function(v){switch(v.g){case 1:if(r=ft,a=n.stream,s=n.ba,n.va=!0,S(v,2),2==o.Db())throw new ot(1,1,1011);return y(v,function(e,t,n){var i,o,r,a,s,c,l,u,d,p,h,f,m;return k((function(_){return i=ft,o=[],r=Math.max(0,n.appendWindowStart-.1),a=n.appendWindowEnd+.01,s=St(t.stream.codecs)[0],c=t.stream.mimeType.split(";")[0],(l=n.timestampOffset)==t.oe&&r==t.me&&a==t.le&&s==t.Cd&&c==t.ne||((t.Cd&&s!=t.Cd||t.ne&&c!=t.ne)&&(t.type===i.wa?(u=e.h.get(i.qb))&&(u.$b=null,Ns(u)):t.type===i.qb&&(d=e.h.get(i.wa))&&(d.$b=null,Ns(d))),p=function(){var n,o,u;return k((function(d){if(1==d.g)return n=new Map,e.j.audio&&n.set(i.qb,e.j.audio),e.j.video&&n.set(i.wa,e.j.video),S(d,2),t.me=r,t.le=a,t.Cd=s,t.ne=c,t.oe=l,o=e.m.sequenceMode||"HLS"==e.m.type,y(d,fa(e.g.R,t.type,l,r,a,o,t.stream,n),4);if(2!=d.g)return A(d,0);throw u=I(d),t.me=null,t.le=null,t.Cd=null,t.oe=null,u}))},o.push(p())),!function(e,t){return e&&t?e.Lc()==t.Lc()&&e.Hc()==t.Hc()&&fe(e.xa(),t.xa())&&te(e.g,t.g):e==t}(n.h,t.$b)&&(t.$b=n.h)&&(h=As(e,t,n.h,void 0,!0),f=function(){var o,r,a,s,c;return k((function(l){switch(l.g){case 1:return S(l,2),y(l,h,4);case 4:return o=l.h,Pi(e.l),r=null,a=new Map,(new qi).box("moov",Xi).box("trak",Xi).box("mdia",Xi).O("mdhd",(function(e){r=Dr(e.reader,e.version).timescale})).box("hdlr",(function(e){(e=e.reader).skip(8),e=e.kb(4);var t=String.fromCharCode(e[0]);switch(t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])){case"soun":a.set(i.qb,r);break;case"vide":a.set(i.wa,r)}r=null})).parse(o),a.has(t.type)?n.h.timescale=a.get(t.type):null!=r&&(n.h.timescale=r),s=t.stream.closedCaptions&&0<t.stream.closedCaptions.size,y(l,e.g.$e(t.type,o),5);case 5:return y(l,pa(e.g.R,t.type,o,null,t.stream,s),6);case 6:A(l,0);break;case 2:throw c=I(l),t.$b=null,c}}))},e.g.Ug(n.startTime,n.h),o.push(f())),m=t.ta?t.ta.j:null,e.m.sequenceMode?(n.j!=m||t.ve)&&(t.ve=!1,o.push(ma(e.g.R,t.type,n.startTime))):e.m.ignoreManifestTimestampsInSegmentsMode&&n.j!=m&&o.push(ma(e.g.R,t.type,n.timestampOffset)),y(_,Promise.all(o),0)}))}(t,n,o),4);case 4:return Pi(t.l),t.s?v.return():(c="video/mp4"==a.mimeType||"audio/mp4"==a.mimeType,l=e.ReadableStream,t.i.lowLatencyMode&&l&&c&&("HLS"!=t.m.type||o.o)?(d=new Uint8Array(0),h=p=!1,f=function(e){var r,s,c;return k((function(l){return p?l.return():(h=!0,Pi(t.l),t.s?l.return():(d=function(e,t){var n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(d,e),r=!1,s=0,(new qi).box("mdat",(function(e){s=e.size+e.start,r=!0})).parse(d,!1,!0),r?(c=d.subarray(0,s),d=d.subarray(s),y(l,Ss(t,n,i,a,o,c),0)):l.B(0)))}))},y(v,As(t,n,o,f),11)):y(v,As(t,n,o),7));case 7:if(u=v.h,Pi(t.l),t.s)return v.return();if(!o.u){v.B(8);break}return y(v,function(t,n,i){var o,r,a,s;return k((function(c){if(1==c.g)return(o=n.u).cryptoKey?c.B(2):y(c,o.fetchKey(),3);if(!(r=o.iv))for(r=oe(new ArrayBuffer(16)),a=o.firstMediaSequenceNumber+i.g,s=r.byteLength-1;0<=s;s--)r[s]=255&a,a>>=8;return c.return(e.crypto.subtle.decrypt({name:"AES-CBC",iv:r},o.cryptoKey,t))}))}(u,o,s),9);case 9:u=v.h;case 8:return Pi(t.l),n.wb?(n.va=!1,Cs(t,n,0),v.return()):y(v,Ss(t,n,i,a,o,u),6);case 11:if(m=v.h,h){v.B(6);break}return p=!0,Pi(t.l),t.s?v.return():n.wb?(n.va=!1,Cs(t,n,0),v.return()):y(v,Ss(t,n,i,a,o,m),6);case 6:if(Pi(t.l),t.s)return v.return();n.ta=o,s.next(),n.va=!1,n.Ge=!1,_=t.g.R.cb(),g=_[n.type],JSON.stringify(g),n.wb||t.g.ze(o.startTime,o.endTime,n.type),Cs(t,n,0),A(v,0);break;case 2:if(E=I(v),Pi(t.l,E),t.s)return v.return();if(n.va=!1,7001==E.code)n.va=!1,Rs(n),Cs(t,n,0),v.B(0);else if(n.type==r.da&&t.i.ignoreTextStreamFailures)t.h.delete(r.da),v.B(0);else{if(3017!=E.code)return n.Nc=!0,E.severity=2,y(v,Ps(t,n,E),0);(function(e,t,n){if(!Array.from(e.h.values()).some((function(e){return e!=t&&e.Ge}))){var i=Math.round(100*e.u);if(20<i)e.u-=.2;else{if(!(4<i))return t.Nc=!0,e.s=!0,void e.g.onError(n);e.u-=.04}t.Ge=!0}Cs(e,t,4)})(t,n,E),v.B(0)}}}))}(t,n,i,r).catch((function(){})),null)}(t,n),null!=o&&(Cs(t,n,o),n.Nc=!1),A(c,7);break;case 6:return r=I(c),y(c,Ps(t,n,r),8);case 8:return c.return();case 7:if(a=Array.from(t.h.values()),!t.A||!a.every((function(e){return e.endOfStream}))){c.B(0);break}return y(c,t.g.R.endOfStream(),10);case 10:Pi(t.l),0!=(s=t.g.R.getDuration())&&s<t.m.presentationTimeline.getDuration()&&t.m.presentationTimeline.Ba(s),b(c)}}))}function Ss(e,t,n,i,o,r){var a,s,c,l,u,d;return k((function(p){switch(p.g){case 1:return a=i.closedCaptions&&0<i.closedCaptions.size,c=null!=i.emsgSchemeIdUris&&0<i.emsgSchemeIdUris.length||e.i.dispatchAllEmsgBoxes,l=e.i.parsePrftBox&&!e.C,(c||l)&&(s=new qi),c&&s.O("emsg",(function(t){var n=i.emsgSchemeIdUris;if(0===t.version)var r=t.reader.Tc(),a=t.reader.Tc(),s=t.reader.K(),c=t.reader.K(),l=t.reader.K(),u=t.reader.K(),d=o.startTime+c/s;else s=t.reader.K(),c=(d=t.reader.dc()/s+o.timestampOffset)-o.startTime,l=t.reader.K(),u=t.reader.K(),r=t.reader.Tc(),a=t.reader.Tc();t=t.reader.kb(t.reader.getLength()-t.reader.ha()),(n&&n.includes(r)||e.i.dispatchAllEmsgBoxes)&&("urn:mpeg:dash:event:2012"==r?e.g.Vg():((n=new pi("emsg",n=(new Map).set("detail",{startTime:d,endTime:d+l/s,schemeIdUri:r,value:a,timescale:s,presentationTimeDelta:c,eventDuration:l,id:u,messageData:t}))).cancelable=!0,e.g.onEvent(n),n.defaultPrevented||"https://aomedia.org/emsg/ID3"!=r&&"https://developer.apple.com/streaming/emsg-id3"!=r||(r=Pr(t)).length&&o&&e.g.Wg([{cueTime:o.startTime,data:t,frames:r,dts:o.startTime,pts:o.startTime}],0,o.endTime)))})),l&&s.O("prft",(function(t){if(!e.C&&o.h.timescale){var n=t.reader,i=t.version;n.K(),t=1e3*(t=n.K())+n.K()/Math.pow(2,32)*1e3,0===i?n=n.K():(i=n.K(),n=n.K(),n=i*Math.pow(2,32)+n),t=new Date(new Date(Date.UTC(1900,0,1,0,0,0)).getTime()+t).getTime(),n=new pi("prft",n=(new Map).set("detail",{wallClockTime:t,programStartDate:new Date(t-n/o.h.timescale*1e3)})),e.g.onEvent(n),e.C=!0}})),(c||l)&&s.parse(r),y(p,function(e,t,n){var i,o,r;return k((function(a){if(1==a.g)return i=Math.max(e.i.bufferBehind,e.m.presentationTimeline.g),null==(o=la(e.g.R,t.type))||.01>=(r=n-o-i)?a.return():y(a,e.g.R.remove(t.type,o,o+r),2);Pi(e.l),b(a)}))}(e,t,n),2);case 2:return Pi(e.l),u=t.Vc,t.Vc=!1,d=t.Ze,t.Ze=!1,y(p,e.g.$e(t.type,r),3);case 3:return y(p,pa(e.g.R,t.type,r,o,i,a,u,d),4);case 4:Pi(e.l),b(p)}}))}function Ts(e){return e&&e.type==ht&&("application/cea-608"==e.stream.mimeType||"application/cea-708"==e.stream.mimeType)}function As(e,t,n,i,o){var r,a,s;return k((function(c){if(1==c.g){if(n instanceof gr&&(r=n.g))return c.return(r);if(a=null,t.Aa&&n instanceof Er){var l=t.Aa;if(l.g.has(n)){var u=l.g.get(n);i&&(u.h=i),l.g.delete(n),a=u.g}else a=null}return a||(a=Is(e,n,t.stream,i,o)),t.za=a,y(c,a.promise,2)}return s=c.h,t.za=null,c.return(s.data)}))}function Is(e,t,n,i,o){o=o?0:1;var r=t instanceof Er?t:void 0;return t=ps(t.xa(),t.Ca,t.ka,e.i.retryParameters,i),e.g.Ib.request(Oi,t,{type:o,stream:n,segment:r})}function Os(e,t,n,i){var o,r;return k((function(a){return 1==a.g?(t.wb=!1,t.Qd=!1,t.md=0,t.Bc=!0,t.ta=null,t.$b=null,t.ba=null,t.Aa&&cs(t.Aa),i?(o=e.g.sd(),r=e.g.R.getDuration(),y(a,e.g.R.remove(t.type,o+i,r),3)):y(a,ha(e.g.R,t.type),4)):3!=a.g?(Pi(e.l),n?y(a,e.g.R.flush(t.type),3):a.B(3)):(Pi(e.l),t.Bc=!1,t.endOfStream=!1,t.va||t.Ya||Cs(e,t,0),void b(a))}))}function Cs(e,t,n){var i=t.type;(i!=ht||e.h.has(i))&&(t.Ya=new Bt((function(){var n;return k((function(i){return 1==i.g?(S(i,2),y(i,bs(e,t),4)):2!=i.g?A(i,0):(n=I(i),e.g&&e.g.onError(n),void b(i))}))})).S(n))}function Rs(e){null!=e.Ya&&(e.Ya.stop(),e.Ya=null)}function Ns(e){return k((function(t){return e.za?y(t,e.za.abort(),0):t.B(0)}))}function Ps(e,t,n){var i;return k((function(o){if(1==o.g)return y(o,oi(e.G),2);Pi(e.l),i=0===e.i.maxDisabledTime&&1011==n.code?1:e.i.maxDisabledTime,1===n.category&&0<i&&(n.handled=e.g.ae(t.stream,i),n.handled&&(n.severity=1)),e.g.onError(n),n.handled||e.i.failureCallback(n),b(o)}))}function Ls(e,t){var n=El(),i=this;this.j=t,this.i=e,this.l=n,this.o=null,this.m=[],this.h=this.g=null,this.u=Promise.resolve().then((function(){return function(e){return k((function(t){if(e.s.g)t=t.B(0);else{if(0==e.m.length||e.g&&!e.g.Eb)var n=!1;else{e.g&&(e.g.Wa.Kb(),e.g=null);var i=(n=e.m.shift()).create(e.l);i?(n.Wa.bc(),e.g={node:i.node,U:i.U,Eb:i.Eb,Wa:n.Wa}):n.Wa.Kd(),n=!0}n?n=Promise.resolve():e.g?n=function(e){var t,n;return k((function(i){switch(i.g){case 1:return e.i=e.j.vg(e.i,e.l,e.g.node,e.g.U),S(i,2),e.h=e.j.gg(e.i,e.l,e.g.U),y(i,e.h.promise,4);case 4:e.h=null,e.i==e.g.node&&(e.g.Wa.Id(),e.g=null),A(i,0);break;case 2:return 7001==(t=I(i)).code?e.g.Wa.Kb():e.g.Wa.onError(t),e.g=null,e.h=null,n=e,y(i,e.j.handleError(e.l,t),5);case 5:n.i=i.h,b(i)}}))}(e):(e.j.Tg(e.i),e.o=new ri,n=e.o),t=y(t,n,1)}return t}))}(i)})),this.s=new Ni((function(){return function(e){var t,n;return k((function(i){if(1==i.g)return e.h&&e.h.abort(),ws(e),y(i,e.u,2);for(e.g&&e.g.Wa.Kb(),t=l(e.m),n=t.next();!n.done;n=t.next())n.value.Wa.Kb();e.g=null,e.m=[],e.j=null,b(i)}))}(i)}))}function ks(e,t){var n={bc:function(){},Id:function(){},Kb:function(){},onError:function(){},Kd:function(){},gi:function(){}};return e.m.push({create:t,Wa:n}),e.h&&e.h.abort(),ws(e),n}function ws(e){e.o&&(e.o.resolve(),e.o=null)}function Ds(e){if(e.F)return"\n";if(e.g.length)return e.g.map(Ds).join("");var t=[],n=700<=e.u,i="italic"==e.o,o=e.h.includes("underline");return n&&t.push(["b"]),i&&t.push(["i"]),o&&t.push(["u"]),n="",(i=Ms(e.l))&&(n+="."+i),(i=Ms(e.backgroundColor))&&(n+=".bg_"+i),n&&t.push(["c",n]),t.reduceRight((function(e,t){var n=l(t);return"<"+(t=n.next().value)+(void 0===(n=n.next().value)?"":n)+">"+e+"</"+t+">"}),e.U)}function Ms(e){switch(e.toLowerCase()){case"white":case"#fff":case getComputedStyle(document.body).getPropertyValue("--spice-text").trim():return"white";case"lime":case"#0f0":case"#00ff00":return"lime";case"cyan":case"#0ff":case"#00ffff":return"cyan";case"red":case"#f00":case"#ff0000":return"red";case"yellow":case"#ff0":case"#ffff00":return"yellow";case"magenta":case"#f0f":return"magenta";case"blue":case"#00f":case"#0000ff":return"blue";case"black":case"#000":case"#000000":return"black"}return null}function xs(e,t){for(var n=(e=l(e)).next();!n.done;n=e.next())if((n=n.value).Y)xs(n.g,t);else{var i=n.clone();i.g=[],i.U=Ds(n),t.push(i)}return t}function Us(e){this.g=null;for(var t=l(Array.from(e.textTracks)),n=t.next();!n.done;n=t.next())(n=n.value).mode="disabled","Shaka Player TextTrack"==n.label&&(this.g=n);this.g||(this.g=e.addTextTrack("subtitles","Shaka Player TextTrack")),this.g.mode="hidden"}function Vs(e){if(e.startTime>=e.endTime)return null;var t=new VTTCue(e.startTime,e.endTime,e.U);t.lineAlign=e.s,t.positionAlign=e.H,e.size&&(t.size=e.size);try{t.align=e.textAlign}catch(e){}return"center"==e.textAlign&&"center"!=t.align&&(t.align="middle"),"vertical-lr"==e.writingMode?t.vertical="lr":"vertical-rl"==e.writingMode&&(t.vertical="rl"),1==e.G&&(t.snapToLines=!1),null!=e.j&&(t.line=e.j),null!=e.position&&(t.position=e.position),t}function Fs(e,t){var n=e.mode;e.mode="showing"==n?"showing":"hidden";for(var i=l(Array.from(e.cues)),o=i.next();!o.done;o=i.next())(o=o.value)&&t(o)&&e.removeCue(o);e.mode=n}function Bs(){}function Hs(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Gs(t,n){var i=this;this.j=!1,this.i=[],this.A=t,this.m=n,this.g=document.createElement("div"),this.g.classList.add("shaka-text-container"),this.g.style.textAlign="center",this.g.style.display="flex",this.g.style.flexDirection="column",this.g.style.alignItems="center",this.g.style.justifyContent="flex-end",this.m.appendChild(this.g),this.u=new Ht((function(){Ys(i)})).Da(.25),this.h=new Map,this.s=new Li,this.s.D(document,"fullscreenchange",(function(){Ys(i,!0)})),this.l=null,"ResizeObserver"in e&&(this.l=new ResizeObserver((function(){Ys(i,!0)})),this.l.observe(this.g)),this.o=new Map}function Ws(e,t){for(;null!=t;){if(t==e.g)return!0;t=t.parentElement}return!1}function js(e,t,n,i,o){for(var r=!1,a=[],s=[],c=(t=l(t)).next();!c.done;c=t.next()){c=c.value,o.push(c);var u=e.h.get(c),d=c.startTime<=i&&c.endTime>i,p=u?u.Qf:null;u&&(a.push(u.$d),u.Uc&&a.push(u.Uc),d||(r=!0,e.h.delete(c),u=null)),d&&(s.push(c),u?Ws(e,p)||(r=!0):(zs(e,c,o),p=(u=e.h.get(c)).Qf,r=!0)),0<c.g.length&&p&&js(e,c.g,p,i,o),o.pop()}if(r){for(o=(i=l(a)).next();!o.done;o=i.next())(o=o.value).parentElement&&o.parentElement.removeChild(o);for(s.sort((function(e,t){return e.startTime!=t.startTime?e.startTime-t.startTime:e.endTime-t.endTime})),c=(s=l(s)).next();!c.done;c=s.next())(i=e.h.get(c.value)).Uc?(n.appendChild(i.Uc),i.Uc.appendChild(i.$d)):n.appendChild(i.$d)}}function Ys(e,t){if(e.g){var n=e.A.currentTime;if(!e.j||void 0!==t&&t){for(var i=(t=l(e.o.values())).next();!i.done;i=t.next())Hs(i.value);Hs(e.g),e.h.clear(),e.o.clear()}if(e.j){t=new Map;for(var o=(i=l(e.h.keys())).next();!o.done;o=i.next())o=o.value,t.set(o,e.h.get(o));js(e,e.i,e.g,n,[])}}}function zs(e,t,n){var i=1<n.length,o=i?"span":"div";t.F&&(o="br"),i=!i&&0<t.g.length;var r=document.createElement(o);if("br"!=o&&function(e,t,n,i,o){var r=t.style,a=0==n.g.length,s=1<i.length;r.whiteSpace="pre-wrap";var c=n.U.replace(/\s+$/g,(function(e){return" ".repeat(e.length)}));if(r.webkitTextStrokeColor=n.L,r.webkitTextStrokeWidth=n.ga,r.color=n.l,r.direction=n.direction,r.opacity=n.C,r.paddingLeft=Ks(n.Z,n,e.m),r.paddingRight=Ks(n.Z,n,e.m),r.textShadow=n.I,n.N)r.backgroundImage="url('"+n.N+"')",r.backgroundRepeat="no-repeat",r.backgroundSize="contain",r.backgroundPosition="center",r.width="100%",r.height="100%";else{if(n.g.length)var l=t;else l=document.createElement("span"),t.appendChild(l);n.V&&(l.style.border=n.V),o||((t=function(e,t){for(var n=e.length-1;0<=n;n--){var i=t(e[n]);if(i||0===i)return i}return null}(i,(function(e){return e.backgroundColor})))?l.style.backgroundColor=t:c&&(l.style.backgroundColor="rgba(0, 0, 0, 0.8)")),c&&(l.textContent=c)}s&&!i[i.length-1].Y?r.display="inline":(r.display="flex",r.flexDirection="column",r.alignItems="center",r.justifyContent="before"==n.i?"flex-start":"center"==n.i?"center":"flex-end"),a||(r.margin="0"),r.fontFamily=n.m,r.fontWeight=n.u.toString(),r.fontStyle=n.o,r.letterSpacing=n.W,r.fontSize=Ks(n.A,n,e.m),null!=n.j&&(e=n.G,0==n.j&&e==Ae&&(e=1),1==e&&(r.position="absolute",n.writingMode==Te?(r.width="100%",n.s==Ie?r.top=n.j+"%":"end"==n.s&&(r.bottom=100-n.j+"%")):"vertical-lr"==n.writingMode?(r.height="100%",n.s==Ie?r.left=n.j+"%":"end"==n.s&&(r.right=100-n.j+"%")):(r.height="100%",n.s==Ie?r.right=n.j+"%":"end"==n.s&&(r.left=100-n.j+"%")))),r.lineHeight=n.aa,null!=n.position&&(n.writingMode==Te?r.paddingLeft=n.position:r.paddingTop=n.position),e=function(e){var t=e.direction,n=e.H;return e=e.textAlign,n!==ge?n:"left"===e||"start"===e&&t===Se||"end"===e&&"rtl"===t?"line-left":"right"===e||"start"===e&&"rtl"===t||"end"===e&&t===Se?"line-right":"center"}(n),"line-left"==e?r.cssFloat="left":"line-right"==e&&(r.cssFloat="right"),r.textAlign=n.textAlign,r.textDecoration=n.h.join(" "),r.writingMode=n.writingMode,"writingMode"in document.documentElement.style&&r.writingMode==n.writingMode||(r.webkitWritingMode=n.writingMode),n.size&&(n.writingMode==Te?r.width=n.size+"%":r.height=n.size+"%")}(e,r,t,n,i),n=null,t.region&&t.region.id)if(o=(n=t.region).id+"_"+n.width+"x"+n.height+(n.i==we?"%":"px")+"-"+n.g+"x"+n.h+(n.j==we?"%":"px"),e.o.has(o))n=e.o.get(o);else{var a=document.createElement("span"),s=n.i==we?"%":"px",c=n.l==we?"%":"px",l=n.j==we?"%":"px";a.id="shaka-text-region---"+o,a.classList.add("shaka-text-region"),a.style.height=n.height+s,a.style.width=n.width+c,a.style.position="absolute",a.style.top=n.h+l,a.style.left=n.g+l,a.style.display="flex",a.style.flexDirection="column",a.style.alignItems="center",a.style.justifyContent="before"==t.i?"flex-start":"center"==t.i?"center":"flex-end",e.o.set(o,a),n=a}o=r,i&&((o=document.createElement("span")).classList.add("shaka-text-wrapper"),o.style.backgroundColor=t.backgroundColor,o.style.lineHeight="normal",r.appendChild(o)),e.h.set(t,{$d:r,Qf:o,Uc:n})}function Ks(e,t,n){var i=(i=new RegExp(/(\d*\.?\d+)([a-z]+|%+)/).exec(e))?{value:Number(i[1]),unit:i[2]}:null;if(!i)return e;var o=i.value;switch(i.unit){case"%":return o/100*n.clientHeight/t.X.rows+"px";case"c":return n.clientHeight*o/t.X.rows+"px";default:return e}}function Js(e,t){this.h=e,this.g=t,this.j="",this.o=void 0,this.i=!1,this.m=!0,this.l=!1}function qs(t){return t.j||(t.j=t.g.sessionId||e.crypto.randomUUID()),{v:1,sf:t.o,sid:t.j,cid:t.g.contentId,mtp:t.h.getBandwidthEstimate()/1e3}}function Xs(e,t,n){n=void 0===n?{}:n;var i=void 0===i?e.g.useHeaders:i;if(e.g.enabled){Object.assign(n,qs(e)),n.pr=e.h.rd();var o=n.ot===tc||n.ot===nc;if(e.l&&o&&(n.bs=!0,n.su=!0,e.l=!1),null==n.su&&(n.su=e.m),i)e=function(e){for(var t=Object.keys(e),n={},i=["Object","Request","Session","Status"],o=[{},{},{},{}],r={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3},a=(t=l(t)).next();!a.done;a=t.next())a=a.value,o[null!=r[a]?r[a]:1][a]=e[a];for(e=0;e<o.length;e++)(r=$s(o[e]))&&(n["CMCD-"+i[e]]=r);return n}(n),Object.keys(e).length&&Object.assign(t.headers,e);else{var r=$s(n);r&&(t.uris=t.uris.map((function(e){return Zs(e,r)})))}}}function $s(e){function t(e){return 100*n(e/100)}function n(e){return Math.round(e)}for(var i,o=[],r={br:n,d:n,bl:t,dl:t,mtp:t,nor:function(e){return encodeURIComponent(e)},rtp:t,tb:n},a=Object.keys(e||{}).sort(),s=(a=l(a)).next();!s.done;s=a.next()){var c=e[s=s.value];if(!(i=c,Number.isNaN(i)||null==i||""===i||!1===i||"v"===s&&1===c||"pr"==s&&1===c)){var u=r[s];u&&(c=u(c));var d;d="string"===(u=typeof c)&&"ot"!==s&&"sf"!==s&&"st"!==s?s+"="+JSON.stringify(c):"boolean"===u?s:"symbol"===u?s+"="+c.description:s+"="+c,o.push(d)}}return o.join(",")}function Zs(e,t){return!t||e.includes("offline:")?e:((e=new je(e)).g.set("CMCD",t),e.toString())}us.prototype.abort=function(){this.g&&this.g.abort()},(i=hs.prototype).destroy=function(){return this.l.destroy()},i.configure=function(e){this.i=e,this.G=new ii({maxAttempts:Math.max(e.retryParameters.maxAttempts,2),baseDelay:e.retryParameters.baseDelay,backoffFactor:e.retryParameters.backoffFactor,fuzzFactor:e.retryParameters.fuzzFactor,timeout:0,stallTimeout:0,connectionTimeout:0},!0);for(var t=l(this.h.keys()),n=t.next();!n.done;n=t.next())if((n=this.h.get(n.value)).Aa){var i=n.Aa,o=e.segmentPrefetchLimit;i.j=o;for(var r=Array.from(i.g.keys());r.length>o;){var a=r.pop();a&&ls(i,a)}0<e.segmentPrefetchLimit||(n.Aa=null)}else 0<e.segmentPrefetchLimit&&(n.Aa=ys(this,n.stream))},i.start=function(){var e=this;return k((function(t){if(1==t.g)return y(t,function(e){var t,n,i,o,r,a,s,c;return k((function(u){if(1==u.g){if(t=ft,!e.j)throw new ot(2,5,5006);return n=new Map,i=new Set,e.j.audio&&(n.set(t.qb,e.j.audio),i.add(e.j.audio)),e.j.video&&(n.set(t.wa,e.j.video),i.add(e.j.video)),e.o&&(n.set(t.da,e.o),i.add(e.o)),y(u,e.g.R.init(n,e.m.sequenceMode,e.m.type,e.m.ignoreManifestTimestampsInSegmentsMode),2)}for(Pi(e.l),e.updateDuration(),o=l(n.keys()),r=o.next();!r.done;r=o.next())a=r.value,s=n.get(a),e.h.has(a)||(c=vs(e,s),e.h.set(a,c),Cs(e,c,0));b(u)}))}(e),2);Pi(e.l),e.A=!0,b(t)}))},i.Vc=function(){if(this.g)for(var e=this.g.sd(),t=l(this.h.keys()),n=t.next();!n.done;n=t.next()){var i=n.value,o=null;(n=this.h.get(i)).ba&&(o=n.ba.current()),(!o||o.startTime>e||o.endTime<e)&&(n.ba=null),(o=this.g.R).o?o=!1:i==ht?o=null!=(o=o.g).g&&null!=o.h&&(e>=o.g&&e<o.h):o=Sr(o=da(o,i),e),o||((null!=ua(this.g.R,i)||n.va)&&Es(this,n),n.za&&(n.za.abort(),n.za=null),i===ht&&((i=this.g.R).F&&i.F.i()),n.Vc=!0)}},i.updateDuration=function(){var e=this.m.presentationTimeline.getDuration();1/0>e?this.g.R.Ba(e):this.g.R.Ba(Math.pow(2,32))},Ls.prototype.destroy=function(){return this.s.destroy()},(i=Us.prototype).remove=function(e,t){return!!this.g&&(Fs(this.g,(function(n){return n.startTime<t&&n.endTime>e})),!0)},i.append=function(e){var t=xs(e,[]),n=[];e=this.g.cues?Array.from(this.g.cues):[];for(var i={},o=(t=l(t)).next();!o.done;i={Pb:i.Pb},o=t.next())i.Pb=o.value,e.some(function(e){return function(t){return t.startTime==e.Pb.startTime&&t.endTime==e.Pb.endTime&&t.text==e.Pb.U}}(i))||(o=Vs(i.Pb))&&n.push(o);for(i=(e=l(e=n.slice().sort((function(e,t){return e.startTime!=t.startTime?e.startTime-t.startTime:e.endTime!=t.endTime?e.endTime-t.startTime:"line"in VTTCue.prototype?n.indexOf(t)-n.indexOf(e):n.indexOf(e)-n.indexOf(t)})))).next();!i.done;i=e.next())this.g.addCue(i.value)},i.destroy=function(){return this.g&&(Fs(this.g,(function(){return!0})),this.g.mode="disabled"),this.g=null,Promise.resolve()},i.isTextVisible=function(){return"showing"==this.g.mode},i.setTextVisibility=function(e){this.g.mode=e?"showing":"hidden"},B("shaka.text.SimpleTextDisplayer",Us),Us.prototype.setTextVisibility=Us.prototype.setTextVisibility,Us.prototype.isTextVisible=Us.prototype.isTextVisible,Us.prototype.destroy=Us.prototype.destroy,Us.prototype.append=Us.prototype.append,Us.prototype.remove=Us.prototype.remove,B("shaka.util.Dom",Bs),Bs.removeAllChildren=Hs,(i=Gs.prototype).append=function(e){for(var t=[].concat(u(this.i)),n={},i=(e=l(e)).next();!i.done;n={ad:n.ad},i=e.next())n.ad=i.value,t.some(function(e){return function(t){return _e(t,e.ad)}}(n))||this.i.push(n.ad);Ys(this)},i.destroy=function(){this.m.removeChild(this.g),this.g=null,this.j=!1,this.i=[],this.u&&this.u.stop(),this.h.clear(),this.s&&(this.s.release(),this.s=null),this.l&&(this.l.disconnect(),this.l=null)},i.remove=function(e,t){if(!this.g)return!1;var n=this.i.length;return this.i=this.i.filter((function(n){return n.startTime<e||n.endTime>=t})),Ys(this,n>this.i.length),!0},i.isTextVisible=function(){return this.j},i.setTextVisibility=function(e){this.j=e},B("shaka.text.UITextDisplayer",Gs),Gs.prototype.setTextVisibility=Gs.prototype.setTextVisibility,Gs.prototype.isTextVisible=Gs.prototype.isTextVisible,Gs.prototype.remove=Gs.prototype.remove,Gs.prototype.destroy=Gs.prototype.destroy,Gs.prototype.append=Gs.prototype.append,B("shaka.text.WebVttGenerator",(function(){})),Js.prototype.configure=function(e){this.g=e};var Qs="m",ec="a",tc="v",nc="av",ic="i",oc="c",rc="tt";function ac(){}function sc(e,t,n,i,o){var r,a=o in i,s=!0;for(r in t){var c=o+"."+r,l=a?i[o]:n[r];a||r in n?void 0===t[r]?void 0===l||a?delete e[r]:e[r]=_i(l):l.constructor==Object&&t[r]&&t[r].constructor==Object?(e[r]||(e[r]=_i(l)),c=sc(e[r],t[r],l,i,c),s=s&&c):typeof t[r]!=typeof l||null==t[r]||"function"!=typeof t[r]&&t[r].constructor!=l.constructor?(Y("Invalid config, wrong type for "+c),s=!1):("function"==typeof n[r]&&n[r].length!=t[r].length&&z("Unexpected number of arguments for "+c),e[r]=t[r]):(Y("Invalid config, unrecognized key "+c),s=!1)}return s}function cc(e,t){for(var n={},i=n,o=0,r=0;!(0>(o=e.indexOf(".",o)));)0!=o&&"\\"==e[o-1]||(i[r=e.substring(r,o).replace(/\\\./g,".")]={},i=i[r],r=o+1),o+=1;return i[e.substring(r).replace(/\\\./g,".")]=t,n}function lc(e,t){return e&&t}function uc(){}function dc(e){return new je(e=Gi(e)).Sa}function pc(e,t,n){function i(e){re(r).setUint32(a,e.byteLength,!0),a+=4,r.set(oe(e),a),a+=e.byteLength}if(!n||!n.byteLength)throw new ot(2,6,6015);var o;o="string"==typeof t?ji(t,!0):t,e=ji(e=Gi(e),!0);var r=new Uint8Array(12+e.byteLength+o.byteLength+n.byteLength),a=0;return i(e),i(o),i(n),r}function hc(e,t,n){return"skd"!==t?e:(t=n.serverCertificate,pc(e,n=Gi(e).split("skd://").pop(),t))}function fc(e,t){2===e&&(t.headers["Content-Type"]="application/octet-stream")}function mc(){}function _c(){var t=1/0;navigator.connection&&navigator.connection.saveData&&(t=360);var n={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1,persistentSessionOnlinePlayback:!1,persistentSessionsMetadata:[],initDataTransform:function(t,n,i){return e.shakaMediaKeysPolyfill&&"skd"==n&&(n=i.serverCertificate,t=pc(t,i=dc(t),n)),t},logLicenseExchange:!1,updateExpirationTime:1,preferredKeySystems:[],keySystemsMapping:{},parseInbandPsshEnabled:Yt(),minHdcpVersion:""},i={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},availabilityWindowOverride:NaN,disableAudio:!1,disableVideo:!1,disableText:!1,disableThumbnails:!1,defaultPresentationDelay:0,segmentRelativeVttTiming:!1,raiseFatalErrorOnManifestUpdateRequestFailure:!1,dash:{clockSyncUri:"",ignoreDrmInfo:!1,disableXlinkProcessing:!1,xlinkFailGracefully:!1,ignoreMinBufferTime:!1,autoCorrectDrift:!0,initialSegmentLimit:1e3,ignoreSuggestedPresentationDelay:!1,ignoreEmptyAdaptationSet:!1,ignoreMaxSegmentDuration:!1,keySystemsByURI:{"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},manifestPreprocessor:function(e){return lc([e],e)},sequenceMode:!1},hls:{ignoreTextStreamFailures:!1,ignoreImageStreamFailures:!1,defaultAudioCodec:"mp4a.40.2",defaultVideoCodec:"avc1.42E01E",ignoreManifestProgramDateTime:!1,mediaPlaylistFullMimeType:'video/mp2t; codecs="avc1.42E01E, mp4a.40.2"',useSafariBehaviorForLive:!0,liveSegmentsDelay:3,sequenceMode:!($t("Tizen 3")||$t("Tizen 2")||Kt()||qt()),ignoreManifestTimestampsInSegmentsMode:!1},mss:{manifestPreprocessor:function(e){return lc([e],e)},sequenceMode:!1,keySystemsBySystemId:{"9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","79f0049a-4098-8642-ab92-e65be0885f95":"com.microsoft.playready"}}},o={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},failureCallback:function(e){return lc([e])},rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,alwaysStreamText:!1,startAtSegmentBoundary:!1,gapDetectionThreshold:.5,gapJumpTimerTime:.25,durationBackoff:1,safeSeekOffset:5,stallEnabled:!0,stallThreshold:1,stallSkip:.1,useNativeHlsOnSafari:!0,inaccurateManifestTolerance:2,lowLatencyMode:!1,autoLowLatencyMode:!1,forceHTTPS:!1,preferNativeHls:!1,updateIntervalSeconds:1,dispatchAllEmsgBoxes:!1,observeQualityChanges:!1,maxDisabledTime:30,parsePrftBox:!1,segmentPrefetchLimit:0,liveSync:!1,liveSyncMaxLatency:1,liveSyncPlaybackRate:1.1};($t("Web0S")||zt()||$t("CrKey"))&&(o.stallSkip=0);var r={trackSelectionCallback:function(e){return k((function(t){return t.return(e)}))},downloadSizeCallback:function(e){var t;return k((function(n){return 1==n.g?navigator.storage&&navigator.storage.estimate?y(n,navigator.storage.estimate(),3):n.return(!0):(t=n.h,n.return(t.usage+e<.95*t.quota))}))},progressCallback:function(e,t){return lc([e,t])},usePersistentLicense:!0,numberOfParallelDownloads:5},a={drm:n,manifest:i,streaming:o,mediaSource:{sourceBufferExtraFeatures:"",forceTransmux:!1,insertFakeEncryptionInInit:!0},offline:r,abrFactory:function(){return new Vn},abr:{enabled:!0,useNetworkInformation:!0,defaultBandwidthEstimate:1e6,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:t,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0},advanced:{minTotalBytes:128e3,minBytes:16e3,fastHalfLife:2,slowHalfLife:5},restrictToElementSize:!1,restrictToScreenSize:!1,ignoreDevicePixelRatio:!1,clearBufferSwitch:!1,safeMarginSwitch:0},autoShowText:3,preferredAudioLanguage:"",preferredAudioLabel:"",preferredTextLanguage:"",preferredVariantRole:"",preferredTextRole:"",preferredAudioChannelCount:2,preferredVideoHdrLevel:"AUTO",preferredVideoCodecs:[],preferredAudioCodecs:[],preferForcedSubs:!1,preferredDecodingAttributes:[],restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:1/0,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0},playRangeStart:0,playRangeEnd:1/0,textDisplayFactory:function(){return null},cmcd:{enabled:!1,sessionId:"",contentId:"",useHeaders:!1},lcevc:{enabled:!1,dynamicPerformanceScaling:!0,logLevel:0,drawLogo:!1},ads:{customPlayheadTracker:!1}};return r.trackSelectionCallback=function(e){return k((function(t){return t.return(function(e,t){var n=e.filter((function(e){return"variant"==e.type})),i=[],o=Ut(t,n.map((function(e){return e.language})));o&&(i=n.filter((function(e){return wt(e.language)==o}))),0==i.length&&(i=n.filter((function(e){return e.primary}))),0==i.length&&(n.map((function(e){return e.language})),i=n);var r=i.filter((function(e){return e.height&&480>=e.height}));for(r.length&&(r.sort((function(e,t){return t.height-e.height})),i=r.filter((function(e){return e.height==r[0].height}))),t=[],i.length&&(n=Math.floor(i.length/2),i.sort((function(e,t){return e.bandwidth-t.bandwidth})),t.push(i[n])),e=l(e),i=e.next();!i.done;i=e.next())(i=i.value).type!=ht&&"image"!=i.type||t.push(i);return t}(e,a.preferredAudioLanguage))}))},a}function gc(e,t,n){var i={".drm.keySystemsMapping":"",".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",sessionType:"",serverCertificate:new Uint8Array(0),serverCertificateUri:"",individualizationServer:""}};return sc(e,t,n||_c(),i,"")}function Ec(){this.g=null,this.h=[]}function vc(e,t){if(null==e.g)e.g={timestamp:Date.now()/1e3,state:t,duration:0};else{var n=Date.now()/1e3;e.g.duration=n-e.g.timestamp,e.g.state!=t&&(e.h.push(e.g),e.g={timestamp:n,state:t,duration:0})}}function yc(e,t){var n=0;e.g&&e.g.state==t&&(n+=e.g.duration);for(var i=(e=l(e.h)).next();!i.done;i=e.next())n+=(i=i.value).state==t?i.duration:0;return n}function bc(){this.i=this.h=null,this.g=[]}function Sc(e,t,n){e.i!=t&&(e.i=t,e.g.push({timestamp:Date.now()/1e3,id:t.id,type:"text",fromAdaptation:n,bandwidth:null}))}function Tc(){this.u=this.A=this.G=this.C=this.s=this.j=this.F=this.m=this.i=this.M=this.N=this.H=this.I=this.L=this.l=this.o=NaN,this.g=new Ec,this.h=new bc}function Ac(t,n){mi.call(this);var i=this;this.l=bl,this.nd=this.h=null,this.Y=!1,this.zd=new Li,this.xc=new Li,this.o=new Li,this.jc=this.i=this.Bd=this.I=this.j=this.ga=this.L=this.Of=this.V=this.Oa=this.M=this.vd=this.H=this.Sb=this.A=this.G=this.m=this.F=null,this.Fc=!1,this.qe=this.s=null,this.Ee=1e9,this.g=Hc(this),this.De={width:1/0,height:1/0},this.u=null,this.Za=new Zn(this.g.preferredAudioLanguage,this.g.preferredVariantRole,this.g.preferredAudioChannelCount,this.g.preferredVideoHdrLevel),this.Qb=this.g.preferredTextLanguage,this.Ec=this.g.preferredTextRole,this.Ac=this.g.preferForcedSubs,this.zc=[],this.Gc=null,n&&n(this),this.V=function(e){return new Js({getBandwidthEstimate:function(){return e.s?e.s.getBandwidthEstimate():NaN},cb:function(){return e.cb()},getCurrentTime:function(){return e.h?e.h.currentTime:0},rd:function(){return e.rd()},Bb:function(){return e.Bb()},sb:function(){return e.sb()},T:function(){return e.T()}},e.g.cmcd)}(this),this.F=function(e){return new yi((function(t,n){e.s&&e.s.segmentDownloaded(t,n)}),(function(t,n,i){t=(new Map).set("headers",t).set("request",n).set("requestType",i),e.dispatchEvent(Oc("downloadheadersreceived",t))}),(function(t,n,i,o){t=(new Map).set("request",t).set("error",n).set("httpResponseCode",i).set("aborted",o),e.dispatchEvent(Oc("downloadfailed",t))}),(function(t,n,i){var o=e.V;if(i=void 0===i?{}:i,o.g.enabled)if("HEAD"===n.method)Xs(o,n);else switch(t){case 0:try{if(o.g.enabled){if(i.type){e:{switch(i.type){case 4:var r="d";break e;case 3:case 2:r="h";break e;case 5:r="s";break e}r=void 0}o.o=r}Xs(o,n,{ot:Qs,su:!o.i})}}catch(e){K("CMCD_MANIFEST_ERROR","Could not generate manifest CMCD data.",e)}break;case Oi:t=i;try{if(o.g.enabled){var a=t.segment;r=0,a&&(r=a.endTime-a.startTime);var s={d:1e3*r,st:o.h.T()?"l":"v"};s.ot=function(e){if(0===e.type)return ic;if(e=e.stream){var t=e.type;if("video"==t)return e.codecs&&e.codecs.includes(",")?nc:tc;if("audio"==t)return ec;if("text"==t)return"application/mp4"===e.mimeType?rc:oc}}(t);var c=s.ot===tc||s.ot===ec||s.ot===nc||s.ot===rc,u=t.stream;u&&(c&&(s.bl=function(e,t){if(!(t=e.h.cb()[t]).length)return NaN;var n=e.h.getCurrentTime();return(e=t.find((function(e){return e.start<=n&&e.end>=n})))?1e3*(e.end-n):NaN}(o,u.type)),u.bandwidth&&(s.br=u.bandwidth/1e3)),c&&s.ot!==rc&&(s.tb=function(e,t){var n=e.h.sb();if(!n.length)return NaN;e=n[0];for(var i=(n=l(n)).next();!i.done;i=n.next())"variant"===(i=i.value).type&&i.bandwidth>e.bandwidth&&(e=i);switch(t){case tc:return e.videoBandwidth||NaN;case ec:return e.audioBandwidth||NaN;default:return e.bandwidth}}(o,s.ot)/1e3),Xs(o,n,s)}}catch(e){K("CMCD_SEGMENT_ERROR","Could not generate segment CMCD data.",e)}break;case 2:case 5:case 6:Xs(o,n,{ot:"k"});break;case 4:Xs(o,n,{ot:"o"})}}))}(this),this.F.Ne(this.g.streaming.forceHTTPS),this.C=null,Cl&&(this.C=Cl()),this.zd.D(e,"online",(function(){ol(i),i.He()})),this.N={name:"detach"},this.W={name:"attach"},this.aa={name:"unload"},this.Ie={name:"manifest-parser"},this.Ae={name:"manifest"},this.Rb={name:"media-source"},this.ue={name:"drm-engine"},this.X={name:"load"},this.Re={name:"src-equals-drm-engine"},this.Tb={name:"src-equals"};var o=new Map;o.set(this.W,(function(e,t){return ui(function(e,t,n){return null==t.mediaElement&&(t.mediaElement=n.mediaElement,e.xc.D(t.mediaElement,"error",(function(){var t=sl(e);t&&rl(e,t)}))),e.h=t.mediaElement,Promise.resolve()}(i,e,t))})),o.set(this.N,(function(e){return e.mediaElement&&(i.xc.ub(),e.mediaElement=null),i.C&&i.C.release(),i.h=null,ui(e=Promise.resolve())})),o.set(this.aa,(function(e){return ui(Cc(i,e))})),o.set(this.Rb,(function(e){return e=function(e,t){var n,i,o,r,a;return k((function(s){if(1==s.g)return n=e.g.textDisplayFactory,i=n(),e.xe=n,o=function(e,t,n,i){return new oa(e,t,n,i)}(t.mediaElement,i,(function(t,n,i){Rc(e,t,n,i)}),e.L),o.configure(e.g.mediaSource),r=e.g.manifest,a=r.segmentRelativeVttTiming,o.N=a,y(s,o.G,2);e.G=o,b(s)}))}(i,e),ui(e)})),o.set(this.Ie,(function(e,t){return e=function(e,t,n){var i,o,r,a;return k((function(s){if(1==s.g)return t.mimeType=n.mimeType,t.uri=n.uri,i=t.uri,o=e.F,e.jc=i,r=e,y(s,lr(i,o,e.g.manifest.retryParameters,t.mimeType),2);r.Bd=s.h,e.I=e.Bd(),a=_i(e.g.manifest),n.mediaElement&&"AUDIO"===n.mediaElement.nodeName&&(a.disableVideo=!0),e.I.configure(a),b(s)}))}(i,e,t),ui(e)})),o.set(this.Ae,(function(e){return function(e,t){var n=t.uri;t=e.F,e.Oa=new ts((function(){return e.ec()})),e.Oa.addEventListener("regionadd",(function(t){t=t.region,al(e,"timelineregionadded",t),e.C&&e.C.onDashTimedMetadata(t)})),e.ga=null,e.g.streaming.observeQualityChanges&&(e.ga=new es((function(){return e.cb()})),e.ga.addEventListener("qualitychange",(function(t){var n=t.quality;t=t.position,n=(new Map).set("mediaQuality",{bandwidth:n.bandwidth,audioSamplingRate:n.audioSamplingRate,codecs:n.codecs,contentType:n.contentType,frameRate:n.frameRate,height:n.height,mimeType:n.mimeType,channelsCount:n.channelsCount,pixelAspectRatio:n.pixelAspectRatio,width:n.width}).set("position",t),e.dispatchEvent(Oc("mediaqualitychanged",n))})));var i={networkingEngine:t,filter:function(t){return Gc(e,t)},makeTextStreamsForClosedCaptions:function(t){return function(e,t){for(var n=new Set,i=l(t.textStreams),o=i.next();!o.done;o=i.next())"application/cea-608"!=(o=o.value).mimeType&&"application/cea-708"!=o.mimeType||n.add(o.originalId);for(i=l(t.variants),o=i.next();!o.done;o=i.next())if((o=o.value.video)&&o.closedCaptions)for(var r=l(o.closedCaptions.keys()),a=r.next();!a.done;a=r.next())if(a=a.value,!n.has(a)){var s=a.startsWith("CC")?"application/cea-608":"application/cea-708",c=new qa,u=o.closedCaptions.get(a);s={id:e.Ee++,originalId:a,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:c,mimeType:s,codecs:"",kind:"caption",encrypted:!1,drmInfos:[],keyIds:new Set,language:u,originalLanguage:u,label:null,type:ht,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:o.roles,forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!1},t.textStreams.push(s),n.add(a)}}(e,t)},onTimelineRegionAdded:function(t){var n=e.Oa;e:{for(var i=l(n.g),o=i.next();!o.done;o=i.next())if((o=o.value).schemeIdUri==t.schemeIdUri&&o.id==t.id&&o.startTime==t.startTime&&o.endTime==t.endTime){i=o;break e}i=null}null==i&&(n.g.add(t),t=new pi("regionadd",new Map([["region",t]])),n.dispatchEvent(t))},onEvent:function(t){return e.dispatchEvent(t)},onError:function(t){return rl(e,t)},isLowLatencyMode:function(){return e.g.streaming.lowLatencyMode},isAutoLowLatencyMode:function(){return e.g.streaming.autoLowLatencyMode},enableLowLatencyMode:function(){e.configure("streaming.lowLatencyMode",!0)},updateDuration:function(){e.j&&e.j.updateDuration()},newDrmInfo:function(t){var n=e.m?e.m.g:null;n&&e.m.s&&jc(e,n.keySystem,t)}},o=Date.now()/1e3;return new ai(function(){var t,r,a,s;return k((function(c){if(1==c.g)return t=e,y(c,e.I.start(n,i),2);if(t.i=c.h,r=Oc("manifestparsed"),e.dispatchEvent(r),0==e.i.variants.length)throw new ot(2,4,4036);!function(e){function t(e){return e.video&&e.audio||e.video&&e.video.codecs.includes(",")}e.variants.some(t)&&(e.variants=e.variants.filter(t))}(e.i),a=Date.now()/1e3,s=a-o,e.u.F=s,b(c)}))}(),(function(){return e.I.stop()}))}(i,e)})),o.set(this.ue,(function(e){return e=function(e,t){var n,i;return k((function(o){return 1==o.g?(n=Date.now()/1e3,i=!0,e.m=Lc(e,{Ib:e.F,onError:function(t){rl(e,t)},Jd:function(t){cl(e,t)},onExpirationUpdated:function(t,n){ll(e,t,n)},onEvent:function(t){e.dispatchEvent(t),"drmsessionupdate"==t.type&&i&&(i=!1,e.u.j=Date.now()/1e3-n,e.L&&((t=e.L).g&&t.h.classList.add("shaka-hidden")))}}),e.m.configure(e.g.drm),y(o,Uo(e.m,e.i.variants,e.i.offlineSessionIds),2)):3!=o.g?y(o,e.m.yc(t.mediaElement),3):y(o,Gc(e,e.i),0)}))}(i,e),ui(e)})),o.set(this.X,(function(e,t){return ui(function(e,t,n){var i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,S;return k((function(T){switch(T.g){case 1:for(t.startTime=n.startTime,null!=e.Gc&&(t.startTime=e.Gc,e.Gc=null),i=t.mediaElement,o=t.uri,e.jc=o,e.H=new Xa({td:function(){return i.playbackRate},pd:function(){return i.defaultPlaybackRate},Pe:function(e){i.playbackRate=e},wf:function(e){i.currentTime+=e}}),r=function(){return Kc(e)},a=function(){return zc(e)},e.o.D(i,"playing",r),e.o.D(i,"pause",r),e.o.D(i,"ended",r),e.o.D(i,"ratechange",a),function(e,t){if(t.lcevc.enabled){var n=e.sb();n&&n[0]&&n[0].videoMimeType==Rl.ts&&(jt()||navigator.userAgent.match(/Edge\//))&&(t.mediaSource.forceTransmux||z("LCEVC Warning: For MPEG-2 TS decoding the config.mediaSource.forceTransmux must be enabled.")),Ic(e),null==e.L&&(e.L=new Qr(e.h,e.Of,t.lcevc),e.G&&(e.G.L=e.L))}else Ic(e)}(e,e.g),s=e.g.abrFactory,e.s&&e.qe==s||(e.qe=s,e.s=s(),"function"!=typeof e.s.setMediaElement&&(Wn("AbrManager","Please use an AbrManager with setMediaElement function."),e.s.setMediaElement=function(){}),e.s.configure(e.g.abr)),e.Za=new Zn(e.g.preferredAudioLanguage,e.g.preferredVariantRole,e.g.preferredAudioChannelCount,e.g.preferredVideoHdrLevel,e.g.preferredAudioLabel),e.Qb=e.g.preferredTextLanguage,e.Ec=e.g.preferredTextRole,e.Ac=e.g.preferForcedSubs,ul(e.i.presentationTimeline,e.g.playRangeStart,e.g.playRangeEnd),e.s.init((function(t,n,i){e.j&&t!=e.j.j&&$c(e,t,!0,void 0!==n&&n,void 0===i?0:i)})),e.s.setMediaElement(i),nn(e.i,e.g.preferredVideoCodecs,e.g.preferredAudioCodecs,e.g.preferredAudioChannelCount,e.g.preferredDecodingAttributes),e.j=function(e){return new hs(e.i,{sd:function(){return e.A?e.A.gd():0},getBandwidthEstimate:function(){return e.s.getBandwidthEstimate()},R:e.G,Ib:e.F,onError:function(t){return rl(e,t)},onEvent:function(t){return e.dispatchEvent(t)},Vg:function(){e.I&&e.I.update&&e.I.update()},ze:function(t,n,i){e.A&&e.A.xf(),wc(e),t=(new Map).set("start",t).set("end",n).set("contentType",i),e.dispatchEvent(Oc("segmentappended",t))},Ug:function(t,n){(n=n.se)&&e.ga&&function(e,t,n){var i=function(e,t){var n=e.g.get(t);return n||(n={Sc:[],ef:null,contentType:t},e.g.set(t,n)),n}(e,t.contentType);!function(e,t){if((e=e.h()[t.contentType])&&0<e.length){var n=e[0].start,i=e[e.length-1].end,o=t.Sc;t.Sc=o.filter((function(e,t){return!(e.position<=n&&t+1<o.length&&o[t+1].position<=n||e.position>=i)}))}else t.Sc=[]}(e,i),e={se:t,position:n},0<=(t=(i=i.Sc).findIndex((function(e){return e.position>=n})))?i.splice(t,i[t].position==n?1:0,e):i.push(e)}(e.ga,n,t)},$e:function(t,n){var i=e.m;if(i.h.parseInbandPsshEnabled&&!i.I&&["audio","video"].includes(t)){var o=0,r=l((n=new ho(oe(n))).data);for(t=r.next();!t.done;t=r.next())o+=t.value.length;if(0==o)i=Promise.resolve();else{for(o=new Uint8Array(o),r=0,t=(n=l(n.data)).next();!t.done;t=n.next())t=t.value,o.set(t,r),r+=t.length;Go(i,"cenc",o),i=i.l}}else i=Promise.resolve();return i},Wg:function(t,n,i){Rc(e,t,n,i)},ae:function(t,n){return e.ae(t,n)}})}(e),e.j.configure(e.g.streaming),e.l=Sl,i.textTracks&&e.o.D(i.textTracks,"addtrack",(function(t){if(t.track&&"chapters"===(t=t.track).kind)Pc(e,t)})),e.dispatchEvent(Oc("streaming")),c=null,(u=e.j.j)||(c=qc(e)?e.s.chooseVariant():null),d=[],h=l([(p=u||c).video,p.audio]),f=h.next();!f.done;f=h.next())(m=f.value)&&!m.segmentIndex&&d.push(m.createSegmentIndex());if(!(0<d.length)){T.B(2);break}return y(T,Promise.all(d),2);case 2:if(ul(e.i.presentationTimeline,e.g.playRangeStart,e.g.playRangeEnd),e.A=function(e,t){return new Ha(e.h,e.i,e.g.streaming,t,(function(){e.Sb&&Qa(e.Sb,!0),e.j&&e.j.Vc(),e.M&&wc(e)}),(function(t){return e.dispatchEvent(t)}))}(e,t.startTime),e.Sb=function(e,t){t=new ns(e.Oa,e.T()||0<t),t.addEventListener("enter",(function(t){al(e,"timelineregionenter",t.region)})),t.addEventListener("exit",(function(t){al(e,"timelineregionexit",t.region)})),t.addEventListener("skip",(function(t){var n=t.region;t.seeking||(al(e,"timelineregionenter",n),al(e,"timelineregionexit",n))}));var n=new Za(e.h);return n.g.add(t),e.ga&&n.g.add(e.ga),n}(e,t.Od),_=Math.max(e.i.minBufferTime,e.g.streaming.rebufferingGoal),kc(e,_),u){T.B(4);break}if($c(e,c,!0,!1,0),!e.g.streaming.startAtSegmentBoundary){T.B(4);break}return g=e.A.gd(),y(T,function(e,t){var n,i,o,r,a;return k((function(s){return 1==s.g?(n=e.audio,i=e.video,o=function(e,t){var n,i,o;return k((function(r){return 1==r.g?e?y(r,e.createSegmentIndex(),2):r.return(null):(i=(n=e.segmentIndex.Ab(t))?n.next().value:null)?(o=i.startTime,r.return(o)):r.return(null)}))},y(s,o(n,t),2)):3!=s.g?(r=s.h,y(s,o(i,t),3)):null!=(a=s.h)&&null!=r?s.return(Math.max(a,r)):null!=a?s.return(a):null!=r?s.return(r):s.return(t)}))}(c,g),6);case 6:E=T.h,e.A.Zd(E);case 4:return e.A.Yd(),e.Zb().find((function(e){return e.active}))||((v=Cn(e.i.textStreams,e.Qb,e.Ec,e.Ac)[0]||null)&&Sc(e.u.h,v,!0),c&&(v?(c.audio&&function(e,t,n){if(0==e.g.autoShowText)return!1;if(1==e.g.autoShowText)return!0;var i=wt(e.g.preferredTextLanguage);return n=wt(n.language),2==e.g.autoShowText?Pt(n,i):3==e.g.autoShowText?(e=wt(t.language),Pt(n,i)&&!Pt(e,n)):(z("Invalid autoShowText setting!"),!1)}(e,c.audio,v)&&(e.Y=!0),e.Y&&e.G.u.setTextVisibility(!0),nl(e)):e.Y=!1),v&&(e.g.streaming.alwaysStreamText||e.ke())&&_s(e.j,v)),y(T,e.j.start(),7);case 7:e.g.abr.enabled&&(e.s.enable(),il(e)),mn(e.j?e.j.j:null,e.i),pl(e.i),Qc(e),qc(e),e.i.variants.some((function(e){return e.primary})),e.T()&&(e.g.streaming.liveSync||e.i.serviceDescription)&&(S=function(){return Jc(e)},e.o.D(i,"timeupdate",S)),e.Fc=!0,e.o.la(i,"loadedmetadata",(function(){e.u.m=Date.now()/1e3-n.Od})),b(T)}}))}(i,e,t))})),o.set(this.Re,(function(e,t){return e=function(e,t,n){var i,o,r,a,s,c,l;return k((function(u){return 1==u.g?(i=ft,o=Date.now()/1e3,r=!0,e.m=Lc(e,{Ib:e.F,onError:function(t){rl(e,t)},Jd:function(t){cl(e,t)},onExpirationUpdated:function(t,n){ll(e,t,n)},onEvent:function(t){e.dispatchEvent(t),"drmsessionupdate"==t.type&&r&&(r=!1,e.u.j=Date.now()/1e3-o)}}),e.m.configure(e.g.drm),a=n.uri||"",s=dr(a),"application/x-mpegurl"==(c=Rl[s])&&Jt()&&(c="application/vnd.apple.mpegurl"),c||(c="video/mp4"),l={id:0,language:"und",disabledUntilTime:0,primary:!1,audio:null,video:{id:0,originalId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:n.mimeType?n.mimeType.split(";")[0]:c,codecs:n.mimeType?bt(n.mimeType):"",encrypted:!0,drmInfos:[],keyIds:new Set,language:"und",originalLanguage:null,label:null,type:i.wa,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!1},bandwidth:100,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},e.m.X=!0,y(u,Uo(e.m,[l],[]),2)):y(u,e.m.yc(t.mediaElement),0)}))}(i,e,t),ui(e)})),o.set(this.Tb,(function(e,t){return function(e,t,n){function i(){return Kc(e)}t.uri=n.uri,t.startTime=n.startTime,e.jc=t.uri;var o=t.mediaElement;e.A=new Ba(o);var r=!1;e.zc.push((function(){r=!0})),null!=t.startTime&&e.A.Zd(t.startTime),e.H=new Xa({td:function(){return o.playbackRate},pd:function(){return o.defaultPlaybackRate},Pe:function(e){o.playbackRate=e},wf:function(e){o.currentTime+=e}}),kc(e,e.g.streaming.rebufferingGoal),e.o.D(o,"playing",i),e.o.D(o,"pause",i),e.o.D(o,"ended",i),e.o.D(o,"ratechange",(function(){return zc(e)})),"none"!=o.preload&&e.o.la(o,"loadedmetadata",(function(){e.u.m=Date.now()/1e3-n.Od})),o.audioTracks&&(e.o.D(o.audioTracks,"addtrack",(function(){return Qc(e)})),e.o.D(o.audioTracks,"removetrack",(function(){return Qc(e)})),e.o.D(o.audioTracks,"change",(function(){return Qc(e)}))),o.textTracks&&(e.o.D(o.textTracks,"addtrack",(function(t){if(t.track)switch(t=t.track,t.kind){case"metadata":!function(e,t){if("metadata"==t.kind){t.mode="hidden",e.o.D(t,"cuechange",(function(){if(t.activeCues)for(var n=l(t.activeCues),i=n.next();!i.done;i=n.next())i=i.value,Nc(e,i.startTime,i.endTime,i.type,i.value),e.C&&e.C.onCueMetadataChange(i.value)}));var n=new Ht((function(){for(var t=function(e){return Array.from(e.h.textTracks).filter((function(e){return"metadata"==e.kind}))}(e),n=(t=l(t)).next();!n.done;n=t.next())n.value.mode="hidden"})).ic().S(.5);e.zc.push((function(){n.stop()}))}}(e,t);break;case"chapters":Pc(e,t);break;default:Qc(e)}})),e.o.D(o.textTracks,"removetrack",(function(){return Qc(e)})),e.o.D(o.textTracks,"change",(function(){return Qc(e)})));var a=dr(t.uri);o.src=function(e,t,n){try{if(!e.g.enabled)return t;var i=qs(e);e:{switch(n){case"video/webm":case"video/mp4":var o=nc;break e;case"application/x-mpegurl":o=Qs;break e}o=void 0}return i.ot=o,i.su=!0,Zs(t,$s(i))}catch(e){return K("CMCD_SRC_ERROR","Could not generate src CMCD data.",e),t}}(e.V,t.uri,Rl[a]),(zt()||$t("Web0S"))&&o.load(),e.l=Tl,e.dispatchEvent(Oc("streaming"));var s=new ri;return La(o,HTMLMediaElement.HAVE_METADATA,e.o,(function(){e.A.Yd(),s.resolve()})),La(o,HTMLMediaElement.HAVE_CURRENT_DATA,e.o,(function(){var t;return k((function(n){return 1==n.g?(function(e){var t=e.g.preferredAudioLanguage;""!=t&&e.Cf(t,e.g.preferredVariantRole)}(e),(t=Mc(e)).find((function(e){return"disabled"!=e.mode}))?(0<t.length&&(e.Y=!0),n.B(2)):y(n,new Promise((function(t){e.o.la(o.textTracks,"change",t),new Ht(t).S(1)})),2)):r?n.return():(function(e){var t=e.g.preferredTextLanguage;""!=t&&e.Df(t,e.g.preferredTextRole,e.g.preferForcedSubs)}(e),void b(n))}))})),o.error?s.reject(sl(e)):"none"==o.preload&&(z('With <video preload="none">, the browser will not load anything until play() is called. We are unable to measure load latency in a meaningful way, and we cannot provide track info yet. Please do not use preload="none" with Shaka Player.'),s.resolve()),e.o.la(o,"error",(function(){s.reject(sl(e))})),new ai(s,(function(){return s.reject(new ot(2,7,7001)),Promise.resolve()})).fa((function(){e.T()&&e.g.streaming.liveSync&&e.o.D(o,"timeupdate",(function(){return Jc(e)})),e.Fc=!0}))}(i,e,t)})),this.Pa=new Ls(this.N,{vg:function(e,t,n,o){var r=null;return e==i.N&&(r=n==i.N?i.N:i.W),e==i.W&&(r=n==i.N||t.mediaElement!=o.mediaElement?i.N:n==i.W?i.W:n==i.Rb||n==i.X?i.Rb:n==i.Tb?i.Re:null),e==i.Rb&&(r=n==i.X&&t.mediaElement==o.mediaElement?i.Ie:i.aa),e==i.Ie&&(r=gl(i.X,i.Ae,i.aa,n,t,o)),e==i.Ae&&(r=gl(i.X,i.ue,i.aa,n,t,o)),e==i.ue&&(r=gl(i.X,i.X,i.aa,n,t,o)),e==i.Re&&(r=n==i.Tb&&t.mediaElement==o.mediaElement?i.Tb:i.aa),e!=i.X&&e!=i.Tb||(r=i.aa),e==i.aa&&(r=o.mediaElement&&t.mediaElement==o.mediaElement?i.W:i.N),r},gg:function(e,t,n){return i.dispatchEvent(Oc("onstatechange",(new Map).set("state",e.name))),o.get(e)(t,n)},handleError:function(e){return k((function(t){return 1==t.g?y(t,Cc(i,e),2):t.return(e.mediaElement?i.W:i.N)}))},Tg:function(e){i.dispatchEvent(Oc("onstateidle",(new Map).set("state",e.name)))}}),this.xd=new Ht((function(){return function(e){function t(e){var t="";return e.video&&(t+="video:"+e.video.id),e.audio&&(t=t+(t?"&":"")+"audio:"+e.audio.id),t}for(var n=Date.now()/1e3,i=!1,o=l(e.i.variants),r=o.next();!r.done;r=o.next())0<(r=r.value).disabledUntilTime&&r.disabledUntilTime<=n&&(r.disabledUntilTime=0,i=!0,t(r));e.i.variants.every((function(e){return 0===e.disabledUntilTime}))&&e.xd.stop(),i&&Xc(e,!0,void 0,!1,!1)}(i)})),t&&this.yc(t,!0)}function Ic(e){null!=e.L&&(e.L.release(),e.L=null)}function Oc(e,t){return new pi(e,t)}function Cc(e,t){var n,i,o,r,a,s,c,u,d;return k((function(p){switch(p.g){case 1:return e.l!=yl&&(e.l=bl),n=e.zc.map((function(e){return e()})),e.zc=[],y(p,Promise.all(n),2);case 2:if(e.dispatchEvent(Oc("unloading")),t.mimeType=null,t.startTime=null,t.uri=null,e.Oa&&(e.Oa.release(),e.Oa=null),t.mediaElement&&e.o.ub(),e.xd.stop(),e.Sb&&(e.Sb.release(),e.Sb=null),e.vd&&(e.vd.stop(),e.vd=null),!e.I){p.B(3);break}return y(p,e.I.stop(),4);case 4:e.I=null,e.Bd=null;case 3:if(!e.s){p.B(5);break}return y(p,e.s.stop(),5);case 5:if(!e.j){p.B(7);break}return y(p,e.j.destroy(),8);case 8:e.j=null;case 7:if(e.H&&(e.H.release(),e.H=null),e.A&&(e.A.release(),e.A=null),!e.G){p.B(9);break}return y(p,e.G.destroy(),10);case 10:e.G=null;case 9:if(e.C&&e.C.onAssetUnload(),!t.mediaElement||!t.mediaElement.src){p.B(11);break}return y(p,new Promise((function(e){return new Ht(e).S(.1)})),12);case 12:for(t.mediaElement.removeAttribute("src"),t.mediaElement.load();t.mediaElement.lastChild;)t.mediaElement.removeChild(t.mediaElement.firstChild);case 11:if(!e.m){p.B(13);break}return y(p,e.m.destroy(),14);case 14:e.m=null;case 13:if(e.jc=null,e.M=null,e.i){for(i=l(e.i.variants),o=i.next();!o.done;o=i.next())for(r=o.value,a=l([r.audio,r.video]),s=a.next();!s.done;s=a.next())(c=s.value)&&c.segmentIndex&&c.segmentIndex.release();for(u=l(e.i.textStreams),s=u.next();!s.done;s=u.next())(d=s.value).segmentIndex&&d.segmentIndex.release()}e.i=null,e.u=new Tc,e.xe=null,Yc(e),b(p)}}))}function Rc(e,t,n,i){for(var o=(t=l(t)).next();!o.done;o=t.next())if((o=o.value).data&&o.cueTime&&o.frames){var r=o.cueTime+n,a=i;a&&r>a&&(a=r);for(var s=l(o.frames),c=s.next();!c.done;c=s.next())Nc(e,r,a,"org.id3",c.value);e.C&&e.C.onHlsTimedMetadata(o,r)}}function Nc(e,t,n,i,o){t=(new Map).set("startTime",t).set("endTime",n).set("metadataType",i).set("payload",o),e.dispatchEvent(Oc("metadata",t))}function Pc(e,t){if(t&&"chapters"==t.kind){t.mode="hidden";var n=new Ht((function(){t.mode="hidden"})).ic().S(.5);e.zc.push((function(){n.stop()}))}}function Lc(e,t){return new xo(t,e.g.drm.updateExpirationTime)}function kc(e,t){e.M=new Qn,e.M.g=ti,ei(e.M,t,Math.min(.5,t/2)),Yc(e),e.vd=new Ht((function(){wc(e)})).Da(.25)}function wc(e){switch(e.l){case Tl:if(e.h.ended)var t=!0;else{var n=br(e.h.buffered);t=null!=n&&n>=e.h.duration-1}break;case Sl:e:if(e.h.ended||ca(e.G))t=!0;else{if(e.i.presentationTimeline.T()){n=e.i.presentationTimeline.Cb();var i=br(e.h.buffered);if(null!=i&&i>=n){t=!0;break e}}t=!1}break;default:t=!1}i=Tr(e.h.buffered,e.h.currentTime);var o=t,r=(n=e.M).h.get(n.g);t=n.g,i=o||i>=r?ni:ti,n.g=i,t!=i&&Yc(e)}function Dc(e){if(e.I){var t=_i(e.g.manifest);e.h&&"AUDIO"===e.h.nodeName&&(t.disableVideo=!0),e.I.configure(t)}if(e.m&&e.m.configure(e.g.drm),e.j){e.j.configure(e.g.streaming);try{Wc(e,e.i)}catch(t){rl(e,t)}e.s&&qc(e),!(t=e.j.j)||t.allowedByApplication&&t.allowedByKeySystem||Xc(e)}if(e.F&&e.F.Ne(e.g.streaming.forceHTTPS),e.G&&(e.G.configure(e.g.mediaSource),e.G.N=e.g.manifest.segmentRelativeVttTiming,t=e.g.textDisplayFactory,e.xe!=t)){var n=t(),i=e.G,o=i.u;i.u=n,o&&(n.setTextVisibility(o.isTextVisible()),o.destroy()),i.g&&(i.g.j=n),e.xe=t,e.j&&((n=(t=e.j).h.get(ht))&&gs(t,n.stream,!0,0,!0))}e.s&&(e.s.configure(e.g.abr),e.g.abr.enabled?e.s.enable():e.s.disable(),il(e)),e.M&&(t=e.g.streaming.rebufferingGoal,e.i&&(t=Math.max(t,e.i.minBufferTime)),ei(e.M,t,Math.min(.5,t/2))),e.i&&ul(e.i.presentationTimeline,e.g.playRangeStart,e.g.playRangeEnd),e.C&&e.C.configure(e.g.ads),e.V&&e.V.configure(e.g.cmcd)}function Mc(e){return Array.from(e.h.textTracks).filter((function(e){return"metadata"!=e.kind&&"chapters"!=e.kind&&"Shaka Player TextTrack"!=e.label}))}function xc(e){return Array.from(e.h.textTracks).filter((function(e){return"chapters"==e.kind}))}function Uc(e,t){var n,i;return k((function(o){switch(o.g){case 1:return n=dr(t),(i=Nl[n])?o.return(i):(S(o,2),y(o,ur(t,e.F,e.g.streaming.retryParameters),4));case 4:i=o.h,A(o,3);break;case 2:I(o);case 3:if(i)return o.return(i);throw new ot(1,2,2011,n)}}))}function Vc(e,t,n,i,o,r,a){var s,c,l,u;return k((function(d){if(1==d.g)return"text/vtt"!=o||a.length?y(d,Fc(e,t,e.F,e.g.streaming.retryParameters),3):d.B(2);2!=d.g&&(s=d.h,c=Bc(e,s,o,a),l=new Blob([c],{type:"text/vtt"}),t=Ta(l),o="text/vtt"),u=document.createElement("track");var p=e.V,h=t;try{if(p.g.enabled){var f=qs(p);f.ot=oc,f.su=!0;var m=Zs(h,$s(f))}else m=h}catch(e){K("CMCD_TEXT_TRACK_ERROR","Could not generate text track CMCD data.",e),m=h}return u.src=m,u.label=r,u.kind=i,u.srclang=n,e.h.getAttribute("crossorigin")||e.h.setAttribute("crossorigin","anonymous"),e.h.appendChild(u),d.return(u)}))}function Fc(e,t,n,i){var o,r,a;return k((function(s){if(1==s.g){o=Oi,(r=Si([t],i)).method="GET";var c=e.V;try{c.g.enabled&&Xs(c,r,{ot:oc,su:!0})}catch(e){K("CMCD_TEXT_ERROR","Could not generate text CMCD data.",e)}return y(s,n.request(o,r).promise,2)}return a=s.h,s.return(a.data)}))}function Bc(e,t,n,i){var o=Rt[n];if(o)return n=o(),e={periodStart:0,segmentStart:0,segmentEnd:e.h.duration,vttOffset:0},t=oe(t),function(e,t){function n(e){for(var n=e,i=l(t),o=i.next();!o.done;o=i.next())(o=o.value).end&&o.start<e&&(n+=o.end-o.start);return(10>(e=Math.floor(n/3600))?"0":"")+e+":"+(10>(i=Math.floor(n/60%60))?"0":"")+i+":"+(10>(o=Math.floor(n%60))?"0":"")+o+"."+(100>(n=Math.floor(1e3*n%1e3))?10>n?"00":"0":"")+n}var i=xs(e,[]);e="WEBVTT\n\n";for(var o=(i=l(i)).next();!o.done;o=i.next())e+=n((o=o.value).startTime)+" --\x3e "+n(o.endTime)+function(e){var t=[];switch(e.textAlign){case"left":t.push("align:left");break;case"right":t.push("align:right");break;case Ee:t.push("align:middle");break;case"start":t.push("align:start");break;case"end":t.push("align:end")}switch(e.writingMode){case"vertical-lr":t.push("vertical:lr");break;case"vertical-rl":t.push("vertical:rl")}return t.length?" "+t.join(" "):""}(o)+"\n",e+=o.U+"\n\n";return e}(t=n.parseMedia(t,e),i);throw new ot(2,2,2014,n)}function Hc(e){var t=_c();return t.streaming.failureCallback=function(t){if(e.T()){var n=null;1001==t.code||1002==t.code?n=1:1003==t.code&&(n=.1),null!=n&&(t.severity=1,e.He(n))}},t.textDisplayFactory=function(){return e.nd?new Gs(e.h,e.nd):new Us(e.h)},t}function Gc(e,t){return k((function(n){if(1==n.g)return y(n,function(e,t){return k((function(n){if(1==n.g)return y(n,sn(e.j?e.j.j:null,t),2);pl(t),b(n)}))}(e,t),2);Wc(e,t),b(n)}))}function Wc(e,t){if(e.l!=yl){for(var n=e.g.restrictions,i=e.De,o=!1,r=l(t.variants),a=r.next();!a.done;a=r.next()){var s=(a=a.value).allowedByApplication;a.allowedByApplication=an(a,n,i),s!=a.allowedByApplication&&(o=!0)}if(o&&e.j&&Qc(e),(n=e.m?e.m.g:null)&&e.m.s)for(o=(i=l(t.variants)).next();!o.done;o=i.next())o=o.value,jc(e,n.keySystem,o.video),jc(e,n.keySystem,o.audio);dl(e,t)}}function jc(e,t,n){if(n)for(var i=(n=l(n.drmInfos)).next();!i.done;i=n.next())if((i=i.value).keySystem==t)for(var o=(i=l(i.initData||[])).next();!o.done;o=i.next())o=o.value,Go(e.m,o.initDataType,o.initData)}function Yc(e){var t=e.ie();if(e.u&&e.M&&e.A){var n=e.H;n.j=t,$a(n),e.V&&(n=e.V,t||n.i||(n.i=!0),n.i&&t&&(n.l=!0),n.m=t),Kc(e)}t=(new Map).set("buffering",t),e.dispatchEvent(Oc("buffering",t))}function zc(e){var t=e.h.playbackRate;0!=t&&(e.H&&e.H.set(t),t=Oc("ratechange"),e.dispatchEvent(t))}function Kc(e){if(e.u&&e.M){var t=e.u.g;e.M.g==ti?vc(t,"buffering"):e.h.paused?vc(t,"paused"):e.h.ended?vc(t,"ended"):vc(t,"playing")}}function Jc(e){if(e.T()){var t=e.ec();if(Number.isFinite(t.end)&&!(e.h.currentTime<t.start)){if(e.g.streaming.liveSync)var n=e.g.streaming.liveSyncMaxLatency,i=e.g.streaming.liveSyncPlaybackRate;else e.i&&e.i.serviceDescription&&(n=e.i.serviceDescription.maxLatency||e.g.streaming.liveSyncMaxLatency,i=e.i.serviceDescription.maxPlaybackRate||e.g.streaming.liveSyncPlaybackRate);var o=e.h.playbackRate,r=t.end-e.h.currentTime,a=0;if(e.l==Tl){var s=e.h.buffered;0<s.length&&(a=s.end(s.length-1),a=Math.max(i,a-t.end))}n&&i&&r-a>n?o!=i&&e.Nf(i):1!==o&&0!==o&&e.af()}}}function qc(e){try{dl(e,e.i)}catch(t){return rl(e,t),!1}var t=In(e.i.variants);return t=e.Za.create(t),e.s.setVariants(Array.from(t.values())),!0}function Xc(e,t,n,i,o){var r;t=void 0===t||t,n=void 0===n?0:n,i=void 0!==i&&i,o=void 0===o||o,(r=qc(e)?e.s.chooseVariant():null)&&$c(e,r,o,t,n,i)}function $c(e,t,n,i,o,r){r=void 0!==r&&r;var a=e.j.j;if(t==a)i&&ms(e.j,t,i,o,!0);else{var s=e.u.h;s.h!=t&&(s.h=t,s.g.push({timestamp:Date.now()/1e3,id:t.id,type:"variant",fromAdaptation:n,bandwidth:t.bandwidth})),ms(e.j,t,i,o,r,n),i=null,a&&(i=gn(a)),t=gn(t),n?(n=(new Map).set("oldTrack",i).set("newTrack",t),e.L&&ea(e.L,t),hl(e,n=Oc("adaptation",n))):el(e,i,t)}}function Zc(e,t){var n=Array.from(e.h.audioTracks).find((function(e){return e.enabled}));t.enabled=!0,t.id!==n.id&&(n.enabled=!1),el(e,n=Sn(n),t=Sn(t))}function Qc(e){hl(e,Oc("trackschanged"))}function el(e,t,n){t=(new Map).set("oldTrack",t).set("newTrack",n),e.L&&ea(e.L,n),hl(e,n=Oc("variantchanged",t))}function tl(e){hl(e,Oc("textchanged"))}function nl(e){hl(e,Oc("texttrackvisibility"))}function il(e){e.g.abr.enabled||ol(e),hl(e,Oc("abrstatuschanged",(new Map).set("newStatus",e.g.abr.enabled)))}function ol(e,t){if(t=void 0===t||t,e.l==Sl){e.xd.stop();for(var n=l(e.i.variants),i=n.next();!i.done;i=n.next())i.value.disabledUntilTime=0;t&&qc(e)}}function rl(e,t){if(e.l!=yl){2===t.severity&&ol(e,!1);var n=Oc("error",(new Map).set("detail",t));e.dispatchEvent(n),n.defaultPrevented&&(t.handled=!0)}}function al(e,t,n){n=(new Map).set("detail",{schemeIdUri:n.schemeIdUri,value:n.value,startTime:n.startTime,endTime:n.endTime,id:n.id,eventElement:n.eventElement}),e.dispatchEvent(Oc(t,n))}function sl(e){if(!e.h.error)return null;var t=e.h.error.code;if(1==t)return null;var n=e.h.error.msExtendedCode;return n&&(0>n&&(n+=Math.pow(2,32)),n=n.toString(16)),new ot(2,3,3016,t,n,e.h.error.message)}function cl(e,t){if(e.j){var n=Object.keys(t),i=1==n.length&&"00"==n[0],o=!1;if(n.length)for(var r=(n=l(e.i.variants)).next();!r.done;r=n.next()){var a=[];(r=r.value).audio&&a.push(r.audio),r.video&&a.push(r.video);for(var s=(a=l(a)).next();!s.done;s=a.next()){var c=s.value;if(s=r.allowedByKeySystem,c.keyIds.size){r.allowedByKeySystem=!0;for(var u=(c=l(c.keyIds)).next();!u.done;u=c.next())u=u.value,u=t[i?"00":u],r.allowedByKeySystem=r.allowedByKeySystem&&!!u&&!Il.includes(u)}s!=r.allowedByKeySystem&&(o=!0)}}o&&!qc(e)||((t=e.j.j)&&!t.allowedByKeySystem&&Xc(e),o&&Qc(e))}}function ll(e,t,n){e.I&&e.I.onExpirationUpdated&&e.I.onExpirationUpdated(t,n),t=Oc("expirationupdated"),e.dispatchEvent(t)}function ul(e,t,n){0<t&&(e.T()||e.Kf(t)),n<(t=e.getDuration())&&(e.T()||e.Ba(n))}function dl(e,t){e=e.m?e.m.qd():{};var n=Object.keys(e);n=n.length&&"00"==n[0];for(var i=!1,o=!1,r=new Set,a=new Set,s=(t=l(t.variants)).next();!s.done;s=t.next()){var c=[];(s=s.value).audio&&c.push(s.audio),s.video&&c.push(s.video);for(var u=(c=l(c)).next();!u.done;u=c.next())if((u=u.value).keyIds.size)for(var d=(u=l(u.keyIds)).next();!d.done;d=u.next()){d=d.value;var p=e[n?"00":d];p?Il.includes(p)&&a.add(p):r.add(d)}s.allowedByApplication?s.allowedByKeySystem&&(i=!0):o=!0}if(!i)throw new ot(2,4,4012,e={hasAppRestrictions:o,missingKeys:Array.from(r),restrictedKeyStatuses:Array.from(a)})}function pl(e){if(!e.variants.some(An))throw new ot(2,4,4032)}function hl(e,t){k((function(n){if(1==n.g)return y(n,Promise.resolve(),2);e.l!=yl&&e.dispatchEvent(t),b(n)}))}function fl(e){for(var t=new Set,n=(e=l(e)).next();!n.done;n=e.next())(n=n.value).language?t.add(wt(n.language)):t.add("und");return t}function ml(e){for(var t=new Map,n=new Map,i=(e=l(e)).next();!i.done;i=e.next()){var o="und",r=[];(i=i.value).language&&(o=wt(i.language)),(r="variant"==i.type?i.audioRoles:i.roles)&&r.length||(r=[""]),t.has(o)||t.set(o,new Set);for(var a=(r=l(r)).next();!a.done;a=r.next())a=a.value,t.get(o).add(a),i.label&&(n.has(o)||n.set(o,new Map),n.get(o).set(a,i.label))}var s=[];return t.forEach((function(e,t){for(var i=(e=l(e)).next();!i.done;i=e.next()){i=i.value;var o=null;n.has(t)&&n.get(t).has(i)&&(o=n.get(t).get(i)),s.push({language:t,role:i,label:o})}})),s}function _l(){return new ot(2,7,7e3)}function gl(e,t,n,i,o,r){return i==e&&o.mediaElement==r.mediaElement&&o.uri==r.uri&&o.mimeType==r.mimeType?t:n}function El(){return{mediaElement:null,mimeType:null,startTime:null,Od:NaN,uri:null}}function vl(e){return new Promise((function(t,n){e.Kb=function(){return n(_l())},e.Id=function(){return t()},e.onError=function(e){return n(e)},e.Kd=function(){return n(_l())}}))}B("shaka.util.CmcdManager.StreamingFormat",{DASH:"d",HLS:"h",Ph:"s",OTHER:"o"}),B("shaka.util.ConfigUtils",ac),ac.convertToConfigObject=cc,ac.mergeConfigObjects=sc,B("shaka.util.FairPlayUtils",uc),uc.commonFairPlayResponse=function(e,t){if(2===e){try{var n=Bi(t.data)}catch(e){return}e=!1,"<ckc>"===(n=n.trim()).substr(0,5)&&"</ckc>"===n.substr(-6)&&(n=n.slice(5,-6),e=!0);try{var i=JSON.parse(n);i.ckc&&(n=i.ckc,e=!0),i.CkcMessage&&(n=i.CkcMessage,e=!0),i.License&&(n=i.License,e=!0)}catch(e){}e&&(t.data=ie(co(n)))}},uc.expressplayFairPlayRequest=function(e,t){fc(e,t)},uc.conaxFairPlayRequest=function(e,t){fc(e,t)},uc.ezdrmFairPlayRequest=function(e,t){fc(e,t)},uc.verimatrixFairPlayRequest=function(e,t){2===e&&(e=so(e=oe(t.body)),t.headers["Content-Type"]="application/x-www-form-urlencoded",t.body=Wi("spc="+e))},uc.expressplayInitDataTransform=function(e,t,n){return hc(e,t,n)},uc.conaxInitDataTransform=function(t,n,i){if("skd"!==n)return t;n=i.serverCertificate,i=Gi(t).split("skd://").pop().split("?").shift(),i=e.atob(i);var o=new ArrayBuffer(2*i.length);o=new Uint16Array(o);for(var r=0,a=i.length;r<a;r++)o[r]=i.charCodeAt(r);return pc(t,o,n)},uc.ezdrmInitDataTransform=function(e,t,n){return"skd"!==t?e:(t=n.serverCertificate,pc(e,n=Gi(e).split(";").pop(),t))},uc.verimatrixInitDataTransform=function(e,t,n){return hc(e,t,n)},uc.initDataTransform=pc,uc.defaultGetContentId=dc,uc.isFairPlaySupported=function(){var e;return k((function(t){return 1==t.g?(e={initDataTypes:["cenc","sinf","skd"],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.42E01E"'}]},S(t,2),y(t,navigator.requestMediaKeySystemAccess("com.apple.fps",[e]),4)):2!=t.g?t.return(!0):(I(t),t.return(!1))}))},B("shaka.util.PlayerConfiguration",mc),mc.mergeConfigObjects=gc,mc.createDefault=_c,_(Ac,mi),(i=Ac.prototype).destroy=function(){var e,t=this;return k((function(n){switch(n.g){case 1:return t.l==yl?n.return():(Ic(t),t.l=yl,e=ks(t.Pa,(function(){return{node:t.N,U:El(),Eb:!1}})),y(n,new Promise((function(t){e.bc=function(){},e.Id=function(){t()},e.Kb=function(){t()},e.onError=function(){t()},e.Kd=function(){t()}})),2));case 2:return y(n,t.Pa.destroy(),3);case 3:if(t.zd&&(t.zd.release(),t.zd=null),t.xc&&(t.xc.release(),t.xc=null),t.o&&(t.o.release(),t.o=null),t.qe=null,t.g=null,t.u=null,t.nd=null,t.V=null,!t.F){n.B(4);break}return y(n,t.F.destroy(),5);case 5:t.F=null;case 4:t.s&&(t.s.release(),t.s=null),mi.prototype.release.call(t),b(n)}}))},i.yc=function(e,t){if(t=void 0===t||t,this.l==yl)return Promise.reject(_l());var n=El();n.mediaElement=e,Gt()||(t=!1);var i=t?this.Rb:this.W;return(e=ks(this.Pa,(function(){return{node:i,U:n,Eb:!1}}))).bc=function(){},vl(e)},i.Wf=function(e){this.Of=e},i.detach=function(){var e=this;if(this.l==yl)return Promise.reject(_l());var t=ks(this.Pa,(function(){return{node:e.N,U:El(),Eb:!1}}));return t.bc=function(){},vl(t)},i.Ue=function(e){var t=this;if(e=void 0===e||e,this.l==yl)return Promise.reject(_l());this.Fc=!1,Gt()||(e=!1),Ic(this);var n=El(),i=ks(this.Pa,(function(i){var o=i.mediaElement&&e?t.Rb:i.mediaElement?t.W:t.N;return n.mediaElement=i.mediaElement,{node:o,U:n,Eb:!1}}));return i.bc=function(){},vl(i)},i.rh=function(e){this.Gc=e},i.load=function(e,t,n){var i=this;if(this.Gc=null,this.Fc=!1,this.l==yl)return Promise.reject(_l());this.dispatchEvent(Oc("loading"));var o=El();o.uri=e,o.Od=Date.now()/1e3,n&&(o.mimeType=n),void 0!==t&&(o.startTime=t);var r=function(e,t){if(!Gt())return!0;var n=t.mimeType,i=t.uri||"";if(n||(n=dr(i),n=Rl[n]),n){if(""==(t.mediaElement||Zt()).canPlayType(n))return!1;if(!Gt()||!(n in pr)&&!(dr(i)in hr)||("application/x-mpegurl"===n||"application/vnd.apple.mpegurl"===n)&&e.g.streaming.preferNativeHls)return!0;if(Jt())return e.g.streaming.useNativeHlsOnSafari}return!1}(this,o)?this.Tb:this.X,a=ks(this.Pa,(function(e){return null==e.mediaElement?null:(o.mediaElement=e.mediaElement,{node:r,U:o,Eb:!0})}));return this.u=new Tc,a.bc=function(){},new Promise((function(e,t){a.Kd=function(){return t(new ot(2,7,7002))},a.Id=function(){e(),i.dispatchEvent(Oc("loaded"))},a.Kb=function(){return t(_l())},a.onError=function(e){return t(e)}}))},i.configure=function(e,t){2==arguments.length&&"string"==typeof e&&(e=cc(e,t)),e.streaming&&"forceTransmuxTS"in e.streaming&&(Wn("streaming.forceTransmuxTS configuration","Please Use mediaSource.forceTransmux instead."),e.mediaSource.mediaSource=e.streaming.forceTransmuxTS,delete e.streaming.forceTransmuxTS),e.streaming&&"forceTransmux"in e.streaming&&(Wn("streaming.forceTransmux configuration","Please Use mediaSource.forceTransmux instead."),e.mediaSource.mediaSource=e.streaming.forceTransmux,delete e.streaming.forceTransmux),e.streaming&&e.streaming.lowLatencyMode&&(null==e.streaming.inaccurateManifestTolerance&&(e.streaming.inaccurateManifestTolerance=0),null==e.streaming.rebufferingGoal&&(e.streaming.rebufferingGoal=.01),null==e.streaming.segmentPrefetchLimit&&(e.streaming.segmentPrefetchLimit=2));var n=gc(this.g,e,Hc(this));return Dc(this),n},i.getConfiguration=function(){var e=Hc(this);return gc(e,this.g,Hc(this)),e},i.jg=function(){if(this.h){var e=this.h.buffered.length;e=e?this.h.buffered.end(e-1):0;var t=this.getConfiguration().streaming.bufferingGoal;if(e>=(t=Math.min(this.h.currentTime+t,this.ec().end)))return 1;if(!(e<=this.h.currentTime)&&e<t)return(e-this.h.currentTime)/(t-this.h.currentTime)}return 0},i.eh=function(){for(var e in this.g)delete this.g[e];gc(this.g,Hc(this),Hc(this)),Dc(this)},i.pg=function(){return this.l},i.sg=function(){return this.i?this.i.type:null},i.ug=function(){return this.h},i.Bb=function(){return this.F},i.de=function(){return this.jc},i.lf=function(){return this.C?this.C:null},i.T=function(){return this.i?this.i.presentationTimeline.T():!(!this.h||!this.h.src)&&1/0==this.h.duration},i.Gb=function(){return!!this.i&&this.i.presentationTimeline.Gb()},i.Lg=function(){if(this.i){var e=this.i.variants;return!!e.length&&!e[0].video}return!(!this.h||!this.h.src)&&(this.h.videoTracks?0==this.h.videoTracks.length:0==this.h.videoHeight)},i.ec=function(){if(!this.Fc)return{start:0,end:0};if(this.i){var e=this.i.presentationTimeline;return{start:e.Yb(),end:e.eb()}}return this.h&&this.h.src&&(e=this.h.seekable).length?{start:e.start(0),end:e.end(e.length-1)}:{start:0,end:0}},i.Ig=function(){this.T()&&(this.h.currentTime=this.ec().end)},i.keySystem=function(){var e=this.drmInfo();return e?e.keySystem:""},i.drmInfo=function(){return this.m?this.m.g:null},i.Ic=function(){return this.m?this.m.Ic():1/0},i.ce=function(){return this.m?this.m.ce():[]},i.qd=function(){return this.m?this.m.qd():{}},i.ie=function(){return!!this.M&&this.M.g==ti},i.rd=function(){return this.h?this.H?this.H.i:1:0},i.Nf=function(e){0==e?z("A trick play rate of 0 is unsupported!"):(this.h.paused&&this.h.play(),this.H.set(e),this.l==Sl&&(this.s.playbackRateChanged(e),fs(this.j,1<Math.abs(e))))},i.af=function(){var e=this.H.pd();this.l==Tl&&this.H.set(e),this.l==Sl&&(this.H.set(e),this.s.playbackRateChanged(e),fs(this.j,!1))},i.sb=function(){if(this.i){for(var e=this.j?this.j.j:null,t=[],n=0,i=l(this.i.variants),o=i.next();!o.done;o=i.next())if(An(o=o.value)){var r=gn(o);r.active=o==e,r.active||1==n||null==e||o.video!=e.video||o.audio!=e.audio||(r.active=!0),r.active&&n++,t.push(r)}return t}return this.h&&this.h.audioTracks?Array.from(this.h.audioTracks).map((function(e){return Sn(e)})):[]},i.Zb=function(){if(this.i){for(var e=this.j?this.j.o:null,t=[],n=l(this.i.textStreams),i=n.next();!i.done;i=n.next()){var o=En(i=i.value);o.active=i==e,t.push(o)}return t}return this.h&&this.h.src&&this.h.textTracks?Mc(this).map((function(e){return bn(e)})):[]},i.og=function(){return this.i?this.i.imageStreams.map((function(e){return vn(e)})):[]},i.Cg=function(e,t){var n,i,o,r,a,s,c,l,u,d,p,h,f,m,_,g,E,v,b,S,T=this;return k((function(A){return 1==A.g?T.i?(n=T.i.imageStreams.find((function(t){return t.id==e})))?n.segmentIndex?A.B(3):y(A,n.createSegmentIndex(),3):A.return(null):A.B(2):2!=A.g?null==(i=n.segmentIndex.find(t))?A.return(null):(o=n.segmentIndex.get(i),r=o.tilesLayout||n.tilesLayout,(a=/(\d+)x(\d+)/.exec(r))?(s=n.width||0,c=n.height||0,l=parseInt(a[1],10),u=parseInt(a[2],10),d=s/l,p=c/u,h=l*u,f=o.l-o.startTime,m=o.C||f/h,_=o.startTime,E=g=0,1<h&&(v=Math.floor((t-o.startTime)/m),_=o.startTime+v*m,g=v%l*d,E=Math.floor(v/l)*p),b=!1,(S=o.A)&&(b=!0,p=S.height,g=S.positionX,E=S.positionY,d=S.width),A.return({imageHeight:c,imageWidth:s,height:p,positionX:g,positionY:E,startTime:_,duration:m,uris:o.xa(),width:d,sprite:b})):A.return(null)):A.return(null)}))},i.Ef=function(e){if(this.i&&this.j){var t=this.i.textStreams.find((function(t){return t.id==e.id}));t&&t!=this.j.o&&(Sc(this.u.h,t,!1),_s(this.j,t),tl(this),this.Qb=t.language)}else if(this.h&&this.h.src&&this.h.textTracks){for(var n=(t=l(t=Mc(this))).next();!n.done;n=t.next())yn(n=n.value)==e.id?n.mode=this.Y?"showing":"hidden":n.mode="disabled";tl(this)}},i.Le=function(e,t,n){if(t=void 0!==t&&t,n=void 0===n?0:n,this.i&&this.j){this.g.abr.enabled&&z("Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().");var i=this.i.variants.find((function(t){return t.id==e.id}));i&&An(i)&&($c(this,i,!1,t,n),this.Za=new $n(i),qc(this))}else if(this.h&&this.h.audioTracks)for(n=(t=l(t=Array.from(this.h.audioTracks))).next();!n.done;n=t.next())if(yn(n=n.value)==e.id){Zc(this,n);break}},i.ig=function(){return ml(this.sb())},i.Ag=function(){return ml(this.Zb())},i.hg=function(){return Array.from(fl(this.sb()))},i.zg=function(){return Array.from(fl(this.Zb()))},i.Cf=function(e,t,n,i){if(n=void 0===n?0:n,i=void 0===i?0:i,this.i&&this.A){this.Za=new Zn(e,t||"",n,"",""),e=function(e,t){return e.video||t.video?e.video&&t.video?Math.abs((e.video.height||0)-(t.video.height||0))+Math.abs((e.video.width||0)-(t.video.width||0)):1/0:0},t=this.j.j;var o=this.Za.create(this.i.variants);n=null;for(var r=(o=l(o.values())).next();!r.done;r=o.next())r=r.value,(!n||e(n,t)>e(r,t))&&(n=r);n?(e=gn(n),this.Le(e,!0,i)):Xc(this)}else this.h&&this.h.audioTracks&&(i=Cn(this.sb(),e,t||"",!1)[0])&&this.Le(i)},i.Df=function(e,t,n){n=void 0!==n&&n,this.i&&this.A?(this.Qb=e,this.Ec=t||"",this.Ac=n,(e=Cn(this.i.textStreams,this.Qb,this.Ec,this.Ac)[0]||null)&&e!=this.j.o&&(Sc(this.u.h,e,!1),this.g.streaming.alwaysStreamText||this.ke())&&(_s(this.j,e),tl(this))):(e=Cn(this.Zb(),e,t||"",n)[0])&&this.Ef(e)},i.hh=function(e,t,n){if(t=void 0===t||t,n=void 0===n?0:n,this.i&&this.A){for(var i=null,o=l(this.i.variants),r=o.next();!r.done;r=o.next())if((r=r.value).audio.label==e){i=r;break}null!=i&&(this.Za=new Zn(i.language,"",0,"",e),Xc(this,t,n))}else if(this.h&&this.h.audioTracks){for(t=null,i=(n=l(n=Array.from(this.h.audioTracks))).next();!i.done;i=n.next())(i=i.value).label==e&&(t=i);t&&Zc(this,t)}},i.ke=function(){var e=this.Y;return this.G?this.G.u.isTextVisible():this.h&&this.h.src&&this.h.textTracks?Mc(this).some((function(e){return"showing"==e.mode})):e},i.mf=function(){return this.h&&this.h.src&&this.h.textTracks?xc(this).map((function(e){return bn(e)})):[]},i.kg=function(e){var t=wt(e),n=xc(this).filter((function(e){return wt(e.language)==t}));if(!n||!n.length)return[];e=[];for(var i=new Set,o=(n=l(n)).next();!o.done;o=n.next())if((o=o.value)&&o.cues)for(var r=(o=l(o.cues)).next();!r.done;r=o.next()){var a=r.value;(r=a.id)&&""!=r||(r=a.startTime+"-"+a.endTime+"-"+a.text),a={id:r,title:a.text,startTime:a.startTime,endTime:a.endTime},i.has(r)||(e.push(a),i.add(r))}return e},i.mh=function(e){if(e=!!e,this.Y!=e){if(this.Y=e,this.l==Sl)this.G.u.setTextVisibility(e),this.g.streaming.alwaysStreamText||(e?this.j.o||0<(e=Cn(this.i.textStreams,this.Qb,this.Ec,this.Ac)).length&&(_s(this.j,e[0]),tl(this)):function(e){var t=e.h.get(ht);t&&(Rs(t),Ns(t).catch((function(){})),e.h.delete(ht)),e.o=null}(this.j));else if(this.h&&this.h.src&&this.h.textTracks)for(var t=Mc(this),n=(t=l(t)).next();!n.done;n=t.next())"disabled"!=(n=n.value).mode&&(n.mode=e?"showing":"hidden");nl(this)}},i.xg=function(){if(!this.T())return null;var e=this.Pa.l,t=0;if(this.A)t=this.A.gd();else if(e){if(null==e.startTime)return new Date;t=e.startTime}return this.i?new Date(1e3*(this.i.presentationTimeline.i+t)):this.h&&this.h.getStartDate?(e=this.h.getStartDate(),isNaN(e.getTime())?null:new Date(e.getTime()+1e3*t)):null},i.nf=function(){if(!this.T())return null;if(this.i)return new Date(1e3*this.i.presentationTimeline.i);if(this.h&&this.h.getStartDate){var e=this.h.getStartDate();return isNaN(e.getTime())?null:e}return null},i.cb=function(){if(this.l==Sl)return this.G.cb();var e={total:[],audio:[],video:[],text:[]};return this.l==Tl&&(e.total=Ar(this.h.buffered)),e},i.getStats=function(){if(this.l!=Sl&&this.l!=Tl)return{width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,corruptedFrames:NaN,stallsDetected:NaN,gapsJumped:NaN,estimatedBandwidth:NaN,completionPercent:NaN,loadLatency:NaN,manifestTimeSeconds:NaN,drmTimeSeconds:NaN,playTime:NaN,pauseTime:NaN,bufferingTime:NaN,licenseTime:NaN,liveLatency:NaN,maxSegmentDuration:NaN,switchHistory:[],stateHistory:[]};Kc(this);var e=this.h,t=e.currentTime/e.duration;if(!isNaN(t)){var n=this.u;t=Math.round(100*t),n.i=isNaN(n.i)?t:Math.max(n.i,t)}if(this.A&&(this.u.M=this.A.Xe(),this.u.N=this.A.Ye()),e.getVideoPlaybackQuality){n=e.getVideoPlaybackQuality(),t=this.u;var i=Number(n.totalVideoFrames);t.L=Number(n.droppedVideoFrames),t.I=i,this.u.H=Number(n.corruptedVideoFrames)}this.m?n=(n=this.m).H?n.H:NaN:n=NaN,this.u.s=n,this.l==Sl&&((n=this.j.j)&&(this.u.A=(this.H?this.H.i:1)*n.bandwidth),n&&n.video&&(t=this.u,i=n.video.height||NaN,t.o=n.video.width||NaN,t.l=i),this.T()&&(n=this.nf().valueOf()+1e3*this.ec().end,this.u.C=(Date.now()-n)/1e3),this.i&&this.i.presentationTimeline&&(this.u.G=this.i.presentationTimeline.g),n=this.s.getBandwidthEstimate(),this.u.u=n),this.l==Tl&&(n=this.u,t=e.videoHeight||NaN,n.o=e.videoWidth||NaN,n.l=t);var o=this.u;e=o.o,n=o.l,t=o.A,i=o.I;for(var r=o.L,a=o.H,s=o.N,c=o.M,u=o.u,d=o.i,p=o.m,h=o.F,f=o.j,m=yc(o.g,"playing"),_=yc(o.g,"paused"),g=yc(o.g,"buffering"),E=o.s,v=o.C,y=o.G,b=function(e){function t(e){return{timestamp:e.timestamp,state:e.state,duration:e.duration}}for(var n=[],i=l(e.h),o=i.next();!o.done;o=i.next())n.push(t(o.value));return e.g&&n.push(t(e.g)),n}(o.g),S=[],T=(o=l(o.h.g)).next();!T.done;T=o.next())T=T.value,S.push({timestamp:T.timestamp,id:T.id,type:T.type,fromAdaptation:T.fromAdaptation,bandwidth:T.bandwidth});return{width:e,height:n,streamBandwidth:t,decodedFrames:i,droppedFrames:r,corruptedFrames:a,stallsDetected:s,gapsJumped:c,estimatedBandwidth:u,completionPercent:d,loadLatency:p,manifestTimeSeconds:h,drmTimeSeconds:f,playTime:m,pauseTime:_,bufferingTime:g,licenseTime:E,liveLatency:v,maxSegmentDuration:y,stateHistory:b,switchHistory:S}},i.Tf=function(e,t,n,i,o,r,a){a=void 0!==a&&a;var s,c,l,u,d,p,h,f,m,_,g=this;return k((function(E){switch(E.g){case 1:if(g.l!=Sl&&g.l!=Tl)throw new ot(1,7,7004);if(i){E.B(2);break}return y(E,Uc(g,e),3);case 3:i=E.h;case 2:if(s=[],g.C)try{s=g.C.getServerSideCuePoints()}catch(e){}if(g.l!=Tl){E.B(4);break}return a&&(n="forced"),y(E,Vc(g,e,t,n,i,r||"",s),5);case 5:if(c=g.Zb(),l=c.find((function(e){return e.language==t&&e.label==(r||"")&&e.kind==n})))return Qc(g),E.return(l);throw new ot(1,2,2012);case 4:if(u=ft,1/0==(d=g.i.presentationTimeline.getDuration()))throw new ot(1,4,4033);if(!s.length){E.B(6);break}return y(E,Fc(g,e,g.F,g.g.streaming.retryParameters),7);case 7:p=E.h,h=Bc(g,p,i,s),f=new Blob([h],{type:"text/vtt"}),e=Ta(f),i="text/vtt";case 6:if(m={id:g.Ee++,originalId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:Ka(0,d,[e]),mimeType:i||"",codecs:o||"",kind:n,encrypted:!1,drmInfos:[],keyIds:new Set,language:t,originalLanguage:t,label:r||null,type:u.da,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!!a,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!0},_=gt(m.mimeType,m.codecs),!It(_))throw new ot(2,2,2014,i);return g.i.textStreams.push(m),Qc(g),E.return(En(m))}}))},i.Uf=function(e,t){var n,i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v=this;return k((function(b){switch(b.g){case 1:if(v.l!=Sl&&v.l!=Tl)throw new ot(1,7,7004);if(v.l==Tl)throw new ot(1,2,2016);if(t){b.B(2);break}return y(b,Uc(v,e),3);case 3:t=b.h;case 2:if("text/vtt"!=t)throw new ot(1,2,2017,e);if(n=ft,1/0==(i=v.i.presentationTimeline.getDuration()))throw new ot(1,4,4045);return y(b,Fc(v,e,v.F,v.g.streaming.retryParameters),4);case 4:if(o=b.h,!(r=Rt[t]))throw new ot(2,2,2014,t);for(a=r(),s={periodStart:0,segmentStart:0,segmentEnd:i,vttOffset:0},c=oe(o),u=a.parseMedia(c,s),d=[],p={},h=l(u),f=h.next();!f.done;p={nc:p.nc},f=h.next())m=f.value,p.nc=lt([e],[m.U])[0],_=new Er(m.startTime,m.endTime,function(e){return function(){return[e.nc]}}(p),0,null,null,0,0,1/0),p.nc.includes("#xywh")&&(4===(g=p.nc.split("#xywh=")[1].split(",")).length&&_.Jf({height:parseInt(g[3],10),positionX:parseInt(g[0],10),positionY:parseInt(g[1],10),width:parseInt(g[2],10)})),d.push(_);return E={id:v.Ee++,originalId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:new Ya(d),mimeType:t||"",codecs:"",kind:"",encrypted:!1,drmInfos:[],keyIds:new Set,language:"und",originalLanguage:null,label:null,type:n.wc,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,tilesLayout:"1x1",accessibilityPurpose:null,external:!0},v.i.imageStreams.push(E),Qc(v),b.return(vn(E))}}))},i.Sf=function(e,t,n){var i,o,r,a,s=this;return k((function(c){switch(c.g){case 1:if(s.l!=Sl&&s.l!=Tl)throw new ot(1,7,7004);if(n){c.B(2);break}return y(c,Uc(s,e),3);case 3:n=c.h;case 2:if(i=[],s.C)try{i=s.C.getServerSideCuePoints()}catch(e){}return y(c,Vc(s,e,t,"chapters",n,"",i),4);case 4:if(o=c.h,r=s.mf(),!(a=r.find((function(e){return e.language==t})))){c.B(5);break}return y(c,new Promise((function(e,t){s.o.la(o,"load",e),s.o.la(o,"error",(function(){t(new ot(1,2,2015))}))})),6);case 6:return c.return(a);case 5:throw new ot(1,2,2012)}}))},i.Oe=function(e,t){this.De.width=e,this.De.height=t},i.He=function(e){if(this.l==Sl){var t=this.j;if(e=void 0===e?.1:e,t.l.g)t=!1;else if(t.s)t=!1;else{for(var n=l(t.h.values()),i=n.next();!i.done;i=n.next())!(i=i.value).Nc||i.va||i.Ya||(i.Nc=!1,Cs(t,i,e));t=!0}}else t=!1;return t},i.qg=function(){return z("Shaka Player's internal Manifest structure is NOT covered by semantic versioning compatibility guarantees. It may change at any time! Please consider filing a feature request for whatever you use getManifest() for."),this.i},i.rg=function(){return this.Bd},i.Lf=function(e){this.nd=e},i.ae=function(e,t){if(!this.g.abr.enabled||this.l===yl||!navigator.onLine)return!1;if(this.i.variants.some((function(t){return!(!(t=t[e.type])||t.id===e.id)&&("audio"!=e.type||e.language===t.language)}))){for(var n=l(this.i.variants),i=n.next();!i.done;i=n.next()){var o=(i=i.value)[e.type];o&&o.id===e.id&&(i.disabledUntilTime=Date.now()/1e3+t)}return this.xd.Da(1),Xc(this,!0,t=this.cb().video.reduce((function(e,t){return e+t.end-t.start}),0),!0,!1),!0}return!1},B("shaka.Player",Ac),Ac.prototype.setVideoContainer=Ac.prototype.Lf,Ac.prototype.getManifestParserFactory=Ac.prototype.rg,Ac.prototype.getManifest=Ac.prototype.qg,Ac.prototype.retryStreaming=Ac.prototype.He,Ac.prototype.setMaxHardwareResolution=Ac.prototype.Oe,Ac.prototype.addChaptersTrack=Ac.prototype.Sf,Ac.prototype.addThumbnailsTrack=Ac.prototype.Uf,Ac.prototype.addTextTrackAsync=Ac.prototype.Tf,Ac.prototype.getStats=Ac.prototype.getStats,Ac.prototype.getBufferedInfo=Ac.prototype.cb,Ac.prototype.getPresentationStartTimeAsDate=Ac.prototype.nf,Ac.prototype.getPlayheadTimeAsDate=Ac.prototype.xg,Ac.prototype.setTextTrackVisibility=Ac.prototype.mh,Ac.prototype.getChapters=Ac.prototype.kg,Ac.prototype.getChaptersTracks=Ac.prototype.mf,Ac.prototype.isTextTrackVisible=Ac.prototype.ke,Ac.prototype.selectVariantsByLabel=Ac.prototype.hh,Ac.prototype.selectTextLanguage=Ac.prototype.Df,Ac.prototype.selectAudioLanguage=Ac.prototype.Cf,Ac.prototype.getTextLanguages=Ac.prototype.zg,Ac.prototype.getAudioLanguages=Ac.prototype.hg,Ac.prototype.getTextLanguagesAndRoles=Ac.prototype.Ag,Ac.prototype.getAudioLanguagesAndRoles=Ac.prototype.ig,Ac.prototype.selectVariantTrack=Ac.prototype.Le,Ac.prototype.selectTextTrack=Ac.prototype.Ef,Ac.prototype.getThumbnails=Ac.prototype.Cg,Ac.prototype.getImageTracks=Ac.prototype.og,Ac.prototype.getTextTracks=Ac.prototype.Zb,Ac.prototype.getVariantTracks=Ac.prototype.sb,Ac.prototype.cancelTrickPlay=Ac.prototype.af,Ac.prototype.trickPlay=Ac.prototype.Nf,Ac.prototype.getPlaybackRate=Ac.prototype.rd,Ac.prototype.isBuffering=Ac.prototype.ie,Ac.prototype.getKeyStatuses=Ac.prototype.qd,Ac.prototype.getActiveSessionsMetadata=Ac.prototype.ce,Ac.prototype.getExpiration=Ac.prototype.Ic,Ac.prototype.drmInfo=Ac.prototype.drmInfo,Ac.prototype.keySystem=Ac.prototype.keySystem,Ac.prototype.goToLive=Ac.prototype.Ig,Ac.prototype.seekRange=Ac.prototype.ec,Ac.prototype.isAudioOnly=Ac.prototype.Lg,Ac.prototype.isInProgress=Ac.prototype.Gb,Ac.prototype.isLive=Ac.prototype.T,Ac.prototype.getAdManager=Ac.prototype.lf,Ac.prototype.getAssetUri=Ac.prototype.de,Ac.prototype.getNetworkingEngine=Ac.prototype.Bb,Ac.prototype.getMediaElement=Ac.prototype.ug,Ac.prototype.getManifestType=Ac.prototype.sg,Ac.prototype.getLoadMode=Ac.prototype.pg,Ac.prototype.resetConfiguration=Ac.prototype.eh,Ac.prototype.getBufferFullness=Ac.prototype.jg,Ac.prototype.getConfiguration=Ac.prototype.getConfiguration,Ac.prototype.configure=Ac.prototype.configure,Ac.prototype.load=Ac.prototype.load,Ac.prototype.updateStartTime=Ac.prototype.rh,Ac.prototype.unload=Ac.prototype.Ue,Ac.prototype.detach=Ac.prototype.detach,Ac.prototype.attachCanvas=Ac.prototype.Wf,Ac.prototype.attach=Ac.prototype.yc,Ac.probeSupport=function(e){var t,n,i,o,r;return e=void 0===e||e,k((function(a){if(1==a.g)return t={},e?y(a,function(){var e,t,n,i,o,r;return k((function(a){return 1==a.g?(e="org.w3.clearkey com.widevine.alpha com.microsoft.playready com.microsoft.playready.recommendation com.apple.fps.1_0 com.apple.fps com.adobe.primetime".split(" "),n=[{videoCapabilities:t=[{contentType:'video/mp4; codecs="avc1.42E01E"'},{contentType:'video/webm; codecs="vp8"'}],persistentState:"required",sessionTypes:["persistent-license"]},{initDataTypes:["cenc"],videoCapabilities:t}],i=new Map,o=function(e){var t,o,r;return k((function(a){switch(a.g){case 1:if(S(a,2),"org.w3.clearkey"===e&&Xt())throw Error("Unsupported keySystem");return y(a,navigator.requestMediaKeySystemAccess(e,n),4);case 4:return t=a.h,r=!!(o=t.getConfiguration().sessionTypes)&&o.includes("persistent-license"),$t("Tizen 3")&&(r=!1),i.set(e,{persistentState:r}),y(a,t.createMediaKeys(),5);case 5:A(a,0);break;case 2:I(a),i.set(e,null),b(a)}}))},r=e.map((function(e){return o(e)})),y(a,Promise.all(r),2)):a.return(Ui(i))}))}(),3):a.B(2);2!=a.g&&(t=a.h);var s={};if(Gt()){for(var c in pr)s[c]=!0;for(var d in hr)s[d]=!0}c={mpd:"application/dash+xml",m3u8:"application/x-mpegurl",ism:"application/vnd.ms-sstr+xml"};for(var p=(d=l(["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"])).next();!p.done;p=d.next())s[p=p.value]=Gt()?!!pr[p]:Wt(p);for(var h in c)s[h]=Gt()?!!hr[h]:Wt(c[h]);for(n=s,s={},c=(h=l(h='video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="opus",audio/mp4; codecs="flac",audio/mp4; codecs="dtsc",audio/mp4; codecs="dtse",audio/mp4; codecs="dtsx",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").concat(u(Tt)))).next();!c.done;c=h.next())s[c=c.value]=Gt()?!!It(c)||(X(c)||!!Ue(c)):Wt(c),s[d=c.split(";")[0]]=s[d]||s[c];for(r in i={manifest:n,media:s,drm:t},o=Ol)i[r]=o[r]();return a.return(i)}))},Ac.isBrowserSupported=function(){if(e.Promise||z("A Promise implementation or polyfill is required"),!(e.Promise&&e.Uint8Array&&Array.prototype.forEach)||$t("Trident/"))return!1;var t=Xt();return!(t&&13>t||!(e.MediaKeys&&e.navigator&&e.navigator.requestMediaKeySystemAccess&&e.MediaKeySystemAccess&&e.MediaKeySystemAccess.prototype.getConfiguration))&&(!!Gt()||Wt("application/x-mpegurl"))},Ac.setAdManagerFactory=function(e){Cl=e},Ac.registerSupportPlugin=function(e,t){Ol[e]=t},Ac.prototype.destroy=Ac.prototype.destroy;var yl=0,bl=1,Sl=2,Tl=3;Ac.LoadMode={DESTROYED:yl,NOT_LOADED:bl,MEDIA_SOURCE:Sl,SRC_EQUALS:Tl},Ac.version="v4.4.2";var Al=["4","4"];zn=new function(e){this.g=e,this.i=jn,this.h=Yn}(new Gn(Number(Al[0]),Number(Al[1])));var Il=["output-restricted","internal-error"],Ol={},Cl=null,Rl={mp4:"video/mp4",m4v:"video/mp4",m4a:"audio/mp4",webm:"video/webm",weba:"audio/webm",mkv:"video/webm",ts:"video/mp2t",ogv:"video/ogg",ogg:"audio/ogg",mpg:"video/mpeg",mpeg:"video/mpeg",m3u8:"application/x-mpegurl",mpd:"application/dash+xml",mp3:"audio/mpeg",aac:"audio/aac",flac:"audio/flac",wav:"audio/wav"},Nl={sbv:"text/x-subviewer",srt:"text/srt",vtt:"text/vtt",webvtt:"text/vtt",ttml:"application/ttml+xml",lrc:"application/x-subtitle-lrc",ssa:"text/x-ssa",ass:"text/x-ssa"};function Pl(){this.h=[],this.j=this.i=this.g=0}function Ll(e,t,n){var i=this;this.g=e,this.h=t,this.m=n,this.i=!1,this.l=this.h.getVolume(),this.j=new Li,this.j.D(this.h,google.ima.AdEvent.Type.PAUSED,(function(){i.i=!0})),this.j.D(this.h,google.ima.AdEvent.Type.RESUMED,(function(){i.i=!1}))}function kl(t,n,i,o,r){var a=this;this.o=t,this.i=n,this.A=!1,this.s=this.C=null,this.F=NaN,this.m=r,this.j=null,this.h=new Li,google.ima.settings.setLocale(i),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0),(t=new google.ima.AdDisplayContainer(this.o,this.i)).initialize(),this.l=new google.ima.AdsLoader(t),this.l.getSettings().setPlayerType("shaka-player"),this.l.getSettings().setPlayerVersion("v4.4.2"),this.g=null,this.u=o||new google.ima.AdsRenderingSettings,this.h.D(this.l,google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(t){!function(t,n){if(t.m(new pi("ads-loaded",(new Map).set("loadTime",Date.now()/1e3-t.F))),t.C.customPlayheadTracker){var i={currentTime:t.i.currentTime};t.g=n.getAdsManager(i,t.u),t.i.muted?t.g.setVolume(0):t.g.setVolume(t.i.volume),t.h.D(t.i,"timeupdate",(function(){t.i.duration&&(i.currentTime=t.i.currentTime)})),t.h.D(t.i,"volumechange",(function(){t.i.muted?t.g.setVolume(0):t.g.setVolume(t.i.volume)}))}else t.g=n.getAdsManager(t.i,t.u);t.m(new pi("ima-ad-manager-loaded",(new Map).set("imaAdManager",t.g)));var o=t.g.getCuePoints();if(o.length){n=[];for(var r=(o=l(o)).next();!r.done;r=o.next())n.push({start:r.value,end:null});t.m(new pi("ad-cue-points-changed",(new Map).set("cuepoints",n)))}!function(e){function t(t,n){t=(new Map).set("originalEvent",t),e.m(new pi(n,t))}e.h.D(e.g,google.ima.AdErrorEvent.Type.AD_ERROR,(function(t){wl(e,t)})),e.h.D(e.g,google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,(function(t){Ml(e,t)})),e.h.D(e.g,google.ima.AdEvent.Type.STARTED,(function(t){Ml(e,t)})),e.h.D(e.g,google.ima.AdEvent.Type.FIRST_QUARTILE,(function(e){t(e,"ad-first-quartile")})),e.h.D(e.g,google.ima.AdEvent.Type.MIDPOINT,(function(e){t(e,"ad-midpoint")})),e.h.D(e.g,google.ima.AdEvent.Type.THIRD_QUARTILE,(function(e){t(e,"ad-third-quartile")})),e.h.D(e.g,google.ima.AdEvent.Type.COMPLETE,(function(e){t(e,"ad-complete")})),e.h.D(e.g,google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,(function(t){xl(e,t)})),e.h.D(e.g,google.ima.AdEvent.Type.ALL_ADS_COMPLETED,(function(t){xl(e,t)})),e.h.D(e.g,google.ima.AdEvent.Type.SKIPPED,(function(e){t(e,"ad-skipped")})),e.h.D(e.g,google.ima.AdEvent.Type.VOLUME_CHANGED,(function(e){t(e,"ad-volume-changed")})),e.h.D(e.g,google.ima.AdEvent.Type.VOLUME_MUTED,(function(e){t(e,"ad-muted")})),e.h.D(e.g,google.ima.AdEvent.Type.PAUSED,(function(n){e.j&&(e.j.i=!0,t(n,"ad-paused"))})),e.h.D(e.g,google.ima.AdEvent.Type.RESUMED,(function(n){e.j&&(e.j.i=!1,t(n,"ad-resumed"))})),e.h.D(e.g,google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,(function(n){e.j&&t(n,"ad-skip-state-changed")})),e.h.D(e.g,google.ima.AdEvent.Type.CLICK,(function(e){t(e,"ad-clicked")})),e.h.D(e.g,google.ima.AdEvent.Type.AD_PROGRESS,(function(e){t(e,"ad-progress")})),e.h.D(e.g,google.ima.AdEvent.Type.AD_BUFFERING,(function(e){t(e,"ad-buffering")})),e.h.D(e.g,google.ima.AdEvent.Type.IMPRESSION,(function(e){t(e,"ad-impression")})),e.h.D(e.g,google.ima.AdEvent.Type.DURATION_CHANGE,(function(e){t(e,"ad-duration-changed")})),e.h.D(e.g,google.ima.AdEvent.Type.USER_CLOSE,(function(e){t(e,"ad-closed")})),e.h.D(e.g,google.ima.AdEvent.Type.LOADED,(function(e){t(e,"ad-loaded")})),e.h.D(e.g,google.ima.AdEvent.Type.ALL_ADS_COMPLETED,(function(e){t(e,"all-ads-completed")})),e.h.D(e.g,google.ima.AdEvent.Type.LINEAR_CHANGED,(function(e){t(e,"ad-linear-changed")})),e.h.D(e.g,google.ima.AdEvent.Type.AD_METADATA,(function(e){t(e,"ad-metadata")})),e.h.D(e.g,google.ima.AdEvent.Type.LOG,(function(e){t(e,"ad-recoverable-error")})),e.h.D(e.g,google.ima.AdEvent.Type.AD_BREAK_READY,(function(e){t(e,"ad-break-ready")})),e.h.D(e.g,google.ima.AdEvent.Type.INTERACTION,(function(e){t(e,"ad-interaction")}))}(t);try{t.g.init(t.i.offsetWidth,t.i.offsetHeight,Dl(t)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL),t.h.D(t.i,"loadeddata",(function(){t.g.resize(t.i.offsetWidth,t.i.offsetHeight,Dl(t)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)})),"ResizeObserver"in e?(t.s=new ResizeObserver((function(){t.g.resize(t.i.offsetWidth,t.i.offsetHeight,Dl(t)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)})),t.s.observe(t.i)):t.h.D(document,"fullscreenchange",(function(){t.g.resize(t.i.offsetWidth,t.i.offsetHeight,Dl(t)?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)})),t.A?t.g.start():t.h.la(t.i,"play",(function(){t.A=!0,t.g.start()}))}catch(e){xl(t,null)}}(a,t)})),this.h.D(this.l,google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){wl(a,e)})),this.h.D(this.i,"ended",(function(){a.l.contentComplete()})),this.h.la(this.i,"play",(function(){a.A=!0}))}function wl(e,t){t.getError(),t=(new Map).set("originalEvent",t),e.m(new pi("ad-error",t)),xl(e,null),e.m(new pi("ad-cue-points-changed",(new Map).set("cuepoints",[])))}function Dl(e){return document.fullscreenEnabled?!!document.fullscreenElement:!!(e=e.i).webkitSupportsFullscreen&&e.webkitDisplayingFullscreen}function Ml(e,t){var n=t.getAd();n?(e.j=new Ll(n,e.g,e.i),t=(new Map).set("ad",e.j).set("sdkAdObject",n).set("originalEvent",t),e.m(new pi("ad-started",t)),e.j.isLinear()&&(e.o.setAttribute("ad-active","true"),e.i.pause(),e.j.setVolume(e.i.volume),e.i.muted&&e.j.setMuted(!0))):z("The IMA SDK fired a "+t.type+" event with no associated ad. Unable to play ad!")}function xl(e,t){e.m(new pi("ad-stopped",(new Map).set("originalEvent",t))),e.j&&e.j.isLinear()&&(e.o.removeAttribute("ad-active"),e.i.ended||e.i.play())}function Ul(e,t){this.g=e,this.i=null,this.h=t}function Vl(e,t,n,i){var o=this;this.s=e,this.l=t,this.j=null,this.G=NaN,this.i=i,this.F=!1,this.u=this.m=this.o=null,this.A="",this.C=[],this.h=new Li,(e=new google.ima.dai.api.UiSettings).setLocale(n),this.g=new google.ima.dai.api.StreamManager(this.l,this.s,e),this.i(new pi("ima-stream-manager-loaded",(new Map).set("imaStreamManager",this.g))),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.LOADED,(function(e){!function(e,t){e.i(new pi("ads-loaded",(new Map).set("loadTime",Date.now()/1e3-e.G))),t=t.getStreamData().url,e.j.resolve(t),e.j=null,e.F||e.h.D(e.l,"seeked",(function(){var t=e.l.currentTime;if(0!=t){e.g.streamTimeForContentTime(t);var n=e.g.previousCuePointForStreamTime(t);n&&!n.played&&(e.o=t,e.l.currentTime=n.start)}}))}(o,e)})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.ERROR,(function(){o.A.length?o.j.resolve(o.A):o.j.reject("IMA Stream request returned an error and there was no backup asset uri provided."),o.j=null})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.AD_BREAK_STARTED,(function(){})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.STARTED,(function(e){e=e.getAd(),o.m=new Ul(e,o.l),o.u&&(o.m.i=o.u),o.i(new pi("ad-started",(new Map).set("ad",o.m))),o.s.setAttribute("ad-active","true")})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.AD_BREAK_ENDED,(function(){o.s.removeAttribute("ad-active");var e=o.l.currentTime;o.o&&o.o>e&&(o.l.currentTime=o.o,o.o=null)})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.AD_PROGRESS,(function(e){o.u=e.getStreamData().adProgressData,o.m&&(o.m.i=o.u)})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.FIRST_QUARTILE,(function(){o.i(new pi("ad-first-quartile"))})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.MIDPOINT,(function(){o.i(new pi("ad-midpoint"))})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.THIRD_QUARTILE,(function(){o.i(new pi("ad-third-quartile"))})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.COMPLETE,(function(){o.i(new pi("ad-complete")),o.i(new pi("ad-stopped")),o.s.removeAttribute("ad-active"),o.m=null})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.SKIPPED,(function(){o.i(new pi("ad-skipped")),o.i(new pi("ad-stopped"))})),this.h.D(this.g,google.ima.dai.api.StreamEvent.Type.CUEPOINTS_CHANGED,(function(e){var t=e.getStreamData();e=[];for(var n=(t=l(t.cuepoints)).next();!n.done;n=t.next())n=n.value,e.push({start:n.start,end:n.end});o.C=e,o.i(new pi("ad-cue-points-changed",(new Map).set("cuepoints",e)))}))}function Fl(){mi.call(this),this.g=this.h=null,this.i=new Pl,this.l=navigator.language,this.j=null}function Bl(e){return JSON.stringify(e,(function(e,t){if("function"!=typeof t){if(t instanceof Event||t instanceof pi){var n={};for(i in t)(e=t[i])&&"object"==typeof e?"detail"==i&&(n[i]=e):i in Event||(n[i]=e);return n}if(t instanceof Error){var i=new Set(["name","message","stack"]);for(n in t)i.add(n);for(n=(e=l(Object.getOwnPropertyNames(t))).next();!n.done;n=e.next())i.add(n.value);for(e={},n=(i=l(i)).next();!n.done;n=i.next())e[n=n.value]=t[n];t={__type__:"Error",contents:e}}else if(t instanceof TimeRanges){for(i={__type__:"TimeRanges",length:t.length,start:[],end:[]},n=(t=l(Ar(t))).next();!n.done;n=t.next())e=(n=n.value).end,i.start.push(n.start),i.end.push(e);t=i}else t=t instanceof Uint8Array?{__type__:"Uint8Array",entries:Array.from(t)}:"number"==typeof t?isNaN(t)?"NaN":isFinite(t)?t:0>t?"-Infinity":"Infinity":t;return t}}))}function Hl(e){return JSON.parse(e,(function(e,t){if("NaN"==t)var n=NaN;else if("-Infinity"==t)n=-1/0;else if("Infinity"==t)n=1/0;else if(t&&"object"==typeof t&&"TimeRanges"==t.__type__)n=function(e){return{length:e.length,start:function(t){return e.start[t]},end:function(t){return e.end[t]}}}(t);else if(t&&"object"==typeof t&&"Uint8Array"==t.__type__)n=new Uint8Array(t.entries);else if(t&&"object"==typeof t&&"Error"==t.__type__){for(n in e=t.contents,t=Error(e.message),e)t[n]=e[n];n=t}else n=t;return n}))}(i=Ll.prototype).getDuration=function(){return this.g.getDuration()},i.getMinSuggestedDuration=function(){return this.g.getMinSuggestedDuration()},i.getRemainingTime=function(){return this.h.getRemainingTime()},i.isPaused=function(){return this.i},i.isSkippable=function(){return 0<=this.g.getSkipTimeOffset()},i.getTimeUntilSkippable=function(){var e=this.g.getSkipTimeOffset();return e=this.getRemainingTime()-e,Math.max(e,0)},i.canSkipNow=function(){return this.h.getAdSkippableState()},i.skip=function(){return this.h.skip()},i.pause=function(){return this.h.pause()},i.play=function(){return this.h.resume()},i.getVolume=function(){return this.h.getVolume()},i.setVolume=function(e){return this.h.setVolume(e)},i.isMuted=function(){return 0==this.h.getVolume()},i.isLinear=function(){return this.g.isLinear()},i.resize=function(e,t){var n=!1,i=this.m;document.fullscreenEnabled?n=!!document.fullscreenElement:i.webkitSupportsFullscreen&&(n=i.webkitDisplayingFullscreen),this.h.resize(e,t,n?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)},i.setMuted=function(e){e?(this.l=this.getVolume(),this.setVolume(0)):this.setVolume(this.l)},i.getSequenceLength=function(){var e=this.g.getAdPodInfo();return null==e?1:e.getTotalAds()},i.getPositionInSequence=function(){var e=this.g.getAdPodInfo();return null==e?1:e.getAdPosition()},i.getTitle=function(){return this.g.getTitle()},i.getDescription=function(){return this.g.getDescription()},i.getVastMediaBitrate=function(){return this.g.getVastMediaBitrate()},i.getVastMediaHeight=function(){return this.g.getVastMediaHeight()},i.getVastMediaWidth=function(){return this.g.getVastMediaWidth()},i.getAdId=function(){return this.g.getAdId()},i.getCreativeAdId=function(){return this.g.getCreativeAdId()},i.getAdvertiserName=function(){return this.g.getAdvertiserName()},i.getMediaUrl=function(){return this.g.getMediaUrl()},i.getTimeOffset=function(){var e=this.g.getAdPodInfo();return null==e?0:e.getTimeOffset()},i.getPodIndex=function(){var e=this.g.getAdPodInfo();return null==e?0:e.getPodIndex()},i.release=function(){this.h=this.g=null},B("shaka.ads.ClientSideAd",Ll),Ll.prototype.release=Ll.prototype.release,Ll.prototype.getPodIndex=Ll.prototype.getPodIndex,Ll.prototype.getTimeOffset=Ll.prototype.getTimeOffset,Ll.prototype.getMediaUrl=Ll.prototype.getMediaUrl,Ll.prototype.getAdvertiserName=Ll.prototype.getAdvertiserName,Ll.prototype.getCreativeAdId=Ll.prototype.getCreativeAdId,Ll.prototype.getAdId=Ll.prototype.getAdId,Ll.prototype.getVastMediaWidth=Ll.prototype.getVastMediaWidth,Ll.prototype.getVastMediaHeight=Ll.prototype.getVastMediaHeight,Ll.prototype.getVastMediaBitrate=Ll.prototype.getVastMediaBitrate,Ll.prototype.getDescription=Ll.prototype.getDescription,Ll.prototype.getTitle=Ll.prototype.getTitle,Ll.prototype.getPositionInSequence=Ll.prototype.getPositionInSequence,Ll.prototype.getSequenceLength=Ll.prototype.getSequenceLength,Ll.prototype.setMuted=Ll.prototype.setMuted,Ll.prototype.resize=Ll.prototype.resize,Ll.prototype.isLinear=Ll.prototype.isLinear,Ll.prototype.isMuted=Ll.prototype.isMuted,Ll.prototype.setVolume=Ll.prototype.setVolume,Ll.prototype.getVolume=Ll.prototype.getVolume,Ll.prototype.play=Ll.prototype.play,Ll.prototype.pause=Ll.prototype.pause,Ll.prototype.skip=Ll.prototype.skip,Ll.prototype.canSkipNow=Ll.prototype.canSkipNow,Ll.prototype.getTimeUntilSkippable=Ll.prototype.getTimeUntilSkippable,Ll.prototype.isSkippable=Ll.prototype.isSkippable,Ll.prototype.isPaused=Ll.prototype.isPaused,Ll.prototype.getRemainingTime=Ll.prototype.getRemainingTime,Ll.prototype.getMinSuggestedDuration=Ll.prototype.getMinSuggestedDuration,Ll.prototype.getDuration=Ll.prototype.getDuration,kl.prototype.configure=function(e){this.C=e},kl.prototype.stop=function(){this.g&&this.g.stop(),this.o&&Hs(this.o)},kl.prototype.release=function(){this.stop(),this.s&&this.s.disconnect(),this.h&&this.h.release(),this.g&&this.g.destroy(),this.l.destroy()},(i=Ul.prototype).getDuration=function(){return this.i?this.i.duration:-1},i.getMinSuggestedDuration=function(){return this.getDuration()},i.getRemainingTime=function(){return this.i?this.i.duration-this.i.currentTime:-1},i.isPaused=function(){return this.h.paused},i.isSkippable=function(){return this.g.isSkippable()},i.getTimeUntilSkippable=function(){var e=this.g.getSkipTimeOffset();return e=this.getRemainingTime()-e,Math.max(e,0)},i.canSkipNow=function(){return 0==this.getTimeUntilSkippable()},i.skip=function(){this.h.currentTime+=this.getRemainingTime()},i.pause=function(){return this.h.pause()},i.play=function(){return this.h.play()},i.getVolume=function(){return this.h.volume},i.setVolume=function(e){this.h.volume=e},i.isMuted=function(){return this.h.muted},i.isLinear=function(){return!0},i.resize=function(){},i.setMuted=function(e){this.h.muted=e},i.getSequenceLength=function(){var e=this.g.getAdPodInfo();return null==e?1:e.getTotalAds()},i.getPositionInSequence=function(){var e=this.g.getAdPodInfo();return null==e?1:e.getAdPosition()},i.getTitle=function(){return this.g.getTitle()},i.getDescription=function(){return this.g.getDescription()},i.getVastMediaBitrate=function(){return 0},i.getVastMediaHeight=function(){return this.g.getVastMediaHeight()},i.getVastMediaWidth=function(){return this.g.getVastMediaWidth()},i.getAdId=function(){return this.g.getAdId()},i.getCreativeAdId=function(){return this.g.getCreativeAdId()},i.getAdvertiserName=function(){return this.g.getAdvertiserName()},i.getMediaUrl=function(){return null},i.getTimeOffset=function(){var e=this.g.getAdPodInfo();return null==e?0:e.getTimeOffset()},i.getPodIndex=function(){var e=this.g.getAdPodInfo();return null==e?0:e.getPodIndex()},i.release=function(){this.h=this.i=this.g=null},B("shaka.ads.ServerSideAd",Ul),Ul.prototype.release=Ul.prototype.release,Ul.prototype.getPodIndex=Ul.prototype.getPodIndex,Ul.prototype.getTimeOffset=Ul.prototype.getTimeOffset,Ul.prototype.getMediaUrl=Ul.prototype.getMediaUrl,Ul.prototype.getAdvertiserName=Ul.prototype.getAdvertiserName,Ul.prototype.getCreativeAdId=Ul.prototype.getCreativeAdId,Ul.prototype.getAdId=Ul.prototype.getAdId,Ul.prototype.getVastMediaWidth=Ul.prototype.getVastMediaWidth,Ul.prototype.getVastMediaHeight=Ul.prototype.getVastMediaHeight,Ul.prototype.getVastMediaBitrate=Ul.prototype.getVastMediaBitrate,Ul.prototype.getDescription=Ul.prototype.getDescription,Ul.prototype.getTitle=Ul.prototype.getTitle,Ul.prototype.getPositionInSequence=Ul.prototype.getPositionInSequence,Ul.prototype.getSequenceLength=Ul.prototype.getSequenceLength,Ul.prototype.setMuted=Ul.prototype.setMuted,Ul.prototype.resize=Ul.prototype.resize,Ul.prototype.isLinear=Ul.prototype.isLinear,Ul.prototype.isMuted=Ul.prototype.isMuted,Ul.prototype.setVolume=Ul.prototype.setVolume,Ul.prototype.getVolume=Ul.prototype.getVolume,Ul.prototype.play=Ul.prototype.play,Ul.prototype.pause=Ul.prototype.pause,Ul.prototype.skip=Ul.prototype.skip,Ul.prototype.canSkipNow=Ul.prototype.canSkipNow,Ul.prototype.getTimeUntilSkippable=Ul.prototype.getTimeUntilSkippable,Ul.prototype.isSkippable=Ul.prototype.isSkippable,Ul.prototype.isPaused=Ul.prototype.isPaused,Ul.prototype.getRemainingTime=Ul.prototype.getRemainingTime,Ul.prototype.getMinSuggestedDuration=Ul.prototype.getMinSuggestedDuration,Ul.prototype.getDuration=Ul.prototype.getDuration,Vl.prototype.configure=function(){},Vl.prototype.stop=function(){this.A="",this.o=null,this.C=[]},Vl.prototype.release=function(){this.stop(),this.h&&this.h.release()},Vl.prototype.onCueMetadataChange=function(e){if(e.key&&e.data){var t={};t[e.key]=e.data,this.g.onTimedMetadata(t)}},_(Fl,mi),(i=Fl.prototype).setLocale=function(e){this.l=e},i.configure=function(e){this.j=e,this.h&&this.h.configure(this.j),this.g&&this.g.configure(this.j)},i.initClientSide=function(t,n,i){var o=this;if(!e.google||!google.ima||!google.ima.AdsLoader)throw new ot(2,10,1e4);this.h&&this.h.release(),this.h=new kl(t,n,this.l,i,(function(e){if(e&&e.type)switch(e.type){case"ads-loaded":o.i.h.push(e.loadTime);break;case"ad-started":o.i.g++;break;case"ad-complete":o.i.i++;break;case"ad-skipped":o.i.j++}o.dispatchEvent(e)})),this.h.configure(this.j)},i.release=function(){this.h&&(this.h.release(),this.h=null),this.g&&(this.g.release(),this.g=null),mi.prototype.release.call(this)},i.onAssetUnload=function(){this.h&&this.h.stop(),this.g&&this.g.stop(),this.dispatchEvent(new pi("ad-stopped")),this.i=new Pl},i.requestClientSideAds=function(e){if(!this.h)throw new ot(1,10,10001);var t=this.h;t.g&&t.g.destroy(),t.l&&t.l.contentComplete(),t.F=Date.now()/1e3,t.l.requestAds(e)},i.updateClientSideAdsRenderingSettings=function(e){if(!this.h)throw new ot(1,10,10001);var t=this.h;t.u=e,t.g&&t.g.updateAdsRenderingSettings(t.u)},i.initServerSide=function(t,n){var i=this;if(!e.google||!google.ima||!google.ima.dai)throw new ot(2,10,10002);this.g&&this.g.release(),this.g=new Vl(t,n,this.l,(function(e){if(e&&e.type)switch(e.type){case"ads-loaded":i.i.h.push(e.loadTime);break;case"ad-started":i.i.g++;break;case"ad-complete":i.i.i++;break;case"ad-skipped":i.i.j++}i.dispatchEvent(e)})),this.g.configure(this.j)},i.requestServerSideStream=function(e,t){if(t=void 0===t?"":t,!this.g)throw new ot(1,10,10003);e.adTagParameters||(e.adTagParameters={});var n=e.adTagParameters;return(n.mpt||n.mpv)&&z('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.'),e.adTagParameters.mpt="shaka-player",e.adTagParameters.mpv="v4.4.2",(n=this.g).j?e=Promise.reject(new ot(1,10,10004)):(e instanceof google.ima.dai.api.LiveStreamRequest&&(n.F=!0),n.j=new ri,n.g.requestStream(e),n.A=t||"",n.G=Date.now()/1e3,e=n.j),e},i.replaceServerSideAdTagParameters=function(e){if(!this.g)throw new ot(1,10,10003);(e.mpt||e.mpv)&&z('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.'),e.mpt="Shaka Player",e.mpv="v4.4.2",this.g.g.replaceAdTagParameters(e)},i.getServerSideCuePoints=function(){if(!this.g)throw new ot(1,10,10003);return this.g.C},i.getStats=function(){var e=this.i;return{loadTimes:e.h,started:e.g,playedCompletely:e.i,skipped:e.j}},i.onDashTimedMetadata=function(e){if(this.g&&"urn:google:dai:2018"==e.schemeIdUri){var t=e.schemeIdUri,n=e.eventElement?e.eventElement.getAttribute("messageData"):null;this.g.g.processMetadata(t,n,e.startTime)}},i.onHlsTimedMetadata=function(e,t){this.g&&this.g.g.processMetadata("ID3",e.data,t)},i.onCueMetadataChange=function(e){this.g&&this.g.onCueMetadataChange(e)},B("shaka.ads.AdManager",Fl),Fl.prototype.onCueMetadataChange=Fl.prototype.onCueMetadataChange,Fl.prototype.onHlsTimedMetadata=Fl.prototype.onHlsTimedMetadata,Fl.prototype.onDashTimedMetadata=Fl.prototype.onDashTimedMetadata,Fl.prototype.getStats=Fl.prototype.getStats,Fl.prototype.getServerSideCuePoints=Fl.prototype.getServerSideCuePoints,Fl.prototype.replaceServerSideAdTagParameters=Fl.prototype.replaceServerSideAdTagParameters,Fl.prototype.requestServerSideStream=Fl.prototype.requestServerSideStream,Fl.prototype.initServerSide=Fl.prototype.initServerSide,Fl.prototype.updateClientSideAdsRenderingSettings=Fl.prototype.updateClientSideAdsRenderingSettings,Fl.prototype.requestClientSideAds=Fl.prototype.requestClientSideAds,Fl.prototype.onAssetUnload=Fl.prototype.onAssetUnload,Fl.prototype.release=Fl.prototype.release,Fl.prototype.initClientSide=Fl.prototype.initClientSide,Fl.prototype.configure=Fl.prototype.configure,Fl.prototype.setLocale=Fl.prototype.setLocale,Fl.ADS_LOADED="ads-loaded",Fl.AD_STARTED="ad-started",Fl.AD_FIRST_QUARTILE="ad-first-quartile",Fl.AD_MIDPOINT="ad-midpoint",Fl.AD_THIRD_QUARTILE="ad-third-quartile",Fl.AD_COMPLETE="ad-complete",Fl.AD_STOPPED="ad-stopped",Fl.AD_SKIPPED="ad-skipped",Fl.AD_VOLUME_CHANGED="ad-volume-changed",Fl.AD_MUTED="ad-muted",Fl.AD_PAUSED="ad-paused",Fl.AD_RESUMED="ad-resumed",Fl.AD_SKIP_STATE_CHANGED="ad-skip-state-changed",Fl.CUEPOINTS_CHANGED="ad-cue-points-changed",Fl.IMA_AD_MANAGER_LOADED="ima-ad-manager-loaded",Fl.IMA_STREAM_MANAGER_LOADED="ima-stream-manager-loaded",Fl.AD_CLICKED="ad-clicked",Fl.AD_PROGRESS="ad-progress",Fl.AD_BUFFERING="ad-buffering",Fl.AD_IMPRESSION="ad-impression",Fl.AD_DURATION_CHANGED="ad-duration-changed",Fl.AD_CLOSED="ad-closed",Fl.AD_LOADED="ad-loaded",Fl.ALL_ADS_COMPLETED="all-ads-completed",Fl.AD_LINEAR_CHANGED="ad-linear-changed",Fl.AD_METADATA="ad-metadata",Fl.AD_RECOVERABLE_ERROR="ad-recoverable-error",Fl.AD_ERROR="ad-error",Fl.AD_BREAK_READY="ad-break-ready",Fl.AD_INTERACTION="ad-interaction",Cl=function(){return new Fl};var Gl="ended play playing pause pausing ratechange seeked seeking timeupdate volumechange".split(" "),Wl="buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume".split(" "),jl=["loop","playbackRate"],Yl=["pause","play"],zl={getAssetUri:2,getAudioLanguages:4,getAudioLanguagesAndRoles:4,getBufferFullness:1,getBufferedInfo:2,getExpiration:2,getKeyStatuses:2,getPlaybackRate:2,getTextLanguages:4,getTextLanguagesAndRoles:4,getImageTracks:2,getThumbnails:2,isAudioOnly:10,isBuffering:1,isInProgress:1,isLive:10,isTextTrackVisible:1,keySystem:10,seekRange:1,getLoadMode:10,getManifestType:10},Kl={getConfiguration:4,getStats:5,getTextTracks:2,getVariantTracks:2},Jl={getPlayheadTimeAsDate:1,getPresentationStartTimeAsDate:20},ql=[["getConfiguration","configure"]],Xl=[["isTextTrackVisible","setTextTrackVisibility"]],$l="addChaptersTrack addTextTrackAsync addThumbnailsTrack cancelTrickPlay configure getChapters getChaptersTracks resetConfiguration retryStreaming selectAudioLanguage selectTextLanguage selectTextTrack selectVariantTrack selectVariantsByLabel setTextTrackVisibility trickPlay updateStartTime goToLive".split(" "),Zl=["attach","attachCanvas","detach","load","unload"];function Ql(e,t,n,i,o,r,a){var s=this;this.G=e,this.M=a,this.j=new Ht(t),this.N=n,this.u=!1,this.s=i,this.F=o,this.I=r,this.h=this.m=!1,this.L="",this.o=null,this.A=function(){return ou(s)},this.C=function(e,t){switch((e=Hl(t)).type){case"event":var n=e.targetName,i=hi(e.event);s.s(n,i);break;case"update":for(i in n=e.update)for(var o in e=s.g[i]||{},n[i])e[o]=n[i][o];s.u&&(s.N(),s.u=!1);break;case"asyncComplete":if(i=e.id,o=e.error,e=s.i[i],delete s.i[i],e)if(o){for(n in i=new ot(o.severity,o.category,o.code),o)i[n]=o[n];e.reject(i)}else e.resolve()}},this.g={video:{},player:{}},this.H=0,this.i={},this.l=null,du.add(this)}function eu(e,t,n){lu=n,n.addUpdateListener(e.A),n.addMessageListener("urn:x-cast:com.google.shaka.v2",e.C),ou(e),au(e,{type:"init",initState:t,appData:e.o}),e.l.resolve()}function tu(e,t){var n=8003;switch(t.code){case"cancel":n=8004;break;case"timeout":n=8005;break;case"receiver_unavailable":n=8006}e.l.reject(new ot(2,8,n,t))}function nu(e,t){var n=e.I();e.l=new ri,e.u=!0,eu(e,n,t)}function iu(e){var t=lu;t.removeUpdateListener(e.A),t.removeMessageListener("urn:x-cast:com.google.shaka.v2",e.C)}function ou(e){var t=!!lu&&"connected"==lu.status;if(e.h&&!t){for(var n in e.F(),e.g)e.g[n]={};ru(e)}e.h=t,e.L=t?lu.receiver.friendlyName:"",e.j.ic()}function ru(e){for(var t in e.i){var n=e.i[t];delete e.i[t],n.reject(new ot(1,7,7e3))}}function au(e,t){t=Bl(t);var n=lu;try{n.sendMessage("urn:x-cast:com.google.shaka.v2",t,(function(){}),J)}catch(i){throw t=new ot(2,8,8005,i),n=new pi("error",(new Map).set("detail",t)),e.s("player",n),e.Wb(),t}}(i=Ql.prototype).destroy=function(){return du.delete(this),ru(this),lu&&iu(this),this.j&&(this.j.stop(),this.j=null),this.F=this.s=null,this.h=this.m=!1,this.C=this.A=this.l=this.i=this.g=this.o=null,Promise.resolve()},i.ya=function(){return this.h},i.Fe=function(){return this.L},i.init=function(){if(this.G.length)if(e.chrome&&chrome.cast&&chrome.cast.isAvailable){this.m=!0,this.j.ic();var t=new chrome.cast.SessionRequest(this.G,[],null,this.M,null);t=new chrome.cast.ApiConfig(t,(function(e){for(var t=l(du),n=t.next();!n.done;n=t.next())nu(n.value,e)}),(function(e){for(var t=l(du),n=t.next();!n.done;n=t.next())n=n.value,cu="available"==e,n.j.ic()}),"origin_scoped"),chrome.cast.initialize(t,(function(){}),(function(){})),cu&&this.j.S(su),(t=lu)&&t.status!=chrome.cast.SessionStatus.STOPPED?nu(this,t):lu=null}else e.__onGCastApiAvailable!==pu&&(uu=e.__onGCastApiAvailable||null,e.__onGCastApiAvailable=pu)},i.Me=function(e){this.o=e,this.h&&au(this,{type:"appData",appData:this.o})},i.cast=function(e){var t=this;return k((function(n){if(!t.m)throw new ot(1,8,8e3);if(!cu)throw new ot(1,8,8001);if(t.h)throw new ot(1,8,8002);return t.l=new ri,chrome.cast.requestSession((function(n){return eu(t,e,n)}),(function(e){return tu(t,e)})),y(n,t.l,0)}))},i.Wb=function(){if(this.h){if(ru(this),lu){iu(this);try{lu.stop((function(){}),(function(){}))}catch(e){}lu=null}ou(this)}},i.get=function(e,t){var n=this;if("video"==e){if(Yl.includes(t))return function(){return n.Af.apply(n,[e,t].concat(u(w.apply(0,arguments))))}}else if("player"==e){if(Jl[t]&&!this.get("player","isLive")())return function(){};if($l.includes(t))return function(){return n.Af.apply(n,[e,t].concat(u(w.apply(0,arguments))))};if(Zl.includes(t))return function(){return n.ah.apply(n,[e,t].concat(u(w.apply(0,arguments))))};if(zl[t]||Kl[t])return function(){return n.g[e][t]}}return this.g[e][t]},i.set=function(e,t,n){this.g[e][t]=n,au(this,{type:"set",targetName:e,property:t,value:n})},i.Af=function(e,t){au(this,{type:"call",targetName:e,methodName:t,args:w.apply(2,arguments)})},i.ah=function(e,t){var n=w.apply(2,arguments),i=new ri,o=this.H.toString();this.H++,this.i[o]=i;try{au(this,{type:"asyncCall",targetName:e,methodName:t,args:n,id:o})}catch(e){i.reject(e)}return i};var su=.02,cu=!1,lu=null,uu=null,du=new Set;function pu(t){if(uu?e.__onGCastApiAvailable=uu:delete e.__onGCastApiAvailable,uu=null,t)for(var n=l(du),i=n.next();!i.done;i=n.next())i.value.init();"function"==typeof e.__onGCastApiAvailable&&e.__onGCastApiAvailable(t)}function hu(e,t,n,i){i=void 0!==i&&i,mi.call(this);var o=this;this.i=e,this.h=t,this.m=this.o=this.j=this.s=this.l=null,this.C=n,this.A=i,this.u=new Map,this.g=new Ql(n,(function(){return _u(o)}),(function(){return gu(o)}),(function(e,t){return yu(o,e,t)}),(function(){return Eu(o)}),(function(){return mu(o)}),i),function(e){e.g.init(),e.m=new Li;for(var t=l(Gl),n=t.next();!n.done;n=t.next())e.m.D(e.i,n.value,(function(t){e.g.ya()||(t=hi(t),e.j.dispatchEvent(t))}));for(var i in fi)e.m.D(e.h,fi[i],(function(t){e.g.ya()||e.o.dispatchEvent(t)}));for(var o in e.l={},t={},e.i)t.oc=o,Object.defineProperty(e.l,t.oc,{configurable:!1,enumerable:!0,get:function(t){return function(){return vu(e,t.oc)}}(t),set:function(t){return function(n){var i=t.oc;e.g.ya()?e.g.set("video",i,n):e.i[i]=n}}(t)}),t={oc:t.oc};e.s={},fu(e,(function(t){Object.defineProperty(e.s,t,{configurable:!1,enumerable:!0,get:function(){return function(e,t){if(e.u.has(t)&&(t=e.u.get(t)),"addEventListener"==t)return function(t,n,i){return e.o.addEventListener(t,n,i)};if("removeEventListener"==t)return function(t,n,i){return e.o.removeEventListener(t,n,i)};if("getMediaElement"==t)return function(){return e.l};if("getSharedConfiguration"==t)return e.g.get("player","getConfiguration");if("getNetworkingEngine"==t)return function(){return e.h.Bb()};if("getDrmEngine"==t)return function(){return e.h.m};if("getAdManager"==t)return function(){return e.h.lf()};if("setVideoContainer"==t)return function(t){return e.h.Lf(t)};if(e.g.ya()){if("getManifest"==t||"drmInfo"==t)return function(){return z(t+"() does not work while casting!"),null};if("attach"==t||"detach"==t)return function(){return z(t+"() does not work while casting!"),Promise.resolve()}}return e.g.ya()&&0==Object.keys(e.g.g.video).length&&(zl[t]||Kl[t])||!e.g.ya()?e.h[t].bind(e.h):e.g.get("player",t)}(e,t)}})})),function(e){var t=new Map;fu(e,(function(n,i){t.has(i)?(i=t.get(i),n.length<i.length?e.u.set(n,i):e.u.set(i,n)):t.set(i,n)}))}(e),e.j=new mi,e.j.yd=e.l,e.o=new mi,e.o.yd=e.s}(this)}function fu(e,t){function n(e){return"constructor"!=e&&"function"==typeof o[e]&&!r.has(e)}var i,o=e.h,r=new Set;for(i in o)n(i)&&(r.add(i),t(i,o[i]));for(e=Object.getPrototypeOf(o),i=Object.getPrototypeOf({});e&&e!=i;){for(var a=l(Object.getOwnPropertyNames(e)),s=a.next();!s.done;s=a.next())n(s=s.value)&&(r.add(s),t(s,o[s]));e=Object.getPrototypeOf(e)}}function mu(e){var t={video:{},player:{},playerAfterLoad:{},manifest:e.h.de(),startTime:null};e.i.pause();for(var n=l(jl),i=n.next();!i.done;i=n.next())i=i.value,t.video[i]=e.i[i];for(e.i.ended||(t.startTime=e.i.currentTime),i=(n=l(ql)).next();!i.done;i=n.next()){var o=i.value;i=o[1],o=e.h[o[0]](),t.player[i]=o}for(i=(n=l(Xl)).next();!i.done;i=n.next())i=(o=i.value)[1],o=e.h[o[0]](),t.playerAfterLoad[i]=o;return t}function _u(e){var t=new pi("caststatuschanged");e.dispatchEvent(t)}function gu(e){var t=new pi(e.l.paused?"pause":"play");e.j.dispatchEvent(t)}function Eu(e){for(var t=l(ql),n=t.next();!n.done;n=t.next()){var i=n.value;n=i[1],i=e.g.get("player",i[0])(),e.h[n](i)}var o=e.g.get("player","getAssetUri")();n=e.g.get("video","ended"),t=Promise.resolve();var r=e.i.autoplay;i=null,n||(i=e.g.get("video","currentTime")),o&&(e.i.autoplay=!1,t=e.h.load(o,i));var a={};for(i=(n=l(jl)).next();!i.done;i=n.next())i=i.value,a[i]=e.g.get("video",i);t.then((function(){if(e.i){for(var t=l(jl),n=t.next();!n.done;n=t.next())n=n.value,e.i[n]=a[n];for(n=(t=l(Xl)).next();!n.done;n=t.next()){var i=n.value;n=i[1],i=e.g.get("player",i[0])(),e.h[n](i)}e.i.autoplay=r,o&&e.i.play()}}),(function(t){t=new pi("error",t=(new Map).set("detail",t)),e.h.dispatchEvent(t)}))}function vu(e,t){if("addEventListener"==t)return function(t,n,i){return e.j.addEventListener(t,n,i)};if("removeEventListener"==t)return function(t,n,i){return e.j.removeEventListener(t,n,i)};if(e.g.ya()&&0==Object.keys(e.g.g.video).length){var n=e.i[t];if("function"!=typeof n)return n}return e.g.ya()?e.g.get("video",t):("function"==typeof(t=e.i[t])&&(t=t.bind(e.i)),t)}function yu(e,t,n){e.g.ya()&&("video"==t?e.j.dispatchEvent(n):"player"==t&&e.o.dispatchEvent(n))}function bu(e,t,n,i){mi.call(this);var o=this;this.g=e,this.h=t,this.j=new Li,this.H={video:e,player:t},this.C=n||function(){},this.I=i||function(e){return e},this.i=null,this.F=!1,this.o=!0,this.m=0,this.A=!1,this.u=!0,this.s=this.l=null,this.G=new Ht((function(){Iu(o)})),function(e){var t=cast.receiver.CastReceiverManager.getInstance();t.onSenderConnected=function(){return Su(e)},t.onSenderDisconnected=function(){return Su(e)},t.onSystemVolumeChanged=function(){var t=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();t&&Nu(e,{type:"update",update:{video:{volume:t.level,muted:t.muted}}},e.l),Nu(e,{type:"event",targetName:"video",event:{type:"volumechange"}},e.l)},e.s=t.getCastMessageBus("urn:x-cast:com.google.cast.media"),e.s.onMessage=function(t){return function(e,t){var n=Hl(t.data);switch(n.type){case"PLAY":e.g.play(),Pu(e);break;case"PAUSE":e.g.pause(),Pu(e);break;case"SEEK":t=n.currentTime;var i=n.resumeState;null!=t&&(e.g.currentTime=Number(t)),i&&"PLAYBACK_START"==i?(e.g.play(),Pu(e)):i&&"PLAYBACK_PAUSE"==i&&(e.g.pause(),Pu(e));break;case"STOP":e.h.Ue().then((function(){e.h&&Pu(e)}));break;case"GET_STATUS":Cu(e,Number(n.requestId));break;case"VOLUME":t=(i=n.volume).level,i=i.muted;var o=e.g.volume,r=e.g.muted;null!=t&&(e.g.volume=Number(t)),null!=i&&(e.g.muted=i),o==e.g.volume&&r==e.g.muted||Pu(e);break;case"LOAD":e.m=0,e.A=!1,e.u=!1,t=n.media,i=n.currentTime,o=e.I(t.contentId),r=n.autoplay||!0,e.C(t.customData),r&&(e.g.autoplay=!0),e.h.load(o,i).then((function(){e.h&&Cu(e)})).catch((function(t){var i="LOAD_FAILED";7==t.category&&7e3==t.code&&(i="LOAD_CANCELLED"),Nu(e,{requestId:Number(n.requestId),type:i},e.s)}));break;default:Nu(e,{requestId:Number(n.requestId),type:"INVALID_REQUEST",reason:"INVALID_COMMAND"},e.s)}}(e,t)},e.l=t.getCastMessageBus("urn:x-cast:com.google.shaka.v2"),e.l.onMessage=function(t){return function(e,t){var n=Hl(t.data);switch(n.type){case"init":e.m=0,e.A=!1,e.u=!0,function(e,t,n){var i,o,r,a,s,c,l,u,d,p;k((function(h){switch(h.g){case 1:for(i in t.player)o=t.player[i],e.h[i](o);return e.C(n),r=e.g.autoplay,t.manifest?(e.g.autoplay=!1,S(h,5),y(h,e.h.load(t.manifest,t.startTime),7)):y(h,Promise.resolve(),3);case 7:A(h,3);break;case 5:return a=I(h),s=(new Map).set("detail",a),c=new pi("error",s),e.h&&e.h.dispatchEvent(c),h.return();case 3:if(!e.h)return h.return();for(l in t.video)u=t.video[l],e.g[l]=u;for(d in t.playerAfterLoad)p=t.playerAfterLoad[d],e.h[d](p);e.g.autoplay=r,t.manifest&&(e.g.play(),Pu(e)),b(h)}}))}(e,n.initState,n.appData),Iu(e);break;case"appData":e.C(n.appData);break;case"set":var i=n.targetName,o=n.property;if(n=n.value,"video"==i){if(t=cast.receiver.CastReceiverManager.getInstance(),"volume"==o){t.setSystemVolumeLevel(n);break}if("muted"==o){t.setSystemVolumeMuted(n);break}}e.H[i][o]=n;break;case"call":(i=e.H[n.targetName])[n.methodName].apply(i,n.args);break;case"asyncCall":i=n.targetName,o=n.methodName,"player"==i&&"load"==o&&(e.m=0,e.A=!1);var r=n.id,a=t.senderId;n=(t=e.H[i])[o].apply(t,n.args),"player"==i&&"load"==o&&(n=n.then((function(){e.u=!0}))),n.then((function(){return Ru(e,a,r,null)}),(function(t){return Ru(e,a,r,t)}))}}(e,t)},t.start();for(var n=(t=l(Gl)).next();!n.done;n=t.next())e.j.D(e.g,n.value,(function(t){return Au(e,"video",t)}));for(var i in fi)e.j.D(e.h,fi[i],(function(t){return Au(e,"player",t)}));cast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs="avc1.640028"; width=3840; height=2160')?e.h.Oe(3840,2160):e.h.Oe(1920,1080),e.j.D(e.g,"loadeddata",(function(){e.A=!0})),e.j.D(e.h,"loading",(function(){e.o=!1,Tu(e)})),e.j.D(e.g,"playing",(function(){e.o=!1,Tu(e)})),e.j.D(e.g,"pause",(function(){Tu(e)})),e.j.D(e.h,"unloading",(function(){e.o=!0,Tu(e)})),e.j.D(e.g,"ended",(function(){new Ht((function(){e.g&&e.g.ended&&(e.o=!0,Tu(e))})).S(ku)}))}(this)}function Su(e){e.m=0,e.u=!0,e.F=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length,Tu(e)}function Tu(e){var t;k((function(n){return 1==n.g?y(n,Promise.resolve(),2):e.h?(t=new pi("caststatuschanged"),e.dispatchEvent(t),Ou(e)||Pu(e),void b(n)):n.return()}))}function Au(e,t,n){e.h&&(Iu(e),Nu(e,{type:"event",targetName:t,event:n},e.l))}function Iu(e){e.G.S(Lu);for(var t={video:{},player:{}},n=l(Wl),i=n.next();!i.done;i=n.next())i=i.value,t.video[i]=e.g[i];if(e.h.T())for(var o in Jl)0==e.m%Jl[o]&&(t.player[o]=e.h[o]());for(var r in zl)0==e.m%zl[r]&&(t.player[r]=e.h[r]());for(var a in(n=cast.receiver.CastReceiverManager.getInstance().getSystemVolume())&&(t.video.volume=n.level,t.video.muted=n.muted),Nu(e,{type:"update",update:t},e.l),Kl)0==e.m%Kl[a]&&((t={player:{}}).player[a]=e.h[a](),Nu(e,{type:"update",update:t},e.l));e.A&&(e.m+=1),Ou(e)}function Ou(e){return!(!e.u||!e.g.duration&&!e.h.T())&&(Cu(e),e.u=!1,!0)}function Cu(e,t){var n={contentId:e.h.de(),streamType:e.h.T()?"LIVE":"BUFFERED",contentType:""};e.h.T()||(n.duration=e.g.duration),e.i&&(n.metadata=e.i),Pu(e,void 0===t?0:t,n)}function Ru(e,t,n,i){e.h&&Nu(e,{type:"asyncComplete",id:n,error:i},e.l,t)}function Nu(e,t,n,i){e.F&&(e=Bl(t),i?n.getCastChannel(i).send(e):n.broadcast(e))}function Pu(e,t,n){n=void 0===n?null:n;var i={mediaSessionId:0,playbackRate:e.g.playbackRate,playerState:e.o?wu:e.h.ie()?Mu:e.g.paused?xu:Du,currentTime:e.g.currentTime,supportedMediaCommands:63,volume:{level:e.g.volume,muted:e.g.muted}};n&&(i.media=n),Nu(e,{requestId:void 0===t?0:t,type:"MEDIA_STATUS",status:[i]},e.s)}_(hu,mi),(i=hu.prototype).destroy=function(e){return e&&this.g.Wb(),this.m&&(this.m.release(),this.m=null),e=[],this.h&&(e.push(this.h.destroy()),this.h=null),this.g&&(e.push(this.g.destroy()),this.g=null),this.s=this.l=this.i=null,mi.prototype.release.call(this),Promise.all(e)},i.Gg=function(){return this.l},i.wg=function(){return this.s},i.Yf=function(){return this.g.m&&cu},i.ya=function(){return this.g.ya()},i.Fe=function(){return this.g.Fe()},i.cast=function(){var e,t=this;return k((function(n){return 1==n.g?(e=mu(t),y(n,t.g.cast(e),2)):t.h?y(n,t.h.Ue(),0):n.return()}))},i.Me=function(e){this.g.Me(e)},i.nh=function(){!function(e){if(e.h){var t=e.I();chrome.cast.requestSession((function(n){return eu(e,t,n)}),(function(t){return tu(e,t)}))}}(this.g)},i.Wb=function(){this.g.Wb()},i.Zf=function(e,t){t=void 0!==t&&t;var n=this;return k((function(i){if(1==i.g)return e==n.C&&t==n.A?i.return():(n.C=e,n.A=t,n.g.Wb(),y(i,n.g.destroy(),2));n.g=null,n.g=new Ql(e,(function(){return _u(n)}),(function(){return gu(n)}),(function(e,t){return yu(n,e,t)}),(function(){return Eu(n)}),(function(){return mu(n)}),t),n.g.init(),b(i)}))},B("shaka.cast.CastProxy",hu),hu.prototype.changeReceiverId=hu.prototype.Zf,hu.prototype.forceDisconnect=hu.prototype.Wb,hu.prototype.suggestDisconnect=hu.prototype.nh,hu.prototype.setAppData=hu.prototype.Me,hu.prototype.cast=hu.prototype.cast,hu.prototype.receiverName=hu.prototype.Fe,hu.prototype.isCasting=hu.prototype.ya,hu.prototype.canCast=hu.prototype.Yf,hu.prototype.getPlayer=hu.prototype.wg,hu.prototype.getVideo=hu.prototype.Gg,hu.prototype.destroy=hu.prototype.destroy,_(bu,mi),(i=bu.prototype).isConnected=function(){return this.F},i.Mg=function(){return this.o},i.kh=function(e){this.i=e},i.bg=function(){this.i=null},i.lh=function(e){this.i||(this.i={metadataType:cast.receiver.media.MetadataType.GENERIC}),this.i.title=e},i.jh=function(e){this.i||(this.i={metadataType:cast.receiver.media.MetadataType.GENERIC}),this.i.images=[{url:e}]},i.ih=function(e){this.i||(this.i={}),this.i.artist=e,this.i.metadataType=cast.receiver.media.MetadataType.MUSIC_TRACK},i.destroy=function(){var e,t=this;return k((function(n){if(1==n.g)return t.j&&(t.j.release(),t.j=null),e=[],t.h&&(e.push(t.h.destroy()),t.h=null),t.G&&(t.G.stop(),t.G=null),t.g=null,t.H=null,t.C=null,t.F=!1,t.o=!0,t.l=null,t.s=null,mi.prototype.release.call(t),y(n,Promise.all(e),2);cast.receiver.CastReceiverManager.getInstance().stop(),b(n)}))},B("shaka.cast.CastReceiver",bu),bu.prototype.destroy=bu.prototype.destroy,bu.prototype.setContentArtist=bu.prototype.ih,bu.prototype.setContentImage=bu.prototype.jh,bu.prototype.setContentTitle=bu.prototype.lh,bu.prototype.clearContentMetadata=bu.prototype.bg,bu.prototype.setContentMetadata=bu.prototype.kh,bu.prototype.isIdle=bu.prototype.Mg,bu.prototype.isConnected=bu.prototype.isConnected;var Lu=.5,ku=5,wu="IDLE",Du="PLAYING",Mu="BUFFERING",xu="PAUSED";function Uu(e,t,n,i,o){if(i>=o)return null;for(var r=-1,a=-1,s=0;s<n.length;s++)if(n[s].some((function(e){return null!=e&&""!=e.g.trim()}))){r=s;break}for(s=n.length-1;0<=s;s--)if(n[s].some((function(e){return null!=e&&""!=e.g.trim()}))){a=s;break}if(-1===r||-1===a)return null;for(var c=s=!1,l="white",u="black",d=Vu(i,o,s,c,l,u);r<=a;r++){for(var p=n[r],h=-1,f=-1,m=0;m<p.length;m++)if(null!=p[m]&&""!==p[m].g.trim()){h=m;break}for(m=p.length-1;0<=m;m--)if(null!=p[m]&&""!==p[m].g.trim()){f=m;break}if(-1===h||-1===f)p=Fu(i,o),e.g.push(p);else{for(;h<=f;h++)if(m=p[h]){var _=m.l,g=m.i,E=m.j,v=m.h;_==s&&g==c&&E==l&&v==u||(d.U&&e.g.push(d),d=Vu(i,o,_,g,E,v),s=_,c=g,l=E,u=v),d.U+=m.g}else d.U+=" ";d.U&&e.g.push(d),r!==a&&(d=Fu(i,o),e.g.push(d)),d=Vu(i,o,s,c,l,u)}}return e.g.length?{cue:e,stream:t}:null}function Vu(e,t,n,i,o,r){return e=new me(e,t,""),n&&e.h.push("underline"),i&&(e.o="italic"),e.l=o,e.backgroundColor=r,e}function Fu(e,t){return(e=new me(e,t,"")).F=!0,e}function Bu(e,t,n,i,o){this.g=e,this.l=t,this.i=n,this.h=i,this.j=o}function Hu(e,t){this.i=[],this.g=1,this.h=0,this.u=e,this.s=t,this.j=this.m=!1,this.l="white",this.o="black",Wu(this)}function Gu(e,t,n){var i="CC"+(e.u<<1|e.s+1),o=new me(t,n,"");return o.G=1,o.j=e.g/16*100,Uu(o,i,e.i,t,n)}function Wu(e){zu(e,0,15),e.g=1}function ju(e,t,n){if(!(32>n||127<n)){var i="";switch(t){case Ku:i=$u.has(n)?$u.get(n):String.fromCharCode(n);break;case Ju:i=Zu.get(n);break;case qu:e.i[e.g].pop(),i=Qu.get(n);break;case Xu:e.i[e.g].pop(),i=ed.get(n)}i&&e.i[e.g].push(new Bu(i,e.m,e.j,e.o,e.l))}}function Yu(e,t,n,i){if(!(0>n||0>t))if(t>=n)for(--i;0<=i;i--)e.i[t+i]=e.i[n+i].map((function(e){return e}));else for(var o=0;o<i;o++)e.i[t+o]=e.i[n+o].map((function(e){return e}))}function zu(e,t,n){for(var i=0;i<=n;i++)e.i[t+i]=[]}var Ku=0,Ju=1,qu=2,Xu=3,$u=new Map([[39,"’"],[42,"á"],[92,"é"],[92,"é"],[94,"í"],[95,"ó"],[96,"ú"],[123,"ç"],[124,"÷"],[125,"Ñ"],[126,"ñ"],[127,"█"]]),Zu=new Map([[48,"®"],[49,"°"],[50,"½"],[51,"¿"],[52,"™"],[53,"¢"],[54,"£"],[55,"♪"],[56,"à"],[57,"⠀"],[58,"è"],[59,"â"],[60,"ê"],[61,"î"],[62,"ô"],[63,"û"]]),Qu=new Map([[32,"Á"],[33,"É"],[34,"Ó"],[35,"Ú"],[36,"Ü"],[37,"ü"],[38,"‘"],[39,"¡"],[40,"*"],[41,"'"],[42,"─"],[43,"©"],[44,"℠"],[45,"·"],[46,"“"],[47,"”"],[48,"À"],[49,"Â"],[50,"Ç"],[51,"È"],[52,"Ê"],[53,"Ë"],[54,"ë"],[55,"Î"],[56,"Ï"],[57,"ï"],[58,"Ô"],[59,"Ù"],[60,"ù"],[61,"Û"],[62,"«"],[63,"»"]]),ed=new Map([[32,"Ã"],[33,"ã"],[34,"Í"],[35,"Ì"],[36,"ì"],[37,"Ò"],[38,"ò"],[39,"Õ"],[40,"õ"],[41,"{"],[42,"}"],[43,"\\"],[44,"^"],[45,"_"],[46,"|"],[47,"~"],[48,"Ä"],[49,"ä"],[50,"Ö"],[51,"ö"],[52,"ß"],[53,"¥"],[54,"¤"],[55,"│"],[56,"Å"],[57,"å"],[58,"Ø"],[59,"ø"],[60,"┌"],[61,"┐"],[62,"└"],[63,"┘"]]);function td(e,t){this.h=rd,this.o=new Hu(e,t),this.i=new Hu(e,t),this.g=this.j=new Hu(e,t),this.l=0,this.m=null}function nd(e,t,n){e.g=e.i;var i=e.g,o=null;return e.h!==sd&&e.h!==cd&&(o=Gu(i,e.l,n),(n=e.i).g=0<n.h?n.h:0,zu(n,0,15),(n=e.j).g=0<n.h?n.h:0,zu(n,0,15),i.g=15),e.h=sd,i.h=t,o}function id(e){e.h=ad,e.g=e.j,e.g.h=0}function od(e){K("Cea608DataChannel","CEA-608 text mode entered, but is unsupported"),e.g=e.o,e.h=cd}var rd=0,ad=1,sd=3,cd=4,ld="black green blue cyan red yellow magenta black".split(" "),ud="white green blue cyan red yellow magenta white_italics".split(" ");function dd(){this.l=!1,this.A=this.F=0,this.C=vd,this.i=[],this.g=this.h=this.j=0,this.u=this.o=!1,this.s="white",this.m="black",pd(this)}function pd(e){e.i=[];for(var t=0;16>t;t++)e.i.push(hd())}function hd(){for(var e=[],t=0;42>t;t++)e.push(null);return e}function fd(e,t){md(e)&&(e.i[e.h][e.g]=new Bu(t,e.u,e.o,e.m,e.s),e.g++)}function md(e){var t=e.g<e.A&&0<=e.g;return e.h<e.F&&0<=e.h&&t}function _d(e,t,n){var i=new me(e.j,t,"");return i.textAlign=e.C===gd?"left":e.C===Ed?"right":Ee,(n=Uu(i,"svc"+n,e.i,e.j,t))&&(e.j=t),n}dd.prototype.isVisible=function(){return this.l};var gd=0,Ed=1,vd=2;function yd(){this.i=[],this.h=null,this.g=0}function bd(e,t){3===t.type?(e.g=2*(63&t.value)-1,e.h=[]):e.h&&(0<e.g&&(e.h.push(t),e.g--),0===e.g&&(e.i.push(new Sd(e.h)),e.h=null,e.g=0))}function Sd(e){this.g=0,this.h=e}function Td(e){if(!e.ja())throw new ot(2,2,3e3);return e.h[e.g++]}function Ad(e){this.i=e,this.h=[null,null,null,null,null,null,null,null],this.g=null}function Id(e,t,n,i){if(128<=n&&135>=n)i=7&n,e.h[i]&&(e.g=e.h[i]);else{if(136===n){n=Td(t).value,t=null;for(var o=(n=l(Od(e,n))).next();!o.done;o=n.next())(o=e.h[o.value]).isVisible()&&(t=_d(o,i,e.i)),pd(o);return t}if(137===n)for(n=(t=l(Od(e,t=Td(t).value))).next();!n.done;n=t.next())(n=e.h[n.value]).isVisible()||(n.j=i),n.l=!0;else{if(138===n){for(n=Td(t).value,t=null,o=(n=l(Od(e,n))).next();!o.done;o=n.next())(o=e.h[o.value]).isVisible()&&(t=_d(o,i,e.i)),o.l=!1;return t}if(139===n){for(n=Td(t).value,t=null,o=(n=l(Od(e,n))).next();!o.done;o=n.next())(o=e.h[o.value]).isVisible()?t=_d(o,i,e.i):o.j=i,o.l=!o.l;return t}if(140===n)return Cd(e,t=Td(t).value,i);if(143===n)return i=Cd(e,255,i),Rd(e),i;if(144===n)t.skip(1),i=Td(t).value,e.g&&(e.g.o=0<(128&i),e.g.u=0<(64&i));else if(145===n)i=Td(t).value,n=Td(t).value,t.skip(1),e.g&&(t=Nd((48&n)>>4,(12&n)>>2,3&n),e.g.s=Nd((48&i)>>4,(12&i)>>2,3&i),e.g.m=t);else if(146===n)i=Td(t).value,t=Td(t).value,e.g&&((e=e.g).h=15&i,e.g=63&t);else if(151===n)t.skip(1),t.skip(1),i=Td(t).value,t.skip(1),e.g&&(e.g.C=3&i);else if(152<=n&&159>=n){if(n=(15&n)-8,!(o=null!==e.h[n])){var r=new dd;r.j=i,e.h[n]=r}i=Td(t).value,Td(t),Td(t),r=Td(t).value;var a=Td(t).value;t=Td(t).value,o&&0==(7&t)||((t=e.h[n]).h=0,t.g=0,t.u=!1,t.o=!1,t.s="white",t.m="black"),(t=e.h[n]).l=0<(32&i),t.F=1+(15&r),t.A=1+(63&a),e.g=e.h[n]}}}return null}function Od(e,t){for(var n=[],i=0;8>i;i++)1==(1&t)&&e.h[i]&&n.push(i),t>>=1;return n}function Cd(e,t,n){for(var i=null,o=(t=l(Od(e,t))).next();!o.done;o=t.next()){o=o.value;var r=e.h[o];r.isVisible()&&(i=_d(r,n,e.i)),e.h[o]=null}return i}function Rd(e){e.g=null,e.h=[null,null,null,null,null,null,null,null]}function Nd(e,t,n){var i={0:0,1:0,2:1,3:1};return Ld[(e=i[e])<<2|(t=i[t])<<1|(n=i[n])]}Sd.prototype.ja=function(){return this.g<this.h.length},Sd.prototype.ha=function(){return this.g},Sd.prototype.skip=function(e){if(this.g+e>this.h.length)throw new ot(2,2,3e3);this.g+=e};var Pd=new Map([[32," "],[33," "],[37,"…"],[42,"Š"],[44,"Œ"],[48,"█"],[49,"‘"],[50,"’"],[51,"“"],[52,"”"],[53,"•"],[57,"™"],[58,"š"],[60,"œ"],[61,"℠"],[63,"Ÿ"],[118,"⅛"],[119,"⅜"],[120,"⅝"],[121,"⅞"],[122,"│"],[123,"┐"],[124,"└"],[125,"─"],[126,"┘"],[127,"┌"]]),Ld="black blue green cyan red magenta yellow white".split(" ");function kd(){this.h=[],this.g=[],this.i=new yd,this.l=0,this.m=new Map([["CC1",new td(0,0)],["CC2",new td(0,1)],["CC3",new td(1,0)],["CC4",new td(1,1)]]),this.s=this.o=0,this.j=new Map,this.u=!0,wd(this)}function wd(e){e.o=0,e.s=0;for(var t=l(e.m.values()),n=t.next();!n.done;n=t.next())(n=n.value).h=rd,n.g=n.j,n.m=null,Wu(n.i),Wu(n.j),Wu(n.o);e.u=!0}function Dd(e,t){var n=t.type;if(16==(112&t.Fa)){var i=t.Fa>>3&1;0===n?e.o=i:e.s=i}if(n=e.m.get("CC"+(n<<1|(n?e.s:e.o)+1)),255===t.Fa&&255===t.$a||!t.Fa&&!t.$a||!xd(t.Fa)||!xd(t.$a))return 45<=++e.l&&wd(e),null;if(e.l=0,t.Fa&=127,t.$a&=127,!t.Fa&&!t.$a)return null;if(e=null,16==(112&t.Fa))e:{if(i=t.Fa,e=t.$a,n.m===(i<<8|e))n.m=null;else if(n.m=i<<8|e,16==(240&i)&&64==(192&e)){t=[11,11,1,2,3,4,12,13,14,15,5,6,7,8,9,10][(7&i)<<1|e>>5&1];var o=(30&e)>>1;i="white";var r=!1;7>o?i=ud[o]:7===o&&(r=!0),e=1==(1&e),n.h!==cd&&(o=n.g,n.h===sd&&t!==o.g&&(Yu(o,n=1+t-o.h,1+o.g-o.h,o.h),zu(o,0,n-1),zu(o,t+1,15-t)),o.g=t,o.m=e,o.j=r,o.l=i,o.o="black")}else if(17==(247&i)&&32==(240&e))n.g.m=!1,n.g.j=!1,n.g.l="white",ju(n.g,Ku,32),i=!1,"white_italics"===(t=ud[(14&e)>>1])&&(t="white",i=!0),n.g.m=1==(1&e),n.g.j=i,n.g.l=t;else if(16==(247&i)&&32==(240&e)||23==(247&i)&&45==(255&e))t="black",0==(7&i)&&(t=ld[(14&e)>>1]),n.g.o=t;else if(17==(247&i)&&48==(240&e))ju(n.g,Ju,e);else if(18==(246&i)&&32==(224&e))ju(n.g,1&i?Xu:qu,e);else if(20==(246&i)&&32==(240&e)){switch(e=t.pts,i=null,t.$a){case 32:id(n);break;case 33:(n=n.g).i[n.g].pop();break;case 37:i=nd(n,2,e);break;case 38:i=nd(n,3,e);break;case 39:i=nd(n,4,e);break;case 40:ju(n.g,Ku,32);break;case 41:n.h=2,n.g=n.i,n.g.h=0,n.l=e;break;case 42:Wu(n.o),od(n);break;case 43:od(n);break;case 44:t=n.i,i=null,n.h!==cd&&(i=Gu(t,n.l,e)),zu(t,0,15);break;case 45:t=n.g,n.h!==sd?i=null:(i=Gu(t,n.l,e),Yu(t,(r=t.g-t.h+1)-1,r,t.h),zu(t,0,r-1),zu(t,t.g,15-t.g),n.l=e);break;case 46:zu(n.j,0,15);break;case 47:t=null,n.h!==cd&&(t=Gu(n.i,n.l,e)),i=n.j,n.j=n.i,n.i=i,id(n),n.l=e,i=t}e=i;break e}e=null}else i=t.$a,ju(n.g,Ku,t.Fa),ju(n.g,Ku,i);return e}function Md(e,t){var n=[];try{for(;t.ja();){var i=Td(t).value,o=(224&i)>>5,r=31&i;if(7===o&&0!=r&&(o=63&Td(t).value),0!=o){e.j.has(o)||e.j.set(o,new Ad(o));for(var a=e.j.get(o),s=t.ha();t.ha()-s<r;){var c=Td(o=t),l=c.value,u=c.pts;if(16===l)l=l<<16|Td(o).value;if(0<=l&&31>=l){var d=u;if(a.g){var p=a.g;switch(o=null,l){case 8:!md(p)||0>=p.g&&0>=p.h||(0>=p.g?(p.g=p.A-1,p.h--):p.g--,p.i[p.h][p.g]=null);break;case 13:if(p.isVisible()&&(o=_d(p,d,a.i)),p.h+1>=p.F){d=p;for(var h=0,f=1;16>f;f++,h++)d.i[h]=d.i[f];for(f=0;1>f;f++,h++)d.i[h]=hd()}else p.h++;p.g=0;break;case 14:p.isVisible()&&(o=_d(p,d,a.i)),p.i[p.h]=hd(),p.g=0;break;case 12:p.isVisible()&&(o=_d(p,d,a.i)),pd(p),(d=p).h=0,d.g=0}var m=o}else m=null}else if(128<=l&&159>=l)m=Id(a,o,l,u);else{if(4096<=l&&4127>=l)8<=(d=255&l)&&15>=d?o.skip(1):16<=d&&23>=d?o.skip(2):24<=d&&31>=d&&o.skip(3);else if(4224<=l&&4255>=l)128<=(d=255&l)&&135>=d?o.skip(4):136<=d&&143>=d&&o.skip(5);else if(32<=l&&127>=l)o=l,a.g&&fd(a.g,127===o?"♪":String.fromCharCode(o));else if(160<=l&&255>=l)a.g&&fd(a.g,String.fromCharCode(l));else if(4128<=l&&4223>=l){if(o=255&l,a.g)if(Pd.has(o)){var _=Pd.get(o);fd(a.g,_)}else fd(a.g,"_")}else 4256<=l&&4351>=l&&a.g&&fd(a.g,160!=(255&l)?"_":"[CC]");m=null}(o=m)&&n.push(o)}}}}catch(e){if(!(e instanceof ot&&3e3===e.code))throw e;K("CEA708_INVALID_DATA","Buffer read out of bounds / invalid CEA-708 Data.")}return n}function xd(e){for(var t=0;e;)t^=1&e,e>>=1;return 1===t}function Ud(e){for(var t=[],n=e,i=e=0;i<n.length;)2==e&&3==n[i]?(e=0,(n=[].concat(u(n))).splice(i,1),n=new Uint8Array(n)):0==n[i]?e++:e=0,i++;for(e=n,i=0;i<e.length;){for(n=0;255==e[i];)n+=255,i++;n+=e[i++];for(var o=0;255==e[i];)o+=255,i++;o+=e[i++],4==n&&t.push(e.subarray(i,i+o)),i+=o}return t}function Vd(){this.j=new Map,this.i=this.h=0,this.g=Fd}kd.prototype.clear=function(){this.l=0,this.h=[],this.g=[];var e=this.i;e.i=[],e.h=[],e.g=0,wd(this);for(var t=(e=l(this.j.values())).next();!t.done;t=e.next())Rd(t.value)},kd.prototype.extract=function(e,t){if(this.u){for(var n=l(this.m.values()),i=n.next();!i.done;i=n.next())i.value.l=t;this.u=!1}if(181===(e=new zi(e,0)).ra()&&49===e.Ja()&&1195456820===e.K()&&3===e.ra()&&0!=(64&(n=e.ra())))for(n&=31,e.skip(1),i=0;i<n;i++){var o=e.ra(),r=(4&o)>>2,a=e.ra(),s=e.ra();r&&(0===(o&=3)||1===o?this.h.push({pts:t,type:o,Fa:a,$a:s,order:this.h.length}):(this.g.push({pts:t,type:o,value:a,order:this.g.length}),this.g.push({pts:t,type:2,value:s,order:this.g.length})))}},kd.prototype.decode=function(){function e(e,t){return e.pts-t.pts||e.order-t.order}var t=[];this.h.sort(e),this.g.sort(e);for(var n=l(this.h),i=n.next();!i.done;i=n.next())(i=Dd(this,i.value))&&t.push(i);for(i=(n=l(this.g)).next();!i.done;i=n.next())bd(this.i,i.value);for(i=(n=l(this.i.i)).next();!i.done;i=n.next())i=Md(this,i.value),t.push.apply(t,u(i));return this.i.i=[],this.h=[],this.g=[],t},B("shaka.cea.CeaDecoder",kd),ue=function(){return new kd},Vd.prototype.init=function(e){function t(e){(e=e.name)in Gd&&(n.g=Gd[e])}var n=this,i=[],o=[];if((new qi).box("moov",Xi).box("mvex",Xi).O("trex",(function(e){var t=e.reader;t.skip(4),t.skip(4),e=t.K(),t=t.K(),n.h=e,n.i=t})).box("trak",Xi).O("tkhd",(function(e){e=xr(e.reader,e.version),i.push(e.trackId)})).box("mdia",Xi).O("mdhd",(function(e){e=Dr(e.reader,e.version),o.push(e.timescale)})).box("minf",Xi).box("stbl",Xi).O("stsd",$i).box("avc1",t).box("avc3",t).box("hev1",t).box("hvc1",t).box("dvh1",t).box("dvhe",t).box("encv",Zi).box("sinf",Xi).box("frma",(function(e){(e=Vr(e.reader).pa)in Gd&&(n.g=Gd[e])})).parse(e,!0),!i.length||!o.length||i.length!=o.length)throw new ot(2,2,2010);this.g==Fd&&z("Unable to determine bitstream format for CEA parsing!"),i.forEach((function(e,t){n.j.set(e,o[t])}))},Vd.prototype.parse=function(e){var t=this;if(this.g==Fd)return[];var n=[],i=this.h,o=this.i,r=0,a=[],s=null,c=9e4;return(new qi).box("moof",(function(e){r=e.start,a=[],Xi(e)})).box("traf",Xi).O("trun",(function(e){e=Mr(e.reader,e.version,e.flags),a.push(e)})).O("tfhd",(function(e){e=kr(e.reader,e.flags),i=e.gf||t.h,o=e.fg||t.i,e=e.trackId,t.j.has(e)&&(c=t.j.get(e))})).O("tfdt",(function(e){s=wr(e.reader,e.version).baseMediaDecodeTime})).box("mdat",(function(e){if(null===s)throw z("Unable to find base media decode time for CEA captions!"),new ot(2,2,2010);!function(e,t,n,i,o,r,a,s,c){var d=0,p=r,h=s.map((function(e){return e.Bf}));for((h=[].concat.apply([],u(h))).length&&(p=h[0].sampleSize||r),t.skip(a+s[0].eg);t.ja();){a=t.K();var f=t.ra(),m=null;switch(m=!1,s=1,e.g){case Bd:m=6==(m=31&f);break;case Hd:s=2,t.skip(1),m=39==(m=f>>1&63)||40==m;break;default:return}if(m)for(f=0,d<h.length&&(f=h[d].Md||0),f=(n+f)/i,m=(s=l(Ud(t.kb(a-s)))).next();!m.done;m=s.next())c.push({packet:m.value,pts:f});else try{t.skip(a-s)}catch(e){break}0==(p-=a+4)&&(n=d<h.length?n+(h[d].Je||o):n+o,p=++d<h.length&&h[d].sampleSize||r)}}(t,e.reader,s,c,i,o,r-e.start-8,a,n)})).parse(e,!1),n},B("shaka.cea.Mp4CeaParser",Vd);var Fd=0,Bd=1,Hd=2,Gd={avc1:Bd,avc3:Bd,hev1:Hd,hvc1:Hd,dvh1:Hd,dvhe:Hd};function Wd(){}function jd(e,t,n){var i=function(e){for(var t=[],n=(e=l(e)).next();!n.done;n=e.next())(n=zd(n.value))&&t.push(n);return t}(e),o=null;e=[];var r=[],a=new Set(i.map((function(e){return e.keyId})));if(a.delete(null),1<a.size)throw new ot(2,4,4010);if(t||(r=i.filter((function(e){return"urn:mpeg:dash:mp4protection:2011"!=e.Ke||(o=e.init||o,!1)}))).length&&(e=function(e,t,n,i){for(var o=[],r=(t=l(t)).next();!r.done;r=t.next()){var a=n[(r=r.value).Ke];if(a){var s;if(s=_o(r.node,"urn:microsoft:playready","pro")){s=co(s.textContent);var c=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);s=[{initData:fo(s,c,new Set,0),initDataType:"cenc",keyId:r.keyId}]}else s=null;if(c=null,"urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e"===r.Ke)if(0==(c=i).size)c=null;else{var u=new Uint8Array([16,119,239,236,192,178,77,2,172,227,60,30,82,226,251,75]);c=[{initData:fo(new Uint8Array([]),u,c,1),initDataType:"cenc",keyId:r.keyId}]}s=ut(a,r.init||e||s||c),(a=Jd.get(a))&&(s.licenseServerUri=a(r)),o.push(s)}}return o}(o,r,n,a),0==e.length&&(e=[ut("",o)])),i.length&&(t||!r.length))for(e=[],n=(t=l(Object.values(n))).next();!n.done;n=t.next())"org.w3.clearkey"!=(n=n.value)&&e.push(ut(n,o));if(a=Array.from(a)[0]||null)for(n=(t=l(e)).next();!n.done;n=t.next())for(i=(n=l(n.value.initData)).next();!i.done;i=n.next())i.value.keyId=a;return{ff:a,ei:o,drmInfos:e,kf:!0}}function Yd(e){var t=_o(e.node,"https://dashif.org/CPS","Laurl");return t&&t.textContent?t.textContent:(e=_o(e.node,"urn:microsoft:playready","pro"))?(e=function(e){var t=0,n=re(e),i=n.getUint32(t,!0);if(i!=e.byteLength)return[];e:{for(e=t+6,t=[];e<n.byteLength-1;){i=n.getUint16(e,!0),e+=2;var o=n.getUint16(e,!0);if(e+=2,0!=(1&o)||o+e>n.byteLength){n=[];break e}var r=oe(n,e,o);t.push({type:i,value:r}),e+=o}n=t}return n}(e=co(e.textContent)).filter((function(e){return e.type===Kd}))[0],e&&(e=wo(e=Hi(e.value,!0),"WRMHEADER"))?function(e){for(var t=(e=l(e.getElementsByTagName("DATA"))).next();!t.done;t=e.next())for(var n=(t=l(t.value.childNodes)).next();!n.done;n=t.next())if((n=n.value)instanceof Element&&"LA_URL"==n.tagName)return n.textContent;return""}(e):""):""}function zd(e){var t=e.getAttribute("schemeIdUri"),n=vo(e,"urn:mpeg:cenc:2013","default_KID"),i=Eo(e,"urn:mpeg:cenc:2013","pssh").map(bo);if(!t)return null;if(t=t.toLowerCase(),n&&(n=n.replace(/-/g,"").toLowerCase()).includes(" "))throw new ot(2,4,4009);var o=[];try{o=i.map((function(e){return{initDataType:"cenc",initData:co(e),keyId:null}}))}catch(e){throw new ot(2,4,4007)}return{node:e,Ke:t,keyId:n,init:0<o.length?o:null}}le["video/mp4"]=function(){return new Vd},Wd.prototype.init=function(){},Wd.prototype.parse=function(e){var t=[];if(!Xr(e=oe(e)))return t;for(var n=(e=l(e=(new Jr).parse(e).ge())).next();!n.done;n=e.next())if(6==(n=n.value).type&&null!=n.time)for(var i=l(Ud(n.data)),o=i.next();!o.done;o=i.next())t.push({packet:o.value,pts:n.time});return t},B("shaka.cea.TsCeaParser",Wd),le["video/mp2t"]=function(){return new Wd};var Kd=1,Jd=(new Map).set("com.widevine.alpha",(function(e){var t=_o(e.node,"https://dashif.org/CPS","Laurl");return t&&t.textContent?t.textContent:(e=_o(e.node,"urn:microsoft","laurl"))&&e.getAttribute("licenseUrl")||""})).set("com.microsoft.playready",Yd).set("com.microsoft.playready.recommendation",Yd).set("com.microsoft.playready.software",Yd).set("com.microsoft.playready.hardware",Yd).set("org.w3.clearkey",(function(e){var t=_o(e.node,"https://dashif.org/CPS","Laurl");return t&&t.textContent?t.textContent:(e=_o(e.node,"http://dashif.org/guidelines/clearKey","Laurl"))&&"EME-1.0"===e.getAttribute("Lic_type")&&e.textContent?e.textContent:""}));function qd(t,n,i,o,r){var a={RepresentationID:n,Number:i,Bandwidth:o,Time:r};return t.replace(/\$(RepresentationID|Number|Bandwidth|Time)?(?:%0([0-9]+)([diouxX]))?\$/g,(function(t,n,i,o){if("$$"==t)return"$";var r=a[n];if(null==r)return t;switch("RepresentationID"==n&&i&&(i=void 0),"Time"==n&&(r=Math.round(r)),o){case void 0:case"d":case"i":case"u":t=r.toString();break;case"o":t=r.toString(8);break;case"x":t=r.toString(16);break;case"X":t=r.toString(16).toUpperCase();break;default:t=r.toString()}return i=e.parseInt(i,10)||1,Array(Math.max(0,i-t.length)+1).join("0")+t}))}function Xd(e,t){var n=$d(e,t,"timescale"),i=1;n&&(i=Ro(n)||1);var o=$d(e,t,"duration");n=Ro(o||""),"image"==e.J.contentType&&(n=Po(o||"")),n&&(n/=i);var r=$d(e,t,"startNumber");o=Number($d(e,t,"presentationTimeOffset"))||0;var a=No(r||"");if(null!=r&&null!=a||(a=1),r=Zd(e,t,"SegmentTimeline"),t=null,r){t=i,e=e.$.duration||1/0,r=go(r,"S");for(var s=[],c=-o,l=0;l<r.length;++l){var u=r[l],d=r[l+1],p=To(u,"t",No),h=To(u,"d",No);if(u=To(u,"r",Co),null!=p&&(p-=o),!h)break;if(p=null!=p?p:c,0>(u=u||0))if(d){if(null==(d=To(d,"t",No)))break;if(p>=d)break;u=Math.ceil((d-p)/h)-1}else{if(1/0==e)break;if(p/t>=e)break;u=Math.ceil((e*t-p)/h)-1}for(0<s.length&&p!=c&&(s[s.length-1].end=p/t),d=0;d<=u;++d)c=p+h,s.push({start:p/t,end:c/t,We:p}),p=c}t=s}return{timescale:i,ma:n,hc:a,lb:o/i||0,Ve:o,timeline:t}}function $d(e,t,n){return[t(e.J),t(e.ea),t(e.ia)].filter(ct).map((function(e){return e.getAttribute(n)})).reduce((function(e,t){return e||t}))}function Zd(e,t,n){return[t(e.J),t(e.ea),t(e.ia)].filter(ct).map((function(e){return mo(e,n)})).reduce((function(e,t){return e||t}))}function Qd(e,t,n,i,o,r){if(r=void 0===r?0:r,vo(e,"http://www.w3.org/1999/xlink","href")){var a=function(e,t,n,i,o,r){for(var a=vo(e,"http://www.w3.org/1999/xlink","href"),s=vo(e,"http://www.w3.org/1999/xlink","actuate")||"onRequest",c=l(Array.from(e.attributes)),u=c.next();!u.done;u=c.next())"http://www.w3.org/1999/xlink"==(u=u.value).namespaceURI&&e.removeAttributeNS(u.namespaceURI,u.localName);if(5<=r)return si(new ot(2,4,4028));if("onLoad"!=s)return si(new ot(2,4,4027));var d=lt([i],[a]);return o.request(0,Si(d,t)).fa((function(i){if(!(i=Do(i.data,e.tagName)))return si(new ot(2,4,4001,a));for(;e.childNodes.length;)e.removeChild(e.childNodes[0]);for(;i.childNodes.length;){var s=i.childNodes[0];i.removeChild(s),e.appendChild(s)}for(s=(i=l(Array.from(i.attributes))).next();!s.done;s=i.next())e.setAttributeNode(s.value.cloneNode(!1));return Qd(e,t,n,d[0],o,r+1)}))}(e,t,n,i,o,r);return n&&(a=a.fa(void 0,(function(){return Qd(e,t,n,i,o,r)}))),a}a=[];for(var s=l(Array.from(e.childNodes)),c=s.next();!c.done;c=s.next())(c=c.value)instanceof Element&&("urn:mpeg:dash:resolve-to-zero:2013"==vo(c,"http://www.w3.org/1999/xlink","href")?e.removeChild(c):"SegmentTimeline"!=c.tagName&&a.push(Qd(c,t,n,i,o,r)));return di(a).fa((function(){return e}))}function ep(e,t,n,i,o,r,a){var s,c=(new qi).O("sidx",(function(e){s=function(e,t,n,i,o,r,a){var s=[];a.reader.skip(4);var c=a.reader.K();if(0==c)throw new ot(2,3,3005);if(0==a.version)var l=a.reader.K(),u=a.reader.K();else l=a.reader.dc(),u=a.reader.dc();a.reader.skip(2);var d=a.reader.Ja();for(e=e+a.size+u,u=0;u<d;u++){var p=a.reader.K(),h=(2147483648&p)>>>31;p&=2147483647;var f=a.reader.K();if(a.reader.skip(4),1==h)throw new ot(2,3,3006);s.push(new Er(l/c+n,(l+f)/c+n,(function(){return r}),e,e+p-1,t,n,i,o)),l+=f,e+=p}return a.parser.stop(),s}(t,i,o,r,a,n,e)}));if(e&&c.parse(e),s)return s;throw new ot(2,3,3004)}function tp(e){this.h=re(e),this.g=new zi(this.h,0)}function np(e){var t=ip(e);if(7<t.length)throw new ot(2,3,3002);for(var n=0,i=(t=l(t)).next();!i.done;i=t.next())n=256*n+i.value;t=ip(e);e:{for(var o=(i=l(op)).next();!o.done;o=i.next())if(te(t,new Uint8Array(o.value))){i=!0;break e}i=!1}if(i)t=e.h.byteLength-e.g.ha();else{if(8==t.length&&224&t[1])throw new ot(2,3,3001);for(o=i=0;o<t.length;o++){var r=t[o];i=0==o?r&(1<<8-t.length)-1:256*i+r}t=i}return t=e.g.ha()+t<=e.h.byteLength?t:e.h.byteLength-e.g.ha(),i=re(e.h,e.g.ha(),t),e.g.skip(t),new rp(n,i)}function ip(e){var t=e.g.ha(),n=e.g.ra();if(0==n)throw new ot(2,3,3002);return n=8-Math.floor(Math.log2(n)),e.g.skip(n-1),oe(e.h,t,n)}tp.prototype.ja=function(){return this.g.ja()};var op=[[255],[127,255],[63,255,255],[31,255,255,255],[15,255,255,255,255],[7,255,255,255,255,255],[3,255,255,255,255,255,255],[1,255,255,255,255,255,255,255]];function rp(e,t){this.id=e,this.g=t}function ap(e){if(8<e.g.byteLength)throw new ot(2,3,3002);if(8==e.g.byteLength&&224&e.g.getUint8(0))throw new ot(2,3,3001);for(var t=0,n=0;n<e.g.byteLength;n++){t=256*t+e.g.getUint8(n)}return t}function sp(e){var t=new tp(e.g);if(179!=(e=np(t)).id)throw new ot(2,3,3013);if(e=ap(e),183!=(t=np(t)).id)throw new ot(2,3,3012);t=new tp(t.g);for(var n=0;t.ja();){var i=np(t);if(241==i.id){n=ap(i);break}}return{qh:e,$g:n}}function cp(e,t){if(!(t=Zd(e,t,"Initialization")))return null;var n=e.J.Ea,i=t.getAttribute("sourceURL");i&&(n=lt(e.J.Ea,[i])),i=0;var o=null;return(t=To(t,"range",Oo))&&(i=t.start,o=t.end),new gr((function(){return n}),i,o,fp(e))}function lp(e,t){var n=Number($d(e,dp,"presentationTimeOffset"))||0,i=$d(e,dp,"timescale"),o=1;i&&(o=Ro(i)||1);var r=n/o||0,a=cp(e,dp);!function(e,t){if(hp(e,t),!pp(e))throw new ot(2,4,4002)}(e,a);var s=gi(e);return{Xb:function(){var e=Zd(s,dp,"RepresentationIndex"),n=s.J.Ea;return e&&(e=e.getAttribute("sourceURL"))&&(n=lt(s.J.Ea,[e])),e=pp(s),up(s,t,a,n,e.start,e.end,r)}}}function up(e,t,n,i,o,r,a){var s,c,l,u,d,p,h,f,m,_,g,E,v,b,S;return k((function(T){if(1==T.g)return s=e.presentationTimeline,c=!e.rb||!e.$.je,l=e.$.start,u=e.$.duration,d=e.J.mimeType.split("/")[1],h=null,f=[(p=t)(i,o,r,!1),"webm"==d?p(n.xa(),n.Ca,n.ka,!0):null],p=null,y(T,Promise.all(f),2);if(m=T.h,_=m[0],g=m[1]||null,null,v=l-a,b=l,S=u?l+u:1/0,"mp4"==d)var A=ep(_,o,i,n,v,b,S);else{if(440786851!=np(A=new tp(g)).id)throw new ot(2,3,3008);var I=np(A);if(408125543!=I.id)throw new ot(2,3,3009);A=I.g.byteOffset,I=new tp(I.g);for(var O=null;I.ja();){var C=np(I);if(357149030==C.id){O=C;break}}if(!O)throw new ot(2,3,3010);for(O=new tp(O.g),C=1e6,I=null;O.ja();){var R=np(O);if(2807729==R.id)C=ap(R);else if(17545==R.id)if(4==R.g.byteLength)I=R.g.getFloat32(0);else{if(8!=R.g.byteLength)throw new ot(2,3,3003);I=R.g.getFloat64(0)}}if(null==I)throw new ot(2,3,3011);if(I*=O=C/1e9,475249515!=(C=np(new tp(_))).id)throw new ot(2,3,3007);A=function(e,t,n,i,o,r,a,s,c){function l(){return o}var u=[];e=new tp(e.g);for(var d=null,p=null;e.ja();){var h=np(e);if(187==h.id){var f=sp(h);f&&(h=n*f.qh,f=t+f.$g,null!=d&&u.push(new Er(d+a,h+a,l,p,f-1,r,a,s,c)),d=h,p=f)}}return null!=d&&u.push(new Er(d+a,i+a,l,p,null,r,a,s,c)),u}(C,A,O,I,i,n,v,b,S)}return E=A,s.Qc(E),h=new Ya(E),c&&h.Vb(b,S,!0),T.return(h)}))}function dp(e){return e.Wc}function pp(e){var t=Zd(e,dp,"RepresentationIndex");return e=Oo((e=$d(e,dp,"indexRange"))||""),t&&(e=To(t,"range",Oo,e)),e}function hp(e,t){var n=e.J.mimeType.split("/")[1];if(e.J.contentType!=ht&&"mp4"!=n&&"webm"!=n)throw new ot(2,4,4006);if("webm"==n&&!t)throw new ot(2,4,4005)}function fp(e){var t=e.J;return{bandwidth:e.bandwidth,audioSamplingRate:t.audioSamplingRate,codecs:t.codecs,contentType:t.contentType,frameRate:t.frameRate||null,height:t.height||null,mimeType:t.mimeType,channelsCount:t.Hd,pixelAspectRatio:t.pixelAspectRatio||null,width:t.width||null}}function mp(e,t){var n=cp(e,_p),i=function(e){var t=function(e){return[e.J.vb,e.ea.vb,e.ia.vb].filter(ct).map((function(e){return go(e,"SegmentURL")})).reduce((function(e,t){return 0<e.length?e:t})).map((function(t){return t.getAttribute("indexRange")&&!e.qf&&(e.qf=!0),{Sg:t.getAttribute("media"),start:(t=To(t,"mediaRange",Oo,{start:0,end:null})).start,end:t.end}}))}(e);e=Xd(e,_p);var n=e.hc;0==n&&(n=1);var i=0;return e.ma?i=e.ma*(n-1):e.timeline&&0<e.timeline.length&&(i=e.timeline[0].start),{ma:e.ma,startTime:i,hc:n,lb:e.lb,timeline:e.timeline,ac:t}}(e);if(!i.ma&&!i.timeline&&1<i.ac.length)throw new ot(2,4,4002);if(!i.ma&&!e.$.duration&&!i.timeline&&1==i.ac.length)throw new ot(2,4,4002);if(i.timeline&&0==i.timeline.length)throw new ot(2,4,4002);var o=null,r=null;e.ia.id&&e.J.id&&(r=t[e.ia.id+","+e.J.id])&&(o=r.segmentIndex);var a=function(e,t,n,i,o){var r=i.ac.length;i.timeline&&i.timeline.length!=i.ac.length&&(r=Math.min(i.timeline.length,i.ac.length));for(var a=e-i.lb,s=t?e+t:1/0,c=[],l=i.startTime,u={},d=0;d<r;u={vc:u.vc,tc:u.tc},d++){u.tc=i.ac[d];var p=void 0;p=null!=i.ma?l+i.ma:i.timeline?i.timeline[d].end:l+t,u.vc=null,c.push(new Er(e+l,e+p,function(e){return function(){return null==e.vc&&(e.vc=lt(n,[e.tc.Sg])),e.vc}}(u),u.tc.start,u.tc.end,o,a,e,s)),l=p}return c}(e.$.start,e.$.duration,e.J.Ea,i,n);return t=!o,o?o.Pc(a,e.presentationTimeline.fb()):o=new Ya(a),e.presentationTimeline.Qc(a),e.rb&&e.$.je||o.Vb(e.$.start,e.$.duration?e.$.start+e.$.duration:1/0,t),r&&(r.segmentIndex=o),{Xb:function(){return o&&0!=o.Jc()||o.Fd(a),Promise.resolve(o)}}}function _p(e){return e.vb}function gp(e,t,n,i,o,r){var a=function(e){var t=$d(e,Ep,"initialization");if(!t)return null;var n=e.J.id,i=e.bandwidth||null,o=e.J.Ea;return new gr((function(){var e=qd(t,n,null,i,null);return lt(o,[e])}),0,null,fp(e))}(e),s=function(e){var t=Xd(e,Ep),n=$d(e,Ep,"media");return e=$d(e,Ep,"index"),{ma:t.ma,timescale:t.timescale,hc:t.hc,lb:t.lb,Ve:t.Ve,timeline:t.timeline,te:n,Oc:e}}(e);!function(e){var t=e.Oc?1:0;if(t+=e.timeline?1:0,t+=e.ma?1:0,0==t)throw new ot(2,4,4002);if(1!=t&&(e.Oc&&(e.timeline=null),e.ma=null),!e.Oc&&!e.te)throw new ot(2,4,4002)}(s);var c=gi(e);if(s.Oc)return hp(e,a),{Xb:function(){var e=qd(s.Oc,c.J.id,null,c.bandwidth||null,null);return e=lt(c.J.Ea,[e]),up(c,t,a,e,0,null,s.lb)}};if(s.ma)return i||"image"===e.ea.contentType||(e.presentationTimeline.we(s.ma),e.presentationTimeline.Gd(e.$.start)),{Xb:function(){return function(e,t,n,i,o){function r(e){var n=(e-f)*h,o=n+t.lb,r=n+u;return n=r+h,(r=new Er(r,Math.min(n,s()),(function(){var t=qd(_,E,e,g,o*m);return lt(v,[t])}),0,null,i,y,u,s())).l=n,r}function a(){var e=[Math.max(c.fb(),u),Math.min(c.Cb(),s())].map((function(e){return e-u}));return[Math.ceil(e[0]/h),Math.ceil(e[1]/h)-1].map((function(e){return e+f}))}function s(){var e=null!=d&&o[d]||p;return e?u+e:1/0}var c=e.presentationTimeline,u=e.$.start,d=e.ia.id,p=e.$.duration,h=t.ma,f=t.hc,m=t.timescale,_=t.te,g=e.bandwidth||null,E=e.J.id,v=e.J.Ea,y=u-t.lb,b=a();e=e.rb?Math.max(b[0],b[1]-n+1):b[0],b=b[1],n=[];for(var S=e;S<=b;++S){var T=r(S);n.push(T)}var A=new Ya(n);if(n=c.Cb()<s(),S=c.T(),n||S){var I=Math.max(e,b+1);A.Pd(h,(function(){var e=c.fb();A.Ta(e);var t=l(a());t.next(),t=t.next().value;for(var n=[];I<=t;){var i=r(I);n.push(i),I++}return e>s()&&!n.length?null:n}))}return Promise.resolve(A)}(c,s,o,a,r)}};var u=null;i=i=null,e.ia.id&&e.J.id&&(i=n[i=e.ia.id+","+e.J.id])&&(u=i.segmentIndex);var d=e.$.start,p=e.$.duration?d+e.$.duration:1/0,h=!(e.rb&&e.$.je);return u?(yp(n=u,s,d,p,h),n.Ta(e.presentationTimeline.fb())):u=new vp(s,e.J.id,e.bandwidth,e.J.Ea,d,p,a,h),s.timeline&&"image"!==e.ea.contentType&&e.presentationTimeline.yf(s.timeline,d),i&&e.rb&&(i.segmentIndex=u),{Xb:function(){return u instanceof vp&&0==u.Jc()&&yp(u,s,d,p,h),Promise.resolve(u)}}}function Ep(e){return e.Xc}function vp(e,t,n,i,o,r,a,s){Ya.call(this,[]),this.h=e,this.C=t,this.s=n,this.u=i,this.j=o,this.o=r,this.A=a,s&&bp(this)}function yp(e,t,n,i,o){if(e.h){var r=(n=e.h.timeline)[n.length-1];0<(t=t.timeline.filter((function(e){return e.start>=r.end}))).length&&e.h.timeline.push.apply(e.h.timeline,u(t)),e.o!==i&&(e.o=i)}else e.h=t,e.j=n,e.o=i;o&&bp(e)}function bp(e){if(!e.m){for(var t=e.h.timeline;t.length&&t[t.length-1].start>=e.o;)t.pop();e.Ta(e.j),0!==t.length&&1/0!==e.o&&(t[t.length-1].end=e.o-e.j)}}function Sp(){this.j=[],this.g=[],this.i=[],this.l=[],this.h=[],this.m=new Set}function Tp(e){var t,n,i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,b,S,T,A,I,O;return k((function(C){switch(C.g){case 1:if(t=ft,1==e.length)return C.return(e[0]);for(n=e.map((function(e){return e.filter((function(e){return e.type==t.qb}))})),i=e.map((function(e){return e.filter((function(e){return e.type==t.wa}))})),o=e.map((function(e){return e.filter((function(e){return e.type==t.da}))})),r=e.map((function(e){return e.filter((function(e){return e.type==t.wc}))})),a=l(o),s=a.next();!s.done;s=a.next())s.value.push(Bp(t.da));for(c=l(r),u=c.next();!u.done;u=c.next())u.value.push(Bp(t.wc));return y(C,Ap([],n,0,Np,Lp),2);case 2:return d=C.h,y(C,Ap([],i,0,Np,Lp),3);case 3:return p=C.h,y(C,Ap([],o,0,Np,Lp),4);case 4:return h=C.h,y(C,Ap([],r,0,Np,Lp),5);case 5:if(f=C.h,m=0,p.length&&d.length)for(v=l(d),b=v.next();!b.done;b=v.next())for(S=b.value,T=l(p),A=T.next();!A.done;A=T.next())I=A.value,O=m++,I.variantIds.push(O),S.variantIds.push(O);else for(_=p.concat(d),g=l(_),E=g.next();!E.done;E=g.next())E.value.variantIds=[m++];return C.return(p.concat(d).concat(h).concat(f))}}))}function Ap(e,t,n,i,o){var r,a,s,c,u,d,p,h,f,m,_,g,E,v,b,S,T,A;return k((function(I){switch(I.g){case 1:for(r=ft,a=[],s=0;s<t.length;s++)s>=n?a.push(new Set(t[s])):a.push(new Set);c=l(e),u=c.next();case 2:if(u.done){I.B(4);break}return y(I,function(e,t,n,i,o){return k((function(r){return 1==r.g?(kp(t,e),e.matchedStreams?e.segmentIndex?y(r,Ip(e,n),2):r.B(2):r.return(!1)):(Cp(e,n,i,o),r.return(!0))}))}(u.value,t,n,o,a),5);case 5:if(!I.h)throw new ot(2,4,4037);u=c.next(),I.B(2);break;case 4:for(d=l(a),p=d.next();!p.done;p=d.next())for(h=p.value,f=l(h),m=f.next();!m.done;m=f.next())_=m.value,(g=Op(_,t,i,o,a))&&e.push(g);for(E=l(a),p=E.next();!p.done;p=E.next())for(v=p.value,b={},S=l(v),m=S.next();!m.done;b={pb:b.pb},m=S.next())if(b.pb=m.value,T=b.pb.type==r.da&&!b.pb.language,A=b.pb.type==r.wc&&!b.pb.tilesLayout,!T&&!A&&e.some(function(e){return function(t){return t.mimeType==e.pb.mimeType&&yt(t.codecs)==yt(e.pb.codecs)}}(b)))throw new ot(2,4,4037);return I.return(e)}}))}function Ip(e,t){var n,i,o,r,a,s,c;return k((function(u){if(1==u.g){for(n=[],i=e.matchedStreams,o=l(i),r=o.next();!r.done;r=o.next())a=r.value,n.push(a.createSegmentIndex()),a.trickModeVideo&&!a.trickModeVideo.segmentIndex&&n.push(a.trickModeVideo.createSegmentIndex());return y(u,Promise.all(n),2)}if(e.segmentIndex instanceof qa)for(s=t;s<i.length;s++)(c=i[s]).segmentIndex&&e.segmentIndex.h.push(c.segmentIndex);b(u)}))}function Op(e,t,n,i,o){var r=n(e);return kp(t,r),r.createSegmentIndex&&(r.createSegmentIndex=function(){return k((function(e){return r.segmentIndex?e.B(0):(r.segmentIndex=new qa,y(e,Ip(r,0),0))}))}),r.matchedStreams&&r.matchedStreams.length?(Cp(r,0,i,o),r):null}function Cp(e,t,n,i){for(var o=e.matchedStreams,r=0;r<o.length;r++)if(r>=t){var a=o[r];n(e,a);var s=!0;"audio"==e.type&&0==Dt(e.language,a.language)&&(s=!1),s&&i[r].delete(a)}}function Rp(e){var t=Object.assign({},e);return t.originalId=null,t.createSegmentIndex=function(){return Promise.resolve()},t.closeSegmentIndex=function(){if(t.segmentIndex&&(t.segmentIndex.release(),t.segmentIndex=null),t.matchedStreams)for(var e=l(t.matchedStreams),n=e.next();!n.done;n=e.next())(n=n.value).segmentIndex&&(n.segmentIndex.release(),n.segmentIndex=null)},t.segmentIndex=null,t.emsgSchemeIdUris=[],t.keyIds=new Set,t.closedCaptions=null,t.trickModeVideo=null,t}function Np(e){return(e=Object.assign({},e)).keyIds=new Set,e.segments=[],e.variantIds=[],e.closedCaptions=null,e}function Pp(e,t){var n,i;e.roles=Array.from(new Set(e.roles.concat(t.roles))),t.emsgSchemeIdUris&&(e.emsgSchemeIdUris=Array.from(new Set(e.emsgSchemeIdUris.concat(t.emsgSchemeIdUris)))),e.keyIds=(n=e.keyIds,i=t.keyIds,new Set([].concat(u(n),u(i)))),null==e.originalId?e.originalId=t.originalId:e.originalId+=","+(t.originalId||"");var o=Qo(e.drmInfos,t.drmInfos);if(t.drmInfos.length&&e.drmInfos.length&&!o.length)throw new ot(2,4,4038);if(e.drmInfos=o,e.encrypted=e.encrypted||t.encrypted,t.closedCaptions){e.closedCaptions||(e.closedCaptions=new Map);for(var r=(o=l(t.closedCaptions)).next();!r.done;r=o.next()){var a=l(r.value);r=a.next().value,a=a.next().value,e.closedCaptions.set(r,a)}}t.trickModeVideo?(e.trickModeVideo||(e.trickModeVideo=Rp(t.trickModeVideo),e.trickModeVideo.createSegmentIndex=function(){return e.trickModeVideo.segmentIndex=e.segmentIndex.clone(),Promise.resolve()}),Pp(e.trickModeVideo,t.trickModeVideo)):e.trickModeVideo&&Pp(e.trickModeVideo,t)}function Lp(e,t){e.roles=Array.from(new Set(e.roles.concat(t.roles)));var n=t.keyIds;if(n=new Set([].concat(u(e.keyIds),u(n))),e.keyIds=n,e.encrypted=e.encrypted&&t.encrypted,e.segments.push.apply(e.segments,u(t.segments)),t.closedCaptions)for(e.closedCaptions||(e.closedCaptions=new Map),n=(t=l(t.closedCaptions)).next();!n.done;n=t.next()){var i=l(n.value);n=i.next().value,i=i.next().value,e.closedCaptions.set(n,i)}}function kp(e,t){for(var n=[],i=(e=l(e)).next();!i.done;i=e.next()){for(var o=t,r={audio:wp,video:wp,text:Dp,image:Mp}[o.type],a={audio:xp,video:Up,text:Vp,image:Fp}[o.type],s=null,c=(i=l(i.value)).next();!c.done;c=i.next())!r(o,c=c.value)||s&&!a(o,s,c)||(s=c);if(!(o=s))return;n.push(o)}t.matchedStreams=n}function wp(e,t){function n(e){if(!Kp.has(e)){var t=yt(e);Kp.set(e,t)}return Kp.get(e)}return!(t.mimeType!=e.mimeType||n(t.codecs)!=n(e.codecs)||e.drmInfos&&!Zo(e.drmInfos,t.drmInfos))}function Dp(e,t){return!!e.language&&(!t.language||0!=Dt(e.language,t.language)&&t.kind==e.kind)}function Mp(e){return!!e.tilesLayout}function xp(e,t,n){if(e.id==n.id)return!0;var i=Dt(e.language,t.language),o=Dt(e.language,n.language);return o>i||!(o<i)&&(e.roles.length?(i=t.roles.filter((function(t){return e.roles.includes(t)})),(o=n.roles.filter((function(t){return e.roles.includes(t)}))).length>i.length||!(o.length<i.length)&&n.roles.length<t.roles.length):!(n.roles.length||!t.roles.length)||!(n.roles.length&&!t.roles.length)&&(!(t.primary||!n.primary)||!(t.primary&&!n.primary)&&((i=Gp(e.channelsCount,t.channelsCount,n.channelsCount))==jp||i!=zp&&((i=Gp(e.audioSamplingRate,t.audioSamplingRate,n.audioSamplingRate))==jp||i!=zp&&!(!e.bandwidth||Wp(e.bandwidth,t.bandwidth,n.bandwidth)!=jp)))))}function Up(e,t,n){if(e.id==n.id)return!0;var i=Gp(e.width*e.height,t.width*t.height,n.width*n.height);if(i==jp)return!0;if(i==zp)return!1;if(e.frameRate){if((i=Gp(e.frameRate,t.frameRate,n.frameRate))==jp)return!0;if(i==zp)return!1}return!(!e.bandwidth||Wp(e.bandwidth,t.bandwidth,n.bandwidth)!=jp)}function Vp(e,t,n){if(e.id==n.id)return!0;var i=Dt(e.language,t.language),o=Dt(e.language,n.language);if(o>i)return!0;if(o<i)return!1;if(!t.primary&&n.primary)return!0;if(t.primary&&!n.primary)return!1;if(e.roles.length){if(i=t.roles.filter((function(t){return e.roles.includes(t)})),(o=n.roles.filter((function(t){return e.roles.includes(t)}))).length>i.length)return!0;if(o.length<i.length)return!1}else{if(!n.roles.length&&t.roles.length)return!0;if(n.roles.length&&!t.roles.length)return!1}return n.mimeType==e.mimeType&&n.codecs==e.codecs&&(t.mimeType!=e.mimeType||t.codecs!=e.codecs)}function Fp(e,t,n){return e.id==n.id||Gp(e.width*e.height,t.width*t.height,n.width*n.height)==jp}function Bp(e){return{id:0,originalId:"",primary:!1,type:e,mimeType:"",codecs:"",language:"",originalLanguage:null,label:null,width:null,height:null,encrypted:!1,keyIds:new Set,segments:[],variantIds:[],roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,external:!1}}function Hp(e){return{id:0,originalId:"",createSegmentIndex:function(){return Promise.resolve()},segmentIndex:new Ya([]),mimeType:"",codecs:"",encrypted:!1,drmInfos:[],keyIds:new Set,language:"",originalLanguage:null,label:null,type:e,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!1}}function Gp(e,t,n){if(t==e&&e!=n)return zp;if(n==e&&e!=t)return jp;if(t>e){if(n<=e||n-e<t-e)return jp;if(n-e>t-e)return zp}else{if(n>e)return zp;if(e-n<e-t)return jp;if(e-n>e-t)return zp}return Yp}function Wp(e,t,n){return t=Math.abs(e-t),(e=Math.abs(e-n))<t?jp:t<e?zp:Yp}_(vp,Ya),(i=vp.prototype).Jc=function(){return this.h?this.h.timeline.length:0},i.release=function(){Ya.prototype.release.call(this),this.h=null},i.Ta=function(e){if(this.h){for(var t=0,n=this.h.timeline,i=0;i<n.length&&n[i].end+this.j<=e;i+=1)t+=1;0<t&&(this.h.timeline=n.slice(t),this.g.length>=t&&(this.g=this.g.slice(t)),this.i+=t,0===this.Jc()&&this.release())}},i.find=function(e){if(this.h&&this.h.timeline&&this.h.timeline.length&&e<this.h.timeline[0].start+this.j)return this.i;if(!this.h)return null;var t=this.h.timeline;if(e<this.j||e>this.o)return null;for(var n=t.length-1,i=0;i<t.length;i++){var o=t[i],r=o.start+this.j;if(o=o.end+this.j,i<n&&(o=t[i+1].start+this.j),e>=r&&e<o)return i+this.i}return null},i.get=function(e){var t=this,n=e-this.i;if(0>n||n>=this.Jc()||!this.h)return null;var i=this.g[n];if(!i){i=this.h.timeline[n];var o=e+this.h.hc,r=this.h.Ve+i.We;i=new Er(this.j+i.start,this.j+i.end,(function(){return t.h?function(e,t,n,i,o,r){return e=qd(e,t,n,i||null,o),lt(r,[e]).map((function(e){return e.toString()}))}(t.h.te,t.C,o,t.s,r,t.u):[]}),0,null,this.A,this.j-this.h.lb,this.j,this.o),this.g[n]=i}return i},(i=Sp.prototype).release=function(){for(var e=l(this.g.concat(this.i,this.l,this.h)),t=e.next();!t.done;t=e.next())(t=t.value).segmentIndex&&t.segmentIndex.release();this.g=[],this.i=[],this.l=[],this.h=[],this.j=[]},i.Fg=function(){return this.j},i.ee=function(){return this.l.slice()},i.ng=function(){return this.h},i.cf=function(e,t){var n,i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,S,T,A,I,O,C,R,N,P,L,w,D=this;return k((function(k){switch(k.g){case 1:if(n=ft,function(e){for(var t=(e=l(e)).next();!t.done;t=e.next()){for(var n=[],i=l((t=t.value).audioStreams),o=i.next();!o.done;o=i.next()){o=o.value;for(var r=!1,a=l(n),s=a.next();!s.done;s=a.next())s=s.value,o.id!=s.id&&o.channelsCount==s.channelsCount&&o.language==s.language&&o.bandwidth==s.bandwidth&&o.label==s.label&&o.codecs==s.codecs&&o.mimeType==s.mimeType&&he(o.roles,s.roles)&&o.audioSamplingRate==s.audioSamplingRate&&o.primary==s.primary&&(r=!0);r||n.push(o)}t.audioStreams=n}}(e),function(e){for(var t=(e=l(e)).next();!t.done;t=e.next()){for(var n=[],i=l((t=t.value).videoStreams),o=i.next();!o.done;o=i.next()){o=o.value;for(var r=!1,a=l(n),s=a.next();!s.done;s=a.next())s=s.value,o.id!=s.id&&o.width==s.width&&o.frameRate==s.frameRate&&o.codecs==s.codecs&&o.mimeType==s.mimeType&&o.label==s.label&&he(o.roles,s.roles)&&Vi(o.closedCaptions,s.closedCaptions)&&o.bandwidth==s.bandwidth&&(r=!0);r||n.push(o)}t.videoStreams=n}}(e),function(e){for(var t=(e=l(e)).next();!t.done;t=e.next()){for(var n=[],i=l((t=t.value).textStreams),o=i.next();!o.done;o=i.next()){o=o.value;for(var r=!1,a=l(n),s=a.next();!s.done;s=a.next())s=s.value,o.id!=s.id&&o.language==s.language&&o.label==s.label&&o.codecs==s.codecs&&o.mimeType==s.mimeType&&o.bandwidth==s.bandwidth&&he(o.roles,s.roles)&&(r=!0);r||n.push(o)}t.textStreams=n}}(e),function(e){for(var t=(e=l(e)).next();!t.done;t=e.next()){for(var n=[],i=l((t=t.value).imageStreams),o=i.next();!o.done;o=i.next()){o=o.value;for(var r=!1,a=l(n),s=a.next();!s.done;s=a.next())s=s.value,o.id!=s.id&&o.width==s.width&&o.codecs==s.codecs&&o.mimeType==s.mimeType&&(r=!0);r||n.push(o)}t.imageStreams=n}}(e),!t&&1==e.length){i=e[0],D.g=i.audioStreams,D.i=i.videoStreams,D.l=i.textStreams,D.h=i.imageStreams,k.B(2);break}for(o=-1,r=0;r<e.length;r++)a=e[r],D.m.has(a.id)||(D.m.add(a.id),-1==o&&(o=r));if(-1==o)return k.return();for(s=e.map((function(e){return e.audioStreams})),c=e.map((function(e){return e.videoStreams})),u=e.map((function(e){return e.textStreams})),d=e.map((function(e){return e.imageStreams})),p=l(u),h=p.next();!h.done;h=p.next())h.value.push(Hp(n.da));for(f=l(d),m=f.next();!m.done;m=f.next())m.value.push(Hp(n.wc));return y(k,Ap(D.g,s,o,Rp,Pp),3);case 3:return y(k,Ap(D.i,c,o,Rp,Pp),4);case 4:return y(k,Ap(D.l,u,o,Rp,Pp),5);case 5:return y(k,Ap(D.h,d,o,Rp,Pp),2);case 2:if(_=0,g=[],D.i.length&&D.g.length)for(I=l(D.g),O=I.next();!O.done;O=I.next())for(C=O.value,R=l(D.i),N=R.next();!N.done;N=R.next())P=N.value,L=Qo(C.drmInfos,P.drmInfos),C.drmInfos.length&&P.drmInfos.length&&!L.length||(w=_++,g.push({id:w,language:C.language,disabledUntilTime:0,primary:C.primary,audio:C,video:P,bandwidth:(C.bandwidth||0)+(P.bandwidth||0),drmInfos:L,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]}));else for(E=D.i.concat(D.g),v=l(E),S=v.next();!S.done;S=v.next())T=S.value,A=_++,g.push({id:A,language:T.language,disabledUntilTime:0,primary:T.primary,audio:T.type==n.qb?T:null,video:T.type==n.wa?T:null,bandwidth:T.bandwidth||0,drmInfos:T.drmInfos,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]});D.j=g,b(k)}}))},B("shaka.util.PeriodCombiner",Sp),Sp.prototype.combinePeriods=Sp.prototype.cf,Sp.prototype.getImageStreams=Sp.prototype.ng,Sp.prototype.getTextStreams=Sp.prototype.ee,Sp.prototype.getVariants=Sp.prototype.Fg;var jp=1,Yp=0,zp=-1,Kp=new Map;function Jp(){var e=this;this.h=this.g=null,this.s=[],this.i=null,this.H=1,this.l={},this.L={},this.j=new Sp,this.C=0,this.G=new H(5),this.F=new Ht((function(){!function(e){var t,n;k((function(i){switch(i.g){case 1:return t=0,S(i,2),y(i,qp(e),4);case 4:t=i.h,A(i,3);break;case 2:if(n=I(i),e.h){if(e.g.raiseFatalErrorOnManifestUpdateRequestFailure)return e.h.onError(n),i.return();n.severity=1,e.h.onError(n)}case 3:if(!e.h)return i.return();Qp(e,t),b(i)}}))}(e)})),this.u=new Ei,this.A=null,this.I=[],this.m=1/0,this.o=!1}function qp(e){var t,n,i,o,r,a,s;return k((function(c){return 1==c.g?(t=Si(e.s,e.g.retryParameters),n=e.h.networkingEngine,i=Date.now(),o=n.request(0,t,{type:4}),vi(e.u,o),y(c,o.promise,2)):3!=c.g?(r=c.h,e.h?(r.uri&&!e.s.includes(r.uri)&&e.s.unshift(r.uri),y(c,function(e,t,n){var i,o,r,a;return k((function(s){if(1==s.g){if(!(i=Do(t,"MPD")))throw new ot(2,4,4001,n);return e.g.dash.disableXlinkProcessing?s.return(Xp(e,i,n)):(o=e.g.dash.xlinkFailGracefully,r=Qd(i,e.g.retryParameters,o,n,e.h.networkingEngine),vi(e.u,r),y(s,r.promise,2))}return a=s.h,s.return(Xp(e,a,n))}))}(e,r.data,r.uri),3)):c.return(0)):(a=Date.now(),s=(a-i)/1e3,e.G.sample(1,s),c.return(s))}))}function Xp(e,t,n){var i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,T,O,C,R,N,P,L,w,D,M,x,U,V;return k((function(F){switch(F.g){case 1:if((i=e.g.dash.manifestPreprocessor)&&i(t),o=[n],0<(r=go(t,"Location").map(bo).filter(ct)).length&&(a=lt(o,r),o=e.s=a),s=go(t,"BaseURL"),c=s.map(bo),u=lt(o,c),d=0,s&&s.length&&(d=To(s[0],"availabilityTimeOffset",Po)||0),p=e.g.dash.ignoreMinBufferTime,h=0,p||(h=To(t,"minBufferTime",Io)||0),e.C=To(t,"minimumUpdatePeriod",Io,-1),f=To(t,"availabilityStartTime",Ao),m=To(t,"timeShiftBufferDepth",Io),_=e.g.dash.ignoreSuggestedPresentationDelay,g=null,_||(g=To(t,"suggestedPresentationDelay",Io)),E=e.g.dash.ignoreMaxSegmentDuration,v=null,E||(v=To(t,"maxSegmentDuration",Io)),T=t.getAttribute("type")||"static",e.i)for(O=e.i.presentationTimeline,C=l(Object.values(e.l)),R=C.next();!R.done;R=C.next())(N=R.value).segmentIndex&&N.segmentIndex.Ta(O.fb());else P=e.g.defaultPresentationDelay||1.5*h,O=new Ia(f,null!=g?g:P,e.g.dash.autoCorrectDrift);return O.fc("static"==T),O.T()&&!isNaN(e.g.availabilityWindowOverride)&&(m=e.g.availabilityWindowOverride),null==m&&(m=1/0),O.Nd(m),L=t.getAttribute("profiles")||"",w={rb:"static"!=T,presentationTimeline:O,ia:null,$:null,ea:null,J:null,bandwidth:0,qf:!1,Ub:d,profiles:L.split(",")},D=function(e,t,n,i){var o=To(i,"mediaPresentationDuration",Io),r=[],a=0;i=go(i,"Period");for(var s=0;s<i.length;s++){var c=i[s],l=i[s+1],u=To(c,"start",Io,a),d=c.id,p=To(c,"duration",Io),h=null;if(l){var f=To(l,"start",Io);null!=f&&(h=f-u)}else null!=o&&(h=o-u);if(null==h&&(h=p),!(null!==e.A&&null!==d&&null!==u&&u<e.A)||e.I.includes(d)||s+1==i.length){if(null!==u&&(null===e.A||u>e.A)&&(e.A=u),a=$p(e,t,n,{start:u,duration:h,node:c,je:null==h||!l}),r.push(a),t.ia.id&&h&&(e.L[t.ia.id]=h),null==h){a=null;break}a=u+h}}return e.I=r.map((function(e){return e.id})),null!=o?{periods:r,duration:o,hf:!1}:{periods:r,duration:a,hf:!0}}(e,w,u,t),M=D.duration,x=D.periods,"static"!=T&&D.hf||O.Ba(M||1/0),e.m&&!e.o&&e.h.isAutoLowLatencyMode()&&(e.h.enableLowLatencyMode(),e.o=e.h.isLowLatencyMode()),e.o?O.Ff(e.m):e.m&&z("Low-latency DASH live stream detected, but low-latency streaming mode is not enabled in Shaka Player. Set streaming.lowLatencyMode configuration to true, and see https://bit.ly/3clctcj for details."),O.we(v||1),y(F,e.j.cf(x,w.rb),2);case 2:if(e.o&&(h=0),e.o&&e.m&&(e.C=e.m),e.i){e.i.variants=e.j.j,e.i.textStreams=e.j.ee(),e.i.imageStreams=e.j.h,e.h.filter(e.i),F.B(3);break}var B=O,H=e.j.j,G=e.j.ee(),W=e.j.h,j=h||0,Y=e.g.dash.sequenceMode,K=mo(t,"ServiceDescription");if(K){var J=mo(K,"Latency");K=mo(K,"PlaybackRate"),J&&J.getAttribute("max")||K?J={maxLatency:J=J&&J.getAttribute("max")?parseInt(J.getAttribute("max"),10)/1e3:null,maxPlaybackRate:K=K?parseFloat(K.getAttribute("max")):null}:J=null}else J=null;if(e.i={presentationTimeline:B,variants:H,textStreams:G,imageStreams:W,offlineSessionIds:[],minBufferTime:j,sequenceMode:Y,ignoreManifestTimestampsInSegmentsMode:!1,type:"DASH",serviceDescription:J},!O.Pf()){F.B(4);break}return U=go(t,"UTCTiming"),y(F,function(e,t,n){var i,o,r,a,s,c,u,d;return k((function(p){switch(p.g){case 1:i=n.map((function(e){return{scheme:e.getAttribute("schemeIdUri"),value:e.getAttribute("value")}})),o=e.g.dash.clockSyncUri,!i.length&&o&&i.push({scheme:"urn:mpeg:dash:utc:http-head:2014",value:o}),r=l(i),a=r.next();case 2:if(a.done){p.B(4);break}switch(s=a.value,S(p,5),c=s.scheme,u=s.value,c){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":return p.B(7);case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":return p.B(8);case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":return d=Date.parse(u),p.return(isNaN(d)?0:d-Date.now());case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":z("NTP UTCTiming scheme is not supported");break;default:z("Unrecognized scheme in UTCTiming element",c)}p.B(9);break;case 7:return y(p,th(e,t,u,"HEAD"),10);case 10:return p.return(p.h);case 8:return y(p,th(e,t,u,"GET"),11);case 11:return p.return(p.h);case 9:A(p,3);break;case 5:I(p);case 3:a=r.next(),p.B(2);break;case 4:return z("A UTCTiming element should always be given in live manifests! This content may not play on clients with bad clocks!"),p.return(0)}}))}(e,u,U),5);case 5:if(V=F.h,!e.h)return F.return();O.Gf(V);case 4:O.Dd();case 3:e.h.makeTextStreamsForClosedCaptions(e.i),b(F)}}))}function $p(e,t,n,i){t.ia=eh(i.node,null,n),t.$=i,t.ia.Ub=t.Ub,t.ia.id||(t.ia.id="__shaka_period_"+i.start);var o=go(i.node,"EventStream");n=t.presentationTimeline.fb();for(var r=(o=l(o)).next();!r.done;r=o.next())nh(e,i.start,i.duration,r.value,n);if(n=go(i.node,"AdaptationSet").map((function(n){return function(e,t,n){function i(e){switch(e){case 1:case 6:case 13:case 14:case 15:return"SDR";case 16:return"PQ";case 18:return"HLG"}}t.ea=eh(n,t.ia,null);var o,r=!1,a=go(n,"Role"),s=a.map((function(e){return e.getAttribute("value")})).filter(ct),c=void 0,d=t.ea.contentType==ht;d&&(c="subtitle");for(var p=(a=l(a)).next();!p.done;p=a.next()){var h=(p=p.value).getAttribute("schemeIdUri");if(null==h||"urn:mpeg:dash:role:2011"==h)switch(p=p.getAttribute("value"),p){case"main":r=!0;break;case"caption":case"subtitle":c=p}}h=go(n,"EssentialProperty"),a=null,p=!1;for(var f=(h=l(h)).next();!f.done;f=h.next()){var m=(f=f.value).getAttribute("schemeIdUri");"http://dashif.org/guidelines/trickmode"==m?a=f.getAttribute("value"):"urn:mpeg:mpegB:cicp:TransferCharacteristics"==m?o=i(parseInt(f.getAttribute("value"),10)):"urn:mpeg:mpegB:cicp:ColourPrimaries"!=m&&"urn:mpeg:mpegB:cicp:MatrixCoefficients"!=m&&(p=!0)}for(h=l(h=go(n,"SupplementalProperty")),f=h.next();!f.done;f=h.next())"urn:mpeg:mpegB:cicp:TransferCharacteristics"==(f=f.value).getAttribute("schemeIdUri")&&(o=i(parseInt(f.getAttribute("value"),10)));h=go(n,"Accessibility");var _,g=new Map;for(h=l(h),f=h.next();!f.done;f=h.next())if(m=f.value,f=m.getAttribute("schemeIdUri"),m=m.getAttribute("value"),"urn:scte:dash:cc:cea-608:2015"==f)if(f=1,null!=m)for(var E=l(m=m.split(";")),v=E.next();!v.done;v=E.next()){var S=v.value,T=v=void 0;S.includes("=")?(v=(S=S.split("="))[0].startsWith("CC")?S[0]:"CC"+S[0],T=S[1]||"und"):(v="CC"+f,2==m.length?f+=2:f++,T=S),g.set(v,wt(T))}else g.set("CC1","und");else if("urn:scte:dash:cc:cea-708:2015"==f)if(f=1,null!=m)for(m=l(m.split(";")),v=m.next();!v.done;v=m.next())v=v.value,S=E=void 0,v.includes("=")?(v=v.split("="),E="svc"+v[0],S=v[1].split(",")[0].split(":").pop()):(E="svc"+f,f++,S=v),g.set(E,wt(S));else g.set("svc1","und");else"urn:mpeg:dash:role:2011"==f?null!=m&&(s.push(m),"captions"==m&&(c="caption")):"urn:tva:metadata:cs:AudioPurposeCS:2007"==f&&("1"==m?_="visually impaired":"2"==m&&(_="hard of hearing"));if(p)return null;p=go(n,"ContentProtection");var A=jd(p,e.g.dash.ignoreDrmInfo,e.g.dash.keySystemsByURI),I=wt(t.ea.language||"und"),O=n.getAttribute("label");if((p=go(n,"Label"))&&p.length&&(p=p[0],p.textContent&&(O=p.textContent)),p=go(n,"Representation"),n=p.map((function(n){return(n=function(e,t,n,i,o,r,a,s,c,l,u){if(t.J=eh(l,t.ea,null),e.m=Math.min(e.m,t.J.Ub),!function(e){var t=e.Wc?1:0;return t+=e.vb?1:0,t+=e.Xc?1:0,0==t?e.contentType==ht||"application"==e.contentType:(1!=t&&(e.Wc&&(e.vb=null),e.Xc=null),!0)}(t.J))return null;var d=t.$.start;t.bandwidth=To(l,"bandwidth",Ro)||0;var p=t.J.contentType,h=p==ht||"application"==p;p="image"==p;try{var f=function(t,n,i,o){return function(e,t,n,i,o){var r,a,s,c,l,u;return k((function(d){return 1==d.g?(r=Oi,a=o?0:1,s=ps(t,n,i,e.g.retryParameters),c=e.h.networkingEngine,l=c.request(r,s,{type:a}),vi(e.u,l),y(d,l.promise,2)):(u=d.h,d.return(u.data))}))}(e,t,n,i,o)};if(t.J.Wc)var m=lp(t,f);else if(t.J.vb)m=mp(t,e.l);else if(t.J.Xc)m=gp(t,f,e.l,!!e.i,e.g.dash.initialSegmentLimit,e.L);else{var _=t.J.Ea,g=t.$.duration||0;m={Xb:function(){return Promise.resolve(Ka(d,g,_))}}}}catch(e){if((h||p)&&4002==e.code)return null;throw e}f=go(l,"ContentProtection"),f=function(e,t,n,i){var o=jd(e,n,i);if(t.kf)e=1==t.drmInfos.length&&!t.drmInfos[0].keySystem,n=0==o.drmInfos.length,(0==t.drmInfos.length||e&&!n)&&(t.drmInfos=o.drmInfos),t.kf=!1;else if(0<o.drmInfos.length&&(t.drmInfos=t.drmInfos.filter((function(e){return o.drmInfos.some((function(t){return t.keySystem==e.keySystem}))})),0==t.drmInfos.length))throw new ot(2,4,4008);return o.ff||t.ff}(f,n,e.g.dash.ignoreDrmInfo,e.g.dash.keySystemsByURI),f=new Set(f?[f]:[]);var E=!1;go(l,"SupplementalProperty").some((function(e){return"tag:dolby.com,2018:dash:EC3_ExtensionType:2018"==e.getAttribute("schemeIdUri")&&"JOC"==e.getAttribute("value")}))&&(E=!0);var v,S,T=!1;if(h&&(T=s.includes("forced_subtitle")||s.includes("forced-subtitle")),p&&((l=go(l,"EssentialProperty").find((function(e){return["http://dashif.org/thumbnail_tile","http://dashif.org/guidelines/thumbnail_tile"].includes(e.getAttribute("schemeIdUri"))})))&&(v=l.getAttribute("value")),!v))return null;l=t.J.codecs,t.profiles.includes("http://dashif.org/guidelines/dash-if-uhd#hevc-hdr-pq10")&&(l.includes("hvc1.2.4.L153.B0")||l.includes("hev1.2.4.L153.B0"))&&(S="PQ"),l=t.J.id?t.ia.id+","+t.J.id:"";var A=l&&e.l[l]?e.l[l]:{id:e.H++,originalId:t.J.id,createSegmentIndex:function(){return Promise.resolve()},closeSegmentIndex:function(){A.segmentIndex&&(A.segmentIndex.release(),A.segmentIndex=null)},segmentIndex:null,mimeType:t.J.mimeType,codecs:t.J.codecs,frameRate:t.J.frameRate,pixelAspectRatio:t.J.pixelAspectRatio,bandwidth:t.bandwidth,width:t.J.width,height:t.J.height,kind:i,encrypted:0<n.drmInfos.length,drmInfos:n.drmInfos,keyIds:f,language:o,originalLanguage:t.ea.language,label:r,type:t.ea.contentType,primary:a,trickModeVideo:null,emsgSchemeIdUris:t.J.emsgSchemeIdUris,roles:s,forced:T,channelsCount:t.J.Hd,audioSamplingRate:t.J.audioSamplingRate,spatialAudio:E,closedCaptions:c,hdr:S,tilesLayout:v,matchedStreams:[],accessibilityPurpose:u,external:!1};return A.createSegmentIndex=function(){var e;return k((function(t){if(1==t.g)return A.segmentIndex?t.B(0):(e=A,y(t,m.Xb(),3));e.segmentIndex=t.h,b(t)}))},l&&t.rb&&!e.l[l]&&(e.l[l]=A),A}(e,t,A,c,I,O,r,s,g,n,_))&&(n.hdr=n.hdr||o),n})).filter((function(e){return!!e})),0==n.length){if(a="image"==t.ea.contentType,e.g.dash.ignoreEmptyAdaptationSet||d||a)return null;throw new ot(2,4,4003)}if(!t.ea.contentType||"application"==t.ea.contentType)for(t.ea.contentType=ih(n[0].mimeType,n[0].codecs),d=l(n),h=d.next();!h.done;h=d.next())h.value.type=t.ea.contentType;for(d=l(n),h=d.next();!h.done;h=d.next())for(h=h.value,f=l(A.drmInfos),m=f.next();!m.done;m=f.next())(m=m.value).keyIds=m.keyIds&&h.keyIds?new Set([].concat(u(m.keyIds),u(h.keyIds))):m.keyIds||h.keyIds;return d=p.map((function(e){return e.getAttribute("id")})).filter(ct),{id:t.ea.id||"__fake__"+e.H++,contentType:t.ea.contentType,language:I,fi:r,streams:n,drmInfos:A.drmInfos,Te:a,dh:d}}(e,t,n)})).filter(ct),t.rb){for(i=[],r=(o=l(n)).next();!r.done;r=o.next())for(var a=(r=l(r.value.dh)).next();!a.done;a=r.next())i.push(a.value);if(i.length!=new Set(i).size)throw new ot(2,4,4018)}for(i=n.filter((function(e){return!e.Te})),o=(n=l(n=n.filter((function(e){return e.Te})))).next();!o.done;o=n.next()){r=(o=o.value).Te.split(" ");for(var s=(a=l(i)).next();!s.done;s=a.next()){var c=s.value;if(r.includes(c.id)){s={};for(var d=(c=l(c.streams)).next();!d.done;s={fd:s.fd},d=c.next())s.fd=d.value,s.fd.trickModeVideo=o.streams.find(function(e){return function(t){return yt(e.fd.codecs)==yt(t.codecs)}}(s))}}}if(o=e.g.disableAudio?[]:Zp(i,"audio"),a=e.g.disableVideo?[]:Zp(i,"video"),r=e.g.disableText?[]:Zp(i,ht),n=e.g.disableThumbnails?[]:Zp(i,"image"),!a.length&&!o.length)throw new ot(2,4,4004);for(i=[],s=(o=l(o)).next();!s.done;s=o.next())i.push.apply(i,u(s.value.streams));for(o=[],s=(a=l(a)).next();!s.done;s=a.next())o.push.apply(o,u(s.value.streams));for(a=[],s=(r=l(r)).next();!s.done;s=r.next())a.push.apply(a,u(s.value.streams));for(r=[],s=(n=l(n)).next();!s.done;s=n.next())r.push.apply(r,u(s.value.streams));return{id:t.ia.id,audioStreams:i,videoStreams:o,textStreams:a,imageStreams:r}}function Zp(e,t){return e.filter((function(e){return e.contentType==t}))}function Qp(e,t){0>e.C||e.F.S(Math.max(e.C-t,G(e.G)))}function eh(e,t,n){t=t||{contentType:"",mimeType:"",codecs:"",emsgSchemeIdUris:[],frameRate:void 0,pixelAspectRatio:void 0,Hd:null,audioSamplingRate:null,Ub:0},n=n||t.Ea;for(var i=go(e,"BaseURL"),o=i.map(bo),r=e.getAttribute("contentType")||t.contentType,a=e.getAttribute("mimeType")||t.mimeType,s=e.getAttribute("codecs")||t.codecs,c=To(e,"frameRate",ko)||t.frameRate,u=e.getAttribute("sar")||t.pixelAspectRatio,d=go(e,"InbandEventStream"),p=t.emsgSchemeIdUris.slice(),h=(d=l(d)).next();!h.done;h=d.next())h=h.value.getAttribute("schemeIdUri"),p.includes(h)||p.push(h);d=function(e){for(var t=(e=l(e)).next();!t.done;t=e.next()){var n=t.value;if((t=n.getAttribute("schemeIdUri"))&&(n=n.getAttribute("value")))switch(t){case"urn:mpeg:dash:outputChannelPositionList:2012":return n.trim().split(/ +/).length;case"urn:mpeg:dash:23003:3:audio_channel_configuration:2011":case"urn:dts:dash:audio_channel_configuration:2012":if(!(t=parseInt(n,10)))continue;return t;case"tag:dolby.com,2014:dash:audio_channel_configuration:2011":case"urn:dolby:dash:audio_channel_configuration:2011":if(!(t=parseInt(n,16)))continue;for(e=0;t;)1&t&&++e,t>>=1;return e;case"urn:mpeg:mpegB:cicp:ChannelConfiguration":if(t=[0,1,2,3,4,5,6,8,2,3,4,7,8,24,8,12,10,12,14,12,14],(n=parseInt(n,10))&&0<n&&n<t.length)return t[n]}}return null}(d=go(e,"AudioChannelConfiguration"))||t.Hd,h=To(e,"audioSamplingRate",No)||t.audioSamplingRate,r||(r=ih(a,s));var f=mo(e,"SegmentBase"),m=mo(e,"SegmentTemplate"),_=f&&To(f,"availabilityTimeOffset",Po)||0,g=m&&To(m,"availabilityTimeOffset",Po)||0;return i=i&&i.length&&To(i[0],"availabilityTimeOffset",Po)||0,i=t.Ub+i+_+g,{Ea:lt(n,o),Wc:f||t.Wc,vb:mo(e,"SegmentList")||t.vb,Xc:m||t.Xc,width:To(e,"width",No)||t.width,height:To(e,"height",No)||t.height,contentType:r,mimeType:a,codecs:s,frameRate:c,pixelAspectRatio:u,emsgSchemeIdUris:p,id:e.getAttribute("id"),language:e.getAttribute("lang"),Hd:d,audioSamplingRate:h,Ub:i}}function th(e,t,n,i){var o,r,a,s,c,l;return k((function(u){if(1==u.g)return o=lt(t,[n]),(r=Si(o,e.g.retryParameters)).method=i,a=e.h.networkingEngine.request(4,r),vi(e.u,a),y(u,a.promise,2);if(s=u.h,"HEAD"==i){if(!s.headers||!s.headers.date)return u.return(0);c=s.headers.date}else c=Bi(s.data);return l=Date.parse(c),isNaN(l)?u.return(0):u.return(l-Date.now())}))}function nh(e,t,n,i,o){for(var r=i.getAttribute("schemeIdUri")||"",a=i.getAttribute("value")||"",s=To(i,"timescale",No)||1,c=(i=l(go(i,"Event"))).next();!c.done;c=i.next()){var u=To(c=c.value,"presentationTime",No)||0,d=To(c,"duration",No)||0;d=(u=u/s+t)+d/s,null!=n&&(u=Math.min(u,t+n),d=Math.min(d,t+n)),d<o||(c={schemeIdUri:r,value:a,startTime:u,endTime:d,id:c.getAttribute("id")||"",eventElement:c},e.h.onTimelineRegionAdded(c))}}function ih(e,t){return It(t=gt(e,t))?ht:e.split("/")[0]}function oh(){}(i=Jp.prototype).configure=function(e){this.g=e},i.start=function(e,t){var n,i=this;return k((function(o){if(1==o.g)return i.o=t.isLowLatencyMode(),i.s=[e],i.h=t,y(o,qp(i),2);if(n=o.h,i.h&&Qp(i,n),!i.h)throw new ot(2,7,7001);return o.return(i.i)}))},i.stop=function(){for(var e=l(Object.values(this.l)),t=e.next();!t.done;t=e.next())(t=t.value).segmentIndex&&t.segmentIndex.release();return this.j&&this.j.release(),this.g=this.h=null,this.s=[],this.i=null,this.l={},this.j=null,null!=this.F&&(this.F.stop(),this.F=null),this.u.destroy()},i.update=function(){var e,t=this;return k((function(n){return 1==n.g?(S(n,2),y(n,qp(t),4)):2!=n.g?A(n,0):(e=I(n),t.h&&e?(t.h.onError(e),void b(n)):n.return())}))},i.onExpirationUpdated=function(){},B("shaka.dash.DashParser",Jp),hr.mpd=function(){return new Jp},pr["application/dash+xml"]=function(){return new Jp},pr["video/vnd.mpeg.dash.mpd"]=function(){return new Jp},B("shaka.dependencies",oh),oh.has=function(e){return ah.has(e)},oh.add=function(e,t){if(!rh[e])throw Error(e+" is not supported");ah.set(e,(function(){return t}))};var rh={muxjs:"muxjs",ISOBoxer:"ISOBoxer"};oh.Allowed=rh;var ah=new Map([["muxjs",function(){return e.muxjs}],["ISOBoxer",function(){return e.ISOBoxer}]]);function sh(e,t){return e.filter((function(e){return e.name==t}))}function ch(e,t){return e.filter((function(e){return mh(e,"TYPE")==t}))}function lh(e,t){return(e=sh(e,t)).length?e[0]:null}function uh(e,t,n){return n=void 0===n?0:n,(e=lh(e,t))?Number(e.value):n}function dh(e,t){return lt([e],[t])[0]}function ph(e,t,n,i){this.h=e,this.type=t,this.g=n,this.segments=i||null}function hh(e,t,n,i){this.id=e,this.name=t,this.g=n,this.value=void 0===i?null:i}function fh(e,t,n){return(e=e.getAttribute(t))?e.value:n||null}function mh(e,t){if(!(e=e.getAttribute(t)))throw new ot(2,4,4023,t);return e.value}function _h(e,t,n,i){i=void 0===i?[]:i,this.g=n,this.l=null,this.j=e,this.m=t,this.h=i}function gh(e,t){this.name=e,this.value=t}function Eh(e){this.h=e||"",this.g=0}function vh(e){yh(e,/[ \t]+/gm)}function yh(e,t){return t.lastIndex=e.g,t=null==(t=t.exec(e.h))?null:{position:t.index,length:t[0].length,results:t},e.g==e.h.length||null==t||t.position!=e.g?null:(e.g+=t.length,t.results)}function bh(e){return e.g==e.h.length?null:(e=yh(e,/[^ \t\n]*/gm))?e[0]:null}function Sh(){this.g=0}function Th(e,t,n){var i=(t=(t=Bi(t)).replace(/\r\n|\r(?=[^\n]|$)/gm,"\n").trim()).split(/\n+/m);if(!/^#EXTM3U($|[ \t\n])/m.test(i[0]))throw new ot(2,4,4015);t=0;for(var o=!0,r=l(i),a=r.next();!a.done;a=r.next())if(a=a.value,/^#(?!EXT)/m.test(a)||o)o=!1;else{if(a=Ah(e,a),--e.g,Ih.includes(a.name)){t=1;break}"EXT-X-STREAM-INF"==a.name&&(o=!0)}for(r=[],o=!0,a=0;a<i.length;a++){var s=i[a],c=i[a+1];if(/^#(?!EXT)/m.test(s)||o)o=!1;else{if(s=Ah(e,s),Oh.includes(s.name)){if(1!=t)throw new ot(2,4,4017);var u=i.splice(a,i.length-a);i=n,o=[],a=[],c=[],s=null;for(var d=(u=l(u)).next();!d.done;d=u.next())d=d.value,/^(#EXT)/.test(d)?(d=Ah(e,d),Ih.includes(d.name)?r.push(d):"EXT-X-MAP"==d.name?s=d:"EXT-X-PART"==d.name?c.push(d):"EXT-X-PRELOAD-HINT"==d.name?"PART"==fh(d,"TYPE")?c.push(d):"MAP"==fh(d,"TYPE")&&(d.name="EXT-X-MAP",s=d):a.push(d)):/^#(?!EXT)/m.test(d)||(d=d.trim(),s&&a.push(s),o.push(new _h(i,d,a,c)),a=[],c=[]);return c.length&&(s&&a.push(s),o.push(new _h("","",a,c))),new ph(n,t,r,o)}r.push(s),"EXT-X-STREAM-INF"==s.name&&(s.g.push(new gh("URI",c)),o=!0)}}return new ph(n,t,r)}function Ah(e,t){e=e.g++;var n=t.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!n)throw new ot(2,4,4016,t);t=n[1];var i,o=n[2];if(n=[],o){var r;(r=yh(o=new Eh(o),/^([^,=]+)(?:,|$)/g))&&(i=r[1]);for(var a=/([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g;r=yh(o,a);)n.push(new gh(r[1],r[2]||r[3])),vh(o)}return new hh(e,t,n,i)}hh.prototype.toString=function(){var e="#"+this.name,t=this.g?this.g.map((function(e){return e.name+"="+(isNaN(Number(e.value))?'"'+e.value+'"':e.value)})):[];return this.value&&t.unshift(this.value),0<t.length&&(e+=":"+t.join(",")),e},hh.prototype.getAttribute=function(e){var t=this.g.filter((function(t){return t.name==e}));return t.length?t[0]:null},a.Object.defineProperties(_h.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return!this.l&&this.j&&this.m&&(this.l=dh(this.j,this.m),this.m=this.j=null),this.l||""}}});var Ih="EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-I-FRAMES-ONLY EXT-X-ENDLIST EXT-X-SERVER-CONTROL EXT-X-SKIP EXT-X-PART-INF".split(" "),Oh="EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE EXT-X-MAP".split(" ");function Ch(){}function Rh(e){try{var t=Nh(e);return li({uri:e,originalUri:e,data:t.data,headers:{"content-type":t.contentType}})}catch(e){return si(e)}}function Nh(t){var n=t.split(":");if(2>n.length||"data"!=n[0])throw new ot(2,1,1004,t);if(2>(n=n.slice(1).join(":").split(",")).length)throw new ot(2,1,1004,t);var i=n[0];t=e.decodeURIComponent(n.slice(1).join(",")),n=i.split(";"),i=n[0];var o=!1;return 1<n.length&&"base64"==n[n.length-1]&&(o=!0,n.pop()),{data:o?co(t):Wi(t),contentType:i}}function Ph(){var e=this;this.g=this.i=null,this.Oa=1,this.s=new Map,this.A=new Map,this.G=new Map,this.G.set("video",new Map),this.G.set("audio",new Map),this.G.set(ht,new Map),this.G.set("image",new Map),this.ga=new Set,this.h=new Map,this.j=null,this.N="",this.X=new Sh,this.C=-1,this.L=1/0,this.Za=!1,this.m=new Ht((function(){!function(e){var t,n;k((function(i){return 1==i.g?e.i?(S(i,2),y(i,e.update(),4)):i.return():2!=i.g?(af(e)&&(t=e.l,e.m.S(t)),A(i,0)):(n=I(i),e.i?e.g.raiseFatalErrorOnManifestUpdateRequestFailure?(e.i.onError(n),i.return()):(n.severity=1,e.i.onError(n),e.m.S(.1),void b(i)):i.return())}))}(e)})),this.aa=pf,this.F=null,this.Z=0,this.l=1/0,this.W=this.V=this.H=0,this.I=new Ei,this.M=new Map,this.u=new Map,this.Y=new Map,this.Pa=this.o=!1}function Lh(e,t){return af(e)?e.G.get(t.type):t.Ed}function kh(e,t){var n,i,o,r,a,s,c,l,d,p,h,f,m,_,g,E,v,S,T,A,I,O,C,R;return k((function(N){if(1==N.g)return n=t.hd,i=new je(n),o=new nt,t.kd&&(0<=t.Ha&&o.add("_HLS_msn",String(t.Ha)),0<=t.Ia&&o.add("_HLS_part",String(t.Ia))),t.ld&&o.add("_HLS_skip","YES"),it(o),o.Dc&&Ke(i,o),y(N,rf(e,i.toString(),!0),2);if(r=N.h,!t.stream.segmentIndex)return N.return();if(1!=(a=Th(e.X,r.data,r.uri)).type)throw new ot(2,4,4017);s=sh(a.g,"EXT-X-DEFINE"),c=Mh(e,s),l=t.stream,d=Lh(e,t),p=zh(a,l.mimeType),h=p.keyIds,f=p.drmInfos,function(e,t){return e.size===t.size&&[].concat(u(e)).every((function(e){return t.has(e)}))}(l.keyIds,h)||(l.keyIds=h,l.drmInfos=f,e.i.newDrmInfo(l)),m=Qh(e,a,l.type,l.mimeType,d,c),_=m.segments,g=m.bandwidth,l.bandwidth=g,l.segmentIndex.Pc(_,e.j.fb()),_.length&&(E=uh(a.g,"EXT-X-MEDIA-SEQUENCE",0),S=(v=lh(a.g,"EXT-X-SKIP"))?Number(fh(v,"SKIPPED-SEGMENTS")):0,T=jh(E,_),A=T.Ha,I=T.Ia,t.Ha=A+S,t.Ia=I,O=d.get(E),l.segmentIndex.Ta(O)),C=_[0],t.Hb=C.startTime,R=_[_.length-1],t.ib=R.endTime,lh(a.g,"EXT-X-ENDLIST")&&(t.Mc=!0),Jh(e,a),b(N)}))}function wh(e,t,n){t.Hb+=n,t.ib+=n;for(var i=(t=l(e=Lh(e,t))).next();!i.done;i=t.next()){var o=l(i.value);i=o.next().value,o=o.next().value,e.set(i,o+n)}}function Dh(e){if(af(e)){if(e.aa==ff){for(var t,n=t=1/0,i=l(e.h.values()),o=i.next();!o.done;o=i.next())(o=o.value).stream.segmentIndex&&"text"!=o.stream.type&&(t=Math.min(t,o.ib),n=Math.min(n,o.Hb));t-=n,e.g.hls.useSafariBehaviorForLive&&(t=e.j.m),isNaN(e.g.availabilityWindowOverride)||(t=e.g.availabilityWindowOverride),e.j.Nd(t)}}else e.j.Ba(Bh(e));e.j.Dd()}function Mh(e,t){for(var n=new Map,i=(t=l(t)).next();!i.done;i=t.next()){var o=i.value;i=fh(o,"NAME");var r=fh(o,"VALUE");o=fh(o,"IMPORT"),i&&r&&n.set(i,r),o&&(i=e.s.get(o))&&n.set(o,i)}return n}function xh(e,t){var n=[];return e.g.disableVideo||n.push(e.g.hls.defaultVideoCodec),e.g.disableAudio||n.push(e.g.hls.defaultAudioCodec),Uh(e=fh(t,"CODECS",n.join(",")).split(/\s*,\s*/))}function Uh(e){for(var t=new Set,n=[],i=(e=l(e)).next();!i.done;i=e.next()){var o=St(i=i.value)[0];t.has(o)||(n.push(i),t.add(o))}return n}function Vh(e,t){var n=mh(t,"GROUP-ID"),i="",o=mh(t,"TYPE").toLowerCase();"subtitles"==o&&(o=ht);var r=o;if(r==ht?i=fh(t,"CODECS")||"":n&&e.u.has(n)&&(i=e.u.get(n)),o=ef(mh(t,"URI"),e.s),e.h.has(o))return e.h.get(o);var a=fh(t,"LANGUAGE"),s=fh(t,"NAME"),c="YES"==fh(t,"DEFAULT"),l="audio"==r&&(l=fh(t,"CHANNELS"))?parseInt(l.split("/")[0],10):null,u="audio"==r&&(!!(u=fh(t,"CHANNELS"))&&u.includes("/JOC"));return i=Fh(e,o,i,r,a,c,s,l,null,fh(t,"CHARACTERISTICS"),"YES"==fh(t,"FORCED"),t="audio"==r&&(t=fh(t,"SAMPLE-RATE"))?parseInt(t,10):null,u),e.A.has(n)?e.A.get(n).push(i):e.A.set(n,[i]),e.h.has(o)?e.h.get(o):(e.h.set(o,i),i)}function Fh(e,t,n,i,o,r,a,s,c,u,d,p,h){function f(f){var m,E,v,S,T,A,I,O,C,R,N,P,L,w;return k((function(k){if(1==k.g)return y(k,rf(e,g.hd,!0),2);if(3!=k.g)return m=k.h,f.aborted?k.return():(E=m.uri,v=Th(e.X,m.data,E),S=af(e),y(k,Wh(e,v,t,E,n,i,o,r,a,s,c,u,d,p,h),3));if(T=k.h,f.aborted)return k.return();if(A=T.stream,af(e)&&!S&&qh(e),g.hd=E,g.Hb=T.Hb,g.ib=T.ib,g.ld=T.ld,g.kd=T.kd,g.Mc=T.Mc,g.Ed=T.Ed,g.Ha=T.Ha,g.Ia=T.Ia,g.pe=!0,_.segmentIndex=A.segmentIndex,_.encrypted=A.encrypted,_.drmInfos=A.drmInfos,_.keyIds=A.keyIds,_.mimeType=A.mimeType,_.bandwidth=A.bandwidth,_.drmInfos.length&&e.i.newDrmInfo(_),i==(I=ft).wa||i==I.qb)for(O=l(e.h.values()),C=O.next();!C.done;C=O.next())(R=C.value).pe||R.type!=i||(R.stream.mimeType=A.mimeType);i==I.da&&(N=A.segmentIndex.get(0))&&N.h&&(_.mimeType="application/mp4"),function(e){if(!e.F)return!1;for(var t=[],n=[],i=(e=l(e.F.variants)).next();!i.done;i=e.next())(i=i.value).video&&t.push(i.video),i.audio&&n.push(i.audio);return!(0<t.length&&!t.some((function(e){return e.segmentIndex}))||0<n.length&&!n.some((function(e){return e.segmentIndex})))}(e)&&(e.Za?Gh(e,[g]):(e.Za=!0,P=Array.from(e.h.values()),L=P.filter((function(e){return e.stream.segmentIndex})),Gh(e,L),Dh(e),0<(w=e.l)&&e.m.S(w))),b(k)}))}var m=dh(e.N,t),_=Yh(e,n,i,o,r,a,s,c,u,d,p,h),g={stream:_,type:i,Zc:t,hd:m,Hb:0,ib:0,Ed:new Map,ld:!1,kd:!1,Mc:!1,be:-1,Ha:-1,Ia:-1,pe:!1},E=null,v=new AbortController;return _.createSegmentIndex=function(){return E||(v=new AbortController,E=new Promise((function(e){e(f(v.signal))})))},_.closeSegmentIndex=function(){E&&!_.segmentIndex&&v.abort(),_.segmentIndex&&(_.segmentIndex.release(),_.segmentIndex=null),E=null},g}function Bh(e){for(var t=1/0,n=(e=l(e.h.values())).next();!n.done;n=e.next())(n=n.value).stream.segmentIndex&&"text"!=n.stream.type&&(t=Math.min(t,n.ib));return t}function Hh(e,t){for(var n=[],i=(t=l(t)).next();!i.done;i=t.next())(i=i.value).segmentIndex&&za(i.segmentIndex,(function(e){n.push(e)}));e.j.Qc(n)}function Gh(e,t){if(!af(e))for(var n=Bh(e),i=l(t),o=i.next();!o.done;o=i.next())o.value.stream.segmentIndex.Vb(0,n);Hh(e,t.map((function(e){return e.stream}))),e.g.hls.ignoreManifestProgramDateTime?function(e,t){for(var n=-1==e.C,i=l(t),o=i.next();!o.done;o=i.next()){var r=(o=o.value).stream.segmentIndex,a=Lh(e,o);if(r=r.g[0]||null)for(var s=(a=l(a)).next();!s.done;s=a.next()){var c=(s=l(s.value)).next().value;if(s.next().value==r.startTime){n&&(e.C=Math.max(e.C,c)),o.be=c;break}}}if(!(0>e.C))for(o=(t=l(t)).next();!o.done;o=t.next())(i=(n=o.value).stream.segmentIndex)&&(i.g.splice(0,e.C-n.be),(i=i.g[0]||null)&&(i=-i.startTime,n.stream.segmentIndex.offset(i),wh(e,n,i)))}(e,t):function(e,t){if(1/0==e.L)for(var n=(t=l(t)).next();!n.done;n=t.next()){var i=n.value.stream.segmentIndex.g[0]||null;null!=i&&null!=i.g&&(e.L=Math.min(e.L,i.g))}if(1/0!=(t=e.L))for(n=(i=l(e.h.values())).next();!n.done;n=i.next()){var o=(n=n.value).stream.segmentIndex;if(null!=o){var r=o.g[0]||null;if(null==r.g)Y("Missing EXT-X-PROGRAM-DATE-TIME for stream",n.Zc,"Expect AV sync issues!");else for(wh(e,n,r.g-t-r.startTime),o=(n=l(o)).next();!o.done;o=n.next())o.value.Qe(t)}}}(e,t)}function Wh(e,t,n,i,o,r,a,s,c,l,u,d,p,h,f,m){var _,g,E,v,b,S,T,A,I,O,C,R,N,P,L,w,D,M,x,U,V,F,B;return k((function(H){if(1==H.g){if(1!=t.type)throw new ot(2,4,4017);_=sh(t.g,"EXT-X-DEFINE"),g=Mh(e,_);var G=lh(t.g,"EXT-X-PLAYLIST-TYPE"),W=lh(t.g,"EXT-X-ENDLIST");return W=G&&"VOD"==G.value||W,G=G&&"EVENT"==G.value&&!W,G=!W&&!G,sf(e,W?pf:G?ff:hf),af(e)&&Jh(e,t),m?H.B(2):y(H,function(e,t,n,i,o){var r,a,s,c,l,u,d,p,h,f;return k((function(m){return 1==m.g?(r=Oi,a=Math.trunc((i.segments.length-1)/2),s=ef(i.segments[a].i,o),c=new je(s),l=c.ua.split(".").pop(),u=uf[t],(d=u[l])||(d=lf[l])||(d=tf(t,n))?m.return(d):((p=Si([s],e.g.retryParameters)).method="HEAD",y(m,cf(e,p,r,{type:1}),2))):(h=m.h,(f=h.headers["content-type"])?m.return(f.split(";")[0]):m.return(nf(t)))}))}(e,r,o,t,g),3)}if(2!=H.g&&(m=H.h),E=zh(t,m),v=E.drmInfos,b=E.keyIds,S=E.encrypted,T=E.Vf,S&&!v.length&&!T)throw new ot(2,4,4026);return A=af(e)?e.G.get(r):new Map,I=Qh(e,t,r,m,A,g),O=I.segments,C=I.bandwidth,af(e)&&Jh(e,t),R=O[0].startTime,N=O[O.length-1],P=N.endTime,L=new Ya(O),D=!!(w=lh(t.g,"EXT-X-SERVER-CONTROL"))&&null!=w.getAttribute("CAN-SKIP-UNTIL"),M=!!w&&null!=w.getAttribute("CAN-BLOCK-RELOAD"),x=uh(t.g,"EXT-X-MEDIA-SEQUENCE",0),U=jh(x,O),V=U.Ha,F=U.Ia,(B=Yh(e,o,r,a,s,c,l,u,d,p,h,f)).segmentIndex=L,B.encrypted=S,B.drmInfos=v,B.keyIds=b,B.mimeType=m,B.bandwidth=C,H.return({stream:B,type:r,Zc:n,hd:i,Hb:R,ib:P,ld:D,kd:M,Mc:!1,be:-1,Ha:V,Ia:F,Ed:A,pe:!1})}))}function jh(e,t){e=e+t.length-1;var n=-1;if(!t.length)return{Ha:++e,Ia:n};var i=(t=t[t.length-1]).i;return t.i.length?(n=i.length-1,i[i.length-1].m||(e++,n=0),{Ha:e,Ia:n}):(e++,t.o&&(n=0),{Ha:e,Ia:n})}function Yh(e,t,n,i,o,r,a,s,c,u,d,p){var h=tf(n,t)||nf(n),f=[];if(c)for(var m=(c=l(c.split(","))).next();!m.done;m=c.next())f.push(m.value);return c=n==ht?"subtitle":void 0,f.length||"subtitle"!==c||f.push("subtitle"),{id:e.Oa++,originalId:r,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:h,codecs:t,kind:n==ht?"subtitle":void 0,encrypted:!1,drmInfos:[],keyIds:new Set,language:wt(i||"und"),originalLanguage:i,label:r,type:n,primary:o,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,width:void 0,height:void 0,bandwidth:void 0,roles:f,forced:u,channelsCount:a,audioSamplingRate:d,spatialAudio:p,closedCaptions:s,hdr:void 0,tilesLayout:void 0,accessibilityPurpose:null,external:!1}}function zh(e,t){var n=[];if(e.segments)for(var i=(e=l(e.segments)).next();!i.done;i=e.next())i=sh(i.value.g,"EXT-X-KEY"),n.push.apply(n,u(i));i=e=!1;for(var o=[],r=new Set,a=(n=l(n)).next();!a.done;a=n.next()){var s=mh(a=a.value,"METHOD");if("NONE"!=s)if(e=!0,"AES-128"==s)i=!0;else if(s=fh(a,"KEYFORMAT")||"identity",a=(s=df[s])?s(a,t):null){if(a.keyIds)for(var c=(s=l(a.keyIds)).next();!c.done;c=s.next())r.add(c.value);o.push(a)}}return{drmInfos:o,keyIds:r,encrypted:e,Vf:i}}function Kh(t,n,i){if(!e.crypto||!e.crypto.subtle)throw z("Web Crypto API is not available to decrypt AES-128. (Web Crypto only exists in secure origins like https)"),new ot(2,4,4042);var o=0,r=fh(n,"IV","");if(r){var a=lo(r.substr(2));if(16!=a.byteLength)throw new ot(2,4,4043)}else o=uh(i.g,"EXT-X-MEDIA-SEQUENCE",0);var s=Si([n=dh(i.h,mh(n,"URI"))],t.g.retryParameters),c={method:"AES-128",iv:a,firstMediaSequenceNumber:o,fetchKey:function(){var n,i,o;return k((function(r){if(1==r.g)return y(r,cf(t,s,6),2);if(3!=r.g){if(!(n=r.h).data||16!=n.data.byteLength)throw new ot(2,4,4044);return i={name:"AES-CBC"},o=c,y(r,e.crypto.subtle.importKey("raw",n.data,i,!0,["decrypt"]),3)}o.cryptoKey=r.h,c.fetchKey=void 0,b(r)}))}};return c}function Jh(e,t){var n=1/0,i=t.segments;if(i.length)for(var o=i.length-1;0<=o;){var r=lh(i[o].g,"EXTINF");if(r){n=Number(r.value.split(",")[0]);break}o--}if(!(i=lh(t.g,"EXT-X-TARGETDURATION")))throw new ot(2,4,4024,"EXT-X-TARGETDURATION");i=Number(i.value),(o=lh(t.g,"EXT-X-PART-INF"))&&(e.H=Number(mh(o,"PART-TARGET"))),t=lh(t.g,"EXT-X-SERVER-CONTROL"),e.o&&e.H?(e.l=e.Pa?5*e.H<=n?Math.min(e.H,e.l):Math.min(n,e.l):Math.min(e.H,e.l),e.W=t?Number(mh(t,"PART-HOLD-BACK")):0):(e.l=Math.min(n,e.l),n=t?t.getAttribute("HOLD-BACK"):null,e.V=n?Number(n.value):0),e.Z=Math.max(i,e.Z)}function qh(e){var t=e.g.defaultPresentationDelay?e.g.defaultPresentationDelay:e.W?e.W:e.V?e.V:e.Z*e.g.hls.liveSegmentsDelay;e.j.If(0),e.j.Hf(t),e.j.fc(!1)}function Xh(e,t,n,i){return(n=lh(n,"EXT-X-MAP"))?(t=[i=ef(dh(t,mh(n,"URI")),i),fh(n,"BYTERANGE","")].join("-"),e.Y.has(t)||(n=function(e,t){var n=0,i=null;(t=fh(t,"BYTERANGE"))&&(n=t.split("@"),i=Number(n[0]),n=Number(n[1]),i=n+i-1);return new gr((function(){return[e]}),n,i)}(i,n),e.Y.set(t,n)),e.Y.get(t)):null}function $h(t,n,i,o,r,a,s,c,u,d,p){var h=o.g,f=lh(h,"EXTINF"),m=0,_=0,g=null;o.h.length&&!t.o&&z("Low-latency HLS live stream detected, but low-latency streaming mode is not enabled in Shaka Player. Set streaming.lowLatencyMode configuration to true, and see https://bit.ly/3clctcj for details.");var E=null;if(!t.g.hls.ignoreManifestProgramDateTime){var v=lh(h,"EXT-X-PROGRAM-DATE-TIME");v&&v.value&&(E=Ao(v.value))}var y=vr;if(lh(h,"EXT-X-GAP")&&(y=2),!f){if(0==o.h.length)throw new ot(2,4,4024,"EXTINF");if(!t.o)return null}var b=[];v=!1;var S=null,T=!1,A=!1;if(t.o&&o.h.length){m=("video/mp4"==u||"audio/mp4"==u)&&e.ReadableStream,u=E;for(var I={},O=0;O<o.h.length;I={qc:I.qc,dd:I.dd},O++){var C=o.h[O],R=0==O?i:b[b.length-1],N=0==O?r:R.endTime,P=Number(fh(C,"DURATION"))||t.H;if(P){var L=N+P,k=0,w=null;if("EXT-X-PRELOAD-HINT"==C.name?(k=(k=fh(C,"BYTERANGE-START"))?Number(k):0,(R=fh(C,"BYTERANGE-LENGTH"))?w=k+Number(R)-1:k&&(w=Number.MAX_SAFE_INTEGER)):(k=(w=l(Zh(R,k=fh(C,"BYTERANGE")))).next().value,w=w.next().value),I.dd=fh(C,"URI"),I.dd){R=vr,"YES"==fh(C,"GAP")&&(R=2,T=!0),I.qc=null;var D=function(e){return function(){return null==e.qc&&(e.qc=dh(s,e.dd)),[e.qc]}}(I);m&&0<=k&&null!=w&&(S=D,v=!0),N=new Er(N,L,D,k,w,n,0,0,1/0,[],"",null,u,R,p),"EXT-X-PRELOAD-HINT"==C.name&&(N.re(),A=!0),"YES"!=fh(C,"INDEPENDENT")&&0<O&&N.vf(),b.push(N),u&&(u+=P)}}}}if(f){if(0==(f=Number(f.value.split(",")[0])))return null;m=r+f}else m=b[b.length-1].endTime;v&&(T||0!=b[0].Ca?(v=!1,S=null):b=[]),(f=lh(h,"EXT-X-BYTERANGE"))?(_=(g=l(Zh(i,f.value))).next().value,g=g.next().value):b.length&&(_=b[0].Ca,g=b[b.length-1].ka),i="",f=null,"image"==c&&(i="1x1",c=lh(h,"EXT-X-TILES"))&&(i=mh(c,"LAYOUT"),(c=fh(c,"DURATION"))&&(f=Number(c)));var M=null;return n=new Er(r,m,(function(){return S?S():(null==M&&(M=ef(o.i,a)),M.length?[M]:[])}),_,g,n,d,0,1/0,b,i,f,E,y,p),v&&(t.Pa=!0,n.uf(),A&&n.re()),n}function Zh(e,t){var n=0,i=null;return t&&(n=t.split("@"),t=Number(n[0]),i=(n=n[1]?Number(n[1]):e.ka+1)+t-1),[n,i]}function Qh(e,t,n,i,o,r){var a=t.segments,s=void 0,c=uh(t.g,"EXT-X-DISCONTINUITY-SEQUENCE",0),u=uh(t.g,"EXT-X-MEDIA-SEQUENCE",0),d=lh(t.g,"EXT-X-SKIP"),p=d?Number(fh(d,"SKIPPED-SEGMENTS")):0,h=u+p,f=0;af(e)&&o.has(h)&&(f=o.get(h));var m=[],_=null,g=f;d=[];for(var E=0;E<a.length;E++){var v=a[E],y=0==E?f:_.endTime;h=u+p+E,lh(v.g,"EXT-X-DISCONTINUITY")&&(c++,g=y);for(var b=l(v.g),S=b.next();!S.done;S=b.next())"EXT-X-KEY"==(S=S.value).name&&(s="AES-128"==mh(S,"METHOD")?Kh(e,S,t):void 0);o.set(h,y),b=Xh(e,t.h,v.g,r),!e.o&&e.i.isAutoLowLatencyMode()&&(e.i.enableLowLatencyMode(),e.o=e.i.isLowLatencyMode()),(y=$h(e,b,_,v,y,r,t.h,n,i,g,s))&&((_=uh(v.g,"EXT-X-BITRATE"))?d.push({bitrate:_,duration:y.endTime-y.startTime}):d.length&&((_=d.pop()).duration+=y.endTime-y.startTime,d.push(_)),_=y,y.j=c,e.g.hls.ignoreManifestProgramDateTime&&null!=e.C&&h<e.C||m.push(y))}if(t=void 0,d.length&&(t=d.reduce((function(e,t){return e+t.duration}),0),t=Math.round(d.reduce((function(e,t){return e+t.bitrate*t.duration}),0)/t*1e3)),d=m.some((function(e){return null!=e.g})))for(n={},i=0;i<m.length;n={mc:n.mc,lc:n.lc,$c:n.$c,nb:n.nb,kc:n.kc},i++)if(n.nb=m[i],null==n.nb.g)for(n.lc=0,n.mc=i,o=function(e){return function(){var t=m[e.mc];if(t){if(null!=t.g)return t.g+e.lc;e.lc-=t.endTime-t.startTime,e.mc+=1}return null}}(n),n.kc=0,n.$c=i,r=function(e){return function(){var t=m[e.$c];if(t){if(t!=e.nb&&(e.kc+=t.endTime-t.startTime),null!=t.g)return t.g+e.kc;--e.$c}return null}}(n);null==n.nb.g;)n.nb.g=r(),null==n.nb.g&&(n.nb.g=o());if(d)for(i=(n=l(m)).next();!i.done;i=n.next())for(i=(o=i.value).g,r=(o=l(o.i)).next();!r.done;r=o.next())(r=r.value).g=i,i+=r.endTime-r.startTime;if(e=e.L,d&&1/0!=e)for(i=(d=l(m)).next();!i.done;i=d.next())i.value.Qe(e);return{segments:m,bandwidth:t}}function ef(e,t){if(!t.size)return e;var n=(e=String(e).replace(/%7B/g,"{").replace(/%7D/g,"}")).match(/{\$\w*}/g);if(n)for(var i=(n=l(n)).next();!i.done;i=n.next()){var o=(i=i.value).slice(2,i.length-1),r=t.get(o);if(!r)throw new ot(2,4,4039,o);e=e.replace(i,r)}return e}function tf(e,t){if(e==ht){if("vtt"==t||"wvtt"==t)return"text/vtt";if(t&&""!==t)return"application/mp4"}return"image"!=e||t&&"jpeg"!=t?"audio"==e&&"mp4a.40.34"==t?"audio/mpeg":null:"image/jpeg"}function nf(e){return e==ht?"text/vtt":uf[e].mp4}function of(e,t,n,i,o){e&&(e.width=Number(t)||void 0,e.height=Number(n)||void 0,e.frameRate=Number(i)||void 0,e.hdr=o||void 0)}function rf(e,t,n){return cf(e,Si([t],e.g.retryParameters),0,{type:n?2:3})}function af(e){return e.aa!=pf}function sf(e,t){e.aa=t,e.j&&e.j.fc(!af(e)),af(e)||e.m.stop()}function cf(e,t,n,i){if(!e.I)throw new ot(2,7,7001);return t=e.i.networkingEngine.request(n,t,i),vi(e.I,t),t.promise}B("shaka.net.DataUriPlugin",Ch),Ch.parse=Rh,bi("data",Rh),(i=Ph.prototype).configure=function(e){this.g=e},i.start=function(e,t){var n,i=this;return k((function(o){return 1==o.g?(i.i=t,i.o=t.isLowLatencyMode(),y(o,rf(i,e),2)):3!=o.g?(n=o.h,i.N=n.uri,y(o,function(e,t,n){var i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,T,A,O,C,R,N,P,L,w,D,M,x,U,V,F;return k((function(B){switch(B.g){case 1:i=Th(e.X,t,e.N);for(var H=l(sh(i.g,"EXT-X-DEFINE")),G=H.next();!G.done;G=H.next()){var W=G.value;G=fh(W,"NAME"),W=fh(W,"VALUE"),G&&W&&(e.s.has(G)||e.s.set(G,W))}if(o=[],r=[],a=[],1==i.type)return y(B,function(e,t){var n,i,o,r,a,s,c,l,u,d,p,h,f,m,_,g,E;return k((function(v){if(1==v.g)return n=e.g.hls.mediaPlaylistFullMimeType,i=n.split(";")[0],o=i.split("/")[0],r=bt(n),a={type:o,mimeType:i,codecs:r,language:null,height:null,width:null,channelCount:null,sampleRate:null},t.segments.length?(s=t.segments[0],c=new je(s.i),l=c.ua.split(".").pop(),(u=lf[l])?v.return({type:"audio",mimeType:u,codecs:"",language:null,height:null,width:null,channelCount:null,sampleRate:null}):(d=[s.i],(p=Xh(e,t.h,s.g,new Map))&&(d=p.xa()),h=Oi,f=Si(d,e.g.retryParameters),y(v,cf(e,f,h,{type:p?0:1}),2))):v.return(a);if(m=v.h,(_=m.headers["content-type"])&&(_=_.split(";")[0].toLowerCase()),"ts"==l||"video/mp2t"==_){var b=oe(m.data),S=(new Jr).parse(b);b=S.od(),S=S.fe();var T=[],A=!1,I=!1;switch(b.audio){case"aac":T.push("mp4a.40.2"),A=!0;break;case"mp3":T.push("mp4a.40.34"),A=!0;break;case"ac3":T.push("ac-3"),A=!0;break;case"ec3":T.push("ec-3"),A=!0}switch(b.video){case"avc":S.pa?T.push(S.pa):T.push("avc1.42E01E"),I=!0;break;case"hvc":T.push("hvc1.1.6.L93.90"),I=!0}if(g=T.length?{type:A&&!I?"audio":"video",mimeType:"video/mp2t",codecs:T.join(", "),language:null,height:S.height,width:S.width,channelCount:null,sampleRate:null}:null)return v.return(g)}else if(("mp4"==l||"video/mp4"==_||"audio/mp4"==_)&&(E=function(e){function t(e){return n(e.name)}function n(e){switch(e=e.toLowerCase()){case"avc1":case"avc3":i.push(e+".42E01E"),r=!0;break;case"hev1":case"hvc1":i.push(e+".1.6.L93.90"),r=!0;break;case"dvh1":case"dvhe":i.push(e+".05.04"),r=!0;break;case"vp09":i.push(e+".00.10.08"),r=!0;break;case"av01":i.push(e+".0.01M.08"),r=!0;break;case"mp4a":i.push("mp4a.40.2"),o=!0;break;case"ac-3":case"ec-3":case"opus":case"flac":i.push(e),o=!0}}var i=[],o=!1,r=!1,a=null,s=null,c=null,l=null,u=null;return(new qi).box("moov",Xi).box("trak",Xi).O("tkhd",(function(e){e=xr(e.reader,e.version),s=String(e.height),c=String(e.width)})).box("mdia",Xi).O("mdhd",(function(e){a=Dr(e.reader,e.version).language})).box("minf",Xi).box("stbl",Xi).O("stsd",$i).box("mp4a",(function(e){var n=e.reader;n.skip(6),n.skip(2),n.skip(8);var i=n.Ja();n.skip(2),n.skip(2),n.skip(2),n=n.Ja()+n.Ja()/65536,l=i,u=n,e.reader.ja()?Xi(e):t(e)})).box("esds",(function(e){e=function(e){var t="mp4a";return e.skip(11),t+="."+this.g(e.ra()),{pa:t+="."+this.g(e.ra()>>>2&63).replace(/^0/,"")}}(e.reader),i.push(e.pa),o=!0})).box("ac-3",t).box("ec-3",t).box("opus",t).box("Opus",t).box("fLaC",t).box("avc1",(function(e){e=Ur(e.reader,e.name),i.push(e.pa),r=!0})).box("avc3",(function(e){e=Ur(e.reader,e.name),i.push(e.pa),r=!0})).box("hev1",t).box("hvc1",t).box("dvh1",t).box("dvhe",t).box("vp09",t).box("av01",t).box("enca",Zi).box("encv",Zi).box("sinf",Xi).box("frma",(function(e){n(e=Vr(e.reader).pa)})).parse(e.data,!0),i.length?(e=o&&!r,{type:e?"audio":"video",mimeType:e?"audio/mp4":"video/mp4",codecs:Uh(i).join(", "),language:a,height:s,width:c,channelCount:l,sampleRate:u}):null}(m)))return v.return(E);return v.return(a)}))}(e,i),5);for(s=sh(i.g,"EXT-X-MEDIA"),c=sh(i.g,"EXT-X-STREAM-INF"),u=sh(i.g,"EXT-X-IMAGE-STREAM-INF"),d=sh(i.g,"EXT-X-SESSION-KEY"),G=(H=l(c)).next();!G.done;G=H.next()){var j=G.value;W=fh(j,"AUDIO"),G=fh(j,"VIDEO");var Y=fh(j,"SUBTITLES");if(j=xh(e,j),Y){var z=pt(ht,j);e.u.set(Y,z),pe(j,z)}W&&((Y=pt("audio",j))||(Y=e.g.hls.defaultAudioCodec),e.u.set(W,Y)),G&&((W=pt("video",j))||(W=e.g.hls.defaultVideoCodec),e.u.set(G,W))}for(p=sh(i.g,"EXT-X-SESSION-DATA"),h=l(p),f=h.next();!f.done;f=h.next())m=f.value,_=fh(m,"DATA-ID"),g=fh(m,"URI"),E=fh(m,"LANGUAGE"),v=fh(m,"VALUE"),T=(new Map).set("id",_),g&&T.set("uri",dh(e.N,g)),E&&T.set("language",E),v&&T.set("value",v),A=new pi("sessiondata",T),e.i&&e.i.onEvent(A);for(function(e,t){t=t.filter((function(e){var t=fh(e,"URI")||"";return"SUBTITLES"!=fh(e,"TYPE")&&""!=t}));for(var n=(t=l(t)).next();!n.done;n=t.next())Vh(e,n.value)}(e,s),G=(H=l(H=ch(s,"CLOSED-CAPTIONS"))).next();!G.done;G=H.next())W=wt((W=fh(G=G.value,"LANGUAGE"))||"und"),Y=mh(G,"GROUP-ID"),G=mh(G,"INSTREAM-ID"),e.M.get(Y)||e.M.set(Y,new Map),e.M.get(Y).set(G,W);return o=function(e,t,n){var i=[],o=new Set;if(0<n.length)for(var r=(n=l(n)).next();!r.done;r=n.next()){var a=mh(r=r.value,"METHOD");if("NONE"!=a&&"AES-128"!=a&&(a=fh(r,"KEYFORMAT")||"identity",r=(a=df[a])?a(r,""):null)){if(r.keyIds)for(var s=(a=l(r.keyIds)).next();!s.done;s=a.next())o.add(s.value);i.push(r)}}return t=t.map((function(t){var n=fh(t,"FRAME-RATE"),r=Number(fh(t,"AVERAGE-BANDWIDTH"))||Number(mh(t,"BANDWIDTH")),a=fh(t,"RESOLUTION"),s=(a=l(a?a.split("x"):[null,null])).next().value,c=a.next().value,u=fh(t,"VIDEO-RANGE");t=function(e,t){var n=xh(e,t),i=fh(t,"AUDIO"),o=fh(t,"VIDEO"),r=i||o;r=r&&e.A.has(r)?e.A.get(r):[],i={audio:i?r:[],video:o?r:[]},o=!1;var a=mh(t,"URI"),s=i.audio.find((function(e){return e&&e.Zc==a})),c=pt("video",n),l=pt("audio",n);return l&&!c?(r="audio",o=0<i.audio.length):!r.length&&l&&c?(r="video",n=[[c,l].join()]):i.audio.length&&s?(r="audio",o=!0):r=i.video.length&&!i.audio.length?"audio":"video",o||(e=function(e,t,n,i){var o=ef(mh(t,"URI"),e.s);return e.h.has(o)?e.h.get(o):(t=fh(t,"CLOSED-CAPTIONS"),t="video"==i&&t&&"NONE"!=t?e.M.get(t):null,n=dt(i,n),i=Fh(e,o,n,i,null,!1,null,null,t,null,!1,null,!1),e.h.has(o)?e.h.get(o):(e.h.set(o,i),i))}(e,t,n,r),i[e.stream.type]=[e]),i}(e,t),a=t.audio;for(var d=l(t=t.video),p=d.next();!p.done;p=d.next())of(p.value.stream,s,c,n,u);for(n=e.g.disableAudio,a.length&&!n||(a=[null]),n=e.g.disableVideo,t.length&&!n||(t=[null]),n=[],s=(a=l(a)).next();!s.done;s=a.next())for(s=s.value,u=(c=l(t)).next();!u.done;u=c.next()){var h=u.value;(u=s?s.stream:null)&&(u.drmInfos=i,u.keyIds=o),(d=h?h.stream:null)&&(d.drmInfos=i,d.keyIds=o),p=s?s.stream.drmInfos:null;var f=h?h.stream.drmInfos:null;h=(h?h.Zc:"")+" - "+(s?s.Zc:""),u&&d&&!Zo(p,f)||e.ga.has(h)||(u={id:e.Oa++,language:u?u.language:"und",disabledUntilTime:0,primary:!!u&&u.primary||!!d&&d.primary,audio:u,video:d,bandwidth:r,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},n.push(u),e.ga.add(h))}return n})).reduce(at,[]),t=t.filter((function(e){return null!=e}))}(e,c,d),r=function(e,t){var n=ch(t,"SUBTITLES");t=n.map((function(t){if(e.g.disableText)return null;try{return Vh(e,t).stream}catch(t){if(e.g.hls.ignoreTextStreamFailures)return null;throw t}}));for(var i=(n=l(n)).next();!i.done;i=n.next()){var o=mh(i.value,"GROUP-ID");if((i=e.u.get(o))&&(o=e.A.get(o)))for(var r=(o=l(o)).next();!r.done;r=o.next())(r=r.value).stream.codecs=i,r.stream.mimeType=tf(ht,i)||nf(ht)}return t.filter((function(e){return e}))}(e,s),y(B,function(e,t){var n,i;return k((function(o){return 1==o.g?(n=t.map((function(t){var n,i;return k((function(o){if(1==o.g)return e.g.disableThumbnails?o.return(null):(S(o,2),y(o,function(e,t){var n,i,o,r,a,s,c,l,u,d;return k((function(p){return 1==p.g?(n=ef(mh(t,"URI"),e.s),i=fh(t,"CODECS","jpeg")||"",e.h.has(n)?p.return(e.h.get(n)):(o=fh(t,"LANGUAGE"),r=fh(t,"NAME"),a=fh(t,"CHARACTERISTICS"),s=Fh(e,n,i,"image",o,!1,r,null,null,a,!1,null,!1),e.h.has(n)?p.return(e.h.get(n)):(c=fh(t,"RESOLUTION"))?y(p,s.stream.createSegmentIndex(),3):p.B(2))):(2!=p.g&&(l=s.stream.segmentIndex.get(0),u=l.tilesLayout)&&(s.stream.width=Number(c.split("x")[0])*Number(u.split("x")[0]),s.stream.height=Number(c.split("x")[1])*Number(u.split("x")[1])),(d=fh(t,"BANDWIDTH"))&&(s.stream.bandwidth=Number(d)),e.h.set(n,s),p.return(s))}))}(e,t),4));if(2!=o.g)return n=o.h,o.return(n.stream);if(i=I(o),e.g.hls.ignoreImageStreamFailures)return o.return(null);throw i}))})),y(o,Promise.all(n),2)):(i=o.h,o.return(i.filter((function(e){return e}))))}))}(e,u),4);case 4:a=B.h,B.B(3);break;case 5:return O=B.h,C=O.type,R=O.mimeType,N=O.codecs,P=O.language,L=O.height,w=O.width,D=O.channelCount,M=O.sampleRate,x=new Map,y(B,Wh(e,i,n,n,N,C,P,!0,"Media Playlist",D,x,null,!1,M,!1,R),6);case 6:U=B.h,e.h.set(n,U),"video"==C&&of(U.stream,w,L,null,null),o.push({id:0,language:wt(P||"und"),disabledUntilTime:0,primary:!0,audio:"audio"==C?U.stream:null,video:"video"==C?U.stream:null,bandwidth:U.stream.bandwidth||0,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]});case 3:if(!e.i)throw new ot(2,7,7001);e.j=new Ia(null,0),e.j.fc(!0),1==i.type&&(af(e)&&(qh(e),V=e.l,e.m.S(V)),F=Array.from(e.h.values()),Gh(e,F),Dh(e)),e.F={presentationTimeline:e.j,variants:o,textStreams:r,imageStreams:a,offlineSessionIds:[],minBufferTime:0,sequenceMode:e.g.hls.sequenceMode,ignoreManifestTimestampsInSegmentsMode:e.g.hls.ignoreManifestTimestampsInSegmentsMode,type:"HLS",serviceDescription:null},e.i.makeTextStreamsForClosedCaptions(e.F),b(B)}}))}(i,n.data,e),3)):o.return(i.F)}))},i.stop=function(){this.m&&(this.m.stop(),this.m=null);var e=[];return this.I&&(e.push(this.I.destroy()),this.I=null),this.g=this.i=null,this.ga.clear(),this.F=null,this.h.clear(),this.A.clear(),this.u.clear(),this.s.clear(),Promise.all(e)},i.update=function(){var e,t,n,i,o,r,a,s,c=this;return k((function(d){if(1==d.g){if(!af(c))return d.return();for(e=[],t=Array.from(c.h.values()),c.l=1/0,n=t.filter((function(e){return e.stream.segmentIndex})),i=l(n),o=i.next();!o.done;o=i.next())r=o.value,e.push(kh(c,r));return y(d,Promise.all(e),2)}Hh(c,n.map((function(e){return e.stream}))),a=n.some((function(e){return 0==e.Mc})),n.length&&!a&&(sf(c,mf.Rf),s=n.map((function(e){return e.ib})),c.j.Ba(Math.min.apply(Math,u(s))),c.i.updateDuration()),a&&Dh(c),b(d)}))},i.onExpirationUpdated=function(){},B("shaka.hls.HlsParser",Ph);var lf={aac:"audio/aac",ac3:"audio/ac3",ec3:"audio/ec3",mp3:"audio/mpeg"},uf={audio:{mp4:"audio/mp4",mp4a:"audio/mp4",m4s:"audio/mp4",m4i:"audio/mp4",m4a:"audio/mp4",m4f:"audio/mp4",cmfa:"audio/mp4",ts:"video/mp2t",tsa:"video/mp2t"},video:{mp4:"video/mp4",mp4v:"video/mp4",m4s:"video/mp4",m4i:"video/mp4",m4v:"video/mp4",m4f:"video/mp4",cmfv:"video/mp4",ts:"video/mp2t",tsv:"video/mp2t"},text:{mp4:"application/mp4",m4s:"application/mp4",m4i:"application/mp4",m4f:"application/mp4",cmft:"application/mp4",vtt:"text/vtt",webvtt:"text/vtt",ttml:"application/ttml+xml"},image:{jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",webp:"image/webp",avif:"image/avif"}},df={"com.apple.streamingkeydelivery":function(t,n){if("video/mp2t"==n)throw new ot(2,4,4040);if(e.shakaMediaKeysPolyfill)throw new ot(2,4,4041);return ut("com.apple.fps",[{initDataType:"sinf",initData:new Uint8Array(0),keyId:null}])},"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":function(e){var t=mh(e,"METHOD");return["SAMPLE-AES","SAMPLE-AES-CTR"].includes(t)?(t=ut("com.widevine.alpha",[{initDataType:"cenc",initData:t=oe((t=Nh(t=mh(e,"URI"))).data)}]),(e=fh(e,"KEYID"))&&(t.keyIds=new Set([e.toLowerCase().substr(2)])),t):null},"com.microsoft.playready":function(e){var t=mh(e,"METHOD");return["SAMPLE-AES","SAMPLE-AES-CTR"].includes(t)?ut("com.microsoft.playready",[{initDataType:"cenc",initData:e=fo(e=oe((e=Nh(e=mh(e,"URI"))).data),t=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),new Set,0)}]):null},identity:function(e){return e=mh(e,"METHOD"),["SAMPLE-AES","SAMPLE-AES-CTR"].includes(e)?ut("org.w3.clearkey",null):null}},pf="VOD",hf="EVENT",ff="LIVE",mf={Rf:pf,Ah:hf,Fh:ff};function _f(e){if(e=gf(e))e:{for(var t=(e=l(e.getElementsByTagName("DATA"))).next();!t.done;t=e.next())if(t=mo(t.value,"LA_URL")){e=t.textContent;break e}e=""}else e="";return e}function gf(e){return(e=function(e){var t=0,n=re(e),i=n.getUint32(t,!0);if(i!=e.byteLength)return[];e:{for(e=t+6,t=[];e<n.byteLength-1;){i=n.getUint16(e,!0),e+=2;var o=n.getUint16(e,!0);if(e+=2,0!=(1&o)||o+e>n.byteLength){n=[];break e}var r=oe(n,e,o);t.push({type:i,value:r}),e+=o}n=t}return n}(e=co(e.textContent)).filter((function(e){return e.type===Ef}))[0])&&(e=wo(e=Hi(e.value,!0),"WRMHEADER"))?e:null}hr.m3u8=function(){return new Ph},pr["application/x-mpegurl"]=function(){return new Ph},pr["application/vnd.apple.mpegurl"]=function(){return new Ph};var Ef=1,vf=(new Map).set("com.microsoft.playready",_f).set("com.microsoft.playready.recommendation",_f).set("com.microsoft.playready.software",_f).set("com.microsoft.playready.hardware",_f);function yf(e){if(!Rf){Rf=!0;var t=new Uint8Array([105,115,111,109]),n=new Uint8Array([97,118,99,49]),i=new Uint8Array([0,0,0,1]);Bf=Cf("ftyp",t,i,t,n),t=Cf("dref",Hf),Gf=Cf("dinf",t)}this.g=e}function bf(e){var t=Cf,n=new Uint8Array([]);switch(e.type){case"video":if(e.codecs.includes("avc1")){n=e.stream.width||0;var i=e.stream.height||0;if(0<e.na.byteLength)var o=Cf("avcC",e.na);else{o=Cf;for(var r=7,a=[],s=[],c=0,l=0,d=0,p=0;p<e.La.length;p++){var h=Of(e.La[p]);switch(31&h[0]){case 7:a.push(h),r+=h.length+2;break;case 8:s.push(h),r+=h.length+2}}for(0<a.length&&(c=a[0][1],d=a[0][2],l=a[0][3]),p=0,(r=new Uint8Array(r))[p++]=1,r[p++]=c,r[p++]=d,r[p++]=l,r[p++]=255,r[p++]=224|a.length,c=0;c<a.length;c++)r[p++]=(65280&a[c].length)>>8,r[p++]=255&a[c].length,r.set(a[c],p),p+=a[c].length;for(r[p++]=s.length,a=0;a<s.length;a++)r[p++]=(65280&s[a].length)>>8,r[p++]=255&s[a].length,r.set(s[a],p),p+=s[a].length;o=o("avcC",r)}n=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].concat(u(If(n,2)),u(If(i,2)),[0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17])),i="avc1",s=new Uint8Array([]),e.encrypted&&(s=Tf(e),i="encv"),n=Cf(i,n,o,s)}else e.codecs.includes("hvc1")&&(i=e.stream.width||0,o=e.stream.height||0,n=new Uint8Array([]),0<e.na.byteLength&&(n=Cf("hvcC",e.na)),i=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].concat(u(If(i,2)),u(If(o,2)),[0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17])),o="hvc1",s=new Uint8Array([]),e.encrypted&&(s=Tf(e),o="encv"),n=Cf(o,i,n,s));break;case"audio":e.codecs.includes("mp3")?e=Cf(".mp3",Sf(e)):e.codecs.includes("ac-3")?(n=Cf("dac3",e.ca),i="ac-3",o=new Uint8Array([]),e.encrypted&&(o=Tf(e),i="enca"),e=Cf(i,Sf(e),n,o)):e.codecs.includes("ec-3")?(n=Cf("dec3",e.ca),i="ec-3",o=new Uint8Array([]),e.encrypted&&(o=Tf(e),i="enca"),e=Cf(i,Sf(e),n,o)):(0<e.ca.byteLength?n=Cf("esds",e.ca):(n=Cf,i=e.id+1,o=e.stream.bandwidth||0,s=e.stream.channelsCount||2,c=e.stream.audioSamplingRate||44100,l=dt("audio",e.codecs.split(",")),a=(d={96e3:0,88200:1,64e3:2,48e3:3,44100:4,32e3:5,24e3:6,22050:7,16e3:8,12e3:9,11025:10,8e3:11,7350:12})[c],"mp4a.40.5"!==l&&"mp4a.40.29"!==l||(a=d[2*c]),c=parseInt(l.split(".").pop(),10),n=n("esds",i=new Uint8Array([0,0,0,0,3,25].concat(u(If(i,2)),[0,4,17,64,21,0,6,0],u(If(o,4)),u(If(o,4)),[5,2,c<<3|a>>>1,a<<7|s<<3,6,1,2])))),i="mp4a",o=new Uint8Array([]),e.encrypted&&(o=Tf(e),i="enca"),e=Cf(i,Sf(e),n,o)),n=e}return t("stbl",e=Cf("stsd",Ff,n),Cf("stts",wf),Cf("stsc",Df),Cf("stsz",xf),Cf("stco",Mf))}function Sf(e){return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.stream.channelsCount||2,0,16,0,0,0,0].concat(u(If(e.stream.audioSamplingRate||44100,2)),[0,0]))}function Tf(e){for(var t=Cf,n=e.codecs.substring(0,e.codecs.indexOf(".")),i=0,o=0;o<n.length;o+=1)i|=n.charCodeAt(o)<<8*(n.length-o-1);n=Cf("frma",n=new Uint8Array([].concat(u(If(i,4))))),i=Cf("schm",i=new Uint8Array([0,0,0,0,99,101,110,99,0,1,0,0])),o=Cf;for(var r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),a=(e=l(e.stream.drmInfos)).next();!a.done;a=e.next())if((a=a.value)&&a.keyIds&&a.keyIds.size)for(var s=(a=l(a.keyIds)).next();!s.done;s=a.next())r=Of(s.value);return t("sinf",n,i,o("schi",r=Cf("tenc",e=new Uint8Array([0,0,0,0,0,0,1,8]),r)))}function Af(e){for(var t=new Uint8Array([]),n=(e=l(e.g)).next();!n.done;n=e.next()){n=n.value;var i,o=Cf,r=new Uint8Array([0,0,0,0].concat(u(If(n.data?n.data.mb:0,4))));r=Cf("mfhd",r);var a=n.data?n.data.Ka:[],s=new Uint8Array(4+a.length);for(i=0;i<a.length;i++){var c=a[i].flags;s[i+4]=c.Ra<<4|c.Va<<2|c.Ua}var d=(a=Cf("sdtp",s)).length+92;s=Cf,i=Cf("tfhd",i=new Uint8Array([0,0,0,58].concat(u(If(n.id+1,4)),[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0]))),c=n.data?n.data.baseMediaDecodeTime:0;var p=Math.floor(c%(Nf+1));c=Cf("tfdt",c=new Uint8Array([1,0,0,0].concat(u(If(Math.floor(c/(Nf+1)),4)),u(If(p,4)))));var h=d,f=12+16*(p=(d=n.data?n.data.Ka:[]).length),m=new Uint8Array(f);for(h+=8+f,m.set(["video"===n.type?1:0,0,15,1].concat(u(If(p,4)),u(If(h,4))),0),h=0;h<p;h++){var _=d[h];f=If(_.duration,4);var g=If(_.size,4),E=_.flags;_=If(_.ab,4),m.set([].concat(u(f),u(g),[E.gb<<2|E.Ra,E.Va<<6|E.Ua<<4|E.hb,61440&E.Qa,15&E.Qa],u(_)),12+16*h)}for(o=o("moof",r,a=s("traf",i,c,d=Cf("trun",m),a)),r=n.data?n.data.Ka:[],n=new Uint8Array([]),a=(r=l(r)).next();!a.done;a=r.next())n=po(n,a.value.data);t=po(t,o,n=Cf("mdat",n))}return t}function If(e,t){var n=[];for(--t;0<=t;t--)n.push(e>>8*t&255);return n}function Of(e){for(var t=new Uint8Array(e.length/2),n=0;n<e.length/2;n+=1)t[n]=parseInt(String(e[2*n]+e[2*n+1]),16);return t}function Cf(e){var t=w.apply(1,arguments),n=Pf[e];n||(n=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)],Pf[e]=n);for(var i=8,o=t.length-1;0<=o;o--)i+=t[o].byteLength;for((o=new Uint8Array(i))[0]=i>>24&255,o[1]=i>>16&255,o[2]=i>>8&255,o[3]=255&i,o.set(n,4),n=0,i=8;n<t.length;n++)o.set(t[n],i),i+=t[n].byteLength;return o}yf.prototype.initSegment=function(){for(var e=new Uint8Array([]),t=l(this.g),n=t.next();!n.done;n=t.next()){var i=e;e=n.value,n=Cf;var o=e.id+1,r=e.stream.width||0,a=e.stream.height||0;"audio"==e.type&&(a=r=0);var s=e.duration*e.timescale,c=Math.floor(s/(Nf+1));switch(s=Math.floor(s%(Nf+1)),o=Cf("tkhd",o=new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3].concat(u(If(o,4)),[0,0,0,0],u(If(c,4)),u(If(s,4)),[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],u(If(r,2)),[0,0],u(If(a,2)),[0,0]))),r=Cf,c=e.duration*e.timescale,a=Math.floor(c/(Nf+1)),c=Math.floor(c%(Nf+1)),s=(s=e.stream.language).charCodeAt(0)-96<<10|s.charCodeAt(1)-96<<5|s.charCodeAt(2)-96,a=Cf("mdhd",a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3].concat(u(If(e.timescale,4)),u(If(a,4)),u(If(c,4)),u(If(s,2)),[0,0]))),c=e,s=new Uint8Array([]),c.type){case"video":s=Lf;break;case"audio":s=kf}c=Cf("hdlr",s);e:{switch(e.type){case"video":e=Cf("minf",Cf("vmhd",Uf),Gf,bf(e));break e;case"audio":e=Cf("minf",Cf("smhd",Vf),Gf,bf(e));break e}e=new Uint8Array([])}e=po(i,n=n("trak",o,e=r("mdia",a,c,e)))}for(t=Cf,o=(n=this.g[0]).duration*n.timescale,i=Math.floor(o/(Nf+1)),o=Math.floor(o%(Nf+1)),i=Cf("mvhd",i=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3].concat(u(If(n.timescale,4)),u(If(i,4)),u(If(o,4)),[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]))),r=new Uint8Array([]),a=(o=l(this.g)).next();!a.done;a=o.next())r=po(r,a=Cf("trex",a=new Uint8Array([0,0,0,0].concat(u(If(a.value.id+1,4)),[0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))));if(o=Cf("mvex",r),r=new Uint8Array([]),n.encrypted)for(a=(n=l(n.stream.drmInfos)).next();!a.done;a=n.next())if((a=a.value).initData)for(c=(a=l(a.initData)).next();!c.done;c=a.next())r=po(r,c.value.initData);return t=t("moov",i,e,o,r),(i=new Uint8Array(Bf.byteLength+t.byteLength)).set(Bf),i.set(t,Bf.byteLength),i};var Rf=!1,Nf=Math.pow(2,32)-1,Pf={},Lf=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]),kf=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]),wf=new Uint8Array([0,0,0,0,0,0,0,0]),Df=new Uint8Array([0,0,0,0,0,0,0,0]),Mf=new Uint8Array([0,0,0,0,0,0,0,0]),xf=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Uf=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Vf=new Uint8Array([0,0,0,0,0,0,0,0]),Ff=new Uint8Array([0,0,0,0,0,0,0,1]),Bf=new Uint8Array([]),Hf=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Gf=new Uint8Array([]);function Wf(){var e=this;this.h=this.g=null,this.l=[],this.j=null,this.s=1,this.i=null,this.A=new H(5),this.o=new Ht((function(){!function(e){var t;k((function(n){switch(n.g){case 1:return S(n,2),y(n,jf(e),4);case 4:A(n,3);break;case 2:t=I(n),e.h&&(t.severity=1,e.h.onError(t));case 3:if(!e.h)return n.return();b(n)}}))}(e)})),this.u=new Ei,this.m=new Map}function jf(e){var t,n,i,o,r,a,s;return k((function(c){if(1==c.g)return t=Si(e.l,e.g.retryParameters),n=e.h.networkingEngine,i=Date.now(),o=n.request(0,t,{type:5}),vi(e.u,o),y(c,o.promise,2);if(r=c.h,!e.h)return c.return();r.uri&&!e.l.includes(r.uri)&&e.l.unshift(r.uri);var d=r.uri,p=Do(r.data,"SmoothStreamingMedia");if(!p)throw new ot(2,4,4046,d);if((d=e.g.mss.manifestPreprocessor)&&d(p),e.i||(e.i=new Ia(null,0)),d=To(p,"IsLive",Lo,!1))throw new ot(2,4,4047);e.i.fc(!d);var h=To(p,"TimeScale",No,1e7),f=To(p,"DVRWindowLength",No);d&&(0===f||isNaN(f))&&(f=1/0);var m,_=To(p,"CanSeek",Lo,!1);for(0===f&&_&&(f=1/0),_=null,f&&0<f&&(_=f/h),d&&!isNaN(e.g.availabilityWindowOverride)&&(_=e.g.availabilityWindowOverride),null==_&&(_=1/0),e.i.Nd(_),f=To(p,"Duration",No,1/0),d||e.i.Ba(f/h),d={variants:[],textStreams:[],timescale:h,duration:f/h},_=go(p,"Protection"),h=e.g.mss.keySystemsBySystemId,f=[],m=(_=l(_)).next();!m.done;m=_.next())f=f.concat(go(m.value,"ProtectionHeader"));if(f.length){for(_=[],m=0;m<f.length;m++){var g=f[m],E=g.getAttribute("SystemID").toLowerCase(),v=h[E];if(v){var S=gf(g);if(S)e:{for(var T=(S=l(S.getElementsByTagName("DATA"))).next();!T.done;T=S.next())if(T=mo(T.value,"KID")){S=co(T.textContent),S=uo(S=new Uint8Array([S[3],S[2],S[1],S[0],S[5],S[4],S[7],S[6]].concat(u(S.slice(8)))));break e}S=null}else S=null;E=ut(v,E=[{initData:fo(T=co(g.textContent),E=lo(E.replace(/-/g,"")),new Set,0),initDataType:"cenc",keyId:S}]),S&&E.keyIds.add(S),(v=vf.get(v))&&(E.licenseServerUri=v(g)),_.push(E)}}h=_}else h=[];for(m=h,_=[],h=[],f=[],g=(p=l(p=go(p,"StreamIndex"))).next();!g.done;g=p.next()){v=go(g=g.value,"QualityLevel"),E=d.timescale,S=d.duration,T=go(g,"c");for(var A=[],I=0,O=0;O<T.length;++O){var C=T[O],R=T[O+1],N=To(C,"t",No),P=To(C,"d",No);if(C=To(C,"r",Co),!P)break;if(N=null!=N?N:I,0>(C=C||0))if(R){if(null==(R=To(R,"t",No)))break;if(N>=R)break;C=Math.ceil((R-N)/P)-1}else{if(1/0==S)break;if(N/E>=S)break;C=Math.ceil((S*E-N)/P)-1}for(R=0;R<=C;++R)I=N+P,A.push({start:N/E,end:I/E,We:N}),N=I}for(E=A,S=(v=l(v)).next();!S.done;S=v.next())(S=Yf(e,g,S.value,E,m,d))&&("audio"!=S.type||e.g.disableAudio?"video"!=S.type||e.g.disableVideo?S.type!=ht||e.g.disableText||f.push(S):h.push(S):_.push(S))}for(p=[],m=(_=l(0<_.length?_:[null])).next();!m.done;m=_.next())for(m=m.value,S=(g=l(0<h.length?h:[null])).next();!S.done;S=g.next())E=(v=p).push,S=S.value,T=0,m&&m.bandwidth&&0<m.bandwidth&&(T+=m.bandwidth),S&&S.bandwidth&&0<S.bandwidth&&(T+=S.bandwidth),S={id:e.s++,language:m?m.language:"und",disabledUntilTime:0,primary:!!m&&m.primary||!!S&&S.primary,audio:m,video:S,bandwidth:T,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},E.call(v,S);d.variants=p,d.textStreams=f,e.j?(e.j.variants=d.variants,e.j.textStreams=d.textStreams,e.h.filter(e.j)):(e.j={presentationTimeline:e.i,variants:d.variants,textStreams:d.textStreams,imageStreams:[],offlineSessionIds:[],minBufferTime:0,sequenceMode:e.g.mss.sequenceMode,ignoreManifestTimestampsInSegmentsMode:!1,type:"MSS",serviceDescription:null},e.i.Dd()),Promise.resolve(),a=Date.now(),s=(a-i)/1e3,e.A.sample(1,s),b(c)}))}function Yf(e,t,n,i,o,r){var a=t.getAttribute("Type");if("audio"!==a&&"video"!==a&&"text"!==a)return z("Ignoring unrecognized type:",a),null;var s=t.getAttribute("Language"),c=e.s++,u=To(n,"Bitrate",Ro),d=To(n,"MaxWidth",Ro),p=To(n,"MaxHeight",Ro),h=To(n,"Channels",Ro),f=To(n,"SamplingRate",Ro),m=r.duration;i.length&&(m=i[i.length-1].end-i[0].start);var _=e.i.getDuration();e.i.Ba(Math.min(m,_));var g={id:c,originalId:t.getAttribute("Name")||String(c),createSegmentIndex:function(){return Promise.resolve()},closeSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:"",codecs:"",frameRate:void 0,pixelAspectRatio:void 0,bandwidth:u||0,width:d||void 0,height:p||void 0,kind:"",encrypted:0<o.length,drmInfos:o,keyIds:new Set,language:wt(s||"und"),originalLanguage:s,label:"",type:"",primary:!1,trickModeVideo:null,emsgSchemeIdUris:[],roles:[],forced:!1,channelsCount:h,audioSamplingRate:f,spatialAudio:!1,closedCaptions:null,hdr:void 0,tilesLayout:void 0,matchedStreams:[],mssPrivateData:{duration:m,timescale:r.timescale,codecPrivateData:null},accessibilityPurpose:null,external:!1};if((o=t.getAttribute("Subtype"))&&((o=Kf[o])&&g.roles.push(o),"main"===o&&(g.primary=!0)),null!==(o=n.getAttribute("FourCC"))&&""!==o||(o=t.getAttribute("FourCC")),!o)if("audio"===a)o="AAC";else if("video"===a)return z('FourCC is not defined whereas it is required for a QualityLevel element for a StreamIndex of type "video"'),null;if(!zf.includes(o.toUpperCase()))return z("Codec not supported:",o),null;switch(n=function(e,t,n,i){if(e=e.getAttribute("CodecPrivateData"))return e;if("audio"!==t)return null;t=i.channelsCount||2,e=i.audioSamplingRate||44100;var o={96e3:0,88200:1,64e3:2,48e3:3,44100:4,32e3:5,24e3:6,22050:7,16e3:8,12e3:9,11025:10,8e3:11,7350:12};return i=o[e],"AACH"===n?(n=new Uint8Array(4),e=o[2*e],n[0]=40|i>>1,n[1]=i<<7|t<<3|e>>1,n[2]=e<<7|8,n[3]=0,t=new Uint16Array(2),t[0]=(n[0]<<8)+n[1],t[1]=(n[2]<<8)+n[3],t[0].toString(16)+t[1].toString(16)):(n=new Uint8Array(2),n[0]=16|i>>1,n[1]=i<<7|t<<3,t=new Uint16Array(1),t[0]=(n[0]<<8)+n[1],t[0].toString(16))}(n,a,o,g),g.mssPrivateData.codecPrivateData=n,a){case"audio":if(!n)return z("Quality unsupported without CodecPrivateData",a),null;g.type="audio",g.mimeType="mss/audio/mp4",g.codecs=function(e,t){var n=0;return"AACH"===e&&(n=5),t?0===n&&(n=(248&parseInt(t.substr(0,2),16))>>3):(n=2,"AACH"===e&&(n=5)),"mp4a.40."+n}(o,n);break;case"video":if(!n)return z("Quality unsupported without CodecPrivateData",a),null;g.type="video",g.mimeType="mss/video/mp4",g.codecs=function(e){var t=/00000001[0-9]7/.exec(e);return t.length&&e?"avc1."+e.substr(e.indexOf(t[0])+10,6):""}(n);break;case"text":g.type=ht,g.mimeType="application/mp4",("TTML"===o||"DFXP"===o)&&(g.codecs="stpp")}return g.createSegmentIndex=function(){if(g.segmentIndex)return Promise.resolve();if(e.m.has(g.id))var n=e.m.get(g.id);else n=[],"video"==g.type&&(n=g.mssPrivateData.codecPrivateData.split("00000001").slice(1)),n=new yf([n={id:g.id,type:g.type,codecs:g.codecs,encrypted:g.encrypted,timescale:g.mssPrivateData.timescale,duration:g.mssPrivateData.duration,La:n,ca:new Uint8Array([]),na:new Uint8Array([]),data:null,stream:g}]).initSegment(),e.m.set(g.id,n);return n=function(e,t,n,i,o){var r=i.getAttribute("Url").replace("{bitrate}",String(n.bandwidth));i=[];for(var a={},s=(o=l(o)).next();!s.done;a={uc:a.uc},s=o.next())a.uc=s.value,i.push(new Er(a.uc.start,a.uc.end,function(t){return function(){return lt(e.l,[r.replace("{start time}",String(t.uc.We))])}}(a),0,null,t,0,0,n.mssPrivateData.duration));return i}(e,new gr((function(){return[]}),0,null,null,void 0,n),g,t,i),g.segmentIndex=new Ya(n),Promise.resolve()},g.closeSegmentIndex=function(){g.segmentIndex&&(g.segmentIndex.release(),g.segmentIndex=null)},g}(i=Wf.prototype).configure=function(e){this.g=e},i.start=function(e,t){var n=this;return k((function(i){if(1==i.g)return n.l=[e],n.h=t,y(i,jf(n),2);if(!n.h)throw new ot(2,7,7001);return i.return(n.j)}))},i.stop=function(){return this.g=this.h=null,this.l=[],this.j=null,null!=this.o&&(this.o.stop(),this.o=null),this.m.clear(),this.u.destroy()},i.update=function(){var e,t=this;return k((function(n){return 1==n.g?(S(n,2),y(n,jf(t),4)):2!=n.g?A(n,0):(e=I(n),t.h&&e?(t.h.onError(e),void b(n)):n.return())}))},i.onExpirationUpdated=function(){},B("shaka.mss.MssParser",Wf);var zf="AAC AACL AACH AACP AVC1 H264 TTML DFXP".split(" "),Kf={CAPT:"main",SUBT:"alternate",DESC:"main"};function Jf(e,t,n,i,o,r){if(200<=n&&299>=n&&202!=n)return{uri:o||i,originalUri:i,data:t,status:n,headers:e,fromCache:!!e["x-shaka-from-cache"]};o=null;try{o=Gi(t)}catch(e){}throw new ot(401==n||403==n?2:1,1,1001,i,n,o,e,r)}function qf(){}function Xf(e,t,n,i,o){var r=new nm;xi(t.headers).forEach((function(e,t){r.append(t,e)}));var a=new em,s={bf:!1,Mf:!1};if(e=function(e,t,n,i,o,r,a){var s,c,l,u,d,p,h,f,m,_,g,E;return k((function(v){switch(v.g){case 1:return s=Qf,c=tm,p=d=0,h=Date.now(),S(v,2),y(v,s(e,n),4);case 4:if(l=v.h,r($f(l.headers)),"HEAD"==n.method){v.B(5);break}return f=l.clone().body.getReader(),_=(m=l.headers.get("Content-Length"))?parseInt(m,10):0,new c({start:function(e){function t(){var n,i;return k((function(r){switch(r.g){case 1:return S(r,2),y(r,f.read(),4);case 4:n=r.h,A(r,3);break;case 2:return I(r),r.return();case 3:if(n.done){r.B(5);break}if(d+=n.value.byteLength,!a){r.B(5);break}return y(r,a(n.value),5);case 5:(100<(i=Date.now())-h||n.done)&&(o(i-h,d-p,_-d),p=d,h=i),n.done?e.close():(e.enqueue(n.value),t()),b(r)}}))}t()}}),y(v,l.arrayBuffer(),6);case 6:u=v.h;case 5:A(v,3);break;case 2:if(g=I(v),i.bf)throw new ot(1,1,7001,e,t);if(i.Mf)throw new ot(1,1,1003,e,t);throw new ot(1,1,1002,e,g,t);case 3:return E=$f(l.headers),v.return(Jf(E,u,l.status,e,l.url,t))}}))}(e,n,{body:t.body||void 0,headers:r,method:t.method,signal:a.signal,credentials:t.allowCrossSiteCredentials?"include":void 0},s,i,o,t.streamDataCallback),e=new ai(e,(function(){return s.bf=!0,a.abort(),Promise.resolve()})),t=t.retryParameters.timeout){var c=new Ht((function(){s.Mf=!0,a.abort()}));c.S(t/1e3),e.finally((function(){c.stop()}))}return e}function $f(e){var t={};return e.forEach((function(e,n){t[n.trim()]=e})),t}function Zf(){if(!e.ReadableStream)return!1;try{new ReadableStream({})}catch(e){return!1}return!!e.Response&&(!!new Response("").body&&!(!e.fetch||!e.AbortController))}hr.ism=function(){return new Wf},pr["application/vnd.ms-sstr+xml"]=function(){return new Wf},B("shaka.net.HttpFetchPlugin",qf),qf.isSupported=Zf,qf.parse=Xf;var Qf=e.fetch,em=e.AbortController,tm=e.ReadableStream,nm=e.Headers;function im(){}function om(e,t,n,i,o){var r=new am,a=Date.now(),s=0;return new ai(new Promise((function(c,l){r.open(t.method,e,!0),r.responseType="arraybuffer",r.timeout=t.retryParameters.timeout,r.withCredentials=t.allowCrossSiteCredentials,r.onabort=function(){l(new ot(1,1,7001,e,n))};var u=!1;for(var d in r.onreadystatechange=function(){if(2==r.readyState&&!u){var e=rm(r);o(e),u=!0}},r.onload=function(){var t=rm(r),i=r.response;try{var o=Jf(t,i,r.status,e,r.responseURL,n);c(o)}catch(e){l(e)}},r.onerror=function(t){l(new ot(1,1,1002,e,t,n))},r.ontimeout=function(){l(new ot(1,1,1003,e,n))},r.onprogress=function(e){var t=Date.now();(100<t-a||e.lengthComputable&&e.loaded==e.total)&&(i(t-a,e.loaded-s,e.total-e.loaded),s=e.loaded,a=t)},t.headers)r.setRequestHeader(d.toLowerCase(),t.headers[d]);r.send(t.body)})),(function(){return r.abort(),Promise.resolve()}))}function rm(e){var t=e.getAllResponseHeaders().trim().split("\r\n");e={};for(var n=(t=l(t)).next();!n.done;n=t.next())e[(n=n.value.split(": "))[0].toLowerCase()]=n.slice(1).join(": ");return e}Zf()&&(bi("http",Xf,2,!0),bi("https",Xf,2,!0),bi("blob",Xf,2,!0)),B("shaka.net.HttpXHRPlugin",im),im.parse=om;var am=e.XMLHttpRequest;function sm(e,t,n,i){this.g=e,this.i=t,this.groupId=n,this.h=i}function cm(e){return e.xa().map((function(e){return"{"+encodeURI(e)+"}"})).join("")+":"+e.Ca+":"+e.ka}function lm(e,t){return ps(e.g.xa(),e.g.Ca,e.g.ka,t.streaming.retryParameters)}function um(){this.h=this.j=this.i=0,this.g=new Map,this.l=0}function dm(e,t){e.i+=t;var n=e.l;return e.l++,e.g.set(n,t),n}function pm(e){var t=this;this.o=e,this.j=new Map,this.i=new Ni((function(){return hm(t).catch((function(){}))})),this.h=[],this.m=function(){},this.l=function(){},this.g=new um}function hm(e){var t=e.h.map((function(e){return e()}));return e.h=[],Promise.all(t)}function fm(e,t,n,i,o,r){Pi(e.i);var a=(e.j.get(t)||Promise.resolve()).then((function(){var t,a,s,c,l,u,d;return k((function(p){if(1==p.g)return y(p,function(e,t){var n,i,o,r;return k((function(a){return 1==a.g?(n=Oi,i=e.o.request(n,t),o=function(){return i.abort()},e.h.push(o),y(a,i.promise,2)):(r=a.h,pe(e.h,o),a.return(r.data))}))}(e,n),2);if(t=p.h,e.i.g)throw new ot(2,9,7001);if(o)for(c in a=oe(t),(s=new ho(a)).data)l=Number(c),u=s.data[l],d=s.g[l],e.l(u,d);e.g.close(i,t.byteLength);var h=e.g;return e.m(0==h.i?0:h.j/h.i,e.g.h),p.return(r(t))}))}));e.j.set(t,a)}function mm(e,t){var n=this;this.i=e,this.h=e.objectStore(t),this.g=new ri,e.onabort=function(e){e.preventDefault(),n.g.reject()},e.onerror=function(e){e.preventDefault(),n.g.reject()},e.oncomplete=function(){n.g.resolve()}}function _m(e,t){return new Promise((function(n,i){var o=e.h.openCursor();o.onerror=i,o.onsuccess=function(){var e;return k((function(i){if(1==i.g)return null==o.result?(n(),i.return()):(e=o.result,y(i,t(e.key,e.value,e),2));e.continue(),b(i)}))}}))}function gm(e){this.h=e,this.g=[]}function Em(e,t){return vm(e,t,"readwrite")}function vm(e,t,n){var i=new mm(n=e.h.transaction([t],n),t);return e.g.push(i),i.promise().then((function(){pe(e.g,i)}),(function(){pe(e.g,i)})),i}function ym(e,t,n){this.h=new gm(e),this.i=t,this.g=n}function bm(e){return Promise.reject(new ot(2,9,9011,"Cannot add new value to "+e))}function Sm(e,t,n,i){t=(e=Em(e.h,t)).store();for(var o={},r=(n=l(n)).next();!r.done;o={cd:o.cd},r=n.next())o.cd=r.value,t.delete(o.cd).onsuccess=function(e){return function(){return i(e.cd)}}(o);return e.promise()}function Tm(e,t,n){var i,o,r,a,s,c,u;return k((function(d){if(1==d.g){for(i=vm(e.h,t,"readonly"),o=i.store(),r={},a=[],s={},c=l(n),u=c.next();!u.done;s={sc:s.sc,pc:s.pc},u=c.next())s.pc=u.value,s.sc=o.get(s.pc),s.sc.onsuccess=function(e){return function(){null==e.sc.result&&a.push(e.pc),r[e.pc]=e.sc.result}}(s);return y(d,i.promise(),2)}if(a.length)throw new ot(2,9,9012,"Could not find values for "+a);return d.return(n.map((function(e){return r[e]})))}))}function Am(e){this.g=new gm(e)}function Im(){this.g=new Map}function Om(e){var t=null;if(e.g.forEach((function(e,n){e.getCells().forEach((function(e,i){e.hasFixedKeySpace()||t||(t={path:{Ga:n,oa:i},oa:e})}))})),t)return t;throw new ot(2,9,9013,"Could not find a cell that supports add-operations")}function Cm(e,t,n){if(!(e=e.g.get(t)))throw new ot(2,9,9013,"Could not find mechanism with name "+t);if(!(t=e.getCells().get(n)))throw new ot(2,9,9013,"Could not find cell with name "+n);return t}function Rm(e,t){Nm.set(e,t)}bi("http",om,1,!0),bi("https",om,1,!0),bi("blob",om,1,!0),um.prototype.close=function(e,t){if(this.g.has(e)){var n=this.g.get(e);this.g.delete(e),this.j+=n,this.h+=t}},pm.prototype.destroy=function(){return this.i.destroy()},mm.prototype.abort=function(){var e=this;return k((function(t){if(1==t.g){try{e.i.abort()}catch(e){}return S(t,2),y(t,e.g,4)}if(2!=t.g)return A(t,0);I(t),b(t)}))},mm.prototype.store=function(){return this.h},mm.prototype.promise=function(){return this.g},gm.prototype.destroy=function(){return Promise.all(this.g.map((function(e){return e.abort()})))},(i=ym.prototype).destroy=function(){return this.h.destroy()},i.hasFixedKeySpace=function(){return!0},i.addSegments=function(){return bm(this.i)},i.removeSegments=function(e,t){return Sm(this,this.i,e,t)},i.getSegments=function(e){var t,n=this;return k((function(i){return 1==i.g?y(i,Tm(n,n.i,e),2):(t=i.h,i.return(t.map((function(e){return n.df(e)}))))}))},i.addManifests=function(){return bm(this.g)},i.updateManifest=function(){return Promise.reject(new ot(2,9,9016,"Cannot modify values in "+this.g))},i.updateManifestExpiration=function(e,t){var n=Em(this.h,this.g),i=n.store();return i.get(e).onsuccess=function(n){(n=n.target.result)&&(n.expiration=t,i.put(n,e))},n.promise()},i.removeManifests=function(e,t){return Sm(this,this.g,e,t)},i.getManifests=function(e){var t,n=this;return k((function(i){return 1==i.g?y(i,Tm(n,n.g,e),2):(t=i.h,i.return(Promise.all(t.map((function(e){return n.Cc(e)})))))}))},i.getAllManifests=function(){var e,t,n=this;return k((function(i){return 1==i.g?(e=vm(n.h,n.g,"readonly"),t=new Map,y(i,_m(e,(function(e,i){var o;return k((function(r){if(1==r.g)return y(r,n.Cc(i),2);o=r.h,t.set(e,o),b(r)}))})),2)):3!=i.g?y(i,e.promise(),3):i.return(t)}))},i.df=function(e){return e},i.Cc=function(e){return Promise.resolve(e)},i.add=function(e,t){var n,i,o,r,a,s,c,u=this;return k((function(d){if(1==d.g){for(n=Em(u.h,e),i=n.store(),o=[],r={},a=l(t),s=a.next();!s.done;r={ed:r.ed},s=a.next())c=s.value,r.ed=i.add(c),r.ed.onsuccess=function(e){return function(){o.push(e.ed.result)}}(r);return y(d,n.promise(),2)}return d.return(o)}))},Am.prototype.destroy=function(){return this.g.destroy()},Am.prototype.getAll=function(){var e,t,n=this;return k((function(i){return 1==i.g?(e=vm(n.g,"session-ids","readonly"),t=[],y(i,_m(e,(function(e,n){t.push(n)})),2)):3!=i.g?y(i,e.promise(),3):i.return(t)}))},Am.prototype.add=function(e){for(var t=Em(this.g,"session-ids"),n=t.store(),i=(e=l(e)).next();!i.done;i=e.next())n.add(i.value);return t.promise()},Am.prototype.remove=function(e){var t,n=this;return k((function(i){return 1==i.g?y(i,_m(t=Em(n.g,"session-ids"),(function(t,n,i){e.includes(n.sessionId)&&i.delete()})),2):y(i,t.promise(),0)}))},Im.prototype.destroy=function(){for(var e=[],t=l(this.g.values()),n=t.next();!n.done;n=t.next())e.push(n.value.destroy());return this.g.clear(),Promise.all(e)},Im.prototype.init=function(){var e=this;Nm.forEach((function(t,n){(t=t())&&e.g.set(n,t)}));for(var t=[],n=l(this.g.values()),i=n.next();!i.done;i=n.next())t.push(i.value.init());return Promise.all(t)},B("shaka.offline.StorageMuxer",Im),Im.unregister=function(e){Nm.delete(e)},Im.register=Rm,Im.prototype.destroy=Im.prototype.destroy;var Nm=new Map;function Pm(){ym.apply(this,arguments)}function Lm(e,t){!function(e){var t=e.streams.filter((function(e){return"audio"==e.contentType}));if(e=e.streams.filter((function(e){return"video"==e.contentType})),!t.every((function(e){return e.variantIds}))||!e.every((function(e){return e.variantIds}))){for(var n=l(t),i=n.next();!i.done;i=n.next())i.value.variantIds=[];for(i=(n=l(e)).next();!i.done;i=n.next())i.value.variantIds=[];if(n=0,e.length&&!t.length){var o=n++,r=l(e);for(i=r.next();!i.done;i=r.next())i.value.variantIds.push(o)}if(!e.length&&t.length)for(o=n++,i=(r=l(t)).next();!i.done;i=r.next())i.value.variantIds.push(o);if(e.length&&t.length)for(i=(t=l(t)).next();!i.done;i=t.next())for(i=i.value,r=(o=l(e)).next();!r.done;r=o.next()){r=r.value;var a=n++;i.variantIds.push(a),r.variantIds.push(a)}}}(e);for(var n=l(e.streams),i=n.next();!i.done;i=n.next());return e.streams.map((function(n){return function(e,t,n){var i=e.initSegmentUri?km(e.initSegmentUri):null,o=t+e.presentationTimeOffset,r=t+n;return{id:e.id,originalId:null,primary:e.primary,type:e.contentType,mimeType:e.mimeType,codecs:e.codecs,frameRate:e.frameRate,pixelAspectRatio:void 0,hdr:void 0,kind:e.kind,language:e.language,originalLanguage:e.language||null,label:e.label,width:e.width,height:e.height,initSegmentKey:i,encrypted:e.encrypted,keyIds:new Set([e.keyId]),segments:e.segments.map((function(e){var n=km(e.uri);return{startTime:t+e.startTime,endTime:t+e.endTime,dataKey:n,initSegmentKey:i,appendWindowStart:t,appendWindowEnd:r,timestampOffset:o,tilesLayout:""}})),variantIds:e.variantIds,roles:[],forced:!1,audioSamplingRate:null,channelsCount:null,spatialAudio:!1,closedCaptions:null,tilesLayout:void 0,external:!1}}(n,e.startTime,t)}))}function km(e){var t;if((t=/^offline:[0-9]+\/[0-9]+\/([0-9]+)$/.exec(e))||(t=/^offline:segment\/([0-9]+)$/.exec(e)))return Number(t[1]);throw new ot(2,9,9004,"Could not parse uri "+e)}function wm(){ym.apply(this,arguments)}function Dm(e,t,n){return{id:e.id,originalId:e.originalId,primary:e.primary,type:e.contentType,mimeType:e.mimeType,codecs:e.codecs,frameRate:e.frameRate,pixelAspectRatio:e.pixelAspectRatio,hdr:void 0,kind:e.kind,language:e.language,originalLanguage:e.language||null,label:e.label,width:e.width,height:e.height,encrypted:e.encrypted,keyIds:new Set([e.keyId]),segments:e.segments.map((function(i){return{startTime:t+i.startTime,endTime:t+i.endTime,initSegmentKey:e.initSegmentKey,appendWindowStart:t,appendWindowEnd:n,timestampOffset:t-e.presentationTimeOffset,dataKey:i.dataKey,tilesLayout:""}})),variantIds:e.variantIds,roles:[],forced:!1,audioSamplingRate:null,channelsCount:null,spatialAudio:!1,closedCaptions:null,tilesLayout:void 0,external:!1}}function Mm(){ym.apply(this,arguments)}function xm(){this.m=this.j=this.i=this.h=this.g=this.l=null}function Um(e,t,n,i){this.g=e,this.i=t,this.h=n,this.l=i,this.j=["offline:",e,"/",t,"/",n,"/",i].join("")}function Vm(e){if(null==(e=/^offline:([a-z]+)\/([^/]+)\/([^/]+)\/([0-9]+)$/.exec(e)))return null;var t=e[1];if("manifest"!=t&&"segment"!=t)return null;var n=e[2];if(!n)return null;var i=e[3];return i&&null!=t?new Um(t,n,i,Number(e[4])):null}function Fm(e,t){this.h=e,this.g=t}function Bm(e,t){var n=new Ia(null,0);n.Ba(t.duration);var i=t.streams.filter((function(e){return"audio"==e.type})),o=t.streams.filter((function(e){return"video"==e.type}));i=function(e,t,n,i){for(var o=new Set,r=l(t),a=r.next();!a.done;a=r.next()){var s=l(a.value.variantIds);for(a=s.next();!a.done;a=s.next())o.add(a.value)}for(r=l(n),a=r.next();!a.done;a=r.next())for(s=l(a.value.variantIds),a=s.next();!a.done;a=s.next())o.add(a.value);for(r=new Map,o=l(o),a=o.next();!a.done;a=o.next())a=a.value,r.set(a,{id:a,language:"",disabledUntilTime:0,primary:!1,audio:null,video:null,bandwidth:0,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]});for(t=l(t),o=t.next();!o.done;o=t.next())for(o=o.value,a=Hm(e,o,i),s=l(o.variantIds),o=s.next();!o.done;o=s.next())(o=r.get(o.value)).language=a.language,o.primary=o.primary||a.primary,o.audio=a;for(n=l(n),t=n.next();!t.done;t=n.next())for(o=t.value,t=Hm(e,o,i),a=l(o.variantIds),o=a.next();!o.done;o=a.next())(o=r.get(o.value)).primary=o.primary||t.primary,o.video=t;return r}(e,i,o,n),o=t.streams.filter((function(e){return e.type==ht})).map((function(t){return Hm(e,t,n)}));var r=t.streams.filter((function(e){return"image"==e.type})).map((function(t){return Hm(e,t,n)})),a=t.drmInfo?[t.drmInfo]:[];if(t.drmInfo)for(var s=l(i.values()),c=s.next();!c.done;c=s.next())(c=c.value).audio&&c.audio.encrypted&&(c.audio.drmInfos=a),c.video&&c.video.encrypted&&(c.video.drmInfos=a);return{presentationTimeline:n,minBufferTime:2,offlineSessionIds:t.sessionIds,variants:Array.from(i.values()),textStreams:o,imageStreams:r,sequenceMode:t.sequenceMode||!1,ignoreManifestTimestampsInSegmentsMode:!1,type:t.type||"UNKNOWN",serviceDescription:null}}function Hm(e,t,n){var i=t.segments.map((function(t){return function(e,t){var n=new Um("segment",e.h,e.g,t.dataKey);return new Er(t.startTime,t.endTime,(function(){return[n.toString()]}),0,null,null!=t.initSegmentKey?function(e,t){var n=new Um("segment",e.h,e.g,t);return new gr((function(){return[n.toString()]}),0,null)}(e,t.initSegmentKey):null,t.timestampOffset,t.appendWindowStart,t.appendWindowEnd,[],t.tilesLayout||"")}(e,t)}));return n.Qc(i),{id:t.id,originalId:t.originalId,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:new Ya(i),mimeType:t.mimeType,codecs:t.codecs,width:t.width||void 0,height:t.height||void 0,frameRate:t.frameRate,pixelAspectRatio:t.pixelAspectRatio,hdr:t.hdr,kind:t.kind,encrypted:t.encrypted,drmInfos:[],keyIds:t.keyIds,language:t.language,originalLanguage:t.originalLanguage||null,label:t.label,type:t.type,primary:t.primary,trickModeVideo:null,emsgSchemeIdUris:null,roles:t.roles,forced:t.forced,channelsCount:t.channelsCount,audioSamplingRate:t.audioSamplingRate,spatialAudio:t.spatialAudio,closedCaptions:t.closedCaptions,tilesLayout:t.tilesLayout,accessibilityPurpose:null,external:t.external}}function Gm(){this.g=null}function Wm(){}function jm(e){var t=Vm(e);return t&&"manifest"==t.g?e=li(e={uri:e,originalUri:e,data:new ArrayBuffer(0),headers:{"content-type":"application/x-offline-manifest"}}):e=t&&"segment"==t.g?function(e,t){var n=new Im;return li(void 0).fa((function(){return n.init()})).fa((function(){return Cm(n,t.Ga(),t.oa())})).fa((function(e){return e.getSegments([t.key()])})).fa((function(e){return{uri:t,data:e[0].data,headers:{}}})).finally((function(){return n.destroy()}))}(t.key(),t):si(new ot(2,1,9004,e)),e}function Ym(e,t,n){var i,o,r,a,s,c;return k((function(u){switch(u.g){case 1:i=[];for(var d=[],p=l(n),h=p.next();!h.done;h=p.next()){h=h.value;for(var f=!1,m=l(d),_=m.next();!_.done;_=m.next())if(zm((_=_.value).info,h)){_.sessionIds.push(h.sessionId),f=!0;break}f||d.push({info:h,sessionIds:[h.sessionId]})}o=l(d),r=o.next();case 2:if(r.done){u.B(4);break}return a=r.value,s=function(e,t,n){var i,o;return k((function(r){switch(r.g){case 1:return i=new xo({Ib:t,onError:function(){},Jd:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),S(r,2),i.configure(e),y(r,function(e,t,n,i,o,r){var a=new Map;return(o={audioCapabilities:o,videoCapabilities:r,distinctiveIdentifier:"optional",persistentState:"required",sessionTypes:["persistent-license"],label:t}).drmInfos=[{keySystem:t,licenseServerUri:n,distinctiveIdentifierRequired:!1,persistentStateRequired:!0,audioRobustness:"",videoRobustness:"",serverCertificate:i,serverCertificateUri:"",initData:null,keyIds:null}],a.set(t,o),Yo(e,a,[])}(i,n.info.keySystem,n.info.licenseUri,n.info.serverCertificate,n.info.audioCapabilities,n.info.videoCapabilities),4);case 4:A(r,3);break;case 2:return I(r),y(r,i.destroy(),5);case 5:case 9:return r.return([]);case 3:return S(r,6),y(r,Bo(i),8);case 8:A(r,7);break;case 6:return I(r),y(r,i.destroy(),9);case 7:return o=[],y(r,Promise.all(n.sessionIds.map((function(e){return k((function(t){return 1==t.g?(S(t,2),y(t,function(e,t){var n,i,o;return k((function(r){return 1==r.g?y(r,Jo(e,t,{initData:null,initDataType:null}),2):3!=r.g?(n=r.h)?(i=[],(o=e.i.get(n))&&(o.Xa=new ri,i.push(o.Xa)),i.push(n.remove()),y(r,Promise.all(i),3)):r.return():(e.i.delete(n),void b(r))}))}(i,e),4)):2!=t.g?(o.push(e),A(t,0)):(I(t),void b(t))}))}))),10);case 10:return y(r,i.destroy(),11);case 11:return r.return(o)}}))}(e,t,a),y(u,s,5);case 5:c=u.h,i=i.concat(c),r=o.next(),u.B(2);break;case 4:return u.return(i)}}))}function zm(e,t){function n(e,t){return e.robustness==t.robustness&&e.contentType==t.contentType}return e.keySystem==t.keySystem&&e.licenseUri==t.licenseUri&&he(e.audioCapabilities,t.audioCapabilities,n)&&he(e.videoCapabilities,t.videoCapabilities,n)}function Km(e,t){var n=Bm(new Fm(e.Ga(),e.oa()),t),i=t.appMetadata||{};return n=Jm(n),{offlineUri:e.toString(),originalManifestUri:t.originalManifestUri,duration:t.duration,size:t.size,expiration:t.expiration,tracks:n,appMetadata:i,isIncomplete:t.isIncomplete||!1}}function Jm(e){for(var t=[],n=In(e.variants),i=(n=l(n)).next();!i.done;i=n.next())t.push(gn(i.value));for(n=(e=l(e.textStreams)).next();!n.done;n=e.next())t.push(En(n.value));return t}function qm(){this.g={}}function Xm(e,t){var n=t.audio,i=t.video;if(n&&!i&&(e.g[n.id]=n.bandwidth||t.bandwidth),!n&&i&&(e.g[i.id]=i.bandwidth||t.bandwidth),n&&i){var o=n.bandwidth||393216,r=i.bandwidth||t.bandwidth-o;0>=r&&(r=t.bandwidth),e.g[n.id]=o,e.g[i.id]=r}}function $m(e,t){e.g[t.id]=t.bandwidth||2048}function Zm(e,t){return null==(e=e.g[t])&&(e=0),e}function Qm(e){var t=this;if(e&&e.constructor!=Ac)throw new ot(2,9,9008);this.g=this.h=null,e?(this.h=e.g,this.g=e.Bb()):(this.h=_c(),this.g=new yi),this.i=[],this.j=[];var n=!e;this.l=new Ni((function(){var e,i,o,r,a;return k((function(s){switch(s.g){case 1:return y(s,Promise.all(t.j.map((function(e){return hm(e)}))),2);case 2:for(e=function(){},i=[],o=l(t.i),r=o.next();!r.done;r=o.next())a=r.value,i.push(a.then(e,e));return y(s,Promise.all(i),3);case 3:if(!n){s.B(4);break}return y(s,t.g.destroy(),4);case 4:t.h=null,t.g=null,b(s)}}))}))}function e_(){if(Gt())e:{for(var e=l(Nm.values()),t=e.next();!t.done;t=e.next())if(t=(t=t.value)()){t.destroy(),e=!0;break e}e=!1}else e=!1;return e}function t_(e){var t,n,i;return k((function(o){switch(o.g){case 1:return y(o,(t=new Im).init(),2);case 2:return y(o,Om(t),3);case 3:return n=o.h,i=new Um("manifest",n.path.Ga,n.path.oa,e),y(o,t.destroy(),4);case 4:return y(o,(new Qm).remove(i.toString()),0)}}))}function n_(e,t,n,i,o,r){var a,s,c,u,d,p,h,f,m,_,g;return k((function(E){switch(E.g){case 1:for(a=!1,S(E,2),s=!0,c=l(n.streams),u=c.next();!u.done;u=c.next())for(d=u.value,p=l(d.segments),h=p.next();!h.done;h=p.next())f=h.value,null!=(m=f.pendingSegmentRefId?i[f.pendingSegmentRefId]:null)&&(f.dataKey=m,f.pendingSegmentRefId=void 0),null!=(m=f.pendingInitSegmentRefId?i[f.pendingInitSegmentRefId]:null)&&(f.initSegmentKey=m,f.pendingInitSegmentRefId=void 0),f.pendingSegmentRefId&&(s=!1),f.pendingInitSegmentRefId&&(s=!1);return n.size+=o,s&&(n.isIncomplete=!1),y(E,e.updateManifest(t,n),4);case 4:a=!0,r(),A(E,0);break;case 2:return _=I(E),y(E,t_(t),5);case 5:if(a){E.B(6);break}return g=Object.values(i),y(E,e.removeSegments(g,(function(){})),6);case 6:throw _}}))}function i_(e){return e.variants.some((function(e){var t=e.audio&&e.audio.encrypted;return e.video&&e.video.encrypted||t}))}function o_(e){return e.variants.some((function(e){return(e.video?e.video.drmInfos:[]).concat(e.audio?e.audio.drmInfos:[]).some((function(e){return e.initData&&e.initData.length}))}))}function r_(e,t){for(var n=[],i=l(e.streams),o=i.next();!o.done;o=i.next())o=o.value,t&&"video"==o.type?n.push({contentType:gt(o.mimeType,o.codecs),robustness:e.drmInfo.videoRobustness}):t||"audio"!=o.type||n.push({contentType:gt(o.mimeType,o.codecs),robustness:e.drmInfo.audioRobustness});return n}function a_(e,t,n){return k((function(i){return y(i,function(e,t,n,i){var o,r,a;return k((function(s){return 1==s.g?i.drmInfo?(o=function(e){var t=Array.from(e.g.keys());if(!t.length)throw new ot(2,9,9e3,"No supported storage mechanisms found");return e.g.get(t[0]).getEmeSessionCell()}(n),r=i.sessionIds.map((function(e){return{sessionId:e,keySystem:i.drmInfo.keySystem,licenseUri:i.drmInfo.licenseServerUri,serverCertificate:i.drmInfo.serverCertificate,audioCapabilities:r_(i,!1),videoCapabilities:r_(i,!0)}})),y(s,Ym(t,e,r),2)):s.return():3!=s.g?(a=s.h,y(s,o.remove(a),3)):y(s,o.add(r.filter((function(e){return!a.includes(e.sessionId)}))),0)}))}(e.g,e.h.drm,n,t),0)}))}function s_(e,t,n){function i(){}var o=function(e){for(var t=new Set,n=(e=l(e.streams)).next();!n.done;n=e.next())for(var i=(n=l(n.value.segments)).next();!i.done;i=n.next())null!=(i=i.value).initSegmentKey&&t.add(i.initSegmentKey),t.add(i.dataKey);return Array.from(t)}(n);return Km(t,n),Promise.all([e.removeSegments(o,i),e.removeManifests([t.key()],i)])}function c_(e,t,n,i,o,r){var a={id:i.id,originalId:i.originalId,primary:i.primary,type:i.type,mimeType:i.mimeType,codecs:i.codecs,frameRate:i.frameRate,pixelAspectRatio:i.pixelAspectRatio,hdr:i.hdr,kind:i.kind,language:i.language,originalLanguage:i.originalLanguage,label:i.label,width:i.width||null,height:i.height||null,encrypted:i.encrypted,keyIds:i.keyIds,segments:[],variantIds:[],roles:i.roles,forced:i.forced,channelsCount:i.channelsCount,audioSamplingRate:i.audioSamplingRate,spatialAudio:i.spatialAudio,closedCaptions:i.closedCaptions,tilesLayout:i.tilesLayout,external:i.external},s=o.offline.numberOfParallelDownloads,c=0;return function(e,t,n){if(t=e.segmentIndex.find(t),null!=t)for(var i=e.segmentIndex.get(t);i;)n(i),i=e.segmentIndex.get(++t)}(i,n.presentationTimeline.fb(),(function(n){var o=cm(n),l=void 0;if(!r.has(o)){var u=n.endTime-n.startTime;u=Zm(t,i.id)*u,u=dm(e.g,u),r.set(o,new sm(n,u,c,!1))}n.h&&(l=cm(n.h),r.has(l)||(u=.5*Zm(t,i.id),u=dm(e.g,u),r.set(l,new sm(n.h,u,c,!0)))),a.segments.push({pendingInitSegmentRefId:l,initSegmentKey:l?0:null,startTime:n.startTime,endTime:n.endTime,appendWindowStart:n.appendWindowStart,appendWindowEnd:n.appendWindowEnd,timestampOffset:n.timestampOffset,tilesLayout:n.tilesLayout,pendingSegmentRefId:o,dataKey:0}),c=(c+1)%s})),a}function l_(e){if(e.l.g)throw new ot(2,9,7001)}function u_(){if(!e_())throw new ot(2,9,9e3)}function d_(e,t){return k((function(n){return 1==n.g?(e.i.push(t),T(n),y(n,t,4)):2!=n.g?n.return(n.h):(O(n),pe(e.i,t),C(n,0))}))}function p_(e){for(var t=new Set,n=l(e.textStreams),i=n.next();!i.done;i=n.next())t.add(i.value);for(i=(n=l(e.imageStreams)).next();!i.done;i=n.next())t.add(i.value);for(n=(e=l(e.variants)).next();!n.done;n=e.next())(n=n.value).audio&&t.add(n.audio),n.video&&t.add(n.video);return t}_(Pm,ym),Pm.prototype.updateManifestExpiration=function(e,t){var n,i,o,r=this;return k((function(a){return n=Em(r.h,r.g),i=n.store(),o=new ri,i.get(e).onsuccess=function(n){(n=n.target.result)?(n.expiration=t,i.put(n),o.resolve()):o.reject(new ot(2,9,9012,"Could not find values for "+e))},y(a,Promise.all([n.promise(),o]),0)}))},Pm.prototype.Cc=function(e){var t,n,i,o,r,a;return k((function(s){if(1==s.g){for(t=[],n=0;n<e.periods.length;++n)i=n==e.periods.length-1?e.duration:e.periods[n+1].startTime,o=i-e.periods[n].startTime,r=Lm(e.periods[n],o),t.push(r);return y(s,Tp(t),2)}return a=s.h,s.return({creationTime:0,originalManifestUri:e.originalManifestUri,duration:e.duration,size:e.size,expiration:null==e.expiration?1/0:e.expiration,streams:a,sessionIds:e.sessionIds,drmInfo:e.drmInfo,appMetadata:e.appMetadata,sequenceMode:!1})}))},Pm.prototype.df=function(e){return{data:e.data}},_(wm,ym),wm.prototype.Cc=function(e){var t,n,i,o,r,a;return k((function(s){if(1==s.g){for(t=[],n=0;n<e.periods.length;++n){i=n==e.periods.length-1?e.duration:e.periods[n+1].startTime,o=i-e.periods[n].startTime;for(var c=e.periods[n],u=[],d=l(c.streams),p=d.next();!p.done;p=d.next())0!=(p=p.value).variantIds.length&&u.push(Dm(p,c.startTime,c.startTime+o));r=u,t.push(r)}return y(s,Tp(t),2)}return a=s.h,s.return({appMetadata:e.appMetadata,creationTime:0,drmInfo:e.drmInfo,duration:e.duration,expiration:null==e.expiration?1/0:e.expiration,originalManifestUri:e.originalManifestUri,sessionIds:e.sessionIds,size:e.size,streams:a,sequenceMode:!1})}))},_(Mm,ym),(i=Mm.prototype).hasFixedKeySpace=function(){return!1},i.addSegments=function(e){return this.add(this.i,e)},i.addManifests=function(e){return this.add(this.g,e)},i.updateManifest=function(e,t){return function(e,t,n){var i=(e=Em(e.h,e.g)).store();return i.get(t).onsuccess=function(){i.put(n,t)},e.promise()}(this,e,t)},i.Cc=function(e){return null==e.expiration&&(e.expiration=1/0),Promise.resolve(e)},(i=xm.prototype).init=function(){var t=this,n=new ri,i=!1,o=new Ht((function(){i=!0,n.reject(new ot(2,9,9017))}));o.S(5);var r=e.indexedDB.open("shaka_offline_db",5);return r.onsuccess=function(){if(!i){var e=r.result;t.l=e;var a=e.objectStoreNames;a=a.contains("manifest")&&a.contains("segment")?new Pm(e,"segment","manifest"):null,t.g=a,a=(a=e.objectStoreNames).contains("manifest-v2")&&a.contains("segment-v2")?new wm(e,"segment-v2","manifest-v2"):null,t.h=a,a=(a=e.objectStoreNames).contains("manifest-v3")&&a.contains("segment-v3")?new wm(e,"segment-v3","manifest-v3"):null,t.i=a,a=(a=e.objectStoreNames).contains("manifest-v5")&&a.contains("segment-v5")?new Mm(e,"segment-v5","manifest-v5"):null,t.j=a,e=e.objectStoreNames.contains("session-ids")?new Am(e):null,t.m=e,o.stop(),n.resolve()}},r.onupgradeneeded=function(){for(var e=r.result,t=l(["segment-v5","manifest-v5","session-ids"]),n=t.next();!n.done;n=t.next())n=n.value,e.objectStoreNames.contains(n)||e.createObjectStore(n,{autoIncrement:!0})},r.onerror=function(e){i||(n.reject(new ot(2,9,9001,r.error)),o.stop(),e.preventDefault())},n},i.destroy=function(){var e=this;return k((function(t){switch(t.g){case 1:if(!e.g){t.B(2);break}return y(t,e.g.destroy(),2);case 2:if(!e.h){t.B(4);break}return y(t,e.h.destroy(),4);case 4:if(!e.i){t.B(6);break}return y(t,e.i.destroy(),6);case 6:if(!e.j){t.B(8);break}return y(t,e.j.destroy(),8);case 8:if(!e.m){t.B(10);break}return y(t,e.m.destroy(),10);case 10:e.l&&e.l.close(),b(t)}}))},i.getCells=function(){var e=new Map;return this.g&&e.set("v1",this.g),this.h&&e.set("v2",this.h),this.i&&e.set("v3",this.i),this.j&&e.set("v5",this.j),e},i.getEmeSessionCell=function(){return this.m},i.erase=function(){var t=this;return k((function(n){switch(n.g){case 1:if(!t.g){n.B(2);break}return y(n,t.g.destroy(),2);case 2:if(!t.h){n.B(4);break}return y(n,t.h.destroy(),4);case 4:if(!t.i){n.B(6);break}return y(n,t.i.destroy(),6);case 6:if(!t.j){n.B(8);break}return y(n,t.j.destroy(),8);case 8:return t.l&&t.l.close(),y(n,function(){var t=new ri,n=e.indexedDB.deleteDatabase("shaka_offline_db");return n.onblocked=function(){},n.onsuccess=function(){t.resolve()},n.onerror=function(e){t.reject(new ot(2,9,9001,n.error)),e.preventDefault()},t}(),10);case 10:return t.l=null,t.g=null,t.h=null,t.i=null,t.j=null,y(n,t.init(),0)}}))},Rm("idb",(function(){return $t("CrKey")||Yt()||!e.indexedDB?null:new xm})),Um.prototype.Ga=function(){return this.i},Um.prototype.oa=function(){return this.h},Um.prototype.key=function(){return this.l},Um.prototype.toString=function(){return this.j},(i=Gm.prototype).configure=function(){},i.start=function(e,t){var n,i,o,r,a,s,c=this;return k((function(l){switch(l.g){case 1:if(n=Vm(e),c.g=n,null==n||"manifest"!=n.g)throw new ot(2,1,9004,e);return i=new Im,T(l),y(l,i.init(),4);case 4:return y(l,Cm(i,n.Ga(),n.oa()),5);case 5:return y(l,l.h.getManifests([n.key()]),6);case 6:return o=l.h,r=o[0],a=new Fm(n.Ga(),n.oa()),s=Bm(a,r),t.makeTextStreamsForClosedCaptions(s),l.return(s);case 2:return O(l),y(l,i.destroy(),7);case 7:C(l,0)}}))},i.stop=function(){return Promise.resolve()},i.update=function(){},i.onExpirationUpdated=function(e,t){var n,i,o,r,a,s,c,l=this;return k((function(u){switch(u.g){case 1:return n=l.g,i=new Im,S(u,2,3),y(u,i.init(),5);case 5:return y(u,Cm(i,n.Ga(),n.oa()),6);case 6:return y(u,(o=u.h).getManifests([n.key()]),7);case 7:if(r=u.h,a=r[0],s=a.sessionIds.includes(e),c=null==a.expiration||a.expiration>t,!s||!c){u.B(3);break}return y(u,o.updateManifestExpiration(n.key(),t),3);case 3:return O(u),y(u,i.destroy(),10);case 10:C(u,0);break;case 2:I(u),u.B(3)}}))},pr["application/x-offline-manifest"]=function(){return new Gm},B("shaka.offline.OfflineScheme",Wm),Wm.plugin=jm,bi("offline",jm),(i=Qm.prototype).destroy=function(){return this.l.destroy()},i.configure=function(e,t){return 2==arguments.length&&"string"==typeof e&&(e=cc(e,t)),gc(this.h,e)},i.getConfiguration=function(){var e=_c();return gc(e,this.h,_c()),e},i.Bb=function(){return this.g},i.store=function(e,t,n){var i=this,o=this.getConfiguration(),r=new pm(this.g);return this.j.push(r),t=function(e,t,n,i,o,r){var a,s,c,u,d,p,h,f,m,_,g,E,v;return k((function(T){switch(T.g){case 1:return u_(),s=a=null,c=new Im,p=d=u=null,S(T,2,3),y(T,i(),5);case 5:return a=T.h,y(T,function(e,t,n,i){var o,r,a,s,c;return k((function(l){if(1==l.g)return o=null,r=e.g,a={networkingEngine:r,filter:function(){return Promise.resolve()},makeTextStreamsForClosedCaptions:function(){},onTimelineRegionAdded:function(){},onEvent:function(){},onError:function(e){o=e},isLowLatencyMode:function(){return!1},isAutoLowLatencyMode:function(){return!1},enableLowLatencyMode:function(){},updateDuration:function(){},newDrmInfo:function(){}},n.configure(i.manifest),l_(e),y(l,n.start(t,a),2);if(3!=l.g)return s=l.h,l_(e),c=p_(s),y(l,Promise.all(Di(c,(function(e){return e.createSegmentIndex()}))),3);if(l_(e),o)throw o;return l.return(s)}))}(e,t,a,o),6);case 6:if(h=T.h,l_(e),!(!h.presentationTimeline.T()&&!h.presentationTimeline.Gb()))throw new ot(2,9,9005,t);return y(T,function(e,t,n,i){var o;return k((function(r){switch(r.g){case 1:return(o=new xo({Ib:e.g,onError:n,Jd:function(){},onExpirationUpdated:function(){},onEvent:function(){}})).configure(i.drm),y(r,function(e,t,n){return e.ga=!0,e.u=new Map,e.M=n,Vo(e,t)}(o,t.variants,i.offline.usePersistentLicense),2);case 2:return y(r,Bo(o),3);case 3:return y(r,Ho(o),4);case 4:return r.return(o)}}))}(e,h,(function(e){p=p||e}),o),7);case 7:if(s=T.h,l_(e),p)throw p;return y(T,function(e,t){var n,i,o,r,a,s,c,u,d,p,h,f,m,_,g,E,v,T,O,C,R,N,P,L,w,D,M,x;return k((function(k){switch(k.g){case 1:return n={width:1/0,height:1/0},function(e,t,n){e.variants=e.variants.filter((function(e){return an(e,t,n)}))}(e,t.restrictions,n),y(k,cn(e,t.offline.usePersistentLicense),2);case 2:for(i=[],o=t.preferredAudioChannelCount,r=t.preferredDecodingAttributes,a=t.preferredVideoCodecs,s=t.preferredAudioCodecs,nn(e,a,s,o,r),c=l(e.variants),u=c.next();!u.done;u=c.next())d=u.value,i.push(gn(d));for(p=l(e.textStreams),h=p.next();!h.done;h=p.next())f=h.value,i.push(En(f));for(m=l(e.imageStreams),_=m.next();!_.done;_=m.next())g=_.value,i.push(vn(g));return y(k,t.offline.trackSelectionCallback(i),3);case 3:for(E=k.h,v=e.presentationTimeline.getDuration(),T=0,O=l(E),C=O.next();!C.done;C=O.next())R=C.value,N=R.bandwidth*v/8,T+=N;return S(k,4),y(k,t.offline.downloadSizeCallback(T),6);case 6:if(!k.h)throw new ot(2,9,9014);A(k,5);break;case 4:if((P=I(k))instanceof ot)throw P;throw new ot(2,9,9015);case 5:for(L=new Set,w=new Set,D=new Set,M=l(E),C=M.next();!C.done;C=M.next())"variant"==(x=C.value).type&&L.add(x.id),"text"==x.type&&w.add(x.id),"image"==x.type&&D.add(x.id);e.variants=e.variants.filter((function(e){return L.has(e.id)})),e.textStreams=e.textStreams.filter((function(e){return w.has(e.id)})),e.imageStreams=e.imageStreams.filter((function(e){return D.has(e.id)})),function(e){e.variants.map((function(e){return e.video}));var t=new Set(e.variants.map((function(e){return e.audio})));e=e.textStreams;for(var n=l(t),i=n.next();!i.done;i=n.next())for(var o=(i=l(t)).next();!o.done;o=i.next());for(t=l(e),n=t.next();!n.done;n=t.next())for(n=l(e),i=n.next();!i.done;i=n.next());}(e),b(k)}}))}(h,o),8);case 8:return y(T,c.init(),9);case 9:return l_(e),y(T,Om(c),10);case 10:return u=T.h,l_(e),f=function(e,t,n,i,o,r){var a=function(e,t,n){return{offlineUri:null,originalManifestUri:e,duration:t.presentationTimeline.getDuration(),size:0,expiration:1/0,tracks:t=Jm(t),appMetadata:n,isIncomplete:!1}}(n,t,i),s=o.offline.progressCallback;!function(e,t,n){e.m=t,e.l=n}(r,(function(e,t){a.size=t,s(a,e)}),(function(t,n){c&&o.offline.usePersistentLicense&&u==n&&Go(e,"cenc",t)}));var c=i_(t)&&!o_(t),u=null;c&&(u=h_.get(e.g.keySystem));for(var d=new qm,p=l(t.textStreams),h=p.next();!h.done;h=p.next())d.g[h.value.id]=52;for(p=l(t.imageStreams),h=p.next();!h.done;h=p.next())$m(d,h.value);for(h=l(t.variants),p=h.next();!p.done;p=h.next())Xm(d,p.value);return d=function(e,t,n,i){for(var o=new Map,r=p_(n),a=new Map,s=(r=l(r)).next();!s.done;s=r.next()){var c=c_(e,t,n,s=s.value,i,o);a.set(s.id,c)}for(e=l(n.variants),t=e.next();!t.done;t=e.next())(t=t.value).audio&&a.get(t.audio.id).variantIds.push(t.id),t.video&&a.get(t.video.id).variantIds.push(t.id);return{streams:Array.from(a.values()),Se:Array.from(o.values())}}(r,d,t,o),r=d.streams,d=d.Se,h=e.g,p=o.offline.usePersistentLicense,h&&p&&(h.initData=[]),{Pg:{creationTime:Date.now(),originalManifestUri:n,duration:t.presentationTimeline.getDuration(),size:0,expiration:e.Ic(),streams:r,sessionIds:p?jo(e):[],drmInfo:h,appMetadata:i,isIncomplete:!0,sequenceMode:t.sequenceMode,type:t.type},Se:d}}(s,h,t,n,o,r),m=f.Pg,_=f.Se,y(T,u.oa.addManifests([m]),11);case 11:if(g=T.h,l_(e),d=g[0],l_(e),p)throw p;return y(T,function(e,t,n,i,o,r,a,s,c){var u,d,p,h,f,m,_,g,E,v;return k((function(T){switch(T.g){case 1:if(u={},d=0,p=function(t,p){var h,f,m,_,g,E,v;return k((function(S){if(1==S.g){for(h={},f=l(t),m=f.next();!m.done;h={xb:h.xb},m=f.next())h.xb=m.value,_=lm(h.xb,r),g=h.xb.i,E=h.xb.h,v=function(t){return function(n){var i,o,r;return k((function(s){if(1==s.g)return y(s,a.addSegments([{data:n}]),2);i=s.h,l_(e),o=t.xb.g,r=cm(o),u[r]=i[0],d+=n.byteLength,b(s)}))}}(h),fm(o,h.xb.groupId,_,g,E,v);return y(S,function(e){return k((function(t){return 1==t.g?y(t,Promise.all(e.j.values()),2):t.return(e.g.h)}))}(o),2)}return p?(l_(e),function(e,t,n,i){if(t.expiration=n.Ic(),n=jo(n),t.sessionIds=i.offline.usePersistentLicense?n:[],i_(e)&&i.offline.usePersistentLicense&&!n.length)throw new ot(2,9,9007)}(s,i,c,r),y(S,a.updateManifest(n,i),0)):S.B(0)}))},h=!1,S(T,2),!i_(s)||!h||o_(s)){T.B(4);break}return y(T,p(t.filter((function(e){return e.h})),!0),5);case 5:return l_(e),t=t.filter((function(e){return!e.h})),f=u,m=d,u={},d=0,y(T,n_(a,n,i,f,m,(function(){return l_(e)})),6);case 6:l_(e);case 4:if(h){T.B(7);break}return y(T,p(t,!1),8);case 8:return l_(e),_=u,g=d,u={},d=0,y(T,n_(a,n,i,_,g,(function(){return l_(e)})),9);case 9:l_(e);case 7:A(T,0);break;case 2:return E=I(T),v=Object.values(u),y(T,a.removeSegments(v,(function(){})),10);case 10:throw E}}))}(e,_,d,m,r,o,u.oa,h,s),12);case 12:return l_(e),E=new Um("manifest",u.path.Ga,u.path.oa,d),T.return(Km(E,m));case 3:return O(T),y(T,c.destroy(),13);case 13:if(!a){T.B(14);break}return y(T,a.stop(),14);case 14:if(!s){T.B(16);break}return y(T,s.destroy(),16);case 16:C(T,0);break;case 2:if(v=I(T),null==d){T.B(18);break}return y(T,t_(d),18);case 18:throw p||v}}))}(this,e,t||{},(function(){var t;return k((function(r){return 1==r.g?y(r,lr(e,i.g,o.manifest.retryParameters,n||null),2):(t=r.h,r.return(t()))}))}),o,r),(t=new ai(t,(function(){return hm(r)}))).finally((function(){pe(i.j,r)})),function(e,t){var n=t.promise;return e.i.push(n),t.finally((function(){pe(e.i,n)}))}(this,t)},i.remove=function(e){return d_(this,function(e,t){var n,i,o,r,a,s;return k((function(c){switch(c.g){case 1:if(u_(),null==(n=Vm(t))||"manifest"!=n.g)throw new ot(2,9,9004,t);return i=n,o=new Im,T(c),y(c,o.init(),4);case 4:return y(c,Cm(o,i.Ga(),i.oa()),5);case 5:return y(c,(r=c.h).getManifests([i.key()]),6);case 6:return a=c.h,s=a[0],y(c,Promise.all([a_(e,s,o),s_(r,i,s)]),2);case 2:return O(c),y(c,o.destroy(),8);case 8:C(c,0)}}))}(this,e))},i.bh=function(){return d_(this,function(e){var t,n,i,o,r,a,s,c,u,d;return k((function(p){switch(p.g){case 1:return u_(),t=e.g,n=e.h.drm,i=new Im,o=!1,T(p),y(p,i.init(),4);case 4:r=[],function(e,t){e.g.forEach((function(e){t(e.getEmeSessionCell())}))}(i,(function(e){return r.push(e)})),a=l(r),s=a.next();case 5:if(s.done){p.B(2);break}return y(p,(c=s.value).getAll(),8);case 8:return u=p.h,y(p,Ym(n,t,u),9);case 9:return d=p.h,y(p,c.remove(d),10);case 10:d.length!=u.length&&(o=!0),s=a.next(),p.B(5);break;case 2:return O(p),y(p,i.destroy(),11);case 11:C(p,3);break;case 3:return p.return(!o)}}))}(this))},i.list=function(){return d_(this,function(){var e,t,n;return k((function(i){switch(i.g){case 1:return u_(),e=[],t=new Im,T(i),y(i,t.init(),4);case 4:return n=Promise.resolve(),function(e,t){e.g.forEach((function(e,n){e.getCells().forEach((function(e,i){t({Ga:n,oa:i},e)}))}))}(t,(function(t,i){n=n.then((function(){return k((function(n){if(1==n.g)return y(n,i.getAllManifests(),2);n.h.forEach((function(n,i){n=Km(new Um("manifest",t.Ga,t.oa,i),n),e.push(n)})),b(n)}))}))})),y(i,n,2);case 2:return O(i),y(i,t.destroy(),6);case 6:C(i,3);break;case 3:return i.return(e)}}))}())},B("shaka.offline.Storage",Qm),Qm.deleteAll=function(){var e;return k((function(t){return 1==t.g?(e=new Im,T(t),y(t,function(e){var t,n;return k((function(i){return 1==i.g?(t=Array.from(e.g.values()),(n=0<t.length)||Nm.forEach((function(e){(e=e())&&t.push(e)})),y(i,Promise.all(t.map((function(e){return e.erase()}))),2)):n?i.B(0):y(i,Promise.all(t.map((function(e){return e.destroy()}))),0)}))}(e),2)):5!=t.g?(O(t),y(t,e.destroy(),5)):C(t,0)}))},Qm.prototype.list=Qm.prototype.list,Qm.prototype.removeEmeSessions=Qm.prototype.bh,Qm.prototype.remove=Qm.prototype.remove,Qm.prototype.store=Qm.prototype.store,Qm.prototype.getNetworkingEngine=Qm.prototype.Bb,Qm.prototype.getConfiguration=Qm.prototype.getConfiguration,Qm.prototype.configure=Qm.prototype.configure,Qm.prototype.destroy=Qm.prototype.destroy,Qm.support=e_;var h_=(new Map).set("org.w3.clearkey","1077efecc0b24d02ace33c1e52e2fb4b").set("com.widevine.alpha","edef8ba979d64acea3c827dcd51d21ed").set("com.microsoft.playready","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.recommendation","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.software","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.hardware","9a04f07998404286ab92e65be0885f95").set("com.adobe.primetime","f239e769efa348509c16a903c6932efb");function f_(){}function m_(e,t){for(e={priority:t||0,Xf:e},t=0;t<__.length;t++)if(__[t].priority<e.priority)return void __.splice(t,0,e);__.push(e)}Ol.offline=e_,B("shaka.polyfill",f_),f_.register=m_,f_.installAll=function(){for(var e=l(__),t=e.next();!t.done;t=e.next()){t=t.value;try{t.Xf()}catch(e){z("Error installing polyfill!",e)}}};var __=[];function g_(){this.g=new v_}function E_(){e.AbortController||(e.AbortController=g_,e.AbortSignal=v_)}function v_(){mi.call(this),this.h=!1,this.g=void 0,this.onabort=null}function y_(){}function b_(){if(!Object.getOwnPropertyDescriptor(Element.prototype,"ariaHidden"))for(var e=l(["ariaHidden","ariaLabel","ariaPressed","ariaSelected"]),t=e.next();!t.done;t=e.next())S_(t.value)}function S_(e){var t="aria-"+e.toLowerCase().replace(/^aria/,"");Object.defineProperty(Element.prototype,e,{get:function(){return this.getAttribute(t)},set:function(e){null==e||null==e?this.removeAttribute(t):this.setAttribute(t,e)}})}function T_(){}function A_(){Uv()}function I_(){}function O_(){if(e.Document){var t=Element.prototype;t.requestFullscreen=t.requestFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen||t.webkitRequestFullscreen,(t=Document.prototype).exitFullscreen=t.exitFullscreen||t.mozCancelFullScreen||t.msExitFullscreen||t.webkitCancelFullScreen,"fullscreenElement"in document||(Object.defineProperty(document,"fullscreenElement",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement||document.webkitFullscreenElement}}),Object.defineProperty(document,"fullscreenEnabled",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}})),document.addEventListener("webkitfullscreenchange",C_),document.addEventListener("webkitfullscreenerror",C_),document.addEventListener("mozfullscreenchange",C_),document.addEventListener("mozfullscreenerror",C_),document.addEventListener("MSFullscreenChange",C_),document.addEventListener("MSFullscreenError",C_)}}function C_(e){var t=e.type.replace(/^(webkit|moz|MS)/,"").toLowerCase(),n=document.createEvent("Event");n.initEvent(t,e.bubbles,e.cancelable),e.target.dispatchEvent(n)}function R_(){}function N_(){var e=!0;(Jt()||$t("PlayStation 5")||qt()||$t("Web0S")||zt()||$t("CrKey")||$t("PC=EOS")||$t("Hisense")||$t("VIDAA"))&&(e=!1),e&&navigator.mediaCapabilities||(navigator.mediaCapabilities||(navigator.mediaCapabilities={}),L_=navigator.mediaCapabilities,navigator.mediaCapabilities.decodingInfo=P_)}function P_(t){var n,i,o,r,a,s,c,l,u,d,p,h,f,m,_,g;return k((function(E){switch(E.g){case 1:if(n={supported:!1,powerEfficient:!0,smooth:!0,keySystemAccess:null,configuration:t},!t)return E.return(n);if(i=t.video,o=t.audio,"media-source"==t.type){if(!Gt())return E.return(n);if(i){if($t("CrKey"))if(e.cast&&cast.__platform__&&cast.__platform__.canDisplayType){var v=i.contentType;i.width&&i.height&&(v+="; width="+i.width+"; height="+i.height),i.framerate&&(v+="; framerate="+i.framerate),"pq"===i.transferFunction&&(v+="; eotf=smpte2084"),r=cast.__platform__.canDisplayType(v)}else r=X(i.contentType);else zt()?(a=i.contentType,i.width&&i.height&&(a+="; width="+i.width,a+="; height="+i.height),i.framerate&&(a+="; framerate="+i.framerate),i.bitrate&&(a+="; bitrate="+i.bitrate),r=X(a)):r=X(i.contentType);if(!r)return E.return(n)}if(o&&(s=o.contentType,!X(s)))return E.return(n)}else{if("file"!=t.type)return E.return(n);if(i&&(c=i.contentType,!Wt(c))||o&&(l=o.contentType,!Wt(l)))return E.return(n)}if(!t.keySystemConfiguration)return n.supported=!0,E.return(Promise.resolve(n));if(u=t.keySystemConfiguration,d=[],p=[],u.audio&&(h={robustness:u.audio.robustness||"",contentType:t.audio.contentType},d.push(h)),u.video&&(f={robustness:u.video.robustness||"",contentType:t.video.contentType},p.push(f)),m={initDataTypes:[u.initDataType],distinctiveIdentifier:u.distinctiveIdentifier,persistentState:u.persistentState,sessionTypes:u.sessionTypes},d.length&&(m.audioCapabilities=d),p.length&&(m.videoCapabilities=p),_=(t.video?t.video.contentType:"")+"#"+(t.audio?t.audio.contentType:"")+"#"+t.keySystemConfiguration.keySystem,S(E,3),_ in V_){g=V_[_],E.B(5);break}return y(E,navigator.requestMediaKeySystemAccess(u.keySystem,[m]),6);case 6:g=E.h,V_[_]=g;case 5:A(E,4);break;case 3:I(E);case 4:g&&(n.supported=!0,n.keySystemAccess=g);case 2:return E.return(n)}}))}g_.prototype.abort=function(e){var t=this.g;t.h||(t.h=!0,t.g=e,void 0===t.g&&(t.g=new DOMException("signal is aborted without reason","AbortError")),e=new pi("abort"),t.onabort&&t.onabort(e),t.dispatchEvent(e))},a.Object.defineProperties(g_.prototype,{signal:{configurable:!0,enumerable:!0,get:function(){return this.g}}}),f_.AbortController=g_,g_.install=E_,_(v_,mi),a.Object.defineProperties(v_.prototype,{aborted:{configurable:!0,enumerable:!0,get:function(){return this.h}},reason:{configurable:!0,enumerable:!0,get:function(){return this.g}}}),m_(E_),f_.Aria=y_,y_.install=b_,m_(b_),f_.EncryptionScheme=T_,T_.install=A_,m_(A_,-2),f_.Fullscreen=I_,I_.install=O_,m_(O_),f_.MediaCapabilities=R_,R_.install=N_;var L_=null;R_.originalMcap=L_;var k_,w_,D_,M_,x_,U_,V_={};function F_(){}function B_(){var t=Xt();e.MediaSource&&(e.cast&&cast.__platform__&&cast.__platform__.canDisplayType?function(){var e=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(t){var n=t.split(/ *; */);return n.shift(),n.some((function(e){return e.startsWith("codecs=")}))?cast.__platform__.canDisplayType(t):e(t)}}():t?12>=t?(H_(),function(){var e=SourceBuffer.prototype.remove;SourceBuffer.prototype.remove=function(t,n){return e.call(this,t,n-.001)}}()):15>=t&&H_():jt()?function(){var e=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(t){return"mp2t"!=t.split(";")[0].split("/")[1]&&e(t)}}():($t("Tizen 2")||$t("Tizen 3")||$t("Tizen 4"))&&function(){var e=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(t){return"opus"!=St(t)[0]&&e(t)}}()),e.MediaSource&&MediaSource.isTypeSupported('video/webm; codecs="vp9"')&&!MediaSource.isTypeSupported('video/webm; codecs="vp09.00.10.08"')&&function(){var e=MediaSource.isTypeSupported;$t("Web0S")||(MediaSource.isTypeSupported=function(t){var n=t.split(/ *; */),i=n.findIndex((function(e){return e.startsWith("codecs=")}));if(0>i)return e(t);var o=n[i].replace("codecs=","").replace(/"/g,"").split(/\s*,\s*/),r=o.findIndex((function(e){return e.startsWith("vp09")}));return 0<=r&&(o[r]="vp9",n[i]='codecs="'+o.join(",")+'"',t=n.join("; ")),e(t)})}()}function H_(){var e=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(){var t=e.apply(this,w.apply(0,arguments));return t.abort=function(){},t}}function G_(){}function W_(){screen.orientation&&screen.orientation.unlock||(null!=screen.orientation?(void 0===screen.orientation.lock&&(screen.orientation.lock=function(){return Promise.resolve()}),void 0===screen.orientation.unlock&&(screen.orientation.unlock=function(){})):null!=e.orientation&&function(){function t(){switch(e.orientation){case-90:n.type="landscape-secondary",n.angle=270;break;case 0:n.type="portrait-primary",n.angle=0;break;case 90:n.type="landscape-primary",n.angle=90;break;case 180:n.type="portrait-secondary",n.angle=180}}var n=new j_;screen.orientation=n,t(),e.addEventListener("orientationchange",(function(){t();var e=new pi("change");n.dispatchEvent(e)}))}())}function j_(){mi.call(this),this.type="",this.angle=0}function Y_(){}function z_(e,t){try{var n=new q_(e,t);return Promise.resolve(n)}catch(e){return Promise.reject(e)}}function K_(e){var t=this.mediaKeys;return t&&t!=e&&$_(t,null),delete this.mediaKeys,(this.mediaKeys=e)?$_(e,this):Promise.resolve()}function J_(e){if(re(e=oe(e.initData)).getUint32(0,!0)+4!=e.byteLength)throw new RangeError("Malformed FairPlay init data");e=Wi(e=Hi(e.subarray(4),!0));var t=new Event("encrypted");t.initDataType="skd",t.initData=ie(e),this.dispatchEvent(t)}function q_(e,t){if(this.keySystem=e,e.startsWith("com.apple.fps"))for(t=(e=l(t)).next();!t.done;t=e.next()){var n=t.value;if("required"==n.persistentState)t=null;else{t={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:n.initDataTypes,sessionTypes:["temporary"],label:n.label};var i=!1,o=!1;if(n.audioCapabilities)for(var r=l(n.audioCapabilities),a=r.next();!a.done;a=r.next())(a=a.value).contentType&&(i=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,a.contentType.split(";")[0])&&(t.audioCapabilities.push(a),o=!0));if(n.videoCapabilities)for(a=(n=l(n.videoCapabilities)).next();!a.done;a=n.next())(r=a.value).contentType&&(i=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,r.contentType.split(";")[0])&&(t.videoCapabilities.push(r),o=!0));i||(o=WebKitMediaKeys.isTypeSupported(this.keySystem,"video/mp4")),t=o?t:null}if(t)return void(this.g=t)}throw(e=Error("Unsupported keySystem")).name="NotSupportedError",e.code=DOMException.NOT_SUPPORTED_ERR,e}function X_(e){this.h=new WebKitMediaKeys(e),this.g=new Li}function $_(e,t){if(e.g.ub(),!t)return Promise.resolve();e.g.D(t,"webkitneedkey",J_);try{return La(t,HTMLMediaElement.HAVE_METADATA,e.g,(function(){t.webkitSetMediaKeys(e.h)})),Promise.resolve()}catch(e){return Promise.reject(e)}}function Z_(e){mi.call(this),this.i=null,this.l=e,this.g=this.h=null,this.j=new Li,this.sessionId="",this.expiration=NaN,this.closed=new ri,this.keyStatuses=new eg}function Q_(e,t){var n=e.keyStatuses;n.size=null==t?0:1,n.g=t,t=new pi("keystatuseschange"),e.dispatchEvent(t)}function eg(){this.size=0,this.g=void 0}function tg(){}function ng(){!e.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(navigator.requestMediaKeySystemAccess=ig,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=og,e.MediaKeys=rg,e.MediaKeySystemAccess=ag,e.shakaMediaKeysPolyfill=!0)}function ig(){return Promise.reject(Error("The key system specified is not supported."))}function og(e){return null==e?Promise.resolve():Promise.reject(Error("MediaKeys not supported."))}function rg(){throw new TypeError("Illegal constructor.")}function ag(){throw this.keySystem="",new TypeError("Illegal constructor.")}function sg(){}function cg(){if(!(!e.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration)){if(HTMLMediaElement.prototype.webkitGenerateKeyRequest)bg="webkit";else if(!HTMLMediaElement.prototype.generateKeyRequest)return;navigator.requestMediaKeySystemAccess=ug,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=dg,e.MediaKeys=hg,e.MediaKeySystemAccess=pg,e.shakaMediaKeysPolyfill=!0}}function lg(e){return bg?bg+e.charAt(0).toUpperCase()+e.slice(1):e}function ug(e,t){try{var n=new pg(e,t);return Promise.resolve(n)}catch(e){return Promise.reject(e)}}function dg(e){var t=this.mediaKeys;return t&&t!=e&&fg(t,null),delete this.mediaKeys,(this.mediaKeys=e)&&fg(e,this),Promise.resolve()}function pg(e,t){this.g=this.keySystem=e;var n=!1;"org.w3.clearkey"==e&&(this.g="webkit-org.w3.clearkey",n=!1);var i=!1,o=document.getElementsByTagName("video");o=o.length?o[0]:document.createElement("video");for(var r=(t=l(t)).next();!r.done;r=t.next()){var a={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:(r=r.value).initDataTypes,sessionTypes:["temporary"],label:r.label},s=!1;if(r.audioCapabilities)for(var c=l(r.audioCapabilities),u=c.next();!u.done;u=c.next())(u=u.value).contentType&&(s=!0,o.canPlayType(u.contentType.split(";")[0],this.g)&&(a.audioCapabilities.push(u),i=!0));if(r.videoCapabilities)for(u=(c=l(r.videoCapabilities)).next();!u.done;u=c.next())(u=u.value).contentType&&(s=!0,o.canPlayType(u.contentType,this.g)&&(a.videoCapabilities.push(u),i=!0));if(s||(i=o.canPlayType("video/mp4",this.g)||o.canPlayType("video/webm",this.g)),"required"==r.persistentState&&(n?(a.persistentState="required",a.sessionTypes=["persistent-license"]):i=!1),i)return void(this.h=a)}throw n="Unsupported keySystem","org.w3.clearkey"!=e&&"com.widevine.alpha"!=e||(n="None of the requested configurations were supported."),(e=Error(n)).name="NotSupportedError",e.code=DOMException.NOT_SUPPORTED_ERR,e}function hg(e){this.l=e,this.h=null,this.g=new Li,this.i=[],this.j=new Map}function fg(e,t){e.h=t,e.g.ub();var n=bg;t&&(e.g.D(t,n+"needkey",(function(t){var n=new CustomEvent("encrypted");n.initDataType="cenc",n.initData=ie(t.initData),e.h.dispatchEvent(n)})),e.g.D(t,n+"keymessage",(function(t){var n=mg(e,t.sessionId);n&&(t=new pi("message",t=(new Map).set("messageType",null==n.keyStatuses.Db()?"licenserequest":"licenserenewal").set("message",t.message)),n.h&&(n.h.resolve(),n.h=null),n.dispatchEvent(t))})),e.g.D(t,n+"keyadded",(function(t){(t=mg(e,t.sessionId))&&(vg(t,"usable"),t.g&&t.g.resolve(),t.g=null)})),e.g.D(t,n+"keyerror",(function(t){var n=mg(e,t.sessionId);n&&n.handleError(t)})))}function mg(e,t){var n=e.j.get(t);return n||((n=e.i.shift())?(n.sessionId=t,e.j.set(t,n),n):null)}function _g(e,t,n){mi.call(this),this.j=e,this.m=!1,this.g=this.h=null,this.i=t,this.l=n,this.sessionId="",this.expiration=NaN,this.closed=new ri,this.keyStatuses=new yg}function gg(e,t,n){if(e.m)return Promise.reject(Error("The session is already initialized."));e.m=!0;try{if("persistent-license"==e.l)if(n)var i=oe(Wi("LOAD_SESSION|"+n));else{var o=Wi("PERSISTENT|");i=po(o,t)}else i=oe(t)}catch(e){return Promise.reject(e)}e.h=new ri;var r=lg("generateKeyRequest");try{e.j[r](e.i,i)}catch(t){if("InvalidStateError"!=t.name)return e.h=null,Promise.reject(t);new Ht((function(){try{e.j[r](e.i,i)}catch(t){e.h.reject(t),e.h=null}})).S(.01)}return e.h}function Eg(e,t,n){if(e.g)e.g.then((function(){return Eg(e,t,n)})).catch((function(){return Eg(e,t,n)}));else{if(e.g=t,"webkit-org.w3.clearkey"==e.i){var i=Bi(n),o=JSON.parse(i);"oct"!=o.keys[0].kty&&(e.g.reject(Error("Response is not a valid JSON Web Key Set.")),e.g=null),i=co(o.keys[0].k),o=co(o.keys[0].kid)}else i=oe(n),o=null;var r=lg("addKey");try{e.j[r](e.i,i,o,e.sessionId)}catch(t){e.g.reject(t),e.g=null}}}function vg(e,t){var n=e.keyStatuses;n.size=null==t?0:1,n.g=t,t=new pi("keystatuseschange"),e.dispatchEvent(t)}function yg(){this.size=0,this.g=void 0}R_.memoizedMediaKeySystemAccessRequests_=V_,m_(N_,-1),f_.MediaSource=F_,F_.install=B_,m_(B_),f_.Orientation=G_,G_.install=W_,_(j_,mi),j_.prototype.lock=function(e){function t(e){return screen.lockOrientation?screen.lockOrientation(e):screen.mozLockOrientation?screen.mozLockOrientation(e):!!screen.msLockOrientation&&screen.msLockOrientation(e)}var n=!1;switch(e){case"natural":n=t("default");break;case"any":n=!0,this.unlock();break;default:n=t(e)}return n?Promise.resolve():((e=Error("screen.orientation.lock() is not available on this device")).name="NotSupportedError",e.code=DOMException.NOT_SUPPORTED_ERR,Promise.reject(e))},j_.prototype.unlock=function(){screen.unlockOrientation?screen.unlockOrientation():screen.mozUnlockOrientation?screen.mozUnlockOrientation():screen.msUnlockOrientation&&screen.msUnlockOrientation()},m_(W_),f_.PatchedMediaKeysApple=Y_,Y_.uninstall=function(){k_&&(k_=!1,Object.defineProperty(HTMLMediaElement.prototype,"mediaKeys",w_),HTMLMediaElement.prototype.setMediaKeys=D_,e.MediaKeys=M_,e.MediaKeySystemAccess=x_,navigator.requestMediaKeySystemAccess=U_,w_=U_=D_=x_=M_=null,e.shakaMediaKeysPolyfill=!1)},Y_.install=function(t){e.HTMLVideoElement&&e.WebKitMediaKeys&&(void 0!==t&&t&&(k_=!0,w_=Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"mediaKeys"),D_=HTMLMediaElement.prototype.setMediaKeys,M_=e.MediaKeys,x_=e.MediaKeySystemAccess,U_=navigator.requestMediaKeySystemAccess),delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=K_,e.MediaKeys=X_,e.MediaKeySystemAccess=q_,navigator.requestMediaKeySystemAccess=z_,e.shakaMediaKeysPolyfill=!0)},q_.prototype.createMediaKeys=function(){var e=new X_(this.keySystem);return Promise.resolve(e)},q_.prototype.getConfiguration=function(){return this.g},X_.prototype.createSession=function(e){if("temporary"!=(e=e||"temporary"))throw new TypeError("Session type "+e+" is unsupported on this platform.");return new Z_(this.h,e)},X_.prototype.setServerCertificate=function(){return Promise.resolve(!1)},X_.prototype.getStatusForPolicy=function(){return Promise.resolve("usable")},_(Z_,mi),(i=Z_.prototype).generateRequest=function(e,t){var n=this;this.h=new ri;try{var i=this.l.createSession("video/mp4",oe(t));this.i=i,this.sessionId=i.sessionId||"",this.j.D(this.i,"webkitkeymessage",(function(e){n.h&&(n.h.resolve(),n.h=null),e=new pi("message",e=(new Map).set("messageType",null==n.keyStatuses.Db()?"license-request":"license-renewal").set("message",ie(e.message))),n.dispatchEvent(e)})),this.j.D(i,"webkitkeyadded",(function(){n.g&&(Q_(n,"usable"),n.g.resolve(),n.g=null)})),this.j.D(i,"webkitkeyerror",(function(){var e=Error("EME PatchedMediaKeysApple key error");if(e.errorCode=n.i.error,null!=n.h)n.h.reject(e),n.h=null;else if(null!=n.g)n.g.reject(e),n.g=null;else switch(n.i.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:Q_(n,"output-not-allowed");break;default:Q_(n,"internal-error")}})),Q_(this,"status-pending")}catch(e){this.h.reject(e)}return this.h},i.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))},i.update=function(e){this.g=new ri;try{this.i.update(oe(e))}catch(e){this.g.reject(e)}return this.g},i.close=function(){try{this.i.close(),this.closed.resolve(),this.j.ub()}catch(e){this.closed.reject(e)}return this.closed},i.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))},(i=eg.prototype).Db=function(){return this.g},i.forEach=function(e){this.g&&e(this.g,sr.value())},i.get=function(e){if(this.has(e))return this.g},i.has=function(e){var t=sr.value();return!(!this.g||!te(e,t))},i.entries=function(){},i.keys=function(){},i.values=function(){},f_.PatchedMediaKeysNop=tg,tg.install=ng,rg.prototype.createSession=function(){},rg.prototype.setServerCertificate=function(){},rg.prototype.getStatusForPolicy=function(){return Promise.resolve("usable")},ag.prototype.getConfiguration=function(){},ag.prototype.createMediaKeys=function(){},m_(ng,-10),f_.PatchedMediaKeysWebkit=sg,sg.install=cg,pg.prototype.createMediaKeys=function(){var e=new hg(this.g);return Promise.resolve(e)},pg.prototype.getConfiguration=function(){return this.h},hg.prototype.createSession=function(e){if("temporary"!=(e=e||"temporary")&&"persistent-license"!=e)throw new TypeError("Session type "+e+" is unsupported on this platform.");var t=this.h||document.createElement("video");return t.src||(t.src="about:blank"),e=new _g(t,this.l,e),this.i.push(e),e},hg.prototype.setServerCertificate=function(){return Promise.resolve(!1)},hg.prototype.getStatusForPolicy=function(){return Promise.resolve("usable")},_(_g,mi),(i=_g.prototype).handleError=function(e){var t=Error("EME v0.1b key error"),n=e.errorCode;n.systemCode=e.systemCode,t.errorCode=n,!e.sessionId&&this.h?(45==e.systemCode&&(t.message="Unsupported session type."),this.h.reject(t),this.h=null):e.sessionId&&this.g?(this.g.reject(t),this.g=null):(t=e.systemCode,e.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?vg(this,"output-restricted"):vg(this,1==t?"expired":"internal-error"))},i.generateRequest=function(e,t){return gg(this,t,null)},i.load=function(e){return"persistent-license"==this.l?gg(this,null,e):Promise.reject(Error("Not a persistent session."))},i.update=function(e){var t=new ri;return Eg(this,t,e),t},i.close=function(){if("persistent-license"!=this.l){if(!this.sessionId)return this.closed.reject(Error("The session is not callable.")),this.closed;var e=lg("cancelKeyRequest");try{this.j[e](this.i,this.sessionId)}catch(e){}}return this.closed.resolve(),this.closed},i.remove=function(){return"persistent-license"!=this.l?Promise.reject(Error("Not a persistent session.")):this.close()},(i=yg.prototype).Db=function(){return this.g},i.forEach=function(e){this.g&&e(this.g,sr.value())},i.get=function(e){if(this.has(e))return this.g},i.has=function(e){var t=sr.value();return!(!this.g||!te(e,t))},i.entries=function(){},i.keys=function(){},i.values=function(){};var bg="";function Sg(){}function Tg(){if(e.HTMLVideoElement){var t=HTMLVideoElement.prototype;t.requestPictureInPicture&&document.exitPictureInPicture||!t.webkitSupportsPresentationMode||(document.pictureInPictureEnabled=!0,document.pictureInPictureElement=null,t.requestPictureInPicture=Ig,Object.defineProperty(t,"disablePictureInPicture",{get:Cg,set:Rg,enumerable:!0,configurable:!0}),document.exitPictureInPicture=Og,document.addEventListener("webkitpresentationmodechanged",Ag,!0))}}function Ag(e){if("picture-in-picture"==(e=e.target).webkitPresentationMode){document.pictureInPictureElement=e;var t=new Event("enterpictureinpicture");e.dispatchEvent(t)}else document.pictureInPictureElement==e&&(document.pictureInPictureElement=null),t=new Event("leavepictureinpicture"),e.dispatchEvent(t)}function Ig(){return this.webkitSupportsPresentationMode("picture-in-picture")?(this.webkitSetPresentationMode("picture-in-picture"),document.pictureInPictureElement=this,Promise.resolve()):Promise.reject(Error("PiP not allowed by video element"))}function Og(){var e=document.pictureInPictureElement;return e?(e.webkitSetPresentationMode("inline"),document.pictureInPictureElement=null,Promise.resolve()):Promise.reject(Error("No picture in picture element found"))}function Cg(){return!!this.hasAttribute("disablePictureInPicture")||!this.webkitSupportsPresentationMode("picture-in-picture")}function Rg(e){e?this.setAttribute("disablePictureInPicture",""):this.removeAttribute("disablePictureInPicture")}function Ng(){}function Pg(){e.crypto&&("randomUUID"in e.crypto||(e.crypto.randomUUID=Lg))}function Lg(){var e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.substr(t.lastIndexOf("/")+1)}function kg(){}function wg(){navigator.storage&&navigator.storage.estimate||!navigator.webkitTemporaryStorage||!navigator.webkitTemporaryStorage.queryUsageAndQuota||("storage"in navigator||(navigator.storage={}),navigator.storage.estimate=Dg)}function Dg(){return new Promise((function(e,t){navigator.webkitTemporaryStorage.queryUsageAndQuota((function(t,n){e({usage:t,quota:n})}),t)}))}function Mg(){}function xg(){var e=Symbol.prototype;"description"in e||Object.defineProperty(e,"description",{get:Ug})}function Ug(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}function Vg(){}function Fg(){if(e.HTMLMediaElement){var t=HTMLMediaElement.prototype.play;HTMLMediaElement.prototype.play=function(){var e=t.apply(this);return e&&e.catch((function(){})),e}}}function Bg(){}function Hg(){if(e.HTMLVideoElement){var t=HTMLVideoElement.prototype;!t.getVideoPlaybackQuality&&("webkitDroppedFrameCount"in t||Kt())&&(t.getVideoPlaybackQuality=Gg)}}function Gg(){return{droppedVideoFrames:this.webkitDroppedFrameCount,totalVideoFrames:this.webkitDecodedFrameCount,corruptedVideoFrames:0,creationTime:NaN,totalFrameDelay:0}}function Wg(){}function jg(){if(!e.VTTCue&&e.TextTrackCue){var t=null,n=TextTrackCue.length;if(3==n)t=Yg;else if(6==n)t=zg;else{try{var i=!!Yg(1,2,"")}catch(e){i=!1}i&&(t=Yg)}t&&(e.VTTCue=function(e,n,i){return t(e,n,i)})}}function Yg(t,n,i){return new e.TextTrackCue(t,n,i)}function zg(t,n,i){return new e.TextTrackCue(t+"-"+n+"-"+i,t,n,i)}function Kg(){}m_(cg),f_.PiPWebkit=Sg,Sg.install=Tg,m_(Tg),f_.RandomUUID=Ng,Ng.install=Pg,m_(Pg),f_.StorageEstimate=kg,kg.install=wg,m_(wg),f_.Symbol=Mg,Mg.install=xg,m_(xg),f_.VideoPlayPromise=Vg,Vg.install=Fg,m_(Fg),f_.VideoPlaybackQuality=Bg,Bg.install=Hg,m_(Hg),f_.VTTCue=Wg,Wg.install=jg,m_(jg),Kg.prototype.parseInit=function(){},Kg.prototype.setSequenceMode=function(){},Kg.prototype.setManifestType=function(){},Kg.prototype.parseMedia=function(e,t){for(var n=null,i=[],o=(e=l(e=Bi(e).split(/\r?\n/))).next();!o.done;o=e.next())if((o=o.value)&&!/^\s+$/.test(o)&&(o=Jg.exec(o))){var r=qg.exec(o[1]);o=new me(r=60*parseInt(r[1],10)+parseFloat(r[2].replace(",",".")),t.segmentEnd?t.segmentEnd:r+2,o[2]),n&&(n.endTime=r,i.push(n)),n=o}return n&&i.push(n),i},B("shaka.text.LrcTextParser",Kg),Kg.prototype.parseMedia=Kg.prototype.parseMedia,Kg.prototype.setManifestType=Kg.prototype.setManifestType,Kg.prototype.setSequenceMode=Kg.prototype.setSequenceMode,Kg.prototype.parseInit=Kg.prototype.parseInit;var Jg=/^\[(\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\](.*)/,qg=/^(\d+):(\d{1,2}(?:[.,]\d{1,3})?)$/;function Xg(){}function $g(e,t,n,i,o,r,a,s,c,u,d){var p=e.parentNode;if(e.nodeType==Node.COMMENT_NODE)return null;if(e.nodeType==Node.TEXT_NODE){if(!d)return null;var h=document.createElement("span");h.textContent=e.textContent}else h=e;for(var f=null,m=l(TE),_=m.next();!_.done&&!(f=iE(h,"backgroundImage",i,"#",_.value)[0]);_=m.next());if(("p"==e.nodeName||f)&&(d=!0),e=d,m="default"==(h.getAttribute("xml:space")||(s?"default":"preserve")),s=[],!(_=Array.from(h.childNodes).every((function(e){return e.nodeType==Node.TEXT_NODE}))))for(var g=l(h.childNodes),E=g.next();!E.done;E=g.next())(E=$g(E.value,t,n,i,o,r,a,m,c,h,d))&&s.push(E);i=null!=u,g=/\S/.test(h.textContent);var v=h.hasAttribute("begin")||h.hasAttribute("end")||h.hasAttribute("dur");if(!(v||g||"br"==h.tagName||0!=s.length||i&&!m))return null;for(g=(E=rE(h,n)).start,E=E.end;p&&p.nodeType==Node.ELEMENT_NODE&&"tt"!=p.tagName;)g=(E=oE(p,n,g,E)).start,E=E.end,p=p.parentNode;if(null==g&&(g=0),g+=t.periodStart,E=null==E?1/0:E+t.periodStart,g=Math.max(g,t.segmentStart),E=Math.min(E,t.segmentEnd),!v&&0<s.length)for(g=1/0,E=0,n=(t=l(s)).next();!n.done;n=t.next())n=n.value,g=Math.min(g,n.startTime),E=Math.max(E,n.endTime);if("br"==h.tagName)return(o=new me(g,E,"")).F=!0,o;if(t="",_&&(t=h.textContent,m&&(t=(t=t.trim()).replace(/\s+/g," "))),(t=new me(g,E,t)).g=s,d||(t.Y=!0),c&&(t.X=c),c=iE(h,"region",r,"")[0],h.hasAttribute("region")&&c&&c.getAttribute("xml:id")){var y=c.getAttribute("xml:id");t.region=a.filter((function(e){return e.id==y}))[0]}return a=c,u&&i&&!h.getAttribute("region")&&!h.getAttribute("style")&&(a=iE(u,"region",r,"")[0]),function(e,t,n,i,o,r,a){r=r||a,"rtl"==Qg(t,n,o,"direction",r)&&(e.direction="rtl"),a=Qg(t,n,o,"writingMode",r),"tb"==a||"tblr"==a?e.writingMode="vertical-lr":"tbrl"==a?e.writingMode="vertical-rl":"rltb"==a||"rl"==a?e.direction="rtl":a&&(e.direction=Se),(a=Qg(t,n,o,"textAlign",!0))?(e.H=yE[a],e.s=vE[a],e.textAlign=ve[a.toUpperCase()]):e.textAlign=Ee,(a=Qg(t,n,o,"displayAlign",!0))&&(e.i=be[a.toUpperCase()]);(a=Qg(t,n,o,"color",r))&&(e.l=a);(a=Qg(t,n,o,"backgroundColor",r))&&(e.backgroundColor=a);(a=Qg(t,n,o,"border",r))&&(e.V=a);if(a=Qg(t,n,o,"fontFamily",r))switch(a){case"monospaceSerif":e.m="Courier New,Liberation Mono,Courier,monospace";break;case"proportionalSansSerif":e.m="Arial,Helvetica,Liberation Sans,sans-serif";break;case"sansSerif":e.m="sans-serif";break;case"monospaceSansSerif":e.m="Consolas,monospace";break;case"proportionalSerif":e.m="serif";break;default:e.m=a}(a=Qg(t,n,o,"fontWeight",r))&&"bold"==a&&(e.u=700),a=Qg(t,n,o,"wrapOption",r),e.M=!a||"noWrap"!=a,(a=Qg(t,n,o,"lineHeight",r))&&a.match(dE)&&(e.aa=a),(a=Qg(t,n,o,"fontSize",r))&&(a.match(dE)||a.match(uE))&&(e.A=a),(a=Qg(t,n,o,"fontStyle",r))&&(e.o=Le[a.toUpperCase()]);if(i){a=i.getAttribute("imageType")||i.getAttribute("imagetype");var s=i.getAttribute("encoding");i=i.textContent.trim(),"PNG"==a&&"Base64"==s&&i&&(e.N="data:image/png;base64,"+i)}(i=Qg(t,n,o,"textOutline",r))&&(i=i.split(" "),i[0].match(dE)?e.L=e.l:(e.L=i[0],i.shift()),i[0]&&i[0].match(dE)?e.ga=i[0]:e.L="");(i=Qg(t,n,o,"letterSpacing",r))&&i.match(dE)&&(e.W=i),(i=Qg(t,n,o,"linePadding",r))&&i.match(dE)&&(e.Z=i),(r=Qg(t,n,o,"opacity",r))&&(e.C=parseFloat(r));(n=eE(n,o,"textDecoration"))&&Zg(e,n),(t=tE(t,o,"textDecoration"))&&Zg(e,t)}(t,h,a,f,o,e,0==s.length),t}function Zg(e,t){for(var n=(t=l(t.split(" "))).next();!n.done;n=t.next())switch(n.value){case"underline":e.h.includes("underline")||e.h.push("underline");break;case"noUnderline":e.h.includes("underline")&&pe(e.h,"underline");break;case"lineThrough":e.h.includes("lineThrough")||e.h.push("lineThrough");break;case"noLineThrough":e.h.includes("lineThrough")&&pe(e.h,"lineThrough");break;case"overline":e.h.includes("overline")||e.h.push("overline");break;case"noOverline":e.h.includes("overline")&&pe(e.h,"overline")}}function Qg(e,t,n,i,o){return o=void 0===o||o,(e=tE(e,n,i))?e:o?eE(t,n,i):null}function eE(e,t,n){if(!e)return null;var i=yo(e,SE,n);return i||nE(e,t,n)}function tE(e,t,n){var i=yo(e,SE,n);return i||nE(e,t,n)}function nE(e,t,n){e=iE(e,"style",t,"");for(var i=null,o=0;o<e.length;o++){var r=vo(e[o],"urn:ebu:tt:style",n);r||(r=yo(e[o],SE,n)),r||(r=tE(e[o],t,n)),r&&(i=r)}return i}function iE(e,t,n,i,o){var r=[];if(!e||1>n.length)return r;var a=e;for(e=null;a&&!(e=o?vo(a,o,t):a.getAttribute(t))&&(a=a.parentNode)instanceof Element;);if(t=e)for(o=(t=l(t.split(" "))).next();!o.done;o=t.next())for(o=o.value,a=(e=l(n)).next();!a.done;a=e.next())if(i+(a=a.value).getAttribute("xml:id")==o){r.push(a);break}return r}function oE(e,t,n,i){return e=rE(e,t),null==n?n=e.start:null!=e.start&&(n+=e.start),null==i?i=e.end:null!=e.start&&(i+=e.start),{start:n,end:i}}function rE(e,t){var n=aE(e.getAttribute("begin"),t),i=aE(e.getAttribute("end"),t);return e=aE(e.getAttribute("dur"),t),null==i&&null!=e&&(i=n+e),{start:n,end:i}}function aE(e,t){var n=null;if(hE.test(e)){e=hE.exec(e),n=Number(e[1]);var i=Number(e[2]),o=Number(e[3]),r=Number(e[4]);n=(o+=(r+=(Number(e[5])||0)/t.h)/t.frameRate)+60*i+3600*n}else if(fE.test(e))n=sE(fE,e);else if(mE.test(e))n=sE(mE,e);else if(_E.test(e))e=_E.exec(e),n=Number(e[1])/t.frameRate;else if(gE.test(e))e=gE.exec(e),n=Number(e[1])/t.g;else if(EE.test(e))n=sE(EE,e);else if(e)throw new ot(2,2,2001,"Could not parse cue time range in TTML");return n}function sE(e,t){return null==(e=e.exec(t))||""==e[0]?null:(Number(e[4])||0)/1e3+(Number(e[3])||0)+60*(Number(e[2])||0)+3600*(Number(e[1])||0)}function cE(e,t,n,i){this.frameRate=Number(e)||30,this.h=Number(t)||1,this.g=Number(i),0==this.g&&(this.g=e?this.frameRate*this.h:1),n&&(e=/^(\d+) (\d+)$/g.exec(n))&&(this.frameRate*=Number(e[1])/Number(e[2]))}Rt["application/x-subtitle-lrc"]=function(){return new Kg},Xg.prototype.parseInit=function(){},Xg.prototype.setSequenceMode=function(){},Xg.prototype.setManifestType=function(){},Xg.prototype.parseMedia=function(e,t){var n=Bi(e);if(e=[],""==n)return e;var i=wo(n,"tt");if(!i)throw new ot(2,2,2005,"Failed to parse TTML.");if(!(n=i.getElementsByTagName("body")[0]))return[];var o=yo(i,bE,"frameRate"),r=yo(i,bE,"subFrameRate"),a=yo(i,bE,"frameRateMultiplier"),s=yo(i,bE,"tickRate"),c=yo(i,bE,"cellResolution"),u=i.getAttribute("xml:space")||"default",d=yo(i,SE,"extent");if("default"!=u&&"preserve"!=u)throw new ot(2,2,2005,"Invalid xml:space value: "+u);u="default"==u,o=new cE(o,r,a,s),c=c&&(c=/^(\d+) (\d+)$/.exec(c))?{cg:parseInt(c[1],10),rows:parseInt(c[2],10)}:null,r=(r=i.getElementsByTagName("metadata")[0])?function(e){return Array.from(e.childNodes).filter((function(e){return e instanceof Element}))}(r):[],a=Array.from(i.getElementsByTagName("style")),s=[];for(var p=l(i=Array.from(i.getElementsByTagName("region"))),h=p.next();!h.done;h=p.next()){var f=h.value;h=new ke;var m=f.getAttribute("xml:id");if(m){h.id=m;var _,g,E=null;d&&(E=lE.exec(d)||pE.exec(d)),m=E?Number(E[1]):null,E=E?Number(E[2]):null,(_=eE(f,a,"extent"))&&(null!=(_=(g=lE.exec(_))||pE.exec(_))&&(h.width=Number(_[1]),h.height=Number(_[2]),g||(null!=m&&(h.width=100*h.width/m),null!=E&&(h.height=100*h.height/E)),h.l=g||null!=m?we:0,h.i=g||null!=E?we:0)),(f=eE(f,a,"origin"))&&(null!=(_=(g=lE.exec(f))||pE.exec(f))&&(h.g=Number(_[1]),h.h=Number(_[2]),g||(null!=E&&(h.h=100*h.h/E),null!=m&&(h.g=100*h.g/m)),h.j=g||null!=m?we:0))}else h=null;h&&s.push(h)}if(go(n,"p").length)throw new ot(2,2,2001,"<p> can only be inside <div> in TTML");for(p=(d=l(go(n,"div"))).next();!p.done;p=d.next())if(go(p.value,"span").length)throw new ot(2,2,2001,"<span> can only be inside <p> in TTML");return(t=$g(n,t,o,r,a,i,s,u,c,null,!1))&&(t.backgroundColor||(t.backgroundColor="transparent"),e.push(t)),e},B("shaka.text.TtmlTextParser",Xg),Xg.prototype.parseMedia=Xg.prototype.parseMedia,Xg.prototype.setManifestType=Xg.prototype.setManifestType,Xg.prototype.setSequenceMode=Xg.prototype.setSequenceMode,Xg.prototype.parseInit=Xg.prototype.parseInit;var lE=/^(\d{1,2}(?:\.\d+)?|100(?:\.0+)?)% (\d{1,2}(?:\.\d+)?|100(?:\.0+)?)%$/,uE=/^(\d{1,2}(?:\.\d+)?|100)%$/,dE=/^(\d+px|\d+em|\d*\.?\d+c)$/,pE=/^(\d+)px (\d+)px$/,hE=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,fE=/^(?:(\d{2,}):)?(\d{2}):(\d{2})$/,mE=/^(?:(\d{2,}):)?(\d{2}):(\d{2}\.\d{2,})$/,_E=/^(\d*(?:\.\d*)?)f$/,gE=/^(\d*(?:\.\d*)?)t$/,EE=RegExp("^(?:(\\d*(?:\\.\\d*)?)h)?(?:(\\d*(?:\\.\\d*)?)m)?(?:(\\d*(?:\\.\\d*)?)s)?(?:(\\d*(?:\\.\\d*)?)ms)?$"),vE={left:Ie,center:"center",right:"end",start:Ie,end:"end"},yE={left:"line-left",center:"center",right:"line-right"},bE=["http://www.w3.org/ns/ttml#parameter","http://www.w3.org/2006/10/ttaf1#parameter"],SE=["http://www.w3.org/ns/ttml#styling","http://www.w3.org/2006/10/ttaf1#styling"],TE=["http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt","http://www.smpte-ra.org/schemas/2052-1/2013/smpte-tt"];function AE(){this.g=new Xg}function IE(){this.h=!1,this.g="UNKNOWN"}function OE(e){for(var t=l(Object.entries(Ce)),n=t.next();!n.done;n=t.next()){var i=l(n.value);n=i.next().value,i=i.next().value;var o=new me(0,0,"");o.l=i,e.set("."+n,o)}for(n=(t=l(Object.entries(Re))).next();!n.done;n=t.next())n=(i=l(n.value)).next().value,i=i.next().value,(o=new me(0,0,"")).backgroundColor=i,e.set("."+n,o)}function CE(e,t,n){0===n.size&&OE(n);e:{var i=e;e=[];for(var o=-1,r="",a=0;a<i.length;a++)if("/"===i[a]&&0<a&&"<"===i[a-1]){var s=i.indexOf(">",a);if(s<=a){e=i;break e}if((s=i.substring(a+1,s))&&"c"===s){var c=e.pop();c?c===s?(r+="/"+s+">",a+=s.length+1):c.startsWith("c.")?(a+=s.length+1,r+="/"+c+">"):r+=i[a]:r+=i[a]}else r+=i[a]}else"<"===i[a]?"c"!=i[o=a+1]&&(o=-1):">"===i[a]&&0<o&&(e.push(i.substr(o,a-o)),o=-1),r+=i[a];e=r}for(i=[],r=-1,o=0;o<e.length;o++)"<"===e[o]?r=o+1:">"===e[o]&&0<r&&((r=e.substr(r,o-r)).match(wE)&&i.push(r),r=-1);for(o=(i=l(i)).next();!o.done;o=i.next())o=o.value,e=e.replace("<"+o+">",'<div time="'+o+'">'),e+="</div>";e:{for(o=e,r=[],a=-1,i="",e=!1,s=0;s<o.length;s++)if("/"===o[s]){if(-1===(c=o.indexOf(">",s))){e=o;break e}if((c=o.substring(s+1,c))&&"v"==c){e=!0;var u=null;if(r.length&&(u=r[r.length-1]),u){if(u===c)i+="/"+c+">";else{if(!u.startsWith("v")){i+=o[s];continue}i+="/"+u+">"}s+=c.length+1}else i+=o[s]}else i+=o[s]}else"<"===o[s]?"v"!=o[a=s+1]&&(a=-1):">"===o[s]&&0<a&&(r.push(o.substr(a,s-a)),a=-1),i+=o[s];for(r=(o=l(r)).next();!r.done;r=o.next())a=(r=r.value).replace(" ",".voice-"),i=(i=i.replace("<"+r+">","<"+a+">")).replace("</"+r+">","</"+a+">"),e||(i+="</"+a+">");e=i}if(o=wo("<span>"+e+"</span>","span")){if(i=[],1==(o=o.childNodes).length&&((r=o[0]).nodeType==Node.TEXT_NODE||r.nodeType==Node.CDATA_SECTION_NODE))return void(t.U=kE(e));for(o=(e=l(o)).next();!o.done;o=e.next())NE(o.value,t,i,n);t.g=i}else t.U=kE(e)}function RE(e,t){return e&&0<e.length?e:t}function NE(e,t,n,i){var o=t.clone();if(e.nodeType===Node.ELEMENT_NODE&&e.nodeName)for(var r=l(e.nodeName.split(/(?=[ .])+/g)),a=r.next();!a.done;a=r.next()){var s=a=a.value;if(s.startsWith(".voice-")){var c=s.split("-").pop();s='v[voice="'+c+'"]',i.has(s)||(s="v[voice="+c+"]")}switch(i.has(s)&&(s=i.get(s))&&(o.backgroundColor=RE(s.backgroundColor,o.backgroundColor),o.l=RE(s.l,o.l),o.m=RE(s.m,o.m),o.A=RE(s.A,o.A),o.u=s.u,o.o=s.o,o.C=s.C,o.I=s.I,o.M=s.M),a){case"br":(a=t.clone()).F=!0,n.push(a);break;case"b":o.u=700;break;case"i":o.o="italic";break;case"u":o.h.push("underline");break;case"font":(a=e.getAttribute("color"))&&(o.l=a);break;case"div":(a=e.getAttribute("time"))&&(a=LE(new Eh(a)))&&(o.startTime=a)}}if(So(e))for(r=!0,i=l(e.textContent.split("\n")),e=i.next();!e.done;e=i.next())e=e.value,r||((r=t.clone()).F=!0,n.push(r)),0<e.length&&((r=o.clone()).U=kE(e),n.push(r)),r=!1;else for(e=(t=l(e.childNodes)).next();!e.done;e=t.next())NE(e.value,o,n,i)}function PE(e,t,n){var i;(i=/^align:(start|middle|center|end|left|right)$/.exec(t))?(t=i[1],e.textAlign="middle"==t?Ee:ve[t.toUpperCase()]):(i=/^vertical:(lr|rl)$/.exec(t))?e.writingMode="lr"==i[1]?"vertical-lr":"vertical-rl":(i=/^size:([\d.]+)%$/.exec(t))?e.size=Number(i[1]):(i=/^position:([\d.]+)%(?:,(line-left|line-right|middle|center|start|end|auto))?$/.exec(t))?(e.position=Number(i[1]),i[2]&&(t=i[2],e.H="line-left"==t||"start"==t?"line-left":"line-right"==t||"end"==t?"line-right":"center"==t||"middle"==t?"center":ge)):(i=/^region:(.*)$/.exec(t))?(t=function(e,t){return e=e.filter((function(e){return e.id==t})),e.length?e[0]:null}(n,i[1]))&&(e.region=t):(n=/^line:([\d.]+)%(?:,(start|end|center))?$/.exec(t))?(e.G=1,e.j=Number(n[1]),n[2]&&(e.s=Oe[n[2].toUpperCase()])):(n=/^line:(-?\d+)(?:,(start|end|center))?$/.exec(t))&&(e.G=Ae,e.j=Number(n[1]),n[2]&&(e.s=Oe[n[2].toUpperCase()]))}function LE(e){if(null==(e=yh(e,wE)))return null;var t=Number(e[2]),n=Number(e[3]);return 59<t||59<n?null:Number(e[4])/1e3+n+60*t+3600*(Number(e[1])||0)}function kE(e){var t={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","‎":"","‏":""},n=/&(?:amp|lt|gt|quot|#(0+)?39|nbsp|lrm|rlm);/g,i=RegExp(n.source);return e&&i.test(e)?e.replace(n,(function(e){return t[e]||"'"})):e||""}Rt["application/ttml+xml"]=function(){return new Xg},AE.prototype.parseInit=function(e){var t=!1;if((new qi).box("moov",Xi).box("trak",Xi).box("mdia",Xi).box("minf",Xi).box("stbl",Xi).O("stsd",$i).box("stpp",(function(e){t=!0,e.parser.stop()})).parse(e),!t)throw new ot(2,2,2007)},AE.prototype.setSequenceMode=function(){},AE.prototype.setManifestType=function(){},AE.prototype.parseMedia=function(e,t){var n=this,i=!1,o=[];if((new qi).box("mdat",Qi((function(e){i=!0,o=o.concat(n.g.parseMedia(e,t))}))).parse(e,!1),!i)throw new ot(2,2,2007);return o},B("shaka.text.Mp4TtmlParser",AE),AE.prototype.parseMedia=AE.prototype.parseMedia,AE.prototype.setManifestType=AE.prototype.setManifestType,AE.prototype.setSequenceMode=AE.prototype.setSequenceMode,AE.prototype.parseInit=AE.prototype.parseInit,Rt['application/mp4; codecs="stpp"']=function(){return new AE},Rt['application/mp4; codecs="stpp.ttml"']=function(){return new AE},Rt['application/mp4; codecs="stpp.ttml.im1t"']=function(){return new AE},Rt['application/mp4; codecs="stpp.TTML.im1t"']=function(){return new AE},IE.prototype.parseInit=function(){},IE.prototype.setSequenceMode=function(e){this.h=e},IE.prototype.setManifestType=function(e){this.g=e},IE.prototype.parseMedia=function(e,t){var n=(e=(e=Bi(e)).replace(/\r\n|\r(?=[^\n]|$)/gm,"\n")).split(/\n{2,}/m);if(!/^WEBVTT($|[ \t\n])/m.test(n[0]))throw new ot(2,2,2e3);if(e=t.vttOffset,n[0].includes("X-TIMESTAMP-MAP")&&this.h){var i=n[0].match(/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m),o=n[0].match(/MPEGTS:(\d+)/m);if(i&&o){if(null==(e=LE(new Eh(i[1]))))throw new ot(2,2,2e3);for(o=Number(o[1]),i=t.segmentStart-t.periodStart;95443.7176888889<=i;)i-=95443.7176888889,o+=8589934592;e=t.periodStart+o/9e4-e}}else n[0].includes("X-TIMESTAMP-MAP")&&"HLS"==this.g&&(e=t.segmentStart);for(t=[],i=(o=l(n[0].split("\n"))).next();!i.done;i=o.next())if(i=i.value,/^Region:/.test(i)){i=new Eh(i);var r=new ke;bh(i),vh(i);for(var a=bh(i);a;){var s=r,c=a;(a=/^id=(.*)$/.exec(c))?s.id=a[1]:(a=/^width=(\d{1,2}|100)%$/.exec(c))?s.width=Number(a[1]):(a=/^lines=(\d+)$/.exec(c))?(s.height=Number(a[1]),s.i=2):(a=/^regionanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(c))?(s.m=Number(a[1]),s.o=Number(a[2])):(a=/^viewportanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(c))?(s.g=Number(a[1]),s.h=Number(a[2])):/^scroll=up$/.exec(c)&&(s.s="up"),vh(i),a=bh(i)}t.push(r)}for(OE(o=new Map),i=[],r=(n=l(n.slice(1))).next();!r.done;r=n.next()){if((1!=(r=r.value.split("\n")).length||r[0])&&!/^NOTE($|[ \t])/.test(r[0])&&"STYLE"==r[0]){for(s=[],a=-1,c=1;c<r.length;c++)r[c].includes("::cue")&&(s.push([]),a=s.length-1),-1!=a&&(s[a].push(r[c]),r[c].includes("}")&&(a=-1));for(a=(s=l(s)).next();!a.done;a=s.next()){var u=a.value;a="global",(c=u[0].match(/\((.*)\)/))&&(a=c.pop()),c=u.slice(1,-1),u[0].includes("}")&&(u=/\{(.*?)\}/.exec(u[0]))&&(c=u[1].split(";")),(u=o.get(a))||(u=new me(0,0,""));for(var d=!1,p=0;p<c.length;p++){var h=/^\s*([^:]+):\s*(.*)/.exec(c[p]);if(h){var f=h[2].trim().replace(";","");switch(h[1].trim()){case"background-color":case"background":d=!0,u.backgroundColor=f;break;case"color":d=!0,u.l=f;break;case"font-family":d=!0,u.m=f;break;case"font-size":d=!0,u.A=f;break;case"font-weight":(700<=parseInt(f,10)||"bold"==f)&&(d=!0,u.u=700);break;case"font-style":switch(f){case"normal":d=!0,u.o=Pe;break;case"italic":d=!0,u.o="italic";break;case"oblique":d=!0,u.o="oblique"}break;case"opacity":d=!0,u.C=parseFloat(f);break;case"text-shadow":d=!0,u.I=f;break;case"white-space":d=!0,u.M="noWrap"!=f}}}d&&o.set(a,u)}}if(d=e,1==r.length&&!r[0]||/^NOTE($|[ \t])/.test(r[0])||"STYLE"==r[0]||"REGION"==r[0])r=null;else if(s=null,r[0].includes("--\x3e")||(s=r[0],r.splice(0,1)),c=LE(a=new Eh(r[0])),p=yh(a,/[ \t]+--\x3e[ \t]+/g),u=LE(a),null==c||null==p||null==u)z("Failed to parse VTT time code. Cue skipped:",s,r),r=null;else{for(c+=d,u+=d,r=r.slice(1).join("\n").trim(),o.has("global")?((d=o.get("global").clone()).startTime=c,d.endTime=u,d.U=""):d=new me(c,u,""),vh(a),c=bh(a);c;)PE(d,c,t),vh(a),c=bh(a);CE(r,d,o),null!=s&&(d.id=s),r=d}r&&i.push(r)}return i},B("shaka.text.VttTextParser",IE),IE.prototype.parseMedia=IE.prototype.parseMedia,IE.prototype.setManifestType=IE.prototype.setManifestType,IE.prototype.setSequenceMode=IE.prototype.setSequenceMode,IE.prototype.parseInit=IE.prototype.parseInit;var wE=/(?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{2,3})/g;function DE(){this.g=null}function ME(e,t,n){var i,o,r;return(new qi).box("payl",Qi((function(e){i=Bi(e)}))).box("iden",Qi((function(e){o=Bi(e)}))).box("sttg",Qi((function(e){r=Bi(e)}))).parse(e),i?function(e,t,n,i,o){if(i=new me(i,o,""),CE(e,i,new Map),t&&(i.id=t),n)for(e=new Eh(n),t=bh(e);t;)PE(i,t,[]),vh(e),t=bh(e);return i}(i,o,r,t,n):null}function xE(){}function UE(e){if(null==(e=yh(e,/(?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{2,3})/g)))return null;var t=Number(e[2]),n=Number(e[3]);return 59<t||59<n?null:Number(e[4])/1e3+n+60*t+3600*(Number(e[1])||0)}function VE(){this.g=new IE}function FE(e){var t="WEBVTT\n\n";if(""==e)return t;for(var n=(e=l((e=(e=e.replace(/\r+/g,"")).trim()).split("\n\n"))).next();!n.done;n=e.next())(n=n.value.split(/\n/))[0].match(/\d+/)&&n.shift(),n[0]=n[0].replace(/,/g,"."),t+=n.join("\n").replace(/{b}/g,"<b>").replace(/{\/b}/g,"</b>").replace(/{i}/g,"<i>").replace(/{\/i}/g,"</i>").replace(/{u}/g,"<u>").replace(/{\/u}/g,"</u>")+"\n\n";return t}function BE(){}function HE(e,t){var n=t.Fontname;if(n&&(e.m=n),(n=t.Fontsize)&&(e.A=n+"px"),(n=t.PrimaryColour)&&(n=GE(n))&&(e.l=n),(n=t.BackColour)&&(n=GE(n))&&(e.backgroundColor=n),t.Bold&&(e.u=700),t.Italic&&(e.o="italic"),t.Underline&&e.h.push("underline"),(n=t.Spacing)&&(e.W=n+"px"),n=t.Alignment)switch(parseInt(n,10)){case 1:e.i=ye,e.textAlign="start";break;case 2:e.i=ye,e.textAlign=Ee;break;case 3:e.i=ye,e.textAlign="end";break;case 5:e.i="before",e.textAlign="start";break;case 6:e.i="before",e.textAlign=Ee;break;case 7:e.i="before",e.textAlign="end";break;case 9:e.i="center",e.textAlign="start";break;case 10:e.i="center",e.textAlign=Ee;break;case 11:e.i="center",e.textAlign="end"}(t=t.AlphaLevel)&&(e.C=parseFloat(t))}function GE(e){return 0<=(e=parseInt(e.replace("&H",""),16))?"rgba("+(255&e)+","+(e>>8&255)+","+(e>>16&255)+","+(e>>24&255^255)/255+")":null}function WE(e){return 3600*((e=KE.exec(e))[1]?parseInt(e[1].replace(":",""),10):0)+60*parseInt(e[2],10)+parseFloat(e[3])}Rt["text/vtt"]=function(){return new IE},Rt['text/vtt; codecs="vtt"']=function(){return new IE},Rt['text/vtt; codecs="wvtt"']=function(){return new IE},DE.prototype.parseInit=function(e){var t=this,n=!1;if((new qi).box("moov",Xi).box("trak",Xi).box("mdia",Xi).O("mdhd",(function(e){e=Dr(e.reader,e.version),t.g=e.timescale})).box("minf",Xi).box("stbl",Xi).O("stsd",$i).box("wvtt",(function(){n=!0})).parse(e),!this.g)throw new ot(2,2,2008);if(!n)throw new ot(2,2,2008)},DE.prototype.setSequenceMode=function(){},DE.prototype.setManifestType=function(){},DE.prototype.parseMedia=function(e,t){if(!e.length)return[];if(!this.g)throw new ot(2,2,2008);var n,i=0,o=[],r=[],a=!1,s=!1,c=!1,u=null;if((new qi).box("moof",Xi).box("traf",Xi).O("tfdt",(function(e){a=!0,i=wr(e.reader,e.version).baseMediaDecodeTime})).O("tfhd",(function(e){u=kr(e.reader,e.flags).gf})).O("trun",(function(e){s=!0,o=Mr(e.reader,e.version,e.flags).Bf})).box("mdat",Qi((function(e){c=!0,n=e}))).parse(e,!1),!c&&!a&&!s)throw new ot(2,2,2008);e=i;for(var d=new zi(n,0),p=l(o),h=p.next();!h.done;h=p.next()){var f=(h=h.value).Je||u,m=h.Md?i+h.Md:e;e=m+(f||0);var _=0;do{var g=d.K();_+=g;var E=null;"vttc"==to(d.K())?8<g&&(E=d.kb(g-8)):d.skip(g-8),f&&E&&(g=ME(E,t.periodStart+m/this.g,t.periodStart+e/this.g),r.push(g))}while(h.sampleSize&&_<h.sampleSize)}return r.filter(ct)},B("shaka.text.Mp4VttParser",DE),DE.prototype.parseMedia=DE.prototype.parseMedia,DE.prototype.setManifestType=DE.prototype.setManifestType,DE.prototype.setSequenceMode=DE.prototype.setSequenceMode,DE.prototype.parseInit=DE.prototype.parseInit,Rt['application/mp4; codecs="wvtt"']=function(){return new DE},xE.prototype.parseInit=function(){},xE.prototype.setSequenceMode=function(){},xE.prototype.setManifestType=function(){},xE.prototype.parseMedia=function(e){var t=Bi(e).replace(/\r+/g,"");if(e=[],""==(t=t.trim()))return e;for(var n=(t=l(t.split("\n\n"))).next();!n.done;n=t.next()){var i=new Eh((n=n.value.split("\n"))[0]),o=UE(i),r=yh(i,/,/g);if(i=UE(i),null==o||null==r||null==i)throw new ot(2,2,2001,"Could not parse cue time range in SubViewer");e.push(new me(o,i,n.slice(1).join("\n").trim()))}return e},B("shaka.text.SbvTextParser",xE),xE.prototype.parseMedia=xE.prototype.parseMedia,xE.prototype.setManifestType=xE.prototype.setManifestType,xE.prototype.setSequenceMode=xE.prototype.setSequenceMode,xE.prototype.parseInit=xE.prototype.parseInit,Rt["text/x-subviewer"]=function(){return new xE},VE.prototype.parseInit=function(){},VE.prototype.setSequenceMode=function(){},VE.prototype.setManifestType=function(){},VE.prototype.parseMedia=function(e,t){return e=oe(Wi(e=FE(e=Bi(e)))),this.g.parseMedia(e,t)},B("shaka.text.SrtTextParser",VE),VE.srt2webvtt=FE,VE.prototype.parseMedia=VE.prototype.parseMedia,VE.prototype.setManifestType=VE.prototype.setManifestType,VE.prototype.setSequenceMode=VE.prototype.setSequenceMode,VE.prototype.parseInit=VE.prototype.parseInit,Rt["text/srt"]=function(){return new VE},BE.prototype.parseInit=function(){},BE.prototype.setSequenceMode=function(){},BE.prototype.setManifestType=function(){},BE.prototype.parseMedia=function(e){for(var t="",n="",i=(e=l(e=Bi(e).split(/\r?\n\s*\r?\n/))).next();!i.done;i=e.next()){var o=jE.exec(i.value);o&&(i=o[1],o=o[2],"V4 Styles"==i||"V4+ Styles"==i?t=o:"Events"==i&&(n=o))}e=[],i=null;for(var r=(t=l(t.split(/\r?\n/))).next();!r.done;r=t.next())if(o=r.value,!/^\s*;/.test(o)&&(r=YE.exec(o)))if(o=r[1].trim(),r=r[2].trim(),"Format"==o)i=r.split(zE);else if("Style"==o){o=r.split(zE),r={};for(var a=0;a<i.length&&a<o.length;a++)r[i[a]]=o[a];e.push(r)}for(i=[],t=null,o={},r=(n=l(n.split(/\r?\n/))).next();!r.done;o={Wd:o.Wd},r=n.next())if(r=r.value,!/^\s*;/.test(r)&&(a=YE.exec(r)))if(r=a[1].trim(),a=a[2].trim(),"Format"==r)t=a.split(zE);else if("Dialogue"==r){a=a.split(zE),r={};for(var s=0;s<t.length&&s<a.length;s++)r[t[s]]=a[s];a=new me(s=WE(r.Start),WE(r.End),a.slice(t.length-1).join(",").replace(/\\N/g,"\n").replace(/\{[^}]+\}/g,"")),o.Wd=r.Style,(r=e.find(function(e){return function(t){return t.Name==e.Wd}}(o)))&&HE(a,r),i.push(a)}return i},B("shaka.text.SsaTextParser",BE),BE.prototype.parseMedia=BE.prototype.parseMedia,BE.prototype.setManifestType=BE.prototype.setManifestType,BE.prototype.setSequenceMode=BE.prototype.setSequenceMode,BE.prototype.parseInit=BE.prototype.parseInit;var jE=/^\s*\[([^\]]+)\]\r?\n([\s\S]*)/,YE=/^\s*([^:]+):\s*(.*)/,zE=/\s*,\s*/,KE=/^(\d+:)?(\d{1,2}):(\d{1,2}(?:[.]\d{1,3})?)?$/;function JE(e,t){var n=1&e[t+1]?7:9;return t+n<=e.length&&0<(e=((3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5)-n)?{wd:n,P:e}:null}function qE(e,t){var n=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],i=(60&e[t+2])>>>2;if(i>n.length-1)return null;var o=1+((192&e[t+2])>>>6),r=(1&e[t+2])<<2;return r|=(192&e[t+3])>>>6,{sampleRate:n[i],channelCount:r,pa:"mp4a.40."+o}}function XE(e,t){if(t+1<e.length&&255===e[t]&&240==(246&e[t+1])){var n=1&e[t+1]?7:9;if(t+n>=e.length)return!1;var i=(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5;return!(i<=n)&&((t+=i)===e.length||t+1<e.length&&255===e[t]&&240==(246&e[t+1]))}return!1}function $E(e){this.i=e,this.h=0,this.g=new Map}function ZE(e,t){if(t+8>e.length||11!==e[t]||119!==e[t+1])return null;var n=e[t+4]>>6;if(3<=n)return null;var i=63&e[t+4],o=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*i+n];if(t+o>e.length)return null;var r=e[t+6]>>5,a=0;2===r?a+=2:(1&r&&1!==r&&(a+=2),4&r&&(a+=2)),a=(e[t+6]<<8|e[t+7])>>12-a&1;var s=7&e[t+5];return e=new Uint8Array([n<<6|e[t+5]>>3<<1|s>>2,(3&s)<<6|r<<3|a<<2|i>>4,i<<4&224]),{sampleRate:[48e3,44100,32e3][n],channelCount:[2,1,2,3,3,4,4,5][r]+a,ca:e,P:o}}function QE(e,t){if(11===e[t]&&119===e[t+1]){var n,i,o=0,r=5;for(t+=r;0<r;){i=e[t];var a=Math.min(r,8),s=8-a;n=(i&(n=4278190080>>>24+s<<s))>>s,o=o?o<<a|n:n,t+=1,r-=a}if(16>o)return!0}return!1}function ev(e){this.i=e,this.h=0,this.g=new Map}function tv(e,t){if(t+8>e.length||2935!=(e[t]<<8|e[t+1]<<0))return null;var n=new Fr(e.subarray(t+2));Hr(n,2),Hr(n,3);var i=Gr(n,11)+1<<1,o=Gr(n,2);if(3==o){o=[24e3,22060,16e3][o=Gr(n,2)];var r=3}else o=[48e3,44100,32e3][o],r=Gr(n,2);var a=Gr(n,3),s=Gr(n,1);return n=Gr(n,5),t+i>e.byteLength?null:(e=Math.floor(i*o/(16*[1,2,3,6][r])),e=new Uint8Array([(8160&e)>>5,(31&e)<<3,o<<6|n<<1|0,0|a<<1|s<<0,0]),{sampleRate:o,channelCount:[2,1,2,3,3,4,4,5][a]+s,ca:e,P:i})}function nv(e){this.i=e,this.h=0,this.g=new Map}function iv(e){for(var t=!1,n=new Uint8Array([]),i=e.find((function(e){return 7==e.type})),o=!1,r=(e=l(e)).next();!r.done;r=e.next()){var a=!1;switch((r=r.value).type){case 1:a=o=!0;var s=r.data;i&&4<s.length&&(2===(s=Kr(new Fr(s)))||4===s||7===s||9===s)&&(t=!0);break;case 5:t=a=o=!0;break;case 6:case 7:case 8:case 12:a=!0;break;case 9:o=a=!0;break;default:a=!1}o&&a&&(a=r.bb.byteLength,(s=new Uint8Array(4))[0]=a>>24&255,s[1]=a>>16&255,s[2]=a>>8&255,s[3]=255&a,n=po(n,s,r.bb))}return n.byteLength?{data:n,tf:t}:null}Rt["text/x-ssa"]=function(){return new BE},(i=$E.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/aac"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/aac"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="'+(bt(t)||"mp4a.40.2")+'"':t},i.getOrginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(var o=oe(e),r=Lr(o),a=r.length;a<o.length&&!XE(o,a);a++);if(e=1e3*n.endTime,(r=Pr(r)).length&&n&&(n=r.find((function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description})))&&(e=n.data),!(n=qE(o,a)))return Promise.reject(new ot(2,3,3018));for(t.audioSamplingRate=n.sampleRate,t.channelsCount=n.channelCount,r=[];a<o.length;){var s=JE(o,a);if(!s)return Promise.reject(new ot(2,3,3018));var c=s.wd+s.P;a+c<=o.length&&r.push({data:o.subarray(a+s.wd,a+c),size:s.P,duration:1024,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),a+=c}return o=n.sampleRate,e=Math.floor(e*o/1e3),e=new yf([i={id:t.id,type:"audio",codecs:n.pa,encrypted:t.encrypted&&0<t.drmInfos.length,timescale:o,duration:i,La:[],ca:new Uint8Array([]),na:new Uint8Array([]),data:{mb:this.h,baseMediaDecodeTime:e,Ka:r},stream:t}]),this.g.has(t.id)?i=this.g.get(t.id):(i=e.initSegment(),this.g.set(t.id,i)),t=Af(e),this.h++,t=po(i,t),Promise.resolve(t)},B("shaka.transmuxer.AacTransmuxer",$E),$E.prototype.transmux=$E.prototype.transmux,$E.prototype.getOrginalMimeType=$E.prototype.getOrginalMimeType,$E.prototype.convertCodecs=$E.prototype.convertCodecs,$E.prototype.isSupported=$E.prototype.isSupported,$E.prototype.destroy=$E.prototype.destroy,xe("audio/aac",(function(){return new $E("audio/aac")}),Fe),(i=ev.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/ac3"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/ac3"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="ac-3"':t},i.getOrginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(var o=Lr(e=oe(e)),r=o.length;r<e.length&&!QE(e,r);r++);var a=1e3*n.endTime;(o=Pr(o)).length&&n&&(n=o.find((function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description})))&&(a=n.data),n=0,o=new Uint8Array([]);for(var s=[];r<e.length;){var c=ZE(e,r);if(!c)return Promise.reject(new ot(2,3,3018));t.audioSamplingRate=c.sampleRate,t.channelsCount=c.channelCount,n=c.sampleRate,o=c.ca,s.push({data:e.subarray(r,r+c.P),size:c.P,duration:1536,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),r+=c.P}return e=Math.floor(a*n/1e3),e=new yf([i={id:t.id,type:"audio",codecs:"ac-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:n,duration:i,La:[],ca:o,na:new Uint8Array([]),data:{mb:this.h,baseMediaDecodeTime:e,Ka:s},stream:t}]),this.g.has(t.id)?i=this.g.get(t.id):(i=e.initSegment(),this.g.set(t.id,i)),t=Af(e),this.h++,t=po(i,t),Promise.resolve(t)},B("shaka.transmuxer.Ac3Transmuxer",ev),ev.prototype.transmux=ev.prototype.transmux,ev.prototype.getOrginalMimeType=ev.prototype.getOrginalMimeType,ev.prototype.convertCodecs=ev.prototype.convertCodecs,ev.prototype.isSupported=ev.prototype.isSupported,ev.prototype.destroy=ev.prototype.destroy,xe("audio/ac3",(function(){return new ev("audio/ac3")}),Fe),(i=nv.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/ec3"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/ec3"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="ec-3"':t},i.getOrginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(var o=Lr(e=oe(e)),r=o.length;r<e.length&&2935!=(e[r]<<8|e[r+1]<<0);r++);var a=1e3*n.endTime;(o=Pr(o)).length&&n&&(n=o.find((function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description})))&&(a=n.data),n=0,o=new Uint8Array([]);for(var s=[];r<e.length;){var c=tv(e,r);if(!c)return Promise.reject(new ot(2,3,3018));t.audioSamplingRate=c.sampleRate,t.channelsCount=c.channelCount,n=c.sampleRate,o=c.ca,s.push({data:e.subarray(r,r+c.P),size:c.P,duration:1536,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),r+=c.P}return e=Math.floor(a*n/1e3),e=new yf([i={id:t.id,type:"audio",codecs:"ec-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:n,duration:i,La:[],ca:o,na:new Uint8Array([]),data:{mb:this.h,baseMediaDecodeTime:e,Ka:s},stream:t}]),this.g.has(t.id)?i=this.g.get(t.id):(i=e.initSegment(),this.g.set(t.id,i)),t=Af(e),this.h++,t=po(i,t),Promise.resolve(t)},B("shaka.transmuxer.Ec3Transmuxer",nv),nv.prototype.transmux=nv.prototype.transmux,nv.prototype.getOrginalMimeType=nv.prototype.getOrginalMimeType,nv.prototype.convertCodecs=nv.prototype.convertCodecs,nv.prototype.isSupported=nv.prototype.isSupported,nv.prototype.destroy=nv.prototype.destroy,xe("audio/ec3",(function(){return new nv("audio/ec3")}),Fe);var ov=[100,110,122,244,44,83,86,118,128,138,139,134];function rv(e,t){var n=e[t+1]>>3&3,i=e[t+1]>>1&3,o=e[t+2]>>4&15,r=e[t+2]>>2&3;if(1!==n&&0!==o&&15!==o&&3!==r){var a=e[t+3]>>6;o=1e3*sv[14*(3===n?3-i:3===i?3:4)+o-1],r=cv[3*(3===n?0:2===n?1:2)+r],n=lv[n][i];var s=uv[i],c=Math.floor(n*o/r+(e[t+2]>>1&1))*s,l=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);return(l=l?parseInt(l[1],10):0)&&87>=l&&2===i&&224e3<=o&&0===a&&(e[t+3]|=128),{sampleRate:r,channelCount:3===a?1:2,P:c,gh:8*n*s}}return null}function av(e,t){return 255===e[t]&&224==(224&e[t+1])&&0!=(6&e[t+1])}var sv=[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],cv=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],lv=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],uv=[0,1,1,4];function dv(e){this.i=e,this.h=0,this.g=new Map}function pv(e){this.h=e,this.g=null}function hv(e){this.h=e,(this.g=ah.get("ISOBoxer")())&&function(e){function t(){this._procFullBox(),1&this.flags&&(this._procField("AlgorithmID","uint",24),this._procField("IV_size","uint",8),this._procFieldArray("KID",16,"uint",8)),this._procField("sample_count","uint",32),this._procEntries("entry",this.sample_count,(function(e){this._procEntryField(e,"InitializationVector","data",8),2&this.flags&&(this._procEntryField(e,"NumberOfEntries","uint",16),this._procSubEntries(e,"clearAndCryptedData",e.NumberOfEntries,(function(e){this._procEntryField(e,"BytesOfClearData","uint",16),this._procEntryField(e,"BytesOfEncryptedData","uint",32)})))}))}e.g.addBoxProcessor("saio",(function(){this._procFullBox(),1&this.flags&&(this._procField("aux_info_type","uint",32),this._procField("aux_info_type_parameter","uint",32)),this._procField("entry_count","uint",32),this._procFieldArray("offset",this.entry_count,"uint",1===this.version?64:32)})),e.g.addBoxProcessor("saiz",(function(){this._procFullBox(),1&this.flags&&(this._procField("aux_info_type","uint",32),this._procField("aux_info_type_parameter","uint",32)),this._procField("default_sample_info_size","uint",8),this._procField("sample_count","uint",32),0===this.default_sample_info_size&&this._procFieldArray("sample_info_size",this.sample_count,"uint",8)})),e.g.addBoxProcessor("senc",t),e.g.addBoxProcessor("uuid",(function(){for(var e=!0,n=0;16>n;n++)this.usertype[n]!==mv[n]&&(e=!1);e&&(this._parsing&&(this.type="sepiff"),t.call(this))}))}(this)}function fv(e,t){for(var n=8,i=0;i<e.boxes.length&&e.boxes[i].type!==t;i++)n+=e.boxes[i].size;return n}(i=dv.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/mpeg"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/mpeg"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="mp3"':t},i.getOrginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(n=Lr(e=oe(e)).length;n<e.length;n++){var o=n;if(o+1<e.length&&av(e,o)){var r=rv(e,o),a=4;r&&r.P&&(a=r.P),o=(o+=a)===e.length||o+1<e.length&&av(e,o)}else o=!1;if(o)break}var s;for(o=[];n<e.length;){if(!(r=rv(e,n)))return Promise.reject(new ot(2,3,3018));s||(s=r),n+r.P<=e.length&&o.push({data:e.subarray(n,n+r.P),size:r.P,duration:1152,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),n+=r.P}return s?(e=9e4*s.gh/s.sampleRate*this.h,s=new yf([i={id:t.id,type:"audio",codecs:"mp3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:s.sampleRate,duration:i,La:[],ca:new Uint8Array([]),na:new Uint8Array([]),data:{mb:this.h,baseMediaDecodeTime:e,Ka:o},stream:t}]),this.g.has(t.id)?i=this.g.get(t.id):(i=s.initSegment(),this.g.set(t.id,i)),t=Af(s),this.h++,t=po(i,t),Promise.resolve(t)):Promise.reject(new ot(2,3,3018))},B("shaka.transmuxer.Mp3Transmuxer",dv),dv.prototype.transmux=dv.prototype.transmux,dv.prototype.getOrginalMimeType=dv.prototype.getOrginalMimeType,dv.prototype.convertCodecs=dv.prototype.convertCodecs,dv.prototype.isSupported=dv.prototype.isSupported,dv.prototype.destroy=dv.prototype.destroy,xe("audio/mpeg",(function(){return new dv("audio/mpeg")}),Fe),(i=pv.prototype).destroy=function(){},i.isSupported=function(e){if("video/mp2t"!=e.toLowerCase().split(";")[0])return!1;var t=bt(e).split(","),n=pt("audio",t);return t=pt("video",t),!(!n||t||"mp3"!=yt(n))&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"video/mp2t"==t.toLowerCase().split(";")[0]?"audio/mpeg":t},i.getOrginalMimeType=function(){return this.h},i.transmux=function(e){this.g?this.g.clearData():this.g=new Jr,e=oe(e);var t=this.g.parse(e);if("mp3"!=(e=t.od()).audio||e.video)return Promise.reject(new ot(2,3,3018));e=new Uint8Array([]);for(var n=(t=l(t.zb())).next();!n.done;n=t.next())if(n=n.value.data)for(var i=0;i<n.length;){var o=rv(n,i);o?(i+o.P<=n.length&&(e=po(e,n.subarray(i,i+o.P))),i+=o.P):i++}return Promise.resolve(e)},B("shaka.transmuxer.MpegTsTransmuxer",pv),pv.prototype.transmux=pv.prototype.transmux,pv.prototype.getOrginalMimeType=pv.prototype.getOrginalMimeType,pv.prototype.convertCodecs=pv.prototype.convertCodecs,pv.prototype.isSupported=pv.prototype.isSupported,pv.prototype.destroy=pv.prototype.destroy,xe("video/mp2t",(function(){return new pv("video/mp2t")}),Be),(i=hv.prototype).destroy=function(){},i.isSupported=function(e,t){var n=e.startsWith("mss/");return!(!this.g||!n)&&(t?X(this.convertCodecs(t,e)):(t=this.convertCodecs("audio",e),e=this.convertCodecs("video",e),X(t)||X(e)))},i.convertCodecs=function(e,t){return t.replace("mss/","")},i.getOrginalMimeType=function(){return this.h},i.transmux=function(e,t,n){if(!n)return Promise.resolve(oe(e));if(!t.mssPrivateData)return Promise.reject(new ot(2,3,3020));try{var i,o=this.g.parseBuffer(e),r=o.fetch("tfhd");r.track_ID=t.id+1;var a=o.fetch("tfdt"),s=o.fetch("traf");null===a&&((a=this.g.createFullBox("tfdt",s,r)).version=1,a.flags=0,a.baseMediaDecodeTime=Math.floor(n.startTime*t.mssPrivateData.timescale));var c=o.fetch("trun"),l=o.fetch("tfxd");l&&l._parent.boxes.splice(l._parent.boxes.indexOf(l),1);var u=o.fetch("tfrf");u&&u._parent.boxes.splice(u._parent.boxes.indexOf(u),1);var d=o.fetch("sepiff");if(null!==d){d.type="senc",d.usertype=void 0;var p=o.fetch("saio");if(null===p){(p=this.g.createFullBox("saio",s)).version=0,p.flags=0,p.entry_count=1,p.offset=[0];var h=this.g.createFullBox("saiz",s);if(h.version=0,h.flags=0,h.sample_count=d.sample_count,h.default_sample_info_size=0,h.sample_info_size=[],2&d.flags)for(i=0;i<d.sample_count;i+=1)h.sample_info_size[i]=10+6*d.entry[i].NumberOfEntries;else h.default_sample_info_size=8}}r.flags&=16777214,r.flags|=131072,c.flags|=1;var f=o.fetch("moof");c.data_offset=f.getLength()+8;var m=o.fetch("saio");null!==m&&(m.offset[0]=fv(f,"traf")+fv(s,"senc")+16);var _=oe(o.write());return Promise.resolve(_)}catch(e){return e instanceof ot?Promise.reject(e):Promise.reject(new ot(2,3,3022))}},B("shaka.transmuxer.MssTransmuxer",hv),hv.prototype.transmux=hv.prototype.transmux,hv.prototype.getOrginalMimeType=hv.prototype.getOrginalMimeType,hv.prototype.convertCodecs=hv.prototype.convertCodecs,hv.prototype.isSupported=hv.prototype.isSupported,hv.prototype.destroy=hv.prototype.destroy;var mv=new Uint8Array([162,57,79,82,90,155,79,20,162,68,108,66,124,100,141,244]);function _v(e){var t=this;this.m=e,this.j=ah.get("muxjs")(),this.h=this.g=null,this.l=[],this.i=!1,this.j&&(this.g=new this.j.mp4.Transmuxer({keepOriginalTimestamps:!0}),this.g.on("data",(function(e){t.l.push(po(e.initSegment,e.data))})),this.g.on("done",(function(){var e=po.apply(ro,u(t.l));t.h.resolve(e),t.i=!1})))}function gv(e,t){if(t=t.replace(/mp2t/i,"mp4"),"audio"==e&&(t=t.replace("video","audio")),e=/avc1\.(66|77|100)\.(\d+)/.exec(t)){var n="avc1.",i=e[1],o=Number(e[2]);n=("66"==i?n+"4200":"77"==i?n+"4d00":n+"6400")+(o>>4).toString(16),n+=(15&o).toString(16),t=t.replace(e[0],n)}return t}function Ev(e){this.j=e,this.g=0,this.h=new Map,this.i=null}xe("mss/audio/mp4",(function(){return new hv("mss/audio/mp4")}),Fe),xe("mss/video/mp4",(function(){return new hv("mss/video/mp4")}),Fe),(i=_v.prototype).destroy=function(){this.g&&this.g.dispose(),this.g=null},i.isSupported=function(e,t){var n="mp2t"==e.toLowerCase().split(";")[0].split("/")[1];return!(!this.j||!n)&&(t?X(gv(t,e)):(t=gv("audio",e),e=gv("video",e),X(t)||X(e)))},i.convertCodecs=function(e,t){return"mp2t"==t.toLowerCase().split(";")[0].split("/")[1]?gv(e,t):t},i.getOrginalMimeType=function(){return this.m},i.transmux=function(e){return this.i=!0,this.h=new ri,this.l=[],e=oe(e),this.g.push(e),this.g.flush(),this.i&&this.h.reject(new ot(2,3,3018)),this.h},B("shaka.transmuxer.MuxjsTransmuxer",_v),_v.prototype.transmux=_v.prototype.transmux,_v.prototype.getOrginalMimeType=_v.prototype.getOrginalMimeType,_v.prototype.convertCodecs=_v.prototype.convertCodecs,_v.prototype.isSupported=_v.prototype.isSupported,_v.prototype.destroy=_v.prototype.destroy,xe("video/mp2t",(function(){return new _v("video/mp2t")}),Fe),(i=Ev.prototype).destroy=function(){this.h.clear()},i.isSupported=function(e,t){if("video/mp2t"!=e.toLowerCase().split(";")[0])return!1;var n=bt(e).split(","),i=pt("audio",n);return n=pt("video",n),!(i&&n||i&&(i=yt(i),!bv.includes(i))||n&&(i=yt(n),!Sv.includes(i)))&&(t?X(this.convertCodecs(t,e)):(t=this.convertCodecs("audio",e),e=this.convertCodecs("video",e),X(t)||X(e)))},i.convertCodecs=function(e,t){return"video/mp2t"==t.toLowerCase().split(";")[0]?(t=bt(t).replace("mp4a.40.34","mp3"),"audio"==e?'audio/mp4; codecs="'+t+'"':'video/mp4; codecs="'+t+'"'):t},i.getOrginalMimeType=function(){return this.j},i.transmux=function(e,t,n,i,o){this.i?this.i.clearData():this.i=new Jr,e=oe(e);var r=this.i.parse(e);e=[];var a=r.od();try{if(n=null,"video"==o){if("avc"===a.video){for(var s=[],c=null,d=[],p=r.ud(),h=0;h<p.length;h++){var f=p[h],m=void 0;h+1<p.length&&(m=p[h+1]);var _=r.Ce(f,m);d=d.concat(_);var g=iv(_);g&&(null==c&&(c=f.dts),m=void 0,m=h+1<p.length?(p[h+1].dts||0)-(f.dts||0):(f.dts||0)-(p[h-1].dts||0),s.push({data:g.data,size:g.data.byteLength,duration:m,ab:Math.round((f.pts||0)-(f.dts||0)),flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:g.tf?2:1,hb:g.tf?0:1}}))}var E=function(e){if(!e.length)return null;var t=e.find((function(e){return 7==e.type}));if(e=e.find((function(e){return 8==e.type})),!t||!e)return null;var n=new Fr(t.data),i=Gr(n,8);if(Gr(n,8),Gr(n,8),jr(n),ov.includes(i)&&(3===(i=Yr(n))&&Hr(n,1),jr(n),jr(n),Hr(n,1),1===Gr(n,1))){i=3!==i?8:12;for(var o=0;o<i;o++)1===Gr(n,1)&&zr(n,6>o?16:64)}if(jr(n),0===(i=Yr(n)))Yr(n);else if(1===i)for(Hr(n,1),jr(n),jr(n),i=Yr(n),o=0;o<i;o++)jr(n);jr(n),Hr(n,1),i=Yr(n);var r=Yr(n),a=Gr(n,1);0===a&&Hr(n,1),Hr(n,1);var s=o=0,c=0,l=0;return 1===Gr(n,1)&&(o=Yr(n),s=Yr(n),c=Yr(n),l=Yr(n)),n=(2-a)*(r+1)*16-2*c-2*l,i=16*(i+1)-2*o-2*s,o=[],t=t.bb,o.push(t.byteLength>>>8&255),o.push(255&t.byteLength),o=o.concat.apply(o,u(t)),t=[],e=e.bb,t.push(e.byteLength>>>8&255),t.push(255&e.byteLength),t=t.concat.apply(t,u(e)),{height:n,width:i,na:e=new Uint8Array([1,o[3],o[4],o[5],255,225].concat(o,[1],t))}}(d);if(!E||null==c)throw new ot(2,3,3018);t.height=E.height,t.width=E.width,n={id:t.id,type:"video",codecs:"avc1",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:9e4,duration:i,La:[],ca:new Uint8Array([]),na:E.na,data:{mb:this.g,baseMediaDecodeTime:c,Ka:s},stream:t}}n&&(e.push(n),n=null)}if("audio"==o){switch(a.audio){case"aac":for(var v,y=[],b=null,S=l(r.zb()),T=S.next();!T.done;T=S.next()){var A=T.value,I=A.data;if(I){if(!(v=qE(I,r=0)))throw new ot(2,3,3018);for(t.audioSamplingRate=v.sampleRate,t.channelsCount=v.channelCount,null==b&&null!==A.pts&&(b=A.pts);r<I.length;){var O=JE(I,r);if(O){var C=O.wd+O.P;r+C<=I.length&&y.push({data:I.subarray(r+O.wd,r+C),size:O.P,duration:1024,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),r+=C}else r++}}}if(!v||null==b)throw new ot(2,3,3018);var R=v.sampleRate;r=b/9e4*R,n={id:t.id,type:"audio",codecs:v.pa,encrypted:t.encrypted&&0<t.drmInfos.length,timescale:R,duration:i,La:[],ca:new Uint8Array([]),na:new Uint8Array([]),data:{mb:this.g,baseMediaDecodeTime:r,Ka:y},stream:t};break;case"ac3":b=[],v=0,y=new Uint8Array([]),R=null;for(var N=l(r.zb()),P=N.next();!P.done;P=N.next()){var L=P.value,k=L.data;for(null==R&&null!==L.pts&&(R=L.pts),r=0;r<k.length;){var w=ZE(k,r);w?(t.audioSamplingRate=w.sampleRate,t.channelsCount=w.channelCount,v=w.sampleRate,y=w.ca,b.push({data:k.subarray(r,r+w.P),size:w.P,duration:1536,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),r+=w.P):r++}}if(0==v||0==y.byteLength||null==R)throw new ot(2,3,3018);r=R/9e4*v,n={id:t.id,type:"audio",codecs:"ac-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:v,duration:i,La:[],ca:y,na:new Uint8Array([]),data:{mb:this.g,baseMediaDecodeTime:r,Ka:b},stream:t};break;case"ec3":y=[],v=0,b=new Uint8Array([]),R=null;for(var D=l(r.zb()),M=D.next();!M.done;M=D.next()){var x=M.value,U=x.data;for(null==R&&null!==x.pts&&(R=x.pts),r=0;r<U.length;){var V=tv(U,r);V?(t.audioSamplingRate=V.sampleRate,t.channelsCount=V.channelCount,v=V.sampleRate,b=V.ca,y.push({data:U.subarray(r,r+V.P),size:V.P,duration:1536,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),r+=V.P):r++}}if(0==v||0==b.byteLength||null==R)throw new ot(2,3,3018);r=R/9e4*v,n={id:t.id,type:"audio",codecs:"ec-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:v,duration:i,La:[],ca:b,na:new Uint8Array([]),data:{mb:this.g,baseMediaDecodeTime:r,Ka:y},stream:t};break;case"mp3":var F;y=[],b=null;for(var B=l(r.zb()),H=B.next();!H.done;H=B.next()){var G=H.value,W=G.data;if(W)for(null==b&&null!==G.pts&&(b=G.pts),r=0;r<W.length;){var j=rv(W,r);j?(F||(F=j),r+j.P<=W.length&&y.push({data:W.subarray(r,r+j.P),size:j.P,duration:1152,ab:0,flags:{gb:0,Va:0,Ua:0,Qa:0,Ra:2,hb:0}}),r+=j.P):r++}}if(!F||null==b)throw new ot(2,3,3018);var Y=F.sampleRate;r=b/9e4*Y,n={id:t.id,type:"audio",codecs:"mp3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:Y,duration:i,La:[],ca:new Uint8Array([]),na:new Uint8Array([]),data:{mb:this.g,baseMediaDecodeTime:r,Ka:y},stream:t}}n&&e.push(n)}}catch(e){return Promise.reject(e)}return e.length?(e=new yf(e),this.h.has(t.id)?i=this.h.get(t.id):(i=e.initSegment(),this.h.set(t.id,i)),t=Af(e),this.g++,t=po(i,t),Promise.resolve(t)):Promise.reject(new ot(2,3,3018))},B("shaka.transmuxer.TsTransmuxer",Ev),Ev.prototype.transmux=Ev.prototype.transmux,Ev.prototype.getOrginalMimeType=Ev.prototype.getOrginalMimeType,Ev.prototype.convertCodecs=Ev.prototype.convertCodecs,Ev.prototype.isSupported=Ev.prototype.isSupported,Ev.prototype.destroy=Ev.prototype.destroy;var vv,yv,bv=["aac","ac-3","ec-3","mp3"],Sv=["avc"];function Tv(){}function Av(){vv?console.debug("EmeEncryptionSchemePolyfill: Already installed."):navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration?(vv=navigator.requestMediaKeySystemAccess,console.debug("EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.requestMediaKeySystemAccess=Iv):console.debug("EmeEncryptionSchemePolyfill: EME not found")}function Iv(e,t){var n,i=this;return k((function(o){return 1==o.g?(console.assert(i==navigator,'bad "this" for requestMediaKeySystemAccess'),y(o,vv.call(i,e,t),2)):Mv(n=o.h)?(console.debug("EmeEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.requestMediaKeySystemAccess=vv,o.return(n)):(console.debug("EmeEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support."),navigator.requestMediaKeySystemAccess=Ov,o.return(Ov.call(i,e,t)))}))}function Ov(e,t){var n,i,o,r,a,s,c,u,d,p,h=this;return k((function(f){if(1==f.g){for(console.assert(h==navigator,'bad "this" for requestMediaKeySystemAccess'),n=Dv(e),i=[],o=l(t),r=o.next();!r.done;r=o.next())a=r.value,s=Cv(a.videoCapabilities,n),c=Cv(a.audioCapabilities,n),a.videoCapabilities&&a.videoCapabilities.length&&!s.length||a.audioCapabilities&&a.audioCapabilities.length&&!c.length||((u=Object.assign({},a)).videoCapabilities=s,u.audioCapabilities=c,i.push(u));if(!i.length)throw(d=Error("Unsupported keySystem or supportedConfigurations.")).name="NotSupportedError",d.code=DOMException.NOT_SUPPORTED_ERR,d;return y(f,vv.call(h,e,i),2)}return p=f.h,f.return(new wv(p,n))}))}function Cv(e,t){return e?e.filter((function(e){return!e.encryptionScheme||e.encryptionScheme==t})):e}function Rv(){}function Nv(){yv?console.debug("McEncryptionSchemePolyfill: Already installed."):navigator.mediaCapabilities?(yv=navigator.mediaCapabilities.decodingInfo,console.debug("McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.mediaCapabilities.decodingInfo=Pv):console.debug("McEncryptionSchemePolyfill: MediaCapabilities not found")}function Pv(e){var t,n,i,o=this;return k((function(r){switch(r.g){case 1:return console.assert(o==navigator.mediaCapabilities,'bad "this" for decodingInfo'),y(r,yv.call(o,e),2);case 2:if(t=r.h,!e.keySystemConfiguration)return r.return(t);if((n=t.keySystemAccess)&&Mv(n))return console.debug("McEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.mediaCapabilities.decodingInfo=yv,r.return(t);if(console.debug("McEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support."),navigator.mediaCapabilities.decodingInfo=Lv,n){r.B(3);break}return i=t,y(r,kv(e),4);case 4:return i.keySystemAccess=r.h,r.return(t);case 3:return r.return(Lv.call(o,e))}}))}function Lv(e){var t,n,i,o,r,a,s,c,l=this;return k((function(u){switch(u.g){case 1:return console.assert(l==navigator.mediaCapabilities,'bad "this" for decodingInfo'),t=null,e.keySystemConfiguration&&(n=e.keySystemConfiguration,i=n.keySystem,o=n.audio&&n.audio.encryptionScheme,r=n.video&&n.video.encryptionScheme,t=Dv(i),a={powerEfficient:!1,smooth:!1,supported:!1,keySystemAccess:null,configuration:e},o&&o!=t||r&&r!=t)?u.return(a):y(u,yv.call(l,e),2);case 2:if((s=u.h).keySystemAccess){s.keySystemAccess=new wv(s.keySystemAccess,t),u.B(3);break}if(!e.keySystemConfiguration){u.B(3);break}return c=s,y(u,kv(e),5);case 5:c.keySystemAccess=u.h;case 3:return u.return(s)}}))}function kv(e){var t,n;return k((function(i){if(1==i.g){var o=e.keySystemConfiguration,r=[],a=[];return o.audio&&r.push({robustness:o.audio.robustness||"",contentType:e.audio.contentType}),o.video&&a.push({robustness:o.video.robustness||"",contentType:e.video.contentType}),o={initDataTypes:o.initDataType?[o.initDataType]:[],distinctiveIdentifier:o.distinctiveIdentifier,persistentState:o.persistentState,sessionTypes:o.sessionTypes},r.length&&(o.audioCapabilities=r),a.length&&(o.videoCapabilities=a),t=o,y(i,navigator.requestMediaKeySystemAccess(e.keySystemConfiguration.keySystem,[t]),2)}return n=i.h,i.return(n)}))}function wv(e,t){this.h=e,this.g=t,this.keySystem=e.keySystem}function Dv(e){return e.startsWith("com.widevine")||e.startsWith("com.microsoft")||e.startsWith("com.chromecast")||e.startsWith("com.adobe")||e.startsWith("org.w3")?"cenc":e.startsWith("com.apple")?"cbcs-1-9":(console.warn("EmeEncryptionSchemePolyfill: Unknown key system:",e,"Please contribute!"),null)}function Mv(e){var t=(e=e.getConfiguration()).audioCapabilities&&e.audioCapabilities[0];return!(!(e=e.videoCapabilities&&e.videoCapabilities[0]||t)||void 0===e.encryptionScheme)}function xv(){}function Uv(){Av(),Nv()}xe("video/mp2t",(function(){return new Ev("video/mp2t")}),He),B("EmeEncryptionSchemePolyfill",Tv),Tv.install=Av,B("McEncryptionSchemePolyfill",Rv),Rv.install=Nv,wv.prototype.getConfiguration=function(){var e=this.h.getConfiguration();if(e.videoCapabilities)for(var t=l(e.videoCapabilities),n=t.next();!n.done;n=t.next())n.value.encryptionScheme=this.g;if(e.audioCapabilities)for(n=(t=l(e.audioCapabilities)).next();!n.done;n=t.next())n.value.encryptionScheme=this.g;return e},wv.prototype.createMediaKeys=function(){return this.h.createMediaKeys()},B("EncryptionSchemePolyfills",xv),xv.install=Uv,void 0!==n&&n.exports&&(n.exports=xv)}.call(i,e,e,void 0),i.shaka)t[o]=i.shaka[o]}()},62945:e=>{e.exports=function(e,t,n,i){var o=n?n.call(i,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<r.length;c++){var l=r[c];if(!s(l))return!1;var u=e[l],d=t[l];if(!1===(o=n?n.call(i,u,d,l):void 0)||void 0===o&&u!==d)return!1}return!0}},301:(e,t,n)=>{"use strict";var i=n(48336),o=Array.prototype.concat,r=Array.prototype.slice,a=e.exports=function(e){for(var t=[],n=0,a=e.length;n<a;n++){var s=e[n];i(s)?t=o.call(t,r.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},9216:(e,t,n)=>{"use strict";var i=n(81033);function o(e){if(!Object.prototype.hasOwnProperty.call(r.message,e))throw new Error("invalid status code: "+e);return r.message[e]}function r(e){if("number"==typeof e)return o(e);if("string"!=typeof e)throw new TypeError("code must be a number or string");var t=parseInt(e,10);return isNaN(t)?function(e){var t=e.toLowerCase();if(!Object.prototype.hasOwnProperty.call(r.code,t))throw new Error('invalid status message: "'+e+'"');return r.code[t]}(e):o(t)}e.exports=r,r.message=i,r.code=function(e){var t={};return Object.keys(e).forEach((function(n){var i=e[n],o=Number(n);t[i.toLowerCase()]=o})),t}(i),r.codes=function(e){return Object.keys(e).map((function(e){return Number(e)}))}(i),r.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},r.empty={204:!0,205:!0,304:!0},r.retry={502:!0,503:!0,504:!0}},78783:function(e,t,n){"use strict";var i=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(99489)),o=n(15935);function r(e,t){var n={};return e&&"string"==typeof e?((0,i.default)(e,(function(e,i){e&&i&&(n[(0,o.camelCase)(e,t)]=i)})),n):n}r.default=r,e.exports=r},15935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,o=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,c):e.replace(r,c)).replace(i,s))}},99489:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n(70090));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var i=(0,o.default)(e),r="function"==typeof t;return i.forEach((function(e){if("declaration"===e.type){var i=e.property,o=e.value;r?t(i,o,e):o&&((n=n||{})[i]=o)}})),n}},60386:(e,t,n)=>{"use strict";n.d(t,{ID:()=>le,AH:()=>ve,Ay:()=>Me,i7:()=>De});var i=n(84276),o=n(30758),r=n(62945),a=n.n(r);const s=function(e){function t(e,i,c,l,p){for(var h,f,m,_,y,S=0,T=0,A=0,I=0,O=0,k=0,D=m=h=0,x=0,U=0,V=0,F=0,B=c.length,H=B-1,G="",W="",j="",Y="";x<B;){if(f=c.charCodeAt(x),x===H&&0!==T+I+A+S&&(0!==T&&(f=47===T?10:47),I=A=S=0,B++,H++),0===T+I+A+S){if(x===H&&(0<U&&(G=G.replace(d,"")),0<G.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(x)}f=59}switch(f){case 123:for(h=(G=G.trim()).charCodeAt(0),m=1,F=++x;x<B;){switch(f=c.charCodeAt(x)){case 123:m++;break;case 125:m--;break;case 47:switch(f=c.charCodeAt(x+1)){case 42:case 47:e:{for(D=x+1;D<H;++D)switch(c.charCodeAt(D)){case 47:if(42===f&&42===c.charCodeAt(D-1)&&x+2!==D){x=D+1;break e}break;case 10:if(47===f){x=D+1;break e}}x=D}}break;case 91:f++;case 40:f++;case 34:case 39:for(;x++<H&&c.charCodeAt(x)!==f;);}if(0===m)break;x++}if(m=c.substring(F,x),0===h&&(h=(G=G.replace(u,"").trim()).charCodeAt(0)),64===h){switch(0<U&&(G=G.replace(d,"")),f=G.charCodeAt(1)){case 100:case 109:case 115:case 45:U=i;break;default:U=L}if(F=(m=t(i,U,m,f,p+1)).length,0<w&&(y=s(3,m,U=n(L,G,V),i,R,C,F,f,p,l),G=U.join(""),void 0!==y&&0===(F=(m=y.trim()).length)&&(f=0,m="")),0<F)switch(f){case 115:G=G.replace(b,a);case 100:case 109:case 45:m=G+"{"+m+"}";break;case 107:m=(G=G.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&r("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=G+m,112===l&&(W+=m,m="")}else m=""}else m=t(i,n(i,G,V),m,l,p+1);j+=m,m=V=U=D=h=0,G="",f=c.charCodeAt(++x);break;case 125:case 59:if(1<(F=(G=(0<U?G.replace(d,""):G).trim()).length))switch(0===D&&(h=G.charCodeAt(0),45===h||96<h&&123>h)&&(F=(G=G.replace(" ",":")).length),0<w&&void 0!==(y=s(1,G,i,e,R,C,W.length,l,p,l))&&0===(F=(G=y.trim()).length)&&(G="\0\0"),h=G.charCodeAt(0),f=G.charCodeAt(1),h){case 0:break;case 64:if(105===f||99===f){Y+=G+c.charAt(x);break}default:58!==G.charCodeAt(F-1)&&(W+=o(G,h,f,G.charCodeAt(2)))}V=U=D=h=0,G="",f=c.charCodeAt(++x)}}switch(f){case 13:case 10:47===T?T=0:0===1+h&&107!==l&&0<G.length&&(U=1,G+="\0"),0<w*M&&s(0,G,i,e,R,C,W.length,l,p,l),C=1,R++;break;case 59:case 125:if(0===T+I+A+S){C++;break}default:switch(C++,_=c.charAt(x),f){case 9:case 32:if(0===I+S+T)switch(O){case 44:case 58:case 9:case 32:_="";break;default:32!==f&&(_=" ")}break;case 0:_="\\0";break;case 12:_="\\f";break;case 11:_="\\v";break;case 38:0===I+T+S&&(U=V=1,_="\f"+_);break;case 108:if(0===I+T+S+N&&0<D)switch(x-D){case 2:112===O&&58===c.charCodeAt(x-3)&&(N=O);case 8:111===k&&(N=k)}break;case 58:0===I+T+S&&(D=x);break;case 44:0===T+A+I+S&&(U=1,_+="\r");break;case 34:case 39:0===T&&(I=I===f?0:0===I?f:I);break;case 91:0===I+T+A&&S++;break;case 93:0===I+T+A&&S--;break;case 41:0===I+T+S&&A--;break;case 40:if(0===I+T+S){if(0===h)if(2*O+3*k==533);else h=1;A++}break;case 64:0===T+A+I+S+D+m&&(m=1);break;case 42:case 47:if(!(0<I+S+A))switch(T){case 0:switch(2*f+3*c.charCodeAt(x+1)){case 235:T=47;break;case 220:F=x,T=42}break;case 42:47===f&&42===O&&F+2!==x&&(33===c.charCodeAt(F+2)&&(W+=c.substring(F,x+1)),_="",T=0)}}0===T&&(G+=_)}k=O,O=f,x++}if(0<(F=W.length)){if(U=i,0<w&&(void 0!==(y=s(2,W,U,e,R,C,F,l,p,l))&&0===(W=y).length))return Y+W+j;if(W=U.join(",")+"{"+W+"}",0!=P*N){switch(2!==P||r(W,2)||(N=0),N){case 111:W=W.replace(v,":-moz-$1")+W;break;case 112:W=W.replace(E,"::-webkit-input-$1")+W.replace(E,"::-moz-$1")+W.replace(E,":-ms-input-$1")+W}N=0}}return Y+W+j}function n(e,t,n){var o=t.trim().split(m);t=o;var r=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<r;++s)t[s]=i(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<r;++s)for(var l=0;l<a;++l)t[c++]=i(e[l]+" ",o[s],n).trim()}return t}function i(e,t,n){var i=t.charCodeAt(0);switch(33>i&&(i=(t=t.trim()).charCodeAt(0)),i){case 38:return t.replace(_,"$1"+e.trim());case 58:return e.trim()+t.replace(_,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(_,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,i){var a=e+";",s=2*t+3*n+4*i;if(944===s){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===P||2===P&&r(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!r(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(O,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return h.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(y,"tb");break;case 232:c=a.replace(y,"tb-rl");break;case 220:c=a.replace(y,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(T,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(T,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+a}return a}function r(e,t){var n=e.indexOf(1===t?":":"{"),i=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?i:i.replace(A,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(S," or ($1)").substring(4):"("+t+")"}function s(e,t,n,i,o,r,a,s,c,u){for(var d,p=0,h=t;p<w;++p)switch(d=k[p].call(l,e,h,n,i,o,r,a,s,c,u)){case void 0:case!1:case!0:case null:break;default:h=d}if(h!==t)return h}function c(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!=typeof e?P=1:(P=2,D=e):P=0),c}function l(e,n){var i=e;if(33>i.charCodeAt(0)&&(i=i.trim()),i=[i],0<w){var o=s(-1,n,i,i,R,C,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var r=t(L,i,n,0,0);return 0<w&&(void 0!==(o=s(-2,r,i,i,R,C,r.length,0,0,0))&&(r=o)),"",N=0,C=R=1,r}var u=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,_=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,E=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,T=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,C=1,R=1,N=0,P=1,L=[],k=[],w=0,D=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:w=k.length=0;break;default:if("function"==typeof t)k[w++]=t;else if("object"==typeof t)for(var n=0,i=t.length;n<i;++n)e(t[n]);else M=0|!!t}return e},l.set=c,void 0!==e&&c(e),l};const c={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var l=n(4498),u=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=(0,l.A)((function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),p=n(31035),h=n.n(p),f=n(68558);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var _=function(e,t){for(var n=[e[0]],i=0,o=t.length;i<o;i+=1)n.push(t[i],e[i+1]);return n},g=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,i.typeOf)(e)},E=Object.freeze([]),v=Object.freeze({});function y(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function S(e){return e&&"string"==typeof e.styledComponentId}var T=void 0!==f&&void 0!=={}&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",A="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==f&&void 0!=={}&&(void 0!=={}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={}.REACT_APP_SC_DISABLE_SPEEDY&&{}.REACT_APP_SC_DISABLE_SPEEDY:void 0!=={}.SC_DISABLE_SPEEDY&&""!=={}.SC_DISABLE_SPEEDY&&("false"!=={}.SC_DISABLE_SPEEDY&&{}.SC_DISABLE_SPEEDY)));function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var C=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,o=i;e>=o;)(o<<=1)<0&&O(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var r=i;r<o;r++)this.groupSizes[r]=0}for(var a=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),i=n+t;this.groupSizes[e]=0;for(var o=n;o<i;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],i=this.indexOfGroup(e),o=i+n,r=i;r<o;r++)t+=this.tag.getRule(r)+"/*!sc*/\n";return t},e}(),R=new Map,N=new Map,P=1,L=function(e){if(R.has(e))return R.get(e);for(;N.has(P);)P++;var t=P++;return R.set(e,t),N.set(t,e),t},k=function(e){return N.get(e)},w=function(e,t){t>=P&&(P=t+1),R.set(e,t),N.set(t,e)},D="style["+T+'][data-styled-version="5.3.11"]',M=new RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),x=function(e,t,n){for(var i,o=n.split(","),r=0,a=o.length;r<a;r++)(i=o[r])&&e.registerName(t,i)},U=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),i=[],o=0,r=n.length;o<r;o++){var a=n[o].trim();if(a){var s=a.match(M);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(w(l,c),x(e,l,s[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(a)}}},V=function(){return n.nc},F=function(e){var t=document.head,n=e||t,i=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var i=t[n];if(i&&1===i.nodeType&&i.hasAttribute(T))return i}}(n),r=void 0!==o?o.nextSibling:null;i.setAttribute(T,"active"),i.setAttribute("data-styled-version","5.3.11");var a=V();return a&&i.setAttribute("nonce",a),n.insertBefore(i,r),i},B=function(){function e(e){var t=this.element=F(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,i=t.length;n<i;n++){var o=t[n];if(o.ownerNode===e)return o}O(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),H=function(){function e(e){var t=this.element=F(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),i=this.nodes[e];return this.element.insertBefore(n,i||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),G=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),W=A,j={isServer:!A,useCSSOMInjection:!I},Y=function(){function e(e,t,n){void 0===e&&(e=v),void 0===t&&(t={}),this.options=m({},j,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&A&&W&&(W=!1,function(e){for(var t=document.querySelectorAll(D),n=0,i=t.length;n<i;n++){var o=t[n];o&&"active"!==o.getAttribute(T)&&(U(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return L(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(m({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,i=t.useCSSOMInjection,o=t.target,e=n?new G(o):i?new B(o):new H(o),new C(e)));var e,t,n,i,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(L(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(L(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(L(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,i="",o=0;o<n;o++){var r=k(o);if(void 0!==r){var a=e.names.get(r),s=t.getGroup(o);if(a&&s&&a.size){var c=T+".g"+o+'[id="'+r+'"]',l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+=e+",")})),i+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return i}(this)},e}(),z=/(a)(d)/gi,K=function(e){return String.fromCharCode(e+(e>25?39:97))};function J(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=K(t%52)+n;return(K(t%52)+n).replace(z,"$1-$2")}var q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},X=function(e){return q(5381,e)};function $(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!S(n))return!1}return!0}var Z=X("5.3.11"),Q=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&$(e),this.componentId=t,this.baseHash=q(Z,t),this.baseStyle=n,Y.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var i=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(i,this.staticRulesId))o.push(this.staticRulesId);else{var r=ge(this.rules,e,t,n).join(""),a=J(q(this.baseHash,r)>>>0);if(!t.hasNameForId(i,a)){var s=n(r,"."+a,void 0,i);t.insertRules(i,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,l=q(this.baseHash,n.hash),u="",d=0;d<c;d++){var p=this.rules[d];if("string"==typeof p)u+=p;else if(p){var h=ge(p,e,t,n),f=Array.isArray(h)?h.join(""):h;l=q(l,f+d),u+=f}}if(u){var m=Spicetify._getStyledClassName(arguments,this);if(!t.hasNameForId(i,m)){var _=n(u,"."+m,void 0,i);t.insertRules(i,m,_)}o.push(m)}}return o.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function ne(e){var t,n,i,o,r=void 0===e?v:e,a=r.options,c=void 0===a?v:a,l=r.plugins,u=void 0===l?E:l,d=new s(c),p=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,i,o,r,a,s,c,l,u,d){switch(n){case 1:if(0===u&&64===i.charCodeAt(0))return e(i+";"),"";break;case 2:if(0===l)return i+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+i),"";default:return i+(0===d?"/*|*/":"")}case-2:i.split("/*|*/}").forEach(t)}}}((function(e){p.push(e)})),f=function(e,i,r){return 0===i&&-1!==te.indexOf(r[n.length])||r.match(o)?e:"."+t};function m(e,r,a,s){void 0===s&&(s="&");var c=e.replace(ee,""),l=r&&a?a+" "+r+" { "+c+" }":c;return t=s,n=r,i=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),d(a||!r?"":r,l)}return d.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(i,f))},h,function(e){if(-2===e){var t=p;return p=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||O(15),q(e,t.name)}),5381).toString():"",m}var ie=o.createContext(),oe=(ie.Consumer,o.createContext()),re=(oe.Consumer,new Y),ae=ne();function se(){return(0,o.useContext)(ie)||re}function ce(){return(0,o.useContext)(oe)||ae}function le(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],i=t[1],r=se(),s=(0,o.useMemo)((function(){var t=r;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),c=(0,o.useMemo)((function(){return ne({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,o.useEffect)((function(){a()(n,e.stylisPlugins)||i(e.stylisPlugins)}),[e.stylisPlugins]),o.createElement(ie.Provider,{value:s},o.createElement(oe.Provider,{value:c},e.children))}var ue=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ae);var i=n.name+t.hash;e.hasNameForId(n.id,i)||e.insertRules(n.id,i,t(n.rules,i,"@keyframes"))},this.toString=function(){return O(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ae),this.name+e.hash},e}(),de=/([A-Z])/,pe=/([A-Z])/g,he=/^ms-/,fe=function(e){return"-"+e.toLowerCase()};function me(e){return de.test(e)?e.replace(pe,fe).replace(he,"-ms-"):e}var _e=function(e){return null==e||!1===e||""===e};function ge(e,t,n,i){if(Array.isArray(e)){for(var o,r=[],a=0,s=e.length;a<s;a+=1)""!==(o=ge(e[a],t,n,i))&&(Array.isArray(o)?r.push.apply(r,o):r.push(o));return r}return _e(e)?"":S(e)?"."+e.styledComponentId:y(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:ge(e(t),t,n,i):e instanceof ue?n?(e.inject(n,i),e.getName(i)):e:g(e)?function e(t,n){var i,o,r=[];for(var a in t)t.hasOwnProperty(a)&&!_e(t[a])&&(Array.isArray(t[a])&&t[a].isCss||y(t[a])?r.push(me(a)+":",t[a],";"):g(t[a])?r.push.apply(r,e(t[a],a)):r.push(me(a)+": "+(i=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||i in c||i.startsWith("--")?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(r,["}"]):r}(e):e.toString();var l}var Ee=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ve(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return y(e)||g(e)?Ee(ge(_(E,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ee(ge(_(e,n)))}new Set;var ye=function(e,t,n){return void 0===n&&(n=v),e.theme!==n.theme&&e.theme||t||n.theme},be=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Se=/(^-|-$)/g;function Te(e){return e.replace(be,"-").replace(Se,"")}var Ae=function(e){return J(X(e)>>>0)};function Ie(e){return"string"==typeof e&&!0}var Oe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ce=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Re(e,t,n){var i=e[n];Oe(t)&&Oe(i)?Ne(i,t):e[n]=t}function Ne(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var o=0,r=n;o<r.length;o++){var a=r[o];if(Oe(a))for(var s in a)Ce(s)&&Re(e,a[s],s)}return e}var Pe=o.createContext();Pe.Consumer;var Le={};function ke(e,t,n){var i=S(e),r=!Ie(e),a=t.attrs,s=void 0===a?E:a,c=t.componentId,l=void 0===c?function(e,t){var n="string"!=typeof e?"sc":Te(e);Le[n]=(Le[n]||0)+1;var i=n+"-"+Ae("5.3.11"+n+Le[n]);return t?t+"-"+i:i}(t.displayName,t.parentComponentId):c,u=t.displayName,p=void 0===u?function(e){return Ie(e)?"styled."+e:"Styled("+b(e)+")"}(e):u,f=t.displayName&&t.componentId?Te(t.displayName)+"-"+t.componentId:t.componentId||l,_=i&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,g=t.shouldForwardProp;i&&e.shouldForwardProp&&(g=t.shouldForwardProp?function(n,i,o){return e.shouldForwardProp(n,i,o)&&t.shouldForwardProp(n,i,o)}:e.shouldForwardProp);var T,A=new Q(n,f,i?e.componentStyle:void 0),I=A.isStatic&&0===s.length,O=function(e,t){return function(e,t,n,i){var r=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,l=e.shouldForwardProp,u=e.styledComponentId,p=e.target,h=function(e,t,n){void 0===e&&(e=v);var i=m({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,r,a=e;for(t in y(a)&&(a=a(i)),a)i[t]=o[t]="className"===t?(n=o[t],r=a[t],n&&r?n+" "+r:n||r):a[t]})),[i,o]}(ye(t,(0,o.useContext)(Pe),s)||v,t,r),f=h[0],_=h[1],g=function(e,t,n,i){var o=se(),r=ce();return t?e.generateAndInjectStyles(v,o,r):e.generateAndInjectStyles(n,o,r)}(a,i,f),E=n,b=_.$as||t.$as||_.as||t.as||p,S=Ie(b),T=_!==t?m({},t,{},_):t,A={};for(var I in T)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?A.as=T[I]:(l?l(I,d,b):!S||d(I))&&(A[I]=T[I]));return t.style&&_.style!==t.style&&(A.style=m({},t.style,{},_.style)),A.className=Array.prototype.concat(c,u,g!==u?g:null,t.className,_.className).filter(Boolean).join(" "),A.ref=E,(0,o.createElement)(b,A)}(T,e,t,I)};return O.displayName=p,(T=o.forwardRef(O)).attrs=_,T.componentStyle=A,T.displayName=p,T.shouldForwardProp=g,T.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):E,T.styledComponentId=f,T.target=i?e.target:e,T.withComponent=function(e){var i=t.componentId,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),r=i&&i+"-"+(Ie(e)?e:Te(b(e)));return ke(e,m({},o,{attrs:_,componentId:r}),n)},Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?Ne({},e.defaultProps,t):t}}),Object.defineProperty(T,"toString",{value:function(){return"."+T.styledComponentId}}),r&&h()(T,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),T}var we=function(e){return function e(t,n,o){if(void 0===o&&(o=v),!(0,i.isValidElementType)(n))return O(1,String(n));var r=function(){return t(n,o,ve.apply(void 0,arguments))};return r.withConfig=function(i){return e(t,n,m({},o,{},i))},r.attrs=function(i){return e(t,n,m({},o,{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},r}(ke,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){we[e]=we(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=$(e),Y.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,i){var o=i(ge(this.rules,t,n,i).join(""),""),r=this.componentId+e;n.insertRules(r,r,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,i){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,i)}}();function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=ve.apply(void 0,[e].concat(n)).join(""),r=Ae(o);return new ue(r,o)}!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=V();return"<style "+[n&&'nonce="'+n+'"',T+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?O(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return O(2);var n=((t={})[T]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=V();return i&&(n.nonce=i),[o.createElement("style",m({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?O(2):o.createElement(le,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return O(3)}}();const Me=we},29069:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>f,isFocusable:()=>g,isTabbable:()=>m,tabbable:()=>h});var i=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=i.join(","),r="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=function(e,t,n){var i=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&r.call(e,o)&&i.unshift(e),i=i.filter(n)},s=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t},c=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},l=function(e){return"INPUT"===e.tagName},u=function(e){return function(e){return l(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||e.ownerDocument,i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(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 o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},d=function(e,t){return!(t.disabled||function(e){return l(e)&&"hidden"===e.type}(t)||function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;var n=r.call(e,"details>summary:first-of-type")?e.parentElement:e;if(r.call(n,"details:not([open]) *"))return!0;if(t&&"full"!==t){if("non-zero-area"===t){var i=e.getBoundingClientRect(),o=i.width,a=i.height;return 0===o&&0===a}}else for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,e.displayCheck)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(l(e)||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||"BUTTON"===e.tagName)for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},p=function(e,t){return!(!d(e,t)||u(t)||s(t)<0)},h=function(e,t){var n=[],i=[];return a(e,(t=t||{}).includeContainer,p.bind(null,t)).forEach((function(e,t){var o=s(e);0===o?n.push(e):i.push({documentOrder:t,tabIndex:o,node:e})})),i.sort(c).map((function(e){return e.node})).concat(n)},f=function(e,t){return a(e,(t=t||{}).includeContainer,d.bind(null,t))},m=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==r.call(e,o)&&p(t,e)},_=i.concat("iframe").join(","),g=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==r.call(e,_)&&d(t,e)}},86403:e=>{var t=0,n=-3;function i(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function o(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new i,this.dtree=new i}var r=new i,a=new i,s=new Uint8Array(30),c=new Uint16Array(30),l=new Uint8Array(30),u=new Uint16Array(30),d=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=new i,h=new Uint8Array(320);function f(e,t,n,i){var o,r;for(o=0;o<n;++o)e[o]=0;for(o=0;o<30-n;++o)e[o+n]=o/n|0;for(r=i,o=0;o<30;++o)t[o]=r,r+=1<<e[o]}var m=new Uint16Array(16);function _(e,t,n,i){var o,r;for(o=0;o<16;++o)e.table[o]=0;for(o=0;o<i;++o)e.table[t[n+o]]++;for(e.table[0]=0,r=0,o=0;o<16;++o)m[o]=r,r+=e.table[o];for(o=0;o<i;++o)t[n+o]&&(e.trans[m[t[n+o]]++]=o)}function g(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=1&e.tag;return e.tag>>>=1,t}function E(e,t,n){if(!t)return n;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var i=e.tag&65535>>>16-t;return e.tag>>>=t,e.bitcount-=t,i+n}function v(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=0,i=0,o=0,r=e.tag;do{i=2*i+(1&r),r>>>=1,++o,n+=t.table[o],i-=t.table[o]}while(i>=0);return e.tag=r,e.bitcount-=o,t.trans[n+i]}function y(e,t,n){var i,o,r,a,s,c;for(i=E(e,5,257),o=E(e,5,1),r=E(e,4,4),a=0;a<19;++a)h[a]=0;for(a=0;a<r;++a){var l=E(e,3,0);h[d[a]]=l}for(_(p,h,0,19),s=0;s<i+o;){var u=v(e,p);switch(u){case 16:var f=h[s-1];for(c=E(e,2,3);c;--c)h[s++]=f;break;case 17:for(c=E(e,3,3);c;--c)h[s++]=0;break;case 18:for(c=E(e,7,11);c;--c)h[s++]=0;break;default:h[s++]=u}}_(t,h,0,i),_(n,h,i,o)}function b(e,n,i){for(;;){var o,r,a,d,p=v(e,n);if(256===p)return t;if(p<256)e.dest[e.destLen++]=p;else for(o=E(e,s[p-=257],c[p]),r=v(e,i),d=a=e.destLen-E(e,l[r],u[r]);d<a+o;++d)e.dest[e.destLen++]=e.dest[d]}}function S(e){for(var i,o;e.bitcount>8;)e.sourceIndex--,e.bitcount-=8;if((i=256*(i=e.source[e.sourceIndex+1])+e.source[e.sourceIndex])!==(65535&~(256*e.source[e.sourceIndex+3]+e.source[e.sourceIndex+2])))return n;for(e.sourceIndex+=4,o=i;o;--o)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,t}!function(e,t){var n;for(n=0;n<7;++n)e.table[n]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,n=0;n<24;++n)e.trans[n]=256+n;for(n=0;n<144;++n)e.trans[24+n]=n;for(n=0;n<8;++n)e.trans[168+n]=280+n;for(n=0;n<112;++n)e.trans[176+n]=144+n;for(n=0;n<5;++n)t.table[n]=0;for(t.table[5]=32,n=0;n<32;++n)t.trans[n]=n}(r,a),f(s,c,4,3),f(l,u,2,1),s[28]=0,c[28]=258,e.exports=function(e,i){var s,c,l=new o(e,i);do{switch(s=g(l),E(l,2,0)){case 0:c=S(l);break;case 1:c=b(l,r,a);break;case 2:y(l,l.ltree,l.dtree),c=b(l,l.ltree,l.dtree);break;default:c=n}if(c!==t)throw new Error("Data error")}while(!s);return l.destLen<l.dest.length?"function"==typeof l.dest.slice?l.dest.slice(0,l.destLen):l.dest.subarray(0,l.destLen):l.dest}},15237:e=>{"use strict";e.exports=function(e){return e.split(" ").map((function(e){return e.slice(0,1).toUpperCase()+e.slice(1)})).join("").replace(/[^ _0-9a-z]/gi,"")}},44747:(e,t,n)=>{const i=n(86403),{swap32LE:o}=n(1224);e.exports=class{constructor(e){const t="function"==typeof e.readUInt32BE&&"function"==typeof e.slice;if(t||e instanceof Uint8Array){let n;if(t)this.highStart=e.readUInt32LE(0),this.errorValue=e.readUInt32LE(4),n=e.readUInt32LE(8),e=e.slice(12);else{const t=new DataView(e.buffer);this.highStart=t.getUint32(0,!0),this.errorValue=t.getUint32(4,!0),n=t.getUint32(8,!0),e=e.subarray(12)}e=i(e,new Uint8Array(n)),e=i(e,new Uint8Array(n)),o(e),this.data=new Uint32Array(e.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=e)}get(e){let t;return e<0||e>1114111?this.errorValue:e<55296||e>56319&&e<=65535?(t=(this.data[e>>5]<<2)+(31&e),this.data[t]):e<=65535?(t=(this.data[2048+(e-55296>>5)]<<2)+(31&e),this.data[t]):e<this.highStart?(t=this.data[2080+(e>>11)],t=this.data[t+(e>>5&63)],t=(t<<2)+(31&e),this.data[t]):this.data[this.data.length-4]}}},1224:e=>{const t=18===new Uint8Array(new Uint32Array([305419896]).buffer)[0],n=(e,t,n)=>{let i=e[t];e[t]=e[n],e[n]=i};e.exports={swap32LE:e=>{t&&(e=>{const t=e.length;for(let i=0;i<t;i+=4)n(e,i,i+3),n(e,i+1,i+2)})(e)}}},8159:(e,t,n)=>{"use strict";n.d(t,{YQ:()=>o,d7:()=>s});var i=n(30758);function o(e,t,n){var o=this,r=(0,i.useRef)(null),a=(0,i.useRef)(0),s=(0,i.useRef)(null),c=(0,i.useRef)([]),l=(0,i.useRef)(),u=(0,i.useRef)(),d=(0,i.useRef)(e),p=(0,i.useRef)(!0);d.current=e;var h="undefined"!=typeof window,f=!t&&0!==t&&h;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,_=!("trailing"in n)||!!n.trailing,g="maxWait"in n,E="debounceOnServer"in n&&!!n.debounceOnServer,v=g?Math.max(+n.maxWait||0,t):null;(0,i.useEffect)((function(){return p.current=!0,function(){p.current=!1}}),[]);var y=(0,i.useMemo)((function(){var e=function(e){var t=c.current,n=l.current;return c.current=l.current=null,a.current=e,u.current=d.current.apply(n,t)},n=function(e,t){f&&cancelAnimationFrame(s.current),s.current=f?requestAnimationFrame(e):setTimeout(e,t)},i=function(e){if(!p.current)return!1;var n=e-r.current;return!r.current||n>=t||n<0||g&&e-a.current>=v},y=function(t){return s.current=null,_&&c.current?e(t):(c.current=l.current=null,u.current)},b=function e(){var o=Date.now();if(i(o))return y(o);if(p.current){var s=t-(o-r.current),c=g?Math.min(s,v-(o-a.current)):s;n(e,c)}},S=function(){if(h||E){var d=Date.now(),f=i(d);if(c.current=[].slice.call(arguments),l.current=o,r.current=d,f){if(!s.current&&p.current)return a.current=r.current,n(b,t),m?e(r.current):u.current;if(g)return n(b,t),e(r.current)}return s.current||n(b,t),u.current}};return S.cancel=function(){s.current&&(f?cancelAnimationFrame(s.current):clearTimeout(s.current)),a.current=0,c.current=r.current=l.current=s.current=null},S.isPending=function(){return!!s.current},S.flush=function(){return s.current?y(Date.now()):u.current},S}),[m,g,t,v,_,f,h,E]);return y}function r(e,t){return e===t}function a(e,t){return t}function s(e,t,n){var s=n&&n.equalityFn||r,c=(0,i.useReducer)(a,e),l=c[0],u=c[1],d=o((0,i.useCallback)((function(e){return u(e)}),[u]),t,n),p=(0,i.useRef)(e);return s(p.current,e)||(d(e),p.current=e),[l,d]}},61272:(e,t,n)=>{"use strict";n.d(t,{Ij:()=>s,U0:()=>a,lB:()=>c});var i=n(30758),o=n(96131);function r(e){const t=i.useRef(e),n=i.useRef(0);return(0,o.j)(e,t.current)||(t.current=e,n.current+=1),i.useMemo((()=>t.current),[n.current])}function a(e,t){return i.useCallback(e,r(t))}function s(e,t){i.useEffect(e,r(t))}function c(e,t){return i.useMemo(e,r(t))}},27249:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const i=n(30758).useLayoutEffect},16868:(e,t,n)=>{"use strict";var i=n(30758);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=i.useState,a=i.useEffect,s=i.useLayoutEffect,c=i.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}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 n=t(),i=r({inst:{value:n,getSnapshot:t}}),o=i[0].inst,u=i[1];return s((function(){o.value=n,o.getSnapshot=t,l(o)&&u({inst:o})}),[e,n,t]),a((function(){return l(o)&&u({inst:o}),e((function(){l(o)&&u({inst:o})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:u},79247:(e,t,n)=>{"use strict";var i=n(30758),o=n(91285);var r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=i.useRef,c=i.useEffect,l=i.useMemo,u=i.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,i,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=l((function(){function e(e){if(!c){if(c=!0,a=e,e=i(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,r(a,e))return t;var n=i(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,c=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,i,o]);var h=a(e,d[0],d[1]);return c((function(){p.hasValue=!0,p.value=h}),[h]),u(h),h}},91285:(e,t,n)=>{"use strict";e.exports=n(16868)},51467:(e,t,n)=>{"use strict";e.exports=n(79247)},20889:(e,t)=>{!function(e){var t,n,i,o=String.fromCharCode;function r(e){for(var t,n,i=[],o=0,r=e.length;o<r;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<r?56320==(64512&(n=e.charCodeAt(o++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),o--):i.push(t);return i}function a(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function s(e,t){return o(e>>t&63|128)}function c(e){if(0==(4294967168&e))return o(e);var t="";return 0==(4294965248&e)?t=o(e>>6&31|192):0==(4294901760&e)?(a(e),t=o(e>>12&15|224),t+=s(e,6)):0==(4292870144&e)&&(t=o(e>>18&7|240),t+=s(e,12),t+=s(e,6)),t+=o(63&e|128)}function l(){if(i>=n)throw Error("Invalid byte index");var e=255&t[i];if(i++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function u(){var e,o;if(i>n)throw Error("Invalid byte index");if(i==n)return!1;if(e=255&t[i],i++,0==(128&e))return e;if(192==(224&e)){if((o=(31&e)<<6|l())>=128)return o;throw Error("Invalid continuation byte")}if(224==(240&e)){if((o=(15&e)<<12|l()<<6|l())>=2048)return a(o),o;throw Error("Invalid continuation byte")}if(240==(248&e)&&(o=(7&e)<<18|l()<<12|l()<<6|l())>=65536&&o<=1114111)return o;throw Error("Invalid UTF-8 detected")}e.version="3.0.0",e.encode=function(e){for(var t=r(e),n=t.length,i=-1,o="";++i<n;)o+=c(t[i]);return o},e.decode=function(e){t=r(e),n=t.length,i=0;for(var a,s=[];!1!==(a=u());)s.push(a);return function(e){for(var t,n=e.length,i=-1,r="";++i<n;)(t=e[i])>65535&&(r+=o((t-=65536)>>>10&1023|55296),t=56320|1023&t),r+=o(t);return r}(s)}}(t)},3074:e=>{function t(){}function n(e,t){return Math.floor(Math.random()*(t-e+1))+e}t.maxFromBits=function(e){return Math.pow(2,e)},t.limitUI04=t.maxFromBits(4),t.limitUI06=t.maxFromBits(6),t.limitUI08=t.maxFromBits(8),t.limitUI12=t.maxFromBits(12),t.limitUI14=t.maxFromBits(14),t.limitUI16=t.maxFromBits(16),t.limitUI32=t.maxFromBits(32),t.limitUI40=t.maxFromBits(40),t.limitUI48=t.maxFromBits(48),t.randomUI04=function(){return n(0,t.limitUI04-1)},t.randomUI06=function(){return n(0,t.limitUI06-1)},t.randomUI08=function(){return n(0,t.limitUI08-1)},t.randomUI12=function(){return n(0,t.limitUI12-1)},t.randomUI14=function(){return n(0,t.limitUI14-1)},t.randomUI16=function(){return n(0,t.limitUI16-1)},t.randomUI32=function(){return n(0,t.limitUI32-1)},t.randomUI40=function(){return(0|Math.random()*(1<<30))+(0|1024*Math.random())*(1<<30)},t.randomUI48=function(){return(0|Math.random()*(1<<30))+(0|Math.random()*(1<<18))*(1<<30)},t.paddedString=function(e,t,n){n=n||"0";for(var i=t-(e=String(e)).length;i>0;i>>>=1,n+=n)1&i&&(e=n+e);return e},t.prototype.fromParts=function(e,n,i,o,r,a){return this.version=i>>12&15,this.hex=t.paddedString(e.toString(16),8)+"-"+t.paddedString(n.toString(16),4)+"-"+t.paddedString(i.toString(16),4)+"-"+t.paddedString(o.toString(16),2)+t.paddedString(r.toString(16),2)+"-"+t.paddedString(a.toString(16),12),this},t.prototype.toString=function(){return this.hex},t.prototype.toURN=function(){return"urn:uuid:"+this.hex},t.prototype.toBytes=function(){for(var e=this.hex.split("-"),t=[],n=0,i=0;i<e.length;i++)for(var o=0;o<e[i].length;o+=2)t[n++]=parseInt(e[i].substr(o,2),16);return t},t.prototype.equals=function(e){return e instanceof UUID&&this.hex===e.hex},t.getTimeFieldValues=function(e){var t=e-Date.UTC(1582,9,15),n=t/4294967296*1e4&268435455;return{low:1e4*(268435455&t)%4294967296,mid:65535&n,hi:n>>>16,timestamp:t}},t._create4=function(){return(new t).fromParts(t.randomUI32(),t.randomUI16(),16384|t.randomUI12(),128|t.randomUI06(),t.randomUI08(),t.randomUI48())},t._create1=function(){var e=(new Date).getTime(),n=t.randomUI14(),i=1099511627776*(1|t.randomUI08())+t.randomUI40(),o=t.randomUI04(),r=0;e!=r?(e<r&&n++,r=e,o=t.randomUI04()):Math.random()<1/4&&o<9984?o+=1+t.randomUI04():n++;var a=t.getTimeFieldValues(r),s=a.low+o,c=4095&a.hi|4096,l=(n&=16383)>>>8|128,u=255&n;return(new t).fromParts(s,a.mid,c,l,u,i)},t.create=function(e){return this["_create"+(e=e||4)]()},t.fromTime=function(e,n){n=n||!1;var i=t.getTimeFieldValues(e),o=i.low,r=4095&i.hi|4096;return!1===n?(new t).fromParts(o,i.mid,r,0,0,0):(new t).fromParts(o,i.mid,r,128|t.limitUI06,t.limitUI08-1,t.limitUI48-1)},t.firstFromTime=function(e){return t.fromTime(e,!1)},t.lastFromTime=function(e){return t.fromTime(e,!0)},t.fromURN=function(e){var n;return(n=/^(?:urn:uuid:|\{)?([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{2})([0-9a-f]{2})-([0-9a-f]{12})(?:\})?$/i.exec(e))?(new t).fromParts(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16),parseInt(n[4],16),parseInt(n[5],16),parseInt(n[6],16)):null},t.fromBytes=function(e){if(e.length<5)return null;for(var n="",i=0,o=[4,2,2,2,6],r=0;r<o.length;r++){for(var a=0;a<o[r];a++){var s=e[i++].toString(16);1==s.length&&(s="0"+s),n+=s}6!==o[r]&&(n+="-")}return t.fromURN(n)},t.fromBinary=function(e){for(var n=[],i=0;i<e.length;i++)if(n[i]=e.charCodeAt(i),n[i]>255||n[i]<0)throw new Error("Unexpected byte in binary data.");return t.fromBytes(n)},t.new=function(){return this.create(4)},t.newTS=function(){return this.create(1)},e.exports=t},37204:(e,t,n)=>{var i=n(98571),o=n(66680),r=o;r.v1=i,r.v4=o,e.exports=r},86717:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var i=n||0,o=t;return[o[e[i++]],o[e[i++]],o[e[i++]],o[e[i++]],"-",o[e[i++]],o[e[i++]],"-",o[e[i++]],o[e[i++]],"-",o[e[i++]],o[e[i++]],"-",o[e[i++]],o[e[i++]],o[e[i++]],o[e[i++]],o[e[i++]],o[e[i++]]].join("")}},27644:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},98571:(e,t,n)=>{var i,o,r=n(27644),a=n(86717),s=0,c=0;e.exports=function(e,t,n){var l=t&&n||0,u=t||[],d=(e=e||{}).node||i,p=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==p){var h=r();null==d&&(d=i=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=o=16383&(h[6]<<8|h[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,_=f-s+(m-c)/1e4;if(_<0&&void 0===e.clockseq&&(p=p+1&16383),(_<0||f>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,c=m,o=p;var g=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;u[l++]=g>>>24&255,u[l++]=g>>>16&255,u[l++]=g>>>8&255,u[l++]=255&g;var E=f/4294967296*1e4&268435455;u[l++]=E>>>8&255,u[l++]=255&E,u[l++]=E>>>24&15|16,u[l++]=E>>>16&255,u[l++]=p>>>8|128,u[l++]=255&p;for(var v=0;v<6;++v)u[l+v]=d[v];return t||a(u)}},66680:(e,t,n)=>{var i=n(27644),o=n(86717);e.exports=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[r+s]=a[s];return t||o(a)}},41930:e=>{"use strict";e.exports=function(){}},63730:e=>{"use strict";var t=function(){};e.exports=t},87879:e=>{"use strict";e.exports=function(e,t,n,i){var o=self||window;try{try{var r;try{r=new o.Blob([e])}catch(t){(r=new(o.BlobBuilder||o.WebKitBlobBuilder||o.MozBlobBuilder||o.MSBlobBuilder)).append(e),r=r.getBlob()}var a=o.URL||o.webkitURL,s=a.createObjectURL(r),c=new o[t](s,n);return a.revokeObjectURL(s),c}catch(i){return new o[t]("data:application/javascript,".concat(encodeURIComponent(e)),n)}}catch(e){if(!i)throw Error("Inline worker is not supported");return new o[t](i,n)}}},86857:(e,t,n)=>{e.exports={h32:n(87369),h64:n(8971)}},87369:(e,t,n)=>{var i=n(84686).hp,o=n(42067).UINT32;o.prototype.xxh_update=function(e,t){var n,i,o=a._low,s=a._high;n=(i=e*o)>>>16,n+=t*o,n&=65535,n+=e*s;var c=this._low+(65535&i),l=c>>>16,u=(l+=this._high+(65535&n))<<16|65535&c;l=(u=u<<13|u>>>19)>>>16,n=(i=(c=65535&u)*(o=r._low))>>>16,n+=l*o,n&=65535,n+=c*(s=r._high),this._low=65535&i,this._high=65535&n};var r=o("2654435761"),a=o("2246822519"),s=o("3266489917"),c=o("668265263"),l=o("374761393");function u(){return 2==arguments.length?new u(arguments[1]).update(arguments[0]).digest():this instanceof u?void d.call(this,arguments[0]):new u(arguments[0])}function d(e){return this.seed=e instanceof o?e.clone():o(e),this.v1=this.seed.clone().add(r).add(a),this.v2=this.seed.clone().add(a),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(r),this.total_len=0,this.memsize=0,this.memory=null,this}u.prototype.init=d,u.prototype.update=function(e){var t,n="string"==typeof e;n&&(e=function(e){for(var t=[],n=0,i=e.length;n<i;n++){var o=e.charCodeAt(n);o<128?t.push(o):o<2048?t.push(192|o>>6,128|63&o):o<55296||o>=57344?t.push(224|o>>12,128|o>>6&63,128|63&o):(n++,o=65536+((1023&o)<<10|1023&e.charCodeAt(n)),t.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|63&o))}return new Uint8Array(t)}(e),n=!1,t=!0),"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&(t=!0,e=new Uint8Array(e));var o=0,r=e.length,a=o+r;if(0==r)return this;if(this.total_len+=r,0==this.memsize&&(this.memory=n?"":t?new Uint8Array(16):new i(16)),this.memsize+r<16)return n?this.memory+=e:t?this.memory.set(e.subarray(0,r),this.memsize):e.copy(this.memory,this.memsize,0,r),this.memsize+=r,this;if(this.memsize>0){n?this.memory+=e.slice(0,16-this.memsize):t?this.memory.set(e.subarray(0,16-this.memsize),this.memsize):e.copy(this.memory,this.memsize,0,16-this.memsize);var s=0;n?(this.v1.xxh_update(this.memory.charCodeAt(s+1)<<8|this.memory.charCodeAt(s),this.memory.charCodeAt(s+3)<<8|this.memory.charCodeAt(s+2)),s+=4,this.v2.xxh_update(this.memory.charCodeAt(s+1)<<8|this.memory.charCodeAt(s),this.memory.charCodeAt(s+3)<<8|this.memory.charCodeAt(s+2)),s+=4,this.v3.xxh_update(this.memory.charCodeAt(s+1)<<8|this.memory.charCodeAt(s),this.memory.charCodeAt(s+3)<<8|this.memory.charCodeAt(s+2)),s+=4,this.v4.xxh_update(this.memory.charCodeAt(s+1)<<8|this.memory.charCodeAt(s),this.memory.charCodeAt(s+3)<<8|this.memory.charCodeAt(s+2))):(this.v1.xxh_update(this.memory[s+1]<<8|this.memory[s],this.memory[s+3]<<8|this.memory[s+2]),s+=4,this.v2.xxh_update(this.memory[s+1]<<8|this.memory[s],this.memory[s+3]<<8|this.memory[s+2]),s+=4,this.v3.xxh_update(this.memory[s+1]<<8|this.memory[s],this.memory[s+3]<<8|this.memory[s+2]),s+=4,this.v4.xxh_update(this.memory[s+1]<<8|this.memory[s],this.memory[s+3]<<8|this.memory[s+2])),o+=16-this.memsize,this.memsize=0,n&&(this.memory="")}if(o<=a-16){var c=a-16;do{n?(this.v1.xxh_update(e.charCodeAt(o+1)<<8|e.charCodeAt(o),e.charCodeAt(o+3)<<8|e.charCodeAt(o+2)),o+=4,this.v2.xxh_update(e.charCodeAt(o+1)<<8|e.charCodeAt(o),e.charCodeAt(o+3)<<8|e.charCodeAt(o+2)),o+=4,this.v3.xxh_update(e.charCodeAt(o+1)<<8|e.charCodeAt(o),e.charCodeAt(o+3)<<8|e.charCodeAt(o+2)),o+=4,this.v4.xxh_update(e.charCodeAt(o+1)<<8|e.charCodeAt(o),e.charCodeAt(o+3)<<8|e.charCodeAt(o+2))):(this.v1.xxh_update(e[o+1]<<8|e[o],e[o+3]<<8|e[o+2]),o+=4,this.v2.xxh_update(e[o+1]<<8|e[o],e[o+3]<<8|e[o+2]),o+=4,this.v3.xxh_update(e[o+1]<<8|e[o],e[o+3]<<8|e[o+2]),o+=4,this.v4.xxh_update(e[o+1]<<8|e[o],e[o+3]<<8|e[o+2])),o+=4}while(o<=c)}return o<a&&(n?this.memory+=e.slice(o):t?this.memory.set(e.subarray(o,a),this.memsize):e.copy(this.memory,this.memsize,o,a),this.memsize=a-o),this},u.prototype.digest=function(){var e,t,n=this.memory,i="string"==typeof n,u=0,d=this.memsize,p=new o;for((e=this.total_len>=16?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(l)).add(p.fromNumber(this.total_len));u<=d-4;)i?p.fromBits(n.charCodeAt(u+1)<<8|n.charCodeAt(u),n.charCodeAt(u+3)<<8|n.charCodeAt(u+2)):p.fromBits(n[u+1]<<8|n[u],n[u+3]<<8|n[u+2]),e.add(p.multiply(s)).rotl(17).multiply(c),u+=4;for(;u<d;)p.fromBits(i?n.charCodeAt(u++):n[u++],0),e.add(p.multiply(l)).rotl(11).multiply(r);return t=e.clone().shiftRight(15),e.xor(t).multiply(a),t=e.clone().shiftRight(13),e.xor(t).multiply(s),t=e.clone().shiftRight(16),e.xor(t),this.init(this.seed),e},e.exports=u},8971:(e,t,n)=>{var i=n(84686).hp,o=n(42067).UINT64,r=o("11400714785074694791"),a=o("14029467366897019727"),s=o("1609587929392839161"),c=o("9650029242287828579"),l=o("2870177450012600261");function u(){return 2==arguments.length?new u(arguments[1]).update(arguments[0]).digest():this instanceof u?void d.call(this,arguments[0]):new u(arguments[0])}function d(e){return this.seed=e instanceof o?e.clone():o(e),this.v1=this.seed.clone().add(r).add(a),this.v2=this.seed.clone().add(a),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(r),this.total_len=0,this.memsize=0,this.memory=null,this}u.prototype.init=d,u.prototype.update=function(e){var t,n="string"==typeof e;n&&(e=function(e){for(var t=[],n=0,i=e.length;n<i;n++){var o=e.charCodeAt(n);o<128?t.push(o):o<2048?t.push(192|o>>6,128|63&o):o<55296||o>=57344?t.push(224|o>>12,128|o>>6&63,128|63&o):(n++,o=65536+((1023&o)<<10|1023&e.charCodeAt(n)),t.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|63&o))}return new Uint8Array(t)}(e),n=!1,t=!0),"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&(t=!0,e=new Uint8Array(e));var s=0,c=e.length,l=s+c;if(0==c)return this;if(this.total_len+=c,0==this.memsize&&(this.memory=n?"":t?new Uint8Array(32):new i(32)),this.memsize+c<32)return n?this.memory+=e:t?this.memory.set(e.subarray(0,c),this.memsize):e.copy(this.memory,this.memsize,0,c),this.memsize+=c,this;if(this.memsize>0){n?this.memory+=e.slice(0,32-this.memsize):t?this.memory.set(e.subarray(0,32-this.memsize),this.memsize):e.copy(this.memory,this.memsize,0,32-this.memsize);var u=0;if(n)p=o(this.memory.charCodeAt(u+1)<<8|this.memory.charCodeAt(u),this.memory.charCodeAt(u+3)<<8|this.memory.charCodeAt(u+2),this.memory.charCodeAt(u+5)<<8|this.memory.charCodeAt(u+4),this.memory.charCodeAt(u+7)<<8|this.memory.charCodeAt(u+6)),this.v1.add(p.multiply(a)).rotl(31).multiply(r),u+=8,p=o(this.memory.charCodeAt(u+1)<<8|this.memory.charCodeAt(u),this.memory.charCodeAt(u+3)<<8|this.memory.charCodeAt(u+2),this.memory.charCodeAt(u+5)<<8|this.memory.charCodeAt(u+4),this.memory.charCodeAt(u+7)<<8|this.memory.charCodeAt(u+6)),this.v2.add(p.multiply(a)).rotl(31).multiply(r),u+=8,p=o(this.memory.charCodeAt(u+1)<<8|this.memory.charCodeAt(u),this.memory.charCodeAt(u+3)<<8|this.memory.charCodeAt(u+2),this.memory.charCodeAt(u+5)<<8|this.memory.charCodeAt(u+4),this.memory.charCodeAt(u+7)<<8|this.memory.charCodeAt(u+6)),this.v3.add(p.multiply(a)).rotl(31).multiply(r),u+=8,p=o(this.memory.charCodeAt(u+1)<<8|this.memory.charCodeAt(u),this.memory.charCodeAt(u+3)<<8|this.memory.charCodeAt(u+2),this.memory.charCodeAt(u+5)<<8|this.memory.charCodeAt(u+4),this.memory.charCodeAt(u+7)<<8|this.memory.charCodeAt(u+6)),this.v4.add(p.multiply(a)).rotl(31).multiply(r);else p=o(this.memory[u+1]<<8|this.memory[u],this.memory[u+3]<<8|this.memory[u+2],this.memory[u+5]<<8|this.memory[u+4],this.memory[u+7]<<8|this.memory[u+6]),this.v1.add(p.multiply(a)).rotl(31).multiply(r),u+=8,p=o(this.memory[u+1]<<8|this.memory[u],this.memory[u+3]<<8|this.memory[u+2],this.memory[u+5]<<8|this.memory[u+4],this.memory[u+7]<<8|this.memory[u+6]),this.v2.add(p.multiply(a)).rotl(31).multiply(r),u+=8,p=o(this.memory[u+1]<<8|this.memory[u],this.memory[u+3]<<8|this.memory[u+2],this.memory[u+5]<<8|this.memory[u+4],this.memory[u+7]<<8|this.memory[u+6]),this.v3.add(p.multiply(a)).rotl(31).multiply(r),u+=8,p=o(this.memory[u+1]<<8|this.memory[u],this.memory[u+3]<<8|this.memory[u+2],this.memory[u+5]<<8|this.memory[u+4],this.memory[u+7]<<8|this.memory[u+6]),this.v4.add(p.multiply(a)).rotl(31).multiply(r);s+=32-this.memsize,this.memsize=0,n&&(this.memory="")}if(s<=l-32){var d=l-32;do{var p;if(n)p=o(e.charCodeAt(s+1)<<8|e.charCodeAt(s),e.charCodeAt(s+3)<<8|e.charCodeAt(s+2),e.charCodeAt(s+5)<<8|e.charCodeAt(s+4),e.charCodeAt(s+7)<<8|e.charCodeAt(s+6)),this.v1.add(p.multiply(a)).rotl(31).multiply(r),s+=8,p=o(e.charCodeAt(s+1)<<8|e.charCodeAt(s),e.charCodeAt(s+3)<<8|e.charCodeAt(s+2),e.charCodeAt(s+5)<<8|e.charCodeAt(s+4),e.charCodeAt(s+7)<<8|e.charCodeAt(s+6)),this.v2.add(p.multiply(a)).rotl(31).multiply(r),s+=8,p=o(e.charCodeAt(s+1)<<8|e.charCodeAt(s),e.charCodeAt(s+3)<<8|e.charCodeAt(s+2),e.charCodeAt(s+5)<<8|e.charCodeAt(s+4),e.charCodeAt(s+7)<<8|e.charCodeAt(s+6)),this.v3.add(p.multiply(a)).rotl(31).multiply(r),s+=8,p=o(e.charCodeAt(s+1)<<8|e.charCodeAt(s),e.charCodeAt(s+3)<<8|e.charCodeAt(s+2),e.charCodeAt(s+5)<<8|e.charCodeAt(s+4),e.charCodeAt(s+7)<<8|e.charCodeAt(s+6)),this.v4.add(p.multiply(a)).rotl(31).multiply(r);else p=o(e[s+1]<<8|e[s],e[s+3]<<8|e[s+2],e[s+5]<<8|e[s+4],e[s+7]<<8|e[s+6]),this.v1.add(p.multiply(a)).rotl(31).multiply(r),p=o(e[(s+=8)+1]<<8|e[s],e[s+3]<<8|e[s+2],e[s+5]<<8|e[s+4],e[s+7]<<8|e[s+6]),this.v2.add(p.multiply(a)).rotl(31).multiply(r),p=o(e[(s+=8)+1]<<8|e[s],e[s+3]<<8|e[s+2],e[s+5]<<8|e[s+4],e[s+7]<<8|e[s+6]),this.v3.add(p.multiply(a)).rotl(31).multiply(r),p=o(e[(s+=8)+1]<<8|e[s],e[s+3]<<8|e[s+2],e[s+5]<<8|e[s+4],e[s+7]<<8|e[s+6]),this.v4.add(p.multiply(a)).rotl(31).multiply(r);s+=8}while(s<=d)}return s<l&&(n?this.memory+=e.slice(s):t?this.memory.set(e.subarray(s,l),this.memsize):e.copy(this.memory,this.memsize,s,l),this.memsize=l-s),this},u.prototype.digest=function(){var e,t,n=this.memory,i="string"==typeof n,u=0,d=this.memsize,p=new o;for(this.total_len>=32?((e=this.v1.clone().rotl(1)).add(this.v2.clone().rotl(7)),e.add(this.v3.clone().rotl(12)),e.add(this.v4.clone().rotl(18)),e.xor(this.v1.multiply(a).rotl(31).multiply(r)),e.multiply(r).add(c),e.xor(this.v2.multiply(a).rotl(31).multiply(r)),e.multiply(r).add(c),e.xor(this.v3.multiply(a).rotl(31).multiply(r)),e.multiply(r).add(c),e.xor(this.v4.multiply(a).rotl(31).multiply(r)),e.multiply(r).add(c)):e=this.seed.clone().add(l),e.add(p.fromNumber(this.total_len));u<=d-8;)i?p.fromBits(n.charCodeAt(u+1)<<8|n.charCodeAt(u),n.charCodeAt(u+3)<<8|n.charCodeAt(u+2),n.charCodeAt(u+5)<<8|n.charCodeAt(u+4),n.charCodeAt(u+7)<<8|n.charCodeAt(u+6)):p.fromBits(n[u+1]<<8|n[u],n[u+3]<<8|n[u+2],n[u+5]<<8|n[u+4],n[u+7]<<8|n[u+6]),p.multiply(a).rotl(31).multiply(r),e.xor(p).rotl(27).multiply(r).add(c),u+=8;for(u+4<=d&&(i?p.fromBits(n.charCodeAt(u+1)<<8|n.charCodeAt(u),n.charCodeAt(u+3)<<8|n.charCodeAt(u+2),0,0):p.fromBits(n[u+1]<<8|n[u],n[u+3]<<8|n[u+2],0,0),e.xor(p.multiply(r)).rotl(23).multiply(a).add(s),u+=4);u<d;)p.fromBits(i?n.charCodeAt(u++):n[u++],0,0,0),e.xor(p.multiply(l)).rotl(11).multiply(r);return t=e.clone().shiftRight(33),e.xor(t).multiply(a),t=e.clone().shiftRight(29),e.xor(t).multiply(s),t=e.clone().shiftRight(32),e.xor(t),this.init(this.seed),e},e.exports=u},97500:(e,t)=>{var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,r(n)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},10419:(e,t,n)=>{"use strict";var i=n(26822),o=n(57716),r=TypeError;e.exports=function(e){if(i(e))return e;throw new r(o(e)+" is not a function")}},92679:(e,t,n)=>{"use strict";var i=n(58905),o=String,r=TypeError;e.exports=function(e){if(i(e))return e;throw new r("Can't set "+o(e)+" as a prototype")}},18720:(e,t,n)=>{"use strict";var i=n(36772),o=n(94455),r=n(21152).f,a=i("unscopables"),s=Array.prototype;void 0===s[a]&&r(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},9792:(e,t,n)=>{"use strict";var i=n(27948),o=TypeError;e.exports=function(e,t){if(i(t,e))return e;throw new o("Incorrect invocation")}},25852:(e,t,n)=>{"use strict";var i=n(23489),o=String,r=TypeError;e.exports=function(e){if(i(e))return e;throw new r(o(e)+" is not an object")}},6529:(e,t,n)=>{"use strict";var i=n(52843);e.exports=function(e,t,n){for(var o=0,r=arguments.length>2?n:i(t),a=new e(r);r>o;)a[o]=t[o++];return a}},44486:(e,t,n)=>{"use strict";var i=n(61523),o=n(71671),r=n(81286),a=n(60310),s=n(59242),c=n(52843),l=n(94455),u=n(6529),d=Array,p=o([].push);e.exports=function(e,t,n,o){for(var h,f,m,_=a(e),g=r(_),E=i(t,n),v=l(null),y=c(g),b=0;y>b;b++)m=g[b],(f=s(E(m,b,_)))in v?p(v[f],m):v[f]=[m];if(o&&(h=o(_))!==d)for(f in v)v[f]=u(h,v[f]);return v}},62672:(e,t,n)=>{"use strict";var i=n(7282),o=n(43429),r=n(52843),a=function(e){return function(t,n,a){var s=i(t),c=r(s);if(0===c)return!e&&-1;var l,u=o(a,c);if(e&&n!=n){for(;c>u;)if((l=s[u++])!=l)return!0}else for(;c>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},77871:(e,t,n)=>{"use strict";var i=n(71671);e.exports=i([].slice)},53515:(e,t,n)=>{"use strict";var i=n(71671),o=i({}.toString),r=i("".slice);e.exports=function(e){return r(o(e),8,-1)}},52152:(e,t,n)=>{"use strict";var i=n(91515),o=n(26822),r=n(53515),a=n(36772)("toStringTag"),s=Object,c="Arguments"===r(function(){return arguments}());e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:c?r(t):"Object"===(i=r(t))&&o(t.callee)?"Arguments":i}},96055:(e,t,n)=>{"use strict";var i=n(26072),o=n(29814),r=n(53570),a=n(21152);e.exports=function(e,t,n){for(var s=o(t),c=a.f,l=r.f,u=0;u<s.length;u++){var d=s[u];i(e,d)||n&&i(n,d)||c(e,d,l(t,d))}}},32398:(e,t,n)=>{"use strict";var i=n(72667),o=n(21152),r=n(97477);e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},97477:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7843:(e,t,n)=>{"use strict";var i=n(72667),o=n(21152),r=n(97477);e.exports=function(e,t,n){i?o.f(e,t,r(0,n)):e[t]=n}},50579:(e,t,n)=>{"use strict";var i=n(26822),o=n(21152),r=n(13660),a=n(21328);e.exports=function(e,t,n,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:t;if(i(n)&&r(n,l,s),s.global)c?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},21328:(e,t,n)=>{"use strict";var i=n(82750),o=Object.defineProperty;e.exports=function(e,t){try{o(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},72667:(e,t,n)=>{"use strict";var i=n(20560);e.exports=!i((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},46604:(e,t,n)=>{"use strict";var i,o,r,a,s=n(82750),c=n(23303),l=n(13353),u=s.structuredClone,d=s.ArrayBuffer,p=s.MessageChannel,h=!1;if(l)h=function(e){u(e,{transfer:[e]})};else if(d)try{p||(i=c("worker_threads"))&&(p=i.MessageChannel),p&&(o=new p,r=new d(2),a=function(e){o.port1.postMessage(null,[e])},2===r.byteLength&&(a(r),0===r.byteLength&&(h=a)))}catch(e){}e.exports=h},88956:(e,t,n)=>{"use strict";var i=n(82750),o=n(23489),r=i.document,a=o(r)&&o(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},8917:e=>{"use strict";e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},78817:(e,t,n)=>{"use strict";var i=n(17021),o=n(6265);e.exports=!i&&!o&&"object"==typeof window&&"object"==typeof document},46480:e=>{"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},17021:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},64144:(e,t,n)=>{"use strict";var i=n(17055);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},6265:(e,t,n)=>{"use strict";var i=n(82750),o=n(53515);e.exports="process"===o(i.process)},17055:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4567:(e,t,n)=>{"use strict";var i,o,r=n(82750),a=n(17055),s=r.process,c=r.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u&&(o=(i=u.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=+i[1]),e.exports=o},13108:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},86846:(e,t,n)=>{"use strict";var i=n(71671),o=Error,r=i("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);e.exports=function(e,t){if(c&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=r(e,s,"");return e}},69228:(e,t,n)=>{"use strict";var i=n(20560),o=n(97477);e.exports=!i((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},96071:(e,t,n)=>{"use strict";var i=n(82750),o=n(53570).f,r=n(32398),a=n(50579),s=n(21328),c=n(96055),l=n(73859);e.exports=function(e,t){var n,u,d,p,h,f=e.target,m=e.global,_=e.stat;if(n=m?i:_?i[f]||s(f,{}):i[f]&&i[f].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(h=o(n,u))&&h.value:n[u],!l(m?u:f+(_?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&r(p,"sham",!0),a(n,u,p,e)}}},20560:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},25892:(e,t,n)=>{"use strict";var i=n(91693),o=Function.prototype,r=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(r):function(){return a.apply(r,arguments)})},61523:(e,t,n)=>{"use strict";var i=n(63045),o=n(10419),r=n(91693),a=i(i.bind);e.exports=function(e,t){return o(e),void 0===t?e:r?a(e,t):function(){return e.apply(t,arguments)}}},91693:(e,t,n)=>{"use strict";var i=n(20560);e.exports=!i((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},12486:(e,t,n)=>{"use strict";var i=n(91693),o=Function.prototype.call;e.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},72565:(e,t,n)=>{"use strict";var i=n(72667),o=n(26072),r=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=o(r,"name"),c=s&&"something"===function(){}.name,l=s&&(!i||i&&a(r,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},48259:(e,t,n)=>{"use strict";var i=n(71671),o=n(10419);e.exports=function(e,t,n){try{return i(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},63045:(e,t,n)=>{"use strict";var i=n(53515),o=n(71671);e.exports=function(e){if("Function"===i(e))return o(e)}},71671:(e,t,n)=>{"use strict";var i=n(91693),o=Function.prototype,r=o.call,a=i&&o.bind.bind(r,r);e.exports=i?a:function(e){return function(){return r.apply(e,arguments)}}},67522:(e,t,n)=>{"use strict";var i=n(82750),o=n(26822);e.exports=function(e,t){return arguments.length<2?(n=i[e],o(n)?n:void 0):i[e]&&i[e][t];var n}},99868:(e,t,n)=>{"use strict";var i=n(52152),o=n(17147),r=n(10636),a=n(52578),s=n(36772)("iterator");e.exports=function(e){if(!r(e))return o(e,s)||o(e,"@@iterator")||a[i(e)]}},58568:(e,t,n)=>{"use strict";var i=n(12486),o=n(10419),r=n(25852),a=n(57716),s=n(99868),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return r(i(n,e));throw new c(a(e)+" is not iterable")}},17147:(e,t,n)=>{"use strict";var i=n(10419),o=n(10636);e.exports=function(e,t){var n=e[t];return o(n)?void 0:i(n)}},82750:function(e,t,n){"use strict";var i=function(e){return e&&e.Math===Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||i("object"==typeof this&&this)||function(){return this}()||Function("return this")()},26072:(e,t,n)=>{"use strict";var i=n(71671),o=n(60310),r=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(o(e),t)}},38646:e=>{"use strict";e.exports={}},10260:(e,t,n)=>{"use strict";var i=n(67522);e.exports=i("document","documentElement")},4468:(e,t,n)=>{"use strict";var i=n(72667),o=n(20560),r=n(88956);e.exports=!i&&!o((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},81286:(e,t,n)=>{"use strict";var i=n(71671),o=n(20560),r=n(53515),a=Object,s=i("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?s(e,""):a(e)}:a},52952:(e,t,n)=>{"use strict";var i=n(26822),o=n(23489),r=n(33508);e.exports=function(e,t,n){var a,s;return r&&i(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&r(e,s),e}},4459:(e,t,n)=>{"use strict";var i=n(71671),o=n(26822),r=n(95404),a=i(Function.toString);o(r.inspectSource)||(r.inspectSource=function(e){return a(e)}),e.exports=r.inspectSource},11528:(e,t,n)=>{"use strict";var i,o,r,a=n(72891),s=n(82750),c=n(23489),l=n(32398),u=n(26072),d=n(95404),p=n(98310),h=n(38646),f="Object already initialized",m=s.TypeError,_=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new _);g.get=g.get,g.has=g.has,g.set=g.set,i=function(e,t){if(g.has(e))throw new m(f);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},r=function(e){return g.has(e)}}else{var E=p("state");h[E]=!0,i=function(e,t){if(u(e,E))throw new m(f);return t.facade=e,l(e,E,t),t},o=function(e){return u(e,E)?e[E]:{}},r=function(e){return u(e,E)}}e.exports={set:i,get:o,has:r,enforce:function(e){return r(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},37536:(e,t,n)=>{"use strict";var i=n(36772),o=n(52578),r=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[r]===e)}},26822: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}},75664:(e,t,n)=>{"use strict";var i=n(71671),o=n(20560),r=n(26822),a=n(52152),s=n(67522),c=n(4459),l=function(){},u=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=i(d.exec),h=!d.test(l),f=function(e){if(!r(e))return!1;try{return u(l,[],e),!0}catch(e){return!1}},m=function(e){if(!r(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,c(e))}catch(e){return!0}};m.sham=!0,e.exports=!u||o((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?m:f},73859:(e,t,n)=>{"use strict";var i=n(20560),o=n(26822),r=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n===u||n!==l&&(o(t)?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},10636:e=>{"use strict";e.exports=function(e){return null==e}},23489:(e,t,n)=>{"use strict";var i=n(26822);e.exports=function(e){return"object"==typeof e?null!==e:i(e)}},58905:(e,t,n)=>{"use strict";var i=n(23489);e.exports=function(e){return i(e)||null===e}},252:e=>{"use strict";e.exports=!1},57646:(e,t,n)=>{"use strict";var i=n(67522),o=n(26822),r=n(27948),a=n(6043),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&r(t.prototype,s(e))}},1274:(e,t,n)=>{"use strict";var i=n(12486);e.exports=function(e,t,n){for(var o,r,a=n?e:e.iterator,s=e.next;!(o=i(s,a)).done;)if(void 0!==(r=t(o.value)))return r}},39355:(e,t,n)=>{"use strict";var i=n(61523),o=n(12486),r=n(25852),a=n(57716),s=n(37536),c=n(52843),l=n(27948),u=n(58568),d=n(99868),p=n(87766),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,n){var _,g,E,v,y,b,S,T=n&&n.that,A=!(!n||!n.AS_ENTRIES),I=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),R=i(t,T),N=function(e){return _&&p(_,"normal",e),new f(!0,e)},P=function(e){return A?(r(e),C?R(e[0],e[1],N):R(e[0],e[1])):C?R(e,N):R(e)};if(I)_=e.iterator;else if(O)_=e;else{if(!(g=d(e)))throw new h(a(e)+" is not iterable");if(s(g)){for(E=0,v=c(e);v>E;E++)if((y=P(e[E]))&&l(m,y))return y;return new f(!1)}_=u(e,g)}for(b=I?e.next:_.next;!(S=o(b,_)).done;){try{y=P(S.value)}catch(e){p(_,"throw",e)}if("object"==typeof y&&y&&l(m,y))return y}return new f(!1)}},87766:(e,t,n)=>{"use strict";var i=n(12486),o=n(25852),r=n(17147);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=r(e,"return"))){if("throw"===t)throw n;return n}a=i(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},52578:e=>{"use strict";e.exports={}},52843:(e,t,n)=>{"use strict";var i=n(87157);e.exports=function(e){return i(e.length)}},13660:(e,t,n)=>{"use strict";var i=n(71671),o=n(20560),r=n(26822),a=n(26072),s=n(72667),c=n(72565).CONFIGURABLE,l=n(4459),u=n(11528),d=u.enforce,p=u.get,h=String,f=Object.defineProperty,m=i("".slice),_=i("".replace),g=i([].join),E=s&&!o((function(){return 8!==f((function(){}),"length",{value:8}).length})),v=String(String).split("String"),y=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+_(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),E&&n&&a(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var i=d(e);return a(i,"source")||(i.source=g(v,"string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return r(this)&&p(this).source||l(this)}),"toString")},90003:(e,t,n)=>{"use strict";var i=n(71671),o=Map.prototype;e.exports={Map,set:i(o.set),get:i(o.get),has:i(o.has),remove:i(o.delete),proto:o}},10868:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},90036:(e,t,n)=>{"use strict";var i=n(52148);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},94455:(e,t,n)=>{"use strict";var i,o=n(25852),r=n(84376),a=n(13108),s=n(38646),c=n(10260),l=n(88956),u=n(98310),d="prototype",p="script",h=u("IE_PROTO"),f=function(){},m=function(e){return"<"+p+">"+e+"</"+p+">"},_=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&i?_(i):(t=l("iframe"),n="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):_(i);for(var o=a.length;o--;)delete g[d][a[o]];return g()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[d]=o(e),n=new f,f[d]=null,n[h]=e):n=g(),void 0===t?n:r.f(n,t)}},84376:(e,t,n)=>{"use strict";var i=n(72667),o=n(43145),r=n(21152),a=n(25852),s=n(7282),c=n(90775);t.f=i&&!o?Object.defineProperties:function(e,t){a(e);for(var n,i=s(t),o=c(t),l=o.length,u=0;l>u;)r.f(e,n=o[u++],i[n]);return e}},21152:(e,t,n)=>{"use strict";var i=n(72667),o=n(4468),r=n(43145),a=n(25852),s=n(59242),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";t.f=i?r?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var i=u(e,t);i&&i[h]&&(e[t]=n.value,n={configurable:p in n?n[p]:i[p],enumerable:d in n?n[d]:i[d],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},53570:(e,t,n)=>{"use strict";var i=n(72667),o=n(12486),r=n(28658),a=n(97477),s=n(7282),c=n(59242),l=n(26072),u=n(4468),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=s(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return a(!o(r.f,e,t),e[t])}},65719:(e,t,n)=>{"use strict";var i=n(27401),o=n(13108).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},63694:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},27948:(e,t,n)=>{"use strict";var i=n(71671);e.exports=i({}.isPrototypeOf)},27401:(e,t,n)=>{"use strict";var i=n(71671),o=n(26072),r=n(7282),a=n(62672).indexOf,s=n(38646),c=i([].push);e.exports=function(e,t){var n,i=r(e),l=0,u=[];for(n in i)!o(s,n)&&o(i,n)&&c(u,n);for(;t.length>l;)o(i,n=t[l++])&&(~a(u,n)||c(u,n));return u}},90775:(e,t,n)=>{"use strict";var i=n(27401),o=n(13108);e.exports=Object.keys||function(e){return i(e,o)}},28658:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},33508:(e,t,n)=>{"use strict";var i=n(48259),o=n(23489),r=n(68939),a=n(92679);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=i(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),a(i),o(n)?(t?e(n,i):n.__proto__=i,n):n}}():void 0)},64481:(e,t,n)=>{"use strict";var i=n(12486),o=n(26822),r=n(23489),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!r(s=i(n,e)))return s;if(o(n=e.valueOf)&&!r(s=i(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!r(s=i(n,e)))return s;throw new a("Can't convert object to primitive value")}},29814:(e,t,n)=>{"use strict";var i=n(67522),o=n(71671),r=n(65719),a=n(63694),s=n(25852),c=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(s(e)),n=a.f;return n?c(t,n(e)):t}},85578:(e,t,n)=>{"use strict";var i=n(25852);e.exports=function(){var e=i(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}},30635:(e,t,n)=>{"use strict";var i=n(12486),o=n(26072),r=n(27948),a=n(85578),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!r(s,e)?t:i(a,e)}},68939:(e,t,n)=>{"use strict";var i=n(10636),o=TypeError;e.exports=function(e){if(i(e))throw new o("Can't call method on "+e);return e}},18009:(e,t,n)=>{"use strict";var i,o=n(82750),r=n(25892),a=n(26822),s=n(46480),c=n(17055),l=n(77871),u=n(51031),d=o.Function,p=/MSIE .\./.test(c)||s&&((i=o.Bun.version.split(".")).length<3||"0"===i[0]&&(i[1]<3||"3"===i[1]&&"0"===i[2]));e.exports=function(e,t){var n=t?2:1;return p?function(i,o){var s=u(arguments.length,1)>n,c=a(i)?i:d(i),p=s?l(arguments,n):[],h=s?function(){r(c,this,p)}:c;return t?e(h,o):e(h)}:e}},99517:(e,t,n)=>{"use strict";var i=n(71671),o=Set.prototype;e.exports={Set,add:i(o.add),has:i(o.has),remove:i(o.delete),proto:o}},37726:(e,t,n)=>{"use strict";var i=n(71671),o=n(1274),r=n(99517),a=r.Set,s=r.proto,c=i(s.forEach),l=i(s.keys),u=l(new a).next;e.exports=function(e,t,n){return n?o({iterator:l(e),next:u},t):c(e,t)}},98310:(e,t,n)=>{"use strict";var i=n(31300),o=n(62599),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},95404:(e,t,n)=>{"use strict";var i=n(252),o=n(82750),r=n(21328),a="__core-js_shared__",s=e.exports=o[a]||r(a,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:i?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},31300:(e,t,n)=>{"use strict";var i=n(95404);e.exports=function(e,t){return i[e]||(i[e]=t||{})}},13353:(e,t,n)=>{"use strict";var i=n(82750),o=n(20560),r=n(4567),a=n(78817),s=n(17021),c=n(6265),l=i.structuredClone;e.exports=!!l&&!o((function(){if(s&&r>92||c&&r>94||a&&r>97)return!1;var e=new ArrayBuffer(8),t=l(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},79474:(e,t,n)=>{"use strict";var i=n(4567),o=n(20560),r=n(82750).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},8404:(e,t,n)=>{"use strict";var i,o,r,a,s=n(82750),c=n(25892),l=n(61523),u=n(26822),d=n(26072),p=n(20560),h=n(10260),f=n(77871),m=n(88956),_=n(51031),g=n(64144),E=n(6265),v=s.setImmediate,y=s.clearImmediate,b=s.process,S=s.Dispatch,T=s.Function,A=s.MessageChannel,I=s.String,O=0,C={},R="onreadystatechange";p((function(){i=s.location}));var N=function(e){if(d(C,e)){var t=C[e];delete C[e],t()}},P=function(e){return function(){N(e)}},L=function(e){N(e.data)},k=function(e){s.postMessage(I(e),i.protocol+"//"+i.host)};v&&y||(v=function(e){_(arguments.length,1);var t=u(e)?e:T(e),n=f(arguments,1);return C[++O]=function(){c(t,void 0,n)},o(O),O},y=function(e){delete C[e]},E?o=function(e){b.nextTick(P(e))}:S&&S.now?o=function(e){S.now(P(e))}:A&&!g?(a=(r=new A).port2,r.port1.onmessage=L,o=l(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!p(k)?(o=k,s.addEventListener("message",L,!1)):o=R in m("script")?function(e){h.appendChild(m("script"))[R]=function(){h.removeChild(this),N(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:v,clear:y}},43429:(e,t,n)=>{"use strict";var i=n(83790),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},7282:(e,t,n)=>{"use strict";var i=n(81286),o=n(68939);e.exports=function(e){return i(o(e))}},83790:(e,t,n)=>{"use strict";var i=n(10868);e.exports=function(e){var t=+e;return t!=t||0===t?0:i(t)}},87157:(e,t,n)=>{"use strict";var i=n(83790),o=Math.min;e.exports=function(e){var t=i(e);return t>0?o(t,9007199254740991):0}},60310:(e,t,n)=>{"use strict";var i=n(68939),o=Object;e.exports=function(e){return o(i(e))}},38864:(e,t,n)=>{"use strict";var i=n(12486),o=n(23489),r=n(57646),a=n(17147),s=n(64481),c=n(36772),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||r(e))return e;var n,c=a(e,u);if(c){if(void 0===t&&(t="default"),n=i(c,e,t),!o(n)||r(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},59242:(e,t,n)=>{"use strict";var i=n(38864),o=n(57646);e.exports=function(e){var t=i(e,"string");return o(t)?t:t+""}},91515:(e,t,n)=>{"use strict";var i={};i[n(36772)("toStringTag")]="z",e.exports="[object z]"===String(i)},52148:(e,t,n)=>{"use strict";var i=n(52152),o=String;e.exports=function(e){if("Symbol"===i(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},23303:(e,t,n)=>{"use strict";var i=n(6265);e.exports=function(e){try{if(i)return Function('return require("'+e+'")')()}catch(e){}}},57716:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},62599:(e,t,n)=>{"use strict";var i=n(71671),o=0,r=Math.random(),a=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+r,36)}},6043:(e,t,n)=>{"use strict";var i=n(79474);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},43145:(e,t,n)=>{"use strict";var i=n(72667),o=n(20560);e.exports=i&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},51031:e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},72891:(e,t,n)=>{"use strict";var i=n(82750),o=n(26822),r=i.WeakMap;e.exports=o(r)&&/native code/.test(String(r))},36772:(e,t,n)=>{"use strict";var i=n(82750),o=n(31300),r=n(26072),a=n(62599),s=n(79474),c=n(6043),l=i.Symbol,u=o("wks"),d=c?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return r(u,e)||(u[e]=s&&r(l,e)?l[e]:d("Symbol."+e)),u[e]}},98263:(e,t,n)=>{"use strict";var i=n(96071),o=n(44486),r=n(18720);i({target:"Array",proto:!0},{group:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r("group")},27579:(e,t,n)=>{"use strict";var i=n(96071),o=n(82750),r=n(8404).clear;i({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==r},{clearImmediate:r})},28360:(e,t,n)=>{"use strict";var i=n(96071),o=n(82750),r=n(67522),a=n(97477),s=n(21152).f,c=n(26072),l=n(9792),u=n(52952),d=n(90036),p=n(8917),h=n(86846),f=n(72667),m=n(252),_="DOMException",g=r("Error"),E=r(_),v=function(){l(this,y);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=d(e<2?void 0:arguments[1],"Error"),i=new E(t,n),o=new g(t);return o.name=_,s(i,"stack",a(1,h(o.stack,1))),u(i,this,v),i},y=v.prototype=E.prototype,b="stack"in new g(_),S="stack"in new E(1,2),T=E&&f&&Object.getOwnPropertyDescriptor(o,_),A=!(!T||T.writable&&T.configurable),I=b&&!A&&!S;i({global:!0,constructor:!0,forced:m||I},{DOMException:I?v:E});var O=r(_),C=O.prototype;if(C.constructor!==O)for(var R in m||s(C,"constructor",a(1,O)),p)if(c(p,R)){var N=p[R],P=N.s;c(O,P)||s(O,P,a(6,N.c))}},45603:(e,t,n)=>{"use strict";n(27579),n(61722)},61722:(e,t,n)=>{"use strict";var i=n(96071),o=n(82750),r=n(8404).set,a=n(18009),s=o.setImmediate?a(r,!1):r;i({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==s},{setImmediate:s})},76263:(e,t,n)=>{"use strict";var i,o=n(252),r=n(96071),a=n(82750),s=n(67522),c=n(71671),l=n(20560),u=n(62599),d=n(26822),p=n(75664),h=n(10636),f=n(23489),m=n(57646),_=n(39355),g=n(25852),E=n(52152),v=n(26072),y=n(7843),b=n(32398),S=n(52843),T=n(51031),A=n(30635),I=n(90003),O=n(99517),C=n(37726),R=n(46604),N=n(69228),P=n(13353),L=a.Object,k=a.Array,w=a.Date,D=a.Error,M=a.TypeError,x=a.PerformanceMark,U=s("DOMException"),V=I.Map,F=I.has,B=I.get,H=I.set,G=O.Set,W=O.add,j=O.has,Y=s("Object","keys"),z=c([].push),K=c((!0).valueOf),J=c(1..valueOf),q=c("".valueOf),X=c(w.prototype.getTime),$=u("structuredClone"),Z="DataCloneError",Q="Transferring",ee=function(e){return!l((function(){var t=new a.Set([7]),n=e(t),i=e(L(7));return n===t||!n.has(7)||!f(i)||7!=+i}))&&e},te=function(e,t){return!l((function(){var n=new t,i=e({a:n,b:n});return!(i&&i.a===i.b&&i.a instanceof t&&i.a.stack===n.stack)}))},ne=a.structuredClone,ie=o||!te(ne,D)||!te(ne,U)||(i=ne,!!l((function(){var e=i(new a.AggregateError([1],$,{cause:3}));return"AggregateError"!==e.name||1!==e.errors[0]||e.message!==$||3!==e.cause}))),oe=!ne&&ee((function(e){return new x($,{detail:e}).detail})),re=ee(ne)||oe,ae=function(e){throw new U("Uncloneable type: "+e,Z)},se=function(e,t){throw new U((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",Z)},ce=function(e,t){return re||se(t),re(e)},le=function(e,t,n){if(F(t,e))return B(t,e);var i,o,r,s,c,l;if("SharedArrayBuffer"===(n||E(e)))i=re?re(e):e;else{var u=a.DataView;u||d(e.slice)||se("ArrayBuffer");try{if(d(e.slice)&&!e.resizable)i=e.slice(0);else{o=e.byteLength,r="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0,i=new ArrayBuffer(o,r),s=new u(e),c=new u(i);for(l=0;l<o;l++)c.setUint8(l,s.getUint8(l))}}catch(e){throw new U("ArrayBuffer is detached",Z)}}return H(t,e,i),i},ue=function(e,t){if(m(e)&&ae("Symbol"),!f(e))return e;if(t){if(F(t,e))return B(t,e)}else t=new V;var n,i,o,r,c,l,u,p,h=E(e);switch(h){case"Array":o=k(S(e));break;case"Object":o={};break;case"Map":o=new V;break;case"Set":o=new G;break;case"RegExp":o=new RegExp(e.source,A(e));break;case"Error":switch(i=e.name){case"AggregateError":o=new(s(i))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":o=new(s(i));break;case"CompileError":case"LinkError":case"RuntimeError":o=new(s("WebAssembly",i));break;default:o=new D}break;case"DOMException":o=new U(e.message,e.name);break;case"ArrayBuffer":case"SharedArrayBuffer":o=le(e,t,h);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":l="DataView"===h?e.byteLength:e.length,o=function(e,t,n,i,o){var r=a[t];return f(r)||se(t),new r(le(e.buffer,o),n,i)}(e,h,e.byteOffset,l,t);break;case"DOMQuad":try{o=new DOMQuad(ue(e.p1,t),ue(e.p2,t),ue(e.p3,t),ue(e.p4,t))}catch(t){o=ce(e,h)}break;case"File":if(re)try{o=re(e),E(o)!==h&&(o=void 0)}catch(e){}if(!o)try{o=new File([e],e.name,e)}catch(e){}o||se(h);break;case"FileList":if(r=function(){var e;try{e=new a.DataTransfer}catch(t){try{e=new a.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(c=0,l=S(e);c<l;c++)r.items.add(ue(e[c],t));o=r.files}else o=ce(e,h);break;case"ImageData":try{o=new ImageData(ue(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(t){o=ce(e,h)}break;default:if(re)o=re(e);else switch(h){case"BigInt":o=L(e.valueOf());break;case"Boolean":o=L(K(e));break;case"Number":o=L(J(e));break;case"String":o=L(q(e));break;case"Date":o=new w(X(e));break;case"Blob":try{o=e.slice(0,e.size,e.type)}catch(e){se(h)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[h];try{o=n.fromPoint?n.fromPoint(e):new n(e.x,e.y,e.z,e.w)}catch(e){se(h)}break;case"DOMRect":case"DOMRectReadOnly":n=a[h];try{o=n.fromRect?n.fromRect(e):new n(e.x,e.y,e.width,e.height)}catch(e){se(h)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[h];try{o=n.fromMatrix?n.fromMatrix(e):new n(e)}catch(e){se(h)}break;case"AudioData":case"VideoFrame":d(e.clone)||se(h);try{o=e.clone()}catch(e){ae(h)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":se(h);default:ae(h)}}switch(H(t,e,o),h){case"Array":case"Object":for(u=Y(e),c=0,l=S(u);c<l;c++)p=u[c],y(o,p,ue(e[p],t));break;case"Map":e.forEach((function(e,n){H(o,ue(n,t),ue(e,t))}));break;case"Set":e.forEach((function(e){W(o,ue(e,t))}));break;case"Error":b(o,"message",ue(e.message,t)),v(e,"cause")&&b(o,"cause",ue(e.cause,t)),"AggregateError"===i?o.errors=ue(e.errors,t):"SuppressedError"===i&&(o.error=ue(e.error,t),o.suppressed=ue(e.suppressed,t));case"DOMException":N&&b(o,"stack",ue(e.stack,t))}return o};r({global:!0,enumerable:!0,sham:!P,forced:ie},{structuredClone:function(e){var t,n,i=T(arguments.length,1)>1&&!h(arguments[1])?g(arguments[1]):void 0,o=i?i.transfer:void 0;void 0!==o&&(n=function(e,t){if(!f(e))throw new M("Transfer option cannot be converted to a sequence");var n=[];_(e,(function(e){z(n,g(e))}));for(var i,o,r,s,c,l=0,u=S(n),h=new G;l<u;){if(i=n[l++],"ArrayBuffer"===(o=E(i))?j(h,i):F(t,i))throw new U("Duplicate transferable",Z);if("ArrayBuffer"!==o){if(P)s=ne(i,{transfer:[i]});else switch(o){case"ImageBitmap":r=a.OffscreenCanvas,p(r)||se(o,Q);try{(c=new r(i.width,i.height)).getContext("bitmaprenderer").transferFromImageBitmap(i),s=c.transferToImageBitmap()}catch(e){}break;case"AudioData":case"VideoFrame":d(i.clone)&&d(i.close)||se(o,Q);try{s=i.clone(),i.close()}catch(e){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":se(o,Q)}if(void 0===s)throw new U("This object cannot be transferred: "+o,Z);H(t,i,s)}else W(h,i)}return h}(o,t=new V));var r=ue(e,t);return n&&function(e){C(e,(function(e){P?re(e,{transfer:[e]}):d(e.transfer)?e.transfer():R?R(e):se("ArrayBuffer",Q)}))}(n),r}})},89730:(e,t,n)=>{"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,{A:()=>i})},57780:(e,t,n)=>{"use strict";function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>i})},19484:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(41775);function o(e,t,n){return(t=(0,i.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},95265:(e,t,n)=>{"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(null,arguments)}n.d(t,{A:()=>i})},57878:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(58269);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,i.A)(e,t)}},69469:(e,t,n)=>{"use strict";function i(e){if(null==e)throw new TypeError("Cannot destructure "+e)}n.d(t,{A:()=>i})},81322:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(19484);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},59764:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(64032);function o(e,t){if(null==e)return{};var n,o,r=(0,i.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}},64032:(e,t,n)=>{"use strict";function i(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}n.d(t,{A:()=>i})},58269:(e,t,n)=>{"use strict";function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}n.d(t,{A:()=>i})},12867:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(54075);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],c=!0,l=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||(0,i.A)(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.")}()}},41775:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(90855);function o(e){var t=function(e,t){if("object"!=(0,i.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,i.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,i.A)(t)?t:t+""}},90855:(e,t,n)=>{"use strict";function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}n.d(t,{A:()=>i})},54075:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(89730);function o(e,t){if(e){if("string"==typeof e)return(0,i.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,i.A)(e,t):void 0}}},72683:(e,t,n)=>{"use strict";n.d(t,{PH:()=>f,Qj:()=>h,Z6:()=>l,cF:()=>i,fI:()=>u,iX:()=>w,rr:()=>k,uY:()=>a});const i=1024;let o=0;class r{constructor(e,t){this.from=e,this.to=t}}class a{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=l.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}a.closedBy=new a({deserialize:e=>e.split(" ")}),a.openedBy=new a({deserialize:e=>e.split(" ")}),a.group=new a({deserialize:e=>e.split(" ")}),a.isolate=new a({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[a.mounted.id]}}const c=Object.create(null);class l{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):c,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new l(e.name||"",t,e.id,n);if(e.props)for(let n of e.props)if(Array.isArray(n)||(n=n(i)),n){if(n[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(a.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(a.group),i=-1;i<(n?n.length:0);i++){let o=t[i<0?e.name:n[i]];if(o)return o}}}}l.none=new l("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let i=null;for(let t of e){let e=t(n);e&&(i||(i=Object.assign({},n.props)),i[e[0].id]=e[1])}t.push(i?new l(n.name,i,n.id,n.flags):n)}return new u(t)}}const d=new WeakMap,p=new WeakMap;var h;!function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"}(h||(h={}));class f{constructor(e,t,n,i,o){if(this.type=e,this.children=t,this.positions=n,this.length=i,this.props=null,o&&o.length){this.props=Object.create(null);for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=s.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new C(this.topNode,e)}cursorAt(e,t=0,n=0){let i=d.get(this)||this.topNode,o=new C(i);return o.moveTo(e,t),d.set(this,o._tree),o}get topNode(){return new y(this,0,0,null)}resolve(e,t=0){let n=E(d.get(this)||this.topNode,e,t,!1);return d.set(this,n),n}resolveInner(e,t=0){let n=E(p.get(this)||this.topNode,e,t,!0);return p.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let i=e.resolveInner(t,n),o=null;for(let e=i instanceof y?i:i.context.parent;e;e=e.parent)if(e.index<0){let r=e.parent;(o||(o=[i])).push(r.resolve(t,n)),e=r}else{let r=s.get(e.tree);if(r&&r.overlay&&r.overlay[0].from<=t&&r.overlay[r.overlay.length-1].to>=t){let a=new y(r.tree,r.overlay[0].from+e.from,-1,e);(o||(o=[i])).push(E(a,t,n,!1))}}return o?I(o):i}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:o=this.length}=e,r=e.mode||0,a=(r&h.IncludeAnonymous)>0;for(let e=this.cursor(r|h.IncludeAnonymous);;){let r=!1;if(e.from<=o&&e.to>=i&&(!a&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;r=!0}for(;r&&n&&(a||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;r=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:L(l.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new f(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new f(l.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:o,maxBufferLength:r=i,reused:s=[],minRepeatType:c=o.types.length}=e,l=Array.isArray(n)?new m(n,n.length):n,u=o.types,d=0,p=0;function h(e,t,n,i,a,f){let{id:m,start:T,end:A,size:I}=l,O=p;for(;I<0;){if(l.next(),-1==I){let t=s[m];return n.push(t),void i.push(T-e)}if(-3==I)return void(d=m);if(-4==I)return void(p=m);throw new RangeError(`Unrecognized record size: ${I}`)}let C,R,N=u[m],P=T-e;if(A-T<=r&&(R=b(l.pos-t,a))){let t=new Uint16Array(R.size-R.skip),n=l.pos-R.size,i=t.length;for(;l.pos>n;)i=S(R.start,t,i);C=new _(t,A-R.start,o),P=R.start-e}else{let e=l.pos-I;l.next();let t=[],n=[],i=m>=c?m:-1,o=0,a=A;for(;l.pos>e;)i>=0&&l.id==i&&l.size>=0?(l.end<=a-r&&(v(t,n,T,o,l.end,a,i,O),o=t.length,a=l.end),l.next()):f>2500?g(T,e,t,n):h(T,e,t,n,i,f+1);if(i>=0&&o>0&&o<t.length&&v(t,n,T,o,T,a,i,O),t.reverse(),n.reverse(),i>-1&&o>0){let e=E(N);C=L(N,t,n,0,t.length,0,A-T,e,e)}else C=y(N,t,n,A-T,O-A)}n.push(C),i.push(P)}function g(e,t,n,i){let a=[],s=0,c=-1;for(;l.pos>t;){let{id:e,start:t,end:n,size:i}=l;if(i>4)l.next();else{if(c>-1&&t<c)break;c<0&&(c=n-r),a.push(e,t,n),s++,l.next()}}if(s){let t=new Uint16Array(4*s),r=a[a.length-2];for(let e=a.length-3,n=0;e>=0;e-=3)t[n++]=a[e],t[n++]=a[e+1]-r,t[n++]=a[e+2]-r,t[n++]=n;n.push(new _(t,a[2]-r,o)),i.push(r-e)}}function E(e){return(t,n,i)=>{let o,r,s=0,c=t.length-1;if(c>=0&&(o=t[c])instanceof f){if(!c&&o.type==e&&o.length==i)return o;(r=o.prop(a.lookAhead))&&(s=n[c]+o.length+r)}return y(e,t,n,i,s)}}function v(e,t,n,i,r,a,s,c){let l=[],u=[];for(;e.length>i;)l.push(e.pop()),u.push(t.pop()+n-r);e.push(y(o.types[s],l,u,a-r,c-a)),t.push(r-n)}function y(e,t,n,i,o=0,r){if(d){let e=[a.contextHash,d];r=r?[e].concat(r):[e]}if(o>25){let e=[a.lookAhead,o];r=r?[e].concat(r):[e]}return new f(e,t,n,i,r)}function b(e,t){let n=l.fork(),i=0,o=0,a=0,s=n.end-r,u={size:0,start:0,skip:0};e:for(let r=n.pos-e;n.pos>r;){let e=n.size;if(n.id==t&&e>=0){u.size=i,u.start=o,u.skip=a,a+=4,i+=4,n.next();continue}let l=n.pos-e;if(e<0||l<r||n.start<s)break;let d=n.id>=c?4:0,p=n.start;for(n.next();n.pos>l;){if(n.size<0){if(-3!=n.size)break e;d+=4}else n.id>=c&&(d+=4);n.next()}o=p,i+=e,a+=d}return(t<0||i==e)&&(u.size=i,u.start=o,u.skip=a),u.size>4?u:void 0}function S(e,t,n){let{id:i,start:o,end:r,size:a}=l;if(l.next(),a>=0&&i<c){let s=n;if(a>4){let i=l.pos-(a-4);for(;l.pos>i;)n=S(e,t,n)}t[--n]=s,t[--n]=r-e,t[--n]=o-e,t[--n]=i}else-3==a?d=i:-4==a&&(p=i);return n}let T=[],A=[];for(;l.pos>0;)h(e.start||0,e.bufferStart||0,T,A,-1,0);let I=null!==(t=e.length)&&void 0!==t?t:T.length?A[0]+T[0].length:0;return new f(u[e.topID],T.reverse(),A.reverse(),I)}(e)}}f.empty=new f(l.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class _{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return l.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],i=this.set.types[t],o=i.name;if(/\W/.test(o)&&!i.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let r=[];for(;e<n;)r.push(this.childString(e)),e=this.buffer[e+3];return o+"("+r.join(",")+")"}findChild(e,t,n,i,o){let{buffer:r}=this,a=-1;for(let s=e;s!=t&&!(g(o,i,r[s+1],r[s+2])&&(a=s,n>0));s=r[s+3]);return a}slice(e,t,n){let i=this.buffer,o=new Uint16Array(t-e),r=0;for(let a=e,s=0;a<t;){o[s++]=i[a++],o[s++]=i[a++]-n;let t=o[s++]=i[a++]-n;o[s++]=i[a++]-e,r=Math.max(r,t)}return new _(o,r,this.set)}}function g(e,t,n,i){switch(e){case-2:return n<t;case-1:return i>=t&&n<t;case 0:return n<t&&i>t;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function E(e,t,n,i){for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!i&&e instanceof y&&e.index<0?null:e.parent;if(!t)return e;e=t}let r=i?0:h.IgnoreOverlays;if(i)for(let i=e,a=i.parent;a;i=a,a=i.parent)i instanceof y&&i.index<0&&(null===(o=a.enter(t,n,r))||void 0===o?void 0:o.from)!=i.from&&(e=a);for(;;){let i=e.enter(t,n,r);if(!i)return e;e=i}}class v{cursor(e=0){return new C(this,e)}getChild(e,t=null,n=null){let i=b(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return b(this,e,t,n)}resolve(e,t=0){return E(this,e,t,!1)}resolveInner(e,t=0){return E(this,e,t,!0)}matchContext(e){return S(this,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class y extends v{constructor(e,t,n,i){super(),this._tree=e,this.from=t,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,o=0){for(let r=this;;){for(let{children:a,positions:c}=r._tree,l=t>0?a.length:-1;e!=l;e+=t){let l=a[e],u=c[e]+r.from;if(g(i,n,u,u+l.length))if(l instanceof _){if(o&h.ExcludeBuffers)continue;let a=l.findChild(0,l.buffer.length,t,n-u,i);if(a>-1)return new A(new T(r,l,e,u),null,a)}else if(o&h.IncludeAnonymous||!l.type.isAnonymous||R(l)){let a;if(!(o&h.IgnoreMounts)&&(a=s.get(l))&&!a.overlay)return new y(a.tree,u,e,r);let c=new y(l,u,e,r);return o&h.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(t<0?l.children.length-1:0,t,n,i)}}if(o&h.IncludeAnonymous||!r.type.isAnonymous)return null;if(e=r.index>=0?r.index+t:t<0?-1:r._parent._tree.children.length,r=r._parent,!r)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let i;if(!(n&h.IgnoreOverlays)&&(i=s.get(this._tree))&&i.overlay){let n=e-this.from;for(let{from:e,to:o}of i.overlay)if((t>0?e<=n:e<n)&&(t<0?o>=n:o>n))return new y(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function b(e,t,n,i){let o=e.cursor(),r=[];if(!o.firstChild())return r;if(null!=n)for(let e=!1;!e;)if(e=o.type.is(n),!o.nextSibling())return r;for(;;){if(null!=i&&o.type.is(i))return r;if(o.type.is(t)&&r.push(o.node),!o.nextSibling())return null==i?r:[]}}function S(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class T{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class A extends v{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new A(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&h.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return o<0?null:new A(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new A(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new A(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,o=n.buffer[this.index+3];if(o>i){let r=n.buffer[this.index+1];e.push(n.slice(i,o,r)),t.push(0)}return new f(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function I(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i<e.length;i++){let o=e[i];(o.from>n.from||o.to<n.to)&&(n=o,t=i)}let i=n instanceof y&&n.index<0?null:n.parent,o=e.slice();return i?o[t]=i:o.splice(t,1),new O(o,n)}class O{constructor(e,t){this.heads=e,this.node=t}get next(){return I(this.heads)}}class C{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof y)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof y?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&h.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&h.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&h.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(i.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;({index:t,_parent:n}=n))if(t>-1)for(let i=t+e,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let e=n._tree.children[i];if(this.mode&h.IncludeAnonymous||e instanceof _||!e.type.isAnonymous||R(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let i=this.index,o=this.stack.length;o>=0;){for(let r=e;r;r=r._parent)if(r.index==i){if(i==this.index)return r;t=r,n=o+1;break e}i=this.stack[--o]}for(let e=n;e<this.stack.length;e++)t=new A(this.buffer,t,this.stack[e]);return this.bufferNode=new A(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let i=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;i&&t&&t(this),i=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,i=!0}}}matchContext(e){if(!this.buffer)return S(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let i=e.length-1,o=this.stack.length-1;i>=0;o--){if(o<0)return S(this.node,e,i);let r=n[t.buffer[this.stack[o]]];if(!r.isAnonymous){if(e[i]&&e[i]!=r.name)return!1;i--}}return!0}}function R(e){return e.children.some((e=>e instanceof _||!e.type.isAnonymous||R(e)))}const N=new WeakMap;function P(e,t){if(!e.isAnonymous||t instanceof _||t.type!=e)return 1;let n=N.get(t);if(null==n){n=1;for(let i of t.children){if(i.type!=e||!(i instanceof f)){n=1;break}n+=P(e,i)}N.set(t,n)}return n}function L(e,t,n,i,o,r,a,s,c){let l=0;for(let n=i;n<o;n++)l+=P(e,t[n]);let u=Math.ceil(1.5*l/8),d=[],p=[];return function t(n,i,o,a,s){for(let l=o;l<a;){let o=l,h=i[l],f=P(e,n[l]);for(l++;l<a;l++){let t=P(e,n[l]);if(f+t>=u)break;f+=t}if(l==o+1){if(f>u){let e=n[o];t(e.children,e.positions,0,e.children.length,i[o]+s);continue}d.push(n[o])}else{let t=i[l-1]+n[l-1].length-h;d.push(L(e,n,i,o,l,h,t,null,c))}p.push(h+s-r)}}(t,n,i,o,0),(s||c)(d,p,a)}class k{constructor(e,t,n,i,o=!1,r=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(o?1:0)|(r?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new k(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&i.push(n);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],o=1,r=e.length?e[0]:null;for(let a=0,s=0,c=0;;a++){let l=a<t.length?t[a]:null,u=l?l.fromA:1e9;if(u-s>=n)for(;r&&r.from<u;){let t=r;if(s>=t.from||u<=t.to||c){let e=Math.max(t.from,s)-c,n=Math.min(t.to,u)-c;t=e>=n?null:new k(e,n,t.tree,t.offset+c,a>0,!!l)}if(t&&i.push(t),r.to>u)break;r=o<e.length?e[o++]:null}if(!l)break;s=l.toA,c=l.toA-l.toB}return i}}class w{startParse(e,t,n){return"string"==typeof e&&(e=new D(e)),n=n?n.length?n.map((e=>new r(e.from,e.to))):[new r(0,0)]:[new r(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let e=i.advance();if(e)return e}}}class D{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new a({perNode:!0})},49458:(e,t,n)=>{"use strict";n.d(t,{DM:()=>p,_A:()=>N,az:()=>d,pn:()=>c});var i=n(72683);let o=0;class r{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=o++}static define(e){if(null==e?void 0:e.base)throw new Error("Can not derive from a modified tag");let t=new r([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new s;return t=>t.modified.indexOf(e)>-1?t:s.get(t.base||t,t.modified.concat(e).sort(((e,t)=>e.id-t.id)))}}let a=0;class s{constructor(){this.instances=[],this.id=a++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find((n=>{return n.base==e&&(i=t,o=n.modified,i.length==o.length&&i.every(((e,t)=>e==o[t])));var i,o}));if(n)return n;let i=[],o=new r(i,e,t);for(let e of t)e.instances.push(o);let a=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let i=0,o=t.length;i<o;i++)t.push(t[i].concat(e[n]));return t.sort(((e,t)=>t.length-e.length))}(t);for(let t of e.set)if(!t.modified.length)for(let e of a)i.push(s.get(t,e));return o}}function c(e){let t=Object.create(null);for(let n in e){let i=e[n];Array.isArray(i)||(i=[i]);for(let e of n.split(" "))if(e){let n=[],o=2,r=e;for(let t=0;;){if("..."==r&&t>0&&t+3==e.length){o=1;break}let i=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(r);if(!i)throw new RangeError("Invalid path: "+e);if(n.push("*"==i[0]?"":'"'==i[0][0]?JSON.parse(i[0]):i[0]),t+=i[0].length,t==e.length)break;let a=e[t++];if(t==e.length&&"!"==a){o=0;break}if("/"!=a)throw new RangeError("Invalid path: "+e);r=e.slice(t)}let a=n.length-1,s=n[a];if(!s)throw new RangeError("Invalid path: "+e);let c=new u(i,o,a>0?n.slice(0,a):null);t[s]=c.sort(t[s])}}return l.add(t)}const l=new i.uY;class u{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function d(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:i,all:o=null}=t||{};return{style:e=>{let t=o;for(let i of e)for(let e of i.set){let i=n[e.id];if(i){t=t?t+" "+i:i;break}}return t},scope:i}}function p(e,t,n,i=0,o=e.length){let r=new h(i,Array.isArray(t)?t:[t],n);r.highlightRange(e.cursor(),i,o,"",r.highlighters),r.flush(o)}u.empty=new u([],2,null);class h{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,o,r){let{type:a,from:s,to:c}=e;if(s>=n||c<=t)return;a.isTop&&(r=this.highlighters.filter((e=>!e.scope||e.scope(a))));let d=o,p=function(e){let t=e.type.prop(l);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||u.empty,h=function(e,t){let n=null;for(let i of e){let e=i.style(t);e&&(n=n?n+" "+e:e)}return n}(r,p.tags);if(h&&(d&&(d+=" "),d+=h,1==p.mode&&(o+=(o?" ":"")+h)),this.startSpan(Math.max(t,s),d),p.opaque)return;let f=e.tree&&e.tree.prop(i.uY.mounted);if(f&&f.overlay){let i=e.node.enter(f.overlay[0].from+s,1),a=this.highlighters.filter((e=>!e.scope||e.scope(f.tree.type))),l=e.firstChild();for(let u=0,p=s;;u++){let h=u<f.overlay.length?f.overlay[u]:null,m=h?h.from+s:c,_=Math.max(t,p),g=Math.min(n,m);if(_<g&&l)for(;e.from<g&&(this.highlightRange(e,_,g,o,r),this.startSpan(Math.min(g,e.to),d),!(e.to>=m)&&e.nextSibling()););if(!h||m>n)break;p=h.to+s,p>t&&(this.highlightRange(i.cursor(),Math.max(t,h.from+s),Math.min(n,p),"",a),this.startSpan(Math.min(n,p),d))}l&&e.parent()}else if(e.firstChild()){f&&(o="");do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,o,r),this.startSpan(Math.min(n,e.to),d)}}while(e.nextSibling());e.parent()}}}const f=r.define,m=f(),_=f(),g=f(_),E=f(_),v=f(),y=f(v),b=f(v),S=f(),T=f(S),A=f(),I=f(),O=f(),C=f(O),R=f(),N={comment:m,lineComment:f(m),blockComment:f(m),docComment:f(m),name:_,variableName:f(_),typeName:g,tagName:f(g),propertyName:E,attributeName:f(E),className:f(_),labelName:f(_),namespace:f(_),macroName:f(_),literal:v,string:y,docString:f(y),character:f(y),attributeValue:f(y),number:b,integer:f(b),float:f(b),bool:f(v),regexp:f(v),escape:f(v),color:f(v),url:f(v),keyword:A,self:f(A),null:f(A),atom:f(A),unit:f(A),modifier:f(A),operatorKeyword:f(A),controlKeyword:f(A),definitionKeyword:f(A),moduleKeyword:f(A),operator:I,derefOperator:f(I),arithmeticOperator:f(I),logicOperator:f(I),bitwiseOperator:f(I),compareOperator:f(I),updateOperator:f(I),definitionOperator:f(I),typeOperator:f(I),controlOperator:f(I),punctuation:O,separator:f(O),bracket:C,angleBracket:f(C),squareBracket:f(C),paren:f(C),brace:f(C),content:S,heading:T,heading1:f(T),heading2:f(T),heading3:f(T),heading4:f(T),heading5:f(T),heading6:f(T),contentSeparator:f(S),list:f(S),quote:f(S),emphasis:f(S),strong:f(S),link:f(S),monospace:f(S),strikethrough:f(S),inserted:f(),deleted:f(),changed:f(),invalid:f(),meta:R,documentMeta:f(R),annotation:f(R),processingInstruction:f(R),definition:r.defineModifier(),constant:r.defineModifier(),function:r.defineModifier(),standard:r.defineModifier(),local:r.defineModifier(),special:r.defineModifier()};d([{tag:N.link,class:"tok-link"},{tag:N.heading,class:"tok-heading"},{tag:N.emphasis,class:"tok-emphasis"},{tag:N.strong,class:"tok-strong"},{tag:N.keyword,class:"tok-keyword"},{tag:N.atom,class:"tok-atom"},{tag:N.bool,class:"tok-bool"},{tag:N.url,class:"tok-url"},{tag:N.labelName,class:"tok-labelName"},{tag:N.inserted,class:"tok-inserted"},{tag:N.deleted,class:"tok-deleted"},{tag:N.literal,class:"tok-literal"},{tag:N.string,class:"tok-string"},{tag:N.number,class:"tok-number"},{tag:[N.regexp,N.escape,N.special(N.string)],class:"tok-string2"},{tag:N.variableName,class:"tok-variableName"},{tag:N.local(N.variableName),class:"tok-variableName tok-local"},{tag:N.definition(N.variableName),class:"tok-variableName tok-definition"},{tag:N.special(N.variableName),class:"tok-variableName2"},{tag:N.definition(N.propertyName),class:"tok-propertyName tok-definition"},{tag:N.typeName,class:"tok-typeName"},{tag:N.namespace,class:"tok-namespace"},{tag:N.className,class:"tok-className"},{tag:N.macroName,class:"tok-macroName"},{tag:N.propertyName,class:"tok-propertyName"},{tag:N.operator,class:"tok-operator"},{tag:N.comment,class:"tok-comment"},{tag:N.meta,class:"tok-meta"},{tag:N.invalid,class:"tok-invalid"},{tag:N.punctuation,class:"tok-punctuation"}])},85176:(e,t,n)=>{"use strict";n.d(t,{K:()=>P});var i=n(72683),o=n(68558);class r{constructor(e,t,n,i,o,r,a,s,c,l=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=o,this.score=r,this.buffer=a,this.bufferBase=s,this.curContext=c,this.lookAhead=l,this.parent=u}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new r(e,[],t,n,n,0,[],0,i?new a(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,i=65535&e,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let r=o.dynamicPrecedence(i);if(r&&(this.score+=r),0==n)return this.pushState(o.getGoto(this.state,i,!0),this.reducePos),i<o.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,4,!0),void this.reduceContext(i,this.reducePos);let a=this.stack.length-3*(n-1)-(262144&e?6:0),s=a?this.stack[a-2]:this.p.ranges[0].from,c=this.reducePos-s;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[i])||void 0===t?void 0:t.isAnonymous)&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=c));let l=a?this.stack[a-1]:0,u=this.bufferBase+this.buffer.length-l;if(i<o.minRepeatTerm||131072&e){let e=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,s,e,u+4,!0)}if(262144&e)this.state=this.stack[a];else{let e=this.stack[a-3];this.state=o.getGoto(e,i,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(i,s)}storeNode(e,t,n,i=4,o=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,i=this.buffer.length;if(0==i&&e.parent&&(i=e.bufferBase-e.parent.bufferBase,e=e.parent),i>0&&0==e.buffer[i-4]&&e.buffer[i-1]>-1){if(t==n)return;if(e.buffer[i-2]>=t)return void(e.buffer[i-2]=n)}}if(o&&this.pos!=n){let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4])for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,i>4&&(i-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n,i){if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let o=e,{parser:r}=this.p;(i>this.pos||t<=r.maxNode)&&(this.pos=i,r.stateFlag(o,1)||(this.reducePos=i)),this.pushState(o,n),this.shiftContext(t,n),t<=r.maxNode&&this.buffer.push(t,n,i,4)}else this.pos=i,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,i,4)}apply(e,t,n,i){65536&e?this.reduce(e):this.shift(e,t,n,i)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new r(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(0==(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i,o=0;o<t.length;o+=2)(i=t[o+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[o],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let i=t[e+1];n.some(((e,t)=>1&t&&e==i))||n.push(t[e],i)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let i=t[e+1];if(i==this.state)continue;let o=this.split();o.pushState(i,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[e],this.pos),o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(0==(65536&t))return!1;if(!e.validAction(this.state,t)){let n=t>>19,i=65535&t,o=this.stack.length-3*n;if(o<0||e.getGoto(this.stack[o],i,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(i,o)=>{if(!t.includes(i))return t.push(i),e.allActions(i,(t=>{if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){let i=65535&t,o=this.stack.length-3*n;if(o>=0&&e.getGoto(this.stack[o],i,!1)>=0)return n<<19|65536|i}}else{let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new a(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class a{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let i=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=i}}class c{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new c(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new c(this.stack,this.pos,this.index)}}function l(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,o=0;i<e.length;){let r=0;for(;;){let t=e.charCodeAt(i++),n=!1;if(126==t){r=65535;break}t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),r+=o,n)break;r*=46}n?n[o++]=r:n=new t(r)}return n}class u{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const d=new u;class p{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=d,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!i)return null;let e=this.ranges[--i];o-=n.from-e.to,n=e}for(;t<0?o>n.to:o>=n.to;){if(i==this.ranges.length-1)return null;let e=this.ranges[++i];o+=e.from-n.to,n=e}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,n,i=this.chunkOff+e;if(i>=0&&i<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(i);else{let i=this.resolveOffset(e,1);if(null==i)return-1;if(t=i,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,i=this.range;for(;i.to<=t;)i=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>i.to&&(this.chunk2=this.chunk2.slice(0,i.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=d,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class h{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;f(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}h.prototype.contextual=h.prototype.fallback=h.prototype.extend=!1;h.prototype.fallback=h.prototype.extend=!1;function f(e,t,n,i,o,r){let a=0,s=1<<i,{dialect:c}=n.p.parser;e:for(;0!=(s&e[a]);){let n=e[a+1];for(let i=a+3;i<n;i+=2)if((e[i+1]&s)>0){let n=e[i];if(c.allows(n)&&(-1==t.token.value||t.token.value==n||_(n,t.token.value,o,r))){t.acceptToken(n);break}}let i=t.next,l=0,u=e[a+2];if(!(t.next<0&&u>l&&65535==e[n+3*u-3])){for(;l<u;){let o=l+u>>1,r=n+o+(o<<1),s=e[r],c=e[r+1]||65536;if(i<s)u=o;else{if(!(i>=c)){a=e[r+2],t.advance();continue e}l=o+1}}break}a=e[n+3*u-1]}}function m(e,t,n){for(let i,o=t;65535!=(i=e[o]);o++)if(i==n)return o-t;return-1}function _(e,t,n,i){let o=m(n,i,t);return o<0||m(n,i,e)<o}const g=void 0!==o&&{}&&/\bparse\b/.test({}.LOG);let E=null;function v(e,t,n){let o=e.cursor(i.Qj.IncludeAnonymous);for(o.moveTo(t);;)if(!(n<0?o.childBefore(t):o.childAfter(t)))for(;;){if((n<0?o.to<t:o.from>t)&&!o.type.isError)return n<0?Math.max(0,Math.min(o.to-1,t-25)):Math.min(e.length,Math.max(o.from+1,t+25));if(n<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return n<0?0:e.length}}class y{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?v(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?v(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],o=this.index[t];if(o==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let r=n.children[o],a=this.start[t]+n.positions[o];if(a>e)return this.nextStart=a,null;if(r instanceof i.PH){if(a==e){if(a<this.safeFrom)return null;let e=a+r.length;if(e<=this.safeTo){let t=r.prop(i.uY.lookAhead);if(!t||e+t<this.fragment.to)return r}}this.index[t]++,a+r.length>=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+r.length}}}class b{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new u))}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:o}=i,r=i.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,s=0;for(let i=0;i<o.length;i++){if(0==(1<<i&r))continue;let c=o[i],l=this.tokens[i];if((!n||c.fallback)&&((c.contextual||l.start!=e.pos||l.mask!=r||l.context!=a)&&(this.updateCachedToken(l,c,e),l.mask=r,l.context=a),l.lookAhead>l.end+25&&(s=Math.max(l.lookAhead,s)),0!=l.value)){let i=t;if(l.extended>-1&&(t=this.addActions(e,l.extended,l.end,t)),t=this.addActions(e,l.value,l.end,t),!c.extend&&(n=l,t>i))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||(n=new u,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new u,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:t}=n.p;for(let i=0;i<t.specialized.length;i++)if(t.specialized[i]==e.value){let o=t.specializers[i](this.stream.read(e.start,e.end),n);if(o>=0&&n.p.parser.dialect.allows(o>>1)){0==(1&o)?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let t=0;t<i;t+=3)if(this.actions[t]==e)return i;return this.actions[i++]=e,this.actions[i++]=t,this.actions[i++]=n,i}addActions(e,t,n,i){let{state:o}=e,{parser:r}=e.p,{data:a}=r;for(let e=0;e<2;e++)for(let s=r.stateSlot(o,e?2:1);;s+=3){if(65535==a[s]){if(1!=a[s+1]){0==i&&2==a[s+1]&&(i=this.putAction(O(a,s+2),t,n,i));break}s=O(a,s+2)}a[s]==t&&(i=this.putAction(O(a,s+1),t,n,i))}return i}}class S{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new p(t,i),this.tokens=new b(e,this.stream),this.topTerm=e.top[1];let{from:o}=i[0];this.stacks=[r.start(this,e.top[0],o)],this.fragments=n.length&&this.stream.end-o>4*e.bufferLength?new y(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,o=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let r=0;r<n.length;r++){let a=n[r];for(;;){if(this.tokens.mainToken=null,a.pos>i)o.push(a);else{if(this.advanceStack(a,o,n))continue;{e||(e=[],t=[]),e.push(a);let n=this.tokens.getMainToken(a);t.push(n.value,n.end)}}break}}if(!o.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return g&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw g&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o);if(n)return g&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop();o.some((e=>e.reducePos>i))&&this.recovering--}else if(o.length>1){e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){let i=o[n];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500){if(!((t.score-i.score||t.buffer.length-i.buffer.length)>0)){o.splice(e--,1);continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let e=1;e<o.length;e++)o[e].pos<this.minStackPos&&(this.minStackPos=o[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let o=e.pos,{parser:r}=this,a=g?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&o>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let s=this.fragments.nodeAt(o);s;){let o=this.parser.nodeSet.types[s.type.id]==s.type?r.getGoto(e.state,s.type.id):-1;if(o>-1&&s.length&&(!t||(s.prop(i.uY.contextHash)||0)==n))return e.useNode(s,o),g&&console.log(a+this.stackID(e)+` (via reuse of ${r.getName(s.type.id)})`),!0;if(!(s instanceof i.PH)||0==s.children.length||s.positions[0]>0)break;let c=s.children[0];if(!(c instanceof i.PH&&0==s.positions[0]))break;s=c}}let s=r.stateSlot(e.state,4);if(s>0)return e.reduce(s),g&&console.log(a+this.stackID(e)+` (via always-reduce ${r.getName(65535&s)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let c=this.tokens.getActions(e);for(let i=0;i<c.length;){let s=c[i++],l=c[i++],u=c[i++],d=i==c.length||!n,p=d?e:e.split(),h=this.tokens.mainToken;if(p.apply(s,l,h?h.start:p.pos,u),g&&console.log(a+this.stackID(p)+` (via ${0==(65536&s)?"shift":`reduce of ${r.getName(65535&s)}`} for ${r.getName(l)} @ ${o}${p==e?"":", split"})`),d)return!0;p.pos>o?t.push(p):n.push(p)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return T(e,t),!0}}runRecovery(e,t,n){let i=null,o=!1;for(let r=0;r<e.length;r++){let a=e[r],s=t[r<<1],c=t[1+(r<<1)],l=g?this.stackID(a)+" -> ":"";if(a.deadEnd){if(o)continue;if(o=!0,a.restart(),g&&console.log(l+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))continue}let u=a.split(),d=l;for(let e=0;u.forceReduce()&&e<10;e++){if(g&&console.log(d+this.stackID(u)+" (via force-reduce)"),this.advanceFully(u,n))break;g&&(d=this.stackID(u)+" -> ")}for(let e of a.recoverByInsert(s))g&&console.log(l+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>a.pos?(c==a.pos&&(c++,s=0),a.recoverByDelete(s,c),g&&console.log(l+this.stackID(a)+` (via recover-delete ${this.parser.getName(s)})`),T(a,n)):(!i||i.score<a.score)&&(i=a)}return i}stackToTree(e){return e.close(),i.PH.build({buffer:c.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(E||(E=new WeakMap)).get(e);return t||E.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function T(e,t){for(let n=0;n<t.length;n++){let i=t[n];if(i.pos==e.pos&&i.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}class A{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}class I extends i.iX{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),o=[];for(let e=0;e<t.length;e++)o.push([]);function r(e,t,n){o[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=i.uY[e]);for(let n=1;n<t.length;){let i=t[n++];if(i>=0)r(i,e,t[n++]);else{let o=t[n+-i];for(let a=-i;a>0;a--)r(t[n++],e,o);n++}}}this.nodeSet=new i.fI(t.map(((t,r)=>i.Z6.define({name:r>=this.minRepeatTerm?void 0:t,id:r,props:o[r],top:n.indexOf(r)>-1,error:0==r,skipped:e.skippedNodes&&e.skippedNodes.indexOf(r)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=i.cF;let a=l(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(C),this.states=l(e.states,Uint32Array),this.data=l(e.stateData),this.goto=l(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new h(a,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new S(this,e,t,n);for(let o of this.wrappers)i=o(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return-1;for(let o=i[t+1];;){let t=i[o++],r=1&t,a=i[o++];if(r&&n)return a;for(let n=o+(t>>1);o<n;o++)if(i[o]==e)return a;if(r)return-1}}hasAction(e,t){let n=this.data;for(let i=0;i<2;i++)for(let o,r=this.stateSlot(e,i?2:1);;r+=3){if(65535==(o=n[r])){if(1!=n[r+1]){if(2==n[r+1])return O(n,r+2);break}o=n[r=O(n,r+2)]}if(o==t||0==o)return O(n,r+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){let n=this.stateSlot(e,4),i=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==i;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=O(this.data,n+2)}i=t(O(this.data,n+1))}return i}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=O(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(I.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,i)=>{let o=e.specializers.find((e=>e.from==n.external));if(!o)return n;let r=Object.assign(Object.assign({},n),{external:o.to});return t.specializers[i]=C(r),r}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let i of e.split(" ")){let e=t.indexOf(i);e>=0&&(n[e]=!0)}let i=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n,o=this.dialects[t[e]];65535!=(n=this.data[o++]);)(i||(i=new Uint8Array(this.maxTerm+1)))[n]=1;return new A(e,n,i)}static deserialize(e){return new I(e)}}function O(e,t){return e[t]|e[t+1]<<16}function C(e){if(e.external){let t=e.extend?1:0;return(n,i)=>e.external(n,i)<<1|t}return e.get}var R=n(49458);const N=(0,R.pn)({String:R._A.string,Number:R._A.number,"True False":R._A.bool,PropertyName:R._A.propertyName,Null:R._A.null,",":R._A.separator,"[ ]":R._A.squareBracket,"{ }":R._A.brace}),P=I.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[N],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0})},74537:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var i=n(94183),o=n(58717),r=new class extends i.Q{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!o.S$&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}}},51722:(e,t,n)=>{"use strict";function i(e){return e}function o(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}}function r(e,t){return{state:{...e.state,...void 0!==e.state.data&&{data:t(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:e.promise?.then(t).catch((e=>Promise.reject(new Error("redacted"))))},...e.meta&&{meta:e.meta}}}function a(e){return e.state.isPaused}function s(e){return"success"===e.state.status}function c(e,t={}){const n=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??a,c=e.getMutationCache().getAll().flatMap((e=>n(e)?[o(e)]:[])),l=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??s,u=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??i;return{mutations:c,queries:e.getQueryCache().getAll().flatMap((e=>l(e)?[r(e,u)]:[]))}}function l(e,t,n){if("object"!=typeof t||null===t)return;const o=e.getMutationCache(),r=e.getQueryCache(),a=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??i,s=t.mutations||[],c=t.queries||[];s.forEach((({state:t,...i})=>{o.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...i},t)})),c.forEach((({queryKey:t,state:i,queryHash:o,meta:s,promise:c})=>{let l=r.get(o);const u=void 0===i.data?i.data:a(i.data);if(l){if(l.state.dataUpdatedAt<i.dataUpdatedAt){const{fetchStatus:e,...t}=i;l.setState({...t,data:u})}}else l=r.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:t,queryHash:o,meta:s},{...i,data:u,fetchStatus:"idle"});if(c){const e=Promise.resolve(c).then(a);l.fetch(void 0,{initialPromise:e})}}))}n.d(t,{Qv:()=>l,XS:()=>s,hw:()=>c})},71026:(e,t,n)=>{"use strict";n.d(t,{PL:()=>o,RQ:()=>c,rB:()=>s});var i=n(58717);function o(e){return{onFetch:(t,n)=>{const o=async()=>{const n=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],c=t.state.data?.pageParams||[],l={pages:[],pageParams:[]};let u=!1;const d=(0,i.ZM)(t.options,t.fetchOptions),p=async(e,n,o)=>{if(u)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const r={queryKey:t.queryKey,pageParam:n,direction:o?"backward":"forward",meta:t.options.meta};var a;a=r,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",(()=>{u=!0})),t.signal)});const s=await d(r),{maxPages:c}=t.options,l=o?i.ZZ:i.y9;return{pages:l(e.pages,s,c),pageParams:l(e.pageParams,n,c)}};let h;if(o&&s.length){const e="backward"===o,t={pages:s,pageParams:c},i=(e?a:r)(n,t);h=await p(t,i,e)}else{h=await p(l,c[0]??n.initialPageParam);const t=e??s.length;for(let e=1;e<t;e++){const e=r(n,h);h=await p(h,e)}}return h};t.options.persister?t.fetchFn=()=>t.options.persister?.(o,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=o}}}function r(e,{pages:t,pageParams:n}){const i=t.length-1;return e.getNextPageParam(t[i],t,n[i],n)}function a(e,{pages:t,pageParams:n}){return e.getPreviousPageParam?.(t[0],t,n[0],n)}function s(e,t){return!!t&&null!=r(e,t)}function c(e,t){return!(!t||!e.getPreviousPageParam)&&null!=a(e,t)}},91865:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,s:()=>a});var i=n(18044),o=n(14733),r=n(93961),a=class extends o.k{#i;#o;#r;constructor(e){super(),this.mutationId=e.mutationId,this.#o=e.mutationCache,this.#i=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#i.includes(e)||(this.#i.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#i=this.#i.filter((t=>t!==e)),this.scheduleGc(),this.#o.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#i.length||("pending"===this.state.status?this.scheduleGc():this.#o.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){this.#r=(0,r.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#a({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#o.canRun(this)});const t="pending"===this.state.status,n=!this.#r.canStart();try{if(!t){this.#a({type:"pending",variables:e,isPaused:n}),await(this.#o.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#a({type:"pending",context:t,variables:e,isPaused:n})}const i=await this.#r.start();return await(this.#o.config.onSuccess?.(i,e,this.state.context,this)),await(this.options.onSuccess?.(i,e,this.state.context)),await(this.#o.config.onSettled?.(i,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(i,null,e,this.state.context)),this.#a({type:"success",data:i}),i}catch(t){try{throw await(this.#o.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#o.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#a({type:"error",error:t})}}finally{this.#o.runNext(this)}}#a(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),i.j.batch((()=>{this.#i.forEach((t=>{t.onMutationUpdate(e)})),this.#o.notify({mutation:this,type:"updated",action:e})}))}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},18044:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var i=function(){let e=[],t=0,n=e=>{e()},i=e=>{e()},o=e=>setTimeout(e,0);const r=i=>{t?e.push(i):o((()=>{n(i)}))},a=()=>{const t=e;e=[],t.length&&o((()=>{i((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||a()}return n},batchCalls:e=>(...t)=>{r((()=>{e(...t)}))},schedule:r,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{o=e}}}()},3358:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(94183),o=n(58717),r=new class extends i.Q{#s=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!o.S$&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#s!==e&&(this.#s=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#s}}},71660:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,k:()=>c});var i=n(58717),o=n(18044),r=n(93961),a=n(14733),s=class extends a.k{#c;#l;#u;#r;#d;#p;constructor(e){super(),this.#p=!1,this.#d=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#c=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,i=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=this.#c,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){this.options={...this.#d,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(e,t){const n=(0,i.pl)(this.state.data,e,this.options);return this.#a({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#a({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(i.lQ).catch(i.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#c)}isActive(){return this.observers.some((e=>!1!==(0,i.Eh)(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!(0,i.j3)(this.state.dataUpdatedAt,e)}onFocus(){const e=this.observers.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){const e=this.observers.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#r&&(this.#p?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const n=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#p=!0,n.signal)})},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=(0,i.ZM)(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return o(n),this.#p=!1,this.options.persister?this.options.persister(e,n,this):e(n)}};o(a),this.options.behavior?.onFetch(a,this),this.#l=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#a({type:"fetch",meta:a.fetchOptions?.meta});const s=e=>{(0,r.wm)(e)&&e.silent||this.#a({type:"error",error:e}),(0,r.wm)(e)||(this.#u.config.onError?.(e,this),this.#u.config.onSettled?.(this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#r=(0,r.II)({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{void 0!==e?(this.setData(e),this.#u.config.onSuccess?.(e,this),this.#u.config.onSettled?.(e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):s(new Error(`${this.queryHash} data is undefined`))},onError:s,onFail:(e,t)=>{this.#a({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#r.start()}#a(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...c(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return(0,r.wm)(n)&&n.revert&&this.#l?{...this.#l,fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),o.j.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#u.notify({query:this,type:"updated",action:e})}))}};function c(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,r.v_)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},74258:(e,t,n)=>{"use strict";n.d(t,{E:()=>f});var i=n(58717),o=n(71660),r=n(18044),a=n(94183),s=class extends a.Q{constructor(e={}){super(),this.config=e,this.#h=new Map}#h;build(e,t,n){const r=t.queryKey,a=t.queryHash??(0,i.F$)(r,t);let s=this.get(a);return s||(s=new o.X({cache:this,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(s)),s}add(e){this.#h.has(e.queryHash)||(this.#h.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#h.get(e.queryHash);t&&(e.destroy(),t===e&&this.#h.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){r.j.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#h.get(e)}getAll(){return[...this.#h.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,i.MK)(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>(0,i.MK)(e,t))):t}notify(e){r.j.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){r.j.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){r.j.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},c=n(91865),l=class extends a.Q{constructor(e={}){super(),this.config=e,this.#f=new Map,this.#m=Date.now()}#f;#m;build(e,t,n){const i=new c.s({mutationCache:this,mutationId:++this.#m,options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){const t=u(e),n=this.#f.get(t)??[];n.push(e),this.#f.set(t,n),this.notify({type:"added",mutation:e})}remove(e){const t=u(e);if(this.#f.has(t)){const n=this.#f.get(t)?.filter((t=>t!==e));n&&(0===n.length?this.#f.delete(t):this.#f.set(t,n))}this.notify({type:"removed",mutation:e})}canRun(e){const t=this.#f.get(u(e))?.find((e=>"pending"===e.state.status));return!t||t===e}runNext(e){const t=this.#f.get(u(e))?.find((t=>t!==e&&t.state.isPaused));return t?.continue()??Promise.resolve()}clear(){r.j.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}getAll(){return[...this.#f.values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,i.nJ)(t,e)))}findAll(e={}){return this.getAll().filter((t=>(0,i.nJ)(e,t)))}notify(e){r.j.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return r.j.batch((()=>Promise.all(e.map((e=>e.continue().catch(i.lQ))))))}};function u(e){return e.options.scope?.id??String(e.mutationId)}var d=n(74537),p=n(3358),h=n(71026),f=class{#_;#o;#d;#g;#E;#v;#y;#b;constructor(e={}){this.#_=e.queryCache||new s,this.#o=e.mutationCache||new l,this.#d=e.defaultOptions||{},this.#g=new Map,this.#E=new Map,this.#v=0}mount(){this.#v++,1===this.#v&&(this.#y=d.m.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#_.onFocus())})),this.#b=p.t.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#_.onOnline())})))}unmount(){this.#v--,0===this.#v&&(this.#y?.(),this.#y=void 0,this.#b?.(),this.#b=void 0)}isFetching(e){return this.#_.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#o.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#_.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),o=this.#_.build(this,n);return e.revalidateIfStale&&o.isStaleByTime((0,i.d2)(n.staleTime,o))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return this.#_.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const o=this.defaultQueryOptions({queryKey:e}),r=this.#_.get(o.queryHash),a=r?.state.data,s=(0,i.Zw)(t,a);if(void 0!==s)return this.#_.build(this,o).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return r.j.batch((()=>this.#_.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#_.get(t.queryHash)?.state}removeQueries(e){const t=this.#_;r.j.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=this.#_,i={type:"active",...e};return r.j.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(i,t))))}cancelQueries(e={},t={}){const n={revert:!0,...t},o=r.j.batch((()=>this.#_.findAll(e).map((e=>e.cancel(n)))));return Promise.all(o).then(i.lQ).catch(i.lQ)}invalidateQueries(e={},t={}){return r.j.batch((()=>{if(this.#_.findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(e={},t){const n={...t,cancelRefetch:t?.cancelRefetch??!0},o=r.j.batch((()=>this.#_.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(i.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(o).then(i.lQ)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#_.build(this,t);return n.isStaleByTime((0,i.d2)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(i.lQ).catch(i.lQ)}fetchInfiniteQuery(e){return e.behavior=(0,h.PL)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(i.lQ).catch(i.lQ)}resumePausedMutations(){return p.t.isOnline()?this.#o.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#_}getMutationCache(){return this.#o}getDefaultOptions(){return this.#d}setDefaultOptions(e){this.#d=e}setQueryDefaults(e,t){this.#g.set((0,i.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#g.values()];let n={};return t.forEach((t=>{(0,i.Cp)(e,t.queryKey)&&(n={...n,...t.defaultOptions})})),n}setMutationDefaults(e,t){this.#E.set((0,i.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#E.values()];let n={};return t.forEach((t=>{(0,i.Cp)(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#d.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,i.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===i.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#d.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#_.clear(),this.#o.clear()}}},40522:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var i=n(58717),o=n(18044),r=n(74537),a=n(94183),s=n(71660),c=class extends a.Q{constructor(e,t){super(),this.options=t,this.#S=e,this.#T=null,this.bindMethods(),this.setOptions(t)}#S;#A=void 0;#I=void 0;#O=void 0;#C;#R;#T;#N;#P;#L;#k;#w;#D;#M=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#A.addObserver(this),l(this.#A,this.options)?this.#x():this.updateResult(),this.#U())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return u(this.#A,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return u(this.#A,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#V(),this.#F(),this.#A.removeObserver(this)}setOptions(e,t){const n=this.options,o=this.#A;if(this.options=this.#S.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,i.Eh)(this.options.enabled,this.#A))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#B(),this.#A.setOptions(this.options),n._defaulted&&!(0,i.f8)(this.options,n)&&this.#S.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#A,observer:this});const r=this.hasListeners();r&&d(this.#A,o,this.options,n)&&this.#x(),this.updateResult(t),!r||this.#A===o&&(0,i.Eh)(this.options.enabled,this.#A)===(0,i.Eh)(n.enabled,this.#A)&&(0,i.d2)(this.options.staleTime,this.#A)===(0,i.d2)(n.staleTime,this.#A)||this.#H();const a=this.#G();!r||this.#A===o&&(0,i.Eh)(this.options.enabled,this.#A)===(0,i.Eh)(n.enabled,this.#A)&&a===this.#D||this.#W(a)}getOptimisticResult(e){const t=this.#S.getQueryCache().build(this.#S,e),n=this.createResult(t,e);return function(e,t){if(!(0,i.f8)(e.getCurrentResult(),t))return!0;return!1}(this,n)&&(this.#O=n,this.#R=this.options,this.#C=this.#A.state),n}getCurrentResult(){return this.#O}trackResult(e,t){const n={};return Object.keys(e).forEach((i=>{Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),t?.(i),e[i])})})),n}trackProp(e){this.#M.add(e)}getCurrentQuery(){return this.#A}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#S.defaultQueryOptions(e),n=this.#S.getQueryCache().build(this.#S,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){return this.#x({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#O)))}#x(e){this.#B();let t=this.#A.fetch(this.options,e);return e?.throwOnError||(t=t.catch(i.lQ)),t}#H(){this.#V();const e=(0,i.d2)(this.options.staleTime,this.#A);if(i.S$||this.#O.isStale||!(0,i.gn)(e))return;const t=(0,i.j3)(this.#O.dataUpdatedAt,e)+1;this.#k=setTimeout((()=>{this.#O.isStale||this.updateResult()}),t)}#G(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#A):this.options.refetchInterval)??!1}#W(e){this.#F(),this.#D=e,!i.S$&&!1!==(0,i.Eh)(this.options.enabled,this.#A)&&(0,i.gn)(this.#D)&&0!==this.#D&&(this.#w=setInterval((()=>{(this.options.refetchIntervalInBackground||r.m.isFocused())&&this.#x()}),this.#D))}#U(){this.#H(),this.#W(this.#G())}#V(){this.#k&&(clearTimeout(this.#k),this.#k=void 0)}#F(){this.#w&&(clearInterval(this.#w),this.#w=void 0)}createResult(e,t){const n=this.#A,o=this.options,r=this.#O,a=this.#C,c=this.#R,u=e!==n?e.state:this.#I,{state:h}=e;let f,m={...h},_=!1;if(t._optimisticResults){const i=this.hasListeners(),r=!i&&l(e,t),a=i&&d(e,n,t,o);(r||a)&&(m={...m,...(0,s.k)(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(m.fetchStatus="idle")}let{error:g,errorUpdatedAt:E,status:v}=m;if(t.select&&void 0!==m.data)if(r&&m.data===a?.data&&t.select===this.#N)f=this.#P;else try{this.#N=t.select,f=t.select(m.data),f=(0,i.pl)(r?.data,f,t),this.#P=f,this.#T=null}catch(e){this.#T=e}else f=m.data;if(void 0!==t.placeholderData&&void 0===f&&"pending"===v){let e;if(r?.isPlaceholderData&&t.placeholderData===c?.placeholderData)e=r.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#L?.state.data,this.#L):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#T=null}catch(e){this.#T=e}void 0!==e&&(v="success",f=(0,i.pl)(r?.data,e,t),_=!0)}this.#T&&(g=this.#T,f=this.#P,E=Date.now(),v="error");const y="fetching"===m.fetchStatus,b="pending"===v,S="error"===v,T=b&&y,A=void 0!==f;return{status:v,fetchStatus:m.fetchStatus,isPending:b,isSuccess:"success"===v,isError:S,isInitialLoading:T,isLoading:T,data:f,dataUpdatedAt:m.dataUpdatedAt,error:g,errorUpdatedAt:E,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>u.dataUpdateCount||m.errorUpdateCount>u.errorUpdateCount,isFetching:y,isRefetching:y&&!b,isLoadingError:S&&!A,isPaused:"paused"===m.fetchStatus,isPlaceholderData:_,isRefetchError:S&&A,isStale:p(e,t),refetch:this.refetch}}updateResult(e){const t=this.#O,n=this.createResult(this.#A,this.options);if(this.#C=this.#A.state,this.#R=this.options,void 0!==this.#C.data&&(this.#L=this.#A),(0,i.f8)(n,t))return;this.#O=n;const o={};!1!==e?.listeners&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.#M.size)return!0;const i=new Set(n??this.#M);return this.options.throwOnError&&i.add("error"),Object.keys(this.#O).some((e=>{const n=e;return this.#O[n]!==t[n]&&i.has(n)}))})()&&(o.listeners=!0),this.#j({...o,...e})}#B(){const e=this.#S.getQueryCache().build(this.#S,this.options);if(e===this.#A)return;const t=this.#A;this.#A=e,this.#I=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#U()}#j(e){o.j.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#O)})),this.#S.getQueryCache().notify({query:this.#A,type:"observerResultsUpdated"})}))}};function l(e,t){return function(e,t){return!1!==(0,i.Eh)(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&u(e,t,t.refetchOnMount)}function u(e,t,n){if(!1!==(0,i.Eh)(t.enabled,e)){const i="function"==typeof n?n(e):n;return"always"===i||!1!==i&&p(e,t)}return!1}function d(e,t,n,o){return(e!==t||!1===(0,i.Eh)(o.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&p(e,n)}function p(e,t){return!1!==(0,i.Eh)(t.enabled,e)&&e.isStaleByTime((0,i.d2)(t.staleTime,e))}},14733:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var i=n(58717),o=class{#Y;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,i.gn)(this.gcTime)&&(this.#Y=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(i.S$?1/0:3e5))}clearGcTimeout(){this.#Y&&(clearTimeout(this.#Y),this.#Y=void 0)}}},93961:(e,t,n)=>{"use strict";n.d(t,{II:()=>u,v_:()=>s,wm:()=>l});var i=n(74537),o=n(3358),r=n(58717);function a(e){return Math.min(1e3*2**e,3e4)}function s(e){return"online"!==(e??"online")||o.t.isOnline()}var c=class{constructor(e){this.revert=e?.revert,this.silent=e?.silent}};function l(e){return e instanceof c}function u(e){let t,n,l,u=!1,d=0,p=!1;const h=new Promise(((e,t)=>{n=e,l=t})),f=()=>i.m.isFocused()&&("always"===e.networkMode||o.t.isOnline())&&e.canRun(),m=()=>s(e.networkMode)&&e.canRun(),_=i=>{p||(p=!0,e.onSuccess?.(i),t?.(),n(i))},g=n=>{p||(p=!0,e.onError?.(n),t?.(),l(n))},E=()=>new Promise((n=>{t=e=>{(p||f())&&n(e)},e.onPause?.()})).then((()=>{t=void 0,p||e.onContinue?.()})),v=()=>{if(p)return;let t;const n=0===d?e.initialPromise:void 0;try{t=n??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(_).catch((t=>{if(p)return;const n=e.retry??(r.S$?0:3),i=e.retryDelay??a,o="function"==typeof i?i(d,t):i,s=!0===n||"number"==typeof n&&d<n||"function"==typeof n&&n(d,t);!u&&s?(d++,e.onFail?.(d,t),(0,r.yy)(o).then((()=>f()?void 0:E())).then((()=>{u?g(t):v()}))):g(t)}))};return{promise:h,cancel:t=>{p||(g(new c(t)),e.abort?.())},continue:()=>(t?.(),h),cancelRetry:()=>{u=!0},continueRetry:()=>{u=!1},canStart:m,start:()=>(m()?v():E().then(v),h)}}},94183:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var i=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},58717:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>f,EN:()=>h,Eh:()=>l,F$:()=>p,MK:()=>u,S$:()=>i,ZM:()=>O,ZZ:()=>A,Zw:()=>r,d2:()=>c,f8:()=>_,gn:()=>a,hT:()=>I,j3:()=>s,lQ:()=>o,nJ:()=>d,pl:()=>b,rX:()=>S,y9:()=>T,yy:()=>y});var i="undefined"==typeof window||"Deno"in globalThis;function o(){}function r(e,t){return"function"==typeof e?e(t):e}function a(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function c(e,t){return"function"==typeof e?e(t):e}function l(e,t){return"function"==typeof e?e(t):e}function u(e,t){const{type:n="all",exact:i,fetchStatus:o,predicate:r,queryKey:a,stale:s}=e;if(a)if(i){if(t.queryHash!==p(a,t.options))return!1}else if(!f(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((!o||o===t.state.fetchStatus)&&!(r&&!r(t)))}function d(e,t){const{exact:n,status:i,predicate:o,mutationKey:r}=e;if(r){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(r))return!1}else if(!f(t.options.mutationKey,r))return!1}return(!i||t.state.status===i)&&!(o&&!o(t))}function p(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,((e,t)=>E(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function f(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!f(e[n],t[n]))))}function m(e,t){if(e===t)return e;const n=g(e)&&g(t);if(n||E(e)&&E(t)){const i=n?e:Object.keys(e),o=i.length,r=n?t:Object.keys(t),a=r.length,s=n?[]:{};let c=0;for(let o=0;o<a;o++){const a=n?o:r[o];(!n&&i.includes(a)||n)&&void 0===e[a]&&void 0===t[a]?(s[a]=void 0,c++):(s[a]=m(e[a],t[a]),s[a]===e[a]&&void 0!==e[a]&&c++)}return o===a&&c===o?e:s}return t}function _(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function g(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function E(e){if(!v(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!v(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function v(e){return"[object Object]"===Object.prototype.toString.call(e)}function y(e){return new Promise((t=>{setTimeout(t,e)}))}function b(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?m(e,t):t}function S(e){return e}function T(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function A(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var I=Symbol(),O=(e,t)=>!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==I?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))},35252:(e,t,n)=>{"use strict";n.d(t,{t:()=>h});var i=n(30758),o=n(51722),r=["added","removed","updated"];function a(e){return r.includes(e)}async function s({queryClient:e,persister:t,maxAge:n=864e5,buster:i="",hydrateOptions:r}){try{const a=await t.restoreClient();if(a)if(a.timestamp){const s=Date.now()-a.timestamp>n,c=a.buster!==i;s||c?t.removeClient():(0,o.Qv)(e,a.clientState,r)}else t.removeClient()}catch(e){0,t.removeClient()}}async function c({queryClient:e,persister:t,buster:n="",dehydrateOptions:i}){const r={buster:n,timestamp:Date.now(),clientState:(0,o.hw)(e,i)};await t.persistClient(r)}function l(e){const t=e.queryClient.getQueryCache().subscribe((t=>{a(t.type)&&c(e)})),n=e.queryClient.getMutationCache().subscribe((t=>{a(t.type)&&c(e)}));return()=>{t(),n()}}var u=n(69898),d=n(55229),p=n(86070),h=({client:e,children:t,persistOptions:n,onSuccess:o,...r})=>{const[a,c]=i.useState(!0),h=i.useRef({persistOptions:n,onSuccess:o}),f=i.useRef(!1);return i.useEffect((()=>{h.current={persistOptions:n,onSuccess:o}})),i.useEffect((()=>{const t={...h.current.persistOptions,queryClient:e};return f.current||(f.current=!0,c(!0),s(t).then((async()=>{try{await(h.current.onSuccess?.())}finally{c(!1)}}))),a?void 0:l(t)}),[e,a]),(0,p.jsx)(u.Ht,{client:e,...r,children:(0,p.jsx)(d.d,{value:a,children:t})})}},69898:(e,t,n)=>{"use strict";n.d(t,{Ht:()=>s,jE:()=>a});var i=n(30758),o=n(86070),r=i.createContext(void 0),a=e=>{const t=i.useContext(r);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s=({client:e,children:t})=>(i.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,o.jsx)(r.Provider,{value:e,children:t}))},55229:(e,t,n)=>{"use strict";n.d(t,{d:()=>a,w:()=>r});var i=n(30758),o=i.createContext(!1),r=()=>i.useContext(o),a=o.Provider},5854:(e,t,n)=>{"use strict";n.d(t,{EU:()=>r,R3:()=>i,iL:()=>a,tu:()=>o});var i=(e,t)=>void 0===t.state.data,o=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},r=(e,t)=>e?.suspense&&t.isPending,a=(e,t,n)=>t.fetchOptimistic(e).catch((()=>{n.clearReset()}))},11755:(e,t,n)=>{"use strict";n.d(t,{t:()=>m});var i=n(30758),o=n(18044);n(86070);function r(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var a=i.createContext(r()),s=()=>i.useContext(a),c=n(69898),l=n(55229),u=n(87873),d=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},p=e=>{i.useEffect((()=>{e.clearReset()}),[e])},h=({result:e,errorResetBoundary:t,throwOnError:n,query:i})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(0,u.G)(n,[e.error,i]),f=n(5854);function m(e,t,n){const r=(0,c.jE)(n),a=(0,l.w)(),u=s(),m=r.defaultQueryOptions(e);r.getDefaultOptions().queries?._experimental_beforeQuery?.(m),m._optimisticResults=a?"isRestoring":"optimistic",(0,f.tu)(m),d(m,u),p(u);const[_]=i.useState((()=>new t(r,m))),g=_.getOptimisticResult(m);if(i.useSyncExternalStore(i.useCallback((e=>{const t=a?()=>{}:_.subscribe(o.j.batchCalls(e));return _.updateResult(),t}),[_,a]),(()=>_.getCurrentResult()),(()=>_.getCurrentResult())),i.useEffect((()=>{_.setOptions(m,{listeners:!1})}),[m,_]),(0,f.EU)(m,g))throw(0,f.iL)(m,_,u);if(h({result:g,errorResetBoundary:u,throwOnError:m.throwOnError,query:r.getQueryCache().get(m.queryHash)}))throw g.error;return r.getDefaultOptions().queries?._experimental_afterQuery?.(m,g),m.notifyOnChangeProps?g:_.trackResult(g)}},86534:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var i=n(40522),o=n(71026),r=class extends i.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,o.PL)()},t)}getOptimisticResult(e){return e.behavior=(0,o.PL)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,i=super.createResult(e,t),{isFetching:r,isRefetching:a,isError:s,isRefetchError:c}=i,l=n.fetchMeta?.fetchMore?.direction,u=s&&"forward"===l,d=r&&"forward"===l,p=s&&"backward"===l,h=r&&"backward"===l;return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,o.rB)(t,n.data),hasPreviousPage:(0,o.RQ)(t,n.data),isFetchNextPageError:u,isFetchingNextPage:d,isFetchPreviousPageError:p,isFetchingPreviousPage:h,isRefetchError:c&&!u&&!p,isRefetching:a&&!d&&!h}}},a=n(11755);function s(e,t){return(0,a.t)(e,r,t)}},24563:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var i=n(30758),o=n(91865),r=n(18044),a=n(94183),s=n(58717),c=class extends a.Q{#S;#O=void 0;#z;#K;constructor(e,t){super(),this.#S=e,this.setOptions(t),this.bindMethods(),this.#J()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#S.defaultMutationOptions(e),(0,s.f8)(this.options,t)||this.#S.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#z,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.EN)(t.mutationKey)!==(0,s.EN)(this.options.mutationKey)?this.reset():"pending"===this.#z?.state.status&&this.#z.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#z?.removeObserver(this)}onMutationUpdate(e){this.#J(),this.#j(e)}getCurrentResult(){return this.#O}reset(){this.#z?.removeObserver(this),this.#z=void 0,this.#J(),this.#j()}mutate(e,t){return this.#K=t,this.#z?.removeObserver(this),this.#z=this.#S.getMutationCache().build(this.#S,this.options),this.#z.addObserver(this),this.#z.execute(e)}#J(){const e=this.#z?.state??(0,o.$)();this.#O={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#j(e){r.j.batch((()=>{if(this.#K&&this.hasListeners()){const t=this.#O.variables,n=this.#O.context;"success"===e?.type?(this.#K.onSuccess?.(e.data,t,n),this.#K.onSettled?.(e.data,null,t,n)):"error"===e?.type&&(this.#K.onError?.(e.error,t,n),this.#K.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach((e=>{e(this.#O)}))}))}},l=n(69898),u=n(87873);function d(e,t){const n=(0,l.jE)(t),[o]=i.useState((()=>new c(n,e)));i.useEffect((()=>{o.setOptions(e)}),[o,e]);const a=i.useSyncExternalStore(i.useCallback((e=>o.subscribe(r.j.batchCalls(e))),[o]),(()=>o.getCurrentResult()),(()=>o.getCurrentResult())),s=i.useCallback(((e,t)=>{o.mutate(e,t).catch(u.l)}),[o]);if(a.error&&(0,u.G)(o.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}},25639:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var i=n(40522),o=n(11755);function r(e,t){return(0,o.t)(e,i.$,t)}},39707:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var i=n(40522),o=n(11755),r=n(5854);function a(e,t){return(0,o.t)({...e,enabled:!0,suspense:!0,throwOnError:r.R3,placeholderData:void 0},i.$,t)}},87873:(e,t,n)=>{"use strict";function i(e,t){return"function"==typeof e?e(...t):!!e}function o(){}n.d(t,{G:()=>i,l:()=>o})},6826:(e,t,n)=>{"use strict";n.d(t,{Dg:()=>r,HT:()=>a,e4:()=>s,eA:()=>i,en:()=>o});var i="479px",o="767px",r="768px",a="991px",s="992px"},71306:(e,t,n)=>{"use strict";n.d(t,{$26:()=>N,$s6:()=>R,ARx:()=>B,CMo:()=>V,CZt:()=>G,CpN:()=>p,D0c:()=>H,EoP:()=>P,Ggi:()=>S,Hhe:()=>U,LLE:()=>m,MS1:()=>g,MYb:()=>d,NCc:()=>b,ONy:()=>Y,PQ2:()=>s,PUl:()=>u,Par:()=>c,Ql9:()=>j,Qmy:()=>i,RQU:()=>_,ZSH:()=>h,fx6:()=>f,gbI:()=>A,hQT:()=>I,hZ:()=>k,i_N:()=>l,imx:()=>W,kTx:()=>x,ka3:()=>w,l0o:()=>a,mZi:()=>y,pfM:()=>v,r5P:()=>O,t2r:()=>C,tJI:()=>M,vyq:()=>o,w8D:()=>L,wdA:()=>r,wfD:()=>T,ymm:()=>F,zDo:()=>E,zQs:()=>D});var i="#4100f5",o="#121212",r="#333333",a="#535353",s="#7f7f7f",c="rgba(0, 0, 0, 0)",l="rgba(0, 0, 0, 0.5)",u="rgba(0, 0, 0, 0.6)",d="rgba(0, 0, 0, 0.7)",p="rgba(255, 255, 255, 0.1)",h="rgba(255, 255, 255, 0.7)",f="#000000",m= getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),_="#834f34",g="#ef77a1",E="#af93c4",v="#59a0f6",y="#ff7439",b="#ffd2d7",S="#cff56a",T="#19e68c",A="#911600",I="#683e2a",O="#862800",C="#793500",R="#ffc862",N="#594602",P="#3b4f05",L="#0c5426",k="#1ed760",w="#035341",D="#084791",M="#a5bbd1",x="#3c00e4",U="#7358ff",V="#6900ba",F="#c4b1d4",B="#801d6d",H="#8d0b58",G="#930d1a",W="#1ed760",j="#000000",Y= getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},80481:(e,t,n)=>{"use strict";n.d(t,{$2:()=>a,A7:()=>l,H0:()=>E,Nt:()=>i,O:()=>c,PW:()=>g,VA:()=>u,ZV:()=>_,Zf:()=>y,bQ:()=>s,dk:()=>p,ec:()=>r,et:()=>v,gS:()=>f,mi:()=>o,nk:()=>d,vv:()=>h,yE:()=>m,ye:()=>b});var i={fontSize:"1rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},o={fontSize:"1rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},r={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},a={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},s={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},c={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},l={fontSize:"6rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:900},u={fontSize:"4.5rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:900},d={fontSize:"3rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},p={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700,letterSpacing:"0.1em",textTransform:"uppercase"},h={fontSize:"0.75rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400,letterSpacing:"0.1em",textTransform:"uppercase"},f={fontSize:"0.75rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700,letterSpacing:"0.1em",textTransform:"uppercase"},m={fontSize:"0.6875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},_={fontSize:"0.6875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},g={fontSize:"3rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},E={fontSize:"2rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},v={fontSize:"1.5rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},y={fontSize:"1.5rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},b={fontSize:"1.125rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700}},82775:(e,t,n)=>{"use strict";n.d(t,{$m:()=>i,BI:()=>f,Ep:()=>o,GV:()=>m,Ht:()=>_,O6:()=>c,X_:()=>y,_o:()=>p,bI:()=>a,fW:()=>g,gT:()=>b,lR:()=>d,mi:()=>r,nW:()=>E,pZ:()=>s,ql:()=>v,rq:()=>h,v3:()=>u,wJ:()=>l});var i={fontSize:"1rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},o={fontSize:"1rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},r={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},a={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},s={fontSize:"0.8125rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},c={fontSize:"0.8125rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},l={fontSize:"3.5rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:900},u={fontSize:"3rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},d={fontSize:"2.5rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},p={fontSize:"0.6875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400},h={fontSize:"0.6875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},f={fontSize:"0.625rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:400,letterSpacing:"0.1em",textTransform:"uppercase"},m={fontSize:"0.625rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700,letterSpacing:"0.1em",textTransform:"uppercase"},_={fontSize:"0.875rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700,letterSpacing:"0.1em",textTransform:"uppercase"},g={fontSize:"2rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},E={fontSize:"2rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},v={fontSize:"1.5rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},y={fontSize:"1.125rem",fontFamily:"var(--encore-title-font-stack, CircularSpTitle,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700},b={fontSize:"1.125rem",fontFamily:"var(--encore-body-font-stack, CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva, var(--fallback-fonts, sans-serif))",fontWeight:700}},60165:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>i,ZS:()=>o});var i="0.3",o="0.7"},21953:(e,t,n)=>{"use strict";n.d(t,{CD:()=>a,CJ:()=>r,Jm:()=>l,WG:()=>c,lT:()=>s,v4:()=>o,vw:()=>i});var i="4px",o="8px",r="12px",a="16px",s="24px",c="32px",l="40px"},87112:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var i=n(69469),o=n(95265),r=n(30758),a=n(63382),s=n(72973),c=n(435),l=n(23938),u=(0,n(76578).Ay)(l.b).attrs({condensedAll:!0,listStyleReset:!0}).withConfig({displayName:"Panel__AccordionPanel",componentId:"sc-jkxemo-0"})(["color:",";background-color:",";padding-block-end:",";"],(0,s.oj)(s.ZI.textBase),(0,s.oj)(s.ZI.backgroundBase),(0,c.po)("base","16px")),d=r.forwardRef((function(e,t){var n=(0,o.A)({},((0,i.A)(e),e));return r.createElement(u,Object.assign({ref:t},n,{"data-encore-id":a.j.Accordion}))}))},5050:(e,t,n)=>{"use strict";n.d(t,{u:()=>d});var i=n(59764),o=n(30758),r=n(63382),a=n(85687),s=n(435),c=n(72973),l=n(76578).Ay.div.withConfig({displayName:"Content",componentId:"sc-uu9ltg-0"})(["",";padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";color:",";overflow-wrap:break-word;"],(0,a.W)(),(0,s.po)("tighter-2","8px"),(0,s.po)("looser-3","48px"),(0,s.po)("looser-2","32px"),(0,s.po)("looser-2","32px"),(0,c.oj)(c.ZI.textBase)),u=["isExpanded"],d=o.forwardRef((function(e,t){var n=e.isExpanded,a=(0,i.A)(e,u);return n?o.createElement(l,Object.assign({ref:t},a,{"data-encore-id":r.j.AccordionContent})):null}))},90119:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var i=n(69469),o=n(95265),r=n(30758),a=n(63382),s=n(72973),c=n(85687),l=n(76578),u="1px solid ".concat((0,s.oj)(s.ZI.decorativeSubdued)),d=l.Ay.li.withConfig({displayName:"Item",componentId:"sc-jzntl3-0"})(["",";list-style-type:none;border-block-start:",";border-inline-end:",";border-inline-start:",";&:last-child{border-block-end:",";}"],(0,c.W)(),u,u,u,u),p=r.forwardRef((function(e,t){var n=(0,o.A)({},((0,i.A)(e),e));return r.createElement(d,Object.assign({ref:t},n,{"data-encore-id":a.j.AccordionItem}))}))},19933:(e,t,n)=>{"use strict";n.d(t,{J:()=>b});var i=n(59764),o=n(30758),r=n(56504),a=n(10018),s=n(63382),c=n(31322),l=n(6826),u=n(72973),d=n(31323),p=n(76578),h=n(60386),f=(0,p.Ay)(d.r).withConfig({displayName:"Icon__AccordionIcon",componentId:"sc-j3ofo4-0"})(["@media (min-width:","){block-size:","px;inline-size:","px;}transition:transform 150ms;color:",";flex-shrink:0;",";"],l.Dg,32,32,(0,u.oj)(u.ZI.textSubdued),(function(e){return e.$isExpanded&&(0,h.AH)(["transform:rotate(180deg);"])})),m=n(20287),_=n(85687),g=n(435),E=p.Ay.button.withConfig({displayName:"Title",componentId:"sc-gls8ip-0"})(["",""],(function(e){var t="\n border: ".concat(m.tp,"px solid ").concat((0,u.oj)(u.ZI.essentialBase),";\n padding: calc(32px - ").concat(m.tp,"px); /* TODO: can we use an encore token here? */\n ");return(0,h.AH)(["",";display:flex;align-items:center;justify-content:space-between;margin:0;background-color:transparent;border:none;width:100%;text-align:left;padding:",";cursor:pointer;color:",";"," &:focus{",";}",""],(0,_.W)(),(0,g.po)("looser-2","32px"),(0,u.oj)(u.ZI.textBase),!e.$useBrowserDefaultFocusStyle&&(0,h.AH)(["outline:none;"]),e.$isUsingKeyboard&&!e.$useBrowserDefaultFocusStyle&&t,e.$isFocus&&e.$isUsingKeyboard&&!e.$useBrowserDefaultFocusStyle&&t)})),v=(0,p.Ay)(c.Z).withConfig({displayName:"TitleText",componentId:"sc-1t77w68-0"})(["min-inline-size:0;overflow-wrap:break-word;margin-inline-end:",";"],(0,g.po)("base","16px")),y=["isExpanded","heading","isFocus","children"],b=o.forwardRef((function(e,t){var n=e.isExpanded,l=void 0!==n&&n,u=e.heading,d=void 0===u?"h2":u,p=e.isFocus,h=e.children,m=(0,i.A)(e,y),_=(0,o.useContext)(a.E).isUsingKeyboard,g=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle;return o.createElement(c.Z,{as:d,ref:t},o.createElement(E,Object.assign({$isUsingKeyboard:_,$useBrowserDefaultFocusStyle:g,$isFocus:p,"aria-expanded":l},m,{"data-encore-id":s.j.AccordionTitle}),o.createElement(v,{variant:"celloCanon"},h),o.createElement(f,{$isExpanded:l,semanticColor:"textSubdued","aria-hidden":"true",role:"presentation"})))}))},69644:(e,t,n)=>{"use strict";n.d(t,{a:()=>v});var i=n(59764),o=n(30758),r=n(56504),a=n(10018),s=n(60386),c=n(76578),l=n(72973),u=n(39751),d=n(435),p=n(85687),h=n(70277),f=n(20287);var m=function(e,t,n,i){return(0,s.AH)(["top:",";right:",";bottom:",";left:",";"],e,t||e,n||e,i||e)},_=c.Ay.div.withConfig({displayName:"Box__BoxComponent",componentId:"sc-y4nds-0"})(["",""],(function(e){var t,n=e.$variant,i=e.$borderRadius,c=void 0===i?(0,d.AN)("larger","6px"):i,_=e.$minBlockSize,g=void 0===_?"48px":_,E=e.$padding,v=e.$paddingBlockStart,y=void 0===v?(0,d.po)("tighter","12px"):v,b=e.$paddingBlockEnd,S=void 0===b?(0,d.po)("tighter","12px"):b,T=e.$paddingInlineStart,A=void 0===T?(0,d.po)("tighter","12px"):T,I=e.$paddingInlineEnd,O=void 0===I?(0,d.po)("tighter","12px"):I,C=e.$hoverBackgroundColor,R=e.$activeBackgroundColor,N=e.$isInteractive,P=e.$hasFocus,L=e.$hoverAnimationDuration,k=void 0===L?"300ms":L,w=e.as,D="elevated"===n||"tinted"===n?(t=n).charAt(0).toUpperCase()+t.slice(1):"",M=(0,o.useContext)(a.E).isUsingKeyboard,x=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle;return(0,s.AH)([""," position:relative;border-radius:",";min-block-size:",";z-index:0;",";",";color:",";",";",";"," ",""],(0,p.W)(),(0,d.uG)(c)?(0,d.AN)(c):c,g,"a"===w&&(0,s.AH)(["display:block;text-decoration:none;"]),"button"===w&&(0,s.AH)(["",";"],(0,h.y0)(x)),(0,l.oj)("textBase"),function(e){switch(e){case"naked":default:return null;case"tinted":return(0,s.AH)(["background-color:",";"],(0,l.oj)("backgroundTintedBase"));case"elevated":return(0,s.AH)(["background-color:",";box-shadow:",";"],(0,l.oj)("backgroundElevatedBase"),u.mw);case"bordered":return(0,s.AH)(["border:"," solid ",";"],(0,d.iX)("hairline","1px"),(0,l.oj)("decorativeSubdued"));case"contrasting":return(0,s.AH)(["background-color:",";"],(0,l.oj)("backgroundBase"))}}(n),E?(0,s.AH)(["padding:",";"],(0,d.rn)(E)?(0,d.po)(E):E):(0,s.AH)(["padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";"],(0,d.rn)(y)?(0,d.po)(y):y,(0,d.rn)(S)?(0,d.po)(S):S,(0,d.rn)(A)?(0,d.po)(A):A,(0,d.rn)(O)?(0,d.po)(O):O),N&&(0,s.AH)(["--animation-speed:",";--animation-ease:ease;--bg-inset-change-press:-4px;cursor:pointer;&::after{content:'';position:absolute;border-radius:",";z-index:-1;transition:all var(--animation-speed) var(--animation-ease);"," [dir='rtl'] &{","}","}&[disabled],&[aria-disabled='true'],fieldset[disabled] &{",";}&:hover::after{background-color:",";",";}&[disabled]:hover::after,&[aria-disabled='true']:hover::after{background-color:unset;}"," &[disabled]:active::after,&[aria-disabled='true']:active::after{background-color:unset;","}",";",""],k,c,m("0px"),m("0px"),"naked"===n&&(E?(0,s.AH)(["",""],m(E)):(0,s.AH)(["",";"],m(y,A,S,O))),h.r0,(0,l.oj)(null!=C?C:"background".concat(D,"Highlight")),"naked"===n&&(0,s.AH)(["",""],m("0px")),!1!==P&&(0,s.AH)(["&:active::after{background-color:",";","}"],(0,l.oj)(null!=R?R:"background".concat(D,"Press")),"naked"===n&&(0,s.AH)(["",";"],m("var(--bg-inset-change-press)"))),"naked"===n&&(0,s.AH)(["",""],m("unset")),"contrasting"===n&&!x&&M&&(0,s.AH)([""," "," &:hover::after{transition:background-color var(--animation-speed) var(--animation-ease);inline-size:100%;block-size:100%;top:0;left:0;}"],f._O,(0,f.X2)(c,!0)),"contrasting"!==n&&!x&&M&&(0,s.AH)([""," &:focus{box-shadow:inset 0 0 0 "," var(--parents-essential-base,",");}&:focus::after{clip-path:inset( "," round "," );}"],f._O,(0,d.iX)("focus","3px"),(0,l.oj)(l.ZI.essentialBase),(0,d.iX)("focus","3px"),(0,d.iX)("focus","3px"))),M&&P&&(0,s.AH)(["box-shadow:inset 0 0 0 "," var(--parents-essential-base,",");&::after{clip-path:inset( "," round "," );}"],(0,d.iX)("focus","3px"),(0,l.oj)(l.ZI.essentialBase),(0,d.iX)("focus","3px"),(0,d.iX)("focus","3px")))})),g=n(63382),E=["variant","isInteractive","className","onClick","onKeyDown","href","children","disabled","as","borderRadius","minBlockSize","padding","paddingBlockStart","paddingBlockEnd","paddingInlineStart","paddingInlineEnd","hoverBackgroundColor","activeBackgroundColor","hasFocus","hoverAnimationDuration"],v=o.forwardRef((function(e,t){var n,r=e.variant,a=void 0===r?"naked":r,s=e.isInteractive,c=e.className,u=e.onClick,d=e.onKeyDown,p=e.href,h=e.children,f=e.disabled,m=e.as,v=void 0===m?"div":m,y=e.borderRadius,b=e.minBlockSize,S=e.padding,T=e.paddingBlockStart,A=e.paddingBlockEnd,I=e.paddingInlineStart,O=e.paddingInlineEnd,C=e.hoverBackgroundColor,R=e.activeBackgroundColor,N=e.hasFocus,P=e.hoverAnimationDuration,L=(0,i.A)(e,E),k=null!=s?s:!!u||!!p,w=void 0;"contrasting"===a&&(w=null!==(n=L.colorSet)&&void 0!==n?n:"invertedLight");var D=(0,o.useRef)(null);t&&(D=t);var M=(0,o.useCallback)((function(e){var t;(null==d||d(e),u)&&(" "!==e.key&&"Spacebar"!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=D.current)||void 0===t||t.click()))}),[d,u]);return o.createElement(_,Object.assign({as:p?"a":v,$variant:a,className:(0,l.Ju)(w,c),ref:D,tabIndex:k?0:void 0,$isInteractive:k,onClick:u,onKeyDown:M,href:f?void 0:p,disabled:f,"data-encore-id":g.j.Box,$borderRadius:y,$minBlockSize:b,$padding:S,$paddingBlockStart:T,$paddingBlockEnd:A,$paddingInlineStart:I,$paddingInlineEnd:O,$hoverBackgroundColor:C,$activeBackgroundColor:R,$hasFocus:N,$hoverAnimationDuration:P},L),h)}))},16645:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(30758),o=n(56504),r=function(e){var t=e.useBrowserDefaultFocusStyle,n=void 0===t||t,r=e.children;return i.createElement(o.g.Provider,{value:{useBrowserDefaultFocusStyle:n}},r)}},69922:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var i=n(19484);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n(64361).Ly)},12111:(e,t,n)=>{"use strict";n.d(t,{$:()=>m});var i=n(59764),o=n(30758),r=n(72973),a=n(70277),s=n(85687),c=n(20287),l=n(60386),u=n(76578),d=["component","$isUsingKeyboard","$useBrowserDefaultFocusStyle","$isHover","$isActive","$isFocus","$semanticColor"],p=["$semanticColor"],h=(0,l.AH)(["color:",";"],(0,r.oj)(r.ZI.textBase)),f=(0,l.AH)([""," color:",";"],a.g9,(0,r.oj)(r.ZI.textSubdued)),m=(0,u.Ay)(o.forwardRef((function(e,t){var n=e.component,r=void 0===n?"button":n,a=(e.$isUsingKeyboard,e.$useBrowserDefaultFocusStyle,e.$isHover,e.$isActive,e.$isFocus,e.$semanticColor,(0,i.A)(e,d));return o.createElement(r,Object.assign({},a,{ref:t}))}))).withConfig({displayName:"Button",componentId:"sc-me270r-0"})(["",""],(function(e){var t=e.$semanticColor,n=void 0===t?"textSubdued":t,o=(0,i.A)(e,p);return(0,l.AH)(["",";",";cursor:inherit;display:inline-flex;align-items:center;color:",";&:hover{","}"," &:active{","}&[disabled],&[aria-disabled='true'],fieldset[disabled] &{"," color:",";}"," ",";"],(0,s.W)(),(!o.component||"button"===o.component)&&(0,a.y0)(o.$useBrowserDefaultFocusStyle),(0,r.oj)(n),h,o.$isHover&&h,f,a.r0,(0,r.oj)(n),o.$isActive&&f,!o.$useBrowserDefaultFocusStyle&&(0,c.k6)(0,o.$isUsingKeyboard,o.$isFocus))}))},53933:(e,t,n)=>{"use strict";n.d(t,{a:()=>u});var i=n(59764),o=n(30758),r=n(56504),a=n(10018),s=n(12111),c=n(63382),l=["type","isHover","isActive","isFocus","semanticColor"],u=o.forwardRef((function(e,t){var n=e.type,u=void 0===n?"button":n,d=e.isHover,p=e.isActive,h=e.isFocus,f=e.semanticColor,m=(0,i.A)(e,l),_=(0,o.useContext)(a.E).isUsingKeyboard,g=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle;return o.createElement(s.$,Object.assign({},m,{ref:t,type:u,$isHover:d,$isActive:p,$isFocus:h,$isUsingKeyboard:_,$semanticColor:f,$useBrowserDefaultFocusStyle:g,"data-encore-id":c.j.ButtonIcon}))}))},43830:(e,t,n)=>{"use strict";n.d(t,{$:()=>D});var i=n(19484),o=n(59764),r=n(30758),a=n(56504),s=n(42712),c=n(10018),l=n(63382),u=n(21452),d=n(72973),p=n(435),h=n(70277),f=n(64361),m=n(20287),_=n(76578),g=_.Ay.span.withConfig({displayName:"ButtonFocus",componentId:"sc-2hq6ey-0"})(["border-color:transparent;",""],(function(e){return e.$isUsingKeyboard&&(0,m.ms)(h.xE)})),E=n(85687),v=n(78713),y=n(60386),b=_.Ay.span.withConfig({displayName:"ButtonInner",componentId:"sc-14ud5tc-0"})(["",";",""],(function(e){var t=e.$UNSAFE_colorSet;return t?(0,d.FC)(t):""}),(function(e){var t=e.$fallbackSet,n=e.$buttonSize,i=e.$iconLeading,o=e.$iconTrailing,r=e.$iconOnly,a=e.$status,s=(0,h.IV)({buttonSize:n,iconPlacement:(0,h.Dz)({iconOnly:r,iconLeading:i,iconTrailing:o}),status:a});return(0,y.AH)(["",";position:relative;background-color:var(--background-base,",");color:var(--text-base,",");display:flex;border-radius:",";font-size:inherit;min-block-size:",";align-items:center;justify-content:center;",";",";"],(0,E.W)(),t.background.base,t.text.base,h.xE,(0,p.WU)((0,p.q7)(n),p.B6[n]),s,(0,v.t)())})),S=["component","buttonSize","hover","active","focus","fallbackSet","colorSet","useBrowserDefaultFocusStyle","fullWidth","UNSAFE_colorSet"],T=(0,_.Ay)(r.forwardRef((function(e,t){var n=e.component,i=void 0===n?"button":n,a=(e.buttonSize,e.hover,e.active,e.focus,e.fallbackSet,e.colorSet,e.useBrowserDefaultFocusStyle,e.fullWidth,e.UNSAFE_colorSet,(0,o.A)(e,S));return r.createElement(i,Object.assign({},a,{ref:t}))}))).withConfig({displayName:"Button",componentId:"sc-qlcn5g-0"})(["",""],(function(e){var t=e.fallbackSet,n=e.useBrowserDefaultFocusStyle,i=e.fullWidth,o=e.hover,r=e.active,a=e.focus,s=(0,y.AH)(["","{",";background-color:var(--background-base,",");color:var(--text-base,",");}","{border-color:transparent;}"],b,h.r0,t.background.base,t.text.base,g),c=(0,y.AH)(["","{background-color:var(--background-press,",");box-shadow:none;transform:scale(1);}","{transform:scale(1);}"],b,t.background.press,g),l=(0,y.AH)([""," ","{background-color:var(--background-highlight,",");}"],!i&&(0,y.AH)(["",",","{","}"],b,g,h.Bv),b,t.background.highlight),u=(0,y.AH)(["","{border-color:",";}"],g,m.qC);return(0,y.AH)(["",";padding:0;min-inline-size:0;align-self:center;"," &:hover{",";}"," &:active{",";}"," &:focus{",";}"," &[disabled],&[aria-disabled='true'],fieldset[disabled] &{","}"],(0,h.Cv)(n),i&&(0,y.AH)(["inline-size:100%;"]),l,o&&(0,y.AH)(["&&{","}"],l),c,r&&(0,y.AH)(["&&{","}"],c),u,a&&(0,y.AH)(["&&{","}"],u),s)})),A=n(20424),I=_.Ay.span.withConfig({displayName:"IconWrapper__Wrapper",componentId:"sc-1hf1hjl-0"})(["",""],(function(e){var t=e.$buttonSize,n=e.$iconSize,i=e.$position,o=(0,h.yu)(t),r="calc((".concat((0,p.WU)((0,p.q7)(t),p.B6[t])," - ").concat((0,p.Jk)(u.Nt[t],"decorative","".concat((0,A.H)(n),"px")),") / 2)");return(0,y.AH)(["display:flex;position:absolute;"," "," ",""],"only"===i&&(0,y.AH)(["top:",";left:",";[dir='rtl'] &&{right:",";left:auto;}"],r,r,r),"leading"===i&&(0,y.AH)(["left:",";[dir='rtl'] &&{right:",";left:auto;}"],o,o),"trailing"===i&&(0,y.AH)(["right:",";[dir='rtl'] &&{left:",";right:auto;}"],o,o))})),O=function(e){var t=e.position,n=e.buttonSize,i=e.icon,o=u.ml[n];return r.createElement(I,{$position:t,$buttonSize:n,$iconSize:o,"aria-hidden":"true"},r.createElement(i,{size:o}))},C=function(e){var t=e.iconOnly,n=e.iconLeading,i=e.iconTrailing,o=e.children,a=e.buttonSize,s=function(e,t){return t&&r.createElement(O,{icon:t,position:e,buttonSize:a})};return t?r.createElement(r.Fragment,null,s("only",t)):r.createElement(r.Fragment,null,s("leading",n),o,s("trailing",i))},R=n(24163),N=["component","colorSet","buttonSize","size","fullWidth","iconLeading","iconTrailing","iconOnly","children","className","UNSAFE_colorSet","aria-label","aria-labelledby","aria-hidden"];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=r.forwardRef((function(e,t){var n=e.component,i=e.colorSet,f=void 0===i?"brightAccent":i,m=e.buttonSize,_=e.size,E=void 0===_?"medium":_,v=e.fullWidth,y=e.iconLeading,S=e.iconTrailing,A=e.iconOnly,I=e.children,O=e.className,P=e.UNSAFE_colorSet,L=e["aria-label"],k=e["aria-labelledby"],w=e["aria-hidden"],D=(0,o.A)(e,N);!A||L||k||w||(0,R.R8)("ButtonPrimary must have an aria-label or aria-labelledby attribute defined when using the iconOnly prop in order to be accessible.");var M=(0,r.useContext)(c.E).isUsingKeyboard,x=(0,r.useContext)(a.g).useBrowserDefaultFocusStyle,U=(0,r.useContext)(s.i_),V=(0,s.BS)(s.NH.button,U),F=m?(0,u.iH)(m):E,B=D.href&&"_blank"===D.target?"noopener noreferrer":null,H=d.zQ[f];return r.createElement(T,Object.assign({},D,{rel:B,ref:t,component:!n&&D.href?"a":n,"aria-label":L,"aria-labelledby":k,"aria-hidden":w,fullWidth:v,fallbackSet:H,useBrowserDefaultFocusStyle:x,colorSet:f,UNSAFE_colorSet:P,"data-encore-id":l.j.ButtonPrimary,"data-is-icon-only":!!A||void 0,className:!A&&(0,p.W3)((0,h.EA)(F,V))}),r.createElement(b,{className:P?O:(0,d.Ju)(f,O),$iconLeading:y,$iconTrailing:S,$iconOnly:A,$UNSAFE_colorSet:P,$buttonSize:F,$fallbackSet:H,$status:V},r.createElement(C,{iconOnly:A,iconLeading:y,iconTrailing:S,buttonSize:m?(0,u.iH)(m):E,children:I})),!x&&r.createElement(g,{$isUsingKeyboard:M}))})),w=L(L({},f.Ly),{},{displayName:"ButtonPrimary"}),D=Object.assign(k,w)},49217:(e,t,n)=>{"use strict";n.d(t,{n:()=>k});var i=n(19484),o=n(59764),r=n(30758),a=n(97500),s=n(56504),c=n(42712),l=n(10018),u=n(63382),d=n(21452),p=n(435),h=n(70277),f=n(64361),m=n(72973),_=n(20287),g=n(78713),E=n(76578),v=n(60386),y=["component","semanticColor","buttonSize","hover","active","focus","isUsingKeyboard","useBrowserDefaultFocusStyle","fullWidth","iconLeading","iconTrailing","iconOnly"],b=(0,E.Ay)(r.forwardRef((function(e,t){var n=e.component,i=void 0===n?"button":n,a=(e.semanticColor,e.buttonSize,e.hover,e.active,e.focus,e.isUsingKeyboard,e.useBrowserDefaultFocusStyle,e.fullWidth,e.iconLeading,e.iconTrailing,e.iconOnly,(0,o.A)(e,y));return r.createElement(i,Object.assign({},a,{ref:t}))}))).withConfig({displayName:"Button",componentId:"sc-y0gtbx-0"})(["",""],(function(e){var t=e.buttonSize,n=e.semanticColor,i=void 0===n?m.ZI.textBase:n,o=e.hover,r=e.active,a=e.focus,s=e.useBrowserDefaultFocusStyle,c=e.isUsingKeyboard,l=e.fullWidth,u=e.iconLeading,d=e.iconTrailing,f=e.iconOnly,E=function(e){var t,n;switch(e){case m.ZI.textAnnouncement:case m.ZI.textBrightAccent:case m.ZI.textNegative:case m.ZI.textPositive:case m.ZI.textSubdued:case m.ZI.textWarning:t=n=e;break;default:t=m.ZI.essentialSubdued,n=m.ZI.essentialBase}return{borderDefaultColor:(0,m.oj)(t),borderHoverColor:(0,m.oj)(n)}}(i),y=E.borderDefaultColor,b=E.borderHoverColor,S=(0,v.AH)([""," border:","px solid ",";",""],!l&&h.Bv,1,b,"textSubdued"===i&&(0,v.AH)(["color:",";"],(0,m.oj)(m.ZI.textBase))),T=(0,v.AH)([""," border:","px solid ",";"],h.g9,1,y),A=(0,v.AH)([""," border-color:",";&::after{border-color:transparent;}"],h.r0,y),I=(0,h.IV)({buttonSize:t,iconPlacement:(0,h.Dz)({iconOnly:f,iconLeading:u,iconTrailing:d}),borderWidth:1});return(0,v.AH)(["",";"," ",";border:","px solid ",";color:",";min-inline-size:0;min-block-size:",";display:inline-flex;align-items:center;justify-content:center;",";"," &:hover{",";}"," &:active{",";}"," &[disabled],&[aria-disabled='true'],fieldset[disabled] &{",";}"],(0,h.Cv)(s),I,!s&&(0,_.X2)(h.xE,c,a,!0),1,y,(0,m.oj)(i),(0,p.WU)((0,p.q7)(t),p.B6[t]),(0,g.t)(),l&&(0,v.AH)(["inline-size:100%;"]),S,o&&S,T,r&&T,A)})),S=n(20424),T=E.Ay.span.withConfig({displayName:"IconWrapper__Wrapper",componentId:"sc-ihacte-0"})(["",""],(function(e){var t=e.$buttonSize,n=e.$iconSize,i=e.$position,o=(0,h.yu)(t),r="calc((".concat((0,p.WU)((0,p.q7)(t),p.B6[t])," - ").concat((0,p.Jk)(d.Nt[t],"decorative","".concat((0,S.H)(n),"px")),") / 2) - ").concat(1);return(0,v.AH)(["display:flex;position:absolute;"," "," ",""],"only"===i&&(0,v.AH)(["top:",";left:",";[dir='rtl'] &{right:",";left:auto;}"],r,r,r),"leading"===i&&(0,v.AH)(["left:",";[dir='rtl'] &{right:",";left:auto;}"],o,o),"trailing"===i&&(0,v.AH)(["right:",";[dir='rtl'] &{left:",";right:auto;}"],o,o))})),A=function(e){var t=e.position,n=e.buttonSize,i=e.icon,o=d.ml[n];return r.createElement(T,{$position:t,$buttonSize:n,$iconSize:o,"aria-hidden":"true"},r.createElement(i,{size:o}))},I=function(e){var t=e.iconOnly,n=e.iconLeading,i=e.iconTrailing,o=e.children,a=e.buttonSize,s=function(e,t){return t&&r.createElement(A,{icon:t,position:e,buttonSize:a})};return t?r.createElement(r.Fragment,null,s("only",t)):r.createElement(r.Fragment,null,s("leading",n),o,s("trailing",i))},O=n(24163),C=["component","buttonSize","size","iconLeading","iconTrailing","iconOnly","children","aria-label","aria-labelledby","aria-hidden"];function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=r.forwardRef((function(e,t){var n=e.component,i=e.buttonSize,f=e.size,m=void 0===f?"medium":f,_=e.iconLeading,g=e.iconTrailing,E=e.iconOnly,v=e.children,y=e["aria-label"],S=e["aria-labelledby"],T=e["aria-hidden"],A=(0,o.A)(e,C);!E||y||S||T||(0,O.R8)("ButtonSecondary must have an aria-label or aria-labelledby attribute defined when using the iconOnly prop in order to be accessible.");var R=(0,r.useContext)(l.E).isUsingKeyboard,N=(0,r.useContext)(s.g).useBrowserDefaultFocusStyle,P=(0,r.useContext)(c.i_),L=(0,c.BS)(c.NH.button,P),k=i?(0,d.iH)(i):m,w=A.href&&"_blank"===A.target?"noopener noreferrer":null;return r.createElement(b,Object.assign({},A,{className:a(!E&&(0,p.W3)((0,h.EA)(k,L)),A.className),rel:w,ref:t,component:!n&&A.href?"a":n,"aria-label":y,"aria-labelledby":S,"aria-hidden":T,isUsingKeyboard:R,useBrowserDefaultFocusStyle:N,buttonSize:k,iconOnly:E,iconLeading:_,iconTrailing:g,status:L,"data-encore-id":u.j.ButtonSecondary,"data-is-icon-only":!!E||void 0}),r.createElement(I,{iconOnly:E,iconLeading:_,iconTrailing:g,buttonSize:k,children:v}))})),L=N(N({},f.Ly),{},{displayName:"ButtonSecondary"}),k=Object.assign(P,L)},30171:(e,t,n)=>{"use strict";n.d(t,{Q:()=>L,H:()=>w});var i=n(19484),o=n(59764),r=n(30758),a=n(97500),s=n(56504),c=n(42712),l=n(10018),u=n(63382),d=n(21452),p=n(435),h=n(70277),f=n(64361),m=n(72973),_=n(20287),g=n(20424),E=n(78713),v=n(83663),y=n(76578),b=n(60386),S=["component","semanticColor","condensed","condensedAll","iconLeading","iconTrailing","iconOnly","buttonSize","iconSize","hover","active","focus","isUsingKeyboard","useBrowserDefaultFocusStyle","status"],T=(0,y.Ay)(r.forwardRef((function(e,t){var n=e.component,i=void 0===n?"button":n,a=(e.semanticColor,e.condensed,e.condensedAll,e.iconLeading,e.iconTrailing,e.iconOnly,e.buttonSize,e.iconSize,e.hover,e.active,e.focus,e.isUsingKeyboard,e.useBrowserDefaultFocusStyle,e.status,(0,o.A)(e,S));return r.createElement(i,Object.assign({},a,{ref:t}))}))).withConfig({displayName:"Button",componentId:"sc-1dqy6lx-0"})(["",""],(function(e){var t=e.buttonSize,n=e.semanticColor,i=void 0===n?"textSubdued":n,o=e.hover,r=e.active,a=e.focus,s=e.useBrowserDefaultFocusStyle,c=e.status,l=e.isUsingKeyboard,u=e.condensed,f=e.condensedAll,y=e.iconLeading,S=e.iconTrailing,T=e.iconOnly,A=e.iconSize,I=(0,h.yu)(t),O=(0,h.Dz)({iconOnly:T,iconLeading:y,iconTrailing:S}),C=(0,h.qj)({buttonSize:t,status:c,iconPlacement:O,condensed:u,condensedAll:f}),R=(0,b.AH)([""," ",""],h.Bv,"textSubdued"===i&&(0,b.AH)(["color:",";"],(0,m.oj)(m.ZI.textBase))),N=(0,b.AH)([""," color:",";"],h.g9,(0,m.oj)(i)),P=(0,b.AH)([""," color:",";&::before{background-color:transparent;}&::after{border-color:transparent;}"],h.r0,(0,m.oj)(i));return(0,b.AH)([""," color:",";min-inline-size:0;",";"," ",";display:inline-flex;align-items:center;justify-content:center;&:hover{","}"," &:active{","}"," "," &[disabled],&[aria-disabled='true'],fieldset[disabled] &{","}"],(0,h.Cv)(s),(0,m.oj)(i),(0,E.t)(),!f&&(0,b.AH)(["min-block-size:",";"],(0,p.WU)((0,p.q7)(t),p.B6[t])),C,R,o&&R,N,r&&N,(function(){var e=(f?0:(0,v.hG)(d.mw[t]))+_.tp;return(0,b.AH)(["",";&::after{inline-size:",";}"],!s&&(0,_.k6)(e,l,a),T?"".concat((0,g.H)(A),"px"):u||f?"100%":y||S?"calc(100% - (".concat(I," * 2));"):"calc(100% - (".concat(function(){switch(t){case"small":return(0,p.po)("base","16px");case"large":return(0,p.po)("looser-3","48px");default:return(0,p.po)("looser-2","32px")}}()," * 2))"))}),P)})),A=y.Ay.span.withConfig({displayName:"IconWrapper__Wrapper",componentId:"sc-16usrgb-0"})(["display:flex;",""],(function(e){var t=e.$buttonSize,n=e.$position;return(0,b.AH)([""," ",""],"leading"===n&&(0,b.AH)(["margin-inline-end:",";"],h.GF[t]),"trailing"===n&&(0,b.AH)(["margin-inline-start:",";"],h.GF[t]))})),I=function(e){var t=e.position,n=e.buttonSize,i=e.icon,o=e.iconSize,a=i;return r.createElement(A,{$position:t,$buttonSize:n,"aria-hidden":"true"},r.createElement(a,{size:o}))},O=function(e){var t=e.iconOnly,n=e.iconLeading,i=e.iconTrailing,o=e.children,a=e.buttonSize,s=e.iconSize,c=function(e,t){return t&&r.createElement(I,{icon:t,position:e,buttonSize:a,iconSize:s})};return t?r.createElement(r.Fragment,null,c("only",t)):r.createElement(r.Fragment,null,c("leading",n),o,c("trailing",i))},C=n(24163),R=["component","color","children","buttonSize","size","iconOnly","iconLeading","iconTrailing","aria-label","aria-labelledby","aria-hidden"];function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=r.forwardRef((function(e,t){var n=e.component,i=(e.color,e.children),f=e.buttonSize,m=e.size,_=void 0===m?"medium":m,g=e.iconOnly,E=e.iconLeading,v=e.iconTrailing,y=e["aria-label"],b=e["aria-labelledby"],S=e["aria-hidden"],A=(0,o.A)(e,R);!g||y||b||S||(0,C.R8)("ButtonTertiary must have an aria-label or aria-labelledby attribute defined when using the iconOnly prop in order to be accessible.");var I=(0,r.useContext)(l.E).isUsingKeyboard,N=(0,r.useContext)(s.g).useBrowserDefaultFocusStyle,P=(0,r.useContext)(c.i_),L=(0,c.BS)(c.NH.button,P),k=A.href&&"_blank"===A.target?"noopener noreferrer":null,w=f?(0,d.iH)(f):_,D=g&&"large"===w?"large":d.ml[w];return r.createElement(T,Object.assign({},A,{className:a(!g&&(0,p.W3)((0,h.EA)(w,L)),A.className),rel:k,ref:t,component:!n&&A.href?"a":n,"aria-label":y,"aria-labelledby":b,"aria-hidden":S,buttonSize:w,iconSize:D,iconLeading:E,iconTrailing:v,iconOnly:g,isUsingKeyboard:I,useBrowserDefaultFocusStyle:N,"data-encore-id":u.j.ButtonTertiary}),r.createElement(O,{iconOnly:g,iconLeading:E,iconTrailing:v,iconSize:D,children:i,buttonSize:w}))})),k=P(P({},f.Ly),{},{displayName:"ButtonTertiary"}),w=Object.assign(L,k)},98768:(e,t,n)=>{"use strict";n.d(t,{Z:()=>N,E:()=>R});var i=n(12867),o=n(59764),r=n(30758),a=n(65716),s=n(53773),c=n(2512),l=n(84608),u={sm:"8px",md:"12px"},d={sm:"2px",md:"4px"},p=n(76578),h=n(60386),f=n(435),m=p.Ay.div.withConfig({displayName:"Areas__InteractiveArea",componentId:"sc-1tea2mc-0"})(["& button,& a,& [role='button'],& [role='link']{position:relative;z-index:1;}"]),_=(0,p.Ay)(m).withConfig({displayName:"Areas__MainArea",componentId:"sc-1tea2mc-1"})(["",""],(function(e){var t=e.$horizontalGap;return(0,h.AH)(["column-gap:",";align-items:center;display:flex;"],(0,f.rn)(t)?(0,f.po)(t):t)})),g=(0,p.Ay)(m).withConfig({displayName:"Areas__Column",componentId:"sc-1tea2mc-2"})(["",""],(function(e){var t=e.$size,n=e.$titleGap,i=void 0===n?d[t]:n;return(0,h.AH)(["display:flex;flex-direction:column;gap:",";flex-basis:100%;align-items:flex-start;"],(0,f.rn)(i)?(0,f.po)(i):i)})),E=(0,p.Ay)(m).withConfig({displayName:"Areas__FooterArea",componentId:"sc-1tea2mc-3"})(["margin-top:auto;"]),v=n(60165),y=n(69644),b=(0,p.Ay)(y.a).withConfig({displayName:"Box",componentId:"sc-1njtxi4-0"})(["",""],(function(e){var t=e.$contentAlign,n=e.$verticalGap,i=e.$size;return(0,h.AH)(["display:inline-flex;flex-direction:column;row-gap:",";&[disabled]{opacity:",";}",""],(0,f.rn)(n)?(0,f.po)(n):n,v.ZS,t&&(0,h.AH)(["margin-inline-start:calc(-1 * ",");margin-inline-end:calc(-1 * ",");"],u[i],u[i]))})),S=n(20287),T=p.Ay.div.withConfig({displayName:"CardButton",componentId:"sc-g9vf2u-0"})(["position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:transparent;border:none;width:100%;",""],S._O),A=p.Ay.div.withConfig({displayName:"CardLink",componentId:"sc-1ut6cns-0"})(["position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;cursor:pointer;"]),I=n(63382),O=n(83663),C=["pretitle","title","subtitle","media","leading","trailing","body","footer","size","titleGap","verticalGap","horizontalGap","alt","contentAlign","disabled","aria-disabled","isRedundantOnClick","isSelected","onClick","onClickHint","id","draggable","onDragEnd"],R=(0,r.createContext)(null),N=r.forwardRef((function(e,t){var n=e.pretitle,d=e.title,p=e.subtitle,h=e.media,m=e.leading,v=e.trailing,y=e.body,S=e.footer,N=e.size,P=void 0===N?"md":N,L=e.titleGap,k=e.verticalGap,w=void 0===k?(0,f.po)("tighter-2","8px"):k,D=e.horizontalGap,M=void 0===D?(0,f.po)("tighter","12px"):D,x=(e.alt,e.contentAlign),U=void 0!==x&&x,V=e.disabled,F=e["aria-disabled"],B=e.isRedundantOnClick,H=e.isSelected,G=e.onClick,W=e.onClickHint,j=e.id,Y=e.draggable,z=e.onDragEnd,K=(0,o.A)(e,C),J=!(!V&&!F),q=(0,r.useState)(!1),X=(0,i.A)(q,2),$=X[0],Z=X[1],Q=u[P],ee=function(e){J?e.preventDefault():void 0!==G&&G(e)};return r.createElement(R.Provider,{value:j},r.createElement(b,Object.assign({role:"group","aria-labelledby":"card-title-".concat(j),ref:t,isInteractive:!!G,hasFocus:$,tabIndex:void 0,paddingBlockStart:Q,paddingBlockEnd:Q,paddingInlineStart:Q,paddingInlineEnd:Q,$contentAlign:U,disabled:J,$verticalGap:w,"data-encore-id":I.j.Card,$size:P,draggable:Y,onDragEnd:Y?function(e){Z(!1),null==z||z(e)}:function(e){return null==z?void 0:z(e)}},K),G&&r.createElement(r.Fragment,null,B?r.createElement(A,{onClick:G,onMouseDown:function(){return Z(!0)},onTouchStart:function(){return Z(!0)},onMouseUp:function(){return Z(!1)},onTouchEnd:function(){return Z(!1)}}):r.createElement(T,{onClick:function(e){return ee(e)},onKeyDown:function(e){return function(e){"Enter"!==e.key&&" "!==e.key||void 0===G||J||G(e)}(e)},role:"boolean"==typeof H?"switch":"button","aria-disabled":J,"aria-checked":H,"aria-labelledby":"card-title-".concat(j," card-subtitle-").concat(j),"aria-describedby":"onClickHint".concat(j),onFocus:function(){return Z(!0)},onBlur:function(){return Z(!1)},tabIndex:0}),r.createElement("div",{style:{display:"none"},id:"onClickHint".concat(j)},W)),h&&(0,O.vt)(h,r.createElement(s.M,{size:P,src:h})),r.createElement(_,{$horizontalGap:M},m&&r.createElement("div",null,m),r.createElement(g,{$size:P,$titleGap:L},(0,O.vt)(n,r.createElement(a.F,null,n)),(0,O.vt)(d,r.createElement(l.Z,{id:"card-title-".concat(j)},d)),(0,O.vt)(p,r.createElement(c.j,null,p))),v&&r.createElement("div",null,v)),y&&(0,O.vt)(y,r.createElement(a.F,null,y)),S&&r.createElement(E,null,(0,O.vt)(S,r.createElement(a.F,null,S)))))}))},65716:(e,t,n)=>{"use strict";n.d(t,{F:()=>h});var i=n(59764),o=n(30758),r=n(78713),a=n(31322),s=n(63382),c=n(76578),l=n(60386),u=["lineClamp","children","variant","semanticColor","as","hasTextSeparator"],d=c.Ay.span.withConfig({displayName:"CardDetails__LineClamp",componentId:"sc-1gdonml-0"})(["",""],(function(e){var t=e.$lineClamp;return(0,l.AH)(["display:",";-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;"],"-webkit-box",t)})),p=(0,c.Ay)(a.Z).withConfig({displayName:"CardDetails__CardDetailType",componentId:"sc-1gdonml-1"})(["",""],(0,r.t)()),h=o.forwardRef((function(e,t){var n=e.lineClamp,r=e.children,a=e.variant,c=void 0===a?"mesto":a,l=e.semanticColor,h=void 0===l?"textSubdued":l,f=e.as,m=void 0===f?"p":f,_=e.hasTextSeparator,g=void 0!==_&&_,E=(0,i.A)(e,u),v=r;return g&&Array.isArray(r)&&(v=o.createElement(o.Fragment,null,r.map((function(e,t){return r.length-1===t?o.createElement(o.Fragment,{key:t},e):o.createElement(o.Fragment,{key:t},e," • ")})))),o.createElement(p,Object.assign({forwardedAs:m,variant:c,semanticColor:h,ref:t,"data-encore-id":s.j.CardDetails},E),n?o.createElement(d,{$lineClamp:n},v):v)}))},53773:(e,t,n)=>{"use strict";n.d(t,{M:()=>u});var i=n(59764),o=n(30758),r=n(88482),a=n(63382),s=n(435),c=["size","imageWidth","imageHeight","borderRadius","alt"],l={sm:"152px",md:"358px"},u=function(e){var t=e.size,n=void 0===t?"md":t,u=e.imageWidth,d=e.imageHeight,p=e.borderRadius,h=void 0===p?(0,s.AN)("base","4px"):p,f=e.alt,m=void 0===f?"":f,_=(0,i.A)(e,c);return u||d?o.createElement(r._,Object.assign({alt:m,imageWidth:u,imageHeight:d,borderRadius:h,"data-encore-id":a.j.CardImage},_)):o.createElement(r._,Object.assign({alt:m,style:{minInlineSize:l[n]},imageWidth:"100%",borderRadius:h,"data-encore-id":a.j.CardImage},_))}},2512:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var i=n(59764),o=n(30758),r=n(98768),a=n(65716),s=n(63382),c=["id"],l=o.forwardRef((function(e,t){var n=e.id,l=(0,i.A)(e,c),u=(0,o.useContext)(r.E),d=u?"card-subtitle-".concat(u):void 0;return o.createElement(a.F,Object.assign({ref:t,id:n||d,"data-encore-id":s.j.CardSubtitle},l))}))},84608:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var i=n(59764),o=n(30758),r=n(56504),a=n(10018),s=n(78713),c=n(98768),l=n(10669),u=n(31322),d=n(63382),p=n(76578),h=n(60386),f=["lineClamp","children","variant","as","onClick","aria-describedby","id","href"],m=p.Ay.span.withConfig({displayName:"CardTitle__LineClamp",componentId:"sc-1h38un4-0"})(["",""],(function(e){var t=e.$lineClamp;return(0,h.AH)(["display:",";-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;"],"-webkit-box",t)})),_=(0,p.Ay)(u.Z).withConfig({displayName:"CardTitle__CardType",componentId:"sc-1h38un4-1"})(["outline:none;text-decoration:none;",";&:focus{","}"],s.t,(function(e){return e.$isUsingKeyboard&&!e.$useBrowserDefaultFocusStyle&&l.T7})),g=o.forwardRef((function(e,t){var n=e.lineClamp,s=e.children,l=e.variant,u=void 0===l?"ballad":l,p=e.as,h=void 0===p?"p":p,g=e.onClick,E=e["aria-describedby"],v=e.id,y=e.href,b=(0,i.A)(e,f),S=(0,o.useContext)(c.E),T=S?"card-title-".concat(S):void 0,A=S&&g?"onClickHint".concat(S):void 0,I=(0,o.useContext)(a.E).isUsingKeyboard,O=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle;return o.createElement(_,Object.assign({$isUsingKeyboard:I,$useBrowserDefaultFocusStyle:O,id:v||T,forwardedAs:y?"a":h,onClick:g,variant:u,href:y,"aria-describedby":E||A,"data-encore-id":d.j.CardTitle,ref:t},b),n?o.createElement(m,{$lineClamp:n},s):s)}))},76792:(e,t,n)=>{"use strict";n.d(t,{v:()=>H});var i=n(59764),o=n(30758),r=n(56504),a=n(42712),s=n(10018),c=n(63382),l=n(21452),u=n(72973),d=n(435),p=n(60721),h=n(98184),f=n(85687),m=n(70277),_=n(78713),g=n(96364),E=n(20287),v=n(76578),y=n(60386),b=n(83663),S=h.uV,T=function(e){return"contrasting"===e?(0,u.oj)("backgroundBase"):(0,u.oj)("backgroundTintedBase")},A=function(e){return"medium"===e?(0,d.po)("tighter-2",l.mw[e]):(0,d.po)("tighter-4",l.mw[e])},I=v.Ay.button.withConfig({displayName:"Chip__ChipComponent",componentId:"sc-ry3uox-0"})(["",""],(function(e){var t=e.$size,n=e.$variant,i=e.$useBrowserDefaultFocusStyle,o=e.$isUsingKeyboard,r=e.$semanticColorBase;return(0,y.AH)([""," "," "," position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-block-size:",";min-inline-size:0;max-inline-size:100%;padding:",";color:",";background-color:",";border-radius:",";border:",";text-decoration:none;flex-shrink:0;transform:translate(0,0);transition:background-color "," ",";"," &:hover{background-color:",";}&:active{background-color:",";}&[disabled],&[aria-disabled='true'] &&{",";}&[disabled]:hover,&[aria-disabled='true']:hover{background-color:",";}"],(0,f.W)(),(0,m.y0)(i),(0,_.t)(),(0,d.WU)((0,d.q7)(t),d.B6[t]),"bordered"===n?"calc(".concat(A(t)," - 1px)"):A(t),(0,u.oj)("text".concat((0,b.ZH)(r))),T(n),S,"bordered"===n?"".concat((0,d.iX)("hairline","1px")," solid ").concat((0,u.oj)("essential".concat((0,b.ZH)(r)))):"none",g.Z_,g.qi,!i&&(0,y.AH)([""," ",";"],E._O,(0,E.X2)(S,o,!1,"bordered"===n)),"contrasting"===n?(0,u.oj)("backgroundHighlight"):(0,u.oj)("backgroundTintedHighlight"),"contrasting"===n?(0,u.oj)("backgroundPress"):(0,u.oj)("backgroundTintedPress"),m.r0,T(n))})),O=v.Ay.span.withConfig({displayName:"Icon__IconSpacer",componentId:"sc-1hpzz1n-0"})(["",";padding:",";display:inline-flex;"],(0,f.W)(),(0,d.po)("tighter-4","4px")),C=function(e){var t=e.icon,n=e.size,i=t;return o.createElement(O,null,o.createElement(i,{size:n}))},R=n(88482),N=function(e){var t=e.src,n="small"===e.size?(0,d.Jk)("base","decorative","24px"):(0,d.Jk)("larger","decorative","32px");return o.createElement(R._,{src:t,crop:!0,circle:!0,imageHeight:n,imageWidth:n,alt:""})},P=n(12783),L=(0,v.Ay)(P.E).withConfig({displayName:"Label",componentId:"sc-k61801-0"})(["",";"],(function(e){var t=e.$chipSize;return(0,y.AH)(["min-inline-size:",";padding-inline-start:",";padding-inline-end:",";"],(0,d.WU)((0,d.q7)(t),d.B6[t]),"".concat("medium"===t?(0,d.po)("tighter-2","8px"):(0,d.po)("tighter-3","6px")),"".concat("medium"===t?(0,d.po)("tighter-2","8px"):(0,d.po)("tighter-3","6px")))})),k=n(6826),w=h.uV,D=v.Ay.button.withConfig({displayName:"LegacyChip__LegacyChipComponent",componentId:"sc-tzfq94-0"})(["",""],(function(e){var t=e.$isUsingKeyboard,n=e.$useBrowserDefaultFocusStyle,i=e.$secondary,o=e.$size,r=e.$selected;return(0,y.AH)(["",";",";",";border-radius:",";display:inline-flex;vertical-align:middle;max-inline-size:100%;margin-block-end:",";text-decoration:none;overflow-wrap:break-word;position:relative;flex-shrink:0;"," "," &:not(:last-child){margin-inline-end:",";}"],(0,f.W)(),(0,m.y0)(n),!n&&(0,E.X2)(w,t),w,(0,d.po)("tighter-2","8px"),r&&(0,y.AH)(["z-index:1;"]),i&&(0,y.AH)(["&:not(:first-child){margin-inline-start:",";z-index:0;@media (min-width:","){margin-inline-start:",";}","}"],"sm"===o?"-32px":"-40px",k.Dg,"sm"===o?"-48px":"-64px",t&&(0,y.AH)(["&:focus{z-index:1;margin-inline-start:calc(-1 * ",");@media (min-width:","){margin-inline-start:calc(-1 * ",");}}"],(0,d.po)("tighter","12px"),k.Dg,(0,d.po)("base","16px"))),(0,d.po)("tighter-2","8px"))})),M=["children","iconLeading","iconTrailing","size","selected","secondary","isUsingKeyboard"],x=v.Ay.span.withConfig({displayName:"LegacyChipInner__ChipInnerComponent",componentId:"sc-1qguixk-0"})(["",""],(function(e){var t=e.$size,n=e.$selected,i=e.$secondary,o=e.$isUsingKeyboard,r=e.$iconLeading,a=e.$iconTrailing;return(0,y.AH)(["",";border-radius:",";color:",";transition:background-color 0.2s,color 0.2s;display:",";min-inline-size:0;min-block-size:",";align-items:center;padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";",";"," "," ",":hover > &&{background-color:",";}",":active > &&{background-color:",";}","[disabled] > &&,","[aria-disabled='true'] > &&{background-color:",";opacity:",";cursor:",";}"],(0,f.W)(),w,(0,u.oj)(u.ZI.textBase),r||a?"grid":"inline-flex",(0,d.WU)((0,d.q7)((0,l.iH)(t)),d.B6[t]),"sm"===t?(0,d.po)("tighter-4",l.mw[t]):(0,d.po)("tighter-2",l.mw[t]),"sm"===t?(0,d.po)("tighter-4",l.mw[t]):(0,d.po)("tighter-2",l.mw[t]),"sm"===t?(0,d.po)("tighter","12px"):(0,d.po)("base","16px"),"sm"===t?(0,d.po)("tighter","12px"):(0,d.po)("base","16px"),(0,_.t)(),(r||a)&&(0,y.AH)(["grid-auto-flow:column;grid-gap:",";"],"sm"===t?(0,d.po)("tighter-2","8px"):(0,d.po)("tighter","12px")),i?(0,y.AH)(["background-color:",";"," ",":not(:focus) > &&{padding-inline-start:",";@media (min-width:","){padding-inline-start:",";}}",":focus > &&{","}"],(0,u.oj)(u.ZI.decorativeSubdued),"sm"===t&&(0,y.AH)(["padding-inline-start:",";"],(0,d.po)("base","12px")),D,"sm"===t?"32px":"40px",k.Dg,"sm"===t?"48px":" 64px",D,!o&&(0,y.AH)(["padding-inline-start:",";@media (min-width:","){padding-inline-start:",";}"],"sm"===t?"32px":"40px",k.Dg,"sm"===t?"48px":"64px")):(0,y.AH)(["background-color:",";"],n?(0,u.oj)(u.ZI.backgroundBase):(0,u.oj)(u.ZI.backgroundTintedBase)),D,n?(0,u.oj)(u.ZI.backgroundHighlight):(0,u.oj)(u.ZI.backgroundTintedHighlight),D,n?(0,u.oj)(u.ZI.backgroundPress):(0,u.oj)(u.ZI.backgroundTintedPress),D,D,n?(0,u.oj)(u.ZI.backgroundBase):(0,u.oj)(u.ZI.backgroundTintedBase),h.ok,h.zM)})),U=function(e){var t=e.children,n=e.iconLeading,r=e.iconTrailing,a=e.size,s=e.selected,c=e.secondary,u=e.isUsingKeyboard,d=(0,i.A)(e,M),p=n,h=r;return o.createElement(x,Object.assign({$size:a,$selected:s,$secondary:c,$isUsingKeyboard:u,$iconLeading:n,$iconTrailing:r},d),p&&o.createElement(p,{size:(0,l.iH)(a),"aria-hidden":"true"}),p||h?o.createElement("span",null,t):t,h&&o.createElement(h,{size:(0,l.iH)(a),"aria-hidden":"true"}))},V=n(24163),F=["size","secondary","selected","selectedColorSet","className","children","iconLeading","iconTrailing","variant","as","role","href","disabled","imageSrc","contrastingColor","borderedColor","aria-checked","data-encore-chip-id"];function B(e,t,n){return void 0!==n?n:void 0===t||"checkbox"===t||"radio"===t?!!e:e}var H=o.forwardRef((function(e,t){var n=e.size,h=e.secondary,f=e.selected,m=e.selectedColorSet,_=void 0===m?"invertedDark":m,g=e.className,E=e.children,v=e.iconLeading,y=e.iconTrailing,b=e.variant,S=e.as,T=e.role,A=e.href,O=e.disabled,R=e.imageSrc,P=e.contrastingColor,k=void 0===P?"brightAccent":P,w=e.borderedColor,M=void 0===w?"base":w,x=e["aria-checked"],H=e["data-encore-chip-id"],G=(0,i.A)(e,F),W=(0,o.useContext)(s.E).isUsingKeyboard,j=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle,Y=(0,o.useContext)(a.i_),z=(0,a.BS)(a.NH.chip,Y),K=(0,o.useContext)(p.r).chipItems;if("next"===z){var J=A?"link":"button",q=A?"a":"button",X=n?(0,l.iH)(n):"small",$=v,Z=y,Q="contrasting"===b?k:void 0,ee="bordered"===b?M:"base";return"checkbox"!==T&&"radio"!==T||void 0!==x||(0,V.R8)('Chips with checkbox or radio roles must have aria-checked="true/false" for accessibility.'),o.createElement(I,Object.assign({className:(0,u.Ju)(Q,g),as:S||q,role:T||J,href:O?void 0:A,"aria-checked":x,disabled:O,ref:function(e){H&&(e&&K?K.set(H,e):K&&K.delete(H)),t&&("function"==typeof t?t(e):t.current=e)},"data-encore-id":c.j.Chip,"data-encore-chip-id":H,$variant:b||"tinted",$semanticColorBase:ee,$size:X,$isUsingKeyboard:W,$useBrowserDefaultFocusStyle:j},G),$&&o.createElement(C,{icon:$,size:X}),R&&o.createElement(N,{src:R,size:X}),E&&o.createElement(L,{variant:"medium"===X?"bodyMedium":"bodySmall",$chipSize:X},E),Z&&o.createElement(C,{icon:Z,size:X}))}var te=A?"link":"checkbox",ne=n?(0,l.ey)(n):"sm";return o.createElement(D,Object.assign({ref:t,className:A?"sm"===ne?(0,d.W3)("bodySmallBold"):(0,d.W3)("bodyMediumBold"):"sm"===ne?(0,d.W3)("bodySmall"):(0,d.W3)("bodyMedium"),href:A,forwardedAs:S,role:T||te,"aria-checked":A?void 0:B(f,T,x),disabled:O,"data-encore-id":c.j.Chip,$secondary:h,$selected:f,$size:ne,$isUsingKeyboard:W,$useBrowserDefaultFocusStyle:j},G),o.createElement(U,{selected:f,isUsingKeyboard:W,size:ne,secondary:h,iconLeading:v,iconTrailing:y,className:f?(0,u.Ju)(_,g):g},E))}))},63731:(e,t,n)=>{"use strict";n.d(t,{m:()=>b});var i=n(59764),o=n(30758),r=n(56504),a=n(42712),s=n(10018),c=n(63382),l=n(76792),u=n(43178),d=n(85687),p=n(70277),h=n(20287),f=n(435),m=n(72973),_=n(98184),g=n(76578),E=n(60386),v=g.Ay.button.withConfig({displayName:"ChipClear__ChipClearComponent",componentId:"sc-zv5btm-0"})(["",""],(function(e){var t=e.$size,n=e.$isUsingKeyboard,i=e.$useBrowserDefaultFocusStyle;return(0,E.AH)(["",";",";",";border-radius:50%;display:inline-flex;vertical-align:middle;padding:",";transition:background-color 0.2s,color 0.2s;background-color:",";&:hover{background-color:",";}&:active{background-color:",";}&[disabled]{background-color:",";opacity:",";cursor:",";}&:not(:last-child){margin-inline-end:",";margin-block-end:",";}"],(0,d.W)(),(0,p.y0)(i),!i&&(0,h.X2)("50%",n),"sm"===t?(0,f.po)("tighter-2","8px"):(0,f.po)("tighter","12px"),(0,m.oj)(m.ZI.backgroundTintedBase),(0,m.oj)(m.ZI.backgroundTintedHighlight),(0,m.oj)(m.ZI.backgroundTintedPress),(0,m.oj)(m.ZI.backgroundTintedBase),_.ok,_.zM,(0,f.po)("tighter-2","8px"),(0,f.po)("tighter-2","8px"))})),y=["size"],b=o.forwardRef((function(e,t){var n=e.size,d=void 0===n?"sm":n,p=(0,i.A)(e,y),h=(0,o.useContext)(s.E).isUsingKeyboard,f=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle,m=(0,o.useContext)(a.i_),_="sm"===d?"small":"medium";return"next"===(0,a.BS)(a.NH.chip,m)?o.createElement(l.v,Object.assign({ref:t,size:d,iconLeading:u.M},p,{"data-encore-id":c.j.ChipClear})):o.createElement(v,Object.assign({ref:t,$size:d,$isUsingKeyboard:h,$useBrowserDefaultFocusStyle:f},p,{"data-encore-id":c.j.ChipClear}),o.createElement(u.M,{size:_,"aria-hidden":"true"}))}))},60721:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var i={chipItems:void 0,mode:void 0,handleOnRemove:void 0},o=(0,n(30758).createContext)(i)},92050:(e,t,n)=>{"use strict";n.d(t,{I:()=>R});var i=n(19484),o=n(12867),r=n(59764),a=n(30758),s=n(14477),c=n(59623),l=n(6826),u=n(435),d=n(72973),p=n(76578),h=n(60386),f=(0,u.po)("tighter-2","8px"),m=p.Ay.div.withConfig({displayName:"ChipGroup__ChipGroupContainer",componentId:"sc-guhg5z-0"})(["",""],(function(e){var t=e.$showEndOverflow,n=e.$showStartOverflow;return(0,h.AH)(["position:relative;@media (max-width:","){&::before{background:linear-gradient(270deg,transparent,"," 75%);content:'';display:block;min-block-size:100%;min-inline-size:",";margin-inline-end:calc(-1 * ",");position:absolute;z-index:1;inset-inline-start:calc(-1 * ",");inset-block-end:0;opacity:0;transition:opacity 0.3s;pointer-events:none;[dir='rtl'] &{background:linear-gradient(90deg,transparent,"," 75%);}","}&::after{background:linear-gradient(90deg,transparent,"," 75%);content:'';display:block;min-block-size:100%;min-inline-size:",";margin-inline-start:calc(-1 * ",");position:absolute;z-index:1;inset-inline-end:calc(-1 * ",");inset-block-end:0;opacity:0;transition:opacity 0.3s;pointer-events:none;[dir='rtl'] &{background:linear-gradient(270deg,transparent,"," 75%);}","}}"],l.en,(0,d.oj)("backgroundBase"),(0,u.WU)("base","48px"),(0,u.WU)("base","48px"),f,(0,d.oj)("backgroundBase"),n&&(0,h.AH)(["opacity:1;"]),(0,d.oj)("backgroundBase"),(0,u.WU)("base","48px"),(0,u.WU)("base","48px"),f,(0,d.oj)("backgroundBase"),t&&(0,h.AH)(["opacity:1;"]))})),_=p.Ay.div.withConfig({displayName:"ChipGroup__ChipGroupComponent",componentId:"sc-guhg5z-1"})(["",""],(function(e){var t=e.$layout,n=e.$isEmpty;return(0,h.AH)(["display:flex;gap:"," ",";flex-wrap:",";align-items:center;overflow-x:auto;",";&::-webkit-scrollbar{display:none;}"],(0,u.po)("tighter","12px"),(0,u.po)("tighter-2","8px"),"multi-line"===t?"wrap":void 0,!n&&(0,h.AH)(["padding:",";margin:calc(-1 * ",");"],f,f))})),g=n(60721),E="ArrowLeft",v="ArrowRight";function y(e){var t,n=null===(t=document.activeElement)||void 0===t?void 0:t.getAttribute("data-encore-chip-id");return Array.from(null==e?void 0:e.keys()).findIndex((function(e){return e===n}))}function b(e,t){var n=Array.from(e.keys())[t];return e.get(n)}var S=n(63382),T=n(4297),A=n(83663),I=["mode","layout","children","onKeyDown","noItemsAssistiveText"];function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=a.forwardRef((function(e,t){var n=e.mode,i=e.layout,l=void 0===i?"single-line":i,u=e.children,d=e.onKeyDown,p=e.noItemsAssistiveText,h=void 0===p?"No items added":p,f=(0,r.A)(e,I),O=function(e){switch(e){case"single-select":return"radiogroup";case"navigation":return"navigation";default:return"group"}}(n),R=(0,a.useRef)(null),N=(0,a.useRef)(null),P=(0,a.useState)(!1),L=(0,o.A)(P,2),k=L[0],w=L[1],D=(0,a.useState)(!1),M=(0,o.A)(D,2),x=M[0],U=M[1],V=(0,a.useState)(new Map),F=(0,o.A)(V,2),B=F[0],H=F[1],G=(0,a.useState)(!1),W=(0,o.A)(G,2),j=W[0],Y=W[1];function z(e,t){if(t&&t(e),B&&("single-select"===n||"multi-select"===n)){var i=y(B),o=function(e,t,n){var i=0;switch(e.key){case E:return t-1<0?n-1:t-1;case v:return t+1>=n?0:t+1;default:return i}}(e,i,null==B?void 0:B.size),r=b(B,o);switch(e.key){case E:case v:e.preventDefault();var a=b(B,i);return null==r||r.focus(),null==r||r.scrollIntoView({block:"nearest",inline:"center",behavior:"smooth"}),null==a||a.setAttribute("tabIndex","-1"),void(null==r||r.setAttribute("tabIndex",""));default:return}}}var K=(0,a.useCallback)((function(){if(R.current&&"single-line"===l){var e=Math.abs(R.current.scrollLeft),t=R.current.offsetWidth,n=R.current.scrollWidth;w(e>0),U(e+t<n)}}),[R,l]),J=function(e){if(R.current){var t,n=R.current.scrollLeft,i=R.current.offsetWidth,o="start"===e?n-i/1.25:n+i/1.25;null===(t=R.current)||void 0===t||t.scrollTo({left:o,behavior:"smooth"})}},q=(0,A.Pv)(R);(0,a.useEffect)((function(){return window.addEventListener("resize",K),K(),function(){return window.removeEventListener("resize",K)}}),[K]),(0,a.useEffect)((function(){K()}),[u,K]),(0,a.useEffect)((function(){if(!B&&R.current){var e=new Map;H(e)}}),[B,R]),(0,a.useEffect)((function(){j||setTimeout((function(){Y(!0)}),1e3)}),[j]);var X=!B||0===B.size;return a.createElement(s.M,{config:{next:["chip"]}},a.createElement(g.r.Provider,{value:{chipItems:B,mode:n,handleOnRemove:function(){var e,t;if(B){var n,i=y(B),o=null===(e=b(B,i))||void 0===e?void 0:e.getAttribute("data-encore-chip-id"),r=function(e,t){if(-1===t)return-1;var n=t-1;if(n>-1)return n;var i=t+1;return i<e.size?i:-1}(B,i);if(-1===r)return null==N||null===(n=N.current)||void 0===n||n.focus(),void(o&&B.delete(o));null===(t=b(B,r))||void 0===t||t.focus(),o&&B.delete(o)}}}},a.createElement("div",{"aria-live":j?"polite":"off"},a.createElement(m,{$showStartOverflow:k,$showEndOverflow:x},a.createElement(T.D,{position:"start",show:k,onClick:function(e){e.preventDefault(),J(q?"start":"end")},"data-testid":"overflow-start-button"}),a.createElement(_,Object.assign({role:O,ref:(0,A.Px)([R,t]),onScroll:K,"data-encore-id":S.j.ChipGroup,onKeyDown:function(e){return z(e,d)},$layout:l,$isEmpty:"input"===n&&X},f),"multi-select"===n||"single-select"===n||"input"===n?a.Children.map(u,(function(e,t){return(0,a.isValidElement)(e)?(0,a.cloneElement)(e,C(C({"data-encore-chip-id":"chip-".concat(t)},(i=t,"single-select"===n||"multi-select"===n?{tabIndex:0===i?"":"-1"}:{})),e.props)):null;var i})):u),a.createElement(T.D,{position:"end",show:x,onClick:function(e){e.preventDefault(),J(q?"end":"start")},"data-testid":"overflow-end-button"})),h&&"input"===n&&a.createElement(c.s,{ref:N,tabIndex:-1,"data-testid":"no-items-label"},X&&h))))}))},65579:(e,t,n)=>{"use strict";n.d(t,{j:()=>S});var i=n(12867),o=n(59764),r=n(30758),a=n(63382),s=n(72973),c=n(20287),l=n(435),u=n(76578),d=u.Ay.div.withConfig({displayName:"Body",componentId:"sc-19u46fy-0"})([""," padding-inline-start:",";padding-inline-end:",";padding-block-end:",";overflow:auto;"],c._O,(0,l.po)("looser","20px"),(0,l.po)("looser","20px"),(0,l.po)("base","16px")),p=n(85687),h=n(39751),f=u.Ay.div.attrs({role:"dialog"}).withConfig({displayName:"Dialog",componentId:"sc-18qzfns-0"})(["",";",";padding-block-start:",";inline-size:335px;overflow-wrap:break-word;"],(0,p.W)(),(function(e){return(0,h.r3)({colorSet:e.$colorSet})}),(0,l.po)("base","16px")),m=n(6826),_=u.Ay.footer.withConfig({displayName:"Footer",componentId:"sc-1w1mf9b-0"})(["align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-block-start:",";padding-inline-start:",";padding-inline-end:",";padding-block-end:",";@media (max-width:","){justify-content:center;}& > div{display:flex;min-inline-size:0;@media (max-width:","){flex-direction:column;}}a,button{&:not(:first-child){margin-inline-start:",";}@media (max-width:","){margin-inline-start:0;margin-inline-end:0;margin-block-start:",";margin-block-end:",";&:not(:first-child){margin-inline-start:0;}}}"],(0,l.po)("tighter-4","4px"),(0,l.po)("looser","20px"),(0,l.po)("looser","20px"),(0,l.po)("tighter-2","8px"),m.eA,m.eA,(0,l.po)("looser-2","32px"),m.eA,(0,l.po)("tighter-4","4px"),(0,l.po)("tighter-4","4px")),g=n(12783),E=n(60386),v=(0,u.Ay)(g.E).attrs({forwardedAs:"h1",variant:"bodyMediumBold"}).withConfig({displayName:"Title",componentId:"sc-i526nw-0"})(["padding-block-end:",";padding-inline-start:",";padding-inline-end:",";",";"],(0,l.po)("tighter-2","8px"),(0,l.po)("looser","20px"),(0,l.po)("looser","20px"),(function(e){return e.$hasBorder&&(0,E.AH)(["border-block-end:1px solid var(--decorative-subdued,",");"],s.zQ[e.$colorSet].decorative.subdued)})),y=n(24163),b=["dialogTitle","dialogTitleId","id","body","footer","className","colorSet","aria-label"],S=r.forwardRef((function(e,t){var n=e.dialogTitle,c=e.dialogTitleId,l=e.id,u=e.body,p=e.footer,h=e.className,m=e.colorSet,g=void 0===m?"base":m,E=e["aria-label"],S=(0,o.A)(e,b),T=l&&"".concat(l,"-title")||c;n&&T||E||(0,y.R8)("Warning: The DialogAlert component must have dialogTitle and an id or an aria-label to be accessible.");var A=(0,r.useState)(!1),I=(0,i.A)(A,2),O=I[0],C=I[1],R=l&&"".concat(l,"-body");return r.createElement(f,Object.assign({ref:t,className:(0,s.Ju)(g,h),"aria-label":E,"aria-describedby":R,"aria-labelledby":!E&&n?T:void 0,id:l,$colorSet:g},S,{"data-encore-id":a.j.DialogAlert}),n&&r.createElement(v,{id:T,$hasBorder:O,$colorSet:g},n),r.createElement(d,{id:R,onScroll:function(e){return C(e.target instanceof HTMLElement&&0!==e.target.scrollTop)}},u),p&&r.createElement(_,null,p))}))},42154:(e,t,n)=>{"use strict";n.d(t,{Q:()=>T});var i=n(12867),o=n(59764),r=n(30758),a=n(63382),s=n(72973),c=n(6826),l=n(20287),u=n(435),d=n(76578),p=d.Ay.div.withConfig({displayName:"Body",componentId:"sc-1al2t0w-0"})([""," border-block-end:1px solid ",";overflow:auto;@media (max-width:","){padding-block-start:0;padding-block-end:",";padding-inline-start:",";padding-inline-end:",";}@media (min-width:","){padding-block-start:0;padding-block-end:",";padding-inline-start:",";padding-inline-end:",";}"],l._O,(function(e){return"var(--decorative-subdued, ".concat(s.zQ[e.$colorSet].decorative.subdued,")")}),c.en,(0,u.po)("looser","16px"),(0,u.po)("looser","20px"),(0,u.po)("looser","20px"),c.Dg,(0,u.po)("looser","24px"),(0,u.po)("looser","20px"),(0,u.po)("looser","20px")),h=n(39751),f=d.Ay.div.attrs({role:"dialog"}).withConfig({displayName:"Dialog",componentId:"sc-1o778i8-0"})(["",";width:600px;overflow-wrap:break-word;",":first-child{padding-block-start:",";}@media (min-width:","){",":last-child{padding-block-end:",";}}"],(function(e){return(0,h.r3)({colorSet:e.$colorSet})}),p,(0,u.po)("base","16px"),c.Dg,p,(0,u.po)("base","16px")),m=d.Ay.footer.withConfig({displayName:"Footer",componentId:"sc-1ory0pq-0"})(["align-items:center;display:flex;justify-content:flex-end;flex-shrink:0;flex-wrap:wrap;@media (max-width:","){padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";}@media (max-width:","){justify-content:center;}@media (min-width:","){padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";}& > div{@media (max-width:","){display:flex;flex-direction:column;}}& > *{min-width:0;}a,button{@media (max-width:","){margin-inline-start:",";}@media (max-width:","){margin-block-start:",";margin-block-end:",";margin-inline-start:0;margin-inline-end:0;}@media (min-width:","){margin-inline-start:",";}}"],c.en,(0,u.po)("tighter-2","8px"),(0,u.po)("tighter-2","8px"),(0,u.po)("looser","20px"),(0,u.po)("looser","20px"),c.eA,c.Dg,(0,u.po)("base","16px"),(0,u.po)("base","16px"),(0,u.po)("looser","20px"),(0,u.po)("looser","20px"),c.eA,c.en,(0,u.po)("base","16px"),c.eA,(0,u.po)("tighter-4","4px"),(0,u.po)("tighter-4","4px"),c.Dg,(0,u.po)("looser-3","40px")),_=n(12783),g=(0,d.Ay)(_.E).attrs({variant:"marginal"}).withConfig({displayName:"Legal",componentId:"sc-5ufqr3-0"})(["background:",";border-radius:",";color:",";display:",";max-width:100%;padding:",";@media (max-width:","){display:block;}a{margin-inline-start:0;}"],(function(e){return"var(--background-tinted-base, ".concat(s.zQ[e.$colorSet].background.tinted.base,")")}),(0,u.AN)("base","4px"),(function(e){return"var(--text-subdued, ".concat(s.zQ[e.$colorSet].text.subdued,")")}),(function(e){return e.$legalStrict?"block":"inline-block"}),(0,u.po)("tighter-2","8px"),c.en),E=n(60386),v=d.Ay.div.withConfig({displayName:"LegalContainer",componentId:"sc-k8tc6g-0"})(["flex:1;@media (max-width:","){flex-basis:100%;margin-block-start:",";margin-block-end:",";}@media (min-width:","){margin-block-start:calc(-1 * ",");margin-block-end:calc(-1 * ",");}",";"],c.en,(0,u.po)("tighter","12px"),(0,u.po)("looser","20px"),c.Dg,(0,u.po)("tighter-4","4px"),(0,u.po)("tighter-4","4px"),(function(e){return e.$legalStrict&&(0,E.AH)(["flex-basis:100%;@media (min-width:","){margin-block-end:",";}"],c.Dg,(0,u.po)("base","16px"))})),y=(0,d.Ay)(_.E).withConfig({displayName:"Title",componentId:"sc-7gi4ab-0"})(["padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";",";"],(0,u.po)("base","16px"),(0,u.po)("tighter-2","8px"),(0,u.po)("looser","20px"),(0,u.po)("looser","20px"),(function(e){return e.$hasBorder&&(0,E.AH)(["border-block-end:1px solid var(--decorative-subdued,",");"],s.zQ[e.$colorSet].decorative.subdued)})),b=n(24163),S=["dialogTitle","dialogTitleId","id","body","footer","legal","legalStrict","className","colorSet","aria-label"],T=r.forwardRef((function(e,t){var n=e.dialogTitle,c=e.dialogTitleId,l=e.id,u=e.body,d=e.footer,h=e.legal,_=e.legalStrict,E=e.className,T=e.colorSet,A=void 0===T?"base":T,I=e["aria-label"],O=(0,o.A)(e,S),C=l&&"".concat(l,"-title")||c;n&&C||I||(0,b.R8)("Warning: The DialogConfirmation component must have dialogTitle and an id or an aria-label to be accessible.");var R=l&&"".concat(l,"-body"),N=(0,r.useState)(!1),P=(0,i.A)(N,2),L=P[0],k=P[1];return r.createElement(f,Object.assign({ref:t,id:l,className:(0,s.Ju)(A,E),"aria-label":I,"aria-describedby":R,"aria-labelledby":!I&&n?C:void 0,$colorSet:A},O,{"data-encore-id":a.j.DialogConfirmation}),n&&r.createElement(y,{id:C,$hasBorder:L,$colorSet:A,"data-testid":"dialogTitle",variant:"bodyMediumBold",forwardedAs:"h1"},n),r.createElement(p,{id:R,$colorSet:A,onScroll:function(e){return k(e.target instanceof HTMLElement&&0!==e.target.scrollTop)}},u),(d||h)&&r.createElement(m,null,h&&r.createElement(v,{$legalStrict:_},r.createElement(g,{$colorSet:A,$legalStrict:_},h)),d))}))},14477:(e,t,n)=>{"use strict";n.d(t,{M:()=>c});var i=n(19484),o=n(30758),r=n(42712);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){var t=e.config,n=e.children,i=s(s({},r.fP),t);return o.createElement(r.i_.Provider,{value:i},n)}},64343:(e,t,n)=>{"use strict";n.d(t,{c:()=>b});var i=n(59764),o=n(30758),r=n(10018),a=n(63382),s=n(435),c=n(59623),l=n(73647),u=n(76578),d=u.Ay.div.withConfig({displayName:"Checkbox",componentId:"sc-svpvf6-0"})(["",";"],(0,l.N_)()),p=n(20287),h=n(72973),f=n(98184),m=n(60386),_=function(e){var t=(0,p.W1)(),n=t.dimension,i=t.position;return(0,m.AH)(["inline-size:",";block-size:",";top:",";left:",";"],"calc(100% + ".concat(n," + ").concat(2*e,"px)"),"calc(100% + ".concat(n," + ").concat(2*e,"px)"),"calc(".concat(i," - ").concat(e,"px)"),"calc(".concat(i," - ").concat(e,"px)"))},g=u.Ay.span.withConfig({displayName:"Indicator",componentId:"sc-1airx73-0"})(["",""],(function(e){var t=(0,m.AH)(["",";"," input + label &{background-color:",";}input:focus + label &::after{border-color:",";}"," input:active + label &{border-color:",";}"," input:disabled + label &{cursor:",";opacity:",";}"],(0,l.u$)("".concat(3,"px")),(0,p.X2)("".concat(3+p.tp,"px"),e.$isUsingKeyboard),(0,h.oj)(h.ZI.backgroundBase),(0,h.oj)(h.ZI.essentialBase),e.$isFocus&&(0,m.AH)(["&::after{border-color:",";}"],(0,h.oj)(h.ZI.essentialBase)),(0,h.oj)(e.$semanticColor),e.$isActive&&(0,m.AH)(["input + label &{border-color:",";}"],(0,h.oj)(e.$semanticColor)),f.zM,f.ok),n=(0,m.AH)(["input:not(:checked) + label &&{border:","px solid ",";}input:not(:checked):focus + label &::after{","}"," input:not(:checked):hover + label &{border-color:",";}"," input:not(:checked):active + label &{border-width:","px;border-color:",";}input:not(:checked):active:focus + label &::after{","}"," "," input:not(:checked):disabled + label &{background-color:",";border-color:",";border-width:","px;}"],1,(0,h.oj)(h.ZI.essentialSubdued),_(1),e.$isFocus&&(0,m.AH)(["input:not(:checked) + label &&::after{","}input:not(:checked):active + label &::after{","}"],_(1),_(2)),(0,h.oj)(e.$semanticColor),e.$isHover&&(0,m.AH)(["input:not(:checked) + label &&{border-color:",";}"],(0,h.oj)(e.$semanticColor)),2,(0,h.oj)(e.$semanticColor),_(2),e.$isActive&&(0,m.AH)(["input:not(:checked) + label &&{border-width:","px;border-color:",";}input:not(:checked):focus + label &::after{","}"],2,(0,h.oj)(e.$semanticColor),_(2)),e.$isActive&&e.$isFocus&&(0,m.AH)(["input:not(:checked) + label &::after{","}"],_(2)),(0,h.oj)(h.ZI.backgroundBase),(0,h.oj)(h.ZI.essentialSubdued),1),i=(0,m.AH)(["input:checked + label &&{background-color:",";border-width:0;&::before{box-sizing:border-box;background-color:unset;border-bottom:2px solid;border-left:2px solid;border-color:",";display:block;content:'';block-size:5px;inline-size:9px;position:absolute;top:46%;left:50%;transform:translate3d(-50%,-50%,0) rotate(-48deg);}}input:checked:disabled + label &{background-color:",";}"],(0,h.oj)(e.$semanticColor),(0,h.oj)(h.ZI.backgroundBase),(0,h.oj)(e.$semanticColor)),o=(0,m.AH)(["input + label &.Encore_indeterminate{background-color:",";border-width:0;&::before{background-color:",";content:'';block-size:0.15em;left:50%;position:absolute;top:51%;transform:translate(-50%,-50%);inline-size:0.5em;}}input:disabled + label &.Encore_indeterminate{background-color:",";}"],(0,h.oj)(e.$semanticColor),(0,h.oj)(h.ZI.backgroundBase),(0,h.oj)(e.$semanticColor));return(0,m.AH)(["",";"," "," ",""],t,!e.$indeterminate&&n,e.$indeterminate&&o,i)})),E=u.Ay.label.withConfig({displayName:"Label",componentId:"sc-cpoq-0"})(["display:flex;position:relative;min-inline-size:0;"]),v=u.Ay.span.withConfig({displayName:"TextForLabel",componentId:"sc-1jqya9m-0"})(["position:relative;top:-2px;color:",";overflow-wrap:break-word;min-inline-size:0;"," padding-inline-start:",";padding-inline-end:",";input:disabled + label &{cursor:",";opacity:",";}"],(0,h.oj)(h.ZI.textBase),(function(e){return"small"===e.$size&&(0,m.AH)(["top:0;"])}),(0,s.po)("tighter","12px"),(0,s.po)("looser","24px"),f.zM,f.ok),y=["small","size","indeterminate","id","children","semanticColor","isHover","isFocus","isActive"],b=o.forwardRef((function(e,t){var n=e.small,l=e.size,u=void 0===l?"medium":l,p=e.indeterminate,h=e.id,f=e.children,m=e.semanticColor,_=void 0===m?"essentialBrightAccent":m,b=e.isHover,S=e.isFocus,T=e.isActive,A=(0,i.A)(e,y),I=(0,o.useContext)(r.E).isUsingKeyboard;return o.createElement(d,{"data-encore-id":a.j.FormCheckbox},o.createElement(c.s,Object.assign({component:"input",type:"checkbox",ref:t,id:h},A)),o.createElement(E,{htmlFor:h},o.createElement(g,{className:p?"Encore_indeterminate":"",$indeterminate:p,$isUsingKeyboard:I,$semanticColor:_,$isHover:b,$isFocus:S,$isActive:T}),f&&o.createElement(v,{className:n||"small"===u?(0,s.W3)("marginal"):(0,s.W3)("bodySmall"),$size:n?"small":u},f)))}))},24538:(e,t,n)=>{"use strict";n.d(t,{g:()=>A});var i=n(59764),o=n(30758),r=n(63382),a=n(59623),s=n(85687),c=n(435),l=n(76578),u=n(60386),d=l.Ay.div.withConfig({displayName:"Group",componentId:"sc-u9bcx5-0"})(["",";padding-block-end:",";",";"],(0,s.W)(),(0,c.po)("looser","24px"),(function(e){return"fieldset"===e.as&&(0,u.AH)(["min-inline-size:0;padding-inline-start:0;padding-inline-end:0;padding-block-start:0;margin:0;border:0;"])})),p=n(6826),h=n(72973),f=l.Ay.span.withConfig({displayName:"IndicatorText",componentId:"sc-7u3ecx-0"})(["color:",";padding-inline-start:",";@media (max-width:","){flex:1;}"],(0,h.oj)(h.ZI.textSubdued),(0,c.po)("tighter-4","4px"),p.en),m=l.Ay.div.withConfig({displayName:"InlineGroup",componentId:"sc-4o5aq4-0"})(["display:flex;flex-wrap:wrap;"]),_=l.Ay.label.withConfig({displayName:"Label",componentId:"sc-1c0cv3r-0"})(["color:",";"],(0,h.oj)(h.ZI.textBase)),g=n(65027),E=l.Ay.div.withConfig({displayName:"LabelGroup",componentId:"sc-1ibddrg-0"})(["",";align-items:center;display:flex;inline-size:100%;padding-block-end:",";@media (max-width:","){justify-content:space-between;}",";",";"],(0,s.W)(),(0,c.po)("tighter-2","8px"),p.en,(function(e){return"legend"===e.as&&(0,u.AH)(["padding-inline-start:0;padding-inline-end:0;"])}),(function(e){return e.$isHidden&&(0,u.AH)(["",""],(0,g.Q)())})),v=l.Ay.span.withConfig({displayName:"LabelInner",componentId:"sc-19pye2k-0"})(["display:inline-block;"]),y=l.Ay.span.withConfig({displayName:"Popover",componentId:"sc-19tjcmc-0"})(["display:inline-flex;margin-inline-start:",";"],(0,c.po)("tighter-4","4px")),b=l.Ay.span.withConfig({displayName:"Required",componentId:"sc-7zzom7-0"})(["color:",";border-block-end:0;text-decoration:none;padding-inline-start:",";@media (max-width:","){flex:1;}"],(0,h.oj)(h.ZI.textNegative),(0,c.po)("tighter-4","4px"),p.en),S=["withFieldset","children","indicator","inline","label","labelFor","hideLabel","popover","optionalIndicatorText","requiredIndicatorTextForScreenReader"],T=function(e,t,n){switch(e){case"optional":return o.createElement(f,null,t);case"required":return o.createElement(o.Fragment,null,o.createElement(b,{"aria-hidden":"true"},"*"),o.createElement(a.s,null,n));default:return o.createElement(f,null,"(",e,")")}},A=function(e){var t=e.withFieldset,n=e.children,a=e.indicator,s=e.inline,l=e.label,u=e.labelFor,p=e.hideLabel,h=e.popover,f=e.optionalIndicatorText,g=void 0===f?"(Optional)":f,b=e.requiredIndicatorTextForScreenReader,A=void 0===b?"(required)":b,I=(0,i.A)(e,S);return o.createElement(d,Object.assign({as:t?"fieldset":void 0},I,{"data-encore-id":r.j.FormGroup}),l&&o.createElement(E,{as:t?"legend":void 0,$isHidden:!!p,className:(0,c.W3)("bodySmallBold")},t?o.createElement("span",null,l,a&&T(a,g,A)):o.createElement(_,{htmlFor:u},o.createElement(v,null,l,a&&T(a,g,A))),h&&o.createElement(y,null,h)),s?o.createElement(m,null,n):n)}},31419:(e,t,n)=>{"use strict";n.d(t,{N:()=>g});var i=n(59764),o=n(30758),r=n(97500),a=n(63382),s=n(85687),c=n(435),l=n(72973),u=n(76578),d=n(60386),p=u.Ay.div.withConfig({displayName:"Help",componentId:"sc-1xezfve-0"})(["",";display:flex;margin-block-start:",";",""],(0,s.W)(),(0,c.po)("tighter-2","8px"),(function(e){return(0,d.AH)(["color:",";",";"],e.$error?(0,l.oj)(l.ZI.textNegative):(0,l.oj)(l.ZI.textSubdued),e.$maxChars&&(0,d.AH)(["font-feature-settings:'tnum';justify-content:flex-end;"]))})),h=n(68637),f=(0,u.Ay)(h.b).attrs({size:"small"}).withConfig({displayName:"IconExclamationCircleForText",componentId:"sc-1lnefk5-0"})(["block-size:1.25rem;margin-inline-end:",";flex-shrink:0;"],(0,c.po)("tighter-4","4px")),m=u.Ay.span.withConfig({displayName:"Text",componentId:"sc-g5kv67-0"})(["min-inline-size:0;overflow-wrap:break-word;"]),_=["error","maxChars","children","errorAriaLabel"],g=function(e){var t=e.error,n=e.maxChars,s=e.children,l=e.errorAriaLabel,u=void 0===l?"Error:":l,d=(0,i.A)(e,_);return o.createElement(p,Object.assign({$error:t,$maxChars:n},d,{className:r((0,c.W3)("bodySmall"),d.className),"data-encore-id":a.j.FormHelpText}),t&&o.createElement(f,{"aria-label":u}),o.createElement(m,null,s))}},75070:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var i=n(6826),o=n(73647),r=n(85687),a=n(435),s=n(76578),c=n(60386),l=s.Ay.input.withConfig({displayName:"Input",componentId:"sc-1gbx9xe-0"})(["",""],(function(e){var t=e.$size,n=e.$isUsingKeyboard,s=e.$isHover,l=e.$isFocus,u=e.$error,d=e.$useBrowserDefaultFocusStyle;return(0,c.AH)(["",";",";margin-block-start:0;margin-block-end:0;border-radius:",";padding-inline-start:",";padding-inline-end:",";padding-block-start:",";padding-block-end:",";min-block-size:",";",";&[type='date'],&[type='month'],&[type='time'],&[type='week']{@media (min-width:","){padding-block-end:",";}}&[type='color']{@media (max-width:","){padding:0;border-block-end:0;&:focus,&:hover:focus{padding:0;}@media not all and (resolution >= 0.001dpcm){@supports (-webkit-appearance:none){border-block-end:1px solid;padding-block-start:10px;padding-block-end:9px;&:focus,&:hover:focus{padding-block-start:10px;padding-block-end:",";border-block-end-width:2px;}}}}@media (min-width:","){padding:",";block-size:",";inline-size:",";@media not all and (resolution >= 0.001dpcm){@supports (-webkit-appearance:none){inline-size:100%;padding:14px;}}}}&[type='file']{padding-inline-start:0;padding-inline-end:0;padding-block-start:",";padding-block-end:0;line-height:17px;@media (max-width:","){border-block-end:0;}@media (min-width:","){box-shadow:none;}&:focus,&:hover:focus{@media (min-width:","){box-shadow:none;}}}&[type='search']::-webkit-search-cancel-button{display:none;}"],(0,o.x4)(d),(0,r.W)(),(0,a.AN)("base","4px"),(0,o.zu)(t),(0,o.zu)(t),(0,o.lz)(t),(0,o.lz)(t),(0,a.WU)((0,a.q7)(t),a.B6[t]),(0,o.Hb)({isUsingKeyboard:n,isHover:s,isFocus:l,error:u,useBrowserDefaultFocusStyle:d}),i.Dg,(0,a.po)("tighter","12px"),i.en,(0,a.po)("tighter-2","8px"),i.Dg,(0,a.po)("tighter-4","4px"),(0,a.WU)("base","48px"),(0,a.WU)("base","48px"),(0,a.po)("tighter-2","8px"),i.en,i.Dg,i.Dg)}))},13094:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var i=n(59764),o=n(30758),r=n(97500),a=n(56504),s=n(10018),c=n(63382),l=n(75070),u=n(435),d=["error","size","isHover","isFocus","className"],p=o.forwardRef((function(e,t){var n=e.error,p=e.size,h=void 0===p?"medium":p,f=e.isHover,m=e.isFocus,_=e.className,g=(0,i.A)(e,d),E=(0,o.useContext)(s.E).isUsingKeyboard,v=(0,o.useContext)(a.g).useBrowserDefaultFocusStyle;return o.createElement(l.p,Object.assign({ref:t,$isUsingKeyboard:E,$useBrowserDefaultFocusStyle:v,$size:h,$error:n,$isHover:f,$isFocus:m,"aria-invalid":n,className:r("small"===h?(0,u.W3)("bodySmall"):(0,u.W3)("bodyMedium"),_),"data-encore-id":c.j.FormInput},g))}))},58406:(e,t,n)=>{"use strict";n.d(t,{E:()=>v});var i=n(59764),o=n(30758),r=n(63382),a=n(72973),s=n(98184),c=n(93019),l=n(60386),u=n(76578);var d=u.Ay.div.withConfig({displayName:"IconContainer",componentId:"sc-1oa4n9m-0"})(["position:absolute;top:50%;transform:translateY(-50%);display:flex;color:",";input:disabled + &,input[readonly] + &{box-shadow:inset 0 0 0 1px ",";opacity:",";}"," ","{display:block;}"],(0,a.oj)(a.ZI.textSubdued),(0,a.oj)(a.ZI.essentialSubdued),s.ok,(function(e){var t,n,i,o=e.$position;return n="trailing"===(t=o)?"right":"left",i="trailing"===t?"left":"right",(0,l.AH)(["",":12px;[dir='rtl'] &&{",":auto;",":12px;}"],n,n,i)}),c.B);function p(e){var t=e.iconLeading;return t?o.createElement(d,{$position:"leading"},t):null}function h(e){var t=e.iconTrailing;return t?o.createElement(d,{$position:"trailing"},t):null}var f=n(435),m=n(75070),_="calc( 24px + ".concat((0,f.po)("tighter","12px")," * 2)"),g=u.Ay.div.withConfig({displayName:"InputContainer",componentId:"sc-a5ofs0-0"})(["position:relative;width:100%;",""],(function(e){var t=e.$iconLeading,n=e.$iconTrailing;return(t||n)&&(0,l.AH)(["","{"," "," [dir='rtl'] &{padding-left:",";padding-right:",";}@media not all and (resolution >= 0.001dpcm){@supports (-webkit-appearance:none){"," "," [dir='rtl'] &{padding-left:",";padding-right:",";}}}","}"],m.p,t&&"padding-left: ".concat(_,";"),n&&"padding-right: ".concat(_,";"),n?_:"14px",t?_:"14px",t&&"padding-left: 38px;",n&&"padding-right: 38px;",n?"38px":_,t?"38px":_,n&&(0,l.AH)(["&::-ms-clear{display:none;}"]))})),E=["iconLeading","iconTrailing","children"],v=function(e){var t=e.iconLeading,n=e.iconTrailing,a=e.children,s=(0,i.A)(e,E);return o.createElement(g,Object.assign({$iconLeading:t,$iconTrailing:n},s,{"data-encore-id":r.j.FormInputIcon}),t&&o.createElement(p,{"aria-hidden":"true",iconLeading:t}),a,n&&o.createElement(h,{"aria-hidden":"true",iconTrailing:n}))}},72775:(e,t,n)=>{"use strict";n.d(t,{M:()=>b});var i=n(59764),o=n(30758),r=n(10018),a=n(63382),s=n(59623),c=n(72973),l=n(435),u=n(98184),d=n(73647),p=n(20287),h=n(76578),f=n(60386),m=h.Ay.span.withConfig({displayName:"Indicator",componentId:"sc-hjfusp-0"})(["",""],(function(e){var t=(0,f.AH)(["background-color:",";border:"," solid ",";"],(0,c.oj)(c.ZI.backgroundBase),(0,l.iX)("hairline","1px"),(0,c.oj)(c.ZI.essentialSubdued)),n=(0,f.AH)(["background:",";&::before{background-color:",";border-radius:50%;content:'';block-size:0.5em;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);inline-size:0.5em;}"],(0,c.oj)(e.$semanticColor),(0,c.oj)(c.ZI.backgroundBase)),i=(0,f.AH)(["opacity:",";cursor:",";"],u.ok,u.zM),o=(0,f.AH)(["&::after{border-color:",";}"],(0,c.oj)(c.ZI.essentialBase)),r=(0,f.AH)(["border-color:",";"],(0,c.oj)(e.$semanticColor)),a=(0,f.AH)(["border-color:",";border-width:",";"],(0,c.oj)(e.$semanticColor),(0,l.iX)("thin","2px")),s=(0,f.AH)(["border-color:",";border-width:",";"],(0,c.oj)(c.ZI.essentialSubdued),(0,l.iX)("hairline","1px"));return(0,f.AH)(["",";"," input:focus + label &&{","}"," input:disabled + label &&{","}input:checked + label &&{","}input:not(:checked) + label &&{","}input:not(:checked):hover + label &&{","}"," input:not(:checked):active + label &&{","}"," input:not(:checked):disabled + label &&{","}"],(0,d.u$)("50%"),(0,p.X2)("50%",e.$isUsingKeyboard),o,e.$isFocus&&(0,f.AH)(["input + label &&{","}"],o),i,n,t,r,e.$isHover&&(0,f.AH)(["input:not(:checked) + label &&{","}"],r),a,e.$isActive&&(0,f.AH)(["input:not(:checked) + label &&{","}"],a),s)})),_=h.Ay.label.withConfig({displayName:"Label",componentId:"sc-17gd8mo-0"})(["display:flex;position:relative;min-inline-size:0;"]),g=h.Ay.div.withConfig({displayName:"Radio",componentId:"sc-tr5kfi-0"})(["",";"],(0,d.N_)()),E=n(12783),v=(0,h.Ay)(E.E).attrs({variant:"bodySmall"}).withConfig({displayName:"TextForLabel",componentId:"sc-1wen0a8-0"})(["position:relative;top:-2px;color:",";padding-inline-start:",";padding-inline-end:",";min-inline-size:0;overflow-wrap:break-word;input:disabled + label &{cursor:",";opacity:",";}"],(0,c.oj)(c.ZI.textBase),(0,l.po)("tighter","12px"),(0,l.po)("looser","24px"),u.zM,u.ok),y=["id","children","semanticColor","isHover","isFocus","isActive"],b=o.forwardRef((function(e,t){var n=e.id,c=e.children,l=e.semanticColor,u=void 0===l?"essentialBrightAccent":l,d=e.isHover,p=e.isFocus,h=e.isActive,f=(0,i.A)(e,y),E=(0,o.useContext)(r.E).isUsingKeyboard;return o.createElement(g,{"data-encore-id":a.j.FormRadio},o.createElement(s.s,Object.assign({component:"input",type:"radio",ref:t,id:n},f)),o.createElement(_,{htmlFor:n},o.createElement(m,{$isUsingKeyboard:E,$semanticColor:u,$isHover:d,$isFocus:p,$isActive:h}),c&&o.createElement(v,null,c)))}))},60354:(e,t,n)=>{"use strict";n.d(t,{F:()=>S});var i=n(59764),o=n(30758),r=n(97500),a=n(56504),s=n(10018),c=n(63382),l=n(72973),u=n(31323),d=n(435),p=n(73647),h=n(76578),f=n(60386),m=function(e){return"small"===e?(0,d.po)("tighter-3","6px"):(0,d.po)("tighter","12px")},_=h.Ay.button.withConfig({displayName:"Button",componentId:"sc-nfsrja-0"})(["",""],(function(e){var t=e.$size,n=e.$useBrowserDefaultFocusStyle,i=e.$isUsingKeyboard,o=e.$isHover,r=e.$isFocus,a=e.$error;return(0,f.AH)(["",";text-align:start;overflow-wrap:break-word;min-block-size:",";border-radius:",";padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:calc((2 * ",") + ",");",";"],(0,p.x4)(n),"small"===t?(0,d.WU)("smaller",d.B6.small):(0,d.WU)("base",d.B6.medium),(0,d.AN)("base","4px"),m(t),m(t),m(t),m(t),"small"===t?(0,d.Jk)("smaller","decorative","16px"):(0,d.Jk)("base","decorative","24px"),(0,p.Hb)({isUsingKeyboard:i,isHover:o,isFocus:r,error:a,useBrowserDefaultFocusStyle:n}))})),g=(0,h.Ay)(u.r).withConfig({displayName:"Arrow",componentId:"sc-1slzr1b-0"})(["",""],(function(e){var t=e.size;return(0,f.AH)(["color:",";pointer-events:none;position:absolute;right:",";[dir='rtl'] &{left:",";right:auto;}"],(0,l.oj)(l.ZI.essentialSubdued),m(t),m(t))})),E=n(85687),v=h.Ay.div.withConfig({displayName:"Container",componentId:"sc-1yf4tyt-0"})(["",";position:relative;inline-size:100%;display:flex;align-items:center;"],(0,E.W)()),y=(0,h.Ay)(_).withConfig({displayName:"Select",componentId:"sc-3qvhho-0"})(["",""],(function(e){var t=e.$size;return(0,f.AH)(["appearance:none;margin-block-start:0;margin-block-end:0;text-indent:0.01px;text-overflow:'';&::-ms-expand{display:none;}block-size:",";min-block-size:unset;"],"small"===t?(0,d.WU)("smaller",d.B6.small):(0,d.WU)("base",d.B6.medium))})),b=["size","error","isHover","isFocus","className"],S=o.forwardRef((function(e,t){var n=e.size,l=void 0===n?"medium":n,u=e.error,p=e.isHover,h=e.isFocus,f=e.className,m=(0,i.A)(e,b),_=(0,o.useContext)(s.E).isUsingKeyboard,E=(0,o.useContext)(a.g).useBrowserDefaultFocusStyle;return o.createElement(v,{"data-encore-id":c.j.FormSelect},o.createElement(y,Object.assign({as:"select",ref:t,className:r("small"===l?(0,d.W3)("bodySmall"):(0,d.W3)("bodyMedium"),f),$isUsingKeyboard:_,$useBrowserDefaultFocusStyle:E,$size:l,"aria-invalid":u,$error:u,$isHover:p,$isFocus:h},m)),o.createElement(g,{size:l}))}))},59820:(e,t,n)=>{"use strict";n.d(t,{h:()=>f});var i=n(59764),o=n(30758),r=n(97500),a=n(56504),s=n(10018),c=n(63382),l=n(73647),u=n(85687),d=n(435),p=n(76578).Ay.textarea.withConfig({displayName:"Textarea",componentId:"sc-7bfmzb-0"})(["",";",";margin-block-start:0;margin-block-end:0;border-radius:",";padding:",";",";"],(function(e){return(0,l.x4)(e.$useBrowserDefaultFocusStyle)}),(0,u.W)(),(0,d.AN)("base","4px"),(function(e){return"small"===e.$size?(0,d.po)("tighter-2","8px"):"".concat((0,d.po)("tighter","12px")," ").concat((0,d.po)("base","16px"))}),(function(e){return(0,l.Hb)({isUsingKeyboard:e.$isUsingKeyboard,isHover:e.$isHover,isFocus:e.$isFocus,error:e.$error,useBrowserDefaultFocusStyle:e.$useBrowserDefaultFocusStyle})})),h=["size","error","isHover","isFocus","className"],f=o.forwardRef((function(e,t){var n=e.size,l=void 0===n?"medium":n,u=e.error,f=e.isHover,m=e.isFocus,_=e.className,g=(0,i.A)(e,h),E=(0,o.useContext)(s.E).isUsingKeyboard,v=(0,o.useContext)(a.g).useBrowserDefaultFocusStyle;return o.createElement(p,Object.assign({ref:t,className:r("small"===l?(0,d.W3)("bodySmall"):(0,d.W3)("bodyMedium"),_),"aria-invalid":u,$isUsingKeyboard:E,$useBrowserDefaultFocusStyle:v,$size:l,$isHover:f,$isFocus:m,$error:u,"data-encore-id":c.j.FormTextarea},g))}))},26700:(e,t,n)=>{"use strict";n.d(t,{X:()=>y});var i=n(59764),o=n(30758),r=n(10018),a=n(63382),s=n(435),c=n(59623),l=n(73647),u=n(76578),d=u.Ay.label.withConfig({displayName:"Checkbox",componentId:"sc-jka46s-0"})(["",";"],(0,l.N_)()),p=n(72973),h=u.Ay.span.withConfig({displayName:"Indicator",componentId:"sc-acu4qz-0"})(["background:",";border-radius:inherit;block-size:12px;position:absolute;top:2px;inline-size:12px;transition:all 0.1s ease;"],(0,p.oj)(p.ZI.backgroundBase)),f=n(98184),m=u.Ay.span.withConfig({displayName:"Label",componentId:"sc-1sbwovc-0"})(["color:",";padding-inline-start:",";padding-inline-end:",";min-inline-size:0;overflow-wrap:break-word;input:disabled ~ &&{cursor:",";opacity:",";}"],(0,p.oj)(p.ZI.textBase),(0,s.po)("tighter","12px"),(0,s.po)("looser","24px"),f.zM,f.ok),_=n(20287),g=n(60386),E=u.Ay.span.withConfig({displayName:"Wrapper",componentId:"sc-16y5c87-0"})(["",""],(function(e){var t=(0,g.AH)(["background-color:",";","{right:2px;left:auto;[dir='rtl'] &{right:auto;left:2px;}}"],(0,p.oj)(e.$semanticColor),h),n=(0,g.AH)(["background-color:",";","{left:2px;right:auto;[dir='rtl'] &{right:2px;left:auto;}}"],(0,p.oj)(p.ZI.essentialSubdued),h),i=(0,g.AH)(["&::after{border-color:",";}"],(0,p.oj)(p.ZI.essentialBase)),o=(0,g.AH)(["opacity:",";","{inline-size:20px;}"],f.kX,h),r=(0,g.AH)(["opacity:",";cursor:",";"],f.ok,f.zM);return(0,g.AH)(["border-radius:","px;block-size:16px;position:relative;min-inline-size:",";",";input:focus ~ &&{","}"," input:active ~ &&{","}"," input:disabled ~ &&{","}input:not(:checked) ~ &&{","}input:checked ~ &&{","}"],11,"30px",(0,_.X2)("".concat(11+_.tp,"px"),e.$isUsingKeyboard),i,e.$isFocus&&(0,g.AH)(["input ~ &&{","}"],i),o,e.$isActive&&(0,g.AH)(["input ~ &&{","}"],o),r,n,t)})),v=["small","size","children","semanticColor","isFocus","isActive"],y=o.forwardRef((function(e,t){var n=e.small,l=e.size,u=e.children,p=e.semanticColor,f=void 0===p?"essentialBrightAccent":p,_=e.isFocus,g=e.isActive,y=(0,i.A)(e,v),b=(0,o.useContext)(r.E).isUsingKeyboard;return o.createElement(d,{"data-encore-id":a.j.FormToggle},o.createElement(c.s,Object.assign({component:"input",type:"checkbox",ref:t},y)),o.createElement(E,{$isUsingKeyboard:b,$semanticColor:f,$isFocus:_,$isActive:g},o.createElement(h,null)),u&&o.createElement(m,{className:n||"small"===l?(0,s.W3)("marginal"):(0,s.W3)("bodySmall")},u))}))},27844:(e,t,n)=>{"use strict";n.d(t,{d:()=>d});var i=n(69469),o=n(95265),r=n(30758),a=n(63382),s=n(85687),c=n(72973),l=n(435),u=n(76578).Ay.hr.withConfig({displayName:"HorizontalRule__HorizontalRuleElement",componentId:"sc-198gjx4-0"})(["",";border:0;border-block-start:1px solid ",";margin-block-end:",";margin-block-start:",";"],(0,s.W)(),(0,c.oj)(c.ZI.decorativeSubdued),(0,l.po)("looser","24px"),(0,l.po)("looser","24px")),d=function(e){var t=(0,o.A)({},((0,i.A)(e),e));return r.createElement(u,Object.assign({},t,{"data-encore-id":a.j.HorizontalRule}))}},93019:(e,t,n)=>{"use strict";n.d(t,{B:()=>u});var i=n(72973),o=n(435),r=n(96157),a=n(76578),s=n(60386),c={xsmall:"smaller-2",small:"smaller",medium:"base",large:"larger",xlarge:"larger-3",xxlarge:"larger-4"},l=function(e){return isNaN(Number(e))?e:"".concat(e,"px")},u=a.Ay.svg.withConfig({displayName:"Svg",componentId:"sc-ytk21e-0"})(["*{vector-effect:non-scaling-stroke;}"," "," width:",";height:",";"],(function(e){return e.$autoMirror&&(0,s.AH)(["[dir='rtl'] &&{transform:scaleX(-1);}"])}),(function(e){return e.$iconColor?(0,s.AH)(["fill:",";"],(0,i.oj)(e.$iconColor)):(0,s.AH)(["fill:currentcolor;"])}),(function(e){var t=e.$width,n=e.$size,i=e.$tokenType,a=void 0===i?"decorative":i;return t?l(t):(0,o.Jk)(c[n],a,"".concat(r.$Z[n],"px"))}),(function(e){var t=e.$height,n=e.$size,i=e.$tokenType,a=void 0===i?"decorative":i;return t?l(t):(0,o.Jk)(c[n],a,"".concat(r.$Z[n],"px"))}))},6361:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zM0 8a8 8 0 1116 0A8 8 0 010 8z'/><path d='M7.25 12.026v-1.5h1.5v1.5h-1.5zm.884-7.096A1.125 1.125 0 007.06 6.39l-1.431.448a2.625 2.625 0 115.13-.784c0 .54-.156 1.015-.503 1.488-.3.408-.7.652-.973.818l-.112.068c-.185.116-.26.203-.302.283-.046.087-.097.245-.097.57h-1.5c0-.47.072-.898.274-1.277.206-.385.507-.645.827-.846l.147-.092c.285-.177.413-.257.526-.41.169-.23.213-.397.213-.602 0-.622-.503-1.125-1.125-1.125z'/>"},{size:24,svgContent:"<path d='M12.156 7.65a1.5 1.5 0 00-1.432 1.948l-1.909.597a3.5 3.5 0 116.84-1.045c.001.72-.207 1.353-.67 1.984-.4.544-.933.869-1.298 1.09l-.148.091c-.247.155-.346.27-.403.378-.062.115-.13.326-.13.76V14h-2v-.547c0-.628.096-1.198.366-1.703.274-.514.675-.86 1.102-1.128l.197-.123c.38-.236.55-.343.7-.547.225-.306.285-.53.285-.803a1.5 1.5 0 00-1.5-1.5zM11 18v-2h2v2h-2z'/><path d='M12 3a9 9 0 100 18 9 9 0 000-18zM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12z'/>"}],e.iconSize||24),c=e.autoMirror||!1;return i.createElement(o.In,Object.assign({},e,{autoMirror:c,viewBox:"0 0 ".concat(s.size," ").concat(s.size),dangerouslySetInnerHTML:{__html:"".concat((r=e.title,a=e.titleId,r?"<title ".concat(a?'id="'.concat(a,'"'):"",">").concat(r,"</title>"):"")).concat((t=e.desc,n=e.descId,t?"<desc ".concat(n?'id="'.concat(n,'"'):"",">").concat(t,"</desc>"):"")).concat(s.svgContent)}}))}},17681:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.765 1.423c-.42.459-.713.992-.903 1.554-.144.421-.264 1.173-.22 1.894.077 1.321.638 2.408 1.399 3.316v.002l.083.098c.611.293 1.16.696 1.621 1.183a2.244 2.244 0 0 0-.426-2.092l-.127-.153-.002-.001c-.612-.73-.997-1.52-1.051-2.442-.032-.54.066-1.097.143-1.323a2.85 2.85 0 0 1 .589-1.022 2.888 2.888 0 0 1 4.258 0c.261.284.456.628.59 1.022.076.226.175.783.143 1.323-.055.921-.44 1.712-1.052 2.442l-.002.001-.127.153a2.25 2.25 0 0 0 .603 3.39l2.209 1.275a3.248 3.248 0 0 1 1.605 2.457h-5.99a5.466 5.466 0 0 1-.594 1.5h8.259l-.184-1.665a4.75 4.75 0 0 0-2.346-3.591l-2.209-1.275a.75.75 0 0 1-.201-1.13l.126-.152h.001c.76-.909 1.32-1.995 1.399-3.316.043-.721-.077-1.473-.22-1.894a4.46 4.46 0 0 0-.644-1.24v-.002h-.002a4.388 4.388 0 0 0-6.728-.312zM2 12.5v-2h1.5v2h2V14h-2v2H2v-2H0v-1.5h2z'/>"},{size:24,svgContent:"<path d='M4.99 3h2.993v2H4.99v3H2.994V5H0V3h2.994V0h1.995v3zm7.288-.533a5.494 5.494 0 0 1 6.275 1.322 5.467 5.467 0 0 1 1.133 1.953c.18.532.33 1.474.277 2.378-.098 1.659-.8 3.02-1.749 4.156l-.432.52a.5.5 0 0 0 .134.752l3.59 2.077A5.002 5.002 0 0 1 24 19.955V22H4.99v-2.045a5 5 0 0 1 2.494-4.33l3.59-2.077a.5.5 0 0 0 .133-.753l-.43-.518-.002-.001c-.949-1.135-1.65-2.497-1.749-4.156-.053-.904.097-1.846.277-2.378a5.468 5.468 0 0 1 1.133-1.953 5.505 5.505 0 0 1 1.842-1.322zM14.494 4a3.503 3.503 0 0 0-2.586 1.14 3.47 3.47 0 0 0-.715 1.245c-.092.272-.213.954-.174 1.617.066 1.124.536 2.092 1.287 2.99l.001.002.433.52a2.503 2.503 0 0 1-.669 3.767l-3.589 2.076a3.001 3.001 0 0 0-1.497 2.598V20h15.02v-.045a3.002 3.002 0 0 0-1.498-2.598l-3.589-2.076a2.503 2.503 0 0 1-.669-3.766l.433-.52.002-.003c.75-.898 1.22-1.866 1.287-2.99.039-.663-.082-1.345-.174-1.617-.163-.48-.4-.9-.715-1.245A3.51 3.51 0 0 0 14.494 4z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},24944:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M12 8.75H4v-1.5h8v1.5z'/>"},{size:24,svgContent:"<path d='M16.999 11h-10v2h10v-2z'/><path d='M11.999 1c-6.075 0-11 4.925-11 11s4.925 11 11 11 11-4.925 11-11-4.925-11-11-11zm-9 11a9 9 0 1 1 18 0 9 9 0 0 1-18 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},88068:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m8.235 3.569 1.11-1.11a3.012 3.012 0 1 1 4.261 4.26L11.464 8.86a3.012 3.012 0 0 1-4.907-.96 1.49 1.49 0 0 0-.952.436l-.351.351a4.524 4.524 0 0 0 7.279 1.242l2.142-2.143A4.524 4.524 0 1 0 8.277 1.39L6.292 3.373a6.063 6.063 0 0 1 1.943.195z'/><path d='m7.765 12.56-1.11 1.11a3.013 3.013 0 0 1-4.261-4.26l2.142-2.142a3.012 3.012 0 0 1 4.907.96 1.49 1.49 0 0 0 .952-.436l.351-.351a4.524 4.524 0 0 0-7.279-1.242L1.325 8.342a4.524 4.524 0 1 0 6.398 6.397l1.985-1.984a6.064 6.064 0 0 1-1.943-.195z'/>"},{size:24,svgContent:"<path d='m13.78 4.582-1.469 1.47a8.022 8.022 0 0 0-2.57-.258l2.626-2.626a5.986 5.986 0 0 1 8.465 8.465l-2.835 2.835a5.986 5.986 0 0 1-9.63-1.643l.464-.465c.351-.35.8-.543 1.26-.576a3.986 3.986 0 0 0 6.492 1.27l2.835-2.835a3.986 3.986 0 1 0-5.637-5.637z'/><path d='m10.22 19.418 1.469-1.47c.84.225 1.708.311 2.57.258l-2.626 2.626a5.986 5.986 0 1 1-8.465-8.466l2.835-2.834a5.986 5.986 0 0 1 9.63 1.643l-.464.464a1.97 1.97 0 0 1-1.26.577 3.986 3.986 0 0 0-6.492-1.27l-2.835 2.835a3.986 3.986 0 1 0 5.637 5.637z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},74765:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.25-5v7h1.5V3h-1.5zm0 8.526v1.5h1.5v-1.5h-1.5z'/>"},{size:24,svgContent:"<path d='M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm10 5v2h2v-2h-2zm0-11v9h2V6h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},72481:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1.75 1A1.75 1.75 0 0 0 0 2.75v11.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0 0 16 14.25v-9.5A1.75 1.75 0 0 0 14.25 3H7.82l-.65-1.125A1.75 1.75 0 0 0 5.655 1H1.75zM1.5 2.75a.25.25 0 0 1 .25-.25h3.905a.25.25 0 0 1 .216.125L6.954 4.5h7.296a.25.25 0 0 1 .25.25v9.5a.25.25 0 0 1-.25.25H1.75a.25.25 0 0 1-.25-.25V2.75z'/>"},{size:24,svgContent:"<path d='M1 4a2 2 0 0 1 2-2h5.155a3 3 0 0 1 2.598 1.5l.866 1.5H21a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4zm7.155 0H3v16h18V7H10.464L9.021 4.5a1 1 0 0 0-.866-.5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},83600:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M5.272 12.542h1.655V2H5.15v3.677C4.782 4.758 4.046 4.33 3.065 4.33c-.981 0-1.715.429-2.268 1.225C.245 6.352 0 7.332 0 8.435c0 1.226.245 2.207.736 3.004.49.796 1.226 1.225 2.207 1.225 1.103 0 1.9-.551 2.329-1.716v1.594zm-.49-6.068c.306.368.429.858.429 1.47v1.35a2.19 2.19 0 0 1-.49 1.409c-.369.368-.737.552-1.166.552-1.103 0-1.655-.92-1.655-2.636 0-.92.123-1.594.49-2.023.307-.429.736-.674 1.227-.674.491 0 .858.184 1.164.552h.001zm10.483 1.532c-.368-.49-.92-.796-1.656-.919.613-.123 1.042-.368 1.41-.797.307-.429.49-.98.49-1.532 0-.613-.183-1.164-.49-1.594-.306-.49-.735-.796-1.165-.919C13.425 2.061 12.813 2 12.139 2H8.031v10.542h4.536c1.104 0 1.9-.307 2.452-.858.552-.552.797-1.226.797-2.023a2.69 2.69 0 0 0-.551-1.655zM9.808 3.471h2.268c.43 0 .797.122 1.104.368.306.183.49.551.49 1.041 0 .43-.184.797-.43 1.104-.244.306-.612.429-1.102.429h-2.33V3.47v.001zm3.678 7.048c-.306.307-.736.43-1.226.43H9.808V7.883h2.452c.49 0 .92.122 1.226.429.245.306.43.674.43 1.103 0 .49-.123.858-.43 1.103v.001zM.674 13.523H16v1.226H.674v-1.226z'/>"},{size:24,svgContent:"<path d='M8.59 17.677h2.069V4.5H8.437v4.596c-.46-1.149-1.38-1.684-2.606-1.684s-2.144.537-2.835 1.532c-.69.996-.996 2.221-.996 3.6 0 1.532.306 2.758.92 3.755.613.995 1.532 1.531 2.759 1.531 1.378 0 2.375-.689 2.911-2.145v1.992zm-.612-7.585c.382.46.536 1.073.536 1.838v1.688a2.737 2.737 0 0 1-.613 1.76c-.461.46-.921.69-1.457.69-1.379 0-2.069-1.15-2.069-3.294 0-1.15.154-1.993.612-2.529.384-.536.92-.842 1.534-.842s1.073.23 1.455.69h.002zm13.103 1.915c-.46-.612-1.15-.995-2.07-1.148.767-.154 1.303-.46 1.763-.996a3.345 3.345 0 0 0 .612-1.915c0-.767-.229-1.456-.612-1.993-.383-.612-.919-.995-1.457-1.149-.536-.23-1.3-.306-2.143-.306h-5.135v13.177h5.67c1.38 0 2.375-.383 3.065-1.072.69-.69.996-1.533.996-2.529a3.363 3.363 0 0 0-.689-2.069zM14.26 6.34h2.835c.538 0 .996.152 1.38.46.383.228.612.688.612 1.301 0 .537-.23.996-.537 1.38-.305.383-.765.536-1.378.536H14.26V6.338zm4.598 8.81c-.383.384-.92.537-1.533.537H14.26v-3.832h3.065c.613 0 1.15.152 1.533.536.306.383.537.842.537 1.379 0 .612-.154 1.072-.537 1.379zM2.843 18.904H22v1.532H2.843v-1.532z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},81742:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M13.54 3.889a2.968 2.968 0 0 0 1.333-1.683 5.937 5.937 0 0 1-1.929.738 2.992 2.992 0 0 0-.996-.706 2.98 2.98 0 0 0-1.218-.254 2.92 2.92 0 0 0-2.143.889 2.929 2.929 0 0 0-.889 2.15c0 .212.027.442.08.691a8.475 8.475 0 0 1-3.484-.932A8.536 8.536 0 0 1 1.532 2.54a2.993 2.993 0 0 0-.413 1.523c0 .519.12 1 .361 1.445.24.445.57.805.988 1.08a2.873 2.873 0 0 1-1.373-.374v.04c0 .725.23 1.365.69 1.92a2.97 2.97 0 0 0 1.739 1.048 2.937 2.937 0 0 1-1.365.056 2.94 2.94 0 0 0 1.063 1.5 2.945 2.945 0 0 0 1.77.603 5.944 5.944 0 0 1-3.77 1.302c-.243 0-.484-.016-.722-.048A8.414 8.414 0 0 0 5.15 14c.905 0 1.763-.12 2.572-.361.81-.24 1.526-.57 2.147-.988a9.044 9.044 0 0 0 1.683-1.46c.5-.556.911-1.155 1.234-1.798a9.532 9.532 0 0 0 .738-1.988 8.417 8.417 0 0 0 .246-2.429 6.177 6.177 0 0 0 1.508-1.563c-.56.249-1.14.407-1.738.476z'/>"},{size:24,svgContent:"<path d='M20.31 5.833a4.451 4.451 0 0 0 2-2.524 8.91 8.91 0 0 1-2.894 1.107 4.487 4.487 0 0 0-1.494-1.06 4.471 4.471 0 0 0-1.827-.38c-1.254 0-2.325.444-3.214 1.333-.89.89-1.334 1.964-1.334 3.225 0 .318.04.664.12 1.037a12.713 12.713 0 0 1-5.226-1.398A12.804 12.804 0 0 1 2.298 3.81a4.49 4.49 0 0 0-.62 2.284c0 .778.181 1.5.542 2.168a4.439 4.439 0 0 0 1.482 1.62 4.31 4.31 0 0 1-2.06-.561v.06c0 1.087.346 2.047 1.036 2.88a4.457 4.457 0 0 0 2.608 1.572 4.405 4.405 0 0 1-1.191.166 5.04 5.04 0 0 1-.856-.082 4.41 4.41 0 0 0 1.594 2.25 4.417 4.417 0 0 0 2.655.904c-1.659 1.302-3.544 1.953-5.655 1.953-.365 0-.726-.024-1.083-.072C2.869 20.317 5.194 21 7.725 21c1.358 0 2.644-.18 3.858-.541 1.215-.361 2.288-.855 3.22-1.482a13.564 13.564 0 0 0 2.525-2.19 12.232 12.232 0 0 0 1.851-2.697c.484-.964.853-1.958 1.107-2.982a12.624 12.624 0 0 0 .369-3.644 9.266 9.266 0 0 0 2.262-2.345 8.9 8.9 0 0 1-2.607.714z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},34861:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M10 3.75V10a2.5 2.5 0 1 1-2.5-2.5h1V3.75H10zM8.5 9h-1a1 1 0 1 0 1 1V9z'/><path d='M1.5 8.107A5.465 5.465 0 0 1 0 7.514V16h16V0H7.514c.267.462.47.966.593 1.5H14.5v13h-13V8.107z'/><path d='M2 2V0h1.5v2h2v1.5h-2v2H2v-2H0V2h2z'/>"},{size:24,svgContent:"<path d='M14 7v7.5a3 3 0 1 1-3-3h1V7h2zm-2 6.5h-1a1 1 0 1 0 1 1v-1z'/><path d='M11 4h9v16H4v-9a7.001 7.001 0 0 1-2-.29V22h20V2H10.71c.189.634.29 1.305.29 2z'/><path d='M5 3h3v2H5v3H3V5H0V3h3V0h2v3z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},99262:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2 0v2H0v1.5h2v2h1.5v-2h2V2h-2V0H2zm11.5 2.5H8.244A5.482 5.482 0 0 0 7.966 1H15v11.75A2.75 2.75 0 1 1 12.25 10h1.25V2.5zm0 9h-1.25a1.25 1.25 0 1 0 1.25 1.25V11.5zM4 8.107a5.465 5.465 0 0 0 1.5-.593v5.236A2.75 2.75 0 1 1 2.75 10H4V8.107zM4 11.5H2.75A1.25 1.25 0 1 0 4 12.75V11.5z'/>"},{size:24,svgContent:"<path d='M3 8V5H0V3h3V0h2v3h3v2H5v3H3zm8-4c0 .34-.024.673-.07 1H19v9.667h-1.5a3.5 3.5 0 1 0 3.5 3.5V3H10.93c.046.327.07.66.07 1zm8 12.667v1.5a1.5 1.5 0 1 1-1.5-1.5H19zM6 10.71a6.972 6.972 0 0 0 2-.965v8.422a3.5 3.5 0 1 1-3.5-3.5H6V10.71zm0 5.957H4.5a1.5 1.5 0 1 0 1.5 1.5v-1.5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},10775:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M16 15H2v-1.5h14V15zm0-4.5H2V9h14v1.5zm-8.034-6A5.484 5.484 0 0 1 7.187 6H13.5a2.5 2.5 0 0 0 0-5H7.966c.159.474.255.978.278 1.5H13.5a1 1 0 1 1 0 2H7.966zM2 2V0h1.5v2h2v1.5h-2v2H2v-2H0V2h2z'/>"},{size:24,svgContent:"<path d='M10.9289 5C10.9756 4.6734 10.9998 4.33952 10.9998 4C10.9998 3.66048 10.9756 3.3266 10.9289 3H18.5496C20.4826 3 22.0496 4.567 22.0496 6.5C22.0496 8.433 20.4826 10 18.5496 10H7.60742C8.45292 9.49054 9.18196 8.80741 9.74514 8H18.5496C19.378 8 20.0496 7.32843 20.0496 6.5C20.0496 5.67157 19.378 5 18.5496 5H10.9289Z'/><path d='M3 16H21V14H3V16Z'/><path d='M3 22H21V20H3V22Z'/><path d='M5 3H8V5H5V8H3V5H0L8.74228e-08 3H3V0L5 8.74229e-08V3Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},36315:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M8 6.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM5 8a3 3 0 1 1 6 0 3 3 0 0 1-6 0z'/>"},{size:24,svgContent:"<path d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12z'/><path d='M12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},34413:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.998 7.19A.749.749 0 0 0 .47 8.47L7.99 16l7.522-7.53a.75.75 0 1 0-1.06-1.06L8.74 13.13V.75a.75.75 0 1 0-1.498 0v12.38L1.528 7.41a.749.749 0 0 0-.53-.22z'/>"},{size:24,svgContent:"<path d='M3.5 10.586a1 1 0 0 0-.707 1.707l9.2 9.207 9.202-9.207a1 1 0 1 0-1.413-1.414L13 17.665V3.5a1 1 0 1 0-2 0v14.178l-6.794-6.8a1 1 0 0 0-.707-.292z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},98878:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.81 1A.749.749 0 0 0 7.53.47L0 7.99l7.53 7.521a.75.75 0 0 0 1.234-.815.75.75 0 0 0-.174-.243L2.87 8.74h12.38a.75.75 0 1 0 0-1.498H2.87l5.72-5.713c.14-.14.22-.331.22-.53z'/>"},{size:24,svgContent:"<path d='M13.414 3.5a.999.999 0 0 0-1.707-.707l-9.207 9.2 9.207 9.202a1 1 0 1 0 1.414-1.413L6.335 13H20.5a1 1 0 0 0 0-2H6.322l6.799-6.794a.999.999 0 0 0 .293-.707z'/>"}],c||24),u=null===(t=e.autoMirror)||void 0===t||t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},64571:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7.19 1A.749.749 0 0 1 8.47.47L16 7.99l-7.53 7.521a.75.75 0 0 1-1.234-.815.75.75 0 0 1 .174-.243l5.72-5.714H.75a.75.75 0 1 1 0-1.498h12.38L7.41 1.529a.749.749 0 0 1-.22-.53z'/>"},{size:24,svgContent:"<path d='M10.586 3.5a.999.999 0 0 1 1.707-.707l9.207 9.2-9.207 9.202a1 1 0 1 1-1.414-1.413L17.665 13H3.5a1 1 0 1 1 0-2h14.178l-6.799-6.794a.999.999 0 0 1-.293-.707z'/>"}],c||24),u=null===(t=e.autoMirror)||void 0===t||t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},45686:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.998 8.81A.749.749 0 0 1 .47 7.53L7.99 0l7.522 7.53a.75.75 0 1 1-1.06 1.06L8.74 2.87v12.38a.75.75 0 1 1-1.498 0V2.87L1.528 8.59a.751.751 0 0 1-.53.22z'/>"},{size:24,svgContent:"<path d='M3.5 13.414a.999.999 0 0 1-.707-1.707l9.2-9.207 9.202 9.207a1 1 0 1 1-1.413 1.414L13 6.335V20.5a1 1 0 0 1-2 0V6.322l-6.794 6.799a.999.999 0 0 1-.707.293z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},69725:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.757 2.987A4.356 4.356 0 0 0 7.618 0a4.362 4.362 0 0 0-4.139 2.987 5.474 5.474 0 0 0-.22 1.894 5.604 5.604 0 0 0 1.4 3.312l.125.152a.748.748 0 0 1-.2 1.128l-2.209 1.275A4.748 4.748 0 0 0 0 14.857v1.142h8.734A5.48 5.48 0 0 1 8.15 14.5H1.517a3.245 3.245 0 0 1 1.6-2.454l2.21-1.275a2.25 2.25 0 0 0 .6-3.386l-.128-.153a4.112 4.112 0 0 1-1.05-2.44A4.053 4.053 0 0 1 4.89 3.47a2.797 2.797 0 0 1 1.555-1.713 2.89 2.89 0 0 1 3.293.691c.265.296.466.644.589 1.022.12.43.169.876.144 1.322a4.12 4.12 0 0 1-1.052 2.44l-.127.153a2.239 2.239 0 0 0-.2 2.58c.338-.45.742-.845 1.2-1.173 0-.162.055-.32.156-.447l.126-.152a5.598 5.598 0 0 0 1.4-3.312 5.499 5.499 0 0 0-.218-1.894zm3.493 3.771a.75.75 0 0 0-.75.75v3.496h-1a2.502 2.502 0 0 0-2.31 1.542 2.497 2.497 0 0 0 1.822 3.406A2.502 2.502 0 0 0 16 13.502V7.508a.75.75 0 0 0-.75-.75zm-.75 6.744a.998.998 0 0 1-1.707.707 1 1 0 0 1 .707-1.706h1v1z'/>"},{size:24,svgContent:"<path d='M13.363 10.4742L12.842 11.0992C12.6086 11.379 12.4393 11.7065 12.3458 12.0587C12.2523 12.4109 12.2369 12.7793 12.3007 13.1381C12.3645 13.4968 12.506 13.8373 12.7153 14.1356C12.9245 14.434 13.1964 14.683 13.512 14.8652L13.797 15.0292C14.1345 14.4382 14.57 13.909 15.085 13.4642L14.512 13.1332C14.4489 13.0967 14.3945 13.0469 14.3527 12.9873C14.3109 12.9276 14.2826 12.8596 14.2698 12.7878C14.2571 12.7161 14.2601 12.6425 14.2788 12.572C14.2975 12.5016 14.3314 12.4362 14.378 12.3802L14.898 11.7562C15.9717 10.5455 16.6172 9.01512 16.735 7.40118C16.7841 6.56095 16.686 5.71858 16.445 4.91216C16.1971 4.15361 15.7913 3.45625 15.2542 2.86605C14.717 2.27585 14.0609 1.80623 13.329 1.48818C12.2258 1.00309 10.9984 0.875524 9.81909 1.12338C8.63974 1.37123 7.56757 1.98205 6.75299 2.87017C6.21741 3.46169 5.812 4.15906 5.56299 4.91717C5.32198 5.72359 5.22386 6.56595 5.27301 7.40618C5.3909 9.02058 6.03674 10.5513 7.11096 11.7622L7.62897 12.3842C7.6756 12.4401 7.70947 12.5056 7.72815 12.576C7.74683 12.6465 7.74989 12.7201 7.73712 12.7918C7.72436 12.8636 7.69606 12.9316 7.65424 12.9913C7.61241 13.0509 7.55808 13.1007 7.495 13.1372L3.5 15.4442C2.73992 15.883 2.10876 16.5142 1.66992 17.2743C1.23108 18.0343 1.00002 18.8965 1 19.7742V22.0052H14.54C14.0162 21.4229 13.6119 20.7433 13.35 20.0052H3V19.7742C2.99966 19.2472 3.13811 18.7295 3.40143 18.2731C3.66475 17.8167 4.04366 17.4377 4.5 17.1742L8.495 14.8672C8.81056 14.685 9.08246 14.436 9.29169 14.1376C9.50092 13.8393 9.64241 13.4988 9.70624 13.1401C9.77006 12.7813 9.75469 12.4129 9.66119 12.0607C9.5677 11.7085 9.39833 11.3811 9.16498 11.1012L8.64398 10.4762C8.03916 9.82817 7.61201 9.03491 7.40387 8.17327C7.19573 7.31163 7.21367 6.41081 7.45599 5.55816C7.61624 5.06462 7.8782 4.61019 8.22498 4.22418C8.57805 3.8391 9.00736 3.53165 9.4856 3.32131C9.96383 3.11098 10.4805 3.00234 11.003 3.00234C11.5254 3.00234 12.0422 3.11098 12.5204 3.32131C12.9986 3.53165 13.4279 3.8391 13.781 4.22418C14.1271 4.61049 14.3887 5.06485 14.549 5.55816C14.7059 6.11997 14.769 6.70382 14.736 7.28619C14.6432 8.47138 14.1604 9.59243 13.363 10.4742ZM21.004 9.30117C20.7388 9.30117 20.4844 9.40654 20.2969 9.59408C20.1093 9.78162 20.004 10.036 20.004 10.3012V14.9672H19.004C18.4106 14.9672 17.8306 15.1431 17.3373 15.4728C16.8439 15.8024 16.4594 16.2709 16.2324 16.8191C16.0053 17.3673 15.9459 17.9705 16.0616 18.5525C16.1774 19.1344 16.4631 19.6689 16.8827 20.0885C17.3022 20.5081 17.8368 20.7938 18.4187 20.9095C19.0006 21.0253 19.6039 20.9659 20.152 20.7388C20.7002 20.5118 21.1688 20.1272 21.4984 19.6339C21.8281 19.1405 22.004 18.5605 22.004 17.9672V10.3012C22.004 10.1696 21.9781 10.0393 21.9276 9.91781C21.8772 9.79629 21.8032 9.68591 21.71 9.59301C21.6168 9.50011 21.5063 9.42651 21.3846 9.37643C21.2629 9.32635 21.1326 9.30078 21.001 9.30117H21.004ZM20.004 17.9672C20.004 18.165 19.9453 18.3583 19.8354 18.5228C19.7256 18.6872 19.5694 18.8154 19.3867 18.891C19.2039 18.9667 19.0029 18.9865 18.8089 18.948C18.6149 18.9094 18.4367 18.8141 18.2969 18.6743C18.157 18.5344 18.0618 18.3562 18.0232 18.1623C17.9846 17.9683 18.0045 17.7672 18.0801 17.5845C18.1558 17.4018 18.284 17.2456 18.4484 17.1357C18.6129 17.0258 18.8062 16.9672 19.004 16.9672H20.004V17.9672Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},97675:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 .013h3.65C5.28.013 6.787.55 8 1.457A7.246 7.246 0 0 1 12.35.013H16V14h-3.65c-1.48 0-2.828.556-3.85 1.47l-.5.448-.5-.448A5.751 5.751 0 0 0 3.65 14H0V.013zm7.25 2.76a5.748 5.748 0 0 0-3.6-1.26H1.5V12.5h2.15c1.31 0 2.538.346 3.6.952V2.772zm1.5 10.679a7.244 7.244 0 0 1 3.6-.952h2.15V1.513h-2.15a5.74 5.74 0 0 0-3.6 1.26v10.679z'/>"},{size:24,svgContent:"<path d='M1 2h5a9.96 9.96 0 0 1 6 2 9.96 9.96 0 0 1 6-2h5v19h-5c-2.05 0-3.917.77-5.333 2.037l-.667.597-.667-.597A7.967 7.967 0 0 0 6 21H1V2zm10 3.755A7.963 7.963 0 0 0 6 4H3v15h3c1.82 0 3.529.487 5 1.338V5.755zm2 14.583A9.957 9.957 0 0 1 18 19h3V4h-3a7.96 7.96 0 0 0-5 1.755v14.583z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},64133:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM3.965 2.904a6.5 6.5 0 0 1 9.131 9.131L3.965 2.904zm-1.061 1.06 9.131 9.132a6.5 6.5 0 0 1-9.131-9.131z'/>"},{size:24,svgContent:"<path d='M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zM6.382 4.968a9 9 0 0 1 12.65 12.65L6.382 4.968zM4.968 6.382l12.65 12.65a9 9 0 0 1-12.65-12.65z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},40871:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 3.75a4.23 4.23 0 0 0-2.428.761l5.917 5.917A4.25 4.25 0 0 0 8 3.75zM3.75 8c0-.903.281-1.74.761-2.428l5.917 5.917A4.25 4.25 0 0 1 3.75 8z'/><path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm2.25 0a5.75 5.75 0 1 0 11.5 0 5.75 5.75 0 0 0-11.5 0z'/>"},{size:24,svgContent:"<path d='M6 12c0-1.296.41-2.496 1.11-3.477l8.366 8.368A6 6 0 0 1 6 12zm10.89 3.476L8.524 7.11a6 6 0 0 1 8.367 8.367z'/><path d='M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm11-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},92024:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7.809 1.538a.5.5 0 0 1 .545.108l3 3a.5.5 0 0 1 0 .708L8.707 8l2.647 2.646a.5.5 0 0 1 0 .708l-3 3A.5.5 0 0 1 7.5 14V9.207l-2.146 2.147a.5.5 0 0 1-.708-.707L7.293 8 4.646 5.354a.5.5 0 1 1 .708-.708L7.5 6.793V2a.5.5 0 0 1 .309-.462zm.691 7.67v3.585L10.293 11 8.5 9.207zm0-2.415L10.293 5 8.5 3.207v3.586z'/>"},{size:24,svgContent:"<path d='M11.713 2.307a.75.75 0 0 1 .817.163l4.5 4.5a.75.75 0 0 1 0 1.06L13.06 12l3.97 3.97a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.28-.53v-7.19l-3.22 3.22a.75.75 0 0 1-1.06-1.06L10.94 12 6.97 8.03a.75.75 0 0 1 1.06-1.06l3.22 3.22V3a.75.75 0 0 1 .463-.693zm1.037 11.504v5.378l2.69-2.689-2.69-2.69zm0-3.622L15.44 7.5l-2.69-2.69v5.38z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},46524:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2 1.75C2 .784 2.784 0 3.75 0h8.48c.966 0 1.75.784 1.75 1.75V14.7c0 1.052-1.221 1.633-2.038.97l-3.943-3.204-3.962 3.208c-.818.661-2.037.08-2.037-.972V1.75zm1.75-.25a.25.25 0 0 0-.25.25v12.428L8 10.534l4.48 3.64V1.75a.25.25 0 0 0-.25-.25H3.75z'/>"},{size:24,svgContent:"<path d='M4 4a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v17.167c0 1.448-1.657 2.27-2.81 1.393L12 18.612 6.81 22.56c-1.153.876-2.81.055-2.81-1.393V4zm3-1a1 1 0 0 0-1 1v16.663l6-4.564 6 4.564V4a1 1 0 0 0-1-1H7z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},14934:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3.75 0A1.75 1.75 0 0 0 2 1.75v12.952c0 1.051 1.22 1.633 2.037.972l3.962-3.208 3.943 3.204c.817.663 2.038.082 2.038-.97V1.75A1.75 1.75 0 0 0 12.23 0H3.75z'/>"},{size:24,svgContent:"<path d='M7 1a3 3 0 0 0-3 3v17.167c0 1.448 1.657 2.27 2.81 1.393L12 18.612l5.19 3.948c1.153.876 2.81.055 2.81-1.393V4a3 3 0 0 0-3-3H7z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},89790:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4 1.75A.75.75 0 0 1 4.75 1h6.5a.75.75 0 0 1 .75.75V4h3.25a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75H.75a.75.75 0 0 1-.75-.75V4.75A.75.75 0 0 1 .75 4H4V1.75zm6.5.75h-5V4h5V2.5zm-9 3v1.279l2.001 2c.235.235.553.367.884.367h7.043c.332 0 .65-.132.884-.366L14.5 6.592V5.5h-13zm0 3.4v5.6h13V8.713L13.373 9.84a2.75 2.75 0 0 1-1.945.806H4.385a2.75 2.75 0 0 1-1.944-.806L1.5 8.9z'/>"},{size:24,svgContent:"<path d='M8.5 2h7A1.5 1.5 0 0 1 17 3.5V6h4.5A1.5 1.5 0 0 1 23 7.5v13a1.5 1.5 0 0 1-1.5 1.5h-19A1.5 1.5 0 0 1 1 20.5v-13A1.5 1.5 0 0 1 2.5 6H7V3.5A1.5 1.5 0 0 1 8.5 2zM15 6V4H9v2h6zM3 9.586l3.121 3.121a1 1 0 0 0 .707.293h10.344a1 1 0 0 0 .707-.293L21 9.586V8H3v1.586zm0 2.828V20h18v-7.586l-1.707 1.707a3 3 0 0 1-2.121.879H6.828a3 3 0 0 1-2.12-.879L3 12.414z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},18346:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.404 6.278A.75.75 0 0 1 .987 6h14a.75.75 0 0 1 .733.906l-1.81 8.5a.75.75 0 0 1-.733.594H2.797a.75.75 0 0 1-.734-.594l-1.81-8.5a.75.75 0 0 1 .15-.628zM1.914 7.5l1.49 7h9.166l1.49-7H1.913z'/><path d='M9.987 11c0 .736-.896 1.333-2 1.333-1.105 0-2-.597-2-1.333s.895-1.333 2-1.333c1.104 0 2 .597 2 1.333zM2 1.25A.75.75 0 0 1 2.75.5h10.5a.75.75 0 0 1 .75.75V4h-1.5V2h-9v2H2V1.25z'/>"},{size:24,svgContent:"<path d='M15 15.5c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2z'/><path d='M1.513 9.37A1 1 0 0 1 2.291 9h19.418a1 1 0 0 1 .979 1.208l-2.339 11a1 1 0 0 1-.978.792H4.63a1 1 0 0 1-.978-.792l-2.339-11a1 1 0 0 1 .201-.837zM3.525 11l1.913 9h13.123l1.913-9H3.525zM4 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4h-2V3H6v3H4V2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},80092:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2 1.2a.7.7 0 0 1 .7-.7h10.6a.7.7 0 0 1 .7.7V4H2V1.2zM.987 6a.75.75 0 0 0-.734.906l1.81 8.5a.75.75 0 0 0 .733.594h10.38a.75.75 0 0 0 .734-.594l1.81-8.5A.75.75 0 0 0 14.987 6h-14zM8 13c-1.657 0-3-.895-3-2s1.343-2 3-2 3 .895 3 2-1.343 2-3 2z'/>"},{size:24,svgContent:"<path d='M4 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4H4V2zM1.513 9.37A1 1 0 0 1 2.291 9H21.71a1 1 0 0 1 .978 1.208l-2.17 10.208A2 2 0 0 1 18.562 22H5.438a2 2 0 0 1-1.956-1.584l-2.17-10.208a1 1 0 0 1 .201-.837zM12 17.834c1.933 0 3.5-1.044 3.5-2.333 0-1.289-1.567-2.333-3.5-2.333S8.5 14.21 8.5 15.5c0 1.289 1.567 2.333 3.5 2.333z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},58268:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.5 2.4c0 .74-.302 1.207-.75 1.434v1.49h4.5c.966 0 1.75.784 1.75 1.75v1.917c0 .74-.284 1.415-.75 1.92v3.839c0 .69-.56 1.25-1.25 1.25H3c-.69 0-1.25-.56-1.25-1.25v-3.839A2.823 2.823 0 0 1 1 8.991V7.074c0-.966.784-1.75 1.75-1.75h4.5v-1.49C6.802 3.607 6.5 3.14 6.5 2.4c0-.937.809-1.723 1.284-2.184A8.73 8.73 0 0 0 8 0c.057.06.131.133.216.216C8.691.677 9.5 1.463 9.5 2.4Zm-6.25 9.364V14.5h9.5v-2.736c-.188.04-.383.06-.583.06h-.094a2.732 2.732 0 0 1-1.975-.84 2.823 2.823 0 0 1-2.098.93c-.832 0-1.58-.359-2.098-.93-.499.518-1.2.84-1.975.84h-.094c-.2 0-.395-.02-.583-.06Zm6.833-3.43a.75.75 0 0 1 .75.75c0 .685.556 1.24 1.24 1.24h.094c.736 0 1.333-.597 1.333-1.333V7.074a.25.25 0 0 0-.25-.25H2.75a.25.25 0 0 0-.25.25v1.917c0 .736.597 1.333 1.333 1.333h.094a1.24 1.24 0 0 0 1.24-1.24.75.75 0 0 1 .75-.75h.003a.75.75 0 0 1 .75.75 1.33 1.33 0 1 0 2.66 0 .75.75 0 0 1 .75-.75h.003Z'/>"},{size:24,svgContent:"<path d='M13 5.793c.598-.284 1-.868 1-1.793 0-1.17-1.079-2.154-1.711-2.73-.114-.104-.213-.194-.289-.27-.076.076-.175.166-.289.27C11.08 1.846 10 2.83 10 4c0 .925.402 1.509 1 1.793V7.9H5a3 3 0 0 0-2.993 2.8H2v2.4a3.99 3.99 0 0 0 1 2.646V21a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5.254c.622-.705 1-1.632 1-2.646v-2.4h-.007A3 3 0 0 0 19 7.9h-6V5.793ZM5 9.9h14a1 1 0 0 1 1 1v2.2a2 2 0 1 1-4 0V13a1 1 0 0 0-2 0v.1a2 2 0 1 1-4 0V13a1 1 0 0 0-2 0v.1a2 2 0 1 1-4 0v-2.2a1 1 0 0 1 1-1Zm14 7.074V21H5v-4.026a4.006 4.006 0 0 0 4-1.228 3.99 3.99 0 0 0 3 1.354 3.99 3.99 0 0 0 3-1.354 3.99 3.99 0 0 0 4 1.228Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},27776:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6.5.003a.75.75 0 0 0-.75.75V12.25c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75V.753a.75.75 0 0 0-.75-.75h-3ZM7.25 11.5V1.503h1.5V11.5h-1.5ZM0 16h16v-1.5H0V16Zm0-8.25A.75.75 0 0 1 .75 7h3a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75v-4.5Zm1.5.75v3H3v-3H1.5Zm10.75-4.504a.75.75 0 0 0-.75.75v7.5c0 .414.336.75.75.75h3a.75.75 0 0 0 .75-.75v-7.5a.75.75 0 0 0-.75-.75h-3Zm.75 7.5v-6h1.5v6H13Z'/>"},{size:24,svgContent:"<path d='M9.25 3a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1V3Zm3.5 1h-1.5v12h1.5V4ZM22 22H2v-2h20v2ZM3 10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h3.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1H3Zm1 6v-4h1.5v4H4Zm12.5-9a1 1 0 0 1 1-1H21a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1V7Zm3.5 9V8h-1.5v8H20Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},96554:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m14 6-6 6-6-6h12z'/>"},{size:24,svgContent:"<path d='m19 9-7 7-7-7h14z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},3869:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14 10 8 4l-6 6h12z'/>"},{size:24,svgContent:"<path d='m19 15-7-7-7 7h14z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},5162:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M15.53 2.47a.75.75 0 0 1 0 1.06L4.907 14.153.47 9.716a.75.75 0 0 1 1.06-1.06l3.377 3.376L14.47 2.47a.75.75 0 0 1 1.06 0z'/>"},{size:24,svgContent:"<path d='M21.707 4.805a1 1 0 0 1 0 1.414L8.024 19.902l-5.731-5.73a1 1 0 1 1 1.414-1.415l4.317 4.317L20.293 4.805a1 1 0 0 1 1.414 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},75930:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm11.748-1.97a.75.75 0 0 0-1.06-1.06l-4.47 4.47-1.405-1.406a.75.75 0 1 0-1.061 1.06l2.466 2.467 5.53-5.53z'/>"},{size:24,svgContent:"<path d='M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm16.398-2.38a1 1 0 0 0-1.414-1.413l-6.011 6.01-1.894-1.893a1 1 0 0 0-1.414 1.414l3.308 3.308 7.425-7.425z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},31323:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.47 4.97a.75.75 0 0 1 1.06 0L8 11.44l6.47-6.47a.75.75 0 1 1 1.06 1.06L8 13.56.47 6.03a.75.75 0 0 1 0-1.06z'/>"},{size:24,svgContent:"<path d='M2.793 8.043a1 1 0 0 1 1.414 0L12 15.836l7.793-7.793a1 1 0 1 1 1.414 1.414L12 18.664 2.793 9.457a1 1 0 0 1 0-1.414z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},89732:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.03.47a.75.75 0 0 1 0 1.06L4.56 8l6.47 6.47a.75.75 0 1 1-1.06 1.06L2.44 8 9.97.47a.75.75 0 0 1 1.06 0z'/>"},{size:24,svgContent:"<path d='M15.957 2.793a1 1 0 0 1 0 1.414L8.164 12l7.793 7.793a1 1 0 1 1-1.414 1.414L5.336 12l9.207-9.207a1 1 0 0 1 1.414 0z'/>"}],c||24),u=null===(t=e.autoMirror)||void 0===t||t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},62473:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.97.47a.75.75 0 0 0 0 1.06L11.44 8l-6.47 6.47a.75.75 0 1 0 1.06 1.06L13.56 8 6.03.47a.75.75 0 0 0-1.06 0z'/>"},{size:24,svgContent:"<path d='M8.043 2.793a1 1 0 0 0 0 1.414L15.836 12l-7.793 7.793a1 1 0 1 0 1.414 1.414L18.664 12 9.457 2.793a1 1 0 0 0-1.414 0z'/>"}],c||24),u=null===(t=e.autoMirror)||void 0===t||t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},92808:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.47 11.03a.75.75 0 0 0 1.06 0L8 4.56l6.47 6.47a.75.75 0 1 0 1.06-1.06L8 2.44.47 9.97a.75.75 0 0 0 0 1.06z'/>"},{size:24,svgContent:"<path d='M2.793 15.957a1 1 0 0 0 1.414 0L12 8.164l7.793 7.793a1 1 0 1 0 1.414-1.414L12 5.336l-9.207 9.207a1 1 0 0 0 0 1.414z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},75886:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.667 12v2h2c0-.55-.196-1.021-.588-1.413A1.925 1.925 0 0 0 .667 12zm0-2.667v1.334c.92 0 1.706.325 2.357.976.65.65.976 1.436.976 2.357h1.333c0-.635-.123-1.24-.369-1.817a4.666 4.666 0 0 0-.992-1.489 4.67 4.67 0 0 0-1.488-.992 4.583 4.583 0 0 0-1.817-.369zm12-4.666H3.333v1.087a8.502 8.502 0 0 1 3.465 2.115 8.494 8.494 0 0 1 2.115 3.464h3.754V4.667zm-12 2V8c1.085 0 2.087.269 3.008.806a5.978 5.978 0 0 1 2.186 2.186c.537.92.806 1.923.806 3.008H8a7.35 7.35 0 0 0-.369-2.317 6.956 6.956 0 0 0-1.048-2.02A7.918 7.918 0 0 0 5 8.083a7.01 7.01 0 0 0-2.024-1.047 7.31 7.31 0 0 0-2.31-.37l.001.001zM14 2H2a1.28 1.28 0 0 0-.94.393 1.283 1.283 0 0 0-.393.94v2H2v-2h12v9.334H9.333V14H14c.365 0 .679-.131.94-.393.262-.262.393-.575.393-.94V3.333c0-.365-.131-.678-.393-.94A1.28 1.28 0 0 0 14 2z'/>"},{size:24,svgContent:"<path d='M1 18v3h3a2.89 2.89 0 0 0-.88-2.119A2.89 2.89 0 0 0 1 18zm0-4v2c1.38 0 2.56.488 3.536 1.465C5.512 18.44 6 19.619 6 21h2c0-.953-.184-1.861-.553-2.726a7.016 7.016 0 0 0-1.489-2.232 7.004 7.004 0 0 0-2.232-1.488A6.877 6.877 0 0 0 1 14zm18-7H5v1.63a12.742 12.742 0 0 1 5.196 3.172A12.741 12.741 0 0 1 13.37 17H19V7zM1 10v2c1.627 0 3.13.403 4.512 1.208a8.964 8.964 0 0 1 3.28 3.28A8.798 8.798 0 0 1 10 21h2c0-1.198-.184-2.357-.553-3.476a10.42 10.42 0 0 0-1.572-3.03A11.9 11.9 0 0 0 7.5 12.125a10.534 10.534 0 0 0-3.036-1.572A10.991 10.991 0 0 0 1 9.998zm20-7H3c-.547 0-1.018.196-1.41.59C1.195 3.982 1 4.452 1 5v3h2V5h18v14h-7v2h7c.547 0 1.018-.197 1.41-.59.394-.392.59-.862.59-1.41V5a1.92 1.92 0 0 0-.59-1.411A1.926 1.926 0 0 0 21 3z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},57290:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.667 12v2h2c0-.55-.196-1.021-.588-1.413A1.925 1.925 0 0 0 .667 12zm0-2.667v1.334c.92 0 1.706.325 2.357.976.65.65.976 1.436.976 2.357h1.333c0-.635-.123-1.24-.369-1.817a4.666 4.666 0 0 0-.992-1.489 4.67 4.67 0 0 0-1.488-.992 4.583 4.583 0 0 0-1.817-.369zm0-2.666V8c1.085 0 2.087.269 3.008.806a5.978 5.978 0 0 1 2.186 2.186c.537.92.806 1.923.806 3.008H8a7.35 7.35 0 0 0-.369-2.317 6.956 6.956 0 0 0-1.048-2.02A7.918 7.918 0 0 0 5 8.083a7.01 7.01 0 0 0-2.024-1.047 7.31 7.31 0 0 0-2.31-.37l.001.001zM14 2H2a1.28 1.28 0 0 0-.94.393 1.283 1.283 0 0 0-.393.94v2H2v-2h12v9.334H9.333V14H14c.365 0 .679-.131.94-.393.262-.262.393-.575.393-.94V3.333c0-.365-.131-.678-.393-.94A1.28 1.28 0 0 0 14 2z'/>"},{size:24,svgContent:"<path d='M1 18v3h3a2.89 2.89 0 0 0-.88-2.119A2.89 2.89 0 0 0 1 18zm0-4v2c1.38 0 2.56.488 3.536 1.465C5.512 18.44 6 19.619 6 21h2c0-.953-.184-1.861-.553-2.726a7.016 7.016 0 0 0-1.489-2.232 7.004 7.004 0 0 0-2.232-1.488A6.877 6.877 0 0 0 1 14zm0-4v2c1.627 0 3.13.403 4.512 1.208a8.964 8.964 0 0 1 3.28 3.28A8.798 8.798 0 0 1 10 21h2c0-1.198-.184-2.357-.553-3.476a10.42 10.42 0 0 0-1.572-3.03A11.9 11.9 0 0 0 7.5 12.125a10.534 10.534 0 0 0-3.036-1.572A10.991 10.991 0 0 0 1 9.998zm20-7H3c-.547 0-1.018.196-1.41.59C1.195 3.982 1 4.452 1 5v3h2V5h18v14h-7v2h7c.547 0 1.018-.197 1.41-.59.394-.392.59-.862.59-1.41V5a1.92 1.92 0 0 0-.59-1.411A1.926 1.926 0 0 0 21 3z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},44128:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.55 1c.8 0 1.45.65 1.45 1.45V7h-1.5V2.5h-13v11h5.507V15H1.45C.65 15 0 14.35 0 13.55V2.45C0 1.65.65 1 1.45 1h13.1z'/><path d='M16 9.757a.75.75 0 0 0-.75-.75H9.068L6.56 6.5h1.385a.75.75 0 1 0 0-1.5H4v3.946a.75.75 0 0 0 1.5 0V7.561l3.076 3.075v3.614c0 .414.336.75.75.75h5.925a.75.75 0 0 0 .75-.75V9.757z'/>"},{size:24,svgContent:"<path d='M3 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2v7.17c-.313-.11-.65-.17-1-.17h-1V5H3v14h8v1c0 .35.06.687.17 1H3z'/><path d='M14 21h8a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1h-8.906L8.56 9.467h1.94a.75.75 0 0 0 0-1.5H6v4.526a.75.75 0 0 0 1.5 0v-1.966l5.5 5.5V20a1 1 0 0 0 1 1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},63644:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.55 1c.8 0 1.45.65 1.45 1.45V7h-1.5V2.5H2.595L5.5 5.406V4.021a.75.75 0 0 1 1.5 0v3.946H3.055a.75.75 0 0 1 0-1.5H4.44L1.5 3.527V13.5h5.507V15H1.45C.65 15 0 14.35 0 13.55V2.45C0 1.65.65 1 1.45 1h13.1z'/><path d='M16 9.757a.75.75 0 0 0-.75-.75H9.325a.75.75 0 0 0-.75.75v4.493c0 .414.336.75.75.75h5.925a.75.75 0 0 0 .75-.75V9.757z'/>"},{size:24,svgContent:"<path d='M3 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2v7.17c-.313-.11-.65-.17-1-.17h-1V5H4.092L8.5 9.406V7.44a.75.75 0 0 1 1.5 0v4.527H5.472a.75.75 0 0 1 0-1.5h1.966L3 6.029V19h8v1c0 .35.06.687.17 1H3z'/><path d='M14 21h8a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},7875:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 1.75A.75.75 0 0 1 .75 1h14.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H.75a.75.75 0 0 1-.75-.75V1.75zm1.5.75v12h13v-12h-13z'/><path d='M6.962 5.47a.75.75 0 0 1 0 1.06L4.992 8.5l1.97 1.97a.75.75 0 1 1-1.06 1.06L2.87 8.5 5.9 5.47a.75.75 0 0 1 1.061 0zm2.076 0a.75.75 0 0 0 0 1.06l1.97 1.97-1.97 1.97a.75.75 0 1 0 1.06 1.06L13.13 8.5 10.1 5.47a.75.75 0 0 0-1.061 0z'/>"},{size:24,svgContent:"<path d='M1 4a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4zm20 0H3v16h18V4z'/><path d='M10.364 7.793a1 1 0 0 1 0 1.414L7.57 12l2.793 2.793a1 1 0 0 1-1.415 1.414L4.742 12 8.95 7.793a1 1 0 0 1 1.415 0zm3.273 0a1 1 0 0 0 0 1.414L16.43 12l-2.793 2.793a1 1 0 0 0 1.414 1.414L19.258 12l-4.207-4.207a1 1 0 0 0-1.414 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},35764:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.375 1.098a.75.75 0 0 1 .75 0l5.5 3.175a.75.75 0 0 1 .375.65V15.25a.75.75 0 0 1-.75.75h-5.5a.75.75 0 0 1-.75-.75V1.747a.75.75 0 0 1 .375-.65zM9.5 3.046V14.5h4V5.356l-4-2.31zM1 1.75a.75.75 0 0 1 1.5 0v13.5a.75.75 0 0 1-1.5 0V1.75zm3.5 0a.75.75 0 0 1 1.5 0v13.5a.75.75 0 0 1-1.5 0V1.75z'/>"},{size:24,svgContent:"<path d='M14.5 2.134a1 1 0 0 1 1 0l6 3.464a1 1 0 0 1 .5.866V21a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V3a1 1 0 0 1 .5-.866zM16 4.732V20h4V7.041l-4-2.309zM3 22a1 1 0 0 1-1-1V3a1 1 0 0 1 2 0v18a1 1 0 0 1-1 1zm6 0a1 1 0 0 1-1-1V3a1 1 0 0 1 2 0v18a1 1 0 0 1-1 1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},37022:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.125 1.098A.75.75 0 0 0 8 1.748V15.25a.75.75 0 0 0 .75.75h5.5a.75.75 0 0 0 .75-.75V4.923a.75.75 0 0 0-.375-.65l-5.5-3.175zM1 1.75a.75.75 0 0 1 1.5 0v13.5a.75.75 0 0 1-1.5 0V1.75zm5 0a.75.75 0 0 0-1.5 0v13.5a.75.75 0 0 0 1.5 0V1.75z'/>"},{size:24,svgContent:"<path d='M3 22a1 1 0 0 1-1-1V3a1 1 0 0 1 2 0v18a1 1 0 0 1-1 1zM15.5 2.134A1 1 0 0 0 14 3v18a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V6.464a1 1 0 0 0-.5-.866l-6-3.464zM9 2a1 1 0 0 0-1 1v18a1 1 0 1 0 2 0V3a1 1 0 0 0-1-1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},37918:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6 2.75C6 1.784 6.784 1 7.75 1h6.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 14.25 15h-6.5A1.75 1.75 0 0 1 6 13.25V2.75zm1.75-.25a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25h-6.5zm-6 0a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25H4V11H1.75A1.75 1.75 0 0 1 0 9.25v-6.5C0 1.784.784 1 1.75 1H4v1.5H1.75zM4 15H2v-1.5h2V15z'/><path d='M13 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm-1-5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/>"},{size:24,svgContent:"<path d='M10 19a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3h-8a3 3 0 0 0-3 3v14zm3 1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-8z'/><path d='M18.25 7.25a1.25 1.25 0 1 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM17 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-3.5-1.5a3.5 3.5 0 1 0 7 0 3.5 3.5 0 0 0-7 0zM0 4a2 2 0 0 1 2-2h5v2H2v11h5v2H2a2 2 0 0 1-2-2V4zm7 18H4v-2h3v2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},90058:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M5 .75A.75.75 0 0 1 5.75 0h9.5a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75H12v-1.5h2.5v-9h-8V3H5V.75z'/><path d='M.75 4a.75.75 0 0 0-.75.75v10.5c0 .414.336.75.75.75h9.5a.75.75 0 0 0 .75-.75V4.75a.75.75 0 0 0-.75-.75H.75zm.75 10.5v-9h8v9h-8z'/>"},{size:24,svgContent:"<path d='M8 2a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2h-3v-2h3V2H10v1H8V2z'/><path d='M3 5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H3zm0 2h11v13H3V7z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},4977:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M5.25 3v-.917C5.25.933 6.183 0 7.333 0h1.334c1.15 0 2.083.933 2.083 2.083V3h4.75v1.5h-.972l-1.257 9.544A2.25 2.25 0 0 1 11.041 16H4.96a2.25 2.25 0 0 1-2.23-1.956L1.472 4.5H.5V3h4.75zm1.5-.917V3h2.5v-.917a.583.583 0 0 0-.583-.583H7.333a.583.583 0 0 0-.583.583zM2.986 4.5l1.23 9.348a.75.75 0 0 0 .744.652h6.08a.75.75 0 0 0 .744-.652L13.015 4.5H2.985z'/>"},{size:24,svgContent:"<path d='M8 4V3a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1h6v2h-.956l-1.878 14.261A2 2 0 0 1 17.183 22H6.817a2 2 0 0 1-1.983-1.739L2.956 6H2V4h6zm2-1v1h4V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1zM4.974 6l1.843 14h10.366l1.843-14H4.974z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},33973:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.562a4.732 4.732 0 0 0-3.47 7.95l.013.014L8 13.646l3.456-4.12.013-.013A4.732 4.732 0 0 0 8 1.563zM1.768 6.294a6.232 6.232 0 1 1 10.813 4.225L8 15.98l-4.582-5.46a6.212 6.212 0 0 1-1.65-4.225z'/><path d='M8 5.05a1.243 1.243 0 1 0 0 2.488A1.243 1.243 0 0 0 8 5.05zM5.257 6.295a2.743 2.743 0 1 1 5.486 0 2.743 2.743 0 0 1-5.486 0z'/>"},{size:24,svgContent:"<path d='M12 2.465a7.25 7.25 0 0 0-5.32 12.177l.018.018L12 20.979l5.302-6.318.017-.018A7.25 7.25 0 0 0 12 2.466zm-9.25 7.25a9.25 9.25 0 1 1 16.052 6.268L12 24.09l-6.803-8.107A9.22 9.22 0 0 1 2.75 9.715z'/><path d='M12 7.715a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},1134:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.5 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/><path d='M1.75 3A1.75 1.75 0 0 0 0 4.75v6.5C0 12.216.784 13 1.75 13H2v1.25a.75.75 0 0 0 1.5 0V13h9v1.25a.75.75 0 0 0 1.5 0V13h.25A1.75 1.75 0 0 0 16 11.25v-6.5A1.75 1.75 0 0 0 14.25 3H1.75zM1.5 4.75a.25.25 0 0 1 .25-.25h12.5a.25.25 0 0 1 .25.25v6.5a.25.25 0 0 1-.25.25H1.75a.25.25 0 0 1-.25-.25v-6.5z'/>"},{size:24,svgContent:"<path d='M16.5 7a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zM15 10.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0z'/><path d='M3 3a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3v2a1 1 0 1 0 2 0v-2h14v2a1 1 0 1 0 2 0v-2a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H3zm18 13H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},84350:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2.92 2.375A2.75 2.75 0 0 1 5.303 1h5.395c.983 0 1.89.524 2.382 1.375L14.017 4h1.233a.75.75 0 0 1 0 1.5h-.237c.989.9.988 2.117.987 2.707v7.043a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1-.75-.75V14H3v1.25a.75.75 0 0 1-.75.75H.75a.75.75 0 0 1-.75-.75V8.207C0 7.617-.002 6.4.987 5.5H.75a.75.75 0 0 1 0-1.5h1.233l.938-1.625zm2.382.125c-.446 0-.859.238-1.082.625L3.137 5h9.726L11.78 3.125a1.25 1.25 0 0 0-1.083-.625H5.302zm8.57 4H2.128a2.72 2.72 0 0 1-.055.046c-.473.377-.556.894-.57 1.454h2.429a1 1 0 0 1 1 1v.5H1.5v3h13v-3h-3.43V9a1 1 0 0 1 1-1h2.427c-.013-.56-.096-1.077-.569-1.454a2.585 2.585 0 0 1-.055-.046z'/>"},{size:24,svgContent:"<path d='M12 19c2.036 0 4.039-.142 6-.415V20.5a1.5 1.5 0 0 0 1.5 1.5h3a1.5 1.5 0 0 0 1.5-1.5V10.45c0-1.49-.83-2.785-2.05-3.45H23a1 1 0 1 0 0-2h-2.405l-.866-1.5A5 5 0 0 0 15.4 1H8.601a5 5 0 0 0-4.33 2.5L3.405 5H1a1 1 0 0 0 0 2h1.05A3.925 3.925 0 0 0 0 10.45V20.5A1.5 1.5 0 0 0 1.5 22h3A1.5 1.5 0 0 0 6 20.5v-1.915c1.961.273 3.964.415 6 .415zM6.003 4.5A3 3 0 0 1 8.6 3h6.798a3 3 0 0 1 2.598 1.5l1.346 2.331A40.23 40.23 0 0 1 12 7.504c-2.51 0-4.963-.231-7.343-.673L6.003 4.5zM12 9.504a42.17 42.17 0 0 0 8.652-.893l.018.006a1.93 1.93 0 0 1 1.317 1.605c-.045.049-.12.115-.241.196-.249.163-.604.324-1.048.47-.885.293-1.955.474-2.797.558a1 1 0 1 0 .198 1.99c.93-.092 2.155-.294 3.226-.648.227-.075.454-.16.675-.254v3.238A41.282 41.282 0 0 1 12 17a41.282 41.282 0 0 1-10-1.228v-3.238c.221.095.448.179.675.254 1.07.354 2.297.556 3.226.649a1 1 0 0 0 .198-1.99c-.842-.085-1.912-.266-2.797-.558-.443-.147-.8-.308-1.048-.471a1.319 1.319 0 0 1-.24-.195A1.93 1.93 0 0 1 3.33 8.617l.018-.006A42.17 42.17 0 0 0 12 9.504zm8 8.753a43.78 43.78 0 0 0 2-.426V20h-2v-1.743zm-18-.426c.66.157 1.328.3 2 .426V20H2v-2.17z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},8337:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2 3.75C2 2.784 2.784 2 3.75 2h8.5c.966 0 1.75.784 1.75 1.75v6.5A1.75 1.75 0 0 1 12.25 12h-8.5A1.75 1.75 0 0 1 2 10.25v-6.5zm1.75-.25a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-6.5a.25.25 0 0 0-.25-.25h-8.5zM.25 15.25A.75.75 0 0 1 1 14.5h14a.75.75 0 0 1 0 1.5H1a.75.75 0 0 1-.75-.75z'/>"},{size:24,svgContent:"<path d='M0 21a1 1 0 0 1 1-1h22a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zM3 5a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V5zm3-1a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H6z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},39840:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/><path d='M4.75 0A1.75 1.75 0 0 0 3 1.75v12.5c0 .966.784 1.75 1.75 1.75h6.5A1.75 1.75 0 0 0 13 14.25V1.75A1.75 1.75 0 0 0 11.25 0h-6.5zM4.5 1.75a.25.25 0 0 1 .25-.25h6.5a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25h-6.5a.25.25 0 0 1-.25-.25V1.75z'/>"},{size:24,svgContent:"<path d='M5 5a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V5zm3-1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H8z'/><path d='M13.25 16.75a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},99040:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11 12.75a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/><path d='M6 2.75C6 1.784 6.783 1 7.75 1h6.5c.966 0 1.75.784 1.75 1.75v11.5A1.75 1.75 0 0 1 14.25 16h-6.5A1.75 1.75 0 0 1 6 14.25V2.75zm1.75-.25a.25.25 0 0 0-.25.25v11.5c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25h-6.5zm-6 0a.25.25 0 0 0-.25.25v11.5c0 .138.112.25.25.25h2.375V16H1.75A1.75 1.75 0 0 1 0 14.25V2.75C0 1.784.784 1 1.75 1h2.375v1.5H1.75z'/><path d='M12 5.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/>"},{size:24,svgContent:"<path d='M10 19a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3h-8a3 3 0 0 0-3 3v14zm3 1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-8z'/><path d='M18.25 7.25a1.25 1.25 0 1 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM17 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-3.5-1.5a3.5 3.5 0 1 0 7 0 3.5 3.5 0 0 0-7 0zM0 5a3 3 0 0 1 3-3h4v2H3a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h4v2H3a3 3 0 0 1-3-3V5z'/><path d='M5.75 7.25C5.75 6.56 6.31 6 7 6v2.5c-.69 0-1.25-.56-1.25-1.25zM7 16a1.5 1.5 0 0 1 0-3v-2a3.5 3.5 0 1 0 0 7v-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},57266:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6 2.75C6 1.784 6.784 1 7.75 1h6.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 14.25 15h-6.5A1.75 1.75 0 0 1 6 13.25V2.75zm1.75-.25a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25h-6.5zm-6 0a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25H4V11H1.75A1.75 1.75 0 0 1 0 9.25v-6.5C0 1.784.784 1 1.75 1H4v1.5H1.75zM4 15H2v-1.5h2V15z'/><path d='M13 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm-1-5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/>"},{size:24,svgContent:"<path d='M10 19a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3h-8a3 3 0 0 0-3 3v14zm3 1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-8z'/><path d='M18.25 7.25a1.25 1.25 0 1 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM17 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-3.5-1.5a3.5 3.5 0 1 0 7 0 3.5 3.5 0 0 0-7 0zM0 4a2 2 0 0 1 2-2h5v2H2v11h5v2H2a2 2 0 0 1-2-2V4zm7 18H4v-2h3v2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},7143:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 6.438c.552 0 1-.434 1-.969 0-.535-.448-.969-1-.969s-1 .434-1 .969c0 .535.448.969 1 .969zm0 6.312a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5z'/><path d='M2.002 2.75c0-.966.784-1.75 1.75-1.75h8.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75h-8.5a1.75 1.75 0 0 1-1.75-1.75V2.75zm1.75-.25a.25.25 0 0 0-.25.25v11.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25h-8.5z'/>"},{size:24,svgContent:"<path d='M5 19a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v14zm3 1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H8z'/><path d='M13.25 7.25a1.25 1.25 0 1 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM12 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-3.5-1.5a3.5 3.5 0 1 0 7 0 3.5 3.5 0 0 0-7 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},11118:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1 1.75C1 .784 1.784 0 2.75 0h10.5C14.216 0 15 .784 15 1.75v12.5A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25V1.75zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H2.75z'/><path d='M9 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/>"},{size:24,svgContent:"<path d='M3 5a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V5zm3-1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H6z'/><path d='M13.25 16.75a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},3052:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 14.25 12H1.75A1.75 1.75 0 0 1 0 10.25v-7.5zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25H1.75zm2.5 12.75A.75.75 0 0 1 5 14.5h6a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75z'/>"},{size:24,svgContent:"<path d='M4 2a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H4zM3 5a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5zm4 16a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},93847:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6 2.75C6 1.784 6.784 1 7.75 1h6.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 14.25 15h-6.5A1.75 1.75 0 0 1 6 13.25V2.75zm1.75-.25a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25h-6.5zm-6 0a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25H4V11H1.75A1.75 1.75 0 0 1 0 9.25v-6.5C0 1.784.784 1 1.75 1H4v1.5H1.75zM4 15H2v-1.5h2V15z'/><path d='M13 10a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm-1-5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/>"},{size:24,svgContent:"<path d='M10 19a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3h-8a3 3 0 0 0-3 3v14zm3 1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-8z'/><path d='M18.25 7.25a1.25 1.25 0 1 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM17 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-3.5-1.5a3.5 3.5 0 1 0 7 0 3.5 3.5 0 0 0-7 0zM0 4a2 2 0 0 1 2-2h5v2H2v11h5v2H2a2 2 0 0 1-2-2V4zm7 18H4v-2h3v2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},87126:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7.813 14.497A6.5 6.5 0 0 1 1.5 8.016c.008-3.553 2.71-5.744 5.043-6.078.85-.121 1.288.037 1.564.246.312.238.553.639.822 1.276.077.184.156.386.239.602.451 1.167 1.05 2.717 2.505 3.81 1.01.76 1.46 1.529 1.592 2.209.13.679-.037 1.375-.468 2.03-.88 1.34-2.793 2.388-4.844 2.388-.046 0-.093 0-.14-.002Zm-.037 1.5A8 8 0 1 0 0 8.032c0 4.34 3.464 7.87 7.776 7.965Zm6.666-7.124c-.358-.788-.979-1.532-1.868-2.2-1.082-.813-1.51-1.9-1.967-3.06a30.59 30.59 0 0 0-.296-.736 6.285 6.285 0 0 0-.605-1.151 6.529 6.529 0 0 1 4.39 4.01 6.485 6.485 0 0 1 .346 3.137Z'/>"},{size:24,svgContent:"<path d='M11.74 20.997A9 9 0 0 1 3 12.022c.011-4.92 3.754-7.955 6.986-8.417 1.178-.169 1.792.05 2.183.346.438.333.774.894 1.144 1.773.108.256.216.536.332.834.622 1.61 1.444 3.737 3.443 5.239 1.398 1.05 2.026 2.118 2.208 3.066.183.948-.052 1.917-.65 2.827-1.22 1.858-3.87 3.31-6.71 3.31l-.195-.003Zm-.05 2c.103.002.207.003.31.003 6.076 0 11-4.924 11-11a10.98 10.98 0 0 0-2.47-6.947 11.04 11.04 0 0 0-3.61-2.894A10.958 10.958 0 0 0 12 1C5.925 1 1 5.925 1 12a8.067 8.067 0 0 0 0 .045c0 5.966 4.762 10.82 10.69 10.951Zm9.213-9.666c-.482-1.123-1.35-2.183-2.614-3.133-1.502-1.128-2.096-2.64-2.726-4.24a42.677 42.677 0 0 0-.407-1.01c-.234-.556-.51-1.138-.886-1.66.613.16 1.2.381 1.754.659a9.04 9.04 0 0 1 4.417 4.92 9.075 9.075 0 0 1 .463 4.464Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},85212:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.995 8.745a.75.75 0 0 1 1.06 0L7.25 9.939V4a.75.75 0 0 1 1.5 0v5.94l1.195-1.195a.75.75 0 1 1 1.06 1.06L8 12.811l-.528-.528a.945.945 0 0 1-.005-.005L4.995 9.805a.75.75 0 0 1 0-1.06z'/><path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13z'/>"},{size:24,svgContent:"<path d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12z'/><path d='M12 6.05a1 1 0 0 1 1 1v7.486l1.793-1.793a1 1 0 1 1 1.414 1.414L12 18.364l-4.207-4.207a1 1 0 1 1 1.414-1.414L11 14.536V7.05a1 1 0 0 1 1-1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},21383:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-4.75a.75.75 0 0 0-.75.75v5.94L6.055 8.744a.75.75 0 1 0-1.06 1.06L8 12.811l3.005-3.006a.75.75 0 1 0-1.06-1.06L8.75 9.939V4A.75.75 0 0 0 8 3.25z'/>"},{size:24,svgContent:"<path d='M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm12-4.95a1 1 0 0 0-2 0v7.486l-1.793-1.793a1 1 0 0 0-1.414 1.414L12 18.364l4.207-4.207a1 1 0 0 0-1.414-1.415L13 14.535V7.05z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},17652:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.838.714a2.438 2.438 0 0 1 3.448 3.448l-9.841 9.841c-.358.358-.79.633-1.267.806l-3.173 1.146a.75.75 0 0 1-.96-.96l1.146-3.173c.173-.476.448-.909.806-1.267l9.84-9.84zm2.387 1.06a.938.938 0 0 0-1.327 0l-9.84 9.842a1.953 1.953 0 0 0-.456.716L2 14.002l1.669-.604a1.95 1.95 0 0 0 .716-.455l9.841-9.841a.938.938 0 0 0 0-1.327z'/>"},{size:24,svgContent:"<path d='M17.318 1.975a3.329 3.329 0 1 1 4.707 4.707L8.451 20.256c-.49.49-1.082.867-1.735 1.103L2.34 22.94a1 1 0 0 1-1.28-1.28l1.581-4.376a4.726 4.726 0 0 1 1.103-1.735L17.318 1.975zm3.293 1.414a1.329 1.329 0 0 0-1.88 0L5.159 16.963c-.283.283-.5.624-.636 1l-.857 2.372 2.371-.857a2.726 2.726 0 0 0 1.001-.636L20.611 5.268a1.329 1.329 0 0 0 0-1.879z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},52396:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M5.295 4.5a.75.75 0 0 1 .747.682c.06.65.334 1.68.954 2.572.606.87 1.527 1.596 2.927 1.75a.75.75 0 0 1 0 1.491c-1.4.154-2.321.88-2.927 1.751a5.683 5.683 0 0 0-.954 2.572.75.75 0 0 1-1.493 0 5.683 5.683 0 0 0-.954-2.572c-.606-.87-1.527-1.597-2.927-1.75a.75.75 0 0 1 0-1.492c1.4-.154 2.321-.88 2.927-1.75.62-.892.894-1.922.954-2.572a.75.75 0 0 1 .746-.682zm-2.2 5.75a5.664 5.664 0 0 1 1.732 1.64c.178.256.333.52.468.785.136-.265.291-.529.47-.785a5.664 5.664 0 0 1 1.73-1.64 5.663 5.663 0 0 1-1.73-1.64 6.724 6.724 0 0 1-.47-.785c-.135.265-.29.529-.468.785a5.663 5.663 0 0 1-1.732 1.64zm5.884-6.448c1.603-.508 2.434-1.776 2.798-2.83.04-.114.406-.114.446 0 .364 1.054 1.195 2.322 2.798 2.83.115.036.115.36 0 .396-1.603.508-2.434 1.775-2.798 2.83-.04.114-.406.114-.446 0-.364-1.055-1.195-2.322-2.798-2.83-.115-.036-.115-.36 0-.396z'/>"},{size:24,svgContent:"<path d='M10 1.5a1 1 0 0 1 .995.906c.123 1.289.685 3.314 1.963 5.078 1.257 1.734 3.197 3.21 6.147 3.521a1 1 0 0 1 0 1.99c-2.95.31-4.89 1.787-6.148 3.521-1.277 1.764-1.84 3.789-1.962 5.078a1 1 0 0 1-1.99 0c-.123-1.289-.685-3.315-1.962-5.078-1.258-1.734-3.198-3.21-6.148-3.522a1 1 0 0 1 0-1.989c2.95-.31 4.89-1.787 6.148-3.521 1.277-1.764 1.84-3.79 1.961-5.078A1 1 0 0 1 10 1.5zM4.702 12c1.708.817 3.004 2.024 3.96 3.343A12.55 12.55 0 0 1 10 17.698c.343-.788.784-1.59 1.338-2.355.956-1.319 2.252-2.526 3.96-3.343-1.708-.817-3.005-2.024-3.96-3.343A12.573 12.573 0 0 1 10 6.301a12.575 12.575 0 0 1-1.338 2.356C7.706 9.976 6.41 11.183 4.702 12zm12.277-8.198c1.602-.508 2.434-1.776 2.798-2.83.04-.114.406-.114.446 0 .364 1.054 1.196 2.322 2.798 2.83.115.036.115.36 0 .396-1.602.508-2.434 1.775-2.798 2.83-.04.114-.406.114-.446 0-.364-1.055-1.196-2.322-2.798-2.83-.115-.036-.115-.36 0-.396zM21.5 19.597a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},39803:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1 0a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H1zm7.975 4.287c1.268-.448 1.959-1.448 2.288-2.318.042-.113.432-.113.474 0 .33.87 1.02 1.87 2.288 2.318.113.04.113.386 0 .426-1.268.448-1.959 1.448-2.288 2.319-.042.112-.432.112-.474 0-.33-.87-1.02-1.871-2.288-2.319-.113-.04-.113-.386 0-.426zM1.893 9.33c2.347-.647 3.474-2.68 3.904-4.25.033-.118.373-.118.406 0 .43 1.57 1.557 3.603 3.904 4.25.115.032.115.308 0 .34-2.347.648-3.474 2.68-3.904 4.25-.033.118-.373.118-.406 0-.43-1.57-1.557-3.602-3.904-4.25-.115-.032-.115-.308 0-.34z'/>"},{size:24,svgContent:"<path d='M3 1a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H3zm11.975 5.302c1.268-.447 1.959-1.448 2.288-2.318.042-.113.432-.113.474 0 .33.87 1.02 1.871 2.288 2.318.113.04.113.387 0 .427-1.268.447-1.959 1.448-2.288 2.318-.042.113-.432.113-.474 0-.33-.87-1.02-1.87-2.288-2.318-.113-.04-.113-.386 0-.427zM19.5 18a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM2.99 12.352C7.389 11.47 9.27 7.9 9.833 5.485c.027-.118.307-.118.334 0 .563 2.414 2.444 5.984 6.843 6.867.119.024.119.272 0 .296-4.4.883-6.28 4.454-6.843 6.867-.027.118-.307.118-.334 0-.563-2.413-2.444-5.984-6.843-6.867-.119-.024-.119-.272 0-.296z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},68179:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 2.75A.75.75 0 0 1 .75 2h14.5a.75.75 0 0 1 .75.75v3.5a1.749 1.749 0 1 0 0 3.5v3.5a.75.75 0 0 1-.75.75H.75a.75.75 0 0 1-.75-.75v-3.5a1.75 1.75 0 1 0 0-3.5v-3.5Zm1.5 9.75h4v-9h-4v1.616a3.25 3.25 0 0 1 0 5.768V12.5Zm13-7.384V3.5H7v9h7.5v-1.616a3.25 3.25 0 0 1 0-5.768Z'/>"},{size:24,svgContent:"<path d='M0 4a1 1 0 0 1 1-1h22a1 1 0 0 1 1 1v5c-.768 0-1.47.289-2 .764-.614.55-1 1.348-1 2.236a2.99 2.99 0 0 0 1 2.236c.53.475 1.232.764 2 .764v5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1v-5c.768 0 1.47-.289 2-.764.614-.55 1-1.348 1-2.236a2.99 2.99 0 0 0-1-2.236A2.989 2.989 0 0 0 0 9V4Zm2 12.584V19h6V5H2v2.416a5.001 5.001 0 0 1 0 9.168ZM22 19v-2.416a5.001 5.001 0 0 1 0-9.168V5H10v14h12Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},45893:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 2.75A.75.75 0 0 1 .75 2H5.5v12H7V2h8.25a.75.75 0 0 1 .75.75v3.5a1.75 1.75 0 1 0 0 3.5v3.5a.75.75 0 0 1-.75.75H.75a.75.75 0 0 1-.75-.75v-3.5a1.75 1.75 0 1 0 0-3.5v-3.5Z'/>"},{size:24,svgContent:"<path d='M0 4a1 1 0 0 1 1-1h22a1 1 0 0 1 1 1v5a3 3 0 1 0 0 6v5a1 1 0 0 1-1 1H10V3H8v18H1a1 1 0 0 1-1-1v-5a3 3 0 1 0 0-6V4Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},68637:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M7.25 9V4h1.5v5h-1.5zm0 3.026v-1.5h1.5v1.5h-1.5z'/>"},{size:24,svgContent:"<path d='M11 18v-2h2v2h-2zm0-4V6h2v8h-2z'/><path d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},34799:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.25-5v7h1.5V3h-1.5zm0 8.526v1.5h1.5v-1.5h-1.5z'/>"},{size:24,svgContent:"<path d='M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm10 5v2h2v-2h-2zm0-11v9h2V6h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},75721:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1 2.75A.75.75 0 0 1 1.75 2H7v1.5H2.5v11h10.219V9h1.5v6.25a.75.75 0 0 1-.75.75H1.75a.75.75 0 0 1-.75-.75V2.75z'/><path d='M15 1v4.993a.75.75 0 1 1-1.5 0V3.56L8.78 8.28a.75.75 0 0 1-1.06-1.06l4.72-4.72h-2.433a.75.75 0 0 1 0-1.5H15z'/>"},{size:24,svgContent:"<path d='M3 5a1 1 0 0 1 1-1h8v2H5v14h13v-8h2v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5z'/><path d='M22 2v5.95a1 1 0 1 1-2 0V5.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L18.586 4H16.05a1 1 0 0 1 0-2H22z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},6900:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M16 8a8 8 0 1 0-9.25 7.903v-5.59H4.719V8H6.75V6.237c0-2.005 1.194-3.112 3.022-3.112.875 0 1.79.156 1.79.156V5.25h-1.008c-.994 0-1.304.617-1.304 1.25V8h2.219l-.355 2.313H9.25v5.59A8.002 8.002 0 0 0 16 8z'/>"},{size:24,svgContent:"<path d='M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.093 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.563V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},78840:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1.75 1A1.75 1.75 0 0 0 0 2.75v11.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0 0 16 14.25v-9.5A1.75 1.75 0 0 0 14.25 3H7.82l-.65-1.125A1.75 1.75 0 0 0 5.655 1H1.75zM1.5 2.75a.25.25 0 0 1 .25-.25h3.905a.25.25 0 0 1 .216.125L6.954 4.5h7.296a.25.25 0 0 1 .25.25v9.5a.25.25 0 0 1-.25.25H1.75a.25.25 0 0 1-.25-.25V2.75z'/>"},{size:24,svgContent:"<path d='M1 4a2 2 0 0 1 2-2h5.155a3 3 0 0 1 2.598 1.5l.866 1.5H21a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4zm7.155 0H3v16h18V7H10.464L9.021 4.5a1 1 0 0 0-.866-.5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},73114:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1.75 1A1.75 1.75 0 0 0 0 2.75v11.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0 0 16 14.25v-9.5A1.75 1.75 0 0 0 14.25 3H7.82l-.65-1.125A1.75 1.75 0 0 0 5.655 1H1.75z'/>"},{size:24,svgContent:"<path d='M1 4a2 2 0 0 1 2-2h5.155a3 3 0 0 1 2.598 1.5l.866 1.5H21a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},88647:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.765 1.423c-.42.459-.713.992-.903 1.554-.144.421-.264 1.173-.22 1.894.077 1.321.638 2.408 1.399 3.316v.002l.083.098c.611.293 1.16.696 1.621 1.183a2.244 2.244 0 0 0-.426-2.092l-.127-.153-.002-.001c-.612-.73-.997-1.52-1.051-2.442-.032-.54.066-1.097.143-1.323a2.85 2.85 0 0 1 .589-1.022 2.888 2.888 0 0 1 4.258 0c.261.284.456.628.59 1.022.076.226.175.783.143 1.323-.055.921-.44 1.712-1.052 2.442l-.002.001-.127.153a2.25 2.25 0 0 0 .603 3.39l2.209 1.275a3.248 3.248 0 0 1 1.605 2.457h-5.99a5.466 5.466 0 0 1-.594 1.5h8.259l-.184-1.665a4.75 4.75 0 0 0-2.346-3.591l-2.209-1.275a.75.75 0 0 1-.201-1.13l.126-.152h.001c.76-.909 1.32-1.995 1.399-3.316.043-.721-.077-1.473-.22-1.894a4.46 4.46 0 0 0-.644-1.24v-.002h-.002a4.388 4.388 0 0 0-6.728-.312zM2 12.5v-2h1.5v2h2V14h-2v2H2v-2H0v-1.5h2z'/>"},{size:24,svgContent:"<path d='M4.99 3h2.993v2H4.99v3H2.994V5H0V3h2.994V0h1.995v3zm7.288-.533a5.494 5.494 0 0 1 6.275 1.322 5.467 5.467 0 0 1 1.133 1.953c.18.532.33 1.474.277 2.378-.098 1.659-.8 3.02-1.749 4.156l-.432.52a.5.5 0 0 0 .134.752l3.59 2.077A5.002 5.002 0 0 1 24 19.955V22H4.99v-2.045a5 5 0 0 1 2.494-4.33l3.59-2.077a.5.5 0 0 0 .133-.753l-.43-.518-.002-.001c-.949-1.135-1.65-2.497-1.749-4.156-.053-.904.097-1.846.277-2.378a5.468 5.468 0 0 1 1.133-1.953 5.505 5.505 0 0 1 1.842-1.322zM14.494 4a3.503 3.503 0 0 0-2.586 1.14 3.47 3.47 0 0 0-.715 1.245c-.092.272-.213.954-.174 1.617.066 1.124.536 2.092 1.287 2.99l.001.002.433.52a2.503 2.503 0 0 1-.669 3.767l-3.589 2.076a3.001 3.001 0 0 0-1.497 2.598V20h15.02v-.045a3.002 3.002 0 0 0-1.498-2.598l-3.589-2.076a2.503 2.503 0 0 1-.669-3.766l.433-.52.002-.003c.75-.898 1.22-1.866 1.287-2.99.039-.663-.082-1.345-.174-1.617-.163-.48-.4-.9-.715-1.245A3.51 3.51 0 0 0 14.494 4z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},67311:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6.53 9.47a.75.75 0 0 1 0 1.06l-2.72 2.72h1.018a.75.75 0 0 1 0 1.5H1.25v-3.579a.75.75 0 0 1 1.5 0v1.018l2.72-2.72a.75.75 0 0 1 1.06 0zm2.94-2.94a.75.75 0 0 1 0-1.06l2.72-2.72h-1.018a.75.75 0 1 1 0-1.5h3.578v3.579a.75.75 0 0 1-1.5 0V3.81l-2.72 2.72a.75.75 0 0 1-1.06 0z'/>"},{size:24,svgContent:"<path d='M9.707 14.293a1 1 0 0 1 0 1.414L5.414 20h1.829a1 1 0 0 1 0 2H2v-5.243a1 1 0 0 1 2 0v1.829l4.293-4.293a1 1 0 0 1 1.414 0zm4.586-4.586a1 1 0 0 1 0-1.414L18.586 4h-1.829a1 1 0 0 1 0-2H22v5.243a1 1 0 1 1-2 0V5.414l-4.293 4.293a1 1 0 0 1-1.414 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},59008:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.423 2.5a1.25 1.25 0 0 0-1.224.995l-1.652 7.923a1.313 1.313 0 0 0 2.423.925l1.57-2.718A1.25 1.25 0 0 1 6.622 9h2.756c.447 0 .86.238 1.083.625l1.57 2.718a1.313 1.313 0 0 0 2.422-.924l-1.652-7.924a1.25 1.25 0 0 0-1.224-.995H4.423zm-2.692.689A2.75 2.75 0 0 1 4.423 1h7.154a2.75 2.75 0 0 1 2.692 2.189l1.653 7.923a2.813 2.813 0 0 1-5.19 1.981L9.233 10.5H6.766L5.27 13.093a2.813 2.813 0 0 1-5.19-1.98l1.65-7.925z'/><path d='M7 5.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0zm2 0a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0z'/>"},{size:24,svgContent:"<path d='M7.041 4a2.5 2.5 0 0 0-2.447 1.99L2.22 17.372a2.183 2.183 0 0 0 4.274.89l.474-2.272A2.5 2.5 0 0 1 9.415 14h5.17a2.5 2.5 0 0 1 2.447 1.99l.474 2.273a2.183 2.183 0 0 0 4.274-.892L19.406 5.99A2.5 2.5 0 0 0 16.96 4H7.04zM2.636 5.581A4.5 4.5 0 0 1 7.04 2h9.918a4.5 4.5 0 0 1 4.405 3.581l2.374 11.382a4.183 4.183 0 1 1-8.19 1.708l-.474-2.273a.5.5 0 0 0-.49-.398H9.416a.5.5 0 0 0-.49.398l-.473 2.273a4.183 4.183 0 1 1-8.19-1.708L2.636 5.581z'/><path d='M10 8.75a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0zm4 0a1.75 1.75 0 1 0 3.5 0 1.75 1.75 0 0 0-3.5 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},28906:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.51 7.587-1.09-.405a.549.549 0 0 1-.3-.413.529.529 0 0 1 .1-.472l.8-.846a.764.764 0 0 0 .13-.87 8.292 8.292 0 0 0-2.082-2.644.746.746 0 0 0-.865-.065l-.9.551a.565.565 0 0 1-.543-.017.59.59 0 0 1-.349-.42L10.273.922a.764.764 0 0 0-.194-.418.748.748 0 0 0-.396-.227 8.095 8.095 0 0 0-3.339 0 .748.748 0 0 0-.396.227.764.764 0 0 0-.194.417L5.62 1.954a.633.633 0 0 1-.369.442.602.602 0 0 1-.569.016l-.88-.538a.744.744 0 0 0-.865.066c-.432.363-.826.77-1.175 1.216-.35.443-.654.923-.906 1.43a.768.768 0 0 0 .13.87l.784.825a.537.537 0 0 1 .1.484.575.575 0 0 1-.3.425l-1.082.405a.752.752 0 0 0-.359.284.767.767 0 0 0-.13.441 8.391 8.391 0 0 0 .743 3.298.752.752 0 0 0 .751.44l1.294-.122a.445.445 0 0 1 .366.19.467.467 0 0 1 .11.413l-.4 1.234a.77.77 0 0 0 .257.84 8.135 8.135 0 0 0 3.007 1.468.733.733 0 0 0 .537-.07.75.75 0 0 0 .27-.252l.76-1.175a.456.456 0 0 1 .64.014l.75 1.162a.75.75 0 0 0 .807.32 8.177 8.177 0 0 0 3.008-1.467.76.76 0 0 0 .255-.84l-.41-1.26a.455.455 0 0 1 .107-.396.409.409 0 0 1 .354-.184l1.3.123a.745.745 0 0 0 .75-.441 8.346 8.346 0 0 0 .743-3.297.77.77 0 0 0-.128-.444.754.754 0 0 0-.36-.287zm-1.176 2.076a6.85 6.85 0 0 1-.24.822l-.747-.071a1.92 1.92 0 0 0-.918.16 1.946 1.946 0 0 0-.738.576 1.945 1.945 0 0 0-.37 1.835l.236.724a6.381 6.381 0 0 1-.737.42 6.49 6.49 0 0 1-.784.323l-.447-.692a1.889 1.889 0 0 0-.69-.621A1.86 1.86 0 0 0 8 12.925a1.823 1.823 0 0 0-.883.21 1.85 1.85 0 0 0-.678.613l-.455.709a6.662 6.662 0 0 1-1.522-.743l.228-.7a1.981 1.981 0 0 0-.376-1.852 1.961 1.961 0 0 0-.743-.579 1.934 1.934 0 0 0-.923-.161l-.741.07a6.847 6.847 0 0 1-.376-1.667l.563-.212c.31-.13.583-.335.8-.595a2.145 2.145 0 0 0 .427-1.905 2.143 2.143 0 0 0-.466-.888l-.4-.421c.293-.49.647-.939 1.053-1.337l.405.248a2.071 2.071 0 0 0 2 .047c.316-.146.591-.37.8-.651.21-.281.347-.61.4-.958l.062-.476a6.637 6.637 0 0 1 1.69 0l.065.507c.059.341.197.664.404.94a2.128 2.128 0 0 0 2.748.598l.429-.261a6.76 6.76 0 0 1 1.053 1.337l-.421.443a2.146 2.146 0 0 0-.037 2.772c.214.258.486.46.794.59l.57.215a6.948 6.948 0 0 1-.136.845zM7.98 4.787a3.22 3.22 0 0 0-1.805.555 3.278 3.278 0 0 0-1.197 1.477 3.333 3.333 0 0 0-.185 1.903c.125.638.435 1.225.89 1.686a3.228 3.228 0 0 0 3.541.713 3.26 3.26 0 0 0 1.458-1.212 3.324 3.324 0 0 0-.405-4.157 3.232 3.232 0 0 0-2.297-.965zm0 5.065c-.346 0-.684-.104-.972-.299a1.768 1.768 0 0 1-.644-.795 1.795 1.795 0 0 1 .379-1.932 1.729 1.729 0 0 1 1.907-.384c.32.133.593.36.785.652a1.79 1.79 0 0 1-.218 2.238 1.74 1.74 0 0 1-1.237.52z'/>"},{size:24,svgContent:"<path d='m23.2 11.362-1.628-.605a.924.924 0 0 1-.52-.7.88.88 0 0 1 .18-.805l1.2-1.25a1 1 0 0 0 .172-1.145 12.075 12.075 0 0 0-3.084-3.865 1 1 0 0 0-1.154-.086l-1.35.814a.982.982 0 0 1-.931-.02 1.01 1.01 0 0 1-.59-.713l-.206-1.574a1 1 0 0 0-.787-.848 12.15 12.15 0 0 0-4.945 0 1 1 0 0 0-.785.848l-.2 1.524a1.054 1.054 0 0 1-.62.747 1.024 1.024 0 0 1-.968.02l-1.318-.795a1 1 0 0 0-1.152.086 12.118 12.118 0 0 0-3.085 3.867 1 1 0 0 0 .174 1.143l1.174 1.218a.91.91 0 0 1 .182.828.949.949 0 0 1-.532.714l-1.618.6a1 1 0 0 0-.653.955 12.133 12.133 0 0 0 1.1 4.822 1 1 0 0 0 1 .578l1.935-.183a.83.83 0 0 1 .654.327.794.794 0 0 1 .188.726l-.6 1.822a1 1 0 0 0 .34 1.106c.66.504 1.369.94 2.117 1.3.748.36 1.532.642 2.338.841a.988.988 0 0 0 .715-.09 1 1 0 0 0 .362-.332l1.136-1.736a.81.81 0 0 1 1.16.022l1.124 1.714a1 1 0 0 0 1.077.422c1.617-.4 3.133-1.13 4.454-2.145a1 1 0 0 0 .341-1.106l-.613-1.859a.771.771 0 0 1 .18-.7.78.78 0 0 1 .635-.317l1.945.183a.994.994 0 0 0 1-.578 12.133 12.133 0 0 0 1.1-4.822 1 1 0 0 0-.643-.953zm-1.6 2.977c-.103.448-.237.888-.4 1.318l-1.213-.115a2.851 2.851 0 0 0-2.9 3.637l.383 1.16a10.09 10.09 0 0 1-2.473 1.191l-.72-1.1a2.691 2.691 0 0 0-2.275-1.18 2.637 2.637 0 0 0-2.232 1.16l-.735 1.12a10.117 10.117 0 0 1-2.471-1.19l.37-1.125a2.879 2.879 0 0 0-2.93-3.669l-1.2.113a10.46 10.46 0 0 1-.4-1.317 10.09 10.09 0 0 1-.214-1.358l.93-.345a3.032 3.032 0 0 0 1.095-4.8L3.55 7.15a10.158 10.158 0 0 1 1.71-2.146l.688.415a3 3 0 0 0 2.875.066 3.022 3.022 0 0 0 1.726-2.283l.105-.8a10.174 10.174 0 0 1 2.745 0l.11.844a3.099 3.099 0 0 0 4.542 2.184l.721-.435a10.22 10.22 0 0 1 1.712 2.146l-.694.72a3.005 3.005 0 0 0 1.084 4.768l.942.35c-.042.457-.113.912-.215 1.36H21.6zM12 7.001a5 5 0 1 0 5 5 5.006 5.006 0 0 0-4.993-5H12zm0 8a3 3 0 1 1 .007 0H12z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},50363:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1 1h6v6H1V1zm1.5 1.5v3h3v-3h-3zM1 9h6v6H1V9zm1.5 1.5v3h3v-3h-3zM9 1h6v6H9V1zm1.5 1.5v3h3v-3h-3zM9 9h6v6H9V9zm1.5 1.5v3h3v-3h-3z'/>"},{size:24,svgContent:"<path d='M1 2a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2zm2 1v5h5V3H3zM1 15a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-7zm2 1v5h5v-5H3zM14 2a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V2zm2 1v5h5V3h-5zm-2 12a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1v-7zm2 1v5h5v-5h-5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},72420:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3.5 8.75a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm3 3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm3 3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm3 3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-3a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Z'/>"},{size:24,svgContent:"<path d='M6 13a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-4a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 4a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-4a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 4a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-4a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 4a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-4a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},69438:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7.25 3.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm3 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-3 3a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm3 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-3 3a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm3 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-3 3a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm3 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z'/>"},{size:24,svgContent:"<path d='M11 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-4 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-4 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-4 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},347:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3.849 10.034c-.021-.465.026-.93.139-1.381H1.669c.143-.303.375-.556.665-.724l.922-.532a1.631 1.631 0 0 0 .436-2.458 1.809 1.809 0 0 1-.474-1.081c-.01-.19.01-.38.057-.563a1.123 1.123 0 0 1 .627-.7 1.2 1.2 0 0 1 .944 0c.149.065.282.161.392.281.108.12.188.263.237.417.049.183.068.372.057.561a1.81 1.81 0 0 1-.475 1.084 1.6 1.6 0 0 0-.124 1.9c.36-.388.792-.702 1.272-.927v-.015c.48-.546.768-1.233.821-1.958a3.23 3.23 0 0 0-.135-1.132 2.657 2.657 0 0 0-5.04 0c-.111.367-.157.75-.135 1.133.053.724.341 1.41.821 1.955A.126.126 0 0 1 2.565 6a.13.13 0 0 1-.063.091l-.922.532A3.2 3.2 0 0 0-.004 9.396v.75h3.866c.001-.033-.01-.071-.013-.112zm10.568-3.4-.922-.532a.132.132 0 0 1-.064-.091.12.12 0 0 1 .028-.1c.48-.546.768-1.233.821-1.958a3.289 3.289 0 0 0-.135-1.135A2.635 2.635 0 0 0 12.7 1.233a2.669 2.669 0 0 0-3.042.64 2.646 2.646 0 0 0-.554.948c-.11.367-.156.75-.134 1.133.053.724.341 1.41.821 1.955.005.006 0 .011 0 .018.48.225.911.54 1.272.927a1.6 1.6 0 0 0-.125-1.907 1.809 1.809 0 0 1-.474-1.081c-.01-.19.009-.38.057-.563a1.123 1.123 0 0 1 .627-.7 1.2 1.2 0 0 1 .944 0c.149.065.282.161.392.281.107.12.187.26.236.413.05.184.07.375.058.565a1.81 1.81 0 0 1-.475 1.084 1.633 1.633 0 0 0 .438 2.456l.922.532c.29.169.52.421.664.724h-2.319c.113.452.16.918.139 1.383 0 .04-.013.078-.017.117h3.866v-.75a3.2 3.2 0 0 0-1.58-2.778v.004zm-3.625 6-.922-.532a.13.13 0 0 1-.061-.144.122.122 0 0 1 .025-.047 3.33 3.33 0 0 0 .821-1.958 3.229 3.229 0 0 0-.135-1.132 2.657 2.657 0 0 0-5.041 0c-.11.367-.156.75-.134 1.133.053.724.341 1.41.821 1.955a.127.127 0 0 1 .028.106.128.128 0 0 1-.063.091l-.922.532a3.2 3.2 0 0 0-1.584 2.773v.75h8.75v-.75a3.2 3.2 0 0 0-1.583-2.781v.004zm-5.5 2.023c.143-.303.375-.556.665-.724l.922-.532a1.63 1.63 0 0 0 .436-2.458 1.809 1.809 0 0 1-.474-1.081c-.01-.19.009-.38.057-.563a1.123 1.123 0 0 1 .627-.7 1.2 1.2 0 0 1 .944 0c.149.065.282.161.392.281.108.12.188.263.237.417.049.183.068.372.057.561a1.81 1.81 0 0 1-.475 1.084 1.632 1.632 0 0 0 .438 2.456l.922.532c.29.169.52.421.664.724l-5.412.003z'/>"},{size:24,svgContent:"<path d='M6.112 13.497c-.014-.295-.01-.59.013-.885h-3.94c.216-.57.621-1.05 1.148-1.357l1.4-.807a2.337 2.337 0 0 0 .624-3.521 2.752 2.752 0 0 1-.654-2.63A1.85 1.85 0 0 1 5.728 3.16a1.915 1.915 0 0 1 2.182.458 1.9 1.9 0 0 1 .389.677 2.762 2.762 0 0 1-.657 2.633 2.326 2.326 0 0 0-.506 1.9c.034.188.092.37.173.544a4 4 0 0 1 .33-.4 5.922 5.922 0 0 1 1.978-1.418c.016-.007.033-.011.05-.018a4.687 4.687 0 0 0 .721-2.215 4.834 4.834 0 0 0-.2-1.668 3.891 3.891 0 0 0-7.383 0 4.791 4.791 0 0 0-.2 1.671 4.9 4.9 0 0 0 1.21 2.887.335.335 0 0 1-.09.506l-1.399.807A4.718 4.718 0 0 0-.007 13.61v1H6.27a6.549 6.549 0 0 1-.158-1.114zm15.549-3.974-1.4-.808a.329.329 0 0 1-.162-.231.334.334 0 0 1 .072-.273 4.908 4.908 0 0 0 1.212-2.889 4.836 4.836 0 0 0-.2-1.668 3.891 3.891 0 0 0-5.967-1.929A3.89 3.89 0 0 0 13.8 3.654a4.793 4.793 0 0 0-.2 1.671c.05.787.3 1.549.723 2.214.015.007.032.011.048.018.75.33 1.423.813 1.977 1.418.12.13.227.268.331.4a2.302 2.302 0 0 0-.334-2.451 2.752 2.752 0 0 1-.655-2.63 1.846 1.846 0 0 1 1.028-1.136 1.91 1.91 0 0 1 2.18.458 1.9 1.9 0 0 1 .388.677 2.762 2.762 0 0 1-.656 2.633 2.337 2.337 0 0 0 .624 3.519l1.4.808c.53.308.938.789 1.155 1.362h-3.942c.023.294.028.59.014.885a6.536 6.536 0 0 1-.165 1.115h6.277v-1a4.723 4.723 0 0 0-2.332-4.092zm-5.499 8.056-1.4-.808a.331.331 0 0 1-.156-.376.331.331 0 0 1 .067-.128 4.912 4.912 0 0 0 1.211-2.89 4.837 4.837 0 0 0-.2-1.668 3.891 3.891 0 0 0-7.382 0 4.792 4.792 0 0 0-.2 1.671 4.901 4.901 0 0 0 1.21 2.887.334.334 0 0 1-.09.506l-1.4.808a4.718 4.718 0 0 0-2.333 4.088v1h12.997v-1a4.72 4.72 0 0 0-2.324-4.09zm-8.48 3.088a2.665 2.665 0 0 1 1.15-1.356l1.399-.808a2.334 2.334 0 0 0 .625-3.52 2.753 2.753 0 0 1-.655-2.63 1.858 1.858 0 0 1 1.028-1.136 1.933 1.933 0 0 1 1.54 0 1.847 1.847 0 0 1 1.028 1.135c.079.296.11.602.094.908a2.884 2.884 0 0 1-.75 1.725 2.335 2.335 0 0 0 .624 3.518l1.4.808c.526.308.93.786 1.147 1.356h-8.63z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},34941:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.538 7.513c.16-.482.42-.925.761-1.3.072-.079.159-.139.237-.21l-.2-.113a.667.667 0 0 1-.179-1l.232-.278a2.836 2.836 0 0 0 .714-1.677 2.807 2.807 0 0 0-.106-.937A2.069 2.069 0 0 0 4.853.74a2.116 2.116 0 0 0-2.415.508 2.09 2.09 0 0 0-.435.75 2.78 2.78 0 0 0-.106.937c.047.622.298 1.212.714 1.677l.232.278a.666.666 0 0 1-.179 1l-1.331.768A2.668 2.668 0 0 0 0 8.968v.034h4.347a4.305 4.305 0 0 1 .191-1.489zm10.134-.856-1.331-.768a.666.666 0 0 1-.179-1l.232-.278a2.842 2.842 0 0 0 .714-1.677 2.806 2.806 0 0 0-.106-.937A2.068 2.068 0 0 0 12.858.739a2.116 2.116 0 0 0-2.415.508 2.09 2.09 0 0 0-.435.75 2.798 2.798 0 0 0-.106.937c.047.622.298 1.212.714 1.677l.232.278a.665.665 0 0 1-.179 1l-.2.113c.078.071.165.131.237.21.342.375.6.818.76 1.3.15.48.214.984.186 1.487H16v-.034a2.667 2.667 0 0 0-1.328-2.308zm-4 6-1.331-.769a.665.665 0 0 1-.179-1l.232-.278a2.724 2.724 0 0 0 .608-2.614 2.1 2.1 0 0 0-.435-.75 2.117 2.117 0 0 0-3.124 0 2.1 2.1 0 0 0-.435.75 2.78 2.78 0 0 0-.106.937c.047.622.298 1.212.714 1.677l.232.278a.666.666 0 0 1-.179 1l-1.331.769a2.666 2.666 0 0 0-1.333 2.309V15h8v-.034a2.666 2.666 0 0 0-1.333-2.305v-.004z'/>"},{size:24,svgContent:"<path d='m16.004 19.153-2-1.153a.999.999 0 0 1-.268-1.506l.347-.417c.624-.697 1-1.581 1.071-2.515a4.167 4.167 0 0 0-.159-1.406 3.144 3.144 0 0 0-.651-1.125 3.177 3.177 0 0 0-4.687 0 3.147 3.147 0 0 0-.652 1.125 4.167 4.167 0 0 0-.159 1.406c.07.934.447 1.818 1.071 2.515l.348.417A1 1 0 0 1 9.996 18l-2 1.153a4 4 0 0 0-2 3.464v.051h12v-.05a4 4 0 0 0-1.992-3.465zm-9.151-5.472a6.164 6.164 0 0 1 .262-2.168 5.24 5.24 0 0 1 .845-1.557.992.992 0 0 1-.22-1.462l.347-.417c.624-.697 1-1.581 1.071-2.515a4.167 4.167 0 0 0-.159-1.406 3.143 3.143 0 0 0-.651-1.125 3.178 3.178 0 0 0-4.687 0 3.146 3.146 0 0 0-.652 1.125 4.167 4.167 0 0 0-.159 1.406c.07.934.447 1.818 1.071 2.515l.348.417A1 1 0 0 1 4 10l-2 1.153a4 4 0 0 0-2 3.464v.051h6.993a5.847 5.847 0 0 1-.14-.987zm15.151-2.528-2-1.153a1 1 0 0 1-.268-1.506l.347-.417c.624-.697 1-1.581 1.071-2.515a4.167 4.167 0 0 0-.159-1.406 3.143 3.143 0 0 0-.651-1.125 3.178 3.178 0 0 0-4.687 0 3.146 3.146 0 0 0-.652 1.125 4.167 4.167 0 0 0-.159 1.406c.07.934.447 1.818 1.071 2.515l.348.417a.993.993 0 0 1-.221 1.462c.368.468.654.994.845 1.557.217.701.305 1.435.262 2.168-.02.332-.068.663-.143.987H24v-.05a4 4 0 0 0-1.996-3.465z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},91903:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.096.794a.75.75 0 0 1 .914-.538 8.01 8.01 0 0 1 5.718 5.675.75.75 0 0 1-1.45.387 6.51 6.51 0 0 0-4.644-4.61.75.75 0 0 1-.538-.914ZM.803 9.15a.75.75 0 0 1 .918.532 6.51 6.51 0 0 0 4.644 4.61.75.75 0 1 1-.375 1.452A8.01 8.01 0 0 1 .272 10.07a.75.75 0 0 1 .53-.918Zm2.697.824V10h2.612A3.495 3.495 0 0 1 7.25 8.943l.054-.03a3.432 3.432 0 0 1-.378-1.377 3.537 3.537 0 0 1 .157-1.274 3.056 3.056 0 0 1 .95-1.389 1.572 1.572 0 0 0-.36-.692 1.59 1.59 0 0 0-2.345 0 1.571 1.571 0 0 0-.326.563 2.087 2.087 0 0 0-.079.703c.029.49.236.9.535 1.257l.174.209a.5.5 0 0 1-.134.753l-.998.576a2 2 0 0 0-1 1.732ZM7 12v-.025a2 2 0 0 1 1-1.733l.998-.576a.5.5 0 0 0 .134-.753l-.174-.209c-.3-.357-.506-.767-.535-1.257a2.087 2.087 0 0 1 .08-.703c.07-.209.176-.4.325-.563a1.59 1.59 0 0 1 2.344 0c.149.163.255.354.326.563a2.1 2.1 0 0 1 .079.703c-.029.49-.236.9-.535 1.257l-.174.209a.5.5 0 0 0 .134.753l.998.576a2 2 0 0 1 1 1.732V12H7Z'/>"},{size:24,svgContent:"<path d='M11 17v-.034c0-.953.508-1.833 1.333-2.31l1.331-.768a.667.667 0 0 0 .179-1.004l-.232-.278c-.4-.477-.675-1.024-.714-1.677a2.784 2.784 0 0 1 .106-.937c.095-.278.236-.534.435-.75a2.119 2.119 0 0 1 3.124 0c.199.216.34.472.435.75.064.189.128.57.106.937-.039.653-.314 1.2-.714 1.677l-.232.278a.667.667 0 0 0 .179 1.004l1.33.768A2.667 2.667 0 0 1 19 16.966V17h-8Zm-5-2.034V15h3.437a4.668 4.668 0 0 1 1.896-2.074l.072-.04a4.598 4.598 0 0 1-.504-1.837c-.033-.57.047-1.22.209-1.699a4.077 4.077 0 0 1 .851-1.456 2.058 2.058 0 0 0-1.107-1.16 2.12 2.12 0 0 0-2.416.508c-.199.216-.34.472-.435.75-.064.189-.127.57-.106.937.039.653.314 1.2.714 1.677l.232.278a.667.667 0 0 1-.179 1.004l-1.33.768A2.667 2.667 0 0 0 6 14.966ZM13.545 2.07a1 1 0 0 1 1.218-.718c3.83.99 6.843 3.989 7.863 7.803a1 1 0 0 1-1.933.516 9.014 9.014 0 0 0-6.43-6.383 1 1 0 0 1-.718-1.218ZM2.082 13.62a1 1 0 0 1 1.224.708 9.014 9.014 0 0 0 6.43 6.384 1 1 0 0 1-.5 1.936 11.014 11.014 0 0 1-7.862-7.803 1 1 0 0 1 .708-1.225Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},84997:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 8.289a8 8 0 1 1 14.77 4.263l-.913 1.583A2.291 2.291 0 1 1 9.89 11.84l1.212-2.09A2.31 2.31 0 0 1 13.1 8.6h1.392a6.5 6.5 0 1 0-12.985 0h1.39a2.31 2.31 0 0 1 1.999 1.15l1.212 2.09a2.291 2.291 0 1 1-3.966 2.295l-.915-1.585A7.955 7.955 0 0 1 0 8.289zm1.755 1.81c.172.594.426 1.151.749 1.662l.008.013.93 1.611a.791.791 0 1 0 1.37-.792L3.6 10.503a.81.81 0 0 0-.702-.403H1.755zm12.49 0H13.1a.81.81 0 0 0-.7.405l-1.213 2.089a.791.791 0 1 0 1.37.792l.929-1.61.008-.012c.324-.511.578-1.07.75-1.663z'/>"},{size:24,svgContent:"<path d='M.5 12.5C.5 6.149 5.649 1 12 1s11.5 5.149 11.5 11.5a11.433 11.433 0 0 1-1.768 6.13l-1.325 2.294a3.232 3.232 0 1 1-5.594-3.238l1.83-3.155a3 3 0 0 1 2.595-1.494h2.247a9.5 9.5 0 1 0-18.97 0H4.76a3 3 0 0 1 2.595 1.494l1.831 3.155a3.232 3.232 0 1 1-5.594 3.238l-1.327-2.298A11.435 11.435 0 0 1 .5 12.5zm2.342 2.537c.25.907.633 1.76 1.125 2.537l.01.017 1.348 2.333a1.232 1.232 0 1 0 2.132-1.234l-1.83-3.155a1 1 0 0 0-.866-.498H2.842zm18.316 0h-1.92a1 1 0 0 0-.864.498l-1.831 3.155a1.232 1.232 0 1 0 2.132 1.234l1.345-2.33.011-.017a9.448 9.448 0 0 0 1.127-2.54z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},42454:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.667.318v1.504A6.5 6.5 0 0 0 1.507 8.6h1.39a2.31 2.31 0 0 1 1.999 1.15l1.212 2.09a2.29 2.29 0 1 1-3.966 2.295l-.915-1.585A7.955 7.955 0 0 1 0 8.289 8 8 0 0 1 8.667.318ZM1.755 10.1c.172.594.426 1.15.749 1.661l.008.013.93 1.611a.791.791 0 0 0 1.37-.792L3.6 10.503a.81.81 0 0 0-.702-.403H1.755ZM14.43 7.333c.061.418.082.843.062 1.267H13.1a2.31 2.31 0 0 0-1.998 1.15L9.89 11.84a2.291 2.291 0 1 0 3.967 2.295l.913-1.583a8 8 0 0 0 1.173-5.219h-1.514ZM13.1 10.1h1.145l-.001.001a6.472 6.472 0 0 1-.75 1.663l-.008.012-.929 1.61a.793.793 0 0 1-1.45-.192.792.792 0 0 1 .08-.6l1.213-2.089a.809.809 0 0 1 .7-.405ZM11.668 2c.082 0 .161.028.222.08.061.05.1.121.106.197.027.264.148.682.42 1.044.268.353.673.648 1.29.71a.34.34 0 0 1 .21.1.292.292 0 0 1 .084.203c0 .075-.03.147-.084.203a.34.34 0 0 1-.21.1 1.773 1.773 0 0 0-1.29.71 2.2 2.2 0 0 0-.42 1.045.296.296 0 0 1-.106.196.347.347 0 0 1-.222.079.347.347 0 0 1-.222-.08.297.297 0 0 1-.107-.195 2.2 2.2 0 0 0-.42-1.045 1.773 1.773 0 0 0-1.29-.71.34.34 0 0 1-.21-.099.291.291 0 0 1-.086-.204c0-.075.03-.148.085-.204a.34.34 0 0 1 .212-.099 1.774 1.774 0 0 0 1.289-.71c.273-.362.393-.78.42-1.044a.296.296 0 0 1 .106-.197c.06-.051.14-.08.223-.08Zm1.693-.397c.516-.163.784-.57.9-.909.014-.036.131-.036.144 0 .117.339.385.746.9.91.038.01.038.115 0 .126-.515.163-.783.57-.9.91-.013.036-.13.036-.143 0-.117-.34-.385-.747-.9-.91-.038-.011-.038-.115 0-.127Z'/>"},{size:24,svgContent:"<path d='M13 1.043A11.65 11.65 0 0 0 12 1C5.649 1 .5 6.149.5 12.5a11.435 11.435 0 0 0 1.765 6.126l1.327 2.298a3.231 3.231 0 1 0 5.594-3.238l-1.831-3.155a3 3 0 0 0-2.595-1.494H2.515A9.5 9.5 0 0 1 13 3.057V1.042ZM3.967 17.574a9.424 9.424 0 0 1-1.125-2.537h1.919a1 1 0 0 1 .866.498l1.83 3.155a1.233 1.233 0 1 1-2.132 1.234l-1.348-2.333-.01-.017ZM21.38 11c.108.671.143 1.354.105 2.037h-2.247a3 3 0 0 0-2.595 1.494l-1.83 3.155a3.233 3.233 0 1 0 5.594 3.238l1.325-2.294A11.432 11.432 0 0 0 23.5 12.5c0-.508-.033-1.01-.097-1.5H21.38Zm-2.142 4.037h1.92a9.447 9.447 0 0 1-1.127 2.54l-.011.017-1.345 2.33a1.232 1.232 0 1 1-2.132-1.234l1.831-3.155a1 1 0 0 1 .864-.498ZM17.501 3a.52.52 0 0 1 .334.12.445.445 0 0 1 .16.295 3.3 3.3 0 0 0 .63 1.566c.4.53 1.009.972 1.934 1.066a.51.51 0 0 1 .314.15A.437.437 0 0 1 21 6.5a.437.437 0 0 1-.127.305.51.51 0 0 1-.314.149c-.925.094-1.534.536-1.934 1.066a3.299 3.299 0 0 0-.63 1.566.445.445 0 0 1-.16.294.52.52 0 0 1-.334.119.52.52 0 0 1-.332-.119.445.445 0 0 1-.16-.294 3.299 3.299 0 0 0-.63-1.566c-.401-.53-1.01-.972-1.935-1.065a.511.511 0 0 1-.317-.149A.437.437 0 0 1 14 6.5c0-.113.045-.222.127-.305a.511.511 0 0 1 .317-.149c.925-.094 1.534-.536 1.934-1.066a3.3 3.3 0 0 0 .63-1.566.444.444 0 0 1 .16-.295A.52.52 0 0 1 17.5 3Zm2.541-.595c.773-.245 1.175-.856 1.35-1.364.02-.055.196-.055.216 0 .175.508.576 1.119 1.35 1.364.056.017.056.173 0 .19-.773.245-1.175.856-1.35 1.364-.02.055-.196.055-.216 0-.175-.508-.576-1.119-1.35-1.364-.056-.017-.056-.173 0-.19Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},76702:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1.69 2A4.582 4.582 0 0 1 8 2.023 4.583 4.583 0 0 1 11.88.817h.002a4.618 4.618 0 0 1 3.782 3.65v.003a4.543 4.543 0 0 1-1.011 3.84L9.35 14.629a1.765 1.765 0 0 1-2.093.464 1.762 1.762 0 0 1-.605-.463L1.348 8.309A4.582 4.582 0 0 1 1.689 2zm3.158.252A3.082 3.082 0 0 0 2.49 7.337l.005.005L7.8 13.664a.264.264 0 0 0 .311.069.262.262 0 0 0 .09-.069l5.312-6.33a3.043 3.043 0 0 0 .68-2.573 3.118 3.118 0 0 0-2.551-2.463 3.079 3.079 0 0 0-2.612.816l-.007.007a1.501 1.501 0 0 1-2.045 0l-.009-.008a3.082 3.082 0 0 0-2.121-.861z'/>"},{size:24,svgContent:"<path d='M5.21 1.57a6.757 6.757 0 0 1 6.708 1.545.124.124 0 0 0 .165 0 6.741 6.741 0 0 1 5.715-1.78l.004.001a6.802 6.802 0 0 1 5.571 5.376v.003a6.689 6.689 0 0 1-1.49 5.655l-7.954 9.48a2.518 2.518 0 0 1-3.857 0L2.12 12.37A6.683 6.683 0 0 1 .627 6.714 6.757 6.757 0 0 1 5.21 1.57zm3.12 1.803a4.757 4.757 0 0 0-5.74 3.725l-.001.002a4.684 4.684 0 0 0 1.049 3.969l.009.01 7.958 9.485a.518.518 0 0 0 .79 0l7.968-9.495a4.688 4.688 0 0 0 1.049-3.965 4.803 4.803 0 0 0-3.931-3.794 4.74 4.74 0 0 0-4.023 1.256l-.008.008a2.123 2.123 0 0 1-2.9 0l-.007-.007a4.757 4.757 0 0 0-2.214-1.194z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},64488:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M15.724 4.22A4.313 4.313 0 0 0 12.192.814a4.269 4.269 0 0 0-3.622 1.13.837.837 0 0 1-1.14 0 4.272 4.272 0 0 0-6.21 5.855l5.916 7.05a1.128 1.128 0 0 0 1.727 0l5.916-7.05a4.228 4.228 0 0 0 .945-3.577z'/>"},{size:24,svgContent:"<path d='M8.667 1.912a6.257 6.257 0 0 0-7.462 7.677c.24.906.683 1.747 1.295 2.457l7.955 9.482a2.015 2.015 0 0 0 3.09 0l7.956-9.482a6.188 6.188 0 0 0 1.382-5.234l-.49.097.49-.099a6.303 6.303 0 0 0-5.162-4.98h-.002a6.24 6.24 0 0 0-5.295 1.65.623.623 0 0 1-.848 0 6.257 6.257 0 0 0-2.91-1.568z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},42425:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M7.25 12.026v-1.5h1.5v1.5h-1.5zm.884-7.096A1.125 1.125 0 0 0 7.06 6.39l-1.431.448a2.625 2.625 0 1 1 5.13-.784c0 .54-.156 1.015-.503 1.488-.3.408-.7.652-.973.818l-.112.068c-.185.116-.26.203-.302.283-.046.087-.097.245-.097.57h-1.5c0-.47.072-.898.274-1.277.206-.385.507-.645.827-.846l.147-.092c.285-.177.413-.257.526-.41.169-.23.213-.397.213-.602 0-.622-.503-1.125-1.125-1.125z'/>"},{size:24,svgContent:"<path d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12z'/><path d='M12.162 8a1.72 1.72 0 0 0-1.643 2.235l-1.909.597a3.72 3.72 0 1 1 7.273-1.111c0 .763-.22 1.435-.714 2.107-.423.577-.987.92-1.385 1.162l-.164.101c-.277.174-.398.31-.47.444-.076.143-.15.388-.15.87V15h-2v-.596c0-.675.102-1.279.386-1.812.29-.541.713-.907 1.17-1.194l.212-.133c.412-.256.614-.382.788-.62.255-.347.327-.608.327-.925 0-.95-.77-1.72-1.72-1.72zM11 19v-2h2v2h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},89101:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6.625.988a2.75 2.75 0 0 1 2.75 0l5.25 3.03c.541.314.875.891.875 1.516v9.724a.75.75 0 0 1-.75.75h-5a.75.75 0 0 1-.75-.75V10.5H7v4.758a.75.75 0 0 1-.75.75h-5a.75.75 0 0 1-.75-.75V5.534c0-.625.334-1.202.875-1.515L6.625.988zm2 1.299a1.25 1.25 0 0 0-1.25 0l-5.25 3.031A.25.25 0 0 0 2 5.534v8.974h3.5V9.75A.75.75 0 0 1 6.25 9h3.5a.75.75 0 0 1 .75.75v4.758H14V5.534a.25.25 0 0 0-.125-.216l-5.25-3.031z'/>"},{size:24,svgContent:"<path d='M12.5 3.247a1 1 0 0 0-1 0L4 7.577V20h4.5v-6a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v6H20V7.577l-7.5-4.33zm-2-1.732a3 3 0 0 1 3 0l7.5 4.33a2 2 0 0 1 1 1.732V21a1 1 0 0 1-1 1h-6.5a1 1 0 0 1-1-1v-6h-3v6a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.577a2 2 0 0 1 1-1.732l7.5-4.33z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},87711:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.375.988a2.75 2.75 0 0 0-2.75 0l-5.25 3.03A1.75 1.75 0 0 0 .5 5.535v9.724c0 .415.336.75.75.75h4a.75.75 0 0 0 .75-.75V10h4v5.258c0 .415.336.75.75.75h4a.75.75 0 0 0 .75-.75V5.534a1.75 1.75 0 0 0-.875-1.515L9.375.988z'/>"},{size:24,svgContent:"<path d='M13.5 1.515a3 3 0 0 0-3 0L3 5.845a2 2 0 0 0-1 1.732V21a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6h4v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7.577a2 2 0 0 0-1-1.732l-7.5-4.33z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},45729:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.988 7.1a1.088 1.088 0 1 0 0-2.175 1.088 1.088 0 0 0 0 2.175z'/><path d='M0 2h16v14H0V2zm1.5 1.5v6.415l2.772-3.296a1.05 1.05 0 0 1 1.608 0l2.161 2.576a.25.25 0 0 0 .317.056l.793-.458a2.75 2.75 0 0 1 2.75 0l2.599 1.5V3.5h-13zm0 11h13v-2.474l-3.349-1.934a1.25 1.25 0 0 0-1.25 0l-.793.458a1.75 1.75 0 0 1-2.216-.39L5.075 7.993 1.5 12.245V14.5z'/>"},{size:24,svgContent:"<path d='M17.5 10a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/><path d='M1 3h22v18H1V3zm2 2v8.977l3.972-4.722a1.3 1.3 0 0 1 1.99 0l3.273 3.901 1.75-1.01a3 3 0 0 1 3 0L21 14.465V5H3zm0 14h18v-2.226l-5.016-2.896a1 1 0 0 0-1 0l-1.749 1.01a2 2 0 0 1-2.532-.446L7.966 11.18 3 17.084V19z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},19643:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13zM0 8a8 8 0 1 0 16 0A8 8 0 0 0 0 8z'/><path d='M7.25 7v5h1.5V7h-1.5zm0-3.026v1.5h1.5v-1.5h-1.5z'/>"},{size:24,svgContent:"<path d='M11 6v2h2V6h-2zm0 4v8h2v-8h-2z'/><path d='M12 21a9 9 0 1 1 0-18 9 9 0 0 1 0 18zM1 12c0 6.075 4.925 11 11 11s11-4.925 11-11S18.075 1 12 1 1 5.925 1 12z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},69590:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.44c2.136 0 2.389.009 3.233.047.78.036 1.203.166 1.485.276.348.128.663.332.921.598.266.258.47.573.599.921.11.282.24.706.275 1.485.039.844.047 1.097.047 3.233s-.008 2.389-.047 3.232c-.035.78-.166 1.204-.275 1.486a2.654 2.654 0 0 1-1.518 1.518c-.282.11-.706.24-1.486.275-.843.039-1.097.047-3.233.047s-2.39-.008-3.232-.047c-.78-.035-1.204-.165-1.486-.275a2.477 2.477 0 0 1-.921-.599 2.477 2.477 0 0 1-.599-.92c-.11-.282-.24-.706-.275-1.486-.038-.844-.047-1.096-.047-3.232s.009-2.39.047-3.233c.036-.78.166-1.203.275-1.485.129-.348.333-.663.599-.921a2.49 2.49 0 0 1 .92-.599c.283-.11.707-.24 1.487-.275.843-.038 1.096-.047 3.232-.047L8 1.441zm.001-1.442c-2.172 0-2.445.01-3.298.048-.854.04-1.435.176-1.943.373a3.928 3.928 0 0 0-1.417.923c-.407.4-.722.883-.923 1.417-.198.508-.333 1.09-.372 1.942C.01 5.552 0 5.826 0 8c0 2.172.01 2.445.048 3.298.04.853.174 1.433.372 1.941.2.534.516 1.017.923 1.417.4.407.883.722 1.417.923.508.198 1.09.333 1.942.372.852.039 1.126.048 3.299.048 2.172 0 2.445-.01 3.298-.048.853-.04 1.433-.174 1.94-.372a4.087 4.087 0 0 0 2.34-2.34c.199-.508.334-1.09.373-1.942.039-.851.048-1.125.048-3.298s-.01-2.445-.048-3.298c-.04-.853-.174-1.433-.372-1.94a3.924 3.924 0 0 0-.923-1.418A3.928 3.928 0 0 0 13.24.42c-.508-.197-1.09-.333-1.942-.371-.851-.041-1.125-.05-3.298-.05l.001-.001z'/><path d='M8 3.892a4.108 4.108 0 1 0 0 8.216 4.108 4.108 0 0 0 0-8.216zm0 6.775a2.668 2.668 0 1 1 0-5.335 2.668 2.668 0 0 1 0 5.335zm4.27-5.978a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92z'/>"},{size:24,svgContent:"<path d='M12 3.803c2.67 0 2.986.01 4.041.059.975.044 1.504.207 1.857.344.435.16.828.416 1.151.748.332.323.588.716.748 1.151.137.353.3.882.345 1.857.047 1.055.058 1.37.058 4.041 0 2.67-.01 2.986-.058 4.041-.045.975-.208 1.505-.345 1.857A3.315 3.315 0 0 1 17.9 19.8c-.352.137-.882.3-1.856.344-1.055.048-1.371.058-4.041.058-2.67 0-2.987-.01-4.041-.058-.975-.044-1.505-.207-1.857-.344a3.096 3.096 0 0 1-1.151-.748 3.096 3.096 0 0 1-.749-1.151c-.137-.353-.3-.883-.344-1.857-.048-1.055-.058-1.371-.058-4.041 0-2.67.01-2.987.058-4.041.045-.975.207-1.505.344-1.857a3.08 3.08 0 0 1 .749-1.151 3.096 3.096 0 0 1 1.15-.749c.353-.137.883-.3 1.858-.344 1.054-.048 1.37-.058 4.04-.058H12zM12.002 2c-2.716 0-3.057.012-4.124.06-1.066.05-1.793.22-2.428.466A4.91 4.91 0 0 0 3.678 3.68a4.91 4.91 0 0 0-1.153 1.772c-.247.635-.416 1.363-.465 2.427C2.012 8.943 2 9.286 2 12.002c0 2.715.012 3.056.06 4.123.05 1.066.218 1.791.465 2.426a4.909 4.909 0 0 0 1.153 1.772c.5.508 1.105.902 1.772 1.153.635.248 1.363.417 2.428.465 1.064.049 1.407.06 4.123.06s3.056-.01 4.123-.06c1.067-.049 1.79-.217 2.426-.465a5.111 5.111 0 0 0 2.925-2.925c.247-.635.416-1.363.465-2.427.048-1.064.06-1.407.06-4.123s-.012-3.057-.06-4.123c-.05-1.067-.218-1.791-.465-2.426a4.902 4.902 0 0 0-1.153-1.771 4.91 4.91 0 0 0-1.772-1.155c-.635-.247-1.363-.416-2.428-.464-1.064-.048-1.406-.06-4.122-.06L12.002 2z'/><path d='M12 6.867a5.135 5.135 0 1 0 0 10.27 5.135 5.135 0 0 0 0-10.27zm0 8.47a3.334 3.334 0 1 1 0-6.67 3.334 3.334 0 0 1 0 6.67zm5.338-7.473a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},30627:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.96.004h6.08V6.46l3.734 6.468c.789 1.367-.198 3.075-1.776 3.075H3.002c-1.578 0-2.565-1.708-1.776-3.075L4.96 6.46V.004zm1.5 1.5v5.359l-3.935 6.816a.55.55 0 0 0 .477.825h9.996a.55.55 0 0 0 .477-.825L9.539 6.863v-5.36H6.46z'/>"},{size:24,svgContent:"<path d='M8 1h8v8.474l5.24 9.076c.886 1.533-.221 3.45-1.992 3.45H4.752c-1.77 0-2.877-1.917-1.992-3.45L8 9.474V1zm2 2v7.01l-5.508 9.54a.3.3 0 0 0 .26.45h14.496a.3.3 0 0 0 .26-.45L14 10.01V3h-4z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},84515:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M5 14.5h6V16H5v-1.5zm5.614-7.173a3.5 3.5 0 1 0-5.229 0C5.936 7.945 6.5 8.862 6.5 10v1h3v-1c0-1.138.564-2.055 1.114-2.673zm1.12.998C11.316 8.795 11 9.37 11 10v2.5H5V10c0-.63-.316-1.205-.734-1.675a5 5 0 1 1 7.468 0z'/>"},{size:24,svgContent:"<path d='M9 22h6a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zm-1.5-3a1 1 0 0 1 1-1h7a1 1 0 1 1 0 2h-7a1 1 0 0 1-1-1zm8.043-8.472a5 5 0 1 0-7.085 0C9.242 11.317 10 12.512 10 14h4c0-1.488.757-2.683 1.543-3.472zm1.417 1.412c-.555.557-.96 1.274-.96 2.06v2H8v-2c0-.786-.405-1.503-.96-2.06a7 7 0 1 1 9.92 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},31307:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M15 14.5H5V13h10v1.5zm0-5.75H5v-1.5h10v1.5zM15 3H5V1.5h10V3zM3 3H1V1.5h2V3zm0 11.5H1V13h2v1.5zm0-5.75H1v-1.5h2v1.5z'/>"},{size:24,svgContent:"<path d='M22 5H8V3h14v2zm0 16H8v-2h14v2zm0-8H8v-2h14v2zM5 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/>"}],c||24),u=null===(t=e.autoMirror)||void 0===t||t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},92366:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4 4a4 4 0 1 1 8 0v3h1.25c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25v-5.5C1 7.784 1.784 7 2.75 7H4V4zm1.5 3h5V4a2.5 2.5 0 0 0-5 0v3zM2.75 8.5a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25H2.75z'/>"},{size:24,svgContent:"<path d='M6 7a6 6 0 1 1 12 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h1V7zm2 3h8V7a4 4 0 0 0-8 0v3zm-3 2v8h14v-8H5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},88952:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 0a4 4 0 0 0-4 4v3H2.75A1.75 1.75 0 0 0 1 8.75v5.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0 0 15 14.25v-5.5A1.75 1.75 0 0 0 13.25 7H12V4a4 4 0 0 0-4-4zm2.5 4v3h-5V4a2.5 2.5 0 0 1 5 0z'/>"},{size:24,svgContent:"<path d='M12 1a6 6 0 0 0-6 6v3H5a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a6 6 0 0 0-6-6zm4 6v3H8V7a4 4 0 1 1 8 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},58528:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M13.426 2.574a2.831 2.831 0 0 0-4.797 1.55l3.247 3.247a2.831 2.831 0 0 0 1.55-4.797zM10.5 8.118l-2.619-2.62A63303.13 63303.13 0 0 0 4.74 9.075L2.065 12.12a1.287 1.287 0 0 0 1.816 1.816l3.06-2.688 3.56-3.129zM7.12 4.094a4.331 4.331 0 1 1 4.786 4.786l-3.974 3.493-3.06 2.689a2.787 2.787 0 0 1-3.933-3.933l2.676-3.045 3.505-3.99z'/>"},{size:24,svgContent:"<path d='M19.61 4.391a4 4 0 0 0-6.782 2.214l4.568 4.568a4 4 0 0 0 2.214-6.781zm-4.048 7.776-3.728-3.728-4.419 5.029-3.736 4.251a1.844 1.844 0 0 0 2.602 2.602l4.271-3.753 5.01-4.401zm-4.745-5.6a6 6 0 1 1 6.617 6.617l-5.562 4.887-4.27 3.753a3.844 3.844 0 0 1-5.425-5.425l3.749-4.266 4.89-5.566z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},84033:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M15.5 13.5H.5V12h15v1.5zm0-4.75H.5v-1.5h15v1.5zm0-4.75H.5V2.5h15V4z'/>"},{size:24,svgContent:"<path d='M21 6H3V4h18v2zm0 14H3v-2h18v2zm0-7H3v-2h18v2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},94500:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4 4a4 4 0 1 1 8 0v3a4 4 0 0 1-8 0V4zm4-2.5A2.5 2.5 0 0 0 5.5 4v3a2.5 2.5 0 0 0 5 0V4A2.5 2.5 0 0 0 8 1.5z'/><path d='M2.25 6v1a5.75 5.75 0 0 0 11.5 0V6h1.5v1a7.251 7.251 0 0 1-6.5 7.212V16h-1.5v-1.788A7.251 7.251 0 0 1 .75 7V6h1.5z'/>"},{size:24,svgContent:"<path d='M7 5a5 5 0 0 1 10 0v6a5 5 0 0 1-10 0V5zm5-3a3 3 0 0 0-3 3v6a3 3 0 1 0 6 0V5a3 3 0 0 0-3-3z'/><path d='M3 7a1 1 0 0 1 1 1v3a8 8 0 1 0 16 0V8a1 1 0 1 1 2 0v3c0 5.185-3.947 9.449-9 9.95V24h-2v-3.05c-5.053-.5-9-4.764-9-9.95V8a1 1 0 0 1 1-1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},35672:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.53 1.47a.75.75 0 0 1 0 1.06l-2.72 2.72h1.018a.75.75 0 1 1 0 1.5H9.25V3.171a.75.75 0 1 1 1.5 0V4.19l2.72-2.72a.75.75 0 0 1 1.06 0zM1.47 14.53a.75.75 0 0 1 0-1.06l2.72-2.72H3.171a.75.75 0 0 1 0-1.5H6.75v3.579a.75.75 0 1 1-1.5 0V11.81l-2.72 2.72a.75.75 0 0 1-1.06 0z'/>"},{size:24,svgContent:"<path d='M21.707 2.293a1 1 0 0 1 0 1.414L17.414 8h1.829a1 1 0 0 1 0 2H14V4.757a1 1 0 1 1 2 0v1.829l4.293-4.293a1 1 0 0 1 1.414 0zM2.293 21.707a1 1 0 0 1 0-1.414L6.586 16H4.757a1 1 0 0 1 0-2H10v5.243a1 1 0 0 1-2 0v-1.829l-4.293 4.293a1 1 0 0 1-1.414 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},34489:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M12 8.75H4v-1.5h8v1.5z'/>"},{size:24,svgContent:"<path d='M16.999 11h-10v2h10v-2z'/><path d='M11.999 1c-6.075 0-11 4.925-11 11s4.925 11 11 11 11-4.925 11-11-4.925-11-11-11zm-9 11a9 9 0 1 1 18 0 9 9 0 0 1-18 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},76727:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm6.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM16 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/>"},{size:24,svgContent:"<path d='M4.5 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm15 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-7.5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},967:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M13.5 5.71v2.857l2.193 3.809a.75.75 0 0 1-.65 1.124H10.5a2.5 2.5 0 0 1-5 0H.957a.75.75 0 0 1-.65-1.124L2.5 8.569V5.5A5.5 5.5 0 0 1 8.521.024a3.974 3.974 0 0 0-.49 1.476H8a4 4 0 0 0-4 4v3.27a.75.75 0 0 1-.1.373L2.255 12h11.49L12.1 9.142a.75.75 0 0 1-.1-.374V6a4 4 0 0 0 1.5-.29zM8 14.5a1 1 0 0 0 1-1H7a1 1 0 0 0 1 1z'/><path d='M14 2a2 2 0 1 1-4 0 2 2 0 0 1 4 0z'/>"},{size:24,svgContent:"<path d='M17.5 10.5v3.877L19.587 18H4.414L6.5 14.378V8.5a5.5 5.5 0 0 1 5.187-5.491 5.972 5.972 0 0 1 .922-1.985A7.5 7.5 0 0 0 4.5 8.5v5.344L.954 20h7.582a3.5 3.5 0 1 0 6.929 0h7.581L19.5 13.842v-3.684a5.988 5.988 0 0 1-2 .342zm-7 10c0-.176.03-.344.085-.5h2.83a1.5 1.5 0 1 1-2.915.5z'/><path d='M14.5 4.5a3 3 0 1 0 6 0 3 3 0 0 0-6 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},6802:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a4 4 0 0 0-4 4v3.27a.75.75 0 0 1-.1.373L2.255 12h11.49L12.1 9.142a.75.75 0 0 1-.1-.374V5.5a4 4 0 0 0-4-4zm-5.5 4a5.5 5.5 0 0 1 11 0v3.067l2.193 3.809a.75.75 0 0 1-.65 1.124H10.5a2.5 2.5 0 0 1-5 0H.957a.75.75 0 0 1-.65-1.124L2.5 8.569V5.5zm4.5 8a1 1 0 1 0 2 0H7z'/>"},{size:24,svgContent:"<path d='M12 3a5.5 5.5 0 0 0-5.5 5.5v5.878L4.414 18h15.173L17.5 14.377V8.5A5.5 5.5 0 0 0 12 3zM4.5 8.5a7.5 7.5 0 1 1 15 0v5.342L23.046 20h-7.582a3.5 3.5 0 1 1-6.929 0H.955L4.5 13.844V8.5zM10.585 20a1.5 1.5 0 1 0 2.83 0h-2.83z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},4084:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 0a5.5 5.5 0 0 0-5.5 5.5v3.069L.307 12.376A.75.75 0 0 0 .25 13h15.5a.75.75 0 0 0-.057-.624L13.5 8.567V5.5A5.5 5.5 0 0 0 8 0zm1.937 14.5H6.063a2 2 0 0 0 3.874 0z'/>"},{size:24,svgContent:"<path d='M9.261 21a2.75 2.75 0 1 0 5.478 0H9.26zM12 1a7.5 7.5 0 0 0-7.5 7.5v5.344L1.53 19h20.94l-2.97-5.158V8.5A7.5 7.5 0 0 0 12 1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},7510:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.999 15h2V5h-2v10zm4 0h2V1h-2v14zM9 15h2v-4H9v4zm4-7v7h2V8h-2z'/>"},{size:24,svgContent:"<path d='M8 4v18h2V4H8zM2 22V9h2v13H2zm18-11v11h2V11h-2zm-6 4v7h2v-7h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},98367:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1.665 15.226a.67.67 0 0 0 .915-.245l7.675-13.292a.67.67 0 1 0-1.161-.67L7.95 3H5a5 5 0 0 0-2.453 9.358L1.42 14.31a.67.67 0 0 0 .245.915zm1.632-4.167A3.5 3.5 0 0 1 5 4.5h2.084l-3.787 6.559zm2.368 4.167a.67.67 0 0 0 .915-.245L7.724 13H11a5 5 0 0 0 2.203-9.49l1.052-1.82a.67.67 0 1 0-1.161-.671L5.42 14.311a.67.67 0 0 0 .245.915zM12.45 4.814A3.501 3.501 0 0 1 11 11.5H8.59l3.86-6.686z'/>"},{size:24,svgContent:"<path d='M14.86 1.589a1 1 0 0 1 .366 1.366L4.204 22.045a1 1 0 1 1-1.732-1l1.74-3.013A7 7 0 0 1 7.764 5h3.97l1.758-3.045a1 1 0 0 1 1.367-.366zm-4.28 5.41H7.766A5 5 0 0 0 5.21 16.3L10.58 7zm10.582-5.41a1 1 0 0 1 .366 1.366l-1.74 3.013A7 7 0 0 1 16.236 19h-3.97l-1.758 3.045a1 1 0 1 1-1.733-1l11.022-19.09a1 1 0 0 1 1.366-.366zm-7.743 15.41h2.816a5 5 0 0 0 2.554-9.3l-5.37 9.3z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},1256:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2.7 1a.7.7 0 0 0-.7.7v12.6a.7.7 0 0 0 .7.7h2.6a.7.7 0 0 0 .7-.7V1.7a.7.7 0 0 0-.7-.7H2.7zm8 0a.7.7 0 0 0-.7.7v12.6a.7.7 0 0 0 .7.7h2.6a.7.7 0 0 0 .7-.7V1.7a.7.7 0 0 0-.7-.7h-2.6z'/>"},{size:24,svgContent:"<path d='M5.7 3a.7.7 0 0 0-.7.7v16.6a.7.7 0 0 0 .7.7h2.6a.7.7 0 0 0 .7-.7V3.7a.7.7 0 0 0-.7-.7H5.7zm10 0a.7.7 0 0 0-.7.7v16.6a.7.7 0 0 0 .7.7h2.6a.7.7 0 0 0 .7-.7V3.7a.7.7 0 0 0-.7-.7h-2.6z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},65733:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm4.5-3.5v7a.5.5 0 0 0 .5.5h1.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H5a.5.5 0 0 0-.5.5zm4.5 0v7a.5.5 0 0 0 .5.5H11a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 11 4H9.5a.5.5 0 0 0-.5.5z'/>"},{size:24,svgContent:"<path d='M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm7.5-5a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-2zm5 0a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},67399:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M16 2.45c0-.8-.65-1.45-1.45-1.45H1.45C.65 1 0 1.65 0 2.45v11.1C0 14.35.65 15 1.45 15h5.557v-1.5H1.5v-11h13V7H16V2.45z'/><path d='M15.25 9.007a.75.75 0 0 1 .75.75v4.493a.75.75 0 0 1-.75.75H9.325a.75.75 0 0 1-.75-.75V9.757a.75.75 0 0 1 .75-.75h5.925z'/>"},{size:24,svgContent:"<path d='M1 19a2 2 0 0 0 2 2h8.17c-.11-.313-.17-.65-.17-1v-1H3V5h18v7h1c.35 0 .687.06 1 .17V5a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2v14z'/><path d='M14 21a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-8z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},84739:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.609 1.858a1.22 1.22 0 0 0-1.727 0L5.92 5.82l-2.867.768 6.359 6.359.768-2.867 3.962-3.963a1.22 1.22 0 0 0 0-1.726L11.61 1.858zM8.822.797a2.72 2.72 0 0 1 3.847 0l2.534 2.533a2.72 2.72 0 0 1 0 3.848l-3.678 3.678-1.337 4.988-4.486-4.486L1.28 15.78a.75.75 0 0 1-1.06-1.06l4.422-4.422L.156 5.812l4.987-1.337L8.822.797z'/>"},{size:24,svgContent:"<path d='M17.002 3.503a1.718 1.718 0 0 0-2.43 0l-5.459 5.46-4.002 1.072 8.854 8.854 1.073-4.002 5.459-5.46a1.718 1.718 0 0 0 0-2.43l-3.495-3.494zM13.158 2.09a3.718 3.718 0 0 1 5.258 0l3.495 3.495a3.718 3.718 0 0 1 0 5.258l-5.08 5.08-1.83 6.831-6.17-6.17-6.124 6.124a1 1 0 0 1-1.414-1.414l6.124-6.124L1.247 9l6.83-1.83 5.081-5.08z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},37813:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.822.797a2.72 2.72 0 0 1 3.847 0l2.534 2.533a2.72 2.72 0 0 1 0 3.848l-3.678 3.678-1.337 4.988-4.486-4.486L1.28 15.78a.75.75 0 0 1-1.06-1.06l4.422-4.422L.156 5.812l4.987-1.337L8.822.797z'/>"},{size:24,svgContent:"<path d='M13.158 2.089a3.718 3.718 0 0 1 5.258 0l3.495 3.495a3.718 3.718 0 0 1 0 5.258l-5.08 5.08-1.83 6.831-6.17-6.17-6.124 6.124a1 1 0 0 1-1.414-1.414l6.124-6.124L1.247 9l6.83-1.83 5.081-5.08z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},94526:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3 1.713a.7.7 0 0 1 1.05-.607l10.89 6.288a.7.7 0 0 1 0 1.212L4.05 14.894A.7.7 0 0 1 3 14.288V1.713z'/>"},{size:24,svgContent:"<path d='m7.05 3.606 13.49 7.788a.7.7 0 0 1 0 1.212L7.05 20.394A.7.7 0 0 1 6 19.788V4.212a.7.7 0 0 1 1.05-.606z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},51759:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm12.045-.433L5.75 3.933a.5.5 0 0 0-.75.433v7.268a.5.5 0 0 0 .75.433l6.295-3.634a.5.5 0 0 0 0-.866z'/>"},{size:24,svgContent:"<path d='M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm8.75-4.567a.5.5 0 0 0-.75.433v8.268a.5.5 0 0 0 .75.433l7.161-4.134a.5.5 0 0 0 0-.866L9.75 7.433z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},52539:(e,t,n)=>{"use strict";n.d(t,{D4:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m13.338 12.5 1.97-1.97-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.97 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zm-.865-5.783v-.003a1.256 1.256 0 0 1-1.254-1.073l-1.485.2a2.761 2.761 0 1 0 2.091-3.017l.19-.821h2.553v-1.5H10.82l-.888 3.87 1.314.639.2-.248a1.277 1.277 0 0 1 1.027-.516 1.235 1.235 0 1 1 0 2.469zM6.78 4.33C6.778 1.858 5.617.385 3.67.385h.002C1.727.384.567 1.862.567 4.374c0 2.478 1.16 3.957 3.105 3.957s3.108-1.478 3.108-4zm-1.5.048C5.278 6.83 4.069 6.83 3.67 6.83h.002c-.4 0-1.605 0-1.605-2.494 0-2.453 1.208-2.453 1.605-2.453s1.608 0 1.608 2.494zM8.075 8.45a.975.975 0 1 0 0-1.95.975.975 0 0 0 0 1.95z'/>"},{size:24,svgContent:"<path d='m20.627 15.177-2.543 2.543-2.543-2.543-1.415 1.414 2.543 2.543-2.543 2.543 1.415 1.414 2.543-2.543 2.543 2.543 1.414-1.414-2.544-2.543 2.544-2.543-1.415-1.414zM5.886.604c-3.031 0-4.772 2.232-4.772 6.185 0 3.9 1.74 6.13 4.772 6.13 3.03 0 4.769-2.231 4.769-6.2.002-3.885-1.738-6.115-4.77-6.115zm0 10.316c-1.838 0-2.772-1.39-2.772-4.19 0-2.74.934-4.126 2.772-4.126 1.838 0 2.769 1.385 2.769 4.19.002 2.738-.931 4.126-2.77 4.126zm6.112-.172a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm5.94.172a2.21 2.21 0 0 1-2.2-1.892l-1.984.264a4.213 4.213 0 1 0 2.882-4.517l.412-1.8h4.245v-2h-5.84L14.072 7.01l1.752.852.313-.388a2.246 2.246 0 0 1 1.806-.91 2.176 2.176 0 1 1 0 4.352l-.003.004z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},13210:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3.67.385c1.947 0 3.108 1.473 3.11 3.945 0 2.522-1.163 4.001-3.108 4.001S.567 6.852.567 4.374c0-2.512 1.16-3.99 3.105-3.989H3.67zm0 6.445c.399 0 1.608 0 1.61-2.452 0-2.494-1.211-2.495-1.608-2.495s-1.605 0-1.605 2.453c0 2.494 1.205 2.494 1.605 2.494H3.67zm4.778 1.546a.975.975 0 1 1-.746-1.802.975.975 0 0 1 .746 1.802zM13.527.5c.673 0 1.21.147 1.504.337l-.442 1.346a2.561 2.561 0 0 0-1.146-.263c-1.21 0-2.071.704-2.292 2.008.294-.42.872-.747 1.693-.747 1.45 0 2.386.989 2.386 2.471 0 1.535-1.209 2.618-2.796 2.618-1.599 0-2.934-1.22-2.934-3.417C9.5 2.14 11.14.5 13.527.5zm-1.114 4.027c-.6 0-1.147.42-1.147 1.178 0 .725.558 1.167 1.146 1.167.62 0 1.178-.42 1.178-1.167 0-.757-.557-1.178-1.178-1.178zm2.895 6.003-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06z'/>"},{size:24,svgContent:"<path d='M20.413.6c1.083 0 2 .25 2.499.583l-.65 1.866c-.5-.217-1.216-.45-1.982-.45-2.216 0-3.748 1.4-3.981 3.631.433-.733 1.466-1.382 2.948-1.382 2.366 0 3.998 1.532 3.998 3.948 0 2.482-1.982 4.114-4.514 4.114-2.516 0-4.731-1.782-4.731-5.43C14 3.215 16.665.6 20.413.6zm-1.682 6.13c-1.2 0-2.199.816-2.199 2.132 0 1.283 1.033 2.099 2.199 2.099 1.2 0 2.215-.8 2.215-2.099 0-1.316-1.033-2.132-2.215-2.132zm-.647 10.99 2.543-2.543 1.414 1.414-2.544 2.543 2.544 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.415-1.414 2.543-2.543-2.543-2.543 1.415-1.414 2.543 2.543zM1.114 6.789c0-3.953 1.741-6.185 4.772-6.185 3.032 0 4.771 2.23 4.77 6.115 0 3.969-1.74 6.2-4.77 6.2-3.032 0-4.772-2.23-4.772-6.13zm2-.059c0 2.8.934 4.19 2.772 4.19 1.84 0 2.771-1.388 2.77-4.126 0-2.805-.932-4.19-2.77-4.19S3.114 3.99 3.114 6.73zm9.146 4.018a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},2413:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3.67.385c1.947 0 3.108 1.473 3.11 3.945 0 2.522-1.163 4.001-3.108 4.001S.567 6.852.567 4.374c0-2.512 1.16-3.99 3.105-3.989H3.67zm0 6.445c.399 0 1.608 0 1.61-2.452 0-2.494-1.211-2.495-1.608-2.495s-1.605 0-1.605 2.453c0 2.494 1.205 2.494 1.605 2.494H3.67zm4.778 1.546a.975.975 0 1 1-.746-1.802.975.975 0 0 1 .746 1.802zM9.5.4h5.946v1.614c-.767.688-2.685 2.708-3.001 6.386h-1.85c.338-4.242 2.944-6.5 2.944-6.5H9.5V.4zm5.808 10.13-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06z'/>"},{size:24,svgContent:"<path d='M5.886.604c-3.03 0-4.772 2.232-4.772 6.185 0 3.9 1.74 6.13 4.772 6.13 3.03 0 4.77-2.231 4.77-6.2.001-3.885-1.738-6.115-4.77-6.115zm0 10.316c-1.838 0-2.772-1.39-2.772-4.19 0-2.74.934-4.126 2.772-4.126 1.838 0 2.77 1.385 2.77 4.19.001 2.738-.93 4.126-2.77 4.126zm12.198 6.8 2.543-2.543 1.414 1.414-2.544 2.543 2.544 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.415-1.414 2.543-2.543-2.543-2.543 1.415-1.414 2.543 2.543zm-5.834-5.046a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92zM13.5.8h9v2.014c-.964.796-4.33 3.86-4.872 9.986h-2.42c.525-6.584 4.602-9.969 4.602-9.969H13.5V.8z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},89724:(e,t,n)=>{"use strict";n.d(t,{W9:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.305 10.527-1.06-1.061-1.97 1.97-1.97-1.97-1.06 1.061 1.97 1.969-1.97 1.97 1.06 1.061 1.97-1.97 1.97 1.97 1.06-1.061-1.97-1.97 1.97-1.969zm-5.917-4.6c0 .742.31 1.312.84 1.763.528.452 1.35.7 2.046.7.696 0 1.56-.248 2.089-.7.529-.451.798-1.021.798-1.763a2.3 2.3 0 0 0-.9-1.786c.38-.405.591-.94.59-1.495 0-.64-.292-1.226-.766-1.655-.475-.429-1.16-.666-1.8-.666a2.67 2.67 0 0 0-1.766.666c-.474.429-.8 1.103-.801 1.655a2.186 2.186 0 0 0 .582 1.489 2.3 2.3 0 0 0-.912 1.789v.003zm2.887-4.1c.613 0 1.076.352 1.076.82 0 .468-.463.82-1.076.82s-1.058-.345-1.058-.82.445-.824 1.058-.824v.004zm0 3.14c.75 0 1.386.44 1.386.961 0 .521-.635.96-1.386.96-.751 0-1.387-.44-1.387-.96s.635-.965 1.387-.965v.004zM3.668.384C1.722.384.56 1.862.56 4.374c0 2.477 1.16 3.957 3.107 3.957 1.946 0 3.106-1.478 3.106-4C6.774 1.857 5.613.38 3.668.38v.004zm0 6.447c-.4 0-1.607 0-1.607-2.494 0-2.453 1.209-2.453 1.607-2.453.398 0 1.606 0 1.606 2.494 0 2.449-1.21 2.45-1.606 2.45v.003zm4.328-.324a.956.956 0 1 0 .679.279.957.957 0 0 0-.676-.283l-.003.004z'/>"},{size:24,svgContent:"<path d='M13.832 9.47c0 2.06 1.982 3.737 4.418 3.737s4.418-1.676 4.418-3.737a3.526 3.526 0 0 0-1.544-2.833 3.318 3.318 0 0 0 1.048-2.416c0-.997-.458-1.858-1.18-2.507-.721-.649-1.758-1.008-2.728-1.008-.97 0-2.003.36-2.725 1.008-.721.649-1.183 1.437-1.183 2.507a3.326 3.326 0 0 0 1.031 2.4 3.533 3.533 0 0 0-1.555 2.849zm4.418-6.761c1.1 0 1.923.65 1.923 1.512s-.826 1.513-1.923 1.513-1.893-.636-1.893-1.513c0-.877.865-1.512 1.893-1.512zm0 5.025c1.311 0 2.418.8 2.418 1.736 0 .936-1.107 1.737-2.418 1.737-1.31 0-2.418-.8-2.418-1.737s1.108-1.733 2.418-1.733v-.003zm2.375 7.45-2.543 2.544-2.543-2.543-1.414 1.414 2.543 2.543-2.543 2.543 1.414 1.414 2.543-2.543 2.543 2.543 1.414-1.414-2.543-2.543 2.543-2.543-1.414-1.414zM5.885.614c-3.03 0-4.77 2.232-4.77 6.184 0 3.9 1.74 6.13 4.77 6.13 3.031 0 4.77-2.231 4.77-6.2 0-3.884-1.739-6.114-4.77-6.114zm0 10.315c-1.838 0-2.77-1.39-2.77-4.19 0-2.738.932-4.125 2.77-4.125s2.77 1.385 2.77 4.19c0 2.734-.932 4.125-2.77 4.125zm6.112-.172a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},70055:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.305 10.527-1.06-1.061-1.97 1.97-1.97-1.97-1.06 1.061 1.97 1.969-1.97 1.97 1.06 1.061 1.97-1.97 1.97 1.97 1.06-1.061-1.97-1.97 1.97-1.969zM3.668.384C1.722.384.56 1.862.56 4.374c0 2.477 1.16 3.957 3.107 3.957 1.946 0 3.106-1.478 3.106-4C6.774 1.857 5.613.38 3.668.38v.004zm0 6.447c-.4 0-1.607 0-1.607-2.494 0-2.453 1.209-2.453 1.607-2.453.398 0 1.606 0 1.606 2.494 0 2.449-1.21 2.45-1.606 2.45v.003zm9.929-3.899c0 .715-.55 1.22-1.199 1.22s-1.199-.494-1.199-1.22.55-1.221 1.199-1.221 1.199.506 1.199 1.22zM9.758 7.959c.385.242 1.111.418 1.76.418 2.574 0 3.982-1.64 3.982-4.422 0-2.475-1.364-3.707-3.025-3.707-1.705 0-2.937 1.144-2.937 2.739s1.221 2.607 2.629 2.607c.748 0 1.397-.33 1.65-.803-.099 1.408-1.023 2.09-2.321 2.09a3.263 3.263 0 0 1-1.342-.308l-.396 1.386zM7.367 6.726a.956.956 0 0 1 .605-.219l.003-.004a.957.957 0 0 1 .676.283.956.956 0 1 1-1.284-.06z'/>"},{size:24,svgContent:"<path d='m20.625 15.184-2.543 2.544-2.543-2.543-1.414 1.414 2.543 2.543-2.543 2.543 1.414 1.414 2.543-2.543 2.543 2.543 1.414-1.414-2.543-2.543 2.543-2.543-1.414-1.414v-.001zM5.885.614c-3.03 0-4.77 2.232-4.77 6.184 0 3.9 1.74 6.13 4.77 6.13 3.031 0 4.77-2.231 4.77-6.2 0-3.884-1.739-6.114-4.77-6.114zm0 10.315c-1.838 0-2.77-1.39-2.77-4.19 0-2.738.932-4.125 2.77-4.125s2.77 1.385 2.77 4.19c0 2.734-.932 4.125-2.77 4.125zM20.37 4.538c0 1.302-1.041 2.131-2.22 2.131-1.212 0-2.22-.812-2.22-2.131 0-1.286 1.025-2.114 2.22-2.114 1.179 0 2.22.845 2.22 2.114zm-6.404 7.73c.615.389 1.794.66 2.801.66 4.098 0 6.233-2.555 6.233-6.885C23 2.237 20.763.428 18.201.428c-2.578 0-4.576 1.725-4.576 4.178 0 2.52 1.964 4.025 4.167 4.025 1.366 0 2.424-.575 2.886-1.336-.12 2.216-1.537 3.586-3.928 3.586-.82 0-1.708-.254-2.169-.508l-.614 1.895zm-2.675-1.23a.96.96 0 1 1 1.358 1.357.96.96 0 0 1-1.358-1.357z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},68960:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.309 10.53-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06h.001zm-4.662-3.804a.956.956 0 0 1 .605-.219l.003-.004a.957.957 0 0 1 .676.283.956.956 0 1 1-1.284-.06zm2.13-5.269c.697 0 1.043-.455 1.043-.762h1.5V8h-1.5V2.957H12.5v-1.5h.277zm-6.5 0c.697 0 1.043-.455 1.043-.762h1.5V8h-1.5V2.957H6v-1.5h.277z'/>"},{size:24,svgContent:"<path d='M22.042 16.597 19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.413 1.415zm-4.903-4.204a.96.96 0 1 0-1.358-1.358.96.96 0 0 0 1.358 1.358zM9.132 2.406c1.191 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406H8.689v-2h.443zm9 0c1.191 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406h-2.313v-2h.443z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},53117:(e,t,n)=>{"use strict";n.d(t,{Dx:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M12.641 1.74c-.735 0-1.216.529-1.216 1.09v.35h-1.5v-.35c0-1.47 1.235-2.59 2.715-2.59a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022l-.518.282a49.36 49.36 0 0 0-.53.29 3.66 3.66 0 0 1-.124.066c-.179.094-.435.227-.703.468a1.925 1.925 0 0 0-.336.387h3.292v1.5h-5.014v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.401.718-.52a5.665 5.665 0 0 1 .327-.18l.017-.008.025-.013-.002.001c.092-.052.351-.193.6-.328l.466-.255c.32-.177.515-.448.548-.836.045-.533-.38-1.125-1.116-1.125zM4.402.704c0 .307-.347.763-1.044.763h-.276v1.5h1.32v5.042h1.5V.704h-1.5zm10.907 9.826-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM8 8.42a.956.956 0 1 0 0-1.913.956.956 0 0 0 0 1.913z'/>"},{size:24,svgContent:"<path d='M16.171 4.555c0-1.02.87-1.945 2.146-1.945 1.302 0 2.066 1.054 1.985 2.017-.059.693-.412 1.183-.979 1.497-.163.09-.454.249-.753.41a83.308 83.308 0 0 0-.95.521l-.046.024-.027.014-.105.054a8.875 8.875 0 0 0-.408.225 6.958 6.958 0 0 0-1.116.81c-.793.714-1.622 1.847-1.622 3.456v1h7.822v-2h-5.605c.175-.378.44-.697.743-.969a5.317 5.317 0 0 1 1.173-.78c.071-.037.133-.069.183-.098.138-.078.492-.27.858-.469.305-.165.619-.336.822-.448 1.106-.613 1.883-1.67 2.002-3.078C22.47 2.728 20.852.61 18.317.61c-2.269 0-4.146 1.712-4.146 3.945v.56h2v-.56zm5.871 12.042L19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.414 1.415zm-9.343-4.883a.96.96 0 1 1-1.92 0 .96.96 0 0 1 1.92 0zM7.002.985c0 .634-.679 1.42-1.87 1.42h-.443v2h2.313v8.269h2V.985h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},37738:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m13.339 12.5 1.97-1.97h-.001l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.97 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zM7.047 6.726a.956.956 0 0 1 .605-.219l.003-.004a.957.957 0 0 1 .676.283.956.956 0 1 1-1.284-.06zM15.174.5v1.225l-1.796 1.549c.318.113.603.28.847.498.564.502.835 1.208.835 1.93 0 1.608-1.42 2.511-2.77 2.511-1.616 0-2.741-1.206-2.86-2.56l1.493-.133c.055.62.568 1.193 1.368 1.193.798 0 1.27-.484 1.27-1.011 0-.347-.127-.626-.334-.81-.203-.182-.558-.336-1.136-.285a6.06 6.06 0 0 1-.132.01 2.922 2.922 0 0 0-.124.01.984.984 0 0 0-.091.014l-.015.004.021-.008-.799-1.252L12.558 2H9.742V.5h5.432zm-12.297.957c.697 0 1.043-.455 1.043-.762h1.5V8h-1.5V2.957H2.6v-1.5h.277z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.543-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.415 1.415 2.543 2.543-2.543 2.542 1.415 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zm2.762-16.487V.985h-8.49v2h5.043l-2.978 2.567 1.065 1.669a.518.518 0 0 1 .03-.006c.042-.009.098-.018.166-.026.067-.007.136-.013.207-.018l.06-.004.148-.011c.969-.084 1.594.172 1.968.506.378.337.6.841.6 1.445 0 .988-.881 1.819-2.232 1.819-1.388 0-2.29-1-2.387-2.092l-1.992.177c.183 2.069 1.901 3.915 4.38 3.915 2.085 0 4.231-1.39 4.231-3.82 0-1.104-.416-2.177-1.27-2.938a3.961 3.961 0 0 0-1.625-.862l3.076-2.653zm-10.223 9.74a.96.96 0 1 1-1.358-1.357.96.96 0 0 1 1.358 1.357zM4.842 2.406c1.192 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406H4.4v-2h.442z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},71423:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M12.545 6.31H9.25V4.808L12.174.69h1.76v4.376h1.08V6.31h-1.08v1.68h-1.39V6.31zM10.67 5.066h1.874V2.399L10.67 5.066zm2.669 7.434 1.97-1.97h-.001l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.97 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zM2.277 1.457c.697 0 1.043-.455 1.043-.762h1.5V8h-1.5V2.957H2v-1.5h.277zM7.623 8.34a.956.956 0 1 1-.733-1.767.956.956 0 0 1 .733 1.767z'/>"},{size:24,svgContent:"<path d='M12.418 12.393a.96.96 0 1 1-1.357-1.358.96.96 0 0 1 1.357 1.358zM19.5 19.14l2.543-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.415 1.415 2.543 2.543-2.543 2.542 1.415 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zM19.276 10H14V7.595L18.683 1H21.5v7.007h1.731V10H21.5v2.69h-2.224V10zm-3-1.993h3v-4.27l-3 4.27zM4.842 2.406c1.192 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406H4.4v-2h.442z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},25204:(e,t,n)=>{"use strict";n.d(t,{in:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M10.82.5h3.749V2h-2.555l-.188.82a2.76 2.76 0 0 1 .647-.075c1.515 0 2.763 1.214 2.763 2.734s-1.248 2.734-2.763 2.734a2.754 2.754 0 0 1-2.74-2.376l1.487-.197c.08.597.603 1.073 1.253 1.073.707 0 1.263-.562 1.263-1.234 0-.672-.556-1.234-1.263-1.234a1.27 1.27 0 0 0-1.028.516l-.01.014-.189.233-1.314-.639L10.819.5zM4.491.695c0 .307-.346.762-1.044.762h-.276v1.5h1.32V8h1.5V.695h-1.5zm10.818 9.835-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM8.085 8.42a.956.956 0 1 0 0-1.913.956.956 0 0 0 0 1.913z'/>"},{size:24,svgContent:"<path d='M15.454.985h5.84v2h-4.247l-.412 1.794a4.26 4.26 0 0 1 1.304-.203c2.318 0 4.221 1.856 4.221 4.175 0 2.32-1.903 4.175-4.22 4.175-2.134 0-3.913-1.57-4.186-3.628l1.983-.263c.14 1.056 1.063 1.89 2.202 1.89 1.24 0 2.221-.986 2.221-2.174s-.98-2.175-2.22-2.175c-.747 0-1.403.359-1.806.908l-.013.018-.3.37-1.752-.852L15.454.985zm-3.715 11.689a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92zm10.303 3.923L19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.414 1.415zM7.002.985c0 .634-.679 1.42-1.87 1.42h-.443v2h2.313v8.269h2V.985h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},95393:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M13.527.5c.673 0 1.21.147 1.504.336l-.442 1.346a2.562 2.562 0 0 0-1.146-.263c-1.21 0-2.072.705-2.292 2.009.294-.42.872-.747 1.693-.747 1.45 0 2.386.988 2.386 2.471 0 1.535-1.209 2.618-2.796 2.618-1.599 0-2.934-1.22-2.934-3.417C9.5 2.14 11.14.5 13.527.5zm-1.115 4.027c-.599 0-1.146.42-1.146 1.178 0 .725.558 1.167 1.146 1.167.62 0 1.178-.421 1.178-1.167 0-.757-.557-1.178-1.178-1.178zm.927 7.973 1.97-1.97h-.001l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.97 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zM8.323 8.34a.956.956 0 1 1-.733-1.767.956.956 0 0 1 .733 1.767zM3.277 1.457c.697 0 1.043-.455 1.043-.762h1.5V8h-1.5V2.957H3v-1.5h.277z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.543-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.415 1.415 2.543 2.543-2.543 2.542 1.415 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zm2.812-17.957C21.812.85 20.896.6 19.813.6 16.065.6 13.4 3.215 13.4 7.48c0 3.648 2.216 5.43 4.73 5.43 2.533 0 4.515-1.633 4.515-4.114 0-2.416-1.633-3.948-3.998-3.948-1.482 0-2.515.65-2.948 1.382.233-2.232 1.766-3.631 3.98-3.631.767 0 1.484.233 1.983.45l.65-1.866zm-6.38 7.68c0-1.317 1-2.133 2.199-2.133 1.183 0 2.215.816 2.215 2.132 0 1.3-1.016 2.099-2.215 2.099-1.166 0-2.199-.816-2.199-2.099zM4.942 2.406c1.192 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406H4.5v-2h.442zm7.397 10.233a.96.96 0 1 1-1.358-1.357.96.96 0 0 1 1.358 1.357z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},74382:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M10 .69h5.221v1.474c-.673.63-2.358 2.475-2.635 5.836H10.96c.297-3.877 2.586-5.939 2.586-5.939H10V.69zm3.339 11.81 1.97-1.97h-.001l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.97 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zM8.923 8.347A.956.956 0 1 1 8.19 6.58a.956.956 0 0 1 .733 1.767zm-5.446-6.89c.697 0 1.043-.455 1.043-.762h1.5V8h-1.5V2.957H3.2v-1.5h.277z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.542-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.414 1.415 2.543 2.543-2.543 2.542 1.414 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zm-6.861-6.501a.96.96 0 1 1-1.358-1.357.96.96 0 0 1 1.358 1.357zM5.042 2.406c1.192 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406H4.6v-2h.442zM13.4.8h9v2.014c-.964.796-4.33 3.86-4.872 9.986h-2.42c.525-6.584 4.602-9.969 4.602-9.969H13.4V.8z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},40707:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.27 4.142a2.17 2.17 0 0 0 .585-1.495c0-1.372-1.2-2.32-2.577-2.32-1.387 0-2.558.957-2.558 2.32 0 .586.217 1.097.574 1.49-.54.426-.902 1.04-.902 1.79 0 1.506 1.457 2.46 2.886 2.46 1.43 0 2.887-.954 2.887-2.46 0-.747-.36-1.359-.896-1.785zm-1.992-2.316c.741 0 1.077.458 1.077.82 0 .364-.336.821-1.077.821-.73 0-1.058-.448-1.058-.82 0-.373.328-.82 1.058-.82zm0 3.141c.93 0 1.387.577 1.387.96 0 .384-.457.96-1.386.96-.93 0-1.387-.576-1.387-.96 0-.383.457-.96 1.386-.96zM4.491.695c0 .307-.346.762-1.044.762h-.276v1.5h1.32V8h1.5V.695h-1.5zm10.818 9.835-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM8.085 8.42a.956.956 0 1 0 0-1.913.956.956 0 0 0 0 1.913z'/>"},{size:24,svgContent:"<path d='M22.008 4.219c0 .968-.398 1.802-1.04 2.414.915.654 1.535 1.634 1.535 2.835 0 2.26-2.197 3.737-4.418 3.737-2.22 0-4.418-1.477-4.418-3.737 0-1.205.625-2.187 1.545-2.842a3.307 3.307 0 0 1-1.02-2.407c0-2.048 1.76-3.513 3.893-3.513 2.118 0 3.923 1.453 3.923 3.513zm-5.816 0c0 .728.637 1.513 1.893 1.513 1.27 0 1.923-.798 1.923-1.513 0-.715-.653-1.513-1.923-1.513-1.256 0-1.893.785-1.893 1.513zm-.525 5.25c0 .762.864 1.736 2.418 1.736 1.555 0 2.418-.974 2.418-1.737 0-.763-.863-1.736-2.418-1.736-1.554 0-2.418.973-2.418 1.736zm6.375 7.128L19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.414 1.415zm-9.343-4.883a.96.96 0 1 1-1.92 0 .96.96 0 0 1 1.92 0zM7.002.985c0 .634-.679 1.42-1.87 1.42h-.443v2h2.313v8.269h2V.985h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},39531:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.309 10.53-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zm-1.746-7.426c0 .642-.506 1.098-1.103 1.098s-1.103-.446-1.103-1.098c0-.653.506-1.098 1.103-1.098s1.102.455 1.102 1.098zm-3.53 4.52c.353.218 1.021.376 1.618.376 2.367 0 3.662-1.474 3.662-3.977 0-2.225-1.255-3.333-2.782-3.333-1.568 0-2.701 1.029-2.701 2.463 0 1.434 1.123 2.344 2.418 2.344.687 0 1.284-.296 1.517-.722-.091 1.266-.94 1.88-2.135 1.88-.485 0-.97-.149-1.234-.277l-.364 1.246zM3.447 1.457c.698 0 1.044-.455 1.044-.762h1.5V8h-1.5V2.957h-1.32v-1.5h.276zm4.976 6.89A.956.956 0 1 1 7.69 6.58a.956.956 0 0 1 .733 1.767z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.543-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.415 1.415 2.543 2.543-2.543 2.542 1.415 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zm-2.97-6.45c-.943 0-2.045-.253-2.62-.617l.575-1.772c.431.238 1.262.475 2.028.475 2.236 0 3.562-1.281 3.673-3.354-.43.712-1.42 1.25-2.698 1.25-2.06 0-3.897-1.408-3.897-3.765C13.59 2.614 15.459 1 17.87 1c2.395 0 4.487 1.693 4.487 5.252 0 4.05-1.996 6.438-5.829 6.438zm1.293-5.853c1.102 0 2.076-.775 2.076-1.993 0-1.186-.974-1.977-2.076-1.977-1.118 0-2.076.775-2.076 1.977 0 1.234.942 1.993 2.076 1.993zm-5.484 5.556a.96.96 0 1 1-1.358-1.357.96.96 0 0 1 1.358 1.357zM5.132 2.406c1.191 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406H4.689v-2h.443z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},96301:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.485 2.37c0 .734-.759 1.533-1.957 1.533h-.417v1.5h2.374v7.992h1.5V2.37h-1.5zm9.935 6.043-1.97 1.97 1.97 1.97-1.061 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.969 1.97-1.97 1.06 1.061z'/>"},{size:24,svgContent:"<path d='M7.578 4c0 1.146-1.174 2.345-2.967 2.345H4v2h3.578v11.809h2V4h-2zm13.072 9.755-2.542 2.543 2.543 2.543-1.415 1.414-2.543-2.543-2.543 2.543-1.414-1.414 2.543-2.543-2.543-2.543 1.414-1.414 2.543 2.543 2.543-2.543 1.415 1.414z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},813:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m13.34 12.5 1.97-1.97h-.002l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.969 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zM12.277 1.263c.697 0 1.043-.456 1.043-.763h1.5V8h-1.5V2.763H12v-1.5h.277zM5.416 1.7c-.735 0-1.216.529-1.216 1.09v.35H2.7v-.35C2.7 1.32 3.936.2 5.416.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067a3.17 3.17 0 0 0-.703.467 1.924 1.924 0 0 0-.336.387h3.292v1.5H2.778v-.75c0-1.053.543-1.792 1.055-2.253a4.46 4.46 0 0 1 .718-.52 5.676 5.676 0 0 1 .327-.179l.017-.009.025-.013-.001.001c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm5.506 6.647a.956.956 0 1 1-.731-1.766.956.956 0 0 1 .731 1.766z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.542-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.414 1.415 2.543 2.543-2.543 2.542 1.414 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zM17.942 2.406c1.192 0 1.87-.787 1.87-1.42h2v11.688h-2V4.405H17.5v-2h.442zm-8.796.204C7.87 2.61 7 3.535 7 4.555v.56H5v-.56C5 2.322 6.877.61 9.146.61c2.535 0 4.152 2.118 3.977 4.186-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.318 5.318 0 0 0-1.174.78c-.301.272-.567.59-.742.97h5.605v2H5.124v-1c0-1.61.83-2.743 1.623-3.457a6.936 6.936 0 0 1 1.116-.81c.16-.094.3-.169.408-.225l.105-.054.027-.014.045-.024h.001c.145-.083.554-.305.95-.52.298-.162.59-.32.753-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017zm7.893 9.783a.96.96 0 1 0-1.357-1.358.96.96 0 0 0 1.357 1.358z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},70864:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m13.34 12.5 1.97-1.97h-.002l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.969 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zm-.624-10.8c-.735 0-1.216.529-1.216 1.09v.35H10v-.35C10 1.32 11.236.2 12.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.925 1.925 0 0 0-.336.387h3.292v1.5h-5.014v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.677 5.677 0 0 1 .327-.179l.017-.009.025-.013-.001.001c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm-9 0c-.735 0-1.216.529-1.216 1.09v.35H1v-.35C1 1.32 2.236.2 3.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.924 1.924 0 0 0-.336.387h3.292v1.5H1.078v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.67 5.67 0 0 1 .37-.2h-.002c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm4.807 6.647A.956.956 0 1 1 7.79 6.58a.956.956 0 0 1 .733 1.767z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.542-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.414 1.415 2.543 2.543-2.543 2.542 1.414 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zm-6.961-6.747a.96.96 0 1 0-1.358-1.358.96.96 0 0 0 1.358 1.358zm5.607-9.783C16.87 2.61 16 3.535 16 4.555v.56h-2v-.56C14 2.322 15.877.61 18.146.61c2.535 0 4.152 2.118 3.977 4.186-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.314 5.314 0 0 0-1.174.78c-.302.272-.567.59-.742.97h5.605v2h-7.823v-1c0-1.61.83-2.743 1.623-3.457a6.938 6.938 0 0 1 1.116-.81c.16-.094.3-.169.408-.225.038-.02.075-.04.105-.054a5.942 5.942 0 0 0 .072-.038c.146-.083.555-.305.95-.52.3-.162.59-.32.754-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017zm-12.4 0C4.47 2.61 3.6 3.535 3.6 4.555v.56h-2v-.56C1.6 2.322 3.477.61 5.746.61 8.281.61 9.9 2.728 9.723 4.796c-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.318 5.318 0 0 0-1.174.78c-.302.272-.567.59-.742.97h5.605v2H1.724v-1c0-1.61.83-2.743 1.623-3.457a6.936 6.936 0 0 1 1.116-.81c.16-.094.3-.169.408-.225l.105-.054a125.249 125.249 0 0 1 .072-.038c.146-.083.555-.305.95-.52.3-.162.59-.32.754-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},29147:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.308 10.53-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM15.345.5v1.225l-1.796 1.549c.318.113.603.28.847.498.563.502.835 1.208.835 1.93 0 1.608-1.42 2.511-2.77 2.511-1.617 0-2.741-1.206-2.861-2.56l1.494-.133c.055.62.568 1.193 1.367 1.193s1.27-.484 1.27-1.011c0-.347-.126-.626-.333-.81-.203-.182-.558-.336-1.136-.285a6.06 6.06 0 0 1-.132.01 2.907 2.907 0 0 0-.215.024l-.015.004.02-.008-.798-1.252L12.73 2H9.913V.5h5.432zM3.716 1.7c-.735 0-1.216.529-1.216 1.09v.35H1v-.35C1 1.32 2.236.2 3.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.924 1.924 0 0 0-.336.387h3.292v1.5H1.078v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.67 5.67 0 0 1 .37-.2h-.002c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm4.607 6.647A.956.956 0 1 1 7.59 6.58a.956.956 0 0 1 .733 1.767z'/>"},{size:24,svgContent:"<path d='M11.74 12.674a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92zm10.302 3.923L19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.413 1.415zM5.446 2.61C4.17 2.61 3.3 3.535 3.3 4.555v.56h-2v-.56C1.3 2.322 3.177.61 5.446.61 7.981.61 9.6 2.728 9.423 4.796c-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.318 5.318 0 0 0-1.174.78c-.302.272-.567.59-.742.97h5.605v2H1.424v-1c0-1.61.83-2.743 1.623-3.457a6.936 6.936 0 0 1 1.116-.81c.16-.094.3-.169.408-.225l.105-.054.027-.014.045-.024c.146-.083.555-.305.95-.52.3-.162.59-.32.754-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017zm17.146.043V.985h-8.49v2h5.043l-2.978 2.567 1.065 1.669a.522.522 0 0 1 .03-.006c.042-.009.098-.018.166-.026.067-.007.136-.013.207-.018l.06-.004.148-.011c.969-.084 1.594.172 1.968.506.378.337.6.841.6 1.445 0 .988-.881 1.819-2.232 1.819-1.388 0-2.29-1-2.387-2.092l-1.992.177c.183 2.069 1.901 3.915 4.38 3.915 2.085 0 4.231-1.39 4.231-3.82 0-1.104-.416-2.177-1.27-2.938a3.961 3.961 0 0 0-1.625-.862l3.076-2.653z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},23134:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.308 10.53-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM3.716 1.7c-.735 0-1.216.529-1.216 1.09v.35H1v-.35C1 1.32 2.236.2 3.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.924 1.924 0 0 0-.336.387h3.292v1.5H1.078v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.67 5.67 0 0 1 .37-.2h-.002c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm9.264 4.736H9.5V4.85L12.588.5h1.859v4.622h1.141v1.314h-1.141V8.21H12.98V6.436zM11 5.122h1.98V2.305L11 5.122zM8.323 8.347A.956.956 0 1 1 7.59 6.58a.956.956 0 0 1 .733 1.767z'/>"},{size:24,svgContent:"<path d='m20.627 15.177 1.414 1.414-2.544 2.543 2.544 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.415-1.414 2.543-2.543-2.543-2.543 1.415-1.414 2.543 2.543 2.543-2.543zM5.146 2.61C3.87 2.61 3 3.535 3 4.555v.56H1v-.56C1 2.322 2.877.61 5.146.61 7.681.61 9.3 2.728 9.123 4.796c-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.318 5.318 0 0 0-1.174.78c-.301.272-.567.59-.742.97h5.605v2H1.124v-1c0-1.61.83-2.743 1.623-3.457a6.936 6.936 0 0 1 1.116-.81c.16-.094.3-.169.408-.225l.105-.054.027-.014.045-.024h.001c.145-.083.554-.305.95-.52.298-.162.59-.32.753-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017zm13.544 7.584H13.3V7.737L18.084 1h2.878v7.158h1.768v2.036h-1.768v2.748H18.69v-2.748zm-3.066-2.036h3.066V3.796l-3.066 4.362zm-4.264 4.516a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},14129:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2.42 2.83c0-.561.48-1.09 1.216-1.09s1.16.592 1.116 1.125a1.002 1.002 0 0 1-.548.836c-.1.056-.28.154-.466.255-.249.135-.508.276-.6.328h.002l-.026.012-.016.009-.067.034a5.665 5.665 0 0 0-.26.144 4.46 4.46 0 0 0-.718.521c-.512.46-1.056 1.2-1.056 2.253v.75h5.014v-1.5H2.72c.093-.143.208-.272.337-.387a3.17 3.17 0 0 1 .703-.468 43.016 43.016 0 0 1 .654-.356c.19-.103.388-.21.518-.282a2.5 2.5 0 0 0 1.315-2.022A2.568 2.568 0 0 0 3.636.24C2.156.24.92 1.359.92 2.83v.35h1.5v-.35zm12.889 7.7-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM10.82.5h3.749V2h-2.555l-.188.82a2.76 2.76 0 0 1 .647-.075c1.515 0 2.763 1.214 2.763 2.734s-1.248 2.734-2.763 2.734a2.754 2.754 0 0 1-2.74-2.376l1.487-.197c.08.597.603 1.073 1.253 1.073.707 0 1.263-.562 1.263-1.234 0-.672-.556-1.234-1.263-1.234a1.27 1.27 0 0 0-1.028.516l-.01.014-.189.233-1.314-.639L10.819.5zM8.085 8.42a.956.956 0 1 0 0-1.913.956.956 0 0 0 0 1.913z'/>"},{size:24,svgContent:"<path d='M3.398 4.555c0-1.02.87-1.945 2.146-1.945 1.302 0 2.066 1.054 1.984 2.017-.058.693-.411 1.183-.978 1.497-.164.09-.455.249-.753.41a82.975 82.975 0 0 0-.951.521L4.8 7.08l-.027.014-.105.054a8.875 8.875 0 0 0-.408.225 6.87 6.87 0 0 0-1.116.81c-.794.714-1.623 1.847-1.623 3.456v1h7.823v-2H3.74c.175-.378.44-.697.742-.969a5.318 5.318 0 0 1 1.174-.78c.07-.037.133-.069.183-.098.137-.078.491-.27.857-.469.306-.165.62-.336.823-.448 1.105-.613 1.883-1.67 2.002-3.078C9.696 2.728 8.08.61 5.544.61c-2.27 0-4.146 1.712-4.146 3.945v.56h2v-.56zM15.454.985h5.84v2h-4.247l-.412 1.794a4.26 4.26 0 0 1 1.304-.203c2.318 0 4.221 1.856 4.221 4.175 0 2.32-1.903 4.175-4.22 4.175-2.134 0-3.913-1.57-4.186-3.628l1.983-.263c.14 1.056 1.063 1.89 2.202 1.89 1.24 0 2.221-.986 2.221-2.174s-.98-2.175-2.22-2.175c-.747 0-1.403.359-1.806.908l-.013.018-.3.37-1.752-.852L15.454.985zm-3.715 11.689a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92zm10.303 3.923L19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.414 1.415z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},44836:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.308 10.53-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM13.527.5c.673 0 1.21.147 1.504.337l-.442 1.346a2.562 2.562 0 0 0-1.146-.263c-1.21 0-2.072.704-2.292 2.008.294-.42.872-.747 1.693-.747 1.45 0 2.386.989 2.386 2.471 0 1.535-1.209 2.618-2.796 2.618-1.599 0-2.934-1.22-2.934-3.417C9.5 2.14 11.14.5 13.527.5zm-1.115 4.027c-.599 0-1.146.42-1.146 1.178 0 .725.558 1.167 1.146 1.167.62 0 1.178-.42 1.178-1.167 0-.757-.557-1.178-1.178-1.178zM3.716 1.7c-.735 0-1.216.529-1.216 1.09v.35H1v-.35C1 1.32 2.236.2 3.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.924 1.924 0 0 0-.336.387h3.292v1.5H1.078v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.67 5.67 0 0 1 .37-.2h-.002c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm4.707 6.647A.956.956 0 1 1 7.69 6.58a.956.956 0 0 1 .733 1.767z'/>"},{size:24,svgContent:"<path d='M22.042 16.597 19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.413 1.415zM11.181 11.03a.96.96 0 1 1 1.358 1.357.96.96 0 0 1-1.358-1.358zM5.446 2.61C4.17 2.61 3.3 3.535 3.3 4.555v.56h-2v-.56C1.3 2.322 3.177.61 5.446.61 7.981.61 9.6 2.728 9.423 4.796c-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.318 5.318 0 0 0-1.174.78c-.302.272-.567.59-.742.97h5.605v2H1.424v-1c0-1.61.83-2.743 1.623-3.457a6.936 6.936 0 0 1 1.116-.81c.16-.094.3-.169.408-.225l.105-.054.027-.014.045-.024c.146-.083.555-.305.95-.52.3-.162.59-.32.754-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017zm17.166-1.427C22.112.85 21.196.6 20.113.6 16.365.6 13.7 3.215 13.7 7.48c0 3.648 2.216 5.43 4.73 5.43 2.533 0 4.515-1.633 4.515-4.114 0-2.416-1.632-3.948-3.998-3.948-1.482 0-2.515.65-2.948 1.382.233-2.232 1.766-3.631 3.98-3.631.767 0 1.483.233 1.983.45l.65-1.866zm-6.38 7.68c0-1.317 1-2.133 2.199-2.133 1.182 0 2.215.816 2.215 2.132 0 1.3-1.016 2.099-2.215 2.099-1.166 0-2.199-.816-2.199-2.099z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},20399:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M15.221.69H10v1.37h3.547S11.258 4.123 10.961 8h1.625c.277-3.361 1.962-5.207 2.635-5.836V.69zm.087 9.84-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM8.923 8.347A.956.956 0 1 1 8.19 6.58a.956.956 0 0 1 .733 1.767zM3.716 1.7c-.735 0-1.216.529-1.216 1.09v.35H1v-.35C1 1.32 2.236.2 3.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.924 1.924 0 0 0-.336.387h3.292v1.5H1.078v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.67 5.67 0 0 1 .37-.2h-.002c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125z'/>"},{size:24,svgContent:"<path d='m20.627 15.177 1.414 1.414-2.544 2.543 2.544 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.415-1.414 2.543-2.543-2.543-2.543 1.415-1.414 2.543 2.543 2.543-2.543zm-9.046-4.147a.96.96 0 1 1 1.358 1.357.96.96 0 0 1-1.358-1.358zM13.6.8h9v2.014c-.964.796-4.33 3.86-4.872 9.986h-2.42c.525-6.584 4.602-9.969 4.602-9.969H13.6V.8zM5.446 2.61C4.17 2.61 3.3 3.535 3.3 4.555v.56h-2v-.56C1.3 2.322 3.177.61 5.446.61 7.981.61 9.6 2.728 9.423 4.796c-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.318 5.318 0 0 0-1.174.78c-.302.272-.567.59-.742.97h5.605v2H1.424v-1c0-1.61.83-2.743 1.623-3.457a6.936 6.936 0 0 1 1.116-.81c.16-.094.3-.169.408-.225l.105-.054.027-.014.045-.024c.146-.083.555-.305.95-.52.3-.162.59-.32.754-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},54098:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.855 2.647a2.17 2.17 0 0 1-.585 1.495c.535.426.895 1.038.895 1.785 0 1.506-1.457 2.46-2.887 2.46-1.429 0-2.886-.954-2.886-2.46 0-.75.362-1.364.902-1.79a2.186 2.186 0 0 1-.574-1.49c0-1.363 1.171-2.32 2.558-2.32 1.377 0 2.577.948 2.577 2.32zm-1.5 0c0-.363-.336-.82-1.077-.82-.73 0-1.058.447-1.058.82 0 .372.328.82 1.058.82.741 0 1.077-.457 1.077-.82zm.31 3.28c0-.383-.457-.96-1.387-.96-.929 0-1.386.577-1.386.96 0 .384.457.96 1.387.96.93 0 1.386-.576 1.386-.96zM13.34 12.5l1.97-1.97h-.002l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.969 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zM3.716 1.7c-.735 0-1.216.529-1.216 1.09v.35H1v-.35C1 1.32 2.236.2 3.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.924 1.924 0 0 0-.336.387h3.292v1.5H1.078v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.67 5.67 0 0 1 .37-.2h-.002c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm4.607 6.647A.956.956 0 1 1 7.59 6.58a.956.956 0 0 1 .733 1.767z'/>"},{size:24,svgContent:"<path d='M20.968 6.633a3.288 3.288 0 0 0 1.04-2.414c0-2.06-1.805-3.513-3.923-3.513-2.133 0-3.893 1.465-3.893 3.513a3.306 3.306 0 0 0 1.02 2.407c-.92.655-1.545 1.637-1.545 2.842 0 2.26 2.198 3.737 4.418 3.737 2.221 0 4.418-1.477 4.418-3.737 0-1.201-.62-2.181-1.535-2.835zm-2.883-.9c-1.256 0-1.893-.786-1.893-1.514s.637-1.513 1.893-1.513c1.27 0 1.923.798 1.923 1.513 0 .715-.653 1.513-1.923 1.513zm0 5.472c-1.554 0-2.418-.974-2.418-1.736 0-.763.864-1.737 2.418-1.737 1.555 0 2.418.973 2.418 1.736s-.863 1.737-2.418 1.737zm2.542 3.972 1.414 1.414-2.544 2.543 2.544 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.415-1.414 2.543-2.543-2.543-2.543 1.415-1.414 2.543 2.543 2.543-2.543zm-9.546-4.147a.96.96 0 1 1 1.358 1.357.96.96 0 0 1-1.358-1.358zM5.544 2.61c-1.276 0-2.146.925-2.146 1.945v.56h-2v-.56C1.398 2.322 3.275.61 5.544.61c2.535 0 4.152 2.118 3.977 4.186-.12 1.407-.897 2.465-2.002 3.078-.204.112-.517.283-.823.448-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.318 5.318 0 0 0-1.174.78c-.302.272-.567.59-.742.97h5.605v2H1.522v-1c0-1.61.83-2.743 1.623-3.457a6.936 6.936 0 0 1 1.116-.81c.16-.094.3-.169.408-.225.038-.02.075-.04.105-.054l.027-.014.045-.024c.146-.083.555-.305.95-.52.3-.162.59-.32.754-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},63077:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m15.308 10.53-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM3.716 1.7c-.735 0-1.216.529-1.216 1.09v.35H1v-.35C1 1.32 2.236.2 3.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.924 1.924 0 0 0-.336.387h3.292v1.5H1.078v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.67 5.67 0 0 1 .37-.2h-.002c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zm7.487 6.57c-.673 0-1.209-.147-1.503-.336l.441-1.346c.305.147.673.263 1.146.263 1.21 0 2.072-.705 2.292-2.008-.294.42-.872.746-1.692.746-1.451 0-2.387-.988-2.387-2.47C9.5 1.582 10.71.5 12.297.5c1.598 0 2.933 1.22 2.933 3.417 0 2.713-1.64 4.353-4.027 4.353zm1.115-4.027c.6 0 1.146-.42 1.146-1.177 0-.726-.557-1.167-1.146-1.167-.62 0-1.178.42-1.178 1.167 0 .757.557 1.177 1.178 1.177zM7.957 8.42a.956.956 0 1 0 0-1.913.956.956 0 0 0 0 1.913z'/>"},{size:24,svgContent:"<path d='M11.74 12.674a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92zm8.887 2.503 1.414 1.414-2.544 2.543 2.544 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.415-1.414 2.543-2.543-2.543-2.543 1.415-1.414 2.543 2.543 2.543-2.543zM5.544 2.61c-1.276 0-2.146.925-2.146 1.945v.56h-2v-.56C1.398 2.322 3.275.61 5.544.61c2.535 0 4.152 2.118 3.977 4.186-.12 1.407-.897 2.465-2.002 3.078l-.823.448c-.366.199-.72.39-.857.47-.05.028-.112.06-.183.097a5.317 5.317 0 0 0-1.174.78c-.302.272-.567.59-.742.97h5.605v2H1.522v-1c0-1.61.83-2.743 1.623-3.457a6.935 6.935 0 0 1 1.116-.81c.16-.094.3-.169.408-.225.038-.02.075-.04.105-.054l.027-.014.045-.024c.146-.083.555-.305.95-.52.3-.162.59-.32.754-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017zm8.544 9.717c.5.333 1.416.583 2.499.583 3.748 0 6.413-2.615 6.413-6.88C23 2.382 20.785.6 18.27.6c-2.533 0-4.515 1.632-4.515 4.114 0 2.416 1.632 3.948 3.998 3.948 1.482 0 2.515-.65 2.948-1.382-.233 2.232-1.765 3.631-3.98 3.631-.767 0-1.483-.233-1.983-.45l-.65 1.866zm6.38-7.68c0 1.317-1 2.133-2.199 2.133-1.182 0-2.215-.816-2.215-2.132 0-1.3 1.016-2.1 2.215-2.1 1.166 0 2.199.817 2.199 2.1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},30416:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2.197 5.931c0-1.08.918-2.028 2.218-2.028 1.346 0 2.15 1.097 2.064 2.112-.061.723-.435 1.24-1.022 1.565l-.718.391c-.37.201-.75.408-.886.486l-.013.006-.038.02-.026.014-.098.05c-.1.052-.23.121-.376.208a6.35 6.35 0 0 0-1.021.74c-.724.652-1.467 1.673-1.467 3.117v.75H8v-1.5H2.43c.164-.51.487-.92.854-1.25.444-.4.885-.629 1.153-.768.064-.033.118-.06.16-.085.13-.074.469-.258.817-.447.288-.156.582-.316.77-.42.99-.549 1.683-1.492 1.79-2.75.156-1.844-1.288-3.739-3.56-3.739C2.37 2.403.698 3.942.698 5.931v.527h1.5v-.527zm13.112 2.482-1.97 1.97 1.97 1.97-1.061 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.969 1.97-1.97 1.06 1.061z'/>"},{size:24,svgContent:"<path d='M4 8.248C4 6.508 5.477 5 7.538 5c2.15 0 3.441 1.755 3.303 3.39-.098 1.157-.701 1.989-1.638 2.507-.245.136-.67.367-1.102.601-.564.307-1.141.62-1.35.739l-.005.003-.017.01a8.812 8.812 0 0 1-.06.03l-.041.022-.149.076c-.151.08-.346.184-.568.314-.44.26-.994.627-1.538 1.116-1.088.978-2.194 2.502-2.194 4.656v1H13.02v-2H4.307c.239-.903.785-1.612 1.404-2.17.694-.624 1.39-.984 1.8-1.196.093-.049.172-.09.233-.124.2-.115.722-.398 1.256-.688.44-.238.888-.482 1.172-.64 1.476-.816 2.503-2.217 2.662-4.088C13.066 5.819 10.92 3 7.538 3 4.484 3 2 5.295 2 8.248v.806h2v-.806zm19.062 4.709L20.52 15.5l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.414L17.69 15.5l-2.543-2.543 1.414-1.414 2.543 2.543 2.543-2.543 1.414 1.414z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},43854:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.553 1.725V.5H3.122V2h2.815L4.33 3.385l.799 1.252-.022.008.016-.004c.071-.011.143-.02.215-.025l.035-.002.097-.007c.578-.05.932.103 1.136.284.207.185.333.464.333.81 0 .528-.471 1.012-1.27 1.012-.8 0-1.312-.572-1.367-1.193l-1.494.132c.12 1.355 1.244 2.561 2.86 2.561 1.35 0 2.77-.903 2.77-2.511 0-.722-.271-1.428-.834-1.93a2.555 2.555 0 0 0-.847-.498l1.795-1.549zM13.339 12.5l1.97-1.97h-.001l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.969 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zm-1.818-5.037a.956.956 0 1 1-1.912 0 .956.956 0 0 1 1.912 0zm.935-6.006c.697 0 1.044-.455 1.044-.762H15V8h-1.5V2.957h-1.32v-1.5h.276z'/>"},{size:24,svgContent:"<path d='M22.042 16.597 19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.413 1.415zm-8.75-13.944V.985h-8.49v2h5.042L6.867 5.552 7.932 7.22l-.012.005c.069-.017.138-.029.208-.037.069-.008.137-.014.206-.018l.06-.004.149-.011c.968-.084 1.594.172 1.967.506.379.337.6.84.6 1.445 0 .988-.88 1.819-2.231 1.819-1.389 0-2.29-1-2.387-2.092L4.5 9.01c.183 2.069 1.9 3.915 4.379 3.915 2.085 0 4.232-1.39 4.232-3.82 0-1.104-.416-2.177-1.27-2.938a3.96 3.96 0 0 0-1.626-.862l3.077-2.653zm1.781 8.377a.96.96 0 1 1 1.358 1.358.96.96 0 0 1-1.358-1.359zm2.771-8.624c1.191 0 1.87-.787 1.87-1.42h2v11.688h-2V4.406H17.4v-2h.443z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},31519:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m13.339 12.5 1.97-1.97h-.001l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.969 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zM6.345.5v1.225L4.549 3.274c.318.113.603.28.847.498.563.502.835 1.208.835 1.93 0 1.608-1.42 2.511-2.77 2.511C1.845 8.213.72 7.007.6 5.653l1.494-.133c.055.62.568 1.193 1.367 1.193s1.27-.484 1.27-1.011c0-.347-.126-.626-.333-.81-.203-.182-.558-.336-1.136-.285l-.097.007a9.761 9.761 0 0 0-.159.013.984.984 0 0 0-.091.014l-.015.004.02-.008-.798-1.252L3.73 2H.913V.5h5.432zm6.371 1.2c-.735 0-1.216.529-1.216 1.09v.35H10v-.35C10 1.32 11.236.2 12.716.2a2.568 2.568 0 0 1 2.61 2.752 2.5 2.5 0 0 1-1.315 2.022c-.13.072-.327.179-.518.282-.227.124-.445.242-.53.29l-.124.067c-.179.093-.435.226-.703.467a1.925 1.925 0 0 0-.336.387h3.292v1.5h-5.014v-.75c0-1.053.543-1.792 1.055-2.253.256-.23.515-.4.718-.52a5.677 5.677 0 0 1 .327-.179l.017-.009.025-.013-.001.001c.091-.052.35-.193.6-.328l.465-.254c.321-.178.515-.448.548-.837.045-.533-.38-1.125-1.116-1.125zM8.912 7.463a.956.956 0 1 1-1.912 0 .956.956 0 0 1 1.912 0z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.542-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.414 1.415 2.543 2.543-2.543 2.542 1.414 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zm-8.119-8.11a.96.96 0 1 1 1.358 1.357.96.96 0 0 1-1.358-1.358zm-1.089-8.377V.985h-8.49v2h5.043L3.867 5.552l1.065 1.669-.012.005a1.761 1.761 0 0 1 .208-.037 4.86 4.86 0 0 1 .207-.018l.06-.004.148-.011c.969-.084 1.594.172 1.968.506.378.337.6.841.6 1.445 0 .988-.881 1.819-2.232 1.819-1.388 0-2.29-1-2.387-2.092L1.5 9.011c.183 2.069 1.901 3.915 4.38 3.915 2.085 0 4.231-1.39 4.231-3.82 0-1.104-.416-2.177-1.27-2.938a3.96 3.96 0 0 0-1.625-.862l3.076-2.653zm8.554-.043c-1.276 0-2.146.925-2.146 1.945v.56h-2v-.56C14.7 2.322 16.577.61 18.846.61c2.535 0 4.153 2.118 3.977 4.186-.119 1.407-.896 2.465-2.002 3.078-.203.112-.517.283-.823.448a69.7 69.7 0 0 0-.857.47c-.05.028-.112.06-.183.097a5.34 5.34 0 0 0-1.174.78c-.301.272-.567.59-.742.97h5.605v2h-7.823v-1c0-1.61.83-2.743 1.623-3.457a6.938 6.938 0 0 1 1.116-.81 8.871 8.871 0 0 1 .513-.28l.027-.013.045-.024h.001c.145-.083.554-.305.95-.52.298-.162.59-.32.753-.411.567-.314.92-.804.978-1.497.082-.963-.682-2.017-1.984-2.017z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},45364:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m13.339 12.5 1.97-1.97h-.001l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.969 1.97 1.06 1.06 1.97-1.97 1.97 1.97 1.06-1.06-1.97-1.97zm2.006-12v1.225l-1.796 1.549c.318.113.603.28.847.498.563.502.835 1.208.835 1.93 0 1.608-1.42 2.511-2.77 2.511-1.616 0-2.741-1.206-2.861-2.56l1.494-.133c.055.62.568 1.193 1.367 1.193s1.27-.484 1.27-1.011c0-.347-.126-.626-.333-.81-.203-.182-.558-.336-1.136-.285a6.06 6.06 0 0 1-.132.01 2.922 2.922 0 0 0-.124.01.984.984 0 0 0-.091.014l-.015.004.02-.008-.798-1.252L12.73 2H9.913V.5h5.432zM6.443.5v1.225L4.648 3.274c.318.113.603.28.847.498.563.502.835 1.208.835 1.93 0 1.608-1.42 2.511-2.77 2.511-1.617 0-2.742-1.206-2.86-2.56l1.494-.133c.055.62.568 1.193 1.367 1.193s1.27-.484 1.27-1.011c0-.347-.126-.626-.333-.81-.204-.182-.558-.336-1.136-.285l-.097.007a9.761 9.761 0 0 0-.16.013.983.983 0 0 0-.09.014l-.016.004.022-.008-.799-1.252L3.827 2H1.012V.5h5.431zm2.469 6.963a.956.956 0 1 1-1.912 0 .956.956 0 0 1 1.912 0z'/>"},{size:24,svgContent:"<path d='m19.5 19.14 2.542-2.543-1.413-1.415-2.543 2.543-2.543-2.543-1.414 1.415 2.543 2.543-2.543 2.542 1.414 1.415 2.543-2.543 2.543 2.543 1.414-1.414L19.5 19.14zm3.292-16.487V.985h-8.49v2h5.043l-2.978 2.567 1.065 1.669-.012.005a1.756 1.756 0 0 1 .208-.037c.067-.007.136-.013.207-.018l.06-.004.148-.011c.969-.084 1.594.172 1.968.506.378.337.6.841.6 1.445 0 .988-.881 1.819-2.232 1.819-1.388 0-2.29-1-2.387-2.092L14 9.011c.183 2.069 1.901 3.915 4.38 3.915 2.085 0 4.231-1.39 4.231-3.82 0-1.104-.416-2.177-1.27-2.938a3.961 3.961 0 0 0-1.625-.862l3.076-2.653zm-13 0V.985h-8.49v2h5.043L3.367 5.552l1.065 1.669-.012.005a1.761 1.761 0 0 1 .208-.037 4.86 4.86 0 0 1 .207-.018l.06-.004.148-.011c.969-.084 1.594.172 1.968.506.378.337.6.841.6 1.445 0 .988-.881 1.819-2.232 1.819-1.388 0-2.29-1-2.387-2.092L1 9.011c.183 2.069 1.901 3.915 4.38 3.915 2.085 0 4.231-1.39 4.231-3.82 0-1.104-.416-2.177-1.27-2.938a3.96 3.96 0 0 0-1.625-.862l3.076-2.653zm1.389 8.377a.96.96 0 1 1 1.358 1.357.96.96 0 0 1-1.358-1.358z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},23005:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.5 6.436h3.48V8.21h1.466V6.436h1.142V5.122h-1.141V.5h-1.859L9.5 4.85v1.586zm3.48-1.314H11l1.98-2.817v2.817zm2.329 5.408-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06h.001zM6.443.5v1.225L4.648 3.274c.318.113.603.28.847.498.563.502.835 1.208.835 1.93 0 1.608-1.42 2.511-2.77 2.511-1.617 0-2.742-1.206-2.86-2.56l1.494-.133c.055.62.568 1.193 1.367 1.193s1.27-.484 1.27-1.011c0-.347-.126-.626-.333-.81-.204-.182-.558-.336-1.136-.285l-.097.007a9.761 9.761 0 0 0-.16.013.983.983 0 0 0-.09.014l-.016.004.022-.008-.799-1.252L3.827 2H1.012V.5h5.431zm2.37 6.963a.956.956 0 1 1-1.913 0 .956.956 0 0 1 1.913 0z'/>"},{size:24,svgContent:"<path d='M13.3 10.194h5.39v2.748h2.271v-2.748h1.769V8.158h-1.768V1h-2.879L13.3 7.737v2.457zm5.39-2.036h-3.066l3.066-4.362v4.362zm3.352 8.439L19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.413 1.415zM9.792 2.653V.985h-8.49v2h5.043L3.367 5.552l1.065 1.669-.012.005a1.761 1.761 0 0 1 .208-.037 4.86 4.86 0 0 1 .207-.018l.06-.004.148-.011c.969-.084 1.594.172 1.968.506.378.337.6.841.6 1.445 0 .988-.881 1.819-2.232 1.819-1.388 0-2.29-1-2.387-2.092L1 9.011c.183 2.069 1.901 3.915 4.38 3.915 2.085 0 4.231-1.39 4.231-3.82 0-1.104-.416-2.177-1.27-2.938a3.96 3.96 0 0 0-1.625-.862l3.076-2.653zm.989 8.377a.96.96 0 1 1 1.358 1.357.96.96 0 0 1-1.358-1.358z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},6250:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6.443 1.725V.5H1.012V2h2.815L2.221 3.385l.799 1.252-.022.008.016-.004a2.91 2.91 0 0 1 .215-.025l.035-.002.097-.007c.578-.05.932.103 1.136.284.207.185.333.464.333.81 0 .528-.471 1.012-1.27 1.012-.8 0-1.312-.572-1.367-1.193l-1.494.132c.12 1.355 1.244 2.561 2.861 2.561 1.35 0 2.77-.903 2.77-2.511 0-.722-.272-1.428-.835-1.93a2.555 2.555 0 0 0-.847-.498l1.795-1.549zM14.569.5h-3.75l-.887 3.87 1.314.638.189-.233.01-.014a1.27 1.27 0 0 1 1.028-.516c.707 0 1.263.562 1.263 1.234 0 .672-.556 1.234-1.263 1.234-.65 0-1.174-.476-1.253-1.073l-1.487.197a2.754 2.754 0 0 0 2.74 2.376c1.515 0 2.763-1.214 2.763-2.734s-1.248-2.734-2.763-2.734c-.223 0-.44.026-.647.075l.188-.82h2.555V.5zm.74 10.03-1.97 1.97 1.97 1.97-1.06 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.969-1.97-1.97-1.97 1.06-1.06 1.97 1.97 1.97-1.97 1.06 1.06zM9.041 7.463a.956.956 0 1 1-1.912 0 .956.956 0 0 1 1.912 0z'/>"},{size:24,svgContent:"<path d='M10.267 2.653V.985h-8.49v2h5.042L3.842 5.552l1.065 1.669-.012.005a1.762 1.762 0 0 1 .208-.037 4.86 4.86 0 0 1 .206-.018l.06-.004.149-.011c.968-.084 1.594.172 1.967.506.379.337.6.841.6 1.445 0 .988-.88 1.819-2.231 1.819-1.389 0-2.29-1-2.387-2.092l-1.992.177c.183 2.069 1.9 3.915 4.379 3.915 2.085 0 4.232-1.39 4.232-3.82 0-1.104-.416-2.177-1.27-2.938a3.96 3.96 0 0 0-1.626-.862l3.077-2.653zM15.454.985h5.84v2h-4.247l-.412 1.794c.411-.132.85-.203 1.304-.203 2.318 0 4.221 1.856 4.221 4.175 0 2.32-1.903 4.175-4.22 4.175-2.134 0-3.913-1.57-4.186-3.628l1.983-.263c.14 1.056 1.063 1.89 2.202 1.89 1.24 0 2.221-.986 2.221-2.174s-.98-2.175-2.22-2.175c-.747 0-1.403.359-1.806.908l-.014.018-.298.37-1.753-.852L15.454.985zm-3.715 11.689a.96.96 0 1 0 0-1.92.96.96 0 0 0 0 1.92zm10.303 3.923L19.5 19.14l2.543 2.543-1.414 1.414-2.543-2.543-2.543 2.543-1.414-1.415 2.543-2.542-2.543-2.543 1.414-1.415 2.543 2.543 2.543-2.543 1.414 1.415z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},46427:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.096 3.627V2.335H.28v1.5h5.278L2.355 6.596l.799 1.252c.003-.001.024-.009.067-.018.048-.01.107-.02.175-.028a3.86 3.86 0 0 1 .247-.02l.15-.012c.956-.083 1.602.17 2.001.525.403.36.631.89.631 1.508 0 1.071-.953 1.91-2.298 1.91-1.415 0-2.345-1.026-2.444-2.15l-1.495.132c.165 1.857 1.707 3.517 3.939 3.517 1.896 0 3.798-1.257 3.798-3.409 0-.993-.373-1.95-1.133-2.628-.488-.434-1.105-.727-1.823-.852l3.127-2.696zm7.213 4.786-1.97 1.97 1.97 1.97-1.061 1.06-1.97-1.97-1.97 1.97-1.06-1.06 1.97-1.97-1.97-1.97 1.06-1.06 1.97 1.969 1.97-1.97 1.06 1.061z'/>"},{size:24,svgContent:"<path d='M13.805 5.761V4H2v2h8.465l-5.197 4.48 1.065 1.67a1.77 1.77 0 0 1 .414-.082c.153-.018.27-.026.389-.034l.222-.016c1.495-.13 2.525.263 3.171.84.651.58 1.014 1.433 1.014 2.415 0 1.743-1.55 3.066-3.661 3.066-2.244 0-3.726-1.63-3.884-3.42l-1.992.176c.245 2.768 2.542 5.243 5.876 5.243 2.845 0 5.661-1.88 5.661-5.065 0-1.483-.557-2.905-1.683-3.909-.793-.706-1.819-1.163-3.029-1.315l4.974-4.288zm9.691 8.071-2.543 2.543 2.543 2.542-1.415 1.415-2.542-2.543-2.543 2.543-1.414-1.415 2.542-2.543-2.542-2.542 1.414-1.415 2.543 2.543 2.542-2.543 1.415 1.415z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},91494:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4 1h11v11.75A2.75 2.75 0 1 1 12.25 10h1.25V2.5h-8v10.25A2.75 2.75 0 1 1 2.75 10H4V1zm0 10.5H2.75A1.25 1.25 0 1 0 4 12.75V11.5zm9.5 0h-1.25a1.25 1.25 0 1 0 1.25 1.25V11.5z'/>"},{size:24,svgContent:"<path d='M6 3h15v15.167a3.5 3.5 0 1 1-3.5-3.5H19V5H8v13.167a3.5 3.5 0 1 1-3.5-3.5H6V3zm0 13.667H4.5a1.5 1.5 0 1 0 1.5 1.5v-1.5zm13 0h-1.5a1.5 1.5 0 1 0 1.5 1.5v-1.5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},6288:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M15.25 8a.75.75 0 0 1-.75.75H8.75v5.75a.75.75 0 0 1-1.5 0V8.75H1.5a.75.75 0 0 1 0-1.5h5.75V1.5a.75.75 0 0 1 1.5 0v5.75h5.75a.75.75 0 0 1 .75.75z'/>"},{size:24,svgContent:"<path d='M12 1a1 1 0 0 1 1 1v9h9a1 1 0 1 1 0 2h-9v9a1 1 0 1 1-2 0v-9H2a1 1 0 1 1 0-2h9V2a1 1 0 0 1 1-1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},83547:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M11.75 8a.75.75 0 0 1-.75.75H8.75V11a.75.75 0 0 1-1.5 0V8.75H5a.75.75 0 0 1 0-1.5h2.25V5a.75.75 0 0 1 1.5 0v2.25H11a.75.75 0 0 1 .75.75z'/>"},{size:24,svgContent:"<path d='M11.999 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm-11 9c0-6.075 4.925-11 11-11s11 4.925 11 11-4.925 11-11 11-11-4.925-11-11z'/><path d='M17.999 12a1 1 0 0 1-1 1h-4v4a1 1 0 1 1-2 0v-4h-4a1 1 0 1 1 0-2h4V7a1 1 0 1 1 2 0v4h4a1 1 0 0 1 1 1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},73671:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3.404 3.404a6.5 6.5 0 0 1 9.192 9.192l1.06 1.06a8 8 0 1 0-11.313 0l1.06-1.06a6.5 6.5 0 0 1 0-9.192z'/><path d='M11 9.25a3.001 3.001 0 0 1-2.25 2.905v1.474l1.773 1.488a.5.5 0 0 1-.321.883H5.799a.5.5 0 0 1-.322-.883l1.773-1.488v-1.474A3.001 3.001 0 0 1 5 9.25V7a3 3 0 0 1 6 0v2.25zM8 5.5A1.5 1.5 0 0 0 6.5 7v2.25a1.5 1.5 0 0 0 3 0V7A1.5 1.5 0 0 0 8 5.5z'/>"},{size:24,svgContent:"<path d='M12 3a9 9 0 0 0-7.046 14.6L3.42 18.886A10.954 10.954 0 0 1 1 12C1 5.925 5.925 1 12 1s11 4.925 11 11a10.96 10.96 0 0 1-2.421 6.886L19.046 17.6A9 9 0 0 0 12 3z'/><path d='M12 7a4 4 0 0 0-4 4v3a4.002 4.002 0 0 0 3 3.874v1.965l-2.715 2.278a.5.5 0 0 0 .322.883h6.786a.5.5 0 0 0 .322-.883L13 19.839v-1.965c1.725-.444 3-2.01 3-3.874v-3a4 4 0 0 0-4-4zm2 7a2 2 0 0 1-4 0v-3a2 2 0 1 1 4 0v3z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},94341:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.5.81a8 8 0 1 1-7 0l.75 1.3a6.5 6.5 0 1 0 5.5 0l.75-1.3z'/><path d='M8.75.75a.75.75 0 0 0-1.5 0V6.5a.75.75 0 1 0 1.5 0V.75z'/>"},{size:24,svgContent:"<path d='M16.5 1.997a10.992 10.992 0 0 1 5.31 5.054 10.966 10.966 0 0 1-2.893 13.506 11.01 11.01 0 0 1-13.834 0A10.966 10.966 0 0 1 2.189 7.051 10.992 10.992 0 0 1 7.5 1.997l1 1.747a8.995 8.995 0 0 0-4.459 4.082 8.973 8.973 0 0 0 2.261 11.151 9.009 9.009 0 0 0 11.396 0 8.972 8.972 0 0 0 2.26-11.151A8.994 8.994 0 0 0 15.5 3.744l1-1.747z'/><path d='M12.99.998a1 1 0 0 0-2 0v8.986a1 1 0 0 0 2 0V.998z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},89306:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.284 5.21A4.055 4.055 0 0 0 4 6.706c0 2.222 1.782 4.04 4 4.04s4-1.818 4-4.04c0-.529-.1-1.034-.284-1.498.291.189.57.402.84.639.436.38 1.143 1.143 1.739 2.175-.596 1.031-1.303 1.793-1.738 2.175-1.244 1.09-2.692 1.68-4.557 1.68-1.865 0-3.313-.59-4.557-1.68-.435-.382-1.142-1.144-1.738-2.175.596-1.032 1.303-1.794 1.738-2.175.27-.237.55-.45.841-.639zM8 2.666c-2.233 0-4.03.725-5.546 2.053-.603.53-1.544 1.564-2.27 2.957l-.18.347.18.346c.726 1.393 1.667 2.428 2.27 2.957C3.97 12.653 5.767 13.378 8 13.378s4.03-.725 5.546-2.052c.603-.53 1.544-1.564 2.27-2.957l.18-.346-.18-.347c-.726-1.393-1.667-2.427-2.27-2.956C12.03 3.392 10.233 2.667 8 2.667zm0 1.5c1.372 0 2.5 1.128 2.5 2.54 0 1.411-1.128 2.54-2.5 2.54s-2.5-1.129-2.5-2.54c0-1.412 1.128-2.54 2.5-2.54z'/>"},{size:24,svgContent:"<path d='M6.703 7.382A6.073 6.073 0 0 0 6.113 10c0 3.292 2.614 6 5.887 6 3.273 0 5.886-2.708 5.886-6 0-.936-.211-1.825-.589-2.618.573.341 1.115.744 1.634 1.204.674.596 1.77 1.793 2.683 3.414-.913 1.62-2.01 2.818-2.683 3.414C17.037 17.093 14.833 18 12 18s-5.037-.907-6.931-2.586c-.674-.596-1.77-1.793-2.683-3.414.913-1.62 2.01-2.818 2.683-3.414.519-.46 1.061-.863 1.634-1.204zM12 4C8.671 4 5.996 5.091 3.742 7.089c-.896.794-2.3 2.353-3.381 4.453L.125 12l.236.458c1.082 2.1 2.485 3.659 3.381 4.453C5.996 18.908 8.672 20 12 20c3.329 0 6.004-1.091 8.258-3.089.896-.794 2.3-2.353 3.38-4.453l.237-.458-.236-.458c-1.082-2.1-2.485-3.659-3.381-4.453C18.004 5.09 15.328 4 12 4zm0 2c2.125 0 3.886 1.77 3.886 4S14.125 14 12 14s-3.886-1.77-3.886-4S9.875 6 12 6z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},72119:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.152 16H8a8 8 0 1 1 .152 0zm-.41-14.202c-.226.273-.463.713-.677 1.323-.369 1.055-.626 2.496-.687 4.129h3.547c-.06-1.633-.318-3.074-.687-4.129-.213-.61-.45-1.05-.676-1.323-.194-.235-.326-.285-.385-.296h-.044c-.055.007-.19.052-.391.296zM4.877 7.25c.062-1.771.34-3.386.773-4.624.099-.284.208-.554.329-.806a6.507 6.507 0 0 0-4.436 5.43h3.334zm-3.334 1.5a6.507 6.507 0 0 0 4.436 5.43 7.974 7.974 0 0 1-.33-.806c-.433-1.238-.71-2.853-.772-4.624H1.543zm4.835 0c.061 1.633.318 3.074.687 4.129.214.61.451 1.05.677 1.323.202.244.336.29.391.297l.044-.001c.06-.01.19-.061.385-.296.226-.273.463-.713.676-1.323.37-1.055.626-2.496.687-4.129H6.378zm5.048 0c-.061 1.771-.339 3.386-.772 4.624-.082.235-.171.46-.268.674a6.506 6.506 0 0 0 4.071-5.298h-3.03zm3.031-1.5a6.507 6.507 0 0 0-4.071-5.298c.097.214.186.44.268.674.433 1.238.711 2.853.772 4.624h3.031z'/>"},{size:24,svgContent:"<path d='M12.208 23H12C5.925 23 1 18.075 1 12S5.925 1 12 1a11.336 11.336 0 0 1 .383.007C18.28 1.208 22.999 6.053 22.999 12s-4.72 10.792-10.617 10.994a2.304 2.304 0 0 1-.174.006zm-.591-19.577c-.316.381-.644.993-.94 1.836-.513 1.466-.869 3.47-.95 5.741h4.963c-.081-2.27-.437-4.275-.95-5.74-.296-.844-.624-1.456-.94-1.837-.273-.33-.462-.405-.553-.42l-.066-.001c-.086.01-.28.077-.564.421zM7.725 11c.083-2.454.466-4.69 1.065-6.401.146-.418.308-.814.488-1.18A9.009 9.009 0 0 0 3.054 11h4.671zm-4.671 2a9.009 9.009 0 0 0 6.224 7.581c-.18-.366-.342-.762-.488-1.18-.6-1.711-.982-3.947-1.065-6.401H3.054zm6.672 0c.082 2.27.438 4.275.951 5.74.296.844.624 1.456.94 1.837.284.343.478.41.564.421l.066-.001c.09-.015.28-.09.553-.42.316-.381.644-.993.94-1.836.513-1.466.869-3.47.95-5.741H9.726zm6.966 0c-.083 2.454-.466 4.69-1.065 6.401-.123.352-.257.688-.404 1.004A9.009 9.009 0 0 0 20.944 13h-4.252zm4.252-2a9.009 9.009 0 0 0-5.72-7.405c.146.316.28.652.403 1.004.6 1.711.982 3.947 1.065 6.401h4.252z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},10543:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M15 15H1v-1.5h14V15zm0-4.5H1V9h14v1.5zm-14-7A2.5 2.5 0 0 1 3.5 1h9a2.5 2.5 0 0 1 0 5h-9A2.5 2.5 0 0 1 1 3.5zm2.5-1a1 1 0 0 0 0 2h9a1 1 0 1 0 0-2h-9z'/>"},{size:24,svgContent:"<path d='M21 22H3v-2h18v2zm0-6H3v-2h18v2zM2.05 6.546a3.5 3.5 0 0 1 3.5-3.5h13a3.5 3.5 0 0 1 0 7h-13a3.5 3.5 0 0 1-3.5-3.5zm3.5-1.5a1.5 1.5 0 0 0 0 3h13a1.5 1.5 0 0 0 0-3h-13z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},28899:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M5.624 3.886A4.748 4.748 0 0 0 3.25 8c0 1.758.955 3.293 2.375 4.114l.75-1.3a3.249 3.249 0 0 1 0-5.63l-.75-1.298zm4.001 1.299.75-1.3A4.748 4.748 0 0 1 12.75 8a4.748 4.748 0 0 1-2.375 4.114l-.75-1.3a3.249 3.249 0 0 0 0-5.63zM8 6.545a1.455 1.455 0 1 0 0 2.91 1.455 1.455 0 0 0 0-2.91z'/><path d='M4 1.07A7.997 7.997 0 0 0 0 8a7.997 7.997 0 0 0 4 6.93l.75-1.3A6.497 6.497 0 0 1 1.5 8a6.497 6.497 0 0 1 3.25-5.63L4 1.07zm7.25 1.3.75-1.3A7.997 7.997 0 0 1 16 8a7.997 7.997 0 0 1-3.999 6.93l-.75-1.3A6.497 6.497 0 0 0 14.5 8a6.497 6.497 0 0 0-3.25-5.63z'/>"},{size:24,svgContent:"<path d='M8.75 6.37A6.497 6.497 0 0 0 5.5 12a6.497 6.497 0 0 0 3.25 5.63l1-1.732A4.498 4.498 0 0 1 7.5 12a4.5 4.5 0 0 1 2.25-3.898l-1-1.732zm5.5 1.732 1-1.732A6.497 6.497 0 0 1 18.5 12a6.497 6.497 0 0 1-3.25 5.63l-1-1.732A4.498 4.498 0 0 0 16.5 12a4.5 4.5 0 0 0-2.25-3.898zM12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/><path d='M6.499 2.472A10.996 10.996 0 0 0 1 12c0 4.071 2.212 7.626 5.499 9.528l1-1.732A8.997 8.997 0 0 1 3 12c0-3.33 1.81-6.24 4.5-7.795L6.498 2.472zm10.002 1.732 1-1.732A10.996 10.996 0 0 1 23 12c0 4.071-2.212 7.626-5.499 9.528l-1-1.732A8.996 8.996 0 0 0 21 12c0-3.33-1.81-6.24-4.5-7.796z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},8129:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.515 7.997a6.503 6.503 0 0 0-6.502-6.502.75.75 0 1 1 0-1.498 8 8 0 1 1-8 8 .75.75 0 0 1 1.5 0 6.501 6.501 0 0 0 13.002 0zM4.808 2.502a.906.906 0 1 1-.906-1.57.906.906 0 0 1 .906 1.57z'/><path d='M7.288 3.646a.75.75 0 0 1 1.5 0v3.601h2.125a.75.75 0 1 1 0 1.5H7.288v-5.1zm-6.04 1.51a.906.906 0 1 0 .906-1.57.906.906 0 0 0-.906 1.57z'/>"},{size:24,svgContent:"<path d='M21.001 12a9 9 0 0 0-9-9 1 1 0 1 1 0-2c6.075 0 11 4.925 11 11s-4.925 11-11 11-11-4.925-11-11a1 1 0 1 1 2 0 9 9 0 1 0 18 0zM7.58 4.422a1.25 1.25 0 1 1-1.25-2.165 1.25 1.25 0 0 1 1.25 2.165z'/><path d='M11.034 6a1 1 0 0 1 2 0v5H16a1 1 0 1 1 0 2h-4.966V6zM2.67 8.083a1.25 1.25 0 1 0 1.25-2.165 1.25 1.25 0 0 0-1.25 2.165z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},88483:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1.5 8a5.463 5.463 0 1 1 10.925 0v.302l-.794-.794a.75.75 0 0 0-1.06 1.06l2.604 2.606 2.605-2.605a.75.75 0 1 0-1.06-1.061l-.795.794V8a6.963 6.963 0 1 0-2.585 5.415l-.944-1.166A5.463 5.463 0 0 1 1.5 7.999z'/>"},{size:24,svgContent:"<path d='M2.497 12a8 8 0 1 1 16 0v.647L17.2 11.349a1 1 0 1 0-1.414 1.414l3.712 3.712 3.713-3.712a1 1 0 0 0-1.415-1.414l-1.298 1.298V12c0-5.523-4.477-10-10-10-5.522 0-10 4.477-10 10s4.478 10 10 10c2.38 0 4.57-.833 6.287-2.223l-1.258-1.554A8 8 0 0 1 2.498 12z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},94061:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.25.25A.75.75 0 0 1 5 1v1h6V1a.75.75 0 0 1 1.5 0v1H15v11.25A2.75 2.75 0 0 1 12.25 16h-8.5A2.75 2.75 0 0 1 1 13.25V2h2.5V1a.75.75 0 0 1 .75-.75zM2.5 3.5V6h11V3.5h-11zm11 4h-11v5.75c0 .69.56 1.25 1.25 1.25h8.5c.69 0 1.25-.56 1.25-1.25V7.5z'/>"},{size:24,svgContent:"<path d='M6 0a1 1 0 0 1 1 1v1h10V1a1 1 0 1 1 2 0v1h3v17a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V2h3V1a1 1 0 0 1 1-1zM4 4v3h16V4H4zm16 5H4v10a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V9z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},57841:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 4.75A3.75 3.75 0 0 1 3.75 1h8.5A3.75 3.75 0 0 1 16 4.75v5a3.75 3.75 0 0 1-3.75 3.75H9.81l1.018 1.018a.75.75 0 1 1-1.06 1.06L6.939 12.75l2.829-2.828a.75.75 0 1 1 1.06 1.06L9.811 12h2.439a2.25 2.25 0 0 0 2.25-2.25v-5a2.25 2.25 0 0 0-2.25-2.25h-8.5A2.25 2.25 0 0 0 1.5 4.75v5A2.25 2.25 0 0 0 3.75 12H5v1.5H3.75A3.75 3.75 0 0 1 0 9.75v-5z'/>"},{size:24,svgContent:"<path d='M6 2a5 5 0 0 0-5 5v8a5 5 0 0 0 5 5h1v-2H6a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-4.798l1.298-1.298a1 1 0 1 0-1.414-1.414L9.373 19l3.713 3.712a1 1 0 0 0 1.414-1.414L13.202 20H18a5 5 0 0 0 5-5V7a5 5 0 0 0-5-5H6z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},42658:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M0 4.75A3.75 3.75 0 0 1 3.75 1h.75v1.5h-.75A2.25 2.25 0 0 0 1.5 4.75v5A2.25 2.25 0 0 0 3.75 12H5v1.5H3.75A3.75 3.75 0 0 1 0 9.75v-5zM12.25 2.5h-.75V1h.75A3.75 3.75 0 0 1 16 4.75v5a3.75 3.75 0 0 1-3.75 3.75H9.81l1.018 1.018a.75.75 0 1 1-1.06 1.06L6.939 12.75l2.829-2.828a.75.75 0 1 1 1.06 1.06L9.811 12h2.439a2.25 2.25 0 0 0 2.25-2.25v-5a2.25 2.25 0 0 0-2.25-2.25z'/><path d='M9.12 8V1H7.787c-.128.72-.76 1.293-1.787 1.313V3.36h1.57V8h1.55z'/>"},{size:24,svgContent:"<path d='M11.382 2.516c.306-.323.448-.7.448-.969h2V11h-2V5H10V3h.378c.341 0 .706-.17 1.004-.484zM1 7a5 5 0 0 1 5-5h1v2H6a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h1v2H6a5 5 0 0 1-5-5V7z'/><path d='M18 4h-1V2h1a5 5 0 0 1 5 5v8a5 5 0 0 1-5 5h-4.798l1.298 1.298a1 1 0 1 1-1.414 1.415L9.373 19l3.713-3.712a1 1 0 0 1 1.414 1.414L13.202 18H18a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},23298:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4.069.967h7.855L15.98 8l-4.057 7.034H4.069L.01 8 4.069.967zm.866 1.5L1.743 8l3.192 5.534h6.122L14.25 8l-3.192-5.533H4.935z'/><path d='M7.246 9V4h1.5v5h-1.5zm0 3.025v-1.5h1.5v1.5h-1.5z'/>"},{size:24,svgContent:"<path d='M6.23 2h11.54l5.77 10-5.77 10H6.23L.46 12 6.23 2zm1.155 2L2.77 12l4.615 8h9.23l4.615-8-4.615-8h-9.23z'/><path d='M11 14V6h2v8h-2zm0 4v-2h2v2h-2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},62412:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7 1.75a5.25 5.25 0 1 0 0 10.5 5.25 5.25 0 0 0 0-10.5zM.25 7a6.75 6.75 0 1 1 12.096 4.12l3.184 3.185a.75.75 0 1 1-1.06 1.06L11.304 12.2A6.75 6.75 0 0 1 .25 7z'/>"},{size:24,svgContent:"<path d='M10.533 1.27893C5.35215 1.27893 1.12598 5.41887 1.12598 10.5579C1.12598 15.697 5.35215 19.8369 10.533 19.8369C12.767 19.8369 14.8235 19.0671 16.4402 17.7794L20.7929 22.132C21.1834 22.5226 21.8166 22.5226 22.2071 22.132C22.5976 21.7415 22.5976 21.1083 22.2071 20.7178L17.8634 16.3741C19.1616 14.7849 19.94 12.7634 19.94 10.5579C19.94 5.41887 15.7138 1.27893 10.533 1.27893ZM3.12598 10.5579C3.12598 6.55226 6.42768 3.27893 10.533 3.27893C14.6383 3.27893 17.94 6.55226 17.94 10.5579C17.94 14.5636 14.6383 17.8369 10.533 17.8369C6.42768 17.8369 3.12598 14.5636 3.12598 10.5579Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},66086:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7 1.75a5.25 5.25 0 1 0 0 10.5 5.25 5.25 0 0 0 0-10.5zM.25 7a6.75 6.75 0 1 1 12.096 4.12l3.184 3.185a.75.75 0 1 1-1.06 1.06L11.304 12.2A6.75 6.75 0 0 1 .25 7z'/><path d='M10.75 7a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0z'/>"},{size:24,svgContent:"<path d='M15.356 10.558c0 2.623-2.16 4.75-4.823 4.75-2.664 0-4.824-2.127-4.824-4.75s2.16-4.75 4.824-4.75c2.664 0 4.823 2.127 4.823 4.75z'/><path d='M1.126 10.558c0-5.14 4.226-9.28 9.407-9.28 5.18 0 9.407 4.14 9.407 9.28a9.157 9.157 0 0 1-2.077 5.816l4.344 4.344a1 1 0 0 1-1.414 1.414l-4.353-4.353a9.454 9.454 0 0 1-5.907 2.058c-5.18 0-9.407-4.14-9.407-9.28zm9.407-7.28c-4.105 0-7.407 3.274-7.407 7.28s3.302 7.279 7.407 7.279 7.407-3.273 7.407-7.28c0-4.005-3.302-7.278-7.407-7.278z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},69808:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1 5.75A.75.75 0 0 1 1.75 5H4v1.5H2.5v8h11v-8H12V5h2.25a.75.75 0 0 1 .75.75v9.5a.75.75 0 0 1-.75.75H1.75a.75.75 0 0 1-.75-.75v-9.5z'/><path d='M8 9.576a.75.75 0 0 0 .75-.75V2.903l1.454 1.454a.75.75 0 0 0 1.06-1.06L8 .03 4.735 3.296a.75.75 0 0 0 1.06 1.061L7.25 2.903v5.923c0 .414.336.75.75.75z'/>"},{size:24,svgContent:"<path d='M3 8a1 1 0 0 1 1-1h3.5v2H5v11h14V9h-2.5V7H20a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8z'/><path d='M12 12.326a1 1 0 0 0 1-1V3.841l1.793 1.793a1 1 0 1 0 1.414-1.414L12 .012 7.793 4.22a1 1 0 1 0 1.414 1.414L11 3.84v7.485a1 1 0 0 0 1 1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},56013:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M13.151.922a.75.75 0 1 0-1.06 1.06L13.109 3H11.16a3.75 3.75 0 0 0-2.873 1.34l-6.173 7.356A2.25 2.25 0 0 1 .39 12.5H0V14h.391a3.75 3.75 0 0 0 2.873-1.34l6.173-7.356a2.25 2.25 0 0 1 1.724-.804h1.947l-1.017 1.018a.75.75 0 0 0 1.06 1.06L15.98 3.75 13.15.922zM.391 3.5H0V2h.391c1.109 0 2.16.49 2.873 1.34L4.89 5.277l-.979 1.167-1.796-2.14A2.25 2.25 0 0 0 .39 3.5z'/><path d='m7.5 10.723.98-1.167.957 1.14a2.25 2.25 0 0 0 1.724.804h1.947l-1.017-1.018a.75.75 0 1 1 1.06-1.06l2.829 2.828-2.829 2.828a.75.75 0 1 1-1.06-1.06L13.109 13H11.16a3.75 3.75 0 0 1-2.873-1.34l-.787-.938z'/>"},{size:24,svgContent:"<path d='M18.788 3.702a1 1 0 0 1 1.414-1.414L23.914 6l-3.712 3.712a1 1 0 1 1-1.414-1.414L20.086 7h-1.518a5 5 0 0 0-3.826 1.78l-7.346 8.73a7 7 0 0 1-5.356 2.494H1v-2h1.04a5 5 0 0 0 3.826-1.781l7.345-8.73A7 7 0 0 1 18.569 5h1.518l-1.298-1.298z'/><path d='M18.788 14.289a1 1 0 0 0 0 1.414L20.086 17h-1.518a5 5 0 0 1-3.826-1.78l-1.403-1.668-1.306 1.554 1.178 1.4A7 7 0 0 0 18.568 19h1.518l-1.298 1.298a1 1 0 1 0 1.414 1.414L23.914 18l-3.712-3.713a1 1 0 0 0-1.414 0zM7.396 6.49l2.023 2.404-1.307 1.553-2.246-2.67a5 5 0 0 0-3.826-1.78H1v-2h1.04A7 7 0 0 1 7.396 6.49z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},71254:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m7.5 10.723.788.938A3.75 3.75 0 0 0 11.16 13h1.947l-1.017 1.018a.75.75 0 1 0 1.06 1.06l2.829-2.828-2.829-2.828a.75.75 0 1 0-1.06 1.06l1.018 1.018H11.16a2.25 2.25 0 0 1-1.724-.804l-.957-1.14-.98 1.167z'/><path d='M12.09.922a.75.75 0 0 1 1.061 0L15.98 3.75l-2.83 2.828a.75.75 0 1 1-1.06-1.06L13.109 4.5H11.16a2.25 2.25 0 0 0-1.724.804L3.264 12.66A3.75 3.75 0 0 1 .391 14H0v-1.5h.391a2.25 2.25 0 0 0 1.724-.804L8.288 4.34A3.75 3.75 0 0 1 11.16 3h1.947L12.09 1.982a.75.75 0 0 1 0-1.06zM.88 3.319C2.255 2.874 2.976 1.787 3.297.874c.036-.102.37-.102.406 0 .321.913 1.042 2 2.417 2.445.103.033.103.329 0 .362-1.375.445-2.096 1.532-2.417 2.445-.036.102-.37.102-.406 0-.321-.913-1.042-2-2.417-2.445-.103-.033-.103-.329 0-.362z'/>"},{size:24,svgContent:"<path d='M18.788 3.702a1 1 0 1 1 1.414-1.415L23.914 6l-3.712 3.712a1 1 0 0 1-1.414-1.414L20.086 7h-1.518a5 5 0 0 0-3.826 1.78l-7.346 8.73a7 7 0 0 1-5.356 2.494H1v-2h1.04a5 5 0 0 0 3.826-1.781l7.345-8.73A7 7 0 0 1 18.569 5h1.518l-1.298-1.298z'/><path d='m13.211 16.508-1.178-1.401 1.306-1.553 1.403 1.666A5 5 0 0 0 18.568 17h1.518l-1.298-1.297a1 1 0 1 1 1.414-1.414L23.914 18l-3.712 3.712a1 1 0 0 1-1.414-1.414L20.086 19h-1.518a7 7 0 0 1-5.357-2.493zM.986 6.33c2.635-.663 3.87-2.77 4.32-4.351.034-.116.354-.116.387 0 .45 1.581 1.686 3.688 4.322 4.35.117.03.117.312 0 .341-2.636.663-3.871 2.77-4.322 4.351-.033.116-.353.116-.386 0C4.857 9.44 3.62 7.333.986 6.671c-.117-.03-.117-.312 0-.341z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},164:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M3.3 1a.7.7 0 0 1 .7.7v5.15l9.95-5.744a.7.7 0 0 1 1.05.606v12.575a.7.7 0 0 1-1.05.607L4 9.149V14.3a.7.7 0 0 1-.7.7H1.7a.7.7 0 0 1-.7-.7V1.7a.7.7 0 0 1 .7-.7h1.6z'/>"},{size:24,svgContent:"<path d='M6.3 3a.7.7 0 0 1 .7.7v6.805l11.95-6.899a.7.7 0 0 1 1.05.606v15.576a.7.7 0 0 1-1.05.606L7 13.495V20.3a.7.7 0 0 1-.7.7H4.7a.7.7 0 0 1-.7-.7V3.7a.7.7 0 0 1 .7-.7h1.6z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},44802:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2.464 4.5h1.473a.75.75 0 1 1 0 1.5H0V2.063a.75.75 0 0 1 1.5 0v1.27a8.25 8.25 0 1 1 10.539 12.554.75.75 0 0 1-.828-1.25A6.75 6.75 0 1 0 2.464 4.5z'/><path d='M.303 8.407c.79 0 1.214-.52 1.214-.907h1.5v8h-1.5V9.907H0v-1.5h.303zm4.832-.911h4.05v1.5H6.33l-.245 1.067c.256-.071.525-.11.804-.11 1.621 0 2.954 1.3 2.954 2.924C9.843 14.5 8.51 15.8 6.89 15.8a2.945 2.945 0 0 1-2.93-2.54l1.487-.197c.092.69.696 1.237 1.443 1.237.813 0 1.454-.647 1.454-1.423s-.64-1.423-1.454-1.423c-.49 0-.92.235-1.183.594l-.01.014-.206.254-1.314-.639.96-4.181z'/>"},{size:24,svgContent:"<path d='M5.286 6H7.25a1 1 0 1 1 0 2H2V2.75a1 1 0 1 1 2 0v1.694A10.97 10.97 0 0 1 11.994 1c6.075 0 11 4.925 11 11a10.99 10.99 0 0 1-4.943 9.183 1 1 0 1 1-1.102-1.668A9 9 0 1 0 5.286 6zm-3.917 7.518c1.005 0 1.591-.666 1.591-1.217h1.6v9.74h-1.6v-6.923H1v-1.6h.369z'/><path d='M7.343 12.41h4.84v1.6H8.616l-.362 1.578a3.53 3.53 0 0 1 1.132-.186c1.914 0 3.484 1.532 3.484 3.446 0 1.914-1.57 3.446-3.484 3.446-1.76 0-3.229-1.296-3.454-2.995l1.586-.21c.119.896.903 1.605 1.868 1.605 1.052 0 1.884-.838 1.884-1.846 0-1.009-.832-1.846-1.884-1.846-.632 0-1.19.304-1.53.77l-.012.015-.248.307-1.402-.681 1.148-5.004z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},52098:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M12.7 1a.7.7 0 0 0-.7.7v5.15L2.05 1.107A.7.7 0 0 0 1 1.712v12.575a.7.7 0 0 0 1.05.607L12 9.149V14.3a.7.7 0 0 0 .7.7h1.6a.7.7 0 0 0 .7-.7V1.7a.7.7 0 0 0-.7-.7h-1.6z'/>"},{size:24,svgContent:"<path d='M17.7 3a.7.7 0 0 0-.7.7v6.805L5.05 3.606A.7.7 0 0 0 4 4.212v15.576a.7.7 0 0 0 1.05.606L17 13.495V20.3a.7.7 0 0 0 .7.7h1.6a.7.7 0 0 0 .7-.7V3.7a.7.7 0 0 0-.7-.7h-1.6z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},98856:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M13.536 4.5h-1.473a.75.75 0 1 0 0 1.5H16V2.063a.75.75 0 0 0-1.5 0v1.27A8.25 8.25 0 1 0 3.962 15.887a.75.75 0 1 0 .827-1.25A6.75 6.75 0 1 1 13.535 4.5z'/><path d='M6.303 8.407c.79 0 1.214-.52 1.214-.907h1.5v8h-1.5V9.907H6v-1.5h.303zm4.832-.911h4.05v1.5H12.33l-.245 1.067c.256-.071.525-.11.804-.11 1.621 0 2.954 1.3 2.954 2.924 0 1.624-1.333 2.923-2.954 2.923a2.945 2.945 0 0 1-2.93-2.54l1.487-.197c.092.69.696 1.237 1.443 1.237.813 0 1.454-.647 1.454-1.423s-.64-1.423-1.454-1.423c-.49 0-.92.235-1.183.594l-.01.014-.206.254-1.314-.639.96-4.181z'/>"},{size:24,svgContent:"<path d='M18.714 6H16.75a1 1 0 1 0 0 2H22V2.75a1 1 0 1 0-2 0v1.694A10.97 10.97 0 0 0 12.006 1c-6.075 0-11 4.925-11 11a10.99 10.99 0 0 0 4.943 9.183 1 1 0 1 0 1.102-1.668A9 9 0 1 1 18.714 6z'/><path d='M10.639 13.518c1.005 0 1.591-.666 1.591-1.217h1.6v9.74h-1.6v-6.923h-1.96v-1.6h.369zm5.974-1.108h4.84v1.6h-3.566l-.362 1.578a3.53 3.53 0 0 1 1.132-.186c1.914 0 3.484 1.532 3.484 3.446 0 1.914-1.57 3.445-3.484 3.445-1.76 0-3.229-1.295-3.454-2.994l1.586-.21c.119.896.903 1.604 1.868 1.604 1.052 0 1.884-.837 1.884-1.845 0-1.009-.832-1.846-1.884-1.846-.633 0-1.19.304-1.53.77l-.012.015-.248.307-1.402-.681 1.148-5.004z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},10629:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M16 8.328V1h-1.5v4.828h-1a2.5 2.5 0 1 0 2.5 2.5zm-2.5-1h1v1a1 1 0 1 1-1-1zm-4.5 3V4H7.5v3.828h-1a2.5 2.5 0 1 0 2.5 2.5zm-2.5-1h1v1a1 1 0 1 1-1-1zM0 14.5h16V16H0v-1.5zM2 10H0v1.5h2V10zM0 5.5h4V7H0V5.5zM12 1H0v1.5h12V1z'/>"},{size:24,svgContent:"<path d='M22 11.667V2h-2v6.667h-1a3 3 0 1 0 3 3zm-3-1h1v1a1 1 0 1 1-1-1zm-6 4V6h-2v5.667h-1a3 3 0 1 0 3 3zm-3-1h1v1a1 1 0 1 1-1-1zM22 22H2v-2h20v2zM2 16h2v-2H2v2zm6-6H2V8h6v2zM2 4h15V2H2v2z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},91560:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7.25.75a.75.75 0 0 1 1.5 0v14.5a.75.75 0 0 1-1.5 0V.75zm3.625 2.5a.75.75 0 0 1 1.5 0v9.5a.75.75 0 0 1-1.5 0v-9.5zM.75 5a.75.75 0 0 0-.75.75v4.5a.75.75 0 0 0 1.5 0v-4.5A.75.75 0 0 0 .75 5zm13.75.75a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-1.5 0v-4.5zM4.375 2.5a.75.75 0 0 0-.75.75v9.5a.75.75 0 0 0 1.5 0v-9.5a.75.75 0 0 0-.75-.75z'/>"},{size:24,svgContent:"<path d='M12 0a1 1 0 0 1 1 1v22a1 1 0 1 1-2 0V1a1 1 0 0 1 1-1zm5 4a1 1 0 0 1 1 1v14a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1zM1 9v6a1 1 0 1 0 2 0V9a1 1 0 1 0-2 0zm20 6V9a1 1 0 1 1 2 0v6a1 1 0 1 1-2 0zM8 5a1 1 0 0 0-2 0v14a1 1 0 1 0 2 0V5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},69964:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.5 8a6.468 6.468 0 0 0-1.3-3.9l1.2-.9C15.405 4.537 16 6.2 16 8c0 1.8-.595 3.463-1.6 4.8l-1.2-.9A6.468 6.468 0 0 0 14.5 8zM8 1.5a6.5 6.5 0 1 0 3.25 12.13.75.75 0 1 1 .75 1.3 8 8 0 1 1 0-13.86.75.75 0 1 1-.75 1.298A6.467 6.467 0 0 0 8 1.5z'/><path d='M11.259 8c0-.676-.228-1.296-.611-1.791l1.187-.918c.579.749.924 1.69.924 2.709a4.41 4.41 0 0 1-.925 2.709l-1.186-.918c.383-.495.61-1.115.61-1.791zM8.75 4.115l-4.139 2.39a1.727 1.727 0 0 0 0 2.99l4.139 2.39v-7.77z'/>"},{size:24,svgContent:"<path d='M21 12c0-2.027-.67-3.895-1.799-5.4l1.6-1.2A10.956 10.956 0 0 1 23 12c0 2.475-.819 4.762-2.2 6.6l-1.599-1.2A8.956 8.956 0 0 0 21 12zm-9-9a9 9 0 0 0 0 18 8.955 8.955 0 0 0 4.5-1.203 1 1 0 1 1 1 1.73A10.954 10.954 0 0 1 12 23C5.925 23 1 18.075 1 12S5.925 1 12 1c2.002 0 3.882.536 5.5 1.472a1 1 0 0 1-1 1.731A8.954 8.954 0 0 0 12 3z'/><path d='M17 12a4.979 4.979 0 0 0-1.042-3.056L17.54 7.72A6.974 6.974 0 0 1 19 12c0 1.61-.545 3.096-1.46 4.28l-1.582-1.224A4.974 4.974 0 0 0 17 12zm-4-5-5.327 3.077a2.223 2.223 0 0 0 0 3.846L13 17V7z'/>"}],c||24),u=null===(t=e.autoMirror)||void 0===t||t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},88497:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.669 11.539a.498.498 0 0 1-.686.166c-1.878-1.148-4.243-1.408-7.028-.772a.499.499 0 0 1-.222-.972c3.048-.696 5.662-.396 7.77.892a.5.5 0 0 1 .166.686zm.979-2.178a.624.624 0 0 1-.858.205c-2.15-1.322-5.428-1.705-7.972-.932a.624.624 0 1 1-.362-1.194c2.905-.882 6.517-.455 8.987 1.063a.624.624 0 0 1 .205.858zm.084-2.269C10.153 5.561 5.9 5.42 3.438 6.167a.748.748 0 1 1-.434-1.432c2.826-.857 7.523-.692 10.492 1.07a.748.748 0 0 1-.764 1.287z'/>"},{size:24,svgContent:"<path d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm5.045 15.866a.686.686 0 0 1-.943.228c-2.583-1.579-5.834-1.935-9.663-1.06a.686.686 0 0 1-.306-1.337c4.19-.958 7.785-.546 10.684 1.226a.686.686 0 0 1 .228.943zm1.346-2.995a.858.858 0 0 1-1.18.282c-2.956-1.817-7.464-2.344-10.961-1.282a.856.856 0 0 1-1.11-.904.858.858 0 0 1 .611-.737c3.996-1.212 8.962-.625 12.357 1.462a.857.857 0 0 1 .283 1.179zm.116-3.119c-3.546-2.106-9.395-2.3-12.78-1.272a1.029 1.029 0 0 1-.597-1.969c3.886-1.18 10.345-.952 14.427 1.471a1.029 1.029 0 0 1-1.05 1.77z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},70932:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 .355a.75.75 0 0 1 .696.47l1.812 4.493 4.79.306a.75.75 0 0 1 .43 1.326l-3.582 2.963 1.067 4.82a.75.75 0 0 1-1.139.792L8 12.895l-4.074 2.63a.75.75 0 0 1-1.139-.792l1.067-4.82L.272 6.95a.75.75 0 0 1 .43-1.326l4.79-.306L7.304.825A.75.75 0 0 1 8 .355zm0 2.756L6.707 6.316a.75.75 0 0 1-.648.468L2.686 7l2.478 2.05a.75.75 0 0 1 .254.74l-.772 3.485 2.947-1.902a.75.75 0 0 1 .814 0l2.947 1.902-.772-3.485a.75.75 0 0 1 .254-.74L13.314 7l-3.373-.215a.75.75 0 0 1-.648-.468L8 3.11z'/>"},{size:24,svgContent:"<path d='M12 .06a1 1 0 0 1 .927.626l2.765 6.856 7.309.466a1 1 0 0 1 .573 1.769l-5.466 4.521 1.628 7.35a1 1 0 0 1-1.519 1.056L12 18.69l-6.217 4.014a1 1 0 0 1-1.519-1.057l1.627-7.349L.425 9.777A1 1 0 0 1 1 8.008l7.309-.466L11.073.686A1 1 0 0 1 12 .06zm0 3.674-2.073 5.14a1 1 0 0 1-.863.624l-5.42.346 3.993 3.303a1 1 0 0 1 .34.986l-1.234 5.57 4.715-3.043a1 1 0 0 1 1.084 0l4.715 3.043-1.233-5.57a1 1 0 0 1 .339-.986l3.993-3.303-5.42-.346a1 1 0 0 1-.864-.624L12 3.734z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},46007:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.696.825a.75.75 0 0 0-1.392 0L5.492 5.318l-4.79.306a.75.75 0 0 0-.43 1.326l3.582 2.963-1.067 4.82a.75.75 0 0 0 1.14.792L8 12.895l4.074 2.63a.75.75 0 0 0 1.139-.792l-1.067-4.82 3.582-2.963a.75.75 0 0 0-.43-1.326l-4.79-.306L8.696.825z'/>"},{size:24,svgContent:"<path d='M12.927.686a1 1 0 0 0-1.854 0L8.308 7.542l-7.309.466a1 1 0 0 0-.574 1.769l5.466 4.521-1.627 7.35a1 1 0 0 0 1.519 1.056L12 18.69l6.217 4.014a1 1 0 0 0 1.519-1.057l-1.628-7.349 5.466-4.521a1 1 0 0 0-.573-1.769l-7.309-.466L12.927.686z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},66877:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11 11.5h2V10h-2v1.5zm-2 0H3V10h6v1.5z'/><path d='M16 2.75A1.75 1.75 0 0 0 14.25 1H1.75A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25V2.75zm-1.75-.25a.25.25 0 0 1 .25.25v10.5a.25.25 0 0 1-.25.25H1.75a.25.25 0 0 1-.25-.25V2.75a.25.25 0 0 1 .25-.25h12.5z'/>"},{size:24,svgContent:"<path d='M13 17H6v-2h7v2zm2 0h3v-2h-3v2z'/><path d='M1 4a2 2 0 0 1 2-2h18a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4zm20 0H3v16h18V4z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},20032:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m11.25 2.5 3.25 2.333L13.2 7.5l-1.7-.333V13.5h-7V7.167L2.8 7.5 1.5 4.833 4.75 2.5S6.977 3.833 8 3.833c1.023 0 3.25-1.333 3.25-1.333zM4.75 1c-.307 0-.614.094-.875.282L.625 3.615A1.5 1.5 0 0 0 .152 5.49l1.3 2.666A1.5 1.5 0 0 0 3 8.987V13.5A1.5 1.5 0 0 0 4.5 15h7a1.5 1.5 0 0 0 1.5-1.5V8.987a1.499 1.499 0 0 0 1.548-.83l1.3-2.666a1.5 1.5 0 0 0-.473-1.876l-3.25-2.333a1.498 1.498 0 0 0-1.645-.07c-.942.564-2.13 1.098-2.491 1.122-.341-.024-1.529-.558-2.468-1.12A1.498 1.498 0 0 0 4.75 1z'/>"},{size:24,svgContent:"<path d='m17 10.636 3 .546 2-4.364L17 3s-3.426 2.182-5 2.182C10.426 5.182 7 3 7 3L2 6.818l2 4.364 3-.546V21h10V10.636zm2 2.397V21a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7.967l-.642.117a2 2 0 0 1-2.176-1.135l-2-4.364A2 2 0 0 1 .786 5.23l5-3.819a2 2 0 0 1 2.288-.097l.005.003.023.014a15.313 15.313 0 0 0 .476.29c.324.191.767.444 1.251.695.49.254.99.488 1.431.655.22.082.403.14.548.175.117.029.178.035.192.036.014 0 .075-.007.192-.036.145-.035.328-.093.548-.175.441-.167.941-.401 1.43-.655a25.876 25.876 0 0 0 1.728-.985l.023-.014.005-.003a2 2 0 0 1 2.288.097l5 3.819a2 2 0 0 1 .604 2.423l-2 4.363a2 2 0 0 1-2.176 1.135L19 13.033z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},98670:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m12.798 1.503 1.693 1.698v3.653L7.45 13.877 2.113 8.525l7.04-7.022h3.645zM8.535 0-.01 8.522 7.446 16l8.544-8.521v-4.9L13.42 0H8.535z'/><path d='M12.957 3.883a.86.86 0 1 1-1.72 0 .86.86 0 1 1 1.72 0z'/>"},{size:24,svgContent:"<path d='M12.286 1h7.028L23 4.686v7.031L10.666 23.984-.05 13.268 12.286 1zm.825 2L2.782 13.272l7.888 7.888L21 10.886V5.515L18.485 3h-5.374z'/><path d='M18.679 6.54a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},8331:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7.948 16H7.27a2.75 2.75 0 0 1-2.688-3.329L4.943 11H2.198C1.04 11 .016 10.105 0 8.88a20.096 20.096 0 0 1 1.227-7.185C1.62.629 2.645-.001 3.718-.001H15.98v8H12.6l-4.652 8zm-.856-1.513L11.737 6.5h2.743v-5H3.72c-.505 0-.929.292-1.083.711a18.596 18.596 0 0 0-1.135 6.65c.004.336.292.639.697.639h2.807a1.45 1.45 0 0 1 1.417 1.755l-.372 1.732a1.25 1.25 0 0 0 1.042 1.5z'/>"},{size:24,svgContent:"<path d='M13.117 24H11.72a3.5 3.5 0 0 1-3.424-4.228L8.886 17H4.04C2.293 17 .737 15.646.737 13.79c0-3.27.571-6.41 1.62-9.322C2.913 2.916 4.408 2 5.97 2H24v12h-5.109l-5.774 10zm-1.155-2 5.775-10H22V4H5.97c-.806 0-1.488.467-1.732 1.145a25.48 25.48 0 0 0-1.5 8.645c0 .645.55 1.21 1.303 1.21h4.845a2 2 0 0 1 1.956 2.416l-.59 2.772A1.5 1.5 0 0 0 11.72 22h.242z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},2189:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m12.71 7-5.233 9h-.53a2 2 0 0 1-1.956-2.421l.51-2.369A1 1 0 0 0 4.523 10h-2.75C.81 10 0 9.262 0 8.3c0-2.269.37-4.45 1.052-6.487C1.43.69 2.522 0 3.706 0H16v7h-3.29z'/>"},{size:24,svgContent:"<path d='M5.073 2c-1.184 0-2.271.692-2.68 1.804A29.121 29.121 0 0 0 .611 13.868c0 1.376 1.159 2.432 2.534 2.432h5.453a1 1 0 0 1 .978 1.208l-.738 3.472A2.5 2.5 0 0 0 11.283 24h1.21l6.352-11H24V2H5.073z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},35608:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8.032 0h.677a2.75 2.75 0 0 1 2.688 3.329L11.037 5h2.746c1.156 0 2.181.895 2.196 2.12l.001.245c0 2.438-.433 4.776-1.228 6.941-.39 1.064-1.416 1.694-2.49 1.694H0V8h3.38l4.652-8zm.856 1.513L4.243 9.5H1.5v5h10.761c.506 0 .93-.292 1.083-.711a18.595 18.595 0 0 0 1.135-6.65c-.004-.336-.292-.639-.696-.639h-2.808a1.45 1.45 0 0 1-1.417-1.755l.373-1.732a1.25 1.25 0 0 0-1.043-1.5z'/>"},{size:24,svgContent:"<path d='M10.883 0h1.397a3.5 3.5 0 0 1 3.424 4.228L15.114 7h4.845c1.748 0 3.304 1.355 3.304 3.21 0 3.27-.571 6.41-1.62 9.322C21.086 21.084 19.592 22 18.03 22H0V10h5.109l5.774-10zm1.155 2L6.263 12H2v8h16.03c.806 0 1.488-.467 1.732-1.145a25.48 25.48 0 0 0 1.5-8.645c0-.645-.55-1.21-1.303-1.21h-4.845a2 2 0 0 1-1.956-2.416l.59-2.772A1.5 1.5 0 0 0 12.28 2h-.242z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},29050:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m3.29 9 5.233-9h.531a2 2 0 0 1 1.955 2.421L10.5 4.79A1 1 0 0 0 11.477 6h2.75C15.19 6 16 6.738 16 7.7c0 2.268-.37 4.449-1.052 6.486C14.57 15.31 13.478 16 12.294 16H0V9h3.29z'/>"},{size:24,svgContent:"<path d='M18.927 22c1.184 0 2.271-.692 2.68-1.804a29.121 29.121 0 0 0 1.782-10.064c0-1.376-1.159-2.432-2.534-2.432h-5.453a1 1 0 0 1-.978-1.208l.738-3.472A2.5 2.5 0 0 0 12.717 0h-1.21L5.154 11H0v11h18.927z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},67859:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M8 3.25a.75.75 0 0 1 .75.75v3.25H11a.75.75 0 0 1 0 1.5H7.25V4A.75.75 0 0 1 8 3.25z'/>"},{size:24,svgContent:"<path d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12z'/><path d='M12 5a1 1 0 0 1 1 1v5h3a1 1 0 1 1 0 2h-5V6a1 1 0 0 1 1-1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},90507:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M10 2v9.5a2.75 2.75 0 1 1-2.75-2.75H8.5V2H10zm-1.5 8.25H7.25A1.25 1.25 0 1 0 8.5 11.5v-1.25z'/>"},{size:24,svgContent:"<path d='M15 4v12.167a3.5 3.5 0 1 1-3.5-3.5H13V4h2zm-2 10.667h-1.5a1.5 1.5 0 1 0 1.5 1.5v-1.5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},69179:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M5.215 0a.75.75 0 0 1 .75.75v1.111H9.57a.75.75 0 1 1 0 1.5H8.167A7.797 7.797 0 0 1 6.3 8.203a5.874 5.874 0 0 0 3.09 1.223l1.325-3.034a.75.75 0 0 1 1.374 0l3.739 8.558a.75.75 0 1 1-1.375.6l-1.023-2.34H9.373L8.35 15.55a.75.75 0 1 1-1.374-.6l1.786-4.09a7.379 7.379 0 0 1-3.55-1.607 7.793 7.793 0 0 1-4.257 1.674.75.75 0 1 1-.116-1.495 6.292 6.292 0 0 0 3.313-1.255 7.384 7.384 0 0 1-1.405-2.823.75.75 0 0 1 1.455-.365 5.88 5.88 0 0 0 1.037 2.144 6.296 6.296 0 0 0 1.428-3.772H.86a.75.75 0 0 1 0-1.5h3.605V.75a.75.75 0 0 1 .75-.75zm4.813 11.71h2.746l-1.373-3.144-1.373 3.143z'/>"},{size:24,svgContent:"<path d='M8.16 1a1 1 0 0 1 1 1v1.567h5.006a1 1 0 1 1 0 2h-1.969a10.72 10.72 0 0 1-2.593 6.718 8.137 8.137 0 0 0 4.333 1.72l1.838-4.21a1 1 0 0 1 1.833 0L22.764 21.6a1 1 0 0 1-1.833.8l-1.42-3.249h-5.64l-1.42 3.25a1 1 0 1 1-1.832-.801l2.482-5.683a10.142 10.142 0 0 1-4.946-2.233 10.716 10.716 0 0 1-5.875 2.32 1 1 0 0 1-.154-1.995 8.712 8.712 0 0 0 4.615-1.758 10.15 10.15 0 0 1-1.953-3.91 1 1 0 1 1 1.94-.486A8.148 8.148 0 0 0 8.19 10.86a8.72 8.72 0 0 0 2.006-5.293H2.152a1 1 0 1 1 0-2H7.16V2a1 1 0 0 1 1-1zm6.585 16.151h3.893l-1.947-4.457-1.946 4.457z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},22844:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.05 0h1.5v14.45H16v1.5H.05V0z'/><path d='M11.05 2.4a.75.75 0 0 1 .75-.75h4.15V5.8a.75.75 0 1 1-1.5 0V4.21l-2.934 2.934a2.75 2.75 0 0 1-1.944.806H7.228a1.25 1.25 0 0 0-.883.366L3.2 11.461V9.339l2.084-2.084a2.75 2.75 0 0 1 1.944-.805h2.344c.331 0 .649-.132.884-.366l2.933-2.934H11.8a.75.75 0 0 1-.75-.75z'/>"},{size:24,svgContent:"<path d='M2 2h2v18h18v2H2V2z'/><path d='M15.75 5a1 1 0 0 1 1-1H22v5.25a1 1 0 1 1-2 0V7.414l-3.707 3.707a3 3 0 0 1-2.121.879h-3.344a1 1 0 0 0-.707.293L6 16.414v-2.828l2.707-2.707A3 3 0 0 1 10.828 10h3.344a1 1 0 0 0 .707-.293L18.586 6H16.75a1 1 0 0 1-1-1z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},53899:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M4 4a4 4 0 1 1 8 0h-1.5a2.5 2.5 0 0 0-5 0v3h7.75c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25v-5.5C1 7.784 1.784 7 2.75 7H4V4zM2.75 8.5a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25H2.75z'/>"},{size:24,svgContent:"<path d='M8 6a4 4 0 1 1 8 0h2A6 6 0 0 0 6 6v4H5a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H8V6zM5 20v-8h14v8H5z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},90201:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M6.233.371a4.388 4.388 0 0 1 5.002 1.052c.421.459.713.992.904 1.554.143.421.263 1.173.22 1.894-.078 1.322-.638 2.408-1.399 3.316l-.127.152a.75.75 0 0 0 .201 1.13l2.209 1.275a4.75 4.75 0 0 1 2.375 4.114V16H.382v-1.143a4.75 4.75 0 0 1 2.375-4.113l2.209-1.275a.75.75 0 0 0 .201-1.13l-.126-.152c-.761-.908-1.322-1.994-1.4-3.316-.043-.721.077-1.473.22-1.894a4.346 4.346 0 0 1 .904-1.554c.411-.448.91-.807 1.468-1.052zM8 1.5a2.888 2.888 0 0 0-2.13.937 2.85 2.85 0 0 0-.588 1.022c-.077.226-.175.783-.143 1.323.054.921.44 1.712 1.051 2.442l.002.001.127.153a2.25 2.25 0 0 1-.603 3.39l-2.209 1.275A3.25 3.25 0 0 0 1.902 14.5h12.196a3.25 3.25 0 0 0-1.605-2.457l-2.209-1.275a2.25 2.25 0 0 1-.603-3.39l.127-.153.002-.001c.612-.73.997-1.52 1.052-2.442.032-.54-.067-1.097-.144-1.323a2.85 2.85 0 0 0-.588-1.022A2.888 2.888 0 0 0 8 1.5z'/>"},{size:24,svgContent:"<path d='M10.165 11.101a2.5 2.5 0 0 1-.67 3.766L5.5 17.173A2.998 2.998 0 0 0 4 19.771v.232h16.001v-.232a3 3 0 0 0-1.5-2.598l-3.995-2.306a2.5 2.5 0 0 1-.67-3.766l.521-.626.002-.002c.8-.955 1.303-1.987 1.375-3.19.041-.706-.088-1.433-.187-1.727a3.717 3.717 0 0 0-.768-1.334 3.767 3.767 0 0 0-5.557 0c-.34.37-.593.82-.768 1.334-.1.294-.228 1.021-.187 1.727.072 1.203.575 2.235 1.375 3.19l.002.002.521.626zm5.727.657-.52.624a.5.5 0 0 0 .134.753l3.995 2.306a5 5 0 0 1 2.5 4.33v2.232H2V19.77a5 5 0 0 1 2.5-4.33l3.995-2.306a.5.5 0 0 0 .134-.753l-.518-.622-.002-.002c-1-1.192-1.735-2.62-1.838-4.356-.056-.947.101-1.935.29-2.49A5.713 5.713 0 0 1 7.748 2.87a5.768 5.768 0 0 1 8.505 0 5.713 5.713 0 0 1 1.187 2.043c.189.554.346 1.542.29 2.489-.103 1.736-.838 3.163-1.837 4.355m-.001.001z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},95089:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM1.5 8a6.5 6.5 0 1 1 11.395 4.277 3.504 3.504 0 0 0-1.163-1.088l-1.523-.88a.285.285 0 0 1-.076-.428l.086-.104v-.001c.549-.654.962-1.449 1.02-2.422.03-.526-.055-1.074-.165-1.395a3.23 3.23 0 0 0-.671-1.154 3.259 3.259 0 0 0-4.806 0 3.23 3.23 0 0 0-.672 1.154c-.109.32-.195.87-.163 1.395.057.973.47 1.768 1.018 2.422l.087.105a.285.285 0 0 1-.076.428l-1.523.88a3.506 3.506 0 0 0-1.163 1.088A6.475 6.475 0 0 1 1.5 8zm2.74 5.302c.173-.334.44-.62.778-.814l1.523-.88A1.784 1.784 0 0 0 7.02 8.92l-.088-.105-.002-.002c-.399-.476-.637-.975-.671-1.548a2.71 2.71 0 0 1 .087-.824 1.74 1.74 0 0 1 .357-.623 1.76 1.76 0 0 1 2.594 0c.155.17.274.378.357.623a2.716 2.716 0 0 1 .087.824c-.034.573-.272 1.072-.671 1.548l-.002.002-.088.105c-.709.85-.48 2.135.479 2.688l1.523.88c.338.195.605.48.779.814A6.47 6.47 0 0 1 8 14.5a6.47 6.47 0 0 1-3.76-1.198z'/>"},{size:24,svgContent:"<path d='M11.999 1c-6.075 0-11 4.925-11 11s4.925 11 11 11 11-4.925 11-11-4.925-11-11-11zm-9 11a9 9 0 1 1 15.763 5.938 4.998 4.998 0 0 0-2.105-2.381l-1.618-.935a.478.478 0 0 1-.193-.2.5.5 0 0 1 .059-.544c.715-.854 1.255-1.893 1.33-3.164.021-.356 0-.708-.038-1.011a4.354 4.354 0 0 0-.177-.812 4.224 4.224 0 0 0-.878-1.509 4.262 4.262 0 0 0-6.284 0 4.24 4.24 0 0 0-.879 1.509 4.354 4.354 0 0 0-.176.812 5.5 5.5 0 0 0-.038 1.011c.075 1.271.615 2.31 1.33 3.164a.5.5 0 0 1 .059.544.479.479 0 0 1-.193.2l-1.618.935a4.998 4.998 0 0 0-2.106 2.383A8.966 8.966 0 0 1 3 12zm3.883 7.405a3 3 0 0 1 1.46-2.116l1.62-.935c.436-.252.765-.613.975-1.025a2.5 2.5 0 0 0-.001-2.273 2.516 2.516 0 0 0-.306-.46l-.001-.002c-.516-.616-.824-1.26-.867-1.998a3.473 3.473 0 0 1 .025-.638c.027-.21.064-.36.086-.424a2.22 2.22 0 0 1 .46-.8 2.263 2.263 0 0 1 3.335 0c.199.217.351.484.459.8.021.064.059.214.086.424a3.5 3.5 0 0 1 .026.638c-.044.738-.352 1.382-.868 1.998l-.001.002a2.5 2.5 0 0 0-.306 2.733c.21.412.538.773.975 1.025l1.618.935a3 3 0 0 1 1.461 2.114A8.96 8.96 0 0 1 12 21a8.959 8.959 0 0 1-5.117-1.595z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},78492:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M7.155.406a1.18 1.18 0 0 1 1.69 0L10.46 2.06l2.312-.027a1.18 1.18 0 0 1 1.195 1.194L13.94 5.54l1.654 1.615a1.18 1.18 0 0 1 0 1.69L13.94 10.46l.027 2.312a1.18 1.18 0 0 1-1.195 1.195l-2.312-.027-1.615 1.654a1.18 1.18 0 0 1-1.69 0L5.54 13.94l-2.312.027a1.18 1.18 0 0 1-1.195-1.195l.027-2.312L.406 8.845a1.18 1.18 0 0 1 0-1.69L2.06 5.54l-.027-2.313a1.18 1.18 0 0 1 1.195-1.194l2.312.027L7.155.406zm4.503 6.067a.75.75 0 0 0-1.06-1.06L6.647 9.36 5.446 8.157a.75.75 0 1 0-1.06 1.06l2.264 2.265 5.009-5.01z'/>"},{size:24,svgContent:"<path d='M10.814.5a1.658 1.658 0 0 1 2.372 0l2.512 2.572 3.595-.043a1.658 1.658 0 0 1 1.678 1.678l-.043 3.595 2.572 2.512c.667.65.667 1.722 0 2.372l-2.572 2.512.043 3.595a1.658 1.658 0 0 1-1.678 1.678l-3.595-.043-2.512 2.572a1.658 1.658 0 0 1-2.372 0l-2.512-2.572-3.595.043a1.658 1.658 0 0 1-1.678-1.678l.043-3.595L.5 13.186a1.658 1.658 0 0 1 0-2.372l2.572-2.512-.043-3.595a1.658 1.658 0 0 1 1.678-1.678l3.595.043L10.814.5zm6.584 9.12a1 1 0 0 0-1.414-1.413l-6.011 6.01-1.894-1.893a1 1 0 0 0-1.414 1.414l3.308 3.308 7.425-7.425z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},58715:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M1.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25H1.75zM0 2.75C0 1.784.784 1 1.75 1h12.5c.967 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25V2.75z'/><path d='m6 5 5.196 3L6 11V5z'/>"},{size:24,svgContent:"<path d='M1 6a3 3 0 0 1 3-3h16a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6zm3-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4z'/><path d='m10 9 5.196 3L10 15V9z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},101:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M11.196 8 6 5v6l5.196-3z'/><path d='M15.002 1.75A1.75 1.75 0 0 0 13.252 0h-10.5a1.75 1.75 0 0 0-1.75 1.75v12.5c0 .966.783 1.75 1.75 1.75h10.5a1.75 1.75 0 0 0 1.75-1.75V1.75zm-1.75-.25a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25h-10.5a.25.25 0 0 1-.25-.25V1.75a.25.25 0 0 1 .25-.25h10.5z'/>"},{size:24,svgContent:"<path d='M15.196 12 10 9v6l5.196-3z'/><path d='M21 4a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V4zm-3-1a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h12z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},39911:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M14.49.513c.328.328.512.773.512 1.237v12.5a1.75 1.75 0 0 1-1.75 1.75h-10.5a1.75 1.75 0 0 1-1.75-1.75V1.75A1.75 1.75 0 0 1 2.752 0h10.5c.464 0 .91.184 1.237.513ZM6 5v6l5.196-3L6 5Z'/>"},{size:24,svgContent:"<path d='M20.121 1.879A3 3 0 0 1 21 4v16a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h12a3 3 0 0 1 2.121.879ZM10 9v6l5.196-3L10 9Z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},90706:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.741.85a.75.75 0 0 1 .375.65v13a.75.75 0 0 1-1.125.65l-6.925-4a3.642 3.642 0 0 1-1.33-4.967 3.639 3.639 0 0 1 1.33-1.332l6.925-4a.75.75 0 0 1 .75 0zm-6.924 5.3a2.139 2.139 0 0 0 0 3.7l5.8 3.35V2.8l-5.8 3.35zm8.683 4.29V5.56a2.75 2.75 0 0 1 0 4.88z'/><path d='M11.5 13.614a5.752 5.752 0 0 0 0-11.228v1.55a4.252 4.252 0 0 1 0 8.127v1.55z'/>"},{size:24,svgContent:"<path d='M14.5 1.134A1 1 0 0 1 15 2v20a1 1 0 0 1-1.5.866L2.846 16.712a5.445 5.445 0 0 1 0-9.424L13.5 1.135a1 1 0 0 1 1 0zM3.847 9.02a3.444 3.444 0 0 0 0 5.96L13 20.268V3.732L3.847 9.02zM17 20.127a8.504 8.504 0 0 0 0-16.253v2.125a6.502 6.502 0 0 1 0 12.003v2.125z'/><path d='M17 16.032V7.968a4.5 4.5 0 0 1 0 8.064z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},5588:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M10.016 1.125A.75.75 0 0 0 8.99.85l-6.925 4a3.639 3.639 0 0 0 0 6.299l6.925 4a.75.75 0 0 0 1.125-.65v-13a.75.75 0 0 0-.1-.375zM11.5 5.56a2.75 2.75 0 0 1 0 4.88V5.56z'/><path d='M16 8a5.752 5.752 0 0 1-4.5 5.614v-1.55a4.252 4.252 0 0 0 0-8.127v-1.55A5.752 5.752 0 0 1 16 8z'/>"},{size:24,svgContent:"<path d='M14.5 1.134A1 1 0 0 1 15 2v20a1 1 0 0 1-1.5.866L2.846 16.712a5.445 5.445 0 0 1 0-9.424L13.5 1.135a1 1 0 0 1 1 0zM17 20.127a8.504 8.504 0 0 0 0-16.253v2.125a6.502 6.502 0 0 1 0 12.003v2.125z'/><path d='M17 7.968a4.5 4.5 0 0 1 0 8.064V7.968z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},28875:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M13.86 5.47a.75.75 0 0 0-1.061 0l-1.47 1.47-1.47-1.47A.75.75 0 0 0 8.8 6.53L10.269 8l-1.47 1.47a.75.75 0 1 0 1.06 1.06l1.47-1.47 1.47 1.47a.75.75 0 0 0 1.06-1.06L12.39 8l1.47-1.47a.75.75 0 0 0 0-1.06z'/><path d='M10.116 1.5A.75.75 0 0 0 8.991.85l-6.925 4a3.642 3.642 0 0 0-1.33 4.967 3.639 3.639 0 0 0 1.33 1.332l6.925 4a.75.75 0 0 0 1.125-.649v-1.906a4.73 4.73 0 0 1-1.5-.694v1.3L2.817 9.852a2.141 2.141 0 0 1-.781-2.92c.187-.324.456-.594.78-.782l5.8-3.35v1.3c.45-.313.956-.55 1.5-.694V1.5z'/>"},{size:24,svgContent:"<path d='M17.293 15.207a1 1 0 0 0 1.414 0l1.793-1.793 1.793 1.793a1 1 0 0 0 1.414-1.414L21.914 12l1.793-1.793a1 1 0 0 0-1.414-1.414L20.5 10.586l-1.793-1.793a1 1 0 1 0-1.414 1.414L19.086 12l-1.793 1.793a1 1 0 0 0 0 1.414zM14.5 1.134A1 1 0 0 1 15 2v20a1 1 0 0 1-1.5.866L2.846 16.712a5.445 5.445 0 0 1 0-9.424L13.5 1.135a1 1 0 0 1 1 0zM3.847 9.02a3.444 3.444 0 0 0 0 5.96L13 20.268V3.732L3.847 9.02z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},16187:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.741.85a.75.75 0 0 1 .375.65v13a.75.75 0 0 1-1.125.65l-6.925-4a3.642 3.642 0 0 1-1.33-4.967 3.639 3.639 0 0 1 1.33-1.332l6.925-4a.75.75 0 0 1 .75 0zm-6.924 5.3a2.139 2.139 0 0 0 0 3.7l5.8 3.35V2.8l-5.8 3.35zm8.683 4.29V5.56a2.75 2.75 0 0 1 0 4.88z'/>"},{size:24,svgContent:"<path d='M14.5 1.134A1 1 0 0 1 15 2v20a1 1 0 0 1-1.5.866L2.846 16.712a5.445 5.445 0 0 1 0-9.424L13.5 1.135a1 1 0 0 1 1 0zM3.847 9.02a3.444 3.444 0 0 0 0 5.96L13 20.268V3.732L3.847 9.02zM17 16.032V7.968a4.5 4.5 0 0 1 0 8.064z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},41293:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M9.741.85a.75.75 0 0 1 .375.65v13a.75.75 0 0 1-1.125.65l-6.925-4a3.642 3.642 0 0 1-1.33-4.967 3.639 3.639 0 0 1 1.33-1.332l6.925-4a.75.75 0 0 1 .75 0zm-6.924 5.3a2.139 2.139 0 0 0 0 3.7l5.8 3.35V2.8l-5.8 3.35zm8.683 6.087a4.502 4.502 0 0 0 0-8.474v1.65a2.999 2.999 0 0 1 0 5.175v1.649z'/>"},{size:24,svgContent:"<path d='M14.5 1.134A1 1 0 0 1 15 2v20a1 1 0 0 1-1.5.866L2.846 16.712a5.445 5.445 0 0 1 0-9.424L13.5 1.135a1 1 0 0 1 1 0zM3.847 9.02a3.444 3.444 0 0 0 0 5.96L13 20.268V3.732L3.847 9.02zM17 18.326a7 7 0 0 0 0-12.653v2.326c1.215.912 2 2.365 2 4a4.992 4.992 0 0 1-2 4v2.327z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},68031:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='m4.347 1.122-.403 1.899A2.25 2.25 0 0 0 2 5.25v5.5a2.25 2.25 0 0 0 1.944 2.23l.403 1.898c.14.654.717 1.122 1.386 1.122h4.535c.668 0 1.246-.468 1.385-1.122l.404-1.899A2.25 2.25 0 0 0 14 10.75v-5.5a2.25 2.25 0 0 0-1.943-2.23l-.404-1.898A1.417 1.417 0 0 0 10.267 0H5.734c-.67 0-1.247.468-1.386 1.122zM5.8 1.5h4.4l.319 1.5H5.48l.32-1.5zM10.52 13l-.319 1.5H5.8L5.481 13h5.038zM4.25 4.5h7.5a.75.75 0 0 1 .75.75v5.5a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-5.5a.75.75 0 0 1 .75-.75z'/>"},{size:24,svgContent:"<path d='M6.916 1.584A2 2 0 0 1 8.873 0h6.4a2 2 0 0 1 1.957 1.584l.761 3.584A3.001 3.001 0 0 1 20 8v8a3 3 0 0 1-2.009 2.832l-.761 3.584A2 2 0 0 1 15.273 24h-6.4a2 2 0 0 1-1.957-1.584l-.75-3.534A3.001 3.001 0 0 1 4 16V8c0-1.367.915-2.52 2.165-2.882l.751-3.534zM8.235 5h7.676l-.637-3H8.873l-.638 3zm0 14 .638 3h6.4l.638-3H8.235zM7 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H7z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},44063:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M.833 5.994a.217.217 0 0 0 .298.024A10.923 10.923 0 0 1 8 3.603c2.6 0 4.99.904 6.868 2.415.09.073.223.063.3-.024l.779-.882a.21.21 0 0 0-.024-.303A12.523 12.523 0 0 0 8 2C4.996 2 2.24 3.053.077 4.809a.21.21 0 0 0-.024.303l.78.882z'/><path d='M13.822 7.518a.21.21 0 0 0-.026-.304A9.324 9.324 0 0 0 8 5.205a9.323 9.323 0 0 0-5.796 2.009.21.21 0 0 0-.026.304l.78.883a.219.219 0 0 0 .298.026A7.725 7.725 0 0 1 8 6.808c1.787 0 3.433.604 4.745 1.619.09.07.22.06.297-.026l.78-.883z'/><path d='M11.695 9.926a.208.208 0 0 0-.03-.305A6.126 6.126 0 0 0 8 8.411a6.13 6.13 0 0 0-3.666 1.21.208.208 0 0 0-.029.305l.782.885a.222.222 0 0 0 .294.031A4.528 4.528 0 0 1 8 10.013c.975 0 1.879.307 2.619.83.092.065.22.053.294-.032l.782-.885zM8 11.616a2.93 2.93 0 0 1 1.518.421.201.201 0 0 1 .04.307L8.16 13.928a.214.214 0 0 1-.32 0l-1.4-1.584a.201.201 0 0 1 .041-.307A2.93 2.93 0 0 1 8 11.617z'/>"},{size:24,svgContent:"<path d='M17.692 14.572a.3.3 0 0 0-.03-.424A8.755 8.755 0 0 0 12 12.073a8.755 8.755 0 0 0-5.663 2.075.3.3 0 0 0-.029.424l.916 1.059a.302.302 0 0 0 .423.031A6.808 6.808 0 0 1 12 14.092c1.65 0 3.164.588 4.353 1.57a.302.302 0 0 0 .423-.031l.916-1.06z'/><path d='M20.309 11.545a.302.302 0 0 0-.028-.425A12.651 12.651 0 0 0 12 8.036c-3.155 0-6.044 1.16-8.28 3.084a.302.302 0 0 0-.029.425l.916 1.06a.299.299 0 0 0 .421.029A10.704 10.704 0 0 1 12 10.054c2.653 0 5.084.97 6.972 2.58a.299.299 0 0 0 .421-.03l.916-1.06z'/><path d='M1.99 9.578a.297.297 0 0 0 .42.029A14.599 14.599 0 0 1 12 6.018c3.656 0 7.003 1.35 9.59 3.589a.297.297 0 0 0 .42-.03l.916-1.059a.303.303 0 0 0-.028-.425C19.964 5.541 16.158 4 12 4 7.842 4 4.037 5.54 1.102 8.093a.303.303 0 0 0-.028.425l.916 1.06zm10.232 11.32L15 17.686a.293.293 0 0 0-.016-.405 4.384 4.384 0 0 0-5.966 0 .293.293 0 0 0-.016.405l2.777 3.212a.293.293 0 0 0 .444 0z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},43178:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M2.47 2.47a.75.75 0 0 1 1.06 0L8 6.94l4.47-4.47a.75.75 0 1 1 1.06 1.06L9.06 8l4.47 4.47a.75.75 0 1 1-1.06 1.06L8 9.06l-4.47 4.47a.75.75 0 0 1-1.06-1.06L6.94 8 2.47 3.53a.75.75 0 0 1 0-1.06Z'/>"},{size:24,svgContent:"<path d='M3.293 3.293a1 1 0 0 1 1.414 0L12 10.586l7.293-7.293a1 1 0 1 1 1.414 1.414L13.414 12l7.293 7.293a1 1 0 0 1-1.414 1.414L12 13.414l-7.293 7.293a1 1 0 0 1-1.414-1.414L10.586 12 3.293 4.707a1 1 0 0 1 0-1.414z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},36721:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});var i=n(30758),o=n(96157);function r(e){var t,n,r,a,s,c=e.size?o.$Z[e.size]:e.iconSize,l=(0,o._C)([{size:16,svgContent:"<path d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z'/><path d='M11.005 4.995a.75.75 0 0 1 0 1.06L9.061 8l1.944 1.945a.75.75 0 1 1-1.06 1.06L8 9.061l-1.945 1.944a.75.75 0 1 1-1.06-1.06L6.939 8 4.995 6.055a.75.75 0 1 1 1.06-1.06L8 6.939l1.945-1.944a.75.75 0 0 1 1.06 0z'/>"},{size:24,svgContent:"<path d='M11.999 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm-11 9c0-6.075 4.925-11 11-11s11 4.925 11 11-4.925 11-11 11-11-4.925-11-11z'/><path d='M16.242 16.243a1 1 0 0 1-1.415 0L12 13.414l-2.828 2.829a1 1 0 1 1-1.415-1.415L10.585 12 7.756 9.172a1 1 0 0 1 1.415-1.415l2.828 2.829 2.828-2.829a1 1 0 0 1 1.415 1.415L13.413 12l2.829 2.828a1 1 0 0 1 0 1.415z'/>"}],c||24),u=null!==(t=e.autoMirror)&&void 0!==t&&t;return i.createElement(o.In,Object.assign({},e,{autoMirror:u,viewBox:"0 0 ".concat(l.size," ").concat(l.size),dangerouslySetInnerHTML:{__html:"".concat((a=e.title,s=e.titleId,a?"<title ".concat(s?'id="'.concat(s,'"'):"",">").concat(a,"</title>"):"")).concat((n=e.desc,r=e.descId,n?"<desc ".concat(r?'id="'.concat(r,'"'):"",">").concat(n,"</desc>"):"")).concat(l.svgContent)}}))}},96157:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>c,In:()=>d,_C:()=>u});var i=n(59764),o=n(30758),r=n(63382),a=n(93019),s=["iconSize","size","semanticColor","color","title","titleId","desc","descId","autoMirror","width","height","aria-label"],c={xsmall:12,small:16,medium:24,large:32,xlarge:48,xxlarge:64},l=function(e){return Object.keys(c).find((function(t){return c[t]===e}))},u=function(e,t){return e.sort((function(e,t){return e.size-t.size})).reduce((function(e,n){return n.size<=t&&n.size>e.size?n:e}))};var d=function(e){var t,n=e.iconSize,c=e.size,u=void 0===c?"medium":c,d=e.semanticColor,p=(e.color,e.title),h=e.titleId,f=e.desc,m=e.descId,_=e.autoMirror,g=e.width,E=e.height,v=e["aria-label"],y=(0,i.A)(e,s);return o.createElement(a.B,Object.assign({"data-encore-id":r.j.Icon,role:"img","aria-label":v,"aria-labelledby":p&&h?h:y["aria-labelledby"],"aria-describedby":f&&m?m:y["aria-describedby"],"aria-hidden":!p&&!h,$size:n?l(n):u,$iconColor:d,$autoMirror:_,$width:g,$height:E,$tokenType:(t={ariaLabel:v,title:p,desc:f},Object.values(t).some((function(e){return e}))?"informative":"decorative")},y))}},88482:(e,t,n)=>{"use strict";n.d(t,{_:()=>S});var i=n(12867),o=n(59764),r=n(30758),a=n(63382),s=n(435),c=n(60386),l=function(){return(0,c.AH)(["vertical-align:middle;"])},u=n(72973),d=n(76578),p=function(){return(0,c.AH)(["",";",";",";",";",";",";"],(function(e){return e.$imageWidth&&(0,c.AH)(["inline-size:",";"],(0,s.gu)(e.$imageWidth)?(0,s.Jk)(e.$imageWidth,e.alt?"informative":"decorative"):e.$imageWidth)}),(function(e){return e.$imageHeight&&(0,c.AH)(["block-size:",";"],(0,s.gu)(e.$imageHeight)?(0,s.Jk)(e.$imageHeight,e.alt?"informative":"decorative"):e.$imageHeight)}),(function(e){return e.$borderRadius&&(0,c.AH)(["border-radius:",";"],(0,s.uG)(e.$borderRadius)?(0,s.AN)(e.$borderRadius):e.$borderRadius)}),(function(e){return e.$circle&&(0,c.AH)(["border-radius:50%;"])}),(function(e){return e.$crop&&(0,c.AH)(["object-fit:cover;"])}),(function(e){return e.$fluid&&(0,c.AH)(["max-inline-size:100%;block-size:auto;"])}))},h=d.Ay.div.withConfig({displayName:"Image__PlaceholderImageWrapper",componentId:"sc-1u215sg-0"})(["overflow:hidden;img{",";filter:blur(20px);transform:scale(1.03);}",";"],l(),p()),f=d.Ay.img.withConfig({displayName:"Image__PlaceholderImage",componentId:"sc-1u215sg-1"})(["",";inline-size:100%;block-size:100%;"],l()),m=d.Ay.img.withConfig({displayName:"Image__StyledLazyImage",componentId:"sc-1u215sg-2"})(["",";display:",";",";"],l(),(function(e){return e.$isLoaded?"initial":"none"}),p());const _=d.Ay.img.withConfig({displayName:"Image",componentId:"sc-1u215sg-3"})(["",";"],p());var g=d.Ay.div.withConfig({displayName:"Image__Placeholder",componentId:"sc-1u215sg-4"})(["",";display:flex;align-items:center;justify-content:center;background-color:var(",");color:var(",");svg{width:50%;height:auto;max-inline-size:",";max-block-size:",";min-inline-size:",";min-block-size:",";}"],p(),(0,u.cl)("backgroundTintedBase"),(0,u.cl)("textSubdued"),(0,s.Jk)("larger-4","decorative"),(0,s.Jk)("larger-4","decorative"),(0,s.Jk)("smaller-2","decorative"),(0,s.Jk)("smaller-2","decorative"));function E(e,t){var n="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in IntersectionObserverEntry.prototype,i=(0,r.useRef)(null),o=(0,r.useCallback)((function(n){n.forEach((function(n){n.isIntersecting&&i.current&&e.current&&(i.current.unobserve(e.current),t())}))}),[t,e]),a=(0,r.useCallback)((function(){n?(i.current=new IntersectionObserver(o),e.current&&i.current.observe(e.current)):t()}),[t,o,n,e]);(0,r.useEffect)((function(){a()}),[a])}var v=["alt","onLoad","placeholderSrc","imageHeight","imageWidth","borderRadius","circle","crop","fluid"],y=["imageHeight","imageWidth","borderRadius","circle","crop","fluid","placeholderIcon"];var b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.StyledLazyImage,n=void 0===t?m:t,a=e.PlaceholderImage,s=void 0===a?f:a,c=e.useInView,l=void 0===c?E:c;return function(e){var t=e.alt,a=void 0===t?"":t,c=e.onLoad,u=e.placeholderSrc,d=e.imageHeight,p=e.imageWidth,f=e.borderRadius,m=e.circle,_=e.crop,g=e.fluid,E=(0,o.A)(e,v),y=(0,r.useRef)(null),b=(0,r.useState)(!1),S=(0,i.A)(b,2),T=S[0],A=S[1],I=(0,r.useState)(!1),O=(0,i.A)(I,2),C=O[0],R=O[1],N=r.createElement(n,Object.assign({},E,{alt:a,ref:y,onLoad:function(e){R(!0),c&&c(e)},$isLoaded:C,$imageHeight:d,$imageWidth:p,$borderRadius:f,$circle:m,$crop:_,$fluid:g})),P=r.createElement(h,Object.assign({$imageHeight:d,$imageWidth:p,$borderRadius:f,$circle:m,$crop:_,$fluid:g},E),r.createElement(s,{alt:a,ref:y,src:u}));return l(y,(function(){A(!0)})),T?r.createElement(r.Fragment,null,!C&&P,N):P}}(),S=function(e){var t=e.imageHeight,n=e.imageWidth,i=e.borderRadius,s=e.circle,c=e.crop,l=e.fluid,u=e.placeholderIcon,d=(0,o.A)(e,y);if("placeholderSrc"in d&&d.placeholderSrc)return r.createElement(b,Object.assign({imageHeight:t,imageWidth:n,borderRadius:i,circle:s,crop:c,fluid:l},d,{"data-encore-id":a.j.Image}));if(u&&!d.src){var p=u;return r.createElement(g,Object.assign({$imageHeight:t,$imageWidth:n,$borderRadius:i,$circle:s,$crop:c,$fluid:l},d,{"data-encore-id":a.j.Image}),r.createElement(p,null))}return r.createElement(_,Object.assign({$imageHeight:t,$imageWidth:n,$borderRadius:i,$circle:s,$crop:c,$fluid:l},d,{"data-encore-id":a.j.Image}))}},56717:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var i=n(30758),o=n(10018),r=n(12867);var a=o.L.isUsingKeyboard,s=function(e){var t=function(e){var t=(0,i.useState)(e),n=(0,r.A)(t,2),o=n[0],a=n[1],s=function(){return a(!1)},c=function(e){switch(e.key){case"Tab":case"ArrowDown":case"ArrowUp":case"ArrowLeft":case"ArrowRight":a(!0)}};return(0,i.useEffect)((function(){return window.addEventListener("keydown",c),window.addEventListener("mousedown",s),window.addEventListener("touchstart",s),function(){window.removeEventListener("keydown",c),window.removeEventListener("mousedown",s),window.removeEventListener("touchstart",s)}}),[]),{isUsingKeyboard:o,setIsUsingKeyboard:a}}(a),n=t.isUsingKeyboard;return i.createElement(o.E.Provider,{value:{isUsingKeyboard:n}},e.children)}},77812:(e,t,n)=>{"use strict";n.d(t,{B:()=>g});var i=n(59764),o=n(30758),r=n(42712),a=n(63382),s=n(24163),c=n(23938),l=n(28367),u=n(76578),d=n(60386),p=n(85687),h=n(435),f=n(72973),m=u.Ay.div.withConfig({displayName:"List__ListComponent",componentId:"sc-qwoko3-0"})(["",""],(function(e){var t=e.$orientation,n=void 0===t?"column":t,i=e.$hasDividers,o=void 0!==i&&i,r=e.$gap;return(0,d.AH)(["",";display:flex;flex-direction:",";"," ",";"],p.W,n,r&&(0,d.AH)(["gap:",";"],(0,h.rn)(r)?(0,h.po)(r):r),o&&(0,d.AH)(["--animation-speed:300ms;--animation-ease:ease;&& > *:not(:first-child)::before{content:'';display:block;position:absolute;border-width:",";border-color:",";transition:border-color var(--animation-speed) var(--animation-ease);"," ","}",":hover::before,",":hover + ","::before{border-color:transparent;}",":active::before,",":active + ","::before{border-color:transparent;}"],(0,h.iX)("hairline","1px"),(0,f.oj)("decorativeSubdued"),"column"===n&&(0,d.AH)(["border-bottom-style:solid;right:12px;left:12px;top:0;"]),"row"===n&&(0,d.AH)(["border-right-style:solid;top:8px;bottom:8px;left:0;[dir='rtl'] &{left:unset;right:0;}"]),l.a,l.a,l.a,l.a,l.a,l.a))})),_=["orientation","hasDividers","gap"],g=o.forwardRef((function(e,t){var n=e.orientation,l=e.hasDividers,u=e.gap,d=(0,i.A)(e,_),p=(0,o.useContext)(r.i_);return(0,r.BS)(r.NH.list,p)===r.sS.next?o.createElement(m,Object.assign({$orientation:n,$hasDividers:l,$gap:u},d,{ref:t,"data-encore-id":a.j.List})):((0,s.co)("List","TypeList","v7",'Pass the "condensedAll" and "listStyleReset" props in order to achieve the same behavior.'),o.createElement(c.b,Object.assign({ref:t,condensedAll:!0,listStyleReset:!("listStyleReset"in d)||d.listStyleReset},d)))}))},28367:(e,t,n)=>{"use strict";n.d(t,{a:()=>c});var i=n(60165),o=n(69644),r=n(76578),a=n(60386),s=n(435),c=(0,r.Ay)(o.a).withConfig({displayName:"Box",componentId:"sc-8t9c76-0"})(["",""],(function(e){var t=e.$hasLeadingOrMedia,n=e.$contentAlign,o=e.$verticalGap,r=e.$horizontalGap;return(0,a.AH)(["display:grid;grid-gap:"," ",";grid-template-columns:",";grid-auto-rows:auto 1fr auto;&[disabled]{opacity:",";}",""],(0,s.rn)(o)?(0,s.po)(o):o,(0,s.rn)(r)?(0,s.po)(r):r,t?"auto 1fr":"1fr",i.ZS,n&&(0,a.AH)(["margin-inline-start:calc(-1 * ",");margin-inline-end:calc(-1 * ",");"],(0,s.po)("tighter","12px"),(0,s.po)("tighter","12px")))}))},16047:(e,t,n)=>{"use strict";n.d(t,{v:()=>w,K:()=>k});var i=n(12867),o=n(59764),r=n(30758),a=n(30400),s=n(83681),c=n(24284),l=n(66060),u={sm:"4px",md:"8px",lg:"8px",xl:"12px",xxl:"12px"},d={sm:"2px",md:"2px",lg:"2px",xl:"4px",xxl:"4px"},p={sm:"32px",md:"48px",lg:"56px",xl:"56px",xxl:"56px"},h=n(76578),f=n(60386),m=n(435),_=h.Ay.div.withConfig({displayName:"Areas__InteractiveArea",componentId:"sc-8gfrea-0"})(["& button,& a,& [role='button'],& [role='link']{position:relative;z-index:1;}"]),g=h.Ay.div.withConfig({displayName:"Areas__HeaderSideArea",componentId:"sc-8gfrea-1"})(["grid-column:1;gap:",";",""],(0,m.po)("base","16px"),(function(e){var t=e.$layout,n=e.$hasBodyOrFooter;return"wide"===t&&n&&(0,f.AH)(["grid-row:span 2;"])})),E=h.Ay.div.withConfig({displayName:"Areas__HeaderSideAreaFlexContainer",componentId:"sc-8gfrea-2"})(["display:flex;gap:",";align-items:center;height:100%;",""],(0,m.po)("tighter","12px"),(function(e){return"wide"===e.$layout&&(0,f.AH)(["height:auto;"])})),v=h.Ay.div.withConfig({displayName:"Areas__HeaderArea",componentId:"sc-8gfrea-3"})(["",""],(function(e){var t=e.$horizontalGap;return(0,f.AH)(["grid-column-end:-1;gap:",";align-items:center;display:flex;justify-content:space-between;"],(0,m.rn)(t)?(0,m.po)(t):t)})),y=(0,h.Ay)(_).withConfig({displayName:"Areas__BottomArea",componentId:"sc-8gfrea-4"})(["",""],(function(e){var t=e.$layout,n=e.$hasLeadingOrMedia;return"wide"===t&&n?(0,f.AH)(["grid-column:2;"]):(0,f.AH)(["grid-column:1/-1;"])})),b=(0,h.Ay)(_).withConfig({displayName:"Areas__Column",componentId:"sc-8gfrea-5"})(["",""],(function(e){var t=e.$size,n=e.$titleGap,i=void 0===n?d[t]:n;return(0,f.AH)(["display:flex;flex-direction:column;gap:",";align-items:flex-start;"],(0,m.rn)(i)?(0,m.po)(i):i)})),S=(0,h.Ay)(_).withConfig({displayName:"Areas__LeadingSlot",componentId:"sc-8gfrea-6"})(["flex-shrink:0;align-self:stretch;display:flex;align-items:center;"]),T=(0,h.Ay)(_).withConfig({displayName:"Areas__TrailingSlot",componentId:"sc-8gfrea-7"})(["flex-shrink:0;align-self:stretch;display:flex;align-items:center;"]),A=n(28367),I=n(70277),O=h.Ay.div.withConfig({displayName:"RowButton",componentId:"sc-xxkq4e-0"})(["position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:transparent;border:none;width:100%;&:focus{outline:none;}&[disabled],&[aria-disabled='true'],fieldset[disabled] &{","}"],I.r0),C=h.Ay.div.withConfig({displayName:"RowMouseLink",componentId:"sc-hvecl1-0"})(["position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;cursor:pointer;"]),R=n(63382),N=n(24163),P=n(83663),L=["title","disabled","aria-disabled","subtitle","pretitle","media","leading","trailing","body","footer","size","titleGap","verticalGap","horizontalGap","layout","contentAlign","onClick","onClickHint","isRedundantOnClick","isNavigational","isSelected","id","draggable","onDragEnd"],k=(0,r.createContext)(null),w=r.forwardRef((function(e,t){var n=e.title,d=e.disabled,h=e["aria-disabled"],f=e.subtitle,_=e.pretitle,I=e.media,w=e.leading,D=e.trailing,M=e.body,x=e.footer,U=e.size,V=void 0===U?"lg":U,F=e.titleGap,B=e.verticalGap,H=void 0===B?(0,m.po)("tighter-2","8px"):B,G=e.horizontalGap,W=void 0===G?(0,m.po)("tighter","12px"):G,j=e.layout,Y=void 0===j?"regular":j,z=e.contentAlign,K=void 0!==z&&z,J=e.onClick,q=e.onClickHint,X=e.isRedundantOnClick,$=void 0!==X&&X,Z=e.isNavigational,Q=void 0!==Z&&Z,ee=e.isSelected,te=e.id,ne=e.draggable,ie=e.onDragEnd,oe=(0,o.A)(e,L);Q&&(0,N.IF)("isNavigational","isRedundantOnClick","ListRow");var re=(0,r.useState)(!1),ae=(0,i.A)(re,2),se=ae[0],ce=ae[1],le=!(!d&&!h),ue=!(!M&&!x),de=!(!w&&!I),pe=function(e){le?e.preventDefault():void 0!==J&&J(e)};return r.createElement(k.Provider,{value:te},r.createElement(A.a,Object.assign({role:"group","aria-labelledby":"listrow-title-".concat(te),ref:t,paddingBlockStart:u[V],paddingBlockEnd:u[V],minBlockSize:p[V],$contentAlign:K,isInteractive:!!J,hasFocus:se,tabIndex:void 0,$hasLeadingOrMedia:de,disabled:le,$verticalGap:H,$horizontalGap:W,"data-encore-id":R.j.ListRow,draggable:ne,onDragEnd:ne?function(e){ce(!1),null==ie||ie(e)}:function(e){return null==ie?void 0:ie(e)}},oe),J&&r.createElement(r.Fragment,null,$||Q?r.createElement(C,{onClick:J,onMouseDown:function(){return ce(!0)},onTouchStart:function(){return ce(!0)},onMouseUp:function(){return ce(!1)},onTouchEnd:function(){return ce(!1)},"data-testid":"mouse-only-link"}):r.createElement(O,{onClick:function(e){return pe(e)},onKeyDown:function(e){return function(e){"Enter"!==e.key&&" "!==e.key||void 0===J||le||J(e)}(e)},role:"boolean"==typeof ee?"switch":"button","aria-disabled":le,"aria-checked":ee,"aria-labelledby":"listrow-title-".concat(te," listrow-subtitle-").concat(te),"aria-describedby":"onClickHint".concat(te),onFocus:function(){return ce(!0)},onBlur:function(){return ce(!1)},tabIndex:0}),r.createElement("div",{style:{display:"none"},id:"onClickHint".concat(te)},q)),(w||I)&&r.createElement(g,{$layout:Y,$hasBodyOrFooter:ue},r.createElement(E,{$layout:Y},w&&r.createElement(S,null,w),(0,P.vt)(I,r.createElement(s.C,{size:V,src:I})))),r.createElement(v,{$horizontalGap:W},r.createElement(b,{$size:V,$titleGap:F},(0,P.vt)(_,r.createElement(a.v,null,_)),(0,P.vt)(n,r.createElement(l.d,{variant:"sm"===V?"bodySmall":"bodyMedium",id:"listrow-title-".concat(te)},n)),(0,P.vt)(f,r.createElement(c.j,null,f))),D&&r.createElement(T,null,D)),M&&r.createElement(y,{$layout:Y,$hasLeadingOrMedia:de},(0,P.vt)(M,r.createElement(a.v,null,M))),x&&r.createElement(y,{$layout:Y,$hasLeadingOrMedia:de},(0,P.vt)(x,r.createElement(a.v,null,x)))))}))},30400:(e,t,n)=>{"use strict";n.d(t,{v:()=>m});var i=n(59764),o=n(30758),r=n(12783),a=n(63382),s=n(24163),c=n(76578),l=n(60386),u=n(78713),d=n(83663),p=["lineClamp","children","variant","weight","semanticColor","as","hasTextSeparator"],h=(0,c.Ay)(r.E).withConfig({displayName:"ListRowDetails__ListRowDetailText",componentId:"sc-sozu4l-0"})(["",""],(0,u.t)()),f=c.Ay.span.withConfig({displayName:"ListRowDetails__LineClamp",componentId:"sc-sozu4l-1"})(["",""],(function(e){var t=e.$lineClamp;return(0,l.AH)(["display:",";-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;"],"-webkit-box",t)})),m=o.forwardRef((function(e,t){var n=e.lineClamp,r=e.children,c=e.variant,l=void 0===c?"bodySmall":c,u=e.weight,m=e.semanticColor,_=void 0===m?"textSubdued":m,g=e.as,E=void 0===g?"p":g,v=e.hasTextSeparator,y=void 0!==v&&v,b=(0,i.A)(e,p),S=r,T=o.Children.toArray(r);return y&&T.length>1&&(S=o.createElement(o.Fragment,null,T.map((function(e,t){return T.length-1===t?o.createElement(o.Fragment,{key:t},e):o.createElement(o.Fragment,{key:t},e," • ")})))),(0,s.VV)("ListRowDetails",l,u),o.createElement(h,Object.assign({forwardedAs:E,variant:(0,d.xs)(l,u),semanticColor:_,ref:t,"data-encore-id":a.j.ListRowDetails},b),n?o.createElement(f,{$lineClamp:n},S):S)}))},83681:(e,t,n)=>{"use strict";n.d(t,{C:()=>p});var i=n(59764),o=n(30758),r=n(88482),a=n(63382),s=n(76578),c=n(435),l=["size","imageWidth","imageHeight","borderRadius","alt"],u={sm:(0,c.Jk)("smaller","decorative","16px"),md:(0,c.Jk)("base","decorative","24px"),lg:(0,c.Jk)("larger-3","decorative","48px"),xl:(0,c.Jk)("larger-4","decorative","64px"),xxl:(0,c.Jk)("larger-5","decorative","88px")},d=(0,s.Ay)(r._).withConfig({displayName:"ListRowImage__ListRowImageComponent",componentId:"sc-1uaxq9n-0"})(["flex-shrink:0;object-fit:cover;"]),p=function(e){var t=e.size,n=void 0===t?"lg":t,r=e.imageWidth,s=e.imageHeight,p=e.borderRadius,h=void 0===p?(0,c.AN)("base","4px"):p,f=e.alt,m=void 0===f?"":f,_=(0,i.A)(e,l);return r||s?o.createElement(d,Object.assign({alt:m,imageWidth:r,imageHeight:s,borderRadius:h,"data-encore-id":a.j.ListRowImage},_)):o.createElement(d,Object.assign({alt:m,imageWidth:u[n],imageHeight:u[n],borderRadius:h},_))}},24284:(e,t,n)=>{"use strict";n.d(t,{j:()=>u});var i=n(59764),o=n(30758),r=n(16047),a=n(30400),s=n(63382),c=n(24163),l=["id"],u=o.forwardRef((function(e,t){var n=e.id,u=(0,i.A)(e,l),d=(0,o.useContext)(r.K),p=d?"listrow-subtitle-".concat(d):void 0;return u.variant&&(0,c.VV)("ListRowSubtitle",u.variant,u.weight),o.createElement(a.v,Object.assign({ref:t,id:n||p,"data-encore-id":s.j.ListRowSubtitle},u))}))},66060:(e,t,n)=>{"use strict";n.d(t,{d:()=>v});var i=n(59764),o=n(30758),r=n(56504),a=n(10018),s=n(16047),c=n(12783),l=n(10669),u=n(63382),d=n(24163),p=n(76578),h=n(60386),f=n(78713),m=n(83663),_=["lineClamp","children","variant","weight","as","onClick","aria-describedby","id","href"],g=p.Ay.span.withConfig({displayName:"ListRowTitle__LineClamp",componentId:"sc-1xe2if1-0"})(["",""],(function(e){var t=e.$lineClamp;return(0,h.AH)(["display:",";-webkit-line-clamp:",";-webkit-box-orient:vertical;overflow:hidden;"],"-webkit-box",t)})),E=(0,p.Ay)(c.E).withConfig({displayName:"ListRowTitle__ListRowText",componentId:"sc-1xe2if1-1"})(["outline:none;text-decoration:none;",";&:focus{","}"],(0,f.t)(),(function(e){return e.$isUsingKeyboard&&!e.$useBrowserDefaultFocusStyle&&l.T7})),v=o.forwardRef((function(e,t){var n=e.lineClamp,c=e.children,l=e.variant,p=void 0===l?"bodyMedium":l,h=e.weight,f=e.as,v=void 0===f?"p":f,y=e.onClick,b=e["aria-describedby"],S=e.id,T=e.href,A=(0,i.A)(e,_),I=(0,o.useContext)(s.K),O=I?"listrow-title-".concat(I):void 0,C=I&&y?"onClickHint".concat(I):void 0,R=(0,o.useContext)(a.E).isUsingKeyboard,N=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle;return(0,d.VV)("ListRowTitle",p,h),o.createElement(E,Object.assign({$isUsingKeyboard:R,$useBrowserDefaultFocusStyle:N,id:S||O,forwardedAs:T?"a":v,onClick:y,variant:(0,m.xs)(p,h),"aria-describedby":b||C,ref:t,href:T,"data-encore-id":u.j.ListRowTitle},A),n?o.createElement(g,{$lineClamp:n},c):c)}))},88311:(e,t,n)=>{"use strict";n.d(t,{I:()=>m});var i=n(59764),o=n(30758),r=n(63382),a=n(72973),s=n(60386),c=n(76578),l=(0,s.i7)(["0%{animation-timing-function:cubic-bezier(1,0,0.7,1);opacity:0.5;transform:scale(1);}40%{animation-timing-function:cubic-bezier(0.3,0,0,1);opacity:0.75;transform:scale(1.3);}72.5%{animation-timing-function:linear;opacity:0.5;transform:scale(1);}100%{opacity:0.5;transform:scale(1);}"]),u=c.Ay.circle.withConfig({displayName:"LoadingIndicatorCircle",componentId:"sc-enjajd-0"})(["fill:",";animation:"," 1.32s linear infinite;transform-origin:center;&:nth-of-type(2){animation-delay:0.1s;}&:nth-of-type(3){animation-delay:0.2s;}[dir='rtl'] &{&:nth-of-type(1){animation-delay:0.2s;}&:nth-of-type(3){animation-delay:0s;}}"],(0,a.oj)(a.ZI.essentialBase),l),d=n(31935),p=function(e){switch(e){case"sm":case"small":return 56;case"md":case"medium":return 84;case"lg":case"large":return 112;default:return(0,d.x)(e)}},h=c.Ay.svg.withConfig({displayName:"LoadingIndicatorSvg",componentId:"sc-dj4dcm-0"})(["content:'';block-size:","px;inline-size:","px;"],(function(e){return p(e.$indicatorSize)/4.5}),(function(e){return p(e.$indicatorSize)})),f=["indicatorSize","size","role","ariaValueText"];var m=Object.assign((function(e){var t=e.indicatorSize,n=e.size,a=void 0===n?"small":n,s=e.role,c=void 0===s?"progressbar":s,l=e.ariaValueText,d=void 0===l?"Loading":l,p=(0,i.A)(e,f);return o.createElement(h,Object.assign({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 1 100",xmlSpace:"preserve",$indicatorSize:t||a,role:c,"aria-valuetext":d},p,{"data-encore-id":r.j.LoadingIndicator}),o.createElement(u,{stroke:"none",cx:"-140",cy:"50",r:"32"}),o.createElement(u,{stroke:"none",cx:"0",cy:"50",r:"32"}),o.createElement(u,{stroke:"none",cx:"140",cy:"50",r:"32"}))}),{sm:"sm",md:"md",lg:"lg"})},85223:(e,t,n)=>{"use strict";n.d(t,{G:()=>u});var i=n(59764),o=n(30758),r=n(63382),a=n(71306),s=n(72973),c=n(76578).Ay.svg.withConfig({displayName:"Svg",componentId:"sc-6c3c1v-0"})(["fill:",";stroke:transparent;"],(function(e){return e.$useBrandColor?a.hZ:(0,s.oj)(e.$semanticColor)})),l=["condensed","color","semanticColor","useBrandColor","label"],u=function(e){var t=e.condensed,n=e.color,a=e.semanticColor,s=void 0===a?"decorativeBase":a,u=e.useBrandColor,d=e.label,p=void 0===d?"Spotify":d,h=(0,i.A)(e,l);return o.createElement(c,Object.assign({role:"img",color:n,viewBox:t?"0 0 24 24":"0 0 78 24",$semanticColor:s,$useBrandColor:u,"aria-label":p,"aria-hidden":""===p},h,{"data-encore-id":r.j.LogoSpotify}),o.createElement("title",null,p),o.createElement("path",{d:"M31.8234 11.0782C29.8042 10.5836 29.4444 10.2376 29.4444 9.50832C29.4444 8.8202 30.077 8.35677 31.0159 8.35677C31.9262 8.35677 32.8296 8.70885 33.7765 9.43308C33.8051 9.45515 33.8407 9.46318 33.8763 9.45816C33.8937 9.45541 33.9104 9.4491 33.9253 9.43962C33.9403 9.43013 33.9532 9.41767 33.9633 9.40299L34.9496 7.97659C34.9691 7.9483 34.9774 7.91361 34.9728 7.87941C34.9682 7.84522 34.9511 7.81402 34.9249 7.79203C33.7982 6.86416 32.5291 6.41378 31.0456 6.41378C28.8653 6.41378 27.3422 7.75591 27.3422 9.67684C27.3422 11.7372 28.6567 12.4654 30.927 13.0292C32.8592 13.4856 33.1854 13.8688 33.1854 14.5529C33.1854 15.3102 32.5262 15.7817 31.4647 15.7817C30.2855 15.7817 29.3239 15.3744 28.2485 14.4185C28.2354 14.4066 28.22 14.3975 28.2033 14.3918C28.1866 14.3861 28.169 14.3839 28.1515 14.3853C28.1339 14.3867 28.1168 14.3917 28.1012 14.4C28.0856 14.4083 28.0719 14.4197 28.0607 14.4335L26.9547 15.7837C26.9322 15.8106 26.921 15.8454 26.9234 15.8806C26.9258 15.9158 26.9416 15.9487 26.9676 15.9722C28.2199 17.1188 29.7587 17.7236 31.4192 17.7236C33.7695 17.7236 35.2877 16.4066 35.2877 14.3683C35.2877 12.645 34.2845 11.6921 31.8234 11.0782ZM42.31 13.3873C42.31 14.8418 41.4363 15.8579 40.185 15.8579C38.9496 15.8579 38.0165 14.7966 38.0165 13.3873C38.0165 11.9789 38.9486 10.9177 40.186 10.9177C41.4165 10.9177 42.31 11.9559 42.31 13.3873ZM40.6041 9.03385C39.5861 9.03385 38.7499 9.44613 38.061 10.2897V9.3408C38.0613 9.30506 38.0476 9.27066 38.023 9.2451C37.9984 9.21955 37.9648 9.20491 37.9296 9.20438H36.1209C36.1033 9.20451 36.086 9.20814 36.0699 9.21507C36.0537 9.222 36.0391 9.23208 36.0268 9.24475C36.0145 9.25742 36.0048 9.27242 35.9982 9.2889C35.9916 9.30538 35.9883 9.32302 35.9884 9.3408V19.8873C35.9884 19.9626 36.0477 20.0237 36.1209 20.0237H37.9296C37.9648 20.0232 37.9984 20.0086 38.023 19.983C38.0476 19.9575 38.0613 19.9231 38.061 19.8873V16.5581C38.7509 17.3515 39.5861 17.7387 40.6041 17.7387C42.4968 17.7387 44.4123 16.2441 44.4123 13.3873C44.4123 10.5295 42.4968 9.03385 40.6041 9.03385ZM49.3235 15.8729C48.0267 15.8729 47.0502 14.8046 47.0502 13.3873C47.0502 11.9649 47.9931 10.9317 49.2938 10.9317C50.5985 10.9317 51.5819 12.001 51.5819 13.4194C51.5819 14.8408 50.6331 15.8729 49.3235 15.8729ZM49.3235 9.03486C46.8862 9.03486 44.9766 10.9608 44.9766 13.4184C44.9766 15.8499 46.8733 17.7557 49.2938 17.7557C51.739 17.7557 53.6545 15.8368 53.6545 13.3873C53.6545 10.9468 51.7529 9.03385 49.3235 9.03385V9.03486ZM58.8592 9.20438H56.8697V7.11795C56.8699 7.10013 56.8667 7.08243 56.8601 7.06589C56.8536 7.04935 56.8439 7.0343 56.8316 7.0216C56.8192 7.00891 56.8046 6.99883 56.7884 6.99195C56.7722 6.98507 56.7548 6.98152 56.7372 6.98153H54.9285C54.8935 6.98205 54.86 6.99655 54.8354 7.02189C54.8108 7.04723 54.797 7.08137 54.797 7.11694V9.20438H53.9273C53.9098 9.20451 53.8925 9.20815 53.8764 9.21509C53.8604 9.22203 53.8458 9.23213 53.8336 9.24481C53.8213 9.25749 53.8117 9.2725 53.8052 9.28898C53.7988 9.30545 53.7956 9.32306 53.7958 9.3408V10.9357C53.7958 11.0099 53.8551 11.0711 53.9273 11.0711H54.797V15.1969C54.797 16.864 55.6055 17.7096 57.2008 17.7096C57.8491 17.7096 58.3868 17.5722 58.8948 17.2763C58.9152 17.2644 58.9322 17.2474 58.944 17.2268C58.9558 17.2061 58.962 17.1827 58.962 17.1589V15.6402C58.962 15.6171 58.9561 15.5944 58.9451 15.5743C58.934 15.5541 58.9181 15.5371 58.8988 15.5249C58.8797 15.5128 58.8578 15.5059 58.8353 15.5048C58.8128 15.5038 58.7904 15.5086 58.7703 15.5188C58.4214 15.6994 58.0853 15.7817 57.7088 15.7817C57.1286 15.7817 56.8687 15.5108 56.8687 14.906V11.0701H58.8592C58.8768 11.07 58.8941 11.0664 58.9102 11.0594C58.9264 11.0525 58.941 11.0424 58.9533 11.0298C58.9656 11.0171 58.9753 11.0021 58.9819 10.9856C58.9885 10.9691 58.9918 10.9515 58.9917 10.9337V9.33879C58.9918 9.32106 58.9885 9.30347 58.9819 9.28705C58.9753 9.27062 58.9655 9.25569 58.9532 9.2431C58.9409 9.23051 58.9263 9.22052 58.9101 9.2137C58.894 9.20689 58.8767 9.20338 58.8592 9.20338V9.20438ZM65.7926 9.21241V8.95662C65.7926 8.20229 66.0743 7.86525 66.7069 7.86525C67.0834 7.86525 67.3869 7.94249 67.7259 8.05885C67.7458 8.06532 67.7669 8.06688 67.7876 8.06339C67.8082 8.0599 67.8277 8.05146 67.8445 8.03879C67.8617 8.02619 67.8757 8.0096 67.8853 7.99041C67.8949 7.97122 67.8999 7.94998 67.8998 7.92845V6.36563C67.9001 6.33654 67.891 6.30815 67.8741 6.28466C67.8572 6.26118 67.8333 6.24384 67.8059 6.23523C67.3194 6.08322 66.8126 6.00877 66.3036 6.01455C64.6333 6.01455 63.7497 6.97952 63.7497 8.80314V9.19635H62.8809C62.8457 9.19662 62.812 9.211 62.7872 9.23637C62.7624 9.26174 62.7485 9.29603 62.7485 9.33177V10.9347C62.7485 11.0099 62.8078 11.0711 62.8809 11.0711H63.7507V17.4348C63.7507 17.51 63.809 17.5702 63.8821 17.5702H65.6908C65.763 17.5702 65.8223 17.51 65.8223 17.4348V11.0701H67.5114L70.098 17.4317C69.8044 18.1008 69.5148 18.2342 69.1214 18.2342C68.8022 18.2342 68.4671 18.1359 68.1232 17.9433C68.1073 17.9346 68.0898 17.9292 68.0718 17.9275C68.0538 17.9257 68.0357 17.9277 68.0184 17.9333C68.0012 17.9395 67.9854 17.9491 67.9719 17.9617C67.9585 17.9743 67.9478 17.9896 67.9403 18.0065L67.3276 19.3858C67.3133 19.4168 67.3112 19.4522 67.3217 19.4848C67.3321 19.5174 67.3544 19.5447 67.3839 19.5613C67.9715 19.9033 68.6389 20.0787 69.3162 20.0689C70.6504 20.0689 71.3888 19.4309 72.0401 17.7136L75.1772 9.39697C75.1851 9.37633 75.1879 9.35406 75.1855 9.33206C75.1831 9.31005 75.1755 9.28896 75.1633 9.27058C75.1514 9.25244 75.1352 9.23756 75.1162 9.22724C75.0973 9.21693 75.0761 9.21149 75.0546 9.2114H73.1718C73.1441 9.21153 73.1172 9.22039 73.0947 9.23674C73.0722 9.25309 73.0553 9.27614 73.0462 9.30268L71.1179 14.9541L69.0058 9.29867C68.9965 9.27304 68.9797 9.25092 68.9576 9.23531C68.9355 9.21971 68.9092 9.21136 68.8823 9.2114H65.7926V9.21241ZM61.7729 9.20438H59.9642C59.929 9.20491 59.8954 9.21955 59.8708 9.2451C59.8462 9.27066 59.8325 9.30506 59.8328 9.3408V17.4348C59.8328 17.51 59.8921 17.5702 59.9652 17.5702H61.7739C61.8461 17.5702 61.9054 17.51 61.9054 17.4348V9.3398C61.9054 9.30406 61.8915 9.26976 61.8666 9.2444C61.8418 9.21903 61.8082 9.20464 61.7729 9.20438ZM60.8775 5.51902C60.5318 5.52114 60.2011 5.6624 59.958 5.91179C59.7148 6.16117 59.5792 6.49829 59.5807 6.84912C59.5798 7.023 59.6127 7.19536 59.6774 7.35636C59.7421 7.51736 59.8375 7.66384 59.958 7.78745C60.0785 7.91105 60.2218 8.00936 60.3797 8.07675C60.5377 8.14414 60.7071 8.1793 60.8785 8.18022C61.2243 8.1781 61.5552 8.0367 61.7983 7.7871C62.0415 7.53749 62.177 7.20012 62.1752 6.84912C62.1752 6.11385 61.5931 5.51902 60.8775 5.51902ZM76.7951 10.0099H76.464V10.4432H76.7951C76.9602 10.4432 77.059 10.3599 77.059 10.2265C77.059 10.0851 76.9602 10.0099 76.7951 10.0099ZM77.0096 10.6278L77.3704 11.1454H77.0659L76.7427 10.6709H76.464V11.1454H76.21V9.77414H76.805C77.1154 9.77414 77.3199 9.93764 77.3199 10.2115C77.3243 10.3067 77.2956 10.4005 77.2389 10.4765C77.1822 10.5526 77.1011 10.6061 77.0096 10.6278ZM76.7279 9.31873C76.0756 9.31873 75.5824 9.85037 75.5824 10.5014C75.5824 11.1514 76.0726 11.676 76.721 11.676C77.3733 11.676 77.8675 11.1444 77.8675 10.4934C77.8675 9.84335 77.3763 9.31873 76.7279 9.31873ZM76.721 11.8064C76.5529 11.806 76.3865 11.7719 76.2315 11.706C76.0764 11.6401 75.9357 11.5437 75.8175 11.4224C75.6993 11.3012 75.6058 11.1573 75.5426 10.9993C75.4794 10.8412 75.4475 10.672 75.449 10.5014C75.449 9.78517 76.0123 9.18833 76.7279 9.18833C76.896 9.18872 77.0624 9.22285 77.2174 9.28874C77.3725 9.35464 77.5132 9.451 77.6314 9.57229C77.7496 9.69358 77.8431 9.8374 77.9063 9.99547C77.9696 10.1535 78.0014 10.3228 77.9999 10.4934C77.9999 11.2096 77.4366 11.8074 76.721 11.8074V11.8064Z M19.0985 10.6382C15.2302 8.34115 8.85004 8.13001 5.15734 9.25061C4.56443 9.4307 3.93745 9.09586 3.75774 8.50285C3.57803 7.90967 3.91237 7.283 4.50579 7.10274C8.74454 5.81575 15.7911 6.06437 20.244 8.70775C20.7776 9.02438 20.9524 9.71333 20.6363 10.2458C20.3199 10.7793 19.6303 10.9549 19.0985 10.6382ZM17.6847 14.3488C14.4602 12.3664 9.54258 11.7923 5.72724 12.9502C5.23257 13.0996 4.71006 12.8208 4.55976 12.327C4.41084 11.8322 4.68965 11.3109 5.1838 11.1605C9.54206 9.83755 14.9602 10.4784 18.6638 12.7544C19.1038 13.0254 19.2424 13.6014 18.9717 14.0407C18.7003 14.481 18.1247 14.6191 17.6847 14.3488ZM16.475 17.5571C13.657 15.8349 10.1104 15.446 5.93306 16.4002C5.53058 16.4923 5.12966 16.2401 5.03782 15.8377C4.94546 15.4352 5.19677 15.0339 5.60011 14.9421C10.1715 13.8972 14.0923 14.3469 17.2554 16.2796C17.6079 16.4949 17.7191 16.9557 17.5034 17.3084C17.2879 17.6619 16.8275 17.7727 16.475 17.5571ZM0 11.9998C0 18.6277 5.37285 24 12 24C18.6277 24 24 18.6277 24 11.9998C24 5.37264 18.6277 0 12 0C5.37285 0 0 5.37264 0 11.9998Z"}))}},4944:(e,t,n)=>{"use strict";n.d(t,{j:()=>u});var i=n(59764),o=n(30758),r=n(63382),a=n(72973),s=n(76578),c=["list","children"],l=s.Ay.div.withConfig({displayName:"NavBar__NavBarPage",componentId:"sc-1guraqe-0"})(["color:",";overflow-wrap:break-word;"],(0,a.oj)(a.ZI.textBase)),u=function(e){var t=e.list,n=e.children,a=(0,i.A)(e,c);return o.createElement("section",Object.assign({},a,{"data-encore-id":r.j.NavBar}),t,o.createElement(l,null,n))}},52660:(e,t,n)=>{"use strict";n.d(t,{L:()=>d});var i=n(59764),o=n(30758),r=n(63382),a=n(435),s=n(23938),c=n(76578),l=["as"],u=(0,c.Ay)(s.b).attrs({condensedAll:!0,listStyleReset:!0}).withConfig({displayName:"NavBarList__NavBarListElement",componentId:"sc-19lzbdt-0"})(["display:flex;margin-block-end:",";overflow-x:auto;overflow-wrap:break-word;padding:",";-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}"],(0,a.po)("tighter","12px"),(0,a.po)("tighter-5","2px")),d=o.forwardRef((function(e,t){var n=e.as,a=(0,i.A)(e,l);return o.createElement(u,Object.assign({},a,{ref:t,forwardedAs:n,"data-encore-id":r.j.NavBarList}))}))},45395:(e,t,n)=>{"use strict";n.d(t,{Y:()=>b});var i=n(59764),o=n(30758),r=n(56504),a=n(63382),s=n(75834),c=n(435),l=n(72973),u=n(98184),d=n(61028),p=n(76578),h=n(60386),f=["component","isActive","isDisabled","isHover","isFocus","useBrowserDefaultFocusStyle","sentenceCase"],m=o.forwardRef((function(e,t){var n=e.component,r=(e.isActive,e.isDisabled,e.isHover,e.isFocus,e.useBrowserDefaultFocusStyle,e.sentenceCase,(0,i.A)(e,f));return o.createElement(n,Object.assign({ref:t},r))}));m.displayName="NavBarListItemLink";var _=(0,p.Ay)(m).withConfig({displayName:"Link",componentId:"sc-1g2blu2-0"})(["",";border:0;display:inline-block;padding-block-start:",";padding-inline-end:",";padding-block-end:10px;padding-inline-start:",";text-decoration:none;transition:"," color linear;color:",";",";",";",";",";li:first-child > &{margin-inline-start:0;padding-inline-start:0;}li:last-child > &{margin-inline-end:0;padding-inline-end:0;}"," &::after{background-color:transparent;content:'';display:block;block-size:2px;margin-block-start:0;margin-inline-end:auto;margin-block-end:calc(-1 * ",");margin-inline-start:auto;position:relative;top:8px;transition:background-color ",";inline-size:",";"," ",";}","{margin-block-start:calc(-1 * ",");margin-block-end:calc(-1 * ",");}"],(function(e){return e.sentenceCase?(0,s.WD)():(0,s.g$)()}),(0,c.po)("tighter","12px"),(0,c.po)("base","16px"),(0,c.po)("base","16px"),"0.2s",(0,l.oj)(l.ZI.textSubdued),(function(e){return!e.isActive&&!e.isDisabled&&(0,h.AH)(["&:hover{color:",";}&:active{opacity:",";}"],(0,l.oj)(l.ZI.textBase),u.kX)}),(function(e){return(e.isActive||e.isHover)&&(0,h.AH)(["color:",";"],(0,l.oj)(l.ZI.textBase))}),(function(e){return e.isFocus&&e.sentenceCase&&(0,h.AH)(["color:",";"],(0,l.oj)(l.ZI.textBase))}),(function(e){return e.isDisabled&&(0,h.AH)(["opacity:",";cursor:not-allowed;pointer-events:none;"],u.ok)}),(function(e){return!e.useBrowserDefaultFocusStyle&&(0,h.AH)(["&[href]:focus{outline:none;",";&::after{background-color:",";inline-size:100%;}}"],e.sentenceCase&&(0,h.AH)(["color:",";"],(0,l.oj)(l.ZI.textBase)),(0,l.oj)(l.ZI.essentialBase))}),(0,c.po)("tighter-5","2px"),"0.3s",(function(e){return e.sentenceCase?"16px":"30px"}),(function(e){return e.isFocus&&(0,h.AH)(["background-color:",";inline-size:100%;"],(0,l.oj)(l.ZI.essentialBase))}),(function(e){return e.isActive&&(0,h.AH)(["background-color:",";"],e.sentenceCase?(0,l.oj)(l.ZI.essentialBase):(0,l.oj)(l.ZI.essentialBrightAccent))}),d.b,(0,c.po)("tighter-4","4px"),(0,c.po)("tighter-4","4px")),g=n(85687),E=n(33999),v=(0,p.Ay)(E.K).attrs({variant:"ballad",condensed:!0,listStyleReset:!0}).withConfig({displayName:"ListItem",componentId:"sc-qa47qy-0"})(["",";overflow-wrap:break-word;"],(0,g.W)()),y=["label","active","disabled","href","role","isHover","isFocus","component","sentenceCase","children","listItemProps"],b=o.forwardRef((function(e,t){var n=e.label,s=e.active,c=e.disabled,l=e.href,u=e.role,d=e.isHover,p=e.isFocus,h=e.component,f=void 0===h?"a":h,m=e.sentenceCase,g=void 0===m||m,E=e.children,b=e.listItemProps,S=(0,i.A)(e,y),T=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle;return o.createElement(v,Object.assign({"data-encore-id":a.j.NavBarListItem},b),o.createElement(_,Object.assign({ref:t,isActive:s,isDisabled:c,isHover:d,isFocus:p,component:f,sentenceCase:g,"aria-current":s?"page":void 0,useBrowserDefaultFocusStyle:T,href:c?void 0:l,"aria-disabled":c,role:c&&"button"!==f?"link":u},S),E||n))}))},34361:(e,t,n)=>{"use strict";n.d(t,{V:()=>E});var i=n(59764),o=n(30758),r=n(63382),a=n(72973),s=n(85223),c=n(76578),l=c.Ay.div.withConfig({displayName:"Body",componentId:"sc-m7zahm-0"})(["flex:1;overflow-y:auto;position:relative;"]),u=n(6826),d=n(98184),p=c.Ay.footer.withConfig({displayName:"Footer",componentId:"sc-1833vcv-0"})(["display:none;@media (min-width:","){display:block;position:relative;padding-inline-start:",";padding-inline-end:",";padding-block-start:",";}"],u.Dg,d.Cy,d.Cy,d.Cy),h=n(435),f=c.Ay.header.withConfig({displayName:"Header",componentId:"sc-f0r0bu-0"})(["h1,h2,h3,p{margin-block-end:0;margin-block-start:0;}@media (max-width:","){padding:",";}@media (min-width:","){padding-block-end:",";padding-inline-start:",";padding-inline-end:",";}"],u.en,(0,h.po)("base","16px"),u.Dg,d.Cy,d.Cy,d.Cy),m=n(85687),_=c.Ay.nav.attrs({role:"navigation"}).withConfig({displayName:"Nav",componentId:"sc-165gcru-0"})(["",";background-color:var(--background-base,",");color:var(--text-subdued,",");display:flex;flex-direction:column;overflow-wrap:break-word;@media (min-width:","){height:100vh;padding-block-end:",";padding-block-start:",";position:relative;inline-size:",";}.docs-story &{block-size:100%;}"],(0,m.W)(),a.Jl.background.base,a.Jl.text.subdued,u.Dg,d.Cy,d.Cy,d.MY),g=["children","colorSet","header","footer","className"],E=function(e){var t=e.children,n=e.colorSet,c=void 0===n?"mutedAccent":n,u=e.header,d=e.footer,h=e.className,m=(0,i.A)(e,g);return o.createElement(_,Object.assign({className:(0,a.Ju)(c,h)},m,{"data-encore-id":r.j.Navigation}),u&&o.createElement(f,null,u),o.createElement(l,null,t),o.createElement(p,null,d?o.createElement(o.Fragment,null,d):o.createElement(s.G,{height:"24",semanticColor:"textSubdued","aria-label":"Spotify"})))}},84096:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var i=n(6826),o=n(23938),r=n(76578),a=n(60386),s=(0,r.Ay)(o.b).attrs({condensedAll:!0,listStyleReset:!0,forwardedAs:"dl"}).withConfig({displayName:"List",componentId:"sc-bff34i-0"})(["",";@media (max-width:","){display:flex;inline-size:100%;}"],(function(e){return e.$flex&&(0,a.AH)(["@media (max-width:","){justify-content:space-between;}"],i.en)}),i.en)},84099:(e,t,n)=>{"use strict";n.d(t,{r:()=>u});var i=n(59764),o=n(30758),r=n(63382),a=n(84096),s=n(6826),c=n(76578).Ay.div.withConfig({displayName:"Nav",componentId:"sc-y9ijly-0"})(["@media (max-width:","){display:flex;flex-direction:row;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;overflow-x:auto;white-space:nowrap;}"," &{@media (max-width:","){display:none;}}@media (min-width:","){display:block;}"],s.en,a.B,s.en,s.Dg),l=["flexMobile","children"],u=function(e){var t=e.flexMobile,n=void 0===t||t,s=e.children,u=(0,i.A)(e,l);return o.createElement(c,Object.assign({},u,{"data-encore-id":r.j.NavigationList}),o.createElement(a.B,{$flex:n},s))}},70903:(e,t,n)=>{"use strict";n.d(t,{a:()=>T});var i=n(59764),o=n(30758),r=n(63382),a=n(6826),s=n(72973),c=n(98184),l=n(20287),u=n(435),d=n(75834),p=n(84096),h=n(85687),f=n(76578),m=f.Ay.dd.withConfig({displayName:"ListItem",componentId:"sc-1id3bok-0"})(["",";margin-inline-start:0;@media (max-width:","){display:inline-block;}"],(0,h.W)(),a.en),_=n(60386),g=["component","active","disabled","useBrowserDefaultFocusStyle","isUsingKeyboard"],E=f.Ay.span.withConfig({displayName:"Link__LinkChildWrapper",componentId:"sc-7welv8-0"})(["position:relative;"]),v=(0,f.Ay)(o.forwardRef((function(e,t){var n=e.component,r=(e.active,e.disabled,e.useBrowserDefaultFocusStyle,e.isUsingKeyboard,(0,i.A)(e,g));return o.createElement(n,Object.assign({},r,{ref:t}))}))).withConfig({displayName:"Link",componentId:"sc-7welv8-1"})(["color:var(--text-subdued,",");display:block;position:relative;transition:color ",";text-decoration:none;",":last-child ",":last-child &{@media (max-width:","){margin-inline-end:0;}}","::after{content:'';"," @media (max-width:","){",";border-width:",";}}&:focus{","}&:hover,&:active{color:var(--text-base,",");}",";",";"," line-height:1;@media (max-width:","){margin-inline-end:",";padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";}@media (min-width:","){line-height:1;overflow:hidden;padding-block-start:9px;padding-block-end:9px;padding-inline-start:",";padding-inline-end:",";}"," "," &{@media (min-width:","){padding-inline-start:",";","}}"],s.Jl.text.subdued,c.Ke,p.B,m,a.en,E,(0,l.hT)(1),a.en,(0,l.hT)(-2),(0,u.iX)("thin","2px"),(function(e){var t=e.useBrowserDefaultFocusStyle,n=e.isUsingKeyboard;return!t&&n&&(0,_.AH)(["","::after{border-color:var(--text-base,",");@media (max-width:","){width:100%;left:0;[dir='rtl'] &{right:0;}}}outline:none;"],E,s.Jl.text.base,a.en)}),s.Jl.text.base,(function(e){return e.active&&(0,_.AH)(["&,&:hover{color:var(--text-base,",");}@media (max-width:","){","::after{border-color:var(--essential-bright-accent,",");border-width:",";bottom:-8px;left:calc(50% - 8px);width:16px;[dir='rtl'] &{right:calc(50% - 8px);}}}&::before{content:'';left:0;position:absolute;@media (min-width:","){border-inline-start:4px solid var(--essential-bright-accent,",");block-size:18px;top:6px;[dir='rtl'] &{right:0;}}}"],s.Jl.text.base,a.en,E,s.Jl.text.brightAccent,(0,u.iX)("thin","2px"),a.Dg,s.Jl.text.brightAccent)}),(function(e){return e.disabled&&(0,_.AH)(["&,&:focus,&:active,&:hover{opacity:",";pointer-events:none;}&::before{border-color:transparent;}"],c.ok)}),(0,d.V2)(),a.en,(0,u.po)("base","16px"),(0,u.po)("tighter","12px"),(0,u.po)("tighter","12px"),(0,u._6)("tighter","16px"),(0,u._6)("tighter","16px"),a.Dg,(0,u._6)("tighter","24px"),(0,u._6)("tighter","24px"),p.B,p.B,a.Dg,(0,u.po)("looser-3","40px"),(0,d.C5)()),y=n(56504),b=n(10018),S=["active","disabled","href","role","component","children"],T=o.forwardRef((function(e,t){var n=e.active,a=e.disabled,s=e.href,c=e.role,l=e.component,u=void 0===l?"a":l,d=e.children,p=(0,i.A)(e,S),h=(0,o.useContext)(b.E).isUsingKeyboard,f=(0,o.useContext)(y.g).useBrowserDefaultFocusStyle;return o.createElement(m,{"data-encore-id":r.j.NavigationListItem},o.createElement(v,Object.assign({},p,{ref:t,active:n,href:a?void 0:s,disabled:a,"aria-disabled":a,role:a&&"button"!==u?"link":c,rel:s?"noopener noreferrer":void 0,"aria-current":n?"page":void 0,component:u,useBrowserDefaultFocusStyle:f,isUsingKeyboard:h}),o.createElement(E,null,d)))}))},24700:(e,t,n)=>{"use strict";n.d(t,{D:()=>f});var i=n(69469),o=n(95265),r=n(30758),a=n(63382),s=n(6826),c=n(85687),l=n(75834),u=n(72973),d=n(435),p=n(84096),h=n(76578).Ay.dt.withConfig({displayName:"ListTitle",componentId:"sc-p72r5i-0"})([""," ",";color:var(--text-subdued,",");margin-block-end:",";margin-inline-start:",";margin-inline-end:",";"," "," &{margin-inline-start:",";}&:not(:first-child){@media (min-width:","){margin-block-start:",";}}@media (max-width:","){display:none;}"],(0,c.W)(),(0,l.un)(),u.Jl.text.subdued,(0,d.po)("tighter-4","4px"),(0,d._6)("tighter","24px"),(0,d._6)("tighter","24px"),p.B,p.B,(0,d.po)("looser-3","40px"),s.Dg,(0,d.po)("looser","24px"),s.en),f=function(e){var t=(0,o.A)({},((0,i.A)(e),e));return r.createElement(h,Object.assign({role:"listitem"},t,{"data-encore-id":a.j.NavigationListTitle}))}},38152:(e,t,n)=>{"use strict";n.d(t,{z:()=>l});var i=n(59764),o=n(30758),r=n(8143),a=n(98184),s=n(76578).Ay.div.withConfig({displayName:"Container__OverlayPortalContainer",componentId:"sc-1vwgkyp-0"})(["position:fixed;"," pointer-events:none;z-index:",";"],(function(e){var t=e.$overlayPosition,n=t.top,i=t.left,o=t.width,r=t.height;return"\n top: ".concat(n,"px;\n left: ").concat(i,"px;\n width: ").concat(o,"px;\n height: ").concat(r,"px;\n ")}),a.sZ),c=["overlayPosition","closeOverlay","domNode"],l=function(e){var t=e.overlayPosition,n=void 0===t?{width:0,height:0,top:0,left:0}:t,a=e.closeOverlay,l=e.domNode,u=void 0===l?document.body:l,d=(0,i.A)(e,c);return(0,o.useEffect)((function(){return a?(window.addEventListener("scroll",a,!0),function(){window.removeEventListener("scroll",a,!0)}):function(){}}),[a]),(0,r.createPortal)(o.createElement(s,Object.assign({$overlayPosition:n},d)),u)}},36498:(e,t,n)=>{"use strict";n.d(t,{hJ:()=>s});var i=n(98184),o=n(76578),r=n(60386),a="17px",s=o.Ay.div.withConfig({displayName:"Overlay",componentId:"sc-u80gmt-0"})(["display:flex;min-width:296px;pointer-events:none;position:absolute;z-index:",";",";",";",";",";",";",";",";",";",";",";",";",";"],i.sZ,(function(e){return"top"===e.$placement&&(0,r.AH)(["bottom:100%;justify-content:center;left:50%;transform:translate(-50%,-12px);"])}),(function(e){return"topStart"===e.$placement&&(0,r.AH)(["bottom:100%;justify-content:flex-end;right:50%;transform:translate(",",-12px);[dir='rtl'] &&{right:unset;left:50%;transform:translate(-",",-12px);}"],a,a)}),(function(e){return"topEnd"===e.$placement&&(0,r.AH)(["bottom:100%;justify-content:flex-start;left:50%;transform:translate(-",",-12px);[dir='rtl'] &&{right:50%;transform:translate(",",-12px);}"],a,a)}),(function(e){return"bottom"===e.$placement&&(0,r.AH)(["justify-content:center;left:50%;top:100%;transform:translate(-50%,12px);"])}),(function(e){return"bottomStart"===e.$placement&&(0,r.AH)(["justify-content:flex-end;right:50%;top:100%;transform:translate(",",12px);[dir='rtl'] &&{right:unset;left:50%;transform:translate(-",",12px);}"],a,a)}),(function(e){return"bottomEnd"===e.$placement&&(0,r.AH)(["justify-content:flex-start;left:50%;top:100%;transform:translate(-",",12px);[dir='rtl'] &&{left:unset;right:50%;transform:translate(",",12px);}"],a,a)}),(function(e){return"start"===e.$placement&&(0,r.AH)(["justify-content:flex-end;right:100%;top:50%;transform:translate(-12px,-50%);[dir='rtl'] &&{right:unset;left:100%;transform:translate(12px,-50%);}"])}),(function(e){return"startTop"===e.$placement&&(0,r.AH)(["bottom:50%;justify-content:flex-end;right:100%;transform:translate(-12px,",");[dir='rtl'] &&{right:unset;left:100%;transform:translate(12px,",");}"],a,a)}),(function(e){return"startBottom"===e.$placement&&(0,r.AH)(["justify-content:flex-end;right:100%;top:50%;transform:translate(-12px,-",");[dir='rtl'] &&{right:unset;left:100%;transform:translate(12px,-",");}"],a,a)}),(function(e){return"end"===e.$placement&&(0,r.AH)(["justify-content:flex-start;left:100%;top:50%;transform:translate(12px,-50%);[dir='rtl'] &&{left:unset;right:100%;transform:translate(-12px,-50%);}"])}),(function(e){return"endTop"===e.$placement&&(0,r.AH)(["bottom:50%;justify-content:flex-start;left:100%;transform:translate(12px,",");[dir='rtl'] &&{left:unset;right:100%;transform:translate(-12px,",");}"],a,a)}),(function(e){return"endBottom"===e.$placement&&(0,r.AH)(["justify-content:flex-start;left:100%;top:50%;transform:translate(12px,-",");[dir='rtl'] &&{left:unset;right:100%;transform:translate(-12px,-",");}"],a,a)}))},90902:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var i=n(76578).Ay.span.withConfig({displayName:"Trigger",componentId:"sc-1q.mjssw-0"})(["display:inline-flex;position:relative;"])},27268:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var i=n(19484),o=n(59764),r=n(30758),a=n(97500),s=n(63382),c=n(435),l=n(72973),u=n(71397),d=n(43178),p=n(30171),h=n(76578),f=(0,h.Ay)(p.H).withConfig({displayName:"CloseButton",componentId:"sc-i2fggp-0"})(["position:absolute;top:4px;right:4px;[dir='rtl'] &{right:unset;left:4px;}"]),m=n(39751),_=n(85687),g=n(36498),E=n(24163),v=["arrow"],y=function(e){return e.$large?"600px":"296px"},b=h.Ay.div.withConfig({displayName:"Popover__StyledPopover",componentId:"sc-1iog353-0"})(["",";",";",";",";padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";text-transform:initial;overflow-wrap:break-word;"," &{pointer-events:all;}"],(function(e){return(0,m.Lw)({maxWidth:e.$large?"70vw":y(e),colorSet:e.$colorSet})}),(function(e){return e.$arrow&&(0,m.oV)(e.$arrow)}),(0,_.W)(),(function(e){return e.$large&&"inline-size: ".concat(y(e))}),(0,c.po)("base","16px"),(0,c.po)("base","16px"),(0,c.po)("looser","20px"),(function(e){return e.$paddedBody?"calc(".concat((0,c.po)("tighter","16px")," + ").concat((0,c.WU)("base","48px"),")"):(0,c.po)("looser","20px")}),g.hJ),S=r.forwardRef((function(e,t){var n=e.arrow,i=(0,o.A)(e,v);return n&&(0,E.PO)(n,"Popover"),r.createElement(b,Object.assign({ref:t,$arrow:(0,u.E)(n)},i))})),T=n(12783),A=(0,h.Ay)(T.E).attrs({forwardedAs:"h1",variant:"bodyMediumBold"}).withConfig({displayName:"Title",componentId:"sc-bugxpe-0"})(["padding-block-end:",";padding-inline-end:",";"],(0,c.po)("tighter-2","8px"),(0,c.po)("looser-3","48px")),I=["colorSet","popoverTitle","popoverTitleId","children","onClose","className","large","closeButtonAriaLabel","closeButtonRef"];function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var C=r.forwardRef((function(e,t){var n=e.colorSet,i=void 0===n?"base":n,u=e.popoverTitle,p=e.popoverTitleId,h=e.children,m=e.onClose,_=e.className,g=e.large,E=e.closeButtonAriaLabel,v=void 0===E?"Close":E,y=e.closeButtonRef,b=(0,o.A)(e,I);return r.createElement(S,Object.assign({ref:t,role:"dialog","aria-labelledby":p,$paddedBody:!(!m||u),className:a((0,c.W3)("bodySmall"),(0,l.Ju)(i,_)),$large:g,$colorSet:i},b,{"data-encore-id":s.j.Popover}),u&&r.createElement(A,{id:p},u),h,m&&r.createElement(f,{ref:y,onClick:m,"aria-label":v,type:"button",iconOnly:d.M}))})),R=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},u.G),N=Object.assign(C,R)},48697:(e,t,n)=>{"use strict";n.d(t,{W:()=>v});var i=n(19484),o=n(59764),r=n(30758),a=n(63382),s=n(83663),c=function(e,t){return!!(null!=t&&t.contains(e.target)||null!=t&&t.contains(e.composedPath()[0]))};var l=n(71397),u=n(38152),d=n(36498),p=n(24163),h=n(76578),f=["children","overlay","onHide","onShow","hideCloseButton","withPortal","placement","domNode"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var _=h.Ay.div.withConfig({displayName:"PopoverTrigger__PopoverTriggerContainer",componentId:"sc-yux5vv-0"})(["display:inline-flex;position:relative;"]),g=h.Ay.div.withConfig({displayName:"PopoverTrigger__TriggerContainer",componentId:"sc-yux5vv-1"})(["display:inline-flex;"]);var E=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},l.G),v=Object.assign((function(e){var t=e.children,n=e.overlay,i=e.onHide,h=void 0===i?function(){}:i,m=e.onShow,E=void 0===m?function(){}:m,v=e.hideCloseButton,y=e.withPortal,b=e.placement,S=e.domNode,T=(0,o.A)(e,f);b&&(0,p.PO)(b,"PopoverTrigger");var A=function(e){var t=e.overlay,n=e.onShow,i=e.onHide,o=e.withPortal,a=(0,r.useRef)(null),l=o&&(0,s.YY)()?(0,r.createRef)():null;return(0,r.useEffect)((function(){var e=function(e){t&&e.target instanceof Node&&!c(e,null==a?void 0:a.current)&&!c(e,(null==l?void 0:l.current)||null)&&i(e)};return window.addEventListener("click",e,!0),function(){window.removeEventListener("click",e,!0)}})),{triggerRef:a,overlayRef:l,onClick:function(e){t?i(e):n(e)},onKeyDown:function(e){switch(e.which){case 38:case 40:e.preventDefault(),t||n(e);break;case 27:t&&i(e)}}}}({overlay:n,onShow:E,onHide:h,withPortal:y}),I=A.triggerRef,O=A.overlayRef,C=A.onClick,R=function(e){27!==e.keyCode&&"Escape"!==e.code||h(e)};(0,r.useEffect)((function(){return window.addEventListener("keydown",R,!0),function(){window.removeEventListener("keydown",R,!0)}}));var N=null;return n&&"object"==typeof n&&(0,r.isValidElement)(n)&&(N=(0,r.cloneElement)(n,{onClose:v?void 0:C})),r.createElement(_,Object.assign({ref:I},T,{"data-encore-id":a.j.PopoverTrigger}),r.createElement(g,{onClick:C},t),n&&(y&&(0,s.YY)()&&"function"!=typeof I&&I.current?r.createElement(u.z,{overlayPosition:I.current.getBoundingClientRect(),closeOverlay:h,domNode:S},r.createElement(d.hJ,{ref:O,$placement:(0,l.E)(b)},N)):r.createElement(d.hJ,{ref:O,$placement:(0,l.E)(b)},N)))}),E)},75456:(e,t,n)=>{"use strict";n.d(t,{z:()=>p});var i=n(59764),o=n(30758),r=n(63382),a=n(72973),s=n(98184),c=n(76578),l=c.Ay.div.withConfig({displayName:"ProgressBarBackground",componentId:"sc-1q0p8ti-0"})(["background-color:",";block-size:6px;border-radius:",";"],(0,a.oj)(a.ZI.backgroundTintedBase),s.uV),u=c.Ay.div.attrs((function(e){return{style:{inlineSize:"".concat(e.$progressValue,"%")}}})).withConfig({displayName:"ProgressBarIndicator",componentId:"sc-1b6tcn5-0"})(["background-color:",";block-size:6px;border-radius:",";"],(function(e){return(0,a.oj)(e.$progressColor)}),s.uV),d=["value","semanticColor","color"],p=function(e){var t=e.value,n=void 0===t?0:t,a=e.semanticColor,s=void 0===a?"essentialBrightAccent":a,c=(e.color,(0,i.A)(e,d));return o.createElement(l,Object.assign({role:"progressbar","aria-valuenow":n,"aria-valuemin":"0","aria-valuemax":"100"},c,{"data-encore-id":r.j.ProgressBar}),o.createElement(u,{$progressValue:n,$progressColor:s}))}},16457:(e,t,n)=>{"use strict";n.d(t,{a3:()=>m});var i=n(59764),o=n(30758),r=n(63382),a=n(20424),s=n(72973),c=n(93019),l=n(60386),u=n(76578);const d=(0,u.Ay)(c.B).withConfig({displayName:"StyledProgressCircleSvg",componentId:"sc-121h923-0"})(["display:inline-block;",""],(function(e){var t,n=e.$variant,i=e.$circumference;return"determinate"===n?(0,l.AH)(["transform:rotate(-90deg);"]):(0,l.AH)(["animation:"," 1s linear infinite;"],(t=i,(0,l.i7)(["0%{stroke-dashoffset:",";transform:rotate(0deg);}25%{stroke-dashoffset:",";transform:rotate(270deg);}50%,100%{stroke-dashoffset:",";}100%{transform:rotate(360deg);}"],-.75*t,-.25*t,-.75*t)))}));var p=n(24163),h=["hasMinimumFill","semanticColor","size","showTrack","value","variant","aria-label","aria-labelledby","valuetext"],f=u.Ay.div.withConfig({displayName:"ProgressCircle__ProgressCircleContainer",componentId:"sc-1j82oe0-0"})(["display:inline-flex;"]),m=o.forwardRef((function(e,t){var n,c=e.hasMinimumFill,l=void 0===c||c,u=e.semanticColor,m=void 0===u?"textBase":u,_=e.size,g=void 0===_?"medium":_,E=e.showTrack,v=void 0===E||E,y=e.value,b=void 0===y?0:y,S=e.variant,T=void 0===S?"indeterminate":S,A=e["aria-label"],I=e["aria-labelledby"],O=e.valuetext,C=(0,i.A)(e,h),R=function(e){var t=(0,a.H)(e),n=function(e){switch(e){case"xsmall":return 1;case"xlarge":case"xxlarge":return 4;default:return 2}}(e),i=t/2-n;return{viewBox:t,cx:t/2,cy:t/2,r:i,strokeWidth:n,circumference:2*Math.PI*i,iconSize:"xsmall"===e?16:t}}(g),N="determinate"===T,P=function(e,t,n){var i;return"function"==typeof e?i=e(t):"string"==typeof e?i=e:n||(i="Loading"),n&&"string"==typeof e&&!e.includes(String(t))&&(0,p.R8)("The provided aria-valuetext does not include the current value, which is non-compliant with WCAG for determinate progress bars."),i}(O,b,N);return n=N?R.circumference*(l?function(e){return e<4?4:e>98?98:e}(b):b)/100:R.circumference,"indeterminate"===T&&b&&(0,p.R8)("Warning: No value should be passed when the variant is indeterminate. Please either remove the value prop or change the variant to determinate."),A||I||(0,p.R8)("ProgressCircle must have an aria-label or aria-labelledby attribute defined in order to be accessible."),o.createElement(f,Object.assign({role:"progressbar","aria-label":A,"aria-labelledby":I,"aria-valuetext":P,"aria-valuenow":N?b:"","aria-valuemin":N?0:void 0,"aria-valuemax":N?100:void 0,"data-encore-id":r.j.ProgressCircle,ref:t},C),o.createElement(d,{"data-testid":"progress-circle",viewBox:"0 0 ".concat(R.viewBox," ").concat(R.viewBox),$variant:T,$size:g,$circumference:R.circumference},o.createElement("g",{fill:"none"},v&&o.createElement("circle",{cx:R.cx,cy:R.cy,r:R.r,strokeWidth:R.strokeWidth,stroke:(0,s.oj)("decorativeSubdued"),"data-testid":"track"}),o.createElement("circle",{cx:R.cx,cy:R.cy,r:R.r,strokeWidth:R.strokeWidth,strokeDasharray:"".concat(n,", ").concat(R.circumference),stroke:(0,s.oj)(m),"data-testid":"filled-track"}))))}))},81431:(e,t,n)=>{"use strict";n.d(t,{U:()=>m});var i=n(59764),o=n(30758),r=n(63382),a=n(72973),s=n(60386),c=n(76578),l=(0,s.i7)(["0%{animation-timing-function:cubic-bezier(1,0,0.7,1);opacity:0.5;transform:scale(1);}40%{animation-timing-function:cubic-bezier(0.3,0,0,1);opacity:0.75;transform:scale(1.3);}72.5%{animation-timing-function:linear;opacity:0.5;transform:scale(1);}100%{opacity:0.5;transform:scale(1);}"]),u=c.Ay.circle.withConfig({displayName:"ProgressDot",componentId:"sc-734kfk-0"})(["fill:",";animation:"," 1.32s linear infinite;transform-origin:center;&:nth-of-type(2){animation-delay:0.1s;}&:nth-of-type(3){animation-delay:0.2s;}[dir='rtl'] &{&:nth-of-type(1){animation-delay:0.2s;}&:nth-of-type(3){animation-delay:0s;}}"],(0,a.oj)(a.ZI.essentialBase),l),d=n(31935),p=function(e){switch(e){case"small":return 56;case"medium":return 84;case"large":return 112;default:return(0,d.x)(e)}},h=c.Ay.svg.withConfig({displayName:"ProgressDotsSvg",componentId:"sc-18dhrwh-0"})(["content:'';block-size:","px;inline-size:","px;"],(function(e){return p(e.$size)/4.5}),(function(e){return p(e.$size)})),f=["size","role","ariaValueText"],m=o.forwardRef((function(e,t){var n=e.size,a=void 0===n?"small":n,s=e.role,c=void 0===s?"progressbar":s,l=e.ariaValueText,d=void 0===l?"Loading":l,p=(0,i.A)(e,f);return o.createElement(h,Object.assign({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 1 100",xmlSpace:"preserve",$size:a,role:c,"aria-valuetext":d,ref:t},p,{"data-encore-id":r.j.ProgressDots}),o.createElement(u,{stroke:"none",cx:"-140",cy:"50",r:"32"}),o.createElement(u,{stroke:"none",cx:"0",cy:"50",r:"32"}),o.createElement(u,{stroke:"none",cx:"140",cy:"50",r:"32"}))}))},24755:(e,t,n)=>{"use strict";n.d(t,{qb:()=>E,t:()=>g});var i=n(12867),o=n(59764),r=n(30758),a=n(63382),s=n(72973),c=n(31322),l=n(6826),u=n(39751),d=n(435),p=n(98184),h=n(76578),f=n(60386),m=h.Ay.div.withConfig({displayName:"Container",componentId:"sc-eij2zk-0"})(["",""],(function(e){var t=e.$colorSet,n=e.$isVisible;return(0,f.AH)([""," padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";overflow-wrap:break-word;text-align:center;position:fixed;overflow-x:hidden;text-overflow:ellipsis;z-index:",";transition:visibility ","ms linear,opacity ","ms ease-in-out;bottom:48px;.docs-story{position:absolute;}@media (max-width:","){left:8px;right:8px;}@media (min-width:","){transform:translateX(-50%);left:50%;}",""],(0,u.Lw)({maxWidth:"384px",colorSet:t}),(0,d.po)("tighter","12px"),(0,d.po)("tighter","12px"),(0,d.po)("looser-2","32px"),(0,d.po)("looser-2","32px"),p.Bd,g,g,l.eA,l.Dg,n?(0,f.AH)(["animation-fill-mode:forwards;visibility:visible;opacity:1;"]):(0,f.AH)(["visibility:hidden;opacity:0;"]))})),_=["onExited","colorSet","showSnackbar","className","children"],g=300,E=r.forwardRef((function(e,t){var n=e.onExited,l=e.colorSet,u=void 0===l?"base":l,d=e.showSnackbar,p=e.className,h=e.children,f=(0,o.A)(e,_),g=(0,r.useState)(!1),E=(0,i.A)(g,2),v=E[0],y=E[1];return void 0===d&&console.warn('Warning: If you are not conditionally rendering Snackbar within an aria-live region (wrapping element with role="status") the component will be inaccessible on Windows operating systems. Please use the showSnackbar prop to conditionally render Snackbar. For guidance on how to implement this, refer to our Snackbar Accessibility documentation: https://encore-web.spotify.net/?path=/docs/components-snackbar--accessibility'),(0,r.useEffect)((function(){if(void 0===d){y(!0);var e=setTimeout((function(){y(!1),n&&n()}),5e3);return function(){return clearTimeout(e)}}d?y(!0):(y(!1),n&&n())}),[d,n]),r.createElement("div",{role:"status"},r.createElement(m,Object.assign({ref:t,className:(0,s.Ju)(u,p),$colorSet:u,$isVisible:v,"data-encore-id":a.j.Snackbar},f),r.createElement(c.Z,{variant:"viola",semanticColor:"textBase"},h)))}))},50638:(e,t,n)=>{"use strict";n.d(t,{V:()=>T,c:()=>S});var i=n(59764),o=n(30758),r=n(97500),a=n(56504),s=n(10018),c=n(63382),l=n(73010),u=n(69737),d=n(85687),p=n(70277),h=n(435),f=n(72973),m=n(96364),_=n(20287),g=n(98184),E=n(76578),v=n(60386),y=E.Ay.button.withConfig({displayName:"TabItem__StyledTabItem",componentId:"sc-2ani5y-0"})(["",""],(function(e){var t=e.$isUsingKeyboard,n=e.$useBrowserDefaultFocusStyle;return(0,v.AH)(["",";",";display:inline-flex;align-items:center;gap:",";position:relative;min-block-size:",";padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";margin:0;color:",";white-space:nowrap;transition-property:background-color,color;transition-timing-function:",";&:hover{color:",";background-color:",";transition-duration:",";}&:active{color:",";background-color:",";transition-duration:",";}",";&::after{left:0;right:0;top:0;bottom:0;block-size:auto;inline-size:auto;}&::before{content:'';position:absolute;left:",";right:",";bottom:",";block-size:",";border-radius:",";transition:background-color "," ",";}&[aria-selected='true']{color:",";transition-timing-function:",";&::before{background-color:",";}}&[aria-disabled='true']{color:",";background-color:transparent;opacity:",";}"],(0,d.W)(),(0,p.y0)(n),(0,h.po)("tighter-2","8px"),(0,h.WU)("base","48px"),(0,h.po)("tighter-3","6px"),(0,h.po)("tighter-3","6px"),(0,h.po)("tighter","12px"),(0,h.po)("tighter","12px"),(0,f.oj)(f.ZI.textSubdued),m.qi,(0,f.oj)(f.ZI.textBase),(0,f.oj)(f.ZI.backgroundHighlight),m.yJ,(0,f.oj)(f.ZI.textBase),(0,f.oj)(f.ZI.backgroundPress),m.Z_,!n&&(0,_.X2)((0,h.AN)("base","4px"),t),(0,h.po)("tighter","12px"),(0,h.po)("tighter","12px"),(0,h.po)("tighter-3","6px"),(0,h.iX)("thin","2px"),(0,h.AN)("smaller","2px"),m.Z_,m.qi,(0,f.oj)(f.ZI.textBase),m.Hp,(0,f.oj)(f.ZI.essentialBrightAccent),(0,f.oj)(f.ZI.textBase),g.ok)})),b=["value","children","iconLeading","label","id","aria-controls","aria-disabled","onClick","onKeyDown","className"];function S(e){return"".concat(e,"-tab")}var T=o.forwardRef((function(e,t){var n=e.value,d=e.children,p=e.iconLeading,f=e.label,m=e.id,_=e["aria-controls"],g=e["aria-disabled"],E=e.onClick,v=e.onKeyDown,T=e.className,A=(0,i.A)(e,b),I=p,O=(0,o.useContext)(a.g).useBrowserDefaultFocusStyle,C=(0,o.useContext)(s.E).isUsingKeyboard,R=(0,o.useContext)(l.w),N=R.selectedTabItem,P=R.handleClick,L=R.tabItems,k=S(n),w=N===k;return o.createElement(y,Object.assign({ref:function(e){e&&L?L.set(k,e):L&&L.delete(k),t&&("function"==typeof t?t(e):t.current=e)},className:r((0,h.W3)("bodySmallBold"),T),"data-encore-id":c.j.TabItem,tabIndex:w?void 0:-1,role:"tab",type:"button",id:null!=m?m:k,"aria-controls":null!=_?_:"".concat(n,"-panel"),"aria-disabled":g,$useBrowserDefaultFocusStyle:O,$isUsingKeyboard:C,"aria-selected":w,onClick:g?void 0:function(e){return P(e,k,E)},onKeyDown:function(e){e.key!==u.t6&&e.key!==u.Fm||e.preventDefault(),v&&v(e)},"data-encore-tab-id":k},A),d||o.createElement(o.Fragment,null,I&&o.createElement(I,{size:"small"}),f))}))},65538:(e,t,n)=>{"use strict";n.d(t,{w:()=>v});var i=n(12867),o=n(59764),r=n(30758),a=n(63382),s=n(73010),c=n(6826),l=n(85687),u=n(435),d=n(72973),p=n(76578),h=n(60386),f=p.Ay.div.withConfig({displayName:"TabList__Container",componentId:"sc-pe7kgz-0"})(["position:relative;"]),m=p.Ay.div.withConfig({displayName:"TabList__StyledTabList",componentId:"sc-pe7kgz-1"})(["",""],(function(e){var t=e.$contentAlign,n=e.$showStartOverflow,i=e.$showEndOverflow;return(0,h.AH)(["",";"," display:flex;overflow-x:auto;position:relative;align-content:center;@media (max-width:","){&::before{background:linear-gradient(270deg,transparent,"," 75%);content:'';display:block;min-block-size:",";min-inline-size:",";margin-inline-end:calc(-1 * ",");position:sticky;z-index:1;inset-inline-start:0;inset-block-end:0;opacity:0;transition:opacity 0.3s;pointer-events:none;","}&::after{background:linear-gradient(90deg,transparent,"," 75%);content:'';display:block;min-block-size:",";min-inline-size:",";margin-inline-start:calc(-1 * ",");position:sticky;z-index:1;inset-inline-end:0;inset-block-end:0;opacity:0;transition:opacity 0.3s;pointer-events:none;","}}&::-webkit-scrollbar{display:none;}"],(0,l.W)(),t&&(0,h.AH)(["margin-inline-start:calc(-1 * ",");"],(0,u.po)("tighter","12px")),c.en,(0,d.oj)("backgroundBase"),(0,u.WU)("base","48px"),(0,u.WU)("base","48px"),(0,u.WU)("base","48px"),n&&(0,h.AH)(["opacity:1;"]),(0,d.oj)("backgroundBase"),(0,u.WU)("base","48px"),(0,u.WU)("base","48px"),(0,u.WU)("base","48px"),i&&(0,h.AH)(["opacity:1;"]))})),_=n(4297),g=n(83663),E=["children","onKeyDown","contentAlign"],v=r.forwardRef((function(e,t){var n=e.children,c=e.onKeyDown,l=e.contentAlign,d=(0,o.A)(e,E),p=(0,r.useRef)(null),h=(0,r.useContext)(s.w).handleKeyDown,v=(0,r.useState)(!1),y=(0,i.A)(v,2),b=y[0],S=y[1],T=(0,r.useState)(!1),A=(0,i.A)(T,2),I=A[0],O=A[1],C=(0,r.useCallback)((function(){if(p.current){var e=Math.abs(p.current.scrollLeft),t=p.current.offsetWidth,n=p.current.scrollWidth,i=parseInt(u.B6.medium,10);S(e>i),O(e+t+i<n)}}),[p]),R=function(e){if(p.current){var t,n=p.current.scrollLeft,i=p.current.offsetWidth,o="start"===e?n-i/1.25:n+i/1.25;null===(t=p.current)||void 0===t||t.scrollTo({left:o,behavior:"smooth"})}};(0,r.useEffect)((function(){return window.addEventListener("resize",C),C(),function(){return window.removeEventListener("resize",C)}}),[C]);var N=(0,g.Pv)(p);return r.createElement(f,null,r.createElement(_.D,{position:"start",show:b,onClick:function(){return R(N?"start":"end")}}),r.createElement(m,Object.assign({"data-encore-id":a.j.TabList,role:"tablist",ref:(0,g.Px)([p,t]),onScroll:C,onKeyDown:function(e){return h(e,c)},$showStartOverflow:b,$showEndOverflow:I,$contentAlign:l},d),n),r.createElement(_.D,{position:"end",show:I,onClick:function(){return R(N?"end":"start")}}))}))},14854:(e,t,n)=>{"use strict";n.d(t,{K:()=>g});var i=n(59764),o=n(30758),r=n(97500),a=n(63382),s=n(50638),c=n(73010),l=n(20287),u=n(435),d=n(76578),p=n(60386),h=d.Ay.div.withConfig({displayName:"TabPanel__StyledTabPanel",componentId:"sc-fifj60-0"})(["",""],(function(e){var t=e.$isUsingKeyboard,n=e.$useBrowserDefaultFocusStyle;return(0,p.AH)(["",";"],!n&&(0,l.X2)((0,u.AN)("larger-2","8px"),t))})),f=n(56504),m=n(10018),_=["value","children","id","aria-labelledby","className"];var g=o.forwardRef((function(e,t){var n=e.value,l=e.children,d=e.id,p=e["aria-labelledby"],g=e.className,E=(0,i.A)(e,_),v=(0,o.useContext)(m.E).isUsingKeyboard,y=(0,o.useContext)(f.g).useBrowserDefaultFocusStyle,b=(0,o.useContext)(c.w),S=b.selectedTabItem,T=b.tabPanel,A=(0,s.c)(n);return void 0===S||S===A?o.createElement(h,Object.assign({ref:function(e){e&&T?function(e){return e.querySelectorAll(["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])"].join(", ")).length>0}(e)||T.set(A,e):T&&T.delete(A),t&&("function"==typeof t?t(e):t.current=e)},className:r((0,u.W3)("bodyMedium"),g),"data-encore-id":a.j.TabPanel,tabIndex:-1,role:"tabpanel",id:null!=d?d:"".concat(n,"-panel"),"aria-labelledby":null!=p?p:A,$isUsingKeyboard:v,$useBrowserDefaultFocusStyle:y},E),l):null}))},22400:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var i=n(30758),o=n(63382),r=n(76578).Ay.table.withConfig({displayName:"Table__TableElement",componentId:"sc-evwssh-0"})(["max-inline-size:100%;inline-size:100%;text-align:start;border-collapse:collapse;overflow-wrap:break-word;"]),a=i.forwardRef((function(e,t){return i.createElement(r,Object.assign({ref:t},e,{"data-encore-id":o.j.Table}))}))},50379:(e,t,n)=>{"use strict";n.d(t,{n:()=>E});var i=n(59764),o=n(30758),r=n(97500),a=n(63382),s=n(6826),c=n(85687),l=n(435),u=n(72973),d=n(60386),p=n(12111),h=n(93019),f=n(36498),m=n(90902),_=n(76578).Ay.td.withConfig({displayName:"TableCell__TableCellElement",componentId:"sc-1nn7cfv-0"})(["",";font-feature-settings:",";text-align:",";vertical-align:middle;padding:",";color:",";&:first-child{@media (max-width:","){padding-inline-start:",";}}&:last-child{@media (max-width:","){padding-inline-end:",";}}&:focus{outline:none;color:",";font-weight:700;}",";> ",",> ",",> "," span:not(",") ","{position:relative;top:3px;}"],(0,c.W)(),(function(e){return e.$numerical?"'tnum'":void 0}),(function(e){return"left"===e.$align?"start":"right"===e.$align?"end":e.$align}),(function(e){return e.$condensed?0:(0,l.po)("tighter","12px")}),(function(e){return e.$highlight?(0,u.oj)(u.ZI.textBase):"inherit"}),s.en,(function(e){return e.$condensed?0:(0,l.po)("tighter-4","4px")}),s.en,(function(e){return e.$condensed?0:(0,l.po)("tighter-4","4px")}),(0,u.oj)(u.ZI.textBase),(function(e){return e.$truncate&&(0,d.AH)(["",";max-inline-size:0;inline-size:100%;@media (min-width:","){max-inline-size:150px;inline-size:auto;}@media (min-width:",") and (max-width:","){max-inline-size:85px;inline-size:auto;}"],(0,d.AH)(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),s.e4,s.Dg,s.HT)}),h.B,p.$,m.l,f.hJ,p.$),g=["align","highlight","truncate","numerical","condensed"],E=(0,o.forwardRef)((function(e,t){var n=e.align,s=void 0===n?"start":n,c=e.highlight,u=e.truncate,d=e.numerical,p=e.condensed,h=(0,i.A)(e,g);return o.createElement(_,Object.assign({ref:t,$align:s,$highlight:c,$truncate:u,$numerical:d,$condensed:p},h,{className:r((0,l.W3)(c?"bodySmallBold":"bodySmall"),h.className),"data-encore-id":a.j.TableCell}))}))},9524:(e,t,n)=>{"use strict";n.d(t,{K:()=>_});var i=n(12867),o=n(59764),r=n(30758),a=n(6826),s=n(72973),c=n(26052),l=n(60386),u=n(76578),d=function(){return(0,l.AH)(["@media screen and (max-width:","){display:block;inline-size:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;}"],a.en)},p=function(){return(0,l.AH)(["overflow:auto;max-block-size:100%;","{background-color:",";position:sticky;z-index:1;top:0;",";}"],c.u,(0,s.oj)(s.ZI.backgroundBase),(function(e){return e.$isSticky&&(0,l.AH)(["box-shadow:-3px 0 0 ",",3px 0 0 ",",0 1px 6px ",";"],(0,s.oj)(s.ZI.backgroundBase),(0,s.oj)(s.ZI.backgroundBase),(0,s.oj)(s.ZI.backgroundTintedBase))}))},h=u.Ay.div.withConfig({displayName:"TableContainer__Container",componentId:"sc-86p3fa-0"})(["",";",";"],(function(e){return e.$responsive&&d}),(function(e){return e.$stickyHeader&&p})),f=n(63382),m=["responsive","stickyHeader"],_=function(e){var t=e.responsive,n=e.stickyHeader,a=(0,o.A)(e,m),s=(0,r.useState)(!1),c=(0,i.A)(s,2),l=c[0],u=c[1];return r.createElement(h,Object.assign({$responsive:t,$stickyHeader:n,onScroll:function(e){return u(e.target instanceof HTMLElement&&0!==e.target.scrollTop)},$isSticky:l},a,{"data-encore-id":f.j.TableContainer}))}},26052:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var i=n(6826),o=n(85687),r=n(72973),a=n(435),s=n(76578),c=n(60386),l=s.Ay.th.withConfig({displayName:"TableHeaderCell__TableHeaderCellElement",componentId:"sc-16kf5kl-0"})(["",";color:",";padding:",";text-align:",";vertical-align:bottom;&:first-child{@media (max-width:","){padding-inline-start:",";}}&:last-child{@media (max-width:","){padding-inline-end:",";}}",";",";"],(0,o.W)(),(function(e){return e.$active?(0,r.oj)(r.ZI.textBase):(0,r.oj)(r.ZI.textSubdued)}),(0,a.po)("tighter","12px"),(function(e){return"left"===e.$align?"start":"right"===e.$align?"end":e.$align}),i.en,(0,a.po)("tighter-4","4px"),i.en,(0,a.po)("tighter-4","4px"),(function(e){return e.$selectable&&(0,c.AH)(["cursor:default;&:hover{color:",";}"],(0,r.oj)(r.ZI.textBase))}),(function(e){return e.$isHover&&(0,c.AH)(["color:",";"],(0,r.oj)(r.ZI.textBase))}))},65203:(e,t,n)=>{"use strict";n.d(t,{M:()=>v});var i=n(59764),o=n(30758),r=n(97500),a=n(63382),s=n(19484),c=n(30171),l=n(96554),u=n(3869),d=n(26052),p=["align","scope","sortedByDirection","iconPlacement","sortable","onClick","children"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,s.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){var t=e.currentButtonIconProp,n=e.iconPlacement,i=e.sortedByDirection;if("none"!==i)return n===t?"ascending"===i?u.J:l.y:void 0}var _=function(e){var t=e.align,n=e.scope,r=e.sortedByDirection,a=e.iconPlacement,s=void 0===a?"trailing":a,l=e.sortable,u=e.onClick,h=e.children,_=(0,i.A)(e,p),g=f("none"!==r?{"aria-sort":r}:{},_);return o.createElement(d.u,Object.assign({role:"columnheader",$active:"none"!==r,$align:t,scope:n,$sortable:l},g),o.createElement(c.H,{onClick:u,size:"small",semanticColor:"textBase",condensedAll:!0,iconLeading:m({currentButtonIconProp:"leading",iconPlacement:s,sortedByDirection:r}),iconTrailing:m({currentButtonIconProp:"trailing",iconPlacement:s,sortedByDirection:r}),type:"button"},h))},g=n(435),E=["align","scope","isHover","active","selectable"],v=function(e){var t=e.align,n=void 0===t?"start":t,s=e.scope,c=void 0===s?"col":s,l=e.isHover,u=e.active,p=e.selectable,h=(0,i.A)(e,E);return h.sortable?o.createElement(_,Object.assign({align:n,scope:c},h,{isHover:l,className:r((0,g.W3)("bodySmallBold"),h.className),"data-encore-id":a.j.TableHeaderCell})):o.createElement(d.u,Object.assign({$align:n,$active:u,scope:c},h,{$isHover:l,$selectable:p,className:r((0,g.W3)("bodySmallBold"),h.className),"data-encore-id":a.j.TableHeaderCell}))}},56223:(e,t,n)=>{"use strict";n.d(t,{H:()=>p});var i=n(59764),o=n(30758),r=n(63382),a=n(72973),s=n(60386),c=n(76578),l=(0,s.AH)(["outline:none;border:3px solid ",";"],(0,a.oj)(a.ZI.essentialBase)),u=c.Ay.tr.withConfig({displayName:"TableRow__TableRowElement",componentId:"sc-1kuhzdh-0"})(["border-bottom:1px solid ",";color:",";",";",";",";&:focus{","}"],(0,a.oj)(a.ZI.decorativeSubdued),(0,a.oj)(a.ZI.textSubdued),(function(e){return e.$hover&&(0,s.AH)(["cursor:default;&:hover{background-color:",";border-bottom:1px solid ",";color:",";}"],(0,a.oj)(a.ZI.backgroundTintedHighlight),(0,a.oj)(a.ZI.decorativeSubdued),(0,a.oj)(a.ZI.textBase))}),(function(e){return e.$select&&(0,s.AH)(["background-color:",";border-bottom:1px solid ",";color:",";"],(0,a.oj)(a.ZI.backgroundTintedHighlight),(0,a.oj)(a.ZI.decorativeSubdued),(0,a.oj)(a.ZI.textBase))}),(function(e){return e.$isFocus&&l}),l),d=["hover","isFocus","select"],p=(0,o.forwardRef)((function(e,t){var n=e.hover,a=e.isFocus,s=e.select,c=(0,i.A)(e,d);return o.createElement(u,Object.assign({ref:t,$hover:n,$isFocus:a,$select:s},c,{"data-encore-id":r.j.TableRow}))}))},73010:(e,t,n)=>{"use strict";n.d(t,{t:()=>h,w:()=>p});var i=n(12867),o=n(59764),r=n(30758),a=n(50638),s=n(69737),c=n(63382),l=n(83663),u=["currentTab","onTabChange","children"],d={tabItems:void 0,tabPanel:void 0,selectedTabItem:void 0,handleKeyDown:function(){},handleClick:function(){}},p=(0,r.createContext)(d),h=r.forwardRef((function(e,t){var n=e.currentTab,d=e.onTabChange,h=e.children,f=(0,o.A)(e,u),m=n?(0,a.c)(n):"",_=(0,r.useState)(m),g=(0,i.A)(_,2),E=g[0],v=g[1],y=(0,r.useState)(void 0),b=(0,i.A)(y,2),S=b[0],T=b[1],A=(0,r.useState)(void 0),I=(0,i.A)(A,2),O=I[0],C=I[1],R=(0,r.useRef)(null);return(0,r.useEffect)((function(){v(m)}),[m]),(0,r.useEffect)((function(){if(!S&&R.current){var e=new Map;T(e)}}),[S,R]),(0,r.useEffect)((function(){if(!O&&R.current){var e=new Map;C(e)}}),[O,R]),(0,r.useEffect)((function(){if(S&&!E){var e=S.keys().next().value,t=n?"".concat(n,"-tab"):e;v(t)}}),[S,n,E]),r.createElement(p.Provider,{value:{tabItems:S,tabPanel:O,selectedTabItem:E,handleKeyDown:function(e,t){if(t&&t(e),S){var n=(0,s.WA)(document.activeElement),i=(0,s.Dx)(n,S);switch(e.key){case s.UQ:case s.LE:e.preventDefault();var o=(0,s.g0)(e,i,null==S?void 0:S.size),r=(0,s.dG)(S,o);return null==r||r.focus(),void(null==r||r.scrollIntoView({block:"nearest",inline:"center",behavior:"smooth"}));case s.n6:if(E){var a=null==O?void 0:O.get(E);a&&(e.preventDefault(),a.focus())}return;case s.t6:case s.Fm:var c=(0,s.WA)(e.target);if("true"===e.target.getAttribute("aria-disabled"))return;if(c===E)return;if(v(c),d){var l=(0,s.Dx)(c,S);d(c,l)}return;default:return}}},handleClick:function(e,t,n){var i;if(v(t),null===(i=e.target)||void 0===i||i.scrollIntoView({block:"nearest",inline:"center",behavior:"smooth"}),d&&S){var o=(0,s.Dx)(t,S);d(t,o)}n&&n(e)}}},r.createElement("div",Object.assign({ref:(0,l.Px)([R,t]),"data-encore-id":c.j.Tabs},f),h))}))},69737:(e,t,n)=>{"use strict";n.d(t,{Dx:()=>u,Fm:()=>s,LE:()=>o,UQ:()=>i,WA:()=>c,dG:()=>l,g0:()=>d,n6:()=>r,t6:()=>a});n(30758),n(78495);var i="ArrowLeft",o="ArrowRight",r="ArrowDown",a=" ",s="Enter";function c(e){var t;return e&&null!==(t=e.getAttribute("data-encore-tab-id"))&&void 0!==t?t:""}function l(e,t){var n=Array.from(e.keys())[t];return e.get(n)}function u(e,t){return Array.from(null==t?void 0:t.keys()).findIndex((function(t){return t===e}))}function d(e,t,n){var r=0;switch(e.key){case i:return r=t-1<0?n-1:t-1;case o:return r=t+1>=n?0:t+1;default:return r}}},61028:(e,t,n)=>{"use strict";n.d(t,{b:()=>g});var i=n(59764),o=n(30758),r=n(72973),a=n(98184),s=n(85687),c=n(435),l=n(20287),u=n(75936),d=n(25108),p=n(20323),h=n(76578),f=n(60386),m=["component","active","focus","hover","colorSet","fallbackSet","isUsingKeyboard"],_=["colorSet","fallbackSet"],g=(0,h.Ay)((function(e){var t=e.component,n=void 0===t?"span":t,r=(e.active,e.focus,e.hover,e.colorSet,e.fallbackSet,e.isUsingKeyboard,(0,i.A)(e,m));return o.createElement(n,r)})).withConfig({displayName:"Tag__TagElement",componentId:"sc-15ycdu9-0"})(["",""],(function(e){var t=e.colorSet,n=e.fallbackSet,o=(0,i.A)(e,_),h=t?(0,r.oj)(r.ZI.backgroundBase,n.background.base):(0,r.oj)(r.ZI.backgroundTintedBase,n.background.tinted.base),m="\n ".concat(d.d," {\n background-color: ").concat(h,";\n }\n ").concat(p.y," {\n background-color: ").concat((0,r.oj)(r.ZI.backgroundBase,n.background.base),";\n }\n ").concat(d.d,", ").concat(p.y," {\n color: ").concat((0,r.oj)(r.ZI.textBase,n.text.base),";\n opacity: ").concat(a.ok,";\n }\n ").concat(u.J," {\n border-color: transparent;\n }\n "),g="mutedAccent"===t?(0,r.oj)(r.ZI.backgroundHighlight,n.background.highlight):(0,r.oj)(r.ZI.backgroundTintedHighlight,n.background.tinted.highlight),E="\n ".concat(d.d," {\n background-color: ").concat(g,";\n color: ").concat((0,r.oj)(r.ZI.textBase,n.text.base),";\n }\n ").concat(p.y," {\n background-color: ").concat((0,r.oj)(r.ZI.backgroundHighlight,n.background.highlight),";\n color: ").concat((0,r.oj)(r.ZI.textBase,n.text.base),";\n }\n "),v="mutedAccent"===t?(0,r.oj)(r.ZI.backgroundPress,n.background.press):(0,r.oj)(r.ZI.backgroundTintedPress,n.background.tinted.press),y="\n ".concat(d.d," {\n background-color: ").concat(v,";\n color: ").concat((0,r.oj)(r.ZI.textSubdued,n.text.subdued),";\n }\n ").concat(p.y," {\n background-color: ").concat((0,r.oj)(r.ZI.backgroundPress,n.background.press),";\n color: ").concat((0,r.oj)(r.ZI.textBase,n.text.base),";\n }\n "),b="\n outline: none;\n\n ".concat(u.J," {\n border-color: ").concat((0,r.oj)(r.ZI.essentialBase,n.essential.base),"\n }\n ");return(0,f.AH)(["",";position:relative;display:inline-block;transition:box-shadow 0.2s,transform 0.2s;align-self:center;flex-shrink:0;overflow-wrap:break-word;&:not(:last-child){margin-inline-end:",";}","{transition:border-color "," ",";}"," &[href]:hover{",";}&[href]:active{",";}&[href]:focus{",";}&[disabled],&[aria-disabled='true']{","}&&{"," "," "," ","}"],(0,s.W)(),(0,c.po)("tighter-2","8px"),u.J,l.y5,l.g5,"button"===o.component&&(0,f.AH)(["&:hover{",";}&:active{",";}&:focus{",";}"],E,y,o.isUsingKeyboard&&b),E,y,o.isUsingKeyboard&&b,m,"\n &[href],\n &[href]:focus,\n &[href]:hover {\n text-decoration: none;\n box-shadow: none;\n }\n ",o.hover&&E,o.active&&y,o.focus&&o.isUsingKeyboard&&b)}))},75936:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});var i=n(20287),o=n(435),r=n(76578).Ay.div.withConfig({displayName:"TagFocus",componentId:"sc-oozknb-0"})([""," display:block;position:absolute;pointer-events:none;background:transparent;border:","px solid transparent;border-radius:",";box-sizing:border-box;"],(0,i.gx)(),i.tp,(0,o.AN)("larger-2","8px"))},25108:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var i=n(72973),o=n(435),r=n(76578),a=n(60386),s=r.Ay.div.withConfig({displayName:"TagInner",componentId:"sc-1uxwtix-0"})(["",""],(function(e){var t=e.$colorSet,n=e.$fallbackSet,r=t?(0,i.oj)(i.ZI.backgroundBase,n.background.base):(0,i.oj)(i.ZI.backgroundTintedBase,n.background.tinted.base);return(0,a.AH)(["background-color:",";color:",";padding-block-start:",";padding-inline-end:",";padding-block-end:",";padding-inline-start:",";border-radius:",";transition:background-color 0.2s,color 0.2s;"],r,(0,i.oj)(i.ZI.textBase,n.text.base),(0,o.po)("tighter-4","4px"),(0,o.po)("tighter-2","8px"),(0,o.po)("tighter-4","4px"),(0,o.po)("tighter-2","8px"),(0,o.AN)("base","4px"))}))},20323:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var i=n(72973),o=n(25108),r=n(76578),a=n(60386),s=(0,r.Ay)(o.d).withConfig({displayName:"TagInnerSelected",componentId:"sc-19i8max-0"})(["",""],(function(e){var t=e.$fallbackSet;return(0,a.AH)(["background-color:",";color:",";"],(0,i.oj)(i.ZI.backgroundBase,t.background.base),(0,i.oj)(i.ZI.textBase,t.text.base))}))},27968:(e,t,n)=>{"use strict";n.d(t,{v:()=>_});var i=n(59764),o=n(30758),r=n(97500),a=n(10018),s=n(63382),c=n(24163),l=n(72973),u=n(435),d=n(61028),p=n(75936),h=n(25108),f=n(20323),m=["colorSet","selectedColorSet","selected","children","color","className"],_=function(e){var t=e.colorSet,n=e.selectedColorSet,_=e.selected,g=e.children,E=(e.color,e.className),v=(0,i.A)(e,m);_&&(0,c.Ho)("selected","Tag","Please use the Chip component with a selected prop instead."),n&&(0,c.Ho)("selectedColorSet","Tag","Please use the Chip component with a selectedColorSet prop instead.");var y=(0,o.useContext)(a.E).isUsingKeyboard,b=_?f.y:h.d,S=_?n||"invertedDark":t,T=l.zQ[S||l.kR];return o.createElement(d.b,Object.assign({},v,{colorSet:S,fallbackSet:T,isUsingKeyboard:y,"data-encore-id":s.j.Tag}),o.createElement(b,{className:r((0,u.W3)("marginalBold"),(0,l.Ju)(S,E)),$colorSet:S,$fallbackSet:T},g),o.createElement(p.J,null))}},12783:(e,t,n)=>{"use strict";n.d(t,{E:()=>p});var i=n(19484),o=n(59764),r=n(30758),a=n(97500),s=n(63382),c=n(435),l=["color","semanticColor","paddingBottom","variant","className","as"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=r.forwardRef((function(e,t){e.color;var n=e.semanticColor,i=e.paddingBottom,u=e.variant,p=void 0===u?"bodyMedium":u,h=e.className,f=e.as,m=(0,o.A)(e,l),_=f||"span",g=!(0,c.rn)(i)&&{paddingBlockEnd:i};return r.createElement(_,Object.assign({className:a("encore-text",(0,c.W3)(p),n&&(0,c.aG)(n),(0,c.rn)(i)&&(0,c.vq)(i),h),ref:t,"data-encore-id":s.j.Text,style:d({},g)},m))}))},10669:(e,t,n)=>{"use strict";n.d(t,{N_:()=>b,T7:()=>f});var i=n(59764),o=n(30758),r=n(20287),a=n(72973),s=n(98184),c=n(85687),l=n(70277),u=n(60386),d=n(76578),p=["component","isUsingKeyboard","useBrowserDefaultFocusStyle","isHover","isFocus","isActive","standalone","semanticColor"],h=function(e){var t=e.color;return(0,u.AH)(["text-decoration:underline;color:",";"],t)},f=(0,u.AH)(["box-shadow:",";transition:box-shadow "," ",";&&{text-decoration:none;}"],"0 3px 0 0",r.y5,r.g5),m=(0,u.AH)(["color:",";"],(0,a.oj)(a.ZI.textBrightAccent)),_=(0,u.AH)(["color:",";opacity:",";cursor:not-allowed;"],(0,a.oj)(a.ZI.textSubdued),s.ok),g=function(e){var t=e.semanticColor;return(0,u.AH)(["text-decoration:underline;color:",";"],(0,a.oj)(t||a.ZI.textSubdued))},E=(0,u.AH)(["color:",";"],(0,a.oj)(a.ZI.textBase)),v=function(e){var t=e.semanticColor;return(0,u.AH)(["text-decoration:underline;color:",";"],(0,a.oj)(t||a.ZI.textBase))},y=(0,u.AH)(["text-decoration:none;"]),b=(0,d.Ay)(o.forwardRef((function(e,t){var n=e.component,r=(e.isUsingKeyboard,e.useBrowserDefaultFocusStyle,e.isHover,e.isFocus,e.isActive,e.standalone,e.semanticColor,(0,i.A)(e,p));return o.createElement(n,Object.assign({},r,{ref:t}))}))).withConfig({displayName:"Link",componentId:"sc-k8gsk-0"})(["",";",";"," align-items:center;text-decoration:none;&[href],&:hover:not([disabled]){text-decoration:underline;}&[href]:hover{",";}"," &[href]:active{",";}&&{",";",";",";}&[disabled],&[href][disabled],&[aria-disabled='true']{",";}",""],(0,c.W)(),(function(e){return"button"===e.component&&(0,u.AH)(["",";font-family:inherit;font-size:inherit;&:focus{","}"],(0,l.y0)(e.useBrowserDefaultFocusStyle),e.isUsingKeyboard&&!e.useBrowserDefaultFocusStyle&&f)}),(function(e){return e.semanticColor?(0,u.AH)(["color:",";"],(0,a.oj)(e.semanticColor)):(0,u.AH)(["color:inherit;"])}),(function(e){return e.semanticColor?h({color:(0,a.oj)(e.semanticColor)}):h({color:(0,a.oj)(a.ZI.textBrightAccent)})}),(function(e){return!e.useBrowserDefaultFocusStyle&&(0,u.AH)(["&[href]:focus{outline:none;",";}"],e.isUsingKeyboard&&f)}),m,(function(e){return e.isHover&&(e.semanticColor?h({color:(0,a.oj)(e.semanticColor)}):h({color:(0,a.oj)(a.ZI.textBrightAccent)}))}),(function(e){return e.isFocus&&!e.useBrowserDefaultFocusStyle&&f}),(function(e){return e.isActive&&m}),_,(function(e){return e.standalone&&(0,u.AH)(["color:",";display:inline-flex;&,&[href]{text-decoration:none;}&[href]:focus{text-decoration:none;",";}&[href]:active{",";}&[href]:hover,&[href]:hover:focus{",";}&&{",";",";",";}&[disabled],&[href][disabled],&[aria-disabled='true']{",";}"],e.semanticColor?(0,a.oj)(e.semanticColor):(0,a.oj)(a.ZI.textSubdued),e.isUsingKeyboard&&E,v({semanticColor:e.semanticColor}),g({semanticColor:e.semanticColor}),e.isHover&&g({semanticColor:e.semanticColor}),e.isFocus&&E,e.isActive&&v({semanticColor:e.semanticColor}),y)}))},78495:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var i=n(59764),o=n(30758),r=n(56504),a=n(10018),s=n(63382),c=n(10669),l=["children","color","semanticColor","component","href","disabled","role"],u=o.forwardRef((function(e,t){var n=e.children,u=e.color,d=e.semanticColor,p=e.component,h=void 0===p?"a":p,f=e.href,m=e.disabled,_=e.role,g=(0,i.A)(e,l),E=(0,o.useContext)(a.E).isUsingKeyboard,v=(0,o.useContext)(r.g).useBrowserDefaultFocusStyle;return o.createElement(c.N_,Object.assign({component:h,isUsingKeyboard:E,useBrowserDefaultFocusStyle:v,color:u,semanticColor:d,ref:t,href:m?void 0:f,disabled:m,"aria-disabled":m,role:m&&"button"!==h?"link":_},g,{"data-encore-id":s.j.TextLink}),n)}))},54555:(e,t,n)=>{"use strict";n.d(t,{m:()=>v,T:()=>E});var i=n(59764),o=n(30758),r=n(63382),a=n(85687),s=n(39751),c=n(75834),l=n(435),u=n(72973),d=n(12867),p=n(73217),h=["colorSet","placement","className","id","trigger","label","description","aria-label","withPortal"],f=o.forwardRef((function(e,t){e.colorSet;var n=e.placement,r=(e.className,e.id),a=e.trigger,s=e.label,c=e.description,l=e["aria-label"],u=e.withPortal,f=(0,i.A)(e,h),m=(0,o.useState)(!1),_=(0,d.A)(m,2),g=_[0],v=_[1],y={};return s&&(y["aria-labelledby"]=r),c&&(y["aria-label"]=l,y["aria-describedby"]=r),o.createElement(p.k,{overlay:o.createElement(E,Object.assign({ref:t,id:r,$isVisible:g,"aria-hidden":!0},f),s||c),onShow:function(){return v(!0)},onHide:function(){return v(!1)},placement:n,withPortal:u},a(y))})),m=n(76578),_=n(60386),g=["colorSet","className","isVisible"],E=m.Ay.div.withConfig({displayName:"Tooltip__TooltipWrapper",componentId:"sc-muq3yw-0"})(["",""],(function(e){var t=e.$isVisible;return(0,_.AH)(["",";",";",";padding-block-start:",";padding-block-end:",";padding-inline-start:",";padding-inline-end:",";text-transform:initial;color:var(--text-base,",");overflow-wrap:break-word;opacity:",";"],(0,a.W)(),(0,s.Lw)({maxWidth:"240px"}),(0,c.C5)(),(0,l.po)("tighter-2","8px"),(0,l.po)("tighter-2","8px"),(0,l.po)("tighter","12px"),(0,l.po)("tighter","12px"),u.Jl.text.base,t?1:0)})),v=o.forwardRef((function(e,t){var n=e.colorSet,a=void 0===n?"base":n,s=e.className,c=e.isVisible,l=void 0===c||c,d=(0,i.A)(e,g);return d.trigger?o.createElement(f,Object.assign({ref:t,className:(0,u.Ju)(a,s),role:"tooltip","data-encore-id":r.j.Tooltip},d)):o.createElement(E,Object.assign({$isVisible:l,ref:t,className:(0,u.Ju)(a,s),role:"tooltip","data-encore-id":r.j.Tooltip},d))}))},73217:(e,t,n)=>{"use strict";n.d(t,{k:()=>A});var i=n(19484),o=n(59764),r=n(30758),a=n(63382),s=n(71397),c=n(38152),l=n(36498),u=n(90902),d=n(24163),p=n(83663),h=["children","overlay","placement","withPortal","closeOverlay","domNode"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var m=r.forwardRef((function(e,t){var n=e.children,i=e.overlay,f=e.placement,m=e.withPortal,_=e.closeOverlay,g=e.domNode,E=(0,o.A)(e,h);return f&&(0,d.PO)(f,"OverlayTrigger"),r.createElement(u.l,Object.assign({},E,{ref:t,"data-encore-id":a.j.OverlayTrigger}),n,i&&(m&&(0,p.YY)()&&"function"!=typeof t&&null!=t&&t.current?r.createElement(c.z,{overlayPosition:t.current.getBoundingClientRect(),closeOverlay:_,domNode:g},r.createElement(l.hJ,{$placement:(0,s.E)(f)},i)):r.createElement(l.hJ,{$placement:(0,s.E)(f)},i)))})),_=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s.G),g=Object.assign(m,_),E=n(76578),v=["children","onShow","onHide","withPortal","domNode"];function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var b=E.Ay.span.withConfig({displayName:"TooltipTrigger__TriggerContainer",componentId:"sc-13ojzs2-0"})(["display:inline-flex;"]),S=r.forwardRef((function(e,t){var n=e.children,i=e.onShow,s=void 0===i?function(){}:i,c=e.onHide,l=void 0===c?function(){}:c,u=e.withPortal,d=e.domNode,p=(0,o.A)(e,v),h=r.useRef(null),f=null,m=function(e){l(e),f&&(window.clearTimeout(f),f=null)};(0,r.useEffect)((function(){return function(){f&&window.clearTimeout(f)}}),[f]);var _={},E="onMouseOver",y="onMouseOut";return"undefined"!=typeof window&&"PointerEvent"in window&&(E="onPointerEnter",y="onPointerLeave"),_[E]=s,_[y]=m,r.createElement(g,Object.assign({},p,{withPortal:u,domNode:d,ref:u?t||h:null,closeOverlay:m,"data-encore-id":a.j.TooltipTrigger}),r.createElement(b,Object.assign({},_,{onFocus:s,onBlur:m,onKeyDown:function(e){27===e.which&&l(e)}}),n))})),T=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s.G),A=Object.assign(S,T)},61406:(e,t,n)=>{"use strict";n.d(t,{HI:()=>u,Lu:()=>p,W3:()=>d});var i=n(98184),o=n(75834),r=n(85687),a=n(72973),s=n(31935),c=n(76578),l=n(60386),u={bass:"bass",forte:"forte",brio:"brio",altoBrio:"altoBrio",alto:"alto",canon:"canon",celloCanon:"celloCanon",cello:"cello",ballad:"ballad",balladBold:"balladBold",viola:"viola",violaBold:"violaBold",mesto:"mesto",mestoBold:"mestoBold",metronome:"metronome",finale:"finale",finaleBold:"finaleBold",minuet:"minuet",minuetBold:"minuetBold"},d={book:"book",bold:"bold",black:"black"},p=c.Ay.span.withConfig({displayName:"Type__TypeElement",componentId:"sc-goli3j-0"})(["",";margin-block-start:0;margin-block-end:0;",";",";"," ",";"],(0,r.W)(),(function(e){return e.$variant?function(e){switch(e){case"bass":return(0,o.qv)();case"forte":return(0,o.TE)();case"brio":return(0,o.BC)();case"altoBrio":return(0,o.jD)();case"alto":return(0,o.$z)();case"canon":return(0,o.AP)();case"celloCanon":return(0,o.to)();case"cello":return(0,o.Kr)();case"ballad":return(0,o.nH)();case"balladBold":return(0,o.WD)();case"viola":default:return(0,o.C5)();case"violaBold":return(0,o.V2)();case"mesto":return(0,o.x8)();case"mestoBold":return(0,o.oE)();case"metronome":return(0,o.HO)();case"finale":return(0,o.un)();case"finaleBold":return(0,o.fn)();case"minuet":return(0,o.bw)();case"minuetBold":return(0,o.g$)()}}(e.$variant):void 0}),(function(e){return e.$paddingBottom&&(0,l.AH)(["padding-block-end:",";"],e.$paddingBottom)}),(function(e){return e.$semanticColor?(0,l.AH)(["color:",";"],(0,a.oj)(e.$semanticColor)):(0,l.AH)(["color:inherit;"])}),(function(e){return e.$weight&&(0,l.AH)(["font-weight:",";"],function(e){switch(e){case"book":return i.jH;case"bold":return i.Lg;case"black":return i.nk;default:return(0,s.x)(e)}}(e.$weight))}))},31322:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var i=n(19484),o=n(59764),r=n(30758),a=n(63382),s=n(61406),c=["color","semanticColor","paddingBottom","variant","weight"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=r.forwardRef((function(e,t){e.color;var n=e.semanticColor,i=e.paddingBottom,l=e.variant,u=void 0===l?"viola":l,d=e.weight,p=(0,o.A)(e,c);return r.createElement(s.Lu,Object.assign({$variant:u,$semanticColor:n,$paddingBottom:i,$weight:d,ref:t},p,{"data-encore-id":a.j.Type}))})),p=u(u({},{h1:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"h1",ref:t},e))})),h2:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"h2",ref:t},e))})),h3:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"h3",ref:t},e))})),h4:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"h4",ref:t},e))})),h5:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"h5",ref:t},e))})),h6:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"h6",ref:t},e))})),p:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"p",ref:t},e))})),small:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"small",ref:t},e))})),li:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"li",ref:t},e))})),span:r.forwardRef((function(e,t){return r.createElement(d,Object.assign({as:"span",ref:t},e))}))}),s.W3),h=Object.assign(d,p)},23938:(e,t,n)=>{"use strict";n.d(t,{b:()=>h});var i=n(59764),o=n(30758),r=n(63382),a=n(85687),s=n(76578),c=n(60386),l=["role","listStyleReset","condensedAll","condensed"],u=s.Ay.ul.withConfig({displayName:"TypeList__TypeListElement",componentId:"sc-1jhixr6-0"})(["",";padding-inline-start:",";padding-inline-end:0;padding-block-end:",";margin-block-start:0;margin-block-end:0;overflow-wrap:break-word;",";"],(0,a.W)(),(function(e){return e.$condensedAll?"0":"32px"}),(function(e){return e.$condensed&&"0"}),(function(e){return!1!==e.$listStyleReset&&(0,c.AH)(["list-style-type:none;"])})),d=o.forwardRef((function(e,t){var n=e.role,a=void 0===n?"list":n,s=e.listStyleReset,c=void 0!==s&&s,d=e.condensedAll,p=e.condensed,h=(0,i.A)(e,l);return o.createElement(u,Object.assign({role:a,ref:t,$listStyleReset:c,$condensedAll:d,$condensed:p},h,{"data-encore-id":r.j.TypeList}))})),p={ul:o.forwardRef((function(e,t){return o.createElement(d,Object.assign({ref:t},e))})),ol:o.forwardRef((function(e,t){return o.createElement(d,Object.assign({as:"ol",ref:t},e))}))},h=Object.assign(d,p)},33999:(e,t,n)=>{"use strict";n.d(t,{K:()=>p});var i=n(59764),o=n(30758),r=n(63382),a=n(12783),s=n(24163),c=n(76578),l=n(83663),u=["as","listStyleReset","condensed","variant","weight"],d=(0,c.Ay)(a.E).withConfig({displayName:"TypeListItem__TypeListItemElement",componentId:"sc-q1l2mf-0"})(["display:list-item;padding-block-end:",";",";"],(function(e){return!e.$condensed&&"1em"}),(function(e){return e.$listStyleReset&&"list-style-type: none"})),p=o.forwardRef((function(e,t){var n=e.as,a=void 0===n?"li":n,c=e.listStyleReset,p=void 0!==c&&c,h=e.condensed,f=e.variant,m=e.weight,_=(0,i.A)(e,u);return f&&(0,s.VV)("ListRowSubtitle",f,m),o.createElement(d,Object.assign({},_,{ref:t,forwardedAs:a,variant:f&&(0,l.xs)(f,m),$condensed:h,$listStyleReset:p,"data-encore-id":r.j.TypeListItem}))}))},59623:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var i=n(59764),o=n(30758),r=n(63382),a=n(65027),s=n(76578),c=["component"],l=(0,s.Ay)(o.forwardRef((function(e,t){var n=e.component,r=void 0===n?"span":n,a=(0,i.A)(e,c);return o.createElement(r,Object.assign({},a,{ref:t}))}))).withConfig({displayName:"VisuallyHidden__VisuallyHiddenElement",componentId:"sc-17bibe8-0"})(["",""],(0,a.Q)()),u=o.forwardRef((function(e,t){return o.createElement(l,Object.assign({},e,{ref:t,"data-encore-id":r.j.VisuallyHidden}))}))},56504:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var i={useBrowserDefaultFocusStyle:!1},o=n(30758).createContext(i);o.displayName="BrowserDefault"},42712:(e,t,n)=>{"use strict";n.d(t,{BS:()=>s,NH:()=>r,fP:()=>a,i_:()=>c,sS:()=>o});var i=n(30758),o={experimental:"experimental",next:"next",deprecated:"deprecated"},r={button:"button",list:"list",chip:"chip"},a={experimental:[],next:[],deprecated:[]},s=function(e,t){var n=void 0;return Object.keys(o).forEach((function(i){(function(e,t){return t.indexOf(e)>-1})(e,t[i])&&(n=i)})),n},c=i.createContext(a);c.displayName="Encore"},10018:(e,t,n)=>{"use strict";n.d(t,{E:()=>r,L:()=>o});var i=n(30758),o={isUsingKeyboard:!0},r=i.createContext(o);r.displayName="KeyboardDetection"},63382:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var i={Accordion:"accordion",AccordionContent:"accordionContent",AccordionItem:"accordionItem",AccordionTitle:"accordionTitle",App:"app",AppBanner:"appBanner",AppBannerLayout:"appBannerLayout",AppFooter:"appFooter",AppFooterLink:"appFooterLink",Backdrop:"backdrop",Banner:"banner",Box:"box",BrowserDefaultFocusStyleProvider:"browserDefaultFocusStyleProvider",Button:"button",ButtonIcon:"buttonIcon",ButtonPrimary:"buttonPrimary",ButtonSecondary:"buttonSecondary",ButtonTertiary:"buttonTertiary",Card:"card",CardDetails:"cardDetails",CardImage:"cardImage",CardSubtitle:"cardSubtitle",CardTitle:"cardTitle",Chip:"chip",ChipClear:"chipClear",ChipFilter:"chipFilter",ChipGroup:"chipGroup",ChipInput:"chipInput",CollapseButton:"collapseButton",DialogAlert:"dialogAlert",DialogConfirmation:"dialogConfirmation",DialogFullScreen:"dialogFullScreen",Dropdown:"dropdown",DropdownItem:"dropdownItem",DropdownLink:"dropdownLink",DropdownList:"dropdownList",DropdownTrigger:"dropdownTrigger",EmptyState:"emptyState",EmptyStateButton:"emptyStateButton",EmptyStateText:"emptyStateText",EmptyStateTitle:"emptyStateTitle",EncoreProvider:"encoreProvider",FormCheckbox:"formCheckbox",FormGroup:"formGroup",FormHelpText:"formHelpText",FormInput:"formInput",FormInputIcon:"formInputIcon",FormPopoverTrigger:"formPopoverTrigger",FormRadio:"formRadio",FormSelect:"formSelect",FormTextarea:"formTextarea",FormToggle:"formToggle",GlobalStyles:"globalStyles",HorizontalRule:"horizontalRule",Icon:"icon",IconWithText:"iconWithText",Image:"image",KeyboardDetectionProvider:"keyboardDetectionProvider",List:"list",ListItem:"listItem",ListRow:"listRow",ListRowDetails:"listRowDetails",ListRowImage:"listRowImage",ListRowSubtitle:"listRowSubtitle",ListRowTitle:"listRowTitle",LoadingIndicator:"loadingIndicator",LogoSpotify:"logoSpotify",LogoSpotifyForArtists:"logoSpotifyForArtists",NavBar:"navBar",NavBarList:"navBarList",NavBarListItem:"navBarListItem",NavPill:"navPill",NavPillList:"navPillList",NavPillListItem:"navPillListItem",NavPillPanel:"navPillPanel",NavStepper:"navStepper",NavStepperItem:"navStepperItem",Navigation:"navigation",NavigationAction:"navigationAction",NavigationList:"navigationList",NavigationListItem:"navigationListItem",NavigationListTitle:"navigationListTitle",OverlayPortal:"overlayPortal",OverlayTrigger:"overlayTrigger",PaginationControls:"paginationControls",PaginationDropdown:"paginationDropdown",PaginationDropdownItem:"paginationDropdownItem",PaginationDropdownLink:"paginationDropdownLink",PaginationDropdownList:"paginationDropdownList",PaginationDropdownTrigger:"paginationDropdownTrigger",Popover:"popover",PopoverNavigation:"popoverNavigation",PopoverNavigationItem:"popoverNavigationItem",PopoverNavigationLink:"popoverNavigationLink",PopoverOnboarding:"popoverOnboarding",PopoverTrigger:"popoverTrigger",ProgressBar:"progressBar",ProgressCircle:"progressCircle",ProgressDots:"progressDots",SkipLink:"skipLink",Snackbar:"snackbar",StatusIndicator:"statusIndicator",TabItem:"tabItem",Table:"table",TableCell:"tableCell",TableCheckbox:"tableCheckbox",TableContainer:"tableContainer",TableHeaderCell:"tableHeaderCell",TablePagination:"tablePagination",TableRow:"tableRow",TableSortIcon:"tableSortIcon",TableThumbnail:"tableThumbnail",TabList:"tabList",TabPanel:"tabPanel",Tabs:"tabs",Tag:"tag",Text:"text",TextLink:"textLink",Tooltip:"tooltip",TooltipTrigger:"tooltipTrigger",Type:"type",TypeList:"typeList",TypeListItem:"typeListItem",UnsupportedBrowser:"unsupportedBrowser",VerifiedBadge:"verifiedBadge",VisuallyHidden:"visuallyHidden"}},24163:(e,t,n)=>{"use strict";n.d(t,{Ho:()=>u,IF:()=>d,PO:()=>h,R8:()=>l,VV:()=>f,co:()=>p});var i=n(71397),o=n(83663),r=n(61406),a=n(68558),s="undefined"!=typeof MUTE_ENCORE_WARNINGS&&MUTE_ENCORE_WARNINGS||void 0!==a&&(null===a||void 0===a||null===(a={})||void 0===a?void 0:a.MUTE_ENCORE_WARNINGS)||void 0,c="undefined"!=typeof NODE_ENV&&NODE_ENV||void 0!==a&&(null===a||void 0===a||null===(a={})||void 0===a?void 0:a.NODE_ENV)||void 0;function l(e){"true"!==s&&"production"!==c&&console.warn(e)}function u(e,t,n){l("The ".concat(e," prop in ").concat(t," has been deprecated. ").concat(n||""))}function d(e,t,n,i){l("The ".concat(e," prop in ").concat(n," has been deprecated. Please use ").concat(t," instead. ").concat(i||""))}function p(e,t,n,i){l("".concat(e," is deprecated and will be removed in ").concat(n,". Please use ").concat(t," instead. ").concat(i||""))}function h(e,t){return Object.keys(i.G).filter((function(e){return"top"!==e&&"bottom"!==e})).includes(e)?d(e,(0,i.E)(e),t,"This allows us to support localization."):null}var f=function(e,t,n){Object.keys(r.HI).includes(t)&&l(n?'The variant "'.concat(t,"\" and the 'weight' prop are deprecated in ").concat(e,'. Please use the variant "').concat((0,o.xs)(t,n),'".'):'The variant "'.concat(t,'" is deprecated in ').concat(e,'. Please use the variant "').concat((0,o.xs)(t),'".'))}},76578:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var i=n(60386);const o="function"==typeof i.Ay.div?i.Ay:i.Ay.default},435:(e,t,n)=>{"use strict";n.d(t,{AN:()=>l,B6:()=>p,Jk:()=>_,W3:()=>y,WU:()=>d,_6:()=>h,aG:()=>v,gu:()=>m,iX:()=>u,po:()=>a,q7:()=>i,rn:()=>r,uG:()=>c,vq:()=>E});function i(e){switch(e){case"small":return"smaller";case"large":return"larger";default:return"base"}}var o=["tighter-5","tighter-4","tighter-3","tighter-2","tighter","base","looser","looser-2","looser-3","looser-4","looser-5","looser-6"];function r(e){return o.includes(e)}function a(e,t){var n=t?", ".concat(t):"";return"var(--encore-spacing-".concat(e).concat(n,")")}var s=["smaller","base","larger","larger-2","larger-3"];function c(e){return s.includes(e)}function l(e,t){var n=t?", ".concat(t):"";return"var(--encore-corner-radius-".concat(e).concat(n,")")}function u(e,t){var n=t?", ".concat(t):"";return"var(--encore-border-width-".concat(e).concat(n,")")}function d(e,t){var n=t?", ".concat(t):"";return"var(--encore-control-size-".concat(e).concat(n,")")}var p={small:"32px",medium:"48px",large:"56px",sm:"32px",md:"48px",lg:"56px"};function h(e,t,n){var i=t?", ".concat(t):"";return n?"calc(-1 * var(--encore-layout-margin-".concat(e).concat(i,"))"):"var(--encore-layout-margin-".concat(e).concat(i,")")}var f=["smaller-2","smaller","base","larger","larger-2","larger-3","larger-4","larger-5"];function m(e){return f.includes(e)}function _(e,t,n){var i=n?", ".concat(n):"";return"var(--encore-graphic-size-".concat(t,"-").concat(e).concat(i,")")}function g(e){return e.replace(/[A-Z0-9]/g,(function(e){return"-".concat(e.toLowerCase())}))}var E=function(e){return"encore-internal-padding-block-end-".concat(e)},v=function(e){return"encore-internal-color-".concat(g(e))},y=function(e){return"encore-text-".concat(g(e))}},4297:(e,t,n)=>{"use strict";n.d(t,{D:()=>f});var i=n(59764),o=n(30758),r=n(6826),a=n(43830),s=n(89732),c=n(62473),l=n(76578),u=n(60386),d=n(435),p=["position","show"],h=l.Ay.div.withConfig({displayName:"OverflowButton__ButtonPrimaryContainer",componentId:"sc-e0k2al-0"})(["",""],(function(e){var t=e.$position,n=e.$show;return(0,u.AH)(["position:absolute;display:flex;inset-block-start:0;inset-block-end:0;z-index:1;opacity:1;transition:opacity 0.3s;place-content:center center;min-inline-size:",";pointer-events:none;> button{pointer-events:auto;}",";"," @media (max-width:","){opacity:0;}"],(0,d.WU)("base","48px"),"start"===t?(0,u.AH)(["inset-inline-start:0;margin-inline-end:calc(-1 * ",");"],(0,d.WU)("base","48px")):(0,u.AH)(["inset-inline-end:0;margin-inline-start:calc(-1 * ",");"],(0,d.WU)("base","48px")),!n&&(0,u.AH)(["opacity:0;> button{pointer-events:none;}"]),r.en)})),f=function(e){var t=e.position,n=e.show,r=(0,i.A)(e,p);return o.createElement(h,{$position:t,$show:n},o.createElement(a.$,Object.assign({"aria-hidden":"true",tabIndex:-1,iconOnly:"start"===t?s.g:c.V,size:"small",colorSet:"overMedia","data-testid":"overflow-button-".concat(t)},r)))}},85687:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var i=n(60386),o=function(){return(0,i.AH)(["box-sizing:border-box;-webkit-tap-highlight-color:transparent;"])}},64361:(e,t,n)=>{"use strict";n.d(t,{$K:()=>o,$O:()=>r,Ly:()=>i});var i={sm:"sm",md:"md",lg:"lg"},o=function(e){switch(e){case"small":return"marginalBold";case"medium":default:return"bodySmallBold";case"large":return"bodyMediumBold"}},r={small:"8px",medium:"14px",large:"16px"}},70277:(e,t,n)=>{"use strict";n.d(t,{Bv:()=>A,Cv:()=>b,Dz:()=>E,EA:()=>f,GF:()=>h,IV:()=>v,g9:()=>T,qj:()=>y,r0:()=>S,xE:()=>d,y0:()=>I,yu:()=>p});var i=n(42712),o=n(98184),r=n(435),a=n(64361),s=n(21452),c=n(85687),l=n(20287),u=n(60386),d="var(--encore-button-corner-radius, ".concat(o.uV,")"),p=function(e){switch(e){case"small":return(0,r.po)("tighter","12px");case"large":return(0,r.po)("looser","24px");default:return"20px"}},h={small:"5px",medium:"12px",large:"10px"},f=function(e,t){return t===i.sS.deprecated?(0,a.$K)(e):"small"===e?"bodySmallBold":"bodyMediumBold"};function m(e){var t=e.property,n=e.value,i=e.borderWidth,o=void 0===i?0:i;return o>0?(0,u.AH)(["",":calc("," - ","px);"],t,n,o):(0,u.AH)(["",":",";"],t,n)}function _(e){var t=e.buttonSize,n=e.borderWidth,i=void 0===n?0:n;if("deprecated"===e.status)switch(t){case"small":return(0,u.AH)(["",";",";"],m({property:"padding-block-start",value:a.$O.small,borderWidth:i}),m({property:"padding-block-end",value:a.$O.small,borderWidth:i}));case"large":return(0,u.AH)(["",";",";"],m({property:"padding-block-start",value:a.$O.large,borderWidth:i}),m({property:"padding-block-end",value:a.$O.large,borderWidth:i}));default:return(0,u.AH)(["",";",";"],m({property:"padding-block-start",value:a.$O.medium,borderWidth:i}),m({property:"padding-block-end",value:a.$O.medium,borderWidth:i}))}switch(t){case"small":return(0,u.AH)(["",";",";"],m({property:"padding-block-start",value:(0,r.po)("tighter-4",s.mw.small),borderWidth:i}),m({property:"padding-block-end",value:(0,r.po)("tighter-4",s.mw.small),borderWidth:i}));case"large":return(0,u.AH)(["",";",";"],m({property:"padding-block-start",value:(0,r.po)("tighter",s.mw.large),borderWidth:i}),m({property:"padding-block-end",value:(0,r.po)("tighter",s.mw.large),borderWidth:i}));default:return(0,u.AH)(["",";",";"],m({property:"padding-block-start",value:(0,r.po)("tighter-2",s.mw.medium),borderWidth:i}),m({property:"padding-block-end",value:(0,r.po)("tighter-2",s.mw.medium),borderWidth:i}))}}function g(e){var t=e.buttonSize,n=e.borderWidth,i=void 0===n?0:n,o=e.status,a=function(){switch(t){case"small":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:(0,r.po)("base","16px"),borderWidth:i}),m({property:"padding-inline-end",value:(0,r.po)("base","16px"),borderWidth:i}));case"large":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:(0,r.po)("looser-3","48px"),borderWidth:i}),m({property:"padding-inline-end",value:(0,r.po)("looser-3","48px"),borderWidth:i}));default:return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:(0,r.po)("looser-2","32px"),borderWidth:i}),m({property:"padding-inline-end",value:(0,r.po)("looser-2","32px"),borderWidth:i}))}};return e.condensed&&(a=function(){return(0,u.AH)(["padding-inline-start:0;padding-inline-end:0;"])}),(0,u.AH)(["",";",";"],_({buttonSize:t,borderWidth:i,status:o}),a)}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.iconOnly,n=e.iconLeading,i=e.iconTrailing;return t?"only":n&&i?"both":n?"leading":i?"trailing":"none"}var v=function(e){var t=e.buttonSize,n=e.borderWidth,i=void 0===n?0:n,o=e.status,a=e.iconPlacement,s=(0,u.AH)(["inline-size:",";block-size:",";"],(0,r.WU)((0,r.q7)(t),r.B6[t]),(0,r.WU)((0,r.q7)(t),r.B6[t]));return"only"===a?s:"none"===a?g({buttonSize:t,borderWidth:i,status:o}):function(e){var t=e.buttonSize,n=e.iconPlacement,i=e.borderWidth,o=void 0===i?0:i,a=e.status;return(0,u.AH)(["",";",";"],_({buttonSize:t,borderWidth:o,status:a}),(function(){switch(t){case"small":switch(n){case"leading":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:"33px",borderWidth:o}),m({property:"padding-inline-end",value:(0,r.po)("base","16px"),borderWidth:o}));case"trailing":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:(0,r.po)("base","16px"),borderWidth:o}),m({property:"padding-inline-end",value:"33px",borderWidth:o}));default:return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:"33px",borderWidth:o}),m({property:"padding-inline-end",value:"33px",borderWidth:o}))}case"large":switch(n){case"leading":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:"58px",borderWidth:o}),m({property:"padding-inline-end",value:(0,r.po)("looser-3","48px"),borderWidth:o}));case"trailing":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:(0,r.po)("looser-3","48px"),borderWidth:o}),m({property:"padding-inline-end",value:"58px",borderWidth:o}));default:return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:"58px",borderWidth:o}),m({property:"padding-inline-end",value:"58px",borderWidth:o}))}default:switch(n){case"leading":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:"56px",borderWidth:o}),m({property:"padding-inline-end",value:(0,r.po)("looser-2","32px"),borderWidth:o}));case"trailing":return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:(0,r.po)("looser-2","32px"),borderWidth:o}),m({property:"padding-inline-end",value:"56px",borderWidth:o}));default:return(0,u.AH)(["",";",";"],m({property:"padding-inline-start",value:"56px",borderWidth:o}),m({property:"padding-inline-end",value:"56px",borderWidth:o}))}}}))}({buttonSize:t,iconPlacement:a,borderWidth:i,status:o})},y=function(e){var t=e.buttonSize,n=e.status,i=e.iconPlacement,o=e.condensed;return e.condensedAll?(0,u.AH)(["padding:0;"]):"only"===i?function(e){var t=e.buttonSize,n=e.condensed,i=(0,u.AH)(["padding-block-start:",";padding-block-end:",";"],(0,r.po)("tighter","12px"),(0,r.po)("tighter","12px")),o=(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("tighter","12px"),(0,r.po)("tighter","12px"));return"small"===t&&(i=(0,u.AH)(["padding-block-start:",";padding-block-end:",";"],(0,r.po)("tighter-2","8px"),(0,r.po)("tighter-2","8px")),o=(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("tighter-2","8px"),(0,r.po)("tighter-2","8px"))),n&&(o=(0,u.AH)(["padding-inline-start:0;padding-inline-end:0;"])),(0,u.AH)(["",";",";"],i,o)}({buttonSize:t,condensed:o}):"none"===i?g({buttonSize:t,status:n,condensed:o}):function(e){var t=e.buttonSize,n=e.iconPlacement,i=e.condensed,o=e.status,a=function(){switch(t){case"small":switch(n){case"leading":return(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("tighter","12px"),(0,r.po)("base","16px"));case"trailing":return(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("base","16px"),(0,r.po)("tighter","12px"));default:return(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("tighter","12px"),(0,r.po)("tighter","12px"))}case"large":switch(n){case"leading":return(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("looser-2","24px"),(0,r.po)("looser-3","48px"));case"trailing":return(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("looser-3","48px"),(0,r.po)("looser-2","24px"));default:return(0,u.AH)(["padding-inline-start:",";padding-inline-end:",";"],(0,r.po)("looser-2","24px"),(0,r.po)("looser-2","24px"))}default:switch(n){case"leading":return(0,u.AH)(["padding-inline-start:20px;padding-inline-end:",";"],(0,r.po)("looser-2","32px"));case"trailing":return(0,u.AH)(["padding-inline-start:",";padding-inline-end:20px;"],(0,r.po)("looser-2","32px"));default:return(0,u.AH)(["padding-inline-start:20px;padding-inline-end:20px;"])}}};return i&&(a=function(){return(0,u.AH)(["padding-inline-start:0;padding-inline-end:0;"])}),(0,u.AH)(["",";",";"],_({buttonSize:t,borderWidth:"medium"===t?2:0,status:o}),a)}({buttonSize:t,iconPlacement:i,condensed:o,status:n})},b=function(e){return(0,u.AH)(["",";"," background-color:transparent;border:0;border-radius:",";cursor:pointer;display:inline-block;position:relative;text-align:center;text-decoration:none;text-transform:",";touch-action:manipulation;transition-duration:",";transition-property:background-color,border-color,color,box-shadow,filter,transform;user-select:none;vertical-align:middle;transform:translate3d(0,0,0);"],(0,c.W)(),!e&&l._O,d,"none","33ms")},S=(0,u.AH)(["cursor:",";opacity:",";transform:scale(1);"],o.zM,o.ok),T=(0,u.AH)(["opacity:",";outline:none;transform:scale(1);"],o.kX),A=(0,u.AH)(["transform:scale(",");"],"1.04"),I=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,u.AH)(["background-color:transparent;border:0;color:inherit;cursor:pointer;line-height:1;letter-spacing:inherit;padding:0;",""],!e&&l._O)}},21452:(e,t,n)=>{"use strict";n.d(t,{Nt:()=>s,ey:()=>o,iH:()=>i,ml:()=>a,mw:()=>r});var i=function(e){return{sm:"small",md:"medium",lg:"large",small:"small",medium:"medium",large:"large"}[e]},o=function(e){return{sm:"sm",md:"md",lg:"lg",small:"sm",medium:"md",large:"lg"}[e]},r={small:"4px",medium:"8px",large:"12px",sm:"4px",md:"8px",lg:"12px"},a={small:"small",medium:"medium",large:"medium"},s={small:"smaller",medium:"base",large:"base"}},20287:(e,t,n)=>{"use strict";n.d(t,{W1:()=>d,X2:()=>_,_O:()=>u,g5:()=>l,gx:()=>p,hT:()=>m,k6:()=>g,ms:()=>f,qC:()=>s,tp:()=>a,y5:()=>c});var i=n(435),o=n(72973),r=n(60386),a=3,s="var(--parents-essential-base, ".concat((0,o.oj)(o.ZI.essentialBase),")"),c="200ms",l="ease-in",u=(0,r.AH)(["&:focus{outline:none;}"]);function d(e){var t="".concat(4*a,"px"),n="-".concat(2*a,"px"),o="calc(".concat(t," + (2 * ").concat((0,i.iX)("hairline","1px"),"))"),r="calc(".concat(n," - ").concat((0,i.iX)("hairline","1px"),")");return e?{dimension:o,position:r}:{dimension:t,position:n}}var p=function(e){var t=d(e),n=t.dimension,i=t.position;return(0,r.AH)(["inline-size:",";block-size:",";top:",";left:",";"],"calc(100% + ".concat(n,")"),"calc(100% + ".concat(n,")"),i,i)},h=(0,r.AH)(["display:block;position:absolute;pointer-events:none;transition:border-color "," ",";box-sizing:border-box;"],c,l),f=function(e,t){return(0,r.AH)(["",";",";background:transparent;border-radius:",";border:","px solid transparent;"],h,p(t),e,a)},m=function(e){return(0,r.AH)(["",";bottom:","px;border-bottom:","px solid transparent;width:100%;"],h,e-2*a,a)},_=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;return(0,r.AH)(["position:relative;"," ",""],u,t&&(0,r.AH)(["&::after{"," content:'';}&:focus::after{border-color:",";}",""],f(e,i),s,n&&(0,r.AH)(["&::after{border-color:",";}"],s)))},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,r.AH)(["position:relative;"," ",""],u,t&&(0,r.AH)(["&::after{content:'';","}&:focus::after{border-color:inherit;}",""],m(e),n&&(0,r.AH)(["&::after{border-color:inherit;}"])))}},73647:(e,t,n)=>{"use strict";n.d(t,{Hb:()=>p,N_:()=>u,lz:()=>h,u$:()=>d,x4:()=>l,zu:()=>f});var i=n(435),o=n(21452),r=n(72973),a=n(98184),s=n(85687),c=n(60386),l=function(e){return(0,c.AH)(["-webkit-appearance:none;background-image:none;border:0;display:block;transition:box-shadow ease-in-out 0.1s,color ease-in-out 0.1s;inline-size:100%;&::placeholder{opacity:1;}"," &:disabled{cursor:not-allowed;opacity:1;}"],!e&&(0,c.AH)(["&:focus,&:hover:focus{outline:0;}"]))},u=function(){return(0,c.AH)(["",";align-items:center;display:flex;padding-block-end:",";padding-block-start:",";position:relative;min-block-size:32px;"],(0,s.W)(),(0,i.po)("tighter-4","4px"),(0,i.po)("tighter-4","4px"))},d=function(e){return(0,c.AH)(["",";background:transparent;border-radius:",";display:inline-block;block-size:16px;position:relative;user-select:none;inline-size:16px;flex-shrink:0;align-self:flex-start;top:0;"],(0,s.W)(),e)},p=function(e){var t=e.isUsingKeyboard,n=void 0===t||t,i=e.isHover,o=e.isFocus,s=e.useBrowserDefaultFocusStyle,l=e.error,u=(0,c.AH)(["box-shadow:inset 0 0 0 1px ",";"],(0,r.oj)(r.ZI.essentialBase)),d=(0,c.AH)(["box-shadow:inset 0 0 0 ","px ",";"],n?3:1.5,(0,r.oj)(r.ZI.essentialBase)),p=(0,c.AH)(["&,&:hover{box-shadow:inset 0 0 0 1px ",";}&:focus{box-shadow:inset 0 0 0 ","px ",";}"],(0,r.oj)(r.ZI.essentialNegative),n?3:1.5,(0,r.oj)(r.ZI.essentialNegative));return(0,c.AH)(["background-color:",";box-shadow:inset 0 0 0 1px ",";color:",";&[readonly]{box-shadow:inset 0 0 0 1px ",";}&:hover,&[readonly]:hover{","}"," &:focus,&[readonly]:focus{","}&&{",";}&::placeholder{color:",";}&:disabled{opacity:",";box-shadow:inset 0 0 0 1px ",";}&:invalid{",";}",""],(0,r.oj)(r.ZI.backgroundBase),(0,r.oj)(r.ZI.essentialSubdued),(0,r.oj)(r.ZI.textBase),(0,r.oj)(r.ZI.decorativeSubdued),u,i&&u,!s&&d,o&&!s&&d,(0,r.oj)(r.ZI.textSubdued),a.ok,(0,r.oj)(r.ZI.essentialSubdued),void 0===l&&p,l&&p)},h=function(e){return"small"===e?(0,i.po)("tighter-3","6px"):(0,i.po)("tighter",o.mw.large)},f=function(e){return"small"===e?(0,i.po)("tighter-2","8px"):(0,i.po)("base","16px")}},20424:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var i={xsmall:12,small:16,medium:24,large:32,xlarge:48,xxlarge:64},o=function(e){return i[e]}},78713:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var i=n(60386),o=function(){return(0,i.AH)(["@supports (overflow-wrap:anywhere){overflow-wrap:anywhere;}@supports not (overflow-wrap:anywhere){word-break:break-word;}"])}},96364:(e,t,n)=>{"use strict";n.d(t,{Hp:()=>s,Z_:()=>o,qi:()=>a,yJ:()=>r});var i=n(60386),o="100ms",r="200ms",a="cubic-bezier(0.3, 0, 0.4, 1)",s="cubic-bezier(1, 0, 1, 1)";(0,i.AH)(["@media (prefers-reduced-motion){transition-duration:0s;}"])},71397:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,G:()=>o});var i=n(39751),o={top:"top",topRight:"topRight",topLeft:"topLeft",left:"left",leftTop:"leftTop",leftBottom:"leftBottom",bottom:"bottom",bottomLeft:"bottomLeft",bottomRight:"bottomRight",right:"right",rightTop:"rightTop",rightBottom:"rightBottom"},r={top:"top",topRight:"topEnd",topLeft:"topStart",left:"start",leftTop:"startTop",leftBottom:"startBottom",bottom:"bottom",bottomLeft:"bottomStart",bottomRight:"bottomEnd",right:"end",rightTop:"endTop",rightBottom:"endBottom"};function a(e){var t,n;if(e)return t=e,n=i.dw,t in n?e:r[e]}},39751:(e,t,n)=>{"use strict";n.d(t,{r3:()=>m,Lw:()=>f,oV:()=>_,mw:()=>p,dw:()=>h});var i=n(6826),o=n(435),r=n(98184),a=n(31935),s=n(72973),c=n(60386),l="rgba(0, 0, 0, 0.05)",u="var(--background-elevated-base, ".concat(s.Jl.background.elevated.base,")"),d=function(e){var t=e.position,n=e.offset,i=e.width,o=void 0===i?"8px":i,r="-".concat(o);return(0,c.AH)(["position:relative;&&::after{bottom:auto;content:'';left:auto;position:absolute;right:auto;top:auto;",";",";",";",";",";",";",";",";}"],"bottom"===t&&(0,c.AH)(["border-block-end:0;border-inline-start:"," solid transparent;border-inline-end:"," solid transparent;border-block-start:"," solid ",";"],o,o,o,u),"top"===t&&(0,c.AH)(["border-block-end:"," solid ",";border-inline-start:"," solid transparent;border-inline-end:"," solid transparent;border-block-start:0;"],o,u,o,o),"end"===t&&(0,c.AH)(["border-block-end:"," solid transparent;border-inline-start:"," solid ",";border-inline-end:0;border-block-start:"," solid transparent;"],o,o,u,o),"start"===t&&(0,c.AH)(["border-block-end:"," solid transparent;border-inline-start:0;border-inline-end:"," solid ",";border-block-start:"," solid transparent;"],o,o,u,o),"top"===t&&(0,c.AH)(["left:",";top:",";filter:drop-shadow(0 -2px 1px ",");[dir='rtl'] &{left:unset;right:",";}"],"center"===n?"calc(50% - ".concat(o,")"):n,r,l,"center"===n?"calc(50% - ".concat(o,")"):n),"bottom"===t&&(0,c.AH)(["bottom:",";left:",";filter:drop-shadow(0 2px 1px ",");[dir='rtl'] &{left:unset;right:",";}"],r,"center"===n?"calc(50% - ".concat(o,")"):n,l,"center"===n?"calc(50% - ".concat(o,")"):n),"start"===t&&(0,c.AH)(["left:",";top:",";filter:drop-shadow(-2px 0 1px ",");[dir='rtl'] &{left:unset;right:",";filter:drop-shadow(2px 0 1px ",");}"],r,"center"===n?"calc(50% - ".concat(o,")"):n,l,r,l),"end"===t&&(0,c.AH)(["right:",";top:",";filter:drop-shadow(2px 0 1px ",");[dir='rtl'] &{right:unset;left:",";filter:drop-shadow(-2px 0 1px ",");}"],r,"center"===n?"calc(50% - ".concat(o,")"):n,l,r,l))},p="0 4px 12px 0 rgba(0, 0, 0, 0.2)",h={top:"top",topEnd:"topEnd",topStart:"topStart",start:"start",startTop:"startTop",startBottom:"startBottom",bottom:"bottom",bottomStart:"bottomStart",bottomEnd:"bottomEnd",end:"end",endTop:"endTop",endBottom:"endBottom"},f=function(e){var t=e.maxWidth,n=void 0===t?"296px":t,i=e.colorSet,r=void 0===i?"base":i;return(0,c.AH)(["background:",";color:",";border-radius:",";box-shadow:",";text-align:start;cursor:default;display:inline-block;max-inline-size:",";position:relative;"],(0,s.oj)(s.ZI.backgroundElevatedBase,s.zQ[r].background.elevated.base),(0,s.oj)(s.ZI.textBase,s.zQ[r].text.base),(0,o.AN)("larger-2","8px"),p,n)},m=function(e){var t=e.colorSet;return(0,c.AH)(["",";display:flex;flex-direction:column;max-block-size:90vh;z-index:",";@media (min-width:","){max-block-size:80vh;}"],f({maxWidth:"calc(100% - 48px)",colorSet:t}),r.Bd,i.Dg)},_=function(e){switch(e){case"top":return d({offset:"center",position:"top"});case"topStart":return d({offset:"8px",position:"top"});case"topEnd":return d({offset:"calc(100% - 24px)",position:"top"});case"bottom":return d({offset:"center",position:"bottom"});case"bottomStart":return d({offset:"8px",position:"bottom"});case"bottomEnd":return d({offset:"calc(100% - 24px)",position:"bottom"});case"start":return d({offset:"center",position:"start"});case"startTop":return d({offset:"8px",position:"start"});case"startBottom":return d({offset:"calc(100% - 24px)",position:"start"});case"end":return d({offset:"center",position:"end"});case"endTop":return d({offset:"8px",position:"end"});case"endBottom":return d({offset:"calc(100% - 24px)",position:"end"});default:return(0,a.x)(e)}}},75834:(e,t,n)=>{"use strict";n.d(t,{$z:()=>d,AP:()=>h,BC:()=>u,C5:()=>E,HO:()=>S,Kr:()=>f,TE:()=>l,V2:()=>v,WD:()=>g,bw:()=>I,fn:()=>A,g$:()=>O,jD:()=>p,nH:()=>_,oE:()=>b,qv:()=>c,to:()=>m,un:()=>T,x8:()=>y});var i=n(6826),o=n(82775),r=n(80481),a=n(60386),s=function(e,t){var n=e.fontSize!==t.fontSize,o=e.fontWeight!==t.fontWeight,r=e.textTransform!==t.textTransform,s=e.letterSpacing!==t.letterSpacing,c=e.fontFamily!==t.fontFamily,l=n||o||c||r||s;return(0,a.AH)(["font-size:",";font-weight:",";text-transform:",";letter-spacing:",";font-family:var(--font-family,",");",";"],e.fontSize,e.fontWeight,e.textTransform,e.letterSpacing,e.fontFamily,l&&(0,a.AH)(["@media (min-width:","){font-size:",";font-weight:",";font-family:",";text-transform:",";letter-spacing:",";}"],i.Dg,n&&t.fontSize,o&&t.fontWeight,c&&"var(--font-family, ".concat(t.fontFamily,")"),r&&t.textTransform,s&&t.letterSpacing))},c=function(){return s(o.wJ,r.A7)},l=function(){return s(o.v3,r.VA)},u=function(){return s(o.lR,r.nk)},d=function(){return s(o.nW,r.H0)},p=function(){return s(o.fW,r.PW)},h=function(){return s(o.ql,r.et)},f=function(){return s(o.gT,r.ye)},m=function(){return s(o.X_,r.Zf)},_=function(){return s(o.$m,r.Nt)},g=function(){return s(o.Ep,r.mi)},E=function(){return s(o.mi,r.ec)},v=function(){return s(o.bI,r.$2)},y=function(){return s(o.pZ,r.bQ)},b=function(){return s(o.O6,r.O)},S=function(){return s(o.Ht,r.dk)},T=function(){return s(o._o,r.yE)},A=function(){return s(o.rq,r.ZV)},I=function(){return s(o.BI,r.vv)},O=function(){return s(o.GV,r.gS)}},65027:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});var i=n(60386),o=function(){return(0,i.AH)(["border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;"])}},72973:(e,t,n)=>{"use strict";n.d(t,{Ju:()=>C,mA:()=>k,FC:()=>N,oj:()=>L,cl:()=>R,Jl:()=>S,kR:()=>b,zQ:()=>y,AC:()=>I,ZI:()=>v});var i=n(12867),o=n(19484),r={base:{background:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),highlight:"#f6f6f6",press:"#b7b7b7",elevated:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),highlight:"#f6f6f6",press:"#b7b7b7"},tinted:{base:"rgba(0, 0, 0, 0.08)",highlight:"rgba(0, 0, 0, 0.05)",press:"rgba(0, 0, 0, 0.12)"}},text:{base:"#000000",subdued:"#6a6a6a",brightAccent:"#117a37",negative:"#d31225",warning:"#9d5a00",positive:"#117a37",announcement:"#0c67d3"},essential:{base:"#000000",subdued:"#878787",brightAccent:"#169b45",negative:"#e91429",warning:"#c77200",positive:"#169b45",announcement:"#0d72ea"},decorative:{base:"#000000",subdued:"#dedede"}},brightAccent:{background:{base:"#1ed760",highlight:"#1fdf64",press:"#169c46",elevated:{base:"#1fdf64",highlight:"#1fdf64",press:"#169c46"},tinted:{base:"#1ed760",highlight:"#1ed760",press:"#1ed760"}},text:{base:"#000000",subdued:"#000000",brightAccent:"#000000",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},essential:{base:"#000000",subdued:"#000000",brightAccent:"#000000",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},decorative:{base:"#000000",subdued:"#1abc54"}},negative:{background:{base:"#e91429",highlight:"#de1327",press:"#920d1a",elevated:{base:"#de1327",highlight:"#de1327",press:"#920d1a"},tinted:{base:"#e91429",highlight:"#e91429",press:"#e91429"}},text:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),brightAccent: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},essential:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),brightAccent: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},decorative:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#ee3a4c"}},negativeSubdued:{background:{base:"#ffd2d7",highlight:"#ffdde1",press:"#ff7988",elevated:{base:"#ffdde1",highlight:"#ffdde1",press:"#ff7988"},tinted:{base:"#ffd2d7",highlight:"#ffd2d7",press:"#ffd2d7"}},text:{base:"#590810",subdued:"#590810",brightAccent:"#590810",negative:"#590810",warning:"#590810",positive:"#590810",announcement:"#590810"},essential:{base:"#590810",subdued:"#590810",brightAccent:"#590810",negative:"#590810",warning:"#590810",positive:"#590810",announcement:"#590810"},decorative:{base:"#590810",subdued:"#ffb9c1"}},warning:{background:{base:"#ffa42b",highlight:"#ffaf45",press:"#c57100",elevated:{base:"#ffaf45",highlight:"#ffaf45",press:"#c57100"},tinted:{base:"#ffa42b",highlight:"#ffa42b",press:"#ffa42b"}},text:{base:"#000000",subdued:"#000000",brightAccent:"#000000",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},essential:{base:"#000000",subdued:"#000000",brightAccent:"#000000",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},decorative:{base:"#000000",subdued:"#f18900"}},warningSubdued:{background:{base:"#ffd97e",highlight:"#ffe3a0",press:"#d79800",elevated:{base:"#ffe3a0",highlight:"#ffe3a0",press:"#d79800"},tinted:{base:"#ffd97e",highlight:"#ffd97e",press:"#ffd97e"}},text:{base:"#491e00",subdued:"#491e00",brightAccent:"#491e00",negative:"#491e00",warning:"#491e00",positive:"#491e00",announcement:"#491e00"},essential:{base:"#491e00",subdued:"#491e00",brightAccent:"#491e00",negative:"#491e00",warning:"#491e00",positive:"#491e00",announcement:"#491e00"},decorative:{base:"#491e00",subdued:"#ffc742"}},positive:{background:{base:"#1ed760",highlight:"#1fdf64",press:"#169c46",elevated:{base:"#1fdf64",highlight:"#1fdf64",press:"#169c46"},tinted:{base:"#1ed760",highlight:"#1ed760",press:"#1ed760"}},text:{base:"#000000",subdued:"#000000",brightAccent:"#000000",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},essential:{base:"#000000",subdued:"#000000",brightAccent:"#000000",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},decorative:{base:"#000000",subdued:"#1abc54"}},positiveSubdued:{background:{base:"#96f0b6",highlight:"#b2f4c9",press:"#1bbc54",elevated:{base:"#b2f4c9",highlight:"#b2f4c9",press:"#1bbc54"},tinted:{base:"#96f0b6",highlight:"#96f0b6",press:"#96f0b6"}},text:{base:"#073116",subdued:"#073116",brightAccent:"#073116",negative:"#073116",warning:"#073116",positive:"#073116",announcement:"#073116"},essential:{base:"#073116",subdued:"#073116",brightAccent:"#073116",negative:"#073116",warning:"#073116",positive:"#073116",announcement:"#073116"},decorative:{base:"#073116",subdued:"#60e890"}},announcement:{background:{base:"#0d72ea",highlight:"#0c6ddf",press:"#084791",elevated:{base:"#0c6ddf",highlight:"#0c6ddf",press:"#084791"},tinted:{base:"#0d72ea",highlight:"#0d72ea",press:"#0d72ea"}},text:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),brightAccent: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},essential:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),brightAccent: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},decorative:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#2a86f3"}},announcementSubdued:{background:{base:"#c8e0fc",highlight:"#d6e8fd",press:"#62a7f6",elevated:{base:"#d6e8fd",highlight:"#d6e8fd",press:"#62a7f6"},tinted:{base:"#c8e0fc",highlight:"#c8e0fc",press:"#c8e0fc"}},text:{base:"#052a56",subdued:"#052a56",brightAccent:"#052a56",negative:"#052a56",warning:"#052a56",positive:"#052a56",announcement:"#052a56"},essential:{base:"#052a56",subdued:"#052a56",brightAccent:"#052a56",negative:"#052a56",warning:"#052a56",positive:"#052a56",announcement:"#052a56"},decorative:{base:"#052a56",subdued:"#a5ccfa"}},invertedDark:{background:{base:"#000000",highlight:"#0d0d0d",press:"#3f3f3f",elevated:{base:"#0d0d0d",highlight:"#0d0d0d",press:"#3f3f3f"},tinted:{base:"#000000",highlight:"#000000",press:"#000000"}},text:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#8f8f8f",brightAccent:"#1ed760",negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},essential:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#5e5e5e",brightAccent:"#1ed760",negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},decorative:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#1f1f1f"}},invertedLight:{background:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),highlight:"#f6f6f6",press:"#b7b7b7",elevated:{base:"#f6f6f6",highlight:"#f6f6f6",press:"#b7b7b7"},tinted:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),highlight: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),press: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()}},text:{base:"#000000",subdued:"#5e5e5e",brightAccent:"#12833a",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},essential:{base:"#000000",subdued:"#8f8f8f",brightAccent:"#17a449",negative:"#000000",warning:"#000000",positive:"#000000",announcement:"#000000"},decorative:{base:"#000000",subdued:"#dedede"}},mutedAccent:{background:{base:"#121212",highlight:"#1a1a1a",press:"#000000",tinted:{base:"rgba(255, 255, 255, 0.07)",highlight:"rgba(255, 255, 255, 0.1)",press:"rgba(255, 255, 255, 0.04)"},elevated:{base:"#1a1a1a",highlight:"#1a1a1a",press:"#000000"}},text:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#a7a7a7",brightAccent:"#1ed760",negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},essential:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#727272",brightAccent:"#1ed760",negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},decorative:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"#292929"}},overMedia:{background:{base:"rgba(0, 0, 0, 0.54)",highlight:"rgba(0, 0, 0, 0.56)",press:"rgba(0, 0, 0, 0.72)",elevated:{base:"rgba(0, 0, 0, 0.56)",highlight:"rgba(0, 0, 0, 0.56)",press:"rgba(0, 0, 0, 0.72)"},tinted:{base:"rgba(0, 0, 0, 0.54)",highlight:"rgba(0, 0, 0, 0.54)",press:"rgba(0, 0, 0, 0.54)"}},text:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),brightAccent: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},essential:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),brightAccent: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),negative: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),warning: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),positive: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),announcement: getComputedStyle(document.body).getPropertyValue("--spice-text").trim()},decorative:{base: getComputedStyle(document.body).getPropertyValue("--spice-text").trim(),subdued:"rgba(255, 255, 255, 0.13)"}}},a=n(83663),s=function(e){var t=e.replace(/^#/,"");if(3!==t.length&&4!==t.length||(t=Array.from(t,(function(e){return e+e})).join("")),!/^([a-f\d]{6}|[a-f\d]{8})$/i.test(t))return console.error("Invalid hexadecimal color input"),{r:0,g:0,b:0};var n={r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16)};return 8===e.length&&(n.a=parseInt(t.slice(6,8),16)/255),n},c=function(e){var t,n=e.r/255,i=e.g/255,o=e.b/255,r=Math.max(n,i,o),a=Math.min(n,i,o),s=0,c=0;if(t=(r+a)/2,r===a)s=c=0;else{var l=r-a;switch(c=t>.5?l/(2-r-a):l/(r+a),r){case n:s=(i-o)/l+(i<o?6:0);break;case i:s=(o-n)/l+2;break;case o:s=(n-i)/l+4;break;default:s=0}s/=6}return{h:360*s,s:100*c,l:100*t}},l=function(e){var t,n,i,o=e.h,r=e.s,a=e.l,s=o<0?0:o/360,c=r<0?0:r/100,l=a<0?0:a/100,u=function(e,t,n){var i=n;return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e};if(0===c)t=n=i=l;else{var d=l<.5?l*(1+c):l+c-l*c,p=2*l-d;t=u(p,d,s+1/3),n=u(p,d,s),i=u(p,d,s-1/3)}return{r:Math.round(255*Math.min(t,1)),g:Math.round(255*Math.min(n,1)),b:Math.round(255*Math.min(i,1))}},u=function(e){var t=e.r,n=e.g,i=e.b,o=t.toString(16),r=n.toString(16),a=i.toString(16);return 1===o.length&&(o="0".concat(o)),1===r.length&&(r="0".concat(r)),1===a.length&&(a="0".concat(a)),"#".concat(o.toUpperCase()).concat(r.toUpperCase()).concat(a.toUpperCase())},d=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)},p=function(e){return.2126*d(e.r)+.7152*d(e.g)+.0722*d(e.b)},h=function(e,t){var n,i,o,r=s(e),a=s(t);return n=a,i=p(r)+.05,o=p(n)+.05,i>o?i/o:o/i};function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,o.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _={textBase:"textBase",textSubdued:"textSubdued",textBrightAccent:"textBrightAccent",textNegative:"textNegative",textWarning:"textWarning",textPositive:"textPositive",textAnnouncement:"textAnnouncement"},g={essentialBase:"essentialBase",essentialSubdued:"essentialSubdued",essentialBrightAccent:"essentialBrightAccent",essentialNegative:"essentialNegative",essentialWarning:"essentialWarning",essentialPositive:"essentialPositive",essentialAnnouncement:"essentialAnnouncement"},E={decorativeBase:"decorativeBase",decorativeSubdued:"decorativeSubdued"},v=(m(m(m({},_),g),E),m(m(m(m({},{backgroundBase:"backgroundBase",backgroundHighlight:"backgroundHighlight",backgroundPress:"backgroundPress",backgroundElevatedBase:"backgroundElevatedBase",backgroundElevatedHighlight:"backgroundElevatedHighlight",backgroundElevatedPress:"backgroundElevatedPress",backgroundTintedBase:"backgroundTintedBase",backgroundTintedHighlight:"backgroundTintedHighlight",backgroundTintedPress:"backgroundTintedPress"}),_),g),E)),y=r,b="base",S=y[b],T=(Object.keys(y),function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(t).reduce((function(t,o){var r=(0,i.A)(o,2),s=r[0],c=r[1],l=s;return""!==n&&(l="".concat(n).concat((0,a.ZH)(s))),"object"==typeof c?m(m({},t),e(c,l)):"string"==typeof c?(t[l]=c,t):t}),{})});function A(e){return e.replace(/[A-Z0-9]/g,(function(e){return"-".concat(e.toLowerCase())}))}function I(e){return e?"encore-".concat(A(e),"-set"):""}function O(e){if(!e)return"";var t=e.replace("Set","");return"encore-".concat(A(t),"-set")}function C(e,t){return e in r?[I(e),t].join(" ").trim():[O(e),t].join(" ").trim()}function R(e){return"--".concat(A(e))}function N(e){return Object.entries(T(e)).map((function(e){var t=(0,i.A)(e,2),n=t[0],o=t[1];return"\n ".concat(R(n),": ").concat(o," !important;\n ")}))}var P=T(S);function L(e,t){var n=P[e];return t&&(n=t),"var(".concat(R(e),", ").concat(n,")")}var k=function(e,t){var n,i,o,r=t&&h(e,t)>=4.45?t:(o="#000000",h(n=e,i="#FFFFFF")>=h(n,o)?i:o),a=c(s(r)),d=c(s(e)),p=a.l>=d.l,f=u(l(p?{h:d.h,s:d.s,l:d.l-5}:{h:d.h,s:d.s,l:d.l+5})),m=u(l(p?{h:d.h,s:d.s,l:d.l-10}:{h:d.h,s:d.s,l:d.l+10}));return{background:{base:e.toUpperCase(),highlight:f.toUpperCase(),press:m.toUpperCase(),elevated:{base:e.toUpperCase(),highlight:f.toUpperCase(),press:m.toUpperCase()},tinted:{base:e.toUpperCase(),highlight:f.toUpperCase(),press:m.toUpperCase()}},text:{base:r.toUpperCase(),subdued:r.toUpperCase(),brightAccent:r.toUpperCase(),negative:r.toUpperCase(),warning:r.toUpperCase(),positive:r.toUpperCase(),announcement:r.toUpperCase()},essential:{base:r.toUpperCase(),subdued:r.toUpperCase(),brightAccent:r.toUpperCase(),negative:r.toUpperCase(),warning:r.toUpperCase(),positive:r.toUpperCase(),announcement:r.toUpperCase()},decorative:{base:r.toUpperCase(),subdued:r.toUpperCase()}}}},98184:(e,t,n)=>{"use strict";n.d(t,{Bd:()=>c,Cy:()=>d,Ke:()=>p,Lg:()=>a,MY:()=>u,jH:()=>r,kX:()=>f,nk:()=>s,ok:()=>h,sZ:()=>l,uV:()=>m,zM:()=>_});var i=n(60165),o=n(435),r=400,a=700,s=900,c=1050,l=1060,u="200px",d=(0,o._6)("tighter","24px"),p="0.1s",h=i.Vu,f=i.ZS,m="9999px",_="not-allowed"},31935:(e,t,n)=>{"use strict";function i(e){throw new Error("Unreachable value")}n.d(t,{x:()=>i})},83663:(e,t,n)=>{"use strict";function i(e,t){return function(e){return e&&"string"==typeof e.valueOf()}(e)?t:e}n.d(t,{Pv:()=>a,Px:()=>s,YY:()=>o,ZH:()=>r,hG:()=>c,vt:()=>i,xs:()=>d});var o=function(){return"undefined"!=typeof window},r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)};function a(e){var t="ltr";return e.current&&(t=window.getComputedStyle(e.current).direction),"ltr"===t}function s(e){return function(t){e.forEach((function(e){"function"==typeof e?e(t):null!==e&&(e.current=t)}))}}var c=function(e){return parseInt(e,10)},l={bass:"headlineLarge",forte:"headlineMedium",brio:"titleLarge",altoBrio:"titleLarge",alto:"titleMedium",canon:"titleSmall",celloCanon:"titleSmall",cello:"bodyMediumBold",ballad:"bodyMedium",balladBold:"bodyMediumBold",viola:"bodySmall",violaBold:"bodySmallBold",mesto:"bodySmall",mestoBold:"bodySmallBold",finale:"marginal",finaleBold:"marginalBold",metronome:"bodySmallBold",minuet:"marginal",minuetBold:"marginalBold"},u={cello:"bodyMediumBold",ballad:"bodyMediumBold",viola:"bodySmallBold",mesto:"bodySmallBold",finale:"marginalBold",metronome:"bodySmallBold",minuet:"marginalBold"};function d(e,t){return Object.values(l).includes(e)?e:"black"!==t&&"bold"!==t||!Object.keys(u).includes(e)?l[e]:u[e]}},63426:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});const i="music",o="1.0.0",r="default",a="14.14.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-abp"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}consumptionCapModalFactory(){return new c.ConsumptionCapModalEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ConsumptionCapModalEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"consumption_cap_modal"}),t&&(this._parentAbsoluteLocation=t)}topUpButtonFactory(){return new e.ConsumptionCapModalEventFactory.TopUpButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}dismissButtonFactory(){return new e.ConsumptionCapModalEventFactory.DismissButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.TopUpButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"top_up_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConsumptionCapModalEventFactory||(e.ConsumptionCapModalEventFactory={}))}(c||(c={})),function(e){!function(e){e.DismissButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"dismiss_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConsumptionCapModalEventFactory||(e.ConsumptionCapModalEventFactory={}))}(c||(c={}))},68270:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});const i="music",o="4.3.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-album",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}trackListFactory(){return new c.TrackListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}moreByArtistShelfFactory(){return new c.MoreByArtistShelfEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}merchItemsFactory(){return new c.MerchItemsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}upgradeButtonFactory(){return new c.UpgradeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}coverArtFactory(){return new e.HeaderEventFactory.CoverArtEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}titleFactory(){return new e.HeaderEventFactory.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}artistNameFactory(){return new e.HeaderEventFactory.ArtistNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveButtonFactory(){return new e.ActionBarEventFactory.SaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.ActionBarEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new e.ActionBarEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TrackListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"track_list"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.MoreByArtistShelfEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"more_by_artist_shelf"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.MerchItemsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"merch_items"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.UpgradeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"upgrade_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.CoverArtEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cover_art"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.ArtistNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.SaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitDislike({itemToBeDisliked:e}){return{actionParameterNames:["item_to_be_disliked"],actionParameterValues:[e.toString()],actionName:"dislike",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitStopDownload({itemToStopDownload:e}){return{actionParameterNames:["item_to_stop_download"],actionParameterValues:[e.toString()],actionName:"stop_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={}))},38324:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});const i="music",o="3.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-aligned-curation",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}filterContainerFactory(){return new c.FilterContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}curationContextListFactory(e){return new c.CurationContextListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}doneButtonFactory(){return new c.DoneButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.FilterContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"filter_container"}),t&&(this._parentAbsoluteLocation=t)}textFilterInputFieldFactory(){return new e.FilterContainerEventFactory.TextFilterInputFieldEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}textFilterClearButtonFactory(){return new e.FilterContainerEventFactory.TextFilterClearButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.CurationContextListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"curation_context_list"}),t&&(this._parentAbsoluteLocation=t)}createPlaylistButtonFactory(t){return new e.CurationContextListEventFactory.CreatePlaylistButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}curationContextItemFactory(t){return new e.CurationContextListEventFactory.CurationContextItemEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DoneButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"done_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveItemFromPlaylist({itemToBeRemovedFromPlaylist:e,playlist:t}){return{actionParameterNames:["item_to_be_removed_from_playlist","playlist"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_item_from_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.TextFilterInputFieldEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"text_filter_input_field"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFocusInputField(){return{actionName:"focus_input_field",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FilterContainerEventFactory||(e.FilterContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.TextFilterClearButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"text_filter_clear_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FilterContainerEventFactory||(e.FilterContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.CreatePlaylistButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"create_playlist_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CurationContextListEventFactory||(e.CurationContextListEventFactory={}))}(c||(c={})),function(e){!function(e){e.CurationContextItemEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"curation_context_item"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSelectEntityInList({entityToBeSelected:e}){return{actionParameterNames:["entity_to_be_selected"],actionParameterValues:[e.toString()],actionName:"select_entity_in_list",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitDeselectEntityInList({entityToBeDeselected:e}){return{actionParameterNames:["entity_to_be_deselected"],actionParameterValues:[e.toString()],actionName:"deselect_entity_in_list",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CurationContextListEventFactory||(e.CurationContextListEventFactory={}))}(c||(c={}))},58093:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});const i="music",o="1.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-artist-about-modal",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},24305:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});const i="music",o="6.1.1",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-artist",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}featuredFactory(){return new c.FeaturedEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}discographyShelfFactory(e){return new c.DiscographyShelfEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}aboutFactory(){return new c.AboutEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}artistAboutModalFactory(){return new c.ArtistAboutModalEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}offersFactory(){return new c.OffersEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}topBarFactory(){return new e.HeaderEventFactory.TopBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followButtonFactory(){return new e.ActionBarEventFactory.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.FeaturedEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"featured"}),t&&(this._parentAbsoluteLocation=t)}popularTracksFactory(){return new e.FeaturedEventFactory.PopularTracksEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}likedSongsFactory(){return new e.FeaturedEventFactory.LikedSongsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}pickedFactory(){return new e.FeaturedEventFactory.PickedEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}upcomingReleaseFactory(){return new e.FeaturedEventFactory.UpcomingReleaseEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.DiscographyShelfEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"discography_shelf"}),t&&(this._parentAbsoluteLocation=t)}shelfHeaderFactory(){return new e.DiscographyShelfEventFactory.ShelfHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}chipsFactory(){return new e.DiscographyShelfEventFactory.ChipsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AboutEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"about"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ArtistAboutModalEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_about_modal"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.OffersEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"offers"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(t){t.TopBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"top_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.HeaderEventFactory.TopBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(t){t.PopularTracksEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"popular_tracks"}),t&&(this._parentAbsoluteLocation=t)}seeMoreButtonFactory(){return new e.FeaturedEventFactory.PopularTracksEventFactory.SeeMoreButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(t){t.LikedSongsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"liked_songs"}),t&&(this._parentAbsoluteLocation=t)}artistFactory(){return new e.FeaturedEventFactory.LikedSongsEventFactory.ArtistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}linkFactory(){return new e.FeaturedEventFactory.LikedSongsEventFactory.LinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(t){t.PickedEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"picked"}),t&&(this._parentAbsoluteLocation=t)}artworkFactory(){return new e.FeaturedEventFactory.PickedEventFactory.ArtworkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}linkFactory(){return new e.FeaturedEventFactory.PickedEventFactory.LinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(t){t.UpcomingReleaseEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"upcoming_release"}),t&&(this._parentAbsoluteLocation=t)}albumNameFactory(){return new e.FeaturedEventFactory.UpcomingReleaseEventFactory.AlbumNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}albumImageFactory(){return new e.FeaturedEventFactory.UpcomingReleaseEventFactory.AlbumImageEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(t){t.ShelfHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_header"}),t&&(this._parentAbsoluteLocation=t)}titleFactory(){return new e.DiscographyShelfEventFactory.ShelfHeaderEventFactory.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seeAllButtonFactory(){return new e.DiscographyShelfEventFactory.ShelfHeaderEventFactory.SeeAllButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.DiscographyShelfEventFactory||(e.DiscographyShelfEventFactory={}))}(c||(c={})),function(e){!function(t){t.ChipsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"chips"}),t&&(this._parentAbsoluteLocation=t)}chipFactory(t){return new e.DiscographyShelfEventFactory.ChipsEventFactory.ChipEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.DiscographyShelfEventFactory||(e.DiscographyShelfEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TopBarEventFactory||(e.TopBarEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.SeeMoreButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_more_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PopularTracksEventFactory||(e.PopularTracksEventFactory={}))}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ArtistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.LikedSongsEventFactory||(e.LikedSongsEventFactory={}))}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.LinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.LikedSongsEventFactory||(e.LikedSongsEventFactory={}))}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ArtworkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artwork"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PickedEventFactory||(e.PickedEventFactory={}))}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.LinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PickedEventFactory||(e.PickedEventFactory={}))}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.AlbumNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"album_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.UpcomingReleaseEventFactory||(e.UpcomingReleaseEventFactory={}))}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.AlbumImageEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"album_image"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.UpcomingReleaseEventFactory||(e.UpcomingReleaseEventFactory={}))}(e.FeaturedEventFactory||(e.FeaturedEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfHeaderEventFactory||(e.ShelfHeaderEventFactory={}))}(e.DiscographyShelfEventFactory||(e.DiscographyShelfEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.SeeAllButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_all_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfHeaderEventFactory||(e.ShelfHeaderEventFactory={}))}(e.DiscographyShelfEventFactory||(e.DiscographyShelfEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ChipEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"chip"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChipsEventFactory||(e.ChipsEventFactory={}))}(e.DiscographyShelfEventFactory||(e.DiscographyShelfEventFactory={}))}(c||(c={}))},42:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});const i="music",o="2.1.0",r="default",a="15.1.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-audiobook-list-row",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}playButtonFactory(){return new c.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveToLibraryButtonFactory(){return new c.SaveToLibraryButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new c.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareButtonFactory(){return new c.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new c.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addButtonFactory(){return new c.AddButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}genreLinkFactory(e){return new c.GenreLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}secondaryHitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"secondary_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SaveToLibraryButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_to_library_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GenreLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"genre_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},12321:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});const i="music",o="2.2.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-audiobook",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}aboutSectionFactory(){return new c.AboutSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}chapterListFactory(){return new c.ChapterListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveToLibraryButtonFactory(){return new e.ActionBarEventFactory.SaveToLibraryButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.ActionBarEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextButtonFactory(){return new e.ActionBarEventFactory.ContextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}buyButtonFactory(t){return new e.ActionBarEventFactory.BuyButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}getButtonFactory(t){return new e.ActionBarEventFactory.GetButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.AboutSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"about_section"}),t&&(this._parentAbsoluteLocation=t)}seeMoreButtonFactory(){return new e.AboutSectionEventFactory.SeeMoreButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}ratingButtonFactory(){return new e.AboutSectionEventFactory.RatingButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}topicLinkFactory(){return new e.AboutSectionEventFactory.TopicLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ChapterListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"chapter_list"}),t&&(this._parentAbsoluteLocation=t)}chapterBlockFactory(t){return new e.ChapterListEventFactory.ChapterBlockEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShowPaywall({paywalledItem:e}){return{actionParameterNames:["paywalled_item"],actionParameterValues:[e.toString()],actionName:"show_paywall",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.SaveToLibraryButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_to_library_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.BuyButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"buy_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShowPaywall({paywalledItem:e}){return{actionParameterNames:["paywalled_item"],actionParameterValues:[e.toString()],actionName:"show_paywall",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.GetButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"get_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShowPaywall({paywalledItem:e}){return{actionParameterNames:["paywalled_item"],actionParameterValues:[e.toString()],actionName:"show_paywall",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.SeeMoreButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_more_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.AboutSectionEventFactory||(e.AboutSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.RatingButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"rating_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.AboutSectionEventFactory||(e.AboutSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.TopicLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"topic_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.AboutSectionEventFactory||(e.AboutSectionEventFactory={}))}(c||(c={})),function(e){!function(t){t.ChapterBlockEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"chapter_block"}),t&&(this._parentAbsoluteLocation=t)}contextMenuFactory(){return new e.ChapterListEventFactory.ChapterBlockEventFactory.ContextMenuEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playButtonFactory(){return new e.ChapterListEventFactory.ChapterBlockEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.ChapterListEventFactory.ChapterBlockEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}secondaryHitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"secondary_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChapterListEventFactory||(e.ChapterListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ContextMenuEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChapterBlockEventFactory||(e.ChapterBlockEventFactory={}))}(e.ChapterListEventFactory||(e.ChapterListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShowPaywall({paywalledItem:e}){return{actionParameterNames:["paywalled_item"],actionParameterValues:[e.toString()],actionName:"show_paywall",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChapterBlockEventFactory||(e.ChapterBlockEventFactory={}))}(e.ChapterListEventFactory||(e.ChapterListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChapterBlockEventFactory||(e.ChapterBlockEventFactory={}))}(e.ChapterListEventFactory||(e.ChapterListEventFactory={}))}(c||(c={}))},30575:(e,t,n)=>{"use strict";n.d(t,{R:()=>s});const i="music",o="0.1.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-birdhouse-overview"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}backButtonFactory(){return new c.BackButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}setupHeadphonesButtonFactory(){return new c.SetupHeadphonesButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}losslessOnboardingButtonFactory(){return new c.LosslessOnboardingButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}audioQualityCardFactory(){return new c.AudioQualityCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}qualitySettingsButtonFactory(){return new c.QualitySettingsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}changeModelButtonFactory(){return new c.ChangeModelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}optimizeToggleFactory(){return new c.OptimizeToggleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}externalizeToggleFactory(){return new c.ExternalizeToggleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}resetHeadphonesButtonFactory(){return new c.ResetHeadphonesButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.BackButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"back_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SetupHeadphonesButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"setup_headphones_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LosslessOnboardingButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"lossless_onboarding_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AudioQualityCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"audio_quality_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.QualitySettingsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"quality_settings_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ChangeModelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_model_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.OptimizeToggleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"optimize_toggle"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiElementToggle(){return{actionName:"ui_element_toggle",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ExternalizeToggleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"externalize_toggle"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiElementToggle(){return{actionName:"ui_element_toggle",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ResetHeadphonesButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"reset_headphones_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},46181:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});const i="music",o="0.1.0",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-blend-invitation"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}inviteButtonFactory(){return new c.InviteButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}joinButtonFactory(){return new c.JoinButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.InviteButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"invite_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCopyToClipboard(){return{actionName:"copy_to_clipboard",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.JoinButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"join_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},92867:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});const i="music",o="2.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-category-card",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}},37677:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});const i="music",o="3.1.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-concert-entity",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}venueMapLinkFactory(){return new c.VenueMapLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}interestedButtonFactory(){return new c.InterestedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new c.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}ticketProviderListFactory(){return new c.TicketProviderListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}lineupArtistsFactory(){return new c.LineupArtistsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}recommendedConcertsFactory(){return new c.RecommendedConcertsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareEventButtonFactory(e){return new c.ShareEventButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}concertLocationLinkFactory(){return new c.ConcertLocationLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.VenueMapLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"venue_map_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.InterestedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"interested_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiElementToggle(){return{actionName:"ui_element_toggle",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitAddInterest(){return{actionName:"add_interest",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveInterest(){return{actionName:"remove_interest",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.TicketProviderListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"ticket_provider_list"}),t&&(this._parentAbsoluteLocation=t)}ticketProviderCellFactory(t){return new e.TicketProviderListEventFactory.TicketProviderCellEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LineupArtistsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"lineup_artists"}),t&&(this._parentAbsoluteLocation=t)}artistRowFactory(t){return new e.LineupArtistsEventFactory.ArtistRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RecommendedConcertsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"recommended_concerts"}),t&&(this._parentAbsoluteLocation=t)}browseCardFactory(){return new e.RecommendedConcertsEventFactory.BrowseCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}concertCardFactory(t){return new e.RecommendedConcertsEventFactory.ConcertCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShareEventButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"share_event_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ConcertLocationLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"concert_location_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.TicketProviderCellEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"ticket_provider_cell"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TicketProviderListEventFactory||(e.TicketProviderListEventFactory={}))}(c||(c={})),function(e){!function(t){t.ArtistRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist_row"}),t&&(this._parentAbsoluteLocation=t)}artistCardFactory(){return new e.LineupArtistsEventFactory.ArtistRowEventFactory.ArtistCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seeDiscographyLinkFactory(){return new e.LineupArtistsEventFactory.ArtistRowEventFactory.SeeDiscographyLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextConcertNearUserLinkFactory(t){return new e.LineupArtistsEventFactory.ArtistRowEventFactory.NextConcertNearUserLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}artistEventsLinkFactory(t){return new e.LineupArtistsEventFactory.ArtistRowEventFactory.ArtistEventsLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.LineupArtistsEventFactory||(e.LineupArtistsEventFactory={}))}(c||(c={})),function(e){!function(e){e.BrowseCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"browse_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.RecommendedConcertsEventFactory||(e.RecommendedConcertsEventFactory={}))}(c||(c={})),function(e){!function(e){e.ConcertCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"concert_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.RecommendedConcertsEventFactory||(e.RecommendedConcertsEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ArtistCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ArtistRowEventFactory||(e.ArtistRowEventFactory={}))}(e.LineupArtistsEventFactory||(e.LineupArtistsEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.SeeDiscographyLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_discography_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ArtistRowEventFactory||(e.ArtistRowEventFactory={}))}(e.LineupArtistsEventFactory||(e.LineupArtistsEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.NextConcertNearUserLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"next_concert_near_user_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ArtistRowEventFactory||(e.ArtistRowEventFactory={}))}(e.LineupArtistsEventFactory||(e.LineupArtistsEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ArtistEventsLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist_events_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ArtistRowEventFactory||(e.ArtistRowEventFactory={}))}(e.LineupArtistsEventFactory||(e.LineupArtistsEventFactory={}))}(c||(c={}))},33634:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});const i="music",o="0.5.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-concerts-artist-concerts",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}locationEventsFactory(e){return new c.LocationEventsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}browseAllEventsButtonFactory(e){return new c.BrowseAllEventsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}otherEventsFactory(){return new c.OtherEventsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}promoRowFactory(){return new c.PromoRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}changeLocationButtonFactory(){return new e.HeaderEventFactory.ChangeLocationButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareButtonFactory(){return new e.HeaderEventFactory.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}changeLocationUiFactory(t){return new e.HeaderEventFactory.ChangeLocationUiEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.LocationEventsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"location_events"}),t&&(this._parentAbsoluteLocation=t)}eventRowFactory(t){return new e.LocationEventsEventFactory.EventRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.BrowseAllEventsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"browse_all_events_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.OtherEventsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"other_events"}),t&&(this._parentAbsoluteLocation=t)}eventRowFactory(t){return new e.OtherEventsEventFactory.EventRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PromoRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"promo_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.ChangeLocationButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(t){t.ChangeLocationUiEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"change_location_ui"}),t&&(this._parentAbsoluteLocation=t)}changeLocationFormFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.ChangeLocationFormEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}locationsResponseFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.LocationsResponseEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.EventRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.LocationEventsEventFactory||(e.LocationEventsEventFactory={}))}(c||(c={})),function(e){!function(e){e.EventRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.OtherEventsEventFactory||(e.OtherEventsEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.ChangeLocationFormEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_form"}),t&&(this._parentAbsoluteLocation=t)}changeLocationInputFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.ChangeLocationFormEventFactory.ChangeLocationInputEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}changeLocationClearFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.ChangeLocationFormEventFactory.ChangeLocationClearEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.ChangeLocationUiEventFactory||(t.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.LocationsResponseEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"locations_response"}),t&&(this._parentAbsoluteLocation=t)}locationResultFactory(t){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.LocationsResponseEventFactory.LocationResultEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.ChangeLocationUiEventFactory||(t.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.ChangeLocationInputEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_input"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}keyStrokeTextEdit({fieldToBeChanged:e}){return{actionParameterNames:["field_to_be_changed"],actionParameterValues:[e.toString()],actionName:"text_edit",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChangeLocationFormEventFactory||(e.ChangeLocationFormEventFactory={}))}(e.ChangeLocationUiEventFactory||(e.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.ChangeLocationClearEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_clear"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitTextClear(){return{actionName:"text_clear",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChangeLocationFormEventFactory||(e.ChangeLocationFormEventFactory={}))}(e.ChangeLocationUiEventFactory||(e.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.LocationResultEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"location_result"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.LocationsResponseEventFactory||(e.LocationsResponseEventFactory={}))}(e.ChangeLocationUiEventFactory||(e.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={}))},73662:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});const i="music",o="1.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-connect-bar"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}activeDeviceButtonFactory(){return new c.ActiveDeviceButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ActiveDeviceButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"active_device_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},949:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});const i="music",o="1.2.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-connect-context-menu"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}forgetDeviceButtonFactory(){return new c.ForgetDeviceButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}deviceIncarnationContainerFactory(){return new c.DeviceIncarnationContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.ForgetDeviceButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"forget_device_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLogoutFromRemoteDevice({remoteDeviceId:e}){return{actionParameterNames:["remote_device_id"],actionParameterValues:[e.toString()],actionName:"logout_from_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DeviceIncarnationContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"device_incarnation_container"}),t&&(this._parentAbsoluteLocation=t)}googleCastButtonFactory(){return new e.DeviceIncarnationContainerEventFactory.GoogleCastButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}spotifyConnectButtonFactory(){return new e.DeviceIncarnationContainerEventFactory.SpotifyConnectButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.GoogleCastButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"google_cast_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitChangeRemoteDeviceIncarnation({remoteDeviceId:e}){return{actionParameterNames:["remote_device_id"],actionParameterValues:[e.toString()],actionName:"change_remote_device_incarnation",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNoAction(){return{actionName:"no_action",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DeviceIncarnationContainerEventFactory||(e.DeviceIncarnationContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.SpotifyConnectButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"spotify_connect_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitChangeRemoteDeviceIncarnation({remoteDeviceId:e}){return{actionParameterNames:["remote_device_id"],actionParameterValues:[e.toString()],actionName:"change_remote_device_incarnation",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNoAction(){return{actionName:"no_action",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DeviceIncarnationContainerEventFactory||(e.DeviceIncarnationContainerEventFactory={}))}(c||(c={}))},76140:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});const i="music",o="3.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-connect-device-picker-btn"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}notConnectedButtonFactory(){return new c.NotConnectedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}connectingButtonFactory(){return new c.ConnectingButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}connectedButtonFactory(){return new c.ConnectedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.NotConnectedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"not_connected_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ConnectingButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"connecting_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ConnectedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"connected_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},36998:(e,t,n)=>{"use strict";n.d(t,{BA:()=>l,gw:()=>s,pG:()=>c});const i="music",o="8.0.0",r="default",a="15.1.0",s={FLYOUT:"flyout",SIDEPANEL:"sidepanel"};function c(e){return new l(e)}class l{constructor(e){this._path=[{name:"desktop-connect-device-picker",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}containerViewFactory(){return new l.ContainerViewEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ContainerViewEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"container_view"}),t&&(this._parentAbsoluteLocation=t)}headerFactory(){return new e.ContainerViewEventFactory.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}noDevicesViewFactory(){return new e.ContainerViewEventFactory.NoDevicesViewEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}deviceListFactory(){return new e.ContainerViewEventFactory.DeviceListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}onNetworkDeviceListFactory(){return new e.ContainerViewEventFactory.OnNetworkDeviceListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}offNetworkDeviceListFactory(){return new e.ContainerViewEventFactory.OffNetworkDeviceListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}externalHelpLinkFactory(){return new e.ContainerViewEventFactory.ExternalHelpLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}externalConnectHubLinkFactory(){return new e.ContainerViewEventFactory.ExternalConnectHubLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(l||(l={})),function(e){!function(t){t.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}activeDeviceFactory(){return new e.ContainerViewEventFactory.HeaderEventFactory.ActiveDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){e.NoDevicesViewEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"no_devices_view"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){t.DeviceListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"device_list"}),t&&(this._parentAbsoluteLocation=t)}localDeviceFactory(){return new e.ContainerViewEventFactory.DeviceListEventFactory.LocalDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}remoteDeviceFactory(t){return new e.ContainerViewEventFactory.DeviceListEventFactory.RemoteDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}disabledDeviceFactory(t){return new e.ContainerViewEventFactory.DeviceListEventFactory.DisabledDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}castPlaceholderFactory(){return new e.ContainerViewEventFactory.DeviceListEventFactory.CastPlaceholderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){t.OnNetworkDeviceListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"on_network_device_list"}),t&&(this._parentAbsoluteLocation=t)}remoteDeviceFactory(t){return new e.ContainerViewEventFactory.OnNetworkDeviceListEventFactory.RemoteDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}disabledDeviceFactory(t){return new e.ContainerViewEventFactory.OnNetworkDeviceListEventFactory.DisabledDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}localDeviceFactory(){return new e.ContainerViewEventFactory.OnNetworkDeviceListEventFactory.LocalDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){t.OffNetworkDeviceListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"off_network_device_list"}),t&&(this._parentAbsoluteLocation=t)}remoteDeviceFactory(t){return new e.ContainerViewEventFactory.OffNetworkDeviceListEventFactory.RemoteDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}disabledDeviceFactory(t){return new e.ContainerViewEventFactory.OffNetworkDeviceListEventFactory.DisabledDeviceEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){e.ExternalHelpLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"external_help_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){e.ExternalConnectHubLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"external_connect_hub_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){!function(t){t.ActiveDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"active_device"}),t&&(this._parentAbsoluteLocation=t)}contextMenuButtonFactory(t){return new e.ContainerViewEventFactory.HeaderEventFactory.ActiveDeviceEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){e.LocalDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"local_device"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPullPlaybackToLocalDevice(){return{actionName:"pull_playback_to_local_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DeviceListEventFactory||(e.DeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){!function(t){t.RemoteDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"remote_device"}),t&&(this._parentAbsoluteLocation=t)}contextMenuButtonFactory(t){return new e.ContainerViewEventFactory.DeviceListEventFactory.RemoteDeviceEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitConnectToRemoteDevice({remoteDeviceId:e}){return{actionParameterNames:["remote_device_id"],actionParameterValues:[e.toString()],actionName:"connect_to_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.DeviceListEventFactory||(t.DeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){!function(t){t.DisabledDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"disabled_device"}),t&&(this._parentAbsoluteLocation=t)}contextMenuButtonFactory(t){return new e.ContainerViewEventFactory.DeviceListEventFactory.DisabledDeviceEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.DeviceListEventFactory||(t.DeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){e.CastPlaceholderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cast_placeholder"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DeviceListEventFactory||(e.DeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){!function(t){t.RemoteDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"remote_device"}),t&&(this._parentAbsoluteLocation=t)}contextMenuButtonFactory(t){return new e.ContainerViewEventFactory.OnNetworkDeviceListEventFactory.RemoteDeviceEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitConnectToRemoteDevice({remoteDeviceId:e}){return{actionParameterNames:["remote_device_id"],actionParameterValues:[e.toString()],actionName:"connect_to_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.OnNetworkDeviceListEventFactory||(t.OnNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){e.DisabledDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"disabled_device"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.OnNetworkDeviceListEventFactory||(e.OnNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){e.LocalDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"local_device"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPullPlaybackToLocalDevice(){return{actionName:"pull_playback_to_local_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.OnNetworkDeviceListEventFactory||(e.OnNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){!function(t){t.RemoteDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"remote_device"}),t&&(this._parentAbsoluteLocation=t)}contextMenuButtonFactory(t){return new e.ContainerViewEventFactory.OffNetworkDeviceListEventFactory.RemoteDeviceEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitConnectToRemoteDevice({remoteDeviceId:e}){return{actionParameterNames:["remote_device_id"],actionParameterValues:[e.toString()],actionName:"connect_to_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.OffNetworkDeviceListEventFactory||(t.OffNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(t){!function(t){t.DisabledDeviceEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"disabled_device"}),t&&(this._parentAbsoluteLocation=t)}contextMenuButtonFactory(t){return new e.ContainerViewEventFactory.OffNetworkDeviceListEventFactory.DisabledDeviceEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.OffNetworkDeviceListEventFactory||(t.OffNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActiveDeviceEventFactory||(e.ActiveDeviceEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.RemoteDeviceEventFactory||(e.RemoteDeviceEventFactory={}))}(e.DeviceListEventFactory||(e.DeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DisabledDeviceEventFactory||(e.DisabledDeviceEventFactory={}))}(e.DeviceListEventFactory||(e.DeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.RemoteDeviceEventFactory||(e.RemoteDeviceEventFactory={}))}(e.OnNetworkDeviceListEventFactory||(e.OnNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.RemoteDeviceEventFactory||(e.RemoteDeviceEventFactory={}))}(e.OffNetworkDeviceListEventFactory||(e.OffNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={})),function(e){!function(e){!function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DisabledDeviceEventFactory||(e.DisabledDeviceEventFactory={}))}(e.OffNetworkDeviceListEventFactory||(e.OffNetworkDeviceListEventFactory={}))}(e.ContainerViewEventFactory||(e.ContainerViewEventFactory={}))}(l||(l={}))},18086:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});const i="music",o="1.2.0",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-connect-nudge"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}connectFromDevicePickerNudgeFactory(){return new c.ConnectFromDevicePickerNudgeEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}djVoiceUnsupportedNudgeFactory(){return new c.DjVoiceUnsupportedNudgeEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ConnectFromDevicePickerNudgeEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"connect_from_device_picker_nudge"}),t&&(this._parentAbsoluteLocation=t)}closeButtonFactory(){return new e.ConnectFromDevicePickerNudgeEventFactory.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNoAction(){return{actionName:"no_action",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DjVoiceUnsupportedNudgeEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"dj_voice_unsupported_nudge"}),t&&(this._parentAbsoluteLocation=t)}closeButtonFactory(){return new e.DjVoiceUnsupportedNudgeEventFactory.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConnectFromDevicePickerNudgeEventFactory||(e.ConnectFromDevicePickerNudgeEventFactory={}))}(c||(c={})),function(e){!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DjVoiceUnsupportedNudgeEventFactory||(e.DjVoiceUnsupportedNudgeEventFactory={}))}(c||(c={}))},42349:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});const i="music",o="9.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-context-menu",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}navigateButtonFactory(e){return new c.NavigateButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}saveButtonFactory(){return new c.SaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}reportButtonFactory(){return new c.ReportButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addToPlaylistButtonFactory(){return new c.AddToPlaylistButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}copyLinkButtonFactory(){return new c.CopyLinkButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followButtonFactory(){return new c.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addToQueueButtonFactory(){return new c.AddToQueueButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}openInDesktopButtonFactory(){return new c.OpenInDesktopButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}markPlayedButtonFactory(){return new c.MarkPlayedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}excludeRecommendationsButtonFactory(){return new c.ExcludeRecommendationsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}displayInProfileButtonFactory(){return new c.DisplayInProfileButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}editButtonFactory(e){return new c.EditButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}deleteButtonFactory(){return new c.DeleteButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}renameButtonFactory(){return new c.RenameButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}togglePlaylistPermissionsButtonFactory(){return new c.TogglePlaylistPermissionsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}enhanceButtonFactory(){return new c.EnhanceButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}createButtonFactory(){return new c.CreateButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}leavePlaylistButtonFactory(){return new c.LeavePlaylistButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}showCreditsButtonFactory(e){return new c.ShowCreditsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}removeFromPlaylistButtonFactory(){return new c.RemoveFromPlaylistButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareEmbedButtonFactory(e){return new c.ShareEmbedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}blockButtonFactory(){return new c.BlockButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}collaborativePlaylistButtonFactory(){return new c.CollaborativePlaylistButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new c.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}removeFromQueueButtonFactory(){return new c.RemoveFromQueueButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addToOtherPlaylistFactory(){return new c.AddToOtherPlaylistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playButtonFactory(e){return new c.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}pinButtonFactory(){return new c.PinButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadToDeviceSubmenuFactory(){return new c.DownloadToDeviceSubmenuEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}inviteCollaboratorsButtonFactory(){return new c.InviteCollaboratorsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}moveToFolderSubmenuFactory(){return new c.MoveToFolderSubmenuEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}createJamButtonFactory(){return new c.CreateJamButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}rateButtonFactory(){return new c.RateButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}canvasVideosFactory(){return new c.CanvasVideosEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.NavigateButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"navigate_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ReportButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"report_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddToPlaylistButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_to_playlist_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CopyLinkButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"copy_link_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCopyToClipboard(){return{actionName:"copy_to_clipboard",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddToQueueButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_to_queue_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddItemToQueue({itemToAddToQueue:e}){return{actionParameterNames:["item_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_item_to_queue",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitAddItemsToQueue({numberOfItemsToAddToQueue:e}){return{actionParameterNames:["number_of_items_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_items_to_queue",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"open_in_desktop_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitOpenApp({destination:e,app:t}){return{actionParameterNames:["destination","app"],actionParameterValues:[e.toString(),t.toString()],actionName:"open_app",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.App={DESKTOP:"desktop"},e.OpenInDesktopButtonEventFactory=t}(c||(c={})),function(e){e.MarkPlayedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"mark_played_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitMarkAsPlayed({itemPlayed:e}){return{actionParameterNames:["item_played"],actionParameterValues:[e.toString()],actionName:"mark_as_played",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitMarkAsUnplayed({itemUnplayed:e}){return{actionParameterNames:["item_unplayed"],actionParameterValues:[e.toString()],actionName:"mark_as_unplayed",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ExcludeRecommendationsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"exclude_recommendations_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitExcludeFromRecommendations({contextToBeExcluded:e}){return{actionParameterNames:["context_to_be_excluded"],actionParameterValues:[e.toString()],actionName:"exclude_from_recommendations",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitIncludeInRecommendations({contextToBeIncluded:e}){return{actionParameterNames:["context_to_be_included"],actionParameterValues:[e.toString()],actionName:"include_in_recommendations",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DisplayInProfileButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"display_in_profile_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShowPlaylistOnProfile({playlistToBeShown:e}){return{actionParameterNames:["playlist_to_be_shown"],actionParameterValues:[e.toString()],actionName:"show_playlist_on_profile",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitHidePlaylistOnProfile({playlistToBeHidden:e}){return{actionParameterNames:["playlist_to_be_hidden"],actionParameterValues:[e.toString()],actionName:"hide_playlist_on_profile",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.EditButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"edit_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DeleteButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"delete_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDeletePlaylist({playlistToBeDeleted:e}){return{actionParameterNames:["playlist_to_be_deleted"],actionParameterValues:[e.toString()],actionName:"delete_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitDeleteFolder({uri:e}){return{actionParameterNames:["uri"],actionParameterValues:[e.toString()],actionName:"delete_folder",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RenameButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"rename_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRenamePlaylist({playlistToBeRenamed:e}){return{actionParameterNames:["playlist_to_be_renamed"],actionParameterValues:[e.toString()],actionName:"rename_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRenameFolder({uri:e}){return{actionParameterNames:["uri"],actionParameterValues:[e.toString()],actionName:"rename_folder",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.TogglePlaylistPermissionsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"toggle_playlist_permissions_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitMakePlaylistPrivate({playlistToBeMadePrivate:e}){return{actionParameterNames:["playlist_to_be_made_private"],actionParameterValues:[e.toString()],actionName:"make_playlist_private",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitMakePlaylistPublic({playlistToBeMadePublic:e}){return{actionParameterNames:["playlist_to_be_made_public"],actionParameterValues:[e.toString()],actionName:"make_playlist_public",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.EnhanceButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"enhance_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitEnhanceContext({contextToBeEnhanced:e}){return{actionParameterNames:["context_to_be_enhanced"],actionParameterValues:[e.toString()],actionName:"enhance_context",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnenhanceContext({contextToBeUnenhanced:e}){return{actionParameterNames:["context_to_be_unenhanced"],actionParameterValues:[e.toString()],actionName:"unenhance_context",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CreateButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitCreateFolder(){return{actionName:"create_folder",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LeavePlaylistButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"leave_playlist_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLeavePlaylist({playlist:e}){return{actionParameterNames:["playlist"],actionParameterValues:[e.toString()],actionName:"leave_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShowCreditsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"show_credits_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RemoveFromPlaylistButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remove_from_playlist_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveItemFromPlaylist({itemToBeRemovedFromPlaylist:e,playlist:t}){return{actionParameterNames:["item_to_be_removed_from_playlist","playlist"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_item_from_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShareEmbedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"share_embed_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.BlockButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"block_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitBlockUser({userToBeBlocked:e}){return{actionParameterNames:["user_to_be_blocked"],actionParameterValues:[e.toString()],actionName:"block_user",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnblockUser({userToBeUnblocked:e}){return{actionParameterNames:["user_to_be_unblocked"],actionParameterValues:[e.toString()],actionName:"unblock_user",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CollaborativePlaylistButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"collaborative_playlist_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitMakePlaylistCollaborative({playlistToBeMadeCollaborative:e}){return{actionParameterNames:["playlist_to_be_made_collaborative"],actionParameterValues:[e.toString()],actionName:"make_playlist_collaborative",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitMakePlaylistNonCollaborative({playlistToBeMadeNonCollaborative:e}){return{actionParameterNames:["playlist_to_be_made_non_collaborative"],actionParameterValues:[e.toString()],actionName:"make_playlist_non_collaborative",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitStopDownload({itemToStopDownload:e}){return{actionParameterNames:["item_to_stop_download"],actionParameterValues:[e.toString()],actionName:"stop_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RemoveFromQueueButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remove_from_queue_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveItemFromQueue({itemToRemoveFromQueue:e}){return{actionParameterNames:["item_to_remove_from_queue"],actionParameterValues:[e.toString()],actionName:"remove_item_from_queue",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveItemsFromQueue({numberOfItemsToRemoveFromQueue:e}){return{actionParameterNames:["number_of_items_to_remove_from_queue"],actionParameterValues:[e.toString()],actionName:"remove_items_from_queue",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddToOtherPlaylistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_to_other_playlist"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PinButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"pin_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPinItem({itemToPin:e}){return{actionParameterNames:["item_to_pin"],actionParameterValues:[e.toString()],actionName:"pin_item",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnpinItem({itemToUnpin:e}){return{actionParameterNames:["item_to_unpin"],actionParameterValues:[e.toString()],actionName:"unpin_item",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DownloadToDeviceSubmenuEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_to_device_submenu"}),t&&(this._parentAbsoluteLocation=t)}remoteDeviceDownloadButtonFactory(){return new e.DownloadToDeviceSubmenuEventFactory.RemoteDeviceDownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.DownloadToDeviceSubmenuEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.InviteCollaboratorsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"invite_collaborators_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCopyToClipboard(){return{actionName:"copy_to_clipboard",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.MoveToFolderSubmenuEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"move_to_folder_submenu"}),t&&(this._parentAbsoluteLocation=t)}createFolderFactory(){return new e.MoveToFolderSubmenuEventFactory.CreateFolderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}removeFromFoldersFactory(){return new e.MoveToFolderSubmenuEventFactory.RemoveFromFoldersEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addToFolderButtonFactory(){return new e.MoveToFolderSubmenuEventFactory.AddToFolderButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.CreateJamButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_jam_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RateButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"rate_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CanvasVideosEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"canvas_videos"}),t&&(this._parentAbsoluteLocation=t)}toggleCanvasVideosFactory(){return new e.CanvasVideosEventFactory.ToggleCanvasVideosEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.RemoteDeviceDownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remote_device_download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownloadToRemoteDevice({itemToDownload:e,remoteDeviceId:t,remoteDeviceType:n,remoteClientPlatform:s}){return{actionParameterNames:["item_to_download","remote_device_id","remote_device_type","remote_client_platform"],actionParameterValues:[e.toString(),t.toString(),n.toString(),s.toString()],actionName:"download_to_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownloadFromRemoteDevice({itemToRemoveFromDownloads:e,remoteDeviceId:t,remoteDeviceType:n,remoteClientPlatform:s}){return{actionParameterNames:["item_to_remove_from_downloads","remote_device_id","remote_device_type","remote_client_platform"],actionParameterValues:[e.toString(),t.toString(),n.toString(),s.toString()],actionName:"remove_download_from_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitStopDownloadToRemoteDevice({itemToStopDownload:e,remoteDeviceId:t,remoteDeviceType:n,remoteClientPlatform:s}){return{actionParameterNames:["item_to_stop_download","remote_device_id","remote_device_type","remote_client_platform"],actionParameterValues:[e.toString(),t.toString(),n.toString(),s.toString()],actionName:"stop_download_to_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DownloadToDeviceSubmenuEventFactory||(e.DownloadToDeviceSubmenuEventFactory={}))}(c||(c={})),function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitStopDownload({itemToStopDownload:e}){return{actionParameterNames:["item_to_stop_download"],actionParameterValues:[e.toString()],actionName:"stop_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DownloadToDeviceSubmenuEventFactory||(e.DownloadToDeviceSubmenuEventFactory={}))}(c||(c={})),function(e){!function(e){e.CreateFolderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_folder"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCreateFolder(){return{actionName:"create_folder",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.MoveToFolderSubmenuEventFactory||(e.MoveToFolderSubmenuEventFactory={}))}(c||(c={})),function(e){!function(e){e.RemoveFromFoldersEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remove_from_folders"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.MoveToFolderSubmenuEventFactory||(e.MoveToFolderSubmenuEventFactory={}))}(c||(c={})),function(e){!function(e){e.AddToFolderButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_to_folder_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.MoveToFolderSubmenuEventFactory||(e.MoveToFolderSubmenuEventFactory={}))}(c||(c={})),function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"toggle_canvas_videos"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitToggleState({stateBeforeToggle:e,stateAfterToggle:t}){return{actionParameterNames:["state_before_toggle","state_after_toggle"],actionParameterValues:[e.toString(),t.toString()],actionName:"toggle_state",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.StateBeforeToggle={SHOW_CANVAS_VIDEO:"show_canvas_video",SHOW_STATIC_ARTWORK:"show_static_artwork"},t.StateAfterToggle={SHOW_CANVAS_VIDEO:"show_canvas_video",SHOW_STATIC_ARTWORK:"show_static_artwork"},e.ToggleCanvasVideosEventFactory=t}(e.CanvasVideosEventFactory||(e.CanvasVideosEventFactory={}))}(c||(c={}))},78757:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});const i="music",o="0.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-culturalmoments-hub",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}shelvesFactory(){return new c.ShelvesEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}mobilePromptFactory(){return new c.MobilePromptEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ShelvesEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelves"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.MobilePromptEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"mobile_prompt"}),t&&(this._parentAbsoluteLocation=t)}appleBadgeFactory(){return new e.MobilePromptEventFactory.AppleBadgeEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}googleBadgeFactory(){return new e.MobilePromptEventFactory.GoogleBadgeEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.AppleBadgeEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"apple_badge"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToWebviewUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_webview_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.MobilePromptEventFactory||(e.MobilePromptEventFactory={}))}(c||(c={})),function(e){!function(e){e.GoogleBadgeEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"google_badge"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToWebviewUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_webview_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.MobilePromptEventFactory||(e.MobilePromptEventFactory={}))}(c||(c={}))},33265:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});const i="music",o="1.1.0",r="default",a="14.19.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-curation-button"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}defaultCurationSnackbarFactory(){return new c.DefaultCurationSnackbarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.DefaultCurationSnackbarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"default_curation_snackbar"}),t&&(this._parentAbsoluteLocation=t)}changeCurationContextButtonFactory(t){return new e.DefaultCurationSnackbarEventFactory.ChangeCurationContextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.ChangeCurationContextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"change_curation_context_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DefaultCurationSnackbarEventFactory||(e.DefaultCurationSnackbarEventFactory={}))}(c||(c={}))},86685:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});const i="music",o="0.1.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-dsa-learn-more-modal"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToSettingsButtonFactory(){return new c.GoToSettingsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToSettingsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_settings_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},55171:(e,t,n)=>{"use strict";n.d(t,{H:()=>s});const i="music",o="0.1.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-dsa-turn-recs-off-modal"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}turnOffPersonalizedRecommendationsButtonFactory(){return new c.TurnOffPersonalizedRecommendationsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.TurnOffPersonalizedRecommendationsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"turn_off_personalized_recommendations_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSettingDisable(){return{actionName:"setting_disable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},58593:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});const i="0.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-dsa-turned-on-message"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}learnMoreButtonFactory(){return new a.LearnMoreButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.LearnMoreButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"learn_more_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:"music",generatorVersion:"16.0.1",interactionType:"hit",specificationMode:o,specificationVersion:i,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(a||(a={}))},26436:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});const i="music",o="2.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-episode-block",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}playButtonFactory(){return new c.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}moreButtonFactory(){return new c.MoreButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}copyLinkFactory(){return new c.CopyLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new c.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveToLibraryButtonFactory(){return new c.SaveToLibraryButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}secondaryHitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"secondary_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.MoreButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"more_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CopyLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"copy_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SaveToLibraryButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_to_library_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},74773:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});const i="music",o="2.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-episode-list-row",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}playButtonFactory(){return new c.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveToLibraryButtonFactory(){return new c.SaveToLibraryButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new c.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareButtonFactory(){return new c.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new c.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}podcastLinkFactory(){return new c.PodcastLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}secondaryHitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"secondary_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShowPaywall({paywalledItem:e}){return{actionParameterNames:["paywalled_item"],actionParameterValues:[e.toString()],actionName:"show_paywall",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SaveToLibraryButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_to_library_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveItemFromPlaylist({itemToBeRemovedFromPlaylist:e,playlist:t}){return{actionParameterNames:["item_to_be_removed_from_playlist","playlist"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_item_from_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PodcastLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"podcast_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}secondaryHitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"secondary_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},9872:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});const i="music",o="1.0.0",r="default",a="14.19.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-episode-npv-chapters"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}chapterRowFactory(){return new c.ChapterRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ChapterRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"chapter_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},87055:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});const i="music",o="2.1.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-episode-npv-transcript",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}timestampLinkFactory(){return new c.TimestampLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}syncButtonFactory(){return new c.SyncButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.TimestampLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"timestamp_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SyncButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"sync_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitQuickScroll(){return{actionName:"quick_scroll",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},56865:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});const i="music",o="1.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-episode-transcript",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}timestampLinkFactory(){return new c.TimestampLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.TimestampLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"timestamp_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},43759:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});const i="music",o="4.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-episode",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}tabsFactory(){return new c.TabsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}descriptionSectionFactory(){return new c.DescriptionSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}transcriptSectionFactory(){return new c.TranscriptSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}recommendationsFactory(){return new c.RecommendationsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}podcastLinkFactory(){return new e.HeaderEventFactory.PodcastLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.ActionBarEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveButtonFactory(){return new e.ActionBarEventFactory.SaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new e.ActionBarEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TabsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"tabs"}),t&&(this._parentAbsoluteLocation=t)}descriptionTabButtonFactory(){return new e.TabsEventFactory.DescriptionTabButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}transcriptTabButtonFactory(){return new e.TabsEventFactory.TranscriptTabButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.DescriptionSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"description_section"}),t&&(this._parentAbsoluteLocation=t)}timestampLinkFactory(){return new e.DescriptionSectionEventFactory.TimestampLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}readMoreButtonFactory(){return new e.DescriptionSectionEventFactory.ReadMoreButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}trackListFactory(){return new e.DescriptionSectionEventFactory.TrackListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}allEpisodesLinkFactory(){return new e.DescriptionSectionEventFactory.AllEpisodesLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TranscriptSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"transcript_section"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.RecommendationsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"recommendations"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.PodcastLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"podcast_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitStopDownload({itemToStopDownload:e}){return{actionParameterNames:["item_to_stop_download"],actionParameterValues:[e.toString()],actionName:"stop_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.SaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.DescriptionTabButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"description_tab_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TabsEventFactory||(e.TabsEventFactory={}))}(c||(c={})),function(e){!function(e){e.TranscriptTabButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"transcript_tab_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TabsEventFactory||(e.TabsEventFactory={}))}(c||(c={})),function(e){!function(e){e.TimestampLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"timestamp_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DescriptionSectionEventFactory||(e.DescriptionSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.ReadMoreButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"read_more_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DescriptionSectionEventFactory||(e.DescriptionSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.TrackListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"track_list"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.DescriptionSectionEventFactory||(e.DescriptionSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.AllEpisodesLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"all_episodes_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DescriptionSectionEventFactory||(e.DescriptionSectionEventFactory={}))}(c||(c={}))},91708:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});const i="music",o="1.1.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-error-page",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}reloadPageButtonFactory(){return new c.ReloadPageButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.ReloadPageButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"reload_page_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRefreshContent(){return{actionName:"refresh_content",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},2100:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});const i="music",o="6.0.0",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-feature-activation-shelf"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}shelfTitleFactory(e){return new c.ShelfTitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}seeAllFeaturesFactory(e){return new c.SeeAllFeaturesEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}shelfContainerFactory(){return new c.ShelfContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}hideShelfImpressionElementFactory(){return new c.HideShelfImpressionElementEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ShelfTitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"shelf_title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SeeAllFeaturesEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"see_all_features"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShelfContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_container"}),t&&(this._parentAbsoluteLocation=t)}audioQualityCardFactory(t){return new e.ShelfContainerEventFactory.AudioQualityCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}smartShuffleCardFactory(t){return new e.ShelfContainerEventFactory.SmartShuffleCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}djCardFactory(t){return new e.ShelfContainerEventFactory.DjCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}groupSessionsCardFactory(t){return new e.ShelfContainerEventFactory.GroupSessionsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}blendCardFactory(t){return new e.ShelfContainerEventFactory.BlendCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}liveEventsCardFactory(t){return new e.ShelfContainerEventFactory.LiveEventsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}collaborativePlaylistCardFactory(t){return new e.ShelfContainerEventFactory.CollaborativePlaylistCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}activatedAudioQualityCardFactory(t){return new e.ShelfContainerEventFactory.ActivatedAudioQualityCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}activatedSmartShuffleCardFactory(t){return new e.ShelfContainerEventFactory.ActivatedSmartShuffleCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}activatedDjCardFactory(t){return new e.ShelfContainerEventFactory.ActivatedDjCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}activatedGroupSessionsCardFactory(t){return new e.ShelfContainerEventFactory.ActivatedGroupSessionsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}activatedBlendCardFactory(t){return new e.ShelfContainerEventFactory.ActivatedBlendCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}activatedLiveEventsCardFactory(t){return new e.ShelfContainerEventFactory.ActivatedLiveEventsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}activatedCollaborativePlaylistCardFactory(t){return new e.ShelfContainerEventFactory.ActivatedCollaborativePlaylistCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.HideShelfImpressionElementEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"hide_shelf_impression_element"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.AudioQualityCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"audio_quality_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.SmartShuffleCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"smart_shuffle_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.DjCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"dj_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.GroupSessionsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"group_sessions_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.BlendCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"blend_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.LiveEventsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"live_events_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.CollaborativePlaylistCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"collaborative_playlist_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ActivatedAudioQualityCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_audio_quality_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ActivatedSmartShuffleCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_smart_shuffle_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ActivatedDjCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_dj_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ActivatedGroupSessionsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_group_sessions_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ActivatedBlendCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_blend_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ActivatedLiveEventsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_live_events_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ActivatedCollaborativePlaylistCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_collaborative_playlist_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfContainerEventFactory||(e.ShelfContainerEventFactory={}))}(c||(c={}))},36385:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const i="3.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-find",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}recentSearchesFactory(){return new a.RecentSearchesEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}topGenresFactory(){return new a.TopGenresEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}browseAllFactory(){return new a.BrowseAllEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.RecentSearchesEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"recent_searches"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={})),function(e){e.TopGenresEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"top_genres"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={})),function(e){e.BrowseAllEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"browse_all"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={}))},85873:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});const i="music",o="2.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-friend-activity"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}addFriendButtonFactory(){return new c.AddFriendButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}friendRowFactory(){return new c.FriendRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.AddFriendButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_friend_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FriendRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"friend_row"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.FriendRowEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}friendRowLinkFactory(t){return new e.FriendRowEventFactory.FriendRowLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FriendRowEventFactory||(e.FriendRowEventFactory={}))}(c||(c={})),function(e){!function(e){e.FriendRowLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"friend_row_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FriendRowEventFactory||(e.FriendRowEventFactory={}))}(c||(c={}))},72948:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const i="1.0.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-fullscreen",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}npbControlsFactory(){return new a.NpbControlsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}npbExtrasFactory(){return new a.NpbExtrasEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}npbWidgetFactory(){return new a.NpbWidgetEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.NpbControlsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"npb_controls"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={})),function(e){e.NpbExtrasEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"npb_extras"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={})),function(e){e.NpbWidgetEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"npb_widget"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={}))},78695:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const i="2.0.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-genre",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}shelvesFactory(){return new a.ShelvesEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ShelvesEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelves"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={}))},57758:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});const i="music",o="9.4.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-home",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}announcementsFactory(e){return new c.AnnouncementsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}homeSubfeedsFactory(){return new c.HomeSubfeedsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shortcutsFactory(){return new c.ShortcutsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shelvesFactory(){return new c.ShelvesEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.AnnouncementsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"announcements"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.HomeSubfeedsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"home_subfeeds"}),t&&(this._parentAbsoluteLocation=t)}filterChipFactory(t){return new e.HomeSubfeedsEventFactory.FilterChipEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}clearFiltersFactory(){return new e.HomeSubfeedsEventFactory.ClearFiltersEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ShortcutsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shortcuts"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ShelvesEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelves"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.FilterChipEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"filter_chip"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HomeSubfeedsEventFactory||(e.HomeSubfeedsEventFactory={}))}(c||(c={})),function(e){!function(e){e.ClearFiltersEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"clear_filters"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HomeSubfeedsEventFactory||(e.HomeSubfeedsEventFactory={}))}(c||(c={}))},55244:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});const i="music",o="1.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-in-this-episode-npv"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}segmentItemFactory(e){return new c.SegmentItemEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.SegmentItemEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"segment_item"}),t&&(this._parentAbsoluteLocation=t)}playbackButtonFactory(){return new e.SegmentItemEventFactory.PlaybackButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}albumLinkFactory(t){return new e.SegmentItemEventFactory.AlbumLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}artistLinkFactory(t){return new e.SegmentItemEventFactory.ArtistLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}doubleHitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"double_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.PlaybackButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"playback_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SegmentItemEventFactory||(e.SegmentItemEventFactory={}))}(c||(c={})),function(e){!function(e){e.AlbumLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"album_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SegmentItemEventFactory||(e.SegmentItemEventFactory={}))}(c||(c={})),function(e){!function(e){e.ArtistLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SegmentItemEventFactory||(e.SegmentItemEventFactory={}))}(c||(c={}))},90129:(e,t,n)=>{"use strict";n.d(t,{V:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-connect-bar-section"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}jamNameFactory(){return new c.JamNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.JamNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"jam_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},46238:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-download-app-dialog"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}downloadButtonFactory(){return new c.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},2019:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-end-jam-confirmation-dialog"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}endButtonFactory(){return new c.EndButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.EndButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"end_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitStopHostingSocialListeningSession(){return{actionName:"stop_hosting_social_listening_session",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeStopHostingSocialListeningSession(){return{actionName:"stop_hosting_social_listening_session",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},55912:(e,t,n)=>{"use strict";n.d(t,{Fh:()=>a,gw:()=>r});const i="1.0.1",o="default",r={ERROR:"error",MOBILE_ONLY:"mobile_only",PREMIUM_ONLY:"premium_only",SESSION_ENDED:"session_ended"};function a(e){return new s(e)}class s{constructor(e){this._path=[{name:"desktop-jam-info-dialog",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:"music",generatorVersion:"15.1.0",specificationVersion:i,specificationMode:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}},93440:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-join-modal"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}joinButtonFactory(){return new c.JoinButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.JoinButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"join_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitJoinSocialListeningSession(){return{actionName:"join_social_listening_session",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeJoinSocialListeningSession(){return{actionName:"join_social_listening_session",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},1094:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-leave-jam-confirmation-dialog"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}leaveButtonFactory(){return new c.LeaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.LeaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"leave_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLeaveSocialListeningSession(){return{actionName:"leave_social_listening_session",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeLeaveSocialListeningSession(){return{actionName:"leave_social_listening_session",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},58983:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});const i="music",o="2.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-participant-list"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}participantListFactory(){return new c.ParticipantListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ParticipantListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"participant_list"}),t&&(this._parentAbsoluteLocation=t)}participantListRowFactory(t){return new e.ParticipantListEventFactory.ParticipantListRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(t){t.ParticipantListRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"participant_list_row"}),t&&(this._parentAbsoluteLocation=t)}userLinkFactory(){return new e.ParticipantListEventFactory.ParticipantListRowEventFactory.UserLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}removeButtonFactory(){return new e.ParticipantListEventFactory.ParticipantListRowEventFactory.RemoveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.ParticipantListEventFactory||(e.ParticipantListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.UserLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"user_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ParticipantListRowEventFactory||(e.ParticipantListRowEventFactory={}))}(e.ParticipantListEventFactory||(e.ParticipantListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.RemoveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remove_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ParticipantListRowEventFactory||(e.ParticipantListRowEventFactory={}))}(e.ParticipantListEventFactory||(e.ParticipantListEventFactory={}))}(c||(c={}))},26960:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});const i="music",o="2.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-queue-header"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}facepileButtonFactory(){return new c.FacepileButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}inviteButtonFactory(){return new c.InviteButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}endButtonFactory(){return new c.EndButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}leaveButtonFactory(){return new c.LeaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}createJamButtonFactory(){return new c.CreateJamButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.FacepileButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"facepile_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.InviteButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"invite_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.EndButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"end_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LeaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"leave_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CreateJamButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_jam_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},71434:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-jam-remove-participant-confirmation-dialog"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}buttonRowFactory(){return new c.ButtonRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ButtonRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"button_row"}),t&&(this._parentAbsoluteLocation=t)}cancelButtonFactory(){return new e.ButtonRowEventFactory.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}removeButtonFactory(){return new e.ButtonRowEventFactory.RemoveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ButtonRowEventFactory||(e.ButtonRowEventFactory={}))}(c||(c={})),function(e){!function(e){e.RemoveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remove_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveParticipant({participantId:e,sessionId:t}){return{actionParameterNames:["participant_id","session_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_participant",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeRemoveParticipant({participantId:e,sessionId:t}){return{actionParameterNames:["participant_id","session_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_participant",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ButtonRowEventFactory||(e.ButtonRowEventFactory={}))}(c||(c={}))},78301:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});const i="music",o="1.3.0",r="default",a="15.1.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-liked-songs",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}tracklistFactory(){return new c.TracklistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}ownerFactory(){return new e.HeaderEventFactory.OwnerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shuffleButtonContainerFactory(){return new e.ActionBarEventFactory.ShuffleButtonContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.ActionBarEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}filtersFactory(){return new e.ActionBarEventFactory.FiltersEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TracklistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"tracklist"}),t&&(this._parentAbsoluteLocation=t)}columnHeaderFactory(t){return new e.TracklistEventFactory.ColumnHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.OwnerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"owner"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShuffleButtonContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shuffle_button_container"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(t){t.FiltersEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"filters"}),t&&(this._parentAbsoluteLocation=t)}clearButtonFactory(){return new e.ActionBarEventFactory.FiltersEventFactory.ClearButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}filterChipFactory(t){return new e.ActionBarEventFactory.FiltersEventFactory.FilterChipEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ColumnHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"column_header"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TracklistEventFactory||(e.TracklistEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ClearButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"clear_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FiltersEventFactory||(e.FiltersEventFactory={}))}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.FilterChipEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"filter_chip"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FiltersEventFactory||(e.FiltersEventFactory={}))}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={}))},33993:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});const i="music",o="4.0.0",r="default",a="15.0.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-liveevents-feed"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}eventSectionFactory(e){return new c.EventSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}groupedEventModalFactory(e){return new c.GroupedEventModalEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}datePickerModalFactory(){return new c.DatePickerModalEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cityInfoFactory(){return new c.CityInfoEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}liveEventsNavbarFactory(t){return new e.HeaderEventFactory.LiveEventsNavbarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}changeLocationButtonFactory(){return new e.HeaderEventFactory.ChangeLocationButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}layoutToggleFactory(){return new e.HeaderEventFactory.LayoutToggleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}changeLocationUiFactory(t){return new e.HeaderEventFactory.ChangeLocationUiEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}datePickerButtonFactory(){return new e.HeaderEventFactory.DatePickerButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}datePresetButtonFactory(t){return new e.HeaderEventFactory.DatePresetButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.EventSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_section"}),t&&(this._parentAbsoluteLocation=t)}seeAllSpotifyEventsButtonFactory(t){return new e.EventSectionEventFactory.SeeAllSpotifyEventsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}eventCardFactory(t){return new e.EventSectionEventFactory.EventCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}eventRowFactory(t){return new e.EventSectionEventFactory.EventRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GroupedEventModalEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"grouped_event_modal"}),t&&(this._parentAbsoluteLocation=t)}closeButtonFactory(){return new e.GroupedEventModalEventFactory.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}eventRowFactory(t){return new e.GroupedEventModalEventFactory.EventRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DatePickerModalEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"date_picker_modal"}),t&&(this._parentAbsoluteLocation=t)}datePresetButtonFactory(t){return new e.DatePickerModalEventFactory.DatePresetButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}closeButtonFactory(){return new e.DatePickerModalEventFactory.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}doneButtonFactory(t){return new e.DatePickerModalEventFactory.DoneButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CityInfoEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"city_info"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.LiveEventsNavbarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"live_events_navbar"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.ChangeLocationButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"layout_toggle"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitToggleState({stateBeforeToggle:e,stateAfterToggle:t}){return{actionParameterNames:["state_before_toggle","state_after_toggle"],actionParameterValues:[e.toString(),t.toString()],actionName:"toggle_state",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.StateBeforeToggle={GRID:"grid",LIST:"list"},t.StateAfterToggle={GRID:"grid",LIST:"list"},e.LayoutToggleEventFactory=t}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(t){t.ChangeLocationUiEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"change_location_ui"}),t&&(this._parentAbsoluteLocation=t)}changeLocationFormFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.ChangeLocationFormEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}locationsResponseFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.LocationsResponseEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.DatePickerButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"date_picker_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.DatePresetButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"date_preset_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.SeeAllSpotifyEventsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"see_all_spotify_events_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.EventSectionEventFactory||(e.EventSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.EventCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.EventSectionEventFactory||(e.EventSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.EventRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.EventSectionEventFactory||(e.EventSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.GroupedEventModalEventFactory||(e.GroupedEventModalEventFactory={}))}(c||(c={})),function(e){!function(e){e.EventRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.GroupedEventModalEventFactory||(e.GroupedEventModalEventFactory={}))}(c||(c={})),function(e){!function(e){e.DatePresetButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"date_preset_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiSelect(){return{actionName:"ui_select",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DatePickerModalEventFactory||(e.DatePickerModalEventFactory={}))}(c||(c={})),function(e){!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DatePickerModalEventFactory||(e.DatePickerModalEventFactory={}))}(c||(c={})),function(e){!function(e){e.DoneButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"done_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.DatePickerModalEventFactory||(e.DatePickerModalEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.ChangeLocationFormEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_form"}),t&&(this._parentAbsoluteLocation=t)}changeLocationInputFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.ChangeLocationFormEventFactory.ChangeLocationInputEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}changeLocationClearFactory(){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.ChangeLocationFormEventFactory.ChangeLocationClearEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.ChangeLocationUiEventFactory||(t.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.LocationsResponseEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"locations_response"}),t&&(this._parentAbsoluteLocation=t)}locationResultFactory(t){return new e.HeaderEventFactory.ChangeLocationUiEventFactory.LocationsResponseEventFactory.LocationResultEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.ChangeLocationUiEventFactory||(t.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.ChangeLocationInputEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_input"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}keyStrokeTextEdit({fieldToBeChanged:e}){return{actionParameterNames:["field_to_be_changed"],actionParameterValues:[e.toString()],actionName:"text_edit",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChangeLocationFormEventFactory||(e.ChangeLocationFormEventFactory={}))}(e.ChangeLocationUiEventFactory||(e.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.ChangeLocationClearEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"change_location_clear"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitTextClear(){return{actionName:"text_clear",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ChangeLocationFormEventFactory||(e.ChangeLocationFormEventFactory={}))}(e.ChangeLocationUiEventFactory||(e.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.LocationResultEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"location_result"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.LocationsResponseEventFactory||(e.LocationsResponseEventFactory={}))}(e.ChangeLocationUiEventFactory||(e.ChangeLocationUiEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={}))},63889:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const i="music",o="1.0.0",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-local-files",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}tracklistFactory(){return new c.TracklistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shuffleButtonContainerFactory(){return new e.ActionBarEventFactory.ShuffleButtonContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TracklistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"tracklist"}),t&&(this._parentAbsoluteLocation=t)}columnHeaderFactory(t){return new e.TracklistEventFactory.ColumnHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShuffleButtonContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shuffle_button_container"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ColumnHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"column_header"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TracklistEventFactory||(e.TracklistEventFactory={}))}(c||(c={}))},55159:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});const i="1.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-locked-audiobook",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:"music",generatorVersion:"12.2.0",specificationVersion:i,specificationMode:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}},42594:(e,t,n)=>{"use strict";n.d(t,{V:()=>s});const i="music",o="1.3.0",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-lyrics",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}lyricsLineFactory(){return new c.LyricsLineEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}lyricsUpsellFactory(){return new c.LyricsUpsellEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.LyricsLineEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"lyrics_line"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LyricsUpsellEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"lyrics_upsell"}),t&&(this._parentAbsoluteLocation=t)}lyricsUpsellButtonFactory(){return new e.LyricsUpsellEventFactory.LyricsUpsellButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.LyricsUpsellButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"lyrics_upsell_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.LyricsUpsellEventFactory||(e.LyricsUpsellEventFactory={}))}(c||(c={}))},48446:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});const i="music",o="3.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-merch-shelf",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}merchCardFactory(e){return new c.MerchCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.MerchCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"merch_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},12243:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-navigation-sidebar"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}homeButtonFactory(){return new c.HomeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}searchButtonFactory(){return new c.SearchButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HomeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"home_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SearchButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"search_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},52820:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});const i="music",o="4.3.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-now-playing-queue",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}nowPlayingSectionFactory(){return new c.NowPlayingSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextInQueueSectionFactory(){return new c.NextInQueueSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextFromSectionFactory(){return new c.NextFromSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}queueHistoryTabFactory(e){return new c.QueueHistoryTabEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragAddItemToQueue({itemToAddToQueue:e}){return{actionParameterNames:["item_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_item_to_queue",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragAddItemsToQueue({numberOfItemsToAddToQueue:e}){return{actionParameterNames:["number_of_items_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_items_to_queue",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.NowPlayingSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"now_playing_section"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragAddItemToQueue({itemToAddToQueue:e}){return{actionParameterNames:["item_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_item_to_queue",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragAddItemsToQueue({numberOfItemsToAddToQueue:e}){return{actionParameterNames:["number_of_items_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_items_to_queue",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.NextInQueueSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"next_in_queue_section"}),t&&(this._parentAbsoluteLocation=t)}clearQueueButtonFactory(){return new e.NextInQueueSectionEventFactory.ClearQueueButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragAddItemToQueue({itemToAddToQueue:e}){return{actionParameterNames:["item_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_item_to_queue",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragAddItemsToQueue({numberOfItemsToAddToQueue:e}){return{actionParameterNames:["number_of_items_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_items_to_queue",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.NextFromSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"next_from_section"}),t&&(this._parentAbsoluteLocation=t)}queueContextLinkFactory(){return new e.NextFromSectionEventFactory.QueueContextLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragAddItemToQueue({itemToAddToQueue:e}){return{actionParameterNames:["item_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_item_to_queue",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragAddItemsToQueue({numberOfItemsToAddToQueue:e}){return{actionParameterNames:["number_of_items_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_items_to_queue",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"queue_history_tab"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.Identifier={QUEUE:"queue",RECENTLY_PLAYED:"recently_played"},e.QueueHistoryTabEventFactory=t}(c||(c={})),function(e){!function(e){e.ClearQueueButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"clear_queue_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveItemsFromQueue({numberOfItemsToRemoveFromQueue:e}){return{actionParameterNames:["number_of_items_to_remove_from_queue"],actionParameterValues:[e.toString()],actionName:"remove_items_from_queue",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NextInQueueSectionEventFactory||(e.NextInQueueSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.QueueContextLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"queue_context_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NextFromSectionEventFactory||(e.NextFromSectionEventFactory={}))}(c||(c={}))},48850:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});const i="music",o="0.1.0",r="default",a="15.1.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-now-playing-view-ads"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}coverArtFactory(e){return new c.CoverArtEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}infoContainerFactory(){return new c.InfoContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}ctaAreaFactory(e){return new c.CtaAreaEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}contextMenuFactory(e){return new c.ContextMenuEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CoverArtEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"cover_art"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNoAction(){return{actionName:"no_action",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.InfoContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"info_container"}),t&&(this._parentAbsoluteLocation=t)}infoRowFactory(t){return new e.InfoContainerEventFactory.InfoRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}feedbackFactory(){return new e.InfoContainerEventFactory.FeedbackEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(t){return new e.InfoContainerEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.CtaAreaEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"cta_area"}),t&&(this._parentAbsoluteLocation=t)}ctaButtonFactory(t){return new e.CtaAreaEventFactory.CtaButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNoAction(){return{actionName:"no_action",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ContextMenuEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu"}),t&&(this._parentAbsoluteLocation=t)}triggerDsaFactory(){return new e.ContextMenuEventFactory.TriggerDsaEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.InfoRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"info_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNoAction(){return{actionName:"no_action",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.InfoContainerEventFactory||(e.InfoContainerEventFactory={}))}(c||(c={})),function(e){!function(t){t.FeedbackEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"feedback"}),t&&(this._parentAbsoluteLocation=t)}thumbsUpButtonFactory(t){return new e.InfoContainerEventFactory.FeedbackEventFactory.ThumbsUpButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}thumbsDownButtonFactory(t){return new e.InfoContainerEventFactory.FeedbackEventFactory.ThumbsDownButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.InfoContainerEventFactory||(e.InfoContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.InfoContainerEventFactory||(e.InfoContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.CtaButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"cta_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNoAction(){return{actionName:"no_action",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CtaAreaEventFactory||(e.CtaAreaEventFactory={}))}(c||(c={})),function(e){!function(e){e.TriggerDsaEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"trigger_dsa"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ContextMenuEventFactory||(e.ContextMenuEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ThumbsUpButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"thumbs_up_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveLikeAd(){return{actionName:"remove_like_ad",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitLikeAd({reason:e}){return{actionParameterNames:["reason"],actionParameterValues:[e.toString()],actionName:"like_ad",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FeedbackEventFactory||(e.FeedbackEventFactory={}))}(e.InfoContainerEventFactory||(e.InfoContainerEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ThumbsDownButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"thumbs_down_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDislikeAd({reason:e}){return{actionParameterNames:["reason"],actionParameterValues:[e.toString()],actionName:"dislike_ad",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDislikeAd(){return{actionName:"remove_dislike_ad",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FeedbackEventFactory||(e.FeedbackEventFactory={}))}(e.InfoContainerEventFactory||(e.InfoContainerEventFactory={}))}(c||(c={}))},94794:(e,t,n)=>{"use strict";n.d(t,{gw:()=>s,h9:()=>c});const i="music",o="11.0.0",r="default",a="15.2.1",s={CINEMA:"cinema",DESKTOP:"desktop",FULLSCREEN:"fullscreen",MINIPLAYER:"miniplayer"};function c(e){return new l(e)}class l{constructor(e){this._path=[{name:"desktop-npb-extra",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}hifiBadgeFactory(){return new l.HifiBadgeEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}djJumpButtonFactory(){return new l.DjJumpButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}npvButtonFactory(){return new l.NpvButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}lyricsButtonFactory(){return new l.LyricsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}queueButtonFactory(){return new l.QueueButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}volumeMuteButtonFactory(){return new l.VolumeMuteButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}volumeBarFactory(){return new l.VolumeBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}fullscreenButtonFactory(){return new l.FullscreenButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}pipButtonFactory(e){return new l.PipButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HifiBadgeEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"hifi_badge"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.DjJumpButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"dj_jump_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRefreshContent(){return{actionName:"refresh_content",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.NpvButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"npv_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.LyricsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"lyrics_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.QueueButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"queue_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.VolumeMuteButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"volume_mute_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitMutePlayback(){return{actionName:"mute_playback",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnmutePlayback(){return{actionName:"unmute_playback",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.VolumeBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"volume_bar"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSetVolume({newVolumePercentage:e}){return{actionParameterNames:["new_volume_percentage"],actionParameterValues:[e.toString()],actionName:"set_volume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragSetVolume({newVolumePercentage:e}){return{actionParameterNames:["new_volume_percentage"],actionParameterValues:[e.toString()],actionName:"set_volume",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.FullscreenButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"fullscreen_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.PipButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"pip_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiOpenWindow({widthPx:e,heightPx:t}){return{actionParameterNames:["width_px","height_px"],actionParameterValues:[e.toString(),t.toString()],actionName:"ui_open_window",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={}))},96395:(e,t,n)=>{"use strict";n.d(t,{gw:()=>s,p6:()=>c});const i="music",o="5.0.0",r="default",a="15.2.1",s={CINEMA:"cinema",DESKTOP:"desktop",FULLSCREEN:"fullscreen",MINIPLAYER:"miniplayer"};function c(e){return new l(e)}class l{constructor(e){this._path=[{name:"desktop-npb-now-playing-widget",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}coverartFactory(e){return new l.CoverartEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}titleFactory(e){return new l.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}subtitleFactory(e){return new l.SubtitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}likeButtonFactory(e){return new l.LikeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}pipButtonFactory(e){return new l.PipButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}videoToggleFactory(e){return new l.VideoToggleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}hideButtonFactory(){return new l.HideButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}musicVideoLabelFactory(e){return new l.MusicVideoLabelEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CoverartEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"coverart"}),t&&(this._parentAbsoluteLocation=t)}coverartArrowFactory(){return new e.CoverartEventFactory.CoverartArrowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.SubtitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"subtitle"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.LikeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"like_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.PipButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"pip_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.VideoToggleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"video_toggle"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.HideButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"hide_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveRecommendation({recommendedItemUri:e,contextUri:t}){return{actionParameterNames:["recommended_item_uri","context_uri"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_recommendation",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.MusicVideoLabelEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"music_video_label"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){!function(e){e.CoverartArrowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"coverart_arrow"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CoverartEventFactory||(e.CoverartEventFactory={}))}(l||(l={}))},23073:(e,t,n)=>{"use strict";n.d(t,{gw:()=>s,kD:()=>c});const i="music",o="4.0.0",r="default",a="15.2.1",s={CINEMA:"cinema",DESKTOP:"desktop",FULLSCREEN:"fullscreen",MINIPLAYER:"miniplayer"};function c(e){return new l(e)}class l{constructor(e){this._path=[{name:"desktop-npb-player-controls",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}speedControlButtonFactory(){return new l.SpeedControlButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seekBackButtonFactory(){return new l.SeekBackButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shuffleButtonFactory(){return new l.ShuffleButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}previousButtonFactory(){return new l.PreviousButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playPauseButtonFactory(){return new l.PlayPauseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextButtonFactory(){return new l.NextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seekForwardButtonFactory(){return new l.SeekForwardButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}repeatButtonFactory(){return new l.RepeatButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}progressBarFactory(){return new l.ProgressBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}progressTimeRemainingFactory(){return new l.ProgressTimeRemainingEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.SpeedControlButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"speed_control_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSetPlaybackSpeed({currentlyPlayedItem:e,playbackSpeed:t}){return{actionParameterNames:["currently_played_item","playback_speed"],actionParameterValues:[e.toString(),t.toString()],actionName:"set_playback_speed",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.SeekBackButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"seek_back_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekByTime({msSeekedOffset:e}){return{actionParameterNames:["ms_seeked_offset"],actionParameterValues:[e.toString()],actionName:"seek_by_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.ShuffleButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shuffle_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShuffleEnable(){return{actionName:"shuffle_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShuffleDisable(){return{actionName:"shuffle_disable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.PreviousButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"previous_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSkipToPrevious({itemToBeSkipped:e,positionMs:t,totalContentMs:n}){return{actionParameterNames:["item_to_be_skipped","position_ms","total_content_ms"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"skip_to_previous",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.PlayPauseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_pause_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.NextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"next_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSkipToNext({itemToBeSkipped:e,positionMs:t,totalContentMs:n}){return{actionParameterNames:["item_to_be_skipped","position_ms","total_content_ms"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"skip_to_next",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.SeekForwardButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"seek_forward_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekByTime({msSeekedOffset:e}){return{actionParameterNames:["ms_seeked_offset"],actionParameterValues:[e.toString()],actionName:"seek_by_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.RepeatButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"repeat_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRepeatEnable(){return{actionName:"repeat_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRepeatDisable(){return{actionName:"repeat_disable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRepeatOneEnable(){return{actionName:"repeat_one_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.ProgressBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"progress_bar"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={})),function(e){e.ProgressTimeRemainingEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"progress_time_remaining"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(l||(l={}))},97329:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});const i="music",o="3.2.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv-artist-profile"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}artistAboutModalFactory(){return new c.ArtistAboutModalEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}artistNameFactory(){return new c.ArtistNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followButtonFactory(){return new c.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.ArtistAboutModalEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_about_modal"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ArtistNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},86726:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});const i="music",o="1.1.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv-credits"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}creditsRowFactory(e){return new c.CreditsRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}showAllButtonFactory(){return new c.ShowAllButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.CreditsRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"credits_row"}),t&&(this._parentAbsoluteLocation=t)}artistNameFactory(){return new e.CreditsRowEventFactory.ArtistNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followToggleButtonFactory(){return new e.CreditsRowEventFactory.FollowToggleButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ShowAllButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"show_all_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.ArtistNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CreditsRowEventFactory||(e.CreditsRowEventFactory={}))}(c||(c={})),function(e){!function(e){e.FollowToggleButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_toggle_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CreditsRowEventFactory||(e.CreditsRowEventFactory={}))}(c||(c={}))},68298:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});const i="1.0.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-npv-dubbed-episodes-section"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}episodeListFactory(){return new a.EpisodeListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.EpisodeListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"episode_list"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={}))},20196:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});const i="music",o="3.3.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv-header-section"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}contextLinkFactory(){return new c.ContextLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}coverArtFactory(e){return new c.CoverArtEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}titleFactory(e){return new c.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}artistFactory(e){return new c.ArtistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}heartButtonFactory(){return new c.HeartButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new c.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareButtonFactory(e){return new c.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ContextLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CoverArtEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"cover_art"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ArtistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.HeartButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"heart_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCopyToClipboard(){return{actionName:"copy_to_clipboard",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},62259:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});const i="music",o="2.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv-lyrics"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}showLyricsButtonFactory(){return new c.ShowLyricsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cinemaModeButtonFactory(){return new c.CinemaModeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}minimizeCinemaModeButtonFactory(){return new c.MinimizeCinemaModeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}closeLyricsButtonFactory(){return new c.CloseLyricsButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ShowLyricsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"show_lyrics_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CinemaModeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cinema_mode_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.MinimizeCinemaModeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"minimize_cinema_mode_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CloseLyricsButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_lyrics_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},46222:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});function i(e){return new o(e)}class o{constructor(e){this._path=[{name:"desktop-npv-original-episode-section"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:["default",...[...Array(this._path.length-1)].map((()=>""))],specVersion:["1.0.0",...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}},20913:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});const i="music",o="3.1.0",r="default",a="15.0.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv-playing-next"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}titleFactory(e){return new c.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}artistFactory(e){return new c.ArtistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}openQueueButtonFactory(){return new c.OpenQueueButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}searchButtonFactory(){return new c.SearchButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playButtonFactory(e){return new c.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ArtistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.OpenQueueButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"open_queue_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SearchButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"search_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSkipToNext({itemToBeSkipped:e,positionMs:t,totalContentMs:n}){return{actionParameterNames:["item_to_be_skipped","position_ms","total_content_ms"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"skip_to_next",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},91818:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv-podcast-about"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}podcastDescriptionFactory(){return new c.PodcastDescriptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}artworkFactory(){return new c.ArtworkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}titleFactory(){return new c.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followButtonFactory(){return new c.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.PodcastDescriptionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"podcast_description"}),t&&(this._parentAbsoluteLocation=t)}showLessButtonFactory(){return new e.PodcastDescriptionEventFactory.ShowLessButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ArtworkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artwork"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.ShowLessButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"show_less_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PodcastDescriptionEventFactory||(e.PodcastDescriptionEventFactory={}))}(c||(c={}))},19356:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});const i="music",o="2.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv-track",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}trackContainerFactory(){return new c.TrackContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.TrackContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"track_container"}),t&&(this._parentAbsoluteLocation=t)}coverArtFactory(){return new e.TrackContainerEventFactory.CoverArtEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}trackInformationFactory(){return new e.TrackContainerEventFactory.TrackInformationEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.CoverArtEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cover_art"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TrackContainerEventFactory||(e.TrackContainerEventFactory={}))}(c||(c={})),function(e){!function(t){t.TrackInformationEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"track_information"}),t&&(this._parentAbsoluteLocation=t)}nameLinkFactory(){return new e.TrackContainerEventFactory.TrackInformationEventFactory.NameLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextLinkFactory(t){return new e.TrackContainerEventFactory.TrackInformationEventFactory.ContextLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.TrackContainerEventFactory||(e.TrackContainerEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.NameLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"name_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TrackInformationEventFactory||(e.TrackInformationEventFactory={}))}(e.TrackContainerEventFactory||(e.TrackContainerEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ContextLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"context_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TrackInformationEventFactory||(e.TrackInformationEventFactory={}))}(e.TrackContainerEventFactory||(e.TrackContainerEventFactory={}))}(c||(c={}))},9909:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});const i="music",o="5.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-npv",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}ontourFactory(){return new c.OntourEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playingnextFactory(){return new c.PlayingnextEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}npvUiResizeFactory(){return new c.NpvUiResizeEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.OntourEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"ontour"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PlayingnextEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"playingnext"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.NpvUiResizeEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"npv_ui_resize"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragUiResize({startSizePx:e,endSizePx:t}){return{actionParameterNames:["start_size_px","end_size_px"],actionParameterValues:[e.toString(),t.toString()],actionName:"ui_resize",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},96745:(e,t,n)=>{"use strict";n.d(t,{N:()=>s});const i="music",o="3.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-on-tour-section",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}tourElementFactory(e){return new c.TourElementEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}seeAllButtonFactory(e){return new c.SeeAllButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.TourElementEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"tour_element"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SeeAllButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"see_all_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},66543:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});const i="music",o="1.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-pip-button"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}pipButtonFactory(e){return new c.PipButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.PipButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"pip_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},72191:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});const i="music",o="4.4.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-pip"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}playerControlsFactory(){return new c.PlayerControlsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}windowControlsFactory(){return new c.WindowControlsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragUiResize2d({startWidthPx:e,startHeightPx:t,endWidthPx:n,endHeightPx:s}){return{actionParameterNames:["start_width_px","start_height_px","end_width_px","end_height_px"],actionParameterValues:[e.toString(),t.toString(),n.toString(),s.toString()],actionName:"ui_resize_2d",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.PlayerControlsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"player_controls"}),t&&(this._parentAbsoluteLocation=t)}likeButtonFactory(){return new e.PlayerControlsEventFactory.LikeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seekBackwardButtonFactory(){return new e.PlayerControlsEventFactory.SeekBackwardButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shuffleButtonFactory(t){return new e.PlayerControlsEventFactory.ShuffleButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}previousButtonFactory(){return new e.PlayerControlsEventFactory.PreviousButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playPauseButtonFactory(){return new e.PlayerControlsEventFactory.PlayPauseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextButtonFactory(){return new e.PlayerControlsEventFactory.NextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seekForwardButtonFactory(){return new e.PlayerControlsEventFactory.SeekForwardButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}repeatButtonFactory(){return new e.PlayerControlsEventFactory.RepeatButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}volumeMuteButtonFactory(){return new e.PlayerControlsEventFactory.VolumeMuteButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}volumeBarFactory(){return new e.PlayerControlsEventFactory.VolumeBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}progressBarFactory(){return new e.PlayerControlsEventFactory.ProgressBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}progressTimeRemainingFactory(){return new e.PlayerControlsEventFactory.ProgressTimeRemainingEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareButtonFactory(t){return new e.PlayerControlsEventFactory.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.WindowControlsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"window_controls"}),t&&(this._parentAbsoluteLocation=t)}closeButtonFactory(){return new e.WindowControlsEventFactory.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.LikeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"like_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.SeekBackwardButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"seek_backward_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekByTime({msSeekedOffset:e}){return{actionParameterNames:["ms_seeked_offset"],actionParameterValues:[e.toString()],actionName:"seek_by_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"shuffle_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSelectShuffleMode({previousMode:e,selectedMode:t}){return{actionParameterNames:["previous_mode","selected_mode"],actionParameterValues:[e.toString(),t.toString()],actionName:"select_shuffle_mode",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.PreviousMode={LINEAR:"linear",SHUFFLE:"shuffle",SMART_SHUFFLE:"smart_shuffle"},t.SelectedMode={LINEAR:"linear",SHUFFLE:"shuffle",SMART_SHUFFLE:"smart_shuffle"},e.ShuffleButtonEventFactory=t}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.PreviousButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"previous_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSkipToPrevious({itemToBeSkipped:e,positionMs:t,totalContentMs:n}){return{actionParameterNames:["item_to_be_skipped","position_ms","total_content_ms"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"skip_to_previous",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayPauseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_pause_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.NextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"next_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSkipToNext({itemToBeSkipped:e,positionMs:t,totalContentMs:n}){return{actionParameterNames:["item_to_be_skipped","position_ms","total_content_ms"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"skip_to_next",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.SeekForwardButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"seek_forward_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekByTime({msSeekedOffset:e}){return{actionParameterNames:["ms_seeked_offset"],actionParameterValues:[e.toString()],actionName:"seek_by_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.RepeatButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"repeat_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRepeatDisable(){return{actionName:"repeat_disable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRepeatEnable(){return{actionName:"repeat_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRepeatOneEnable(){return{actionName:"repeat_one_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.VolumeMuteButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"volume_mute_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitMutePlayback(){return{actionName:"mute_playback",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnmutePlayback(){return{actionName:"unmute_playback",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.VolumeBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"volume_bar"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSetVolume({newVolumePercentage:e}){return{actionParameterNames:["new_volume_percentage"],actionParameterValues:[e.toString()],actionName:"set_volume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragSetVolume({newVolumePercentage:e}){return{actionParameterNames:["new_volume_percentage"],actionParameterValues:[e.toString()],actionName:"set_volume",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.ProgressBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"progress_bar"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragSeekToTime({msToSeekTo:e}){return{actionParameterNames:["ms_to_seek_to"],actionParameterValues:[e.toString()],actionName:"seek_to_time",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.ProgressTimeRemainingEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"progress_time_remaining"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCopyToClipboard(){return{actionName:"copy_to_clipboard",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlayerControlsEventFactory||(e.PlayerControlsEventFactory={}))}(c||(c={})),function(e){!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.WindowControlsEventFactory||(e.WindowControlsEventFactory={}))}(c||(c={}))},98632:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});const i="music",o="6.2.2",r="default",a="15.0.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-playandnavcard",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}cardLinkFactory(e){return new c.CardLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}cardPlayButtonFactory(){return new c.CardPlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.CardLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"card_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CardPlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"card_play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},65445:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});const i="music",o="4.7.0",r="default",a="15.1.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-playlist",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}concertsCardFactory(e){return new c.ConcertsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}concertsCarouselFactory(){return new c.ConcertsCarouselEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}tracklistFactory(){return new c.TracklistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}recommendedFactory(){return new c.RecommendedEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}footerSectionFactory(){return new c.FooterSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}coverArtFactory(){return new e.HeaderEventFactory.CoverArtEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}titleFactory(){return new e.HeaderEventFactory.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}descriptionTextFactory(){return new e.HeaderEventFactory.DescriptionTextEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}ownerFactory(){return new e.HeaderEventFactory.OwnerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shuffleButtonContainerFactory(){return new e.ActionBarEventFactory.ShuffleButtonContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}heartButtonFactory(){return new e.ActionBarEventFactory.HeartButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.ActionBarEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareButtonFactory(){return new e.ActionBarEventFactory.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new e.ActionBarEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ConcertsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"concerts_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ConcertsCarouselEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"concerts_carousel"}),t&&(this._parentAbsoluteLocation=t)}concertCardFactory(t){return new e.ConcertsCarouselEventFactory.ConcertCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}allEventsCardFactory(t){return new e.ConcertsCarouselEventFactory.AllEventsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}previousButtonFactory(){return new e.ConcertsCarouselEventFactory.PreviousButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextButtonFactory(){return new e.ConcertsCarouselEventFactory.NextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TracklistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"tracklist"}),t&&(this._parentAbsoluteLocation=t)}columnHeaderFactory(t){return new e.TracklistEventFactory.ColumnHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}audiobookRowFactory(t){return new e.TracklistEventFactory.AudiobookRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RecommendedEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"recommended"}),t&&(this._parentAbsoluteLocation=t)}refreshButtonFactory(){return new e.RecommendedEventFactory.RefreshButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}audiobookRowFactory(t){return new e.RecommendedEventFactory.AudiobookRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FooterSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"footer_section"}),t&&(this._parentAbsoluteLocation=t)}promoCardFactory(){return new e.FooterSectionEventFactory.PromoCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.CoverArtEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cover_art"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.DescriptionTextEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"description_text"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.OwnerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"owner"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShuffleButtonContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shuffle_button_container"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.HeartButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"heart_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitStopDownload({itemToStopDownload:e}){return{actionParameterNames:["item_to_stop_download"],actionParameterValues:[e.toString()],actionName:"stop_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(t){t.ConcertCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"concert_card"}),t&&(this._parentAbsoluteLocation=t)}interestedButtonFactory(){return new e.ConcertsCarouselEventFactory.ConcertCardEventFactory.InterestedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConcertsCarouselEventFactory||(e.ConcertsCarouselEventFactory={}))}(c||(c={})),function(e){!function(e){e.AllEventsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"all_events_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConcertsCarouselEventFactory||(e.ConcertsCarouselEventFactory={}))}(c||(c={})),function(e){!function(e){e.PreviousButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"previous_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConcertsCarouselEventFactory||(e.ConcertsCarouselEventFactory={}))}(c||(c={})),function(e){!function(e){e.NextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"next_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConcertsCarouselEventFactory||(e.ConcertsCarouselEventFactory={}))}(c||(c={})),function(e){!function(e){e.ColumnHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"column_header"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TracklistEventFactory||(e.TracklistEventFactory={}))}(c||(c={})),function(e){!function(e){e.AudiobookRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"audiobook_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.TracklistEventFactory||(e.TracklistEventFactory={}))}(c||(c={})),function(e){!function(e){e.RefreshButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"refresh_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRefreshContent(){return{actionName:"refresh_content",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.RecommendedEventFactory||(e.RecommendedEventFactory={}))}(c||(c={})),function(e){!function(e){e.AudiobookRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"audiobook_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.RecommendedEventFactory||(e.RecommendedEventFactory={}))}(c||(c={})),function(e){!function(e){e.PromoCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"promo_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FooterSectionEventFactory||(e.FooterSectionEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.InterestedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"interested_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddInterest(){return{actionName:"add_interest",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveInterest(){return{actionName:"remove_interest",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ConcertCardEventFactory||(e.ConcertCardEventFactory={}))}(e.ConcertsCarouselEventFactory||(e.ConcertsCarouselEventFactory={}))}(c||(c={}))},3461:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});const i="music",o="0.2.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-podcast-rating",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}okButtonFactory(){return new c.OkButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.OkButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"ok_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},93932:(e,t,n)=>{"use strict";n.d(t,{R:()=>s});const i="music",o="2.2.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-podcast",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}episodeListFactory(){return new c.EpisodeListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}aboutSectionFactory(){return new c.AboutSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}followButtonFactory(){return new e.ActionBarEventFactory.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextButtonFactory(){return new e.ActionBarEventFactory.ContextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.EpisodeListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"episode_list"}),t&&(this._parentAbsoluteLocation=t)}filterButtonFactory(){return new e.EpisodeListEventFactory.FilterButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}sortButtonFactory(){return new e.EpisodeListEventFactory.SortButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.AboutSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"about_section"}),t&&(this._parentAbsoluteLocation=t)}seeMoreButtonFactory(){return new e.AboutSectionEventFactory.SeeMoreButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}ratingButtonFactory(){return new e.AboutSectionEventFactory.RatingButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}topicFactory(t){return new e.AboutSectionEventFactory.TopicEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.FilterButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"filter_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.EpisodeListEventFactory||(e.EpisodeListEventFactory={}))}(c||(c={})),function(e){!function(e){e.SortButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"sort_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.EpisodeListEventFactory||(e.EpisodeListEventFactory={}))}(c||(c={})),function(e){!function(e){e.SeeMoreButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_more_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.AboutSectionEventFactory||(e.AboutSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.RatingButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"rating_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.AboutSectionEventFactory||(e.AboutSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.TopicEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"topic"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.AboutSectionEventFactory||(e.AboutSectionEventFactory={}))}(c||(c={}))},79203:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});const i="music",o="3.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-pre-release-page",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}tracklistPreviewFactory(){return new c.TracklistPreviewEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}artistNameFactory(){return new e.HeaderEventFactory.ArtistNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}preSaveButtonFactory(){return new e.ActionBarEventFactory.PreSaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TracklistPreviewEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"tracklist_preview"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.ArtistNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.PreSaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"pre_save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPresave({prereleaseId:e,itemToBePresaved:t,contextUri:n}){return{actionParameterNames:["prerelease_id","item_to_be_presaved","context_uri"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"presave",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemovePresave({prereleaseId:e,itemToBeRemovedFromPresaved:t,contextUri:n}){return{actionParameterNames:["prerelease_id","item_to_be_removed_from_presaved","context_uri"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"remove_presave",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={}))},11963:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});const i="music",o="1.0.0",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-premium-destination-hub"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}audioQualityCardFactory(e){return new c.AudioQualityCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}smartShuffleCardFactory(e){return new c.SmartShuffleCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}djCardFactory(e){return new c.DjCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}groupSessionsCardFactory(e){return new c.GroupSessionsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}blendCardFactory(e){return new c.BlendCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}liveEventsCardFactory(e){return new c.LiveEventsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}collaborativePlaylistCardFactory(e){return new c.CollaborativePlaylistCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}activatedAudioQualityCardFactory(e){return new c.ActivatedAudioQualityCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}activatedSmartShuffleCardFactory(e){return new c.ActivatedSmartShuffleCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}activatedDjCardFactory(e){return new c.ActivatedDjCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}activatedGroupSessionsCardFactory(e){return new c.ActivatedGroupSessionsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}activatedBlendCardFactory(e){return new c.ActivatedBlendCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}activatedLiveEventsCardFactory(e){return new c.ActivatedLiveEventsCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}activatedCollaborativePlaylistCardFactory(e){return new c.ActivatedCollaborativePlaylistCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.AudioQualityCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"audio_quality_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SmartShuffleCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"smart_shuffle_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DjCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"dj_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GroupSessionsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"group_sessions_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.BlendCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"blend_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LiveEventsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"live_events_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CollaborativePlaylistCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"collaborative_playlist_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ActivatedAudioQualityCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_audio_quality_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ActivatedSmartShuffleCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_smart_shuffle_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ActivatedDjCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_dj_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ActivatedGroupSessionsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_group_sessions_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ActivatedBlendCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_blend_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ActivatedLiveEventsCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_live_events_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ActivatedCollaborativePlaylistCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"activated_collaborative_playlist_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},70454:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});const i="music",o="6.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-premium-page",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}heroContainerFactory(e){return new c.HeroContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}educationListContainerFactory(){return new c.EducationListContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}storefrontContainerFactory(e){return new c.StorefrontContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}comparisonTableFactory(){return new c.ComparisonTableEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.HeroContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"hero_container"}),t&&(this._parentAbsoluteLocation=t)}heroCheckoutButtonFactory(t){return new e.HeroContainerEventFactory.HeroCheckoutButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}heroViewPlansButtonFactory(){return new e.HeroContainerEventFactory.HeroViewPlansButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.EducationListContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"education_list_container"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.StorefrontContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"storefront_container"}),t&&(this._parentAbsoluteLocation=t)}planCardFactory(t){return new e.StorefrontContainerEventFactory.PlanCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ComparisonTableEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"comparison_table"}),t&&(this._parentAbsoluteLocation=t)}premiumFeatureFactory(t){return new e.ComparisonTableEventFactory.PremiumFeatureEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.HeroCheckoutButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"hero_checkout_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeroContainerEventFactory||(e.HeroContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.HeroViewPlansButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"hero_view_plans_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitQuickScroll(){return{actionName:"quick_scroll",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeroContainerEventFactory||(e.HeroContainerEventFactory={}))}(c||(c={})),function(e){!function(t){t.PlanCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"plan_card"}),t&&(this._parentAbsoluteLocation=t)}planCardButtonFactory(t){return new e.StorefrontContainerEventFactory.PlanCardEventFactory.PlanCardButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.StorefrontContainerEventFactory||(e.StorefrontContainerEventFactory={}))}(c||(c={})),function(e){!function(e){e.PremiumFeatureEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"premium_feature"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ComparisonTableEventFactory||(e.ComparisonTableEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.PlanCardButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"plan_card_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PlanCardEventFactory||(e.PlanCardEventFactory={}))}(e.StorefrontContainerEventFactory||(e.StorefrontContainerEventFactory={}))}(c||(c={}))},17613:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});const i="music",o="2.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-profile",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}sectionTopTracksFactory(){return new c.SectionTopTracksEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}profileImageFactory(){return new e.HeaderEventFactory.ProfileImageEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}usernameFactory(){return new e.HeaderEventFactory.UsernameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followersLinkFactory(){return new e.HeaderEventFactory.FollowersLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followingLinkFactory(){return new e.HeaderEventFactory.FollowingLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}followButtonFactory(){return new e.ActionBarEventFactory.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new e.ActionBarEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.SectionTopTracksEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"section_top_tracks"}),t&&(this._parentAbsoluteLocation=t)}titleLinkFactory(){return new e.SectionTopTracksEventFactory.TitleLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seeMoreLinkFactory(){return new e.SectionTopTracksEventFactory.SeeMoreLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.ProfileImageEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"profile_image"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.UsernameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"username"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.FollowersLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"followers_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.FollowingLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"following_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.TitleLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SectionTopTracksEventFactory||(e.SectionTopTracksEventFactory={}))}(c||(c={})),function(e){!function(e){e.SeeMoreLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_more_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SectionTopTracksEventFactory||(e.SectionTopTracksEventFactory={}))}(c||(c={}))},56053:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});const i="music",o="3.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-promotions",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}promotionFactory(e){return new c.PromotionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.PromotionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"promotion"}),t&&(this._parentAbsoluteLocation=t)}promotionItemFactory(t){return new e.PromotionEventFactory.PromotionItemEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(t){class n{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"promotion_item"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(t){return new e.PromotionEventFactory.PromotionItemEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}saveButtonFactory(t){return new e.PromotionEventFactory.PromotionItemEventFactory.SaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}shareButtonFactory(t){return new e.PromotionEventFactory.PromotionItemEventFactory.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}notInterestedButtonFactory(t){return new e.PromotionEventFactory.PromotionItemEventFactory.NotInterestedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}n.Identifier={DEFAULT_NATIVE:"default_native",DEFAULT_POSTER:"default_poster",TENTPOLE_NATIVE:"tentpole_native",TENTPOLE_POSTER:"tentpole_poster"},t.PromotionItemEventFactory=n}(e.PromotionEventFactory||(e.PromotionEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PromotionItemEventFactory||(e.PromotionItemEventFactory={}))}(e.PromotionEventFactory||(e.PromotionEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.SaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PromotionItemEventFactory||(e.PromotionItemEventFactory={}))}(e.PromotionEventFactory||(e.PromotionEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCopyToClipboard(){return{actionName:"copy_to_clipboard",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PromotionItemEventFactory||(e.PromotionItemEventFactory={}))}(e.PromotionEventFactory||(e.PromotionEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.NotInterestedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"not_interested_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDislike({itemToBeDisliked:e}){return{actionParameterNames:["item_to_be_disliked"],actionParameterValues:[e.toString()],actionName:"dislike",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.PromotionItemEventFactory||(e.PromotionItemEventFactory={}))}(e.PromotionEventFactory||(e.PromotionEventFactory={}))}(c||(c={}))},61407:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});const i="music",o="3.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-quick-search"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}inputFactory(){return new c.InputEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}searchResultFactory(e){return new c.SearchResultEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}keyStrokeUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.InputEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"input"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}keyStrokeChangeSearchQuery({searchQueryString:e}){return{actionParameterNames:["search_query_string"],actionParameterValues:[e.toString()],actionName:"change_search_query",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SearchResultEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"search_result"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokePlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},26591:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});const i="music",o="0.1.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-rating-modal"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}submitRatingButtonFactory(){return new c.SubmitRatingButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}okButtonFactory(){return new c.OkButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.SubmitRatingButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"submit_rating_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSubmitRating({entityUri:e,rating:t}){return{actionParameterNames:["entity_uri","rating"],actionParameterValues:[e.toString(),t.toString()],actionName:"submit_rating",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.OkButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"ok_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},84104:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});const i="2.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-recent-searches",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}clearButtonFactory(){return new a.ClearButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}recentSearchesCardsFactory(){return new a.RecentSearchesCardsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ClearButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"clear_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitClearRecentSearches(){return{actionName:"clear_recent_searches",actionVersion:1,app:"music",generatorVersion:"12.2.0",interactionType:"hit",specificationMode:o,specificationVersion:i,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(a||(a={})),function(e){e.RecentSearchesCardsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"recent_searches_cards"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={}))},27924:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});const i="music",o="1.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-remove-download-confirmation-dialog"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}confirmRemoveDownloadButtonFactory(){return new c.ConfirmRemoveDownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.ConfirmRemoveDownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"confirm_remove_download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveDownload({itemToRemoveFromDownloads:e}){return{actionParameterNames:["item_to_remove_from_downloads"],actionParameterValues:[e.toString()],actionName:"remove_download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveDownloadFromRemoteDevice({itemToRemoveFromDownloads:e,remoteDeviceId:t,remoteDeviceType:n,remoteClientPlatform:s}){return{actionParameterNames:["item_to_remove_from_downloads","remote_device_id","remote_device_type","remote_client_platform"],actionParameterValues:[e.toString(),t.toString(),n.toString(),s.toString()],actionName:"remove_download_from_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},18502:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});const i="music",o="2.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-search-bar"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}filterFieldFactory(){return new c.FilterFieldEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}sortButtonFactory(){return new c.SortButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.FilterFieldEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"filter_field"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}keyStrokeFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SortButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"sort_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},26486:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const i="7.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-search-category",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}cardsFactory(){return new a.CardsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}emptyResultsFactory(){return new a.EmptyResultsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CardsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cards"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={})),function(e){e.EmptyResultsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"empty_results"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={}))},58943:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});const i="3.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-search-chips"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}chipFactory(e){return new a.ChipEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.ChipEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"chip"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:"music",generatorVersion:"12.2.0",interactionType:"hit",specificationMode:o,specificationVersion:i,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(a||(a={}))},25668:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});const i="music",o="1.1.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-search-empty-results",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}seeAllButtonFactory(){return new c.SeeAllButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.SeeAllButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_all_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},37055:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});const i="music",o="2.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-search-input"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}keyStrokeChangeSearchQuery({searchQueryString:e}){return{actionParameterNames:["search_query_string"],actionParameterValues:[e.toString()],actionName:"change_search_query",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeSearch(){return{actionName:"search",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitTextClear(){return{actionName:"text_clear",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}},53222:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-search-local-concert",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}interestedButtonFactory(e){return new c.InterestedButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}localConcertFactory(e){return new c.LocalConcertEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.InterestedButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"interested_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiSelect(){return{actionName:"ui_select",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LocalConcertEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"local_concert"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},570:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-search-on-tour",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}onTourShelfFactory(e){return new c.OnTourShelfEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.OnTourShelfEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"on_tour_shelf"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},75801:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});const i="music",o="3.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-search-podcast-and-shows",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}podcastAndShowsShelfFactory(){return new c.PodcastAndShowsShelfEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}episodesListFactory(){return new c.EpisodesListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}emptyResultsFactory(){return new c.EmptyResultsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.PodcastAndShowsShelfEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"podcast_and_shows_shelf"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.EpisodesListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"episodes_list"}),t&&(this._parentAbsoluteLocation=t)}episodesListHeaderFactory(){return new e.EpisodesListEventFactory.EpisodesListHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.EmptyResultsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"empty_results"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(t){t.EpisodesListHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"episodes_list_header"}),t&&(this._parentAbsoluteLocation=t)}titleFactory(){return new e.EpisodesListEventFactory.EpisodesListHeaderEventFactory.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seeAllLinkFactory(){return new e.EpisodesListEventFactory.EpisodesListHeaderEventFactory.SeeAllLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.EpisodesListEventFactory||(e.EpisodesListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.EpisodesListHeaderEventFactory||(e.EpisodesListHeaderEventFactory={}))}(e.EpisodesListEventFactory||(e.EpisodesListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.SeeAllLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_all_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.EpisodesListHeaderEventFactory||(e.EpisodesListHeaderEventFactory={}))}(e.EpisodesListEventFactory||(e.EpisodesListEventFactory={}))}(c||(c={}))},4652:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});const i="5.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-search-tracks",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}tracksFactory(){return new a.TracksEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}emptyResultsFactory(){return new a.EmptyResultsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.TracksEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"tracks"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={})),function(e){e.EmptyResultsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"empty_results"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(a||(a={}))},58192:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});const i="music",o="5.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-search",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}topResultFactory(){return new c.TopResultEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}trackListFactory(){return new c.TrackListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shelvesFactory(){return new c.ShelvesEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}emptyResultsFactory(){return new c.EmptyResultsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.TopResultEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"top_result"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.TrackListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"track_list"}),t&&(this._parentAbsoluteLocation=t)}headerFactory(){return new e.TrackListEventFactory.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ShelvesEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelves"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.EmptyResultsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"empty_results"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(t){t.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}titleFactory(){return new e.TrackListEventFactory.HeaderEventFactory.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}seeAllFactory(){return new e.TrackListEventFactory.HeaderEventFactory.SeeAllEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.TrackListEventFactory||(e.TrackListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.TrackListEventFactory||(e.TrackListEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.SeeAllEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"see_all"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.TrackListEventFactory||(e.TrackListEventFactory={}))}(c||(c={}))},61149:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});const i="music",o="1.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-settings"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}settingsRowFactory(e){return new c.SettingsRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.SettingsRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"settings_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSettingEnable(){return{actionName:"setting_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSettingDisable(){return{actionName:"setting_disable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},26668:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});const i="music",o="5.0.1",r="default",a="15.0.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-shelf",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}shelfHeaderFactory(){return new c.ShelfHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}swipeUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"swipe",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.ShelfHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_header"}),t&&(this._parentAbsoluteLocation=t)}shelfHeaderTitleFactory(){return new e.ShelfHeaderEventFactory.ShelfHeaderTitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shelfHeaderSeeAllFactory(){return new e.ShelfHeaderEventFactory.ShelfHeaderSeeAllEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shelfCarouselControlsFactory(){return new e.ShelfHeaderEventFactory.ShelfCarouselControlsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.ShelfHeaderTitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_header_title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfHeaderEventFactory||(e.ShelfHeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShelfHeaderSeeAllEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_header_see_all"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfHeaderEventFactory||(e.ShelfHeaderEventFactory={}))}(c||(c={})),function(e){!function(t){t.ShelfCarouselControlsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_carousel_controls"}),t&&(this._parentAbsoluteLocation=t)}shelfCarouselControlsPreviousFactory(){return new e.ShelfHeaderEventFactory.ShelfCarouselControlsEventFactory.ShelfCarouselControlsPreviousEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shelfCarouselControlsNextFactory(){return new e.ShelfHeaderEventFactory.ShelfCarouselControlsEventFactory.ShelfCarouselControlsNextEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.ShelfHeaderEventFactory||(e.ShelfHeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ShelfCarouselControlsPreviousEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_carousel_controls_previous"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfCarouselControlsEventFactory||(e.ShelfCarouselControlsEventFactory={}))}(e.ShelfHeaderEventFactory||(e.ShelfHeaderEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){e.ShelfCarouselControlsNextEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_carousel_controls_next"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ShelfCarouselControlsEventFactory||(e.ShelfCarouselControlsEventFactory={}))}(e.ShelfHeaderEventFactory||(e.ShelfHeaderEventFactory={}))}(c||(c={}))},23398:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});const i="music",o="2.1.1",r="default",a="15.0.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-shortcuts-play-nav-card",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}playButtonFactory(){return new c.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},20741:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});const i="music",o="2.0.0",r="default",a="15.0.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-shuffle",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}menuShuffleButtonFactory(){return new c.MenuShuffleButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}regularShuffleButtonFactory(){return new c.RegularShuffleButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}tristateOnboardingTooltipFactory(){return new c.TristateOnboardingTooltipEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.MenuShuffleButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"menu_shuffle_button"}),t&&(this._parentAbsoluteLocation=t)}toggleShuffleButtonFactory(){return new e.MenuShuffleButtonEventFactory.ToggleShuffleButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}toggleSmartShuffleButtonFactory(){return new e.MenuShuffleButtonEventFactory.ToggleSmartShuffleButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}learnMoreButtonFactory(){return new e.MenuShuffleButtonEventFactory.LearnMoreButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"regular_shuffle_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSelectShuffleMode({previousMode:e,selectedMode:t}){return{actionParameterNames:["previous_mode","selected_mode"],actionParameterValues:[e.toString(),t.toString()],actionName:"select_shuffle_mode",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShuffleEnable(){return{actionName:"shuffle_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShuffleDisable(){return{actionName:"shuffle_disable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.PreviousMode={LINEAR:"linear",SHUFFLE:"shuffle",SMART_SHUFFLE:"smart_shuffle"},t.SelectedMode={LINEAR:"linear",SHUFFLE:"shuffle",SMART_SHUFFLE:"smart_shuffle"},e.RegularShuffleButtonEventFactory=t}(c||(c={})),function(e){e.TristateOnboardingTooltipEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"tristate_onboarding_tooltip"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.ToggleShuffleButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"toggle_shuffle_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShuffleEnable(){return{actionName:"shuffle_enable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShuffleDisable(){return{actionName:"shuffle_disable",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.MenuShuffleButtonEventFactory||(e.MenuShuffleButtonEventFactory={}))}(c||(c={})),function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"toggle_smart_shuffle_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSelectShuffleMode({previousMode:e,selectedMode:t}){return{actionParameterNames:["previous_mode","selected_mode"],actionParameterValues:[e.toString(),t.toString()],actionName:"select_shuffle_mode",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.PreviousMode={LINEAR:"linear",SHUFFLE:"shuffle",SMART_SHUFFLE:"smart_shuffle"},t.SelectedMode={LINEAR:"linear",SMART_SHUFFLE:"smart_shuffle"},e.ToggleSmartShuffleButtonEventFactory=t}(e.MenuShuffleButtonEventFactory||(e.MenuShuffleButtonEventFactory={}))}(c||(c={})),function(e){!function(e){e.LearnMoreButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"learn_more_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.MenuShuffleButtonEventFactory||(e.MenuShuffleButtonEventFactory={}))}(c||(c={}))},67973:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});const i="music",o="2.0.0",r="default",a="14.11.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-smart-shuffle-actions",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}addRecommendationButtonFactory(e){return new c.AddRecommendationButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}removeRecommendationButtonFactory(e){return new c.RemoveRecommendationButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}undoButtonFactory(e){return new c.UndoButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.AddRecommendationButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"add_recommendation_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitApproveRecommendation({recommendedItemUri:e,contextUri:t}){return{actionParameterNames:["recommended_item_uri","context_uri"],actionParameterValues:[e.toString(),t.toString()],actionName:"approve_recommendation",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RemoveRecommendationButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"remove_recommendation_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveRecommendation({recommendedItemUri:e,contextUri:t}){return{actionParameterNames:["recommended_item_uri","context_uri"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_recommendation",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.UndoButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"undo_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},75922:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});const i="music",o="3.1.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-spotlight-shelf"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}shelfHeaderFactory(){return new c.ShelfHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}previousButtonFactory(){return new c.PreviousButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextButtonFactory(){return new c.NextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}spotlightCardFactory(e){return new c.SpotlightCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.ShelfHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"shelf_header"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PreviousButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"previous_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.NextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"next_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SpotlightCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"spotlight_card"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.SpotlightCardEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextMenuButtonFactory(){return new e.SpotlightCardEventFactory.ContextMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveButtonFactory(){return new e.SpotlightCardEventFactory.SaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}shareButtonFactory(){return new e.SpotlightCardEventFactory.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SpotlightCardEventFactory||(e.SpotlightCardEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_menu_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SpotlightCardEventFactory||(e.SpotlightCardEventFactory={}))}(c||(c={})),function(e){!function(e){e.SaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SpotlightCardEventFactory||(e.SpotlightCardEventFactory={}))}(c||(c={})),function(e){!function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCopyToClipboard(){return{actionName:"copy_to_clipboard",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SpotlightCardEventFactory||(e.SpotlightCardEventFactory={}))}(c||(c={}))},38710:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});const i="music",o="6.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-top-bar"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}backButtonFactory(){return new c.BackButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}forwardButtonFactory(){return new c.ForwardButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}upgradeButtonFactory(){return new c.UpgradeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}installAppButtonFactory(){return new c.InstallAppButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}installPwaButtonFactory(){return new c.InstallPwaButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}profileButtonFactory(){return new c.ProfileButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}privateSessionButtonFactory(){return new c.PrivateSessionButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}offlineButtonFactory(){return new c.OfflineButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}authorizationButtonFactory(){return new c.AuthorizationButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}dsaModeButtonFactory(){return new c.DsaModeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}homeButtonFactory(){return new c.HomeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}searchInputFactory(){return new c.SearchInputEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}browseButtonFactory(){return new c.BrowseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.BackButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"back_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ForwardButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"forward_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigateForwardInHistory(){return{actionName:"ui_navigate_forward_in_history",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.UpgradeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"upgrade_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.InstallAppButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"install_app_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"install_pwa_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitInstallApp({appName:e}){return{actionParameterNames:["app_name"],actionParameterValues:[e.toString()],actionName:"install_app",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.AppName={PWA:"pwa"},e.InstallPwaButtonEventFactory=t}(c||(c={})),function(e){e.ProfileButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"profile_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PrivateSessionButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"private_session_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.OfflineButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"offline_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AuthorizationButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"authorization_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.DsaModeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"dsa_mode_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.HomeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"home_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.SearchInputEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"search_input"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.BrowseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"browse_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},17298:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});const i="music",o="2.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-track-context-menu",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}goToSongRadioFactory(){return new c.GoToSongRadioEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToArtistFactory(){return new c.GoToArtistEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToAlbumFactory(){return new c.GoToAlbumEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}showCreditsFactory(){return new c.ShowCreditsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addRecommendationFactory(){return new c.AddRecommendationEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}removeRecommendationFactory(){return new c.RemoveRecommendationEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.GoToSongRadioEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_song_radio"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToArtistEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_artist"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToAlbumEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_album"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShowCreditsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"show_credits"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddRecommendationEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_recommendation"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RemoveRecommendationEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remove_recommendation"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveRecommendation({recommendedItemUri:e,contextUri:t}){return{actionParameterNames:["recommended_item_uri","context_uri"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_recommendation",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},55665:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});const i="music",o="8.0.0",r="default",a="15.0.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-track-list-row",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}playbackButtonFactory(){return new c.PlaybackButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}artistLinkFactory(e){return new c.ArtistLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}albumLinkFactory(e){return new c.AlbumLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}addedByLinkFactory(e){return new c.AddedByLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}eventLinkFactory(e){return new c.EventLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}heartButtonFactory(){return new c.HeartButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addRecommendationButtonFactory(){return new c.AddRecommendationButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}removeRecommendationButtonFactory(){return new c.RemoveRecommendationButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextButtonFactory(){return new c.ContextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addButtonFactory(){return new c.AddButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}doubleHitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"double_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}doubleHitShowPaywall({paywalledItem:e}){return{actionParameterNames:["paywalled_item"],actionParameterValues:[e.toString()],actionName:"show_paywall",actionVersion:1,app:i,generatorVersion:a,interactionType:"double_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.PlaybackButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"playback_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitShowPaywall({paywalledItem:e}){return{actionParameterNames:["paywalled_item"],actionParameterValues:[e.toString()],actionName:"show_paywall",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ArtistLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AlbumLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"album_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddedByLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"added_by_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.EventLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.HeartButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"heart_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddRecommendationButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_recommendation_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.RemoveRecommendationButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"remove_recommendation_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRemoveRecommendation({recommendedItemUri:e,contextUri:t}){return{actionParameterNames:["recommended_item_uri","context_uri"],actionParameterValues:[e.toString(),t.toString()],actionName:"remove_recommendation",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ContextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},72010:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});const i="music",o="2.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-track",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}headerFactory(){return new c.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}actionBarFactory(){return new c.ActionBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}artistLinkFactory(t){return new e.HeaderEventFactory.ArtistLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ActionBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"action_bar"}),t&&(this._parentAbsoluteLocation=t)}playButtonFactory(){return new e.ActionBarEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveButtonFactory(){return new e.ActionBarEventFactory.SaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}contextButtonFactory(){return new e.ActionBarEventFactory.ContextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.ArtistLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.SaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={})),function(e){!function(e){e.ContextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"context_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.ActionBarEventFactory||(e.ActionBarEventFactory={}))}(c||(c={}))},28895:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});const i="music",o="1.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-tracklist-sort-and-view-box"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}sortBySectionFactory(){return new c.SortBySectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}viewAsSectionFactory(){return new c.ViewAsSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.SortBySectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"sort_by_section"}),t&&(this._parentAbsoluteLocation=t)}sortOptionFactory(t){return new e.SortBySectionEventFactory.SortOptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.ViewAsSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"view_as_section"}),t&&(this._parentAbsoluteLocation=t)}viewOptionFactory(t){return new e.ViewAsSectionEventFactory.ViewOptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.SortOptionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"sort_option"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SortBySectionEventFactory||(e.SortBySectionEventFactory={}))}(c||(c={})),function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"view_option"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiElementToggle(){return{actionName:"ui_element_toggle",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.Identifier={COMPACT:"compact",LIST:"list"},e.ViewOptionEventFactory=t}(e.ViewAsSectionEventFactory||(e.ViewAsSectionEventFactory={}))}(c||(c={}))},88426:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});const i="music",o="3.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-user-widget-menu"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}goToAccountPageRowFactory(){return new c.GoToAccountPageRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToUserProfileRowFactory(){return new c.GoToUserProfileRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}openEmployeePodcastModalRowFactory(){return new c.OpenEmployeePodcastModalRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToUpgradePlanPageRowFactory(){return new c.GoToUpgradePlanPageRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}togglePrivateSessionRowFactory(){return new c.TogglePrivateSessionRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToSettingsRowFactory(){return new c.GoToSettingsRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToInAppMessagingRowFactory(){return new c.GoToInAppMessagingRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}updateClientRowFactory(){return new c.UpdateClientRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}logOutRowFactory(){return new c.LogOutRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}goToPlanManagementFactory(){return new c.GoToPlanManagementEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.GoToAccountPageRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_account_page_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToUserProfileRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_user_profile_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.OpenEmployeePodcastModalRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"open_employee_podcast_modal_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToUpgradePlanPageRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_upgrade_plan_page_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.TogglePrivateSessionRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"toggle_private_session_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSetSettingField(){return{actionName:"set_setting_field",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToSettingsRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_settings_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToInAppMessagingRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_in_app_messaging_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.UpdateClientRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"update_client_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.LogOutRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"log_out_row"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLogout(){return{actionName:"logout",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.GoToPlanManagementEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"go_to_plan_management"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},83917:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const i="0.1.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"desktop-venue-entity"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}eventCardFactory(e){return new a.EventCardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.EventCardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"event_card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:"music",generatorVersion:"16.0.1",interactionType:"hit",specificationMode:o,specificationVersion:i,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(a||(a={}))},9399:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});const i="music",o="1.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-video-not-supported-dialog"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}cancelButtonFactory(){return new c.CancelButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}confirmButtonFactory(){return new c.ConfirmButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CancelButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cancel_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ConfirmButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"confirm_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDisconnectFromRemoteDevice({remoteDeviceId:e}){return{actionParameterNames:["remote_device_id"],actionParameterValues:[e.toString()],actionName:"disconnect_from_remote_device",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},95284:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});const i="music",o="5.0.0",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-video",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}subtitlesButtonFactory(){return new c.SubtitlesButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}fullscreenButtonFactory(){return new c.FullscreenButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}cinemaModeButtonFactory(){return new c.CinemaModeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}pipButtonContainerFactory(){return new c.PipButtonContainerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}toggleAudioVideoButtonFactory(e){return new c.ToggleAudioVideoButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}playButtonFactory(){return new c.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}premiumUpsellFactory(){return new c.PremiumUpsellEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}premiumUpsellPopoverFactory(){return new c.PremiumUpsellPopoverEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragUiResize({startSizePx:e,endSizePx:t}){return{actionParameterNames:["start_size_px","end_size_px"],actionParameterValues:[e.toString(),t.toString()],actionName:"ui_resize",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.SubtitlesButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"subtitles_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FullscreenButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"fullscreen_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CinemaModeButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"cinema_mode_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PipButtonContainerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"pip_button_container"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"toggle_audio_video_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.Identifier={SWITCH_TO_AUDIO:"switch_to_audio",SWITCH_TO_VIDEO:"switch_to_video"},e.ToggleAudioVideoButtonEventFactory=t}(c||(c={})),function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PremiumUpsellEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"premium_upsell"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PremiumUpsellPopoverEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"premium_upsell_popover"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},63818:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});const i="music",o="1.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-watch-feed-card",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}},6831:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});const i="music",o="1.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-watch-feed-view",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}muteButtonFactory(){return new c.MuteButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followButtonFactory(){return new c.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}artistNameFactory(){return new c.ArtistNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}hashtagButtonFactory(e){return new c.HashtagButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}shareButtonFactory(){return new c.ShareButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}addToQueueFactory(){return new c.AddToQueueEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}nextButtonFactory(){return new c.NextButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}previousButtonFactory(){return new c.PreviousButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}trackTitleFactory(e){return new c.TrackTitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}albumTitleFactory(){return new c.AlbumTitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.MuteButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"mute_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitMutePlayback(){return{actionName:"mute_playback",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnmutePlayback(){return{actionName:"unmute_playback",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ArtistNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"artist_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.HashtagButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"hashtag_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.ShareButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"share_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitShare({entityToBeShared:e,shareId:t}){return{actionParameterNames:["entity_to_be_shared","share_id"],actionParameterValues:[e.toString(),t.toString()],actionName:"share",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AddToQueueEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_to_queue"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddItemToQueue({itemToAddToQueue:e}){return{actionParameterNames:["item_to_add_to_queue"],actionParameterValues:[e.toString()],actionName:"add_item_to_queue",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.NextButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"next_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSkipToNext({itemToBeSkipped:e,positionMs:t,totalContentMs:n}){return{actionParameterNames:["item_to_be_skipped","position_ms","total_content_ms"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"skip_to_next",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.PreviousButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"previous_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSkipToPrevious({itemToBeSkipped:e,positionMs:t,totalContentMs:n}){return{actionParameterNames:["item_to_be_skipped","position_ms","total_content_ms"],actionParameterValues:[e.toString(),t.toString(),n.toString()],actionName:"skip_to_previous",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.TrackTitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"track_title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.AlbumTitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"album_title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},66978:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});const i="music",o="4.0.1",r="default",a="15.2.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-whats-new-feed"}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}notificationsBellToggleFactory(){return new c.NotificationsBellToggleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}filterChipsFactory(){return new c.FilterChipsEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}notificationItemFactory(e){return new c.NotificationItemEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.NotificationsBellToggleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"notifications_bell_toggle"}),t&&(this._parentAbsoluteLocation=t)}notificationsIndicatorFactory(){return new e.NotificationsBellToggleEventFactory.NotificationsIndicatorEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.FilterChipsEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"filter_chips"}),t&&(this._parentAbsoluteLocation=t)}clearFiltersFactory(){return new e.FilterChipsEventFactory.ClearFiltersEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}filterChipFactory(t){return new e.FilterChipsEventFactory.FilterChipEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){e.NotificationItemEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"notification_item"}),t&&(this._parentAbsoluteLocation=t)}titleFactory(){return new e.NotificationItemEventFactory.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}saveButtonFactory(){return new e.NotificationItemEventFactory.SaveButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}followButtonFactory(){return new e.NotificationItemEventFactory.FollowButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}downloadButtonFactory(){return new e.NotificationItemEventFactory.DownloadButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}subtitleFactory(){return new e.NotificationItemEventFactory.SubtitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playButtonFactory(){return new e.NotificationItemEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.NotificationsIndicatorEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"notifications_indicator"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NotificationsBellToggleEventFactory||(e.NotificationsBellToggleEventFactory={}))}(c||(c={})),function(e){!function(e){e.ClearFiltersEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"clear_filters"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FilterChipsEventFactory||(e.FilterChipsEventFactory={}))}(c||(c={})),function(e){!function(e){e.FilterChipEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"filter_chip"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FilterChipsEventFactory||(e.FilterChipsEventFactory={}))}(c||(c={})),function(e){!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NotificationItemEventFactory||(e.NotificationItemEventFactory={}))}(c||(c={})),function(e){!function(e){e.SaveButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"save_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitRemoveLike({itemNoLongerLiked:e}){return{actionParameterNames:["item_no_longer_liked"],actionParameterValues:[e.toString()],actionName:"remove_like",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NotificationItemEventFactory||(e.NotificationItemEventFactory={}))}(c||(c={})),function(e){!function(e){e.FollowButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"follow_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUnfollow({itemToBeUnfollowed:e}){return{actionParameterNames:["item_to_be_unfollowed"],actionParameterValues:[e.toString()],actionName:"unfollow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NotificationItemEventFactory||(e.NotificationItemEventFactory={}))}(c||(c={})),function(e){!function(e){e.DownloadButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"download_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitDownload({itemToDownload:e}){return{actionParameterNames:["item_to_download"],actionParameterValues:[e.toString()],actionName:"download",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NotificationItemEventFactory||(e.NotificationItemEventFactory={}))}(c||(c={})),function(e){!function(e){e.SubtitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"subtitle"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NotificationItemEventFactory||(e.NotificationItemEventFactory={}))}(c||(c={})),function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.NotificationItemEventFactory||(e.NotificationItemEventFactory={}))}(c||(c={}))},7062:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});const i="music",o="2.0.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-window",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}fullscreenButtonFactory(){return new c.FullscreenButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.FullscreenButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"fullscreen_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},25297:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});const i="music",o="3.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"desktop-your-library-x",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}sidebarFactory(e){return new c.SidebarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.SidebarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"sidebar"}),t&&(this._parentAbsoluteLocation=t)}headerFactory(){return new e.SidebarEventFactory.HeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}listFactory(){return new e.SidebarEventFactory.ListEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragUiResize({startSizePx:e,endSizePx:t}){return{actionParameterNames:["start_size_px","end_size_px"],actionParameterValues:[e.toString(),t.toString()],actionName:"ui_resize",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(t){t.HeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"header"}),t&&(this._parentAbsoluteLocation=t)}titleRowFactory(){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}filtersFactory(){return new e.SidebarEventFactory.HeaderEventFactory.FiltersEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}searchBarFactory(){return new e.SidebarEventFactory.HeaderEventFactory.SearchBarEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}sortMenuButtonFactory(){return new e.SidebarEventFactory.HeaderEventFactory.SortMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}sortbyViewasMenuButtonFactory(){return new e.SidebarEventFactory.HeaderEventFactory.SortbyViewasMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){t.ListEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"list"}),t&&(this._parentAbsoluteLocation=t)}yourLibraryItemFactory(){return new e.SidebarEventFactory.ListEventFactory.YourLibraryItemEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragLike({itemToBeLiked:e}){return{actionParameterNames:["item_to_be_liked"],actionParameterValues:[e.toString()],actionName:"like",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragPinItem({itemToPin:e}){return{actionParameterNames:["item_to_pin"],actionParameterValues:[e.toString()],actionName:"pin_item",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragUnpinItem({itemToUnpin:e}){return{actionParameterNames:["item_to_unpin"],actionParameterValues:[e.toString()],actionName:"unpin_item",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.TitleRowEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"title_row"}),t&&(this._parentAbsoluteLocation=t)}toggleCollapsedModeButtonFactory(t){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.ToggleCollapsedModeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}folderTitleFactory(){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.FolderTitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}createMenuButtonFactory(){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.CreateMenuButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}viewDensityToggleFactory(t){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.ViewDensityToggleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}toggleExpandedModeButtonFactory(t){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.ToggleExpandedModeButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}folderBackButtonFactory(){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.FolderBackButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.FiltersEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"filters"}),t&&(this._parentAbsoluteLocation=t)}clearButtonFactory(){return new e.SidebarEventFactory.HeaderEventFactory.FiltersEventFactory.ClearButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}filterChipFactory(t){return new e.SidebarEventFactory.HeaderEventFactory.FiltersEventFactory.FilterChipEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.SearchBarEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"search_bar"}),t&&(this._parentAbsoluteLocation=t)}searchButtonFactory(){return new e.SidebarEventFactory.HeaderEventFactory.SearchBarEventFactory.SearchButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}textFilterFactory(){return new e.SidebarEventFactory.HeaderEventFactory.SearchBarEventFactory.TextFilterEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.SortMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"sort_menu_button"}),t&&(this._parentAbsoluteLocation=t)}sortMenuFactory(){return new e.SidebarEventFactory.HeaderEventFactory.SortMenuButtonEventFactory.SortMenuEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.SortbyViewasMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"sortby_viewas_menu_button"}),t&&(this._parentAbsoluteLocation=t)}sortOptionFactory(t){return new e.SidebarEventFactory.HeaderEventFactory.SortbyViewasMenuButtonEventFactory.SortOptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}viewAsOptionFactory(t){return new e.SidebarEventFactory.HeaderEventFactory.SortbyViewasMenuButtonEventFactory.ViewAsOptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}gridDensitySliderFactory(){return new e.SidebarEventFactory.HeaderEventFactory.SortbyViewasMenuButtonEventFactory.GridDensitySliderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){t.YourLibraryItemEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"your_library_item"}),t&&(this._parentAbsoluteLocation=t)}toggleFolderButtonFactory(){return new e.SidebarEventFactory.ListEventFactory.YourLibraryItemEventFactory.ToggleFolderButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}playButtonFactory(){return new e.SidebarEventFactory.ListEventFactory.YourLibraryItemEventFactory.PlayButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}subtitleLinkFactory(){return new e.SidebarEventFactory.ListEventFactory.YourLibraryItemEventFactory.SubtitleLinkEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}doubleHitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"double_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}doubleHitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"double_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}doubleHitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"double_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}secondaryHitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"secondary_hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}dragUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeDeletePlaylist({playlistToBeDeleted:e}){return{actionParameterNames:["playlist_to_be_deleted"],actionParameterValues:[e.toString()],actionName:"delete_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.ListEventFactory||(t.ListEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"toggle_collapsed_mode_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitToggleState({stateBeforeToggle:e,stateAfterToggle:t}){return{actionParameterNames:["state_before_toggle","state_after_toggle"],actionParameterValues:[e.toString(),t.toString()],actionName:"toggle_state",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.StateBeforeToggle={COLLAPSED:"collapsed",DEFAULT:"default",EXPANDED:"expanded"},t.StateAfterToggle={COLLAPSED:"collapsed",DEFAULT:"default",EXPANDED:"expanded"},e.ToggleCollapsedModeButtonEventFactory=t}(e.TitleRowEventFactory||(e.TitleRowEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.FolderTitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"folder_title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitRenameFolder({uri:e}){return{actionParameterNames:["uri"],actionParameterValues:[e.toString()],actionName:"rename_folder",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TitleRowEventFactory||(e.TitleRowEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){!function(t){t.CreateMenuButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_menu_button"}),t&&(this._parentAbsoluteLocation=t)}createMenuFactory(){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.CreateMenuButtonEventFactory.CreateMenuEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(t.TitleRowEventFactory||(t.TitleRowEventFactory={}))}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"view_density_toggle"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitToggleState({stateBeforeToggle:e,stateAfterToggle:t}){return{actionParameterNames:["state_before_toggle","state_after_toggle"],actionParameterValues:[e.toString(),t.toString()],actionName:"toggle_state",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.StateBeforeToggle={GRID:"grid",LIST:"list"},t.StateAfterToggle={GRID:"grid",LIST:"list"},e.ViewDensityToggleEventFactory=t}(e.TitleRowEventFactory||(e.TitleRowEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){class t{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"toggle_expanded_mode_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitToggleState({stateBeforeToggle:e,stateAfterToggle:t}){return{actionParameterNames:["state_before_toggle","state_after_toggle"],actionParameterValues:[e.toString(),t.toString()],actionName:"toggle_state",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}t.StateBeforeToggle={DEFAULT:"default",EXPANDED:"expanded"},t.StateAfterToggle={DEFAULT:"default",EXPANDED:"expanded"},e.ToggleExpandedModeButtonEventFactory=t}(e.TitleRowEventFactory||(e.TitleRowEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.FolderBackButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"folder_back_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiNavigateBack(){return{actionName:"ui_navigate_back",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.TitleRowEventFactory||(e.TitleRowEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.ClearButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"clear_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FiltersEventFactory||(e.FiltersEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.FilterChipEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"filter_chip"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.FiltersEventFactory||(e.FiltersEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.SearchButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"search_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SearchBarEventFactory||(e.SearchBarEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.TextFilterEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"text_filter"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}keyStrokeFilter(){return{actionName:"filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}keyStrokeClearFilter(){return{actionName:"clear_filter",actionVersion:1,app:i,generatorVersion:a,interactionType:"key_stroke",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SearchBarEventFactory||(e.SearchBarEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){!function(t){t.SortMenuEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"sort_menu"}),t&&(this._parentAbsoluteLocation=t)}sortOptionFactory(t){return new e.SidebarEventFactory.HeaderEventFactory.SortMenuButtonEventFactory.SortMenuEventFactory.SortOptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.SortMenuButtonEventFactory||(t.SortMenuButtonEventFactory={}))}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.SortOptionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"sort_option"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SortbyViewasMenuButtonEventFactory||(e.SortbyViewasMenuButtonEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.ViewAsOptionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"view_as_option"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiElementToggle(){return{actionName:"ui_element_toggle",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SortbyViewasMenuButtonEventFactory||(e.SortbyViewasMenuButtonEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.GridDensitySliderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"grid_density_slider"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}dragSetSliderPosition({position:e}){return{actionParameterNames:["position"],actionParameterValues:[e.toString()],actionName:"set_slider_position",actionVersion:1,app:i,generatorVersion:a,interactionType:"drag",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitSetSliderPosition({position:e}){return{actionParameterNames:["position"],actionParameterValues:[e.toString()],actionName:"set_slider_position",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SortbyViewasMenuButtonEventFactory||(e.SortbyViewasMenuButtonEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.ToggleFolderButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"toggle_folder_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiReveal(){return{actionName:"ui_reveal",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.YourLibraryItemEventFactory||(e.YourLibraryItemEventFactory={}))}(e.ListEventFactory||(e.ListEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.PlayButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"play_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitPlay({itemToBePlayed:e}){return{actionParameterNames:["item_to_be_played"],actionParameterValues:[e.toString()],actionName:"play",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitPause({itemToBePaused:e}){return{actionParameterNames:["item_to_be_paused"],actionParameterValues:[e.toString()],actionName:"pause",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitResume({itemToBeResumed:e}){return{actionParameterNames:["item_to_be_resumed"],actionParameterValues:[e.toString()],actionName:"resume",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.YourLibraryItemEventFactory||(e.YourLibraryItemEventFactory={}))}(e.ListEventFactory||(e.ListEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){e.SubtitleLinkEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"subtitle_link"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.YourLibraryItemEventFactory||(e.YourLibraryItemEventFactory={}))}(e.ListEventFactory||(e.ListEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(t){!function(t){!function(t){!function(t){t.CreateMenuEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_menu"}),t&&(this._parentAbsoluteLocation=t)}createPlaylistOptionFactory(){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.CreateMenuButtonEventFactory.CreateMenuEventFactory.CreatePlaylistOptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}createFolderOptionFactory(){return new e.SidebarEventFactory.HeaderEventFactory.TitleRowEventFactory.CreateMenuButtonEventFactory.CreateMenuEventFactory.CreateFolderOptionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(t.CreateMenuButtonEventFactory||(t.CreateMenuButtonEventFactory={}))}(t.TitleRowEventFactory||(t.TitleRowEventFactory={}))}(t.HeaderEventFactory||(t.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){!function(e){e.SortOptionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"sort_option"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitSort(){return{actionName:"sort",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.SortMenuEventFactory||(e.SortMenuEventFactory={}))}(e.SortMenuButtonEventFactory||(e.SortMenuButtonEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){!function(e){!function(e){e.CreatePlaylistOptionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_playlist_option"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCreatePlaylist(){return{actionName:"create_playlist",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CreateMenuEventFactory||(e.CreateMenuEventFactory={}))}(e.CreateMenuButtonEventFactory||(e.CreateMenuButtonEventFactory={}))}(e.TitleRowEventFactory||(e.TitleRowEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={})),function(e){!function(e){!function(e){!function(e){!function(e){!function(e){e.CreateFolderOptionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"create_folder_option"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitCreateFolder(){return{actionName:"create_folder",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CreateMenuEventFactory||(e.CreateMenuEventFactory={}))}(e.CreateMenuButtonEventFactory||(e.CreateMenuButtonEventFactory={}))}(e.TitleRowEventFactory||(e.TitleRowEventFactory={}))}(e.HeaderEventFactory||(e.HeaderEventFactory={}))}(e.SidebarEventFactory||(e.SidebarEventFactory={}))}(c||(c={}))},49566:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});const i="music",o="0.1.0",r="default",a="12.2.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"mobile-promotion",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}campaignFactory(e){return new c.CampaignEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}!function(e){e.CampaignEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"campaign"}),t&&(this._parentAbsoluteLocation=t)}cardFactory(t){return new e.CampaignEventFactory.CardEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}bannerFactory(t){return new e.CampaignEventFactory.BannerEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}sectionHeaderFactory(t){return new e.CampaignEventFactory.SectionHeaderEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){!function(e){e.CardEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"card"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CampaignEventFactory||(e.CampaignEventFactory={}))}(c||(c={})),function(e){!function(e){e.BannerEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"banner"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CampaignEventFactory||(e.CampaignEventFactory={}))}(c||(c={})),function(e){!function(e){e.SectionHeaderEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"section_header"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiNavigate({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"ui_navigate",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CampaignEventFactory||(e.CampaignEventFactory={}))}(c||(c={}))},38992:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});const i="music",o="4.0.1",r="default",a="15.1.0";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"track-credits",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}creditSectionFactory(e){return new c.CreditSectionEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:e})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.CreditSectionEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"credit_section"}),t&&(this._parentAbsoluteLocation=t)}titleFactory(t){return new e.CreditSectionEventFactory.TitleEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}artistNameFactory(t){return new e.CreditSectionEventFactory.ArtistNameEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation,data:t})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(c||(c={})),function(e){!function(e){e.TitleEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"title"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}}}(e.CreditSectionEventFactory||(e.CreditSectionEventFactory={}))}(c||(c={})),function(e){!function(e){e.ArtistNameEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({...n,name:"artist_name"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitNavigateToExternalUri({destination:e}){return{actionParameterNames:["destination"],actionParameterValues:[e.toString()],actionName:"navigate_to_external_uri",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(e.CreditSectionEventFactory||(e.CreditSectionEventFactory={}))}(c||(c={}))},21968:(e,t,n)=>{"use strict";n.d(t,{e:()=>s});const i="music",o="1.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"web-save-for-later-intent-buttons",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}},90936:(e,t,n)=>{"use strict";n.d(t,{K0:()=>s});const i="music",o="1.0.0",r="default",a="16.0.1";function s(e){return new c(e)}class c{constructor(e){this._path=[{name:"web-save-for-later-intent-modal",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}addButtonFactory(){return new c.AddButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}closeButtonFactory(){return new c.CloseButtonEventFactory({path:this._path,parentAbsoluteLocation:this._parentAbsoluteLocation})}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:i,generatorVersion:a,specificationVersion:o,specificationMode:r,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}!function(e){e.AddButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"add_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitFollow({itemToBeFollowed:e}){return{actionParameterNames:["item_to_be_followed"],actionParameterValues:[e.toString()],actionName:"follow",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}hitAddToPlaylist({playlist:e,itemToBeAdded:t}){return{actionParameterNames:["playlist","item_to_be_added"],actionParameterValues:[e.toString(),t.toString()],actionName:"add_to_playlist",actionVersion:2,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={})),function(e){e.CloseButtonEventFactory=class{constructor({path:e,parentAbsoluteLocation:t,data:n}){this._path=e.concat({name:"close_button"}),t&&(this._parentAbsoluteLocation=t)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[r,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[o,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}hitUiHide(){return{actionName:"ui_hide",actionVersion:1,app:i,generatorVersion:a,interactionType:"hit",specificationMode:r,specificationVersion:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}}(c||(c={}))},63860:(e,t,n)=>{"use strict";n.d(t,{y4:()=>r});const i="1.0.0",o="default";function r(e){return new a(e)}class a{constructor(e){this._path=[{name:"web-save-for-later-intent-snackbar",...e.data}],e?.parentAbsoluteLocation&&(this._parentAbsoluteLocation=e.parentAbsoluteLocation)}_getCurrentLocation(){return{pathNodes:this._path,specMode:[o,...[...Array(this._path.length-1)].map((()=>""))],specVersion:[i,...[...Array(this._path.length-1)].map((()=>""))]}}getAbsoluteLocation(){const e=this._parentAbsoluteLocation?.locations;return{locations:[...e||[],this._getCurrentLocation()]}}impression(){return{app:"music",generatorVersion:"16.0.1",specificationVersion:i,specificationMode:o,annotatorConfigurationVersion:"",annotatorVersion:"",location:this._getCurrentLocation(),parentAbsoluteLocation:this._parentAbsoluteLocation}}}},87960:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};var r=n(87252);function a(){return{loudness:[],playbackId:"",position:BigInt("0")}}const s={encode(e,t=i.Writer.create()){t.uint32(10).fork();for(const n of e.loudness)t.int32(n);return t.ldelim(),""!==e.playbackId&&t.uint32(18).string(e.playbackId),e.position!==BigInt("0")&&t.uint32(24).uint64(e.position.toString()),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=a();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8===e){r.loudness.push(n.int32());continue}if(10===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.loudness.push(n.int32());continue}break;case 2:if(18!==e)break;r.playbackId=n.string();continue;case 3:if(24!==e)break;r.position=(s=n.uint64(),BigInt(s.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var s;return r},fromJSON:e=>({loudness:Array.isArray(e?.loudness)?e.loudness.map((e=>Number(e))):[],playbackId:c(e.playbackId)?String(e.playbackId):"",position:c(e.position)?BigInt(e.position):BigInt("0")}),toJSON(e){const t={};return e.loudness?.length&&(t.loudness=e.loudness.map((e=>Math.round(e)))),""!==e.playbackId&&(t.playbackId=e.playbackId),e.position!==BigInt("0")&&(t.position=e.position.toString()),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t=a();return t.loudness=e.loudness?.map((e=>e))||[],t.playbackId=e.playbackId??"",t.position=e.position??BigInt("0"),t}};function c(e){return null!=e}i.util.Long!==r&&(i.util.Long=r,i.configure());class l{transport;options;constructor(e,t={}){this.transport=e,this.options=t}subLoudness(e,t){const n=l.SERVICE_ID,r="SubLoudness",a=o.fromPartial(e),c=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:c},(e=>{const o=s.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}static SERVICE_ID="spotify.analyzer_esperanto.proto.AnalyzerService";static METHODS={subLoudness:{isStreaming:!0,requestType:o,responseType:s}};static DECODERS={SubLoudness:{request:o.decode,response:s.decode}}}},31202:(e,t,n)=>{"use strict";n.d(t,{Rs:()=>Sn,sZ:()=>rt,oT:()=>ut,V$:()=>Un,o$:()=>dn,ve:()=>Jn,ob:()=>Nt,hn:()=>Et});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(0!==e.code&&t.uint32(8).int32(e.code),""!==e.reason&&t.uint32(18).string(e.reason),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={code:0,reason:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.code=n.int32();continue;case 2:if(18!==e)break;r.reason=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({code:r(e.code)?Number(e.code):0,reason:r(e.reason)?String(e.reason):""}),toJSON(e){const t={};return 0!==e.code&&(t.code=Math.round(e.code)),""!==e.reason&&(t.reason=e.reason),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={code:0,reason:""};return t.code=e.code??0,t.reason=e.reason??"",t}};function r(e){return null!=e}const a={encode(e,t=i.Writer.create()){for(const n of e.uri)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[]}),toJSON(e){const t={};return e.uri?.length&&(t.uri=e.uri),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={uri:[]};return t.uri=e.uri?.map((e=>e))||[],t}};const s={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{status:(t=e.status,null!=t?o.fromJSON(e.status):void 0)};var t},toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};const c={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.copyrights&&t.uint32(24).bool(e.copyrights),!0===e.covers&&t.uint32(32).bool(e.covers),!0===e.year&&t.uint32(40).bool(e.year),!0===e.numDiscs&&t.uint32(48).bool(e.numDiscs),!0===e.numTracks&&t.uint32(56).bool(e.numTracks),!0===e.playability&&t.uint32(64).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(72).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.copyrights=n.bool();continue;case 4:if(32!==e)break;r.covers=n.bool();continue;case 5:if(40!==e)break;r.year=n.bool();continue;case 6:if(48!==e)break;r.numDiscs=n.bool();continue;case 7:if(56!==e)break;r.numTracks=n.bool();continue;case 8:if(64!==e)break;r.playability=n.bool();continue;case 9:if(72!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!d(e.link)&&Boolean(e.link),name:!!d(e.name)&&Boolean(e.name),copyrights:!!d(e.copyrights)&&Boolean(e.copyrights),covers:!!d(e.covers)&&Boolean(e.covers),year:!!d(e.year)&&Boolean(e.year),numDiscs:!!d(e.numDiscs)&&Boolean(e.numDiscs),numTracks:!!d(e.numTracks)&&Boolean(e.numTracks),playability:!!d(e.playability)&&Boolean(e.playability),isPremiumOnly:!!d(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.covers&&(t.covers=e.covers),!0===e.year&&(t.year=e.year),!0===e.numDiscs&&(t.numDiscs=e.numDiscs),!0===e.numTracks&&(t.numTracks=e.numTracks),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};return t.link=e.link??!1,t.name=e.name??!1,t.copyrights=e.copyrights??!1,t.covers=e.covers??!1,t.year=e.year??!1,t.numDiscs=e.numDiscs??!1,t.numTracks=e.numTracks??!1,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};const l={encode:(e,t=i.Writer.create())=>(!0===e.collectionLink&&t.uint32(8).bool(e.collectionLink),!0===e.numTracksInCollection&&t.uint32(16).bool(e.numTracksInCollection),!0===e.complete&&t.uint32(24).bool(e.complete),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:!1,numTracksInCollection:!1,complete:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.collectionLink=n.bool();continue;case 2:if(16!==e)break;r.numTracksInCollection=n.bool();continue;case 3:if(24!==e)break;r.complete=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:!!d(e.collectionLink)&&Boolean(e.collectionLink),numTracksInCollection:!!d(e.numTracksInCollection)&&Boolean(e.numTracksInCollection),complete:!!d(e.complete)&&Boolean(e.complete)}),toJSON(e){const t={};return!0===e.collectionLink&&(t.collectionLink=e.collectionLink),!0===e.numTracksInCollection&&(t.numTracksInCollection=e.numTracksInCollection),!0===e.complete&&(t.complete=e.complete),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={collectionLink:!1,numTracksInCollection:!1,complete:!1};return t.collectionLink=e.collectionLink??!1,t.numTracksInCollection=e.numTracksInCollection??!1,t.complete=e.complete??!1,t}};const u={encode:(e,t=i.Writer.create())=>(!0===e.inferredOffline&&t.uint32(8).bool(e.inferredOffline),!0===e.offlineState&&t.uint32(16).bool(e.offlineState),!0===e.syncProgress&&t.uint32(24).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={inferredOffline:!1,offlineState:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.inferredOffline=n.bool();continue;case 2:if(16!==e)break;r.offlineState=n.bool();continue;case 3:if(24!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({inferredOffline:!!d(e.inferredOffline)&&Boolean(e.inferredOffline),offlineState:!!d(e.offlineState)&&Boolean(e.offlineState),syncProgress:!!d(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.inferredOffline&&(t.inferredOffline=e.inferredOffline),!0===e.offlineState&&(t.offlineState=e.offlineState),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={inferredOffline:!1,offlineState:!1,syncProgress:!1};return t.inferredOffline=e.inferredOffline??!1,t.offlineState=e.offlineState??!1,t.syncProgress=e.syncProgress??!1,t}};function d(e){return null!=e}const p={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),!0===e.portraits&&t.uint32(32).bool(e.portraits),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,isVariousArtists:!1,portraits:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(32!==e)break;r.portraits=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!m(e.link)&&Boolean(e.link),name:!!m(e.name)&&Boolean(e.name),isVariousArtists:!!m(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:!!m(e.portraits)&&Boolean(e.portraits)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),!0===e.portraits&&(t.portraits=e.portraits),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,isVariousArtists:!1,portraits:!1};return t.link=e.link??!1,t.name=e.name??!1,t.isVariousArtists=e.isVariousArtists??!1,t.portraits=e.portraits??!1,t}};const h={encode:(e,t=i.Writer.create())=>(!0===e.collectionLink&&t.uint32(8).bool(e.collectionLink),!0===e.isFollowed&&t.uint32(16).bool(e.isFollowed),!0===e.numTracksInCollection&&t.uint32(24).bool(e.numTracksInCollection),!0===e.numAlbumsInCollection&&t.uint32(32).bool(e.numAlbumsInCollection),!0===e.isBanned&&t.uint32(40).bool(e.isBanned),!0===e.canBan&&t.uint32(48).bool(e.canBan),!0===e.numExplicitlyLikedTracks&&t.uint32(64).bool(e.numExplicitlyLikedTracks),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:!1,isFollowed:!1,numTracksInCollection:!1,numAlbumsInCollection:!1,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.collectionLink=n.bool();continue;case 2:if(16!==e)break;r.isFollowed=n.bool();continue;case 3:if(24!==e)break;r.numTracksInCollection=n.bool();continue;case 4:if(32!==e)break;r.numAlbumsInCollection=n.bool();continue;case 5:if(40!==e)break;r.isBanned=n.bool();continue;case 6:if(48!==e)break;r.canBan=n.bool();continue;case 8:if(64!==e)break;r.numExplicitlyLikedTracks=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:!!m(e.collectionLink)&&Boolean(e.collectionLink),isFollowed:!!m(e.isFollowed)&&Boolean(e.isFollowed),numTracksInCollection:!!m(e.numTracksInCollection)&&Boolean(e.numTracksInCollection),numAlbumsInCollection:!!m(e.numAlbumsInCollection)&&Boolean(e.numAlbumsInCollection),isBanned:!!m(e.isBanned)&&Boolean(e.isBanned),canBan:!!m(e.canBan)&&Boolean(e.canBan),numExplicitlyLikedTracks:!!m(e.numExplicitlyLikedTracks)&&Boolean(e.numExplicitlyLikedTracks)}),toJSON(e){const t={};return!0===e.collectionLink&&(t.collectionLink=e.collectionLink),!0===e.isFollowed&&(t.isFollowed=e.isFollowed),!0===e.numTracksInCollection&&(t.numTracksInCollection=e.numTracksInCollection),!0===e.numAlbumsInCollection&&(t.numAlbumsInCollection=e.numAlbumsInCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),!0===e.numExplicitlyLikedTracks&&(t.numExplicitlyLikedTracks=e.numExplicitlyLikedTracks),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={collectionLink:!1,isFollowed:!1,numTracksInCollection:!1,numAlbumsInCollection:!1,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:!1};return t.collectionLink=e.collectionLink??!1,t.isFollowed=e.isFollowed??!1,t.numTracksInCollection=e.numTracksInCollection??!1,t.numAlbumsInCollection=e.numAlbumsInCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t.numExplicitlyLikedTracks=e.numExplicitlyLikedTracks??!1,t}};const f={encode:(e,t=i.Writer.create())=>(!0===e.inferredOffline&&t.uint32(8).bool(e.inferredOffline),!0===e.offlineState&&t.uint32(16).bool(e.offlineState),!0===e.syncProgress&&t.uint32(24).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={inferredOffline:!1,offlineState:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.inferredOffline=n.bool();continue;case 2:if(16!==e)break;r.offlineState=n.bool();continue;case 3:if(24!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({inferredOffline:!!m(e.inferredOffline)&&Boolean(e.inferredOffline),offlineState:!!m(e.offlineState)&&Boolean(e.offlineState),syncProgress:!!m(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.inferredOffline&&(t.inferredOffline=e.inferredOffline),!0===e.offlineState&&(t.offlineState=e.offlineState),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={inferredOffline:!1,offlineState:!1,syncProgress:!1};return t.inferredOffline=e.inferredOffline??!1,t.offlineState=e.offlineState??!1,t.syncProgress=e.syncProgress??!1,t}};function m(e){return null!=e}var _;function g(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return _.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return _.CANVAZ;case 2:case"STORYLINES":return _.STORYLINES;case 3:case"PODCAST_TOPICS":return _.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return _.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return _.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return _.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return _.PODCAST_COUNTER;case 8:case"ARTIST_V4":return _.ARTIST_V4;case 9:case"ALBUM_V4":return _.ALBUM_V4;case 10:case"TRACK_V4":return _.TRACK_V4;case 11:case"SHOW_V4":return _.SHOW_V4;case 12:case"EPISODE_V4":return _.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return _.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return _.PODCAST_QUOTES;case 15:case"USER_PROFILE":return _.USER_PROFILE;case 16:case"CANVAS_V1":return _.CANVAS_V1;case 17:case"SHOW_V4_BASE":return _.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return _.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return _.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return _.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return _.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return _.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return _.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return _.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return _.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return _.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return _.AUTOMIX_MODE;case 28:case"CUEPOINTS":return _.CUEPOINTS;case 29:case"PODCAST_POLL":return _.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return _.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return _.SHOW_ACCESS;case 32:case"PODCAST_QNA":return _.PODCAST_QNA;case 33:case"CLIPS":return _.CLIPS;case 34:case"SHOW_V5":return _.SHOW_V5;case 35:case"EPISODE_V5":return _.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return _.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return _.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return _.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return _.GREENROOM;case 40:case"USER_CREATED":return _.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return _.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return _.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return _.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return _.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return _.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return _.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return _.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return _.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return _.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return _.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return _.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return _.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return _.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return _.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return _.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return _.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return _.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return _.CONTENT_WARNING;case 59:case"IMAGE_CUE":return _.IMAGE_CUE;case 60:case"STREAM_COUNT":return _.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return _.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return _.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return _.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return _.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return _.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return _.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return _.LIVE;case 68:case"SKIP_PLAYED":return _.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return _.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return _.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return _.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return _.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return _.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return _.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return _.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return _.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return _.PODCAST_GUEST;case 78:case"PLAYABILITY":return _.PLAYABILITY;case 79:case"COVER_IMAGE":return _.COVER_IMAGE;case 80:case"SHARE_TRAIT":return _.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return _.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return _.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return _.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return _.CONCEPT;case 85:case"ORIGINAL_VIDEO":return _.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return _.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return _.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return _.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return _.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return _.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return _.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return _.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return _.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return _.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return _.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return _.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return _.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return _.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return _.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return _.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return _.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return _.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return _.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return _.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return _.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return _.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return _.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return _.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return _.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return _.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return _.MERCH;case 113:case"COMPANION_CONTENT":return _.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return _.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return _.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return _.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return _.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return _.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return _.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return _.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return _.COURSE_SPECIFICS;case 122:case"CONCERT":return _.CONCERT;case 123:case"CONCERT_LOCATION":return _.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return _.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return _.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return _.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return _.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return _.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return _.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return _.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return _.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return _.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return _.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return _.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return _.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return _.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return _.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return _.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return _.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return _.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return _.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return _.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return _.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return _.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return _.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return _.SUPPORTED_BADGES;case 147:case"BADGES":return _.BADGES;case 148:case"PREVIEW_TRAIT":return _.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return _.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return _.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return _.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return _.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return _.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return _.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return _.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return _.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return _.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return _.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return _.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return _.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return _.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return _.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return _.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return _.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return _.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return _.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return _.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return _.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return _.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return _.AUTO_LENS;default:return _.UNRECOGNIZED}}function E(e){switch(e){case _.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case _.CANVAZ:return"CANVAZ";case _.STORYLINES:return"STORYLINES";case _.PODCAST_TOPICS:return"PODCAST_TOPICS";case _.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case _.AUDIO_FILES:return"AUDIO_FILES";case _.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case _.PODCAST_COUNTER:return"PODCAST_COUNTER";case _.ARTIST_V4:return"ARTIST_V4";case _.ALBUM_V4:return"ALBUM_V4";case _.TRACK_V4:return"TRACK_V4";case _.SHOW_V4:return"SHOW_V4";case _.EPISODE_V4:return"EPISODE_V4";case _.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case _.PODCAST_QUOTES:return"PODCAST_QUOTES";case _.USER_PROFILE:return"USER_PROFILE";case _.CANVAS_V1:return"CANVAS_V1";case _.SHOW_V4_BASE:return"SHOW_V4_BASE";case _.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case _.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case _.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case _.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case _.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case _.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case _.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case _.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case _.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case _.AUTOMIX_MODE:return"AUTOMIX_MODE";case _.CUEPOINTS:return"CUEPOINTS";case _.PODCAST_POLL:return"PODCAST_POLL";case _.EPISODE_ACCESS:return"EPISODE_ACCESS";case _.SHOW_ACCESS:return"SHOW_ACCESS";case _.PODCAST_QNA:return"PODCAST_QNA";case _.CLIPS:return"CLIPS";case _.SHOW_V5:return"SHOW_V5";case _.EPISODE_V5:return"EPISODE_V5";case _.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case _.PODCAST_RATING:return"PODCAST_RATING";case _.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case _.GREENROOM:return"GREENROOM";case _.USER_CREATED:return"USER_CREATED";case _.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case _.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case _.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case _.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case _.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case _.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case _.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case _.CLIENT_CONFIG:return"CLIENT_CONFIG";case _.PLAYLISTABILITY:return"PLAYLISTABILITY";case _.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case _.CHAPTER_V5:return"CHAPTER_V5";case _.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case _.EPISODE_RANKING:return"EPISODE_RANKING";case _.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case _.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case _.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case _.PLAY_TRAIT:return"PLAY_TRAIT";case _.CONTENT_WARNING:return"CONTENT_WARNING";case _.IMAGE_CUE:return"IMAGE_CUE";case _.STREAM_COUNT:return"STREAM_COUNT";case _.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case _.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case _.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case _.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case _.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case _.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case _.LIVE:return"LIVE";case _.SKIP_PLAYED:return"SKIP_PLAYED";case _.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case _.ASSOCIATIONS:return"ASSOCIATIONS";case _.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case _.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case _.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case _.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case _.USER_COMMENTS:return"USER_COMMENTS";case _.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case _.PODCAST_GUEST:return"PODCAST_GUEST";case _.PLAYABILITY:return"PLAYABILITY";case _.COVER_IMAGE:return"COVER_IMAGE";case _.SHARE_TRAIT:return"SHARE_TRAIT";case _.INSTANCE_SHARING:return"INSTANCE_SHARING";case _.ARTIST_TOUR:return"ARTIST_TOUR";case _.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case _.CONCEPT:return"CONCEPT";case _.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case _.SMART_SHUFFLE:return"SMART_SHUFFLE";case _.LIVE_EVENTS:return"LIVE_EVENTS";case _.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case _.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case _.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case _.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case _.FEWER_ADS:return"FEWER_ADS";case _.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case _.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case _.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case _.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case _.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case _.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case _.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case _.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case _.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case _.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case _.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case _.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case _.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case _.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case _.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case _.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case _.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case _.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case _.MERCH:return"MERCH";case _.COMPANION_CONTENT:return"COMPANION_CONTENT";case _.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case _.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case _.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case _.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case _.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case _.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case _.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case _.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case _.CONCERT:return"CONCERT";case _.CONCERT_LOCATION:return"CONCERT_LOCATION";case _.CONCERT_MARKETING:return"CONCERT_MARKETING";case _.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case _.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case _.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case _.NAME_TRAIT:return"NAME_TRAIT";case _.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case _.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case _.CREDITS_TRAIT:return"CREDITS_TRAIT";case _.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case _.ENTITY_CAPPING:return"ENTITY_CAPPING";case _.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case _.CONCERT_OFFERS:return"CONCERT_OFFERS";case _.TRANSITION_MAPS:return"TRANSITION_MAPS";case _.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case _.PRERELEASE:return"PRERELEASE";case _.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case _.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case _.LIST_METADATA:return"LIST_METADATA";case _.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case _.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case _.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case _.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case _.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case _.BADGES:return"BADGES";case _.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case _.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case _.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case _.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case _.POPULAR_RELEASES:return"POPULAR_RELEASES";case _.RELATED_RELEASES:return"RELATED_RELEASES";case _.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case _.CONCERT_OFFER:return"CONCERT_OFFER";case _.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case _.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case _.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case _.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case _.REORDERING_TRAIT:return"REORDERING_TRAIT";case _.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case _.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case _.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case _.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case _.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case _.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case _.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case _.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case _.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case _.AUTO_LENS:return"AUTO_LENS";case _.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(_||(_={}));const v={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.length&&t.uint32(16).bool(e.length),!0===e.name&&t.uint32(24).bool(e.name),!0===e.manifestId&&t.uint32(32).bool(e.manifestId),!0===e.previewId&&t.uint32(40).bool(e.previewId),!0===e.previewManifestId&&t.uint32(48).bool(e.previewManifestId),!0===e.description&&t.uint32(56).bool(e.description),!0===e.publishDate&&t.uint32(64).bool(e.publishDate),!0===e.covers&&t.uint32(72).bool(e.covers),!0===e.freezeFrames&&t.uint32(80).bool(e.freezeFrames),!0===e.language&&t.uint32(88).bool(e.language),!0===e.available&&t.uint32(96).bool(e.available),!0===e.mediaTypeEnum&&t.uint32(104).bool(e.mediaTypeEnum),!0===e.number&&t.uint32(112).bool(e.number),!0===e.backgroundable&&t.uint32(120).bool(e.backgroundable),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),!0===e.type&&t.uint32(136).bool(e.type),!0===e.isMusicAndTalk&&t.uint32(144).bool(e.isMusicAndTalk),t.uint32(170).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.is19PlusOnly&&t.uint32(176).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(184).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(192).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(200).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.length=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.manifestId=n.bool();continue;case 5:if(40!==e)break;r.previewId=n.bool();continue;case 6:if(48!==e)break;r.previewManifestId=n.bool();continue;case 7:if(56!==e)break;r.description=n.bool();continue;case 8:if(64!==e)break;r.publishDate=n.bool();continue;case 9:if(72!==e)break;r.covers=n.bool();continue;case 10:if(80!==e)break;r.freezeFrames=n.bool();continue;case 11:if(88!==e)break;r.language=n.bool();continue;case 12:if(96!==e)break;r.available=n.bool();continue;case 13:if(104!==e)break;r.mediaTypeEnum=n.bool();continue;case 14:if(112!==e)break;r.number=n.bool();continue;case 15:if(120!==e)break;r.backgroundable=n.bool();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(136!==e)break;r.type=n.bool();continue;case 18:if(144!==e)break;r.isMusicAndTalk=n.bool();continue;case 21:if(168===e){r.extension.push(n.int32());continue}if(170===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 22:if(176!==e)break;r.is19PlusOnly=n.bool();continue;case 23:if(184!==e)break;r.isBookChapter=n.bool();continue;case 24:if(192!==e)break;r.isPodcastShort=n.bool();continue;case 25:if(200!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!T(e.link)&&Boolean(e.link),length:!!T(e.length)&&Boolean(e.length),name:!!T(e.name)&&Boolean(e.name),manifestId:!!T(e.manifestId)&&Boolean(e.manifestId),previewId:!!T(e.previewId)&&Boolean(e.previewId),previewManifestId:!!T(e.previewManifestId)&&Boolean(e.previewManifestId),description:!!T(e.description)&&Boolean(e.description),publishDate:!!T(e.publishDate)&&Boolean(e.publishDate),covers:!!T(e.covers)&&Boolean(e.covers),freezeFrames:!!T(e.freezeFrames)&&Boolean(e.freezeFrames),language:!!T(e.language)&&Boolean(e.language),available:!!T(e.available)&&Boolean(e.available),mediaTypeEnum:!!T(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),number:!!T(e.number)&&Boolean(e.number),backgroundable:!!T(e.backgroundable)&&Boolean(e.backgroundable),isExplicit:!!T(e.isExplicit)&&Boolean(e.isExplicit),type:!!T(e.type)&&Boolean(e.type),isMusicAndTalk:!!T(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>g(e))):[],is19PlusOnly:!!T(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!T(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!T(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!T(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.length&&(t.length=e.length),!0===e.name&&(t.name=e.name),!0===e.manifestId&&(t.manifestId=e.manifestId),!0===e.previewId&&(t.previewId=e.previewId),!0===e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.description&&(t.description=e.description),!0===e.publishDate&&(t.publishDate=e.publishDate),!0===e.covers&&(t.covers=e.covers),!0===e.freezeFrames&&(t.freezeFrames=e.freezeFrames),!0===e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.number&&(t.number=e.number),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.type&&(t.type=e.type),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>E(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};return t.link=e.link??!1,t.length=e.length??!1,t.name=e.name??!1,t.manifestId=e.manifestId??!1,t.previewId=e.previewId??!1,t.previewManifestId=e.previewManifestId??!1,t.description=e.description??!1,t.publishDate=e.publishDate??!1,t.covers=e.covers??!1,t.freezeFrames=e.freezeFrames??!1,t.language=e.language??!1,t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.number=e.number??!1,t.backgroundable=e.backgroundable??!1,t.isExplicit=e.isExplicit??!1,t.type=e.type??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};const y={encode:(e,t=i.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isInListenLater&&t.uint32(16).bool(e.isInListenLater),!0===e.isNew&&t.uint32(24).bool(e.isNew),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isInListenLater:!1,isNew:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isInListenLater=n.bool();continue;case 3:if(24!==e)break;r.isNew=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!T(e.isFollowingShow)&&Boolean(e.isFollowingShow),isInListenLater:!!T(e.isInListenLater)&&Boolean(e.isInListenLater),isNew:!!T(e.isNew)&&Boolean(e.isNew)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),!0===e.isNew&&(t.isNew=e.isNew),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isInListenLater:!1,isNew:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isInListenLater=e.isInListenLater??!1,t.isNew=e.isNew??!1,t}};const b={encode:(e,t=i.Writer.create())=>(!0===e.offline&&t.uint32(8).bool(e.offline),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offline=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:!!T(e.offline)&&Boolean(e.offline),syncProgress:!!T(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={offline:!1,syncProgress:!1};return t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t}};const S={encode:(e,t=i.Writer.create())=>(!0===e.timeLeft&&t.uint32(8).bool(e.timeLeft),!0===e.isPlayed&&t.uint32(16).bool(e.isPlayed),!0===e.playable&&t.uint32(24).bool(e.playable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.lastPlayedAt&&t.uint32(40).bool(e.lastPlayedAt),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.bool();continue;case 2:if(16!==e)break;r.isPlayed=n.bool();continue;case 3:if(24!==e)break;r.playable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.lastPlayedAt=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:!!T(e.timeLeft)&&Boolean(e.timeLeft),isPlayed:!!T(e.isPlayed)&&Boolean(e.isPlayed),playable:!!T(e.playable)&&Boolean(e.playable),playabilityRestriction:!!T(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),lastPlayedAt:!!T(e.lastPlayedAt)&&Boolean(e.lastPlayedAt)}),toJSON(e){const t={};return!0===e.timeLeft&&(t.timeLeft=e.timeLeft),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),!0===e.playable&&(t.playable=e.playable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.lastPlayedAt&&(t.lastPlayedAt=e.lastPlayedAt),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};return t.timeLeft=e.timeLeft??!1,t.isPlayed=e.isPlayed??!1,t.playable=e.playable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.lastPlayedAt=e.lastPlayedAt??!1,t}};function T(e){return null!=e}const A={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.description&&t.uint32(24).bool(e.description),!0===e.popularity&&t.uint32(32).bool(e.popularity),!0===e.publisher&&t.uint32(40).bool(e.publisher),!0===e.language&&t.uint32(48).bool(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),!0===e.covers&&t.uint32(64).bool(e.covers),!0===e.numEpisodes&&t.uint32(72).bool(e.numEpisodes),!0===e.consumptionOrder&&t.uint32(80).bool(e.consumptionOrder),!0===e.mediaTypeEnum&&t.uint32(88).bool(e.mediaTypeEnum),!0===e.copyrights&&t.uint32(96).bool(e.copyrights),!0===e.trailerUri&&t.uint32(104).bool(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk),t.uint32(130).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isBook&&t.uint32(136).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(144).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.description=n.bool();continue;case 4:if(32!==e)break;r.popularity=n.bool();continue;case 5:if(40!==e)break;r.publisher=n.bool();continue;case 6:if(48!==e)break;r.language=n.bool();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(64!==e)break;r.covers=n.bool();continue;case 9:if(72!==e)break;r.numEpisodes=n.bool();continue;case 10:if(80!==e)break;r.consumptionOrder=n.bool();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.bool();continue;case 12:if(96!==e)break;r.copyrights=n.bool();continue;case 13:if(104!==e)break;r.trailerUri=n.bool();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 16:if(128===e){r.extension.push(n.int32());continue}if(130===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 17:if(136!==e)break;r.isBook=n.bool();continue;case 18:if(144!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!C(e.link)&&Boolean(e.link),name:!!C(e.name)&&Boolean(e.name),description:!!C(e.description)&&Boolean(e.description),popularity:!!C(e.popularity)&&Boolean(e.popularity),publisher:!!C(e.publisher)&&Boolean(e.publisher),language:!!C(e.language)&&Boolean(e.language),isExplicit:!!C(e.isExplicit)&&Boolean(e.isExplicit),covers:!!C(e.covers)&&Boolean(e.covers),numEpisodes:!!C(e.numEpisodes)&&Boolean(e.numEpisodes),consumptionOrder:!!C(e.consumptionOrder)&&Boolean(e.consumptionOrder),mediaTypeEnum:!!C(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),copyrights:!!C(e.copyrights)&&Boolean(e.copyrights),trailerUri:!!C(e.trailerUri)&&Boolean(e.trailerUri),isMusicAndTalk:!!C(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>g(e))):[],isBook:!!C(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!C(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.description&&(t.description=e.description),!0===e.popularity&&(t.popularity=e.popularity),!0===e.publisher&&(t.publisher=e.publisher),!0===e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.covers&&(t.covers=e.covers),!0===e.numEpisodes&&(t.numEpisodes=e.numEpisodes),!0===e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>E(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??!1,t.name=e.name??!1,t.description=e.description??!1,t.popularity=e.popularity??!1,t.publisher=e.publisher??!1,t.language=e.language??!1,t.isExplicit=e.isExplicit??!1,t.covers=e.covers??!1,t.numEpisodes=e.numEpisodes??!1,t.consumptionOrder=e.consumptionOrder??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.copyrights=e.copyrights??!1,t.trailerUri=e.trailerUri??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};const I={encode:(e,t=i.Writer.create())=>(!0===e.latestPlayedEpisodeLink&&t.uint32(8).bool(e.latestPlayedEpisodeLink),!0===e.playedTime&&t.uint32(16).bool(e.playedTime),!0===e.isPlayable&&t.uint32(24).bool(e.isPlayable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.label&&t.uint32(40).bool(e.label),!0===e.resumeEpisodeLink&&t.uint32(56).bool(e.resumeEpisodeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={latestPlayedEpisodeLink:!1,playedTime:!1,isPlayable:!1,playabilityRestriction:!1,label:!1,resumeEpisodeLink:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.latestPlayedEpisodeLink=n.bool();continue;case 2:if(16!==e)break;r.playedTime=n.bool();continue;case 3:if(24!==e)break;r.isPlayable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.label=n.bool();continue;case 7:if(56!==e)break;r.resumeEpisodeLink=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({latestPlayedEpisodeLink:!!C(e.latestPlayedEpisodeLink)&&Boolean(e.latestPlayedEpisodeLink),playedTime:!!C(e.playedTime)&&Boolean(e.playedTime),isPlayable:!!C(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:!!C(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),label:!!C(e.label)&&Boolean(e.label),resumeEpisodeLink:!!C(e.resumeEpisodeLink)&&Boolean(e.resumeEpisodeLink)}),toJSON(e){const t={};return!0===e.latestPlayedEpisodeLink&&(t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink),!0===e.playedTime&&(t.playedTime=e.playedTime),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.label&&(t.label=e.label),!0===e.resumeEpisodeLink&&(t.resumeEpisodeLink=e.resumeEpisodeLink),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t={latestPlayedEpisodeLink:!1,playedTime:!1,isPlayable:!1,playabilityRestriction:!1,label:!1,resumeEpisodeLink:!1};return t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink??!1,t.playedTime=e.playedTime??!1,t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.label=e.label??!1,t.resumeEpisodeLink=e.resumeEpisodeLink??!1,t}};const O={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!C(e.isInCollection)&&Boolean(e.isInCollection)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1};return t.isInCollection=e.isInCollection??!1,t}};function C(e){return null!=e}const R={encode(e,t=i.Writer.create()){!0===e.hasLyrics&&t.uint32(8).bool(e.hasLyrics),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.length&&t.uint32(32).bool(e.length),!0===e.playable&&t.uint32(40).bool(e.playable),!0===e.isAvailableInMetadataCatalogue&&t.uint32(48).bool(e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&t.uint32(56).bool(e.locallyPlayable),!0===e.playableLocalTrack&&t.uint32(64).bool(e.playableLocalTrack),!0===e.discNumber&&t.uint32(72).bool(e.discNumber),!0===e.trackNumber&&t.uint32(80).bool(e.trackNumber),!0===e.isExplicit&&t.uint32(88).bool(e.isExplicit),!0===e.previewId&&t.uint32(96).bool(e.previewId),!0===e.isLocal&&t.uint32(104).bool(e.isLocal),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.playableTrackLink&&t.uint32(120).bool(e.playableTrackLink),!0===e.popularity&&t.uint32(128).bool(e.popularity),!0===e.is19PlusOnly&&t.uint32(136).bool(e.is19PlusOnly),!0===e.trackDescriptors&&t.uint32(144).bool(e.trackDescriptors),t.uint32(154).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isCurated&&t.uint32(160).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.hasLyrics=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.length=n.bool();continue;case 5:if(40!==e)break;r.playable=n.bool();continue;case 6:if(48!==e)break;r.isAvailableInMetadataCatalogue=n.bool();continue;case 7:if(56!==e)break;r.locallyPlayable=n.bool();continue;case 8:if(64!==e)break;r.playableLocalTrack=n.bool();continue;case 9:if(72!==e)break;r.discNumber=n.bool();continue;case 10:if(80!==e)break;r.trackNumber=n.bool();continue;case 11:if(88!==e)break;r.isExplicit=n.bool();continue;case 12:if(96!==e)break;r.previewId=n.bool();continue;case 13:if(104!==e)break;r.isLocal=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.playableTrackLink=n.bool();continue;case 16:if(128!==e)break;r.popularity=n.bool();continue;case 17:if(136!==e)break;r.is19PlusOnly=n.bool();continue;case 18:if(144!==e)break;r.trackDescriptors=n.bool();continue;case 19:if(152===e){r.extension.push(n.int32());continue}if(154===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 20:if(160!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({hasLyrics:!!k(e.hasLyrics)&&Boolean(e.hasLyrics),link:!!k(e.link)&&Boolean(e.link),name:!!k(e.name)&&Boolean(e.name),length:!!k(e.length)&&Boolean(e.length),playable:!!k(e.playable)&&Boolean(e.playable),isAvailableInMetadataCatalogue:!!k(e.isAvailableInMetadataCatalogue)&&Boolean(e.isAvailableInMetadataCatalogue),locallyPlayable:!!k(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableLocalTrack:!!k(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),discNumber:!!k(e.discNumber)&&Boolean(e.discNumber),trackNumber:!!k(e.trackNumber)&&Boolean(e.trackNumber),isExplicit:!!k(e.isExplicit)&&Boolean(e.isExplicit),previewId:!!k(e.previewId)&&Boolean(e.previewId),isLocal:!!k(e.isLocal)&&Boolean(e.isLocal),isPremiumOnly:!!k(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),playableTrackLink:!!k(e.playableTrackLink)&&Boolean(e.playableTrackLink),popularity:!!k(e.popularity)&&Boolean(e.popularity),is19PlusOnly:!!k(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:!!k(e.trackDescriptors)&&Boolean(e.trackDescriptors),extension:Array.isArray(e?.extension)?e.extension.map((e=>g(e))):[],isCurated:!!k(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!k(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.length&&(t.length=e.length),!0===e.playable&&(t.playable=e.playable),!0===e.isAvailableInMetadataCatalogue&&(t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.discNumber&&(t.discNumber=e.discNumber),!0===e.trackNumber&&(t.trackNumber=e.trackNumber),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),!0===e.popularity&&(t.popularity=e.popularity),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.trackDescriptors&&(t.trackDescriptors=e.trackDescriptors),e.extension?.length&&(t.extension=e.extension.map((e=>E(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};return t.hasLyrics=e.hasLyrics??!1,t.link=e.link??!1,t.name=e.name??!1,t.length=e.length??!1,t.playable=e.playable??!1,t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.discNumber=e.discNumber??!1,t.trackNumber=e.trackNumber??!1,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??!1,t.isLocal=e.isLocal??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.playableTrackLink=e.playableTrackLink??!1,t.popularity=e.popularity??!1,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors??!1,t.extension=e.extension?.map((e=>e))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};const N={encode:(e,t=i.Writer.create())=>(!0===e.playable&&t.uint32(8).bool(e.playable),!0===e.isCurrentlyPlayable&&t.uint32(16).bool(e.isCurrentlyPlayable),!0===e.playabilityRestriction&&t.uint32(24).bool(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playable:!1,isCurrentlyPlayable:!1,playabilityRestriction:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.playable=n.bool();continue;case 2:if(16!==e)break;r.isCurrentlyPlayable=n.bool();continue;case 3:if(24!==e)break;r.playabilityRestriction=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playable:!!k(e.playable)&&Boolean(e.playable),isCurrentlyPlayable:!!k(e.isCurrentlyPlayable)&&Boolean(e.isCurrentlyPlayable),playabilityRestriction:!!k(e.playabilityRestriction)&&Boolean(e.playabilityRestriction)}),toJSON(e){const t={};return!0===e.playable&&(t.playable=e.playable),!0===e.isCurrentlyPlayable&&(t.isCurrentlyPlayable=e.isCurrentlyPlayable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={playable:!1,isCurrentlyPlayable:!1,playabilityRestriction:!1};return t.playable=e.playable??!1,t.isCurrentlyPlayable=e.isCurrentlyPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t}};const P={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.canAddToCollection&&t.uint32(16).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(24).bool(e.isBanned),!0===e.canBan&&t.uint32(32).bool(e.canBan),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.canAddToCollection=n.bool();continue;case 3:if(24!==e)break;r.isBanned=n.bool();continue;case 4:if(32!==e)break;r.canBan=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!k(e.isInCollection)&&Boolean(e.isInCollection),canAddToCollection:!!k(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!k(e.isBanned)&&Boolean(e.isBanned),canBan:!!k(e.canBan)&&Boolean(e.canBan)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),t},create:e=>P.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};return t.isInCollection=e.isInCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t}};const L={encode:(e,t=i.Writer.create())=>(!0===e.offlineState&&t.uint32(8).bool(e.offlineState),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offlineState:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offlineState=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:!!k(e.offlineState)&&Boolean(e.offlineState),syncProgress:!!k(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offlineState&&(t.offlineState=e.offlineState),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t={offlineState:!1,syncProgress:!1};return t.offlineState=e.offlineState??!1,t.syncProgress=e.syncProgress??!1,t}};function k(e){return null!=e}const w={encode:(e,t=i.Writer.create())=>(void 0!==e.collectionPolicy&&h.encode(e.collectionPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.syncPolicy&&f.encode(e.syncPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.artistPolicy&&p.encode(e.artistPolicy,t.uint32(26).fork()).ldelim(),!0===e.decorated&&t.uint32(32).bool(e.decorated),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionPolicy:void 0,syncPolicy:void 0,artistPolicy:void 0,decorated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.collectionPolicy=h.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.syncPolicy=f.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.artistPolicy=p.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.decorated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionPolicy:V(e.collectionPolicy)?h.fromJSON(e.collectionPolicy):void 0,syncPolicy:V(e.syncPolicy)?f.fromJSON(e.syncPolicy):void 0,artistPolicy:V(e.artistPolicy)?p.fromJSON(e.artistPolicy):void 0,decorated:!!V(e.decorated)&&Boolean(e.decorated)}),toJSON(e){const t={};return void 0!==e.collectionPolicy&&(t.collectionPolicy=h.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=f.toJSON(e.syncPolicy)),void 0!==e.artistPolicy&&(t.artistPolicy=p.toJSON(e.artistPolicy)),!0===e.decorated&&(t.decorated=e.decorated),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={collectionPolicy:void 0,syncPolicy:void 0,artistPolicy:void 0,decorated:!1};return t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?h.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?f.fromPartial(e.syncPolicy):void 0,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?p.fromPartial(e.artistPolicy):void 0,t.decorated=e.decorated??!1,t}};const D={encode:(e,t=i.Writer.create())=>(!0===e.decorated&&t.uint32(8).bool(e.decorated),!0===e.albumType&&t.uint32(16).bool(e.albumType),void 0!==e.artistPolicy&&w.encode(e.artistPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.artistsPolicy&&w.encode(e.artistsPolicy,t.uint32(34).fork()).ldelim(),void 0!==e.collectionPolicy&&l.encode(e.collectionPolicy,t.uint32(42).fork()).ldelim(),void 0!==e.syncPolicy&&u.encode(e.syncPolicy,t.uint32(50).fork()).ldelim(),void 0!==e.albumPolicy&&c.encode(e.albumPolicy,t.uint32(58).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={decorated:!1,albumType:!1,artistPolicy:void 0,artistsPolicy:void 0,collectionPolicy:void 0,syncPolicy:void 0,albumPolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.decorated=n.bool();continue;case 2:if(16!==e)break;r.albumType=n.bool();continue;case 3:if(26!==e)break;r.artistPolicy=w.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.artistsPolicy=w.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.collectionPolicy=l.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.syncPolicy=u.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.albumPolicy=c.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({decorated:!!V(e.decorated)&&Boolean(e.decorated),albumType:!!V(e.albumType)&&Boolean(e.albumType),artistPolicy:V(e.artistPolicy)?w.fromJSON(e.artistPolicy):void 0,artistsPolicy:V(e.artistsPolicy)?w.fromJSON(e.artistsPolicy):void 0,collectionPolicy:V(e.collectionPolicy)?l.fromJSON(e.collectionPolicy):void 0,syncPolicy:V(e.syncPolicy)?u.fromJSON(e.syncPolicy):void 0,albumPolicy:V(e.albumPolicy)?c.fromJSON(e.albumPolicy):void 0}),toJSON(e){const t={};return!0===e.decorated&&(t.decorated=e.decorated),!0===e.albumType&&(t.albumType=e.albumType),void 0!==e.artistPolicy&&(t.artistPolicy=w.toJSON(e.artistPolicy)),void 0!==e.artistsPolicy&&(t.artistsPolicy=w.toJSON(e.artistsPolicy)),void 0!==e.collectionPolicy&&(t.collectionPolicy=l.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=u.toJSON(e.syncPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=c.toJSON(e.albumPolicy)),t},create:e=>D.fromPartial(e??{}),fromPartial(e){const t={decorated:!1,albumType:!1,artistPolicy:void 0,artistsPolicy:void 0,collectionPolicy:void 0,syncPolicy:void 0,albumPolicy:void 0};return t.decorated=e.decorated??!1,t.albumType=e.albumType??!1,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?w.fromPartial(e.artistPolicy):void 0,t.artistsPolicy=void 0!==e.artistsPolicy&&null!==e.artistsPolicy?w.fromPartial(e.artistsPolicy):void 0,t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?l.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?u.fromPartial(e.syncPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?c.fromPartial(e.albumPolicy):void 0,t}};const M={encode:(e,t=i.Writer.create())=>(void 0!==e.collectionPolicy&&P.encode(e.collectionPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.syncPolicy&&L.encode(e.syncPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.trackPolicy&&R.encode(e.trackPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.playedStatePolicy&&N.encode(e.playedStatePolicy,t.uint32(34).fork()).ldelim(),void 0!==e.albumPolicy&&D.encode(e.albumPolicy,t.uint32(42).fork()).ldelim(),void 0!==e.artistPolicy&&p.encode(e.artistPolicy,t.uint32(50).fork()).ldelim(),!0===e.decorated&&t.uint32(56).bool(e.decorated),void 0!==e.artistCollectionPolicy&&h.encode(e.artistCollectionPolicy,t.uint32(66).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionPolicy:void 0,syncPolicy:void 0,trackPolicy:void 0,playedStatePolicy:void 0,albumPolicy:void 0,artistPolicy:void 0,decorated:!1,artistCollectionPolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.collectionPolicy=P.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.syncPolicy=L.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackPolicy=R.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.playedStatePolicy=N.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.albumPolicy=D.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.artistPolicy=p.decode(n,n.uint32());continue;case 7:if(56!==e)break;r.decorated=n.bool();continue;case 8:if(66!==e)break;r.artistCollectionPolicy=h.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionPolicy:V(e.collectionPolicy)?P.fromJSON(e.collectionPolicy):void 0,syncPolicy:V(e.syncPolicy)?L.fromJSON(e.syncPolicy):void 0,trackPolicy:V(e.trackPolicy)?R.fromJSON(e.trackPolicy):void 0,playedStatePolicy:V(e.playedStatePolicy)?N.fromJSON(e.playedStatePolicy):void 0,albumPolicy:V(e.albumPolicy)?D.fromJSON(e.albumPolicy):void 0,artistPolicy:V(e.artistPolicy)?p.fromJSON(e.artistPolicy):void 0,decorated:!!V(e.decorated)&&Boolean(e.decorated),artistCollectionPolicy:V(e.artistCollectionPolicy)?h.fromJSON(e.artistCollectionPolicy):void 0}),toJSON(e){const t={};return void 0!==e.collectionPolicy&&(t.collectionPolicy=P.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=L.toJSON(e.syncPolicy)),void 0!==e.trackPolicy&&(t.trackPolicy=R.toJSON(e.trackPolicy)),void 0!==e.playedStatePolicy&&(t.playedStatePolicy=N.toJSON(e.playedStatePolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=D.toJSON(e.albumPolicy)),void 0!==e.artistPolicy&&(t.artistPolicy=p.toJSON(e.artistPolicy)),!0===e.decorated&&(t.decorated=e.decorated),void 0!==e.artistCollectionPolicy&&(t.artistCollectionPolicy=h.toJSON(e.artistCollectionPolicy)),t},create:e=>M.fromPartial(e??{}),fromPartial(e){const t={collectionPolicy:void 0,syncPolicy:void 0,trackPolicy:void 0,playedStatePolicy:void 0,albumPolicy:void 0,artistPolicy:void 0,decorated:!1,artistCollectionPolicy:void 0};return t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?P.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?L.fromPartial(e.syncPolicy):void 0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?R.fromPartial(e.trackPolicy):void 0,t.playedStatePolicy=void 0!==e.playedStatePolicy&&null!==e.playedStatePolicy?N.fromPartial(e.playedStatePolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?D.fromPartial(e.albumPolicy):void 0,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?p.fromPartial(e.artistPolicy):void 0,t.decorated=e.decorated??!1,t.artistCollectionPolicy=void 0!==e.artistCollectionPolicy&&null!==e.artistCollectionPolicy?h.fromPartial(e.artistCollectionPolicy):void 0,t}};const x={encode:(e,t=i.Writer.create())=>(void 0!==e.showPolicy&&A.encode(e.showPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.playedStatePolicy&&I.encode(e.playedStatePolicy,t.uint32(18).fork()).ldelim(),void 0!==e.collectionPolicy&&O.encode(e.collectionPolicy,t.uint32(26).fork()).ldelim(),!0===e.decorated&&t.uint32(32).bool(e.decorated),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={showPolicy:void 0,playedStatePolicy:void 0,collectionPolicy:void 0,decorated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showPolicy=A.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.playedStatePolicy=I.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.collectionPolicy=O.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.decorated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showPolicy:V(e.showPolicy)?A.fromJSON(e.showPolicy):void 0,playedStatePolicy:V(e.playedStatePolicy)?I.fromJSON(e.playedStatePolicy):void 0,collectionPolicy:V(e.collectionPolicy)?O.fromJSON(e.collectionPolicy):void 0,decorated:!!V(e.decorated)&&Boolean(e.decorated)}),toJSON(e){const t={};return void 0!==e.showPolicy&&(t.showPolicy=A.toJSON(e.showPolicy)),void 0!==e.playedStatePolicy&&(t.playedStatePolicy=I.toJSON(e.playedStatePolicy)),void 0!==e.collectionPolicy&&(t.collectionPolicy=O.toJSON(e.collectionPolicy)),!0===e.decorated&&(t.decorated=e.decorated),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t={showPolicy:void 0,playedStatePolicy:void 0,collectionPolicy:void 0,decorated:!1};return t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?A.fromPartial(e.showPolicy):void 0,t.playedStatePolicy=void 0!==e.playedStatePolicy&&null!==e.playedStatePolicy?I.fromPartial(e.playedStatePolicy):void 0,t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?O.fromPartial(e.collectionPolicy):void 0,t.decorated=e.decorated??!1,t}};const U={encode:(e,t=i.Writer.create())=>(void 0!==e.episodePolicy&&v.encode(e.episodePolicy,t.uint32(10).fork()).ldelim(),void 0!==e.collectionPolicy&&y.encode(e.collectionPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.syncPolicy&&b.encode(e.syncPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.playedStatePolicy&&S.encode(e.playedStatePolicy,t.uint32(34).fork()).ldelim(),void 0!==e.showPolicy&&x.encode(e.showPolicy,t.uint32(42).fork()).ldelim(),!0===e.decorated&&t.uint32(48).bool(e.decorated),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodePolicy:void 0,collectionPolicy:void 0,syncPolicy:void 0,playedStatePolicy:void 0,showPolicy:void 0,decorated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodePolicy=v.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.collectionPolicy=y.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.syncPolicy=b.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.playedStatePolicy=S.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.showPolicy=x.decode(n,n.uint32());continue;case 6:if(48!==e)break;r.decorated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodePolicy:V(e.episodePolicy)?v.fromJSON(e.episodePolicy):void 0,collectionPolicy:V(e.collectionPolicy)?y.fromJSON(e.collectionPolicy):void 0,syncPolicy:V(e.syncPolicy)?b.fromJSON(e.syncPolicy):void 0,playedStatePolicy:V(e.playedStatePolicy)?S.fromJSON(e.playedStatePolicy):void 0,showPolicy:V(e.showPolicy)?x.fromJSON(e.showPolicy):void 0,decorated:!!V(e.decorated)&&Boolean(e.decorated)}),toJSON(e){const t={};return void 0!==e.episodePolicy&&(t.episodePolicy=v.toJSON(e.episodePolicy)),void 0!==e.collectionPolicy&&(t.collectionPolicy=y.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=b.toJSON(e.syncPolicy)),void 0!==e.playedStatePolicy&&(t.playedStatePolicy=S.toJSON(e.playedStatePolicy)),void 0!==e.showPolicy&&(t.showPolicy=x.toJSON(e.showPolicy)),!0===e.decorated&&(t.decorated=e.decorated),t},create:e=>U.fromPartial(e??{}),fromPartial(e){const t={episodePolicy:void 0,collectionPolicy:void 0,syncPolicy:void 0,playedStatePolicy:void 0,showPolicy:void 0,decorated:!1};return t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?v.fromPartial(e.episodePolicy):void 0,t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?y.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?b.fromPartial(e.syncPolicy):void 0,t.playedStatePolicy=void 0!==e.playedStatePolicy&&null!==e.playedStatePolicy?S.fromPartial(e.playedStatePolicy):void 0,t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?x.fromPartial(e.showPolicy):void 0,t.decorated=e.decorated??!1,t}};function V(e){return null!=e}const F={encode:(e,t=i.Writer.create())=>(""!==e.collectionLink&&t.uint32(10).string(e.collectionLink),0!==e.numTracksInCollection&&t.uint32(16).uint32(e.numTracksInCollection),!0===e.complete&&t.uint32(24).bool(e.complete),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:"",numTracksInCollection:0,complete:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.collectionLink=n.string();continue;case 2:if(16!==e)break;r.numTracksInCollection=n.uint32();continue;case 3:if(24!==e)break;r.complete=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:B(e.collectionLink)?String(e.collectionLink):"",numTracksInCollection:B(e.numTracksInCollection)?Number(e.numTracksInCollection):0,complete:!!B(e.complete)&&Boolean(e.complete)}),toJSON(e){const t={};return""!==e.collectionLink&&(t.collectionLink=e.collectionLink),0!==e.numTracksInCollection&&(t.numTracksInCollection=Math.round(e.numTracksInCollection)),!0===e.complete&&(t.complete=e.complete),t},create:e=>F.fromPartial(e??{}),fromPartial(e){const t={collectionLink:"",numTracksInCollection:0,complete:!1};return t.collectionLink=e.collectionLink??"",t.numTracksInCollection=e.numTracksInCollection??0,t.complete=e.complete??!1,t}};function B(e){return null!=e}const H={encode:(e,t=i.Writer.create())=>(""!==e.collectionLink&&t.uint32(10).string(e.collectionLink),!0===e.followed&&t.uint32(16).bool(e.followed),0!==e.numTracksInCollection&&t.uint32(24).uint32(e.numTracksInCollection),0!==e.numAlbumsInCollection&&t.uint32(32).uint32(e.numAlbumsInCollection),!0===e.isBanned&&t.uint32(40).bool(e.isBanned),!0===e.canBan&&t.uint32(48).bool(e.canBan),0!==e.numExplicitlyLikedTracks&&t.uint32(56).uint32(e.numExplicitlyLikedTracks),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:"",followed:!1,numTracksInCollection:0,numAlbumsInCollection:0,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.collectionLink=n.string();continue;case 2:if(16!==e)break;r.followed=n.bool();continue;case 3:if(24!==e)break;r.numTracksInCollection=n.uint32();continue;case 4:if(32!==e)break;r.numAlbumsInCollection=n.uint32();continue;case 5:if(40!==e)break;r.isBanned=n.bool();continue;case 6:if(48!==e)break;r.canBan=n.bool();continue;case 7:if(56!==e)break;r.numExplicitlyLikedTracks=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:G(e.collectionLink)?String(e.collectionLink):"",followed:!!G(e.followed)&&Boolean(e.followed),numTracksInCollection:G(e.numTracksInCollection)?Number(e.numTracksInCollection):0,numAlbumsInCollection:G(e.numAlbumsInCollection)?Number(e.numAlbumsInCollection):0,isBanned:!!G(e.isBanned)&&Boolean(e.isBanned),canBan:!!G(e.canBan)&&Boolean(e.canBan),numExplicitlyLikedTracks:G(e.numExplicitlyLikedTracks)?Number(e.numExplicitlyLikedTracks):0}),toJSON(e){const t={};return""!==e.collectionLink&&(t.collectionLink=e.collectionLink),!0===e.followed&&(t.followed=e.followed),0!==e.numTracksInCollection&&(t.numTracksInCollection=Math.round(e.numTracksInCollection)),0!==e.numAlbumsInCollection&&(t.numAlbumsInCollection=Math.round(e.numAlbumsInCollection)),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),0!==e.numExplicitlyLikedTracks&&(t.numExplicitlyLikedTracks=Math.round(e.numExplicitlyLikedTracks)),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={collectionLink:"",followed:!1,numTracksInCollection:0,numAlbumsInCollection:0,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:0};return t.collectionLink=e.collectionLink??"",t.followed=e.followed??!1,t.numTracksInCollection=e.numTracksInCollection??0,t.numAlbumsInCollection=e.numAlbumsInCollection??0,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t.numExplicitlyLikedTracks=e.numExplicitlyLikedTracks??0,t}};function G(e){return null!=e}const W={encode:(e,t=i.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isNew&&t.uint32(16).bool(e.isNew),!0===e.isInListenLater&&t.uint32(24).bool(e.isInListenLater),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isNew:!1,isInListenLater:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isNew=n.bool();continue;case 3:if(24!==e)break;r.isInListenLater=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!j(e.isFollowingShow)&&Boolean(e.isFollowingShow),isNew:!!j(e.isNew)&&Boolean(e.isNew),isInListenLater:!!j(e.isInListenLater)&&Boolean(e.isInListenLater)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isNew&&(t.isNew=e.isNew),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isNew:!1,isInListenLater:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isNew=e.isNew??!1,t.isInListenLater=e.isInListenLater??!1,t}};function j(e){return null!=e}const Y={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{isInCollection:(t=e.isInCollection,null!=t&&Boolean(e.isInCollection))};var t},toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),t},create:e=>Y.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1};return t.isInCollection=e.isInCollection??!1,t}};const z={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.canAddToCollection&&t.uint32(16).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(24).bool(e.isBanned),!0===e.canBan&&t.uint32(32).bool(e.canBan),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.canAddToCollection=n.bool();continue;case 3:if(24!==e)break;r.isBanned=n.bool();continue;case 4:if(32!==e)break;r.canBan=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!K(e.isInCollection)&&Boolean(e.isInCollection),canAddToCollection:!!K(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!K(e.isBanned)&&Boolean(e.isBanned),canBan:!!K(e.canBan)&&Boolean(e.canBan)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};return t.isInCollection=e.isInCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t}};function K(e){return null!=e}const J={encode:(e,t=i.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:q(e.standardLink)?String(e.standardLink):"",smallLink:q(e.smallLink)?String(e.smallLink):"",largeLink:q(e.largeLink)?String(e.largeLink):"",xlargeLink:q(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>J.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function q(e){return null!=e}const X={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Z(e.link)?String(e.link):"",name:Z(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>X.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const $={encode(e,t=i.Writer.create()){for(const n of e.artists)X.encode(n,t.uint32(10).fork()).ldelim();""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name);for(const n of e.copyright)t.uint32(34).string(n);return void 0!==e.covers&&J.encode(e.covers,t.uint32(42).fork()).ldelim(),0!==e.year&&t.uint32(48).uint32(e.year),0!==e.numDiscs&&t.uint32(56).uint32(e.numDiscs),0!==e.numTracks&&t.uint32(64).uint32(e.numTracks),!0===e.playability&&t.uint32(72).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(80).bool(e.isPremiumOnly),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artists:[],link:"",name:"",copyright:[],covers:void 0,year:0,numDiscs:0,numTracks:0,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artists.push(X.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(34!==e)break;r.copyright.push(n.string());continue;case 5:if(42!==e)break;r.covers=J.decode(n,n.uint32());continue;case 6:if(48!==e)break;r.year=n.uint32();continue;case 7:if(56!==e)break;r.numDiscs=n.uint32();continue;case 8:if(64!==e)break;r.numTracks=n.uint32();continue;case 9:if(72!==e)break;r.playability=n.bool();continue;case 10:if(80!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artists:Array.isArray(e?.artists)?e.artists.map((e=>X.fromJSON(e))):[],link:Z(e.link)?String(e.link):"",name:Z(e.name)?String(e.name):"",copyright:Array.isArray(e?.copyright)?e.copyright.map((e=>String(e))):[],covers:Z(e.covers)?J.fromJSON(e.covers):void 0,year:Z(e.year)?Number(e.year):0,numDiscs:Z(e.numDiscs)?Number(e.numDiscs):0,numTracks:Z(e.numTracks)?Number(e.numTracks):0,playability:!!Z(e.playability)&&Boolean(e.playability),isPremiumOnly:!!Z(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return e.artists?.length&&(t.artists=e.artists.map((e=>X.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),e.copyright?.length&&(t.copyright=e.copyright),void 0!==e.covers&&(t.covers=J.toJSON(e.covers)),0!==e.year&&(t.year=Math.round(e.year)),0!==e.numDiscs&&(t.numDiscs=Math.round(e.numDiscs)),0!==e.numTracks&&(t.numTracks=Math.round(e.numTracks)),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>$.fromPartial(e??{}),fromPartial(e){const t={artists:[],link:"",name:"",copyright:[],covers:void 0,year:0,numDiscs:0,numTracks:0,playability:!1,isPremiumOnly:!1};return t.artists=e.artists?.map((e=>X.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.copyright=e.copyright?.map((e=>e))||[],t.covers=void 0!==e.covers&&null!==e.covers?J.fromPartial(e.covers):void 0,t.year=e.year??0,t.numDiscs=e.numDiscs??0,t.numTracks=e.numTracks??0,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};function Z(e){return null!=e}const Q={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),void 0!==e.portraits&&J.encode(e.portraits,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",isVariousArtists:!1,portraits:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(34!==e)break;r.portraits=J.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:ee(e.link)?String(e.link):"",name:ee(e.name)?String(e.name):"",isVariousArtists:!!ee(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:ee(e.portraits)?J.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),void 0!==e.portraits&&(t.portraits=J.toJSON(e.portraits)),t},create:e=>Q.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",isVariousArtists:!1,portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.isVariousArtists=e.isVariousArtists??!1,t.portraits=void 0!==e.portraits&&null!==e.portraits?J.fromPartial(e.portraits):void 0,t}};function ee(e){return null!=e}var te=n(87252);function ne(){return{extensionKind:0,data:new Uint8Array(0)}}const ie={encode:(e,t=i.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=ne();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:ae(e.extensionKind)?g(e.extensionKind):0,data:ae(e.data)?re(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=E(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(oe.Buffer)return oe.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),oe.btoa(t.join(""))}}(e.data)),t},create:e=>ie.fromPartial(e??{}),fromPartial(e){const t=ne();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},oe=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function re(e){if(oe.Buffer)return Uint8Array.from(oe.Buffer.from(e,"base64"));{const t=oe.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function ae(e){return null!=e}var se,ce;function le(e){switch(e){case 0:case"UNKNOWN":return se.UNKNOWN;case 1:case"FULL":return se.FULL;case 2:case"TRAILER":return se.TRAILER;case 3:case"BONUS":return se.BONUS;default:return se.UNRECOGNIZED}}function ue(e){switch(e){case 0:case"VODCAST":return ce.VODCAST;case 1:case"AUDIO":return ce.AUDIO;case 2:case"VIDEO":return ce.VIDEO;default:return ce.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.FULL=1]="FULL",e[e.TRAILER=2]="TRAILER",e[e.BONUS=3]="BONUS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(se||(se={})),function(e){e[e.VODCAST=0]="VODCAST",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ce||(ce={}));const de={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.publisher&&t.uint32(26).string(e.publisher),void 0!==e.covers&&J.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",publisher:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.publisher=n.string();continue;case 4:if(34!==e)break;r.covers=J.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:fe(e.link)?String(e.link):"",name:fe(e.name)?String(e.name):"",publisher:fe(e.publisher)?String(e.publisher):"",covers:fe(e.covers)?J.fromJSON(e.covers):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.publisher&&(t.publisher=e.publisher),void 0!==e.covers&&(t.covers=J.toJSON(e.covers)),t},create:e=>de.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",publisher:"",covers:void 0};return t.link=e.link??"",t.name=e.name??"",t.publisher=e.publisher??"",t.covers=void 0!==e.covers&&null!==e.covers?J.fromPartial(e.covers):void 0,t}};function pe(){return{show:void 0,link:"",name:"",length:0,covers:void 0,manifestId:"",description:"",publishDate:BigInt("0"),freezeFrames:void 0,language:"",available:!1,mediaTypeEnum:0,number:0,backgroundable:!1,previewManifestId:"",isExplicit:!1,previewId:"",episodeType:0,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1}}const he={encode(e,t=i.Writer.create()){void 0!==e.show&&de.encode(e.show,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),0!==e.length&&t.uint32(32).uint32(e.length),void 0!==e.covers&&J.encode(e.covers,t.uint32(42).fork()).ldelim(),""!==e.manifestId&&t.uint32(50).string(e.manifestId),""!==e.description&&t.uint32(58).string(e.description),e.publishDate!==BigInt("0")&&t.uint32(64).int64(e.publishDate.toString()),void 0!==e.freezeFrames&&J.encode(e.freezeFrames,t.uint32(74).fork()).ldelim(),""!==e.language&&t.uint32(82).string(e.language),!0===e.available&&t.uint32(88).bool(e.available),0!==e.mediaTypeEnum&&t.uint32(96).int32(e.mediaTypeEnum),0!==e.number&&t.uint32(104).int32(e.number),!0===e.backgroundable&&t.uint32(112).bool(e.backgroundable),""!==e.previewManifestId&&t.uint32(122).string(e.previewManifestId),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),""!==e.previewId&&t.uint32(138).string(e.previewId),0!==e.episodeType&&t.uint32(144).int32(e.episodeType),!0===e.isMusicAndTalk&&t.uint32(152).bool(e.isMusicAndTalk);for(const n of e.extension)ie.encode(n,t.uint32(178).fork()).ldelim();return!0===e.is19PlusOnly&&t.uint32(184).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(192).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(200).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(208).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=pe();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.show=de.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(42!==e)break;r.covers=J.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.manifestId=n.string();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(64!==e)break;r.publishDate=(a=n.int64(),BigInt(a.toString()));continue;case 9:if(74!==e)break;r.freezeFrames=J.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.language=n.string();continue;case 11:if(88!==e)break;r.available=n.bool();continue;case 12:if(96!==e)break;r.mediaTypeEnum=n.int32();continue;case 13:if(104!==e)break;r.number=n.int32();continue;case 14:if(112!==e)break;r.backgroundable=n.bool();continue;case 15:if(122!==e)break;r.previewManifestId=n.string();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(138!==e)break;r.previewId=n.string();continue;case 18:if(144!==e)break;r.episodeType=n.int32();continue;case 19:if(152!==e)break;r.isMusicAndTalk=n.bool();continue;case 22:if(178!==e)break;r.extension.push(ie.decode(n,n.uint32()));continue;case 23:if(184!==e)break;r.is19PlusOnly=n.bool();continue;case 24:if(192!==e)break;r.isBookChapter=n.bool();continue;case 25:if(200!==e)break;r.isPodcastShort=n.bool();continue;case 26:if(208!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({show:fe(e.show)?de.fromJSON(e.show):void 0,link:fe(e.link)?String(e.link):"",name:fe(e.name)?String(e.name):"",length:fe(e.length)?Number(e.length):0,covers:fe(e.covers)?J.fromJSON(e.covers):void 0,manifestId:fe(e.manifestId)?String(e.manifestId):"",description:fe(e.description)?String(e.description):"",publishDate:fe(e.publishDate)?BigInt(e.publishDate):BigInt("0"),freezeFrames:fe(e.freezeFrames)?J.fromJSON(e.freezeFrames):void 0,language:fe(e.language)?String(e.language):"",available:!!fe(e.available)&&Boolean(e.available),mediaTypeEnum:fe(e.mediaTypeEnum)?ue(e.mediaTypeEnum):0,number:fe(e.number)?Number(e.number):0,backgroundable:!!fe(e.backgroundable)&&Boolean(e.backgroundable),previewManifestId:fe(e.previewManifestId)?String(e.previewManifestId):"",isExplicit:!!fe(e.isExplicit)&&Boolean(e.isExplicit),previewId:fe(e.previewId)?String(e.previewId):"",episodeType:fe(e.episodeType)?le(e.episodeType):0,isMusicAndTalk:!!fe(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>ie.fromJSON(e))):[],is19PlusOnly:!!fe(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!fe(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!fe(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!fe(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return void 0!==e.show&&(t.show=de.toJSON(e.show)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.covers&&(t.covers=J.toJSON(e.covers)),""!==e.manifestId&&(t.manifestId=e.manifestId),""!==e.description&&(t.description=e.description),e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),void 0!==e.freezeFrames&&(t.freezeFrames=J.toJSON(e.freezeFrames)),""!==e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=function(e){switch(e){case ce.VODCAST:return"VODCAST";case ce.AUDIO:return"AUDIO";case ce.VIDEO:return"VIDEO";case ce.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.mediaTypeEnum)),0!==e.number&&(t.number=Math.round(e.number)),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),""!==e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),0!==e.episodeType&&(t.episodeType=function(e){switch(e){case se.UNKNOWN:return"UNKNOWN";case se.FULL:return"FULL";case se.TRAILER:return"TRAILER";case se.BONUS:return"BONUS";case se.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.episodeType)),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>ie.toJSON(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>he.fromPartial(e??{}),fromPartial(e){const t=pe();return t.show=void 0!==e.show&&null!==e.show?de.fromPartial(e.show):void 0,t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.covers=void 0!==e.covers&&null!==e.covers?J.fromPartial(e.covers):void 0,t.manifestId=e.manifestId??"",t.description=e.description??"",t.publishDate=e.publishDate??BigInt("0"),t.freezeFrames=void 0!==e.freezeFrames&&null!==e.freezeFrames?J.fromPartial(e.freezeFrames):void 0,t.language=e.language??"",t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??0,t.number=e.number??0,t.backgroundable=e.backgroundable??!1,t.previewManifestId=e.previewManifestId??"",t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.episodeType=e.episodeType??0,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>ie.fromPartial(e)))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function fe(e){return null!=e}i.util.Long!==te&&(i.util.Long=te,i.configure());const me={encode(e,t=i.Writer.create()){""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.description&&t.uint32(26).string(e.description),0!==e.popularity&&t.uint32(32).uint32(e.popularity),""!==e.publisher&&t.uint32(42).string(e.publisher),""!==e.language&&t.uint32(50).string(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),void 0!==e.covers&&J.encode(e.covers,t.uint32(66).fork()).ldelim(),0!==e.numEpisodes&&t.uint32(72).uint32(e.numEpisodes),""!==e.consumptionOrder&&t.uint32(82).string(e.consumptionOrder),0!==e.mediaTypeEnum&&t.uint32(88).int32(e.mediaTypeEnum);for(const n of e.copyright)t.uint32(98).string(n);""!==e.trailerUri&&t.uint32(106).string(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk);for(const n of e.extension)ie.encode(n,t.uint32(122).fork()).ldelim();return!0===e.isBook&&t.uint32(128).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(136).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",description:"",popularity:0,publisher:"",language:"",isExplicit:!1,covers:void 0,numEpisodes:0,consumptionOrder:"",mediaTypeEnum:0,copyright:[],trailerUri:"",isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.description=n.string();continue;case 4:if(32!==e)break;r.popularity=n.uint32();continue;case 5:if(42!==e)break;r.publisher=n.string();continue;case 6:if(50!==e)break;r.language=n.string();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(66!==e)break;r.covers=J.decode(n,n.uint32());continue;case 9:if(72!==e)break;r.numEpisodes=n.uint32();continue;case 10:if(82!==e)break;r.consumptionOrder=n.string();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.int32();continue;case 12:if(98!==e)break;r.copyright.push(n.string());continue;case 13:if(106!==e)break;r.trailerUri=n.string();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 15:if(122!==e)break;r.extension.push(ie.decode(n,n.uint32()));continue;case 16:if(128!==e)break;r.isBook=n.bool();continue;case 17:if(136!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:_e(e.link)?String(e.link):"",name:_e(e.name)?String(e.name):"",description:_e(e.description)?String(e.description):"",popularity:_e(e.popularity)?Number(e.popularity):0,publisher:_e(e.publisher)?String(e.publisher):"",language:_e(e.language)?String(e.language):"",isExplicit:!!_e(e.isExplicit)&&Boolean(e.isExplicit),covers:_e(e.covers)?J.fromJSON(e.covers):void 0,numEpisodes:_e(e.numEpisodes)?Number(e.numEpisodes):0,consumptionOrder:_e(e.consumptionOrder)?String(e.consumptionOrder):"",mediaTypeEnum:_e(e.mediaTypeEnum)?Number(e.mediaTypeEnum):0,copyright:Array.isArray(e?.copyright)?e.copyright.map((e=>String(e))):[],trailerUri:_e(e.trailerUri)?String(e.trailerUri):"",isMusicAndTalk:!!_e(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>ie.fromJSON(e))):[],isBook:!!_e(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!_e(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.description&&(t.description=e.description),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),""!==e.publisher&&(t.publisher=e.publisher),""!==e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),void 0!==e.covers&&(t.covers=J.toJSON(e.covers)),0!==e.numEpisodes&&(t.numEpisodes=Math.round(e.numEpisodes)),""!==e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=Math.round(e.mediaTypeEnum)),e.copyright?.length&&(t.copyright=e.copyright),""!==e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>ie.toJSON(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>me.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",description:"",popularity:0,publisher:"",language:"",isExplicit:!1,covers:void 0,numEpisodes:0,consumptionOrder:"",mediaTypeEnum:0,copyright:[],trailerUri:"",isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??"",t.name=e.name??"",t.description=e.description??"",t.popularity=e.popularity??0,t.publisher=e.publisher??"",t.language=e.language??"",t.isExplicit=e.isExplicit??!1,t.covers=void 0!==e.covers&&null!==e.covers?J.fromPartial(e.covers):void 0,t.numEpisodes=e.numEpisodes??0,t.consumptionOrder=e.consumptionOrder??"",t.mediaTypeEnum=e.mediaTypeEnum??0,t.copyright=e.copyright?.map((e=>e))||[],t.trailerUri=e.trailerUri??"",t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>ie.fromPartial(e)))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};function _e(e){return null!=e}const ge={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Se(e.link)?String(e.link):"",name:Se(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>ge.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const Ee={encode:(e,t=i.Writer.create())=>(void 0!==e.artist&&ge.encode(e.artist,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),void 0!==e.covers&&J.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artist:void 0,link:"",name:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artist=ge.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(34!==e)break;r.covers=J.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artist:Se(e.artist)?ge.fromJSON(e.artist):void 0,link:Se(e.link)?String(e.link):"",name:Se(e.name)?String(e.name):"",covers:Se(e.covers)?J.fromJSON(e.covers):void 0}),toJSON(e){const t={};return void 0!==e.artist&&(t.artist=ge.toJSON(e.artist)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.covers&&(t.covers=J.toJSON(e.covers)),t},create:e=>Ee.fromPartial(e??{}),fromPartial(e){const t={artist:void 0,link:"",name:"",covers:void 0};return t.artist=void 0!==e.artist&&null!==e.artist?ge.fromPartial(e.artist):void 0,t.link=e.link??"",t.name=e.name??"",t.covers=void 0!==e.covers&&null!==e.covers?J.fromPartial(e.covers):void 0,t}};const ve={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.portraits&&J.encode(e.portraits,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",portraits:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.portraits=J.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Se(e.link)?String(e.link):"",name:Se(e.name)?String(e.name):"",portraits:Se(e.portraits)?J.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.portraits&&(t.portraits=J.toJSON(e.portraits)),t},create:e=>ve.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.portraits=void 0!==e.portraits&&null!==e.portraits?J.fromPartial(e.portraits):void 0,t}};const ye={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:Se(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),t},create:e=>ye.fromPartial(e??{}),fromPartial(e){const t={name:""};return t.name=e.name??"",t}};const be={encode(e,t=i.Writer.create()){void 0!==e.album&&Ee.encode(e.album,t.uint32(10).fork()).ldelim();for(const n of e.artist)ve.encode(n,t.uint32(18).fork()).ldelim();""!==e.link&&t.uint32(26).string(e.link),""!==e.name&&t.uint32(34).string(e.name),0!==e.length&&t.uint32(40).uint32(e.length),!0===e.playable&&t.uint32(48).bool(e.playable),0!==e.discNumber&&t.uint32(56).uint32(e.discNumber),0!==e.trackNumber&&t.uint32(64).uint32(e.trackNumber),!0===e.isExplicit&&t.uint32(72).bool(e.isExplicit),""!==e.previewId&&t.uint32(82).string(e.previewId),!0===e.isLocal&&t.uint32(88).bool(e.isLocal),!0===e.playableLocalTrack&&t.uint32(96).bool(e.playableLocalTrack),!0===e.hasLyrics&&t.uint32(104).bool(e.hasLyrics),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.locallyPlayable&&t.uint32(120).bool(e.locallyPlayable),""!==e.playableTrackLink&&t.uint32(130).string(e.playableTrackLink),0!==e.popularity&&t.uint32(136).uint32(e.popularity),!0===e.is19PlusOnly&&t.uint32(144).bool(e.is19PlusOnly);for(const n of e.trackDescriptors)ye.encode(n,t.uint32(154).fork()).ldelim();for(const n of e.extension)ie.encode(n,t.uint32(162).fork()).ldelim();return!0===e.isCurated&&t.uint32(168).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=Ee.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist.push(ve.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.link=n.string();continue;case 4:if(34!==e)break;r.name=n.string();continue;case 5:if(40!==e)break;r.length=n.uint32();continue;case 6:if(48!==e)break;r.playable=n.bool();continue;case 7:if(56!==e)break;r.discNumber=n.uint32();continue;case 8:if(64!==e)break;r.trackNumber=n.uint32();continue;case 9:if(72!==e)break;r.isExplicit=n.bool();continue;case 10:if(82!==e)break;r.previewId=n.string();continue;case 11:if(88!==e)break;r.isLocal=n.bool();continue;case 12:if(96!==e)break;r.playableLocalTrack=n.bool();continue;case 13:if(104!==e)break;r.hasLyrics=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.locallyPlayable=n.bool();continue;case 16:if(130!==e)break;r.playableTrackLink=n.string();continue;case 17:if(136!==e)break;r.popularity=n.uint32();continue;case 18:if(144!==e)break;r.is19PlusOnly=n.bool();continue;case 19:if(154!==e)break;r.trackDescriptors.push(ye.decode(n,n.uint32()));continue;case 20:if(162!==e)break;r.extension.push(ie.decode(n,n.uint32()));continue;case 21:if(168!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:Se(e.album)?Ee.fromJSON(e.album):void 0,artist:Array.isArray(e?.artist)?e.artist.map((e=>ve.fromJSON(e))):[],link:Se(e.link)?String(e.link):"",name:Se(e.name)?String(e.name):"",length:Se(e.length)?Number(e.length):0,playable:!!Se(e.playable)&&Boolean(e.playable),discNumber:Se(e.discNumber)?Number(e.discNumber):0,trackNumber:Se(e.trackNumber)?Number(e.trackNumber):0,isExplicit:!!Se(e.isExplicit)&&Boolean(e.isExplicit),previewId:Se(e.previewId)?String(e.previewId):"",isLocal:!!Se(e.isLocal)&&Boolean(e.isLocal),playableLocalTrack:!!Se(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),hasLyrics:!!Se(e.hasLyrics)&&Boolean(e.hasLyrics),isPremiumOnly:!!Se(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),locallyPlayable:!!Se(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableTrackLink:Se(e.playableTrackLink)?String(e.playableTrackLink):"",popularity:Se(e.popularity)?Number(e.popularity):0,is19PlusOnly:!!Se(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:Array.isArray(e?.trackDescriptors)?e.trackDescriptors.map((e=>ye.fromJSON(e))):[],extension:Array.isArray(e?.extension)?e.extension.map((e=>ie.fromJSON(e))):[],isCurated:!!Se(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!Se(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return void 0!==e.album&&(t.album=Ee.toJSON(e.album)),e.artist?.length&&(t.artist=e.artist.map((e=>ve.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),!0===e.playable&&(t.playable=e.playable),0!==e.discNumber&&(t.discNumber=Math.round(e.discNumber)),0!==e.trackNumber&&(t.trackNumber=Math.round(e.trackNumber)),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),""!==e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),e.trackDescriptors?.length&&(t.trackDescriptors=e.trackDescriptors.map((e=>ye.toJSON(e)))),e.extension?.length&&(t.extension=e.extension.map((e=>ie.toJSON(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>be.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};return t.album=void 0!==e.album&&null!==e.album?Ee.fromPartial(e.album):void 0,t.artist=e.artist?.map((e=>ve.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.playable=e.playable??!1,t.discNumber=e.discNumber??0,t.trackNumber=e.trackNumber??0,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.isLocal=e.isLocal??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.hasLyrics=e.hasLyrics??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableTrackLink=e.playableTrackLink??"",t.popularity=e.popularity??0,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors?.map((e=>ye.fromPartial(e)))||[],t.extension=e.extension?.map((e=>ie.fromPartial(e)))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function Se(e){return null!=e}var Te;function Ae(e){switch(e){case 0:case"UNKNOWN":return Te.UNKNOWN;case 1:case"NO_RESTRICTION":return Te.NO_RESTRICTION;case 2:case"EXPLICIT_CONTENT":return Te.EXPLICIT_CONTENT;case 3:case"AGE_RESTRICTED":return Te.AGE_RESTRICTED;case 4:case"NOT_IN_CATALOGUE":return Te.NOT_IN_CATALOGUE;case 5:case"NOT_AVAILABLE_OFFLINE":return Te.NOT_AVAILABLE_OFFLINE;default:return Te.UNRECOGNIZED}}function Ie(e){switch(e){case Te.UNKNOWN:return"UNKNOWN";case Te.NO_RESTRICTION:return"NO_RESTRICTION";case Te.EXPLICIT_CONTENT:return"EXPLICIT_CONTENT";case Te.AGE_RESTRICTED:return"AGE_RESTRICTED";case Te.NOT_IN_CATALOGUE:return"NOT_IN_CATALOGUE";case Te.NOT_AVAILABLE_OFFLINE:return"NOT_AVAILABLE_OFFLINE";case Te.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NO_RESTRICTION=1]="NO_RESTRICTION",e[e.EXPLICIT_CONTENT=2]="EXPLICIT_CONTENT",e[e.AGE_RESTRICTED=3]="AGE_RESTRICTED",e[e.NOT_IN_CATALOGUE=4]="NOT_IN_CATALOGUE",e[e.NOT_AVAILABLE_OFFLINE=5]="NOT_AVAILABLE_OFFLINE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Te||(Te={}));const Oe={encode:(e,t=i.Writer.create())=>(0!==e.timeLeft&&t.uint32(8).uint32(e.timeLeft),!0===e.isPlayable&&t.uint32(16).bool(e.isPlayable),!0===e.isPlayed&&t.uint32(24).bool(e.isPlayed),0!==e.lastPlayedAt&&t.uint32(32).uint32(e.lastPlayedAt),0!==e.playabilityRestriction&&t.uint32(40).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.uint32();continue;case 2:if(16!==e)break;r.isPlayable=n.bool();continue;case 3:if(24!==e)break;r.isPlayed=n.bool();continue;case 4:if(32!==e)break;r.lastPlayedAt=n.uint32();continue;case 5:if(40!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:Ce(e.timeLeft)?Number(e.timeLeft):0,isPlayable:!!Ce(e.isPlayable)&&Boolean(e.isPlayable),isPlayed:!!Ce(e.isPlayed)&&Boolean(e.isPlayed),lastPlayedAt:Ce(e.lastPlayedAt)?Number(e.lastPlayedAt):0,playabilityRestriction:Ce(e.playabilityRestriction)?Ae(e.playabilityRestriction):0}),toJSON(e){const t={};return 0!==e.timeLeft&&(t.timeLeft=Math.round(e.timeLeft)),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),0!==e.lastPlayedAt&&(t.lastPlayedAt=Math.round(e.lastPlayedAt)),0!==e.playabilityRestriction&&(t.playabilityRestriction=Ie(e.playabilityRestriction)),t},create:e=>Oe.fromPartial(e??{}),fromPartial(e){const t={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};return t.timeLeft=e.timeLeft??0,t.isPlayable=e.isPlayable??!1,t.isPlayed=e.isPlayed??!1,t.lastPlayedAt=e.lastPlayedAt??0,t.playabilityRestriction=e.playabilityRestriction??0,t}};function Ce(e){return null!=e}var Re;function Ne(e){switch(e){case 0:case"UNKNOWN_LABEL":return Re.UNKNOWN_LABEL;case 1:case"NOT_STARTED":return Re.NOT_STARTED;case 2:case"IN_PROGRESS":return Re.IN_PROGRESS;case 3:case"COMPLETED":return Re.COMPLETED;default:return Re.UNRECOGNIZED}}function Pe(){return{latestPlayedEpisodeLink:"",playedTime:BigInt("0"),isPlayable:!1,playabilityRestriction:0,label:0,playedPercentage:0,resumeEpisodeLink:""}}!function(e){e[e.UNKNOWN_LABEL=0]="UNKNOWN_LABEL",e[e.NOT_STARTED=1]="NOT_STARTED",e[e.IN_PROGRESS=2]="IN_PROGRESS",e[e.COMPLETED=3]="COMPLETED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Re||(Re={}));const Le={encode:(e,t=i.Writer.create())=>(""!==e.latestPlayedEpisodeLink&&t.uint32(10).string(e.latestPlayedEpisodeLink),e.playedTime!==BigInt("0")&&t.uint32(16).uint64(e.playedTime.toString()),!0===e.isPlayable&&t.uint32(24).bool(e.isPlayable),0!==e.playabilityRestriction&&t.uint32(32).int32(e.playabilityRestriction),0!==e.label&&t.uint32(40).int32(e.label),0!==e.playedPercentage&&t.uint32(48).uint32(e.playedPercentage),""!==e.resumeEpisodeLink&&t.uint32(58).string(e.resumeEpisodeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Pe();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.latestPlayedEpisodeLink=n.string();continue;case 2:if(16!==e)break;r.playedTime=(a=n.uint64(),BigInt(a.toString()));continue;case 3:if(24!==e)break;r.isPlayable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.int32();continue;case 5:if(40!==e)break;r.label=n.int32();continue;case 6:if(48!==e)break;r.playedPercentage=n.uint32();continue;case 7:if(58!==e)break;r.resumeEpisodeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({latestPlayedEpisodeLink:ke(e.latestPlayedEpisodeLink)?String(e.latestPlayedEpisodeLink):"",playedTime:ke(e.playedTime)?BigInt(e.playedTime):BigInt("0"),isPlayable:!!ke(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:ke(e.playabilityRestriction)?Ae(e.playabilityRestriction):0,label:ke(e.label)?Ne(e.label):0,playedPercentage:ke(e.playedPercentage)?Number(e.playedPercentage):0,resumeEpisodeLink:ke(e.resumeEpisodeLink)?String(e.resumeEpisodeLink):""}),toJSON(e){const t={};return""!==e.latestPlayedEpisodeLink&&(t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink),e.playedTime!==BigInt("0")&&(t.playedTime=e.playedTime.toString()),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),0!==e.playabilityRestriction&&(t.playabilityRestriction=Ie(e.playabilityRestriction)),0!==e.label&&(t.label=function(e){switch(e){case Re.UNKNOWN_LABEL:return"UNKNOWN_LABEL";case Re.NOT_STARTED:return"NOT_STARTED";case Re.IN_PROGRESS:return"IN_PROGRESS";case Re.COMPLETED:return"COMPLETED";case Re.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.label)),0!==e.playedPercentage&&(t.playedPercentage=Math.round(e.playedPercentage)),""!==e.resumeEpisodeLink&&(t.resumeEpisodeLink=e.resumeEpisodeLink),t},create:e=>Le.fromPartial(e??{}),fromPartial(e){const t=Pe();return t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink??"",t.playedTime=e.playedTime??BigInt("0"),t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??0,t.label=e.label??0,t.playedPercentage=e.playedPercentage??0,t.resumeEpisodeLink=e.resumeEpisodeLink??"",t}};function ke(e){return null!=e}i.util.Long!==te&&(i.util.Long=te,i.configure());const we={encode:(e,t=i.Writer.create())=>(!0===e.isPlayable&&t.uint32(8).bool(e.isPlayable),0!==e.playabilityRestriction&&t.uint32(16).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isPlayable:!1,playabilityRestriction:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isPlayable=n.bool();continue;case 2:if(16!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isPlayable:!!De(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:De(e.playabilityRestriction)?Ae(e.playabilityRestriction):0}),toJSON(e){const t={};return!0===e.isPlayable&&(t.isPlayable=e.isPlayable),0!==e.playabilityRestriction&&(t.playabilityRestriction=Ie(e.playabilityRestriction)),t},create:e=>we.fromPartial(e??{}),fromPartial(e){const t={isPlayable:!1,playabilityRestriction:0};return t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??0,t}};function De(e){return null!=e}const Me={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),""!==e.inferredOffline&&t.uint32(18).string(e.inferredOffline),0!==e.syncProgress&&t.uint32(24).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",inferredOffline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(18!==e)break;r.inferredOffline=n.string();continue;case 3:if(24!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:xe(e.offline)?String(e.offline):"",inferredOffline:xe(e.inferredOffline)?String(e.inferredOffline):"",syncProgress:xe(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),""!==e.inferredOffline&&(t.inferredOffline=e.inferredOffline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Me.fromPartial(e??{}),fromPartial(e){const t={offline:"",inferredOffline:"",syncProgress:0};return t.offline=e.offline??"",t.inferredOffline=e.inferredOffline??"",t.syncProgress=e.syncProgress??0,t}};function xe(e){return null!=e}const Ue={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),""!==e.inferredOffline&&t.uint32(18).string(e.inferredOffline),0!==e.syncProgress&&t.uint32(24).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",inferredOffline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(18!==e)break;r.inferredOffline=n.string();continue;case 3:if(24!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:Ve(e.offline)?String(e.offline):"",inferredOffline:Ve(e.inferredOffline)?String(e.inferredOffline):"",syncProgress:Ve(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),""!==e.inferredOffline&&(t.inferredOffline=e.inferredOffline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Ue.fromPartial(e??{}),fromPartial(e){const t={offline:"",inferredOffline:"",syncProgress:0};return t.offline=e.offline??"",t.inferredOffline=e.inferredOffline??"",t.syncProgress=e.syncProgress??0,t}};function Ve(e){return null!=e}const Fe={encode:(e,t=i.Writer.create())=>(""!==e.offlineState&&t.uint32(10).string(e.offlineState),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offlineState:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offlineState=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:Be(e.offlineState)?String(e.offlineState):"",syncProgress:Be(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offlineState&&(t.offlineState=e.offlineState),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Fe.fromPartial(e??{}),fromPartial(e){const t={offlineState:"",syncProgress:0};return t.offlineState=e.offlineState??"",t.syncProgress=e.syncProgress??0,t}};function Be(e){return null!=e}const He={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:Ge(e.offline)?String(e.offline):"",syncProgress:Ge(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>He.fromPartial(e??{}),fromPartial(e){const t={offline:"",syncProgress:0};return t.offline=e.offline??"",t.syncProgress=e.syncProgress??0,t}};function Ge(e){return null!=e}const We={encode(e,t=i.Writer.create()){0!==e.index&&t.uint32(8).uint32(e.index),0!==e.addTime&&t.uint32(16).uint32(e.addTime),void 0!==e.trackMetadata&&be.encode(e.trackMetadata,t.uint32(26).fork()).ldelim(),void 0!==e.trackCollectionState&&z.encode(e.trackCollectionState,t.uint32(34).fork()).ldelim(),void 0!==e.trackPlayState&&we.encode(e.trackPlayState,t.uint32(42).fork()).ldelim(),void 0!==e.trackSyncState&&He.encode(e.trackSyncState,t.uint32(50).fork()).ldelim(),!0===e.decorated&&t.uint32(56).bool(e.decorated),void 0!==e.album&&je.encode(e.album,t.uint32(66).fork()).ldelim(),""!==e.cover&&t.uint32(74).string(e.cover),""!==e.link&&t.uint32(82).string(e.link);for(const n of e.artistCollectionState)H.encode(n,t.uint32(90).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={index:0,addTime:0,trackMetadata:void 0,trackCollectionState:void 0,trackPlayState:void 0,trackSyncState:void 0,decorated:!1,album:void 0,cover:"",link:"",artistCollectionState:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.index=n.uint32();continue;case 2:if(16!==e)break;r.addTime=n.uint32();continue;case 3:if(26!==e)break;r.trackMetadata=be.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.trackCollectionState=z.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.trackPlayState=we.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.trackSyncState=He.decode(n,n.uint32());continue;case 7:if(56!==e)break;r.decorated=n.bool();continue;case 8:if(66!==e)break;r.album=je.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.cover=n.string();continue;case 10:if(82!==e)break;r.link=n.string();continue;case 11:if(90!==e)break;r.artistCollectionState.push(H.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({index:Je(e.index)?Number(e.index):0,addTime:Je(e.addTime)?Number(e.addTime):0,trackMetadata:Je(e.trackMetadata)?be.fromJSON(e.trackMetadata):void 0,trackCollectionState:Je(e.trackCollectionState)?z.fromJSON(e.trackCollectionState):void 0,trackPlayState:Je(e.trackPlayState)?we.fromJSON(e.trackPlayState):void 0,trackSyncState:Je(e.trackSyncState)?He.fromJSON(e.trackSyncState):void 0,decorated:!!Je(e.decorated)&&Boolean(e.decorated),album:Je(e.album)?je.fromJSON(e.album):void 0,cover:Je(e.cover)?String(e.cover):"",link:Je(e.link)?String(e.link):"",artistCollectionState:Array.isArray(e?.artistCollectionState)?e.artistCollectionState.map((e=>H.fromJSON(e))):[]}),toJSON(e){const t={};return 0!==e.index&&(t.index=Math.round(e.index)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),void 0!==e.trackMetadata&&(t.trackMetadata=be.toJSON(e.trackMetadata)),void 0!==e.trackCollectionState&&(t.trackCollectionState=z.toJSON(e.trackCollectionState)),void 0!==e.trackPlayState&&(t.trackPlayState=we.toJSON(e.trackPlayState)),void 0!==e.trackSyncState&&(t.trackSyncState=He.toJSON(e.trackSyncState)),!0===e.decorated&&(t.decorated=e.decorated),void 0!==e.album&&(t.album=je.toJSON(e.album)),""!==e.cover&&(t.cover=e.cover),""!==e.link&&(t.link=e.link),e.artistCollectionState?.length&&(t.artistCollectionState=e.artistCollectionState.map((e=>H.toJSON(e)))),t},create:e=>We.fromPartial(e??{}),fromPartial(e){const t={index:0,addTime:0,trackMetadata:void 0,trackCollectionState:void 0,trackPlayState:void 0,trackSyncState:void 0,decorated:!1,album:void 0,cover:"",link:"",artistCollectionState:[]};return t.index=e.index??0,t.addTime=e.addTime??0,t.trackMetadata=void 0!==e.trackMetadata&&null!==e.trackMetadata?be.fromPartial(e.trackMetadata):void 0,t.trackCollectionState=void 0!==e.trackCollectionState&&null!==e.trackCollectionState?z.fromPartial(e.trackCollectionState):void 0,t.trackPlayState=void 0!==e.trackPlayState&&null!==e.trackPlayState?we.fromPartial(e.trackPlayState):void 0,t.trackSyncState=void 0!==e.trackSyncState&&null!==e.trackSyncState?He.fromPartial(e.trackSyncState):void 0,t.decorated=e.decorated??!1,t.album=void 0!==e.album&&null!==e.album?je.fromPartial(e.album):void 0,t.cover=e.cover??"",t.link=e.link??"",t.artistCollectionState=e.artistCollectionState?.map((e=>H.fromPartial(e)))||[],t}};const je={encode(e,t=i.Writer.create()){0!==e.addTime&&t.uint32(8).uint32(e.addTime),void 0!==e.albumMetadata&&$.encode(e.albumMetadata,t.uint32(18).fork()).ldelim(),void 0!==e.albumCollectionState&&F.encode(e.albumCollectionState,t.uint32(26).fork()).ldelim(),void 0!==e.albumSyncState&&Me.encode(e.albumSyncState,t.uint32(34).fork()).ldelim(),!0===e.decorated&&t.uint32(40).bool(e.decorated),""!==e.albumType&&t.uint32(50).string(e.albumType);for(const n of e.track)We.encode(n,t.uint32(58).fork()).ldelim();return""!==e.link&&t.uint32(90).string(e.link),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={addTime:0,albumMetadata:void 0,albumCollectionState:void 0,albumSyncState:void 0,decorated:!1,albumType:"",track:[],link:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.addTime=n.uint32();continue;case 2:if(18!==e)break;r.albumMetadata=$.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.albumCollectionState=F.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.albumSyncState=Me.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.decorated=n.bool();continue;case 6:if(50!==e)break;r.albumType=n.string();continue;case 7:if(58!==e)break;r.track.push(We.decode(n,n.uint32()));continue;case 11:if(90!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({addTime:Je(e.addTime)?Number(e.addTime):0,albumMetadata:Je(e.albumMetadata)?$.fromJSON(e.albumMetadata):void 0,albumCollectionState:Je(e.albumCollectionState)?F.fromJSON(e.albumCollectionState):void 0,albumSyncState:Je(e.albumSyncState)?Me.fromJSON(e.albumSyncState):void 0,decorated:!!Je(e.decorated)&&Boolean(e.decorated),albumType:Je(e.albumType)?String(e.albumType):"",track:Array.isArray(e?.track)?e.track.map((e=>We.fromJSON(e))):[],link:Je(e.link)?String(e.link):""}),toJSON(e){const t={};return 0!==e.addTime&&(t.addTime=Math.round(e.addTime)),void 0!==e.albumMetadata&&(t.albumMetadata=$.toJSON(e.albumMetadata)),void 0!==e.albumCollectionState&&(t.albumCollectionState=F.toJSON(e.albumCollectionState)),void 0!==e.albumSyncState&&(t.albumSyncState=Me.toJSON(e.albumSyncState)),!0===e.decorated&&(t.decorated=e.decorated),""!==e.albumType&&(t.albumType=e.albumType),e.track?.length&&(t.track=e.track.map((e=>We.toJSON(e)))),""!==e.link&&(t.link=e.link),t},create:e=>je.fromPartial(e??{}),fromPartial(e){const t={addTime:0,albumMetadata:void 0,albumCollectionState:void 0,albumSyncState:void 0,decorated:!1,albumType:"",track:[],link:""};return t.addTime=e.addTime??0,t.albumMetadata=void 0!==e.albumMetadata&&null!==e.albumMetadata?$.fromPartial(e.albumMetadata):void 0,t.albumCollectionState=void 0!==e.albumCollectionState&&null!==e.albumCollectionState?F.fromPartial(e.albumCollectionState):void 0,t.albumSyncState=void 0!==e.albumSyncState&&null!==e.albumSyncState?Me.fromPartial(e.albumSyncState):void 0,t.decorated=e.decorated??!1,t.albumType=e.albumType??"",t.track=e.track?.map((e=>We.fromPartial(e)))||[],t.link=e.link??"",t}};const Ye={encode(e,t=i.Writer.create()){void 0!==e.artistMetadata&&Q.encode(e.artistMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.artistCollectionState&&H.encode(e.artistCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.artistSyncState&&Ue.encode(e.artistSyncState,t.uint32(26).fork()).ldelim(),!0===e.decorated&&t.uint32(32).bool(e.decorated);for(const n of e.album)je.encode(n,t.uint32(42).fork()).ldelim();return""!==e.link&&t.uint32(50).string(e.link),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artistMetadata:void 0,artistCollectionState:void 0,artistSyncState:void 0,decorated:!1,album:[],link:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artistMetadata=Q.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artistCollectionState=H.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.artistSyncState=Ue.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.decorated=n.bool();continue;case 5:if(42!==e)break;r.album.push(je.decode(n,n.uint32()));continue;case 6:if(50!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artistMetadata:Je(e.artistMetadata)?Q.fromJSON(e.artistMetadata):void 0,artistCollectionState:Je(e.artistCollectionState)?H.fromJSON(e.artistCollectionState):void 0,artistSyncState:Je(e.artistSyncState)?Ue.fromJSON(e.artistSyncState):void 0,decorated:!!Je(e.decorated)&&Boolean(e.decorated),album:Array.isArray(e?.album)?e.album.map((e=>je.fromJSON(e))):[],link:Je(e.link)?String(e.link):""}),toJSON(e){const t={};return void 0!==e.artistMetadata&&(t.artistMetadata=Q.toJSON(e.artistMetadata)),void 0!==e.artistCollectionState&&(t.artistCollectionState=H.toJSON(e.artistCollectionState)),void 0!==e.artistSyncState&&(t.artistSyncState=Ue.toJSON(e.artistSyncState)),!0===e.decorated&&(t.decorated=e.decorated),e.album?.length&&(t.album=e.album.map((e=>je.toJSON(e)))),""!==e.link&&(t.link=e.link),t},create:e=>Ye.fromPartial(e??{}),fromPartial(e){const t={artistMetadata:void 0,artistCollectionState:void 0,artistSyncState:void 0,decorated:!1,album:[],link:""};return t.artistMetadata=void 0!==e.artistMetadata&&null!==e.artistMetadata?Q.fromPartial(e.artistMetadata):void 0,t.artistCollectionState=void 0!==e.artistCollectionState&&null!==e.artistCollectionState?H.fromPartial(e.artistCollectionState):void 0,t.artistSyncState=void 0!==e.artistSyncState&&null!==e.artistSyncState?Ue.fromPartial(e.artistSyncState):void 0,t.decorated=e.decorated??!1,t.album=e.album?.map((e=>je.fromPartial(e)))||[],t.link=e.link??"",t}};const ze={encode:(e,t=i.Writer.create())=>(void 0!==e.showMetadata&&me.encode(e.showMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.showCollectionState&&Y.encode(e.showCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.showPlayState&&Le.encode(e.showPlayState,t.uint32(26).fork()).ldelim(),0!==e.addTime&&t.uint32(32).uint32(e.addTime),""!==e.link&&t.uint32(42).string(e.link),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,addTime:0,link:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showMetadata=me.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.showCollectionState=Y.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.showPlayState=Le.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.addTime=n.uint32();continue;case 5:if(42!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showMetadata:Je(e.showMetadata)?me.fromJSON(e.showMetadata):void 0,showCollectionState:Je(e.showCollectionState)?Y.fromJSON(e.showCollectionState):void 0,showPlayState:Je(e.showPlayState)?Le.fromJSON(e.showPlayState):void 0,addTime:Je(e.addTime)?Number(e.addTime):0,link:Je(e.link)?String(e.link):""}),toJSON(e){const t={};return void 0!==e.showMetadata&&(t.showMetadata=me.toJSON(e.showMetadata)),void 0!==e.showCollectionState&&(t.showCollectionState=Y.toJSON(e.showCollectionState)),void 0!==e.showPlayState&&(t.showPlayState=Le.toJSON(e.showPlayState)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.link&&(t.link=e.link),t},create:e=>ze.fromPartial(e??{}),fromPartial(e){const t={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,addTime:0,link:""};return t.showMetadata=void 0!==e.showMetadata&&null!==e.showMetadata?me.fromPartial(e.showMetadata):void 0,t.showCollectionState=void 0!==e.showCollectionState&&null!==e.showCollectionState?Y.fromPartial(e.showCollectionState):void 0,t.showPlayState=void 0!==e.showPlayState&&null!==e.showPlayState?Le.fromPartial(e.showPlayState):void 0,t.addTime=e.addTime??0,t.link=e.link??"",t}};const Ke={encode:(e,t=i.Writer.create())=>(void 0!==e.episodeMetadata&&he.encode(e.episodeMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.episodeCollectionState&&W.encode(e.episodeCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.episodeOfflineState&&Fe.encode(e.episodeOfflineState,t.uint32(26).fork()).ldelim(),void 0!==e.episodePlayState&&Oe.encode(e.episodePlayState,t.uint32(34).fork()).ldelim(),void 0!==e.show&&ze.encode(e.show,t.uint32(42).fork()).ldelim(),""!==e.link&&t.uint32(50).string(e.link),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,show:void 0,link:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodeMetadata=he.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.episodeCollectionState=W.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episodeOfflineState=Fe.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodePlayState=Oe.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.show=ze.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodeMetadata:Je(e.episodeMetadata)?he.fromJSON(e.episodeMetadata):void 0,episodeCollectionState:Je(e.episodeCollectionState)?W.fromJSON(e.episodeCollectionState):void 0,episodeOfflineState:Je(e.episodeOfflineState)?Fe.fromJSON(e.episodeOfflineState):void 0,episodePlayState:Je(e.episodePlayState)?Oe.fromJSON(e.episodePlayState):void 0,show:Je(e.show)?ze.fromJSON(e.show):void 0,link:Je(e.link)?String(e.link):""}),toJSON(e){const t={};return void 0!==e.episodeMetadata&&(t.episodeMetadata=he.toJSON(e.episodeMetadata)),void 0!==e.episodeCollectionState&&(t.episodeCollectionState=W.toJSON(e.episodeCollectionState)),void 0!==e.episodeOfflineState&&(t.episodeOfflineState=Fe.toJSON(e.episodeOfflineState)),void 0!==e.episodePlayState&&(t.episodePlayState=Oe.toJSON(e.episodePlayState)),void 0!==e.show&&(t.show=ze.toJSON(e.show)),""!==e.link&&(t.link=e.link),t},create:e=>Ke.fromPartial(e??{}),fromPartial(e){const t={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,show:void 0,link:""};return t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?he.fromPartial(e.episodeMetadata):void 0,t.episodeCollectionState=void 0!==e.episodeCollectionState&&null!==e.episodeCollectionState?W.fromPartial(e.episodeCollectionState):void 0,t.episodeOfflineState=void 0!==e.episodeOfflineState&&null!==e.episodeOfflineState?Fe.fromPartial(e.episodeOfflineState):void 0,t.episodePlayState=void 0!==e.episodePlayState&&null!==e.episodePlayState?Oe.fromPartial(e.episodePlayState):void 0,t.show=void 0!==e.show&&null!==e.show?ze.fromPartial(e.show):void 0,t.link=e.link??"",t}};function Je(e){return null!=e}const qe={encode:(e,t=i.Writer.create())=>(void 0!==e.trackPolicy&&M.encode(e.trackPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.artistPolicy&&w.encode(e.artistPolicy,t.uint32(18).fork()).ldelim(),""!==e.sort&&t.uint32(26).string(e.sort),!0===e.timestamp&&t.uint32(32).bool(e.timestamp),0!==e.updateThrottling&&t.uint32(40).uint32(e.updateThrottling),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={trackPolicy:void 0,artistPolicy:void 0,sort:"",timestamp:!1,updateThrottling:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.trackPolicy=M.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artistPolicy=w.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.sort=n.string();continue;case 4:if(32!==e)break;r.timestamp=n.bool();continue;case 5:if(40!==e)break;r.updateThrottling=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({trackPolicy:Ze(e.trackPolicy)?M.fromJSON(e.trackPolicy):void 0,artistPolicy:Ze(e.artistPolicy)?w.fromJSON(e.artistPolicy):void 0,sort:Ze(e.sort)?String(e.sort):"",timestamp:!!Ze(e.timestamp)&&Boolean(e.timestamp),updateThrottling:Ze(e.updateThrottling)?Number(e.updateThrottling):0}),toJSON(e){const t={};return void 0!==e.trackPolicy&&(t.trackPolicy=M.toJSON(e.trackPolicy)),void 0!==e.artistPolicy&&(t.artistPolicy=w.toJSON(e.artistPolicy)),""!==e.sort&&(t.sort=e.sort),!0===e.timestamp&&(t.timestamp=e.timestamp),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),t},create:e=>qe.fromPartial(e??{}),fromPartial(e){const t={trackPolicy:void 0,artistPolicy:void 0,sort:"",timestamp:!1,updateThrottling:0};return t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?M.fromPartial(e.trackPolicy):void 0,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?w.fromPartial(e.artistPolicy):void 0,t.sort=e.sort??"",t.timestamp=e.timestamp??!1,t.updateThrottling=e.updateThrottling??0,t}};const Xe={encode:(e,t=i.Writer.create())=>(0!==e.addTime&&t.uint32(8).uint32(e.addTime),void 0!==e.trackMetadata&&We.encode(e.trackMetadata,t.uint32(18).fork()).ldelim(),void 0!==e.artistMetadata&&Ye.encode(e.artistMetadata,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={addTime:0,trackMetadata:void 0,artistMetadata:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.addTime=n.uint32();continue;case 2:if(18!==e)break;r.trackMetadata=We.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.artistMetadata=Ye.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({addTime:Ze(e.addTime)?Number(e.addTime):0,trackMetadata:Ze(e.trackMetadata)?We.fromJSON(e.trackMetadata):void 0,artistMetadata:Ze(e.artistMetadata)?Ye.fromJSON(e.artistMetadata):void 0}),toJSON(e){const t={};return 0!==e.addTime&&(t.addTime=Math.round(e.addTime)),void 0!==e.trackMetadata&&(t.trackMetadata=We.toJSON(e.trackMetadata)),void 0!==e.artistMetadata&&(t.artistMetadata=Ye.toJSON(e.artistMetadata)),t},create:e=>Xe.fromPartial(e??{}),fromPartial(e){const t={addTime:0,trackMetadata:void 0,artistMetadata:void 0};return t.addTime=e.addTime??0,t.trackMetadata=void 0!==e.trackMetadata&&null!==e.trackMetadata?We.fromPartial(e.trackMetadata):void 0,t.artistMetadata=void 0!==e.artistMetadata&&null!==e.artistMetadata?Ye.fromPartial(e.artistMetadata):void 0,t}};const $e={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.item)Xe.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,item:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.item.push(Xe.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Ze(e.status)?o.fromJSON(e.status):void 0,item:Array.isArray(e?.item)?e.item.map((e=>Xe.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.item?.length&&(t.item=e.item.map((e=>Xe.toJSON(e)))),t},create:e=>$e.fromPartial(e??{}),fromPartial(e){const t={status:void 0,item:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.item=e.item?.map((e=>Xe.fromPartial(e)))||[],t}};function Ze(e){return null!=e}const Qe={encode(e,t=i.Writer.create()){""!==e.contextSource&&t.uint32(10).string(e.contextSource);for(const n of e.uri)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={contextSource:"",uri:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.contextSource=n.string();continue;case 2:if(18!==e)break;r.uri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({contextSource:tt(e.contextSource)?String(e.contextSource):"",uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[]}),toJSON(e){const t={};return""!==e.contextSource&&(t.contextSource=e.contextSource),e.uri?.length&&(t.uri=e.uri),t},create:e=>Qe.fromPartial(e??{}),fromPartial(e){const t={contextSource:"",uri:[]};return t.contextSource=e.contextSource??"",t.uri=e.uri?.map((e=>e))||[],t}};const et={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t.uint32(18).fork();for(const n of e.success)t.bool(n);return t.ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,success:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(16===e){a.success.push(n.bool());continue}if(18===e){const e=n.uint32()+n.pos;for(;n.pos<e;)a.success.push(n.bool());continue}}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:tt(e.status)?o.fromJSON(e.status):void 0,success:Array.isArray(e?.success)?e.success.map((e=>Boolean(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.success?.length&&(t.success=e.success),t},create:e=>et.fromPartial(e??{}),fromPartial(e){const t={status:void 0,success:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.success=e.success?.map((e=>e))||[],t}};function tt(e){return null!=e}const nt={encode:(e,t=i.Writer.create())=>(""!==e.artistUri&&t.uint32(10).string(e.artistUri),0!==e.updateThrottling&&t.uint32(16).uint32(e.updateThrottling),void 0!==e.artistPolicy&&w.encode(e.artistPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.albumPolicy&&D.encode(e.albumPolicy,t.uint32(34).fork()).ldelim(),void 0!==e.trackPolicy&&M.encode(e.trackPolicy,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artistUri:"",updateThrottling:0,artistPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artistUri=n.string();continue;case 2:if(16!==e)break;r.updateThrottling=n.uint32();continue;case 3:if(26!==e)break;r.artistPolicy=w.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.albumPolicy=D.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.trackPolicy=M.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artistUri:ot(e.artistUri)?String(e.artistUri):"",updateThrottling:ot(e.updateThrottling)?Number(e.updateThrottling):0,artistPolicy:ot(e.artistPolicy)?w.fromJSON(e.artistPolicy):void 0,albumPolicy:ot(e.albumPolicy)?D.fromJSON(e.albumPolicy):void 0,trackPolicy:ot(e.trackPolicy)?M.fromJSON(e.trackPolicy):void 0}),toJSON(e){const t={};return""!==e.artistUri&&(t.artistUri=e.artistUri),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),void 0!==e.artistPolicy&&(t.artistPolicy=w.toJSON(e.artistPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=D.toJSON(e.albumPolicy)),void 0!==e.trackPolicy&&(t.trackPolicy=M.toJSON(e.trackPolicy)),t},create:e=>nt.fromPartial(e??{}),fromPartial(e){const t={artistUri:"",updateThrottling:0,artistPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0};return t.artistUri=e.artistUri??"",t.updateThrottling=e.updateThrottling??0,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?w.fromPartial(e.artistPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?D.fromPartial(e.albumPolicy):void 0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?M.fromPartial(e.trackPolicy):void 0,t}};const it={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.artist&&Ye.encode(e.artist,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,artist:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.artist=Ye.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:ot(e.status)?o.fromJSON(e.status):void 0,artist:ot(e.artist)?Ye.fromJSON(e.artist):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.artist&&(t.artist=Ye.toJSON(e.artist)),t},create:e=>it.fromPartial(e??{}),fromPartial(e){const t={status:void 0,artist:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.artist=void 0!==e.artist&&null!==e.artist?Ye.fromPartial(e.artist):void 0,t}};function ot(e){return null!=e}const rt={encode:(e,t=i.Writer.create())=>(""!==e.albumUri&&t.uint32(10).string(e.albumUri),0!==e.updateThrottling&&t.uint32(16).uint32(e.updateThrottling),void 0!==e.albumPolicy&&D.encode(e.albumPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.trackPolicy&&M.encode(e.trackPolicy,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={albumUri:"",updateThrottling:0,albumPolicy:void 0,trackPolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.albumUri=n.string();continue;case 2:if(16!==e)break;r.updateThrottling=n.uint32();continue;case 3:if(26!==e)break;r.albumPolicy=D.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.trackPolicy=M.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({albumUri:st(e.albumUri)?String(e.albumUri):"",updateThrottling:st(e.updateThrottling)?Number(e.updateThrottling):0,albumPolicy:st(e.albumPolicy)?D.fromJSON(e.albumPolicy):void 0,trackPolicy:st(e.trackPolicy)?M.fromJSON(e.trackPolicy):void 0}),toJSON(e){const t={};return""!==e.albumUri&&(t.albumUri=e.albumUri),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),void 0!==e.albumPolicy&&(t.albumPolicy=D.toJSON(e.albumPolicy)),void 0!==e.trackPolicy&&(t.trackPolicy=M.toJSON(e.trackPolicy)),t},create:e=>rt.fromPartial(e??{}),fromPartial(e){const t={albumUri:"",updateThrottling:0,albumPolicy:void 0,trackPolicy:void 0};return t.albumUri=e.albumUri??"",t.updateThrottling=e.updateThrottling??0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?D.fromPartial(e.albumPolicy):void 0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?M.fromPartial(e.trackPolicy):void 0,t}};const at={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.album&&je.encode(e.album,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,album:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.album=je.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:st(e.status)?o.fromJSON(e.status):void 0,album:st(e.album)?je.fromJSON(e.album):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.album&&(t.album=je.toJSON(e.album)),t},create:e=>at.fromPartial(e??{}),fromPartial(e){const t={status:void 0,album:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.album=void 0!==e.album&&null!==e.album?je.fromPartial(e.album):void 0,t}};function st(e){return null!=e}const ct={encode:(e,t=i.Writer.create())=>(0!==e.unfilteredLength&&t.uint32(8).uint32(e.unfilteredLength),0!==e.length&&t.uint32(16).uint32(e.length),""!==e.offline&&t.uint32(26).string(e.offline),0!==e.syncProgress&&t.uint32(32).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={unfilteredLength:0,length:0,offline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.unfilteredLength=n.uint32();continue;case 2:if(16!==e)break;r.length=n.uint32();continue;case 3:if(26!==e)break;r.offline=n.string();continue;case 4:if(32!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({unfilteredLength:lt(e.unfilteredLength)?Number(e.unfilteredLength):0,length:lt(e.length)?Number(e.length):0,offline:lt(e.offline)?String(e.offline):"",syncProgress:lt(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return 0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.length&&(t.length=Math.round(e.length)),""!==e.offline&&(t.offline=e.offline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>ct.fromPartial(e??{}),fromPartial(e){const t={unfilteredLength:0,length:0,offline:"",syncProgress:0};return t.unfilteredLength=e.unfilteredLength??0,t.length=e.length??0,t.offline=e.offline??"",t.syncProgress=e.syncProgress??0,t}};function lt(e){return null!=e}const ut={encode:(e,t=i.Writer.create())=>(""!==e.filter&&t.uint32(18).string(e.filter),0!==e.updateThrottling&&t.uint32(24).uint32(e.updateThrottling),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={filter:"",updateThrottling:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 2:if(18!==e)break;r.filter=n.string();continue;case 3:if(24!==e)break;r.updateThrottling=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({filter:pt(e.filter)?String(e.filter):"",updateThrottling:pt(e.updateThrottling)?Number(e.updateThrottling):0}),toJSON(e){const t={};return""!==e.filter&&(t.filter=e.filter),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),t},create:e=>ut.fromPartial(e??{}),fromPartial(e){const t={filter:"",updateThrottling:0};return t.filter=e.filter??"",t.updateThrottling=e.updateThrottling??0,t}};const dt={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.metadata&&ct.encode(e.metadata,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,metadata:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.metadata=ct.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:pt(e.status)?o.fromJSON(e.status):void 0,metadata:pt(e.metadata)?ct.fromJSON(e.metadata):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.metadata&&(t.metadata=ct.toJSON(e.metadata)),t},create:e=>dt.fromPartial(e??{}),fromPartial(e){const t={status:void 0,metadata:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.metadata=void 0!==e.metadata&&null!==e.metadata?ct.fromPartial(e.metadata):void 0,t}};function pt(e){return null!=e}const ht={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>ht.fromPartial(e??{}),fromPartial:e=>({})};const ft={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{status:(t=e.status,null!=t?o.fromJSON(e.status):void 0)};var t},toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>ft.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};const mt={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.uid&&t.uint32(18).string(e.uid),Object.entries(e.metadata).forEach((([e,n])=>{_t.encode({key:e,value:n},t.uint32(26).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",uid:"",metadata:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.uid=n.string();continue;case 3:if(26!==e)break;const t=_t.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{uri:gt(e.uri)?String(e.uri):"",uid:gt(e.uid)?String(e.uid):"",metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(""!==e.uri&&(t.uri=e.uri),""!==e.uid&&(t.uid=e.uid),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return t},create:e=>mt.fromPartial(e??{}),fromPartial(e){const t={uri:"",uid:"",metadata:{}};return t.uri=e.uri??"",t.uid=e.uid??"",t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const _t={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:gt(e.key)?String(e.key):"",value:gt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>_t.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function gt(e){return null!=e}const Et={encode(e,t=i.Writer.create()){for(const n of e.tracks)mt.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{vt.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.pageUrl&&t.uint32(26).string(e.pageUrl),""!==e.nextPageUrl&&t.uint32(34).string(e.nextPageUrl),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tracks.push(mt.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=vt.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;r.pageUrl=n.string();continue;case 4:if(34!==e)break;r.nextPageUrl=n.string();continue;case 5:if(40!==e)break;r.isLoading=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{tracks:Array.isArray(e?.tracks)?e.tracks.map((e=>mt.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),pageUrl:yt(e.pageUrl)?String(e.pageUrl):"",nextPageUrl:yt(e.nextPageUrl)?String(e.nextPageUrl):"",isLoading:!!yt(e.isLoading)&&Boolean(e.isLoading)};var t},toJSON(e){const t={};if(e.tracks?.length&&(t.tracks=e.tracks.map((e=>mt.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),""!==e.nextPageUrl&&(t.nextPageUrl=e.nextPageUrl),!0===e.isLoading&&(t.isLoading=e.isLoading),t},create:e=>Et.fromPartial(e??{}),fromPartial(e){const t={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};return t.tracks=e.tracks?.map((e=>mt.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.pageUrl=e.pageUrl??"",t.nextPageUrl=e.nextPageUrl??"",t.isLoading=e.isLoading??!1,t}};const vt={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:yt(e.key)?String(e.key):"",value:yt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>vt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function yt(e){return null!=e}const bt={encode:(e,t=i.Writer.create())=>(Object.entries(e.values).forEach((([e,n])=>{St.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={values:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=St.decode(n,n.uint32());void 0!==t.value&&(r.values[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({values:Ct(e.values)?Object.entries(e.values).reduce(((e,[t,n])=>(e[t]=Tt.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.values){const n=Object.entries(e.values);n.length>0&&(t.values={},n.forEach((([e,n])=>{t.values[e]=Tt.toJSON(n)})))}return t},create:e=>bt.fromPartial(e??{}),fromPartial(e){const t={values:{}};return t.values=Object.entries(e.values??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=Tt.fromPartial(n)),e)),{}),t}};const St={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&Tt.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=Tt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Rt(e.key)?String(e.key):"",value:Rt(e.value)?Tt.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=Tt.toJSON(e.value)),t},create:e=>St.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?Tt.fromPartial(e.value):void 0,t}};const Tt={encode(e,t=i.Writer.create()){for(const n of e.reasons)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={reasons:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.reasons.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reasons:Array.isArray(e?.reasons)?e.reasons.map((e=>String(e))):[]}),toJSON(e){const t={};return e.reasons?.length&&(t.reasons=e.reasons),t},create:e=>Tt.fromPartial(e??{}),fromPartial(e){const t={reasons:[]};return t.reasons=e.reasons?.map((e=>e))||[],t}};const At={encode(e,t=i.Writer.create()){for(const n of e.disallowPausingReasons)t.uint32(10).string(n);for(const n of e.disallowResumingReasons)t.uint32(18).string(n);for(const n of e.disallowSeekingReasons)t.uint32(26).string(n);for(const n of e.disallowPeekingPrevReasons)t.uint32(34).string(n);for(const n of e.disallowPeekingNextReasons)t.uint32(42).string(n);for(const n of e.disallowSkippingPrevReasons)t.uint32(50).string(n);for(const n of e.disallowSkippingNextReasons)t.uint32(58).string(n);for(const n of e.disallowTogglingRepeatContextReasons)t.uint32(66).string(n);for(const n of e.disallowTogglingRepeatTrackReasons)t.uint32(74).string(n);for(const n of e.disallowTogglingShuffleReasons)t.uint32(82).string(n);for(const n of e.disallowSetQueueReasons)t.uint32(90).string(n);for(const n of e.disallowInterruptingPlaybackReasons)t.uint32(98).string(n);for(const n of e.disallowTransferringPlaybackReasons)t.uint32(106).string(n);for(const n of e.disallowRemoteControlReasons)t.uint32(114).string(n);for(const n of e.disallowInsertingIntoNextTracksReasons)t.uint32(122).string(n);for(const n of e.disallowInsertingIntoContextTracksReasons)t.uint32(130).string(n);for(const n of e.disallowReorderingInNextTracksReasons)t.uint32(138).string(n);for(const n of e.disallowReorderingInContextTracksReasons)t.uint32(146).string(n);for(const n of e.disallowRemovingFromNextTracksReasons)t.uint32(154).string(n);for(const n of e.disallowRemovingFromContextTracksReasons)t.uint32(162).string(n);for(const n of e.disallowUpdatingContextReasons)t.uint32(170).string(n);for(const n of e.disallowAddToQueueReasons)t.uint32(178).string(n);for(const n of e.disallowSettingPlaybackSpeedReasons)t.uint32(186).string(n);return Object.entries(e.disallowSettingModes).forEach((([e,n])=>{It.encode({key:e,value:n},t.uint32(202).fork()).ldelim()})),Object.entries(e.disallowSignals).forEach((([e,n])=>{Ot.encode({key:e,value:n},t.uint32(210).fork()).ldelim()})),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.disallowPausingReasons.push(n.string());continue;case 2:if(18!==e)break;r.disallowResumingReasons.push(n.string());continue;case 3:if(26!==e)break;r.disallowSeekingReasons.push(n.string());continue;case 4:if(34!==e)break;r.disallowPeekingPrevReasons.push(n.string());continue;case 5:if(42!==e)break;r.disallowPeekingNextReasons.push(n.string());continue;case 6:if(50!==e)break;r.disallowSkippingPrevReasons.push(n.string());continue;case 7:if(58!==e)break;r.disallowSkippingNextReasons.push(n.string());continue;case 8:if(66!==e)break;r.disallowTogglingRepeatContextReasons.push(n.string());continue;case 9:if(74!==e)break;r.disallowTogglingRepeatTrackReasons.push(n.string());continue;case 10:if(82!==e)break;r.disallowTogglingShuffleReasons.push(n.string());continue;case 11:if(90!==e)break;r.disallowSetQueueReasons.push(n.string());continue;case 12:if(98!==e)break;r.disallowInterruptingPlaybackReasons.push(n.string());continue;case 13:if(106!==e)break;r.disallowTransferringPlaybackReasons.push(n.string());continue;case 14:if(114!==e)break;r.disallowRemoteControlReasons.push(n.string());continue;case 15:if(122!==e)break;r.disallowInsertingIntoNextTracksReasons.push(n.string());continue;case 16:if(130!==e)break;r.disallowInsertingIntoContextTracksReasons.push(n.string());continue;case 17:if(138!==e)break;r.disallowReorderingInNextTracksReasons.push(n.string());continue;case 18:if(146!==e)break;r.disallowReorderingInContextTracksReasons.push(n.string());continue;case 19:if(154!==e)break;r.disallowRemovingFromNextTracksReasons.push(n.string());continue;case 20:if(162!==e)break;r.disallowRemovingFromContextTracksReasons.push(n.string());continue;case 21:if(170!==e)break;r.disallowUpdatingContextReasons.push(n.string());continue;case 22:if(178!==e)break;r.disallowAddToQueueReasons.push(n.string());continue;case 23:if(186!==e)break;r.disallowSettingPlaybackSpeedReasons.push(n.string());continue;case 25:if(202!==e)break;const t=It.decode(n,n.uint32());void 0!==t.value&&(r.disallowSettingModes[t.key]=t.value);continue;case 26:if(210!==e)break;const i=Ot.decode(n,n.uint32());void 0!==i.value&&(r.disallowSignals[i.key]=i.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({disallowPausingReasons:Array.isArray(e?.disallowPausingReasons)?e.disallowPausingReasons.map((e=>String(e))):[],disallowResumingReasons:Array.isArray(e?.disallowResumingReasons)?e.disallowResumingReasons.map((e=>String(e))):[],disallowSeekingReasons:Array.isArray(e?.disallowSeekingReasons)?e.disallowSeekingReasons.map((e=>String(e))):[],disallowPeekingPrevReasons:Array.isArray(e?.disallowPeekingPrevReasons)?e.disallowPeekingPrevReasons.map((e=>String(e))):[],disallowPeekingNextReasons:Array.isArray(e?.disallowPeekingNextReasons)?e.disallowPeekingNextReasons.map((e=>String(e))):[],disallowSkippingPrevReasons:Array.isArray(e?.disallowSkippingPrevReasons)?e.disallowSkippingPrevReasons.map((e=>String(e))):[],disallowSkippingNextReasons:Array.isArray(e?.disallowSkippingNextReasons)?e.disallowSkippingNextReasons.map((e=>String(e))):[],disallowTogglingRepeatContextReasons:Array.isArray(e?.disallowTogglingRepeatContextReasons)?e.disallowTogglingRepeatContextReasons.map((e=>String(e))):[],disallowTogglingRepeatTrackReasons:Array.isArray(e?.disallowTogglingRepeatTrackReasons)?e.disallowTogglingRepeatTrackReasons.map((e=>String(e))):[],disallowTogglingShuffleReasons:Array.isArray(e?.disallowTogglingShuffleReasons)?e.disallowTogglingShuffleReasons.map((e=>String(e))):[],disallowSetQueueReasons:Array.isArray(e?.disallowSetQueueReasons)?e.disallowSetQueueReasons.map((e=>String(e))):[],disallowInterruptingPlaybackReasons:Array.isArray(e?.disallowInterruptingPlaybackReasons)?e.disallowInterruptingPlaybackReasons.map((e=>String(e))):[],disallowTransferringPlaybackReasons:Array.isArray(e?.disallowTransferringPlaybackReasons)?e.disallowTransferringPlaybackReasons.map((e=>String(e))):[],disallowRemoteControlReasons:Array.isArray(e?.disallowRemoteControlReasons)?e.disallowRemoteControlReasons.map((e=>String(e))):[],disallowInsertingIntoNextTracksReasons:Array.isArray(e?.disallowInsertingIntoNextTracksReasons)?e.disallowInsertingIntoNextTracksReasons.map((e=>String(e))):[],disallowInsertingIntoContextTracksReasons:Array.isArray(e?.disallowInsertingIntoContextTracksReasons)?e.disallowInsertingIntoContextTracksReasons.map((e=>String(e))):[],disallowReorderingInNextTracksReasons:Array.isArray(e?.disallowReorderingInNextTracksReasons)?e.disallowReorderingInNextTracksReasons.map((e=>String(e))):[],disallowReorderingInContextTracksReasons:Array.isArray(e?.disallowReorderingInContextTracksReasons)?e.disallowReorderingInContextTracksReasons.map((e=>String(e))):[],disallowRemovingFromNextTracksReasons:Array.isArray(e?.disallowRemovingFromNextTracksReasons)?e.disallowRemovingFromNextTracksReasons.map((e=>String(e))):[],disallowRemovingFromContextTracksReasons:Array.isArray(e?.disallowRemovingFromContextTracksReasons)?e.disallowRemovingFromContextTracksReasons.map((e=>String(e))):[],disallowUpdatingContextReasons:Array.isArray(e?.disallowUpdatingContextReasons)?e.disallowUpdatingContextReasons.map((e=>String(e))):[],disallowAddToQueueReasons:Array.isArray(e?.disallowAddToQueueReasons)?e.disallowAddToQueueReasons.map((e=>String(e))):[],disallowSettingPlaybackSpeedReasons:Array.isArray(e?.disallowSettingPlaybackSpeedReasons)?e.disallowSettingPlaybackSpeedReasons.map((e=>String(e))):[],disallowSettingModes:Ct(e.disallow_setting_modes)?Object.entries(e.disallow_setting_modes).reduce(((e,[t,n])=>(e[t]=bt.fromJSON(n),e)),{}):{},disallowSignals:Ct(e.disallow_signals)?Object.entries(e.disallow_signals).reduce(((e,[t,n])=>(e[t]=Tt.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.disallowPausingReasons?.length&&(t.disallowPausingReasons=e.disallowPausingReasons),e.disallowResumingReasons?.length&&(t.disallowResumingReasons=e.disallowResumingReasons),e.disallowSeekingReasons?.length&&(t.disallowSeekingReasons=e.disallowSeekingReasons),e.disallowPeekingPrevReasons?.length&&(t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons),e.disallowPeekingNextReasons?.length&&(t.disallowPeekingNextReasons=e.disallowPeekingNextReasons),e.disallowSkippingPrevReasons?.length&&(t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons),e.disallowSkippingNextReasons?.length&&(t.disallowSkippingNextReasons=e.disallowSkippingNextReasons),e.disallowTogglingRepeatContextReasons?.length&&(t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons),e.disallowTogglingRepeatTrackReasons?.length&&(t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons),e.disallowTogglingShuffleReasons?.length&&(t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons),e.disallowSetQueueReasons?.length&&(t.disallowSetQueueReasons=e.disallowSetQueueReasons),e.disallowInterruptingPlaybackReasons?.length&&(t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons),e.disallowTransferringPlaybackReasons?.length&&(t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons),e.disallowRemoteControlReasons?.length&&(t.disallowRemoteControlReasons=e.disallowRemoteControlReasons),e.disallowInsertingIntoNextTracksReasons?.length&&(t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons),e.disallowInsertingIntoContextTracksReasons?.length&&(t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons),e.disallowReorderingInNextTracksReasons?.length&&(t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons),e.disallowReorderingInContextTracksReasons?.length&&(t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons),e.disallowRemovingFromNextTracksReasons?.length&&(t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons),e.disallowRemovingFromContextTracksReasons?.length&&(t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons),e.disallowUpdatingContextReasons?.length&&(t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons),e.disallowAddToQueueReasons?.length&&(t.disallowAddToQueueReasons=e.disallowAddToQueueReasons),e.disallowSettingPlaybackSpeedReasons?.length&&(t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons),e.disallowSettingModes){const n=Object.entries(e.disallowSettingModes);n.length>0&&(t.disallow_setting_modes={},n.forEach((([e,n])=>{t.disallow_setting_modes[e]=bt.toJSON(n)})))}if(e.disallowSignals){const n=Object.entries(e.disallowSignals);n.length>0&&(t.disallow_signals={},n.forEach((([e,n])=>{t.disallow_signals[e]=Tt.toJSON(n)})))}return t},create:e=>At.fromPartial(e??{}),fromPartial(e){const t={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};return t.disallowPausingReasons=e.disallowPausingReasons?.map((e=>e))||[],t.disallowResumingReasons=e.disallowResumingReasons?.map((e=>e))||[],t.disallowSeekingReasons=e.disallowSeekingReasons?.map((e=>e))||[],t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons?.map((e=>e))||[],t.disallowPeekingNextReasons=e.disallowPeekingNextReasons?.map((e=>e))||[],t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons?.map((e=>e))||[],t.disallowSkippingNextReasons=e.disallowSkippingNextReasons?.map((e=>e))||[],t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons?.map((e=>e))||[],t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons?.map((e=>e))||[],t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons?.map((e=>e))||[],t.disallowSetQueueReasons=e.disallowSetQueueReasons?.map((e=>e))||[],t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons?.map((e=>e))||[],t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons?.map((e=>e))||[],t.disallowRemoteControlReasons=e.disallowRemoteControlReasons?.map((e=>e))||[],t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons?.map((e=>e))||[],t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons?.map((e=>e))||[],t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons?.map((e=>e))||[],t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons?.map((e=>e))||[],t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons?.map((e=>e))||[],t.disallowAddToQueueReasons=e.disallowAddToQueueReasons?.map((e=>e))||[],t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons?.map((e=>e))||[],t.disallowSettingModes=Object.entries(e.disallowSettingModes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=bt.fromPartial(n)),e)),{}),t.disallowSignals=Object.entries(e.disallowSignals??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=Tt.fromPartial(n)),e)),{}),t}};const It={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&bt.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=bt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Rt(e.key)?String(e.key):"",value:Rt(e.value)?bt.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=bt.toJSON(e.value)),t},create:e=>It.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?bt.fromPartial(e.value):void 0,t}};const Ot={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&Tt.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=Tt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Rt(e.key)?String(e.key):"",value:Rt(e.value)?Tt.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=Tt.toJSON(e.value)),t},create:e=>Ot.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?Tt.fromPartial(e.value):void 0,t}};function Ct(e){return"object"==typeof e&&null!==e}function Rt(e){return null!=e}const Nt={encode(e,t=i.Writer.create()){for(const n of e.pages)Et.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{Pt.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.uri&&t.uint32(26).string(e.uri),""!==e.url&&t.uint32(34).string(e.url),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),void 0!==e.restrictions&&At.encode(e.restrictions,t.uint32(50).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pages.push(Et.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=Pt.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;r.uri=n.string();continue;case 4:if(34!==e)break;r.url=n.string();continue;case 5:if(40!==e)break;r.isLoading=n.bool();continue;case 6:if(50!==e)break;r.restrictions=At.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{pages:Array.isArray(e?.pages)?e.pages.map((e=>Et.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),uri:Lt(e.uri)?String(e.uri):"",url:Lt(e.url)?String(e.url):"",isLoading:!!Lt(e.isLoading)&&Boolean(e.isLoading),restrictions:Lt(e.restrictions)?At.fromJSON(e.restrictions):void 0};var t},toJSON(e){const t={};if(e.pages?.length&&(t.pages=e.pages.map((e=>Et.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.uri&&(t.uri=e.uri),""!==e.url&&(t.url=e.url),!0===e.isLoading&&(t.isLoading=e.isLoading),void 0!==e.restrictions&&(t.restrictions=At.toJSON(e.restrictions)),t},create:e=>Nt.fromPartial(e??{}),fromPartial(e){const t={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};return t.pages=e.pages?.map((e=>Et.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.uri=e.uri??"",t.url=e.url??"",t.isLoading=e.isLoading??!1,t.restrictions=void 0!==e.restrictions&&null!==e.restrictions?At.fromPartial(e.restrictions):void 0,t}};const Pt={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Lt(e.key)?String(e.key):"",value:Lt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Pt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function Lt(e){return null!=e}function kt(){return{value:BigInt("0")}}const wt={encode:(e,t=i.Writer.create())=>(e.value!==BigInt("0")&&t.uint32(8).int64(e.value.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=kt();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=(a=n.int64(),BigInt(a.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({value:Mt(e.value)?BigInt(e.value):BigInt("0")}),toJSON(e){const t={};return e.value!==BigInt("0")&&(t.value=e.value.toString()),t},create:e=>wt.fromPartial(e??{}),fromPartial(e){const t=kt();return t.value=e.value??BigInt("0"),t}};const Dt={encode:(e,t=i.Writer.create())=>(!0===e.value&&t.uint32(8).bool(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={value:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:!!Mt(e.value)&&Boolean(e.value)}),toJSON(e){const t={};return!0===e.value&&(t.value=e.value),t},create:e=>Dt.fromPartial(e??{}),fromPartial(e){const t={value:!1};return t.value=e.value??!1,t}};function Mt(e){return null!=e}i.util.Long!==te&&(i.util.Long=te,i.configure());const xt={encode(e,t=i.Writer.create()){void 0!==e.commandInitiatedTime&&wt.encode(e.commandInitiatedTime,t.uint32(10).fork()).ldelim(),void 0!==e.commandReceivedTime&&wt.encode(e.commandReceivedTime,t.uint32(18).fork()).ldelim();for(const n of e.pageInstanceIds)t.uint32(26).string(n);for(const n of e.interactionIds)t.uint32(34).string(n);return""!==e.deviceIdentifier&&t.uint32(42).string(e.deviceIdentifier),void 0!==e.commandId&&t.uint32(50).string(e.commandId),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.commandInitiatedTime=wt.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.commandReceivedTime=wt.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.pageInstanceIds.push(n.string());continue;case 4:if(34!==e)break;r.interactionIds.push(n.string());continue;case 5:if(42!==e)break;r.deviceIdentifier=n.string();continue;case 6:if(50!==e)break;r.commandId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({commandInitiatedTime:Ut(e.commandInitiatedTime)?wt.fromJSON(e.commandInitiatedTime):void 0,commandReceivedTime:Ut(e.commandReceivedTime)?wt.fromJSON(e.commandReceivedTime):void 0,pageInstanceIds:Array.isArray(e?.pageInstanceIds)?e.pageInstanceIds.map((e=>String(e))):[],interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[],deviceIdentifier:Ut(e.deviceIdentifier)?String(e.deviceIdentifier):"",commandId:Ut(e.commandId)?String(e.commandId):void 0}),toJSON(e){const t={};return void 0!==e.commandInitiatedTime&&(t.commandInitiatedTime=wt.toJSON(e.commandInitiatedTime)),void 0!==e.commandReceivedTime&&(t.commandReceivedTime=wt.toJSON(e.commandReceivedTime)),e.pageInstanceIds?.length&&(t.pageInstanceIds=e.pageInstanceIds),e.interactionIds?.length&&(t.interactionIds=e.interactionIds),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),void 0!==e.commandId&&(t.commandId=e.commandId),t},create:e=>xt.fromPartial(e??{}),fromPartial(e){const t={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};return t.commandInitiatedTime=void 0!==e.commandInitiatedTime&&null!==e.commandInitiatedTime?wt.fromPartial(e.commandInitiatedTime):void 0,t.commandReceivedTime=void 0!==e.commandReceivedTime&&null!==e.commandReceivedTime?wt.fromPartial(e.commandReceivedTime):void 0,t.pageInstanceIds=e.pageInstanceIds?.map((e=>e))||[],t.interactionIds=e.interactionIds?.map((e=>e))||[],t.deviceIdentifier=e.deviceIdentifier??"",t.commandId=e.commandId??void 0,t}};function Ut(e){return null!=e}var Vt,Ft,Bt;function Ht(e){switch(e){case 0:case"INTERACTIVE":return Vt.INTERACTIVE;case 1:case"REMOTE_TRANSFER":return Vt.REMOTE_TRANSFER;case 2:case"LICENSE_CHANGE":return Vt.LICENSE_CHANGE;default:return Vt.UNRECOGNIZED}}function Gt(e){switch(e){case 0:case"REPLACE":return Ft.REPLACE;case 1:case"ENQUEUE":return Ft.ENQUEUE;case 2:case"PUSH":return Ft.PUSH;default:return Ft.UNRECOGNIZED}}function Wt(e){switch(e){case 0:case"IMMEDIATELY":return Bt.IMMEDIATELY;case 1:case"ADVANCED_PAST_TRACK":return Bt.ADVANCED_PAST_TRACK;case 2:case"ADVANCED_PAST_CONTEXT":return Bt.ADVANCED_PAST_CONTEXT;default:return Bt.UNRECOGNIZED}}!function(e){e[e.INTERACTIVE=0]="INTERACTIVE",e[e.REMOTE_TRANSFER=1]="REMOTE_TRANSFER",e[e.LICENSE_CHANGE=2]="LICENSE_CHANGE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Vt||(Vt={})),function(e){e[e.REPLACE=0]="REPLACE",e[e.ENQUEUE=1]="ENQUEUE",e[e.PUSH=2]="PUSH",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ft||(Ft={})),function(e){e[e.IMMEDIATELY=0]="IMMEDIATELY",e[e.ADVANCED_PAST_TRACK=1]="ADVANCED_PAST_TRACK",e[e.ADVANCED_PAST_CONTEXT=2]="ADVANCED_PAST_CONTEXT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Bt||(Bt={}));const jt={encode:(e,t=i.Writer.create())=>(0!==e.reason&&t.uint32(8).int32(e.reason),0!==e.operation&&t.uint32(16).int32(e.operation),0!==e.trigger&&t.uint32(24).int32(e.trigger),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={reason:0,operation:0,trigger:0,playbackSpeed:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.reason=n.int32();continue;case 2:if(16!==e)break;r.operation=n.int32();continue;case 3:if(24!==e)break;r.trigger=n.int32();continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reason:Yt(e.reason)?Ht(e.reason):0,operation:Yt(e.operation)?Gt(e.operation):0,trigger:Yt(e.trigger)?Wt(e.trigger):0,playbackSpeed:Yt(e.playbackSpeed)?Number(e.playbackSpeed):void 0}),toJSON(e){const t={};return 0!==e.reason&&(t.reason=function(e){switch(e){case Vt.INTERACTIVE:return"INTERACTIVE";case Vt.REMOTE_TRANSFER:return"REMOTE_TRANSFER";case Vt.LICENSE_CHANGE:return"LICENSE_CHANGE";case Vt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.reason)),0!==e.operation&&(t.operation=function(e){switch(e){case Ft.REPLACE:return"REPLACE";case Ft.ENQUEUE:return"ENQUEUE";case Ft.PUSH:return"PUSH";case Ft.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.operation)),0!==e.trigger&&(t.trigger=function(e){switch(e){case Bt.IMMEDIATELY:return"IMMEDIATELY";case Bt.ADVANCED_PAST_TRACK:return"ADVANCED_PAST_TRACK";case Bt.ADVANCED_PAST_CONTEXT:return"ADVANCED_PAST_CONTEXT";case Bt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.trigger)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),t},create:e=>jt.fromPartial(e??{}),fromPartial(e){const t={reason:0,operation:0,trigger:0,playbackSpeed:void 0};return t.reason=e.reason??0,t.operation=e.operation??0,t.trigger=e.trigger??0,t.playbackSpeed=e.playbackSpeed??void 0,t}};function Yt(e){return null!=e}const zt={encode(e,t=i.Writer.create()){""!==e.featureIdentifier&&t.uint32(10).string(e.featureIdentifier),""!==e.featureVersion&&t.uint32(18).string(e.featureVersion),""!==e.viewUri&&t.uint32(26).string(e.viewUri),""!==e.externalReferrer&&t.uint32(34).string(e.externalReferrer),""!==e.referrerIdentifier&&t.uint32(42).string(e.referrerIdentifier),""!==e.deviceIdentifier&&t.uint32(50).string(e.deviceIdentifier);for(const n of e.featureClasses)t.uint32(58).string(n);return""!==e.restrictionIdentifier&&t.uint32(66).string(e.restrictionIdentifier),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.featureIdentifier=n.string();continue;case 2:if(18!==e)break;r.featureVersion=n.string();continue;case 3:if(26!==e)break;r.viewUri=n.string();continue;case 4:if(34!==e)break;r.externalReferrer=n.string();continue;case 5:if(42!==e)break;r.referrerIdentifier=n.string();continue;case 6:if(50!==e)break;r.deviceIdentifier=n.string();continue;case 7:if(58!==e)break;r.featureClasses.push(n.string());continue;case 8:if(66!==e)break;r.restrictionIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({featureIdentifier:Kt(e.featureIdentifier)?String(e.featureIdentifier):"",featureVersion:Kt(e.featureVersion)?String(e.featureVersion):"",viewUri:Kt(e.viewUri)?String(e.viewUri):"",externalReferrer:Kt(e.externalReferrer)?String(e.externalReferrer):"",referrerIdentifier:Kt(e.referrerIdentifier)?String(e.referrerIdentifier):"",deviceIdentifier:Kt(e.deviceIdentifier)?String(e.deviceIdentifier):"",featureClasses:Array.isArray(e?.featureClasses)?e.featureClasses.map((e=>String(e))):[],restrictionIdentifier:Kt(e.restrictionIdentifier)?String(e.restrictionIdentifier):""}),toJSON(e){const t={};return""!==e.featureIdentifier&&(t.featureIdentifier=e.featureIdentifier),""!==e.featureVersion&&(t.featureVersion=e.featureVersion),""!==e.viewUri&&(t.viewUri=e.viewUri),""!==e.externalReferrer&&(t.externalReferrer=e.externalReferrer),""!==e.referrerIdentifier&&(t.referrerIdentifier=e.referrerIdentifier),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),e.featureClasses?.length&&(t.featureClasses=e.featureClasses),""!==e.restrictionIdentifier&&(t.restrictionIdentifier=e.restrictionIdentifier),t},create:e=>zt.fromPartial(e??{}),fromPartial(e){const t={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};return t.featureIdentifier=e.featureIdentifier??"",t.featureVersion=e.featureVersion??"",t.viewUri=e.viewUri??"",t.externalReferrer=e.externalReferrer??"",t.referrerIdentifier=e.referrerIdentifier??"",t.deviceIdentifier=e.deviceIdentifier??"",t.featureClasses=e.featureClasses?.map((e=>e))||[],t.restrictionIdentifier=e.restrictionIdentifier??"",t}};function Kt(e){return null!=e}const Jt={encode:(e,t=i.Writer.create())=>(void 0!==e.shufflingContext&&Dt.encode(e.shufflingContext,t.uint32(10).fork()).ldelim(),void 0!==e.repeatingContext&&Dt.encode(e.repeatingContext,t.uint32(18).fork()).ldelim(),void 0!==e.repeatingTrack&&Dt.encode(e.repeatingTrack,t.uint32(26).fork()).ldelim(),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),Object.entries(e.modes).forEach((([e,n])=>{qt.encode({key:e,value:n},t.uint32(42).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.shufflingContext=Dt.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.repeatingContext=Dt.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.repeatingTrack=Dt.decode(n,n.uint32());continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue;case 5:if(42!==e)break;const t=qt.decode(n,n.uint32());void 0!==t.value&&(r.modes[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shufflingContext:$t(e.shufflingContext)?Dt.fromJSON(e.shufflingContext):void 0,repeatingContext:$t(e.repeatingContext)?Dt.fromJSON(e.repeatingContext):void 0,repeatingTrack:$t(e.repeatingTrack)?Dt.fromJSON(e.repeatingTrack):void 0,playbackSpeed:$t(e.playbackSpeed)?Number(e.playbackSpeed):void 0,modes:Xt(e.modes)?Object.entries(e.modes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(void 0!==e.shufflingContext&&(t.shufflingContext=Dt.toJSON(e.shufflingContext)),void 0!==e.repeatingContext&&(t.repeatingContext=Dt.toJSON(e.repeatingContext)),void 0!==e.repeatingTrack&&(t.repeatingTrack=Dt.toJSON(e.repeatingTrack)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),e.modes){const n=Object.entries(e.modes);n.length>0&&(t.modes={},n.forEach((([e,n])=>{t.modes[e]=n})))}return t},create:e=>Jt.fromPartial(e??{}),fromPartial(e){const t={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};return t.shufflingContext=void 0!==e.shufflingContext&&null!==e.shufflingContext?Dt.fromPartial(e.shufflingContext):void 0,t.repeatingContext=void 0!==e.repeatingContext&&null!==e.repeatingContext?Dt.fromPartial(e.repeatingContext):void 0,t.repeatingTrack=void 0!==e.repeatingTrack&&null!==e.repeatingTrack?Dt.fromPartial(e.repeatingTrack):void 0,t.playbackSpeed=e.playbackSpeed??void 0,t.modes=Object.entries(e.modes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const qt={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:$t(e.key)?String(e.key):"",value:$t(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>qt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function Xt(e){return"object"==typeof e&&null!==e}function $t(e){return null!=e}const Zt={encode:(e,t=i.Writer.create())=>(""!==e.pageUrl&&t.uint32(10).string(e.pageUrl),void 0!==e.pageIndex&&wt.encode(e.pageIndex,t.uint32(18).fork()).ldelim(),""!==e.trackUid&&t.uint32(26).string(e.trackUid),""!==e.trackUri&&t.uint32(34).string(e.trackUri),void 0!==e.trackIndex&&wt.encode(e.trackIndex,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pageUrl=n.string();continue;case 2:if(18!==e)break;r.pageIndex=wt.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackUid=n.string();continue;case 4:if(34!==e)break;r.trackUri=n.string();continue;case 5:if(42!==e)break;r.trackIndex=wt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pageUrl:Qt(e.pageUrl)?String(e.pageUrl):"",pageIndex:Qt(e.pageIndex)?wt.fromJSON(e.pageIndex):void 0,trackUid:Qt(e.trackUid)?String(e.trackUid):"",trackUri:Qt(e.trackUri)?String(e.trackUri):"",trackIndex:Qt(e.trackIndex)?wt.fromJSON(e.trackIndex):void 0}),toJSON(e){const t={};return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),void 0!==e.pageIndex&&(t.pageIndex=wt.toJSON(e.pageIndex)),""!==e.trackUid&&(t.trackUid=e.trackUid),""!==e.trackUri&&(t.trackUri=e.trackUri),void 0!==e.trackIndex&&(t.trackIndex=wt.toJSON(e.trackIndex)),t},create:e=>Zt.fromPartial(e??{}),fromPartial(e){const t={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};return t.pageUrl=e.pageUrl??"",t.pageIndex=void 0!==e.pageIndex&&null!==e.pageIndex?wt.fromPartial(e.pageIndex):void 0,t.trackUid=e.trackUid??"",t.trackUri=e.trackUri??"",t.trackIndex=void 0!==e.trackIndex&&null!==e.trackIndex?wt.fromPartial(e.trackIndex):void 0,t}};function Qt(e){return null!=e}var en,tn;function nn(e){switch(e){case 0:case"NONE":return en.NONE;case 1:case"MEDIA":return en.MEDIA;default:return en.UNRECOGNIZED}}function on(e){switch(e){case 0:case"DEFAULT":return tn.DEFAULT;case 1:case"ALARM":return tn.ALARM;default:return tn.UNRECOGNIZED}}function rn(){return{playbackId:new Uint8Array(0),alwaysPlaySomething:!1,skipTo:void 0,seekTo:void 0,initiallyPaused:!1,systemInitiated:!1,playerOptionsOverride:void 0,suppressions:[],prefetchLevel:0,audioStream:0,sessionId:"",license:"",configurationOverride:{}}}!function(e){e[e.NONE=0]="NONE",e[e.MEDIA=1]="MEDIA",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(en||(en={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ALARM=1]="ALARM",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(tn||(tn={}));const an={encode(e,t=i.Writer.create()){0!==e.playbackId.length&&t.uint32(10).bytes(e.playbackId),!0===e.alwaysPlaySomething&&t.uint32(16).bool(e.alwaysPlaySomething),void 0!==e.skipTo&&Zt.encode(e.skipTo,t.uint32(26).fork()).ldelim(),void 0!==e.seekTo&&wt.encode(e.seekTo,t.uint32(34).fork()).ldelim(),!0===e.initiallyPaused&&t.uint32(40).bool(e.initiallyPaused),!0===e.systemInitiated&&t.uint32(48).bool(e.systemInitiated),void 0!==e.playerOptionsOverride&&Jt.encode(e.playerOptionsOverride,t.uint32(58).fork()).ldelim();for(const n of e.suppressions)t.uint32(66).string(n);return 0!==e.prefetchLevel&&t.uint32(72).int32(e.prefetchLevel),0!==e.audioStream&&t.uint32(80).int32(e.audioStream),""!==e.sessionId&&t.uint32(90).string(e.sessionId),""!==e.license&&t.uint32(98).string(e.license),Object.entries(e.configurationOverride).forEach((([e,n])=>{sn.encode({key:e,value:n},t.uint32(106).fork()).ldelim()})),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=rn();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playbackId=n.bytes();continue;case 2:if(16!==e)break;r.alwaysPlaySomething=n.bool();continue;case 3:if(26!==e)break;r.skipTo=Zt.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.seekTo=wt.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.initiallyPaused=n.bool();continue;case 6:if(48!==e)break;r.systemInitiated=n.bool();continue;case 7:if(58!==e)break;r.playerOptionsOverride=Jt.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.suppressions.push(n.string());continue;case 9:if(72!==e)break;r.prefetchLevel=n.int32();continue;case 10:if(80!==e)break;r.audioStream=n.int32();continue;case 11:if(90!==e)break;r.sessionId=n.string();continue;case 12:if(98!==e)break;r.license=n.string();continue;case 13:if(106!==e)break;const t=sn.decode(n,n.uint32());void 0!==t.value&&(r.configurationOverride[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{playbackId:un(e.playbackId)?ln(e.playbackId):new Uint8Array(0),alwaysPlaySomething:!!un(e.alwaysPlaySomething)&&Boolean(e.alwaysPlaySomething),skipTo:un(e.skipTo)?Zt.fromJSON(e.skipTo):void 0,seekTo:un(e.seekTo)?wt.fromJSON(e.seekTo):void 0,initiallyPaused:!!un(e.initiallyPaused)&&Boolean(e.initiallyPaused),systemInitiated:!!un(e.systemInitiated)&&Boolean(e.systemInitiated),playerOptionsOverride:un(e.playerOptionsOverride)?Jt.fromJSON(e.playerOptionsOverride):void 0,suppressions:Array.isArray(e?.suppressions)?e.suppressions.map((e=>String(e))):[],prefetchLevel:un(e.prefetchLevel)?nn(e.prefetchLevel):0,audioStream:un(e.audioStream)?on(e.audioStream):0,sessionId:un(e.sessionId)?String(e.sessionId):"",license:un(e.license)?String(e.license):"",configurationOverride:(t=e.configurationOverride,"object"==typeof t&&null!==t?Object.entries(e.configurationOverride).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(0!==e.playbackId.length&&(t.playbackId=function(e){if(cn.Buffer)return cn.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),cn.btoa(t.join(""))}}(e.playbackId)),!0===e.alwaysPlaySomething&&(t.alwaysPlaySomething=e.alwaysPlaySomething),void 0!==e.skipTo&&(t.skipTo=Zt.toJSON(e.skipTo)),void 0!==e.seekTo&&(t.seekTo=wt.toJSON(e.seekTo)),!0===e.initiallyPaused&&(t.initiallyPaused=e.initiallyPaused),!0===e.systemInitiated&&(t.systemInitiated=e.systemInitiated),void 0!==e.playerOptionsOverride&&(t.playerOptionsOverride=Jt.toJSON(e.playerOptionsOverride)),e.suppressions?.length&&(t.suppressions=e.suppressions),0!==e.prefetchLevel&&(t.prefetchLevel=function(e){switch(e){case en.NONE:return"NONE";case en.MEDIA:return"MEDIA";case en.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.prefetchLevel)),0!==e.audioStream&&(t.audioStream=function(e){switch(e){case tn.DEFAULT:return"DEFAULT";case tn.ALARM:return"ALARM";case tn.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.audioStream)),""!==e.sessionId&&(t.sessionId=e.sessionId),""!==e.license&&(t.license=e.license),e.configurationOverride){const n=Object.entries(e.configurationOverride);n.length>0&&(t.configurationOverride={},n.forEach((([e,n])=>{t.configurationOverride[e]=n})))}return t},create:e=>an.fromPartial(e??{}),fromPartial(e){const t=rn();return t.playbackId=e.playbackId??new Uint8Array(0),t.alwaysPlaySomething=e.alwaysPlaySomething??!1,t.skipTo=void 0!==e.skipTo&&null!==e.skipTo?Zt.fromPartial(e.skipTo):void 0,t.seekTo=void 0!==e.seekTo&&null!==e.seekTo?wt.fromPartial(e.seekTo):void 0,t.initiallyPaused=e.initiallyPaused??!1,t.systemInitiated=e.systemInitiated??!1,t.playerOptionsOverride=void 0!==e.playerOptionsOverride&&null!==e.playerOptionsOverride?Jt.fromPartial(e.playerOptionsOverride):void 0,t.suppressions=e.suppressions?.map((e=>e))||[],t.prefetchLevel=e.prefetchLevel??0,t.audioStream=e.audioStream??0,t.sessionId=e.sessionId??"",t.license=e.license??"",t.configurationOverride=Object.entries(e.configurationOverride??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const sn={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:un(e.key)?String(e.key):"",value:un(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>sn.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}},cn=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function ln(e){if(cn.Buffer)return Uint8Array.from(cn.Buffer.from(e,"base64"));{const t=cn.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function un(e){return null!=e}const dn={encode:(e,t=i.Writer.create())=>(""!==e.sort&&t.uint32(10).string(e.sort),""!==e.filter&&t.uint32(18).string(e.filter),void 0!==e.context&&Nt.encode(e.context,t.uint32(34).fork()).ldelim(),void 0!==e.playOptions&&jt.encode(e.playOptions,t.uint32(42).fork()).ldelim(),void 0!==e.loggingParams&&xt.encode(e.loggingParams,t.uint32(50).fork()).ldelim(),void 0!==e.preparePlayOptions&&an.encode(e.preparePlayOptions,t.uint32(58).fork()).ldelim(),void 0!==e.playOrigin&&zt.encode(e.playOrigin,t.uint32(66).fork()).ldelim(),""!==e.id&&t.uint32(74).string(e.id),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sort:"",filter:"",context:void 0,playOptions:void 0,loggingParams:void 0,preparePlayOptions:void 0,playOrigin:void 0,id:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sort=n.string();continue;case 2:if(18!==e)break;r.filter=n.string();continue;case 4:if(34!==e)break;r.context=Nt.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.playOptions=jt.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.loggingParams=xt.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.preparePlayOptions=an.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.playOrigin=zt.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.id=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sort:hn(e.sort)?String(e.sort):"",filter:hn(e.filter)?String(e.filter):"",context:hn(e.context)?Nt.fromJSON(e.context):void 0,playOptions:hn(e.playOptions)?jt.fromJSON(e.playOptions):void 0,loggingParams:hn(e.loggingParams)?xt.fromJSON(e.loggingParams):void 0,preparePlayOptions:hn(e.preparePlayOptions)?an.fromJSON(e.preparePlayOptions):void 0,playOrigin:hn(e.playOrigin)?zt.fromJSON(e.playOrigin):void 0,id:hn(e.id)?String(e.id):""}),toJSON(e){const t={};return""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),void 0!==e.context&&(t.context=Nt.toJSON(e.context)),void 0!==e.playOptions&&(t.playOptions=jt.toJSON(e.playOptions)),void 0!==e.loggingParams&&(t.loggingParams=xt.toJSON(e.loggingParams)),void 0!==e.preparePlayOptions&&(t.preparePlayOptions=an.toJSON(e.preparePlayOptions)),void 0!==e.playOrigin&&(t.playOrigin=zt.toJSON(e.playOrigin)),""!==e.id&&(t.id=e.id),t},create:e=>dn.fromPartial(e??{}),fromPartial(e){const t={sort:"",filter:"",context:void 0,playOptions:void 0,loggingParams:void 0,preparePlayOptions:void 0,playOrigin:void 0,id:""};return t.sort=e.sort??"",t.filter=e.filter??"",t.context=void 0!==e.context&&null!==e.context?Nt.fromPartial(e.context):void 0,t.playOptions=void 0!==e.playOptions&&null!==e.playOptions?jt.fromPartial(e.playOptions):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?xt.fromPartial(e.loggingParams):void 0,t.preparePlayOptions=void 0!==e.preparePlayOptions&&null!==e.preparePlayOptions?an.fromPartial(e.preparePlayOptions):void 0,t.playOrigin=void 0!==e.playOrigin&&null!==e.playOrigin?zt.fromPartial(e.playOrigin):void 0,t.id=e.id??"",t}};const pn={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:hn(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>pn.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};function hn(e){return null!=e}const fn={encode:(e,t=i.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),""!==e.sort&&t.uint32(18).string(e.sort),""!==e.filter&&t.uint32(26).string(e.filter),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:"",sort:"",filter:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.id=n.string();continue;case 2:if(18!==e)break;r.sort=n.string();continue;case 3:if(26!==e)break;r.filter=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:En(e.id)?String(e.id):"",sort:En(e.sort)?String(e.sort):"",filter:En(e.filter)?String(e.filter):""}),toJSON(e){const t={};return""!==e.id&&(t.id=e.id),""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),t},create:e=>fn.fromPartial(e??{}),fromPartial(e){const t={id:"",sort:"",filter:""};return t.id=e.id??"",t.sort=e.sort??"",t.filter=e.filter??"",t}};const mn={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:En(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>mn.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};const _n={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>_n.fromPartial(e??{}),fromPartial:e=>({})};const gn={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),!0===e.offline&&t.uint32(16).bool(e.offline),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,offline:!1};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(16!==e)break;a.offline=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:En(e.status)?o.fromJSON(e.status):void 0,offline:!!En(e.offline)&&Boolean(e.offline)}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),!0===e.offline&&(t.offline=e.offline),t},create:e=>gn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,offline:!1};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.offline=e.offline??!1,t}};function En(e){return null!=e}const vn={encode(e,t=i.Writer.create()){for(const n of e.uri)t.uint32(10).string(n);return""!==e.contextUri&&t.uint32(18).string(e.contextUri),0!==e.updateThrottling&&t.uint32(24).uint32(e.updateThrottling),void 0!==e.artistPolicy&&w.encode(e.artistPolicy,t.uint32(34).fork()).ldelim(),void 0!==e.albumPolicy&&D.encode(e.albumPolicy,t.uint32(42).fork()).ldelim(),void 0!==e.trackPolicy&&M.encode(e.trackPolicy,t.uint32(50).fork()).ldelim(),void 0!==e.showPolicy&&x.encode(e.showPolicy,t.uint32(58).fork()).ldelim(),void 0!==e.episodePolicy&&U.encode(e.episodePolicy,t.uint32(66).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:[],contextUri:"",updateThrottling:0,artistPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0,showPolicy:void 0,episodePolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri.push(n.string());continue;case 2:if(18!==e)break;r.contextUri=n.string();continue;case 3:if(24!==e)break;r.updateThrottling=n.uint32();continue;case 4:if(34!==e)break;r.artistPolicy=w.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.albumPolicy=D.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.trackPolicy=M.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.showPolicy=x.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.episodePolicy=U.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[],contextUri:bn(e.contextUri)?String(e.contextUri):"",updateThrottling:bn(e.updateThrottling)?Number(e.updateThrottling):0,artistPolicy:bn(e.artistPolicy)?w.fromJSON(e.artistPolicy):void 0,albumPolicy:bn(e.albumPolicy)?D.fromJSON(e.albumPolicy):void 0,trackPolicy:bn(e.trackPolicy)?M.fromJSON(e.trackPolicy):void 0,showPolicy:bn(e.showPolicy)?x.fromJSON(e.showPolicy):void 0,episodePolicy:bn(e.episodePolicy)?U.fromJSON(e.episodePolicy):void 0}),toJSON(e){const t={};return e.uri?.length&&(t.uri=e.uri),""!==e.contextUri&&(t.contextUri=e.contextUri),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),void 0!==e.artistPolicy&&(t.artistPolicy=w.toJSON(e.artistPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=D.toJSON(e.albumPolicy)),void 0!==e.trackPolicy&&(t.trackPolicy=M.toJSON(e.trackPolicy)),void 0!==e.showPolicy&&(t.showPolicy=x.toJSON(e.showPolicy)),void 0!==e.episodePolicy&&(t.episodePolicy=U.toJSON(e.episodePolicy)),t},create:e=>vn.fromPartial(e??{}),fromPartial(e){const t={uri:[],contextUri:"",updateThrottling:0,artistPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0,showPolicy:void 0,episodePolicy:void 0};return t.uri=e.uri?.map((e=>e))||[],t.contextUri=e.contextUri??"",t.updateThrottling=e.updateThrottling??0,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?w.fromPartial(e.artistPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?D.fromPartial(e.albumPolicy):void 0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?M.fromPartial(e.trackPolicy):void 0,t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?x.fromPartial(e.showPolicy):void 0,t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?U.fromPartial(e.episodePolicy):void 0,t}};const yn={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.show)ze.encode(n,t.uint32(18).fork()).ldelim();for(const n of e.episode)Ke.encode(n,t.uint32(26).fork()).ldelim();for(const n of e.album)je.encode(n,t.uint32(34).fork()).ldelim();for(const n of e.artist)Ye.encode(n,t.uint32(42).fork()).ldelim();for(const n of e.track)We.encode(n,t.uint32(50).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,show:[],episode:[],album:[],artist:[],track:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.show.push(ze.decode(n,n.uint32()));continue;case 3:if(26!==e)break;a.episode.push(Ke.decode(n,n.uint32()));continue;case 4:if(34!==e)break;a.album.push(je.decode(n,n.uint32()));continue;case 5:if(42!==e)break;a.artist.push(Ye.decode(n,n.uint32()));continue;case 6:if(50!==e)break;a.track.push(We.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:bn(e.status)?o.fromJSON(e.status):void 0,show:Array.isArray(e?.show)?e.show.map((e=>ze.fromJSON(e))):[],episode:Array.isArray(e?.episode)?e.episode.map((e=>Ke.fromJSON(e))):[],album:Array.isArray(e?.album)?e.album.map((e=>je.fromJSON(e))):[],artist:Array.isArray(e?.artist)?e.artist.map((e=>Ye.fromJSON(e))):[],track:Array.isArray(e?.track)?e.track.map((e=>We.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.show?.length&&(t.show=e.show.map((e=>ze.toJSON(e)))),e.episode?.length&&(t.episode=e.episode.map((e=>Ke.toJSON(e)))),e.album?.length&&(t.album=e.album.map((e=>je.toJSON(e)))),e.artist?.length&&(t.artist=e.artist.map((e=>Ye.toJSON(e)))),e.track?.length&&(t.track=e.track.map((e=>We.toJSON(e)))),t},create:e=>yn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,show:[],episode:[],album:[],artist:[],track:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.show=e.show?.map((e=>ze.fromPartial(e)))||[],t.episode=e.episode?.map((e=>Ke.fromPartial(e)))||[],t.album=e.album?.map((e=>je.fromPartial(e)))||[],t.artist=e.artist?.map((e=>Ye.fromPartial(e)))||[],t.track=e.track?.map((e=>We.fromPartial(e)))||[],t}};function bn(e){return null!=e}const Sn={encode(e,t=i.Writer.create()){0!==e.updateThrottling&&t.uint32(8).uint32(e.updateThrottling);for(const n of e.uri)t.uint32(18).string(n);return""!==e.contextUri&&t.uint32(26).string(e.contextUri),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={updateThrottling:0,uri:[],contextUri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.updateThrottling=n.uint32();continue;case 2:if(18!==e)break;r.uri.push(n.string());continue;case 3:if(26!==e)break;r.contextUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({updateThrottling:An(e.updateThrottling)?Number(e.updateThrottling):0,uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[],contextUri:An(e.contextUri)?String(e.contextUri):""}),toJSON(e){const t={};return 0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),e.uri?.length&&(t.uri=e.uri),""!==e.contextUri&&(t.contextUri=e.contextUri),t},create:e=>Sn.fromPartial(e??{}),fromPartial(e){const t={updateThrottling:0,uri:[],contextUri:""};return t.updateThrottling=e.updateThrottling??0,t.uri=e.uri?.map((e=>e))||[],t.contextUri=e.contextUri??"",t}};const Tn={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t.uint32(18).fork();for(const n of e.found)t.bool(n);t.ldelim(),t.uint32(26).fork();for(const n of e.banFound)t.bool(n);return t.ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,found:[],banFound:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(16===e){a.found.push(n.bool());continue}if(18===e){const e=n.uint32()+n.pos;for(;n.pos<e;)a.found.push(n.bool());continue}break;case 3:if(24===e){a.banFound.push(n.bool());continue}if(26===e){const e=n.uint32()+n.pos;for(;n.pos<e;)a.banFound.push(n.bool());continue}}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:An(e.status)?o.fromJSON(e.status):void 0,found:Array.isArray(e?.found)?e.found.map((e=>Boolean(e))):[],banFound:Array.isArray(e?.banFound)?e.banFound.map((e=>Boolean(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.found?.length&&(t.found=e.found),e.banFound?.length&&(t.banFound=e.banFound),t},create:e=>Tn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,found:[],banFound:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.found=e.found?.map((e=>e))||[],t.banFound=e.banFound?.map((e=>e))||[],t}};function An(e){return null!=e}n(98263);const In={encode:(e,t=i.Writer.create())=>(0!==e.start&&t.uint32(8).uint32(e.start),0!==e.length&&t.uint32(16).uint32(e.length),""!==e.sort&&t.uint32(26).string(e.sort),""!==e.filter&&t.uint32(34).string(e.filter),!0===e.group&&t.uint32(40).bool(e.group),0!==e.updateThrottling&&t.uint32(48).uint32(e.updateThrottling),void 0!==e.episodePolicy&&U.encode(e.episodePolicy,t.uint32(58).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={start:0,length:0,sort:"",filter:"",group:!1,updateThrottling:0,episodePolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.start=n.uint32();continue;case 2:if(16!==e)break;r.length=n.uint32();continue;case 3:if(26!==e)break;r.sort=n.string();continue;case 4:if(34!==e)break;r.filter=n.string();continue;case 5:if(40!==e)break;r.group=n.bool();continue;case 6:if(48!==e)break;r.updateThrottling=n.uint32();continue;case 7:if(58!==e)break;r.episodePolicy=U.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({start:Rn(e.start)?Number(e.start):0,length:Rn(e.length)?Number(e.length):0,sort:Rn(e.sort)?String(e.sort):"",filter:Rn(e.filter)?String(e.filter):"",group:!!Rn(e.group)&&Boolean(e.group),updateThrottling:Rn(e.updateThrottling)?Number(e.updateThrottling):0,episodePolicy:Rn(e.episodePolicy)?U.fromJSON(e.episodePolicy):void 0}),toJSON(e){const t={};return 0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),!0===e.group&&(t.group=e.group),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),void 0!==e.episodePolicy&&(t.episodePolicy=U.toJSON(e.episodePolicy)),t},create:e=>In.fromPartial(e??{}),fromPartial(e){const t={start:0,length:0,sort:"",filter:"",group:!1,updateThrottling:0,episodePolicy:void 0};return t.start=e.start??0,t.length=e.length??0,t.sort=e.sort??"",t.filter=e.filter??"",t.group=e.group??!1,t.updateThrottling=e.updateThrottling??0,t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?U.fromPartial(e.episodePolicy):void 0,t}};const On={encode:(e,t=i.Writer.create())=>(""!==e.header&&t.uint32(10).string(e.header),void 0!==e.episode&&Ke.encode(e.episode,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={header:"",episode:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.header=n.string();continue;case 2:if(18!==e)break;r.episode=Ke.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({header:Rn(e.header)?String(e.header):"",episode:Rn(e.episode)?Ke.fromJSON(e.episode):void 0}),toJSON(e){const t={};return""!==e.header&&(t.header=e.header),void 0!==e.episode&&(t.episode=Ke.toJSON(e.episode)),t},create:e=>On.fromPartial(e??{}),fromPartial(e){const t={header:"",episode:void 0};return t.header=e.header??"",t.episode=void 0!==e.episode&&null!==e.episode?Ke.fromPartial(e.episode):void 0,t}};const Cn={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.item)On.encode(n,t.uint32(18).fork()).ldelim();return 0!==e.unfilteredLength&&t.uint32(24).uint32(e.unfilteredLength),0!==e.unrangedLength&&t.uint32(32).uint32(e.unrangedLength),!0===e.loadingContents&&t.uint32(40).bool(e.loadingContents),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,item:[],unfilteredLength:0,unrangedLength:0,loadingContents:!1};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.item.push(On.decode(n,n.uint32()));continue;case 3:if(24!==e)break;a.unfilteredLength=n.uint32();continue;case 4:if(32!==e)break;a.unrangedLength=n.uint32();continue;case 5:if(40!==e)break;a.loadingContents=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Rn(e.status)?o.fromJSON(e.status):void 0,item:Array.isArray(e?.item)?e.item.map((e=>On.fromJSON(e))):[],unfilteredLength:Rn(e.unfilteredLength)?Number(e.unfilteredLength):0,unrangedLength:Rn(e.unrangedLength)?Number(e.unrangedLength):0,loadingContents:!!Rn(e.loadingContents)&&Boolean(e.loadingContents)}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.item?.length&&(t.item=e.item.map((e=>On.toJSON(e)))),0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.unrangedLength&&(t.unrangedLength=Math.round(e.unrangedLength)),!0===e.loadingContents&&(t.loadingContents=e.loadingContents),t},create:e=>Cn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,item:[],unfilteredLength:0,unrangedLength:0,loadingContents:!1};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.item=e.item?.map((e=>On.fromPartial(e)))||[],t.unfilteredLength=e.unfilteredLength??0,t.unrangedLength=e.unrangedLength??0,t.loadingContents=e.loadingContents??!1,t}};function Rn(e){return null!=e}const Nn={encode:(e,t=i.Writer.create())=>(void 0!==e.episodePolicy&&U.encode(e.episodePolicy,t.uint32(10).fork()).ldelim(),0!==e.start&&t.uint32(16).uint32(e.start),0!==e.length&&t.uint32(24).uint32(e.length),""!==e.sort&&t.uint32(34).string(e.sort),""!==e.filter&&t.uint32(42).string(e.filter),!0===e.group&&t.uint32(48).bool(e.group),0!==e.updateThrottling&&t.uint32(56).uint32(e.updateThrottling),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodePolicy:void 0,start:0,length:0,sort:"",filter:"",group:!1,updateThrottling:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodePolicy=U.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.start=n.uint32();continue;case 3:if(24!==e)break;r.length=n.uint32();continue;case 4:if(34!==e)break;r.sort=n.string();continue;case 5:if(42!==e)break;r.filter=n.string();continue;case 6:if(48!==e)break;r.group=n.bool();continue;case 7:if(56!==e)break;r.updateThrottling=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodePolicy:kn(e.episodePolicy)?U.fromJSON(e.episodePolicy):void 0,start:kn(e.start)?Number(e.start):0,length:kn(e.length)?Number(e.length):0,sort:kn(e.sort)?String(e.sort):"",filter:kn(e.filter)?String(e.filter):"",group:!!kn(e.group)&&Boolean(e.group),updateThrottling:kn(e.updateThrottling)?Number(e.updateThrottling):0}),toJSON(e){const t={};return void 0!==e.episodePolicy&&(t.episodePolicy=U.toJSON(e.episodePolicy)),0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),!0===e.group&&(t.group=e.group),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),t},create:e=>Nn.fromPartial(e??{}),fromPartial(e){const t={episodePolicy:void 0,start:0,length:0,sort:"",filter:"",group:!1,updateThrottling:0};return t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?U.fromPartial(e.episodePolicy):void 0,t.start=e.start??0,t.length=e.length??0,t.sort=e.sort??"",t.filter=e.filter??"",t.group=e.group??!1,t.updateThrottling=e.updateThrottling??0,t}};const Pn={encode:(e,t=i.Writer.create())=>(""!==e.header&&t.uint32(10).string(e.header),void 0!==e.episode&&Ke.encode(e.episode,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={header:"",episode:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.header=n.string();continue;case 2:if(18!==e)break;r.episode=Ke.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({header:kn(e.header)?String(e.header):"",episode:kn(e.episode)?Ke.fromJSON(e.episode):void 0}),toJSON(e){const t={};return""!==e.header&&(t.header=e.header),void 0!==e.episode&&(t.episode=Ke.toJSON(e.episode)),t},create:e=>Pn.fromPartial(e??{}),fromPartial(e){const t={header:"",episode:void 0};return t.header=e.header??"",t.episode=void 0!==e.episode&&null!==e.episode?Ke.fromPartial(e.episode):void 0,t}};const Ln={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.item)Pn.encode(n,t.uint32(18).fork()).ldelim();return 0!==e.unfilteredLength&&t.uint32(24).uint32(e.unfilteredLength),0!==e.unrangedLength&&t.uint32(32).uint32(e.unrangedLength),!0===e.loadingContent&&t.uint32(40).bool(e.loadingContent),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,item:[],unfilteredLength:0,unrangedLength:0,loadingContent:!1};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.item.push(Pn.decode(n,n.uint32()));continue;case 3:if(24!==e)break;a.unfilteredLength=n.uint32();continue;case 4:if(32!==e)break;a.unrangedLength=n.uint32();continue;case 5:if(40!==e)break;a.loadingContent=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:kn(e.status)?o.fromJSON(e.status):void 0,item:Array.isArray(e?.item)?e.item.map((e=>Pn.fromJSON(e))):[],unfilteredLength:kn(e.unfilteredLength)?Number(e.unfilteredLength):0,unrangedLength:kn(e.unrangedLength)?Number(e.unrangedLength):0,loadingContent:!!kn(e.loadingContent)&&Boolean(e.loadingContent)}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.item?.length&&(t.item=e.item.map((e=>Pn.toJSON(e)))),0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.unrangedLength&&(t.unrangedLength=Math.round(e.unrangedLength)),!0===e.loadingContent&&(t.loadingContent=e.loadingContent),t},create:e=>Ln.fromPartial(e??{}),fromPartial(e){const t={status:void 0,item:[],unfilteredLength:0,unrangedLength:0,loadingContent:!1};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.item=e.item?.map((e=>Pn.fromPartial(e)))||[],t.unfilteredLength=e.unfilteredLength??0,t.unrangedLength=e.unrangedLength??0,t.loadingContent=e.loadingContent??!1,t}};function kn(e){return null!=e}const wn={encode(e,t=i.Writer.create()){for(const n of e.uri)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[]}),toJSON(e){const t={};return e.uri?.length&&(t.uri=e.uri),t},create:e=>wn.fromPartial(e??{}),fromPartial(e){const t={uri:[]};return t.uri=e.uri?.map((e=>e))||[],t}};const Dn={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),0!==e.resumePoint&&t.uint32(16).uint32(e.resumePoint),""!==e.name&&t.uint32(26).string(e.name),0!==e.length&&t.uint32(32).uint32(e.length),""!==e.link&&t.uint32(42).string(e.link),""!==e.coverUri&&t.uint32(50).string(e.coverUri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",resumePoint:0,name:"",length:0,link:"",coverUri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(16!==e)break;r.resumePoint=n.uint32();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(42!==e)break;r.link=n.string();continue;case 6:if(50!==e)break;r.coverUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:xn(e.uri)?String(e.uri):"",resumePoint:xn(e.resumePoint)?Number(e.resumePoint):0,name:xn(e.name)?String(e.name):"",length:xn(e.length)?Number(e.length):0,link:xn(e.link)?String(e.link):"",coverUri:xn(e.coverUri)?String(e.coverUri):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),0!==e.resumePoint&&(t.resumePoint=Math.round(e.resumePoint)),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),""!==e.link&&(t.link=e.link),""!==e.coverUri&&(t.coverUri=e.coverUri),t},create:e=>Dn.fromPartial(e??{}),fromPartial(e){const t={uri:"",resumePoint:0,name:"",length:0,link:"",coverUri:""};return t.uri=e.uri??"",t.resumePoint=e.resumePoint??0,t.name=e.name??"",t.length=e.length??0,t.link=e.link??"",t.coverUri=e.coverUri??"",t}};const Mn={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.item)Dn.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,item:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.item.push(Dn.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:xn(e.status)?o.fromJSON(e.status):void 0,item:Array.isArray(e?.item)?e.item.map((e=>Dn.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.item?.length&&(t.item=e.item.map((e=>Dn.toJSON(e)))),t},create:e=>Mn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,item:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.item=e.item?.map((e=>Dn.fromPartial(e)))||[],t}};function xn(e){return null!=e}const Un={encode:(e,t=i.Writer.create())=>(void 0!==e.trackPolicy&&M.encode(e.trackPolicy,t.uint32(10).fork()).ldelim(),!0===e.addTime&&t.uint32(16).bool(e.addTime),!0===e.index&&t.uint32(24).bool(e.index),!0===e.groupLabel&&t.uint32(40).bool(e.groupLabel),0!==e.updateThrottling&&t.uint32(56).uint32(e.updateThrottling),0!==e.start&&t.uint32(64).uint32(e.start),0!==e.length&&t.uint32(72).uint32(e.length),""!==e.sort&&t.uint32(82).string(e.sort),""!==e.filter&&t.uint32(90).string(e.filter),""!==e.id&&t.uint32(98).string(e.id),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={trackPolicy:void 0,addTime:!1,index:!1,groupLabel:!1,updateThrottling:0,start:0,length:0,sort:"",filter:"",id:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.trackPolicy=M.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.addTime=n.bool();continue;case 3:if(24!==e)break;r.index=n.bool();continue;case 5:if(40!==e)break;r.groupLabel=n.bool();continue;case 7:if(56!==e)break;r.updateThrottling=n.uint32();continue;case 8:if(64!==e)break;r.start=n.uint32();continue;case 9:if(72!==e)break;r.length=n.uint32();continue;case 10:if(82!==e)break;r.sort=n.string();continue;case 11:if(90!==e)break;r.filter=n.string();continue;case 12:if(98!==e)break;r.id=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({trackPolicy:Bn(e.trackPolicy)?M.fromJSON(e.trackPolicy):void 0,addTime:!!Bn(e.addTime)&&Boolean(e.addTime),index:!!Bn(e.index)&&Boolean(e.index),groupLabel:!!Bn(e.groupLabel)&&Boolean(e.groupLabel),updateThrottling:Bn(e.updateThrottling)?Number(e.updateThrottling):0,start:Bn(e.start)?Number(e.start):0,length:Bn(e.length)?Number(e.length):0,sort:Bn(e.sort)?String(e.sort):"",filter:Bn(e.filter)?String(e.filter):"",id:Bn(e.id)?String(e.id):""}),toJSON(e){const t={};return void 0!==e.trackPolicy&&(t.trackPolicy=M.toJSON(e.trackPolicy)),!0===e.addTime&&(t.addTime=e.addTime),!0===e.index&&(t.index=e.index),!0===e.groupLabel&&(t.groupLabel=e.groupLabel),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),""!==e.id&&(t.id=e.id),t},create:e=>Un.fromPartial(e??{}),fromPartial(e){const t={trackPolicy:void 0,addTime:!1,index:!1,groupLabel:!1,updateThrottling:0,start:0,length:0,sort:"",filter:"",id:""};return t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?M.fromPartial(e.trackPolicy):void 0,t.addTime=e.addTime??!1,t.index=e.index??!1,t.groupLabel=e.groupLabel??!1,t.updateThrottling=e.updateThrottling??0,t.start=e.start??0,t.length=e.length??0,t.sort=e.sort??"",t.filter=e.filter??"",t.id=e.id??"",t}};const Vn={encode:(e,t=i.Writer.create())=>(""!==e.headerField&&t.uint32(10).string(e.headerField),void 0!==e.track&&We.encode(e.track,t.uint32(18).fork()).ldelim(),""!==e.groupLabel&&t.uint32(26).string(e.groupLabel),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={headerField:"",track:void 0,groupLabel:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.headerField=n.string();continue;case 2:if(18!==e)break;r.track=We.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.groupLabel=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({headerField:Bn(e.headerField)?String(e.headerField):"",track:Bn(e.track)?We.fromJSON(e.track):void 0,groupLabel:Bn(e.groupLabel)?String(e.groupLabel):""}),toJSON(e){const t={};return""!==e.headerField&&(t.headerField=e.headerField),void 0!==e.track&&(t.track=We.toJSON(e.track)),""!==e.groupLabel&&(t.groupLabel=e.groupLabel),t},create:e=>Vn.fromPartial(e??{}),fromPartial(e){const t={headerField:"",track:void 0,groupLabel:""};return t.headerField=e.headerField??"",t.track=void 0!==e.track&&null!==e.track?We.fromPartial(e.track):void 0,t.groupLabel=e.groupLabel??"",t}};const Fn={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),0!==e.unfilteredLength&&t.uint32(16).uint32(e.unfilteredLength),0!==e.unrangedLength&&t.uint32(24).uint32(e.unrangedLength),!0===e.loadingContents&&t.uint32(32).bool(e.loadingContents),""!==e.offline&&t.uint32(42).string(e.offline),0!==e.syncProgress&&t.uint32(48).uint32(e.syncProgress);for(const n of e.item)Vn.encode(n,t.uint32(66).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,unfilteredLength:0,unrangedLength:0,loadingContents:!1,offline:"",syncProgress:0,item:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(16!==e)break;a.unfilteredLength=n.uint32();continue;case 3:if(24!==e)break;a.unrangedLength=n.uint32();continue;case 4:if(32!==e)break;a.loadingContents=n.bool();continue;case 5:if(42!==e)break;a.offline=n.string();continue;case 6:if(48!==e)break;a.syncProgress=n.uint32();continue;case 8:if(66!==e)break;a.item.push(Vn.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Bn(e.status)?o.fromJSON(e.status):void 0,unfilteredLength:Bn(e.unfilteredLength)?Number(e.unfilteredLength):0,unrangedLength:Bn(e.unrangedLength)?Number(e.unrangedLength):0,loadingContents:!!Bn(e.loadingContents)&&Boolean(e.loadingContents),offline:Bn(e.offline)?String(e.offline):"",syncProgress:Bn(e.syncProgress)?Number(e.syncProgress):0,item:Array.isArray(e?.item)?e.item.map((e=>Vn.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.unrangedLength&&(t.unrangedLength=Math.round(e.unrangedLength)),!0===e.loadingContents&&(t.loadingContents=e.loadingContents),""!==e.offline&&(t.offline=e.offline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),e.item?.length&&(t.item=e.item.map((e=>Vn.toJSON(e)))),t},create:e=>Fn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,unfilteredLength:0,unrangedLength:0,loadingContents:!1,offline:"",syncProgress:0,item:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.unfilteredLength=e.unfilteredLength??0,t.unrangedLength=e.unrangedLength??0,t.loadingContents=e.loadingContents??!1,t.offline=e.offline??"",t.syncProgress=e.syncProgress??0,t.item=e.item?.map((e=>Vn.fromPartial(e)))||[],t}};function Bn(e){return null!=e}const Hn={encode:(e,t=i.Writer.create())=>(""!==e.bucketName&&t.uint32(10).string(e.bucketName),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={bucketName:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.bucketName=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({bucketName:Wn(e.bucketName)?String(e.bucketName):""}),toJSON(e){const t={};return""!==e.bucketName&&(t.bucketName=e.bucketName),t},create:e=>Hn.fromPartial(e??{}),fromPartial(e){const t={bucketName:""};return t.bucketName=e.bucketName??"",t}};const Gn={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),!0===e.isSynced&&t.uint32(16).bool(e.isSynced),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,isSynced:!1};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(16!==e)break;a.isSynced=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Wn(e.status)?o.fromJSON(e.status):void 0,isSynced:!!Wn(e.isSynced)&&Boolean(e.isSynced)}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),!0===e.isSynced&&(t.isSynced=e.isSynced),t},create:e=>Gn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,isSynced:!1};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.isSynced=e.isSynced??!1,t}};function Wn(e){return null!=e}const jn={encode(e,t=i.Writer.create()){for(const n of e.uri)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[]}),toJSON(e){const t={};return e.uri?.length&&(t.uri=e.uri),t},create:e=>jn.fromPartial(e??{}),fromPartial(e){const t={uri:[]};return t.uri=e.uri?.map((e=>e))||[],t}};const Yn={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{status:(t=e.status,null!=t?o.fromJSON(e.status):void 0)};var t},toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>Yn.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};const zn={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>zn.fromPartial(e??{}),fromPartial:e=>({})};const Kn={encode:(e,t=i.Writer.create())=>(!0===e.isSynced&&t.uint32(8).bool(e.isSynced),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isSynced:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isSynced=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{isSynced:(t=e.isSynced,null!=t&&Boolean(e.isSynced))};var t},toJSON(e){const t={};return!0===e.isSynced&&(t.isSynced=e.isSynced),t},create:e=>Kn.fromPartial(e??{}),fromPartial(e){const t={isSynced:!1};return t.isSynced=e.isSynced??!1,t}};class Jn{transport;options;constructor(e,t={}){this.transport=e,this.options=t}remove(e,t){const n=Jn.SERVICE_ID,o="Remove",r=a.fromPartial(e),c=a.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:c},t).then((e=>{const t=s.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}add(e,t){const n=Jn.SERVICE_ID,o="Add",r=a.fromPartial(e),c=a.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:c},t).then((e=>{const t=s.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getBans(e,t){const n=Jn.SERVICE_ID,o="GetBans",r=qe.fromPartial(e),a=qe.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=$e.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamBans(e,t){const n=Jn.SERVICE_ID,o="StreamBans",r=qe.fromPartial(e),a=qe.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=$e.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}ban(e,t){const n=Jn.SERVICE_ID,o="Ban",r=Qe.fromPartial(e),a=Qe.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=et.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}unban(e,t){const n=Jn.SERVICE_ID,o="Unban",r=Qe.fromPartial(e),a=Qe.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=et.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getArtistView(e,t){const n=Jn.SERVICE_ID,o="GetArtistView",r=nt.fromPartial(e),a=nt.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=it.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamArtistView(e,t){const n=Jn.SERVICE_ID,o="StreamArtistView",r=nt.fromPartial(e),a=nt.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=it.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getAlbumView(e,t){const n=Jn.SERVICE_ID,o="GetAlbumView",r=rt.fromPartial(e),a=rt.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=at.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamAlbumView(e,t){const n=Jn.SERVICE_ID,o="StreamAlbumView",r=rt.fromPartial(e),a=rt.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=at.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getTrackListMetadata(e,t){const n=Jn.SERVICE_ID,o="GetTrackListMetadata",r=ut.fromPartial(e),a=ut.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=dt.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamTrackListMetadata(e,t){const n=Jn.SERVICE_ID,o="StreamTrackListMetadata",r=ut.fromPartial(e),a=ut.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=dt.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}streamChanges(e,t){const n=Jn.SERVICE_ID,o="StreamChanges",r=ht.fromPartial(e),a=ht.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=ft.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getTrackList(e,t){const n=Jn.SERVICE_ID,o="GetTrackList",r=Un.fromPartial(e),a=Un.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Fn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamTrackList(e,t){const n=Jn.SERVICE_ID,o="StreamTrackList",r=Un.fromPartial(e),a=Un.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Fn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getAlbumTrackList(e,t){const n=Jn.SERVICE_ID,o="GetAlbumTrackList",r=Un.fromPartial(e),a=Un.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Fn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamAlbumTrackList(e,t){const n=Jn.SERVICE_ID,o="StreamAlbumTrackList",r=Un.fromPartial(e),a=Un.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Fn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getArtistTrackList(e,t){const n=Jn.SERVICE_ID,o="GetArtistTrackList",r=Un.fromPartial(e),a=Un.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Fn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamArtistTrackList(e,t){const n=Jn.SERVICE_ID,o="StreamArtistTrackList",r=Un.fromPartial(e),a=Un.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Fn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}playTracks(e,t){const n=Jn.SERVICE_ID,o="PlayTracks",r=dn.fromPartial(e),a=dn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=pn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}playArtist(e,t){const n=Jn.SERVICE_ID,o="PlayArtist",r=dn.fromPartial(e),a=dn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=pn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}playAlbum(e,t){const n=Jn.SERVICE_ID,o="PlayAlbum",r=dn.fromPartial(e),a=dn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=pn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}tracksOfflineStatus(e,t){const n=Jn.SERVICE_ID,o="TracksOfflineStatus",r=_n.fromPartial(e),a=_n.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=gn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}offlineTracks(e,t){const n=Jn.SERVICE_ID,o="OfflineTracks",r=fn.fromPartial(e),a=fn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}removeOfflineTracks(e,t){const n=Jn.SERVICE_ID,o="RemoveOfflineTracks",r=fn.fromPartial(e),a=fn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}offlineAlbum(e,t){const n=Jn.SERVICE_ID,o="OfflineAlbum",r=fn.fromPartial(e),a=fn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}removeOfflineAlbum(e,t){const n=Jn.SERVICE_ID,o="RemoveOfflineAlbum",r=fn.fromPartial(e),a=fn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}offlineArtist(e,t){const n=Jn.SERVICE_ID,o="OfflineArtist",r=fn.fromPartial(e),a=fn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}removeOfflineArtist(e,t){const n=Jn.SERVICE_ID,o="RemoveOfflineArtist",r=fn.fromPartial(e),a=fn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}decorate(e,t){const n=Jn.SERVICE_ID,o="Decorate",r=vn.fromPartial(e),a=vn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=yn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamDecorate(e,t){const n=Jn.SERVICE_ID,o="StreamDecorate",r=vn.fromPartial(e),a=vn.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=yn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}contains(e,t){const n=Jn.SERVICE_ID,o="Contains",r=Sn.fromPartial(e),a=Sn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Tn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamContains(e,t){const n=Jn.SERVICE_ID,o="StreamContains",r=Sn.fromPartial(e),a=Sn.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Tn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getEpisodeList(e,t){const n=Jn.SERVICE_ID,o="GetEpisodeList",r=In.fromPartial(e),a=In.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Cn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamEpisodeList(e,t){const n=Jn.SERVICE_ID,o="StreamEpisodeList",r=In.fromPartial(e),a=In.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Cn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getUnplayedEpisodes(e,t){const n=Jn.SERVICE_ID,o="GetUnplayedEpisodes",r=Nn.fromPartial(e),a=Nn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Ln.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamUnplayedEpisodes(e,t){const n=Jn.SERVICE_ID,o="StreamUnplayedEpisodes",r=Nn.fromPartial(e),a=Nn.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Ln.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getResumePoints(e,t){const n=Jn.SERVICE_ID,o="GetResumePoints",r=wn.fromPartial(e),a=wn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Mn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getBucketSyncStatus(e,t){const n=Jn.SERVICE_ID,o="GetBucketSyncStatus",r=Hn.fromPartial(e),a=Hn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Gn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}addUnplayed(e,t){const n=Jn.SERVICE_ID,o="AddUnplayed",r=jn.fromPartial(e),a=jn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Yn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}removeUnplayed(e,t){const n=Jn.SERVICE_ID,o="RemoveUnplayed",r=jn.fromPartial(e),a=jn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Yn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamTagsInfo(e,t){const n=Jn.SERVICE_ID,o="StreamTagsInfo",r=zn.fromPartial(e),a=zn.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Kn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}static SERVICE_ID="spotify.collection_esperanto.proto.CollectionService";static METHODS={remove:{isStreaming:!1,requestType:a,responseType:s},add:{isStreaming:!1,requestType:a,responseType:s},getBans:{isStreaming:!1,requestType:qe,responseType:$e},streamBans:{isStreaming:!0,requestType:qe,responseType:$e},ban:{isStreaming:!1,requestType:Qe,responseType:et},unban:{isStreaming:!1,requestType:Qe,responseType:et},getArtistView:{isStreaming:!1,requestType:nt,responseType:it},streamArtistView:{isStreaming:!0,requestType:nt,responseType:it},getAlbumView:{isStreaming:!1,requestType:rt,responseType:at},streamAlbumView:{isStreaming:!0,requestType:rt,responseType:at},getTrackListMetadata:{isStreaming:!1,requestType:ut,responseType:dt},streamTrackListMetadata:{isStreaming:!0,requestType:ut,responseType:dt},streamChanges:{isStreaming:!0,requestType:ht,responseType:ft},getTrackList:{isStreaming:!1,requestType:Un,responseType:Fn},streamTrackList:{isStreaming:!0,requestType:Un,responseType:Fn},getAlbumTrackList:{isStreaming:!1,requestType:Un,responseType:Fn},streamAlbumTrackList:{isStreaming:!0,requestType:Un,responseType:Fn},getArtistTrackList:{isStreaming:!1,requestType:Un,responseType:Fn},streamArtistTrackList:{isStreaming:!0,requestType:Un,responseType:Fn},playTracks:{isStreaming:!1,requestType:dn,responseType:pn},playArtist:{isStreaming:!1,requestType:dn,responseType:pn},playAlbum:{isStreaming:!1,requestType:dn,responseType:pn},tracksOfflineStatus:{isStreaming:!1,requestType:_n,responseType:gn},offlineTracks:{isStreaming:!1,requestType:fn,responseType:mn},removeOfflineTracks:{isStreaming:!1,requestType:fn,responseType:mn},offlineAlbum:{isStreaming:!1,requestType:fn,responseType:mn},removeOfflineAlbum:{isStreaming:!1,requestType:fn,responseType:mn},offlineArtist:{isStreaming:!1,requestType:fn,responseType:mn},removeOfflineArtist:{isStreaming:!1,requestType:fn,responseType:mn},decorate:{isStreaming:!1,requestType:vn,responseType:yn},streamDecorate:{isStreaming:!0,requestType:vn,responseType:yn},contains:{isStreaming:!1,requestType:Sn,responseType:Tn},streamContains:{isStreaming:!0,requestType:Sn,responseType:Tn},getEpisodeList:{isStreaming:!1,requestType:In,responseType:Cn},streamEpisodeList:{isStreaming:!0,requestType:In,responseType:Cn},getUnplayedEpisodes:{isStreaming:!1,requestType:Nn,responseType:Ln},streamUnplayedEpisodes:{isStreaming:!0,requestType:Nn,responseType:Ln},getResumePoints:{isStreaming:!1,requestType:wn,responseType:Mn},getBucketSyncStatus:{isStreaming:!1,requestType:Hn,responseType:Gn},addUnplayed:{isStreaming:!1,requestType:jn,responseType:Yn},removeUnplayed:{isStreaming:!1,requestType:jn,responseType:Yn},streamTagsInfo:{isStreaming:!0,requestType:zn,responseType:Kn}};static DECODERS={Remove:{request:a.decode,response:s.decode},Add:{request:a.decode,response:s.decode},GetBans:{request:qe.decode,response:$e.decode},StreamBans:{request:qe.decode,response:$e.decode},Ban:{request:Qe.decode,response:et.decode},Unban:{request:Qe.decode,response:et.decode},GetArtistView:{request:nt.decode,response:it.decode},StreamArtistView:{request:nt.decode,response:it.decode},GetAlbumView:{request:rt.decode,response:at.decode},StreamAlbumView:{request:rt.decode,response:at.decode},GetTrackListMetadata:{request:ut.decode,response:dt.decode},StreamTrackListMetadata:{request:ut.decode,response:dt.decode},StreamChanges:{request:ht.decode,response:ft.decode},GetTrackList:{request:Un.decode,response:Fn.decode},StreamTrackList:{request:Un.decode,response:Fn.decode},GetAlbumTrackList:{request:Un.decode,response:Fn.decode},StreamAlbumTrackList:{request:Un.decode,response:Fn.decode},GetArtistTrackList:{request:Un.decode,response:Fn.decode},StreamArtistTrackList:{request:Un.decode,response:Fn.decode},PlayTracks:{request:dn.decode,response:pn.decode},PlayArtist:{request:dn.decode,response:pn.decode},PlayAlbum:{request:dn.decode,response:pn.decode},TracksOfflineStatus:{request:_n.decode,response:gn.decode},OfflineTracks:{request:fn.decode,response:mn.decode},RemoveOfflineTracks:{request:fn.decode,response:mn.decode},OfflineAlbum:{request:fn.decode,response:mn.decode},RemoveOfflineAlbum:{request:fn.decode,response:mn.decode},OfflineArtist:{request:fn.decode,response:mn.decode},RemoveOfflineArtist:{request:fn.decode,response:mn.decode},Decorate:{request:vn.decode,response:yn.decode},StreamDecorate:{request:vn.decode,response:yn.decode},Contains:{request:Sn.decode,response:Tn.decode},StreamContains:{request:Sn.decode,response:Tn.decode},GetEpisodeList:{request:In.decode,response:Cn.decode},StreamEpisodeList:{request:In.decode,response:Cn.decode},GetUnplayedEpisodes:{request:Nn.decode,response:Ln.decode},StreamUnplayedEpisodes:{request:Nn.decode,response:Ln.decode},GetResumePoints:{request:wn.decode,response:Mn.decode},GetBucketSyncStatus:{request:Hn.decode,response:Gn.decode},AddUnplayed:{request:jn.decode,response:Yn.decode},RemoveUnplayed:{request:jn.decode,response:Yn.decode},StreamTagsInfo:{request:zn.decode,response:Kn.decode}}}},75751:(e,t,n)=>{"use strict";n.d(t,{Pc:()=>ie,zF:()=>W,OU:()=>S,Gb:()=>I,yE:()=>R,B9:()=>w,MG:()=>Y,B0:()=>G,d1:()=>D,nW:()=>g,f6:()=>N});var i,o,r=n(24848);function a(e){switch(e){case 0:case"OK":return i.OK;case 1:case"NOT_FOUND":return i.NOT_FOUND;case 2:case"FAILED_TO_PARSE_JSON":return i.FAILED_TO_PARSE_JSON;default:return i.UNRECOGNIZED}}function s(e){switch(e){case 0:case"APPLICATION_LAUNCH_ERROR":return o.APPLICATION_LAUNCH_ERROR;case 1:case"APPLICATION_NOT_FOUND":return o.APPLICATION_NOT_FOUND;case 2:case"APPLICATION_NOT_RUNNING":return o.APPLICATION_NOT_RUNNING;case 3:case"CANCELLED":return o.CANCELLED;case 4:case"CASTING_ROUTE_CHANGED":return o.CASTING_ROUTE_CHANGED;case 5:case"CASTING_STOPPED":return o.CASTING_STOPPED;case 6:case"CAST_INTERNAL_ERROR":return o.CAST_INTERNAL_ERROR;case 7:case"CAST_SOCKET_ERROR":return o.CAST_SOCKET_ERROR;case 8:case"DEVICE_AUTHENTICATION_FAILURE":return o.DEVICE_AUTHENTICATION_FAILURE;case 9:case"DEVICE_AUTHENTICATION_TIMEOUT_FAILURE":return o.DEVICE_AUTHENTICATION_TIMEOUT_FAILURE;case 10:case"DEVICE_CAPABILITY_NOT_SUPPORTED":return o.DEVICE_CAPABILITY_NOT_SUPPORTED;case 11:case"DEVICE_CERTIFICATE_NOT_TRUSTED":return o.DEVICE_CERTIFICATE_NOT_TRUSTED;case 12:case"DISCONNECTED":return o.DISCONNECTED;case 13:case"INVALID_STATE":return o.INVALID_STATE;case 14:case"NETWORK_ERROR":return o.NETWORK_ERROR;case 15:case"NETWORK_NOT_REACHABLE":return o.NETWORK_NOT_REACHABLE;case 16:case"NOT_ALLOWED":return o.NOT_ALLOWED;case 17:case"OTHER":return o.OTHER;case 18:case"PROTOCOL_ERROR":return o.PROTOCOL_ERROR;case 19:case"SECURE_TRANSPORT_ERROR":return o.SECURE_TRANSPORT_ERROR;case 20:case"SESSION_RESUME_FAILED":return o.SESSION_RESUME_FAILED;case 21:case"SESSION_START_FAILED":return o.SESSION_START_FAILED;case 22:case"SSL_CERTIFICATE_NOT_TRUSTED":return o.SSL_CERTIFICATE_NOT_TRUSTED;case 23:case"TIMEOUT":return o.TIMEOUT;case 24:case"UNKNOWN":return o.UNKNOWN;default:return o.UNRECOGNIZED}}!function(e){e[e.OK=0]="OK",e[e.NOT_FOUND=1]="NOT_FOUND",e[e.FAILED_TO_PARSE_JSON=2]="FAILED_TO_PARSE_JSON",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={})),function(e){e[e.APPLICATION_LAUNCH_ERROR=0]="APPLICATION_LAUNCH_ERROR",e[e.APPLICATION_NOT_FOUND=1]="APPLICATION_NOT_FOUND",e[e.APPLICATION_NOT_RUNNING=2]="APPLICATION_NOT_RUNNING",e[e.CANCELLED=3]="CANCELLED",e[e.CASTING_ROUTE_CHANGED=4]="CASTING_ROUTE_CHANGED",e[e.CASTING_STOPPED=5]="CASTING_STOPPED",e[e.CAST_INTERNAL_ERROR=6]="CAST_INTERNAL_ERROR",e[e.CAST_SOCKET_ERROR=7]="CAST_SOCKET_ERROR",e[e.DEVICE_AUTHENTICATION_FAILURE=8]="DEVICE_AUTHENTICATION_FAILURE",e[e.DEVICE_AUTHENTICATION_TIMEOUT_FAILURE=9]="DEVICE_AUTHENTICATION_TIMEOUT_FAILURE",e[e.DEVICE_CAPABILITY_NOT_SUPPORTED=10]="DEVICE_CAPABILITY_NOT_SUPPORTED",e[e.DEVICE_CERTIFICATE_NOT_TRUSTED=11]="DEVICE_CERTIFICATE_NOT_TRUSTED",e[e.DISCONNECTED=12]="DISCONNECTED",e[e.INVALID_STATE=13]="INVALID_STATE",e[e.NETWORK_ERROR=14]="NETWORK_ERROR",e[e.NETWORK_NOT_REACHABLE=15]="NETWORK_NOT_REACHABLE",e[e.NOT_ALLOWED=16]="NOT_ALLOWED",e[e.OTHER=17]="OTHER",e[e.PROTOCOL_ERROR=18]="PROTOCOL_ERROR",e[e.SECURE_TRANSPORT_ERROR=19]="SECURE_TRANSPORT_ERROR",e[e.SESSION_RESUME_FAILED=20]="SESSION_RESUME_FAILED",e[e.SESSION_START_FAILED=21]="SESSION_START_FAILED",e[e.SSL_CERTIFICATE_NOT_TRUSTED=22]="SSL_CERTIFICATE_NOT_TRUSTED",e[e.TIMEOUT=23]="TIMEOUT",e[e.UNKNOWN=24]="UNKNOWN",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(o||(o={}));const c={encode:(e,t=r.Writer.create())=>(0!==e.result&&t.uint32(8).int32(e.result),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={result:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.result=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({result:_(e.result)?a(e.result):0}),toJSON(e){const t={};return 0!==e.result&&(t.result=function(e){switch(e){case i.OK:return"OK";case i.NOT_FOUND:return"NOT_FOUND";case i.FAILED_TO_PARSE_JSON:return"FAILED_TO_PARSE_JSON";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.result)),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={result:0};return t.result=e.result??0,t}};function l(){return{deviceId:"",json:new Uint8Array(0)}}const u={encode:(e,t=r.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),0!==e.json.length&&t.uint32(18).bytes(e.json),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=l();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue;case 2:if(18!==e)break;o.json=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:_(e.deviceId)?String(e.deviceId):"",json:_(e.json)?m(e.json):new Uint8Array(0)}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),0!==e.json.length&&(t.json=function(e){if(f.Buffer)return f.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),f.btoa(t.join(""))}}(e.json)),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t=l();return t.deviceId=e.deviceId??"",t.json=e.json??new Uint8Array(0),t}};const d={encode:(e,t=r.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={deviceId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:_(e.deviceId)?String(e.deviceId):""}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={deviceId:""};return t.deviceId=e.deviceId??"",t}};const p={encode(e,t=r.Writer.create()){""!==e.deviceId&&t.uint32(10).string(e.deviceId);for(const n of e.interactionIds)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={deviceId:"",interactionIds:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue;case 2:if(18!==e)break;o.interactionIds.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:_(e.deviceId)?String(e.deviceId):"",interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[]}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),e.interactionIds?.length&&(t.interactionIds=e.interactionIds),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={deviceId:"",interactionIds:[]};return t.deviceId=e.deviceId??"",t.interactionIds=e.interactionIds?.map((e=>e))||[],t}};const h={encode:(e,t=r.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),0!==e.error&&t.uint32(16).int32(e.error),0!==e.platformErrorCode&&t.uint32(24).int32(e.platformErrorCode),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={deviceId:"",error:0,platformErrorCode:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue;case 2:if(16!==e)break;o.error=n.int32();continue;case 3:if(24!==e)break;o.platformErrorCode=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:_(e.deviceId)?String(e.deviceId):"",error:_(e.error)?s(e.error):0,platformErrorCode:_(e.platformErrorCode)?Number(e.platformErrorCode):0}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),0!==e.error&&(t.error=function(e){switch(e){case o.APPLICATION_LAUNCH_ERROR:return"APPLICATION_LAUNCH_ERROR";case o.APPLICATION_NOT_FOUND:return"APPLICATION_NOT_FOUND";case o.APPLICATION_NOT_RUNNING:return"APPLICATION_NOT_RUNNING";case o.CANCELLED:return"CANCELLED";case o.CASTING_ROUTE_CHANGED:return"CASTING_ROUTE_CHANGED";case o.CASTING_STOPPED:return"CASTING_STOPPED";case o.CAST_INTERNAL_ERROR:return"CAST_INTERNAL_ERROR";case o.CAST_SOCKET_ERROR:return"CAST_SOCKET_ERROR";case o.DEVICE_AUTHENTICATION_FAILURE:return"DEVICE_AUTHENTICATION_FAILURE";case o.DEVICE_AUTHENTICATION_TIMEOUT_FAILURE:return"DEVICE_AUTHENTICATION_TIMEOUT_FAILURE";case o.DEVICE_CAPABILITY_NOT_SUPPORTED:return"DEVICE_CAPABILITY_NOT_SUPPORTED";case o.DEVICE_CERTIFICATE_NOT_TRUSTED:return"DEVICE_CERTIFICATE_NOT_TRUSTED";case o.DISCONNECTED:return"DISCONNECTED";case o.INVALID_STATE:return"INVALID_STATE";case o.NETWORK_ERROR:return"NETWORK_ERROR";case o.NETWORK_NOT_REACHABLE:return"NETWORK_NOT_REACHABLE";case o.NOT_ALLOWED:return"NOT_ALLOWED";case o.OTHER:return"OTHER";case o.PROTOCOL_ERROR:return"PROTOCOL_ERROR";case o.SECURE_TRANSPORT_ERROR:return"SECURE_TRANSPORT_ERROR";case o.SESSION_RESUME_FAILED:return"SESSION_RESUME_FAILED";case o.SESSION_START_FAILED:return"SESSION_START_FAILED";case o.SSL_CERTIFICATE_NOT_TRUSTED:return"SSL_CERTIFICATE_NOT_TRUSTED";case o.TIMEOUT:return"TIMEOUT";case o.UNKNOWN:return"UNKNOWN";case o.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.error)),0!==e.platformErrorCode&&(t.platformErrorCode=Math.round(e.platformErrorCode)),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={deviceId:"",error:0,platformErrorCode:0};return t.deviceId=e.deviceId??"",t.error=e.error??0,t.platformErrorCode=e.platformErrorCode??0,t}},f=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function m(e){if(f.Buffer)return Uint8Array.from(f.Buffer.from(e,"base64"));{const t=f.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function _(e){return null!=e}var g,E=n(87252);function v(e){switch(e){case 0:case"OK":return g.OK;case 1:case"NOT_FOUND":return g.NOT_FOUND;case 2:case"INVALID_ARGUMENTS":return g.INVALID_ARGUMENTS;case 3:case"BACKEND_FAILURE":return g.BACKEND_FAILURE;default:return g.UNRECOGNIZED}}function y(e){switch(e){case g.OK:return"OK";case g.NOT_FOUND:return"NOT_FOUND";case g.INVALID_ARGUMENTS:return"INVALID_ARGUMENTS";case g.BACKEND_FAILURE:return"BACKEND_FAILURE";case g.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.OK=0]="OK",e[e.NOT_FOUND=1]="NOT_FOUND",e[e.INVALID_ARGUMENTS=2]="INVALID_ARGUMENTS",e[e.BACKEND_FAILURE=3]="BACKEND_FAILURE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(g||(g={}));const b={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:A(e.status)?v(e.status):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=y(e.status)),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};const S={encode(e,t=r.Writer.create()){void 0!==e.commandInitiatedTime&&t.uint32(8).int64(e.commandInitiatedTime.toString()),void 0!==e.commandReceivedTime&&t.uint32(16).int64(e.commandReceivedTime.toString());for(const n of e.pageInstanceIds)t.uint32(26).string(n);for(const n of e.interactionIds)t.uint32(34).string(n);return void 0!==e.commandId&&t.uint32(42).string(e.commandId),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],commandId:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.commandInitiatedTime=T(n.int64());continue;case 2:if(16!==e)break;o.commandReceivedTime=T(n.int64());continue;case 3:if(26!==e)break;o.pageInstanceIds.push(n.string());continue;case 4:if(34!==e)break;o.interactionIds.push(n.string());continue;case 5:if(42!==e)break;o.commandId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({commandInitiatedTime:A(e.commandInitiatedTime)?BigInt(e.commandInitiatedTime):void 0,commandReceivedTime:A(e.commandReceivedTime)?BigInt(e.commandReceivedTime):void 0,pageInstanceIds:Array.isArray(e?.pageInstanceIds)?e.pageInstanceIds.map((e=>String(e))):[],interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[],commandId:A(e.commandId)?String(e.commandId):void 0}),toJSON(e){const t={};return void 0!==e.commandInitiatedTime&&(t.commandInitiatedTime=e.commandInitiatedTime.toString()),void 0!==e.commandReceivedTime&&(t.commandReceivedTime=e.commandReceivedTime.toString()),e.pageInstanceIds?.length&&(t.pageInstanceIds=e.pageInstanceIds),e.interactionIds?.length&&(t.interactionIds=e.interactionIds),void 0!==e.commandId&&(t.commandId=e.commandId),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],commandId:void 0};return t.commandInitiatedTime=e.commandInitiatedTime??void 0,t.commandReceivedTime=e.commandReceivedTime??void 0,t.pageInstanceIds=e.pageInstanceIds?.map((e=>e))||[],t.interactionIds=e.interactionIds?.map((e=>e))||[],t.commandId=e.commandId??void 0,t}};function T(e){return BigInt(e.toString())}function A(e){return null!=e}var I;function O(e){switch(e){case 0:case"CONNECT":return I.CONNECT;case 1:case"CAST":return I.CAST;default:return I.UNRECOGNIZED}}function C(e){switch(e){case I.CONNECT:return"CONNECT";case I.CAST:return"CAST";case I.UNRECOGNIZED:default:return"UNRECOGNIZED"}}r.util.Long!==E&&(r.util.Long=E,r.configure()),function(e){e[e.CONNECT=0]="CONNECT",e[e.CAST=1]="CAST",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(I||(I={}));const R={encode:(e,t=r.Writer.create())=>(""!==e.connectDeviceIdentifier&&t.uint32(10).string(e.connectDeviceIdentifier),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={connectDeviceIdentifier:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.connectDeviceIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({connectDeviceIdentifier:J(e.connectDeviceIdentifier)?String(e.connectDeviceIdentifier):""}),toJSON(e){const t={};return""!==e.connectDeviceIdentifier&&(t.connectDeviceIdentifier=e.connectDeviceIdentifier),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={connectDeviceIdentifier:""};return t.connectDeviceIdentifier=e.connectDeviceIdentifier??"",t}};const N={encode:(e,t=r.Writer.create())=>(void 0!==e.loggingParams&&S.encode(e.loggingParams,t.uint32(10).fork()).ldelim(),""!==e.connectDeviceIdentifier&&t.uint32(18).string(e.connectDeviceIdentifier),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={loggingParams:void 0,connectDeviceIdentifier:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.loggingParams=S.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.connectDeviceIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({loggingParams:J(e.loggingParams)?S.fromJSON(e.loggingParams):void 0,connectDeviceIdentifier:J(e.connectDeviceIdentifier)?String(e.connectDeviceIdentifier):""}),toJSON(e){const t={};return void 0!==e.loggingParams&&(t.loggingParams=S.toJSON(e.loggingParams)),""!==e.connectDeviceIdentifier&&(t.connectDeviceIdentifier=e.connectDeviceIdentifier),t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={loggingParams:void 0,connectDeviceIdentifier:""};return t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?S.fromPartial(e.loggingParams):void 0,t.connectDeviceIdentifier=e.connectDeviceIdentifier??"",t}};const P={encode:(e,t=r.Writer.create())=>(""!==e.connectDeviceIdentifier&&t.uint32(10).string(e.connectDeviceIdentifier),void 0!==e.port&&t.uint32(16).uint32(e.port),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={connectDeviceIdentifier:"",port:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.connectDeviceIdentifier=n.string();continue;case 2:if(16!==e)break;o.port=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({connectDeviceIdentifier:J(e.connectDeviceIdentifier)?String(e.connectDeviceIdentifier):"",port:J(e.port)?Number(e.port):void 0}),toJSON(e){const t={};return""!==e.connectDeviceIdentifier&&(t.connectDeviceIdentifier=e.connectDeviceIdentifier),void 0!==e.port&&(t.port=Math.round(e.port)),t},create:e=>P.fromPartial(e??{}),fromPartial(e){const t={connectDeviceIdentifier:"",port:void 0};return t.connectDeviceIdentifier=e.connectDeviceIdentifier??"",t.port=e.port??void 0,t}};const L={encode:(e,t=r.Writer.create())=>(void 0!==e.loggingParams&&S.encode(e.loggingParams,t.uint32(10).fork()).ldelim(),""!==e.connectDeviceIdentifier&&t.uint32(18).string(e.connectDeviceIdentifier),""!==e.commandJson&&t.uint32(26).string(e.commandJson),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={loggingParams:void 0,connectDeviceIdentifier:"",commandJson:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.loggingParams=S.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.connectDeviceIdentifier=n.string();continue;case 3:if(26!==e)break;o.commandJson=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({loggingParams:J(e.loggingParams)?S.fromJSON(e.loggingParams):void 0,connectDeviceIdentifier:J(e.connectDeviceIdentifier)?String(e.connectDeviceIdentifier):"",commandJson:J(e.commandJson)?String(e.commandJson):""}),toJSON(e){const t={};return void 0!==e.loggingParams&&(t.loggingParams=S.toJSON(e.loggingParams)),""!==e.connectDeviceIdentifier&&(t.connectDeviceIdentifier=e.connectDeviceIdentifier),""!==e.commandJson&&(t.commandJson=e.commandJson),t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t={loggingParams:void 0,connectDeviceIdentifier:"",commandJson:""};return t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?S.fromPartial(e.loggingParams):void 0,t.connectDeviceIdentifier=e.connectDeviceIdentifier??"",t.commandJson=e.commandJson??"",t}};const k={encode:(e,t=r.Writer.create())=>(0!==e.contextPlayerError&&t.uint32(8).int32(e.contextPlayerError),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={contextPlayerError:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.contextPlayerError=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({contextPlayerError:J(e.contextPlayerError)?Number(e.contextPlayerError):0}),toJSON(e){const t={};return 0!==e.contextPlayerError&&(t.contextPlayerError=Math.round(e.contextPlayerError)),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={contextPlayerError:0};return t.contextPlayerError=e.contextPlayerError??0,t}};const w={encode:(e,t=r.Writer.create())=>(void 0!==e.loggingParams&&S.encode(e.loggingParams,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={loggingParams:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.loggingParams=S.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({loggingParams:J(e.loggingParams)?S.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return void 0!==e.loggingParams&&(t.loggingParams=S.toJSON(e.loggingParams)),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={loggingParams:void 0};return t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?S.fromPartial(e.loggingParams):void 0,t}};const D={encode:(e,t=r.Writer.create())=>(!0===e.showOfflineDevicesInCore&&t.uint32(8).bool(e.showOfflineDevicesInCore),!0===e.showOfflineAmazonDevicesAsOnline&&t.uint32(16).bool(e.showOfflineAmazonDevicesAsOnline),!0===e.includeLocalDevice&&t.uint32(24).bool(e.includeLocalDevice),!0===e.excludeNonLocalDevices&&t.uint32(32).bool(e.excludeNonLocalDevices),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={showOfflineDevicesInCore:!1,showOfflineAmazonDevicesAsOnline:!1,includeLocalDevice:!1,excludeNonLocalDevices:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.showOfflineDevicesInCore=n.bool();continue;case 2:if(16!==e)break;o.showOfflineAmazonDevicesAsOnline=n.bool();continue;case 3:if(24!==e)break;o.includeLocalDevice=n.bool();continue;case 4:if(32!==e)break;o.excludeNonLocalDevices=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({showOfflineDevicesInCore:!!J(e.showOfflineDevicesInCore)&&Boolean(e.showOfflineDevicesInCore),showOfflineAmazonDevicesAsOnline:!!J(e.showOfflineAmazonDevicesAsOnline)&&Boolean(e.showOfflineAmazonDevicesAsOnline),includeLocalDevice:!!J(e.includeLocalDevice)&&Boolean(e.includeLocalDevice),excludeNonLocalDevices:!!J(e.excludeNonLocalDevices)&&Boolean(e.excludeNonLocalDevices)}),toJSON(e){const t={};return!0===e.showOfflineDevicesInCore&&(t.showOfflineDevicesInCore=e.showOfflineDevicesInCore),!0===e.showOfflineAmazonDevicesAsOnline&&(t.showOfflineAmazonDevicesAsOnline=e.showOfflineAmazonDevicesAsOnline),!0===e.includeLocalDevice&&(t.includeLocalDevice=e.includeLocalDevice),!0===e.excludeNonLocalDevices&&(t.excludeNonLocalDevices=e.excludeNonLocalDevices),t},create:e=>D.fromPartial(e??{}),fromPartial(e){const t={showOfflineDevicesInCore:!1,showOfflineAmazonDevicesAsOnline:!1,includeLocalDevice:!1,excludeNonLocalDevices:!1};return t.showOfflineDevicesInCore=e.showOfflineDevicesInCore??!1,t.showOfflineAmazonDevicesAsOnline=e.showOfflineAmazonDevicesAsOnline??!1,t.includeLocalDevice=e.includeLocalDevice??!1,t.excludeNonLocalDevices=e.excludeNonLocalDevices??!1,t}};const M={encode(e,t=r.Writer.create()){!0===e.isRunning&&t.uint32(8).bool(e.isRunning),!0===e.isConnected&&t.uint32(16).bool(e.isConnected),""!==e.localName&&t.uint32(26).string(e.localName),!0===e.shouldUseLocalPlayback&&t.uint32(32).bool(e.shouldUseLocalPlayback);for(const n of e.devices)U.encode(n,t.uint32(42).fork()).ldelim();return!0===e.isActive&&t.uint32(48).bool(e.isActive),!0===e.isActiveOnSameDevice&&t.uint32(56).bool(e.isActiveOnSameDevice),!0===e.isSyncedWithBackend&&t.uint32(64).bool(e.isSyncedWithBackend),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={isRunning:!1,isConnected:!1,localName:"",shouldUseLocalPlayback:!1,devices:[],isActive:!1,isActiveOnSameDevice:!1,isSyncedWithBackend:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.isRunning=n.bool();continue;case 2:if(16!==e)break;o.isConnected=n.bool();continue;case 3:if(26!==e)break;o.localName=n.string();continue;case 4:if(32!==e)break;o.shouldUseLocalPlayback=n.bool();continue;case 5:if(42!==e)break;o.devices.push(U.decode(n,n.uint32()));continue;case 6:if(48!==e)break;o.isActive=n.bool();continue;case 7:if(56!==e)break;o.isActiveOnSameDevice=n.bool();continue;case 8:if(64!==e)break;o.isSyncedWithBackend=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({isRunning:!!J(e.isRunning)&&Boolean(e.isRunning),isConnected:!!J(e.isConnected)&&Boolean(e.isConnected),localName:J(e.localName)?String(e.localName):"",shouldUseLocalPlayback:!!J(e.shouldUseLocalPlayback)&&Boolean(e.shouldUseLocalPlayback),devices:Array.isArray(e?.devices)?e.devices.map((e=>U.fromJSON(e))):[],isActive:!!J(e.isActive)&&Boolean(e.isActive),isActiveOnSameDevice:!!J(e.isActiveOnSameDevice)&&Boolean(e.isActiveOnSameDevice),isSyncedWithBackend:!!J(e.isSyncedWithBackend)&&Boolean(e.isSyncedWithBackend)}),toJSON(e){const t={};return!0===e.isRunning&&(t.isRunning=e.isRunning),!0===e.isConnected&&(t.isConnected=e.isConnected),""!==e.localName&&(t.localName=e.localName),!0===e.shouldUseLocalPlayback&&(t.shouldUseLocalPlayback=e.shouldUseLocalPlayback),e.devices?.length&&(t.devices=e.devices.map((e=>U.toJSON(e)))),!0===e.isActive&&(t.isActive=e.isActive),!0===e.isActiveOnSameDevice&&(t.isActiveOnSameDevice=e.isActiveOnSameDevice),!0===e.isSyncedWithBackend&&(t.isSyncedWithBackend=e.isSyncedWithBackend),t},create:e=>M.fromPartial(e??{}),fromPartial(e){const t={isRunning:!1,isConnected:!1,localName:"",shouldUseLocalPlayback:!1,devices:[],isActive:!1,isActiveOnSameDevice:!1,isSyncedWithBackend:!1};return t.isRunning=e.isRunning??!1,t.isConnected=e.isConnected??!1,t.localName=e.localName??"",t.shouldUseLocalPlayback=e.shouldUseLocalPlayback??!1,t.devices=e.devices?.map((e=>U.fromPartial(e)))||[],t.isActive=e.isActive??!1,t.isActiveOnSameDevice=e.isActiveOnSameDevice??!1,t.isSyncedWithBackend=e.isSyncedWithBackend??!1,t}};function x(){return{isSelf:!1,localIdentifier:"",deduplicationId:"",connectStateIdentifier:"",name:"",type:"",state:"",isDisabled:!1,isActive:!1,isBeingActivated:!1,isZeroconf:!1,isWebapp:!1,isConnect:!1,isLocal:!1,isGroup:!1,isOffline:!1,isSocialConnect:!1,creationTimeMs:BigInt("0"),volume:0,hifi:void 0,license:"",supportsOnDemand:!1,supportsVolume:!1,supportsLogout:!1,supportsRename:!1,supportsAlarm:!1,isVoiceEnabled:!1,isNewlyDiscovered:!1,supportedMediaTypes:[],brandDisplayName:"",modelDisplayName:"",volumeSteps:void 0,capabilities:void 0,incarnations:[],aliasId:void 0,supportsDj:void 0,libraryVersion:"",audioOutputDeviceName:void 0,audioOutputDeviceType:void 0}}const U={encode(e,t=r.Writer.create()){!0===e.isSelf&&t.uint32(8).bool(e.isSelf),""!==e.localIdentifier&&t.uint32(18).string(e.localIdentifier),""!==e.deduplicationId&&t.uint32(26).string(e.deduplicationId),""!==e.connectStateIdentifier&&t.uint32(34).string(e.connectStateIdentifier),""!==e.name&&t.uint32(42).string(e.name),""!==e.type&&t.uint32(50).string(e.type),""!==e.state&&t.uint32(58).string(e.state),!0===e.isDisabled&&t.uint32(64).bool(e.isDisabled),!0===e.isActive&&t.uint32(72).bool(e.isActive),!0===e.isBeingActivated&&t.uint32(80).bool(e.isBeingActivated),!0===e.isZeroconf&&t.uint32(88).bool(e.isZeroconf),!0===e.isWebapp&&t.uint32(96).bool(e.isWebapp),!0===e.isConnect&&t.uint32(104).bool(e.isConnect),!0===e.isLocal&&t.uint32(112).bool(e.isLocal),!0===e.isGroup&&t.uint32(120).bool(e.isGroup),!0===e.isOffline&&t.uint32(128).bool(e.isOffline),!0===e.isSocialConnect&&t.uint32(136).bool(e.isSocialConnect),e.creationTimeMs!==BigInt("0")&&t.uint32(144).uint64(e.creationTimeMs.toString()),0!==e.volume&&t.uint32(152).uint32(e.volume),void 0!==e.hifi&&V.encode(e.hifi,t.uint32(162).fork()).ldelim(),""!==e.license&&t.uint32(170).string(e.license),!0===e.supportsOnDemand&&t.uint32(176).bool(e.supportsOnDemand),!0===e.supportsVolume&&t.uint32(184).bool(e.supportsVolume),!0===e.supportsLogout&&t.uint32(192).bool(e.supportsLogout),!0===e.supportsRename&&t.uint32(200).bool(e.supportsRename),!0===e.supportsAlarm&&t.uint32(208).bool(e.supportsAlarm),!0===e.isVoiceEnabled&&t.uint32(216).bool(e.isVoiceEnabled),!0===e.isNewlyDiscovered&&t.uint32(224).bool(e.isNewlyDiscovered);for(const n of e.supportedMediaTypes)t.uint32(234).string(n);""!==e.brandDisplayName&&t.uint32(242).string(e.brandDisplayName),""!==e.modelDisplayName&&t.uint32(250).string(e.modelDisplayName),void 0!==e.volumeSteps&&t.uint32(256).uint32(e.volumeSteps),void 0!==e.capabilities&&t.uint32(266).string(e.capabilities);for(const n of e.incarnations)F.encode(n,t.uint32(274).fork()).ldelim();return void 0!==e.aliasId&&t.uint32(280).uint32(e.aliasId),void 0!==e.supportsDj&&t.uint32(288).bool(e.supportsDj),""!==e.libraryVersion&&t.uint32(298).string(e.libraryVersion),void 0!==e.audioOutputDeviceName&&t.uint32(306).string(e.audioOutputDeviceName),void 0!==e.audioOutputDeviceType&&t.uint32(314).string(e.audioOutputDeviceType),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=x();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.isSelf=n.bool();continue;case 2:if(18!==e)break;o.localIdentifier=n.string();continue;case 3:if(26!==e)break;o.deduplicationId=n.string();continue;case 4:if(34!==e)break;o.connectStateIdentifier=n.string();continue;case 5:if(42!==e)break;o.name=n.string();continue;case 6:if(50!==e)break;o.type=n.string();continue;case 7:if(58!==e)break;o.state=n.string();continue;case 8:if(64!==e)break;o.isDisabled=n.bool();continue;case 9:if(72!==e)break;o.isActive=n.bool();continue;case 10:if(80!==e)break;o.isBeingActivated=n.bool();continue;case 11:if(88!==e)break;o.isZeroconf=n.bool();continue;case 12:if(96!==e)break;o.isWebapp=n.bool();continue;case 13:if(104!==e)break;o.isConnect=n.bool();continue;case 14:if(112!==e)break;o.isLocal=n.bool();continue;case 15:if(120!==e)break;o.isGroup=n.bool();continue;case 16:if(128!==e)break;o.isOffline=n.bool();continue;case 17:if(136!==e)break;o.isSocialConnect=n.bool();continue;case 18:if(144!==e)break;o.creationTimeMs=(a=n.uint64(),BigInt(a.toString()));continue;case 19:if(152!==e)break;o.volume=n.uint32();continue;case 20:if(162!==e)break;o.hifi=V.decode(n,n.uint32());continue;case 21:if(170!==e)break;o.license=n.string();continue;case 22:if(176!==e)break;o.supportsOnDemand=n.bool();continue;case 23:if(184!==e)break;o.supportsVolume=n.bool();continue;case 24:if(192!==e)break;o.supportsLogout=n.bool();continue;case 25:if(200!==e)break;o.supportsRename=n.bool();continue;case 26:if(208!==e)break;o.supportsAlarm=n.bool();continue;case 27:if(216!==e)break;o.isVoiceEnabled=n.bool();continue;case 28:if(224!==e)break;o.isNewlyDiscovered=n.bool();continue;case 29:if(234!==e)break;o.supportedMediaTypes.push(n.string());continue;case 30:if(242!==e)break;o.brandDisplayName=n.string();continue;case 31:if(250!==e)break;o.modelDisplayName=n.string();continue;case 32:if(256!==e)break;o.volumeSteps=n.uint32();continue;case 33:if(266!==e)break;o.capabilities=n.string();continue;case 34:if(274!==e)break;o.incarnations.push(F.decode(n,n.uint32()));continue;case 35:if(280!==e)break;o.aliasId=n.uint32();continue;case 36:if(288!==e)break;o.supportsDj=n.bool();continue;case 37:if(298!==e)break;o.libraryVersion=n.string();continue;case 38:if(306!==e)break;o.audioOutputDeviceName=n.string();continue;case 39:if(314!==e)break;o.audioOutputDeviceType=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return o},fromJSON:e=>({isSelf:!!J(e.isSelf)&&Boolean(e.isSelf),localIdentifier:J(e.localIdentifier)?String(e.localIdentifier):"",deduplicationId:J(e.deduplicationId)?String(e.deduplicationId):"",connectStateIdentifier:J(e.connectStateIdentifier)?String(e.connectStateIdentifier):"",name:J(e.name)?String(e.name):"",type:J(e.type)?String(e.type):"",state:J(e.state)?String(e.state):"",isDisabled:!!J(e.isDisabled)&&Boolean(e.isDisabled),isActive:!!J(e.isActive)&&Boolean(e.isActive),isBeingActivated:!!J(e.isBeingActivated)&&Boolean(e.isBeingActivated),isZeroconf:!!J(e.isZeroconf)&&Boolean(e.isZeroconf),isWebapp:!!J(e.isWebapp)&&Boolean(e.isWebapp),isConnect:!!J(e.isConnect)&&Boolean(e.isConnect),isLocal:!!J(e.isLocal)&&Boolean(e.isLocal),isGroup:!!J(e.isGroup)&&Boolean(e.isGroup),isOffline:!!J(e.isOffline)&&Boolean(e.isOffline),isSocialConnect:!!J(e.isSocialConnect)&&Boolean(e.isSocialConnect),creationTimeMs:J(e.creationTimeMs)?BigInt(e.creationTimeMs):BigInt("0"),volume:J(e.volume)?Number(e.volume):0,hifi:J(e.hifi)?V.fromJSON(e.hifi):void 0,license:J(e.license)?String(e.license):"",supportsOnDemand:!!J(e.supportsOnDemand)&&Boolean(e.supportsOnDemand),supportsVolume:!!J(e.supportsVolume)&&Boolean(e.supportsVolume),supportsLogout:!!J(e.supportsLogout)&&Boolean(e.supportsLogout),supportsRename:!!J(e.supportsRename)&&Boolean(e.supportsRename),supportsAlarm:!!J(e.supportsAlarm)&&Boolean(e.supportsAlarm),isVoiceEnabled:!!J(e.isVoiceEnabled)&&Boolean(e.isVoiceEnabled),isNewlyDiscovered:!!J(e.isNewlyDiscovered)&&Boolean(e.isNewlyDiscovered),supportedMediaTypes:Array.isArray(e?.supportedMediaTypes)?e.supportedMediaTypes.map((e=>String(e))):[],brandDisplayName:J(e.brandDisplayName)?String(e.brandDisplayName):"",modelDisplayName:J(e.modelDisplayName)?String(e.modelDisplayName):"",volumeSteps:J(e.volumeSteps)?Number(e.volumeSteps):void 0,capabilities:J(e.capabilities)?String(e.capabilities):void 0,incarnations:Array.isArray(e?.incarnations)?e.incarnations.map((e=>F.fromJSON(e))):[],aliasId:J(e.aliasId)?Number(e.aliasId):void 0,supportsDj:J(e.supportsDj)?Boolean(e.supportsDj):void 0,libraryVersion:J(e.libraryVersion)?String(e.libraryVersion):"",audioOutputDeviceName:J(e.audioOutputDeviceName)?String(e.audioOutputDeviceName):void 0,audioOutputDeviceType:J(e.audioOutputDeviceType)?String(e.audioOutputDeviceType):void 0}),toJSON(e){const t={};return!0===e.isSelf&&(t.isSelf=e.isSelf),""!==e.localIdentifier&&(t.localIdentifier=e.localIdentifier),""!==e.deduplicationId&&(t.deduplicationId=e.deduplicationId),""!==e.connectStateIdentifier&&(t.connectStateIdentifier=e.connectStateIdentifier),""!==e.name&&(t.name=e.name),""!==e.type&&(t.type=e.type),""!==e.state&&(t.state=e.state),!0===e.isDisabled&&(t.isDisabled=e.isDisabled),!0===e.isActive&&(t.isActive=e.isActive),!0===e.isBeingActivated&&(t.isBeingActivated=e.isBeingActivated),!0===e.isZeroconf&&(t.isZeroconf=e.isZeroconf),!0===e.isWebapp&&(t.isWebapp=e.isWebapp),!0===e.isConnect&&(t.isConnect=e.isConnect),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isGroup&&(t.isGroup=e.isGroup),!0===e.isOffline&&(t.isOffline=e.isOffline),!0===e.isSocialConnect&&(t.isSocialConnect=e.isSocialConnect),e.creationTimeMs!==BigInt("0")&&(t.creationTimeMs=e.creationTimeMs.toString()),0!==e.volume&&(t.volume=Math.round(e.volume)),void 0!==e.hifi&&(t.hifi=V.toJSON(e.hifi)),""!==e.license&&(t.license=e.license),!0===e.supportsOnDemand&&(t.supportsOnDemand=e.supportsOnDemand),!0===e.supportsVolume&&(t.supportsVolume=e.supportsVolume),!0===e.supportsLogout&&(t.supportsLogout=e.supportsLogout),!0===e.supportsRename&&(t.supportsRename=e.supportsRename),!0===e.supportsAlarm&&(t.supportsAlarm=e.supportsAlarm),!0===e.isVoiceEnabled&&(t.isVoiceEnabled=e.isVoiceEnabled),!0===e.isNewlyDiscovered&&(t.isNewlyDiscovered=e.isNewlyDiscovered),e.supportedMediaTypes?.length&&(t.supportedMediaTypes=e.supportedMediaTypes),""!==e.brandDisplayName&&(t.brandDisplayName=e.brandDisplayName),""!==e.modelDisplayName&&(t.modelDisplayName=e.modelDisplayName),void 0!==e.volumeSteps&&(t.volumeSteps=Math.round(e.volumeSteps)),void 0!==e.capabilities&&(t.capabilities=e.capabilities),e.incarnations?.length&&(t.incarnations=e.incarnations.map((e=>F.toJSON(e)))),void 0!==e.aliasId&&(t.aliasId=Math.round(e.aliasId)),void 0!==e.supportsDj&&(t.supportsDj=e.supportsDj),""!==e.libraryVersion&&(t.libraryVersion=e.libraryVersion),void 0!==e.audioOutputDeviceName&&(t.audioOutputDeviceName=e.audioOutputDeviceName),void 0!==e.audioOutputDeviceType&&(t.audioOutputDeviceType=e.audioOutputDeviceType),t},create:e=>U.fromPartial(e??{}),fromPartial(e){const t=x();return t.isSelf=e.isSelf??!1,t.localIdentifier=e.localIdentifier??"",t.deduplicationId=e.deduplicationId??"",t.connectStateIdentifier=e.connectStateIdentifier??"",t.name=e.name??"",t.type=e.type??"",t.state=e.state??"",t.isDisabled=e.isDisabled??!1,t.isActive=e.isActive??!1,t.isBeingActivated=e.isBeingActivated??!1,t.isZeroconf=e.isZeroconf??!1,t.isWebapp=e.isWebapp??!1,t.isConnect=e.isConnect??!1,t.isLocal=e.isLocal??!1,t.isGroup=e.isGroup??!1,t.isOffline=e.isOffline??!1,t.isSocialConnect=e.isSocialConnect??!1,t.creationTimeMs=e.creationTimeMs??BigInt("0"),t.volume=e.volume??0,t.hifi=void 0!==e.hifi&&null!==e.hifi?V.fromPartial(e.hifi):void 0,t.license=e.license??"",t.supportsOnDemand=e.supportsOnDemand??!1,t.supportsVolume=e.supportsVolume??!1,t.supportsLogout=e.supportsLogout??!1,t.supportsRename=e.supportsRename??!1,t.supportsAlarm=e.supportsAlarm??!1,t.isVoiceEnabled=e.isVoiceEnabled??!1,t.isNewlyDiscovered=e.isNewlyDiscovered??!1,t.supportedMediaTypes=e.supportedMediaTypes?.map((e=>e))||[],t.brandDisplayName=e.brandDisplayName??"",t.modelDisplayName=e.modelDisplayName??"",t.volumeSteps=e.volumeSteps??void 0,t.capabilities=e.capabilities??void 0,t.incarnations=e.incarnations?.map((e=>F.fromPartial(e)))||[],t.aliasId=e.aliasId??void 0,t.supportsDj=e.supportsDj??void 0,t.libraryVersion=e.libraryVersion??"",t.audioOutputDeviceName=e.audioOutputDeviceName??void 0,t.audioOutputDeviceType=e.audioOutputDeviceType??void 0,t}};const V={encode:(e,t=r.Writer.create())=>(!0===e.fullySupported&&t.uint32(8).bool(e.fullySupported),!0===e.userEligible&&t.uint32(16).bool(e.userEligible),!0===e.deviceSupported&&t.uint32(24).bool(e.deviceSupported),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={fullySupported:!1,userEligible:!1,deviceSupported:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.fullySupported=n.bool();continue;case 2:if(16!==e)break;o.userEligible=n.bool();continue;case 3:if(24!==e)break;o.deviceSupported=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({fullySupported:!!J(e.fullySupported)&&Boolean(e.fullySupported),userEligible:!!J(e.userEligible)&&Boolean(e.userEligible),deviceSupported:!!J(e.deviceSupported)&&Boolean(e.deviceSupported)}),toJSON(e){const t={};return!0===e.fullySupported&&(t.fullySupported=e.fullySupported),!0===e.userEligible&&(t.userEligible=e.userEligible),!0===e.deviceSupported&&(t.deviceSupported=e.deviceSupported),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t={fullySupported:!1,userEligible:!1,deviceSupported:!1};return t.fullySupported=e.fullySupported??!1,t.userEligible=e.userEligible??!1,t.deviceSupported=e.deviceSupported??!1,t}};const F={encode:(e,t=r.Writer.create())=>(0!==e.loginType&&t.uint32(8).int32(e.loginType),""!==e.identifier&&t.uint32(18).string(e.identifier),!0===e.preferred&&t.uint32(24).bool(e.preferred),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={loginType:0,identifier:"",preferred:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.loginType=n.int32();continue;case 2:if(18!==e)break;o.identifier=n.string();continue;case 3:if(24!==e)break;o.preferred=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({loginType:J(e.loginType)?O(e.loginType):0,identifier:J(e.identifier)?String(e.identifier):"",preferred:!!J(e.preferred)&&Boolean(e.preferred)}),toJSON(e){const t={};return 0!==e.loginType&&(t.loginType=C(e.loginType)),""!==e.identifier&&(t.identifier=e.identifier),!0===e.preferred&&(t.preferred=e.preferred),t},create:e=>F.fromPartial(e??{}),fromPartial(e){const t={loginType:0,identifier:"",preferred:!1};return t.loginType=e.loginType??0,t.identifier=e.identifier??"",t.preferred=e.preferred??!1,t}};const B={encode:(e,t=r.Writer.create())=>(void 0!==e.audioOutputDeviceName&&t.uint32(10).string(e.audioOutputDeviceName),void 0!==e.audioOutputDeviceType&&t.uint32(18).string(e.audioOutputDeviceType),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={audioOutputDeviceName:void 0,audioOutputDeviceType:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.audioOutputDeviceName=n.string();continue;case 2:if(18!==e)break;o.audioOutputDeviceType=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({audioOutputDeviceName:J(e.audioOutputDeviceName)?String(e.audioOutputDeviceName):void 0,audioOutputDeviceType:J(e.audioOutputDeviceType)?String(e.audioOutputDeviceType):void 0}),toJSON(e){const t={};return void 0!==e.audioOutputDeviceName&&(t.audioOutputDeviceName=e.audioOutputDeviceName),void 0!==e.audioOutputDeviceType&&(t.audioOutputDeviceType=e.audioOutputDeviceType),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={audioOutputDeviceName:void 0,audioOutputDeviceType:void 0};return t.audioOutputDeviceName=e.audioOutputDeviceName??void 0,t.audioOutputDeviceType=e.audioOutputDeviceType??void 0,t}};const H={encode:(e,t=r.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),""!==e.newName&&t.uint32(18).string(e.newName),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={deviceId:"",newName:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue;case 2:if(18!==e)break;o.newName=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:J(e.deviceId)?String(e.deviceId):"",newName:J(e.newName)?String(e.newName):""}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),""!==e.newName&&(t.newName=e.newName),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={deviceId:"",newName:""};return t.deviceId=e.deviceId??"",t.newName=e.newName??"",t}};const G={encode:(e,t=r.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),0!==e.preferredLoginType&&t.uint32(16).int32(e.preferredLoginType),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={deviceId:"",preferredLoginType:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue;case 2:if(16!==e)break;o.preferredLoginType=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:J(e.deviceId)?String(e.deviceId):"",preferredLoginType:J(e.preferredLoginType)?O(e.preferredLoginType):0}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),0!==e.preferredLoginType&&(t.preferredLoginType=C(e.preferredLoginType)),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={deviceId:"",preferredLoginType:0};return t.deviceId=e.deviceId??"",t.preferredLoginType=e.preferredLoginType??0,t}};const W={encode:(e,t=r.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={deviceId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:J(e.deviceId)?String(e.deviceId):""}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={deviceId:""};return t.deviceId=e.deviceId??"",t}};const j={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),void 0!==e.deviceSettings&&z.encode(e.deviceSettings,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0,deviceSettings:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue;case 2:if(18!==e)break;o.deviceSettings=z.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:J(e.status)?v(e.status):0,deviceSettings:J(e.deviceSettings)?z.fromJSON(e.deviceSettings):void 0}),toJSON(e){const t={};return 0!==e.status&&(t.status=y(e.status)),void 0!==e.deviceSettings&&(t.deviceSettings=z.toJSON(e.deviceSettings)),t},create:e=>j.fromPartial(e??{}),fromPartial(e){const t={status:0,deviceSettings:void 0};return t.status=e.status??0,t.deviceSettings=void 0!==e.deviceSettings&&null!==e.deviceSettings?z.fromPartial(e.deviceSettings):void 0,t}};const Y={encode:(e,t=r.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),0!==e.value&&t.uint32(16).int32(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={deviceId:"",value:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.deviceId=n.string();continue;case 2:if(16!==e)break;o.value=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({deviceId:J(e.deviceId)?String(e.deviceId):"",value:J(e.value)?Number(e.value):0}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),0!==e.value&&(t.value=Math.round(e.value)),t},create:e=>Y.fromPartial(e??{}),fromPartial(e){const t={deviceId:"",value:0};return t.deviceId=e.deviceId??"",t.value=e.value??0,t}};const z={encode:(e,t=r.Writer.create())=>(0!==e.streamQuality&&t.uint32(8).int32(e.streamQuality),void 0!==e.capabilities&&K.encode(e.capabilities,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={streamQuality:0,capabilities:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.streamQuality=n.int32();continue;case 2:if(18!==e)break;o.capabilities=K.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({streamQuality:J(e.streamQuality)?Number(e.streamQuality):0,capabilities:J(e.capabilities)?K.fromJSON(e.capabilities):void 0}),toJSON(e){const t={};return 0!==e.streamQuality&&(t.streamQuality=Math.round(e.streamQuality)),void 0!==e.capabilities&&(t.capabilities=K.toJSON(e.capabilities)),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t={streamQuality:0,capabilities:void 0};return t.streamQuality=e.streamQuality??0,t.capabilities=void 0!==e.capabilities&&null!==e.capabilities?K.fromPartial(e.capabilities):void 0,t}};const K={encode:(e,t=r.Writer.create())=>(0!==e.maxSupportedStreamQuality&&t.uint32(8).int32(e.maxSupportedStreamQuality),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={maxSupportedStreamQuality:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.maxSupportedStreamQuality=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({maxSupportedStreamQuality:J(e.maxSupportedStreamQuality)?Number(e.maxSupportedStreamQuality):0}),toJSON(e){const t={};return 0!==e.maxSupportedStreamQuality&&(t.maxSupportedStreamQuality=Math.round(e.maxSupportedStreamQuality)),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={maxSupportedStreamQuality:0};return t.maxSupportedStreamQuality=e.maxSupportedStreamQuality??0,t}};function J(e){return null!=e}var q;r.util.Long!==E&&(r.util.Long=E,r.configure()),function(e){e[e.USER=0]="USER",e[e.SYSTEM=1]="SYSTEM",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(q||(q={}));const X={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>X.fromPartial(e??{}),fromPartial:e=>({})};const $={encode:(e,t=r.Writer.create())=>(0!==e.value&&t.uint32(8).int32(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={value:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.value=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({value:ne(e.value)?Number(e.value):0}),toJSON(e){const t={};return 0!==e.value&&(t.value=Math.round(e.value)),t},create:e=>$.fromPartial(e??{}),fromPartial(e){const t={value:0};return t.value=e.value??0,t}};function Z(){return{value:new Uint8Array(0)}}const Q={encode:(e,t=r.Writer.create())=>(0!==e.value.length&&t.uint32(10).bytes(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=Z();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.value=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({value:ne(e.value)?te(e.value):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.value.length&&(t.value=function(e){if(ee.Buffer)return ee.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),ee.btoa(t.join(""))}}(e.value)),t},create:e=>Q.fromPartial(e??{}),fromPartial(e){const t=Z();return t.value=e.value??new Uint8Array(0),t}},ee=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function te(e){if(ee.Buffer)return Uint8Array.from(ee.Buffer.from(e,"base64"));{const t=ee.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function ne(e){return null!=e}r.util.Long!==E&&(r.util.Long=E,r.configure());u.decode,c.decode,d.decode,c.decode,X.decode,d.decode,Q.decode,c.decode,X.decode,Q.decode,d.decode,X.decode,X.decode,p.decode,h.decode,X.decode;class ie{transport;options;constructor(e,t={}){this.transport=e,this.options=t}state(e,t){const n=ie.SERVICE_ID,i="State",o=D.fromPartial(e),a=D.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=M.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}startDiscovery(e,t){const n=ie.SERVICE_ID,i="StartDiscovery",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}forceDiscover(e,t){const n=ie.SERVICE_ID,i="ForceDiscover",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}performDiscovery(e,t){const n=ie.SERVICE_ID,i="PerformDiscovery",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}pickerOpened(e,t){const n=ie.SERVICE_ID,i="PickerOpened",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}refreshCluster(e,t){const n=ie.SERVICE_ID,i="RefreshCluster",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}wakeSleepingClusterDevices(e,t){const n=ie.SERVICE_ID,i="WakeSleepingClusterDevices",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}installSpotify(e,t){const n=ie.SERVICE_ID,i="InstallSpotify",o=P.fromPartial(e),a=P.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}logout(e,t){const n=ie.SERVICE_ID,i="Logout",o=R.fromPartial(e),a=R.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=b.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}transfer(e,t){const n=ie.SERVICE_ID,i="Transfer",o=N.fromPartial(e),a=N.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=b.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}sendCommand(e,t){const n=ie.SERVICE_ID,i="SendCommand",o=L.fromPartial(e),a=L.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=k.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}cancelTransfer(e,t){const n=ie.SERVICE_ID,i="CancelTransfer",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}pull(e,t){const n=ie.SERVICE_ID,i="Pull",o=w.fromPartial(e),a=w.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=b.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}setDebugLevel(e,t){const n=ie.SERVICE_ID,i="SetDebugLevel",o=$.fromPartial(e),a=$.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getDebugLevel(e,t){const n=ie.SERVICE_ID,i="GetDebugLevel",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=$.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}becomeInactive(e,t){const n=ie.SERVICE_ID,i="BecomeInactive",o=X.fromPartial(e),a=X.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}rename(e,t){const n=ie.SERVICE_ID,i="Rename",o=H.fromPartial(e),a=H.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=b.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}setPreferredZeroconf(e,t){const n=ie.SERVICE_ID,i="SetPreferredZeroconf",o=G.fromPartial(e),a=G.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=b.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}notifyAudioRouteChanged(e,t){const n=ie.SERVICE_ID,i="NotifyAudioRouteChanged",o=B.fromPartial(e),a=B.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=X.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getDeviceSettings(e,t){const n=ie.SERVICE_ID,i="GetDeviceSettings",o=W.fromPartial(e),a=W.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=j.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}setDeviceStreamQuality(e,t){const n=ie.SERVICE_ID,i="SetDeviceStreamQuality",o=Y.fromPartial(e),a=Y.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=b.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.connect.esperanto.proto.ConnectService";static METHODS={state:{isStreaming:!0,requestType:D,responseType:M},startDiscovery:{isStreaming:!1,requestType:X,responseType:X},forceDiscover:{isStreaming:!1,requestType:X,responseType:X},performDiscovery:{isStreaming:!1,requestType:X,responseType:X},pickerOpened:{isStreaming:!1,requestType:X,responseType:X},refreshCluster:{isStreaming:!1,requestType:X,responseType:X},wakeSleepingClusterDevices:{isStreaming:!1,requestType:X,responseType:X},installSpotify:{isStreaming:!1,requestType:P,responseType:X},logout:{isStreaming:!1,requestType:R,responseType:b},transfer:{isStreaming:!1,requestType:N,responseType:b},sendCommand:{isStreaming:!1,requestType:L,responseType:k},cancelTransfer:{isStreaming:!1,requestType:X,responseType:X},pull:{isStreaming:!1,requestType:w,responseType:b},setDebugLevel:{isStreaming:!1,requestType:$,responseType:X},getDebugLevel:{isStreaming:!1,requestType:X,responseType:$},becomeInactive:{isStreaming:!1,requestType:X,responseType:X},rename:{isStreaming:!1,requestType:H,responseType:b},setPreferredZeroconf:{isStreaming:!1,requestType:G,responseType:b},notifyAudioRouteChanged:{isStreaming:!1,requestType:B,responseType:X},getDeviceSettings:{isStreaming:!1,requestType:W,responseType:j},setDeviceStreamQuality:{isStreaming:!1,requestType:Y,responseType:b}};static DECODERS={State:{request:D.decode,response:M.decode},StartDiscovery:{request:X.decode,response:X.decode},ForceDiscover:{request:X.decode,response:X.decode},PerformDiscovery:{request:X.decode,response:X.decode},PickerOpened:{request:X.decode,response:X.decode},RefreshCluster:{request:X.decode,response:X.decode},WakeSleepingClusterDevices:{request:X.decode,response:X.decode},InstallSpotify:{request:P.decode,response:X.decode},Logout:{request:R.decode,response:b.decode},Transfer:{request:N.decode,response:b.decode},SendCommand:{request:L.decode,response:k.decode},CancelTransfer:{request:X.decode,response:X.decode},Pull:{request:w.decode,response:b.decode},SetDebugLevel:{request:$.decode,response:X.decode},GetDebugLevel:{request:X.decode,response:$.decode},BecomeInactive:{request:X.decode,response:X.decode},Rename:{request:H.decode,response:b.decode},SetPreferredZeroconf:{request:G.decode,response:b.decode},NotifyAudioRouteChanged:{request:B.decode,response:X.decode},GetDeviceSettings:{request:W.decode,response:j.decode},SetDeviceStreamQuality:{request:Y.decode,response:b.decode}}}},78543:(e,t,n)=>{"use strict";n.d(t,{BM:()=>h});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(""!==e.Ident&&t.uint32(10).string(e.Ident),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={Ident:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.Ident=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{Ident:(t=e.Ident,null!=t?String(e.Ident):"")};var t},toJSON(e){const t={};return""!==e.Ident&&(t.Ident=e.Ident),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={Ident:""};return t.Ident=e.Ident??"",t}};const r={encode:(e,t=i.Writer.create())=>(""!==e.Key&&t.uint32(10).string(e.Key),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={Key:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.Key=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{Key:(t=e.Key,null!=t?String(e.Key):"")};var t},toJSON(e){const t={};return""!==e.Key&&(t.Key=e.Key),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={Key:""};return t.Key=e.Key??"",t}};const a={encode(e,t=i.Writer.create()){void 0!==e.Ident&&o.encode(e.Ident,t.uint32(10).fork()).ldelim();for(const n of e.Payloads)t.uint32(18).bytes(n);return Object.entries(e.Attributes).forEach((([e,n])=>{s.encode({key:e,value:n},t.uint32(26).fork()).ldelim()})),void 0!==e.Key&&r.encode(e.Key,t.uint32(34).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let a=void 0===t?n.len:n.pos+t;const c={Ident:void 0,Payloads:[],Attributes:{},Key:void 0};for(;n.pos<a;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;c.Ident=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;c.Payloads.push(n.bytes());continue;case 3:if(26!==e)break;const t=s.decode(n,n.uint32());void 0!==t.value&&(c.Attributes[t.key]=t.value);continue;case 4:if(34!==e)break;c.Key=r.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return c},fromJSON(e){return{Ident:l(e.Ident)?o.fromJSON(e.Ident):void 0,Payloads:Array.isArray(e?.Payloads)?e.Payloads.map((e=>function(e){if(c.Buffer)return Uint8Array.from(c.Buffer.from(e,"base64"));{const t=c.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}(e))):[],Attributes:(t=e.Attributes,"object"==typeof t&&null!==t?Object.entries(e.Attributes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),Key:l(e.Key)?r.fromJSON(e.Key):void 0};var t},toJSON(e){const t={};if(void 0!==e.Ident&&(t.Ident=o.toJSON(e.Ident)),e.Payloads?.length&&(t.Payloads=e.Payloads.map((e=>function(e){if(c.Buffer)return c.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),c.btoa(t.join(""))}}(e)))),e.Attributes){const n=Object.entries(e.Attributes);n.length>0&&(t.Attributes={},n.forEach((([e,n])=>{t.Attributes[e]=n})))}return void 0!==e.Key&&(t.Key=r.toJSON(e.Key)),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={Ident:void 0,Payloads:[],Attributes:{},Key:void 0};return t.Ident=void 0!==e.Ident&&null!==e.Ident?o.fromPartial(e.Ident):void 0,t.Payloads=e.Payloads?.map((e=>e))||[],t.Attributes=Object.entries(e.Attributes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.Key=void 0!==e.Key&&null!==e.Key?r.fromPartial(e.Key):void 0,t}};const s={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:l(e.key)?String(e.key):"",value:l(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}},c=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function l(e){return null!=e}const u={encode:(e,t=i.Writer.create())=>(""!==e.Prefix&&t.uint32(10).string(e.Prefix),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={Prefix:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.Prefix=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{Prefix:(t=e.Prefix,null!=t?String(e.Prefix):"")};var t},toJSON(e){const t={};return""!==e.Prefix&&(t.Prefix=e.Prefix),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={Prefix:""};return t.Prefix=e.Prefix??"",t}};const d={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>d.fromPartial(e??{}),fromPartial:e=>({})};const p={encode:(e,t=i.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.id=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{id:(t=e.id,null!=t?String(e.id):"")};var t},toJSON(e){const t={};return""!==e.id&&(t.id=e.id),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={id:""};return t.id=e.id??"",t}};class h{transport;options;constructor(e,t={}){this.transport=e,this.options=t}addOnPushedMessageForIdent(e,t){const n=h.SERVICE_ID,r="addOnPushedMessageForIdent",s=o.fromPartial(e),c=o.encode(s).finish();return this.options.onRequest?.(s,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:c},(e=>{const o=a.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}addOnPushedMessageForIdentFilter(e,t){const n=h.SERVICE_ID,o="addOnPushedMessageForIdentFilter",r=u.fromPartial(e),s=u.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:s},(e=>{const r=a.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}addOnNewConnectionID(e,t){const n=h.SERVICE_ID,o="addOnNewConnectionID",r=d.fromPartial(e),a=d.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=p.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}static SERVICE_ID="spotify.connectivity.pubsub.esperanto.proto.PubSub";static METHODS={addOnPushedMessageForIdent:{isStreaming:!0,requestType:o,responseType:a},addOnPushedMessageForIdentFilter:{isStreaming:!0,requestType:u,responseType:a},addOnNewConnectionID:{isStreaming:!0,requestType:d,responseType:p}};static DECODERS={addOnPushedMessageForIdent:{request:o.decode,response:a.decode},addOnPushedMessageForIdentFilter:{request:u.decode,response:a.decode},addOnNewConnectionID:{request:d.decode,response:p.decode}}}},92124:(e,t,n)=>{"use strict";n.d(t,{r:()=>l});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};const r={encode:(e,t=i.Writer.create())=>(void 0!==e.logMessage&&t.uint32(10).string(e.logMessage),void 0!==e.realTime&&a.encode(e.realTime,t.uint32(18).fork()).ldelim(),void 0!==e.error&&s.encode(e.error,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={logMessage:void 0,realTime:void 0,error:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.logMessage=n.string();continue;case 2:if(18!==e)break;r.realTime=a.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.error=s.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({logMessage:c(e.logMessage)?String(e.logMessage):void 0,realTime:c(e.realTime)?a.fromJSON(e.realTime):void 0,error:c(e.error)?s.fromJSON(e.error):void 0}),toJSON(e){const t={};return void 0!==e.logMessage&&(t.logMessage=e.logMessage),void 0!==e.realTime&&(t.realTime=a.toJSON(e.realTime)),void 0!==e.error&&(t.error=s.toJSON(e.error)),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={logMessage:void 0,realTime:void 0,error:void 0};return t.logMessage=e.logMessage??void 0,t.realTime=void 0!==e.realTime&&null!==e.realTime?a.fromPartial(e.realTime):void 0,t.error=void 0!==e.error&&null!==e.error?s.fromPartial(e.error):void 0,t}};const a={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>a.fromPartial(e??{}),fromPartial:e=>({})};const s={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>s.fromPartial(e??{}),fromPartial:e=>({})};function c(e){return null!=e}class l{transport;options;constructor(e,t={}){this.transport=e,this.options=t}subMessage(e,t){const n=l.SERVICE_ID,a="SubMessage",s=o.fromPartial(e),c=o.encode(s).finish();return this.options.onRequest?.(s,n,a,"stream"),this.transport.callStream({service:n,method:a,payload:c},(e=>{const o=r.decode(i.Reader.create(e));this.options.onResponse?.(o,n,a,"stream"),t(o)}))}static SERVICE_ID="spotify.analytics_esperanto.proto.AnalyticsService";static METHODS={subMessage:{isStreaming:!0,requestType:o,responseType:r}};static DECODERS={SubMessage:{request:o.decode,response:r.decode}}}},49875:(e,t,n)=>{"use strict";n.d(t,{pt:()=>M});var i=n(24848);var o,r=n(87252);function a(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return o.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return o.CANVAZ;case 2:case"STORYLINES":return o.STORYLINES;case 3:case"PODCAST_TOPICS":return o.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return o.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return o.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return o.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return o.PODCAST_COUNTER;case 8:case"ARTIST_V4":return o.ARTIST_V4;case 9:case"ALBUM_V4":return o.ALBUM_V4;case 10:case"TRACK_V4":return o.TRACK_V4;case 11:case"SHOW_V4":return o.SHOW_V4;case 12:case"EPISODE_V4":return o.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return o.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return o.PODCAST_QUOTES;case 15:case"USER_PROFILE":return o.USER_PROFILE;case 16:case"CANVAS_V1":return o.CANVAS_V1;case 17:case"SHOW_V4_BASE":return o.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return o.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return o.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return o.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return o.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return o.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return o.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return o.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return o.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return o.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return o.AUTOMIX_MODE;case 28:case"CUEPOINTS":return o.CUEPOINTS;case 29:case"PODCAST_POLL":return o.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return o.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return o.SHOW_ACCESS;case 32:case"PODCAST_QNA":return o.PODCAST_QNA;case 33:case"CLIPS":return o.CLIPS;case 34:case"SHOW_V5":return o.SHOW_V5;case 35:case"EPISODE_V5":return o.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return o.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return o.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return o.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return o.GREENROOM;case 40:case"USER_CREATED":return o.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return o.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return o.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return o.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return o.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return o.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return o.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return o.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return o.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return o.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return o.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return o.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return o.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return o.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return o.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return o.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return o.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return o.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return o.CONTENT_WARNING;case 59:case"IMAGE_CUE":return o.IMAGE_CUE;case 60:case"STREAM_COUNT":return o.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return o.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return o.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return o.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return o.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return o.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return o.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return o.LIVE;case 68:case"SKIP_PLAYED":return o.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return o.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return o.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return o.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return o.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return o.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return o.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return o.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return o.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return o.PODCAST_GUEST;case 78:case"PLAYABILITY":return o.PLAYABILITY;case 79:case"COVER_IMAGE":return o.COVER_IMAGE;case 80:case"SHARE_TRAIT":return o.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return o.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return o.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return o.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return o.CONCEPT;case 85:case"ORIGINAL_VIDEO":return o.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return o.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return o.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return o.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return o.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return o.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return o.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return o.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return o.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return o.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return o.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return o.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return o.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return o.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return o.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return o.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return o.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return o.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return o.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return o.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return o.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return o.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return o.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return o.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return o.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return o.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return o.MERCH;case 113:case"COMPANION_CONTENT":return o.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return o.WATCH_FEED_ENTITY_EXPLORER;default:return o.UNRECOGNIZED}}function s(e){switch(e){case o.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case o.CANVAZ:return"CANVAZ";case o.STORYLINES:return"STORYLINES";case o.PODCAST_TOPICS:return"PODCAST_TOPICS";case o.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case o.AUDIO_FILES:return"AUDIO_FILES";case o.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case o.PODCAST_COUNTER:return"PODCAST_COUNTER";case o.ARTIST_V4:return"ARTIST_V4";case o.ALBUM_V4:return"ALBUM_V4";case o.TRACK_V4:return"TRACK_V4";case o.SHOW_V4:return"SHOW_V4";case o.EPISODE_V4:return"EPISODE_V4";case o.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case o.PODCAST_QUOTES:return"PODCAST_QUOTES";case o.USER_PROFILE:return"USER_PROFILE";case o.CANVAS_V1:return"CANVAS_V1";case o.SHOW_V4_BASE:return"SHOW_V4_BASE";case o.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case o.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case o.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case o.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case o.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case o.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case o.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case o.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case o.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case o.AUTOMIX_MODE:return"AUTOMIX_MODE";case o.CUEPOINTS:return"CUEPOINTS";case o.PODCAST_POLL:return"PODCAST_POLL";case o.EPISODE_ACCESS:return"EPISODE_ACCESS";case o.SHOW_ACCESS:return"SHOW_ACCESS";case o.PODCAST_QNA:return"PODCAST_QNA";case o.CLIPS:return"CLIPS";case o.SHOW_V5:return"SHOW_V5";case o.EPISODE_V5:return"EPISODE_V5";case o.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case o.PODCAST_RATING:return"PODCAST_RATING";case o.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case o.GREENROOM:return"GREENROOM";case o.USER_CREATED:return"USER_CREATED";case o.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case o.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case o.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case o.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case o.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case o.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case o.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case o.CLIENT_CONFIG:return"CLIENT_CONFIG";case o.PLAYLISTABILITY:return"PLAYLISTABILITY";case o.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case o.CHAPTER_V5:return"CHAPTER_V5";case o.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case o.EPISODE_RANKING:return"EPISODE_RANKING";case o.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case o.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case o.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case o.PLAY_TRAIT:return"PLAY_TRAIT";case o.CONTENT_WARNING:return"CONTENT_WARNING";case o.IMAGE_CUE:return"IMAGE_CUE";case o.STREAM_COUNT:return"STREAM_COUNT";case o.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case o.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case o.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case o.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case o.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case o.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case o.LIVE:return"LIVE";case o.SKIP_PLAYED:return"SKIP_PLAYED";case o.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case o.ASSOCIATIONS:return"ASSOCIATIONS";case o.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case o.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case o.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case o.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case o.USER_COMMENTS:return"USER_COMMENTS";case o.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case o.PODCAST_GUEST:return"PODCAST_GUEST";case o.PLAYABILITY:return"PLAYABILITY";case o.COVER_IMAGE:return"COVER_IMAGE";case o.SHARE_TRAIT:return"SHARE_TRAIT";case o.INSTANCE_SHARING:return"INSTANCE_SHARING";case o.ARTIST_TOUR:return"ARTIST_TOUR";case o.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case o.CONCEPT:return"CONCEPT";case o.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case o.SMART_SHUFFLE:return"SMART_SHUFFLE";case o.LIVE_EVENTS:return"LIVE_EVENTS";case o.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case o.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case o.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case o.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case o.FEWER_ADS:return"FEWER_ADS";case o.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case o.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case o.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case o.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case o.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case o.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case o.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case o.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case o.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case o.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case o.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case o.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case o.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case o.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case o.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case o.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case o.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case o.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case o.MERCH:return"MERCH";case o.COMPANION_CONTENT:return"COMPANION_CONTENT";case o.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case o.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(o||(o={}));(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();var c,l;!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.FULL=1]="FULL",e[e.TRAILER=2]="TRAILER",e[e.BONUS=3]="BONUS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(c||(c={})),function(e){e[e.VODCAST=0]="VODCAST",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(l||(l={}));i.util.Long!==r&&(i.util.Long=r,i.configure());var u;function d(e){switch(e){case 0:case"ASSOC_TYPE_UNSPECIFIED":return u.ASSOC_TYPE_UNSPECIFIED;case 1:case"IS_PRIMARILY_ABOUT":return u.IS_PRIMARILY_ABOUT;case 2:case"HAS_RELATED_CONTENT":return u.HAS_RELATED_CONTENT;default:return u.UNRECOGNIZED}}function p(e){switch(e){case u.ASSOC_TYPE_UNSPECIFIED:return"ASSOC_TYPE_UNSPECIFIED";case u.IS_PRIMARILY_ABOUT:return"IS_PRIMARILY_ABOUT";case u.HAS_RELATED_CONTENT:return"HAS_RELATED_CONTENT";case u.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.ASSOC_TYPE_UNSPECIFIED=0]="ASSOC_TYPE_UNSPECIFIED",e[e.IS_PRIMARILY_ABOUT=1]="IS_PRIMARILY_ABOUT",e[e.HAS_RELATED_CONTENT=2]="HAS_RELATED_CONTENT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(u||(u={}));const h={encode(e,t=i.Writer.create()){""!==e.originUri&&t.uint32(10).string(e.originUri);for(const n of e.association)f.encode(n,t.uint32(18).fork()).ldelim();return void 0!==e.errorDescription&&t.uint32(26).string(e.errorDescription),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={originUri:"",association:[],errorDescription:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.originUri=n.string();continue;case 2:if(18!==e)break;r.association.push(f.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.errorDescription=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({originUri:m(e.originUri)?String(e.originUri):"",association:Array.isArray(e?.association)?e.association.map((e=>f.fromJSON(e))):[],errorDescription:m(e.errorDescription)?String(e.errorDescription):void 0}),toJSON(e){const t={};return""!==e.originUri&&(t.originUri=e.originUri),e.association?.length&&(t.association=e.association.map((e=>f.toJSON(e)))),void 0!==e.errorDescription&&(t.errorDescription=e.errorDescription),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={originUri:"",association:[],errorDescription:void 0};return t.originUri=e.originUri??"",t.association=e.association?.map((e=>f.fromPartial(e)))||[],t.errorDescription=e.errorDescription??void 0,t}};const f={encode(e,t=i.Writer.create()){0!==e.assocType&&t.uint32(8).int32(e.assocType);for(const n of e.targetUri)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={assocType:0,targetUri:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.assocType=n.int32();continue;case 2:if(18!==e)break;r.targetUri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({assocType:m(e.assocType)?d(e.assocType):0,targetUri:Array.isArray(e?.targetUri)?e.targetUri.map((e=>String(e))):[]}),toJSON(e){const t={};return 0!==e.assocType&&(t.assocType=p(e.assocType)),e.targetUri?.length&&(t.targetUri=e.targetUri),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={assocType:0,targetUri:[]};return t.assocType=e.assocType??0,t.targetUri=e.targetUri?.map((e=>e))||[],t}};function m(e){return null!=e}const _={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.copyrights&&t.uint32(24).bool(e.copyrights),!0===e.covers&&t.uint32(32).bool(e.covers),!0===e.year&&t.uint32(40).bool(e.year),!0===e.numDiscs&&t.uint32(48).bool(e.numDiscs),!0===e.numTracks&&t.uint32(56).bool(e.numTracks),!0===e.playability&&t.uint32(64).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(72).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.copyrights=n.bool();continue;case 4:if(32!==e)break;r.covers=n.bool();continue;case 5:if(40!==e)break;r.year=n.bool();continue;case 6:if(48!==e)break;r.numDiscs=n.bool();continue;case 7:if(56!==e)break;r.numTracks=n.bool();continue;case 8:if(64!==e)break;r.playability=n.bool();continue;case 9:if(72!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!g(e.link)&&Boolean(e.link),name:!!g(e.name)&&Boolean(e.name),copyrights:!!g(e.copyrights)&&Boolean(e.copyrights),covers:!!g(e.covers)&&Boolean(e.covers),year:!!g(e.year)&&Boolean(e.year),numDiscs:!!g(e.numDiscs)&&Boolean(e.numDiscs),numTracks:!!g(e.numTracks)&&Boolean(e.numTracks),playability:!!g(e.playability)&&Boolean(e.playability),isPremiumOnly:!!g(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.covers&&(t.covers=e.covers),!0===e.year&&(t.year=e.year),!0===e.numDiscs&&(t.numDiscs=e.numDiscs),!0===e.numTracks&&(t.numTracks=e.numTracks),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};return t.link=e.link??!1,t.name=e.name??!1,t.copyrights=e.copyrights??!1,t.covers=e.covers??!1,t.year=e.year??!1,t.numDiscs=e.numDiscs??!1,t.numTracks=e.numTracks??!1,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};function g(e){return null!=e}const E={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),!0===e.portraits&&t.uint32(32).bool(e.portraits),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,isVariousArtists:!1,portraits:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(32!==e)break;r.portraits=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!v(e.link)&&Boolean(e.link),name:!!v(e.name)&&Boolean(e.name),isVariousArtists:!!v(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:!!v(e.portraits)&&Boolean(e.portraits)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),!0===e.portraits&&(t.portraits=e.portraits),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,isVariousArtists:!1,portraits:!1};return t.link=e.link??!1,t.name=e.name??!1,t.isVariousArtists=e.isVariousArtists??!1,t.portraits=e.portraits??!1,t}};function v(e){return null!=e}const y={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.length&&t.uint32(16).bool(e.length),!0===e.name&&t.uint32(24).bool(e.name),!0===e.manifestId&&t.uint32(32).bool(e.manifestId),!0===e.previewId&&t.uint32(40).bool(e.previewId),!0===e.previewManifestId&&t.uint32(48).bool(e.previewManifestId),!0===e.description&&t.uint32(56).bool(e.description),!0===e.publishDate&&t.uint32(64).bool(e.publishDate),!0===e.covers&&t.uint32(72).bool(e.covers),!0===e.freezeFrames&&t.uint32(80).bool(e.freezeFrames),!0===e.language&&t.uint32(88).bool(e.language),!0===e.available&&t.uint32(96).bool(e.available),!0===e.mediaTypeEnum&&t.uint32(104).bool(e.mediaTypeEnum),!0===e.number&&t.uint32(112).bool(e.number),!0===e.backgroundable&&t.uint32(120).bool(e.backgroundable),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),!0===e.type&&t.uint32(136).bool(e.type),!0===e.isMusicAndTalk&&t.uint32(144).bool(e.isMusicAndTalk),t.uint32(170).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.is19PlusOnly&&t.uint32(176).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(184).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(192).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(200).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.length=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.manifestId=n.bool();continue;case 5:if(40!==e)break;r.previewId=n.bool();continue;case 6:if(48!==e)break;r.previewManifestId=n.bool();continue;case 7:if(56!==e)break;r.description=n.bool();continue;case 8:if(64!==e)break;r.publishDate=n.bool();continue;case 9:if(72!==e)break;r.covers=n.bool();continue;case 10:if(80!==e)break;r.freezeFrames=n.bool();continue;case 11:if(88!==e)break;r.language=n.bool();continue;case 12:if(96!==e)break;r.available=n.bool();continue;case 13:if(104!==e)break;r.mediaTypeEnum=n.bool();continue;case 14:if(112!==e)break;r.number=n.bool();continue;case 15:if(120!==e)break;r.backgroundable=n.bool();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(136!==e)break;r.type=n.bool();continue;case 18:if(144!==e)break;r.isMusicAndTalk=n.bool();continue;case 21:if(168===e){r.extension.push(n.int32());continue}if(170===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 22:if(176!==e)break;r.is19PlusOnly=n.bool();continue;case 23:if(184!==e)break;r.isBookChapter=n.bool();continue;case 24:if(192!==e)break;r.isPodcastShort=n.bool();continue;case 25:if(200!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!b(e.link)&&Boolean(e.link),length:!!b(e.length)&&Boolean(e.length),name:!!b(e.name)&&Boolean(e.name),manifestId:!!b(e.manifestId)&&Boolean(e.manifestId),previewId:!!b(e.previewId)&&Boolean(e.previewId),previewManifestId:!!b(e.previewManifestId)&&Boolean(e.previewManifestId),description:!!b(e.description)&&Boolean(e.description),publishDate:!!b(e.publishDate)&&Boolean(e.publishDate),covers:!!b(e.covers)&&Boolean(e.covers),freezeFrames:!!b(e.freezeFrames)&&Boolean(e.freezeFrames),language:!!b(e.language)&&Boolean(e.language),available:!!b(e.available)&&Boolean(e.available),mediaTypeEnum:!!b(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),number:!!b(e.number)&&Boolean(e.number),backgroundable:!!b(e.backgroundable)&&Boolean(e.backgroundable),isExplicit:!!b(e.isExplicit)&&Boolean(e.isExplicit),type:!!b(e.type)&&Boolean(e.type),isMusicAndTalk:!!b(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>a(e))):[],is19PlusOnly:!!b(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!b(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!b(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!b(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.length&&(t.length=e.length),!0===e.name&&(t.name=e.name),!0===e.manifestId&&(t.manifestId=e.manifestId),!0===e.previewId&&(t.previewId=e.previewId),!0===e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.description&&(t.description=e.description),!0===e.publishDate&&(t.publishDate=e.publishDate),!0===e.covers&&(t.covers=e.covers),!0===e.freezeFrames&&(t.freezeFrames=e.freezeFrames),!0===e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.number&&(t.number=e.number),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.type&&(t.type=e.type),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>s(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};return t.link=e.link??!1,t.length=e.length??!1,t.name=e.name??!1,t.manifestId=e.manifestId??!1,t.previewId=e.previewId??!1,t.previewManifestId=e.previewManifestId??!1,t.description=e.description??!1,t.publishDate=e.publishDate??!1,t.covers=e.covers??!1,t.freezeFrames=e.freezeFrames??!1,t.language=e.language??!1,t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.number=e.number??!1,t.backgroundable=e.backgroundable??!1,t.isExplicit=e.isExplicit??!1,t.type=e.type??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function b(e){return null!=e}const S={encode:(e,t=i.Writer.create())=>(!0===e.username&&t.uint32(8).bool(e.username),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.image&&t.uint32(32).bool(e.image),!0===e.thumbnail&&t.uint32(40).bool(e.thumbnail),!0===e.color&&t.uint32(48).bool(e.color),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.username=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.image=n.bool();continue;case 5:if(40!==e)break;r.thumbnail=n.bool();continue;case 6:if(48!==e)break;r.color=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({username:!!I(e.username)&&Boolean(e.username),link:!!I(e.link)&&Boolean(e.link),name:!!I(e.name)&&Boolean(e.name),image:!!I(e.image)&&Boolean(e.image),thumbnail:!!I(e.thumbnail)&&Boolean(e.thumbnail),color:!!I(e.color)&&Boolean(e.color)}),toJSON(e){const t={};return!0===e.username&&(t.username=e.username),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.image&&(t.image=e.image),!0===e.thumbnail&&(t.thumbnail=e.thumbnail),!0===e.color&&(t.color=e.color),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};return t.username=e.username??!1,t.link=e.link??!1,t.name=e.name??!1,t.image=e.image??!1,t.thumbnail=e.thumbnail??!1,t.color=e.color??!1,t}};const T={encode:(e,t=i.Writer.create())=>(void 0!==e.user&&S.encode(e.user,t.uint32(10).fork()).ldelim(),!0===e.numberOfItems&&t.uint32(16).bool(e.numberOfItems),!0===e.numberOfTracks&&t.uint32(24).bool(e.numberOfTracks),!0===e.numberOfEpisodes&&t.uint32(32).bool(e.numberOfEpisodes),!0===e.isOwner&&t.uint32(40).bool(e.isOwner),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={user:void 0,numberOfItems:!1,numberOfTracks:!1,numberOfEpisodes:!1,isOwner:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.user=S.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.numberOfItems=n.bool();continue;case 3:if(24!==e)break;r.numberOfTracks=n.bool();continue;case 4:if(32!==e)break;r.numberOfEpisodes=n.bool();continue;case 5:if(40!==e)break;r.isOwner=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({user:I(e.user)?S.fromJSON(e.user):void 0,numberOfItems:!!I(e.numberOfItems)&&Boolean(e.numberOfItems),numberOfTracks:!!I(e.numberOfTracks)&&Boolean(e.numberOfTracks),numberOfEpisodes:!!I(e.numberOfEpisodes)&&Boolean(e.numberOfEpisodes),isOwner:!!I(e.isOwner)&&Boolean(e.isOwner)}),toJSON(e){const t={};return void 0!==e.user&&(t.user=S.toJSON(e.user)),!0===e.numberOfItems&&(t.numberOfItems=e.numberOfItems),!0===e.numberOfTracks&&(t.numberOfTracks=e.numberOfTracks),!0===e.numberOfEpisodes&&(t.numberOfEpisodes=e.numberOfEpisodes),!0===e.isOwner&&(t.isOwner=e.isOwner),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={user:void 0,numberOfItems:!1,numberOfTracks:!1,numberOfEpisodes:!1,isOwner:!1};return t.user=void 0!==e.user&&null!==e.user?S.fromPartial(e.user):void 0,t.numberOfItems=e.numberOfItems??!1,t.numberOfTracks=e.numberOfTracks??!1,t.numberOfEpisodes=e.numberOfEpisodes??!1,t.isOwner=e.isOwner??!1,t}};const A={encode:(e,t=i.Writer.create())=>(!0===e.count&&t.uint32(8).bool(e.count),0!==e.limit&&t.uint32(16).int32(e.limit),void 0!==e.collaborator&&T.encode(e.collaborator,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={count:!1,limit:0,collaborator:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.count=n.bool();continue;case 2:if(16!==e)break;r.limit=n.int32();continue;case 3:if(26!==e)break;r.collaborator=T.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({count:!!I(e.count)&&Boolean(e.count),limit:I(e.limit)?Number(e.limit):0,collaborator:I(e.collaborator)?T.fromJSON(e.collaborator):void 0}),toJSON(e){const t={};return!0===e.count&&(t.count=e.count),0!==e.limit&&(t.limit=Math.round(e.limit)),void 0!==e.collaborator&&(t.collaborator=T.toJSON(e.collaborator)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={count:!1,limit:0,collaborator:void 0};return t.count=e.count??!1,t.limit=e.limit??0,t.collaborator=void 0!==e.collaborator&&null!==e.collaborator?T.fromPartial(e.collaborator):void 0,t}};function I(e){return null!=e}const O={encode:(e,t=i.Writer.create())=>(!0===e.insert&&t.uint32(8).bool(e.insert),!0===e.remove&&t.uint32(16).bool(e.remove),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={insert:!1,remove:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.insert=n.bool();continue;case 2:if(16!==e)break;r.remove=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({insert:!!R(e.insert)&&Boolean(e.insert),remove:!!R(e.remove)&&Boolean(e.remove)}),toJSON(e){const t={};return!0===e.insert&&(t.insert=e.insert),!0===e.remove&&(t.remove=e.remove),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={insert:!1,remove:!1};return t.insert=e.insert??!1,t.remove=e.remove??!1,t}};const C={encode(e,t=i.Writer.create()){!0===e.rowId&&t.uint32(8).bool(e.rowId),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.loadState&&t.uint32(32).bool(e.loadState),!0===e.loaded&&t.uint32(40).bool(e.loaded),!0===e.collaborative&&t.uint32(48).bool(e.collaborative),!0===e.length&&t.uint32(56).bool(e.length),!0===e.lastModification&&t.uint32(64).bool(e.lastModification),!0===e.totalLength&&t.uint32(72).bool(e.totalLength),!0===e.duration&&t.uint32(80).bool(e.duration),!0===e.description&&t.uint32(88).bool(e.description),!0===e.picture&&t.uint32(96).bool(e.picture),!0===e.playable&&t.uint32(104).bool(e.playable),!0===e.descriptionFromAnnotate&&t.uint32(112).bool(e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&t.uint32(120).bool(e.pictureFromAnnotate),!0===e.canReportAnnotationAbuse&&t.uint32(128).bool(e.canReportAnnotationAbuse),!0===e.followed&&t.uint32(136).bool(e.followed),!0===e.followers&&t.uint32(144).bool(e.followers),!0===e.ownedBySelf&&t.uint32(152).bool(e.ownedBySelf),!0===e.offline&&t.uint32(160).bool(e.offline),!0===e.syncProgress&&t.uint32(168).bool(e.syncProgress),!0===e.published&&t.uint32(176).bool(e.published),!0===e.browsableOffline&&t.uint32(184).bool(e.browsableOffline),!0===e.formatListType&&t.uint32(192).bool(e.formatListType),!0===e.formatListAttributes&&t.uint32(200).bool(e.formatListAttributes),!0===e.hasExplicitContent&&t.uint32(208).bool(e.hasExplicitContent),!0===e.containsSpotifyTracks&&t.uint32(216).bool(e.containsSpotifyTracks),!0===e.containsTracks&&t.uint32(224).bool(e.containsTracks),!0===e.containsEpisodes&&t.uint32(232).bool(e.containsEpisodes),!0===e.containsAudioEpisodes&&t.uint32(240).bool(e.containsAudioEpisodes),!0===e.onlyContainsExplicit&&t.uint32(248).bool(e.onlyContainsExplicit),!0===e.isOnDemandInFree&&t.uint32(256).bool(e.isOnDemandInFree),void 0!==e.owner&&S.encode(e.owner,t.uint32(266).fork()).ldelim(),void 0!==e.madeFor&&S.encode(e.madeFor,t.uint32(274).fork()).ldelim(),void 0!==e.allows&&O.encode(e.allows,t.uint32(282).fork()).ldelim(),!0===e.numberOfEpisodes&&t.uint32(288).bool(e.numberOfEpisodes),!0===e.numberOfTracks&&t.uint32(296).bool(e.numberOfTracks),!0===e.preferLinearPlayback&&t.uint32(304).bool(e.preferLinearPlayback),!0===e.onDemandInFreeReason&&t.uint32(312).bool(e.onDemandInFreeReason),void 0!==e.collaboratingUsers&&A.encode(e.collaboratingUsers,t.uint32(322).fork()).ldelim(),!0===e.basePermission&&t.uint32(328).bool(e.basePermission),!0===e.userCapabilities&&t.uint32(336).bool(e.userCapabilities),t.uint32(346).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.lenses&&t.uint32(352).bool(e.lenses),!0===e.lengthIgnoringTextFilter&&t.uint32(360).bool(e.lengthIgnoringTextFilter),!0===e.numberOfItemsPerLinkType&&t.uint32(368).bool(e.numberOfItemsPerLinkType),!0===e.availableSignals&&t.uint32(376).bool(e.availableSignals),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={rowId:!1,link:!1,name:!1,loadState:!1,loaded:!1,collaborative:!1,length:!1,lastModification:!1,totalLength:!1,duration:!1,description:!1,picture:!1,playable:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,canReportAnnotationAbuse:!1,followed:!1,followers:!1,ownedBySelf:!1,offline:!1,syncProgress:!1,published:!1,browsableOffline:!1,formatListType:!1,formatListAttributes:!1,hasExplicitContent:!1,containsSpotifyTracks:!1,containsTracks:!1,containsEpisodes:!1,containsAudioEpisodes:!1,onlyContainsExplicit:!1,isOnDemandInFree:!1,owner:void 0,madeFor:void 0,allows:void 0,numberOfEpisodes:!1,numberOfTracks:!1,preferLinearPlayback:!1,onDemandInFreeReason:!1,collaboratingUsers:void 0,basePermission:!1,userCapabilities:!1,extension:[],lenses:!1,lengthIgnoringTextFilter:!1,numberOfItemsPerLinkType:!1,availableSignals:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.rowId=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.loadState=n.bool();continue;case 5:if(40!==e)break;r.loaded=n.bool();continue;case 6:if(48!==e)break;r.collaborative=n.bool();continue;case 7:if(56!==e)break;r.length=n.bool();continue;case 8:if(64!==e)break;r.lastModification=n.bool();continue;case 9:if(72!==e)break;r.totalLength=n.bool();continue;case 10:if(80!==e)break;r.duration=n.bool();continue;case 11:if(88!==e)break;r.description=n.bool();continue;case 12:if(96!==e)break;r.picture=n.bool();continue;case 13:if(104!==e)break;r.playable=n.bool();continue;case 14:if(112!==e)break;r.descriptionFromAnnotate=n.bool();continue;case 15:if(120!==e)break;r.pictureFromAnnotate=n.bool();continue;case 16:if(128!==e)break;r.canReportAnnotationAbuse=n.bool();continue;case 17:if(136!==e)break;r.followed=n.bool();continue;case 18:if(144!==e)break;r.followers=n.bool();continue;case 19:if(152!==e)break;r.ownedBySelf=n.bool();continue;case 20:if(160!==e)break;r.offline=n.bool();continue;case 21:if(168!==e)break;r.syncProgress=n.bool();continue;case 22:if(176!==e)break;r.published=n.bool();continue;case 23:if(184!==e)break;r.browsableOffline=n.bool();continue;case 24:if(192!==e)break;r.formatListType=n.bool();continue;case 25:if(200!==e)break;r.formatListAttributes=n.bool();continue;case 26:if(208!==e)break;r.hasExplicitContent=n.bool();continue;case 27:if(216!==e)break;r.containsSpotifyTracks=n.bool();continue;case 28:if(224!==e)break;r.containsTracks=n.bool();continue;case 29:if(232!==e)break;r.containsEpisodes=n.bool();continue;case 30:if(240!==e)break;r.containsAudioEpisodes=n.bool();continue;case 31:if(248!==e)break;r.onlyContainsExplicit=n.bool();continue;case 32:if(256!==e)break;r.isOnDemandInFree=n.bool();continue;case 33:if(266!==e)break;r.owner=S.decode(n,n.uint32());continue;case 34:if(274!==e)break;r.madeFor=S.decode(n,n.uint32());continue;case 35:if(282!==e)break;r.allows=O.decode(n,n.uint32());continue;case 36:if(288!==e)break;r.numberOfEpisodes=n.bool();continue;case 37:if(296!==e)break;r.numberOfTracks=n.bool();continue;case 38:if(304!==e)break;r.preferLinearPlayback=n.bool();continue;case 39:if(312!==e)break;r.onDemandInFreeReason=n.bool();continue;case 40:if(322!==e)break;r.collaboratingUsers=A.decode(n,n.uint32());continue;case 41:if(328!==e)break;r.basePermission=n.bool();continue;case 42:if(336!==e)break;r.userCapabilities=n.bool();continue;case 43:if(344===e){r.extension.push(n.int32());continue}if(346===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 44:if(352!==e)break;r.lenses=n.bool();continue;case 45:if(360!==e)break;r.lengthIgnoringTextFilter=n.bool();continue;case 46:if(368!==e)break;r.numberOfItemsPerLinkType=n.bool();continue;case 47:if(376!==e)break;r.availableSignals=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({rowId:!!R(e.rowId)&&Boolean(e.rowId),link:!!R(e.link)&&Boolean(e.link),name:!!R(e.name)&&Boolean(e.name),loadState:!!R(e.loadState)&&Boolean(e.loadState),loaded:!!R(e.loaded)&&Boolean(e.loaded),collaborative:!!R(e.collaborative)&&Boolean(e.collaborative),length:!!R(e.length)&&Boolean(e.length),lastModification:!!R(e.lastModification)&&Boolean(e.lastModification),totalLength:!!R(e.totalLength)&&Boolean(e.totalLength),duration:!!R(e.duration)&&Boolean(e.duration),description:!!R(e.description)&&Boolean(e.description),picture:!!R(e.picture)&&Boolean(e.picture),playable:!!R(e.playable)&&Boolean(e.playable),descriptionFromAnnotate:!!R(e.descriptionFromAnnotate)&&Boolean(e.descriptionFromAnnotate),pictureFromAnnotate:!!R(e.pictureFromAnnotate)&&Boolean(e.pictureFromAnnotate),canReportAnnotationAbuse:!!R(e.canReportAnnotationAbuse)&&Boolean(e.canReportAnnotationAbuse),followed:!!R(e.followed)&&Boolean(e.followed),followers:!!R(e.followers)&&Boolean(e.followers),ownedBySelf:!!R(e.ownedBySelf)&&Boolean(e.ownedBySelf),offline:!!R(e.offline)&&Boolean(e.offline),syncProgress:!!R(e.syncProgress)&&Boolean(e.syncProgress),published:!!R(e.published)&&Boolean(e.published),browsableOffline:!!R(e.browsableOffline)&&Boolean(e.browsableOffline),formatListType:!!R(e.formatListType)&&Boolean(e.formatListType),formatListAttributes:!!R(e.formatListAttributes)&&Boolean(e.formatListAttributes),hasExplicitContent:!!R(e.hasExplicitContent)&&Boolean(e.hasExplicitContent),containsSpotifyTracks:!!R(e.containsSpotifyTracks)&&Boolean(e.containsSpotifyTracks),containsTracks:!!R(e.containsTracks)&&Boolean(e.containsTracks),containsEpisodes:!!R(e.containsEpisodes)&&Boolean(e.containsEpisodes),containsAudioEpisodes:!!R(e.containsAudioEpisodes)&&Boolean(e.containsAudioEpisodes),onlyContainsExplicit:!!R(e.onlyContainsExplicit)&&Boolean(e.onlyContainsExplicit),isOnDemandInFree:!!R(e.isOnDemandInFree)&&Boolean(e.isOnDemandInFree),owner:R(e.owner)?S.fromJSON(e.owner):void 0,madeFor:R(e.madeFor)?S.fromJSON(e.madeFor):void 0,allows:R(e.allows)?O.fromJSON(e.allows):void 0,numberOfEpisodes:!!R(e.numberOfEpisodes)&&Boolean(e.numberOfEpisodes),numberOfTracks:!!R(e.numberOfTracks)&&Boolean(e.numberOfTracks),preferLinearPlayback:!!R(e.preferLinearPlayback)&&Boolean(e.preferLinearPlayback),onDemandInFreeReason:!!R(e.onDemandInFreeReason)&&Boolean(e.onDemandInFreeReason),collaboratingUsers:R(e.collaboratingUsers)?A.fromJSON(e.collaboratingUsers):void 0,basePermission:!!R(e.basePermission)&&Boolean(e.basePermission),userCapabilities:!!R(e.userCapabilities)&&Boolean(e.userCapabilities),extension:Array.isArray(e?.extension)?e.extension.map((e=>a(e))):[],lenses:!!R(e.lenses)&&Boolean(e.lenses),lengthIgnoringTextFilter:!!R(e.lengthIgnoringTextFilter)&&Boolean(e.lengthIgnoringTextFilter),numberOfItemsPerLinkType:!!R(e.numberOfItemsPerLinkType)&&Boolean(e.numberOfItemsPerLinkType),availableSignals:!!R(e.availableSignals)&&Boolean(e.availableSignals)}),toJSON(e){const t={};return!0===e.rowId&&(t.rowId=e.rowId),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.loadState&&(t.loadState=e.loadState),!0===e.loaded&&(t.loaded=e.loaded),!0===e.collaborative&&(t.collaborative=e.collaborative),!0===e.length&&(t.length=e.length),!0===e.lastModification&&(t.lastModification=e.lastModification),!0===e.totalLength&&(t.totalLength=e.totalLength),!0===e.duration&&(t.duration=e.duration),!0===e.description&&(t.description=e.description),!0===e.picture&&(t.picture=e.picture),!0===e.playable&&(t.playable=e.playable),!0===e.descriptionFromAnnotate&&(t.descriptionFromAnnotate=e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&(t.pictureFromAnnotate=e.pictureFromAnnotate),!0===e.canReportAnnotationAbuse&&(t.canReportAnnotationAbuse=e.canReportAnnotationAbuse),!0===e.followed&&(t.followed=e.followed),!0===e.followers&&(t.followers=e.followers),!0===e.ownedBySelf&&(t.ownedBySelf=e.ownedBySelf),!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),!0===e.published&&(t.published=e.published),!0===e.browsableOffline&&(t.browsableOffline=e.browsableOffline),!0===e.formatListType&&(t.formatListType=e.formatListType),!0===e.formatListAttributes&&(t.formatListAttributes=e.formatListAttributes),!0===e.hasExplicitContent&&(t.hasExplicitContent=e.hasExplicitContent),!0===e.containsSpotifyTracks&&(t.containsSpotifyTracks=e.containsSpotifyTracks),!0===e.containsTracks&&(t.containsTracks=e.containsTracks),!0===e.containsEpisodes&&(t.containsEpisodes=e.containsEpisodes),!0===e.containsAudioEpisodes&&(t.containsAudioEpisodes=e.containsAudioEpisodes),!0===e.onlyContainsExplicit&&(t.onlyContainsExplicit=e.onlyContainsExplicit),!0===e.isOnDemandInFree&&(t.isOnDemandInFree=e.isOnDemandInFree),void 0!==e.owner&&(t.owner=S.toJSON(e.owner)),void 0!==e.madeFor&&(t.madeFor=S.toJSON(e.madeFor)),void 0!==e.allows&&(t.allows=O.toJSON(e.allows)),!0===e.numberOfEpisodes&&(t.numberOfEpisodes=e.numberOfEpisodes),!0===e.numberOfTracks&&(t.numberOfTracks=e.numberOfTracks),!0===e.preferLinearPlayback&&(t.preferLinearPlayback=e.preferLinearPlayback),!0===e.onDemandInFreeReason&&(t.onDemandInFreeReason=e.onDemandInFreeReason),void 0!==e.collaboratingUsers&&(t.collaboratingUsers=A.toJSON(e.collaboratingUsers)),!0===e.basePermission&&(t.basePermission=e.basePermission),!0===e.userCapabilities&&(t.userCapabilities=e.userCapabilities),e.extension?.length&&(t.extension=e.extension.map((e=>s(e)))),!0===e.lenses&&(t.lenses=e.lenses),!0===e.lengthIgnoringTextFilter&&(t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter),!0===e.numberOfItemsPerLinkType&&(t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType),!0===e.availableSignals&&(t.availableSignals=e.availableSignals),t},create:e=>C.fromPartial(e??{}),fromPartial(e){const t={rowId:!1,link:!1,name:!1,loadState:!1,loaded:!1,collaborative:!1,length:!1,lastModification:!1,totalLength:!1,duration:!1,description:!1,picture:!1,playable:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,canReportAnnotationAbuse:!1,followed:!1,followers:!1,ownedBySelf:!1,offline:!1,syncProgress:!1,published:!1,browsableOffline:!1,formatListType:!1,formatListAttributes:!1,hasExplicitContent:!1,containsSpotifyTracks:!1,containsTracks:!1,containsEpisodes:!1,containsAudioEpisodes:!1,onlyContainsExplicit:!1,isOnDemandInFree:!1,owner:void 0,madeFor:void 0,allows:void 0,numberOfEpisodes:!1,numberOfTracks:!1,preferLinearPlayback:!1,onDemandInFreeReason:!1,collaboratingUsers:void 0,basePermission:!1,userCapabilities:!1,extension:[],lenses:!1,lengthIgnoringTextFilter:!1,numberOfItemsPerLinkType:!1,availableSignals:!1};return t.rowId=e.rowId??!1,t.link=e.link??!1,t.name=e.name??!1,t.loadState=e.loadState??!1,t.loaded=e.loaded??!1,t.collaborative=e.collaborative??!1,t.length=e.length??!1,t.lastModification=e.lastModification??!1,t.totalLength=e.totalLength??!1,t.duration=e.duration??!1,t.description=e.description??!1,t.picture=e.picture??!1,t.playable=e.playable??!1,t.descriptionFromAnnotate=e.descriptionFromAnnotate??!1,t.pictureFromAnnotate=e.pictureFromAnnotate??!1,t.canReportAnnotationAbuse=e.canReportAnnotationAbuse??!1,t.followed=e.followed??!1,t.followers=e.followers??!1,t.ownedBySelf=e.ownedBySelf??!1,t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t.published=e.published??!1,t.browsableOffline=e.browsableOffline??!1,t.formatListType=e.formatListType??!1,t.formatListAttributes=e.formatListAttributes??!1,t.hasExplicitContent=e.hasExplicitContent??!1,t.containsSpotifyTracks=e.containsSpotifyTracks??!1,t.containsTracks=e.containsTracks??!1,t.containsEpisodes=e.containsEpisodes??!1,t.containsAudioEpisodes=e.containsAudioEpisodes??!1,t.onlyContainsExplicit=e.onlyContainsExplicit??!1,t.isOnDemandInFree=e.isOnDemandInFree??!1,t.owner=void 0!==e.owner&&null!==e.owner?S.fromPartial(e.owner):void 0,t.madeFor=void 0!==e.madeFor&&null!==e.madeFor?S.fromPartial(e.madeFor):void 0,t.allows=void 0!==e.allows&&null!==e.allows?O.fromPartial(e.allows):void 0,t.numberOfEpisodes=e.numberOfEpisodes??!1,t.numberOfTracks=e.numberOfTracks??!1,t.preferLinearPlayback=e.preferLinearPlayback??!1,t.onDemandInFreeReason=e.onDemandInFreeReason??!1,t.collaboratingUsers=void 0!==e.collaboratingUsers&&null!==e.collaboratingUsers?A.fromPartial(e.collaboratingUsers):void 0,t.basePermission=e.basePermission??!1,t.userCapabilities=e.userCapabilities??!1,t.extension=e.extension?.map((e=>e))||[],t.lenses=e.lenses??!1,t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter??!1,t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType??!1,t.availableSignals=e.availableSignals??!1,t}};function R(e){return null!=e}const N={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.description&&t.uint32(24).bool(e.description),!0===e.popularity&&t.uint32(32).bool(e.popularity),!0===e.publisher&&t.uint32(40).bool(e.publisher),!0===e.language&&t.uint32(48).bool(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),!0===e.covers&&t.uint32(64).bool(e.covers),!0===e.numEpisodes&&t.uint32(72).bool(e.numEpisodes),!0===e.consumptionOrder&&t.uint32(80).bool(e.consumptionOrder),!0===e.mediaTypeEnum&&t.uint32(88).bool(e.mediaTypeEnum),!0===e.copyrights&&t.uint32(96).bool(e.copyrights),!0===e.trailerUri&&t.uint32(104).bool(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk),t.uint32(130).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isBook&&t.uint32(136).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(144).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.description=n.bool();continue;case 4:if(32!==e)break;r.popularity=n.bool();continue;case 5:if(40!==e)break;r.publisher=n.bool();continue;case 6:if(48!==e)break;r.language=n.bool();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(64!==e)break;r.covers=n.bool();continue;case 9:if(72!==e)break;r.numEpisodes=n.bool();continue;case 10:if(80!==e)break;r.consumptionOrder=n.bool();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.bool();continue;case 12:if(96!==e)break;r.copyrights=n.bool();continue;case 13:if(104!==e)break;r.trailerUri=n.bool();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 16:if(128===e){r.extension.push(n.int32());continue}if(130===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 17:if(136!==e)break;r.isBook=n.bool();continue;case 18:if(144!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!P(e.link)&&Boolean(e.link),name:!!P(e.name)&&Boolean(e.name),description:!!P(e.description)&&Boolean(e.description),popularity:!!P(e.popularity)&&Boolean(e.popularity),publisher:!!P(e.publisher)&&Boolean(e.publisher),language:!!P(e.language)&&Boolean(e.language),isExplicit:!!P(e.isExplicit)&&Boolean(e.isExplicit),covers:!!P(e.covers)&&Boolean(e.covers),numEpisodes:!!P(e.numEpisodes)&&Boolean(e.numEpisodes),consumptionOrder:!!P(e.consumptionOrder)&&Boolean(e.consumptionOrder),mediaTypeEnum:!!P(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),copyrights:!!P(e.copyrights)&&Boolean(e.copyrights),trailerUri:!!P(e.trailerUri)&&Boolean(e.trailerUri),isMusicAndTalk:!!P(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>a(e))):[],isBook:!!P(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!P(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.description&&(t.description=e.description),!0===e.popularity&&(t.popularity=e.popularity),!0===e.publisher&&(t.publisher=e.publisher),!0===e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.covers&&(t.covers=e.covers),!0===e.numEpisodes&&(t.numEpisodes=e.numEpisodes),!0===e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>s(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??!1,t.name=e.name??!1,t.description=e.description??!1,t.popularity=e.popularity??!1,t.publisher=e.publisher??!1,t.language=e.language??!1,t.isExplicit=e.isExplicit??!1,t.covers=e.covers??!1,t.numEpisodes=e.numEpisodes??!1,t.consumptionOrder=e.consumptionOrder??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.copyrights=e.copyrights??!1,t.trailerUri=e.trailerUri??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};function P(e){return null!=e}const L={encode(e,t=i.Writer.create()){!0===e.hasLyrics&&t.uint32(8).bool(e.hasLyrics),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.length&&t.uint32(32).bool(e.length),!0===e.playable&&t.uint32(40).bool(e.playable),!0===e.isAvailableInMetadataCatalogue&&t.uint32(48).bool(e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&t.uint32(56).bool(e.locallyPlayable),!0===e.playableLocalTrack&&t.uint32(64).bool(e.playableLocalTrack),!0===e.discNumber&&t.uint32(72).bool(e.discNumber),!0===e.trackNumber&&t.uint32(80).bool(e.trackNumber),!0===e.isExplicit&&t.uint32(88).bool(e.isExplicit),!0===e.previewId&&t.uint32(96).bool(e.previewId),!0===e.isLocal&&t.uint32(104).bool(e.isLocal),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.playableTrackLink&&t.uint32(120).bool(e.playableTrackLink),!0===e.popularity&&t.uint32(128).bool(e.popularity),!0===e.is19PlusOnly&&t.uint32(136).bool(e.is19PlusOnly),!0===e.trackDescriptors&&t.uint32(144).bool(e.trackDescriptors),t.uint32(154).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isCurated&&t.uint32(160).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.hasLyrics=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.length=n.bool();continue;case 5:if(40!==e)break;r.playable=n.bool();continue;case 6:if(48!==e)break;r.isAvailableInMetadataCatalogue=n.bool();continue;case 7:if(56!==e)break;r.locallyPlayable=n.bool();continue;case 8:if(64!==e)break;r.playableLocalTrack=n.bool();continue;case 9:if(72!==e)break;r.discNumber=n.bool();continue;case 10:if(80!==e)break;r.trackNumber=n.bool();continue;case 11:if(88!==e)break;r.isExplicit=n.bool();continue;case 12:if(96!==e)break;r.previewId=n.bool();continue;case 13:if(104!==e)break;r.isLocal=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.playableTrackLink=n.bool();continue;case 16:if(128!==e)break;r.popularity=n.bool();continue;case 17:if(136!==e)break;r.is19PlusOnly=n.bool();continue;case 18:if(144!==e)break;r.trackDescriptors=n.bool();continue;case 19:if(152===e){r.extension.push(n.int32());continue}if(154===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 20:if(160!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({hasLyrics:!!k(e.hasLyrics)&&Boolean(e.hasLyrics),link:!!k(e.link)&&Boolean(e.link),name:!!k(e.name)&&Boolean(e.name),length:!!k(e.length)&&Boolean(e.length),playable:!!k(e.playable)&&Boolean(e.playable),isAvailableInMetadataCatalogue:!!k(e.isAvailableInMetadataCatalogue)&&Boolean(e.isAvailableInMetadataCatalogue),locallyPlayable:!!k(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableLocalTrack:!!k(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),discNumber:!!k(e.discNumber)&&Boolean(e.discNumber),trackNumber:!!k(e.trackNumber)&&Boolean(e.trackNumber),isExplicit:!!k(e.isExplicit)&&Boolean(e.isExplicit),previewId:!!k(e.previewId)&&Boolean(e.previewId),isLocal:!!k(e.isLocal)&&Boolean(e.isLocal),isPremiumOnly:!!k(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),playableTrackLink:!!k(e.playableTrackLink)&&Boolean(e.playableTrackLink),popularity:!!k(e.popularity)&&Boolean(e.popularity),is19PlusOnly:!!k(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:!!k(e.trackDescriptors)&&Boolean(e.trackDescriptors),extension:Array.isArray(e?.extension)?e.extension.map((e=>a(e))):[],isCurated:!!k(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.length&&(t.length=e.length),!0===e.playable&&(t.playable=e.playable),!0===e.isAvailableInMetadataCatalogue&&(t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.discNumber&&(t.discNumber=e.discNumber),!0===e.trackNumber&&(t.trackNumber=e.trackNumber),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),!0===e.popularity&&(t.popularity=e.popularity),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.trackDescriptors&&(t.trackDescriptors=e.trackDescriptors),e.extension?.length&&(t.extension=e.extension.map((e=>s(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1};return t.hasLyrics=e.hasLyrics??!1,t.link=e.link??!1,t.name=e.name??!1,t.length=e.length??!1,t.playable=e.playable??!1,t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.discNumber=e.discNumber??!1,t.trackNumber=e.trackNumber??!1,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??!1,t.isLocal=e.isLocal??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.playableTrackLink=e.playableTrackLink??!1,t.popularity=e.popularity??!1,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors??!1,t.extension=e.extension?.map((e=>e))||[],t.isCurated=e.isCurated??!1,t}};function k(e){return null!=e}const w={encode(e,t=i.Writer.create()){""!==e.entityUri&&t.uint32(10).string(e.entityUri),t.uint32(18).fork();for(const n of e.assocType)t.int32(n);return t.ldelim(),void 0!==e.artistPolicy&&E.encode(e.artistPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.userPolicy&&S.encode(e.userPolicy,t.uint32(34).fork()).ldelim(),void 0!==e.albumPolicy&&_.encode(e.albumPolicy,t.uint32(42).fork()).ldelim(),void 0!==e.trackPolicy&&L.encode(e.trackPolicy,t.uint32(50).fork()).ldelim(),void 0!==e.showPolicy&&N.encode(e.showPolicy,t.uint32(58).fork()).ldelim(),void 0!==e.episodePolicy&&y.encode(e.episodePolicy,t.uint32(66).fork()).ldelim(),void 0!==e.playlistPolicy&&C.encode(e.playlistPolicy,t.uint32(74).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={entityUri:"",assocType:[],artistPolicy:void 0,userPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0,showPolicy:void 0,episodePolicy:void 0,playlistPolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.entityUri=n.string();continue;case 2:if(16===e){r.assocType.push(n.int32());continue}if(18===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.assocType.push(n.int32());continue}break;case 3:if(26!==e)break;r.artistPolicy=E.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.userPolicy=S.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.albumPolicy=_.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.trackPolicy=L.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.showPolicy=N.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.episodePolicy=y.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.playlistPolicy=C.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entityUri:D(e.entityUri)?String(e.entityUri):"",assocType:Array.isArray(e?.assocType)?e.assocType.map((e=>d(e))):[],artistPolicy:D(e.artistPolicy)?E.fromJSON(e.artistPolicy):void 0,userPolicy:D(e.userPolicy)?S.fromJSON(e.userPolicy):void 0,albumPolicy:D(e.albumPolicy)?_.fromJSON(e.albumPolicy):void 0,trackPolicy:D(e.trackPolicy)?L.fromJSON(e.trackPolicy):void 0,showPolicy:D(e.showPolicy)?N.fromJSON(e.showPolicy):void 0,episodePolicy:D(e.episodePolicy)?y.fromJSON(e.episodePolicy):void 0,playlistPolicy:D(e.playlistPolicy)?C.fromJSON(e.playlistPolicy):void 0}),toJSON(e){const t={};return""!==e.entityUri&&(t.entityUri=e.entityUri),e.assocType?.length&&(t.assocType=e.assocType.map((e=>p(e)))),void 0!==e.artistPolicy&&(t.artistPolicy=E.toJSON(e.artistPolicy)),void 0!==e.userPolicy&&(t.userPolicy=S.toJSON(e.userPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=_.toJSON(e.albumPolicy)),void 0!==e.trackPolicy&&(t.trackPolicy=L.toJSON(e.trackPolicy)),void 0!==e.showPolicy&&(t.showPolicy=N.toJSON(e.showPolicy)),void 0!==e.episodePolicy&&(t.episodePolicy=y.toJSON(e.episodePolicy)),void 0!==e.playlistPolicy&&(t.playlistPolicy=C.toJSON(e.playlistPolicy)),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={entityUri:"",assocType:[],artistPolicy:void 0,userPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0,showPolicy:void 0,episodePolicy:void 0,playlistPolicy:void 0};return t.entityUri=e.entityUri??"",t.assocType=e.assocType?.map((e=>e))||[],t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?E.fromPartial(e.artistPolicy):void 0,t.userPolicy=void 0!==e.userPolicy&&null!==e.userPolicy?S.fromPartial(e.userPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?_.fromPartial(e.albumPolicy):void 0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?L.fromPartial(e.trackPolicy):void 0,t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?N.fromPartial(e.showPolicy):void 0,t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?y.fromPartial(e.episodePolicy):void 0,t.playlistPolicy=void 0!==e.playlistPolicy&&null!==e.playlistPolicy?C.fromPartial(e.playlistPolicy):void 0,t}};function D(e){return null!=e}class M{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getAssociations(e,t){const n=M.SERVICE_ID,o="GetAssociations",r=w.encode(e).finish();return this.options.onRequest?.(e,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:r},(e=>{const r=h.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}static SERVICE_ID="spotify.associations_esperanto.proto.v1.AssociationsService";static METHODS={getAssociations:{isStreaming:!0,requestType:w,responseType:h}};static DECODERS={GetAssociations:{request:w.decode,response:h.decode}}}},44305:(e,t,n)=>{"use strict";n.d(t,{XI:()=>a,MI:()=>m,XU:()=>i});var i,o=n(24848);function r(e){switch(e){case 0:case"UNKNOWN":return i.UNKNOWN;case 1:case"SHOW":return i.SHOW;case 2:case"BAN":return i.BAN;case 3:case"LISTENLATER":return i.LISTENLATER;case 4:case"IGNOREINRECS":return i.IGNOREINRECS;case 5:case"ENHANCED":return i.ENHANCED;case 6:case"COLLECTION":return i.COLLECTION;case 7:case"FOLLOWED_ARTISTS":return i.FOLLOWED_ARTISTS;case 8:case"BANNED_ARTISTS":return i.BANNED_ARTISTS;case 9:case"PINNED_YOUR_LIBRARY":return i.PINNED_YOUR_LIBRARY;case 10:case"CONCERTS":return i.CONCERTS;case 11:case"TAGS":return i.TAGS;case 12:case"PRERELEASE":return i.PRERELEASE;case 13:case"MARKED_AS_FINISHED":return i.MARKED_AS_FINISHED;case 14:case"NOT_INTERESTED":return i.NOT_INTERESTED;default:return i.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.SHOW=1]="SHOW",e[e.BAN=2]="BAN",e[e.LISTENLATER=3]="LISTENLATER",e[e.IGNOREINRECS=4]="IGNOREINRECS",e[e.ENHANCED=5]="ENHANCED",e[e.COLLECTION=6]="COLLECTION",e[e.FOLLOWED_ARTISTS=7]="FOLLOWED_ARTISTS",e[e.BANNED_ARTISTS=8]="BANNED_ARTISTS",e[e.PINNED_YOUR_LIBRARY=9]="PINNED_YOUR_LIBRARY",e[e.CONCERTS=10]="CONCERTS",e[e.TAGS=11]="TAGS",e[e.PRERELEASE=12]="PRERELEASE",e[e.MARKED_AS_FINISHED=13]="MARKED_AS_FINISHED",e[e.NOT_INTERESTED=14]="NOT_INTERESTED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const a={encode(e,t=o.Writer.create()){0!==e.set&&t.uint32(8).int32(e.set);for(const n of e.items)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={set:0,items:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.set=n.int32();continue;case 2:if(18!==e)break;r.items.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{set:(t=e.set,null!=t?r(e.set):0),items:Array.isArray(e?.items)?e.items.map((e=>String(e))):[]};var t},toJSON(e){const t={};return 0!==e.set&&(t.set=function(e){switch(e){case i.UNKNOWN:return"UNKNOWN";case i.SHOW:return"SHOW";case i.BAN:return"BAN";case i.LISTENLATER:return"LISTENLATER";case i.IGNOREINRECS:return"IGNOREINRECS";case i.ENHANCED:return"ENHANCED";case i.COLLECTION:return"COLLECTION";case i.FOLLOWED_ARTISTS:return"FOLLOWED_ARTISTS";case i.BANNED_ARTISTS:return"BANNED_ARTISTS";case i.PINNED_YOUR_LIBRARY:return"PINNED_YOUR_LIBRARY";case i.CONCERTS:return"CONCERTS";case i.TAGS:return"TAGS";case i.PRERELEASE:return"PRERELEASE";case i.MARKED_AS_FINISHED:return"MARKED_AS_FINISHED";case i.NOT_INTERESTED:return"NOT_INTERESTED";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.set)),e.items?.length&&(t.items=e.items),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={set:0,items:[]};return t.set=e.set??0,t.items=e.items?.map((e=>e))||[],t}};var s=n(87252);function c(){return{uri:"",addTime:BigInt("0")}}const l={encode:(e,t=o.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),e.addTime!==BigInt("0")&&t.uint32(16).int64(e.addTime.toString()),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=c();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(16!==e)break;r.addTime=(a=n.int64(),BigInt(a.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({uri:f(e.uri)?String(e.uri):"",addTime:f(e.addTime)?BigInt(e.addTime):BigInt("0")}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),e.addTime!==BigInt("0")&&(t.addTime=e.addTime.toString()),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t=c();return t.uri=e.uri??"",t.addTime=e.addTime??BigInt("0"),t}};const u={encode(e,t=o.Writer.create()){t.uint32(10).fork();for(const n of e.found)t.bool(n);return t.ldelim(),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={found:[]};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1){if(8===e){r.found.push(n.bool());continue}if(10===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.found.push(n.bool());continue}}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({found:Array.isArray(e?.found)?e.found.map((e=>Boolean(e))):[]}),toJSON(e){const t={};return e.found?.length&&(t.found=e.found),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={found:[]};return t.found=e.found?.map((e=>e))||[],t}};const d={encode:(e,t=o.Writer.create())=>(0!==e.code&&t.uint32(8).int32(e.code),""!==e.reason&&t.uint32(18).string(e.reason),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={code:0,reason:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.code=n.int32();continue;case 2:if(18!==e)break;r.reason=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({code:f(e.code)?Number(e.code):0,reason:f(e.reason)?String(e.reason):""}),toJSON(e){const t={};return 0!==e.code&&(t.code=Math.round(e.code)),""!==e.reason&&(t.reason=e.reason),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={code:0,reason:""};return t.code=e.code??0,t.reason=e.reason??"",t}};const p={encode:(e,t=o.Writer.create())=>(void 0!==e.status&&d.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.contains&&u.encode(e.contains,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={status:void 0,contains:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.status=d.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.contains=u.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:f(e.status)?d.fromJSON(e.status):void 0,contains:f(e.contains)?u.fromJSON(e.contains):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=d.toJSON(e.status)),void 0!==e.contains&&(t.contains=u.toJSON(e.contains)),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={status:void 0,contains:void 0};return t.status=void 0!==e.status&&null!==e.status?d.fromPartial(e.status):void 0,t.contains=void 0!==e.contains&&null!==e.contains?u.fromPartial(e.contains):void 0,t}};const h={encode(e,t=o.Writer.create()){void 0!==e.status&&d.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.items)l.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={status:void 0,items:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.status=d.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.items.push(l.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:f(e.status)?d.fromJSON(e.status):void 0,items:Array.isArray(e?.items)?e.items.map((e=>l.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=d.toJSON(e.status)),e.items?.length&&(t.items=e.items.map((e=>l.toJSON(e)))),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={status:void 0,items:[]};return t.status=void 0!==e.status&&null!==e.status?d.fromPartial(e.status):void 0,t.items=e.items?.map((e=>l.fromPartial(e)))||[],t}};function f(e){return null!=e}o.util.Long!==s&&(o.util.Long=s,o.configure());class m{transport;options;constructor(e,t={}){this.transport=e,this.options=t}contains(e,t){const n=m.SERVICE_ID,i="Contains",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:s},t).then((e=>{const t=p.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamContains(e,t){const n=m.SERVICE_ID,i="StreamContains",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:s},(e=>{const r=p.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}get(e,t){const n=m.SERVICE_ID,i="Get",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:s},t).then((e=>{const t=h.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamGet(e,t){const n=m.SERVICE_ID,i="StreamGet",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:s},(e=>{const r=h.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}add(e,t){const n=m.SERVICE_ID,i="Add",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:s},t).then((e=>{const t=h.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}remove(e,t){const n=m.SERVICE_ID,i="Remove",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:s},t).then((e=>{const t=h.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.collection_platform_esperanto.proto.CollectionPlatformService";static METHODS={contains:{isStreaming:!1,requestType:a,responseType:p},streamContains:{isStreaming:!0,requestType:a,responseType:p},get:{isStreaming:!1,requestType:a,responseType:h},streamGet:{isStreaming:!0,requestType:a,responseType:h},add:{isStreaming:!1,requestType:a,responseType:h},remove:{isStreaming:!1,requestType:a,responseType:h}};static DECODERS={Contains:{request:a.decode,response:p.decode},StreamContains:{request:a.decode,response:p.decode},Get:{request:a.decode,response:h.decode},StreamGet:{request:a.decode,response:h.decode},Add:{request:a.decode,response:h.decode},Remove:{request:a.decode,response:h.decode}}}},51210:(e,t,n)=>{"use strict";n.d(t,{di:()=>$,MI:()=>j,q4:()=>g});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.copyrights&&t.uint32(24).bool(e.copyrights),!0===e.covers&&t.uint32(32).bool(e.covers),!0===e.year&&t.uint32(40).bool(e.year),!0===e.numDiscs&&t.uint32(48).bool(e.numDiscs),!0===e.numTracks&&t.uint32(56).bool(e.numTracks),!0===e.playability&&t.uint32(64).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(72).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.copyrights=n.bool();continue;case 4:if(32!==e)break;r.covers=n.bool();continue;case 5:if(40!==e)break;r.year=n.bool();continue;case 6:if(48!==e)break;r.numDiscs=n.bool();continue;case 7:if(56!==e)break;r.numTracks=n.bool();continue;case 8:if(64!==e)break;r.playability=n.bool();continue;case 9:if(72!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!r(e.link)&&Boolean(e.link),name:!!r(e.name)&&Boolean(e.name),copyrights:!!r(e.copyrights)&&Boolean(e.copyrights),covers:!!r(e.covers)&&Boolean(e.covers),year:!!r(e.year)&&Boolean(e.year),numDiscs:!!r(e.numDiscs)&&Boolean(e.numDiscs),numTracks:!!r(e.numTracks)&&Boolean(e.numTracks),playability:!!r(e.playability)&&Boolean(e.playability),isPremiumOnly:!!r(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.covers&&(t.covers=e.covers),!0===e.year&&(t.year=e.year),!0===e.numDiscs&&(t.numDiscs=e.numDiscs),!0===e.numTracks&&(t.numTracks=e.numTracks),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};return t.link=e.link??!1,t.name=e.name??!1,t.copyrights=e.copyrights??!1,t.covers=e.covers??!1,t.year=e.year??!1,t.numDiscs=e.numDiscs??!1,t.numTracks=e.numTracks??!1,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};function r(e){return null!=e}const a={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),!0===e.portraits&&t.uint32(32).bool(e.portraits),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,isVariousArtists:!1,portraits:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(32!==e)break;r.portraits=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!s(e.link)&&Boolean(e.link),name:!!s(e.name)&&Boolean(e.name),isVariousArtists:!!s(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:!!s(e.portraits)&&Boolean(e.portraits)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),!0===e.portraits&&(t.portraits=e.portraits),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,isVariousArtists:!1,portraits:!1};return t.link=e.link??!1,t.name=e.name??!1,t.isVariousArtists=e.isVariousArtists??!1,t.portraits=e.portraits??!1,t}};function s(e){return null!=e}var c;function l(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return c.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return c.CANVAZ;case 2:case"STORYLINES":return c.STORYLINES;case 3:case"PODCAST_TOPICS":return c.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return c.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return c.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return c.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return c.PODCAST_COUNTER;case 8:case"ARTIST_V4":return c.ARTIST_V4;case 9:case"ALBUM_V4":return c.ALBUM_V4;case 10:case"TRACK_V4":return c.TRACK_V4;case 11:case"SHOW_V4":return c.SHOW_V4;case 12:case"EPISODE_V4":return c.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return c.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return c.PODCAST_QUOTES;case 15:case"USER_PROFILE":return c.USER_PROFILE;case 16:case"CANVAS_V1":return c.CANVAS_V1;case 17:case"SHOW_V4_BASE":return c.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return c.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return c.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return c.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return c.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return c.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return c.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return c.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return c.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return c.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return c.AUTOMIX_MODE;case 28:case"CUEPOINTS":return c.CUEPOINTS;case 29:case"PODCAST_POLL":return c.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return c.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return c.SHOW_ACCESS;case 32:case"PODCAST_QNA":return c.PODCAST_QNA;case 33:case"CLIPS":return c.CLIPS;case 34:case"SHOW_V5":return c.SHOW_V5;case 35:case"EPISODE_V5":return c.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return c.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return c.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return c.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return c.GREENROOM;case 40:case"USER_CREATED":return c.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return c.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return c.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return c.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return c.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return c.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return c.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return c.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return c.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return c.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return c.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return c.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return c.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return c.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return c.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return c.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return c.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return c.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return c.CONTENT_WARNING;case 59:case"IMAGE_CUE":return c.IMAGE_CUE;case 60:case"STREAM_COUNT":return c.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return c.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return c.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return c.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return c.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return c.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return c.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return c.LIVE;case 68:case"SKIP_PLAYED":return c.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return c.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return c.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return c.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return c.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return c.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return c.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return c.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return c.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return c.PODCAST_GUEST;case 78:case"PLAYABILITY":return c.PLAYABILITY;case 79:case"COVER_IMAGE":return c.COVER_IMAGE;case 80:case"SHARE_TRAIT":return c.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return c.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return c.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return c.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return c.CONCEPT;case 85:case"ORIGINAL_VIDEO":return c.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return c.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return c.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return c.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return c.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return c.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return c.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return c.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return c.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return c.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return c.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return c.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return c.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return c.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return c.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return c.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return c.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return c.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return c.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return c.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return c.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return c.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return c.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return c.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return c.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return c.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return c.MERCH;case 113:case"COMPANION_CONTENT":return c.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return c.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return c.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return c.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return c.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return c.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return c.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return c.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return c.COURSE_SPECIFICS;case 122:case"CONCERT":return c.CONCERT;case 123:case"CONCERT_LOCATION":return c.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return c.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return c.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return c.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return c.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return c.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return c.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return c.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return c.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return c.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return c.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return c.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return c.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return c.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return c.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return c.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return c.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return c.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return c.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return c.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return c.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return c.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return c.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return c.SUPPORTED_BADGES;case 147:case"BADGES":return c.BADGES;case 148:case"PREVIEW_TRAIT":return c.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return c.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return c.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return c.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return c.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return c.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return c.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return c.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return c.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return c.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return c.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return c.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return c.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return c.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return c.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return c.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return c.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return c.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return c.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return c.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return c.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return c.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return c.AUTO_LENS;default:return c.UNRECOGNIZED}}function u(e){switch(e){case c.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case c.CANVAZ:return"CANVAZ";case c.STORYLINES:return"STORYLINES";case c.PODCAST_TOPICS:return"PODCAST_TOPICS";case c.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case c.AUDIO_FILES:return"AUDIO_FILES";case c.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case c.PODCAST_COUNTER:return"PODCAST_COUNTER";case c.ARTIST_V4:return"ARTIST_V4";case c.ALBUM_V4:return"ALBUM_V4";case c.TRACK_V4:return"TRACK_V4";case c.SHOW_V4:return"SHOW_V4";case c.EPISODE_V4:return"EPISODE_V4";case c.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case c.PODCAST_QUOTES:return"PODCAST_QUOTES";case c.USER_PROFILE:return"USER_PROFILE";case c.CANVAS_V1:return"CANVAS_V1";case c.SHOW_V4_BASE:return"SHOW_V4_BASE";case c.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case c.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case c.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case c.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case c.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case c.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case c.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case c.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case c.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case c.AUTOMIX_MODE:return"AUTOMIX_MODE";case c.CUEPOINTS:return"CUEPOINTS";case c.PODCAST_POLL:return"PODCAST_POLL";case c.EPISODE_ACCESS:return"EPISODE_ACCESS";case c.SHOW_ACCESS:return"SHOW_ACCESS";case c.PODCAST_QNA:return"PODCAST_QNA";case c.CLIPS:return"CLIPS";case c.SHOW_V5:return"SHOW_V5";case c.EPISODE_V5:return"EPISODE_V5";case c.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case c.PODCAST_RATING:return"PODCAST_RATING";case c.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case c.GREENROOM:return"GREENROOM";case c.USER_CREATED:return"USER_CREATED";case c.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case c.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case c.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case c.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case c.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case c.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case c.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case c.CLIENT_CONFIG:return"CLIENT_CONFIG";case c.PLAYLISTABILITY:return"PLAYLISTABILITY";case c.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case c.CHAPTER_V5:return"CHAPTER_V5";case c.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case c.EPISODE_RANKING:return"EPISODE_RANKING";case c.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case c.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case c.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case c.PLAY_TRAIT:return"PLAY_TRAIT";case c.CONTENT_WARNING:return"CONTENT_WARNING";case c.IMAGE_CUE:return"IMAGE_CUE";case c.STREAM_COUNT:return"STREAM_COUNT";case c.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case c.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case c.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case c.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case c.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case c.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case c.LIVE:return"LIVE";case c.SKIP_PLAYED:return"SKIP_PLAYED";case c.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case c.ASSOCIATIONS:return"ASSOCIATIONS";case c.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case c.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case c.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case c.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case c.USER_COMMENTS:return"USER_COMMENTS";case c.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case c.PODCAST_GUEST:return"PODCAST_GUEST";case c.PLAYABILITY:return"PLAYABILITY";case c.COVER_IMAGE:return"COVER_IMAGE";case c.SHARE_TRAIT:return"SHARE_TRAIT";case c.INSTANCE_SHARING:return"INSTANCE_SHARING";case c.ARTIST_TOUR:return"ARTIST_TOUR";case c.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case c.CONCEPT:return"CONCEPT";case c.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case c.SMART_SHUFFLE:return"SMART_SHUFFLE";case c.LIVE_EVENTS:return"LIVE_EVENTS";case c.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case c.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case c.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case c.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case c.FEWER_ADS:return"FEWER_ADS";case c.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case c.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case c.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case c.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case c.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case c.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case c.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case c.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case c.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case c.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case c.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case c.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case c.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case c.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case c.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case c.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case c.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case c.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case c.MERCH:return"MERCH";case c.COMPANION_CONTENT:return"COMPANION_CONTENT";case c.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case c.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case c.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case c.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case c.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case c.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case c.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case c.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case c.CONCERT:return"CONCERT";case c.CONCERT_LOCATION:return"CONCERT_LOCATION";case c.CONCERT_MARKETING:return"CONCERT_MARKETING";case c.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case c.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case c.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case c.NAME_TRAIT:return"NAME_TRAIT";case c.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case c.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case c.CREDITS_TRAIT:return"CREDITS_TRAIT";case c.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case c.ENTITY_CAPPING:return"ENTITY_CAPPING";case c.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case c.CONCERT_OFFERS:return"CONCERT_OFFERS";case c.TRANSITION_MAPS:return"TRANSITION_MAPS";case c.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case c.PRERELEASE:return"PRERELEASE";case c.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case c.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case c.LIST_METADATA:return"LIST_METADATA";case c.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case c.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case c.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case c.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case c.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case c.BADGES:return"BADGES";case c.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case c.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case c.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case c.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case c.POPULAR_RELEASES:return"POPULAR_RELEASES";case c.RELATED_RELEASES:return"RELATED_RELEASES";case c.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case c.CONCERT_OFFER:return"CONCERT_OFFER";case c.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case c.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case c.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case c.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case c.REORDERING_TRAIT:return"REORDERING_TRAIT";case c.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case c.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case c.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case c.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case c.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case c.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case c.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case c.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case c.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case c.AUTO_LENS:return"AUTO_LENS";case c.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(c||(c={}));const d={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.length&&t.uint32(16).bool(e.length),!0===e.name&&t.uint32(24).bool(e.name),!0===e.manifestId&&t.uint32(32).bool(e.manifestId),!0===e.previewId&&t.uint32(40).bool(e.previewId),!0===e.previewManifestId&&t.uint32(48).bool(e.previewManifestId),!0===e.description&&t.uint32(56).bool(e.description),!0===e.publishDate&&t.uint32(64).bool(e.publishDate),!0===e.covers&&t.uint32(72).bool(e.covers),!0===e.freezeFrames&&t.uint32(80).bool(e.freezeFrames),!0===e.language&&t.uint32(88).bool(e.language),!0===e.available&&t.uint32(96).bool(e.available),!0===e.mediaTypeEnum&&t.uint32(104).bool(e.mediaTypeEnum),!0===e.number&&t.uint32(112).bool(e.number),!0===e.backgroundable&&t.uint32(120).bool(e.backgroundable),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),!0===e.type&&t.uint32(136).bool(e.type),!0===e.isMusicAndTalk&&t.uint32(144).bool(e.isMusicAndTalk),t.uint32(170).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.is19PlusOnly&&t.uint32(176).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(184).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(192).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(200).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.length=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.manifestId=n.bool();continue;case 5:if(40!==e)break;r.previewId=n.bool();continue;case 6:if(48!==e)break;r.previewManifestId=n.bool();continue;case 7:if(56!==e)break;r.description=n.bool();continue;case 8:if(64!==e)break;r.publishDate=n.bool();continue;case 9:if(72!==e)break;r.covers=n.bool();continue;case 10:if(80!==e)break;r.freezeFrames=n.bool();continue;case 11:if(88!==e)break;r.language=n.bool();continue;case 12:if(96!==e)break;r.available=n.bool();continue;case 13:if(104!==e)break;r.mediaTypeEnum=n.bool();continue;case 14:if(112!==e)break;r.number=n.bool();continue;case 15:if(120!==e)break;r.backgroundable=n.bool();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(136!==e)break;r.type=n.bool();continue;case 18:if(144!==e)break;r.isMusicAndTalk=n.bool();continue;case 21:if(168===e){r.extension.push(n.int32());continue}if(170===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 22:if(176!==e)break;r.is19PlusOnly=n.bool();continue;case 23:if(184!==e)break;r.isBookChapter=n.bool();continue;case 24:if(192!==e)break;r.isPodcastShort=n.bool();continue;case 25:if(200!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!p(e.link)&&Boolean(e.link),length:!!p(e.length)&&Boolean(e.length),name:!!p(e.name)&&Boolean(e.name),manifestId:!!p(e.manifestId)&&Boolean(e.manifestId),previewId:!!p(e.previewId)&&Boolean(e.previewId),previewManifestId:!!p(e.previewManifestId)&&Boolean(e.previewManifestId),description:!!p(e.description)&&Boolean(e.description),publishDate:!!p(e.publishDate)&&Boolean(e.publishDate),covers:!!p(e.covers)&&Boolean(e.covers),freezeFrames:!!p(e.freezeFrames)&&Boolean(e.freezeFrames),language:!!p(e.language)&&Boolean(e.language),available:!!p(e.available)&&Boolean(e.available),mediaTypeEnum:!!p(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),number:!!p(e.number)&&Boolean(e.number),backgroundable:!!p(e.backgroundable)&&Boolean(e.backgroundable),isExplicit:!!p(e.isExplicit)&&Boolean(e.isExplicit),type:!!p(e.type)&&Boolean(e.type),isMusicAndTalk:!!p(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>l(e))):[],is19PlusOnly:!!p(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!p(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!p(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!p(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.length&&(t.length=e.length),!0===e.name&&(t.name=e.name),!0===e.manifestId&&(t.manifestId=e.manifestId),!0===e.previewId&&(t.previewId=e.previewId),!0===e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.description&&(t.description=e.description),!0===e.publishDate&&(t.publishDate=e.publishDate),!0===e.covers&&(t.covers=e.covers),!0===e.freezeFrames&&(t.freezeFrames=e.freezeFrames),!0===e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.number&&(t.number=e.number),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.type&&(t.type=e.type),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>u(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};return t.link=e.link??!1,t.length=e.length??!1,t.name=e.name??!1,t.manifestId=e.manifestId??!1,t.previewId=e.previewId??!1,t.previewManifestId=e.previewManifestId??!1,t.description=e.description??!1,t.publishDate=e.publishDate??!1,t.covers=e.covers??!1,t.freezeFrames=e.freezeFrames??!1,t.language=e.language??!1,t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.number=e.number??!1,t.backgroundable=e.backgroundable??!1,t.isExplicit=e.isExplicit??!1,t.type=e.type??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function p(e){return null!=e}const h={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.description&&t.uint32(24).bool(e.description),!0===e.popularity&&t.uint32(32).bool(e.popularity),!0===e.publisher&&t.uint32(40).bool(e.publisher),!0===e.language&&t.uint32(48).bool(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),!0===e.covers&&t.uint32(64).bool(e.covers),!0===e.numEpisodes&&t.uint32(72).bool(e.numEpisodes),!0===e.consumptionOrder&&t.uint32(80).bool(e.consumptionOrder),!0===e.mediaTypeEnum&&t.uint32(88).bool(e.mediaTypeEnum),!0===e.copyrights&&t.uint32(96).bool(e.copyrights),!0===e.trailerUri&&t.uint32(104).bool(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk),t.uint32(130).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isBook&&t.uint32(136).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(144).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.description=n.bool();continue;case 4:if(32!==e)break;r.popularity=n.bool();continue;case 5:if(40!==e)break;r.publisher=n.bool();continue;case 6:if(48!==e)break;r.language=n.bool();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(64!==e)break;r.covers=n.bool();continue;case 9:if(72!==e)break;r.numEpisodes=n.bool();continue;case 10:if(80!==e)break;r.consumptionOrder=n.bool();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.bool();continue;case 12:if(96!==e)break;r.copyrights=n.bool();continue;case 13:if(104!==e)break;r.trailerUri=n.bool();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 16:if(128===e){r.extension.push(n.int32());continue}if(130===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 17:if(136!==e)break;r.isBook=n.bool();continue;case 18:if(144!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!f(e.link)&&Boolean(e.link),name:!!f(e.name)&&Boolean(e.name),description:!!f(e.description)&&Boolean(e.description),popularity:!!f(e.popularity)&&Boolean(e.popularity),publisher:!!f(e.publisher)&&Boolean(e.publisher),language:!!f(e.language)&&Boolean(e.language),isExplicit:!!f(e.isExplicit)&&Boolean(e.isExplicit),covers:!!f(e.covers)&&Boolean(e.covers),numEpisodes:!!f(e.numEpisodes)&&Boolean(e.numEpisodes),consumptionOrder:!!f(e.consumptionOrder)&&Boolean(e.consumptionOrder),mediaTypeEnum:!!f(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),copyrights:!!f(e.copyrights)&&Boolean(e.copyrights),trailerUri:!!f(e.trailerUri)&&Boolean(e.trailerUri),isMusicAndTalk:!!f(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>l(e))):[],isBook:!!f(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!f(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.description&&(t.description=e.description),!0===e.popularity&&(t.popularity=e.popularity),!0===e.publisher&&(t.publisher=e.publisher),!0===e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.covers&&(t.covers=e.covers),!0===e.numEpisodes&&(t.numEpisodes=e.numEpisodes),!0===e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>u(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??!1,t.name=e.name??!1,t.description=e.description??!1,t.popularity=e.popularity??!1,t.publisher=e.publisher??!1,t.language=e.language??!1,t.isExplicit=e.isExplicit??!1,t.covers=e.covers??!1,t.numEpisodes=e.numEpisodes??!1,t.consumptionOrder=e.consumptionOrder??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.copyrights=e.copyrights??!1,t.trailerUri=e.trailerUri??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};function f(e){return null!=e}const m={encode(e,t=i.Writer.create()){!0===e.hasLyrics&&t.uint32(8).bool(e.hasLyrics),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.length&&t.uint32(32).bool(e.length),!0===e.playable&&t.uint32(40).bool(e.playable),!0===e.isAvailableInMetadataCatalogue&&t.uint32(48).bool(e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&t.uint32(56).bool(e.locallyPlayable),!0===e.playableLocalTrack&&t.uint32(64).bool(e.playableLocalTrack),!0===e.discNumber&&t.uint32(72).bool(e.discNumber),!0===e.trackNumber&&t.uint32(80).bool(e.trackNumber),!0===e.isExplicit&&t.uint32(88).bool(e.isExplicit),!0===e.previewId&&t.uint32(96).bool(e.previewId),!0===e.isLocal&&t.uint32(104).bool(e.isLocal),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.playableTrackLink&&t.uint32(120).bool(e.playableTrackLink),!0===e.popularity&&t.uint32(128).bool(e.popularity),!0===e.is19PlusOnly&&t.uint32(136).bool(e.is19PlusOnly),!0===e.trackDescriptors&&t.uint32(144).bool(e.trackDescriptors),t.uint32(154).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isCurated&&t.uint32(160).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.hasLyrics=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.length=n.bool();continue;case 5:if(40!==e)break;r.playable=n.bool();continue;case 6:if(48!==e)break;r.isAvailableInMetadataCatalogue=n.bool();continue;case 7:if(56!==e)break;r.locallyPlayable=n.bool();continue;case 8:if(64!==e)break;r.playableLocalTrack=n.bool();continue;case 9:if(72!==e)break;r.discNumber=n.bool();continue;case 10:if(80!==e)break;r.trackNumber=n.bool();continue;case 11:if(88!==e)break;r.isExplicit=n.bool();continue;case 12:if(96!==e)break;r.previewId=n.bool();continue;case 13:if(104!==e)break;r.isLocal=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.playableTrackLink=n.bool();continue;case 16:if(128!==e)break;r.popularity=n.bool();continue;case 17:if(136!==e)break;r.is19PlusOnly=n.bool();continue;case 18:if(144!==e)break;r.trackDescriptors=n.bool();continue;case 19:if(152===e){r.extension.push(n.int32());continue}if(154===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 20:if(160!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({hasLyrics:!!_(e.hasLyrics)&&Boolean(e.hasLyrics),link:!!_(e.link)&&Boolean(e.link),name:!!_(e.name)&&Boolean(e.name),length:!!_(e.length)&&Boolean(e.length),playable:!!_(e.playable)&&Boolean(e.playable),isAvailableInMetadataCatalogue:!!_(e.isAvailableInMetadataCatalogue)&&Boolean(e.isAvailableInMetadataCatalogue),locallyPlayable:!!_(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableLocalTrack:!!_(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),discNumber:!!_(e.discNumber)&&Boolean(e.discNumber),trackNumber:!!_(e.trackNumber)&&Boolean(e.trackNumber),isExplicit:!!_(e.isExplicit)&&Boolean(e.isExplicit),previewId:!!_(e.previewId)&&Boolean(e.previewId),isLocal:!!_(e.isLocal)&&Boolean(e.isLocal),isPremiumOnly:!!_(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),playableTrackLink:!!_(e.playableTrackLink)&&Boolean(e.playableTrackLink),popularity:!!_(e.popularity)&&Boolean(e.popularity),is19PlusOnly:!!_(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:!!_(e.trackDescriptors)&&Boolean(e.trackDescriptors),extension:Array.isArray(e?.extension)?e.extension.map((e=>l(e))):[],isCurated:!!_(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!_(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.length&&(t.length=e.length),!0===e.playable&&(t.playable=e.playable),!0===e.isAvailableInMetadataCatalogue&&(t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.discNumber&&(t.discNumber=e.discNumber),!0===e.trackNumber&&(t.trackNumber=e.trackNumber),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),!0===e.popularity&&(t.popularity=e.popularity),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.trackDescriptors&&(t.trackDescriptors=e.trackDescriptors),e.extension?.length&&(t.extension=e.extension.map((e=>u(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};return t.hasLyrics=e.hasLyrics??!1,t.link=e.link??!1,t.name=e.name??!1,t.length=e.length??!1,t.playable=e.playable??!1,t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.discNumber=e.discNumber??!1,t.trackNumber=e.trackNumber??!1,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??!1,t.isLocal=e.isLocal??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.playableTrackLink=e.playableTrackLink??!1,t.popularity=e.popularity??!1,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors??!1,t.extension=e.extension?.map((e=>e))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function _(e){return null!=e}const g={encode(e,t=i.Writer.create()){for(const n of e.episodeUris)t.uint32(10).string(n);return void 0!==e.trackDecorationPolicy&&E.encode(e.trackDecorationPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.segmentsPolicy&&v.encode(e.segmentsPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.episodeDecorationPolicy&&y.encode(e.episodeDecorationPolicy,t.uint32(34).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodeUris:[],trackDecorationPolicy:void 0,segmentsPolicy:void 0,episodeDecorationPolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodeUris.push(n.string());continue;case 2:if(18!==e)break;r.trackDecorationPolicy=E.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.segmentsPolicy=v.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodeDecorationPolicy=y.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodeUris:Array.isArray(e?.episodeUris)?e.episodeUris.map((e=>String(e))):[],trackDecorationPolicy:b(e.trackDecorationPolicy)?E.fromJSON(e.trackDecorationPolicy):void 0,segmentsPolicy:b(e.segmentsPolicy)?v.fromJSON(e.segmentsPolicy):void 0,episodeDecorationPolicy:b(e.episodeDecorationPolicy)?y.fromJSON(e.episodeDecorationPolicy):void 0}),toJSON(e){const t={};return e.episodeUris?.length&&(t.episodeUris=e.episodeUris),void 0!==e.trackDecorationPolicy&&(t.trackDecorationPolicy=E.toJSON(e.trackDecorationPolicy)),void 0!==e.segmentsPolicy&&(t.segmentsPolicy=v.toJSON(e.segmentsPolicy)),void 0!==e.episodeDecorationPolicy&&(t.episodeDecorationPolicy=y.toJSON(e.episodeDecorationPolicy)),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t={episodeUris:[],trackDecorationPolicy:void 0,segmentsPolicy:void 0,episodeDecorationPolicy:void 0};return t.episodeUris=e.episodeUris?.map((e=>e))||[],t.trackDecorationPolicy=void 0!==e.trackDecorationPolicy&&null!==e.trackDecorationPolicy?E.fromPartial(e.trackDecorationPolicy):void 0,t.segmentsPolicy=void 0!==e.segmentsPolicy&&null!==e.segmentsPolicy?v.fromPartial(e.segmentsPolicy):void 0,t.episodeDecorationPolicy=void 0!==e.episodeDecorationPolicy&&null!==e.episodeDecorationPolicy?y.fromPartial(e.episodeDecorationPolicy):void 0,t}};const E={encode:(e,t=i.Writer.create())=>(void 0!==e.trackPolicy&&m.encode(e.trackPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.artistsPolicy&&a.encode(e.artistsPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.albumPolicy&&o.encode(e.albumPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.albumArtistPolicy&&a.encode(e.albumArtistPolicy,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const s={trackPolicy:void 0,artistsPolicy:void 0,albumPolicy:void 0,albumArtistPolicy:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;s.trackPolicy=m.decode(n,n.uint32());continue;case 2:if(18!==e)break;s.artistsPolicy=a.decode(n,n.uint32());continue;case 3:if(26!==e)break;s.albumPolicy=o.decode(n,n.uint32());continue;case 4:if(34!==e)break;s.albumArtistPolicy=a.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return s},fromJSON:e=>({trackPolicy:b(e.trackPolicy)?m.fromJSON(e.trackPolicy):void 0,artistsPolicy:b(e.artistsPolicy)?a.fromJSON(e.artistsPolicy):void 0,albumPolicy:b(e.albumPolicy)?o.fromJSON(e.albumPolicy):void 0,albumArtistPolicy:b(e.albumArtistPolicy)?a.fromJSON(e.albumArtistPolicy):void 0}),toJSON(e){const t={};return void 0!==e.trackPolicy&&(t.trackPolicy=m.toJSON(e.trackPolicy)),void 0!==e.artistsPolicy&&(t.artistsPolicy=a.toJSON(e.artistsPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=o.toJSON(e.albumPolicy)),void 0!==e.albumArtistPolicy&&(t.albumArtistPolicy=a.toJSON(e.albumArtistPolicy)),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={trackPolicy:void 0,artistsPolicy:void 0,albumPolicy:void 0,albumArtistPolicy:void 0};return t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?m.fromPartial(e.trackPolicy):void 0,t.artistsPolicy=void 0!==e.artistsPolicy&&null!==e.artistsPolicy?a.fromPartial(e.artistsPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?o.fromPartial(e.albumPolicy):void 0,t.albumArtistPolicy=void 0!==e.albumArtistPolicy&&null!==e.albumArtistPolicy?a.fromPartial(e.albumArtistPolicy):void 0,t}};const v={encode:(e,t=i.Writer.create())=>(!0===e.playback&&t.uint32(8).bool(e.playback),!0===e.embedded&&t.uint32(16).bool(e.embedded),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playback:!1,embedded:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.playback=n.bool();continue;case 2:if(16!==e)break;r.embedded=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playback:!!b(e.playback)&&Boolean(e.playback),embedded:!!b(e.embedded)&&Boolean(e.embedded)}),toJSON(e){const t={};return!0===e.playback&&(t.playback=e.playback),!0===e.embedded&&(t.embedded=e.embedded),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={playback:!1,embedded:!1};return t.playback=e.playback??!1,t.embedded=e.embedded??!1,t}};const y={encode:(e,t=i.Writer.create())=>(void 0!==e.episodePolicy&&d.encode(e.episodePolicy,t.uint32(10).fork()).ldelim(),void 0!==e.showDecorationPolicy&&h.encode(e.showDecorationPolicy,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodePolicy:void 0,showDecorationPolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodePolicy=d.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.showDecorationPolicy=h.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodePolicy:b(e.episodePolicy)?d.fromJSON(e.episodePolicy):void 0,showDecorationPolicy:b(e.showDecorationPolicy)?h.fromJSON(e.showDecorationPolicy):void 0}),toJSON(e){const t={};return void 0!==e.episodePolicy&&(t.episodePolicy=d.toJSON(e.episodePolicy)),void 0!==e.showDecorationPolicy&&(t.showDecorationPolicy=h.toJSON(e.showDecorationPolicy)),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={episodePolicy:void 0,showDecorationPolicy:void 0};return t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?d.fromPartial(e.episodePolicy):void 0,t.showDecorationPolicy=void 0!==e.showDecorationPolicy&&null!==e.showDecorationPolicy?h.fromPartial(e.showDecorationPolicy):void 0,t}};function b(e){return null!=e}var S=n(87252);function T(){return{extensionKind:0,data:new Uint8Array(0)}}const A={encode:(e,t=i.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=T();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:C(e.extensionKind)?l(e.extensionKind):0,data:C(e.data)?O(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=u(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(I.Buffer)return I.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),I.btoa(t.join(""))}}(e.data)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t=T();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},I=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function O(e){if(I.Buffer)return Uint8Array.from(I.Buffer.from(e,"base64"));{const t=I.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function C(e){return null!=e}const R={encode:(e,t=i.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:N(e.standardLink)?String(e.standardLink):"",smallLink:N(e.smallLink)?String(e.smallLink):"",largeLink:N(e.largeLink)?String(e.largeLink):"",xlargeLink:N(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function N(e){return null!=e}var P,L;function k(e){switch(e){case 0:case"UNKNOWN":return P.UNKNOWN;case 1:case"FULL":return P.FULL;case 2:case"TRAILER":return P.TRAILER;case 3:case"BONUS":return P.BONUS;default:return P.UNRECOGNIZED}}function w(e){switch(e){case 0:case"VODCAST":return L.VODCAST;case 1:case"AUDIO":return L.AUDIO;case 2:case"VIDEO":return L.VIDEO;default:return L.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.FULL=1]="FULL",e[e.TRAILER=2]="TRAILER",e[e.BONUS=3]="BONUS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(P||(P={})),function(e){e[e.VODCAST=0]="VODCAST",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(L||(L={}));const D={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.publisher&&t.uint32(26).string(e.publisher),void 0!==e.covers&&R.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",publisher:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.publisher=n.string();continue;case 4:if(34!==e)break;r.covers=R.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:U(e.link)?String(e.link):"",name:U(e.name)?String(e.name):"",publisher:U(e.publisher)?String(e.publisher):"",covers:U(e.covers)?R.fromJSON(e.covers):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.publisher&&(t.publisher=e.publisher),void 0!==e.covers&&(t.covers=R.toJSON(e.covers)),t},create:e=>D.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",publisher:"",covers:void 0};return t.link=e.link??"",t.name=e.name??"",t.publisher=e.publisher??"",t.covers=void 0!==e.covers&&null!==e.covers?R.fromPartial(e.covers):void 0,t}};function M(){return{show:void 0,link:"",name:"",length:0,covers:void 0,manifestId:"",description:"",publishDate:BigInt("0"),freezeFrames:void 0,language:"",available:!1,mediaTypeEnum:0,number:0,backgroundable:!1,previewManifestId:"",isExplicit:!1,previewId:"",episodeType:0,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1}}const x={encode(e,t=i.Writer.create()){void 0!==e.show&&D.encode(e.show,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),0!==e.length&&t.uint32(32).uint32(e.length),void 0!==e.covers&&R.encode(e.covers,t.uint32(42).fork()).ldelim(),""!==e.manifestId&&t.uint32(50).string(e.manifestId),""!==e.description&&t.uint32(58).string(e.description),e.publishDate!==BigInt("0")&&t.uint32(64).int64(e.publishDate.toString()),void 0!==e.freezeFrames&&R.encode(e.freezeFrames,t.uint32(74).fork()).ldelim(),""!==e.language&&t.uint32(82).string(e.language),!0===e.available&&t.uint32(88).bool(e.available),0!==e.mediaTypeEnum&&t.uint32(96).int32(e.mediaTypeEnum),0!==e.number&&t.uint32(104).int32(e.number),!0===e.backgroundable&&t.uint32(112).bool(e.backgroundable),""!==e.previewManifestId&&t.uint32(122).string(e.previewManifestId),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),""!==e.previewId&&t.uint32(138).string(e.previewId),0!==e.episodeType&&t.uint32(144).int32(e.episodeType),!0===e.isMusicAndTalk&&t.uint32(152).bool(e.isMusicAndTalk);for(const n of e.extension)A.encode(n,t.uint32(178).fork()).ldelim();return!0===e.is19PlusOnly&&t.uint32(184).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(192).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(200).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(208).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=M();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.show=D.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(42!==e)break;r.covers=R.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.manifestId=n.string();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(64!==e)break;r.publishDate=(a=n.int64(),BigInt(a.toString()));continue;case 9:if(74!==e)break;r.freezeFrames=R.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.language=n.string();continue;case 11:if(88!==e)break;r.available=n.bool();continue;case 12:if(96!==e)break;r.mediaTypeEnum=n.int32();continue;case 13:if(104!==e)break;r.number=n.int32();continue;case 14:if(112!==e)break;r.backgroundable=n.bool();continue;case 15:if(122!==e)break;r.previewManifestId=n.string();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(138!==e)break;r.previewId=n.string();continue;case 18:if(144!==e)break;r.episodeType=n.int32();continue;case 19:if(152!==e)break;r.isMusicAndTalk=n.bool();continue;case 22:if(178!==e)break;r.extension.push(A.decode(n,n.uint32()));continue;case 23:if(184!==e)break;r.is19PlusOnly=n.bool();continue;case 24:if(192!==e)break;r.isBookChapter=n.bool();continue;case 25:if(200!==e)break;r.isPodcastShort=n.bool();continue;case 26:if(208!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({show:U(e.show)?D.fromJSON(e.show):void 0,link:U(e.link)?String(e.link):"",name:U(e.name)?String(e.name):"",length:U(e.length)?Number(e.length):0,covers:U(e.covers)?R.fromJSON(e.covers):void 0,manifestId:U(e.manifestId)?String(e.manifestId):"",description:U(e.description)?String(e.description):"",publishDate:U(e.publishDate)?BigInt(e.publishDate):BigInt("0"),freezeFrames:U(e.freezeFrames)?R.fromJSON(e.freezeFrames):void 0,language:U(e.language)?String(e.language):"",available:!!U(e.available)&&Boolean(e.available),mediaTypeEnum:U(e.mediaTypeEnum)?w(e.mediaTypeEnum):0,number:U(e.number)?Number(e.number):0,backgroundable:!!U(e.backgroundable)&&Boolean(e.backgroundable),previewManifestId:U(e.previewManifestId)?String(e.previewManifestId):"",isExplicit:!!U(e.isExplicit)&&Boolean(e.isExplicit),previewId:U(e.previewId)?String(e.previewId):"",episodeType:U(e.episodeType)?k(e.episodeType):0,isMusicAndTalk:!!U(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>A.fromJSON(e))):[],is19PlusOnly:!!U(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!U(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!U(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!U(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return void 0!==e.show&&(t.show=D.toJSON(e.show)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.covers&&(t.covers=R.toJSON(e.covers)),""!==e.manifestId&&(t.manifestId=e.manifestId),""!==e.description&&(t.description=e.description),e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),void 0!==e.freezeFrames&&(t.freezeFrames=R.toJSON(e.freezeFrames)),""!==e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=function(e){switch(e){case L.VODCAST:return"VODCAST";case L.AUDIO:return"AUDIO";case L.VIDEO:return"VIDEO";case L.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.mediaTypeEnum)),0!==e.number&&(t.number=Math.round(e.number)),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),""!==e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),0!==e.episodeType&&(t.episodeType=function(e){switch(e){case P.UNKNOWN:return"UNKNOWN";case P.FULL:return"FULL";case P.TRAILER:return"TRAILER";case P.BONUS:return"BONUS";case P.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.episodeType)),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>A.toJSON(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t=M();return t.show=void 0!==e.show&&null!==e.show?D.fromPartial(e.show):void 0,t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.covers=void 0!==e.covers&&null!==e.covers?R.fromPartial(e.covers):void 0,t.manifestId=e.manifestId??"",t.description=e.description??"",t.publishDate=e.publishDate??BigInt("0"),t.freezeFrames=void 0!==e.freezeFrames&&null!==e.freezeFrames?R.fromPartial(e.freezeFrames):void 0,t.language=e.language??"",t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??0,t.number=e.number??0,t.backgroundable=e.backgroundable??!1,t.previewManifestId=e.previewManifestId??"",t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.episodeType=e.episodeType??0,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>A.fromPartial(e)))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function U(e){return null!=e}i.util.Long!==S&&(i.util.Long=S,i.configure());const V={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:W(e.link)?String(e.link):"",name:W(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const F={encode:(e,t=i.Writer.create())=>(void 0!==e.artist&&V.encode(e.artist,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),void 0!==e.covers&&R.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artist:void 0,link:"",name:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artist=V.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(34!==e)break;r.covers=R.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artist:W(e.artist)?V.fromJSON(e.artist):void 0,link:W(e.link)?String(e.link):"",name:W(e.name)?String(e.name):"",covers:W(e.covers)?R.fromJSON(e.covers):void 0}),toJSON(e){const t={};return void 0!==e.artist&&(t.artist=V.toJSON(e.artist)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.covers&&(t.covers=R.toJSON(e.covers)),t},create:e=>F.fromPartial(e??{}),fromPartial(e){const t={artist:void 0,link:"",name:"",covers:void 0};return t.artist=void 0!==e.artist&&null!==e.artist?V.fromPartial(e.artist):void 0,t.link=e.link??"",t.name=e.name??"",t.covers=void 0!==e.covers&&null!==e.covers?R.fromPartial(e.covers):void 0,t}};const B={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.portraits&&R.encode(e.portraits,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",portraits:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.portraits=R.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:W(e.link)?String(e.link):"",name:W(e.name)?String(e.name):"",portraits:W(e.portraits)?R.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.portraits&&(t.portraits=R.toJSON(e.portraits)),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.portraits=void 0!==e.portraits&&null!==e.portraits?R.fromPartial(e.portraits):void 0,t}};const H={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:W(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={name:""};return t.name=e.name??"",t}};const G={encode(e,t=i.Writer.create()){void 0!==e.album&&F.encode(e.album,t.uint32(10).fork()).ldelim();for(const n of e.artist)B.encode(n,t.uint32(18).fork()).ldelim();""!==e.link&&t.uint32(26).string(e.link),""!==e.name&&t.uint32(34).string(e.name),0!==e.length&&t.uint32(40).uint32(e.length),!0===e.playable&&t.uint32(48).bool(e.playable),0!==e.discNumber&&t.uint32(56).uint32(e.discNumber),0!==e.trackNumber&&t.uint32(64).uint32(e.trackNumber),!0===e.isExplicit&&t.uint32(72).bool(e.isExplicit),""!==e.previewId&&t.uint32(82).string(e.previewId),!0===e.isLocal&&t.uint32(88).bool(e.isLocal),!0===e.playableLocalTrack&&t.uint32(96).bool(e.playableLocalTrack),!0===e.hasLyrics&&t.uint32(104).bool(e.hasLyrics),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.locallyPlayable&&t.uint32(120).bool(e.locallyPlayable),""!==e.playableTrackLink&&t.uint32(130).string(e.playableTrackLink),0!==e.popularity&&t.uint32(136).uint32(e.popularity),!0===e.is19PlusOnly&&t.uint32(144).bool(e.is19PlusOnly);for(const n of e.trackDescriptors)H.encode(n,t.uint32(154).fork()).ldelim();for(const n of e.extension)A.encode(n,t.uint32(162).fork()).ldelim();return!0===e.isCurated&&t.uint32(168).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=F.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist.push(B.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.link=n.string();continue;case 4:if(34!==e)break;r.name=n.string();continue;case 5:if(40!==e)break;r.length=n.uint32();continue;case 6:if(48!==e)break;r.playable=n.bool();continue;case 7:if(56!==e)break;r.discNumber=n.uint32();continue;case 8:if(64!==e)break;r.trackNumber=n.uint32();continue;case 9:if(72!==e)break;r.isExplicit=n.bool();continue;case 10:if(82!==e)break;r.previewId=n.string();continue;case 11:if(88!==e)break;r.isLocal=n.bool();continue;case 12:if(96!==e)break;r.playableLocalTrack=n.bool();continue;case 13:if(104!==e)break;r.hasLyrics=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.locallyPlayable=n.bool();continue;case 16:if(130!==e)break;r.playableTrackLink=n.string();continue;case 17:if(136!==e)break;r.popularity=n.uint32();continue;case 18:if(144!==e)break;r.is19PlusOnly=n.bool();continue;case 19:if(154!==e)break;r.trackDescriptors.push(H.decode(n,n.uint32()));continue;case 20:if(162!==e)break;r.extension.push(A.decode(n,n.uint32()));continue;case 21:if(168!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:W(e.album)?F.fromJSON(e.album):void 0,artist:Array.isArray(e?.artist)?e.artist.map((e=>B.fromJSON(e))):[],link:W(e.link)?String(e.link):"",name:W(e.name)?String(e.name):"",length:W(e.length)?Number(e.length):0,playable:!!W(e.playable)&&Boolean(e.playable),discNumber:W(e.discNumber)?Number(e.discNumber):0,trackNumber:W(e.trackNumber)?Number(e.trackNumber):0,isExplicit:!!W(e.isExplicit)&&Boolean(e.isExplicit),previewId:W(e.previewId)?String(e.previewId):"",isLocal:!!W(e.isLocal)&&Boolean(e.isLocal),playableLocalTrack:!!W(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),hasLyrics:!!W(e.hasLyrics)&&Boolean(e.hasLyrics),isPremiumOnly:!!W(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),locallyPlayable:!!W(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableTrackLink:W(e.playableTrackLink)?String(e.playableTrackLink):"",popularity:W(e.popularity)?Number(e.popularity):0,is19PlusOnly:!!W(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:Array.isArray(e?.trackDescriptors)?e.trackDescriptors.map((e=>H.fromJSON(e))):[],extension:Array.isArray(e?.extension)?e.extension.map((e=>A.fromJSON(e))):[],isCurated:!!W(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!W(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return void 0!==e.album&&(t.album=F.toJSON(e.album)),e.artist?.length&&(t.artist=e.artist.map((e=>B.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),!0===e.playable&&(t.playable=e.playable),0!==e.discNumber&&(t.discNumber=Math.round(e.discNumber)),0!==e.trackNumber&&(t.trackNumber=Math.round(e.trackNumber)),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),""!==e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),e.trackDescriptors?.length&&(t.trackDescriptors=e.trackDescriptors.map((e=>H.toJSON(e)))),e.extension?.length&&(t.extension=e.extension.map((e=>A.toJSON(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};return t.album=void 0!==e.album&&null!==e.album?F.fromPartial(e.album):void 0,t.artist=e.artist?.map((e=>B.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.playable=e.playable??!1,t.discNumber=e.discNumber??0,t.trackNumber=e.trackNumber??0,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.isLocal=e.isLocal??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.hasLyrics=e.hasLyrics??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableTrackLink=e.playableTrackLink??"",t.popularity=e.popularity??0,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors?.map((e=>H.fromPartial(e)))||[],t.extension=e.extension?.map((e=>A.fromPartial(e)))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function W(e){return null!=e}var j;function Y(e){switch(e){case 0:case"UNKNOWN":return j.UNKNOWN;case 1:case"TALK":return j.TALK;case 2:case"MUSIC":return j.MUSIC;case 3:case"UPSELL":return j.UPSELL;default:return j.UNRECOGNIZED}}function z(e){switch(e){case j.UNKNOWN:return"UNKNOWN";case j.TALK:return"TALK";case j.MUSIC:return"MUSIC";case j.UPSELL:return"UPSELL";case j.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TALK=1]="TALK",e[e.MUSIC=2]="MUSIC",e[e.UPSELL=3]="UPSELL",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(j||(j={}));const K={encode(e,t=i.Writer.create()){!0===e.success&&t.uint32(8).bool(e.success);for(const n of e.episodeSegments)J.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={success:!1,episodeSegments:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.success=n.bool();continue;case 2:if(18!==e)break;r.episodeSegments.push(J.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({success:!!X(e.success)&&Boolean(e.success),episodeSegments:Array.isArray(e?.episodeSegments)?e.episodeSegments.map((e=>J.fromJSON(e))):[]}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),e.episodeSegments?.length&&(t.episodeSegments=e.episodeSegments.map((e=>J.toJSON(e)))),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={success:!1,episodeSegments:[]};return t.success=e.success??!1,t.episodeSegments=e.episodeSegments?.map((e=>J.fromPartial(e)))||[],t}};const J={encode(e,t=i.Writer.create()){""!==e.episodeUri&&t.uint32(10).string(e.episodeUri);for(const n of e.segments)q.encode(n,t.uint32(18).fork()).ldelim();!0===e.canUpsell&&t.uint32(24).bool(e.canUpsell),""!==e.albumMosaicUri&&t.uint32(34).string(e.albumMosaicUri);for(const n of e.artists)t.uint32(42).string(n);0!==e.durationMs&&t.uint32(48).int32(e.durationMs);for(const n of e.tags)t.uint32(58).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodeUri:"",segments:[],canUpsell:!1,albumMosaicUri:"",artists:[],durationMs:0,tags:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodeUri=n.string();continue;case 2:if(18!==e)break;r.segments.push(q.decode(n,n.uint32()));continue;case 3:if(24!==e)break;r.canUpsell=n.bool();continue;case 4:if(34!==e)break;r.albumMosaicUri=n.string();continue;case 5:if(42!==e)break;r.artists.push(n.string());continue;case 6:if(48!==e)break;r.durationMs=n.int32();continue;case 7:if(58!==e)break;r.tags.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodeUri:X(e.episodeUri)?String(e.episodeUri):"",segments:Array.isArray(e?.segments)?e.segments.map((e=>q.fromJSON(e))):[],canUpsell:!!X(e.canUpsell)&&Boolean(e.canUpsell),albumMosaicUri:X(e.albumMosaicUri)?String(e.albumMosaicUri):"",artists:Array.isArray(e?.artists)?e.artists.map((e=>String(e))):[],durationMs:X(e.durationMs)?Number(e.durationMs):0,tags:Array.isArray(e?.tags)?e.tags.map((e=>String(e))):[]}),toJSON(e){const t={};return""!==e.episodeUri&&(t.episodeUri=e.episodeUri),e.segments?.length&&(t.segments=e.segments.map((e=>q.toJSON(e)))),!0===e.canUpsell&&(t.canUpsell=e.canUpsell),""!==e.albumMosaicUri&&(t.albumMosaicUri=e.albumMosaicUri),e.artists?.length&&(t.artists=e.artists),0!==e.durationMs&&(t.durationMs=Math.round(e.durationMs)),e.tags?.length&&(t.tags=e.tags),t},create:e=>J.fromPartial(e??{}),fromPartial(e){const t={episodeUri:"",segments:[],canUpsell:!1,albumMosaicUri:"",artists:[],durationMs:0,tags:[]};return t.episodeUri=e.episodeUri??"",t.segments=e.segments?.map((e=>q.fromPartial(e)))||[],t.canUpsell=e.canUpsell??!1,t.albumMosaicUri=e.albumMosaicUri??"",t.artists=e.artists?.map((e=>e))||[],t.durationMs=e.durationMs??0,t.tags=e.tags?.map((e=>e))||[],t}};const q={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),0!==e.startMs&&t.uint32(16).int32(e.startMs),0!==e.stopMs&&t.uint32(24).int32(e.stopMs),void 0!==e.trackMetadata&&G.encode(e.trackMetadata,t.uint32(34).fork()).ldelim(),0!==e.type&&t.uint32(40).int32(e.type),""!==e.title&&t.uint32(50).string(e.title),""!==e.subtitle&&t.uint32(58).string(e.subtitle),""!==e.imageUrl&&t.uint32(66).string(e.imageUrl),""!==e.actionUrl&&t.uint32(74).string(e.actionUrl),void 0!==e.episodeMetadata&&x.encode(e.episodeMetadata,t.uint32(82).fork()).ldelim(),!0===e.isAbridged&&t.uint32(88).bool(e.isAbridged),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",startMs:0,stopMs:0,trackMetadata:void 0,type:0,title:"",subtitle:"",imageUrl:"",actionUrl:"",episodeMetadata:void 0,isAbridged:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(16!==e)break;r.startMs=n.int32();continue;case 3:if(24!==e)break;r.stopMs=n.int32();continue;case 4:if(34!==e)break;r.trackMetadata=G.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.type=n.int32();continue;case 6:if(50!==e)break;r.title=n.string();continue;case 7:if(58!==e)break;r.subtitle=n.string();continue;case 8:if(66!==e)break;r.imageUrl=n.string();continue;case 9:if(74!==e)break;r.actionUrl=n.string();continue;case 10:if(82!==e)break;r.episodeMetadata=x.decode(n,n.uint32());continue;case 11:if(88!==e)break;r.isAbridged=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:X(e.uri)?String(e.uri):"",startMs:X(e.startMs)?Number(e.startMs):0,stopMs:X(e.stopMs)?Number(e.stopMs):0,trackMetadata:X(e.trackMetadata)?G.fromJSON(e.trackMetadata):void 0,type:X(e.type)?Y(e.type):0,title:X(e.title)?String(e.title):"",subtitle:X(e.subtitle)?String(e.subtitle):"",imageUrl:X(e.imageUrl)?String(e.imageUrl):"",actionUrl:X(e.actionUrl)?String(e.actionUrl):"",episodeMetadata:X(e.episodeMetadata)?x.fromJSON(e.episodeMetadata):void 0,isAbridged:!!X(e.isAbridged)&&Boolean(e.isAbridged)}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),0!==e.startMs&&(t.startMs=Math.round(e.startMs)),0!==e.stopMs&&(t.stopMs=Math.round(e.stopMs)),void 0!==e.trackMetadata&&(t.trackMetadata=G.toJSON(e.trackMetadata)),0!==e.type&&(t.type=z(e.type)),""!==e.title&&(t.title=e.title),""!==e.subtitle&&(t.subtitle=e.subtitle),""!==e.imageUrl&&(t.imageUrl=e.imageUrl),""!==e.actionUrl&&(t.actionUrl=e.actionUrl),void 0!==e.episodeMetadata&&(t.episodeMetadata=x.toJSON(e.episodeMetadata)),!0===e.isAbridged&&(t.isAbridged=e.isAbridged),t},create:e=>q.fromPartial(e??{}),fromPartial(e){const t={uri:"",startMs:0,stopMs:0,trackMetadata:void 0,type:0,title:"",subtitle:"",imageUrl:"",actionUrl:"",episodeMetadata:void 0,isAbridged:!1};return t.uri=e.uri??"",t.startMs=e.startMs??0,t.stopMs=e.stopMs??0,t.trackMetadata=void 0!==e.trackMetadata&&null!==e.trackMetadata?G.fromPartial(e.trackMetadata):void 0,t.type=e.type??0,t.title=e.title??"",t.subtitle=e.subtitle??"",t.imageUrl=e.imageUrl??"",t.actionUrl=e.actionUrl??"",t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?x.fromPartial(e.episodeMetadata):void 0,t.isAbridged=e.isAbridged??!1,t}};function X(e){return null!=e}class ${transport;options;constructor(e,t={}){this.transport=e,this.options=t}getDisplaySegments(e,t){const n=$.SERVICE_ID,o="GetDisplaySegments",r=g.fromPartial(e),a=g.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=K.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.display_segments_esperanto.proto.v1.DisplaySegmentsService";static METHODS={getDisplaySegments:{isStreaming:!1,requestType:g,responseType:K}};static DECODERS={GetDisplaySegments:{request:g.decode,response:K.decode}}}},11928:(e,t,n)=>{"use strict";n.d(t,{nM:()=>i,AdSlotEvent_AdSlotEventType:()=>o,CJ:()=>C,Ym:()=>Ye,uk:()=>k,NB:()=>H,uC:()=>Y,c7:()=>b,RI:()=>J,UF:()=>ce,SD:()=>vt,FY:()=>me,B3:()=>Be,Dt:()=>it,s:()=>ft,SubSlotRequest:()=>Ke,Xk:()=>At,Yl:()=>xt,S9:()=>Ae,pq:()=>s,gh:()=>c});var i,o,r=n(24848),a=n(87252);function s(e){switch(e){case 0:case"UNKNOWN":return i.UNKNOWN;case 1:case"AUDIO":return i.AUDIO;case 2:case"VIDEO":return i.VIDEO;case 3:case"DISPLAY":return i.DISPLAY;case 4:case"DUMMY":return i.DUMMY;default:return i.UNRECOGNIZED}}function c(e){switch(e){case i.UNKNOWN:return"UNKNOWN";case i.AUDIO:return"AUDIO";case i.VIDEO:return"VIDEO";case i.DISPLAY:return"DISPLAY";case i.DUMMY:return"DUMMY";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function l(e){switch(e){case 0:case"AVAILABLE":return o.AVAILABLE;case 1:case"PLAY":return o.PLAY;case 2:case"DISCARD":return o.DISCARD;default:return o.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.DISPLAY=3]="DISPLAY",e[e.DUMMY=4]="DUMMY",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={})),function(e){e[e.AVAILABLE=0]="AVAILABLE",e[e.PLAY=1]="PLAY",e[e.DISCARD=2]="DISCARD",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(o||(o={}));const u={encode(e,t=r.Writer.create()){for(const n of e.urls)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={urls:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.urls.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({urls:Array.isArray(e?.urls)?e.urls.map((e=>String(e))):[]}),toJSON(e){const t={};return e.urls?.length&&(t.urls=e.urls),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={urls:[]};return t.urls=e.urls?.map((e=>e))||[],t}};function d(){return{mimeType:"",bitrate:0,duration:BigInt("0"),width:0,height:0,url:void 0,audioFileId:void 0,imageFileId:void 0,text:void 0,videoManifestId:void 0}}const p={encode:(e,t=r.Writer.create())=>(""!==e.mimeType&&t.uint32(10).string(e.mimeType),0!==e.bitrate&&t.uint32(16).int32(e.bitrate),e.duration!==BigInt("0")&&t.uint32(24).uint64(e.duration.toString()),0!==e.width&&t.uint32(32).int32(e.width),0!==e.height&&t.uint32(40).int32(e.height),void 0!==e.url&&t.uint32(50).string(e.url),void 0!==e.audioFileId&&t.uint32(58).string(e.audioFileId),void 0!==e.imageFileId&&t.uint32(66).string(e.imageFileId),void 0!==e.text&&t.uint32(74).string(e.text),void 0!==e.videoManifestId&&t.uint32(82).string(e.videoManifestId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=d();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.mimeType=n.string();continue;case 2:if(16!==e)break;o.bitrate=n.int32();continue;case 3:if(24!==e)break;o.duration=(a=n.uint64(),BigInt(a.toString()));continue;case 4:if(32!==e)break;o.width=n.int32();continue;case 5:if(40!==e)break;o.height=n.int32();continue;case 6:if(50!==e)break;o.url=n.string();continue;case 7:if(58!==e)break;o.audioFileId=n.string();continue;case 8:if(66!==e)break;o.imageFileId=n.string();continue;case 9:if(74!==e)break;o.text=n.string();continue;case 10:if(82!==e)break;o.videoManifestId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return o},fromJSON:e=>({mimeType:y(e.mimeType)?String(e.mimeType):"",bitrate:y(e.bitrate)?Number(e.bitrate):0,duration:y(e.duration)?BigInt(e.duration):BigInt("0"),width:y(e.width)?Number(e.width):0,height:y(e.height)?Number(e.height):0,url:y(e.url)?String(e.url):void 0,audioFileId:y(e.audioFileId)?String(e.audioFileId):void 0,imageFileId:y(e.imageFileId)?String(e.imageFileId):void 0,text:y(e.text)?String(e.text):void 0,videoManifestId:y(e.videoManifestId)?String(e.videoManifestId):void 0}),toJSON(e){const t={};return""!==e.mimeType&&(t.mimeType=e.mimeType),0!==e.bitrate&&(t.bitrate=Math.round(e.bitrate)),e.duration!==BigInt("0")&&(t.duration=e.duration.toString()),0!==e.width&&(t.width=Math.round(e.width)),0!==e.height&&(t.height=Math.round(e.height)),void 0!==e.url&&(t.url=e.url),void 0!==e.audioFileId&&(t.audioFileId=e.audioFileId),void 0!==e.imageFileId&&(t.imageFileId=e.imageFileId),void 0!==e.text&&(t.text=e.text),void 0!==e.videoManifestId&&(t.videoManifestId=e.videoManifestId),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t=d();return t.mimeType=e.mimeType??"",t.bitrate=e.bitrate??0,t.duration=e.duration??BigInt("0"),t.width=e.width??0,t.height=e.height??0,t.url=e.url??void 0,t.audioFileId=e.audioFileId??void 0,t.imageFileId=e.imageFileId??void 0,t.text=e.text??void 0,t.videoManifestId=e.videoManifestId??void 0,t}};const h={encode(e,t=r.Writer.create()){""!==e.adId&&t.uint32(10).string(e.adId),Object.entries(e.metadata).forEach((([e,n])=>{f.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),!0===e.isDummy&&t.uint32(24).bool(e.isDummy);for(const n of e.coverArt)p.encode(n,t.uint32(34).fork()).ldelim();for(const n of e.audio)p.encode(n,t.uint32(42).fork()).ldelim();for(const n of e.video)p.encode(n,t.uint32(50).fork()).ldelim();for(const n of e.display)p.encode(n,t.uint32(58).fork()).ldelim();return""!==e.clickthroughUrl&&t.uint32(66).string(e.clickthroughUrl),Object.entries(e.trackingEvents).forEach((([e,n])=>{m.encode({key:e,value:n},t.uint32(74).fork()).ldelim()})),""!==e.slot&&t.uint32(82).string(e.slot),""!==e.requestId&&t.uint32(90).string(e.requestId),0!==e.format&&t.uint32(96).int32(e.format),!0===e.isDsaEligible&&t.uint32(104).bool(e.isDsaEligible),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adId:"",metadata:{},isDummy:!1,coverArt:[],audio:[],video:[],display:[],clickthroughUrl:"",trackingEvents:{},slot:"",requestId:"",format:0,isDsaEligible:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adId=n.string();continue;case 2:if(18!==e)break;const t=f.decode(n,n.uint32());void 0!==t.value&&(o.metadata[t.key]=t.value);continue;case 3:if(24!==e)break;o.isDummy=n.bool();continue;case 4:if(34!==e)break;o.coverArt.push(p.decode(n,n.uint32()));continue;case 5:if(42!==e)break;o.audio.push(p.decode(n,n.uint32()));continue;case 6:if(50!==e)break;o.video.push(p.decode(n,n.uint32()));continue;case 7:if(58!==e)break;o.display.push(p.decode(n,n.uint32()));continue;case 8:if(66!==e)break;o.clickthroughUrl=n.string();continue;case 9:if(74!==e)break;const i=m.decode(n,n.uint32());void 0!==i.value&&(o.trackingEvents[i.key]=i.value);continue;case 10:if(82!==e)break;o.slot=n.string();continue;case 11:if(90!==e)break;o.requestId=n.string();continue;case 12:if(96!==e)break;o.format=n.int32();continue;case 13:if(104!==e)break;o.isDsaEligible=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adId:y(e.adId)?String(e.adId):"",metadata:v(e.metadata)?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{},isDummy:!!y(e.isDummy)&&Boolean(e.isDummy),coverArt:Array.isArray(e?.coverArt)?e.coverArt.map((e=>p.fromJSON(e))):[],audio:Array.isArray(e?.audio)?e.audio.map((e=>p.fromJSON(e))):[],video:Array.isArray(e?.video)?e.video.map((e=>p.fromJSON(e))):[],display:Array.isArray(e?.display)?e.display.map((e=>p.fromJSON(e))):[],clickthroughUrl:y(e.clickthroughUrl)?String(e.clickthroughUrl):"",trackingEvents:v(e.trackingEvents)?Object.entries(e.trackingEvents).reduce(((e,[t,n])=>(e[t]=u.fromJSON(n),e)),{}):{},slot:y(e.slot)?String(e.slot):"",requestId:y(e.requestId)?String(e.requestId):"",format:y(e.format)?s(e.format):0,isDsaEligible:!!y(e.isDsaEligible)&&Boolean(e.isDsaEligible)}),toJSON(e){const t={};if(""!==e.adId&&(t.adId=e.adId),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}if(!0===e.isDummy&&(t.isDummy=e.isDummy),e.coverArt?.length&&(t.coverArt=e.coverArt.map((e=>p.toJSON(e)))),e.audio?.length&&(t.audio=e.audio.map((e=>p.toJSON(e)))),e.video?.length&&(t.video=e.video.map((e=>p.toJSON(e)))),e.display?.length&&(t.display=e.display.map((e=>p.toJSON(e)))),""!==e.clickthroughUrl&&(t.clickthroughUrl=e.clickthroughUrl),e.trackingEvents){const n=Object.entries(e.trackingEvents);n.length>0&&(t.trackingEvents={},n.forEach((([e,n])=>{t.trackingEvents[e]=u.toJSON(n)})))}return""!==e.slot&&(t.slot=e.slot),""!==e.requestId&&(t.requestId=e.requestId),0!==e.format&&(t.format=c(e.format)),!0===e.isDsaEligible&&(t.isDsaEligible=e.isDsaEligible),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={adId:"",metadata:{},isDummy:!1,coverArt:[],audio:[],video:[],display:[],clickthroughUrl:"",trackingEvents:{},slot:"",requestId:"",format:0,isDsaEligible:!1};return t.adId=e.adId??"",t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.isDummy=e.isDummy??!1,t.coverArt=e.coverArt?.map((e=>p.fromPartial(e)))||[],t.audio=e.audio?.map((e=>p.fromPartial(e)))||[],t.video=e.video?.map((e=>p.fromPartial(e)))||[],t.display=e.display?.map((e=>p.fromPartial(e)))||[],t.clickthroughUrl=e.clickthroughUrl??"",t.trackingEvents=Object.entries(e.trackingEvents??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=u.fromPartial(n)),e)),{}),t.slot=e.slot??"",t.requestId=e.requestId??"",t.format=e.format??0,t.isDsaEligible=e.isDsaEligible??!1,t}};const f={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:y(e.key)?String(e.key):"",value:y(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const m={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&u.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=u.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:y(e.key)?String(e.key):"",value:y(e.value)?u.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=u.toJSON(e.value)),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?u.fromPartial(e.value):void 0,t}};const _={encode:(e,t=r.Writer.create())=>(0!==e.eventType&&t.uint32(8).int32(e.eventType),""!==e.slotId&&t.uint32(18).string(e.slotId),0!==e.format&&t.uint32(24).int32(e.format),void 0!==e.ad&&h.encode(e.ad,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={eventType:0,slotId:"",format:0,ad:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.eventType=n.int32();continue;case 2:if(18!==e)break;o.slotId=n.string();continue;case 3:if(24!==e)break;o.format=n.int32();continue;case 4:if(34!==e)break;o.ad=h.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({eventType:y(e.eventType)?l(e.eventType):0,slotId:y(e.slotId)?String(e.slotId):"",format:y(e.format)?s(e.format):0,ad:y(e.ad)?h.fromJSON(e.ad):void 0}),toJSON(e){const t={};return 0!==e.eventType&&(t.eventType=function(e){switch(e){case o.AVAILABLE:return"AVAILABLE";case o.PLAY:return"PLAY";case o.DISCARD:return"DISCARD";case o.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.eventType)),""!==e.slotId&&(t.slotId=e.slotId),0!==e.format&&(t.format=c(e.format)),void 0!==e.ad&&(t.ad=h.toJSON(e.ad)),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={eventType:0,slotId:"",format:0,ad:void 0};return t.eventType=e.eventType??0,t.slotId=e.slotId??"",t.format=e.format??0,t.ad=void 0!==e.ad&&null!==e.ad?h.fromPartial(e.ad):void 0,t}};const g={encode(e,t=r.Writer.create()){""!==e.slotId&&t.uint32(10).string(e.slotId),!0===e.hasAvailableAds&&t.uint32(16).bool(e.hasAvailableAds),!0===e.hasActiveAd&&t.uint32(24).bool(e.hasActiveAd),!0===e.hasListeners&&t.uint32(32).bool(e.hasListeners),!0===e.hasAudioListeners&&t.uint32(40).bool(e.hasAudioListeners),!0===e.hasVideoListeners&&t.uint32(48).bool(e.hasVideoListeners),!0===e.hasDisplayListeners&&t.uint32(56).bool(e.hasDisplayListeners);for(const n of e.availableAds)h.encode(n,t.uint32(66).fork()).ldelim();return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:"",hasAvailableAds:!1,hasActiveAd:!1,hasListeners:!1,hasAudioListeners:!1,hasVideoListeners:!1,hasDisplayListeners:!1,availableAds:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue;case 2:if(16!==e)break;o.hasAvailableAds=n.bool();continue;case 3:if(24!==e)break;o.hasActiveAd=n.bool();continue;case 4:if(32!==e)break;o.hasListeners=n.bool();continue;case 5:if(40!==e)break;o.hasAudioListeners=n.bool();continue;case 6:if(48!==e)break;o.hasVideoListeners=n.bool();continue;case 7:if(56!==e)break;o.hasDisplayListeners=n.bool();continue;case 8:if(66!==e)break;o.availableAds.push(h.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:y(e.slotId)?String(e.slotId):"",hasAvailableAds:!!y(e.hasAvailableAds)&&Boolean(e.hasAvailableAds),hasActiveAd:!!y(e.hasActiveAd)&&Boolean(e.hasActiveAd),hasListeners:!!y(e.hasListeners)&&Boolean(e.hasListeners),hasAudioListeners:!!y(e.hasAudioListeners)&&Boolean(e.hasAudioListeners),hasVideoListeners:!!y(e.hasVideoListeners)&&Boolean(e.hasVideoListeners),hasDisplayListeners:!!y(e.hasDisplayListeners)&&Boolean(e.hasDisplayListeners),availableAds:Array.isArray(e?.availableAds)?e.availableAds.map((e=>h.fromJSON(e))):[]}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),!0===e.hasAvailableAds&&(t.hasAvailableAds=e.hasAvailableAds),!0===e.hasActiveAd&&(t.hasActiveAd=e.hasActiveAd),!0===e.hasListeners&&(t.hasListeners=e.hasListeners),!0===e.hasAudioListeners&&(t.hasAudioListeners=e.hasAudioListeners),!0===e.hasVideoListeners&&(t.hasVideoListeners=e.hasVideoListeners),!0===e.hasDisplayListeners&&(t.hasDisplayListeners=e.hasDisplayListeners),e.availableAds?.length&&(t.availableAds=e.availableAds.map((e=>h.toJSON(e)))),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t={slotId:"",hasAvailableAds:!1,hasActiveAd:!1,hasListeners:!1,hasAudioListeners:!1,hasVideoListeners:!1,hasDisplayListeners:!1,availableAds:[]};return t.slotId=e.slotId??"",t.hasAvailableAds=e.hasAvailableAds??!1,t.hasActiveAd=e.hasActiveAd??!1,t.hasListeners=e.hasListeners??!1,t.hasAudioListeners=e.hasAudioListeners??!1,t.hasVideoListeners=e.hasVideoListeners??!1,t.hasDisplayListeners=e.hasDisplayListeners??!1,t.availableAds=e.availableAds?.map((e=>h.fromPartial(e)))||[],t}};const E={encode(e,t=r.Writer.create()){for(const n of e.ads)h.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={ads:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.ads.push(h.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({ads:Array.isArray(e?.ads)?e.ads.map((e=>h.fromJSON(e))):[]}),toJSON(e){const t={};return e.ads?.length&&(t.ads=e.ads.map((e=>h.toJSON(e)))),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={ads:[]};return t.ads=e.ads?.map((e=>h.fromPartial(e)))||[],t}};function v(e){return"object"==typeof e&&null!==e}function y(e){return null!=e}r.util.Long!==a&&(r.util.Long=a,r.configure());const b={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),Object.entries(e.targeting).forEach((([e,n])=>{S.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:"",targeting:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue;case 2:if(18!==e)break;const t=S.decode(n,n.uint32());void 0!==t.value&&(o.targeting[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:O(e.slotId)?String(e.slotId):"",targeting:I(e.targeting)?Object.entries(e.targeting).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(""!==e.slotId&&(t.slotId=e.slotId),e.targeting){const n=Object.entries(e.targeting);n.length>0&&(t.targeting={},n.forEach((([e,n])=>{t.targeting[e]=n})))}return t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={slotId:"",targeting:{}};return t.slotId=e.slotId??"",t.targeting=Object.entries(e.targeting??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const S={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:O(e.key)?String(e.key):"",value:O(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const T={encode:(e,t=r.Writer.create())=>(Object.entries(e.adPackage).forEach((([e,n])=>{A.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),void 0!==e.error&&t.uint32(18).string(e.error),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adPackage:{},error:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=A.decode(n,n.uint32());void 0!==t.value&&(o.adPackage[t.key]=t.value);continue;case 2:if(18!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adPackage:I(e.adPackage)?Object.entries(e.adPackage).reduce(((e,[t,n])=>(e[t]=E.fromJSON(n),e)),{}):{},error:O(e.error)?String(e.error):void 0}),toJSON(e){const t={};if(e.adPackage){const n=Object.entries(e.adPackage);n.length>0&&(t.adPackage={},n.forEach((([e,n])=>{t.adPackage[e]=E.toJSON(n)})))}return void 0!==e.error&&(t.error=e.error),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={adPackage:{},error:void 0};return t.adPackage=Object.entries(e.adPackage??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=E.fromPartial(n)),e)),{}),t.error=e.error??void 0,t}};const A={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&E.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=E.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:O(e.key)?String(e.key):"",value:O(e.value)?E.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=E.toJSON(e.value)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?E.fromPartial(e.value):void 0,t}};function I(e){return"object"==typeof e&&null!==e}function O(e){return null!=e}class C{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getAds(e,t){const n=C.SERVICE_ID,i="GetAds",o=b.fromPartial(e),a=b.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=T.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.Ads";static METHODS={getAds:{isStreaming:!1,requestType:b,responseType:T}};static DECODERS={GetAds:{request:b.decode,response:T.decode}}}var R,N;function P(e){switch(e){case 0:case"ACCEPTED":return R.ACCEPTED;case 1:case"AD_NOT_FOUND":return R.AD_NOT_FOUND;default:return R.UNRECOGNIZED}}function L(e){switch(e){case 0:case"OK":return N.OK;case 1:case"INVALID_SLOT":return N.INVALID_SLOT;case 2:case"INVALID_FORMAT":return N.INVALID_FORMAT;default:return N.UNRECOGNIZED}}!function(e){e[e.ACCEPTED=0]="ACCEPTED",e[e.AD_NOT_FOUND=1]="AD_NOT_FOUND",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(R||(R={})),function(e){e[e.OK=0]="OK",e[e.INVALID_SLOT=1]="INVALID_SLOT",e[e.INVALID_FORMAT=2]="INVALID_FORMAT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(N||(N={}));const k={encode:(e,t=r.Writer.create())=>(""!==e.adId&&t.uint32(10).string(e.adId),""!==e.eventType&&t.uint32(18).string(e.eventType),void 0!==e.playbackPosition&&t.uint32(24).uint64(e.playbackPosition.toString()),void 0!==e.eventReason&&t.uint32(34).string(e.eventReason),void 0!==e.eventSource&&t.uint32(42).string(e.eventSource),void 0!==e.slotId&&t.uint32(50).string(e.slotId),void 0!==e.clientPayload&&t.uint32(58).string(e.clientPayload),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adId:"",eventType:"",playbackPosition:void 0,eventReason:void 0,eventSource:void 0,slotId:void 0,clientPayload:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adId=n.string();continue;case 2:if(18!==e)break;o.eventType=n.string();continue;case 3:if(24!==e)break;o.playbackPosition=F(n.uint64());continue;case 4:if(34!==e)break;o.eventReason=n.string();continue;case 5:if(42!==e)break;o.eventSource=n.string();continue;case 6:if(50!==e)break;o.slotId=n.string();continue;case 7:if(58!==e)break;o.clientPayload=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adId:B(e.adId)?String(e.adId):"",eventType:B(e.eventType)?String(e.eventType):"",playbackPosition:B(e.playbackPosition)?BigInt(e.playbackPosition):void 0,eventReason:B(e.eventReason)?String(e.eventReason):void 0,eventSource:B(e.eventSource)?String(e.eventSource):void 0,slotId:B(e.slotId)?String(e.slotId):void 0,clientPayload:B(e.clientPayload)?String(e.clientPayload):void 0}),toJSON(e){const t={};return""!==e.adId&&(t.adId=e.adId),""!==e.eventType&&(t.eventType=e.eventType),void 0!==e.playbackPosition&&(t.playbackPosition=e.playbackPosition.toString()),void 0!==e.eventReason&&(t.eventReason=e.eventReason),void 0!==e.eventSource&&(t.eventSource=e.eventSource),void 0!==e.slotId&&(t.slotId=e.slotId),void 0!==e.clientPayload&&(t.clientPayload=e.clientPayload),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={adId:"",eventType:"",playbackPosition:void 0,eventReason:void 0,eventSource:void 0,slotId:void 0,clientPayload:void 0};return t.adId=e.adId??"",t.eventType=e.eventType??"",t.playbackPosition=e.playbackPosition??void 0,t.eventReason=e.eventReason??void 0,t.eventSource=e.eventSource??void 0,t.slotId=e.slotId??void 0,t.clientPayload=e.clientPayload??void 0,t}};const w={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:B(e.status)?P(e.status):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case R.ACCEPTED:return"ACCEPTED";case R.AD_NOT_FOUND:return"AD_NOT_FOUND";case R.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};const D={encode(e,t=r.Writer.create()){""!==e.adId&&t.uint32(10).string(e.adId),""!==e.eventType&&t.uint32(18).string(e.eventType),void 0!==e.playbackPosition&&t.uint32(24).uint64(e.playbackPosition.toString()),void 0!==e.eventReason&&t.uint32(34).string(e.eventReason),""!==e.lineitemId&&t.uint32(42).string(e.lineitemId),""!==e.creativeId&&t.uint32(50).string(e.creativeId),""!==e.requestId&&t.uint32(58).string(e.requestId),""!==e.productName&&t.uint32(66).string(e.productName),""!==e.slotId&&t.uint32(74).string(e.slotId),void 0!==e.eventSource&&t.uint32(82).string(e.eventSource),void 0!==e.format&&t.uint32(88).int32(e.format);for(const n of e.trackingUrls)t.uint32(98).string(n);return void 0!==e.durationSeconds&&t.uint32(104).uint32(e.durationSeconds),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adId:"",eventType:"",playbackPosition:void 0,eventReason:void 0,lineitemId:"",creativeId:"",requestId:"",productName:"",slotId:"",eventSource:void 0,format:void 0,trackingUrls:[],durationSeconds:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adId=n.string();continue;case 2:if(18!==e)break;o.eventType=n.string();continue;case 3:if(24!==e)break;o.playbackPosition=F(n.uint64());continue;case 4:if(34!==e)break;o.eventReason=n.string();continue;case 5:if(42!==e)break;o.lineitemId=n.string();continue;case 6:if(50!==e)break;o.creativeId=n.string();continue;case 7:if(58!==e)break;o.requestId=n.string();continue;case 8:if(66!==e)break;o.productName=n.string();continue;case 9:if(74!==e)break;o.slotId=n.string();continue;case 10:if(82!==e)break;o.eventSource=n.string();continue;case 11:if(88!==e)break;o.format=n.int32();continue;case 12:if(98!==e)break;o.trackingUrls.push(n.string());continue;case 13:if(104!==e)break;o.durationSeconds=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adId:B(e.adId)?String(e.adId):"",eventType:B(e.eventType)?String(e.eventType):"",playbackPosition:B(e.playbackPosition)?BigInt(e.playbackPosition):void 0,eventReason:B(e.eventReason)?String(e.eventReason):void 0,lineitemId:B(e.lineitemId)?String(e.lineitemId):"",creativeId:B(e.creativeId)?String(e.creativeId):"",requestId:B(e.requestId)?String(e.requestId):"",productName:B(e.productName)?String(e.productName):"",slotId:B(e.slotId)?String(e.slotId):"",eventSource:B(e.eventSource)?String(e.eventSource):void 0,format:B(e.format)?s(e.format):void 0,trackingUrls:Array.isArray(e?.trackingUrls)?e.trackingUrls.map((e=>String(e))):[],durationSeconds:B(e.durationSeconds)?Number(e.durationSeconds):void 0}),toJSON(e){const t={};return""!==e.adId&&(t.adId=e.adId),""!==e.eventType&&(t.eventType=e.eventType),void 0!==e.playbackPosition&&(t.playbackPosition=e.playbackPosition.toString()),void 0!==e.eventReason&&(t.eventReason=e.eventReason),""!==e.lineitemId&&(t.lineitemId=e.lineitemId),""!==e.creativeId&&(t.creativeId=e.creativeId),""!==e.requestId&&(t.requestId=e.requestId),""!==e.productName&&(t.productName=e.productName),""!==e.slotId&&(t.slotId=e.slotId),void 0!==e.eventSource&&(t.eventSource=e.eventSource),void 0!==e.format&&(t.format=c(e.format)),e.trackingUrls?.length&&(t.trackingUrls=e.trackingUrls),void 0!==e.durationSeconds&&(t.durationSeconds=Math.round(e.durationSeconds)),t},create:e=>D.fromPartial(e??{}),fromPartial(e){const t={adId:"",eventType:"",playbackPosition:void 0,eventReason:void 0,lineitemId:"",creativeId:"",requestId:"",productName:"",slotId:"",eventSource:void 0,format:void 0,trackingUrls:[],durationSeconds:void 0};return t.adId=e.adId??"",t.eventType=e.eventType??"",t.playbackPosition=e.playbackPosition??void 0,t.eventReason=e.eventReason??void 0,t.lineitemId=e.lineitemId??"",t.creativeId=e.creativeId??"",t.requestId=e.requestId??"",t.productName=e.productName??"",t.slotId=e.slotId??"",t.eventSource=e.eventSource??void 0,t.format=e.format??void 0,t.trackingUrls=e.trackingUrls?.map((e=>e))||[],t.durationSeconds=e.durationSeconds??void 0,t}};const M={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>M.fromPartial(e??{}),fromPartial:e=>({})};const x={encode:(e,t=r.Writer.create())=>(""!==e.eventType&&t.uint32(10).string(e.eventType),void 0!==e.format&&t.uint32(16).int32(e.format),void 0!==e.slotId&&t.uint32(26).string(e.slotId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={eventType:"",format:void 0,slotId:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.eventType=n.string();continue;case 2:if(16!==e)break;o.format=n.int32();continue;case 3:if(26!==e)break;o.slotId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({eventType:B(e.eventType)?String(e.eventType):"",format:B(e.format)?s(e.format):void 0,slotId:B(e.slotId)?String(e.slotId):void 0}),toJSON(e){const t={};return""!==e.eventType&&(t.eventType=e.eventType),void 0!==e.format&&(t.format=c(e.format)),void 0!==e.slotId&&(t.slotId=e.slotId),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t={eventType:"",format:void 0,slotId:void 0};return t.eventType=e.eventType??"",t.format=e.format??void 0,t.slotId=e.slotId??void 0,t}};const U={encode:(e,t=r.Writer.create())=>(""!==e.eventType&&t.uint32(10).string(e.eventType),""!==e.slotId&&t.uint32(18).string(e.slotId),void 0!==e.ad&&h.encode(e.ad,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={eventType:"",slotId:"",ad:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.eventType=n.string();continue;case 2:if(18!==e)break;o.slotId=n.string();continue;case 3:if(26!==e)break;o.ad=h.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({eventType:B(e.eventType)?String(e.eventType):"",slotId:B(e.slotId)?String(e.slotId):"",ad:B(e.ad)?h.fromJSON(e.ad):void 0}),toJSON(e){const t={};return""!==e.eventType&&(t.eventType=e.eventType),""!==e.slotId&&(t.slotId=e.slotId),void 0!==e.ad&&(t.ad=h.toJSON(e.ad)),t},create:e=>U.fromPartial(e??{}),fromPartial(e){const t={eventType:"",slotId:"",ad:void 0};return t.eventType=e.eventType??"",t.slotId=e.slotId??"",t.ad=void 0!==e.ad&&null!==e.ad?h.fromPartial(e.ad):void 0,t}};const V={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),void 0!==e.adEvent&&U.encode(e.adEvent,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0,adEvent:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue;case 2:if(18!==e)break;o.adEvent=U.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:B(e.status)?L(e.status):0,adEvent:B(e.adEvent)?U.fromJSON(e.adEvent):void 0}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case N.OK:return"OK";case N.INVALID_SLOT:return"INVALID_SLOT";case N.INVALID_FORMAT:return"INVALID_FORMAT";case N.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),void 0!==e.adEvent&&(t.adEvent=U.toJSON(e.adEvent)),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t={status:0,adEvent:void 0};return t.status=e.status??0,t.adEvent=void 0!==e.adEvent&&null!==e.adEvent?U.fromPartial(e.adEvent):void 0,t}};function F(e){return BigInt(e.toString())}function B(e){return null!=e}r.util.Long!==a&&(r.util.Long=a,r.configure());class H{transport;options;constructor(e,t={}){this.transport=e,this.options=t}postEvent(e,t){const n=H.SERVICE_ID,i="postEvent",o=k.fromPartial(e),a=k.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=w.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}postUnmanagedEvent(e,t){const n=H.SERVICE_ID,i="postUnmanagedEvent",o=D.fromPartial(e),a=D.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=M.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subEvent(e,t){const n=H.SERVICE_ID,i="subEvent",o=x.fromPartial(e),a=x.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=V.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}static SERVICE_ID="spotify.ads.esperanto.proto.Events";static METHODS={postEvent:{isStreaming:!1,requestType:k,responseType:w},postUnmanagedEvent:{isStreaming:!1,requestType:D,responseType:M},subEvent:{isStreaming:!0,requestType:x,responseType:V}};static DECODERS={postEvent:{request:k.decode,response:w.decode},postUnmanagedEvent:{request:D.decode,response:M.decode},subEvent:{request:x.decode,response:V.decode}}}const G={encode:(e,t=r.Writer.create())=>(0!==e.format&&t.uint32(8).int32(e.format),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={format:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.format=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({format:j(e.format)?s(e.format):0}),toJSON(e){const t={};return 0!==e.format&&(t.format=c(e.format)),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={format:0};return t.format=e.format??0,t}};const W={encode:(e,t=r.Writer.create())=>(void 0!==e.adSlotEvent&&_.encode(e.adSlotEvent,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adSlotEvent:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adSlotEvent=_.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adSlotEvent:j(e.adSlotEvent)?_.fromJSON(e.adSlotEvent):void 0}),toJSON(e){const t={};return void 0!==e.adSlotEvent&&(t.adSlotEvent=_.toJSON(e.adSlotEvent)),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={adSlotEvent:void 0};return t.adSlotEvent=void 0!==e.adSlotEvent&&null!==e.adSlotEvent?_.fromPartial(e.adSlotEvent):void 0,t}};function j(e){return null!=e}class Y{transport;options;constructor(e,t={}){this.transport=e,this.options=t}subFormat(e,t){const n=Y.SERVICE_ID,i="SubFormat",o=G.fromPartial(e),a=G.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=W.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}static SERVICE_ID="spotify.ads.esperanto.proto.Formats";static METHODS={subFormat:{isStreaming:!0,requestType:G,responseType:W}};static DECODERS={SubFormat:{request:G.decode,response:W.decode}}}const z={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>z.fromPartial(e??{}),fromPartial:e=>({})};const K={encode:(e,t=r.Writer.create())=>(void 0!==e.ad&&h.encode(e.ad,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={ad:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.ad=h.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON(e){return{ad:(t=e.ad,null!=t?h.fromJSON(e.ad):void 0)};var t},toJSON(e){const t={};return void 0!==e.ad&&(t.ad=h.toJSON(e.ad)),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={ad:void 0};return t.ad=void 0!==e.ad&&null!==e.ad?h.fromPartial(e.ad):void 0,t}};class J{transport;options;constructor(e,t={}){this.transport=e,this.options=t}subInStream(e,t){const n=J.SERVICE_ID,i="SubInStream",o=z.fromPartial(e),a=z.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=K.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}static SERVICE_ID="spotify.ads.esperanto.proto.InStream";static METHODS={subInStream:{isStreaming:!0,requestType:z,responseType:K}};static DECODERS={SubInStream:{request:z.decode,response:K.decode}}}var q;function X(e){switch(e){case 0:case"OK":return q.OK;case 1:case"NOT_FOUND":return q.NOT_FOUND;default:return q.UNRECOGNIZED}}function $(){return{slotId:"",startMs:BigInt("0"),stopMs:BigInt("0")}}!function(e){e[e.OK=0]="OK",e[e.NOT_FOUND=1]="NOT_FOUND",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(q||(q={}));const Z={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),e.startMs!==BigInt("0")&&t.uint32(16).uint64(e.startMs.toString()),e.stopMs!==BigInt("0")&&t.uint32(24).uint64(e.stopMs.toString()),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=$();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue;case 2:if(16!==e)break;o.startMs=ie(n.uint64());continue;case 3:if(24!==e)break;o.stopMs=ie(n.uint64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:oe(e.slotId)?String(e.slotId):"",startMs:oe(e.startMs)?BigInt(e.startMs):BigInt("0"),stopMs:oe(e.stopMs)?BigInt(e.stopMs):BigInt("0")}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),e.startMs!==BigInt("0")&&(t.startMs=e.startMs.toString()),e.stopMs!==BigInt("0")&&(t.stopMs=e.stopMs.toString()),t},create:e=>Z.fromPartial(e??{}),fromPartial(e){const t=$();return t.slotId=e.slotId??"",t.startMs=e.startMs??BigInt("0"),t.stopMs=e.stopMs??BigInt("0"),t}};const Q={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Q.fromPartial(e??{}),fromPartial:e=>({})};const ee={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),void 0!==e.segment&&Z.encode(e.segment,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0,segment:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue;case 2:if(18!==e)break;o.segment=Z.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:oe(e.status)?X(e.status):0,segment:oe(e.segment)?Z.fromJSON(e.segment):void 0}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case q.OK:return"OK";case q.NOT_FOUND:return"NOT_FOUND";case q.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),void 0!==e.segment&&(t.segment=Z.toJSON(e.segment)),t},create:e=>ee.fromPartial(e??{}),fromPartial(e){const t={status:0,segment:void 0};return t.status=e.status??0,t.segment=void 0!==e.segment&&null!==e.segment?Z.fromPartial(e.segment):void 0,t}};const te={encode(e,t=r.Writer.create()){for(const n of e.segments)Z.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={segments:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.segments.push(Z.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({segments:Array.isArray(e?.segments)?e.segments.map((e=>Z.fromJSON(e))):[]}),toJSON(e){const t={};return e.segments?.length&&(t.segments=e.segments.map((e=>Z.toJSON(e)))),t},create:e=>te.fromPartial(e??{}),fromPartial(e){const t={segments:[]};return t.segments=e.segments?.map((e=>Z.fromPartial(e)))||[],t}};const ne={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>ne.fromPartial(e??{}),fromPartial:e=>({})};function ie(e){return BigInt(e.toString())}function oe(e){return null!=e}r.util.Long!==a&&(r.util.Long=a,r.configure());Q.decode,ee.decode,te.decode,ne.decode;const re={encode:(e,t=r.Writer.create())=>(""!==e.adId&&t.uint32(10).string(e.adId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adId:se(e.adId)?String(e.adId):""}),toJSON(e){const t={};return""!==e.adId&&(t.adId=e.adId),t},create:e=>re.fromPartial(e??{}),fromPartial(e){const t={adId:""};return t.adId=e.adId??"",t}};const ae={encode:(e,t=r.Writer.create())=>(!0===e.success&&t.uint32(8).bool(e.success),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={success:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.success=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({success:!!se(e.success)&&Boolean(e.success)}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),t},create:e=>ae.fromPartial(e??{}),fromPartial(e){const t={success:!1};return t.success=e.success??!1,t}};function se(e){return null!=e}class ce{transport;options;constructor(e,t={}){this.transport=e,this.options=t}preview(e,t){const n=ce.SERVICE_ID,i="Preview",o=re.fromPartial(e),a=re.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=ae.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.Preview";static METHODS={preview:{isStreaming:!1,requestType:re,responseType:ae}};static DECODERS={Preview:{request:re.decode,response:ae.decode}}}const le={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>le.fromPartial(e??{}),fromPartial:e=>({})};const ue={encode:(e,t=r.Writer.create())=>(0!==e.rewardTime&&t.uint32(24).uint32(e.rewardTime),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={rewardTime:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 3:if(24!==e)break;o.rewardTime=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({rewardTime:fe(e.rewardTime)?Number(e.rewardTime):0}),toJSON(e){const t={};return 0!==e.rewardTime&&(t.rewardTime=Math.round(e.rewardTime)),t},create:e=>ue.fromPartial(e??{}),fromPartial(e){const t={rewardTime:0};return t.rewardTime=e.rewardTime??0,t}};const de={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:fe(e.slotId)?String(e.slotId):""}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),t},create:e=>de.fromPartial(e??{}),fromPartial(e){const t={slotId:""};return t.slotId=e.slotId??"",t}};const pe={encode:(e,t=r.Writer.create())=>(0!==e.rewardSeconds&&t.uint32(8).uint32(e.rewardSeconds),0!==e.rewardedSeconds&&t.uint32(16).uint32(e.rewardedSeconds),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={rewardSeconds:0,rewardedSeconds:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.rewardSeconds=n.uint32();continue;case 2:if(16!==e)break;o.rewardedSeconds=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({rewardSeconds:fe(e.rewardSeconds)?Number(e.rewardSeconds):0,rewardedSeconds:fe(e.rewardedSeconds)?Number(e.rewardedSeconds):0}),toJSON(e){const t={};return 0!==e.rewardSeconds&&(t.rewardSeconds=Math.round(e.rewardSeconds)),0!==e.rewardedSeconds&&(t.rewardedSeconds=Math.round(e.rewardedSeconds)),t},create:e=>pe.fromPartial(e??{}),fromPartial(e){const t={rewardSeconds:0,rewardedSeconds:0};return t.rewardSeconds=e.rewardSeconds??0,t.rewardedSeconds=e.rewardedSeconds??0,t}};const he={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>he.fromPartial(e??{}),fromPartial:e=>({})};function fe(e){return null!=e}class me{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getReward(e,t){const n=me.SERVICE_ID,i="GetReward",o=le.fromPartial(e),a=le.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=pe.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}setReward(e,t){const n=me.SERVICE_ID,i="SetReward",o=ue.fromPartial(e),a=ue.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=pe.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}suppressReward(e,t){const n=me.SERVICE_ID,i="SuppressReward",o=de.fromPartial(e),a=de.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=he.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.Reward";static METHODS={getReward:{isStreaming:!1,requestType:le,responseType:pe},setReward:{isStreaming:!1,requestType:ue,responseType:pe},suppressReward:{isStreaming:!1,requestType:de,responseType:he}};static DECODERS={GetReward:{request:le.decode,response:pe.decode},SetReward:{request:ue.decode,response:pe.decode},SuppressReward:{request:de.decode,response:he.decode}}}var _e;function ge(e){switch(e){case 0:case"OK":return _e.OK;case 1:case"INVALID_SLOT":return _e.INVALID_SLOT;case 2:case"BAD_REQUEST":return _e.BAD_REQUEST;default:return _e.UNRECOGNIZED}}!function(e){e[e.OK=0]="OK",e[e.INVALID_SLOT=1]="INVALID_SLOT",e[e.BAD_REQUEST=2]="BAD_REQUEST",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(_e||(_e={}));const Ee={encode:(e,t=r.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),!0===e.enabled&&t.uint32(16).bool(e.enabled),void 0!==e.displayTimeInterval&&t.uint32(24).uint64(e.displayTimeInterval.toString()),void 0!==e.expiryTimeInterval&&t.uint32(32).uint64(e.expiryTimeInterval.toString()),void 0!==e.streamTimeInterval&&t.uint32(40).uint64(e.streamTimeInterval.toString()),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={id:"",enabled:!1,displayTimeInterval:void 0,expiryTimeInterval:void 0,streamTimeInterval:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.id=n.string();continue;case 2:if(16!==e)break;o.enabled=n.bool();continue;case 3:if(24!==e)break;o.displayTimeInterval=Ue(n.uint64());continue;case 4:if(32!==e)break;o.expiryTimeInterval=Ue(n.uint64());continue;case 5:if(40!==e)break;o.streamTimeInterval=Ue(n.uint64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({id:Fe(e.id)?String(e.id):"",enabled:!!Fe(e.enabled)&&Boolean(e.enabled),displayTimeInterval:Fe(e.displayTimeInterval)?BigInt(e.displayTimeInterval):void 0,expiryTimeInterval:Fe(e.expiryTimeInterval)?BigInt(e.expiryTimeInterval):void 0,streamTimeInterval:Fe(e.streamTimeInterval)?BigInt(e.streamTimeInterval):void 0}),toJSON(e){const t={};return""!==e.id&&(t.id=e.id),!0===e.enabled&&(t.enabled=e.enabled),void 0!==e.displayTimeInterval&&(t.displayTimeInterval=e.displayTimeInterval.toString()),void 0!==e.expiryTimeInterval&&(t.expiryTimeInterval=e.expiryTimeInterval.toString()),void 0!==e.streamTimeInterval&&(t.streamTimeInterval=e.streamTimeInterval.toString()),t},create:e=>Ee.fromPartial(e??{}),fromPartial(e){const t={id:"",enabled:!1,displayTimeInterval:void 0,expiryTimeInterval:void 0,streamTimeInterval:void 0};return t.id=e.id??"",t.enabled=e.enabled??!1,t.displayTimeInterval=e.displayTimeInterval??void 0,t.expiryTimeInterval=e.expiryTimeInterval??void 0,t.streamTimeInterval=e.streamTimeInterval??void 0,t}};const ve={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>ve.fromPartial(e??{}),fromPartial:e=>({})};const ye={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:Fe(e.slotId)?String(e.slotId):""}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),t},create:e=>ye.fromPartial(e??{}),fromPartial(e){const t={slotId:""};return t.slotId=e.slotId??"",t}};const be={encode(e,t=r.Writer.create()){for(const n of e.slotIds)t.uint32(10).string(n);return""!==e.url&&t.uint32(18).string(e.url),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotIds:[],url:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotIds.push(n.string());continue;case 2:if(18!==e)break;o.url=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotIds:Array.isArray(e?.slotIds)?e.slotIds.map((e=>String(e))):[],url:Fe(e.url)?String(e.url):""}),toJSON(e){const t={};return e.slotIds?.length&&(t.slotIds=e.slotIds),""!==e.url&&(t.url=e.url),t},create:e=>be.fromPartial(e??{}),fromPartial(e){const t={slotIds:[],url:""};return t.slotIds=e.slotIds?.map((e=>e))||[],t.url=e.url??"",t}};function Se(){return{slotId:"",timeInterval:BigInt("0")}}const Te={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),e.timeInterval!==BigInt("0")&&t.uint32(16).uint64(e.timeInterval.toString()),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=Se();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue;case 2:if(16!==e)break;o.timeInterval=Ue(n.uint64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:Fe(e.slotId)?String(e.slotId):"",timeInterval:Fe(e.timeInterval)?BigInt(e.timeInterval):BigInt("0")}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),e.timeInterval!==BigInt("0")&&(t.timeInterval=e.timeInterval.toString()),t},create:e=>Te.fromPartial(e??{}),fromPartial(e){const t=Se();return t.slotId=e.slotId??"",t.timeInterval=e.timeInterval??BigInt("0"),t}};const Ae={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),!0===e.enabled&&t.uint32(16).bool(e.enabled),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:"",enabled:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue;case 2:if(16!==e)break;o.enabled=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:Fe(e.slotId)?String(e.slotId):"",enabled:!!Fe(e.enabled)&&Boolean(e.enabled)}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),!0===e.enabled&&(t.enabled=e.enabled),t},create:e=>Ae.fromPartial(e??{}),fromPartial(e){const t={slotId:"",enabled:!1};return t.slotId=e.slotId??"",t.enabled=e.enabled??!1,t}};const Ie={encode:(e,t=r.Writer.create())=>(""!==e.field&&t.uint32(10).string(e.field),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={field:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.field=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({field:Fe(e.field)?String(e.field):""}),toJSON(e){const t={};return""!==e.field&&(t.field=e.field),t},create:e=>Ie.fromPartial(e??{}),fromPartial(e){const t={field:""};return t.field=e.field??"",t}};const Oe={encode:(e,t=r.Writer.create())=>(Object.entries(e.requestHeaders).forEach((([e,n])=>{Ce.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),!0===e.refreshInventory&&t.uint32(16).bool(e.refreshInventory),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={requestHeaders:{},refreshInventory:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=Ce.decode(n,n.uint32());void 0!==t.value&&(o.requestHeaders[t.key]=t.value);continue;case 2:if(16!==e)break;o.refreshInventory=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({requestHeaders:Ve(e.requestHeaders)?Object.entries(e.requestHeaders).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{},refreshInventory:!!Fe(e.refreshInventory)&&Boolean(e.refreshInventory)}),toJSON(e){const t={};if(e.requestHeaders){const n=Object.entries(e.requestHeaders);n.length>0&&(t.requestHeaders={},n.forEach((([e,n])=>{t.requestHeaders[e]=n})))}return!0===e.refreshInventory&&(t.refreshInventory=e.refreshInventory),t},create:e=>Oe.fromPartial(e??{}),fromPartial(e){const t={requestHeaders:{},refreshInventory:!1};return t.requestHeaders=Object.entries(e.requestHeaders??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.refreshInventory=e.refreshInventory??!1,t}};const Ce={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:Fe(e.key)?String(e.key):"",value:Fe(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Ce.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const Re={encode:(e,t=r.Writer.create())=>(""!==e.field&&t.uint32(10).string(e.field),!0===e.refreshInventory&&t.uint32(16).bool(e.refreshInventory),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={field:"",refreshInventory:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.field=n.string();continue;case 2:if(16!==e)break;o.refreshInventory=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({field:Fe(e.field)?String(e.field):"",refreshInventory:!!Fe(e.refreshInventory)&&Boolean(e.refreshInventory)}),toJSON(e){const t={};return""!==e.field&&(t.field=e.field),!0===e.refreshInventory&&(t.refreshInventory=e.refreshInventory),t},create:e=>Re.fromPartial(e??{}),fromPartial(e){const t={field:"",refreshInventory:!1};return t.field=e.field??"",t.refreshInventory=e.refreshInventory??!1,t}};const Ne={encode:(e,t=r.Writer.create())=>(""!==e.url&&t.uint32(10).string(e.url),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={url:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.url=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({url:Fe(e.url)?String(e.url):""}),toJSON(e){const t={};return""!==e.url&&(t.url=e.url),t},create:e=>Ne.fromPartial(e??{}),fromPartial(e){const t={url:""};return t.url=e.url??"",t}};const Pe={encode(e,t=r.Writer.create()){for(const n of e.slotSettings)Ee.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotSettings:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotSettings.push(Ee.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotSettings:Array.isArray(e?.slotSettings)?e.slotSettings.map((e=>Ee.fromJSON(e))):[]}),toJSON(e){const t={};return e.slotSettings?.length&&(t.slotSettings=e.slotSettings.map((e=>Ee.toJSON(e)))),t},create:e=>Pe.fromPartial(e??{}),fromPartial(e){const t={slotSettings:[]};return t.slotSettings=e.slotSettings?.map((e=>Ee.fromPartial(e)))||[],t}};const Le={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:Fe(e.status)?ge(e.status):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case _e.OK:return"OK";case _e.INVALID_SLOT:return"INVALID_SLOT";case _e.BAD_REQUEST:return"BAD_REQUEST";case _e.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),t},create:e=>Le.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};const ke={encode:(e,t=r.Writer.create())=>(Object.entries(e.requestHeaders).forEach((([e,n])=>{we.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={requestHeaders:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=we.decode(n,n.uint32());void 0!==t.value&&(o.requestHeaders[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({requestHeaders:Ve(e.requestHeaders)?Object.entries(e.requestHeaders).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(e.requestHeaders){const n=Object.entries(e.requestHeaders);n.length>0&&(t.requestHeaders={},n.forEach((([e,n])=>{t.requestHeaders[e]=n})))}return t},create:e=>ke.fromPartial(e??{}),fromPartial(e){const t={requestHeaders:{}};return t.requestHeaders=Object.entries(e.requestHeaders??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const we={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:Fe(e.key)?String(e.key):"",value:Fe(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>we.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const De={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>De.fromPartial(e??{}),fromPartial:e=>({})};const Me={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Me.fromPartial(e??{}),fromPartial:e=>({})};const xe={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>xe.fromPartial(e??{}),fromPartial:e=>({})};function Ue(e){return BigInt(e.toString())}function Ve(e){return"object"==typeof e&&null!==e}function Fe(e){return null!=e}r.util.Long!==a&&(r.util.Long=a,r.configure());class Be{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getAllSlotSettings(e,t){const n=Be.SERVICE_ID,i="getAllSlotSettings",o=ve.fromPartial(e),a=ve.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Pe.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getSlotSettings(e,t){const n=Be.SERVICE_ID,i="getSlotSettings",o=ye.fromPartial(e),a=ye.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Pe.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}updateAdServerEndpoint(e,t){const n=Be.SERVICE_ID,i="updateAdServerEndpoint",o=be.fromPartial(e),a=be.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Le.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}updateDisplayTimeInterval(e,t){const n=Be.SERVICE_ID,i="updateDisplayTimeInterval",o=Te.fromPartial(e),a=Te.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Le.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}updateExpiryTimeInterval(e,t){const n=Be.SERVICE_ID,i="updateExpiryTimeInterval",o=Te.fromPartial(e),a=Te.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Le.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}updateStreamTimeInterval(e,t){const n=Be.SERVICE_ID,i="updateStreamTimeInterval",o=Te.fromPartial(e),a=Te.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Le.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}updateSlotEnabled(e,t){const n=Be.SERVICE_ID,i="updateSlotEnabled",o=Ae.fromPartial(e),a=Ae.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Le.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getRequestHeaders(e,t){const n=Be.SERVICE_ID,i="getRequestHeaders",o=Ie.fromPartial(e),a=Ie.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=ke.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}setRequestHeaders(e,t){const n=Be.SERVICE_ID,i="setRequestHeaders",o=Oe.fromPartial(e),a=Oe.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=De.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}deleteRequestHeaders(e,t){const n=Be.SERVICE_ID,i="deleteRequestHeaders",o=Re.fromPartial(e),a=Re.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Me.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}updateAdStateEndpoint(e,t){const n=Be.SERVICE_ID,i="updateAdStateEndpoint",o=Ne.fromPartial(e),a=Ne.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=xe.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.Settings";static METHODS={getAllSlotSettings:{isStreaming:!1,requestType:ve,responseType:Pe},getSlotSettings:{isStreaming:!1,requestType:ye,responseType:Pe},updateAdServerEndpoint:{isStreaming:!1,requestType:be,responseType:Le},updateDisplayTimeInterval:{isStreaming:!1,requestType:Te,responseType:Le},updateExpiryTimeInterval:{isStreaming:!1,requestType:Te,responseType:Le},updateStreamTimeInterval:{isStreaming:!1,requestType:Te,responseType:Le},updateSlotEnabled:{isStreaming:!1,requestType:Ae,responseType:Le},getRequestHeaders:{isStreaming:!1,requestType:Ie,responseType:ke},setRequestHeaders:{isStreaming:!1,requestType:Oe,responseType:De},deleteRequestHeaders:{isStreaming:!1,requestType:Re,responseType:Me},updateAdStateEndpoint:{isStreaming:!1,requestType:Ne,responseType:xe}};static DECODERS={getAllSlotSettings:{request:ve.decode,response:Pe.decode},getSlotSettings:{request:ye.decode,response:Pe.decode},updateAdServerEndpoint:{request:be.decode,response:Le.decode},updateDisplayTimeInterval:{request:Te.decode,response:Le.decode},updateExpiryTimeInterval:{request:Te.decode,response:Le.decode},updateStreamTimeInterval:{request:Te.decode,response:Le.decode},updateSlotEnabled:{request:Ae.decode,response:Le.decode},getRequestHeaders:{request:Ie.decode,response:ke.decode},setRequestHeaders:{request:Oe.decode,response:De.decode},deleteRequestHeaders:{request:Re.decode,response:Me.decode},updateAdStateEndpoint:{request:Ne.decode,response:xe.decode}}}const He={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>He.fromPartial(e??{}),fromPartial:e=>({})};const Ge={encode(e,t=r.Writer.create()){for(const n of e.adSlots)g.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adSlots:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adSlots.push(g.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adSlots:Array.isArray(e?.adSlots)?e.adSlots.map((e=>g.fromJSON(e))):[]}),toJSON(e){const t={};return e.adSlots?.length&&(t.adSlots=e.adSlots.map((e=>g.toJSON(e)))),t},create:e=>Ge.fromPartial(e??{}),fromPartial(e){const t={adSlots:[]};return t.adSlots=e.adSlots?.map((e=>g.fromPartial(e)))||[],t}};const We={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:nt(e.slotId)?String(e.slotId):""}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),t},create:e=>We.fromPartial(e??{}),fromPartial(e){const t={slotId:""};return t.slotId=e.slotId??"",t}};const je={encode:(e,t=r.Writer.create())=>(void 0!==e.adSlot&&g.encode(e.adSlot,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adSlot:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adSlot=g.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adSlot:nt(e.adSlot)?g.fromJSON(e.adSlot):void 0}),toJSON(e){const t={};return void 0!==e.adSlot&&(t.adSlot=g.toJSON(e.adSlot)),t},create:e=>je.fromPartial(e??{}),fromPartial(e){const t={adSlot:void 0};return t.adSlot=void 0!==e.adSlot&&null!==e.adSlot?g.fromPartial(e.adSlot):void 0,t}};const Ye={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:nt(e.slotId)?String(e.slotId):""}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),t},create:e=>Ye.fromPartial(e??{}),fromPartial(e){const t={slotId:""};return t.slotId=e.slotId??"",t}};const ze={encode:(e,t=r.Writer.create())=>(void 0!==e.error&&t.uint32(10).string(e.error),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={error:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({error:nt(e.error)?String(e.error):void 0}),toJSON(e){const t={};return void 0!==e.error&&(t.error=e.error),t},create:e=>ze.fromPartial(e??{}),fromPartial(e){const t={error:void 0};return t.error=e.error??void 0,t}};const Ke={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),void 0!==e.format&&t.uint32(16).int32(e.format),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:"",format:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue;case 2:if(16!==e)break;o.format=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:nt(e.slotId)?String(e.slotId):"",format:nt(e.format)?s(e.format):void 0}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),void 0!==e.format&&(t.format=c(e.format)),t},create:e=>Ke.fromPartial(e??{}),fromPartial(e){const t={slotId:"",format:void 0};return t.slotId=e.slotId??"",t.format=e.format??void 0,t}};const Je={encode:(e,t=r.Writer.create())=>(void 0!==e.adSlotEvent&&_.encode(e.adSlotEvent,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adSlotEvent:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adSlotEvent=_.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adSlotEvent:nt(e.adSlotEvent)?_.fromJSON(e.adSlotEvent):void 0}),toJSON(e){const t={};return void 0!==e.adSlotEvent&&(t.adSlotEvent=_.toJSON(e.adSlotEvent)),t},create:e=>Je.fromPartial(e??{}),fromPartial(e){const t={adSlotEvent:void 0};return t.adSlotEvent=void 0!==e.adSlotEvent&&null!==e.adSlotEvent?_.fromPartial(e.adSlotEvent):void 0,t}};const qe={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),Object.entries(e.targetingMap).forEach((([e,n])=>{Xe.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:"",targetingMap:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue;case 2:if(18!==e)break;const t=Xe.decode(n,n.uint32());void 0!==t.value&&(o.targetingMap[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON(e){return{slotId:nt(e.slotId)?String(e.slotId):"",targetingMap:(t=e.targetingMap,"object"==typeof t&&null!==t?Object.entries(e.targetingMap).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(""!==e.slotId&&(t.slotId=e.slotId),e.targetingMap){const n=Object.entries(e.targetingMap);n.length>0&&(t.targetingMap={},n.forEach((([e,n])=>{t.targetingMap[e]=n})))}return t},create:e=>qe.fromPartial(e??{}),fromPartial(e){const t={slotId:"",targetingMap:{}};return t.slotId=e.slotId??"",t.targetingMap=Object.entries(e.targetingMap??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const Xe={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:nt(e.key)?String(e.key):"",value:nt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Xe.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const $e={encode:(e,t=r.Writer.create())=>(void 0!==e.error&&t.uint32(10).string(e.error),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={error:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({error:nt(e.error)?String(e.error):void 0}),toJSON(e){const t={};return void 0!==e.error&&(t.error=e.error),t},create:e=>$e.fromPartial(e??{}),fromPartial(e){const t={error:void 0};return t.error=e.error??void 0,t}};const Ze={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:nt(e.slotId)?String(e.slotId):""}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),t},create:e=>Ze.fromPartial(e??{}),fromPartial(e){const t={slotId:""};return t.slotId=e.slotId??"",t}};const Qe={encode:(e,t=r.Writer.create())=>(void 0!==e.error&&t.uint32(10).string(e.error),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={error:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({error:nt(e.error)?String(e.error):void 0}),toJSON(e){const t={};return void 0!==e.error&&(t.error=e.error),t},create:e=>Qe.fromPartial(e??{}),fromPartial(e){const t={error:void 0};return t.error=e.error??void 0,t}};const et={encode:(e,t=r.Writer.create())=>(""!==e.slotId&&t.uint32(10).string(e.slotId),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={slotId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.slotId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({slotId:nt(e.slotId)?String(e.slotId):""}),toJSON(e){const t={};return""!==e.slotId&&(t.slotId=e.slotId),t},create:e=>et.fromPartial(e??{}),fromPartial(e){const t={slotId:""};return t.slotId=e.slotId??"",t}};const tt={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>tt.fromPartial(e??{}),fromPartial:e=>({})};function nt(e){return null!=e}class it{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getSlots(e,t){const n=it.SERVICE_ID,i="GetSlots",o=He.fromPartial(e),a=He.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Ge.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getSlot(e,t){const n=it.SERVICE_ID,i="GetSlot",o=We.fromPartial(e),a=We.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=je.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}createSlot(e,t){const n=it.SERVICE_ID,i="CreateSlot",o=Ye.fromPartial(e),a=Ye.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=ze.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subSlot(e,t){const n=it.SERVICE_ID,i="SubSlot",o=Ke.fromPartial(e),a=Ke.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=Je.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}fetchSlot(e,t){const n=it.SERVICE_ID,i="FetchSlot",o=qe.fromPartial(e),a=qe.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=$e.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}prepareNextTrackSlot(e,t){const n=it.SERVICE_ID,i="PrepareNextTrackSlot",o=qe.fromPartial(e),a=qe.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=$e.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}prepareNextContextSlot(e,t){const n=it.SERVICE_ID,i="PrepareNextContextSlot",o=qe.fromPartial(e),a=qe.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=$e.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}triggerSlot(e,t){const n=it.SERVICE_ID,i="TriggerSlot",o=Ze.fromPartial(e),a=Ze.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Qe.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}clearAvailableAds(e,t){const n=it.SERVICE_ID,i="ClearAvailableAds",o=et.fromPartial(e),a=et.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=tt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}clearAllAds(e,t){const n=it.SERVICE_ID,i="ClearAllAds",o=et.fromPartial(e),a=et.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=tt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.Slots";static METHODS={getSlots:{isStreaming:!1,requestType:He,responseType:Ge},getSlot:{isStreaming:!1,requestType:We,responseType:je},createSlot:{isStreaming:!1,requestType:Ye,responseType:ze},subSlot:{isStreaming:!0,requestType:Ke,responseType:Je},fetchSlot:{isStreaming:!1,requestType:qe,responseType:$e},prepareNextTrackSlot:{isStreaming:!1,requestType:qe,responseType:$e},prepareNextContextSlot:{isStreaming:!1,requestType:qe,responseType:$e},triggerSlot:{isStreaming:!1,requestType:Ze,responseType:Qe},clearAvailableAds:{isStreaming:!1,requestType:et,responseType:tt},clearAllAds:{isStreaming:!1,requestType:et,responseType:tt}};static DECODERS={GetSlots:{request:He.decode,response:Ge.decode},GetSlot:{request:We.decode,response:je.decode},CreateSlot:{request:Ye.decode,response:ze.decode},SubSlot:{request:Ke.decode,response:Je.decode},FetchSlot:{request:qe.decode,response:$e.decode},PrepareNextTrackSlot:{request:qe.decode,response:$e.decode},PrepareNextContextSlot:{request:qe.decode,response:$e.decode},TriggerSlot:{request:Ze.decode,response:Qe.decode},ClearAvailableAds:{request:et.decode,response:tt.decode},ClearAllAds:{request:et.decode,response:tt.decode}}}function ot(){return{value:"",changed:BigInt("0")}}const rt={encode:(e,t=r.Writer.create())=>(""!==e.value&&t.uint32(10).string(e.value),e.changed!==BigInt("0")&&t.uint32(16).uint64(e.changed.toString()),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=ot();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.value=n.string();continue;case 2:if(16!==e)break;o.changed=(a=n.uint64(),BigInt(a.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return o},fromJSON:e=>({value:ht(e.value)?String(e.value):"",changed:ht(e.changed)?BigInt(e.changed):BigInt("0")}),toJSON(e){const t={};return""!==e.value&&(t.value=e.value),e.changed!==BigInt("0")&&(t.changed=e.changed.toString()),t},create:e=>rt.fromPartial(e??{}),fromPartial(e){const t=ot();return t.value=e.value??"",t.changed=e.changed??BigInt("0"),t}};const at={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>at.fromPartial(e??{}),fromPartial:e=>({})};const st={encode:(e,t=r.Writer.create())=>(Object.entries(e.state).forEach((([e,n])=>{ct.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={state:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=ct.decode(n,n.uint32());void 0!==t.value&&(o.state[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({state:pt(e.state)?Object.entries(e.state).reduce(((e,[t,n])=>(e[t]=rt.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.state){const n=Object.entries(e.state);n.length>0&&(t.state={},n.forEach((([e,n])=>{t.state[e]=rt.toJSON(n)})))}return t},create:e=>st.fromPartial(e??{}),fromPartial(e){const t={state:{}};return t.state=Object.entries(e.state??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=rt.fromPartial(n)),e)),{}),t}};const ct={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&rt.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=rt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:ht(e.key)?String(e.key):"",value:ht(e.value)?rt.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=rt.toJSON(e.value)),t},create:e=>ct.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?rt.fromPartial(e.value):void 0,t}};const lt={encode:(e,t=r.Writer.create())=>(Object.entries(e.state).forEach((([e,n])=>{ut.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={state:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=ut.decode(n,n.uint32());void 0!==t.value&&(o.state[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({state:pt(e.state)?Object.entries(e.state).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(e.state){const n=Object.entries(e.state);n.length>0&&(t.state={},n.forEach((([e,n])=>{t.state[e]=n})))}return t},create:e=>lt.fromPartial(e??{}),fromPartial(e){const t={state:{}};return t.state=Object.entries(e.state??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const ut={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:ht(e.key)?String(e.key):"",value:ht(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>ut.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const dt={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>dt.fromPartial(e??{}),fromPartial:e=>({})};function pt(e){return"object"==typeof e&&null!==e}function ht(e){return null!=e}r.util.Long!==a&&(r.util.Long=a,r.configure());class ft{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getState(e,t){const n=ft.SERVICE_ID,i="GetState",o=at.fromPartial(e),a=at.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=st.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subState(e,t){const n=ft.SERVICE_ID,i="SubState",o=at.fromPartial(e),a=at.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=st.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}putState(e,t){const n=ft.SERVICE_ID,i="PutState",o=lt.fromPartial(e),a=lt.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=dt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.StateService";static METHODS={getState:{isStreaming:!1,requestType:at,responseType:st},subState:{isStreaming:!0,requestType:at,responseType:st},putState:{isStreaming:!1,requestType:lt,responseType:dt}};static DECODERS={GetState:{request:at.decode,response:st.decode},SubState:{request:at.decode,response:st.decode},PutState:{request:lt.decode,response:dt.decode}}}const mt={encode:(e,t=r.Writer.create())=>(Object.entries(e.targetingMap).forEach((([e,n])=>{_t.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={targetingMap:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=_t.decode(n,n.uint32());void 0!==t.value&&(o.targetingMap[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({targetingMap:St(e.targetingMap)?Object.entries(e.targetingMap).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(e.targetingMap){const n=Object.entries(e.targetingMap);n.length>0&&(t.targetingMap={},n.forEach((([e,n])=>{t.targetingMap[e]=n})))}return t},create:e=>mt.fromPartial(e??{}),fromPartial(e){const t={targetingMap:{}};return t.targetingMap=Object.entries(e.targetingMap??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const _t={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:Tt(e.key)?String(e.key):"",value:Tt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>_t.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const gt={encode(e,t=r.Writer.create()){for(const n of e.targetingKeys)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={targetingKeys:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.targetingKeys.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({targetingKeys:Array.isArray(e?.targetingKeys)?e.targetingKeys.map((e=>String(e))):[]}),toJSON(e){const t={};return e.targetingKeys?.length&&(t.targetingKeys=e.targetingKeys),t},create:e=>gt.fromPartial(e??{}),fromPartial(e){const t={targetingKeys:[]};return t.targetingKeys=e.targetingKeys?.map((e=>e))||[],t}};const Et={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Et.fromPartial(e??{}),fromPartial:e=>({})};const vt={encode:(e,t=r.Writer.create())=>(Object.entries(e.targetingMap).forEach((([e,n])=>{yt.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={targetingMap:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=yt.decode(n,n.uint32());void 0!==t.value&&(o.targetingMap[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({targetingMap:St(e.targetingMap)?Object.entries(e.targetingMap).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(e.targetingMap){const n=Object.entries(e.targetingMap);n.length>0&&(t.targetingMap={},n.forEach((([e,n])=>{t.targetingMap[e]=n})))}return t},create:e=>vt.fromPartial(e??{}),fromPartial(e){const t={targetingMap:{}};return t.targetingMap=Object.entries(e.targetingMap??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const yt={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:Tt(e.key)?String(e.key):"",value:Tt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>yt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const bt={encode(e,t=r.Writer.create()){for(const n of e.targetingKeys)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={targetingKeys:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.targetingKeys.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({targetingKeys:Array.isArray(e?.targetingKeys)?e.targetingKeys.map((e=>String(e))):[]}),toJSON(e){const t={};return e.targetingKeys?.length&&(t.targetingKeys=e.targetingKeys),t},create:e=>bt.fromPartial(e??{}),fromPartial(e){const t={targetingKeys:[]};return t.targetingKeys=e.targetingKeys?.map((e=>e))||[],t}};function St(e){return"object"==typeof e&&null!==e}function Tt(e){return null!=e}class At{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getTargeting(e,t){const n=At.SERVICE_ID,i="GetTargeting",o=gt.fromPartial(e),a=gt.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=mt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getAllTargeting(e,t){const n=At.SERVICE_ID,i="GetAllTargeting",o=Et.fromPartial(e),a=Et.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=mt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}putTargeting(e,t){const n=At.SERVICE_ID,i="PutTargeting",o=vt.fromPartial(e),a=vt.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=mt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}deleteTargeting(e,t){const n=At.SERVICE_ID,i="DeleteTargeting",o=bt.fromPartial(e),a=bt.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=mt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.Targeting";static METHODS={getTargeting:{isStreaming:!1,requestType:gt,responseType:mt},getAllTargeting:{isStreaming:!1,requestType:Et,responseType:mt},putTargeting:{isStreaming:!1,requestType:vt,responseType:mt},deleteTargeting:{isStreaming:!1,requestType:bt,responseType:mt}};static DECODERS={GetTargeting:{request:gt.decode,response:mt.decode},GetAllTargeting:{request:Et.decode,response:mt.decode},PutTargeting:{request:vt.decode,response:mt.decode},DeleteTargeting:{request:bt.decode,response:mt.decode}}}var It,Ot;function Ct(e){switch(e){case 0:case"OK":return It.OK;case 1:case"NOT_FOUND":return It.NOT_FOUND;default:return It.UNRECOGNIZED}}function Rt(e){switch(e){case 0:case"OK":return Ot.OK;case 1:case"FAILED":return Ot.FAILED;default:return Ot.UNRECOGNIZED}}!function(e){e[e.OK=0]="OK",e[e.NOT_FOUND=1]="NOT_FOUND",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(It||(It={})),function(e){e[e.OK=0]="OK",e[e.FAILED=1]="FAILED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ot||(Ot={}));const Nt={encode:(e,t=r.Writer.create())=>(0!==e.seconds&&t.uint32(8).uint32(e.seconds),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={seconds:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.seconds=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({seconds:Mt(e.seconds)?Number(e.seconds):0}),toJSON(e){const t={};return 0!==e.seconds&&(t.seconds=Math.round(e.seconds)),t},create:e=>Nt.fromPartial(e??{}),fromPartial(e){const t={seconds:0};return t.seconds=e.seconds??0,t}};const Pt={encode:(e,t=r.Writer.create())=>t,decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Pt.fromPartial(e??{}),fromPartial:e=>({})};const Lt={encode:(e,t=r.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key=n.string();continue;case 2:if(18!==e)break;o.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:Mt(e.key)?String(e.key):"",value:Mt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Lt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const kt={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:Mt(e.status)?Ct(e.status):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case It.OK:return"OK";case It.NOT_FOUND:return"NOT_FOUND";case It.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),t},create:e=>kt.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};const wt={encode:(e,t=r.Writer.create())=>(""!==e.adsJson&&t.uint32(10).string(e.adsJson),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={adsJson:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.adsJson=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({adsJson:Mt(e.adsJson)?String(e.adsJson):""}),toJSON(e){const t={};return""!==e.adsJson&&(t.adsJson=e.adsJson),t},create:e=>wt.fromPartial(e??{}),fromPartial(e){const t={adsJson:""};return t.adsJson=e.adsJson??"",t}};const Dt={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:Mt(e.status)?Rt(e.status):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case Ot.OK:return"OK";case Ot.FAILED:return"FAILED";case Ot.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),t},create:e=>Dt.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};function Mt(e){return null!=e}class xt{transport;options;constructor(e,t={}){this.transport=e,this.options=t}addPlaytime(e,t){const n=xt.SERVICE_ID,i="AddPlaytime",o=Nt.fromPartial(e),a=Nt.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Pt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}requestOverride(e,t){const n=xt.SERVICE_ID,i="RequestOverride",o=Lt.fromPartial(e),a=Lt.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=kt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}insertAds(e,t){const n=xt.SERVICE_ID,i="InsertAds",o=wt.fromPartial(e),a=wt.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Dt.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.ads.esperanto.proto.Testing";static METHODS={addPlaytime:{isStreaming:!1,requestType:Nt,responseType:Pt},requestOverride:{isStreaming:!1,requestType:Lt,responseType:kt},insertAds:{isStreaming:!1,requestType:wt,responseType:Dt}};static DECODERS={AddPlaytime:{request:Nt.decode,response:Pt.decode},RequestOverride:{request:Lt.decode,response:kt.decode},InsertAds:{request:wt.decode,response:Dt.decode}}}},23976:(e,t,n)=>{"use strict";n.d(t,{BO:()=>N});var i=n(24848);function o(){return{id:new Uint8Array(0),projections:[]}}const r={encode(e,t=i.Writer.create()){0!==e.id.length&&t.uint32(10).bytes(e.id);for(const n of e.projections)s.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a=o();for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.id=n.bytes();continue;case 2:if(18!==e)break;a.projections.push(s.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({id:h(e.id)?d(e.id):new Uint8Array(0),projections:Array.isArray(e?.projections)?e.projections.map((e=>s.fromJSON(e))):[]}),toJSON(e){const t={};return 0!==e.id.length&&(t.id=p(e.id)),e.projections?.length&&(t.projections=e.projections.map((e=>s.toJSON(e)))),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t=o();return t.id=e.id??new Uint8Array(0),t.projections=e.projections?.map((e=>s.fromPartial(e)))||[],t}};function a(){return{id:new Uint8Array(0),metadataIndex:0,urlTemplateIndex:0}}const s={encode:(e,t=i.Writer.create())=>(0!==e.id.length&&t.uint32(18).bytes(e.id),0!==e.metadataIndex&&t.uint32(24).int32(e.metadataIndex),0!==e.urlTemplateIndex&&t.uint32(32).int32(e.urlTemplateIndex),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=a();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 2:if(18!==e)break;r.id=n.bytes();continue;case 3:if(24!==e)break;r.metadataIndex=n.int32();continue;case 4:if(32!==e)break;r.urlTemplateIndex=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:h(e.id)?d(e.id):new Uint8Array(0),metadataIndex:h(e.metadataIndex)?Number(e.metadataIndex):0,urlTemplateIndex:h(e.urlTemplateIndex)?Number(e.urlTemplateIndex):0}),toJSON(e){const t={};return 0!==e.id.length&&(t.id=p(e.id)),0!==e.metadataIndex&&(t.metadataIndex=Math.round(e.metadataIndex)),0!==e.urlTemplateIndex&&(t.urlTemplateIndex=Math.round(e.urlTemplateIndex)),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t=a();return t.id=e.id??new Uint8Array(0),t.metadataIndex=e.metadataIndex??0,t.urlTemplateIndex=e.urlTemplateIndex??0,t}};const c={encode:(e,t=i.Writer.create())=>(0!==e.width&&t.uint32(16).int32(e.width),0!==e.height&&t.uint32(24).int32(e.height),!0===e.fetchOnline&&t.uint32(32).bool(e.fetchOnline),!0===e.downloadForOffline&&t.uint32(40).bool(e.downloadForOffline),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={width:0,height:0,fetchOnline:!1,downloadForOffline:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 2:if(16!==e)break;r.width=n.int32();continue;case 3:if(24!==e)break;r.height=n.int32();continue;case 4:if(32!==e)break;r.fetchOnline=n.bool();continue;case 5:if(40!==e)break;r.downloadForOffline=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({width:h(e.width)?Number(e.width):0,height:h(e.height)?Number(e.height):0,fetchOnline:!!h(e.fetchOnline)&&Boolean(e.fetchOnline),downloadForOffline:!!h(e.downloadForOffline)&&Boolean(e.downloadForOffline)}),toJSON(e){const t={};return 0!==e.width&&(t.width=Math.round(e.width)),0!==e.height&&(t.height=Math.round(e.height)),!0===e.fetchOnline&&(t.fetchOnline=e.fetchOnline),!0===e.downloadForOffline&&(t.downloadForOffline=e.downloadForOffline),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={width:0,height:0,fetchOnline:!1,downloadForOffline:!1};return t.width=e.width??0,t.height=e.height??0,t.fetchOnline=e.fetchOnline??!1,t.downloadForOffline=e.downloadForOffline??!1,t}};const l={encode(e,t=i.Writer.create()){for(const n of e.urlTemplates)t.uint32(10).string(n);for(const n of e.projectionMetas)c.encode(n,t.uint32(18).fork()).ldelim();for(const n of e.collections)r.encode(n,t.uint32(26).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const a={urlTemplates:[],projectionMetas:[],collections:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.urlTemplates.push(n.string());continue;case 2:if(18!==e)break;a.projectionMetas.push(c.decode(n,n.uint32()));continue;case 3:if(26!==e)break;a.collections.push(r.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({urlTemplates:Array.isArray(e?.urlTemplates)?e.urlTemplates.map((e=>String(e))):[],projectionMetas:Array.isArray(e?.projectionMetas)?e.projectionMetas.map((e=>c.fromJSON(e))):[],collections:Array.isArray(e?.collections)?e.collections.map((e=>r.fromJSON(e))):[]}),toJSON(e){const t={};return e.urlTemplates?.length&&(t.urlTemplates=e.urlTemplates),e.projectionMetas?.length&&(t.projectionMetas=e.projectionMetas.map((e=>c.toJSON(e)))),e.collections?.length&&(t.collections=e.collections.map((e=>r.toJSON(e)))),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={urlTemplates:[],projectionMetas:[],collections:[]};return t.urlTemplates=e.urlTemplates?.map((e=>e))||[],t.projectionMetas=e.projectionMetas?.map((e=>c.fromPartial(e)))||[],t.collections=e.collections?.map((e=>r.fromPartial(e)))||[],t}};const u=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function d(e){if(u.Buffer)return Uint8Array.from(u.Buffer.from(e,"base64"));{const t=u.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function p(e){if(u.Buffer)return u.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),u.btoa(t.join(""))}}function h(e){return null!=e}var f;function m(e){switch(e){case 0:case"UNKNOWN":return f.UNKNOWN;case 1:case"LOCAL_FILE":return f.LOCAL_FILE;case 2:case"CACHE":return f.CACHE;case 3:case"NETWORK":return f.NETWORK;default:return f.UNRECOGNIZED}}function _(){return{error:0,source:0,data:new Uint8Array(0),scaleFactor:void 0}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.LOCAL_FILE=1]="LOCAL_FILE",e[e.CACHE=2]="CACHE",e[e.NETWORK=3]="NETWORK",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(f||(f={}));const g={encode:(e,t=i.Writer.create())=>(0!==e.error&&t.uint32(8).int32(e.error),0!==e.source&&t.uint32(16).int32(e.source),0!==e.data.length&&t.uint32(26).bytes(e.data),void 0!==e.scaleFactor&&t.uint32(37).float(e.scaleFactor),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=_();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.error=n.int32();continue;case 2:if(16!==e)break;r.source=n.int32();continue;case 3:if(26!==e)break;r.data=n.bytes();continue;case 4:if(37!==e)break;r.scaleFactor=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({error:C(e.error)?Number(e.error):0,source:C(e.source)?m(e.source):0,data:C(e.data)?O(e.data):new Uint8Array(0),scaleFactor:C(e.scaleFactor)?Number(e.scaleFactor):void 0}),toJSON(e){const t={};return 0!==e.error&&(t.error=Math.round(e.error)),0!==e.source&&(t.source=function(e){switch(e){case f.UNKNOWN:return"UNKNOWN";case f.LOCAL_FILE:return"LOCAL_FILE";case f.CACHE:return"CACHE";case f.NETWORK:return"NETWORK";case f.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.source)),0!==e.data.length&&(t.data=function(e){if(I.Buffer)return I.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),I.btoa(t.join(""))}}(e.data)),void 0!==e.scaleFactor&&(t.scaleFactor=e.scaleFactor),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t=_();return t.error=e.error??0,t.source=e.source??0,t.data=e.data??new Uint8Array(0),t.scaleFactor=e.scaleFactor??void 0,t}};const E={encode:(e,t=i.Writer.create())=>(0!==e.width&&t.uint32(8).int32(e.width),0!==e.height&&t.uint32(16).int32(e.height),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={width:0,height:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.width=n.int32();continue;case 2:if(16!==e)break;r.height=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({width:C(e.width)?Number(e.width):0,height:C(e.height)?Number(e.height):0}),toJSON(e){const t={};return 0!==e.width&&(t.width=Math.round(e.width)),0!==e.height&&(t.height=Math.round(e.height)),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={width:0,height:0};return t.width=e.width??0,t.height=e.height??0,t}};const v={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.resolve&&y.encode(e.resolve,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",resolve:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.resolve=y.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:C(e.uri)?String(e.uri):"",resolve:C(e.resolve)?y.fromJSON(e.resolve):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.resolve&&(t.resolve=y.toJSON(e.resolve)),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={uri:"",resolve:void 0};return t.uri=e.uri??"",t.resolve=void 0!==e.resolve&&null!==e.resolve?y.fromPartial(e.resolve):void 0,t}};const y={encode:(e,t=i.Writer.create())=>(void 0!==e.size&&E.encode(e.size,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={size:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.size=E.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({size:C(e.size)?E.fromJSON(e.size):void 0}),toJSON(e){const t={};return void 0!==e.size&&(t.size=E.toJSON(e.size)),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={size:void 0};return t.size=void 0!==e.size&&null!==e.size?E.fromPartial(e.size):void 0,t}};const b={encode:(e,t=i.Writer.create())=>(Object.entries(e.status).forEach((([e,n])=>{S.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=S.decode(n,n.uint32());void 0!==t.value&&(r.status[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{status:(t=e.status,"object"==typeof t&&null!==t?Object.entries(e.status).reduce(((e,[t,n])=>(e[t]=Boolean(n),e)),{}):{})};var t},toJSON(e){const t={};if(e.status){const n=Object.entries(e.status);n.length>0&&(t.status={},n.forEach((([e,n])=>{t.status[e]=n})))}return t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={status:{}};return t.status=Object.entries(e.status??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=Boolean(n)),e)),{}),t}};const S={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),!0===e.value&&t.uint32(16).bool(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(16!==e)break;r.value=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:C(e.key)?String(e.key):"",value:!!C(e.value)&&Boolean(e.value)}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),!0===e.value&&(t.value=e.value),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={key:"",value:!1};return t.key=e.key??"",t.value=e.value??!1,t}};const T={encode(e,t=i.Writer.create()){for(const n of e.urls)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={urls:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.urls.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({urls:Array.isArray(e?.urls)?e.urls.map((e=>String(e))):[]}),toJSON(e){const t={};return e.urls?.length&&(t.urls=e.urls),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={urls:[]};return t.urls=e.urls?.map((e=>e))||[],t}};const A={encode:(e,t=i.Writer.create())=>(void 0!==e.projectionMap&&l.encode(e.projectionMap,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={projectionMap:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.projectionMap=l.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({projectionMap:C(e.projectionMap)?l.fromJSON(e.projectionMap):void 0}),toJSON(e){const t={};return void 0!==e.projectionMap&&(t.projectionMap=l.toJSON(e.projectionMap)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={projectionMap:void 0};return t.projectionMap=void 0!==e.projectionMap&&null!==e.projectionMap?l.fromPartial(e.projectionMap):void 0,t}},I=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function O(e){if(I.Buffer)return Uint8Array.from(I.Buffer.from(e,"base64"));{const t=I.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function C(e){return null!=e}const R={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>R.fromPartial(e??{}),fromPartial:e=>({})};class N{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getImage(e,t){const n=N.SERVICE_ID,o="GetImage",r=v.fromPartial(e),a=v.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=g.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getCacheStatus(e,t){const n=N.SERVICE_ID,o="GetCacheStatus",r=T.fromPartial(e),a=T.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=b.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setProjectionMap(e,t){const n=N.SERVICE_ID,o="SetProjectionMap",r=A.fromPartial(e),a=A.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=R.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.image.esperanto.proto.Image";static METHODS={getImage:{isStreaming:!1,requestType:v,responseType:g},getCacheStatus:{isStreaming:!1,requestType:T,responseType:b},setProjectionMap:{isStreaming:!1,requestType:A,responseType:R}};static DECODERS={GetImage:{request:v.decode,response:g.decode},GetCacheStatus:{request:T.decode,response:b.decode},SetProjectionMap:{request:A.decode,response:R.decode}}}},45786:(e,t,n)=>{"use strict";n.d(t,{Pm:()=>y,Fr:()=>i});var i,o=n(24848);function r(e){switch(e){case 0:case"ENABLED":return i.ENABLED;case 1:case"DISABLED":return i.DISABLED;default:return i.UNRECOGNIZED}}function a(e){switch(e){case i.ENABLED:return"ENABLED";case i.DISABLED:return"DISABLED";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.ENABLED=0]="ENABLED",e[e.DISABLED=1]="DISABLED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const s={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>s.fromPartial(e??{}),fromPartial:e=>({})};const c={encode:(e,t=o.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={status:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{status:(t=e.status,null!=t?r(e.status):0)};var t},toJSON(e){const t={};return 0!==e.status&&(t.status=a(e.status)),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};const l={encode:(e,t=o.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={status:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:d(e.status)?r(e.status):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=a(e.status)),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};const u={encode:(e,t=o.Writer.create())=>(!0===e.success&&t.uint32(8).bool(e.success),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={success:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.success=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({success:!!d(e.success)&&Boolean(e.success)}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={success:!1};return t.success=e.success??!1,t}};function d(e){return null!=e}const p={encode:(e,t=o.Writer.create())=>(0!==e.volume&&t.uint32(13).float(e.volume),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={volume:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(13!==e)break;r.volume=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({volume:f(e.volume)?Number(e.volume):0}),toJSON(e){const t={};return 0!==e.volume&&(t.volume=e.volume),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={volume:0};return t.volume=e.volume??0,t}};const h={encode:(e,t=o.Writer.create())=>(!0===e.success&&t.uint32(8).bool(e.success),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={success:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.success=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({success:!!f(e.success)&&Boolean(e.success)}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={success:!1};return t.success=e.success??!1,t}};function f(e){return null!=e}var m;function _(e){switch(e){case 0:case"MASK_READY":return m.MASK_READY;case 1:case"ERROR":return m.ERROR;default:return m.UNRECOGNIZED}}!function(e){e[e.MASK_READY=0]="MASK_READY",e[e.ERROR=1]="ERROR",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(m||(m={}));const g={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>g.fromPartial(e??{}),fromPartial:e=>({})};const E={encode:(e,t=o.Writer.create())=>(0!==e.id&&t.uint32(8).int32(e.id),""!==e.trackUri&&t.uint32(18).string(e.trackUri),""!==e.errorMessage&&t.uint32(26).string(e.errorMessage),0!==e.errorCode&&t.uint32(32).int32(e.errorCode),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={id:0,trackUri:"",errorMessage:"",errorCode:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.id=n.int32();continue;case 2:if(18!==e)break;r.trackUri=n.string();continue;case 3:if(26!==e)break;r.errorMessage=n.string();continue;case 4:if(32!==e)break;r.errorCode=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:v(e.id)?_(e.id):0,trackUri:v(e.trackUri)?String(e.trackUri):"",errorMessage:v(e.errorMessage)?String(e.errorMessage):"",errorCode:v(e.errorCode)?Number(e.errorCode):0}),toJSON(e){const t={};return 0!==e.id&&(t.id=function(e){switch(e){case m.MASK_READY:return"MASK_READY";case m.ERROR:return"ERROR";case m.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.id)),""!==e.trackUri&&(t.trackUri=e.trackUri),""!==e.errorMessage&&(t.errorMessage=e.errorMessage),0!==e.errorCode&&(t.errorCode=Math.round(e.errorCode)),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={id:0,trackUri:"",errorMessage:"",errorCode:0};return t.id=e.id??0,t.trackUri=e.trackUri??"",t.errorMessage=e.errorMessage??"",t.errorCode=e.errorCode??0,t}};function v(e){return null!=e}class y{transport;options;constructor(e,t={}){this.transport=e,this.options=t}postVocalVolume(e,t){const n=y.SERVICE_ID,i="PostVocalVolume",r=p.fromPartial(e),a=p.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=h.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}postStatus(e,t){const n=y.SERVICE_ID,i="PostStatus",r=l.fromPartial(e),a=l.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=u.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getStatus(e,t){const n=y.SERVICE_ID,i="GetStatus",r=s.fromPartial(e),a=s.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=c.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subscribeToEvents(e,t){const n=y.SERVICE_ID,i="SubscribeToEvents",r=g.fromPartial(e),a=g.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=E.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}static SERVICE_ID="spotify.karaoke_esperanto.proto.KaraokeService";static METHODS={postVocalVolume:{isStreaming:!1,requestType:p,responseType:h},postStatus:{isStreaming:!1,requestType:l,responseType:u},getStatus:{isStreaming:!1,requestType:s,responseType:c},subscribeToEvents:{isStreaming:!0,requestType:g,responseType:E}};static DECODERS={PostVocalVolume:{request:p.decode,response:h.decode},PostStatus:{request:l.decode,response:u.decode},GetStatus:{request:s.decode,response:c.decode},SubscribeToEvents:{request:g.decode,response:E.decode}}}},82124:(e,t,n)=>{"use strict";n.d(t,{UH:()=>i,Fn:()=>f,Ww:()=>je});var i,o=n(24848);n(98263);function r(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return i.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return i.CANVAZ;case 2:case"STORYLINES":return i.STORYLINES;case 3:case"PODCAST_TOPICS":return i.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return i.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return i.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return i.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return i.PODCAST_COUNTER;case 8:case"ARTIST_V4":return i.ARTIST_V4;case 9:case"ALBUM_V4":return i.ALBUM_V4;case 10:case"TRACK_V4":return i.TRACK_V4;case 11:case"SHOW_V4":return i.SHOW_V4;case 12:case"EPISODE_V4":return i.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return i.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return i.PODCAST_QUOTES;case 15:case"USER_PROFILE":return i.USER_PROFILE;case 16:case"CANVAS_V1":return i.CANVAS_V1;case 17:case"SHOW_V4_BASE":return i.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return i.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return i.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return i.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return i.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return i.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return i.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return i.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return i.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return i.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return i.AUTOMIX_MODE;case 28:case"CUEPOINTS":return i.CUEPOINTS;case 29:case"PODCAST_POLL":return i.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return i.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return i.SHOW_ACCESS;case 32:case"PODCAST_QNA":return i.PODCAST_QNA;case 33:case"CLIPS":return i.CLIPS;case 34:case"SHOW_V5":return i.SHOW_V5;case 35:case"EPISODE_V5":return i.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return i.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return i.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return i.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return i.GREENROOM;case 40:case"USER_CREATED":return i.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return i.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return i.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return i.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return i.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return i.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return i.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return i.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return i.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return i.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return i.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return i.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return i.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return i.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return i.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return i.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return i.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return i.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return i.CONTENT_WARNING;case 59:case"IMAGE_CUE":return i.IMAGE_CUE;case 60:case"STREAM_COUNT":return i.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return i.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return i.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return i.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return i.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return i.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return i.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return i.LIVE;case 68:case"SKIP_PLAYED":return i.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return i.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return i.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return i.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return i.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return i.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return i.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return i.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return i.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return i.PODCAST_GUEST;case 78:case"PLAYABILITY":return i.PLAYABILITY;case 79:case"COVER_IMAGE":return i.COVER_IMAGE;case 80:case"SHARE_TRAIT":return i.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return i.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return i.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return i.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return i.CONCEPT;case 85:case"ORIGINAL_VIDEO":return i.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return i.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return i.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return i.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return i.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return i.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return i.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return i.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return i.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return i.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return i.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return i.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return i.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return i.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return i.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return i.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return i.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return i.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return i.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return i.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return i.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return i.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return i.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return i.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return i.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return i.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return i.MERCH;case 113:case"COMPANION_CONTENT":return i.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return i.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return i.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return i.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return i.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return i.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return i.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return i.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return i.COURSE_SPECIFICS;case 122:case"CONCERT":return i.CONCERT;case 123:case"CONCERT_LOCATION":return i.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return i.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return i.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return i.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return i.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return i.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return i.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return i.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return i.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return i.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return i.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return i.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return i.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return i.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return i.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return i.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return i.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return i.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return i.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return i.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return i.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return i.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return i.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return i.SUPPORTED_BADGES;case 147:case"BADGES":return i.BADGES;case 148:case"PREVIEW_TRAIT":return i.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return i.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return i.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return i.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return i.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return i.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return i.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return i.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return i.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return i.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return i.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return i.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return i.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return i.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return i.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return i.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return i.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return i.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return i.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return i.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return i.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return i.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return i.AUTO_LENS;default:return i.UNRECOGNIZED}}function a(e){switch(e){case i.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case i.CANVAZ:return"CANVAZ";case i.STORYLINES:return"STORYLINES";case i.PODCAST_TOPICS:return"PODCAST_TOPICS";case i.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case i.AUDIO_FILES:return"AUDIO_FILES";case i.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case i.PODCAST_COUNTER:return"PODCAST_COUNTER";case i.ARTIST_V4:return"ARTIST_V4";case i.ALBUM_V4:return"ALBUM_V4";case i.TRACK_V4:return"TRACK_V4";case i.SHOW_V4:return"SHOW_V4";case i.EPISODE_V4:return"EPISODE_V4";case i.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case i.PODCAST_QUOTES:return"PODCAST_QUOTES";case i.USER_PROFILE:return"USER_PROFILE";case i.CANVAS_V1:return"CANVAS_V1";case i.SHOW_V4_BASE:return"SHOW_V4_BASE";case i.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case i.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case i.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case i.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case i.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case i.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case i.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case i.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case i.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case i.AUTOMIX_MODE:return"AUTOMIX_MODE";case i.CUEPOINTS:return"CUEPOINTS";case i.PODCAST_POLL:return"PODCAST_POLL";case i.EPISODE_ACCESS:return"EPISODE_ACCESS";case i.SHOW_ACCESS:return"SHOW_ACCESS";case i.PODCAST_QNA:return"PODCAST_QNA";case i.CLIPS:return"CLIPS";case i.SHOW_V5:return"SHOW_V5";case i.EPISODE_V5:return"EPISODE_V5";case i.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case i.PODCAST_RATING:return"PODCAST_RATING";case i.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case i.GREENROOM:return"GREENROOM";case i.USER_CREATED:return"USER_CREATED";case i.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case i.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case i.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case i.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case i.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case i.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case i.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case i.CLIENT_CONFIG:return"CLIENT_CONFIG";case i.PLAYLISTABILITY:return"PLAYLISTABILITY";case i.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case i.CHAPTER_V5:return"CHAPTER_V5";case i.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case i.EPISODE_RANKING:return"EPISODE_RANKING";case i.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case i.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case i.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case i.PLAY_TRAIT:return"PLAY_TRAIT";case i.CONTENT_WARNING:return"CONTENT_WARNING";case i.IMAGE_CUE:return"IMAGE_CUE";case i.STREAM_COUNT:return"STREAM_COUNT";case i.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case i.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case i.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case i.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case i.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case i.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case i.LIVE:return"LIVE";case i.SKIP_PLAYED:return"SKIP_PLAYED";case i.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case i.ASSOCIATIONS:return"ASSOCIATIONS";case i.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case i.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case i.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case i.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case i.USER_COMMENTS:return"USER_COMMENTS";case i.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case i.PODCAST_GUEST:return"PODCAST_GUEST";case i.PLAYABILITY:return"PLAYABILITY";case i.COVER_IMAGE:return"COVER_IMAGE";case i.SHARE_TRAIT:return"SHARE_TRAIT";case i.INSTANCE_SHARING:return"INSTANCE_SHARING";case i.ARTIST_TOUR:return"ARTIST_TOUR";case i.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case i.CONCEPT:return"CONCEPT";case i.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case i.SMART_SHUFFLE:return"SMART_SHUFFLE";case i.LIVE_EVENTS:return"LIVE_EVENTS";case i.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case i.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case i.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case i.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case i.FEWER_ADS:return"FEWER_ADS";case i.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case i.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case i.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case i.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case i.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case i.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case i.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case i.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case i.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case i.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case i.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case i.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case i.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case i.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case i.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case i.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case i.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case i.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case i.MERCH:return"MERCH";case i.COMPANION_CONTENT:return"COMPANION_CONTENT";case i.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case i.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case i.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case i.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case i.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case i.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case i.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case i.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case i.CONCERT:return"CONCERT";case i.CONCERT_LOCATION:return"CONCERT_LOCATION";case i.CONCERT_MARKETING:return"CONCERT_MARKETING";case i.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case i.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case i.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case i.NAME_TRAIT:return"NAME_TRAIT";case i.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case i.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case i.CREDITS_TRAIT:return"CREDITS_TRAIT";case i.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case i.ENTITY_CAPPING:return"ENTITY_CAPPING";case i.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case i.CONCERT_OFFERS:return"CONCERT_OFFERS";case i.TRANSITION_MAPS:return"TRANSITION_MAPS";case i.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case i.PRERELEASE:return"PRERELEASE";case i.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case i.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case i.LIST_METADATA:return"LIST_METADATA";case i.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case i.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case i.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case i.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case i.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case i.BADGES:return"BADGES";case i.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case i.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case i.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case i.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case i.POPULAR_RELEASES:return"POPULAR_RELEASES";case i.RELATED_RELEASES:return"RELATED_RELEASES";case i.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case i.CONCERT_OFFER:return"CONCERT_OFFER";case i.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case i.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case i.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case i.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case i.REORDERING_TRAIT:return"REORDERING_TRAIT";case i.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case i.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case i.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case i.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case i.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case i.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case i.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case i.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case i.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case i.AUTO_LENS:return"AUTO_LENS";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const s={encode(e,t=o.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.length&&t.uint32(16).bool(e.length),!0===e.name&&t.uint32(24).bool(e.name),!0===e.manifestId&&t.uint32(32).bool(e.manifestId),!0===e.previewId&&t.uint32(40).bool(e.previewId),!0===e.previewManifestId&&t.uint32(48).bool(e.previewManifestId),!0===e.description&&t.uint32(56).bool(e.description),!0===e.publishDate&&t.uint32(64).bool(e.publishDate),!0===e.covers&&t.uint32(72).bool(e.covers),!0===e.freezeFrames&&t.uint32(80).bool(e.freezeFrames),!0===e.language&&t.uint32(88).bool(e.language),!0===e.available&&t.uint32(96).bool(e.available),!0===e.mediaTypeEnum&&t.uint32(104).bool(e.mediaTypeEnum),!0===e.number&&t.uint32(112).bool(e.number),!0===e.backgroundable&&t.uint32(120).bool(e.backgroundable),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),!0===e.type&&t.uint32(136).bool(e.type),!0===e.isMusicAndTalk&&t.uint32(144).bool(e.isMusicAndTalk),t.uint32(170).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.is19PlusOnly&&t.uint32(176).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(184).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(192).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(200).bool(e.isCurated),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.length=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.manifestId=n.bool();continue;case 5:if(40!==e)break;r.previewId=n.bool();continue;case 6:if(48!==e)break;r.previewManifestId=n.bool();continue;case 7:if(56!==e)break;r.description=n.bool();continue;case 8:if(64!==e)break;r.publishDate=n.bool();continue;case 9:if(72!==e)break;r.covers=n.bool();continue;case 10:if(80!==e)break;r.freezeFrames=n.bool();continue;case 11:if(88!==e)break;r.language=n.bool();continue;case 12:if(96!==e)break;r.available=n.bool();continue;case 13:if(104!==e)break;r.mediaTypeEnum=n.bool();continue;case 14:if(112!==e)break;r.number=n.bool();continue;case 15:if(120!==e)break;r.backgroundable=n.bool();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(136!==e)break;r.type=n.bool();continue;case 18:if(144!==e)break;r.isMusicAndTalk=n.bool();continue;case 21:if(168===e){r.extension.push(n.int32());continue}if(170===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 22:if(176!==e)break;r.is19PlusOnly=n.bool();continue;case 23:if(184!==e)break;r.isBookChapter=n.bool();continue;case 24:if(192!==e)break;r.isPodcastShort=n.bool();continue;case 25:if(200!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!d(e.link)&&Boolean(e.link),length:!!d(e.length)&&Boolean(e.length),name:!!d(e.name)&&Boolean(e.name),manifestId:!!d(e.manifestId)&&Boolean(e.manifestId),previewId:!!d(e.previewId)&&Boolean(e.previewId),previewManifestId:!!d(e.previewManifestId)&&Boolean(e.previewManifestId),description:!!d(e.description)&&Boolean(e.description),publishDate:!!d(e.publishDate)&&Boolean(e.publishDate),covers:!!d(e.covers)&&Boolean(e.covers),freezeFrames:!!d(e.freezeFrames)&&Boolean(e.freezeFrames),language:!!d(e.language)&&Boolean(e.language),available:!!d(e.available)&&Boolean(e.available),mediaTypeEnum:!!d(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),number:!!d(e.number)&&Boolean(e.number),backgroundable:!!d(e.backgroundable)&&Boolean(e.backgroundable),isExplicit:!!d(e.isExplicit)&&Boolean(e.isExplicit),type:!!d(e.type)&&Boolean(e.type),isMusicAndTalk:!!d(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>r(e))):[],is19PlusOnly:!!d(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!d(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!d(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!d(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.length&&(t.length=e.length),!0===e.name&&(t.name=e.name),!0===e.manifestId&&(t.manifestId=e.manifestId),!0===e.previewId&&(t.previewId=e.previewId),!0===e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.description&&(t.description=e.description),!0===e.publishDate&&(t.publishDate=e.publishDate),!0===e.covers&&(t.covers=e.covers),!0===e.freezeFrames&&(t.freezeFrames=e.freezeFrames),!0===e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.number&&(t.number=e.number),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.type&&(t.type=e.type),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>a(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};return t.link=e.link??!1,t.length=e.length??!1,t.name=e.name??!1,t.manifestId=e.manifestId??!1,t.previewId=e.previewId??!1,t.previewManifestId=e.previewManifestId??!1,t.description=e.description??!1,t.publishDate=e.publishDate??!1,t.covers=e.covers??!1,t.freezeFrames=e.freezeFrames??!1,t.language=e.language??!1,t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.number=e.number??!1,t.backgroundable=e.backgroundable??!1,t.isExplicit=e.isExplicit??!1,t.type=e.type??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};const c={encode:(e,t=o.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isInListenLater&&t.uint32(16).bool(e.isInListenLater),!0===e.isNew&&t.uint32(24).bool(e.isNew),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isInListenLater:!1,isNew:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isInListenLater=n.bool();continue;case 3:if(24!==e)break;r.isNew=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!d(e.isFollowingShow)&&Boolean(e.isFollowingShow),isInListenLater:!!d(e.isInListenLater)&&Boolean(e.isInListenLater),isNew:!!d(e.isNew)&&Boolean(e.isNew)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),!0===e.isNew&&(t.isNew=e.isNew),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isInListenLater:!1,isNew:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isInListenLater=e.isInListenLater??!1,t.isNew=e.isNew??!1,t}};const l={encode:(e,t=o.Writer.create())=>(!0===e.offline&&t.uint32(8).bool(e.offline),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={offline:!1,syncProgress:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offline=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:!!d(e.offline)&&Boolean(e.offline),syncProgress:!!d(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={offline:!1,syncProgress:!1};return t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t}};const u={encode:(e,t=o.Writer.create())=>(!0===e.timeLeft&&t.uint32(8).bool(e.timeLeft),!0===e.isPlayed&&t.uint32(16).bool(e.isPlayed),!0===e.playable&&t.uint32(24).bool(e.playable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.lastPlayedAt&&t.uint32(40).bool(e.lastPlayedAt),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.bool();continue;case 2:if(16!==e)break;r.isPlayed=n.bool();continue;case 3:if(24!==e)break;r.playable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.lastPlayedAt=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:!!d(e.timeLeft)&&Boolean(e.timeLeft),isPlayed:!!d(e.isPlayed)&&Boolean(e.isPlayed),playable:!!d(e.playable)&&Boolean(e.playable),playabilityRestriction:!!d(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),lastPlayedAt:!!d(e.lastPlayedAt)&&Boolean(e.lastPlayedAt)}),toJSON(e){const t={};return!0===e.timeLeft&&(t.timeLeft=e.timeLeft),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),!0===e.playable&&(t.playable=e.playable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.lastPlayedAt&&(t.lastPlayedAt=e.lastPlayedAt),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};return t.timeLeft=e.timeLeft??!1,t.isPlayed=e.isPlayed??!1,t.playable=e.playable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.lastPlayedAt=e.lastPlayedAt??!1,t}};function d(e){return null!=e}const p={encode(e,t=o.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.description&&t.uint32(24).bool(e.description),!0===e.popularity&&t.uint32(32).bool(e.popularity),!0===e.publisher&&t.uint32(40).bool(e.publisher),!0===e.language&&t.uint32(48).bool(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),!0===e.covers&&t.uint32(64).bool(e.covers),!0===e.numEpisodes&&t.uint32(72).bool(e.numEpisodes),!0===e.consumptionOrder&&t.uint32(80).bool(e.consumptionOrder),!0===e.mediaTypeEnum&&t.uint32(88).bool(e.mediaTypeEnum),!0===e.copyrights&&t.uint32(96).bool(e.copyrights),!0===e.trailerUri&&t.uint32(104).bool(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk),t.uint32(130).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isBook&&t.uint32(136).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(144).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.description=n.bool();continue;case 4:if(32!==e)break;r.popularity=n.bool();continue;case 5:if(40!==e)break;r.publisher=n.bool();continue;case 6:if(48!==e)break;r.language=n.bool();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(64!==e)break;r.covers=n.bool();continue;case 9:if(72!==e)break;r.numEpisodes=n.bool();continue;case 10:if(80!==e)break;r.consumptionOrder=n.bool();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.bool();continue;case 12:if(96!==e)break;r.copyrights=n.bool();continue;case 13:if(104!==e)break;r.trailerUri=n.bool();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 16:if(128===e){r.extension.push(n.int32());continue}if(130===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 17:if(136!==e)break;r.isBook=n.bool();continue;case 18:if(144!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!h(e.link)&&Boolean(e.link),name:!!h(e.name)&&Boolean(e.name),description:!!h(e.description)&&Boolean(e.description),popularity:!!h(e.popularity)&&Boolean(e.popularity),publisher:!!h(e.publisher)&&Boolean(e.publisher),language:!!h(e.language)&&Boolean(e.language),isExplicit:!!h(e.isExplicit)&&Boolean(e.isExplicit),covers:!!h(e.covers)&&Boolean(e.covers),numEpisodes:!!h(e.numEpisodes)&&Boolean(e.numEpisodes),consumptionOrder:!!h(e.consumptionOrder)&&Boolean(e.consumptionOrder),mediaTypeEnum:!!h(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),copyrights:!!h(e.copyrights)&&Boolean(e.copyrights),trailerUri:!!h(e.trailerUri)&&Boolean(e.trailerUri),isMusicAndTalk:!!h(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>r(e))):[],isBook:!!h(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!h(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.description&&(t.description=e.description),!0===e.popularity&&(t.popularity=e.popularity),!0===e.publisher&&(t.publisher=e.publisher),!0===e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.covers&&(t.covers=e.covers),!0===e.numEpisodes&&(t.numEpisodes=e.numEpisodes),!0===e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>a(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??!1,t.name=e.name??!1,t.description=e.description??!1,t.popularity=e.popularity??!1,t.publisher=e.publisher??!1,t.language=e.language??!1,t.isExplicit=e.isExplicit??!1,t.covers=e.covers??!1,t.numEpisodes=e.numEpisodes??!1,t.consumptionOrder=e.consumptionOrder??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.copyrights=e.copyrights??!1,t.trailerUri=e.trailerUri??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};function h(e){return null!=e}const f={encode:(e,t=o.Writer.create())=>(void 0!==e.showPolicy&&p.encode(e.showPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.collectionPolicy&&c.encode(e.collectionPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.playedStatePolicy&&u.encode(e.playedStatePolicy,t.uint32(26).fork()).ldelim(),void 0!==e.syncPolicy&&l.encode(e.syncPolicy,t.uint32(34).fork()).ldelim(),void 0!==e.episodePolicy&&s.encode(e.episodePolicy,t.uint32(42).fork()).ldelim(),""!==e.sort&&t.uint32(50).string(e.sort),""!==e.filter&&t.uint32(58).string(e.filter),!0===e.group&&t.uint32(64).bool(e.group),0!==e.start&&t.uint32(72).uint32(e.start),0!==e.length&&t.uint32(80).uint32(e.length),0!==e.updateThrottling&&t.uint32(88).uint32(e.updateThrottling),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={showPolicy:void 0,collectionPolicy:void 0,playedStatePolicy:void 0,syncPolicy:void 0,episodePolicy:void 0,sort:"",filter:"",group:!1,start:0,length:0,updateThrottling:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showPolicy=p.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.collectionPolicy=c.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.playedStatePolicy=u.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.syncPolicy=l.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.episodePolicy=s.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.sort=n.string();continue;case 7:if(58!==e)break;r.filter=n.string();continue;case 8:if(64!==e)break;r.group=n.bool();continue;case 9:if(72!==e)break;r.start=n.uint32();continue;case 10:if(80!==e)break;r.length=n.uint32();continue;case 11:if(88!==e)break;r.updateThrottling=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showPolicy:m(e.showPolicy)?p.fromJSON(e.showPolicy):void 0,collectionPolicy:m(e.collectionPolicy)?c.fromJSON(e.collectionPolicy):void 0,playedStatePolicy:m(e.playedStatePolicy)?u.fromJSON(e.playedStatePolicy):void 0,syncPolicy:m(e.syncPolicy)?l.fromJSON(e.syncPolicy):void 0,episodePolicy:m(e.episodePolicy)?s.fromJSON(e.episodePolicy):void 0,sort:m(e.sort)?String(e.sort):"",filter:m(e.filter)?String(e.filter):"",group:!!m(e.group)&&Boolean(e.group),start:m(e.start)?Number(e.start):0,length:m(e.length)?Number(e.length):0,updateThrottling:m(e.updateThrottling)?Number(e.updateThrottling):0}),toJSON(e){const t={};return void 0!==e.showPolicy&&(t.showPolicy=p.toJSON(e.showPolicy)),void 0!==e.collectionPolicy&&(t.collectionPolicy=c.toJSON(e.collectionPolicy)),void 0!==e.playedStatePolicy&&(t.playedStatePolicy=u.toJSON(e.playedStatePolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=l.toJSON(e.syncPolicy)),void 0!==e.episodePolicy&&(t.episodePolicy=s.toJSON(e.episodePolicy)),""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),!0===e.group&&(t.group=e.group),0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={showPolicy:void 0,collectionPolicy:void 0,playedStatePolicy:void 0,syncPolicy:void 0,episodePolicy:void 0,sort:"",filter:"",group:!1,start:0,length:0,updateThrottling:0};return t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?p.fromPartial(e.showPolicy):void 0,t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?c.fromPartial(e.collectionPolicy):void 0,t.playedStatePolicy=void 0!==e.playedStatePolicy&&null!==e.playedStatePolicy?u.fromPartial(e.playedStatePolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?l.fromPartial(e.syncPolicy):void 0,t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?s.fromPartial(e.episodePolicy):void 0,t.sort=e.sort??"",t.filter=e.filter??"",t.group=e.group??!1,t.start=e.start??0,t.length=e.length??0,t.updateThrottling=e.updateThrottling??0,t}};function m(e){return null!=e}const _={encode:(e,t=o.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isNew&&t.uint32(16).bool(e.isNew),!0===e.isInListenLater&&t.uint32(24).bool(e.isInListenLater),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isNew:!1,isInListenLater:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isNew=n.bool();continue;case 3:if(24!==e)break;r.isInListenLater=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!g(e.isFollowingShow)&&Boolean(e.isFollowingShow),isNew:!!g(e.isNew)&&Boolean(e.isNew),isInListenLater:!!g(e.isInListenLater)&&Boolean(e.isInListenLater)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isNew&&(t.isNew=e.isNew),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isNew:!1,isInListenLater:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isNew=e.isNew??!1,t.isInListenLater=e.isInListenLater??!1,t}};function g(e){return null!=e}var E=n(87252);function v(){return{extensionKind:0,data:new Uint8Array(0)}}const y={encode:(e,t=o.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=v();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:T(e.extensionKind)?r(e.extensionKind):0,data:T(e.data)?S(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=a(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(b.Buffer)return b.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),b.btoa(t.join(""))}}(e.data)),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t=v();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},b=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function S(e){if(b.Buffer)return Uint8Array.from(b.Buffer.from(e,"base64"));{const t=b.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function T(e){return null!=e}const A={encode:(e,t=o.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:I(e.standardLink)?String(e.standardLink):"",smallLink:I(e.smallLink)?String(e.smallLink):"",largeLink:I(e.largeLink)?String(e.largeLink):"",xlargeLink:I(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function I(e){return null!=e}var O,C;function R(e){switch(e){case 0:case"UNKNOWN":return O.UNKNOWN;case 1:case"FULL":return O.FULL;case 2:case"TRAILER":return O.TRAILER;case 3:case"BONUS":return O.BONUS;default:return O.UNRECOGNIZED}}function N(e){switch(e){case 0:case"VODCAST":return C.VODCAST;case 1:case"AUDIO":return C.AUDIO;case 2:case"VIDEO":return C.VIDEO;default:return C.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.FULL=1]="FULL",e[e.TRAILER=2]="TRAILER",e[e.BONUS=3]="BONUS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(O||(O={})),function(e){e[e.VODCAST=0]="VODCAST",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(C||(C={}));const P={encode:(e,t=o.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.publisher&&t.uint32(26).string(e.publisher),void 0!==e.covers&&A.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={link:"",name:"",publisher:"",covers:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.publisher=n.string();continue;case 4:if(34!==e)break;r.covers=A.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:w(e.link)?String(e.link):"",name:w(e.name)?String(e.name):"",publisher:w(e.publisher)?String(e.publisher):"",covers:w(e.covers)?A.fromJSON(e.covers):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.publisher&&(t.publisher=e.publisher),void 0!==e.covers&&(t.covers=A.toJSON(e.covers)),t},create:e=>P.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",publisher:"",covers:void 0};return t.link=e.link??"",t.name=e.name??"",t.publisher=e.publisher??"",t.covers=void 0!==e.covers&&null!==e.covers?A.fromPartial(e.covers):void 0,t}};function L(){return{show:void 0,link:"",name:"",length:0,covers:void 0,manifestId:"",description:"",publishDate:BigInt("0"),freezeFrames:void 0,language:"",available:!1,mediaTypeEnum:0,number:0,backgroundable:!1,previewManifestId:"",isExplicit:!1,previewId:"",episodeType:0,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1}}const k={encode(e,t=o.Writer.create()){void 0!==e.show&&P.encode(e.show,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),0!==e.length&&t.uint32(32).uint32(e.length),void 0!==e.covers&&A.encode(e.covers,t.uint32(42).fork()).ldelim(),""!==e.manifestId&&t.uint32(50).string(e.manifestId),""!==e.description&&t.uint32(58).string(e.description),e.publishDate!==BigInt("0")&&t.uint32(64).int64(e.publishDate.toString()),void 0!==e.freezeFrames&&A.encode(e.freezeFrames,t.uint32(74).fork()).ldelim(),""!==e.language&&t.uint32(82).string(e.language),!0===e.available&&t.uint32(88).bool(e.available),0!==e.mediaTypeEnum&&t.uint32(96).int32(e.mediaTypeEnum),0!==e.number&&t.uint32(104).int32(e.number),!0===e.backgroundable&&t.uint32(112).bool(e.backgroundable),""!==e.previewManifestId&&t.uint32(122).string(e.previewManifestId),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),""!==e.previewId&&t.uint32(138).string(e.previewId),0!==e.episodeType&&t.uint32(144).int32(e.episodeType),!0===e.isMusicAndTalk&&t.uint32(152).bool(e.isMusicAndTalk);for(const n of e.extension)y.encode(n,t.uint32(178).fork()).ldelim();return!0===e.is19PlusOnly&&t.uint32(184).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(192).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(200).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(208).bool(e.isCurated),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=L();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.show=P.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(42!==e)break;r.covers=A.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.manifestId=n.string();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(64!==e)break;r.publishDate=(a=n.int64(),BigInt(a.toString()));continue;case 9:if(74!==e)break;r.freezeFrames=A.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.language=n.string();continue;case 11:if(88!==e)break;r.available=n.bool();continue;case 12:if(96!==e)break;r.mediaTypeEnum=n.int32();continue;case 13:if(104!==e)break;r.number=n.int32();continue;case 14:if(112!==e)break;r.backgroundable=n.bool();continue;case 15:if(122!==e)break;r.previewManifestId=n.string();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(138!==e)break;r.previewId=n.string();continue;case 18:if(144!==e)break;r.episodeType=n.int32();continue;case 19:if(152!==e)break;r.isMusicAndTalk=n.bool();continue;case 22:if(178!==e)break;r.extension.push(y.decode(n,n.uint32()));continue;case 23:if(184!==e)break;r.is19PlusOnly=n.bool();continue;case 24:if(192!==e)break;r.isBookChapter=n.bool();continue;case 25:if(200!==e)break;r.isPodcastShort=n.bool();continue;case 26:if(208!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({show:w(e.show)?P.fromJSON(e.show):void 0,link:w(e.link)?String(e.link):"",name:w(e.name)?String(e.name):"",length:w(e.length)?Number(e.length):0,covers:w(e.covers)?A.fromJSON(e.covers):void 0,manifestId:w(e.manifestId)?String(e.manifestId):"",description:w(e.description)?String(e.description):"",publishDate:w(e.publishDate)?BigInt(e.publishDate):BigInt("0"),freezeFrames:w(e.freezeFrames)?A.fromJSON(e.freezeFrames):void 0,language:w(e.language)?String(e.language):"",available:!!w(e.available)&&Boolean(e.available),mediaTypeEnum:w(e.mediaTypeEnum)?N(e.mediaTypeEnum):0,number:w(e.number)?Number(e.number):0,backgroundable:!!w(e.backgroundable)&&Boolean(e.backgroundable),previewManifestId:w(e.previewManifestId)?String(e.previewManifestId):"",isExplicit:!!w(e.isExplicit)&&Boolean(e.isExplicit),previewId:w(e.previewId)?String(e.previewId):"",episodeType:w(e.episodeType)?R(e.episodeType):0,isMusicAndTalk:!!w(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>y.fromJSON(e))):[],is19PlusOnly:!!w(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!w(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!w(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!w(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return void 0!==e.show&&(t.show=P.toJSON(e.show)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.covers&&(t.covers=A.toJSON(e.covers)),""!==e.manifestId&&(t.manifestId=e.manifestId),""!==e.description&&(t.description=e.description),e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),void 0!==e.freezeFrames&&(t.freezeFrames=A.toJSON(e.freezeFrames)),""!==e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=function(e){switch(e){case C.VODCAST:return"VODCAST";case C.AUDIO:return"AUDIO";case C.VIDEO:return"VIDEO";case C.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.mediaTypeEnum)),0!==e.number&&(t.number=Math.round(e.number)),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),""!==e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),0!==e.episodeType&&(t.episodeType=function(e){switch(e){case O.UNKNOWN:return"UNKNOWN";case O.FULL:return"FULL";case O.TRAILER:return"TRAILER";case O.BONUS:return"BONUS";case O.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.episodeType)),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>y.toJSON(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t=L();return t.show=void 0!==e.show&&null!==e.show?P.fromPartial(e.show):void 0,t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.covers=void 0!==e.covers&&null!==e.covers?A.fromPartial(e.covers):void 0,t.manifestId=e.manifestId??"",t.description=e.description??"",t.publishDate=e.publishDate??BigInt("0"),t.freezeFrames=void 0!==e.freezeFrames&&null!==e.freezeFrames?A.fromPartial(e.freezeFrames):void 0,t.language=e.language??"",t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??0,t.number=e.number??0,t.backgroundable=e.backgroundable??!1,t.previewManifestId=e.previewManifestId??"",t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.episodeType=e.episodeType??0,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>y.fromPartial(e)))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function w(e){return null!=e}var D;function M(e){switch(e){case 0:case"UNKNOWN":return D.UNKNOWN;case 1:case"NO_RESTRICTION":return D.NO_RESTRICTION;case 2:case"EXPLICIT_CONTENT":return D.EXPLICIT_CONTENT;case 3:case"AGE_RESTRICTED":return D.AGE_RESTRICTED;case 4:case"NOT_IN_CATALOGUE":return D.NOT_IN_CATALOGUE;case 5:case"NOT_AVAILABLE_OFFLINE":return D.NOT_AVAILABLE_OFFLINE;default:return D.UNRECOGNIZED}}o.util.Long!==E&&(o.util.Long=E,o.configure()),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NO_RESTRICTION=1]="NO_RESTRICTION",e[e.EXPLICIT_CONTENT=2]="EXPLICIT_CONTENT",e[e.AGE_RESTRICTED=3]="AGE_RESTRICTED",e[e.NOT_IN_CATALOGUE=4]="NOT_IN_CATALOGUE",e[e.NOT_AVAILABLE_OFFLINE=5]="NOT_AVAILABLE_OFFLINE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(D||(D={}));const x={encode:(e,t=o.Writer.create())=>(0!==e.timeLeft&&t.uint32(8).uint32(e.timeLeft),!0===e.isPlayable&&t.uint32(16).bool(e.isPlayable),!0===e.isPlayed&&t.uint32(24).bool(e.isPlayed),0!==e.lastPlayedAt&&t.uint32(32).uint32(e.lastPlayedAt),0!==e.playabilityRestriction&&t.uint32(40).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.uint32();continue;case 2:if(16!==e)break;r.isPlayable=n.bool();continue;case 3:if(24!==e)break;r.isPlayed=n.bool();continue;case 4:if(32!==e)break;r.lastPlayedAt=n.uint32();continue;case 5:if(40!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:U(e.timeLeft)?Number(e.timeLeft):0,isPlayable:!!U(e.isPlayable)&&Boolean(e.isPlayable),isPlayed:!!U(e.isPlayed)&&Boolean(e.isPlayed),lastPlayedAt:U(e.lastPlayedAt)?Number(e.lastPlayedAt):0,playabilityRestriction:U(e.playabilityRestriction)?M(e.playabilityRestriction):0}),toJSON(e){const t={};return 0!==e.timeLeft&&(t.timeLeft=Math.round(e.timeLeft)),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),0!==e.lastPlayedAt&&(t.lastPlayedAt=Math.round(e.lastPlayedAt)),0!==e.playabilityRestriction&&(t.playabilityRestriction=function(e){switch(e){case D.UNKNOWN:return"UNKNOWN";case D.NO_RESTRICTION:return"NO_RESTRICTION";case D.EXPLICIT_CONTENT:return"EXPLICIT_CONTENT";case D.AGE_RESTRICTED:return"AGE_RESTRICTED";case D.NOT_IN_CATALOGUE:return"NOT_IN_CATALOGUE";case D.NOT_AVAILABLE_OFFLINE:return"NOT_AVAILABLE_OFFLINE";case D.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.playabilityRestriction)),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};return t.timeLeft=e.timeLeft??0,t.isPlayable=e.isPlayable??!1,t.isPlayed=e.isPlayed??!1,t.lastPlayedAt=e.lastPlayedAt??0,t.playabilityRestriction=e.playabilityRestriction??0,t}};function U(e){return null!=e}const V={encode:(e,t=o.Writer.create())=>(""!==e.offlineState&&t.uint32(10).string(e.offlineState),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={offlineState:"",syncProgress:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offlineState=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:F(e.offlineState)?String(e.offlineState):"",syncProgress:F(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offlineState&&(t.offlineState=e.offlineState),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t={offlineState:"",syncProgress:0};return t.offlineState=e.offlineState??"",t.syncProgress=e.syncProgress??0,t}};function F(e){return null!=e}const B={encode:(e,t=o.Writer.create())=>(""!==e.header&&t.uint32(10).string(e.header),void 0!==e.episodeMetadata&&k.encode(e.episodeMetadata,t.uint32(18).fork()).ldelim(),void 0!==e.episodeCollectionState&&_.encode(e.episodeCollectionState,t.uint32(26).fork()).ldelim(),void 0!==e.episodeOfflineState&&V.encode(e.episodeOfflineState,t.uint32(34).fork()).ldelim(),void 0!==e.episodePlayedState&&x.encode(e.episodePlayedState,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={header:"",episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayedState:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.header=n.string();continue;case 2:if(18!==e)break;r.episodeMetadata=k.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episodeCollectionState=_.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodeOfflineState=V.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.episodePlayedState=x.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({header:G(e.header)?String(e.header):"",episodeMetadata:G(e.episodeMetadata)?k.fromJSON(e.episodeMetadata):void 0,episodeCollectionState:G(e.episodeCollectionState)?_.fromJSON(e.episodeCollectionState):void 0,episodeOfflineState:G(e.episodeOfflineState)?V.fromJSON(e.episodeOfflineState):void 0,episodePlayedState:G(e.episodePlayedState)?x.fromJSON(e.episodePlayedState):void 0}),toJSON(e){const t={};return""!==e.header&&(t.header=e.header),void 0!==e.episodeMetadata&&(t.episodeMetadata=k.toJSON(e.episodeMetadata)),void 0!==e.episodeCollectionState&&(t.episodeCollectionState=_.toJSON(e.episodeCollectionState)),void 0!==e.episodeOfflineState&&(t.episodeOfflineState=V.toJSON(e.episodeOfflineState)),void 0!==e.episodePlayedState&&(t.episodePlayedState=x.toJSON(e.episodePlayedState)),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={header:"",episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayedState:void 0};return t.header=e.header??"",t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?k.fromPartial(e.episodeMetadata):void 0,t.episodeCollectionState=void 0!==e.episodeCollectionState&&null!==e.episodeCollectionState?_.fromPartial(e.episodeCollectionState):void 0,t.episodeOfflineState=void 0!==e.episodeOfflineState&&null!==e.episodeOfflineState?V.fromPartial(e.episodeOfflineState):void 0,t.episodePlayedState=void 0!==e.episodePlayedState&&null!==e.episodePlayedState?x.fromPartial(e.episodePlayedState):void 0,t}};const H={encode(e,t=o.Writer.create()){0!==e.unfilteredLength&&t.uint32(8).uint32(e.unfilteredLength),0!==e.unrangedLength&&t.uint32(16).uint32(e.unrangedLength);for(const n of e.episode)B.encode(n,t.uint32(26).fork()).ldelim();return""!==e.offlineAvailability&&t.uint32(42).string(e.offlineAvailability),0!==e.offlineProgress&&t.uint32(48).uint32(e.offlineProgress),0!==e.statusCode&&t.uint32(784).uint32(e.statusCode),""!==e.error&&t.uint32(794).string(e.error),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={unfilteredLength:0,unrangedLength:0,episode:[],offlineAvailability:"",offlineProgress:0,statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.unfilteredLength=n.uint32();continue;case 2:if(16!==e)break;r.unrangedLength=n.uint32();continue;case 3:if(26!==e)break;r.episode.push(B.decode(n,n.uint32()));continue;case 5:if(42!==e)break;r.offlineAvailability=n.string();continue;case 6:if(48!==e)break;r.offlineProgress=n.uint32();continue;case 98:if(784!==e)break;r.statusCode=n.uint32();continue;case 99:if(794!==e)break;r.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({unfilteredLength:G(e.unfilteredLength)?Number(e.unfilteredLength):0,unrangedLength:G(e.unrangedLength)?Number(e.unrangedLength):0,episode:Array.isArray(e?.episode)?e.episode.map((e=>B.fromJSON(e))):[],offlineAvailability:G(e.offlineAvailability)?String(e.offlineAvailability):"",offlineProgress:G(e.offlineProgress)?Number(e.offlineProgress):0,statusCode:G(e.statusCode)?Number(e.statusCode):0,error:G(e.error)?String(e.error):""}),toJSON(e){const t={};return 0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.unrangedLength&&(t.unrangedLength=Math.round(e.unrangedLength)),e.episode?.length&&(t.episode=e.episode.map((e=>B.toJSON(e)))),""!==e.offlineAvailability&&(t.offlineAvailability=e.offlineAvailability),0!==e.offlineProgress&&(t.offlineProgress=Math.round(e.offlineProgress)),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={unfilteredLength:0,unrangedLength:0,episode:[],offlineAvailability:"",offlineProgress:0,statusCode:0,error:""};return t.unfilteredLength=e.unfilteredLength??0,t.unrangedLength=e.unrangedLength??0,t.episode=e.episode?.map((e=>B.fromPartial(e)))||[],t.offlineAvailability=e.offlineAvailability??"",t.offlineProgress=e.offlineProgress??0,t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function G(e){return null!=e}const W={encode:(e,t=o.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.uid&&t.uint32(18).string(e.uid),Object.entries(e.metadata).forEach((([e,n])=>{j.encode({key:e,value:n},t.uint32(26).fork()).ldelim()})),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={uri:"",uid:"",metadata:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.uid=n.string();continue;case 3:if(26!==e)break;const t=j.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{uri:Y(e.uri)?String(e.uri):"",uid:Y(e.uid)?String(e.uid):"",metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(""!==e.uri&&(t.uri=e.uri),""!==e.uid&&(t.uid=e.uid),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={uri:"",uid:"",metadata:{}};return t.uri=e.uri??"",t.uid=e.uid??"",t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const j={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Y(e.key)?String(e.key):"",value:Y(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>j.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function Y(e){return null!=e}const z={encode(e,t=o.Writer.create()){for(const n of e.tracks)W.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{K.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.pageUrl&&t.uint32(26).string(e.pageUrl),""!==e.nextPageUrl&&t.uint32(34).string(e.nextPageUrl),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tracks.push(W.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=K.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;r.pageUrl=n.string();continue;case 4:if(34!==e)break;r.nextPageUrl=n.string();continue;case 5:if(40!==e)break;r.isLoading=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{tracks:Array.isArray(e?.tracks)?e.tracks.map((e=>W.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),pageUrl:J(e.pageUrl)?String(e.pageUrl):"",nextPageUrl:J(e.nextPageUrl)?String(e.nextPageUrl):"",isLoading:!!J(e.isLoading)&&Boolean(e.isLoading)};var t},toJSON(e){const t={};if(e.tracks?.length&&(t.tracks=e.tracks.map((e=>W.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),""!==e.nextPageUrl&&(t.nextPageUrl=e.nextPageUrl),!0===e.isLoading&&(t.isLoading=e.isLoading),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};return t.tracks=e.tracks?.map((e=>W.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.pageUrl=e.pageUrl??"",t.nextPageUrl=e.nextPageUrl??"",t.isLoading=e.isLoading??!1,t}};const K={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:J(e.key)?String(e.key):"",value:J(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function J(e){return null!=e}const q={encode:(e,t=o.Writer.create())=>(Object.entries(e.values).forEach((([e,n])=>{X.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={values:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=X.decode(n,n.uint32());void 0!==t.value&&(r.values[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({values:te(e.values)?Object.entries(e.values).reduce(((e,[t,n])=>(e[t]=$.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.values){const n=Object.entries(e.values);n.length>0&&(t.values={},n.forEach((([e,n])=>{t.values[e]=$.toJSON(n)})))}return t},create:e=>q.fromPartial(e??{}),fromPartial(e){const t={values:{}};return t.values=Object.entries(e.values??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=$.fromPartial(n)),e)),{}),t}};const X={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&$.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=$.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ne(e.key)?String(e.key):"",value:ne(e.value)?$.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=$.toJSON(e.value)),t},create:e=>X.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?$.fromPartial(e.value):void 0,t}};const $={encode(e,t=o.Writer.create()){for(const n of e.reasons)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={reasons:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.reasons.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reasons:Array.isArray(e?.reasons)?e.reasons.map((e=>String(e))):[]}),toJSON(e){const t={};return e.reasons?.length&&(t.reasons=e.reasons),t},create:e=>$.fromPartial(e??{}),fromPartial(e){const t={reasons:[]};return t.reasons=e.reasons?.map((e=>e))||[],t}};const Z={encode(e,t=o.Writer.create()){for(const n of e.disallowPausingReasons)t.uint32(10).string(n);for(const n of e.disallowResumingReasons)t.uint32(18).string(n);for(const n of e.disallowSeekingReasons)t.uint32(26).string(n);for(const n of e.disallowPeekingPrevReasons)t.uint32(34).string(n);for(const n of e.disallowPeekingNextReasons)t.uint32(42).string(n);for(const n of e.disallowSkippingPrevReasons)t.uint32(50).string(n);for(const n of e.disallowSkippingNextReasons)t.uint32(58).string(n);for(const n of e.disallowTogglingRepeatContextReasons)t.uint32(66).string(n);for(const n of e.disallowTogglingRepeatTrackReasons)t.uint32(74).string(n);for(const n of e.disallowTogglingShuffleReasons)t.uint32(82).string(n);for(const n of e.disallowSetQueueReasons)t.uint32(90).string(n);for(const n of e.disallowInterruptingPlaybackReasons)t.uint32(98).string(n);for(const n of e.disallowTransferringPlaybackReasons)t.uint32(106).string(n);for(const n of e.disallowRemoteControlReasons)t.uint32(114).string(n);for(const n of e.disallowInsertingIntoNextTracksReasons)t.uint32(122).string(n);for(const n of e.disallowInsertingIntoContextTracksReasons)t.uint32(130).string(n);for(const n of e.disallowReorderingInNextTracksReasons)t.uint32(138).string(n);for(const n of e.disallowReorderingInContextTracksReasons)t.uint32(146).string(n);for(const n of e.disallowRemovingFromNextTracksReasons)t.uint32(154).string(n);for(const n of e.disallowRemovingFromContextTracksReasons)t.uint32(162).string(n);for(const n of e.disallowUpdatingContextReasons)t.uint32(170).string(n);for(const n of e.disallowAddToQueueReasons)t.uint32(178).string(n);for(const n of e.disallowSettingPlaybackSpeedReasons)t.uint32(186).string(n);return Object.entries(e.disallowSettingModes).forEach((([e,n])=>{Q.encode({key:e,value:n},t.uint32(202).fork()).ldelim()})),Object.entries(e.disallowSignals).forEach((([e,n])=>{ee.encode({key:e,value:n},t.uint32(210).fork()).ldelim()})),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.disallowPausingReasons.push(n.string());continue;case 2:if(18!==e)break;r.disallowResumingReasons.push(n.string());continue;case 3:if(26!==e)break;r.disallowSeekingReasons.push(n.string());continue;case 4:if(34!==e)break;r.disallowPeekingPrevReasons.push(n.string());continue;case 5:if(42!==e)break;r.disallowPeekingNextReasons.push(n.string());continue;case 6:if(50!==e)break;r.disallowSkippingPrevReasons.push(n.string());continue;case 7:if(58!==e)break;r.disallowSkippingNextReasons.push(n.string());continue;case 8:if(66!==e)break;r.disallowTogglingRepeatContextReasons.push(n.string());continue;case 9:if(74!==e)break;r.disallowTogglingRepeatTrackReasons.push(n.string());continue;case 10:if(82!==e)break;r.disallowTogglingShuffleReasons.push(n.string());continue;case 11:if(90!==e)break;r.disallowSetQueueReasons.push(n.string());continue;case 12:if(98!==e)break;r.disallowInterruptingPlaybackReasons.push(n.string());continue;case 13:if(106!==e)break;r.disallowTransferringPlaybackReasons.push(n.string());continue;case 14:if(114!==e)break;r.disallowRemoteControlReasons.push(n.string());continue;case 15:if(122!==e)break;r.disallowInsertingIntoNextTracksReasons.push(n.string());continue;case 16:if(130!==e)break;r.disallowInsertingIntoContextTracksReasons.push(n.string());continue;case 17:if(138!==e)break;r.disallowReorderingInNextTracksReasons.push(n.string());continue;case 18:if(146!==e)break;r.disallowReorderingInContextTracksReasons.push(n.string());continue;case 19:if(154!==e)break;r.disallowRemovingFromNextTracksReasons.push(n.string());continue;case 20:if(162!==e)break;r.disallowRemovingFromContextTracksReasons.push(n.string());continue;case 21:if(170!==e)break;r.disallowUpdatingContextReasons.push(n.string());continue;case 22:if(178!==e)break;r.disallowAddToQueueReasons.push(n.string());continue;case 23:if(186!==e)break;r.disallowSettingPlaybackSpeedReasons.push(n.string());continue;case 25:if(202!==e)break;const t=Q.decode(n,n.uint32());void 0!==t.value&&(r.disallowSettingModes[t.key]=t.value);continue;case 26:if(210!==e)break;const i=ee.decode(n,n.uint32());void 0!==i.value&&(r.disallowSignals[i.key]=i.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({disallowPausingReasons:Array.isArray(e?.disallowPausingReasons)?e.disallowPausingReasons.map((e=>String(e))):[],disallowResumingReasons:Array.isArray(e?.disallowResumingReasons)?e.disallowResumingReasons.map((e=>String(e))):[],disallowSeekingReasons:Array.isArray(e?.disallowSeekingReasons)?e.disallowSeekingReasons.map((e=>String(e))):[],disallowPeekingPrevReasons:Array.isArray(e?.disallowPeekingPrevReasons)?e.disallowPeekingPrevReasons.map((e=>String(e))):[],disallowPeekingNextReasons:Array.isArray(e?.disallowPeekingNextReasons)?e.disallowPeekingNextReasons.map((e=>String(e))):[],disallowSkippingPrevReasons:Array.isArray(e?.disallowSkippingPrevReasons)?e.disallowSkippingPrevReasons.map((e=>String(e))):[],disallowSkippingNextReasons:Array.isArray(e?.disallowSkippingNextReasons)?e.disallowSkippingNextReasons.map((e=>String(e))):[],disallowTogglingRepeatContextReasons:Array.isArray(e?.disallowTogglingRepeatContextReasons)?e.disallowTogglingRepeatContextReasons.map((e=>String(e))):[],disallowTogglingRepeatTrackReasons:Array.isArray(e?.disallowTogglingRepeatTrackReasons)?e.disallowTogglingRepeatTrackReasons.map((e=>String(e))):[],disallowTogglingShuffleReasons:Array.isArray(e?.disallowTogglingShuffleReasons)?e.disallowTogglingShuffleReasons.map((e=>String(e))):[],disallowSetQueueReasons:Array.isArray(e?.disallowSetQueueReasons)?e.disallowSetQueueReasons.map((e=>String(e))):[],disallowInterruptingPlaybackReasons:Array.isArray(e?.disallowInterruptingPlaybackReasons)?e.disallowInterruptingPlaybackReasons.map((e=>String(e))):[],disallowTransferringPlaybackReasons:Array.isArray(e?.disallowTransferringPlaybackReasons)?e.disallowTransferringPlaybackReasons.map((e=>String(e))):[],disallowRemoteControlReasons:Array.isArray(e?.disallowRemoteControlReasons)?e.disallowRemoteControlReasons.map((e=>String(e))):[],disallowInsertingIntoNextTracksReasons:Array.isArray(e?.disallowInsertingIntoNextTracksReasons)?e.disallowInsertingIntoNextTracksReasons.map((e=>String(e))):[],disallowInsertingIntoContextTracksReasons:Array.isArray(e?.disallowInsertingIntoContextTracksReasons)?e.disallowInsertingIntoContextTracksReasons.map((e=>String(e))):[],disallowReorderingInNextTracksReasons:Array.isArray(e?.disallowReorderingInNextTracksReasons)?e.disallowReorderingInNextTracksReasons.map((e=>String(e))):[],disallowReorderingInContextTracksReasons:Array.isArray(e?.disallowReorderingInContextTracksReasons)?e.disallowReorderingInContextTracksReasons.map((e=>String(e))):[],disallowRemovingFromNextTracksReasons:Array.isArray(e?.disallowRemovingFromNextTracksReasons)?e.disallowRemovingFromNextTracksReasons.map((e=>String(e))):[],disallowRemovingFromContextTracksReasons:Array.isArray(e?.disallowRemovingFromContextTracksReasons)?e.disallowRemovingFromContextTracksReasons.map((e=>String(e))):[],disallowUpdatingContextReasons:Array.isArray(e?.disallowUpdatingContextReasons)?e.disallowUpdatingContextReasons.map((e=>String(e))):[],disallowAddToQueueReasons:Array.isArray(e?.disallowAddToQueueReasons)?e.disallowAddToQueueReasons.map((e=>String(e))):[],disallowSettingPlaybackSpeedReasons:Array.isArray(e?.disallowSettingPlaybackSpeedReasons)?e.disallowSettingPlaybackSpeedReasons.map((e=>String(e))):[],disallowSettingModes:te(e.disallow_setting_modes)?Object.entries(e.disallow_setting_modes).reduce(((e,[t,n])=>(e[t]=q.fromJSON(n),e)),{}):{},disallowSignals:te(e.disallow_signals)?Object.entries(e.disallow_signals).reduce(((e,[t,n])=>(e[t]=$.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.disallowPausingReasons?.length&&(t.disallowPausingReasons=e.disallowPausingReasons),e.disallowResumingReasons?.length&&(t.disallowResumingReasons=e.disallowResumingReasons),e.disallowSeekingReasons?.length&&(t.disallowSeekingReasons=e.disallowSeekingReasons),e.disallowPeekingPrevReasons?.length&&(t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons),e.disallowPeekingNextReasons?.length&&(t.disallowPeekingNextReasons=e.disallowPeekingNextReasons),e.disallowSkippingPrevReasons?.length&&(t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons),e.disallowSkippingNextReasons?.length&&(t.disallowSkippingNextReasons=e.disallowSkippingNextReasons),e.disallowTogglingRepeatContextReasons?.length&&(t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons),e.disallowTogglingRepeatTrackReasons?.length&&(t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons),e.disallowTogglingShuffleReasons?.length&&(t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons),e.disallowSetQueueReasons?.length&&(t.disallowSetQueueReasons=e.disallowSetQueueReasons),e.disallowInterruptingPlaybackReasons?.length&&(t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons),e.disallowTransferringPlaybackReasons?.length&&(t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons),e.disallowRemoteControlReasons?.length&&(t.disallowRemoteControlReasons=e.disallowRemoteControlReasons),e.disallowInsertingIntoNextTracksReasons?.length&&(t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons),e.disallowInsertingIntoContextTracksReasons?.length&&(t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons),e.disallowReorderingInNextTracksReasons?.length&&(t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons),e.disallowReorderingInContextTracksReasons?.length&&(t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons),e.disallowRemovingFromNextTracksReasons?.length&&(t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons),e.disallowRemovingFromContextTracksReasons?.length&&(t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons),e.disallowUpdatingContextReasons?.length&&(t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons),e.disallowAddToQueueReasons?.length&&(t.disallowAddToQueueReasons=e.disallowAddToQueueReasons),e.disallowSettingPlaybackSpeedReasons?.length&&(t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons),e.disallowSettingModes){const n=Object.entries(e.disallowSettingModes);n.length>0&&(t.disallow_setting_modes={},n.forEach((([e,n])=>{t.disallow_setting_modes[e]=q.toJSON(n)})))}if(e.disallowSignals){const n=Object.entries(e.disallowSignals);n.length>0&&(t.disallow_signals={},n.forEach((([e,n])=>{t.disallow_signals[e]=$.toJSON(n)})))}return t},create:e=>Z.fromPartial(e??{}),fromPartial(e){const t={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};return t.disallowPausingReasons=e.disallowPausingReasons?.map((e=>e))||[],t.disallowResumingReasons=e.disallowResumingReasons?.map((e=>e))||[],t.disallowSeekingReasons=e.disallowSeekingReasons?.map((e=>e))||[],t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons?.map((e=>e))||[],t.disallowPeekingNextReasons=e.disallowPeekingNextReasons?.map((e=>e))||[],t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons?.map((e=>e))||[],t.disallowSkippingNextReasons=e.disallowSkippingNextReasons?.map((e=>e))||[],t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons?.map((e=>e))||[],t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons?.map((e=>e))||[],t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons?.map((e=>e))||[],t.disallowSetQueueReasons=e.disallowSetQueueReasons?.map((e=>e))||[],t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons?.map((e=>e))||[],t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons?.map((e=>e))||[],t.disallowRemoteControlReasons=e.disallowRemoteControlReasons?.map((e=>e))||[],t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons?.map((e=>e))||[],t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons?.map((e=>e))||[],t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons?.map((e=>e))||[],t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons?.map((e=>e))||[],t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons?.map((e=>e))||[],t.disallowAddToQueueReasons=e.disallowAddToQueueReasons?.map((e=>e))||[],t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons?.map((e=>e))||[],t.disallowSettingModes=Object.entries(e.disallowSettingModes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=q.fromPartial(n)),e)),{}),t.disallowSignals=Object.entries(e.disallowSignals??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=$.fromPartial(n)),e)),{}),t}};const Q={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&q.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=q.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ne(e.key)?String(e.key):"",value:ne(e.value)?q.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=q.toJSON(e.value)),t},create:e=>Q.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?q.fromPartial(e.value):void 0,t}};const ee={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&$.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=$.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ne(e.key)?String(e.key):"",value:ne(e.value)?$.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=$.toJSON(e.value)),t},create:e=>ee.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?$.fromPartial(e.value):void 0,t}};function te(e){return"object"==typeof e&&null!==e}function ne(e){return null!=e}const ie={encode(e,t=o.Writer.create()){for(const n of e.pages)z.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{oe.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.uri&&t.uint32(26).string(e.uri),""!==e.url&&t.uint32(34).string(e.url),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),void 0!==e.restrictions&&Z.encode(e.restrictions,t.uint32(50).fork()).ldelim(),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pages.push(z.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=oe.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;r.uri=n.string();continue;case 4:if(34!==e)break;r.url=n.string();continue;case 5:if(40!==e)break;r.isLoading=n.bool();continue;case 6:if(50!==e)break;r.restrictions=Z.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{pages:Array.isArray(e?.pages)?e.pages.map((e=>z.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),uri:re(e.uri)?String(e.uri):"",url:re(e.url)?String(e.url):"",isLoading:!!re(e.isLoading)&&Boolean(e.isLoading),restrictions:re(e.restrictions)?Z.fromJSON(e.restrictions):void 0};var t},toJSON(e){const t={};if(e.pages?.length&&(t.pages=e.pages.map((e=>z.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.uri&&(t.uri=e.uri),""!==e.url&&(t.url=e.url),!0===e.isLoading&&(t.isLoading=e.isLoading),void 0!==e.restrictions&&(t.restrictions=Z.toJSON(e.restrictions)),t},create:e=>ie.fromPartial(e??{}),fromPartial(e){const t={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};return t.pages=e.pages?.map((e=>z.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.uri=e.uri??"",t.url=e.url??"",t.isLoading=e.isLoading??!1,t.restrictions=void 0!==e.restrictions&&null!==e.restrictions?Z.fromPartial(e.restrictions):void 0,t}};const oe={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:re(e.key)?String(e.key):"",value:re(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>oe.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function re(e){return null!=e}function ae(){return{value:BigInt("0")}}const se={encode:(e,t=o.Writer.create())=>(e.value!==BigInt("0")&&t.uint32(8).int64(e.value.toString()),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=ae();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=(a=n.int64(),BigInt(a.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({value:le(e.value)?BigInt(e.value):BigInt("0")}),toJSON(e){const t={};return e.value!==BigInt("0")&&(t.value=e.value.toString()),t},create:e=>se.fromPartial(e??{}),fromPartial(e){const t=ae();return t.value=e.value??BigInt("0"),t}};const ce={encode:(e,t=o.Writer.create())=>(!0===e.value&&t.uint32(8).bool(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={value:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:!!le(e.value)&&Boolean(e.value)}),toJSON(e){const t={};return!0===e.value&&(t.value=e.value),t},create:e=>ce.fromPartial(e??{}),fromPartial(e){const t={value:!1};return t.value=e.value??!1,t}};function le(e){return null!=e}o.util.Long!==E&&(o.util.Long=E,o.configure());const ue={encode(e,t=o.Writer.create()){void 0!==e.commandInitiatedTime&&se.encode(e.commandInitiatedTime,t.uint32(10).fork()).ldelim(),void 0!==e.commandReceivedTime&&se.encode(e.commandReceivedTime,t.uint32(18).fork()).ldelim();for(const n of e.pageInstanceIds)t.uint32(26).string(n);for(const n of e.interactionIds)t.uint32(34).string(n);return""!==e.deviceIdentifier&&t.uint32(42).string(e.deviceIdentifier),void 0!==e.commandId&&t.uint32(50).string(e.commandId),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.commandInitiatedTime=se.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.commandReceivedTime=se.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.pageInstanceIds.push(n.string());continue;case 4:if(34!==e)break;r.interactionIds.push(n.string());continue;case 5:if(42!==e)break;r.deviceIdentifier=n.string();continue;case 6:if(50!==e)break;r.commandId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({commandInitiatedTime:de(e.commandInitiatedTime)?se.fromJSON(e.commandInitiatedTime):void 0,commandReceivedTime:de(e.commandReceivedTime)?se.fromJSON(e.commandReceivedTime):void 0,pageInstanceIds:Array.isArray(e?.pageInstanceIds)?e.pageInstanceIds.map((e=>String(e))):[],interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[],deviceIdentifier:de(e.deviceIdentifier)?String(e.deviceIdentifier):"",commandId:de(e.commandId)?String(e.commandId):void 0}),toJSON(e){const t={};return void 0!==e.commandInitiatedTime&&(t.commandInitiatedTime=se.toJSON(e.commandInitiatedTime)),void 0!==e.commandReceivedTime&&(t.commandReceivedTime=se.toJSON(e.commandReceivedTime)),e.pageInstanceIds?.length&&(t.pageInstanceIds=e.pageInstanceIds),e.interactionIds?.length&&(t.interactionIds=e.interactionIds),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),void 0!==e.commandId&&(t.commandId=e.commandId),t},create:e=>ue.fromPartial(e??{}),fromPartial(e){const t={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};return t.commandInitiatedTime=void 0!==e.commandInitiatedTime&&null!==e.commandInitiatedTime?se.fromPartial(e.commandInitiatedTime):void 0,t.commandReceivedTime=void 0!==e.commandReceivedTime&&null!==e.commandReceivedTime?se.fromPartial(e.commandReceivedTime):void 0,t.pageInstanceIds=e.pageInstanceIds?.map((e=>e))||[],t.interactionIds=e.interactionIds?.map((e=>e))||[],t.deviceIdentifier=e.deviceIdentifier??"",t.commandId=e.commandId??void 0,t}};function de(e){return null!=e}var pe,he,fe;function me(e){switch(e){case 0:case"INTERACTIVE":return pe.INTERACTIVE;case 1:case"REMOTE_TRANSFER":return pe.REMOTE_TRANSFER;case 2:case"LICENSE_CHANGE":return pe.LICENSE_CHANGE;default:return pe.UNRECOGNIZED}}function _e(e){switch(e){case 0:case"REPLACE":return he.REPLACE;case 1:case"ENQUEUE":return he.ENQUEUE;case 2:case"PUSH":return he.PUSH;default:return he.UNRECOGNIZED}}function ge(e){switch(e){case 0:case"IMMEDIATELY":return fe.IMMEDIATELY;case 1:case"ADVANCED_PAST_TRACK":return fe.ADVANCED_PAST_TRACK;case 2:case"ADVANCED_PAST_CONTEXT":return fe.ADVANCED_PAST_CONTEXT;default:return fe.UNRECOGNIZED}}!function(e){e[e.INTERACTIVE=0]="INTERACTIVE",e[e.REMOTE_TRANSFER=1]="REMOTE_TRANSFER",e[e.LICENSE_CHANGE=2]="LICENSE_CHANGE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(pe||(pe={})),function(e){e[e.REPLACE=0]="REPLACE",e[e.ENQUEUE=1]="ENQUEUE",e[e.PUSH=2]="PUSH",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(he||(he={})),function(e){e[e.IMMEDIATELY=0]="IMMEDIATELY",e[e.ADVANCED_PAST_TRACK=1]="ADVANCED_PAST_TRACK",e[e.ADVANCED_PAST_CONTEXT=2]="ADVANCED_PAST_CONTEXT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(fe||(fe={}));const Ee={encode:(e,t=o.Writer.create())=>(0!==e.reason&&t.uint32(8).int32(e.reason),0!==e.operation&&t.uint32(16).int32(e.operation),0!==e.trigger&&t.uint32(24).int32(e.trigger),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={reason:0,operation:0,trigger:0,playbackSpeed:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.reason=n.int32();continue;case 2:if(16!==e)break;r.operation=n.int32();continue;case 3:if(24!==e)break;r.trigger=n.int32();continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reason:ve(e.reason)?me(e.reason):0,operation:ve(e.operation)?_e(e.operation):0,trigger:ve(e.trigger)?ge(e.trigger):0,playbackSpeed:ve(e.playbackSpeed)?Number(e.playbackSpeed):void 0}),toJSON(e){const t={};return 0!==e.reason&&(t.reason=function(e){switch(e){case pe.INTERACTIVE:return"INTERACTIVE";case pe.REMOTE_TRANSFER:return"REMOTE_TRANSFER";case pe.LICENSE_CHANGE:return"LICENSE_CHANGE";case pe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.reason)),0!==e.operation&&(t.operation=function(e){switch(e){case he.REPLACE:return"REPLACE";case he.ENQUEUE:return"ENQUEUE";case he.PUSH:return"PUSH";case he.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.operation)),0!==e.trigger&&(t.trigger=function(e){switch(e){case fe.IMMEDIATELY:return"IMMEDIATELY";case fe.ADVANCED_PAST_TRACK:return"ADVANCED_PAST_TRACK";case fe.ADVANCED_PAST_CONTEXT:return"ADVANCED_PAST_CONTEXT";case fe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.trigger)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),t},create:e=>Ee.fromPartial(e??{}),fromPartial(e){const t={reason:0,operation:0,trigger:0,playbackSpeed:void 0};return t.reason=e.reason??0,t.operation=e.operation??0,t.trigger=e.trigger??0,t.playbackSpeed=e.playbackSpeed??void 0,t}};function ve(e){return null!=e}const ye={encode(e,t=o.Writer.create()){""!==e.featureIdentifier&&t.uint32(10).string(e.featureIdentifier),""!==e.featureVersion&&t.uint32(18).string(e.featureVersion),""!==e.viewUri&&t.uint32(26).string(e.viewUri),""!==e.externalReferrer&&t.uint32(34).string(e.externalReferrer),""!==e.referrerIdentifier&&t.uint32(42).string(e.referrerIdentifier),""!==e.deviceIdentifier&&t.uint32(50).string(e.deviceIdentifier);for(const n of e.featureClasses)t.uint32(58).string(n);return""!==e.restrictionIdentifier&&t.uint32(66).string(e.restrictionIdentifier),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.featureIdentifier=n.string();continue;case 2:if(18!==e)break;r.featureVersion=n.string();continue;case 3:if(26!==e)break;r.viewUri=n.string();continue;case 4:if(34!==e)break;r.externalReferrer=n.string();continue;case 5:if(42!==e)break;r.referrerIdentifier=n.string();continue;case 6:if(50!==e)break;r.deviceIdentifier=n.string();continue;case 7:if(58!==e)break;r.featureClasses.push(n.string());continue;case 8:if(66!==e)break;r.restrictionIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({featureIdentifier:be(e.featureIdentifier)?String(e.featureIdentifier):"",featureVersion:be(e.featureVersion)?String(e.featureVersion):"",viewUri:be(e.viewUri)?String(e.viewUri):"",externalReferrer:be(e.externalReferrer)?String(e.externalReferrer):"",referrerIdentifier:be(e.referrerIdentifier)?String(e.referrerIdentifier):"",deviceIdentifier:be(e.deviceIdentifier)?String(e.deviceIdentifier):"",featureClasses:Array.isArray(e?.featureClasses)?e.featureClasses.map((e=>String(e))):[],restrictionIdentifier:be(e.restrictionIdentifier)?String(e.restrictionIdentifier):""}),toJSON(e){const t={};return""!==e.featureIdentifier&&(t.featureIdentifier=e.featureIdentifier),""!==e.featureVersion&&(t.featureVersion=e.featureVersion),""!==e.viewUri&&(t.viewUri=e.viewUri),""!==e.externalReferrer&&(t.externalReferrer=e.externalReferrer),""!==e.referrerIdentifier&&(t.referrerIdentifier=e.referrerIdentifier),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),e.featureClasses?.length&&(t.featureClasses=e.featureClasses),""!==e.restrictionIdentifier&&(t.restrictionIdentifier=e.restrictionIdentifier),t},create:e=>ye.fromPartial(e??{}),fromPartial(e){const t={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};return t.featureIdentifier=e.featureIdentifier??"",t.featureVersion=e.featureVersion??"",t.viewUri=e.viewUri??"",t.externalReferrer=e.externalReferrer??"",t.referrerIdentifier=e.referrerIdentifier??"",t.deviceIdentifier=e.deviceIdentifier??"",t.featureClasses=e.featureClasses?.map((e=>e))||[],t.restrictionIdentifier=e.restrictionIdentifier??"",t}};function be(e){return null!=e}const Se={encode:(e,t=o.Writer.create())=>(void 0!==e.shufflingContext&&ce.encode(e.shufflingContext,t.uint32(10).fork()).ldelim(),void 0!==e.repeatingContext&&ce.encode(e.repeatingContext,t.uint32(18).fork()).ldelim(),void 0!==e.repeatingTrack&&ce.encode(e.repeatingTrack,t.uint32(26).fork()).ldelim(),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),Object.entries(e.modes).forEach((([e,n])=>{Te.encode({key:e,value:n},t.uint32(42).fork()).ldelim()})),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.shufflingContext=ce.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.repeatingContext=ce.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.repeatingTrack=ce.decode(n,n.uint32());continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue;case 5:if(42!==e)break;const t=Te.decode(n,n.uint32());void 0!==t.value&&(r.modes[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shufflingContext:Ie(e.shufflingContext)?ce.fromJSON(e.shufflingContext):void 0,repeatingContext:Ie(e.repeatingContext)?ce.fromJSON(e.repeatingContext):void 0,repeatingTrack:Ie(e.repeatingTrack)?ce.fromJSON(e.repeatingTrack):void 0,playbackSpeed:Ie(e.playbackSpeed)?Number(e.playbackSpeed):void 0,modes:Ae(e.modes)?Object.entries(e.modes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(void 0!==e.shufflingContext&&(t.shufflingContext=ce.toJSON(e.shufflingContext)),void 0!==e.repeatingContext&&(t.repeatingContext=ce.toJSON(e.repeatingContext)),void 0!==e.repeatingTrack&&(t.repeatingTrack=ce.toJSON(e.repeatingTrack)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),e.modes){const n=Object.entries(e.modes);n.length>0&&(t.modes={},n.forEach((([e,n])=>{t.modes[e]=n})))}return t},create:e=>Se.fromPartial(e??{}),fromPartial(e){const t={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};return t.shufflingContext=void 0!==e.shufflingContext&&null!==e.shufflingContext?ce.fromPartial(e.shufflingContext):void 0,t.repeatingContext=void 0!==e.repeatingContext&&null!==e.repeatingContext?ce.fromPartial(e.repeatingContext):void 0,t.repeatingTrack=void 0!==e.repeatingTrack&&null!==e.repeatingTrack?ce.fromPartial(e.repeatingTrack):void 0,t.playbackSpeed=e.playbackSpeed??void 0,t.modes=Object.entries(e.modes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const Te={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Ie(e.key)?String(e.key):"",value:Ie(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Te.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function Ae(e){return"object"==typeof e&&null!==e}function Ie(e){return null!=e}const Oe={encode:(e,t=o.Writer.create())=>(""!==e.pageUrl&&t.uint32(10).string(e.pageUrl),void 0!==e.pageIndex&&se.encode(e.pageIndex,t.uint32(18).fork()).ldelim(),""!==e.trackUid&&t.uint32(26).string(e.trackUid),""!==e.trackUri&&t.uint32(34).string(e.trackUri),void 0!==e.trackIndex&&se.encode(e.trackIndex,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pageUrl=n.string();continue;case 2:if(18!==e)break;r.pageIndex=se.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackUid=n.string();continue;case 4:if(34!==e)break;r.trackUri=n.string();continue;case 5:if(42!==e)break;r.trackIndex=se.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pageUrl:Ce(e.pageUrl)?String(e.pageUrl):"",pageIndex:Ce(e.pageIndex)?se.fromJSON(e.pageIndex):void 0,trackUid:Ce(e.trackUid)?String(e.trackUid):"",trackUri:Ce(e.trackUri)?String(e.trackUri):"",trackIndex:Ce(e.trackIndex)?se.fromJSON(e.trackIndex):void 0}),toJSON(e){const t={};return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),void 0!==e.pageIndex&&(t.pageIndex=se.toJSON(e.pageIndex)),""!==e.trackUid&&(t.trackUid=e.trackUid),""!==e.trackUri&&(t.trackUri=e.trackUri),void 0!==e.trackIndex&&(t.trackIndex=se.toJSON(e.trackIndex)),t},create:e=>Oe.fromPartial(e??{}),fromPartial(e){const t={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};return t.pageUrl=e.pageUrl??"",t.pageIndex=void 0!==e.pageIndex&&null!==e.pageIndex?se.fromPartial(e.pageIndex):void 0,t.trackUid=e.trackUid??"",t.trackUri=e.trackUri??"",t.trackIndex=void 0!==e.trackIndex&&null!==e.trackIndex?se.fromPartial(e.trackIndex):void 0,t}};function Ce(e){return null!=e}var Re,Ne;function Pe(e){switch(e){case 0:case"NONE":return Re.NONE;case 1:case"MEDIA":return Re.MEDIA;default:return Re.UNRECOGNIZED}}function Le(e){switch(e){case 0:case"DEFAULT":return Ne.DEFAULT;case 1:case"ALARM":return Ne.ALARM;default:return Ne.UNRECOGNIZED}}function ke(){return{playbackId:new Uint8Array(0),alwaysPlaySomething:!1,skipTo:void 0,seekTo:void 0,initiallyPaused:!1,systemInitiated:!1,playerOptionsOverride:void 0,suppressions:[],prefetchLevel:0,audioStream:0,sessionId:"",license:"",configurationOverride:{}}}!function(e){e[e.NONE=0]="NONE",e[e.MEDIA=1]="MEDIA",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Re||(Re={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ALARM=1]="ALARM",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ne||(Ne={}));const we={encode(e,t=o.Writer.create()){0!==e.playbackId.length&&t.uint32(10).bytes(e.playbackId),!0===e.alwaysPlaySomething&&t.uint32(16).bool(e.alwaysPlaySomething),void 0!==e.skipTo&&Oe.encode(e.skipTo,t.uint32(26).fork()).ldelim(),void 0!==e.seekTo&&se.encode(e.seekTo,t.uint32(34).fork()).ldelim(),!0===e.initiallyPaused&&t.uint32(40).bool(e.initiallyPaused),!0===e.systemInitiated&&t.uint32(48).bool(e.systemInitiated),void 0!==e.playerOptionsOverride&&Se.encode(e.playerOptionsOverride,t.uint32(58).fork()).ldelim();for(const n of e.suppressions)t.uint32(66).string(n);return 0!==e.prefetchLevel&&t.uint32(72).int32(e.prefetchLevel),0!==e.audioStream&&t.uint32(80).int32(e.audioStream),""!==e.sessionId&&t.uint32(90).string(e.sessionId),""!==e.license&&t.uint32(98).string(e.license),Object.entries(e.configurationOverride).forEach((([e,n])=>{De.encode({key:e,value:n},t.uint32(106).fork()).ldelim()})),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=ke();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playbackId=n.bytes();continue;case 2:if(16!==e)break;r.alwaysPlaySomething=n.bool();continue;case 3:if(26!==e)break;r.skipTo=Oe.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.seekTo=se.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.initiallyPaused=n.bool();continue;case 6:if(48!==e)break;r.systemInitiated=n.bool();continue;case 7:if(58!==e)break;r.playerOptionsOverride=Se.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.suppressions.push(n.string());continue;case 9:if(72!==e)break;r.prefetchLevel=n.int32();continue;case 10:if(80!==e)break;r.audioStream=n.int32();continue;case 11:if(90!==e)break;r.sessionId=n.string();continue;case 12:if(98!==e)break;r.license=n.string();continue;case 13:if(106!==e)break;const t=De.decode(n,n.uint32());void 0!==t.value&&(r.configurationOverride[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{playbackId:Ue(e.playbackId)?xe(e.playbackId):new Uint8Array(0),alwaysPlaySomething:!!Ue(e.alwaysPlaySomething)&&Boolean(e.alwaysPlaySomething),skipTo:Ue(e.skipTo)?Oe.fromJSON(e.skipTo):void 0,seekTo:Ue(e.seekTo)?se.fromJSON(e.seekTo):void 0,initiallyPaused:!!Ue(e.initiallyPaused)&&Boolean(e.initiallyPaused),systemInitiated:!!Ue(e.systemInitiated)&&Boolean(e.systemInitiated),playerOptionsOverride:Ue(e.playerOptionsOverride)?Se.fromJSON(e.playerOptionsOverride):void 0,suppressions:Array.isArray(e?.suppressions)?e.suppressions.map((e=>String(e))):[],prefetchLevel:Ue(e.prefetchLevel)?Pe(e.prefetchLevel):0,audioStream:Ue(e.audioStream)?Le(e.audioStream):0,sessionId:Ue(e.sessionId)?String(e.sessionId):"",license:Ue(e.license)?String(e.license):"",configurationOverride:(t=e.configurationOverride,"object"==typeof t&&null!==t?Object.entries(e.configurationOverride).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(0!==e.playbackId.length&&(t.playbackId=function(e){if(Me.Buffer)return Me.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),Me.btoa(t.join(""))}}(e.playbackId)),!0===e.alwaysPlaySomething&&(t.alwaysPlaySomething=e.alwaysPlaySomething),void 0!==e.skipTo&&(t.skipTo=Oe.toJSON(e.skipTo)),void 0!==e.seekTo&&(t.seekTo=se.toJSON(e.seekTo)),!0===e.initiallyPaused&&(t.initiallyPaused=e.initiallyPaused),!0===e.systemInitiated&&(t.systemInitiated=e.systemInitiated),void 0!==e.playerOptionsOverride&&(t.playerOptionsOverride=Se.toJSON(e.playerOptionsOverride)),e.suppressions?.length&&(t.suppressions=e.suppressions),0!==e.prefetchLevel&&(t.prefetchLevel=function(e){switch(e){case Re.NONE:return"NONE";case Re.MEDIA:return"MEDIA";case Re.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.prefetchLevel)),0!==e.audioStream&&(t.audioStream=function(e){switch(e){case Ne.DEFAULT:return"DEFAULT";case Ne.ALARM:return"ALARM";case Ne.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.audioStream)),""!==e.sessionId&&(t.sessionId=e.sessionId),""!==e.license&&(t.license=e.license),e.configurationOverride){const n=Object.entries(e.configurationOverride);n.length>0&&(t.configurationOverride={},n.forEach((([e,n])=>{t.configurationOverride[e]=n})))}return t},create:e=>we.fromPartial(e??{}),fromPartial(e){const t=ke();return t.playbackId=e.playbackId??new Uint8Array(0),t.alwaysPlaySomething=e.alwaysPlaySomething??!1,t.skipTo=void 0!==e.skipTo&&null!==e.skipTo?Oe.fromPartial(e.skipTo):void 0,t.seekTo=void 0!==e.seekTo&&null!==e.seekTo?se.fromPartial(e.seekTo):void 0,t.initiallyPaused=e.initiallyPaused??!1,t.systemInitiated=e.systemInitiated??!1,t.playerOptionsOverride=void 0!==e.playerOptionsOverride&&null!==e.playerOptionsOverride?Se.fromPartial(e.playerOptionsOverride):void 0,t.suppressions=e.suppressions?.map((e=>e))||[],t.prefetchLevel=e.prefetchLevel??0,t.audioStream=e.audioStream??0,t.sessionId=e.sessionId??"",t.license=e.license??"",t.configurationOverride=Object.entries(e.configurationOverride??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const De={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Ue(e.key)?String(e.key):"",value:Ue(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>De.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}},Me=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function xe(e){if(Me.Buffer)return Uint8Array.from(Me.Buffer.from(e,"base64"));{const t=Me.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function Ue(e){return null!=e}const Ve={encode:(e,t=o.Writer.create())=>(""!==e.sort&&t.uint32(10).string(e.sort),""!==e.filter&&t.uint32(18).string(e.filter),0!==e.start&&t.uint32(24).uint32(e.start),0!==e.length&&t.uint32(32).uint32(e.length),0!==e.updateThrottling&&t.uint32(40).uint32(e.updateThrottling),void 0!==e.context&&ie.encode(e.context,t.uint32(50).fork()).ldelim(),void 0!==e.playOptions&&Ee.encode(e.playOptions,t.uint32(58).fork()).ldelim(),void 0!==e.loggingParams&&ue.encode(e.loggingParams,t.uint32(66).fork()).ldelim(),void 0!==e.preparePlayOptions&&we.encode(e.preparePlayOptions,t.uint32(74).fork()).ldelim(),void 0!==e.playOrigin&&ye.encode(e.playOrigin,t.uint32(82).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={sort:"",filter:"",start:0,length:0,updateThrottling:0,context:void 0,playOptions:void 0,loggingParams:void 0,preparePlayOptions:void 0,playOrigin:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sort=n.string();continue;case 2:if(18!==e)break;r.filter=n.string();continue;case 3:if(24!==e)break;r.start=n.uint32();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(40!==e)break;r.updateThrottling=n.uint32();continue;case 6:if(50!==e)break;r.context=ie.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.playOptions=Ee.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.loggingParams=ue.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.preparePlayOptions=we.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.playOrigin=ye.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sort:Be(e.sort)?String(e.sort):"",filter:Be(e.filter)?String(e.filter):"",start:Be(e.start)?Number(e.start):0,length:Be(e.length)?Number(e.length):0,updateThrottling:Be(e.updateThrottling)?Number(e.updateThrottling):0,context:Be(e.context)?ie.fromJSON(e.context):void 0,playOptions:Be(e.playOptions)?Ee.fromJSON(e.playOptions):void 0,loggingParams:Be(e.loggingParams)?ue.fromJSON(e.loggingParams):void 0,preparePlayOptions:Be(e.preparePlayOptions)?we.fromJSON(e.preparePlayOptions):void 0,playOrigin:Be(e.playOrigin)?ye.fromJSON(e.playOrigin):void 0}),toJSON(e){const t={};return""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),void 0!==e.context&&(t.context=ie.toJSON(e.context)),void 0!==e.playOptions&&(t.playOptions=Ee.toJSON(e.playOptions)),void 0!==e.loggingParams&&(t.loggingParams=ue.toJSON(e.loggingParams)),void 0!==e.preparePlayOptions&&(t.preparePlayOptions=we.toJSON(e.preparePlayOptions)),void 0!==e.playOrigin&&(t.playOrigin=ye.toJSON(e.playOrigin)),t},create:e=>Ve.fromPartial(e??{}),fromPartial(e){const t={sort:"",filter:"",start:0,length:0,updateThrottling:0,context:void 0,playOptions:void 0,loggingParams:void 0,preparePlayOptions:void 0,playOrigin:void 0};return t.sort=e.sort??"",t.filter=e.filter??"",t.start=e.start??0,t.length=e.length??0,t.updateThrottling=e.updateThrottling??0,t.context=void 0!==e.context&&null!==e.context?ie.fromPartial(e.context):void 0,t.playOptions=void 0!==e.playOptions&&null!==e.playOptions?Ee.fromPartial(e.playOptions):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ue.fromPartial(e.loggingParams):void 0,t.preparePlayOptions=void 0!==e.preparePlayOptions&&null!==e.preparePlayOptions?we.fromPartial(e.preparePlayOptions):void 0,t.playOrigin=void 0!==e.playOrigin&&null!==e.playOrigin?ye.fromPartial(e.playOrigin):void 0,t}};const Fe={encode:(e,t=o.Writer.create())=>(0!==e.statusCode&&t.uint32(8).uint32(e.statusCode),""!==e.error&&t.uint32(18).string(e.error),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.statusCode=n.uint32();continue;case 2:if(18!==e)break;r.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({statusCode:Be(e.statusCode)?Number(e.statusCode):0,error:Be(e.error)?String(e.error):""}),toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>Fe.fromPartial(e??{}),fromPartial(e){const t={statusCode:0,error:""};return t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function Be(e){return null!=e}const He={encode(e,t=o.Writer.create()){for(const n of e.uris)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={uris:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uris.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uris:Array.isArray(e?.uris)?e.uris.map((e=>String(e))):[]}),toJSON(e){const t={};return e.uris?.length&&(t.uris=e.uris),t},create:e=>He.fromPartial(e??{}),fromPartial(e){const t={uris:[]};return t.uris=e.uris?.map((e=>e))||[],t}};const Ge={encode:(e,t=o.Writer.create())=>(0!==e.statusCode&&t.uint32(8).uint32(e.statusCode),""!==e.error&&t.uint32(18).string(e.error),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.statusCode=n.uint32();continue;case 2:if(18!==e)break;r.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({statusCode:We(e.statusCode)?Number(e.statusCode):0,error:We(e.error)?String(e.error):""}),toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>Ge.fromPartial(e??{}),fromPartial(e){const t={statusCode:0,error:""};return t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function We(e){return null!=e}class je{transport;options;constructor(e,t={}){this.transport=e,this.options=t}episodes(e,t){const n=je.SERVICE_ID,i="Episodes",r=f.fromPartial(e),a=f.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=H.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamEpisodes(e,t){const n=je.SERVICE_ID,i="StreamEpisodes",r=f.fromPartial(e),a=f.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=H.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}play(e,t){const n=je.SERVICE_ID,i="Play",r=Ve.fromPartial(e),a=Ve.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Fe.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}add(e,t){const n=je.SERVICE_ID,i="Add",r=He.fromPartial(e),a=He.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Ge.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}remove(e,t){const n=je.SERVICE_ID,i="Remove",r=He.fromPartial(e),a=He.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Ge.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.listen_later_esperanto.proto.ListenLaterService";static METHODS={episodes:{isStreaming:!1,requestType:f,responseType:H},streamEpisodes:{isStreaming:!0,requestType:f,responseType:H},play:{isStreaming:!1,requestType:Ve,responseType:Fe},add:{isStreaming:!1,requestType:He,responseType:Ge},remove:{isStreaming:!1,requestType:He,responseType:Ge}};static DECODERS={Episodes:{request:f.decode,response:H.decode},StreamEpisodes:{request:f.decode,response:H.decode},Play:{request:Ve.decode,response:Fe.decode},Add:{request:He.decode,response:Ge.decode},Remove:{request:He.decode,response:Ge.decode}}}},95166:(e,t,n)=>{"use strict";n.d(t,{de:()=>x,mo:()=>K,_w:()=>oe,xp:()=>U,oU:()=>P,rj:()=>D});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:r(e.standardLink)?String(e.standardLink):"",smallLink:r(e.smallLink)?String(e.smallLink):"",largeLink:r(e.largeLink)?String(e.largeLink):"",xlargeLink:r(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function r(e){return null!=e}var a;function s(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return a.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return a.CANVAZ;case 2:case"STORYLINES":return a.STORYLINES;case 3:case"PODCAST_TOPICS":return a.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return a.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return a.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return a.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return a.PODCAST_COUNTER;case 8:case"ARTIST_V4":return a.ARTIST_V4;case 9:case"ALBUM_V4":return a.ALBUM_V4;case 10:case"TRACK_V4":return a.TRACK_V4;case 11:case"SHOW_V4":return a.SHOW_V4;case 12:case"EPISODE_V4":return a.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return a.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return a.PODCAST_QUOTES;case 15:case"USER_PROFILE":return a.USER_PROFILE;case 16:case"CANVAS_V1":return a.CANVAS_V1;case 17:case"SHOW_V4_BASE":return a.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return a.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return a.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return a.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return a.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return a.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return a.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return a.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return a.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return a.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return a.AUTOMIX_MODE;case 28:case"CUEPOINTS":return a.CUEPOINTS;case 29:case"PODCAST_POLL":return a.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return a.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return a.SHOW_ACCESS;case 32:case"PODCAST_QNA":return a.PODCAST_QNA;case 33:case"CLIPS":return a.CLIPS;case 34:case"SHOW_V5":return a.SHOW_V5;case 35:case"EPISODE_V5":return a.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return a.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return a.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return a.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return a.GREENROOM;case 40:case"USER_CREATED":return a.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return a.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return a.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return a.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return a.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return a.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return a.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return a.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return a.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return a.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return a.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return a.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return a.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return a.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return a.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return a.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return a.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return a.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return a.CONTENT_WARNING;case 59:case"IMAGE_CUE":return a.IMAGE_CUE;case 60:case"STREAM_COUNT":return a.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return a.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return a.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return a.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return a.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return a.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return a.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return a.LIVE;case 68:case"SKIP_PLAYED":return a.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return a.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return a.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return a.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return a.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return a.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return a.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return a.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return a.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return a.PODCAST_GUEST;case 78:case"PLAYABILITY":return a.PLAYABILITY;case 79:case"COVER_IMAGE":return a.COVER_IMAGE;case 80:case"SHARE_TRAIT":return a.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return a.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return a.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return a.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return a.CONCEPT;case 85:case"ORIGINAL_VIDEO":return a.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return a.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return a.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return a.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return a.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return a.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return a.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return a.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return a.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return a.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return a.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return a.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return a.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return a.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return a.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return a.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return a.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return a.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return a.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return a.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return a.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return a.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return a.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return a.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return a.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return a.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return a.MERCH;case 113:case"COMPANION_CONTENT":return a.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return a.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return a.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return a.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return a.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return a.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return a.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return a.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return a.COURSE_SPECIFICS;case 122:case"CONCERT":return a.CONCERT;case 123:case"CONCERT_LOCATION":return a.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return a.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return a.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return a.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return a.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return a.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return a.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return a.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return a.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return a.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return a.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return a.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return a.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return a.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return a.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return a.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return a.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return a.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return a.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return a.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return a.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return a.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return a.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return a.SUPPORTED_BADGES;case 147:case"BADGES":return a.BADGES;case 148:case"PREVIEW_TRAIT":return a.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return a.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return a.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return a.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return a.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return a.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return a.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return a.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return a.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return a.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return a.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return a.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return a.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return a.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return a.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return a.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return a.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return a.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return a.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return a.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return a.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return a.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return a.AUTO_LENS;default:return a.UNRECOGNIZED}}function c(e){switch(e){case a.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case a.CANVAZ:return"CANVAZ";case a.STORYLINES:return"STORYLINES";case a.PODCAST_TOPICS:return"PODCAST_TOPICS";case a.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case a.AUDIO_FILES:return"AUDIO_FILES";case a.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case a.PODCAST_COUNTER:return"PODCAST_COUNTER";case a.ARTIST_V4:return"ARTIST_V4";case a.ALBUM_V4:return"ALBUM_V4";case a.TRACK_V4:return"TRACK_V4";case a.SHOW_V4:return"SHOW_V4";case a.EPISODE_V4:return"EPISODE_V4";case a.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case a.PODCAST_QUOTES:return"PODCAST_QUOTES";case a.USER_PROFILE:return"USER_PROFILE";case a.CANVAS_V1:return"CANVAS_V1";case a.SHOW_V4_BASE:return"SHOW_V4_BASE";case a.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case a.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case a.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case a.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case a.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case a.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case a.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case a.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case a.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case a.AUTOMIX_MODE:return"AUTOMIX_MODE";case a.CUEPOINTS:return"CUEPOINTS";case a.PODCAST_POLL:return"PODCAST_POLL";case a.EPISODE_ACCESS:return"EPISODE_ACCESS";case a.SHOW_ACCESS:return"SHOW_ACCESS";case a.PODCAST_QNA:return"PODCAST_QNA";case a.CLIPS:return"CLIPS";case a.SHOW_V5:return"SHOW_V5";case a.EPISODE_V5:return"EPISODE_V5";case a.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case a.PODCAST_RATING:return"PODCAST_RATING";case a.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case a.GREENROOM:return"GREENROOM";case a.USER_CREATED:return"USER_CREATED";case a.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case a.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case a.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case a.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case a.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case a.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case a.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case a.CLIENT_CONFIG:return"CLIENT_CONFIG";case a.PLAYLISTABILITY:return"PLAYLISTABILITY";case a.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case a.CHAPTER_V5:return"CHAPTER_V5";case a.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case a.EPISODE_RANKING:return"EPISODE_RANKING";case a.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case a.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case a.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case a.PLAY_TRAIT:return"PLAY_TRAIT";case a.CONTENT_WARNING:return"CONTENT_WARNING";case a.IMAGE_CUE:return"IMAGE_CUE";case a.STREAM_COUNT:return"STREAM_COUNT";case a.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case a.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case a.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case a.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case a.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case a.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case a.LIVE:return"LIVE";case a.SKIP_PLAYED:return"SKIP_PLAYED";case a.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case a.ASSOCIATIONS:return"ASSOCIATIONS";case a.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case a.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case a.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case a.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case a.USER_COMMENTS:return"USER_COMMENTS";case a.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case a.PODCAST_GUEST:return"PODCAST_GUEST";case a.PLAYABILITY:return"PLAYABILITY";case a.COVER_IMAGE:return"COVER_IMAGE";case a.SHARE_TRAIT:return"SHARE_TRAIT";case a.INSTANCE_SHARING:return"INSTANCE_SHARING";case a.ARTIST_TOUR:return"ARTIST_TOUR";case a.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case a.CONCEPT:return"CONCEPT";case a.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case a.SMART_SHUFFLE:return"SMART_SHUFFLE";case a.LIVE_EVENTS:return"LIVE_EVENTS";case a.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case a.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case a.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case a.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case a.FEWER_ADS:return"FEWER_ADS";case a.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case a.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case a.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case a.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case a.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case a.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case a.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case a.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case a.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case a.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case a.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case a.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case a.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case a.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case a.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case a.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case a.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case a.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case a.MERCH:return"MERCH";case a.COMPANION_CONTENT:return"COMPANION_CONTENT";case a.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case a.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case a.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case a.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case a.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case a.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case a.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case a.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case a.CONCERT:return"CONCERT";case a.CONCERT_LOCATION:return"CONCERT_LOCATION";case a.CONCERT_MARKETING:return"CONCERT_MARKETING";case a.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case a.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case a.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case a.NAME_TRAIT:return"NAME_TRAIT";case a.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case a.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case a.CREDITS_TRAIT:return"CREDITS_TRAIT";case a.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case a.ENTITY_CAPPING:return"ENTITY_CAPPING";case a.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case a.CONCERT_OFFERS:return"CONCERT_OFFERS";case a.TRANSITION_MAPS:return"TRANSITION_MAPS";case a.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case a.PRERELEASE:return"PRERELEASE";case a.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case a.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case a.LIST_METADATA:return"LIST_METADATA";case a.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case a.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case a.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case a.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case a.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case a.BADGES:return"BADGES";case a.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case a.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case a.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case a.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case a.POPULAR_RELEASES:return"POPULAR_RELEASES";case a.RELATED_RELEASES:return"RELATED_RELEASES";case a.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case a.CONCERT_OFFER:return"CONCERT_OFFER";case a.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case a.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case a.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case a.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case a.REORDERING_TRAIT:return"REORDERING_TRAIT";case a.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case a.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case a.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case a.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case a.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case a.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case a.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case a.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case a.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case a.AUTO_LENS:return"AUTO_LENS";case a.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function l(){return{extensionKind:0,data:new Uint8Array(0)}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(a||(a={}));const u={encode:(e,t=i.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=l();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:h(e.extensionKind)?s(e.extensionKind):0,data:h(e.data)?p(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=c(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(d.Buffer)return d.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),d.btoa(t.join(""))}}(e.data)),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t=l();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},d=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function p(e){if(d.Buffer)return Uint8Array.from(d.Buffer.from(e,"base64"));{const t=d.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function h(e){return null!=e}const f={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const m={encode:(e,t=i.Writer.create())=>(void 0!==e.artist&&f.encode(e.artist,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),void 0!==e.covers&&o.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={artist:void 0,link:"",name:"",covers:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.artist=f.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.link=n.string();continue;case 3:if(26!==e)break;a.name=n.string();continue;case 4:if(34!==e)break;a.covers=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({artist:v(e.artist)?f.fromJSON(e.artist):void 0,link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):"",covers:v(e.covers)?o.fromJSON(e.covers):void 0}),toJSON(e){const t={};return void 0!==e.artist&&(t.artist=f.toJSON(e.artist)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.covers&&(t.covers=o.toJSON(e.covers)),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={artist:void 0,link:"",name:"",covers:void 0};return t.artist=void 0!==e.artist&&null!==e.artist?f.fromPartial(e.artist):void 0,t.link=e.link??"",t.name=e.name??"",t.covers=void 0!==e.covers&&null!==e.covers?o.fromPartial(e.covers):void 0,t}};const _={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.portraits&&o.encode(e.portraits,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={link:"",name:"",portraits:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.link=n.string();continue;case 2:if(18!==e)break;a.name=n.string();continue;case 3:if(26!==e)break;a.portraits=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):"",portraits:v(e.portraits)?o.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.portraits&&(t.portraits=o.toJSON(e.portraits)),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.portraits=void 0!==e.portraits&&null!==e.portraits?o.fromPartial(e.portraits):void 0,t}};const g={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:v(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t={name:""};return t.name=e.name??"",t}};const E={encode(e,t=i.Writer.create()){void 0!==e.album&&m.encode(e.album,t.uint32(10).fork()).ldelim();for(const n of e.artist)_.encode(n,t.uint32(18).fork()).ldelim();""!==e.link&&t.uint32(26).string(e.link),""!==e.name&&t.uint32(34).string(e.name),0!==e.length&&t.uint32(40).uint32(e.length),!0===e.playable&&t.uint32(48).bool(e.playable),0!==e.discNumber&&t.uint32(56).uint32(e.discNumber),0!==e.trackNumber&&t.uint32(64).uint32(e.trackNumber),!0===e.isExplicit&&t.uint32(72).bool(e.isExplicit),""!==e.previewId&&t.uint32(82).string(e.previewId),!0===e.isLocal&&t.uint32(88).bool(e.isLocal),!0===e.playableLocalTrack&&t.uint32(96).bool(e.playableLocalTrack),!0===e.hasLyrics&&t.uint32(104).bool(e.hasLyrics),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.locallyPlayable&&t.uint32(120).bool(e.locallyPlayable),""!==e.playableTrackLink&&t.uint32(130).string(e.playableTrackLink),0!==e.popularity&&t.uint32(136).uint32(e.popularity),!0===e.is19PlusOnly&&t.uint32(144).bool(e.is19PlusOnly);for(const n of e.trackDescriptors)g.encode(n,t.uint32(154).fork()).ldelim();for(const n of e.extension)u.encode(n,t.uint32(162).fork()).ldelim();return!0===e.isCurated&&t.uint32(168).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=m.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist.push(_.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.link=n.string();continue;case 4:if(34!==e)break;r.name=n.string();continue;case 5:if(40!==e)break;r.length=n.uint32();continue;case 6:if(48!==e)break;r.playable=n.bool();continue;case 7:if(56!==e)break;r.discNumber=n.uint32();continue;case 8:if(64!==e)break;r.trackNumber=n.uint32();continue;case 9:if(72!==e)break;r.isExplicit=n.bool();continue;case 10:if(82!==e)break;r.previewId=n.string();continue;case 11:if(88!==e)break;r.isLocal=n.bool();continue;case 12:if(96!==e)break;r.playableLocalTrack=n.bool();continue;case 13:if(104!==e)break;r.hasLyrics=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.locallyPlayable=n.bool();continue;case 16:if(130!==e)break;r.playableTrackLink=n.string();continue;case 17:if(136!==e)break;r.popularity=n.uint32();continue;case 18:if(144!==e)break;r.is19PlusOnly=n.bool();continue;case 19:if(154!==e)break;r.trackDescriptors.push(g.decode(n,n.uint32()));continue;case 20:if(162!==e)break;r.extension.push(u.decode(n,n.uint32()));continue;case 21:if(168!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:v(e.album)?m.fromJSON(e.album):void 0,artist:Array.isArray(e?.artist)?e.artist.map((e=>_.fromJSON(e))):[],link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):"",length:v(e.length)?Number(e.length):0,playable:!!v(e.playable)&&Boolean(e.playable),discNumber:v(e.discNumber)?Number(e.discNumber):0,trackNumber:v(e.trackNumber)?Number(e.trackNumber):0,isExplicit:!!v(e.isExplicit)&&Boolean(e.isExplicit),previewId:v(e.previewId)?String(e.previewId):"",isLocal:!!v(e.isLocal)&&Boolean(e.isLocal),playableLocalTrack:!!v(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),hasLyrics:!!v(e.hasLyrics)&&Boolean(e.hasLyrics),isPremiumOnly:!!v(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),locallyPlayable:!!v(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableTrackLink:v(e.playableTrackLink)?String(e.playableTrackLink):"",popularity:v(e.popularity)?Number(e.popularity):0,is19PlusOnly:!!v(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:Array.isArray(e?.trackDescriptors)?e.trackDescriptors.map((e=>g.fromJSON(e))):[],extension:Array.isArray(e?.extension)?e.extension.map((e=>u.fromJSON(e))):[],isCurated:!!v(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!v(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return void 0!==e.album&&(t.album=m.toJSON(e.album)),e.artist?.length&&(t.artist=e.artist.map((e=>_.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),!0===e.playable&&(t.playable=e.playable),0!==e.discNumber&&(t.discNumber=Math.round(e.discNumber)),0!==e.trackNumber&&(t.trackNumber=Math.round(e.trackNumber)),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),""!==e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),e.trackDescriptors?.length&&(t.trackDescriptors=e.trackDescriptors.map((e=>g.toJSON(e)))),e.extension?.length&&(t.extension=e.extension.map((e=>u.toJSON(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};return t.album=void 0!==e.album&&null!==e.album?m.fromPartial(e.album):void 0,t.artist=e.artist?.map((e=>_.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.playable=e.playable??!1,t.discNumber=e.discNumber??0,t.trackNumber=e.trackNumber??0,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.isLocal=e.isLocal??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.hasLyrics=e.hasLyrics??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableTrackLink=e.playableTrackLink??"",t.popularity=e.popularity??0,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors?.map((e=>g.fromPartial(e)))||[],t.extension=e.extension?.map((e=>u.fromPartial(e)))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function v(e){return null!=e}const y={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.copyrights&&t.uint32(24).bool(e.copyrights),!0===e.covers&&t.uint32(32).bool(e.covers),!0===e.year&&t.uint32(40).bool(e.year),!0===e.numDiscs&&t.uint32(48).bool(e.numDiscs),!0===e.numTracks&&t.uint32(56).bool(e.numTracks),!0===e.playability&&t.uint32(64).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(72).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.copyrights=n.bool();continue;case 4:if(32!==e)break;r.covers=n.bool();continue;case 5:if(40!==e)break;r.year=n.bool();continue;case 6:if(48!==e)break;r.numDiscs=n.bool();continue;case 7:if(56!==e)break;r.numTracks=n.bool();continue;case 8:if(64!==e)break;r.playability=n.bool();continue;case 9:if(72!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!b(e.link)&&Boolean(e.link),name:!!b(e.name)&&Boolean(e.name),copyrights:!!b(e.copyrights)&&Boolean(e.copyrights),covers:!!b(e.covers)&&Boolean(e.covers),year:!!b(e.year)&&Boolean(e.year),numDiscs:!!b(e.numDiscs)&&Boolean(e.numDiscs),numTracks:!!b(e.numTracks)&&Boolean(e.numTracks),playability:!!b(e.playability)&&Boolean(e.playability),isPremiumOnly:!!b(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.covers&&(t.covers=e.covers),!0===e.year&&(t.year=e.year),!0===e.numDiscs&&(t.numDiscs=e.numDiscs),!0===e.numTracks&&(t.numTracks=e.numTracks),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};return t.link=e.link??!1,t.name=e.name??!1,t.copyrights=e.copyrights??!1,t.covers=e.covers??!1,t.year=e.year??!1,t.numDiscs=e.numDiscs??!1,t.numTracks=e.numTracks??!1,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};function b(e){return null!=e}const S={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),!0===e.portraits&&t.uint32(32).bool(e.portraits),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,isVariousArtists:!1,portraits:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(32!==e)break;r.portraits=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!T(e.link)&&Boolean(e.link),name:!!T(e.name)&&Boolean(e.name),isVariousArtists:!!T(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:!!T(e.portraits)&&Boolean(e.portraits)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),!0===e.portraits&&(t.portraits=e.portraits),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,isVariousArtists:!1,portraits:!1};return t.link=e.link??!1,t.name=e.name??!1,t.isVariousArtists=e.isVariousArtists??!1,t.portraits=e.portraits??!1,t}};function T(e){return null!=e}const A={encode:(e,t=i.Writer.create())=>(void 0!==e.album&&y.encode(e.album,t.uint32(10).fork()).ldelim(),void 0!==e.artist&&S.encode(e.artist,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=y.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist=S.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:I(e.album)?y.fromJSON(e.album):void 0,artist:I(e.artist)?S.fromJSON(e.artist):void 0}),toJSON(e){const t={};return void 0!==e.album&&(t.album=y.toJSON(e.album)),void 0!==e.artist&&(t.artist=S.toJSON(e.artist)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:void 0};return t.album=void 0!==e.album&&null!==e.album?y.fromPartial(e.album):void 0,t.artist=void 0!==e.artist&&null!==e.artist?S.fromPartial(e.artist):void 0,t}};function I(e){return null!=e}const O={encode(e,t=i.Writer.create()){!0===e.hasLyrics&&t.uint32(8).bool(e.hasLyrics),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.length&&t.uint32(32).bool(e.length),!0===e.playable&&t.uint32(40).bool(e.playable),!0===e.isAvailableInMetadataCatalogue&&t.uint32(48).bool(e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&t.uint32(56).bool(e.locallyPlayable),!0===e.playableLocalTrack&&t.uint32(64).bool(e.playableLocalTrack),!0===e.discNumber&&t.uint32(72).bool(e.discNumber),!0===e.trackNumber&&t.uint32(80).bool(e.trackNumber),!0===e.isExplicit&&t.uint32(88).bool(e.isExplicit),!0===e.previewId&&t.uint32(96).bool(e.previewId),!0===e.isLocal&&t.uint32(104).bool(e.isLocal),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.playableTrackLink&&t.uint32(120).bool(e.playableTrackLink),!0===e.popularity&&t.uint32(128).bool(e.popularity),!0===e.is19PlusOnly&&t.uint32(136).bool(e.is19PlusOnly),!0===e.trackDescriptors&&t.uint32(144).bool(e.trackDescriptors),t.uint32(154).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isCurated&&t.uint32(160).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.hasLyrics=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.length=n.bool();continue;case 5:if(40!==e)break;r.playable=n.bool();continue;case 6:if(48!==e)break;r.isAvailableInMetadataCatalogue=n.bool();continue;case 7:if(56!==e)break;r.locallyPlayable=n.bool();continue;case 8:if(64!==e)break;r.playableLocalTrack=n.bool();continue;case 9:if(72!==e)break;r.discNumber=n.bool();continue;case 10:if(80!==e)break;r.trackNumber=n.bool();continue;case 11:if(88!==e)break;r.isExplicit=n.bool();continue;case 12:if(96!==e)break;r.previewId=n.bool();continue;case 13:if(104!==e)break;r.isLocal=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.playableTrackLink=n.bool();continue;case 16:if(128!==e)break;r.popularity=n.bool();continue;case 17:if(136!==e)break;r.is19PlusOnly=n.bool();continue;case 18:if(144!==e)break;r.trackDescriptors=n.bool();continue;case 19:if(152===e){r.extension.push(n.int32());continue}if(154===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 20:if(160!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({hasLyrics:!!C(e.hasLyrics)&&Boolean(e.hasLyrics),link:!!C(e.link)&&Boolean(e.link),name:!!C(e.name)&&Boolean(e.name),length:!!C(e.length)&&Boolean(e.length),playable:!!C(e.playable)&&Boolean(e.playable),isAvailableInMetadataCatalogue:!!C(e.isAvailableInMetadataCatalogue)&&Boolean(e.isAvailableInMetadataCatalogue),locallyPlayable:!!C(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableLocalTrack:!!C(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),discNumber:!!C(e.discNumber)&&Boolean(e.discNumber),trackNumber:!!C(e.trackNumber)&&Boolean(e.trackNumber),isExplicit:!!C(e.isExplicit)&&Boolean(e.isExplicit),previewId:!!C(e.previewId)&&Boolean(e.previewId),isLocal:!!C(e.isLocal)&&Boolean(e.isLocal),isPremiumOnly:!!C(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),playableTrackLink:!!C(e.playableTrackLink)&&Boolean(e.playableTrackLink),popularity:!!C(e.popularity)&&Boolean(e.popularity),is19PlusOnly:!!C(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:!!C(e.trackDescriptors)&&Boolean(e.trackDescriptors),extension:Array.isArray(e?.extension)?e.extension.map((e=>s(e))):[],isCurated:!!C(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!C(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.length&&(t.length=e.length),!0===e.playable&&(t.playable=e.playable),!0===e.isAvailableInMetadataCatalogue&&(t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.discNumber&&(t.discNumber=e.discNumber),!0===e.trackNumber&&(t.trackNumber=e.trackNumber),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),!0===e.popularity&&(t.popularity=e.popularity),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.trackDescriptors&&(t.trackDescriptors=e.trackDescriptors),e.extension?.length&&(t.extension=e.extension.map((e=>c(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};return t.hasLyrics=e.hasLyrics??!1,t.link=e.link??!1,t.name=e.name??!1,t.length=e.length??!1,t.playable=e.playable??!1,t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.discNumber=e.discNumber??!1,t.trackNumber=e.trackNumber??!1,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??!1,t.isLocal=e.isLocal??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.playableTrackLink=e.playableTrackLink??!1,t.popularity=e.popularity??!1,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors??!1,t.extension=e.extension?.map((e=>e))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function C(e){return null!=e}const R={encode:(e,t=i.Writer.create())=>(!0===e.username&&t.uint32(8).bool(e.username),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.image&&t.uint32(32).bool(e.image),!0===e.thumbnail&&t.uint32(40).bool(e.thumbnail),!0===e.color&&t.uint32(48).bool(e.color),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.username=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.image=n.bool();continue;case 5:if(40!==e)break;r.thumbnail=n.bool();continue;case 6:if(48!==e)break;r.color=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({username:!!N(e.username)&&Boolean(e.username),link:!!N(e.link)&&Boolean(e.link),name:!!N(e.name)&&Boolean(e.name),image:!!N(e.image)&&Boolean(e.image),thumbnail:!!N(e.thumbnail)&&Boolean(e.thumbnail),color:!!N(e.color)&&Boolean(e.color)}),toJSON(e){const t={};return!0===e.username&&(t.username=e.username),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.image&&(t.image=e.image),!0===e.thumbnail&&(t.thumbnail=e.thumbnail),!0===e.color&&(t.color=e.color),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};return t.username=e.username??!1,t.link=e.link??!1,t.name=e.name??!1,t.image=e.image??!1,t.thumbnail=e.thumbnail??!1,t.color=e.color??!1,t}};function N(e){return null!=e}const P={encode:(e,t=i.Writer.create())=>(void 0!==e.track&&O.encode(e.track,t.uint32(10).fork()).ldelim(),!0===e.rowId&&t.uint32(16).bool(e.rowId),!0===e.addTime&&t.uint32(24).bool(e.addTime),!0===e.inCollection&&t.uint32(32).bool(e.inCollection),!0===e.canAddToCollection&&t.uint32(40).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(48).bool(e.isBanned),!0===e.canBan&&t.uint32(56).bool(e.canBan),!0===e.localFile&&t.uint32(64).bool(e.localFile),!0===e.offline&&t.uint32(72).bool(e.offline),!0===e.formatListAttributes&&t.uint32(80).bool(e.formatListAttributes),!0===e.displayCovers&&t.uint32(88).bool(e.displayCovers),void 0!==e.addedBy&&R.encode(e.addedBy,t.uint32(98).fork()).ldelim(),void 0!==e.album&&A.encode(e.album,t.uint32(106).fork()).ldelim(),void 0!==e.artist&&S.encode(e.artist,t.uint32(114).fork()).ldelim(),!0===e.signals&&t.uint32(120).bool(e.signals),!0===e.isRecommendation&&t.uint32(128).bool(e.isRecommendation),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={track:void 0,rowId:!1,addTime:!1,inCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1,localFile:!1,offline:!1,formatListAttributes:!1,displayCovers:!1,addedBy:void 0,album:void 0,artist:void 0,signals:!1,isRecommendation:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.track=O.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.rowId=n.bool();continue;case 3:if(24!==e)break;r.addTime=n.bool();continue;case 4:if(32!==e)break;r.inCollection=n.bool();continue;case 5:if(40!==e)break;r.canAddToCollection=n.bool();continue;case 6:if(48!==e)break;r.isBanned=n.bool();continue;case 7:if(56!==e)break;r.canBan=n.bool();continue;case 8:if(64!==e)break;r.localFile=n.bool();continue;case 9:if(72!==e)break;r.offline=n.bool();continue;case 10:if(80!==e)break;r.formatListAttributes=n.bool();continue;case 11:if(88!==e)break;r.displayCovers=n.bool();continue;case 12:if(98!==e)break;r.addedBy=R.decode(n,n.uint32());continue;case 13:if(106!==e)break;r.album=A.decode(n,n.uint32());continue;case 14:if(114!==e)break;r.artist=S.decode(n,n.uint32());continue;case 15:if(120!==e)break;r.signals=n.bool();continue;case 16:if(128!==e)break;r.isRecommendation=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({track:L(e.track)?O.fromJSON(e.track):void 0,rowId:!!L(e.rowId)&&Boolean(e.rowId),addTime:!!L(e.addTime)&&Boolean(e.addTime),inCollection:!!L(e.inCollection)&&Boolean(e.inCollection),canAddToCollection:!!L(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!L(e.isBanned)&&Boolean(e.isBanned),canBan:!!L(e.canBan)&&Boolean(e.canBan),localFile:!!L(e.localFile)&&Boolean(e.localFile),offline:!!L(e.offline)&&Boolean(e.offline),formatListAttributes:!!L(e.formatListAttributes)&&Boolean(e.formatListAttributes),displayCovers:!!L(e.displayCovers)&&Boolean(e.displayCovers),addedBy:L(e.addedBy)?R.fromJSON(e.addedBy):void 0,album:L(e.album)?A.fromJSON(e.album):void 0,artist:L(e.artist)?S.fromJSON(e.artist):void 0,signals:!!L(e.signals)&&Boolean(e.signals),isRecommendation:!!L(e.isRecommendation)&&Boolean(e.isRecommendation)}),toJSON(e){const t={};return void 0!==e.track&&(t.track=O.toJSON(e.track)),!0===e.rowId&&(t.rowId=e.rowId),!0===e.addTime&&(t.addTime=e.addTime),!0===e.inCollection&&(t.inCollection=e.inCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),!0===e.localFile&&(t.localFile=e.localFile),!0===e.offline&&(t.offline=e.offline),!0===e.formatListAttributes&&(t.formatListAttributes=e.formatListAttributes),!0===e.displayCovers&&(t.displayCovers=e.displayCovers),void 0!==e.addedBy&&(t.addedBy=R.toJSON(e.addedBy)),void 0!==e.album&&(t.album=A.toJSON(e.album)),void 0!==e.artist&&(t.artist=S.toJSON(e.artist)),!0===e.signals&&(t.signals=e.signals),!0===e.isRecommendation&&(t.isRecommendation=e.isRecommendation),t},create:e=>P.fromPartial(e??{}),fromPartial(e){const t={track:void 0,rowId:!1,addTime:!1,inCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1,localFile:!1,offline:!1,formatListAttributes:!1,displayCovers:!1,addedBy:void 0,album:void 0,artist:void 0,signals:!1,isRecommendation:!1};return t.track=void 0!==e.track&&null!==e.track?O.fromPartial(e.track):void 0,t.rowId=e.rowId??!1,t.addTime=e.addTime??!1,t.inCollection=e.inCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t.localFile=e.localFile??!1,t.offline=e.offline??!1,t.formatListAttributes=e.formatListAttributes??!1,t.displayCovers=e.displayCovers??!1,t.addedBy=void 0!==e.addedBy&&null!==e.addedBy?R.fromPartial(e.addedBy):void 0,t.album=void 0!==e.album&&null!==e.album?A.fromPartial(e.album):void 0,t.artist=void 0!==e.artist&&null!==e.artist?S.fromPartial(e.artist):void 0,t.signals=e.signals??!1,t.isRecommendation=e.isRecommendation??!1,t}};function L(e){return null!=e}const k={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.canAddToCollection&&t.uint32(16).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(24).bool(e.isBanned),!0===e.canBan&&t.uint32(32).bool(e.canBan),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.canAddToCollection=n.bool();continue;case 3:if(24!==e)break;r.isBanned=n.bool();continue;case 4:if(32!==e)break;r.canBan=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!w(e.isInCollection)&&Boolean(e.isInCollection),canAddToCollection:!!w(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!w(e.isBanned)&&Boolean(e.isBanned),canBan:!!w(e.canBan)&&Boolean(e.canBan)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};return t.isInCollection=e.isInCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t}};function w(e){return null!=e}var D,M,x,U;function V(e){switch(e){case 0:case"NO_SORT":return D.NO_SORT;case 1:case"ALBUM_ARTIST_NAME_ASC":return D.ALBUM_ARTIST_NAME_ASC;case 2:case"ALBUM_ARTIST_NAME_DESC":return D.ALBUM_ARTIST_NAME_DESC;case 3:case"TRACK_NUMBER_ASC":return D.TRACK_NUMBER_ASC;case 4:case"TRACK_NUMBER_DESC":return D.TRACK_NUMBER_DESC;case 5:case"DISC_NUMBER_ASC":return D.DISC_NUMBER_ASC;case 6:case"DISC_NUMBER_DESC":return D.DISC_NUMBER_DESC;case 7:case"ALBUM_NAME_ASC":return D.ALBUM_NAME_ASC;case 8:case"ALBUM_NAME_DESC":return D.ALBUM_NAME_DESC;case 9:case"ARTIST_NAME_ASC":return D.ARTIST_NAME_ASC;case 10:case"ARTIST_NAME_DESC":return D.ARTIST_NAME_DESC;case 11:case"NAME_ASC":return D.NAME_ASC;case 12:case"NAME_DESC":return D.NAME_DESC;case 13:case"ADD_TIME_ASC":return D.ADD_TIME_ASC;case 14:case"ADD_TIME_DESC":return D.ADD_TIME_DESC;case 15:case"LENGTH_ASC":return D.LENGTH_ASC;case 16:case"LENGTH_DESC":return D.LENGTH_DESC;default:return D.UNRECOGNIZED}}function F(e){switch(e){case 0:case"UNKNOWN":return M.UNKNOWN;case 1:case"IDLE":return M.IDLE;case 2:case"IN_PROGRESS":return M.IN_PROGRESS;default:return M.UNRECOGNIZED}}function B(e){switch(e){case 0:case"UNKNOWN":return x.UNKNOWN;case 1:case"ITUNES":return x.ITUNES;case 2:case"DOWNLOADS":return x.DOWNLOADS;case 3:case"MY_MUSIC":return x.MY_MUSIC;case 4:case"WINDOWS_MUSIC_LIBRARY":return x.WINDOWS_MUSIC_LIBRARY;case 5:case"ANDROID_MEDIA_STORE":return x.ANDROID_MEDIA_STORE;case 6:case"IOS_DOCUMENTS":return x.IOS_DOCUMENTS;default:return x.UNRECOGNIZED}}function H(e){switch(e){case 0:case"UNKNOWN":return U.UNKNOWN;case 1:case"SUCCESS":return U.SUCCESS;case 2:case"NOT_FOUND":return U.NOT_FOUND;case 3:case"NOT_CHANGED":return U.NOT_CHANGED;default:return U.UNRECOGNIZED}}!function(e){e[e.NO_SORT=0]="NO_SORT",e[e.ALBUM_ARTIST_NAME_ASC=1]="ALBUM_ARTIST_NAME_ASC",e[e.ALBUM_ARTIST_NAME_DESC=2]="ALBUM_ARTIST_NAME_DESC",e[e.TRACK_NUMBER_ASC=3]="TRACK_NUMBER_ASC",e[e.TRACK_NUMBER_DESC=4]="TRACK_NUMBER_DESC",e[e.DISC_NUMBER_ASC=5]="DISC_NUMBER_ASC",e[e.DISC_NUMBER_DESC=6]="DISC_NUMBER_DESC",e[e.ALBUM_NAME_ASC=7]="ALBUM_NAME_ASC",e[e.ALBUM_NAME_DESC=8]="ALBUM_NAME_DESC",e[e.ARTIST_NAME_ASC=9]="ARTIST_NAME_ASC",e[e.ARTIST_NAME_DESC=10]="ARTIST_NAME_DESC",e[e.NAME_ASC=11]="NAME_ASC",e[e.NAME_DESC=12]="NAME_DESC",e[e.ADD_TIME_ASC=13]="ADD_TIME_ASC",e[e.ADD_TIME_DESC=14]="ADD_TIME_DESC",e[e.LENGTH_ASC=15]="LENGTH_ASC",e[e.LENGTH_DESC=16]="LENGTH_DESC",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(D||(D={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.IDLE=1]="IDLE",e[e.IN_PROGRESS=2]="IN_PROGRESS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(M||(M={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.ITUNES=1]="ITUNES",e[e.DOWNLOADS=2]="DOWNLOADS",e[e.MY_MUSIC=3]="MY_MUSIC",e[e.WINDOWS_MUSIC_LIBRARY=4]="WINDOWS_MUSIC_LIBRARY",e[e.ANDROID_MEDIA_STORE=5]="ANDROID_MEDIA_STORE",e[e.IOS_DOCUMENTS=6]="IOS_DOCUMENTS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(x||(x={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.SUCCESS=1]="SUCCESS",e[e.NOT_FOUND=2]="NOT_FOUND",e[e.NOT_CHANGED=3]="NOT_CHANGED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(U||(U={}));const G={encode:(e,t=i.Writer.create())=>(void 0!==e.addTime&&t.uint32(8).uint32(e.addTime),void 0!==e.metadata&&E.encode(e.metadata,t.uint32(18).fork()).ldelim(),void 0!==e.collectionState&&k.encode(e.collectionState,t.uint32(26).fork()).ldelim(),void 0!==e.rowId&&t.uint32(34).string(e.rowId),void 0!==e.contentUri&&t.uint32(42).string(e.contentUri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={addTime:void 0,metadata:void 0,collectionState:void 0,rowId:void 0,contentUri:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.addTime=n.uint32();continue;case 2:if(18!==e)break;r.metadata=E.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.collectionState=k.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.rowId=n.string();continue;case 5:if(42!==e)break;r.contentUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({addTime:ne(e.addTime)?Number(e.addTime):void 0,metadata:ne(e.metadata)?E.fromJSON(e.metadata):void 0,collectionState:ne(e.collectionState)?k.fromJSON(e.collectionState):void 0,rowId:ne(e.rowId)?String(e.rowId):void 0,contentUri:ne(e.contentUri)?String(e.contentUri):void 0}),toJSON(e){const t={};return void 0!==e.addTime&&(t.addTime=Math.round(e.addTime)),void 0!==e.metadata&&(t.metadata=E.toJSON(e.metadata)),void 0!==e.collectionState&&(t.collectionState=k.toJSON(e.collectionState)),void 0!==e.rowId&&(t.rowId=e.rowId),void 0!==e.contentUri&&(t.contentUri=e.contentUri),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={addTime:void 0,metadata:void 0,collectionState:void 0,rowId:void 0,contentUri:void 0};return t.addTime=e.addTime??void 0,t.metadata=void 0!==e.metadata&&null!==e.metadata?E.fromPartial(e.metadata):void 0,t.collectionState=void 0!==e.collectionState&&null!==e.collectionState?k.fromPartial(e.collectionState):void 0,t.rowId=e.rowId??void 0,t.contentUri=e.contentUri??void 0,t}};const W={encode(e,t=i.Writer.create()){for(const n of e.item)G.encode(n,t.uint32(10).fork()).ldelim();return void 0!==e.unfilteredLength&&t.uint32(16).uint32(e.unfilteredLength),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={item:[],unfilteredLength:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item.push(G.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.unfilteredLength=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:Array.isArray(e?.item)?e.item.map((e=>G.fromJSON(e))):[],unfilteredLength:ne(e.unfilteredLength)?Number(e.unfilteredLength):void 0}),toJSON(e){const t={};return e.item?.length&&(t.item=e.item.map((e=>G.toJSON(e)))),void 0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={item:[],unfilteredLength:void 0};return t.item=e.item?.map((e=>G.fromPartial(e)))||[],t.unfilteredLength=e.unfilteredLength??void 0,t}};const j={encode:(e,t=i.Writer.create())=>(0!==e.statusCode&&t.uint32(8).int32(e.statusCode),""!==e.reason&&t.uint32(18).string(e.reason),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={statusCode:0,reason:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.statusCode=n.int32();continue;case 2:if(18!==e)break;r.reason=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({statusCode:ne(e.statusCode)?Number(e.statusCode):0,reason:ne(e.reason)?String(e.reason):""}),toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.reason&&(t.reason=e.reason),t},create:e=>j.fromPartial(e??{}),fromPartial(e){const t={statusCode:0,reason:""};return t.statusCode=e.statusCode??0,t.reason=e.reason??"",t}};const Y={encode:(e,t=i.Writer.create())=>(0!==e.start&&t.uint32(8).int32(e.start),0!==e.length&&t.uint32(16).int32(e.length),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={start:0,length:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.start=n.int32();continue;case 2:if(16!==e)break;r.length=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({start:ne(e.start)?Number(e.start):0,length:ne(e.length)?Number(e.length):0}),toJSON(e){const t={};return 0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),t},create:e=>Y.fromPartial(e??{}),fromPartial(e){const t={start:0,length:0};return t.start=e.start??0,t.length=e.length??0,t}};const z={encode:(e,t=i.Writer.create())=>(""!==e.textFilter&&t.uint32(10).string(e.textFilter),0!==e.sortBy&&t.uint32(16).int32(e.sortBy),void 0!==e.range&&Y.encode(e.range,t.uint32(26).fork()).ldelim(),0!==e.minLength&&t.uint32(32).uint32(e.minLength),!0===e.removeDuplicateLinks&&t.uint32(40).bool(e.removeDuplicateLinks),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={textFilter:"",sortBy:0,range:void 0,minLength:0,removeDuplicateLinks:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.textFilter=n.string();continue;case 2:if(16!==e)break;r.sortBy=n.int32();continue;case 3:if(26!==e)break;r.range=Y.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.minLength=n.uint32();continue;case 5:if(40!==e)break;r.removeDuplicateLinks=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({textFilter:ne(e.textFilter)?String(e.textFilter):"",sortBy:ne(e.sortBy)?V(e.sortBy):0,range:ne(e.range)?Y.fromJSON(e.range):void 0,minLength:ne(e.minLength)?Number(e.minLength):0,removeDuplicateLinks:!!ne(e.removeDuplicateLinks)&&Boolean(e.removeDuplicateLinks)}),toJSON(e){const t={};return""!==e.textFilter&&(t.textFilter=e.textFilter),0!==e.sortBy&&(t.sortBy=function(e){switch(e){case D.NO_SORT:return"NO_SORT";case D.ALBUM_ARTIST_NAME_ASC:return"ALBUM_ARTIST_NAME_ASC";case D.ALBUM_ARTIST_NAME_DESC:return"ALBUM_ARTIST_NAME_DESC";case D.TRACK_NUMBER_ASC:return"TRACK_NUMBER_ASC";case D.TRACK_NUMBER_DESC:return"TRACK_NUMBER_DESC";case D.DISC_NUMBER_ASC:return"DISC_NUMBER_ASC";case D.DISC_NUMBER_DESC:return"DISC_NUMBER_DESC";case D.ALBUM_NAME_ASC:return"ALBUM_NAME_ASC";case D.ALBUM_NAME_DESC:return"ALBUM_NAME_DESC";case D.ARTIST_NAME_ASC:return"ARTIST_NAME_ASC";case D.ARTIST_NAME_DESC:return"ARTIST_NAME_DESC";case D.NAME_ASC:return"NAME_ASC";case D.NAME_DESC:return"NAME_DESC";case D.ADD_TIME_ASC:return"ADD_TIME_ASC";case D.ADD_TIME_DESC:return"ADD_TIME_DESC";case D.LENGTH_ASC:return"LENGTH_ASC";case D.LENGTH_DESC:return"LENGTH_DESC";case D.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.sortBy)),void 0!==e.range&&(t.range=Y.toJSON(e.range)),0!==e.minLength&&(t.minLength=Math.round(e.minLength)),!0===e.removeDuplicateLinks&&(t.removeDuplicateLinks=e.removeDuplicateLinks),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t={textFilter:"",sortBy:0,range:void 0,minLength:0,removeDuplicateLinks:!1};return t.textFilter=e.textFilter??"",t.sortBy=e.sortBy??0,t.range=void 0!==e.range&&null!==e.range?Y.fromPartial(e.range):void 0,t.minLength=e.minLength??0,t.removeDuplicateLinks=e.removeDuplicateLinks??!1,t}};const K={encode:(e,t=i.Writer.create())=>(void 0!==e.query&&z.encode(e.query,t.uint32(10).fork()).ldelim(),void 0!==e.policy&&P.encode(e.policy,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={query:void 0,policy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.query=z.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.policy=P.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({query:ne(e.query)?z.fromJSON(e.query):void 0,policy:ne(e.policy)?P.fromJSON(e.policy):void 0}),toJSON(e){const t={};return void 0!==e.query&&(t.query=z.toJSON(e.query)),void 0!==e.policy&&(t.policy=P.toJSON(e.policy)),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={query:void 0,policy:void 0};return t.query=void 0!==e.query&&null!==e.query?z.fromPartial(e.query):void 0,t.policy=void 0!==e.policy&&null!==e.policy?P.fromPartial(e.policy):void 0,t}};const J={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&j.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.data&&W.encode(e.data,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:void 0,data:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.status=j.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.data=W.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:ne(e.status)?j.fromJSON(e.status):void 0,data:ne(e.data)?W.fromJSON(e.data):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=j.toJSON(e.status)),void 0!==e.data&&(t.data=W.toJSON(e.data)),t},create:e=>J.fromPartial(e??{}),fromPartial(e){const t={status:void 0,data:void 0};return t.status=void 0!==e.status&&null!==e.status?j.fromPartial(e.status):void 0,t.data=void 0!==e.data&&null!==e.data?W.fromPartial(e.data):void 0,t}};const q={encode:(e,t=i.Writer.create())=>(0!==e.scannerStatus&&t.uint32(8).int32(e.scannerStatus),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={scannerStatus:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.scannerStatus=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({scannerStatus:ne(e.scannerStatus)?F(e.scannerStatus):0}),toJSON(e){const t={};return 0!==e.scannerStatus&&(t.scannerStatus=function(e){switch(e){case M.UNKNOWN:return"UNKNOWN";case M.IDLE:return"IDLE";case M.IN_PROGRESS:return"IN_PROGRESS";case M.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.scannerStatus)),t},create:e=>q.fromPartial(e??{}),fromPartial(e){const t={scannerStatus:0};return t.scannerStatus=e.scannerStatus??0,t}};const X={encode:(e,t=i.Writer.create())=>(0!==e.id&&t.uint32(8).int32(e.id),!0===e.enabled&&t.uint32(16).bool(e.enabled),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:0,enabled:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.id=n.int32();continue;case 2:if(16!==e)break;r.enabled=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:ne(e.id)?B(e.id):0,enabled:!!ne(e.enabled)&&Boolean(e.enabled)}),toJSON(e){const t={};return 0!==e.id&&(t.id=function(e){switch(e){case x.UNKNOWN:return"UNKNOWN";case x.ITUNES:return"ITUNES";case x.DOWNLOADS:return"DOWNLOADS";case x.MY_MUSIC:return"MY_MUSIC";case x.WINDOWS_MUSIC_LIBRARY:return"WINDOWS_MUSIC_LIBRARY";case x.ANDROID_MEDIA_STORE:return"ANDROID_MEDIA_STORE";case x.IOS_DOCUMENTS:return"IOS_DOCUMENTS";case x.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.id)),!0===e.enabled&&(t.enabled=e.enabled),t},create:e=>X.fromPartial(e??{}),fromPartial(e){const t={id:0,enabled:!1};return t.id=e.id??0,t.enabled=e.enabled??!1,t}};const $={encode:(e,t=i.Writer.create())=>(""!==e.path&&t.uint32(10).string(e.path),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={path:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.path=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({path:ne(e.path)?String(e.path):""}),toJSON(e){const t={};return""!==e.path&&(t.path=e.path),t},create:e=>$.fromPartial(e??{}),fromPartial(e){const t={path:""};return t.path=e.path??"",t}};const Z={encode(e,t=i.Writer.create()){for(const n of e.defaultSources)X.encode(n,t.uint32(10).fork()).ldelim();for(const n of e.folders)$.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={defaultSources:[],folders:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.defaultSources.push(X.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.folders.push($.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({defaultSources:Array.isArray(e?.defaultSources)?e.defaultSources.map((e=>X.fromJSON(e))):[],folders:Array.isArray(e?.folders)?e.folders.map((e=>$.fromJSON(e))):[]}),toJSON(e){const t={};return e.defaultSources?.length&&(t.defaultSources=e.defaultSources.map((e=>X.toJSON(e)))),e.folders?.length&&(t.folders=e.folders.map((e=>$.toJSON(e)))),t},create:e=>Z.fromPartial(e??{}),fromPartial(e){const t={defaultSources:[],folders:[]};return t.defaultSources=e.defaultSources?.map((e=>X.fromPartial(e)))||[],t.folders=e.folders?.map((e=>$.fromPartial(e)))||[],t}};const Q={encode:(e,t=i.Writer.create())=>(0!==e.result&&t.uint32(8).int32(e.result),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={result:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.result=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({result:ne(e.result)?H(e.result):0}),toJSON(e){const t={};return 0!==e.result&&(t.result=function(e){switch(e){case U.UNKNOWN:return"UNKNOWN";case U.SUCCESS:return"SUCCESS";case U.NOT_FOUND:return"NOT_FOUND";case U.NOT_CHANGED:return"NOT_CHANGED";case U.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.result)),t},create:e=>Q.fromPartial(e??{}),fromPartial(e){const t={result:0};return t.result=e.result??0,t}};const ee={encode(e,t=i.Writer.create()){for(const n of e.sources)X.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sources:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sources.push(X.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sources:Array.isArray(e?.sources)?e.sources.map((e=>X.fromJSON(e))):[]}),toJSON(e){const t={};return e.sources?.length&&(t.sources=e.sources.map((e=>X.toJSON(e)))),t},create:e=>ee.fromPartial(e??{}),fromPartial(e){const t={sources:[]};return t.sources=e.sources?.map((e=>X.fromPartial(e)))||[],t}};const te={encode(e,t=i.Writer.create()){for(const n of e.sources)Q.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sources:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sources.push(Q.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sources:Array.isArray(e?.sources)?e.sources.map((e=>Q.fromJSON(e))):[]}),toJSON(e){const t={};return e.sources?.length&&(t.sources=e.sources.map((e=>Q.toJSON(e)))),t},create:e=>te.fromPartial(e??{}),fromPartial(e){const t={sources:[]};return t.sources=e.sources?.map((e=>Q.fromPartial(e)))||[],t}};function ne(e){return null!=e}const ie={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>ie.fromPartial(e??{}),fromPartial:e=>({})};class oe{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getTracks(e,t){const n=oe.SERVICE_ID,o="GetTracks",r=K.fromPartial(e),a=K.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=J.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeTracks(e,t){const n=oe.SERVICE_ID,o="SubscribeTracks",r=K.fromPartial(e),a=K.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=J.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getScannerStatus(e,t){const n=oe.SERVICE_ID,o="GetScannerStatus",r=ie.fromPartial(e),a=ie.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=q.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeScannerStatus(e,t){const n=oe.SERVICE_ID,o="SubscribeScannerStatus",r=ie.fromPartial(e),a=ie.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=q.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getSources(e,t){const n=oe.SERVICE_ID,o="GetSources",r=ie.fromPartial(e),a=ie.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Z.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeSources(e,t){const n=oe.SERVICE_ID,o="SubscribeSources",r=ie.fromPartial(e),a=ie.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Z.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}mutateDefaultSource(e,t){const n=oe.SERVICE_ID,o="MutateDefaultSource",r=X.fromPartial(e),a=X.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Q.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}mutateDefaultSources(e,t){const n=oe.SERVICE_ID,o="MutateDefaultSources",r=ee.fromPartial(e),a=ee.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=te.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}addFolder(e,t){const n=oe.SERVICE_ID,o="AddFolder",r=$.fromPartial(e),a=$.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Q.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}removeFolder(e,t){const n=oe.SERVICE_ID,o="RemoveFolder",r=$.fromPartial(e),a=$.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Q.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}notifyDefaultSources(e,t){const n=oe.SERVICE_ID,o="NotifyDefaultSources",r=ie.fromPartial(e),a=ie.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ie.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.local_files_esperanto.proto.LocalFiles";static METHODS={getTracks:{isStreaming:!1,requestType:K,responseType:J},subscribeTracks:{isStreaming:!0,requestType:K,responseType:J},getScannerStatus:{isStreaming:!1,requestType:ie,responseType:q},subscribeScannerStatus:{isStreaming:!0,requestType:ie,responseType:q},getSources:{isStreaming:!1,requestType:ie,responseType:Z},subscribeSources:{isStreaming:!0,requestType:ie,responseType:Z},mutateDefaultSource:{isStreaming:!1,requestType:X,responseType:Q},mutateDefaultSources:{isStreaming:!1,requestType:ee,responseType:te},addFolder:{isStreaming:!1,requestType:$,responseType:Q},removeFolder:{isStreaming:!1,requestType:$,responseType:Q},notifyDefaultSources:{isStreaming:!1,requestType:ie,responseType:ie}};static DECODERS={GetTracks:{request:K.decode,response:J.decode},SubscribeTracks:{request:K.decode,response:J.decode},GetScannerStatus:{request:ie.decode,response:q.decode},SubscribeScannerStatus:{request:ie.decode,response:q.decode},GetSources:{request:ie.decode,response:Z.decode},SubscribeSources:{request:ie.decode,response:Z.decode},MutateDefaultSource:{request:X.decode,response:Q.decode},MutateDefaultSources:{request:ee.decode,response:te.decode},AddFolder:{request:$.decode,response:Q.decode},RemoveFolder:{request:$.decode,response:Q.decode},NotifyDefaultSources:{request:ie.decode,response:ie.decode}}}},95547:(e,t,n)=>{"use strict";n.d(t,{W1:()=>$,U9:()=>De,WN:()=>Ee,zZ:()=>X,C8:()=>Z,rM:()=>ze,A5:()=>Ye,qM:()=>Ke});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};var r=n(87252);function a(){return{cached:BigInt("0"),offline:BigInt("0"),memory:BigInt("0")}}const s={encode:(e,t=i.Writer.create())=>(e.cached!==BigInt("0")&&t.uint32(8).int64(e.cached.toString()),e.offline!==BigInt("0")&&t.uint32(16).int64(e.offline.toString()),e.memory!==BigInt("0")&&t.uint32(24).int64(e.memory.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=a();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.cached=c(n.int64());continue;case 2:if(16!==e)break;r.offline=c(n.int64());continue;case 3:if(24!==e)break;r.memory=c(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({cached:l(e.cached)?BigInt(e.cached):BigInt("0"),offline:l(e.offline)?BigInt(e.offline):BigInt("0"),memory:l(e.memory)?BigInt(e.memory):BigInt("0")}),toJSON(e){const t={};return e.cached!==BigInt("0")&&(t.cached=e.cached.toString()),e.offline!==BigInt("0")&&(t.offline=e.offline.toString()),e.memory!==BigInt("0")&&(t.memory=e.memory.toString()),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t=a();return t.cached=e.cached??BigInt("0"),t.offline=e.offline??BigInt("0"),t.memory=e.memory??BigInt("0"),t}};function c(e){return BigInt(e.toString())}function l(e){return null!=e}var u;function d(){return{typeUrl:"",value:new Uint8Array(0)}}i.util.Long!==r&&(i.util.Long=r,i.configure()),function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(u||(u={}));const p={encode:(e,t=i.Writer.create())=>(""!==e.typeUrl&&t.uint32(10).string(e.typeUrl),0!==e.value.length&&t.uint32(18).bytes(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=d();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.typeUrl=n.string();continue;case 2:if(18!==e)break;r.value=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({typeUrl:m(e.typeUrl)?String(e.typeUrl):"",value:m(e.value)?f(e.value):new Uint8Array(0)}),toJSON(e){const t={};return""!==e.typeUrl&&(t.typeUrl=e.typeUrl),0!==e.value.length&&(t.value=function(e){if(h.Buffer)return h.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),h.btoa(t.join(""))}}(e.value)),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t=d();return t.typeUrl=e.typeUrl??"",t.value=e.value??new Uint8Array(0),t}},h=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function f(e){if(h.Buffer)return Uint8Array.from(h.Buffer.from(e,"base64"));{const t=h.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function m(e){return null!=e}var _,g,E,v;function y(e){switch(e){case 0:case"UNKNOWN":return E.UNKNOWN;case 1:case"MISSING":return E.MISSING;case 2:case"COMPLETE":return E.COMPLETE;case 3:case"NOT_APPLICABLE":return E.NOT_APPLICABLE;default:return E.UNRECOGNIZED}}function b(e){switch(e){case 0:case"OK":return v.OK;case 1:case"TEMPORARY_ERROR":return v.TEMPORARY_ERROR;case 2:case"PERMANENT_ERROR":return v.PERMANENT_ERROR;case 3:case"DISK_FULL":return v.DISK_FULL;default:return v.UNRECOGNIZED}}!function(e){e[e.EMPTY=0]="EMPTY",e[e.TRACK=1]="TRACK",e[e.EPISODE=2]="EPISODE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(_||(_={})),function(e){e[e.OTHER=0]="OTHER",e[e.AUDIO=1]="AUDIO",e[e.DRM=2]="DRM",e[e.IMAGE=3]="IMAGE",e[e.VIDEO=4]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(g||(g={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.MISSING=1]="MISSING",e[e.COMPLETE=2]="COMPLETE",e[e.NOT_APPLICABLE=3]="NOT_APPLICABLE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(E||(E={})),function(e){e[e.OK=0]="OK",e[e.TEMPORARY_ERROR=1]="TEMPORARY_ERROR",e[e.PERMANENT_ERROR=2]="PERMANENT_ERROR",e[e.DISK_FULL=3]="DISK_FULL",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(v||(v={}));const S={encode:(e,t=i.Writer.create())=>(0!==e.bitrate&&t.uint32(8).int32(e.bitrate),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={bitrate:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.bitrate=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({bitrate:W(e.bitrate)?Number(e.bitrate):0}),toJSON(e){const t={};return 0!==e.bitrate&&(t.bitrate=Math.round(e.bitrate)),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={bitrate:0};return t.bitrate=e.bitrate??0,t}};const T={encode:(e,t=i.Writer.create())=>(void 0!==e.header&&A.encode(e.header,t.uint32(10).fork()).ldelim(),void 0!==e.extensionData&&p.encode(e.extensionData,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={header:void 0,extensionData:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.header=A.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.extensionData=p.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({header:W(e.header)?A.fromJSON(e.header):void 0,extensionData:W(e.extensionData)?p.fromJSON(e.extensionData):void 0}),toJSON(e){const t={};return void 0!==e.header&&(t.header=A.toJSON(e.header)),void 0!==e.extensionData&&(t.extensionData=p.toJSON(e.extensionData)),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={header:void 0,extensionData:void 0};return t.header=void 0!==e.header&&null!==e.header?A.fromPartial(e.header):void 0,t.extensionData=void 0!==e.extensionData&&null!==e.extensionData?p.fromPartial(e.extensionData):void 0,t}};const A={encode:(e,t=i.Writer.create())=>(0!==e.statusCode&&t.uint32(8).int32(e.statusCode),!0===e.isEmpty&&t.uint32(16).bool(e.isEmpty),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={statusCode:0,isEmpty:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.statusCode=n.int32();continue;case 2:if(16!==e)break;r.isEmpty=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({statusCode:W(e.statusCode)?Number(e.statusCode):0,isEmpty:!!W(e.isEmpty)&&Boolean(e.isEmpty)}),toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),!0===e.isEmpty&&(t.isEmpty=e.isEmpty),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={statusCode:0,isEmpty:!1};return t.statusCode=e.statusCode??0,t.isEmpty=e.isEmpty??!1,t}};const I={encode(e,t=i.Writer.create()){void 0!==e.header&&O.encode(e.header,t.uint32(10).fork()).ldelim();for(const n of e.query)C.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={header:void 0,query:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.header=O.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.query.push(C.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({header:W(e.header)?O.fromJSON(e.header):void 0,query:Array.isArray(e?.query)?e.query.map((e=>C.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.header&&(t.header=O.toJSON(e.header)),e.query?.length&&(t.query=e.query.map((e=>C.toJSON(e)))),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t={header:void 0,query:[]};return t.header=void 0!==e.header&&null!==e.header?O.fromPartial(e.header):void 0,t.query=e.query?.map((e=>C.fromPartial(e)))||[],t}};const O={encode:(e,t=i.Writer.create())=>(void 0!==e.targetFormat&&S.encode(e.targetFormat,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={targetFormat:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.targetFormat=S.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({targetFormat:W(e.targetFormat)?S.fromJSON(e.targetFormat):void 0}),toJSON(e){const t={};return void 0!==e.targetFormat&&(t.targetFormat=S.toJSON(e.targetFormat)),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={targetFormat:void 0};return t.targetFormat=void 0!==e.targetFormat&&null!==e.targetFormat?S.fromPartial(e.targetFormat):void 0,t}};const C={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),Object.entries(e.metadata).forEach((([e,n])=>{R.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",metadata:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;const t=R.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:W(e.link)?String(e.link):"",metadata:G(e.metadata)?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[Number(t)]=T.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(""!==e.link&&(t.link=e.link),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=T.toJSON(n)})))}return t},create:e=>C.fromPartial(e??{}),fromPartial(e){const t={link:"",metadata:{}};return t.link=e.link??"",t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[Number(t)]=T.fromPartial(n)),e)),{}),t}};const R={encode:(e,t=i.Writer.create())=>(0!==e.key&&t.uint32(8).int32(e.key),void 0!==e.value&&T.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:0,value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.key=n.int32();continue;case 2:if(18!==e)break;r.value=T.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:W(e.key)?Number(e.key):0,value:W(e.value)?T.fromJSON(e.value):void 0}),toJSON(e){const t={};return 0!==e.key&&(t.key=Math.round(e.key)),void 0!==e.value&&(t.value=T.toJSON(e.value)),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={key:0,value:void 0};return t.key=e.key??0,t.value=void 0!==e.value&&null!==e.value?T.fromPartial(e.value):void 0,t}};const N={encode:(e,t=i.Writer.create())=>(Object.entries(e.results).forEach((([e,n])=>{k.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={results:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=k.decode(n,n.uint32());void 0!==t.value&&(r.results[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({results:G(e.results)?Object.entries(e.results).reduce(((e,[t,n])=>(e[t]=L.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.results){const n=Object.entries(e.results);n.length>0&&(t.results={},n.forEach((([e,n])=>{t.results[e]=L.toJSON(n)})))}return t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={results:{}};return t.results=Object.entries(e.results??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=L.fromPartial(n)),e)),{}),t}};function P(){return{status:0,estimatedFileSize:BigInt("0")}}const L={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),e.estimatedFileSize!==BigInt("0")&&t.uint32(16).int64(e.estimatedFileSize.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=P();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(16!==e)break;r.estimatedFileSize=H(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:W(e.status)?y(e.status):0,estimatedFileSize:W(e.estimatedFileSize)?BigInt(e.estimatedFileSize):BigInt("0")}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case E.UNKNOWN:return"UNKNOWN";case E.MISSING:return"MISSING";case E.COMPLETE:return"COMPLETE";case E.NOT_APPLICABLE:return"NOT_APPLICABLE";case E.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),e.estimatedFileSize!==BigInt("0")&&(t.estimatedFileSize=e.estimatedFileSize.toString()),t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t=P();return t.status=e.status??0,t.estimatedFileSize=e.estimatedFileSize??BigInt("0"),t}};const k={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&L.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=L.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:W(e.key)?String(e.key):"",value:W(e.value)?L.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=L.toJSON(e.value)),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?L.fromPartial(e.value):void 0,t}};const w={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),void 0!==e.targetFormat&&S.encode(e.targetFormat,t.uint32(18).fork()).ldelim(),Object.entries(e.metadata).forEach((([e,n])=>{D.encode({key:e,value:n},t.uint32(26).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",targetFormat:void 0,metadata:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.targetFormat=S.decode(n,n.uint32());continue;case 3:if(26!==e)break;const t=D.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:W(e.link)?String(e.link):"",targetFormat:W(e.targetFormat)?S.fromJSON(e.targetFormat):void 0,metadata:G(e.metadata)?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[Number(t)]=T.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(""!==e.link&&(t.link=e.link),void 0!==e.targetFormat&&(t.targetFormat=S.toJSON(e.targetFormat)),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=T.toJSON(n)})))}return t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={link:"",targetFormat:void 0,metadata:{}};return t.link=e.link??"",t.targetFormat=void 0!==e.targetFormat&&null!==e.targetFormat?S.fromPartial(e.targetFormat):void 0,t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[Number(t)]=T.fromPartial(n)),e)),{}),t}};const D={encode:(e,t=i.Writer.create())=>(0!==e.key&&t.uint32(8).int32(e.key),void 0!==e.value&&T.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:0,value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.key=n.int32();continue;case 2:if(18!==e)break;r.value=T.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:W(e.key)?Number(e.key):0,value:W(e.value)?T.fromJSON(e.value):void 0}),toJSON(e){const t={};return 0!==e.key&&(t.key=Math.round(e.key)),void 0!==e.value&&(t.value=T.toJSON(e.value)),t},create:e=>D.fromPartial(e??{}),fromPartial(e){const t={key:0,value:void 0};return t.key=e.key??0,t.value=void 0!==e.value&&null!==e.value?T.fromPartial(e.value):void 0,t}};function M(){return{link:"",complete:!1,fileSize:BigInt("0"),bytesDownloaded:BigInt("0"),error:0}}const x={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),!0===e.complete&&t.uint32(16).bool(e.complete),e.fileSize!==BigInt("0")&&t.uint32(24).int64(e.fileSize.toString()),e.bytesDownloaded!==BigInt("0")&&t.uint32(32).int64(e.bytesDownloaded.toString()),0!==e.error&&t.uint32(40).int32(e.error),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=M();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(16!==e)break;r.complete=n.bool();continue;case 3:if(24!==e)break;r.fileSize=H(n.int64());continue;case 4:if(32!==e)break;r.bytesDownloaded=H(n.int64());continue;case 5:if(40!==e)break;r.error=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:W(e.link)?String(e.link):"",complete:!!W(e.complete)&&Boolean(e.complete),fileSize:W(e.fileSize)?BigInt(e.fileSize):BigInt("0"),bytesDownloaded:W(e.bytesDownloaded)?BigInt(e.bytesDownloaded):BigInt("0"),error:W(e.error)?b(e.error):0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),!0===e.complete&&(t.complete=e.complete),e.fileSize!==BigInt("0")&&(t.fileSize=e.fileSize.toString()),e.bytesDownloaded!==BigInt("0")&&(t.bytesDownloaded=e.bytesDownloaded.toString()),0!==e.error&&(t.error=function(e){switch(e){case v.OK:return"OK";case v.TEMPORARY_ERROR:return"TEMPORARY_ERROR";case v.PERMANENT_ERROR:return"PERMANENT_ERROR";case v.DISK_FULL:return"DISK_FULL";case v.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.error)),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t=M();return t.link=e.link??"",t.complete=e.complete??!1,t.fileSize=e.fileSize??BigInt("0"),t.bytesDownloaded=e.bytesDownloaded??BigInt("0"),t.error=e.error??0,t}};const U={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:W(e.link)?String(e.link):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),t},create:e=>U.fromPartial(e??{}),fromPartial(e){const t={link:""};return t.link=e.link??"",t}};const V={encode(e,t=i.Writer.create()){void 0!==e.header&&F.encode(e.header,t.uint32(10).fork()).ldelim();for(const n of e.query)B.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={header:void 0,query:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.header=F.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.query.push(B.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({header:W(e.header)?F.fromJSON(e.header):void 0,query:Array.isArray(e?.query)?e.query.map((e=>B.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.header&&(t.header=F.toJSON(e.header)),e.query?.length&&(t.query=e.query.map((e=>B.toJSON(e)))),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t={header:void 0,query:[]};return t.header=void 0!==e.header&&null!==e.header?F.fromPartial(e.header):void 0,t.query=e.query?.map((e=>B.fromPartial(e)))||[],t}};const F={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>F.fromPartial(e??{}),fromPartial:e=>({})};const B={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:W(e.link)?String(e.link):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={link:""};return t.link=e.link??"",t}};function H(e){return BigInt(e.toString())}function G(e){return"object"==typeof e&&null!==e}function W(e){return null!=e}i.util.Long!==r&&(i.util.Long=r,i.configure());const j={encode:(e,t=i.Writer.create())=>(void 0!==e.identify&&I.encode(e.identify,t.uint32(10).fork()).ldelim(),void 0!==e.download&&w.encode(e.download,t.uint32(18).fork()).ldelim(),void 0!==e.stopDownload&&U.encode(e.stopDownload,t.uint32(26).fork()).ldelim(),void 0!==e.remove&&V.encode(e.remove,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={identify:void 0,download:void 0,stopDownload:void 0,remove:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.identify=I.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.download=w.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.stopDownload=U.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.remove=V.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({identify:z(e.identify)?I.fromJSON(e.identify):void 0,download:z(e.download)?w.fromJSON(e.download):void 0,stopDownload:z(e.stopDownload)?U.fromJSON(e.stopDownload):void 0,remove:z(e.remove)?V.fromJSON(e.remove):void 0}),toJSON(e){const t={};return void 0!==e.identify&&(t.identify=I.toJSON(e.identify)),void 0!==e.download&&(t.download=w.toJSON(e.download)),void 0!==e.stopDownload&&(t.stopDownload=U.toJSON(e.stopDownload)),void 0!==e.remove&&(t.remove=V.toJSON(e.remove)),t},create:e=>j.fromPartial(e??{}),fromPartial(e){const t={identify:void 0,download:void 0,stopDownload:void 0,remove:void 0};return t.identify=void 0!==e.identify&&null!==e.identify?I.fromPartial(e.identify):void 0,t.download=void 0!==e.download&&null!==e.download?w.fromPartial(e.download):void 0,t.stopDownload=void 0!==e.stopDownload&&null!==e.stopDownload?U.fromPartial(e.stopDownload):void 0,t.remove=void 0!==e.remove&&null!==e.remove?V.fromPartial(e.remove):void 0,t}};const Y={encode:(e,t=i.Writer.create())=>(void 0!==e.identify&&N.encode(e.identify,t.uint32(10).fork()).ldelim(),void 0!==e.download&&x.encode(e.download,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={identify:void 0,download:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.identify=N.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.download=x.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({identify:z(e.identify)?N.fromJSON(e.identify):void 0,download:z(e.download)?x.fromJSON(e.download):void 0}),toJSON(e){const t={};return void 0!==e.identify&&(t.identify=N.toJSON(e.identify)),void 0!==e.download&&(t.download=x.toJSON(e.download)),t},create:e=>Y.fromPartial(e??{}),fromPartial(e){const t={identify:void 0,download:void 0};return t.identify=void 0!==e.identify&&null!==e.identify?N.fromPartial(e.identify):void 0,t.download=void 0!==e.download&&null!==e.download?x.fromPartial(e.download):void 0,t}};function z(e){return null!=e}function K(){return{seconds:BigInt("0"),nanos:0}}const J={encode:(e,t=i.Writer.create())=>(e.seconds!==BigInt("0")&&t.uint32(8).int64(e.seconds.toString()),0!==e.nanos&&t.uint32(16).int32(e.nanos),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=K();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.seconds=(a=n.int64(),BigInt(a.toString()));continue;case 2:if(16!==e)break;r.nanos=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({seconds:q(e.seconds)?BigInt(e.seconds):BigInt("0"),nanos:q(e.nanos)?Number(e.nanos):0}),toJSON(e){const t={};return e.seconds!==BigInt("0")&&(t.seconds=e.seconds.toString()),0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t},create:e=>J.fromPartial(e??{}),fromPartial(e){const t=K();return t.seconds=e.seconds??BigInt("0"),t.nanos=e.nanos??0,t}};function q(e){return null!=e}var X,$,Z;function Q(e){switch(e){case 0:case"SUCCESS":return X.SUCCESS;case 1:case"GENERIC":return X.GENERIC;case 8:case"DISK_FULL":return X.DISK_FULL;case 14:case"EXPIRED":return X.EXPIRED;case 19:case"TOO_MANY_TRACKS":return X.TOO_MANY_TRACKS;case 23:case"NOT_ALLOWED":return X.NOT_ALLOWED;case 36:case"CONNECTION_DISABLED":return X.CONNECTION_DISABLED;case 7028:case"DEVICE_LIMIT_REACHED":return X.DEVICE_LIMIT_REACHED;default:return X.UNRECOGNIZED}}function ee(e){switch(e){case 0:case"NOT_DOWNLOADED":return $.NOT_DOWNLOADED;case 1:case"ERROR":return $.ERROR;case 2:case"REQUESTED":return $.REQUESTED;case 3:case"DOWNLOADED":return $.DOWNLOADED;case 4:case"DOWNLOADING":return $.DOWNLOADING;case 5:case"WAITING":return $.WAITING;default:return $.UNRECOGNIZED}}function te(e){switch(e){case 0:case"NOT_DOWNLOADED":return Z.NOT_DOWNLOADED;case 1:case"ERROR":return Z.ERROR;case 2:case"DOWNLOADED_EXPIRED":return Z.DOWNLOADED_EXPIRED;case 3:case"DOWNLOADED":return Z.DOWNLOADED;case 4:case"WAITING_FOR_REDOWNLOAD":return Z.WAITING_FOR_REDOWNLOAD;case 5:case"DOWNLOADING":return Z.DOWNLOADING;case 6:case"WAITING":return Z.WAITING;case 7:case"WAITING_LIMIT_EXCEEDED":return Z.WAITING_LIMIT_EXCEEDED;default:return Z.UNRECOGNIZED}}i.util.Long!==r&&(i.util.Long=r,i.configure()),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.GENERIC=1]="GENERIC",e[e.DISK_FULL=8]="DISK_FULL",e[e.EXPIRED=14]="EXPIRED",e[e.TOO_MANY_TRACKS=19]="TOO_MANY_TRACKS",e[e.NOT_ALLOWED=23]="NOT_ALLOWED",e[e.CONNECTION_DISABLED=36]="CONNECTION_DISABLED",e[e.DEVICE_LIMIT_REACHED=7028]="DEVICE_LIMIT_REACHED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(X||(X={})),function(e){e[e.NOT_DOWNLOADED=0]="NOT_DOWNLOADED",e[e.ERROR=1]="ERROR",e[e.REQUESTED=2]="REQUESTED",e[e.DOWNLOADED=3]="DOWNLOADED",e[e.DOWNLOADING=4]="DOWNLOADING",e[e.WAITING=5]="WAITING",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}($||($={})),function(e){e[e.NOT_DOWNLOADED=0]="NOT_DOWNLOADED",e[e.ERROR=1]="ERROR",e[e.DOWNLOADED_EXPIRED=2]="DOWNLOADED_EXPIRED",e[e.DOWNLOADED=3]="DOWNLOADED",e[e.WAITING_FOR_REDOWNLOAD=4]="WAITING_FOR_REDOWNLOAD",e[e.DOWNLOADING=5]="DOWNLOADING",e[e.WAITING=6]="WAITING",e[e.WAITING_LIMIT_EXCEEDED=7]="WAITING_LIMIT_EXCEEDED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Z||(Z={}));const ne={encode:(e,t=i.Writer.create())=>(!0===e.allowed&&t.uint32(8).bool(e.allowed),!0===e.explicitlyEnabled&&t.uint32(16).bool(e.explicitlyEnabled),!0===e.implicitlyEnabled&&t.uint32(24).bool(e.implicitlyEnabled),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={allowed:!1,explicitlyEnabled:!1,implicitlyEnabled:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.allowed=n.bool();continue;case 2:if(16!==e)break;r.explicitlyEnabled=n.bool();continue;case 3:if(24!==e)break;r.implicitlyEnabled=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({allowed:!!je(e.allowed)&&Boolean(e.allowed),explicitlyEnabled:!!je(e.explicitlyEnabled)&&Boolean(e.explicitlyEnabled),implicitlyEnabled:!!je(e.implicitlyEnabled)&&Boolean(e.implicitlyEnabled)}),toJSON(e){const t={};return!0===e.allowed&&(t.allowed=e.allowed),!0===e.explicitlyEnabled&&(t.explicitlyEnabled=e.explicitlyEnabled),!0===e.implicitlyEnabled&&(t.implicitlyEnabled=e.implicitlyEnabled),t},create:e=>ne.fromPartial(e??{}),fromPartial(e){const t={allowed:!1,explicitlyEnabled:!1,implicitlyEnabled:!1};return t.allowed=e.allowed??!1,t.explicitlyEnabled=e.explicitlyEnabled??!1,t.implicitlyEnabled=e.implicitlyEnabled??!1,t}};const ie={encode:(e,t=i.Writer.create())=>(!0===e.enable&&t.uint32(8).bool(e.enable),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={enable:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.enable=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({enable:!!je(e.enable)&&Boolean(e.enable)}),toJSON(e){const t={};return!0===e.enable&&(t.enable=e.enable),t},create:e=>ie.fromPartial(e??{}),fromPartial(e){const t={enable:!1};return t.enable=e.enable??!1,t}};const oe={encode:(e,t=i.Writer.create())=>(!0===e.ok&&t.uint32(8).bool(e.ok),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={ok:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.ok=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({ok:!!je(e.ok)&&Boolean(e.ok)}),toJSON(e){const t={};return!0===e.ok&&(t.ok=e.ok),t},create:e=>oe.fromPartial(e??{}),fromPartial(e){const t={ok:!1};return t.ok=e.ok??!1,t}};const re={encode:(e,t=i.Writer.create())=>(0!==e.code&&t.uint32(8).int32(e.code),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={code:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.code=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({code:je(e.code)?Q(e.code):0}),toJSON(e){const t={};return 0!==e.code&&(t.code=function(e){switch(e){case X.SUCCESS:return"SUCCESS";case X.GENERIC:return"GENERIC";case X.DISK_FULL:return"DISK_FULL";case X.EXPIRED:return"EXPIRED";case X.TOO_MANY_TRACKS:return"TOO_MANY_TRACKS";case X.NOT_ALLOWED:return"NOT_ALLOWED";case X.CONNECTION_DISABLED:return"CONNECTION_DISABLED";case X.DEVICE_LIMIT_REACHED:return"DEVICE_LIMIT_REACHED";case X.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.code)),t},create:e=>re.fromPartial(e??{}),fromPartial(e){const t={code:0};return t.code=e.code??0,t}};const ae={encode:(e,t=i.Writer.create())=>(!0===e.items&&t.uint32(8).bool(e.items),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={items:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.items=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({items:!!je(e.items)&&Boolean(e.items)}),toJSON(e){const t={};return!0===e.items&&(t.items=e.items),t},create:e=>ae.fromPartial(e??{}),fromPartial(e){const t={items:!1};return t.items=e.items??!1,t}};const se={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),0!==e.state&&t.uint32(16).int32(e.state),0!==e.percentComplete&&t.uint32(29).float(e.percentComplete),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",state:0,percentComplete:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(16!==e)break;r.state=n.int32();continue;case 3:if(29!==e)break;r.percentComplete=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:je(e.uri)?String(e.uri):"",state:je(e.state)?ee(e.state):0,percentComplete:je(e.percentComplete)?Number(e.percentComplete):0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),0!==e.state&&(t.state=function(e){switch(e){case $.NOT_DOWNLOADED:return"NOT_DOWNLOADED";case $.ERROR:return"ERROR";case $.REQUESTED:return"REQUESTED";case $.DOWNLOADED:return"DOWNLOADED";case $.DOWNLOADING:return"DOWNLOADING";case $.WAITING:return"WAITING";case $.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.state)),0!==e.percentComplete&&(t.percentComplete=e.percentComplete),t},create:e=>se.fromPartial(e??{}),fromPartial(e){const t={uri:"",state:0,percentComplete:0};return t.uri=e.uri??"",t.state=e.state??0,t.percentComplete=e.percentComplete??0,t}};const ce={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),0!==e.state&&t.uint32(16).int32(e.state),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",state:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(16!==e)break;r.state=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:je(e.uri)?String(e.uri):"",state:je(e.state)?te(e.state):0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),0!==e.state&&(t.state=function(e){switch(e){case Z.NOT_DOWNLOADED:return"NOT_DOWNLOADED";case Z.ERROR:return"ERROR";case Z.DOWNLOADED_EXPIRED:return"DOWNLOADED_EXPIRED";case Z.DOWNLOADED:return"DOWNLOADED";case Z.WAITING_FOR_REDOWNLOAD:return"WAITING_FOR_REDOWNLOAD";case Z.DOWNLOADING:return"DOWNLOADING";case Z.WAITING:return"WAITING";case Z.WAITING_LIMIT_EXCEEDED:return"WAITING_LIMIT_EXCEEDED";case Z.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.state)),t},create:e=>ce.fromPartial(e??{}),fromPartial(e){const t={uri:"",state:0};return t.uri=e.uri??"",t.state=e.state??0,t}};const le={encode(e,t=i.Writer.create()){void 0!==e.context&&se.encode(e.context,t.uint32(10).fork()).ldelim();for(const n of e.items)ce.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={context:void 0,items:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.context=se.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.items.push(ce.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({context:je(e.context)?se.fromJSON(e.context):void 0,items:Array.isArray(e?.items)?e.items.map((e=>ce.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.context&&(t.context=se.toJSON(e.context)),e.items?.length&&(t.items=e.items.map((e=>ce.toJSON(e)))),t},create:e=>le.fromPartial(e??{}),fromPartial(e){const t={context:void 0,items:[]};return t.context=void 0!==e.context&&null!==e.context?se.fromPartial(e.context):void 0,t.items=e.items?.map((e=>ce.fromPartial(e)))||[],t}};const ue={encode:(e,t=i.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),""!==e.cacheId&&t.uint32(18).string(e.cacheId),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={deviceId:"",cacheId:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.deviceId=n.string();continue;case 2:if(18!==e)break;r.cacheId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({deviceId:je(e.deviceId)?String(e.deviceId):"",cacheId:je(e.cacheId)?String(e.cacheId):""}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),""!==e.cacheId&&(t.cacheId=e.cacheId),t},create:e=>ue.fromPartial(e??{}),fromPartial(e){const t={deviceId:"",cacheId:""};return t.deviceId=e.deviceId??"",t.cacheId=e.cacheId??"",t}};const de={encode:(e,t=i.Writer.create())=>(void 0!==e.device&&ue.encode(e.device,t.uint32(10).fork()).ldelim(),void 0!==e.context&&se.encode(e.context,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={device:void 0,context:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.device=ue.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.context=se.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({device:je(e.device)?ue.fromJSON(e.device):void 0,context:je(e.context)?se.fromJSON(e.context):void 0}),toJSON(e){const t={};return void 0!==e.device&&(t.device=ue.toJSON(e.device)),void 0!==e.context&&(t.context=se.toJSON(e.context)),t},create:e=>de.fromPartial(e??{}),fromPartial(e){const t={device:void 0,context:void 0};return t.device=void 0!==e.device&&null!==e.device?ue.fromPartial(e.device):void 0,t.context=void 0!==e.context&&null!==e.context?se.fromPartial(e.context):void 0,t}};const pe={encode(e,t=i.Writer.create()){void 0!==e.policy&&ae.encode(e.policy,t.uint32(10).fork()).ldelim(),void 0!==e.device&&ue.encode(e.device,t.uint32(18).fork()).ldelim();for(const n of e.uris)t.uint32(26).string(n);return void 0!==e.filtering&&he.encode(e.filtering,t.uint32(34).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={policy:void 0,device:void 0,uris:[],filtering:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.policy=ae.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.device=ue.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.uris.push(n.string());continue;case 4:if(34!==e)break;r.filtering=he.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({policy:je(e.policy)?ae.fromJSON(e.policy):void 0,device:je(e.device)?ue.fromJSON(e.device):void 0,uris:Array.isArray(e?.uris)?e.uris.map((e=>String(e))):[],filtering:je(e.filtering)?he.fromJSON(e.filtering):void 0}),toJSON(e){const t={};return void 0!==e.policy&&(t.policy=ae.toJSON(e.policy)),void 0!==e.device&&(t.device=ue.toJSON(e.device)),e.uris?.length&&(t.uris=e.uris),void 0!==e.filtering&&(t.filtering=he.toJSON(e.filtering)),t},create:e=>pe.fromPartial(e??{}),fromPartial(e){const t={policy:void 0,device:void 0,uris:[],filtering:void 0};return t.policy=void 0!==e.policy&&null!==e.policy?ae.fromPartial(e.policy):void 0,t.device=void 0!==e.device&&null!==e.device?ue.fromPartial(e.device):void 0,t.uris=e.uris?.map((e=>e))||[],t.filtering=void 0!==e.filtering&&null!==e.filtering?he.fromPartial(e.filtering):void 0,t}};const he={encode(e,t=i.Writer.create()){for(const n of e.itemUris)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={itemUris:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.itemUris.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({itemUris:Array.isArray(e?.itemUris)?e.itemUris.map((e=>String(e))):[]}),toJSON(e){const t={};return e.itemUris?.length&&(t.itemUris=e.itemUris),t},create:e=>he.fromPartial(e??{}),fromPartial(e){const t={itemUris:[]};return t.itemUris=e.itemUris?.map((e=>e))||[],t}};function fe(){return{contexts:[],error:BigInt("0")}}const me={encode(e,t=i.Writer.create()){for(const n of e.contexts)le.encode(n,t.uint32(10).fork()).ldelim();return e.error!==BigInt("0")&&t.uint32(16).int64(e.error.toString()),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=fe();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.contexts.push(le.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.error=We(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({contexts:Array.isArray(e?.contexts)?e.contexts.map((e=>le.fromJSON(e))):[],error:je(e.error)?BigInt(e.error):BigInt("0")}),toJSON(e){const t={};return e.contexts?.length&&(t.contexts=e.contexts.map((e=>le.toJSON(e)))),e.error!==BigInt("0")&&(t.error=e.error.toString()),t},create:e=>me.fromPartial(e??{}),fromPartial(e){const t=fe();return t.contexts=e.contexts?.map((e=>le.fromPartial(e)))||[],t.error=e.error??BigInt("0"),t}};const _e={encode(e,t=i.Writer.create()){for(const n of e.uris)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uris:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uris.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uris:Array.isArray(e?.uris)?e.uris.map((e=>String(e))):[]}),toJSON(e){const t={};return e.uris?.length&&(t.uris=e.uris),t},create:e=>_e.fromPartial(e??{}),fromPartial(e){const t={uris:[]};return t.uris=e.uris?.map((e=>e))||[],t}};const ge={encode(e,t=i.Writer.create()){for(const n of e.items)ce.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={items:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.items.push(ce.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({items:Array.isArray(e?.items)?e.items.map((e=>ce.fromJSON(e))):[]}),toJSON(e){const t={};return e.items?.length&&(t.items=e.items.map((e=>ce.toJSON(e)))),t},create:e=>ge.fromPartial(e??{}),fromPartial(e){const t={items:[]};return t.items=e.items?.map((e=>ce.fromPartial(e)))||[],t}};const Ee={encode:(e,t=i.Writer.create())=>(void 0!==e.device&&ue.encode(e.device,t.uint32(10).fork()).ldelim(),""!==e.uri&&t.uint32(18).string(e.uri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={device:void 0,uri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.device=ue.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.uri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({device:je(e.device)?ue.fromJSON(e.device):void 0,uri:je(e.uri)?String(e.uri):""}),toJSON(e){const t={};return void 0!==e.device&&(t.device=ue.toJSON(e.device)),""!==e.uri&&(t.uri=e.uri),t},create:e=>Ee.fromPartial(e??{}),fromPartial(e){const t={device:void 0,uri:""};return t.device=void 0!==e.device&&null!==e.device?ue.fromPartial(e.device):void 0,t.uri=e.uri??"",t}};function ve(){return{error:BigInt("0")}}const ye={encode:(e,t=i.Writer.create())=>(e.error!==BigInt("0")&&t.uint32(8).int64(e.error.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=ve();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.error=We(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({error:je(e.error)?BigInt(e.error):BigInt("0")}),toJSON(e){const t={};return e.error!==BigInt("0")&&(t.error=e.error.toString()),t},create:e=>ye.fromPartial(e??{}),fromPartial(e){const t=ve();return t.error=e.error??BigInt("0"),t}};function be(){return{queuedTracks:BigInt("0"),queuedBytes:BigInt("0"),downloadedTracks:BigInt("0"),downloadedBytes:BigInt("0"),totalTracks:BigInt("0"),totalBytes:BigInt("0"),downloading:!1,downloadSpeed:BigInt("0"),percentComplete:0,secondsLeft:BigInt("0")}}const Se={encode:(e,t=i.Writer.create())=>(e.queuedTracks!==BigInt("0")&&t.uint32(8).int64(e.queuedTracks.toString()),e.queuedBytes!==BigInt("0")&&t.uint32(16).int64(e.queuedBytes.toString()),e.downloadedTracks!==BigInt("0")&&t.uint32(24).int64(e.downloadedTracks.toString()),e.downloadedBytes!==BigInt("0")&&t.uint32(32).int64(e.downloadedBytes.toString()),e.totalTracks!==BigInt("0")&&t.uint32(40).int64(e.totalTracks.toString()),e.totalBytes!==BigInt("0")&&t.uint32(48).int64(e.totalBytes.toString()),!0===e.downloading&&t.uint32(56).bool(e.downloading),e.downloadSpeed!==BigInt("0")&&t.uint32(64).int64(e.downloadSpeed.toString()),0!==e.percentComplete&&t.uint32(77).float(e.percentComplete),e.secondsLeft!==BigInt("0")&&t.uint32(80).int64(e.secondsLeft.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=be();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.queuedTracks=We(n.int64());continue;case 2:if(16!==e)break;r.queuedBytes=We(n.int64());continue;case 3:if(24!==e)break;r.downloadedTracks=We(n.int64());continue;case 4:if(32!==e)break;r.downloadedBytes=We(n.int64());continue;case 5:if(40!==e)break;r.totalTracks=We(n.int64());continue;case 6:if(48!==e)break;r.totalBytes=We(n.int64());continue;case 7:if(56!==e)break;r.downloading=n.bool();continue;case 8:if(64!==e)break;r.downloadSpeed=We(n.int64());continue;case 9:if(77!==e)break;r.percentComplete=n.float();continue;case 10:if(80!==e)break;r.secondsLeft=We(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({queuedTracks:je(e.queuedTracks)?BigInt(e.queuedTracks):BigInt("0"),queuedBytes:je(e.queuedBytes)?BigInt(e.queuedBytes):BigInt("0"),downloadedTracks:je(e.downloadedTracks)?BigInt(e.downloadedTracks):BigInt("0"),downloadedBytes:je(e.downloadedBytes)?BigInt(e.downloadedBytes):BigInt("0"),totalTracks:je(e.totalTracks)?BigInt(e.totalTracks):BigInt("0"),totalBytes:je(e.totalBytes)?BigInt(e.totalBytes):BigInt("0"),downloading:!!je(e.downloading)&&Boolean(e.downloading),downloadSpeed:je(e.downloadSpeed)?BigInt(e.downloadSpeed):BigInt("0"),percentComplete:je(e.percentComplete)?Number(e.percentComplete):0,secondsLeft:je(e.secondsLeft)?BigInt(e.secondsLeft):BigInt("0")}),toJSON(e){const t={};return e.queuedTracks!==BigInt("0")&&(t.queuedTracks=e.queuedTracks.toString()),e.queuedBytes!==BigInt("0")&&(t.queuedBytes=e.queuedBytes.toString()),e.downloadedTracks!==BigInt("0")&&(t.downloadedTracks=e.downloadedTracks.toString()),e.downloadedBytes!==BigInt("0")&&(t.downloadedBytes=e.downloadedBytes.toString()),e.totalTracks!==BigInt("0")&&(t.totalTracks=e.totalTracks.toString()),e.totalBytes!==BigInt("0")&&(t.totalBytes=e.totalBytes.toString()),!0===e.downloading&&(t.downloading=e.downloading),e.downloadSpeed!==BigInt("0")&&(t.downloadSpeed=e.downloadSpeed.toString()),0!==e.percentComplete&&(t.percentComplete=e.percentComplete),e.secondsLeft!==BigInt("0")&&(t.secondsLeft=e.secondsLeft.toString()),t},create:e=>Se.fromPartial(e??{}),fromPartial(e){const t=be();return t.queuedTracks=e.queuedTracks??BigInt("0"),t.queuedBytes=e.queuedBytes??BigInt("0"),t.downloadedTracks=e.downloadedTracks??BigInt("0"),t.downloadedBytes=e.downloadedBytes??BigInt("0"),t.totalTracks=e.totalTracks??BigInt("0"),t.totalBytes=e.totalBytes??BigInt("0"),t.downloading=e.downloading??!1,t.downloadSpeed=e.downloadSpeed??BigInt("0"),t.percentComplete=e.percentComplete??0,t.secondsLeft=e.secondsLeft??BigInt("0"),t}};const Te={encode(e,t=i.Writer.create()){for(const n of e.uris)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uris:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uris.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uris:Array.isArray(e?.uris)?e.uris.map((e=>String(e))):[]}),toJSON(e){const t={};return e.uris?.length&&(t.uris=e.uris),t},create:e=>Te.fromPartial(e??{}),fromPartial(e){const t={uris:[]};return t.uris=e.uris?.map((e=>e))||[],t}};const Ae={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.progress&&Se.encode(e.progress,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",progress:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.progress=Se.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:je(e.uri)?String(e.uri):"",progress:je(e.progress)?Se.fromJSON(e.progress):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.progress&&(t.progress=Se.toJSON(e.progress)),t},create:e=>Ae.fromPartial(e??{}),fromPartial(e){const t={uri:"",progress:void 0};return t.uri=e.uri??"",t.progress=void 0!==e.progress&&null!==e.progress?Se.fromPartial(e.progress):void 0,t}};const Ie={encode(e,t=i.Writer.create()){for(const n of e.progresses)Ae.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={progresses:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.progresses.push(Ae.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({progresses:Array.isArray(e?.progresses)?e.progresses.map((e=>Ae.fromJSON(e))):[]}),toJSON(e){const t={};return e.progresses?.length&&(t.progresses=e.progresses.map((e=>Ae.toJSON(e)))),t},create:e=>Ie.fromPartial(e??{}),fromPartial(e){const t={progresses:[]};return t.progresses=e.progresses?.map((e=>Ae.fromPartial(e)))||[],t}};const Oe={encode:(e,t=i.Writer.create())=>(void 0!==e.progress&&Se.encode(e.progress,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={progress:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.progress=Se.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({progress:je(e.progress)?Se.fromJSON(e.progress):void 0}),toJSON(e){const t={};return void 0!==e.progress&&(t.progress=Se.toJSON(e.progress)),t},create:e=>Oe.fromPartial(e??{}),fromPartial(e){const t={progress:void 0};return t.progress=void 0!==e.progress&&null!==e.progress?Se.fromPartial(e.progress):void 0,t}};const Ce={encode:(e,t=i.Writer.create())=>(!0===e.remoteDownloadsEnabled&&t.uint32(8).bool(e.remoteDownloadsEnabled),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={remoteDownloadsEnabled:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.remoteDownloadsEnabled=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({remoteDownloadsEnabled:!!je(e.remoteDownloadsEnabled)&&Boolean(e.remoteDownloadsEnabled)}),toJSON(e){const t={};return!0===e.remoteDownloadsEnabled&&(t.remoteDownloadsEnabled=e.remoteDownloadsEnabled),t},create:e=>Ce.fromPartial(e??{}),fromPartial(e){const t={remoteDownloadsEnabled:!1};return t.remoteDownloadsEnabled=e.remoteDownloadsEnabled??!1,t}};const Re={encode:(e,t=i.Writer.create())=>(""!==e.deviceId&&t.uint32(10).string(e.deviceId),""!==e.cacheId&&t.uint32(18).string(e.cacheId),""!==e.name&&t.uint32(26).string(e.name),0!==e.type&&t.uint32(32).int32(e.type),0!==e.platform&&t.uint32(40).int32(e.platform),void 0!==e.lastSeenAt&&J.encode(Be(e.lastSeenAt),t.uint32(50).fork()).ldelim(),!0===e.isLocal&&t.uint32(56).bool(e.isLocal),""!==e.clientId&&t.uint32(66).string(e.clientId),void 0!==e.capabilities&&Ce.encode(e.capabilities,t.uint32(74).fork()).ldelim(),!0===e.offlineEnabled&&t.uint32(80).bool(e.offlineEnabled),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={deviceId:"",cacheId:"",name:"",type:0,platform:0,lastSeenAt:void 0,isLocal:!1,clientId:"",capabilities:void 0,offlineEnabled:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.deviceId=n.string();continue;case 2:if(18!==e)break;r.cacheId=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.type=n.int32();continue;case 5:if(40!==e)break;r.platform=n.int32();continue;case 6:if(50!==e)break;r.lastSeenAt=He(J.decode(n,n.uint32()));continue;case 7:if(56!==e)break;r.isLocal=n.bool();continue;case 8:if(66!==e)break;r.clientId=n.string();continue;case 9:if(74!==e)break;r.capabilities=Ce.decode(n,n.uint32());continue;case 10:if(80!==e)break;r.offlineEnabled=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({deviceId:je(e.deviceId)?String(e.deviceId):"",cacheId:je(e.cacheId)?String(e.cacheId):"",name:je(e.name)?String(e.name):"",type:je(e.type)?Number(e.type):0,platform:je(e.platform)?Number(e.platform):0,lastSeenAt:je(e.lastSeenAt)?Ge(e.lastSeenAt):void 0,isLocal:!!je(e.isLocal)&&Boolean(e.isLocal),clientId:je(e.clientId)?String(e.clientId):"",capabilities:je(e.capabilities)?Ce.fromJSON(e.capabilities):void 0,offlineEnabled:!!je(e.offlineEnabled)&&Boolean(e.offlineEnabled)}),toJSON(e){const t={};return""!==e.deviceId&&(t.deviceId=e.deviceId),""!==e.cacheId&&(t.cacheId=e.cacheId),""!==e.name&&(t.name=e.name),0!==e.type&&(t.type=Math.round(e.type)),0!==e.platform&&(t.platform=Math.round(e.platform)),void 0!==e.lastSeenAt&&(t.lastSeenAt=e.lastSeenAt.toISOString()),!0===e.isLocal&&(t.isLocal=e.isLocal),""!==e.clientId&&(t.clientId=e.clientId),void 0!==e.capabilities&&(t.capabilities=Ce.toJSON(e.capabilities)),!0===e.offlineEnabled&&(t.offlineEnabled=e.offlineEnabled),t},create:e=>Re.fromPartial(e??{}),fromPartial(e){const t={deviceId:"",cacheId:"",name:"",type:0,platform:0,lastSeenAt:void 0,isLocal:!1,clientId:"",capabilities:void 0,offlineEnabled:!1};return t.deviceId=e.deviceId??"",t.cacheId=e.cacheId??"",t.name=e.name??"",t.type=e.type??0,t.platform=e.platform??0,t.lastSeenAt=e.lastSeenAt??void 0,t.isLocal=e.isLocal??!1,t.clientId=e.clientId??"",t.capabilities=void 0!==e.capabilities&&null!==e.capabilities?Ce.fromPartial(e.capabilities):void 0,t.offlineEnabled=e.offlineEnabled??!1,t}};function Ne(){return{devices:[],error:BigInt("0")}}const Pe={encode(e,t=i.Writer.create()){for(const n of e.devices)Re.encode(n,t.uint32(10).fork()).ldelim();return e.error!==BigInt("0")&&t.uint32(16).int64(e.error.toString()),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Ne();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.devices.push(Re.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.error=We(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({devices:Array.isArray(e?.devices)?e.devices.map((e=>Re.fromJSON(e))):[],error:je(e.error)?BigInt(e.error):BigInt("0")}),toJSON(e){const t={};return e.devices?.length&&(t.devices=e.devices.map((e=>Re.toJSON(e)))),e.error!==BigInt("0")&&(t.error=e.error.toString()),t},create:e=>Pe.fromPartial(e??{}),fromPartial(e){const t=Ne();return t.devices=e.devices?.map((e=>Re.fromPartial(e)))||[],t.error=e.error??BigInt("0"),t}};const Le={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:je(e.uri)?String(e.uri):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),t},create:e=>Le.fromPartial(e??{}),fromPartial(e){const t={uri:""};return t.uri=e.uri??"",t}};function ke(){return{devices:[],contexts:[],error:BigInt("0")}}const we={encode(e,t=i.Writer.create()){for(const n of e.devices)Re.encode(n,t.uint32(10).fork()).ldelim();for(const n of e.contexts)de.encode(n,t.uint32(18).fork()).ldelim();return e.error!==BigInt("0")&&t.uint32(24).int64(e.error.toString()),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=ke();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.devices.push(Re.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.contexts.push(de.decode(n,n.uint32()));continue;case 3:if(24!==e)break;r.error=We(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({devices:Array.isArray(e?.devices)?e.devices.map((e=>Re.fromJSON(e))):[],contexts:Array.isArray(e?.contexts)?e.contexts.map((e=>de.fromJSON(e))):[],error:je(e.error)?BigInt(e.error):BigInt("0")}),toJSON(e){const t={};return e.devices?.length&&(t.devices=e.devices.map((e=>Re.toJSON(e)))),e.contexts?.length&&(t.contexts=e.contexts.map((e=>de.toJSON(e)))),e.error!==BigInt("0")&&(t.error=e.error.toString()),t},create:e=>we.fromPartial(e??{}),fromPartial(e){const t=ke();return t.devices=e.devices?.map((e=>Re.fromPartial(e)))||[],t.contexts=e.contexts?.map((e=>de.fromPartial(e)))||[],t.error=e.error??BigInt("0"),t}};const De={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:je(e.uri)?String(e.uri):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),t},create:e=>De.fromPartial(e??{}),fromPartial(e){const t={uri:""};return t.uri=e.uri??"",t}};function Me(){return{deviceWithContext:[],error:BigInt("0")}}const xe={encode(e,t=i.Writer.create()){for(const n of e.deviceWithContext)Ue.encode(n,t.uint32(10).fork()).ldelim();return e.error!==BigInt("0")&&t.uint32(16).int64(e.error.toString()),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Me();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.deviceWithContext.push(Ue.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.error=We(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({deviceWithContext:Array.isArray(e?.deviceWithContext)?e.deviceWithContext.map((e=>Ue.fromJSON(e))):[],error:je(e.error)?BigInt(e.error):BigInt("0")}),toJSON(e){const t={};return e.deviceWithContext?.length&&(t.deviceWithContext=e.deviceWithContext.map((e=>Ue.toJSON(e)))),e.error!==BigInt("0")&&(t.error=e.error.toString()),t},create:e=>xe.fromPartial(e??{}),fromPartial(e){const t=Me();return t.deviceWithContext=e.deviceWithContext?.map((e=>Ue.fromPartial(e)))||[],t.error=e.error??BigInt("0"),t}};const Ue={encode:(e,t=i.Writer.create())=>(void 0!==e.device&&Re.encode(e.device,t.uint32(10).fork()).ldelim(),!0===e.isSupported&&t.uint32(16).bool(e.isSupported),void 0!==e.context&&se.encode(e.context,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={device:void 0,isSupported:!1,context:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.device=Re.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.isSupported=n.bool();continue;case 3:if(26!==e)break;r.context=se.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({device:je(e.device)?Re.fromJSON(e.device):void 0,isSupported:!!je(e.isSupported)&&Boolean(e.isSupported),context:je(e.context)?se.fromJSON(e.context):void 0}),toJSON(e){const t={};return void 0!==e.device&&(t.device=Re.toJSON(e.device)),!0===e.isSupported&&(t.isSupported=e.isSupported),void 0!==e.context&&(t.context=se.toJSON(e.context)),t},create:e=>Ue.fromPartial(e??{}),fromPartial(e){const t={device:void 0,isSupported:!1,context:void 0};return t.device=void 0!==e.device&&null!==e.device?Re.fromPartial(e.device):void 0,t.isSupported=e.isSupported??!1,t.context=void 0!==e.context&&null!==e.context?se.fromPartial(e.context):void 0,t}};const Ve={encode:(e,t=i.Writer.create())=>(void 0!==e.expiry&&Fe.encode(e.expiry,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={expiry:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.expiry=Fe.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({expiry:je(e.expiry)?Fe.fromJSON(e.expiry):void 0}),toJSON(e){const t={};return void 0!==e.expiry&&(t.expiry=Fe.toJSON(e.expiry)),t},create:e=>Ve.fromPartial(e??{}),fromPartial(e){const t={expiry:void 0};return t.expiry=void 0!==e.expiry&&null!==e.expiry?Fe.fromPartial(e.expiry):void 0,t}};const Fe={encode:(e,t=i.Writer.create())=>(void 0!==e.track&&J.encode(Be(e.track),t.uint32(10).fork()).ldelim(),void 0!==e.episode&&J.encode(Be(e.episode),t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={track:void 0,episode:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.track=He(J.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.episode=He(J.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({track:je(e.track)?Ge(e.track):void 0,episode:je(e.episode)?Ge(e.episode):void 0}),toJSON(e){const t={};return void 0!==e.track&&(t.track=e.track.toISOString()),void 0!==e.episode&&(t.episode=e.episode.toISOString()),t},create:e=>Fe.fromPartial(e??{}),fromPartial(e){const t={track:void 0,episode:void 0};return t.track=e.track??void 0,t.episode=e.episode??void 0,t}};function Be(e){return{seconds:BigInt(Math.trunc(e.getTime()/1e3)),nanos:e.getTime()%1e3*1e6}}function He(e){let t=1e3*(Number(e.seconds.toString())||0);return t+=(e.nanos||0)/1e6,new Date(t)}function Ge(e){return e instanceof Date?e:"string"==typeof e?new Date(e):He(J.fromJSON(e))}function We(e){return BigInt(e.toString())}function je(e){return null!=e}i.util.Long!==r&&(i.util.Long=r,i.configure());class Ye{transport;options;constructor(e,t={}){this.transport=e,this.options=t}onKeyStats(e,t){const n=Ye.SERVICE_ID,r="OnKeyStats",a=o.fromPartial(e),c=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:c},(e=>{const o=s.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}static SERVICE_ID="spotify.offline_esperanto.proto.OfflineDebug";static METHODS={onKeyStats:{isStreaming:!0,requestType:o,responseType:s}};static DECODERS={OnKeyStats:{request:o.decode,response:s.decode}}}class ze{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getOfflinePlaybackStatus(e,t){const n=ze.SERVICE_ID,r="GetOfflinePlaybackStatus",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=ne.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}subscribeOfflinePlaybackStatus(e,t){const n=ze.SERVICE_ID,r="SubscribeOfflinePlaybackStatus",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=ne.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}setOfflinePlaybackAllowed(e,t){const n=ze.SERVICE_ID,o="SetOfflinePlaybackAllowed",r=ie.fromPartial(e),a=ie.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=oe.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeError(e,t){const n=ze.SERVICE_ID,r="SubscribeError",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=re.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}getContexts(e,t){const n=ze.SERVICE_ID,o="GetContexts",r=pe.fromPartial(e),a=pe.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=me.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeContexts(e,t){const n=ze.SERVICE_ID,o="SubscribeContexts",r=pe.fromPartial(e),a=pe.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=me.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getItems(e,t){const n=ze.SERVICE_ID,o="GetItems",r=_e.fromPartial(e),a=_e.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeItems(e,t){const n=ze.SERVICE_ID,o="SubscribeItems",r=_e.fromPartial(e),a=_e.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=ge.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}addDownload(e,t){const n=ze.SERVICE_ID,o="AddDownload",r=Ee.fromPartial(e),a=Ee.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ye.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}removeDownload(e,t){const n=ze.SERVICE_ID,o="RemoveDownload",r=Ee.fromPartial(e),a=Ee.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ye.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}removeAllDownloads(e,t){const n=ze.SERVICE_ID,r="RemoveAllDownloads",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}getContextsProgress(e,t){const n=ze.SERVICE_ID,o="GetContextsProgress",r=Te.fromPartial(e),a=Te.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Ie.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeContextsProgress(e,t){const n=ze.SERVICE_ID,o="SubscribeContextsProgress",r=Te.fromPartial(e),a=Te.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Ie.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getTotalProgress(e,t){const n=ze.SERVICE_ID,r="GetTotalProgress",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=Oe.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}subscribeTotalProgress(e,t){const n=ze.SERVICE_ID,r="SubscribeTotalProgress",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=Oe.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}getDevices(e,t){const n=ze.SERVICE_ID,r="GetDevices",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=Pe.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}getLocalDevice(e,t){const n=ze.SERVICE_ID,r="GetLocalDevice",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=Re.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}getContextForDevices(e,t){const n=ze.SERVICE_ID,o="GetContextForDevices",r=Le.fromPartial(e),a=Le.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=we.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeContextForDevices(e,t){const n=ze.SERVICE_ID,o="SubscribeContextForDevices",r=Le.fromPartial(e),a=Le.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=we.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}subscribeDevicesWithContext(e,t){const n=ze.SERVICE_ID,o="SubscribeDevicesWithContext",r=De.fromPartial(e),a=De.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=xe.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getOfflineLicenseInfo(e,t){const n=ze.SERVICE_ID,r="GetOfflineLicenseInfo",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=Ve.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}static SERVICE_ID="spotify.offline_esperanto.proto.Offline";static METHODS={getOfflinePlaybackStatus:{isStreaming:!1,requestType:o,responseType:ne},subscribeOfflinePlaybackStatus:{isStreaming:!0,requestType:o,responseType:ne},setOfflinePlaybackAllowed:{isStreaming:!1,requestType:ie,responseType:oe},subscribeError:{isStreaming:!0,requestType:o,responseType:re},getContexts:{isStreaming:!1,requestType:pe,responseType:me},subscribeContexts:{isStreaming:!0,requestType:pe,responseType:me},getItems:{isStreaming:!1,requestType:_e,responseType:ge},subscribeItems:{isStreaming:!0,requestType:_e,responseType:ge},addDownload:{isStreaming:!1,requestType:Ee,responseType:ye},removeDownload:{isStreaming:!1,requestType:Ee,responseType:ye},removeAllDownloads:{isStreaming:!1,requestType:o,responseType:o},getContextsProgress:{isStreaming:!1,requestType:Te,responseType:Ie},subscribeContextsProgress:{isStreaming:!0,requestType:Te,responseType:Ie},getTotalProgress:{isStreaming:!1,requestType:o,responseType:Oe},subscribeTotalProgress:{isStreaming:!0,requestType:o,responseType:Oe},getDevices:{isStreaming:!1,requestType:o,responseType:Pe},getLocalDevice:{isStreaming:!1,requestType:o,responseType:Re},getContextForDevices:{isStreaming:!1,requestType:Le,responseType:we},subscribeContextForDevices:{isStreaming:!0,requestType:Le,responseType:we},subscribeDevicesWithContext:{isStreaming:!0,requestType:De,responseType:xe},getOfflineLicenseInfo:{isStreaming:!1,requestType:o,responseType:Ve}};static DECODERS={GetOfflinePlaybackStatus:{request:o.decode,response:ne.decode},SubscribeOfflinePlaybackStatus:{request:o.decode,response:ne.decode},SetOfflinePlaybackAllowed:{request:ie.decode,response:oe.decode},SubscribeError:{request:o.decode,response:re.decode},GetContexts:{request:pe.decode,response:me.decode},SubscribeContexts:{request:pe.decode,response:me.decode},GetItems:{request:_e.decode,response:ge.decode},SubscribeItems:{request:_e.decode,response:ge.decode},AddDownload:{request:Ee.decode,response:ye.decode},RemoveDownload:{request:Ee.decode,response:ye.decode},RemoveAllDownloads:{request:o.decode,response:o.decode},GetContextsProgress:{request:Te.decode,response:Ie.decode},SubscribeContextsProgress:{request:Te.decode,response:Ie.decode},GetTotalProgress:{request:o.decode,response:Oe.decode},SubscribeTotalProgress:{request:o.decode,response:Oe.decode},GetDevices:{request:o.decode,response:Pe.decode},GetLocalDevice:{request:o.decode,response:Re.decode},GetContextForDevices:{request:Le.decode,response:we.decode},SubscribeContextForDevices:{request:Le.decode,response:we.decode},SubscribeDevicesWithContext:{request:De.decode,response:xe.decode},GetOfflineLicenseInfo:{request:o.decode,response:Ve.decode}}}class Ke{transport;options;constructor(e,t={}){this.transport=e,this.options=t}identify(e,t){const n=Ke.SERVICE_ID,o="identify",r=I.fromPartial(e),a=I.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=N.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}download(e,t){const n=Ke.SERVICE_ID,o="download",r=w.fromPartial(e),a=w.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=x.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}stopDownload(e,t){const n=Ke.SERVICE_ID,r="stopDownload",a=U.fromPartial(e),s=U.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}remove(e,t){const n=Ke.SERVICE_ID,r="remove",a=V.fromPartial(e),s=V.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}static SERVICE_ID="spotify.offline.proto.v2.OfflinePlugin";static METHODS={identify:{isStreaming:!1,requestType:I,responseType:N},download:{isStreaming:!0,requestType:w,responseType:x},stopDownload:{isStreaming:!1,requestType:U,responseType:o},remove:{isStreaming:!1,requestType:V,responseType:o}};static DECODERS={identify:{request:I.decode,response:N.decode},download:{request:w.decode,response:x.decode},stopDownload:{request:U.decode,response:o.decode},remove:{request:V.decode,response:o.decode}}}o.decode,j.decode,Y.decode,o.decode},42061:(e,t,n)=>{"use strict";n.d(t,{hN:()=>$});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:r(e.standardLink)?String(e.standardLink):"",smallLink:r(e.smallLink)?String(e.smallLink):"",largeLink:r(e.largeLink)?String(e.largeLink):"",xlargeLink:r(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function r(e){return null!=e}var a;function s(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return a.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return a.CANVAZ;case 2:case"STORYLINES":return a.STORYLINES;case 3:case"PODCAST_TOPICS":return a.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return a.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return a.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return a.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return a.PODCAST_COUNTER;case 8:case"ARTIST_V4":return a.ARTIST_V4;case 9:case"ALBUM_V4":return a.ALBUM_V4;case 10:case"TRACK_V4":return a.TRACK_V4;case 11:case"SHOW_V4":return a.SHOW_V4;case 12:case"EPISODE_V4":return a.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return a.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return a.PODCAST_QUOTES;case 15:case"USER_PROFILE":return a.USER_PROFILE;case 16:case"CANVAS_V1":return a.CANVAS_V1;case 17:case"SHOW_V4_BASE":return a.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return a.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return a.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return a.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return a.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return a.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return a.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return a.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return a.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return a.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return a.AUTOMIX_MODE;case 28:case"CUEPOINTS":return a.CUEPOINTS;case 29:case"PODCAST_POLL":return a.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return a.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return a.SHOW_ACCESS;case 32:case"PODCAST_QNA":return a.PODCAST_QNA;case 33:case"CLIPS":return a.CLIPS;case 34:case"SHOW_V5":return a.SHOW_V5;case 35:case"EPISODE_V5":return a.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return a.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return a.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return a.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return a.GREENROOM;case 40:case"USER_CREATED":return a.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return a.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return a.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return a.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return a.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return a.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return a.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return a.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return a.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return a.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return a.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return a.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return a.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return a.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return a.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return a.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return a.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return a.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return a.CONTENT_WARNING;case 59:case"IMAGE_CUE":return a.IMAGE_CUE;case 60:case"STREAM_COUNT":return a.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return a.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return a.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return a.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return a.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return a.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return a.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return a.LIVE;case 68:case"SKIP_PLAYED":return a.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return a.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return a.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return a.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return a.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return a.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return a.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return a.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return a.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return a.PODCAST_GUEST;case 78:case"PLAYABILITY":return a.PLAYABILITY;case 79:case"COVER_IMAGE":return a.COVER_IMAGE;case 80:case"SHARE_TRAIT":return a.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return a.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return a.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return a.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return a.CONCEPT;case 85:case"ORIGINAL_VIDEO":return a.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return a.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return a.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return a.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return a.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return a.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return a.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return a.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return a.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return a.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return a.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return a.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return a.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return a.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return a.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return a.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return a.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return a.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return a.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return a.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return a.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return a.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return a.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return a.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return a.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return a.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return a.MERCH;case 113:case"COMPANION_CONTENT":return a.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return a.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return a.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return a.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return a.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return a.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return a.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return a.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return a.COURSE_SPECIFICS;case 122:case"CONCERT":return a.CONCERT;case 123:case"CONCERT_LOCATION":return a.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return a.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return a.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return a.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return a.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return a.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return a.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return a.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return a.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return a.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return a.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return a.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return a.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return a.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return a.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return a.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return a.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return a.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return a.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return a.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return a.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return a.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return a.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return a.SUPPORTED_BADGES;case 147:case"BADGES":return a.BADGES;case 148:case"PREVIEW_TRAIT":return a.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return a.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return a.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return a.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return a.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return a.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return a.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return a.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return a.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return a.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return a.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return a.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return a.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return a.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return a.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return a.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return a.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return a.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return a.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return a.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return a.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return a.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return a.AUTO_LENS;default:return a.UNRECOGNIZED}}function c(e){switch(e){case a.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case a.CANVAZ:return"CANVAZ";case a.STORYLINES:return"STORYLINES";case a.PODCAST_TOPICS:return"PODCAST_TOPICS";case a.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case a.AUDIO_FILES:return"AUDIO_FILES";case a.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case a.PODCAST_COUNTER:return"PODCAST_COUNTER";case a.ARTIST_V4:return"ARTIST_V4";case a.ALBUM_V4:return"ALBUM_V4";case a.TRACK_V4:return"TRACK_V4";case a.SHOW_V4:return"SHOW_V4";case a.EPISODE_V4:return"EPISODE_V4";case a.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case a.PODCAST_QUOTES:return"PODCAST_QUOTES";case a.USER_PROFILE:return"USER_PROFILE";case a.CANVAS_V1:return"CANVAS_V1";case a.SHOW_V4_BASE:return"SHOW_V4_BASE";case a.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case a.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case a.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case a.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case a.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case a.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case a.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case a.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case a.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case a.AUTOMIX_MODE:return"AUTOMIX_MODE";case a.CUEPOINTS:return"CUEPOINTS";case a.PODCAST_POLL:return"PODCAST_POLL";case a.EPISODE_ACCESS:return"EPISODE_ACCESS";case a.SHOW_ACCESS:return"SHOW_ACCESS";case a.PODCAST_QNA:return"PODCAST_QNA";case a.CLIPS:return"CLIPS";case a.SHOW_V5:return"SHOW_V5";case a.EPISODE_V5:return"EPISODE_V5";case a.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case a.PODCAST_RATING:return"PODCAST_RATING";case a.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case a.GREENROOM:return"GREENROOM";case a.USER_CREATED:return"USER_CREATED";case a.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case a.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case a.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case a.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case a.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case a.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case a.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case a.CLIENT_CONFIG:return"CLIENT_CONFIG";case a.PLAYLISTABILITY:return"PLAYLISTABILITY";case a.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case a.CHAPTER_V5:return"CHAPTER_V5";case a.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case a.EPISODE_RANKING:return"EPISODE_RANKING";case a.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case a.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case a.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case a.PLAY_TRAIT:return"PLAY_TRAIT";case a.CONTENT_WARNING:return"CONTENT_WARNING";case a.IMAGE_CUE:return"IMAGE_CUE";case a.STREAM_COUNT:return"STREAM_COUNT";case a.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case a.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case a.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case a.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case a.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case a.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case a.LIVE:return"LIVE";case a.SKIP_PLAYED:return"SKIP_PLAYED";case a.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case a.ASSOCIATIONS:return"ASSOCIATIONS";case a.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case a.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case a.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case a.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case a.USER_COMMENTS:return"USER_COMMENTS";case a.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case a.PODCAST_GUEST:return"PODCAST_GUEST";case a.PLAYABILITY:return"PLAYABILITY";case a.COVER_IMAGE:return"COVER_IMAGE";case a.SHARE_TRAIT:return"SHARE_TRAIT";case a.INSTANCE_SHARING:return"INSTANCE_SHARING";case a.ARTIST_TOUR:return"ARTIST_TOUR";case a.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case a.CONCEPT:return"CONCEPT";case a.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case a.SMART_SHUFFLE:return"SMART_SHUFFLE";case a.LIVE_EVENTS:return"LIVE_EVENTS";case a.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case a.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case a.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case a.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case a.FEWER_ADS:return"FEWER_ADS";case a.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case a.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case a.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case a.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case a.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case a.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case a.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case a.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case a.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case a.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case a.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case a.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case a.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case a.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case a.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case a.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case a.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case a.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case a.MERCH:return"MERCH";case a.COMPANION_CONTENT:return"COMPANION_CONTENT";case a.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case a.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case a.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case a.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case a.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case a.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case a.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case a.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case a.CONCERT:return"CONCERT";case a.CONCERT_LOCATION:return"CONCERT_LOCATION";case a.CONCERT_MARKETING:return"CONCERT_MARKETING";case a.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case a.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case a.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case a.NAME_TRAIT:return"NAME_TRAIT";case a.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case a.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case a.CREDITS_TRAIT:return"CREDITS_TRAIT";case a.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case a.ENTITY_CAPPING:return"ENTITY_CAPPING";case a.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case a.CONCERT_OFFERS:return"CONCERT_OFFERS";case a.TRANSITION_MAPS:return"TRANSITION_MAPS";case a.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case a.PRERELEASE:return"PRERELEASE";case a.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case a.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case a.LIST_METADATA:return"LIST_METADATA";case a.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case a.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case a.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case a.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case a.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case a.BADGES:return"BADGES";case a.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case a.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case a.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case a.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case a.POPULAR_RELEASES:return"POPULAR_RELEASES";case a.RELATED_RELEASES:return"RELATED_RELEASES";case a.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case a.CONCERT_OFFER:return"CONCERT_OFFER";case a.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case a.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case a.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case a.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case a.REORDERING_TRAIT:return"REORDERING_TRAIT";case a.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case a.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case a.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case a.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case a.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case a.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case a.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case a.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case a.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case a.AUTO_LENS:return"AUTO_LENS";case a.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function l(){return{extensionKind:0,data:new Uint8Array(0)}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(a||(a={}));const u={encode:(e,t=i.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=l();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:h(e.extensionKind)?s(e.extensionKind):0,data:h(e.data)?p(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=c(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(d.Buffer)return d.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),d.btoa(t.join(""))}}(e.data)),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t=l();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},d=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function p(e){if(d.Buffer)return Uint8Array.from(d.Buffer.from(e,"base64"));{const t=d.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function h(e){return null!=e}const f={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const m={encode:(e,t=i.Writer.create())=>(void 0!==e.artist&&f.encode(e.artist,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),void 0!==e.covers&&o.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={artist:void 0,link:"",name:"",covers:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.artist=f.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.link=n.string();continue;case 3:if(26!==e)break;a.name=n.string();continue;case 4:if(34!==e)break;a.covers=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({artist:v(e.artist)?f.fromJSON(e.artist):void 0,link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):"",covers:v(e.covers)?o.fromJSON(e.covers):void 0}),toJSON(e){const t={};return void 0!==e.artist&&(t.artist=f.toJSON(e.artist)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.covers&&(t.covers=o.toJSON(e.covers)),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={artist:void 0,link:"",name:"",covers:void 0};return t.artist=void 0!==e.artist&&null!==e.artist?f.fromPartial(e.artist):void 0,t.link=e.link??"",t.name=e.name??"",t.covers=void 0!==e.covers&&null!==e.covers?o.fromPartial(e.covers):void 0,t}};const _={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.portraits&&o.encode(e.portraits,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={link:"",name:"",portraits:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.link=n.string();continue;case 2:if(18!==e)break;a.name=n.string();continue;case 3:if(26!==e)break;a.portraits=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):"",portraits:v(e.portraits)?o.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.portraits&&(t.portraits=o.toJSON(e.portraits)),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.portraits=void 0!==e.portraits&&null!==e.portraits?o.fromPartial(e.portraits):void 0,t}};const g={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:v(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t={name:""};return t.name=e.name??"",t}};const E={encode(e,t=i.Writer.create()){void 0!==e.album&&m.encode(e.album,t.uint32(10).fork()).ldelim();for(const n of e.artist)_.encode(n,t.uint32(18).fork()).ldelim();""!==e.link&&t.uint32(26).string(e.link),""!==e.name&&t.uint32(34).string(e.name),0!==e.length&&t.uint32(40).uint32(e.length),!0===e.playable&&t.uint32(48).bool(e.playable),0!==e.discNumber&&t.uint32(56).uint32(e.discNumber),0!==e.trackNumber&&t.uint32(64).uint32(e.trackNumber),!0===e.isExplicit&&t.uint32(72).bool(e.isExplicit),""!==e.previewId&&t.uint32(82).string(e.previewId),!0===e.isLocal&&t.uint32(88).bool(e.isLocal),!0===e.playableLocalTrack&&t.uint32(96).bool(e.playableLocalTrack),!0===e.hasLyrics&&t.uint32(104).bool(e.hasLyrics),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.locallyPlayable&&t.uint32(120).bool(e.locallyPlayable),""!==e.playableTrackLink&&t.uint32(130).string(e.playableTrackLink),0!==e.popularity&&t.uint32(136).uint32(e.popularity),!0===e.is19PlusOnly&&t.uint32(144).bool(e.is19PlusOnly);for(const n of e.trackDescriptors)g.encode(n,t.uint32(154).fork()).ldelim();for(const n of e.extension)u.encode(n,t.uint32(162).fork()).ldelim();return!0===e.isCurated&&t.uint32(168).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=m.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist.push(_.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.link=n.string();continue;case 4:if(34!==e)break;r.name=n.string();continue;case 5:if(40!==e)break;r.length=n.uint32();continue;case 6:if(48!==e)break;r.playable=n.bool();continue;case 7:if(56!==e)break;r.discNumber=n.uint32();continue;case 8:if(64!==e)break;r.trackNumber=n.uint32();continue;case 9:if(72!==e)break;r.isExplicit=n.bool();continue;case 10:if(82!==e)break;r.previewId=n.string();continue;case 11:if(88!==e)break;r.isLocal=n.bool();continue;case 12:if(96!==e)break;r.playableLocalTrack=n.bool();continue;case 13:if(104!==e)break;r.hasLyrics=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.locallyPlayable=n.bool();continue;case 16:if(130!==e)break;r.playableTrackLink=n.string();continue;case 17:if(136!==e)break;r.popularity=n.uint32();continue;case 18:if(144!==e)break;r.is19PlusOnly=n.bool();continue;case 19:if(154!==e)break;r.trackDescriptors.push(g.decode(n,n.uint32()));continue;case 20:if(162!==e)break;r.extension.push(u.decode(n,n.uint32()));continue;case 21:if(168!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:v(e.album)?m.fromJSON(e.album):void 0,artist:Array.isArray(e?.artist)?e.artist.map((e=>_.fromJSON(e))):[],link:v(e.link)?String(e.link):"",name:v(e.name)?String(e.name):"",length:v(e.length)?Number(e.length):0,playable:!!v(e.playable)&&Boolean(e.playable),discNumber:v(e.discNumber)?Number(e.discNumber):0,trackNumber:v(e.trackNumber)?Number(e.trackNumber):0,isExplicit:!!v(e.isExplicit)&&Boolean(e.isExplicit),previewId:v(e.previewId)?String(e.previewId):"",isLocal:!!v(e.isLocal)&&Boolean(e.isLocal),playableLocalTrack:!!v(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),hasLyrics:!!v(e.hasLyrics)&&Boolean(e.hasLyrics),isPremiumOnly:!!v(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),locallyPlayable:!!v(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableTrackLink:v(e.playableTrackLink)?String(e.playableTrackLink):"",popularity:v(e.popularity)?Number(e.popularity):0,is19PlusOnly:!!v(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:Array.isArray(e?.trackDescriptors)?e.trackDescriptors.map((e=>g.fromJSON(e))):[],extension:Array.isArray(e?.extension)?e.extension.map((e=>u.fromJSON(e))):[],isCurated:!!v(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!v(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return void 0!==e.album&&(t.album=m.toJSON(e.album)),e.artist?.length&&(t.artist=e.artist.map((e=>_.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),!0===e.playable&&(t.playable=e.playable),0!==e.discNumber&&(t.discNumber=Math.round(e.discNumber)),0!==e.trackNumber&&(t.trackNumber=Math.round(e.trackNumber)),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),""!==e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),e.trackDescriptors?.length&&(t.trackDescriptors=e.trackDescriptors.map((e=>g.toJSON(e)))),e.extension?.length&&(t.extension=e.extension.map((e=>u.toJSON(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};return t.album=void 0!==e.album&&null!==e.album?m.fromPartial(e.album):void 0,t.artist=e.artist?.map((e=>_.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.playable=e.playable??!1,t.discNumber=e.discNumber??0,t.trackNumber=e.trackNumber??0,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.isLocal=e.isLocal??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.hasLyrics=e.hasLyrics??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableTrackLink=e.playableTrackLink??"",t.popularity=e.popularity??0,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors?.map((e=>g.fromPartial(e)))||[],t.extension=e.extension?.map((e=>u.fromPartial(e)))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function v(e){return null!=e}const y={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.copyrights&&t.uint32(24).bool(e.copyrights),!0===e.covers&&t.uint32(32).bool(e.covers),!0===e.year&&t.uint32(40).bool(e.year),!0===e.numDiscs&&t.uint32(48).bool(e.numDiscs),!0===e.numTracks&&t.uint32(56).bool(e.numTracks),!0===e.playability&&t.uint32(64).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(72).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.copyrights=n.bool();continue;case 4:if(32!==e)break;r.covers=n.bool();continue;case 5:if(40!==e)break;r.year=n.bool();continue;case 6:if(48!==e)break;r.numDiscs=n.bool();continue;case 7:if(56!==e)break;r.numTracks=n.bool();continue;case 8:if(64!==e)break;r.playability=n.bool();continue;case 9:if(72!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!b(e.link)&&Boolean(e.link),name:!!b(e.name)&&Boolean(e.name),copyrights:!!b(e.copyrights)&&Boolean(e.copyrights),covers:!!b(e.covers)&&Boolean(e.covers),year:!!b(e.year)&&Boolean(e.year),numDiscs:!!b(e.numDiscs)&&Boolean(e.numDiscs),numTracks:!!b(e.numTracks)&&Boolean(e.numTracks),playability:!!b(e.playability)&&Boolean(e.playability),isPremiumOnly:!!b(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.covers&&(t.covers=e.covers),!0===e.year&&(t.year=e.year),!0===e.numDiscs&&(t.numDiscs=e.numDiscs),!0===e.numTracks&&(t.numTracks=e.numTracks),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};return t.link=e.link??!1,t.name=e.name??!1,t.copyrights=e.copyrights??!1,t.covers=e.covers??!1,t.year=e.year??!1,t.numDiscs=e.numDiscs??!1,t.numTracks=e.numTracks??!1,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};function b(e){return null!=e}const S={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),!0===e.portraits&&t.uint32(32).bool(e.portraits),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,isVariousArtists:!1,portraits:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(32!==e)break;r.portraits=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!T(e.link)&&Boolean(e.link),name:!!T(e.name)&&Boolean(e.name),isVariousArtists:!!T(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:!!T(e.portraits)&&Boolean(e.portraits)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),!0===e.portraits&&(t.portraits=e.portraits),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,isVariousArtists:!1,portraits:!1};return t.link=e.link??!1,t.name=e.name??!1,t.isVariousArtists=e.isVariousArtists??!1,t.portraits=e.portraits??!1,t}};function T(e){return null!=e}const A={encode:(e,t=i.Writer.create())=>(void 0!==e.album&&y.encode(e.album,t.uint32(10).fork()).ldelim(),void 0!==e.artist&&S.encode(e.artist,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=y.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist=S.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:I(e.album)?y.fromJSON(e.album):void 0,artist:I(e.artist)?S.fromJSON(e.artist):void 0}),toJSON(e){const t={};return void 0!==e.album&&(t.album=y.toJSON(e.album)),void 0!==e.artist&&(t.artist=S.toJSON(e.artist)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:void 0};return t.album=void 0!==e.album&&null!==e.album?y.fromPartial(e.album):void 0,t.artist=void 0!==e.artist&&null!==e.artist?S.fromPartial(e.artist):void 0,t}};function I(e){return null!=e}const O={encode(e,t=i.Writer.create()){!0===e.hasLyrics&&t.uint32(8).bool(e.hasLyrics),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.length&&t.uint32(32).bool(e.length),!0===e.playable&&t.uint32(40).bool(e.playable),!0===e.isAvailableInMetadataCatalogue&&t.uint32(48).bool(e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&t.uint32(56).bool(e.locallyPlayable),!0===e.playableLocalTrack&&t.uint32(64).bool(e.playableLocalTrack),!0===e.discNumber&&t.uint32(72).bool(e.discNumber),!0===e.trackNumber&&t.uint32(80).bool(e.trackNumber),!0===e.isExplicit&&t.uint32(88).bool(e.isExplicit),!0===e.previewId&&t.uint32(96).bool(e.previewId),!0===e.isLocal&&t.uint32(104).bool(e.isLocal),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.playableTrackLink&&t.uint32(120).bool(e.playableTrackLink),!0===e.popularity&&t.uint32(128).bool(e.popularity),!0===e.is19PlusOnly&&t.uint32(136).bool(e.is19PlusOnly),!0===e.trackDescriptors&&t.uint32(144).bool(e.trackDescriptors),t.uint32(154).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isCurated&&t.uint32(160).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.hasLyrics=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.length=n.bool();continue;case 5:if(40!==e)break;r.playable=n.bool();continue;case 6:if(48!==e)break;r.isAvailableInMetadataCatalogue=n.bool();continue;case 7:if(56!==e)break;r.locallyPlayable=n.bool();continue;case 8:if(64!==e)break;r.playableLocalTrack=n.bool();continue;case 9:if(72!==e)break;r.discNumber=n.bool();continue;case 10:if(80!==e)break;r.trackNumber=n.bool();continue;case 11:if(88!==e)break;r.isExplicit=n.bool();continue;case 12:if(96!==e)break;r.previewId=n.bool();continue;case 13:if(104!==e)break;r.isLocal=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.playableTrackLink=n.bool();continue;case 16:if(128!==e)break;r.popularity=n.bool();continue;case 17:if(136!==e)break;r.is19PlusOnly=n.bool();continue;case 18:if(144!==e)break;r.trackDescriptors=n.bool();continue;case 19:if(152===e){r.extension.push(n.int32());continue}if(154===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 20:if(160!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({hasLyrics:!!C(e.hasLyrics)&&Boolean(e.hasLyrics),link:!!C(e.link)&&Boolean(e.link),name:!!C(e.name)&&Boolean(e.name),length:!!C(e.length)&&Boolean(e.length),playable:!!C(e.playable)&&Boolean(e.playable),isAvailableInMetadataCatalogue:!!C(e.isAvailableInMetadataCatalogue)&&Boolean(e.isAvailableInMetadataCatalogue),locallyPlayable:!!C(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableLocalTrack:!!C(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),discNumber:!!C(e.discNumber)&&Boolean(e.discNumber),trackNumber:!!C(e.trackNumber)&&Boolean(e.trackNumber),isExplicit:!!C(e.isExplicit)&&Boolean(e.isExplicit),previewId:!!C(e.previewId)&&Boolean(e.previewId),isLocal:!!C(e.isLocal)&&Boolean(e.isLocal),isPremiumOnly:!!C(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),playableTrackLink:!!C(e.playableTrackLink)&&Boolean(e.playableTrackLink),popularity:!!C(e.popularity)&&Boolean(e.popularity),is19PlusOnly:!!C(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:!!C(e.trackDescriptors)&&Boolean(e.trackDescriptors),extension:Array.isArray(e?.extension)?e.extension.map((e=>s(e))):[],isCurated:!!C(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!C(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.length&&(t.length=e.length),!0===e.playable&&(t.playable=e.playable),!0===e.isAvailableInMetadataCatalogue&&(t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.discNumber&&(t.discNumber=e.discNumber),!0===e.trackNumber&&(t.trackNumber=e.trackNumber),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),!0===e.popularity&&(t.popularity=e.popularity),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.trackDescriptors&&(t.trackDescriptors=e.trackDescriptors),e.extension?.length&&(t.extension=e.extension.map((e=>c(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};return t.hasLyrics=e.hasLyrics??!1,t.link=e.link??!1,t.name=e.name??!1,t.length=e.length??!1,t.playable=e.playable??!1,t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.discNumber=e.discNumber??!1,t.trackNumber=e.trackNumber??!1,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??!1,t.isLocal=e.isLocal??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.playableTrackLink=e.playableTrackLink??!1,t.popularity=e.popularity??!1,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors??!1,t.extension=e.extension?.map((e=>e))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function C(e){return null!=e}const R={encode:(e,t=i.Writer.create())=>(!0===e.username&&t.uint32(8).bool(e.username),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.image&&t.uint32(32).bool(e.image),!0===e.thumbnail&&t.uint32(40).bool(e.thumbnail),!0===e.color&&t.uint32(48).bool(e.color),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.username=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.image=n.bool();continue;case 5:if(40!==e)break;r.thumbnail=n.bool();continue;case 6:if(48!==e)break;r.color=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({username:!!N(e.username)&&Boolean(e.username),link:!!N(e.link)&&Boolean(e.link),name:!!N(e.name)&&Boolean(e.name),image:!!N(e.image)&&Boolean(e.image),thumbnail:!!N(e.thumbnail)&&Boolean(e.thumbnail),color:!!N(e.color)&&Boolean(e.color)}),toJSON(e){const t={};return!0===e.username&&(t.username=e.username),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.image&&(t.image=e.image),!0===e.thumbnail&&(t.thumbnail=e.thumbnail),!0===e.color&&(t.color=e.color),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};return t.username=e.username??!1,t.link=e.link??!1,t.name=e.name??!1,t.image=e.image??!1,t.thumbnail=e.thumbnail??!1,t.color=e.color??!1,t}};function N(e){return null!=e}const P={encode:(e,t=i.Writer.create())=>(void 0!==e.track&&O.encode(e.track,t.uint32(10).fork()).ldelim(),!0===e.rowId&&t.uint32(16).bool(e.rowId),!0===e.addTime&&t.uint32(24).bool(e.addTime),!0===e.inCollection&&t.uint32(32).bool(e.inCollection),!0===e.canAddToCollection&&t.uint32(40).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(48).bool(e.isBanned),!0===e.canBan&&t.uint32(56).bool(e.canBan),!0===e.localFile&&t.uint32(64).bool(e.localFile),!0===e.offline&&t.uint32(72).bool(e.offline),!0===e.formatListAttributes&&t.uint32(80).bool(e.formatListAttributes),!0===e.displayCovers&&t.uint32(88).bool(e.displayCovers),void 0!==e.addedBy&&R.encode(e.addedBy,t.uint32(98).fork()).ldelim(),void 0!==e.album&&A.encode(e.album,t.uint32(106).fork()).ldelim(),void 0!==e.artist&&S.encode(e.artist,t.uint32(114).fork()).ldelim(),!0===e.signals&&t.uint32(120).bool(e.signals),!0===e.isRecommendation&&t.uint32(128).bool(e.isRecommendation),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={track:void 0,rowId:!1,addTime:!1,inCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1,localFile:!1,offline:!1,formatListAttributes:!1,displayCovers:!1,addedBy:void 0,album:void 0,artist:void 0,signals:!1,isRecommendation:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.track=O.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.rowId=n.bool();continue;case 3:if(24!==e)break;r.addTime=n.bool();continue;case 4:if(32!==e)break;r.inCollection=n.bool();continue;case 5:if(40!==e)break;r.canAddToCollection=n.bool();continue;case 6:if(48!==e)break;r.isBanned=n.bool();continue;case 7:if(56!==e)break;r.canBan=n.bool();continue;case 8:if(64!==e)break;r.localFile=n.bool();continue;case 9:if(72!==e)break;r.offline=n.bool();continue;case 10:if(80!==e)break;r.formatListAttributes=n.bool();continue;case 11:if(88!==e)break;r.displayCovers=n.bool();continue;case 12:if(98!==e)break;r.addedBy=R.decode(n,n.uint32());continue;case 13:if(106!==e)break;r.album=A.decode(n,n.uint32());continue;case 14:if(114!==e)break;r.artist=S.decode(n,n.uint32());continue;case 15:if(120!==e)break;r.signals=n.bool();continue;case 16:if(128!==e)break;r.isRecommendation=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({track:L(e.track)?O.fromJSON(e.track):void 0,rowId:!!L(e.rowId)&&Boolean(e.rowId),addTime:!!L(e.addTime)&&Boolean(e.addTime),inCollection:!!L(e.inCollection)&&Boolean(e.inCollection),canAddToCollection:!!L(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!L(e.isBanned)&&Boolean(e.isBanned),canBan:!!L(e.canBan)&&Boolean(e.canBan),localFile:!!L(e.localFile)&&Boolean(e.localFile),offline:!!L(e.offline)&&Boolean(e.offline),formatListAttributes:!!L(e.formatListAttributes)&&Boolean(e.formatListAttributes),displayCovers:!!L(e.displayCovers)&&Boolean(e.displayCovers),addedBy:L(e.addedBy)?R.fromJSON(e.addedBy):void 0,album:L(e.album)?A.fromJSON(e.album):void 0,artist:L(e.artist)?S.fromJSON(e.artist):void 0,signals:!!L(e.signals)&&Boolean(e.signals),isRecommendation:!!L(e.isRecommendation)&&Boolean(e.isRecommendation)}),toJSON(e){const t={};return void 0!==e.track&&(t.track=O.toJSON(e.track)),!0===e.rowId&&(t.rowId=e.rowId),!0===e.addTime&&(t.addTime=e.addTime),!0===e.inCollection&&(t.inCollection=e.inCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),!0===e.localFile&&(t.localFile=e.localFile),!0===e.offline&&(t.offline=e.offline),!0===e.formatListAttributes&&(t.formatListAttributes=e.formatListAttributes),!0===e.displayCovers&&(t.displayCovers=e.displayCovers),void 0!==e.addedBy&&(t.addedBy=R.toJSON(e.addedBy)),void 0!==e.album&&(t.album=A.toJSON(e.album)),void 0!==e.artist&&(t.artist=S.toJSON(e.artist)),!0===e.signals&&(t.signals=e.signals),!0===e.isRecommendation&&(t.isRecommendation=e.isRecommendation),t},create:e=>P.fromPartial(e??{}),fromPartial(e){const t={track:void 0,rowId:!1,addTime:!1,inCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1,localFile:!1,offline:!1,formatListAttributes:!1,displayCovers:!1,addedBy:void 0,album:void 0,artist:void 0,signals:!1,isRecommendation:!1};return t.track=void 0!==e.track&&null!==e.track?O.fromPartial(e.track):void 0,t.rowId=e.rowId??!1,t.addTime=e.addTime??!1,t.inCollection=e.inCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t.localFile=e.localFile??!1,t.offline=e.offline??!1,t.formatListAttributes=e.formatListAttributes??!1,t.displayCovers=e.displayCovers??!1,t.addedBy=void 0!==e.addedBy&&null!==e.addedBy?R.fromPartial(e.addedBy):void 0,t.album=void 0!==e.album&&null!==e.album?A.fromPartial(e.album):void 0,t.artist=void 0!==e.artist&&null!==e.artist?S.fromPartial(e.artist):void 0,t.signals=e.signals??!1,t.isRecommendation=e.isRecommendation??!1,t}};function L(e){return null!=e}const k={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.canAddToCollection&&t.uint32(16).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(24).bool(e.isBanned),!0===e.canBan&&t.uint32(32).bool(e.canBan),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.canAddToCollection=n.bool();continue;case 3:if(24!==e)break;r.isBanned=n.bool();continue;case 4:if(32!==e)break;r.canBan=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!w(e.isInCollection)&&Boolean(e.isInCollection),canAddToCollection:!!w(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!w(e.isBanned)&&Boolean(e.isBanned),canBan:!!w(e.canBan)&&Boolean(e.canBan)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};return t.isInCollection=e.isInCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t}};function w(e){return null!=e}var D=n(87252);function M(){return{seconds:BigInt("0"),nanos:0}}const x={encode:(e,t=i.Writer.create())=>(e.seconds!==BigInt("0")&&t.uint32(8).int64(e.seconds.toString()),0!==e.nanos&&t.uint32(16).int32(e.nanos),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=M();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.seconds=(a=n.int64(),BigInt(a.toString()));continue;case 2:if(16!==e)break;r.nanos=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({seconds:U(e.seconds)?BigInt(e.seconds):BigInt("0"),nanos:U(e.nanos)?Number(e.nanos):0}),toJSON(e){const t={};return e.seconds!==BigInt("0")&&(t.seconds=e.seconds.toString()),0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t=M();return t.seconds=e.seconds??BigInt("0"),t.nanos=e.nanos??0,t}};function U(e){return null!=e}var V;function F(e){switch(e){case 0:case"NO_SORT":return V.NO_SORT;case 1:case"ALBUM_ARTIST_NAME_ASC":return V.ALBUM_ARTIST_NAME_ASC;case 2:case"ALBUM_ARTIST_NAME_DESC":return V.ALBUM_ARTIST_NAME_DESC;case 3:case"TRACK_NUMBER_ASC":return V.TRACK_NUMBER_ASC;case 4:case"TRACK_NUMBER_DESC":return V.TRACK_NUMBER_DESC;case 5:case"DISC_NUMBER_ASC":return V.DISC_NUMBER_ASC;case 6:case"DISC_NUMBER_DESC":return V.DISC_NUMBER_DESC;case 7:case"ALBUM_NAME_ASC":return V.ALBUM_NAME_ASC;case 8:case"ALBUM_NAME_DESC":return V.ALBUM_NAME_DESC;case 9:case"ARTIST_NAME_ASC":return V.ARTIST_NAME_ASC;case 10:case"ARTIST_NAME_DESC":return V.ARTIST_NAME_DESC;case 11:case"NAME_ASC":return V.NAME_ASC;case 12:case"NAME_DESC":return V.NAME_DESC;case 13:case"ADD_TIME_ASC":return V.ADD_TIME_ASC;case 14:case"ADD_TIME_DESC":return V.ADD_TIME_DESC;case 15:case"LENGTH_ASC":return V.LENGTH_ASC;case 16:case"LENGTH_DESC":return V.LENGTH_DESC;case 17:case"RELEVANCE":return V.RELEVANCE;case 18:case"SMART":return V.SMART;default:return V.UNRECOGNIZED}}i.util.Long!==D&&(i.util.Long=D,i.configure()),function(e){e[e.NO_SORT=0]="NO_SORT",e[e.ALBUM_ARTIST_NAME_ASC=1]="ALBUM_ARTIST_NAME_ASC",e[e.ALBUM_ARTIST_NAME_DESC=2]="ALBUM_ARTIST_NAME_DESC",e[e.TRACK_NUMBER_ASC=3]="TRACK_NUMBER_ASC",e[e.TRACK_NUMBER_DESC=4]="TRACK_NUMBER_DESC",e[e.DISC_NUMBER_ASC=5]="DISC_NUMBER_ASC",e[e.DISC_NUMBER_DESC=6]="DISC_NUMBER_DESC",e[e.ALBUM_NAME_ASC=7]="ALBUM_NAME_ASC",e[e.ALBUM_NAME_DESC=8]="ALBUM_NAME_DESC",e[e.ARTIST_NAME_ASC=9]="ARTIST_NAME_ASC",e[e.ARTIST_NAME_DESC=10]="ARTIST_NAME_DESC",e[e.NAME_ASC=11]="NAME_ASC",e[e.NAME_DESC=12]="NAME_DESC",e[e.ADD_TIME_ASC=13]="ADD_TIME_ASC",e[e.ADD_TIME_DESC=14]="ADD_TIME_DESC",e[e.LENGTH_ASC=15]="LENGTH_ASC",e[e.LENGTH_DESC=16]="LENGTH_DESC",e[e.RELEVANCE=17]="RELEVANCE",e[e.SMART=18]="SMART",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(V||(V={}));const B={encode:(e,t=i.Writer.create())=>(void 0!==e.addTime&&t.uint32(8).uint32(e.addTime),void 0!==e.metadata&&E.encode(e.metadata,t.uint32(18).fork()).ldelim(),void 0!==e.collectionState&&k.encode(e.collectionState,t.uint32(26).fork()).ldelim(),void 0!==e.rowId&&t.uint32(34).string(e.rowId),void 0!==e.relevance&&t.uint32(40).int32(e.relevance),void 0!==e.cluster&&t.uint32(50).string(e.cluster),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={addTime:void 0,metadata:void 0,collectionState:void 0,rowId:void 0,relevance:void 0,cluster:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.addTime=n.uint32();continue;case 2:if(18!==e)break;r.metadata=E.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.collectionState=k.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.rowId=n.string();continue;case 5:if(40!==e)break;r.relevance=n.int32();continue;case 6:if(50!==e)break;r.cluster=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({addTime:X(e.addTime)?Number(e.addTime):void 0,metadata:X(e.metadata)?E.fromJSON(e.metadata):void 0,collectionState:X(e.collectionState)?k.fromJSON(e.collectionState):void 0,rowId:X(e.rowId)?String(e.rowId):void 0,relevance:X(e.relevance)?Number(e.relevance):void 0,cluster:X(e.cluster)?String(e.cluster):void 0}),toJSON(e){const t={};return void 0!==e.addTime&&(t.addTime=Math.round(e.addTime)),void 0!==e.metadata&&(t.metadata=E.toJSON(e.metadata)),void 0!==e.collectionState&&(t.collectionState=k.toJSON(e.collectionState)),void 0!==e.rowId&&(t.rowId=e.rowId),void 0!==e.relevance&&(t.relevance=Math.round(e.relevance)),void 0!==e.cluster&&(t.cluster=e.cluster),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={addTime:void 0,metadata:void 0,collectionState:void 0,rowId:void 0,relevance:void 0,cluster:void 0};return t.addTime=e.addTime??void 0,t.metadata=void 0!==e.metadata&&null!==e.metadata?E.fromPartial(e.metadata):void 0,t.collectionState=void 0!==e.collectionState&&null!==e.collectionState?k.fromPartial(e.collectionState):void 0,t.rowId=e.rowId??void 0,t.relevance=e.relevance??void 0,t.cluster=e.cluster??void 0,t}};const H={encode(e,t=i.Writer.create()){for(const n of e.item)B.encode(n,t.uint32(10).fork()).ldelim();void 0!==e.unfilteredLength&&t.uint32(16).uint32(e.unfilteredLength),void 0!==e.totalContentDuration&&x.encode(e.totalContentDuration,t.uint32(26).fork()).ldelim();for(const n of e.availableDescriptors)t.uint32(34).string(n);return void 0!==e.responseContentDuration&&x.encode(e.responseContentDuration,t.uint32(42).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={item:[],unfilteredLength:void 0,totalContentDuration:void 0,availableDescriptors:[],responseContentDuration:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item.push(B.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.unfilteredLength=n.uint32();continue;case 3:if(26!==e)break;r.totalContentDuration=x.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.availableDescriptors.push(n.string());continue;case 5:if(42!==e)break;r.responseContentDuration=x.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:Array.isArray(e?.item)?e.item.map((e=>B.fromJSON(e))):[],unfilteredLength:X(e.unfilteredLength)?Number(e.unfilteredLength):void 0,totalContentDuration:X(e.totalContentDuration)?x.fromJSON(e.totalContentDuration):void 0,availableDescriptors:Array.isArray(e?.availableDescriptors)?e.availableDescriptors.map((e=>String(e))):[],responseContentDuration:X(e.responseContentDuration)?x.fromJSON(e.responseContentDuration):void 0}),toJSON(e){const t={};return e.item?.length&&(t.item=e.item.map((e=>B.toJSON(e)))),void 0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),void 0!==e.totalContentDuration&&(t.totalContentDuration=x.toJSON(e.totalContentDuration)),e.availableDescriptors?.length&&(t.availableDescriptors=e.availableDescriptors),void 0!==e.responseContentDuration&&(t.responseContentDuration=x.toJSON(e.responseContentDuration)),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={item:[],unfilteredLength:void 0,totalContentDuration:void 0,availableDescriptors:[],responseContentDuration:void 0};return t.item=e.item?.map((e=>B.fromPartial(e)))||[],t.unfilteredLength=e.unfilteredLength??void 0,t.totalContentDuration=void 0!==e.totalContentDuration&&null!==e.totalContentDuration?x.fromPartial(e.totalContentDuration):void 0,t.availableDescriptors=e.availableDescriptors?.map((e=>e))||[],t.responseContentDuration=void 0!==e.responseContentDuration&&null!==e.responseContentDuration?x.fromPartial(e.responseContentDuration):void 0,t}};const G={encode:(e,t=i.Writer.create())=>(0!==e.statusCode&&t.uint32(8).int32(e.statusCode),""!==e.reason&&t.uint32(18).string(e.reason),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={statusCode:0,reason:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.statusCode=n.int32();continue;case 2:if(18!==e)break;r.reason=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({statusCode:X(e.statusCode)?Number(e.statusCode):0,reason:X(e.reason)?String(e.reason):""}),toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.reason&&(t.reason=e.reason),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={statusCode:0,reason:""};return t.statusCode=e.statusCode??0,t.reason=e.reason??"",t}};const W={encode:(e,t=i.Writer.create())=>(0!==e.start&&t.uint32(8).int32(e.start),0!==e.length&&t.uint32(16).int32(e.length),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={start:0,length:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.start=n.int32();continue;case 2:if(16!==e)break;r.length=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({start:X(e.start)?Number(e.start):0,length:X(e.length)?Number(e.length):0}),toJSON(e){const t={};return 0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={start:0,length:0};return t.start=e.start??0,t.length=e.length??0,t}};const j={encode:(e,t=i.Writer.create())=>(void 0!==e.numDescriptors&&t.uint32(8).int32(e.numDescriptors),void 0!==e.minTracksPerDecriptor&&t.uint32(16).int32(e.minTracksPerDecriptor),void 0!==e.tracksSubset&&t.uint32(24).int32(e.tracksSubset),void 0!==e.maxIterations&&t.uint32(32).int32(e.maxIterations),void 0!==e.convergenceCriteria&&t.uint32(40).int32(e.convergenceCriteria),void 0!==e.damping&&t.uint32(53).float(e.damping),void 0!==e.medianFactor&&t.uint32(61).float(e.medianFactor),void 0!==e.weightThreshold&&t.uint32(69).float(e.weightThreshold),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={numDescriptors:void 0,minTracksPerDecriptor:void 0,tracksSubset:void 0,maxIterations:void 0,convergenceCriteria:void 0,damping:void 0,medianFactor:void 0,weightThreshold:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.numDescriptors=n.int32();continue;case 2:if(16!==e)break;r.minTracksPerDecriptor=n.int32();continue;case 3:if(24!==e)break;r.tracksSubset=n.int32();continue;case 4:if(32!==e)break;r.maxIterations=n.int32();continue;case 5:if(40!==e)break;r.convergenceCriteria=n.int32();continue;case 6:if(53!==e)break;r.damping=n.float();continue;case 7:if(61!==e)break;r.medianFactor=n.float();continue;case 8:if(69!==e)break;r.weightThreshold=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({numDescriptors:X(e.numDescriptors)?Number(e.numDescriptors):void 0,minTracksPerDecriptor:X(e.minTracksPerDecriptor)?Number(e.minTracksPerDecriptor):void 0,tracksSubset:X(e.tracksSubset)?Number(e.tracksSubset):void 0,maxIterations:X(e.maxIterations)?Number(e.maxIterations):void 0,convergenceCriteria:X(e.convergenceCriteria)?Number(e.convergenceCriteria):void 0,damping:X(e.damping)?Number(e.damping):void 0,medianFactor:X(e.medianFactor)?Number(e.medianFactor):void 0,weightThreshold:X(e.weightThreshold)?Number(e.weightThreshold):void 0}),toJSON(e){const t={};return void 0!==e.numDescriptors&&(t.numDescriptors=Math.round(e.numDescriptors)),void 0!==e.minTracksPerDecriptor&&(t.minTracksPerDecriptor=Math.round(e.minTracksPerDecriptor)),void 0!==e.tracksSubset&&(t.tracksSubset=Math.round(e.tracksSubset)),void 0!==e.maxIterations&&(t.maxIterations=Math.round(e.maxIterations)),void 0!==e.convergenceCriteria&&(t.convergenceCriteria=Math.round(e.convergenceCriteria)),void 0!==e.damping&&(t.damping=e.damping),void 0!==e.medianFactor&&(t.medianFactor=e.medianFactor),void 0!==e.weightThreshold&&(t.weightThreshold=e.weightThreshold),t},create:e=>j.fromPartial(e??{}),fromPartial(e){const t={numDescriptors:void 0,minTracksPerDecriptor:void 0,tracksSubset:void 0,maxIterations:void 0,convergenceCriteria:void 0,damping:void 0,medianFactor:void 0,weightThreshold:void 0};return t.numDescriptors=e.numDescriptors??void 0,t.minTracksPerDecriptor=e.minTracksPerDecriptor??void 0,t.tracksSubset=e.tracksSubset??void 0,t.maxIterations=e.maxIterations??void 0,t.convergenceCriteria=e.convergenceCriteria??void 0,t.damping=e.damping??void 0,t.medianFactor=e.medianFactor??void 0,t.weightThreshold=e.weightThreshold??void 0,t}};const Y={encode(e,t=i.Writer.create()){""!==e.textFilter&&t.uint32(10).string(e.textFilter),0!==e.sortBy&&t.uint32(16).int32(e.sortBy),void 0!==e.range&&W.encode(e.range,t.uint32(26).fork()).ldelim(),0!==e.minLength&&t.uint32(32).uint32(e.minLength),!0===e.removeDuplicateLinks&&t.uint32(40).bool(e.removeDuplicateLinks),!0===e.ignoreDrm&&t.uint32(48).bool(e.ignoreDrm);for(const n of e.descriptorFilter)t.uint32(58).string(n);return 0!==e.maxItems&&t.uint32(64).uint32(e.maxItems),void 0!==e.smartSortParameters&&j.encode(e.smartSortParameters,t.uint32(74).fork()).ldelim(),!0===e.removeNoDescriptor&&t.uint32(80).bool(e.removeNoDescriptor),void 0!==e.filterWeightThreshold&&t.uint32(93).float(e.filterWeightThreshold),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={textFilter:"",sortBy:0,range:void 0,minLength:0,removeDuplicateLinks:!1,ignoreDrm:!1,descriptorFilter:[],maxItems:0,smartSortParameters:void 0,removeNoDescriptor:!1,filterWeightThreshold:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.textFilter=n.string();continue;case 2:if(16!==e)break;r.sortBy=n.int32();continue;case 3:if(26!==e)break;r.range=W.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.minLength=n.uint32();continue;case 5:if(40!==e)break;r.removeDuplicateLinks=n.bool();continue;case 6:if(48!==e)break;r.ignoreDrm=n.bool();continue;case 7:if(58!==e)break;r.descriptorFilter.push(n.string());continue;case 8:if(64!==e)break;r.maxItems=n.uint32();continue;case 9:if(74!==e)break;r.smartSortParameters=j.decode(n,n.uint32());continue;case 10:if(80!==e)break;r.removeNoDescriptor=n.bool();continue;case 11:if(93!==e)break;r.filterWeightThreshold=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({textFilter:X(e.textFilter)?String(e.textFilter):"",sortBy:X(e.sortBy)?F(e.sortBy):0,range:X(e.range)?W.fromJSON(e.range):void 0,minLength:X(e.minLength)?Number(e.minLength):0,removeDuplicateLinks:!!X(e.removeDuplicateLinks)&&Boolean(e.removeDuplicateLinks),ignoreDrm:!!X(e.ignoreDrm)&&Boolean(e.ignoreDrm),descriptorFilter:Array.isArray(e?.descriptorFilter)?e.descriptorFilter.map((e=>String(e))):[],maxItems:X(e.maxItems)?Number(e.maxItems):0,smartSortParameters:X(e.smartSortParameters)?j.fromJSON(e.smartSortParameters):void 0,removeNoDescriptor:!!X(e.removeNoDescriptor)&&Boolean(e.removeNoDescriptor),filterWeightThreshold:X(e.filterWeightThreshold)?Number(e.filterWeightThreshold):void 0}),toJSON(e){const t={};return""!==e.textFilter&&(t.textFilter=e.textFilter),0!==e.sortBy&&(t.sortBy=function(e){switch(e){case V.NO_SORT:return"NO_SORT";case V.ALBUM_ARTIST_NAME_ASC:return"ALBUM_ARTIST_NAME_ASC";case V.ALBUM_ARTIST_NAME_DESC:return"ALBUM_ARTIST_NAME_DESC";case V.TRACK_NUMBER_ASC:return"TRACK_NUMBER_ASC";case V.TRACK_NUMBER_DESC:return"TRACK_NUMBER_DESC";case V.DISC_NUMBER_ASC:return"DISC_NUMBER_ASC";case V.DISC_NUMBER_DESC:return"DISC_NUMBER_DESC";case V.ALBUM_NAME_ASC:return"ALBUM_NAME_ASC";case V.ALBUM_NAME_DESC:return"ALBUM_NAME_DESC";case V.ARTIST_NAME_ASC:return"ARTIST_NAME_ASC";case V.ARTIST_NAME_DESC:return"ARTIST_NAME_DESC";case V.NAME_ASC:return"NAME_ASC";case V.NAME_DESC:return"NAME_DESC";case V.ADD_TIME_ASC:return"ADD_TIME_ASC";case V.ADD_TIME_DESC:return"ADD_TIME_DESC";case V.LENGTH_ASC:return"LENGTH_ASC";case V.LENGTH_DESC:return"LENGTH_DESC";case V.RELEVANCE:return"RELEVANCE";case V.SMART:return"SMART";case V.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.sortBy)),void 0!==e.range&&(t.range=W.toJSON(e.range)),0!==e.minLength&&(t.minLength=Math.round(e.minLength)),!0===e.removeDuplicateLinks&&(t.removeDuplicateLinks=e.removeDuplicateLinks),!0===e.ignoreDrm&&(t.ignoreDrm=e.ignoreDrm),e.descriptorFilter?.length&&(t.descriptorFilter=e.descriptorFilter),0!==e.maxItems&&(t.maxItems=Math.round(e.maxItems)),void 0!==e.smartSortParameters&&(t.smartSortParameters=j.toJSON(e.smartSortParameters)),!0===e.removeNoDescriptor&&(t.removeNoDescriptor=e.removeNoDescriptor),void 0!==e.filterWeightThreshold&&(t.filterWeightThreshold=e.filterWeightThreshold),t},create:e=>Y.fromPartial(e??{}),fromPartial(e){const t={textFilter:"",sortBy:0,range:void 0,minLength:0,removeDuplicateLinks:!1,ignoreDrm:!1,descriptorFilter:[],maxItems:0,smartSortParameters:void 0,removeNoDescriptor:!1,filterWeightThreshold:void 0};return t.textFilter=e.textFilter??"",t.sortBy=e.sortBy??0,t.range=void 0!==e.range&&null!==e.range?W.fromPartial(e.range):void 0,t.minLength=e.minLength??0,t.removeDuplicateLinks=e.removeDuplicateLinks??!1,t.ignoreDrm=e.ignoreDrm??!1,t.descriptorFilter=e.descriptorFilter?.map((e=>e))||[],t.maxItems=e.maxItems??0,t.smartSortParameters=void 0!==e.smartSortParameters&&null!==e.smartSortParameters?j.fromPartial(e.smartSortParameters):void 0,t.removeNoDescriptor=e.removeNoDescriptor??!1,t.filterWeightThreshold=e.filterWeightThreshold??void 0,t}};const z={encode:(e,t=i.Writer.create())=>(void 0!==e.query&&Y.encode(e.query,t.uint32(10).fork()).ldelim(),void 0!==e.policy&&P.encode(e.policy,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={query:void 0,policy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.query=Y.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.policy=P.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({query:X(e.query)?Y.fromJSON(e.query):void 0,policy:X(e.policy)?P.fromJSON(e.policy):void 0}),toJSON(e){const t={};return void 0!==e.query&&(t.query=Y.toJSON(e.query)),void 0!==e.policy&&(t.policy=P.toJSON(e.policy)),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t={query:void 0,policy:void 0};return t.query=void 0!==e.query&&null!==e.query?Y.fromPartial(e.query):void 0,t.policy=void 0!==e.policy&&null!==e.policy?P.fromPartial(e.policy):void 0,t}};const K={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&G.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.data&&H.encode(e.data,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:void 0,data:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.status=G.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.data=H.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:X(e.status)?G.fromJSON(e.status):void 0,data:X(e.data)?H.fromJSON(e.data):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=G.toJSON(e.status)),void 0!==e.data&&(t.data=H.toJSON(e.data)),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={status:void 0,data:void 0};return t.status=void 0!==e.status&&null!==e.status?G.fromPartial(e.status):void 0,t.data=void 0!==e.data&&null!==e.data?H.fromPartial(e.data):void 0,t}};const J={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:X(e.uri)?String(e.uri):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),t},create:e=>J.fromPartial(e??{}),fromPartial(e){const t={uri:""};return t.uri=e.uri??"",t}};const q={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&G.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.status=G.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:X(e.status)?G.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=G.toJSON(e.status)),t},create:e=>q.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?G.fromPartial(e.status):void 0,t}};function X(e){return null!=e}class ${transport;options;constructor(e,t={}){this.transport=e,this.options=t}getTracks(e,t){const n=$.SERVICE_ID,o="GetTracks",r=z.fromPartial(e),a=z.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=K.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeTracks(e,t){const n=$.SERVICE_ID,o="SubscribeTracks",r=z.fromPartial(e),a=z.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=K.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}removeTrack(e,t){const n=$.SERVICE_ID,o="RemoveTrack",r=J.fromPartial(e),a=J.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=q.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.offline_playable_cache_esperanto.proto.OfflinePlayableCache";static METHODS={getTracks:{isStreaming:!1,requestType:z,responseType:K},subscribeTracks:{isStreaming:!0,requestType:z,responseType:K},removeTrack:{isStreaming:!1,requestType:J,responseType:q}};static DECODERS={GetTracks:{request:z.decode,response:K.decode},SubscribeTracks:{request:z.decode,response:K.decode},RemoveTrack:{request:J.decode,response:q.decode}}}},77773:(e,t,n)=>{"use strict";n.d(t,{e6:()=>a,NI:()=>F,Sf:()=>s});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};var r,a,s,c,l=n(87252);function u(e){switch(e){case 0:case"OK":return r.OK;case 1:case"NOT_AVAILABLE":return r.NOT_AVAILABLE;default:return r.UNRECOGNIZED}}function d(e){switch(e){case r.OK:return"OK";case r.NOT_AVAILABLE:return"NOT_AVAILABLE";case r.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function p(e){switch(e){case 0:case"GETFILES_OK":return a.GETFILES_OK;case 1:case"METADATA_CLIENT_NOT_AVAILABLE":return a.METADATA_CLIENT_NOT_AVAILABLE;case 2:case"FILES_NOT_FOUND":return a.FILES_NOT_FOUND;case 3:case"TRACK_NOT_AVAILABLE":return a.TRACK_NOT_AVAILABLE;case 4:case"EXTENDED_METADATA_ERROR":return a.EXTENDED_METADATA_ERROR;default:return a.UNRECOGNIZED}}function h(e){switch(e){case 0:case"USER":return s.USER;case 1:case"SYSTEM":return s.SYSTEM;case 2:case"CONNECT":return s.CONNECT;default:return s.UNRECOGNIZED}}function f(e){switch(e){case s.USER:return"USER";case s.SYSTEM:return"SYSTEM";case s.CONNECT:return"CONNECT";case s.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function m(e){switch(e){case 0:case"START":return c.START;case 1:case"STOP":return c.STOP;default:return c.UNRECOGNIZED}}!function(e){e[e.OK=0]="OK",e[e.NOT_AVAILABLE=1]="NOT_AVAILABLE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(r||(r={})),function(e){e[e.GETFILES_OK=0]="GETFILES_OK",e[e.METADATA_CLIENT_NOT_AVAILABLE=1]="METADATA_CLIENT_NOT_AVAILABLE",e[e.FILES_NOT_FOUND=2]="FILES_NOT_FOUND",e[e.TRACK_NOT_AVAILABLE=3]="TRACK_NOT_AVAILABLE",e[e.EXTENDED_METADATA_ERROR=4]="EXTENDED_METADATA_ERROR",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(a||(a={})),function(e){e[e.USER=0]="USER",e[e.SYSTEM=1]="SYSTEM",e[e.CONNECT=2]="CONNECT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(s||(s={})),function(e){e[e.START=0]="START",e[e.STOP=1]="STOP",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(c||(c={}));const _={encode(e,t=i.Writer.create()){for(const n of e.interactionIds)t.uint32(10).string(n);for(const n of e.pageInstanceIds)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={interactionIds:[],pageInstanceIds:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.interactionIds.push(n.string());continue;case 2:if(18!==e)break;r.pageInstanceIds.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[],pageInstanceIds:Array.isArray(e?.pageInstanceIds)?e.pageInstanceIds.map((e=>String(e))):[]}),toJSON(e){const t={};return e.interactionIds?.length&&(t.interactionIds=e.interactionIds),e.pageInstanceIds?.length&&(t.pageInstanceIds=e.pageInstanceIds),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={interactionIds:[],pageInstanceIds:[]};return t.interactionIds=e.interactionIds?.map((e=>e))||[],t.pageInstanceIds=e.pageInstanceIds?.map((e=>e))||[],t}};const g={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),0!==e.volume&&t.uint32(17).double(e.volume),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:0,volume:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(17!==e)break;r.volume=n.double();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?u(e.status):0,volume:V(e.volume)?Number(e.volume):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=d(e.status)),0!==e.volume&&(t.volume=e.volume),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t={status:0,volume:0};return t.status=e.status??0,t.volume=e.volume??0,t}};const E={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),0!==e.volume&&t.uint32(16).int32(e.volume),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:0,volume:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(16!==e)break;r.volume=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?u(e.status):0,volume:V(e.volume)?Number(e.volume):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=d(e.status)),0!==e.volume&&(t.volume=Math.round(e.volume)),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={status:0,volume:0};return t.status=e.status??0,t.volume=e.volume??0,t}};const v={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),0!==e.volume&&t.uint32(17).double(e.volume),0!==e.source&&t.uint32(24).int32(e.source),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:0,volume:0,source:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(17!==e)break;r.volume=n.double();continue;case 3:if(24!==e)break;r.source=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?u(e.status):0,volume:V(e.volume)?Number(e.volume):0,source:V(e.source)?h(e.source):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=d(e.status)),0!==e.volume&&(t.volume=e.volume),0!==e.source&&(t.source=f(e.source)),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={status:0,volume:0,source:0};return t.status=e.status??0,t.volume=e.volume??0,t.source=e.source??0,t}};const y={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),0!==e.volume&&t.uint32(16).int32(e.volume),0!==e.source&&t.uint32(24).int32(e.source),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:0,volume:0,source:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(16!==e)break;r.volume=n.int32();continue;case 3:if(24!==e)break;r.source=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?u(e.status):0,volume:V(e.volume)?Number(e.volume):0,source:V(e.source)?h(e.source):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=d(e.status)),0!==e.volume&&(t.volume=Math.round(e.volume)),0!==e.source&&(t.source=f(e.source)),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={status:0,volume:0,source:0};return t.status=e.status??0,t.volume=e.volume??0,t.source=e.source??0,t}};const b={encode:(e,t=i.Writer.create())=>(0!==e.source&&t.uint32(8).int32(e.source),0!==e.volume&&t.uint32(17).double(e.volume),void 0!==e.connectLoggingParams&&_.encode(e.connectLoggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={source:0,volume:0,connectLoggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.source=n.int32();continue;case 2:if(17!==e)break;r.volume=n.double();continue;case 3:if(26!==e)break;r.connectLoggingParams=_.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({source:V(e.source)?h(e.source):0,volume:V(e.volume)?Number(e.volume):0,connectLoggingParams:V(e.connectLoggingParams)?_.fromJSON(e.connectLoggingParams):void 0}),toJSON(e){const t={};return 0!==e.source&&(t.source=f(e.source)),0!==e.volume&&(t.volume=e.volume),void 0!==e.connectLoggingParams&&(t.connectLoggingParams=_.toJSON(e.connectLoggingParams)),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={source:0,volume:0,connectLoggingParams:void 0};return t.source=e.source??0,t.volume=e.volume??0,t.connectLoggingParams=void 0!==e.connectLoggingParams&&null!==e.connectLoggingParams?_.fromPartial(e.connectLoggingParams):void 0,t}};const S={encode:(e,t=i.Writer.create())=>(0!==e.source&&t.uint32(8).int32(e.source),0!==e.volume&&t.uint32(16).int32(e.volume),void 0!==e.connectLoggingParams&&_.encode(e.connectLoggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={source:0,volume:0,connectLoggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.source=n.int32();continue;case 2:if(16!==e)break;r.volume=n.int32();continue;case 3:if(26!==e)break;r.connectLoggingParams=_.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({source:V(e.source)?h(e.source):0,volume:V(e.volume)?Number(e.volume):0,connectLoggingParams:V(e.connectLoggingParams)?_.fromJSON(e.connectLoggingParams):void 0}),toJSON(e){const t={};return 0!==e.source&&(t.source=f(e.source)),0!==e.volume&&(t.volume=Math.round(e.volume)),void 0!==e.connectLoggingParams&&(t.connectLoggingParams=_.toJSON(e.connectLoggingParams)),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={source:0,volume:0,connectLoggingParams:void 0};return t.source=e.source??0,t.volume=e.volume??0,t.connectLoggingParams=void 0!==e.connectLoggingParams&&null!==e.connectLoggingParams?_.fromPartial(e.connectLoggingParams):void 0,t}};const T={encode:(e,t=i.Writer.create())=>(0!==e.source&&t.uint32(8).int32(e.source),void 0!==e.connectLoggingParams&&_.encode(e.connectLoggingParams,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={source:0,connectLoggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.source=n.int32();continue;case 2:if(18!==e)break;r.connectLoggingParams=_.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({source:V(e.source)?h(e.source):0,connectLoggingParams:V(e.connectLoggingParams)?_.fromJSON(e.connectLoggingParams):void 0}),toJSON(e){const t={};return 0!==e.source&&(t.source=f(e.source)),void 0!==e.connectLoggingParams&&(t.connectLoggingParams=_.toJSON(e.connectLoggingParams)),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={source:0,connectLoggingParams:void 0};return t.source=e.source??0,t.connectLoggingParams=void 0!==e.connectLoggingParams&&null!==e.connectLoggingParams?_.fromPartial(e.connectLoggingParams):void 0,t}};function A(){return{status:0,lengthMs:BigInt("0"),positionMs:BigInt("0"),playing:!1,buffering:!1,error:0,fileId:"",fileType:"",resolvedContentUrl:"",fileBitrate:0,codecName:"",playbackSpeed:0,gainAdjustment:0,hasLoudness:!1,loudness:0,strategy:"",targetBitrate:0,advisedBitrate:0,targetFileAvailable:!1,audioId:""}}const I={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),e.lengthMs!==BigInt("0")&&t.uint32(16).uint64(e.lengthMs.toString()),e.positionMs!==BigInt("0")&&t.uint32(24).uint64(e.positionMs.toString()),!0===e.playing&&t.uint32(32).bool(e.playing),!0===e.buffering&&t.uint32(40).bool(e.buffering),0!==e.error&&t.uint32(48).int32(e.error),""!==e.fileId&&t.uint32(58).string(e.fileId),""!==e.fileType&&t.uint32(66).string(e.fileType),""!==e.resolvedContentUrl&&t.uint32(74).string(e.resolvedContentUrl),0!==e.fileBitrate&&t.uint32(80).int32(e.fileBitrate),""!==e.codecName&&t.uint32(90).string(e.codecName),0!==e.playbackSpeed&&t.uint32(97).double(e.playbackSpeed),0!==e.gainAdjustment&&t.uint32(109).float(e.gainAdjustment),!0===e.hasLoudness&&t.uint32(112).bool(e.hasLoudness),0!==e.loudness&&t.uint32(125).float(e.loudness),""!==e.strategy&&t.uint32(138).string(e.strategy),0!==e.targetBitrate&&t.uint32(144).int32(e.targetBitrate),0!==e.advisedBitrate&&t.uint32(152).int32(e.advisedBitrate),!0===e.targetFileAvailable&&t.uint32(160).bool(e.targetFileAvailable),""!==e.audioId&&t.uint32(170).string(e.audioId),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=A();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(16!==e)break;r.lengthMs=U(n.uint64());continue;case 3:if(24!==e)break;r.positionMs=U(n.uint64());continue;case 4:if(32!==e)break;r.playing=n.bool();continue;case 5:if(40!==e)break;r.buffering=n.bool();continue;case 6:if(48!==e)break;r.error=n.int32();continue;case 7:if(58!==e)break;r.fileId=n.string();continue;case 8:if(66!==e)break;r.fileType=n.string();continue;case 9:if(74!==e)break;r.resolvedContentUrl=n.string();continue;case 10:if(80!==e)break;r.fileBitrate=n.int32();continue;case 11:if(90!==e)break;r.codecName=n.string();continue;case 12:if(97!==e)break;r.playbackSpeed=n.double();continue;case 13:if(109!==e)break;r.gainAdjustment=n.float();continue;case 14:if(112!==e)break;r.hasLoudness=n.bool();continue;case 15:if(125!==e)break;r.loudness=n.float();continue;case 17:if(138!==e)break;r.strategy=n.string();continue;case 18:if(144!==e)break;r.targetBitrate=n.int32();continue;case 19:if(152!==e)break;r.advisedBitrate=n.int32();continue;case 20:if(160!==e)break;r.targetFileAvailable=n.bool();continue;case 21:if(170!==e)break;r.audioId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?u(e.status):0,lengthMs:V(e.lengthMs)?BigInt(e.lengthMs):BigInt("0"),positionMs:V(e.positionMs)?BigInt(e.positionMs):BigInt("0"),playing:!!V(e.playing)&&Boolean(e.playing),buffering:!!V(e.buffering)&&Boolean(e.buffering),error:V(e.error)?Number(e.error):0,fileId:V(e.fileId)?String(e.fileId):"",fileType:V(e.fileType)?String(e.fileType):"",resolvedContentUrl:V(e.resolvedContentUrl)?String(e.resolvedContentUrl):"",fileBitrate:V(e.fileBitrate)?Number(e.fileBitrate):0,codecName:V(e.codecName)?String(e.codecName):"",playbackSpeed:V(e.playbackSpeed)?Number(e.playbackSpeed):0,gainAdjustment:V(e.gainAdjustment)?Number(e.gainAdjustment):0,hasLoudness:!!V(e.hasLoudness)&&Boolean(e.hasLoudness),loudness:V(e.loudness)?Number(e.loudness):0,strategy:V(e.strategy)?String(e.strategy):"",targetBitrate:V(e.targetBitrate)?Number(e.targetBitrate):0,advisedBitrate:V(e.advisedBitrate)?Number(e.advisedBitrate):0,targetFileAvailable:!!V(e.targetFileAvailable)&&Boolean(e.targetFileAvailable),audioId:V(e.audioId)?String(e.audioId):""}),toJSON(e){const t={};return 0!==e.status&&(t.status=d(e.status)),e.lengthMs!==BigInt("0")&&(t.lengthMs=e.lengthMs.toString()),e.positionMs!==BigInt("0")&&(t.positionMs=e.positionMs.toString()),!0===e.playing&&(t.playing=e.playing),!0===e.buffering&&(t.buffering=e.buffering),0!==e.error&&(t.error=Math.round(e.error)),""!==e.fileId&&(t.fileId=e.fileId),""!==e.fileType&&(t.fileType=e.fileType),""!==e.resolvedContentUrl&&(t.resolvedContentUrl=e.resolvedContentUrl),0!==e.fileBitrate&&(t.fileBitrate=Math.round(e.fileBitrate)),""!==e.codecName&&(t.codecName=e.codecName),0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),0!==e.gainAdjustment&&(t.gainAdjustment=e.gainAdjustment),!0===e.hasLoudness&&(t.hasLoudness=e.hasLoudness),0!==e.loudness&&(t.loudness=e.loudness),""!==e.strategy&&(t.strategy=e.strategy),0!==e.targetBitrate&&(t.targetBitrate=Math.round(e.targetBitrate)),0!==e.advisedBitrate&&(t.advisedBitrate=Math.round(e.advisedBitrate)),!0===e.targetFileAvailable&&(t.targetFileAvailable=e.targetFileAvailable),""!==e.audioId&&(t.audioId=e.audioId),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t=A();return t.status=e.status??0,t.lengthMs=e.lengthMs??BigInt("0"),t.positionMs=e.positionMs??BigInt("0"),t.playing=e.playing??!1,t.buffering=e.buffering??!1,t.error=e.error??0,t.fileId=e.fileId??"",t.fileType=e.fileType??"",t.resolvedContentUrl=e.resolvedContentUrl??"",t.fileBitrate=e.fileBitrate??0,t.codecName=e.codecName??"",t.playbackSpeed=e.playbackSpeed??0,t.gainAdjustment=e.gainAdjustment??0,t.hasLoudness=e.hasLoudness??!1,t.loudness=e.loudness??0,t.strategy=e.strategy??"",t.targetBitrate=e.targetBitrate??0,t.advisedBitrate=e.advisedBitrate??0,t.targetFileAvailable=e.targetFileAvailable??!1,t.audioId=e.audioId??"",t}};const O={encode(e,t=i.Writer.create()){for(const n of e.formats)C.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={formats:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.formats.push(C.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({formats:Array.isArray(e?.formats)?e.formats.map((e=>C.fromJSON(e))):[]}),toJSON(e){const t={};return e.formats?.length&&(t.formats=e.formats.map((e=>C.toJSON(e)))),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={formats:[]};return t.formats=e.formats?.map((e=>C.fromPartial(e)))||[],t}};const C={encode:(e,t=i.Writer.create())=>(""!==e.enumKey&&t.uint32(10).string(e.enumKey),0!==e.enumValue&&t.uint32(16).uint32(e.enumValue),!0===e.supported&&t.uint32(24).bool(e.supported),0!==e.bitrate&&t.uint32(32).uint32(e.bitrate),""!==e.mimeType&&t.uint32(42).string(e.mimeType),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={enumKey:"",enumValue:0,supported:!1,bitrate:0,mimeType:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.enumKey=n.string();continue;case 2:if(16!==e)break;r.enumValue=n.uint32();continue;case 3:if(24!==e)break;r.supported=n.bool();continue;case 4:if(32!==e)break;r.bitrate=n.uint32();continue;case 5:if(42!==e)break;r.mimeType=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({enumKey:V(e.enumKey)?String(e.enumKey):"",enumValue:V(e.enumValue)?Number(e.enumValue):0,supported:!!V(e.supported)&&Boolean(e.supported),bitrate:V(e.bitrate)?Number(e.bitrate):0,mimeType:V(e.mimeType)?String(e.mimeType):""}),toJSON(e){const t={};return""!==e.enumKey&&(t.enumKey=e.enumKey),0!==e.enumValue&&(t.enumValue=Math.round(e.enumValue)),!0===e.supported&&(t.supported=e.supported),0!==e.bitrate&&(t.bitrate=Math.round(e.bitrate)),""!==e.mimeType&&(t.mimeType=e.mimeType),t},create:e=>C.fromPartial(e??{}),fromPartial(e){const t={enumKey:"",enumValue:0,supported:!1,bitrate:0,mimeType:""};return t.enumKey=e.enumKey??"",t.enumValue=e.enumValue??0,t.supported=e.supported??!1,t.bitrate=e.bitrate??0,t.mimeType=e.mimeType??"",t}};function R(){return{position:BigInt("0")}}const N={encode:(e,t=i.Writer.create())=>(e.position!==BigInt("0")&&t.uint32(8).uint64(e.position.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=R();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.position=U(n.uint64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({position:V(e.position)?BigInt(e.position):BigInt("0")}),toJSON(e){const t={};return e.position!==BigInt("0")&&(t.position=e.position.toString()),t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t=R();return t.position=e.position??BigInt("0"),t}};function P(){return{status:0,position:BigInt("0")}}const L={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),e.position!==BigInt("0")&&t.uint32(16).uint64(e.position.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=P();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(16!==e)break;r.position=U(n.uint64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?u(e.status):0,position:V(e.position)?BigInt(e.position):BigInt("0")}),toJSON(e){const t={};return 0!==e.status&&(t.status=d(e.status)),e.position!==BigInt("0")&&(t.position=e.position.toString()),t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t=P();return t.status=e.status??0,t.position=e.position??BigInt("0"),t}};const k={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:V(e.uri)?String(e.uri):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={uri:""};return t.uri=e.uri??"",t}};const w={encode(e,t=i.Writer.create()){0!==e.status&&t.uint32(8).int32(e.status);for(const n of e.files)D.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:0,files:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue;case 2:if(18!==e)break;r.files.push(D.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?p(e.status):0,files:Array.isArray(e?.files)?e.files.map((e=>D.fromJSON(e))):[]}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case a.GETFILES_OK:return"GETFILES_OK";case a.METADATA_CLIENT_NOT_AVAILABLE:return"METADATA_CLIENT_NOT_AVAILABLE";case a.FILES_NOT_FOUND:return"FILES_NOT_FOUND";case a.TRACK_NOT_AVAILABLE:return"TRACK_NOT_AVAILABLE";case a.EXTENDED_METADATA_ERROR:return"EXTENDED_METADATA_ERROR";case a.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),e.files?.length&&(t.files=e.files.map((e=>D.toJSON(e)))),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={status:0,files:[]};return t.status=e.status??0,t.files=e.files?.map((e=>D.fromPartial(e)))||[],t}};const D={encode:(e,t=i.Writer.create())=>(""!==e.fileId&&t.uint32(10).string(e.fileId),""!==e.format&&t.uint32(18).string(e.format),0!==e.bitrate&&t.uint32(24).uint32(e.bitrate),0!==e.formatEnum&&t.uint32(32).uint32(e.formatEnum),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={fileId:"",format:"",bitrate:0,formatEnum:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.fileId=n.string();continue;case 2:if(18!==e)break;r.format=n.string();continue;case 3:if(24!==e)break;r.bitrate=n.uint32();continue;case 4:if(32!==e)break;r.formatEnum=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({fileId:V(e.fileId)?String(e.fileId):"",format:V(e.format)?String(e.format):"",bitrate:V(e.bitrate)?Number(e.bitrate):0,formatEnum:V(e.formatEnum)?Number(e.formatEnum):0}),toJSON(e){const t={};return""!==e.fileId&&(t.fileId=e.fileId),""!==e.format&&(t.format=e.format),0!==e.bitrate&&(t.bitrate=Math.round(e.bitrate)),0!==e.formatEnum&&(t.formatEnum=Math.round(e.formatEnum)),t},create:e=>D.fromPartial(e??{}),fromPartial(e){const t={fileId:"",format:"",bitrate:0,formatEnum:0};return t.fileId=e.fileId??"",t.format=e.format??"",t.bitrate=e.bitrate??0,t.formatEnum=e.formatEnum??0,t}};const M={encode:(e,t=i.Writer.create())=>(0!==e.action&&t.uint32(16).int32(e.action),0!==e.volume&&t.uint32(25).double(e.volume),0!==e.fadeDurationMs&&t.uint32(32).uint32(e.fadeDurationMs),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={action:0,volume:0,fadeDurationMs:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 2:if(16!==e)break;r.action=n.int32();continue;case 3:if(25!==e)break;r.volume=n.double();continue;case 4:if(32!==e)break;r.fadeDurationMs=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({action:V(e.action)?m(e.action):0,volume:V(e.volume)?Number(e.volume):0,fadeDurationMs:V(e.fadeDurationMs)?Number(e.fadeDurationMs):0}),toJSON(e){const t={};return 0!==e.action&&(t.action=function(e){switch(e){case c.START:return"START";case c.STOP:return"STOP";case c.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.action)),0!==e.volume&&(t.volume=e.volume),0!==e.fadeDurationMs&&(t.fadeDurationMs=Math.round(e.fadeDurationMs)),t},create:e=>M.fromPartial(e??{}),fromPartial(e){const t={action:0,volume:0,fadeDurationMs:0};return t.action=e.action??0,t.volume=e.volume??0,t.fadeDurationMs=e.fadeDurationMs??0,t}};const x={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:V(e.status)?u(e.status):0}),toJSON(e){const t={};return 0!==e.status&&(t.status=d(e.status)),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t={status:0};return t.status=e.status??0,t}};function U(e){return BigInt(e.toString())}function V(e){return null!=e}i.util.Long!==l&&(i.util.Long=l,i.configure());class F{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getVolume(e,t){const n=F.SERVICE_ID,r="GetVolume",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=g.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}getRawVolume(e,t){const n=F.SERVICE_ID,r="GetRawVolume",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=E.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}subVolume(e,t){const n=F.SERVICE_ID,r="SubVolume",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=v.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}subRawVolume(e,t){const n=F.SERVICE_ID,r="SubRawVolume",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=y.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}setVolume(e,t){const n=F.SERVICE_ID,r="SetVolume",a=b.fromPartial(e),s=b.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}setRawVolume(e,t){const n=F.SERVICE_ID,r="SetRawVolume",a=S.fromPartial(e),s=S.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}raiseVolume(e,t){const n=F.SERVICE_ID,r="RaiseVolume",a=T.fromPartial(e),s=T.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}lowerVolume(e,t){const n=F.SERVICE_ID,r="LowerVolume",a=T.fromPartial(e),s=T.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}getPlaybackInfo(e,t){const n=F.SERVICE_ID,r="GetPlaybackInfo",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=I.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}subPlaybackInfo(e,t){const n=F.SERVICE_ID,r="SubPlaybackInfo",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=I.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}getFormats(e,t){const n=F.SERVICE_ID,r="GetFormats",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=O.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}subPosition(e,t){const n=F.SERVICE_ID,o="SubPosition",r=N.fromPartial(e),a=N.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=L.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getFiles(e,t){const n=F.SERVICE_ID,o="GetFiles",r=k.fromPartial(e),a=k.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=w.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}duck(e,t){const n=F.SERVICE_ID,o="Duck",r=M.fromPartial(e),a=M.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=x.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subBufferUnderrun(e,t){const n=F.SERVICE_ID,r="SubBufferUnderrun",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const a=o.decode(i.Reader.create(e));this.options.onResponse?.(a,n,r,"stream"),t(a)}))}static SERVICE_ID="spotify.playback_esperanto.proto.PlaybackService";static METHODS={getVolume:{isStreaming:!1,requestType:o,responseType:g},getRawVolume:{isStreaming:!1,requestType:o,responseType:E},subVolume:{isStreaming:!0,requestType:o,responseType:v},subRawVolume:{isStreaming:!0,requestType:o,responseType:y},setVolume:{isStreaming:!1,requestType:b,responseType:o},setRawVolume:{isStreaming:!1,requestType:S,responseType:o},raiseVolume:{isStreaming:!1,requestType:T,responseType:o},lowerVolume:{isStreaming:!1,requestType:T,responseType:o},getPlaybackInfo:{isStreaming:!1,requestType:o,responseType:I},subPlaybackInfo:{isStreaming:!0,requestType:o,responseType:I},getFormats:{isStreaming:!1,requestType:o,responseType:O},subPosition:{isStreaming:!0,requestType:N,responseType:L},getFiles:{isStreaming:!1,requestType:k,responseType:w},duck:{isStreaming:!1,requestType:M,responseType:x},subBufferUnderrun:{isStreaming:!0,requestType:o,responseType:o}};static DECODERS={GetVolume:{request:o.decode,response:g.decode},GetRawVolume:{request:o.decode,response:E.decode},SubVolume:{request:o.decode,response:v.decode},SubRawVolume:{request:o.decode,response:y.decode},SetVolume:{request:b.decode,response:o.decode},SetRawVolume:{request:S.decode,response:o.decode},RaiseVolume:{request:T.decode,response:o.decode},LowerVolume:{request:T.decode,response:o.decode},GetPlaybackInfo:{request:o.decode,response:I.decode},SubPlaybackInfo:{request:o.decode,response:I.decode},GetFormats:{request:o.decode,response:O.decode},SubPosition:{request:N.decode,response:L.decode},GetFiles:{request:k.decode,response:w.decode},Duck:{request:M.decode,response:x.decode},SubBufferUnderrun:{request:o.decode,response:o.decode}}}},51864:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,S:()=>f});var i,o=n(24848);function r(e){switch(e){case 0:case"NOT_ENHANCED":return i.NOT_ENHANCED;case 1:case"RECOMMENDATION":return i.RECOMMENDATION;default:return i.UNRECOGNIZED}}function a(e){switch(e){case i.NOT_ENHANCED:return"NOT_ENHANCED";case i.RECOMMENDATION:return"RECOMMENDATION";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.NOT_ENHANCED=0]="NOT_ENHANCED",e[e.RECOMMENDATION=1]="RECOMMENDATION",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const s={encode:(e,t=o.Writer.create())=>(void 0!==e.shuffle&&t.uint32(8).bool(e.shuffle),void 0!==e.contextEnhancement&&t.uint32(16).int32(e.contextEnhancement),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={shuffle:void 0,contextEnhancement:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.shuffle=n.bool();continue;case 2:if(16!==e)break;r.contextEnhancement=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shuffle:l(e.shuffle)?Boolean(e.shuffle):void 0,contextEnhancement:l(e.contextEnhancement)?r(e.contextEnhancement):void 0}),toJSON(e){const t={};return void 0!==e.shuffle&&(t.shuffle=e.shuffle),void 0!==e.contextEnhancement&&(t.contextEnhancement=a(e.contextEnhancement)),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={shuffle:void 0,contextEnhancement:void 0};return t.shuffle=e.shuffle??void 0,t.contextEnhancement=e.contextEnhancement??void 0,t}};const c={encode:(e,t=o.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),!0===e.shuffleOn&&t.uint32(16).bool(e.shuffleOn),0!==e.contextEnhancement&&t.uint32(24).int32(e.contextEnhancement),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={id:"",shuffleOn:!1,contextEnhancement:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.id=n.string();continue;case 2:if(16!==e)break;r.shuffleOn=n.bool();continue;case 3:if(24!==e)break;r.contextEnhancement=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:l(e.id)?String(e.id):"",shuffleOn:!!l(e.shuffleOn)&&Boolean(e.shuffleOn),contextEnhancement:l(e.contextEnhancement)?r(e.contextEnhancement):0}),toJSON(e){const t={};return""!==e.id&&(t.id=e.id),!0===e.shuffleOn&&(t.shuffleOn=e.shuffleOn),0!==e.contextEnhancement&&(t.contextEnhancement=a(e.contextEnhancement)),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={id:"",shuffleOn:!1,contextEnhancement:0};return t.id=e.id??"",t.shuffleOn=e.shuffleOn??!1,t.contextEnhancement=e.contextEnhancement??0,t}};function l(e){return null!=e}var u=n(87252);const d={encode:(e,t=o.Writer.create())=>(""!==e.value&&t.uint32(10).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:p(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.value&&(t.value=e.value),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={value:""};return t.value=e.value??"",t}};(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function p(e){return null!=e}o.util.Long!==u&&(o.util.Long=u,o.configure());const h={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>h.fromPartial(e??{}),fromPartial:e=>({})};class f{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getShuffleState(e,t){const n=f.SERVICE_ID,i="GetShuffleState",r=d.fromPartial(e),a=d.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=s.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}setShuffleState(e,t){const n=f.SERVICE_ID,i="SetShuffleState",r=c.fromPartial(e),a=c.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=h.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.playback_settings.esperanto.proto.PlaybackSettings";static METHODS={getShuffleState:{isStreaming:!1,requestType:d,responseType:s},setShuffleState:{isStreaming:!1,requestType:c,responseType:h}};static DECODERS={GetShuffleState:{request:d.decode,response:s.decode},SetShuffleState:{request:c.decode,response:h.decode}}}},14142:(e,t,n)=>{"use strict";n.d(t,{lb:()=>s,D$:()=>o});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(""!==e.showUri&&t.uint32(10).string(e.showUri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={showUri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showUri:a(e.showUri)?String(e.showUri):""}),toJSON(e){const t={};return""!==e.showUri&&(t.showUri=e.showUri),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={showUri:""};return t.showUri=e.showUri??"",t}};const r={encode:(e,t=i.Writer.create())=>(!0===e.isUserSubscribed&&t.uint32(8).bool(e.isUserSubscribed),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isUserSubscribed:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isUserSubscribed=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isUserSubscribed:!!a(e.isUserSubscribed)&&Boolean(e.isUserSubscribed)}),toJSON(e){const t={};return!0===e.isUserSubscribed&&(t.isUserSubscribed=e.isUserSubscribed),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={isUserSubscribed:!1};return t.isUserSubscribed=e.isUserSubscribed??!1,t}};function a(e){return null!=e}class s{transport;options;constructor(e,t={}){this.transport=e,this.options=t}putShowSubscription(e,t){const n=s.SERVICE_ID,a="PutShowSubscription",c=o.fromPartial(e),l=o.encode(c).finish();return this.options.onRequest?.(c,n,a,"single"),this.transport.callSingle({service:n,method:a,payload:l},t).then((e=>{const t=r.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,a,"single"),t}))}static SERVICE_ID="spotify.podcast_paywalls_esperanto.proto.PodcastPaywalls";static METHODS={putShowSubscription:{isStreaming:!1,requestType:o,responseType:r}};static DECODERS={PutShowSubscription:{request:o.decode,response:r.decode}}}},38848:(e,t,n)=>{"use strict";n.d(t,{xo:()=>L});var i=n(24848);function o(){return{typeUrl:"",value:new Uint8Array(0)}}const r={encode:(e,t=i.Writer.create())=>(""!==e.typeUrl&&t.uint32(10).string(e.typeUrl),0!==e.value.length&&t.uint32(18).bytes(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a=o();for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.typeUrl=n.string();continue;case 2:if(18!==e)break;a.value=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({typeUrl:c(e.typeUrl)?String(e.typeUrl):"",value:c(e.value)?s(e.value):new Uint8Array(0)}),toJSON(e){const t={};return""!==e.typeUrl&&(t.typeUrl=e.typeUrl),0!==e.value.length&&(t.value=function(e){if(a.Buffer)return a.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),a.btoa(t.join(""))}}(e.value)),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t=o();return t.typeUrl=e.typeUrl??"",t.value=e.value??new Uint8Array(0),t}},a=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function s(e){if(a.Buffer)return Uint8Array.from(a.Buffer.from(e,"base64"));{const t=a.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function c(e){return null!=e}var l=n(87252);function u(){return{seconds:BigInt("0"),nanos:0}}const d={encode:(e,t=i.Writer.create())=>(e.seconds!==BigInt("0")&&t.uint32(8).int64(e.seconds.toString()),0!==e.nanos&&t.uint32(16).int32(e.nanos),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=u();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.seconds=(a=n.int64(),BigInt(a.toString()));continue;case 2:if(16!==e)break;r.nanos=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({seconds:p(e.seconds)?BigInt(e.seconds):BigInt("0"),nanos:p(e.nanos)?Number(e.nanos):0}),toJSON(e){const t={};return e.seconds!==BigInt("0")&&(t.seconds=e.seconds.toString()),0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t=u();return t.seconds=e.seconds??BigInt("0"),t.nanos=e.nanos??0,t}};function p(e){return null!=e}i.util.Long!==l&&(i.util.Long=l,i.configure());const h={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.uid&&t.uint32(18).string(e.uid),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",uid:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.uid=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:v(e.uri)?String(e.uri):"",uid:v(e.uid)?String(e.uid):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),""!==e.uid&&(t.uid=e.uid),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={uri:"",uid:""};return t.uri=e.uri??"",t.uid=e.uid??"",t}};const f={encode:(e,t=i.Writer.create())=>(void 0!==e.event&&r.encode(e.event,t.uint32(10).fork()).ldelim(),void 0!==e.timestamp&&d.encode(function(e){const t=BigInt(Math.trunc(e.getTime()/1e3)),n=e.getTime()%1e3*1e6;return{seconds:t,nanos:n}}(e.timestamp),t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const a={event:void 0,timestamp:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.event=r.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.timestamp=g(d.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({event:v(e.event)?r.fromJSON(e.event):void 0,timestamp:v(e.timestamp)?E(e.timestamp):void 0}),toJSON(e){const t={};return void 0!==e.event&&(t.event=r.toJSON(e.event)),void 0!==e.timestamp&&(t.timestamp=e.timestamp.toISOString()),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={event:void 0,timestamp:void 0};return t.event=void 0!==e.event&&null!==e.event?r.fromPartial(e.event):void 0,t.timestamp=e.timestamp??void 0,t}};const m={encode(e,t=i.Writer.create()){for(const n of e.tracks)h.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={tracks:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tracks.push(h.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({tracks:Array.isArray(e?.tracks)?e.tracks.map((e=>h.fromJSON(e))):[]}),toJSON(e){const t={};return e.tracks?.length&&(t.tracks=e.tracks.map((e=>h.toJSON(e)))),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={tracks:[]};return t.tracks=e.tracks?.map((e=>h.fromPartial(e)))||[],t}};const _={encode(e,t=i.Writer.create()){for(const n of e.events)f.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={events:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.events.push(f.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({events:Array.isArray(e?.events)?e.events.map((e=>f.fromJSON(e))):[]}),toJSON(e){const t={};return e.events?.length&&(t.events=e.events.map((e=>f.toJSON(e)))),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={events:[]};return t.events=e.events?.map((e=>f.fromPartial(e)))||[],t}};function g(e){let t=1e3*(Number(e.seconds.toString())||0);return t+=(e.nanos||0)/1e6,new Date(t)}function E(e){return e instanceof Date?e:"string"==typeof e?new Date(e):g(d.fromJSON(e))}function v(e){return null!=e}const y={encode:(e,t=i.Writer.create())=>(""!==e.url&&t.uint32(10).string(e.url),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={url:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.url=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({url:N(e.url)?String(e.url):""}),toJSON(e){const t={};return""!==e.url&&(t.url=e.url),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={url:""};return t.url=e.url??"",t}};const b={encode:(e,t=i.Writer.create())=>(""!==e.url&&t.uint32(10).string(e.url),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={url:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.url=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({url:N(e.url)?String(e.url):""}),toJSON(e){const t={};return""!==e.url&&(t.url=e.url),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={url:""};return t.url=e.url??"",t}};function S(){return{videoId:new Uint8Array(0)}}const T={encode:(e,t=i.Writer.create())=>(0!==e.videoId.length&&t.uint32(10).bytes(e.videoId),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=S();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.videoId=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({videoId:N(e.videoId)?R(e.videoId):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.videoId.length&&(t.videoId=function(e){if(C.Buffer)return C.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),C.btoa(t.join(""))}}(e.videoId)),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t=S();return t.videoId=e.videoId??new Uint8Array(0),t}};const A={encode:(e,t=i.Writer.create())=>(void 0!==e.audioPreviewResource&&y.encode(e.audioPreviewResource,t.uint32(10).fork()).ldelim(),void 0!==e.progressiveVideoResource&&b.encode(e.progressiveVideoResource,t.uint32(18).fork()).ldelim(),void 0!==e.segmentedVideoResource&&T.encode(e.segmentedVideoResource,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={audioPreviewResource:void 0,progressiveVideoResource:void 0,segmentedVideoResource:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.audioPreviewResource=y.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.progressiveVideoResource=b.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.segmentedVideoResource=T.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({audioPreviewResource:N(e.audioPreviewResource)?y.fromJSON(e.audioPreviewResource):void 0,progressiveVideoResource:N(e.progressiveVideoResource)?b.fromJSON(e.progressiveVideoResource):void 0,segmentedVideoResource:N(e.segmentedVideoResource)?T.fromJSON(e.segmentedVideoResource):void 0}),toJSON(e){const t={};return void 0!==e.audioPreviewResource&&(t.audioPreviewResource=y.toJSON(e.audioPreviewResource)),void 0!==e.progressiveVideoResource&&(t.progressiveVideoResource=b.toJSON(e.progressiveVideoResource)),void 0!==e.segmentedVideoResource&&(t.segmentedVideoResource=T.toJSON(e.segmentedVideoResource)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={audioPreviewResource:void 0,progressiveVideoResource:void 0,segmentedVideoResource:void 0};return t.audioPreviewResource=void 0!==e.audioPreviewResource&&null!==e.audioPreviewResource?y.fromPartial(e.audioPreviewResource):void 0,t.progressiveVideoResource=void 0!==e.progressiveVideoResource&&null!==e.progressiveVideoResource?b.fromPartial(e.progressiveVideoResource):void 0,t.segmentedVideoResource=void 0!==e.segmentedVideoResource&&null!==e.segmentedVideoResource?T.fromPartial(e.segmentedVideoResource):void 0,t}};const I={encode(e,t=i.Writer.create()){for(const n of e.items)A.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={items:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.items.push(A.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({items:Array.isArray(e?.items)?e.items.map((e=>A.fromJSON(e))):[]}),toJSON(e){const t={};return e.items?.length&&(t.items=e.items.map((e=>A.toJSON(e)))),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t={items:[]};return t.items=e.items?.map((e=>A.fromPartial(e)))||[],t}};const O={encode:(e,t=i.Writer.create())=>(""!==e.featureId&&t.uint32(10).string(e.featureId),void 0!==e.future&&I.encode(e.future,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={featureId:"",future:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.featureId=n.string();continue;case 2:if(18!==e)break;r.future=I.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({featureId:N(e.featureId)?String(e.featureId):"",future:N(e.future)?I.fromJSON(e.future):void 0}),toJSON(e){const t={};return""!==e.featureId&&(t.featureId=e.featureId),void 0!==e.future&&(t.future=I.toJSON(e.future)),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={featureId:"",future:void 0};return t.featureId=e.featureId??"",t.future=void 0!==e.future&&null!==e.future?I.fromPartial(e.future):void 0,t}},C=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function R(e){if(C.Buffer)return Uint8Array.from(C.Buffer.from(e,"base64"));{const t=C.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function N(e){return null!=e}const P={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>P.fromPartial(e??{}),fromPartial:e=>({})};O.decode,P.decode;class L{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getQueue(e,t){const n=L.SERVICE_ID,o="GetQueue",r=P.fromPartial(e),a=P.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=m.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getEventHistory(e,t){const n=L.SERVICE_ID,o="GetEventHistory",r=P.fromPartial(e),a=P.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=_.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.prefetch_esperanto.proto.Prefetch";static METHODS={getQueue:{isStreaming:!1,requestType:P,responseType:m},getEventHistory:{isStreaming:!1,requestType:P,responseType:_}};static DECODERS={GetQueue:{request:P.decode,response:m.decode},GetEventHistory:{request:P.decode,response:_.decode}}}},49100:(e,t,n)=>{"use strict";n.d(t,{IU:()=>E,dn:()=>v});var i=n(24848),o=n(87252);const r={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={key:""};return t.key=e.key??"",t}};const a={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={key:""};return t.key=e.key??"",t}};const s={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>s.fromPartial(e??{}),fromPartial:e=>({})};const c={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>c.fromPartial(e??{}),fromPartial:e=>({})};const l={encode:(e,t=i.Writer.create())=>(void 0!==e.number&&t.uint32(8).int64(e.number.toString()),void 0!==e.bool&&t.uint32(16).bool(e.bool),void 0!==e.string&&t.uint32(26).string(e.string),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={number:void 0,bool:void 0,string:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.number=(a=n.int64(),BigInt(a.toString()));continue;case 2:if(16!==e)break;r.bool=n.bool();continue;case 3:if(26!==e)break;r.string=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({number:g(e.number)?BigInt(e.number):void 0,bool:g(e.bool)?Boolean(e.bool):void 0,string:g(e.string)?String(e.string):void 0}),toJSON(e){const t={};return void 0!==e.number&&(t.number=e.number.toString()),void 0!==e.bool&&(t.bool=e.bool),void 0!==e.string&&(t.string=e.string),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={number:void 0,bool:void 0,string:void 0};return t.number=e.number??void 0,t.bool=e.bool??void 0,t.string=e.string??void 0,t}};const u={encode:(e,t=i.Writer.create())=>(Object.entries(e.entries).forEach((([e,n])=>{d.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={entries:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=d.decode(n,n.uint32());void 0!==t.value&&(r.entries[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entries:_(e.entries)?Object.entries(e.entries).reduce(((e,[t,n])=>(e[t]=l.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.entries){const n=Object.entries(e.entries);n.length>0&&(t.entries={},n.forEach((([e,n])=>{t.entries[e]=l.toJSON(n)})))}return t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={entries:{}};return t.entries=Object.entries(e.entries??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=l.fromPartial(n)),e)),{}),t}};const d={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&l.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=l.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?l.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=l.toJSON(e.value)),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?l.fromPartial(e.value):void 0,t}};const p={encode:(e,t=i.Writer.create())=>(Object.entries(e.entries).forEach((([e,n])=>{h.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={entries:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=h.decode(n,n.uint32());void 0!==t.value&&(r.entries[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entries:_(e.entries)?Object.entries(e.entries).reduce(((e,[t,n])=>(e[t]=l.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.entries){const n=Object.entries(e.entries);n.length>0&&(t.entries={},n.forEach((([e,n])=>{t.entries[e]=l.toJSON(n)})))}return t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={entries:{}};return t.entries=Object.entries(e.entries??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=l.fromPartial(n)),e)),{}),t}};const h={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&l.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=l.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?l.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=l.toJSON(e.value)),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?l.fromPartial(e.value):void 0,t}};const f={encode:(e,t=i.Writer.create())=>(Object.entries(e.entries).forEach((([e,n])=>{m.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={entries:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=m.decode(n,n.uint32());void 0!==t.value&&(r.entries[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entries:_(e.entries)?Object.entries(e.entries).reduce(((e,[t,n])=>(e[t]=l.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.entries){const n=Object.entries(e.entries);n.length>0&&(t.entries={},n.forEach((([e,n])=>{t.entries[e]=l.toJSON(n)})))}return t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={entries:{}};return t.entries=Object.entries(e.entries??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=l.fromPartial(n)),e)),{}),t}};const m={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&l.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=l.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?l.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=l.toJSON(e.value)),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?l.fromPartial(e.value):void 0,t}};function _(e){return"object"==typeof e&&null!==e}function g(e){return null!=e}i.util.Long!==o&&(i.util.Long=o,i.configure());class E{transport;options;constructor(e,t={}){this.transport=e,this.options=t}get(e,t){const n=E.SERVICE_ID,o="Get",a=r.fromPartial(e),s=r.encode(a).finish();return this.options.onRequest?.(a,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:s},t).then((e=>{const t=f.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}sub(e,t){const n=E.SERVICE_ID,o="Sub",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:s},(e=>{const r=f.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getAll(e,t){const n=E.SERVICE_ID,o="GetAll",r=s.fromPartial(e),a=s.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=f.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subAll(e,t){const n=E.SERVICE_ID,o="SubAll",r=c.fromPartial(e),a=c.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=f.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}set(e,t){const n=E.SERVICE_ID,o="Set",r=u.fromPartial(e),a=u.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=f.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}create(e,t){const n=E.SERVICE_ID,o="Create",r=p.fromPartial(e),a=p.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=f.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.prefs.esperanto.proto.Prefs";static METHODS={get:{isStreaming:!1,requestType:r,responseType:f},sub:{isStreaming:!0,requestType:a,responseType:f},getAll:{isStreaming:!1,requestType:s,responseType:f},subAll:{isStreaming:!0,requestType:c,responseType:f},set:{isStreaming:!1,requestType:u,responseType:f},create:{isStreaming:!1,requestType:p,responseType:f}};static DECODERS={Get:{request:r.decode,response:f.decode},Sub:{request:a.decode,response:f.decode},GetAll:{request:s.decode,response:f.decode},SubAll:{request:c.decode,response:f.decode},Set:{request:u.decode,response:f.decode},Create:{request:p.decode,response:f.decode}}}function v(e){return new E(e)}},5681:(e,t,n)=>{"use strict";n.d(t,{kM:()=>o,EW:()=>E,n3:()=>l,cF:()=>r});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};const r={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>r.fromPartial(e??{}),fromPartial:e=>({})};const a={encode:(e,t=i.Writer.create())=>(Object.entries(e.pairs).forEach((([e,n])=>{s.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pairs:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=s.decode(n,n.uint32());void 0!==t.value&&(r.pairs[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pairs:_(e.pairs)?Object.entries(e.pairs).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(e.pairs){const n=Object.entries(e.pairs);n.length>0&&(t.pairs={},n.forEach((([e,n])=>{t.pairs[e]=n})))}return t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={pairs:{}};return t.pairs=Object.entries(e.pairs??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const s={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const c={encode(e,t=i.Writer.create()){for(const n of e.keys)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={keys:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.keys.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({keys:Array.isArray(e?.keys)?e.keys.map((e=>String(e))):[]}),toJSON(e){const t={};return e.keys?.length&&(t.keys=e.keys),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={keys:[]};return t.keys=e.keys?.map((e=>e))||[],t}};const l={encode:(e,t=i.Writer.create())=>(Object.entries(e.pairs).forEach((([e,n])=>{u.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pairs:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=u.decode(n,n.uint32());void 0!==t.value&&(r.pairs[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pairs:_(e.pairs)?Object.entries(e.pairs).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(e.pairs){const n=Object.entries(e.pairs);n.length>0&&(t.pairs={},n.forEach((([e,n])=>{t.pairs[e]=n})))}return t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={pairs:{}};return t.pairs=Object.entries(e.pairs??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const u={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const d={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>d.fromPartial(e??{}),fromPartial:e=>({})};const p={encode:(e,t=i.Writer.create())=>(Object.entries(e.pairs).forEach((([e,n])=>{h.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pairs:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=h.decode(n,n.uint32());void 0!==t.value&&(r.pairs[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pairs:_(e.pairs)?Object.entries(e.pairs).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(e.pairs){const n=Object.entries(e.pairs);n.length>0&&(t.pairs={},n.forEach((([e,n])=>{t.pairs[e]=n})))}return t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={pairs:{}};return t.pairs=Object.entries(e.pairs??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const h={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const f={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>f.fromPartial(e??{}),fromPartial:e=>({})};const m={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>m.fromPartial(e??{}),fromPartial:e=>({})};function _(e){return"object"==typeof e&&null!==e}function g(e){return null!=e}class E{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getValues(e,t){const n=E.SERVICE_ID,r="GetValues",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=p.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}subValues(e,t){const n=E.SERVICE_ID,o="SubValues",a=r.fromPartial(e),s=r.encode(a).finish();return this.options.onRequest?.(a,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:s},(e=>{const r=p.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}putValues(e,t){const n=E.SERVICE_ID,o="PutValues",r=l.fromPartial(e),a=l.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=d.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}putOverridesValues(e,t){const n=E.SERVICE_ID,o="PutOverridesValues",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:s},t).then((e=>{const t=f.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}delOverridesValues(e,t){const n=E.SERVICE_ID,o="DelOverridesValues",r=c.fromPartial(e),a=c.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=m.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.product_state.esperanto.proto.ProductState";static METHODS={getValues:{isStreaming:!1,requestType:o,responseType:p},subValues:{isStreaming:!0,requestType:r,responseType:p},putValues:{isStreaming:!1,requestType:l,responseType:d},putOverridesValues:{isStreaming:!1,requestType:a,responseType:f},delOverridesValues:{isStreaming:!1,requestType:c,responseType:m}};static DECODERS={GetValues:{request:o.decode,response:p.decode},SubValues:{request:r.decode,response:p.decode},PutValues:{request:l.decode,response:d.decode},PutOverridesValues:{request:a.decode,response:f.decode},DelOverridesValues:{request:c.decode,response:m.decode}}}},99030:(e,t,n)=>{"use strict";n.d(t,{pw:()=>dt,oW:()=>bt});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.copyrights&&t.uint32(24).bool(e.copyrights),!0===e.covers&&t.uint32(32).bool(e.covers),!0===e.year&&t.uint32(40).bool(e.year),!0===e.numDiscs&&t.uint32(48).bool(e.numDiscs),!0===e.numTracks&&t.uint32(56).bool(e.numTracks),!0===e.playability&&t.uint32(64).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(72).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.copyrights=n.bool();continue;case 4:if(32!==e)break;r.covers=n.bool();continue;case 5:if(40!==e)break;r.year=n.bool();continue;case 6:if(48!==e)break;r.numDiscs=n.bool();continue;case 7:if(56!==e)break;r.numTracks=n.bool();continue;case 8:if(64!==e)break;r.playability=n.bool();continue;case 9:if(72!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!s(e.link)&&Boolean(e.link),name:!!s(e.name)&&Boolean(e.name),copyrights:!!s(e.copyrights)&&Boolean(e.copyrights),covers:!!s(e.covers)&&Boolean(e.covers),year:!!s(e.year)&&Boolean(e.year),numDiscs:!!s(e.numDiscs)&&Boolean(e.numDiscs),numTracks:!!s(e.numTracks)&&Boolean(e.numTracks),playability:!!s(e.playability)&&Boolean(e.playability),isPremiumOnly:!!s(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.covers&&(t.covers=e.covers),!0===e.year&&(t.year=e.year),!0===e.numDiscs&&(t.numDiscs=e.numDiscs),!0===e.numTracks&&(t.numTracks=e.numTracks),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};return t.link=e.link??!1,t.name=e.name??!1,t.copyrights=e.copyrights??!1,t.covers=e.covers??!1,t.year=e.year??!1,t.numDiscs=e.numDiscs??!1,t.numTracks=e.numTracks??!1,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};const r={encode:(e,t=i.Writer.create())=>(!0===e.collectionLink&&t.uint32(8).bool(e.collectionLink),!0===e.numTracksInCollection&&t.uint32(16).bool(e.numTracksInCollection),!0===e.complete&&t.uint32(24).bool(e.complete),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:!1,numTracksInCollection:!1,complete:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.collectionLink=n.bool();continue;case 2:if(16!==e)break;r.numTracksInCollection=n.bool();continue;case 3:if(24!==e)break;r.complete=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:!!s(e.collectionLink)&&Boolean(e.collectionLink),numTracksInCollection:!!s(e.numTracksInCollection)&&Boolean(e.numTracksInCollection),complete:!!s(e.complete)&&Boolean(e.complete)}),toJSON(e){const t={};return!0===e.collectionLink&&(t.collectionLink=e.collectionLink),!0===e.numTracksInCollection&&(t.numTracksInCollection=e.numTracksInCollection),!0===e.complete&&(t.complete=e.complete),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={collectionLink:!1,numTracksInCollection:!1,complete:!1};return t.collectionLink=e.collectionLink??!1,t.numTracksInCollection=e.numTracksInCollection??!1,t.complete=e.complete??!1,t}};const a={encode:(e,t=i.Writer.create())=>(!0===e.inferredOffline&&t.uint32(8).bool(e.inferredOffline),!0===e.offlineState&&t.uint32(16).bool(e.offlineState),!0===e.syncProgress&&t.uint32(24).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={inferredOffline:!1,offlineState:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.inferredOffline=n.bool();continue;case 2:if(16!==e)break;r.offlineState=n.bool();continue;case 3:if(24!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({inferredOffline:!!s(e.inferredOffline)&&Boolean(e.inferredOffline),offlineState:!!s(e.offlineState)&&Boolean(e.offlineState),syncProgress:!!s(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.inferredOffline&&(t.inferredOffline=e.inferredOffline),!0===e.offlineState&&(t.offlineState=e.offlineState),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={inferredOffline:!1,offlineState:!1,syncProgress:!1};return t.inferredOffline=e.inferredOffline??!1,t.offlineState=e.offlineState??!1,t.syncProgress=e.syncProgress??!1,t}};function s(e){return null!=e}const c={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),!0===e.portraits&&t.uint32(32).bool(e.portraits),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,isVariousArtists:!1,portraits:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(32!==e)break;r.portraits=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!d(e.link)&&Boolean(e.link),name:!!d(e.name)&&Boolean(e.name),isVariousArtists:!!d(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:!!d(e.portraits)&&Boolean(e.portraits)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),!0===e.portraits&&(t.portraits=e.portraits),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,isVariousArtists:!1,portraits:!1};return t.link=e.link??!1,t.name=e.name??!1,t.isVariousArtists=e.isVariousArtists??!1,t.portraits=e.portraits??!1,t}};const l={encode:(e,t=i.Writer.create())=>(!0===e.collectionLink&&t.uint32(8).bool(e.collectionLink),!0===e.isFollowed&&t.uint32(16).bool(e.isFollowed),!0===e.numTracksInCollection&&t.uint32(24).bool(e.numTracksInCollection),!0===e.numAlbumsInCollection&&t.uint32(32).bool(e.numAlbumsInCollection),!0===e.isBanned&&t.uint32(40).bool(e.isBanned),!0===e.canBan&&t.uint32(48).bool(e.canBan),!0===e.numExplicitlyLikedTracks&&t.uint32(64).bool(e.numExplicitlyLikedTracks),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:!1,isFollowed:!1,numTracksInCollection:!1,numAlbumsInCollection:!1,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.collectionLink=n.bool();continue;case 2:if(16!==e)break;r.isFollowed=n.bool();continue;case 3:if(24!==e)break;r.numTracksInCollection=n.bool();continue;case 4:if(32!==e)break;r.numAlbumsInCollection=n.bool();continue;case 5:if(40!==e)break;r.isBanned=n.bool();continue;case 6:if(48!==e)break;r.canBan=n.bool();continue;case 8:if(64!==e)break;r.numExplicitlyLikedTracks=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:!!d(e.collectionLink)&&Boolean(e.collectionLink),isFollowed:!!d(e.isFollowed)&&Boolean(e.isFollowed),numTracksInCollection:!!d(e.numTracksInCollection)&&Boolean(e.numTracksInCollection),numAlbumsInCollection:!!d(e.numAlbumsInCollection)&&Boolean(e.numAlbumsInCollection),isBanned:!!d(e.isBanned)&&Boolean(e.isBanned),canBan:!!d(e.canBan)&&Boolean(e.canBan),numExplicitlyLikedTracks:!!d(e.numExplicitlyLikedTracks)&&Boolean(e.numExplicitlyLikedTracks)}),toJSON(e){const t={};return!0===e.collectionLink&&(t.collectionLink=e.collectionLink),!0===e.isFollowed&&(t.isFollowed=e.isFollowed),!0===e.numTracksInCollection&&(t.numTracksInCollection=e.numTracksInCollection),!0===e.numAlbumsInCollection&&(t.numAlbumsInCollection=e.numAlbumsInCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),!0===e.numExplicitlyLikedTracks&&(t.numExplicitlyLikedTracks=e.numExplicitlyLikedTracks),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={collectionLink:!1,isFollowed:!1,numTracksInCollection:!1,numAlbumsInCollection:!1,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:!1};return t.collectionLink=e.collectionLink??!1,t.isFollowed=e.isFollowed??!1,t.numTracksInCollection=e.numTracksInCollection??!1,t.numAlbumsInCollection=e.numAlbumsInCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t.numExplicitlyLikedTracks=e.numExplicitlyLikedTracks??!1,t}};const u={encode:(e,t=i.Writer.create())=>(!0===e.inferredOffline&&t.uint32(8).bool(e.inferredOffline),!0===e.offlineState&&t.uint32(16).bool(e.offlineState),!0===e.syncProgress&&t.uint32(24).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={inferredOffline:!1,offlineState:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.inferredOffline=n.bool();continue;case 2:if(16!==e)break;r.offlineState=n.bool();continue;case 3:if(24!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({inferredOffline:!!d(e.inferredOffline)&&Boolean(e.inferredOffline),offlineState:!!d(e.offlineState)&&Boolean(e.offlineState),syncProgress:!!d(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.inferredOffline&&(t.inferredOffline=e.inferredOffline),!0===e.offlineState&&(t.offlineState=e.offlineState),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={inferredOffline:!1,offlineState:!1,syncProgress:!1};return t.inferredOffline=e.inferredOffline??!1,t.offlineState=e.offlineState??!1,t.syncProgress=e.syncProgress??!1,t}};function d(e){return null!=e}var p;function h(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return p.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return p.CANVAZ;case 2:case"STORYLINES":return p.STORYLINES;case 3:case"PODCAST_TOPICS":return p.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return p.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return p.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return p.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return p.PODCAST_COUNTER;case 8:case"ARTIST_V4":return p.ARTIST_V4;case 9:case"ALBUM_V4":return p.ALBUM_V4;case 10:case"TRACK_V4":return p.TRACK_V4;case 11:case"SHOW_V4":return p.SHOW_V4;case 12:case"EPISODE_V4":return p.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return p.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return p.PODCAST_QUOTES;case 15:case"USER_PROFILE":return p.USER_PROFILE;case 16:case"CANVAS_V1":return p.CANVAS_V1;case 17:case"SHOW_V4_BASE":return p.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return p.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return p.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return p.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return p.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return p.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return p.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return p.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return p.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return p.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return p.AUTOMIX_MODE;case 28:case"CUEPOINTS":return p.CUEPOINTS;case 29:case"PODCAST_POLL":return p.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return p.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return p.SHOW_ACCESS;case 32:case"PODCAST_QNA":return p.PODCAST_QNA;case 33:case"CLIPS":return p.CLIPS;case 34:case"SHOW_V5":return p.SHOW_V5;case 35:case"EPISODE_V5":return p.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return p.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return p.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return p.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return p.GREENROOM;case 40:case"USER_CREATED":return p.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return p.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return p.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return p.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return p.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return p.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return p.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return p.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return p.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return p.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return p.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return p.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return p.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return p.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return p.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return p.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return p.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return p.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return p.CONTENT_WARNING;case 59:case"IMAGE_CUE":return p.IMAGE_CUE;case 60:case"STREAM_COUNT":return p.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return p.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return p.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return p.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return p.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return p.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return p.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return p.LIVE;case 68:case"SKIP_PLAYED":return p.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return p.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return p.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return p.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return p.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return p.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return p.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return p.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return p.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return p.PODCAST_GUEST;case 78:case"PLAYABILITY":return p.PLAYABILITY;case 79:case"COVER_IMAGE":return p.COVER_IMAGE;case 80:case"SHARE_TRAIT":return p.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return p.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return p.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return p.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return p.CONCEPT;case 85:case"ORIGINAL_VIDEO":return p.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return p.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return p.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return p.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return p.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return p.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return p.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return p.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return p.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return p.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return p.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return p.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return p.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return p.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return p.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return p.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return p.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return p.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return p.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return p.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return p.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return p.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return p.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return p.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return p.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return p.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return p.MERCH;case 113:case"COMPANION_CONTENT":return p.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return p.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return p.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return p.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return p.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return p.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return p.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return p.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return p.COURSE_SPECIFICS;case 122:case"CONCERT":return p.CONCERT;case 123:case"CONCERT_LOCATION":return p.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return p.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return p.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return p.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return p.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return p.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return p.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return p.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return p.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return p.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return p.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return p.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return p.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return p.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return p.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return p.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return p.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return p.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return p.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return p.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return p.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return p.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return p.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return p.SUPPORTED_BADGES;case 147:case"BADGES":return p.BADGES;case 148:case"PREVIEW_TRAIT":return p.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return p.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return p.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return p.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return p.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return p.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return p.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return p.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return p.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return p.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return p.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return p.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return p.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return p.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return p.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return p.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return p.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return p.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return p.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return p.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return p.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return p.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return p.AUTO_LENS;default:return p.UNRECOGNIZED}}function f(e){switch(e){case p.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case p.CANVAZ:return"CANVAZ";case p.STORYLINES:return"STORYLINES";case p.PODCAST_TOPICS:return"PODCAST_TOPICS";case p.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case p.AUDIO_FILES:return"AUDIO_FILES";case p.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case p.PODCAST_COUNTER:return"PODCAST_COUNTER";case p.ARTIST_V4:return"ARTIST_V4";case p.ALBUM_V4:return"ALBUM_V4";case p.TRACK_V4:return"TRACK_V4";case p.SHOW_V4:return"SHOW_V4";case p.EPISODE_V4:return"EPISODE_V4";case p.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case p.PODCAST_QUOTES:return"PODCAST_QUOTES";case p.USER_PROFILE:return"USER_PROFILE";case p.CANVAS_V1:return"CANVAS_V1";case p.SHOW_V4_BASE:return"SHOW_V4_BASE";case p.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case p.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case p.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case p.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case p.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case p.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case p.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case p.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case p.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case p.AUTOMIX_MODE:return"AUTOMIX_MODE";case p.CUEPOINTS:return"CUEPOINTS";case p.PODCAST_POLL:return"PODCAST_POLL";case p.EPISODE_ACCESS:return"EPISODE_ACCESS";case p.SHOW_ACCESS:return"SHOW_ACCESS";case p.PODCAST_QNA:return"PODCAST_QNA";case p.CLIPS:return"CLIPS";case p.SHOW_V5:return"SHOW_V5";case p.EPISODE_V5:return"EPISODE_V5";case p.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case p.PODCAST_RATING:return"PODCAST_RATING";case p.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case p.GREENROOM:return"GREENROOM";case p.USER_CREATED:return"USER_CREATED";case p.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case p.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case p.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case p.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case p.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case p.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case p.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case p.CLIENT_CONFIG:return"CLIENT_CONFIG";case p.PLAYLISTABILITY:return"PLAYLISTABILITY";case p.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case p.CHAPTER_V5:return"CHAPTER_V5";case p.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case p.EPISODE_RANKING:return"EPISODE_RANKING";case p.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case p.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case p.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case p.PLAY_TRAIT:return"PLAY_TRAIT";case p.CONTENT_WARNING:return"CONTENT_WARNING";case p.IMAGE_CUE:return"IMAGE_CUE";case p.STREAM_COUNT:return"STREAM_COUNT";case p.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case p.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case p.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case p.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case p.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case p.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case p.LIVE:return"LIVE";case p.SKIP_PLAYED:return"SKIP_PLAYED";case p.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case p.ASSOCIATIONS:return"ASSOCIATIONS";case p.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case p.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case p.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case p.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case p.USER_COMMENTS:return"USER_COMMENTS";case p.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case p.PODCAST_GUEST:return"PODCAST_GUEST";case p.PLAYABILITY:return"PLAYABILITY";case p.COVER_IMAGE:return"COVER_IMAGE";case p.SHARE_TRAIT:return"SHARE_TRAIT";case p.INSTANCE_SHARING:return"INSTANCE_SHARING";case p.ARTIST_TOUR:return"ARTIST_TOUR";case p.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case p.CONCEPT:return"CONCEPT";case p.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case p.SMART_SHUFFLE:return"SMART_SHUFFLE";case p.LIVE_EVENTS:return"LIVE_EVENTS";case p.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case p.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case p.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case p.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case p.FEWER_ADS:return"FEWER_ADS";case p.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case p.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case p.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case p.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case p.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case p.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case p.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case p.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case p.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case p.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case p.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case p.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case p.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case p.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case p.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case p.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case p.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case p.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case p.MERCH:return"MERCH";case p.COMPANION_CONTENT:return"COMPANION_CONTENT";case p.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case p.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case p.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case p.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case p.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case p.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case p.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case p.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case p.CONCERT:return"CONCERT";case p.CONCERT_LOCATION:return"CONCERT_LOCATION";case p.CONCERT_MARKETING:return"CONCERT_MARKETING";case p.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case p.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case p.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case p.NAME_TRAIT:return"NAME_TRAIT";case p.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case p.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case p.CREDITS_TRAIT:return"CREDITS_TRAIT";case p.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case p.ENTITY_CAPPING:return"ENTITY_CAPPING";case p.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case p.CONCERT_OFFERS:return"CONCERT_OFFERS";case p.TRANSITION_MAPS:return"TRANSITION_MAPS";case p.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case p.PRERELEASE:return"PRERELEASE";case p.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case p.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case p.LIST_METADATA:return"LIST_METADATA";case p.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case p.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case p.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case p.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case p.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case p.BADGES:return"BADGES";case p.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case p.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case p.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case p.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case p.POPULAR_RELEASES:return"POPULAR_RELEASES";case p.RELATED_RELEASES:return"RELATED_RELEASES";case p.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case p.CONCERT_OFFER:return"CONCERT_OFFER";case p.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case p.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case p.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case p.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case p.REORDERING_TRAIT:return"REORDERING_TRAIT";case p.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case p.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case p.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case p.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case p.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case p.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case p.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case p.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case p.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case p.AUTO_LENS:return"AUTO_LENS";case p.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(p||(p={}));const m={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.length&&t.uint32(16).bool(e.length),!0===e.name&&t.uint32(24).bool(e.name),!0===e.manifestId&&t.uint32(32).bool(e.manifestId),!0===e.previewId&&t.uint32(40).bool(e.previewId),!0===e.previewManifestId&&t.uint32(48).bool(e.previewManifestId),!0===e.description&&t.uint32(56).bool(e.description),!0===e.publishDate&&t.uint32(64).bool(e.publishDate),!0===e.covers&&t.uint32(72).bool(e.covers),!0===e.freezeFrames&&t.uint32(80).bool(e.freezeFrames),!0===e.language&&t.uint32(88).bool(e.language),!0===e.available&&t.uint32(96).bool(e.available),!0===e.mediaTypeEnum&&t.uint32(104).bool(e.mediaTypeEnum),!0===e.number&&t.uint32(112).bool(e.number),!0===e.backgroundable&&t.uint32(120).bool(e.backgroundable),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),!0===e.type&&t.uint32(136).bool(e.type),!0===e.isMusicAndTalk&&t.uint32(144).bool(e.isMusicAndTalk),t.uint32(170).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.is19PlusOnly&&t.uint32(176).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(184).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(192).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(200).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.length=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.manifestId=n.bool();continue;case 5:if(40!==e)break;r.previewId=n.bool();continue;case 6:if(48!==e)break;r.previewManifestId=n.bool();continue;case 7:if(56!==e)break;r.description=n.bool();continue;case 8:if(64!==e)break;r.publishDate=n.bool();continue;case 9:if(72!==e)break;r.covers=n.bool();continue;case 10:if(80!==e)break;r.freezeFrames=n.bool();continue;case 11:if(88!==e)break;r.language=n.bool();continue;case 12:if(96!==e)break;r.available=n.bool();continue;case 13:if(104!==e)break;r.mediaTypeEnum=n.bool();continue;case 14:if(112!==e)break;r.number=n.bool();continue;case 15:if(120!==e)break;r.backgroundable=n.bool();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(136!==e)break;r.type=n.bool();continue;case 18:if(144!==e)break;r.isMusicAndTalk=n.bool();continue;case 21:if(168===e){r.extension.push(n.int32());continue}if(170===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 22:if(176!==e)break;r.is19PlusOnly=n.bool();continue;case 23:if(184!==e)break;r.isBookChapter=n.bool();continue;case 24:if(192!==e)break;r.isPodcastShort=n.bool();continue;case 25:if(200!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!v(e.link)&&Boolean(e.link),length:!!v(e.length)&&Boolean(e.length),name:!!v(e.name)&&Boolean(e.name),manifestId:!!v(e.manifestId)&&Boolean(e.manifestId),previewId:!!v(e.previewId)&&Boolean(e.previewId),previewManifestId:!!v(e.previewManifestId)&&Boolean(e.previewManifestId),description:!!v(e.description)&&Boolean(e.description),publishDate:!!v(e.publishDate)&&Boolean(e.publishDate),covers:!!v(e.covers)&&Boolean(e.covers),freezeFrames:!!v(e.freezeFrames)&&Boolean(e.freezeFrames),language:!!v(e.language)&&Boolean(e.language),available:!!v(e.available)&&Boolean(e.available),mediaTypeEnum:!!v(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),number:!!v(e.number)&&Boolean(e.number),backgroundable:!!v(e.backgroundable)&&Boolean(e.backgroundable),isExplicit:!!v(e.isExplicit)&&Boolean(e.isExplicit),type:!!v(e.type)&&Boolean(e.type),isMusicAndTalk:!!v(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>h(e))):[],is19PlusOnly:!!v(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!v(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!v(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!v(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.length&&(t.length=e.length),!0===e.name&&(t.name=e.name),!0===e.manifestId&&(t.manifestId=e.manifestId),!0===e.previewId&&(t.previewId=e.previewId),!0===e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.description&&(t.description=e.description),!0===e.publishDate&&(t.publishDate=e.publishDate),!0===e.covers&&(t.covers=e.covers),!0===e.freezeFrames&&(t.freezeFrames=e.freezeFrames),!0===e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.number&&(t.number=e.number),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.type&&(t.type=e.type),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>f(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};return t.link=e.link??!1,t.length=e.length??!1,t.name=e.name??!1,t.manifestId=e.manifestId??!1,t.previewId=e.previewId??!1,t.previewManifestId=e.previewManifestId??!1,t.description=e.description??!1,t.publishDate=e.publishDate??!1,t.covers=e.covers??!1,t.freezeFrames=e.freezeFrames??!1,t.language=e.language??!1,t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.number=e.number??!1,t.backgroundable=e.backgroundable??!1,t.isExplicit=e.isExplicit??!1,t.type=e.type??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};const _={encode:(e,t=i.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isInListenLater&&t.uint32(16).bool(e.isInListenLater),!0===e.isNew&&t.uint32(24).bool(e.isNew),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isInListenLater:!1,isNew:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isInListenLater=n.bool();continue;case 3:if(24!==e)break;r.isNew=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!v(e.isFollowingShow)&&Boolean(e.isFollowingShow),isInListenLater:!!v(e.isInListenLater)&&Boolean(e.isInListenLater),isNew:!!v(e.isNew)&&Boolean(e.isNew)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),!0===e.isNew&&(t.isNew=e.isNew),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isInListenLater:!1,isNew:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isInListenLater=e.isInListenLater??!1,t.isNew=e.isNew??!1,t}};const g={encode:(e,t=i.Writer.create())=>(!0===e.offline&&t.uint32(8).bool(e.offline),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offline=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:!!v(e.offline)&&Boolean(e.offline),syncProgress:!!v(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t={offline:!1,syncProgress:!1};return t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t}};const E={encode:(e,t=i.Writer.create())=>(!0===e.timeLeft&&t.uint32(8).bool(e.timeLeft),!0===e.isPlayed&&t.uint32(16).bool(e.isPlayed),!0===e.playable&&t.uint32(24).bool(e.playable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.lastPlayedAt&&t.uint32(40).bool(e.lastPlayedAt),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.bool();continue;case 2:if(16!==e)break;r.isPlayed=n.bool();continue;case 3:if(24!==e)break;r.playable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.lastPlayedAt=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:!!v(e.timeLeft)&&Boolean(e.timeLeft),isPlayed:!!v(e.isPlayed)&&Boolean(e.isPlayed),playable:!!v(e.playable)&&Boolean(e.playable),playabilityRestriction:!!v(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),lastPlayedAt:!!v(e.lastPlayedAt)&&Boolean(e.lastPlayedAt)}),toJSON(e){const t={};return!0===e.timeLeft&&(t.timeLeft=e.timeLeft),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),!0===e.playable&&(t.playable=e.playable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.lastPlayedAt&&(t.lastPlayedAt=e.lastPlayedAt),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};return t.timeLeft=e.timeLeft??!1,t.isPlayed=e.isPlayed??!1,t.playable=e.playable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.lastPlayedAt=e.lastPlayedAt??!1,t}};function v(e){return null!=e}const y={encode:(e,t=i.Writer.create())=>(!0===e.username&&t.uint32(8).bool(e.username),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.image&&t.uint32(32).bool(e.image),!0===e.thumbnail&&t.uint32(40).bool(e.thumbnail),!0===e.color&&t.uint32(48).bool(e.color),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.username=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.image=n.bool();continue;case 5:if(40!==e)break;r.thumbnail=n.bool();continue;case 6:if(48!==e)break;r.color=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({username:!!T(e.username)&&Boolean(e.username),link:!!T(e.link)&&Boolean(e.link),name:!!T(e.name)&&Boolean(e.name),image:!!T(e.image)&&Boolean(e.image),thumbnail:!!T(e.thumbnail)&&Boolean(e.thumbnail),color:!!T(e.color)&&Boolean(e.color)}),toJSON(e){const t={};return!0===e.username&&(t.username=e.username),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.image&&(t.image=e.image),!0===e.thumbnail&&(t.thumbnail=e.thumbnail),!0===e.color&&(t.color=e.color),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};return t.username=e.username??!1,t.link=e.link??!1,t.name=e.name??!1,t.image=e.image??!1,t.thumbnail=e.thumbnail??!1,t.color=e.color??!1,t}};const b={encode:(e,t=i.Writer.create())=>(void 0!==e.user&&y.encode(e.user,t.uint32(10).fork()).ldelim(),!0===e.numberOfItems&&t.uint32(16).bool(e.numberOfItems),!0===e.numberOfTracks&&t.uint32(24).bool(e.numberOfTracks),!0===e.numberOfEpisodes&&t.uint32(32).bool(e.numberOfEpisodes),!0===e.isOwner&&t.uint32(40).bool(e.isOwner),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={user:void 0,numberOfItems:!1,numberOfTracks:!1,numberOfEpisodes:!1,isOwner:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.user=y.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.numberOfItems=n.bool();continue;case 3:if(24!==e)break;r.numberOfTracks=n.bool();continue;case 4:if(32!==e)break;r.numberOfEpisodes=n.bool();continue;case 5:if(40!==e)break;r.isOwner=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({user:T(e.user)?y.fromJSON(e.user):void 0,numberOfItems:!!T(e.numberOfItems)&&Boolean(e.numberOfItems),numberOfTracks:!!T(e.numberOfTracks)&&Boolean(e.numberOfTracks),numberOfEpisodes:!!T(e.numberOfEpisodes)&&Boolean(e.numberOfEpisodes),isOwner:!!T(e.isOwner)&&Boolean(e.isOwner)}),toJSON(e){const t={};return void 0!==e.user&&(t.user=y.toJSON(e.user)),!0===e.numberOfItems&&(t.numberOfItems=e.numberOfItems),!0===e.numberOfTracks&&(t.numberOfTracks=e.numberOfTracks),!0===e.numberOfEpisodes&&(t.numberOfEpisodes=e.numberOfEpisodes),!0===e.isOwner&&(t.isOwner=e.isOwner),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={user:void 0,numberOfItems:!1,numberOfTracks:!1,numberOfEpisodes:!1,isOwner:!1};return t.user=void 0!==e.user&&null!==e.user?y.fromPartial(e.user):void 0,t.numberOfItems=e.numberOfItems??!1,t.numberOfTracks=e.numberOfTracks??!1,t.numberOfEpisodes=e.numberOfEpisodes??!1,t.isOwner=e.isOwner??!1,t}};const S={encode:(e,t=i.Writer.create())=>(!0===e.count&&t.uint32(8).bool(e.count),0!==e.limit&&t.uint32(16).int32(e.limit),void 0!==e.collaborator&&b.encode(e.collaborator,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={count:!1,limit:0,collaborator:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.count=n.bool();continue;case 2:if(16!==e)break;r.limit=n.int32();continue;case 3:if(26!==e)break;r.collaborator=b.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({count:!!T(e.count)&&Boolean(e.count),limit:T(e.limit)?Number(e.limit):0,collaborator:T(e.collaborator)?b.fromJSON(e.collaborator):void 0}),toJSON(e){const t={};return!0===e.count&&(t.count=e.count),0!==e.limit&&(t.limit=Math.round(e.limit)),void 0!==e.collaborator&&(t.collaborator=b.toJSON(e.collaborator)),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={count:!1,limit:0,collaborator:void 0};return t.count=e.count??!1,t.limit=e.limit??0,t.collaborator=void 0!==e.collaborator&&null!==e.collaborator?b.fromPartial(e.collaborator):void 0,t}};function T(e){return null!=e}const A={encode:(e,t=i.Writer.create())=>(!0===e.insert&&t.uint32(8).bool(e.insert),!0===e.remove&&t.uint32(16).bool(e.remove),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={insert:!1,remove:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.insert=n.bool();continue;case 2:if(16!==e)break;r.remove=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({insert:!!O(e.insert)&&Boolean(e.insert),remove:!!O(e.remove)&&Boolean(e.remove)}),toJSON(e){const t={};return!0===e.insert&&(t.insert=e.insert),!0===e.remove&&(t.remove=e.remove),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={insert:!1,remove:!1};return t.insert=e.insert??!1,t.remove=e.remove??!1,t}};const I={encode(e,t=i.Writer.create()){!0===e.rowId&&t.uint32(8).bool(e.rowId),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.loadState&&t.uint32(32).bool(e.loadState),!0===e.loaded&&t.uint32(40).bool(e.loaded),!0===e.collaborative&&t.uint32(48).bool(e.collaborative),!0===e.length&&t.uint32(56).bool(e.length),!0===e.lastModification&&t.uint32(64).bool(e.lastModification),!0===e.totalLength&&t.uint32(72).bool(e.totalLength),!0===e.duration&&t.uint32(80).bool(e.duration),!0===e.description&&t.uint32(88).bool(e.description),!0===e.picture&&t.uint32(96).bool(e.picture),!0===e.playable&&t.uint32(104).bool(e.playable),!0===e.descriptionFromAnnotate&&t.uint32(112).bool(e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&t.uint32(120).bool(e.pictureFromAnnotate),!0===e.canReportAnnotationAbuse&&t.uint32(128).bool(e.canReportAnnotationAbuse),!0===e.followed&&t.uint32(136).bool(e.followed),!0===e.followers&&t.uint32(144).bool(e.followers),!0===e.ownedBySelf&&t.uint32(152).bool(e.ownedBySelf),!0===e.offline&&t.uint32(160).bool(e.offline),!0===e.syncProgress&&t.uint32(168).bool(e.syncProgress),!0===e.published&&t.uint32(176).bool(e.published),!0===e.browsableOffline&&t.uint32(184).bool(e.browsableOffline),!0===e.formatListType&&t.uint32(192).bool(e.formatListType),!0===e.formatListAttributes&&t.uint32(200).bool(e.formatListAttributes),!0===e.hasExplicitContent&&t.uint32(208).bool(e.hasExplicitContent),!0===e.containsSpotifyTracks&&t.uint32(216).bool(e.containsSpotifyTracks),!0===e.containsTracks&&t.uint32(224).bool(e.containsTracks),!0===e.containsEpisodes&&t.uint32(232).bool(e.containsEpisodes),!0===e.containsAudioEpisodes&&t.uint32(240).bool(e.containsAudioEpisodes),!0===e.onlyContainsExplicit&&t.uint32(248).bool(e.onlyContainsExplicit),!0===e.isOnDemandInFree&&t.uint32(256).bool(e.isOnDemandInFree),void 0!==e.owner&&y.encode(e.owner,t.uint32(266).fork()).ldelim(),void 0!==e.madeFor&&y.encode(e.madeFor,t.uint32(274).fork()).ldelim(),void 0!==e.allows&&A.encode(e.allows,t.uint32(282).fork()).ldelim(),!0===e.numberOfEpisodes&&t.uint32(288).bool(e.numberOfEpisodes),!0===e.numberOfTracks&&t.uint32(296).bool(e.numberOfTracks),!0===e.preferLinearPlayback&&t.uint32(304).bool(e.preferLinearPlayback),!0===e.onDemandInFreeReason&&t.uint32(312).bool(e.onDemandInFreeReason),void 0!==e.collaboratingUsers&&S.encode(e.collaboratingUsers,t.uint32(322).fork()).ldelim(),!0===e.basePermission&&t.uint32(328).bool(e.basePermission),!0===e.userCapabilities&&t.uint32(336).bool(e.userCapabilities),t.uint32(346).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.lenses&&t.uint32(352).bool(e.lenses),!0===e.lengthIgnoringTextFilter&&t.uint32(360).bool(e.lengthIgnoringTextFilter),!0===e.numberOfItemsPerLinkType&&t.uint32(368).bool(e.numberOfItemsPerLinkType),!0===e.availableSignals&&t.uint32(376).bool(e.availableSignals),!0===e.aiCurationReferenceId&&t.uint32(384).bool(e.aiCurationReferenceId),!0===e.unrangedLength&&t.uint32(392).bool(e.unrangedLength),!0===e.unfilteredLength&&t.uint32(400).bool(e.unfilteredLength),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={rowId:!1,link:!1,name:!1,loadState:!1,loaded:!1,collaborative:!1,length:!1,lastModification:!1,totalLength:!1,duration:!1,description:!1,picture:!1,playable:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,canReportAnnotationAbuse:!1,followed:!1,followers:!1,ownedBySelf:!1,offline:!1,syncProgress:!1,published:!1,browsableOffline:!1,formatListType:!1,formatListAttributes:!1,hasExplicitContent:!1,containsSpotifyTracks:!1,containsTracks:!1,containsEpisodes:!1,containsAudioEpisodes:!1,onlyContainsExplicit:!1,isOnDemandInFree:!1,owner:void 0,madeFor:void 0,allows:void 0,numberOfEpisodes:!1,numberOfTracks:!1,preferLinearPlayback:!1,onDemandInFreeReason:!1,collaboratingUsers:void 0,basePermission:!1,userCapabilities:!1,extension:[],lenses:!1,lengthIgnoringTextFilter:!1,numberOfItemsPerLinkType:!1,availableSignals:!1,aiCurationReferenceId:!1,unrangedLength:!1,unfilteredLength:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.rowId=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.loadState=n.bool();continue;case 5:if(40!==e)break;r.loaded=n.bool();continue;case 6:if(48!==e)break;r.collaborative=n.bool();continue;case 7:if(56!==e)break;r.length=n.bool();continue;case 8:if(64!==e)break;r.lastModification=n.bool();continue;case 9:if(72!==e)break;r.totalLength=n.bool();continue;case 10:if(80!==e)break;r.duration=n.bool();continue;case 11:if(88!==e)break;r.description=n.bool();continue;case 12:if(96!==e)break;r.picture=n.bool();continue;case 13:if(104!==e)break;r.playable=n.bool();continue;case 14:if(112!==e)break;r.descriptionFromAnnotate=n.bool();continue;case 15:if(120!==e)break;r.pictureFromAnnotate=n.bool();continue;case 16:if(128!==e)break;r.canReportAnnotationAbuse=n.bool();continue;case 17:if(136!==e)break;r.followed=n.bool();continue;case 18:if(144!==e)break;r.followers=n.bool();continue;case 19:if(152!==e)break;r.ownedBySelf=n.bool();continue;case 20:if(160!==e)break;r.offline=n.bool();continue;case 21:if(168!==e)break;r.syncProgress=n.bool();continue;case 22:if(176!==e)break;r.published=n.bool();continue;case 23:if(184!==e)break;r.browsableOffline=n.bool();continue;case 24:if(192!==e)break;r.formatListType=n.bool();continue;case 25:if(200!==e)break;r.formatListAttributes=n.bool();continue;case 26:if(208!==e)break;r.hasExplicitContent=n.bool();continue;case 27:if(216!==e)break;r.containsSpotifyTracks=n.bool();continue;case 28:if(224!==e)break;r.containsTracks=n.bool();continue;case 29:if(232!==e)break;r.containsEpisodes=n.bool();continue;case 30:if(240!==e)break;r.containsAudioEpisodes=n.bool();continue;case 31:if(248!==e)break;r.onlyContainsExplicit=n.bool();continue;case 32:if(256!==e)break;r.isOnDemandInFree=n.bool();continue;case 33:if(266!==e)break;r.owner=y.decode(n,n.uint32());continue;case 34:if(274!==e)break;r.madeFor=y.decode(n,n.uint32());continue;case 35:if(282!==e)break;r.allows=A.decode(n,n.uint32());continue;case 36:if(288!==e)break;r.numberOfEpisodes=n.bool();continue;case 37:if(296!==e)break;r.numberOfTracks=n.bool();continue;case 38:if(304!==e)break;r.preferLinearPlayback=n.bool();continue;case 39:if(312!==e)break;r.onDemandInFreeReason=n.bool();continue;case 40:if(322!==e)break;r.collaboratingUsers=S.decode(n,n.uint32());continue;case 41:if(328!==e)break;r.basePermission=n.bool();continue;case 42:if(336!==e)break;r.userCapabilities=n.bool();continue;case 43:if(344===e){r.extension.push(n.int32());continue}if(346===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 44:if(352!==e)break;r.lenses=n.bool();continue;case 45:if(360!==e)break;r.lengthIgnoringTextFilter=n.bool();continue;case 46:if(368!==e)break;r.numberOfItemsPerLinkType=n.bool();continue;case 47:if(376!==e)break;r.availableSignals=n.bool();continue;case 48:if(384!==e)break;r.aiCurationReferenceId=n.bool();continue;case 49:if(392!==e)break;r.unrangedLength=n.bool();continue;case 50:if(400!==e)break;r.unfilteredLength=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({rowId:!!O(e.rowId)&&Boolean(e.rowId),link:!!O(e.link)&&Boolean(e.link),name:!!O(e.name)&&Boolean(e.name),loadState:!!O(e.loadState)&&Boolean(e.loadState),loaded:!!O(e.loaded)&&Boolean(e.loaded),collaborative:!!O(e.collaborative)&&Boolean(e.collaborative),length:!!O(e.length)&&Boolean(e.length),lastModification:!!O(e.lastModification)&&Boolean(e.lastModification),totalLength:!!O(e.totalLength)&&Boolean(e.totalLength),duration:!!O(e.duration)&&Boolean(e.duration),description:!!O(e.description)&&Boolean(e.description),picture:!!O(e.picture)&&Boolean(e.picture),playable:!!O(e.playable)&&Boolean(e.playable),descriptionFromAnnotate:!!O(e.descriptionFromAnnotate)&&Boolean(e.descriptionFromAnnotate),pictureFromAnnotate:!!O(e.pictureFromAnnotate)&&Boolean(e.pictureFromAnnotate),canReportAnnotationAbuse:!!O(e.canReportAnnotationAbuse)&&Boolean(e.canReportAnnotationAbuse),followed:!!O(e.followed)&&Boolean(e.followed),followers:!!O(e.followers)&&Boolean(e.followers),ownedBySelf:!!O(e.ownedBySelf)&&Boolean(e.ownedBySelf),offline:!!O(e.offline)&&Boolean(e.offline),syncProgress:!!O(e.syncProgress)&&Boolean(e.syncProgress),published:!!O(e.published)&&Boolean(e.published),browsableOffline:!!O(e.browsableOffline)&&Boolean(e.browsableOffline),formatListType:!!O(e.formatListType)&&Boolean(e.formatListType),formatListAttributes:!!O(e.formatListAttributes)&&Boolean(e.formatListAttributes),hasExplicitContent:!!O(e.hasExplicitContent)&&Boolean(e.hasExplicitContent),containsSpotifyTracks:!!O(e.containsSpotifyTracks)&&Boolean(e.containsSpotifyTracks),containsTracks:!!O(e.containsTracks)&&Boolean(e.containsTracks),containsEpisodes:!!O(e.containsEpisodes)&&Boolean(e.containsEpisodes),containsAudioEpisodes:!!O(e.containsAudioEpisodes)&&Boolean(e.containsAudioEpisodes),onlyContainsExplicit:!!O(e.onlyContainsExplicit)&&Boolean(e.onlyContainsExplicit),isOnDemandInFree:!!O(e.isOnDemandInFree)&&Boolean(e.isOnDemandInFree),owner:O(e.owner)?y.fromJSON(e.owner):void 0,madeFor:O(e.madeFor)?y.fromJSON(e.madeFor):void 0,allows:O(e.allows)?A.fromJSON(e.allows):void 0,numberOfEpisodes:!!O(e.numberOfEpisodes)&&Boolean(e.numberOfEpisodes),numberOfTracks:!!O(e.numberOfTracks)&&Boolean(e.numberOfTracks),preferLinearPlayback:!!O(e.preferLinearPlayback)&&Boolean(e.preferLinearPlayback),onDemandInFreeReason:!!O(e.onDemandInFreeReason)&&Boolean(e.onDemandInFreeReason),collaboratingUsers:O(e.collaboratingUsers)?S.fromJSON(e.collaboratingUsers):void 0,basePermission:!!O(e.basePermission)&&Boolean(e.basePermission),userCapabilities:!!O(e.userCapabilities)&&Boolean(e.userCapabilities),extension:Array.isArray(e?.extension)?e.extension.map((e=>h(e))):[],lenses:!!O(e.lenses)&&Boolean(e.lenses),lengthIgnoringTextFilter:!!O(e.lengthIgnoringTextFilter)&&Boolean(e.lengthIgnoringTextFilter),numberOfItemsPerLinkType:!!O(e.numberOfItemsPerLinkType)&&Boolean(e.numberOfItemsPerLinkType),availableSignals:!!O(e.availableSignals)&&Boolean(e.availableSignals),aiCurationReferenceId:!!O(e.aiCurationReferenceId)&&Boolean(e.aiCurationReferenceId),unrangedLength:!!O(e.unrangedLength)&&Boolean(e.unrangedLength),unfilteredLength:!!O(e.unfilteredLength)&&Boolean(e.unfilteredLength)}),toJSON(e){const t={};return!0===e.rowId&&(t.rowId=e.rowId),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.loadState&&(t.loadState=e.loadState),!0===e.loaded&&(t.loaded=e.loaded),!0===e.collaborative&&(t.collaborative=e.collaborative),!0===e.length&&(t.length=e.length),!0===e.lastModification&&(t.lastModification=e.lastModification),!0===e.totalLength&&(t.totalLength=e.totalLength),!0===e.duration&&(t.duration=e.duration),!0===e.description&&(t.description=e.description),!0===e.picture&&(t.picture=e.picture),!0===e.playable&&(t.playable=e.playable),!0===e.descriptionFromAnnotate&&(t.descriptionFromAnnotate=e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&(t.pictureFromAnnotate=e.pictureFromAnnotate),!0===e.canReportAnnotationAbuse&&(t.canReportAnnotationAbuse=e.canReportAnnotationAbuse),!0===e.followed&&(t.followed=e.followed),!0===e.followers&&(t.followers=e.followers),!0===e.ownedBySelf&&(t.ownedBySelf=e.ownedBySelf),!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),!0===e.published&&(t.published=e.published),!0===e.browsableOffline&&(t.browsableOffline=e.browsableOffline),!0===e.formatListType&&(t.formatListType=e.formatListType),!0===e.formatListAttributes&&(t.formatListAttributes=e.formatListAttributes),!0===e.hasExplicitContent&&(t.hasExplicitContent=e.hasExplicitContent),!0===e.containsSpotifyTracks&&(t.containsSpotifyTracks=e.containsSpotifyTracks),!0===e.containsTracks&&(t.containsTracks=e.containsTracks),!0===e.containsEpisodes&&(t.containsEpisodes=e.containsEpisodes),!0===e.containsAudioEpisodes&&(t.containsAudioEpisodes=e.containsAudioEpisodes),!0===e.onlyContainsExplicit&&(t.onlyContainsExplicit=e.onlyContainsExplicit),!0===e.isOnDemandInFree&&(t.isOnDemandInFree=e.isOnDemandInFree),void 0!==e.owner&&(t.owner=y.toJSON(e.owner)),void 0!==e.madeFor&&(t.madeFor=y.toJSON(e.madeFor)),void 0!==e.allows&&(t.allows=A.toJSON(e.allows)),!0===e.numberOfEpisodes&&(t.numberOfEpisodes=e.numberOfEpisodes),!0===e.numberOfTracks&&(t.numberOfTracks=e.numberOfTracks),!0===e.preferLinearPlayback&&(t.preferLinearPlayback=e.preferLinearPlayback),!0===e.onDemandInFreeReason&&(t.onDemandInFreeReason=e.onDemandInFreeReason),void 0!==e.collaboratingUsers&&(t.collaboratingUsers=S.toJSON(e.collaboratingUsers)),!0===e.basePermission&&(t.basePermission=e.basePermission),!0===e.userCapabilities&&(t.userCapabilities=e.userCapabilities),e.extension?.length&&(t.extension=e.extension.map((e=>f(e)))),!0===e.lenses&&(t.lenses=e.lenses),!0===e.lengthIgnoringTextFilter&&(t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter),!0===e.numberOfItemsPerLinkType&&(t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType),!0===e.availableSignals&&(t.availableSignals=e.availableSignals),!0===e.aiCurationReferenceId&&(t.aiCurationReferenceId=e.aiCurationReferenceId),!0===e.unrangedLength&&(t.unrangedLength=e.unrangedLength),!0===e.unfilteredLength&&(t.unfilteredLength=e.unfilteredLength),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t={rowId:!1,link:!1,name:!1,loadState:!1,loaded:!1,collaborative:!1,length:!1,lastModification:!1,totalLength:!1,duration:!1,description:!1,picture:!1,playable:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,canReportAnnotationAbuse:!1,followed:!1,followers:!1,ownedBySelf:!1,offline:!1,syncProgress:!1,published:!1,browsableOffline:!1,formatListType:!1,formatListAttributes:!1,hasExplicitContent:!1,containsSpotifyTracks:!1,containsTracks:!1,containsEpisodes:!1,containsAudioEpisodes:!1,onlyContainsExplicit:!1,isOnDemandInFree:!1,owner:void 0,madeFor:void 0,allows:void 0,numberOfEpisodes:!1,numberOfTracks:!1,preferLinearPlayback:!1,onDemandInFreeReason:!1,collaboratingUsers:void 0,basePermission:!1,userCapabilities:!1,extension:[],lenses:!1,lengthIgnoringTextFilter:!1,numberOfItemsPerLinkType:!1,availableSignals:!1,aiCurationReferenceId:!1,unrangedLength:!1,unfilteredLength:!1};return t.rowId=e.rowId??!1,t.link=e.link??!1,t.name=e.name??!1,t.loadState=e.loadState??!1,t.loaded=e.loaded??!1,t.collaborative=e.collaborative??!1,t.length=e.length??!1,t.lastModification=e.lastModification??!1,t.totalLength=e.totalLength??!1,t.duration=e.duration??!1,t.description=e.description??!1,t.picture=e.picture??!1,t.playable=e.playable??!1,t.descriptionFromAnnotate=e.descriptionFromAnnotate??!1,t.pictureFromAnnotate=e.pictureFromAnnotate??!1,t.canReportAnnotationAbuse=e.canReportAnnotationAbuse??!1,t.followed=e.followed??!1,t.followers=e.followers??!1,t.ownedBySelf=e.ownedBySelf??!1,t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t.published=e.published??!1,t.browsableOffline=e.browsableOffline??!1,t.formatListType=e.formatListType??!1,t.formatListAttributes=e.formatListAttributes??!1,t.hasExplicitContent=e.hasExplicitContent??!1,t.containsSpotifyTracks=e.containsSpotifyTracks??!1,t.containsTracks=e.containsTracks??!1,t.containsEpisodes=e.containsEpisodes??!1,t.containsAudioEpisodes=e.containsAudioEpisodes??!1,t.onlyContainsExplicit=e.onlyContainsExplicit??!1,t.isOnDemandInFree=e.isOnDemandInFree??!1,t.owner=void 0!==e.owner&&null!==e.owner?y.fromPartial(e.owner):void 0,t.madeFor=void 0!==e.madeFor&&null!==e.madeFor?y.fromPartial(e.madeFor):void 0,t.allows=void 0!==e.allows&&null!==e.allows?A.fromPartial(e.allows):void 0,t.numberOfEpisodes=e.numberOfEpisodes??!1,t.numberOfTracks=e.numberOfTracks??!1,t.preferLinearPlayback=e.preferLinearPlayback??!1,t.onDemandInFreeReason=e.onDemandInFreeReason??!1,t.collaboratingUsers=void 0!==e.collaboratingUsers&&null!==e.collaboratingUsers?S.fromPartial(e.collaboratingUsers):void 0,t.basePermission=e.basePermission??!1,t.userCapabilities=e.userCapabilities??!1,t.extension=e.extension?.map((e=>e))||[],t.lenses=e.lenses??!1,t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter??!1,t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType??!1,t.availableSignals=e.availableSignals??!1,t.aiCurationReferenceId=e.aiCurationReferenceId??!1,t.unrangedLength=e.unrangedLength??!1,t.unfilteredLength=e.unfilteredLength??!1,t}};function O(e){return null!=e}const C={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.description&&t.uint32(24).bool(e.description),!0===e.popularity&&t.uint32(32).bool(e.popularity),!0===e.publisher&&t.uint32(40).bool(e.publisher),!0===e.language&&t.uint32(48).bool(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),!0===e.covers&&t.uint32(64).bool(e.covers),!0===e.numEpisodes&&t.uint32(72).bool(e.numEpisodes),!0===e.consumptionOrder&&t.uint32(80).bool(e.consumptionOrder),!0===e.mediaTypeEnum&&t.uint32(88).bool(e.mediaTypeEnum),!0===e.copyrights&&t.uint32(96).bool(e.copyrights),!0===e.trailerUri&&t.uint32(104).bool(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk),t.uint32(130).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isBook&&t.uint32(136).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(144).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.description=n.bool();continue;case 4:if(32!==e)break;r.popularity=n.bool();continue;case 5:if(40!==e)break;r.publisher=n.bool();continue;case 6:if(48!==e)break;r.language=n.bool();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(64!==e)break;r.covers=n.bool();continue;case 9:if(72!==e)break;r.numEpisodes=n.bool();continue;case 10:if(80!==e)break;r.consumptionOrder=n.bool();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.bool();continue;case 12:if(96!==e)break;r.copyrights=n.bool();continue;case 13:if(104!==e)break;r.trailerUri=n.bool();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 16:if(128===e){r.extension.push(n.int32());continue}if(130===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 17:if(136!==e)break;r.isBook=n.bool();continue;case 18:if(144!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!P(e.link)&&Boolean(e.link),name:!!P(e.name)&&Boolean(e.name),description:!!P(e.description)&&Boolean(e.description),popularity:!!P(e.popularity)&&Boolean(e.popularity),publisher:!!P(e.publisher)&&Boolean(e.publisher),language:!!P(e.language)&&Boolean(e.language),isExplicit:!!P(e.isExplicit)&&Boolean(e.isExplicit),covers:!!P(e.covers)&&Boolean(e.covers),numEpisodes:!!P(e.numEpisodes)&&Boolean(e.numEpisodes),consumptionOrder:!!P(e.consumptionOrder)&&Boolean(e.consumptionOrder),mediaTypeEnum:!!P(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),copyrights:!!P(e.copyrights)&&Boolean(e.copyrights),trailerUri:!!P(e.trailerUri)&&Boolean(e.trailerUri),isMusicAndTalk:!!P(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>h(e))):[],isBook:!!P(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!P(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.description&&(t.description=e.description),!0===e.popularity&&(t.popularity=e.popularity),!0===e.publisher&&(t.publisher=e.publisher),!0===e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.covers&&(t.covers=e.covers),!0===e.numEpisodes&&(t.numEpisodes=e.numEpisodes),!0===e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>f(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>C.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??!1,t.name=e.name??!1,t.description=e.description??!1,t.popularity=e.popularity??!1,t.publisher=e.publisher??!1,t.language=e.language??!1,t.isExplicit=e.isExplicit??!1,t.covers=e.covers??!1,t.numEpisodes=e.numEpisodes??!1,t.consumptionOrder=e.consumptionOrder??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.copyrights=e.copyrights??!1,t.trailerUri=e.trailerUri??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};const R={encode:(e,t=i.Writer.create())=>(!0===e.latestPlayedEpisodeLink&&t.uint32(8).bool(e.latestPlayedEpisodeLink),!0===e.playedTime&&t.uint32(16).bool(e.playedTime),!0===e.isPlayable&&t.uint32(24).bool(e.isPlayable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.label&&t.uint32(40).bool(e.label),!0===e.resumeEpisodeLink&&t.uint32(56).bool(e.resumeEpisodeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={latestPlayedEpisodeLink:!1,playedTime:!1,isPlayable:!1,playabilityRestriction:!1,label:!1,resumeEpisodeLink:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.latestPlayedEpisodeLink=n.bool();continue;case 2:if(16!==e)break;r.playedTime=n.bool();continue;case 3:if(24!==e)break;r.isPlayable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.label=n.bool();continue;case 7:if(56!==e)break;r.resumeEpisodeLink=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({latestPlayedEpisodeLink:!!P(e.latestPlayedEpisodeLink)&&Boolean(e.latestPlayedEpisodeLink),playedTime:!!P(e.playedTime)&&Boolean(e.playedTime),isPlayable:!!P(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:!!P(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),label:!!P(e.label)&&Boolean(e.label),resumeEpisodeLink:!!P(e.resumeEpisodeLink)&&Boolean(e.resumeEpisodeLink)}),toJSON(e){const t={};return!0===e.latestPlayedEpisodeLink&&(t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink),!0===e.playedTime&&(t.playedTime=e.playedTime),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.label&&(t.label=e.label),!0===e.resumeEpisodeLink&&(t.resumeEpisodeLink=e.resumeEpisodeLink),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={latestPlayedEpisodeLink:!1,playedTime:!1,isPlayable:!1,playabilityRestriction:!1,label:!1,resumeEpisodeLink:!1};return t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink??!1,t.playedTime=e.playedTime??!1,t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.label=e.label??!1,t.resumeEpisodeLink=e.resumeEpisodeLink??!1,t}};const N={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!P(e.isInCollection)&&Boolean(e.isInCollection)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1};return t.isInCollection=e.isInCollection??!1,t}};function P(e){return null!=e}const L={encode(e,t=i.Writer.create()){!0===e.hasLyrics&&t.uint32(8).bool(e.hasLyrics),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.length&&t.uint32(32).bool(e.length),!0===e.playable&&t.uint32(40).bool(e.playable),!0===e.isAvailableInMetadataCatalogue&&t.uint32(48).bool(e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&t.uint32(56).bool(e.locallyPlayable),!0===e.playableLocalTrack&&t.uint32(64).bool(e.playableLocalTrack),!0===e.discNumber&&t.uint32(72).bool(e.discNumber),!0===e.trackNumber&&t.uint32(80).bool(e.trackNumber),!0===e.isExplicit&&t.uint32(88).bool(e.isExplicit),!0===e.previewId&&t.uint32(96).bool(e.previewId),!0===e.isLocal&&t.uint32(104).bool(e.isLocal),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.playableTrackLink&&t.uint32(120).bool(e.playableTrackLink),!0===e.popularity&&t.uint32(128).bool(e.popularity),!0===e.is19PlusOnly&&t.uint32(136).bool(e.is19PlusOnly),!0===e.trackDescriptors&&t.uint32(144).bool(e.trackDescriptors),t.uint32(154).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isCurated&&t.uint32(160).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.hasLyrics=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.length=n.bool();continue;case 5:if(40!==e)break;r.playable=n.bool();continue;case 6:if(48!==e)break;r.isAvailableInMetadataCatalogue=n.bool();continue;case 7:if(56!==e)break;r.locallyPlayable=n.bool();continue;case 8:if(64!==e)break;r.playableLocalTrack=n.bool();continue;case 9:if(72!==e)break;r.discNumber=n.bool();continue;case 10:if(80!==e)break;r.trackNumber=n.bool();continue;case 11:if(88!==e)break;r.isExplicit=n.bool();continue;case 12:if(96!==e)break;r.previewId=n.bool();continue;case 13:if(104!==e)break;r.isLocal=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.playableTrackLink=n.bool();continue;case 16:if(128!==e)break;r.popularity=n.bool();continue;case 17:if(136!==e)break;r.is19PlusOnly=n.bool();continue;case 18:if(144!==e)break;r.trackDescriptors=n.bool();continue;case 19:if(152===e){r.extension.push(n.int32());continue}if(154===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 20:if(160!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({hasLyrics:!!M(e.hasLyrics)&&Boolean(e.hasLyrics),link:!!M(e.link)&&Boolean(e.link),name:!!M(e.name)&&Boolean(e.name),length:!!M(e.length)&&Boolean(e.length),playable:!!M(e.playable)&&Boolean(e.playable),isAvailableInMetadataCatalogue:!!M(e.isAvailableInMetadataCatalogue)&&Boolean(e.isAvailableInMetadataCatalogue),locallyPlayable:!!M(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableLocalTrack:!!M(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),discNumber:!!M(e.discNumber)&&Boolean(e.discNumber),trackNumber:!!M(e.trackNumber)&&Boolean(e.trackNumber),isExplicit:!!M(e.isExplicit)&&Boolean(e.isExplicit),previewId:!!M(e.previewId)&&Boolean(e.previewId),isLocal:!!M(e.isLocal)&&Boolean(e.isLocal),isPremiumOnly:!!M(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),playableTrackLink:!!M(e.playableTrackLink)&&Boolean(e.playableTrackLink),popularity:!!M(e.popularity)&&Boolean(e.popularity),is19PlusOnly:!!M(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:!!M(e.trackDescriptors)&&Boolean(e.trackDescriptors),extension:Array.isArray(e?.extension)?e.extension.map((e=>h(e))):[],isCurated:!!M(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!M(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.length&&(t.length=e.length),!0===e.playable&&(t.playable=e.playable),!0===e.isAvailableInMetadataCatalogue&&(t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.discNumber&&(t.discNumber=e.discNumber),!0===e.trackNumber&&(t.trackNumber=e.trackNumber),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),!0===e.popularity&&(t.popularity=e.popularity),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.trackDescriptors&&(t.trackDescriptors=e.trackDescriptors),e.extension?.length&&(t.extension=e.extension.map((e=>f(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};return t.hasLyrics=e.hasLyrics??!1,t.link=e.link??!1,t.name=e.name??!1,t.length=e.length??!1,t.playable=e.playable??!1,t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.discNumber=e.discNumber??!1,t.trackNumber=e.trackNumber??!1,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??!1,t.isLocal=e.isLocal??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.playableTrackLink=e.playableTrackLink??!1,t.popularity=e.popularity??!1,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors??!1,t.extension=e.extension?.map((e=>e))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};const k={encode:(e,t=i.Writer.create())=>(!0===e.playable&&t.uint32(8).bool(e.playable),!0===e.isCurrentlyPlayable&&t.uint32(16).bool(e.isCurrentlyPlayable),!0===e.playabilityRestriction&&t.uint32(24).bool(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playable:!1,isCurrentlyPlayable:!1,playabilityRestriction:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.playable=n.bool();continue;case 2:if(16!==e)break;r.isCurrentlyPlayable=n.bool();continue;case 3:if(24!==e)break;r.playabilityRestriction=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playable:!!M(e.playable)&&Boolean(e.playable),isCurrentlyPlayable:!!M(e.isCurrentlyPlayable)&&Boolean(e.isCurrentlyPlayable),playabilityRestriction:!!M(e.playabilityRestriction)&&Boolean(e.playabilityRestriction)}),toJSON(e){const t={};return!0===e.playable&&(t.playable=e.playable),!0===e.isCurrentlyPlayable&&(t.isCurrentlyPlayable=e.isCurrentlyPlayable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={playable:!1,isCurrentlyPlayable:!1,playabilityRestriction:!1};return t.playable=e.playable??!1,t.isCurrentlyPlayable=e.isCurrentlyPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t}};const w={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.canAddToCollection&&t.uint32(16).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(24).bool(e.isBanned),!0===e.canBan&&t.uint32(32).bool(e.canBan),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.canAddToCollection=n.bool();continue;case 3:if(24!==e)break;r.isBanned=n.bool();continue;case 4:if(32!==e)break;r.canBan=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!M(e.isInCollection)&&Boolean(e.isInCollection),canAddToCollection:!!M(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!M(e.isBanned)&&Boolean(e.isBanned),canBan:!!M(e.canBan)&&Boolean(e.canBan)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};return t.isInCollection=e.isInCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t}};const D={encode:(e,t=i.Writer.create())=>(!0===e.offlineState&&t.uint32(8).bool(e.offlineState),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offlineState:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offlineState=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:!!M(e.offlineState)&&Boolean(e.offlineState),syncProgress:!!M(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offlineState&&(t.offlineState=e.offlineState),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>D.fromPartial(e??{}),fromPartial(e){const t={offlineState:!1,syncProgress:!1};return t.offlineState=e.offlineState??!1,t.syncProgress=e.syncProgress??!1,t}};function M(e){return null!=e}const x={encode:(e,t=i.Writer.create())=>(void 0!==e.collectionPolicy&&l.encode(e.collectionPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.syncPolicy&&u.encode(e.syncPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.artistPolicy&&c.encode(e.artistPolicy,t.uint32(26).fork()).ldelim(),!0===e.type&&t.uint32(32).bool(e.type),!0===e.timestamp&&t.uint32(40).bool(e.timestamp),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionPolicy:void 0,syncPolicy:void 0,artistPolicy:void 0,type:!1,timestamp:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.collectionPolicy=l.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.syncPolicy=u.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.artistPolicy=c.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.type=n.bool();continue;case 5:if(40!==e)break;r.timestamp=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionPolicy:j(e.collectionPolicy)?l.fromJSON(e.collectionPolicy):void 0,syncPolicy:j(e.syncPolicy)?u.fromJSON(e.syncPolicy):void 0,artistPolicy:j(e.artistPolicy)?c.fromJSON(e.artistPolicy):void 0,type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp)}),toJSON(e){const t={};return void 0!==e.collectionPolicy&&(t.collectionPolicy=l.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=u.toJSON(e.syncPolicy)),void 0!==e.artistPolicy&&(t.artistPolicy=c.toJSON(e.artistPolicy)),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t={collectionPolicy:void 0,syncPolicy:void 0,artistPolicy:void 0,type:!1,timestamp:!1};return t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?l.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?u.fromPartial(e.syncPolicy):void 0,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?c.fromPartial(e.artistPolicy):void 0,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t}};const U={encode:(e,t=i.Writer.create())=>(void 0!==e.collectionPolicy&&r.encode(e.collectionPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.syncPolicy&&a.encode(e.syncPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.albumPolicy&&o.encode(e.albumPolicy,t.uint32(26).fork()).ldelim(),!0===e.inCollection&&t.uint32(32).bool(e.inCollection),!0===e.type&&t.uint32(56).bool(e.type),!0===e.timestamp&&t.uint32(64).bool(e.timestamp),void 0!==e.artistsPolicy&&c.encode(e.artistsPolicy,t.uint32(74).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let s=void 0===t?n.len:n.pos+t;const l={collectionPolicy:void 0,syncPolicy:void 0,albumPolicy:void 0,inCollection:!1,type:!1,timestamp:!1,artistsPolicy:void 0};for(;n.pos<s;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;l.collectionPolicy=r.decode(n,n.uint32());continue;case 2:if(18!==e)break;l.syncPolicy=a.decode(n,n.uint32());continue;case 3:if(26!==e)break;l.albumPolicy=o.decode(n,n.uint32());continue;case 4:if(32!==e)break;l.inCollection=n.bool();continue;case 7:if(56!==e)break;l.type=n.bool();continue;case 8:if(64!==e)break;l.timestamp=n.bool();continue;case 9:if(74!==e)break;l.artistsPolicy=c.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return l},fromJSON:e=>({collectionPolicy:j(e.collectionPolicy)?r.fromJSON(e.collectionPolicy):void 0,syncPolicy:j(e.syncPolicy)?a.fromJSON(e.syncPolicy):void 0,albumPolicy:j(e.albumPolicy)?o.fromJSON(e.albumPolicy):void 0,inCollection:!!j(e.inCollection)&&Boolean(e.inCollection),type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp),artistsPolicy:j(e.artistsPolicy)?c.fromJSON(e.artistsPolicy):void 0}),toJSON(e){const t={};return void 0!==e.collectionPolicy&&(t.collectionPolicy=r.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=a.toJSON(e.syncPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=o.toJSON(e.albumPolicy)),!0===e.inCollection&&(t.inCollection=e.inCollection),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.artistsPolicy&&(t.artistsPolicy=c.toJSON(e.artistsPolicy)),t},create:e=>U.fromPartial(e??{}),fromPartial(e){const t={collectionPolicy:void 0,syncPolicy:void 0,albumPolicy:void 0,inCollection:!1,type:!1,timestamp:!1,artistsPolicy:void 0};return t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?r.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?a.fromPartial(e.syncPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?o.fromPartial(e.albumPolicy):void 0,t.inCollection=e.inCollection??!1,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t.artistsPolicy=void 0!==e.artistsPolicy&&null!==e.artistsPolicy?c.fromPartial(e.artistsPolicy):void 0,t}};const V={encode:(e,t=i.Writer.create())=>(void 0!==e.collectionPolicy&&w.encode(e.collectionPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.syncPolicy&&D.encode(e.syncPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.trackPolicy&&L.encode(e.trackPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.playedStatePolicy&&k.encode(e.playedStatePolicy,t.uint32(34).fork()).ldelim(),!0===e.type&&t.uint32(56).bool(e.type),!0===e.timestamp&&t.uint32(64).bool(e.timestamp),void 0!==e.artistsPolicy&&c.encode(e.artistsPolicy,t.uint32(74).fork()).ldelim(),void 0!==e.albumPolicy&&o.encode(e.albumPolicy,t.uint32(82).fork()).ldelim(),void 0!==e.albumArtistPolicy&&c.encode(e.albumArtistPolicy,t.uint32(90).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={collectionPolicy:void 0,syncPolicy:void 0,trackPolicy:void 0,playedStatePolicy:void 0,type:!1,timestamp:!1,artistsPolicy:void 0,albumPolicy:void 0,albumArtistPolicy:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.collectionPolicy=w.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.syncPolicy=D.decode(n,n.uint32());continue;case 3:if(26!==e)break;a.trackPolicy=L.decode(n,n.uint32());continue;case 4:if(34!==e)break;a.playedStatePolicy=k.decode(n,n.uint32());continue;case 7:if(56!==e)break;a.type=n.bool();continue;case 8:if(64!==e)break;a.timestamp=n.bool();continue;case 9:if(74!==e)break;a.artistsPolicy=c.decode(n,n.uint32());continue;case 10:if(82!==e)break;a.albumPolicy=o.decode(n,n.uint32());continue;case 11:if(90!==e)break;a.albumArtistPolicy=c.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({collectionPolicy:j(e.collectionPolicy)?w.fromJSON(e.collectionPolicy):void 0,syncPolicy:j(e.syncPolicy)?D.fromJSON(e.syncPolicy):void 0,trackPolicy:j(e.trackPolicy)?L.fromJSON(e.trackPolicy):void 0,playedStatePolicy:j(e.playedStatePolicy)?k.fromJSON(e.playedStatePolicy):void 0,type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp),artistsPolicy:j(e.artistsPolicy)?c.fromJSON(e.artistsPolicy):void 0,albumPolicy:j(e.albumPolicy)?o.fromJSON(e.albumPolicy):void 0,albumArtistPolicy:j(e.albumArtistPolicy)?c.fromJSON(e.albumArtistPolicy):void 0}),toJSON(e){const t={};return void 0!==e.collectionPolicy&&(t.collectionPolicy=w.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=D.toJSON(e.syncPolicy)),void 0!==e.trackPolicy&&(t.trackPolicy=L.toJSON(e.trackPolicy)),void 0!==e.playedStatePolicy&&(t.playedStatePolicy=k.toJSON(e.playedStatePolicy)),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),void 0!==e.artistsPolicy&&(t.artistsPolicy=c.toJSON(e.artistsPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=o.toJSON(e.albumPolicy)),void 0!==e.albumArtistPolicy&&(t.albumArtistPolicy=c.toJSON(e.albumArtistPolicy)),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t={collectionPolicy:void 0,syncPolicy:void 0,trackPolicy:void 0,playedStatePolicy:void 0,type:!1,timestamp:!1,artistsPolicy:void 0,albumPolicy:void 0,albumArtistPolicy:void 0};return t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?w.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?D.fromPartial(e.syncPolicy):void 0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?L.fromPartial(e.trackPolicy):void 0,t.playedStatePolicy=void 0!==e.playedStatePolicy&&null!==e.playedStatePolicy?k.fromPartial(e.playedStatePolicy):void 0,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t.artistsPolicy=void 0!==e.artistsPolicy&&null!==e.artistsPolicy?c.fromPartial(e.artistsPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?o.fromPartial(e.albumPolicy):void 0,t.albumArtistPolicy=void 0!==e.albumArtistPolicy&&null!==e.albumArtistPolicy?c.fromPartial(e.albumArtistPolicy):void 0,t}};const F={encode:(e,t=i.Writer.create())=>(void 0!==e.showPolicy&&C.encode(e.showPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.collectionPolicy&&N.encode(e.collectionPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.playedStatePolicy&&R.encode(e.playedStatePolicy,t.uint32(26).fork()).ldelim(),!0===e.type&&t.uint32(32).bool(e.type),!0===e.timestamp&&t.uint32(40).bool(e.timestamp),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={showPolicy:void 0,collectionPolicy:void 0,playedStatePolicy:void 0,type:!1,timestamp:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showPolicy=C.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.collectionPolicy=N.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.playedStatePolicy=R.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.type=n.bool();continue;case 5:if(40!==e)break;r.timestamp=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showPolicy:j(e.showPolicy)?C.fromJSON(e.showPolicy):void 0,collectionPolicy:j(e.collectionPolicy)?N.fromJSON(e.collectionPolicy):void 0,playedStatePolicy:j(e.playedStatePolicy)?R.fromJSON(e.playedStatePolicy):void 0,type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp)}),toJSON(e){const t={};return void 0!==e.showPolicy&&(t.showPolicy=C.toJSON(e.showPolicy)),void 0!==e.collectionPolicy&&(t.collectionPolicy=N.toJSON(e.collectionPolicy)),void 0!==e.playedStatePolicy&&(t.playedStatePolicy=R.toJSON(e.playedStatePolicy)),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),t},create:e=>F.fromPartial(e??{}),fromPartial(e){const t={showPolicy:void 0,collectionPolicy:void 0,playedStatePolicy:void 0,type:!1,timestamp:!1};return t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?C.fromPartial(e.showPolicy):void 0,t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?N.fromPartial(e.collectionPolicy):void 0,t.playedStatePolicy=void 0!==e.playedStatePolicy&&null!==e.playedStatePolicy?R.fromPartial(e.playedStatePolicy):void 0,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t}};const B={encode:(e,t=i.Writer.create())=>(void 0!==e.episodePolicy&&m.encode(e.episodePolicy,t.uint32(10).fork()).ldelim(),void 0!==e.collectionPolicy&&_.encode(e.collectionPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.syncPolicy&&g.encode(e.syncPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.playedStatePolicy&&E.encode(e.playedStatePolicy,t.uint32(34).fork()).ldelim(),void 0!==e.showPolicy&&C.encode(e.showPolicy,t.uint32(42).fork()).ldelim(),!0===e.type&&t.uint32(48).bool(e.type),!0===e.timestamp&&t.uint32(56).bool(e.timestamp),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodePolicy:void 0,collectionPolicy:void 0,syncPolicy:void 0,playedStatePolicy:void 0,showPolicy:void 0,type:!1,timestamp:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodePolicy=m.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.collectionPolicy=_.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.syncPolicy=g.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.playedStatePolicy=E.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.showPolicy=C.decode(n,n.uint32());continue;case 6:if(48!==e)break;r.type=n.bool();continue;case 7:if(56!==e)break;r.timestamp=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodePolicy:j(e.episodePolicy)?m.fromJSON(e.episodePolicy):void 0,collectionPolicy:j(e.collectionPolicy)?_.fromJSON(e.collectionPolicy):void 0,syncPolicy:j(e.syncPolicy)?g.fromJSON(e.syncPolicy):void 0,playedStatePolicy:j(e.playedStatePolicy)?E.fromJSON(e.playedStatePolicy):void 0,showPolicy:j(e.showPolicy)?C.fromJSON(e.showPolicy):void 0,type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp)}),toJSON(e){const t={};return void 0!==e.episodePolicy&&(t.episodePolicy=m.toJSON(e.episodePolicy)),void 0!==e.collectionPolicy&&(t.collectionPolicy=_.toJSON(e.collectionPolicy)),void 0!==e.syncPolicy&&(t.syncPolicy=g.toJSON(e.syncPolicy)),void 0!==e.playedStatePolicy&&(t.playedStatePolicy=E.toJSON(e.playedStatePolicy)),void 0!==e.showPolicy&&(t.showPolicy=C.toJSON(e.showPolicy)),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={episodePolicy:void 0,collectionPolicy:void 0,syncPolicy:void 0,playedStatePolicy:void 0,showPolicy:void 0,type:!1,timestamp:!1};return t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?m.fromPartial(e.episodePolicy):void 0,t.collectionPolicy=void 0!==e.collectionPolicy&&null!==e.collectionPolicy?_.fromPartial(e.collectionPolicy):void 0,t.syncPolicy=void 0!==e.syncPolicy&&null!==e.syncPolicy?g.fromPartial(e.syncPolicy):void 0,t.playedStatePolicy=void 0!==e.playedStatePolicy&&null!==e.playedStatePolicy?E.fromPartial(e.playedStatePolicy):void 0,t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?C.fromPartial(e.showPolicy):void 0,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t}};const H={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.imageUri&&t.uint32(24).bool(e.imageUri),!0===e.offline&&t.uint32(32).bool(e.offline),!0===e.type&&t.uint32(40).bool(e.type),!0===e.timestamp&&t.uint32(48).bool(e.timestamp),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,imageUri:!1,offline:!1,type:!1,timestamp:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.imageUri=n.bool();continue;case 4:if(32!==e)break;r.offline=n.bool();continue;case 5:if(40!==e)break;r.type=n.bool();continue;case 6:if(48!==e)break;r.timestamp=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!j(e.link)&&Boolean(e.link),name:!!j(e.name)&&Boolean(e.name),imageUri:!!j(e.imageUri)&&Boolean(e.imageUri),offline:!!j(e.offline)&&Boolean(e.offline),type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.imageUri&&(t.imageUri=e.imageUri),!0===e.offline&&(t.offline=e.offline),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,imageUri:!1,offline:!1,type:!1,timestamp:!1};return t.link=e.link??!1,t.name=e.name??!1,t.imageUri=e.imageUri??!1,t.offline=e.offline??!1,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t}};const G={encode:(e,t=i.Writer.create())=>(void 0!==e.playlistPolicy&&I.encode(e.playlistPolicy,t.uint32(10).fork()).ldelim(),!0===e.type&&t.uint32(16).bool(e.type),!0===e.timestamp&&t.uint32(24).bool(e.timestamp),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistPolicy:void 0,type:!1,timestamp:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistPolicy=I.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.type=n.bool();continue;case 3:if(24!==e)break;r.timestamp=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistPolicy:j(e.playlistPolicy)?I.fromJSON(e.playlistPolicy):void 0,type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp)}),toJSON(e){const t={};return void 0!==e.playlistPolicy&&(t.playlistPolicy=I.toJSON(e.playlistPolicy)),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={playlistPolicy:void 0,type:!1,timestamp:!1};return t.playlistPolicy=void 0!==e.playlistPolicy&&null!==e.playlistPolicy?I.fromPartial(e.playlistPolicy):void 0,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t}};const W={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.type&&t.uint32(16).bool(e.type),!0===e.timestamp&&t.uint32(24).bool(e.timestamp),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,type:!1,timestamp:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.type=n.bool();continue;case 3:if(24!==e)break;r.timestamp=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!j(e.link)&&Boolean(e.link),type:!!j(e.type)&&Boolean(e.type),timestamp:!!j(e.timestamp)&&Boolean(e.timestamp)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.type&&(t.type=e.type),!0===e.timestamp&&(t.timestamp=e.timestamp),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={link:!1,type:!1,timestamp:!1};return t.link=e.link??!1,t.type=e.type??!1,t.timestamp=e.timestamp??!1,t}};function j(e){return null!=e}const Y={encode:(e,t=i.Writer.create())=>(""!==e.collectionLink&&t.uint32(10).string(e.collectionLink),0!==e.numTracksInCollection&&t.uint32(16).uint32(e.numTracksInCollection),!0===e.complete&&t.uint32(24).bool(e.complete),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:"",numTracksInCollection:0,complete:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.collectionLink=n.string();continue;case 2:if(16!==e)break;r.numTracksInCollection=n.uint32();continue;case 3:if(24!==e)break;r.complete=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:z(e.collectionLink)?String(e.collectionLink):"",numTracksInCollection:z(e.numTracksInCollection)?Number(e.numTracksInCollection):0,complete:!!z(e.complete)&&Boolean(e.complete)}),toJSON(e){const t={};return""!==e.collectionLink&&(t.collectionLink=e.collectionLink),0!==e.numTracksInCollection&&(t.numTracksInCollection=Math.round(e.numTracksInCollection)),!0===e.complete&&(t.complete=e.complete),t},create:e=>Y.fromPartial(e??{}),fromPartial(e){const t={collectionLink:"",numTracksInCollection:0,complete:!1};return t.collectionLink=e.collectionLink??"",t.numTracksInCollection=e.numTracksInCollection??0,t.complete=e.complete??!1,t}};function z(e){return null!=e}const K={encode:(e,t=i.Writer.create())=>(""!==e.collectionLink&&t.uint32(10).string(e.collectionLink),!0===e.followed&&t.uint32(16).bool(e.followed),0!==e.numTracksInCollection&&t.uint32(24).uint32(e.numTracksInCollection),0!==e.numAlbumsInCollection&&t.uint32(32).uint32(e.numAlbumsInCollection),!0===e.isBanned&&t.uint32(40).bool(e.isBanned),!0===e.canBan&&t.uint32(48).bool(e.canBan),0!==e.numExplicitlyLikedTracks&&t.uint32(56).uint32(e.numExplicitlyLikedTracks),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={collectionLink:"",followed:!1,numTracksInCollection:0,numAlbumsInCollection:0,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.collectionLink=n.string();continue;case 2:if(16!==e)break;r.followed=n.bool();continue;case 3:if(24!==e)break;r.numTracksInCollection=n.uint32();continue;case 4:if(32!==e)break;r.numAlbumsInCollection=n.uint32();continue;case 5:if(40!==e)break;r.isBanned=n.bool();continue;case 6:if(48!==e)break;r.canBan=n.bool();continue;case 7:if(56!==e)break;r.numExplicitlyLikedTracks=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({collectionLink:J(e.collectionLink)?String(e.collectionLink):"",followed:!!J(e.followed)&&Boolean(e.followed),numTracksInCollection:J(e.numTracksInCollection)?Number(e.numTracksInCollection):0,numAlbumsInCollection:J(e.numAlbumsInCollection)?Number(e.numAlbumsInCollection):0,isBanned:!!J(e.isBanned)&&Boolean(e.isBanned),canBan:!!J(e.canBan)&&Boolean(e.canBan),numExplicitlyLikedTracks:J(e.numExplicitlyLikedTracks)?Number(e.numExplicitlyLikedTracks):0}),toJSON(e){const t={};return""!==e.collectionLink&&(t.collectionLink=e.collectionLink),!0===e.followed&&(t.followed=e.followed),0!==e.numTracksInCollection&&(t.numTracksInCollection=Math.round(e.numTracksInCollection)),0!==e.numAlbumsInCollection&&(t.numAlbumsInCollection=Math.round(e.numAlbumsInCollection)),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),0!==e.numExplicitlyLikedTracks&&(t.numExplicitlyLikedTracks=Math.round(e.numExplicitlyLikedTracks)),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={collectionLink:"",followed:!1,numTracksInCollection:0,numAlbumsInCollection:0,isBanned:!1,canBan:!1,numExplicitlyLikedTracks:0};return t.collectionLink=e.collectionLink??"",t.followed=e.followed??!1,t.numTracksInCollection=e.numTracksInCollection??0,t.numAlbumsInCollection=e.numAlbumsInCollection??0,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t.numExplicitlyLikedTracks=e.numExplicitlyLikedTracks??0,t}};function J(e){return null!=e}const q={encode:(e,t=i.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isNew&&t.uint32(16).bool(e.isNew),!0===e.isInListenLater&&t.uint32(24).bool(e.isInListenLater),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isNew:!1,isInListenLater:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isNew=n.bool();continue;case 3:if(24!==e)break;r.isInListenLater=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!X(e.isFollowingShow)&&Boolean(e.isFollowingShow),isNew:!!X(e.isNew)&&Boolean(e.isNew),isInListenLater:!!X(e.isInListenLater)&&Boolean(e.isInListenLater)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isNew&&(t.isNew=e.isNew),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),t},create:e=>q.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isNew:!1,isInListenLater:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isNew=e.isNew??!1,t.isInListenLater=e.isInListenLater??!1,t}};function X(e){return null!=e}const $={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{isInCollection:(t=e.isInCollection,null!=t&&Boolean(e.isInCollection))};var t},toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),t},create:e=>$.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1};return t.isInCollection=e.isInCollection??!1,t}};const Z={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.canAddToCollection&&t.uint32(16).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(24).bool(e.isBanned),!0===e.canBan&&t.uint32(32).bool(e.canBan),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.canAddToCollection=n.bool();continue;case 3:if(24!==e)break;r.isBanned=n.bool();continue;case 4:if(32!==e)break;r.canBan=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!Q(e.isInCollection)&&Boolean(e.isInCollection),canAddToCollection:!!Q(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!Q(e.isBanned)&&Boolean(e.isBanned),canBan:!!Q(e.canBan)&&Boolean(e.canBan)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),t},create:e=>Z.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};return t.isInCollection=e.isInCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t}};function Q(e){return null!=e}const ee={encode:(e,t=i.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:te(e.standardLink)?String(e.standardLink):"",smallLink:te(e.smallLink)?String(e.smallLink):"",largeLink:te(e.largeLink)?String(e.largeLink):"",xlargeLink:te(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>ee.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function te(e){return null!=e}const ne={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:oe(e.link)?String(e.link):"",name:oe(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>ne.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const ie={encode(e,t=i.Writer.create()){for(const n of e.artists)ne.encode(n,t.uint32(10).fork()).ldelim();""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name);for(const n of e.copyright)t.uint32(34).string(n);return void 0!==e.covers&&ee.encode(e.covers,t.uint32(42).fork()).ldelim(),0!==e.year&&t.uint32(48).uint32(e.year),0!==e.numDiscs&&t.uint32(56).uint32(e.numDiscs),0!==e.numTracks&&t.uint32(64).uint32(e.numTracks),!0===e.playability&&t.uint32(72).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(80).bool(e.isPremiumOnly),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artists:[],link:"",name:"",copyright:[],covers:void 0,year:0,numDiscs:0,numTracks:0,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artists.push(ne.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(34!==e)break;r.copyright.push(n.string());continue;case 5:if(42!==e)break;r.covers=ee.decode(n,n.uint32());continue;case 6:if(48!==e)break;r.year=n.uint32();continue;case 7:if(56!==e)break;r.numDiscs=n.uint32();continue;case 8:if(64!==e)break;r.numTracks=n.uint32();continue;case 9:if(72!==e)break;r.playability=n.bool();continue;case 10:if(80!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artists:Array.isArray(e?.artists)?e.artists.map((e=>ne.fromJSON(e))):[],link:oe(e.link)?String(e.link):"",name:oe(e.name)?String(e.name):"",copyright:Array.isArray(e?.copyright)?e.copyright.map((e=>String(e))):[],covers:oe(e.covers)?ee.fromJSON(e.covers):void 0,year:oe(e.year)?Number(e.year):0,numDiscs:oe(e.numDiscs)?Number(e.numDiscs):0,numTracks:oe(e.numTracks)?Number(e.numTracks):0,playability:!!oe(e.playability)&&Boolean(e.playability),isPremiumOnly:!!oe(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return e.artists?.length&&(t.artists=e.artists.map((e=>ne.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),e.copyright?.length&&(t.copyright=e.copyright),void 0!==e.covers&&(t.covers=ee.toJSON(e.covers)),0!==e.year&&(t.year=Math.round(e.year)),0!==e.numDiscs&&(t.numDiscs=Math.round(e.numDiscs)),0!==e.numTracks&&(t.numTracks=Math.round(e.numTracks)),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>ie.fromPartial(e??{}),fromPartial(e){const t={artists:[],link:"",name:"",copyright:[],covers:void 0,year:0,numDiscs:0,numTracks:0,playability:!1,isPremiumOnly:!1};return t.artists=e.artists?.map((e=>ne.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.copyright=e.copyright?.map((e=>e))||[],t.covers=void 0!==e.covers&&null!==e.covers?ee.fromPartial(e.covers):void 0,t.year=e.year??0,t.numDiscs=e.numDiscs??0,t.numTracks=e.numTracks??0,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};function oe(e){return null!=e}const re={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),void 0!==e.portraits&&ee.encode(e.portraits,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",isVariousArtists:!1,portraits:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(34!==e)break;r.portraits=ee.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:ae(e.link)?String(e.link):"",name:ae(e.name)?String(e.name):"",isVariousArtists:!!ae(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:ae(e.portraits)?ee.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),void 0!==e.portraits&&(t.portraits=ee.toJSON(e.portraits)),t},create:e=>re.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",isVariousArtists:!1,portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.isVariousArtists=e.isVariousArtists??!1,t.portraits=void 0!==e.portraits&&null!==e.portraits?ee.fromPartial(e.portraits):void 0,t}};function ae(e){return null!=e}var se=n(87252);function ce(){return{extensionKind:0,data:new Uint8Array(0)}}const le={encode:(e,t=i.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=ce();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:pe(e.extensionKind)?h(e.extensionKind):0,data:pe(e.data)?de(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=f(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(ue.Buffer)return ue.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),ue.btoa(t.join(""))}}(e.data)),t},create:e=>le.fromPartial(e??{}),fromPartial(e){const t=ce();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},ue=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function de(e){if(ue.Buffer)return Uint8Array.from(ue.Buffer.from(e,"base64"));{const t=ue.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function pe(e){return null!=e}var he,fe;function me(e){switch(e){case 0:case"UNKNOWN":return he.UNKNOWN;case 1:case"FULL":return he.FULL;case 2:case"TRAILER":return he.TRAILER;case 3:case"BONUS":return he.BONUS;default:return he.UNRECOGNIZED}}function _e(e){switch(e){case 0:case"VODCAST":return fe.VODCAST;case 1:case"AUDIO":return fe.AUDIO;case 2:case"VIDEO":return fe.VIDEO;default:return fe.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.FULL=1]="FULL",e[e.TRAILER=2]="TRAILER",e[e.BONUS=3]="BONUS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(he||(he={})),function(e){e[e.VODCAST=0]="VODCAST",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(fe||(fe={}));const ge={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.publisher&&t.uint32(26).string(e.publisher),void 0!==e.covers&&ee.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",publisher:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.publisher=n.string();continue;case 4:if(34!==e)break;r.covers=ee.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:ye(e.link)?String(e.link):"",name:ye(e.name)?String(e.name):"",publisher:ye(e.publisher)?String(e.publisher):"",covers:ye(e.covers)?ee.fromJSON(e.covers):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.publisher&&(t.publisher=e.publisher),void 0!==e.covers&&(t.covers=ee.toJSON(e.covers)),t},create:e=>ge.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",publisher:"",covers:void 0};return t.link=e.link??"",t.name=e.name??"",t.publisher=e.publisher??"",t.covers=void 0!==e.covers&&null!==e.covers?ee.fromPartial(e.covers):void 0,t}};function Ee(){return{show:void 0,link:"",name:"",length:0,covers:void 0,manifestId:"",description:"",publishDate:BigInt("0"),freezeFrames:void 0,language:"",available:!1,mediaTypeEnum:0,number:0,backgroundable:!1,previewManifestId:"",isExplicit:!1,previewId:"",episodeType:0,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1}}const ve={encode(e,t=i.Writer.create()){void 0!==e.show&&ge.encode(e.show,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),0!==e.length&&t.uint32(32).uint32(e.length),void 0!==e.covers&&ee.encode(e.covers,t.uint32(42).fork()).ldelim(),""!==e.manifestId&&t.uint32(50).string(e.manifestId),""!==e.description&&t.uint32(58).string(e.description),e.publishDate!==BigInt("0")&&t.uint32(64).int64(e.publishDate.toString()),void 0!==e.freezeFrames&&ee.encode(e.freezeFrames,t.uint32(74).fork()).ldelim(),""!==e.language&&t.uint32(82).string(e.language),!0===e.available&&t.uint32(88).bool(e.available),0!==e.mediaTypeEnum&&t.uint32(96).int32(e.mediaTypeEnum),0!==e.number&&t.uint32(104).int32(e.number),!0===e.backgroundable&&t.uint32(112).bool(e.backgroundable),""!==e.previewManifestId&&t.uint32(122).string(e.previewManifestId),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),""!==e.previewId&&t.uint32(138).string(e.previewId),0!==e.episodeType&&t.uint32(144).int32(e.episodeType),!0===e.isMusicAndTalk&&t.uint32(152).bool(e.isMusicAndTalk);for(const n of e.extension)le.encode(n,t.uint32(178).fork()).ldelim();return!0===e.is19PlusOnly&&t.uint32(184).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(192).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(200).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(208).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Ee();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.show=ge.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(42!==e)break;r.covers=ee.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.manifestId=n.string();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(64!==e)break;r.publishDate=(a=n.int64(),BigInt(a.toString()));continue;case 9:if(74!==e)break;r.freezeFrames=ee.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.language=n.string();continue;case 11:if(88!==e)break;r.available=n.bool();continue;case 12:if(96!==e)break;r.mediaTypeEnum=n.int32();continue;case 13:if(104!==e)break;r.number=n.int32();continue;case 14:if(112!==e)break;r.backgroundable=n.bool();continue;case 15:if(122!==e)break;r.previewManifestId=n.string();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(138!==e)break;r.previewId=n.string();continue;case 18:if(144!==e)break;r.episodeType=n.int32();continue;case 19:if(152!==e)break;r.isMusicAndTalk=n.bool();continue;case 22:if(178!==e)break;r.extension.push(le.decode(n,n.uint32()));continue;case 23:if(184!==e)break;r.is19PlusOnly=n.bool();continue;case 24:if(192!==e)break;r.isBookChapter=n.bool();continue;case 25:if(200!==e)break;r.isPodcastShort=n.bool();continue;case 26:if(208!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({show:ye(e.show)?ge.fromJSON(e.show):void 0,link:ye(e.link)?String(e.link):"",name:ye(e.name)?String(e.name):"",length:ye(e.length)?Number(e.length):0,covers:ye(e.covers)?ee.fromJSON(e.covers):void 0,manifestId:ye(e.manifestId)?String(e.manifestId):"",description:ye(e.description)?String(e.description):"",publishDate:ye(e.publishDate)?BigInt(e.publishDate):BigInt("0"),freezeFrames:ye(e.freezeFrames)?ee.fromJSON(e.freezeFrames):void 0,language:ye(e.language)?String(e.language):"",available:!!ye(e.available)&&Boolean(e.available),mediaTypeEnum:ye(e.mediaTypeEnum)?_e(e.mediaTypeEnum):0,number:ye(e.number)?Number(e.number):0,backgroundable:!!ye(e.backgroundable)&&Boolean(e.backgroundable),previewManifestId:ye(e.previewManifestId)?String(e.previewManifestId):"",isExplicit:!!ye(e.isExplicit)&&Boolean(e.isExplicit),previewId:ye(e.previewId)?String(e.previewId):"",episodeType:ye(e.episodeType)?me(e.episodeType):0,isMusicAndTalk:!!ye(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>le.fromJSON(e))):[],is19PlusOnly:!!ye(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!ye(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!ye(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!ye(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return void 0!==e.show&&(t.show=ge.toJSON(e.show)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.covers&&(t.covers=ee.toJSON(e.covers)),""!==e.manifestId&&(t.manifestId=e.manifestId),""!==e.description&&(t.description=e.description),e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),void 0!==e.freezeFrames&&(t.freezeFrames=ee.toJSON(e.freezeFrames)),""!==e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=function(e){switch(e){case fe.VODCAST:return"VODCAST";case fe.AUDIO:return"AUDIO";case fe.VIDEO:return"VIDEO";case fe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.mediaTypeEnum)),0!==e.number&&(t.number=Math.round(e.number)),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),""!==e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),0!==e.episodeType&&(t.episodeType=function(e){switch(e){case he.UNKNOWN:return"UNKNOWN";case he.FULL:return"FULL";case he.TRAILER:return"TRAILER";case he.BONUS:return"BONUS";case he.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.episodeType)),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>le.toJSON(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>ve.fromPartial(e??{}),fromPartial(e){const t=Ee();return t.show=void 0!==e.show&&null!==e.show?ge.fromPartial(e.show):void 0,t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.covers=void 0!==e.covers&&null!==e.covers?ee.fromPartial(e.covers):void 0,t.manifestId=e.manifestId??"",t.description=e.description??"",t.publishDate=e.publishDate??BigInt("0"),t.freezeFrames=void 0!==e.freezeFrames&&null!==e.freezeFrames?ee.fromPartial(e.freezeFrames):void 0,t.language=e.language??"",t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??0,t.number=e.number??0,t.backgroundable=e.backgroundable??!1,t.previewManifestId=e.previewManifestId??"",t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.episodeType=e.episodeType??0,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>le.fromPartial(e)))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function ye(e){return null!=e}i.util.Long!==se&&(i.util.Long=se,i.configure());const be={encode(e,t=i.Writer.create()){""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.description&&t.uint32(26).string(e.description),0!==e.popularity&&t.uint32(32).uint32(e.popularity),""!==e.publisher&&t.uint32(42).string(e.publisher),""!==e.language&&t.uint32(50).string(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),void 0!==e.covers&&ee.encode(e.covers,t.uint32(66).fork()).ldelim(),0!==e.numEpisodes&&t.uint32(72).uint32(e.numEpisodes),""!==e.consumptionOrder&&t.uint32(82).string(e.consumptionOrder),0!==e.mediaTypeEnum&&t.uint32(88).int32(e.mediaTypeEnum);for(const n of e.copyright)t.uint32(98).string(n);""!==e.trailerUri&&t.uint32(106).string(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk);for(const n of e.extension)le.encode(n,t.uint32(122).fork()).ldelim();return!0===e.isBook&&t.uint32(128).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(136).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",description:"",popularity:0,publisher:"",language:"",isExplicit:!1,covers:void 0,numEpisodes:0,consumptionOrder:"",mediaTypeEnum:0,copyright:[],trailerUri:"",isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.description=n.string();continue;case 4:if(32!==e)break;r.popularity=n.uint32();continue;case 5:if(42!==e)break;r.publisher=n.string();continue;case 6:if(50!==e)break;r.language=n.string();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(66!==e)break;r.covers=ee.decode(n,n.uint32());continue;case 9:if(72!==e)break;r.numEpisodes=n.uint32();continue;case 10:if(82!==e)break;r.consumptionOrder=n.string();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.int32();continue;case 12:if(98!==e)break;r.copyright.push(n.string());continue;case 13:if(106!==e)break;r.trailerUri=n.string();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 15:if(122!==e)break;r.extension.push(le.decode(n,n.uint32()));continue;case 16:if(128!==e)break;r.isBook=n.bool();continue;case 17:if(136!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Se(e.link)?String(e.link):"",name:Se(e.name)?String(e.name):"",description:Se(e.description)?String(e.description):"",popularity:Se(e.popularity)?Number(e.popularity):0,publisher:Se(e.publisher)?String(e.publisher):"",language:Se(e.language)?String(e.language):"",isExplicit:!!Se(e.isExplicit)&&Boolean(e.isExplicit),covers:Se(e.covers)?ee.fromJSON(e.covers):void 0,numEpisodes:Se(e.numEpisodes)?Number(e.numEpisodes):0,consumptionOrder:Se(e.consumptionOrder)?String(e.consumptionOrder):"",mediaTypeEnum:Se(e.mediaTypeEnum)?Number(e.mediaTypeEnum):0,copyright:Array.isArray(e?.copyright)?e.copyright.map((e=>String(e))):[],trailerUri:Se(e.trailerUri)?String(e.trailerUri):"",isMusicAndTalk:!!Se(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>le.fromJSON(e))):[],isBook:!!Se(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!Se(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.description&&(t.description=e.description),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),""!==e.publisher&&(t.publisher=e.publisher),""!==e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),void 0!==e.covers&&(t.covers=ee.toJSON(e.covers)),0!==e.numEpisodes&&(t.numEpisodes=Math.round(e.numEpisodes)),""!==e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=Math.round(e.mediaTypeEnum)),e.copyright?.length&&(t.copyright=e.copyright),""!==e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>le.toJSON(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>be.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",description:"",popularity:0,publisher:"",language:"",isExplicit:!1,covers:void 0,numEpisodes:0,consumptionOrder:"",mediaTypeEnum:0,copyright:[],trailerUri:"",isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??"",t.name=e.name??"",t.description=e.description??"",t.popularity=e.popularity??0,t.publisher=e.publisher??"",t.language=e.language??"",t.isExplicit=e.isExplicit??!1,t.covers=void 0!==e.covers&&null!==e.covers?ee.fromPartial(e.covers):void 0,t.numEpisodes=e.numEpisodes??0,t.consumptionOrder=e.consumptionOrder??"",t.mediaTypeEnum=e.mediaTypeEnum??0,t.copyright=e.copyright?.map((e=>e))||[],t.trailerUri=e.trailerUri??"",t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>le.fromPartial(e)))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};function Se(e){return null!=e}const Te={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Re(e.link)?String(e.link):"",name:Re(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>Te.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const Ae={encode:(e,t=i.Writer.create())=>(void 0!==e.artist&&Te.encode(e.artist,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),void 0!==e.covers&&ee.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artist:void 0,link:"",name:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artist=Te.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(34!==e)break;r.covers=ee.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artist:Re(e.artist)?Te.fromJSON(e.artist):void 0,link:Re(e.link)?String(e.link):"",name:Re(e.name)?String(e.name):"",covers:Re(e.covers)?ee.fromJSON(e.covers):void 0}),toJSON(e){const t={};return void 0!==e.artist&&(t.artist=Te.toJSON(e.artist)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.covers&&(t.covers=ee.toJSON(e.covers)),t},create:e=>Ae.fromPartial(e??{}),fromPartial(e){const t={artist:void 0,link:"",name:"",covers:void 0};return t.artist=void 0!==e.artist&&null!==e.artist?Te.fromPartial(e.artist):void 0,t.link=e.link??"",t.name=e.name??"",t.covers=void 0!==e.covers&&null!==e.covers?ee.fromPartial(e.covers):void 0,t}};const Ie={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.portraits&&ee.encode(e.portraits,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",portraits:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.portraits=ee.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Re(e.link)?String(e.link):"",name:Re(e.name)?String(e.name):"",portraits:Re(e.portraits)?ee.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.portraits&&(t.portraits=ee.toJSON(e.portraits)),t},create:e=>Ie.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.portraits=void 0!==e.portraits&&null!==e.portraits?ee.fromPartial(e.portraits):void 0,t}};const Oe={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:Re(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),t},create:e=>Oe.fromPartial(e??{}),fromPartial(e){const t={name:""};return t.name=e.name??"",t}};const Ce={encode(e,t=i.Writer.create()){void 0!==e.album&&Ae.encode(e.album,t.uint32(10).fork()).ldelim();for(const n of e.artist)Ie.encode(n,t.uint32(18).fork()).ldelim();""!==e.link&&t.uint32(26).string(e.link),""!==e.name&&t.uint32(34).string(e.name),0!==e.length&&t.uint32(40).uint32(e.length),!0===e.playable&&t.uint32(48).bool(e.playable),0!==e.discNumber&&t.uint32(56).uint32(e.discNumber),0!==e.trackNumber&&t.uint32(64).uint32(e.trackNumber),!0===e.isExplicit&&t.uint32(72).bool(e.isExplicit),""!==e.previewId&&t.uint32(82).string(e.previewId),!0===e.isLocal&&t.uint32(88).bool(e.isLocal),!0===e.playableLocalTrack&&t.uint32(96).bool(e.playableLocalTrack),!0===e.hasLyrics&&t.uint32(104).bool(e.hasLyrics),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.locallyPlayable&&t.uint32(120).bool(e.locallyPlayable),""!==e.playableTrackLink&&t.uint32(130).string(e.playableTrackLink),0!==e.popularity&&t.uint32(136).uint32(e.popularity),!0===e.is19PlusOnly&&t.uint32(144).bool(e.is19PlusOnly);for(const n of e.trackDescriptors)Oe.encode(n,t.uint32(154).fork()).ldelim();for(const n of e.extension)le.encode(n,t.uint32(162).fork()).ldelim();return!0===e.isCurated&&t.uint32(168).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=Ae.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist.push(Ie.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.link=n.string();continue;case 4:if(34!==e)break;r.name=n.string();continue;case 5:if(40!==e)break;r.length=n.uint32();continue;case 6:if(48!==e)break;r.playable=n.bool();continue;case 7:if(56!==e)break;r.discNumber=n.uint32();continue;case 8:if(64!==e)break;r.trackNumber=n.uint32();continue;case 9:if(72!==e)break;r.isExplicit=n.bool();continue;case 10:if(82!==e)break;r.previewId=n.string();continue;case 11:if(88!==e)break;r.isLocal=n.bool();continue;case 12:if(96!==e)break;r.playableLocalTrack=n.bool();continue;case 13:if(104!==e)break;r.hasLyrics=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.locallyPlayable=n.bool();continue;case 16:if(130!==e)break;r.playableTrackLink=n.string();continue;case 17:if(136!==e)break;r.popularity=n.uint32();continue;case 18:if(144!==e)break;r.is19PlusOnly=n.bool();continue;case 19:if(154!==e)break;r.trackDescriptors.push(Oe.decode(n,n.uint32()));continue;case 20:if(162!==e)break;r.extension.push(le.decode(n,n.uint32()));continue;case 21:if(168!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:Re(e.album)?Ae.fromJSON(e.album):void 0,artist:Array.isArray(e?.artist)?e.artist.map((e=>Ie.fromJSON(e))):[],link:Re(e.link)?String(e.link):"",name:Re(e.name)?String(e.name):"",length:Re(e.length)?Number(e.length):0,playable:!!Re(e.playable)&&Boolean(e.playable),discNumber:Re(e.discNumber)?Number(e.discNumber):0,trackNumber:Re(e.trackNumber)?Number(e.trackNumber):0,isExplicit:!!Re(e.isExplicit)&&Boolean(e.isExplicit),previewId:Re(e.previewId)?String(e.previewId):"",isLocal:!!Re(e.isLocal)&&Boolean(e.isLocal),playableLocalTrack:!!Re(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),hasLyrics:!!Re(e.hasLyrics)&&Boolean(e.hasLyrics),isPremiumOnly:!!Re(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),locallyPlayable:!!Re(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableTrackLink:Re(e.playableTrackLink)?String(e.playableTrackLink):"",popularity:Re(e.popularity)?Number(e.popularity):0,is19PlusOnly:!!Re(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:Array.isArray(e?.trackDescriptors)?e.trackDescriptors.map((e=>Oe.fromJSON(e))):[],extension:Array.isArray(e?.extension)?e.extension.map((e=>le.fromJSON(e))):[],isCurated:!!Re(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!Re(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return void 0!==e.album&&(t.album=Ae.toJSON(e.album)),e.artist?.length&&(t.artist=e.artist.map((e=>Ie.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),!0===e.playable&&(t.playable=e.playable),0!==e.discNumber&&(t.discNumber=Math.round(e.discNumber)),0!==e.trackNumber&&(t.trackNumber=Math.round(e.trackNumber)),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),""!==e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),e.trackDescriptors?.length&&(t.trackDescriptors=e.trackDescriptors.map((e=>Oe.toJSON(e)))),e.extension?.length&&(t.extension=e.extension.map((e=>le.toJSON(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>Ce.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};return t.album=void 0!==e.album&&null!==e.album?Ae.fromPartial(e.album):void 0,t.artist=e.artist?.map((e=>Ie.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.playable=e.playable??!1,t.discNumber=e.discNumber??0,t.trackNumber=e.trackNumber??0,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.isLocal=e.isLocal??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.hasLyrics=e.hasLyrics??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableTrackLink=e.playableTrackLink??"",t.popularity=e.popularity??0,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors?.map((e=>Oe.fromPartial(e)))||[],t.extension=e.extension?.map((e=>le.fromPartial(e)))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function Re(e){return null!=e}var Ne;function Pe(e){switch(e){case 0:case"UNKNOWN":return Ne.UNKNOWN;case 1:case"NO_RESTRICTION":return Ne.NO_RESTRICTION;case 2:case"EXPLICIT_CONTENT":return Ne.EXPLICIT_CONTENT;case 3:case"AGE_RESTRICTED":return Ne.AGE_RESTRICTED;case 4:case"NOT_IN_CATALOGUE":return Ne.NOT_IN_CATALOGUE;case 5:case"NOT_AVAILABLE_OFFLINE":return Ne.NOT_AVAILABLE_OFFLINE;default:return Ne.UNRECOGNIZED}}function Le(e){switch(e){case Ne.UNKNOWN:return"UNKNOWN";case Ne.NO_RESTRICTION:return"NO_RESTRICTION";case Ne.EXPLICIT_CONTENT:return"EXPLICIT_CONTENT";case Ne.AGE_RESTRICTED:return"AGE_RESTRICTED";case Ne.NOT_IN_CATALOGUE:return"NOT_IN_CATALOGUE";case Ne.NOT_AVAILABLE_OFFLINE:return"NOT_AVAILABLE_OFFLINE";case Ne.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NO_RESTRICTION=1]="NO_RESTRICTION",e[e.EXPLICIT_CONTENT=2]="EXPLICIT_CONTENT",e[e.AGE_RESTRICTED=3]="AGE_RESTRICTED",e[e.NOT_IN_CATALOGUE=4]="NOT_IN_CATALOGUE",e[e.NOT_AVAILABLE_OFFLINE=5]="NOT_AVAILABLE_OFFLINE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ne||(Ne={}));const ke={encode:(e,t=i.Writer.create())=>(0!==e.timeLeft&&t.uint32(8).uint32(e.timeLeft),!0===e.isPlayable&&t.uint32(16).bool(e.isPlayable),!0===e.isPlayed&&t.uint32(24).bool(e.isPlayed),0!==e.lastPlayedAt&&t.uint32(32).uint32(e.lastPlayedAt),0!==e.playabilityRestriction&&t.uint32(40).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.uint32();continue;case 2:if(16!==e)break;r.isPlayable=n.bool();continue;case 3:if(24!==e)break;r.isPlayed=n.bool();continue;case 4:if(32!==e)break;r.lastPlayedAt=n.uint32();continue;case 5:if(40!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:we(e.timeLeft)?Number(e.timeLeft):0,isPlayable:!!we(e.isPlayable)&&Boolean(e.isPlayable),isPlayed:!!we(e.isPlayed)&&Boolean(e.isPlayed),lastPlayedAt:we(e.lastPlayedAt)?Number(e.lastPlayedAt):0,playabilityRestriction:we(e.playabilityRestriction)?Pe(e.playabilityRestriction):0}),toJSON(e){const t={};return 0!==e.timeLeft&&(t.timeLeft=Math.round(e.timeLeft)),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),0!==e.lastPlayedAt&&(t.lastPlayedAt=Math.round(e.lastPlayedAt)),0!==e.playabilityRestriction&&(t.playabilityRestriction=Le(e.playabilityRestriction)),t},create:e=>ke.fromPartial(e??{}),fromPartial(e){const t={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};return t.timeLeft=e.timeLeft??0,t.isPlayable=e.isPlayable??!1,t.isPlayed=e.isPlayed??!1,t.lastPlayedAt=e.lastPlayedAt??0,t.playabilityRestriction=e.playabilityRestriction??0,t}};function we(e){return null!=e}var De;function Me(e){switch(e){case 0:case"UNKNOWN_LABEL":return De.UNKNOWN_LABEL;case 1:case"NOT_STARTED":return De.NOT_STARTED;case 2:case"IN_PROGRESS":return De.IN_PROGRESS;case 3:case"COMPLETED":return De.COMPLETED;default:return De.UNRECOGNIZED}}function xe(){return{latestPlayedEpisodeLink:"",playedTime:BigInt("0"),isPlayable:!1,playabilityRestriction:0,label:0,playedPercentage:0,resumeEpisodeLink:""}}!function(e){e[e.UNKNOWN_LABEL=0]="UNKNOWN_LABEL",e[e.NOT_STARTED=1]="NOT_STARTED",e[e.IN_PROGRESS=2]="IN_PROGRESS",e[e.COMPLETED=3]="COMPLETED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(De||(De={}));const Ue={encode:(e,t=i.Writer.create())=>(""!==e.latestPlayedEpisodeLink&&t.uint32(10).string(e.latestPlayedEpisodeLink),e.playedTime!==BigInt("0")&&t.uint32(16).uint64(e.playedTime.toString()),!0===e.isPlayable&&t.uint32(24).bool(e.isPlayable),0!==e.playabilityRestriction&&t.uint32(32).int32(e.playabilityRestriction),0!==e.label&&t.uint32(40).int32(e.label),0!==e.playedPercentage&&t.uint32(48).uint32(e.playedPercentage),""!==e.resumeEpisodeLink&&t.uint32(58).string(e.resumeEpisodeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=xe();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.latestPlayedEpisodeLink=n.string();continue;case 2:if(16!==e)break;r.playedTime=(a=n.uint64(),BigInt(a.toString()));continue;case 3:if(24!==e)break;r.isPlayable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.int32();continue;case 5:if(40!==e)break;r.label=n.int32();continue;case 6:if(48!==e)break;r.playedPercentage=n.uint32();continue;case 7:if(58!==e)break;r.resumeEpisodeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({latestPlayedEpisodeLink:Ve(e.latestPlayedEpisodeLink)?String(e.latestPlayedEpisodeLink):"",playedTime:Ve(e.playedTime)?BigInt(e.playedTime):BigInt("0"),isPlayable:!!Ve(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:Ve(e.playabilityRestriction)?Pe(e.playabilityRestriction):0,label:Ve(e.label)?Me(e.label):0,playedPercentage:Ve(e.playedPercentage)?Number(e.playedPercentage):0,resumeEpisodeLink:Ve(e.resumeEpisodeLink)?String(e.resumeEpisodeLink):""}),toJSON(e){const t={};return""!==e.latestPlayedEpisodeLink&&(t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink),e.playedTime!==BigInt("0")&&(t.playedTime=e.playedTime.toString()),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),0!==e.playabilityRestriction&&(t.playabilityRestriction=Le(e.playabilityRestriction)),0!==e.label&&(t.label=function(e){switch(e){case De.UNKNOWN_LABEL:return"UNKNOWN_LABEL";case De.NOT_STARTED:return"NOT_STARTED";case De.IN_PROGRESS:return"IN_PROGRESS";case De.COMPLETED:return"COMPLETED";case De.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.label)),0!==e.playedPercentage&&(t.playedPercentage=Math.round(e.playedPercentage)),""!==e.resumeEpisodeLink&&(t.resumeEpisodeLink=e.resumeEpisodeLink),t},create:e=>Ue.fromPartial(e??{}),fromPartial(e){const t=xe();return t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink??"",t.playedTime=e.playedTime??BigInt("0"),t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??0,t.label=e.label??0,t.playedPercentage=e.playedPercentage??0,t.resumeEpisodeLink=e.resumeEpisodeLink??"",t}};function Ve(e){return null!=e}i.util.Long!==se&&(i.util.Long=se,i.configure());const Fe={encode:(e,t=i.Writer.create())=>(!0===e.isPlayable&&t.uint32(8).bool(e.isPlayable),0!==e.playabilityRestriction&&t.uint32(16).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isPlayable:!1,playabilityRestriction:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isPlayable=n.bool();continue;case 2:if(16!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isPlayable:!!Be(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:Be(e.playabilityRestriction)?Pe(e.playabilityRestriction):0}),toJSON(e){const t={};return!0===e.isPlayable&&(t.isPlayable=e.isPlayable),0!==e.playabilityRestriction&&(t.playabilityRestriction=Le(e.playabilityRestriction)),t},create:e=>Fe.fromPartial(e??{}),fromPartial(e){const t={isPlayable:!1,playabilityRestriction:0};return t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??0,t}};function Be(e){return null!=e}const He={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.username&&t.uint32(18).string(e.username),""!==e.displayName&&t.uint32(26).string(e.displayName),""!==e.imageUri&&t.uint32(34).string(e.imageUri),""!==e.thumbnailUri&&t.uint32(42).string(e.thumbnailUri),0!==e.color&&t.uint32(48).int32(e.color),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",username:"",displayName:"",imageUri:"",thumbnailUri:"",color:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.username=n.string();continue;case 3:if(26!==e)break;r.displayName=n.string();continue;case 4:if(34!==e)break;r.imageUri=n.string();continue;case 5:if(42!==e)break;r.thumbnailUri=n.string();continue;case 6:if(48!==e)break;r.color=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Ge(e.link)?String(e.link):"",username:Ge(e.username)?String(e.username):"",displayName:Ge(e.displayName)?String(e.displayName):"",imageUri:Ge(e.imageUri)?String(e.imageUri):"",thumbnailUri:Ge(e.thumbnailUri)?String(e.thumbnailUri):"",color:Ge(e.color)?Number(e.color):0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.username&&(t.username=e.username),""!==e.displayName&&(t.displayName=e.displayName),""!==e.imageUri&&(t.imageUri=e.imageUri),""!==e.thumbnailUri&&(t.thumbnailUri=e.thumbnailUri),0!==e.color&&(t.color=Math.round(e.color)),t},create:e=>He.fromPartial(e??{}),fromPartial(e){const t={link:"",username:"",displayName:"",imageUri:"",thumbnailUri:"",color:0};return t.link=e.link??"",t.username=e.username??"",t.displayName=e.displayName??"",t.imageUri=e.imageUri??"",t.thumbnailUri=e.thumbnailUri??"",t.color=e.color??0,t}};function Ge(e){return null!=e}const We={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Ke(e.key)?String(e.key):"",value:Ke(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>We.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const je={encode:(e,t=i.Writer.create())=>(!0===e.canInsert&&t.uint32(8).bool(e.canInsert),!0===e.canRemove&&t.uint32(16).bool(e.canRemove),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={canInsert:!1,canRemove:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.canInsert=n.bool();continue;case 2:if(16!==e)break;r.canRemove=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({canInsert:!!Ke(e.canInsert)&&Boolean(e.canInsert),canRemove:!!Ke(e.canRemove)&&Boolean(e.canRemove)}),toJSON(e){const t={};return!0===e.canInsert&&(t.canInsert=e.canInsert),!0===e.canRemove&&(t.canRemove=e.canRemove),t},create:e=>je.fromPartial(e??{}),fromPartial(e){const t={canInsert:!1,canRemove:!1};return t.canInsert=e.canInsert??!1,t.canRemove=e.canRemove??!1,t}};const Ye={encode(e,t=i.Writer.create()){""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.owner&&He.encode(e.owner,t.uint32(26).fork()).ldelim(),!0===e.ownedBySelf&&t.uint32(32).bool(e.ownedBySelf),!0===e.collaborative&&t.uint32(40).bool(e.collaborative),0!==e.totalLength&&t.uint32(48).uint32(e.totalLength),""!==e.description&&t.uint32(58).string(e.description),void 0!==e.pictures&&ee.encode(e.pictures,t.uint32(66).fork()).ldelim(),!0===e.followed&&t.uint32(72).bool(e.followed),!0===e.published&&t.uint32(80).bool(e.published),!0===e.browsableOffline&&t.uint32(88).bool(e.browsableOffline),!0===e.descriptionFromAnnotate&&t.uint32(96).bool(e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&t.uint32(104).bool(e.pictureFromAnnotate),""!==e.formatListType&&t.uint32(114).string(e.formatListType);for(const n of e.formatListAttributes)We.encode(n,t.uint32(122).fork()).ldelim();!0===e.canReportAnnotationAbuse&&t.uint32(128).bool(e.canReportAnnotationAbuse),!0===e.isLoaded&&t.uint32(136).bool(e.isLoaded),void 0!==e.allows&&je.encode(e.allows,t.uint32(146).fork()).ldelim(),""!==e.loadState&&t.uint32(154).string(e.loadState),void 0!==e.madeFor&&He.encode(e.madeFor,t.uint32(162).fork()).ldelim();for(const n of e.extension)le.encode(n,t.uint32(170).fork()).ldelim();return 0!==e.lengthIgnoringTextFilter&&t.uint32(176).uint32(e.lengthIgnoringTextFilter),""!==e.aiCurationReferenceId&&t.uint32(186).string(e.aiCurationReferenceId),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",owner:void 0,ownedBySelf:!1,collaborative:!1,totalLength:0,description:"",pictures:void 0,followed:!1,published:!1,browsableOffline:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,formatListType:"",formatListAttributes:[],canReportAnnotationAbuse:!1,isLoaded:!1,allows:void 0,loadState:"",madeFor:void 0,extension:[],lengthIgnoringTextFilter:0,aiCurationReferenceId:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.owner=He.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.ownedBySelf=n.bool();continue;case 5:if(40!==e)break;r.collaborative=n.bool();continue;case 6:if(48!==e)break;r.totalLength=n.uint32();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(66!==e)break;r.pictures=ee.decode(n,n.uint32());continue;case 9:if(72!==e)break;r.followed=n.bool();continue;case 10:if(80!==e)break;r.published=n.bool();continue;case 11:if(88!==e)break;r.browsableOffline=n.bool();continue;case 12:if(96!==e)break;r.descriptionFromAnnotate=n.bool();continue;case 13:if(104!==e)break;r.pictureFromAnnotate=n.bool();continue;case 14:if(114!==e)break;r.formatListType=n.string();continue;case 15:if(122!==e)break;r.formatListAttributes.push(We.decode(n,n.uint32()));continue;case 16:if(128!==e)break;r.canReportAnnotationAbuse=n.bool();continue;case 17:if(136!==e)break;r.isLoaded=n.bool();continue;case 18:if(146!==e)break;r.allows=je.decode(n,n.uint32());continue;case 19:if(154!==e)break;r.loadState=n.string();continue;case 20:if(162!==e)break;r.madeFor=He.decode(n,n.uint32());continue;case 21:if(170!==e)break;r.extension.push(le.decode(n,n.uint32()));continue;case 22:if(176!==e)break;r.lengthIgnoringTextFilter=n.uint32();continue;case 23:if(186!==e)break;r.aiCurationReferenceId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:Ke(e.link)?String(e.link):"",name:Ke(e.name)?String(e.name):"",owner:Ke(e.owner)?He.fromJSON(e.owner):void 0,ownedBySelf:!!Ke(e.ownedBySelf)&&Boolean(e.ownedBySelf),collaborative:!!Ke(e.collaborative)&&Boolean(e.collaborative),totalLength:Ke(e.totalLength)?Number(e.totalLength):0,description:Ke(e.description)?String(e.description):"",pictures:Ke(e.pictures)?ee.fromJSON(e.pictures):void 0,followed:!!Ke(e.followed)&&Boolean(e.followed),published:!!Ke(e.published)&&Boolean(e.published),browsableOffline:!!Ke(e.browsableOffline)&&Boolean(e.browsableOffline),descriptionFromAnnotate:!!Ke(e.descriptionFromAnnotate)&&Boolean(e.descriptionFromAnnotate),pictureFromAnnotate:!!Ke(e.pictureFromAnnotate)&&Boolean(e.pictureFromAnnotate),formatListType:Ke(e.formatListType)?String(e.formatListType):"",formatListAttributes:Array.isArray(e?.formatListAttributes)?e.formatListAttributes.map((e=>We.fromJSON(e))):[],canReportAnnotationAbuse:!!Ke(e.canReportAnnotationAbuse)&&Boolean(e.canReportAnnotationAbuse),isLoaded:!!Ke(e.isLoaded)&&Boolean(e.isLoaded),allows:Ke(e.allows)?je.fromJSON(e.allows):void 0,loadState:Ke(e.loadState)?String(e.loadState):"",madeFor:Ke(e.madeFor)?He.fromJSON(e.madeFor):void 0,extension:Array.isArray(e?.extension)?e.extension.map((e=>le.fromJSON(e))):[],lengthIgnoringTextFilter:Ke(e.lengthIgnoringTextFilter)?Number(e.lengthIgnoringTextFilter):0,aiCurationReferenceId:Ke(e.aiCurationReferenceId)?String(e.aiCurationReferenceId):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.owner&&(t.owner=He.toJSON(e.owner)),!0===e.ownedBySelf&&(t.ownedBySelf=e.ownedBySelf),!0===e.collaborative&&(t.collaborative=e.collaborative),0!==e.totalLength&&(t.totalLength=Math.round(e.totalLength)),""!==e.description&&(t.description=e.description),void 0!==e.pictures&&(t.pictures=ee.toJSON(e.pictures)),!0===e.followed&&(t.followed=e.followed),!0===e.published&&(t.published=e.published),!0===e.browsableOffline&&(t.browsableOffline=e.browsableOffline),!0===e.descriptionFromAnnotate&&(t.descriptionFromAnnotate=e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&(t.pictureFromAnnotate=e.pictureFromAnnotate),""!==e.formatListType&&(t.formatListType=e.formatListType),e.formatListAttributes?.length&&(t.formatListAttributes=e.formatListAttributes.map((e=>We.toJSON(e)))),!0===e.canReportAnnotationAbuse&&(t.canReportAnnotationAbuse=e.canReportAnnotationAbuse),!0===e.isLoaded&&(t.isLoaded=e.isLoaded),void 0!==e.allows&&(t.allows=je.toJSON(e.allows)),""!==e.loadState&&(t.loadState=e.loadState),void 0!==e.madeFor&&(t.madeFor=He.toJSON(e.madeFor)),e.extension?.length&&(t.extension=e.extension.map((e=>le.toJSON(e)))),0!==e.lengthIgnoringTextFilter&&(t.lengthIgnoringTextFilter=Math.round(e.lengthIgnoringTextFilter)),""!==e.aiCurationReferenceId&&(t.aiCurationReferenceId=e.aiCurationReferenceId),t},create:e=>Ye.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",owner:void 0,ownedBySelf:!1,collaborative:!1,totalLength:0,description:"",pictures:void 0,followed:!1,published:!1,browsableOffline:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,formatListType:"",formatListAttributes:[],canReportAnnotationAbuse:!1,isLoaded:!1,allows:void 0,loadState:"",madeFor:void 0,extension:[],lengthIgnoringTextFilter:0,aiCurationReferenceId:""};return t.link=e.link??"",t.name=e.name??"",t.owner=void 0!==e.owner&&null!==e.owner?He.fromPartial(e.owner):void 0,t.ownedBySelf=e.ownedBySelf??!1,t.collaborative=e.collaborative??!1,t.totalLength=e.totalLength??0,t.description=e.description??"",t.pictures=void 0!==e.pictures&&null!==e.pictures?ee.fromPartial(e.pictures):void 0,t.followed=e.followed??!1,t.published=e.published??!1,t.browsableOffline=e.browsableOffline??!1,t.descriptionFromAnnotate=e.descriptionFromAnnotate??!1,t.pictureFromAnnotate=e.pictureFromAnnotate??!1,t.formatListType=e.formatListType??"",t.formatListAttributes=e.formatListAttributes?.map((e=>We.fromPartial(e)))||[],t.canReportAnnotationAbuse=e.canReportAnnotationAbuse??!1,t.isLoaded=e.isLoaded??!1,t.allows=void 0!==e.allows&&null!==e.allows?je.fromPartial(e.allows):void 0,t.loadState=e.loadState??"",t.madeFor=void 0!==e.madeFor&&null!==e.madeFor?He.fromPartial(e.madeFor):void 0,t.extension=e.extension?.map((e=>le.fromPartial(e)))||[],t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter??0,t.aiCurationReferenceId=e.aiCurationReferenceId??"",t}};const ze={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:Ke(e.offline)?String(e.offline):"",syncProgress:Ke(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>ze.fromPartial(e??{}),fromPartial(e){const t={offline:"",syncProgress:0};return t.offline=e.offline??"",t.syncProgress=e.syncProgress??0,t}};function Ke(e){return null!=e}const Je={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),""!==e.inferredOffline&&t.uint32(18).string(e.inferredOffline),0!==e.syncProgress&&t.uint32(24).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",inferredOffline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(18!==e)break;r.inferredOffline=n.string();continue;case 3:if(24!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:qe(e.offline)?String(e.offline):"",inferredOffline:qe(e.inferredOffline)?String(e.inferredOffline):"",syncProgress:qe(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),""!==e.inferredOffline&&(t.inferredOffline=e.inferredOffline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Je.fromPartial(e??{}),fromPartial(e){const t={offline:"",inferredOffline:"",syncProgress:0};return t.offline=e.offline??"",t.inferredOffline=e.inferredOffline??"",t.syncProgress=e.syncProgress??0,t}};function qe(e){return null!=e}const Xe={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),""!==e.inferredOffline&&t.uint32(18).string(e.inferredOffline),0!==e.syncProgress&&t.uint32(24).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",inferredOffline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(18!==e)break;r.inferredOffline=n.string();continue;case 3:if(24!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:$e(e.offline)?String(e.offline):"",inferredOffline:$e(e.inferredOffline)?String(e.inferredOffline):"",syncProgress:$e(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),""!==e.inferredOffline&&(t.inferredOffline=e.inferredOffline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Xe.fromPartial(e??{}),fromPartial(e){const t={offline:"",inferredOffline:"",syncProgress:0};return t.offline=e.offline??"",t.inferredOffline=e.inferredOffline??"",t.syncProgress=e.syncProgress??0,t}};function $e(e){return null!=e}const Ze={encode:(e,t=i.Writer.create())=>(""!==e.offlineState&&t.uint32(10).string(e.offlineState),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offlineState:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offlineState=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:Qe(e.offlineState)?String(e.offlineState):"",syncProgress:Qe(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offlineState&&(t.offlineState=e.offlineState),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Ze.fromPartial(e??{}),fromPartial(e){const t={offlineState:"",syncProgress:0};return t.offlineState=e.offlineState??"",t.syncProgress=e.syncProgress??0,t}};function Qe(e){return null!=e}const et={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:tt(e.offline)?String(e.offline):"",syncProgress:tt(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>et.fromPartial(e??{}),fromPartial(e){const t={offline:"",syncProgress:0};return t.offline=e.offline??"",t.syncProgress=e.syncProgress??0,t}};function tt(e){return null!=e}const nt={encode:(e,t=i.Writer.create())=>(void 0!==e.artistMetadata&&re.encode(e.artistMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.artistCollectionState&&K.encode(e.artistCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.artistSyncState&&Xe.encode(e.artistSyncState,t.uint32(26).fork()).ldelim(),0!==e.type&&t.uint32(32).uint32(e.type),0!==e.addTime&&t.uint32(40).uint32(e.addTime),""!==e.typeStr&&t.uint32(50).string(e.typeStr),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artistMetadata:void 0,artistCollectionState:void 0,artistSyncState:void 0,type:0,addTime:0,typeStr:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artistMetadata=re.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artistCollectionState=K.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.artistSyncState=Xe.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.type=n.uint32();continue;case 5:if(40!==e)break;r.addTime=n.uint32();continue;case 6:if(50!==e)break;r.typeStr=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artistMetadata:ut(e.artistMetadata)?re.fromJSON(e.artistMetadata):void 0,artistCollectionState:ut(e.artistCollectionState)?K.fromJSON(e.artistCollectionState):void 0,artistSyncState:ut(e.artistSyncState)?Xe.fromJSON(e.artistSyncState):void 0,type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,typeStr:ut(e.typeStr)?String(e.typeStr):""}),toJSON(e){const t={};return void 0!==e.artistMetadata&&(t.artistMetadata=re.toJSON(e.artistMetadata)),void 0!==e.artistCollectionState&&(t.artistCollectionState=K.toJSON(e.artistCollectionState)),void 0!==e.artistSyncState&&(t.artistSyncState=Xe.toJSON(e.artistSyncState)),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.typeStr&&(t.typeStr=e.typeStr),t},create:e=>nt.fromPartial(e??{}),fromPartial(e){const t={artistMetadata:void 0,artistCollectionState:void 0,artistSyncState:void 0,type:0,addTime:0,typeStr:""};return t.artistMetadata=void 0!==e.artistMetadata&&null!==e.artistMetadata?re.fromPartial(e.artistMetadata):void 0,t.artistCollectionState=void 0!==e.artistCollectionState&&null!==e.artistCollectionState?K.fromPartial(e.artistCollectionState):void 0,t.artistSyncState=void 0!==e.artistSyncState&&null!==e.artistSyncState?Xe.fromPartial(e.artistSyncState):void 0,t.type=e.type??0,t.addTime=e.addTime??0,t.typeStr=e.typeStr??"",t}};const it={encode:(e,t=i.Writer.create())=>(void 0!==e.albumMetadata&&ie.encode(e.albumMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.albumCollectionState&&Y.encode(e.albumCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.albumSyncState&&Je.encode(e.albumSyncState,t.uint32(26).fork()).ldelim(),!0===e.inCollection&&t.uint32(32).bool(e.inCollection),0!==e.type&&t.uint32(40).uint32(e.type),0!==e.addTime&&t.uint32(48).uint32(e.addTime),""!==e.typeStr&&t.uint32(58).string(e.typeStr),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={albumMetadata:void 0,albumCollectionState:void 0,albumSyncState:void 0,inCollection:!1,type:0,addTime:0,typeStr:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.albumMetadata=ie.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.albumCollectionState=Y.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.albumSyncState=Je.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.inCollection=n.bool();continue;case 5:if(40!==e)break;r.type=n.uint32();continue;case 6:if(48!==e)break;r.addTime=n.uint32();continue;case 7:if(58!==e)break;r.typeStr=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({albumMetadata:ut(e.albumMetadata)?ie.fromJSON(e.albumMetadata):void 0,albumCollectionState:ut(e.albumCollectionState)?Y.fromJSON(e.albumCollectionState):void 0,albumSyncState:ut(e.albumSyncState)?Je.fromJSON(e.albumSyncState):void 0,inCollection:!!ut(e.inCollection)&&Boolean(e.inCollection),type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,typeStr:ut(e.typeStr)?String(e.typeStr):""}),toJSON(e){const t={};return void 0!==e.albumMetadata&&(t.albumMetadata=ie.toJSON(e.albumMetadata)),void 0!==e.albumCollectionState&&(t.albumCollectionState=Y.toJSON(e.albumCollectionState)),void 0!==e.albumSyncState&&(t.albumSyncState=Je.toJSON(e.albumSyncState)),!0===e.inCollection&&(t.inCollection=e.inCollection),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.typeStr&&(t.typeStr=e.typeStr),t},create:e=>it.fromPartial(e??{}),fromPartial(e){const t={albumMetadata:void 0,albumCollectionState:void 0,albumSyncState:void 0,inCollection:!1,type:0,addTime:0,typeStr:""};return t.albumMetadata=void 0!==e.albumMetadata&&null!==e.albumMetadata?ie.fromPartial(e.albumMetadata):void 0,t.albumCollectionState=void 0!==e.albumCollectionState&&null!==e.albumCollectionState?Y.fromPartial(e.albumCollectionState):void 0,t.albumSyncState=void 0!==e.albumSyncState&&null!==e.albumSyncState?Je.fromPartial(e.albumSyncState):void 0,t.inCollection=e.inCollection??!1,t.type=e.type??0,t.addTime=e.addTime??0,t.typeStr=e.typeStr??"",t}};const ot={encode:(e,t=i.Writer.create())=>(void 0!==e.trackMetadata&&Ce.encode(e.trackMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.trackCollectionState&&Z.encode(e.trackCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.trackPlayState&&Fe.encode(e.trackPlayState,t.uint32(26).fork()).ldelim(),void 0!==e.trackSyncState&&et.encode(e.trackSyncState,t.uint32(34).fork()).ldelim(),0!==e.type&&t.uint32(40).uint32(e.type),0!==e.addTime&&t.uint32(48).uint32(e.addTime),""!==e.typeStr&&t.uint32(58).string(e.typeStr),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={trackMetadata:void 0,trackCollectionState:void 0,trackPlayState:void 0,trackSyncState:void 0,type:0,addTime:0,typeStr:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.trackMetadata=Ce.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.trackCollectionState=Z.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackPlayState=Fe.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.trackSyncState=et.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.type=n.uint32();continue;case 6:if(48!==e)break;r.addTime=n.uint32();continue;case 7:if(58!==e)break;r.typeStr=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({trackMetadata:ut(e.trackMetadata)?Ce.fromJSON(e.trackMetadata):void 0,trackCollectionState:ut(e.trackCollectionState)?Z.fromJSON(e.trackCollectionState):void 0,trackPlayState:ut(e.trackPlayState)?Fe.fromJSON(e.trackPlayState):void 0,trackSyncState:ut(e.trackSyncState)?et.fromJSON(e.trackSyncState):void 0,type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,typeStr:ut(e.typeStr)?String(e.typeStr):""}),toJSON(e){const t={};return void 0!==e.trackMetadata&&(t.trackMetadata=Ce.toJSON(e.trackMetadata)),void 0!==e.trackCollectionState&&(t.trackCollectionState=Z.toJSON(e.trackCollectionState)),void 0!==e.trackPlayState&&(t.trackPlayState=Fe.toJSON(e.trackPlayState)),void 0!==e.trackSyncState&&(t.trackSyncState=et.toJSON(e.trackSyncState)),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.typeStr&&(t.typeStr=e.typeStr),t},create:e=>ot.fromPartial(e??{}),fromPartial(e){const t={trackMetadata:void 0,trackCollectionState:void 0,trackPlayState:void 0,trackSyncState:void 0,type:0,addTime:0,typeStr:""};return t.trackMetadata=void 0!==e.trackMetadata&&null!==e.trackMetadata?Ce.fromPartial(e.trackMetadata):void 0,t.trackCollectionState=void 0!==e.trackCollectionState&&null!==e.trackCollectionState?Z.fromPartial(e.trackCollectionState):void 0,t.trackPlayState=void 0!==e.trackPlayState&&null!==e.trackPlayState?Fe.fromPartial(e.trackPlayState):void 0,t.trackSyncState=void 0!==e.trackSyncState&&null!==e.trackSyncState?et.fromPartial(e.trackSyncState):void 0,t.type=e.type??0,t.addTime=e.addTime??0,t.typeStr=e.typeStr??"",t}};const rt={encode:(e,t=i.Writer.create())=>(void 0!==e.showMetadata&&be.encode(e.showMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.showCollectionState&&$.encode(e.showCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.showPlayState&&Ue.encode(e.showPlayState,t.uint32(26).fork()).ldelim(),0!==e.type&&t.uint32(32).uint32(e.type),0!==e.addTime&&t.uint32(40).uint32(e.addTime),""!==e.typeStr&&t.uint32(50).string(e.typeStr),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,type:0,addTime:0,typeStr:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showMetadata=be.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.showCollectionState=$.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.showPlayState=Ue.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.type=n.uint32();continue;case 5:if(40!==e)break;r.addTime=n.uint32();continue;case 6:if(50!==e)break;r.typeStr=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showMetadata:ut(e.showMetadata)?be.fromJSON(e.showMetadata):void 0,showCollectionState:ut(e.showCollectionState)?$.fromJSON(e.showCollectionState):void 0,showPlayState:ut(e.showPlayState)?Ue.fromJSON(e.showPlayState):void 0,type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,typeStr:ut(e.typeStr)?String(e.typeStr):""}),toJSON(e){const t={};return void 0!==e.showMetadata&&(t.showMetadata=be.toJSON(e.showMetadata)),void 0!==e.showCollectionState&&(t.showCollectionState=$.toJSON(e.showCollectionState)),void 0!==e.showPlayState&&(t.showPlayState=Ue.toJSON(e.showPlayState)),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.typeStr&&(t.typeStr=e.typeStr),t},create:e=>rt.fromPartial(e??{}),fromPartial(e){const t={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,type:0,addTime:0,typeStr:""};return t.showMetadata=void 0!==e.showMetadata&&null!==e.showMetadata?be.fromPartial(e.showMetadata):void 0,t.showCollectionState=void 0!==e.showCollectionState&&null!==e.showCollectionState?$.fromPartial(e.showCollectionState):void 0,t.showPlayState=void 0!==e.showPlayState&&null!==e.showPlayState?Ue.fromPartial(e.showPlayState):void 0,t.type=e.type??0,t.addTime=e.addTime??0,t.typeStr=e.typeStr??"",t}};const at={encode:(e,t=i.Writer.create())=>(void 0!==e.episodeMetadata&&ve.encode(e.episodeMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.episodeCollectionState&&q.encode(e.episodeCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.episodeOfflineState&&Ze.encode(e.episodeOfflineState,t.uint32(26).fork()).ldelim(),void 0!==e.episodePlayState&&ke.encode(e.episodePlayState,t.uint32(34).fork()).ldelim(),0!==e.type&&t.uint32(40).uint32(e.type),0!==e.addTime&&t.uint32(48).uint32(e.addTime),void 0!==e.showMetadata&&be.encode(e.showMetadata,t.uint32(58).fork()).ldelim(),""!==e.typeStr&&t.uint32(66).string(e.typeStr),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,type:0,addTime:0,showMetadata:void 0,typeStr:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodeMetadata=ve.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.episodeCollectionState=q.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episodeOfflineState=Ze.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodePlayState=ke.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.type=n.uint32();continue;case 6:if(48!==e)break;r.addTime=n.uint32();continue;case 7:if(58!==e)break;r.showMetadata=be.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.typeStr=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodeMetadata:ut(e.episodeMetadata)?ve.fromJSON(e.episodeMetadata):void 0,episodeCollectionState:ut(e.episodeCollectionState)?q.fromJSON(e.episodeCollectionState):void 0,episodeOfflineState:ut(e.episodeOfflineState)?Ze.fromJSON(e.episodeOfflineState):void 0,episodePlayState:ut(e.episodePlayState)?ke.fromJSON(e.episodePlayState):void 0,type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,showMetadata:ut(e.showMetadata)?be.fromJSON(e.showMetadata):void 0,typeStr:ut(e.typeStr)?String(e.typeStr):""}),toJSON(e){const t={};return void 0!==e.episodeMetadata&&(t.episodeMetadata=ve.toJSON(e.episodeMetadata)),void 0!==e.episodeCollectionState&&(t.episodeCollectionState=q.toJSON(e.episodeCollectionState)),void 0!==e.episodeOfflineState&&(t.episodeOfflineState=Ze.toJSON(e.episodeOfflineState)),void 0!==e.episodePlayState&&(t.episodePlayState=ke.toJSON(e.episodePlayState)),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),void 0!==e.showMetadata&&(t.showMetadata=be.toJSON(e.showMetadata)),""!==e.typeStr&&(t.typeStr=e.typeStr),t},create:e=>at.fromPartial(e??{}),fromPartial(e){const t={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,type:0,addTime:0,showMetadata:void 0,typeStr:""};return t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?ve.fromPartial(e.episodeMetadata):void 0,t.episodeCollectionState=void 0!==e.episodeCollectionState&&null!==e.episodeCollectionState?q.fromPartial(e.episodeCollectionState):void 0,t.episodeOfflineState=void 0!==e.episodeOfflineState&&null!==e.episodeOfflineState?Ze.fromPartial(e.episodeOfflineState):void 0,t.episodePlayState=void 0!==e.episodePlayState&&null!==e.episodePlayState?ke.fromPartial(e.episodePlayState):void 0,t.type=e.type??0,t.addTime=e.addTime??0,t.showMetadata=void 0!==e.showMetadata&&null!==e.showMetadata?be.fromPartial(e.showMetadata):void 0,t.typeStr=e.typeStr??"",t}};const st={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.imageUri&&t.uint32(26).string(e.imageUri),0!==e.offlineState&&t.uint32(32).uint32(e.offlineState),0!==e.type&&t.uint32(40).uint32(e.type),0!==e.addTime&&t.uint32(48).uint32(e.addTime),""!==e.typeStr&&t.uint32(58).string(e.typeStr),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",imageUri:"",offlineState:0,type:0,addTime:0,typeStr:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.imageUri=n.string();continue;case 4:if(32!==e)break;r.offlineState=n.uint32();continue;case 5:if(40!==e)break;r.type=n.uint32();continue;case 6:if(48!==e)break;r.addTime=n.uint32();continue;case 7:if(58!==e)break;r.typeStr=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:ut(e.link)?String(e.link):"",name:ut(e.name)?String(e.name):"",imageUri:ut(e.imageUri)?String(e.imageUri):"",offlineState:ut(e.offlineState)?Number(e.offlineState):0,type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,typeStr:ut(e.typeStr)?String(e.typeStr):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.imageUri&&(t.imageUri=e.imageUri),0!==e.offlineState&&(t.offlineState=Math.round(e.offlineState)),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.typeStr&&(t.typeStr=e.typeStr),t},create:e=>st.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",imageUri:"",offlineState:0,type:0,addTime:0,typeStr:""};return t.link=e.link??"",t.name=e.name??"",t.imageUri=e.imageUri??"",t.offlineState=e.offlineState??0,t.type=e.type??0,t.addTime=e.addTime??0,t.typeStr=e.typeStr??"",t}};const ct={encode:(e,t=i.Writer.create())=>(void 0!==e.playlistMetadata&&Ye.encode(e.playlistMetadata,t.uint32(10).fork()).ldelim(),0!==e.type&&t.uint32(16).uint32(e.type),0!==e.addTime&&t.uint32(24).uint32(e.addTime),""!==e.typeStr&&t.uint32(34).string(e.typeStr),void 0!==e.offlineState&&ze.encode(e.offlineState,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistMetadata:void 0,type:0,addTime:0,typeStr:"",offlineState:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistMetadata=Ye.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.type=n.uint32();continue;case 3:if(24!==e)break;r.addTime=n.uint32();continue;case 4:if(34!==e)break;r.typeStr=n.string();continue;case 5:if(42!==e)break;r.offlineState=ze.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistMetadata:ut(e.playlistMetadata)?Ye.fromJSON(e.playlistMetadata):void 0,type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,typeStr:ut(e.typeStr)?String(e.typeStr):"",offlineState:ut(e.offlineState)?ze.fromJSON(e.offlineState):void 0}),toJSON(e){const t={};return void 0!==e.playlistMetadata&&(t.playlistMetadata=Ye.toJSON(e.playlistMetadata)),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.typeStr&&(t.typeStr=e.typeStr),void 0!==e.offlineState&&(t.offlineState=ze.toJSON(e.offlineState)),t},create:e=>ct.fromPartial(e??{}),fromPartial(e){const t={playlistMetadata:void 0,type:0,addTime:0,typeStr:"",offlineState:void 0};return t.playlistMetadata=void 0!==e.playlistMetadata&&null!==e.playlistMetadata?Ye.fromPartial(e.playlistMetadata):void 0,t.type=e.type??0,t.addTime=e.addTime??0,t.typeStr=e.typeStr??"",t.offlineState=void 0!==e.offlineState&&null!==e.offlineState?ze.fromPartial(e.offlineState):void 0,t}};const lt={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),0!==e.type&&t.uint32(16).uint32(e.type),0!==e.addTime&&t.uint32(24).uint32(e.addTime),""!==e.typeStr&&t.uint32(34).string(e.typeStr),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",type:0,addTime:0,typeStr:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(16!==e)break;r.type=n.uint32();continue;case 3:if(24!==e)break;r.addTime=n.uint32();continue;case 4:if(34!==e)break;r.typeStr=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:ut(e.link)?String(e.link):"",type:ut(e.type)?Number(e.type):0,addTime:ut(e.addTime)?Number(e.addTime):0,typeStr:ut(e.typeStr)?String(e.typeStr):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),0!==e.type&&(t.type=Math.round(e.type)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.typeStr&&(t.typeStr=e.typeStr),t},create:e=>lt.fromPartial(e??{}),fromPartial(e){const t={link:"",type:0,addTime:0,typeStr:""};return t.link=e.link??"",t.type=e.type??0,t.addTime=e.addTime??0,t.typeStr=e.typeStr??"",t}};function ut(e){return null!=e}const dt={encode:(e,t=i.Writer.create())=>(0!==e.limit&&t.uint32(8).uint32(e.limit),0!==e.playlistResyncLimit&&t.uint32(16).uint32(e.playlistResyncLimit),!0===e.excludeShowsMixed&&t.uint32(24).bool(e.excludeShowsMixed),!0===e.excludeShowsAudio&&t.uint32(32).bool(e.excludeShowsAudio),!0===e.excludeShowsVideo&&t.uint32(40).bool(e.excludeShowsVideo),!0===e.excludeTrackContexts&&t.uint32(48).bool(e.excludeTrackContexts),!0===e.includeHidden&&t.uint32(56).bool(e.includeHidden),!0===e.includeCollectionSongs&&t.uint32(64).bool(e.includeCollectionSongs),!0===e.includeYourEpisodes&&t.uint32(72).bool(e.includeYourEpisodes),!0===e.includeOwnDeletedPlaylists&&t.uint32(80).bool(e.includeOwnDeletedPlaylists),!0===e.includePodcastShorts&&t.uint32(88).bool(e.includePodcastShorts),void 0!==e.artistPolicy&&x.encode(e.artistPolicy,t.uint32(98).fork()).ldelim(),void 0!==e.albumPolicy&&U.encode(e.albumPolicy,t.uint32(106).fork()).ldelim(),void 0!==e.trackPolicy&&V.encode(e.trackPolicy,t.uint32(114).fork()).ldelim(),void 0!==e.showPolicy&&F.encode(e.showPolicy,t.uint32(122).fork()).ldelim(),void 0!==e.playlistPolicy&&G.encode(e.playlistPolicy,t.uint32(130).fork()).ldelim(),void 0!==e.collectionTracksPolicy&&W.encode(e.collectionTracksPolicy,t.uint32(138).fork()).ldelim(),void 0!==e.profilePolicy&&H.encode(e.profilePolicy,t.uint32(146).fork()).ldelim(),void 0!==e.episodePolicy&&B.encode(e.episodePolicy,t.uint32(154).fork()).ldelim(),0!==e.updateThrottling&&t.uint32(160).uint32(e.updateThrottling),!0===e.initialResponseFromCache&&t.uint32(168).bool(e.initialResponseFromCache),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={limit:0,playlistResyncLimit:0,excludeShowsMixed:!1,excludeShowsAudio:!1,excludeShowsVideo:!1,excludeTrackContexts:!1,includeHidden:!1,includeCollectionSongs:!1,includeYourEpisodes:!1,includeOwnDeletedPlaylists:!1,includePodcastShorts:!1,artistPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0,showPolicy:void 0,playlistPolicy:void 0,collectionTracksPolicy:void 0,profilePolicy:void 0,episodePolicy:void 0,updateThrottling:0,initialResponseFromCache:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.limit=n.uint32();continue;case 2:if(16!==e)break;r.playlistResyncLimit=n.uint32();continue;case 3:if(24!==e)break;r.excludeShowsMixed=n.bool();continue;case 4:if(32!==e)break;r.excludeShowsAudio=n.bool();continue;case 5:if(40!==e)break;r.excludeShowsVideo=n.bool();continue;case 6:if(48!==e)break;r.excludeTrackContexts=n.bool();continue;case 7:if(56!==e)break;r.includeHidden=n.bool();continue;case 8:if(64!==e)break;r.includeCollectionSongs=n.bool();continue;case 9:if(72!==e)break;r.includeYourEpisodes=n.bool();continue;case 10:if(80!==e)break;r.includeOwnDeletedPlaylists=n.bool();continue;case 11:if(88!==e)break;r.includePodcastShorts=n.bool();continue;case 12:if(98!==e)break;r.artistPolicy=x.decode(n,n.uint32());continue;case 13:if(106!==e)break;r.albumPolicy=U.decode(n,n.uint32());continue;case 14:if(114!==e)break;r.trackPolicy=V.decode(n,n.uint32());continue;case 15:if(122!==e)break;r.showPolicy=F.decode(n,n.uint32());continue;case 16:if(130!==e)break;r.playlistPolicy=G.decode(n,n.uint32());continue;case 17:if(138!==e)break;r.collectionTracksPolicy=W.decode(n,n.uint32());continue;case 18:if(146!==e)break;r.profilePolicy=H.decode(n,n.uint32());continue;case 19:if(154!==e)break;r.episodePolicy=B.decode(n,n.uint32());continue;case 20:if(160!==e)break;r.updateThrottling=n.uint32();continue;case 21:if(168!==e)break;r.initialResponseFromCache=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({limit:_t(e.limit)?Number(e.limit):0,playlistResyncLimit:_t(e.playlistResyncLimit)?Number(e.playlistResyncLimit):0,excludeShowsMixed:!!_t(e.excludeShowsMixed)&&Boolean(e.excludeShowsMixed),excludeShowsAudio:!!_t(e.excludeShowsAudio)&&Boolean(e.excludeShowsAudio),excludeShowsVideo:!!_t(e.excludeShowsVideo)&&Boolean(e.excludeShowsVideo),excludeTrackContexts:!!_t(e.excludeTrackContexts)&&Boolean(e.excludeTrackContexts),includeHidden:!!_t(e.includeHidden)&&Boolean(e.includeHidden),includeCollectionSongs:!!_t(e.includeCollectionSongs)&&Boolean(e.includeCollectionSongs),includeYourEpisodes:!!_t(e.includeYourEpisodes)&&Boolean(e.includeYourEpisodes),includeOwnDeletedPlaylists:!!_t(e.includeOwnDeletedPlaylists)&&Boolean(e.includeOwnDeletedPlaylists),includePodcastShorts:!!_t(e.includePodcastShorts)&&Boolean(e.includePodcastShorts),artistPolicy:_t(e.artistPolicy)?x.fromJSON(e.artistPolicy):void 0,albumPolicy:_t(e.albumPolicy)?U.fromJSON(e.albumPolicy):void 0,trackPolicy:_t(e.trackPolicy)?V.fromJSON(e.trackPolicy):void 0,showPolicy:_t(e.showPolicy)?F.fromJSON(e.showPolicy):void 0,playlistPolicy:_t(e.playlistPolicy)?G.fromJSON(e.playlistPolicy):void 0,collectionTracksPolicy:_t(e.collectionTracksPolicy)?W.fromJSON(e.collectionTracksPolicy):void 0,profilePolicy:_t(e.profilePolicy)?H.fromJSON(e.profilePolicy):void 0,episodePolicy:_t(e.episodePolicy)?B.fromJSON(e.episodePolicy):void 0,updateThrottling:_t(e.updateThrottling)?Number(e.updateThrottling):0,initialResponseFromCache:!!_t(e.initialResponseFromCache)&&Boolean(e.initialResponseFromCache)}),toJSON(e){const t={};return 0!==e.limit&&(t.limit=Math.round(e.limit)),0!==e.playlistResyncLimit&&(t.playlistResyncLimit=Math.round(e.playlistResyncLimit)),!0===e.excludeShowsMixed&&(t.excludeShowsMixed=e.excludeShowsMixed),!0===e.excludeShowsAudio&&(t.excludeShowsAudio=e.excludeShowsAudio),!0===e.excludeShowsVideo&&(t.excludeShowsVideo=e.excludeShowsVideo),!0===e.excludeTrackContexts&&(t.excludeTrackContexts=e.excludeTrackContexts),!0===e.includeHidden&&(t.includeHidden=e.includeHidden),!0===e.includeCollectionSongs&&(t.includeCollectionSongs=e.includeCollectionSongs),!0===e.includeYourEpisodes&&(t.includeYourEpisodes=e.includeYourEpisodes),!0===e.includeOwnDeletedPlaylists&&(t.includeOwnDeletedPlaylists=e.includeOwnDeletedPlaylists),!0===e.includePodcastShorts&&(t.includePodcastShorts=e.includePodcastShorts),void 0!==e.artistPolicy&&(t.artistPolicy=x.toJSON(e.artistPolicy)),void 0!==e.albumPolicy&&(t.albumPolicy=U.toJSON(e.albumPolicy)),void 0!==e.trackPolicy&&(t.trackPolicy=V.toJSON(e.trackPolicy)),void 0!==e.showPolicy&&(t.showPolicy=F.toJSON(e.showPolicy)),void 0!==e.playlistPolicy&&(t.playlistPolicy=G.toJSON(e.playlistPolicy)),void 0!==e.collectionTracksPolicy&&(t.collectionTracksPolicy=W.toJSON(e.collectionTracksPolicy)),void 0!==e.profilePolicy&&(t.profilePolicy=H.toJSON(e.profilePolicy)),void 0!==e.episodePolicy&&(t.episodePolicy=B.toJSON(e.episodePolicy)),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),!0===e.initialResponseFromCache&&(t.initialResponseFromCache=e.initialResponseFromCache),t},create:e=>dt.fromPartial(e??{}),fromPartial(e){const t={limit:0,playlistResyncLimit:0,excludeShowsMixed:!1,excludeShowsAudio:!1,excludeShowsVideo:!1,excludeTrackContexts:!1,includeHidden:!1,includeCollectionSongs:!1,includeYourEpisodes:!1,includeOwnDeletedPlaylists:!1,includePodcastShorts:!1,artistPolicy:void 0,albumPolicy:void 0,trackPolicy:void 0,showPolicy:void 0,playlistPolicy:void 0,collectionTracksPolicy:void 0,profilePolicy:void 0,episodePolicy:void 0,updateThrottling:0,initialResponseFromCache:!1};return t.limit=e.limit??0,t.playlistResyncLimit=e.playlistResyncLimit??0,t.excludeShowsMixed=e.excludeShowsMixed??!1,t.excludeShowsAudio=e.excludeShowsAudio??!1,t.excludeShowsVideo=e.excludeShowsVideo??!1,t.excludeTrackContexts=e.excludeTrackContexts??!1,t.includeHidden=e.includeHidden??!1,t.includeCollectionSongs=e.includeCollectionSongs??!1,t.includeYourEpisodes=e.includeYourEpisodes??!1,t.includeOwnDeletedPlaylists=e.includeOwnDeletedPlaylists??!1,t.includePodcastShorts=e.includePodcastShorts??!1,t.artistPolicy=void 0!==e.artistPolicy&&null!==e.artistPolicy?x.fromPartial(e.artistPolicy):void 0,t.albumPolicy=void 0!==e.albumPolicy&&null!==e.albumPolicy?U.fromPartial(e.albumPolicy):void 0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?V.fromPartial(e.trackPolicy):void 0,t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?F.fromPartial(e.showPolicy):void 0,t.playlistPolicy=void 0!==e.playlistPolicy&&null!==e.playlistPolicy?G.fromPartial(e.playlistPolicy):void 0,t.collectionTracksPolicy=void 0!==e.collectionTracksPolicy&&null!==e.collectionTracksPolicy?W.fromPartial(e.collectionTracksPolicy):void 0,t.profilePolicy=void 0!==e.profilePolicy&&null!==e.profilePolicy?H.fromPartial(e.profilePolicy):void 0,t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?B.fromPartial(e.episodePolicy):void 0,t.updateThrottling=e.updateThrottling??0,t.initialResponseFromCache=e.initialResponseFromCache??!1,t}};const pt={encode:(e,t=i.Writer.create())=>(void 0!==e.artist&&nt.encode(e.artist,t.uint32(10).fork()).ldelim(),void 0!==e.album&&it.encode(e.album,t.uint32(18).fork()).ldelim(),void 0!==e.track&&ot.encode(e.track,t.uint32(26).fork()).ldelim(),void 0!==e.show&&rt.encode(e.show,t.uint32(34).fork()).ldelim(),void 0!==e.profile&&st.encode(e.profile,t.uint32(42).fork()).ldelim(),void 0!==e.playlist&&ct.encode(e.playlist,t.uint32(50).fork()).ldelim(),void 0!==e.collectionTracks&<.encode(e.collectionTracks,t.uint32(58).fork()).ldelim(),void 0!==e.episode&&at.encode(e.episode,t.uint32(66).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artist:void 0,album:void 0,track:void 0,show:void 0,profile:void 0,playlist:void 0,collectionTracks:void 0,episode:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artist=nt.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.album=it.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.track=ot.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.show=rt.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.profile=st.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.playlist=ct.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.collectionTracks=lt.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.episode=at.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artist:_t(e.artist)?nt.fromJSON(e.artist):void 0,album:_t(e.album)?it.fromJSON(e.album):void 0,track:_t(e.track)?ot.fromJSON(e.track):void 0,show:_t(e.show)?rt.fromJSON(e.show):void 0,profile:_t(e.profile)?st.fromJSON(e.profile):void 0,playlist:_t(e.playlist)?ct.fromJSON(e.playlist):void 0,collectionTracks:_t(e.collectionTracks)?lt.fromJSON(e.collectionTracks):void 0,episode:_t(e.episode)?at.fromJSON(e.episode):void 0}),toJSON(e){const t={};return void 0!==e.artist&&(t.artist=nt.toJSON(e.artist)),void 0!==e.album&&(t.album=it.toJSON(e.album)),void 0!==e.track&&(t.track=ot.toJSON(e.track)),void 0!==e.show&&(t.show=rt.toJSON(e.show)),void 0!==e.profile&&(t.profile=st.toJSON(e.profile)),void 0!==e.playlist&&(t.playlist=ct.toJSON(e.playlist)),void 0!==e.collectionTracks&&(t.collectionTracks=lt.toJSON(e.collectionTracks)),void 0!==e.episode&&(t.episode=at.toJSON(e.episode)),t},create:e=>pt.fromPartial(e??{}),fromPartial(e){const t={artist:void 0,album:void 0,track:void 0,show:void 0,profile:void 0,playlist:void 0,collectionTracks:void 0,episode:void 0};return t.artist=void 0!==e.artist&&null!==e.artist?nt.fromPartial(e.artist):void 0,t.album=void 0!==e.album&&null!==e.album?it.fromPartial(e.album):void 0,t.track=void 0!==e.track&&null!==e.track?ot.fromPartial(e.track):void 0,t.show=void 0!==e.show&&null!==e.show?rt.fromPartial(e.show):void 0,t.profile=void 0!==e.profile&&null!==e.profile?st.fromPartial(e.profile):void 0,t.playlist=void 0!==e.playlist&&null!==e.playlist?ct.fromPartial(e.playlist):void 0,t.collectionTracks=void 0!==e.collectionTracks&&null!==e.collectionTracks?lt.fromPartial(e.collectionTracks):void 0,t.episode=void 0!==e.episode&&null!==e.episode?at.fromPartial(e.episode):void 0,t}};const ht={encode(e,t=i.Writer.create()){for(const n of e.context)pt.encode(n,t.uint32(10).fork()).ldelim();return!0===e.loaded&&t.uint32(16).bool(e.loaded),0!==e.status&&t.uint32(24).uint32(e.status),""!==e.error&&t.uint32(34).string(e.error),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={context:[],loaded:!1,status:0,error:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.context.push(pt.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.loaded=n.bool();continue;case 3:if(24!==e)break;r.status=n.uint32();continue;case 4:if(34!==e)break;r.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({context:Array.isArray(e?.context)?e.context.map((e=>pt.fromJSON(e))):[],loaded:!!_t(e.loaded)&&Boolean(e.loaded),status:_t(e.status)?Number(e.status):0,error:_t(e.error)?String(e.error):""}),toJSON(e){const t={};return e.context?.length&&(t.context=e.context.map((e=>pt.toJSON(e)))),!0===e.loaded&&(t.loaded=e.loaded),0!==e.status&&(t.status=Math.round(e.status)),""!==e.error&&(t.error=e.error),t},create:e=>ht.fromPartial(e??{}),fromPartial(e){const t={context:[],loaded:!1,status:0,error:""};return t.context=e.context?.map((e=>pt.fromPartial(e)))||[],t.loaded=e.loaded??!1,t.status=e.status??0,t.error=e.error??"",t}};const ft={encode(e,t=i.Writer.create()){for(const n of e.uri)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[]}),toJSON(e){const t={};return e.uri?.length&&(t.uri=e.uri),t},create:e=>ft.fromPartial(e??{}),fromPartial(e){const t={uri:[]};return t.uri=e.uri?.map((e=>e))||[],t}};const mt={encode:(e,t=i.Writer.create())=>(0!==e.status&&t.uint32(8).uint32(e.status),""!==e.error&&t.uint32(18).string(e.error),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={status:0,error:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.status=n.uint32();continue;case 2:if(18!==e)break;r.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:_t(e.status)?Number(e.status):0,error:_t(e.error)?String(e.error):""}),toJSON(e){const t={};return 0!==e.status&&(t.status=Math.round(e.status)),""!==e.error&&(t.error=e.error),t},create:e=>mt.fromPartial(e??{}),fromPartial(e){const t={status:0,error:""};return t.status=e.status??0,t.error=e.error??"",t}};function _t(e){return null!=e}const gt={encode:(e,t=i.Writer.create())=>(!0===e.includeHidden&&t.uint32(8).bool(e.includeHidden),!0===e.includeEpisodes&&t.uint32(16).bool(e.includeEpisodes),!0===e.includeLocalTracks&&t.uint32(24).bool(e.includeLocalTracks),0!==e.updateThrottling&&t.uint32(32).uint32(e.updateThrottling),void 0!==e.trackPolicy&&V.encode(e.trackPolicy,t.uint32(42).fork()).ldelim(),void 0!==e.episodePolicy&&B.encode(e.episodePolicy,t.uint32(50).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={includeHidden:!1,includeEpisodes:!1,includeLocalTracks:!1,updateThrottling:0,trackPolicy:void 0,episodePolicy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.includeHidden=n.bool();continue;case 2:if(16!==e)break;r.includeEpisodes=n.bool();continue;case 3:if(24!==e)break;r.includeLocalTracks=n.bool();continue;case 4:if(32!==e)break;r.updateThrottling=n.uint32();continue;case 5:if(42!==e)break;r.trackPolicy=V.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.episodePolicy=B.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({includeHidden:!!yt(e.includeHidden)&&Boolean(e.includeHidden),includeEpisodes:!!yt(e.includeEpisodes)&&Boolean(e.includeEpisodes),includeLocalTracks:!!yt(e.includeLocalTracks)&&Boolean(e.includeLocalTracks),updateThrottling:yt(e.updateThrottling)?Number(e.updateThrottling):0,trackPolicy:yt(e.trackPolicy)?V.fromJSON(e.trackPolicy):void 0,episodePolicy:yt(e.episodePolicy)?B.fromJSON(e.episodePolicy):void 0}),toJSON(e){const t={};return!0===e.includeHidden&&(t.includeHidden=e.includeHidden),!0===e.includeEpisodes&&(t.includeEpisodes=e.includeEpisodes),!0===e.includeLocalTracks&&(t.includeLocalTracks=e.includeLocalTracks),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),void 0!==e.trackPolicy&&(t.trackPolicy=V.toJSON(e.trackPolicy)),void 0!==e.episodePolicy&&(t.episodePolicy=B.toJSON(e.episodePolicy)),t},create:e=>gt.fromPartial(e??{}),fromPartial(e){const t={includeHidden:!1,includeEpisodes:!1,includeLocalTracks:!1,updateThrottling:0,trackPolicy:void 0,episodePolicy:void 0};return t.includeHidden=e.includeHidden??!1,t.includeEpisodes=e.includeEpisodes??!1,t.includeLocalTracks=e.includeLocalTracks??!1,t.updateThrottling=e.updateThrottling??0,t.trackPolicy=void 0!==e.trackPolicy&&null!==e.trackPolicy?V.fromPartial(e.trackPolicy):void 0,t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?B.fromPartial(e.episodePolicy):void 0,t}};const Et={encode:(e,t=i.Writer.create())=>(void 0!==e.track&&ot.encode(e.track,t.uint32(10).fork()).ldelim(),void 0!==e.episode&&at.encode(e.episode,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={track:void 0,episode:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.track=ot.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.episode=at.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({track:yt(e.track)?ot.fromJSON(e.track):void 0,episode:yt(e.episode)?at.fromJSON(e.episode):void 0}),toJSON(e){const t={};return void 0!==e.track&&(t.track=ot.toJSON(e.track)),void 0!==e.episode&&(t.episode=at.toJSON(e.episode)),t},create:e=>Et.fromPartial(e??{}),fromPartial(e){const t={track:void 0,episode:void 0};return t.track=void 0!==e.track&&null!==e.track?ot.fromPartial(e.track):void 0,t.episode=void 0!==e.episode&&null!==e.episode?at.fromPartial(e.episode):void 0,t}};const vt={encode(e,t=i.Writer.create()){for(const n of e.entity)Et.encode(n,t.uint32(10).fork()).ldelim();return 0!==e.missingMetadataCount&&t.uint32(16).uint32(e.missingMetadataCount),!0===e.loaded&&t.uint32(24).bool(e.loaded),0!==e.originalLength&&t.uint32(32).uint32(e.originalLength),0!==e.unfilteredLength&&t.uint32(40).uint32(e.unfilteredLength),0!==e.status&&t.uint32(48).uint32(e.status),""!==e.error&&t.uint32(58).string(e.error),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={entity:[],missingMetadataCount:0,loaded:!1,originalLength:0,unfilteredLength:0,status:0,error:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.entity.push(Et.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.missingMetadataCount=n.uint32();continue;case 3:if(24!==e)break;r.loaded=n.bool();continue;case 4:if(32!==e)break;r.originalLength=n.uint32();continue;case 5:if(40!==e)break;r.unfilteredLength=n.uint32();continue;case 6:if(48!==e)break;r.status=n.uint32();continue;case 7:if(58!==e)break;r.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entity:Array.isArray(e?.entity)?e.entity.map((e=>Et.fromJSON(e))):[],missingMetadataCount:yt(e.missingMetadataCount)?Number(e.missingMetadataCount):0,loaded:!!yt(e.loaded)&&Boolean(e.loaded),originalLength:yt(e.originalLength)?Number(e.originalLength):0,unfilteredLength:yt(e.unfilteredLength)?Number(e.unfilteredLength):0,status:yt(e.status)?Number(e.status):0,error:yt(e.error)?String(e.error):""}),toJSON(e){const t={};return e.entity?.length&&(t.entity=e.entity.map((e=>Et.toJSON(e)))),0!==e.missingMetadataCount&&(t.missingMetadataCount=Math.round(e.missingMetadataCount)),!0===e.loaded&&(t.loaded=e.loaded),0!==e.originalLength&&(t.originalLength=Math.round(e.originalLength)),0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.status&&(t.status=Math.round(e.status)),""!==e.error&&(t.error=e.error),t},create:e=>vt.fromPartial(e??{}),fromPartial(e){const t={entity:[],missingMetadataCount:0,loaded:!1,originalLength:0,unfilteredLength:0,status:0,error:""};return t.entity=e.entity?.map((e=>Et.fromPartial(e)))||[],t.missingMetadataCount=e.missingMetadataCount??0,t.loaded=e.loaded??!1,t.originalLength=e.originalLength??0,t.unfilteredLength=e.unfilteredLength??0,t.status=e.status??0,t.error=e.error??"",t}};function yt(e){return null!=e}class bt{transport;options;constructor(e,t={}){this.transport=e,this.options=t}get(e,t){const n=bt.SERVICE_ID,o="Get",r=dt.fromPartial(e),a=dt.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ht.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}stream(e,t){const n=bt.SERVICE_ID,o="Stream",r=dt.fromPartial(e),a=dt.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=ht.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}hide(e,t){const n=bt.SERVICE_ID,o="Hide",r=ft.fromPartial(e),a=ft.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mt.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}tracks(e,t){const n=bt.SERVICE_ID,o="Tracks",r=gt.fromPartial(e),a=gt.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=vt.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}streamTracks(e,t){const n=bt.SERVICE_ID,o="StreamTracks",r=gt.fromPartial(e),a=gt.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=vt.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}hideTracks(e,t){const n=bt.SERVICE_ID,o="HideTracks",r=ft.fromPartial(e),a=ft.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=mt.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.recently_played_esperanto.proto.RecentlyPlayedService";static METHODS={get:{isStreaming:!1,requestType:dt,responseType:ht},stream:{isStreaming:!0,requestType:dt,responseType:ht},hide:{isStreaming:!1,requestType:ft,responseType:mt},tracks:{isStreaming:!1,requestType:gt,responseType:vt},streamTracks:{isStreaming:!0,requestType:gt,responseType:vt},hideTracks:{isStreaming:!1,requestType:ft,responseType:mt}};static DECODERS={Get:{request:dt.decode,response:ht.decode},Stream:{request:dt.decode,response:ht.decode},Hide:{request:ft.decode,response:mt.decode},Tracks:{request:gt.decode,response:vt.decode},StreamTracks:{request:gt.decode,response:vt.decode},HideTracks:{request:ft.decode,response:mt.decode}}}},87172:(e,t,n)=>{"use strict";n.d(t,{UH:()=>i,NC:()=>Nt,bU:()=>It,iz:()=>bt,pt:()=>St,j8:()=>Ve,Gy:()=>Vt,xB:()=>Qe,D7:()=>et});var i,o=n(24848),r=n(87252);function a(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return i.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return i.CANVAZ;case 2:case"STORYLINES":return i.STORYLINES;case 3:case"PODCAST_TOPICS":return i.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return i.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return i.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return i.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return i.PODCAST_COUNTER;case 8:case"ARTIST_V4":return i.ARTIST_V4;case 9:case"ALBUM_V4":return i.ALBUM_V4;case 10:case"TRACK_V4":return i.TRACK_V4;case 11:case"SHOW_V4":return i.SHOW_V4;case 12:case"EPISODE_V4":return i.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return i.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return i.PODCAST_QUOTES;case 15:case"USER_PROFILE":return i.USER_PROFILE;case 16:case"CANVAS_V1":return i.CANVAS_V1;case 17:case"SHOW_V4_BASE":return i.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return i.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return i.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return i.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return i.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return i.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return i.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return i.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return i.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return i.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return i.AUTOMIX_MODE;case 28:case"CUEPOINTS":return i.CUEPOINTS;case 29:case"PODCAST_POLL":return i.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return i.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return i.SHOW_ACCESS;case 32:case"PODCAST_QNA":return i.PODCAST_QNA;case 33:case"CLIPS":return i.CLIPS;case 34:case"SHOW_V5":return i.SHOW_V5;case 35:case"EPISODE_V5":return i.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return i.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return i.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return i.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return i.GREENROOM;case 40:case"USER_CREATED":return i.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return i.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return i.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return i.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return i.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return i.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return i.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return i.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return i.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return i.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return i.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return i.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return i.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return i.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return i.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return i.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return i.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return i.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return i.CONTENT_WARNING;case 59:case"IMAGE_CUE":return i.IMAGE_CUE;case 60:case"STREAM_COUNT":return i.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return i.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return i.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return i.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return i.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return i.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return i.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return i.LIVE;case 68:case"SKIP_PLAYED":return i.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return i.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return i.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return i.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return i.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return i.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return i.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return i.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return i.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return i.PODCAST_GUEST;case 78:case"PLAYABILITY":return i.PLAYABILITY;case 79:case"COVER_IMAGE":return i.COVER_IMAGE;case 80:case"SHARE_TRAIT":return i.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return i.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return i.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return i.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return i.CONCEPT;case 85:case"ORIGINAL_VIDEO":return i.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return i.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return i.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return i.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return i.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return i.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return i.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return i.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return i.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return i.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return i.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return i.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return i.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return i.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return i.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return i.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return i.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return i.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return i.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return i.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return i.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return i.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return i.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return i.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return i.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return i.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return i.MERCH;case 113:case"COMPANION_CONTENT":return i.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return i.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return i.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return i.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return i.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return i.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return i.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return i.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return i.COURSE_SPECIFICS;case 122:case"CONCERT":return i.CONCERT;case 123:case"CONCERT_LOCATION":return i.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return i.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return i.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return i.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return i.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return i.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return i.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return i.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return i.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return i.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return i.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return i.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return i.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return i.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return i.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return i.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return i.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return i.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return i.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return i.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return i.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return i.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return i.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return i.SUPPORTED_BADGES;case 147:case"BADGES":return i.BADGES;case 148:case"PREVIEW_TRAIT":return i.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return i.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return i.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return i.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return i.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return i.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return i.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return i.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return i.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return i.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return i.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return i.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return i.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return i.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return i.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return i.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return i.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return i.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return i.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return i.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return i.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return i.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return i.AUTO_LENS;default:return i.UNRECOGNIZED}}function s(e){switch(e){case i.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case i.CANVAZ:return"CANVAZ";case i.STORYLINES:return"STORYLINES";case i.PODCAST_TOPICS:return"PODCAST_TOPICS";case i.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case i.AUDIO_FILES:return"AUDIO_FILES";case i.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case i.PODCAST_COUNTER:return"PODCAST_COUNTER";case i.ARTIST_V4:return"ARTIST_V4";case i.ALBUM_V4:return"ALBUM_V4";case i.TRACK_V4:return"TRACK_V4";case i.SHOW_V4:return"SHOW_V4";case i.EPISODE_V4:return"EPISODE_V4";case i.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case i.PODCAST_QUOTES:return"PODCAST_QUOTES";case i.USER_PROFILE:return"USER_PROFILE";case i.CANVAS_V1:return"CANVAS_V1";case i.SHOW_V4_BASE:return"SHOW_V4_BASE";case i.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case i.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case i.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case i.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case i.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case i.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case i.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case i.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case i.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case i.AUTOMIX_MODE:return"AUTOMIX_MODE";case i.CUEPOINTS:return"CUEPOINTS";case i.PODCAST_POLL:return"PODCAST_POLL";case i.EPISODE_ACCESS:return"EPISODE_ACCESS";case i.SHOW_ACCESS:return"SHOW_ACCESS";case i.PODCAST_QNA:return"PODCAST_QNA";case i.CLIPS:return"CLIPS";case i.SHOW_V5:return"SHOW_V5";case i.EPISODE_V5:return"EPISODE_V5";case i.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case i.PODCAST_RATING:return"PODCAST_RATING";case i.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case i.GREENROOM:return"GREENROOM";case i.USER_CREATED:return"USER_CREATED";case i.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case i.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case i.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case i.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case i.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case i.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case i.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case i.CLIENT_CONFIG:return"CLIENT_CONFIG";case i.PLAYLISTABILITY:return"PLAYLISTABILITY";case i.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case i.CHAPTER_V5:return"CHAPTER_V5";case i.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case i.EPISODE_RANKING:return"EPISODE_RANKING";case i.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case i.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case i.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case i.PLAY_TRAIT:return"PLAY_TRAIT";case i.CONTENT_WARNING:return"CONTENT_WARNING";case i.IMAGE_CUE:return"IMAGE_CUE";case i.STREAM_COUNT:return"STREAM_COUNT";case i.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case i.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case i.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case i.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case i.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case i.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case i.LIVE:return"LIVE";case i.SKIP_PLAYED:return"SKIP_PLAYED";case i.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case i.ASSOCIATIONS:return"ASSOCIATIONS";case i.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case i.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case i.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case i.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case i.USER_COMMENTS:return"USER_COMMENTS";case i.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case i.PODCAST_GUEST:return"PODCAST_GUEST";case i.PLAYABILITY:return"PLAYABILITY";case i.COVER_IMAGE:return"COVER_IMAGE";case i.SHARE_TRAIT:return"SHARE_TRAIT";case i.INSTANCE_SHARING:return"INSTANCE_SHARING";case i.ARTIST_TOUR:return"ARTIST_TOUR";case i.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case i.CONCEPT:return"CONCEPT";case i.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case i.SMART_SHUFFLE:return"SMART_SHUFFLE";case i.LIVE_EVENTS:return"LIVE_EVENTS";case i.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case i.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case i.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case i.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case i.FEWER_ADS:return"FEWER_ADS";case i.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case i.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case i.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case i.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case i.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case i.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case i.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case i.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case i.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case i.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case i.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case i.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case i.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case i.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case i.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case i.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case i.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case i.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case i.MERCH:return"MERCH";case i.COMPANION_CONTENT:return"COMPANION_CONTENT";case i.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case i.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case i.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case i.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case i.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case i.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case i.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case i.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case i.CONCERT:return"CONCERT";case i.CONCERT_LOCATION:return"CONCERT_LOCATION";case i.CONCERT_MARKETING:return"CONCERT_MARKETING";case i.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case i.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case i.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case i.NAME_TRAIT:return"NAME_TRAIT";case i.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case i.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case i.CREDITS_TRAIT:return"CREDITS_TRAIT";case i.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case i.ENTITY_CAPPING:return"ENTITY_CAPPING";case i.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case i.CONCERT_OFFERS:return"CONCERT_OFFERS";case i.TRANSITION_MAPS:return"TRANSITION_MAPS";case i.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case i.PRERELEASE:return"PRERELEASE";case i.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case i.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case i.LIST_METADATA:return"LIST_METADATA";case i.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case i.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case i.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case i.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case i.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case i.BADGES:return"BADGES";case i.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case i.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case i.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case i.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case i.POPULAR_RELEASES:return"POPULAR_RELEASES";case i.RELATED_RELEASES:return"RELATED_RELEASES";case i.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case i.CONCERT_OFFER:return"CONCERT_OFFER";case i.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case i.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case i.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case i.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case i.REORDERING_TRAIT:return"REORDERING_TRAIT";case i.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case i.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case i.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case i.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case i.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case i.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case i.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case i.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case i.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case i.AUTO_LENS:return"AUTO_LENS";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function c(){return{extensionKind:0,data:new Uint8Array(0)}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const l={encode:(e,t=o.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=c();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:p(e.extensionKind)?a(e.extensionKind):0,data:p(e.data)?d(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=s(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(u.Buffer)return u.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),u.btoa(t.join(""))}}(e.data)),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t=c();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},u=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function d(e){if(u.Buffer)return Uint8Array.from(u.Buffer.from(e,"base64"));{const t=u.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function p(e){return null!=e}const h={encode:(e,t=o.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:f(e.standardLink)?String(e.standardLink):"",smallLink:f(e.smallLink)?String(e.smallLink):"",largeLink:f(e.largeLink)?String(e.largeLink):"",xlargeLink:f(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function f(e){return null!=e}var m,_;function g(e){switch(e){case 0:case"UNKNOWN":return m.UNKNOWN;case 1:case"FULL":return m.FULL;case 2:case"TRAILER":return m.TRAILER;case 3:case"BONUS":return m.BONUS;default:return m.UNRECOGNIZED}}function E(e){switch(e){case 0:case"VODCAST":return _.VODCAST;case 1:case"AUDIO":return _.AUDIO;case 2:case"VIDEO":return _.VIDEO;default:return _.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.FULL=1]="FULL",e[e.TRAILER=2]="TRAILER",e[e.BONUS=3]="BONUS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(m||(m={})),function(e){e[e.VODCAST=0]="VODCAST",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(_||(_={}));const v={encode:(e,t=o.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.publisher&&t.uint32(26).string(e.publisher),void 0!==e.covers&&h.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={link:"",name:"",publisher:"",covers:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.publisher=n.string();continue;case 4:if(34!==e)break;r.covers=h.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:S(e.link)?String(e.link):"",name:S(e.name)?String(e.name):"",publisher:S(e.publisher)?String(e.publisher):"",covers:S(e.covers)?h.fromJSON(e.covers):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.publisher&&(t.publisher=e.publisher),void 0!==e.covers&&(t.covers=h.toJSON(e.covers)),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",publisher:"",covers:void 0};return t.link=e.link??"",t.name=e.name??"",t.publisher=e.publisher??"",t.covers=void 0!==e.covers&&null!==e.covers?h.fromPartial(e.covers):void 0,t}};function y(){return{show:void 0,link:"",name:"",length:0,covers:void 0,manifestId:"",description:"",publishDate:BigInt("0"),freezeFrames:void 0,language:"",available:!1,mediaTypeEnum:0,number:0,backgroundable:!1,previewManifestId:"",isExplicit:!1,previewId:"",episodeType:0,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1}}const b={encode(e,t=o.Writer.create()){void 0!==e.show&&v.encode(e.show,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),0!==e.length&&t.uint32(32).uint32(e.length),void 0!==e.covers&&h.encode(e.covers,t.uint32(42).fork()).ldelim(),""!==e.manifestId&&t.uint32(50).string(e.manifestId),""!==e.description&&t.uint32(58).string(e.description),e.publishDate!==BigInt("0")&&t.uint32(64).int64(e.publishDate.toString()),void 0!==e.freezeFrames&&h.encode(e.freezeFrames,t.uint32(74).fork()).ldelim(),""!==e.language&&t.uint32(82).string(e.language),!0===e.available&&t.uint32(88).bool(e.available),0!==e.mediaTypeEnum&&t.uint32(96).int32(e.mediaTypeEnum),0!==e.number&&t.uint32(104).int32(e.number),!0===e.backgroundable&&t.uint32(112).bool(e.backgroundable),""!==e.previewManifestId&&t.uint32(122).string(e.previewManifestId),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),""!==e.previewId&&t.uint32(138).string(e.previewId),0!==e.episodeType&&t.uint32(144).int32(e.episodeType),!0===e.isMusicAndTalk&&t.uint32(152).bool(e.isMusicAndTalk);for(const n of e.extension)l.encode(n,t.uint32(178).fork()).ldelim();return!0===e.is19PlusOnly&&t.uint32(184).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(192).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(200).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(208).bool(e.isCurated),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=y();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.show=v.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(42!==e)break;r.covers=h.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.manifestId=n.string();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(64!==e)break;r.publishDate=(a=n.int64(),BigInt(a.toString()));continue;case 9:if(74!==e)break;r.freezeFrames=h.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.language=n.string();continue;case 11:if(88!==e)break;r.available=n.bool();continue;case 12:if(96!==e)break;r.mediaTypeEnum=n.int32();continue;case 13:if(104!==e)break;r.number=n.int32();continue;case 14:if(112!==e)break;r.backgroundable=n.bool();continue;case 15:if(122!==e)break;r.previewManifestId=n.string();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(138!==e)break;r.previewId=n.string();continue;case 18:if(144!==e)break;r.episodeType=n.int32();continue;case 19:if(152!==e)break;r.isMusicAndTalk=n.bool();continue;case 22:if(178!==e)break;r.extension.push(l.decode(n,n.uint32()));continue;case 23:if(184!==e)break;r.is19PlusOnly=n.bool();continue;case 24:if(192!==e)break;r.isBookChapter=n.bool();continue;case 25:if(200!==e)break;r.isPodcastShort=n.bool();continue;case 26:if(208!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({show:S(e.show)?v.fromJSON(e.show):void 0,link:S(e.link)?String(e.link):"",name:S(e.name)?String(e.name):"",length:S(e.length)?Number(e.length):0,covers:S(e.covers)?h.fromJSON(e.covers):void 0,manifestId:S(e.manifestId)?String(e.manifestId):"",description:S(e.description)?String(e.description):"",publishDate:S(e.publishDate)?BigInt(e.publishDate):BigInt("0"),freezeFrames:S(e.freezeFrames)?h.fromJSON(e.freezeFrames):void 0,language:S(e.language)?String(e.language):"",available:!!S(e.available)&&Boolean(e.available),mediaTypeEnum:S(e.mediaTypeEnum)?E(e.mediaTypeEnum):0,number:S(e.number)?Number(e.number):0,backgroundable:!!S(e.backgroundable)&&Boolean(e.backgroundable),previewManifestId:S(e.previewManifestId)?String(e.previewManifestId):"",isExplicit:!!S(e.isExplicit)&&Boolean(e.isExplicit),previewId:S(e.previewId)?String(e.previewId):"",episodeType:S(e.episodeType)?g(e.episodeType):0,isMusicAndTalk:!!S(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>l.fromJSON(e))):[],is19PlusOnly:!!S(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!S(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!S(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!S(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return void 0!==e.show&&(t.show=v.toJSON(e.show)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.covers&&(t.covers=h.toJSON(e.covers)),""!==e.manifestId&&(t.manifestId=e.manifestId),""!==e.description&&(t.description=e.description),e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),void 0!==e.freezeFrames&&(t.freezeFrames=h.toJSON(e.freezeFrames)),""!==e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=function(e){switch(e){case _.VODCAST:return"VODCAST";case _.AUDIO:return"AUDIO";case _.VIDEO:return"VIDEO";case _.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.mediaTypeEnum)),0!==e.number&&(t.number=Math.round(e.number)),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),""!==e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),0!==e.episodeType&&(t.episodeType=function(e){switch(e){case m.UNKNOWN:return"UNKNOWN";case m.FULL:return"FULL";case m.TRAILER:return"TRAILER";case m.BONUS:return"BONUS";case m.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.episodeType)),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>l.toJSON(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t=y();return t.show=void 0!==e.show&&null!==e.show?v.fromPartial(e.show):void 0,t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.covers=void 0!==e.covers&&null!==e.covers?h.fromPartial(e.covers):void 0,t.manifestId=e.manifestId??"",t.description=e.description??"",t.publishDate=e.publishDate??BigInt("0"),t.freezeFrames=void 0!==e.freezeFrames&&null!==e.freezeFrames?h.fromPartial(e.freezeFrames):void 0,t.language=e.language??"",t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??0,t.number=e.number??0,t.backgroundable=e.backgroundable??!1,t.previewManifestId=e.previewManifestId??"",t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.episodeType=e.episodeType??0,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>l.fromPartial(e)))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function S(e){return null!=e}o.util.Long!==r&&(o.util.Long=r,o.configure());const T={encode(e,t=o.Writer.create()){""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.description&&t.uint32(26).string(e.description),0!==e.popularity&&t.uint32(32).uint32(e.popularity),""!==e.publisher&&t.uint32(42).string(e.publisher),""!==e.language&&t.uint32(50).string(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),void 0!==e.covers&&h.encode(e.covers,t.uint32(66).fork()).ldelim(),0!==e.numEpisodes&&t.uint32(72).uint32(e.numEpisodes),""!==e.consumptionOrder&&t.uint32(82).string(e.consumptionOrder),0!==e.mediaTypeEnum&&t.uint32(88).int32(e.mediaTypeEnum);for(const n of e.copyright)t.uint32(98).string(n);""!==e.trailerUri&&t.uint32(106).string(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk);for(const n of e.extension)l.encode(n,t.uint32(122).fork()).ldelim();return!0===e.isBook&&t.uint32(128).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(136).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={link:"",name:"",description:"",popularity:0,publisher:"",language:"",isExplicit:!1,covers:void 0,numEpisodes:0,consumptionOrder:"",mediaTypeEnum:0,copyright:[],trailerUri:"",isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.description=n.string();continue;case 4:if(32!==e)break;r.popularity=n.uint32();continue;case 5:if(42!==e)break;r.publisher=n.string();continue;case 6:if(50!==e)break;r.language=n.string();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(66!==e)break;r.covers=h.decode(n,n.uint32());continue;case 9:if(72!==e)break;r.numEpisodes=n.uint32();continue;case 10:if(82!==e)break;r.consumptionOrder=n.string();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.int32();continue;case 12:if(98!==e)break;r.copyright.push(n.string());continue;case 13:if(106!==e)break;r.trailerUri=n.string();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 15:if(122!==e)break;r.extension.push(l.decode(n,n.uint32()));continue;case 16:if(128!==e)break;r.isBook=n.bool();continue;case 17:if(136!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:A(e.link)?String(e.link):"",name:A(e.name)?String(e.name):"",description:A(e.description)?String(e.description):"",popularity:A(e.popularity)?Number(e.popularity):0,publisher:A(e.publisher)?String(e.publisher):"",language:A(e.language)?String(e.language):"",isExplicit:!!A(e.isExplicit)&&Boolean(e.isExplicit),covers:A(e.covers)?h.fromJSON(e.covers):void 0,numEpisodes:A(e.numEpisodes)?Number(e.numEpisodes):0,consumptionOrder:A(e.consumptionOrder)?String(e.consumptionOrder):"",mediaTypeEnum:A(e.mediaTypeEnum)?Number(e.mediaTypeEnum):0,copyright:Array.isArray(e?.copyright)?e.copyright.map((e=>String(e))):[],trailerUri:A(e.trailerUri)?String(e.trailerUri):"",isMusicAndTalk:!!A(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>l.fromJSON(e))):[],isBook:!!A(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!A(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.description&&(t.description=e.description),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),""!==e.publisher&&(t.publisher=e.publisher),""!==e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),void 0!==e.covers&&(t.covers=h.toJSON(e.covers)),0!==e.numEpisodes&&(t.numEpisodes=Math.round(e.numEpisodes)),""!==e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=Math.round(e.mediaTypeEnum)),e.copyright?.length&&(t.copyright=e.copyright),""!==e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>l.toJSON(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",description:"",popularity:0,publisher:"",language:"",isExplicit:!1,covers:void 0,numEpisodes:0,consumptionOrder:"",mediaTypeEnum:0,copyright:[],trailerUri:"",isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??"",t.name=e.name??"",t.description=e.description??"",t.popularity=e.popularity??0,t.publisher=e.publisher??"",t.language=e.language??"",t.isExplicit=e.isExplicit??!1,t.covers=void 0!==e.covers&&null!==e.covers?h.fromPartial(e.covers):void 0,t.numEpisodes=e.numEpisodes??0,t.consumptionOrder=e.consumptionOrder??"",t.mediaTypeEnum=e.mediaTypeEnum??0,t.copyright=e.copyright?.map((e=>e))||[],t.trailerUri=e.trailerUri??"",t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>l.fromPartial(e)))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};function A(e){return null!=e}var I;function O(e){switch(e){case 0:case"UNKNOWN":return I.UNKNOWN;case 1:case"NO_RESTRICTION":return I.NO_RESTRICTION;case 2:case"EXPLICIT_CONTENT":return I.EXPLICIT_CONTENT;case 3:case"AGE_RESTRICTED":return I.AGE_RESTRICTED;case 4:case"NOT_IN_CATALOGUE":return I.NOT_IN_CATALOGUE;case 5:case"NOT_AVAILABLE_OFFLINE":return I.NOT_AVAILABLE_OFFLINE;default:return I.UNRECOGNIZED}}function C(e){switch(e){case I.UNKNOWN:return"UNKNOWN";case I.NO_RESTRICTION:return"NO_RESTRICTION";case I.EXPLICIT_CONTENT:return"EXPLICIT_CONTENT";case I.AGE_RESTRICTED:return"AGE_RESTRICTED";case I.NOT_IN_CATALOGUE:return"NOT_IN_CATALOGUE";case I.NOT_AVAILABLE_OFFLINE:return"NOT_AVAILABLE_OFFLINE";case I.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NO_RESTRICTION=1]="NO_RESTRICTION",e[e.EXPLICIT_CONTENT=2]="EXPLICIT_CONTENT",e[e.AGE_RESTRICTED=3]="AGE_RESTRICTED",e[e.NOT_IN_CATALOGUE=4]="NOT_IN_CATALOGUE",e[e.NOT_AVAILABLE_OFFLINE=5]="NOT_AVAILABLE_OFFLINE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(I||(I={}));const R={encode:(e,t=o.Writer.create())=>(0!==e.timeLeft&&t.uint32(8).uint32(e.timeLeft),!0===e.isPlayable&&t.uint32(16).bool(e.isPlayable),!0===e.isPlayed&&t.uint32(24).bool(e.isPlayed),0!==e.lastPlayedAt&&t.uint32(32).uint32(e.lastPlayedAt),0!==e.playabilityRestriction&&t.uint32(40).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.uint32();continue;case 2:if(16!==e)break;r.isPlayable=n.bool();continue;case 3:if(24!==e)break;r.isPlayed=n.bool();continue;case 4:if(32!==e)break;r.lastPlayedAt=n.uint32();continue;case 5:if(40!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:N(e.timeLeft)?Number(e.timeLeft):0,isPlayable:!!N(e.isPlayable)&&Boolean(e.isPlayable),isPlayed:!!N(e.isPlayed)&&Boolean(e.isPlayed),lastPlayedAt:N(e.lastPlayedAt)?Number(e.lastPlayedAt):0,playabilityRestriction:N(e.playabilityRestriction)?O(e.playabilityRestriction):0}),toJSON(e){const t={};return 0!==e.timeLeft&&(t.timeLeft=Math.round(e.timeLeft)),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),0!==e.lastPlayedAt&&(t.lastPlayedAt=Math.round(e.lastPlayedAt)),0!==e.playabilityRestriction&&(t.playabilityRestriction=C(e.playabilityRestriction)),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};return t.timeLeft=e.timeLeft??0,t.isPlayable=e.isPlayable??!1,t.isPlayed=e.isPlayed??!1,t.lastPlayedAt=e.lastPlayedAt??0,t.playabilityRestriction=e.playabilityRestriction??0,t}};function N(e){return null!=e}var P;function L(e){switch(e){case 0:case"UNKNOWN_LABEL":return P.UNKNOWN_LABEL;case 1:case"NOT_STARTED":return P.NOT_STARTED;case 2:case"IN_PROGRESS":return P.IN_PROGRESS;case 3:case"COMPLETED":return P.COMPLETED;default:return P.UNRECOGNIZED}}function k(){return{latestPlayedEpisodeLink:"",playedTime:BigInt("0"),isPlayable:!1,playabilityRestriction:0,label:0,playedPercentage:0,resumeEpisodeLink:""}}!function(e){e[e.UNKNOWN_LABEL=0]="UNKNOWN_LABEL",e[e.NOT_STARTED=1]="NOT_STARTED",e[e.IN_PROGRESS=2]="IN_PROGRESS",e[e.COMPLETED=3]="COMPLETED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(P||(P={}));const w={encode:(e,t=o.Writer.create())=>(""!==e.latestPlayedEpisodeLink&&t.uint32(10).string(e.latestPlayedEpisodeLink),e.playedTime!==BigInt("0")&&t.uint32(16).uint64(e.playedTime.toString()),!0===e.isPlayable&&t.uint32(24).bool(e.isPlayable),0!==e.playabilityRestriction&&t.uint32(32).int32(e.playabilityRestriction),0!==e.label&&t.uint32(40).int32(e.label),0!==e.playedPercentage&&t.uint32(48).uint32(e.playedPercentage),""!==e.resumeEpisodeLink&&t.uint32(58).string(e.resumeEpisodeLink),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=k();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.latestPlayedEpisodeLink=n.string();continue;case 2:if(16!==e)break;r.playedTime=(a=n.uint64(),BigInt(a.toString()));continue;case 3:if(24!==e)break;r.isPlayable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.int32();continue;case 5:if(40!==e)break;r.label=n.int32();continue;case 6:if(48!==e)break;r.playedPercentage=n.uint32();continue;case 7:if(58!==e)break;r.resumeEpisodeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({latestPlayedEpisodeLink:D(e.latestPlayedEpisodeLink)?String(e.latestPlayedEpisodeLink):"",playedTime:D(e.playedTime)?BigInt(e.playedTime):BigInt("0"),isPlayable:!!D(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:D(e.playabilityRestriction)?O(e.playabilityRestriction):0,label:D(e.label)?L(e.label):0,playedPercentage:D(e.playedPercentage)?Number(e.playedPercentage):0,resumeEpisodeLink:D(e.resumeEpisodeLink)?String(e.resumeEpisodeLink):""}),toJSON(e){const t={};return""!==e.latestPlayedEpisodeLink&&(t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink),e.playedTime!==BigInt("0")&&(t.playedTime=e.playedTime.toString()),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),0!==e.playabilityRestriction&&(t.playabilityRestriction=C(e.playabilityRestriction)),0!==e.label&&(t.label=function(e){switch(e){case P.UNKNOWN_LABEL:return"UNKNOWN_LABEL";case P.NOT_STARTED:return"NOT_STARTED";case P.IN_PROGRESS:return"IN_PROGRESS";case P.COMPLETED:return"COMPLETED";case P.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.label)),0!==e.playedPercentage&&(t.playedPercentage=Math.round(e.playedPercentage)),""!==e.resumeEpisodeLink&&(t.resumeEpisodeLink=e.resumeEpisodeLink),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t=k();return t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink??"",t.playedTime=e.playedTime??BigInt("0"),t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??0,t.label=e.label??0,t.playedPercentage=e.playedPercentage??0,t.resumeEpisodeLink=e.resumeEpisodeLink??"",t}};function D(e){return null!=e}o.util.Long!==r&&(o.util.Long=r,o.configure());const M={encode:(e,t=o.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isNew&&t.uint32(16).bool(e.isNew),!0===e.isInListenLater&&t.uint32(24).bool(e.isInListenLater),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isNew:!1,isInListenLater:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isNew=n.bool();continue;case 3:if(24!==e)break;r.isInListenLater=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!U(e.isFollowingShow)&&Boolean(e.isFollowingShow),isNew:!!U(e.isNew)&&Boolean(e.isNew),isInListenLater:!!U(e.isInListenLater)&&Boolean(e.isInListenLater)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isNew&&(t.isNew=e.isNew),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),t},create:e=>M.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isNew:!1,isInListenLater:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isNew=e.isNew??!1,t.isInListenLater=e.isInListenLater??!1,t}};const x={encode:(e,t=o.Writer.create())=>(""!==e.offlineState&&t.uint32(10).string(e.offlineState),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={offlineState:"",syncProgress:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offlineState=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:U(e.offlineState)?String(e.offlineState):"",syncProgress:U(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offlineState&&(t.offlineState=e.offlineState),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>x.fromPartial(e??{}),fromPartial(e){const t={offlineState:"",syncProgress:0};return t.offlineState=e.offlineState??"",t.syncProgress=e.syncProgress??0,t}};function U(e){return null!=e}const V={encode:(e,t=o.Writer.create())=>(""!==e.offlineState&&t.uint32(10).string(e.offlineState),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={offlineState:"",syncProgress:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offlineState=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:F(e.offlineState)?String(e.offlineState):"",syncProgress:F(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offlineState&&(t.offlineState=e.offlineState),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t={offlineState:"",syncProgress:0};return t.offlineState=e.offlineState??"",t.syncProgress=e.syncProgress??0,t}};function F(e){return null!=e}const B={encode:(e,t=o.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={isInCollection:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{isInCollection:(t=e.isInCollection,null!=t&&Boolean(e.isInCollection))};var t},toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1};return t.isInCollection=e.isInCollection??!1,t}};const H={encode:(e,t=o.Writer.create())=>(void 0!==e.showMetadata&&T.encode(e.showMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.showCollectionState&&B.encode(e.showCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.showPlayState&&w.encode(e.showPlayState,t.uint32(26).fork()).ldelim(),""!==e.link&&t.uint32(34).string(e.link),void 0!==e.showOfflineState&&V.encode(e.showOfflineState,t.uint32(58).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,link:"",showOfflineState:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showMetadata=T.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.showCollectionState=B.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.showPlayState=w.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.link=n.string();continue;case 7:if(58!==e)break;r.showOfflineState=V.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showMetadata:j(e.showMetadata)?T.fromJSON(e.showMetadata):void 0,showCollectionState:j(e.showCollectionState)?B.fromJSON(e.showCollectionState):void 0,showPlayState:j(e.showPlayState)?w.fromJSON(e.showPlayState):void 0,link:j(e.link)?String(e.link):"",showOfflineState:j(e.showOfflineState)?V.fromJSON(e.showOfflineState):void 0}),toJSON(e){const t={};return void 0!==e.showMetadata&&(t.showMetadata=T.toJSON(e.showMetadata)),void 0!==e.showCollectionState&&(t.showCollectionState=B.toJSON(e.showCollectionState)),void 0!==e.showPlayState&&(t.showPlayState=w.toJSON(e.showPlayState)),""!==e.link&&(t.link=e.link),void 0!==e.showOfflineState&&(t.showOfflineState=V.toJSON(e.showOfflineState)),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,link:"",showOfflineState:void 0};return t.showMetadata=void 0!==e.showMetadata&&null!==e.showMetadata?T.fromPartial(e.showMetadata):void 0,t.showCollectionState=void 0!==e.showCollectionState&&null!==e.showCollectionState?B.fromPartial(e.showCollectionState):void 0,t.showPlayState=void 0!==e.showPlayState&&null!==e.showPlayState?w.fromPartial(e.showPlayState):void 0,t.link=e.link??"",t.showOfflineState=void 0!==e.showOfflineState&&null!==e.showOfflineState?V.fromPartial(e.showOfflineState):void 0,t}};const G={encode:(e,t=o.Writer.create())=>(void 0!==e.episodeMetadata&&b.encode(e.episodeMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.episodeCollectionState&&M.encode(e.episodeCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.episodeOfflineState&&x.encode(e.episodeOfflineState,t.uint32(26).fork()).ldelim(),void 0!==e.episodePlayState&&R.encode(e.episodePlayState,t.uint32(34).fork()).ldelim(),""!==e.link&&t.uint32(42).string(e.link),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,link:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodeMetadata=b.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.episodeCollectionState=M.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episodeOfflineState=x.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodePlayState=R.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodeMetadata:j(e.episodeMetadata)?b.fromJSON(e.episodeMetadata):void 0,episodeCollectionState:j(e.episodeCollectionState)?M.fromJSON(e.episodeCollectionState):void 0,episodeOfflineState:j(e.episodeOfflineState)?x.fromJSON(e.episodeOfflineState):void 0,episodePlayState:j(e.episodePlayState)?R.fromJSON(e.episodePlayState):void 0,link:j(e.link)?String(e.link):""}),toJSON(e){const t={};return void 0!==e.episodeMetadata&&(t.episodeMetadata=b.toJSON(e.episodeMetadata)),void 0!==e.episodeCollectionState&&(t.episodeCollectionState=M.toJSON(e.episodeCollectionState)),void 0!==e.episodeOfflineState&&(t.episodeOfflineState=x.toJSON(e.episodeOfflineState)),void 0!==e.episodePlayState&&(t.episodePlayState=R.toJSON(e.episodePlayState)),""!==e.link&&(t.link=e.link),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,link:""};return t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?b.fromPartial(e.episodeMetadata):void 0,t.episodeCollectionState=void 0!==e.episodeCollectionState&&null!==e.episodeCollectionState?M.fromPartial(e.episodeCollectionState):void 0,t.episodeOfflineState=void 0!==e.episodeOfflineState&&null!==e.episodeOfflineState?x.fromPartial(e.episodeOfflineState):void 0,t.episodePlayState=void 0!==e.episodePlayState&&null!==e.episodePlayState?R.fromPartial(e.episodePlayState):void 0,t.link=e.link??"",t}};const W={encode(e,t=o.Writer.create()){for(const n of e.show)H.encode(n,t.uint32(10).fork()).ldelim();for(const n of e.episode)G.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={show:[],episode:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.show.push(H.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.episode.push(G.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({show:Array.isArray(e?.show)?e.show.map((e=>H.fromJSON(e))):[],episode:Array.isArray(e?.episode)?e.episode.map((e=>G.fromJSON(e))):[]}),toJSON(e){const t={};return e.show?.length&&(t.show=e.show.map((e=>H.toJSON(e)))),e.episode?.length&&(t.episode=e.episode.map((e=>G.toJSON(e)))),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={show:[],episode:[]};return t.show=e.show?.map((e=>H.fromPartial(e)))||[],t.episode=e.episode?.map((e=>G.fromPartial(e)))||[],t}};function j(e){return null!=e}function Y(){return{overrideRestrictions:!1,onlyForLocalDevice:!1,systemInitiated:!1,onlyForPlaybackId:new Uint8Array(0)}}const z={encode:(e,t=o.Writer.create())=>(!0===e.overrideRestrictions&&t.uint32(8).bool(e.overrideRestrictions),!0===e.onlyForLocalDevice&&t.uint32(16).bool(e.onlyForLocalDevice),!0===e.systemInitiated&&t.uint32(24).bool(e.systemInitiated),0!==e.onlyForPlaybackId.length&&t.uint32(34).bytes(e.onlyForPlaybackId),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=Y();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.overrideRestrictions=n.bool();continue;case 2:if(16!==e)break;r.onlyForLocalDevice=n.bool();continue;case 3:if(24!==e)break;r.systemInitiated=n.bool();continue;case 4:if(34!==e)break;r.onlyForPlaybackId=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({overrideRestrictions:!!q(e.overrideRestrictions)&&Boolean(e.overrideRestrictions),onlyForLocalDevice:!!q(e.onlyForLocalDevice)&&Boolean(e.onlyForLocalDevice),systemInitiated:!!q(e.systemInitiated)&&Boolean(e.systemInitiated),onlyForPlaybackId:q(e.onlyForPlaybackId)?J(e.onlyForPlaybackId):new Uint8Array(0)}),toJSON(e){const t={};return!0===e.overrideRestrictions&&(t.overrideRestrictions=e.overrideRestrictions),!0===e.onlyForLocalDevice&&(t.onlyForLocalDevice=e.onlyForLocalDevice),!0===e.systemInitiated&&(t.systemInitiated=e.systemInitiated),0!==e.onlyForPlaybackId.length&&(t.onlyForPlaybackId=function(e){if(K.Buffer)return K.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),K.btoa(t.join(""))}}(e.onlyForPlaybackId)),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t=Y();return t.overrideRestrictions=e.overrideRestrictions??!1,t.onlyForLocalDevice=e.onlyForLocalDevice??!1,t.systemInitiated=e.systemInitiated??!1,t.onlyForPlaybackId=e.onlyForPlaybackId??new Uint8Array(0),t}},K=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function J(e){if(K.Buffer)return Uint8Array.from(K.Buffer.from(e,"base64"));{const t=K.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function q(e){return null!=e}function X(){return{value:BigInt("0")}}const $={encode:(e,t=o.Writer.create())=>(e.value!==BigInt("0")&&t.uint32(8).int64(e.value.toString()),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=X();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=(a=n.int64(),BigInt(a.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({value:Q(e.value)?BigInt(e.value):BigInt("0")}),toJSON(e){const t={};return e.value!==BigInt("0")&&(t.value=e.value.toString()),t},create:e=>$.fromPartial(e??{}),fromPartial(e){const t=X();return t.value=e.value??BigInt("0"),t}};const Z={encode:(e,t=o.Writer.create())=>(!0===e.value&&t.uint32(8).bool(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={value:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:!!Q(e.value)&&Boolean(e.value)}),toJSON(e){const t={};return!0===e.value&&(t.value=e.value),t},create:e=>Z.fromPartial(e??{}),fromPartial(e){const t={value:!1};return t.value=e.value??!1,t}};function Q(e){return null!=e}o.util.Long!==r&&(o.util.Long=r,o.configure());const ee={encode(e,t=o.Writer.create()){void 0!==e.commandInitiatedTime&&$.encode(e.commandInitiatedTime,t.uint32(10).fork()).ldelim(),void 0!==e.commandReceivedTime&&$.encode(e.commandReceivedTime,t.uint32(18).fork()).ldelim();for(const n of e.pageInstanceIds)t.uint32(26).string(n);for(const n of e.interactionIds)t.uint32(34).string(n);return""!==e.deviceIdentifier&&t.uint32(42).string(e.deviceIdentifier),void 0!==e.commandId&&t.uint32(50).string(e.commandId),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.commandInitiatedTime=$.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.commandReceivedTime=$.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.pageInstanceIds.push(n.string());continue;case 4:if(34!==e)break;r.interactionIds.push(n.string());continue;case 5:if(42!==e)break;r.deviceIdentifier=n.string();continue;case 6:if(50!==e)break;r.commandId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({commandInitiatedTime:te(e.commandInitiatedTime)?$.fromJSON(e.commandInitiatedTime):void 0,commandReceivedTime:te(e.commandReceivedTime)?$.fromJSON(e.commandReceivedTime):void 0,pageInstanceIds:Array.isArray(e?.pageInstanceIds)?e.pageInstanceIds.map((e=>String(e))):[],interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[],deviceIdentifier:te(e.deviceIdentifier)?String(e.deviceIdentifier):"",commandId:te(e.commandId)?String(e.commandId):void 0}),toJSON(e){const t={};return void 0!==e.commandInitiatedTime&&(t.commandInitiatedTime=$.toJSON(e.commandInitiatedTime)),void 0!==e.commandReceivedTime&&(t.commandReceivedTime=$.toJSON(e.commandReceivedTime)),e.pageInstanceIds?.length&&(t.pageInstanceIds=e.pageInstanceIds),e.interactionIds?.length&&(t.interactionIds=e.interactionIds),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),void 0!==e.commandId&&(t.commandId=e.commandId),t},create:e=>ee.fromPartial(e??{}),fromPartial(e){const t={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};return t.commandInitiatedTime=void 0!==e.commandInitiatedTime&&null!==e.commandInitiatedTime?$.fromPartial(e.commandInitiatedTime):void 0,t.commandReceivedTime=void 0!==e.commandReceivedTime&&null!==e.commandReceivedTime?$.fromPartial(e.commandReceivedTime):void 0,t.pageInstanceIds=e.pageInstanceIds?.map((e=>e))||[],t.interactionIds=e.interactionIds?.map((e=>e))||[],t.deviceIdentifier=e.deviceIdentifier??"",t.commandId=e.commandId??void 0,t}};function te(e){return null!=e}var ne,ie,oe;function re(e){switch(e){case 0:case"INTERACTIVE":return ne.INTERACTIVE;case 1:case"REMOTE_TRANSFER":return ne.REMOTE_TRANSFER;case 2:case"LICENSE_CHANGE":return ne.LICENSE_CHANGE;default:return ne.UNRECOGNIZED}}function ae(e){switch(e){case 0:case"REPLACE":return ie.REPLACE;case 1:case"ENQUEUE":return ie.ENQUEUE;case 2:case"PUSH":return ie.PUSH;default:return ie.UNRECOGNIZED}}function se(e){switch(e){case 0:case"IMMEDIATELY":return oe.IMMEDIATELY;case 1:case"ADVANCED_PAST_TRACK":return oe.ADVANCED_PAST_TRACK;case 2:case"ADVANCED_PAST_CONTEXT":return oe.ADVANCED_PAST_CONTEXT;default:return oe.UNRECOGNIZED}}!function(e){e[e.INTERACTIVE=0]="INTERACTIVE",e[e.REMOTE_TRANSFER=1]="REMOTE_TRANSFER",e[e.LICENSE_CHANGE=2]="LICENSE_CHANGE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ne||(ne={})),function(e){e[e.REPLACE=0]="REPLACE",e[e.ENQUEUE=1]="ENQUEUE",e[e.PUSH=2]="PUSH",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ie||(ie={})),function(e){e[e.IMMEDIATELY=0]="IMMEDIATELY",e[e.ADVANCED_PAST_TRACK=1]="ADVANCED_PAST_TRACK",e[e.ADVANCED_PAST_CONTEXT=2]="ADVANCED_PAST_CONTEXT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(oe||(oe={}));const ce={encode:(e,t=o.Writer.create())=>(0!==e.reason&&t.uint32(8).int32(e.reason),0!==e.operation&&t.uint32(16).int32(e.operation),0!==e.trigger&&t.uint32(24).int32(e.trigger),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={reason:0,operation:0,trigger:0,playbackSpeed:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.reason=n.int32();continue;case 2:if(16!==e)break;r.operation=n.int32();continue;case 3:if(24!==e)break;r.trigger=n.int32();continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reason:le(e.reason)?re(e.reason):0,operation:le(e.operation)?ae(e.operation):0,trigger:le(e.trigger)?se(e.trigger):0,playbackSpeed:le(e.playbackSpeed)?Number(e.playbackSpeed):void 0}),toJSON(e){const t={};return 0!==e.reason&&(t.reason=function(e){switch(e){case ne.INTERACTIVE:return"INTERACTIVE";case ne.REMOTE_TRANSFER:return"REMOTE_TRANSFER";case ne.LICENSE_CHANGE:return"LICENSE_CHANGE";case ne.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.reason)),0!==e.operation&&(t.operation=function(e){switch(e){case ie.REPLACE:return"REPLACE";case ie.ENQUEUE:return"ENQUEUE";case ie.PUSH:return"PUSH";case ie.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.operation)),0!==e.trigger&&(t.trigger=function(e){switch(e){case oe.IMMEDIATELY:return"IMMEDIATELY";case oe.ADVANCED_PAST_TRACK:return"ADVANCED_PAST_TRACK";case oe.ADVANCED_PAST_CONTEXT:return"ADVANCED_PAST_CONTEXT";case oe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.trigger)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),t},create:e=>ce.fromPartial(e??{}),fromPartial(e){const t={reason:0,operation:0,trigger:0,playbackSpeed:void 0};return t.reason=e.reason??0,t.operation=e.operation??0,t.trigger=e.trigger??0,t.playbackSpeed=e.playbackSpeed??void 0,t}};function le(e){return null!=e}const ue={encode(e,t=o.Writer.create()){""!==e.featureIdentifier&&t.uint32(10).string(e.featureIdentifier),""!==e.featureVersion&&t.uint32(18).string(e.featureVersion),""!==e.viewUri&&t.uint32(26).string(e.viewUri),""!==e.externalReferrer&&t.uint32(34).string(e.externalReferrer),""!==e.referrerIdentifier&&t.uint32(42).string(e.referrerIdentifier),""!==e.deviceIdentifier&&t.uint32(50).string(e.deviceIdentifier);for(const n of e.featureClasses)t.uint32(58).string(n);return""!==e.restrictionIdentifier&&t.uint32(66).string(e.restrictionIdentifier),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.featureIdentifier=n.string();continue;case 2:if(18!==e)break;r.featureVersion=n.string();continue;case 3:if(26!==e)break;r.viewUri=n.string();continue;case 4:if(34!==e)break;r.externalReferrer=n.string();continue;case 5:if(42!==e)break;r.referrerIdentifier=n.string();continue;case 6:if(50!==e)break;r.deviceIdentifier=n.string();continue;case 7:if(58!==e)break;r.featureClasses.push(n.string());continue;case 8:if(66!==e)break;r.restrictionIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({featureIdentifier:de(e.featureIdentifier)?String(e.featureIdentifier):"",featureVersion:de(e.featureVersion)?String(e.featureVersion):"",viewUri:de(e.viewUri)?String(e.viewUri):"",externalReferrer:de(e.externalReferrer)?String(e.externalReferrer):"",referrerIdentifier:de(e.referrerIdentifier)?String(e.referrerIdentifier):"",deviceIdentifier:de(e.deviceIdentifier)?String(e.deviceIdentifier):"",featureClasses:Array.isArray(e?.featureClasses)?e.featureClasses.map((e=>String(e))):[],restrictionIdentifier:de(e.restrictionIdentifier)?String(e.restrictionIdentifier):""}),toJSON(e){const t={};return""!==e.featureIdentifier&&(t.featureIdentifier=e.featureIdentifier),""!==e.featureVersion&&(t.featureVersion=e.featureVersion),""!==e.viewUri&&(t.viewUri=e.viewUri),""!==e.externalReferrer&&(t.externalReferrer=e.externalReferrer),""!==e.referrerIdentifier&&(t.referrerIdentifier=e.referrerIdentifier),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),e.featureClasses?.length&&(t.featureClasses=e.featureClasses),""!==e.restrictionIdentifier&&(t.restrictionIdentifier=e.restrictionIdentifier),t},create:e=>ue.fromPartial(e??{}),fromPartial(e){const t={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};return t.featureIdentifier=e.featureIdentifier??"",t.featureVersion=e.featureVersion??"",t.viewUri=e.viewUri??"",t.externalReferrer=e.externalReferrer??"",t.referrerIdentifier=e.referrerIdentifier??"",t.deviceIdentifier=e.deviceIdentifier??"",t.featureClasses=e.featureClasses?.map((e=>e))||[],t.restrictionIdentifier=e.restrictionIdentifier??"",t}};function de(e){return null!=e}const pe={encode:(e,t=o.Writer.create())=>(void 0!==e.shufflingContext&&Z.encode(e.shufflingContext,t.uint32(10).fork()).ldelim(),void 0!==e.repeatingContext&&Z.encode(e.repeatingContext,t.uint32(18).fork()).ldelim(),void 0!==e.repeatingTrack&&Z.encode(e.repeatingTrack,t.uint32(26).fork()).ldelim(),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),Object.entries(e.modes).forEach((([e,n])=>{he.encode({key:e,value:n},t.uint32(42).fork()).ldelim()})),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.shufflingContext=Z.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.repeatingContext=Z.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.repeatingTrack=Z.decode(n,n.uint32());continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue;case 5:if(42!==e)break;const t=he.decode(n,n.uint32());void 0!==t.value&&(r.modes[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shufflingContext:me(e.shufflingContext)?Z.fromJSON(e.shufflingContext):void 0,repeatingContext:me(e.repeatingContext)?Z.fromJSON(e.repeatingContext):void 0,repeatingTrack:me(e.repeatingTrack)?Z.fromJSON(e.repeatingTrack):void 0,playbackSpeed:me(e.playbackSpeed)?Number(e.playbackSpeed):void 0,modes:fe(e.modes)?Object.entries(e.modes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(void 0!==e.shufflingContext&&(t.shufflingContext=Z.toJSON(e.shufflingContext)),void 0!==e.repeatingContext&&(t.repeatingContext=Z.toJSON(e.repeatingContext)),void 0!==e.repeatingTrack&&(t.repeatingTrack=Z.toJSON(e.repeatingTrack)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),e.modes){const n=Object.entries(e.modes);n.length>0&&(t.modes={},n.forEach((([e,n])=>{t.modes[e]=n})))}return t},create:e=>pe.fromPartial(e??{}),fromPartial(e){const t={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};return t.shufflingContext=void 0!==e.shufflingContext&&null!==e.shufflingContext?Z.fromPartial(e.shufflingContext):void 0,t.repeatingContext=void 0!==e.repeatingContext&&null!==e.repeatingContext?Z.fromPartial(e.repeatingContext):void 0,t.repeatingTrack=void 0!==e.repeatingTrack&&null!==e.repeatingTrack?Z.fromPartial(e.repeatingTrack):void 0,t.playbackSpeed=e.playbackSpeed??void 0,t.modes=Object.entries(e.modes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const he={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:me(e.key)?String(e.key):"",value:me(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>he.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function fe(e){return"object"==typeof e&&null!==e}function me(e){return null!=e}const _e={encode:(e,t=o.Writer.create())=>(""!==e.pageUrl&&t.uint32(10).string(e.pageUrl),void 0!==e.pageIndex&&$.encode(e.pageIndex,t.uint32(18).fork()).ldelim(),""!==e.trackUid&&t.uint32(26).string(e.trackUid),""!==e.trackUri&&t.uint32(34).string(e.trackUri),void 0!==e.trackIndex&&$.encode(e.trackIndex,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pageUrl=n.string();continue;case 2:if(18!==e)break;r.pageIndex=$.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackUid=n.string();continue;case 4:if(34!==e)break;r.trackUri=n.string();continue;case 5:if(42!==e)break;r.trackIndex=$.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pageUrl:ge(e.pageUrl)?String(e.pageUrl):"",pageIndex:ge(e.pageIndex)?$.fromJSON(e.pageIndex):void 0,trackUid:ge(e.trackUid)?String(e.trackUid):"",trackUri:ge(e.trackUri)?String(e.trackUri):"",trackIndex:ge(e.trackIndex)?$.fromJSON(e.trackIndex):void 0}),toJSON(e){const t={};return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),void 0!==e.pageIndex&&(t.pageIndex=$.toJSON(e.pageIndex)),""!==e.trackUid&&(t.trackUid=e.trackUid),""!==e.trackUri&&(t.trackUri=e.trackUri),void 0!==e.trackIndex&&(t.trackIndex=$.toJSON(e.trackIndex)),t},create:e=>_e.fromPartial(e??{}),fromPartial(e){const t={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};return t.pageUrl=e.pageUrl??"",t.pageIndex=void 0!==e.pageIndex&&null!==e.pageIndex?$.fromPartial(e.pageIndex):void 0,t.trackUid=e.trackUid??"",t.trackUri=e.trackUri??"",t.trackIndex=void 0!==e.trackIndex&&null!==e.trackIndex?$.fromPartial(e.trackIndex):void 0,t}};function ge(e){return null!=e}var Ee,ve;function ye(e){switch(e){case 0:case"NONE":return Ee.NONE;case 1:case"MEDIA":return Ee.MEDIA;default:return Ee.UNRECOGNIZED}}function be(e){switch(e){case 0:case"DEFAULT":return ve.DEFAULT;case 1:case"ALARM":return ve.ALARM;default:return ve.UNRECOGNIZED}}function Se(){return{playbackId:new Uint8Array(0),alwaysPlaySomething:!1,skipTo:void 0,seekTo:void 0,initiallyPaused:!1,systemInitiated:!1,playerOptionsOverride:void 0,suppressions:[],prefetchLevel:0,audioStream:0,sessionId:"",license:"",configurationOverride:{}}}!function(e){e[e.NONE=0]="NONE",e[e.MEDIA=1]="MEDIA",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ee||(Ee={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ALARM=1]="ALARM",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ve||(ve={}));const Te={encode(e,t=o.Writer.create()){0!==e.playbackId.length&&t.uint32(10).bytes(e.playbackId),!0===e.alwaysPlaySomething&&t.uint32(16).bool(e.alwaysPlaySomething),void 0!==e.skipTo&&_e.encode(e.skipTo,t.uint32(26).fork()).ldelim(),void 0!==e.seekTo&&$.encode(e.seekTo,t.uint32(34).fork()).ldelim(),!0===e.initiallyPaused&&t.uint32(40).bool(e.initiallyPaused),!0===e.systemInitiated&&t.uint32(48).bool(e.systemInitiated),void 0!==e.playerOptionsOverride&&pe.encode(e.playerOptionsOverride,t.uint32(58).fork()).ldelim();for(const n of e.suppressions)t.uint32(66).string(n);return 0!==e.prefetchLevel&&t.uint32(72).int32(e.prefetchLevel),0!==e.audioStream&&t.uint32(80).int32(e.audioStream),""!==e.sessionId&&t.uint32(90).string(e.sessionId),""!==e.license&&t.uint32(98).string(e.license),Object.entries(e.configurationOverride).forEach((([e,n])=>{Ae.encode({key:e,value:n},t.uint32(106).fork()).ldelim()})),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=Se();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playbackId=n.bytes();continue;case 2:if(16!==e)break;r.alwaysPlaySomething=n.bool();continue;case 3:if(26!==e)break;r.skipTo=_e.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.seekTo=$.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.initiallyPaused=n.bool();continue;case 6:if(48!==e)break;r.systemInitiated=n.bool();continue;case 7:if(58!==e)break;r.playerOptionsOverride=pe.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.suppressions.push(n.string());continue;case 9:if(72!==e)break;r.prefetchLevel=n.int32();continue;case 10:if(80!==e)break;r.audioStream=n.int32();continue;case 11:if(90!==e)break;r.sessionId=n.string();continue;case 12:if(98!==e)break;r.license=n.string();continue;case 13:if(106!==e)break;const t=Ae.decode(n,n.uint32());void 0!==t.value&&(r.configurationOverride[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{playbackId:Ce(e.playbackId)?Oe(e.playbackId):new Uint8Array(0),alwaysPlaySomething:!!Ce(e.alwaysPlaySomething)&&Boolean(e.alwaysPlaySomething),skipTo:Ce(e.skipTo)?_e.fromJSON(e.skipTo):void 0,seekTo:Ce(e.seekTo)?$.fromJSON(e.seekTo):void 0,initiallyPaused:!!Ce(e.initiallyPaused)&&Boolean(e.initiallyPaused),systemInitiated:!!Ce(e.systemInitiated)&&Boolean(e.systemInitiated),playerOptionsOverride:Ce(e.playerOptionsOverride)?pe.fromJSON(e.playerOptionsOverride):void 0,suppressions:Array.isArray(e?.suppressions)?e.suppressions.map((e=>String(e))):[],prefetchLevel:Ce(e.prefetchLevel)?ye(e.prefetchLevel):0,audioStream:Ce(e.audioStream)?be(e.audioStream):0,sessionId:Ce(e.sessionId)?String(e.sessionId):"",license:Ce(e.license)?String(e.license):"",configurationOverride:(t=e.configurationOverride,"object"==typeof t&&null!==t?Object.entries(e.configurationOverride).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(0!==e.playbackId.length&&(t.playbackId=function(e){if(Ie.Buffer)return Ie.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),Ie.btoa(t.join(""))}}(e.playbackId)),!0===e.alwaysPlaySomething&&(t.alwaysPlaySomething=e.alwaysPlaySomething),void 0!==e.skipTo&&(t.skipTo=_e.toJSON(e.skipTo)),void 0!==e.seekTo&&(t.seekTo=$.toJSON(e.seekTo)),!0===e.initiallyPaused&&(t.initiallyPaused=e.initiallyPaused),!0===e.systemInitiated&&(t.systemInitiated=e.systemInitiated),void 0!==e.playerOptionsOverride&&(t.playerOptionsOverride=pe.toJSON(e.playerOptionsOverride)),e.suppressions?.length&&(t.suppressions=e.suppressions),0!==e.prefetchLevel&&(t.prefetchLevel=function(e){switch(e){case Ee.NONE:return"NONE";case Ee.MEDIA:return"MEDIA";case Ee.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.prefetchLevel)),0!==e.audioStream&&(t.audioStream=function(e){switch(e){case ve.DEFAULT:return"DEFAULT";case ve.ALARM:return"ALARM";case ve.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.audioStream)),""!==e.sessionId&&(t.sessionId=e.sessionId),""!==e.license&&(t.license=e.license),e.configurationOverride){const n=Object.entries(e.configurationOverride);n.length>0&&(t.configurationOverride={},n.forEach((([e,n])=>{t.configurationOverride[e]=n})))}return t},create:e=>Te.fromPartial(e??{}),fromPartial(e){const t=Se();return t.playbackId=e.playbackId??new Uint8Array(0),t.alwaysPlaySomething=e.alwaysPlaySomething??!1,t.skipTo=void 0!==e.skipTo&&null!==e.skipTo?_e.fromPartial(e.skipTo):void 0,t.seekTo=void 0!==e.seekTo&&null!==e.seekTo?$.fromPartial(e.seekTo):void 0,t.initiallyPaused=e.initiallyPaused??!1,t.systemInitiated=e.systemInitiated??!1,t.playerOptionsOverride=void 0!==e.playerOptionsOverride&&null!==e.playerOptionsOverride?pe.fromPartial(e.playerOptionsOverride):void 0,t.suppressions=e.suppressions?.map((e=>e))||[],t.prefetchLevel=e.prefetchLevel??0,t.audioStream=e.audioStream??0,t.sessionId=e.sessionId??"",t.license=e.license??"",t.configurationOverride=Object.entries(e.configurationOverride??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const Ae={encode:(e,t=o.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Ce(e.key)?String(e.key):"",value:Ce(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Ae.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}},Ie=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function Oe(e){if(Ie.Buffer)return Uint8Array.from(Ie.Buffer.from(e,"base64"));{const t=Ie.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function Ce(e){return null!=e}const Re={encode(e,t=o.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.length&&t.uint32(16).bool(e.length),!0===e.name&&t.uint32(24).bool(e.name),!0===e.manifestId&&t.uint32(32).bool(e.manifestId),!0===e.previewId&&t.uint32(40).bool(e.previewId),!0===e.previewManifestId&&t.uint32(48).bool(e.previewManifestId),!0===e.description&&t.uint32(56).bool(e.description),!0===e.publishDate&&t.uint32(64).bool(e.publishDate),!0===e.covers&&t.uint32(72).bool(e.covers),!0===e.freezeFrames&&t.uint32(80).bool(e.freezeFrames),!0===e.language&&t.uint32(88).bool(e.language),!0===e.available&&t.uint32(96).bool(e.available),!0===e.mediaTypeEnum&&t.uint32(104).bool(e.mediaTypeEnum),!0===e.number&&t.uint32(112).bool(e.number),!0===e.backgroundable&&t.uint32(120).bool(e.backgroundable),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),!0===e.type&&t.uint32(136).bool(e.type),!0===e.isMusicAndTalk&&t.uint32(144).bool(e.isMusicAndTalk),t.uint32(170).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.is19PlusOnly&&t.uint32(176).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(184).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(192).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(200).bool(e.isCurated),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.length=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.manifestId=n.bool();continue;case 5:if(40!==e)break;r.previewId=n.bool();continue;case 6:if(48!==e)break;r.previewManifestId=n.bool();continue;case 7:if(56!==e)break;r.description=n.bool();continue;case 8:if(64!==e)break;r.publishDate=n.bool();continue;case 9:if(72!==e)break;r.covers=n.bool();continue;case 10:if(80!==e)break;r.freezeFrames=n.bool();continue;case 11:if(88!==e)break;r.language=n.bool();continue;case 12:if(96!==e)break;r.available=n.bool();continue;case 13:if(104!==e)break;r.mediaTypeEnum=n.bool();continue;case 14:if(112!==e)break;r.number=n.bool();continue;case 15:if(120!==e)break;r.backgroundable=n.bool();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(136!==e)break;r.type=n.bool();continue;case 18:if(144!==e)break;r.isMusicAndTalk=n.bool();continue;case 21:if(168===e){r.extension.push(n.int32());continue}if(170===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 22:if(176!==e)break;r.is19PlusOnly=n.bool();continue;case 23:if(184!==e)break;r.isBookChapter=n.bool();continue;case 24:if(192!==e)break;r.isPodcastShort=n.bool();continue;case 25:if(200!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!ke(e.link)&&Boolean(e.link),length:!!ke(e.length)&&Boolean(e.length),name:!!ke(e.name)&&Boolean(e.name),manifestId:!!ke(e.manifestId)&&Boolean(e.manifestId),previewId:!!ke(e.previewId)&&Boolean(e.previewId),previewManifestId:!!ke(e.previewManifestId)&&Boolean(e.previewManifestId),description:!!ke(e.description)&&Boolean(e.description),publishDate:!!ke(e.publishDate)&&Boolean(e.publishDate),covers:!!ke(e.covers)&&Boolean(e.covers),freezeFrames:!!ke(e.freezeFrames)&&Boolean(e.freezeFrames),language:!!ke(e.language)&&Boolean(e.language),available:!!ke(e.available)&&Boolean(e.available),mediaTypeEnum:!!ke(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),number:!!ke(e.number)&&Boolean(e.number),backgroundable:!!ke(e.backgroundable)&&Boolean(e.backgroundable),isExplicit:!!ke(e.isExplicit)&&Boolean(e.isExplicit),type:!!ke(e.type)&&Boolean(e.type),isMusicAndTalk:!!ke(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>a(e))):[],is19PlusOnly:!!ke(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!ke(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!ke(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!ke(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.length&&(t.length=e.length),!0===e.name&&(t.name=e.name),!0===e.manifestId&&(t.manifestId=e.manifestId),!0===e.previewId&&(t.previewId=e.previewId),!0===e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.description&&(t.description=e.description),!0===e.publishDate&&(t.publishDate=e.publishDate),!0===e.covers&&(t.covers=e.covers),!0===e.freezeFrames&&(t.freezeFrames=e.freezeFrames),!0===e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.number&&(t.number=e.number),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.type&&(t.type=e.type),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>s(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>Re.fromPartial(e??{}),fromPartial(e){const t={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};return t.link=e.link??!1,t.length=e.length??!1,t.name=e.name??!1,t.manifestId=e.manifestId??!1,t.previewId=e.previewId??!1,t.previewManifestId=e.previewManifestId??!1,t.description=e.description??!1,t.publishDate=e.publishDate??!1,t.covers=e.covers??!1,t.freezeFrames=e.freezeFrames??!1,t.language=e.language??!1,t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.number=e.number??!1,t.backgroundable=e.backgroundable??!1,t.isExplicit=e.isExplicit??!1,t.type=e.type??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};const Ne={encode:(e,t=o.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isInListenLater&&t.uint32(16).bool(e.isInListenLater),!0===e.isNew&&t.uint32(24).bool(e.isNew),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isInListenLater:!1,isNew:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isInListenLater=n.bool();continue;case 3:if(24!==e)break;r.isNew=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!ke(e.isFollowingShow)&&Boolean(e.isFollowingShow),isInListenLater:!!ke(e.isInListenLater)&&Boolean(e.isInListenLater),isNew:!!ke(e.isNew)&&Boolean(e.isNew)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),!0===e.isNew&&(t.isNew=e.isNew),t},create:e=>Ne.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isInListenLater:!1,isNew:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isInListenLater=e.isInListenLater??!1,t.isNew=e.isNew??!1,t}};const Pe={encode:(e,t=o.Writer.create())=>(!0===e.offline&&t.uint32(8).bool(e.offline),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={offline:!1,syncProgress:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offline=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:!!ke(e.offline)&&Boolean(e.offline),syncProgress:!!ke(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>Pe.fromPartial(e??{}),fromPartial(e){const t={offline:!1,syncProgress:!1};return t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t}};const Le={encode:(e,t=o.Writer.create())=>(!0===e.timeLeft&&t.uint32(8).bool(e.timeLeft),!0===e.isPlayed&&t.uint32(16).bool(e.isPlayed),!0===e.playable&&t.uint32(24).bool(e.playable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.lastPlayedAt&&t.uint32(40).bool(e.lastPlayedAt),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.bool();continue;case 2:if(16!==e)break;r.isPlayed=n.bool();continue;case 3:if(24!==e)break;r.playable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.lastPlayedAt=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:!!ke(e.timeLeft)&&Boolean(e.timeLeft),isPlayed:!!ke(e.isPlayed)&&Boolean(e.isPlayed),playable:!!ke(e.playable)&&Boolean(e.playable),playabilityRestriction:!!ke(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),lastPlayedAt:!!ke(e.lastPlayedAt)&&Boolean(e.lastPlayedAt)}),toJSON(e){const t={};return!0===e.timeLeft&&(t.timeLeft=e.timeLeft),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),!0===e.playable&&(t.playable=e.playable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.lastPlayedAt&&(t.lastPlayedAt=e.lastPlayedAt),t},create:e=>Le.fromPartial(e??{}),fromPartial(e){const t={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};return t.timeLeft=e.timeLeft??!1,t.isPlayed=e.isPlayed??!1,t.playable=e.playable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.lastPlayedAt=e.lastPlayedAt??!1,t}};function ke(e){return null!=e}const we={encode(e,t=o.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.description&&t.uint32(24).bool(e.description),!0===e.popularity&&t.uint32(32).bool(e.popularity),!0===e.publisher&&t.uint32(40).bool(e.publisher),!0===e.language&&t.uint32(48).bool(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),!0===e.covers&&t.uint32(64).bool(e.covers),!0===e.numEpisodes&&t.uint32(72).bool(e.numEpisodes),!0===e.consumptionOrder&&t.uint32(80).bool(e.consumptionOrder),!0===e.mediaTypeEnum&&t.uint32(88).bool(e.mediaTypeEnum),!0===e.copyrights&&t.uint32(96).bool(e.copyrights),!0===e.trailerUri&&t.uint32(104).bool(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk),t.uint32(130).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isBook&&t.uint32(136).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(144).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.description=n.bool();continue;case 4:if(32!==e)break;r.popularity=n.bool();continue;case 5:if(40!==e)break;r.publisher=n.bool();continue;case 6:if(48!==e)break;r.language=n.bool();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(64!==e)break;r.covers=n.bool();continue;case 9:if(72!==e)break;r.numEpisodes=n.bool();continue;case 10:if(80!==e)break;r.consumptionOrder=n.bool();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.bool();continue;case 12:if(96!==e)break;r.copyrights=n.bool();continue;case 13:if(104!==e)break;r.trailerUri=n.bool();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 16:if(128===e){r.extension.push(n.int32());continue}if(130===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 17:if(136!==e)break;r.isBook=n.bool();continue;case 18:if(144!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!Ue(e.link)&&Boolean(e.link),name:!!Ue(e.name)&&Boolean(e.name),description:!!Ue(e.description)&&Boolean(e.description),popularity:!!Ue(e.popularity)&&Boolean(e.popularity),publisher:!!Ue(e.publisher)&&Boolean(e.publisher),language:!!Ue(e.language)&&Boolean(e.language),isExplicit:!!Ue(e.isExplicit)&&Boolean(e.isExplicit),covers:!!Ue(e.covers)&&Boolean(e.covers),numEpisodes:!!Ue(e.numEpisodes)&&Boolean(e.numEpisodes),consumptionOrder:!!Ue(e.consumptionOrder)&&Boolean(e.consumptionOrder),mediaTypeEnum:!!Ue(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),copyrights:!!Ue(e.copyrights)&&Boolean(e.copyrights),trailerUri:!!Ue(e.trailerUri)&&Boolean(e.trailerUri),isMusicAndTalk:!!Ue(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>a(e))):[],isBook:!!Ue(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!Ue(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.description&&(t.description=e.description),!0===e.popularity&&(t.popularity=e.popularity),!0===e.publisher&&(t.publisher=e.publisher),!0===e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.covers&&(t.covers=e.covers),!0===e.numEpisodes&&(t.numEpisodes=e.numEpisodes),!0===e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>s(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>we.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??!1,t.name=e.name??!1,t.description=e.description??!1,t.popularity=e.popularity??!1,t.publisher=e.publisher??!1,t.language=e.language??!1,t.isExplicit=e.isExplicit??!1,t.covers=e.covers??!1,t.numEpisodes=e.numEpisodes??!1,t.consumptionOrder=e.consumptionOrder??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.copyrights=e.copyrights??!1,t.trailerUri=e.trailerUri??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};const De={encode:(e,t=o.Writer.create())=>(!0===e.latestPlayedEpisodeLink&&t.uint32(8).bool(e.latestPlayedEpisodeLink),!0===e.playedTime&&t.uint32(16).bool(e.playedTime),!0===e.isPlayable&&t.uint32(24).bool(e.isPlayable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.label&&t.uint32(40).bool(e.label),!0===e.resumeEpisodeLink&&t.uint32(56).bool(e.resumeEpisodeLink),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={latestPlayedEpisodeLink:!1,playedTime:!1,isPlayable:!1,playabilityRestriction:!1,label:!1,resumeEpisodeLink:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.latestPlayedEpisodeLink=n.bool();continue;case 2:if(16!==e)break;r.playedTime=n.bool();continue;case 3:if(24!==e)break;r.isPlayable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.label=n.bool();continue;case 7:if(56!==e)break;r.resumeEpisodeLink=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({latestPlayedEpisodeLink:!!Ue(e.latestPlayedEpisodeLink)&&Boolean(e.latestPlayedEpisodeLink),playedTime:!!Ue(e.playedTime)&&Boolean(e.playedTime),isPlayable:!!Ue(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:!!Ue(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),label:!!Ue(e.label)&&Boolean(e.label),resumeEpisodeLink:!!Ue(e.resumeEpisodeLink)&&Boolean(e.resumeEpisodeLink)}),toJSON(e){const t={};return!0===e.latestPlayedEpisodeLink&&(t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink),!0===e.playedTime&&(t.playedTime=e.playedTime),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.label&&(t.label=e.label),!0===e.resumeEpisodeLink&&(t.resumeEpisodeLink=e.resumeEpisodeLink),t},create:e=>De.fromPartial(e??{}),fromPartial(e){const t={latestPlayedEpisodeLink:!1,playedTime:!1,isPlayable:!1,playabilityRestriction:!1,label:!1,resumeEpisodeLink:!1};return t.latestPlayedEpisodeLink=e.latestPlayedEpisodeLink??!1,t.playedTime=e.playedTime??!1,t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.label=e.label??!1,t.resumeEpisodeLink=e.resumeEpisodeLink??!1,t}};const Me={encode:(e,t=o.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={isInCollection:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!Ue(e.isInCollection)&&Boolean(e.isInCollection)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),t},create:e=>Me.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1};return t.isInCollection=e.isInCollection??!1,t}};const xe={encode:(e,t=o.Writer.create())=>(!0===e.offline&&t.uint32(8).bool(e.offline),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={offline:!1,syncProgress:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offline=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:!!Ue(e.offline)&&Boolean(e.offline),syncProgress:!!Ue(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>xe.fromPartial(e??{}),fromPartial(e){const t={offline:!1,syncProgress:!1};return t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t}};function Ue(e){return null!=e}var Ve;function Fe(e){switch(e){case 0:case"UNKNOWN":return Ve.UNKNOWN;case 1:case"TRAILER":return Ve.TRAILER;case 2:case"CONTINUE_LISTENING":return Ve.CONTINUE_LISTENING;case 3:case"LATEST_PUBLISHED":return Ve.LATEST_PUBLISHED;case 4:case"UP_NEXT":return Ve.UP_NEXT;case 5:case"FIRST_PUBLISHED":return Ve.FIRST_PUBLISHED;default:return Ve.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TRAILER=1]="TRAILER",e[e.CONTINUE_LISTENING=2]="CONTINUE_LISTENING",e[e.LATEST_PUBLISHED=3]="LATEST_PUBLISHED",e[e.UP_NEXT=4]="UP_NEXT",e[e.FIRST_PUBLISHED=5]="FIRST_PUBLISHED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ve||(Ve={}));const Be={encode:(e,t=o.Writer.create())=>(""!==e.headerField&&t.uint32(10).string(e.headerField),void 0!==e.episodeMetadata&&b.encode(e.episodeMetadata,t.uint32(18).fork()).ldelim(),void 0!==e.episodeCollectionState&&M.encode(e.episodeCollectionState,t.uint32(26).fork()).ldelim(),void 0!==e.episodeOfflineState&&x.encode(e.episodeOfflineState,t.uint32(34).fork()).ldelim(),void 0!==e.episodePlayState&&R.encode(e.episodePlayState,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={headerField:"",episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.headerField=n.string();continue;case 2:if(18!==e)break;r.episodeMetadata=b.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episodeCollectionState=M.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodeOfflineState=x.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.episodePlayState=R.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({headerField:qe(e.headerField)?String(e.headerField):"",episodeMetadata:qe(e.episodeMetadata)?b.fromJSON(e.episodeMetadata):void 0,episodeCollectionState:qe(e.episodeCollectionState)?M.fromJSON(e.episodeCollectionState):void 0,episodeOfflineState:qe(e.episodeOfflineState)?x.fromJSON(e.episodeOfflineState):void 0,episodePlayState:qe(e.episodePlayState)?R.fromJSON(e.episodePlayState):void 0}),toJSON(e){const t={};return""!==e.headerField&&(t.headerField=e.headerField),void 0!==e.episodeMetadata&&(t.episodeMetadata=b.toJSON(e.episodeMetadata)),void 0!==e.episodeCollectionState&&(t.episodeCollectionState=M.toJSON(e.episodeCollectionState)),void 0!==e.episodeOfflineState&&(t.episodeOfflineState=x.toJSON(e.episodeOfflineState)),void 0!==e.episodePlayState&&(t.episodePlayState=R.toJSON(e.episodePlayState)),t},create:e=>Be.fromPartial(e??{}),fromPartial(e){const t={headerField:"",episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0};return t.headerField=e.headerField??"",t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?b.fromPartial(e.episodeMetadata):void 0,t.episodeCollectionState=void 0!==e.episodeCollectionState&&null!==e.episodeCollectionState?M.fromPartial(e.episodeCollectionState):void 0,t.episodeOfflineState=void 0!==e.episodeOfflineState&&null!==e.episodeOfflineState?x.fromPartial(e.episodeOfflineState):void 0,t.episodePlayState=void 0!==e.episodePlayState&&null!==e.episodePlayState?R.fromPartial(e.episodePlayState):void 0,t}};const He={encode:(e,t=o.Writer.create())=>(void 0!==e.showMetadata&&T.encode(e.showMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.showCollectionState&&B.encode(e.showCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.showPlayState&&w.encode(e.showPlayState,t.uint32(26).fork()).ldelim(),void 0!==e.showOfflineState&&V.encode(e.showOfflineState,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,showOfflineState:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showMetadata=T.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.showCollectionState=B.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.showPlayState=w.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.showOfflineState=V.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showMetadata:qe(e.showMetadata)?T.fromJSON(e.showMetadata):void 0,showCollectionState:qe(e.showCollectionState)?B.fromJSON(e.showCollectionState):void 0,showPlayState:qe(e.showPlayState)?w.fromJSON(e.showPlayState):void 0,showOfflineState:qe(e.showOfflineState)?V.fromJSON(e.showOfflineState):void 0}),toJSON(e){const t={};return void 0!==e.showMetadata&&(t.showMetadata=T.toJSON(e.showMetadata)),void 0!==e.showCollectionState&&(t.showCollectionState=B.toJSON(e.showCollectionState)),void 0!==e.showPlayState&&(t.showPlayState=w.toJSON(e.showPlayState)),void 0!==e.showOfflineState&&(t.showOfflineState=V.toJSON(e.showOfflineState)),t},create:e=>He.fromPartial(e??{}),fromPartial(e){const t={showMetadata:void 0,showCollectionState:void 0,showPlayState:void 0,showOfflineState:void 0};return t.showMetadata=void 0!==e.showMetadata&&null!==e.showMetadata?T.fromPartial(e.showMetadata):void 0,t.showCollectionState=void 0!==e.showCollectionState&&null!==e.showCollectionState?B.fromPartial(e.showCollectionState):void 0,t.showPlayState=void 0!==e.showPlayState&&null!==e.showPlayState?w.fromPartial(e.showPlayState):void 0,t.showOfflineState=void 0!==e.showOfflineState&&null!==e.showOfflineState?V.fromPartial(e.showOfflineState):void 0,t}};const Ge={encode(e,t=o.Writer.create()){for(const n of e.item)Be.encode(n,t.uint32(10).fork()).ldelim();return void 0!==e.header&&He.encode(e.header,t.uint32(18).fork()).ldelim(),0!==e.unfilteredLength&&t.uint32(32).uint32(e.unfilteredLength),0!==e.length&&t.uint32(40).uint32(e.length),!0===e.loadingContents&&t.uint32(48).bool(e.loadingContents),0!==e.unrangedLength&&t.uint32(56).uint32(e.unrangedLength),void 0!==e.auxiliarySections&&We.encode(e.auxiliarySections,t.uint32(66).fork()).ldelim(),0!==e.rangeOffset&&t.uint32(80).uint32(e.rangeOffset),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={item:[],header:void 0,unfilteredLength:0,length:0,loadingContents:!1,unrangedLength:0,auxiliarySections:void 0,rangeOffset:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item.push(Be.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.header=He.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.unfilteredLength=n.uint32();continue;case 5:if(40!==e)break;r.length=n.uint32();continue;case 6:if(48!==e)break;r.loadingContents=n.bool();continue;case 7:if(56!==e)break;r.unrangedLength=n.uint32();continue;case 8:if(66!==e)break;r.auxiliarySections=We.decode(n,n.uint32());continue;case 10:if(80!==e)break;r.rangeOffset=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:Array.isArray(e?.items)?e.items.map((e=>Be.fromJSON(e))):[],header:qe(e.header)?He.fromJSON(e.header):void 0,unfilteredLength:qe(e.unfilteredLength)?Number(e.unfilteredLength):0,length:qe(e.length)?Number(e.length):0,loadingContents:!!qe(e.loadingContents)&&Boolean(e.loadingContents),unrangedLength:qe(e.unrangedLength)?Number(e.unrangedLength):0,auxiliarySections:qe(e.auxiliarySections)?We.fromJSON(e.auxiliarySections):void 0,rangeOffset:qe(e.rangeOffset)?Number(e.rangeOffset):0}),toJSON(e){const t={};return e.item?.length&&(t.items=e.item.map((e=>Be.toJSON(e)))),void 0!==e.header&&(t.header=He.toJSON(e.header)),0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.length&&(t.length=Math.round(e.length)),!0===e.loadingContents&&(t.loadingContents=e.loadingContents),0!==e.unrangedLength&&(t.unrangedLength=Math.round(e.unrangedLength)),void 0!==e.auxiliarySections&&(t.auxiliarySections=We.toJSON(e.auxiliarySections)),0!==e.rangeOffset&&(t.rangeOffset=Math.round(e.rangeOffset)),t},create:e=>Ge.fromPartial(e??{}),fromPartial(e){const t={item:[],header:void 0,unfilteredLength:0,length:0,loadingContents:!1,unrangedLength:0,auxiliarySections:void 0,rangeOffset:0};return t.item=e.item?.map((e=>Be.fromPartial(e)))||[],t.header=void 0!==e.header&&null!==e.header?He.fromPartial(e.header):void 0,t.unfilteredLength=e.unfilteredLength??0,t.length=e.length??0,t.loadingContents=e.loadingContents??!1,t.unrangedLength=e.unrangedLength??0,t.auxiliarySections=void 0!==e.auxiliarySections&&null!==e.auxiliarySections?We.fromPartial(e.auxiliarySections):void 0,t.rangeOffset=e.rangeOffset??0,t}};const We={encode:(e,t=o.Writer.create())=>(void 0!==e.continueListening&&je.encode(e.continueListening,t.uint32(10).fork()).ldelim(),void 0!==e.trailerSection&&Ye.encode(e.trailerSection,t.uint32(26).fork()).ldelim(),void 0!==e.latestUnplayedEpisodeSection&&ze.encode(e.latestUnplayedEpisodeSection,t.uint32(74).fork()).ldelim(),void 0!==e.nextBestEpisodeSection&&Ke.encode(e.nextBestEpisodeSection,t.uint32(82).fork()).ldelim(),void 0!==e.savedEpisodesSection&&Je.encode(e.savedEpisodesSection,t.uint32(90).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={continueListening:void 0,trailerSection:void 0,latestUnplayedEpisodeSection:void 0,nextBestEpisodeSection:void 0,savedEpisodesSection:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.continueListening=je.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trailerSection=Ye.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.latestUnplayedEpisodeSection=ze.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.nextBestEpisodeSection=Ke.decode(n,n.uint32());continue;case 11:if(90!==e)break;r.savedEpisodesSection=Je.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({continueListening:qe(e.continueListening)?je.fromJSON(e.continueListening):void 0,trailerSection:qe(e.trailerSection)?Ye.fromJSON(e.trailerSection):void 0,latestUnplayedEpisodeSection:qe(e.latestUnplayedEpisodeSection)?ze.fromJSON(e.latestUnplayedEpisodeSection):void 0,nextBestEpisodeSection:qe(e.nextBestEpisodeSection)?Ke.fromJSON(e.nextBestEpisodeSection):void 0,savedEpisodesSection:qe(e.savedEpisodesSection)?Je.fromJSON(e.savedEpisodesSection):void 0}),toJSON(e){const t={};return void 0!==e.continueListening&&(t.continueListening=je.toJSON(e.continueListening)),void 0!==e.trailerSection&&(t.trailerSection=Ye.toJSON(e.trailerSection)),void 0!==e.latestUnplayedEpisodeSection&&(t.latestUnplayedEpisodeSection=ze.toJSON(e.latestUnplayedEpisodeSection)),void 0!==e.nextBestEpisodeSection&&(t.nextBestEpisodeSection=Ke.toJSON(e.nextBestEpisodeSection)),void 0!==e.savedEpisodesSection&&(t.savedEpisodesSection=Je.toJSON(e.savedEpisodesSection)),t},create:e=>We.fromPartial(e??{}),fromPartial(e){const t={continueListening:void 0,trailerSection:void 0,latestUnplayedEpisodeSection:void 0,nextBestEpisodeSection:void 0,savedEpisodesSection:void 0};return t.continueListening=void 0!==e.continueListening&&null!==e.continueListening?je.fromPartial(e.continueListening):void 0,t.trailerSection=void 0!==e.trailerSection&&null!==e.trailerSection?Ye.fromPartial(e.trailerSection):void 0,t.latestUnplayedEpisodeSection=void 0!==e.latestUnplayedEpisodeSection&&null!==e.latestUnplayedEpisodeSection?ze.fromPartial(e.latestUnplayedEpisodeSection):void 0,t.nextBestEpisodeSection=void 0!==e.nextBestEpisodeSection&&null!==e.nextBestEpisodeSection?Ke.fromPartial(e.nextBestEpisodeSection):void 0,t.savedEpisodesSection=void 0!==e.savedEpisodesSection&&null!==e.savedEpisodesSection?Je.fromPartial(e.savedEpisodesSection):void 0,t}};const je={encode:(e,t=o.Writer.create())=>(void 0!==e.item&&Be.encode(e.item,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={item:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item=Be.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:qe(e.item)?Be.fromJSON(e.item):void 0}),toJSON(e){const t={};return void 0!==e.item&&(t.item=Be.toJSON(e.item)),t},create:e=>je.fromPartial(e??{}),fromPartial(e){const t={item:void 0};return t.item=void 0!==e.item&&null!==e.item?Be.fromPartial(e.item):void 0,t}};const Ye={encode:(e,t=o.Writer.create())=>(void 0!==e.item&&Be.encode(e.item,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={item:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item=Be.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:qe(e.item)?Be.fromJSON(e.item):void 0}),toJSON(e){const t={};return void 0!==e.item&&(t.item=Be.toJSON(e.item)),t},create:e=>Ye.fromPartial(e??{}),fromPartial(e){const t={item:void 0};return t.item=void 0!==e.item&&null!==e.item?Be.fromPartial(e.item):void 0,t}};const ze={encode:(e,t=o.Writer.create())=>(void 0!==e.item&&Be.encode(e.item,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={item:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item=Be.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:qe(e.item)?Be.fromJSON(e.item):void 0}),toJSON(e){const t={};return void 0!==e.item&&(t.item=Be.toJSON(e.item)),t},create:e=>ze.fromPartial(e??{}),fromPartial(e){const t={item:void 0};return t.item=void 0!==e.item&&null!==e.item?Be.fromPartial(e.item):void 0,t}};const Ke={encode:(e,t=o.Writer.create())=>(0!==e.label&&t.uint32(8).int32(e.label),void 0!==e.item&&Be.encode(e.item,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={label:0,item:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.label=n.int32();continue;case 2:if(18!==e)break;r.item=Be.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({label:qe(e.label)?Fe(e.label):0,item:qe(e.item)?Be.fromJSON(e.item):void 0}),toJSON(e){const t={};return 0!==e.label&&(t.label=function(e){switch(e){case Ve.UNKNOWN:return"UNKNOWN";case Ve.TRAILER:return"TRAILER";case Ve.CONTINUE_LISTENING:return"CONTINUE_LISTENING";case Ve.LATEST_PUBLISHED:return"LATEST_PUBLISHED";case Ve.UP_NEXT:return"UP_NEXT";case Ve.FIRST_PUBLISHED:return"FIRST_PUBLISHED";case Ve.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.label)),void 0!==e.item&&(t.item=Be.toJSON(e.item)),t},create:e=>Ke.fromPartial(e??{}),fromPartial(e){const t={label:0,item:void 0};return t.label=e.label??0,t.item=void 0!==e.item&&null!==e.item?Be.fromPartial(e.item):void 0,t}};const Je={encode:(e,t=o.Writer.create())=>(0!==e.savedEpisodesCount&&t.uint32(8).uint32(e.savedEpisodesCount),0!==e.downloadedEpisodesCount&&t.uint32(16).uint32(e.downloadedEpisodesCount),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={savedEpisodesCount:0,downloadedEpisodesCount:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.savedEpisodesCount=n.uint32();continue;case 2:if(16!==e)break;r.downloadedEpisodesCount=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({savedEpisodesCount:qe(e.savedEpisodesCount)?Number(e.savedEpisodesCount):0,downloadedEpisodesCount:qe(e.downloadedEpisodesCount)?Number(e.downloadedEpisodesCount):0}),toJSON(e){const t={};return 0!==e.savedEpisodesCount&&(t.savedEpisodesCount=Math.round(e.savedEpisodesCount)),0!==e.downloadedEpisodesCount&&(t.downloadedEpisodesCount=Math.round(e.downloadedEpisodesCount)),t},create:e=>Je.fromPartial(e??{}),fromPartial(e){const t={savedEpisodesCount:0,downloadedEpisodesCount:0};return t.savedEpisodesCount=e.savedEpisodesCount??0,t.downloadedEpisodesCount=e.downloadedEpisodesCount??0,t}};function qe(e){return null!=e}const Xe={encode:(e,t=o.Writer.create())=>(void 0!==e.episodeMetadata&&b.encode(e.episodeMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.episodeCollectionState&&M.encode(e.episodeCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.episodeOfflineState&&x.encode(e.episodeOfflineState,t.uint32(26).fork()).ldelim(),void 0!==e.episodePlayState&&R.encode(e.episodePlayState,t.uint32(34).fork()).ldelim(),""!==e.link&&t.uint32(42).string(e.link),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,link:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodeMetadata=b.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.episodeCollectionState=M.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episodeOfflineState=x.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodePlayState=R.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodeMetadata:Ze(e.episodeMetadata)?b.fromJSON(e.episodeMetadata):void 0,episodeCollectionState:Ze(e.episodeCollectionState)?M.fromJSON(e.episodeCollectionState):void 0,episodeOfflineState:Ze(e.episodeOfflineState)?x.fromJSON(e.episodeOfflineState):void 0,episodePlayState:Ze(e.episodePlayState)?R.fromJSON(e.episodePlayState):void 0,link:Ze(e.link)?String(e.link):""}),toJSON(e){const t={};return void 0!==e.episodeMetadata&&(t.episodeMetadata=b.toJSON(e.episodeMetadata)),void 0!==e.episodeCollectionState&&(t.episodeCollectionState=M.toJSON(e.episodeCollectionState)),void 0!==e.episodeOfflineState&&(t.episodeOfflineState=x.toJSON(e.episodeOfflineState)),void 0!==e.episodePlayState&&(t.episodePlayState=R.toJSON(e.episodePlayState)),""!==e.link&&(t.link=e.link),t},create:e=>Xe.fromPartial(e??{}),fromPartial(e){const t={episodeMetadata:void 0,episodeCollectionState:void 0,episodeOfflineState:void 0,episodePlayState:void 0,link:""};return t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?b.fromPartial(e.episodeMetadata):void 0,t.episodeCollectionState=void 0!==e.episodeCollectionState&&null!==e.episodeCollectionState?M.fromPartial(e.episodeCollectionState):void 0,t.episodeOfflineState=void 0!==e.episodeOfflineState&&null!==e.episodeOfflineState?x.fromPartial(e.episodeOfflineState):void 0,t.episodePlayState=void 0!==e.episodePlayState&&null!==e.episodePlayState?R.fromPartial(e.episodePlayState):void 0,t.link=e.link??"",t}};const $e={encode(e,t=o.Writer.create()){for(const n of e.episode)Xe.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={episode:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 2:if(18!==e)break;r.episode.push(Xe.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episode:Array.isArray(e?.episode)?e.episode.map((e=>Xe.fromJSON(e))):[]}),toJSON(e){const t={};return e.episode?.length&&(t.episode=e.episode.map((e=>Xe.toJSON(e)))),t},create:e=>$e.fromPartial(e??{}),fromPartial(e){const t={episode:[]};return t.episode=e.episode?.map((e=>Xe.fromPartial(e)))||[],t}};function Ze(e){return null!=e}var Qe,et,tt,nt,it,ot,rt,at,st,ct;function lt(e){switch(e){case 0:case"NONE":return Qe.NONE;case 1:case"CONSUMPTION_ORDER_ASC":return Qe.CONSUMPTION_ORDER_ASC;case 2:case"PUBLISH_DATE_ASC":return Qe.PUBLISH_DATE_ASC;case 3:case"PUBLISH_DATE_DESC":return Qe.PUBLISH_DATE_DESC;case 4:case"POPULARITY_DESC":return Qe.POPULARITY_DESC;default:return Qe.UNRECOGNIZED}}function ut(e){switch(e){case Qe.NONE:return"NONE";case Qe.CONSUMPTION_ORDER_ASC:return"CONSUMPTION_ORDER_ASC";case Qe.PUBLISH_DATE_ASC:return"PUBLISH_DATE_ASC";case Qe.PUBLISH_DATE_DESC:return"PUBLISH_DATE_DESC";case Qe.POPULARITY_DESC:return"POPULARITY_DESC";case Qe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function dt(e){switch(e){case 0:case"SUCCESS":return et.SUCCESS;case 1:case"BAD_REQUEST":return et.BAD_REQUEST;case 2:case"INTERNAL_ERROR":return et.INTERNAL_ERROR;case 3:case"NOT_FOUND":return et.NOT_FOUND;default:return et.UNRECOGNIZED}}function pt(e){switch(e){case 0:case"AVAILABILITY_NONE":return tt.AVAILABILITY_NONE;case 1:case"AVAILABILITY_AVAILABLE":return tt.AVAILABILITY_AVAILABLE;default:return tt.UNRECOGNIZED}}function ht(e){switch(e){case 0:case"OFFLINE_STATUS_NONE":return nt.OFFLINE_STATUS_NONE;case 1:case"OFFLINE_STATUS_AVAILABLE_OFFLINE":return nt.OFFLINE_STATUS_AVAILABLE_OFFLINE;default:return nt.UNRECOGNIZED}}function ft(e){switch(e){case 0:case"PLAYED_STATE_NONE":return it.PLAYED_STATE_NONE;case 1:case"PLAYED_STATE_UNPLAYED":return it.PLAYED_STATE_UNPLAYED;case 2:case"PLAYED_STATE_IN_PROGRESS":return it.PLAYED_STATE_IN_PROGRESS;default:return it.UNRECOGNIZED}}function mt(e){switch(e){case 0:case"COLLECTION_STATUS_NONE":return ot.COLLECTION_STATUS_NONE;case 1:case"COLLECTION_STATUS_IN_YOUR_EPISODES":return ot.COLLECTION_STATUS_IN_YOUR_EPISODES;default:return ot.UNRECOGNIZED}}function _t(e){switch(e){case 0:case"SUBSCRIPTION_STATUS_NONE":return rt.SUBSCRIPTION_STATUS_NONE;case 1:case"SUBSCRIPTION_STATUS_PAYWALLED":return rt.SUBSCRIPTION_STATUS_PAYWALLED;case 2:case"SUBSCRIPTION_STATUS_AVAILABLE":return rt.SUBSCRIPTION_STATUS_AVAILABLE;default:return rt.UNRECOGNIZED}}function gt(e){switch(e){case 0:case"LATEST_PLAYED":return at.LATEST_PLAYED;case 1:case"CONTINUE_LISTENING":return at.CONTINUE_LISTENING;case 2:case"URI":return at.URI;default:return at.UNRECOGNIZED}}function Et(e){switch(e){case 0:case"INTENTION_NONE":return st.INTENTION_NONE;case 1:case"INTENTION_LAST_PLAYED":return st.INTENTION_LAST_PLAYED;default:return st.UNRECOGNIZED}}function vt(e){switch(e){case 0:case"PLAYED":return ct.PLAYED;case 1:case"UNPLAYED":return ct.UNPLAYED;default:return ct.UNRECOGNIZED}}!function(e){e[e.NONE=0]="NONE",e[e.CONSUMPTION_ORDER_ASC=1]="CONSUMPTION_ORDER_ASC",e[e.PUBLISH_DATE_ASC=2]="PUBLISH_DATE_ASC",e[e.PUBLISH_DATE_DESC=3]="PUBLISH_DATE_DESC",e[e.POPULARITY_DESC=4]="POPULARITY_DESC",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Qe||(Qe={})),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.BAD_REQUEST=1]="BAD_REQUEST",e[e.INTERNAL_ERROR=2]="INTERNAL_ERROR",e[e.NOT_FOUND=3]="NOT_FOUND",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(et||(et={})),function(e){e[e.AVAILABILITY_NONE=0]="AVAILABILITY_NONE",e[e.AVAILABILITY_AVAILABLE=1]="AVAILABILITY_AVAILABLE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(tt||(tt={})),function(e){e[e.OFFLINE_STATUS_NONE=0]="OFFLINE_STATUS_NONE",e[e.OFFLINE_STATUS_AVAILABLE_OFFLINE=1]="OFFLINE_STATUS_AVAILABLE_OFFLINE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(nt||(nt={})),function(e){e[e.PLAYED_STATE_NONE=0]="PLAYED_STATE_NONE",e[e.PLAYED_STATE_UNPLAYED=1]="PLAYED_STATE_UNPLAYED",e[e.PLAYED_STATE_IN_PROGRESS=2]="PLAYED_STATE_IN_PROGRESS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(it||(it={})),function(e){e[e.COLLECTION_STATUS_NONE=0]="COLLECTION_STATUS_NONE",e[e.COLLECTION_STATUS_IN_YOUR_EPISODES=1]="COLLECTION_STATUS_IN_YOUR_EPISODES",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ot||(ot={})),function(e){e[e.SUBSCRIPTION_STATUS_NONE=0]="SUBSCRIPTION_STATUS_NONE",e[e.SUBSCRIPTION_STATUS_PAYWALLED=1]="SUBSCRIPTION_STATUS_PAYWALLED",e[e.SUBSCRIPTION_STATUS_AVAILABLE=2]="SUBSCRIPTION_STATUS_AVAILABLE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(rt||(rt={})),function(e){e[e.LATEST_PLAYED=0]="LATEST_PLAYED",e[e.CONTINUE_LISTENING=1]="CONTINUE_LISTENING",e[e.URI=2]="URI",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(at||(at={})),function(e){e[e.INTENTION_NONE=0]="INTENTION_NONE",e[e.INTENTION_LAST_PLAYED=1]="INTENTION_LAST_PLAYED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(st||(st={})),function(e){e[e.PLAYED=0]="PLAYED",e[e.UNPLAYED=1]="UNPLAYED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ct||(ct={}));const yt={encode:(e,t=o.Writer.create())=>(0!==e.code&&t.uint32(8).int32(e.code),""!==e.reason&&t.uint32(18).string(e.reason),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={code:0,reason:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.code=n.int32();continue;case 2:if(18!==e)break;r.reason=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({code:Ut(e.code)?dt(e.code):0,reason:Ut(e.reason)?String(e.reason):""}),toJSON(e){const t={};return 0!==e.code&&(t.code=function(e){switch(e){case et.SUCCESS:return"SUCCESS";case et.BAD_REQUEST:return"BAD_REQUEST";case et.INTERNAL_ERROR:return"INTERNAL_ERROR";case et.NOT_FOUND:return"NOT_FOUND";case et.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.code)),""!==e.reason&&(t.reason=e.reason),t},create:e=>yt.fromPartial(e??{}),fromPartial(e){const t={code:0,reason:""};return t.code=e.code??0,t.reason=e.reason??"",t}};const bt={encode:(e,t=o.Writer.create())=>(void 0!==e.showPolicy&&we.encode(e.showPolicy,t.uint32(10).fork()).ldelim(),void 0!==e.showPlayedStatePolicy&&De.encode(e.showPlayedStatePolicy,t.uint32(18).fork()).ldelim(),void 0!==e.showCollectionPolicy&&Me.encode(e.showCollectionPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.showOfflineStatePolicy&&xe.encode(e.showOfflineStatePolicy,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={showPolicy:void 0,showPlayedStatePolicy:void 0,showCollectionPolicy:void 0,showOfflineStatePolicy:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showPolicy=we.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.showPlayedStatePolicy=De.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.showCollectionPolicy=Me.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.showOfflineStatePolicy=xe.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showPolicy:Ut(e.showPolicy)?we.fromJSON(e.showPolicy):void 0,showPlayedStatePolicy:Ut(e.showPlayedStatePolicy)?De.fromJSON(e.showPlayedStatePolicy):void 0,showCollectionPolicy:Ut(e.showCollectionPolicy)?Me.fromJSON(e.showCollectionPolicy):void 0,showOfflineStatePolicy:Ut(e.showOfflineStatePolicy)?xe.fromJSON(e.showOfflineStatePolicy):void 0}),toJSON(e){const t={};return void 0!==e.showPolicy&&(t.showPolicy=we.toJSON(e.showPolicy)),void 0!==e.showPlayedStatePolicy&&(t.showPlayedStatePolicy=De.toJSON(e.showPlayedStatePolicy)),void 0!==e.showCollectionPolicy&&(t.showCollectionPolicy=Me.toJSON(e.showCollectionPolicy)),void 0!==e.showOfflineStatePolicy&&(t.showOfflineStatePolicy=xe.toJSON(e.showOfflineStatePolicy)),t},create:e=>bt.fromPartial(e??{}),fromPartial(e){const t={showPolicy:void 0,showPlayedStatePolicy:void 0,showCollectionPolicy:void 0,showOfflineStatePolicy:void 0};return t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?we.fromPartial(e.showPolicy):void 0,t.showPlayedStatePolicy=void 0!==e.showPlayedStatePolicy&&null!==e.showPlayedStatePolicy?De.fromPartial(e.showPlayedStatePolicy):void 0,t.showCollectionPolicy=void 0!==e.showCollectionPolicy&&null!==e.showCollectionPolicy?Me.fromPartial(e.showCollectionPolicy):void 0,t.showOfflineStatePolicy=void 0!==e.showOfflineStatePolicy&&null!==e.showOfflineStatePolicy?xe.fromPartial(e.showOfflineStatePolicy):void 0,t}};const St={encode:(e,t=o.Writer.create())=>(void 0!==e.episodePolicy&&Re.encode(e.episodePolicy,t.uint32(10).fork()).ldelim(),void 0!==e.episodeCollectionPolicy&&Ne.encode(e.episodeCollectionPolicy,t.uint32(18).fork()).ldelim(),void 0!==e.episodeSyncPolicy&&Pe.encode(e.episodeSyncPolicy,t.uint32(26).fork()).ldelim(),void 0!==e.episodePlayedStatePolicy&&Le.encode(e.episodePlayedStatePolicy,t.uint32(34).fork()).ldelim(),!0===e.progress&&t.uint32(40).bool(e.progress),void 0!==e.showPolicy&&bt.encode(e.showPolicy,t.uint32(50).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={episodePolicy:void 0,episodeCollectionPolicy:void 0,episodeSyncPolicy:void 0,episodePlayedStatePolicy:void 0,progress:!1,showPolicy:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episodePolicy=Re.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.episodeCollectionPolicy=Ne.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episodeSyncPolicy=Pe.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.episodePlayedStatePolicy=Le.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.progress=n.bool();continue;case 6:if(50!==e)break;r.showPolicy=bt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episodePolicy:Ut(e.episodePolicy)?Re.fromJSON(e.episodePolicy):void 0,episodeCollectionPolicy:Ut(e.episodeCollectionPolicy)?Ne.fromJSON(e.episodeCollectionPolicy):void 0,episodeSyncPolicy:Ut(e.episodeSyncPolicy)?Pe.fromJSON(e.episodeSyncPolicy):void 0,episodePlayedStatePolicy:Ut(e.episodePlayedStatePolicy)?Le.fromJSON(e.episodePlayedStatePolicy):void 0,progress:!!Ut(e.progress)&&Boolean(e.progress),showPolicy:Ut(e.showPolicy)?bt.fromJSON(e.showPolicy):void 0}),toJSON(e){const t={};return void 0!==e.episodePolicy&&(t.episodePolicy=Re.toJSON(e.episodePolicy)),void 0!==e.episodeCollectionPolicy&&(t.episodeCollectionPolicy=Ne.toJSON(e.episodeCollectionPolicy)),void 0!==e.episodeSyncPolicy&&(t.episodeSyncPolicy=Pe.toJSON(e.episodeSyncPolicy)),void 0!==e.episodePlayedStatePolicy&&(t.episodePlayedStatePolicy=Le.toJSON(e.episodePlayedStatePolicy)),!0===e.progress&&(t.progress=e.progress),void 0!==e.showPolicy&&(t.showPolicy=bt.toJSON(e.showPolicy)),t},create:e=>St.fromPartial(e??{}),fromPartial(e){const t={episodePolicy:void 0,episodeCollectionPolicy:void 0,episodeSyncPolicy:void 0,episodePlayedStatePolicy:void 0,progress:!1,showPolicy:void 0};return t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?Re.fromPartial(e.episodePolicy):void 0,t.episodeCollectionPolicy=void 0!==e.episodeCollectionPolicy&&null!==e.episodeCollectionPolicy?Ne.fromPartial(e.episodeCollectionPolicy):void 0,t.episodeSyncPolicy=void 0!==e.episodeSyncPolicy&&null!==e.episodeSyncPolicy?Pe.fromPartial(e.episodeSyncPolicy):void 0,t.episodePlayedStatePolicy=void 0!==e.episodePlayedStatePolicy&&null!==e.episodePlayedStatePolicy?Le.fromPartial(e.episodePlayedStatePolicy):void 0,t.progress=e.progress??!1,t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?bt.fromPartial(e.showPolicy):void 0,t}};const Tt={encode:(e,t=o.Writer.create())=>(!0===e.continueListening&&t.uint32(8).bool(e.continueListening),!0===e.trailerSection&&t.uint32(16).bool(e.trailerSection),!0===e.latestUnplayedEpisode&&t.uint32(24).bool(e.latestUnplayedEpisode),!0===e.nextBestEpisode&&t.uint32(32).bool(e.nextBestEpisode),!0===e.savedEpisodes&&t.uint32(40).bool(e.savedEpisodes),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={continueListening:!1,trailerSection:!1,latestUnplayedEpisode:!1,nextBestEpisode:!1,savedEpisodes:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.continueListening=n.bool();continue;case 2:if(16!==e)break;r.trailerSection=n.bool();continue;case 3:if(24!==e)break;r.latestUnplayedEpisode=n.bool();continue;case 4:if(32!==e)break;r.nextBestEpisode=n.bool();continue;case 5:if(40!==e)break;r.savedEpisodes=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({continueListening:!!Ut(e.continueListening)&&Boolean(e.continueListening),trailerSection:!!Ut(e.trailerSection)&&Boolean(e.trailerSection),latestUnplayedEpisode:!!Ut(e.latestUnplayedEpisode)&&Boolean(e.latestUnplayedEpisode),nextBestEpisode:!!Ut(e.nextBestEpisode)&&Boolean(e.nextBestEpisode),savedEpisodes:!!Ut(e.savedEpisodes)&&Boolean(e.savedEpisodes)}),toJSON(e){const t={};return!0===e.continueListening&&(t.continueListening=e.continueListening),!0===e.trailerSection&&(t.trailerSection=e.trailerSection),!0===e.latestUnplayedEpisode&&(t.latestUnplayedEpisode=e.latestUnplayedEpisode),!0===e.nextBestEpisode&&(t.nextBestEpisode=e.nextBestEpisode),!0===e.savedEpisodes&&(t.savedEpisodes=e.savedEpisodes),t},create:e=>Tt.fromPartial(e??{}),fromPartial(e){const t={continueListening:!1,trailerSection:!1,latestUnplayedEpisode:!1,nextBestEpisode:!1,savedEpisodes:!1};return t.continueListening=e.continueListening??!1,t.trailerSection=e.trailerSection??!1,t.latestUnplayedEpisode=e.latestUnplayedEpisode??!1,t.nextBestEpisode=e.nextBestEpisode??!1,t.savedEpisodes=e.savedEpisodes??!1,t}};const At={encode:(e,t=o.Writer.create())=>(0!==e.availability&&t.uint32(8).int32(e.availability),0!==e.offlineStatus&&t.uint32(16).int32(e.offlineStatus),0!==e.playedState&&t.uint32(24).int32(e.playedState),void 0!==e.containsText&&t.uint32(34).string(e.containsText),0!==e.collectionStatus&&t.uint32(40).int32(e.collectionStatus),0!==e.subscriptionStatus&&t.uint32(48).int32(e.subscriptionStatus),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={availability:0,offlineStatus:0,playedState:0,containsText:void 0,collectionStatus:0,subscriptionStatus:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.availability=n.int32();continue;case 2:if(16!==e)break;r.offlineStatus=n.int32();continue;case 3:if(24!==e)break;r.playedState=n.int32();continue;case 4:if(34!==e)break;r.containsText=n.string();continue;case 5:if(40!==e)break;r.collectionStatus=n.int32();continue;case 6:if(48!==e)break;r.subscriptionStatus=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({availability:Ut(e.availability)?pt(e.availability):0,offlineStatus:Ut(e.offlineStatus)?ht(e.offlineStatus):0,playedState:Ut(e.playedState)?ft(e.playedState):0,containsText:Ut(e.containsText)?String(e.containsText):void 0,collectionStatus:Ut(e.collectionStatus)?mt(e.collectionStatus):0,subscriptionStatus:Ut(e.subscriptionStatus)?_t(e.subscriptionStatus):0}),toJSON(e){const t={};return 0!==e.availability&&(t.availability=function(e){switch(e){case tt.AVAILABILITY_NONE:return"AVAILABILITY_NONE";case tt.AVAILABILITY_AVAILABLE:return"AVAILABILITY_AVAILABLE";case tt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.availability)),0!==e.offlineStatus&&(t.offlineStatus=function(e){switch(e){case nt.OFFLINE_STATUS_NONE:return"OFFLINE_STATUS_NONE";case nt.OFFLINE_STATUS_AVAILABLE_OFFLINE:return"OFFLINE_STATUS_AVAILABLE_OFFLINE";case nt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.offlineStatus)),0!==e.playedState&&(t.playedState=function(e){switch(e){case it.PLAYED_STATE_NONE:return"PLAYED_STATE_NONE";case it.PLAYED_STATE_UNPLAYED:return"PLAYED_STATE_UNPLAYED";case it.PLAYED_STATE_IN_PROGRESS:return"PLAYED_STATE_IN_PROGRESS";case it.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.playedState)),void 0!==e.containsText&&(t.containsText=e.containsText),0!==e.collectionStatus&&(t.collectionStatus=function(e){switch(e){case ot.COLLECTION_STATUS_NONE:return"COLLECTION_STATUS_NONE";case ot.COLLECTION_STATUS_IN_YOUR_EPISODES:return"COLLECTION_STATUS_IN_YOUR_EPISODES";case ot.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.collectionStatus)),0!==e.subscriptionStatus&&(t.subscriptionStatus=function(e){switch(e){case rt.SUBSCRIPTION_STATUS_NONE:return"SUBSCRIPTION_STATUS_NONE";case rt.SUBSCRIPTION_STATUS_PAYWALLED:return"SUBSCRIPTION_STATUS_PAYWALLED";case rt.SUBSCRIPTION_STATUS_AVAILABLE:return"SUBSCRIPTION_STATUS_AVAILABLE";case rt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.subscriptionStatus)),t},create:e=>At.fromPartial(e??{}),fromPartial(e){const t={availability:0,offlineStatus:0,playedState:0,containsText:void 0,collectionStatus:0,subscriptionStatus:0};return t.availability=e.availability??0,t.offlineStatus=e.offlineStatus??0,t.playedState=e.playedState??0,t.containsText=e.containsText??void 0,t.collectionStatus=e.collectionStatus??0,t.subscriptionStatus=e.subscriptionStatus??0,t}};const It={encode:(e,t=o.Writer.create())=>(""!==e.showId&&t.uint32(10).string(e.showId),0!==e.updateThrottling&&t.uint32(16).uint32(e.updateThrottling),0!==e.rangeStart&&t.uint32(24).int32(e.rangeStart),void 0!==e.rangeLength&&t.uint32(32).int32(e.rangeLength),""!==e.sort&&t.uint32(42).string(e.sort),""!==e.filter&&t.uint32(50).string(e.filter),""!==e.includeInRange&&t.uint32(58).string(e.includeInRange),void 0!==e.forceIncludeContext&&t.uint32(64).int32(e.forceIncludeContext),void 0!==e.headerPolicy&&bt.encode(e.headerPolicy,t.uint32(74).fork()).ldelim(),void 0!==e.listPolicy&&St.encode(e.listPolicy,t.uint32(82).fork()).ldelim(),void 0!==e.sectionsPolicy&&Tt.encode(e.sectionsPolicy,t.uint32(90).fork()).ldelim(),0!==e.sortOrder&&t.uint32(96).int32(e.sortOrder),void 0!==e.range&&Ot.encode(e.range,t.uint32(106).fork()).ldelim(),void 0!==e.queryFilter&&At.encode(e.queryFilter,t.uint32(114).fork()).ldelim(),!0===e.includeExtensionsOnError&&t.uint32(120).bool(e.includeExtensionsOnError),!0===e.preferCache&&t.uint32(128).bool(e.preferCache),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={showId:"",updateThrottling:0,rangeStart:0,rangeLength:void 0,sort:"",filter:"",includeInRange:"",forceIncludeContext:void 0,headerPolicy:void 0,listPolicy:void 0,sectionsPolicy:void 0,sortOrder:0,range:void 0,queryFilter:void 0,includeExtensionsOnError:!1,preferCache:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showId=n.string();continue;case 2:if(16!==e)break;r.updateThrottling=n.uint32();continue;case 3:if(24!==e)break;r.rangeStart=n.int32();continue;case 4:if(32!==e)break;r.rangeLength=n.int32();continue;case 5:if(42!==e)break;r.sort=n.string();continue;case 6:if(50!==e)break;r.filter=n.string();continue;case 7:if(58!==e)break;r.includeInRange=n.string();continue;case 8:if(64!==e)break;r.forceIncludeContext=n.int32();continue;case 9:if(74!==e)break;r.headerPolicy=bt.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.listPolicy=St.decode(n,n.uint32());continue;case 11:if(90!==e)break;r.sectionsPolicy=Tt.decode(n,n.uint32());continue;case 12:if(96!==e)break;r.sortOrder=n.int32();continue;case 13:if(106!==e)break;r.range=Ot.decode(n,n.uint32());continue;case 14:if(114!==e)break;r.queryFilter=At.decode(n,n.uint32());continue;case 15:if(120!==e)break;r.includeExtensionsOnError=n.bool();continue;case 16:if(128!==e)break;r.preferCache=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showId:Ut(e.showId)?String(e.showId):"",updateThrottling:Ut(e.updateThrottling)?Number(e.updateThrottling):0,rangeStart:Ut(e.rangeStart)?Number(e.rangeStart):0,rangeLength:Ut(e.rangeLength)?Number(e.rangeLength):void 0,sort:Ut(e.sort)?String(e.sort):"",filter:Ut(e.filter)?String(e.filter):"",includeInRange:Ut(e.includeInRange)?String(e.includeInRange):"",forceIncludeContext:Ut(e.forceIncludeContext)?Number(e.forceIncludeContext):void 0,headerPolicy:Ut(e.headerPolicy)?bt.fromJSON(e.headerPolicy):void 0,listPolicy:Ut(e.listPolicy)?St.fromJSON(e.listPolicy):void 0,sectionsPolicy:Ut(e.sectionsPolicy)?Tt.fromJSON(e.sectionsPolicy):void 0,sortOrder:Ut(e.sortOrder)?lt(e.sortOrder):0,range:Ut(e.range)?Ot.fromJSON(e.range):void 0,queryFilter:Ut(e.queryFilter)?At.fromJSON(e.queryFilter):void 0,includeExtensionsOnError:!!Ut(e.includeExtensionsOnError)&&Boolean(e.includeExtensionsOnError),preferCache:!!Ut(e.preferCache)&&Boolean(e.preferCache)}),toJSON(e){const t={};return""!==e.showId&&(t.showId=e.showId),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),0!==e.rangeStart&&(t.rangeStart=Math.round(e.rangeStart)),void 0!==e.rangeLength&&(t.rangeLength=Math.round(e.rangeLength)),""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),""!==e.includeInRange&&(t.includeInRange=e.includeInRange),void 0!==e.forceIncludeContext&&(t.forceIncludeContext=Math.round(e.forceIncludeContext)),void 0!==e.headerPolicy&&(t.headerPolicy=bt.toJSON(e.headerPolicy)),void 0!==e.listPolicy&&(t.listPolicy=St.toJSON(e.listPolicy)),void 0!==e.sectionsPolicy&&(t.sectionsPolicy=Tt.toJSON(e.sectionsPolicy)),0!==e.sortOrder&&(t.sortOrder=ut(e.sortOrder)),void 0!==e.range&&(t.range=Ot.toJSON(e.range)),void 0!==e.queryFilter&&(t.queryFilter=At.toJSON(e.queryFilter)),!0===e.includeExtensionsOnError&&(t.includeExtensionsOnError=e.includeExtensionsOnError),!0===e.preferCache&&(t.preferCache=e.preferCache),t},create:e=>It.fromPartial(e??{}),fromPartial(e){const t={showId:"",updateThrottling:0,rangeStart:0,rangeLength:void 0,sort:"",filter:"",includeInRange:"",forceIncludeContext:void 0,headerPolicy:void 0,listPolicy:void 0,sectionsPolicy:void 0,sortOrder:0,range:void 0,queryFilter:void 0,includeExtensionsOnError:!1,preferCache:!1};return t.showId=e.showId??"",t.updateThrottling=e.updateThrottling??0,t.rangeStart=e.rangeStart??0,t.rangeLength=e.rangeLength??void 0,t.sort=e.sort??"",t.filter=e.filter??"",t.includeInRange=e.includeInRange??"",t.forceIncludeContext=e.forceIncludeContext??void 0,t.headerPolicy=void 0!==e.headerPolicy&&null!==e.headerPolicy?bt.fromPartial(e.headerPolicy):void 0,t.listPolicy=void 0!==e.listPolicy&&null!==e.listPolicy?St.fromPartial(e.listPolicy):void 0,t.sectionsPolicy=void 0!==e.sectionsPolicy&&null!==e.sectionsPolicy?Tt.fromPartial(e.sectionsPolicy):void 0,t.sortOrder=e.sortOrder??0,t.range=void 0!==e.range&&null!==e.range?Ot.fromPartial(e.range):void 0,t.queryFilter=void 0!==e.queryFilter&&null!==e.queryFilter?At.fromPartial(e.queryFilter):void 0,t.includeExtensionsOnError=e.includeExtensionsOnError??!1,t.preferCache=e.preferCache??!1,t}};const Ot={encode:(e,t=o.Writer.create())=>(void 0!==e.start&&t.uint32(8).uint32(e.start),void 0!==e.focus&&Ct.encode(e.focus,t.uint32(18).fork()).ldelim(),0!==e.limit&&t.uint32(24).uint32(e.limit),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={start:void 0,focus:void 0,limit:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.start=n.uint32();continue;case 2:if(18!==e)break;r.focus=Ct.decode(n,n.uint32());continue;case 3:if(24!==e)break;r.limit=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({start:Ut(e.start)?Number(e.start):void 0,focus:Ut(e.focus)?Ct.fromJSON(e.focus):void 0,limit:Ut(e.limit)?Number(e.limit):0}),toJSON(e){const t={};return void 0!==e.start&&(t.start=Math.round(e.start)),void 0!==e.focus&&(t.focus=Ct.toJSON(e.focus)),0!==e.limit&&(t.limit=Math.round(e.limit)),t},create:e=>Ot.fromPartial(e??{}),fromPartial(e){const t={start:void 0,focus:void 0,limit:0};return t.start=e.start??void 0,t.focus=void 0!==e.focus&&null!==e.focus?Ct.fromPartial(e.focus):void 0,t.limit=e.limit??0,t}};const Ct={encode:(e,t=o.Writer.create())=>(0!==e.type&&t.uint32(8).int32(e.type),""!==e.data&&t.uint32(18).string(e.data),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={type:0,data:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.type=n.int32();continue;case 2:if(18!==e)break;r.data=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({type:Ut(e.type)?gt(e.type):0,data:Ut(e.data)?String(e.data):""}),toJSON(e){const t={};return 0!==e.type&&(t.type=function(e){switch(e){case at.LATEST_PLAYED:return"LATEST_PLAYED";case at.CONTINUE_LISTENING:return"CONTINUE_LISTENING";case at.URI:return"URI";case at.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.type)),""!==e.data&&(t.data=e.data),t},create:e=>Ct.fromPartial(e??{}),fromPartial(e){const t={type:0,data:""};return t.type=e.type??0,t.data=e.data??"",t}};const Rt={encode:(e,t=o.Writer.create())=>(void 0!==e.response&&Ge.encode(e.response,t.uint32(10).fork()).ldelim(),void 0!==e.status&&yt.encode(e.status,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={response:void 0,status:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.response=Ge.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.status=yt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({response:Ut(e.response)?Ge.fromJSON(e.response):void 0,status:Ut(e.status)?yt.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.response&&(t.response=Ge.toJSON(e.response)),void 0!==e.status&&(t.status=yt.toJSON(e.status)),t},create:e=>Rt.fromPartial(e??{}),fromPartial(e){const t={response:void 0,status:void 0};return t.response=void 0!==e.response&&null!==e.response?Ge.fromPartial(e.response):void 0,t.status=void 0!==e.status&&null!==e.status?yt.fromPartial(e.status):void 0,t}};const Nt={encode(e,t=o.Writer.create()){for(const n of e.item)t.uint32(10).string(n);return!0===e.preferCached&&t.uint32(16).bool(e.preferCached),0!==e.updateThrottling&&t.uint32(24).uint32(e.updateThrottling),void 0!==e.showPolicy&&bt.encode(e.showPolicy,t.uint32(34).fork()).ldelim(),void 0!==e.episodePolicy&&St.encode(e.episodePolicy,t.uint32(42).fork()).ldelim(),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={item:[],preferCached:!1,updateThrottling:0,showPolicy:void 0,episodePolicy:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item.push(n.string());continue;case 2:if(16!==e)break;r.preferCached=n.bool();continue;case 3:if(24!==e)break;r.updateThrottling=n.uint32();continue;case 4:if(34!==e)break;r.showPolicy=bt.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.episodePolicy=St.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:Array.isArray(e?.item)?e.item.map((e=>String(e))):[],preferCached:!!Ut(e.preferCached)&&Boolean(e.preferCached),updateThrottling:Ut(e.updateThrottling)?Number(e.updateThrottling):0,showPolicy:Ut(e.showPolicy)?bt.fromJSON(e.showPolicy):void 0,episodePolicy:Ut(e.episodePolicy)?St.fromJSON(e.episodePolicy):void 0}),toJSON(e){const t={};return e.item?.length&&(t.item=e.item),!0===e.preferCached&&(t.preferCached=e.preferCached),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),void 0!==e.showPolicy&&(t.showPolicy=bt.toJSON(e.showPolicy)),void 0!==e.episodePolicy&&(t.episodePolicy=St.toJSON(e.episodePolicy)),t},create:e=>Nt.fromPartial(e??{}),fromPartial(e){const t={item:[],preferCached:!1,updateThrottling:0,showPolicy:void 0,episodePolicy:void 0};return t.item=e.item?.map((e=>e))||[],t.preferCached=e.preferCached??!1,t.updateThrottling=e.updateThrottling??0,t.showPolicy=void 0!==e.showPolicy&&null!==e.showPolicy?bt.fromPartial(e.showPolicy):void 0,t.episodePolicy=void 0!==e.episodePolicy&&null!==e.episodePolicy?St.fromPartial(e.episodePolicy):void 0,t}};const Pt={encode:(e,t=o.Writer.create())=>(void 0!==e.response&&W.encode(e.response,t.uint32(10).fork()).ldelim(),void 0!==e.status&&yt.encode(e.status,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={response:void 0,status:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.response=W.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.status=yt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({response:Ut(e.response)?W.fromJSON(e.response):void 0,status:Ut(e.status)?yt.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.response&&(t.response=W.toJSON(e.response)),void 0!==e.status&&(t.status=yt.toJSON(e.status)),t},create:e=>Pt.fromPartial(e??{}),fromPartial(e){const t={response:void 0,status:void 0};return t.response=void 0!==e.response&&null!==e.response?W.fromPartial(e.response):void 0,t.status=void 0!==e.status&&null!==e.status?yt.fromPartial(e.status):void 0,t}};const Lt={encode:(e,t=o.Writer.create())=>(0!==e.rangeStart&&t.uint32(8).int32(e.rangeStart),void 0!==e.rangeLength&&t.uint32(16).int32(e.rangeLength),""!==e.sort&&t.uint32(26).string(e.sort),""!==e.filter&&t.uint32(34).string(e.filter),0!==e.updateThrottling&&t.uint32(40).uint32(e.updateThrottling),0!==e.absTimeLeftTolerance&&t.uint32(48).uint32(e.absTimeLeftTolerance),0!==e.relTimeLeftTolerance&&t.uint32(57).double(e.relTimeLeftTolerance),!0===e.preferCached&&t.uint32(64).bool(e.preferCached),void 0!==e.policy&&St.encode(e.policy,t.uint32(74).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={rangeStart:0,rangeLength:void 0,sort:"",filter:"",updateThrottling:0,absTimeLeftTolerance:0,relTimeLeftTolerance:0,preferCached:!1,policy:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.rangeStart=n.int32();continue;case 2:if(16!==e)break;r.rangeLength=n.int32();continue;case 3:if(26!==e)break;r.sort=n.string();continue;case 4:if(34!==e)break;r.filter=n.string();continue;case 5:if(40!==e)break;r.updateThrottling=n.uint32();continue;case 6:if(48!==e)break;r.absTimeLeftTolerance=n.uint32();continue;case 7:if(57!==e)break;r.relTimeLeftTolerance=n.double();continue;case 8:if(64!==e)break;r.preferCached=n.bool();continue;case 9:if(74!==e)break;r.policy=St.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({rangeStart:Ut(e.rangeStart)?Number(e.rangeStart):0,rangeLength:Ut(e.rangeLength)?Number(e.rangeLength):void 0,sort:Ut(e.sort)?String(e.sort):"",filter:Ut(e.filter)?String(e.filter):"",updateThrottling:Ut(e.updateThrottling)?Number(e.updateThrottling):0,absTimeLeftTolerance:Ut(e.absTimeLeftTolerance)?Number(e.absTimeLeftTolerance):0,relTimeLeftTolerance:Ut(e.relTimeLeftTolerance)?Number(e.relTimeLeftTolerance):0,preferCached:!!Ut(e.preferCached)&&Boolean(e.preferCached),policy:Ut(e.policy)?St.fromJSON(e.policy):void 0}),toJSON(e){const t={};return 0!==e.rangeStart&&(t.rangeStart=Math.round(e.rangeStart)),void 0!==e.rangeLength&&(t.rangeLength=Math.round(e.rangeLength)),""!==e.sort&&(t.sort=e.sort),""!==e.filter&&(t.filter=e.filter),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),0!==e.absTimeLeftTolerance&&(t.absTimeLeftTolerance=Math.round(e.absTimeLeftTolerance)),0!==e.relTimeLeftTolerance&&(t.relTimeLeftTolerance=e.relTimeLeftTolerance),!0===e.preferCached&&(t.preferCached=e.preferCached),void 0!==e.policy&&(t.policy=St.toJSON(e.policy)),t},create:e=>Lt.fromPartial(e??{}),fromPartial(e){const t={rangeStart:0,rangeLength:void 0,sort:"",filter:"",updateThrottling:0,absTimeLeftTolerance:0,relTimeLeftTolerance:0,preferCached:!1,policy:void 0};return t.rangeStart=e.rangeStart??0,t.rangeLength=e.rangeLength??void 0,t.sort=e.sort??"",t.filter=e.filter??"",t.updateThrottling=e.updateThrottling??0,t.absTimeLeftTolerance=e.absTimeLeftTolerance??0,t.relTimeLeftTolerance=e.relTimeLeftTolerance??0,t.preferCached=e.preferCached??!1,t.policy=void 0!==e.policy&&null!==e.policy?St.fromPartial(e.policy):void 0,t}};const kt={encode:(e,t=o.Writer.create())=>(void 0!==e.response&&$e.encode(e.response,t.uint32(10).fork()).ldelim(),void 0!==e.status&&yt.encode(e.status,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={response:void 0,status:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.response=$e.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.status=yt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({response:Ut(e.response)?$e.fromJSON(e.response):void 0,status:Ut(e.status)?yt.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.response&&(t.response=$e.toJSON(e.response)),void 0!==e.status&&(t.status=yt.toJSON(e.status)),t},create:e=>kt.fromPartial(e??{}),fromPartial(e){const t={response:void 0,status:void 0};return t.response=void 0!==e.response&&null!==e.response?$e.fromPartial(e.response):void 0,t.status=void 0!==e.status&&null!==e.status?yt.fromPartial(e.status):void 0,t}};const wt={encode:(e,t=o.Writer.create())=>(""!==e.releaseGroupUri&&t.uint32(10).string(e.releaseGroupUri),0!==e.sortOrder&&t.uint32(16).int32(e.sortOrder),void 0!==e.queryFilter&&At.encode(e.queryFilter,t.uint32(26).fork()).ldelim(),0!==e.intention&&t.uint32(32).int32(e.intention),void 0!==e.options&&Te.encode(e.options,t.uint32(42).fork()).ldelim(),void 0!==e.playOrigin&&ue.encode(e.playOrigin,t.uint32(50).fork()).ldelim(),void 0!==e.playOptions&&ce.encode(e.playOptions,t.uint32(58).fork()).ldelim(),void 0!==e.commandOptions&&z.encode(e.commandOptions,t.uint32(66).fork()).ldelim(),void 0!==e.loggingParams&&ee.encode(e.loggingParams,t.uint32(74).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={releaseGroupUri:"",sortOrder:0,queryFilter:void 0,intention:0,options:void 0,playOrigin:void 0,playOptions:void 0,commandOptions:void 0,loggingParams:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.releaseGroupUri=n.string();continue;case 2:if(16!==e)break;r.sortOrder=n.int32();continue;case 3:if(26!==e)break;r.queryFilter=At.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.intention=n.int32();continue;case 5:if(42!==e)break;r.options=Te.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.playOrigin=ue.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.playOptions=ce.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.commandOptions=z.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.loggingParams=ee.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({releaseGroupUri:Ut(e.releaseGroupUri)?String(e.releaseGroupUri):"",sortOrder:Ut(e.sortOrder)?lt(e.sortOrder):0,queryFilter:Ut(e.queryFilter)?At.fromJSON(e.queryFilter):void 0,intention:Ut(e.intention)?Et(e.intention):0,options:Ut(e.options)?Te.fromJSON(e.options):void 0,playOrigin:Ut(e.playOrigin)?ue.fromJSON(e.playOrigin):void 0,playOptions:Ut(e.playOptions)?ce.fromJSON(e.playOptions):void 0,commandOptions:Ut(e.commandOptions)?z.fromJSON(e.commandOptions):void 0,loggingParams:Ut(e.loggingParams)?ee.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return""!==e.releaseGroupUri&&(t.releaseGroupUri=e.releaseGroupUri),0!==e.sortOrder&&(t.sortOrder=ut(e.sortOrder)),void 0!==e.queryFilter&&(t.queryFilter=At.toJSON(e.queryFilter)),0!==e.intention&&(t.intention=function(e){switch(e){case st.INTENTION_NONE:return"INTENTION_NONE";case st.INTENTION_LAST_PLAYED:return"INTENTION_LAST_PLAYED";case st.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.intention)),void 0!==e.options&&(t.options=Te.toJSON(e.options)),void 0!==e.playOrigin&&(t.playOrigin=ue.toJSON(e.playOrigin)),void 0!==e.playOptions&&(t.playOptions=ce.toJSON(e.playOptions)),void 0!==e.commandOptions&&(t.commandOptions=z.toJSON(e.commandOptions)),void 0!==e.loggingParams&&(t.loggingParams=ee.toJSON(e.loggingParams)),t},create:e=>wt.fromPartial(e??{}),fromPartial(e){const t={releaseGroupUri:"",sortOrder:0,queryFilter:void 0,intention:0,options:void 0,playOrigin:void 0,playOptions:void 0,commandOptions:void 0,loggingParams:void 0};return t.releaseGroupUri=e.releaseGroupUri??"",t.sortOrder=e.sortOrder??0,t.queryFilter=void 0!==e.queryFilter&&null!==e.queryFilter?At.fromPartial(e.queryFilter):void 0,t.intention=e.intention??0,t.options=void 0!==e.options&&null!==e.options?Te.fromPartial(e.options):void 0,t.playOrigin=void 0!==e.playOrigin&&null!==e.playOrigin?ue.fromPartial(e.playOrigin):void 0,t.playOptions=void 0!==e.playOptions&&null!==e.playOptions?ce.fromPartial(e.playOptions):void 0,t.commandOptions=void 0!==e.commandOptions&&null!==e.commandOptions?z.fromPartial(e.commandOptions):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ee.fromPartial(e.loggingParams):void 0,t}};const Dt={encode:(e,t=o.Writer.create())=>(void 0!==e.status&&yt.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={status:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.status=yt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:Ut(e.status)?yt.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=yt.toJSON(e.status)),t},create:e=>Dt.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?yt.fromPartial(e.status):void 0,t}};const Mt={encode:(e,t=o.Writer.create())=>(""!==e.showId&&t.uint32(10).string(e.showId),0!==e.state&&t.uint32(16).int32(e.state),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={showId:"",state:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.showId=n.string();continue;case 2:if(16!==e)break;r.state=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({showId:Ut(e.showId)?String(e.showId):"",state:Ut(e.state)?vt(e.state):0}),toJSON(e){const t={};return""!==e.showId&&(t.showId=e.showId),0!==e.state&&(t.state=function(e){switch(e){case ct.PLAYED:return"PLAYED";case ct.UNPLAYED:return"UNPLAYED";case ct.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.state)),t},create:e=>Mt.fromPartial(e??{}),fromPartial(e){const t={showId:"",state:0};return t.showId=e.showId??"",t.state=e.state??0,t}};const xt={encode:(e,t=o.Writer.create())=>(void 0!==e.status&&yt.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={status:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.status=yt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({status:Ut(e.status)?yt.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=yt.toJSON(e.status)),t},create:e=>xt.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?yt.fromPartial(e.status):void 0,t}};function Ut(e){return null!=e}class Vt{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getShow(e,t){const n=Vt.SERVICE_ID,i="GetShow",r=It.fromPartial(e),a=It.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Rt.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subShow(e,t){const n=Vt.SERVICE_ID,i="SubShow",r=It.fromPartial(e),a=It.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=Rt.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}getShowEpisode(e,t){const n=Vt.SERVICE_ID,i="GetShowEpisode",r=It.fromPartial(e),a=It.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Rt.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subShowEpisode(e,t){const n=Vt.SERVICE_ID,i="SubShowEpisode",r=It.fromPartial(e),a=It.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=Rt.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}getDecorate(e,t){const n=Vt.SERVICE_ID,i="GetDecorate",r=Nt.fromPartial(e),a=Nt.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Pt.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subDecorate(e,t){const n=Vt.SERVICE_ID,i="SubDecorate",r=Nt.fromPartial(e),a=Nt.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=Pt.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}getUnfinishedEpisodes(e,t){const n=Vt.SERVICE_ID,i="GetUnfinishedEpisodes",r=Lt.fromPartial(e),a=Lt.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=kt.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}subUnfinishedEpisodes(e,t){const n=Vt.SERVICE_ID,i="SubUnfinishedEpisodes",r=Lt.fromPartial(e),a=Lt.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=kt.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}playShow(e,t){const n=Vt.SERVICE_ID,i="PlayShow",r=wt.fromPartial(e),a=wt.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Dt.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}markShowAsPlayed(e,t){const n=Vt.SERVICE_ID,i="MarkShowAsPlayed",r=Mt.fromPartial(e),a=Mt.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=xt.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.show_esperanto.proto.ShowService";static METHODS={getShow:{isStreaming:!1,requestType:It,responseType:Rt},subShow:{isStreaming:!0,requestType:It,responseType:Rt},getShowEpisode:{isStreaming:!1,requestType:It,responseType:Rt},subShowEpisode:{isStreaming:!0,requestType:It,responseType:Rt},getDecorate:{isStreaming:!1,requestType:Nt,responseType:Pt},subDecorate:{isStreaming:!0,requestType:Nt,responseType:Pt},getUnfinishedEpisodes:{isStreaming:!1,requestType:Lt,responseType:kt},subUnfinishedEpisodes:{isStreaming:!0,requestType:Lt,responseType:kt},playShow:{isStreaming:!1,requestType:wt,responseType:Dt},markShowAsPlayed:{isStreaming:!1,requestType:Mt,responseType:xt}};static DECODERS={GetShow:{request:It.decode,response:Rt.decode},SubShow:{request:It.decode,response:Rt.decode},GetShowEpisode:{request:It.decode,response:Rt.decode},SubShowEpisode:{request:It.decode,response:Rt.decode},GetDecorate:{request:Nt.decode,response:Pt.decode},SubDecorate:{request:Nt.decode,response:Pt.decode},GetUnfinishedEpisodes:{request:Lt.decode,response:kt.decode},SubUnfinishedEpisodes:{request:Lt.decode,response:kt.decode},PlayShow:{request:wt.decode,response:Dt.decode},MarkShowAsPlayed:{request:Mt.decode,response:xt.decode}}}},1275:(e,t,n)=>{"use strict";n.d(t,{Mx:()=>i,LN:()=>C,k7:()=>R});var i,o=n(24848),r=n(87252);function a(e){switch(e){case 0:case"STREAM":return i.STREAM;case 1:case"COVER_ART":return i.COVER_ART;case 4:case"PLAYLIST":return i.PLAYLIST;case 5:case"AUDIO_SHOW":return i.AUDIO_SHOW;case 7:case"HEAD_FILES":return i.HEAD_FILES;case 8:case"EXTERNAL_AUDIO_SHOW":return i.EXTERNAL_AUDIO_SHOW;case 9:case"KARAOKE_MASK":return i.KARAOKE_MASK;default:return i.UNRECOGNIZED}}function s(e){switch(e){case i.STREAM:return"STREAM";case i.COVER_ART:return"COVER_ART";case i.PLAYLIST:return"PLAYLIST";case i.AUDIO_SHOW:return"AUDIO_SHOW";case i.HEAD_FILES:return"HEAD_FILES";case i.EXTERNAL_AUDIO_SHOW:return"EXTERNAL_AUDIO_SHOW";case i.KARAOKE_MASK:return"KARAOKE_MASK";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function c(){return{size:BigInt("0")}}!function(e){e[e.STREAM=0]="STREAM",e[e.COVER_ART=1]="COVER_ART",e[e.PLAYLIST=4]="PLAYLIST",e[e.AUDIO_SHOW=5]="AUDIO_SHOW",e[e.HEAD_FILES=7]="HEAD_FILES",e[e.EXTERNAL_AUDIO_SHOW=8]="EXTERNAL_AUDIO_SHOW",e[e.KARAOKE_MASK=9]="KARAOKE_MASK",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const l={encode:(e,t=o.Writer.create())=>(e.size!==BigInt("0")&&t.uint32(8).int64(e.size.toString()),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=c();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.size=A(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({size:I(e.size)?BigInt(e.size):BigInt("0")}),toJSON(e){const t={};return e.size!==BigInt("0")&&(t.size=e.size.toString()),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t=c();return t.size=e.size??BigInt("0"),t}};const u={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>u.fromPartial(e??{}),fromPartial:e=>({})};const d={encode:(e,t=o.Writer.create())=>(void 0!==e.limit&&l.encode(e.limit,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={limit:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.limit=l.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({limit:I(e.limit)?l.fromJSON(e.limit):void 0}),toJSON(e){const t={};return void 0!==e.limit&&(t.limit=l.toJSON(e.limit)),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={limit:void 0};return t.limit=void 0!==e.limit&&null!==e.limit?l.fromPartial(e.limit):void 0,t}};const p={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>p.fromPartial(e??{}),fromPartial:e=>({})};const h={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>h.fromPartial(e??{}),fromPartial:e=>({})};function f(){return{realm:0,size:BigInt("0"),numEntries:BigInt("0"),numCompleteEntries:BigInt("0")}}const m={encode:(e,t=o.Writer.create())=>(0!==e.realm&&t.uint32(8).int32(e.realm),e.size!==BigInt("0")&&t.uint32(16).int64(e.size.toString()),e.numEntries!==BigInt("0")&&t.uint32(24).int64(e.numEntries.toString()),e.numCompleteEntries!==BigInt("0")&&t.uint32(32).int64(e.numCompleteEntries.toString()),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=f();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.realm=n.int32();continue;case 2:if(16!==e)break;r.size=A(n.int64());continue;case 3:if(24!==e)break;r.numEntries=A(n.int64());continue;case 4:if(32!==e)break;r.numCompleteEntries=A(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({realm:I(e.realm)?a(e.realm):0,size:I(e.size)?BigInt(e.size):BigInt("0"),numEntries:I(e.numEntries)?BigInt(e.numEntries):BigInt("0"),numCompleteEntries:I(e.numCompleteEntries)?BigInt(e.numCompleteEntries):BigInt("0")}),toJSON(e){const t={};return 0!==e.realm&&(t.realm=s(e.realm)),e.size!==BigInt("0")&&(t.size=e.size.toString()),e.numEntries!==BigInt("0")&&(t.numEntries=e.numEntries.toString()),e.numCompleteEntries!==BigInt("0")&&(t.numCompleteEntries=e.numCompleteEntries.toString()),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t=f();return t.realm=e.realm??0,t.size=e.size??BigInt("0"),t.numEntries=e.numEntries??BigInt("0"),t.numCompleteEntries=e.numCompleteEntries??BigInt("0"),t}};function _(){return{cacheId:"",creationDateSec:BigInt("0"),maxCacheSize:BigInt("0"),currentSize:BigInt("0"),currentLockedSize:BigInt("0"),freeSpace:BigInt("0"),totalSpace:BigInt("0"),currentNumfiles:BigInt("0"),realmStats:[]}}const g={encode(e,t=o.Writer.create()){""!==e.cacheId&&t.uint32(10).string(e.cacheId),e.creationDateSec!==BigInt("0")&&t.uint32(16).int64(e.creationDateSec.toString()),e.maxCacheSize!==BigInt("0")&&t.uint32(24).int64(e.maxCacheSize.toString()),e.currentSize!==BigInt("0")&&t.uint32(32).int64(e.currentSize.toString()),e.currentLockedSize!==BigInt("0")&&t.uint32(40).int64(e.currentLockedSize.toString()),e.freeSpace!==BigInt("0")&&t.uint32(48).int64(e.freeSpace.toString()),e.totalSpace!==BigInt("0")&&t.uint32(56).int64(e.totalSpace.toString()),e.currentNumfiles!==BigInt("0")&&t.uint32(64).int64(e.currentNumfiles.toString());for(const n of e.realmStats)m.encode(n,t.uint32(74).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=_();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.cacheId=n.string();continue;case 2:if(16!==e)break;r.creationDateSec=A(n.int64());continue;case 3:if(24!==e)break;r.maxCacheSize=A(n.int64());continue;case 4:if(32!==e)break;r.currentSize=A(n.int64());continue;case 5:if(40!==e)break;r.currentLockedSize=A(n.int64());continue;case 6:if(48!==e)break;r.freeSpace=A(n.int64());continue;case 7:if(56!==e)break;r.totalSpace=A(n.int64());continue;case 8:if(64!==e)break;r.currentNumfiles=A(n.int64());continue;case 9:if(74!==e)break;r.realmStats.push(m.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({cacheId:I(e.cacheId)?String(e.cacheId):"",creationDateSec:I(e.creationDateSec)?BigInt(e.creationDateSec):BigInt("0"),maxCacheSize:I(e.maxCacheSize)?BigInt(e.maxCacheSize):BigInt("0"),currentSize:I(e.currentSize)?BigInt(e.currentSize):BigInt("0"),currentLockedSize:I(e.currentLockedSize)?BigInt(e.currentLockedSize):BigInt("0"),freeSpace:I(e.freeSpace)?BigInt(e.freeSpace):BigInt("0"),totalSpace:I(e.totalSpace)?BigInt(e.totalSpace):BigInt("0"),currentNumfiles:I(e.currentNumfiles)?BigInt(e.currentNumfiles):BigInt("0"),realmStats:Array.isArray(e?.realmStats)?e.realmStats.map((e=>m.fromJSON(e))):[]}),toJSON(e){const t={};return""!==e.cacheId&&(t.cacheId=e.cacheId),e.creationDateSec!==BigInt("0")&&(t.creationDateSec=e.creationDateSec.toString()),e.maxCacheSize!==BigInt("0")&&(t.maxCacheSize=e.maxCacheSize.toString()),e.currentSize!==BigInt("0")&&(t.currentSize=e.currentSize.toString()),e.currentLockedSize!==BigInt("0")&&(t.currentLockedSize=e.currentLockedSize.toString()),e.freeSpace!==BigInt("0")&&(t.freeSpace=e.freeSpace.toString()),e.totalSpace!==BigInt("0")&&(t.totalSpace=e.totalSpace.toString()),e.currentNumfiles!==BigInt("0")&&(t.currentNumfiles=e.currentNumfiles.toString()),e.realmStats?.length&&(t.realmStats=e.realmStats.map((e=>m.toJSON(e)))),t},create:e=>g.fromPartial(e??{}),fromPartial(e){const t=_();return t.cacheId=e.cacheId??"",t.creationDateSec=e.creationDateSec??BigInt("0"),t.maxCacheSize=e.maxCacheSize??BigInt("0"),t.currentSize=e.currentSize??BigInt("0"),t.currentLockedSize=e.currentLockedSize??BigInt("0"),t.freeSpace=e.freeSpace??BigInt("0"),t.totalSpace=e.totalSpace??BigInt("0"),t.currentNumfiles=e.currentNumfiles??BigInt("0"),t.realmStats=e.realmStats?.map((e=>m.fromPartial(e)))||[],t}};const E={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>E.fromPartial(e??{}),fromPartial:e=>({})};function v(){return{byteSizeKnown:!1,byteSize:BigInt("0"),ranges:[]}}const y={encode(e,t=o.Writer.create()){!0===e.byteSizeKnown&&t.uint32(8).bool(e.byteSizeKnown),e.byteSize!==BigInt("0")&&t.uint32(16).uint64(e.byteSize.toString());for(const n of e.ranges)S.encode(n,t.uint32(26).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=v();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.byteSizeKnown=n.bool();continue;case 2:if(16!==e)break;r.byteSize=A(n.uint64());continue;case 3:if(26!==e)break;r.ranges.push(S.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({byteSizeKnown:!!I(e.byteSizeKnown)&&Boolean(e.byteSizeKnown),byteSize:I(e.byteSize)?BigInt(e.byteSize):BigInt("0"),ranges:Array.isArray(e?.ranges)?e.ranges.map((e=>S.fromJSON(e))):[]}),toJSON(e){const t={};return!0===e.byteSizeKnown&&(t.byteSizeKnown=e.byteSizeKnown),e.byteSize!==BigInt("0")&&(t.byteSize=e.byteSize.toString()),e.ranges?.length&&(t.ranges=e.ranges.map((e=>S.toJSON(e)))),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t=v();return t.byteSizeKnown=e.byteSizeKnown??!1,t.byteSize=e.byteSize??BigInt("0"),t.ranges=e.ranges?.map((e=>S.fromPartial(e)))||[],t}};function b(){return{fromByte:BigInt("0"),toByte:BigInt("0")}}const S={encode:(e,t=o.Writer.create())=>(e.fromByte!==BigInt("0")&&t.uint32(8).uint64(e.fromByte.toString()),e.toByte!==BigInt("0")&&t.uint32(16).uint64(e.toByte.toString()),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=b();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.fromByte=A(n.uint64());continue;case 2:if(16!==e)break;r.toByte=A(n.uint64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({fromByte:I(e.fromByte)?BigInt(e.fromByte):BigInt("0"),toByte:I(e.toByte)?BigInt(e.toByte):BigInt("0")}),toJSON(e){const t={};return e.fromByte!==BigInt("0")&&(t.fromByte=e.fromByte.toString()),e.toByte!==BigInt("0")&&(t.toByte=e.toByte.toString()),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t=b();return t.fromByte=e.fromByte??BigInt("0"),t.toByte=e.toByte??BigInt("0"),t}};const T={encode:(e,t=o.Writer.create())=>(0!==e.realm&&t.uint32(8).int32(e.realm),""!==e.fileId&&t.uint32(18).string(e.fileId),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={realm:0,fileId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.realm=n.int32();continue;case 2:if(18!==e)break;r.fileId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({realm:I(e.realm)?a(e.realm):0,fileId:I(e.fileId)?String(e.fileId):""}),toJSON(e){const t={};return 0!==e.realm&&(t.realm=s(e.realm)),""!==e.fileId&&(t.fileId=e.fileId),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={realm:0,fileId:""};return t.realm=e.realm??0,t.fileId=e.fileId??"",t}};function A(e){return BigInt(e.toString())}function I(e){return null!=e}o.util.Long!==r&&(o.util.Long=r,o.configure());const O={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>O.fromPartial(e??{}),fromPartial:e=>({})};class C{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getCacheSizeLimit(e,t){const n=C.SERVICE_ID,i="GetCacheSizeLimit",r=u.fromPartial(e),a=u.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=l.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}setCacheSizeLimit(e,t){const n=C.SERVICE_ID,i="SetCacheSizeLimit",r=d.fromPartial(e),a=d.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=O.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}deleteExpiredItems(e,t){const n=C.SERVICE_ID,i="DeleteExpiredItems",r=p.fromPartial(e),a=p.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=O.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}deleteUnlockedItems(e,t){const n=C.SERVICE_ID,i="DeleteUnlockedItems",r=h.fromPartial(e),a=h.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=O.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getStats(e,t){const n=C.SERVICE_ID,i="GetStats",r=E.fromPartial(e),a=E.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=g.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}getFileRanges(e,t){const n=C.SERVICE_ID,i="GetFileRanges",r=T.fromPartial(e),a=T.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=y.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.storage.esperanto.proto.Storage";static METHODS={getCacheSizeLimit:{isStreaming:!1,requestType:u,responseType:l},setCacheSizeLimit:{isStreaming:!1,requestType:d,responseType:O},deleteExpiredItems:{isStreaming:!1,requestType:p,responseType:O},deleteUnlockedItems:{isStreaming:!1,requestType:h,responseType:O},getStats:{isStreaming:!1,requestType:E,responseType:g},getFileRanges:{isStreaming:!1,requestType:T,responseType:y}};static DECODERS={GetCacheSizeLimit:{request:u.decode,response:l.decode},SetCacheSizeLimit:{request:d.decode,response:O.decode},DeleteExpiredItems:{request:p.decode,response:O.decode},DeleteUnlockedItems:{request:h.decode,response:O.decode},GetStats:{request:E.decode,response:g.decode},GetFileRanges:{request:T.decode,response:y.decode}}}function R(e){return new C(e)}},92759:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>S,iO:()=>E,Xb:()=>_e,Fy:()=>fe,p2:()=>P,ID:()=>C,jO:()=>i,O4:()=>L,WT:()=>A,HG:()=>Me,oR:()=>o,Jk:()=>b});var i,o,r=n(24848);function a(e){switch(e){case 0:case"NAME":return o.NAME;case 1:case"RECENTLY_ADDED":return o.RECENTLY_ADDED;case 2:case"CREATOR":return o.CREATOR;case 4:case"CUSTOM":return o.CUSTOM;case 5:case"RECENTLY_UPDATED":return o.RECENTLY_UPDATED;case 6:case"RECENTLY_PLAYED_OR_ADDED":return o.RECENTLY_PLAYED_OR_ADDED;case 7:case"RELEVANCE":return o.RELEVANCE;case 8:case"EVENT_START_TIME":return o.EVENT_START_TIME;default:return o.UNRECOGNIZED}}!function(e){e[e.ALBUM=0]="ALBUM",e[e.ARTIST=1]="ARTIST",e[e.PLAYLIST=2]="PLAYLIST",e[e.SHOW=3]="SHOW",e[e.BOOK=4]="BOOK",e[e.EVENT=5]="EVENT",e[e.DOWNLOADED=100]="DOWNLOADED",e[e.WRITABLE=101]="WRITABLE",e[e.BY_YOU=102]="BY_YOU",e[e.BY_SPOTIFY=103]="BY_SPOTIFY",e[e.UNPLAYED=104]="UNPLAYED",e[e.IN_PROGRESS=105]="IN_PROGRESS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={})),function(e){e[e.NAME=0]="NAME",e[e.RECENTLY_ADDED=1]="RECENTLY_ADDED",e[e.CREATOR=2]="CREATOR",e[e.CUSTOM=4]="CUSTOM",e[e.RECENTLY_UPDATED=5]="RECENTLY_UPDATED",e[e.RECENTLY_PLAYED_OR_ADDED=6]="RECENTLY_PLAYED_OR_ADDED",e[e.RELEVANCE=7]="RELEVANCE",e[e.EVENT_START_TIME=8]="EVENT_START_TIME",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(o||(o={}));const s={encode:(e,t=r.Writer.create())=>(""!==e.label&&t.uint32(10).string(e.label),""!==e.image&&t.uint32(18).string(e.image),!0===e.includeEmpty&&t.uint32(24).bool(e.includeEmpty),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={label:"",image:"",includeEmpty:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.label=n.string();continue;case 2:if(18!==e)break;o.image=n.string();continue;case 3:if(24!==e)break;o.includeEmpty=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({label:d(e.label)?String(e.label):"",image:d(e.image)?String(e.image):"",includeEmpty:!!d(e.includeEmpty)&&Boolean(e.includeEmpty)}),toJSON(e){const t={};return""!==e.label&&(t.label=e.label),""!==e.image&&(t.image=e.image),!0===e.includeEmpty&&(t.includeEmpty=e.includeEmpty),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={label:"",image:"",includeEmpty:!1};return t.label=e.label??"",t.image=e.image??"",t.includeEmpty=e.includeEmpty??!1,t}};const c={encode:(e,t=r.Writer.create())=>(void 0!==e.likedSongs&&s.encode(e.likedSongs,t.uint32(10).fork()).ldelim(),void 0!==e.yourEpisodes&&s.encode(e.yourEpisodes,t.uint32(18).fork()).ldelim(),void 0!==e.newEpisodes&&s.encode(e.newEpisodes,t.uint32(26).fork()).ldelim(),void 0!==e.localFiles&&s.encode(e.localFiles,t.uint32(34).fork()).ldelim(),void 0!==e.cachedFiles&&s.encode(e.cachedFiles,t.uint32(42).fork()).ldelim(),!0===e.yourHighlights&&t.uint32(48).bool(e.yourHighlights),!0===e.allAvailableConfigsProvided&&t.uint32(792).bool(e.allAvailableConfigsProvided),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={likedSongs:void 0,yourEpisodes:void 0,newEpisodes:void 0,localFiles:void 0,cachedFiles:void 0,yourHighlights:!1,allAvailableConfigsProvided:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.likedSongs=s.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.yourEpisodes=s.decode(n,n.uint32());continue;case 3:if(26!==e)break;o.newEpisodes=s.decode(n,n.uint32());continue;case 4:if(34!==e)break;o.localFiles=s.decode(n,n.uint32());continue;case 5:if(42!==e)break;o.cachedFiles=s.decode(n,n.uint32());continue;case 6:if(48!==e)break;o.yourHighlights=n.bool();continue;case 99:if(792!==e)break;o.allAvailableConfigsProvided=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({likedSongs:d(e.likedSongs)?s.fromJSON(e.likedSongs):void 0,yourEpisodes:d(e.yourEpisodes)?s.fromJSON(e.yourEpisodes):void 0,newEpisodes:d(e.newEpisodes)?s.fromJSON(e.newEpisodes):void 0,localFiles:d(e.localFiles)?s.fromJSON(e.localFiles):void 0,cachedFiles:d(e.cachedFiles)?s.fromJSON(e.cachedFiles):void 0,yourHighlights:!!d(e.yourHighlights)&&Boolean(e.yourHighlights),allAvailableConfigsProvided:!!d(e.allAvailableConfigsProvided)&&Boolean(e.allAvailableConfigsProvided)}),toJSON(e){const t={};return void 0!==e.likedSongs&&(t.likedSongs=s.toJSON(e.likedSongs)),void 0!==e.yourEpisodes&&(t.yourEpisodes=s.toJSON(e.yourEpisodes)),void 0!==e.newEpisodes&&(t.newEpisodes=s.toJSON(e.newEpisodes)),void 0!==e.localFiles&&(t.localFiles=s.toJSON(e.localFiles)),void 0!==e.cachedFiles&&(t.cachedFiles=s.toJSON(e.cachedFiles)),!0===e.yourHighlights&&(t.yourHighlights=e.yourHighlights),!0===e.allAvailableConfigsProvided&&(t.allAvailableConfigsProvided=e.allAvailableConfigsProvided),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={likedSongs:void 0,yourEpisodes:void 0,newEpisodes:void 0,localFiles:void 0,cachedFiles:void 0,yourHighlights:!1,allAvailableConfigsProvided:!1};return t.likedSongs=void 0!==e.likedSongs&&null!==e.likedSongs?s.fromPartial(e.likedSongs):void 0,t.yourEpisodes=void 0!==e.yourEpisodes&&null!==e.yourEpisodes?s.fromPartial(e.yourEpisodes):void 0,t.newEpisodes=void 0!==e.newEpisodes&&null!==e.newEpisodes?s.fromPartial(e.newEpisodes):void 0,t.localFiles=void 0!==e.localFiles&&null!==e.localFiles?s.fromPartial(e.localFiles):void 0,t.cachedFiles=void 0!==e.cachedFiles&&null!==e.cachedFiles?s.fromPartial(e.cachedFiles):void 0,t.yourHighlights=e.yourHighlights??!1,t.allAvailableConfigsProvided=e.allAvailableConfigsProvided??!1,t}};const l={encode(e,t=r.Writer.create()){t.uint32(10).fork();for(const n of e.filter)t.int32(n);return t.ldelim(),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={filter:[]};for(;n.pos<i;){const e=n.uint32();if(e>>>3==1){if(8===e){o.filter.push(n.int32());continue}if(10===e){const e=n.uint32()+n.pos;for(;n.pos<e;)o.filter.push(n.int32());continue}}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({filter:Array.isArray(e?.filter)?e.filter.map((e=>function(e){switch(e){case 0:case"ALBUM":return i.ALBUM;case 1:case"ARTIST":return i.ARTIST;case 2:case"PLAYLIST":return i.PLAYLIST;case 3:case"SHOW":return i.SHOW;case 4:case"BOOK":return i.BOOK;case 5:case"EVENT":return i.EVENT;case 100:case"DOWNLOADED":return i.DOWNLOADED;case 101:case"WRITABLE":return i.WRITABLE;case 102:case"BY_YOU":return i.BY_YOU;case 103:case"BY_SPOTIFY":return i.BY_SPOTIFY;case 104:case"UNPLAYED":return i.UNPLAYED;case 105:case"IN_PROGRESS":return i.IN_PROGRESS;default:return i.UNRECOGNIZED}}(e))):[]}),toJSON(e){const t={};return e.filter?.length&&(t.filter=e.filter.map((e=>function(e){switch(e){case i.ALBUM:return"ALBUM";case i.ARTIST:return"ARTIST";case i.PLAYLIST:return"PLAYLIST";case i.SHOW:return"SHOW";case i.BOOK:return"BOOK";case i.EVENT:return"EVENT";case i.DOWNLOADED:return"DOWNLOADED";case i.WRITABLE:return"WRITABLE";case i.BY_YOU:return"BY_YOU";case i.BY_SPOTIFY:return"BY_SPOTIFY";case i.UNPLAYED:return"UNPLAYED";case i.IN_PROGRESS:return"IN_PROGRESS";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e)))),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={filter:[]};return t.filter=e.filter?.map((e=>e))||[],t}};const u={encode:(e,t=r.Writer.create())=>(0!==e.sortOrder&&t.uint32(8).int32(e.sortOrder),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={sortOrder:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.sortOrder=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({sortOrder:d(e.sortOrder)?a(e.sortOrder):0}),toJSON(e){const t={};return 0!==e.sortOrder&&(t.sortOrder=function(e){switch(e){case o.NAME:return"NAME";case o.RECENTLY_ADDED:return"RECENTLY_ADDED";case o.CREATOR:return"CREATOR";case o.CUSTOM:return"CUSTOM";case o.RECENTLY_UPDATED:return"RECENTLY_UPDATED";case o.RECENTLY_PLAYED_OR_ADDED:return"RECENTLY_PLAYED_OR_ADDED";case o.RELEVANCE:return"RELEVANCE";case o.EVENT_START_TIME:return"EVENT_START_TIME";case o.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.sortOrder)),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={sortOrder:0};return t.sortOrder=e.sortOrder??0,t}};function d(e){return null!=e}const p={encode(e,t=r.Writer.create()){for(const n of e.requestedUri)t.uint32(26).string(n);return void 0!==e.pseudoPlaylistConfig&&c.encode(e.pseudoPlaylistConfig,t.uint32(34).fork()).ldelim(),0!==e.updateThrottling&&t.uint32(40).int32(e.updateThrottling),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={requestedUri:[],pseudoPlaylistConfig:void 0,updateThrottling:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 3:if(26!==e)break;o.requestedUri.push(n.string());continue;case 4:if(34!==e)break;o.pseudoPlaylistConfig=c.decode(n,n.uint32());continue;case 5:if(40!==e)break;o.updateThrottling=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({requestedUri:Array.isArray(e?.requestedUri)?e.requestedUri.map((e=>String(e))):[],pseudoPlaylistConfig:h(e.pseudoPlaylistConfig)?c.fromJSON(e.pseudoPlaylistConfig):void 0,updateThrottling:h(e.updateThrottling)?Number(e.updateThrottling):0}),toJSON(e){const t={};return e.requestedUri?.length&&(t.requestedUri=e.requestedUri),void 0!==e.pseudoPlaylistConfig&&(t.pseudoPlaylistConfig=c.toJSON(e.pseudoPlaylistConfig)),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={requestedUri:[],pseudoPlaylistConfig:void 0,updateThrottling:0};return t.requestedUri=e.requestedUri?.map((e=>e))||[],t.pseudoPlaylistConfig=void 0!==e.pseudoPlaylistConfig&&null!==e.pseudoPlaylistConfig?c.fromPartial(e.pseudoPlaylistConfig):void 0,t.updateThrottling=e.updateThrottling??0,t}};function h(e){return null!=e}const f={encode:(e,t=r.Writer.create())=>(!0===e.isLoading&&t.uint32(16).bool(e.isLoading),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={isLoading:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 2:if(16!==e)break;o.isLoading=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({isLoading:!!g(e.isLoading)&&Boolean(e.isLoading)}),toJSON(e){const t={};return!0===e.isLoading&&(t.isLoading=e.isLoading),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={isLoading:!1};return t.isLoading=e.isLoading??!1,t}};const m={encode:(e,t=r.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),!0===e.isInLibrary&&t.uint32(16).bool(e.isInLibrary),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={uri:"",isInLibrary:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.uri=n.string();continue;case 2:if(16!==e)break;o.isInLibrary=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({uri:g(e.uri)?String(e.uri):"",isInLibrary:!!g(e.isInLibrary)&&Boolean(e.isInLibrary)}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),!0===e.isInLibrary&&(t.isInLibrary=e.isInLibrary),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={uri:"",isInLibrary:!1};return t.uri=e.uri??"",t.isInLibrary=e.isInLibrary??!1,t}};const _={encode(e,t=r.Writer.create()){void 0!==e.header&&f.encode(e.header,t.uint32(10).fork()).ldelim();for(const n of e.entity)m.encode(n,t.uint32(18).fork()).ldelim();return 0!==e.statusCode&&t.uint32(784).uint32(e.statusCode),""!==e.error&&t.uint32(794).string(e.error),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={header:void 0,entity:[],statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.header=f.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.entity.push(m.decode(n,n.uint32()));continue;case 98:if(784!==e)break;o.statusCode=n.uint32();continue;case 99:if(794!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({header:g(e.header)?f.fromJSON(e.header):void 0,entity:Array.isArray(e?.entity)?e.entity.map((e=>m.fromJSON(e))):[],statusCode:g(e.statusCode)?Number(e.statusCode):0,error:g(e.error)?String(e.error):""}),toJSON(e){const t={};return void 0!==e.header&&(t.header=f.toJSON(e.header)),e.entity?.length&&(t.entity=e.entity.map((e=>m.toJSON(e)))),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>_.fromPartial(e??{}),fromPartial(e){const t={header:void 0,entity:[],statusCode:0,error:""};return t.header=void 0!==e.header&&null!==e.header?f.fromPartial(e.header):void 0,t.entity=e.entity?.map((e=>m.fromPartial(e)))||[],t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function g(e){return null!=e}var E,v=n(87252);function y(e){switch(e){case 0:case"NONE":return E.NONE;case 1:case"GROUP_BY":return E.GROUP_BY;case 2:case"ONLY_CURATED":return E.ONLY_CURATED;case 3:case"ONLY_NOT_CURATED":return E.ONLY_NOT_CURATED;default:return E.UNRECOGNIZED}}!function(e){e[e.NONE=0]="NONE",e[e.GROUP_BY=1]="GROUP_BY",e[e.ONLY_CURATED=2]="ONLY_CURATED",e[e.ONLY_NOT_CURATED=3]="ONLY_NOT_CURATED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(E||(E={}));const b={encode:(e,t=r.Writer.create())=>(""!==e.tagUri&&t.uint32(10).string(e.tagUri),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={tagUri:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.tagUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({tagUri:I(e.tagUri)?String(e.tagUri):""}),toJSON(e){const t={};return""!==e.tagUri&&(t.tagUri=e.tagUri),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={tagUri:""};return t.tagUri=e.tagUri??"",t}};const S={encode(e,t=r.Writer.create()){for(const n of e.items)t.uint32(10).string(n);return 0!==e.filter&&t.uint32(16).int32(e.filter),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={items:[],filter:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.items.push(n.string());continue;case 2:if(16!==e)break;o.filter=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({items:Array.isArray(e?.items)?e.items.map((e=>String(e))):[],filter:I(e.filter)?y(e.filter):0}),toJSON(e){const t={};return e.items?.length&&(t.items=e.items),0!==e.filter&&(t.filter=function(e){switch(e){case E.NONE:return"NONE";case E.GROUP_BY:return"GROUP_BY";case E.ONLY_CURATED:return"ONLY_CURATED";case E.ONLY_NOT_CURATED:return"ONLY_NOT_CURATED";case E.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.filter)),t},create:e=>S.fromPartial(e??{}),fromPartial(e){const t={items:[],filter:0};return t.items=e.items?.map((e=>e))||[],t.filter=e.filter??0,t}};const T={encode:(e,t=r.Writer.create())=>(!0===e.remainingEntities&&t.uint32(72).bool(e.remainingEntities),!0===e.totalCount&&t.uint32(144).bool(e.totalCount),""!==e.lowerBound&&t.uint32(82).string(e.lowerBound),0!==e.skip&&t.uint32(88).int32(e.skip),0!==e.length&&t.uint32(96).int32(e.length),""!==e.textFilter&&t.uint32(106).string(e.textFilter),void 0!==e.filters&&l.encode(e.filters,t.uint32(114).fork()).ldelim(),void 0!==e.sortOrder&&u.encode(e.sortOrder,t.uint32(122).fork()).ldelim(),void 0!==e.folderId&&t.uint32(128).int64(e.folderId.toString()),!0===e.allPlaylists&&t.uint32(136).bool(e.allPlaylists),!0===e.entitiesInFolders&&t.uint32(160).bool(e.entitiesInFolders),!0===e.separatePinnedItems&&t.uint32(176).bool(e.separatePinnedItems),void 0!==e.tagFilter&&b.encode(e.tagFilter,t.uint32(194).fork()).ldelim(),!0===e.numLinkTypesInPlaylists&&t.uint32(200).bool(e.numLinkTypesInPlaylists),!0===e.ignorePinning&&t.uint32(208).bool(e.ignorePinning),void 0!==e.curatedItems&&S.encode(e.curatedItems,t.uint32(234).fork()).ldelim(),!0===e.includeEvents&&t.uint32(240).bool(e.includeEvents),!0===e.includePrereleases&&t.uint32(248).bool(e.includePrereleases),!0===e.includeYourHighlights&&t.uint32(256).bool(e.includeYourHighlights),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={remainingEntities:!1,totalCount:!1,lowerBound:"",skip:0,length:0,textFilter:"",filters:void 0,sortOrder:void 0,folderId:void 0,allPlaylists:!1,entitiesInFolders:!1,separatePinnedItems:!1,tagFilter:void 0,numLinkTypesInPlaylists:!1,ignorePinning:!1,curatedItems:void 0,includeEvents:!1,includePrereleases:!1,includeYourHighlights:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 9:if(72!==e)break;o.remainingEntities=n.bool();continue;case 18:if(144!==e)break;o.totalCount=n.bool();continue;case 10:if(82!==e)break;o.lowerBound=n.string();continue;case 11:if(88!==e)break;o.skip=n.int32();continue;case 12:if(96!==e)break;o.length=n.int32();continue;case 13:if(106!==e)break;o.textFilter=n.string();continue;case 14:if(114!==e)break;o.filters=l.decode(n,n.uint32());continue;case 15:if(122!==e)break;o.sortOrder=u.decode(n,n.uint32());continue;case 16:if(128!==e)break;o.folderId=(a=n.int64(),BigInt(a.toString()));continue;case 17:if(136!==e)break;o.allPlaylists=n.bool();continue;case 20:if(160!==e)break;o.entitiesInFolders=n.bool();continue;case 22:if(176!==e)break;o.separatePinnedItems=n.bool();continue;case 24:if(194!==e)break;o.tagFilter=b.decode(n,n.uint32());continue;case 25:if(200!==e)break;o.numLinkTypesInPlaylists=n.bool();continue;case 26:if(208!==e)break;o.ignorePinning=n.bool();continue;case 29:if(234!==e)break;o.curatedItems=S.decode(n,n.uint32());continue;case 30:if(240!==e)break;o.includeEvents=n.bool();continue;case 31:if(248!==e)break;o.includePrereleases=n.bool();continue;case 32:if(256!==e)break;o.includeYourHighlights=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return o},fromJSON:e=>({remainingEntities:!!I(e.remainingEntities)&&Boolean(e.remainingEntities),totalCount:!!I(e.totalCount)&&Boolean(e.totalCount),lowerBound:I(e.lowerBound)?String(e.lowerBound):"",skip:I(e.skip)?Number(e.skip):0,length:I(e.length)?Number(e.length):0,textFilter:I(e.textFilter)?String(e.textFilter):"",filters:I(e.filters)?l.fromJSON(e.filters):void 0,sortOrder:I(e.sortOrder)?u.fromJSON(e.sortOrder):void 0,folderId:I(e.folderId)?BigInt(e.folderId):void 0,allPlaylists:!!I(e.allPlaylists)&&Boolean(e.allPlaylists),entitiesInFolders:!!I(e.entitiesInFolders)&&Boolean(e.entitiesInFolders),separatePinnedItems:!!I(e.separatePinnedItems)&&Boolean(e.separatePinnedItems),tagFilter:I(e.tagFilter)?b.fromJSON(e.tagFilter):void 0,numLinkTypesInPlaylists:!!I(e.numLinkTypesInPlaylists)&&Boolean(e.numLinkTypesInPlaylists),ignorePinning:!!I(e.ignorePinning)&&Boolean(e.ignorePinning),curatedItems:I(e.curatedItems)?S.fromJSON(e.curatedItems):void 0,includeEvents:!!I(e.includeEvents)&&Boolean(e.includeEvents),includePrereleases:!!I(e.includePrereleases)&&Boolean(e.includePrereleases),includeYourHighlights:!!I(e.includeYourHighlights)&&Boolean(e.includeYourHighlights)}),toJSON(e){const t={};return!0===e.remainingEntities&&(t.remainingEntities=e.remainingEntities),!0===e.totalCount&&(t.totalCount=e.totalCount),""!==e.lowerBound&&(t.lowerBound=e.lowerBound),0!==e.skip&&(t.skip=Math.round(e.skip)),0!==e.length&&(t.length=Math.round(e.length)),""!==e.textFilter&&(t.textFilter=e.textFilter),void 0!==e.filters&&(t.filters=l.toJSON(e.filters)),void 0!==e.sortOrder&&(t.sortOrder=u.toJSON(e.sortOrder)),void 0!==e.folderId&&(t.folderId=e.folderId.toString()),!0===e.allPlaylists&&(t.allPlaylists=e.allPlaylists),!0===e.entitiesInFolders&&(t.entitiesInFolders=e.entitiesInFolders),!0===e.separatePinnedItems&&(t.separatePinnedItems=e.separatePinnedItems),void 0!==e.tagFilter&&(t.tagFilter=b.toJSON(e.tagFilter)),!0===e.numLinkTypesInPlaylists&&(t.numLinkTypesInPlaylists=e.numLinkTypesInPlaylists),!0===e.ignorePinning&&(t.ignorePinning=e.ignorePinning),void 0!==e.curatedItems&&(t.curatedItems=S.toJSON(e.curatedItems)),!0===e.includeEvents&&(t.includeEvents=e.includeEvents),!0===e.includePrereleases&&(t.includePrereleases=e.includePrereleases),!0===e.includeYourHighlights&&(t.includeYourHighlights=e.includeYourHighlights),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={remainingEntities:!1,totalCount:!1,lowerBound:"",skip:0,length:0,textFilter:"",filters:void 0,sortOrder:void 0,folderId:void 0,allPlaylists:!1,entitiesInFolders:!1,separatePinnedItems:!1,tagFilter:void 0,numLinkTypesInPlaylists:!1,ignorePinning:!1,curatedItems:void 0,includeEvents:!1,includePrereleases:!1,includeYourHighlights:!1};return t.remainingEntities=e.remainingEntities??!1,t.totalCount=e.totalCount??!1,t.lowerBound=e.lowerBound??"",t.skip=e.skip??0,t.length=e.length??0,t.textFilter=e.textFilter??"",t.filters=void 0!==e.filters&&null!==e.filters?l.fromPartial(e.filters):void 0,t.sortOrder=void 0!==e.sortOrder&&null!==e.sortOrder?u.fromPartial(e.sortOrder):void 0,t.folderId=e.folderId??void 0,t.allPlaylists=e.allPlaylists??!1,t.entitiesInFolders=e.entitiesInFolders??!1,t.separatePinnedItems=e.separatePinnedItems??!1,t.tagFilter=void 0!==e.tagFilter&&null!==e.tagFilter?b.fromPartial(e.tagFilter):void 0,t.numLinkTypesInPlaylists=e.numLinkTypesInPlaylists??!1,t.ignorePinning=e.ignorePinning??!1,t.curatedItems=void 0!==e.curatedItems&&null!==e.curatedItems?S.fromPartial(e.curatedItems):void 0,t.includeEvents=e.includeEvents??!1,t.includePrereleases=e.includePrereleases??!1,t.includeYourHighlights=e.includeYourHighlights??!1,t}};const A={encode:(e,t=r.Writer.create())=>(void 0!==e.header&&T.encode(e.header,t.uint32(10).fork()).ldelim(),void 0!==e.pseudoPlaylistConfig&&c.encode(e.pseudoPlaylistConfig,t.uint32(34).fork()).ldelim(),0!==e.updateThrottling&&t.uint32(40).int32(e.updateThrottling),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={header:void 0,pseudoPlaylistConfig:void 0,updateThrottling:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.header=T.decode(n,n.uint32());continue;case 4:if(34!==e)break;o.pseudoPlaylistConfig=c.decode(n,n.uint32());continue;case 5:if(40!==e)break;o.updateThrottling=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({header:I(e.header)?T.fromJSON(e.header):void 0,pseudoPlaylistConfig:I(e.pseudoPlaylistConfig)?c.fromJSON(e.pseudoPlaylistConfig):void 0,updateThrottling:I(e.updateThrottling)?Number(e.updateThrottling):0}),toJSON(e){const t={};return void 0!==e.header&&(t.header=T.toJSON(e.header)),void 0!==e.pseudoPlaylistConfig&&(t.pseudoPlaylistConfig=c.toJSON(e.pseudoPlaylistConfig)),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={header:void 0,pseudoPlaylistConfig:void 0,updateThrottling:0};return t.header=void 0!==e.header&&null!==e.header?T.fromPartial(e.header):void 0,t.pseudoPlaylistConfig=void 0!==e.pseudoPlaylistConfig&&null!==e.pseudoPlaylistConfig?c.fromPartial(e.pseudoPlaylistConfig):void 0,t.updateThrottling=e.updateThrottling??0,t}};function I(e){return null!=e}var O,C,R,N,P,L;function k(e){switch(e){case 0:case"EMPTY":return O.EMPTY;case 1:case"ARTIST":return O.ARTIST;case 2:case"ALBUM":return O.ALBUM;case 4:case"TRACK":return O.TRACK;case 9:case"LOCAL_TRACK":return O.LOCAL_TRACK;case 62:case"SHOW":return O.SHOW;case 63:case"EPISODE":return O.EPISODE;default:return O.UNRECOGNIZED}}function w(e){switch(e){case 0:case"YES":return C.YES;case 1:case"NO_IN_FOLDER":return C.NO_IN_FOLDER;default:return C.UNRECOGNIZED}}function D(e){switch(e){case 0:case"UNKNOWN":return R.UNKNOWN;case 1:case"NO":return R.NO;case 2:case"YES":return R.YES;case 3:case"DOWNLOADING":return R.DOWNLOADING;case 4:case"WAITING":return R.WAITING;default:return R.UNRECOGNIZED}}function M(e){switch(e){case R.UNKNOWN:return"UNKNOWN";case R.NO:return"NO";case R.YES:return"YES";case R.DOWNLOADING:return"DOWNLOADING";case R.WAITING:return"WAITING";case R.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function x(e){switch(e){case 0:case"ALBUM":return N.ALBUM;case 1:case"SINGLE":return N.SINGLE;case 2:case"COMPILATION":return N.COMPILATION;case 3:case"EP":return N.EP;default:return N.UNRECOGNIZED}}function U(e){switch(e){case N.ALBUM:return"ALBUM";case N.SINGLE:return"SINGLE";case N.COMPILATION:return"COMPILATION";case N.EP:return"EP";case N.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function V(e){switch(e){case 0:case"OPEN":return P.OPEN;case 1:case"LOCKED":return P.LOCKED;case 2:case"CAPPED":return P.CAPPED;default:return P.UNRECOGNIZED}}function F(e){switch(e){case 0:case"ALBUM":return L.ALBUM;case 1:case"BOOK":return L.BOOK;default:return L.UNRECOGNIZED}}function B(){return{name:"",uri:"",groupLabel:"",imageUri:"",pinned:!1,pinnable:0,offlineAvailability:0,addTime:BigInt("0"),lastPlayed:BigInt("0"),hasCuratedItems:!1}}r.util.Long!==v&&(r.util.Long=v,r.configure()),function(e){e[e.EMPTY=0]="EMPTY",e[e.ARTIST=1]="ARTIST",e[e.ALBUM=2]="ALBUM",e[e.TRACK=4]="TRACK",e[e.LOCAL_TRACK=9]="LOCAL_TRACK",e[e.SHOW=62]="SHOW",e[e.EPISODE=63]="EPISODE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(O||(O={})),function(e){e[e.YES=0]="YES",e[e.NO_IN_FOLDER=1]="NO_IN_FOLDER",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(C||(C={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NO=1]="NO",e[e.YES=2]="YES",e[e.DOWNLOADING=3]="DOWNLOADING",e[e.WAITING=4]="WAITING",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(R||(R={})),function(e){e[e.ALBUM=0]="ALBUM",e[e.SINGLE=1]="SINGLE",e[e.COMPILATION=2]="COMPILATION",e[e.EP=3]="EP",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(N||(N={})),function(e){e[e.OPEN=0]="OPEN",e[e.LOCKED=1]="LOCKED",e[e.CAPPED=2]="CAPPED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(P||(P={})),function(e){e[e.ALBUM=0]="ALBUM",e[e.BOOK=1]="BOOK",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(L||(L={}));const H={encode:(e,t=r.Writer.create())=>(""!==e.name&&t.uint32(18).string(e.name),""!==e.uri&&t.uint32(26).string(e.uri),""!==e.groupLabel&&t.uint32(42).string(e.groupLabel),""!==e.imageUri&&t.uint32(50).string(e.imageUri),!0===e.pinned&&t.uint32(56).bool(e.pinned),0!==e.pinnable&&t.uint32(64).int32(e.pinnable),0!==e.offlineAvailability&&t.uint32(72).int32(e.offlineAvailability),e.addTime!==BigInt("0")&&t.uint32(88).int64(e.addTime.toString()),e.lastPlayed!==BigInt("0")&&t.uint32(96).int64(e.lastPlayed.toString()),!0===e.hasCuratedItems&&t.uint32(104).bool(e.hasCuratedItems),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=B();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 2:if(18!==e)break;o.name=n.string();continue;case 3:if(26!==e)break;o.uri=n.string();continue;case 5:if(42!==e)break;o.groupLabel=n.string();continue;case 6:if(50!==e)break;o.imageUri=n.string();continue;case 7:if(56!==e)break;o.pinned=n.bool();continue;case 8:if(64!==e)break;o.pinnable=n.int32();continue;case 9:if(72!==e)break;o.offlineAvailability=n.int32();continue;case 11:if(88!==e)break;o.addTime=se(n.int64());continue;case 12:if(96!==e)break;o.lastPlayed=se(n.int64());continue;case 13:if(104!==e)break;o.hasCuratedItems=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({name:ce(e.name)?String(e.name):"",uri:ce(e.uri)?String(e.uri):"",groupLabel:ce(e.groupLabel)?String(e.groupLabel):"",imageUri:ce(e.imageUri)?String(e.imageUri):"",pinned:!!ce(e.pinned)&&Boolean(e.pinned),pinnable:ce(e.pinnable)?w(e.pinnable):0,offlineAvailability:ce(e.offlineAvailability)?D(e.offlineAvailability):0,addTime:ce(e.addTime)?BigInt(e.addTime):BigInt("0"),lastPlayed:ce(e.lastPlayed)?BigInt(e.lastPlayed):BigInt("0"),hasCuratedItems:!!ce(e.hasCuratedItems)&&Boolean(e.hasCuratedItems)}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),""!==e.uri&&(t.uri=e.uri),""!==e.groupLabel&&(t.groupLabel=e.groupLabel),""!==e.imageUri&&(t.imageUri=e.imageUri),!0===e.pinned&&(t.pinned=e.pinned),0!==e.pinnable&&(t.pinnable=function(e){switch(e){case C.YES:return"YES";case C.NO_IN_FOLDER:return"NO_IN_FOLDER";case C.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.pinnable)),0!==e.offlineAvailability&&(t.offlineAvailability=M(e.offlineAvailability)),e.addTime!==BigInt("0")&&(t.addTime=e.addTime.toString()),e.lastPlayed!==BigInt("0")&&(t.lastPlayed=e.lastPlayed.toString()),!0===e.hasCuratedItems&&(t.hasCuratedItems=e.hasCuratedItems),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t=B();return t.name=e.name??"",t.uri=e.uri??"",t.groupLabel=e.groupLabel??"",t.imageUri=e.imageUri??"",t.pinned=e.pinned??!1,t.pinnable=e.pinnable??0,t.offlineAvailability=e.offlineAvailability??0,t.addTime=e.addTime??BigInt("0"),t.lastPlayed=e.lastPlayed??BigInt("0"),t.hasCuratedItems=e.hasCuratedItems??!1,t}};const G={encode:(e,t=r.Writer.create())=>(""!==e.artistName&&t.uint32(10).string(e.artistName),""!==e.artistUri&&t.uint32(18).string(e.artistUri),0!==e.type&&t.uint32(24).int32(e.type),!0===e.isPremiumOnly&&t.uint32(32).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={artistName:"",artistUri:"",type:0,isPremiumOnly:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.artistName=n.string();continue;case 2:if(18!==e)break;o.artistUri=n.string();continue;case 3:if(24!==e)break;o.type=n.int32();continue;case 4:if(32!==e)break;o.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({artistName:ce(e.artistName)?String(e.artistName):"",artistUri:ce(e.artistUri)?String(e.artistUri):"",type:ce(e.type)?x(e.type):0,isPremiumOnly:!!ce(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return""!==e.artistName&&(t.artistName=e.artistName),""!==e.artistUri&&(t.artistUri=e.artistUri),0!==e.type&&(t.type=U(e.type)),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={artistName:"",artistUri:"",type:0,isPremiumOnly:!1};return t.artistName=e.artistName??"",t.artistUri=e.artistUri??"",t.type=e.type??0,t.isPremiumOnly=e.isPremiumOnly??!1,t}};const W={encode:(e,t=r.Writer.create())=>(!0===e.hasLikedTracksOrAlbums&&t.uint32(8).bool(e.hasLikedTracksOrAlbums),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={hasLikedTracksOrAlbums:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.hasLikedTracksOrAlbums=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({hasLikedTracksOrAlbums:!!ce(e.hasLikedTracksOrAlbums)&&Boolean(e.hasLikedTracksOrAlbums)}),toJSON(e){const t={};return!0===e.hasLikedTracksOrAlbums&&(t.hasLikedTracksOrAlbums=e.hasLikedTracksOrAlbums),t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t={hasLikedTracksOrAlbums:!1};return t.hasLikedTracksOrAlbums=e.hasLikedTracksOrAlbums??!1,t}};const j={encode:(e,t=r.Writer.create())=>(0!==e.linkType&&t.uint32(8).int32(e.linkType),0!==e.numItems&&t.uint32(16).int32(e.numItems),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={linkType:0,numItems:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.linkType=n.int32();continue;case 2:if(16!==e)break;o.numItems=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({linkType:ce(e.linkType)?k(e.linkType):0,numItems:ce(e.numItems)?Number(e.numItems):0}),toJSON(e){const t={};return 0!==e.linkType&&(t.linkType=function(e){switch(e){case O.EMPTY:return"EMPTY";case O.ARTIST:return"ARTIST";case O.ALBUM:return"ALBUM";case O.TRACK:return"TRACK";case O.LOCAL_TRACK:return"LOCAL_TRACK";case O.SHOW:return"SHOW";case O.EPISODE:return"EPISODE";case O.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.linkType)),0!==e.numItems&&(t.numItems=Math.round(e.numItems)),t},create:e=>j.fromPartial(e??{}),fromPartial(e){const t={linkType:0,numItems:0};return t.linkType=e.linkType??0,t.numItems=e.numItems??0,t}};const Y={encode:(e,t=r.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={uri:"",name:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.uri=n.string();continue;case 2:if(18!==e)break;o.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({uri:ce(e.uri)?String(e.uri):"",name:ce(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),""!==e.name&&(t.name=e.name),t},create:e=>Y.fromPartial(e??{}),fromPartial(e){const t={uri:"",name:""};return t.uri=e.uri??"",t.name=e.name??"",t}};const z={encode(e,t=r.Writer.create()){""!==e.creatorName&&t.uint32(10).string(e.creatorName),""!==e.creatorUri&&t.uint32(66).string(e.creatorUri),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),!0===e.canView&&t.uint32(48).bool(e.canView),!0===e.canAdd&&t.uint32(72).bool(e.canAdd),""!==e.rowId&&t.uint32(58).string(e.rowId),""!==e.madeForName&&t.uint32(82).string(e.madeForName),""!==e.madeForUri&&t.uint32(90).string(e.madeForUri);for(const n of e.numberOfItemsPerLinkType)j.encode(n,t.uint32(98).fork()).ldelim();return!0===e.ownedBySelf&&t.uint32(104).bool(e.ownedBySelf),void 0!==e.fromFolder&&Y.encode(e.fromFolder,t.uint32(114).fork()).ldelim(),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={creatorName:"",creatorUri:"",isLoading:!1,canView:!1,canAdd:!1,rowId:"",madeForName:"",madeForUri:"",numberOfItemsPerLinkType:[],ownedBySelf:!1,fromFolder:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.creatorName=n.string();continue;case 8:if(66!==e)break;o.creatorUri=n.string();continue;case 5:if(40!==e)break;o.isLoading=n.bool();continue;case 6:if(48!==e)break;o.canView=n.bool();continue;case 9:if(72!==e)break;o.canAdd=n.bool();continue;case 7:if(58!==e)break;o.rowId=n.string();continue;case 10:if(82!==e)break;o.madeForName=n.string();continue;case 11:if(90!==e)break;o.madeForUri=n.string();continue;case 12:if(98!==e)break;o.numberOfItemsPerLinkType.push(j.decode(n,n.uint32()));continue;case 13:if(104!==e)break;o.ownedBySelf=n.bool();continue;case 14:if(114!==e)break;o.fromFolder=Y.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({creatorName:ce(e.creatorName)?String(e.creatorName):"",creatorUri:ce(e.creatorUri)?String(e.creatorUri):"",isLoading:!!ce(e.isLoading)&&Boolean(e.isLoading),canView:!!ce(e.canView)&&Boolean(e.canView),canAdd:!!ce(e.canAdd)&&Boolean(e.canAdd),rowId:ce(e.rowId)?String(e.rowId):"",madeForName:ce(e.madeForName)?String(e.madeForName):"",madeForUri:ce(e.madeForUri)?String(e.madeForUri):"",numberOfItemsPerLinkType:Array.isArray(e?.numberOfItemsPerLinkType)?e.numberOfItemsPerLinkType.map((e=>j.fromJSON(e))):[],ownedBySelf:!!ce(e.ownedBySelf)&&Boolean(e.ownedBySelf),fromFolder:ce(e.fromFolder)?Y.fromJSON(e.fromFolder):void 0}),toJSON(e){const t={};return""!==e.creatorName&&(t.creatorName=e.creatorName),""!==e.creatorUri&&(t.creatorUri=e.creatorUri),!0===e.isLoading&&(t.isLoading=e.isLoading),!0===e.canView&&(t.canView=e.canView),!0===e.canAdd&&(t.canAdd=e.canAdd),""!==e.rowId&&(t.rowId=e.rowId),""!==e.madeForName&&(t.madeForName=e.madeForName),""!==e.madeForUri&&(t.madeForUri=e.madeForUri),e.numberOfItemsPerLinkType?.length&&(t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType.map((e=>j.toJSON(e)))),!0===e.ownedBySelf&&(t.ownedBySelf=e.ownedBySelf),void 0!==e.fromFolder&&(t.fromFolder=Y.toJSON(e.fromFolder)),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t={creatorName:"",creatorUri:"",isLoading:!1,canView:!1,canAdd:!1,rowId:"",madeForName:"",madeForUri:"",numberOfItemsPerLinkType:[],ownedBySelf:!1,fromFolder:void 0};return t.creatorName=e.creatorName??"",t.creatorUri=e.creatorUri??"",t.isLoading=e.isLoading??!1,t.canView=e.canView??!1,t.canAdd=e.canAdd??!1,t.rowId=e.rowId??"",t.madeForName=e.madeForName??"",t.madeForUri=e.madeForUri??"",t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType?.map((e=>j.fromPartial(e)))||[],t.ownedBySelf=e.ownedBySelf??!1,t.fromFolder=void 0!==e.fromFolder&&null!==e.fromFolder?Y.fromPartial(e.fromFolder):void 0,t}};function K(){return{creatorName:"",publishDate:BigInt("0"),isMusicAndTalk:!1,numberOfDownloadedEpisodes:0}}const J={encode:(e,t=r.Writer.create())=>(""!==e.creatorName&&t.uint32(10).string(e.creatorName),e.publishDate!==BigInt("0")&&t.uint32(32).int64(e.publishDate.toString()),!0===e.isMusicAndTalk&&t.uint32(40).bool(e.isMusicAndTalk),0!==e.numberOfDownloadedEpisodes&&t.uint32(48).int32(e.numberOfDownloadedEpisodes),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=K();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.creatorName=n.string();continue;case 4:if(32!==e)break;o.publishDate=se(n.int64());continue;case 5:if(40!==e)break;o.isMusicAndTalk=n.bool();continue;case 6:if(48!==e)break;o.numberOfDownloadedEpisodes=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({creatorName:ce(e.creatorName)?String(e.creatorName):"",publishDate:ce(e.publishDate)?BigInt(e.publishDate):BigInt("0"),isMusicAndTalk:!!ce(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),numberOfDownloadedEpisodes:ce(e.numberOfDownloadedEpisodes)?Number(e.numberOfDownloadedEpisodes):0}),toJSON(e){const t={};return""!==e.creatorName&&(t.creatorName=e.creatorName),e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),0!==e.numberOfDownloadedEpisodes&&(t.numberOfDownloadedEpisodes=Math.round(e.numberOfDownloadedEpisodes)),t},create:e=>J.fromPartial(e??{}),fromPartial(e){const t=K();return t.creatorName=e.creatorName??"",t.publishDate=e.publishDate??BigInt("0"),t.isMusicAndTalk=e.isMusicAndTalk??!1,t.numberOfDownloadedEpisodes=e.numberOfDownloadedEpisodes??0,t}};const q={encode(e,t=r.Writer.create()){0!==e.numberOfPlaylists&&t.uint32(16).int32(e.numberOfPlaylists),0!==e.numberOfFolders&&t.uint32(24).int32(e.numberOfFolders),""!==e.rowId&&t.uint32(34).string(e.rowId);for(const n of e.entity)ae.encode(n,t.uint32(42).fork()).ldelim();return t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={numberOfPlaylists:0,numberOfFolders:0,rowId:"",entity:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 2:if(16!==e)break;o.numberOfPlaylists=n.int32();continue;case 3:if(24!==e)break;o.numberOfFolders=n.int32();continue;case 4:if(34!==e)break;o.rowId=n.string();continue;case 5:if(42!==e)break;o.entity.push(ae.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({numberOfPlaylists:ce(e.numberOfPlaylists)?Number(e.numberOfPlaylists):0,numberOfFolders:ce(e.numberOfFolders)?Number(e.numberOfFolders):0,rowId:ce(e.rowId)?String(e.rowId):"",entity:Array.isArray(e?.entity)?e.entity.map((e=>ae.fromJSON(e))):[]}),toJSON(e){const t={};return 0!==e.numberOfPlaylists&&(t.numberOfPlaylists=Math.round(e.numberOfPlaylists)),0!==e.numberOfFolders&&(t.numberOfFolders=Math.round(e.numberOfFolders)),""!==e.rowId&&(t.rowId=e.rowId),e.entity?.length&&(t.entity=e.entity.map((e=>ae.toJSON(e)))),t},create:e=>q.fromPartial(e??{}),fromPartial(e){const t={numberOfPlaylists:0,numberOfFolders:0,rowId:"",entity:[]};return t.numberOfPlaylists=e.numberOfPlaylists??0,t.numberOfFolders=e.numberOfFolders??0,t.rowId=e.rowId??"",t.entity=e.entity?.map((e=>ae.fromPartial(e)))||[],t}};const X={encode:(e,t=r.Writer.create())=>(0!==e.numberOfSongs&&t.uint32(24).int32(e.numberOfSongs),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={numberOfSongs:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 3:if(24!==e)break;o.numberOfSongs=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({numberOfSongs:ce(e.numberOfSongs)?Number(e.numberOfSongs):0}),toJSON(e){const t={};return 0!==e.numberOfSongs&&(t.numberOfSongs=Math.round(e.numberOfSongs)),t},create:e=>X.fromPartial(e??{}),fromPartial(e){const t={numberOfSongs:0};return t.numberOfSongs=e.numberOfSongs??0,t}};const $={encode:(e,t=r.Writer.create())=>(0!==e.numberOfDownloadedEpisodes&&t.uint32(32).int32(e.numberOfDownloadedEpisodes),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={numberOfDownloadedEpisodes:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 4:if(32!==e)break;o.numberOfDownloadedEpisodes=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({numberOfDownloadedEpisodes:ce(e.numberOfDownloadedEpisodes)?Number(e.numberOfDownloadedEpisodes):0}),toJSON(e){const t={};return 0!==e.numberOfDownloadedEpisodes&&(t.numberOfDownloadedEpisodes=Math.round(e.numberOfDownloadedEpisodes)),t},create:e=>$.fromPartial(e??{}),fromPartial(e){const t={numberOfDownloadedEpisodes:0};return t.numberOfDownloadedEpisodes=e.numberOfDownloadedEpisodes??0,t}};function Z(){return{publishDate:BigInt("0")}}const Q={encode:(e,t=r.Writer.create())=>(e.publishDate!==BigInt("0")&&t.uint32(8).int64(e.publishDate.toString()),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=Z();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.publishDate=se(n.int64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({publishDate:ce(e.publishDate)?BigInt(e.publishDate):BigInt("0")}),toJSON(e){const t={};return e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),t},create:e=>Q.fromPartial(e??{}),fromPartial(e){const t=Z();return t.publishDate=e.publishDate??BigInt("0"),t}};const ee={encode:(e,t=r.Writer.create())=>(0!==e.numberOfFiles&&t.uint32(8).int32(e.numberOfFiles),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={numberOfFiles:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.numberOfFiles=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({numberOfFiles:ce(e.numberOfFiles)?Number(e.numberOfFiles):0}),toJSON(e){const t={};return 0!==e.numberOfFiles&&(t.numberOfFiles=Math.round(e.numberOfFiles)),t},create:e=>ee.fromPartial(e??{}),fromPartial(e){const t={numberOfFiles:0};return t.numberOfFiles=e.numberOfFiles??0,t}};const te={encode:(e,t=r.Writer.create())=>(""!==e.authorName&&t.uint32(10).string(e.authorName),0!==e.access&&t.uint32(16).int32(e.access),0!==e.minutesLeft&&t.uint32(24).int32(e.minutesLeft),0!==e.percentDone&&t.uint32(32).int32(e.percentDone),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={authorName:"",access:0,minutesLeft:0,percentDone:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.authorName=n.string();continue;case 2:if(16!==e)break;o.access=n.int32();continue;case 3:if(24!==e)break;o.minutesLeft=n.int32();continue;case 4:if(32!==e)break;o.percentDone=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({authorName:ce(e.authorName)?String(e.authorName):"",access:ce(e.access)?V(e.access):0,minutesLeft:ce(e.minutesLeft)?Number(e.minutesLeft):0,percentDone:ce(e.percentDone)?Number(e.percentDone):0}),toJSON(e){const t={};return""!==e.authorName&&(t.authorName=e.authorName),0!==e.access&&(t.access=function(e){switch(e){case P.OPEN:return"OPEN";case P.LOCKED:return"LOCKED";case P.CAPPED:return"CAPPED";case P.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.access)),0!==e.minutesLeft&&(t.minutesLeft=Math.round(e.minutesLeft)),0!==e.percentDone&&(t.percentDone=Math.round(e.percentDone)),t},create:e=>te.fromPartial(e??{}),fromPartial(e){const t={authorName:"",access:0,minutesLeft:0,percentDone:0};return t.authorName=e.authorName??"",t.access=e.access??0,t.minutesLeft=e.minutesLeft??0,t.percentDone=e.percentDone??0,t}};const ne={encode:(e,t=r.Writer.create())=>(0!==e.numberOfItems&&t.uint32(8).int32(e.numberOfItems),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={numberOfItems:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.numberOfItems=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({numberOfItems:ce(e.numberOfItems)?Number(e.numberOfItems):0}),toJSON(e){const t={};return 0!==e.numberOfItems&&(t.numberOfItems=Math.round(e.numberOfItems)),t},create:e=>ne.fromPartial(e??{}),fromPartial(e){const t={numberOfItems:0};return t.numberOfItems=e.numberOfItems??0,t}};const ie={encode:(e,t=r.Writer.create())=>(""!==e.artistName&&t.uint32(10).string(e.artistName),""!==e.artistUri&&t.uint32(18).string(e.artistUri),0!==e.type&&t.uint32(24).int32(e.type),0!==e.albumType&&t.uint32(32).int32(e.albumType),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={artistName:"",artistUri:"",type:0,albumType:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.artistName=n.string();continue;case 2:if(18!==e)break;o.artistUri=n.string();continue;case 3:if(24!==e)break;o.type=n.int32();continue;case 4:if(32!==e)break;o.albumType=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({artistName:ce(e.artistName)?String(e.artistName):"",artistUri:ce(e.artistUri)?String(e.artistUri):"",type:ce(e.type)?F(e.type):0,albumType:ce(e.albumType)?x(e.albumType):0}),toJSON(e){const t={};return""!==e.artistName&&(t.artistName=e.artistName),""!==e.artistUri&&(t.artistUri=e.artistUri),0!==e.type&&(t.type=function(e){switch(e){case L.ALBUM:return"ALBUM";case L.BOOK:return"BOOK";case L.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.type)),0!==e.albumType&&(t.albumType=U(e.albumType)),t},create:e=>ie.fromPartial(e??{}),fromPartial(e){const t={artistName:"",artistUri:"",type:0,albumType:0};return t.artistName=e.artistName??"",t.artistUri=e.artistUri??"",t.type=e.type??0,t.albumType=e.albumType??0,t}};function oe(){return{locationName:"",startTime:BigInt("0"),cityName:""}}const re={encode:(e,t=r.Writer.create())=>(""!==e.locationName&&t.uint32(10).string(e.locationName),e.startTime!==BigInt("0")&&t.uint32(16).int64(e.startTime.toString()),""!==e.cityName&&t.uint32(26).string(e.cityName),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=oe();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.locationName=n.string();continue;case 2:if(16!==e)break;o.startTime=se(n.int64());continue;case 3:if(26!==e)break;o.cityName=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({locationName:ce(e.locationName)?String(e.locationName):"",startTime:ce(e.startTime)?BigInt(e.startTime):BigInt("0"),cityName:ce(e.cityName)?String(e.cityName):""}),toJSON(e){const t={};return""!==e.locationName&&(t.locationName=e.locationName),e.startTime!==BigInt("0")&&(t.startTime=e.startTime.toString()),""!==e.cityName&&(t.cityName=e.cityName),t},create:e=>re.fromPartial(e??{}),fromPartial(e){const t=oe();return t.locationName=e.locationName??"",t.startTime=e.startTime??BigInt("0"),t.cityName=e.cityName??"",t}};const ae={encode:(e,t=r.Writer.create())=>(void 0!==e.entityInfo&&H.encode(e.entityInfo,t.uint32(10).fork()).ldelim(),void 0!==e.album&&G.encode(e.album,t.uint32(18).fork()).ldelim(),void 0!==e.artist&&W.encode(e.artist,t.uint32(26).fork()).ldelim(),void 0!==e.playlist&&z.encode(e.playlist,t.uint32(34).fork()).ldelim(),void 0!==e.show&&J.encode(e.show,t.uint32(42).fork()).ldelim(),void 0!==e.folder&&q.encode(e.folder,t.uint32(50).fork()).ldelim(),void 0!==e.likedSongs&&X.encode(e.likedSongs,t.uint32(66).fork()).ldelim(),void 0!==e.yourEpisodes&&$.encode(e.yourEpisodes,t.uint32(74).fork()).ldelim(),void 0!==e.newEpisodes&&Q.encode(e.newEpisodes,t.uint32(82).fork()).ldelim(),void 0!==e.localFiles&&ee.encode(e.localFiles,t.uint32(90).fork()).ldelim(),void 0!==e.book&&te.encode(e.book,t.uint32(98).fork()).ldelim(),void 0!==e.cachedFiles&&ne.encode(e.cachedFiles,t.uint32(106).fork()).ldelim(),void 0!==e.prerelease&&ie.encode(e.prerelease,t.uint32(122).fork()).ldelim(),void 0!==e.event&&re.encode(e.event,t.uint32(130).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={entityInfo:void 0,album:void 0,artist:void 0,playlist:void 0,show:void 0,folder:void 0,likedSongs:void 0,yourEpisodes:void 0,newEpisodes:void 0,localFiles:void 0,book:void 0,cachedFiles:void 0,prerelease:void 0,event:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.entityInfo=H.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.album=G.decode(n,n.uint32());continue;case 3:if(26!==e)break;o.artist=W.decode(n,n.uint32());continue;case 4:if(34!==e)break;o.playlist=z.decode(n,n.uint32());continue;case 5:if(42!==e)break;o.show=J.decode(n,n.uint32());continue;case 6:if(50!==e)break;o.folder=q.decode(n,n.uint32());continue;case 8:if(66!==e)break;o.likedSongs=X.decode(n,n.uint32());continue;case 9:if(74!==e)break;o.yourEpisodes=$.decode(n,n.uint32());continue;case 10:if(82!==e)break;o.newEpisodes=Q.decode(n,n.uint32());continue;case 11:if(90!==e)break;o.localFiles=ee.decode(n,n.uint32());continue;case 12:if(98!==e)break;o.book=te.decode(n,n.uint32());continue;case 13:if(106!==e)break;o.cachedFiles=ne.decode(n,n.uint32());continue;case 15:if(122!==e)break;o.prerelease=ie.decode(n,n.uint32());continue;case 16:if(130!==e)break;o.event=re.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({entityInfo:ce(e.entityInfo)?H.fromJSON(e.entityInfo):void 0,album:ce(e.album)?G.fromJSON(e.album):void 0,artist:ce(e.artist)?W.fromJSON(e.artist):void 0,playlist:ce(e.playlist)?z.fromJSON(e.playlist):void 0,show:ce(e.show)?J.fromJSON(e.show):void 0,folder:ce(e.folder)?q.fromJSON(e.folder):void 0,likedSongs:ce(e.likedSongs)?X.fromJSON(e.likedSongs):void 0,yourEpisodes:ce(e.yourEpisodes)?$.fromJSON(e.yourEpisodes):void 0,newEpisodes:ce(e.newEpisodes)?Q.fromJSON(e.newEpisodes):void 0,localFiles:ce(e.localFiles)?ee.fromJSON(e.localFiles):void 0,book:ce(e.book)?te.fromJSON(e.book):void 0,cachedFiles:ce(e.cachedFiles)?ne.fromJSON(e.cachedFiles):void 0,prerelease:ce(e.prerelease)?ie.fromJSON(e.prerelease):void 0,event:ce(e.event)?re.fromJSON(e.event):void 0}),toJSON(e){const t={};return void 0!==e.entityInfo&&(t.entityInfo=H.toJSON(e.entityInfo)),void 0!==e.album&&(t.album=G.toJSON(e.album)),void 0!==e.artist&&(t.artist=W.toJSON(e.artist)),void 0!==e.playlist&&(t.playlist=z.toJSON(e.playlist)),void 0!==e.show&&(t.show=J.toJSON(e.show)),void 0!==e.folder&&(t.folder=q.toJSON(e.folder)),void 0!==e.likedSongs&&(t.likedSongs=X.toJSON(e.likedSongs)),void 0!==e.yourEpisodes&&(t.yourEpisodes=$.toJSON(e.yourEpisodes)),void 0!==e.newEpisodes&&(t.newEpisodes=Q.toJSON(e.newEpisodes)),void 0!==e.localFiles&&(t.localFiles=ee.toJSON(e.localFiles)),void 0!==e.book&&(t.book=te.toJSON(e.book)),void 0!==e.cachedFiles&&(t.cachedFiles=ne.toJSON(e.cachedFiles)),void 0!==e.prerelease&&(t.prerelease=ie.toJSON(e.prerelease)),void 0!==e.event&&(t.event=re.toJSON(e.event)),t},create:e=>ae.fromPartial(e??{}),fromPartial(e){const t={entityInfo:void 0,album:void 0,artist:void 0,playlist:void 0,show:void 0,folder:void 0,likedSongs:void 0,yourEpisodes:void 0,newEpisodes:void 0,localFiles:void 0,book:void 0,cachedFiles:void 0,prerelease:void 0,event:void 0};return t.entityInfo=void 0!==e.entityInfo&&null!==e.entityInfo?H.fromPartial(e.entityInfo):void 0,t.album=void 0!==e.album&&null!==e.album?G.fromPartial(e.album):void 0,t.artist=void 0!==e.artist&&null!==e.artist?W.fromPartial(e.artist):void 0,t.playlist=void 0!==e.playlist&&null!==e.playlist?z.fromPartial(e.playlist):void 0,t.show=void 0!==e.show&&null!==e.show?J.fromPartial(e.show):void 0,t.folder=void 0!==e.folder&&null!==e.folder?q.fromPartial(e.folder):void 0,t.likedSongs=void 0!==e.likedSongs&&null!==e.likedSongs?X.fromPartial(e.likedSongs):void 0,t.yourEpisodes=void 0!==e.yourEpisodes&&null!==e.yourEpisodes?$.fromPartial(e.yourEpisodes):void 0,t.newEpisodes=void 0!==e.newEpisodes&&null!==e.newEpisodes?Q.fromPartial(e.newEpisodes):void 0,t.localFiles=void 0!==e.localFiles&&null!==e.localFiles?ee.fromPartial(e.localFiles):void 0,t.book=void 0!==e.book&&null!==e.book?te.fromPartial(e.book):void 0,t.cachedFiles=void 0!==e.cachedFiles&&null!==e.cachedFiles?ne.fromPartial(e.cachedFiles):void 0,t.prerelease=void 0!==e.prerelease&&null!==e.prerelease?ie.fromPartial(e.prerelease):void 0,t.event=void 0!==e.event&&null!==e.event?re.fromPartial(e.event):void 0,t}};function se(e){return BigInt(e.toString())}function ce(e){return null!=e}r.util.Long!==v&&(r.util.Long=v,r.configure());const le={encode:(e,t=r.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),""!==e.uri&&t.uint32(18).string(e.uri),""!==e.description&&t.uint32(26).string(e.description),""!==e.imageUri&&t.uint32(34).string(e.imageUri),0!==e.offlineAvailability&&t.uint32(40).int32(e.offlineAvailability),!0===e.isCurated&&t.uint32(48).bool(e.isCurated),!0===e.isLoading&&t.uint32(56).bool(e.isLoading),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={name:"",uri:"",description:"",imageUri:"",offlineAvailability:0,isCurated:!1,isLoading:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.name=n.string();continue;case 2:if(18!==e)break;o.uri=n.string();continue;case 3:if(26!==e)break;o.description=n.string();continue;case 4:if(34!==e)break;o.imageUri=n.string();continue;case 5:if(40!==e)break;o.offlineAvailability=n.int32();continue;case 6:if(48!==e)break;o.isCurated=n.bool();continue;case 7:if(56!==e)break;o.isLoading=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({name:he(e.name)?String(e.name):"",uri:he(e.uri)?String(e.uri):"",description:he(e.description)?String(e.description):"",imageUri:he(e.imageUri)?String(e.imageUri):"",offlineAvailability:he(e.offlineAvailability)?D(e.offlineAvailability):0,isCurated:!!he(e.isCurated)&&Boolean(e.isCurated),isLoading:!!he(e.isLoading)&&Boolean(e.isLoading)}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),""!==e.uri&&(t.uri=e.uri),""!==e.description&&(t.description=e.description),""!==e.imageUri&&(t.imageUri=e.imageUri),0!==e.offlineAvailability&&(t.offlineAvailability=M(e.offlineAvailability)),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.isLoading&&(t.isLoading=e.isLoading),t},create:e=>le.fromPartial(e??{}),fromPartial(e){const t={name:"",uri:"",description:"",imageUri:"",offlineAvailability:0,isCurated:!1,isLoading:!1};return t.name=e.name??"",t.uri=e.uri??"",t.description=e.description??"",t.imageUri=e.imageUri??"",t.offlineAvailability=e.offlineAvailability??0,t.isCurated=e.isCurated??!1,t.isLoading=e.isLoading??!1,t}};const ue={encode:(e,t=r.Writer.create())=>(""!==e.tagName&&t.uint32(10).string(e.tagName),!0===e.isAdded&&t.uint32(40).bool(e.isAdded),void 0!==e.tagPlaylistInfo&&le.encode(e.tagPlaylistInfo,t.uint32(58).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={tagName:"",isAdded:!1,tagPlaylistInfo:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.tagName=n.string();continue;case 5:if(40!==e)break;o.isAdded=n.bool();continue;case 7:if(58!==e)break;o.tagPlaylistInfo=le.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({tagName:he(e.tagName)?String(e.tagName):"",isAdded:!!he(e.isAdded)&&Boolean(e.isAdded),tagPlaylistInfo:he(e.tagPlaylistInfo)?le.fromJSON(e.tagPlaylistInfo):void 0}),toJSON(e){const t={};return""!==e.tagName&&(t.tagName=e.tagName),!0===e.isAdded&&(t.isAdded=e.isAdded),void 0!==e.tagPlaylistInfo&&(t.tagPlaylistInfo=le.toJSON(e.tagPlaylistInfo)),t},create:e=>ue.fromPartial(e??{}),fromPartial(e){const t={tagName:"",isAdded:!1,tagPlaylistInfo:void 0};return t.tagName=e.tagName??"",t.isAdded=e.isAdded??!1,t.tagPlaylistInfo=void 0!==e.tagPlaylistInfo&&null!==e.tagPlaylistInfo?le.fromPartial(e.tagPlaylistInfo):void 0,t}};const de={encode:(e,t=r.Writer.create())=>(0!==e.remainingEntities&&t.uint32(72).int32(e.remainingEntities),0!==e.totalCount&&t.uint32(136).int32(e.totalCount),0!==e.pinCount&&t.uint32(144).int32(e.pinCount),0!==e.maximumPinnedItems&&t.uint32(152).int32(e.maximumPinnedItems),!0===e.isLoading&&t.uint32(96).bool(e.isLoading),""!==e.folderName&&t.uint32(122).string(e.folderName),""!==e.parentFolderUri&&t.uint32(162).string(e.parentFolderUri),void 0!==e.availableFilters&&l.encode(e.availableFilters,t.uint32(130).fork()).ldelim(),void 0!==e.tagInfo&&ue.encode(e.tagInfo,t.uint32(170).fork()).ldelim(),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={remainingEntities:0,totalCount:0,pinCount:0,maximumPinnedItems:0,isLoading:!1,folderName:"",parentFolderUri:"",availableFilters:void 0,tagInfo:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 9:if(72!==e)break;o.remainingEntities=n.int32();continue;case 17:if(136!==e)break;o.totalCount=n.int32();continue;case 18:if(144!==e)break;o.pinCount=n.int32();continue;case 19:if(152!==e)break;o.maximumPinnedItems=n.int32();continue;case 12:if(96!==e)break;o.isLoading=n.bool();continue;case 15:if(122!==e)break;o.folderName=n.string();continue;case 20:if(162!==e)break;o.parentFolderUri=n.string();continue;case 16:if(130!==e)break;o.availableFilters=l.decode(n,n.uint32());continue;case 21:if(170!==e)break;o.tagInfo=ue.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({remainingEntities:he(e.remainingEntities)?Number(e.remainingEntities):0,totalCount:he(e.totalCount)?Number(e.totalCount):0,pinCount:he(e.pinCount)?Number(e.pinCount):0,maximumPinnedItems:he(e.maximumPinnedItems)?Number(e.maximumPinnedItems):0,isLoading:!!he(e.isLoading)&&Boolean(e.isLoading),folderName:he(e.folderName)?String(e.folderName):"",parentFolderUri:he(e.parentFolderUri)?String(e.parentFolderUri):"",availableFilters:he(e.availableFilters)?l.fromJSON(e.availableFilters):void 0,tagInfo:he(e.tagInfo)?ue.fromJSON(e.tagInfo):void 0}),toJSON(e){const t={};return 0!==e.remainingEntities&&(t.remainingEntities=Math.round(e.remainingEntities)),0!==e.totalCount&&(t.totalCount=Math.round(e.totalCount)),0!==e.pinCount&&(t.pinCount=Math.round(e.pinCount)),0!==e.maximumPinnedItems&&(t.maximumPinnedItems=Math.round(e.maximumPinnedItems)),!0===e.isLoading&&(t.isLoading=e.isLoading),""!==e.folderName&&(t.folderName=e.folderName),""!==e.parentFolderUri&&(t.parentFolderUri=e.parentFolderUri),void 0!==e.availableFilters&&(t.availableFilters=l.toJSON(e.availableFilters)),void 0!==e.tagInfo&&(t.tagInfo=ue.toJSON(e.tagInfo)),t},create:e=>de.fromPartial(e??{}),fromPartial(e){const t={remainingEntities:0,totalCount:0,pinCount:0,maximumPinnedItems:0,isLoading:!1,folderName:"",parentFolderUri:"",availableFilters:void 0,tagInfo:void 0};return t.remainingEntities=e.remainingEntities??0,t.totalCount=e.totalCount??0,t.pinCount=e.pinCount??0,t.maximumPinnedItems=e.maximumPinnedItems??0,t.isLoading=e.isLoading??!1,t.folderName=e.folderName??"",t.parentFolderUri=e.parentFolderUri??"",t.availableFilters=void 0!==e.availableFilters&&null!==e.availableFilters?l.fromPartial(e.availableFilters):void 0,t.tagInfo=void 0!==e.tagInfo&&null!==e.tagInfo?ue.fromPartial(e.tagInfo):void 0,t}};const pe={encode(e,t=r.Writer.create()){void 0!==e.header&&de.encode(e.header,t.uint32(10).fork()).ldelim();for(const n of e.entity)ae.encode(n,t.uint32(18).fork()).ldelim();for(const n of e.pinnedEntity)ae.encode(n,t.uint32(26).fork()).ldelim();return 0!==e.statusCode&&t.uint32(784).int32(e.statusCode),""!==e.error&&t.uint32(794).string(e.error),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={header:void 0,entity:[],pinnedEntity:[],statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.header=de.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.entity.push(ae.decode(n,n.uint32()));continue;case 3:if(26!==e)break;o.pinnedEntity.push(ae.decode(n,n.uint32()));continue;case 98:if(784!==e)break;o.statusCode=n.int32();continue;case 99:if(794!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({header:he(e.header)?de.fromJSON(e.header):void 0,entity:Array.isArray(e?.entity)?e.entity.map((e=>ae.fromJSON(e))):[],pinnedEntity:Array.isArray(e?.pinnedEntity)?e.pinnedEntity.map((e=>ae.fromJSON(e))):[],statusCode:he(e.statusCode)?Number(e.statusCode):0,error:he(e.error)?String(e.error):""}),toJSON(e){const t={};return void 0!==e.header&&(t.header=de.toJSON(e.header)),e.entity?.length&&(t.entity=e.entity.map((e=>ae.toJSON(e)))),e.pinnedEntity?.length&&(t.pinnedEntity=e.pinnedEntity.map((e=>ae.toJSON(e)))),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>pe.fromPartial(e??{}),fromPartial(e){const t={header:void 0,entity:[],pinnedEntity:[],statusCode:0,error:""};return t.header=void 0!==e.header&&null!==e.header?de.fromPartial(e.header):void 0,t.entity=e.entity?.map((e=>ae.fromPartial(e)))||[],t.pinnedEntity=e.pinnedEntity?.map((e=>ae.fromPartial(e)))||[],t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function he(e){return null!=e}var fe;function me(e){switch(e){case 0:case"UNKNOWN":return fe.UNKNOWN;case 1:case"PINNED":return fe.PINNED;case 2:case"NOT_PINNED":return fe.NOT_PINNED;default:return fe.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.PINNED=1]="PINNED",e[e.NOT_PINNED=2]="NOT_PINNED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(fe||(fe={}));const _e={encode:(e,t=r.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.afterUri&&t.uint32(18).string(e.afterUri),void 0!==e.beforeUri&&t.uint32(26).string(e.beforeUri),void 0!==e.first&&t.uint32(32).bool(e.first),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={uri:"",afterUri:void 0,beforeUri:void 0,first:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.uri=n.string();continue;case 2:if(18!==e)break;o.afterUri=n.string();continue;case 3:if(26!==e)break;o.beforeUri=n.string();continue;case 4:if(32!==e)break;o.first=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({uri:ve(e.uri)?String(e.uri):"",afterUri:ve(e.afterUri)?String(e.afterUri):void 0,beforeUri:ve(e.beforeUri)?String(e.beforeUri):void 0,first:ve(e.first)?Boolean(e.first):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.afterUri&&(t.afterUri=e.afterUri),void 0!==e.beforeUri&&(t.beforeUri=e.beforeUri),void 0!==e.first&&(t.first=e.first),t},create:e=>_e.fromPartial(e??{}),fromPartial(e){const t={uri:"",afterUri:void 0,beforeUri:void 0,first:void 0};return t.uri=e.uri??"",t.afterUri=e.afterUri??void 0,t.beforeUri=e.beforeUri??void 0,t.first=e.first??void 0,t}};const ge={encode:(e,t=r.Writer.create())=>(""!==e.moveUri&&t.uint32(10).string(e.moveUri),void 0!==e.afterUri&&t.uint32(18).string(e.afterUri),void 0!==e.beforeUri&&t.uint32(26).string(e.beforeUri),void 0!==e.first&&t.uint32(32).bool(e.first),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={moveUri:"",afterUri:void 0,beforeUri:void 0,first:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.moveUri=n.string();continue;case 2:if(18!==e)break;o.afterUri=n.string();continue;case 3:if(26!==e)break;o.beforeUri=n.string();continue;case 4:if(32!==e)break;o.first=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({moveUri:ve(e.moveUri)?String(e.moveUri):"",afterUri:ve(e.afterUri)?String(e.afterUri):void 0,beforeUri:ve(e.beforeUri)?String(e.beforeUri):void 0,first:ve(e.first)?Boolean(e.first):void 0}),toJSON(e){const t={};return""!==e.moveUri&&(t.moveUri=e.moveUri),void 0!==e.afterUri&&(t.afterUri=e.afterUri),void 0!==e.beforeUri&&(t.beforeUri=e.beforeUri),void 0!==e.first&&(t.first=e.first),t},create:e=>ge.fromPartial(e??{}),fromPartial(e){const t={moveUri:"",afterUri:void 0,beforeUri:void 0,first:void 0};return t.moveUri=e.moveUri??"",t.afterUri=e.afterUri??void 0,t.beforeUri=e.beforeUri??void 0,t.first=e.first??void 0,t}};const Ee={encode:(e,t=r.Writer.create())=>(0!==e.status&&t.uint32(8).int32(e.status),!0===e.hasMaximumPinnedItems&&t.uint32(16).bool(e.hasMaximumPinnedItems),0!==e.maximumPinnedItems&&t.uint32(24).int32(e.maximumPinnedItems),0!==e.statusCode&&t.uint32(784).uint32(e.statusCode),""!==e.error&&t.uint32(794).string(e.error),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:0,hasMaximumPinnedItems:!1,maximumPinnedItems:0,statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.status=n.int32();continue;case 2:if(16!==e)break;o.hasMaximumPinnedItems=n.bool();continue;case 3:if(24!==e)break;o.maximumPinnedItems=n.int32();continue;case 98:if(784!==e)break;o.statusCode=n.uint32();continue;case 99:if(794!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:ve(e.status)?me(e.status):0,hasMaximumPinnedItems:!!ve(e.hasMaximumPinnedItems)&&Boolean(e.hasMaximumPinnedItems),maximumPinnedItems:ve(e.maximumPinnedItems)?Number(e.maximumPinnedItems):0,statusCode:ve(e.statusCode)?Number(e.statusCode):0,error:ve(e.error)?String(e.error):""}),toJSON(e){const t={};return 0!==e.status&&(t.status=function(e){switch(e){case fe.UNKNOWN:return"UNKNOWN";case fe.PINNED:return"PINNED";case fe.NOT_PINNED:return"NOT_PINNED";case fe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),!0===e.hasMaximumPinnedItems&&(t.hasMaximumPinnedItems=e.hasMaximumPinnedItems),0!==e.maximumPinnedItems&&(t.maximumPinnedItems=Math.round(e.maximumPinnedItems)),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>Ee.fromPartial(e??{}),fromPartial(e){const t={status:0,hasMaximumPinnedItems:!1,maximumPinnedItems:0,statusCode:0,error:""};return t.status=e.status??0,t.hasMaximumPinnedItems=e.hasMaximumPinnedItems??!1,t.maximumPinnedItems=e.maximumPinnedItems??0,t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function ve(e){return null!=e}const ye={encode(e,t=r.Writer.create()){for(const n of e.requestedUri)t.uint32(26).string(n);return void 0!==e.pseudoPlaylistConfig&&c.encode(e.pseudoPlaylistConfig,t.uint32(50).fork()).ldelim(),0!==e.updateThrottling&&t.uint32(56).int32(e.updateThrottling),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={requestedUri:[],pseudoPlaylistConfig:void 0,updateThrottling:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 3:if(26!==e)break;o.requestedUri.push(n.string());continue;case 6:if(50!==e)break;o.pseudoPlaylistConfig=c.decode(n,n.uint32());continue;case 7:if(56!==e)break;o.updateThrottling=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({requestedUri:Array.isArray(e?.requestedUri)?e.requestedUri.map((e=>String(e))):[],pseudoPlaylistConfig:be(e.pseudoPlaylistConfig)?c.fromJSON(e.pseudoPlaylistConfig):void 0,updateThrottling:be(e.updateThrottling)?Number(e.updateThrottling):0}),toJSON(e){const t={};return e.requestedUri?.length&&(t.requestedUri=e.requestedUri),void 0!==e.pseudoPlaylistConfig&&(t.pseudoPlaylistConfig=c.toJSON(e.pseudoPlaylistConfig)),0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),t},create:e=>ye.fromPartial(e??{}),fromPartial(e){const t={requestedUri:[],pseudoPlaylistConfig:void 0,updateThrottling:0};return t.requestedUri=e.requestedUri?.map((e=>e))||[],t.pseudoPlaylistConfig=void 0!==e.pseudoPlaylistConfig&&null!==e.pseudoPlaylistConfig?c.fromPartial(e.pseudoPlaylistConfig):void 0,t.updateThrottling=e.updateThrottling??0,t}};function be(e){return null!=e}const Se={encode:(e,t=r.Writer.create())=>(!0===e.isLoading&&t.uint32(16).bool(e.isLoading),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={isLoading:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 2:if(16!==e)break;o.isLoading=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({isLoading:!!Ae(e.isLoading)&&Boolean(e.isLoading)}),toJSON(e){const t={};return!0===e.isLoading&&(t.isLoading=e.isLoading),t},create:e=>Se.fromPartial(e??{}),fromPartial(e){const t={isLoading:!1};return t.isLoading=e.isLoading??!1,t}};const Te={encode(e,t=r.Writer.create()){void 0!==e.header&&Se.encode(e.header,t.uint32(10).fork()).ldelim();for(const n of e.entity)ae.encode(n,t.uint32(18).fork()).ldelim();return 0!==e.statusCode&&t.uint32(784).uint32(e.statusCode),""!==e.error&&t.uint32(794).string(e.error),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={header:void 0,entity:[],statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.header=Se.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.entity.push(ae.decode(n,n.uint32()));continue;case 98:if(784!==e)break;o.statusCode=n.uint32();continue;case 99:if(794!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({header:Ae(e.header)?Se.fromJSON(e.header):void 0,entity:Array.isArray(e?.entity)?e.entity.map((e=>ae.fromJSON(e))):[],statusCode:Ae(e.statusCode)?Number(e.statusCode):0,error:Ae(e.error)?String(e.error):""}),toJSON(e){const t={};return void 0!==e.header&&(t.header=Se.toJSON(e.header)),e.entity?.length&&(t.entity=e.entity.map((e=>ae.toJSON(e)))),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>Te.fromPartial(e??{}),fromPartial(e){const t={header:void 0,entity:[],statusCode:0,error:""};return t.header=void 0!==e.header&&null!==e.header?Se.fromPartial(e.header):void 0,t.entity=e.entity?.map((e=>ae.fromPartial(e)))||[],t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function Ae(e){return null!=e}var Ie;function Oe(e){switch(e){case 0:case"NONE":return Ie.NONE;case 1:case"IN_CONTEXT":return Ie.IN_CONTEXT;default:return Ie.UNRECOGNIZED}}!function(e){e[e.NONE=0]="NONE",e[e.IN_CONTEXT=1]="IN_CONTEXT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ie||(Ie={}));const Ce={encode(e,t=r.Writer.create()){0!==e.updateThrottling&&t.uint32(8).int32(e.updateThrottling);for(const n of e.uri)t.uint32(18).string(n);return""!==e.contextUri&&t.uint32(26).string(e.contextUri),0!==e.filter&&t.uint32(32).int32(e.filter),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={updateThrottling:0,uri:[],contextUri:"",filter:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.updateThrottling=n.int32();continue;case 2:if(18!==e)break;o.uri.push(n.string());continue;case 3:if(26!==e)break;o.contextUri=n.string();continue;case 4:if(32!==e)break;o.filter=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({updateThrottling:Pe(e.updateThrottling)?Number(e.updateThrottling):0,uri:Array.isArray(e?.uri)?e.uri.map((e=>String(e))):[],contextUri:Pe(e.contextUri)?String(e.contextUri):"",filter:Pe(e.filter)?Oe(e.filter):0}),toJSON(e){const t={};return 0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),e.uri?.length&&(t.uri=e.uri),""!==e.contextUri&&(t.contextUri=e.contextUri),0!==e.filter&&(t.filter=function(e){switch(e){case Ie.NONE:return"NONE";case Ie.IN_CONTEXT:return"IN_CONTEXT";case Ie.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.filter)),t},create:e=>Ce.fromPartial(e??{}),fromPartial(e){const t={updateThrottling:0,uri:[],contextUri:"",filter:0};return t.updateThrottling=e.updateThrottling??0,t.uri=e.uri?.map((e=>e))||[],t.contextUri=e.contextUri??"",t.filter=e.filter??0,t}};const Re={encode(e,t=r.Writer.create()){for(const n of e.item)Ne.encode(n,t.uint32(10).fork()).ldelim();return 0!==e.statusCode&&t.uint32(784).uint32(e.statusCode),""!==e.error&&t.uint32(794).string(e.error),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={item:[],statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.item.push(Ne.decode(n,n.uint32()));continue;case 98:if(784!==e)break;o.statusCode=n.uint32();continue;case 99:if(794!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({item:Array.isArray(e?.item)?e.item.map((e=>Ne.fromJSON(e))):[],statusCode:Pe(e.statusCode)?Number(e.statusCode):0,error:Pe(e.error)?String(e.error):""}),toJSON(e){const t={};return e.item?.length&&(t.item=e.item.map((e=>Ne.toJSON(e)))),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>Re.fromPartial(e??{}),fromPartial(e){const t={item:[],statusCode:0,error:""};return t.item=e.item?.map((e=>Ne.fromPartial(e)))||[],t.statusCode=e.statusCode??0,t.error=e.error??"",t}};const Ne={encode:(e,t=r.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),!0===e.isCurated&&t.uint32(16).bool(e.isCurated),!0===e.isInCollection&&t.uint32(24).bool(e.isInCollection),!0===e.isBanned&&t.uint32(32).bool(e.isBanned),t),decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={uri:"",isCurated:!1,isInCollection:!1,isBanned:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.uri=n.string();continue;case 2:if(16!==e)break;o.isCurated=n.bool();continue;case 3:if(24!==e)break;o.isInCollection=n.bool();continue;case 4:if(32!==e)break;o.isBanned=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({uri:Pe(e.uri)?String(e.uri):"",isCurated:!!Pe(e.isCurated)&&Boolean(e.isCurated),isInCollection:!!Pe(e.isInCollection)&&Boolean(e.isInCollection),isBanned:!!Pe(e.isBanned)&&Boolean(e.isBanned)}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),t},create:e=>Ne.fromPartial(e??{}),fromPartial(e){const t={uri:"",isCurated:!1,isInCollection:!1,isBanned:!1};return t.uri=e.uri??"",t.isCurated=e.isCurated??!1,t.isInCollection=e.isInCollection??!1,t.isBanned=e.isBanned??!1,t}};function Pe(e){return null!=e}const Le={encode(e,t=r.Writer.create()){void 0!==e.sortOrder&&u.encode(e.sortOrder,t.uint32(10).fork()).ldelim();for(const n of e.str)t.uint32(18).string(n);t.uint32(26).fork();for(const n of e.nr)t.int64(n.toString());return t.ldelim(),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={sortOrder:void 0,str:[],nr:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.sortOrder=u.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.str.push(n.string());continue;case 3:if(24===e){o.nr.push(we(n.int64()));continue}if(26===e){const e=n.uint32()+n.pos;for(;n.pos<e;)o.nr.push(we(n.int64()));continue}}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({sortOrder:De(e.sortOrder)?u.fromJSON(e.sortOrder):void 0,str:Array.isArray(e?.str)?e.str.map((e=>String(e))):[],nr:Array.isArray(e?.nr)?e.nr.map((e=>BigInt(e))):[]}),toJSON(e){const t={};return void 0!==e.sortOrder&&(t.sortOrder=u.toJSON(e.sortOrder)),e.str?.length&&(t.str=e.str),e.nr?.length&&(t.nr=e.nr.map((e=>e.toString()))),t},create:e=>Le.fromPartial(e??{}),fromPartial(e){const t={sortOrder:void 0,str:[],nr:[]};return t.sortOrder=void 0!==e.sortOrder&&null!==e.sortOrder?u.fromPartial(e.sortOrder):void 0,t.str=e.str?.map((e=>e))||[],t.nr=e.nr?.map((e=>e))||[],t}};const ke={encode(e,t=r.Writer.create()){for(const n of e.key)t.uint32(10).string(n);return 0!==e.statusCode&&t.uint32(784).uint32(e.statusCode),""!==e.error&&t.uint32(794).string(e.error),t},decode(e,t){const n=e instanceof r.Reader?e:r.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={key:[],statusCode:0,error:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.key.push(n.string());continue;case 98:if(784!==e)break;o.statusCode=n.uint32();continue;case 99:if(794!==e)break;o.error=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({key:Array.isArray(e?.key)?e.key.map((e=>String(e))):[],statusCode:De(e.statusCode)?Number(e.statusCode):0,error:De(e.error)?String(e.error):""}),toJSON(e){const t={};return e.key?.length&&(t.key=e.key),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.error&&(t.error=e.error),t},create:e=>ke.fromPartial(e??{}),fromPartial(e){const t={key:[],statusCode:0,error:""};return t.key=e.key?.map((e=>e))||[],t.statusCode=e.statusCode??0,t.error=e.error??"",t}};function we(e){return BigInt(e.toString())}function De(e){return null!=e}r.util.Long!==v&&(r.util.Long=v,r.configure());class Me{transport;options;constructor(e,t={}){this.transport=e,this.options=t}contains(e,t){const n=Me.SERVICE_ID,i="Contains",o=p.fromPartial(e),a=p.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=_.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamContains(e,t){const n=Me.SERVICE_ID,i="StreamContains",o=p.fromPartial(e),a=p.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=_.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}all(e,t){const n=Me.SERVICE_ID,i="All",o=A.fromPartial(e),a=A.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=pe.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamAll(e,t){const n=Me.SERVICE_ID,i="StreamAll",o=A.fromPartial(e),a=A.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=pe.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}pin(e,t){const n=Me.SERVICE_ID,i="Pin",o=_e.fromPartial(e),a=_e.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Ee.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}unPin(e,t){const n=Me.SERVICE_ID,i="UnPin",o=_e.fromPartial(e),a=_e.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Ee.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}movePin(e,t){const n=Me.SERVICE_ID,i="MovePin",o=ge.fromPartial(e),a=ge.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Ee.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}decorate(e,t){const n=Me.SERVICE_ID,i="Decorate",o=ye.fromPartial(e),a=ye.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Te.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamDecorate(e,t){const n=Me.SERVICE_ID,i="StreamDecorate",o=ye.fromPartial(e),a=ye.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=Te.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}isCurated(e,t){const n=Me.SERVICE_ID,i="IsCurated",o=Ce.fromPartial(e),a=Ce.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=Re.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamIsCurated(e,t){const n=Me.SERVICE_ID,i="StreamIsCurated",o=Ce.fromPartial(e),a=Ce.encode(o).finish();return this.options.onRequest?.(o,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const o=Re.decode(r.Reader.create(e));this.options.onResponse?.(o,n,i,"stream"),t(o)}))}getKeys(e,t){const n=Me.SERVICE_ID,i="GetKeys",o=Le.fromPartial(e),a=Le.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=ke.decode(r.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.your_library_esperanto.proto.YourLibraryService";static METHODS={contains:{isStreaming:!1,requestType:p,responseType:_},streamContains:{isStreaming:!0,requestType:p,responseType:_},all:{isStreaming:!1,requestType:A,responseType:pe},streamAll:{isStreaming:!0,requestType:A,responseType:pe},pin:{isStreaming:!1,requestType:_e,responseType:Ee},unPin:{isStreaming:!1,requestType:_e,responseType:Ee},movePin:{isStreaming:!1,requestType:ge,responseType:Ee},decorate:{isStreaming:!1,requestType:ye,responseType:Te},streamDecorate:{isStreaming:!0,requestType:ye,responseType:Te},isCurated:{isStreaming:!1,requestType:Ce,responseType:Re},streamIsCurated:{isStreaming:!0,requestType:Ce,responseType:Re},getKeys:{isStreaming:!1,requestType:Le,responseType:ke}};static DECODERS={Contains:{request:p.decode,response:_.decode},StreamContains:{request:p.decode,response:_.decode},All:{request:A.decode,response:pe.decode},StreamAll:{request:A.decode,response:pe.decode},Pin:{request:_e.decode,response:Ee.decode},UnPin:{request:_e.decode,response:Ee.decode},MovePin:{request:ge.decode,response:Ee.decode},Decorate:{request:ye.decode,response:Te.decode},StreamDecorate:{request:ye.decode,response:Te.decode},IsCurated:{request:Ce.decode,response:Re.decode},StreamIsCurated:{request:Ce.decode,response:Re.decode},GetKeys:{request:Le.decode,response:ke.decode}}}},33598:(e,t,n)=>{"use strict";n.d(t,{Ag:()=>p,FI:()=>r,Yg:()=>a});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};var r,a;function s(e){switch(e){case 0:case"TERMINAL_TYPE_UNSPECIFIED":return r.TERMINAL_TYPE_UNSPECIFIED;case 1:case"TERMINAL_TYPE_UNKNOWN":return r.TERMINAL_TYPE_UNKNOWN;case 2:case"TERMINAL_TYPE_SPEAKERS":return r.TERMINAL_TYPE_SPEAKERS;case 3:case"TERMINAL_TYPE_HEADPHONES":return r.TERMINAL_TYPE_HEADPHONES;case 4:case"TERMINAL_TYPE_DISPLAY_DEVICE":return r.TERMINAL_TYPE_DISPLAY_DEVICE;default:return r.UNRECOGNIZED}}function c(e){switch(e){case 0:case"TRANSPORT_TYPE_UNSPECIFIED":return a.TRANSPORT_TYPE_UNSPECIFIED;case 1:case"TRANSPORT_TYPE_UNKNOWN":return a.TRANSPORT_TYPE_UNKNOWN;case 2:case"TRANSPORT_TYPE_BUILT_IN":return a.TRANSPORT_TYPE_BUILT_IN;case 3:case"TRANSPORT_TYPE_VIRTUAL":return a.TRANSPORT_TYPE_VIRTUAL;case 4:case"TRANSPORT_TYPE_USB":return a.TRANSPORT_TYPE_USB;case 5:case"TRANSPORT_TYPE_BLUETOOTH":return a.TRANSPORT_TYPE_BLUETOOTH;case 6:case"TRANSPORT_TYPE_DISPLAY_DEVICE":return a.TRANSPORT_TYPE_DISPLAY_DEVICE;default:return a.UNRECOGNIZED}}!function(e){e[e.TERMINAL_TYPE_UNSPECIFIED=0]="TERMINAL_TYPE_UNSPECIFIED",e[e.TERMINAL_TYPE_UNKNOWN=1]="TERMINAL_TYPE_UNKNOWN",e[e.TERMINAL_TYPE_SPEAKERS=2]="TERMINAL_TYPE_SPEAKERS",e[e.TERMINAL_TYPE_HEADPHONES=3]="TERMINAL_TYPE_HEADPHONES",e[e.TERMINAL_TYPE_DISPLAY_DEVICE=4]="TERMINAL_TYPE_DISPLAY_DEVICE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(r||(r={})),function(e){e[e.TRANSPORT_TYPE_UNSPECIFIED=0]="TRANSPORT_TYPE_UNSPECIFIED",e[e.TRANSPORT_TYPE_UNKNOWN=1]="TRANSPORT_TYPE_UNKNOWN",e[e.TRANSPORT_TYPE_BUILT_IN=2]="TRANSPORT_TYPE_BUILT_IN",e[e.TRANSPORT_TYPE_VIRTUAL=3]="TRANSPORT_TYPE_VIRTUAL",e[e.TRANSPORT_TYPE_USB=4]="TRANSPORT_TYPE_USB",e[e.TRANSPORT_TYPE_BLUETOOTH=5]="TRANSPORT_TYPE_BLUETOOTH",e[e.TRANSPORT_TYPE_DISPLAY_DEVICE=6]="TRANSPORT_TYPE_DISPLAY_DEVICE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(a||(a={}));const l={encode:(e,t=i.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),""!==e.name&&t.uint32(18).string(e.name),""!==e.fullName&&t.uint32(26).string(e.fullName),0!==e.terminalType&&t.uint32(32).int32(e.terminalType),""!==e.terminalTypeRaw&&t.uint32(42).string(e.terminalTypeRaw),0!==e.transportType&&t.uint32(48).int32(e.transportType),""!==e.transportTypeRaw&&t.uint32(58).string(e.transportTypeRaw),!0===e.isDefaultDevice&&t.uint32(64).bool(e.isDefaultDevice),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:"",name:"",fullName:"",terminalType:0,terminalTypeRaw:"",transportType:0,transportTypeRaw:"",isDefaultDevice:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.id=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.fullName=n.string();continue;case 4:if(32!==e)break;r.terminalType=n.int32();continue;case 5:if(42!==e)break;r.terminalTypeRaw=n.string();continue;case 6:if(48!==e)break;r.transportType=n.int32();continue;case 7:if(58!==e)break;r.transportTypeRaw=n.string();continue;case 8:if(64!==e)break;r.isDefaultDevice=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:d(e.id)?String(e.id):"",name:d(e.name)?String(e.name):"",fullName:d(e.fullName)?String(e.fullName):"",terminalType:d(e.terminalType)?s(e.terminalType):0,terminalTypeRaw:d(e.terminalTypeRaw)?String(e.terminalTypeRaw):"",transportType:d(e.transportType)?c(e.transportType):0,transportTypeRaw:d(e.transportTypeRaw)?String(e.transportTypeRaw):"",isDefaultDevice:!!d(e.isDefaultDevice)&&Boolean(e.isDefaultDevice)}),toJSON(e){const t={};return""!==e.id&&(t.id=e.id),""!==e.name&&(t.name=e.name),""!==e.fullName&&(t.fullName=e.fullName),0!==e.terminalType&&(t.terminalType=function(e){switch(e){case r.TERMINAL_TYPE_UNSPECIFIED:return"TERMINAL_TYPE_UNSPECIFIED";case r.TERMINAL_TYPE_UNKNOWN:return"TERMINAL_TYPE_UNKNOWN";case r.TERMINAL_TYPE_SPEAKERS:return"TERMINAL_TYPE_SPEAKERS";case r.TERMINAL_TYPE_HEADPHONES:return"TERMINAL_TYPE_HEADPHONES";case r.TERMINAL_TYPE_DISPLAY_DEVICE:return"TERMINAL_TYPE_DISPLAY_DEVICE";case r.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.terminalType)),""!==e.terminalTypeRaw&&(t.terminalTypeRaw=e.terminalTypeRaw),0!==e.transportType&&(t.transportType=function(e){switch(e){case a.TRANSPORT_TYPE_UNSPECIFIED:return"TRANSPORT_TYPE_UNSPECIFIED";case a.TRANSPORT_TYPE_UNKNOWN:return"TRANSPORT_TYPE_UNKNOWN";case a.TRANSPORT_TYPE_BUILT_IN:return"TRANSPORT_TYPE_BUILT_IN";case a.TRANSPORT_TYPE_VIRTUAL:return"TRANSPORT_TYPE_VIRTUAL";case a.TRANSPORT_TYPE_USB:return"TRANSPORT_TYPE_USB";case a.TRANSPORT_TYPE_BLUETOOTH:return"TRANSPORT_TYPE_BLUETOOTH";case a.TRANSPORT_TYPE_DISPLAY_DEVICE:return"TRANSPORT_TYPE_DISPLAY_DEVICE";case a.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.transportType)),""!==e.transportTypeRaw&&(t.transportTypeRaw=e.transportTypeRaw),!0===e.isDefaultDevice&&(t.isDefaultDevice=e.isDefaultDevice),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={id:"",name:"",fullName:"",terminalType:0,terminalTypeRaw:"",transportType:0,transportTypeRaw:"",isDefaultDevice:!1};return t.id=e.id??"",t.name=e.name??"",t.fullName=e.fullName??"",t.terminalType=e.terminalType??0,t.terminalTypeRaw=e.terminalTypeRaw??"",t.transportType=e.transportType??0,t.transportTypeRaw=e.transportTypeRaw??"",t.isDefaultDevice=e.isDefaultDevice??!1,t}};const u={encode(e,t=i.Writer.create()){for(const n of e.devices)l.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={devices:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.devices.push(l.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({devices:Array.isArray(e?.devices)?e.devices.map((e=>l.fromJSON(e))):[]}),toJSON(e){const t={};return e.devices?.length&&(t.devices=e.devices.map((e=>l.toJSON(e)))),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={devices:[]};return t.devices=e.devices?.map((e=>l.fromPartial(e)))||[],t}};function d(e){return null!=e}class p{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getAudioOutputDevices(e,t){const n=p.SERVICE_ID,r="GetAudioOutputDevices",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=u.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}static SERVICE_ID="spotify.desktop.audio_observer_esperanto.proto.DesktopAudioObserver";static METHODS={getAudioOutputDevices:{isStreaming:!0,requestType:o,responseType:u}};static DECODERS={GetAudioOutputDevices:{request:o.decode,response:u.decode}}}},63321:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};const r={encode:(e,t=i.Writer.create())=>(!0===e.canAutostart&&t.uint32(8).bool(e.canAutostart),!0===e.canRestart&&t.uint32(16).bool(e.canRestart),!0===e.canMinimizeOrExitOnClose&&t.uint32(24).bool(e.canMinimizeOrExitOnClose),!0===e.canShowTrackNotifications&&t.uint32(32).bool(e.canShowTrackNotifications),!0===e.canShowSystemMediaControls&&t.uint32(40).bool(e.canShowSystemMediaControls),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={canAutostart:!1,canRestart:!1,canMinimizeOrExitOnClose:!1,canShowTrackNotifications:!1,canShowSystemMediaControls:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.canAutostart=n.bool();continue;case 2:if(16!==e)break;r.canRestart=n.bool();continue;case 3:if(24!==e)break;r.canMinimizeOrExitOnClose=n.bool();continue;case 4:if(32!==e)break;r.canShowTrackNotifications=n.bool();continue;case 5:if(40!==e)break;r.canShowSystemMediaControls=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({canAutostart:!!a(e.canAutostart)&&Boolean(e.canAutostart),canRestart:!!a(e.canRestart)&&Boolean(e.canRestart),canMinimizeOrExitOnClose:!!a(e.canMinimizeOrExitOnClose)&&Boolean(e.canMinimizeOrExitOnClose),canShowTrackNotifications:!!a(e.canShowTrackNotifications)&&Boolean(e.canShowTrackNotifications),canShowSystemMediaControls:!!a(e.canShowSystemMediaControls)&&Boolean(e.canShowSystemMediaControls)}),toJSON(e){const t={};return!0===e.canAutostart&&(t.canAutostart=e.canAutostart),!0===e.canRestart&&(t.canRestart=e.canRestart),!0===e.canMinimizeOrExitOnClose&&(t.canMinimizeOrExitOnClose=e.canMinimizeOrExitOnClose),!0===e.canShowTrackNotifications&&(t.canShowTrackNotifications=e.canShowTrackNotifications),!0===e.canShowSystemMediaControls&&(t.canShowSystemMediaControls=e.canShowSystemMediaControls),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={canAutostart:!1,canRestart:!1,canMinimizeOrExitOnClose:!1,canShowTrackNotifications:!1,canShowSystemMediaControls:!1};return t.canAutostart=e.canAutostart??!1,t.canRestart=e.canRestart??!1,t.canMinimizeOrExitOnClose=e.canMinimizeOrExitOnClose??!1,t.canShowTrackNotifications=e.canShowTrackNotifications??!1,t.canShowSystemMediaControls=e.canShowSystemMediaControls??!1,t}};function a(e){return null!=e}class s{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getCapabilities(e,t){const n=s.SERVICE_ID,a="GetCapabilities",c=o.fromPartial(e),l=o.encode(c).finish();return this.options.onRequest?.(c,n,a,"single"),this.transport.callSingle({service:n,method:a,payload:l},t).then((e=>{const t=r.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,a,"single"),t}))}static SERVICE_ID="spotify.desktop.capabilities_esperanto.proto.DesktopCapabilities";static METHODS={getCapabilities:{isStreaming:!1,requestType:o,responseType:r}};static DECODERS={GetCapabilities:{request:o.decode,response:r.decode}}}},67599:(e,t,n)=>{"use strict";n.d(t,{y9:()=>u});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};var r;function a(e){switch(e){case 0:case"DESKTOP_COMMAND_UNSPECIFIED":return r.DESKTOP_COMMAND_UNSPECIFIED;case 1:case"DESKTOP_COMMAND_LOGOUT":return r.DESKTOP_COMMAND_LOGOUT;case 2:case"DESKTOP_COMMAND_BROWSE_BACKWARD":return r.DESKTOP_COMMAND_BROWSE_BACKWARD;case 3:case"DESKTOP_COMMAND_BROWSE_FORWARD":return r.DESKTOP_COMMAND_BROWSE_FORWARD;case 4:case"DESKTOP_COMMAND_CREATE_NEW_FOLDER":return r.DESKTOP_COMMAND_CREATE_NEW_FOLDER;case 5:case"DESKTOP_COMMAND_CREATE_NEW_PLAYLIST":return r.DESKTOP_COMMAND_CREATE_NEW_PLAYLIST;case 6:case"DESKTOP_COMMAND_ENTER_FULLSCREEN":return r.DESKTOP_COMMAND_ENTER_FULLSCREEN;case 7:case"DESKTOP_COMMAND_LEAVE_FULLSCREEN":return r.DESKTOP_COMMAND_LEAVE_FULLSCREEN;case 8:case"DESKTOP_COMMAND_SET_SCROLLER_STYLE_ALWAYS_VISIBLE":return r.DESKTOP_COMMAND_SET_SCROLLER_STYLE_ALWAYS_VISIBLE;case 9:case"DESKTOP_COMMAND_SET_SCROLLER_STYLE_OVERLAY":return r.DESKTOP_COMMAND_SET_SCROLLER_STYLE_OVERLAY;case 100:case"DESKTOP_COMMAND_CUT":return r.DESKTOP_COMMAND_CUT;case 101:case"DESKTOP_COMMAND_COPY":return r.DESKTOP_COMMAND_COPY;case 102:case"DESKTOP_COMMAND_COPY_ADVANCED":return r.DESKTOP_COMMAND_COPY_ADVANCED;case 103:case"DESKTOP_COMMAND_PASTE":return r.DESKTOP_COMMAND_PASTE;case 104:case"DESKTOP_COMMAND_DELETE":return r.DESKTOP_COMMAND_DELETE;case 105:case"DESKTOP_COMMAND_SELECT_ALL":return r.DESKTOP_COMMAND_SELECT_ALL;case 106:case"DESKTOP_COMMAND_SELECT_NONE":return r.DESKTOP_COMMAND_SELECT_NONE;case 107:case"DESKTOP_COMMAND_FILTER":return r.DESKTOP_COMMAND_FILTER;case 200:case"DESKTOP_COMMAND_SHOW_ABOUT":return r.DESKTOP_COMMAND_SHOW_ABOUT;case 201:case"DESKTOP_COMMAND_SHOW_ACCOUNT":return r.DESKTOP_COMMAND_SHOW_ACCOUNT;case 202:case"DESKTOP_COMMAND_SHOW_COMMUNITY":return r.DESKTOP_COMMAND_SHOW_COMMUNITY;case 203:case"DESKTOP_COMMAND_SHOW_HELP":return r.DESKTOP_COMMAND_SHOW_HELP;case 204:case"DESKTOP_COMMAND_SHOW_LICENSES":return r.DESKTOP_COMMAND_SHOW_LICENSES;case 205:case"DESKTOP_COMMAND_SHOW_LICENSING_INFORMATION":return r.DESKTOP_COMMAND_SHOW_LICENSING_INFORMATION;case 206:case"DESKTOP_COMMAND_SHOW_SCTA_INFORMATION":return r.DESKTOP_COMMAND_SHOW_SCTA_INFORMATION;case 207:case"DESKTOP_COMMAND_SHOW_PREFERENCES":return r.DESKTOP_COMMAND_SHOW_PREFERENCES;case 208:case"DESKTOP_COMMAND_SHOW_SEARCH":return r.DESKTOP_COMMAND_SHOW_SEARCH;case 209:case"DESKTOP_COMMAND_SHOW_DEBUG_WINDOW":return r.DESKTOP_COMMAND_SHOW_DEBUG_WINDOW;case 300:case"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_AUTO":return r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_AUTO;case 301:case"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_MACOS":return r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_MACOS;case 302:case"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_WINDOWS":return r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_WINDOWS;case 303:case"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_LINUX":return r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_LINUX;case 304:case"DESKTOP_COMMAND_SET_RTL_EMULATION_AUTO":return r.DESKTOP_COMMAND_SET_RTL_EMULATION_AUTO;case 305:case"DESKTOP_COMMAND_SET_RTL_EMULATION_ON":return r.DESKTOP_COMMAND_SET_RTL_EMULATION_ON;case 306:case"DESKTOP_COMMAND_SET_RTL_EMULATION_OFF":return r.DESKTOP_COMMAND_SET_RTL_EMULATION_OFF;default:return r.UNRECOGNIZED}}!function(e){e[e.DESKTOP_COMMAND_UNSPECIFIED=0]="DESKTOP_COMMAND_UNSPECIFIED",e[e.DESKTOP_COMMAND_LOGOUT=1]="DESKTOP_COMMAND_LOGOUT",e[e.DESKTOP_COMMAND_BROWSE_BACKWARD=2]="DESKTOP_COMMAND_BROWSE_BACKWARD",e[e.DESKTOP_COMMAND_BROWSE_FORWARD=3]="DESKTOP_COMMAND_BROWSE_FORWARD",e[e.DESKTOP_COMMAND_CREATE_NEW_FOLDER=4]="DESKTOP_COMMAND_CREATE_NEW_FOLDER",e[e.DESKTOP_COMMAND_CREATE_NEW_PLAYLIST=5]="DESKTOP_COMMAND_CREATE_NEW_PLAYLIST",e[e.DESKTOP_COMMAND_ENTER_FULLSCREEN=6]="DESKTOP_COMMAND_ENTER_FULLSCREEN",e[e.DESKTOP_COMMAND_LEAVE_FULLSCREEN=7]="DESKTOP_COMMAND_LEAVE_FULLSCREEN",e[e.DESKTOP_COMMAND_SET_SCROLLER_STYLE_ALWAYS_VISIBLE=8]="DESKTOP_COMMAND_SET_SCROLLER_STYLE_ALWAYS_VISIBLE",e[e.DESKTOP_COMMAND_SET_SCROLLER_STYLE_OVERLAY=9]="DESKTOP_COMMAND_SET_SCROLLER_STYLE_OVERLAY",e[e.DESKTOP_COMMAND_CUT=100]="DESKTOP_COMMAND_CUT",e[e.DESKTOP_COMMAND_COPY=101]="DESKTOP_COMMAND_COPY",e[e.DESKTOP_COMMAND_COPY_ADVANCED=102]="DESKTOP_COMMAND_COPY_ADVANCED",e[e.DESKTOP_COMMAND_PASTE=103]="DESKTOP_COMMAND_PASTE",e[e.DESKTOP_COMMAND_DELETE=104]="DESKTOP_COMMAND_DELETE",e[e.DESKTOP_COMMAND_SELECT_ALL=105]="DESKTOP_COMMAND_SELECT_ALL",e[e.DESKTOP_COMMAND_SELECT_NONE=106]="DESKTOP_COMMAND_SELECT_NONE",e[e.DESKTOP_COMMAND_FILTER=107]="DESKTOP_COMMAND_FILTER",e[e.DESKTOP_COMMAND_SHOW_ABOUT=200]="DESKTOP_COMMAND_SHOW_ABOUT",e[e.DESKTOP_COMMAND_SHOW_ACCOUNT=201]="DESKTOP_COMMAND_SHOW_ACCOUNT",e[e.DESKTOP_COMMAND_SHOW_COMMUNITY=202]="DESKTOP_COMMAND_SHOW_COMMUNITY",e[e.DESKTOP_COMMAND_SHOW_HELP=203]="DESKTOP_COMMAND_SHOW_HELP",e[e.DESKTOP_COMMAND_SHOW_LICENSES=204]="DESKTOP_COMMAND_SHOW_LICENSES",e[e.DESKTOP_COMMAND_SHOW_LICENSING_INFORMATION=205]="DESKTOP_COMMAND_SHOW_LICENSING_INFORMATION",e[e.DESKTOP_COMMAND_SHOW_SCTA_INFORMATION=206]="DESKTOP_COMMAND_SHOW_SCTA_INFORMATION",e[e.DESKTOP_COMMAND_SHOW_PREFERENCES=207]="DESKTOP_COMMAND_SHOW_PREFERENCES",e[e.DESKTOP_COMMAND_SHOW_SEARCH=208]="DESKTOP_COMMAND_SHOW_SEARCH",e[e.DESKTOP_COMMAND_SHOW_DEBUG_WINDOW=209]="DESKTOP_COMMAND_SHOW_DEBUG_WINDOW",e[e.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_AUTO=300]="DESKTOP_COMMAND_SET_PLATFORM_EMULATION_AUTO",e[e.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_MACOS=301]="DESKTOP_COMMAND_SET_PLATFORM_EMULATION_MACOS",e[e.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_WINDOWS=302]="DESKTOP_COMMAND_SET_PLATFORM_EMULATION_WINDOWS",e[e.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_LINUX=303]="DESKTOP_COMMAND_SET_PLATFORM_EMULATION_LINUX",e[e.DESKTOP_COMMAND_SET_RTL_EMULATION_AUTO=304]="DESKTOP_COMMAND_SET_RTL_EMULATION_AUTO",e[e.DESKTOP_COMMAND_SET_RTL_EMULATION_ON=305]="DESKTOP_COMMAND_SET_RTL_EMULATION_ON",e[e.DESKTOP_COMMAND_SET_RTL_EMULATION_OFF=306]="DESKTOP_COMMAND_SET_RTL_EMULATION_OFF",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(r||(r={}));const s={encode:(e,t=i.Writer.create())=>(0!==e.type&&t.uint32(8).int32(e.type),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={type:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.type=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({type:l(e.type)?a(e.type):0}),toJSON(e){const t={};return 0!==e.type&&(t.type=function(e){switch(e){case r.DESKTOP_COMMAND_UNSPECIFIED:return"DESKTOP_COMMAND_UNSPECIFIED";case r.DESKTOP_COMMAND_LOGOUT:return"DESKTOP_COMMAND_LOGOUT";case r.DESKTOP_COMMAND_BROWSE_BACKWARD:return"DESKTOP_COMMAND_BROWSE_BACKWARD";case r.DESKTOP_COMMAND_BROWSE_FORWARD:return"DESKTOP_COMMAND_BROWSE_FORWARD";case r.DESKTOP_COMMAND_CREATE_NEW_FOLDER:return"DESKTOP_COMMAND_CREATE_NEW_FOLDER";case r.DESKTOP_COMMAND_CREATE_NEW_PLAYLIST:return"DESKTOP_COMMAND_CREATE_NEW_PLAYLIST";case r.DESKTOP_COMMAND_ENTER_FULLSCREEN:return"DESKTOP_COMMAND_ENTER_FULLSCREEN";case r.DESKTOP_COMMAND_LEAVE_FULLSCREEN:return"DESKTOP_COMMAND_LEAVE_FULLSCREEN";case r.DESKTOP_COMMAND_SET_SCROLLER_STYLE_ALWAYS_VISIBLE:return"DESKTOP_COMMAND_SET_SCROLLER_STYLE_ALWAYS_VISIBLE";case r.DESKTOP_COMMAND_SET_SCROLLER_STYLE_OVERLAY:return"DESKTOP_COMMAND_SET_SCROLLER_STYLE_OVERLAY";case r.DESKTOP_COMMAND_CUT:return"DESKTOP_COMMAND_CUT";case r.DESKTOP_COMMAND_COPY:return"DESKTOP_COMMAND_COPY";case r.DESKTOP_COMMAND_COPY_ADVANCED:return"DESKTOP_COMMAND_COPY_ADVANCED";case r.DESKTOP_COMMAND_PASTE:return"DESKTOP_COMMAND_PASTE";case r.DESKTOP_COMMAND_DELETE:return"DESKTOP_COMMAND_DELETE";case r.DESKTOP_COMMAND_SELECT_ALL:return"DESKTOP_COMMAND_SELECT_ALL";case r.DESKTOP_COMMAND_SELECT_NONE:return"DESKTOP_COMMAND_SELECT_NONE";case r.DESKTOP_COMMAND_FILTER:return"DESKTOP_COMMAND_FILTER";case r.DESKTOP_COMMAND_SHOW_ABOUT:return"DESKTOP_COMMAND_SHOW_ABOUT";case r.DESKTOP_COMMAND_SHOW_ACCOUNT:return"DESKTOP_COMMAND_SHOW_ACCOUNT";case r.DESKTOP_COMMAND_SHOW_COMMUNITY:return"DESKTOP_COMMAND_SHOW_COMMUNITY";case r.DESKTOP_COMMAND_SHOW_HELP:return"DESKTOP_COMMAND_SHOW_HELP";case r.DESKTOP_COMMAND_SHOW_LICENSES:return"DESKTOP_COMMAND_SHOW_LICENSES";case r.DESKTOP_COMMAND_SHOW_LICENSING_INFORMATION:return"DESKTOP_COMMAND_SHOW_LICENSING_INFORMATION";case r.DESKTOP_COMMAND_SHOW_SCTA_INFORMATION:return"DESKTOP_COMMAND_SHOW_SCTA_INFORMATION";case r.DESKTOP_COMMAND_SHOW_PREFERENCES:return"DESKTOP_COMMAND_SHOW_PREFERENCES";case r.DESKTOP_COMMAND_SHOW_SEARCH:return"DESKTOP_COMMAND_SHOW_SEARCH";case r.DESKTOP_COMMAND_SHOW_DEBUG_WINDOW:return"DESKTOP_COMMAND_SHOW_DEBUG_WINDOW";case r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_AUTO:return"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_AUTO";case r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_MACOS:return"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_MACOS";case r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_WINDOWS:return"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_WINDOWS";case r.DESKTOP_COMMAND_SET_PLATFORM_EMULATION_LINUX:return"DESKTOP_COMMAND_SET_PLATFORM_EMULATION_LINUX";case r.DESKTOP_COMMAND_SET_RTL_EMULATION_AUTO:return"DESKTOP_COMMAND_SET_RTL_EMULATION_AUTO";case r.DESKTOP_COMMAND_SET_RTL_EMULATION_ON:return"DESKTOP_COMMAND_SET_RTL_EMULATION_ON";case r.DESKTOP_COMMAND_SET_RTL_EMULATION_OFF:return"DESKTOP_COMMAND_SET_RTL_EMULATION_OFF";case r.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.type)),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={type:0};return t.type=e.type??0,t}};const c={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.originalUri&&t.uint32(18).string(e.originalUri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",originalUri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.originalUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:l(e.uri)?String(e.uri):"",originalUri:l(e.originalUri)?String(e.originalUri):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),""!==e.originalUri&&(t.originalUri=e.originalUri),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={uri:"",originalUri:""};return t.uri=e.uri??"",t.originalUri=e.originalUri??"",t}};function l(e){return null!=e}class u{transport;options;constructor(e,t={}){this.transport=e,this.options=t}subscribeCommand(e,t){const n=u.SERVICE_ID,r="SubscribeCommand",a=o.fromPartial(e),c=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:c},(e=>{const o=s.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}subscribeNavigation(e,t){const n=u.SERVICE_ID,r="SubscribeNavigation",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=c.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}static SERVICE_ID="spotify.desktop.commands_esperanto.proto.DesktopCommands";static METHODS={subscribeCommand:{isStreaming:!0,requestType:o,responseType:s},subscribeNavigation:{isStreaming:!0,requestType:o,responseType:c}};static DECODERS={SubscribeCommand:{request:o.decode,response:s.decode},SubscribeNavigation:{request:o.decode,response:c.decode}}}},2919:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};class r{transport;options;constructor(e,t={}){this.transport=e,this.options=t}restart(e,t){const n=r.SERVICE_ID,a="Restart",s=o.fromPartial(e),c=o.encode(s).finish();return this.options.onRequest?.(s,n,a,"single"),this.transport.callSingle({service:n,method:a,payload:c},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,a,"single"),t}))}shutdown(e,t){const n=r.SERVICE_ID,a="Shutdown",s=o.fromPartial(e),c=o.encode(s).finish();return this.options.onRequest?.(s,n,a,"single"),this.transport.callSingle({service:n,method:a,payload:c},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,a,"single"),t}))}static SERVICE_ID="spotify.desktop.lifecycle_esperanto.proto.DesktopLifecycle";static METHODS={restart:{isStreaming:!1,requestType:o,responseType:o},shutdown:{isStreaming:!1,requestType:o,responseType:o}};static DECODERS={Restart:{request:o.decode,response:o.decode},Shutdown:{request:o.decode,response:o.decode}}}},89276:(e,t,n)=>{"use strict";n.d(t,{xV:()=>c});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};const r={encode:(e,t=i.Writer.create())=>(""!==e.address&&t.uint32(10).string(e.address),""!==e.name&&t.uint32(18).string(e.name),!0===e.isDefaultAudioDevice&&t.uint32(24).bool(e.isDefaultAudioDevice),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={address:"",name:"",isDefaultAudioDevice:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.address=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(24!==e)break;r.isDefaultAudioDevice=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({address:s(e.address)?String(e.address):"",name:s(e.name)?String(e.name):"",isDefaultAudioDevice:!!s(e.isDefaultAudioDevice)&&Boolean(e.isDefaultAudioDevice)}),toJSON(e){const t={};return""!==e.address&&(t.address=e.address),""!==e.name&&(t.name=e.name),!0===e.isDefaultAudioDevice&&(t.isDefaultAudioDevice=e.isDefaultAudioDevice),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={address:"",name:"",isDefaultAudioDevice:!1};return t.address=e.address??"",t.name=e.name??"",t.isDefaultAudioDevice=e.isDefaultAudioDevice??!1,t}};const a={encode(e,t=i.Writer.create()){for(const n of e.devices)r.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const a={devices:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.devices.push(r.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({devices:Array.isArray(e?.devices)?e.devices.map((e=>r.fromJSON(e))):[]}),toJSON(e){const t={};return e.devices?.length&&(t.devices=e.devices.map((e=>r.toJSON(e)))),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={devices:[]};return t.devices=e.devices?.map((e=>r.fromPartial(e)))||[],t}};function s(e){return null!=e}class c{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getBluetoothDevices(e,t){const n=c.SERVICE_ID,r="GetBluetoothDevices",s=o.encode(e).finish();return this.options.onRequest?.(e,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=a.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}static SERVICE_ID="spotify.desktop.platform_esperanto.proto.DesktopPlatform";static METHODS={getBluetoothDevices:{isStreaming:!0,requestType:o,responseType:a}};static DECODERS={GetBluetoothDevices:{request:o.decode,response:a.decode}}}},92204:(e,t,n)=>{"use strict";n.d(t,{hA:()=>d});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};var r;function a(e){switch(e){case 0:case"UPDATE_STATE_UNSPECIFIED":return r.UPDATE_STATE_UNSPECIFIED;case 1:case"UPDATE_STATE_NONE":return r.UPDATE_STATE_NONE;case 2:case"UPDATE_STATE_PENDING":return r.UPDATE_STATE_PENDING;case 3:case"UPDATE_STATE_PROCESSING":return r.UPDATE_STATE_PROCESSING;case 4:case"UPDATE_STATE_READY":return r.UPDATE_STATE_READY;default:return r.UNRECOGNIZED}}!function(e){e[e.UPDATE_STATE_UNSPECIFIED=0]="UPDATE_STATE_UNSPECIFIED",e[e.UPDATE_STATE_NONE=1]="UPDATE_STATE_NONE",e[e.UPDATE_STATE_PENDING=2]="UPDATE_STATE_PENDING",e[e.UPDATE_STATE_PROCESSING=3]="UPDATE_STATE_PROCESSING",e[e.UPDATE_STATE_READY=4]="UPDATE_STATE_READY",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(r||(r={}));const s={encode:(e,t=i.Writer.create())=>(0!==e.state&&t.uint32(8).int32(e.state),void 0!==e.version&&t.uint32(18).string(e.version),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={state:0,version:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.state=n.int32();continue;case 2:if(18!==e)break;r.version=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({state:u(e.state)?a(e.state):0,version:u(e.version)?String(e.version):void 0}),toJSON(e){const t={};return 0!==e.state&&(t.state=function(e){switch(e){case r.UPDATE_STATE_UNSPECIFIED:return"UPDATE_STATE_UNSPECIFIED";case r.UPDATE_STATE_NONE:return"UPDATE_STATE_NONE";case r.UPDATE_STATE_PENDING:return"UPDATE_STATE_PENDING";case r.UPDATE_STATE_PROCESSING:return"UPDATE_STATE_PROCESSING";case r.UPDATE_STATE_READY:return"UPDATE_STATE_READY";case r.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.state)),void 0!==e.version&&(t.version=e.version),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={state:0,version:void 0};return t.state=e.state??0,t.version=e.version??void 0,t}};const c={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>c.fromPartial(e??{}),fromPartial:e=>({})};const l={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>l.fromPartial(e??{}),fromPartial:e=>({})};function u(e){return null!=e}class d{transport;options;constructor(e,t={}){this.transport=e,this.options=t}subscribeStatus(e,t){const n=d.SERVICE_ID,r="SubscribeStatus",a=o.fromPartial(e),c=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:c},(e=>{const o=s.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}triggerDownload(e,t){const n=d.SERVICE_ID,o="TriggerDownload",r=c.fromPartial(e),a=c.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=l.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.desktop.update_esperanto.proto.DesktopUpdate";static METHODS={subscribeStatus:{isStreaming:!0,requestType:o,responseType:s},triggerDownload:{isStreaming:!1,requestType:c,responseType:l}};static DECODERS={SubscribeStatus:{request:o.decode,response:s.decode},TriggerDownload:{request:c.decode,response:l.decode}}}},28050:(e,t,n)=>{"use strict";n.d(t,{NH:()=>l});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(""!==e.url&&t.uint32(10).string(e.url),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={url:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.url=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({url:s(e.url)?String(e.url):""}),toJSON(e){const t={};return""!==e.url&&(t.url=e.url),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={url:""};return t.url=e.url??"",t}};const r={encode:(e,t=i.Writer.create())=>(0!==e.id&&t.uint32(13).fixed32(e.id),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(13!==e)break;r.id=n.fixed32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:s(e.id)?Number(e.id):0}),toJSON(e){const t={};return 0!==e.id&&(t.id=Math.round(e.id)),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={id:0};return t.id=e.id??0,t}};const a={encode:(e,t=i.Writer.create())=>(0!==e.id&&t.uint32(13).fixed32(e.id),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(13!==e)break;r.id=n.fixed32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:s(e.id)?Number(e.id):0}),toJSON(e){const t={};return 0!==e.id&&(t.id=Math.round(e.id)),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={id:0};return t.id=e.id??0,t}};function s(e){return null!=e}const c={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>c.fromPartial(e??{}),fromPartial:e=>({})};class l{transport;options;constructor(e,t={}){this.transport=e,this.options=t}subscribe(e,t){const n=l.SERVICE_ID,a="Subscribe",s=o.fromPartial(e),c=o.encode(s).finish();return this.options.onRequest?.(s,n,a,"stream"),this.transport.callStream({service:n,method:a,payload:c},(e=>{const o=r.decode(i.Reader.create(e));this.options.onResponse?.(o,n,a,"stream"),t(o)}))}ping(e,t){const n=l.SERVICE_ID,o="Ping",r=a.fromPartial(e),s=a.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:s},t).then((e=>{const t=c.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.desktop.watchdog_esperanto.proto.DesktopWatchdog";static METHODS={subscribe:{isStreaming:!0,requestType:o,responseType:r},ping:{isStreaming:!1,requestType:a,responseType:c}};static DECODERS={Subscribe:{request:o.decode,response:r.decode},Ping:{request:a.decode,response:c.decode}}}},28891:(e,t,n)=>{"use strict";n.d(t,{UH:()=>i,vq:()=>w,Rr:()=>I,sp:()=>M,SP:()=>r});var i,o=n(24848);function r(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return i.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return i.CANVAZ;case 2:case"STORYLINES":return i.STORYLINES;case 3:case"PODCAST_TOPICS":return i.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return i.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return i.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return i.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return i.PODCAST_COUNTER;case 8:case"ARTIST_V4":return i.ARTIST_V4;case 9:case"ALBUM_V4":return i.ALBUM_V4;case 10:case"TRACK_V4":return i.TRACK_V4;case 11:case"SHOW_V4":return i.SHOW_V4;case 12:case"EPISODE_V4":return i.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return i.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return i.PODCAST_QUOTES;case 15:case"USER_PROFILE":return i.USER_PROFILE;case 16:case"CANVAS_V1":return i.CANVAS_V1;case 17:case"SHOW_V4_BASE":return i.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return i.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return i.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return i.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return i.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return i.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return i.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return i.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return i.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return i.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return i.AUTOMIX_MODE;case 28:case"CUEPOINTS":return i.CUEPOINTS;case 29:case"PODCAST_POLL":return i.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return i.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return i.SHOW_ACCESS;case 32:case"PODCAST_QNA":return i.PODCAST_QNA;case 33:case"CLIPS":return i.CLIPS;case 34:case"SHOW_V5":return i.SHOW_V5;case 35:case"EPISODE_V5":return i.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return i.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return i.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return i.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return i.GREENROOM;case 40:case"USER_CREATED":return i.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return i.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return i.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return i.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return i.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return i.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return i.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return i.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return i.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return i.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return i.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return i.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return i.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return i.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return i.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return i.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return i.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return i.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return i.CONTENT_WARNING;case 59:case"IMAGE_CUE":return i.IMAGE_CUE;case 60:case"STREAM_COUNT":return i.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return i.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return i.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return i.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return i.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return i.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return i.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return i.LIVE;case 68:case"SKIP_PLAYED":return i.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return i.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return i.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return i.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return i.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return i.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return i.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return i.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return i.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return i.PODCAST_GUEST;case 78:case"PLAYABILITY":return i.PLAYABILITY;case 79:case"COVER_IMAGE":return i.COVER_IMAGE;case 80:case"SHARE_TRAIT":return i.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return i.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return i.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return i.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return i.CONCEPT;case 85:case"ORIGINAL_VIDEO":return i.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return i.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return i.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return i.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return i.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return i.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return i.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return i.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return i.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return i.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return i.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return i.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return i.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return i.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return i.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return i.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return i.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return i.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return i.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return i.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return i.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return i.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return i.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return i.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return i.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return i.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return i.MERCH;case 113:case"COMPANION_CONTENT":return i.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return i.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return i.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return i.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return i.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return i.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return i.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return i.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return i.COURSE_SPECIFICS;case 122:case"CONCERT":return i.CONCERT;case 123:case"CONCERT_LOCATION":return i.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return i.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return i.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return i.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return i.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return i.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return i.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return i.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return i.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return i.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return i.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return i.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return i.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return i.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return i.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return i.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return i.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return i.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return i.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return i.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return i.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return i.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return i.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return i.SUPPORTED_BADGES;case 147:case"BADGES":return i.BADGES;case 148:case"PREVIEW_TRAIT":return i.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return i.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return i.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return i.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return i.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return i.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return i.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return i.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return i.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return i.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return i.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return i.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return i.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return i.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return i.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return i.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return i.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return i.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return i.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return i.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return i.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return i.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return i.AUTO_LENS;default:return i.UNRECOGNIZED}}function a(e){switch(e){case i.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case i.CANVAZ:return"CANVAZ";case i.STORYLINES:return"STORYLINES";case i.PODCAST_TOPICS:return"PODCAST_TOPICS";case i.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case i.AUDIO_FILES:return"AUDIO_FILES";case i.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case i.PODCAST_COUNTER:return"PODCAST_COUNTER";case i.ARTIST_V4:return"ARTIST_V4";case i.ALBUM_V4:return"ALBUM_V4";case i.TRACK_V4:return"TRACK_V4";case i.SHOW_V4:return"SHOW_V4";case i.EPISODE_V4:return"EPISODE_V4";case i.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case i.PODCAST_QUOTES:return"PODCAST_QUOTES";case i.USER_PROFILE:return"USER_PROFILE";case i.CANVAS_V1:return"CANVAS_V1";case i.SHOW_V4_BASE:return"SHOW_V4_BASE";case i.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case i.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case i.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case i.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case i.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case i.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case i.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case i.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case i.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case i.AUTOMIX_MODE:return"AUTOMIX_MODE";case i.CUEPOINTS:return"CUEPOINTS";case i.PODCAST_POLL:return"PODCAST_POLL";case i.EPISODE_ACCESS:return"EPISODE_ACCESS";case i.SHOW_ACCESS:return"SHOW_ACCESS";case i.PODCAST_QNA:return"PODCAST_QNA";case i.CLIPS:return"CLIPS";case i.SHOW_V5:return"SHOW_V5";case i.EPISODE_V5:return"EPISODE_V5";case i.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case i.PODCAST_RATING:return"PODCAST_RATING";case i.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case i.GREENROOM:return"GREENROOM";case i.USER_CREATED:return"USER_CREATED";case i.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case i.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case i.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case i.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case i.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case i.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case i.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case i.CLIENT_CONFIG:return"CLIENT_CONFIG";case i.PLAYLISTABILITY:return"PLAYLISTABILITY";case i.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case i.CHAPTER_V5:return"CHAPTER_V5";case i.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case i.EPISODE_RANKING:return"EPISODE_RANKING";case i.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case i.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case i.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case i.PLAY_TRAIT:return"PLAY_TRAIT";case i.CONTENT_WARNING:return"CONTENT_WARNING";case i.IMAGE_CUE:return"IMAGE_CUE";case i.STREAM_COUNT:return"STREAM_COUNT";case i.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case i.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case i.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case i.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case i.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case i.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case i.LIVE:return"LIVE";case i.SKIP_PLAYED:return"SKIP_PLAYED";case i.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case i.ASSOCIATIONS:return"ASSOCIATIONS";case i.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case i.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case i.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case i.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case i.USER_COMMENTS:return"USER_COMMENTS";case i.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case i.PODCAST_GUEST:return"PODCAST_GUEST";case i.PLAYABILITY:return"PLAYABILITY";case i.COVER_IMAGE:return"COVER_IMAGE";case i.SHARE_TRAIT:return"SHARE_TRAIT";case i.INSTANCE_SHARING:return"INSTANCE_SHARING";case i.ARTIST_TOUR:return"ARTIST_TOUR";case i.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case i.CONCEPT:return"CONCEPT";case i.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case i.SMART_SHUFFLE:return"SMART_SHUFFLE";case i.LIVE_EVENTS:return"LIVE_EVENTS";case i.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case i.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case i.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case i.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case i.FEWER_ADS:return"FEWER_ADS";case i.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case i.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case i.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case i.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case i.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case i.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case i.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case i.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case i.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case i.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case i.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case i.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case i.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case i.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case i.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case i.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case i.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case i.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case i.MERCH:return"MERCH";case i.COMPANION_CONTENT:return"COMPANION_CONTENT";case i.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case i.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case i.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case i.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case i.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case i.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case i.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case i.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case i.CONCERT:return"CONCERT";case i.CONCERT_LOCATION:return"CONCERT_LOCATION";case i.CONCERT_MARKETING:return"CONCERT_MARKETING";case i.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case i.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case i.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case i.NAME_TRAIT:return"NAME_TRAIT";case i.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case i.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case i.CREDITS_TRAIT:return"CREDITS_TRAIT";case i.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case i.ENTITY_CAPPING:return"ENTITY_CAPPING";case i.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case i.CONCERT_OFFERS:return"CONCERT_OFFERS";case i.TRANSITION_MAPS:return"TRANSITION_MAPS";case i.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case i.PRERELEASE:return"PRERELEASE";case i.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case i.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case i.LIST_METADATA:return"LIST_METADATA";case i.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case i.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case i.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case i.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case i.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case i.BADGES:return"BADGES";case i.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case i.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case i.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case i.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case i.POPULAR_RELEASES:return"POPULAR_RELEASES";case i.RELATED_RELEASES:return"RELATED_RELEASES";case i.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case i.CONCERT_OFFER:return"CONCERT_OFFER";case i.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case i.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case i.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case i.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case i.REORDERING_TRAIT:return"REORDERING_TRAIT";case i.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case i.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case i.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case i.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case i.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case i.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case i.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case i.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case i.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case i.AUTO_LENS:return"AUTO_LENS";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const s={encode(e,t=o.Writer.create()){for(const n of e.extensionQuery)c.encode(n,t.uint32(10).fork()).ldelim();return""!==e.featureId&&t.uint32(18).string(e.featureId),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={extensionQuery:[],featureId:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.extensionQuery.push(c.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.featureId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionQuery:Array.isArray(e?.extensionQuery)?e.extensionQuery.map((e=>c.fromJSON(e))):[],featureId:l(e.featureId)?String(e.featureId):""}),toJSON(e){const t={};return e.extensionQuery?.length&&(t.extensionQuery=e.extensionQuery.map((e=>c.toJSON(e)))),""!==e.featureId&&(t.featureId=e.featureId),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={extensionQuery:[],featureId:""};return t.extensionQuery=e.extensionQuery?.map((e=>c.fromPartial(e)))||[],t.featureId=e.featureId??"",t}};const c={encode:(e,t=o.Writer.create())=>(""!==e.entityUri&&t.uint32(10).string(e.entityUri),0!==e.extensionKind&&t.uint32(16).int32(e.extensionKind),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={entityUri:"",extensionKind:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.entityUri=n.string();continue;case 2:if(16!==e)break;r.extensionKind=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entityUri:l(e.entityUri)?String(e.entityUri):"",extensionKind:l(e.extensionKind)?r(e.extensionKind):0}),toJSON(e){const t={};return""!==e.entityUri&&(t.entityUri=e.entityUri),0!==e.extensionKind&&(t.extensionKind=a(e.extensionKind)),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={entityUri:"",extensionKind:0};return t.entityUri=e.entityUri??"",t.extensionKind=e.extensionKind??0,t}};function l(e){return null!=e}function u(){return{typeUrl:"",value:new Uint8Array(0)}}const d={encode:(e,t=o.Writer.create())=>(""!==e.typeUrl&&t.uint32(10).string(e.typeUrl),0!==e.value.length&&t.uint32(18).bytes(e.value),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=u();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.typeUrl=n.string();continue;case 2:if(18!==e)break;r.value=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({typeUrl:f(e.typeUrl)?String(e.typeUrl):"",value:f(e.value)?h(e.value):new Uint8Array(0)}),toJSON(e){const t={};return""!==e.typeUrl&&(t.typeUrl=e.typeUrl),0!==e.value.length&&(t.value=function(e){if(p.Buffer)return p.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),p.btoa(t.join(""))}}(e.value)),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t=u();return t.typeUrl=e.typeUrl??"",t.value=e.value??new Uint8Array(0),t}},p=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function h(e){if(p.Buffer)return Uint8Array.from(p.Buffer.from(e,"base64"));{const t=p.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function f(e){return null!=e}var m,_;function g(e){switch(e){case 0:case"MISSING":return m.MISSING;case 1:case"OK":return m.OK;default:return m.UNRECOGNIZED}}function E(e){switch(e){case 0:case"UNKNOWN":return _.UNKNOWN;case 1:case"OK":return _.OK;case 2:case"NOT_RESOLVED":return _.NOT_RESOLVED;case 3:case"NOT_FOUND":return _.NOT_FOUND;case 4:case"UNAVAILABLE_FOR_LEGAL_REASONS":return _.UNAVAILABLE_FOR_LEGAL_REASONS;default:return _.UNRECOGNIZED}}!function(e){e[e.MISSING=0]="MISSING",e[e.OK=1]="OK",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(m||(m={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.OK=1]="OK",e[e.NOT_RESOLVED=2]="NOT_RESOLVED",e[e.NOT_FOUND=3]="NOT_FOUND",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=4]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(_||(_={}));const v={encode(e,t=o.Writer.create()){for(const n of e.extensionResult)y.encode(n,t.uint32(10).fork()).ldelim();return!0===e.pendingResponse&&t.uint32(16).bool(e.pendingResponse),t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={extensionResult:[],pendingResponse:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.extensionResult.push(y.decode(n,n.uint32()));continue;case 2:if(16!==e)break;r.pendingResponse=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionResult:Array.isArray(e?.extensionResult)?e.extensionResult.map((e=>y.fromJSON(e))):[],pendingResponse:!!S(e.pendingResponse)&&Boolean(e.pendingResponse)}),toJSON(e){const t={};return e.extensionResult?.length&&(t.extensionResult=e.extensionResult.map((e=>y.toJSON(e)))),!0===e.pendingResponse&&(t.pendingResponse=e.pendingResponse),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={extensionResult:[],pendingResponse:!1};return t.extensionResult=e.extensionResult?.map((e=>y.fromPartial(e)))||[],t.pendingResponse=e.pendingResponse??!1,t}};const y={encode:(e,t=o.Writer.create())=>(""!==e.entityUri&&t.uint32(10).string(e.entityUri),0!==e.extensionKind&&t.uint32(16).int32(e.extensionKind),void 0!==e.extensionData&&d.encode(e.extensionData,t.uint32(26).fork()).ldelim(),0!==e.status&&t.uint32(32).int32(e.status),void 0!==e.details&&b.encode(e.details,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={entityUri:"",extensionKind:0,extensionData:void 0,status:0,details:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.entityUri=n.string();continue;case 2:if(16!==e)break;r.extensionKind=n.int32();continue;case 3:if(26!==e)break;r.extensionData=d.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.status=n.int32();continue;case 5:if(42!==e)break;r.details=b.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entityUri:S(e.entityUri)?String(e.entityUri):"",extensionKind:S(e.extensionKind)?r(e.extensionKind):0,extensionData:S(e.extensionData)?d.fromJSON(e.extensionData):void 0,status:S(e.status)?g(e.status):0,details:S(e.details)?b.fromJSON(e.details):void 0}),toJSON(e){const t={};return""!==e.entityUri&&(t.entityUri=e.entityUri),0!==e.extensionKind&&(t.extensionKind=a(e.extensionKind)),void 0!==e.extensionData&&(t.extensionData=d.toJSON(e.extensionData)),0!==e.status&&(t.status=function(e){switch(e){case m.MISSING:return"MISSING";case m.OK:return"OK";case m.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.status)),void 0!==e.details&&(t.details=b.toJSON(e.details)),t},create:e=>y.fromPartial(e??{}),fromPartial(e){const t={entityUri:"",extensionKind:0,extensionData:void 0,status:0,details:void 0};return t.entityUri=e.entityUri??"",t.extensionKind=e.extensionKind??0,t.extensionData=void 0!==e.extensionData&&null!==e.extensionData?d.fromPartial(e.extensionData):void 0,t.status=e.status??0,t.details=void 0!==e.details&&null!==e.details?b.fromPartial(e.details):void 0,t}};const b={encode:(e,t=o.Writer.create())=>(0!==e.cacheStatus&&t.uint32(8).int32(e.cacheStatus),!0===e.fresh&&t.uint32(16).bool(e.fresh),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={cacheStatus:0,fresh:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.cacheStatus=n.int32();continue;case 2:if(16!==e)break;r.fresh=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({cacheStatus:S(e.cacheStatus)?E(e.cacheStatus):0,fresh:!!S(e.fresh)&&Boolean(e.fresh)}),toJSON(e){const t={};return 0!==e.cacheStatus&&(t.cacheStatus=function(e){switch(e){case _.UNKNOWN:return"UNKNOWN";case _.OK:return"OK";case _.NOT_RESOLVED:return"NOT_RESOLVED";case _.NOT_FOUND:return"NOT_FOUND";case _.UNAVAILABLE_FOR_LEGAL_REASONS:return"UNAVAILABLE_FOR_LEGAL_REASONS";case _.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.cacheStatus)),!0===e.fresh&&(t.fresh=e.fresh),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={cacheStatus:0,fresh:!1};return t.cacheStatus=e.cacheStatus??0,t.fresh=e.fresh??!1,t}};function S(e){return null!=e}var T=n(87252);const A={encode(e,t=o.Writer.create()){0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind);for(const n of e.entityUri)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={extensionKind:0,entityUri:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.entityUri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:k(e.extensionKind)?r(e.extensionKind):0,entityUri:Array.isArray(e?.entityUri)?e.entityUri.map((e=>String(e))):[]}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=a(e.extensionKind)),e.entityUri?.length&&(t.entityUri=e.entityUri),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={extensionKind:0,entityUri:[]};return t.extensionKind=e.extensionKind??0,t.entityUri=e.entityUri?.map((e=>e))||[],t}};const I={encode(e,t=o.Writer.create()){for(const n of e.extensionQuery)A.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={extensionQuery:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.extensionQuery.push(A.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionQuery:Array.isArray(e?.extensionQuery)?e.extensionQuery.map((e=>A.fromJSON(e))):[]}),toJSON(e){const t={};return e.extensionQuery?.length&&(t.extensionQuery=e.extensionQuery.map((e=>A.toJSON(e)))),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t={extensionQuery:[]};return t.extensionQuery=e.extensionQuery?.map((e=>A.fromPartial(e)))||[],t}};const O={encode(e,t=o.Writer.create()){for(const n of e.extension)P.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={extension:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.extension.push(P.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extension:Array.isArray(e?.extension)?e.extension.map((e=>P.fromJSON(e))):[]}),toJSON(e){const t={};return e.extension?.length&&(t.extension=e.extension.map((e=>P.toJSON(e)))),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={extension:[]};return t.extension=e.extension?.map((e=>P.fromPartial(e)))||[],t}};function C(){return{cacheValid:!1,offlineValid:!1,statusCode:0,isEmpty:!1,cacheExpiryTimestamp:BigInt("0"),offlineExpiryTimestamp:BigInt("0"),etag:""}}const R={encode:(e,t=o.Writer.create())=>(!0===e.cacheValid&&t.uint32(8).bool(e.cacheValid),!0===e.offlineValid&&t.uint32(16).bool(e.offlineValid),0!==e.statusCode&&t.uint32(24).int32(e.statusCode),!0===e.isEmpty&&t.uint32(32).bool(e.isEmpty),e.cacheExpiryTimestamp!==BigInt("0")&&t.uint32(40).int64(e.cacheExpiryTimestamp.toString()),e.offlineExpiryTimestamp!==BigInt("0")&&t.uint32(48).int64(e.offlineExpiryTimestamp.toString()),""!==e.etag&&t.uint32(58).string(e.etag),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r=C();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.cacheValid=n.bool();continue;case 2:if(16!==e)break;r.offlineValid=n.bool();continue;case 3:if(24!==e)break;r.statusCode=n.int32();continue;case 4:if(32!==e)break;r.isEmpty=n.bool();continue;case 5:if(40!==e)break;r.cacheExpiryTimestamp=L(n.int64());continue;case 6:if(48!==e)break;r.offlineExpiryTimestamp=L(n.int64());continue;case 7:if(58!==e)break;r.etag=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({cacheValid:!!k(e.cacheValid)&&Boolean(e.cacheValid),offlineValid:!!k(e.offlineValid)&&Boolean(e.offlineValid),statusCode:k(e.statusCode)?Number(e.statusCode):0,isEmpty:!!k(e.isEmpty)&&Boolean(e.isEmpty),cacheExpiryTimestamp:k(e.cacheExpiryTimestamp)?BigInt(e.cacheExpiryTimestamp):BigInt("0"),offlineExpiryTimestamp:k(e.offlineExpiryTimestamp)?BigInt(e.offlineExpiryTimestamp):BigInt("0"),etag:k(e.etag)?String(e.etag):""}),toJSON(e){const t={};return!0===e.cacheValid&&(t.cacheValid=e.cacheValid),!0===e.offlineValid&&(t.offlineValid=e.offlineValid),0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),!0===e.isEmpty&&(t.isEmpty=e.isEmpty),e.cacheExpiryTimestamp!==BigInt("0")&&(t.cacheExpiryTimestamp=e.cacheExpiryTimestamp.toString()),e.offlineExpiryTimestamp!==BigInt("0")&&(t.offlineExpiryTimestamp=e.offlineExpiryTimestamp.toString()),""!==e.etag&&(t.etag=e.etag),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t=C();return t.cacheValid=e.cacheValid??!1,t.offlineValid=e.offlineValid??!1,t.statusCode=e.statusCode??0,t.isEmpty=e.isEmpty??!1,t.cacheExpiryTimestamp=e.cacheExpiryTimestamp??BigInt("0"),t.offlineExpiryTimestamp=e.offlineExpiryTimestamp??BigInt("0"),t.etag=e.etag??"",t}};const N={encode:(e,t=o.Writer.create())=>(""!==e.entityUri&&t.uint32(10).string(e.entityUri),void 0!==e.header&&R.encode(e.header,t.uint32(18).fork()).ldelim(),void 0!==e.extensionData&&d.encode(e.extensionData,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={entityUri:"",header:void 0,extensionData:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.entityUri=n.string();continue;case 2:if(18!==e)break;r.header=R.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.extensionData=d.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({entityUri:k(e.entityUri)?String(e.entityUri):"",header:k(e.header)?R.fromJSON(e.header):void 0,extensionData:k(e.extensionData)?d.fromJSON(e.extensionData):void 0}),toJSON(e){const t={};return""!==e.entityUri&&(t.entityUri=e.entityUri),void 0!==e.header&&(t.header=R.toJSON(e.header)),void 0!==e.extensionData&&(t.extensionData=d.toJSON(e.extensionData)),t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={entityUri:"",header:void 0,extensionData:void 0};return t.entityUri=e.entityUri??"",t.header=void 0!==e.header&&null!==e.header?R.fromPartial(e.header):void 0,t.extensionData=void 0!==e.extensionData&&null!==e.extensionData?d.fromPartial(e.extensionData):void 0,t}};const P={encode(e,t=o.Writer.create()){0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind);for(const n of e.entityExtension)N.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={extensionKind:0,entityExtension:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.entityExtension.push(N.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:k(e.extensionKind)?r(e.extensionKind):0,entityExtension:Array.isArray(e?.entityExtension)?e.entityExtension.map((e=>N.fromJSON(e))):[]}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=a(e.extensionKind)),e.entityExtension?.length&&(t.entityExtension=e.entityExtension.map((e=>N.toJSON(e)))),t},create:e=>P.fromPartial(e??{}),fromPartial(e){const t={extensionKind:0,entityExtension:[]};return t.extensionKind=e.extensionKind??0,t.entityExtension=e.entityExtension?.map((e=>N.fromPartial(e)))||[],t}};function L(e){return BigInt(e.toString())}function k(e){return null!=e}o.util.Long!==T&&(o.util.Long=T,o.configure());const w={encode(e,t=o.Writer.create()){0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind);for(const n of e.entityUri)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={extensionKind:0,entityUri:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.entityUri.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{extensionKind:(t=e.extensionKind,null!=t?r(e.extensionKind):0),entityUri:Array.isArray(e?.entityUri)?e.entityUri.map((e=>String(e))):[]};var t},toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=a(e.extensionKind)),e.entityUri?.length&&(t.entityUri=e.entityUri),t},create:e=>w.fromPartial(e??{}),fromPartial(e){const t={extensionKind:0,entityUri:[]};return t.extensionKind=e.extensionKind??0,t.entityUri=e.entityUri?.map((e=>e))||[],t}};const D={encode:(e,t=o.Writer.create())=>t,decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>D.fromPartial(e??{}),fromPartial:e=>({})};class M{transport;options;constructor(e,t={}){this.transport=e,this.options=t}observe(e,t){const n=M.SERVICE_ID,i="Observe",r=s.fromPartial(e),a=s.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=v.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}fetch(e,t){const n=M.SERVICE_ID,i="Fetch",r=I.fromPartial(e),a=I.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=O.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}expire(e,t){const n=M.SERVICE_ID,i="Expire",r=w.fromPartial(e),a=w.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=D.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}purge(e,t){const n=M.SERVICE_ID,i="Purge",r=w.fromPartial(e),a=w.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=D.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.mdata_esperanto.proto.MetadataService";static METHODS={observe:{isStreaming:!0,requestType:s,responseType:v},fetch:{isStreaming:!1,requestType:I,responseType:O},expire:{isStreaming:!1,requestType:w,responseType:D},purge:{isStreaming:!1,requestType:w,responseType:D}};static DECODERS={Observe:{request:s.decode,response:v.decode},Fetch:{request:I.decode,response:O.decode},Expire:{request:w.decode,response:D.decode},Purge:{request:w.decode,response:D.decode}}}},60205:(e,t,n)=>{"use strict";n.d(t,{_X:()=>I});var i=n(24848);function o(){return{protoName:"",protoData:new Uint8Array(0)}}const r={encode:(e,t=i.Writer.create())=>(""!==e.protoName&&t.uint32(10).string(e.protoName),0!==e.protoData.length&&t.uint32(18).bytes(e.protoData),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a=o();for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.protoName=n.string();continue;case 2:if(18!==e)break;a.protoData=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({protoName:c(e.protoName)?String(e.protoName):"",protoData:c(e.protoData)?s(e.protoData):new Uint8Array(0)}),toJSON(e){const t={};return""!==e.protoName&&(t.protoName=e.protoName),0!==e.protoData.length&&(t.protoData=function(e){if(a.Buffer)return a.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),a.btoa(t.join(""))}}(e.protoData)),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t=o();return t.protoName=e.protoName??"",t.protoData=e.protoData??new Uint8Array(0),t}},a=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function s(e){if(a.Buffer)return Uint8Array.from(a.Buffer.from(e,"base64"));{const t=a.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function c(e){return null!=e}var l;function u(e){switch(e){case 0:case"NO_ERROR":return l.NO_ERROR;case 1:case"NO_OWER_PROVIDER":return l.NO_OWER_PROVIDER;case 2:case"SERIALIZATION_ERROR":return l.SERIALIZATION_ERROR;case 3:case"DECRYPTION_ERROR":return l.DECRYPTION_ERROR;case 4:case"EVENT_SENDER_ERROR":return l.EVENT_SENDER_ERROR;case 5:case"FAILED_OPENING_DB":return l.FAILED_OPENING_DB;case 6:case"FAILED_GETTING_EVENT_FROM_DB":return l.FAILED_GETTING_EVENT_FROM_DB;case 7:case"FAILED_ADDING_EVENT_TO_DB":return l.FAILED_ADDING_EVENT_TO_DB;case 8:case"FAILED_OVERWRITING_EVENT_IN_DB":return l.FAILED_OVERWRITING_EVENT_IN_DB;case 9:case"FAILED_REMOVING_EVENT_FROM_DB":return l.FAILED_REMOVING_EVENT_FROM_DB;case 10:case"FAILED_WRITING_TO_DB":return l.FAILED_WRITING_TO_DB;case 11:case"FAILED_ALLOCATING_SEQUENCE_NUMBER":return l.FAILED_ALLOCATING_SEQUENCE_NUMBER;case 12:case"BAD_INPUT_PENDING_EVENTS_TOKEN":return l.BAD_INPUT_PENDING_EVENTS_TOKEN;default:return l.UNRECOGNIZED}}function d(e){switch(e){case l.NO_ERROR:return"NO_ERROR";case l.NO_OWER_PROVIDER:return"NO_OWER_PROVIDER";case l.SERIALIZATION_ERROR:return"SERIALIZATION_ERROR";case l.DECRYPTION_ERROR:return"DECRYPTION_ERROR";case l.EVENT_SENDER_ERROR:return"EVENT_SENDER_ERROR";case l.FAILED_OPENING_DB:return"FAILED_OPENING_DB";case l.FAILED_GETTING_EVENT_FROM_DB:return"FAILED_GETTING_EVENT_FROM_DB";case l.FAILED_ADDING_EVENT_TO_DB:return"FAILED_ADDING_EVENT_TO_DB";case l.FAILED_OVERWRITING_EVENT_IN_DB:return"FAILED_OVERWRITING_EVENT_IN_DB";case l.FAILED_REMOVING_EVENT_FROM_DB:return"FAILED_REMOVING_EVENT_FROM_DB";case l.FAILED_WRITING_TO_DB:return"FAILED_WRITING_TO_DB";case l.FAILED_ALLOCATING_SEQUENCE_NUMBER:return"FAILED_ALLOCATING_SEQUENCE_NUMBER";case l.BAD_INPUT_PENDING_EVENTS_TOKEN:return"BAD_INPUT_PENDING_EVENTS_TOKEN";case l.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.NO_ERROR=0]="NO_ERROR",e[e.NO_OWER_PROVIDER=1]="NO_OWER_PROVIDER",e[e.SERIALIZATION_ERROR=2]="SERIALIZATION_ERROR",e[e.DECRYPTION_ERROR=3]="DECRYPTION_ERROR",e[e.EVENT_SENDER_ERROR=4]="EVENT_SENDER_ERROR",e[e.FAILED_OPENING_DB=5]="FAILED_OPENING_DB",e[e.FAILED_GETTING_EVENT_FROM_DB=6]="FAILED_GETTING_EVENT_FROM_DB",e[e.FAILED_ADDING_EVENT_TO_DB=7]="FAILED_ADDING_EVENT_TO_DB",e[e.FAILED_OVERWRITING_EVENT_IN_DB=8]="FAILED_OVERWRITING_EVENT_IN_DB",e[e.FAILED_REMOVING_EVENT_FROM_DB=9]="FAILED_REMOVING_EVENT_FROM_DB",e[e.FAILED_WRITING_TO_DB=10]="FAILED_WRITING_TO_DB",e[e.FAILED_ALLOCATING_SEQUENCE_NUMBER=11]="FAILED_ALLOCATING_SEQUENCE_NUMBER",e[e.BAD_INPUT_PENDING_EVENTS_TOKEN=12]="BAD_INPUT_PENDING_EVENTS_TOKEN",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(l||(l={}));const p={encode:(e,t=i.Writer.create())=>(!0===e.success&&t.uint32(8).bool(e.success),0!==e.error&&t.uint32(16).int32(e.error),""!==e.tokenEventName&&t.uint32(26).string(e.tokenEventName),0!==e.tokenSequenceNo&&t.uint32(32).uint32(e.tokenSequenceNo),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={success:!1,error:0,tokenEventName:"",tokenSequenceNo:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.success=n.bool();continue;case 2:if(16!==e)break;r.error=n.int32();continue;case 3:if(26!==e)break;r.tokenEventName=n.string();continue;case 4:if(32!==e)break;r.tokenSequenceNo=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({success:!!h(e.success)&&Boolean(e.success),error:h(e.error)?u(e.error):0,tokenEventName:h(e.tokenEventName)?String(e.tokenEventName):"",tokenSequenceNo:h(e.tokenSequenceNo)?Number(e.tokenSequenceNo):0}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),0!==e.error&&(t.error=d(e.error)),""!==e.tokenEventName&&(t.tokenEventName=e.tokenEventName),0!==e.tokenSequenceNo&&(t.tokenSequenceNo=Math.round(e.tokenSequenceNo)),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={success:!1,error:0,tokenEventName:"",tokenSequenceNo:0};return t.success=e.success??!1,t.error=e.error??0,t.tokenEventName=e.tokenEventName??"",t.tokenSequenceNo=e.tokenSequenceNo??0,t}};function h(e){return null!=e}function f(){return{tokenEventName:"",tokenSequenceNo:0,protoName:"",protoData:new Uint8Array(0)}}const m={encode:(e,t=i.Writer.create())=>(""!==e.tokenEventName&&t.uint32(10).string(e.tokenEventName),0!==e.tokenSequenceNo&&t.uint32(16).uint32(e.tokenSequenceNo),""!==e.protoName&&t.uint32(26).string(e.protoName),0!==e.protoData.length&&t.uint32(34).bytes(e.protoData),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=f();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tokenEventName=n.string();continue;case 2:if(16!==e)break;r.tokenSequenceNo=n.uint32();continue;case 3:if(26!==e)break;r.protoName=n.string();continue;case 4:if(34!==e)break;r.protoData=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({tokenEventName:E(e.tokenEventName)?String(e.tokenEventName):"",tokenSequenceNo:E(e.tokenSequenceNo)?Number(e.tokenSequenceNo):0,protoName:E(e.protoName)?String(e.protoName):"",protoData:E(e.protoData)?g(e.protoData):new Uint8Array(0)}),toJSON(e){const t={};return""!==e.tokenEventName&&(t.tokenEventName=e.tokenEventName),0!==e.tokenSequenceNo&&(t.tokenSequenceNo=Math.round(e.tokenSequenceNo)),""!==e.protoName&&(t.protoName=e.protoName),0!==e.protoData.length&&(t.protoData=function(e){if(_.Buffer)return _.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),_.btoa(t.join(""))}}(e.protoData)),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t=f();return t.tokenEventName=e.tokenEventName??"",t.tokenSequenceNo=e.tokenSequenceNo??0,t.protoName=e.protoName??"",t.protoData=e.protoData??new Uint8Array(0),t}},_=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function g(e){if(_.Buffer)return Uint8Array.from(_.Buffer.from(e,"base64"));{const t=_.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function E(e){return null!=e}const v={encode:(e,t=i.Writer.create())=>(!0===e.success&&t.uint32(8).bool(e.success),0!==e.error&&t.uint32(16).int32(e.error),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={success:!1,error:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.success=n.bool();continue;case 2:if(16!==e)break;r.error=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({success:!!y(e.success)&&Boolean(e.success),error:y(e.error)?u(e.error):0}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),0!==e.error&&(t.error=d(e.error)),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={success:!1,error:0};return t.success=e.success??!1,t.error=e.error??0,t}};function y(e){return null!=e}const b={encode:(e,t=i.Writer.create())=>(""!==e.tokenEventName&&t.uint32(10).string(e.tokenEventName),0!==e.tokenSequenceNo&&t.uint32(16).uint32(e.tokenSequenceNo),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={tokenEventName:"",tokenSequenceNo:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tokenEventName=n.string();continue;case 2:if(16!==e)break;r.tokenSequenceNo=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({tokenEventName:S(e.tokenEventName)?String(e.tokenEventName):"",tokenSequenceNo:S(e.tokenSequenceNo)?Number(e.tokenSequenceNo):0}),toJSON(e){const t={};return""!==e.tokenEventName&&(t.tokenEventName=e.tokenEventName),0!==e.tokenSequenceNo&&(t.tokenSequenceNo=Math.round(e.tokenSequenceNo)),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={tokenEventName:"",tokenSequenceNo:0};return t.tokenEventName=e.tokenEventName??"",t.tokenSequenceNo=e.tokenSequenceNo??0,t}};function S(e){return null!=e}const T={encode:(e,t=i.Writer.create())=>(!0===e.success&&t.uint32(8).bool(e.success),0!==e.error&&t.uint32(16).int32(e.error),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={success:!1,error:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.success=n.bool();continue;case 2:if(16!==e)break;r.error=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({success:!!A(e.success)&&Boolean(e.success),error:A(e.error)?u(e.error):0}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),0!==e.error&&(t.error=d(e.error)),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={success:!1,error:0};return t.success=e.success??!1,t.error=e.error??0,t}};function A(e){return null!=e}class I{transport;options;constructor(e,t={}){this.transport=e,this.options=t}addPendingEvent(e,t){const n=I.SERVICE_ID,o="AddPendingEvent",a=r.fromPartial(e),s=r.encode(a).finish();return this.options.onRequest?.(a,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:s},t).then((e=>{const t=p.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}replacePendingEvent(e,t){const n=I.SERVICE_ID,o="ReplacePendingEvent",r=m.fromPartial(e),a=m.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=v.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}commitPendingEvent(e,t){const n=I.SERVICE_ID,o="CommitPendingEvent",r=b.fromPartial(e),a=b.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=T.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.pending_events.esperanto.proto.PendingEvents";static METHODS={addPendingEvent:{isStreaming:!1,requestType:r,responseType:p},replacePendingEvent:{isStreaming:!1,requestType:m,responseType:v},commitPendingEvent:{isStreaming:!1,requestType:b,responseType:T}};static DECODERS={AddPendingEvent:{request:r.decode,response:p.decode},ReplacePendingEvent:{request:m.decode,response:v.decode},CommitPendingEvent:{request:b.decode,response:T.decode}}}},66147:(e,t,n)=>{"use strict";n.d(t,{jx:()=>ct,ob:()=>E,hn:()=>s,GD:()=>Xt,tE:()=>dt,Vk:()=>L,xd:()=>o,mc:()=>ut,jy:()=>Qe,T1:()=>_t,OU:()=>ne,Uq:()=>Ce,bf:()=>Jt,xi:()=>b,kN:()=>pe,$E:()=>Et,Mc:()=>vt,o_:()=>yt,YH:()=>W,fQ:()=>J,zz:()=>et,wM:()=>me,uF:()=>h,dR:()=>Ne,vn:()=>Ve,w8:()=>Me,y4:()=>je,LC:()=>at,Zb:()=>$e,gU:()=>zt,od:()=>Le,iy:()=>we,eM:()=>be});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.uid&&t.uint32(18).string(e.uid),Object.entries(e.metadata).forEach((([e,n])=>{r.encode({key:e,value:n},t.uint32(26).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const a={uri:"",uid:"",metadata:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.uri=n.string();continue;case 2:if(18!==e)break;a.uid=n.string();continue;case 3:if(26!==e)break;const t=r.decode(n,n.uint32());void 0!==t.value&&(a.metadata[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{uri:a(e.uri)?String(e.uri):"",uid:a(e.uid)?String(e.uid):"",metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(""!==e.uri&&(t.uri=e.uri),""!==e.uid&&(t.uid=e.uid),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={uri:"",uid:"",metadata:{}};return t.uri=e.uri??"",t.uid=e.uid??"",t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const r={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:a(e.key)?String(e.key):"",value:a(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function a(e){return null!=e}const s={encode(e,t=i.Writer.create()){for(const n of e.tracks)o.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{c.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.pageUrl&&t.uint32(26).string(e.pageUrl),""!==e.nextPageUrl&&t.uint32(34).string(e.nextPageUrl),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.tracks.push(o.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=c.decode(n,n.uint32());void 0!==t.value&&(a.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;a.pageUrl=n.string();continue;case 4:if(34!==e)break;a.nextPageUrl=n.string();continue;case 5:if(40!==e)break;a.isLoading=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{tracks:Array.isArray(e?.tracks)?e.tracks.map((e=>o.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),pageUrl:l(e.pageUrl)?String(e.pageUrl):"",nextPageUrl:l(e.nextPageUrl)?String(e.nextPageUrl):"",isLoading:!!l(e.isLoading)&&Boolean(e.isLoading)};var t},toJSON(e){const t={};if(e.tracks?.length&&(t.tracks=e.tracks.map((e=>o.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),""!==e.nextPageUrl&&(t.nextPageUrl=e.nextPageUrl),!0===e.isLoading&&(t.isLoading=e.isLoading),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};return t.tracks=e.tracks?.map((e=>o.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.pageUrl=e.pageUrl??"",t.nextPageUrl=e.nextPageUrl??"",t.isLoading=e.isLoading??!1,t}};const c={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:l(e.key)?String(e.key):"",value:l(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function l(e){return null!=e}const u={encode:(e,t=i.Writer.create())=>(Object.entries(e.values).forEach((([e,n])=>{d.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={values:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=d.decode(n,n.uint32());void 0!==t.value&&(r.values[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({values:_(e.values)?Object.entries(e.values).reduce(((e,[t,n])=>(e[t]=p.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.values){const n=Object.entries(e.values);n.length>0&&(t.values={},n.forEach((([e,n])=>{t.values[e]=p.toJSON(n)})))}return t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={values:{}};return t.values=Object.entries(e.values??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=p.fromPartial(n)),e)),{}),t}};const d={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&p.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=p.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?p.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=p.toJSON(e.value)),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?p.fromPartial(e.value):void 0,t}};const p={encode(e,t=i.Writer.create()){for(const n of e.reasons)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={reasons:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.reasons.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reasons:Array.isArray(e?.reasons)?e.reasons.map((e=>String(e))):[]}),toJSON(e){const t={};return e.reasons?.length&&(t.reasons=e.reasons),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={reasons:[]};return t.reasons=e.reasons?.map((e=>e))||[],t}};const h={encode(e,t=i.Writer.create()){for(const n of e.disallowPausingReasons)t.uint32(10).string(n);for(const n of e.disallowResumingReasons)t.uint32(18).string(n);for(const n of e.disallowSeekingReasons)t.uint32(26).string(n);for(const n of e.disallowPeekingPrevReasons)t.uint32(34).string(n);for(const n of e.disallowPeekingNextReasons)t.uint32(42).string(n);for(const n of e.disallowSkippingPrevReasons)t.uint32(50).string(n);for(const n of e.disallowSkippingNextReasons)t.uint32(58).string(n);for(const n of e.disallowTogglingRepeatContextReasons)t.uint32(66).string(n);for(const n of e.disallowTogglingRepeatTrackReasons)t.uint32(74).string(n);for(const n of e.disallowTogglingShuffleReasons)t.uint32(82).string(n);for(const n of e.disallowSetQueueReasons)t.uint32(90).string(n);for(const n of e.disallowInterruptingPlaybackReasons)t.uint32(98).string(n);for(const n of e.disallowTransferringPlaybackReasons)t.uint32(106).string(n);for(const n of e.disallowRemoteControlReasons)t.uint32(114).string(n);for(const n of e.disallowInsertingIntoNextTracksReasons)t.uint32(122).string(n);for(const n of e.disallowInsertingIntoContextTracksReasons)t.uint32(130).string(n);for(const n of e.disallowReorderingInNextTracksReasons)t.uint32(138).string(n);for(const n of e.disallowReorderingInContextTracksReasons)t.uint32(146).string(n);for(const n of e.disallowRemovingFromNextTracksReasons)t.uint32(154).string(n);for(const n of e.disallowRemovingFromContextTracksReasons)t.uint32(162).string(n);for(const n of e.disallowUpdatingContextReasons)t.uint32(170).string(n);for(const n of e.disallowAddToQueueReasons)t.uint32(178).string(n);for(const n of e.disallowSettingPlaybackSpeedReasons)t.uint32(186).string(n);return Object.entries(e.disallowSettingModes).forEach((([e,n])=>{f.encode({key:e,value:n},t.uint32(202).fork()).ldelim()})),Object.entries(e.disallowSignals).forEach((([e,n])=>{m.encode({key:e,value:n},t.uint32(210).fork()).ldelim()})),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.disallowPausingReasons.push(n.string());continue;case 2:if(18!==e)break;r.disallowResumingReasons.push(n.string());continue;case 3:if(26!==e)break;r.disallowSeekingReasons.push(n.string());continue;case 4:if(34!==e)break;r.disallowPeekingPrevReasons.push(n.string());continue;case 5:if(42!==e)break;r.disallowPeekingNextReasons.push(n.string());continue;case 6:if(50!==e)break;r.disallowSkippingPrevReasons.push(n.string());continue;case 7:if(58!==e)break;r.disallowSkippingNextReasons.push(n.string());continue;case 8:if(66!==e)break;r.disallowTogglingRepeatContextReasons.push(n.string());continue;case 9:if(74!==e)break;r.disallowTogglingRepeatTrackReasons.push(n.string());continue;case 10:if(82!==e)break;r.disallowTogglingShuffleReasons.push(n.string());continue;case 11:if(90!==e)break;r.disallowSetQueueReasons.push(n.string());continue;case 12:if(98!==e)break;r.disallowInterruptingPlaybackReasons.push(n.string());continue;case 13:if(106!==e)break;r.disallowTransferringPlaybackReasons.push(n.string());continue;case 14:if(114!==e)break;r.disallowRemoteControlReasons.push(n.string());continue;case 15:if(122!==e)break;r.disallowInsertingIntoNextTracksReasons.push(n.string());continue;case 16:if(130!==e)break;r.disallowInsertingIntoContextTracksReasons.push(n.string());continue;case 17:if(138!==e)break;r.disallowReorderingInNextTracksReasons.push(n.string());continue;case 18:if(146!==e)break;r.disallowReorderingInContextTracksReasons.push(n.string());continue;case 19:if(154!==e)break;r.disallowRemovingFromNextTracksReasons.push(n.string());continue;case 20:if(162!==e)break;r.disallowRemovingFromContextTracksReasons.push(n.string());continue;case 21:if(170!==e)break;r.disallowUpdatingContextReasons.push(n.string());continue;case 22:if(178!==e)break;r.disallowAddToQueueReasons.push(n.string());continue;case 23:if(186!==e)break;r.disallowSettingPlaybackSpeedReasons.push(n.string());continue;case 25:if(202!==e)break;const t=f.decode(n,n.uint32());void 0!==t.value&&(r.disallowSettingModes[t.key]=t.value);continue;case 26:if(210!==e)break;const i=m.decode(n,n.uint32());void 0!==i.value&&(r.disallowSignals[i.key]=i.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({disallowPausingReasons:Array.isArray(e?.disallowPausingReasons)?e.disallowPausingReasons.map((e=>String(e))):[],disallowResumingReasons:Array.isArray(e?.disallowResumingReasons)?e.disallowResumingReasons.map((e=>String(e))):[],disallowSeekingReasons:Array.isArray(e?.disallowSeekingReasons)?e.disallowSeekingReasons.map((e=>String(e))):[],disallowPeekingPrevReasons:Array.isArray(e?.disallowPeekingPrevReasons)?e.disallowPeekingPrevReasons.map((e=>String(e))):[],disallowPeekingNextReasons:Array.isArray(e?.disallowPeekingNextReasons)?e.disallowPeekingNextReasons.map((e=>String(e))):[],disallowSkippingPrevReasons:Array.isArray(e?.disallowSkippingPrevReasons)?e.disallowSkippingPrevReasons.map((e=>String(e))):[],disallowSkippingNextReasons:Array.isArray(e?.disallowSkippingNextReasons)?e.disallowSkippingNextReasons.map((e=>String(e))):[],disallowTogglingRepeatContextReasons:Array.isArray(e?.disallowTogglingRepeatContextReasons)?e.disallowTogglingRepeatContextReasons.map((e=>String(e))):[],disallowTogglingRepeatTrackReasons:Array.isArray(e?.disallowTogglingRepeatTrackReasons)?e.disallowTogglingRepeatTrackReasons.map((e=>String(e))):[],disallowTogglingShuffleReasons:Array.isArray(e?.disallowTogglingShuffleReasons)?e.disallowTogglingShuffleReasons.map((e=>String(e))):[],disallowSetQueueReasons:Array.isArray(e?.disallowSetQueueReasons)?e.disallowSetQueueReasons.map((e=>String(e))):[],disallowInterruptingPlaybackReasons:Array.isArray(e?.disallowInterruptingPlaybackReasons)?e.disallowInterruptingPlaybackReasons.map((e=>String(e))):[],disallowTransferringPlaybackReasons:Array.isArray(e?.disallowTransferringPlaybackReasons)?e.disallowTransferringPlaybackReasons.map((e=>String(e))):[],disallowRemoteControlReasons:Array.isArray(e?.disallowRemoteControlReasons)?e.disallowRemoteControlReasons.map((e=>String(e))):[],disallowInsertingIntoNextTracksReasons:Array.isArray(e?.disallowInsertingIntoNextTracksReasons)?e.disallowInsertingIntoNextTracksReasons.map((e=>String(e))):[],disallowInsertingIntoContextTracksReasons:Array.isArray(e?.disallowInsertingIntoContextTracksReasons)?e.disallowInsertingIntoContextTracksReasons.map((e=>String(e))):[],disallowReorderingInNextTracksReasons:Array.isArray(e?.disallowReorderingInNextTracksReasons)?e.disallowReorderingInNextTracksReasons.map((e=>String(e))):[],disallowReorderingInContextTracksReasons:Array.isArray(e?.disallowReorderingInContextTracksReasons)?e.disallowReorderingInContextTracksReasons.map((e=>String(e))):[],disallowRemovingFromNextTracksReasons:Array.isArray(e?.disallowRemovingFromNextTracksReasons)?e.disallowRemovingFromNextTracksReasons.map((e=>String(e))):[],disallowRemovingFromContextTracksReasons:Array.isArray(e?.disallowRemovingFromContextTracksReasons)?e.disallowRemovingFromContextTracksReasons.map((e=>String(e))):[],disallowUpdatingContextReasons:Array.isArray(e?.disallowUpdatingContextReasons)?e.disallowUpdatingContextReasons.map((e=>String(e))):[],disallowAddToQueueReasons:Array.isArray(e?.disallowAddToQueueReasons)?e.disallowAddToQueueReasons.map((e=>String(e))):[],disallowSettingPlaybackSpeedReasons:Array.isArray(e?.disallowSettingPlaybackSpeedReasons)?e.disallowSettingPlaybackSpeedReasons.map((e=>String(e))):[],disallowSettingModes:_(e.disallow_setting_modes)?Object.entries(e.disallow_setting_modes).reduce(((e,[t,n])=>(e[t]=u.fromJSON(n),e)),{}):{},disallowSignals:_(e.disallow_signals)?Object.entries(e.disallow_signals).reduce(((e,[t,n])=>(e[t]=p.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.disallowPausingReasons?.length&&(t.disallowPausingReasons=e.disallowPausingReasons),e.disallowResumingReasons?.length&&(t.disallowResumingReasons=e.disallowResumingReasons),e.disallowSeekingReasons?.length&&(t.disallowSeekingReasons=e.disallowSeekingReasons),e.disallowPeekingPrevReasons?.length&&(t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons),e.disallowPeekingNextReasons?.length&&(t.disallowPeekingNextReasons=e.disallowPeekingNextReasons),e.disallowSkippingPrevReasons?.length&&(t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons),e.disallowSkippingNextReasons?.length&&(t.disallowSkippingNextReasons=e.disallowSkippingNextReasons),e.disallowTogglingRepeatContextReasons?.length&&(t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons),e.disallowTogglingRepeatTrackReasons?.length&&(t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons),e.disallowTogglingShuffleReasons?.length&&(t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons),e.disallowSetQueueReasons?.length&&(t.disallowSetQueueReasons=e.disallowSetQueueReasons),e.disallowInterruptingPlaybackReasons?.length&&(t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons),e.disallowTransferringPlaybackReasons?.length&&(t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons),e.disallowRemoteControlReasons?.length&&(t.disallowRemoteControlReasons=e.disallowRemoteControlReasons),e.disallowInsertingIntoNextTracksReasons?.length&&(t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons),e.disallowInsertingIntoContextTracksReasons?.length&&(t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons),e.disallowReorderingInNextTracksReasons?.length&&(t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons),e.disallowReorderingInContextTracksReasons?.length&&(t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons),e.disallowRemovingFromNextTracksReasons?.length&&(t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons),e.disallowRemovingFromContextTracksReasons?.length&&(t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons),e.disallowUpdatingContextReasons?.length&&(t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons),e.disallowAddToQueueReasons?.length&&(t.disallowAddToQueueReasons=e.disallowAddToQueueReasons),e.disallowSettingPlaybackSpeedReasons?.length&&(t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons),e.disallowSettingModes){const n=Object.entries(e.disallowSettingModes);n.length>0&&(t.disallow_setting_modes={},n.forEach((([e,n])=>{t.disallow_setting_modes[e]=u.toJSON(n)})))}if(e.disallowSignals){const n=Object.entries(e.disallowSignals);n.length>0&&(t.disallow_signals={},n.forEach((([e,n])=>{t.disallow_signals[e]=p.toJSON(n)})))}return t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};return t.disallowPausingReasons=e.disallowPausingReasons?.map((e=>e))||[],t.disallowResumingReasons=e.disallowResumingReasons?.map((e=>e))||[],t.disallowSeekingReasons=e.disallowSeekingReasons?.map((e=>e))||[],t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons?.map((e=>e))||[],t.disallowPeekingNextReasons=e.disallowPeekingNextReasons?.map((e=>e))||[],t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons?.map((e=>e))||[],t.disallowSkippingNextReasons=e.disallowSkippingNextReasons?.map((e=>e))||[],t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons?.map((e=>e))||[],t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons?.map((e=>e))||[],t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons?.map((e=>e))||[],t.disallowSetQueueReasons=e.disallowSetQueueReasons?.map((e=>e))||[],t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons?.map((e=>e))||[],t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons?.map((e=>e))||[],t.disallowRemoteControlReasons=e.disallowRemoteControlReasons?.map((e=>e))||[],t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons?.map((e=>e))||[],t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons?.map((e=>e))||[],t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons?.map((e=>e))||[],t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons?.map((e=>e))||[],t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons?.map((e=>e))||[],t.disallowAddToQueueReasons=e.disallowAddToQueueReasons?.map((e=>e))||[],t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons?.map((e=>e))||[],t.disallowSettingModes=Object.entries(e.disallowSettingModes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=u.fromPartial(n)),e)),{}),t.disallowSignals=Object.entries(e.disallowSignals??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=p.fromPartial(n)),e)),{}),t}};const f={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&u.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=u.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?u.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=u.toJSON(e.value)),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?u.fromPartial(e.value):void 0,t}};const m={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&p.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=p.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:g(e.key)?String(e.key):"",value:g(e.value)?p.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=p.toJSON(e.value)),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?p.fromPartial(e.value):void 0,t}};function _(e){return"object"==typeof e&&null!==e}function g(e){return null!=e}const E={encode(e,t=i.Writer.create()){for(const n of e.pages)s.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{v.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.uri&&t.uint32(26).string(e.uri),""!==e.url&&t.uint32(34).string(e.url),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),void 0!==e.restrictions&&h.encode(e.restrictions,t.uint32(50).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pages.push(s.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=v.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;r.uri=n.string();continue;case 4:if(34!==e)break;r.url=n.string();continue;case 5:if(40!==e)break;r.isLoading=n.bool();continue;case 6:if(50!==e)break;r.restrictions=h.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{pages:Array.isArray(e?.pages)?e.pages.map((e=>s.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),uri:y(e.uri)?String(e.uri):"",url:y(e.url)?String(e.url):"",isLoading:!!y(e.isLoading)&&Boolean(e.isLoading),restrictions:y(e.restrictions)?h.fromJSON(e.restrictions):void 0};var t},toJSON(e){const t={};if(e.pages?.length&&(t.pages=e.pages.map((e=>s.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.uri&&(t.uri=e.uri),""!==e.url&&(t.url=e.url),!0===e.isLoading&&(t.isLoading=e.isLoading),void 0!==e.restrictions&&(t.restrictions=h.toJSON(e.restrictions)),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};return t.pages=e.pages?.map((e=>s.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.uri=e.uri??"",t.url=e.url??"",t.isLoading=e.isLoading??!1,t.restrictions=void 0!==e.restrictions&&null!==e.restrictions?h.fromPartial(e.restrictions):void 0,t}};const v={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:y(e.key)?String(e.key):"",value:y(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>v.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function y(e){return null!=e}const b={encode(e,t=i.Writer.create()){""!==e.featureIdentifier&&t.uint32(10).string(e.featureIdentifier),""!==e.featureVersion&&t.uint32(18).string(e.featureVersion),""!==e.viewUri&&t.uint32(26).string(e.viewUri),""!==e.externalReferrer&&t.uint32(34).string(e.externalReferrer),""!==e.referrerIdentifier&&t.uint32(42).string(e.referrerIdentifier),""!==e.deviceIdentifier&&t.uint32(50).string(e.deviceIdentifier);for(const n of e.featureClasses)t.uint32(58).string(n);return""!==e.restrictionIdentifier&&t.uint32(66).string(e.restrictionIdentifier),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.featureIdentifier=n.string();continue;case 2:if(18!==e)break;r.featureVersion=n.string();continue;case 3:if(26!==e)break;r.viewUri=n.string();continue;case 4:if(34!==e)break;r.externalReferrer=n.string();continue;case 5:if(42!==e)break;r.referrerIdentifier=n.string();continue;case 6:if(50!==e)break;r.deviceIdentifier=n.string();continue;case 7:if(58!==e)break;r.featureClasses.push(n.string());continue;case 8:if(66!==e)break;r.restrictionIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({featureIdentifier:S(e.featureIdentifier)?String(e.featureIdentifier):"",featureVersion:S(e.featureVersion)?String(e.featureVersion):"",viewUri:S(e.viewUri)?String(e.viewUri):"",externalReferrer:S(e.externalReferrer)?String(e.externalReferrer):"",referrerIdentifier:S(e.referrerIdentifier)?String(e.referrerIdentifier):"",deviceIdentifier:S(e.deviceIdentifier)?String(e.deviceIdentifier):"",featureClasses:Array.isArray(e?.featureClasses)?e.featureClasses.map((e=>String(e))):[],restrictionIdentifier:S(e.restrictionIdentifier)?String(e.restrictionIdentifier):""}),toJSON(e){const t={};return""!==e.featureIdentifier&&(t.featureIdentifier=e.featureIdentifier),""!==e.featureVersion&&(t.featureVersion=e.featureVersion),""!==e.viewUri&&(t.viewUri=e.viewUri),""!==e.externalReferrer&&(t.externalReferrer=e.externalReferrer),""!==e.referrerIdentifier&&(t.referrerIdentifier=e.referrerIdentifier),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),e.featureClasses?.length&&(t.featureClasses=e.featureClasses),""!==e.restrictionIdentifier&&(t.restrictionIdentifier=e.restrictionIdentifier),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};return t.featureIdentifier=e.featureIdentifier??"",t.featureVersion=e.featureVersion??"",t.viewUri=e.viewUri??"",t.externalReferrer=e.externalReferrer??"",t.referrerIdentifier=e.referrerIdentifier??"",t.deviceIdentifier=e.deviceIdentifier??"",t.featureClasses=e.featureClasses?.map((e=>e))||[],t.restrictionIdentifier=e.restrictionIdentifier??"",t}};function S(e){return null!=e}var T=n(87252);function A(){return{value:BigInt("0")}}const I={encode:(e,t=i.Writer.create())=>(e.value!==BigInt("0")&&t.uint32(8).int64(e.value.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=A();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=(a=n.int64(),BigInt(a.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({value:R(e.value)?BigInt(e.value):BigInt("0")}),toJSON(e){const t={};return e.value!==BigInt("0")&&(t.value=e.value.toString()),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t=A();return t.value=e.value??BigInt("0"),t}};const O={encode:(e,t=i.Writer.create())=>(0!==e.value&&t.uint32(9).double(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={value:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(9!==e)break;r.value=n.double();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:R(e.value)?Number(e.value):0}),toJSON(e){const t={};return 0!==e.value&&(t.value=e.value),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={value:0};return t.value=e.value??0,t}};const C={encode:(e,t=i.Writer.create())=>(!0===e.value&&t.uint32(8).bool(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={value:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:!!R(e.value)&&Boolean(e.value)}),toJSON(e){const t={};return!0===e.value&&(t.value=e.value),t},create:e=>C.fromPartial(e??{}),fromPartial(e){const t={value:!1};return t.value=e.value??!1,t}};function R(e){return null!=e}i.util.Long!==T&&(i.util.Long=T,i.configure());const N={encode:(e,t=i.Writer.create())=>(!0===e.shufflingContext&&t.uint32(8).bool(e.shufflingContext),!0===e.repeatingContext&&t.uint32(16).bool(e.repeatingContext),!0===e.repeatingTrack&&t.uint32(24).bool(e.repeatingTrack),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),Object.entries(e.modes).forEach((([e,n])=>{P.encode({key:e,value:n},t.uint32(42).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={shufflingContext:!1,repeatingContext:!1,repeatingTrack:!1,playbackSpeed:void 0,modes:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.shufflingContext=n.bool();continue;case 2:if(16!==e)break;r.repeatingContext=n.bool();continue;case 3:if(24!==e)break;r.repeatingTrack=n.bool();continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue;case 5:if(42!==e)break;const t=P.decode(n,n.uint32());void 0!==t.value&&(r.modes[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shufflingContext:!!D(e.shufflingContext)&&Boolean(e.shufflingContext),repeatingContext:!!D(e.repeatingContext)&&Boolean(e.repeatingContext),repeatingTrack:!!D(e.repeatingTrack)&&Boolean(e.repeatingTrack),playbackSpeed:D(e.playbackSpeed)?Number(e.playbackSpeed):void 0,modes:w(e.modes)?Object.entries(e.modes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(!0===e.shufflingContext&&(t.shufflingContext=e.shufflingContext),!0===e.repeatingContext&&(t.repeatingContext=e.repeatingContext),!0===e.repeatingTrack&&(t.repeatingTrack=e.repeatingTrack),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),e.modes){const n=Object.entries(e.modes);n.length>0&&(t.modes={},n.forEach((([e,n])=>{t.modes[e]=n})))}return t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={shufflingContext:!1,repeatingContext:!1,repeatingTrack:!1,playbackSpeed:void 0,modes:{}};return t.shufflingContext=e.shufflingContext??!1,t.repeatingContext=e.repeatingContext??!1,t.repeatingTrack=e.repeatingTrack??!1,t.playbackSpeed=e.playbackSpeed??void 0,t.modes=Object.entries(e.modes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const P={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:D(e.key)?String(e.key):"",value:D(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>P.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const L={encode:(e,t=i.Writer.create())=>(void 0!==e.shufflingContext&&C.encode(e.shufflingContext,t.uint32(10).fork()).ldelim(),void 0!==e.repeatingContext&&C.encode(e.repeatingContext,t.uint32(18).fork()).ldelim(),void 0!==e.repeatingTrack&&C.encode(e.repeatingTrack,t.uint32(26).fork()).ldelim(),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),Object.entries(e.modes).forEach((([e,n])=>{k.encode({key:e,value:n},t.uint32(42).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.shufflingContext=C.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.repeatingContext=C.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.repeatingTrack=C.decode(n,n.uint32());continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue;case 5:if(42!==e)break;const t=k.decode(n,n.uint32());void 0!==t.value&&(r.modes[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shufflingContext:D(e.shufflingContext)?C.fromJSON(e.shufflingContext):void 0,repeatingContext:D(e.repeatingContext)?C.fromJSON(e.repeatingContext):void 0,repeatingTrack:D(e.repeatingTrack)?C.fromJSON(e.repeatingTrack):void 0,playbackSpeed:D(e.playbackSpeed)?Number(e.playbackSpeed):void 0,modes:w(e.modes)?Object.entries(e.modes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(void 0!==e.shufflingContext&&(t.shufflingContext=C.toJSON(e.shufflingContext)),void 0!==e.repeatingContext&&(t.repeatingContext=C.toJSON(e.repeatingContext)),void 0!==e.repeatingTrack&&(t.repeatingTrack=C.toJSON(e.repeatingTrack)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),e.modes){const n=Object.entries(e.modes);n.length>0&&(t.modes={},n.forEach((([e,n])=>{t.modes[e]=n})))}return t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};return t.shufflingContext=void 0!==e.shufflingContext&&null!==e.shufflingContext?C.fromPartial(e.shufflingContext):void 0,t.repeatingContext=void 0!==e.repeatingContext&&null!==e.repeatingContext?C.fromPartial(e.repeatingContext):void 0,t.repeatingTrack=void 0!==e.repeatingTrack&&null!==e.repeatingTrack?C.fromPartial(e.repeatingTrack):void 0,t.playbackSpeed=e.playbackSpeed??void 0,t.modes=Object.entries(e.modes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const k={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:D(e.key)?String(e.key):"",value:D(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>k.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function w(e){return"object"==typeof e&&null!==e}function D(e){return null!=e}const M={encode:(e,t=i.Writer.create())=>(""!==e.pageUrl&&t.uint32(10).string(e.pageUrl),void 0!==e.pageIndex&&I.encode(e.pageIndex,t.uint32(18).fork()).ldelim(),""!==e.trackUid&&t.uint32(26).string(e.trackUid),""!==e.trackUri&&t.uint32(34).string(e.trackUri),void 0!==e.trackIndex&&I.encode(e.trackIndex,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pageUrl=n.string();continue;case 2:if(18!==e)break;r.pageIndex=I.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackUid=n.string();continue;case 4:if(34!==e)break;r.trackUri=n.string();continue;case 5:if(42!==e)break;r.trackIndex=I.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pageUrl:x(e.pageUrl)?String(e.pageUrl):"",pageIndex:x(e.pageIndex)?I.fromJSON(e.pageIndex):void 0,trackUid:x(e.trackUid)?String(e.trackUid):"",trackUri:x(e.trackUri)?String(e.trackUri):"",trackIndex:x(e.trackIndex)?I.fromJSON(e.trackIndex):void 0}),toJSON(e){const t={};return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),void 0!==e.pageIndex&&(t.pageIndex=I.toJSON(e.pageIndex)),""!==e.trackUid&&(t.trackUid=e.trackUid),""!==e.trackUri&&(t.trackUri=e.trackUri),void 0!==e.trackIndex&&(t.trackIndex=I.toJSON(e.trackIndex)),t},create:e=>M.fromPartial(e??{}),fromPartial(e){const t={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};return t.pageUrl=e.pageUrl??"",t.pageIndex=void 0!==e.pageIndex&&null!==e.pageIndex?I.fromPartial(e.pageIndex):void 0,t.trackUid=e.trackUid??"",t.trackUri=e.trackUri??"",t.trackIndex=void 0!==e.trackIndex&&null!==e.trackIndex?I.fromPartial(e.trackIndex):void 0,t}};function x(e){return null!=e}var U,V;function F(e){switch(e){case 0:case"NONE":return U.NONE;case 1:case"MEDIA":return U.MEDIA;default:return U.UNRECOGNIZED}}function B(e){switch(e){case 0:case"DEFAULT":return V.DEFAULT;case 1:case"ALARM":return V.ALARM;default:return V.UNRECOGNIZED}}function H(e){switch(e){case V.DEFAULT:return"DEFAULT";case V.ALARM:return"ALARM";case V.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function G(){return{playbackId:new Uint8Array(0),alwaysPlaySomething:!1,skipTo:void 0,seekTo:void 0,initiallyPaused:!1,systemInitiated:!1,playerOptionsOverride:void 0,suppressions:[],prefetchLevel:0,audioStream:0,sessionId:"",license:"",configurationOverride:{}}}!function(e){e[e.NONE=0]="NONE",e[e.MEDIA=1]="MEDIA",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(U||(U={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ALARM=1]="ALARM",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(V||(V={}));const W={encode(e,t=i.Writer.create()){0!==e.playbackId.length&&t.uint32(10).bytes(e.playbackId),!0===e.alwaysPlaySomething&&t.uint32(16).bool(e.alwaysPlaySomething),void 0!==e.skipTo&&M.encode(e.skipTo,t.uint32(26).fork()).ldelim(),void 0!==e.seekTo&&I.encode(e.seekTo,t.uint32(34).fork()).ldelim(),!0===e.initiallyPaused&&t.uint32(40).bool(e.initiallyPaused),!0===e.systemInitiated&&t.uint32(48).bool(e.systemInitiated),void 0!==e.playerOptionsOverride&&L.encode(e.playerOptionsOverride,t.uint32(58).fork()).ldelim();for(const n of e.suppressions)t.uint32(66).string(n);return 0!==e.prefetchLevel&&t.uint32(72).int32(e.prefetchLevel),0!==e.audioStream&&t.uint32(80).int32(e.audioStream),""!==e.sessionId&&t.uint32(90).string(e.sessionId),""!==e.license&&t.uint32(98).string(e.license),Object.entries(e.configurationOverride).forEach((([e,n])=>{j.encode({key:e,value:n},t.uint32(106).fork()).ldelim()})),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=G();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playbackId=n.bytes();continue;case 2:if(16!==e)break;r.alwaysPlaySomething=n.bool();continue;case 3:if(26!==e)break;r.skipTo=M.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.seekTo=I.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.initiallyPaused=n.bool();continue;case 6:if(48!==e)break;r.systemInitiated=n.bool();continue;case 7:if(58!==e)break;r.playerOptionsOverride=L.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.suppressions.push(n.string());continue;case 9:if(72!==e)break;r.prefetchLevel=n.int32();continue;case 10:if(80!==e)break;r.audioStream=n.int32();continue;case 11:if(90!==e)break;r.sessionId=n.string();continue;case 12:if(98!==e)break;r.license=n.string();continue;case 13:if(106!==e)break;const t=j.decode(n,n.uint32());void 0!==t.value&&(r.configurationOverride[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{playbackId:K(e.playbackId)?z(e.playbackId):new Uint8Array(0),alwaysPlaySomething:!!K(e.alwaysPlaySomething)&&Boolean(e.alwaysPlaySomething),skipTo:K(e.skipTo)?M.fromJSON(e.skipTo):void 0,seekTo:K(e.seekTo)?I.fromJSON(e.seekTo):void 0,initiallyPaused:!!K(e.initiallyPaused)&&Boolean(e.initiallyPaused),systemInitiated:!!K(e.systemInitiated)&&Boolean(e.systemInitiated),playerOptionsOverride:K(e.playerOptionsOverride)?L.fromJSON(e.playerOptionsOverride):void 0,suppressions:Array.isArray(e?.suppressions)?e.suppressions.map((e=>String(e))):[],prefetchLevel:K(e.prefetchLevel)?F(e.prefetchLevel):0,audioStream:K(e.audioStream)?B(e.audioStream):0,sessionId:K(e.sessionId)?String(e.sessionId):"",license:K(e.license)?String(e.license):"",configurationOverride:(t=e.configurationOverride,"object"==typeof t&&null!==t?Object.entries(e.configurationOverride).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(0!==e.playbackId.length&&(t.playbackId=function(e){if(Y.Buffer)return Y.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),Y.btoa(t.join(""))}}(e.playbackId)),!0===e.alwaysPlaySomething&&(t.alwaysPlaySomething=e.alwaysPlaySomething),void 0!==e.skipTo&&(t.skipTo=M.toJSON(e.skipTo)),void 0!==e.seekTo&&(t.seekTo=I.toJSON(e.seekTo)),!0===e.initiallyPaused&&(t.initiallyPaused=e.initiallyPaused),!0===e.systemInitiated&&(t.systemInitiated=e.systemInitiated),void 0!==e.playerOptionsOverride&&(t.playerOptionsOverride=L.toJSON(e.playerOptionsOverride)),e.suppressions?.length&&(t.suppressions=e.suppressions),0!==e.prefetchLevel&&(t.prefetchLevel=function(e){switch(e){case U.NONE:return"NONE";case U.MEDIA:return"MEDIA";case U.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.prefetchLevel)),0!==e.audioStream&&(t.audioStream=H(e.audioStream)),""!==e.sessionId&&(t.sessionId=e.sessionId),""!==e.license&&(t.license=e.license),e.configurationOverride){const n=Object.entries(e.configurationOverride);n.length>0&&(t.configurationOverride={},n.forEach((([e,n])=>{t.configurationOverride[e]=n})))}return t},create:e=>W.fromPartial(e??{}),fromPartial(e){const t=G();return t.playbackId=e.playbackId??new Uint8Array(0),t.alwaysPlaySomething=e.alwaysPlaySomething??!1,t.skipTo=void 0!==e.skipTo&&null!==e.skipTo?M.fromPartial(e.skipTo):void 0,t.seekTo=void 0!==e.seekTo&&null!==e.seekTo?I.fromPartial(e.seekTo):void 0,t.initiallyPaused=e.initiallyPaused??!1,t.systemInitiated=e.systemInitiated??!1,t.playerOptionsOverride=void 0!==e.playerOptionsOverride&&null!==e.playerOptionsOverride?L.fromPartial(e.playerOptionsOverride):void 0,t.suppressions=e.suppressions?.map((e=>e))||[],t.prefetchLevel=e.prefetchLevel??0,t.audioStream=e.audioStream??0,t.sessionId=e.sessionId??"",t.license=e.license??"",t.configurationOverride=Object.entries(e.configurationOverride??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const j={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:K(e.key)?String(e.key):"",value:K(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>j.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}},Y=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function z(e){if(Y.Buffer)return Uint8Array.from(Y.Buffer.from(e,"base64"));{const t=Y.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function K(e){return null!=e}const J={encode:(e,t=i.Writer.create())=>(void 0!==e.context&&E.encode(e.context,t.uint32(10).fork()).ldelim(),void 0!==e.options&&W.encode(e.options,t.uint32(18).fork()).ldelim(),void 0!==e.playOrigin&&b.encode(e.playOrigin,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={context:void 0,options:void 0,playOrigin:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.context=E.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.options=W.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.playOrigin=b.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({context:q(e.context)?E.fromJSON(e.context):void 0,options:q(e.options)?W.fromJSON(e.options):void 0,playOrigin:q(e.playOrigin)?b.fromJSON(e.playOrigin):void 0}),toJSON(e){const t={};return void 0!==e.context&&(t.context=E.toJSON(e.context)),void 0!==e.options&&(t.options=W.toJSON(e.options)),void 0!==e.playOrigin&&(t.playOrigin=b.toJSON(e.playOrigin)),t},create:e=>J.fromPartial(e??{}),fromPartial(e){const t={context:void 0,options:void 0,playOrigin:void 0};return t.context=void 0!==e.context&&null!==e.context?E.fromPartial(e.context):void 0,t.options=void 0!==e.options&&null!==e.options?W.fromPartial(e.options):void 0,t.playOrigin=void 0!==e.playOrigin&&null!==e.playOrigin?b.fromPartial(e.playOrigin):void 0,t}};function q(e){return null!=e}const X={encode:(e,t=i.Writer.create())=>(""!==e.sessionId&&t.uint32(10).string(e.sessionId),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sessionId:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sessionId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{sessionId:(t=e.sessionId,null!=t?String(e.sessionId):"")};var t},toJSON(e){const t={};return""!==e.sessionId&&(t.sessionId=e.sessionId),t},create:e=>X.fromPartial(e??{}),fromPartial(e){const t={sessionId:""};return t.sessionId=e.sessionId??"",t}};function $(){return{overrideRestrictions:!1,onlyForLocalDevice:!1,systemInitiated:!1,onlyForPlaybackId:new Uint8Array(0)}}const Z={encode:(e,t=i.Writer.create())=>(!0===e.overrideRestrictions&&t.uint32(8).bool(e.overrideRestrictions),!0===e.onlyForLocalDevice&&t.uint32(16).bool(e.onlyForLocalDevice),!0===e.systemInitiated&&t.uint32(24).bool(e.systemInitiated),0!==e.onlyForPlaybackId.length&&t.uint32(34).bytes(e.onlyForPlaybackId),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=$();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.overrideRestrictions=n.bool();continue;case 2:if(16!==e)break;r.onlyForLocalDevice=n.bool();continue;case 3:if(24!==e)break;r.systemInitiated=n.bool();continue;case 4:if(34!==e)break;r.onlyForPlaybackId=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({overrideRestrictions:!!te(e.overrideRestrictions)&&Boolean(e.overrideRestrictions),onlyForLocalDevice:!!te(e.onlyForLocalDevice)&&Boolean(e.onlyForLocalDevice),systemInitiated:!!te(e.systemInitiated)&&Boolean(e.systemInitiated),onlyForPlaybackId:te(e.onlyForPlaybackId)?ee(e.onlyForPlaybackId):new Uint8Array(0)}),toJSON(e){const t={};return!0===e.overrideRestrictions&&(t.overrideRestrictions=e.overrideRestrictions),!0===e.onlyForLocalDevice&&(t.onlyForLocalDevice=e.onlyForLocalDevice),!0===e.systemInitiated&&(t.systemInitiated=e.systemInitiated),0!==e.onlyForPlaybackId.length&&(t.onlyForPlaybackId=function(e){if(Q.Buffer)return Q.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),Q.btoa(t.join(""))}}(e.onlyForPlaybackId)),t},create:e=>Z.fromPartial(e??{}),fromPartial(e){const t=$();return t.overrideRestrictions=e.overrideRestrictions??!1,t.onlyForLocalDevice=e.onlyForLocalDevice??!1,t.systemInitiated=e.systemInitiated??!1,t.onlyForPlaybackId=e.onlyForPlaybackId??new Uint8Array(0),t}},Q=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function ee(e){if(Q.Buffer)return Uint8Array.from(Q.Buffer.from(e,"base64"));{const t=Q.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function te(e){return null!=e}const ne={encode(e,t=i.Writer.create()){void 0!==e.commandInitiatedTime&&I.encode(e.commandInitiatedTime,t.uint32(10).fork()).ldelim(),void 0!==e.commandReceivedTime&&I.encode(e.commandReceivedTime,t.uint32(18).fork()).ldelim();for(const n of e.pageInstanceIds)t.uint32(26).string(n);for(const n of e.interactionIds)t.uint32(34).string(n);return""!==e.deviceIdentifier&&t.uint32(42).string(e.deviceIdentifier),void 0!==e.commandId&&t.uint32(50).string(e.commandId),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.commandInitiatedTime=I.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.commandReceivedTime=I.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.pageInstanceIds.push(n.string());continue;case 4:if(34!==e)break;r.interactionIds.push(n.string());continue;case 5:if(42!==e)break;r.deviceIdentifier=n.string();continue;case 6:if(50!==e)break;r.commandId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({commandInitiatedTime:ie(e.commandInitiatedTime)?I.fromJSON(e.commandInitiatedTime):void 0,commandReceivedTime:ie(e.commandReceivedTime)?I.fromJSON(e.commandReceivedTime):void 0,pageInstanceIds:Array.isArray(e?.pageInstanceIds)?e.pageInstanceIds.map((e=>String(e))):[],interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[],deviceIdentifier:ie(e.deviceIdentifier)?String(e.deviceIdentifier):"",commandId:ie(e.commandId)?String(e.commandId):void 0}),toJSON(e){const t={};return void 0!==e.commandInitiatedTime&&(t.commandInitiatedTime=I.toJSON(e.commandInitiatedTime)),void 0!==e.commandReceivedTime&&(t.commandReceivedTime=I.toJSON(e.commandReceivedTime)),e.pageInstanceIds?.length&&(t.pageInstanceIds=e.pageInstanceIds),e.interactionIds?.length&&(t.interactionIds=e.interactionIds),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),void 0!==e.commandId&&(t.commandId=e.commandId),t},create:e=>ne.fromPartial(e??{}),fromPartial(e){const t={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};return t.commandInitiatedTime=void 0!==e.commandInitiatedTime&&null!==e.commandInitiatedTime?I.fromPartial(e.commandInitiatedTime):void 0,t.commandReceivedTime=void 0!==e.commandReceivedTime&&null!==e.commandReceivedTime?I.fromPartial(e.commandReceivedTime):void 0,t.pageInstanceIds=e.pageInstanceIds?.map((e=>e))||[],t.interactionIds=e.interactionIds?.map((e=>e))||[],t.deviceIdentifier=e.deviceIdentifier??"",t.commandId=e.commandId??void 0,t}};function ie(e){return null!=e}var oe,re,ae;function se(e){switch(e){case 0:case"INTERACTIVE":return oe.INTERACTIVE;case 1:case"REMOTE_TRANSFER":return oe.REMOTE_TRANSFER;case 2:case"LICENSE_CHANGE":return oe.LICENSE_CHANGE;default:return oe.UNRECOGNIZED}}function ce(e){switch(e){case 0:case"REPLACE":return re.REPLACE;case 1:case"ENQUEUE":return re.ENQUEUE;case 2:case"PUSH":return re.PUSH;default:return re.UNRECOGNIZED}}function le(e){switch(e){case 0:case"IMMEDIATELY":return ae.IMMEDIATELY;case 1:case"ADVANCED_PAST_TRACK":return ae.ADVANCED_PAST_TRACK;case 2:case"ADVANCED_PAST_CONTEXT":return ae.ADVANCED_PAST_CONTEXT;default:return ae.UNRECOGNIZED}}!function(e){e[e.INTERACTIVE=0]="INTERACTIVE",e[e.REMOTE_TRANSFER=1]="REMOTE_TRANSFER",e[e.LICENSE_CHANGE=2]="LICENSE_CHANGE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(oe||(oe={})),function(e){e[e.REPLACE=0]="REPLACE",e[e.ENQUEUE=1]="ENQUEUE",e[e.PUSH=2]="PUSH",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(re||(re={})),function(e){e[e.IMMEDIATELY=0]="IMMEDIATELY",e[e.ADVANCED_PAST_TRACK=1]="ADVANCED_PAST_TRACK",e[e.ADVANCED_PAST_CONTEXT=2]="ADVANCED_PAST_CONTEXT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ae||(ae={}));const ue={encode:(e,t=i.Writer.create())=>(0!==e.reason&&t.uint32(8).int32(e.reason),0!==e.operation&&t.uint32(16).int32(e.operation),0!==e.trigger&&t.uint32(24).int32(e.trigger),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={reason:0,operation:0,trigger:0,playbackSpeed:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.reason=n.int32();continue;case 2:if(16!==e)break;r.operation=n.int32();continue;case 3:if(24!==e)break;r.trigger=n.int32();continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reason:de(e.reason)?se(e.reason):0,operation:de(e.operation)?ce(e.operation):0,trigger:de(e.trigger)?le(e.trigger):0,playbackSpeed:de(e.playbackSpeed)?Number(e.playbackSpeed):void 0}),toJSON(e){const t={};return 0!==e.reason&&(t.reason=function(e){switch(e){case oe.INTERACTIVE:return"INTERACTIVE";case oe.REMOTE_TRANSFER:return"REMOTE_TRANSFER";case oe.LICENSE_CHANGE:return"LICENSE_CHANGE";case oe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.reason)),0!==e.operation&&(t.operation=function(e){switch(e){case re.REPLACE:return"REPLACE";case re.ENQUEUE:return"ENQUEUE";case re.PUSH:return"PUSH";case re.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.operation)),0!==e.trigger&&(t.trigger=function(e){switch(e){case ae.IMMEDIATELY:return"IMMEDIATELY";case ae.ADVANCED_PAST_TRACK:return"ADVANCED_PAST_TRACK";case ae.ADVANCED_PAST_CONTEXT:return"ADVANCED_PAST_CONTEXT";case ae.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.trigger)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),t},create:e=>ue.fromPartial(e??{}),fromPartial(e){const t={reason:0,operation:0,trigger:0,playbackSpeed:void 0};return t.reason=e.reason??0,t.operation=e.operation??0,t.trigger=e.trigger??0,t.playbackSpeed=e.playbackSpeed??void 0,t}};function de(e){return null!=e}const pe={encode:(e,t=i.Writer.create())=>(void 0!==e.preparePlayRequest&&J.encode(e.preparePlayRequest,t.uint32(10).fork()).ldelim(),void 0!==e.playOptions&&ue.encode(e.playOptions,t.uint32(18).fork()).ldelim(),void 0!==e.options&&Z.encode(e.options,t.uint32(26).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={preparePlayRequest:void 0,playOptions:void 0,options:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.preparePlayRequest=J.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.playOptions=ue.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.options=Z.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({preparePlayRequest:fe(e.preparePlayRequest)?J.fromJSON(e.preparePlayRequest):void 0,playOptions:fe(e.playOptions)?ue.fromJSON(e.playOptions):void 0,options:fe(e.options)?Z.fromJSON(e.options):void 0,loggingParams:fe(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return void 0!==e.preparePlayRequest&&(t.preparePlayRequest=J.toJSON(e.preparePlayRequest)),void 0!==e.playOptions&&(t.playOptions=ue.toJSON(e.playOptions)),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>pe.fromPartial(e??{}),fromPartial(e){const t={preparePlayRequest:void 0,playOptions:void 0,options:void 0,loggingParams:void 0};return t.preparePlayRequest=void 0!==e.preparePlayRequest&&null!==e.preparePlayRequest?J.fromPartial(e.preparePlayRequest):void 0,t.playOptions=void 0!==e.playOptions&&null!==e.playOptions?ue.fromPartial(e.playOptions):void 0,t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};const he={encode:(e,t=i.Writer.create())=>(""!==e.sessionId&&t.uint32(10).string(e.sessionId),void 0!==e.playOptions&&ue.encode(e.playOptions,t.uint32(18).fork()).ldelim(),void 0!==e.options&&Z.encode(e.options,t.uint32(26).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sessionId:"",playOptions:void 0,options:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sessionId=n.string();continue;case 2:if(18!==e)break;r.playOptions=ue.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.options=Z.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sessionId:fe(e.sessionId)?String(e.sessionId):"",playOptions:fe(e.playOptions)?ue.fromJSON(e.playOptions):void 0,options:fe(e.options)?Z.fromJSON(e.options):void 0,loggingParams:fe(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return""!==e.sessionId&&(t.sessionId=e.sessionId),void 0!==e.playOptions&&(t.playOptions=ue.toJSON(e.playOptions)),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>he.fromPartial(e??{}),fromPartial(e){const t={sessionId:"",playOptions:void 0,options:void 0,loggingParams:void 0};return t.sessionId=e.sessionId??"",t.playOptions=void 0!==e.playOptions&&null!==e.playOptions?ue.fromPartial(e.playOptions):void 0,t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function fe(e){return null!=e}var me;function _e(e){switch(e){case 0:case"OK":return me.OK;case 1:case"FORBIDDEN":return me.FORBIDDEN;case 2:case"NOT_FOUND":return me.NOT_FOUND;case 3:case"CONFLICT":return me.CONFLICT;default:return me.UNRECOGNIZED}}!function(e){e[e.OK=0]="OK",e[e.FORBIDDEN=1]="FORBIDDEN",e[e.NOT_FOUND=2]="NOT_FOUND",e[e.CONFLICT=3]="CONFLICT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(me||(me={}));const ge={encode:(e,t=i.Writer.create())=>(0!==e.error&&t.uint32(8).int32(e.error),""!==e.reasons&&t.uint32(18).string(e.reasons),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={error:0,reasons:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.error=n.int32();continue;case 2:if(18!==e)break;r.reasons=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({error:Ee(e.error)?_e(e.error):0,reasons:Ee(e.reasons)?String(e.reasons):""}),toJSON(e){const t={};return 0!==e.error&&(t.error=function(e){switch(e){case me.OK:return"OK";case me.FORBIDDEN:return"FORBIDDEN";case me.NOT_FOUND:return"NOT_FOUND";case me.CONFLICT:return"CONFLICT";case me.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.error)),""!==e.reasons&&(t.reasons=e.reasons),t},create:e=>ge.fromPartial(e??{}),fromPartial(e){const t={error:0,reasons:""};return t.error=e.error??0,t.reasons=e.reasons??"",t}};function Ee(e){return null!=e}const ve={encode:(e,t=i.Writer.create())=>(""!==e.sessionId&&t.uint32(10).string(e.sessionId),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sessionId:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sessionId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{sessionId:(t=e.sessionId,null!=t?String(e.sessionId):"")};var t},toJSON(e){const t={};return""!==e.sessionId&&(t.sessionId=e.sessionId),t},create:e=>ve.fromPartial(e??{}),fromPartial(e){const t={sessionId:""};return t.sessionId=e.sessionId??"",t}};const ye={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>ye.fromPartial(e??{}),fromPartial:e=>({})};const be={encode:(e,t=i.Writer.create())=>(""!==e.sessionId&&t.uint32(10).string(e.sessionId),void 0!==e.context&&E.encode(e.context,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sessionId:"",context:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sessionId=n.string();continue;case 2:if(18!==e)break;r.context=E.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sessionId:Ie(e.sessionId)?String(e.sessionId):"",context:Ie(e.context)?E.fromJSON(e.context):void 0,loggingParams:Ie(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return""!==e.sessionId&&(t.sessionId=e.sessionId),void 0!==e.context&&(t.context=E.toJSON(e.context)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>be.fromPartial(e??{}),fromPartial(e){const t={sessionId:"",context:void 0,loggingParams:void 0};return t.sessionId=e.sessionId??"",t.context=void 0!==e.context&&null!==e.context?E.fromPartial(e.context):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};const Se={encode:(e,t=i.Writer.create())=>(""!==e.sessionId&&t.uint32(10).string(e.sessionId),void 0!==e.contextPage&&s.encode(e.contextPage,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sessionId:"",contextPage:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sessionId=n.string();continue;case 2:if(18!==e)break;r.contextPage=s.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sessionId:Ie(e.sessionId)?String(e.sessionId):"",contextPage:Ie(e.contextPage)?s.fromJSON(e.contextPage):void 0,loggingParams:Ie(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return""!==e.sessionId&&(t.sessionId=e.sessionId),void 0!==e.contextPage&&(t.contextPage=s.toJSON(e.contextPage)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>Se.fromPartial(e??{}),fromPartial(e){const t={sessionId:"",contextPage:void 0,loggingParams:void 0};return t.sessionId=e.sessionId??"",t.contextPage=void 0!==e.contextPage&&null!==e.contextPage?s.fromPartial(e.contextPage):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};const Te={encode:(e,t=i.Writer.create())=>(""!==e.sessionId&&t.uint32(10).string(e.sessionId),void 0!==e.contextTrack&&o.encode(e.contextTrack,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={sessionId:"",contextTrack:void 0,loggingParams:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.sessionId=n.string();continue;case 2:if(18!==e)break;a.contextTrack=o.decode(n,n.uint32());continue;case 3:if(26!==e)break;a.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({sessionId:Ie(e.sessionId)?String(e.sessionId):"",contextTrack:Ie(e.contextTrack)?o.fromJSON(e.contextTrack):void 0,loggingParams:Ie(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return""!==e.sessionId&&(t.sessionId=e.sessionId),void 0!==e.contextTrack&&(t.contextTrack=o.toJSON(e.contextTrack)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>Te.fromPartial(e??{}),fromPartial(e){const t={sessionId:"",contextTrack:void 0,loggingParams:void 0};return t.sessionId=e.sessionId??"",t.contextTrack=void 0!==e.contextTrack&&null!==e.contextTrack?o.fromPartial(e.contextTrack):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};const Ae={encode:(e,t=i.Writer.create())=>(""!==e.sessionId&&t.uint32(10).string(e.sessionId),""!==e.viewUri&&t.uint32(18).string(e.viewUri),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={sessionId:"",viewUri:"",loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.sessionId=n.string();continue;case 2:if(18!==e)break;r.viewUri=n.string();continue;case 3:if(26!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({sessionId:Ie(e.sessionId)?String(e.sessionId):"",viewUri:Ie(e.viewUri)?String(e.viewUri):"",loggingParams:Ie(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return""!==e.sessionId&&(t.sessionId=e.sessionId),""!==e.viewUri&&(t.viewUri=e.viewUri),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>Ae.fromPartial(e??{}),fromPartial(e){const t={sessionId:"",viewUri:"",loggingParams:void 0};return t.sessionId=e.sessionId??"",t.viewUri=e.viewUri??"",t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function Ie(e){return null!=e}const Oe={encode:(e,t=i.Writer.create())=>(""!==e.featureIdentifier&&t.uint32(10).string(e.featureIdentifier),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={featureIdentifier:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.featureIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{featureIdentifier:(t=e.featureIdentifier,null!=t?String(e.featureIdentifier):"")};var t},toJSON(e){const t={};return""!==e.featureIdentifier&&(t.featureIdentifier=e.featureIdentifier),t},create:e=>Oe.fromPartial(e??{}),fromPartial(e){const t={featureIdentifier:""};return t.featureIdentifier=e.featureIdentifier??"",t}};const Ce={encode:(e,t=i.Writer.create())=>(void 0!==e.options&&Z.encode(e.options,t.uint32(10).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(18).fork()).ldelim(),void 0!==e.pauseOrigin&&Oe.encode(e.pauseOrigin,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={options:void 0,loggingParams:void 0,pauseOrigin:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.options=Z.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.pauseOrigin=Oe.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({options:Re(e.options)?Z.fromJSON(e.options):void 0,loggingParams:Re(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0,pauseOrigin:Re(e.pauseOrigin)?Oe.fromJSON(e.pauseOrigin):void 0}),toJSON(e){const t={};return void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),void 0!==e.pauseOrigin&&(t.pauseOrigin=Oe.toJSON(e.pauseOrigin)),t},create:e=>Ce.fromPartial(e??{}),fromPartial(e){const t={options:void 0,loggingParams:void 0,pauseOrigin:void 0};return t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t.pauseOrigin=void 0!==e.pauseOrigin&&null!==e.pauseOrigin?Oe.fromPartial(e.pauseOrigin):void 0,t}};function Re(e){return null!=e}const Ne={encode:(e,t=i.Writer.create())=>(void 0!==e.options&&Z.encode(e.options,t.uint32(10).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(18).fork()).ldelim(),void 0!==e.resumeOrigin&&Oe.encode(e.resumeOrigin,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={options:void 0,loggingParams:void 0,resumeOrigin:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.options=Z.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.resumeOrigin=Oe.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({options:Pe(e.options)?Z.fromJSON(e.options):void 0,loggingParams:Pe(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0,resumeOrigin:Pe(e.resumeOrigin)?Oe.fromJSON(e.resumeOrigin):void 0}),toJSON(e){const t={};return void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),void 0!==e.resumeOrigin&&(t.resumeOrigin=Oe.toJSON(e.resumeOrigin)),t},create:e=>Ne.fromPartial(e??{}),fromPartial(e){const t={options:void 0,loggingParams:void 0,resumeOrigin:void 0};return t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t.resumeOrigin=void 0!==e.resumeOrigin&&null!==e.resumeOrigin?Oe.fromPartial(e.resumeOrigin):void 0,t}};function Pe(e){return null!=e}const Le={encode:(e,t=i.Writer.create())=>(void 0!==e.options&&Z.encode(e.options,t.uint32(10).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(18).fork()).ldelim(),void 0!==e.track&&o.encode(e.track,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={options:void 0,loggingParams:void 0,track:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.options=Z.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.loggingParams=ne.decode(n,n.uint32());continue;case 3:if(26!==e)break;a.track=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({options:ke(e.options)?Z.fromJSON(e.options):void 0,loggingParams:ke(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0,track:ke(e.track)?o.fromJSON(e.track):void 0}),toJSON(e){const t={};return void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),void 0!==e.track&&(t.track=o.toJSON(e.track)),t},create:e=>Le.fromPartial(e??{}),fromPartial(e){const t={options:void 0,loggingParams:void 0,track:void 0};return t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t.track=void 0!==e.track&&null!==e.track?o.fromPartial(e.track):void 0,t}};function ke(e){return null!=e}const we={encode:(e,t=i.Writer.create())=>(void 0!==e.options&&Z.encode(e.options,t.uint32(10).fork()).ldelim(),!0===e.allowSeeking&&t.uint32(16).bool(e.allowSeeking),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),void 0!==e.track&&o.encode(e.track,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={options:void 0,allowSeeking:!1,loggingParams:void 0,track:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.options=Z.decode(n,n.uint32());continue;case 2:if(16!==e)break;a.allowSeeking=n.bool();continue;case 3:if(26!==e)break;a.loggingParams=ne.decode(n,n.uint32());continue;case 4:if(34!==e)break;a.track=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({options:De(e.options)?Z.fromJSON(e.options):void 0,allowSeeking:!!De(e.allowSeeking)&&Boolean(e.allowSeeking),loggingParams:De(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0,track:De(e.track)?o.fromJSON(e.track):void 0}),toJSON(e){const t={};return void 0!==e.options&&(t.options=Z.toJSON(e.options)),!0===e.allowSeeking&&(t.allowSeeking=e.allowSeeking),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),void 0!==e.track&&(t.track=o.toJSON(e.track)),t},create:e=>we.fromPartial(e??{}),fromPartial(e){const t={options:void 0,allowSeeking:!1,loggingParams:void 0,track:void 0};return t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.allowSeeking=e.allowSeeking??!1,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t.track=void 0!==e.track&&null!==e.track?o.fromPartial(e.track):void 0,t}};function De(e){return null!=e}var Me;function xe(e){switch(e){case 0:case"BEGINNING":return Me.BEGINNING;case 1:case"END":return Me.END;case 2:case"CURRENT":return Me.CURRENT;default:return Me.UNRECOGNIZED}}function Ue(){return{options:void 0,loggingParams:void 0,position:BigInt("0"),relative:0}}!function(e){e[e.BEGINNING=0]="BEGINNING",e[e.END=1]="END",e[e.CURRENT=2]="CURRENT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Me||(Me={}));const Ve={encode:(e,t=i.Writer.create())=>(void 0!==e.options&&Z.encode(e.options,t.uint32(10).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(18).fork()).ldelim(),e.position!==BigInt("0")&&t.uint32(24).int64(e.position.toString()),0!==e.relative&&t.uint32(32).int32(e.relative),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Ue();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.options=Z.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue;case 3:if(24!==e)break;r.position=(a=n.int64(),BigInt(a.toString()));continue;case 4:if(32!==e)break;r.relative=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({options:Fe(e.options)?Z.fromJSON(e.options):void 0,loggingParams:Fe(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0,position:Fe(e.position)?BigInt(e.position):BigInt("0"),relative:Fe(e.relative)?xe(e.relative):0}),toJSON(e){const t={};return void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),e.position!==BigInt("0")&&(t.position=e.position.toString()),0!==e.relative&&(t.relative=function(e){switch(e){case Me.BEGINNING:return"BEGINNING";case Me.END:return"END";case Me.CURRENT:return"CURRENT";case Me.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.relative)),t},create:e=>Ve.fromPartial(e??{}),fromPartial(e){const t=Ue();return t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t.position=e.position??BigInt("0"),t.relative=e.relative??0,t}};function Fe(e){return null!=e}var Be;function He(e){switch(e){case 0:case"INTERACTIVE":return Be.INTERACTIVE;case 1:case"REMOTE_TRANSFER":return Be.REMOTE_TRANSFER;case 2:case"SHUTDOWN":return Be.SHUTDOWN;default:return Be.UNRECOGNIZED}}i.util.Long!==T&&(i.util.Long=T,i.configure()),function(e){e[e.INTERACTIVE=0]="INTERACTIVE",e[e.REMOTE_TRANSFER=1]="REMOTE_TRANSFER",e[e.SHUTDOWN=2]="SHUTDOWN",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Be||(Be={}));const Ge={encode:(e,t=i.Writer.create())=>(void 0!==e.options&&Z.encode(e.options,t.uint32(10).fork()).ldelim(),0!==e.reason&&t.uint32(16).int32(e.reason),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={options:void 0,reason:0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.options=Z.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.reason=n.int32();continue;case 3:if(26!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({options:We(e.options)?Z.fromJSON(e.options):void 0,reason:We(e.reason)?He(e.reason):0,loggingParams:We(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return void 0!==e.options&&(t.options=Z.toJSON(e.options)),0!==e.reason&&(t.reason=function(e){switch(e){case Be.INTERACTIVE:return"INTERACTIVE";case Be.REMOTE_TRANSFER:return"REMOTE_TRANSFER";case Be.SHUTDOWN:return"SHUTDOWN";case Be.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.reason)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>Ge.fromPartial(e??{}),fromPartial(e){const t={options:void 0,reason:0,loggingParams:void 0};return t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.reason=e.reason??0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function We(e){return null!=e}const je={encode:(e,t=i.Writer.create())=>(void 0!==e.repeatingTrack&&C.encode(e.repeatingTrack,t.uint32(10).fork()).ldelim(),void 0!==e.repeatingContext&&C.encode(e.repeatingContext,t.uint32(18).fork()).ldelim(),void 0!==e.shufflingContext&&C.encode(e.shufflingContext,t.uint32(26).fork()).ldelim(),void 0!==e.options&&Z.encode(e.options,t.uint32(34).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(42).fork()).ldelim(),void 0!==e.playbackSpeed&&t.uint32(53).float(e.playbackSpeed),Object.entries(e.modes).forEach((([e,n])=>{Ye.encode({key:e,value:n},t.uint32(58).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={repeatingTrack:void 0,repeatingContext:void 0,shufflingContext:void 0,options:void 0,loggingParams:void 0,playbackSpeed:void 0,modes:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.repeatingTrack=C.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.repeatingContext=C.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.shufflingContext=C.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.options=Z.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue;case 6:if(53!==e)break;r.playbackSpeed=n.float();continue;case 7:if(58!==e)break;const t=Ye.decode(n,n.uint32());void 0!==t.value&&(r.modes[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{repeatingTrack:ze(e.repeatingTrack)?C.fromJSON(e.repeatingTrack):void 0,repeatingContext:ze(e.repeatingContext)?C.fromJSON(e.repeatingContext):void 0,shufflingContext:ze(e.shufflingContext)?C.fromJSON(e.shufflingContext):void 0,options:ze(e.options)?Z.fromJSON(e.options):void 0,loggingParams:ze(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0,playbackSpeed:ze(e.playbackSpeed)?Number(e.playbackSpeed):void 0,modes:(t=e.modes,"object"==typeof t&&null!==t?Object.entries(e.modes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(void 0!==e.repeatingTrack&&(t.repeatingTrack=C.toJSON(e.repeatingTrack)),void 0!==e.repeatingContext&&(t.repeatingContext=C.toJSON(e.repeatingContext)),void 0!==e.shufflingContext&&(t.shufflingContext=C.toJSON(e.shufflingContext)),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),e.modes){const n=Object.entries(e.modes);n.length>0&&(t.modes={},n.forEach((([e,n])=>{t.modes[e]=n})))}return t},create:e=>je.fromPartial(e??{}),fromPartial(e){const t={repeatingTrack:void 0,repeatingContext:void 0,shufflingContext:void 0,options:void 0,loggingParams:void 0,playbackSpeed:void 0,modes:{}};return t.repeatingTrack=void 0!==e.repeatingTrack&&null!==e.repeatingTrack?C.fromPartial(e.repeatingTrack):void 0,t.repeatingContext=void 0!==e.repeatingContext&&null!==e.repeatingContext?C.fromPartial(e.repeatingContext):void 0,t.shufflingContext=void 0!==e.shufflingContext&&null!==e.shufflingContext?C.fromPartial(e.shufflingContext):void 0,t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t.playbackSpeed=e.playbackSpeed??void 0,t.modes=Object.entries(e.modes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const Ye={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ze(e.key)?String(e.key):"",value:ze(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Ye.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function ze(e){return null!=e}const Ke={encode:(e,t=i.Writer.create())=>(!0===e.repeatingContext&&t.uint32(8).bool(e.repeatingContext),void 0!==e.options&&Z.encode(e.options,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={repeatingContext:!1,options:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.repeatingContext=n.bool();continue;case 2:if(18!==e)break;r.options=Z.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({repeatingContext:!!Je(e.repeatingContext)&&Boolean(e.repeatingContext),options:Je(e.options)?Z.fromJSON(e.options):void 0,loggingParams:Je(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return!0===e.repeatingContext&&(t.repeatingContext=e.repeatingContext),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>Ke.fromPartial(e??{}),fromPartial(e){const t={repeatingContext:!1,options:void 0,loggingParams:void 0};return t.repeatingContext=e.repeatingContext??!1,t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function Je(e){return null!=e}const qe={encode:(e,t=i.Writer.create())=>(!0===e.repeatingTrack&&t.uint32(8).bool(e.repeatingTrack),void 0!==e.options&&Z.encode(e.options,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={repeatingTrack:!1,options:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.repeatingTrack=n.bool();continue;case 2:if(18!==e)break;r.options=Z.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({repeatingTrack:!!Xe(e.repeatingTrack)&&Boolean(e.repeatingTrack),options:Xe(e.options)?Z.fromJSON(e.options):void 0,loggingParams:Xe(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return!0===e.repeatingTrack&&(t.repeatingTrack=e.repeatingTrack),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>qe.fromPartial(e??{}),fromPartial(e){const t={repeatingTrack:!1,options:void 0,loggingParams:void 0};return t.repeatingTrack=e.repeatingTrack??!1,t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function Xe(e){return null!=e}const $e={encode:(e,t=i.Writer.create())=>(!0===e.shufflingContext&&t.uint32(8).bool(e.shufflingContext),void 0!==e.options&&Z.encode(e.options,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={shufflingContext:!1,options:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.shufflingContext=n.bool();continue;case 2:if(18!==e)break;r.options=Z.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shufflingContext:!!Ze(e.shufflingContext)&&Boolean(e.shufflingContext),options:Ze(e.options)?Z.fromJSON(e.options):void 0,loggingParams:Ze(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return!0===e.shufflingContext&&(t.shufflingContext=e.shufflingContext),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>$e.fromPartial(e??{}),fromPartial(e){const t={shufflingContext:!1,options:void 0,loggingParams:void 0};return t.shufflingContext=e.shufflingContext??!1,t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function Ze(e){return null!=e}const Qe={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Qe.fromPartial(e??{}),fromPartial:e=>({})};const et={encode(e,t=i.Writer.create()){void 0!==e.contextTrack&&o.encode(e.contextTrack,t.uint32(10).fork()).ldelim();for(const n of e.removed)t.uint32(18).string(n);for(const n of e.blocked)t.uint32(26).string(n);return""!==e.provider&&t.uint32(34).string(e.provider),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={contextTrack:void 0,removed:[],blocked:[],provider:""};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.contextTrack=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.removed.push(n.string());continue;case 3:if(26!==e)break;a.blocked.push(n.string());continue;case 4:if(34!==e)break;a.provider=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({contextTrack:tt(e.contextTrack)?o.fromJSON(e.contextTrack):void 0,removed:Array.isArray(e?.removed)?e.removed.map((e=>String(e))):[],blocked:Array.isArray(e?.blocked)?e.blocked.map((e=>String(e))):[],provider:tt(e.provider)?String(e.provider):""}),toJSON(e){const t={};return void 0!==e.contextTrack&&(t.contextTrack=o.toJSON(e.contextTrack)),e.removed?.length&&(t.removed=e.removed),e.blocked?.length&&(t.blocked=e.blocked),""!==e.provider&&(t.provider=e.provider),t},create:e=>et.fromPartial(e??{}),fromPartial(e){const t={contextTrack:void 0,removed:[],blocked:[],provider:""};return t.contextTrack=void 0!==e.contextTrack&&null!==e.contextTrack?o.fromPartial(e.contextTrack):void 0,t.removed=e.removed?.map((e=>e))||[],t.blocked=e.blocked?.map((e=>e))||[],t.provider=e.provider??"",t}};function tt(e){return null!=e}function nt(){return{queueRevision:BigInt("0"),track:void 0,nextTracks:[],prevTracks:[]}}const it={encode(e,t=i.Writer.create()){e.queueRevision!==BigInt("0")&&t.uint32(8).uint64(e.queueRevision.toString()),void 0!==e.track&&et.encode(e.track,t.uint32(18).fork()).ldelim();for(const n of e.nextTracks)et.encode(n,t.uint32(26).fork()).ldelim();for(const n of e.prevTracks)et.encode(n,t.uint32(34).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=nt();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.queueRevision=(a=n.uint64(),BigInt(a.toString()));continue;case 2:if(18!==e)break;r.track=et.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.nextTracks.push(et.decode(n,n.uint32()));continue;case 4:if(34!==e)break;r.prevTracks.push(et.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({queueRevision:ot(e.queueRevision)?BigInt(e.queueRevision):BigInt("0"),track:ot(e.track)?et.fromJSON(e.track):void 0,nextTracks:Array.isArray(e?.nextTracks)?e.nextTracks.map((e=>et.fromJSON(e))):[],prevTracks:Array.isArray(e?.prevTracks)?e.prevTracks.map((e=>et.fromJSON(e))):[]}),toJSON(e){const t={};return e.queueRevision!==BigInt("0")&&(t.queueRevision=e.queueRevision.toString()),void 0!==e.track&&(t.track=et.toJSON(e.track)),e.nextTracks?.length&&(t.nextTracks=e.nextTracks.map((e=>et.toJSON(e)))),e.prevTracks?.length&&(t.prevTracks=e.prevTracks.map((e=>et.toJSON(e)))),t},create:e=>it.fromPartial(e??{}),fromPartial(e){const t=nt();return t.queueRevision=e.queueRevision??BigInt("0"),t.track=void 0!==e.track&&null!==e.track?et.fromPartial(e.track):void 0,t.nextTracks=e.nextTracks?.map((e=>et.fromPartial(e)))||[],t.prevTracks=e.prevTracks?.map((e=>et.fromPartial(e)))||[],t}};function ot(e){return null!=e}function rt(){return{nextTracks:[],prevTracks:[],queueRevision:BigInt("0"),options:void 0,loggingParams:void 0}}i.util.Long!==T&&(i.util.Long=T,i.configure());const at={encode(e,t=i.Writer.create()){for(const n of e.nextTracks)et.encode(n,t.uint32(10).fork()).ldelim();for(const n of e.prevTracks)et.encode(n,t.uint32(18).fork()).ldelim();return e.queueRevision!==BigInt("0")&&t.uint32(24).uint64(e.queueRevision.toString()),void 0!==e.options&&Z.encode(e.options,t.uint32(34).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(42).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=rt();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.nextTracks.push(et.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.prevTracks.push(et.decode(n,n.uint32()));continue;case 3:if(24!==e)break;r.queueRevision=(a=n.uint64(),BigInt(a.toString()));continue;case 4:if(34!==e)break;r.options=Z.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({nextTracks:Array.isArray(e?.nextTracks)?e.nextTracks.map((e=>et.fromJSON(e))):[],prevTracks:Array.isArray(e?.prevTracks)?e.prevTracks.map((e=>et.fromJSON(e))):[],queueRevision:st(e.queueRevision)?BigInt(e.queueRevision):BigInt("0"),options:st(e.options)?Z.fromJSON(e.options):void 0,loggingParams:st(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return e.nextTracks?.length&&(t.nextTracks=e.nextTracks.map((e=>et.toJSON(e)))),e.prevTracks?.length&&(t.prevTracks=e.prevTracks.map((e=>et.toJSON(e)))),e.queueRevision!==BigInt("0")&&(t.queueRevision=e.queueRevision.toString()),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>at.fromPartial(e??{}),fromPartial(e){const t=rt();return t.nextTracks=e.nextTracks?.map((e=>et.fromPartial(e)))||[],t.prevTracks=e.prevTracks?.map((e=>et.fromPartial(e)))||[],t.queueRevision=e.queueRevision??BigInt("0"),t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function st(e){return null!=e}i.util.Long!==T&&(i.util.Long=T,i.configure());const ct={encode:(e,t=i.Writer.create())=>(void 0!==e.track&&o.encode(e.track,t.uint32(10).fork()).ldelim(),void 0!==e.options&&Z.encode(e.options,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={track:void 0,options:void 0,loggingParams:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.track=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.options=Z.decode(n,n.uint32());continue;case 3:if(26!==e)break;a.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({track:lt(e.track)?o.fromJSON(e.track):void 0,options:lt(e.options)?Z.fromJSON(e.options):void 0,loggingParams:lt(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return void 0!==e.track&&(t.track=o.toJSON(e.track)),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>ct.fromPartial(e??{}),fromPartial(e){const t={track:void 0,options:void 0,loggingParams:void 0};return t.track=void 0!==e.track&&null!==e.track?o.fromPartial(e.track):void 0,t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function lt(e){return null!=e}const ut={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>ut.fromPartial(e??{}),fromPartial:e=>({})};var dt;function pt(e){switch(e){case 0:case"SUCCESS":return dt.SUCCESS;case 1:case"PLAYBACK_STUCK":return dt.PLAYBACK_STUCK;case 2:case"PLAYBACK_ERROR":return dt.PLAYBACK_ERROR;case 3:case"LICENSE_CHANGE":return dt.LICENSE_CHANGE;case 4:case"PLAY_RESTRICTED":return dt.PLAY_RESTRICTED;case 5:case"STOP_RESTRICTED":return dt.STOP_RESTRICTED;case 6:case"UPDATE_RESTRICTED":return dt.UPDATE_RESTRICTED;case 7:case"PAUSE_RESTRICTED":return dt.PAUSE_RESTRICTED;case 8:case"RESUME_RESTRICTED":return dt.RESUME_RESTRICTED;case 9:case"SKIP_TO_PREV_RESTRICTED":return dt.SKIP_TO_PREV_RESTRICTED;case 10:case"SKIP_TO_NEXT_RESTRICTED":return dt.SKIP_TO_NEXT_RESTRICTED;case 11:case"SKIP_TO_NON_EXISTENT_TRACK":return dt.SKIP_TO_NON_EXISTENT_TRACK;case 12:case"SEEK_TO_RESTRICTED":return dt.SEEK_TO_RESTRICTED;case 13:case"TOGGLE_REPEAT_CONTEXT_RESTRICTED":return dt.TOGGLE_REPEAT_CONTEXT_RESTRICTED;case 14:case"TOGGLE_REPEAT_TRACK_RESTRICTED":return dt.TOGGLE_REPEAT_TRACK_RESTRICTED;case 15:case"SET_OPTIONS_RESTRICTED":return dt.SET_OPTIONS_RESTRICTED;case 16:case"TOGGLE_SHUFFLE_RESTRICTED":return dt.TOGGLE_SHUFFLE_RESTRICTED;case 17:case"SET_QUEUE_RESTRICTED":return dt.SET_QUEUE_RESTRICTED;case 18:case"INTERRUPT_PLAYBACK_RESTRICTED":return dt.INTERRUPT_PLAYBACK_RESTRICTED;case 19:case"ONE_TRACK_UNPLAYABLE":return dt.ONE_TRACK_UNPLAYABLE;case 20:case"ONE_TRACK_UNPLAYABLE_AUTO_STOPPED":return dt.ONE_TRACK_UNPLAYABLE_AUTO_STOPPED;case 21:case"ALL_TRACKS_UNPLAYABLE_AUTO_STOPPED":return dt.ALL_TRACKS_UNPLAYABLE_AUTO_STOPPED;case 22:case"SKIP_TO_NON_EXISTENT_TRACK_AUTO_STOPPED":return dt.SKIP_TO_NON_EXISTENT_TRACK_AUTO_STOPPED;case 23:case"QUEUE_REVISION_MISMATCH":return dt.QUEUE_REVISION_MISMATCH;case 24:case"VIDEO_PLAYBACK_ERROR":return dt.VIDEO_PLAYBACK_ERROR;case 25:case"VIDEO_GEOGRAPHICALLY_RESTRICTED":return dt.VIDEO_GEOGRAPHICALLY_RESTRICTED;case 26:case"VIDEO_UNSUPPORTED_PLATFORM_VERSION":return dt.VIDEO_UNSUPPORTED_PLATFORM_VERSION;case 27:case"VIDEO_UNSUPPORTED_CLIENT_VERSION":return dt.VIDEO_UNSUPPORTED_CLIENT_VERSION;case 28:case"VIDEO_UNSUPPORTED_KEY_SYSTEM":return dt.VIDEO_UNSUPPORTED_KEY_SYSTEM;case 29:case"VIDEO_MANIFEST_DELETED":return dt.VIDEO_MANIFEST_DELETED;case 30:case"VIDEO_COUNTRY_RESTRICTED":return dt.VIDEO_COUNTRY_RESTRICTED;case 31:case"VIDEO_UNAVAILABLE":return dt.VIDEO_UNAVAILABLE;case 32:case"VIDEO_CATALOGUE_RESTRICTED":return dt.VIDEO_CATALOGUE_RESTRICTED;case 33:case"INVALID":return dt.INVALID;case 34:case"TIMEOUT":return dt.TIMEOUT;case 35:case"PLAYBACK_REPORTING_ERROR":return dt.PLAYBACK_REPORTING_ERROR;case 36:case"UNKNOWN":return dt.UNKNOWN;case 37:case"ADD_TO_QUEUE_RESTRICTED":return dt.ADD_TO_QUEUE_RESTRICTED;case 38:case"PICK_AND_SHUFFLE_CAPPED":return dt.PICK_AND_SHUFFLE_CAPPED;case 39:case"PICK_AND_SHUFFLE_CONNECT_RESTRICTED":return dt.PICK_AND_SHUFFLE_CONNECT_RESTRICTED;case 40:case"CONTEXT_LOADING_FAILED":return dt.CONTEXT_LOADING_FAILED;case 41:case"AUDIOBOOK_NOT_PLAYABLE":return dt.AUDIOBOOK_NOT_PLAYABLE;case 42:case"SIGNAL_NOT_AVAILABLE":return dt.SIGNAL_NOT_AVAILABLE;default:return dt.UNRECOGNIZED}}!function(e){e[e.SUCCESS=0]="SUCCESS",e[e.PLAYBACK_STUCK=1]="PLAYBACK_STUCK",e[e.PLAYBACK_ERROR=2]="PLAYBACK_ERROR",e[e.LICENSE_CHANGE=3]="LICENSE_CHANGE",e[e.PLAY_RESTRICTED=4]="PLAY_RESTRICTED",e[e.STOP_RESTRICTED=5]="STOP_RESTRICTED",e[e.UPDATE_RESTRICTED=6]="UPDATE_RESTRICTED",e[e.PAUSE_RESTRICTED=7]="PAUSE_RESTRICTED",e[e.RESUME_RESTRICTED=8]="RESUME_RESTRICTED",e[e.SKIP_TO_PREV_RESTRICTED=9]="SKIP_TO_PREV_RESTRICTED",e[e.SKIP_TO_NEXT_RESTRICTED=10]="SKIP_TO_NEXT_RESTRICTED",e[e.SKIP_TO_NON_EXISTENT_TRACK=11]="SKIP_TO_NON_EXISTENT_TRACK",e[e.SEEK_TO_RESTRICTED=12]="SEEK_TO_RESTRICTED",e[e.TOGGLE_REPEAT_CONTEXT_RESTRICTED=13]="TOGGLE_REPEAT_CONTEXT_RESTRICTED",e[e.TOGGLE_REPEAT_TRACK_RESTRICTED=14]="TOGGLE_REPEAT_TRACK_RESTRICTED",e[e.SET_OPTIONS_RESTRICTED=15]="SET_OPTIONS_RESTRICTED",e[e.TOGGLE_SHUFFLE_RESTRICTED=16]="TOGGLE_SHUFFLE_RESTRICTED",e[e.SET_QUEUE_RESTRICTED=17]="SET_QUEUE_RESTRICTED",e[e.INTERRUPT_PLAYBACK_RESTRICTED=18]="INTERRUPT_PLAYBACK_RESTRICTED",e[e.ONE_TRACK_UNPLAYABLE=19]="ONE_TRACK_UNPLAYABLE",e[e.ONE_TRACK_UNPLAYABLE_AUTO_STOPPED=20]="ONE_TRACK_UNPLAYABLE_AUTO_STOPPED",e[e.ALL_TRACKS_UNPLAYABLE_AUTO_STOPPED=21]="ALL_TRACKS_UNPLAYABLE_AUTO_STOPPED",e[e.SKIP_TO_NON_EXISTENT_TRACK_AUTO_STOPPED=22]="SKIP_TO_NON_EXISTENT_TRACK_AUTO_STOPPED",e[e.QUEUE_REVISION_MISMATCH=23]="QUEUE_REVISION_MISMATCH",e[e.VIDEO_PLAYBACK_ERROR=24]="VIDEO_PLAYBACK_ERROR",e[e.VIDEO_GEOGRAPHICALLY_RESTRICTED=25]="VIDEO_GEOGRAPHICALLY_RESTRICTED",e[e.VIDEO_UNSUPPORTED_PLATFORM_VERSION=26]="VIDEO_UNSUPPORTED_PLATFORM_VERSION",e[e.VIDEO_UNSUPPORTED_CLIENT_VERSION=27]="VIDEO_UNSUPPORTED_CLIENT_VERSION",e[e.VIDEO_UNSUPPORTED_KEY_SYSTEM=28]="VIDEO_UNSUPPORTED_KEY_SYSTEM",e[e.VIDEO_MANIFEST_DELETED=29]="VIDEO_MANIFEST_DELETED",e[e.VIDEO_COUNTRY_RESTRICTED=30]="VIDEO_COUNTRY_RESTRICTED",e[e.VIDEO_UNAVAILABLE=31]="VIDEO_UNAVAILABLE",e[e.VIDEO_CATALOGUE_RESTRICTED=32]="VIDEO_CATALOGUE_RESTRICTED",e[e.INVALID=33]="INVALID",e[e.TIMEOUT=34]="TIMEOUT",e[e.PLAYBACK_REPORTING_ERROR=35]="PLAYBACK_REPORTING_ERROR",e[e.UNKNOWN=36]="UNKNOWN",e[e.ADD_TO_QUEUE_RESTRICTED=37]="ADD_TO_QUEUE_RESTRICTED",e[e.PICK_AND_SHUFFLE_CAPPED=38]="PICK_AND_SHUFFLE_CAPPED",e[e.PICK_AND_SHUFFLE_CONNECT_RESTRICTED=39]="PICK_AND_SHUFFLE_CONNECT_RESTRICTED",e[e.CONTEXT_LOADING_FAILED=40]="CONTEXT_LOADING_FAILED",e[e.AUDIOBOOK_NOT_PLAYABLE=41]="AUDIOBOOK_NOT_PLAYABLE",e[e.SIGNAL_NOT_AVAILABLE=42]="SIGNAL_NOT_AVAILABLE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(dt||(dt={}));const ht={encode:(e,t=i.Writer.create())=>(0!==e.code&&t.uint32(8).int32(e.code),""!==e.message&&t.uint32(18).string(e.message),Object.entries(e.data).forEach((([e,n])=>{ft.encode({key:e,value:n},t.uint32(26).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={code:0,message:"",data:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.code=n.int32();continue;case 2:if(18!==e)break;r.message=n.string();continue;case 3:if(26!==e)break;const t=ft.decode(n,n.uint32());void 0!==t.value&&(r.data[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{code:mt(e.code)?pt(e.code):0,message:mt(e.message)?String(e.message):"",data:(t=e.data,"object"==typeof t&&null!==t?Object.entries(e.data).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(0!==e.code&&(t.code=function(e){switch(e){case dt.SUCCESS:return"SUCCESS";case dt.PLAYBACK_STUCK:return"PLAYBACK_STUCK";case dt.PLAYBACK_ERROR:return"PLAYBACK_ERROR";case dt.LICENSE_CHANGE:return"LICENSE_CHANGE";case dt.PLAY_RESTRICTED:return"PLAY_RESTRICTED";case dt.STOP_RESTRICTED:return"STOP_RESTRICTED";case dt.UPDATE_RESTRICTED:return"UPDATE_RESTRICTED";case dt.PAUSE_RESTRICTED:return"PAUSE_RESTRICTED";case dt.RESUME_RESTRICTED:return"RESUME_RESTRICTED";case dt.SKIP_TO_PREV_RESTRICTED:return"SKIP_TO_PREV_RESTRICTED";case dt.SKIP_TO_NEXT_RESTRICTED:return"SKIP_TO_NEXT_RESTRICTED";case dt.SKIP_TO_NON_EXISTENT_TRACK:return"SKIP_TO_NON_EXISTENT_TRACK";case dt.SEEK_TO_RESTRICTED:return"SEEK_TO_RESTRICTED";case dt.TOGGLE_REPEAT_CONTEXT_RESTRICTED:return"TOGGLE_REPEAT_CONTEXT_RESTRICTED";case dt.TOGGLE_REPEAT_TRACK_RESTRICTED:return"TOGGLE_REPEAT_TRACK_RESTRICTED";case dt.SET_OPTIONS_RESTRICTED:return"SET_OPTIONS_RESTRICTED";case dt.TOGGLE_SHUFFLE_RESTRICTED:return"TOGGLE_SHUFFLE_RESTRICTED";case dt.SET_QUEUE_RESTRICTED:return"SET_QUEUE_RESTRICTED";case dt.INTERRUPT_PLAYBACK_RESTRICTED:return"INTERRUPT_PLAYBACK_RESTRICTED";case dt.ONE_TRACK_UNPLAYABLE:return"ONE_TRACK_UNPLAYABLE";case dt.ONE_TRACK_UNPLAYABLE_AUTO_STOPPED:return"ONE_TRACK_UNPLAYABLE_AUTO_STOPPED";case dt.ALL_TRACKS_UNPLAYABLE_AUTO_STOPPED:return"ALL_TRACKS_UNPLAYABLE_AUTO_STOPPED";case dt.SKIP_TO_NON_EXISTENT_TRACK_AUTO_STOPPED:return"SKIP_TO_NON_EXISTENT_TRACK_AUTO_STOPPED";case dt.QUEUE_REVISION_MISMATCH:return"QUEUE_REVISION_MISMATCH";case dt.VIDEO_PLAYBACK_ERROR:return"VIDEO_PLAYBACK_ERROR";case dt.VIDEO_GEOGRAPHICALLY_RESTRICTED:return"VIDEO_GEOGRAPHICALLY_RESTRICTED";case dt.VIDEO_UNSUPPORTED_PLATFORM_VERSION:return"VIDEO_UNSUPPORTED_PLATFORM_VERSION";case dt.VIDEO_UNSUPPORTED_CLIENT_VERSION:return"VIDEO_UNSUPPORTED_CLIENT_VERSION";case dt.VIDEO_UNSUPPORTED_KEY_SYSTEM:return"VIDEO_UNSUPPORTED_KEY_SYSTEM";case dt.VIDEO_MANIFEST_DELETED:return"VIDEO_MANIFEST_DELETED";case dt.VIDEO_COUNTRY_RESTRICTED:return"VIDEO_COUNTRY_RESTRICTED";case dt.VIDEO_UNAVAILABLE:return"VIDEO_UNAVAILABLE";case dt.VIDEO_CATALOGUE_RESTRICTED:return"VIDEO_CATALOGUE_RESTRICTED";case dt.INVALID:return"INVALID";case dt.TIMEOUT:return"TIMEOUT";case dt.PLAYBACK_REPORTING_ERROR:return"PLAYBACK_REPORTING_ERROR";case dt.UNKNOWN:return"UNKNOWN";case dt.ADD_TO_QUEUE_RESTRICTED:return"ADD_TO_QUEUE_RESTRICTED";case dt.PICK_AND_SHUFFLE_CAPPED:return"PICK_AND_SHUFFLE_CAPPED";case dt.PICK_AND_SHUFFLE_CONNECT_RESTRICTED:return"PICK_AND_SHUFFLE_CONNECT_RESTRICTED";case dt.CONTEXT_LOADING_FAILED:return"CONTEXT_LOADING_FAILED";case dt.AUDIOBOOK_NOT_PLAYABLE:return"AUDIOBOOK_NOT_PLAYABLE";case dt.SIGNAL_NOT_AVAILABLE:return"SIGNAL_NOT_AVAILABLE";case dt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.code)),""!==e.message&&(t.message=e.message),e.data){const n=Object.entries(e.data);n.length>0&&(t.data={},n.forEach((([e,n])=>{t.data[e]=n})))}return t},create:e=>ht.fromPartial(e??{}),fromPartial(e){const t={code:0,message:"",data:{}};return t.code=e.code??0,t.message=e.message??"",t.data=Object.entries(e.data??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const ft={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:mt(e.key)?String(e.key):"",value:mt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>ft.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function mt(e){return null!=e}const _t={encode:(e,t=i.Writer.create())=>(void 0!==e.prevTracksCap&&I.encode(e.prevTracksCap,t.uint32(10).fork()).ldelim(),void 0!==e.nextTracksCap&&I.encode(e.nextTracksCap,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={prevTracksCap:void 0,nextTracksCap:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.prevTracksCap=I.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.nextTracksCap=I.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({prevTracksCap:gt(e.prevTracksCap)?I.fromJSON(e.prevTracksCap):void 0,nextTracksCap:gt(e.nextTracksCap)?I.fromJSON(e.nextTracksCap):void 0}),toJSON(e){const t={};return void 0!==e.prevTracksCap&&(t.prevTracksCap=I.toJSON(e.prevTracksCap)),void 0!==e.nextTracksCap&&(t.nextTracksCap=I.toJSON(e.nextTracksCap)),t},create:e=>_t.fromPartial(e??{}),fromPartial(e){const t={prevTracksCap:void 0,nextTracksCap:void 0};return t.prevTracksCap=void 0!==e.prevTracksCap&&null!==e.prevTracksCap?I.fromPartial(e.prevTracksCap):void 0,t.nextTracksCap=void 0!==e.nextTracksCap&&null!==e.nextTracksCap?I.fromPartial(e.nextTracksCap):void 0,t}};function gt(e){return null!=e}var Et,vt,yt;function bt(e){switch(e){case 0:case"UNKNOWN":return Et.UNKNOWN;case 1:case"LOW":return Et.LOW;case 2:case"NORMAL":return Et.NORMAL;case 3:case"HIGH":return Et.HIGH;case 4:case"VERY_HIGH":return Et.VERY_HIGH;case 5:case"HIFI":return Et.HIFI;case 6:case"HIFI24":return Et.HIFI24;default:return Et.UNRECOGNIZED}}function St(e){switch(e){case Et.UNKNOWN:return"UNKNOWN";case Et.LOW:return"LOW";case Et.NORMAL:return"NORMAL";case Et.HIGH:return"HIGH";case Et.VERY_HIGH:return"VERY_HIGH";case Et.HIFI:return"HIFI";case Et.HIFI24:return"HIFI24";case Et.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function Tt(e){switch(e){case 0:case"UNKNOWN_STRATEGY":return vt.UNKNOWN_STRATEGY;case 1:case"BEST_MATCHING":return vt.BEST_MATCHING;case 2:case"BACKEND_ADVISED":return vt.BACKEND_ADVISED;case 3:case"OFFLINED_FILE":return vt.OFFLINED_FILE;case 4:case"CACHED_FILE":return vt.CACHED_FILE;case 5:case"LOCAL_FILE":return vt.LOCAL_FILE;default:return vt.UNRECOGNIZED}}function At(e){switch(e){case 0:case"NONE":return yt.NONE;case 1:case"OFF":return yt.OFF;case 2:case"ON":return yt.ON;default:return yt.UNRECOGNIZED}}function It(){return{page:BigInt("0"),track:BigInt("0")}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.LOW=1]="LOW",e[e.NORMAL=2]="NORMAL",e[e.HIGH=3]="HIGH",e[e.VERY_HIGH=4]="VERY_HIGH",e[e.HIFI=5]="HIFI",e[e.HIFI24=6]="HIFI24",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Et||(Et={})),function(e){e[e.UNKNOWN_STRATEGY=0]="UNKNOWN_STRATEGY",e[e.BEST_MATCHING=1]="BEST_MATCHING",e[e.BACKEND_ADVISED=2]="BACKEND_ADVISED",e[e.OFFLINED_FILE=3]="OFFLINED_FILE",e[e.CACHED_FILE=4]="CACHED_FILE",e[e.LOCAL_FILE=5]="LOCAL_FILE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(vt||(vt={})),function(e){e[e.NONE=0]="NONE",e[e.OFF=1]="OFF",e[e.ON=2]="ON",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(yt||(yt={}));const Ot={encode:(e,t=i.Writer.create())=>(e.page!==BigInt("0")&&t.uint32(8).uint64(e.page.toString()),e.track!==BigInt("0")&&t.uint32(16).uint64(e.track.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=It();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.page=Dt(n.uint64());continue;case 2:if(16!==e)break;r.track=Dt(n.uint64());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({page:xt(e.page)?BigInt(e.page):BigInt("0"),track:xt(e.track)?BigInt(e.track):BigInt("0")}),toJSON(e){const t={};return e.page!==BigInt("0")&&(t.page=e.page.toString()),e.track!==BigInt("0")&&(t.track=e.track.toString()),t},create:e=>Ot.fromPartial(e??{}),fromPartial(e){const t=It();return t.page=e.page??BigInt("0"),t.track=e.track??BigInt("0"),t}};const Ct={encode:(e,t=i.Writer.create())=>(0!==e.bitrateLevel&&t.uint32(8).int32(e.bitrateLevel),0!==e.strategy&&t.uint32(16).int32(e.strategy),0!==e.targetBitrateLevel&&t.uint32(24).int32(e.targetBitrateLevel),!0===e.targetBitrateAvailable&&t.uint32(32).bool(e.targetBitrateAvailable),0!==e.hifiStatus&&t.uint32(40).int32(e.hifiStatus),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={bitrateLevel:0,strategy:0,targetBitrateLevel:0,targetBitrateAvailable:!1,hifiStatus:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.bitrateLevel=n.int32();continue;case 2:if(16!==e)break;r.strategy=n.int32();continue;case 3:if(24!==e)break;r.targetBitrateLevel=n.int32();continue;case 4:if(32!==e)break;r.targetBitrateAvailable=n.bool();continue;case 5:if(40!==e)break;r.hifiStatus=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({bitrateLevel:xt(e.bitrateLevel)?bt(e.bitrateLevel):0,strategy:xt(e.strategy)?Tt(e.strategy):0,targetBitrateLevel:xt(e.targetBitrateLevel)?bt(e.targetBitrateLevel):0,targetBitrateAvailable:!!xt(e.targetBitrateAvailable)&&Boolean(e.targetBitrateAvailable),hifiStatus:xt(e.hifiStatus)?At(e.hifiStatus):0}),toJSON(e){const t={};return 0!==e.bitrateLevel&&(t.bitrateLevel=St(e.bitrateLevel)),0!==e.strategy&&(t.strategy=function(e){switch(e){case vt.UNKNOWN_STRATEGY:return"UNKNOWN_STRATEGY";case vt.BEST_MATCHING:return"BEST_MATCHING";case vt.BACKEND_ADVISED:return"BACKEND_ADVISED";case vt.OFFLINED_FILE:return"OFFLINED_FILE";case vt.CACHED_FILE:return"CACHED_FILE";case vt.LOCAL_FILE:return"LOCAL_FILE";case vt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.strategy)),0!==e.targetBitrateLevel&&(t.targetBitrateLevel=St(e.targetBitrateLevel)),!0===e.targetBitrateAvailable&&(t.targetBitrateAvailable=e.targetBitrateAvailable),0!==e.hifiStatus&&(t.hifiStatus=function(e){switch(e){case yt.NONE:return"NONE";case yt.OFF:return"OFF";case yt.ON:return"ON";case yt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.hifiStatus)),t},create:e=>Ct.fromPartial(e??{}),fromPartial(e){const t={bitrateLevel:0,strategy:0,targetBitrateLevel:0,targetBitrateAvailable:!1,hifiStatus:0};return t.bitrateLevel=e.bitrateLevel??0,t.strategy=e.strategy??0,t.targetBitrateLevel=e.targetBitrateLevel??0,t.targetBitrateAvailable=e.targetBitrateAvailable??!1,t.hifiStatus=e.hifiStatus??0,t}};function Rt(){return{timestamp:BigInt("0"),contextUri:"",contextUrl:"",contextRestrictions:void 0,playOrigin:void 0,index:void 0,track:void 0,playbackId:new Uint8Array(0),playbackQuality:void 0,playbackSpeed:void 0,positionAsOfTimestamp:void 0,duration:void 0,isPlaying:!1,isPaused:!1,isBuffering:!1,isSystemInitiated:!1,options:void 0,restrictions:void 0,suppressions:[],prevTracks:[],nextTracks:[],contextMetadata:{},pageMetadata:{},sessionId:"",queueRevision:BigInt("0"),audioStream:0,signals:[],sessionCommandId:""}}const Nt={encode(e,t=i.Writer.create()){e.timestamp!==BigInt("0")&&t.uint32(8).uint64(e.timestamp.toString()),""!==e.contextUri&&t.uint32(18).string(e.contextUri),""!==e.contextUrl&&t.uint32(26).string(e.contextUrl),void 0!==e.contextRestrictions&&h.encode(e.contextRestrictions,t.uint32(34).fork()).ldelim(),void 0!==e.playOrigin&&b.encode(e.playOrigin,t.uint32(42).fork()).ldelim(),void 0!==e.index&&Ot.encode(e.index,t.uint32(50).fork()).ldelim(),void 0!==e.track&&et.encode(e.track,t.uint32(58).fork()).ldelim(),0!==e.playbackId.length&&t.uint32(66).bytes(e.playbackId),void 0!==e.playbackQuality&&Ct.encode(e.playbackQuality,t.uint32(74).fork()).ldelim(),void 0!==e.playbackSpeed&&O.encode(e.playbackSpeed,t.uint32(82).fork()).ldelim(),void 0!==e.positionAsOfTimestamp&&I.encode(e.positionAsOfTimestamp,t.uint32(90).fork()).ldelim(),void 0!==e.duration&&I.encode(e.duration,t.uint32(98).fork()).ldelim(),!0===e.isPlaying&&t.uint32(104).bool(e.isPlaying),!0===e.isPaused&&t.uint32(112).bool(e.isPaused),!0===e.isBuffering&&t.uint32(120).bool(e.isBuffering),!0===e.isSystemInitiated&&t.uint32(128).bool(e.isSystemInitiated),void 0!==e.options&&N.encode(e.options,t.uint32(138).fork()).ldelim(),void 0!==e.restrictions&&h.encode(e.restrictions,t.uint32(146).fork()).ldelim();for(const n of e.suppressions)t.uint32(154).string(n);for(const n of e.prevTracks)et.encode(n,t.uint32(162).fork()).ldelim();for(const n of e.nextTracks)et.encode(n,t.uint32(170).fork()).ldelim();Object.entries(e.contextMetadata).forEach((([e,n])=>{Pt.encode({key:e,value:n},t.uint32(178).fork()).ldelim()})),Object.entries(e.pageMetadata).forEach((([e,n])=>{Lt.encode({key:e,value:n},t.uint32(186).fork()).ldelim()})),""!==e.sessionId&&t.uint32(194).string(e.sessionId),e.queueRevision!==BigInt("0")&&t.uint32(200).uint64(e.queueRevision.toString()),0!==e.audioStream&&t.uint32(208).int32(e.audioStream);for(const n of e.signals)t.uint32(218).string(n);return""!==e.sessionCommandId&&t.uint32(226).string(e.sessionCommandId),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Rt();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timestamp=Dt(n.uint64());continue;case 2:if(18!==e)break;r.contextUri=n.string();continue;case 3:if(26!==e)break;r.contextUrl=n.string();continue;case 4:if(34!==e)break;r.contextRestrictions=h.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.playOrigin=b.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.index=Ot.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.track=et.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.playbackId=n.bytes();continue;case 9:if(74!==e)break;r.playbackQuality=Ct.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.playbackSpeed=O.decode(n,n.uint32());continue;case 11:if(90!==e)break;r.positionAsOfTimestamp=I.decode(n,n.uint32());continue;case 12:if(98!==e)break;r.duration=I.decode(n,n.uint32());continue;case 13:if(104!==e)break;r.isPlaying=n.bool();continue;case 14:if(112!==e)break;r.isPaused=n.bool();continue;case 15:if(120!==e)break;r.isBuffering=n.bool();continue;case 16:if(128!==e)break;r.isSystemInitiated=n.bool();continue;case 17:if(138!==e)break;r.options=N.decode(n,n.uint32());continue;case 18:if(146!==e)break;r.restrictions=h.decode(n,n.uint32());continue;case 19:if(154!==e)break;r.suppressions.push(n.string());continue;case 20:if(162!==e)break;r.prevTracks.push(et.decode(n,n.uint32()));continue;case 21:if(170!==e)break;r.nextTracks.push(et.decode(n,n.uint32()));continue;case 22:if(178!==e)break;const t=Pt.decode(n,n.uint32());void 0!==t.value&&(r.contextMetadata[t.key]=t.value);continue;case 23:if(186!==e)break;const i=Lt.decode(n,n.uint32());void 0!==i.value&&(r.pageMetadata[i.key]=i.value);continue;case 24:if(194!==e)break;r.sessionId=n.string();continue;case 25:if(200!==e)break;r.queueRevision=Dt(n.uint64());continue;case 26:if(208!==e)break;r.audioStream=n.int32();continue;case 27:if(218!==e)break;r.signals.push(n.string());continue;case 28:if(226!==e)break;r.sessionCommandId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timestamp:xt(e.timestamp)?BigInt(e.timestamp):BigInt("0"),contextUri:xt(e.contextUri)?String(e.contextUri):"",contextUrl:xt(e.contextUrl)?String(e.contextUrl):"",contextRestrictions:xt(e.contextRestrictions)?h.fromJSON(e.contextRestrictions):void 0,playOrigin:xt(e.playOrigin)?b.fromJSON(e.playOrigin):void 0,index:xt(e.index)?Ot.fromJSON(e.index):void 0,track:xt(e.track)?et.fromJSON(e.track):void 0,playbackId:xt(e.playbackId)?wt(e.playbackId):new Uint8Array(0),playbackQuality:xt(e.playbackQuality)?Ct.fromJSON(e.playbackQuality):void 0,playbackSpeed:xt(e.playbackSpeed)?O.fromJSON(e.playbackSpeed):void 0,positionAsOfTimestamp:xt(e.positionAsOfTimestamp)?I.fromJSON(e.positionAsOfTimestamp):void 0,duration:xt(e.duration)?I.fromJSON(e.duration):void 0,isPlaying:!!xt(e.isPlaying)&&Boolean(e.isPlaying),isPaused:!!xt(e.isPaused)&&Boolean(e.isPaused),isBuffering:!!xt(e.isBuffering)&&Boolean(e.isBuffering),isSystemInitiated:!!xt(e.isSystemInitiated)&&Boolean(e.isSystemInitiated),options:xt(e.options)?N.fromJSON(e.options):void 0,restrictions:xt(e.restrictions)?h.fromJSON(e.restrictions):void 0,suppressions:Array.isArray(e?.suppressions)?e.suppressions.map((e=>String(e))):[],prevTracks:Array.isArray(e?.prevTracks)?e.prevTracks.map((e=>et.fromJSON(e))):[],nextTracks:Array.isArray(e?.nextTracks)?e.nextTracks.map((e=>et.fromJSON(e))):[],contextMetadata:Mt(e.contextMetadata)?Object.entries(e.contextMetadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{},pageMetadata:Mt(e.pageMetadata)?Object.entries(e.pageMetadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{},sessionId:xt(e.sessionId)?String(e.sessionId):"",queueRevision:xt(e.queueRevision)?BigInt(e.queueRevision):BigInt("0"),audioStream:xt(e.audioStream)?B(e.audioStream):0,signals:Array.isArray(e?.signals)?e.signals.map((e=>String(e))):[],sessionCommandId:xt(e.sessionCommandId)?String(e.sessionCommandId):""}),toJSON(e){const t={};if(e.timestamp!==BigInt("0")&&(t.timestamp=e.timestamp.toString()),""!==e.contextUri&&(t.contextUri=e.contextUri),""!==e.contextUrl&&(t.contextUrl=e.contextUrl),void 0!==e.contextRestrictions&&(t.contextRestrictions=h.toJSON(e.contextRestrictions)),void 0!==e.playOrigin&&(t.playOrigin=b.toJSON(e.playOrigin)),void 0!==e.index&&(t.index=Ot.toJSON(e.index)),void 0!==e.track&&(t.track=et.toJSON(e.track)),0!==e.playbackId.length&&(t.playbackId=function(e){if(kt.Buffer)return kt.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),kt.btoa(t.join(""))}}(e.playbackId)),void 0!==e.playbackQuality&&(t.playbackQuality=Ct.toJSON(e.playbackQuality)),void 0!==e.playbackSpeed&&(t.playbackSpeed=O.toJSON(e.playbackSpeed)),void 0!==e.positionAsOfTimestamp&&(t.positionAsOfTimestamp=I.toJSON(e.positionAsOfTimestamp)),void 0!==e.duration&&(t.duration=I.toJSON(e.duration)),!0===e.isPlaying&&(t.isPlaying=e.isPlaying),!0===e.isPaused&&(t.isPaused=e.isPaused),!0===e.isBuffering&&(t.isBuffering=e.isBuffering),!0===e.isSystemInitiated&&(t.isSystemInitiated=e.isSystemInitiated),void 0!==e.options&&(t.options=N.toJSON(e.options)),void 0!==e.restrictions&&(t.restrictions=h.toJSON(e.restrictions)),e.suppressions?.length&&(t.suppressions=e.suppressions),e.prevTracks?.length&&(t.prevTracks=e.prevTracks.map((e=>et.toJSON(e)))),e.nextTracks?.length&&(t.nextTracks=e.nextTracks.map((e=>et.toJSON(e)))),e.contextMetadata){const n=Object.entries(e.contextMetadata);n.length>0&&(t.contextMetadata={},n.forEach((([e,n])=>{t.contextMetadata[e]=n})))}if(e.pageMetadata){const n=Object.entries(e.pageMetadata);n.length>0&&(t.pageMetadata={},n.forEach((([e,n])=>{t.pageMetadata[e]=n})))}return""!==e.sessionId&&(t.sessionId=e.sessionId),e.queueRevision!==BigInt("0")&&(t.queueRevision=e.queueRevision.toString()),0!==e.audioStream&&(t.audioStream=H(e.audioStream)),e.signals?.length&&(t.signals=e.signals),""!==e.sessionCommandId&&(t.sessionCommandId=e.sessionCommandId),t},create:e=>Nt.fromPartial(e??{}),fromPartial(e){const t=Rt();return t.timestamp=e.timestamp??BigInt("0"),t.contextUri=e.contextUri??"",t.contextUrl=e.contextUrl??"",t.contextRestrictions=void 0!==e.contextRestrictions&&null!==e.contextRestrictions?h.fromPartial(e.contextRestrictions):void 0,t.playOrigin=void 0!==e.playOrigin&&null!==e.playOrigin?b.fromPartial(e.playOrigin):void 0,t.index=void 0!==e.index&&null!==e.index?Ot.fromPartial(e.index):void 0,t.track=void 0!==e.track&&null!==e.track?et.fromPartial(e.track):void 0,t.playbackId=e.playbackId??new Uint8Array(0),t.playbackQuality=void 0!==e.playbackQuality&&null!==e.playbackQuality?Ct.fromPartial(e.playbackQuality):void 0,t.playbackSpeed=void 0!==e.playbackSpeed&&null!==e.playbackSpeed?O.fromPartial(e.playbackSpeed):void 0,t.positionAsOfTimestamp=void 0!==e.positionAsOfTimestamp&&null!==e.positionAsOfTimestamp?I.fromPartial(e.positionAsOfTimestamp):void 0,t.duration=void 0!==e.duration&&null!==e.duration?I.fromPartial(e.duration):void 0,t.isPlaying=e.isPlaying??!1,t.isPaused=e.isPaused??!1,t.isBuffering=e.isBuffering??!1,t.isSystemInitiated=e.isSystemInitiated??!1,t.options=void 0!==e.options&&null!==e.options?N.fromPartial(e.options):void 0,t.restrictions=void 0!==e.restrictions&&null!==e.restrictions?h.fromPartial(e.restrictions):void 0,t.suppressions=e.suppressions?.map((e=>e))||[],t.prevTracks=e.prevTracks?.map((e=>et.fromPartial(e)))||[],t.nextTracks=e.nextTracks?.map((e=>et.fromPartial(e)))||[],t.contextMetadata=Object.entries(e.contextMetadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.pageMetadata=Object.entries(e.pageMetadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.sessionId=e.sessionId??"",t.queueRevision=e.queueRevision??BigInt("0"),t.audioStream=e.audioStream??0,t.signals=e.signals?.map((e=>e))||[],t.sessionCommandId=e.sessionCommandId??"",t}};const Pt={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:xt(e.key)?String(e.key):"",value:xt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Pt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const Lt={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:xt(e.key)?String(e.key):"",value:xt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Lt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}},kt=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function wt(e){if(kt.Buffer)return Uint8Array.from(kt.Buffer.from(e,"base64"));{const t=kt.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function Dt(e){return BigInt(e.toString())}function Mt(e){return"object"==typeof e&&null!==e}function xt(e){return null!=e}i.util.Long!==T&&(i.util.Long=T,i.configure());const Ut={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Ut.fromPartial(e??{}),fromPartial:e=>({})};const Vt={encode(e,t=i.Writer.create()){for(const n of e.tracks)o.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={tracks:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.tracks.push(o.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({tracks:Array.isArray(e?.tracks)?e.tracks.map((e=>o.fromJSON(e))):[]}),toJSON(e){const t={};return e.tracks?.length&&(t.tracks=e.tracks.map((e=>o.toJSON(e)))),t},create:e=>Vt.fromPartial(e??{}),fromPartial(e){const t={tracks:[]};return t.tracks=e.tracks?.map((e=>o.fromPartial(e)))||[],t}};var Ft;function Bt(e){switch(e){case 0:case"OK":return Ft.OK;case 1:case"NOT_FOUND":return Ft.NOT_FOUND;default:return Ft.UNRECOGNIZED}}!function(e){e[e.OK=0]="OK",e[e.NOT_FOUND=1]="NOT_FOUND",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ft||(Ft={}));const Ht={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Ht.fromPartial(e??{}),fromPartial:e=>({})};function Gt(){return{error:0,timestamp:BigInt("0"),position:BigInt("0"),playbackSpeed:0}}const Wt={encode:(e,t=i.Writer.create())=>(0!==e.error&&t.uint32(8).int32(e.error),e.timestamp!==BigInt("0")&&t.uint32(16).uint64(e.timestamp.toString()),e.position!==BigInt("0")&&t.uint32(24).uint64(e.position.toString()),0!==e.playbackSpeed&&t.uint32(33).double(e.playbackSpeed),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Gt();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.error=n.int32();continue;case 2:if(16!==e)break;r.timestamp=jt(n.uint64());continue;case 3:if(24!==e)break;r.position=jt(n.uint64());continue;case 4:if(33!==e)break;r.playbackSpeed=n.double();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({error:Yt(e.error)?Bt(e.error):0,timestamp:Yt(e.timestamp)?BigInt(e.timestamp):BigInt("0"),position:Yt(e.position)?BigInt(e.position):BigInt("0"),playbackSpeed:Yt(e.playbackSpeed)?Number(e.playbackSpeed):0}),toJSON(e){const t={};return 0!==e.error&&(t.error=function(e){switch(e){case Ft.OK:return"OK";case Ft.NOT_FOUND:return"NOT_FOUND";case Ft.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.error)),e.timestamp!==BigInt("0")&&(t.timestamp=e.timestamp.toString()),e.position!==BigInt("0")&&(t.position=e.position.toString()),0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),t},create:e=>Wt.fromPartial(e??{}),fromPartial(e){const t=Gt();return t.error=e.error??0,t.timestamp=e.timestamp??BigInt("0"),t.position=e.position??BigInt("0"),t.playbackSpeed=e.playbackSpeed??0,t}};function jt(e){return BigInt(e.toString())}function Yt(e){return null!=e}i.util.Long!==T&&(i.util.Long=T,i.configure());const zt={encode:(e,t=i.Writer.create())=>(""!==e.signalId&&t.uint32(10).string(e.signalId),""!==e.parameters&&t.uint32(18).string(e.parameters),void 0!==e.options&&Z.encode(e.options,t.uint32(26).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={signalId:"",parameters:"",options:void 0,loggingParams:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.signalId=n.string();continue;case 2:if(18!==e)break;r.parameters=n.string();continue;case 3:if(26!==e)break;r.options=Z.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({signalId:Kt(e.signalId)?String(e.signalId):"",parameters:Kt(e.parameters)?String(e.parameters):"",options:Kt(e.options)?Z.fromJSON(e.options):void 0,loggingParams:Kt(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return""!==e.signalId&&(t.signalId=e.signalId),""!==e.parameters&&(t.parameters=e.parameters),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>zt.fromPartial(e??{}),fromPartial(e){const t={signalId:"",parameters:"",options:void 0,loggingParams:void 0};return t.signalId=e.signalId??"",t.parameters=e.parameters??"",t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function Kt(e){return null!=e}const Jt={encode(e,t=i.Writer.create()){for(const n of e.tracks)o.encode(n,t.uint32(10).fork()).ldelim();return void 0!==e.options&&Z.encode(e.options,t.uint32(18).fork()).ldelim(),void 0!==e.loggingParams&&ne.encode(e.loggingParams,t.uint32(26).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={tracks:[],options:void 0,loggingParams:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.tracks.push(o.decode(n,n.uint32()));continue;case 2:if(18!==e)break;a.options=Z.decode(n,n.uint32());continue;case 3:if(26!==e)break;a.loggingParams=ne.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({tracks:Array.isArray(e?.tracks)?e.tracks.map((e=>o.fromJSON(e))):[],options:qt(e.options)?Z.fromJSON(e.options):void 0,loggingParams:qt(e.loggingParams)?ne.fromJSON(e.loggingParams):void 0}),toJSON(e){const t={};return e.tracks?.length&&(t.tracks=e.tracks.map((e=>o.toJSON(e)))),void 0!==e.options&&(t.options=Z.toJSON(e.options)),void 0!==e.loggingParams&&(t.loggingParams=ne.toJSON(e.loggingParams)),t},create:e=>Jt.fromPartial(e??{}),fromPartial(e){const t={tracks:[],options:void 0,loggingParams:void 0};return t.tracks=e.tracks?.map((e=>o.fromPartial(e)))||[],t.options=void 0!==e.options&&null!==e.options?Z.fromPartial(e.options):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?ne.fromPartial(e.loggingParams):void 0,t}};function qt(e){return null!=e}class Xt{transport;options;constructor(e,t={}){this.transport=e,this.options=t}preparePlay(e,t){const n=Xt.SERVICE_ID,o="PreparePlay",r=J.fromPartial(e),a=J.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=X.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}playPrepared(e,t){const n=Xt.SERVICE_ID,o="PlayPrepared",r=he.fromPartial(e),a=he.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}deleteSession(e,t){const n=Xt.SERVICE_ID,o="DeleteSession",r=ve.fromPartial(e),a=ve.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ye.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}updateContext(e,t){const n=Xt.SERVICE_ID,o="UpdateContext",r=be.fromPartial(e),a=be.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}updateContextPage(e,t){const n=Xt.SERVICE_ID,o="UpdateContextPage",r=Se.fromPartial(e),a=Se.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}updateContextTrack(e,t){const n=Xt.SERVICE_ID,o="UpdateContextTrack",r=Te.fromPartial(e),a=Te.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}updateViewUri(e,t){const n=Xt.SERVICE_ID,o="UpdateViewUri",r=Ae.fromPartial(e),a=Ae.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}play(e,t){const n=Xt.SERVICE_ID,o="Play",r=pe.fromPartial(e),a=pe.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}pause(e,t){const n=Xt.SERVICE_ID,o="Pause",r=Ce.fromPartial(e),a=Ce.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}resume(e,t){const n=Xt.SERVICE_ID,o="Resume",r=Ne.fromPartial(e),a=Ne.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}skipNext(e,t){const n=Xt.SERVICE_ID,o="SkipNext",r=Le.fromPartial(e),a=Le.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}skipPrev(e,t){const n=Xt.SERVICE_ID,o="SkipPrev",r=we.fromPartial(e),a=we.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}seekTo(e,t){const n=Xt.SERVICE_ID,o="SeekTo",r=Ve.fromPartial(e),a=Ve.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}stop(e,t){const n=Xt.SERVICE_ID,o="Stop",r=Ge.fromPartial(e),a=Ge.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setOptions(e,t){const n=Xt.SERVICE_ID,o="SetOptions",r=je.fromPartial(e),a=je.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setRepeatingContext(e,t){const n=Xt.SERVICE_ID,o="SetRepeatingContext",r=Ke.fromPartial(e),a=Ke.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setRepeatingTrack(e,t){const n=Xt.SERVICE_ID,o="SetRepeatingTrack",r=qe.fromPartial(e),a=qe.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setShufflingContext(e,t){const n=Xt.SERVICE_ID,o="SetShufflingContext",r=$e.fromPartial(e),a=$e.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getQueue(e,t){const n=Xt.SERVICE_ID,o="GetQueue",r=Qe.fromPartial(e),a=Qe.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=it.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}setQueue(e,t){const n=Xt.SERVICE_ID,o="SetQueue",r=at.fromPartial(e),a=at.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}addToQueue(e,t){const n=Xt.SERVICE_ID,o="AddToQueue",r=ct.fromPartial(e),a=ct.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getError(e,t){const n=Xt.SERVICE_ID,o="GetError",r=ut.fromPartial(e),a=ut.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=ht.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getState(e,t){const n=Xt.SERVICE_ID,o="GetState",r=_t.fromPartial(e),a=_t.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Nt.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getPlayHistory(e,t){const n=Xt.SERVICE_ID,o="GetPlayHistory",r=Ut.fromPartial(e),a=Ut.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Vt.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getPositionState(e,t){const n=Xt.SERVICE_ID,o="GetPositionState",r=Ht.fromPartial(e),a=Ht.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Wt.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}signal(e,t){const n=Xt.SERVICE_ID,o="Signal",r=zt.fromPartial(e),a=zt.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}playAsNextInQueue(e,t){const n=Xt.SERVICE_ID,o="PlayAsNextInQueue",r=Jt.fromPartial(e),a=Jt.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ge.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.player.esperanto.proto.ContextPlayer";static METHODS={preparePlay:{isStreaming:!1,requestType:J,responseType:X},playPrepared:{isStreaming:!1,requestType:he,responseType:ge},deleteSession:{isStreaming:!1,requestType:ve,responseType:ye},updateContext:{isStreaming:!1,requestType:be,responseType:ge},updateContextPage:{isStreaming:!1,requestType:Se,responseType:ge},updateContextTrack:{isStreaming:!1,requestType:Te,responseType:ge},updateViewUri:{isStreaming:!1,requestType:Ae,responseType:ge},play:{isStreaming:!1,requestType:pe,responseType:ge},pause:{isStreaming:!1,requestType:Ce,responseType:ge},resume:{isStreaming:!1,requestType:Ne,responseType:ge},skipNext:{isStreaming:!1,requestType:Le,responseType:ge},skipPrev:{isStreaming:!1,requestType:we,responseType:ge},seekTo:{isStreaming:!1,requestType:Ve,responseType:ge},stop:{isStreaming:!1,requestType:Ge,responseType:ge},setOptions:{isStreaming:!1,requestType:je,responseType:ge},setRepeatingContext:{isStreaming:!1,requestType:Ke,responseType:ge},setRepeatingTrack:{isStreaming:!1,requestType:qe,responseType:ge},setShufflingContext:{isStreaming:!1,requestType:$e,responseType:ge},getQueue:{isStreaming:!0,requestType:Qe,responseType:it},setQueue:{isStreaming:!1,requestType:at,responseType:ge},addToQueue:{isStreaming:!1,requestType:ct,responseType:ge},getError:{isStreaming:!0,requestType:ut,responseType:ht},getState:{isStreaming:!0,requestType:_t,responseType:Nt},getPlayHistory:{isStreaming:!0,requestType:Ut,responseType:Vt},getPositionState:{isStreaming:!1,requestType:Ht,responseType:Wt},signal:{isStreaming:!1,requestType:zt,responseType:ge},playAsNextInQueue:{isStreaming:!1,requestType:Jt,responseType:ge}};static DECODERS={PreparePlay:{request:J.decode,response:X.decode},PlayPrepared:{request:he.decode,response:ge.decode},DeleteSession:{request:ve.decode,response:ye.decode},UpdateContext:{request:be.decode,response:ge.decode},UpdateContextPage:{request:Se.decode,response:ge.decode},UpdateContextTrack:{request:Te.decode,response:ge.decode},UpdateViewUri:{request:Ae.decode,response:ge.decode},Play:{request:pe.decode,response:ge.decode},Pause:{request:Ce.decode,response:ge.decode},Resume:{request:Ne.decode,response:ge.decode},SkipNext:{request:Le.decode,response:ge.decode},SkipPrev:{request:we.decode,response:ge.decode},SeekTo:{request:Ve.decode,response:ge.decode},Stop:{request:Ge.decode,response:ge.decode},SetOptions:{request:je.decode,response:ge.decode},SetRepeatingContext:{request:Ke.decode,response:ge.decode},SetRepeatingTrack:{request:qe.decode,response:ge.decode},SetShufflingContext:{request:$e.decode,response:ge.decode},GetQueue:{request:Qe.decode,response:it.decode},SetQueue:{request:at.decode,response:ge.decode},AddToQueue:{request:ct.decode,response:ge.decode},GetError:{request:ut.decode,response:ht.decode},GetState:{request:_t.decode,response:Nt.decode},GetPlayHistory:{request:Ut.decode,response:Vt.decode},GetPositionState:{request:Ht.decode,response:Wt.decode},Signal:{request:zt.decode,response:ge.decode},PlayAsNextInQueue:{request:Jt.decode,response:ge.decode}}}const $t={encode:(e,t=i.Writer.create())=>(""!==e.url&&t.uint32(10).string(e.url),""!==e.context&&t.uint32(18).string(e.context),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={url:"",context:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.url=n.string();continue;case 2:if(18!==e)break;r.context=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({url:en(e.url)?String(e.url):"",context:en(e.context)?String(e.context):""}),toJSON(e){const t={};return""!==e.url&&(t.url=e.url),""!==e.context&&(t.context=e.context),t},create:e=>$t.fromPartial(e??{}),fromPartial(e){const t={url:"",context:""};return t.url=e.url??"",t.context=e.context??"",t}};const Zt={encode:(e,t=i.Writer.create())=>(""!==e.url&&t.uint32(10).string(e.url),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={url:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.url=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({url:en(e.url)?String(e.url):""}),toJSON(e){const t={};return""!==e.url&&(t.url=e.url),t},create:e=>Zt.fromPartial(e??{}),fromPartial(e){const t={url:""};return t.url=e.url??"",t}};const Qt={encode:(e,t=i.Writer.create())=>(0!==e.requestCount&&t.uint32(8).int32(e.requestCount),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={requestCount:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.requestCount=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({requestCount:en(e.requestCount)?Number(e.requestCount):0}),toJSON(e){const t={};return 0!==e.requestCount&&(t.requestCount=Math.round(e.requestCount)),t},create:e=>Qt.fromPartial(e??{}),fromPartial(e){const t={requestCount:0};return t.requestCount=e.requestCount??0,t}};function en(e){return null!=e}const tn={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>tn.fromPartial(e??{}),fromPartial:e=>({})};$t.decode,tn.decode,Zt.decode,Qt.decode},83140:(e,t,n)=>{"use strict";n.d(t,{ycN:()=>On,Sdk:()=>An,EtD:()=>b,q$c:()=>mn,Cix:()=>ut,UHM:()=>Qe,$NQ:()=>ie,JaG:()=>Ee,Eas:()=>A,e6Z:()=>L,hm7:()=>Jn,fu_:()=>hn,C4N:()=>Sn,qrL:()=>Hn,MTo:()=>Vn,$zj:()=>p,K02:()=>s,zOt:()=>Q,oVT:()=>R,wQe:()=>ji,hb0:()=>$i,bpJ:()=>Ce,l98:()=>ye,RHQ:()=>be,gXE:()=>Fn,to1:()=>We,Kue:()=>h,oUG:()=>kn,Kpc:()=>y,Bl$:()=>Vo,NYH:()=>no,C5T:()=>Fo,ZxE:()=>Go,xJU:()=>oo,xAU:()=>uo,q5f:()=>ao,QVI:()=>yn,Vr:()=>Me,MvQ:()=>Pn,gop:()=>cn});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>(0!==e.statusCode&&t.uint32(8).int32(e.statusCode),""!==e.reason&&t.uint32(18).string(e.reason),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={statusCode:0,reason:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.statusCode=n.int32();continue;case 2:if(18!==e)break;r.reason=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({statusCode:r(e.statusCode)?Number(e.statusCode):0,reason:r(e.reason)?String(e.reason):""}),toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=Math.round(e.statusCode)),""!==e.reason&&(t.reason=e.reason),t},create:e=>o.fromPartial(e??{}),fromPartial(e){const t={statusCode:0,reason:""};return t.statusCode=e.statusCode??0,t.reason=e.reason??"",t}};function r(e){return null!=e}const a={encode:(e,t=i.Writer.create())=>(""!==e.identifier&&t.uint32(10).string(e.identifier),!0===e.active&&t.uint32(16).bool(e.active),!0===e.removeByPrefix&&t.uint32(24).bool(e.removeByPrefix),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={identifier:"",active:!1,removeByPrefix:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.identifier=n.string();continue;case 2:if(16!==e)break;r.active=n.bool();continue;case 3:if(24!==e)break;r.removeByPrefix=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({identifier:l(e.identifier)?String(e.identifier):"",active:!!l(e.active)&&Boolean(e.active),removeByPrefix:!!l(e.removeByPrefix)&&Boolean(e.removeByPrefix)}),toJSON(e){const t={};return""!==e.identifier&&(t.identifier=e.identifier),!0===e.active&&(t.active=e.active),!0===e.removeByPrefix&&(t.removeByPrefix=e.removeByPrefix),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={identifier:"",active:!1,removeByPrefix:!1};return t.identifier=e.identifier??"",t.active=e.active??!1,t.removeByPrefix=e.removeByPrefix??!1,t}};const s={encode(e,t=i.Writer.create()){""!==e.uri&&t.uint32(10).string(e.uri);for(const n of e.lenses)a.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",lenses:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.lenses.push(a.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:l(e.uri)?String(e.uri):"",lenses:Array.isArray(e?.lenses)?e.lenses.map((e=>a.fromJSON(e))):[]}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),e.lenses?.length&&(t.lenses=e.lenses.map((e=>a.toJSON(e)))),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={uri:"",lenses:[]};return t.uri=e.uri??"",t.lenses=e.lenses?.map((e=>a.fromPartial(e)))||[],t}};const c={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:l(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};function l(e){return null!=e}function u(){return{identifier:"",clientPayload:new Uint8Array(0)}}const d={encode:(e,t=i.Writer.create())=>(""!==e.identifier&&t.uint32(10).string(e.identifier),0!==e.clientPayload.length&&t.uint32(18).bytes(e.clientPayload),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=u();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.identifier=n.string();continue;case 2:if(18!==e)break;r.clientPayload=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({identifier:E(e.identifier)?String(e.identifier):"",clientPayload:E(e.clientPayload)?g(e.clientPayload):new Uint8Array(0)}),toJSON(e){const t={};return""!==e.identifier&&(t.identifier=e.identifier),0!==e.clientPayload.length&&(t.clientPayload=function(e){if(_.Buffer)return _.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),_.btoa(t.join(""))}}(e.clientPayload)),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t=u();return t.identifier=e.identifier??"",t.clientPayload=e.clientPayload??new Uint8Array(0),t}};const p={encode:(e,t=i.Writer.create())=>(""!==e.itemId&&t.uint32(10).string(e.itemId),""!==e.itemUri&&t.uint32(18).string(e.itemUri),void 0!==e.signal&&d.encode(e.signal,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={itemId:"",itemUri:"",signal:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.itemId=n.string();continue;case 2:if(18!==e)break;r.itemUri=n.string();continue;case 3:if(26!==e)break;r.signal=d.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({itemId:E(e.itemId)?String(e.itemId):"",itemUri:E(e.itemUri)?String(e.itemUri):"",signal:E(e.signal)?d.fromJSON(e.signal):void 0}),toJSON(e){const t={};return""!==e.itemId&&(t.itemId=e.itemId),""!==e.itemUri&&(t.itemUri=e.itemUri),void 0!==e.signal&&(t.signal=d.toJSON(e.signal)),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={itemId:"",itemUri:"",signal:void 0};return t.itemId=e.itemId??"",t.itemUri=e.itemUri??"",t.signal=void 0!==e.signal&&null!==e.signal?d.fromPartial(e.signal):void 0,t}};const h={encode:(e,t=i.Writer.create())=>(""!==e.listUri&&t.uint32(10).string(e.listUri),void 0!==e.signal&&d.encode(e.signal,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={listUri:"",signal:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.listUri=n.string();continue;case 2:if(18!==e)break;r.signal=d.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({listUri:E(e.listUri)?String(e.listUri):"",signal:E(e.signal)?d.fromJSON(e.signal):void 0}),toJSON(e){const t={};return""!==e.listUri&&(t.listUri=e.listUri),void 0!==e.signal&&(t.signal=d.toJSON(e.signal)),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={listUri:"",signal:void 0};return t.listUri=e.listUri??"",t.signal=void 0!==e.signal&&null!==e.signal?d.fromPartial(e.signal):void 0,t}};const f={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:E(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>f.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};const m={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:E(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>m.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}},_=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function g(e){if(_.Buffer)return Uint8Array.from(_.Buffer.from(e,"base64"));{const t=_.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function E(e){return null!=e}var v,y,b;function S(e){switch(e){case 0:case"PUBLISHED_STATE_UNSPECIFIED":return y.PUBLISHED_STATE_UNSPECIFIED;case 1:case"PUBLISHED_STATE_NOT_PUBLISHED":return y.PUBLISHED_STATE_NOT_PUBLISHED;case 2:case"PUBLISHED_STATE_PUBLISHED":return y.PUBLISHED_STATE_PUBLISHED;default:return y.UNRECOGNIZED}}function T(e){switch(e){case 0:case"CREATE_ITEM_KIND_UNSPECIFIED":return b.CREATE_ITEM_KIND_UNSPECIFIED;case 1:case"CREATE_ITEM_KIND_PLAYLIST":return b.CREATE_ITEM_KIND_PLAYLIST;case 2:case"CREATE_ITEM_KIND_FOLDER":return b.CREATE_ITEM_KIND_FOLDER;default:return b.UNRECOGNIZED}}!function(e){e[e.LIST_UNKNOWN=0]="LIST_UNKNOWN",e[e.LIST_NAME=1]="LIST_NAME",e[e.LIST_DESCRIPTION=2]="LIST_DESCRIPTION",e[e.LIST_PICTURE=3]="LIST_PICTURE",e[e.LIST_COLLABORATIVE=4]="LIST_COLLABORATIVE",e[e.LIST_PL3_VERSION=5]="LIST_PL3_VERSION",e[e.LIST_DELETED_BY_OWNER=6]="LIST_DELETED_BY_OWNER",e[e.LIST_CLIENT_ID=10]="LIST_CLIENT_ID",e[e.LIST_FORMAT=11]="LIST_FORMAT",e[e.LIST_FORMAT_ATTRIBUTES=12]="LIST_FORMAT_ATTRIBUTES",e[e.LIST_PICTURE_SIZE=13]="LIST_PICTURE_SIZE",e[e.LIST_SEQUENCE_CONTEXT_TEMPLATE=14]="LIST_SEQUENCE_CONTEXT_TEMPLATE",e[e.LIST_AI_CURATION_REFERENCE_ID=15]="LIST_AI_CURATION_REFERENCE_ID",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(v||(v={})),function(e){e[e.PUBLISHED_STATE_UNSPECIFIED=0]="PUBLISHED_STATE_UNSPECIFIED",e[e.PUBLISHED_STATE_NOT_PUBLISHED=1]="PUBLISHED_STATE_NOT_PUBLISHED",e[e.PUBLISHED_STATE_PUBLISHED=2]="PUBLISHED_STATE_PUBLISHED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(y||(y={})),function(e){e[e.CREATE_ITEM_KIND_UNSPECIFIED=0]="CREATE_ITEM_KIND_UNSPECIFIED",e[e.CREATE_ITEM_KIND_PLAYLIST=1]="CREATE_ITEM_KIND_PLAYLIST",e[e.CREATE_ITEM_KIND_FOLDER=2]="CREATE_ITEM_KIND_FOLDER",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(b||(b={}));const A={encode(e,t=i.Writer.create()){""!==e.operation&&t.uint32(10).string(e.operation),""!==e.before&&t.uint32(18).string(e.before),""!==e.after&&t.uint32(26).string(e.after),""!==e.name&&t.uint32(34).string(e.name),!0===e.playlist&&t.uint32(40).bool(e.playlist),void 0!==e.attributes&&I.encode(e.attributes,t.uint32(50).fork()).ldelim();for(const n of e.uris)t.uint32(58).string(n);for(const n of e.rows)t.uint32(66).string(n);!0===e.contents&&t.uint32(72).bool(e.contents),""!==e.itemId&&t.uint32(82).string(e.itemId),t.uint32(90).fork();for(const n of e.attributesToClear)t.int32(n);return t.ldelim(),0!==e.createItemKind&&t.uint32(96).int32(e.createItemKind),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={operation:"",before:"",after:"",name:"",playlist:!1,attributes:void 0,uris:[],rows:[],contents:!1,itemId:"",attributesToClear:[],createItemKind:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.operation=n.string();continue;case 2:if(18!==e)break;r.before=n.string();continue;case 3:if(26!==e)break;r.after=n.string();continue;case 4:if(34!==e)break;r.name=n.string();continue;case 5:if(40!==e)break;r.playlist=n.bool();continue;case 6:if(50!==e)break;r.attributes=I.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.uris.push(n.string());continue;case 8:if(66!==e)break;r.rows.push(n.string());continue;case 9:if(72!==e)break;r.contents=n.bool();continue;case 10:if(82!==e)break;r.itemId=n.string();continue;case 11:if(88===e){r.attributesToClear.push(n.int32());continue}if(90===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.attributesToClear.push(n.int32());continue}break;case 12:if(96!==e)break;r.createItemKind=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({operation:C(e.operation)?String(e.operation):"",before:C(e.before)?String(e.before):"",after:C(e.after)?String(e.after):"",name:C(e.name)?String(e.name):"",playlist:!!C(e.playlist)&&Boolean(e.playlist),attributes:C(e.attributes)?I.fromJSON(e.attributes):void 0,uris:Array.isArray(e?.uris)?e.uris.map((e=>String(e))):[],rows:Array.isArray(e?.rows)?e.rows.map((e=>String(e))):[],contents:!!C(e.contents)&&Boolean(e.contents),itemId:C(e.itemId)?String(e.itemId):"",attributesToClear:Array.isArray(e?.attributesToClear)?e.attributesToClear.map((e=>function(e){switch(e){case 0:case"LIST_UNKNOWN":return v.LIST_UNKNOWN;case 1:case"LIST_NAME":return v.LIST_NAME;case 2:case"LIST_DESCRIPTION":return v.LIST_DESCRIPTION;case 3:case"LIST_PICTURE":return v.LIST_PICTURE;case 4:case"LIST_COLLABORATIVE":return v.LIST_COLLABORATIVE;case 5:case"LIST_PL3_VERSION":return v.LIST_PL3_VERSION;case 6:case"LIST_DELETED_BY_OWNER":return v.LIST_DELETED_BY_OWNER;case 10:case"LIST_CLIENT_ID":return v.LIST_CLIENT_ID;case 11:case"LIST_FORMAT":return v.LIST_FORMAT;case 12:case"LIST_FORMAT_ATTRIBUTES":return v.LIST_FORMAT_ATTRIBUTES;case 13:case"LIST_PICTURE_SIZE":return v.LIST_PICTURE_SIZE;case 14:case"LIST_SEQUENCE_CONTEXT_TEMPLATE":return v.LIST_SEQUENCE_CONTEXT_TEMPLATE;case 15:case"LIST_AI_CURATION_REFERENCE_ID":return v.LIST_AI_CURATION_REFERENCE_ID;default:return v.UNRECOGNIZED}}(e))):[],createItemKind:C(e.createItemKind)?T(e.createItemKind):0}),toJSON(e){const t={};return""!==e.operation&&(t.operation=e.operation),""!==e.before&&(t.before=e.before),""!==e.after&&(t.after=e.after),""!==e.name&&(t.name=e.name),!0===e.playlist&&(t.playlist=e.playlist),void 0!==e.attributes&&(t.attributes=I.toJSON(e.attributes)),e.uris?.length&&(t.uris=e.uris),e.rows?.length&&(t.rows=e.rows),!0===e.contents&&(t.contents=e.contents),""!==e.itemId&&(t.itemId=e.itemId),e.attributesToClear?.length&&(t.attributesToClear=e.attributesToClear.map((e=>function(e){switch(e){case v.LIST_UNKNOWN:return"LIST_UNKNOWN";case v.LIST_NAME:return"LIST_NAME";case v.LIST_DESCRIPTION:return"LIST_DESCRIPTION";case v.LIST_PICTURE:return"LIST_PICTURE";case v.LIST_COLLABORATIVE:return"LIST_COLLABORATIVE";case v.LIST_PL3_VERSION:return"LIST_PL3_VERSION";case v.LIST_DELETED_BY_OWNER:return"LIST_DELETED_BY_OWNER";case v.LIST_CLIENT_ID:return"LIST_CLIENT_ID";case v.LIST_FORMAT:return"LIST_FORMAT";case v.LIST_FORMAT_ATTRIBUTES:return"LIST_FORMAT_ATTRIBUTES";case v.LIST_PICTURE_SIZE:return"LIST_PICTURE_SIZE";case v.LIST_SEQUENCE_CONTEXT_TEMPLATE:return"LIST_SEQUENCE_CONTEXT_TEMPLATE";case v.LIST_AI_CURATION_REFERENCE_ID:return"LIST_AI_CURATION_REFERENCE_ID";case v.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e)))),0!==e.createItemKind&&(t.createItemKind=function(e){switch(e){case b.CREATE_ITEM_KIND_UNSPECIFIED:return"CREATE_ITEM_KIND_UNSPECIFIED";case b.CREATE_ITEM_KIND_PLAYLIST:return"CREATE_ITEM_KIND_PLAYLIST";case b.CREATE_ITEM_KIND_FOLDER:return"CREATE_ITEM_KIND_FOLDER";case b.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.createItemKind)),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={operation:"",before:"",after:"",name:"",playlist:!1,attributes:void 0,uris:[],rows:[],contents:!1,itemId:"",attributesToClear:[],createItemKind:0};return t.operation=e.operation??"",t.before=e.before??"",t.after=e.after??"",t.name=e.name??"",t.playlist=e.playlist??!1,t.attributes=void 0!==e.attributes&&null!==e.attributes?I.fromPartial(e.attributes):void 0,t.uris=e.uris?.map((e=>e))||[],t.rows=e.rows?.map((e=>e))||[],t.contents=e.contents??!1,t.itemId=e.itemId??"",t.attributesToClear=e.attributesToClear?.map((e=>e))||[],t.createItemKind=e.createItemKind??0,t}};const I={encode:(e,t=i.Writer.create())=>(!0===e.published&&t.uint32(8).bool(e.published),!0===e.collaborative&&t.uint32(16).bool(e.collaborative),""!==e.name&&t.uint32(26).string(e.name),""!==e.description&&t.uint32(34).string(e.description),""!==e.imageUri&&t.uint32(42).string(e.imageUri),""!==e.picture&&t.uint32(50).string(e.picture),""!==e.aiCurationReferenceId&&t.uint32(58).string(e.aiCurationReferenceId),0!==e.publishedState&&t.uint32(64).int32(e.publishedState),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={published:!1,collaborative:!1,name:"",description:"",imageUri:"",picture:"",aiCurationReferenceId:"",publishedState:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.published=n.bool();continue;case 2:if(16!==e)break;r.collaborative=n.bool();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(34!==e)break;r.description=n.string();continue;case 5:if(42!==e)break;r.imageUri=n.string();continue;case 6:if(50!==e)break;r.picture=n.string();continue;case 7:if(58!==e)break;r.aiCurationReferenceId=n.string();continue;case 8:if(64!==e)break;r.publishedState=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({published:!!C(e.published)&&Boolean(e.published),collaborative:!!C(e.collaborative)&&Boolean(e.collaborative),name:C(e.name)?String(e.name):"",description:C(e.description)?String(e.description):"",imageUri:C(e.imageUri)?String(e.imageUri):"",picture:C(e.picture)?String(e.picture):"",aiCurationReferenceId:C(e.aiCurationReferenceId)?String(e.aiCurationReferenceId):"",publishedState:C(e.publishedState)?S(e.publishedState):0}),toJSON(e){const t={};return!0===e.published&&(t.published=e.published),!0===e.collaborative&&(t.collaborative=e.collaborative),""!==e.name&&(t.name=e.name),""!==e.description&&(t.description=e.description),""!==e.imageUri&&(t.imageUri=e.imageUri),""!==e.picture&&(t.picture=e.picture),""!==e.aiCurationReferenceId&&(t.aiCurationReferenceId=e.aiCurationReferenceId),0!==e.publishedState&&(t.publishedState=function(e){switch(e){case y.PUBLISHED_STATE_UNSPECIFIED:return"PUBLISHED_STATE_UNSPECIFIED";case y.PUBLISHED_STATE_NOT_PUBLISHED:return"PUBLISHED_STATE_NOT_PUBLISHED";case y.PUBLISHED_STATE_PUBLISHED:return"PUBLISHED_STATE_PUBLISHED";case y.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.publishedState)),t},create:e=>I.fromPartial(e??{}),fromPartial(e){const t={published:!1,collaborative:!1,name:"",description:"",imageUri:"",picture:"",aiCurationReferenceId:"",publishedState:0};return t.published=e.published??!1,t.collaborative=e.collaborative??!1,t.name=e.name??"",t.description=e.description??"",t.imageUri=e.imageUri??"",t.picture=e.picture??"",t.aiCurationReferenceId=e.aiCurationReferenceId??"",t.publishedState=e.publishedState??0,t}};const O={encode:(e,t=i.Writer.create())=>(!0===e.success&&t.uint32(8).bool(e.success),""!==e.uri&&t.uint32(18).string(e.uri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={success:!1,uri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.success=n.bool();continue;case 2:if(18!==e)break;r.uri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({success:!!C(e.success)&&Boolean(e.success),uri:C(e.uri)?String(e.uri):""}),toJSON(e){const t={};return!0===e.success&&(t.success=e.success),""!==e.uri&&(t.uri=e.uri),t},create:e=>O.fromPartial(e??{}),fromPartial(e){const t={success:!1,uri:""};return t.success=e.success??!1,t.uri=e.uri??"",t}};function C(e){return null!=e}const R={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.request&&A.encode(e.request,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",request:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.request=A.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:P(e.uri)?String(e.uri):"",request:P(e.request)?A.fromJSON(e.request):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.request&&(t.request=A.toJSON(e.request)),t},create:e=>R.fromPartial(e??{}),fromPartial(e){const t={uri:"",request:void 0};return t.uri=e.uri??"",t.request=void 0!==e.request&&null!==e.request?A.fromPartial(e.request):void 0,t}};const N={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:P(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>N.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};function P(e){return null!=e}var L,k,w,D=n(87252);function M(e){switch(e){case 0:case"UNKNOWN":return L.UNKNOWN;case 1:case"BLOCKED":return L.BLOCKED;case 2:case"VIEWER":return L.VIEWER;case 3:case"CONTRIBUTOR":return L.CONTRIBUTOR;default:return L.UNRECOGNIZED}}function x(e){switch(e){case L.UNKNOWN:return"UNKNOWN";case L.BLOCKED:return"BLOCKED";case L.VIEWER:return"VIEWER";case L.CONTRIBUTOR:return"CONTRIBUTOR";case L.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function U(){return{revision:new Uint8Array(0),permissionLevel:0}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.BLOCKED=1]="BLOCKED",e[e.VIEWER=2]="VIEWER",e[e.CONTRIBUTOR=3]="CONTRIBUTOR",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(L||(L={})),function(e){e[e.PERMISSION_IDENTIFIER_KIND_UNSPECIFIED=0]="PERMISSION_IDENTIFIER_KIND_UNSPECIFIED",e[e.PERMISSION_IDENTIFIER_KIND_BASE=1]="PERMISSION_IDENTIFIER_KIND_BASE",e[e.PERMISSION_IDENTIFIER_KIND_MEMBER=2]="PERMISSION_IDENTIFIER_KIND_MEMBER",e[e.PERMISSION_IDENTIFIER_KIND_ABUSE=3]="PERMISSION_IDENTIFIER_KIND_ABUSE",e[e.PERMISSION_IDENTIFIER_KIND_PROFILE=4]="PERMISSION_IDENTIFIER_KIND_PROFILE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(k||(k={})),function(e){e[e.CLAIM_FAIL_REASON_UNSPECIFIED=0]="CLAIM_FAIL_REASON_UNSPECIFIED",e[e.CLAIM_FAIL_REASON_ANONYMOUS=1]="CLAIM_FAIL_REASON_ANONYMOUS",e[e.CLAIM_FAIL_REASON_NO_GRANT_FOUND=2]="CLAIM_FAIL_REASON_NO_GRANT_FOUND",e[e.CLAIM_FAIL_REASON_GRANT_EXPIRED=3]="CLAIM_FAIL_REASON_GRANT_EXPIRED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(w||(w={}));const V={encode:(e,t=i.Writer.create())=>(0!==e.revision.length&&t.uint32(10).bytes(e.revision),0!==e.permissionLevel&&t.uint32(16).int32(e.permissionLevel),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=U();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.revision=n.bytes();continue;case 2:if(16!==e)break;r.permissionLevel=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({revision:Y(e.revision)?j(e.revision):new Uint8Array(0),permissionLevel:Y(e.permissionLevel)?M(e.permissionLevel):0}),toJSON(e){const t={};return 0!==e.revision.length&&(t.revision=function(e){if(W.Buffer)return W.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),W.btoa(t.join(""))}}(e.revision)),0!==e.permissionLevel&&(t.permissionLevel=x(e.permissionLevel)),t},create:e=>V.fromPartial(e??{}),fromPartial(e){const t=U();return t.revision=e.revision??new Uint8Array(0),t.permissionLevel=e.permissionLevel??0,t}};const F={encode(e,t=i.Writer.create()){t.uint32(10).fork();for(const n of e.base)t.int32(n);t.ldelim(),t.uint32(18).fork();for(const n of e.member)t.int32(n);return t.ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={base:[],member:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8===e){r.base.push(n.int32());continue}if(10===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.base.push(n.int32());continue}break;case 2:if(16===e){r.member.push(n.int32());continue}if(18===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.member.push(n.int32());continue}}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({base:Array.isArray(e?.base)?e.base.map((e=>M(e))):[],member:Array.isArray(e?.member)?e.member.map((e=>M(e))):[]}),toJSON(e){const t={};return e.base?.length&&(t.base=e.base.map((e=>x(e)))),e.member?.length&&(t.member=e.member.map((e=>x(e)))),t},create:e=>F.fromPartial(e??{}),fromPartial(e){const t={base:[],member:[]};return t.base=e.base?.map((e=>e))||[],t.member=e.member?.map((e=>e))||[],t}};const B={encode:(e,t=i.Writer.create())=>(!0===e.canEdit&&t.uint32(8).bool(e.canEdit),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={canEdit:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.canEdit=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({canEdit:!!Y(e.canEdit)&&Boolean(e.canEdit)}),toJSON(e){const t={};return!0===e.canEdit&&(t.canEdit=e.canEdit),t},create:e=>B.fromPartial(e??{}),fromPartial(e){const t={canEdit:!1};return t.canEdit=e.canEdit??!1,t}};const H={encode:(e,t=i.Writer.create())=>(void 0!==e.name&&B.encode(e.name,t.uint32(10).fork()).ldelim(),void 0!==e.description&&B.encode(e.description,t.uint32(18).fork()).ldelim(),void 0!==e.picture&&B.encode(e.picture,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:void 0,description:void 0,picture:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=B.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.description=B.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.picture=B.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:Y(e.name)?B.fromJSON(e.name):void 0,description:Y(e.description)?B.fromJSON(e.description):void 0,picture:Y(e.picture)?B.fromJSON(e.picture):void 0}),toJSON(e){const t={};return void 0!==e.name&&(t.name=B.toJSON(e.name)),void 0!==e.description&&(t.description=B.toJSON(e.description)),void 0!==e.picture&&(t.picture=B.toJSON(e.picture)),t},create:e=>H.fromPartial(e??{}),fromPartial(e){const t={name:void 0,description:void 0,picture:void 0};return t.name=void 0!==e.name&&null!==e.name?B.fromPartial(e.name):void 0,t.description=void 0!==e.description&&null!==e.description?B.fromPartial(e.description):void 0,t.picture=void 0!==e.picture&&null!==e.picture?B.fromPartial(e.picture):void 0,t}};const G={encode(e,t=i.Writer.create()){!0===e.canView&&t.uint32(8).bool(e.canView),!0===e.canAdministratePermissions&&t.uint32(16).bool(e.canAdministratePermissions),t.uint32(26).fork();for(const n of e.grantableLevel)t.int32(n);return t.ldelim(),!0===e.canEditMetadata&&t.uint32(32).bool(e.canEditMetadata),!0===e.canEditItems&&t.uint32(40).bool(e.canEditItems),!0===e.canCancelMembership&&t.uint32(48).bool(e.canCancelMembership),void 0!==e.grantableLevels&&F.encode(e.grantableLevels,t.uint32(58).fork()).ldelim(),void 0!==e.listAttributeCapabilities&&H.encode(e.listAttributeCapabilities,t.uint32(66).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={canView:!1,canAdministratePermissions:!1,grantableLevel:[],canEditMetadata:!1,canEditItems:!1,canCancelMembership:!1,grantableLevels:void 0,listAttributeCapabilities:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.canView=n.bool();continue;case 2:if(16!==e)break;r.canAdministratePermissions=n.bool();continue;case 3:if(24===e){r.grantableLevel.push(n.int32());continue}if(26===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.grantableLevel.push(n.int32());continue}break;case 4:if(32!==e)break;r.canEditMetadata=n.bool();continue;case 5:if(40!==e)break;r.canEditItems=n.bool();continue;case 6:if(48!==e)break;r.canCancelMembership=n.bool();continue;case 7:if(58!==e)break;r.grantableLevels=F.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.listAttributeCapabilities=H.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({canView:!!Y(e.canView)&&Boolean(e.canView),canAdministratePermissions:!!Y(e.canAdministratePermissions)&&Boolean(e.canAdministratePermissions),grantableLevel:Array.isArray(e?.grantableLevel)?e.grantableLevel.map((e=>M(e))):[],canEditMetadata:!!Y(e.canEditMetadata)&&Boolean(e.canEditMetadata),canEditItems:!!Y(e.canEditItems)&&Boolean(e.canEditItems),canCancelMembership:!!Y(e.canCancelMembership)&&Boolean(e.canCancelMembership),grantableLevels:Y(e.grantableLevels)?F.fromJSON(e.grantableLevels):void 0,listAttributeCapabilities:Y(e.listAttributeCapabilities)?H.fromJSON(e.listAttributeCapabilities):void 0}),toJSON(e){const t={};return!0===e.canView&&(t.canView=e.canView),!0===e.canAdministratePermissions&&(t.canAdministratePermissions=e.canAdministratePermissions),e.grantableLevel?.length&&(t.grantableLevel=e.grantableLevel.map((e=>x(e)))),!0===e.canEditMetadata&&(t.canEditMetadata=e.canEditMetadata),!0===e.canEditItems&&(t.canEditItems=e.canEditItems),!0===e.canCancelMembership&&(t.canCancelMembership=e.canCancelMembership),void 0!==e.grantableLevels&&(t.grantableLevels=F.toJSON(e.grantableLevels)),void 0!==e.listAttributeCapabilities&&(t.listAttributeCapabilities=H.toJSON(e.listAttributeCapabilities)),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t={canView:!1,canAdministratePermissions:!1,grantableLevel:[],canEditMetadata:!1,canEditItems:!1,canCancelMembership:!1,grantableLevels:void 0,listAttributeCapabilities:void 0};return t.canView=e.canView??!1,t.canAdministratePermissions=e.canAdministratePermissions??!1,t.grantableLevel=e.grantableLevel?.map((e=>e))||[],t.canEditMetadata=e.canEditMetadata??!1,t.canEditItems=e.canEditItems??!1,t.canCancelMembership=e.canCancelMembership??!1,t.grantableLevels=void 0!==e.grantableLevels&&null!==e.grantableLevels?F.fromPartial(e.grantableLevels):void 0,t.listAttributeCapabilities=void 0!==e.listAttributeCapabilities&&null!==e.listAttributeCapabilities?H.fromPartial(e.listAttributeCapabilities):void 0,t}};const W=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function j(e){if(W.Buffer)return Uint8Array.from(W.Buffer.from(e,"base64"));{const t=W.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function Y(e){return null!=e}i.util.Long!==D&&(i.util.Long=D,i.configure());const z={encode:(e,t=i.Writer.create())=>(0!==e.permissionLevel&&t.uint32(8).int32(e.permissionLevel),0!==e.timeoutMs&&t.uint32(16).uint32(e.timeoutMs),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={permissionLevel:0,timeoutMs:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.permissionLevel=n.int32();continue;case 2:if(16!==e)break;r.timeoutMs=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({permissionLevel:J(e.permissionLevel)?M(e.permissionLevel):0,timeoutMs:J(e.timeoutMs)?Number(e.timeoutMs):0}),toJSON(e){const t={};return 0!==e.permissionLevel&&(t.permissionLevel=x(e.permissionLevel)),0!==e.timeoutMs&&(t.timeoutMs=Math.round(e.timeoutMs)),t},create:e=>z.fromPartial(e??{}),fromPartial(e){const t={permissionLevel:0,timeoutMs:0};return t.permissionLevel=e.permissionLevel??0,t.timeoutMs=e.timeoutMs??0,t}};const K={encode:(e,t=i.Writer.create())=>(void 0!==e.basePermission&&V.encode(e.basePermission,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={basePermission:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.basePermission=V.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({basePermission:J(e.basePermission)?V.fromJSON(e.basePermission):void 0}),toJSON(e){const t={};return void 0!==e.basePermission&&(t.basePermission=V.toJSON(e.basePermission)),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t={basePermission:void 0};return t.basePermission=void 0!==e.basePermission&&null!==e.basePermission?V.fromPartial(e.basePermission):void 0,t}};function J(e){return null!=e}const q={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.request&&z.encode(e.request,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",request:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.request=z.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:$(e.uri)?String(e.uri):"",request:$(e.request)?z.fromJSON(e.request):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.request&&(t.request=z.toJSON(e.request)),t},create:e=>q.fromPartial(e??{}),fromPartial(e){const t={uri:"",request:void 0};return t.uri=e.uri??"",t.request=void 0!==e.request&&null!==e.request?z.fromPartial(e.request):void 0,t}};const X={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.response&&K.encode(e.response,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,response:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.response=K.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:$(e.status)?o.fromJSON(e.status):void 0,response:$(e.response)?K.fromJSON(e.response):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.response&&(t.response=K.toJSON(e.response)),t},create:e=>X.fromPartial(e??{}),fromPartial(e){const t={status:void 0,response:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.response=void 0!==e.response&&null!==e.response?K.fromPartial(e.response):void 0,t}};function $(e){return null!=e}const Z={encode:(e,t=i.Writer.create())=>(0!==e.value&&t.uint32(8).uint32(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={value:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:ee(e.value)?Number(e.value):0}),toJSON(e){const t={};return 0!==e.value&&(t.value=Math.round(e.value)),t},create:e=>Z.fromPartial(e??{}),fromPartial(e){const t={value:0};return t.value=e.value??0,t}};const Q={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.limit&&Z.encode(e.limit,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",limit:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.limit=Z.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:ee(e.uri)?String(e.uri):"",limit:ee(e.limit)?Z.fromJSON(e.limit):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.limit&&(t.limit=Z.toJSON(e.limit)),t},create:e=>Q.fromPartial(e??{}),fromPartial(e){const t={uri:"",limit:void 0};return t.uri=e.uri??"",t.limit=void 0!==e.limit&&null!==e.limit?Z.fromPartial(e.limit):void 0,t}};function ee(e){return null!=e}const te={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.username&&t.uint32(18).string(e.username),""!==e.displayName&&t.uint32(26).string(e.displayName),""!==e.imageUri&&t.uint32(34).string(e.imageUri),""!==e.thumbnailUri&&t.uint32(42).string(e.thumbnailUri),0!==e.color&&t.uint32(48).int32(e.color),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",username:"",displayName:"",imageUri:"",thumbnailUri:"",color:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.username=n.string();continue;case 3:if(26!==e)break;r.displayName=n.string();continue;case 4:if(34!==e)break;r.imageUri=n.string();continue;case 5:if(42!==e)break;r.thumbnailUri=n.string();continue;case 6:if(48!==e)break;r.color=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:ne(e.link)?String(e.link):"",username:ne(e.username)?String(e.username):"",displayName:ne(e.displayName)?String(e.displayName):"",imageUri:ne(e.imageUri)?String(e.imageUri):"",thumbnailUri:ne(e.thumbnailUri)?String(e.thumbnailUri):"",color:ne(e.color)?Number(e.color):0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.username&&(t.username=e.username),""!==e.displayName&&(t.displayName=e.displayName),""!==e.imageUri&&(t.imageUri=e.imageUri),""!==e.thumbnailUri&&(t.thumbnailUri=e.thumbnailUri),0!==e.color&&(t.color=Math.round(e.color)),t},create:e=>te.fromPartial(e??{}),fromPartial(e){const t={link:"",username:"",displayName:"",imageUri:"",thumbnailUri:"",color:0};return t.link=e.link??"",t.username=e.username??"",t.displayName=e.displayName??"",t.imageUri=e.imageUri??"",t.thumbnailUri=e.thumbnailUri??"",t.color=e.color??0,t}};function ne(e){return null!=e}var ie;function oe(e){switch(e){case 0:case"NONE":return ie.NONE;case 1:case"CAN_BE_FOLLOWED":return ie.CAN_BE_FOLLOWED;case 2:case"CAN_BE_UNFOLLOWED":return ie.CAN_BE_UNFOLLOWED;default:return ie.UNRECOGNIZED}}!function(e){e[e.NONE=0]="NONE",e[e.CAN_BE_FOLLOWED=1]="CAN_BE_FOLLOWED",e[e.CAN_BE_UNFOLLOWED=2]="CAN_BE_UNFOLLOWED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ie||(ie={}));const re={encode:(e,t=i.Writer.create())=>(void 0!==e.user&&te.encode(e.user,t.uint32(10).fork()).ldelim(),!0===e.isOwner&&t.uint32(16).bool(e.isOwner),0!==e.numTracks&&t.uint32(24).uint32(e.numTracks),0!==e.numEpisodes&&t.uint32(32).uint32(e.numEpisodes),0!==e.followState&&t.uint32(40).int32(e.followState),0!==e.permissionLevel&&t.uint32(48).int32(e.permissionLevel),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={user:void 0,isOwner:!1,numTracks:0,numEpisodes:0,followState:0,permissionLevel:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.user=te.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.isOwner=n.bool();continue;case 3:if(24!==e)break;r.numTracks=n.uint32();continue;case 4:if(32!==e)break;r.numEpisodes=n.uint32();continue;case 5:if(40!==e)break;r.followState=n.int32();continue;case 6:if(48!==e)break;r.permissionLevel=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({user:se(e.user)?te.fromJSON(e.user):void 0,isOwner:!!se(e.isOwner)&&Boolean(e.isOwner),numTracks:se(e.numTracks)?Number(e.numTracks):0,numEpisodes:se(e.numEpisodes)?Number(e.numEpisodes):0,followState:se(e.followState)?oe(e.followState):0,permissionLevel:se(e.permissionLevel)?M(e.permissionLevel):0}),toJSON(e){const t={};return void 0!==e.user&&(t.user=te.toJSON(e.user)),!0===e.isOwner&&(t.isOwner=e.isOwner),0!==e.numTracks&&(t.numTracks=Math.round(e.numTracks)),0!==e.numEpisodes&&(t.numEpisodes=Math.round(e.numEpisodes)),0!==e.followState&&(t.followState=function(e){switch(e){case ie.NONE:return"NONE";case ie.CAN_BE_FOLLOWED:return"CAN_BE_FOLLOWED";case ie.CAN_BE_UNFOLLOWED:return"CAN_BE_UNFOLLOWED";case ie.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.followState)),0!==e.permissionLevel&&(t.permissionLevel=x(e.permissionLevel)),t},create:e=>re.fromPartial(e??{}),fromPartial(e){const t={user:void 0,isOwner:!1,numTracks:0,numEpisodes:0,followState:0,permissionLevel:0};return t.user=void 0!==e.user&&null!==e.user?te.fromPartial(e.user):void 0,t.isOwner=e.isOwner??!1,t.numTracks=e.numTracks??0,t.numEpisodes=e.numEpisodes??0,t.followState=e.followState??0,t.permissionLevel=e.permissionLevel??0,t}};const ae={encode(e,t=i.Writer.create()){""!==e.title&&t.uint32(10).string(e.title),0!==e.numTotalMembers&&t.uint32(16).uint32(e.numTotalMembers),void 0!==e.capabilities&&G.encode(e.capabilities,t.uint32(26).fork()).ldelim(),0!==e.basePermissionLevel&&t.uint32(32).int32(e.basePermissionLevel);for(const n of e.members)re.encode(n,t.uint32(42).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={title:"",numTotalMembers:0,capabilities:void 0,basePermissionLevel:0,members:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.title=n.string();continue;case 2:if(16!==e)break;r.numTotalMembers=n.uint32();continue;case 3:if(26!==e)break;r.capabilities=G.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.basePermissionLevel=n.int32();continue;case 5:if(42!==e)break;r.members.push(re.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({title:se(e.title)?String(e.title):"",numTotalMembers:se(e.numTotalMembers)?Number(e.numTotalMembers):0,capabilities:se(e.capabilities)?G.fromJSON(e.capabilities):void 0,basePermissionLevel:se(e.basePermissionLevel)?M(e.basePermissionLevel):0,members:Array.isArray(e?.members)?e.members.map((e=>re.fromJSON(e))):[]}),toJSON(e){const t={};return""!==e.title&&(t.title=e.title),0!==e.numTotalMembers&&(t.numTotalMembers=Math.round(e.numTotalMembers)),void 0!==e.capabilities&&(t.capabilities=G.toJSON(e.capabilities)),0!==e.basePermissionLevel&&(t.basePermissionLevel=x(e.basePermissionLevel)),e.members?.length&&(t.members=e.members.map((e=>re.toJSON(e)))),t},create:e=>ae.fromPartial(e??{}),fromPartial(e){const t={title:"",numTotalMembers:0,capabilities:void 0,basePermissionLevel:0,members:[]};return t.title=e.title??"",t.numTotalMembers=e.numTotalMembers??0,t.capabilities=void 0!==e.capabilities&&null!==e.capabilities?G.fromPartial(e.capabilities):void 0,t.basePermissionLevel=e.basePermissionLevel??0,t.members=e.members?.map((e=>re.fromPartial(e)))||[],t}};function se(e){return null!=e}const ce={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.response&&ae.encode(e.response,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,response:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.response=ae.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:le(e.status)?o.fromJSON(e.status):void 0,response:le(e.response)?ae.fromJSON(e.response):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.response&&(t.response=ae.toJSON(e.response)),t},create:e=>ce.fromPartial(e??{}),fromPartial(e){const t={status:void 0,response:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.response=void 0!==e.response&&null!==e.response?ae.fromPartial(e.response):void 0,t}};function le(e){return null!=e}const ue={encode:(e,t=i.Writer.create())=>(""!==e.playlistUri&&t.uint32(10).string(e.playlistUri),""!==e.username&&t.uint32(18).string(e.username),0!==e.permissionLevel&&t.uint32(24).int32(e.permissionLevel),0!==e.timeoutMs&&t.uint32(32).uint32(e.timeoutMs),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistUri:"",username:"",permissionLevel:0,timeoutMs:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistUri=n.string();continue;case 2:if(18!==e)break;r.username=n.string();continue;case 3:if(24!==e)break;r.permissionLevel=n.int32();continue;case 4:if(32!==e)break;r.timeoutMs=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistUri:de(e.playlistUri)?String(e.playlistUri):"",username:de(e.username)?String(e.username):"",permissionLevel:de(e.permissionLevel)?M(e.permissionLevel):0,timeoutMs:de(e.timeoutMs)?Number(e.timeoutMs):0}),toJSON(e){const t={};return""!==e.playlistUri&&(t.playlistUri=e.playlistUri),""!==e.username&&(t.username=e.username),0!==e.permissionLevel&&(t.permissionLevel=x(e.permissionLevel)),0!==e.timeoutMs&&(t.timeoutMs=Math.round(e.timeoutMs)),t},create:e=>ue.fromPartial(e??{}),fromPartial(e){const t={playlistUri:"",username:"",permissionLevel:0,timeoutMs:0};return t.playlistUri=e.playlistUri??"",t.username=e.username??"",t.permissionLevel=e.permissionLevel??0,t.timeoutMs=e.timeoutMs??0,t}};function de(e){return null!=e}const pe={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{status:(t=e.status,null!=t?o.fromJSON(e.status):void 0)};var t},toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>pe.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};const he={encode(e,t=i.Writer.create()){for(const n of e.items)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={items:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.items.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({items:Array.isArray(e?.items)?e.items.map((e=>String(e))):[]}),toJSON(e){const t={};return e.items?.length&&(t.items=e.items),t},create:e=>he.fromPartial(e??{}),fromPartial(e){const t={items:[]};return t.items=e.items?.map((e=>e))||[],t}};const fe={encode(e,t=i.Writer.create()){t.uint32(10).fork();for(const n of e.found)t.bool(n);return t.ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={found:[]};for(;n.pos<o;){const e=n.uint32();if(e>>>3==1){if(8===e){r.found.push(n.bool());continue}if(10===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.found.push(n.bool());continue}}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({found:Array.isArray(e?.found)?e.found.map((e=>Boolean(e))):[]}),toJSON(e){const t={};return e.found?.length&&(t.found=e.found),t},create:e=>fe.fromPartial(e??{}),fromPartial(e){const t={found:[]};return t.found=e.found?.map((e=>e))||[],t}};const me={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.request&&he.encode(e.request,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",request:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.request=he.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:ge(e.uri)?String(e.uri):"",request:ge(e.request)?he.fromJSON(e.request):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.request&&(t.request=he.toJSON(e.request)),t},create:e=>me.fromPartial(e??{}),fromPartial(e){const t={uri:"",request:void 0};return t.uri=e.uri??"",t.request=void 0!==e.request&&null!==e.request?he.fromPartial(e.request):void 0,t}};const _e={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.response&&fe.encode(e.response,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,response:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.response=fe.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:ge(e.status)?o.fromJSON(e.status):void 0,response:ge(e.response)?fe.fromJSON(e.response):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.response&&(t.response=fe.toJSON(e.response)),t},create:e=>_e.fromPartial(e??{}),fromPartial(e){const t={status:void 0,response:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.response=void 0!==e.response&&null!==e.response?fe.fromPartial(e.response):void 0,t}};function ge(e){return null!=e}var Ee,ve,ye,be;n(98263);function Se(e){switch(e){case 0:case"EMPTY":return Ee.EMPTY;case 1:case"ARTIST":return Ee.ARTIST;case 2:case"ALBUM":return Ee.ALBUM;case 4:case"TRACK":return Ee.TRACK;case 9:case"LOCAL_TRACK":return Ee.LOCAL_TRACK;case 62:case"SHOW":return Ee.SHOW;case 63:case"EPISODE":return Ee.EPISODE;default:return Ee.UNRECOGNIZED}}function Te(e){switch(e){case Ee.EMPTY:return"EMPTY";case Ee.ARTIST:return"ARTIST";case Ee.ALBUM:return"ALBUM";case Ee.TRACK:return"TRACK";case Ee.LOCAL_TRACK:return"LOCAL_TRACK";case Ee.SHOW:return"SHOW";case Ee.EPISODE:return"EPISODE";case Ee.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function Ae(e){switch(e){case 0:case"NO_RESTRICTION":return ve.NO_RESTRICTION;case 1:case"RESTRICT_SOURCE_TO_50":return ve.RESTRICT_SOURCE_TO_50;case 2:case"RESTRICT_SOURCE_TO_500":return ve.RESTRICT_SOURCE_TO_500;default:return ve.UNRECOGNIZED}}function Ie(e){switch(e){case 0:case"NO_SORT":return be.NO_SORT;case 1:case"ALBUM_ARTIST_NAME_ASC":return be.ALBUM_ARTIST_NAME_ASC;case 2:case"ALBUM_ARTIST_NAME_DESC":return be.ALBUM_ARTIST_NAME_DESC;case 3:case"TRACK_NUMBER_ASC":return be.TRACK_NUMBER_ASC;case 4:case"TRACK_NUMBER_DESC":return be.TRACK_NUMBER_DESC;case 5:case"DISC_NUMBER_ASC":return be.DISC_NUMBER_ASC;case 6:case"DISC_NUMBER_DESC":return be.DISC_NUMBER_DESC;case 7:case"ALBUM_NAME_ASC":return be.ALBUM_NAME_ASC;case 8:case"ALBUM_NAME_DESC":return be.ALBUM_NAME_DESC;case 9:case"ARTIST_NAME_ASC":return be.ARTIST_NAME_ASC;case 10:case"ARTIST_NAME_DESC":return be.ARTIST_NAME_DESC;case 11:case"NAME_ASC":return be.NAME_ASC;case 12:case"NAME_DESC":return be.NAME_DESC;case 13:case"ADD_TIME_ASC":return be.ADD_TIME_ASC;case 14:case"ADD_TIME_DESC":return be.ADD_TIME_DESC;case 15:case"ADDED_BY_ASC":return be.ADDED_BY_ASC;case 16:case"ADDED_BY_DESC":return be.ADDED_BY_DESC;case 17:case"DURATION_ASC":return be.DURATION_ASC;case 18:case"DURATION_DESC":return be.DURATION_DESC;case 19:case"SHOW_NAME_ASC":return be.SHOW_NAME_ASC;case 20:case"SHOW_NAME_DESC":return be.SHOW_NAME_DESC;case 21:case"PUBLISH_DATE_ASC":return be.PUBLISH_DATE_ASC;case 22:case"PUBLISH_DATE_DESC":return be.PUBLISH_DATE_DESC;default:return be.UNRECOGNIZED}}!function(e){e[e.EMPTY=0]="EMPTY",e[e.ARTIST=1]="ARTIST",e[e.ALBUM=2]="ALBUM",e[e.TRACK=4]="TRACK",e[e.LOCAL_TRACK=9]="LOCAL_TRACK",e[e.SHOW=62]="SHOW",e[e.EPISODE=63]="EPISODE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ee||(Ee={})),function(e){e[e.NO_RESTRICTION=0]="NO_RESTRICTION",e[e.RESTRICT_SOURCE_TO_50=1]="RESTRICT_SOURCE_TO_50",e[e.RESTRICT_SOURCE_TO_500=2]="RESTRICT_SOURCE_TO_500",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ve||(ve={})),function(e){e[e.NO_FILTER=0]="NO_FILTER",e[e.AVAILABLE=1]="AVAILABLE",e[e.AVAILABLE_OFFLINE=2]="AVAILABLE_OFFLINE",e[e.ARTIST_NOT_BANNED=3]="ARTIST_NOT_BANNED",e[e.NOT_BANNED=4]="NOT_BANNED",e[e.NOT_EXPLICIT=5]="NOT_EXPLICIT",e[e.NOT_EPISODE=6]="NOT_EPISODE",e[e.NOT_RECOMMENDATION=7]="NOT_RECOMMENDATION",e[e.UNPLAYED=8]="UNPLAYED",e[e.IN_PROGRESS=9]="IN_PROGRESS",e[e.NOT_FULLY_PLAYED=10]="NOT_FULLY_PLAYED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ye||(ye={})),function(e){e[e.NO_SORT=0]="NO_SORT",e[e.ALBUM_ARTIST_NAME_ASC=1]="ALBUM_ARTIST_NAME_ASC",e[e.ALBUM_ARTIST_NAME_DESC=2]="ALBUM_ARTIST_NAME_DESC",e[e.TRACK_NUMBER_ASC=3]="TRACK_NUMBER_ASC",e[e.TRACK_NUMBER_DESC=4]="TRACK_NUMBER_DESC",e[e.DISC_NUMBER_ASC=5]="DISC_NUMBER_ASC",e[e.DISC_NUMBER_DESC=6]="DISC_NUMBER_DESC",e[e.ALBUM_NAME_ASC=7]="ALBUM_NAME_ASC",e[e.ALBUM_NAME_DESC=8]="ALBUM_NAME_DESC",e[e.ARTIST_NAME_ASC=9]="ARTIST_NAME_ASC",e[e.ARTIST_NAME_DESC=10]="ARTIST_NAME_DESC",e[e.NAME_ASC=11]="NAME_ASC",e[e.NAME_DESC=12]="NAME_DESC",e[e.ADD_TIME_ASC=13]="ADD_TIME_ASC",e[e.ADD_TIME_DESC=14]="ADD_TIME_DESC",e[e.ADDED_BY_ASC=15]="ADDED_BY_ASC",e[e.ADDED_BY_DESC=16]="ADDED_BY_DESC",e[e.DURATION_ASC=17]="DURATION_ASC",e[e.DURATION_DESC=18]="DURATION_DESC",e[e.SHOW_NAME_ASC=19]="SHOW_NAME_ASC",e[e.SHOW_NAME_DESC=20]="SHOW_NAME_DESC",e[e.PUBLISH_DATE_ASC=21]="PUBLISH_DATE_ASC",e[e.PUBLISH_DATE_DESC=22]="PUBLISH_DATE_DESC",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(be||(be={}));const Oe={encode:(e,t=i.Writer.create())=>(0!==e.start&&t.uint32(8).int32(e.start),0!==e.length&&t.uint32(16).int32(e.length),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={start:0,length:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.start=n.int32();continue;case 2:if(16!==e)break;r.length=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({start:Ne(e.start)?Number(e.start):0,length:Ne(e.length)?Number(e.length):0}),toJSON(e){const t={};return 0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),t},create:e=>Oe.fromPartial(e??{}),fromPartial(e){const t={start:0,length:0};return t.start=e.start??0,t.length=e.length??0,t}};const Ce={encode(e,t=i.Writer.create()){t.uint32(10).fork();for(const n of e.boolPredicates)t.int32(n);t.ldelim(),""!==e.textFilter&&t.uint32(18).string(e.textFilter),0!==e.sortBy&&t.uint32(24).int32(e.sortBy),void 0!==e.range&&Oe.encode(e.range,t.uint32(34).fork()).ldelim(),0!==e.updateThrottlingMs&&t.uint32(40).int32(e.updateThrottlingMs),!0===e.group&&t.uint32(48).bool(e.group),0!==e.sourceRestriction&&t.uint32(56).int32(e.sourceRestriction),!0===e.showUnavailable&&t.uint32(64).bool(e.showUnavailable),!0===e.alwaysShowWindowed&&t.uint32(72).bool(e.alwaysShowWindowed),!0===e.loadRecommendations&&t.uint32(80).bool(e.loadRecommendations),t.uint32(90).fork();for(const n of e.supportedPlaceholderTypes)t.int32(n);t.ldelim();for(const n of e.descriptorFilter)t.uint32(98).string(n);""!==e.itemIdFilter&&t.uint32(106).string(e.itemIdFilter);for(const n of e.attributeFilter)Re.encode(n,t.uint32(114).fork()).ldelim();return!0===e.includeAllPlaceholders&&t.uint32(120).bool(e.includeAllPlaceholders),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={boolPredicates:[],textFilter:"",sortBy:0,range:void 0,updateThrottlingMs:0,group:!1,sourceRestriction:0,showUnavailable:!1,alwaysShowWindowed:!1,loadRecommendations:!1,supportedPlaceholderTypes:[],descriptorFilter:[],itemIdFilter:"",attributeFilter:[],includeAllPlaceholders:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8===e){r.boolPredicates.push(n.int32());continue}if(10===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.boolPredicates.push(n.int32());continue}break;case 2:if(18!==e)break;r.textFilter=n.string();continue;case 3:if(24!==e)break;r.sortBy=n.int32();continue;case 4:if(34!==e)break;r.range=Oe.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.updateThrottlingMs=n.int32();continue;case 6:if(48!==e)break;r.group=n.bool();continue;case 7:if(56!==e)break;r.sourceRestriction=n.int32();continue;case 8:if(64!==e)break;r.showUnavailable=n.bool();continue;case 9:if(72!==e)break;r.alwaysShowWindowed=n.bool();continue;case 10:if(80!==e)break;r.loadRecommendations=n.bool();continue;case 11:if(88===e){r.supportedPlaceholderTypes.push(n.int32());continue}if(90===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.supportedPlaceholderTypes.push(n.int32());continue}break;case 12:if(98!==e)break;r.descriptorFilter.push(n.string());continue;case 13:if(106!==e)break;r.itemIdFilter=n.string();continue;case 14:if(114!==e)break;r.attributeFilter.push(Re.decode(n,n.uint32()));continue;case 15:if(120!==e)break;r.includeAllPlaceholders=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({boolPredicates:Array.isArray(e?.boolPredicates)?e.boolPredicates.map((e=>function(e){switch(e){case 0:case"NO_FILTER":return ye.NO_FILTER;case 1:case"AVAILABLE":return ye.AVAILABLE;case 2:case"AVAILABLE_OFFLINE":return ye.AVAILABLE_OFFLINE;case 3:case"ARTIST_NOT_BANNED":return ye.ARTIST_NOT_BANNED;case 4:case"NOT_BANNED":return ye.NOT_BANNED;case 5:case"NOT_EXPLICIT":return ye.NOT_EXPLICIT;case 6:case"NOT_EPISODE":return ye.NOT_EPISODE;case 7:case"NOT_RECOMMENDATION":return ye.NOT_RECOMMENDATION;case 8:case"UNPLAYED":return ye.UNPLAYED;case 9:case"IN_PROGRESS":return ye.IN_PROGRESS;case 10:case"NOT_FULLY_PLAYED":return ye.NOT_FULLY_PLAYED;default:return ye.UNRECOGNIZED}}(e))):[],textFilter:Ne(e.textFilter)?String(e.textFilter):"",sortBy:Ne(e.sortBy)?Ie(e.sortBy):0,range:Ne(e.range)?Oe.fromJSON(e.range):void 0,updateThrottlingMs:Ne(e.updateThrottlingMs)?Number(e.updateThrottlingMs):0,group:!!Ne(e.group)&&Boolean(e.group),sourceRestriction:Ne(e.sourceRestriction)?Ae(e.sourceRestriction):0,showUnavailable:!!Ne(e.showUnavailable)&&Boolean(e.showUnavailable),alwaysShowWindowed:!!Ne(e.alwaysShowWindowed)&&Boolean(e.alwaysShowWindowed),loadRecommendations:!!Ne(e.loadRecommendations)&&Boolean(e.loadRecommendations),supportedPlaceholderTypes:Array.isArray(e?.supportedPlaceholderTypes)?e.supportedPlaceholderTypes.map((e=>Se(e))):[],descriptorFilter:Array.isArray(e?.descriptorFilter)?e.descriptorFilter.map((e=>String(e))):[],itemIdFilter:Ne(e.itemIdFilter)?String(e.itemIdFilter):"",attributeFilter:Array.isArray(e?.attributeFilter)?e.attributeFilter.map((e=>Re.fromJSON(e))):[],includeAllPlaceholders:!!Ne(e.includeAllPlaceholders)&&Boolean(e.includeAllPlaceholders)}),toJSON(e){const t={};return e.boolPredicates?.length&&(t.boolPredicates=e.boolPredicates.map((e=>function(e){switch(e){case ye.NO_FILTER:return"NO_FILTER";case ye.AVAILABLE:return"AVAILABLE";case ye.AVAILABLE_OFFLINE:return"AVAILABLE_OFFLINE";case ye.ARTIST_NOT_BANNED:return"ARTIST_NOT_BANNED";case ye.NOT_BANNED:return"NOT_BANNED";case ye.NOT_EXPLICIT:return"NOT_EXPLICIT";case ye.NOT_EPISODE:return"NOT_EPISODE";case ye.NOT_RECOMMENDATION:return"NOT_RECOMMENDATION";case ye.UNPLAYED:return"UNPLAYED";case ye.IN_PROGRESS:return"IN_PROGRESS";case ye.NOT_FULLY_PLAYED:return"NOT_FULLY_PLAYED";case ye.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e)))),""!==e.textFilter&&(t.textFilter=e.textFilter),0!==e.sortBy&&(t.sortBy=function(e){switch(e){case be.NO_SORT:return"NO_SORT";case be.ALBUM_ARTIST_NAME_ASC:return"ALBUM_ARTIST_NAME_ASC";case be.ALBUM_ARTIST_NAME_DESC:return"ALBUM_ARTIST_NAME_DESC";case be.TRACK_NUMBER_ASC:return"TRACK_NUMBER_ASC";case be.TRACK_NUMBER_DESC:return"TRACK_NUMBER_DESC";case be.DISC_NUMBER_ASC:return"DISC_NUMBER_ASC";case be.DISC_NUMBER_DESC:return"DISC_NUMBER_DESC";case be.ALBUM_NAME_ASC:return"ALBUM_NAME_ASC";case be.ALBUM_NAME_DESC:return"ALBUM_NAME_DESC";case be.ARTIST_NAME_ASC:return"ARTIST_NAME_ASC";case be.ARTIST_NAME_DESC:return"ARTIST_NAME_DESC";case be.NAME_ASC:return"NAME_ASC";case be.NAME_DESC:return"NAME_DESC";case be.ADD_TIME_ASC:return"ADD_TIME_ASC";case be.ADD_TIME_DESC:return"ADD_TIME_DESC";case be.ADDED_BY_ASC:return"ADDED_BY_ASC";case be.ADDED_BY_DESC:return"ADDED_BY_DESC";case be.DURATION_ASC:return"DURATION_ASC";case be.DURATION_DESC:return"DURATION_DESC";case be.SHOW_NAME_ASC:return"SHOW_NAME_ASC";case be.SHOW_NAME_DESC:return"SHOW_NAME_DESC";case be.PUBLISH_DATE_ASC:return"PUBLISH_DATE_ASC";case be.PUBLISH_DATE_DESC:return"PUBLISH_DATE_DESC";case be.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.sortBy)),void 0!==e.range&&(t.range=Oe.toJSON(e.range)),0!==e.updateThrottlingMs&&(t.updateThrottlingMs=Math.round(e.updateThrottlingMs)),!0===e.group&&(t.group=e.group),0!==e.sourceRestriction&&(t.sourceRestriction=function(e){switch(e){case ve.NO_RESTRICTION:return"NO_RESTRICTION";case ve.RESTRICT_SOURCE_TO_50:return"RESTRICT_SOURCE_TO_50";case ve.RESTRICT_SOURCE_TO_500:return"RESTRICT_SOURCE_TO_500";case ve.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.sourceRestriction)),!0===e.showUnavailable&&(t.showUnavailable=e.showUnavailable),!0===e.alwaysShowWindowed&&(t.alwaysShowWindowed=e.alwaysShowWindowed),!0===e.loadRecommendations&&(t.loadRecommendations=e.loadRecommendations),e.supportedPlaceholderTypes?.length&&(t.supportedPlaceholderTypes=e.supportedPlaceholderTypes.map((e=>Te(e)))),e.descriptorFilter?.length&&(t.descriptorFilter=e.descriptorFilter),""!==e.itemIdFilter&&(t.itemIdFilter=e.itemIdFilter),e.attributeFilter?.length&&(t.attributeFilter=e.attributeFilter.map((e=>Re.toJSON(e)))),!0===e.includeAllPlaceholders&&(t.includeAllPlaceholders=e.includeAllPlaceholders),t},create:e=>Ce.fromPartial(e??{}),fromPartial(e){const t={boolPredicates:[],textFilter:"",sortBy:0,range:void 0,updateThrottlingMs:0,group:!1,sourceRestriction:0,showUnavailable:!1,alwaysShowWindowed:!1,loadRecommendations:!1,supportedPlaceholderTypes:[],descriptorFilter:[],itemIdFilter:"",attributeFilter:[],includeAllPlaceholders:!1};return t.boolPredicates=e.boolPredicates?.map((e=>e))||[],t.textFilter=e.textFilter??"",t.sortBy=e.sortBy??0,t.range=void 0!==e.range&&null!==e.range?Oe.fromPartial(e.range):void 0,t.updateThrottlingMs=e.updateThrottlingMs??0,t.group=e.group??!1,t.sourceRestriction=e.sourceRestriction??0,t.showUnavailable=e.showUnavailable??!1,t.alwaysShowWindowed=e.alwaysShowWindowed??!1,t.loadRecommendations=e.loadRecommendations??!1,t.supportedPlaceholderTypes=e.supportedPlaceholderTypes?.map((e=>e))||[],t.descriptorFilter=e.descriptorFilter?.map((e=>e))||[],t.itemIdFilter=e.itemIdFilter??"",t.attributeFilter=e.attributeFilter?.map((e=>Re.fromPartial(e)))||[],t.includeAllPlaceholders=e.includeAllPlaceholders??!1,t}};const Re={encode(e,t=i.Writer.create()){for(const n of e.containsOneOf)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={containsOneOf:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.containsOneOf.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({containsOneOf:Array.isArray(e?.containsOneOf)?e.containsOneOf.map((e=>String(e))):[]}),toJSON(e){const t={};return e.containsOneOf?.length&&(t.containsOneOf=e.containsOneOf),t},create:e=>Re.fromPartial(e??{}),fromPartial(e){const t={containsOneOf:[]};return t.containsOneOf=e.containsOneOf?.map((e=>e))||[],t}};function Ne(e){return null!=e}var Pe;function Le(e){switch(e){case 0:case"NONE":return Pe.NONE;case 1:case"SET_AS_AVAILABLE_OFFLINE":return Pe.SET_AS_AVAILABLE_OFFLINE;case 2:case"REMOVE_AS_AVAILABLE_OFFLINE":return Pe.REMOVE_AS_AVAILABLE_OFFLINE;default:return Pe.UNRECOGNIZED}}!function(e){e[e.NONE=0]="NONE",e[e.SET_AS_AVAILABLE_OFFLINE=1]="SET_AS_AVAILABLE_OFFLINE",e[e.REMOVE_AS_AVAILABLE_OFFLINE=2]="REMOVE_AS_AVAILABLE_OFFLINE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Pe||(Pe={}));const ke={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.query&&Ce.encode(e.query,t.uint32(18).fork()).ldelim(),0!==e.action&&t.uint32(24).int32(e.action),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",query:void 0,action:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.query=Ce.decode(n,n.uint32());continue;case 3:if(24!==e)break;r.action=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:De(e.uri)?String(e.uri):"",query:De(e.query)?Ce.fromJSON(e.query):void 0,action:De(e.action)?Le(e.action):0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.query&&(t.query=Ce.toJSON(e.query)),0!==e.action&&(t.action=function(e){switch(e){case Pe.NONE:return"NONE";case Pe.SET_AS_AVAILABLE_OFFLINE:return"SET_AS_AVAILABLE_OFFLINE";case Pe.REMOVE_AS_AVAILABLE_OFFLINE:return"REMOVE_AS_AVAILABLE_OFFLINE";case Pe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.action)),t},create:e=>ke.fromPartial(e??{}),fromPartial(e){const t={uri:"",query:void 0,action:0};return t.uri=e.uri??"",t.query=void 0!==e.query&&null!==e.query?Ce.fromPartial(e.query):void 0,t.action=e.action??0,t}};const we={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:De(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>we.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};function De(e){return null!=e}const Me={encode(e,t=i.Writer.create()){for(const n of e.playlistUris)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistUris:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistUris.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistUris:Array.isArray(e?.playlistUris)?e.playlistUris.map((e=>String(e))):[]}),toJSON(e){const t={};return e.playlistUris?.length&&(t.playlistUris=e.playlistUris),t},create:e=>Me.fromPartial(e??{}),fromPartial(e){const t={playlistUris:[]};return t.playlistUris=e.playlistUris?.map((e=>e))||[],t}};const xe={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{status:(t=e.status,null!=t?o.fromJSON(e.status):void 0)};var t},toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>xe.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};const Ue={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.token&&t.uint32(18).string(e.token),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",token:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.token=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Fe(e.uri)?String(e.uri):"",token:Fe(e.token)?String(e.token):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),""!==e.token&&(t.token=e.token),t},create:e=>Ue.fromPartial(e??{}),fromPartial(e){const t={uri:"",token:""};return t.uri=e.uri??"",t.token=e.token??"",t}};const Ve={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Fe(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>Ve.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};function Fe(e){return null!=e}const Be={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Ge(e.uri)?String(e.uri):""}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),t},create:e=>Be.fromPartial(e??{}),fromPartial(e){const t={uri:""};return t.uri=e.uri??"",t}};const He={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Ge(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>He.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};function Ge(e){return null!=e}class We{transport;options;constructor(e,t={}){this.transport=e,this.options=t}requestLenses(e,t){const n=We.SERVICE_ID,o="RequestLenses",r=s.fromPartial(e),a=s.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=c.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}signalItem(e,t){const n=We.SERVICE_ID,o="SignalItem",r=p.fromPartial(e),a=p.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=f.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}signal(e,t){const n=We.SERVICE_ID,o="Signal",r=h.fromPartial(e),a=h.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=m.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}modify(e,t){const n=We.SERVICE_ID,o="Modify",r=R.fromPartial(e),a=R.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=N.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setBasePermission(e,t){const n=We.SERVICE_ID,o="SetBasePermission",r=q.fromPartial(e),a=q.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=X.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getMembers(e,t){const n=We.SERVICE_ID,o="GetMembers",r=Q.fromPartial(e),a=Q.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ce.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribeToMembers(e,t){const n=We.SERVICE_ID,o="SubscribeToMembers",r=Q.fromPartial(e),a=Q.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=ce.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}setMemberPermission(e,t){const n=We.SERVICE_ID,o="SetMemberPermission",r=ue.fromPartial(e),a=ue.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=pe.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}contains(e,t){const n=We.SERVICE_ID,o="Contains",r=me.fromPartial(e),a=me.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=_e.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setOfflineState(e,t){const n=We.SERVICE_ID,o="SetOfflineState",r=ke.fromPartial(e),a=ke.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=we.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}resync(e,t){const n=We.SERVICE_ID,o="Resync",r=Me.fromPartial(e),a=Me.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=xe.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}setToken(e,t){const n=We.SERVICE_ID,o="SetToken",r=Ue.fromPartial(e),a=Ue.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Ve.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}clearToken(e,t){const n=We.SERVICE_ID,o="ClearToken",r=Be.fromPartial(e),a=Be.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=He.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.playlist_esperanto.proto.PlaylistService";static METHODS={requestLenses:{isStreaming:!1,requestType:s,responseType:c},signalItem:{isStreaming:!1,requestType:p,responseType:f},signal:{isStreaming:!1,requestType:h,responseType:m},modify:{isStreaming:!1,requestType:R,responseType:N},setBasePermission:{isStreaming:!1,requestType:q,responseType:X},getMembers:{isStreaming:!1,requestType:Q,responseType:ce},subscribeToMembers:{isStreaming:!0,requestType:Q,responseType:ce},setMemberPermission:{isStreaming:!1,requestType:ue,responseType:pe},contains:{isStreaming:!1,requestType:me,responseType:_e},setOfflineState:{isStreaming:!1,requestType:ke,responseType:we},resync:{isStreaming:!1,requestType:Me,responseType:xe},setToken:{isStreaming:!1,requestType:Ue,responseType:Ve},clearToken:{isStreaming:!1,requestType:Be,responseType:He}};static DECODERS={RequestLenses:{request:s.decode,response:c.decode},SignalItem:{request:p.decode,response:f.decode},Signal:{request:h.decode,response:m.decode},Modify:{request:R.decode,response:N.decode},SetBasePermission:{request:q.decode,response:X.decode},GetMembers:{request:Q.decode,response:ce.decode},SubscribeToMembers:{request:Q.decode,response:ce.decode},SetMemberPermission:{request:ue.decode,response:pe.decode},Contains:{request:me.decode,response:_e.decode},SetOfflineState:{request:ke.decode,response:we.decode},Resync:{request:Me.decode,response:xe.decode},SetToken:{request:Ue.decode,response:Ve.decode},ClearToken:{request:Be.decode,response:He.decode}}}const je={encode(e,t=i.Writer.create()){""!==e.playlistUri&&t.uint32(10).string(e.playlistUri);for(const n of e.itemUris)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistUri:"",itemUris:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistUri=n.string();continue;case 2:if(18!==e)break;r.itemUris.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistUri:Ke(e.playlistUri)?String(e.playlistUri):"",itemUris:Array.isArray(e?.itemUris)?e.itemUris.map((e=>String(e))):[]}),toJSON(e){const t={};return""!==e.playlistUri&&(t.playlistUri=e.playlistUri),e.itemUris?.length&&(t.itemUris=e.itemUris),t},create:e=>je.fromPartial(e??{}),fromPartial(e){const t={playlistUri:"",itemUris:[]};return t.playlistUri=e.playlistUri??"",t.itemUris=e.itemUris?.map((e=>e))||[],t}};const Ye={encode(e,t=i.Writer.create()){""!==e.uri&&t.uint32(10).string(e.uri);for(const n of e.rowIds)t.uint32(18).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",rowIds:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.rowIds.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Ke(e.uri)?String(e.uri):"",rowIds:Array.isArray(e?.rowIds)?e.rowIds.map((e=>String(e))):[]}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),e.rowIds?.length&&(t.rowIds=e.rowIds),t},create:e=>Ye.fromPartial(e??{}),fromPartial(e){const t={uri:"",rowIds:[]};return t.uri=e.uri??"",t.rowIds=e.rowIds?.map((e=>e))||[],t}};const ze={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.items)Ye.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,items:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.items.push(Ye.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Ke(e.status)?o.fromJSON(e.status):void 0,items:Array.isArray(e?.items)?e.items.map((e=>Ye.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.items?.length&&(t.items=e.items.map((e=>Ye.toJSON(e)))),t},create:e=>ze.fromPartial(e??{}),fromPartial(e){const t={status:void 0,items:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.items=e.items?.map((e=>Ye.fromPartial(e)))||[],t}};function Ke(e){return null!=e}function Je(){return{seconds:BigInt("0"),nanos:0}}const qe={encode:(e,t=i.Writer.create())=>(e.seconds!==BigInt("0")&&t.uint32(8).int64(e.seconds.toString()),0!==e.nanos&&t.uint32(16).int32(e.nanos),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Je();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.seconds=(a=n.int64(),BigInt(a.toString()));continue;case 2:if(16!==e)break;r.nanos=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({seconds:Xe(e.seconds)?BigInt(e.seconds):BigInt("0"),nanos:Xe(e.nanos)?Number(e.nanos):0}),toJSON(e){const t={};return e.seconds!==BigInt("0")&&(t.seconds=e.seconds.toString()),0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t},create:e=>qe.fromPartial(e??{}),fromPartial(e){const t=Je();return t.seconds=e.seconds??BigInt("0"),t.nanos=e.nanos??0,t}};function Xe(e){return null!=e}i.util.Long!==D&&(i.util.Long=D,i.configure());const $e={encode:(e,t=i.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isNew&&t.uint32(16).bool(e.isNew),!0===e.isInListenLater&&t.uint32(24).bool(e.isInListenLater),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isNew:!1,isInListenLater:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isNew=n.bool();continue;case 3:if(24!==e)break;r.isInListenLater=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!Ze(e.isFollowingShow)&&Boolean(e.isFollowingShow),isNew:!!Ze(e.isNew)&&Boolean(e.isNew),isInListenLater:!!Ze(e.isInListenLater)&&Boolean(e.isInListenLater)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isNew&&(t.isNew=e.isNew),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),t},create:e=>$e.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isNew:!1,isInListenLater:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isNew=e.isNew??!1,t.isInListenLater=e.isInListenLater??!1,t}};function Ze(e){return null!=e}var Qe;function et(e){switch(e){case 0:case"UNKNOWN_EXTENSION":return Qe.UNKNOWN_EXTENSION;case 1:case"CANVAZ":return Qe.CANVAZ;case 2:case"STORYLINES":return Qe.STORYLINES;case 3:case"PODCAST_TOPICS":return Qe.PODCAST_TOPICS;case 4:case"PODCAST_SEGMENTS":return Qe.PODCAST_SEGMENTS;case 5:case"AUDIO_FILES":return Qe.AUDIO_FILES;case 6:case"TRACK_DESCRIPTOR":return Qe.TRACK_DESCRIPTOR;case 7:case"PODCAST_COUNTER":return Qe.PODCAST_COUNTER;case 8:case"ARTIST_V4":return Qe.ARTIST_V4;case 9:case"ALBUM_V4":return Qe.ALBUM_V4;case 10:case"TRACK_V4":return Qe.TRACK_V4;case 11:case"SHOW_V4":return Qe.SHOW_V4;case 12:case"EPISODE_V4":return Qe.EPISODE_V4;case 13:case"PODCAST_HTML_DESCRIPTION":return Qe.PODCAST_HTML_DESCRIPTION;case 14:case"PODCAST_QUOTES":return Qe.PODCAST_QUOTES;case 15:case"USER_PROFILE":return Qe.USER_PROFILE;case 16:case"CANVAS_V1":return Qe.CANVAS_V1;case 17:case"SHOW_V4_BASE":return Qe.SHOW_V4_BASE;case 18:case"SHOW_V4_EPISODES_ASSOC":return Qe.SHOW_V4_EPISODES_ASSOC;case 19:case"TRACK_DESCRIPTOR_SIGNATURES":return Qe.TRACK_DESCRIPTOR_SIGNATURES;case 20:case"PODCAST_AD_SEGMENTS":return Qe.PODCAST_AD_SEGMENTS;case 21:case"EPISODE_TRANSCRIPTS":return Qe.EPISODE_TRANSCRIPTS;case 22:case"PODCAST_SUBSCRIPTIONS":return Qe.PODCAST_SUBSCRIPTIONS;case 23:case"EXTRACTED_COLOR":return Qe.EXTRACTED_COLOR;case 24:case"PODCAST_VIRALITY":return Qe.PODCAST_VIRALITY;case 25:case"IMAGE_SPARKLES_HACK":return Qe.IMAGE_SPARKLES_HACK;case 26:case"PODCAST_POPULARITY_HACK":return Qe.PODCAST_POPULARITY_HACK;case 27:case"AUTOMIX_MODE":return Qe.AUTOMIX_MODE;case 28:case"CUEPOINTS":return Qe.CUEPOINTS;case 29:case"PODCAST_POLL":return Qe.PODCAST_POLL;case 30:case"EPISODE_ACCESS":return Qe.EPISODE_ACCESS;case 31:case"SHOW_ACCESS":return Qe.SHOW_ACCESS;case 32:case"PODCAST_QNA":return Qe.PODCAST_QNA;case 33:case"CLIPS":return Qe.CLIPS;case 34:case"SHOW_V5":return Qe.SHOW_V5;case 35:case"EPISODE_V5":return Qe.EPISODE_V5;case 36:case"PODCAST_CTA_CARDS":return Qe.PODCAST_CTA_CARDS;case 37:case"PODCAST_RATING":return Qe.PODCAST_RATING;case 38:case"DISPLAY_SEGMENTS":return Qe.DISPLAY_SEGMENTS;case 39:case"GREENROOM":return Qe.GREENROOM;case 40:case"USER_CREATED":return Qe.USER_CREATED;case 41:case"SHOW_DESCRIPTION":return Qe.SHOW_DESCRIPTION;case 42:case"SHOW_HTML_DESCRIPTION":return Qe.SHOW_HTML_DESCRIPTION;case 43:case"SHOW_PLAYABILITY":return Qe.SHOW_PLAYABILITY;case 44:case"EPISODE_DESCRIPTION":return Qe.EPISODE_DESCRIPTION;case 45:case"EPISODE_HTML_DESCRIPTION":return Qe.EPISODE_HTML_DESCRIPTION;case 46:case"EPISODE_PLAYABILITY":return Qe.EPISODE_PLAYABILITY;case 47:case"SHOW_EPISODES_ASSOC":return Qe.SHOW_EPISODES_ASSOC;case 48:case"CLIENT_CONFIG":return Qe.CLIENT_CONFIG;case 49:case"PLAYLISTABILITY":return Qe.PLAYLISTABILITY;case 50:case"AUDIOBOOK_V5":return Qe.AUDIOBOOK_V5;case 51:case"CHAPTER_V5":return Qe.CHAPTER_V5;case 52:case"AUDIOBOOK_SPECIFICS":return Qe.AUDIOBOOK_SPECIFICS;case 53:case"EPISODE_RANKING":return Qe.EPISODE_RANKING;case 54:case"HTML_DESCRIPTION":return Qe.HTML_DESCRIPTION;case 55:case"CREATOR_CHANNEL":return Qe.CREATOR_CHANNEL;case 56:case"AUDIOBOOK_PROVIDERS":return Qe.AUDIOBOOK_PROVIDERS;case 57:case"PLAY_TRAIT":return Qe.PLAY_TRAIT;case 58:case"CONTENT_WARNING":return Qe.CONTENT_WARNING;case 59:case"IMAGE_CUE":return Qe.IMAGE_CUE;case 60:case"STREAM_COUNT":return Qe.STREAM_COUNT;case 61:case"AUDIO_ATTRIBUTES":return Qe.AUDIO_ATTRIBUTES;case 62:case"NAVIGABLE_TRAIT":return Qe.NAVIGABLE_TRAIT;case 63:case"NEXT_BEST_EPISODE":return Qe.NEXT_BEST_EPISODE;case 64:case"AUDIOBOOK_PRICE":return Qe.AUDIOBOOK_PRICE;case 65:case"EXPRESSIVE_PLAYLISTS":return Qe.EXPRESSIVE_PLAYLISTS;case 66:case"DYNAMIC_SHOW_EPISODE":return Qe.DYNAMIC_SHOW_EPISODE;case 67:case"LIVE":return Qe.LIVE;case 68:case"SKIP_PLAYED":return Qe.SKIP_PLAYED;case 69:case"AD_BREAK_FREE_PODCASTS":return Qe.AD_BREAK_FREE_PODCASTS;case 70:case"ASSOCIATIONS":return Qe.ASSOCIATIONS;case 71:case"PLAYLIST_EVALUATION":return Qe.PLAYLIST_EVALUATION;case 72:case"CACHE_INVALIDATIONS":return Qe.CACHE_INVALIDATIONS;case 73:case"LIVESTREAM_ENTITY":return Qe.LIVESTREAM_ENTITY;case 74:case"SINGLE_TAP_REACTIONS":return Qe.SINGLE_TAP_REACTIONS;case 75:case"USER_COMMENTS":return Qe.USER_COMMENTS;case 76:case"CLIENT_RESTRICTIONS":return Qe.CLIENT_RESTRICTIONS;case 77:case"PODCAST_GUEST":return Qe.PODCAST_GUEST;case 78:case"PLAYABILITY":return Qe.PLAYABILITY;case 79:case"COVER_IMAGE":return Qe.COVER_IMAGE;case 80:case"SHARE_TRAIT":return Qe.SHARE_TRAIT;case 81:case"INSTANCE_SHARING":return Qe.INSTANCE_SHARING;case 82:case"ARTIST_TOUR":return Qe.ARTIST_TOUR;case 83:case"AUDIOBOOK_GENRE":return Qe.AUDIOBOOK_GENRE;case 84:case"CONCEPT":return Qe.CONCEPT;case 85:case"ORIGINAL_VIDEO":return Qe.ORIGINAL_VIDEO;case 86:case"SMART_SHUFFLE":return Qe.SMART_SHUFFLE;case 87:case"LIVE_EVENTS":return Qe.LIVE_EVENTS;case 88:case"AUDIOBOOK_RELATIONS":return Qe.AUDIOBOOK_RELATIONS;case 89:case"HOME_POC_BASECARD":return Qe.HOME_POC_BASECARD;case 90:case"AUDIOBOOK_SUPPLEMENTS":return Qe.AUDIOBOOK_SUPPLEMENTS;case 91:case"PAID_PODCAST_BANNER":return Qe.PAID_PODCAST_BANNER;case 92:case"FEWER_ADS":return Qe.FEWER_ADS;case 93:case"WATCH_FEED_SHOW_EXPLORER":return Qe.WATCH_FEED_SHOW_EXPLORER;case 94:case"TRACK_EXTRA_DESCRIPTORS":return Qe.TRACK_EXTRA_DESCRIPTORS;case 95:case"TRACK_EXTRA_AUDIO_ATTRIBUTES":return Qe.TRACK_EXTRA_AUDIO_ATTRIBUTES;case 96:case"TRACK_EXTENDED_CREDITS":return Qe.TRACK_EXTENDED_CREDITS;case 97:case"SIMPLE_TRAIT":return Qe.SIMPLE_TRAIT;case 98:case"AUDIO_ASSOCIATIONS":return Qe.AUDIO_ASSOCIATIONS;case 99:case"VIDEO_ASSOCIATIONS":return Qe.VIDEO_ASSOCIATIONS;case 100:case"PLAYLIST_TUNER":return Qe.PLAYLIST_TUNER;case 101:case"ARTIST_VIDEOS_ENTRYPOINT":return Qe.ARTIST_VIDEOS_ENTRYPOINT;case 102:case"ALBUM_PRERELEASE":return Qe.ALBUM_PRERELEASE;case 103:case"CONTENT_ALTERNATIVES":return Qe.CONTENT_ALTERNATIVES;case 105:case"SNAPSHOT_SHARING":return Qe.SNAPSHOT_SHARING;case 106:case"DISPLAY_SEGMENTS_COUNT":return Qe.DISPLAY_SEGMENTS_COUNT;case 107:case"PODCAST_FEATURED_EPISODE":return Qe.PODCAST_FEATURED_EPISODE;case 108:case"PODCAST_SPONSORED_CONTENT":return Qe.PODCAST_SPONSORED_CONTENT;case 109:case"PODCAST_EPISODE_TOPICS_LLM":return Qe.PODCAST_EPISODE_TOPICS_LLM;case 110:case"PODCAST_EPISODE_TOPICS_KG":return Qe.PODCAST_EPISODE_TOPICS_KG;case 111:case"EPISODE_RANKING_POPULARITY":return Qe.EPISODE_RANKING_POPULARITY;case 112:case"MERCH":return Qe.MERCH;case 113:case"COMPANION_CONTENT":return Qe.COMPANION_CONTENT;case 114:case"WATCH_FEED_ENTITY_EXPLORER":return Qe.WATCH_FEED_ENTITY_EXPLORER;case 115:case"ANCHOR_CARD_TRAIT":return Qe.ANCHOR_CARD_TRAIT;case 116:case"AUDIO_PREVIEW_PLAYBACK_TRAIT":return Qe.AUDIO_PREVIEW_PLAYBACK_TRAIT;case 117:case"VIDEO_PREVIEW_STILL_TRAIT":return Qe.VIDEO_PREVIEW_STILL_TRAIT;case 118:case"PREVIEW_CARD_TRAIT":return Qe.PREVIEW_CARD_TRAIT;case 119:case"SHORTCUTS_CARD_TRAIT":return Qe.SHORTCUTS_CARD_TRAIT;case 120:case"VIDEO_PREVIEW_PLAYBACK_TRAIT":return Qe.VIDEO_PREVIEW_PLAYBACK_TRAIT;case 121:case"COURSE_SPECIFICS":return Qe.COURSE_SPECIFICS;case 122:case"CONCERT":return Qe.CONCERT;case 123:case"CONCERT_LOCATION":return Qe.CONCERT_LOCATION;case 124:case"CONCERT_MARKETING":return Qe.CONCERT_MARKETING;case 125:case"CONCERT_PERFORMERS":return Qe.CONCERT_PERFORMERS;case 126:case"TRACK_PAIR_TRANSITION":return Qe.TRACK_PAIR_TRANSITION;case 127:case"CONTENT_TYPE_TRAIT":return Qe.CONTENT_TYPE_TRAIT;case 128:case"NAME_TRAIT":return Qe.NAME_TRAIT;case 129:case"ARTWORK_TRAIT":return Qe.ARTWORK_TRAIT;case 130:case"RELEASE_DATE_TRAIT":return Qe.RELEASE_DATE_TRAIT;case 131:case"CREDITS_TRAIT":return Qe.CREDITS_TRAIT;case 132:case"RELEASE_URI_TRAIT":return Qe.RELEASE_URI_TRAIT;case 133:case"ENTITY_CAPPING":return Qe.ENTITY_CAPPING;case 134:case"LESSON_SPECIFICS":return Qe.LESSON_SPECIFICS;case 135:case"CONCERT_OFFERS":return Qe.CONCERT_OFFERS;case 136:case"TRANSITION_MAPS":return Qe.TRANSITION_MAPS;case 137:case"ARTIST_HAS_CONCERTS":return Qe.ARTIST_HAS_CONCERTS;case 138:case"PRERELEASE":return Qe.PRERELEASE;case 139:case"PLAYLIST_ATTRIBUTES_V2":return Qe.PLAYLIST_ATTRIBUTES_V2;case 140:case"LIST_ATTRIBUTES_V2":return Qe.LIST_ATTRIBUTES_V2;case 141:case"LIST_METADATA":return Qe.LIST_METADATA;case 142:case"LIST_TUNER_AUDIO_ANALYSIS":return Qe.LIST_TUNER_AUDIO_ANALYSIS;case 143:case"LIST_TUNER_CUEPOINTS":return Qe.LIST_TUNER_CUEPOINTS;case 144:case"CONTENT_RATING_TRAIT":return Qe.CONTENT_RATING_TRAIT;case 145:case"COPYRIGHT_TRAIT":return Qe.COPYRIGHT_TRAIT;case 146:case"SUPPORTED_BADGES":return Qe.SUPPORTED_BADGES;case 147:case"BADGES":return Qe.BADGES;case 148:case"PREVIEW_TRAIT":return Qe.PREVIEW_TRAIT;case 149:case"ROOTLISTABILITY_TRAIT":return Qe.ROOTLISTABILITY_TRAIT;case 150:case"LOCAL_CONCERTS":return Qe.LOCAL_CONCERTS;case 151:case"RECOMMENDED_PLAYLISTS":return Qe.RECOMMENDED_PLAYLISTS;case 152:case"POPULAR_RELEASES":return Qe.POPULAR_RELEASES;case 153:case"RELATED_RELEASES":return Qe.RELATED_RELEASES;case 154:case"SHARE_RESTRICTIONS":return Qe.SHARE_RESTRICTIONS;case 155:case"CONCERT_OFFER":return Qe.CONCERT_OFFER;case 156:case"CONCERT_OFFER_PROVIDER":return Qe.CONCERT_OFFER_PROVIDER;case 157:case"ENTITY_BOOKMARKS":return Qe.ENTITY_BOOKMARKS;case 158:case"PRIVACY_TRAIT":return Qe.PRIVACY_TRAIT;case 159:case"DUPLICATE_ITEMS_TRAIT":return Qe.DUPLICATE_ITEMS_TRAIT;case 160:case"REORDERING_TRAIT":return Qe.REORDERING_TRAIT;case 161:case"PODCAST_RESUMPTION_SEGMENTS":return Qe.PODCAST_RESUMPTION_SEGMENTS;case 162:case"ARTIST_EXPRESSION_VIDEO":return Qe.ARTIST_EXPRESSION_VIDEO;case 163:case"PRERELEASE_VIDEO":return Qe.PRERELEASE_VIDEO;case 164:case"GATED_ENTITY_RELATIONS":return Qe.GATED_ENTITY_RELATIONS;case 165:case"RELATED_CREATORS_SECTION":return Qe.RELATED_CREATORS_SECTION;case 166:case"CREATORS_APPEARS_ON_SECTION":return Qe.CREATORS_APPEARS_ON_SECTION;case 167:case"PROMO_V1_TRAIT":return Qe.PROMO_V1_TRAIT;case 168:case"SPEECHLESS_SHARE_CARD":return Qe.SPEECHLESS_SHARE_CARD;case 169:case"TOP_PLAYABLES_SECTION":return Qe.TOP_PLAYABLES_SECTION;case 170:case"AUTO_LENS":return Qe.AUTO_LENS;default:return Qe.UNRECOGNIZED}}function tt(e){switch(e){case Qe.UNKNOWN_EXTENSION:return"UNKNOWN_EXTENSION";case Qe.CANVAZ:return"CANVAZ";case Qe.STORYLINES:return"STORYLINES";case Qe.PODCAST_TOPICS:return"PODCAST_TOPICS";case Qe.PODCAST_SEGMENTS:return"PODCAST_SEGMENTS";case Qe.AUDIO_FILES:return"AUDIO_FILES";case Qe.TRACK_DESCRIPTOR:return"TRACK_DESCRIPTOR";case Qe.PODCAST_COUNTER:return"PODCAST_COUNTER";case Qe.ARTIST_V4:return"ARTIST_V4";case Qe.ALBUM_V4:return"ALBUM_V4";case Qe.TRACK_V4:return"TRACK_V4";case Qe.SHOW_V4:return"SHOW_V4";case Qe.EPISODE_V4:return"EPISODE_V4";case Qe.PODCAST_HTML_DESCRIPTION:return"PODCAST_HTML_DESCRIPTION";case Qe.PODCAST_QUOTES:return"PODCAST_QUOTES";case Qe.USER_PROFILE:return"USER_PROFILE";case Qe.CANVAS_V1:return"CANVAS_V1";case Qe.SHOW_V4_BASE:return"SHOW_V4_BASE";case Qe.SHOW_V4_EPISODES_ASSOC:return"SHOW_V4_EPISODES_ASSOC";case Qe.TRACK_DESCRIPTOR_SIGNATURES:return"TRACK_DESCRIPTOR_SIGNATURES";case Qe.PODCAST_AD_SEGMENTS:return"PODCAST_AD_SEGMENTS";case Qe.EPISODE_TRANSCRIPTS:return"EPISODE_TRANSCRIPTS";case Qe.PODCAST_SUBSCRIPTIONS:return"PODCAST_SUBSCRIPTIONS";case Qe.EXTRACTED_COLOR:return"EXTRACTED_COLOR";case Qe.PODCAST_VIRALITY:return"PODCAST_VIRALITY";case Qe.IMAGE_SPARKLES_HACK:return"IMAGE_SPARKLES_HACK";case Qe.PODCAST_POPULARITY_HACK:return"PODCAST_POPULARITY_HACK";case Qe.AUTOMIX_MODE:return"AUTOMIX_MODE";case Qe.CUEPOINTS:return"CUEPOINTS";case Qe.PODCAST_POLL:return"PODCAST_POLL";case Qe.EPISODE_ACCESS:return"EPISODE_ACCESS";case Qe.SHOW_ACCESS:return"SHOW_ACCESS";case Qe.PODCAST_QNA:return"PODCAST_QNA";case Qe.CLIPS:return"CLIPS";case Qe.SHOW_V5:return"SHOW_V5";case Qe.EPISODE_V5:return"EPISODE_V5";case Qe.PODCAST_CTA_CARDS:return"PODCAST_CTA_CARDS";case Qe.PODCAST_RATING:return"PODCAST_RATING";case Qe.DISPLAY_SEGMENTS:return"DISPLAY_SEGMENTS";case Qe.GREENROOM:return"GREENROOM";case Qe.USER_CREATED:return"USER_CREATED";case Qe.SHOW_DESCRIPTION:return"SHOW_DESCRIPTION";case Qe.SHOW_HTML_DESCRIPTION:return"SHOW_HTML_DESCRIPTION";case Qe.SHOW_PLAYABILITY:return"SHOW_PLAYABILITY";case Qe.EPISODE_DESCRIPTION:return"EPISODE_DESCRIPTION";case Qe.EPISODE_HTML_DESCRIPTION:return"EPISODE_HTML_DESCRIPTION";case Qe.EPISODE_PLAYABILITY:return"EPISODE_PLAYABILITY";case Qe.SHOW_EPISODES_ASSOC:return"SHOW_EPISODES_ASSOC";case Qe.CLIENT_CONFIG:return"CLIENT_CONFIG";case Qe.PLAYLISTABILITY:return"PLAYLISTABILITY";case Qe.AUDIOBOOK_V5:return"AUDIOBOOK_V5";case Qe.CHAPTER_V5:return"CHAPTER_V5";case Qe.AUDIOBOOK_SPECIFICS:return"AUDIOBOOK_SPECIFICS";case Qe.EPISODE_RANKING:return"EPISODE_RANKING";case Qe.HTML_DESCRIPTION:return"HTML_DESCRIPTION";case Qe.CREATOR_CHANNEL:return"CREATOR_CHANNEL";case Qe.AUDIOBOOK_PROVIDERS:return"AUDIOBOOK_PROVIDERS";case Qe.PLAY_TRAIT:return"PLAY_TRAIT";case Qe.CONTENT_WARNING:return"CONTENT_WARNING";case Qe.IMAGE_CUE:return"IMAGE_CUE";case Qe.STREAM_COUNT:return"STREAM_COUNT";case Qe.AUDIO_ATTRIBUTES:return"AUDIO_ATTRIBUTES";case Qe.NAVIGABLE_TRAIT:return"NAVIGABLE_TRAIT";case Qe.NEXT_BEST_EPISODE:return"NEXT_BEST_EPISODE";case Qe.AUDIOBOOK_PRICE:return"AUDIOBOOK_PRICE";case Qe.EXPRESSIVE_PLAYLISTS:return"EXPRESSIVE_PLAYLISTS";case Qe.DYNAMIC_SHOW_EPISODE:return"DYNAMIC_SHOW_EPISODE";case Qe.LIVE:return"LIVE";case Qe.SKIP_PLAYED:return"SKIP_PLAYED";case Qe.AD_BREAK_FREE_PODCASTS:return"AD_BREAK_FREE_PODCASTS";case Qe.ASSOCIATIONS:return"ASSOCIATIONS";case Qe.PLAYLIST_EVALUATION:return"PLAYLIST_EVALUATION";case Qe.CACHE_INVALIDATIONS:return"CACHE_INVALIDATIONS";case Qe.LIVESTREAM_ENTITY:return"LIVESTREAM_ENTITY";case Qe.SINGLE_TAP_REACTIONS:return"SINGLE_TAP_REACTIONS";case Qe.USER_COMMENTS:return"USER_COMMENTS";case Qe.CLIENT_RESTRICTIONS:return"CLIENT_RESTRICTIONS";case Qe.PODCAST_GUEST:return"PODCAST_GUEST";case Qe.PLAYABILITY:return"PLAYABILITY";case Qe.COVER_IMAGE:return"COVER_IMAGE";case Qe.SHARE_TRAIT:return"SHARE_TRAIT";case Qe.INSTANCE_SHARING:return"INSTANCE_SHARING";case Qe.ARTIST_TOUR:return"ARTIST_TOUR";case Qe.AUDIOBOOK_GENRE:return"AUDIOBOOK_GENRE";case Qe.CONCEPT:return"CONCEPT";case Qe.ORIGINAL_VIDEO:return"ORIGINAL_VIDEO";case Qe.SMART_SHUFFLE:return"SMART_SHUFFLE";case Qe.LIVE_EVENTS:return"LIVE_EVENTS";case Qe.AUDIOBOOK_RELATIONS:return"AUDIOBOOK_RELATIONS";case Qe.HOME_POC_BASECARD:return"HOME_POC_BASECARD";case Qe.AUDIOBOOK_SUPPLEMENTS:return"AUDIOBOOK_SUPPLEMENTS";case Qe.PAID_PODCAST_BANNER:return"PAID_PODCAST_BANNER";case Qe.FEWER_ADS:return"FEWER_ADS";case Qe.WATCH_FEED_SHOW_EXPLORER:return"WATCH_FEED_SHOW_EXPLORER";case Qe.TRACK_EXTRA_DESCRIPTORS:return"TRACK_EXTRA_DESCRIPTORS";case Qe.TRACK_EXTRA_AUDIO_ATTRIBUTES:return"TRACK_EXTRA_AUDIO_ATTRIBUTES";case Qe.TRACK_EXTENDED_CREDITS:return"TRACK_EXTENDED_CREDITS";case Qe.SIMPLE_TRAIT:return"SIMPLE_TRAIT";case Qe.AUDIO_ASSOCIATIONS:return"AUDIO_ASSOCIATIONS";case Qe.VIDEO_ASSOCIATIONS:return"VIDEO_ASSOCIATIONS";case Qe.PLAYLIST_TUNER:return"PLAYLIST_TUNER";case Qe.ARTIST_VIDEOS_ENTRYPOINT:return"ARTIST_VIDEOS_ENTRYPOINT";case Qe.ALBUM_PRERELEASE:return"ALBUM_PRERELEASE";case Qe.CONTENT_ALTERNATIVES:return"CONTENT_ALTERNATIVES";case Qe.SNAPSHOT_SHARING:return"SNAPSHOT_SHARING";case Qe.DISPLAY_SEGMENTS_COUNT:return"DISPLAY_SEGMENTS_COUNT";case Qe.PODCAST_FEATURED_EPISODE:return"PODCAST_FEATURED_EPISODE";case Qe.PODCAST_SPONSORED_CONTENT:return"PODCAST_SPONSORED_CONTENT";case Qe.PODCAST_EPISODE_TOPICS_LLM:return"PODCAST_EPISODE_TOPICS_LLM";case Qe.PODCAST_EPISODE_TOPICS_KG:return"PODCAST_EPISODE_TOPICS_KG";case Qe.EPISODE_RANKING_POPULARITY:return"EPISODE_RANKING_POPULARITY";case Qe.MERCH:return"MERCH";case Qe.COMPANION_CONTENT:return"COMPANION_CONTENT";case Qe.WATCH_FEED_ENTITY_EXPLORER:return"WATCH_FEED_ENTITY_EXPLORER";case Qe.ANCHOR_CARD_TRAIT:return"ANCHOR_CARD_TRAIT";case Qe.AUDIO_PREVIEW_PLAYBACK_TRAIT:return"AUDIO_PREVIEW_PLAYBACK_TRAIT";case Qe.VIDEO_PREVIEW_STILL_TRAIT:return"VIDEO_PREVIEW_STILL_TRAIT";case Qe.PREVIEW_CARD_TRAIT:return"PREVIEW_CARD_TRAIT";case Qe.SHORTCUTS_CARD_TRAIT:return"SHORTCUTS_CARD_TRAIT";case Qe.VIDEO_PREVIEW_PLAYBACK_TRAIT:return"VIDEO_PREVIEW_PLAYBACK_TRAIT";case Qe.COURSE_SPECIFICS:return"COURSE_SPECIFICS";case Qe.CONCERT:return"CONCERT";case Qe.CONCERT_LOCATION:return"CONCERT_LOCATION";case Qe.CONCERT_MARKETING:return"CONCERT_MARKETING";case Qe.CONCERT_PERFORMERS:return"CONCERT_PERFORMERS";case Qe.TRACK_PAIR_TRANSITION:return"TRACK_PAIR_TRANSITION";case Qe.CONTENT_TYPE_TRAIT:return"CONTENT_TYPE_TRAIT";case Qe.NAME_TRAIT:return"NAME_TRAIT";case Qe.ARTWORK_TRAIT:return"ARTWORK_TRAIT";case Qe.RELEASE_DATE_TRAIT:return"RELEASE_DATE_TRAIT";case Qe.CREDITS_TRAIT:return"CREDITS_TRAIT";case Qe.RELEASE_URI_TRAIT:return"RELEASE_URI_TRAIT";case Qe.ENTITY_CAPPING:return"ENTITY_CAPPING";case Qe.LESSON_SPECIFICS:return"LESSON_SPECIFICS";case Qe.CONCERT_OFFERS:return"CONCERT_OFFERS";case Qe.TRANSITION_MAPS:return"TRANSITION_MAPS";case Qe.ARTIST_HAS_CONCERTS:return"ARTIST_HAS_CONCERTS";case Qe.PRERELEASE:return"PRERELEASE";case Qe.PLAYLIST_ATTRIBUTES_V2:return"PLAYLIST_ATTRIBUTES_V2";case Qe.LIST_ATTRIBUTES_V2:return"LIST_ATTRIBUTES_V2";case Qe.LIST_METADATA:return"LIST_METADATA";case Qe.LIST_TUNER_AUDIO_ANALYSIS:return"LIST_TUNER_AUDIO_ANALYSIS";case Qe.LIST_TUNER_CUEPOINTS:return"LIST_TUNER_CUEPOINTS";case Qe.CONTENT_RATING_TRAIT:return"CONTENT_RATING_TRAIT";case Qe.COPYRIGHT_TRAIT:return"COPYRIGHT_TRAIT";case Qe.SUPPORTED_BADGES:return"SUPPORTED_BADGES";case Qe.BADGES:return"BADGES";case Qe.PREVIEW_TRAIT:return"PREVIEW_TRAIT";case Qe.ROOTLISTABILITY_TRAIT:return"ROOTLISTABILITY_TRAIT";case Qe.LOCAL_CONCERTS:return"LOCAL_CONCERTS";case Qe.RECOMMENDED_PLAYLISTS:return"RECOMMENDED_PLAYLISTS";case Qe.POPULAR_RELEASES:return"POPULAR_RELEASES";case Qe.RELATED_RELEASES:return"RELATED_RELEASES";case Qe.SHARE_RESTRICTIONS:return"SHARE_RESTRICTIONS";case Qe.CONCERT_OFFER:return"CONCERT_OFFER";case Qe.CONCERT_OFFER_PROVIDER:return"CONCERT_OFFER_PROVIDER";case Qe.ENTITY_BOOKMARKS:return"ENTITY_BOOKMARKS";case Qe.PRIVACY_TRAIT:return"PRIVACY_TRAIT";case Qe.DUPLICATE_ITEMS_TRAIT:return"DUPLICATE_ITEMS_TRAIT";case Qe.REORDERING_TRAIT:return"REORDERING_TRAIT";case Qe.PODCAST_RESUMPTION_SEGMENTS:return"PODCAST_RESUMPTION_SEGMENTS";case Qe.ARTIST_EXPRESSION_VIDEO:return"ARTIST_EXPRESSION_VIDEO";case Qe.PRERELEASE_VIDEO:return"PRERELEASE_VIDEO";case Qe.GATED_ENTITY_RELATIONS:return"GATED_ENTITY_RELATIONS";case Qe.RELATED_CREATORS_SECTION:return"RELATED_CREATORS_SECTION";case Qe.CREATORS_APPEARS_ON_SECTION:return"CREATORS_APPEARS_ON_SECTION";case Qe.PROMO_V1_TRAIT:return"PROMO_V1_TRAIT";case Qe.SPEECHLESS_SHARE_CARD:return"SPEECHLESS_SHARE_CARD";case Qe.TOP_PLAYABLES_SECTION:return"TOP_PLAYABLES_SECTION";case Qe.AUTO_LENS:return"AUTO_LENS";case Qe.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function nt(){return{extensionKind:0,data:new Uint8Array(0)}}!function(e){e[e.UNKNOWN_EXTENSION=0]="UNKNOWN_EXTENSION",e[e.CANVAZ=1]="CANVAZ",e[e.STORYLINES=2]="STORYLINES",e[e.PODCAST_TOPICS=3]="PODCAST_TOPICS",e[e.PODCAST_SEGMENTS=4]="PODCAST_SEGMENTS",e[e.AUDIO_FILES=5]="AUDIO_FILES",e[e.TRACK_DESCRIPTOR=6]="TRACK_DESCRIPTOR",e[e.PODCAST_COUNTER=7]="PODCAST_COUNTER",e[e.ARTIST_V4=8]="ARTIST_V4",e[e.ALBUM_V4=9]="ALBUM_V4",e[e.TRACK_V4=10]="TRACK_V4",e[e.SHOW_V4=11]="SHOW_V4",e[e.EPISODE_V4=12]="EPISODE_V4",e[e.PODCAST_HTML_DESCRIPTION=13]="PODCAST_HTML_DESCRIPTION",e[e.PODCAST_QUOTES=14]="PODCAST_QUOTES",e[e.USER_PROFILE=15]="USER_PROFILE",e[e.CANVAS_V1=16]="CANVAS_V1",e[e.SHOW_V4_BASE=17]="SHOW_V4_BASE",e[e.SHOW_V4_EPISODES_ASSOC=18]="SHOW_V4_EPISODES_ASSOC",e[e.TRACK_DESCRIPTOR_SIGNATURES=19]="TRACK_DESCRIPTOR_SIGNATURES",e[e.PODCAST_AD_SEGMENTS=20]="PODCAST_AD_SEGMENTS",e[e.EPISODE_TRANSCRIPTS=21]="EPISODE_TRANSCRIPTS",e[e.PODCAST_SUBSCRIPTIONS=22]="PODCAST_SUBSCRIPTIONS",e[e.EXTRACTED_COLOR=23]="EXTRACTED_COLOR",e[e.PODCAST_VIRALITY=24]="PODCAST_VIRALITY",e[e.IMAGE_SPARKLES_HACK=25]="IMAGE_SPARKLES_HACK",e[e.PODCAST_POPULARITY_HACK=26]="PODCAST_POPULARITY_HACK",e[e.AUTOMIX_MODE=27]="AUTOMIX_MODE",e[e.CUEPOINTS=28]="CUEPOINTS",e[e.PODCAST_POLL=29]="PODCAST_POLL",e[e.EPISODE_ACCESS=30]="EPISODE_ACCESS",e[e.SHOW_ACCESS=31]="SHOW_ACCESS",e[e.PODCAST_QNA=32]="PODCAST_QNA",e[e.CLIPS=33]="CLIPS",e[e.SHOW_V5=34]="SHOW_V5",e[e.EPISODE_V5=35]="EPISODE_V5",e[e.PODCAST_CTA_CARDS=36]="PODCAST_CTA_CARDS",e[e.PODCAST_RATING=37]="PODCAST_RATING",e[e.DISPLAY_SEGMENTS=38]="DISPLAY_SEGMENTS",e[e.GREENROOM=39]="GREENROOM",e[e.USER_CREATED=40]="USER_CREATED",e[e.SHOW_DESCRIPTION=41]="SHOW_DESCRIPTION",e[e.SHOW_HTML_DESCRIPTION=42]="SHOW_HTML_DESCRIPTION",e[e.SHOW_PLAYABILITY=43]="SHOW_PLAYABILITY",e[e.EPISODE_DESCRIPTION=44]="EPISODE_DESCRIPTION",e[e.EPISODE_HTML_DESCRIPTION=45]="EPISODE_HTML_DESCRIPTION",e[e.EPISODE_PLAYABILITY=46]="EPISODE_PLAYABILITY",e[e.SHOW_EPISODES_ASSOC=47]="SHOW_EPISODES_ASSOC",e[e.CLIENT_CONFIG=48]="CLIENT_CONFIG",e[e.PLAYLISTABILITY=49]="PLAYLISTABILITY",e[e.AUDIOBOOK_V5=50]="AUDIOBOOK_V5",e[e.CHAPTER_V5=51]="CHAPTER_V5",e[e.AUDIOBOOK_SPECIFICS=52]="AUDIOBOOK_SPECIFICS",e[e.EPISODE_RANKING=53]="EPISODE_RANKING",e[e.HTML_DESCRIPTION=54]="HTML_DESCRIPTION",e[e.CREATOR_CHANNEL=55]="CREATOR_CHANNEL",e[e.AUDIOBOOK_PROVIDERS=56]="AUDIOBOOK_PROVIDERS",e[e.PLAY_TRAIT=57]="PLAY_TRAIT",e[e.CONTENT_WARNING=58]="CONTENT_WARNING",e[e.IMAGE_CUE=59]="IMAGE_CUE",e[e.STREAM_COUNT=60]="STREAM_COUNT",e[e.AUDIO_ATTRIBUTES=61]="AUDIO_ATTRIBUTES",e[e.NAVIGABLE_TRAIT=62]="NAVIGABLE_TRAIT",e[e.NEXT_BEST_EPISODE=63]="NEXT_BEST_EPISODE",e[e.AUDIOBOOK_PRICE=64]="AUDIOBOOK_PRICE",e[e.EXPRESSIVE_PLAYLISTS=65]="EXPRESSIVE_PLAYLISTS",e[e.DYNAMIC_SHOW_EPISODE=66]="DYNAMIC_SHOW_EPISODE",e[e.LIVE=67]="LIVE",e[e.SKIP_PLAYED=68]="SKIP_PLAYED",e[e.AD_BREAK_FREE_PODCASTS=69]="AD_BREAK_FREE_PODCASTS",e[e.ASSOCIATIONS=70]="ASSOCIATIONS",e[e.PLAYLIST_EVALUATION=71]="PLAYLIST_EVALUATION",e[e.CACHE_INVALIDATIONS=72]="CACHE_INVALIDATIONS",e[e.LIVESTREAM_ENTITY=73]="LIVESTREAM_ENTITY",e[e.SINGLE_TAP_REACTIONS=74]="SINGLE_TAP_REACTIONS",e[e.USER_COMMENTS=75]="USER_COMMENTS",e[e.CLIENT_RESTRICTIONS=76]="CLIENT_RESTRICTIONS",e[e.PODCAST_GUEST=77]="PODCAST_GUEST",e[e.PLAYABILITY=78]="PLAYABILITY",e[e.COVER_IMAGE=79]="COVER_IMAGE",e[e.SHARE_TRAIT=80]="SHARE_TRAIT",e[e.INSTANCE_SHARING=81]="INSTANCE_SHARING",e[e.ARTIST_TOUR=82]="ARTIST_TOUR",e[e.AUDIOBOOK_GENRE=83]="AUDIOBOOK_GENRE",e[e.CONCEPT=84]="CONCEPT",e[e.ORIGINAL_VIDEO=85]="ORIGINAL_VIDEO",e[e.SMART_SHUFFLE=86]="SMART_SHUFFLE",e[e.LIVE_EVENTS=87]="LIVE_EVENTS",e[e.AUDIOBOOK_RELATIONS=88]="AUDIOBOOK_RELATIONS",e[e.HOME_POC_BASECARD=89]="HOME_POC_BASECARD",e[e.AUDIOBOOK_SUPPLEMENTS=90]="AUDIOBOOK_SUPPLEMENTS",e[e.PAID_PODCAST_BANNER=91]="PAID_PODCAST_BANNER",e[e.FEWER_ADS=92]="FEWER_ADS",e[e.WATCH_FEED_SHOW_EXPLORER=93]="WATCH_FEED_SHOW_EXPLORER",e[e.TRACK_EXTRA_DESCRIPTORS=94]="TRACK_EXTRA_DESCRIPTORS",e[e.TRACK_EXTRA_AUDIO_ATTRIBUTES=95]="TRACK_EXTRA_AUDIO_ATTRIBUTES",e[e.TRACK_EXTENDED_CREDITS=96]="TRACK_EXTENDED_CREDITS",e[e.SIMPLE_TRAIT=97]="SIMPLE_TRAIT",e[e.AUDIO_ASSOCIATIONS=98]="AUDIO_ASSOCIATIONS",e[e.VIDEO_ASSOCIATIONS=99]="VIDEO_ASSOCIATIONS",e[e.PLAYLIST_TUNER=100]="PLAYLIST_TUNER",e[e.ARTIST_VIDEOS_ENTRYPOINT=101]="ARTIST_VIDEOS_ENTRYPOINT",e[e.ALBUM_PRERELEASE=102]="ALBUM_PRERELEASE",e[e.CONTENT_ALTERNATIVES=103]="CONTENT_ALTERNATIVES",e[e.SNAPSHOT_SHARING=105]="SNAPSHOT_SHARING",e[e.DISPLAY_SEGMENTS_COUNT=106]="DISPLAY_SEGMENTS_COUNT",e[e.PODCAST_FEATURED_EPISODE=107]="PODCAST_FEATURED_EPISODE",e[e.PODCAST_SPONSORED_CONTENT=108]="PODCAST_SPONSORED_CONTENT",e[e.PODCAST_EPISODE_TOPICS_LLM=109]="PODCAST_EPISODE_TOPICS_LLM",e[e.PODCAST_EPISODE_TOPICS_KG=110]="PODCAST_EPISODE_TOPICS_KG",e[e.EPISODE_RANKING_POPULARITY=111]="EPISODE_RANKING_POPULARITY",e[e.MERCH=112]="MERCH",e[e.COMPANION_CONTENT=113]="COMPANION_CONTENT",e[e.WATCH_FEED_ENTITY_EXPLORER=114]="WATCH_FEED_ENTITY_EXPLORER",e[e.ANCHOR_CARD_TRAIT=115]="ANCHOR_CARD_TRAIT",e[e.AUDIO_PREVIEW_PLAYBACK_TRAIT=116]="AUDIO_PREVIEW_PLAYBACK_TRAIT",e[e.VIDEO_PREVIEW_STILL_TRAIT=117]="VIDEO_PREVIEW_STILL_TRAIT",e[e.PREVIEW_CARD_TRAIT=118]="PREVIEW_CARD_TRAIT",e[e.SHORTCUTS_CARD_TRAIT=119]="SHORTCUTS_CARD_TRAIT",e[e.VIDEO_PREVIEW_PLAYBACK_TRAIT=120]="VIDEO_PREVIEW_PLAYBACK_TRAIT",e[e.COURSE_SPECIFICS=121]="COURSE_SPECIFICS",e[e.CONCERT=122]="CONCERT",e[e.CONCERT_LOCATION=123]="CONCERT_LOCATION",e[e.CONCERT_MARKETING=124]="CONCERT_MARKETING",e[e.CONCERT_PERFORMERS=125]="CONCERT_PERFORMERS",e[e.TRACK_PAIR_TRANSITION=126]="TRACK_PAIR_TRANSITION",e[e.CONTENT_TYPE_TRAIT=127]="CONTENT_TYPE_TRAIT",e[e.NAME_TRAIT=128]="NAME_TRAIT",e[e.ARTWORK_TRAIT=129]="ARTWORK_TRAIT",e[e.RELEASE_DATE_TRAIT=130]="RELEASE_DATE_TRAIT",e[e.CREDITS_TRAIT=131]="CREDITS_TRAIT",e[e.RELEASE_URI_TRAIT=132]="RELEASE_URI_TRAIT",e[e.ENTITY_CAPPING=133]="ENTITY_CAPPING",e[e.LESSON_SPECIFICS=134]="LESSON_SPECIFICS",e[e.CONCERT_OFFERS=135]="CONCERT_OFFERS",e[e.TRANSITION_MAPS=136]="TRANSITION_MAPS",e[e.ARTIST_HAS_CONCERTS=137]="ARTIST_HAS_CONCERTS",e[e.PRERELEASE=138]="PRERELEASE",e[e.PLAYLIST_ATTRIBUTES_V2=139]="PLAYLIST_ATTRIBUTES_V2",e[e.LIST_ATTRIBUTES_V2=140]="LIST_ATTRIBUTES_V2",e[e.LIST_METADATA=141]="LIST_METADATA",e[e.LIST_TUNER_AUDIO_ANALYSIS=142]="LIST_TUNER_AUDIO_ANALYSIS",e[e.LIST_TUNER_CUEPOINTS=143]="LIST_TUNER_CUEPOINTS",e[e.CONTENT_RATING_TRAIT=144]="CONTENT_RATING_TRAIT",e[e.COPYRIGHT_TRAIT=145]="COPYRIGHT_TRAIT",e[e.SUPPORTED_BADGES=146]="SUPPORTED_BADGES",e[e.BADGES=147]="BADGES",e[e.PREVIEW_TRAIT=148]="PREVIEW_TRAIT",e[e.ROOTLISTABILITY_TRAIT=149]="ROOTLISTABILITY_TRAIT",e[e.LOCAL_CONCERTS=150]="LOCAL_CONCERTS",e[e.RECOMMENDED_PLAYLISTS=151]="RECOMMENDED_PLAYLISTS",e[e.POPULAR_RELEASES=152]="POPULAR_RELEASES",e[e.RELATED_RELEASES=153]="RELATED_RELEASES",e[e.SHARE_RESTRICTIONS=154]="SHARE_RESTRICTIONS",e[e.CONCERT_OFFER=155]="CONCERT_OFFER",e[e.CONCERT_OFFER_PROVIDER=156]="CONCERT_OFFER_PROVIDER",e[e.ENTITY_BOOKMARKS=157]="ENTITY_BOOKMARKS",e[e.PRIVACY_TRAIT=158]="PRIVACY_TRAIT",e[e.DUPLICATE_ITEMS_TRAIT=159]="DUPLICATE_ITEMS_TRAIT",e[e.REORDERING_TRAIT=160]="REORDERING_TRAIT",e[e.PODCAST_RESUMPTION_SEGMENTS=161]="PODCAST_RESUMPTION_SEGMENTS",e[e.ARTIST_EXPRESSION_VIDEO=162]="ARTIST_EXPRESSION_VIDEO",e[e.PRERELEASE_VIDEO=163]="PRERELEASE_VIDEO",e[e.GATED_ENTITY_RELATIONS=164]="GATED_ENTITY_RELATIONS",e[e.RELATED_CREATORS_SECTION=165]="RELATED_CREATORS_SECTION",e[e.CREATORS_APPEARS_ON_SECTION=166]="CREATORS_APPEARS_ON_SECTION",e[e.PROMO_V1_TRAIT=167]="PROMO_V1_TRAIT",e[e.SPEECHLESS_SHARE_CARD=168]="SPEECHLESS_SHARE_CARD",e[e.TOP_PLAYABLES_SECTION=169]="TOP_PLAYABLES_SECTION",e[e.AUTO_LENS=170]="AUTO_LENS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Qe||(Qe={}));const it={encode:(e,t=i.Writer.create())=>(0!==e.extensionKind&&t.uint32(8).int32(e.extensionKind),0!==e.data.length&&t.uint32(18).bytes(e.data),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=nt();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.extensionKind=n.int32();continue;case 2:if(18!==e)break;r.data=n.bytes();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({extensionKind:at(e.extensionKind)?et(e.extensionKind):0,data:at(e.data)?rt(e.data):new Uint8Array(0)}),toJSON(e){const t={};return 0!==e.extensionKind&&(t.extensionKind=tt(e.extensionKind)),0!==e.data.length&&(t.data=function(e){if(ot.Buffer)return ot.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),ot.btoa(t.join(""))}}(e.data)),t},create:e=>it.fromPartial(e??{}),fromPartial(e){const t=nt();return t.extensionKind=e.extensionKind??0,t.data=e.data??new Uint8Array(0),t}},ot=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function rt(e){if(ot.Buffer)return Uint8Array.from(ot.Buffer.from(e,"base64"));{const t=ot.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function at(e){return null!=e}const st={encode:(e,t=i.Writer.create())=>(""!==e.standardLink&&t.uint32(10).string(e.standardLink),""!==e.smallLink&&t.uint32(18).string(e.smallLink),""!==e.largeLink&&t.uint32(26).string(e.largeLink),""!==e.xlargeLink&&t.uint32(34).string(e.xlargeLink),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.standardLink=n.string();continue;case 2:if(18!==e)break;r.smallLink=n.string();continue;case 3:if(26!==e)break;r.largeLink=n.string();continue;case 4:if(34!==e)break;r.xlargeLink=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({standardLink:ct(e.standardLink)?String(e.standardLink):"",smallLink:ct(e.smallLink)?String(e.smallLink):"",largeLink:ct(e.largeLink)?String(e.largeLink):"",xlargeLink:ct(e.xlargeLink)?String(e.xlargeLink):""}),toJSON(e){const t={};return""!==e.standardLink&&(t.standardLink=e.standardLink),""!==e.smallLink&&(t.smallLink=e.smallLink),""!==e.largeLink&&(t.largeLink=e.largeLink),""!==e.xlargeLink&&(t.xlargeLink=e.xlargeLink),t},create:e=>st.fromPartial(e??{}),fromPartial(e){const t={standardLink:"",smallLink:"",largeLink:"",xlargeLink:""};return t.standardLink=e.standardLink??"",t.smallLink=e.smallLink??"",t.largeLink=e.largeLink??"",t.xlargeLink=e.xlargeLink??"",t}};function ct(e){return null!=e}var lt,ut;function dt(e){switch(e){case 0:case"UNKNOWN":return lt.UNKNOWN;case 1:case"FULL":return lt.FULL;case 2:case"TRAILER":return lt.TRAILER;case 3:case"BONUS":return lt.BONUS;default:return lt.UNRECOGNIZED}}function pt(e){switch(e){case 0:case"VODCAST":return ut.VODCAST;case 1:case"AUDIO":return ut.AUDIO;case 2:case"VIDEO":return ut.VIDEO;default:return ut.UNRECOGNIZED}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.FULL=1]="FULL",e[e.TRAILER=2]="TRAILER",e[e.BONUS=3]="BONUS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(lt||(lt={})),function(e){e[e.VODCAST=0]="VODCAST",e[e.AUDIO=1]="AUDIO",e[e.VIDEO=2]="VIDEO",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(ut||(ut={}));const ht={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),""!==e.publisher&&t.uint32(26).string(e.publisher),void 0!==e.covers&&st.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",publisher:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.publisher=n.string();continue;case 4:if(34!==e)break;r.covers=st.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:_t(e.link)?String(e.link):"",name:_t(e.name)?String(e.name):"",publisher:_t(e.publisher)?String(e.publisher):"",covers:_t(e.covers)?st.fromJSON(e.covers):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),""!==e.publisher&&(t.publisher=e.publisher),void 0!==e.covers&&(t.covers=st.toJSON(e.covers)),t},create:e=>ht.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",publisher:"",covers:void 0};return t.link=e.link??"",t.name=e.name??"",t.publisher=e.publisher??"",t.covers=void 0!==e.covers&&null!==e.covers?st.fromPartial(e.covers):void 0,t}};function ft(){return{show:void 0,link:"",name:"",length:0,covers:void 0,manifestId:"",description:"",publishDate:BigInt("0"),freezeFrames:void 0,language:"",available:!1,mediaTypeEnum:0,number:0,backgroundable:!1,previewManifestId:"",isExplicit:!1,previewId:"",episodeType:0,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1}}const mt={encode(e,t=i.Writer.create()){void 0!==e.show&&ht.encode(e.show,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),0!==e.length&&t.uint32(32).uint32(e.length),void 0!==e.covers&&st.encode(e.covers,t.uint32(42).fork()).ldelim(),""!==e.manifestId&&t.uint32(50).string(e.manifestId),""!==e.description&&t.uint32(58).string(e.description),e.publishDate!==BigInt("0")&&t.uint32(64).int64(e.publishDate.toString()),void 0!==e.freezeFrames&&st.encode(e.freezeFrames,t.uint32(74).fork()).ldelim(),""!==e.language&&t.uint32(82).string(e.language),!0===e.available&&t.uint32(88).bool(e.available),0!==e.mediaTypeEnum&&t.uint32(96).int32(e.mediaTypeEnum),0!==e.number&&t.uint32(104).int32(e.number),!0===e.backgroundable&&t.uint32(112).bool(e.backgroundable),""!==e.previewManifestId&&t.uint32(122).string(e.previewManifestId),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),""!==e.previewId&&t.uint32(138).string(e.previewId),0!==e.episodeType&&t.uint32(144).int32(e.episodeType),!0===e.isMusicAndTalk&&t.uint32(152).bool(e.isMusicAndTalk);for(const n of e.extension)it.encode(n,t.uint32(178).fork()).ldelim();return!0===e.is19PlusOnly&&t.uint32(184).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(192).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(200).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(208).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=ft();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.show=ht.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(32!==e)break;r.length=n.uint32();continue;case 5:if(42!==e)break;r.covers=st.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.manifestId=n.string();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(64!==e)break;r.publishDate=(a=n.int64(),BigInt(a.toString()));continue;case 9:if(74!==e)break;r.freezeFrames=st.decode(n,n.uint32());continue;case 10:if(82!==e)break;r.language=n.string();continue;case 11:if(88!==e)break;r.available=n.bool();continue;case 12:if(96!==e)break;r.mediaTypeEnum=n.int32();continue;case 13:if(104!==e)break;r.number=n.int32();continue;case 14:if(112!==e)break;r.backgroundable=n.bool();continue;case 15:if(122!==e)break;r.previewManifestId=n.string();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(138!==e)break;r.previewId=n.string();continue;case 18:if(144!==e)break;r.episodeType=n.int32();continue;case 19:if(152!==e)break;r.isMusicAndTalk=n.bool();continue;case 22:if(178!==e)break;r.extension.push(it.decode(n,n.uint32()));continue;case 23:if(184!==e)break;r.is19PlusOnly=n.bool();continue;case 24:if(192!==e)break;r.isBookChapter=n.bool();continue;case 25:if(200!==e)break;r.isPodcastShort=n.bool();continue;case 26:if(208!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({show:_t(e.show)?ht.fromJSON(e.show):void 0,link:_t(e.link)?String(e.link):"",name:_t(e.name)?String(e.name):"",length:_t(e.length)?Number(e.length):0,covers:_t(e.covers)?st.fromJSON(e.covers):void 0,manifestId:_t(e.manifestId)?String(e.manifestId):"",description:_t(e.description)?String(e.description):"",publishDate:_t(e.publishDate)?BigInt(e.publishDate):BigInt("0"),freezeFrames:_t(e.freezeFrames)?st.fromJSON(e.freezeFrames):void 0,language:_t(e.language)?String(e.language):"",available:!!_t(e.available)&&Boolean(e.available),mediaTypeEnum:_t(e.mediaTypeEnum)?pt(e.mediaTypeEnum):0,number:_t(e.number)?Number(e.number):0,backgroundable:!!_t(e.backgroundable)&&Boolean(e.backgroundable),previewManifestId:_t(e.previewManifestId)?String(e.previewManifestId):"",isExplicit:!!_t(e.isExplicit)&&Boolean(e.isExplicit),previewId:_t(e.previewId)?String(e.previewId):"",episodeType:_t(e.episodeType)?dt(e.episodeType):0,isMusicAndTalk:!!_t(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>it.fromJSON(e))):[],is19PlusOnly:!!_t(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!_t(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!_t(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!_t(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return void 0!==e.show&&(t.show=ht.toJSON(e.show)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),void 0!==e.covers&&(t.covers=st.toJSON(e.covers)),""!==e.manifestId&&(t.manifestId=e.manifestId),""!==e.description&&(t.description=e.description),e.publishDate!==BigInt("0")&&(t.publishDate=e.publishDate.toString()),void 0!==e.freezeFrames&&(t.freezeFrames=st.toJSON(e.freezeFrames)),""!==e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),0!==e.mediaTypeEnum&&(t.mediaTypeEnum=function(e){switch(e){case ut.VODCAST:return"VODCAST";case ut.AUDIO:return"AUDIO";case ut.VIDEO:return"VIDEO";case ut.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.mediaTypeEnum)),0!==e.number&&(t.number=Math.round(e.number)),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),""!==e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),0!==e.episodeType&&(t.episodeType=function(e){switch(e){case lt.UNKNOWN:return"UNKNOWN";case lt.FULL:return"FULL";case lt.TRAILER:return"TRAILER";case lt.BONUS:return"BONUS";case lt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.episodeType)),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>it.toJSON(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>mt.fromPartial(e??{}),fromPartial(e){const t=ft();return t.show=void 0!==e.show&&null!==e.show?ht.fromPartial(e.show):void 0,t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.covers=void 0!==e.covers&&null!==e.covers?st.fromPartial(e.covers):void 0,t.manifestId=e.manifestId??"",t.description=e.description??"",t.publishDate=e.publishDate??BigInt("0"),t.freezeFrames=void 0!==e.freezeFrames&&null!==e.freezeFrames?st.fromPartial(e.freezeFrames):void 0,t.language=e.language??"",t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??0,t.number=e.number??0,t.backgroundable=e.backgroundable??!1,t.previewManifestId=e.previewManifestId??"",t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.episodeType=e.episodeType??0,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>it.fromPartial(e)))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};function _t(e){return null!=e}i.util.Long!==D&&(i.util.Long=D,i.configure());const gt={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:St(e.link)?String(e.link):"",name:St(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),t},create:e=>gt.fromPartial(e??{}),fromPartial(e){const t={link:"",name:""};return t.link=e.link??"",t.name=e.name??"",t}};const Et={encode:(e,t=i.Writer.create())=>(void 0!==e.artist&>.encode(e.artist,t.uint32(10).fork()).ldelim(),""!==e.link&&t.uint32(18).string(e.link),""!==e.name&&t.uint32(26).string(e.name),void 0!==e.covers&&st.encode(e.covers,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={artist:void 0,link:"",name:"",covers:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.artist=gt.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.link=n.string();continue;case 3:if(26!==e)break;r.name=n.string();continue;case 4:if(34!==e)break;r.covers=st.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({artist:St(e.artist)?gt.fromJSON(e.artist):void 0,link:St(e.link)?String(e.link):"",name:St(e.name)?String(e.name):"",covers:St(e.covers)?st.fromJSON(e.covers):void 0}),toJSON(e){const t={};return void 0!==e.artist&&(t.artist=gt.toJSON(e.artist)),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.covers&&(t.covers=st.toJSON(e.covers)),t},create:e=>Et.fromPartial(e??{}),fromPartial(e){const t={artist:void 0,link:"",name:"",covers:void 0};return t.artist=void 0!==e.artist&&null!==e.artist?gt.fromPartial(e.artist):void 0,t.link=e.link??"",t.name=e.name??"",t.covers=void 0!==e.covers&&null!==e.covers?st.fromPartial(e.covers):void 0,t}};const vt={encode:(e,t=i.Writer.create())=>(""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.portraits&&st.encode(e.portraits,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",portraits:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.portraits=st.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:St(e.link)?String(e.link):"",name:St(e.name)?String(e.name):"",portraits:St(e.portraits)?st.fromJSON(e.portraits):void 0}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.portraits&&(t.portraits=st.toJSON(e.portraits)),t},create:e=>vt.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",portraits:void 0};return t.link=e.link??"",t.name=e.name??"",t.portraits=void 0!==e.portraits&&null!==e.portraits?st.fromPartial(e.portraits):void 0,t}};const yt={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:St(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),t},create:e=>yt.fromPartial(e??{}),fromPartial(e){const t={name:""};return t.name=e.name??"",t}};const bt={encode(e,t=i.Writer.create()){void 0!==e.album&&Et.encode(e.album,t.uint32(10).fork()).ldelim();for(const n of e.artist)vt.encode(n,t.uint32(18).fork()).ldelim();""!==e.link&&t.uint32(26).string(e.link),""!==e.name&&t.uint32(34).string(e.name),0!==e.length&&t.uint32(40).uint32(e.length),!0===e.playable&&t.uint32(48).bool(e.playable),0!==e.discNumber&&t.uint32(56).uint32(e.discNumber),0!==e.trackNumber&&t.uint32(64).uint32(e.trackNumber),!0===e.isExplicit&&t.uint32(72).bool(e.isExplicit),""!==e.previewId&&t.uint32(82).string(e.previewId),!0===e.isLocal&&t.uint32(88).bool(e.isLocal),!0===e.playableLocalTrack&&t.uint32(96).bool(e.playableLocalTrack),!0===e.hasLyrics&&t.uint32(104).bool(e.hasLyrics),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.locallyPlayable&&t.uint32(120).bool(e.locallyPlayable),""!==e.playableTrackLink&&t.uint32(130).string(e.playableTrackLink),0!==e.popularity&&t.uint32(136).uint32(e.popularity),!0===e.is19PlusOnly&&t.uint32(144).bool(e.is19PlusOnly);for(const n of e.trackDescriptors)yt.encode(n,t.uint32(154).fork()).ldelim();for(const n of e.extension)it.encode(n,t.uint32(162).fork()).ldelim();return!0===e.isCurated&&t.uint32(168).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=Et.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist.push(vt.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.link=n.string();continue;case 4:if(34!==e)break;r.name=n.string();continue;case 5:if(40!==e)break;r.length=n.uint32();continue;case 6:if(48!==e)break;r.playable=n.bool();continue;case 7:if(56!==e)break;r.discNumber=n.uint32();continue;case 8:if(64!==e)break;r.trackNumber=n.uint32();continue;case 9:if(72!==e)break;r.isExplicit=n.bool();continue;case 10:if(82!==e)break;r.previewId=n.string();continue;case 11:if(88!==e)break;r.isLocal=n.bool();continue;case 12:if(96!==e)break;r.playableLocalTrack=n.bool();continue;case 13:if(104!==e)break;r.hasLyrics=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.locallyPlayable=n.bool();continue;case 16:if(130!==e)break;r.playableTrackLink=n.string();continue;case 17:if(136!==e)break;r.popularity=n.uint32();continue;case 18:if(144!==e)break;r.is19PlusOnly=n.bool();continue;case 19:if(154!==e)break;r.trackDescriptors.push(yt.decode(n,n.uint32()));continue;case 20:if(162!==e)break;r.extension.push(it.decode(n,n.uint32()));continue;case 21:if(168!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:St(e.album)?Et.fromJSON(e.album):void 0,artist:Array.isArray(e?.artist)?e.artist.map((e=>vt.fromJSON(e))):[],link:St(e.link)?String(e.link):"",name:St(e.name)?String(e.name):"",length:St(e.length)?Number(e.length):0,playable:!!St(e.playable)&&Boolean(e.playable),discNumber:St(e.discNumber)?Number(e.discNumber):0,trackNumber:St(e.trackNumber)?Number(e.trackNumber):0,isExplicit:!!St(e.isExplicit)&&Boolean(e.isExplicit),previewId:St(e.previewId)?String(e.previewId):"",isLocal:!!St(e.isLocal)&&Boolean(e.isLocal),playableLocalTrack:!!St(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),hasLyrics:!!St(e.hasLyrics)&&Boolean(e.hasLyrics),isPremiumOnly:!!St(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),locallyPlayable:!!St(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableTrackLink:St(e.playableTrackLink)?String(e.playableTrackLink):"",popularity:St(e.popularity)?Number(e.popularity):0,is19PlusOnly:!!St(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:Array.isArray(e?.trackDescriptors)?e.trackDescriptors.map((e=>yt.fromJSON(e))):[],extension:Array.isArray(e?.extension)?e.extension.map((e=>it.fromJSON(e))):[],isCurated:!!St(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!St(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return void 0!==e.album&&(t.album=Et.toJSON(e.album)),e.artist?.length&&(t.artist=e.artist.map((e=>vt.toJSON(e)))),""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),0!==e.length&&(t.length=Math.round(e.length)),!0===e.playable&&(t.playable=e.playable),0!==e.discNumber&&(t.discNumber=Math.round(e.discNumber)),0!==e.trackNumber&&(t.trackNumber=Math.round(e.trackNumber)),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),""!==e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),""!==e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),0!==e.popularity&&(t.popularity=Math.round(e.popularity)),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),e.trackDescriptors?.length&&(t.trackDescriptors=e.trackDescriptors.map((e=>yt.toJSON(e)))),e.extension?.length&&(t.extension=e.extension.map((e=>it.toJSON(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>bt.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:[],link:"",name:"",length:0,playable:!1,discNumber:0,trackNumber:0,isExplicit:!1,previewId:"",isLocal:!1,playableLocalTrack:!1,hasLyrics:!1,isPremiumOnly:!1,locallyPlayable:!1,playableTrackLink:"",popularity:0,is19PlusOnly:!1,trackDescriptors:[],extension:[],isCurated:!1,toBeObfuscated:!1};return t.album=void 0!==e.album&&null!==e.album?Et.fromPartial(e.album):void 0,t.artist=e.artist?.map((e=>vt.fromPartial(e)))||[],t.link=e.link??"",t.name=e.name??"",t.length=e.length??0,t.playable=e.playable??!1,t.discNumber=e.discNumber??0,t.trackNumber=e.trackNumber??0,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??"",t.isLocal=e.isLocal??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.hasLyrics=e.hasLyrics??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableTrackLink=e.playableTrackLink??"",t.popularity=e.popularity??0,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors?.map((e=>yt.fromPartial(e)))||[],t.extension=e.extension?.map((e=>it.fromPartial(e)))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function St(e){return null!=e}var Tt,At;function It(e){switch(e){case 0:case"UNKNOWN":return Tt.UNKNOWN;case 1:case"NOT_ON_DEMAND":return Tt.NOT_ON_DEMAND;case 2:case"ON_DEMAND":return Tt.ON_DEMAND;case 3:case"ON_DEMAND_EPISODES_ONLY":return Tt.ON_DEMAND_EPISODES_ONLY;case 4:case"ON_DEMAND_NON_MUSIC_ONLY":return Tt.ON_DEMAND_NON_MUSIC_ONLY;default:return Tt.UNRECOGNIZED}}function Ot(e){switch(e){case 0:case"UNKNOWN":return At.UNKNOWN;case 1:case"NO_RESTRICTION":return At.NO_RESTRICTION;case 2:case"EXPLICIT_CONTENT":return At.EXPLICIT_CONTENT;case 3:case"AGE_RESTRICTED":return At.AGE_RESTRICTED;case 4:case"NOT_IN_CATALOGUE":return At.NOT_IN_CATALOGUE;case 5:case"NOT_AVAILABLE_OFFLINE":return At.NOT_AVAILABLE_OFFLINE;default:return At.UNRECOGNIZED}}function Ct(e){switch(e){case At.UNKNOWN:return"UNKNOWN";case At.NO_RESTRICTION:return"NO_RESTRICTION";case At.EXPLICIT_CONTENT:return"EXPLICIT_CONTENT";case At.AGE_RESTRICTED:return"AGE_RESTRICTED";case At.NOT_IN_CATALOGUE:return"NOT_IN_CATALOGUE";case At.NOT_AVAILABLE_OFFLINE:return"NOT_AVAILABLE_OFFLINE";case At.UNRECOGNIZED:default:return"UNRECOGNIZED"}}!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NOT_ON_DEMAND=1]="NOT_ON_DEMAND",e[e.ON_DEMAND=2]="ON_DEMAND",e[e.ON_DEMAND_EPISODES_ONLY=3]="ON_DEMAND_EPISODES_ONLY",e[e.ON_DEMAND_NON_MUSIC_ONLY=4]="ON_DEMAND_NON_MUSIC_ONLY",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Tt||(Tt={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.NO_RESTRICTION=1]="NO_RESTRICTION",e[e.EXPLICIT_CONTENT=2]="EXPLICIT_CONTENT",e[e.AGE_RESTRICTED=3]="AGE_RESTRICTED",e[e.NOT_IN_CATALOGUE=4]="NOT_IN_CATALOGUE",e[e.NOT_AVAILABLE_OFFLINE=5]="NOT_AVAILABLE_OFFLINE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(At||(At={}));const Rt={encode:(e,t=i.Writer.create())=>(0!==e.timeLeft&&t.uint32(8).uint32(e.timeLeft),!0===e.isPlayable&&t.uint32(16).bool(e.isPlayable),!0===e.isPlayed&&t.uint32(24).bool(e.isPlayed),0!==e.lastPlayedAt&&t.uint32(32).uint32(e.lastPlayedAt),0!==e.playabilityRestriction&&t.uint32(40).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.uint32();continue;case 2:if(16!==e)break;r.isPlayable=n.bool();continue;case 3:if(24!==e)break;r.isPlayed=n.bool();continue;case 4:if(32!==e)break;r.lastPlayedAt=n.uint32();continue;case 5:if(40!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:Nt(e.timeLeft)?Number(e.timeLeft):0,isPlayable:!!Nt(e.isPlayable)&&Boolean(e.isPlayable),isPlayed:!!Nt(e.isPlayed)&&Boolean(e.isPlayed),lastPlayedAt:Nt(e.lastPlayedAt)?Number(e.lastPlayedAt):0,playabilityRestriction:Nt(e.playabilityRestriction)?Ot(e.playabilityRestriction):0}),toJSON(e){const t={};return 0!==e.timeLeft&&(t.timeLeft=Math.round(e.timeLeft)),!0===e.isPlayable&&(t.isPlayable=e.isPlayable),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),0!==e.lastPlayedAt&&(t.lastPlayedAt=Math.round(e.lastPlayedAt)),0!==e.playabilityRestriction&&(t.playabilityRestriction=Ct(e.playabilityRestriction)),t},create:e=>Rt.fromPartial(e??{}),fromPartial(e){const t={timeLeft:0,isPlayable:!1,isPlayed:!1,lastPlayedAt:0,playabilityRestriction:0};return t.timeLeft=e.timeLeft??0,t.isPlayable=e.isPlayable??!1,t.isPlayed=e.isPlayed??!1,t.lastPlayedAt=e.lastPlayedAt??0,t.playabilityRestriction=e.playabilityRestriction??0,t}};function Nt(e){return null!=e}const Pt={encode:(e,t=i.Writer.create())=>(!0===e.isPlayable&&t.uint32(8).bool(e.isPlayable),0!==e.playabilityRestriction&&t.uint32(16).int32(e.playabilityRestriction),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isPlayable:!1,playabilityRestriction:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isPlayable=n.bool();continue;case 2:if(16!==e)break;r.playabilityRestriction=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isPlayable:!!Lt(e.isPlayable)&&Boolean(e.isPlayable),playabilityRestriction:Lt(e.playabilityRestriction)?Ot(e.playabilityRestriction):0}),toJSON(e){const t={};return!0===e.isPlayable&&(t.isPlayable=e.isPlayable),0!==e.playabilityRestriction&&(t.playabilityRestriction=Ct(e.playabilityRestriction)),t},create:e=>Pt.fromPartial(e??{}),fromPartial(e){const t={isPlayable:!1,playabilityRestriction:0};return t.isPlayable=e.isPlayable??!1,t.playabilityRestriction=e.playabilityRestriction??0,t}};function Lt(e){return null!=e}const kt={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:xt(e.key)?String(e.key):"",value:xt(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>kt.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};const wt={encode:(e,t=i.Writer.create())=>(!0===e.canInsert&&t.uint32(8).bool(e.canInsert),!0===e.canRemove&&t.uint32(16).bool(e.canRemove),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={canInsert:!1,canRemove:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.canInsert=n.bool();continue;case 2:if(16!==e)break;r.canRemove=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({canInsert:!!xt(e.canInsert)&&Boolean(e.canInsert),canRemove:!!xt(e.canRemove)&&Boolean(e.canRemove)}),toJSON(e){const t={};return!0===e.canInsert&&(t.canInsert=e.canInsert),!0===e.canRemove&&(t.canRemove=e.canRemove),t},create:e=>wt.fromPartial(e??{}),fromPartial(e){const t={canInsert:!1,canRemove:!1};return t.canInsert=e.canInsert??!1,t.canRemove=e.canRemove??!1,t}};const Dt={encode(e,t=i.Writer.create()){""!==e.link&&t.uint32(10).string(e.link),""!==e.name&&t.uint32(18).string(e.name),void 0!==e.owner&&te.encode(e.owner,t.uint32(26).fork()).ldelim(),!0===e.ownedBySelf&&t.uint32(32).bool(e.ownedBySelf),!0===e.collaborative&&t.uint32(40).bool(e.collaborative),0!==e.totalLength&&t.uint32(48).uint32(e.totalLength),""!==e.description&&t.uint32(58).string(e.description),void 0!==e.pictures&&st.encode(e.pictures,t.uint32(66).fork()).ldelim(),!0===e.followed&&t.uint32(72).bool(e.followed),!0===e.published&&t.uint32(80).bool(e.published),!0===e.browsableOffline&&t.uint32(88).bool(e.browsableOffline),!0===e.descriptionFromAnnotate&&t.uint32(96).bool(e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&t.uint32(104).bool(e.pictureFromAnnotate),""!==e.formatListType&&t.uint32(114).string(e.formatListType);for(const n of e.formatListAttributes)kt.encode(n,t.uint32(122).fork()).ldelim();!0===e.canReportAnnotationAbuse&&t.uint32(128).bool(e.canReportAnnotationAbuse),!0===e.isLoaded&&t.uint32(136).bool(e.isLoaded),void 0!==e.allows&&wt.encode(e.allows,t.uint32(146).fork()).ldelim(),""!==e.loadState&&t.uint32(154).string(e.loadState),void 0!==e.madeFor&&te.encode(e.madeFor,t.uint32(162).fork()).ldelim();for(const n of e.extension)it.encode(n,t.uint32(170).fork()).ldelim();return 0!==e.lengthIgnoringTextFilter&&t.uint32(176).uint32(e.lengthIgnoringTextFilter),""!==e.aiCurationReferenceId&&t.uint32(186).string(e.aiCurationReferenceId),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:"",name:"",owner:void 0,ownedBySelf:!1,collaborative:!1,totalLength:0,description:"",pictures:void 0,followed:!1,published:!1,browsableOffline:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,formatListType:"",formatListAttributes:[],canReportAnnotationAbuse:!1,isLoaded:!1,allows:void 0,loadState:"",madeFor:void 0,extension:[],lengthIgnoringTextFilter:0,aiCurationReferenceId:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.link=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(26!==e)break;r.owner=te.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.ownedBySelf=n.bool();continue;case 5:if(40!==e)break;r.collaborative=n.bool();continue;case 6:if(48!==e)break;r.totalLength=n.uint32();continue;case 7:if(58!==e)break;r.description=n.string();continue;case 8:if(66!==e)break;r.pictures=st.decode(n,n.uint32());continue;case 9:if(72!==e)break;r.followed=n.bool();continue;case 10:if(80!==e)break;r.published=n.bool();continue;case 11:if(88!==e)break;r.browsableOffline=n.bool();continue;case 12:if(96!==e)break;r.descriptionFromAnnotate=n.bool();continue;case 13:if(104!==e)break;r.pictureFromAnnotate=n.bool();continue;case 14:if(114!==e)break;r.formatListType=n.string();continue;case 15:if(122!==e)break;r.formatListAttributes.push(kt.decode(n,n.uint32()));continue;case 16:if(128!==e)break;r.canReportAnnotationAbuse=n.bool();continue;case 17:if(136!==e)break;r.isLoaded=n.bool();continue;case 18:if(146!==e)break;r.allows=wt.decode(n,n.uint32());continue;case 19:if(154!==e)break;r.loadState=n.string();continue;case 20:if(162!==e)break;r.madeFor=te.decode(n,n.uint32());continue;case 21:if(170!==e)break;r.extension.push(it.decode(n,n.uint32()));continue;case 22:if(176!==e)break;r.lengthIgnoringTextFilter=n.uint32();continue;case 23:if(186!==e)break;r.aiCurationReferenceId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:xt(e.link)?String(e.link):"",name:xt(e.name)?String(e.name):"",owner:xt(e.owner)?te.fromJSON(e.owner):void 0,ownedBySelf:!!xt(e.ownedBySelf)&&Boolean(e.ownedBySelf),collaborative:!!xt(e.collaborative)&&Boolean(e.collaborative),totalLength:xt(e.totalLength)?Number(e.totalLength):0,description:xt(e.description)?String(e.description):"",pictures:xt(e.pictures)?st.fromJSON(e.pictures):void 0,followed:!!xt(e.followed)&&Boolean(e.followed),published:!!xt(e.published)&&Boolean(e.published),browsableOffline:!!xt(e.browsableOffline)&&Boolean(e.browsableOffline),descriptionFromAnnotate:!!xt(e.descriptionFromAnnotate)&&Boolean(e.descriptionFromAnnotate),pictureFromAnnotate:!!xt(e.pictureFromAnnotate)&&Boolean(e.pictureFromAnnotate),formatListType:xt(e.formatListType)?String(e.formatListType):"",formatListAttributes:Array.isArray(e?.formatListAttributes)?e.formatListAttributes.map((e=>kt.fromJSON(e))):[],canReportAnnotationAbuse:!!xt(e.canReportAnnotationAbuse)&&Boolean(e.canReportAnnotationAbuse),isLoaded:!!xt(e.isLoaded)&&Boolean(e.isLoaded),allows:xt(e.allows)?wt.fromJSON(e.allows):void 0,loadState:xt(e.loadState)?String(e.loadState):"",madeFor:xt(e.madeFor)?te.fromJSON(e.madeFor):void 0,extension:Array.isArray(e?.extension)?e.extension.map((e=>it.fromJSON(e))):[],lengthIgnoringTextFilter:xt(e.lengthIgnoringTextFilter)?Number(e.lengthIgnoringTextFilter):0,aiCurationReferenceId:xt(e.aiCurationReferenceId)?String(e.aiCurationReferenceId):""}),toJSON(e){const t={};return""!==e.link&&(t.link=e.link),""!==e.name&&(t.name=e.name),void 0!==e.owner&&(t.owner=te.toJSON(e.owner)),!0===e.ownedBySelf&&(t.ownedBySelf=e.ownedBySelf),!0===e.collaborative&&(t.collaborative=e.collaborative),0!==e.totalLength&&(t.totalLength=Math.round(e.totalLength)),""!==e.description&&(t.description=e.description),void 0!==e.pictures&&(t.pictures=st.toJSON(e.pictures)),!0===e.followed&&(t.followed=e.followed),!0===e.published&&(t.published=e.published),!0===e.browsableOffline&&(t.browsableOffline=e.browsableOffline),!0===e.descriptionFromAnnotate&&(t.descriptionFromAnnotate=e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&(t.pictureFromAnnotate=e.pictureFromAnnotate),""!==e.formatListType&&(t.formatListType=e.formatListType),e.formatListAttributes?.length&&(t.formatListAttributes=e.formatListAttributes.map((e=>kt.toJSON(e)))),!0===e.canReportAnnotationAbuse&&(t.canReportAnnotationAbuse=e.canReportAnnotationAbuse),!0===e.isLoaded&&(t.isLoaded=e.isLoaded),void 0!==e.allows&&(t.allows=wt.toJSON(e.allows)),""!==e.loadState&&(t.loadState=e.loadState),void 0!==e.madeFor&&(t.madeFor=te.toJSON(e.madeFor)),e.extension?.length&&(t.extension=e.extension.map((e=>it.toJSON(e)))),0!==e.lengthIgnoringTextFilter&&(t.lengthIgnoringTextFilter=Math.round(e.lengthIgnoringTextFilter)),""!==e.aiCurationReferenceId&&(t.aiCurationReferenceId=e.aiCurationReferenceId),t},create:e=>Dt.fromPartial(e??{}),fromPartial(e){const t={link:"",name:"",owner:void 0,ownedBySelf:!1,collaborative:!1,totalLength:0,description:"",pictures:void 0,followed:!1,published:!1,browsableOffline:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,formatListType:"",formatListAttributes:[],canReportAnnotationAbuse:!1,isLoaded:!1,allows:void 0,loadState:"",madeFor:void 0,extension:[],lengthIgnoringTextFilter:0,aiCurationReferenceId:""};return t.link=e.link??"",t.name=e.name??"",t.owner=void 0!==e.owner&&null!==e.owner?te.fromPartial(e.owner):void 0,t.ownedBySelf=e.ownedBySelf??!1,t.collaborative=e.collaborative??!1,t.totalLength=e.totalLength??0,t.description=e.description??"",t.pictures=void 0!==e.pictures&&null!==e.pictures?st.fromPartial(e.pictures):void 0,t.followed=e.followed??!1,t.published=e.published??!1,t.browsableOffline=e.browsableOffline??!1,t.descriptionFromAnnotate=e.descriptionFromAnnotate??!1,t.pictureFromAnnotate=e.pictureFromAnnotate??!1,t.formatListType=e.formatListType??"",t.formatListAttributes=e.formatListAttributes?.map((e=>kt.fromPartial(e)))||[],t.canReportAnnotationAbuse=e.canReportAnnotationAbuse??!1,t.isLoaded=e.isLoaded??!1,t.allows=void 0!==e.allows&&null!==e.allows?wt.fromPartial(e.allows):void 0,t.loadState=e.loadState??"",t.madeFor=void 0!==e.madeFor&&null!==e.madeFor?te.fromPartial(e.madeFor):void 0,t.extension=e.extension?.map((e=>it.fromPartial(e)))||[],t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter??0,t.aiCurationReferenceId=e.aiCurationReferenceId??"",t}};const Mt={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:xt(e.offline)?String(e.offline):"",syncProgress:xt(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Mt.fromPartial(e??{}),fromPartial(e){const t={offline:"",syncProgress:0};return t.offline=e.offline??"",t.syncProgress=e.syncProgress??0,t}};function xt(e){return null!=e}const Ut={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.canAddToCollection&&t.uint32(16).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(24).bool(e.isBanned),!0===e.canBan&&t.uint32(32).bool(e.canBan),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.canAddToCollection=n.bool();continue;case 3:if(24!==e)break;r.isBanned=n.bool();continue;case 4:if(32!==e)break;r.canBan=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!Ft(e.isInCollection)&&Boolean(e.isInCollection),canAddToCollection:!!Ft(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!Ft(e.isBanned)&&Boolean(e.isBanned),canBan:!!Ft(e.canBan)&&Boolean(e.canBan)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),t},create:e=>Ut.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1};return t.isInCollection=e.isInCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t}};const Vt={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:Ft(e.offline)?String(e.offline):""}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),t},create:e=>Vt.fromPartial(e??{}),fromPartial(e){const t={offline:""};return t.offline=e.offline??"",t}};function Ft(e){return null!=e}const Bt={encode:(e,t=i.Writer.create())=>(""!==e.offlineState&&t.uint32(10).string(e.offlineState),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offlineState:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offlineState=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:Ht(e.offlineState)?String(e.offlineState):"",syncProgress:Ht(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offlineState&&(t.offlineState=e.offlineState),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Bt.fromPartial(e??{}),fromPartial(e){const t={offlineState:"",syncProgress:0};return t.offlineState=e.offlineState??"",t.syncProgress=e.syncProgress??0,t}};function Ht(e){return null!=e}var Gt;function Wt(e){switch(e){case 0:case"READY":return Gt.READY;case 1:case"PENDING":return Gt.PENDING;default:return Gt.UNRECOGNIZED}}!function(e){e[e.READY=0]="READY",e[e.PENDING=1]="PENDING",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Gt||(Gt={}));const jt={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),0!==e.state&&t.uint32(16).int32(e.state),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:"",state:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue;case 2:if(16!==e)break;r.state=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:sn(e.name)?String(e.name):"",state:sn(e.state)?Wt(e.state):0}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),0!==e.state&&(t.state=function(e){switch(e){case Gt.READY:return"READY";case Gt.PENDING:return"PENDING";case Gt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.state)),t},create:e=>jt.fromPartial(e??{}),fromPartial(e){const t={name:"",state:0};return t.name=e.name??"",t.state=e.state??0,t}};const Yt={encode:(e,t=i.Writer.create())=>(""!==e.offline&&t.uint32(10).string(e.offline),0!==e.syncProgress&&t.uint32(16).uint32(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:"",syncProgress:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.offline=n.string();continue;case 2:if(16!==e)break;r.syncProgress=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:sn(e.offline)?String(e.offline):"",syncProgress:sn(e.syncProgress)?Number(e.syncProgress):0}),toJSON(e){const t={};return""!==e.offline&&(t.offline=e.offline),0!==e.syncProgress&&(t.syncProgress=Math.round(e.syncProgress)),t},create:e=>Yt.fromPartial(e??{}),fromPartial(e){const t={offline:"",syncProgress:0};return t.offline=e.offline??"",t.syncProgress=e.syncProgress??0,t}};const zt={encode:(e,t=i.Writer.create())=>(!0===e.isInCollection&&t.uint32(8).bool(e.isInCollection),!0===e.isBanned&&t.uint32(16).bool(e.isBanned),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isInCollection:!1,isBanned:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isInCollection=n.bool();continue;case 2:if(16!==e)break;r.isBanned=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isInCollection:!!sn(e.isInCollection)&&Boolean(e.isInCollection),isBanned:!!sn(e.isBanned)&&Boolean(e.isBanned)}),toJSON(e){const t={};return!0===e.isInCollection&&(t.isInCollection=e.isInCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),t},create:e=>zt.fromPartial(e??{}),fromPartial(e){const t={isInCollection:!1,isBanned:!1};return t.isInCollection=e.isInCollection??!1,t.isBanned=e.isBanned??!1,t}};const Kt={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),""!==e.image&&t.uint32(18).string(e.image),!0===e.isExplicit&&t.uint32(24).bool(e.isExplicit),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:"",image:"",isExplicit:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue;case 2:if(18!==e)break;r.image=n.string();continue;case 3:if(24!==e)break;r.isExplicit=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:sn(e.name)?String(e.name):"",image:sn(e.image)?String(e.image):"",isExplicit:!!sn(e.isExplicit)&&Boolean(e.isExplicit)}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),""!==e.image&&(t.image=e.image),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),t},create:e=>Kt.fromPartial(e??{}),fromPartial(e){const t={name:"",image:"",isExplicit:!1};return t.name=e.name??"",t.image=e.image??"",t.isExplicit=e.isExplicit??!1,t}};const Jt={encode:(e,t=i.Writer.create())=>(!0===e.isCurated&&t.uint32(8).bool(e.isCurated),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isCurated:!!sn(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>Jt.fromPartial(e??{}),fromPartial(e){const t={isCurated:!1};return t.isCurated=e.isCurated??!1,t}};const qt={encode(e,t=i.Writer.create()){""!==e.headerField&&t.uint32(10).string(e.headerField),0!==e.addTime&&t.uint32(16).uint32(e.addTime),void 0!==e.addedBy&&te.encode(e.addedBy,t.uint32(26).fork()).ldelim(),void 0!==e.trackMetadata&&bt.encode(e.trackMetadata,t.uint32(34).fork()).ldelim(),void 0!==e.trackCollectionState&&Ut.encode(e.trackCollectionState,t.uint32(42).fork()).ldelim(),void 0!==e.trackOfflineState&&Vt.encode(e.trackOfflineState,t.uint32(50).fork()).ldelim(),""!==e.rowId&&t.uint32(58).string(e.rowId),void 0!==e.trackPlayState&&Pt.encode(e.trackPlayState,t.uint32(66).fork()).ldelim();for(const n of e.formatListAttributes)kt.encode(n,t.uint32(74).fork()).ldelim();void 0!==e.episodeMetadata&&mt.encode(e.episodeMetadata,t.uint32(82).fork()).ldelim(),void 0!==e.episodeOfflineState&&Bt.encode(e.episodeOfflineState,t.uint32(90).fork()).ldelim(),void 0!==e.episodeCollectionState&&$e.encode(e.episodeCollectionState,t.uint32(98).fork()).ldelim(),void 0!==e.episodePlayState&&Rt.encode(e.episodePlayState,t.uint32(106).fork()).ldelim(),void 0!==e.displayCovers&&st.encode(e.displayCovers,t.uint32(114).fork()).ldelim();for(const n of e.availableSignals)jt.encode(n,t.uint32(122).fork()).ldelim();!0===e.isRecommendation&&t.uint32(128).bool(e.isRecommendation);for(const n of e.extension)it.encode(n,t.uint32(138).fork()).ldelim();return""!==e.uri&&t.uint32(146).string(e.uri),void 0!==e.offlineState&&Yt.encode(e.offlineState,t.uint32(154).fork()).ldelim(),void 0!==e.collectionState&&zt.encode(e.collectionState,t.uint32(162).fork()).ldelim(),void 0!==e.metadata&&Kt.encode(e.metadata,t.uint32(170).fork()).ldelim(),void 0!==e.curationState&&Jt.encode(e.curationState,t.uint32(178).fork()).ldelim(),!0===e.shouldBeObfuscated&&t.uint32(184).bool(e.shouldBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={headerField:"",addTime:0,addedBy:void 0,trackMetadata:void 0,trackCollectionState:void 0,trackOfflineState:void 0,rowId:"",trackPlayState:void 0,formatListAttributes:[],episodeMetadata:void 0,episodeOfflineState:void 0,episodeCollectionState:void 0,episodePlayState:void 0,displayCovers:void 0,availableSignals:[],isRecommendation:!1,extension:[],uri:"",offlineState:void 0,collectionState:void 0,metadata:void 0,curationState:void 0,shouldBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.headerField=n.string();continue;case 2:if(16!==e)break;r.addTime=n.uint32();continue;case 3:if(26!==e)break;r.addedBy=te.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.trackMetadata=bt.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.trackCollectionState=Ut.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.trackOfflineState=Vt.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.rowId=n.string();continue;case 8:if(66!==e)break;r.trackPlayState=Pt.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.formatListAttributes.push(kt.decode(n,n.uint32()));continue;case 10:if(82!==e)break;r.episodeMetadata=mt.decode(n,n.uint32());continue;case 11:if(90!==e)break;r.episodeOfflineState=Bt.decode(n,n.uint32());continue;case 12:if(98!==e)break;r.episodeCollectionState=$e.decode(n,n.uint32());continue;case 13:if(106!==e)break;r.episodePlayState=Rt.decode(n,n.uint32());continue;case 14:if(114!==e)break;r.displayCovers=st.decode(n,n.uint32());continue;case 15:if(122!==e)break;r.availableSignals.push(jt.decode(n,n.uint32()));continue;case 16:if(128!==e)break;r.isRecommendation=n.bool();continue;case 17:if(138!==e)break;r.extension.push(it.decode(n,n.uint32()));continue;case 18:if(146!==e)break;r.uri=n.string();continue;case 19:if(154!==e)break;r.offlineState=Yt.decode(n,n.uint32());continue;case 20:if(162!==e)break;r.collectionState=zt.decode(n,n.uint32());continue;case 21:if(170!==e)break;r.metadata=Kt.decode(n,n.uint32());continue;case 22:if(178!==e)break;r.curationState=Jt.decode(n,n.uint32());continue;case 23:if(184!==e)break;r.shouldBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({headerField:sn(e.headerField)?String(e.headerField):"",addTime:sn(e.addTime)?Number(e.addTime):0,addedBy:sn(e.addedBy)?te.fromJSON(e.addedBy):void 0,trackMetadata:sn(e.trackMetadata)?bt.fromJSON(e.trackMetadata):void 0,trackCollectionState:sn(e.trackCollectionState)?Ut.fromJSON(e.trackCollectionState):void 0,trackOfflineState:sn(e.trackOfflineState)?Vt.fromJSON(e.trackOfflineState):void 0,rowId:sn(e.rowId)?String(e.rowId):"",trackPlayState:sn(e.trackPlayState)?Pt.fromJSON(e.trackPlayState):void 0,formatListAttributes:Array.isArray(e?.formatListAttributes)?e.formatListAttributes.map((e=>kt.fromJSON(e))):[],episodeMetadata:sn(e.episodeMetadata)?mt.fromJSON(e.episodeMetadata):void 0,episodeOfflineState:sn(e.episodeOfflineState)?Bt.fromJSON(e.episodeOfflineState):void 0,episodeCollectionState:sn(e.episodeCollectionState)?$e.fromJSON(e.episodeCollectionState):void 0,episodePlayState:sn(e.episodePlayState)?Rt.fromJSON(e.episodePlayState):void 0,displayCovers:sn(e.displayCovers)?st.fromJSON(e.displayCovers):void 0,availableSignals:Array.isArray(e?.availableSignals)?e.availableSignals.map((e=>jt.fromJSON(e))):[],isRecommendation:!!sn(e.isRecommendation)&&Boolean(e.isRecommendation),extension:Array.isArray(e?.extension)?e.extension.map((e=>it.fromJSON(e))):[],uri:sn(e.uri)?String(e.uri):"",offlineState:sn(e.offlineState)?Yt.fromJSON(e.offlineState):void 0,collectionState:sn(e.collectionState)?zt.fromJSON(e.collectionState):void 0,metadata:sn(e.metadata)?Kt.fromJSON(e.metadata):void 0,curationState:sn(e.curationState)?Jt.fromJSON(e.curationState):void 0,shouldBeObfuscated:!!sn(e.shouldBeObfuscated)&&Boolean(e.shouldBeObfuscated)}),toJSON(e){const t={};return""!==e.headerField&&(t.headerField=e.headerField),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),void 0!==e.addedBy&&(t.addedBy=te.toJSON(e.addedBy)),void 0!==e.trackMetadata&&(t.trackMetadata=bt.toJSON(e.trackMetadata)),void 0!==e.trackCollectionState&&(t.trackCollectionState=Ut.toJSON(e.trackCollectionState)),void 0!==e.trackOfflineState&&(t.trackOfflineState=Vt.toJSON(e.trackOfflineState)),""!==e.rowId&&(t.rowId=e.rowId),void 0!==e.trackPlayState&&(t.trackPlayState=Pt.toJSON(e.trackPlayState)),e.formatListAttributes?.length&&(t.formatListAttributes=e.formatListAttributes.map((e=>kt.toJSON(e)))),void 0!==e.episodeMetadata&&(t.episodeMetadata=mt.toJSON(e.episodeMetadata)),void 0!==e.episodeOfflineState&&(t.episodeOfflineState=Bt.toJSON(e.episodeOfflineState)),void 0!==e.episodeCollectionState&&(t.episodeCollectionState=$e.toJSON(e.episodeCollectionState)),void 0!==e.episodePlayState&&(t.episodePlayState=Rt.toJSON(e.episodePlayState)),void 0!==e.displayCovers&&(t.displayCovers=st.toJSON(e.displayCovers)),e.availableSignals?.length&&(t.availableSignals=e.availableSignals.map((e=>jt.toJSON(e)))),!0===e.isRecommendation&&(t.isRecommendation=e.isRecommendation),e.extension?.length&&(t.extension=e.extension.map((e=>it.toJSON(e)))),""!==e.uri&&(t.uri=e.uri),void 0!==e.offlineState&&(t.offlineState=Yt.toJSON(e.offlineState)),void 0!==e.collectionState&&(t.collectionState=zt.toJSON(e.collectionState)),void 0!==e.metadata&&(t.metadata=Kt.toJSON(e.metadata)),void 0!==e.curationState&&(t.curationState=Jt.toJSON(e.curationState)),!0===e.shouldBeObfuscated&&(t.shouldBeObfuscated=e.shouldBeObfuscated),t},create:e=>qt.fromPartial(e??{}),fromPartial(e){const t={headerField:"",addTime:0,addedBy:void 0,trackMetadata:void 0,trackCollectionState:void 0,trackOfflineState:void 0,rowId:"",trackPlayState:void 0,formatListAttributes:[],episodeMetadata:void 0,episodeOfflineState:void 0,episodeCollectionState:void 0,episodePlayState:void 0,displayCovers:void 0,availableSignals:[],isRecommendation:!1,extension:[],uri:"",offlineState:void 0,collectionState:void 0,metadata:void 0,curationState:void 0,shouldBeObfuscated:!1};return t.headerField=e.headerField??"",t.addTime=e.addTime??0,t.addedBy=void 0!==e.addedBy&&null!==e.addedBy?te.fromPartial(e.addedBy):void 0,t.trackMetadata=void 0!==e.trackMetadata&&null!==e.trackMetadata?bt.fromPartial(e.trackMetadata):void 0,t.trackCollectionState=void 0!==e.trackCollectionState&&null!==e.trackCollectionState?Ut.fromPartial(e.trackCollectionState):void 0,t.trackOfflineState=void 0!==e.trackOfflineState&&null!==e.trackOfflineState?Vt.fromPartial(e.trackOfflineState):void 0,t.rowId=e.rowId??"",t.trackPlayState=void 0!==e.trackPlayState&&null!==e.trackPlayState?Pt.fromPartial(e.trackPlayState):void 0,t.formatListAttributes=e.formatListAttributes?.map((e=>kt.fromPartial(e)))||[],t.episodeMetadata=void 0!==e.episodeMetadata&&null!==e.episodeMetadata?mt.fromPartial(e.episodeMetadata):void 0,t.episodeOfflineState=void 0!==e.episodeOfflineState&&null!==e.episodeOfflineState?Bt.fromPartial(e.episodeOfflineState):void 0,t.episodeCollectionState=void 0!==e.episodeCollectionState&&null!==e.episodeCollectionState?$e.fromPartial(e.episodeCollectionState):void 0,t.episodePlayState=void 0!==e.episodePlayState&&null!==e.episodePlayState?Rt.fromPartial(e.episodePlayState):void 0,t.displayCovers=void 0!==e.displayCovers&&null!==e.displayCovers?st.fromPartial(e.displayCovers):void 0,t.availableSignals=e.availableSignals?.map((e=>jt.fromPartial(e)))||[],t.isRecommendation=e.isRecommendation??!1,t.extension=e.extension?.map((e=>it.fromPartial(e)))||[],t.uri=e.uri??"",t.offlineState=void 0!==e.offlineState&&null!==e.offlineState?Yt.fromPartial(e.offlineState):void 0,t.collectionState=void 0!==e.collectionState&&null!==e.collectionState?zt.fromPartial(e.collectionState):void 0,t.metadata=void 0!==e.metadata&&null!==e.metadata?Kt.fromPartial(e.metadata):void 0,t.curationState=void 0!==e.curationState&&null!==e.curationState?Jt.fromPartial(e.curationState):void 0,t.shouldBeObfuscated=e.shouldBeObfuscated??!1,t}};const Xt={encode:(e,t=i.Writer.create())=>(""!==e.name&&t.uint32(10).string(e.name),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.name=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:sn(e.name)?String(e.name):""}),toJSON(e){const t={};return""!==e.name&&(t.name=e.name),t},create:e=>Xt.fromPartial(e??{}),fromPartial(e){const t={name:""};return t.name=e.name??"",t}};const $t={encode(e,t=i.Writer.create()){for(const n of e.requestedLenses)Xt.encode(n,t.uint32(10).fork()).ldelim();for(const n of e.appliedLenses)Xt.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={requestedLenses:[],appliedLenses:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.requestedLenses.push(Xt.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.appliedLenses.push(Xt.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({requestedLenses:Array.isArray(e?.requestedLenses)?e.requestedLenses.map((e=>Xt.fromJSON(e))):[],appliedLenses:Array.isArray(e?.appliedLenses)?e.appliedLenses.map((e=>Xt.fromJSON(e))):[]}),toJSON(e){const t={};return e.requestedLenses?.length&&(t.requestedLenses=e.requestedLenses.map((e=>Xt.toJSON(e)))),e.appliedLenses?.length&&(t.appliedLenses=e.appliedLenses.map((e=>Xt.toJSON(e)))),t},create:e=>$t.fromPartial(e??{}),fromPartial(e){const t={requestedLenses:[],appliedLenses:[]};return t.requestedLenses=e.requestedLenses?.map((e=>Xt.fromPartial(e)))||[],t.appliedLenses=e.appliedLenses?.map((e=>Xt.fromPartial(e)))||[],t}};const Zt={encode:(e,t=i.Writer.create())=>(void 0!==e.playlistMetadata&&Dt.encode(e.playlistMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.playlistOfflineState&&Mt.encode(e.playlistOfflineState,t.uint32(18).fork()).ldelim(),void 0!==e.lenses&&$t.encode(e.lenses,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistMetadata:void 0,playlistOfflineState:void 0,lenses:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistMetadata=Dt.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.playlistOfflineState=Mt.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.lenses=$t.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistMetadata:sn(e.playlistMetadata)?Dt.fromJSON(e.playlistMetadata):void 0,playlistOfflineState:sn(e.playlistOfflineState)?Mt.fromJSON(e.playlistOfflineState):void 0,lenses:sn(e.lenses)?$t.fromJSON(e.lenses):void 0}),toJSON(e){const t={};return void 0!==e.playlistMetadata&&(t.playlistMetadata=Dt.toJSON(e.playlistMetadata)),void 0!==e.playlistOfflineState&&(t.playlistOfflineState=Mt.toJSON(e.playlistOfflineState)),void 0!==e.lenses&&(t.lenses=$t.toJSON(e.lenses)),t},create:e=>Zt.fromPartial(e??{}),fromPartial(e){const t={playlistMetadata:void 0,playlistOfflineState:void 0,lenses:void 0};return t.playlistMetadata=void 0!==e.playlistMetadata&&null!==e.playlistMetadata?Dt.fromPartial(e.playlistMetadata):void 0,t.playlistOfflineState=void 0!==e.playlistOfflineState&&null!==e.playlistOfflineState?Mt.fromPartial(e.playlistOfflineState):void 0,t.lenses=void 0!==e.lenses&&null!==e.lenses?$t.fromPartial(e.lenses):void 0,t}};const Qt={encode:(e,t=i.Writer.create())=>(void 0!==e.trackMetadata&&bt.encode(e.trackMetadata,t.uint32(10).fork()).ldelim(),void 0!==e.trackCollectionState&&Ut.encode(e.trackCollectionState,t.uint32(18).fork()).ldelim(),void 0!==e.trackOfflineState&&Vt.encode(e.trackOfflineState,t.uint32(26).fork()).ldelim(),void 0!==e.trackPlayState&&Pt.encode(e.trackPlayState,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={trackMetadata:void 0,trackCollectionState:void 0,trackOfflineState:void 0,trackPlayState:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.trackMetadata=bt.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.trackCollectionState=Ut.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackOfflineState=Vt.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.trackPlayState=Pt.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({trackMetadata:sn(e.trackMetadata)?bt.fromJSON(e.trackMetadata):void 0,trackCollectionState:sn(e.trackCollectionState)?Ut.fromJSON(e.trackCollectionState):void 0,trackOfflineState:sn(e.trackOfflineState)?Vt.fromJSON(e.trackOfflineState):void 0,trackPlayState:sn(e.trackPlayState)?Pt.fromJSON(e.trackPlayState):void 0}),toJSON(e){const t={};return void 0!==e.trackMetadata&&(t.trackMetadata=bt.toJSON(e.trackMetadata)),void 0!==e.trackCollectionState&&(t.trackCollectionState=Ut.toJSON(e.trackCollectionState)),void 0!==e.trackOfflineState&&(t.trackOfflineState=Vt.toJSON(e.trackOfflineState)),void 0!==e.trackPlayState&&(t.trackPlayState=Pt.toJSON(e.trackPlayState)),t},create:e=>Qt.fromPartial(e??{}),fromPartial(e){const t={trackMetadata:void 0,trackCollectionState:void 0,trackOfflineState:void 0,trackPlayState:void 0};return t.trackMetadata=void 0!==e.trackMetadata&&null!==e.trackMetadata?bt.fromPartial(e.trackMetadata):void 0,t.trackCollectionState=void 0!==e.trackCollectionState&&null!==e.trackCollectionState?Ut.fromPartial(e.trackCollectionState):void 0,t.trackOfflineState=void 0!==e.trackOfflineState&&null!==e.trackOfflineState?Vt.fromPartial(e.trackOfflineState):void 0,t.trackPlayState=void 0!==e.trackPlayState&&null!==e.trackPlayState?Pt.fromPartial(e.trackPlayState):void 0,t}};const en={encode:(e,t=i.Writer.create())=>(void 0!==e.user&&te.encode(e.user,t.uint32(10).fork()).ldelim(),0!==e.numberOfItems&&t.uint32(16).uint32(e.numberOfItems),0!==e.numberOfTracks&&t.uint32(24).uint32(e.numberOfTracks),0!==e.numberOfEpisodes&&t.uint32(32).uint32(e.numberOfEpisodes),!0===e.isOwner&&t.uint32(40).bool(e.isOwner),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={user:void 0,numberOfItems:0,numberOfTracks:0,numberOfEpisodes:0,isOwner:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.user=te.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.numberOfItems=n.uint32();continue;case 3:if(24!==e)break;r.numberOfTracks=n.uint32();continue;case 4:if(32!==e)break;r.numberOfEpisodes=n.uint32();continue;case 5:if(40!==e)break;r.isOwner=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({user:sn(e.user)?te.fromJSON(e.user):void 0,numberOfItems:sn(e.numberOfItems)?Number(e.numberOfItems):0,numberOfTracks:sn(e.numberOfTracks)?Number(e.numberOfTracks):0,numberOfEpisodes:sn(e.numberOfEpisodes)?Number(e.numberOfEpisodes):0,isOwner:!!sn(e.isOwner)&&Boolean(e.isOwner)}),toJSON(e){const t={};return void 0!==e.user&&(t.user=te.toJSON(e.user)),0!==e.numberOfItems&&(t.numberOfItems=Math.round(e.numberOfItems)),0!==e.numberOfTracks&&(t.numberOfTracks=Math.round(e.numberOfTracks)),0!==e.numberOfEpisodes&&(t.numberOfEpisodes=Math.round(e.numberOfEpisodes)),!0===e.isOwner&&(t.isOwner=e.isOwner),t},create:e=>en.fromPartial(e??{}),fromPartial(e){const t={user:void 0,numberOfItems:0,numberOfTracks:0,numberOfEpisodes:0,isOwner:!1};return t.user=void 0!==e.user&&null!==e.user?te.fromPartial(e.user):void 0,t.numberOfItems=e.numberOfItems??0,t.numberOfTracks=e.numberOfTracks??0,t.numberOfEpisodes=e.numberOfEpisodes??0,t.isOwner=e.isOwner??!1,t}};const tn={encode(e,t=i.Writer.create()){0!==e.count&&t.uint32(8).uint32(e.count);for(const n of e.collaborator)en.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={count:0,collaborator:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.count=n.uint32();continue;case 2:if(18!==e)break;r.collaborator.push(en.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({count:sn(e.count)?Number(e.count):0,collaborator:Array.isArray(e?.collaborator)?e.collaborator.map((e=>en.fromJSON(e))):[]}),toJSON(e){const t={};return 0!==e.count&&(t.count=Math.round(e.count)),e.collaborator?.length&&(t.collaborator=e.collaborator.map((e=>en.toJSON(e)))),t},create:e=>tn.fromPartial(e??{}),fromPartial(e){const t={count:0,collaborator:[]};return t.count=e.count??0,t.collaborator=e.collaborator?.map((e=>en.fromPartial(e)))||[],t}};const nn={encode:(e,t=i.Writer.create())=>(0!==e.linkType&&t.uint32(8).int32(e.linkType),0!==e.numItems&&t.uint32(16).int32(e.numItems),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={linkType:0,numItems:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.linkType=n.int32();continue;case 2:if(16!==e)break;r.numItems=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({linkType:sn(e.linkType)?Se(e.linkType):0,numItems:sn(e.numItems)?Number(e.numItems):0}),toJSON(e){const t={};return 0!==e.linkType&&(t.linkType=Te(e.linkType)),0!==e.numItems&&(t.numItems=Math.round(e.numItems)),t},create:e=>nn.fromPartial(e??{}),fromPartial(e){const t={linkType:0,numItems:0};return t.linkType=e.linkType??0,t.numItems=e.numItems??0,t}};function on(){return{item:[],playlist:void 0,unfilteredLength:0,unrangedLength:0,duration:BigInt("0"),loadingContents:!1,lastModification:BigInt("0"),numFollowers:0,playable:!1,recommendations:[],hasExplicitContent:!1,containsSpotifyTracks:!1,containsEpisodes:!1,onlyContainsExplicit:!1,containsAudioEpisodes:!1,containsTracks:!1,isOnDemandInFree:!1,numberOfTracks:0,numberOfEpisodes:0,preferLinearPlayback:!1,onDemandInFreeReason:0,collaborators:void 0,basePermission:void 0,userCapabilities:void 0,numberOfItemsPerLinkType:[],availableSignals:[]}}const rn={encode(e,t=i.Writer.create()){for(const n of e.item)qt.encode(n,t.uint32(10).fork()).ldelim();void 0!==e.playlist&&Zt.encode(e.playlist,t.uint32(18).fork()).ldelim(),0!==e.unfilteredLength&&t.uint32(24).uint32(e.unfilteredLength),0!==e.unrangedLength&&t.uint32(32).uint32(e.unrangedLength),e.duration!==BigInt("0")&&t.uint32(40).uint64(e.duration.toString()),!0===e.loadingContents&&t.uint32(48).bool(e.loadingContents),e.lastModification!==BigInt("0")&&t.uint32(56).uint64(e.lastModification.toString()),0!==e.numFollowers&&t.uint32(64).uint32(e.numFollowers),!0===e.playable&&t.uint32(72).bool(e.playable);for(const n of e.recommendations)Qt.encode(n,t.uint32(82).fork()).ldelim();!0===e.hasExplicitContent&&t.uint32(88).bool(e.hasExplicitContent),!0===e.containsSpotifyTracks&&t.uint32(96).bool(e.containsSpotifyTracks),!0===e.containsEpisodes&&t.uint32(104).bool(e.containsEpisodes),!0===e.onlyContainsExplicit&&t.uint32(112).bool(e.onlyContainsExplicit),!0===e.containsAudioEpisodes&&t.uint32(120).bool(e.containsAudioEpisodes),!0===e.containsTracks&&t.uint32(128).bool(e.containsTracks),!0===e.isOnDemandInFree&&t.uint32(136).bool(e.isOnDemandInFree),0!==e.numberOfTracks&&t.uint32(144).uint32(e.numberOfTracks),0!==e.numberOfEpisodes&&t.uint32(152).uint32(e.numberOfEpisodes),!0===e.preferLinearPlayback&&t.uint32(160).bool(e.preferLinearPlayback),0!==e.onDemandInFreeReason&&t.uint32(168).int32(e.onDemandInFreeReason),void 0!==e.collaborators&&tn.encode(e.collaborators,t.uint32(178).fork()).ldelim(),void 0!==e.basePermission&&V.encode(e.basePermission,t.uint32(186).fork()).ldelim(),void 0!==e.userCapabilities&&G.encode(e.userCapabilities,t.uint32(194).fork()).ldelim();for(const n of e.numberOfItemsPerLinkType)nn.encode(n,t.uint32(202).fork()).ldelim();for(const n of e.availableSignals)jt.encode(n,t.uint32(210).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=on();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item.push(qt.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.playlist=Zt.decode(n,n.uint32());continue;case 3:if(24!==e)break;r.unfilteredLength=n.uint32();continue;case 4:if(32!==e)break;r.unrangedLength=n.uint32();continue;case 5:if(40!==e)break;r.duration=an(n.uint64());continue;case 6:if(48!==e)break;r.loadingContents=n.bool();continue;case 7:if(56!==e)break;r.lastModification=an(n.uint64());continue;case 8:if(64!==e)break;r.numFollowers=n.uint32();continue;case 9:if(72!==e)break;r.playable=n.bool();continue;case 10:if(82!==e)break;r.recommendations.push(Qt.decode(n,n.uint32()));continue;case 11:if(88!==e)break;r.hasExplicitContent=n.bool();continue;case 12:if(96!==e)break;r.containsSpotifyTracks=n.bool();continue;case 13:if(104!==e)break;r.containsEpisodes=n.bool();continue;case 14:if(112!==e)break;r.onlyContainsExplicit=n.bool();continue;case 15:if(120!==e)break;r.containsAudioEpisodes=n.bool();continue;case 16:if(128!==e)break;r.containsTracks=n.bool();continue;case 17:if(136!==e)break;r.isOnDemandInFree=n.bool();continue;case 18:if(144!==e)break;r.numberOfTracks=n.uint32();continue;case 19:if(152!==e)break;r.numberOfEpisodes=n.uint32();continue;case 20:if(160!==e)break;r.preferLinearPlayback=n.bool();continue;case 21:if(168!==e)break;r.onDemandInFreeReason=n.int32();continue;case 22:if(178!==e)break;r.collaborators=tn.decode(n,n.uint32());continue;case 23:if(186!==e)break;r.basePermission=V.decode(n,n.uint32());continue;case 24:if(194!==e)break;r.userCapabilities=G.decode(n,n.uint32());continue;case 25:if(202!==e)break;r.numberOfItemsPerLinkType.push(nn.decode(n,n.uint32()));continue;case 26:if(210!==e)break;r.availableSignals.push(jt.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:Array.isArray(e?.item)?e.item.map((e=>qt.fromJSON(e))):[],playlist:sn(e.playlist)?Zt.fromJSON(e.playlist):void 0,unfilteredLength:sn(e.unfilteredLength)?Number(e.unfilteredLength):0,unrangedLength:sn(e.unrangedLength)?Number(e.unrangedLength):0,duration:sn(e.duration)?BigInt(e.duration):BigInt("0"),loadingContents:!!sn(e.loadingContents)&&Boolean(e.loadingContents),lastModification:sn(e.lastModification)?BigInt(e.lastModification):BigInt("0"),numFollowers:sn(e.numFollowers)?Number(e.numFollowers):0,playable:!!sn(e.playable)&&Boolean(e.playable),recommendations:Array.isArray(e?.recommendations)?e.recommendations.map((e=>Qt.fromJSON(e))):[],hasExplicitContent:!!sn(e.hasExplicitContent)&&Boolean(e.hasExplicitContent),containsSpotifyTracks:!!sn(e.containsSpotifyTracks)&&Boolean(e.containsSpotifyTracks),containsEpisodes:!!sn(e.containsEpisodes)&&Boolean(e.containsEpisodes),onlyContainsExplicit:!!sn(e.onlyContainsExplicit)&&Boolean(e.onlyContainsExplicit),containsAudioEpisodes:!!sn(e.containsAudioEpisodes)&&Boolean(e.containsAudioEpisodes),containsTracks:!!sn(e.containsTracks)&&Boolean(e.containsTracks),isOnDemandInFree:!!sn(e.isOnDemandInFree)&&Boolean(e.isOnDemandInFree),numberOfTracks:sn(e.numberOfTracks)?Number(e.numberOfTracks):0,numberOfEpisodes:sn(e.numberOfEpisodes)?Number(e.numberOfEpisodes):0,preferLinearPlayback:!!sn(e.preferLinearPlayback)&&Boolean(e.preferLinearPlayback),onDemandInFreeReason:sn(e.onDemandInFreeReason)?It(e.onDemandInFreeReason):0,collaborators:sn(e.collaborators)?tn.fromJSON(e.collaborators):void 0,basePermission:sn(e.basePermission)?V.fromJSON(e.basePermission):void 0,userCapabilities:sn(e.userCapabilities)?G.fromJSON(e.userCapabilities):void 0,numberOfItemsPerLinkType:Array.isArray(e?.numberOfItemsPerLinkType)?e.numberOfItemsPerLinkType.map((e=>nn.fromJSON(e))):[],availableSignals:Array.isArray(e?.availableSignals)?e.availableSignals.map((e=>jt.fromJSON(e))):[]}),toJSON(e){const t={};return e.item?.length&&(t.item=e.item.map((e=>qt.toJSON(e)))),void 0!==e.playlist&&(t.playlist=Zt.toJSON(e.playlist)),0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.unrangedLength&&(t.unrangedLength=Math.round(e.unrangedLength)),e.duration!==BigInt("0")&&(t.duration=e.duration.toString()),!0===e.loadingContents&&(t.loadingContents=e.loadingContents),e.lastModification!==BigInt("0")&&(t.lastModification=e.lastModification.toString()),0!==e.numFollowers&&(t.numFollowers=Math.round(e.numFollowers)),!0===e.playable&&(t.playable=e.playable),e.recommendations?.length&&(t.recommendations=e.recommendations.map((e=>Qt.toJSON(e)))),!0===e.hasExplicitContent&&(t.hasExplicitContent=e.hasExplicitContent),!0===e.containsSpotifyTracks&&(t.containsSpotifyTracks=e.containsSpotifyTracks),!0===e.containsEpisodes&&(t.containsEpisodes=e.containsEpisodes),!0===e.onlyContainsExplicit&&(t.onlyContainsExplicit=e.onlyContainsExplicit),!0===e.containsAudioEpisodes&&(t.containsAudioEpisodes=e.containsAudioEpisodes),!0===e.containsTracks&&(t.containsTracks=e.containsTracks),!0===e.isOnDemandInFree&&(t.isOnDemandInFree=e.isOnDemandInFree),0!==e.numberOfTracks&&(t.numberOfTracks=Math.round(e.numberOfTracks)),0!==e.numberOfEpisodes&&(t.numberOfEpisodes=Math.round(e.numberOfEpisodes)),!0===e.preferLinearPlayback&&(t.preferLinearPlayback=e.preferLinearPlayback),0!==e.onDemandInFreeReason&&(t.onDemandInFreeReason=function(e){switch(e){case Tt.UNKNOWN:return"UNKNOWN";case Tt.NOT_ON_DEMAND:return"NOT_ON_DEMAND";case Tt.ON_DEMAND:return"ON_DEMAND";case Tt.ON_DEMAND_EPISODES_ONLY:return"ON_DEMAND_EPISODES_ONLY";case Tt.ON_DEMAND_NON_MUSIC_ONLY:return"ON_DEMAND_NON_MUSIC_ONLY";case Tt.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.onDemandInFreeReason)),void 0!==e.collaborators&&(t.collaborators=tn.toJSON(e.collaborators)),void 0!==e.basePermission&&(t.basePermission=V.toJSON(e.basePermission)),void 0!==e.userCapabilities&&(t.userCapabilities=G.toJSON(e.userCapabilities)),e.numberOfItemsPerLinkType?.length&&(t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType.map((e=>nn.toJSON(e)))),e.availableSignals?.length&&(t.availableSignals=e.availableSignals.map((e=>jt.toJSON(e)))),t},create:e=>rn.fromPartial(e??{}),fromPartial(e){const t=on();return t.item=e.item?.map((e=>qt.fromPartial(e)))||[],t.playlist=void 0!==e.playlist&&null!==e.playlist?Zt.fromPartial(e.playlist):void 0,t.unfilteredLength=e.unfilteredLength??0,t.unrangedLength=e.unrangedLength??0,t.duration=e.duration??BigInt("0"),t.loadingContents=e.loadingContents??!1,t.lastModification=e.lastModification??BigInt("0"),t.numFollowers=e.numFollowers??0,t.playable=e.playable??!1,t.recommendations=e.recommendations?.map((e=>Qt.fromPartial(e)))||[],t.hasExplicitContent=e.hasExplicitContent??!1,t.containsSpotifyTracks=e.containsSpotifyTracks??!1,t.containsEpisodes=e.containsEpisodes??!1,t.onlyContainsExplicit=e.onlyContainsExplicit??!1,t.containsAudioEpisodes=e.containsAudioEpisodes??!1,t.containsTracks=e.containsTracks??!1,t.isOnDemandInFree=e.isOnDemandInFree??!1,t.numberOfTracks=e.numberOfTracks??0,t.numberOfEpisodes=e.numberOfEpisodes??0,t.preferLinearPlayback=e.preferLinearPlayback??!1,t.onDemandInFreeReason=e.onDemandInFreeReason??0,t.collaborators=void 0!==e.collaborators&&null!==e.collaborators?tn.fromPartial(e.collaborators):void 0,t.basePermission=void 0!==e.basePermission&&null!==e.basePermission?V.fromPartial(e.basePermission):void 0,t.userCapabilities=void 0!==e.userCapabilities&&null!==e.userCapabilities?G.fromPartial(e.userCapabilities):void 0,t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType?.map((e=>nn.fromPartial(e)))||[],t.availableSignals=e.availableSignals?.map((e=>jt.fromPartial(e)))||[],t}};function an(e){return BigInt(e.toString())}function sn(e){return null!=e}i.util.Long!==D&&(i.util.Long=D,i.configure());const cn={encode:(e,t=i.Writer.create())=>(!0===e.username&&t.uint32(8).bool(e.username),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.image&&t.uint32(32).bool(e.image),!0===e.thumbnail&&t.uint32(40).bool(e.thumbnail),!0===e.color&&t.uint32(48).bool(e.color),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.username=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.image=n.bool();continue;case 5:if(40!==e)break;r.thumbnail=n.bool();continue;case 6:if(48!==e)break;r.color=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({username:!!dn(e.username)&&Boolean(e.username),link:!!dn(e.link)&&Boolean(e.link),name:!!dn(e.name)&&Boolean(e.name),image:!!dn(e.image)&&Boolean(e.image),thumbnail:!!dn(e.thumbnail)&&Boolean(e.thumbnail),color:!!dn(e.color)&&Boolean(e.color)}),toJSON(e){const t={};return!0===e.username&&(t.username=e.username),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.image&&(t.image=e.image),!0===e.thumbnail&&(t.thumbnail=e.thumbnail),!0===e.color&&(t.color=e.color),t},create:e=>cn.fromPartial(e??{}),fromPartial(e){const t={username:!1,link:!1,name:!1,image:!1,thumbnail:!1,color:!1};return t.username=e.username??!1,t.link=e.link??!1,t.name=e.name??!1,t.image=e.image??!1,t.thumbnail=e.thumbnail??!1,t.color=e.color??!1,t}};const ln={encode:(e,t=i.Writer.create())=>(void 0!==e.user&&cn.encode(e.user,t.uint32(10).fork()).ldelim(),!0===e.numberOfItems&&t.uint32(16).bool(e.numberOfItems),!0===e.numberOfTracks&&t.uint32(24).bool(e.numberOfTracks),!0===e.numberOfEpisodes&&t.uint32(32).bool(e.numberOfEpisodes),!0===e.isOwner&&t.uint32(40).bool(e.isOwner),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={user:void 0,numberOfItems:!1,numberOfTracks:!1,numberOfEpisodes:!1,isOwner:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.user=cn.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.numberOfItems=n.bool();continue;case 3:if(24!==e)break;r.numberOfTracks=n.bool();continue;case 4:if(32!==e)break;r.numberOfEpisodes=n.bool();continue;case 5:if(40!==e)break;r.isOwner=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({user:dn(e.user)?cn.fromJSON(e.user):void 0,numberOfItems:!!dn(e.numberOfItems)&&Boolean(e.numberOfItems),numberOfTracks:!!dn(e.numberOfTracks)&&Boolean(e.numberOfTracks),numberOfEpisodes:!!dn(e.numberOfEpisodes)&&Boolean(e.numberOfEpisodes),isOwner:!!dn(e.isOwner)&&Boolean(e.isOwner)}),toJSON(e){const t={};return void 0!==e.user&&(t.user=cn.toJSON(e.user)),!0===e.numberOfItems&&(t.numberOfItems=e.numberOfItems),!0===e.numberOfTracks&&(t.numberOfTracks=e.numberOfTracks),!0===e.numberOfEpisodes&&(t.numberOfEpisodes=e.numberOfEpisodes),!0===e.isOwner&&(t.isOwner=e.isOwner),t},create:e=>ln.fromPartial(e??{}),fromPartial(e){const t={user:void 0,numberOfItems:!1,numberOfTracks:!1,numberOfEpisodes:!1,isOwner:!1};return t.user=void 0!==e.user&&null!==e.user?cn.fromPartial(e.user):void 0,t.numberOfItems=e.numberOfItems??!1,t.numberOfTracks=e.numberOfTracks??!1,t.numberOfEpisodes=e.numberOfEpisodes??!1,t.isOwner=e.isOwner??!1,t}};const un={encode:(e,t=i.Writer.create())=>(!0===e.count&&t.uint32(8).bool(e.count),0!==e.limit&&t.uint32(16).int32(e.limit),void 0!==e.collaborator&&ln.encode(e.collaborator,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={count:!1,limit:0,collaborator:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.count=n.bool();continue;case 2:if(16!==e)break;r.limit=n.int32();continue;case 3:if(26!==e)break;r.collaborator=ln.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({count:!!dn(e.count)&&Boolean(e.count),limit:dn(e.limit)?Number(e.limit):0,collaborator:dn(e.collaborator)?ln.fromJSON(e.collaborator):void 0}),toJSON(e){const t={};return!0===e.count&&(t.count=e.count),0!==e.limit&&(t.limit=Math.round(e.limit)),void 0!==e.collaborator&&(t.collaborator=ln.toJSON(e.collaborator)),t},create:e=>un.fromPartial(e??{}),fromPartial(e){const t={count:!1,limit:0,collaborator:void 0};return t.count=e.count??!1,t.limit=e.limit??0,t.collaborator=void 0!==e.collaborator&&null!==e.collaborator?ln.fromPartial(e.collaborator):void 0,t}};function dn(e){return null!=e}const pn={encode:(e,t=i.Writer.create())=>(!0===e.insert&&t.uint32(8).bool(e.insert),!0===e.remove&&t.uint32(16).bool(e.remove),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={insert:!1,remove:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.insert=n.bool();continue;case 2:if(16!==e)break;r.remove=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({insert:!!fn(e.insert)&&Boolean(e.insert),remove:!!fn(e.remove)&&Boolean(e.remove)}),toJSON(e){const t={};return!0===e.insert&&(t.insert=e.insert),!0===e.remove&&(t.remove=e.remove),t},create:e=>pn.fromPartial(e??{}),fromPartial(e){const t={insert:!1,remove:!1};return t.insert=e.insert??!1,t.remove=e.remove??!1,t}};const hn={encode(e,t=i.Writer.create()){!0===e.rowId&&t.uint32(8).bool(e.rowId),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.loadState&&t.uint32(32).bool(e.loadState),!0===e.loaded&&t.uint32(40).bool(e.loaded),!0===e.collaborative&&t.uint32(48).bool(e.collaborative),!0===e.length&&t.uint32(56).bool(e.length),!0===e.lastModification&&t.uint32(64).bool(e.lastModification),!0===e.totalLength&&t.uint32(72).bool(e.totalLength),!0===e.duration&&t.uint32(80).bool(e.duration),!0===e.description&&t.uint32(88).bool(e.description),!0===e.picture&&t.uint32(96).bool(e.picture),!0===e.playable&&t.uint32(104).bool(e.playable),!0===e.descriptionFromAnnotate&&t.uint32(112).bool(e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&t.uint32(120).bool(e.pictureFromAnnotate),!0===e.canReportAnnotationAbuse&&t.uint32(128).bool(e.canReportAnnotationAbuse),!0===e.followed&&t.uint32(136).bool(e.followed),!0===e.followers&&t.uint32(144).bool(e.followers),!0===e.ownedBySelf&&t.uint32(152).bool(e.ownedBySelf),!0===e.offline&&t.uint32(160).bool(e.offline),!0===e.syncProgress&&t.uint32(168).bool(e.syncProgress),!0===e.published&&t.uint32(176).bool(e.published),!0===e.browsableOffline&&t.uint32(184).bool(e.browsableOffline),!0===e.formatListType&&t.uint32(192).bool(e.formatListType),!0===e.formatListAttributes&&t.uint32(200).bool(e.formatListAttributes),!0===e.hasExplicitContent&&t.uint32(208).bool(e.hasExplicitContent),!0===e.containsSpotifyTracks&&t.uint32(216).bool(e.containsSpotifyTracks),!0===e.containsTracks&&t.uint32(224).bool(e.containsTracks),!0===e.containsEpisodes&&t.uint32(232).bool(e.containsEpisodes),!0===e.containsAudioEpisodes&&t.uint32(240).bool(e.containsAudioEpisodes),!0===e.onlyContainsExplicit&&t.uint32(248).bool(e.onlyContainsExplicit),!0===e.isOnDemandInFree&&t.uint32(256).bool(e.isOnDemandInFree),void 0!==e.owner&&cn.encode(e.owner,t.uint32(266).fork()).ldelim(),void 0!==e.madeFor&&cn.encode(e.madeFor,t.uint32(274).fork()).ldelim(),void 0!==e.allows&&pn.encode(e.allows,t.uint32(282).fork()).ldelim(),!0===e.numberOfEpisodes&&t.uint32(288).bool(e.numberOfEpisodes),!0===e.numberOfTracks&&t.uint32(296).bool(e.numberOfTracks),!0===e.preferLinearPlayback&&t.uint32(304).bool(e.preferLinearPlayback),!0===e.onDemandInFreeReason&&t.uint32(312).bool(e.onDemandInFreeReason),void 0!==e.collaboratingUsers&&un.encode(e.collaboratingUsers,t.uint32(322).fork()).ldelim(),!0===e.basePermission&&t.uint32(328).bool(e.basePermission),!0===e.userCapabilities&&t.uint32(336).bool(e.userCapabilities),t.uint32(346).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.lenses&&t.uint32(352).bool(e.lenses),!0===e.lengthIgnoringTextFilter&&t.uint32(360).bool(e.lengthIgnoringTextFilter),!0===e.numberOfItemsPerLinkType&&t.uint32(368).bool(e.numberOfItemsPerLinkType),!0===e.availableSignals&&t.uint32(376).bool(e.availableSignals),!0===e.aiCurationReferenceId&&t.uint32(384).bool(e.aiCurationReferenceId),!0===e.unrangedLength&&t.uint32(392).bool(e.unrangedLength),!0===e.unfilteredLength&&t.uint32(400).bool(e.unfilteredLength),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={rowId:!1,link:!1,name:!1,loadState:!1,loaded:!1,collaborative:!1,length:!1,lastModification:!1,totalLength:!1,duration:!1,description:!1,picture:!1,playable:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,canReportAnnotationAbuse:!1,followed:!1,followers:!1,ownedBySelf:!1,offline:!1,syncProgress:!1,published:!1,browsableOffline:!1,formatListType:!1,formatListAttributes:!1,hasExplicitContent:!1,containsSpotifyTracks:!1,containsTracks:!1,containsEpisodes:!1,containsAudioEpisodes:!1,onlyContainsExplicit:!1,isOnDemandInFree:!1,owner:void 0,madeFor:void 0,allows:void 0,numberOfEpisodes:!1,numberOfTracks:!1,preferLinearPlayback:!1,onDemandInFreeReason:!1,collaboratingUsers:void 0,basePermission:!1,userCapabilities:!1,extension:[],lenses:!1,lengthIgnoringTextFilter:!1,numberOfItemsPerLinkType:!1,availableSignals:!1,aiCurationReferenceId:!1,unrangedLength:!1,unfilteredLength:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.rowId=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.loadState=n.bool();continue;case 5:if(40!==e)break;r.loaded=n.bool();continue;case 6:if(48!==e)break;r.collaborative=n.bool();continue;case 7:if(56!==e)break;r.length=n.bool();continue;case 8:if(64!==e)break;r.lastModification=n.bool();continue;case 9:if(72!==e)break;r.totalLength=n.bool();continue;case 10:if(80!==e)break;r.duration=n.bool();continue;case 11:if(88!==e)break;r.description=n.bool();continue;case 12:if(96!==e)break;r.picture=n.bool();continue;case 13:if(104!==e)break;r.playable=n.bool();continue;case 14:if(112!==e)break;r.descriptionFromAnnotate=n.bool();continue;case 15:if(120!==e)break;r.pictureFromAnnotate=n.bool();continue;case 16:if(128!==e)break;r.canReportAnnotationAbuse=n.bool();continue;case 17:if(136!==e)break;r.followed=n.bool();continue;case 18:if(144!==e)break;r.followers=n.bool();continue;case 19:if(152!==e)break;r.ownedBySelf=n.bool();continue;case 20:if(160!==e)break;r.offline=n.bool();continue;case 21:if(168!==e)break;r.syncProgress=n.bool();continue;case 22:if(176!==e)break;r.published=n.bool();continue;case 23:if(184!==e)break;r.browsableOffline=n.bool();continue;case 24:if(192!==e)break;r.formatListType=n.bool();continue;case 25:if(200!==e)break;r.formatListAttributes=n.bool();continue;case 26:if(208!==e)break;r.hasExplicitContent=n.bool();continue;case 27:if(216!==e)break;r.containsSpotifyTracks=n.bool();continue;case 28:if(224!==e)break;r.containsTracks=n.bool();continue;case 29:if(232!==e)break;r.containsEpisodes=n.bool();continue;case 30:if(240!==e)break;r.containsAudioEpisodes=n.bool();continue;case 31:if(248!==e)break;r.onlyContainsExplicit=n.bool();continue;case 32:if(256!==e)break;r.isOnDemandInFree=n.bool();continue;case 33:if(266!==e)break;r.owner=cn.decode(n,n.uint32());continue;case 34:if(274!==e)break;r.madeFor=cn.decode(n,n.uint32());continue;case 35:if(282!==e)break;r.allows=pn.decode(n,n.uint32());continue;case 36:if(288!==e)break;r.numberOfEpisodes=n.bool();continue;case 37:if(296!==e)break;r.numberOfTracks=n.bool();continue;case 38:if(304!==e)break;r.preferLinearPlayback=n.bool();continue;case 39:if(312!==e)break;r.onDemandInFreeReason=n.bool();continue;case 40:if(322!==e)break;r.collaboratingUsers=un.decode(n,n.uint32());continue;case 41:if(328!==e)break;r.basePermission=n.bool();continue;case 42:if(336!==e)break;r.userCapabilities=n.bool();continue;case 43:if(344===e){r.extension.push(n.int32());continue}if(346===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 44:if(352!==e)break;r.lenses=n.bool();continue;case 45:if(360!==e)break;r.lengthIgnoringTextFilter=n.bool();continue;case 46:if(368!==e)break;r.numberOfItemsPerLinkType=n.bool();continue;case 47:if(376!==e)break;r.availableSignals=n.bool();continue;case 48:if(384!==e)break;r.aiCurationReferenceId=n.bool();continue;case 49:if(392!==e)break;r.unrangedLength=n.bool();continue;case 50:if(400!==e)break;r.unfilteredLength=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({rowId:!!fn(e.rowId)&&Boolean(e.rowId),link:!!fn(e.link)&&Boolean(e.link),name:!!fn(e.name)&&Boolean(e.name),loadState:!!fn(e.loadState)&&Boolean(e.loadState),loaded:!!fn(e.loaded)&&Boolean(e.loaded),collaborative:!!fn(e.collaborative)&&Boolean(e.collaborative),length:!!fn(e.length)&&Boolean(e.length),lastModification:!!fn(e.lastModification)&&Boolean(e.lastModification),totalLength:!!fn(e.totalLength)&&Boolean(e.totalLength),duration:!!fn(e.duration)&&Boolean(e.duration),description:!!fn(e.description)&&Boolean(e.description),picture:!!fn(e.picture)&&Boolean(e.picture),playable:!!fn(e.playable)&&Boolean(e.playable),descriptionFromAnnotate:!!fn(e.descriptionFromAnnotate)&&Boolean(e.descriptionFromAnnotate),pictureFromAnnotate:!!fn(e.pictureFromAnnotate)&&Boolean(e.pictureFromAnnotate),canReportAnnotationAbuse:!!fn(e.canReportAnnotationAbuse)&&Boolean(e.canReportAnnotationAbuse),followed:!!fn(e.followed)&&Boolean(e.followed),followers:!!fn(e.followers)&&Boolean(e.followers),ownedBySelf:!!fn(e.ownedBySelf)&&Boolean(e.ownedBySelf),offline:!!fn(e.offline)&&Boolean(e.offline),syncProgress:!!fn(e.syncProgress)&&Boolean(e.syncProgress),published:!!fn(e.published)&&Boolean(e.published),browsableOffline:!!fn(e.browsableOffline)&&Boolean(e.browsableOffline),formatListType:!!fn(e.formatListType)&&Boolean(e.formatListType),formatListAttributes:!!fn(e.formatListAttributes)&&Boolean(e.formatListAttributes),hasExplicitContent:!!fn(e.hasExplicitContent)&&Boolean(e.hasExplicitContent),containsSpotifyTracks:!!fn(e.containsSpotifyTracks)&&Boolean(e.containsSpotifyTracks),containsTracks:!!fn(e.containsTracks)&&Boolean(e.containsTracks),containsEpisodes:!!fn(e.containsEpisodes)&&Boolean(e.containsEpisodes),containsAudioEpisodes:!!fn(e.containsAudioEpisodes)&&Boolean(e.containsAudioEpisodes),onlyContainsExplicit:!!fn(e.onlyContainsExplicit)&&Boolean(e.onlyContainsExplicit),isOnDemandInFree:!!fn(e.isOnDemandInFree)&&Boolean(e.isOnDemandInFree),owner:fn(e.owner)?cn.fromJSON(e.owner):void 0,madeFor:fn(e.madeFor)?cn.fromJSON(e.madeFor):void 0,allows:fn(e.allows)?pn.fromJSON(e.allows):void 0,numberOfEpisodes:!!fn(e.numberOfEpisodes)&&Boolean(e.numberOfEpisodes),numberOfTracks:!!fn(e.numberOfTracks)&&Boolean(e.numberOfTracks),preferLinearPlayback:!!fn(e.preferLinearPlayback)&&Boolean(e.preferLinearPlayback),onDemandInFreeReason:!!fn(e.onDemandInFreeReason)&&Boolean(e.onDemandInFreeReason),collaboratingUsers:fn(e.collaboratingUsers)?un.fromJSON(e.collaboratingUsers):void 0,basePermission:!!fn(e.basePermission)&&Boolean(e.basePermission),userCapabilities:!!fn(e.userCapabilities)&&Boolean(e.userCapabilities),extension:Array.isArray(e?.extension)?e.extension.map((e=>et(e))):[],lenses:!!fn(e.lenses)&&Boolean(e.lenses),lengthIgnoringTextFilter:!!fn(e.lengthIgnoringTextFilter)&&Boolean(e.lengthIgnoringTextFilter),numberOfItemsPerLinkType:!!fn(e.numberOfItemsPerLinkType)&&Boolean(e.numberOfItemsPerLinkType),availableSignals:!!fn(e.availableSignals)&&Boolean(e.availableSignals),aiCurationReferenceId:!!fn(e.aiCurationReferenceId)&&Boolean(e.aiCurationReferenceId),unrangedLength:!!fn(e.unrangedLength)&&Boolean(e.unrangedLength),unfilteredLength:!!fn(e.unfilteredLength)&&Boolean(e.unfilteredLength)}),toJSON(e){const t={};return!0===e.rowId&&(t.rowId=e.rowId),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.loadState&&(t.loadState=e.loadState),!0===e.loaded&&(t.loaded=e.loaded),!0===e.collaborative&&(t.collaborative=e.collaborative),!0===e.length&&(t.length=e.length),!0===e.lastModification&&(t.lastModification=e.lastModification),!0===e.totalLength&&(t.totalLength=e.totalLength),!0===e.duration&&(t.duration=e.duration),!0===e.description&&(t.description=e.description),!0===e.picture&&(t.picture=e.picture),!0===e.playable&&(t.playable=e.playable),!0===e.descriptionFromAnnotate&&(t.descriptionFromAnnotate=e.descriptionFromAnnotate),!0===e.pictureFromAnnotate&&(t.pictureFromAnnotate=e.pictureFromAnnotate),!0===e.canReportAnnotationAbuse&&(t.canReportAnnotationAbuse=e.canReportAnnotationAbuse),!0===e.followed&&(t.followed=e.followed),!0===e.followers&&(t.followers=e.followers),!0===e.ownedBySelf&&(t.ownedBySelf=e.ownedBySelf),!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),!0===e.published&&(t.published=e.published),!0===e.browsableOffline&&(t.browsableOffline=e.browsableOffline),!0===e.formatListType&&(t.formatListType=e.formatListType),!0===e.formatListAttributes&&(t.formatListAttributes=e.formatListAttributes),!0===e.hasExplicitContent&&(t.hasExplicitContent=e.hasExplicitContent),!0===e.containsSpotifyTracks&&(t.containsSpotifyTracks=e.containsSpotifyTracks),!0===e.containsTracks&&(t.containsTracks=e.containsTracks),!0===e.containsEpisodes&&(t.containsEpisodes=e.containsEpisodes),!0===e.containsAudioEpisodes&&(t.containsAudioEpisodes=e.containsAudioEpisodes),!0===e.onlyContainsExplicit&&(t.onlyContainsExplicit=e.onlyContainsExplicit),!0===e.isOnDemandInFree&&(t.isOnDemandInFree=e.isOnDemandInFree),void 0!==e.owner&&(t.owner=cn.toJSON(e.owner)),void 0!==e.madeFor&&(t.madeFor=cn.toJSON(e.madeFor)),void 0!==e.allows&&(t.allows=pn.toJSON(e.allows)),!0===e.numberOfEpisodes&&(t.numberOfEpisodes=e.numberOfEpisodes),!0===e.numberOfTracks&&(t.numberOfTracks=e.numberOfTracks),!0===e.preferLinearPlayback&&(t.preferLinearPlayback=e.preferLinearPlayback),!0===e.onDemandInFreeReason&&(t.onDemandInFreeReason=e.onDemandInFreeReason),void 0!==e.collaboratingUsers&&(t.collaboratingUsers=un.toJSON(e.collaboratingUsers)),!0===e.basePermission&&(t.basePermission=e.basePermission),!0===e.userCapabilities&&(t.userCapabilities=e.userCapabilities),e.extension?.length&&(t.extension=e.extension.map((e=>tt(e)))),!0===e.lenses&&(t.lenses=e.lenses),!0===e.lengthIgnoringTextFilter&&(t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter),!0===e.numberOfItemsPerLinkType&&(t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType),!0===e.availableSignals&&(t.availableSignals=e.availableSignals),!0===e.aiCurationReferenceId&&(t.aiCurationReferenceId=e.aiCurationReferenceId),!0===e.unrangedLength&&(t.unrangedLength=e.unrangedLength),!0===e.unfilteredLength&&(t.unfilteredLength=e.unfilteredLength),t},create:e=>hn.fromPartial(e??{}),fromPartial(e){const t={rowId:!1,link:!1,name:!1,loadState:!1,loaded:!1,collaborative:!1,length:!1,lastModification:!1,totalLength:!1,duration:!1,description:!1,picture:!1,playable:!1,descriptionFromAnnotate:!1,pictureFromAnnotate:!1,canReportAnnotationAbuse:!1,followed:!1,followers:!1,ownedBySelf:!1,offline:!1,syncProgress:!1,published:!1,browsableOffline:!1,formatListType:!1,formatListAttributes:!1,hasExplicitContent:!1,containsSpotifyTracks:!1,containsTracks:!1,containsEpisodes:!1,containsAudioEpisodes:!1,onlyContainsExplicit:!1,isOnDemandInFree:!1,owner:void 0,madeFor:void 0,allows:void 0,numberOfEpisodes:!1,numberOfTracks:!1,preferLinearPlayback:!1,onDemandInFreeReason:!1,collaboratingUsers:void 0,basePermission:!1,userCapabilities:!1,extension:[],lenses:!1,lengthIgnoringTextFilter:!1,numberOfItemsPerLinkType:!1,availableSignals:!1,aiCurationReferenceId:!1,unrangedLength:!1,unfilteredLength:!1};return t.rowId=e.rowId??!1,t.link=e.link??!1,t.name=e.name??!1,t.loadState=e.loadState??!1,t.loaded=e.loaded??!1,t.collaborative=e.collaborative??!1,t.length=e.length??!1,t.lastModification=e.lastModification??!1,t.totalLength=e.totalLength??!1,t.duration=e.duration??!1,t.description=e.description??!1,t.picture=e.picture??!1,t.playable=e.playable??!1,t.descriptionFromAnnotate=e.descriptionFromAnnotate??!1,t.pictureFromAnnotate=e.pictureFromAnnotate??!1,t.canReportAnnotationAbuse=e.canReportAnnotationAbuse??!1,t.followed=e.followed??!1,t.followers=e.followers??!1,t.ownedBySelf=e.ownedBySelf??!1,t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t.published=e.published??!1,t.browsableOffline=e.browsableOffline??!1,t.formatListType=e.formatListType??!1,t.formatListAttributes=e.formatListAttributes??!1,t.hasExplicitContent=e.hasExplicitContent??!1,t.containsSpotifyTracks=e.containsSpotifyTracks??!1,t.containsTracks=e.containsTracks??!1,t.containsEpisodes=e.containsEpisodes??!1,t.containsAudioEpisodes=e.containsAudioEpisodes??!1,t.onlyContainsExplicit=e.onlyContainsExplicit??!1,t.isOnDemandInFree=e.isOnDemandInFree??!1,t.owner=void 0!==e.owner&&null!==e.owner?cn.fromPartial(e.owner):void 0,t.madeFor=void 0!==e.madeFor&&null!==e.madeFor?cn.fromPartial(e.madeFor):void 0,t.allows=void 0!==e.allows&&null!==e.allows?pn.fromPartial(e.allows):void 0,t.numberOfEpisodes=e.numberOfEpisodes??!1,t.numberOfTracks=e.numberOfTracks??!1,t.preferLinearPlayback=e.preferLinearPlayback??!1,t.onDemandInFreeReason=e.onDemandInFreeReason??!1,t.collaboratingUsers=void 0!==e.collaboratingUsers&&null!==e.collaboratingUsers?un.fromPartial(e.collaboratingUsers):void 0,t.basePermission=e.basePermission??!1,t.userCapabilities=e.userCapabilities??!1,t.extension=e.extension?.map((e=>e))||[],t.lenses=e.lenses??!1,t.lengthIgnoringTextFilter=e.lengthIgnoringTextFilter??!1,t.numberOfItemsPerLinkType=e.numberOfItemsPerLinkType??!1,t.availableSignals=e.availableSignals??!1,t.aiCurationReferenceId=e.aiCurationReferenceId??!1,t.unrangedLength=e.unrangedLength??!1,t.unfilteredLength=e.unfilteredLength??!1,t}};function fn(e){return null!=e}const mn={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.length&&t.uint32(16).bool(e.length),!0===e.name&&t.uint32(24).bool(e.name),!0===e.manifestId&&t.uint32(32).bool(e.manifestId),!0===e.previewId&&t.uint32(40).bool(e.previewId),!0===e.previewManifestId&&t.uint32(48).bool(e.previewManifestId),!0===e.description&&t.uint32(56).bool(e.description),!0===e.publishDate&&t.uint32(64).bool(e.publishDate),!0===e.covers&&t.uint32(72).bool(e.covers),!0===e.freezeFrames&&t.uint32(80).bool(e.freezeFrames),!0===e.language&&t.uint32(88).bool(e.language),!0===e.available&&t.uint32(96).bool(e.available),!0===e.mediaTypeEnum&&t.uint32(104).bool(e.mediaTypeEnum),!0===e.number&&t.uint32(112).bool(e.number),!0===e.backgroundable&&t.uint32(120).bool(e.backgroundable),!0===e.isExplicit&&t.uint32(128).bool(e.isExplicit),!0===e.type&&t.uint32(136).bool(e.type),!0===e.isMusicAndTalk&&t.uint32(144).bool(e.isMusicAndTalk),t.uint32(170).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.is19PlusOnly&&t.uint32(176).bool(e.is19PlusOnly),!0===e.isBookChapter&&t.uint32(184).bool(e.isBookChapter),!0===e.isPodcastShort&&t.uint32(192).bool(e.isPodcastShort),!0===e.isCurated&&t.uint32(200).bool(e.isCurated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.length=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.manifestId=n.bool();continue;case 5:if(40!==e)break;r.previewId=n.bool();continue;case 6:if(48!==e)break;r.previewManifestId=n.bool();continue;case 7:if(56!==e)break;r.description=n.bool();continue;case 8:if(64!==e)break;r.publishDate=n.bool();continue;case 9:if(72!==e)break;r.covers=n.bool();continue;case 10:if(80!==e)break;r.freezeFrames=n.bool();continue;case 11:if(88!==e)break;r.language=n.bool();continue;case 12:if(96!==e)break;r.available=n.bool();continue;case 13:if(104!==e)break;r.mediaTypeEnum=n.bool();continue;case 14:if(112!==e)break;r.number=n.bool();continue;case 15:if(120!==e)break;r.backgroundable=n.bool();continue;case 16:if(128!==e)break;r.isExplicit=n.bool();continue;case 17:if(136!==e)break;r.type=n.bool();continue;case 18:if(144!==e)break;r.isMusicAndTalk=n.bool();continue;case 21:if(168===e){r.extension.push(n.int32());continue}if(170===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 22:if(176!==e)break;r.is19PlusOnly=n.bool();continue;case 23:if(184!==e)break;r.isBookChapter=n.bool();continue;case 24:if(192!==e)break;r.isPodcastShort=n.bool();continue;case 25:if(200!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!vn(e.link)&&Boolean(e.link),length:!!vn(e.length)&&Boolean(e.length),name:!!vn(e.name)&&Boolean(e.name),manifestId:!!vn(e.manifestId)&&Boolean(e.manifestId),previewId:!!vn(e.previewId)&&Boolean(e.previewId),previewManifestId:!!vn(e.previewManifestId)&&Boolean(e.previewManifestId),description:!!vn(e.description)&&Boolean(e.description),publishDate:!!vn(e.publishDate)&&Boolean(e.publishDate),covers:!!vn(e.covers)&&Boolean(e.covers),freezeFrames:!!vn(e.freezeFrames)&&Boolean(e.freezeFrames),language:!!vn(e.language)&&Boolean(e.language),available:!!vn(e.available)&&Boolean(e.available),mediaTypeEnum:!!vn(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),number:!!vn(e.number)&&Boolean(e.number),backgroundable:!!vn(e.backgroundable)&&Boolean(e.backgroundable),isExplicit:!!vn(e.isExplicit)&&Boolean(e.isExplicit),type:!!vn(e.type)&&Boolean(e.type),isMusicAndTalk:!!vn(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>et(e))):[],is19PlusOnly:!!vn(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),isBookChapter:!!vn(e.isBookChapter)&&Boolean(e.isBookChapter),isPodcastShort:!!vn(e.isPodcastShort)&&Boolean(e.isPodcastShort),isCurated:!!vn(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.length&&(t.length=e.length),!0===e.name&&(t.name=e.name),!0===e.manifestId&&(t.manifestId=e.manifestId),!0===e.previewId&&(t.previewId=e.previewId),!0===e.previewManifestId&&(t.previewManifestId=e.previewManifestId),!0===e.description&&(t.description=e.description),!0===e.publishDate&&(t.publishDate=e.publishDate),!0===e.covers&&(t.covers=e.covers),!0===e.freezeFrames&&(t.freezeFrames=e.freezeFrames),!0===e.language&&(t.language=e.language),!0===e.available&&(t.available=e.available),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.number&&(t.number=e.number),!0===e.backgroundable&&(t.backgroundable=e.backgroundable),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.type&&(t.type=e.type),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>tt(e)))),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.isBookChapter&&(t.isBookChapter=e.isBookChapter),!0===e.isPodcastShort&&(t.isPodcastShort=e.isPodcastShort),!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>mn.fromPartial(e??{}),fromPartial(e){const t={link:!1,length:!1,name:!1,manifestId:!1,previewId:!1,previewManifestId:!1,description:!1,publishDate:!1,covers:!1,freezeFrames:!1,language:!1,available:!1,mediaTypeEnum:!1,number:!1,backgroundable:!1,isExplicit:!1,type:!1,isMusicAndTalk:!1,extension:[],is19PlusOnly:!1,isBookChapter:!1,isPodcastShort:!1,isCurated:!1};return t.link=e.link??!1,t.length=e.length??!1,t.name=e.name??!1,t.manifestId=e.manifestId??!1,t.previewId=e.previewId??!1,t.previewManifestId=e.previewManifestId??!1,t.description=e.description??!1,t.publishDate=e.publishDate??!1,t.covers=e.covers??!1,t.freezeFrames=e.freezeFrames??!1,t.language=e.language??!1,t.available=e.available??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.number=e.number??!1,t.backgroundable=e.backgroundable??!1,t.isExplicit=e.isExplicit??!1,t.type=e.type??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.is19PlusOnly=e.is19PlusOnly??!1,t.isBookChapter=e.isBookChapter??!1,t.isPodcastShort=e.isPodcastShort??!1,t.isCurated=e.isCurated??!1,t}};const _n={encode:(e,t=i.Writer.create())=>(!0===e.isFollowingShow&&t.uint32(8).bool(e.isFollowingShow),!0===e.isInListenLater&&t.uint32(16).bool(e.isInListenLater),!0===e.isNew&&t.uint32(24).bool(e.isNew),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isFollowingShow:!1,isInListenLater:!1,isNew:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isFollowingShow=n.bool();continue;case 2:if(16!==e)break;r.isInListenLater=n.bool();continue;case 3:if(24!==e)break;r.isNew=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isFollowingShow:!!vn(e.isFollowingShow)&&Boolean(e.isFollowingShow),isInListenLater:!!vn(e.isInListenLater)&&Boolean(e.isInListenLater),isNew:!!vn(e.isNew)&&Boolean(e.isNew)}),toJSON(e){const t={};return!0===e.isFollowingShow&&(t.isFollowingShow=e.isFollowingShow),!0===e.isInListenLater&&(t.isInListenLater=e.isInListenLater),!0===e.isNew&&(t.isNew=e.isNew),t},create:e=>_n.fromPartial(e??{}),fromPartial(e){const t={isFollowingShow:!1,isInListenLater:!1,isNew:!1};return t.isFollowingShow=e.isFollowingShow??!1,t.isInListenLater=e.isInListenLater??!1,t.isNew=e.isNew??!1,t}};const gn={encode:(e,t=i.Writer.create())=>(!0===e.offline&&t.uint32(8).bool(e.offline),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offline:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offline=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offline:!!vn(e.offline)&&Boolean(e.offline),syncProgress:!!vn(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offline&&(t.offline=e.offline),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>gn.fromPartial(e??{}),fromPartial(e){const t={offline:!1,syncProgress:!1};return t.offline=e.offline??!1,t.syncProgress=e.syncProgress??!1,t}};const En={encode:(e,t=i.Writer.create())=>(!0===e.timeLeft&&t.uint32(8).bool(e.timeLeft),!0===e.isPlayed&&t.uint32(16).bool(e.isPlayed),!0===e.playable&&t.uint32(24).bool(e.playable),!0===e.playabilityRestriction&&t.uint32(32).bool(e.playabilityRestriction),!0===e.lastPlayedAt&&t.uint32(40).bool(e.lastPlayedAt),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.timeLeft=n.bool();continue;case 2:if(16!==e)break;r.isPlayed=n.bool();continue;case 3:if(24!==e)break;r.playable=n.bool();continue;case 4:if(32!==e)break;r.playabilityRestriction=n.bool();continue;case 5:if(40!==e)break;r.lastPlayedAt=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({timeLeft:!!vn(e.timeLeft)&&Boolean(e.timeLeft),isPlayed:!!vn(e.isPlayed)&&Boolean(e.isPlayed),playable:!!vn(e.playable)&&Boolean(e.playable),playabilityRestriction:!!vn(e.playabilityRestriction)&&Boolean(e.playabilityRestriction),lastPlayedAt:!!vn(e.lastPlayedAt)&&Boolean(e.lastPlayedAt)}),toJSON(e){const t={};return!0===e.timeLeft&&(t.timeLeft=e.timeLeft),!0===e.isPlayed&&(t.isPlayed=e.isPlayed),!0===e.playable&&(t.playable=e.playable),!0===e.playabilityRestriction&&(t.playabilityRestriction=e.playabilityRestriction),!0===e.lastPlayedAt&&(t.lastPlayedAt=e.lastPlayedAt),t},create:e=>En.fromPartial(e??{}),fromPartial(e){const t={timeLeft:!1,isPlayed:!1,playable:!1,playabilityRestriction:!1,lastPlayedAt:!1};return t.timeLeft=e.timeLeft??!1,t.isPlayed=e.isPlayed??!1,t.playable=e.playable??!1,t.playabilityRestriction=e.playabilityRestriction??!1,t.lastPlayedAt=e.lastPlayedAt??!1,t}};function vn(e){return null!=e}const yn={encode(e,t=i.Writer.create()){!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.description&&t.uint32(24).bool(e.description),!0===e.popularity&&t.uint32(32).bool(e.popularity),!0===e.publisher&&t.uint32(40).bool(e.publisher),!0===e.language&&t.uint32(48).bool(e.language),!0===e.isExplicit&&t.uint32(56).bool(e.isExplicit),!0===e.covers&&t.uint32(64).bool(e.covers),!0===e.numEpisodes&&t.uint32(72).bool(e.numEpisodes),!0===e.consumptionOrder&&t.uint32(80).bool(e.consumptionOrder),!0===e.mediaTypeEnum&&t.uint32(88).bool(e.mediaTypeEnum),!0===e.copyrights&&t.uint32(96).bool(e.copyrights),!0===e.trailerUri&&t.uint32(104).bool(e.trailerUri),!0===e.isMusicAndTalk&&t.uint32(112).bool(e.isMusicAndTalk),t.uint32(130).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isBook&&t.uint32(136).bool(e.isBook),!0===e.isCreatorChannel&&t.uint32(144).bool(e.isCreatorChannel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.description=n.bool();continue;case 4:if(32!==e)break;r.popularity=n.bool();continue;case 5:if(40!==e)break;r.publisher=n.bool();continue;case 6:if(48!==e)break;r.language=n.bool();continue;case 7:if(56!==e)break;r.isExplicit=n.bool();continue;case 8:if(64!==e)break;r.covers=n.bool();continue;case 9:if(72!==e)break;r.numEpisodes=n.bool();continue;case 10:if(80!==e)break;r.consumptionOrder=n.bool();continue;case 11:if(88!==e)break;r.mediaTypeEnum=n.bool();continue;case 12:if(96!==e)break;r.copyrights=n.bool();continue;case 13:if(104!==e)break;r.trailerUri=n.bool();continue;case 14:if(112!==e)break;r.isMusicAndTalk=n.bool();continue;case 16:if(128===e){r.extension.push(n.int32());continue}if(130===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 17:if(136!==e)break;r.isBook=n.bool();continue;case 18:if(144!==e)break;r.isCreatorChannel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!bn(e.link)&&Boolean(e.link),name:!!bn(e.name)&&Boolean(e.name),description:!!bn(e.description)&&Boolean(e.description),popularity:!!bn(e.popularity)&&Boolean(e.popularity),publisher:!!bn(e.publisher)&&Boolean(e.publisher),language:!!bn(e.language)&&Boolean(e.language),isExplicit:!!bn(e.isExplicit)&&Boolean(e.isExplicit),covers:!!bn(e.covers)&&Boolean(e.covers),numEpisodes:!!bn(e.numEpisodes)&&Boolean(e.numEpisodes),consumptionOrder:!!bn(e.consumptionOrder)&&Boolean(e.consumptionOrder),mediaTypeEnum:!!bn(e.mediaTypeEnum)&&Boolean(e.mediaTypeEnum),copyrights:!!bn(e.copyrights)&&Boolean(e.copyrights),trailerUri:!!bn(e.trailerUri)&&Boolean(e.trailerUri),isMusicAndTalk:!!bn(e.isMusicAndTalk)&&Boolean(e.isMusicAndTalk),extension:Array.isArray(e?.extension)?e.extension.map((e=>et(e))):[],isBook:!!bn(e.isBook)&&Boolean(e.isBook),isCreatorChannel:!!bn(e.isCreatorChannel)&&Boolean(e.isCreatorChannel)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.description&&(t.description=e.description),!0===e.popularity&&(t.popularity=e.popularity),!0===e.publisher&&(t.publisher=e.publisher),!0===e.language&&(t.language=e.language),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.covers&&(t.covers=e.covers),!0===e.numEpisodes&&(t.numEpisodes=e.numEpisodes),!0===e.consumptionOrder&&(t.consumptionOrder=e.consumptionOrder),!0===e.mediaTypeEnum&&(t.mediaTypeEnum=e.mediaTypeEnum),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.trailerUri&&(t.trailerUri=e.trailerUri),!0===e.isMusicAndTalk&&(t.isMusicAndTalk=e.isMusicAndTalk),e.extension?.length&&(t.extension=e.extension.map((e=>tt(e)))),!0===e.isBook&&(t.isBook=e.isBook),!0===e.isCreatorChannel&&(t.isCreatorChannel=e.isCreatorChannel),t},create:e=>yn.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,description:!1,popularity:!1,publisher:!1,language:!1,isExplicit:!1,covers:!1,numEpisodes:!1,consumptionOrder:!1,mediaTypeEnum:!1,copyrights:!1,trailerUri:!1,isMusicAndTalk:!1,extension:[],isBook:!1,isCreatorChannel:!1};return t.link=e.link??!1,t.name=e.name??!1,t.description=e.description??!1,t.popularity=e.popularity??!1,t.publisher=e.publisher??!1,t.language=e.language??!1,t.isExplicit=e.isExplicit??!1,t.covers=e.covers??!1,t.numEpisodes=e.numEpisodes??!1,t.consumptionOrder=e.consumptionOrder??!1,t.mediaTypeEnum=e.mediaTypeEnum??!1,t.copyrights=e.copyrights??!1,t.trailerUri=e.trailerUri??!1,t.isMusicAndTalk=e.isMusicAndTalk??!1,t.extension=e.extension?.map((e=>e))||[],t.isBook=e.isBook??!1,t.isCreatorChannel=e.isCreatorChannel??!1,t}};function bn(e){return null!=e}const Sn={encode:(e,t=i.Writer.create())=>(void 0!==e.episode&&mn.encode(e.episode,t.uint32(10).fork()).ldelim(),!0===e.rowId&&t.uint32(16).bool(e.rowId),!0===e.addTime&&t.uint32(24).bool(e.addTime),!0===e.formatListAttributes&&t.uint32(32).bool(e.formatListAttributes),void 0!==e.collection&&_n.encode(e.collection,t.uint32(42).fork()).ldelim(),void 0!==e.sync&&gn.encode(e.sync,t.uint32(50).fork()).ldelim(),void 0!==e.playedState&&En.encode(e.playedState,t.uint32(58).fork()).ldelim(),void 0!==e.addedBy&&cn.encode(e.addedBy,t.uint32(66).fork()).ldelim(),void 0!==e.show&&yn.encode(e.show,t.uint32(74).fork()).ldelim(),!0===e.signals&&t.uint32(80).bool(e.signals),!0===e.isRecommendation&&t.uint32(88).bool(e.isRecommendation),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={episode:void 0,rowId:!1,addTime:!1,formatListAttributes:!1,collection:void 0,sync:void 0,playedState:void 0,addedBy:void 0,show:void 0,signals:!1,isRecommendation:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.episode=mn.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.rowId=n.bool();continue;case 3:if(24!==e)break;r.addTime=n.bool();continue;case 4:if(32!==e)break;r.formatListAttributes=n.bool();continue;case 5:if(42!==e)break;r.collection=_n.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.sync=gn.decode(n,n.uint32());continue;case 7:if(58!==e)break;r.playedState=En.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.addedBy=cn.decode(n,n.uint32());continue;case 9:if(74!==e)break;r.show=yn.decode(n,n.uint32());continue;case 10:if(80!==e)break;r.signals=n.bool();continue;case 11:if(88!==e)break;r.isRecommendation=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({episode:Tn(e.episode)?mn.fromJSON(e.episode):void 0,rowId:!!Tn(e.rowId)&&Boolean(e.rowId),addTime:!!Tn(e.addTime)&&Boolean(e.addTime),formatListAttributes:!!Tn(e.formatListAttributes)&&Boolean(e.formatListAttributes),collection:Tn(e.collection)?_n.fromJSON(e.collection):void 0,sync:Tn(e.sync)?gn.fromJSON(e.sync):void 0,playedState:Tn(e.playedState)?En.fromJSON(e.playedState):void 0,addedBy:Tn(e.addedBy)?cn.fromJSON(e.addedBy):void 0,show:Tn(e.show)?yn.fromJSON(e.show):void 0,signals:!!Tn(e.signals)&&Boolean(e.signals),isRecommendation:!!Tn(e.isRecommendation)&&Boolean(e.isRecommendation)}),toJSON(e){const t={};return void 0!==e.episode&&(t.episode=mn.toJSON(e.episode)),!0===e.rowId&&(t.rowId=e.rowId),!0===e.addTime&&(t.addTime=e.addTime),!0===e.formatListAttributes&&(t.formatListAttributes=e.formatListAttributes),void 0!==e.collection&&(t.collection=_n.toJSON(e.collection)),void 0!==e.sync&&(t.sync=gn.toJSON(e.sync)),void 0!==e.playedState&&(t.playedState=En.toJSON(e.playedState)),void 0!==e.addedBy&&(t.addedBy=cn.toJSON(e.addedBy)),void 0!==e.show&&(t.show=yn.toJSON(e.show)),!0===e.signals&&(t.signals=e.signals),!0===e.isRecommendation&&(t.isRecommendation=e.isRecommendation),t},create:e=>Sn.fromPartial(e??{}),fromPartial(e){const t={episode:void 0,rowId:!1,addTime:!1,formatListAttributes:!1,collection:void 0,sync:void 0,playedState:void 0,addedBy:void 0,show:void 0,signals:!1,isRecommendation:!1};return t.episode=void 0!==e.episode&&null!==e.episode?mn.fromPartial(e.episode):void 0,t.rowId=e.rowId??!1,t.addTime=e.addTime??!1,t.formatListAttributes=e.formatListAttributes??!1,t.collection=void 0!==e.collection&&null!==e.collection?_n.fromPartial(e.collection):void 0,t.sync=void 0!==e.sync&&null!==e.sync?gn.fromPartial(e.sync):void 0,t.playedState=void 0!==e.playedState&&null!==e.playedState?En.fromPartial(e.playedState):void 0,t.addedBy=void 0!==e.addedBy&&null!==e.addedBy?cn.fromPartial(e.addedBy):void 0,t.show=void 0!==e.show&&null!==e.show?yn.fromPartial(e.show):void 0,t.signals=e.signals??!1,t.isRecommendation=e.isRecommendation??!1,t}};function Tn(e){return null!=e}const An={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.isVariousArtists&&t.uint32(24).bool(e.isVariousArtists),!0===e.portraits&&t.uint32(32).bool(e.portraits),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,isVariousArtists:!1,portraits:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.isVariousArtists=n.bool();continue;case 4:if(32!==e)break;r.portraits=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!In(e.link)&&Boolean(e.link),name:!!In(e.name)&&Boolean(e.name),isVariousArtists:!!In(e.isVariousArtists)&&Boolean(e.isVariousArtists),portraits:!!In(e.portraits)&&Boolean(e.portraits)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.isVariousArtists&&(t.isVariousArtists=e.isVariousArtists),!0===e.portraits&&(t.portraits=e.portraits),t},create:e=>An.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,isVariousArtists:!1,portraits:!1};return t.link=e.link??!1,t.name=e.name??!1,t.isVariousArtists=e.isVariousArtists??!1,t.portraits=e.portraits??!1,t}};function In(e){return null!=e}const On={encode:(e,t=i.Writer.create())=>(!0===e.link&&t.uint32(8).bool(e.link),!0===e.name&&t.uint32(16).bool(e.name),!0===e.copyrights&&t.uint32(24).bool(e.copyrights),!0===e.covers&&t.uint32(32).bool(e.covers),!0===e.year&&t.uint32(40).bool(e.year),!0===e.numDiscs&&t.uint32(48).bool(e.numDiscs),!0===e.numTracks&&t.uint32(56).bool(e.numTracks),!0===e.playability&&t.uint32(64).bool(e.playability),!0===e.isPremiumOnly&&t.uint32(72).bool(e.isPremiumOnly),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.link=n.bool();continue;case 2:if(16!==e)break;r.name=n.bool();continue;case 3:if(24!==e)break;r.copyrights=n.bool();continue;case 4:if(32!==e)break;r.covers=n.bool();continue;case 5:if(40!==e)break;r.year=n.bool();continue;case 6:if(48!==e)break;r.numDiscs=n.bool();continue;case 7:if(56!==e)break;r.numTracks=n.bool();continue;case 8:if(64!==e)break;r.playability=n.bool();continue;case 9:if(72!==e)break;r.isPremiumOnly=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({link:!!Cn(e.link)&&Boolean(e.link),name:!!Cn(e.name)&&Boolean(e.name),copyrights:!!Cn(e.copyrights)&&Boolean(e.copyrights),covers:!!Cn(e.covers)&&Boolean(e.covers),year:!!Cn(e.year)&&Boolean(e.year),numDiscs:!!Cn(e.numDiscs)&&Boolean(e.numDiscs),numTracks:!!Cn(e.numTracks)&&Boolean(e.numTracks),playability:!!Cn(e.playability)&&Boolean(e.playability),isPremiumOnly:!!Cn(e.isPremiumOnly)&&Boolean(e.isPremiumOnly)}),toJSON(e){const t={};return!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.copyrights&&(t.copyrights=e.copyrights),!0===e.covers&&(t.covers=e.covers),!0===e.year&&(t.year=e.year),!0===e.numDiscs&&(t.numDiscs=e.numDiscs),!0===e.numTracks&&(t.numTracks=e.numTracks),!0===e.playability&&(t.playability=e.playability),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),t},create:e=>On.fromPartial(e??{}),fromPartial(e){const t={link:!1,name:!1,copyrights:!1,covers:!1,year:!1,numDiscs:!1,numTracks:!1,playability:!1,isPremiumOnly:!1};return t.link=e.link??!1,t.name=e.name??!1,t.copyrights=e.copyrights??!1,t.covers=e.covers??!1,t.year=e.year??!1,t.numDiscs=e.numDiscs??!1,t.numTracks=e.numTracks??!1,t.playability=e.playability??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t}};function Cn(e){return null!=e}const Rn={encode:(e,t=i.Writer.create())=>(void 0!==e.album&&On.encode(e.album,t.uint32(10).fork()).ldelim(),void 0!==e.artist&&An.encode(e.artist,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={album:void 0,artist:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.album=On.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.artist=An.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({album:Nn(e.album)?On.fromJSON(e.album):void 0,artist:Nn(e.artist)?An.fromJSON(e.artist):void 0}),toJSON(e){const t={};return void 0!==e.album&&(t.album=On.toJSON(e.album)),void 0!==e.artist&&(t.artist=An.toJSON(e.artist)),t},create:e=>Rn.fromPartial(e??{}),fromPartial(e){const t={album:void 0,artist:void 0};return t.album=void 0!==e.album&&null!==e.album?On.fromPartial(e.album):void 0,t.artist=void 0!==e.artist&&null!==e.artist?An.fromPartial(e.artist):void 0,t}};function Nn(e){return null!=e}const Pn={encode(e,t=i.Writer.create()){!0===e.hasLyrics&&t.uint32(8).bool(e.hasLyrics),!0===e.link&&t.uint32(16).bool(e.link),!0===e.name&&t.uint32(24).bool(e.name),!0===e.length&&t.uint32(32).bool(e.length),!0===e.playable&&t.uint32(40).bool(e.playable),!0===e.isAvailableInMetadataCatalogue&&t.uint32(48).bool(e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&t.uint32(56).bool(e.locallyPlayable),!0===e.playableLocalTrack&&t.uint32(64).bool(e.playableLocalTrack),!0===e.discNumber&&t.uint32(72).bool(e.discNumber),!0===e.trackNumber&&t.uint32(80).bool(e.trackNumber),!0===e.isExplicit&&t.uint32(88).bool(e.isExplicit),!0===e.previewId&&t.uint32(96).bool(e.previewId),!0===e.isLocal&&t.uint32(104).bool(e.isLocal),!0===e.isPremiumOnly&&t.uint32(112).bool(e.isPremiumOnly),!0===e.playableTrackLink&&t.uint32(120).bool(e.playableTrackLink),!0===e.popularity&&t.uint32(128).bool(e.popularity),!0===e.is19PlusOnly&&t.uint32(136).bool(e.is19PlusOnly),!0===e.trackDescriptors&&t.uint32(144).bool(e.trackDescriptors),t.uint32(154).fork();for(const n of e.extension)t.int32(n);return t.ldelim(),!0===e.isCurated&&t.uint32(160).bool(e.isCurated),!0===e.toBeObfuscated&&t.uint32(176).bool(e.toBeObfuscated),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.hasLyrics=n.bool();continue;case 2:if(16!==e)break;r.link=n.bool();continue;case 3:if(24!==e)break;r.name=n.bool();continue;case 4:if(32!==e)break;r.length=n.bool();continue;case 5:if(40!==e)break;r.playable=n.bool();continue;case 6:if(48!==e)break;r.isAvailableInMetadataCatalogue=n.bool();continue;case 7:if(56!==e)break;r.locallyPlayable=n.bool();continue;case 8:if(64!==e)break;r.playableLocalTrack=n.bool();continue;case 9:if(72!==e)break;r.discNumber=n.bool();continue;case 10:if(80!==e)break;r.trackNumber=n.bool();continue;case 11:if(88!==e)break;r.isExplicit=n.bool();continue;case 12:if(96!==e)break;r.previewId=n.bool();continue;case 13:if(104!==e)break;r.isLocal=n.bool();continue;case 14:if(112!==e)break;r.isPremiumOnly=n.bool();continue;case 15:if(120!==e)break;r.playableTrackLink=n.bool();continue;case 16:if(128!==e)break;r.popularity=n.bool();continue;case 17:if(136!==e)break;r.is19PlusOnly=n.bool();continue;case 18:if(144!==e)break;r.trackDescriptors=n.bool();continue;case 19:if(152===e){r.extension.push(n.int32());continue}if(154===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.extension.push(n.int32());continue}break;case 20:if(160!==e)break;r.isCurated=n.bool();continue;case 22:if(176!==e)break;r.toBeObfuscated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({hasLyrics:!!Ln(e.hasLyrics)&&Boolean(e.hasLyrics),link:!!Ln(e.link)&&Boolean(e.link),name:!!Ln(e.name)&&Boolean(e.name),length:!!Ln(e.length)&&Boolean(e.length),playable:!!Ln(e.playable)&&Boolean(e.playable),isAvailableInMetadataCatalogue:!!Ln(e.isAvailableInMetadataCatalogue)&&Boolean(e.isAvailableInMetadataCatalogue),locallyPlayable:!!Ln(e.locallyPlayable)&&Boolean(e.locallyPlayable),playableLocalTrack:!!Ln(e.playableLocalTrack)&&Boolean(e.playableLocalTrack),discNumber:!!Ln(e.discNumber)&&Boolean(e.discNumber),trackNumber:!!Ln(e.trackNumber)&&Boolean(e.trackNumber),isExplicit:!!Ln(e.isExplicit)&&Boolean(e.isExplicit),previewId:!!Ln(e.previewId)&&Boolean(e.previewId),isLocal:!!Ln(e.isLocal)&&Boolean(e.isLocal),isPremiumOnly:!!Ln(e.isPremiumOnly)&&Boolean(e.isPremiumOnly),playableTrackLink:!!Ln(e.playableTrackLink)&&Boolean(e.playableTrackLink),popularity:!!Ln(e.popularity)&&Boolean(e.popularity),is19PlusOnly:!!Ln(e.is19PlusOnly)&&Boolean(e.is19PlusOnly),trackDescriptors:!!Ln(e.trackDescriptors)&&Boolean(e.trackDescriptors),extension:Array.isArray(e?.extension)?e.extension.map((e=>et(e))):[],isCurated:!!Ln(e.isCurated)&&Boolean(e.isCurated),toBeObfuscated:!!Ln(e.toBeObfuscated)&&Boolean(e.toBeObfuscated)}),toJSON(e){const t={};return!0===e.hasLyrics&&(t.hasLyrics=e.hasLyrics),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.length&&(t.length=e.length),!0===e.playable&&(t.playable=e.playable),!0===e.isAvailableInMetadataCatalogue&&(t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue),!0===e.locallyPlayable&&(t.locallyPlayable=e.locallyPlayable),!0===e.playableLocalTrack&&(t.playableLocalTrack=e.playableLocalTrack),!0===e.discNumber&&(t.discNumber=e.discNumber),!0===e.trackNumber&&(t.trackNumber=e.trackNumber),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),!0===e.previewId&&(t.previewId=e.previewId),!0===e.isLocal&&(t.isLocal=e.isLocal),!0===e.isPremiumOnly&&(t.isPremiumOnly=e.isPremiumOnly),!0===e.playableTrackLink&&(t.playableTrackLink=e.playableTrackLink),!0===e.popularity&&(t.popularity=e.popularity),!0===e.is19PlusOnly&&(t.is19PlusOnly=e.is19PlusOnly),!0===e.trackDescriptors&&(t.trackDescriptors=e.trackDescriptors),e.extension?.length&&(t.extension=e.extension.map((e=>tt(e)))),!0===e.isCurated&&(t.isCurated=e.isCurated),!0===e.toBeObfuscated&&(t.toBeObfuscated=e.toBeObfuscated),t},create:e=>Pn.fromPartial(e??{}),fromPartial(e){const t={hasLyrics:!1,link:!1,name:!1,length:!1,playable:!1,isAvailableInMetadataCatalogue:!1,locallyPlayable:!1,playableLocalTrack:!1,discNumber:!1,trackNumber:!1,isExplicit:!1,previewId:!1,isLocal:!1,isPremiumOnly:!1,playableTrackLink:!1,popularity:!1,is19PlusOnly:!1,trackDescriptors:!1,extension:[],isCurated:!1,toBeObfuscated:!1};return t.hasLyrics=e.hasLyrics??!1,t.link=e.link??!1,t.name=e.name??!1,t.length=e.length??!1,t.playable=e.playable??!1,t.isAvailableInMetadataCatalogue=e.isAvailableInMetadataCatalogue??!1,t.locallyPlayable=e.locallyPlayable??!1,t.playableLocalTrack=e.playableLocalTrack??!1,t.discNumber=e.discNumber??!1,t.trackNumber=e.trackNumber??!1,t.isExplicit=e.isExplicit??!1,t.previewId=e.previewId??!1,t.isLocal=e.isLocal??!1,t.isPremiumOnly=e.isPremiumOnly??!1,t.playableTrackLink=e.playableTrackLink??!1,t.popularity=e.popularity??!1,t.is19PlusOnly=e.is19PlusOnly??!1,t.trackDescriptors=e.trackDescriptors??!1,t.extension=e.extension?.map((e=>e))||[],t.isCurated=e.isCurated??!1,t.toBeObfuscated=e.toBeObfuscated??!1,t}};function Ln(e){return null!=e}const kn={encode:(e,t=i.Writer.create())=>(void 0!==e.track&&Pn.encode(e.track,t.uint32(10).fork()).ldelim(),!0===e.rowId&&t.uint32(16).bool(e.rowId),!0===e.addTime&&t.uint32(24).bool(e.addTime),!0===e.inCollection&&t.uint32(32).bool(e.inCollection),!0===e.canAddToCollection&&t.uint32(40).bool(e.canAddToCollection),!0===e.isBanned&&t.uint32(48).bool(e.isBanned),!0===e.canBan&&t.uint32(56).bool(e.canBan),!0===e.localFile&&t.uint32(64).bool(e.localFile),!0===e.offline&&t.uint32(72).bool(e.offline),!0===e.formatListAttributes&&t.uint32(80).bool(e.formatListAttributes),!0===e.displayCovers&&t.uint32(88).bool(e.displayCovers),void 0!==e.addedBy&&cn.encode(e.addedBy,t.uint32(98).fork()).ldelim(),void 0!==e.album&&Rn.encode(e.album,t.uint32(106).fork()).ldelim(),void 0!==e.artist&&An.encode(e.artist,t.uint32(114).fork()).ldelim(),!0===e.signals&&t.uint32(120).bool(e.signals),!0===e.isRecommendation&&t.uint32(128).bool(e.isRecommendation),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={track:void 0,rowId:!1,addTime:!1,inCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1,localFile:!1,offline:!1,formatListAttributes:!1,displayCovers:!1,addedBy:void 0,album:void 0,artist:void 0,signals:!1,isRecommendation:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.track=Pn.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.rowId=n.bool();continue;case 3:if(24!==e)break;r.addTime=n.bool();continue;case 4:if(32!==e)break;r.inCollection=n.bool();continue;case 5:if(40!==e)break;r.canAddToCollection=n.bool();continue;case 6:if(48!==e)break;r.isBanned=n.bool();continue;case 7:if(56!==e)break;r.canBan=n.bool();continue;case 8:if(64!==e)break;r.localFile=n.bool();continue;case 9:if(72!==e)break;r.offline=n.bool();continue;case 10:if(80!==e)break;r.formatListAttributes=n.bool();continue;case 11:if(88!==e)break;r.displayCovers=n.bool();continue;case 12:if(98!==e)break;r.addedBy=cn.decode(n,n.uint32());continue;case 13:if(106!==e)break;r.album=Rn.decode(n,n.uint32());continue;case 14:if(114!==e)break;r.artist=An.decode(n,n.uint32());continue;case 15:if(120!==e)break;r.signals=n.bool();continue;case 16:if(128!==e)break;r.isRecommendation=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({track:wn(e.track)?Pn.fromJSON(e.track):void 0,rowId:!!wn(e.rowId)&&Boolean(e.rowId),addTime:!!wn(e.addTime)&&Boolean(e.addTime),inCollection:!!wn(e.inCollection)&&Boolean(e.inCollection),canAddToCollection:!!wn(e.canAddToCollection)&&Boolean(e.canAddToCollection),isBanned:!!wn(e.isBanned)&&Boolean(e.isBanned),canBan:!!wn(e.canBan)&&Boolean(e.canBan),localFile:!!wn(e.localFile)&&Boolean(e.localFile),offline:!!wn(e.offline)&&Boolean(e.offline),formatListAttributes:!!wn(e.formatListAttributes)&&Boolean(e.formatListAttributes),displayCovers:!!wn(e.displayCovers)&&Boolean(e.displayCovers),addedBy:wn(e.addedBy)?cn.fromJSON(e.addedBy):void 0,album:wn(e.album)?Rn.fromJSON(e.album):void 0,artist:wn(e.artist)?An.fromJSON(e.artist):void 0,signals:!!wn(e.signals)&&Boolean(e.signals),isRecommendation:!!wn(e.isRecommendation)&&Boolean(e.isRecommendation)}),toJSON(e){const t={};return void 0!==e.track&&(t.track=Pn.toJSON(e.track)),!0===e.rowId&&(t.rowId=e.rowId),!0===e.addTime&&(t.addTime=e.addTime),!0===e.inCollection&&(t.inCollection=e.inCollection),!0===e.canAddToCollection&&(t.canAddToCollection=e.canAddToCollection),!0===e.isBanned&&(t.isBanned=e.isBanned),!0===e.canBan&&(t.canBan=e.canBan),!0===e.localFile&&(t.localFile=e.localFile),!0===e.offline&&(t.offline=e.offline),!0===e.formatListAttributes&&(t.formatListAttributes=e.formatListAttributes),!0===e.displayCovers&&(t.displayCovers=e.displayCovers),void 0!==e.addedBy&&(t.addedBy=cn.toJSON(e.addedBy)),void 0!==e.album&&(t.album=Rn.toJSON(e.album)),void 0!==e.artist&&(t.artist=An.toJSON(e.artist)),!0===e.signals&&(t.signals=e.signals),!0===e.isRecommendation&&(t.isRecommendation=e.isRecommendation),t},create:e=>kn.fromPartial(e??{}),fromPartial(e){const t={track:void 0,rowId:!1,addTime:!1,inCollection:!1,canAddToCollection:!1,isBanned:!1,canBan:!1,localFile:!1,offline:!1,formatListAttributes:!1,displayCovers:!1,addedBy:void 0,album:void 0,artist:void 0,signals:!1,isRecommendation:!1};return t.track=void 0!==e.track&&null!==e.track?Pn.fromPartial(e.track):void 0,t.rowId=e.rowId??!1,t.addTime=e.addTime??!1,t.inCollection=e.inCollection??!1,t.canAddToCollection=e.canAddToCollection??!1,t.isBanned=e.isBanned??!1,t.canBan=e.canBan??!1,t.localFile=e.localFile??!1,t.offline=e.offline??!1,t.formatListAttributes=e.formatListAttributes??!1,t.displayCovers=e.displayCovers??!1,t.addedBy=void 0!==e.addedBy&&null!==e.addedBy?cn.fromPartial(e.addedBy):void 0,t.album=void 0!==e.album&&null!==e.album?Rn.fromPartial(e.album):void 0,t.artist=void 0!==e.artist&&null!==e.artist?An.fromPartial(e.artist):void 0,t.signals=e.signals??!1,t.isRecommendation=e.isRecommendation??!1,t}};function wn(e){return null!=e}const Dn={encode:(e,t=i.Writer.create())=>(0!==e.linkType&&t.uint32(8).int32(e.linkType),0!==e.extension&&t.uint32(16).int32(e.extension),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={linkType:0,extension:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.linkType=n.int32();continue;case 2:if(16!==e)break;r.extension=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({linkType:Bn(e.linkType)?Se(e.linkType):0,extension:Bn(e.extension)?et(e.extension):0}),toJSON(e){const t={};return 0!==e.linkType&&(t.linkType=Te(e.linkType)),0!==e.extension&&(t.extension=tt(e.extension)),t},create:e=>Dn.fromPartial(e??{}),fromPartial(e){const t={linkType:0,extension:0};return t.linkType=e.linkType??0,t.extension=e.extension??0,t}};const Mn={encode:(e,t=i.Writer.create())=>(!0===e.offlineState&&t.uint32(8).bool(e.offlineState),!0===e.syncProgress&&t.uint32(16).bool(e.syncProgress),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={offlineState:!1,syncProgress:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.offlineState=n.bool();continue;case 2:if(16!==e)break;r.syncProgress=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({offlineState:!!Bn(e.offlineState)&&Boolean(e.offlineState),syncProgress:!!Bn(e.syncProgress)&&Boolean(e.syncProgress)}),toJSON(e){const t={};return!0===e.offlineState&&(t.offlineState=e.offlineState),!0===e.syncProgress&&(t.syncProgress=e.syncProgress),t},create:e=>Mn.fromPartial(e??{}),fromPartial(e){const t={offlineState:!1,syncProgress:!1};return t.offlineState=e.offlineState??!1,t.syncProgress=e.syncProgress??!1,t}};const xn={encode:(e,t=i.Writer.create())=>(!0===e.name&&t.uint32(8).bool(e.name),!0===e.image&&t.uint32(16).bool(e.image),!0===e.isExplicit&&t.uint32(24).bool(e.isExplicit),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={name:!1,image:!1,isExplicit:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.name=n.bool();continue;case 2:if(16!==e)break;r.image=n.bool();continue;case 3:if(24!==e)break;r.isExplicit=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({name:!!Bn(e.name)&&Boolean(e.name),image:!!Bn(e.image)&&Boolean(e.image),isExplicit:!!Bn(e.isExplicit)&&Boolean(e.isExplicit)}),toJSON(e){const t={};return!0===e.name&&(t.name=e.name),!0===e.image&&(t.image=e.image),!0===e.isExplicit&&(t.isExplicit=e.isExplicit),t},create:e=>xn.fromPartial(e??{}),fromPartial(e){const t={name:!1,image:!1,isExplicit:!1};return t.name=e.name??!1,t.image=e.image??!1,t.isExplicit=e.isExplicit??!1,t}};const Un={encode:(e,t=i.Writer.create())=>(!0===e.isCurated&&t.uint32(8).bool(e.isCurated),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isCurated:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isCurated=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({isCurated:!!Bn(e.isCurated)&&Boolean(e.isCurated)}),toJSON(e){const t={};return!0===e.isCurated&&(t.isCurated=e.isCurated),t},create:e=>Un.fromPartial(e??{}),fromPartial(e){const t={isCurated:!1};return t.isCurated=e.isCurated??!1,t}};const Vn={encode(e,t=i.Writer.create()){!0===e.uri&&t.uint32(8).bool(e.uri);for(const n of e.extensionPolicy)Dn.encode(n,t.uint32(18).fork()).ldelim();return void 0!==e.offlineState&&Mn.encode(e.offlineState,t.uint32(26).fork()).ldelim(),!0===e.collectionState&&t.uint32(32).bool(e.collectionState),void 0!==e.metadata&&xn.encode(e.metadata,t.uint32(42).fork()).ldelim(),void 0!==e.curationState&&Un.encode(e.curationState,t.uint32(50).fork()).ldelim(),!0===e.obfuscationState&&t.uint32(56).bool(e.obfuscationState),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:!1,extensionPolicy:[],offlineState:void 0,collectionState:!1,metadata:void 0,curationState:void 0,obfuscationState:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.uri=n.bool();continue;case 2:if(18!==e)break;r.extensionPolicy.push(Dn.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.offlineState=Mn.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.collectionState=n.bool();continue;case 5:if(42!==e)break;r.metadata=xn.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.curationState=Un.decode(n,n.uint32());continue;case 7:if(56!==e)break;r.obfuscationState=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:!!Bn(e.uri)&&Boolean(e.uri),extensionPolicy:Array.isArray(e?.extensionPolicy)?e.extensionPolicy.map((e=>Dn.fromJSON(e))):[],offlineState:Bn(e.offlineState)?Mn.fromJSON(e.offlineState):void 0,collectionState:!!Bn(e.collectionState)&&Boolean(e.collectionState),metadata:Bn(e.metadata)?xn.fromJSON(e.metadata):void 0,curationState:Bn(e.curationState)?Un.fromJSON(e.curationState):void 0,obfuscationState:!!Bn(e.obfuscationState)&&Boolean(e.obfuscationState)}),toJSON(e){const t={};return!0===e.uri&&(t.uri=e.uri),e.extensionPolicy?.length&&(t.extensionPolicy=e.extensionPolicy.map((e=>Dn.toJSON(e)))),void 0!==e.offlineState&&(t.offlineState=Mn.toJSON(e.offlineState)),!0===e.collectionState&&(t.collectionState=e.collectionState),void 0!==e.metadata&&(t.metadata=xn.toJSON(e.metadata)),void 0!==e.curationState&&(t.curationState=Un.toJSON(e.curationState)),!0===e.obfuscationState&&(t.obfuscationState=e.obfuscationState),t},create:e=>Vn.fromPartial(e??{}),fromPartial(e){const t={uri:!1,extensionPolicy:[],offlineState:void 0,collectionState:!1,metadata:void 0,curationState:void 0,obfuscationState:!1};return t.uri=e.uri??!1,t.extensionPolicy=e.extensionPolicy?.map((e=>Dn.fromPartial(e)))||[],t.offlineState=void 0!==e.offlineState&&null!==e.offlineState?Mn.fromPartial(e.offlineState):void 0,t.collectionState=e.collectionState??!1,t.metadata=void 0!==e.metadata&&null!==e.metadata?xn.fromPartial(e.metadata):void 0,t.curationState=void 0!==e.curationState&&null!==e.curationState?Un.fromPartial(e.curationState):void 0,t.obfuscationState=e.obfuscationState??!1,t}};const Fn={encode:(e,t=i.Writer.create())=>(void 0!==e.playlist&&hn.encode(e.playlist,t.uint32(10).fork()).ldelim(),void 0!==e.track&&kn.encode(e.track,t.uint32(18).fork()).ldelim(),void 0!==e.episode&&Sn.encode(e.episode,t.uint32(26).fork()).ldelim(),void 0!==e.item&&Vn.encode(e.item,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlist:void 0,track:void 0,episode:void 0,item:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlist=hn.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.track=kn.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.episode=Sn.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.item=Vn.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlist:Bn(e.playlist)?hn.fromJSON(e.playlist):void 0,track:Bn(e.track)?kn.fromJSON(e.track):void 0,episode:Bn(e.episode)?Sn.fromJSON(e.episode):void 0,item:Bn(e.item)?Vn.fromJSON(e.item):void 0}),toJSON(e){const t={};return void 0!==e.playlist&&(t.playlist=hn.toJSON(e.playlist)),void 0!==e.track&&(t.track=kn.toJSON(e.track)),void 0!==e.episode&&(t.episode=Sn.toJSON(e.episode)),void 0!==e.item&&(t.item=Vn.toJSON(e.item)),t},create:e=>Fn.fromPartial(e??{}),fromPartial(e){const t={playlist:void 0,track:void 0,episode:void 0,item:void 0};return t.playlist=void 0!==e.playlist&&null!==e.playlist?hn.fromPartial(e.playlist):void 0,t.track=void 0!==e.track&&null!==e.track?kn.fromPartial(e.track):void 0,t.episode=void 0!==e.episode&&null!==e.episode?Sn.fromPartial(e.episode):void 0,t.item=void 0!==e.item&&null!==e.item?Vn.fromPartial(e.item):void 0,t}};function Bn(e){return null!=e}const Hn={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.query&&Ce.encode(e.query,t.uint32(18).fork()).ldelim(),void 0!==e.policy&&Fn.encode(e.policy,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",query:void 0,policy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.query=Ce.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.policy=Fn.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Kn(e.uri)?String(e.uri):"",query:Kn(e.query)?Ce.fromJSON(e.query):void 0,policy:Kn(e.policy)?Fn.fromJSON(e.policy):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.query&&(t.query=Ce.toJSON(e.query)),void 0!==e.policy&&(t.policy=Fn.toJSON(e.policy)),t},create:e=>Hn.fromPartial(e??{}),fromPartial(e){const t={uri:"",query:void 0,policy:void 0};return t.uri=e.uri??"",t.query=void 0!==e.query&&null!==e.query?Ce.fromPartial(e.query):void 0,t.policy=void 0!==e.policy&&null!==e.policy?Fn.fromPartial(e.policy):void 0,t}};const Gn={encode:(e,t=i.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),void 0!==e.request&&Hn.encode(e.request,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:"",request:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.id=n.string();continue;case 2:if(18!==e)break;r.request=Hn.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:Kn(e.id)?String(e.id):"",request:Kn(e.request)?Hn.fromJSON(e.request):void 0}),toJSON(e){const t={};return""!==e.id&&(t.id=e.id),void 0!==e.request&&(t.request=Hn.toJSON(e.request)),t},create:e=>Gn.fromPartial(e??{}),fromPartial(e){const t={id:"",request:void 0};return t.id=e.id??"",t.request=void 0!==e.request&&null!==e.request?Hn.fromPartial(e.request):void 0,t}};const Wn={encode(e,t=i.Writer.create()){for(const n of e.requests)Gn.encode(n,t.uint32(10).fork()).ldelim();return void 0!==e.timeout&&qe.encode(e.timeout,t.uint32(18).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={requests:[],timeout:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.requests.push(Gn.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.timeout=qe.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({requests:Array.isArray(e?.requests)?e.requests.map((e=>Gn.fromJSON(e))):[],timeout:Kn(e.timeout)?qe.fromJSON(e.timeout):void 0}),toJSON(e){const t={};return e.requests?.length&&(t.requests=e.requests.map((e=>Gn.toJSON(e)))),void 0!==e.timeout&&(t.timeout=qe.toJSON(e.timeout)),t},create:e=>Wn.fromPartial(e??{}),fromPartial(e){const t={requests:[],timeout:void 0};return t.requests=e.requests?.map((e=>Gn.fromPartial(e)))||[],t.timeout=void 0!==e.timeout&&null!==e.timeout?qe.fromPartial(e.timeout):void 0,t}};const jn={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.data&&rn.encode(e.data,t.uint32(18).fork()).ldelim(),void 0!==e.query&&Ce.encode(e.query,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,data:void 0,query:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.data=rn.decode(n,n.uint32());continue;case 3:if(26!==e)break;a.query=Ce.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Kn(e.status)?o.fromJSON(e.status):void 0,data:Kn(e.data)?rn.fromJSON(e.data):void 0,query:Kn(e.query)?Ce.fromJSON(e.query):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.data&&(t.data=rn.toJSON(e.data)),void 0!==e.query&&(t.query=Ce.toJSON(e.query)),t},create:e=>jn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,data:void 0,query:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.data=void 0!==e.data&&null!==e.data?rn.fromPartial(e.data):void 0,t.query=void 0!==e.query&&null!==e.query?Ce.fromPartial(e.query):void 0,t}};const Yn={encode:(e,t=i.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),""!==e.uri&&t.uint32(18).string(e.uri),void 0!==e.response&&jn.encode(e.response,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:"",uri:"",response:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.id=n.string();continue;case 2:if(18!==e)break;r.uri=n.string();continue;case 3:if(26!==e)break;r.response=jn.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:Kn(e.id)?String(e.id):"",uri:Kn(e.uri)?String(e.uri):"",response:Kn(e.response)?jn.fromJSON(e.response):void 0}),toJSON(e){const t={};return""!==e.id&&(t.id=e.id),""!==e.uri&&(t.uri=e.uri),void 0!==e.response&&(t.response=jn.toJSON(e.response)),t},create:e=>Yn.fromPartial(e??{}),fromPartial(e){const t={id:"",uri:"",response:void 0};return t.id=e.id??"",t.uri=e.uri??"",t.response=void 0!==e.response&&null!==e.response?jn.fromPartial(e.response):void 0,t}};const zn={encode(e,t=i.Writer.create()){void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim();for(const n of e.responses)Yn.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,responses:[]};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.responses.push(Yn.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Kn(e.status)?o.fromJSON(e.status):void 0,responses:Array.isArray(e?.responses)?e.responses.map((e=>Yn.fromJSON(e))):[]}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),e.responses?.length&&(t.responses=e.responses.map((e=>Yn.toJSON(e)))),t},create:e=>zn.fromPartial(e??{}),fromPartial(e){const t={status:void 0,responses:[]};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.responses=e.responses?.map((e=>Yn.fromPartial(e)))||[],t}};function Kn(e){return null!=e}class Jn{transport;options;constructor(e,t={}){this.transport=e,this.options=t}find(e,t){const n=Jn.SERVICE_ID,o="Find",r=je.fromPartial(e),a=je.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=ze.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}get(e,t){const n=Jn.SERVICE_ID,o="Get",r=Hn.fromPartial(e),a=Hn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=jn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribe(e,t){const n=Jn.SERVICE_ID,o="Subscribe",r=Hn.fromPartial(e),a=Hn.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=jn.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}multiGet(e,t){const n=Jn.SERVICE_ID,o="MultiGet",r=Wn.fromPartial(e),a=Wn.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=zn.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.playlist_esperanto.proto.PlaylistDataService";static METHODS={find:{isStreaming:!1,requestType:je,responseType:ze},get:{isStreaming:!1,requestType:Hn,responseType:jn},subscribe:{isStreaming:!0,requestType:Hn,responseType:jn},multiGet:{isStreaming:!1,requestType:Wn,responseType:zn}};static DECODERS={Find:{request:je.decode,response:ze.decode},Get:{request:Hn.decode,response:jn.decode},Subscribe:{request:Hn.decode,response:jn.decode},MultiGet:{request:Wn.decode,response:zn.decode}}}const qn={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),""!==e.uid&&t.uint32(18).string(e.uid),Object.entries(e.metadata).forEach((([e,n])=>{Xn.encode({key:e,value:n},t.uint32(26).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",uid:"",metadata:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.uid=n.string();continue;case 3:if(26!==e)break;const t=Xn.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{uri:$n(e.uri)?String(e.uri):"",uid:$n(e.uid)?String(e.uid):"",metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(""!==e.uri&&(t.uri=e.uri),""!==e.uid&&(t.uid=e.uid),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return t},create:e=>qn.fromPartial(e??{}),fromPartial(e){const t={uri:"",uid:"",metadata:{}};return t.uri=e.uri??"",t.uid=e.uid??"",t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const Xn={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:$n(e.key)?String(e.key):"",value:$n(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Xn.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function $n(e){return null!=e}const Zn={encode(e,t=i.Writer.create()){for(const n of e.tracks)qn.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{Qn.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.pageUrl&&t.uint32(26).string(e.pageUrl),""!==e.nextPageUrl&&t.uint32(34).string(e.nextPageUrl),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tracks.push(qn.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=Qn.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;r.pageUrl=n.string();continue;case 4:if(34!==e)break;r.nextPageUrl=n.string();continue;case 5:if(40!==e)break;r.isLoading=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{tracks:Array.isArray(e?.tracks)?e.tracks.map((e=>qn.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),pageUrl:ei(e.pageUrl)?String(e.pageUrl):"",nextPageUrl:ei(e.nextPageUrl)?String(e.nextPageUrl):"",isLoading:!!ei(e.isLoading)&&Boolean(e.isLoading)};var t},toJSON(e){const t={};if(e.tracks?.length&&(t.tracks=e.tracks.map((e=>qn.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),""!==e.nextPageUrl&&(t.nextPageUrl=e.nextPageUrl),!0===e.isLoading&&(t.isLoading=e.isLoading),t},create:e=>Zn.fromPartial(e??{}),fromPartial(e){const t={tracks:[],metadata:{},pageUrl:"",nextPageUrl:"",isLoading:!1};return t.tracks=e.tracks?.map((e=>qn.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.pageUrl=e.pageUrl??"",t.nextPageUrl=e.nextPageUrl??"",t.isLoading=e.isLoading??!1,t}};const Qn={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ei(e.key)?String(e.key):"",value:ei(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Qn.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function ei(e){return null!=e}const ti={encode:(e,t=i.Writer.create())=>(Object.entries(e.values).forEach((([e,n])=>{ni.encode({key:e,value:n},t.uint32(10).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={values:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;const t=ni.decode(n,n.uint32());void 0!==t.value&&(r.values[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({values:si(e.values)?Object.entries(e.values).reduce(((e,[t,n])=>(e[t]=ii.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.values){const n=Object.entries(e.values);n.length>0&&(t.values={},n.forEach((([e,n])=>{t.values[e]=ii.toJSON(n)})))}return t},create:e=>ti.fromPartial(e??{}),fromPartial(e){const t={values:{}};return t.values=Object.entries(e.values??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=ii.fromPartial(n)),e)),{}),t}};const ni={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&ii.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=ii.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ci(e.key)?String(e.key):"",value:ci(e.value)?ii.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=ii.toJSON(e.value)),t},create:e=>ni.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?ii.fromPartial(e.value):void 0,t}};const ii={encode(e,t=i.Writer.create()){for(const n of e.reasons)t.uint32(10).string(n);return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={reasons:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.reasons.push(n.string());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reasons:Array.isArray(e?.reasons)?e.reasons.map((e=>String(e))):[]}),toJSON(e){const t={};return e.reasons?.length&&(t.reasons=e.reasons),t},create:e=>ii.fromPartial(e??{}),fromPartial(e){const t={reasons:[]};return t.reasons=e.reasons?.map((e=>e))||[],t}};const oi={encode(e,t=i.Writer.create()){for(const n of e.disallowPausingReasons)t.uint32(10).string(n);for(const n of e.disallowResumingReasons)t.uint32(18).string(n);for(const n of e.disallowSeekingReasons)t.uint32(26).string(n);for(const n of e.disallowPeekingPrevReasons)t.uint32(34).string(n);for(const n of e.disallowPeekingNextReasons)t.uint32(42).string(n);for(const n of e.disallowSkippingPrevReasons)t.uint32(50).string(n);for(const n of e.disallowSkippingNextReasons)t.uint32(58).string(n);for(const n of e.disallowTogglingRepeatContextReasons)t.uint32(66).string(n);for(const n of e.disallowTogglingRepeatTrackReasons)t.uint32(74).string(n);for(const n of e.disallowTogglingShuffleReasons)t.uint32(82).string(n);for(const n of e.disallowSetQueueReasons)t.uint32(90).string(n);for(const n of e.disallowInterruptingPlaybackReasons)t.uint32(98).string(n);for(const n of e.disallowTransferringPlaybackReasons)t.uint32(106).string(n);for(const n of e.disallowRemoteControlReasons)t.uint32(114).string(n);for(const n of e.disallowInsertingIntoNextTracksReasons)t.uint32(122).string(n);for(const n of e.disallowInsertingIntoContextTracksReasons)t.uint32(130).string(n);for(const n of e.disallowReorderingInNextTracksReasons)t.uint32(138).string(n);for(const n of e.disallowReorderingInContextTracksReasons)t.uint32(146).string(n);for(const n of e.disallowRemovingFromNextTracksReasons)t.uint32(154).string(n);for(const n of e.disallowRemovingFromContextTracksReasons)t.uint32(162).string(n);for(const n of e.disallowUpdatingContextReasons)t.uint32(170).string(n);for(const n of e.disallowAddToQueueReasons)t.uint32(178).string(n);for(const n of e.disallowSettingPlaybackSpeedReasons)t.uint32(186).string(n);return Object.entries(e.disallowSettingModes).forEach((([e,n])=>{ri.encode({key:e,value:n},t.uint32(202).fork()).ldelim()})),Object.entries(e.disallowSignals).forEach((([e,n])=>{ai.encode({key:e,value:n},t.uint32(210).fork()).ldelim()})),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.disallowPausingReasons.push(n.string());continue;case 2:if(18!==e)break;r.disallowResumingReasons.push(n.string());continue;case 3:if(26!==e)break;r.disallowSeekingReasons.push(n.string());continue;case 4:if(34!==e)break;r.disallowPeekingPrevReasons.push(n.string());continue;case 5:if(42!==e)break;r.disallowPeekingNextReasons.push(n.string());continue;case 6:if(50!==e)break;r.disallowSkippingPrevReasons.push(n.string());continue;case 7:if(58!==e)break;r.disallowSkippingNextReasons.push(n.string());continue;case 8:if(66!==e)break;r.disallowTogglingRepeatContextReasons.push(n.string());continue;case 9:if(74!==e)break;r.disallowTogglingRepeatTrackReasons.push(n.string());continue;case 10:if(82!==e)break;r.disallowTogglingShuffleReasons.push(n.string());continue;case 11:if(90!==e)break;r.disallowSetQueueReasons.push(n.string());continue;case 12:if(98!==e)break;r.disallowInterruptingPlaybackReasons.push(n.string());continue;case 13:if(106!==e)break;r.disallowTransferringPlaybackReasons.push(n.string());continue;case 14:if(114!==e)break;r.disallowRemoteControlReasons.push(n.string());continue;case 15:if(122!==e)break;r.disallowInsertingIntoNextTracksReasons.push(n.string());continue;case 16:if(130!==e)break;r.disallowInsertingIntoContextTracksReasons.push(n.string());continue;case 17:if(138!==e)break;r.disallowReorderingInNextTracksReasons.push(n.string());continue;case 18:if(146!==e)break;r.disallowReorderingInContextTracksReasons.push(n.string());continue;case 19:if(154!==e)break;r.disallowRemovingFromNextTracksReasons.push(n.string());continue;case 20:if(162!==e)break;r.disallowRemovingFromContextTracksReasons.push(n.string());continue;case 21:if(170!==e)break;r.disallowUpdatingContextReasons.push(n.string());continue;case 22:if(178!==e)break;r.disallowAddToQueueReasons.push(n.string());continue;case 23:if(186!==e)break;r.disallowSettingPlaybackSpeedReasons.push(n.string());continue;case 25:if(202!==e)break;const t=ri.decode(n,n.uint32());void 0!==t.value&&(r.disallowSettingModes[t.key]=t.value);continue;case 26:if(210!==e)break;const i=ai.decode(n,n.uint32());void 0!==i.value&&(r.disallowSignals[i.key]=i.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({disallowPausingReasons:Array.isArray(e?.disallowPausingReasons)?e.disallowPausingReasons.map((e=>String(e))):[],disallowResumingReasons:Array.isArray(e?.disallowResumingReasons)?e.disallowResumingReasons.map((e=>String(e))):[],disallowSeekingReasons:Array.isArray(e?.disallowSeekingReasons)?e.disallowSeekingReasons.map((e=>String(e))):[],disallowPeekingPrevReasons:Array.isArray(e?.disallowPeekingPrevReasons)?e.disallowPeekingPrevReasons.map((e=>String(e))):[],disallowPeekingNextReasons:Array.isArray(e?.disallowPeekingNextReasons)?e.disallowPeekingNextReasons.map((e=>String(e))):[],disallowSkippingPrevReasons:Array.isArray(e?.disallowSkippingPrevReasons)?e.disallowSkippingPrevReasons.map((e=>String(e))):[],disallowSkippingNextReasons:Array.isArray(e?.disallowSkippingNextReasons)?e.disallowSkippingNextReasons.map((e=>String(e))):[],disallowTogglingRepeatContextReasons:Array.isArray(e?.disallowTogglingRepeatContextReasons)?e.disallowTogglingRepeatContextReasons.map((e=>String(e))):[],disallowTogglingRepeatTrackReasons:Array.isArray(e?.disallowTogglingRepeatTrackReasons)?e.disallowTogglingRepeatTrackReasons.map((e=>String(e))):[],disallowTogglingShuffleReasons:Array.isArray(e?.disallowTogglingShuffleReasons)?e.disallowTogglingShuffleReasons.map((e=>String(e))):[],disallowSetQueueReasons:Array.isArray(e?.disallowSetQueueReasons)?e.disallowSetQueueReasons.map((e=>String(e))):[],disallowInterruptingPlaybackReasons:Array.isArray(e?.disallowInterruptingPlaybackReasons)?e.disallowInterruptingPlaybackReasons.map((e=>String(e))):[],disallowTransferringPlaybackReasons:Array.isArray(e?.disallowTransferringPlaybackReasons)?e.disallowTransferringPlaybackReasons.map((e=>String(e))):[],disallowRemoteControlReasons:Array.isArray(e?.disallowRemoteControlReasons)?e.disallowRemoteControlReasons.map((e=>String(e))):[],disallowInsertingIntoNextTracksReasons:Array.isArray(e?.disallowInsertingIntoNextTracksReasons)?e.disallowInsertingIntoNextTracksReasons.map((e=>String(e))):[],disallowInsertingIntoContextTracksReasons:Array.isArray(e?.disallowInsertingIntoContextTracksReasons)?e.disallowInsertingIntoContextTracksReasons.map((e=>String(e))):[],disallowReorderingInNextTracksReasons:Array.isArray(e?.disallowReorderingInNextTracksReasons)?e.disallowReorderingInNextTracksReasons.map((e=>String(e))):[],disallowReorderingInContextTracksReasons:Array.isArray(e?.disallowReorderingInContextTracksReasons)?e.disallowReorderingInContextTracksReasons.map((e=>String(e))):[],disallowRemovingFromNextTracksReasons:Array.isArray(e?.disallowRemovingFromNextTracksReasons)?e.disallowRemovingFromNextTracksReasons.map((e=>String(e))):[],disallowRemovingFromContextTracksReasons:Array.isArray(e?.disallowRemovingFromContextTracksReasons)?e.disallowRemovingFromContextTracksReasons.map((e=>String(e))):[],disallowUpdatingContextReasons:Array.isArray(e?.disallowUpdatingContextReasons)?e.disallowUpdatingContextReasons.map((e=>String(e))):[],disallowAddToQueueReasons:Array.isArray(e?.disallowAddToQueueReasons)?e.disallowAddToQueueReasons.map((e=>String(e))):[],disallowSettingPlaybackSpeedReasons:Array.isArray(e?.disallowSettingPlaybackSpeedReasons)?e.disallowSettingPlaybackSpeedReasons.map((e=>String(e))):[],disallowSettingModes:si(e.disallow_setting_modes)?Object.entries(e.disallow_setting_modes).reduce(((e,[t,n])=>(e[t]=ti.fromJSON(n),e)),{}):{},disallowSignals:si(e.disallow_signals)?Object.entries(e.disallow_signals).reduce(((e,[t,n])=>(e[t]=ii.fromJSON(n),e)),{}):{}}),toJSON(e){const t={};if(e.disallowPausingReasons?.length&&(t.disallowPausingReasons=e.disallowPausingReasons),e.disallowResumingReasons?.length&&(t.disallowResumingReasons=e.disallowResumingReasons),e.disallowSeekingReasons?.length&&(t.disallowSeekingReasons=e.disallowSeekingReasons),e.disallowPeekingPrevReasons?.length&&(t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons),e.disallowPeekingNextReasons?.length&&(t.disallowPeekingNextReasons=e.disallowPeekingNextReasons),e.disallowSkippingPrevReasons?.length&&(t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons),e.disallowSkippingNextReasons?.length&&(t.disallowSkippingNextReasons=e.disallowSkippingNextReasons),e.disallowTogglingRepeatContextReasons?.length&&(t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons),e.disallowTogglingRepeatTrackReasons?.length&&(t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons),e.disallowTogglingShuffleReasons?.length&&(t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons),e.disallowSetQueueReasons?.length&&(t.disallowSetQueueReasons=e.disallowSetQueueReasons),e.disallowInterruptingPlaybackReasons?.length&&(t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons),e.disallowTransferringPlaybackReasons?.length&&(t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons),e.disallowRemoteControlReasons?.length&&(t.disallowRemoteControlReasons=e.disallowRemoteControlReasons),e.disallowInsertingIntoNextTracksReasons?.length&&(t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons),e.disallowInsertingIntoContextTracksReasons?.length&&(t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons),e.disallowReorderingInNextTracksReasons?.length&&(t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons),e.disallowReorderingInContextTracksReasons?.length&&(t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons),e.disallowRemovingFromNextTracksReasons?.length&&(t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons),e.disallowRemovingFromContextTracksReasons?.length&&(t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons),e.disallowUpdatingContextReasons?.length&&(t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons),e.disallowAddToQueueReasons?.length&&(t.disallowAddToQueueReasons=e.disallowAddToQueueReasons),e.disallowSettingPlaybackSpeedReasons?.length&&(t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons),e.disallowSettingModes){const n=Object.entries(e.disallowSettingModes);n.length>0&&(t.disallow_setting_modes={},n.forEach((([e,n])=>{t.disallow_setting_modes[e]=ti.toJSON(n)})))}if(e.disallowSignals){const n=Object.entries(e.disallowSignals);n.length>0&&(t.disallow_signals={},n.forEach((([e,n])=>{t.disallow_signals[e]=ii.toJSON(n)})))}return t},create:e=>oi.fromPartial(e??{}),fromPartial(e){const t={disallowPausingReasons:[],disallowResumingReasons:[],disallowSeekingReasons:[],disallowPeekingPrevReasons:[],disallowPeekingNextReasons:[],disallowSkippingPrevReasons:[],disallowSkippingNextReasons:[],disallowTogglingRepeatContextReasons:[],disallowTogglingRepeatTrackReasons:[],disallowTogglingShuffleReasons:[],disallowSetQueueReasons:[],disallowInterruptingPlaybackReasons:[],disallowTransferringPlaybackReasons:[],disallowRemoteControlReasons:[],disallowInsertingIntoNextTracksReasons:[],disallowInsertingIntoContextTracksReasons:[],disallowReorderingInNextTracksReasons:[],disallowReorderingInContextTracksReasons:[],disallowRemovingFromNextTracksReasons:[],disallowRemovingFromContextTracksReasons:[],disallowUpdatingContextReasons:[],disallowAddToQueueReasons:[],disallowSettingPlaybackSpeedReasons:[],disallowSettingModes:{},disallowSignals:{}};return t.disallowPausingReasons=e.disallowPausingReasons?.map((e=>e))||[],t.disallowResumingReasons=e.disallowResumingReasons?.map((e=>e))||[],t.disallowSeekingReasons=e.disallowSeekingReasons?.map((e=>e))||[],t.disallowPeekingPrevReasons=e.disallowPeekingPrevReasons?.map((e=>e))||[],t.disallowPeekingNextReasons=e.disallowPeekingNextReasons?.map((e=>e))||[],t.disallowSkippingPrevReasons=e.disallowSkippingPrevReasons?.map((e=>e))||[],t.disallowSkippingNextReasons=e.disallowSkippingNextReasons?.map((e=>e))||[],t.disallowTogglingRepeatContextReasons=e.disallowTogglingRepeatContextReasons?.map((e=>e))||[],t.disallowTogglingRepeatTrackReasons=e.disallowTogglingRepeatTrackReasons?.map((e=>e))||[],t.disallowTogglingShuffleReasons=e.disallowTogglingShuffleReasons?.map((e=>e))||[],t.disallowSetQueueReasons=e.disallowSetQueueReasons?.map((e=>e))||[],t.disallowInterruptingPlaybackReasons=e.disallowInterruptingPlaybackReasons?.map((e=>e))||[],t.disallowTransferringPlaybackReasons=e.disallowTransferringPlaybackReasons?.map((e=>e))||[],t.disallowRemoteControlReasons=e.disallowRemoteControlReasons?.map((e=>e))||[],t.disallowInsertingIntoNextTracksReasons=e.disallowInsertingIntoNextTracksReasons?.map((e=>e))||[],t.disallowInsertingIntoContextTracksReasons=e.disallowInsertingIntoContextTracksReasons?.map((e=>e))||[],t.disallowReorderingInNextTracksReasons=e.disallowReorderingInNextTracksReasons?.map((e=>e))||[],t.disallowReorderingInContextTracksReasons=e.disallowReorderingInContextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromNextTracksReasons=e.disallowRemovingFromNextTracksReasons?.map((e=>e))||[],t.disallowRemovingFromContextTracksReasons=e.disallowRemovingFromContextTracksReasons?.map((e=>e))||[],t.disallowUpdatingContextReasons=e.disallowUpdatingContextReasons?.map((e=>e))||[],t.disallowAddToQueueReasons=e.disallowAddToQueueReasons?.map((e=>e))||[],t.disallowSettingPlaybackSpeedReasons=e.disallowSettingPlaybackSpeedReasons?.map((e=>e))||[],t.disallowSettingModes=Object.entries(e.disallowSettingModes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=ti.fromPartial(n)),e)),{}),t.disallowSignals=Object.entries(e.disallowSignals??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=ii.fromPartial(n)),e)),{}),t}};const ri={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&ti.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=ti.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ci(e.key)?String(e.key):"",value:ci(e.value)?ti.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=ti.toJSON(e.value)),t},create:e=>ri.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?ti.fromPartial(e.value):void 0,t}};const ai={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),void 0!==e.value&&ii.encode(e.value,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=ii.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:ci(e.key)?String(e.key):"",value:ci(e.value)?ii.fromJSON(e.value):void 0}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),void 0!==e.value&&(t.value=ii.toJSON(e.value)),t},create:e=>ai.fromPartial(e??{}),fromPartial(e){const t={key:"",value:void 0};return t.key=e.key??"",t.value=void 0!==e.value&&null!==e.value?ii.fromPartial(e.value):void 0,t}};function si(e){return"object"==typeof e&&null!==e}function ci(e){return null!=e}const li={encode(e,t=i.Writer.create()){for(const n of e.pages)Zn.encode(n,t.uint32(10).fork()).ldelim();return Object.entries(e.metadata).forEach((([e,n])=>{ui.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),""!==e.uri&&t.uint32(26).string(e.uri),""!==e.url&&t.uint32(34).string(e.url),!0===e.isLoading&&t.uint32(40).bool(e.isLoading),void 0!==e.restrictions&&oi.encode(e.restrictions,t.uint32(50).fork()).ldelim(),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pages.push(Zn.decode(n,n.uint32()));continue;case 2:if(18!==e)break;const t=ui.decode(n,n.uint32());void 0!==t.value&&(r.metadata[t.key]=t.value);continue;case 3:if(26!==e)break;r.uri=n.string();continue;case 4:if(34!==e)break;r.url=n.string();continue;case 5:if(40!==e)break;r.isLoading=n.bool();continue;case 6:if(50!==e)break;r.restrictions=oi.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{pages:Array.isArray(e?.pages)?e.pages.map((e=>Zn.fromJSON(e))):[],metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}),uri:di(e.uri)?String(e.uri):"",url:di(e.url)?String(e.url):"",isLoading:!!di(e.isLoading)&&Boolean(e.isLoading),restrictions:di(e.restrictions)?oi.fromJSON(e.restrictions):void 0};var t},toJSON(e){const t={};if(e.pages?.length&&(t.pages=e.pages.map((e=>Zn.toJSON(e)))),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return""!==e.uri&&(t.uri=e.uri),""!==e.url&&(t.url=e.url),!0===e.isLoading&&(t.isLoading=e.isLoading),void 0!==e.restrictions&&(t.restrictions=oi.toJSON(e.restrictions)),t},create:e=>li.fromPartial(e??{}),fromPartial(e){const t={pages:[],metadata:{},uri:"",url:"",isLoading:!1,restrictions:void 0};return t.pages=e.pages?.map((e=>Zn.fromPartial(e)))||[],t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t.uri=e.uri??"",t.url=e.url??"",t.isLoading=e.isLoading??!1,t.restrictions=void 0!==e.restrictions&&null!==e.restrictions?oi.fromPartial(e.restrictions):void 0,t}};const ui={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:di(e.key)?String(e.key):"",value:di(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>ui.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function di(e){return null!=e}function pi(){return{value:BigInt("0")}}const hi={encode:(e,t=i.Writer.create())=>(e.value!==BigInt("0")&&t.uint32(8).int64(e.value.toString()),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=pi();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=(a=n.int64(),BigInt(a.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var a;return r},fromJSON:e=>({value:mi(e.value)?BigInt(e.value):BigInt("0")}),toJSON(e){const t={};return e.value!==BigInt("0")&&(t.value=e.value.toString()),t},create:e=>hi.fromPartial(e??{}),fromPartial(e){const t=pi();return t.value=e.value??BigInt("0"),t}};const fi={encode:(e,t=i.Writer.create())=>(!0===e.value&&t.uint32(8).bool(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={value:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.value=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({value:!!mi(e.value)&&Boolean(e.value)}),toJSON(e){const t={};return!0===e.value&&(t.value=e.value),t},create:e=>fi.fromPartial(e??{}),fromPartial(e){const t={value:!1};return t.value=e.value??!1,t}};function mi(e){return null!=e}i.util.Long!==D&&(i.util.Long=D,i.configure());const _i={encode(e,t=i.Writer.create()){void 0!==e.commandInitiatedTime&&hi.encode(e.commandInitiatedTime,t.uint32(10).fork()).ldelim(),void 0!==e.commandReceivedTime&&hi.encode(e.commandReceivedTime,t.uint32(18).fork()).ldelim();for(const n of e.pageInstanceIds)t.uint32(26).string(n);for(const n of e.interactionIds)t.uint32(34).string(n);return""!==e.deviceIdentifier&&t.uint32(42).string(e.deviceIdentifier),void 0!==e.commandId&&t.uint32(50).string(e.commandId),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.commandInitiatedTime=hi.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.commandReceivedTime=hi.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.pageInstanceIds.push(n.string());continue;case 4:if(34!==e)break;r.interactionIds.push(n.string());continue;case 5:if(42!==e)break;r.deviceIdentifier=n.string();continue;case 6:if(50!==e)break;r.commandId=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({commandInitiatedTime:gi(e.commandInitiatedTime)?hi.fromJSON(e.commandInitiatedTime):void 0,commandReceivedTime:gi(e.commandReceivedTime)?hi.fromJSON(e.commandReceivedTime):void 0,pageInstanceIds:Array.isArray(e?.pageInstanceIds)?e.pageInstanceIds.map((e=>String(e))):[],interactionIds:Array.isArray(e?.interactionIds)?e.interactionIds.map((e=>String(e))):[],deviceIdentifier:gi(e.deviceIdentifier)?String(e.deviceIdentifier):"",commandId:gi(e.commandId)?String(e.commandId):void 0}),toJSON(e){const t={};return void 0!==e.commandInitiatedTime&&(t.commandInitiatedTime=hi.toJSON(e.commandInitiatedTime)),void 0!==e.commandReceivedTime&&(t.commandReceivedTime=hi.toJSON(e.commandReceivedTime)),e.pageInstanceIds?.length&&(t.pageInstanceIds=e.pageInstanceIds),e.interactionIds?.length&&(t.interactionIds=e.interactionIds),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),void 0!==e.commandId&&(t.commandId=e.commandId),t},create:e=>_i.fromPartial(e??{}),fromPartial(e){const t={commandInitiatedTime:void 0,commandReceivedTime:void 0,pageInstanceIds:[],interactionIds:[],deviceIdentifier:"",commandId:void 0};return t.commandInitiatedTime=void 0!==e.commandInitiatedTime&&null!==e.commandInitiatedTime?hi.fromPartial(e.commandInitiatedTime):void 0,t.commandReceivedTime=void 0!==e.commandReceivedTime&&null!==e.commandReceivedTime?hi.fromPartial(e.commandReceivedTime):void 0,t.pageInstanceIds=e.pageInstanceIds?.map((e=>e))||[],t.interactionIds=e.interactionIds?.map((e=>e))||[],t.deviceIdentifier=e.deviceIdentifier??"",t.commandId=e.commandId??void 0,t}};function gi(e){return null!=e}var Ei,vi,yi;function bi(e){switch(e){case 0:case"INTERACTIVE":return Ei.INTERACTIVE;case 1:case"REMOTE_TRANSFER":return Ei.REMOTE_TRANSFER;case 2:case"LICENSE_CHANGE":return Ei.LICENSE_CHANGE;default:return Ei.UNRECOGNIZED}}function Si(e){switch(e){case 0:case"REPLACE":return vi.REPLACE;case 1:case"ENQUEUE":return vi.ENQUEUE;case 2:case"PUSH":return vi.PUSH;default:return vi.UNRECOGNIZED}}function Ti(e){switch(e){case 0:case"IMMEDIATELY":return yi.IMMEDIATELY;case 1:case"ADVANCED_PAST_TRACK":return yi.ADVANCED_PAST_TRACK;case 2:case"ADVANCED_PAST_CONTEXT":return yi.ADVANCED_PAST_CONTEXT;default:return yi.UNRECOGNIZED}}!function(e){e[e.INTERACTIVE=0]="INTERACTIVE",e[e.REMOTE_TRANSFER=1]="REMOTE_TRANSFER",e[e.LICENSE_CHANGE=2]="LICENSE_CHANGE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Ei||(Ei={})),function(e){e[e.REPLACE=0]="REPLACE",e[e.ENQUEUE=1]="ENQUEUE",e[e.PUSH=2]="PUSH",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(vi||(vi={})),function(e){e[e.IMMEDIATELY=0]="IMMEDIATELY",e[e.ADVANCED_PAST_TRACK=1]="ADVANCED_PAST_TRACK",e[e.ADVANCED_PAST_CONTEXT=2]="ADVANCED_PAST_CONTEXT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(yi||(yi={}));const Ai={encode:(e,t=i.Writer.create())=>(0!==e.reason&&t.uint32(8).int32(e.reason),0!==e.operation&&t.uint32(16).int32(e.operation),0!==e.trigger&&t.uint32(24).int32(e.trigger),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={reason:0,operation:0,trigger:0,playbackSpeed:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.reason=n.int32();continue;case 2:if(16!==e)break;r.operation=n.int32();continue;case 3:if(24!==e)break;r.trigger=n.int32();continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({reason:Ii(e.reason)?bi(e.reason):0,operation:Ii(e.operation)?Si(e.operation):0,trigger:Ii(e.trigger)?Ti(e.trigger):0,playbackSpeed:Ii(e.playbackSpeed)?Number(e.playbackSpeed):void 0}),toJSON(e){const t={};return 0!==e.reason&&(t.reason=function(e){switch(e){case Ei.INTERACTIVE:return"INTERACTIVE";case Ei.REMOTE_TRANSFER:return"REMOTE_TRANSFER";case Ei.LICENSE_CHANGE:return"LICENSE_CHANGE";case Ei.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.reason)),0!==e.operation&&(t.operation=function(e){switch(e){case vi.REPLACE:return"REPLACE";case vi.ENQUEUE:return"ENQUEUE";case vi.PUSH:return"PUSH";case vi.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.operation)),0!==e.trigger&&(t.trigger=function(e){switch(e){case yi.IMMEDIATELY:return"IMMEDIATELY";case yi.ADVANCED_PAST_TRACK:return"ADVANCED_PAST_TRACK";case yi.ADVANCED_PAST_CONTEXT:return"ADVANCED_PAST_CONTEXT";case yi.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.trigger)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),t},create:e=>Ai.fromPartial(e??{}),fromPartial(e){const t={reason:0,operation:0,trigger:0,playbackSpeed:void 0};return t.reason=e.reason??0,t.operation=e.operation??0,t.trigger=e.trigger??0,t.playbackSpeed=e.playbackSpeed??void 0,t}};function Ii(e){return null!=e}const Oi={encode(e,t=i.Writer.create()){""!==e.featureIdentifier&&t.uint32(10).string(e.featureIdentifier),""!==e.featureVersion&&t.uint32(18).string(e.featureVersion),""!==e.viewUri&&t.uint32(26).string(e.viewUri),""!==e.externalReferrer&&t.uint32(34).string(e.externalReferrer),""!==e.referrerIdentifier&&t.uint32(42).string(e.referrerIdentifier),""!==e.deviceIdentifier&&t.uint32(50).string(e.deviceIdentifier);for(const n of e.featureClasses)t.uint32(58).string(n);return""!==e.restrictionIdentifier&&t.uint32(66).string(e.restrictionIdentifier),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.featureIdentifier=n.string();continue;case 2:if(18!==e)break;r.featureVersion=n.string();continue;case 3:if(26!==e)break;r.viewUri=n.string();continue;case 4:if(34!==e)break;r.externalReferrer=n.string();continue;case 5:if(42!==e)break;r.referrerIdentifier=n.string();continue;case 6:if(50!==e)break;r.deviceIdentifier=n.string();continue;case 7:if(58!==e)break;r.featureClasses.push(n.string());continue;case 8:if(66!==e)break;r.restrictionIdentifier=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({featureIdentifier:Ci(e.featureIdentifier)?String(e.featureIdentifier):"",featureVersion:Ci(e.featureVersion)?String(e.featureVersion):"",viewUri:Ci(e.viewUri)?String(e.viewUri):"",externalReferrer:Ci(e.externalReferrer)?String(e.externalReferrer):"",referrerIdentifier:Ci(e.referrerIdentifier)?String(e.referrerIdentifier):"",deviceIdentifier:Ci(e.deviceIdentifier)?String(e.deviceIdentifier):"",featureClasses:Array.isArray(e?.featureClasses)?e.featureClasses.map((e=>String(e))):[],restrictionIdentifier:Ci(e.restrictionIdentifier)?String(e.restrictionIdentifier):""}),toJSON(e){const t={};return""!==e.featureIdentifier&&(t.featureIdentifier=e.featureIdentifier),""!==e.featureVersion&&(t.featureVersion=e.featureVersion),""!==e.viewUri&&(t.viewUri=e.viewUri),""!==e.externalReferrer&&(t.externalReferrer=e.externalReferrer),""!==e.referrerIdentifier&&(t.referrerIdentifier=e.referrerIdentifier),""!==e.deviceIdentifier&&(t.deviceIdentifier=e.deviceIdentifier),e.featureClasses?.length&&(t.featureClasses=e.featureClasses),""!==e.restrictionIdentifier&&(t.restrictionIdentifier=e.restrictionIdentifier),t},create:e=>Oi.fromPartial(e??{}),fromPartial(e){const t={featureIdentifier:"",featureVersion:"",viewUri:"",externalReferrer:"",referrerIdentifier:"",deviceIdentifier:"",featureClasses:[],restrictionIdentifier:""};return t.featureIdentifier=e.featureIdentifier??"",t.featureVersion=e.featureVersion??"",t.viewUri=e.viewUri??"",t.externalReferrer=e.externalReferrer??"",t.referrerIdentifier=e.referrerIdentifier??"",t.deviceIdentifier=e.deviceIdentifier??"",t.featureClasses=e.featureClasses?.map((e=>e))||[],t.restrictionIdentifier=e.restrictionIdentifier??"",t}};function Ci(e){return null!=e}const Ri={encode:(e,t=i.Writer.create())=>(void 0!==e.shufflingContext&&fi.encode(e.shufflingContext,t.uint32(10).fork()).ldelim(),void 0!==e.repeatingContext&&fi.encode(e.repeatingContext,t.uint32(18).fork()).ldelim(),void 0!==e.repeatingTrack&&fi.encode(e.repeatingTrack,t.uint32(26).fork()).ldelim(),void 0!==e.playbackSpeed&&t.uint32(37).float(e.playbackSpeed),Object.entries(e.modes).forEach((([e,n])=>{Ni.encode({key:e,value:n},t.uint32(42).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.shufflingContext=fi.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.repeatingContext=fi.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.repeatingTrack=fi.decode(n,n.uint32());continue;case 4:if(37!==e)break;r.playbackSpeed=n.float();continue;case 5:if(42!==e)break;const t=Ni.decode(n,n.uint32());void 0!==t.value&&(r.modes[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({shufflingContext:Li(e.shufflingContext)?fi.fromJSON(e.shufflingContext):void 0,repeatingContext:Li(e.repeatingContext)?fi.fromJSON(e.repeatingContext):void 0,repeatingTrack:Li(e.repeatingTrack)?fi.fromJSON(e.repeatingTrack):void 0,playbackSpeed:Li(e.playbackSpeed)?Number(e.playbackSpeed):void 0,modes:Pi(e.modes)?Object.entries(e.modes).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{}}),toJSON(e){const t={};if(void 0!==e.shufflingContext&&(t.shufflingContext=fi.toJSON(e.shufflingContext)),void 0!==e.repeatingContext&&(t.repeatingContext=fi.toJSON(e.repeatingContext)),void 0!==e.repeatingTrack&&(t.repeatingTrack=fi.toJSON(e.repeatingTrack)),void 0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),e.modes){const n=Object.entries(e.modes);n.length>0&&(t.modes={},n.forEach((([e,n])=>{t.modes[e]=n})))}return t},create:e=>Ri.fromPartial(e??{}),fromPartial(e){const t={shufflingContext:void 0,repeatingContext:void 0,repeatingTrack:void 0,playbackSpeed:void 0,modes:{}};return t.shufflingContext=void 0!==e.shufflingContext&&null!==e.shufflingContext?fi.fromPartial(e.shufflingContext):void 0,t.repeatingContext=void 0!==e.repeatingContext&&null!==e.repeatingContext?fi.fromPartial(e.repeatingContext):void 0,t.repeatingTrack=void 0!==e.repeatingTrack&&null!==e.repeatingTrack?fi.fromPartial(e.repeatingTrack):void 0,t.playbackSpeed=e.playbackSpeed??void 0,t.modes=Object.entries(e.modes??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const Ni={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Li(e.key)?String(e.key):"",value:Li(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Ni.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function Pi(e){return"object"==typeof e&&null!==e}function Li(e){return null!=e}const ki={encode:(e,t=i.Writer.create())=>(""!==e.pageUrl&&t.uint32(10).string(e.pageUrl),void 0!==e.pageIndex&&hi.encode(e.pageIndex,t.uint32(18).fork()).ldelim(),""!==e.trackUid&&t.uint32(26).string(e.trackUid),""!==e.trackUri&&t.uint32(34).string(e.trackUri),void 0!==e.trackIndex&&hi.encode(e.trackIndex,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.pageUrl=n.string();continue;case 2:if(18!==e)break;r.pageIndex=hi.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.trackUid=n.string();continue;case 4:if(34!==e)break;r.trackUri=n.string();continue;case 5:if(42!==e)break;r.trackIndex=hi.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({pageUrl:wi(e.pageUrl)?String(e.pageUrl):"",pageIndex:wi(e.pageIndex)?hi.fromJSON(e.pageIndex):void 0,trackUid:wi(e.trackUid)?String(e.trackUid):"",trackUri:wi(e.trackUri)?String(e.trackUri):"",trackIndex:wi(e.trackIndex)?hi.fromJSON(e.trackIndex):void 0}),toJSON(e){const t={};return""!==e.pageUrl&&(t.pageUrl=e.pageUrl),void 0!==e.pageIndex&&(t.pageIndex=hi.toJSON(e.pageIndex)),""!==e.trackUid&&(t.trackUid=e.trackUid),""!==e.trackUri&&(t.trackUri=e.trackUri),void 0!==e.trackIndex&&(t.trackIndex=hi.toJSON(e.trackIndex)),t},create:e=>ki.fromPartial(e??{}),fromPartial(e){const t={pageUrl:"",pageIndex:void 0,trackUid:"",trackUri:"",trackIndex:void 0};return t.pageUrl=e.pageUrl??"",t.pageIndex=void 0!==e.pageIndex&&null!==e.pageIndex?hi.fromPartial(e.pageIndex):void 0,t.trackUid=e.trackUid??"",t.trackUri=e.trackUri??"",t.trackIndex=void 0!==e.trackIndex&&null!==e.trackIndex?hi.fromPartial(e.trackIndex):void 0,t}};function wi(e){return null!=e}var Di,Mi;function xi(e){switch(e){case 0:case"NONE":return Di.NONE;case 1:case"MEDIA":return Di.MEDIA;default:return Di.UNRECOGNIZED}}function Ui(e){switch(e){case 0:case"DEFAULT":return Mi.DEFAULT;case 1:case"ALARM":return Mi.ALARM;default:return Mi.UNRECOGNIZED}}function Vi(){return{playbackId:new Uint8Array(0),alwaysPlaySomething:!1,skipTo:void 0,seekTo:void 0,initiallyPaused:!1,systemInitiated:!1,playerOptionsOverride:void 0,suppressions:[],prefetchLevel:0,audioStream:0,sessionId:"",license:"",configurationOverride:{}}}!function(e){e[e.NONE=0]="NONE",e[e.MEDIA=1]="MEDIA",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Di||(Di={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ALARM=1]="ALARM",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Mi||(Mi={}));const Fi={encode(e,t=i.Writer.create()){0!==e.playbackId.length&&t.uint32(10).bytes(e.playbackId),!0===e.alwaysPlaySomething&&t.uint32(16).bool(e.alwaysPlaySomething),void 0!==e.skipTo&&ki.encode(e.skipTo,t.uint32(26).fork()).ldelim(),void 0!==e.seekTo&&hi.encode(e.seekTo,t.uint32(34).fork()).ldelim(),!0===e.initiallyPaused&&t.uint32(40).bool(e.initiallyPaused),!0===e.systemInitiated&&t.uint32(48).bool(e.systemInitiated),void 0!==e.playerOptionsOverride&&Ri.encode(e.playerOptionsOverride,t.uint32(58).fork()).ldelim();for(const n of e.suppressions)t.uint32(66).string(n);return 0!==e.prefetchLevel&&t.uint32(72).int32(e.prefetchLevel),0!==e.audioStream&&t.uint32(80).int32(e.audioStream),""!==e.sessionId&&t.uint32(90).string(e.sessionId),""!==e.license&&t.uint32(98).string(e.license),Object.entries(e.configurationOverride).forEach((([e,n])=>{Bi.encode({key:e,value:n},t.uint32(106).fork()).ldelim()})),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r=Vi();for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playbackId=n.bytes();continue;case 2:if(16!==e)break;r.alwaysPlaySomething=n.bool();continue;case 3:if(26!==e)break;r.skipTo=ki.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.seekTo=hi.decode(n,n.uint32());continue;case 5:if(40!==e)break;r.initiallyPaused=n.bool();continue;case 6:if(48!==e)break;r.systemInitiated=n.bool();continue;case 7:if(58!==e)break;r.playerOptionsOverride=Ri.decode(n,n.uint32());continue;case 8:if(66!==e)break;r.suppressions.push(n.string());continue;case 9:if(72!==e)break;r.prefetchLevel=n.int32();continue;case 10:if(80!==e)break;r.audioStream=n.int32();continue;case 11:if(90!==e)break;r.sessionId=n.string();continue;case 12:if(98!==e)break;r.license=n.string();continue;case 13:if(106!==e)break;const t=Bi.decode(n,n.uint32());void 0!==t.value&&(r.configurationOverride[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{playbackId:Wi(e.playbackId)?Gi(e.playbackId):new Uint8Array(0),alwaysPlaySomething:!!Wi(e.alwaysPlaySomething)&&Boolean(e.alwaysPlaySomething),skipTo:Wi(e.skipTo)?ki.fromJSON(e.skipTo):void 0,seekTo:Wi(e.seekTo)?hi.fromJSON(e.seekTo):void 0,initiallyPaused:!!Wi(e.initiallyPaused)&&Boolean(e.initiallyPaused),systemInitiated:!!Wi(e.systemInitiated)&&Boolean(e.systemInitiated),playerOptionsOverride:Wi(e.playerOptionsOverride)?Ri.fromJSON(e.playerOptionsOverride):void 0,suppressions:Array.isArray(e?.suppressions)?e.suppressions.map((e=>String(e))):[],prefetchLevel:Wi(e.prefetchLevel)?xi(e.prefetchLevel):0,audioStream:Wi(e.audioStream)?Ui(e.audioStream):0,sessionId:Wi(e.sessionId)?String(e.sessionId):"",license:Wi(e.license)?String(e.license):"",configurationOverride:(t=e.configurationOverride,"object"==typeof t&&null!==t?Object.entries(e.configurationOverride).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(0!==e.playbackId.length&&(t.playbackId=function(e){if(Hi.Buffer)return Hi.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),Hi.btoa(t.join(""))}}(e.playbackId)),!0===e.alwaysPlaySomething&&(t.alwaysPlaySomething=e.alwaysPlaySomething),void 0!==e.skipTo&&(t.skipTo=ki.toJSON(e.skipTo)),void 0!==e.seekTo&&(t.seekTo=hi.toJSON(e.seekTo)),!0===e.initiallyPaused&&(t.initiallyPaused=e.initiallyPaused),!0===e.systemInitiated&&(t.systemInitiated=e.systemInitiated),void 0!==e.playerOptionsOverride&&(t.playerOptionsOverride=Ri.toJSON(e.playerOptionsOverride)),e.suppressions?.length&&(t.suppressions=e.suppressions),0!==e.prefetchLevel&&(t.prefetchLevel=function(e){switch(e){case Di.NONE:return"NONE";case Di.MEDIA:return"MEDIA";case Di.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.prefetchLevel)),0!==e.audioStream&&(t.audioStream=function(e){switch(e){case Mi.DEFAULT:return"DEFAULT";case Mi.ALARM:return"ALARM";case Mi.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.audioStream)),""!==e.sessionId&&(t.sessionId=e.sessionId),""!==e.license&&(t.license=e.license),e.configurationOverride){const n=Object.entries(e.configurationOverride);n.length>0&&(t.configurationOverride={},n.forEach((([e,n])=>{t.configurationOverride[e]=n})))}return t},create:e=>Fi.fromPartial(e??{}),fromPartial(e){const t=Vi();return t.playbackId=e.playbackId??new Uint8Array(0),t.alwaysPlaySomething=e.alwaysPlaySomething??!1,t.skipTo=void 0!==e.skipTo&&null!==e.skipTo?ki.fromPartial(e.skipTo):void 0,t.seekTo=void 0!==e.seekTo&&null!==e.seekTo?hi.fromPartial(e.seekTo):void 0,t.initiallyPaused=e.initiallyPaused??!1,t.systemInitiated=e.systemInitiated??!1,t.playerOptionsOverride=void 0!==e.playerOptionsOverride&&null!==e.playerOptionsOverride?Ri.fromPartial(e.playerOptionsOverride):void 0,t.suppressions=e.suppressions?.map((e=>e))||[],t.prefetchLevel=e.prefetchLevel??0,t.audioStream=e.audioStream??0,t.sessionId=e.sessionId??"",t.license=e.license??"",t.configurationOverride=Object.entries(e.configurationOverride??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const Bi={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Wi(e.key)?String(e.key):"",value:Wi(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>Bi.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}},Hi=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function Gi(e){if(Hi.Buffer)return Uint8Array.from(Hi.Buffer.from(e,"base64"));{const t=Hi.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function Wi(e){return null!=e}const ji={encode:(e,t=i.Writer.create())=>(void 0!==e.playlistQuery&&Ce.encode(e.playlistQuery,t.uint32(10).fork()).ldelim(),void 0!==e.context&&li.encode(e.context,t.uint32(18).fork()).ldelim(),void 0!==e.playOptions&&Ai.encode(e.playOptions,t.uint32(26).fork()).ldelim(),void 0!==e.loggingParams&&_i.encode(e.loggingParams,t.uint32(34).fork()).ldelim(),void 0!==e.preparePlayOptions&&Fi.encode(e.preparePlayOptions,t.uint32(42).fork()).ldelim(),void 0!==e.playOrigin&&Oi.encode(e.playOrigin,t.uint32(50).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistQuery:void 0,context:void 0,playOptions:void 0,loggingParams:void 0,preparePlayOptions:void 0,playOrigin:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistQuery=Ce.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.context=li.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.playOptions=Ai.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.loggingParams=_i.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.preparePlayOptions=Fi.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.playOrigin=Oi.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistQuery:zi(e.playlistQuery)?Ce.fromJSON(e.playlistQuery):void 0,context:zi(e.context)?li.fromJSON(e.context):void 0,playOptions:zi(e.playOptions)?Ai.fromJSON(e.playOptions):void 0,loggingParams:zi(e.loggingParams)?_i.fromJSON(e.loggingParams):void 0,preparePlayOptions:zi(e.preparePlayOptions)?Fi.fromJSON(e.preparePlayOptions):void 0,playOrigin:zi(e.playOrigin)?Oi.fromJSON(e.playOrigin):void 0}),toJSON(e){const t={};return void 0!==e.playlistQuery&&(t.playlistQuery=Ce.toJSON(e.playlistQuery)),void 0!==e.context&&(t.context=li.toJSON(e.context)),void 0!==e.playOptions&&(t.playOptions=Ai.toJSON(e.playOptions)),void 0!==e.loggingParams&&(t.loggingParams=_i.toJSON(e.loggingParams)),void 0!==e.preparePlayOptions&&(t.preparePlayOptions=Fi.toJSON(e.preparePlayOptions)),void 0!==e.playOrigin&&(t.playOrigin=Oi.toJSON(e.playOrigin)),t},create:e=>ji.fromPartial(e??{}),fromPartial(e){const t={playlistQuery:void 0,context:void 0,playOptions:void 0,loggingParams:void 0,preparePlayOptions:void 0,playOrigin:void 0};return t.playlistQuery=void 0!==e.playlistQuery&&null!==e.playlistQuery?Ce.fromPartial(e.playlistQuery):void 0,t.context=void 0!==e.context&&null!==e.context?li.fromPartial(e.context):void 0,t.playOptions=void 0!==e.playOptions&&null!==e.playOptions?Ai.fromPartial(e.playOptions):void 0,t.loggingParams=void 0!==e.loggingParams&&null!==e.loggingParams?_i.fromPartial(e.loggingParams):void 0,t.preparePlayOptions=void 0!==e.preparePlayOptions&&null!==e.preparePlayOptions?Fi.fromPartial(e.preparePlayOptions):void 0,t.playOrigin=void 0!==e.playOrigin&&null!==e.playOrigin?Oi.fromPartial(e.playOrigin):void 0,t}};const Yi={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:zi(e.status)?o.fromJSON(e.status):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),t},create:e=>Yi.fromPartial(e??{}),fromPartial(e){const t={status:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t}};function zi(e){return null!=e}const Ki={encode:(e,t=i.Writer.create())=>(""!==e.uri&&t.uint32(10).string(e.uri),void 0!==e.playlistQuery&&Ce.encode(e.playlistQuery,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={uri:"",playlistQuery:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.uri=n.string();continue;case 2:if(18!==e)break;r.playlistQuery=Ce.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({uri:Xi(e.uri)?String(e.uri):"",playlistQuery:Xi(e.playlistQuery)?Ce.fromJSON(e.playlistQuery):void 0}),toJSON(e){const t={};return""!==e.uri&&(t.uri=e.uri),void 0!==e.playlistQuery&&(t.playlistQuery=Ce.toJSON(e.playlistQuery)),t},create:e=>Ki.fromPartial(e??{}),fromPartial(e){const t={uri:"",playlistQuery:void 0};return t.uri=e.uri??"",t.playlistQuery=void 0!==e.playlistQuery&&null!==e.playlistQuery?Ce.fromPartial(e.playlistQuery):void 0,t}};const Ji={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),Object.entries(e.metadata).forEach((([e,n])=>{qi.encode({key:e,value:n},t.uint32(18).fork()).ldelim()})),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,metadata:{}};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;const t=qi.decode(n,n.uint32());void 0!==t.value&&(a.metadata[t.key]=t.value);continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON(e){return{status:Xi(e.status)?o.fromJSON(e.status):void 0,metadata:(t=e.metadata,"object"==typeof t&&null!==t?Object.entries(e.metadata).reduce(((e,[t,n])=>(e[t]=String(n),e)),{}):{})};var t},toJSON(e){const t={};if(void 0!==e.status&&(t.status=o.toJSON(e.status)),e.metadata){const n=Object.entries(e.metadata);n.length>0&&(t.metadata={},n.forEach((([e,n])=>{t.metadata[e]=n})))}return t},create:e=>Ji.fromPartial(e??{}),fromPartial(e){const t={status:void 0,metadata:{}};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.metadata=Object.entries(e.metadata??{}).reduce(((e,[t,n])=>(void 0!==n&&(e[t]=String(n)),e)),{}),t}};const qi={encode:(e,t=i.Writer.create())=>(""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={key:"",value:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.key=n.string();continue;case 2:if(18!==e)break;r.value=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({key:Xi(e.key)?String(e.key):"",value:Xi(e.value)?String(e.value):""}),toJSON(e){const t={};return""!==e.key&&(t.key=e.key),""!==e.value&&(t.value=e.value),t},create:e=>qi.fromPartial(e??{}),fromPartial(e){const t={key:"",value:""};return t.key=e.key??"",t.value=e.value??"",t}};function Xi(e){return null!=e}class $i{transport;options;constructor(e,t={}){this.transport=e,this.options=t}play(e,t){const n=$i.SERVICE_ID,o="Play",r=ji.fromPartial(e),a=ji.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Yi.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}getPlayContext(e,t){const n=$i.SERVICE_ID,o="GetPlayContext",r=Ki.fromPartial(e),a=Ki.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Ji.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.playlist_esperanto.proto.PlaylistPlayService";static METHODS={play:{isStreaming:!1,requestType:ji,responseType:Yi},getPlayContext:{isStreaming:!1,requestType:Ki,responseType:Ji}};static DECODERS={Play:{request:ji.decode,response:Yi.decode},GetPlayContext:{request:Ki.decode,response:Ji.decode}}}const Zi={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.response&&fe.encode(e.response,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,response:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.response=fe.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Qi(e.status)?o.fromJSON(e.status):void 0,response:Qi(e.response)?fe.fromJSON(e.response):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.response&&(t.response=fe.toJSON(e.response)),t},create:e=>Zi.fromPartial(e??{}),fromPartial(e){const t={status:void 0,response:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.response=void 0!==e.response&&null!==e.response?fe.fromPartial(e.response):void 0,t}};function Qi(e){return null!=e}const eo={encode:(e,t=i.Writer.create())=>(!0===e.rowId&&t.uint32(8).bool(e.rowId),!0===e.id&&t.uint32(16).bool(e.id),!0===e.link&&t.uint32(24).bool(e.link),!0===e.name&&t.uint32(32).bool(e.name),!0===e.folders&&t.uint32(40).bool(e.folders),!0===e.playlists&&t.uint32(48).bool(e.playlists),!0===e.recursiveFolders&&t.uint32(56).bool(e.recursiveFolders),!0===e.recursivePlaylists&&t.uint32(64).bool(e.recursivePlaylists),!0===e.rows&&t.uint32(72).bool(e.rows),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={rowId:!1,id:!1,link:!1,name:!1,folders:!1,playlists:!1,recursiveFolders:!1,recursivePlaylists:!1,rows:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.rowId=n.bool();continue;case 2:if(16!==e)break;r.id=n.bool();continue;case 3:if(24!==e)break;r.link=n.bool();continue;case 4:if(32!==e)break;r.name=n.bool();continue;case 5:if(40!==e)break;r.folders=n.bool();continue;case 6:if(48!==e)break;r.playlists=n.bool();continue;case 7:if(56!==e)break;r.recursiveFolders=n.bool();continue;case 8:if(64!==e)break;r.recursivePlaylists=n.bool();continue;case 9:if(72!==e)break;r.rows=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({rowId:!!to(e.rowId)&&Boolean(e.rowId),id:!!to(e.id)&&Boolean(e.id),link:!!to(e.link)&&Boolean(e.link),name:!!to(e.name)&&Boolean(e.name),folders:!!to(e.folders)&&Boolean(e.folders),playlists:!!to(e.playlists)&&Boolean(e.playlists),recursiveFolders:!!to(e.recursiveFolders)&&Boolean(e.recursiveFolders),recursivePlaylists:!!to(e.recursivePlaylists)&&Boolean(e.recursivePlaylists),rows:!!to(e.rows)&&Boolean(e.rows)}),toJSON(e){const t={};return!0===e.rowId&&(t.rowId=e.rowId),!0===e.id&&(t.id=e.id),!0===e.link&&(t.link=e.link),!0===e.name&&(t.name=e.name),!0===e.folders&&(t.folders=e.folders),!0===e.playlists&&(t.playlists=e.playlists),!0===e.recursiveFolders&&(t.recursiveFolders=e.recursiveFolders),!0===e.recursivePlaylists&&(t.recursivePlaylists=e.recursivePlaylists),!0===e.rows&&(t.rows=e.rows),t},create:e=>eo.fromPartial(e??{}),fromPartial(e){const t={rowId:!1,id:!1,link:!1,name:!1,folders:!1,playlists:!1,recursiveFolders:!1,recursivePlaylists:!1,rows:!1};return t.rowId=e.rowId??!1,t.id=e.id??!1,t.link=e.link??!1,t.name=e.name??!1,t.folders=e.folders??!1,t.playlists=e.playlists??!1,t.recursiveFolders=e.recursiveFolders??!1,t.recursivePlaylists=e.recursivePlaylists??!1,t.rows=e.rows??!1,t}};function to(e){return null!=e}const no={encode:(e,t=i.Writer.create())=>(!0===e.addTime&&t.uint32(8).bool(e.addTime),void 0!==e.folder&&eo.encode(e.folder,t.uint32(18).fork()).ldelim(),!0===e.groupLabel&&t.uint32(24).bool(e.groupLabel),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={addTime:!1,folder:void 0,groupLabel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.addTime=n.bool();continue;case 2:if(18!==e)break;r.folder=eo.decode(n,n.uint32());continue;case 3:if(24!==e)break;r.groupLabel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({addTime:!!io(e.addTime)&&Boolean(e.addTime),folder:io(e.folder)?eo.fromJSON(e.folder):void 0,groupLabel:!!io(e.groupLabel)&&Boolean(e.groupLabel)}),toJSON(e){const t={};return!0===e.addTime&&(t.addTime=e.addTime),void 0!==e.folder&&(t.folder=eo.toJSON(e.folder)),!0===e.groupLabel&&(t.groupLabel=e.groupLabel),t},create:e=>no.fromPartial(e??{}),fromPartial(e){const t={addTime:!1,folder:void 0,groupLabel:!1};return t.addTime=e.addTime??!1,t.folder=void 0!==e.folder&&null!==e.folder?eo.fromPartial(e.folder):void 0,t.groupLabel=e.groupLabel??!1,t}};function io(e){return null!=e}const oo={encode:(e,t=i.Writer.create())=>(!0===e.addTime&&t.uint32(8).bool(e.addTime),void 0!==e.playlist&&hn.encode(e.playlist,t.uint32(18).fork()).ldelim(),!0===e.groupLabel&&t.uint32(24).bool(e.groupLabel),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={addTime:!1,playlist:void 0,groupLabel:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.addTime=n.bool();continue;case 2:if(18!==e)break;r.playlist=hn.decode(n,n.uint32());continue;case 3:if(24!==e)break;r.groupLabel=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({addTime:!!ro(e.addTime)&&Boolean(e.addTime),playlist:ro(e.playlist)?hn.fromJSON(e.playlist):void 0,groupLabel:!!ro(e.groupLabel)&&Boolean(e.groupLabel)}),toJSON(e){const t={};return!0===e.addTime&&(t.addTime=e.addTime),void 0!==e.playlist&&(t.playlist=hn.toJSON(e.playlist)),!0===e.groupLabel&&(t.groupLabel=e.groupLabel),t},create:e=>oo.fromPartial(e??{}),fromPartial(e){const t={addTime:!1,playlist:void 0,groupLabel:!1};return t.addTime=e.addTime??!1,t.playlist=void 0!==e.playlist&&null!==e.playlist?hn.fromPartial(e.playlist):void 0,t.groupLabel=e.groupLabel??!1,t}};function ro(e){return null!=e}const ao={encode:(e,t=i.Writer.create())=>(!0===e.unfilteredLength&&t.uint32(8).bool(e.unfilteredLength),!0===e.unrangedLength&&t.uint32(16).bool(e.unrangedLength),!0===e.isLoadingContents&&t.uint32(24).bool(e.isLoadingContents),void 0!==e.playlist&&oo.encode(e.playlist,t.uint32(34).fork()).ldelim(),void 0!==e.folder&&no.encode(e.folder,t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={unfilteredLength:!1,unrangedLength:!1,isLoadingContents:!1,playlist:void 0,folder:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.unfilteredLength=n.bool();continue;case 2:if(16!==e)break;r.unrangedLength=n.bool();continue;case 3:if(24!==e)break;r.isLoadingContents=n.bool();continue;case 4:if(34!==e)break;r.playlist=oo.decode(n,n.uint32());continue;case 5:if(42!==e)break;r.folder=no.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({unfilteredLength:!!so(e.unfilteredLength)&&Boolean(e.unfilteredLength),unrangedLength:!!so(e.unrangedLength)&&Boolean(e.unrangedLength),isLoadingContents:!!so(e.isLoadingContents)&&Boolean(e.isLoadingContents),playlist:so(e.playlist)?oo.fromJSON(e.playlist):void 0,folder:so(e.folder)?no.fromJSON(e.folder):void 0}),toJSON(e){const t={};return!0===e.unfilteredLength&&(t.unfilteredLength=e.unfilteredLength),!0===e.unrangedLength&&(t.unrangedLength=e.unrangedLength),!0===e.isLoadingContents&&(t.isLoadingContents=e.isLoadingContents),void 0!==e.playlist&&(t.playlist=oo.toJSON(e.playlist)),void 0!==e.folder&&(t.folder=no.toJSON(e.folder)),t},create:e=>ao.fromPartial(e??{}),fromPartial(e){const t={unfilteredLength:!1,unrangedLength:!1,isLoadingContents:!1,playlist:void 0,folder:void 0};return t.unfilteredLength=e.unfilteredLength??!1,t.unrangedLength=e.unrangedLength??!1,t.isLoadingContents=e.isLoadingContents??!1,t.playlist=void 0!==e.playlist&&null!==e.playlist?oo.fromPartial(e.playlist):void 0,t.folder=void 0!==e.folder&&null!==e.folder?no.fromPartial(e.folder):void 0,t}};function so(e){return null!=e}var co,lo,uo;function po(e){switch(e){case 0:case"ALL_ROOTLIST_ITEMS":return co.ALL_ROOTLIST_ITEMS;case 1:case"PLAYLISTS_IN_ROOTLIST":return co.PLAYLISTS_IN_ROOTLIST;case 2:case"FOLDERS_IN_ROOTLIST":return co.FOLDERS_IN_ROOTLIST;default:return co.UNRECOGNIZED}}function ho(e){switch(e){case 0:case"NO_SORT":return uo.NO_SORT;case 1:case"NAME_ASC":return uo.NAME_ASC;case 2:case"NAME_DESC":return uo.NAME_DESC;case 3:case"ADD_TIME_ASC":return uo.ADD_TIME_ASC;case 4:case"ADD_TIME_DESC":return uo.ADD_TIME_DESC;case 5:case"RECENTLY_PLAYED_RANK_ASC":return uo.RECENTLY_PLAYED_RANK_ASC;case 6:case"RECENTLY_PLAYED_RANK_DESC":return uo.RECENTLY_PLAYED_RANK_DESC;case 7:case"FRECENCY_SCORE_ASC":return uo.FRECENCY_SCORE_ASC;case 8:case"FRECENCY_SCORE_DESC":return uo.FRECENCY_SCORE_DESC;case 9:case"OFFLINE_STATE_ASC":return uo.OFFLINE_STATE_ASC;case 10:case"OFFLINE_STATE_DESC":return uo.OFFLINE_STATE_DESC;default:return uo.UNRECOGNIZED}}!function(e){e[e.ALL_ROOTLIST_ITEMS=0]="ALL_ROOTLIST_ITEMS",e[e.PLAYLISTS_IN_ROOTLIST=1]="PLAYLISTS_IN_ROOTLIST",e[e.FOLDERS_IN_ROOTLIST=2]="FOLDERS_IN_ROOTLIST",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(co||(co={})),function(e){e[e.ROOTLIST_ITEM_NO_FILTER=0]="ROOTLIST_ITEM_NO_FILTER",e[e.ROOTLIST_ITEM_AVAILABLE_OFFLINE=1]="ROOTLIST_ITEM_AVAILABLE_OFFLINE",e[e.ROOTLIST_ITEM_IS_WRITABLE=2]="ROOTLIST_ITEM_IS_WRITABLE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(lo||(lo={})),function(e){e[e.NO_SORT=0]="NO_SORT",e[e.NAME_ASC=1]="NAME_ASC",e[e.NAME_DESC=2]="NAME_DESC",e[e.ADD_TIME_ASC=3]="ADD_TIME_ASC",e[e.ADD_TIME_DESC=4]="ADD_TIME_DESC",e[e.RECENTLY_PLAYED_RANK_ASC=5]="RECENTLY_PLAYED_RANK_ASC",e[e.RECENTLY_PLAYED_RANK_DESC=6]="RECENTLY_PLAYED_RANK_DESC",e[e.FRECENCY_SCORE_ASC=7]="FRECENCY_SCORE_ASC",e[e.FRECENCY_SCORE_DESC=8]="FRECENCY_SCORE_DESC",e[e.OFFLINE_STATE_ASC=9]="OFFLINE_STATE_ASC",e[e.OFFLINE_STATE_DESC=10]="OFFLINE_STATE_DESC",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(uo||(uo={}));const fo={encode:(e,t=i.Writer.create())=>(0!==e.start&&t.uint32(8).int32(e.start),0!==e.length&&t.uint32(16).int32(e.length),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={start:0,length:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.start=n.int32();continue;case 2:if(16!==e)break;r.length=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({start:go(e.start)?Number(e.start):0,length:go(e.length)?Number(e.length):0}),toJSON(e){const t={};return 0!==e.start&&(t.start=Math.round(e.start)),0!==e.length&&(t.length=Math.round(e.length)),t},create:e=>fo.fromPartial(e??{}),fromPartial(e){const t={start:0,length:0};return t.start=e.start??0,t.length=e.length??0,t}};const mo={encode:(e,t=i.Writer.create())=>(0!==e.maxFirstNItems&&t.uint32(8).int32(e.maxFirstNItems),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={maxFirstNItems:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.maxFirstNItems=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({maxFirstNItems:go(e.maxFirstNItems)?Number(e.maxFirstNItems):0}),toJSON(e){const t={};return 0!==e.maxFirstNItems&&(t.maxFirstNItems=Math.round(e.maxFirstNItems)),t},create:e=>mo.fromPartial(e??{}),fromPartial(e){const t={maxFirstNItems:0};return t.maxFirstNItems=e.maxFirstNItems??0,t}};const _o={encode(e,t=i.Writer.create()){""!==e.folderUri&&t.uint32(10).string(e.folderUri),t.uint32(18).fork();for(const n of e.boolPredicates)t.int32(n);return t.ldelim(),""!==e.textFilter&&t.uint32(26).string(e.textFilter),0!==e.sortBy&&t.uint32(32).int32(e.sortBy),void 0!==e.range&&fo.encode(e.range,t.uint32(42).fork()).ldelim(),void 0!==e.sourceRestriction&&mo.encode(e.sourceRestriction,t.uint32(50).fork()).ldelim(),0!==e.itemType&&t.uint32(56).int32(e.itemType),!0===e.group&&t.uint32(64).bool(e.group),!0===e.deltaUpdates&&t.uint32(72).bool(e.deltaUpdates),!0===e.flattenTree&&t.uint32(80).bool(e.flattenTree),0!==e.updateThrottlingMs&&t.uint32(88).int32(e.updateThrottlingMs),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={folderUri:"",boolPredicates:[],textFilter:"",sortBy:0,range:void 0,sourceRestriction:void 0,itemType:0,group:!1,deltaUpdates:!1,flattenTree:!1,updateThrottlingMs:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.folderUri=n.string();continue;case 2:if(16===e){r.boolPredicates.push(n.int32());continue}if(18===e){const e=n.uint32()+n.pos;for(;n.pos<e;)r.boolPredicates.push(n.int32());continue}break;case 3:if(26!==e)break;r.textFilter=n.string();continue;case 4:if(32!==e)break;r.sortBy=n.int32();continue;case 5:if(42!==e)break;r.range=fo.decode(n,n.uint32());continue;case 6:if(50!==e)break;r.sourceRestriction=mo.decode(n,n.uint32());continue;case 7:if(56!==e)break;r.itemType=n.int32();continue;case 8:if(64!==e)break;r.group=n.bool();continue;case 9:if(72!==e)break;r.deltaUpdates=n.bool();continue;case 10:if(80!==e)break;r.flattenTree=n.bool();continue;case 11:if(88!==e)break;r.updateThrottlingMs=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({folderUri:go(e.folderUri)?String(e.folderUri):"",boolPredicates:Array.isArray(e?.boolPredicates)?e.boolPredicates.map((e=>function(e){switch(e){case 0:case"ROOTLIST_ITEM_NO_FILTER":return lo.ROOTLIST_ITEM_NO_FILTER;case 1:case"ROOTLIST_ITEM_AVAILABLE_OFFLINE":return lo.ROOTLIST_ITEM_AVAILABLE_OFFLINE;case 2:case"ROOTLIST_ITEM_IS_WRITABLE":return lo.ROOTLIST_ITEM_IS_WRITABLE;default:return lo.UNRECOGNIZED}}(e))):[],textFilter:go(e.textFilter)?String(e.textFilter):"",sortBy:go(e.sortBy)?ho(e.sortBy):0,range:go(e.range)?fo.fromJSON(e.range):void 0,sourceRestriction:go(e.sourceRestriction)?mo.fromJSON(e.sourceRestriction):void 0,itemType:go(e.itemType)?po(e.itemType):0,group:!!go(e.group)&&Boolean(e.group),deltaUpdates:!!go(e.deltaUpdates)&&Boolean(e.deltaUpdates),flattenTree:!!go(e.flattenTree)&&Boolean(e.flattenTree),updateThrottlingMs:go(e.updateThrottlingMs)?Number(e.updateThrottlingMs):0}),toJSON(e){const t={};return""!==e.folderUri&&(t.folderUri=e.folderUri),e.boolPredicates?.length&&(t.boolPredicates=e.boolPredicates.map((e=>function(e){switch(e){case lo.ROOTLIST_ITEM_NO_FILTER:return"ROOTLIST_ITEM_NO_FILTER";case lo.ROOTLIST_ITEM_AVAILABLE_OFFLINE:return"ROOTLIST_ITEM_AVAILABLE_OFFLINE";case lo.ROOTLIST_ITEM_IS_WRITABLE:return"ROOTLIST_ITEM_IS_WRITABLE";case lo.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e)))),""!==e.textFilter&&(t.textFilter=e.textFilter),0!==e.sortBy&&(t.sortBy=function(e){switch(e){case uo.NO_SORT:return"NO_SORT";case uo.NAME_ASC:return"NAME_ASC";case uo.NAME_DESC:return"NAME_DESC";case uo.ADD_TIME_ASC:return"ADD_TIME_ASC";case uo.ADD_TIME_DESC:return"ADD_TIME_DESC";case uo.RECENTLY_PLAYED_RANK_ASC:return"RECENTLY_PLAYED_RANK_ASC";case uo.RECENTLY_PLAYED_RANK_DESC:return"RECENTLY_PLAYED_RANK_DESC";case uo.FRECENCY_SCORE_ASC:return"FRECENCY_SCORE_ASC";case uo.FRECENCY_SCORE_DESC:return"FRECENCY_SCORE_DESC";case uo.OFFLINE_STATE_ASC:return"OFFLINE_STATE_ASC";case uo.OFFLINE_STATE_DESC:return"OFFLINE_STATE_DESC";case uo.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.sortBy)),void 0!==e.range&&(t.range=fo.toJSON(e.range)),void 0!==e.sourceRestriction&&(t.sourceRestriction=mo.toJSON(e.sourceRestriction)),0!==e.itemType&&(t.itemType=function(e){switch(e){case co.ALL_ROOTLIST_ITEMS:return"ALL_ROOTLIST_ITEMS";case co.PLAYLISTS_IN_ROOTLIST:return"PLAYLISTS_IN_ROOTLIST";case co.FOLDERS_IN_ROOTLIST:return"FOLDERS_IN_ROOTLIST";case co.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.itemType)),!0===e.group&&(t.group=e.group),!0===e.deltaUpdates&&(t.deltaUpdates=e.deltaUpdates),!0===e.flattenTree&&(t.flattenTree=e.flattenTree),0!==e.updateThrottlingMs&&(t.updateThrottlingMs=Math.round(e.updateThrottlingMs)),t},create:e=>_o.fromPartial(e??{}),fromPartial(e){const t={folderUri:"",boolPredicates:[],textFilter:"",sortBy:0,range:void 0,sourceRestriction:void 0,itemType:0,group:!1,deltaUpdates:!1,flattenTree:!1,updateThrottlingMs:0};return t.folderUri=e.folderUri??"",t.boolPredicates=e.boolPredicates?.map((e=>e))||[],t.textFilter=e.textFilter??"",t.sortBy=e.sortBy??0,t.range=void 0!==e.range&&null!==e.range?fo.fromPartial(e.range):void 0,t.sourceRestriction=void 0!==e.sourceRestriction&&null!==e.sourceRestriction?mo.fromPartial(e.sourceRestriction):void 0,t.itemType=e.itemType??0,t.group=e.group??!1,t.deltaUpdates=e.deltaUpdates??!1,t.flattenTree=e.flattenTree??!1,t.updateThrottlingMs=e.updateThrottlingMs??0,t}};function go(e){return null!=e}const Eo={encode:(e,t=i.Writer.create())=>(""!==e.id&&t.uint32(10).string(e.id),""!==e.name&&t.uint32(18).string(e.name),0!==e.numFolders&&t.uint32(24).uint32(e.numFolders),0!==e.numPlaylists&&t.uint32(32).uint32(e.numPlaylists),0!==e.numRecursiveFolders&&t.uint32(40).uint32(e.numRecursiveFolders),0!==e.numRecursivePlaylists&&t.uint32(48).uint32(e.numRecursivePlaylists),""!==e.link&&t.uint32(58).string(e.link),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={id:"",name:"",numFolders:0,numPlaylists:0,numRecursiveFolders:0,numRecursivePlaylists:0,link:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.id=n.string();continue;case 2:if(18!==e)break;r.name=n.string();continue;case 3:if(24!==e)break;r.numFolders=n.uint32();continue;case 4:if(32!==e)break;r.numPlaylists=n.uint32();continue;case 5:if(40!==e)break;r.numRecursiveFolders=n.uint32();continue;case 6:if(48!==e)break;r.numRecursivePlaylists=n.uint32();continue;case 7:if(58!==e)break;r.link=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({id:vo(e.id)?String(e.id):"",name:vo(e.name)?String(e.name):"",numFolders:vo(e.numFolders)?Number(e.numFolders):0,numPlaylists:vo(e.numPlaylists)?Number(e.numPlaylists):0,numRecursiveFolders:vo(e.numRecursiveFolders)?Number(e.numRecursiveFolders):0,numRecursivePlaylists:vo(e.numRecursivePlaylists)?Number(e.numRecursivePlaylists):0,link:vo(e.link)?String(e.link):""}),toJSON(e){const t={};return""!==e.id&&(t.id=e.id),""!==e.name&&(t.name=e.name),0!==e.numFolders&&(t.numFolders=Math.round(e.numFolders)),0!==e.numPlaylists&&(t.numPlaylists=Math.round(e.numPlaylists)),0!==e.numRecursiveFolders&&(t.numRecursiveFolders=Math.round(e.numRecursiveFolders)),0!==e.numRecursivePlaylists&&(t.numRecursivePlaylists=Math.round(e.numRecursivePlaylists)),""!==e.link&&(t.link=e.link),t},create:e=>Eo.fromPartial(e??{}),fromPartial(e){const t={id:"",name:"",numFolders:0,numPlaylists:0,numRecursiveFolders:0,numRecursivePlaylists:0,link:""};return t.id=e.id??"",t.name=e.name??"",t.numFolders=e.numFolders??0,t.numPlaylists=e.numPlaylists??0,t.numRecursiveFolders=e.numRecursiveFolders??0,t.numRecursivePlaylists=e.numRecursivePlaylists??0,t.link=e.link??"",t}};function vo(e){return null!=e}var yo;function bo(e){switch(e){case 0:case"DELETE":return yo.DELETE;case 1:case"INSERT":return yo.INSERT;default:return yo.UNRECOGNIZED}}!function(e){e[e.DELETE=0]="DELETE",e[e.INSERT=1]="INSERT",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(yo||(yo={}));const So={encode:(e,t=i.Writer.create())=>(0!==e.type&&t.uint32(8).int32(e.type),0!==e.index&&t.uint32(16).uint32(e.index),0!==e.length&&t.uint32(24).uint32(e.length),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={type:0,index:0,length:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.type=n.int32();continue;case 2:if(16!==e)break;r.index=n.uint32();continue;case 3:if(24!==e)break;r.length=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({type:To(e.type)?bo(e.type):0,index:To(e.index)?Number(e.index):0,length:To(e.length)?Number(e.length):0}),toJSON(e){const t={};return 0!==e.type&&(t.type=function(e){switch(e){case yo.DELETE:return"DELETE";case yo.INSERT:return"INSERT";case yo.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.type)),0!==e.index&&(t.index=Math.round(e.index)),0!==e.length&&(t.length=Math.round(e.length)),t},create:e=>So.fromPartial(e??{}),fromPartial(e){const t={type:0,index:0,length:0};return t.type=e.type??0,t.index=e.index??0,t.length=e.length??0,t}};function To(e){return null!=e}const Ao={encode:(e,t=i.Writer.create())=>(""!==e.rowId&&t.uint32(10).string(e.rowId),void 0!==e.playlistMetadata&&Dt.encode(e.playlistMetadata,t.uint32(18).fork()).ldelim(),void 0!==e.playlistOfflineState&&Mt.encode(e.playlistOfflineState,t.uint32(26).fork()).ldelim(),0!==e.addTime&&t.uint32(32).uint32(e.addTime),!0===e.isOnDemandInFree&&t.uint32(40).bool(e.isOnDemandInFree),""!==e.groupLabel&&t.uint32(50).string(e.groupLabel),void 0!==e.capabilities&&G.encode(e.capabilities,t.uint32(58).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={rowId:"",playlistMetadata:void 0,playlistOfflineState:void 0,addTime:0,isOnDemandInFree:!1,groupLabel:"",capabilities:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.rowId=n.string();continue;case 2:if(18!==e)break;r.playlistMetadata=Dt.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.playlistOfflineState=Mt.decode(n,n.uint32());continue;case 4:if(32!==e)break;r.addTime=n.uint32();continue;case 5:if(40!==e)break;r.isOnDemandInFree=n.bool();continue;case 6:if(50!==e)break;r.groupLabel=n.string();continue;case 7:if(58!==e)break;r.capabilities=G.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({rowId:Ro(e.rowId)?String(e.rowId):"",playlistMetadata:Ro(e.playlistMetadata)?Dt.fromJSON(e.playlistMetadata):void 0,playlistOfflineState:Ro(e.playlistOfflineState)?Mt.fromJSON(e.playlistOfflineState):void 0,addTime:Ro(e.addTime)?Number(e.addTime):0,isOnDemandInFree:!!Ro(e.isOnDemandInFree)&&Boolean(e.isOnDemandInFree),groupLabel:Ro(e.groupLabel)?String(e.groupLabel):"",capabilities:Ro(e.capabilities)?G.fromJSON(e.capabilities):void 0}),toJSON(e){const t={};return""!==e.rowId&&(t.rowId=e.rowId),void 0!==e.playlistMetadata&&(t.playlistMetadata=Dt.toJSON(e.playlistMetadata)),void 0!==e.playlistOfflineState&&(t.playlistOfflineState=Mt.toJSON(e.playlistOfflineState)),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),!0===e.isOnDemandInFree&&(t.isOnDemandInFree=e.isOnDemandInFree),""!==e.groupLabel&&(t.groupLabel=e.groupLabel),void 0!==e.capabilities&&(t.capabilities=G.toJSON(e.capabilities)),t},create:e=>Ao.fromPartial(e??{}),fromPartial(e){const t={rowId:"",playlistMetadata:void 0,playlistOfflineState:void 0,addTime:0,isOnDemandInFree:!1,groupLabel:"",capabilities:void 0};return t.rowId=e.rowId??"",t.playlistMetadata=void 0!==e.playlistMetadata&&null!==e.playlistMetadata?Dt.fromPartial(e.playlistMetadata):void 0,t.playlistOfflineState=void 0!==e.playlistOfflineState&&null!==e.playlistOfflineState?Mt.fromPartial(e.playlistOfflineState):void 0,t.addTime=e.addTime??0,t.isOnDemandInFree=e.isOnDemandInFree??!1,t.groupLabel=e.groupLabel??"",t.capabilities=void 0!==e.capabilities&&null!==e.capabilities?G.fromPartial(e.capabilities):void 0,t}};const Io={encode:(e,t=i.Writer.create())=>(""!==e.headerField&&t.uint32(10).string(e.headerField),void 0!==e.folder&&Oo.encode(e.folder,t.uint32(18).fork()).ldelim(),void 0!==e.playlist&&Ao.encode(e.playlist,t.uint32(26).fork()).ldelim(),void 0!==e.delta&&So.encode(e.delta,t.uint32(34).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={headerField:"",folder:void 0,playlist:void 0,delta:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.headerField=n.string();continue;case 2:if(18!==e)break;r.folder=Oo.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.playlist=Ao.decode(n,n.uint32());continue;case 4:if(34!==e)break;r.delta=So.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({headerField:Ro(e.headerField)?String(e.headerField):"",folder:Ro(e.folder)?Oo.fromJSON(e.folder):void 0,playlist:Ro(e.playlist)?Ao.fromJSON(e.playlist):void 0,delta:Ro(e.delta)?So.fromJSON(e.delta):void 0}),toJSON(e){const t={};return""!==e.headerField&&(t.headerField=e.headerField),void 0!==e.folder&&(t.folder=Oo.toJSON(e.folder)),void 0!==e.playlist&&(t.playlist=Ao.toJSON(e.playlist)),void 0!==e.delta&&(t.delta=So.toJSON(e.delta)),t},create:e=>Io.fromPartial(e??{}),fromPartial(e){const t={headerField:"",folder:void 0,playlist:void 0,delta:void 0};return t.headerField=e.headerField??"",t.folder=void 0!==e.folder&&null!==e.folder?Oo.fromPartial(e.folder):void 0,t.playlist=void 0!==e.playlist&&null!==e.playlist?Ao.fromPartial(e.playlist):void 0,t.delta=void 0!==e.delta&&null!==e.delta?So.fromPartial(e.delta):void 0,t}};const Oo={encode(e,t=i.Writer.create()){for(const n of e.item)Io.encode(n,t.uint32(10).fork()).ldelim();return void 0!==e.folderMetadata&&Eo.encode(e.folderMetadata,t.uint32(18).fork()).ldelim(),""!==e.rowId&&t.uint32(26).string(e.rowId),0!==e.addTime&&t.uint32(32).uint32(e.addTime),""!==e.groupLabel&&t.uint32(42).string(e.groupLabel),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={item:[],folderMetadata:void 0,rowId:"",addTime:0,groupLabel:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.item.push(Io.decode(n,n.uint32()));continue;case 2:if(18!==e)break;r.folderMetadata=Eo.decode(n,n.uint32());continue;case 3:if(26!==e)break;r.rowId=n.string();continue;case 4:if(32!==e)break;r.addTime=n.uint32();continue;case 5:if(42!==e)break;r.groupLabel=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({item:Array.isArray(e?.item)?e.item.map((e=>Io.fromJSON(e))):[],folderMetadata:Ro(e.folderMetadata)?Eo.fromJSON(e.folderMetadata):void 0,rowId:Ro(e.rowId)?String(e.rowId):"",addTime:Ro(e.addTime)?Number(e.addTime):0,groupLabel:Ro(e.groupLabel)?String(e.groupLabel):""}),toJSON(e){const t={};return e.item?.length&&(t.item=e.item.map((e=>Io.toJSON(e)))),void 0!==e.folderMetadata&&(t.folderMetadata=Eo.toJSON(e.folderMetadata)),""!==e.rowId&&(t.rowId=e.rowId),0!==e.addTime&&(t.addTime=Math.round(e.addTime)),""!==e.groupLabel&&(t.groupLabel=e.groupLabel),t},create:e=>Oo.fromPartial(e??{}),fromPartial(e){const t={item:[],folderMetadata:void 0,rowId:"",addTime:0,groupLabel:""};return t.item=e.item?.map((e=>Io.fromPartial(e)))||[],t.folderMetadata=void 0!==e.folderMetadata&&null!==e.folderMetadata?Eo.fromPartial(e.folderMetadata):void 0,t.rowId=e.rowId??"",t.addTime=e.addTime??0,t.groupLabel=e.groupLabel??"",t}};const Co={encode:(e,t=i.Writer.create())=>(void 0!==e.root&&Oo.encode(e.root,t.uint32(10).fork()).ldelim(),0!==e.unfilteredLength&&t.uint32(16).int32(e.unfilteredLength),0!==e.unrangedLength&&t.uint32(24).int32(e.unrangedLength),!0===e.isLoadingContents&&t.uint32(32).bool(e.isLoadingContents),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={root:void 0,unfilteredLength:0,unrangedLength:0,isLoadingContents:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.root=Oo.decode(n,n.uint32());continue;case 2:if(16!==e)break;r.unfilteredLength=n.int32();continue;case 3:if(24!==e)break;r.unrangedLength=n.int32();continue;case 4:if(32!==e)break;r.isLoadingContents=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({root:Ro(e.root)?Oo.fromJSON(e.root):void 0,unfilteredLength:Ro(e.unfilteredLength)?Number(e.unfilteredLength):0,unrangedLength:Ro(e.unrangedLength)?Number(e.unrangedLength):0,isLoadingContents:!!Ro(e.isLoadingContents)&&Boolean(e.isLoadingContents)}),toJSON(e){const t={};return void 0!==e.root&&(t.root=Oo.toJSON(e.root)),0!==e.unfilteredLength&&(t.unfilteredLength=Math.round(e.unfilteredLength)),0!==e.unrangedLength&&(t.unrangedLength=Math.round(e.unrangedLength)),!0===e.isLoadingContents&&(t.isLoadingContents=e.isLoadingContents),t},create:e=>Co.fromPartial(e??{}),fromPartial(e){const t={root:void 0,unfilteredLength:0,unrangedLength:0,isLoadingContents:!1};return t.root=void 0!==e.root&&null!==e.root?Oo.fromPartial(e.root):void 0,t.unfilteredLength=e.unfilteredLength??0,t.unrangedLength=e.unrangedLength??0,t.isLoadingContents=e.isLoadingContents??!1,t}};function Ro(e){return null!=e}const No={encode:(e,t=i.Writer.create())=>(void 0!==e.query&&_o.encode(e.query,t.uint32(10).fork()).ldelim(),void 0!==e.policy&&ao.encode(e.policy,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={query:void 0,policy:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.query=_o.decode(n,n.uint32());continue;case 2:if(18!==e)break;r.policy=ao.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({query:Lo(e.query)?_o.fromJSON(e.query):void 0,policy:Lo(e.policy)?ao.fromJSON(e.policy):void 0}),toJSON(e){const t={};return void 0!==e.query&&(t.query=_o.toJSON(e.query)),void 0!==e.policy&&(t.policy=ao.toJSON(e.policy)),t},create:e=>No.fromPartial(e??{}),fromPartial(e){const t={query:void 0,policy:void 0};return t.query=void 0!==e.query&&null!==e.query?_o.fromPartial(e.query):void 0,t.policy=void 0!==e.policy&&null!==e.policy?ao.fromPartial(e.policy):void 0,t}};const Po={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.data&&Co.encode(e.data,t.uint32(18).fork()).ldelim(),void 0!==e.query&&_o.encode(e.query,t.uint32(26).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,data:void 0,query:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.data=Co.decode(n,n.uint32());continue;case 3:if(26!==e)break;a.query=_o.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Lo(e.status)?o.fromJSON(e.status):void 0,data:Lo(e.data)?Co.fromJSON(e.data):void 0,query:Lo(e.query)?_o.fromJSON(e.query):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.data&&(t.data=Co.toJSON(e.data)),void 0!==e.query&&(t.query=_o.toJSON(e.query)),t},create:e=>Po.fromPartial(e??{}),fromPartial(e){const t={status:void 0,data:void 0,query:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.data=void 0!==e.data&&null!==e.data?Co.fromPartial(e.data):void 0,t.query=void 0!==e.query&&null!==e.query?_o.fromPartial(e.query):void 0,t}};function Lo(e){return null!=e}const ko={encode:(e,t=i.Writer.create())=>(""!==e.playlistLink&&t.uint32(10).string(e.playlistLink),""!==e.playlistName&&t.uint32(18).string(e.playlistName),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlistLink:"",playlistName:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistLink=n.string();continue;case 2:if(18!==e)break;r.playlistName=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistLink:Do(e.playlistLink)?String(e.playlistLink):"",playlistName:Do(e.playlistName)?String(e.playlistName):""}),toJSON(e){const t={};return""!==e.playlistLink&&(t.playlistLink=e.playlistLink),""!==e.playlistName&&(t.playlistName=e.playlistName),t},create:e=>ko.fromPartial(e??{}),fromPartial(e){const t={playlistLink:"",playlistName:""};return t.playlistLink=e.playlistLink??"",t.playlistName=e.playlistName??"",t}};const wo={encode(e,t=i.Writer.create()){for(const n of e.playlists)ko.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={playlists:[]};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlists.push(ko.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlists:Array.isArray(e?.playlists)?e.playlists.map((e=>ko.fromJSON(e))):[]}),toJSON(e){const t={};return e.playlists?.length&&(t.playlists=e.playlists.map((e=>ko.toJSON(e)))),t},create:e=>wo.fromPartial(e??{}),fromPartial(e){const t={playlists:[]};return t.playlists=e.playlists?.map((e=>ko.fromPartial(e)))||[],t}};function Do(e){return null!=e}const Mo={encode:(e,t=i.Writer.create())=>(""!==e.itemUri&&t.uint32(10).string(e.itemUri),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={itemUri:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.itemUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({itemUri:Uo(e.itemUri)?String(e.itemUri):""}),toJSON(e){const t={};return""!==e.itemUri&&(t.itemUri=e.itemUri),t},create:e=>Mo.fromPartial(e??{}),fromPartial(e){const t={itemUri:""};return t.itemUri=e.itemUri??"",t}};const xo={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.response&&wo.encode(e.response,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,response:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.response=wo.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Uo(e.status)?o.fromJSON(e.status):void 0,response:Uo(e.response)?wo.fromJSON(e.response):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.response&&(t.response=wo.toJSON(e.response)),t},create:e=>xo.fromPartial(e??{}),fromPartial(e){const t={status:void 0,response:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.response=void 0!==e.response&&null!==e.response?wo.fromPartial(e.response):void 0,t}};function Uo(e){return null!=e}class Vo{transport;options;constructor(e,t={}){this.transport=e,this.options=t}contains(e,t){const n=Vo.SERVICE_ID,o="Contains",r=he.fromPartial(e),a=he.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Zi.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}get(e,t){const n=Vo.SERVICE_ID,o="Get",r=No.fromPartial(e),a=No.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Po.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subscribe(e,t){const n=Vo.SERVICE_ID,o="Subscribe",r=No.fromPartial(e),a=No.encode(r).finish();return this.options.onRequest?.(r,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:a},(e=>{const r=Po.decode(i.Reader.create(e));this.options.onResponse?.(r,n,o,"stream"),t(r)}))}getOfflinePlaylistsContainingItem(e,t){const n=Vo.SERVICE_ID,o="GetOfflinePlaylistsContainingItem",r=Mo.fromPartial(e),a=Mo.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=xo.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.playlist_esperanto.proto.RootlistDataService";static METHODS={contains:{isStreaming:!1,requestType:he,responseType:Zi},get:{isStreaming:!1,requestType:No,responseType:Po},subscribe:{isStreaming:!0,requestType:No,responseType:Po},getOfflinePlaylistsContainingItem:{isStreaming:!1,requestType:Mo,responseType:xo}};static DECODERS={Contains:{request:he.decode,response:Zi.decode},Get:{request:No.decode,response:Po.decode},Subscribe:{request:No.decode,response:Po.decode},GetOfflinePlaylistsContainingItem:{request:Mo.decode,response:xo.decode}}}const Fo={encode:(e,t=i.Writer.create())=>(""!==e.folderUri&&t.uint32(10).string(e.folderUri),void 0!==e.request&&A.encode(e.request,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={folderUri:"",request:void 0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.folderUri=n.string();continue;case 2:if(18!==e)break;r.request=A.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({folderUri:Ho(e.folderUri)?String(e.folderUri):"",request:Ho(e.request)?A.fromJSON(e.request):void 0}),toJSON(e){const t={};return""!==e.folderUri&&(t.folderUri=e.folderUri),void 0!==e.request&&(t.request=A.toJSON(e.request)),t},create:e=>Fo.fromPartial(e??{}),fromPartial(e){const t={folderUri:"",request:void 0};return t.folderUri=e.folderUri??"",t.request=void 0!==e.request&&null!==e.request?A.fromPartial(e.request):void 0,t}};const Bo={encode:(e,t=i.Writer.create())=>(void 0!==e.status&&o.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.response&&O.encode(e.response,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let r=void 0===t?n.len:n.pos+t;const a={status:void 0,response:void 0};for(;n.pos<r;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;a.status=o.decode(n,n.uint32());continue;case 2:if(18!==e)break;a.response=O.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return a},fromJSON:e=>({status:Ho(e.status)?o.fromJSON(e.status):void 0,response:Ho(e.response)?O.fromJSON(e.response):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=o.toJSON(e.status)),void 0!==e.response&&(t.response=O.toJSON(e.response)),t},create:e=>Bo.fromPartial(e??{}),fromPartial(e){const t={status:void 0,response:void 0};return t.status=void 0!==e.status&&null!==e.status?o.fromPartial(e.status):void 0,t.response=void 0!==e.response&&null!==e.response?O.fromPartial(e.response):void 0,t}};function Ho(e){return null!=e}class Go{transport;options;constructor(e,t={}){this.transport=e,this.options=t}modify(e,t){const n=Go.SERVICE_ID,o="Modify",r=Fo.fromPartial(e),a=Fo.encode(r).finish();return this.options.onRequest?.(r,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:a},t).then((e=>{const t=Bo.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}static SERVICE_ID="spotify.playlist_esperanto.proto.RootlistModificationService";static METHODS={modify:{isStreaming:!1,requestType:Fo,responseType:Bo}};static DECODERS={Modify:{request:Fo.decode,response:Bo.decode}}}},91493:(e,t,n)=>{"use strict";n.d(t,{cj:()=>r,zW:()=>f});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};const r={encode(e,t=i.Writer.create()){for(const n of e.filters)t.uint32(18).bytes(n);return!0===e.isO&&t.uint32(24).bool(e.isO),!0===e.isV&&t.uint32(32).bool(e.isV),t},decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={filters:[],isO:!1,isV:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 2:if(18!==e)break;r.filters.push(n.bytes());continue;case 3:if(24!==e)break;r.isO=n.bool();continue;case 4:if(32!==e)break;r.isV=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({filters:Array.isArray(e?.filters)?e.filters.map((e=>function(e){if(a.Buffer)return Uint8Array.from(a.Buffer.from(e,"base64"));{const t=a.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}(e))):[],isO:!!s(e.isO)&&Boolean(e.isO),isV:!!s(e.isV)&&Boolean(e.isV)}),toJSON(e){const t={};return e.filters?.length&&(t.filters=e.filters.map((e=>function(e){if(a.Buffer)return a.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),a.btoa(t.join(""))}}(e)))),!0===e.isO&&(t.isO=e.isO),!0===e.isV&&(t.isV=e.isV),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={filters:[],isO:!1,isV:!1};return t.filters=e.filters?.map((e=>e))||[],t.isO=e.isO??!1,t.isV=e.isV??!1,t}},a=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function s(e){return null!=e}var c;function l(e){switch(e){case 0:case"UNKNOWN_FAILURE":return c.UNKNOWN_FAILURE;case 2:case"GENERAL_ERROR":return c.GENERAL_ERROR;case 3:case"INVALID_FILE":return c.INVALID_FILE;case 4:case"NOT_COMPATIBLE_WITH_RUNTIME":return c.NOT_COMPATIBLE_WITH_RUNTIME;default:return c.UNRECOGNIZED}}!function(e){e[e.UNKNOWN_FAILURE=0]="UNKNOWN_FAILURE",e[e.GENERAL_ERROR=2]="GENERAL_ERROR",e[e.INVALID_FILE=3]="INVALID_FILE",e[e.NOT_COMPATIBLE_WITH_RUNTIME=4]="NOT_COMPATIBLE_WITH_RUNTIME",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(c||(c={}));const u={encode:(e,t=i.Writer.create())=>(0!==e.statusCode&&t.uint32(8).int32(e.statusCode),""!==e.reason&&t.uint32(18).string(e.reason),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={statusCode:0,reason:""};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.statusCode=n.int32();continue;case 2:if(18!==e)break;r.reason=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({statusCode:d(e.statusCode)?l(e.statusCode):0,reason:d(e.reason)?String(e.reason):""}),toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=function(e){switch(e){case c.UNKNOWN_FAILURE:return"UNKNOWN_FAILURE";case c.GENERAL_ERROR:return"GENERAL_ERROR";case c.INVALID_FILE:return"INVALID_FILE";case c.NOT_COMPATIBLE_WITH_RUNTIME:return"NOT_COMPATIBLE_WITH_RUNTIME";case c.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.statusCode)),""!==e.reason&&(t.reason=e.reason),t},create:e=>u.fromPartial(e??{}),fromPartial(e){const t={statusCode:0,reason:""};return t.statusCode=e.statusCode??0,t.reason=e.reason??"",t}};function d(e){return null!=e}const p={encode:(e,t=i.Writer.create())=>(!0===e.isCompatible&&t.uint32(8).bool(e.isCompatible),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={isCompatible:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.isCompatible=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{isCompatible:(t=e.isCompatible,null!=t&&Boolean(e.isCompatible))};var t},toJSON(e){const t={};return!0===e.isCompatible&&(t.isCompatible=e.isCompatible),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={isCompatible:!1};return t.isCompatible=e.isCompatible??!1,t}};const h={encode:(e,t=i.Writer.create())=>(0!==e.version&&t.uint32(8).int32(e.version),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={version:0};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.version=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON(e){return{version:(t=e.version,null!=t?Number(e.version):0)};var t},toJSON(e){const t={};return 0!==e.version&&(t.version=Math.round(e.version)),t},create:e=>h.fromPartial(e??{}),fromPartial(e){const t={version:0};return t.version=e.version??0,t}};class f{transport;options;constructor(e,t={}){this.transport=e,this.options=t}enterProcessingEnvironment(e,t){const n=f.SERVICE_ID,r="EnterProcessingEnvironment",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}leaveProcessingEnvironment(e,t){const n=f.SERVICE_ID,r="LeaveProcessingEnvironment",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}filter(e,t){const n=f.SERVICE_ID,a="Filter",s=r.fromPartial(e),c=r.encode(s).finish();return this.options.onRequest?.(s,n,a,"single"),this.transport.callSingle({service:n,method:a,payload:c},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,a,"single"),t}))}disableProcessing(e,t){const n=f.SERVICE_ID,r="DisableProcessing",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=o.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}subscribeToErrors(e,t){const n=f.SERVICE_ID,r="SubscribeToErrors",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=u.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}subscribeToProcessingCompatibility(e,t){const n=f.SERVICE_ID,r="SubscribeToProcessingCompatibility",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"stream"),this.transport.callStream({service:n,method:r,payload:s},(e=>{const o=p.decode(i.Reader.create(e));this.options.onResponse?.(o,n,r,"stream"),t(o)}))}libraryVersion(e,t){const n=f.SERVICE_ID,r="LibraryVersion",a=o.fromPartial(e),s=o.encode(a).finish();return this.options.onRequest?.(a,n,r,"single"),this.transport.callSingle({service:n,method:r,payload:s},t).then((e=>{const t=h.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,r,"single"),t}))}static SERVICE_ID="spotify.puffin_esperanto.proto.PuffinService";static METHODS={enterProcessingEnvironment:{isStreaming:!1,requestType:o,responseType:o},leaveProcessingEnvironment:{isStreaming:!1,requestType:o,responseType:o},filter:{isStreaming:!1,requestType:r,responseType:o},disableProcessing:{isStreaming:!1,requestType:o,responseType:o},subscribeToErrors:{isStreaming:!0,requestType:o,responseType:u},subscribeToProcessingCompatibility:{isStreaming:!0,requestType:o,responseType:p},libraryVersion:{isStreaming:!1,requestType:o,responseType:h}};static DECODERS={EnterProcessingEnvironment:{request:o.decode,response:o.decode},LeaveProcessingEnvironment:{request:o.decode,response:o.decode},Filter:{request:r.decode,response:o.decode},DisableProcessing:{request:o.decode,response:o.decode},SubscribeToErrors:{request:o.decode,response:u.decode},SubscribeToProcessingCompatibility:{request:o.decode,response:p.decode},LibraryVersion:{request:o.decode,response:h.decode}}}},50822:(e,t,n)=>{"use strict";n.d(t,{Yz:()=>a,aA:()=>l,lX:()=>s});var i=n(24848);const o={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>o.fromPartial(e??{}),fromPartial:e=>({})};const r={encode:(e,t=i.Writer.create())=>(!0===e.incognitoMode&&t.uint32(8).bool(e.incognitoMode),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={incognitoMode:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.incognitoMode=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({incognitoMode:!!c(e.incognitoMode)&&Boolean(e.incognitoMode)}),toJSON(e){const t={};return!0===e.incognitoMode&&(t.incognitoMode=e.incognitoMode),t},create:e=>r.fromPartial(e??{}),fromPartial(e){const t={incognitoMode:!1};return t.incognitoMode=e.incognitoMode??!1,t}};const a={encode:(e,t=i.Writer.create())=>(!0===e.incognitoMode&&t.uint32(8).bool(e.incognitoMode),t),decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={incognitoMode:!1};for(;n.pos<o;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.incognitoMode=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({incognitoMode:!!c(e.incognitoMode)&&Boolean(e.incognitoMode)}),toJSON(e){const t={};return!0===e.incognitoMode&&(t.incognitoMode=e.incognitoMode),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={incognitoMode:!1};return t.incognitoMode=e.incognitoMode??!1,t}};const s={encode:(e,t=i.Writer.create())=>t,decode(e,t){const n=e instanceof i.Reader?e:i.Reader.create(e);let o=void 0===t?n.len:n.pos+t;const r={};for(;n.pos<o;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({}),toJSON:e=>({}),create:e=>s.fromPartial(e??{}),fromPartial:e=>({})};function c(e){return null!=e}class l{transport;options;constructor(e,t={}){this.transport=e,this.options=t}getIncognitoMode(e,t){const n=l.SERVICE_ID,a="GetIncognitoMode",s=o.fromPartial(e),c=o.encode(s).finish();return this.options.onRequest?.(s,n,a,"single"),this.transport.callSingle({service:n,method:a,payload:c},t).then((e=>{const t=r.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,a,"single"),t}))}putIncognitoMode(e,t){const n=l.SERVICE_ID,o="PutIncognitoMode",s=a.fromPartial(e),c=a.encode(s).finish();return this.options.onRequest?.(s,n,o,"single"),this.transport.callSingle({service:n,method:o,payload:c},t).then((e=>{const t=r.decode(i.Reader.create(e));return this.options.onResponse?.(t,n,o,"single"),t}))}subIncognitoMode(e,t){const n=l.SERVICE_ID,o="SubIncognitoMode",a=s.fromPartial(e),c=s.encode(a).finish();return this.options.onRequest?.(a,n,o,"stream"),this.transport.callStream({service:n,method:o,payload:c},(e=>{const a=r.decode(i.Reader.create(e));this.options.onResponse?.(a,n,o,"stream"),t(a)}))}static SERVICE_ID="spotify.scrobble.esperanto.proto.Scrobble";static METHODS={getIncognitoMode:{isStreaming:!1,requestType:o,responseType:r},putIncognitoMode:{isStreaming:!1,requestType:a,responseType:r},subIncognitoMode:{isStreaming:!0,requestType:s,responseType:r}};static DECODERS={GetIncognitoMode:{request:o.decode,response:r.decode},PutIncognitoMode:{request:a.decode,response:r.decode},SubIncognitoMode:{request:s.decode,response:r.decode}}}},544:(e,t,n)=>{"use strict";var i,o,r,a,s,c;function l(e){switch(e){case 0:case"FORMAT_UNKNOWN":return i.FORMAT_UNKNOWN;case 1:case"FORMAT_OGG_VORBIS_96":return i.FORMAT_OGG_VORBIS_96;case 2:case"FORMAT_OGG_VORBIS_160":return i.FORMAT_OGG_VORBIS_160;case 3:case"FORMAT_OGG_VORBIS_320":return i.FORMAT_OGG_VORBIS_320;case 4:case"FORMAT_MP3_256":return i.FORMAT_MP3_256;case 5:case"FORMAT_MP3_320":return i.FORMAT_MP3_320;case 6:case"FORMAT_MP3_160":return i.FORMAT_MP3_160;case 7:case"FORMAT_MP3_96":return i.FORMAT_MP3_96;case 8:case"FORMAT_MP3_160_ENCRYPTED":return i.FORMAT_MP3_160_ENCRYPTED;case 9:case"FORMAT_AAC_24":return i.FORMAT_AAC_24;case 10:case"FORMAT_AAC_48":return i.FORMAT_AAC_48;case 11:case"FORMAT_MP4_128":return i.FORMAT_MP4_128;case 12:case"FORMAT_MP4_128_DUAL":return i.FORMAT_MP4_128_DUAL;case 13:case"FORMAT_MP4_128_CBCS":return i.FORMAT_MP4_128_CBCS;case 14:case"FORMAT_MP4_256":return i.FORMAT_MP4_256;case 15:case"FORMAT_MP4_256_DUAL":return i.FORMAT_MP4_256_DUAL;case 16:case"FORMAT_MP4_256_CBCS":return i.FORMAT_MP4_256_CBCS;case 17:case"FORMAT_FLAC_FLAC":return i.FORMAT_FLAC_FLAC;case 18:case"FORMAT_MP4_FLAC":return i.FORMAT_MP4_FLAC;case 19:case"FORMAT_MP4_Unknown":return i.FORMAT_MP4_Unknown;case 20:case"FORMAT_MP3_Unknown":return i.FORMAT_MP3_Unknown;case 21:case"FORMAT_XHE_AAC_12":return i.FORMAT_XHE_AAC_12;case 22:case"FORMAT_XHE_AAC_16":return i.FORMAT_XHE_AAC_16;case 23:case"FORMAT_XHE_AAC_24":return i.FORMAT_XHE_AAC_24;case 24:case"FORMAT_FLAC_FLAC_24":return i.FORMAT_FLAC_FLAC_24;default:return i.UNRECOGNIZED}}function u(e){switch(e){case i.FORMAT_UNKNOWN:return"FORMAT_UNKNOWN";case i.FORMAT_OGG_VORBIS_96:return"FORMAT_OGG_VORBIS_96";case i.FORMAT_OGG_VORBIS_160:return"FORMAT_OGG_VORBIS_160";case i.FORMAT_OGG_VORBIS_320:return"FORMAT_OGG_VORBIS_320";case i.FORMAT_MP3_256:return"FORMAT_MP3_256";case i.FORMAT_MP3_320:return"FORMAT_MP3_320";case i.FORMAT_MP3_160:return"FORMAT_MP3_160";case i.FORMAT_MP3_96:return"FORMAT_MP3_96";case i.FORMAT_MP3_160_ENCRYPTED:return"FORMAT_MP3_160_ENCRYPTED";case i.FORMAT_AAC_24:return"FORMAT_AAC_24";case i.FORMAT_AAC_48:return"FORMAT_AAC_48";case i.FORMAT_MP4_128:return"FORMAT_MP4_128";case i.FORMAT_MP4_128_DUAL:return"FORMAT_MP4_128_DUAL";case i.FORMAT_MP4_128_CBCS:return"FORMAT_MP4_128_CBCS";case i.FORMAT_MP4_256:return"FORMAT_MP4_256";case i.FORMAT_MP4_256_DUAL:return"FORMAT_MP4_256_DUAL";case i.FORMAT_MP4_256_CBCS:return"FORMAT_MP4_256_CBCS";case i.FORMAT_FLAC_FLAC:return"FORMAT_FLAC_FLAC";case i.FORMAT_MP4_FLAC:return"FORMAT_MP4_FLAC";case i.FORMAT_MP4_Unknown:return"FORMAT_MP4_Unknown";case i.FORMAT_MP3_Unknown:return"FORMAT_MP3_Unknown";case i.FORMAT_XHE_AAC_12:return"FORMAT_XHE_AAC_12";case i.FORMAT_XHE_AAC_16:return"FORMAT_XHE_AAC_16";case i.FORMAT_XHE_AAC_24:return"FORMAT_XHE_AAC_24";case i.FORMAT_FLAC_FLAC_24:return"FORMAT_FLAC_FLAC_24";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function d(e){switch(e){case 0:case"AUDIO":return o.AUDIO;case 1:case"VIDEO":return o.VIDEO;case 0:case"MEDIA_TYPE_AUDIO":return o.MEDIA_TYPE_AUDIO;case 1:case"MEDIA_TYPE_VIDEO":return o.MEDIA_TYPE_VIDEO;case 2:case"MEDIA_TYPE_UNKNOWN":return o.MEDIA_TYPE_UNKNOWN;default:return o.UNRECOGNIZED}}function p(e){switch(e){case 0:case"PLAY_REASON_UNKNOWN":return r.PLAY_REASON_UNKNOWN;case 1:case"PLAY_REASON_APP_LOAD":return r.PLAY_REASON_APP_LOAD;case 2:case"PLAY_REASON_BACK_BTN":return r.PLAY_REASON_BACK_BTN;case 3:case"PLAY_REASON_CLICK_ROW":return r.PLAY_REASON_CLICK_ROW;case 4:case"PLAY_REASON_CLICK_SIDE":return r.PLAY_REASON_CLICK_SIDE;case 5:case"PLAY_REASON_END_PLAY":return r.PLAY_REASON_END_PLAY;case 6:case"PLAY_REASON_FWD_BTN":return r.PLAY_REASON_FWD_BTN;case 7:case"PLAY_REASON_INTERRUPTED":return r.PLAY_REASON_INTERRUPTED;case 8:case"PLAY_REASON_LOGOUT":return r.PLAY_REASON_LOGOUT;case 9:case"PLAY_REASON_PLAY_BTN":return r.PLAY_REASON_PLAY_BTN;case 10:case"PLAY_REASON_POPUP":return r.PLAY_REASON_POPUP;case 11:case"PLAY_REASON_REMOTE":return r.PLAY_REASON_REMOTE;case 12:case"PLAY_REASON_SONG_DONE":return r.PLAY_REASON_SONG_DONE;case 13:case"PLAY_REASON_TRACK_DONE":return r.PLAY_REASON_TRACK_DONE;case 14:case"PLAY_REASON_TRACK_ERROR":return r.PLAY_REASON_TRACK_ERROR;case 15:case"PLAY_REASON_PREVIEW":return r.PLAY_REASON_PREVIEW;case 16:case"PLAY_REASON_URI_OPEN":return r.PLAY_REASON_URI_OPEN;case 17:case"PLAY_REASON_BACKGROUNDED":return r.PLAY_REASON_BACKGROUNDED;case 18:case"PLAY_REASON_OFFLINE":return r.PLAY_REASON_OFFLINE;case 19:case"PLAY_REASON_UNEXPECTED_EXIT":return r.PLAY_REASON_UNEXPECTED_EXIT;case 20:case"PLAY_REASON_UNEXPECTED_EXIT_WHILE_PAUSED":return r.PLAY_REASON_UNEXPECTED_EXIT_WHILE_PAUSED;default:return r.UNRECOGNIZED}}function h(e){switch(e){case r.PLAY_REASON_UNKNOWN:return"PLAY_REASON_UNKNOWN";case r.PLAY_REASON_APP_LOAD:return"PLAY_REASON_APP_LOAD";case r.PLAY_REASON_BACK_BTN:return"PLAY_REASON_BACK_BTN";case r.PLAY_REASON_CLICK_ROW:return"PLAY_REASON_CLICK_ROW";case r.PLAY_REASON_CLICK_SIDE:return"PLAY_REASON_CLICK_SIDE";case r.PLAY_REASON_END_PLAY:return"PLAY_REASON_END_PLAY";case r.PLAY_REASON_FWD_BTN:return"PLAY_REASON_FWD_BTN";case r.PLAY_REASON_INTERRUPTED:return"PLAY_REASON_INTERRUPTED";case r.PLAY_REASON_LOGOUT:return"PLAY_REASON_LOGOUT";case r.PLAY_REASON_PLAY_BTN:return"PLAY_REASON_PLAY_BTN";case r.PLAY_REASON_POPUP:return"PLAY_REASON_POPUP";case r.PLAY_REASON_REMOTE:return"PLAY_REASON_REMOTE";case r.PLAY_REASON_SONG_DONE:return"PLAY_REASON_SONG_DONE";case r.PLAY_REASON_TRACK_DONE:return"PLAY_REASON_TRACK_DONE";case r.PLAY_REASON_TRACK_ERROR:return"PLAY_REASON_TRACK_ERROR";case r.PLAY_REASON_PREVIEW:return"PLAY_REASON_PREVIEW";case r.PLAY_REASON_URI_OPEN:return"PLAY_REASON_URI_OPEN";case r.PLAY_REASON_BACKGROUNDED:return"PLAY_REASON_BACKGROUNDED";case r.PLAY_REASON_OFFLINE:return"PLAY_REASON_OFFLINE";case r.PLAY_REASON_UNEXPECTED_EXIT:return"PLAY_REASON_UNEXPECTED_EXIT";case r.PLAY_REASON_UNEXPECTED_EXIT_WHILE_PAUSED:return"PLAY_REASON_UNEXPECTED_EXIT_WHILE_PAUSED";case r.UNRECOGNIZED:default:return"UNRECOGNIZED"}}function f(e){switch(e){case 0:case"BOOMBOX":return a.BOOMBOX;case 1:case"BETAMAX":return a.BETAMAX;case 2:case"UNKNOWN":return a.UNKNOWN;default:return a.UNRECOGNIZED}}function m(e){switch(e){case 0:case"ACTIVE":return s.ACTIVE;case 1:case"PAUSED":return s.PAUSED;case 2:case"SUSPENDED":return s.SUSPENDED;case 3:case"INVALID_PLAYBACK_STATE":return s.INVALID_PLAYBACK_STATE;default:return s.UNRECOGNIZED}}function _(e){switch(e){case 0:case"INVALID_STATUS_CODE":return c.INVALID_STATUS_CODE;case 1:case"SUCCESS":return c.SUCCESS;case 2:case"EVENT_SENDER_ERROR":return c.EVENT_SENDER_ERROR;case 3:case"INVALID_STREAM_HANDLE":return c.INVALID_STREAM_HANDLE;case 4:case"PENDING_EVENTS_ERROR":return c.PENDING_EVENTS_ERROR;default:return c.UNRECOGNIZED}}n.d(t,{zu:()=>o,lV:()=>r,iw:()=>a,di:()=>s,su:()=>c,RV:()=>A,pB:()=>G,FZ:()=>te,Sb:()=>K,yK:()=>L,vN:()=>R}),function(e){e[e.FORMAT_UNKNOWN=0]="FORMAT_UNKNOWN",e[e.FORMAT_OGG_VORBIS_96=1]="FORMAT_OGG_VORBIS_96",e[e.FORMAT_OGG_VORBIS_160=2]="FORMAT_OGG_VORBIS_160",e[e.FORMAT_OGG_VORBIS_320=3]="FORMAT_OGG_VORBIS_320",e[e.FORMAT_MP3_256=4]="FORMAT_MP3_256",e[e.FORMAT_MP3_320=5]="FORMAT_MP3_320",e[e.FORMAT_MP3_160=6]="FORMAT_MP3_160",e[e.FORMAT_MP3_96=7]="FORMAT_MP3_96",e[e.FORMAT_MP3_160_ENCRYPTED=8]="FORMAT_MP3_160_ENCRYPTED",e[e.FORMAT_AAC_24=9]="FORMAT_AAC_24",e[e.FORMAT_AAC_48=10]="FORMAT_AAC_48",e[e.FORMAT_MP4_128=11]="FORMAT_MP4_128",e[e.FORMAT_MP4_128_DUAL=12]="FORMAT_MP4_128_DUAL",e[e.FORMAT_MP4_128_CBCS=13]="FORMAT_MP4_128_CBCS",e[e.FORMAT_MP4_256=14]="FORMAT_MP4_256",e[e.FORMAT_MP4_256_DUAL=15]="FORMAT_MP4_256_DUAL",e[e.FORMAT_MP4_256_CBCS=16]="FORMAT_MP4_256_CBCS",e[e.FORMAT_FLAC_FLAC=17]="FORMAT_FLAC_FLAC",e[e.FORMAT_MP4_FLAC=18]="FORMAT_MP4_FLAC",e[e.FORMAT_MP4_Unknown=19]="FORMAT_MP4_Unknown",e[e.FORMAT_MP3_Unknown=20]="FORMAT_MP3_Unknown",e[e.FORMAT_XHE_AAC_12=21]="FORMAT_XHE_AAC_12",e[e.FORMAT_XHE_AAC_16=22]="FORMAT_XHE_AAC_16",e[e.FORMAT_XHE_AAC_24=23]="FORMAT_XHE_AAC_24",e[e.FORMAT_FLAC_FLAC_24=24]="FORMAT_FLAC_FLAC_24",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={})),function(e){e[e.AUDIO=0]="AUDIO",e[e.VIDEO=1]="VIDEO",e[e.MEDIA_TYPE_AUDIO=0]="MEDIA_TYPE_AUDIO",e[e.MEDIA_TYPE_VIDEO=1]="MEDIA_TYPE_VIDEO",e[e.MEDIA_TYPE_UNKNOWN=2]="MEDIA_TYPE_UNKNOWN",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(o||(o={})),function(e){e[e.PLAY_REASON_UNKNOWN=0]="PLAY_REASON_UNKNOWN",e[e.PLAY_REASON_APP_LOAD=1]="PLAY_REASON_APP_LOAD",e[e.PLAY_REASON_BACK_BTN=2]="PLAY_REASON_BACK_BTN",e[e.PLAY_REASON_CLICK_ROW=3]="PLAY_REASON_CLICK_ROW",e[e.PLAY_REASON_CLICK_SIDE=4]="PLAY_REASON_CLICK_SIDE",e[e.PLAY_REASON_END_PLAY=5]="PLAY_REASON_END_PLAY",e[e.PLAY_REASON_FWD_BTN=6]="PLAY_REASON_FWD_BTN",e[e.PLAY_REASON_INTERRUPTED=7]="PLAY_REASON_INTERRUPTED",e[e.PLAY_REASON_LOGOUT=8]="PLAY_REASON_LOGOUT",e[e.PLAY_REASON_PLAY_BTN=9]="PLAY_REASON_PLAY_BTN",e[e.PLAY_REASON_POPUP=10]="PLAY_REASON_POPUP",e[e.PLAY_REASON_REMOTE=11]="PLAY_REASON_REMOTE",e[e.PLAY_REASON_SONG_DONE=12]="PLAY_REASON_SONG_DONE",e[e.PLAY_REASON_TRACK_DONE=13]="PLAY_REASON_TRACK_DONE",e[e.PLAY_REASON_TRACK_ERROR=14]="PLAY_REASON_TRACK_ERROR",e[e.PLAY_REASON_PREVIEW=15]="PLAY_REASON_PREVIEW",e[e.PLAY_REASON_URI_OPEN=16]="PLAY_REASON_URI_OPEN",e[e.PLAY_REASON_BACKGROUNDED=17]="PLAY_REASON_BACKGROUNDED",e[e.PLAY_REASON_OFFLINE=18]="PLAY_REASON_OFFLINE",e[e.PLAY_REASON_UNEXPECTED_EXIT=19]="PLAY_REASON_UNEXPECTED_EXIT",e[e.PLAY_REASON_UNEXPECTED_EXIT_WHILE_PAUSED=20]="PLAY_REASON_UNEXPECTED_EXIT_WHILE_PAUSED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(r||(r={})),function(e){e[e.BOOMBOX=0]="BOOMBOX",e[e.BETAMAX=1]="BETAMAX",e[e.UNKNOWN=2]="UNKNOWN",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(a||(a={})),function(e){e[e.ACTIVE=0]="ACTIVE",e[e.PAUSED=1]="PAUSED",e[e.SUSPENDED=2]="SUSPENDED",e[e.INVALID_PLAYBACK_STATE=3]="INVALID_PLAYBACK_STATE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(s||(s={})),function(e){e[e.INVALID_STATUS_CODE=0]="INVALID_STATUS_CODE",e[e.SUCCESS=1]="SUCCESS",e[e.EVENT_SENDER_ERROR=2]="EVENT_SENDER_ERROR",e[e.INVALID_STREAM_HANDLE=3]="INVALID_STREAM_HANDLE",e[e.PENDING_EVENTS_ERROR=4]="PENDING_EVENTS_ERROR",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(c||(c={}));var g=n(24848);const E={encode:(e,t=g.Writer.create())=>(0!==e.statusCode&&t.uint32(8).int32(e.statusCode),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={statusCode:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.statusCode=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON(e){return{statusCode:(t=e.statusCode,null!=t?_(e.statusCode):0)};var t},toJSON(e){const t={};return 0!==e.statusCode&&(t.statusCode=function(e){switch(e){case c.INVALID_STATUS_CODE:return"INVALID_STATUS_CODE";case c.SUCCESS:return"SUCCESS";case c.EVENT_SENDER_ERROR:return"EVENT_SENDER_ERROR";case c.INVALID_STREAM_HANDLE:return"INVALID_STREAM_HANDLE";case c.PENDING_EVENTS_ERROR:return"PENDING_EVENTS_ERROR";case c.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.statusCode)),t},create:e=>E.fromPartial(e??{}),fromPartial(e){const t={statusCode:0};return t.statusCode=e.statusCode??0,t}};var v=n(87252);function y(){return{seconds:BigInt("0"),nanos:0}}const b={encode:(e,t=g.Writer.create())=>(e.seconds!==BigInt("0")&&t.uint32(8).int64(e.seconds.toString()),0!==e.nanos&&t.uint32(16).int32(e.nanos),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=y();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.seconds=(r=n.int64(),BigInt(r.toString()));continue;case 2:if(16!==e)break;o.nanos=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var r;return o},fromJSON:e=>({seconds:S(e.seconds)?BigInt(e.seconds):BigInt("0"),nanos:S(e.nanos)?Number(e.nanos):0}),toJSON(e){const t={};return e.seconds!==BigInt("0")&&(t.seconds=e.seconds.toString()),0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t},create:e=>b.fromPartial(e??{}),fromPartial(e){const t=y();return t.seconds=e.seconds??BigInt("0"),t.nanos=e.nanos??0,t}};function S(e){return null!=e}g.util.Long!==v&&(g.util.Long=v,g.configure());const T={encode:(e,t=g.Writer.create())=>(0!==e.rawHandle&&t.uint32(16).uint32(e.rawHandle),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={rawHandle:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 2:if(16!==e)break;o.rawHandle=n.uint32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON(e){return{rawHandle:(t=e.rawHandle,null!=t?Number(e.rawHandle):0)};var t},toJSON(e){const t={};return 0!==e.rawHandle&&(t.rawHandle=Math.round(e.rawHandle)),t},create:e=>T.fromPartial(e??{}),fromPartial(e){const t={rawHandle:0};return t.rawHandle=e.rawHandle??0,t}};const A={encode:(e,t=g.Writer.create())=>(void 0!==e.streamHandle&&T.encode(e.streamHandle,t.uint32(10).fork()).ldelim(),""!==e.sourceEnd&&t.uint32(18).string(e.sourceEnd),0!==e.reasonEnd&&t.uint32(24).int32(e.reasonEnd),void 0!==e.format&&t.uint32(32).int32(e.format),void 0!==e.clientTimestamp&&b.encode(function(e){const t=BigInt(Math.trunc(e.getTime()/1e3)),n=e.getTime()%1e3*1e6;return{seconds:t,nanos:n}}(e.clientTimestamp),t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={streamHandle:void 0,sourceEnd:"",reasonEnd:0,format:void 0,clientTimestamp:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.streamHandle=T.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.sourceEnd=n.string();continue;case 3:if(24!==e)break;o.reasonEnd=n.int32();continue;case 4:if(32!==e)break;o.format=n.int32();continue;case 5:if(42!==e)break;o.clientTimestamp=I(b.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({streamHandle:C(e.streamHandle)?T.fromJSON(e.streamHandle):void 0,sourceEnd:C(e.sourceEnd)?String(e.sourceEnd):"",reasonEnd:C(e.reasonEnd)?p(e.reasonEnd):0,format:C(e.format)?l(e.format):void 0,clientTimestamp:C(e.clientTimestamp)?O(e.clientTimestamp):void 0}),toJSON(e){const t={};return void 0!==e.streamHandle&&(t.streamHandle=T.toJSON(e.streamHandle)),""!==e.sourceEnd&&(t.sourceEnd=e.sourceEnd),0!==e.reasonEnd&&(t.reasonEnd=h(e.reasonEnd)),void 0!==e.format&&(t.format=u(e.format)),void 0!==e.clientTimestamp&&(t.clientTimestamp=e.clientTimestamp.toISOString()),t},create:e=>A.fromPartial(e??{}),fromPartial(e){const t={streamHandle:void 0,sourceEnd:"",reasonEnd:0,format:void 0,clientTimestamp:void 0};return t.streamHandle=void 0!==e.streamHandle&&null!==e.streamHandle?T.fromPartial(e.streamHandle):void 0,t.sourceEnd=e.sourceEnd??"",t.reasonEnd=e.reasonEnd??0,t.format=e.format??void 0,t.clientTimestamp=e.clientTimestamp??void 0,t}};function I(e){let t=1e3*(Number(e.seconds.toString())||0);return t+=(e.nanos||0)/1e6,new Date(t)}function O(e){return e instanceof Date?e:"string"==typeof e?new Date(e):I(b.fromJSON(e))}function C(e){return null!=e}var R;function N(e){switch(e){case 0:case"STREAMING_RULE_NONE":return R.STREAMING_RULE_NONE;case 1:case"STREAMING_RULE_DMCA_RADIO":return R.STREAMING_RULE_DMCA_RADIO;case 2:case"STREAMING_RULE_PREVIEW":return R.STREAMING_RULE_PREVIEW;case 3:case"STREAMING_RULE_WIFI":return R.STREAMING_RULE_WIFI;case 4:case"STREAMING_RULE_SHUFFLE_MODE":return R.STREAMING_RULE_SHUFFLE_MODE;case 5:case"STREAMING_RULE_TABLET_FREE":return R.STREAMING_RULE_TABLET_FREE;default:return R.UNRECOGNIZED}}function P(){return{playbackId:new Uint8Array(0),parentPlaybackId:new Uint8Array(0),parentPlayTrack:"",videoSessionId:"",playContext:"",contentUri:"",displayedContentUri:"",playbackStack:0,provider:"",referrer:"",streamingRule:0,connectControllerDeviceId:"",pageInstanceId:"",interactionId:"",sourceStart:"",reasonStart:0,isShuffle:!1,mediaId:"",mediaType:0,playbackStartTime:BigInt("0"),startPosition:BigInt("0"),isLive:!1,contentIsDownloaded:!1,clientOffline:!1,featureUuid:"",decisionId:"",customReportingAttribution:"",playContextDecisionId:"",clientTimestamp:void 0,isRepeatingTrack:void 0,isRepeatingContext:void 0,isAudioOn:void 0,isVideoOn:!1,videoSurface:void 0}}!function(e){e[e.STREAMING_RULE_NONE=0]="STREAMING_RULE_NONE",e[e.STREAMING_RULE_DMCA_RADIO=1]="STREAMING_RULE_DMCA_RADIO",e[e.STREAMING_RULE_PREVIEW=2]="STREAMING_RULE_PREVIEW",e[e.STREAMING_RULE_WIFI=3]="STREAMING_RULE_WIFI",e[e.STREAMING_RULE_SHUFFLE_MODE=4]="STREAMING_RULE_SHUFFLE_MODE",e[e.STREAMING_RULE_TABLET_FREE=5]="STREAMING_RULE_TABLET_FREE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(R||(R={}));const L={encode:(e,t=g.Writer.create())=>(0!==e.playbackId.length&&t.uint32(10).bytes(e.playbackId),0!==e.parentPlaybackId.length&&t.uint32(18).bytes(e.parentPlaybackId),""!==e.parentPlayTrack&&t.uint32(26).string(e.parentPlayTrack),""!==e.videoSessionId&&t.uint32(34).string(e.videoSessionId),""!==e.playContext&&t.uint32(42).string(e.playContext),""!==e.contentUri&&t.uint32(50).string(e.contentUri),""!==e.displayedContentUri&&t.uint32(58).string(e.displayedContentUri),0!==e.playbackStack&&t.uint32(64).int32(e.playbackStack),""!==e.provider&&t.uint32(90).string(e.provider),""!==e.referrer&&t.uint32(98).string(e.referrer),0!==e.streamingRule&&t.uint32(120).int32(e.streamingRule),""!==e.connectControllerDeviceId&&t.uint32(130).string(e.connectControllerDeviceId),""!==e.pageInstanceId&&t.uint32(138).string(e.pageInstanceId),""!==e.interactionId&&t.uint32(146).string(e.interactionId),""!==e.sourceStart&&t.uint32(154).string(e.sourceStart),0!==e.reasonStart&&t.uint32(160).int32(e.reasonStart),!0===e.isShuffle&&t.uint32(184).bool(e.isShuffle),""!==e.mediaId&&t.uint32(226).string(e.mediaId),0!==e.mediaType&&t.uint32(232).int32(e.mediaType),e.playbackStartTime!==BigInt("0")&&t.uint32(240).uint64(e.playbackStartTime.toString()),e.startPosition!==BigInt("0")&&t.uint32(248).uint64(e.startPosition.toString()),!0===e.isLive&&t.uint32(256).bool(e.isLive),!0===e.contentIsDownloaded&&t.uint32(264).bool(e.contentIsDownloaded),!0===e.clientOffline&&t.uint32(272).bool(e.clientOffline),""!==e.featureUuid&&t.uint32(290).string(e.featureUuid),""!==e.decisionId&&t.uint32(298).string(e.decisionId),""!==e.customReportingAttribution&&t.uint32(306).string(e.customReportingAttribution),""!==e.playContextDecisionId&&t.uint32(314).string(e.playContextDecisionId),void 0!==e.clientTimestamp&&b.encode(function(e){const t=BigInt(Math.trunc(e.getTime()/1e3)),n=e.getTime()%1e3*1e6;return{seconds:t,nanos:n}}(e.clientTimestamp),t.uint32(322).fork()).ldelim(),void 0!==e.isRepeatingTrack&&t.uint32(328).bool(e.isRepeatingTrack),void 0!==e.isRepeatingContext&&t.uint32(336).bool(e.isRepeatingContext),void 0!==e.isAudioOn&&t.uint32(344).bool(e.isAudioOn),!0===e.isVideoOn&&t.uint32(352).bool(e.isVideoOn),void 0!==e.videoSurface&&t.uint32(362).string(e.videoSurface),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=P();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.playbackId=n.bytes();continue;case 2:if(18!==e)break;o.parentPlaybackId=n.bytes();continue;case 3:if(26!==e)break;o.parentPlayTrack=n.string();continue;case 4:if(34!==e)break;o.videoSessionId=n.string();continue;case 5:if(42!==e)break;o.playContext=n.string();continue;case 6:if(50!==e)break;o.contentUri=n.string();continue;case 7:if(58!==e)break;o.displayedContentUri=n.string();continue;case 8:if(64!==e)break;o.playbackStack=n.int32();continue;case 11:if(90!==e)break;o.provider=n.string();continue;case 12:if(98!==e)break;o.referrer=n.string();continue;case 15:if(120!==e)break;o.streamingRule=n.int32();continue;case 16:if(130!==e)break;o.connectControllerDeviceId=n.string();continue;case 17:if(138!==e)break;o.pageInstanceId=n.string();continue;case 18:if(146!==e)break;o.interactionId=n.string();continue;case 19:if(154!==e)break;o.sourceStart=n.string();continue;case 20:if(160!==e)break;o.reasonStart=n.int32();continue;case 23:if(184!==e)break;o.isShuffle=n.bool();continue;case 28:if(226!==e)break;o.mediaId=n.string();continue;case 29:if(232!==e)break;o.mediaType=n.int32();continue;case 30:if(240!==e)break;o.playbackStartTime=U(n.uint64());continue;case 31:if(248!==e)break;o.startPosition=U(n.uint64());continue;case 32:if(256!==e)break;o.isLive=n.bool();continue;case 33:if(264!==e)break;o.contentIsDownloaded=n.bool();continue;case 34:if(272!==e)break;o.clientOffline=n.bool();continue;case 36:if(290!==e)break;o.featureUuid=n.string();continue;case 37:if(298!==e)break;o.decisionId=n.string();continue;case 38:if(306!==e)break;o.customReportingAttribution=n.string();continue;case 39:if(314!==e)break;o.playContextDecisionId=n.string();continue;case 40:if(322!==e)break;o.clientTimestamp=M(b.decode(n,n.uint32()));continue;case 41:if(328!==e)break;o.isRepeatingTrack=n.bool();continue;case 42:if(336!==e)break;o.isRepeatingContext=n.bool();continue;case 43:if(344!==e)break;o.isAudioOn=n.bool();continue;case 44:if(352!==e)break;o.isVideoOn=n.bool();continue;case 45:if(362!==e)break;o.videoSurface=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({playbackId:V(e.playbackId)?w(e.playbackId):new Uint8Array(0),parentPlaybackId:V(e.parentPlaybackId)?w(e.parentPlaybackId):new Uint8Array(0),parentPlayTrack:V(e.parentPlayTrack)?String(e.parentPlayTrack):"",videoSessionId:V(e.videoSessionId)?String(e.videoSessionId):"",playContext:V(e.playContext)?String(e.playContext):"",contentUri:V(e.contentUri)?String(e.contentUri):"",displayedContentUri:V(e.displayedContentUri)?String(e.displayedContentUri):"",playbackStack:V(e.playbackStack)?f(e.playbackStack):0,provider:V(e.provider)?String(e.provider):"",referrer:V(e.referrer)?String(e.referrer):"",streamingRule:V(e.streamingRule)?N(e.streamingRule):0,connectControllerDeviceId:V(e.connectControllerDeviceId)?String(e.connectControllerDeviceId):"",pageInstanceId:V(e.pageInstanceId)?String(e.pageInstanceId):"",interactionId:V(e.interactionId)?String(e.interactionId):"",sourceStart:V(e.sourceStart)?String(e.sourceStart):"",reasonStart:V(e.reasonStart)?p(e.reasonStart):0,isShuffle:!!V(e.isShuffle)&&Boolean(e.isShuffle),mediaId:V(e.mediaId)?String(e.mediaId):"",mediaType:V(e.mediaType)?d(e.mediaType):0,playbackStartTime:V(e.playbackStartTime)?BigInt(e.playbackStartTime):BigInt("0"),startPosition:V(e.startPosition)?BigInt(e.startPosition):BigInt("0"),isLive:!!V(e.isLive)&&Boolean(e.isLive),contentIsDownloaded:!!V(e.contentIsDownloaded)&&Boolean(e.contentIsDownloaded),clientOffline:!!V(e.clientOffline)&&Boolean(e.clientOffline),featureUuid:V(e.featureUuid)?String(e.featureUuid):"",decisionId:V(e.decisionId)?String(e.decisionId):"",customReportingAttribution:V(e.customReportingAttribution)?String(e.customReportingAttribution):"",playContextDecisionId:V(e.playContextDecisionId)?String(e.playContextDecisionId):"",clientTimestamp:V(e.clientTimestamp)?x(e.clientTimestamp):void 0,isRepeatingTrack:V(e.isRepeatingTrack)?Boolean(e.isRepeatingTrack):void 0,isRepeatingContext:V(e.isRepeatingContext)?Boolean(e.isRepeatingContext):void 0,isAudioOn:V(e.isAudioOn)?Boolean(e.isAudioOn):void 0,isVideoOn:!!V(e.isVideoOn)&&Boolean(e.isVideoOn),videoSurface:V(e.videoSurface)?String(e.videoSurface):void 0}),toJSON(e){const t={};return 0!==e.playbackId.length&&(t.playbackId=D(e.playbackId)),0!==e.parentPlaybackId.length&&(t.parentPlaybackId=D(e.parentPlaybackId)),""!==e.parentPlayTrack&&(t.parentPlayTrack=e.parentPlayTrack),""!==e.videoSessionId&&(t.videoSessionId=e.videoSessionId),""!==e.playContext&&(t.playContext=e.playContext),""!==e.contentUri&&(t.contentUri=e.contentUri),""!==e.displayedContentUri&&(t.displayedContentUri=e.displayedContentUri),0!==e.playbackStack&&(t.playbackStack=function(e){switch(e){case a.BOOMBOX:return"BOOMBOX";case a.BETAMAX:return"BETAMAX";case a.UNKNOWN:return"UNKNOWN";case a.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.playbackStack)),""!==e.provider&&(t.provider=e.provider),""!==e.referrer&&(t.referrer=e.referrer),0!==e.streamingRule&&(t.streamingRule=function(e){switch(e){case R.STREAMING_RULE_NONE:return"STREAMING_RULE_NONE";case R.STREAMING_RULE_DMCA_RADIO:return"STREAMING_RULE_DMCA_RADIO";case R.STREAMING_RULE_PREVIEW:return"STREAMING_RULE_PREVIEW";case R.STREAMING_RULE_WIFI:return"STREAMING_RULE_WIFI";case R.STREAMING_RULE_SHUFFLE_MODE:return"STREAMING_RULE_SHUFFLE_MODE";case R.STREAMING_RULE_TABLET_FREE:return"STREAMING_RULE_TABLET_FREE";case R.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.streamingRule)),""!==e.connectControllerDeviceId&&(t.connectControllerDeviceId=e.connectControllerDeviceId),""!==e.pageInstanceId&&(t.pageInstanceId=e.pageInstanceId),""!==e.interactionId&&(t.interactionId=e.interactionId),""!==e.sourceStart&&(t.sourceStart=e.sourceStart),0!==e.reasonStart&&(t.reasonStart=h(e.reasonStart)),!0===e.isShuffle&&(t.isShuffle=e.isShuffle),""!==e.mediaId&&(t.mediaId=e.mediaId),0!==e.mediaType&&(t.mediaType=function(e){switch(e){case o.AUDIO:return"AUDIO";case o.VIDEO:return"VIDEO";case o.MEDIA_TYPE_AUDIO:return"MEDIA_TYPE_AUDIO";case o.MEDIA_TYPE_VIDEO:return"MEDIA_TYPE_VIDEO";case o.MEDIA_TYPE_UNKNOWN:return"MEDIA_TYPE_UNKNOWN";case o.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.mediaType)),e.playbackStartTime!==BigInt("0")&&(t.playbackStartTime=e.playbackStartTime.toString()),e.startPosition!==BigInt("0")&&(t.startPosition=e.startPosition.toString()),!0===e.isLive&&(t.isLive=e.isLive),!0===e.contentIsDownloaded&&(t.contentIsDownloaded=e.contentIsDownloaded),!0===e.clientOffline&&(t.clientOffline=e.clientOffline),""!==e.featureUuid&&(t.featureUuid=e.featureUuid),""!==e.decisionId&&(t.decisionId=e.decisionId),""!==e.customReportingAttribution&&(t.customReportingAttribution=e.customReportingAttribution),""!==e.playContextDecisionId&&(t.playContextDecisionId=e.playContextDecisionId),void 0!==e.clientTimestamp&&(t.clientTimestamp=e.clientTimestamp.toISOString()),void 0!==e.isRepeatingTrack&&(t.isRepeatingTrack=e.isRepeatingTrack),void 0!==e.isRepeatingContext&&(t.isRepeatingContext=e.isRepeatingContext),void 0!==e.isAudioOn&&(t.isAudioOn=e.isAudioOn),!0===e.isVideoOn&&(t.isVideoOn=e.isVideoOn),void 0!==e.videoSurface&&(t.videoSurface=e.videoSurface),t},create:e=>L.fromPartial(e??{}),fromPartial(e){const t=P();return t.playbackId=e.playbackId??new Uint8Array(0),t.parentPlaybackId=e.parentPlaybackId??new Uint8Array(0),t.parentPlayTrack=e.parentPlayTrack??"",t.videoSessionId=e.videoSessionId??"",t.playContext=e.playContext??"",t.contentUri=e.contentUri??"",t.displayedContentUri=e.displayedContentUri??"",t.playbackStack=e.playbackStack??0,t.provider=e.provider??"",t.referrer=e.referrer??"",t.streamingRule=e.streamingRule??0,t.connectControllerDeviceId=e.connectControllerDeviceId??"",t.pageInstanceId=e.pageInstanceId??"",t.interactionId=e.interactionId??"",t.sourceStart=e.sourceStart??"",t.reasonStart=e.reasonStart??0,t.isShuffle=e.isShuffle??!1,t.mediaId=e.mediaId??"",t.mediaType=e.mediaType??0,t.playbackStartTime=e.playbackStartTime??BigInt("0"),t.startPosition=e.startPosition??BigInt("0"),t.isLive=e.isLive??!1,t.contentIsDownloaded=e.contentIsDownloaded??!1,t.clientOffline=e.clientOffline??!1,t.featureUuid=e.featureUuid??"",t.decisionId=e.decisionId??"",t.customReportingAttribution=e.customReportingAttribution??"",t.playContextDecisionId=e.playContextDecisionId??"",t.clientTimestamp=e.clientTimestamp??void 0,t.isRepeatingTrack=e.isRepeatingTrack??void 0,t.isRepeatingContext=e.isRepeatingContext??void 0,t.isAudioOn=e.isAudioOn??void 0,t.isVideoOn=e.isVideoOn??!1,t.videoSurface=e.videoSurface??void 0,t}},k=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw"Unable to locate global object"})();function w(e){if(k.Buffer)return Uint8Array.from(k.Buffer.from(e,"base64"));{const t=k.atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}}function D(e){if(k.Buffer)return k.Buffer.from(e).toString("base64");{const t=[];return e.forEach((e=>{t.push(String.fromCharCode(e))})),k.btoa(t.join(""))}}function M(e){let t=1e3*(Number(e.seconds.toString())||0);return t+=(e.nanos||0)/1e6,new Date(t)}function x(e){return e instanceof Date?e:"string"==typeof e?new Date(e):M(b.fromJSON(e))}function U(e){return BigInt(e.toString())}function V(e){return null!=e}g.util.Long!==v&&(g.util.Long=v,g.configure());const F={encode:(e,t=g.Writer.create())=>(void 0!==e.status&&E.encode(e.status,t.uint32(10).fork()).ldelim(),void 0!==e.streamHandle&&T.encode(e.streamHandle,t.uint32(18).fork()).ldelim(),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={status:void 0,streamHandle:void 0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.status=E.decode(n,n.uint32());continue;case 2:if(18!==e)break;o.streamHandle=T.decode(n,n.uint32());continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({status:B(e.status)?E.fromJSON(e.status):void 0,streamHandle:B(e.streamHandle)?T.fromJSON(e.streamHandle):void 0}),toJSON(e){const t={};return void 0!==e.status&&(t.status=E.toJSON(e.status)),void 0!==e.streamHandle&&(t.streamHandle=T.toJSON(e.streamHandle)),t},create:e=>F.fromPartial(e??{}),fromPartial(e){const t={status:void 0,streamHandle:void 0};return t.status=void 0!==e.status&&null!==e.status?E.fromPartial(e.status):void 0,t.streamHandle=void 0!==e.streamHandle&&null!==e.streamHandle?T.fromPartial(e.streamHandle):void 0,t}};function B(e){return null!=e}function H(){return{streamHandle:void 0,currentPosition:BigInt("0"),isPaused:!1,isPlayingVideo:!1,isOverlapping:!1,isBackground:!1,isFullscreen:!1,isExternal:!1,playbackSpeed:0,mediaId:void 0,contentIsDownloaded:void 0,audioFormat:void 0,contentUri:void 0,clientTimestamp:void 0,playbackState:0,isAudioOn:void 0,videoSurface:void 0}}const G={encode:(e,t=g.Writer.create())=>(void 0!==e.streamHandle&&T.encode(e.streamHandle,t.uint32(10).fork()).ldelim(),e.currentPosition!==BigInt("0")&&t.uint32(16).uint64(e.currentPosition.toString()),!0===e.isPaused&&t.uint32(24).bool(e.isPaused),!0===e.isPlayingVideo&&t.uint32(32).bool(e.isPlayingVideo),!0===e.isOverlapping&&t.uint32(40).bool(e.isOverlapping),!0===e.isBackground&&t.uint32(48).bool(e.isBackground),!0===e.isFullscreen&&t.uint32(56).bool(e.isFullscreen),!0===e.isExternal&&t.uint32(64).bool(e.isExternal),0!==e.playbackSpeed&&t.uint32(73).double(e.playbackSpeed),void 0!==e.mediaId&&t.uint32(82).string(e.mediaId),void 0!==e.contentIsDownloaded&&t.uint32(88).bool(e.contentIsDownloaded),void 0!==e.audioFormat&&t.uint32(96).int32(e.audioFormat),void 0!==e.contentUri&&t.uint32(106).string(e.contentUri),void 0!==e.clientTimestamp&&b.encode(function(e){const t=BigInt(Math.trunc(e.getTime()/1e3)),n=e.getTime()%1e3*1e6;return{seconds:t,nanos:n}}(e.clientTimestamp),t.uint32(114).fork()).ldelim(),0!==e.playbackState&&t.uint32(120).int32(e.playbackState),void 0!==e.isAudioOn&&t.uint32(128).bool(e.isAudioOn),void 0!==e.videoSurface&&t.uint32(138).string(e.videoSurface),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=H();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.streamHandle=T.decode(n,n.uint32());continue;case 2:if(16!==e)break;o.currentPosition=(r=n.uint64(),BigInt(r.toString()));continue;case 3:if(24!==e)break;o.isPaused=n.bool();continue;case 4:if(32!==e)break;o.isPlayingVideo=n.bool();continue;case 5:if(40!==e)break;o.isOverlapping=n.bool();continue;case 6:if(48!==e)break;o.isBackground=n.bool();continue;case 7:if(56!==e)break;o.isFullscreen=n.bool();continue;case 8:if(64!==e)break;o.isExternal=n.bool();continue;case 9:if(73!==e)break;o.playbackSpeed=n.double();continue;case 10:if(82!==e)break;o.mediaId=n.string();continue;case 11:if(88!==e)break;o.contentIsDownloaded=n.bool();continue;case 12:if(96!==e)break;o.audioFormat=n.int32();continue;case 13:if(106!==e)break;o.contentUri=n.string();continue;case 14:if(114!==e)break;o.clientTimestamp=W(b.decode(n,n.uint32()));continue;case 15:if(120!==e)break;o.playbackState=n.int32();continue;case 16:if(128!==e)break;o.isAudioOn=n.bool();continue;case 17:if(138!==e)break;o.videoSurface=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var r;return o},fromJSON:e=>({streamHandle:Y(e.streamHandle)?T.fromJSON(e.streamHandle):void 0,currentPosition:Y(e.currentPosition)?BigInt(e.currentPosition):BigInt("0"),isPaused:!!Y(e.isPaused)&&Boolean(e.isPaused),isPlayingVideo:!!Y(e.isPlayingVideo)&&Boolean(e.isPlayingVideo),isOverlapping:!!Y(e.isOverlapping)&&Boolean(e.isOverlapping),isBackground:!!Y(e.isBackground)&&Boolean(e.isBackground),isFullscreen:!!Y(e.isFullscreen)&&Boolean(e.isFullscreen),isExternal:!!Y(e.isExternal)&&Boolean(e.isExternal),playbackSpeed:Y(e.playbackSpeed)?Number(e.playbackSpeed):0,mediaId:Y(e.mediaId)?String(e.mediaId):void 0,contentIsDownloaded:Y(e.contentIsDownloaded)?Boolean(e.contentIsDownloaded):void 0,audioFormat:Y(e.audioFormat)?l(e.audioFormat):void 0,contentUri:Y(e.contentUri)?String(e.contentUri):void 0,clientTimestamp:Y(e.clientTimestamp)?j(e.clientTimestamp):void 0,playbackState:Y(e.playbackState)?m(e.playbackState):0,isAudioOn:Y(e.isAudioOn)?Boolean(e.isAudioOn):void 0,videoSurface:Y(e.videoSurface)?String(e.videoSurface):void 0}),toJSON(e){const t={};return void 0!==e.streamHandle&&(t.streamHandle=T.toJSON(e.streamHandle)),e.currentPosition!==BigInt("0")&&(t.currentPosition=e.currentPosition.toString()),!0===e.isPaused&&(t.isPaused=e.isPaused),!0===e.isPlayingVideo&&(t.isPlayingVideo=e.isPlayingVideo),!0===e.isOverlapping&&(t.isOverlapping=e.isOverlapping),!0===e.isBackground&&(t.isBackground=e.isBackground),!0===e.isFullscreen&&(t.isFullscreen=e.isFullscreen),!0===e.isExternal&&(t.isExternal=e.isExternal),0!==e.playbackSpeed&&(t.playbackSpeed=e.playbackSpeed),void 0!==e.mediaId&&(t.mediaId=e.mediaId),void 0!==e.contentIsDownloaded&&(t.contentIsDownloaded=e.contentIsDownloaded),void 0!==e.audioFormat&&(t.audioFormat=u(e.audioFormat)),void 0!==e.contentUri&&(t.contentUri=e.contentUri),void 0!==e.clientTimestamp&&(t.clientTimestamp=e.clientTimestamp.toISOString()),0!==e.playbackState&&(t.playbackState=function(e){switch(e){case s.ACTIVE:return"ACTIVE";case s.PAUSED:return"PAUSED";case s.SUSPENDED:return"SUSPENDED";case s.INVALID_PLAYBACK_STATE:return"INVALID_PLAYBACK_STATE";case s.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.playbackState)),void 0!==e.isAudioOn&&(t.isAudioOn=e.isAudioOn),void 0!==e.videoSurface&&(t.videoSurface=e.videoSurface),t},create:e=>G.fromPartial(e??{}),fromPartial(e){const t=H();return t.streamHandle=void 0!==e.streamHandle&&null!==e.streamHandle?T.fromPartial(e.streamHandle):void 0,t.currentPosition=e.currentPosition??BigInt("0"),t.isPaused=e.isPaused??!1,t.isPlayingVideo=e.isPlayingVideo??!1,t.isOverlapping=e.isOverlapping??!1,t.isBackground=e.isBackground??!1,t.isFullscreen=e.isFullscreen??!1,t.isExternal=e.isExternal??!1,t.playbackSpeed=e.playbackSpeed??0,t.mediaId=e.mediaId??void 0,t.contentIsDownloaded=e.contentIsDownloaded??void 0,t.audioFormat=e.audioFormat??void 0,t.contentUri=e.contentUri??void 0,t.clientTimestamp=e.clientTimestamp??void 0,t.playbackState=e.playbackState??0,t.isAudioOn=e.isAudioOn??void 0,t.videoSurface=e.videoSurface??void 0,t}};function W(e){let t=1e3*(Number(e.seconds.toString())||0);return t+=(e.nanos||0)/1e6,new Date(t)}function j(e){return e instanceof Date?e:"string"==typeof e?new Date(e):W(b.fromJSON(e))}function Y(e){return null!=e}function z(){return{streamHandle:void 0,fromPosition:BigInt("0"),toPosition:BigInt("0"),clientTimestamp:void 0}}g.util.Long!==v&&(g.util.Long=v,g.configure());const K={encode:(e,t=g.Writer.create())=>(void 0!==e.streamHandle&&T.encode(e.streamHandle,t.uint32(10).fork()).ldelim(),e.fromPosition!==BigInt("0")&&t.uint32(24).uint64(e.fromPosition.toString()),e.toPosition!==BigInt("0")&&t.uint32(32).uint64(e.toPosition.toString()),void 0!==e.clientTimestamp&&b.encode(function(e){const t=BigInt(Math.trunc(e.getTime()/1e3)),n=e.getTime()%1e3*1e6;return{seconds:t,nanos:n}}(e.clientTimestamp),t.uint32(42).fork()).ldelim(),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=z();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;o.streamHandle=T.decode(n,n.uint32());continue;case 3:if(24!==e)break;o.fromPosition=X(n.uint64());continue;case 4:if(32!==e)break;o.toPosition=X(n.uint64());continue;case 5:if(42!==e)break;o.clientTimestamp=J(b.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({streamHandle:$(e.streamHandle)?T.fromJSON(e.streamHandle):void 0,fromPosition:$(e.fromPosition)?BigInt(e.fromPosition):BigInt("0"),toPosition:$(e.toPosition)?BigInt(e.toPosition):BigInt("0"),clientTimestamp:$(e.clientTimestamp)?q(e.clientTimestamp):void 0}),toJSON(e){const t={};return void 0!==e.streamHandle&&(t.streamHandle=T.toJSON(e.streamHandle)),e.fromPosition!==BigInt("0")&&(t.fromPosition=e.fromPosition.toString()),e.toPosition!==BigInt("0")&&(t.toPosition=e.toPosition.toString()),void 0!==e.clientTimestamp&&(t.clientTimestamp=e.clientTimestamp.toISOString()),t},create:e=>K.fromPartial(e??{}),fromPartial(e){const t=z();return t.streamHandle=void 0!==e.streamHandle&&null!==e.streamHandle?T.fromPartial(e.streamHandle):void 0,t.fromPosition=e.fromPosition??BigInt("0"),t.toPosition=e.toPosition??BigInt("0"),t.clientTimestamp=e.clientTimestamp??void 0,t}};function J(e){let t=1e3*(Number(e.seconds.toString())||0);return t+=(e.nanos||0)/1e6,new Date(t)}function q(e){return e instanceof Date?e:"string"==typeof e?new Date(e):J(b.fromJSON(e))}function X(e){return BigInt(e.toString())}function $(e){return null!=e}g.util.Long!==v&&(g.util.Long=v,g.configure());const Z={encode:(e,t=g.Writer.create())=>t,decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o={};for(;n.pos<i;){const e=n.uint32();if(4==(7&e)||0===e)break;n.skipType(7&e)}return o},fromJSON:e=>({}),toJSON:e=>({}),create:e=>Z.fromPartial(e??{}),fromPartial:e=>({})};function Q(){return{timestamp:BigInt("0")}}const ee={encode:(e,t=g.Writer.create())=>(e.timestamp!==BigInt("0")&&t.uint32(8).uint64(e.timestamp.toString()),t),decode(e,t){const n=e instanceof g.Reader?e:g.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const o=Q();for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;o.timestamp=(r=n.uint64(),BigInt(r.toString()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}var r;return o},fromJSON(e){return{timestamp:(t=e.timestamp,null!=t?BigInt(e.timestamp):BigInt("0"))};var t},toJSON(e){const t={};return e.timestamp!==BigInt("0")&&(t.timestamp=e.timestamp.toString()),t},create:e=>ee.fromPartial(e??{}),fromPartial(e){const t=Q();return t.timestamp=e.timestamp??BigInt("0"),t}};g.util.Long!==v&&(g.util.Long=v,g.configure());class te{transport;options;constructor(e,t={}){this.transport=e,this.options=t}streamStart(e,t){const n=te.SERVICE_ID,i="StreamStart",o=L.fromPartial(e),r=L.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:r},t).then((e=>{const t=F.decode(g.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamProgress(e,t){const n=te.SERVICE_ID,i="StreamProgress",o=G.fromPartial(e),r=G.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:r},t).then((e=>{const t=E.decode(g.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamSeek(e,t){const n=te.SERVICE_ID,i="StreamSeek",o=K.fromPartial(e),r=K.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:r},t).then((e=>{const t=E.decode(g.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}streamEnd(e,t){const n=te.SERVICE_ID,i="StreamEnd",o=A.fromPartial(e),r=A.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:r},t).then((e=>{const t=E.decode(g.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}currentTimestamp(e,t){const n=te.SERVICE_ID,i="CurrentTimestamp",o=Z.fromPartial(e),r=Z.encode(o).finish();return this.options.onRequest?.(o,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:r},t).then((e=>{const t=ee.decode(g.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.stream_reporting_esperanto.proto.StreamReportingService";static METHODS={streamStart:{isStreaming:!1,requestType:L,responseType:F},streamProgress:{isStreaming:!1,requestType:G,responseType:E},streamSeek:{isStreaming:!1,requestType:K,responseType:E},streamEnd:{isStreaming:!1,requestType:A,responseType:E},currentTimestamp:{isStreaming:!1,requestType:Z,responseType:ee}};static DECODERS={StreamStart:{request:L.decode,response:F.decode},StreamProgress:{request:G.decode,response:E.decode},StreamSeek:{request:K.decode,response:E.decode},StreamEnd:{request:A.decode,response:E.decode},CurrentTimestamp:{request:Z.decode,response:ee.decode}}}},501:(e,t,n)=>{"use strict";n.d(t,{_4:()=>f});var i,o=n(24848);function r(e){switch(e){case 0:case"LEGACY":return i.LEGACY;case 1:case"ONLY_ADDED":return i.ONLY_ADDED;case 2:case"GROUPED_BY_CLASS":return i.GROUPED_BY_CLASS;case 3:case"ADDED_FOLLOWED_BY_GROUPED_BY_CLASS":return i.ADDED_FOLLOWED_BY_GROUPED_BY_CLASS;default:return i.UNRECOGNIZED}}!function(e){e[e.LEGACY=0]="LEGACY",e[e.ONLY_ADDED=1]="ONLY_ADDED",e[e.GROUPED_BY_CLASS=2]="GROUPED_BY_CLASS",e[e.ADDED_FOLLOWED_BY_GROUPED_BY_CLASS=3]="ADDED_FOLLOWED_BY_GROUPED_BY_CLASS",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(i||(i={}));const a={encode:(e,t=o.Writer.create())=>(""!==e.tagUri&&t.uint32(10).string(e.tagUri),""!==e.tagName&&t.uint32(26).string(e.tagName),0!==e.entityCount&&t.uint32(32).int32(e.entityCount),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={tagUri:"",tagName:"",entityCount:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tagUri=n.string();continue;case 3:if(26!==e)break;r.tagName=n.string();continue;case 4:if(32!==e)break;r.entityCount=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({tagUri:u(e.tagUri)?String(e.tagUri):"",tagName:u(e.tagName)?String(e.tagName):"",entityCount:u(e.entityCount)?Number(e.entityCount):0}),toJSON(e){const t={};return""!==e.tagUri&&(t.tagUri=e.tagUri),""!==e.tagName&&(t.tagName=e.tagName),0!==e.entityCount&&(t.entityCount=Math.round(e.entityCount)),t},create:e=>a.fromPartial(e??{}),fromPartial(e){const t={tagUri:"",tagName:"",entityCount:0};return t.tagUri=e.tagUri??"",t.tagName=e.tagName??"",t.entityCount=e.entityCount??0,t}};const s={encode(e,t=o.Writer.create()){""!==e.classUri&&t.uint32(10).string(e.classUri),""!==e.className&&t.uint32(18).string(e.className);for(const n of e.tag)a.encode(n,t.uint32(26).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={classUri:"",className:"",tag:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.classUri=n.string();continue;case 2:if(18!==e)break;r.className=n.string();continue;case 3:if(26!==e)break;r.tag.push(a.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({classUri:u(e.classUri)?String(e.classUri):"",className:u(e.className)?String(e.className):"",tag:Array.isArray(e?.tag)?e.tag.map((e=>a.fromJSON(e))):[]}),toJSON(e){const t={};return""!==e.classUri&&(t.classUri=e.classUri),""!==e.className&&(t.className=e.className),e.tag?.length&&(t.tag=e.tag.map((e=>a.toJSON(e)))),t},create:e=>s.fromPartial(e??{}),fromPartial(e){const t={classUri:"",className:"",tag:[]};return t.classUri=e.classUri??"",t.className=e.className??"",t.tag=e.tag?.map((e=>a.fromPartial(e)))||[],t}};const c={encode(e,t=o.Writer.create()){for(const n of e.addedTag)a.encode(n,t.uint32(10).fork()).ldelim();for(const n of e.classGroup)s.encode(n,t.uint32(26).fork()).ldelim();return t},decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={addedTag:[],classGroup:[]};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.addedTag.push(a.decode(n,n.uint32()));continue;case 3:if(26!==e)break;r.classGroup.push(s.decode(n,n.uint32()));continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({addedTag:Array.isArray(e?.addedTag)?e.addedTag.map((e=>a.fromJSON(e))):[],classGroup:Array.isArray(e?.classGroup)?e.classGroup.map((e=>s.fromJSON(e))):[]}),toJSON(e){const t={};return e.addedTag?.length&&(t.addedTag=e.addedTag.map((e=>a.toJSON(e)))),e.classGroup?.length&&(t.classGroup=e.classGroup.map((e=>s.toJSON(e)))),t},create:e=>c.fromPartial(e??{}),fromPartial(e){const t={addedTag:[],classGroup:[]};return t.addedTag=e.addedTag?.map((e=>a.fromPartial(e)))||[],t.classGroup=e.classGroup?.map((e=>s.fromPartial(e)))||[],t}};const l={encode:(e,t=o.Writer.create())=>(0!==e.updateThrottling&&t.uint32(8).int32(e.updateThrottling),0!==e.responseFormat&&t.uint32(16).int32(e.responseFormat),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={updateThrottling:0,responseFormat:0};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(8!==e)break;r.updateThrottling=n.int32();continue;case 2:if(16!==e)break;r.responseFormat=n.int32();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({updateThrottling:u(e.updateThrottling)?Number(e.updateThrottling):0,responseFormat:u(e.responseFormat)?r(e.responseFormat):0}),toJSON(e){const t={};return 0!==e.updateThrottling&&(t.updateThrottling=Math.round(e.updateThrottling)),0!==e.responseFormat&&(t.responseFormat=function(e){switch(e){case i.LEGACY:return"LEGACY";case i.ONLY_ADDED:return"ONLY_ADDED";case i.GROUPED_BY_CLASS:return"GROUPED_BY_CLASS";case i.ADDED_FOLLOWED_BY_GROUPED_BY_CLASS:return"ADDED_FOLLOWED_BY_GROUPED_BY_CLASS";case i.UNRECOGNIZED:default:return"UNRECOGNIZED"}}(e.responseFormat)),t},create:e=>l.fromPartial(e??{}),fromPartial(e){const t={updateThrottling:0,responseFormat:0};return t.updateThrottling=e.updateThrottling??0,t.responseFormat=e.responseFormat??0,t}};function u(e){return null!=e}const d={encode:(e,t=o.Writer.create())=>(""!==e.playlistUri&&t.uint32(10).string(e.playlistUri),!0===e.hasTag&&t.uint32(16).bool(e.hasTag),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={playlistUri:"",hasTag:!1};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.playlistUri=n.string();continue;case 2:if(16!==e)break;r.hasTag=n.bool();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({playlistUri:h(e.playlistUri)?String(e.playlistUri):"",hasTag:!!h(e.hasTag)&&Boolean(e.hasTag)}),toJSON(e){const t={};return""!==e.playlistUri&&(t.playlistUri=e.playlistUri),!0===e.hasTag&&(t.hasTag=e.hasTag),t},create:e=>d.fromPartial(e??{}),fromPartial(e){const t={playlistUri:"",hasTag:!1};return t.playlistUri=e.playlistUri??"",t.hasTag=e.hasTag??!1,t}};const p={encode:(e,t=o.Writer.create())=>(""!==e.tagUri&&t.uint32(10).string(e.tagUri),t),decode(e,t){const n=e instanceof o.Reader?e:o.Reader.create(e);let i=void 0===t?n.len:n.pos+t;const r={tagUri:""};for(;n.pos<i;){const e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.tagUri=n.string();continue}if(4==(7&e)||0===e)break;n.skipType(7&e)}return r},fromJSON:e=>({tagUri:h(e.tagUri)?String(e.tagUri):""}),toJSON(e){const t={};return""!==e.tagUri&&(t.tagUri=e.tagUri),t},create:e=>p.fromPartial(e??{}),fromPartial(e){const t={tagUri:""};return t.tagUri=e.tagUri??"",t}};function h(e){return null!=e}class f{transport;options;constructor(e,t={}){this.transport=e,this.options=t}streamYourLibraryTags(e,t){const n=f.SERVICE_ID,i="StreamYourLibraryTags",r=l.fromPartial(e),a=l.encode(r).finish();return this.options.onRequest?.(r,n,i,"stream"),this.transport.callStream({service:n,method:i,payload:a},(e=>{const r=c.decode(o.Reader.create(e));this.options.onResponse?.(r,n,i,"stream"),t(r)}))}getYourLibraryTagPlaylist(e,t){const n=f.SERVICE_ID,i="GetYourLibraryTagPlaylist",r=p.fromPartial(e),a=p.encode(r).finish();return this.options.onRequest?.(r,n,i,"single"),this.transport.callSingle({service:n,method:i,payload:a},t).then((e=>{const t=d.decode(o.Reader.create(e));return this.options.onResponse?.(t,n,i,"single"),t}))}static SERVICE_ID="spotify.your_library_tags_esperanto.proto.YourLibraryTagsService";static METHODS={streamYourLibraryTags:{isStreaming:!0,requestType:l,responseType:c},getYourLibraryTagPlaylist:{isStreaming:!1,requestType:p,responseType:d}};static DECODERS={StreamYourLibraryTags:{request:l.decode,response:c.decode},GetYourLibraryTagPlaylist:{request:p.decode,response:d.decode}}}},99359:(e,t,n)=>{"use strict";function i(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;t<arguments.length;t++)o(e,arguments[t]);return e}function o(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)o(e,t[n])}}n.d(t,{A:()=>i})},79357:(e,t,n)=>{"use strict";function i(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}n.d(t,{F:()=>i})},71682:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});let i={};function o(){return i}},42534:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(72849),o=n(79357);function r(e,t){const n=(0,i.a)(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");const r=t?.format??"extended",a=t?.representation??"complete";let s="",c="";const l="extended"===r?"-":"",u="extended"===r?":":"";if("time"!==a){const e=(0,o.F)(n.getDate(),2),t=(0,o.F)(n.getMonth()+1,2);s=`${(0,o.F)(n.getFullYear(),4)}${l}${t}${l}${e}`}if("date"!==a){const e=n.getTimezoneOffset();if(0!==e){const t=Math.abs(e);c=`${e<0?"+":"-"}${(0,o.F)(Math.trunc(t/60),2)}:${(0,o.F)(t%60,2)}`}else c="Z";s=`${s}${""===s?"":"T"}${[(0,o.F)(n.getHours(),2),(0,o.F)(n.getMinutes(),2),(0,o.F)(n.getSeconds(),2)].join(u)}${c}`}return s}},12058:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var i=n(10849);function o(e,t){return+(0,i.o)(e)==+(0,i.o)(t)}},61288:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var i=n(70001);function o(e,t,n){return+(0,i.k)(e,n)==+(0,i.k)(t,n)}},84697:(e,t,n)=>{"use strict";function i(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>i})},62775:(e,t,n)=>{"use strict";function i(e){return(t,n)=>{let i;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;i=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;i=e.values[o]||e.values[t]}return i[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>i})},50469:(e,t,n)=>{"use strict";function i(e){return(t,n={})=>{const i=n.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(o);if(!r)return null;const a=r[0],s=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,(e=>e.test(a))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,(e=>e.test(a)));let l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;return{value:l,rest:t.slice(a.length)}}}n.d(t,{A:()=>i})},97174:(e,t,n)=>{"use strict";function i(e){return(t,n={})=>{const i=t.match(e.matchPattern);if(!i)return null;const o=i[0],r=t.match(e.parsePattern);if(!r)return null;let a=e.valueCallback?e.valueCallback(r[0]):r[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:t.slice(o.length)}}}n.d(t,{K:()=>i})},70043:(e,t,n)=>{"use strict";n.d(t,{af:()=>u});const i={lessThanXSeconds:{one:"minder as 'n sekonde",other:"minder as {{count}} sekondes"},xSeconds:{one:"1 sekonde",other:"{{count}} sekondes"},halfAMinute:"'n halwe minuut",lessThanXMinutes:{one:"minder as 'n minuut",other:"minder as {{count}} minute"},xMinutes:{one:"'n minuut",other:"{{count}} minute"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} ure"},xHours:{one:"1 uur",other:"{{count}} ure"},xDays:{one:"1 dag",other:"{{count}} dae"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weke"},xWeeks:{one:"1 week",other:"{{count}} weke"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maande"},xMonths:{one:"1 maand",other:"{{count}} maande"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer as 1 jaar",other:"meer as {{count}} jaar"},almostXYears:{one:"byna 1 jaar",other:"byna {{count}} jaar"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"yyyy/MM/dd"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'verlede' eeee 'om' p",yesterday:"'gister om' p",today:"'vandag om' p",tomorrow:"'môre om' p",nextWeek:"eeee 'om' p",other:"P"};var s=n(62775);const c={ordinalNumber:e=>{const t=Number(e),n=t%100;if(n<20)switch(n){case 1:case 8:return t+"ste";default:return t+"de"}return t+"ste"},era:(0,s.o)({values:{narrow:["vC","nC"],abbreviated:["vC","nC"],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ste kwartaal","2de kwartaal","3de kwartaal","4de kwartaal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],wide:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","D","W","D","V","S"],short:["So","Ma","Di","Wo","Do","Vr","Sa"],abbreviated:["Son","Maa","Din","Woe","Don","Vry","Sat"],wide:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"middaguur",morning:"oggend",afternoon:"middag",evening:"laat middag",night:"aand"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},abbreviated:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"},wide:{am:"vm",pm:"nm",midnight:"middernag",noon:"uur die middag",morning:"uur die oggend",afternoon:"uur die middag",evening:"uur die aand",night:"uur die aand"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"af",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"oor "+o:o+" gelede":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(ste|de)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?C\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](st|d)e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(Jan|Feb|Mrt|Apr|Mei|Jun|Jul|Aug|Sep|Okt|Nov|Dec)\.?/i,wide:/^(Januarie|Februarie|Maart|April|Mei|Junie|Julie|Augustus|September|Oktober|November|Desember)/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:[/^Jan/i,/^Feb/i,/^Mrt/i,/^Apr/i,/^Mei/i,/^Jun/i,/^Jul/i,/^Aug/i,/^Sep/i,/^Okt/i,/^Nov/i,/^Dec/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[smdwv]/i,short:/^(So|Ma|Di|Wo|Do|Vr|Sa)/i,abbreviated:/^(Son|Maa|Din|Woe|Don|Vry|Sat)/i,wide:/^(Sondag|Maandag|Dinsdag|Woensdag|Donderdag|Vrydag|Saterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^S/i,/^M/i,/^D/i,/^W/i,/^D/i,/^V/i,/^S/i],any:[/^So/i,/^Ma/i,/^Di/i,/^Wo/i,/^Do/i,/^Vr/i,/^Sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(vm|nm|middernag|(?:uur )?die (oggend|middag|aand))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^vm/i,pm:/^nm/i,midnight:/^middernag/i,noon:/^middaguur/i,morning:/oggend/i,afternoon:/middag/i,evening:/laat middag/i,night:/aand/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},3091:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});const i={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية",two:"ثانيتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نص دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقايق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة",two:"دقيقتين",threeToTen:"{{count}} دقايق",other:"{{count}} دقيقة"},aboutXHours:{one:"حوالي ساعة",two:"حوالي ساعتين",threeToTen:"حوالي {{count}} ساعات",other:"حوالي {{count}} ساعة"},xHours:{one:"ساعة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"حوالي أسبوع",two:"حوالي أسبوعين",threeToTen:"حوالي {{count}} أسابيع",other:"حوالي {{count}} أسبوع"},xWeeks:{one:"أسبوع",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"حوالي شهر",two:"حوالي شهرين",threeToTen:"حوالي {{count}} أشهر",other:"حوالي {{count}} شهر"},xMonths:{one:"شهر",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"حوالي سنة",two:"حوالي سنتين",threeToTen:"حوالي {{count}} سنين",other:"حوالي {{count}} سنة"},xYears:{one:"عام",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنين",other:"أكثر من {{count}} سنة"},almostXYears:{one:"عام تقريبًا",two:"عامين تقريبًا",threeToTen:"{{count}} أعوام تقريبًا",other:"{{count}} عام تقريبًا"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE، do MMMM y",long:"do MMMM y",medium:"dd/MMM/y",short:"d/MM/y"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} 'الساعة' {{time}}",long:"{{date}} 'الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'اللي جاي الساعة' p",yesterday:"'إمبارح الساعة' p",today:"'النهاردة الساعة' p",tomorrow:"'بكرة الساعة' p",nextWeek:"eeee 'الساعة' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>String(e),era:(0,s.o)({values:{narrow:["ق","ب"],abbreviated:["ق.م","ب.م"],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهراً",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",morning:"في الصباح",noon:"ظهراً",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"ar-EG",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:2===t?r.two:t<=10?r.threeToTen.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?`في خلال ${o}`:`منذ ${o}`:o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)/,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,l.A)({matchPatterns:{narrow:/^(ق|ب)/g,abbreviated:/^(ق.م|ب.م)/g,wide:/^(قبل الميلاد|بعد الميلاد)/g},defaultMatchWidth:"wide",parsePatterns:{any:[/^ق/g,/^ب/g]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/,abbreviated:/^ر[1234]/,wide:/^الربع (الأول|الثاني|الثالث|الرابع)/},defaultMatchWidth:"wide",parsePatterns:{wide:[/الربع الأول/,/الربع الثاني/,/الربع الثالث/,/الربع الرابع/],any:[/1/,/2/,/3/,/4/]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(ي|ف|م|أ|س|ن|د)/,abbreviated:/^(ينا|فبر|مارس|أبريل|مايو|يونـ|يولـ|أغسـ|سبتـ|أكتـ|نوفـ|ديسـ)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/,/^ف/,/^م/,/^أ/,/^م/,/^ي/,/^ي/,/^أ/,/^س/,/^أ/,/^ن/,/^د/],any:[/^ينا/,/^فبر/,/^مارس/,/^أبريل/,/^مايو/,/^يون/,/^يول/,/^أغس/,/^سبت/,/^أكت/,/^نوف/,/^ديس/]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^(ح|ن|ث|ر|خ|ج|س)/,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/,/^ن/,/^ث/,/^ر/,/^خ/,/^ج/,/^س/],any:[/أحد/,/اثنين/,/ثلاثاء/,/أربعاء/,/خميس/,/جمعة/,/سبت/]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(ص|م|ن|ظ|في الصباح|بعد الظهر|في المساء|في الليل)/,abbreviated:/^(ص|م|نصف الليل|ظهراً|في الصباح|بعد الظهر|في المساء|في الليل)/,wide:/^(ص|م|نصف الليل|في الصباح|ظهراً|بعد الظهر|في المساء|في الليل)/,any:/^(ص|م|صباح|ظهر|مساء|ليل)/},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ص/,pm:/^م/,midnight:/^ن/,noon:/^ظ/,morning:/^ص/,afternoon:/^بعد/,evening:/^م/,night:/^ل/}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},17176:(e,t,n)=>{"use strict";n.d(t,{E:()=>d});const i={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"};var s=n(62775);const c={ordinalNumber:e=>String(e),era:(0,s.o)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,s.o)({values:{narrow:["ي","ف","م","أ","م","ي","ي","غ","ش","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","ماي","يونـ","يولـ","غشت","شتنـ","أكتـ","نونـ","دجنـ"],wide:["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})};var l=n(97174),u=n(50469);const d={code:"ar-MA",formatDistance:(e,t,n)=>{n=n||{};const o=i[e];let r;return r="string"==typeof o?o:1===t?o.one:2===t?o.two:t<=10?o.threeToTen.replace("{{count}}",String(t)):o.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?"في خلال "+r:"منذ "+r:r},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,l.K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:(0,u.A)({matchPatterns:{narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|غش|شت|أك|ن|د)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^غ/i,/^ش/i,/^أ/i,/^ن/i,/^د/i],any:[/^ين/i,/^فب/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^غشت/i,/^ش/i,/^أك/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|إثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|إثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الإثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الإثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^إث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({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:1,firstWeekContainsDate:1}}},6924:(e,t,n)=>{"use strict";n.d(t,{G:()=>u});const i={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"};var s=n(62775);const c={ordinalNumber:e=>String(e),era:(0,s.o)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["ينا","فبر","مارس","أبريل","مايو","يونـ","يولـ","أغسـ","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"ar-SA",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:2===t?r.two:t<=10?r.threeToTen.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"في خلال "+o:"منذ "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[يفمأمسند]/i,abbreviated:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,wide:/^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^ين/i,/^ف/i,/^مار/i,/^أب/i,/^ماي/i,/^يون/i,/^يول/i,/^أغ/i,/^س/i,/^أك/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({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}}},91985:(e,t,n)=>{"use strict";n.d(t,{ar:()=>d});const i={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانيتان",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتان",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريبا",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتان",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومان",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريبا",two:"أسبوعين تقريبا",threeToTen:"{{count}} أسابيع تقريبا",other:"{{count}} أسبوعا تقريبا"},xWeeks:{one:"أسبوع واحد",two:"أسبوعان",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوعا"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريبا",threeToTen:"{{count}} أشهر تقريبا",other:"{{count}} شهرا تقريباً"},xMonths:{one:"شهر واحد",two:"شهران",threeToTen:"{{count}} أشهر",other:"{{count}} شهرا"},aboutXYears:{one:"سنة واحدة تقريباً",two:"سنتين تقريبا",threeToTen:"{{count}} سنوات تقريباً",other:"{{count}} سنة تقريباً"},xYears:{one:"سنة واحد",two:"سنتان",threeToTen:"{{count}} سنوات",other:"{{count}} سنة"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنوات",other:"أكثر من {{count}} سنة"},almostXYears:{one:"ما يقارب سنة واحدة",two:"ما يقارب سنتين",threeToTen:"ما يقارب {{count}} سنوات",other:"ما يقارب {{count}} سنة"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"};var s=n(62775);const c={ordinalNumber:e=>String(e),era:(0,s.o)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"}},defaultFormattingWidth:"wide"})};var l=n(97174),u=n(50469);const d={code:"ar",formatDistance:(e,t,n)=>{const o=i[e];let r;return r="string"==typeof o?o:1===t?o.one:2===t?o.two:t<=10?o.threeToTen.replace("{{count}}",String(t)):o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"خلال "+r:"منذ "+r:r},formatLong:r,formatRelative:e=>a[e],localize:c,match:{ordinalNumber:(0,l.K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},defaultMatchWidth:"wide",parsePatterns:{any:[/قبل/,/بعد/]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^يناير/i,/^فبراير/i,/^مارس/i,/^أبريل/i,/^مايو/i,/^يونيو/i,/^يوليو/i,/^أغسطس/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},defaultParseWidth:"any"})},options:{weekStartsOn:6,firstWeekContainsDate:1}}},72653:(e,t,n)=>{"use strict";n.d(t,{az:()=>d});const i={lessThanXSeconds:{one:"bir saniyədən az",other:"{{count}} bir saniyədən az"},xSeconds:{one:"1 saniyə",other:"{{count}} saniyə"},halfAMinute:"yarım dəqiqə",lessThanXMinutes:{one:"bir dəqiqədən az",other:"{{count}} bir dəqiqədən az"},xMinutes:{one:"bir dəqiqə",other:"{{count}} dəqiqə"},aboutXHours:{one:"təxminən 1 saat",other:"təxminən {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"təxminən 1 həftə",other:"təxminən {{count}} həftə"},xWeeks:{one:"1 həftə",other:"{{count}} həftə"},aboutXMonths:{one:"təxminən 1 ay",other:"təxminən {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"təxminən 1 il",other:"təxminən {{count}} il"},xYears:{one:"1 il",other:"{{count}} il"},overXYears:{one:"1 ildən çox",other:"{{count}} ildən çox"},almostXYears:{one:"demək olar ki 1 il",other:"demək olar ki {{count}} il"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'sonuncu' eeee p -'də'",yesterday:"'dünən' p -'də'",today:"'bugün' p -'də'",tomorrow:"'sabah' p -'də'",nextWeek:"eeee p -'də'",other:"P"};var s=n(62775);const c={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},l={ordinalNumber:(e,t)=>{const n=Number(e),i=(e=>{if(0===e)return e+"-ıncı";const t=e%10,n=e%100-t,i=e>=100?100:null;return c[t]?c[t]:c[n]?c[n]:null!==i?c[i]:""})(n);return n+i},era:(0,s.o)({values:{narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["Y","F","M","A","M","İ","İ","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],short:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],abbreviated:["Baz","Baz.e","Çər.a","Çər","Cüm.a","Cüm","Şə"],wide:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"am",pm:"pm",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},defaultFormattingWidth:"wide"})};var u=n(50469);const d={code:"az",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+" sonra":o+" əvvəl":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:l,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(b|a)$/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i,wide:/^(bizim eradan əvvəl|bizim era)$/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b$/i,/^(a|c)$/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[(?-i)yfmaisond]$/i,abbreviated:/^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,wide:/^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^[(?-i)y]$/i,/^[(?-i)f]$/i,/^[(?-i)m]$/i,/^[(?-i)a]$/i,/^[(?-i)m]$/i,/^[(?-i)i]$/i,/^[(?-i)i]$/i,/^[(?-i)a]$/i,/^[(?-i)s]$/i,/^[(?-i)o]$/i,/^[(?-i)n]$/i,/^[(?-i)d]$/i],abbreviated:[/^Yan$/i,/^Fev$/i,/^Mar$/i,/^Apr$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avg$/i,/^Sen$/i,/^Okt$/i,/^Noy$/i,/^Dek$/i],wide:[/^Yanvar$/i,/^Fevral$/i,/^Mart$/i,/^Aprel$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avgust$/i,/^Sentyabr$/i,/^Oktyabr$/i,/^Noyabr$/i,/^Dekabr$/i]},defaultParseWidth:"narrow"}),day:(0,u.A)({matchPatterns:{narrow:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,short:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,abbreviated:/^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i,wide:/^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i],abbreviated:[/^Baz$/i,/^Baz\.e$/i,/^Çər\.a$/i,/^Çər$/i,/^Cüm\.a$/i,/^Cüm$/i,/^Şə$/i],wide:[/^Bazar$/i,/^Bazar ertəsi$/i,/^Çərşənbə axşamı$/i,/^Çərşənbə$/i,/^Cümə axşamı$/i,/^Cümə$/i,/^Şənbə$/i],any:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,any:/^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a$/i,pm:/^p$/i,midnight:/^gecəyarı$/i,noon:/^gün$/i,morning:/səhər$/i,afternoon:/gündüz$/i,evening:/axşam$/i,night:/gecə$/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},94222:(e,t,n)=>{"use strict";n.d(t,{bg:()=>m});const i={lessThanXSeconds:{one:"по-малко от секунда",other:"по-малко от {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половин минута",lessThanXMinutes:{one:"по-малко от минута",other:"по-малко от {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"около час",other:"около {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дни"},aboutXWeeks:{one:"около седмица",other:"около {{count}} седмици"},xWeeks:{one:"1 седмица",other:"{{count}} седмици"},aboutXMonths:{one:"около месец",other:"около {{count}} месеца"},xMonths:{one:"1 месец",other:"{{count}} месеца"},aboutXYears:{one:"около година",other:"около {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"над година",other:"над {{count}} години"},almostXYears:{one:"почти година",other:"почти {{count}} години"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{any:"{{date}} {{time}}"},defaultWidth:"any"})};var a=n(61288),s=n(72849);const c=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function l(e){const t=c[e];return 2===e?"'във "+t+" в' p":"'в "+t+" в' p"}const u={lastWeek:(e,t,n)=>{const i=(0,s.a)(e),o=i.getDay();return(0,a.R)(i,t,n)?l(o):function(e){const t=c[e];switch(e){case 0:case 3:case 6:return"'миналата "+t+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+t+" в' p"}}(o)},yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:(e,t,n)=>{const i=(0,s.a)(e),o=i.getDay();return(0,a.R)(i,t,n)?l(o):function(e){const t=c[e];switch(e){case 0:case 3:case 6:return"'следващата "+t+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+t+" в' p"}}(o)},other:"P"};var d=n(62775);function p(e,t,n,i,o){const r=function(e){return"quarter"===e}(t)?o:function(e){return"year"===e||"week"===e||"minute"===e||"second"===e}(t)?i:n;return e+"-"+r}const h={ordinalNumber:(e,t)=>{const n=Number(e),i=t?.unit;if(0===n)return p(0,i,"ев","ева","ево");if(n%1e3==0)return p(n,i,"ен","на","но");if(n%100==0)return p(n,i,"тен","тна","тно");const o=n%100;if(o>20||o<10)switch(o%10){case 1:return p(n,i,"ви","ва","во");case 2:return p(n,i,"ри","ра","ро");case 7:case 8:return p(n,i,"ми","ма","мо")}return p(n,i,"ти","та","то")},era:(0,d.o)({values:{narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},defaultWidth:"wide"}),quarter:(0,d.o)({values:{narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,d.o)({values:{abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},defaultWidth:"wide"}),day:(0,d.o)({values:{narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},defaultWidth:"wide"}),dayPeriod:(0,d.o)({values:{wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}},defaultWidth:"wide"})};var f=n(50469);const m={code:"bg",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"след "+o:"преди "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=u[e];return"function"==typeof o?o(t,n,i):o},localize:h,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,f.A)({matchPatterns:{narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^п/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,f.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,f.A)({matchPatterns:{abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},defaultParseWidth:"any"}),day:(0,f.A)({matchPatterns:{narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,f.A)({matchPatterns:{any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},96644:(e,t,n)=>{"use strict";n.d(t,{bn:()=>p});var i=n(62775);const o={locale:{1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},number:{"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"}};function r(e){return e.toString().replace(/\d/g,(function(e){return o.locale[e]}))}const a={ordinalNumber:(e,t)=>{const n=Number(e),i=r(n),o=t?.unit;if("date"===o)return function(e,t){if(e>18&&e<=31)return t+"শে";switch(e){case 1:return t+"লা";case 2:case 3:return t+"রা";case 4:return t+"ঠা";default:return t+"ই"}}(n,i);if(n>10||0===n)return i+"তম";switch(n%10){case 2:case 3:return i+"য়";case 4:return i+"র্থ";case 6:return i+"ষ্ঠ";default:return i+"ম"}},era:(0,i.o)({values:{narrow:["খ্রিঃপূঃ","খ্রিঃ"],abbreviated:["খ্রিঃপূর্ব","খ্রিঃ"],wide:["খ্রিস্টপূর্ব","খ্রিস্টাব্দ"]},defaultWidth:"wide"}),quarter:(0,i.o)({values:{narrow:["১","২","৩","৪"],abbreviated:["১ত্রৈ","২ত্রৈ","৩ত্রৈ","৪ত্রৈ"],wide:["১ম ত্রৈমাসিক","২য় ত্রৈমাসিক","৩য় ত্রৈমাসিক","৪র্থ ত্রৈমাসিক"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,i.o)({values:{narrow:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],abbreviated:["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্ট","অক্টো","নভে","ডিসে"],wide:["জানুয়ারি","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"]},defaultWidth:"wide"}),day:(0,i.o)({values:{narrow:["র","সো","ম","বু","বৃ","শু","শ"],short:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],abbreviated:["রবি","সোম","মঙ্গল","বুধ","বৃহ","শুক্র","শনি"],wide:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার ","শুক্রবার","শনিবার"]},defaultWidth:"wide"}),dayPeriod:(0,i.o)({values:{narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},defaultWidth:"wide",formattingValues:{narrow:{am:"পূ",pm:"অপ",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},abbreviated:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"},wide:{am:"পূর্বাহ্ন",pm:"অপরাহ্ন",midnight:"মধ্যরাত",noon:"মধ্যাহ্ন",morning:"সকাল",afternoon:"বিকাল",evening:"সন্ধ্যা",night:"রাত"}},defaultFormattingWidth:"wide"})},s={lessThanXSeconds:{one:"প্রায় ১ সেকেন্ড",other:"প্রায় {{count}} সেকেন্ড"},xSeconds:{one:"১ সেকেন্ড",other:"{{count}} সেকেন্ড"},halfAMinute:"আধ মিনিট",lessThanXMinutes:{one:"প্রায় ১ মিনিট",other:"প্রায় {{count}} মিনিট"},xMinutes:{one:"১ মিনিট",other:"{{count}} মিনিট"},aboutXHours:{one:"প্রায় ১ ঘন্টা",other:"প্রায় {{count}} ঘন্টা"},xHours:{one:"১ ঘন্টা",other:"{{count}} ঘন্টা"},xDays:{one:"১ দিন",other:"{{count}} দিন"},aboutXWeeks:{one:"প্রায় ১ সপ্তাহ",other:"প্রায় {{count}} সপ্তাহ"},xWeeks:{one:"১ সপ্তাহ",other:"{{count}} সপ্তাহ"},aboutXMonths:{one:"প্রায় ১ মাস",other:"প্রায় {{count}} মাস"},xMonths:{one:"১ মাস",other:"{{count}} মাস"},aboutXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"},xYears:{one:"১ বছর",other:"{{count}} বছর"},overXYears:{one:"১ বছরের বেশি",other:"{{count}} বছরের বেশি"},almostXYears:{one:"প্রায় ১ বছর",other:"প্রায় {{count}} বছর"}};var c=n(84697);const l={date:(0,c.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,c.k)({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:(0,c.k)({formats:{full:"{{date}} {{time}} 'সময়'",long:"{{date}} {{time}} 'সময়'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'গত' eeee 'সময়' p",yesterday:"'গতকাল' 'সময়' p",today:"'আজ' 'সময়' p",tomorrow:"'আগামীকাল' 'সময়' p",nextWeek:"eeee 'সময়' p",other:"P"};var d=n(50469);const p={code:"bn",formatDistance:(e,t,n)=>{let i;const o=s[e];return i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",r(t)),n?.addSuffix?n.comparison&&n.comparison>0?i+" এর মধ্যে":i+" আগে":i},formatLong:l,formatRelative:(e,t,n,i)=>u[e],localize:a,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(ম|য়|র্থ|ষ্ঠ|শে|ই|তম)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.A)({matchPatterns:{narrow:/^(খ্রিঃপূঃ|খ্রিঃ)/i,abbreviated:/^(খ্রিঃপূর্ব|খ্রিঃ)/i,wide:/^(খ্রিস্টপূর্ব|খ্রিস্টাব্দ)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^খ্রিঃপূঃ/i,/^খ্রিঃ/i],abbreviated:[/^খ্রিঃপূর্ব/i,/^খ্রিঃ/i],wide:[/^খ্রিস্টপূর্ব/i,/^খ্রিস্টাব্দ/i]},defaultParseWidth:"wide"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[১২৩৪]/i,abbreviated:/^[১২৩৪]ত্রৈ/i,wide:/^[১২৩৪](ম|য়|র্থ)? ত্রৈমাসিক/i},defaultMatchWidth:"wide",parsePatterns:{any:[/১/i,/২/i,/৩/i,/৪/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,abbreviated:/^(জানু|ফেব্রু|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্ট|অক্টো|নভে|ডিসে)/i,wide:/^(জানুয়ারি|ফেব্রুয়ারি|মার্চ|এপ্রিল|মে|জুন|জুলাই|আগস্ট|সেপ্টেম্বর|অক্টোবর|নভেম্বর|ডিসেম্বর)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^জানু/i,/^ফেব্রু/i,/^মার্চ/i,/^এপ্রিল/i,/^মে/i,/^জুন/i,/^জুলাই/i,/^আগস্ট/i,/^সেপ্ট/i,/^অক্টো/i,/^নভে/i,/^ডিসে/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^(র|সো|ম|বু|বৃ|শু|শ)+/i,short:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,abbreviated:/^(রবি|সোম|মঙ্গল|বুধ|বৃহ|শুক্র|শনি)+/i,wide:/^(রবিবার|সোমবার|মঙ্গলবার|বুধবার|বৃহস্পতিবার |শুক্রবার|শনিবার)+/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^র/i,/^সো/i,/^ম/i,/^বু/i,/^বৃ/i,/^শু/i,/^শ/i],short:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],abbreviated:[/^রবি/i,/^সোম/i,/^মঙ্গল/i,/^বুধ/i,/^বৃহ/i,/^শুক্র/i,/^শনি/i],wide:[/^রবিবার/i,/^সোমবার/i,/^মঙ্গলবার/i,/^বুধবার/i,/^বৃহস্পতিবার /i,/^শুক্রবার/i,/^শনিবার/i]},defaultParseWidth:"wide"}),dayPeriod:(0,d.A)({matchPatterns:{narrow:/^(পূ|অপ|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,abbreviated:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i,wide:/^(পূর্বাহ্ন|অপরাহ্ন|মধ্যরাত|মধ্যাহ্ন|সকাল|বিকাল|সন্ধ্যা|রাত)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^পূ/i,pm:/^অপ/i,midnight:/^মধ্যরাত/i,noon:/^মধ্যাহ্ন/i,morning:/সকাল/i,afternoon:/বিকাল/i,evening:/সন্ধ্যা/i,night:/রাত/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},87584:(e,t,n)=>{"use strict";n.d(t,{bs:()=>u});const i={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 sedmicu",withPrepositionAgo:"oko 1 sedmicu",withPrepositionIn:"oko 1 sedmicu"},dual:"oko {{count}} sedmice",other:"oko {{count}} sedmice"},xWeeks:{one:{standalone:"1 sedmicu",withPrepositionAgo:"1 sedmicu",withPrepositionIn:"1 sedmicu"},dual:"{{count}} sedmice",other:"{{count}} sedmice"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:e=>{switch(e.getDay()){case 0:return"'prošle nedjelje u' p";case 3:return"'prošle srijede u' p";case 6:return"'prošle subote u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'juče u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'sljedeće nedjelje u' p";case 3:return"'sljedeću srijedu u' p";case 6:return"'sljedeću subotu u' p";default:return"'sljedeći' EEEE 'u' p"}},other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e);return String(n)+"."},era:(0,s.o)({values:{narrow:["pr.n.e.","AD"],abbreviated:["pr. Hr.","po. Hr."],wide:["Prije Hrista","Poslije Hrista"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},defaultWidth:"wide",formattingValues:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],wide:["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar"]},defaultFormattingWidth:"wide"}),day:(0,s.o)({values:{narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sre","čet","pet","sub"],abbreviated:["ned","pon","uto","sre","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"popodne",evening:"uveče",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutru",afternoon:"poslije podne",evening:"uveče",night:"noću"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"bs",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?n?.addSuffix?n.comparison&&n.comparison>0?r.one.withPrepositionIn:r.one.withPrepositionAgo:r.one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?r.dual.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"za "+o:"prije "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=a[e];return"function"==typeof o?o(t):o},localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Hr\.|po\.\s?Hr\.)/i,wide:/^(Prije Hrista|prije nove ere|Poslije Hrista|nova era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|nova)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(jan|feb|mar|apr|maj|jun|jul|avg|sep|okt|nov|dec)/i,wide:/^((januar|januara)|(februar|februara)|(mart|marta)|(april|aprila)|(maj|maja)|(juni|juna)|(juli|jula)|(avgust|avgusta)|(septembar|septembra)|(oktobar|oktobra)|(novembar|novembra)|(decembar|decembra))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^avg/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sre|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/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:(0,l.A)({matchPatterns:{any:/^(am|pm|ponoc|ponoć|(po)?podne|uvece|uveče|noću|poslije podne|ujutru)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(uvece|uveče)/i,night:/(nocu|noću)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},63514:(e,t,n)=>{"use strict";n.d(t,{ca:()=>d});const i={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"més d'un any",eleven:"més d'onze anys",other:"més de {{count}} anys"},almostXYears:{one:"gairebé un any",other:"gairebé {{count}} anys"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'demà a la' p",nextWeek:"eeee 'a la' p",other:"P"},s={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'demà a les' p",nextWeek:"eeee 'a les' p",other:"P"};var c=n(62775);const l={ordinalNumber:(e,t)=>{const n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:case 3:return n+"r";case 2:return n+"n";case 4:return n+"t"}return n+"è"},era:(0,c.o)({values:{narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","després de Crist"]},defaultWidth:"wide"}),quarter:(0,c.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.o)({values:{narrow:["GN","FB","MÇ","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},defaultWidth:"wide"}),day:(0,c.o)({values:{narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},defaultWidth:"wide"}),dayPeriod:(0,c.o)({values:{narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"matí",afternoon:"tarda",evening:"vespre",night:"nit"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del matí",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},defaultFormattingWidth:"wide"})};var u=n(50469);const d={code:"ca",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:11===t&&r.eleven?r.eleven:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"en "+o:"fa "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>1!==t.getHours()?s[e]:a[e],localize:l,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(è|r|n|r|t)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},defaultParseWidth:"wide"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},defaultParseWidth:"wide"}),day:(0,u.A)({matchPatterns:{narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},defaultParseWidth:"wide"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},16856:(e,t,n)=>{"use strict";n.d(t,{cs:()=>d});const i={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"před 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"před 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"před 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"před 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"1 týden",past:"před 1 týdnem",future:"za 1 týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"1 měsíc",past:"před 1 měsícem",future:"za 1 měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"1 rok",past:"před 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než 1 rok",past:"před více než 1 rokem",future:"za více než 1 rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],s={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:e=>{const t=e.getDay();return"'v "+a[t]+" o' p"},other:"P"};var c=n(62775);const l={ordinalNumber:(e,t)=>Number(e)+".",era:(0,c.o)({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:(0,c.o)({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.o)({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:(0,c.o)({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,c.o)({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})};var u=n(50469);const d={code:"cs",formatDistance:(e,t,n)=>{let o;const r=i[e];o="other"===r.type?r.other:1===t?r.one:t>1&&t<5?r.few:r.many;const a=!0===n?.addSuffix,s=n?.comparison;let c;return c=a&&-1===s?o.past:a&&1===s?o.future:o.regular,c.replace("{{count}}",String(t))},formatLong:r,formatRelative:(e,t)=>{const n=s[e];return"function"==typeof n?n(t):n},localize:l,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},54869:(e,t,n)=>{"use strict";n.d(t,{da:()=>u});const i={lessThanXSeconds:{one:"mindre end ét sekund",other:"mindre end {{count}} sekunder"},xSeconds:{one:"1 sekund",other:"{{count}} sekunder"},halfAMinute:"ét halvt minut",lessThanXMinutes:{one:"mindre end ét minut",other:"mindre end {{count}} minutter"},xMinutes:{one:"1 minut",other:"{{count}} minutter"},aboutXHours:{one:"cirka 1 time",other:"cirka {{count}} timer"},xHours:{one:"1 time",other:"{{count}} timer"},xDays:{one:"1 dag",other:"{{count}} dage"},aboutXWeeks:{one:"cirka 1 uge",other:"cirka {{count}} uger"},xWeeks:{one:"1 uge",other:"{{count}} uger"},aboutXMonths:{one:"cirka 1 måned",other:"cirka {{count}} måneder"},xMonths:{one:"1 måned",other:"{{count}} måneder"},aboutXYears:{one:"cirka 1 år",other:"cirka {{count}} år"},xYears:{one:"1 år",other:"{{count}} år"},overXYears:{one:"over 1 år",other:"over {{count}} år"},almostXYears:{one:"næsten 1 år",other:"næsten {{count}} år"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE 'den' d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'kl'. {{time}}",long:"{{date}} 'kl'. {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'sidste' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"'på' eeee 'kl.' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["fvt","vt"],abbreviated:["f.v.t.","v.t."],wide:["før vesterlandsk tidsregning","vesterlandsk tidsregning"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["1. kvt.","2. kvt.","3. kvt.","4. kvt."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn.","man.","tir.","ons.","tor.","fre.","lør."],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"morgen",afternoon:"eftermiddag",evening:"aften",night:"nat"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},abbreviated:{am:"AM",pm:"PM",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnat",noon:"middag",morning:"om morgenen",afternoon:"om eftermiddagen",evening:"om aftenen",night:"om natten"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"da",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"om "+o:o+" siden":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(fKr|fvt|eKr|vt)/i,abbreviated:/^(f\.Kr\.?|f\.v\.t\.?|e\.Kr\.?|v\.t\.)/i,wide:/^(f.Kr.|før vesterlandsk tidsregning|e.Kr.|vesterlandsk tidsregning)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^(v|e)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]. kvt\./i,wide:/^[1234]\.? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mar.|apr.|maj|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januar|februar|marts|april|maj|juni|juli|august|september|oktober|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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(søn.|man.|tir.|ons.|tor.|fre.|lør.)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^o/i,/^t/i,/^f/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i,any:/^([ap]\.?\s?m\.?|midnat|middag|(om) (morgenen|eftermiddagen|aftenen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/midnat/i,noon:/middag/i,morning:/morgen/i,afternoon:/eftermiddag/i,evening:/aften/i,night:/nat/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},96132:(e,t,n)=>{"use strict";n.d(t,{de:()=>p});const i={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"};var s=n(62775);const c={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},l={narrow:c.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:c.wide},u={ordinalNumber:e=>Number(e)+".",era:(0,s.o)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:c,formattingValues:l,defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})};var d=n(50469);const p={code:"de",formatDistance:(e,t,n)=>{let o;const r=n?.addSuffix?i[e].withPreposition:i[e].standalone;return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:"vor "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:u,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,d.A)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/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:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},24808:(e,t,n)=>{"use strict";n.d(t,{el:()=>u});const i={lessThanXSeconds:{one:"λιγότερο από ένα δευτερόλεπτο",other:"λιγότερο από {{count}} δευτερόλεπτα"},xSeconds:{one:"1 δευτερόλεπτο",other:"{{count}} δευτερόλεπτα"},halfAMinute:"μισό λεπτό",lessThanXMinutes:{one:"λιγότερο από ένα λεπτό",other:"λιγότερο από {{count}} λεπτά"},xMinutes:{one:"1 λεπτό",other:"{{count}} λεπτά"},aboutXHours:{one:"περίπου 1 ώρα",other:"περίπου {{count}} ώρες"},xHours:{one:"1 ώρα",other:"{{count}} ώρες"},xDays:{one:"1 ημέρα",other:"{{count}} ημέρες"},aboutXWeeks:{one:"περίπου 1 εβδομάδα",other:"περίπου {{count}} εβδομάδες"},xWeeks:{one:"1 εβδομάδα",other:"{{count}} εβδομάδες"},aboutXMonths:{one:"περίπου 1 μήνας",other:"περίπου {{count}} μήνες"},xMonths:{one:"1 μήνας",other:"{{count}} μήνες"},aboutXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"},xYears:{one:"1 χρόνο",other:"{{count}} χρόνια"},overXYears:{one:"πάνω από 1 χρόνο",other:"πάνω από {{count}} χρόνια"},almostXYears:{one:"περίπου 1 χρόνο",other:"περίπου {{count}} χρόνια"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} - {{time}}",long:"{{date}} - {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:e=>6===e.getDay()?"'το προηγούμενο' eeee 'στις' p":"'την προηγούμενη' eeee 'στις' p",yesterday:"'χθες στις' p",today:"'σήμερα στις' p",tomorrow:"'αύριο στις' p",nextWeek:"eeee 'στις' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e),i=t?.unit;let o;return o="year"===i||"month"===i?"ος":"week"===i||"dayOfYear"===i||"day"===i||"hour"===i||"date"===i?"η":"ο",n+o},era:(0,s.o)({values:{narrow:["πΧ","μΧ"],abbreviated:["π.Χ.","μ.Χ."],wide:["προ Χριστού","μετά Χριστόν"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Τ1","Τ2","Τ3","Τ4"],wide:["1ο τρίμηνο","2ο τρίμηνο","3ο τρίμηνο","4ο τρίμηνο"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μάρ","Απρ","Μάι","Ιούν","Ιούλ","Αύγ","Σεπ","Οκτ","Νοέ","Δεκ"],wide:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"]},defaultWidth:"wide",formattingValues:{narrow:["Ι","Φ","Μ","Α","Μ","Ι","Ι","Α","Σ","Ο","Ν","Δ"],abbreviated:["Ιαν","Φεβ","Μαρ","Απρ","Μαΐ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],wide:["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου"]},defaultFormattingWidth:"wide"}),day:(0,s.o)({values:{narrow:["Κ","Δ","T","Τ","Π","Π","Σ"],short:["Κυ","Δε","Τρ","Τε","Πέ","Πα","Σά"],abbreviated:["Κυρ","Δευ","Τρί","Τετ","Πέμ","Παρ","Σάβ"],wide:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"πμ",pm:"μμ",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},abbreviated:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"},wide:{am:"π.μ.",pm:"μ.μ.",midnight:"μεσάνυχτα",noon:"μεσημέρι",morning:"πρωί",afternoon:"απόγευμα",evening:"βράδυ",night:"νύχτα"}},defaultWidth:"wide"})};var l=n(50469);const u={code:"el",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"σε "+o:o+" πριν":o},formatLong:r,formatRelative:(e,t)=>{const n=a[e];return"function"==typeof n?n(t):n},localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(ος|η|ο)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^π/i,/^(μ|κ)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ι/i,/^φ/i,/^μ/i,/^α/i,/^μ/i,/^ι/i,/^ι/i,/^α/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i],any:[/^ια/i,/^φ/i,/^μ[άα]ρ/i,/^απ/i,/^μ[άα][ιΐ]/i,/^ιο[ύυ]ν/i,/^ιο[ύυ]λ/i,/^α[ύυ]/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},47613:(e,t,n)=>{"use strict";n.d(t,{b:()=>l});var i=n(7505),o=n(75964),r=n(6060),a=n(37912),s=n(84697);const c={date:(0,s.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,s.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,s.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l={code:"en-GB",formatDistance:i.B,formatLong:c,formatRelative:o.o,localize:r.k,match:a.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},67017:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var i=n(7505),o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var a=n(75964),s=n(6060),c=n(37912);const l={code:"en-US",formatDistance:i.B,formatLong:r,formatRelative:a.o,localize:s.k,match:c.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},7505:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const i={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"}},o=(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}},75964:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o=(e,t,n,o)=>i[e]},6060:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var i=n(62775);const o={ordinalNumber:(e,t)=>{const n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,i.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,i.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:(0,i.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:(0,i.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","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,i.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"})}},37912:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var i=n(50469);const o={ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,i.A)({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:(0,i.A)({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:(0,i.A)({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:(0,i.A)({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:(0,i.A)({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"})}},2283:(e,t,n)=>{"use strict";n.d(t,{es:()=>p});const i={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},s={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"};var c=n(62775);const l={ordinalNumber:(e,t)=>Number(e)+"º",era:(0,c.o)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:(0,c.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,c.o)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,c.o)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,c.o)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})};var u=n(97174),d=n(50469);const p={code:"es",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>1!==t.getHours()?s[e]:a[e],localize:l,match:{ordinalNumber:(0,u.K)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},88593:(e,t,n)=>{"use strict";n.d(t,{et:()=>p});const i={lessThanXSeconds:{standalone:{one:"vähem kui üks sekund",other:"vähem kui {{count}} sekundit"},withPreposition:{one:"vähem kui ühe sekundi",other:"vähem kui {{count}} sekundi"}},xSeconds:{standalone:{one:"üks sekund",other:"{{count}} sekundit"},withPreposition:{one:"ühe sekundi",other:"{{count}} sekundi"}},halfAMinute:{standalone:"pool minutit",withPreposition:"poole minuti"},lessThanXMinutes:{standalone:{one:"vähem kui üks minut",other:"vähem kui {{count}} minutit"},withPreposition:{one:"vähem kui ühe minuti",other:"vähem kui {{count}} minuti"}},xMinutes:{standalone:{one:"üks minut",other:"{{count}} minutit"},withPreposition:{one:"ühe minuti",other:"{{count}} minuti"}},aboutXHours:{standalone:{one:"umbes üks tund",other:"umbes {{count}} tundi"},withPreposition:{one:"umbes ühe tunni",other:"umbes {{count}} tunni"}},xHours:{standalone:{one:"üks tund",other:"{{count}} tundi"},withPreposition:{one:"ühe tunni",other:"{{count}} tunni"}},xDays:{standalone:{one:"üks päev",other:"{{count}} päeva"},withPreposition:{one:"ühe päeva",other:"{{count}} päeva"}},aboutXWeeks:{standalone:{one:"umbes üks nädal",other:"umbes {{count}} nädalat"},withPreposition:{one:"umbes ühe nädala",other:"umbes {{count}} nädala"}},xWeeks:{standalone:{one:"üks nädal",other:"{{count}} nädalat"},withPreposition:{one:"ühe nädala",other:"{{count}} nädala"}},aboutXMonths:{standalone:{one:"umbes üks kuu",other:"umbes {{count}} kuud"},withPreposition:{one:"umbes ühe kuu",other:"umbes {{count}} kuu"}},xMonths:{standalone:{one:"üks kuu",other:"{{count}} kuud"},withPreposition:{one:"ühe kuu",other:"{{count}} kuu"}},aboutXYears:{standalone:{one:"umbes üks aasta",other:"umbes {{count}} aastat"},withPreposition:{one:"umbes ühe aasta",other:"umbes {{count}} aasta"}},xYears:{standalone:{one:"üks aasta",other:"{{count}} aastat"},withPreposition:{one:"ühe aasta",other:"{{count}} aasta"}},overXYears:{standalone:{one:"rohkem kui üks aasta",other:"rohkem kui {{count}} aastat"},withPreposition:{one:"rohkem kui ühe aasta",other:"rohkem kui {{count}} aasta"}},almostXYears:{standalone:{one:"peaaegu üks aasta",other:"peaaegu {{count}} aastat"},withPreposition:{one:"peaaegu ühe aasta",other:"peaaegu {{count}} aasta"}}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'kell' {{time}}",long:"{{date}} 'kell' {{time}}",medium:"{{date}}. {{time}}",short:"{{date}}. {{time}}"},defaultWidth:"full"})},a={lastWeek:"'eelmine' eeee 'kell' p",yesterday:"'eile kell' p",today:"'täna kell' p",tomorrow:"'homme kell' p",nextWeek:"'järgmine' eeee 'kell' p",other:"P"};var s=n(62775);const c={narrow:["J","V","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],wide:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"]},l={narrow:["P","E","T","K","N","R","L"],short:["P","E","T","K","N","R","L"],abbreviated:["pühap.","esmasp.","teisip.","kolmap.","neljap.","reede.","laup."],wide:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"]},u={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["e.m.a","m.a.j"],abbreviated:["e.m.a","m.a.j"],wide:["enne meie ajaarvamist","meie ajaarvamise järgi"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:c,defaultWidth:"wide",formattingValues:c,defaultFormattingWidth:"wide"}),day:(0,s.o)({values:l,defaultWidth:"wide",formattingValues:l,defaultFormattingWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},abbreviated:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"},wide:{am:"AM",pm:"PM",midnight:"kesköö",noon:"keskpäev",morning:"hommik",afternoon:"pärastlõuna",evening:"õhtu",night:"öö"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},abbreviated:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"},wide:{am:"AM",pm:"PM",midnight:"keskööl",noon:"keskpäeval",morning:"hommikul",afternoon:"pärastlõunal",evening:"õhtul",night:"öösel"}},defaultFormattingWidth:"wide"})};var d=n(50469);const p={code:"et",formatDistance:(e,t,n)=>{const o=n?.addSuffix?i[e].withPreposition:i[e].standalone;let r;return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?r+" pärast":r+" eest":r},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:u,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^\d+\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.A)({matchPatterns:{narrow:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,abbreviated:/^(e\.m\.a|m\.a\.j|eKr|pKr)/i,wide:/^(enne meie ajaarvamist|meie ajaarvamise järgi|enne Kristust|pärast Kristust)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^e/i,/^(m|p)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234](\.)? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^[jvmasond]/i,abbreviated:/^(jaan|veebr|märts|apr|mai|juuni|juuli|aug|sept|okt|nov|dets)/i,wide:/^(jaanuar|veebruar|märts|aprill|mai|juuni|juuli|august|september|oktoober|november|detsember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^v/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^v/i,/^mär/i,/^ap/i,/^mai/i,/^juun/i,/^juul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[petknrl]/i,short:/^[petknrl]/i,abbreviated:/^(püh?|esm?|tei?|kolm?|nel?|ree?|laup?)\.?/i,wide:/^(pühapäev|esmaspäev|teisipäev|kolmapäev|neljapäev|reede|laupäev)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^e/i,/^t/i,/^k/i,/^n/i,/^r/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{any:/^(am|pm|keskööl?|keskpäev(al)?|hommik(ul)?|pärastlõunal?|õhtul?|öö(sel)?)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^keskö/i,noon:/^keskp/i,morning:/hommik/i,afternoon:/pärastlõuna/i,evening:/õhtu/i,night:/öö/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},56708:(e,t,n)=>{"use strict";n.d(t,{eu:()=>d});const i={lessThanXSeconds:{one:"segundo bat baino gutxiago",other:"{{count}} segundo baino gutxiago"},xSeconds:{one:"1 segundo",other:"{{count}} segundo"},halfAMinute:"minutu erdi",lessThanXMinutes:{one:"minutu bat baino gutxiago",other:"{{count}} minutu baino gutxiago"},xMinutes:{one:"1 minutu",other:"{{count}} minutu"},aboutXHours:{one:"1 ordu gutxi gorabehera",other:"{{count}} ordu gutxi gorabehera"},xHours:{one:"1 ordu",other:"{{count}} ordu"},xDays:{one:"1 egun",other:"{{count}} egun"},aboutXWeeks:{one:"aste 1 inguru",other:"{{count}} aste inguru"},xWeeks:{one:"1 aste",other:"{{count}} astean"},aboutXMonths:{one:"1 hilabete gutxi gorabehera",other:"{{count}} hilabete gutxi gorabehera"},xMonths:{one:"1 hilabete",other:"{{count}} hilabete"},aboutXYears:{one:"1 urte gutxi gorabehera",other:"{{count}} urte gutxi gorabehera"},xYears:{one:"1 urte",other:"{{count}} urte"},overXYears:{one:"1 urte baino gehiago",other:"{{count}} urte baino gehiago"},almostXYears:{one:"ia 1 urte",other:"ia {{count}} urte"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, y'ko' MMMM'ren' d'a' y'ren'",long:"y'ko' MMMM'ren' d'a'",medium:"y MMM d",short:"yy/MM/dd"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'tan' {{time}}",long:"{{date}} 'tan' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'joan den' eeee, LT",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},s={lastWeek:"'joan den' eeee, p",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"};var c=n(62775);const l={ordinalNumber:(e,t)=>Number(e)+".",era:(0,c.o)({values:{narrow:["k.a.","k.o."],abbreviated:["k.a.","k.o."],wide:["kristo aurretik","kristo ondoren"]},defaultWidth:"wide"}),quarter:(0,c.o)({values:{narrow:["1","2","3","4"],abbreviated:["1H","2H","3H","4H"],wide:["1. hiruhilekoa","2. hiruhilekoa","3. hiruhilekoa","4. hiruhilekoa"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.o)({values:{narrow:["u","o","m","a","m","e","u","a","i","u","a","a"],abbreviated:["urt","ots","mar","api","mai","eka","uzt","abu","ira","urr","aza","abe"],wide:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"]},defaultWidth:"wide"}),day:(0,c.o)({values:{narrow:["i","a","a","a","o","o","l"],short:["ig","al","as","az","og","or","lr"],abbreviated:["iga","ast","ast","ast","ost","ost","lar"],wide:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"]},defaultWidth:"wide"}),dayPeriod:(0,c.o)({values:{narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"}},defaultFormattingWidth:"wide"})};var u=n(50469);const d={code:"eu",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"en "+o:"duela "+o:o},formatLong:r,formatRelative:(e,t)=>1!==t.getHours()?s[e]:a[e],localize:l,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(k.a.|k.o.)/i,abbreviated:/^(k.a.|k.o.)/i,wide:/^(kristo aurretik|kristo ondoren)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^k.a./i,/^k.o./i],abbreviated:[/^(k.a.)/i,/^(k.o.)/i],wide:[/^(kristo aurretik)/i,/^(kristo ondoren)/i]},defaultParseWidth:"wide"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]H/i,wide:/^[1234](.)? hiruhilekoa/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[uomaei]/i,abbreviated:/^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i,wide:/^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^u/i,/^o/i,/^m/i,/^a/i,/^m/i,/^e/i,/^u/i,/^a/i,/^i/i,/^u/i,/^a/i,/^a/i],any:[/^urt/i,/^ots/i,/^mar/i,/^api/i,/^mai/i,/^eka/i,/^uzt/i,/^abu/i,/^ira/i,/^urr/i,/^aza/i,/^abe/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[iaol]/i,short:/^(ig|al|as|az|og|or|lr)/i,abbreviated:/^(iga|ast|ast|ast|ost|ost|lar)/i,wide:/^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^i/i,/^a/i,/^a/i,/^a/i,/^o/i,/^o/i,/^l/i],short:[/^ig/i,/^al/i,/^as/i,/^az/i,/^og/i,/^or/i,/^lr/i],abbreviated:[/^iga/i,/^ast/i,/^ast/i,/^ast/i,/^ost/i,/^ost/i,/^lar/i],wide:[/^igandea/i,/^astelehena/i,/^asteartea/i,/^asteazkena/i,/^osteguna/i,/^ostirala/i,/^larunbata/i]},defaultParseWidth:"wide"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,any:/^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a/i,pm:/^p/i,midnight:/^ge/i,noon:/^eg/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i},any:{am:/^a/i,pm:/^p/i,midnight:/^gauerdia/i,noon:/^eguerdia/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},64416:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});const i={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXWeeks:{one:"حدود 1 هفته",other:"حدود {{count}} هفته"},xWeeks:{one:"1 هفته",other:"{{count}} هفته"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>String(e),era:(0,s.o)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["سم1","سم2","سم3","سم4"],wide:["سهماهه 1","سهماهه 2","سهماهه 3","سهماهه 4"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمهشب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبلازظهر",pm:"بعدازظهر",midnight:"نیمهشب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمهشب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبلازظهر",pm:"بعدازظهر",midnight:"نیمهشب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"fa-IR",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"در "+o:o+" قبل":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^سم[1234]/i,wide:/^سهماهه [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^(ژ|ج)/i,/^ف/i,/^م/i,/^(آ|ا)/i,/^م/i,/^(ژ|ج)/i,/^(ج|ژ)/i,/^(آ|ا)/i,/^س/i,/^ا/i,/^ن/i,/^د/i],any:[/^ژا/i,/^ف/i,/^ما/i,/^آپ/i,/^(می|مه)/i,/^(ژوئن|جون)/i,/^(ژوئی|جول)/i,/^(اوت|آگ)/i,/^س/i,/^(اوک|اک)/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سهشنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^(ق|ق.ظ.|قبلازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(نیمهشب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:6,firstWeekContainsDate:1}}},79494:(e,t,n)=>{"use strict";function i(e){return e.replace(/sekuntia?/,"sekunnin")}function o(e){return e.replace(/minuuttia?/,"minuutin")}function r(e){return e.replace(/tuntia?/,"tunnin")}function a(e){return e.replace(/(viikko|viikkoa)/,"viikon")}function s(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function c(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}n.d(t,{fi:()=>y});const l={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:i},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:i},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:e=>"puolen minuutin"},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:o},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:o},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:r},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:r},xDays:{one:"päivä",other:"{{count}} päivää",futureTense:function(e){return e.replace(/päivää?/,"päivän")}},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:a},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:a},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:s},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:s},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:c},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:c},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:c},almostXYears:{one:"lähes vuosi",other:"lähes {{count}} vuotta",futureTense:c}};var u=n(84697);const d={date:(0,u.k)({formats:{full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},defaultWidth:"full"}),time:(0,u.k)({formats:{full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,u.k)({formats:{full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},p={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'tänään klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"};var h=n(62775);const f={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},m={narrow:f.narrow,abbreviated:f.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kesäkuuta","heinäkuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},_={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},g={narrow:_.narrow,short:_.short,abbreviated:_.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},E={ordinalNumber:(e,t)=>Number(e)+".",era:(0,h.o)({values:{narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","jälkeen ajanlaskun alun"]},defaultWidth:"wide"}),quarter:(0,h.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,h.o)({values:f,defaultWidth:"wide",formattingValues:m,defaultFormattingWidth:"wide"}),day:(0,h.o)({values:_,defaultWidth:"wide",formattingValues:g,defaultFormattingWidth:"wide"}),dayPeriod:(0,h.o)({values:{narrow:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiyö",noon:"keskipäivä",morning:"ap",afternoon:"ip",evening:"illalla",night:"yöllä"},wide:{am:"ap",pm:"ip",midnight:"keskiyöllä",noon:"keskipäivällä",morning:"aamupäivällä",afternoon:"iltapäivällä",evening:"illalla",night:"yöllä"}},defaultWidth:"wide"})};var v=n(50469);const y={code:"fi",formatDistance:(e,t,n)=>{const i=l[e],o=1===t?i.one:i.other.replace("{{count}}",String(t));return n?.addSuffix?n.comparison&&n.comparison>0?i.futureTense(o)+" kuluttua":o+" sitten":o},formatLong:d,formatRelative:(e,t,n,i)=>p[e],localize:E,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(\.)/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,v.A)({matchPatterns:{narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^e/i,/^j/i]},defaultParseWidth:"any"}),quarter:(0,v.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,v.A)({matchPatterns:{narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},defaultParseWidth:"any"}),day:(0,v.A)({matchPatterns:{narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,v.A)({matchPatterns:{narrow:/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},38408:(e,t,n)=>{"use strict";n.d(t,{V:()=>l});var i=n(7077),o=n(34568),r=n(14944),a=n(97556),s=n(84697);const c={date:(0,s.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,s.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,s.k)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l={code:"fr-CA",formatDistance:i.B,formatLong:c,formatRelative:o.o,localize:r.k,match:a.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},62224:(e,t,n)=>{"use strict";n.d(t,{fr:()=>l});var i=n(7077),o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var a=n(34568),s=n(14944),c=n(97556);const l={code:"fr",formatDistance:i.B,formatLong:r,formatRelative:a.o,localize:s.k,match:c.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},7077:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const i={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},o=(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o}},34568:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const i={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},o=(e,t,n,o)=>i[e]},14944:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(62775);const o=["MMM","MMMM"],r={preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some((e=>e.isToken&&o.includes(e.value)))?t.map((e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e)):t},ordinalNumber:(e,t)=>{const n=Number(e),i=t?.unit;if(0===n)return"0";let o;return o=1===n?i&&["year","week","hour","minute","second"].includes(i)?"ère":"er":"ème",n+o},era:(0,i.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,i.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,i.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,i.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,i.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})}},97556:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var i=n(50469);const o={ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,i.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,i.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,i.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/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,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,i.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,i.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})}},63240:(e,t,n)=>{"use strict";n.d(t,{gl:()=>d});const i={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},s={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"};var c=n(62775);const l={ordinalNumber:(e,t)=>Number(e)+"º",era:(0,c.o)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},defaultWidth:"wide"}),quarter:(0,c.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.o)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},defaultWidth:"wide"}),day:(0,c.o)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,c.o)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},defaultFormattingWidth:"wide"})};var u=n(50469);const d={code:"gl",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"en "+o:"hai "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>1!==t.getHours()?s[e]:a[e],localize:l,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},45523:(e,t,n)=>{"use strict";n.d(t,{gu:()=>u});const i={lessThanXSeconds:{one:"હમણાં",other:"આશરે {{count}} સેકંડ"},xSeconds:{one:"1 સેકંડ",other:"{{count}} સેકંડ"},halfAMinute:"અડધી મિનિટ",lessThanXMinutes:{one:"આ મિનિટ",other:"આશરે {{count}} મિનિટ"},xMinutes:{one:"1 મિનિટ",other:"{{count}} મિનિટ"},aboutXHours:{one:"આશરે 1 કલાક",other:"આશરે {{count}} કલાક"},xHours:{one:"1 કલાક",other:"{{count}} કલાક"},xDays:{one:"1 દિવસ",other:"{{count}} દિવસ"},aboutXWeeks:{one:"આશરે 1 અઠવાડિયું",other:"આશરે {{count}} અઠવાડિયા"},xWeeks:{one:"1 અઠવાડિયું",other:"{{count}} અઠવાડિયા"},aboutXMonths:{one:"આશરે 1 મહિનો",other:"આશરે {{count}} મહિના"},xMonths:{one:"1 મહિનો",other:"{{count}} મહિના"},aboutXYears:{one:"આશરે 1 વર્ષ",other:"આશરે {{count}} વર્ષ"},xYears:{one:"1 વર્ષ",other:"{{count}} વર્ષ"},overXYears:{one:"1 વર્ષથી વધુ",other:"{{count}} વર્ષથી વધુ"},almostXYears:{one:"લગભગ 1 વર્ષ",other:"લગભગ {{count}} વર્ષ"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'પાછલા' eeee p",yesterday:"'ગઈકાલે' p",today:"'આજે' p",tomorrow:"'આવતીકાલે' p",nextWeek:"eeee p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>String(e),era:(0,s.o)({values:{narrow:["ઈસપૂ","ઈસ"],abbreviated:["ઈ.સ.પૂર્વે","ઈ.સ."],wide:["ઈસવીસન પૂર્વે","ઈસવીસન"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1લો ત્રિમાસ","2જો ત્રિમાસ","3જો ત્રિમાસ","4થો ત્રિમાસ"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["જા","ફે","મા","એ","મે","જૂ","જુ","ઓ","સ","ઓ","ન","ડિ"],abbreviated:["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઓક્ટો","નવે","ડિસે"],wide:["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઇ","ઓગસ્ટ","સપ્ટેમ્બર","ઓક્ટોબર","નવેમ્બર","ડિસેમ્બર"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ર","સો","મં","બુ","ગુ","શુ","શ"],short:["ર","સો","મં","બુ","ગુ","શુ","શ"],abbreviated:["રવિ","સોમ","મંગળ","બુધ","ગુરુ","શુક્ર","શનિ"],wide:["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બ.",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"મ.રાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},abbreviated:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"},wide:{am:"AM",pm:"PM",midnight:"મધ્યરાત્રિ",noon:"બપોરે",morning:"સવારે",afternoon:"બપોરે",evening:"સાંજે",night:"રાત્રે"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"gu",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+"માં":o+" પહેલાં":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(લ|જ|થ|ઠ્ઠ|મ)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(ઈસપૂ|ઈસ)/i,abbreviated:/^(ઈ\.સ\.પૂર્વે|ઈ\.સ\.)/i,wide:/^(ઈસવીસન\sપૂર્વે|ઈસવીસન)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ઈસપૂ/i,/^ઈસ/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](લો|જો|થો)? ત્રિમાસ/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[જાફેમાએમેજૂજુઓસઓનડિ]/i,abbreviated:/^(જાન્યુ|ફેબ્રુ|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઈ|ઑગસ્ટ|સપ્ટે|ઓક્ટો|નવે|ડિસે)/i,wide:/^(જાન્યુઆરી|ફેબ્રુઆરી|માર્ચ|એપ્રિલ|મે|જૂન|જુલાઇ|ઓગસ્ટ|સપ્ટેમ્બર|ઓક્ટોબર|નવેમ્બર|ડિસેમ્બર)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i],any:[/^જા/i,/^ફે/i,/^મા/i,/^એ/i,/^મે/i,/^જૂ/i,/^જુ/i,/^ઑગ/i,/^સ/i,/^ઓક્ટો/i,/^ન/i,/^ડિ/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,short:/^(ર|સો|મં|બુ|ગુ|શુ|શ)/i,abbreviated:/^(રવિ|સોમ|મંગળ|બુધ|ગુરુ|શુક્ર|શનિ)/i,wide:/^(રવિવાર|સોમવાર|મંગળવાર|બુધવાર|ગુરુવાર|શુક્રવાર|શનિવાર)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i],any:[/^ર/i,/^સો/i,/^મં/i,/^બુ/i,/^ગુ/i,/^શુ/i,/^શ/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|મ\.?|સ|બ|સાં|રા)/i,any:/^(a|p|મ\.?|સ|બ|સાં|રા)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^મ\.?/i,noon:/^બ/i,morning:/સ/i,afternoon:/બ/i,evening:/સાં/i,night:/રા/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},10632:(e,t,n)=>{"use strict";n.d(t,{he:()=>p});const i={lessThanXSeconds:{one:"פחות משנייה",two:"פחות משתי שניות",other:"פחות מ־{{count}} שניות"},xSeconds:{one:"שנייה",two:"שתי שניות",other:"{{count}} שניות"},halfAMinute:"חצי דקה",lessThanXMinutes:{one:"פחות מדקה",two:"פחות משתי דקות",other:"פחות מ־{{count}} דקות"},xMinutes:{one:"דקה",two:"שתי דקות",other:"{{count}} דקות"},aboutXHours:{one:"כשעה",two:"כשעתיים",other:"כ־{{count}} שעות"},xHours:{one:"שעה",two:"שעתיים",other:"{{count}} שעות"},xDays:{one:"יום",two:"יומיים",other:"{{count}} ימים"},aboutXWeeks:{one:"כשבוע",two:"כשבועיים",other:"כ־{{count}} שבועות"},xWeeks:{one:"שבוע",two:"שבועיים",other:"{{count}} שבועות"},aboutXMonths:{one:"כחודש",two:"כחודשיים",other:"כ־{{count}} חודשים"},xMonths:{one:"חודש",two:"חודשיים",other:"{{count}} חודשים"},aboutXYears:{one:"כשנה",two:"כשנתיים",other:"כ־{{count}} שנים"},xYears:{one:"שנה",two:"שנתיים",other:"{{count}} שנים"},overXYears:{one:"יותר משנה",two:"יותר משנתיים",other:"יותר מ־{{count}} שנים"},almostXYears:{one:"כמעט שנה",two:"כמעט שנתיים",other:"כמעט {{count}} שנים"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d בMMMM y",long:"d בMMMM y",medium:"d בMMM y",short:"d.M.y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'בשעה' {{time}}",long:"{{date}} 'בשעה' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'שעבר בשעה' p",yesterday:"'אתמול בשעה' p",today:"'היום בשעה' p",tomorrow:"'מחר בשעה' p",nextWeek:"eeee 'בשעה' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e);if(n<=0||n>10)return String(n);const i=String(t?.unit),o=n-1;return["year","hour","minute","second"].indexOf(i)>=0?["ראשונה","שנייה","שלישית","רביעית","חמישית","שישית","שביעית","שמינית","תשיעית","עשירית"][o]:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שביעי","שמיני","תשיעי","עשירי"][o]},era:(0,s.o)({values:{narrow:["לפנה״ס","לספירה"],abbreviated:["לפנה״ס","לספירה"],wide:["לפני הספירה","לספירה"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["רבעון 1","רבעון 2","רבעון 3","רבעון 4"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["ינו׳","פבר׳","מרץ","אפר׳","מאי","יוני","יולי","אוג׳","ספט׳","אוק׳","נוב׳","דצמ׳"],wide:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],short:["א׳","ב׳","ג׳","ד׳","ה׳","ו׳","ש׳"],abbreviated:["יום א׳","יום ב׳","יום ג׳","יום ד׳","יום ה׳","יום ו׳","שבת"],wide:["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בוקר",afternoon:"אחר הצהריים",evening:"ערב",night:"לילה"}},defaultWidth:"wide",formattingValues:{narrow:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"בצהריים",evening:"בערב",night:"בלילה"},abbreviated:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"},wide:{am:"לפנה״צ",pm:"אחה״צ",midnight:"חצות",noon:"צהריים",morning:"בבוקר",afternoon:"אחר הצהריים",evening:"בערב",night:"בלילה"}},defaultFormattingWidth:"wide"})};var l=n(50469),u=n(97174);const d=["רא","שנ","של","רב","ח","שי","שב","שמ","ת","ע"],p={code:"he",formatDistance:(e,t,n)=>{if("xDays"===e&&n?.addSuffix&&t<=2)return n.comparison&&n.comparison>0?1===t?"מחר":"מחרתיים":1===t?"אתמול":"שלשום";let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:2===t?r.two:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"בעוד "+o:"לפני "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,u.K)({matchPattern:/^(\d+|(ראשון|שני|שלישי|רביעי|חמישי|שישי|שביעי|שמיני|תשיעי|עשירי|ראשונה|שנייה|שלישית|רביעית|חמישית|שישית|שביעית|שמינית|תשיעית|עשירית))/i,parsePattern:/^(\d+|רא|שנ|של|רב|ח|שי|שב|שמ|ת|ע)/i,valueCallback:e=>{const t=parseInt(e,10);return isNaN(t)?d.indexOf(e)+1:t}}),era:(0,l.A)({matchPatterns:{narrow:/^ל(ספירה|פנה״ס)/i,abbreviated:/^ל(ספירה|פנה״ס)/i,wide:/^ל(פני ה)?ספירה/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^לפ/i,/^לס/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^רבעון [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^\d+/i,abbreviated:/^(ינו|פבר|מרץ|אפר|מאי|יוני|יולי|אוג|ספט|אוק|נוב|דצמ)׳?/i,wide:/^(ינואר|פברואר|מרץ|אפריל|מאי|יוני|יולי|אוגוסט|ספטמבר|אוקטובר|נובמבר|דצמבר)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1$/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ינ/i,/^פ/i,/^מר/i,/^אפ/i,/^מא/i,/^יונ/i,/^יול/i,/^אוג/i,/^ס/i,/^אוק/i,/^נ/i,/^ד/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[אבגדהוש]׳/i,short:/^[אבגדהוש]׳/i,abbreviated:/^(שבת|יום (א|ב|ג|ד|ה|ו)׳)/i,wide:/^יום (ראשון|שני|שלישי|רביעי|חמישי|שישי|שבת)/i},defaultMatchWidth:"wide",parsePatterns:{abbreviated:[/א׳$/i,/ב׳$/i,/ג׳$/i,/ד׳$/i,/ה׳$/i,/ו׳$/i,/^ש/i],wide:[/ן$/i,/ני$/i,/לישי$/i,/עי$/i,/מישי$/i,/שישי$/i,/ת$/i],any:[/^א/i,/^ב/i,/^ג/i,/^ד/i,/^ה/i,/^ו/i,/^ש/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(אחר ה|ב)?(חצות|צהריים|בוקר|ערב|לילה|אחה״צ|לפנה״צ)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^לפ/i,pm:/^אחה/i,midnight:/^ח/i,noon:/^צ/i,morning:/בוקר/i,afternoon:/בצ|אחר/i,evening:/ערב/i,night:/לילה/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},54701:(e,t,n)=>{"use strict";n.d(t,{hi:()=>p});var i=n(62775);const o={locale:{1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},number:{"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"}};function r(e){return e.toString().replace(/\d/g,(function(e){return o.locale[e]}))}const a={ordinalNumber:(e,t)=>r(Number(e)),era:(0,i.o)({values:{narrow:["ईसा-पूर्व","ईस्वी"],abbreviated:["ईसा-पूर्व","ईस्वी"],wide:["ईसा-पूर्व","ईसवी सन"]},defaultWidth:"wide"}),quarter:(0,i.o)({values:{narrow:["1","2","3","4"],abbreviated:["ति1","ति2","ति3","ति4"],wide:["पहली तिमाही","दूसरी तिमाही","तीसरी तिमाही","चौथी तिमाही"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,i.o)({values:{narrow:["ज","फ़","मा","अ","मई","जू","जु","अग","सि","अक्टू","न","दि"],abbreviated:["जन","फ़र","मार्च","अप्रैल","मई","जून","जुल","अग","सित","अक्टू","नव","दिस"],wide:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},defaultWidth:"wide"}),day:(0,i.o)({values:{narrow:["र","सो","मं","बु","गु","शु","श"],short:["र","सो","मं","बु","गु","शु","श"],abbreviated:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],wide:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"]},defaultWidth:"wide"}),dayPeriod:(0,i.o)({values:{narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},defaultWidth:"wide",formattingValues:{narrow:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},abbreviated:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"},wide:{am:"पूर्वाह्न",pm:"अपराह्न",midnight:"मध्यरात्रि",noon:"दोपहर",morning:"सुबह",afternoon:"दोपहर",evening:"शाम",night:"रात"}},defaultFormattingWidth:"wide"})},s={lessThanXSeconds:{one:"१ सेकंड से कम",other:"{{count}} सेकंड से कम"},xSeconds:{one:"१ सेकंड",other:"{{count}} सेकंड"},halfAMinute:"आधा मिनट",lessThanXMinutes:{one:"१ मिनट से कम",other:"{{count}} मिनट से कम"},xMinutes:{one:"१ मिनट",other:"{{count}} मिनट"},aboutXHours:{one:"लगभग १ घंटा",other:"लगभग {{count}} घंटे"},xHours:{one:"१ घंटा",other:"{{count}} घंटे"},xDays:{one:"१ दिन",other:"{{count}} दिन"},aboutXWeeks:{one:"लगभग १ सप्ताह",other:"लगभग {{count}} सप्ताह"},xWeeks:{one:"१ सप्ताह",other:"{{count}} सप्ताह"},aboutXMonths:{one:"लगभग १ महीना",other:"लगभग {{count}} महीने"},xMonths:{one:"१ महीना",other:"{{count}} महीने"},aboutXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"},xYears:{one:"१ वर्ष",other:"{{count}} वर्ष"},overXYears:{one:"१ वर्ष से अधिक",other:"{{count}} वर्ष से अधिक"},almostXYears:{one:"लगभग १ वर्ष",other:"लगभग {{count}} वर्ष"}};var c=n(84697);const l={date:(0,c.k)({formats:{full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,c.k)({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:(0,c.k)({formats:{full:"{{date}} 'को' {{time}}",long:"{{date}} 'को' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'पिछले' eeee p",yesterday:"'कल' p",today:"'आज' p",tomorrow:"'कल' p",nextWeek:"eeee 'को' p",other:"P"};var d=n(50469);const p={code:"hi",formatDistance:(e,t,n)=>{let i;const o=s[e];return i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",r(t)),n?.addSuffix?n.comparison&&n.comparison>0?i+"मे ":i+" पहले":i},formatLong:l,formatRelative:(e,t,n,i)=>u[e],localize:a,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^[०१२३४५६७८९]+/i,parsePattern:/^[०१२३४५६७८९]+/i,valueCallback:function(e){const t=e.toString().replace(/[१२३४५६७८९०]/g,(function(e){return o.number[e]}));return Number(t)}}),era:(0,d.A)({matchPatterns:{narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:4}}},80675:(e,t,n)=>{"use strict";n.d(t,{hr:()=>u});const i={lessThanXSeconds:{one:{standalone:"manje od 1 sekunde",withPrepositionAgo:"manje od 1 sekunde",withPrepositionIn:"manje od 1 sekundu"},dual:"manje od {{count}} sekunde",other:"manje od {{count}} sekundi"},xSeconds:{one:{standalone:"1 sekunda",withPrepositionAgo:"1 sekunde",withPrepositionIn:"1 sekundu"},dual:"{{count}} sekunde",other:"{{count}} sekundi"},halfAMinute:"pola minute",lessThanXMinutes:{one:{standalone:"manje od 1 minute",withPrepositionAgo:"manje od 1 minute",withPrepositionIn:"manje od 1 minutu"},dual:"manje od {{count}} minute",other:"manje od {{count}} minuta"},xMinutes:{one:{standalone:"1 minuta",withPrepositionAgo:"1 minute",withPrepositionIn:"1 minutu"},dual:"{{count}} minute",other:"{{count}} minuta"},aboutXHours:{one:{standalone:"oko 1 sat",withPrepositionAgo:"oko 1 sat",withPrepositionIn:"oko 1 sat"},dual:"oko {{count}} sata",other:"oko {{count}} sati"},xHours:{one:{standalone:"1 sat",withPrepositionAgo:"1 sat",withPrepositionIn:"1 sat"},dual:"{{count}} sata",other:"{{count}} sati"},xDays:{one:{standalone:"1 dan",withPrepositionAgo:"1 dan",withPrepositionIn:"1 dan"},dual:"{{count}} dana",other:"{{count}} dana"},aboutXWeeks:{one:{standalone:"oko 1 tjedan",withPrepositionAgo:"oko 1 tjedan",withPrepositionIn:"oko 1 tjedan"},dual:"oko {{count}} tjedna",other:"oko {{count}} tjedana"},xWeeks:{one:{standalone:"1 tjedan",withPrepositionAgo:"1 tjedan",withPrepositionIn:"1 tjedan"},dual:"{{count}} tjedna",other:"{{count}} tjedana"},aboutXMonths:{one:{standalone:"oko 1 mjesec",withPrepositionAgo:"oko 1 mjesec",withPrepositionIn:"oko 1 mjesec"},dual:"oko {{count}} mjeseca",other:"oko {{count}} mjeseci"},xMonths:{one:{standalone:"1 mjesec",withPrepositionAgo:"1 mjesec",withPrepositionIn:"1 mjesec"},dual:"{{count}} mjeseca",other:"{{count}} mjeseci"},aboutXYears:{one:{standalone:"oko 1 godinu",withPrepositionAgo:"oko 1 godinu",withPrepositionIn:"oko 1 godinu"},dual:"oko {{count}} godine",other:"oko {{count}} godina"},xYears:{one:{standalone:"1 godina",withPrepositionAgo:"1 godine",withPrepositionIn:"1 godinu"},dual:"{{count}} godine",other:"{{count}} godina"},overXYears:{one:{standalone:"preko 1 godinu",withPrepositionAgo:"preko 1 godinu",withPrepositionIn:"preko 1 godinu"},dual:"preko {{count}} godine",other:"preko {{count}} godina"},almostXYears:{one:{standalone:"gotovo 1 godinu",withPrepositionAgo:"gotovo 1 godinu",withPrepositionIn:"gotovo 1 godinu"},dual:"gotovo {{count}} godine",other:"gotovo {{count}} godina"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d. MMMM y.",long:"d. MMMM y.",medium:"d. MMM y.",short:"dd. MM. y."},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'u' {{time}}",long:"{{date}} 'u' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:e=>{switch(e.getDay()){case 0:return"'prošlu nedjelju u' p";case 3:return"'prošlu srijedu u' p";case 6:return"'prošlu subotu u' p";default:return"'prošli' EEEE 'u' p"}},yesterday:"'jučer u' p",today:"'danas u' p",tomorrow:"'sutra u' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'iduću nedjelju u' p";case 3:return"'iduću srijedu u' p";case 6:return"'iduću subotu u' p";default:return"'prošli' EEEE 'u' p"}},other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["pr.n.e.","AD"],abbreviated:["pr. Kr.","po. Kr."],wide:["Prije Krista","Poslije Krista"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. kv.","2. kv.","3. kv.","4. kv."],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},defaultWidth:"wide",formattingValues:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["sij","velj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro"],wide:["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca"]},defaultFormattingWidth:"wide"}),day:(0,s.o)({values:{narrow:["N","P","U","S","Č","P","S"],short:["ned","pon","uto","sri","čet","pet","sub"],abbreviated:["ned","pon","uto","sri","čet","pet","sub"],wide:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},abbreviated:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"popodne",evening:"navečer",night:"noću"},wide:{am:"AM",pm:"PM",midnight:"ponoć",noon:"podne",morning:"ujutro",afternoon:"poslije podne",evening:"navečer",night:"noću"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"hr",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?n?.addSuffix?n.comparison&&n.comparison>0?r.one.withPrepositionIn:r.one.withPrepositionAgo:r.one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?r.dual.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"za "+o:"prije "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=a[e];return"function"==typeof o?o(t):o},localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(pr\.n\.e\.|AD)/i,abbreviated:/^(pr\.\s?Kr\.|po\.\s?Kr\.)/i,wide:/^(Prije Krista|prije nove ere|Poslije Krista|nova era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|nova)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?kv\.?/i,wide:/^[1234]\. kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(sij|velj|(ožu|ozu)|tra|svi|lip|srp|kol|ruj|lis|stu|pro)/i,wide:/^((siječanj|siječnja|sijecanj|sijecnja)|(veljača|veljače|veljaca|veljace)|(ožujak|ožujka|ozujak|ozujka)|(travanj|travnja)|(svibanj|svibnja)|(lipanj|lipnja)|(srpanj|srpnja)|(kolovoz|kolovoza)|(rujan|rujna)|(listopad|listopada)|(studeni|studenog)|(prosinac|prosinca))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i,/8/i,/9/i,/10/i,/11/i,/12/i],abbreviated:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i],wide:[/^sij/i,/^velj/i,/^(ožu|ozu)/i,/^tra/i,/^svi/i,/^lip/i,/^srp/i,/^kol/i,/^ruj/i,/^lis/i,/^stu/i,/^pro/i]},defaultParseWidth:"wide"}),day:(0,l.A)({matchPatterns:{narrow:/^[npusčc]/i,short:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,abbreviated:/^(ned|pon|uto|sri|(čet|cet)|pet|sub)/i,wide:/^(nedjelja|ponedjeljak|utorak|srijeda|(četvrtak|cetvrtak)|petak|subota)/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:(0,l.A)({matchPatterns:{any:/^(am|pm|ponoc|ponoć|(po)?podne|navecer|navečer|noću|poslije podne|ujutro)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^pono/i,noon:/^pod/i,morning:/jutro/i,afternoon:/(poslije\s|po)+podne/i,evening:/(navece|naveče)/i,night:/(nocu|noću)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},72861:(e,t,n)=>{"use strict";n.d(t,{hu:()=>f});const i={about:"körülbelül",over:"több mint",almost:"majdnem",lessthan:"kevesebb mint"},o={xseconds:" másodperc",halfaminute:"fél perc",xminutes:" perc",xhours:" óra",xdays:" nap",xweeks:" hét",xmonths:" hónap",xyears:" év"},r={xseconds:{"-1":" másodperccel ezelőtt",1:" másodperc múlva",0:" másodperce"},halfaminute:{"-1":"fél perccel ezelőtt",1:"fél perc múlva",0:"fél perce"},xminutes:{"-1":" perccel ezelőtt",1:" perc múlva",0:" perce"},xhours:{"-1":" órával ezelőtt",1:" óra múlva",0:" órája"},xdays:{"-1":" nappal ezelőtt",1:" nap múlva",0:" napja"},xweeks:{"-1":" héttel ezelőtt",1:" hét múlva",0:" hete"},xmonths:{"-1":" hónappal ezelőtt",1:" hónap múlva",0:" hónapja"},xyears:{"-1":" évvel ezelőtt",1:" év múlva",0:" éve"}};var a=n(84697);const s={date:(0,a.k)({formats:{full:"y. MMMM d., EEEE",long:"y. MMMM d.",medium:"y. MMM d.",short:"y. MM. dd."},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},c=["vasárnap","hétfőn","kedden","szerdán","csütörtökön","pénteken","szombaton"];function l(e){return t=>{const n=c[t.getDay()];return`${e?"":"'múlt' "}'${n}' p'-kor'`}}const u={lastWeek:l(!1),yesterday:"'tegnap' p'-kor'",today:"'ma' p'-kor'",tomorrow:"'holnap' p'-kor'",nextWeek:l(!0),other:"P"};var d=n(62775);const p={ordinalNumber:(e,t)=>Number(e)+".",era:(0,d.o)({values:{narrow:["ie.","isz."],abbreviated:["i. e.","i. sz."],wide:["Krisztus előtt","időszámításunk szerint"]},defaultWidth:"wide"}),quarter:(0,d.o)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. n.év","2. n.év","3. n.év","4. n.év"],wide:["1. negyedév","2. negyedév","3. negyedév","4. negyedév"]},defaultWidth:"wide",argumentCallback:e=>e-1,formattingValues:{narrow:["I.","II.","III.","IV."],abbreviated:["I. n.év","II. n.év","III. n.év","IV. n.év"],wide:["I. negyedév","II. negyedév","III. negyedév","IV. negyedév"]},defaultFormattingWidth:"wide"}),month:(0,d.o)({values:{narrow:["J","F","M","Á","M","J","J","A","Sz","O","N","D"],abbreviated:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],wide:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"]},defaultWidth:"wide"}),day:(0,d.o)({values:{narrow:["V","H","K","Sz","Cs","P","Sz"],short:["V","H","K","Sze","Cs","P","Szo"],abbreviated:["V","H","K","Sze","Cs","P","Szo"],wide:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},defaultWidth:"wide"}),dayPeriod:(0,d.o)({values:{narrow:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},abbreviated:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"du.",evening:"este",night:"éjjel"},wide:{am:"de.",pm:"du.",midnight:"éjfél",noon:"dél",morning:"reggel",afternoon:"délután",evening:"este",night:"éjjel"}},defaultWidth:"wide"})};var h=n(50469);const f={code:"hu",formatDistance:(e,t,n)=>{const a=e.match(/about|over|almost|lessthan/i),s=a?e.replace(a[0],""):e,c=!0===n?.addSuffix,l=s.toLowerCase(),u=c?r[l][n?.comparison||0]:o[l];let d="halfaminute"===l?u:t+u;if(a){const e=a[0].toLowerCase();d=i[e]+" "+d}return d},formatLong:s,formatRelative:(e,t)=>{const n=u[e];return"function"==typeof n?n(t):n},localize:p,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,h.A)({matchPatterns:{narrow:/^(ie\.|isz\.)/i,abbreviated:/^(i\.\s?e\.?|b?\s?c\s?e|i\.\s?sz\.?)/i,wide:/^(Krisztus előtt|időszámításunk előtt|időszámításunk szerint|i\. sz\.)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/ie/i,/isz/i],abbreviated:[/^(i\.?\s?e\.?|b\s?ce)/i,/^(i\.?\s?sz\.?|c\s?e)/i],any:[/előtt/i,/(szerint|i. sz.)/i]},defaultParseWidth:"any"}),quarter:(0,h.A)({matchPatterns:{narrow:/^[1234]\.?/i,abbreviated:/^[1234]?\.?\s?n\.év/i,wide:/^([1234]|I|II|III|IV)?\.?\s?negyedév/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1|I$/i,/2|II$/i,/3|III/i,/4|IV/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,h.A)({matchPatterns:{narrow:/^[jfmaásond]|sz/i,abbreviated:/^(jan\.?|febr\.?|márc\.?|ápr\.?|máj\.?|jún\.?|júl\.?|aug\.?|szept\.?|okt\.?|nov\.?|dec\.?)/i,wide:/^(január|február|március|április|május|június|július|augusztus|szeptember|október|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a|á/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s|sz/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^már/i,/^áp/i,/^máj/i,/^jún/i,/^júl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,h.A)({matchPatterns:{narrow:/^([vhkpc]|sz|cs|sz)/i,short:/^([vhkp]|sze|cs|szo)/i,abbreviated:/^([vhkp]|sze|cs|szo)/i,wide:/^(vasárnap|hétfő|kedd|szerda|csütörtök|péntek|szombat)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^v/i,/^h/i,/^k/i,/^sz/i,/^c/i,/^p/i,/^sz/i],any:[/^v/i,/^h/i,/^k/i,/^sze/i,/^c/i,/^p/i,/^szo/i]},defaultParseWidth:"any"}),dayPeriod:(0,h.A)({matchPatterns:{any:/^((de|du)\.?|éjfél|délután|dél|reggel|este|éjjel)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^de\.?/i,pm:/^du\.?/i,midnight:/^éjf/i,noon:/^dé/i,morning:/reg/i,afternoon:/^délu\.?/i,evening:/es/i,night:/éjj/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},76804:(e,t,n)=>{"use strict";n.d(t,{id:()=>u});const i={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>"ke-"+Number(e),era:(0,s.o)({values:{narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"id",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+o:o+" yang lalu":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^ke-(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^(m|e)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/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,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},55128:(e,t,n)=>{"use strict";n.d(t,{is:()=>u});const i={lessThanXSeconds:{one:"minna en 1 sekúnda",other:"minna en {{count}} sekúndur"},xSeconds:{one:"1 sekúnda",other:"{{count}} sekúndur"},halfAMinute:"hálf mínúta",lessThanXMinutes:{one:"minna en 1 mínúta",other:"minna en {{count}} mínútur"},xMinutes:{one:"1 mínúta",other:"{{count}} mínútur"},aboutXHours:{one:"u.þ.b. 1 klukkustund",other:"u.þ.b. {{count}} klukkustundir"},xHours:{one:"1 klukkustund",other:"{{count}} klukkustundir"},xDays:{one:"1 dagur",other:"{{count}} dagar"},aboutXWeeks:{one:"um viku",other:"um {{count}} vikur"},xWeeks:{one:"1 viku",other:"{{count}} vikur"},aboutXMonths:{one:"u.þ.b. 1 mánuður",other:"u.þ.b. {{count}} mánuðir"},xMonths:{one:"1 mánuður",other:"{{count}} mánuðir"},aboutXYears:{one:"u.þ.b. 1 ár",other:"u.þ.b. {{count}} ár"},xYears:{one:"1 ár",other:"{{count}} ár"},overXYears:{one:"meira en 1 ár",other:"meira en {{count}} ár"},almostXYears:{one:"næstum 1 ár",other:"næstum {{count}} ár"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"d.MM.y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'síðasta' dddd 'kl.' p",yesterday:"'í gær kl.' p",today:"'í dag kl.' p",tomorrow:"'á morgun kl.' p",nextWeek:"dddd 'kl.' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["fyrir Krist","eftir Krist"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["1F","2F","3F","4F"],wide:["1. fjórðungur","2. fjórðungur","3. fjórðungur","4. fjórðungur"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","Á","S","Ó","N","D"],abbreviated:["jan.","feb.","mars","apríl","maí","júní","júlí","ágúst","sept.","okt.","nóv.","des."],wide:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","Þ","M","F","F","L"],short:["Su","Má","Þr","Mi","Fi","Fö","La"],abbreviated:["sun.","mán.","þri.","mið.","fim.","fös.","lau."],wide:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"f",pm:"e",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"miðnætti",noon:"hádegi",morning:"morgunn",afternoon:"síðdegi",evening:"kvöld",night:"nótt"}},defaultWidth:"wide",formattingValues:{narrow:{am:"f",pm:"e",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},abbreviated:{am:"f.h.",pm:"e.h.",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"},wide:{am:"fyrir hádegi",pm:"eftir hádegi",midnight:"á miðnætti",noon:"á hádegi",morning:"að morgni",afternoon:"síðdegis",evening:"um kvöld",night:"um nótt"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"is",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"í "+o:o+" síðan":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+(\.)?/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(f\.Kr\.)/i,/^(e\.Kr\.)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]\.?/i,abbreviated:/^q[1234]\.?/i,wide:/^[1234]\.? fjórðungur/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1\.?/i,/2\.?/i,/3\.?/i,/4\.?/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmásónd]/i,abbreviated:/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,wide:/^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^á/i,/^s/i,/^ó/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maí/i,/^jún/i,/^júl/i,/^áu/i,/^s/i,/^ó/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|má|þr|mi|fi|fö|la)/i,abbreviated:/^(sun|mán|þri|mið|fim|fös|lau)\.?/i,wide:/^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^þ/i,/^m/i,/^f/i,/^f/i,/^l/i],any:[/^su/i,/^má/i,/^þr/i,/^mi/i,/^fi/i,/^fö/i,/^la/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,any:/^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^f/i,pm:/^e/i,midnight:/^mi/i,noon:/^há/i,morning:/morgunn/i,afternoon:/síðdegi/i,evening:/kvöld/i,night:/nótt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},53406:(e,t,n)=>{"use strict";n.d(t,{it:()=>h});const i={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var a=n(61288);const s=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function c(e){return"'"+s[e]+" alle' p"}const l={lastWeek:(e,t,n)=>{const i=e.getDay();return(0,a.R)(e,t,n)?c(i):function(e){return 0===e?"'domenica scorsa alle' p":"'"+s[e]+" scorso alle' p"}(i)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const i=e.getDay();return(0,a.R)(e,t,n)?c(i):function(e){return 0===e?"'domenica prossima alle' p":"'"+s[e]+" prossimo alle' p"}(i)},other:"P"};var u=n(62775);const d={ordinalNumber:(e,t)=>{const n=Number(e);return String(n)},era:(0,u.o)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:(0,u.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,u.o)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:(0,u.o)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,u.o)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})};var p=n(50469);const h={code:"it",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"tra "+o:o+" fa":o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=l[e];return"function"==typeof o?o(t,n,i):o},localize:d,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,p.A)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:(0,p.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,p.A)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,p.A)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,p.A)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},15643:(e,t,n)=>{"use strict";n.d(t,{ja:()=>d});const i={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e);switch(String(t?.unit)){case"year":return`${n}年`;case"quarter":return`第${n}四半期`;case"month":return`${n}月`;case"week":return`第${n}週`;case"date":return`${n}日`;case"hour":return`${n}時`;case"minute":return`${n}分`;case"second":return`${n}秒`;default:return`${n}`}},era:(0,s.o)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,s.o)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})};var l=n(97174),u=n(50469);const d={code:"ja",formatDistance:(e,t,n)=>{let o;n=n||{};const r=i[e];return o="string"==typeof r?r:1===t?n.addSuffix&&r.oneWithSuffix?r.oneWithSuffix:r.one:n.addSuffix&&r.otherWithSuffix?r.otherWithSuffix.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?o+"後":o+"前":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,l.K)({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,u.A)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},1467:(e,t,n)=>{"use strict";n.d(t,{kn:()=>d});const i={lessThanXSeconds:{one:{default:"1 ಸೆಕೆಂಡ್ಗಿಂತ ಕಡಿಮೆ",future:"1 ಸೆಕೆಂಡ್ಗಿಂತ ಕಡಿಮೆ",past:"1 ಸೆಕೆಂಡ್ಗಿಂತ ಕಡಿಮೆ"},other:{default:"{{count}} ಸೆಕೆಂಡ್ಗಿಂತ ಕಡಿಮೆ",future:"{{count}} ಸೆಕೆಂಡ್ಗಿಂತ ಕಡಿಮೆ",past:"{{count}} ಸೆಕೆಂಡ್ಗಿಂತ ಕಡಿಮೆ"}},xSeconds:{one:{default:"1 ಸೆಕೆಂಡ್",future:"1 ಸೆಕೆಂಡ್ನಲ್ಲಿ",past:"1 ಸೆಕೆಂಡ್ ಹಿಂದೆ"},other:{default:"{{count}} ಸೆಕೆಂಡುಗಳು",future:"{{count}} ಸೆಕೆಂಡ್ಗಳಲ್ಲಿ",past:"{{count}} ಸೆಕೆಂಡ್ ಹಿಂದೆ"}},halfAMinute:{other:{default:"ಅರ್ಧ ನಿಮಿಷ",future:"ಅರ್ಧ ನಿಮಿಷದಲ್ಲಿ",past:"ಅರ್ಧ ನಿಮಿಷದ ಹಿಂದೆ"}},lessThanXMinutes:{one:{default:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",future:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",past:"1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ"},other:{default:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",future:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ",past:"{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ"}},xMinutes:{one:{default:"1 ನಿಮಿಷ",future:"1 ನಿಮಿಷದಲ್ಲಿ",past:"1 ನಿಮಿಷದ ಹಿಂದೆ"},other:{default:"{{count}} ನಿಮಿಷಗಳು",future:"{{count}} ನಿಮಿಷಗಳಲ್ಲಿ",past:"{{count}} ನಿಮಿಷಗಳ ಹಿಂದೆ"}},aboutXHours:{one:{default:"ಸುಮಾರು 1 ಗಂಟೆ",future:"ಸುಮಾರು 1 ಗಂಟೆಯಲ್ಲಿ",past:"ಸುಮಾರು 1 ಗಂಟೆ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳು",future:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ಗಂಟೆಗಳ ಹಿಂದೆ"}},xHours:{one:{default:"1 ಗಂಟೆ",future:"1 ಗಂಟೆಯಲ್ಲಿ",past:"1 ಗಂಟೆ ಹಿಂದೆ"},other:{default:"{{count}} ಗಂಟೆಗಳು",future:"{{count}} ಗಂಟೆಗಳಲ್ಲಿ",past:"{{count}} ಗಂಟೆಗಳ ಹಿಂದೆ"}},xDays:{one:{default:"1 ದಿನ",future:"1 ದಿನದಲ್ಲಿ",past:"1 ದಿನದ ಹಿಂದೆ"},other:{default:"{{count}} ದಿನಗಳು",future:"{{count}} ದಿನಗಳಲ್ಲಿ",past:"{{count}} ದಿನಗಳ ಹಿಂದೆ"}},aboutXMonths:{one:{default:"ಸುಮಾರು 1 ತಿಂಗಳು",future:"ಸುಮಾರು 1 ತಿಂಗಳಲ್ಲಿ",past:"ಸುಮಾರು 1 ತಿಂಗಳ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ತಿಂಗಳು",future:"ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ"}},xMonths:{one:{default:"1 ತಿಂಗಳು",future:"1 ತಿಂಗಳಲ್ಲಿ",past:"1 ತಿಂಗಳ ಹಿಂದೆ"},other:{default:"{{count}} ತಿಂಗಳು",future:"{{count}} ತಿಂಗಳುಗಳಲ್ಲಿ",past:"{{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ"}},aboutXYears:{one:{default:"ಸುಮಾರು 1 ವರ್ಷ",future:"ಸುಮಾರು 1 ವರ್ಷದಲ್ಲಿ",past:"ಸುಮಾರು 1 ವರ್ಷದ ಹಿಂದೆ"},other:{default:"ಸುಮಾರು {{count}} ವರ್ಷಗಳು",future:"ಸುಮಾರು {{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"ಸುಮಾರು {{count}} ವರ್ಷಗಳ ಹಿಂದೆ"}},xYears:{one:{default:"1 ವರ್ಷ",future:"1 ವರ್ಷದಲ್ಲಿ",past:"1 ವರ್ಷದ ಹಿಂದೆ"},other:{default:"{{count}} ವರ್ಷಗಳು",future:"{{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"{{count}} ವರ್ಷಗಳ ಹಿಂದೆ"}},overXYears:{one:{default:"1 ವರ್ಷದ ಮೇಲೆ",future:"1 ವರ್ಷದ ಮೇಲೆ",past:"1 ವರ್ಷದ ಮೇಲೆ"},other:{default:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ",future:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ",past:"{{count}} ವರ್ಷಗಳ ಮೇಲೆ"}},almostXYears:{one:{default:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ",future:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ",past:"ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ"},other:{default:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ",future:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ",past:"ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ"}}};function o(e,t){return t?.addSuffix?t.comparison&&t.comparison>0?e.future:e.past:e.default}var r=n(84697);const a={date:(0,r.k)({formats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"hh:mm:ss a zzzz",long:"hh:mm:ss a z",medium:"hh:mm:ss a",short:"hh:mm a"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},s={lastWeek:"'ಕಳೆದ' eeee p 'ಕ್ಕೆ'",yesterday:"'ನಿನ್ನೆ' p 'ಕ್ಕೆ'",today:"'ಇಂದು' p 'ಕ್ಕೆ'",tomorrow:"'ನಾಳೆ' p 'ಕ್ಕೆ'",nextWeek:"eeee p 'ಕ್ಕೆ'",other:"P"};var c=n(62775);const l={ordinalNumber:(e,t)=>Number(e)+"ನೇ",era:(0,c.o)({values:{narrow:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],abbreviated:["ಕ್ರಿ.ಪೂ","ಕ್ರಿ.ಶ"],wide:["ಕ್ರಿಸ್ತ ಪೂರ್ವ","ಕ್ರಿಸ್ತ ಶಕ"]},defaultWidth:"wide"}),quarter:(0,c.o)({values:{narrow:["1","2","3","4"],abbreviated:["ತ್ರೈ 1","ತ್ರೈ 2","ತ್ರೈ 3","ತ್ರೈ 4"],wide:["1ನೇ ತ್ರೈಮಾಸಿಕ","2ನೇ ತ್ರೈಮಾಸಿಕ","3ನೇ ತ್ರೈಮಾಸಿಕ","4ನೇ ತ್ರೈಮಾಸಿಕ"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.o)({values:{narrow:["ಜ","ಫೆ","ಮಾ","ಏ","ಮೇ","ಜೂ","ಜು","ಆ","ಸೆ","ಅ","ನ","ಡಿ"],abbreviated:["ಜನ","ಫೆಬ್ರ","ಮಾರ್ಚ್","ಏಪ್ರಿ","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗ","ಸೆಪ್ಟೆಂ","ಅಕ್ಟೋ","ನವೆಂ","ಡಿಸೆಂ"],wide:["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಏಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟೆಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್"]},defaultWidth:"wide"}),day:(0,c.o)({values:{narrow:["ಭಾ","ಸೋ","ಮಂ","ಬು","ಗು","ಶು","ಶ"],short:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],abbreviated:["ಭಾನು","ಸೋಮ","ಮಂಗಳ","ಬುಧ","ಗುರು","ಶುಕ್ರ","ಶನಿ"],wide:["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"]},defaultWidth:"wide"}),dayPeriod:(0,c.o)({values:{narrow:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾಹ್ನ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾಹ್ನ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},abbreviated:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},wide:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ಪೂ",pm:"ಅ",midnight:"ಮಧ್ಯರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},abbreviated:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯ ರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"},wide:{am:"ಪೂರ್ವಾಹ್ನ",pm:"ಅಪರಾಹ್ನ",midnight:"ಮಧ್ಯ ರಾತ್ರಿ",noon:"ಮಧ್ಯಾನ್ಹ",morning:"ಬೆಳಗ್ಗೆ",afternoon:"ಮಧ್ಯಾನ್ಹ",evening:"ಸಂಜೆ",night:"ರಾತ್ರಿ"}},defaultFormattingWidth:"wide"})};var u=n(50469);const d={code:"kn",formatDistance:(e,t,n)=>{let r;const a=i[e];return r=a.one&&1===t?o(a.one,n):o(a.other,n),r.replace("{{count}}",String(t))},formatLong:a,formatRelative:(e,t,n,i)=>s[e],localize:l,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(ನೇ|ನೆ)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(ಕ್ರಿ.ಪೂ|ಕ್ರಿ.ಶ)/i,abbreviated:/^(ಕ್ರಿ\.?\s?ಪೂ\.?|ಕ್ರಿ\.?\s?ಶ\.?|ಪ್ರ\.?\s?ಶ\.?)/i,wide:/^(ಕ್ರಿಸ್ತ ಪೂರ್ವ|ಕ್ರಿಸ್ತ ಶಕ|ಪ್ರಸಕ್ತ ಶಕ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ಪೂ/i,/^(ಶ|ಪ್ರ)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ತ್ರೈ[1234]|ತ್ರೈ [1234]| [1234]ತ್ರೈ/i,wide:/^[1234](ನೇ)? ತ್ರೈಮಾಸಿಕ/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^(ಜೂ|ಜು|ಜ|ಫೆ|ಮಾ|ಏ|ಮೇ|ಆ|ಸೆ|ಅ|ನ|ಡಿ)/i,abbreviated:/^(ಜನ|ಫೆಬ್ರ|ಮಾರ್ಚ್|ಏಪ್ರಿ|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗ|ಸೆಪ್ಟೆಂ|ಅಕ್ಟೋ|ನವೆಂ|ಡಿಸೆಂ)/i,wide:/^(ಜನವರಿ|ಫೆಬ್ರವರಿ|ಮಾರ್ಚ್|ಏಪ್ರಿಲ್|ಮೇ|ಜೂನ್|ಜುಲೈ|ಆಗಸ್ಟ್|ಸೆಪ್ಟೆಂಬರ್|ಅಕ್ಟೋಬರ್|ನವೆಂಬರ್|ಡಿಸೆಂಬರ್)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ಜ$/i,/^ಫೆ/i,/^ಮಾ/i,/^ಏ/i,/^ಮೇ/i,/^ಜೂ/i,/^ಜು$/i,/^ಆ/i,/^ಸೆ/i,/^ಅ/i,/^ನ/i,/^ಡಿ/i],any:[/^ಜನ/i,/^ಫೆ/i,/^ಮಾ/i,/^ಏ/i,/^ಮೇ/i,/^ಜೂನ್/i,/^ಜುಲೈ/i,/^ಆ/i,/^ಸೆ/i,/^ಅ/i,/^ನ/i,/^ಡಿ/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^(ಭಾ|ಸೋ|ಮ|ಬು|ಗು|ಶು|ಶ)/i,short:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,abbreviated:/^(ಭಾನು|ಸೋಮ|ಮಂಗಳ|ಬುಧ|ಗುರು|ಶುಕ್ರ|ಶನಿ)/i,wide:/^(ಭಾನುವಾರ|ಸೋಮವಾರ|ಮಂಗಳವಾರ|ಬುಧವಾರ|ಗುರುವಾರ|ಶುಕ್ರವಾರ|ಶನಿವಾರ)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i],any:[/^ಭಾ/i,/^ಸೋ/i,/^ಮ/i,/^ಬು/i,/^ಗು/i,/^ಶು/i,/^ಶ/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(ಪೂ|ಅ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i,any:/^(ಪೂರ್ವಾಹ್ನ|ಅಪರಾಹ್ನ|ಮಧ್ಯರಾತ್ರಿ|ಮಧ್ಯಾನ್ಹ|ಬೆಳಗ್ಗೆ|ಸಂಜೆ|ರಾತ್ರಿ)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ಪೂ/i,pm:/^ಅ/i,midnight:/ಮಧ್ಯರಾತ್ರಿ/i,noon:/ಮಧ್ಯಾನ್ಹ/i,morning:/ಬೆಳಗ್ಗೆ/i,afternoon:/ಮಧ್ಯಾನ್ಹ/i,evening:/ಸಂಜೆ/i,night:/ರಾತ್ರಿ/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},24428:(e,t,n)=>{"use strict";n.d(t,{ko:()=>u});const i={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e);switch(String(t?.unit)){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},era:(0,s.o)({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultWidth:"wide",formattingValues:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"ko",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?o+" 후":o+" 전":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(일|번째)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|기원전)/i,/^(ad|서기)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},defaultMatchWidth:"wide",parsePatterns:{any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},48199:(e,t,n)=>{"use strict";n.d(t,{lt:()=>_});const i={xseconds_other:"sekundė_sekundžių_sekundes",xminutes_one:"minutė_minutės_minutę",xminutes_other:"minutės_minučių_minutes",xhours_one:"valanda_valandos_valandą",xhours_other:"valandos_valandų_valandas",xdays_one:"diena_dienos_dieną",xdays_other:"dienos_dienų_dienas",xweeks_one:"savaitė_savaitės_savaitę",xweeks_other:"savaitės_savaičių_savaites",xmonths_one:"mėnuo_mėnesio_mėnesį",xmonths_other:"mėnesiai_mėnesių_mėnesius",xyears_one:"metai_metų_metus",xyears_other:"metai_metų_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"mažiau nei"},o=(e,t,n,i)=>t?i?"kelių sekundžių":"kelias sekundes":"kelios sekundės",r=(e,t,n,i)=>t?i?c(n)[1]:c(n)[2]:c(n)[0],a=(e,t,n,i)=>{const o=e+" ";return 1===e?o+r(0,t,n,i):t?i?o+c(n)[1]:o+(s(e)?c(n)[1]:c(n)[2]):o+(s(e)?c(n)[1]:c(n)[0])};function s(e){return e%10==0||e>10&&e<20}function c(e){return i[e].split("_")}const l={lessThanXSeconds:{one:o,other:a},xSeconds:{one:o,other:a},halfAMinute:"pusė minutės",lessThanXMinutes:{one:r,other:a},xMinutes:{one:r,other:a},aboutXHours:{one:r,other:a},xHours:{one:r,other:a},xDays:{one:r,other:a},aboutXWeeks:{one:r,other:a},xWeeks:{one:r,other:a},aboutXMonths:{one:r,other:a},xMonths:{one:r,other:a},aboutXYears:{one:r,other:a},xYears:{one:r,other:a},overXYears:{one:r,other:a},almostXYears:{one:r,other:a}};var u=n(84697);const d={date:(0,u.k)({formats:{full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},defaultWidth:"full"}),time:(0,u.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,u.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},p={lastWeek:"'Praėjusį' eeee p",yesterday:"'Vakar' p",today:"'Šiandien' p",tomorrow:"'Rytoj' p",nextWeek:"eeee p",other:"P"};var h=n(62775);const f={ordinalNumber:(e,t)=>Number(e)+"-oji",era:(0,h.o)({values:{narrow:["pr. Kr.","po Kr."],abbreviated:["pr. Kr.","po Kr."],wide:["prieš Kristų","po Kristaus"]},defaultWidth:"wide"}),quarter:(0,h.o)({values:{narrow:["1","2","3","4"],abbreviated:["I ketv.","II ketv.","III ketv.","IV ketv."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["I k.","II k.","III k.","IV k."],wide:["I ketvirtis","II ketvirtis","III ketvirtis","IV ketvirtis"]},defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:(0,h.o)({values:{narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"]},defaultWidth:"wide",formattingValues:{narrow:["S","V","K","B","G","B","L","R","R","S","L","G"],abbreviated:["saus.","vas.","kov.","bal.","geg.","birž.","liep.","rugp.","rugs.","spal.","lapkr.","gruod."],wide:["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio"]},defaultFormattingWidth:"wide"}),day:(0,h.o)({values:{narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"]},defaultWidth:"wide",formattingValues:{narrow:["S","P","A","T","K","P","Š"],short:["Sk","Pr","An","Tr","Kt","Pn","Št"],abbreviated:["sk","pr","an","tr","kt","pn","št"],wide:["sekmadienį","pirmadienį","antradienį","trečiadienį","ketvirtadienį","penktadienį","šeštadienį"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,h.o)({values:{narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"vidurdienis",morning:"rytas",afternoon:"diena",evening:"vakaras",night:"naktis"}},defaultWidth:"wide",formattingValues:{narrow:{am:"pr. p.",pm:"pop.",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},abbreviated:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"},wide:{am:"priešpiet",pm:"popiet",midnight:"vidurnaktis",noon:"perpiet",morning:"rytas",afternoon:"popietė",evening:"vakaras",night:"naktis"}},defaultFormattingWidth:"wide"})};var m=n(50469);const _={code:"lt",formatDistance:(e,t,n)=>{const o=e.match(/about|over|almost|lessthan/i),r=o?e.replace(o[0],""):e,a=void 0!==n?.comparison&&n.comparison>0;let s;const c=l[e];if(s="string"==typeof c?c:1===t?c.one(t,!0===n?.addSuffix,r.toLowerCase()+"_one",a):c.other(t,!0===n?.addSuffix,r.toLowerCase()+"_other",a),o){const e=o[0].toLowerCase();s=i[e]+" "+s}return n?.addSuffix?n.comparison&&n.comparison>0?"po "+s:"prieš "+s:s},formatLong:d,formatRelative:(e,t,n,i)=>p[e],localize:f,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(-oji)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,m.A)({matchPatterns:{narrow:/^p(r|o)\.?\s?(kr\.?|me)/i,abbreviated:/^(pr\.\s?(kr\.|m\.\s?e\.)|po\s?kr\.|mūsų eroje)/i,wide:/^(prieš Kristų|prieš mūsų erą|po Kristaus|mūsų eroje)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/prieš/i,/(po|mūsų)/i],any:[/^pr/i,/^(po|m)/i]},defaultParseWidth:"any"}),quarter:(0,m.A)({matchPatterns:{narrow:/^([1234])/i,abbreviated:/^(I|II|III|IV)\s?ketv?\.?/i,wide:/^(I|II|III|IV)\s?ketvirtis/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/I$/i,/II$/i,/III/i,/IV/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,m.A)({matchPatterns:{narrow:/^[svkbglr]/i,abbreviated:/^(saus\.|vas\.|kov\.|bal\.|geg\.|birž\.|liep\.|rugp\.|rugs\.|spal\.|lapkr\.|gruod\.)/i,wide:/^(sausi(s|o)|vasari(s|o)|kov(a|o)s|balandž?i(s|o)|gegužės?|birželi(s|o)|liep(a|os)|rugpjū(t|č)i(s|o)|rugsėj(is|o)|spali(s|o)|lapkri(t|č)i(s|o)|gruodž?i(s|o))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^v/i,/^k/i,/^b/i,/^g/i,/^b/i,/^l/i,/^r/i,/^r/i,/^s/i,/^l/i,/^g/i],any:[/^saus/i,/^vas/i,/^kov/i,/^bal/i,/^geg/i,/^birž/i,/^liep/i,/^rugp/i,/^rugs/i,/^spal/i,/^lapkr/i,/^gruod/i]},defaultParseWidth:"any"}),day:(0,m.A)({matchPatterns:{narrow:/^[spatkš]/i,short:/^(sk|pr|an|tr|kt|pn|št)/i,abbreviated:/^(sk|pr|an|tr|kt|pn|št)/i,wide:/^(sekmadien(is|į)|pirmadien(is|į)|antradien(is|į)|trečiadien(is|į)|ketvirtadien(is|į)|penktadien(is|į)|šeštadien(is|į))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^p/i,/^a/i,/^t/i,/^k/i,/^p/i,/^š/i],wide:[/^se/i,/^pi/i,/^an/i,/^tr/i,/^ke/i,/^pe/i,/^še/i],any:[/^sk/i,/^pr/i,/^an/i,/^tr/i,/^kt/i,/^pn/i,/^št/i]},defaultParseWidth:"any"}),dayPeriod:(0,m.A)({matchPatterns:{narrow:/^(pr.\s?p.|pop.|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i,any:/^(priešpiet|popiet$|vidurnaktis|(vidurdienis|perpiet)|rytas|(diena|popietė)|vakaras|naktis)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^pr/i,pm:/^pop./i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i},any:{am:/^pr/i,pm:/^popiet$/i,midnight:/^vidurnaktis/i,noon:/^(vidurdienis|perp)/i,morning:/rytas/i,afternoon:/(die|popietė)/i,evening:/vakaras/i,night:/naktis/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},61845:(e,t,n)=>{"use strict";function i(e){return(t,n)=>{if(1===t)return n?.addSuffix?e.one[0].replace("{{time}}",e.one[2]):e.one[0].replace("{{time}}",e.one[1]);{const i=t%10==1&&t%100!=11;return n?.addSuffix?e.other[0].replace("{{time}}",i?e.other[3]:e.other[4]).replace("{{count}}",String(t)):e.other[0].replace("{{time}}",i?e.other[1]:e.other[2]).replace("{{count}}",String(t))}}}n.d(t,{lv:()=>h});const o={lessThanXSeconds:i({one:["mazāk par {{time}}","sekundi","sekundi"],other:["mazāk nekā {{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),xSeconds:i({one:["1 {{time}}","sekunde","sekundes"],other:["{{count}} {{time}}","sekunde","sekundes","sekundes","sekundēm"]}),halfAMinute:(e,t)=>t?.addSuffix?"pusminūtes":"pusminūte",lessThanXMinutes:i({one:["mazāk par {{time}}","minūti","minūti"],other:["mazāk nekā {{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),xMinutes:i({one:["1 {{time}}","minūte","minūtes"],other:["{{count}} {{time}}","minūte","minūtes","minūtes","minūtēm"]}),aboutXHours:i({one:["apmēram 1 {{time}}","stunda","stundas"],other:["apmēram {{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xHours:i({one:["1 {{time}}","stunda","stundas"],other:["{{count}} {{time}}","stunda","stundas","stundas","stundām"]}),xDays:i({one:["1 {{time}}","diena","dienas"],other:["{{count}} {{time}}","diena","dienas","dienas","dienām"]}),aboutXWeeks:i({one:["apmēram 1 {{time}}","nedēļa","nedēļas"],other:["apmēram {{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),xWeeks:i({one:["1 {{time}}","nedēļa","nedēļas"],other:["{{count}} {{time}}","nedēļa","nedēļu","nedēļas","nedēļām"]}),aboutXMonths:i({one:["apmēram 1 {{time}}","mēnesis","mēneša"],other:["apmēram {{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),xMonths:i({one:["1 {{time}}","mēnesis","mēneša"],other:["{{count}} {{time}}","mēnesis","mēneši","mēneša","mēnešiem"]}),aboutXYears:i({one:["apmēram 1 {{time}}","gads","gada"],other:["apmēram {{count}} {{time}}","gads","gadi","gada","gadiem"]}),xYears:i({one:["1 {{time}}","gads","gada"],other:["{{count}} {{time}}","gads","gadi","gada","gadiem"]}),overXYears:i({one:["ilgāk par 1 {{time}}","gadu","gadu"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]}),almostXYears:i({one:["gandrīz 1 {{time}}","gads","gada"],other:["vairāk nekā {{count}} {{time}}","gads","gadi","gada","gadiem"]})};var r=n(84697);const a={date:(0,r.k)({formats:{full:"EEEE, y. 'gada' d. MMMM",long:"y. 'gada' d. MMMM",medium:"dd.MM.y.",short:"dd.MM.y."},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'plkst.' {{time}}",long:"{{date}} 'plkst.' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s=n(61288);const c=["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"],l={lastWeek:(e,t,n)=>{if((0,s.R)(e,t,n))return"eeee 'plkst.' p";return"'Pagājušā "+c[e.getDay()]+" plkst.' p"},yesterday:"'Vakar plkst.' p",today:"'Šodien plkst.' p",tomorrow:"'Rīt plkst.' p",nextWeek:(e,t,n)=>{if((0,s.R)(e,t,n))return"eeee 'plkst.' p";return"'Nākamajā "+c[e.getDay()]+" plkst.' p"},other:"P"};var u=n(62775);const d={ordinalNumber:(e,t)=>Number(e)+".",era:(0,u.o)({values:{narrow:["p.m.ē","m.ē"],abbreviated:["p. m. ē.","m. ē."],wide:["pirms mūsu ēras","mūsu ērā"]},defaultWidth:"wide"}),quarter:(0,u.o)({values:{narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmais ceturksnis","otrais ceturksnis","trešais ceturksnis","ceturtais ceturksnis"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["1. cet.","2. cet.","3. cet.","4. cet."],wide:["pirmajā ceturksnī","otrajā ceturksnī","trešajā ceturksnī","ceturtajā ceturksnī"]},defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:(0,u.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","marts","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"]},defaultWidth:"wide",formattingValues:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","febr.","martā","apr.","maijs","jūn.","jūl.","aug.","sept.","okt.","nov.","dec."],wide:["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī"]},defaultFormattingWidth:"wide"}),day:(0,u.o)({values:{narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"]},defaultWidth:"wide",formattingValues:{narrow:["S","P","O","T","C","P","S"],short:["Sv","P","O","T","C","Pk","S"],abbreviated:["svētd.","pirmd.","otrd.","trešd.","ceturtd.","piektd.","sestd."],wide:["svētdienā","pirmdienā","otrdienā","trešdienā","ceturtdienā","piektdienā","sestdienā"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,u.o)({values:{narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"diena",evening:"vakars",night:"nakts"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rīts",afternoon:"pēcpusd.",evening:"vakars",night:"nakts"},wide:{am:"am",pm:"pm",midnight:"pusnakts",noon:"pusdienlaiks",morning:"rīts",afternoon:"pēcpusdiena",evening:"vakars",night:"nakts"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"dienā",evening:"vakarā",night:"naktī"},abbreviated:{am:"am",pm:"pm",midnight:"pusn.",noon:"pusd.",morning:"rītā",afternoon:"pēcpusd.",evening:"vakarā",night:"naktī"},wide:{am:"am",pm:"pm",midnight:"pusnaktī",noon:"pusdienlaikā",morning:"rītā",afternoon:"pēcpusdienā",evening:"vakarā",night:"naktī"}},defaultFormattingWidth:"wide"})};var p=n(50469);const h={code:"lv",formatDistance:(e,t,n)=>{const i=o[e](t,n);return n?.addSuffix?n.comparison&&n.comparison>0?"pēc "+i:"pirms "+i:i},formatLong:a,formatRelative:(e,t,n,i)=>{const o=l[e];return"function"==typeof o?o(t,n,i):o},localize:d,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,p.A)({matchPatterns:{narrow:/^(p\.m\.ē|m\.ē)/i,abbreviated:/^(p\. m\. ē\.|m\. ē\.)/i,wide:/^(pirms mūsu ēras|mūsu ērā)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^m/i]},defaultParseWidth:"any"}),quarter:(0,p.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](\. cet\.)/i,wide:/^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1/i,/^2/i,/^3/i,/^4/i],abbreviated:[/^1/i,/^2/i,/^3/i,/^4/i],wide:[/^p/i,/^o/i,/^t/i,/^c/i]},defaultParseWidth:"wide",valueCallback:e=>e+1}),month:(0,p.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,wide:/^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/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,/^mai/i,/^jūn/i,/^jūl/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,p.A)({matchPatterns:{narrow:/^[spotc]/i,short:/^(sv|pi|o|t|c|pk|s)/i,abbreviated:/^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,wide:/^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^p/i,/^o/i,/^t/i,/^c/i,/^p/i,/^s/i],any:[/^sv/i,/^pi/i,/^o/i,/^t/i,/^c/i,/^p/i,/^se/i]},defaultParseWidth:"any"}),dayPeriod:(0,p.A)({matchPatterns:{narrow:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,abbreviated:/^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,wide:/^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^pusn/i,noon:/^pusd/i,morning:/^r/i,afternoon:/^(d|pēc)/i,evening:/^v/i,night:/^n/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},83536:(e,t,n)=>{"use strict";n.d(t,{mk:()=>h});const i={lessThanXSeconds:{one:"помалку од секунда",other:"помалку од {{count}} секунди"},xSeconds:{one:"1 секунда",other:"{{count}} секунди"},halfAMinute:"половина минута",lessThanXMinutes:{one:"помалку од минута",other:"помалку од {{count}} минути"},xMinutes:{one:"1 минута",other:"{{count}} минути"},aboutXHours:{one:"околу 1 час",other:"околу {{count}} часа"},xHours:{one:"1 час",other:"{{count}} часа"},xDays:{one:"1 ден",other:"{{count}} дена"},aboutXWeeks:{one:"околу 1 недела",other:"околу {{count}} месеци"},xWeeks:{one:"1 недела",other:"{{count}} недели"},aboutXMonths:{one:"околу 1 месец",other:"околу {{count}} недели"},xMonths:{one:"1 месец",other:"{{count}} месеци"},aboutXYears:{one:"околу 1 година",other:"околу {{count}} години"},xYears:{one:"1 година",other:"{{count}} години"},overXYears:{one:"повеќе од 1 година",other:"повеќе од {{count}} години"},almostXYears:{one:"безмалку 1 година",other:"безмалку {{count}} години"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{any:"{{date}} {{time}}"},defaultWidth:"any"})};var a=n(61288);const s=["недела","понеделник","вторник","среда","четврток","петок","сабота"];function c(e){const t=s[e];switch(e){case 0:case 3:case 6:return"'ова "+t+" вo' p";case 1:case 2:case 4:case 5:return"'овој "+t+" вo' p"}}const l={lastWeek:(e,t,n)=>{const i=e.getDay();return(0,a.R)(e,t,n)?c(i):function(e){const t=s[e];switch(e){case 0:case 3:case 6:return"'минатата "+t+" во' p";case 1:case 2:case 4:case 5:return"'минатиот "+t+" во' p"}}(i)},yesterday:"'вчера во' p",today:"'денес во' p",tomorrow:"'утре во' p",nextWeek:(e,t,n)=>{const i=e.getDay();return(0,a.R)(e,t,n)?c(i):function(e){const t=s[e];switch(e){case 0:case 3:case 6:return"'следната "+t+" вo' p";case 1:case 2:case 4:case 5:return"'следниот "+t+" вo' p"}}(i)},other:"P"};var u=n(62775);const d={ordinalNumber:(e,t)=>{const n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"-ви";case 2:return n+"-ри";case 7:case 8:return n+"-ми"}return n+"-ти"},era:(0,u.o)({values:{narrow:["пр.н.е.","н.е."],abbreviated:["пред н. е.","н. е."],wide:["пред нашата ера","нашата ера"]},defaultWidth:"wide"}),quarter:(0,u.o)({values:{narrow:["1","2","3","4"],abbreviated:["1-ви кв.","2-ри кв.","3-ти кв.","4-ти кв."],wide:["1-ви квартал","2-ри квартал","3-ти квартал","4-ти квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,u.o)({values:{abbreviated:["јан","фев","мар","апр","мај","јун","јул","авг","септ","окт","ноем","дек"],wide:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"]},defaultWidth:"wide"}),day:(0,u.o)({values:{narrow:["Н","П","В","С","Ч","П","С"],short:["не","по","вт","ср","че","пе","са"],abbreviated:["нед","пон","вто","сре","чет","пет","саб"],wide:["недела","понеделник","вторник","среда","четврток","петок","сабота"]},defaultWidth:"wide"}),dayPeriod:(0,u.o)({values:{wide:{am:"претпладне",pm:"попладне",midnight:"полноќ",noon:"напладне",morning:"наутро",afternoon:"попладне",evening:"навечер",night:"ноќе"}},defaultWidth:"wide"})};var p=n(50469);const h={code:"mk",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"за "+o:"пред "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=l[e];return"function"==typeof o?o(t,n,i):o},localize:d,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(-?[врмт][и])?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,p.A)({matchPatterns:{narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(пред нашата ера|нашата ера)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^п/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,p.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?и?)? кв.?/i,wide:/^[1234](-?[врт]?и?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,p.A)({matchPatterns:{abbreviated:/^(јан|фев|мар|апр|мај|јун|јул|авг|сеп|окт|ноем|дек)/i,wide:/^(јануари|февруари|март|април|мај|јуни|јули|август|септември|октомври|ноември|декември)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ја/i,/^Ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},defaultParseWidth:"any"}),day:(0,p.A)({matchPatterns:{narrow:/^[нпвсч]/i,short:/^(не|по|вт|ср|че|пе|са)/i,abbreviated:/^(нед|пон|вто|сре|чет|пет|саб)/i,wide:/^(недела|понеделник|вторник|среда|четврток|петок|сабота)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[аб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,p.A)({matchPatterns:{any:/^(претп|попл|полноќ|утро|пладне|вечер|ноќ)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/претпладне/i,pm:/попладне/i,midnight:/полноќ/i,noon:/напладне/i,morning:/наутро/i,afternoon:/попладне/i,evening:/навечер/i,night:/ноќе/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},70756:(e,t,n)=>{"use strict";n.d(t,{ms:()=>u});const i={lessThanXSeconds:{one:"kurang dari 1 saat",other:"kurang dari {{count}} saat"},xSeconds:{one:"1 saat",other:"{{count}} saat"},halfAMinute:"setengah minit",lessThanXMinutes:{one:"kurang dari 1 minit",other:"kurang dari {{count}} minit"},xMinutes:{one:"1 minit",other:"{{count}} minit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'lepas pada jam' p",yesterday:"'Semalam pada jam' p",today:"'Hari ini pada jam' p",tomorrow:"'Esok pada jam' p",nextWeek:"eeee 'pada jam' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>"ke-"+Number(e),era:(0,s.o)({values:{narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masihi","Masihi"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["S1","S2","S3","S4"],wide:["Suku pertama","Suku kedua","Suku ketiga","Suku keempat"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","O","S","O","N","D"],abbreviated:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],wide:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["A","I","S","R","K","J","S"],short:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],abbreviated:["Ahd","Isn","Sel","Rab","Kha","Jum","Sab"],wide:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"am",pm:"pm",midnight:"tgh malam",noon:"tgh hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"},wide:{am:"a.m.",pm:"p.m.",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"tengah hari",evening:"petang",night:"malam"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"ms",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"dalam masa "+o:o+" yang lalu":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^ke-(\d+)?/i,parsePattern:/petama|\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|m\.?)/i,wide:/^(sebelum masihi|masihi)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^(m)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^S[1234]/i,wide:/Suku (pertama|kedua|ketiga|keempat)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/pertama|1/i,/kedua|2/i,/ketiga|3/i,/keempat|4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mac|apr|mei|jun|jul|ogo|sep|okt|nov|dis)/i,wide:/^(januari|februari|mac|april|mei|jun|julai|ogos|september|oktober|november|disember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^o/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^og/i,/^s/i,/^ok/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[aisrkj]/i,short:/^(ahd|isn|sel|rab|kha|jum|sab)/i,abbreviated:/^(ahd|isn|sel|rab|kha|jum|sab)/i,wide:/^(ahad|isnin|selasa|rabu|khamis|jumaat|sabtu)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^a/i,/^i/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^a/i,/^i/i,/^se/i,/^r/i,/^k/i,/^j/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(am|pm|tengah malam|tengah hari|pagi|petang|malam)/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|pagi|petang|malam)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pa/i,afternoon:/tengah h/i,evening:/pe/i,night:/m/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},63855:(e,t,n)=>{"use strict";n.d(t,{nb:()=>u});const i={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},defaultWidth:"wide"})};var l=n(50469);const u={code:"nb",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"om "+o:o+" siden":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^e/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/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,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},1103:(e,t,n)=>{"use strict";n.d(t,{nl:()=>u});const i={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+"e",era:(0,s.o)({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})};var l=n(50469);const u={code:"nl",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"over "+o:o+" geleden":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|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:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},96344:(e,t,n)=>{"use strict";n.d(t,{pl:()=>g});const i={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function o(e,t,n){const i=function(e,t){if(1===t)return e.one;const n=t%100;if(n<=20&&n>10)return e.other;const i=n%10;return i>=2&&i<=4?e.twoFour:e.other}(e,t);return("string"==typeof i?i:i[n]).replace("{{count}}",String(t))}var r=n(84697);const a={date:(0,r.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s=n(61288);const c={masculine:"ostatni",feminine:"ostatnia"},l={masculine:"ten",feminine:"ta"},u={masculine:"następny",feminine:"następna"},d={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function p(e,t,n,i){let o;if((0,s.R)(t,n,i))o=l;else if("lastWeek"===e)o=c;else{if("nextWeek"!==e)throw new Error(`Cannot determine adjectives for token ${e}`);o=u}const r=t.getDay();return`'${o[d[r]]}' eeee 'o' p`}const h={lastWeek:p,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:p,other:"P"};var f=n(62775);const m={ordinalNumber:(e,t)=>String(e),era:(0,f.o)({values:{narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},defaultWidth:"wide"}),quarter:(0,f.o)({values:{narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,f.o)({values:{narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},defaultWidth:"wide",formattingValues:{narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},defaultFormattingWidth:"wide"}),day:(0,f.o)({values:{narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultWidth:"wide",formattingValues:{narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},defaultFormattingWidth:"wide"}),dayPeriod:(0,f.o)({values:{narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},defaultFormattingWidth:"wide"})};var _=n(50469);const g={code:"pl",formatDistance:(e,t,n)=>{const r=i[e];return n?.addSuffix?n.comparison&&n.comparison>0?"za "+o(r,t,"future"):o(r,t,"past")+" temu":o(r,t,"regular")},formatLong:a,formatRelative:(e,t,n,i)=>{const o=h[e];return"function"==typeof o?o(e,t,n,i):o},localize:m,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,_.A)({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,_.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,_.A)({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:"any"}),day:(0,_.A)({matchPatterns:{narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,_.A)({matchPatterns:{narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},38903:(e,t,n)=>{"use strict";n.d(t,{F:()=>u});const i={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:e=>{const t=e.getDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e);return"week"===t?.unit?n+"ª":n+"º"},era:(0,s.o)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"pt-BR",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"em "+o:"há "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=a[e];return"function"==typeof o?o(t):o},localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/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,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},17530:(e,t,n)=>{"use strict";n.d(t,{pt:()=>u});const i={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:e=>{const t=e.getDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+"º",era:(0,s.o)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"pt",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"daqui a "+o:"há "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=a[e];return"function"==typeof o?o(t):o},localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(º|ª)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/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,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},33140:(e,t,n)=>{"use strict";n.d(t,{ro:()=>u});const i={lessThanXSeconds:{one:"mai puțin de o secundă",other:"mai puțin de {{count}} secunde"},xSeconds:{one:"1 secundă",other:"{{count}} secunde"},halfAMinute:"jumătate de minut",lessThanXMinutes:{one:"mai puțin de un minut",other:"mai puțin de {{count}} minute"},xMinutes:{one:"1 minut",other:"{{count}} minute"},aboutXHours:{one:"circa 1 oră",other:"circa {{count}} ore"},xHours:{one:"1 oră",other:"{{count}} ore"},xDays:{one:"1 zi",other:"{{count}} zile"},aboutXWeeks:{one:"circa o săptămână",other:"circa {{count}} săptămâni"},xWeeks:{one:"1 săptămână",other:"{{count}} săptămâni"},aboutXMonths:{one:"circa 1 lună",other:"circa {{count}} luni"},xMonths:{one:"1 lună",other:"{{count}} luni"},aboutXYears:{one:"circa 1 an",other:"circa {{count}} ani"},xYears:{one:"1 an",other:"{{count}} ani"},overXYears:{one:"peste 1 an",other:"peste {{count}} ani"},almostXYears:{one:"aproape 1 an",other:"aproape {{count}} ani"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'la' {{time}}",long:"{{date}} 'la' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'trecută la' p",yesterday:"'ieri la' p",today:"'astăzi la' p",tomorrow:"'mâine la' p",nextWeek:"eeee 'viitoare la' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>String(e),era:(0,s.o)({values:{narrow:["Î","D"],abbreviated:["Î.d.C.","D.C."],wide:["Înainte de Cristos","După Cristos"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["primul trimestru","al doilea trimestru","al treilea trimestru","al patrulea trimestru"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["I","F","M","A","M","I","I","A","S","O","N","D"],abbreviated:["ian","feb","mar","apr","mai","iun","iul","aug","sep","oct","noi","dec"],wide:["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["d","l","m","m","j","v","s"],short:["du","lu","ma","mi","jo","vi","sâ"],abbreviated:["dum","lun","mar","mie","joi","vin","sâm"],wide:["duminică","luni","marți","miercuri","joi","vineri","sâmbătă"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"ami",morning:"dim",afternoon:"da",evening:"s",night:"n"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},abbreviated:{am:"AM",pm:"PM",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"},wide:{am:"a.m.",pm:"p.m.",midnight:"miezul nopții",noon:"amiază",morning:"dimineață",afternoon:"după-amiază",evening:"seară",night:"noapte"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"ro",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"în "+o:o+" în urmă":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(Î|D)/i,abbreviated:/^(Î\.?\s?d\.?\s?C\.?|Î\.?\s?e\.?\s?n\.?|D\.?\s?C\.?|e\.?\s?n\.?)/i,wide:/^(Înainte de Cristos|Înaintea erei noastre|După Cristos|Era noastră)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ÎC/i,/^DC/i],wide:[/^(Înainte de Cristos|Înaintea erei noastre)/i,/^(După Cristos|Era noastră)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^trimestrul [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[ifmaasond]/i,abbreviated:/^(ian|feb|mar|apr|mai|iun|iul|aug|sep|oct|noi|dec)/i,wide:/^(ianuarie|februarie|martie|aprilie|mai|iunie|iulie|august|septembrie|octombrie|noiembrie|decembrie)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^i/i,/^f/i,/^m/i,/^a/i,/^m/i,/^i/i,/^i/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ia/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^iun/i,/^iul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(d|l|ma|mi|j|v|s)/i,abbreviated:/^(dum|lun|mar|mie|jo|vi|sâ)/i,wide:/^(duminica|luni|marţi|miercuri|joi|vineri|sâmbătă)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^mi/i,/^j/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|mn|a|(dimineaţa|după-amiaza|seara|noaptea))/i,any:/^([ap]\.?\s?m\.?|miezul nopții|amiaza|(dimineaţa|după-amiaza|seara|noaptea))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/amiaza/i,morning:/dimineaţa/i,afternoon:/după-amiaza/i,evening:/seara/i,night:/noaptea/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},64741:(e,t,n)=>{"use strict";function i(e,t){if(void 0!==e.one&&1===t)return e.one;const n=t%10,i=t%100;return 1===n&&11!==i?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(i<10||i>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function o(e){return(t,n)=>n?.addSuffix?n.comparison&&n.comparison>0?e.future?i(e.future,t):"через "+i(e.regular,t):e.past?i(e.past,t):i(e.regular,t)+" назад":i(e.regular,t)}n.d(t,{ru:()=>m});const r={lessThanXSeconds:o({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:o({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>t?.addSuffix?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:o({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:o({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:o({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:o({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:o({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:o({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:o({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:o({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:o({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:o({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:o({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:o({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:o({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})};var a=n(84697);const s={date:(0,a.k)({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})};var c=n(61288);const l=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function u(e){const t=l[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}const d={lastWeek:(e,t,n)=>{const i=e.getDay();return(0,c.R)(e,t,n)?u(i):function(e){const t=l[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(i)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{const i=e.getDay();return(0,c.R)(e,t,n)?u(i):function(e){const t=l[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(i)},other:"P"};var p=n(62775);const h={ordinalNumber:(e,t)=>{const n=Number(e),i=t?.unit;let o;return o="date"===i?"-е":"week"===i||"minute"===i||"second"===i?"-я":"-й",n+o},era:(0,p.o)({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:(0,p.o)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,p.o)({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:(0,p.o)({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:(0,p.o)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})};var f=n(50469);const m={code:"ru",formatDistance:(e,t,n)=>r[e](t,n),formatLong:s,formatRelative:(e,t,n,i)=>{const o=d[e];return"function"==typeof o?o(t,n,i):o},localize:h,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,f.A)({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,f.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,f.A)({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,f.A)({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,f.A)({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},71418:(e,t,n)=>{"use strict";function i(e,t,n){const i=function(e,t){return 1===t&&e.one?e.one:t>=2&&t<=4&&e.twoFour?e.twoFour:e.other}(e,t);return i[n].replace("{{count}}",String(t))}function o(e){let t="";return"almost"===e&&(t="takmer"),"about"===e&&(t="približne"),t.length>0?t+" ":""}function r(e){let t="";return"lessThan"===e&&(t="menej než"),"over"===e&&(t="viac než"),t.length>0?t+" ":""}n.d(t,{sk:()=>_});const a={xSeconds:{one:{present:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{present:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{present:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{present:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{present:"minúta",past:"minútou",future:"minútu"},twoFour:{present:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{present:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{present:"hodina",past:"hodinou",future:"hodinu"},twoFour:{present:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{present:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{present:"deň",past:"dňom",future:"deň"},twoFour:{present:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{present:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{present:"týždeň",past:"týždňom",future:"týždeň"},twoFour:{present:"{{count}} týždne",past:"{{count}} týždňami",future:"{{count}} týždne"},other:{present:"{{count}} týždňov",past:"{{count}} týždňami",future:"{{count}} týždňov"}},xMonths:{one:{present:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{present:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{present:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{present:"rok",past:"rokom",future:"rok"},twoFour:{present:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{present:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}};var s=n(84697);const c={date:(0,s.k)({formats:{full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. M. y",short:"d. M. y"},defaultWidth:"full"}),time:(0,s.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,s.k)({formats:{full:"{{date}}, {{time}}",long:"{{date}}, {{time}}",medium:"{{date}}, {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var l=n(61288);const u=["nedeľu","pondelok","utorok","stredu","štvrtok","piatok","sobotu"];function d(e){return 4===e?"'vo' eeee 'o' p":"'v "+u[e]+" o' p"}const p={lastWeek:(e,t,n)=>{const i=e.getDay();return(0,l.R)(e,t,n)?d(i):function(e){const t=u[e];switch(e){case 0:case 3:case 6:return"'minulú "+t+" o' p";default:return"'minulý' eeee 'o' p"}}(i)},yesterday:"'včera o' p",today:"'dnes o' p",tomorrow:"'zajtra o' p",nextWeek:(e,t,n)=>{const i=e.getDay();return(0,l.R)(e,t,n)?d(i):function(e){const t=u[e];switch(e){case 0:case 4:case 6:return"'budúcu "+t+" o' p";default:return"'budúci' eeee 'o' p"}}(i)},other:"P"};var h=n(62775);const f={ordinalNumber:(e,t)=>Number(e)+".",era:(0,h.o)({values:{narrow:["pred Kr.","po Kr."],abbreviated:["pred Kr.","po Kr."],wide:["pred Kristom","po Kristovi"]},defaultWidth:"wide"}),quarter:(0,h.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. štvrťrok","2. štvrťrok","3. štvrťrok","4. štvrťrok"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,h.o)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"]},defaultWidth:"wide",formattingValues:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","feb","mar","apr","máj","jún","júl","aug","sep","okt","nov","dec"],wide:["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra"]},defaultFormattingWidth:"wide"}),day:(0,h.o)({values:{narrow:["n","p","u","s","š","p","s"],short:["ne","po","ut","st","št","pi","so"],abbreviated:["ne","po","ut","st","št","pi","so"],wide:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,h.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"poln.",noon:"pol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"polnoc",noon:"poludnie",morning:"ráno",afternoon:"popoludnie",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"o poln.",noon:"nap.",morning:"ráno",afternoon:"pop.",evening:"več.",night:"v n."},abbreviated:{am:"AM",pm:"PM",midnight:"o poln.",noon:"napol.",morning:"ráno",afternoon:"popol.",evening:"večer",night:"v noci"},wide:{am:"AM",pm:"PM",midnight:"o polnoci",noon:"napoludnie",morning:"ráno",afternoon:"popoludní",evening:"večer",night:"v noci"}},defaultFormattingWidth:"wide"})};var m=n(50469);const _={code:"sk",formatDistance:(e,t,n)=>{const s=function(e){return["lessThan","about","over","almost"].filter((function(t){return!!e.match(new RegExp("^"+t))}))[0]}(e)||"",c=(l=e.substring(s.length)).charAt(0).toLowerCase()+l.slice(1);var l;const u=a[c];return n?.addSuffix?n.comparison&&n.comparison>0?o(s)+"o "+r(s)+i(u,t,"future"):o(s)+"pred "+r(s)+i(u,t,"past"):o(s)+r(s)+i(u,t,"present")},formatLong:c,formatRelative:(e,t,n,i)=>{const o=p[e];return"function"==typeof o?o(t,n,i):o},localize:f,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,m.A)({matchPatterns:{narrow:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(pred Kr\.|pred n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(pred Kristom|pred na[šs][íi]m letopo[čc]tom|po Kristovi|n[áa][šs]ho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:(0,m.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\. [šs]tvr[ťt]rok/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,m.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,wide:/^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[íi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/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,/^m[áa]j/i,/^j[úu]n/i,/^j[úu]l/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,m.A)({matchPatterns:{narrow:/^[npusšp]/i,short:/^(ne|po|ut|st|št|pi|so)/i,abbreviated:/^(ne|po|ut|st|št|pi|so)/i,wide:/^(nede[ľl]a|pondelok|utorok|streda|[šs]tvrtok|piatok|sobota])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^u/i,/^s/i,/^š/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^u/i,/^st/i,/^(št|stv)/i,/^pi/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,m.A)({matchPatterns:{narrow:/^(am|pm|(o )?poln\.?|(nap\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]\.?|(v n\.?|noc))/i,abbreviated:/^(am|pm|(o )?poln\.?|(napol\.?|pol\.?)|r[áa]no|pop\.?|ve[čc]er|(v )?noci?)/i,any:/^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|í|i)|ve[čc]er|(v )?noci?)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/poln/i,noon:/^(nap|(na)?pol(\.|u))/i,morning:/^r[áa]no/i,afternoon:/^pop/i,evening:/^ve[čc]/i,night:/^(noc|v n\.)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},44135:(e,t,n)=>{"use strict";n.d(t,{sl:()=>u});const i={lessThanXSeconds:{present:{one:"manj kot {{count}} sekunda",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"},past:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundama",few:"manj kot {{count}} sekundami",other:"manj kot {{count}} sekundami"},future:{one:"manj kot {{count}} sekundo",two:"manj kot {{count}} sekundi",few:"manj kot {{count}} sekunde",other:"manj kot {{count}} sekund"}},xSeconds:{present:{one:"{{count}} sekunda",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"},past:{one:"{{count}} sekundo",two:"{{count}} sekundama",few:"{{count}} sekundami",other:"{{count}} sekundami"},future:{one:"{{count}} sekundo",two:"{{count}} sekundi",few:"{{count}} sekunde",other:"{{count}} sekund"}},halfAMinute:"pol minute",lessThanXMinutes:{present:{one:"manj kot {{count}} minuta",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"},past:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minutama",few:"manj kot {{count}} minutami",other:"manj kot {{count}} minutami"},future:{one:"manj kot {{count}} minuto",two:"manj kot {{count}} minuti",few:"manj kot {{count}} minute",other:"manj kot {{count}} minut"}},xMinutes:{present:{one:"{{count}} minuta",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"},past:{one:"{{count}} minuto",two:"{{count}} minutama",few:"{{count}} minutami",other:"{{count}} minutami"},future:{one:"{{count}} minuto",two:"{{count}} minuti",few:"{{count}} minute",other:"{{count}} minut"}},aboutXHours:{present:{one:"približno {{count}} ura",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"},past:{one:"približno {{count}} uro",two:"približno {{count}} urama",few:"približno {{count}} urami",other:"približno {{count}} urami"},future:{one:"približno {{count}} uro",two:"približno {{count}} uri",few:"približno {{count}} ure",other:"približno {{count}} ur"}},xHours:{present:{one:"{{count}} ura",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"},past:{one:"{{count}} uro",two:"{{count}} urama",few:"{{count}} urami",other:"{{count}} urami"},future:{one:"{{count}} uro",two:"{{count}} uri",few:"{{count}} ure",other:"{{count}} ur"}},xDays:{present:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"},past:{one:"{{count}} dnem",two:"{{count}} dnevoma",few:"{{count}} dnevi",other:"{{count}} dnevi"},future:{one:"{{count}} dan",two:"{{count}} dni",few:"{{count}} dni",other:"{{count}} dni"}},aboutXWeeks:{one:"približno {{count}} teden",two:"približno {{count}} tedna",few:"približno {{count}} tedne",other:"približno {{count}} tednov"},xWeeks:{one:"{{count}} teden",two:"{{count}} tedna",few:"{{count}} tedne",other:"{{count}} tednov"},aboutXMonths:{present:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"},past:{one:"približno {{count}} mesecem",two:"približno {{count}} mesecema",few:"približno {{count}} meseci",other:"približno {{count}} meseci"},future:{one:"približno {{count}} mesec",two:"približno {{count}} meseca",few:"približno {{count}} mesece",other:"približno {{count}} mesecev"}},xMonths:{present:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} meseci",other:"{{count}} mesecev"},past:{one:"{{count}} mesecem",two:"{{count}} mesecema",few:"{{count}} meseci",other:"{{count}} meseci"},future:{one:"{{count}} mesec",two:"{{count}} meseca",few:"{{count}} mesece",other:"{{count}} mesecev"}},aboutXYears:{present:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"},past:{one:"približno {{count}} letom",two:"približno {{count}} letoma",few:"približno {{count}} leti",other:"približno {{count}} leti"},future:{one:"približno {{count}} leto",two:"približno {{count}} leti",few:"približno {{count}} leta",other:"približno {{count}} let"}},xYears:{present:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"},past:{one:"{{count}} letom",two:"{{count}} letoma",few:"{{count}} leti",other:"{{count}} leti"},future:{one:"{{count}} leto",two:"{{count}} leti",few:"{{count}} leta",other:"{{count}} let"}},overXYears:{present:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"},past:{one:"več kot {{count}} letom",two:"več kot {{count}} letoma",few:"več kot {{count}} leti",other:"več kot {{count}} leti"},future:{one:"več kot {{count}} leto",two:"več kot {{count}} leti",few:"več kot {{count}} leta",other:"več kot {{count}} let"}},almostXYears:{present:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"},past:{one:"skoraj {{count}} letom",two:"skoraj {{count}} letoma",few:"skoraj {{count}} leti",other:"skoraj {{count}} leti"},future:{one:"skoraj {{count}} leto",two:"skoraj {{count}} leti",few:"skoraj {{count}} leta",other:"skoraj {{count}} let"}}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, dd. MMMM y",long:"dd. MMMM y",medium:"d. MMM y",short:"d. MM. yy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:e=>{switch(e.getDay()){case 0:return"'prejšnjo nedeljo ob' p";case 3:return"'prejšnjo sredo ob' p";case 6:return"'prejšnjo soboto ob' p";default:return"'prejšnji' EEEE 'ob' p"}},yesterday:"'včeraj ob' p",today:"'danes ob' p",tomorrow:"'jutri ob' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'naslednjo nedeljo ob' p";case 3:return"'naslednjo sredo ob' p";case 6:return"'naslednjo soboto ob' p";default:return"'naslednji' EEEE 'ob' p"}},other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["pr. n. št.","po n. št."],abbreviated:["pr. n. št.","po n. št."],wide:["pred našim štetjem","po našem štetju"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["1. čet.","2. čet.","3. čet.","4. čet."],wide:["1. četrtletje","2. četrtletje","3. četrtletje","4. četrtletje"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan.","feb.","mar.","apr.","maj","jun.","jul.","avg.","sep.","okt.","nov.","dec."],wide:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["n","p","t","s","č","p","s"],short:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],abbreviated:["ned.","pon.","tor.","sre.","čet.","pet.","sob."],wide:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"j",afternoon:"p",evening:"v",night:"n"},abbreviated:{am:"dop.",pm:"pop.",midnight:"poln.",noon:"pold.",morning:"jut.",afternoon:"pop.",evening:"več.",night:"noč"},wide:{am:"dop.",pm:"pop.",midnight:"polnoč",noon:"poldne",morning:"jutro",afternoon:"popoldne",evening:"večer",night:"noč"}},defaultWidth:"wide",formattingValues:{narrow:{am:"d",pm:"p",midnight:"24.00",noon:"12.00",morning:"zj",afternoon:"p",evening:"zv",night:"po"},abbreviated:{am:"dop.",pm:"pop.",midnight:"opoln.",noon:"opold.",morning:"zjut.",afternoon:"pop.",evening:"zveč.",night:"ponoči"},wide:{am:"dop.",pm:"pop.",midnight:"opolnoči",noon:"opoldne",morning:"zjutraj",afternoon:"popoldan",evening:"zvečer",night:"ponoči"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"sl",formatDistance:(e,t,n)=>{let o="",r="present";n?.addSuffix&&(n.comparison&&n.comparison>0?(r="future",o="čez "):(r="past",o="pred "));const a=i[e];if("string"==typeof a)o+=a;else{const e=function(e){switch(e%100){case 1:return"one";case 2:return"two";case 3:case 4:return"few";default:return"other"}}(t);void 0!==a.one?o+=a[e].replace("{{count}}",String(t)):o+=a[r][e].replace("{{count}}",String(t))}return o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=a[e];return"function"==typeof o?o(t):o},localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{abbreviated:/^(pr\. n\. št\.|po n\. št\.)/i,wide:/^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^pr/i,/^(po|na[sš]em)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?[čc]et\.?/i,wide:/^[1234]\. [čc]etrtletje/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,wide:/^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|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],abbreviated:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i],wide:[/^ja/i,/^fe/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^av/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"wide"}),day:(0,l.A)({matchPatterns:{narrow:/^[nptsčc]/i,short:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,abbreviated:/^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,wide:/^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^t/i,/^s/i,/^[cč]/i,/^p/i,/^s/i],any:[/^n/i,/^po/i,/^t/i,/^sr/i,/^[cč]/i,/^pe/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,any:/^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i},defaultMatchWidth:"any",parsePatterns:{narrow:{am:/^d/i,pm:/^p/i,midnight:/^24/i,noon:/^12/i,morning:/^(z?j)/i,afternoon:/^p/i,evening:/^(z?v)/i,night:/^(n|po)/i},any:{am:/^dop\./i,pm:/^pop\./i,midnight:/^o?poln/i,noon:/^o?pold/i,morning:/j/i,afternoon:/^pop\./i,evening:/^z?ve/i,night:/(po)?no/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},6729:(e,t,n)=>{"use strict";n.d(t,{sr:()=>u});const i={lessThanXSeconds:{one:{standalone:"мање од 1 секунде",withPrepositionAgo:"мање од 1 секунде",withPrepositionIn:"мање од 1 секунду"},dual:"мање од {{count}} секунде",other:"мање од {{count}} секунди"},xSeconds:{one:{standalone:"1 секунда",withPrepositionAgo:"1 секунде",withPrepositionIn:"1 секунду"},dual:"{{count}} секунде",other:"{{count}} секунди"},halfAMinute:"пола минуте",lessThanXMinutes:{one:{standalone:"мање од 1 минуте",withPrepositionAgo:"мање од 1 минуте",withPrepositionIn:"мање од 1 минуту"},dual:"мање од {{count}} минуте",other:"мање од {{count}} минута"},xMinutes:{one:{standalone:"1 минута",withPrepositionAgo:"1 минуте",withPrepositionIn:"1 минуту"},dual:"{{count}} минуте",other:"{{count}} минута"},aboutXHours:{one:{standalone:"око 1 сат",withPrepositionAgo:"око 1 сат",withPrepositionIn:"око 1 сат"},dual:"око {{count}} сата",other:"око {{count}} сати"},xHours:{one:{standalone:"1 сат",withPrepositionAgo:"1 сат",withPrepositionIn:"1 сат"},dual:"{{count}} сата",other:"{{count}} сати"},xDays:{one:{standalone:"1 дан",withPrepositionAgo:"1 дан",withPrepositionIn:"1 дан"},dual:"{{count}} дана",other:"{{count}} дана"},aboutXWeeks:{one:{standalone:"око 1 недељу",withPrepositionAgo:"око 1 недељу",withPrepositionIn:"око 1 недељу"},dual:"око {{count}} недеље",other:"око {{count}} недеље"},xWeeks:{one:{standalone:"1 недељу",withPrepositionAgo:"1 недељу",withPrepositionIn:"1 недељу"},dual:"{{count}} недеље",other:"{{count}} недеље"},aboutXMonths:{one:{standalone:"око 1 месец",withPrepositionAgo:"око 1 месец",withPrepositionIn:"око 1 месец"},dual:"око {{count}} месеца",other:"око {{count}} месеци"},xMonths:{one:{standalone:"1 месец",withPrepositionAgo:"1 месец",withPrepositionIn:"1 месец"},dual:"{{count}} месеца",other:"{{count}} месеци"},aboutXYears:{one:{standalone:"око 1 годину",withPrepositionAgo:"око 1 годину",withPrepositionIn:"око 1 годину"},dual:"око {{count}} године",other:"око {{count}} година"},xYears:{one:{standalone:"1 година",withPrepositionAgo:"1 године",withPrepositionIn:"1 годину"},dual:"{{count}} године",other:"{{count}} година"},overXYears:{one:{standalone:"преко 1 годину",withPrepositionAgo:"преко 1 годину",withPrepositionIn:"преко 1 годину"},dual:"преко {{count}} године",other:"преко {{count}} година"},almostXYears:{one:{standalone:"готово 1 годину",withPrepositionAgo:"готово 1 годину",withPrepositionIn:"готово 1 годину"},dual:"готово {{count}} године",other:"готово {{count}} година"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d. MMMM yyyy.",long:"d. MMMM yyyy.",medium:"d. MMM yy.",short:"dd. MM. yy."},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss (zzzz)",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'у' {{time}}",long:"{{date}} 'у' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:e=>{switch(e.getDay()){case 0:return"'прошле недеље у' p";case 3:return"'прошле среде у' p";case 6:return"'прошле суботе у' p";default:return"'прошли' EEEE 'у' p"}},yesterday:"'јуче у' p",today:"'данас у' p",tomorrow:"'сутра у' p",nextWeek:e=>{switch(e.getDay()){case 0:return"'следеће недеље у' p";case 3:return"'следећу среду у' p";case 6:return"'следећу суботу у' p";default:return"'следећи' EEEE 'у' p"}},other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["пр.н.е.","АД"],abbreviated:["пр. Хр.","по. Хр."],wide:["Пре Христа","После Христа"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1.","2.","3.","4."],abbreviated:["1. кв.","2. кв.","3. кв.","4. кв."],wide:["1. квартал","2. квартал","3. квартал","4. квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},defaultWidth:"wide",formattingValues:{narrow:["1.","2.","3.","4.","5.","6.","7.","8.","9.","10.","11.","12."],abbreviated:["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец"],wide:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"]},defaultFormattingWidth:"wide"}),day:(0,s.o)({values:{narrow:["Н","П","У","С","Ч","П","С"],short:["нед","пон","уто","сре","чет","пет","суб"],abbreviated:["нед","пон","уто","сре","чет","пет","суб"],wide:["недеља","понедељак","уторак","среда","четвртак","петак","субота"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},defaultWidth:"wide",formattingValues:{narrow:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},abbreviated:{am:"АМ",pm:"ПМ",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"поподне",evening:"увече",night:"ноћу"},wide:{am:"AM",pm:"PM",midnight:"поноћ",noon:"подне",morning:"ујутру",afternoon:"после подне",evening:"увече",night:"ноћу"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"sr",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?n?.addSuffix?n.comparison&&n.comparison>0?r.one.withPrepositionIn:r.one.withPrepositionAgo:r.one.standalone:t%10>1&&t%10<5&&"1"!==String(t).substr(-2,1)?r.dual.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"за "+o:"пре "+o:o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=a[e];return"function"==typeof o?o(t):o},localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)\./i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(пр\.н\.е\.|АД)/i,abbreviated:/^(пр\.\s?Хр\.|по\.\s?Хр\.)/i,wide:/^(Пре Христа|пре нове ере|После Христа|нова ера)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^пр/i,/^(по|нова)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\.\s?кв\.?/i,wide:/^[1234]\. квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(10|11|12|[123456789])\./i,abbreviated:/^(јан|феб|мар|апр|мај|јун|јул|авг|сеп|окт|нов|дец)/i,wide:/^((јануар|јануара)|(фебруар|фебруара)|(март|марта)|(април|априла)|(мја|маја)|(јун|јуна)|(јул|јула)|(август|августа)|(септембар|септембра)|(октобар|октобра)|(новембар|новембра)|(децембар|децембра))/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^1/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^7/i,/^8/i,/^9/i,/^10/i,/^11/i,/^12/i],any:[/^ја/i,/^ф/i,/^мар/i,/^ап/i,/^мај/i,/^јун/i,/^јул/i,/^авг/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[пусчн]/i,short:/^(нед|пон|уто|сре|чет|пет|суб)/i,abbreviated:/^(нед|пон|уто|сре|чет|пет|суб)/i,wide:/^(недеља|понедељак|уторак|среда|четвртак|петак|субота)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^п/i,/^у/i,/^с/i,/^ч/i,/^п/i,/^с/i,/^н/i],any:[/^нед/i,/^пон/i,/^уто/i,/^сре/i,/^чет/i,/^пет/i,/^суб/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(ам|пм|поноћ|(по)?подне|увече|ноћу|после подне|ујутру)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^поно/i,noon:/^под/i,morning:/ујутру/i,afternoon:/(после\s|по)+подне/i,evening:/(увече)/i,night:/(ноћу)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},32409:(e,t,n)=>{"use strict";n.d(t,{sv:()=>d});const i={lessThanXSeconds:{one:"mindre än en sekund",other:"mindre än {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre än en minut",other:"mindre än {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungefär en timme",other:"ungefär {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungefär en vecka",other:"ungefär {{count}} veckor"},xWeeks:{one:"en vecka",other:"{{count}} veckor"},aboutXMonths:{one:"ungefär en månad",other:"ungefär {{count}} månader"},xMonths:{one:"en månad",other:"{{count}} månader"},aboutXYears:{one:"ungefär ett år",other:"ungefär {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"över ett år",other:"över {{count}} år"},almostXYears:{one:"nästan ett år",other:"nästan {{count}} år"}},o=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"];var r=n(84697);const a={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},s={lastWeek:"'i' EEEE's kl.' p",yesterday:"'igår kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"};var c=n(62775);const l={ordinalNumber:(e,t)=>{const n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:case 2:return n+":a"}return n+":e"},era:(0,c.o)({values:{narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["före Kristus","efter Kristus"]},defaultWidth:"wide"}),quarter:(0,c.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,c.o)({values:{narrow:["S","M","T","O","T","F","L"],short:["sö","må","ti","on","to","fr","lö"],abbreviated:["sön","mån","tis","ons","tors","fre","lör"],wide:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"]},defaultWidth:"wide"}),dayPeriod:(0,c.o)({values:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kväll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kväll",night:"natt"},wide:{am:"förmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kväll",night:"natt"}},defaultWidth:"wide",formattingValues:{narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på efterm.",evening:"på kvällen",night:"på natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"på morgonen",afternoon:"på eftermiddagen",evening:"på kvällen",night:"på natten"}},defaultFormattingWidth:"wide"})};var u=n(50469);const d={code:"sv",formatDistance:(e,t,n)=>{let r;const a=i[e];return r="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t<13?o[t]:String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"om "+r:r+" sedan":r},formatLong:a,formatRelative:(e,t,n,i)=>s[e],localize:l,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(:a|:e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^f/i,/^[ev]/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|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,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},67031:(e,t,n)=>{"use strict";n.d(t,{ta:()=>u});const i={lessThanXSeconds:{one:{default:"ஒரு வினாடிக்கு குறைவாக",in:"ஒரு வினாடிக்குள்",ago:"ஒரு வினாடிக்கு முன்பு"},other:{default:"{{count}} வினாடிகளுக்கு குறைவாக",in:"{{count}} வினாடிகளுக்குள்",ago:"{{count}} வினாடிகளுக்கு முன்பு"}},xSeconds:{one:{default:"1 வினாடி",in:"1 வினாடியில்",ago:"1 வினாடி முன்பு"},other:{default:"{{count}} விநாடிகள்",in:"{{count}} வினாடிகளில்",ago:"{{count}} விநாடிகளுக்கு முன்பு"}},halfAMinute:{default:"அரை நிமிடம்",in:"அரை நிமிடத்தில்",ago:"அரை நிமிடம் முன்பு"},lessThanXMinutes:{one:{default:"ஒரு நிமிடத்திற்கும் குறைவாக",in:"ஒரு நிமிடத்திற்குள்",ago:"ஒரு நிமிடத்திற்கு முன்பு"},other:{default:"{{count}} நிமிடங்களுக்கும் குறைவாக",in:"{{count}} நிமிடங்களுக்குள்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},xMinutes:{one:{default:"1 நிமிடம்",in:"1 நிமிடத்தில்",ago:"1 நிமிடம் முன்பு"},other:{default:"{{count}} நிமிடங்கள்",in:"{{count}} நிமிடங்களில்",ago:"{{count}} நிமிடங்களுக்கு முன்பு"}},aboutXHours:{one:{default:"சுமார் 1 மணி நேரம்",in:"சுமார் 1 மணி நேரத்தில்",ago:"சுமார் 1 மணி நேரத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மணி நேரம்",in:"சுமார் {{count}} மணி நேரத்திற்கு முன்பு",ago:"சுமார் {{count}} மணி நேரத்தில்"}},xHours:{one:{default:"1 மணி நேரம்",in:"1 மணி நேரத்தில்",ago:"1 மணி நேரத்திற்கு முன்பு"},other:{default:"{{count}} மணி நேரம்",in:"{{count}} மணி நேரத்தில்",ago:"{{count}} மணி நேரத்திற்கு முன்பு"}},xDays:{one:{default:"1 நாள்",in:"1 நாளில்",ago:"1 நாள் முன்பு"},other:{default:"{{count}} நாட்கள்",in:"{{count}} நாட்களில்",ago:"{{count}} நாட்களுக்கு முன்பு"}},aboutXWeeks:{one:{default:"சுமார் 1 வாரம்",in:"சுமார் 1 வாரத்தில்",ago:"சுமார் 1 வாரம் முன்பு"},other:{default:"சுமார் {{count}} வாரங்கள்",in:"சுமார் {{count}} வாரங்களில்",ago:"சுமார் {{count}} வாரங்களுக்கு முன்பு"}},xWeeks:{one:{default:"1 வாரம்",in:"1 வாரத்தில்",ago:"1 வாரம் முன்பு"},other:{default:"{{count}} வாரங்கள்",in:"{{count}} வாரங்களில்",ago:"{{count}} வாரங்களுக்கு முன்பு"}},aboutXMonths:{one:{default:"சுமார் 1 மாதம்",in:"சுமார் 1 மாதத்தில்",ago:"சுமார் 1 மாதத்திற்கு முன்பு"},other:{default:"சுமார் {{count}} மாதங்கள்",in:"சுமார் {{count}} மாதங்களில்",ago:"சுமார் {{count}} மாதங்களுக்கு முன்பு"}},xMonths:{one:{default:"1 மாதம்",in:"1 மாதத்தில்",ago:"1 மாதம் முன்பு"},other:{default:"{{count}} மாதங்கள்",in:"{{count}} மாதங்களில்",ago:"{{count}} மாதங்களுக்கு முன்பு"}},aboutXYears:{one:{default:"சுமார் 1 வருடம்",in:"சுமார் 1 ஆண்டில்",ago:"சுமார் 1 வருடம் முன்பு"},other:{default:"சுமார் {{count}} ஆண்டுகள்",in:"சுமார் {{count}} ஆண்டுகளில்",ago:"சுமார் {{count}} ஆண்டுகளுக்கு முன்பு"}},xYears:{one:{default:"1 வருடம்",in:"1 ஆண்டில்",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகள்",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},overXYears:{one:{default:"1 வருடத்திற்கு மேல்",in:"1 வருடத்திற்கும் மேலாக",ago:"1 வருடம் முன்பு"},other:{default:"{{count}} ஆண்டுகளுக்கும் மேலாக",in:"{{count}} ஆண்டுகளில்",ago:"{{count}} ஆண்டுகளுக்கு முன்பு"}},almostXYears:{one:{default:"கிட்டத்தட்ட 1 வருடம்",in:"கிட்டத்தட்ட 1 ஆண்டில்",ago:"கிட்டத்தட்ட 1 வருடம் முன்பு"},other:{default:"கிட்டத்தட்ட {{count}} ஆண்டுகள்",in:"கிட்டத்தட்ட {{count}} ஆண்டுகளில்",ago:"கிட்டத்தட்ட {{count}} ஆண்டுகளுக்கு முன்பு"}}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, d MMMM, y",long:"d MMMM, y",medium:"d MMM, y",short:"d/M/yy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"a h:mm:ss zzzz",long:"a h:mm:ss z",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'கடந்த' eeee p 'மணிக்கு'",yesterday:"'நேற்று ' p 'மணிக்கு'",today:"'இன்று ' p 'மணிக்கு'",tomorrow:"'நாளை ' p 'மணிக்கு'",nextWeek:"eeee p 'மணிக்கு'",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>String(e),era:(0,s.o)({values:{narrow:["கி.மு.","கி.பி."],abbreviated:["கி.மு.","கி.பி."],wide:["கிறிஸ்துவுக்கு முன்","அன்னோ டோமினி"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["காலா.1","காலா.2","காலா.3","காலா.4"],wide:["ஒன்றாம் காலாண்டு","இரண்டாம் காலாண்டு","மூன்றாம் காலாண்டு","நான்காம் காலாண்டு"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["ஜ","பி","மா","ஏ","மே","ஜூ","ஜூ","ஆ","செ","அ","ந","டி"],abbreviated:["ஜன.","பிப்.","மார்.","ஏப்.","மே","ஜூன்","ஜூலை","ஆக.","செப்.","அக்.","நவ.","டிச."],wide:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ஞா","தி","செ","பு","வி","வெ","ச"],short:["ஞா","தி","செ","பு","வி","வெ","ச"],abbreviated:["ஞாயி.","திங்.","செவ்.","புத.","வியா.","வெள்.","சனி"],wide:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},defaultWidth:"wide",formattingValues:{narrow:{am:"மு.ப",pm:"பி.ப",midnight:"நள்.",noon:"நண்.",morning:"கா.",afternoon:"மதி.",evening:"மா.",night:"இர."},abbreviated:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"},wide:{am:"முற்பகல்",pm:"பிற்பகல்",midnight:"நள்ளிரவு",noon:"நண்பகல்",morning:"காலை",afternoon:"மதியம்",evening:"மாலை",night:"இரவு"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"ta",formatDistance:(e,t,n)=>{const o=n?.addSuffix?n.comparison&&n.comparison>0?"in":"ago":"default",r=i[e];return void 0===r.one?r[o]:1===t?r.one[o]:r.other[o].replace("{{count}}",String(t))},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(வது)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(கி.மு.|கி.பி.)/i,abbreviated:/^(கி\.?\s?மு\.?|கி\.?\s?பி\.?)/,wide:/^(கிறிஸ்துவுக்கு\sமுன்|அன்னோ\sடோமினி)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/கி\.?\s?மு\.?/,/கி\.?\s?பி\.?/]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^காலா.[1234]/i,wide:/^(ஒன்றாம்|இரண்டாம்|மூன்றாம்|நான்காம்) காலாண்டு/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/(1|காலா.1|ஒன்றாம்)/i,/(2|காலா.2|இரண்டாம்)/i,/(3|காலா.3|மூன்றாம்)/i,/(4|காலா.4|நான்காம்)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(ஜ|பி|மா|ஏ|மே|ஜூ|ஆ|செ|அ|ந|டி)$/i,abbreviated:/^(ஜன.|பிப்.|மார்.|ஏப்.|மே|ஜூன்|ஜூலை|ஆக.|செப்.|அக்.|நவ.|டிச.)/i,wide:/^(ஜனவரி|பிப்ரவரி|மார்ச்|ஏப்ரல்|மே|ஜூன்|ஜூலை|ஆகஸ்ட்|செப்டம்பர்|அக்டோபர்|நவம்பர்|டிசம்பர்)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ஜ$/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூ/i,/^ஜூ/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i],any:[/^ஜன/i,/^பி/i,/^மா/i,/^ஏ/i,/^மே/i,/^ஜூன்/i,/^ஜூலை/i,/^ஆ/i,/^செ/i,/^அ/i,/^ந/i,/^டி/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,short:/^(ஞா|தி|செ|பு|வி|வெ|ச)/i,abbreviated:/^(ஞாயி.|திங்.|செவ்.|புத.|வியா.|வெள்.|சனி)/i,wide:/^(ஞாயிறு|திங்கள்|செவ்வாய்|புதன்|வியாழன்|வெள்ளி|சனி)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i],any:[/^ஞா/i,/^தி/i,/^செ/i,/^பு/i,/^வி/i,/^வெ/i,/^ச/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(மு.ப|பி.ப|நள்|நண்|காலை|மதியம்|மாலை|இரவு)/i,any:/^(மு.ப|பி.ப|முற்பகல்|பிற்பகல்|நள்ளிரவு|நண்பகல்|காலை|மதியம்|மாலை|இரவு)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^மு/i,pm:/^பி/i,midnight:/^நள்/i,noon:/^நண்/i,morning:/காலை/i,afternoon:/மதியம்/i,evening:/மாலை/i,night:/இரவு/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},98045:(e,t,n)=>{"use strict";n.d(t,{te:()=>u});const i={lessThanXSeconds:{standalone:{one:"సెకను కన్నా తక్కువ",other:"{{count}} సెకన్ల కన్నా తక్కువ"},withPreposition:{one:"సెకను",other:"{{count}} సెకన్ల"}},xSeconds:{standalone:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"},withPreposition:{one:"ఒక సెకను",other:"{{count}} సెకన్ల"}},halfAMinute:{standalone:"అర నిమిషం",withPreposition:"అర నిమిషం"},lessThanXMinutes:{standalone:{one:"ఒక నిమిషం కన్నా తక్కువ",other:"{{count}} నిమిషాల కన్నా తక్కువ"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},xMinutes:{standalone:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాలు"},withPreposition:{one:"ఒక నిమిషం",other:"{{count}} నిమిషాల"}},aboutXHours:{standalone:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటలు"},withPreposition:{one:"సుమారు ఒక గంట",other:"సుమారు {{count}} గంటల"}},xHours:{standalone:{one:"ఒక గంట",other:"{{count}} గంటలు"},withPreposition:{one:"ఒక గంట",other:"{{count}} గంటల"}},xDays:{standalone:{one:"ఒక రోజు",other:"{{count}} రోజులు"},withPreposition:{one:"ఒక రోజు",other:"{{count}} రోజుల"}},aboutXWeeks:{standalone:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలు"},withPreposition:{one:"సుమారు ఒక వారం",other:"సుమారు {{count}} వారాలల"}},xWeeks:{standalone:{one:"ఒక వారం",other:"{{count}} వారాలు"},withPreposition:{one:"ఒక వారం",other:"{{count}} వారాలల"}},aboutXMonths:{standalone:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలలు"},withPreposition:{one:"సుమారు ఒక నెల",other:"సుమారు {{count}} నెలల"}},xMonths:{standalone:{one:"ఒక నెల",other:"{{count}} నెలలు"},withPreposition:{one:"ఒక నెల",other:"{{count}} నెలల"}},aboutXYears:{standalone:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాలు"},withPreposition:{one:"సుమారు ఒక సంవత్సరం",other:"సుమారు {{count}} సంవత్సరాల"}},xYears:{standalone:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాలు"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},overXYears:{standalone:{one:"ఒక సంవత్సరం పైగా",other:"{{count}} సంవత్సరాలకు పైగా"},withPreposition:{one:"ఒక సంవత్సరం",other:"{{count}} సంవత్సరాల"}},almostXYears:{standalone:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాలు"},withPreposition:{one:"దాదాపు ఒక సంవత్సరం",other:"దాదాపు {{count}} సంవత్సరాల"}}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"d, MMMM y, EEEE",long:"d MMMM, y",medium:"d MMM, y",short:"dd-MM-yy"},defaultWidth:"full"}),time:(0,o.k)({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:(0,o.k)({formats:{full:"{{date}} {{time}}'కి'",long:"{{date}} {{time}}'కి'",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'గత' eeee p",yesterday:"'నిన్న' p",today:"'ఈ రోజు' p",tomorrow:"'రేపు' p",nextWeek:"'తదుపరి' eeee p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+"వ",era:(0,s.o)({values:{narrow:["క్రీ.పూ.","క్రీ.శ."],abbreviated:["క్రీ.పూ.","క్రీ.శ."],wide:["క్రీస్తు పూర్వం","క్రీస్తుశకం"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["త్రై1","త్రై2","త్రై3","త్రై4"],wide:["1వ త్రైమాసికం","2వ త్రైమాసికం","3వ త్రైమాసికం","4వ త్రైమాసికం"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["జ","ఫి","మా","ఏ","మే","జూ","జు","ఆ","సె","అ","న","డి"],abbreviated:["జన","ఫిబ్ర","మార్చి","ఏప్రి","మే","జూన్","జులై","ఆగ","సెప్టెం","అక్టో","నవం","డిసెం"],wide:["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జులై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["ఆ","సో","మ","బు","గు","శు","శ"],short:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],abbreviated:["ఆది","సోమ","మంగళ","బుధ","గురు","శుక్ర","శని"],wide:["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},defaultWidth:"wide",formattingValues:{narrow:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},abbreviated:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"},wide:{am:"పూర్వాహ్నం",pm:"అపరాహ్నం",midnight:"అర్ధరాత్రి",noon:"మిట్టమధ్యాహ్నం",morning:"ఉదయం",afternoon:"మధ్యాహ్నం",evening:"సాయంత్రం",night:"రాత్రి"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"te",formatDistance:(e,t,n)=>{let o;const r=n?.addSuffix?i[e].withPreposition:i[e].standalone;return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+"లో":o+" క్రితం":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(వ)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,abbreviated:/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,wide:/^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(పూ|శ)/i,/^సా/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^త్రై[1234]/i,wide:/^[1234](వ)? త్రైమాసికం/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,abbreviated:/^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,wide:/^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^జ/i,/^ఫి/i,/^మా/i,/^ఏ/i,/^మే/i,/^జూ/i,/^జు/i,/^ఆ/i,/^సె/i,/^అ/i,/^న/i,/^డి/i],any:[/^జన/i,/^ఫి/i,/^మా/i,/^ఏ/i,/^మే/i,/^జూన్/i,/^జులై/i,/^ఆగ/i,/^సె/i,/^అ/i,/^న/i,/^డి/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^(ఆ|సో|మ|బు|గు|శు|శ)/i,short:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,abbreviated:/^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,wide:/^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ఆ/i,/^సో/i,/^మ/i,/^బు/i,/^గు/i,/^శు/i,/^శ/i],any:[/^ఆది/i,/^సోమ/i,/^మం/i,/^బుధ/i,/^గురు/i,/^శుక్ర/i,/^శని/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,any:/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^పూర్వాహ్నం/i,pm:/^అపరాహ్నం/i,midnight:/^అర్ధ/i,noon:/^మిట్ట/i,morning:/ఉదయం/i,afternoon:/మధ్యాహ్నం/i,evening:/సాయంత్రం/i,night:/రాత్రి/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},86111:(e,t,n)=>{"use strict";n.d(t,{th:()=>u});const i={lessThanXSeconds:{one:"น้อยกว่า 1 วินาที",other:"น้อยกว่า {{count}} วินาที"},xSeconds:{one:"1 วินาที",other:"{{count}} วินาที"},halfAMinute:"ครึ่งนาที",lessThanXMinutes:{one:"น้อยกว่า 1 นาที",other:"น้อยกว่า {{count}} นาที"},xMinutes:{one:"1 นาที",other:"{{count}} นาที"},aboutXHours:{one:"ประมาณ 1 ชั่วโมง",other:"ประมาณ {{count}} ชั่วโมง"},xHours:{one:"1 ชั่วโมง",other:"{{count}} ชั่วโมง"},xDays:{one:"1 วัน",other:"{{count}} วัน"},aboutXWeeks:{one:"ประมาณ 1 สัปดาห์",other:"ประมาณ {{count}} สัปดาห์"},xWeeks:{one:"1 สัปดาห์",other:"{{count}} สัปดาห์"},aboutXMonths:{one:"ประมาณ 1 เดือน",other:"ประมาณ {{count}} เดือน"},xMonths:{one:"1 เดือน",other:"{{count}} เดือน"},aboutXYears:{one:"ประมาณ 1 ปี",other:"ประมาณ {{count}} ปี"},xYears:{one:"1 ปี",other:"{{count}} ปี"},overXYears:{one:"มากกว่า 1 ปี",other:"มากกว่า {{count}} ปี"},almostXYears:{one:"เกือบ 1 ปี",other:"เกือบ {{count}} ปี"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"วันEEEEที่ do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"H:mm:ss น. zzzz",long:"H:mm:ss น. z",medium:"H:mm:ss น.",short:"H:mm น."},defaultWidth:"medium"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'เวลา' {{time}}",long:"{{date}} 'เวลา' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee'ที่แล้วเวลา' p",yesterday:"'เมื่อวานนี้เวลา' p",today:"'วันนี้เวลา' p",tomorrow:"'พรุ่งนี้เวลา' p",nextWeek:"eeee 'เวลา' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>String(e),era:(0,s.o)({values:{narrow:["B","คศ"],abbreviated:["BC","ค.ศ."],wide:["ปีก่อนคริสตกาล","คริสต์ศักราช"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["ไตรมาสแรก","ไตรมาสที่สอง","ไตรมาสที่สาม","ไตรมาสที่สี่"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],abbreviated:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],wide:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],short:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],abbreviated:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],wide:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"เช้า",afternoon:"บ่าย",evening:"เย็น",night:"กลางคืน"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},abbreviated:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"},wide:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง",midnight:"เที่ยงคืน",noon:"เที่ยง",morning:"ตอนเช้า",afternoon:"ตอนกลางวัน",evening:"ตอนเย็น",night:"ตอนกลางคืน"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"th",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"halfAMinute"===e?"ใน"+o:"ใน "+o:o+"ที่ผ่านมา":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^\d+/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^([bB]|[aA]|คศ)/i,abbreviated:/^([bB]\.?\s?[cC]\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?|ค\.?ศ\.?)/i,wide:/^(ก่อนคริสตกาล|คริสต์ศักราช|คริสตกาล)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^[bB]/i,/^(^[aA]|ค\.?ศ\.?|คริสตกาล|คริสต์ศักราช|)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^ไตรมาส(ที่)? ?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|แรก|หนึ่ง)/i,/(2|สอง)/i,/(3|สาม)/i,/(4|สี่)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?)/i,abbreviated:/^(ม\.?ค\.?|ก\.?พ\.?|มี\.?ค\.?|เม\.?ย\.?|พ\.?ค\.?|มิ\.?ย\.?|ก\.?ค\.?|ส\.?ค\.?|ก\.?ย\.?|ต\.?ค\.?|พ\.?ย\.?|ธ\.?ค\.?')/i,wide:/^(มกราคม|กุมภาพันธ์|มีนาคม|เมษายน|พฤษภาคม|มิถุนายน|กรกฎาคม|สิงหาคม|กันยายน|ตุลาคม|พฤศจิกายน|ธันวาคม)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/^มก/i,/^กุม/i,/^มี/i,/^เม/i,/^พฤษ/i,/^มิ/i,/^กรก/i,/^ส/i,/^กัน/i,/^ต/i,/^พฤศ/i,/^ธ/i],any:[/^ม\.?ค\.?/i,/^ก\.?พ\.?/i,/^มี\.?ค\.?/i,/^เม\.?ย\.?/i,/^พ\.?ค\.?/i,/^มิ\.?ย\.?/i,/^ก\.?ค\.?/i,/^ส\.?ค\.?/i,/^ก\.?ย\.?/i,/^ต\.?ค\.?/i,/^พ\.?ย\.?/i,/^ธ\.?ค\.?/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,short:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,abbreviated:/^(อา\.?|จ\.?|อ\.?|พฤ\.?|พ\.?|ศ\.?|ส\.?)/i,wide:/^(อาทิตย์|จันทร์|อังคาร|พุธ|พฤหัสบดี|ศุกร์|เสาร์)/i},defaultMatchWidth:"wide",parsePatterns:{wide:[/^อา/i,/^จั/i,/^อั/i,/^พุธ/i,/^พฤ/i,/^ศ/i,/^เส/i],any:[/^อา/i,/^จ/i,/^อ/i,/^พ(?!ฤ)/i,/^พฤ/i,/^ศ/i,/^ส/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(ก่อนเที่ยง|หลังเที่ยง|เที่ยงคืน|เที่ยง|(ตอน.*?)?.*(เที่ยง|เช้า|บ่าย|เย็น|กลางคืน))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ก่อนเที่ยง/i,pm:/^หลังเที่ยง/i,midnight:/^เที่ยงคืน/i,noon:/^เที่ยง/i,morning:/เช้า/i,afternoon:/บ่าย/i,evening:/เย็น/i,night:/กลางคืน/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},11554:(e,t,n)=>{"use strict";n.d(t,{tr:()=>u});const i={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>Number(e)+".",era:(0,s.o)({values:{narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,s.o)({values:{narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},defaultWidth:"wide",formattingValues:{narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"tr",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?o+" sonra":o+" önce":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,l.A)({matchPatterns:{narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},61753:(e,t,n)=>{"use strict";function i(e,t){if(void 0!==e.one&&1===t)return e.one;const n=t%10,i=t%100;return 1===n&&11!==i?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(i<10||i>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function o(e){return(t,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?i(e.future,t):"за "+i(e.regular,t):e.past?i(e.past,t):i(e.regular,t)+" тому":i(e.regular,t)}n.d(t,{uk:()=>_});const r={lessThanXSeconds:o({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:o({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:(e,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",lessThanXMinutes:o({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:o({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:o({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:o({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:o({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:o({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:o({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:o({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:o({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:o({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:o({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:o({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:o({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})};var a=n(84697);const s={date:(0,a.k)({formats:{full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,a.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,a.k)({formats:{full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var c=n(61288),l=n(72849);const u=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function d(e){return"'у "+u[e]+" о' p"}const p={lastWeek:(e,t,n)=>{const i=(0,l.a)(e),o=i.getDay();return(0,c.R)(i,t,n)?d(o):function(e){const t=u[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+t+" о' p";case 1:case 2:case 4:return"'у минулий "+t+" о' p"}}(o)},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:(e,t,n)=>{const i=(0,l.a)(e),o=i.getDay();return(0,c.R)(i,t,n)?d(o):function(e){const t=u[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+t+" о' p";case 1:case 2:case 4:return"'у наступний "+t+" о' p"}}(o)},other:"P"};var h=n(62775);const f={ordinalNumber:(e,t)=>{const n=String(t?.unit),i=Number(e);let o;return o="date"===n?3===i||23===i?"-є":"-е":"minute"===n||"second"===n||"hour"===n?"-а":"-й",i+o},era:(0,h.o)({values:{narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},defaultWidth:"wide"}),quarter:(0,h.o)({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,h.o)({values:{narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},defaultWidth:"wide",formattingValues:{narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},defaultFormattingWidth:"wide"}),day:(0,h.o)({values:{narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},defaultWidth:"wide"}),dayPeriod:(0,h.o)({values:{narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},defaultFormattingWidth:"wide"})};var m=n(50469);const _={code:"uk",formatDistance:(e,t,n)=>(n=n||{},r[e](t,n)),formatLong:s,formatRelative:(e,t,n,i)=>{const o=p[e];return"function"==typeof o?o(t,n,i):o},localize:f,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)(-?(е|й|є|а|я))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,m.A)({matchPatterns:{narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:(0,m.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,m.A)({matchPatterns:{narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},defaultParseWidth:"any"}),day:(0,m.A)({matchPatterns:{narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:(0,m.A)({matchPatterns:{narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},87318:(e,t,n)=>{"use strict";n.d(t,{vi:()=>u});const i={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e),i=t?.unit;if("quarter"===i)switch(n){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if("day"===i)switch(n){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if("week"===i)return 1===n?"thứ nhất":"thứ "+n;if("dayOfYear"===i)return 1===n?"đầu tiên":"thứ "+n}return String(n)},era:(0,s.o)({values:{narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},defaultWidth:"wide",formattingValues:{narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},defaultFormattingWidth:"wide"}),day:(0,s.o)({values:{narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"vi",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+" nữa":o+" trước":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(\d+)/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^t/i,/^s/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},defaultParseWidth:"wide"}),day:(0,l.A)({matchPatterns:{narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},defaultParseWidth:"wide"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},89949:(e,t,n)=>{"use strict";n.d(t,{g:()=>p});const i={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var a=n(61288);function s(e,t,n){const i="eeee p";return(0,a.R)(e,t,n)?i:e.getTime()>t.getTime()?"'下个'"+i:"'上个'"+i}const c={lastWeek:s,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:s,other:"PP p"};var l=n(62775);const u={ordinalNumber:(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},era:(0,l.o)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,l.o)({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,l.o)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,l.o)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,l.o)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})};var d=n(50469);const p={code:"zh-CN",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+"内":o+"前":o},formatLong:r,formatRelative:(e,t,n,i)=>{const o=c[e];return"function"==typeof o?o(t,n,i):o},localize:u,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.A)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},22180:(e,t,n)=>{"use strict";n.d(t,{a:()=>u});const i={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n+"日";case"hour":return n+"時";case"minute":return n+"分";case"second":return n+"秒";default:return"第 "+n}},era:(0,s.o)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"上",pm:"下",midnight:"午夜",noon:"晌",morning:"早",afternoon:"午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"},wide:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"午夜",noon:"晌",morning:"早",afternoon:"午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"},wide:{am:"上午",pm:"下午",midnight:"午夜",noon:"中午",morning:"上午",afternoon:"下午",evening:"晚上",night:"夜晚"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"zh-HK",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+"內":o+"前":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(第\s*)?\d+(日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]季/i,wide:/^第[一二三四]季度/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},85428:(e,t,n)=>{"use strict";n.d(t,{G:()=>u});const i={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}};var o=n(84697);const r={date:(0,o.k)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"};var s=n(62775);const c={ordinalNumber:(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n+"日";case"hour":return n+"時";case"minute":return n+"分";case"second":return n+"秒";default:return"第 "+n}},era:(0,s.o)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultFormattingWidth:"wide"})};var l=n(50469);const u={code:"zh-TW",formatDistance:(e,t,n)=>{let o;const r=i[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+"內":o+"前":o},formatLong:r,formatRelative:(e,t,n,i)=>a[e],localize:c,match:{ordinalNumber:(0,n(97174).K)({matchPattern:/^(第\s*)?\d+(日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,l.A)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},10849:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var i=n(72849);function o(e){const t=(0,i.a)(e);return t.setHours(0,0,0,0),t}},70001:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(72849),o=n(71682);function r(e,t){const n=(0,o.q)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,i.a)(e),s=a.getDay(),c=(s<r?7:0)+s-r;return a.setDate(a.getDate()-c),a.setHours(0,0,0,0),a}},72849:(e,t,n)=>{"use strict";function i(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}n.d(t,{a:()=>i})},96131:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=Object.prototype.hasOwnProperty;function o(e,t,n){for(n of e.keys())if(r(n,t))return n}function r(e,t){var n,a,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&r(e[a],t[a]););return-1===a}if(n===Set){if(e.size!==t.size)return!1;for(a of e){if((s=a)&&"object"==typeof s&&!(s=o(t,s)))return!1;if(!t.has(s))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(a of e){if((s=a[0])&&"object"==typeof s&&!(s=o(t,s)))return!1;if(!r(a[1],t.get(s)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return-1===a}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return-1===a}if(!n||"object"==typeof e){for(n in a=0,e){if(i.call(e,n)&&++a&&!i.call(t,n))return!1;if(!(n in t)||!r(e[n],t[n]))return!1}return Object.keys(t).length===a}}return e!=e&&t!=t}},28618:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o,zd:()=>i.domToReact});var i=n(8498);const o=i.default||i},46352:(e,t,n)=>{"use strict";function i(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}let o;function r(){return o||(o=function(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const o=i(n);return(e,n)=>o.then((i=>n(i.transaction(t,e).objectStore(t))))}("keyval-store","keyval")),o}function a(e,t=r()){return t("readonly",(t=>i(t.get(e))))}function s(e,t,n=r()){return n("readwrite",(n=>(n.put(t,e),i(n.transaction))))}function c(e,t=r()){return t("readwrite",(t=>(t.delete(e),i(t.transaction))))}n.d(t,{Jt:()=>a,hZ:()=>s,yH:()=>c})},83844:(e,t,n)=>{"use strict";n.d(t,{P2:()=>_});const i=(e,t)=>t.some((t=>e instanceof t));let o,r;const a=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,u=new WeakMap;let d={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return s.get(e);if("objectStoreNames"===t)return e.objectStoreNames||c.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return f(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function p(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(r||(r=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(m(this),t),f(a.get(this))}:function(...t){return f(e.apply(m(this),t))}:function(t,...n){const i=e.call(m(this),t,...n);return c.set(i,t.sort?t.sort():[t]),f(i)}}function h(e){return"function"==typeof e?p(e):(e instanceof IDBTransaction&&function(e){if(s.has(e))return;const t=new Promise(((t,n)=>{const i=()=>{e.removeEventListener("complete",o),e.removeEventListener("error",r),e.removeEventListener("abort",r)},o=()=>{t(),i()},r=()=>{n(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",o),e.addEventListener("error",r),e.addEventListener("abort",r)}));s.set(e,t)}(e),i(e,o||(o=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,d):e)}function f(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const i=()=>{e.removeEventListener("success",o),e.removeEventListener("error",r)},o=()=>{t(f(e.result)),i()},r=()=>{n(e.error),i()};e.addEventListener("success",o),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&a.set(t,e)})).catch((()=>{})),u.set(t,e),t}(e);if(l.has(e))return l.get(e);const t=h(e);return t!==e&&(l.set(e,t),u.set(t,e)),t}const m=e=>u.get(e);function _(e,t,{blocked:n,upgrade:i,blocking:o,terminated:r}={}){const a=indexedDB.open(e,t),s=f(a);return i&&a.addEventListener("upgradeneeded",(e=>{i(f(a.result),e.oldVersion,e.newVersion,f(a.transaction),e)})),n&&a.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),s.then((e=>{r&&e.addEventListener("close",(()=>r())),o&&e.addEventListener("versionchange",(e=>o(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),s}const g=["get","getKey","getAll","getAllKeys","count"],E=["put","add","delete","clear"],v=new Map;function y(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(v.get(t))return v.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,o=E.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!o&&!g.includes(n))return;const r=async function(e,...t){const r=this.transaction(e,o?"readwrite":"readonly");let a=r.store;return i&&(a=a.index(t.shift())),(await Promise.all([a[n](...t),o&&r.done]))[0]};return v.set(t,r),r}d=(e=>({...e,get:(t,n,i)=>y(t,n)||e.get(t,n,i),has:(t,n)=>!!y(t,n)||e.has(t,n)}))(d)},21364:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var i=null;try{i=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function o(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function r(e){return!0===(e&&e.__isLong__)}function a(e){var t=Math.clz32(e&-e);return e?31-t:t}o.prototype.__isLong__,Object.defineProperty(o.prototype,"__isLong__",{value:!0}),o.isLong=r;var s={},c={};function l(e,t){var n,i,o;return t?(o=0<=(e>>>=0)&&e<256)&&(i=c[e])?i:(n=d(e,0,!0),o&&(c[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(i=s[e])?i:(n=d(e,e<0?-1:0,!1),o&&(s[e]=n),n)}function u(e,t){if(isNaN(e))return t?y:v;if(t){if(e<0)return y;if(e>=_)return I}else{if(e<=-g)return O;if(e+1>=g)return A}return e<0?u(-e,t).neg():d(e%m|0,e/m|0,t)}function d(e,t,n){return new o(e,t,n)}o.fromInt=l,o.fromNumber=u,o.fromBits=d;var p=Math.pow;function h(e,t,n){if(0===e.length)throw Error("empty string");if("number"==typeof t?(n=t,t=!1):t=!!t,"NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return t?y:v;if((n=n||10)<2||36<n)throw RangeError("radix");var i;if((i=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===i)return h(e.substring(1),t,n).neg();for(var o=u(p(n,8)),r=v,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(s<8){var l=u(p(n,s));r=r.mul(l).add(u(c))}else r=(r=r.mul(o)).add(u(c))}return r.unsigned=t,r}function f(e,t){return"number"==typeof e?u(e,t):"string"==typeof e?h(e,t):d(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}o.fromString=h,o.fromValue=f;var m=4294967296,_=m*m,g=_/2,E=l(1<<24),v=l(0);o.ZERO=v;var y=l(0,!0);o.UZERO=y;var b=l(1);o.ONE=b;var S=l(1,!0);o.UONE=S;var T=l(-1);o.NEG_ONE=T;var A=d(-1,2147483647,!1);o.MAX_VALUE=A;var I=d(-1,-1,!0);o.MAX_UNSIGNED_VALUE=I;var O=d(0,-2147483648,!1);o.MIN_VALUE=O;var C=o.prototype;C.toInt=function(){return this.unsigned?this.low>>>0:this.low},C.toNumber=function(){return this.unsigned?(this.high>>>0)*m+(this.low>>>0):this.high*m+(this.low>>>0)},C.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(O)){var t=u(e),n=this.div(t),i=n.mul(t).sub(this);return n.toString(e)+i.toInt().toString(e)}return"-"+this.neg().toString(e)}for(var o=u(p(e,6),this.unsigned),r=this,a="";;){var s=r.div(o),c=(r.sub(s.mul(o)).toInt()>>>0).toString(e);if((r=s).isZero())return c+a;for(;c.length<6;)c="0"+c;a=""+c+a}},C.getHighBits=function(){return this.high},C.getHighBitsUnsigned=function(){return this.high>>>0},C.getLowBits=function(){return this.low},C.getLowBitsUnsigned=function(){return this.low>>>0},C.getNumBitsAbs=function(){if(this.isNegative())return this.eq(O)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high?t+33:t+1},C.isZero=function(){return 0===this.high&&0===this.low},C.eqz=C.isZero,C.isNegative=function(){return!this.unsigned&&this.high<0},C.isPositive=function(){return this.unsigned||this.high>=0},C.isOdd=function(){return 1==(1&this.low)},C.isEven=function(){return 0==(1&this.low)},C.equals=function(e){return r(e)||(e=f(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&(this.high===e.high&&this.low===e.low)},C.eq=C.equals,C.notEquals=function(e){return!this.eq(e)},C.neq=C.notEquals,C.ne=C.notEquals,C.lessThan=function(e){return this.comp(e)<0},C.lt=C.lessThan,C.lessThanOrEqual=function(e){return this.comp(e)<=0},C.lte=C.lessThanOrEqual,C.le=C.lessThanOrEqual,C.greaterThan=function(e){return this.comp(e)>0},C.gt=C.greaterThan,C.greaterThanOrEqual=function(e){return this.comp(e)>=0},C.gte=C.greaterThanOrEqual,C.ge=C.greaterThanOrEqual,C.compare=function(e){if(r(e)||(e=f(e)),this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},C.comp=C.compare,C.negate=function(){return!this.unsigned&&this.eq(O)?O:this.not().add(b)},C.neg=C.negate,C.add=function(e){r(e)||(e=f(e));var t=this.high>>>16,n=65535&this.high,i=this.low>>>16,o=65535&this.low,a=e.high>>>16,s=65535&e.high,c=e.low>>>16,l=0,u=0,p=0,h=0;return p+=(h+=o+(65535&e.low))>>>16,u+=(p+=i+c)>>>16,l+=(u+=n+s)>>>16,l+=t+a,d((p&=65535)<<16|(h&=65535),(l&=65535)<<16|(u&=65535),this.unsigned)},C.subtract=function(e){return r(e)||(e=f(e)),this.add(e.neg())},C.sub=C.subtract,C.multiply=function(e){if(this.isZero())return this;if(r(e)||(e=f(e)),i)return d(i.mul(this.low,this.high,e.low,e.high),i.get_high(),this.unsigned);if(e.isZero())return this.unsigned?y:v;if(this.eq(O))return e.isOdd()?O:v;if(e.eq(O))return this.isOdd()?O:v;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(E)&&e.lt(E))return u(this.toNumber()*e.toNumber(),this.unsigned);var t=this.high>>>16,n=65535&this.high,o=this.low>>>16,a=65535&this.low,s=e.high>>>16,c=65535&e.high,l=e.low>>>16,p=65535&e.low,h=0,m=0,_=0,g=0;return _+=(g+=a*p)>>>16,m+=(_+=o*p)>>>16,_&=65535,m+=(_+=a*l)>>>16,h+=(m+=n*p)>>>16,m&=65535,h+=(m+=o*l)>>>16,m&=65535,h+=(m+=a*c)>>>16,h+=t*p+n*l+o*c+a*s,d((_&=65535)<<16|(g&=65535),(h&=65535)<<16|(m&=65535),this.unsigned)},C.mul=C.multiply,C.divide=function(e){if(r(e)||(e=f(e)),e.isZero())throw Error("division by zero");var t,n,o;if(i)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?d((this.unsigned?i.div_u:i.div_s)(this.low,this.high,e.low,e.high),i.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?y:v;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return y;if(e.gt(this.shru(1)))return S;o=y}else{if(this.eq(O))return e.eq(b)||e.eq(T)?O:e.eq(O)?b:(t=this.shr(1).div(e).shl(1)).eq(v)?e.isNegative()?b:T:(n=this.sub(e.mul(t)),o=t.add(n.div(e)));if(e.eq(O))return this.unsigned?y:v;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();o=v}for(n=this;n.gte(e);){t=Math.max(1,Math.floor(n.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(t)/Math.LN2),s=a<=48?1:p(2,a-48),c=u(t),l=c.mul(e);l.isNegative()||l.gt(n);)l=(c=u(t-=s,this.unsigned)).mul(e);c.isZero()&&(c=b),o=o.add(c),n=n.sub(l)}return o},C.div=C.divide,C.modulo=function(e){return r(e)||(e=f(e)),i?d((this.unsigned?i.rem_u:i.rem_s)(this.low,this.high,e.low,e.high),i.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},C.mod=C.modulo,C.rem=C.modulo,C.not=function(){return d(~this.low,~this.high,this.unsigned)},C.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},C.clz=C.countLeadingZeros,C.countTrailingZeros=function(){return this.low?a(this.low):a(this.high)+32},C.ctz=C.countTrailingZeros,C.and=function(e){return r(e)||(e=f(e)),d(this.low&e.low,this.high&e.high,this.unsigned)},C.or=function(e){return r(e)||(e=f(e)),d(this.low|e.low,this.high|e.high,this.unsigned)},C.xor=function(e){return r(e)||(e=f(e)),d(this.low^e.low,this.high^e.high,this.unsigned)},C.shiftLeft=function(e){return r(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?d(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):d(0,this.low<<e-32,this.unsigned)},C.shl=C.shiftLeft,C.shiftRight=function(e){return r(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?d(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):d(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},C.shr=C.shiftRight,C.shiftRightUnsigned=function(e){return r(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?d(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):d(32===e?this.high:this.high>>>e-32,0,this.unsigned)},C.shru=C.shiftRightUnsigned,C.shr_u=C.shiftRightUnsigned,C.rotateLeft=function(e){var t;return r(e)&&(e=e.toInt()),0==(e&=63)?this:32===e?d(this.high,this.low,this.unsigned):e<32?(t=32-e,d(this.low<<e|this.high>>>t,this.high<<e|this.low>>>t,this.unsigned)):(t=32-(e-=32),d(this.high<<e|this.low>>>t,this.low<<e|this.high>>>t,this.unsigned))},C.rotl=C.rotateLeft,C.rotateRight=function(e){var t;return r(e)&&(e=e.toInt()),0==(e&=63)?this:32===e?d(this.high,this.low,this.unsigned):e<32?(t=32-e,d(this.high<<t|this.low>>>e,this.low<<t|this.high>>>e,this.unsigned)):(t=32-(e-=32),d(this.low<<t|this.high>>>e,this.high<<t|this.low>>>e,this.unsigned))},C.rotr=C.rotateRight,C.toSigned=function(){return this.unsigned?d(this.low,this.high,!1):this},C.toUnsigned=function(){return this.unsigned?this:d(this.low,this.high,!0)},C.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},C.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},C.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},o.fromBytes=function(e,t,n){return n?o.fromBytesLE(e,t):o.fromBytesBE(e,t)},o.fromBytesLE=function(e,t){return new o(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},o.fromBytesBE=function(e,t){return new o(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)};const R=o},83026:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var i=n(30758),o=n(58246);const r=()=>{if(typeof window>"u"){const e=()=>{};return[e,e]}let e,t;const n=window,i="function"==typeof n.requestIdleCallback,o=n.requestAnimationFrame,r=n.cancelAnimationFrame,a=i?n.requestIdleCallback:o,s=i?n.cancelIdleCallback:r,c=()=>{s(e),r(t)};return[(n,r)=>{c(),e=a(i?()=>{c(),t=o(n)}:n,"object"==typeof r?r:{timeout:2233})},c]},a=e=>{const{options:t,events:n,defer:a}=e||{},[s,c]=(0,i.useMemo)(r,[]),l=(0,i.useRef)(null),u=(0,i.useRef)(a),d=(0,i.useRef)(t),p=(0,i.useRef)(n);return(0,i.useEffect)((()=>{u.current=a}),[a]),(0,i.useEffect)((()=>{const{current:e}=l;d.current=t,o.ae.valid(e)&&e.options(t||{},!0)}),[t]),(0,i.useEffect)((()=>{const{current:e}=l;p.current=n,o.ae.valid(e)&&e.on(n||{},!0)}),[n]),(0,i.useEffect)((()=>()=>{var e;c(),null==(e=l.current)||e.destroy()}),[]),(0,i.useMemo)((()=>[e=>{const t=l.current;if(o.ae.valid(t))return;const n=u.current,i=d.current||{},r=p.current||{},a=()=>l.current=(0,o.ae)(e,i,r);n?s(a,n):a()},()=>l.current]),[])};(0,i.forwardRef)(((e,t)=>{const{element:n="div",options:o,events:r,defer:s,children:c,...l}=e,u=n,d=(0,i.useRef)(null),p=(0,i.useRef)(null),[h,f]=a({options:o,events:r,defer:s});return(0,i.useEffect)((()=>{const{current:e}=d,{current:t}=p;if(!e)return;return h("body"===n?{target:e,cancel:{body:null}}:{target:e,elements:{viewport:t,content:t}}),()=>{var e;return null==(e=f())?void 0:e.destroy()}}),[h,n]),(0,i.useImperativeHandle)(t,(()=>({osInstance:f,getElement:()=>d.current})),[]),i.createElement(u,{"data-overlayscrollbars-initialize":"",ref:d,...l},"body"===n?c:i.createElement("div",{"data-overlayscrollbars-contents":"",ref:p},c))}))},58246:(e,t,n)=>{"use strict";n.d(t,{ae:()=>xn,lW:()=>An});const i=(e,t)=>{const{o:n,i,u:o}=e;let r,a=n;const s=(e,t)=>{const n=a,s=e,c=t||(i?!i(n,s):n!==s);return(c||o)&&(a=s,r=n),[a,c,r]};return[t?e=>s(t(a,r),e):s,e=>[a,!!e,r]]},o="undefined"!=typeof window&&"undefined"!=typeof HTMLElement&&!!window.document?window:{},r=Math.max,a=Math.min,s=Math.round,c=Math.abs,l=Math.sign,u=o.cancelAnimationFrame,d=o.requestAnimationFrame,p=o.setTimeout,h=o.clearTimeout,f=e=>void 0!==o[e]?o[e]:void 0,m=f("MutationObserver"),_=f("IntersectionObserver"),g=f("ResizeObserver"),E=f("ScrollTimeline"),v=e=>void 0===e,y=e=>null===e,b=e=>"number"==typeof e,S=e=>"string"==typeof e,T=e=>"boolean"==typeof e,A=e=>"function"==typeof e,I=e=>Array.isArray(e),O=e=>"object"==typeof e&&!I(e)&&!y(e),C=e=>{const t=!!e&&e.length,n=b(t)&&t>-1&&t%1==0;return!!(I(e)||!A(e)&&n)&&(!(t>0&&O(e))||t-1 in e)},R=e=>!!e&&e.constructor===Object,N=e=>e instanceof HTMLElement,P=e=>e instanceof Element,L=()=>performance.now(),k=(e,t,n,i,o)=>{let a=0;const s=L(),c=r(0,n),l=n=>{const u=L(),p=u-s>=c,h=n?1:1-(r(0,s+c-u)/c||0),f=(t-e)*(A(o)?o(h,h*c,0,1,c):h)+e,m=p||1===h;i&&i(f,h,m),a=m?0:d((()=>l()))};return l(),e=>{u(a),e&&l(e)}};function w(e,t){if(C(e))for(let n=0;n<e.length&&!1!==t(e[n],n,e);n++);else e&&w(Object.keys(e),(n=>t(e[n],n,e)));return e}const D=(e,t)=>e.indexOf(t)>=0,M=(e,t)=>e.concat(t),x=(e,t,n)=>(n||S(t)||!C(t)?e.push(t):Array.prototype.push.apply(e,t),e),U=e=>Array.from(e||[]),V=e=>I(e)?e:!S(e)&&C(e)?U(e):[e],F=e=>!!e&&!e.length,B=e=>U(new Set(e)),H=(e,t,n)=>{w(e,(e=>e&&e.apply(void 0,t||[]))),!n&&(e.length=0)},G="paddingTop",W="paddingRight",j="paddingLeft",Y="paddingBottom",z="marginLeft",K="marginRight",J="marginBottom",q="overflowX",X="overflowY",$="width",Z="height",Q="visible",ee="hidden",te="scroll",ne=(e,t,n,i)=>{if(e&&t){let o=!0;return w(n,(n=>{(i?i(e[n]):e[n])!==(i?i(t[n]):t[n])&&(o=!1)})),o}return!1},ie=(e,t)=>ne(e,t,["w","h"]),oe=(e,t)=>ne(e,t,["x","y"]),re=(e,t)=>ne(e,t,["t","r","b","l"]),ae=()=>{},se=(e,...t)=>e.bind(0,...t),ce=e=>{let t;const n=e?p:d,i=e?h:u;return[o=>{i(t),t=n((()=>o()),A(e)?e():e)},()=>i(t)]},le=(e,t)=>{const{_:n,p:i,v:o,S:r}=t||{};let a,s,c,l,f=ae;const m=function(t){f(),h(a),l=a=s=void 0,f=ae,e.apply(this,t)},_=e=>r&&s?r(s,e):e,g=()=>{f!==ae&&m(_(c)||c)},E=function(){const e=U(arguments),t=A(n)?n():n;if(b(t)&&t>=0){const n=A(i)?i():i,r=b(n)&&n>=0,E=t>0?p:d,v=t>0?h:u,y=_(e)||e,S=m.bind(0,y);let T;f(),o&&!l?(S(),l=!0,T=E((()=>l=void 0),t)):(T=E(S,t),r&&!a&&(a=p(g,n))),f=()=>v(T),s=c=y}else m(e)};return E.m=g,E},ue=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),de=e=>e?Object.keys(e):[],pe=(e,t,n,i,o,r,a)=>{const s=[t,n,i,o,r,a];return"object"==typeof e&&!y(e)||A(e)||(e={}),w(s,(t=>{w(t,((n,i)=>{const o=t[i];if(e===o)return!0;const r=I(o);if(o&&R(o)){const t=e[i];let n=t;r&&!I(t)?n=[]:r||R(t)||(n={}),e[i]=pe(n,o)}else e[i]=r?o.slice():o}))})),e},he=(e,t)=>w(pe({},e),((e,n,i)=>{void 0===e?delete i[n]:t&&e&&R(e)&&(i[n]=he(e,t))})),fe=e=>!de(e).length,me=(e,t,n)=>r(e,a(t,n)),_e=e=>B((I(e)?e:(e||"").split(" ")).filter((e=>e))),ge=(e,t)=>e&&e.getAttribute(t),Ee=(e,t)=>e&&e.hasAttribute(t),ve=(e,t,n)=>{w(_e(t),(t=>{e&&e.setAttribute(t,String(n||""))}))},ye=(e,t)=>{w(_e(t),(t=>e&&e.removeAttribute(t)))},be=(e,t)=>{const n=_e(ge(e,t)),i=se(ve,e,t),o=(e,t)=>{const i=new Set(n);return w(_e(e),(e=>{i[t](e)})),U(i).join(" ")};return{O:e=>i(o(e,"delete")),$:e=>i(o(e,"add")),C:e=>{const t=_e(e);return t.reduce(((e,t)=>e&&n.includes(t)),t.length>0)}}},Se=(e,t,n)=>(be(e,t).O(n),se(Te,e,t,n)),Te=(e,t,n)=>(be(e,t).$(n),se(Se,e,t,n)),Ae=(e,t,n,i)=>(i?Te:Se)(e,t,n),Ie=(e,t,n)=>be(e,t).C(n),Oe=e=>be(e,"class"),Ce=(e,t)=>{Oe(e).O(t)},Re=(e,t)=>(Oe(e).$(t),se(Ce,e,t)),Ne=(e,t)=>{const n=t?P(t)&&t:document;return n?U(n.querySelectorAll(e)):[]},Pe=(e,t)=>P(e)&&e.matches(t),Le=e=>Pe(e,"body"),ke=e=>e?U(e.childNodes):[],we=e=>e&&e.parentElement,De=(e,t)=>P(e)&&e.closest(t),Me=e=>(e||document).activeElement,xe=(e,t,n)=>{const i=De(e,t),o=e&&((e,t)=>{const n=t?P(t)&&t:document;return n&&n.querySelector(e)})(n,i),r=De(o,t)===i;return!(!i||!o)&&(i===e||o===e||r&&De(De(e,n),t)!==i)},Ue=e=>{w(V(e),(e=>{const t=we(e);e&&t&&t.removeChild(e)}))},Ve=(e,t)=>se(Ue,e&&t&&w(V(t),(t=>{t&&e.appendChild(t)}))),Fe=e=>{const t=document.createElement("div");return ve(t,"class",e),t},Be=e=>{const t=Fe();return t.innerHTML=e.trim(),w(ke(t),(e=>Ue(e)))},He=(e,t)=>e.getPropertyValue(t)||e[t]||"",Ge=e=>{const t=e||0;return isFinite(t)?t:0},We=e=>Ge(parseFloat(e||"")),je=e=>Math.round(1e4*e)/1e4,Ye=e=>`${je(Ge(e))}px`;function ze(e,t){e&&t&&w(t,((t,n)=>{try{const i=e.style,o=y(t)||T(t)?"":b(t)?Ye(t):t;0===n.indexOf("--")?i.setProperty(n,o):i[n]=o}catch(e){}}))}function Ke(e,t,n){const i=S(t);let r=i?"":{};if(e){const a=o.getComputedStyle(e,n)||e.style;r=i?He(a,t):U(t).reduce(((e,t)=>(e[t]=He(a,t),e)),r)}return r}const Je=(e,t,n)=>{const i=t?`${t}-`:"",o=n?`-${n}`:"",r=`${i}top${o}`,a=`${i}right${o}`,s=`${i}bottom${o}`,c=`${i}left${o}`,l=Ke(e,[r,a,s,c]);return{t:We(l[r]),r:We(l[a]),b:We(l[s]),l:We(l[c])}},qe=(e,t)=>"translate"+(O(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`),Xe={w:0,h:0},$e=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:Xe,Ze=e=>$e("inner",e||o),Qe=se($e,"offset"),et=se($e,"client"),tt=se($e,"scroll"),nt=e=>{const t=parseFloat(Ke(e,$))||0,n=parseFloat(Ke(e,Z))||0;return{w:t-s(t),h:n-s(n)}},it=e=>e.getBoundingClientRect(),ot=e=>!(!e||!e[Z]&&!e[$]),rt=(e,t)=>{const n=ot(e);return!ot(t)&&n},at=(e,t,n,i)=>{w(_e(t),(t=>{e&&e.removeEventListener(t,n,i)}))},st=(e,t,n,i)=>{var o;const r=null==(o=i&&i.H)||o,a=i&&i.I||!1,s=i&&i.A||!1,c={passive:r,capture:a};return se(H,_e(t).map((t=>{const i=s?o=>{at(e,t,i,a),n&&n(o)}:n;return e&&e.addEventListener(t,i,c),se(at,e,t,i,a)})))},ct=e=>e.stopPropagation(),lt=e=>e.preventDefault(),ut=e=>ct(e)||lt(e),dt=(e,t)=>{const{x:n,y:i}=b(t)?{x:t,y:t}:t||{};b(n)&&(e.scrollLeft=n),b(i)&&(e.scrollTop=i)},pt=e=>({x:e.scrollLeft,y:e.scrollTop}),ht=(e,t)=>{const{D:n,T:i}=e,{w:o,h:r}=t,a=(e,t,n)=>{let i=l(e)*n,o=l(t)*n;if(i===o){const n=c(e),r=c(t);o=n>r?0:o,i=n<r?0:i}return i=i===o?0:i,[i+0,o+0]},[s,u]=a(n.x,i.x,o),[d,p]=a(n.y,i.y,r);return{D:{x:s,y:d},T:{x:u,y:p}}},ft=({D:e,T:t})=>{const n=(e,t)=>0===e&&e<=t;return{x:n(e.x,t.x),y:n(e.y,t.y)}},mt=({D:e,T:t},n)=>{const i=(e,t,n)=>me(0,1,(e-n)/(e-t)||0);return{x:i(e.x,t.x,n.x),y:i(e.y,t.y,n.y)}},_t=e=>{e&&e.focus&&e.focus({preventScroll:!0})},gt=(e,t)=>{w(V(t),e)},Et=e=>{const t=new Map,n=(e,n)=>{if(e){const i=t.get(e);gt((e=>{i&&i[e?"delete":"clear"](e)}),n)}else t.forEach((e=>{e.clear()})),t.clear()},i=(e,o)=>{if(S(e)){const i=t.get(e)||new Set;return t.set(e,i),gt((e=>{A(e)&&i.add(e)}),o),se(n,e,o)}T(o)&&o&&n();const r=de(e),a=[];return w(r,(t=>{const n=e[t];n&&x(a,i(t,n))})),se(H,a)};return i(e||{}),[i,n,(e,n)=>{w(U(t.get(e)),(e=>{n&&!F(n)?e.apply(0,n):e()}))}]},vt=e=>JSON.stringify(e,((e,t)=>{if(A(t))throw 0;return t})),yt=(e,t)=>e?`${t}`.split(".").reduce(((e,t)=>e&&ue(e,t)?e[t]:void 0),e):void 0,bt={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},St=(e,t)=>{const n={};return w(M(de(t),de(e)),(i=>{const o=e[i],r=t[i];if(O(o)&&O(r))pe(n[i]={},St(o,r)),fe(n[i])&&delete n[i];else if(ue(t,i)&&r!==o){let e=!0;if(I(o)||I(r))try{vt(o)===vt(r)&&(e=!1)}catch(e){}e&&(n[i]=r)}})),n},Tt=(e,t,n)=>i=>[yt(e,i),n||void 0!==yt(t,i)],At="data-overlayscrollbars",It="os-environment",Ot=`${It}-scrollbar-hidden`,Ct=`${At}-initialize`,Rt="noClipping",Nt=`${At}-body`,Pt=At,Lt=`${At}-viewport`,kt=q,wt=X,Dt="arrange",Mt="measuring",xt="scrollbarHidden",Ut=`${At}-padding`,Vt=`${At}-content`,Ft="os-size-observer",Bt=`${Ft}-appear`,Ht=`${Ft}-listener`,Gt="os-scrollbar",Wt=`${Gt}-rtl`,jt=`${Gt}-horizontal`,Yt=`${Gt}-vertical`,zt=`${Gt}-track`,Kt=`${Gt}-handle`,Jt=`${Gt}-visible`,qt=`${Gt}-cornerless`,Xt=`${Gt}-interaction`,$t=`${Gt}-unusable`,Zt=`${Gt}-auto-hide`,Qt=`${Zt}-hidden`,en=`${Gt}-wheel`,tn=`${zt}-interactive`,nn=`${Kt}-interactive`;let on;let rn;const an=()=>{const e=(e,t,n)=>{Ve(document.body,e),Ve(document.body,e);const i=et(e),o=Qe(e),r=nt(t);return n&&Ue(e),{x:o.h-i.h+r.h,y:o.w-i.w+r.w}},t=Be(`<div class="${It}"><div></div><style>${`.${It}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${It} div{width:200%;height:200%;margin:10px 0}.${Ot}{scrollbar-width:none!important}.${Ot}::-webkit-scrollbar,.${Ot}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`}</style></div>`)[0],n=t.firstChild,r=t.lastChild,a=on;a&&(r.nonce=a);const[s,,c]=Et(),[l,u]=i({o:e(t,n),i:oe},se(e,t,n,!0)),[d]=u(),p=(e=>{let t=!1;const n=Re(e,Ot);try{t="none"===Ke(e,"scrollbar-width")||"none"===Ke(e,"display","::-webkit-scrollbar")}catch(e){}return n(),t})(t),h={x:0===d.x,y:0===d.y},f={elements:{host:null,padding:!p,viewport:e=>p&&Le(e)&&e,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},m=pe({},bt),_=se(pe,{},m),g=se(pe,{},f),v={k:d,M:h,R:p,V:!!E,L:se(s,"r"),U:g,P:e=>pe(f,e)&&g(),N:_,q:e=>pe(m,e)&&_(),B:pe({},f),F:pe({},m)};if(ye(t,"style"),Ue(t),st(o,"resize",(()=>{c("r",[])})),A(o.matchMedia)&&!p&&(!h.x||!h.y)){const e=t=>{const n=o.matchMedia(`(resolution: ${o.devicePixelRatio}dppx)`);st(n,"change",(()=>{t(),e(t)}),{A:!0})};e((()=>{const[e,t]=l();pe(v.k,e),c("r",[t])}))}return v},sn=()=>(rn||(rn=an()),rn),cn=(e,t)=>A(t)?t.apply(0,e):t,ln=(e,t,n,i)=>{const o=v(i)?n:i;return cn(e,o)||t.apply(0,e)},un=(e,t,n,i)=>{const o=v(i)?n:i,r=cn(e,o);return!!r&&(N(r)?r:t.apply(0,e))},dn=new WeakMap,pn=e=>dn.get(e),hn=(e,t,n,i)=>{let o=!1;const{j:r,X:a,Y:s,W:c,J:l,G:u}=i||{},d=le((()=>o&&n(!0)),{_:33,p:99}),[p,h]=((e,t,n)=>{let i=!1;const o=!!n&&new WeakMap,r=r=>{if(o&&n){const a=n.map((t=>{const[n,i]=t||[];return[i&&n?(r||Ne)(n,e):[],i]}));w(a,(n=>w(n[0],(r=>{const a=n[1],s=o.get(r)||[];if(e.contains(r)&&a){const e=st(r,a,(n=>{i?(e(),o.delete(r)):t(n)}));o.set(r,x(s,e))}else H(s),o.delete(r)}))))}};return r(),[()=>{i=!0},r]})(e,d,s),f=a||[],_=M(r||[],f),g=(o,r)=>{if(!F(r)){const a=l||ae,s=u||ae,d=[],p=[];let m=!1,_=!1;if(w(r,(n=>{const{attributeName:o,target:r,type:l,oldValue:u,addedNodes:h,removedNodes:g}=n,E="attributes"===l,v="childList"===l,y=e===r,b=E&&o,T=b&&ge(r,o||""),A=S(T)?T:null,I=b&&u!==A,O=D(f,o)&&I;if(t&&(v||!y)){const t=E&&I,l=t&&c&&Pe(r,c),p=(l?!a(r,o,u,A):!E||t)&&!s(n,!!l,e,i);w(h,(e=>x(d,e))),w(g,(e=>x(d,e))),_=_||p}!t&&y&&I&&!a(r,o,u,A)&&(x(p,o),m=m||O)})),h((e=>B(d).reduce(((t,n)=>(x(t,Ne(e,n)),Pe(n,e)?x(t,n):t)),[]))),t)return!o&&_&&n(!1),[!1];if(!F(p)||m){const e=[B(p),m];return!o&&n.apply(0,e),e}}},E=new m(se(g,!1));return[()=>(E.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:_,subtree:t,childList:t,characterData:t}),o=!0,()=>{o&&(p(),E.disconnect(),o=!1)}),()=>{if(o)return d.m(),g(!0,E.takeRecords())}]},fn={},mn={},_n=(e,t,n)=>de(e).map((i=>{const{static:o,instance:r}=e[i],[a,s,c]=n||[],l=n?r:o;if(l){const e=n?l(a,s,t):l(t);return(c||mn)[i]=e}})),gn=e=>mn[e],En="__osSizeObserverPlugin",vn=(e,t)=>{const{M:n}=t,[i,o]=e("showNativeOverlaidScrollbars");return[i&&n.x&&n.y,o]},yn=e=>0===e.indexOf(Q),bn=(e,t)=>{const n=(e,t,n,i)=>{const o=e===Q?ee:e.replace(`${Q}-`,""),r=yn(e),a=yn(n);if(!t&&!i)return ee;if(r&&a)return Q;if(r){return t&&i?o:t?Q:ee}return t?o:a&&i?Q:ee},i={x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)};return{K:i,Z:{x:i.x===te,y:i.y===te}}},Sn="__osScrollbarsHidingPlugin",Tn="__osClickScrollPlugin",An=(()=>({[Tn]:{static:()=>(e,t,n,i,o)=>{let r=!1,a=ae,s=ae;const[c,l]=ce(133),u=(a,l,d)=>k(a,a+i*Math.sign(n),l?133:222,((n,a,d)=>{e(n);const p=t(),h=()=>{s=u(n,l+1)};r||!d||o>=p&&o<=p+i||(l?h():c(h))}),d);return a=u(0,0,(e=>1-(1-e)*(1-e))),e=>{r=!0,l(),e?(a(),s()):s()}}}}))(),In=(e,t,n)=>{const{dt:o}=n||{},r=gn(En),[a]=i({o:!1,u:!0});return()=>{const n=[],i=Be(`<div class="${Ft}"><div class="${Ht}"></div></div>`)[0],s=i.firstChild,c=e=>{let n=!1,i=!1;if(e instanceof ResizeObserverEntry){const[t,,o]=a(e.contentRect),r=ot(t);i=rt(t,o),n=!i&&!r}else i=!0===e;n||t({ft:!0,dt:i})};if(g){const e=new g((e=>c(e.pop())));e.observe(s),x(n,(()=>{e.disconnect()}))}else{if(!r)return ae;{const[e,t]=r(s,c,o);x(n,M([Re(i,Bt),st(i,"animationstart",e)],t))}}return se(H,x(n,Ve(e,i)))}},On=(e,t)=>{let n;const o=Fe("os-trinsic-observer"),[r]=i({o:!1}),a=(e,n)=>{if(e){const i=r((e=>0===e.h||e.isIntersecting||e.intersectionRatio>0)(e)),[,o]=i;return o&&!n&&t(i)&&[i]}},s=(e,t)=>a(t.pop(),e);return[()=>{const t=[];if(_)n=new _(se(s,!1),{root:e}),n.observe(o),x(t,(()=>{n.disconnect()}));else{const e=()=>{const e=Qe(o);a(e)};x(t,In(o,e)()),e()}return se(H,x(t,Ve(e,o)))},()=>n&&s(!0,n.takeRecords())]},Cn=(e,t,n,o)=>{let r,a,s,c,l,u;const d=`[${Pt}]`,p=`[${Lt}]`,h=["id","class","style","open","wrap","cols","rows"],{vt:f,gt:m,ot:_,ht:E,bt:v,nt:y,wt:S,yt:T,St:O,Ot:C}=e,R=e=>"rtl"===Ke(e,"direction"),N={$t:!1,ct:R(f)},P=sn(),L=gn(Sn),[k]=i({i:ie,o:{w:0,h:0}},(()=>{const i=L&&L.tt(e,t,N,P,n).ut,o=!(S&&y)&&Ie(m,Pt,Rt),r=!y&&T(Dt),a=r&&pt(E),s=a&&C(),c=O(Mt,o),l=r&&i&&i()[0],u=tt(_),d=nt(_);return l&&l(),dt(E,a),s&&s(),o&&c(),{w:u.w+d.w,h:u.h+d.h}})),w=le(o,{_:()=>r,p:()=>a,S(e,t){const[n]=e,[i]=t;return[M(de(n),de(i)).reduce(((e,t)=>(e[t]=n[t]||i[t],e)),{})]}}),D=e=>{const t=R(f);pe(e,{Ct:u!==t}),pe(N,{ct:t}),u=t},x=(e,t)=>{const[n,i]=e,r={xt:i};return pe(N,{$t:n}),!t&&o(r),r},U=({ft:e,dt:t})=>{const n=!(e&&!t)&&P.R?w:o,i={ft:e||t,dt:t};D(i),n(i)},V=(e,t)=>{const[,n]=k(),i={Ht:n};D(i);return n&&!t&&(e?o:w)(i),i},F=(e,t,n)=>{const i={Et:t};return D(i),t&&!n&&w(i),i},[B,H]=v?On(m,x):[],G=!y&&In(m,U,{dt:!0}),[W,j]=hn(m,!1,F,{X:h,j:h}),Y=y&&g&&new g((e=>{const t=e[e.length-1].contentRect;U({ft:!0,dt:rt(t,l)}),l=t})),z=le((()=>{const[,e]=k();o({Ht:e})}),{_:222,v:!0});return[()=>{Y&&Y.observe(m);const e=G&&G(),t=B&&B(),n=W(),i=P.L((e=>{e?w({zt:e}):z()}));return()=>{Y&&Y.disconnect(),e&&e(),t&&t(),c&&c(),n(),i()}},({It:e,At:t,Dt:n})=>{const i={},[o]=e("update.ignoreMutation"),[l,u]=e("update.attributes"),[f,m]=e("update.elementEvents"),[g,E]=e("update.debounce"),S=t||n;if(m||u){s&&s(),c&&c();const[e,t]=hn(v||_,!0,V,{j:M(h,l||[]),Y:f,W:d,G:(e,t)=>{const{target:n,attributeName:i}=e;return!(t||!i||y)&&xe(n,d,p)||!!De(n,`.${Gt}`)||!!(e=>A(o)&&o(e))(e)}});c=e(),s=t}if(E)if(w.m(),I(g)){const e=g[0],t=g[1];r=b(e)&&e,a=b(t)&&t}else b(g)?(r=g,a=!1):(r=!1,a=!1);if(S){const e=j(),t=H&&H(),n=s&&s();e&&pe(i,F(e[0],e[1],S)),t&&pe(i,x(t[0],S)),n&&pe(i,V(n[0],S))}return D(i),i},N]},Rn=(e,t,n,i)=>{const o="--os-scroll-percent",{U:r}=sn(),{scrollbars:a}=r(),{slot:s}=a,{vt:c,gt:l,ot:u,Tt:d,ht:p,wt:h,nt:f}=t,{scrollbars:m}=d?{}:e,{slot:_}=m||{},g=[],v=[],y=[],b=un([c,l,u],(()=>f&&h?c:l),s,_),S=e=>{if(E){const t=new E({source:p,axis:e}),n=e=>{const n=e.kt.animate({clear:["left"],[o]:[0,1]},{timeline:t});return()=>n.cancel()};return{Mt:n}}},A={x:S("x"),y:S("y")},I=(e,t,n)=>{const i=n?Re:Ce;w(e,(e=>{i(e.kt,t)}))},O=(e,t)=>{w(e,(e=>{const[n,i]=t(e);ze(n,i)}))},C=(e,t,n)=>{const i=T(n),o=!i||!n;(!i||n)&&I(v,e,t),o&&I(y,e,t)},R=e=>{const t=e?"x":"y",n=Fe(`${Gt} ${e?jt:Yt}`),o=Fe(zt),r=Fe(Kt),a={kt:n,Ut:o,Pt:r},s=A[t];return x(e?v:y,a),x(g,[Ve(n,o),Ve(o,r),se(Ue,n),s&&s.Mt(a),i(a,C,e)]),a},N=se(R,!0),P=se(R,!1);return N(),P(),[{Nt:()=>{const e=(()=>{const{Rt:e,Vt:t}=n,i=(e,t)=>me(0,1,e/(e+t)||0);return{x:i(t.x,e.x),y:i(t.y,e.y)}})(),t=e=>t=>[t.kt,{"--os-viewport-percent":je(e)+""}];O(v,t(e.x)),O(y,t(e.y))},qt:()=>{if(!E){const{Lt:e}=n,t=mt(e,pt(p)),i=e=>t=>[t.kt,{[o]:je(e)+""}];O(v,i(t.x)),O(y,i(t.y))}},Bt:()=>{const{Lt:e}=n,t=ft(e),i=e=>t=>[t.kt,{"--os-scroll-direction":e?"0":"1"}];O(v,i(t.x)),O(y,i(t.y))},Ft:()=>{if(f&&!h){const{Rt:e,Lt:t}=n,i=ft(t),o=mt(t,pt(p)),r=t=>{const{kt:n}=t,r=we(n)===u&&n,a=(e,t,n)=>{const i=t*e;return Ye(n?i:-i)};return[r,r&&{transform:qe({x:a(o.x,e.x,i.x),y:a(o.y,e.y,i.y)})}]};O(v,r),O(y,r)}},jt:C,Xt:{Yt:v,Wt:N,Jt:se(O,v)},Gt:{Yt:y,Wt:P,Jt:se(O,y)}},()=>(Ve(b,v[0].kt),Ve(b,y[0].kt),se(H,g))]},Nn=(e,t,n,i)=>(o,r,a)=>{const{gt:l,ot:u,nt:d,ht:h,Kt:f,Ot:m}=t,{kt:_,Ut:g,Pt:E}=o,[v,y]=ce(333),[b,S]=ce(444),T=e=>{A(h.scrollBy)&&h.scrollBy({behavior:"smooth",left:e.x,top:e.y})};let I=!0;return se(H,[st(E,"pointermove pointerleave",i),st(_,"pointerenter",(()=>{r(Xt,!0)})),st(_,"pointerleave pointercancel",(()=>{r(Xt,!1)})),!d&&st(_,"mousedown",(()=>{const e=Me();(Ee(e,Lt)||Ee(e,Pt)||e===document.body)&&p(se(_t,u),25)})),st(_,"wheel",(e=>{const{deltaX:t,deltaY:n,deltaMode:i}=e;I&&0===i&&we(_)===l&&T({x:t,y:n}),I=!1,r(en,!0),v((()=>{I=!0,r(en)})),lt(e)}),{H:!1,I:!0}),st(_,"pointerdown",se(st,f,"click",ut,{A:!0,I:!0,H:!1}),{I:!0}),(()=>{const t="pointerup pointercancel lostpointercapture",i="client"+(a?"X":"Y"),o=a?$:Z,r=a?"left":"top",l=a?"w":"h",u=a?"x":"y",d=(e,t)=>i=>{const{Rt:o}=n,r=Qe(g)[l]-Qe(E)[l],a=t*i/r*o[u];dt(h,{[u]:e+a})},p=[];return st(g,"pointerdown",(n=>{const a=De(n.target,`.${Kt}`)===E,_=a?E:g,v=e.scrollbars,{button:y,isPrimary:A,pointerType:I}=n,{pointers:O}=v;if(0===y&&A&&v[a?"dragScroll":"clickScroll"]&&(O||[]).includes(I)){H(p),S();const e=!a&&n.shiftKey,v=se(it,E),y=se(it,g),A=(e,t)=>(e||v())[r]-(t||y())[r],I=s(it(h)[o])/Qe(h)[l]||1,O=d(pt(h)[u],1/I),C=n[i],R=v(),N=y(),P=R[o],L=A(R,N)+P/2,k=C-N[r],w=a?0:k-L,D=e=>{H(U),_.releasePointerCapture(e.pointerId)},M=m(),U=[()=>{const e=pt(h);M();const t=pt(h),n={x:t.x-e.x,y:t.y-e.y};(c(n.x)>3||c(n.y)>3)&&(m(),dt(h,e),T(n),b(M))},st(f,t,D),st(f,"selectstart",(e=>lt(e)),{H:!1}),st(g,t,D),st(g,"pointermove",(t=>{const n=t[i]-C;(a||e)&&O(w+n)}))];if(_.setPointerCapture(n.pointerId),e)O(w);else if(!a){const e=gn(Tn);if(e){const t=e(O,A,w,P,k);x(U,se(t)),x(p,se(t,!0))}}}}))})(),y,S])},Pn=e=>{const t=sn(),{U:n,R:i}=t,{elements:r}=n(),{padding:a,viewport:s,content:c}=r,l=N(e),u=l?{}:e,{elements:d}=u,{padding:p,viewport:h,content:f}=d||{},m=l?e:u.target,_=Le(m),g=m.ownerDocument,E=g.documentElement,v=()=>g.defaultView||o,y=se(ln,[m]),b=se(un,[m]),S=se(Fe,""),T=se(y,S,s),A=se(b,S,c),I=T(h),O=I===m,C=O&&_,R=!O&&A(f),P=!O&&I===R,L=C?E:I,k=C?L:m,w=!O&&b(S,a,p),M=!P&&R,U=[M,L,w,k].map((e=>N(e)&&!we(e)&&e)),V=e=>e&&D(U,e),F=!V(L)&&(e=>{const t=Qe(e),n=tt(e),i=Ke(e,q),o=Ke(e,X);return n.w-t.w>0&&!yn(i)||n.h-t.h>0&&!yn(o)})(L)?L:m,B=C?E:L,G={vt:m,gt:k,ot:L,ln:w,bt:M,ht:B,Qt:C?g:L,an:_?E:F,Kt:g,wt:_,Tt:l,nt:O,un:v,yt:e=>Ie(L,Lt,e),St:(e,t)=>Ae(L,Lt,e,t),Ot:()=>Ae(B,Lt,"scrolling",!0)},{vt:W,gt:j,ln:Y,ot:z,bt:K}=G,J=[()=>{ye(j,[Pt,Ct]),ye(W,Ct),_&&ye(E,[Ct,Pt])}];let $=ke([K,z,Y,j,W].find((e=>e&&!V(e))));const Z=C?W:K||z,Q=se(H,J);return[G,()=>{const e=v(),t=Me(),n=e=>{Ve(we(e),ke(e)),Ue(e)},o=e=>st(e,"focusin focusout focus blur",ut,{I:!0,H:!1}),r="tabindex",a=ge(z,r),s=o(t);return ve(j,Pt,O?"":"host"),ve(Y,Ut,""),ve(z,Lt,""),ve(K,Vt,""),O||(ve(z,r,a||"-1"),_&&ve(E,Nt,"")),Ve(Z,$),Ve(j,Y),Ve(Y||j,!O&&z),Ve(z,K),x(J,[s,()=>{const e=Me(),t=V(z),i=t&&e===z?W:e,s=o(i);ye(Y,Ut),ye(K,Vt),ye(z,Lt),_&&ye(E,Nt),a?ve(z,r,a):ye(z,r),V(K)&&n(K),t&&n(z),V(Y)&&n(Y),_t(i),s()}]),i&&!O&&(Te(z,Lt,xt),x(J,se(ye,z,Lt))),_t(!O&&_&&t===W&&e.top===e?z:t),s(),$=0,Q},Q]},Ln=({bt:e})=>({Zt:t,_n:n,Dt:i})=>{const{xt:o}=t||{},{$t:r}=n;e&&(o||i)&&ze(e,{[Z]:r&&"100%"})},kn=({gt:e,ln:t,ot:n,nt:o},r)=>{const[a,s]=i({i:re,o:Je()},se(Je,e,"padding",""));return({It:e,Zt:i,_n:c,Dt:l})=>{let[u,d]=s(l);const{R:p}=sn(),{ft:h,Ht:f,Ct:m}=i||{},{ct:_}=c,[g,E]=e("paddingAbsolute");(h||d||(l||f))&&([u,d]=a(l));const v=!o&&(E||m||d);if(v){const e=!g||!t&&!p,i=u.r+u.l,o=u.t+u.b,a={[K]:e&&!_?-i:0,[J]:e?-o:0,[z]:e&&_?-i:0,top:e?-u.t:0,right:e?_?-u.r:"auto":0,left:e?_?"auto":-u.l:0,[$]:e&&`calc(100% + ${i}px)`},s={[G]:e?u.t:0,[W]:e?u.r:0,[Y]:e?u.b:0,[j]:e?u.l:0};ze(t||n,a),ze(n,s),pe(r,{ln:u,dn:!e,rt:t?s:pe({},a,s)})}return{fn:v}}},wn=(e,t)=>{const n=sn(),{gt:a,ln:s,ot:c,nt:l,Qt:u,ht:p,wt:h,St:f,un:m}=e,{R:_}=n,g=h&&l,E=se(r,0),v=["display","direction","flexDirection","writingMode"],y={i:ie,o:{w:0,h:0}},b={i:oe,o:{}},S=e=>{f(Mt,!g&&e)},T=(e,t)=>{const n=o.devicePixelRatio%1!=0?1:0,i={w:E(e.w-t.w),h:E(e.h-t.h)};return{w:i.w>n?i.w:0,h:i.h>n?i.h:0}},[A,I]=i(y,se(nt,c)),[O,C]=i(y,se(tt,c)),[R,N]=i(y),[P]=i(b),[L,k]=i(y),[w]=i(b),[D]=i({i:(e,t)=>ne(e,t,v),o:{}},(()=>(e=>!!e&&(e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e))(c)?Ke(c,v):{})),[M,x]=i({i:(e,t)=>oe(e.D,t.D)&&oe(e.T,t.T),o:{D:{x:0,y:0},T:{x:0,y:0}}},(()=>{S(!0);const e=pt(p),t=f("noContent",!0),n=st(u,te,(t=>{const n=pt(p);t.isTrusted&&n.x===e.x&&n.y===e.y&&ct(t)}),{I:!0,A:!0});dt(p,{x:0,y:0}),t();const i=pt(p),o=tt(p);dt(p,{x:o.w,y:o.h});const r=pt(p);dt(p,{x:r.x-i.x<1&&-o.w,y:r.y-i.y<1&&-o.h});const a=pt(p);return dt(p,e),d((()=>n())),{D:i,T:a}})),U=gn(Sn),V=(e,t)=>`${t?kt:wt}${(e=>{const t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""})(e)}`,F=e=>{const t=e=>[Q,ee,te].map((t=>V(t,e))),n=t(!0).concat(t()).join(" ");f(n),f(de(e).map((t=>V(e[t],"x"===t))).join(" "),!0)};return({It:i,Zt:o,_n:r,Dt:l},{fn:u})=>{const{ft:d,Ht:p,Ct:h,dt:v,zt:y}=o||{},b=U&&U.tt(e,t,r,n,i),{it:V,ut:B,_t:H}=b||{},[G,W]=vn(i,n),[j,Y]=i("overflow"),z=yn(j.x),K=yn(j.y);let J=I(l),q=C(l),X=N(l),$=k(l);W&&_&&f(xt,!G);{Ie(a,Pt,Rt)&&S(!0);const[e]=B?B():[],[t]=J=A(l),[n]=q=O(l),i=et(c),o=g&&Ze(m()),r={w:E(n.w+t.w),h:E(n.h+t.h)},s={w:E((o?o.w:i.w+E(i.w-n.w))+t.w),h:E((o?o.h:i.h+E(i.h-n.h))+t.h)};e&&e(),$=L(s),X=R(T(r,s),l)}const[Z,Q]=$,[ee,te]=X,[ne,ie]=q,[oe,re]=J,[ae,se]=P({x:ee.w>0,y:ee.h>0}),ce=z&&K&&(ae.x||ae.y)||z&&ae.x&&!ae.y||K&&ae.y&&!ae.x,le=u||h||y||re||ie||Q||te||Y||W||!0,ue=bn(ae,j),[de,he]=w(ue.K),[,fe]=D(l),me=h||v||fe||se||l,[_e,ge]=me?M(l):x();return le&&(he&&F(ue.K),H&&V&&ze(c,H(ue,r,V(ue,ne,oe)))),S(!1),Ae(a,Pt,Rt,ce),Ae(s,Ut,Rt,ce),pe(t,{K:de,Vt:{x:Z.w,y:Z.h},Rt:{x:ee.w,y:ee.h},rn:ae,Lt:ht(_e,ee)}),{en:he,nn:Q,sn:te,cn:ge||te,pn:me}}},Dn=e=>{const[t,n,i]=Pn(e),o={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[K]:0,[J]:0,[z]:0,[G]:0,[W]:0,[Y]:0,[j]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:ee,y:ee},rn:{x:!1,y:!1},Lt:{D:{x:0,y:0},T:{x:0,y:0}}},{vt:r,ht:a,nt:s,Ot:c}=t,{R:l,M:u}=sn(),d=!l&&(u.x||u.y),p=[Ln(t),kn(t,o),wn(t,o)];return[n,e=>{const t={},n=d&&pt(a),i=n&&c();return w(p,(n=>{pe(t,n(e,t)||{})})),dt(a,n),i&&i(),!s&&dt(r,0),t},o,t,i]},Mn=(e,t,n,i,o)=>{let r=!1;const a=Tt(t,{}),[s,c,l,u,d]=Dn(e),[p,h,f]=Cn(u,l,a,(e=>{v({},e)})),[m,_,,g]=((e,t,n,i,o,r)=>{let a,s,c,l,u,d=ae,p=0;const h=e=>"mouse"===e.pointerType,[f,m]=ce(),[_,g]=ce(100),[E,v]=ce(100),[y,b]=ce((()=>p)),[S,T]=Rn(e,o,i,Nn(t,o,i,(e=>h(e)&&w()))),{gt:A,Qt:I,wt:O}=o,{jt:C,Nt:R,qt:N,Bt:P,Ft:L}=S,k=(e,t)=>{if(b(),e)C(Qt);else{const e=se(C,Qt,!0);p>0&&!t?y(e):e()}},w=()=>{(c?a:l)||(k(!0),_((()=>{k(!1)})))},D=e=>{C(Zt,e,!0),C(Zt,e,!1)},M=e=>{h(e)&&(a=c,c&&k(!0))},U=[b,g,v,m,()=>d(),st(A,"pointerover",M,{A:!0}),st(A,"pointerenter",M),st(A,"pointerleave",(e=>{h(e)&&(a=!1,c&&k(!1))})),st(A,"pointermove",(e=>{h(e)&&s&&w()})),st(I,"scroll",(e=>{f((()=>{N(),w()})),r(e),L()}))];return[()=>se(H,x(U,T())),({It:e,Dt:t,Zt:o,tn:r})=>{const{nn:a,sn:h,en:f,cn:m}=r||{},{Ct:_,dt:g}=o||{},{ct:v}=n,{M:y}=sn(),{K:b,rn:S}=i,[T,A]=e("showNativeOverlaidScrollbars"),[w,M]=e("scrollbars.theme"),[x,U]=e("scrollbars.visibility"),[V,F]=e("scrollbars.autoHide"),[B,H]=e("scrollbars.autoHideSuspend"),[G]=e("scrollbars.autoHideDelay"),[W,j]=e("scrollbars.dragScroll"),[Y,z]=e("scrollbars.clickScroll"),[K,J]=e("overflow"),q=g&&!t,X=S.x||S.y,$=a||h||m||_||t,Z=f||U||J,ee=T&&y.x&&y.y,ne=(e,t,n)=>{const i=e.includes(te)&&(x===Q||"auto"===x&&t===te);return C(Jt,i,n),i};if(p=G,q&&(B&&X?(D(!1),d(),E((()=>{d=st(I,"scroll",se(D,!0),{A:!0})}))):D(!0)),A&&C("os-theme-none",ee),M&&(C(u),C(w,!0),u=w),H&&!B&&D(!0),F&&(s="move"===V,c="leave"===V,l="never"===V,k(l,!0)),j&&C(nn,W),z&&C(tn,Y),Z){const e=ne(K.x,b.x,!0),t=ne(K.y,b.y,!1);C(qt,!(e&&t))}$&&(N(),R(),L(),m&&P(),C($t,!S.x,!0),C($t,!S.y,!1),C(Wt,v&&!O))},{},S]})(e,t,f,l,u,o),E=e=>de(e).some((t=>!!e[t])),v=(e,o)=>{if(n())return!1;const{vn:a,Dt:s,At:l,gn:u}=e,d=a||{},p=!!s||!r,m={It:Tt(t,d,p),vn:d,Dt:p};if(u)return _(m),!1;const g=o||h(pe({},m,{At:l})),v=c(pe({},m,{_n:f,Zt:g}));_(pe({},m,{Zt:g,tn:v}));const y=E(g),b=E(v),S=y||b||!fe(d)||p;return r=!0,S&&i(e,{Zt:g,tn:v}),S};return[()=>{const{an:e,ht:t,Ot:n}=u,i=pt(e),o=[p(),s(),m()],r=n();return dt(t,i),r(),se(H,o)},v,()=>({hn:f,bn:l}),{wn:u,yn:g},d]},xn=(e,t,n)=>{const{N:i}=sn(),o=N(e),r=o?e:e.target,a=pn(r);if(t&&!a){let a=!1;const s=[],c={},l=e=>{const t=he(e,!0),n=gn("__osOptionsValidationPlugin");return n?n(t,!0):t},u=pe({},i(),l(t)),[d,p,h]=Et(),[f,m,_]=Et(n),g=(e,t)=>{_(e,t),h(e,t)},[E,b,S,T,A]=Mn(e,u,(()=>a),(({vn:e,Dt:t},{Zt:n,tn:i})=>{const{ft:o,Ct:r,xt:a,Ht:s,Et:c,dt:l}=n,{nn:u,sn:d,en:p,cn:h}=i;g("updated",[O,{updateHints:{sizeChanged:!!o,directionChanged:!!r,heightIntrinsicChanged:!!a,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!p,scrollCoordinatesChanged:!!h,contentMutation:!!s,hostMutation:!!c,appear:!!l},changedOptions:e||{},force:!!t}])}),(e=>g("scroll",[O,e]))),I=e=>{(e=>{dn.delete(e)})(r),H(s),a=!0,g("destroyed",[O,e]),p(),m()},O={options(e,t){if(e){const n=t?i():{},o=St(u,pe(n,l(e)));fe(o)||(pe(u,o),b({vn:o}))}return pe({},u)},on:f,off:(e,t)=>{e&&t&&m(e,t)},state(){const{hn:e,bn:t}=S(),{ct:n}=e,{Vt:i,Rt:o,K:r,rn:s,ln:c,dn:l,Lt:u}=t;return pe({},{overflowEdge:i,overflowAmount:o,overflowStyle:r,hasOverflow:s,scrollCoordinates:{start:u.D,end:u.T},padding:c,paddingAbsolute:l,directionRTL:n,destroyed:a})},elements(){const{vt:e,gt:t,ln:n,ot:i,bt:o,ht:r,Qt:a}=T.wn,{Xt:s,Gt:c}=T.yn,l=e=>{const{Pt:t,Ut:n,kt:i}=e;return{scrollbar:i,track:n,handle:t}},u=e=>{const{Yt:t,Wt:n}=e,i=l(t[0]);return pe({},i,{clone:()=>{const e=l(n());return b({gn:!0}),e}})};return pe({},{target:e,host:t,padding:n||i,viewport:i,content:o||i,scrollOffsetElement:r,scrollEventElement:a,scrollbarHorizontal:u(s),scrollbarVertical:u(c)})},update:e=>b({Dt:e,At:!0}),destroy:se(I,!1),plugin:e=>c[de(e)[0]]};return x(s,[A]),((e,t)=>{dn.set(e,t)})(r,O),_n(fn,xn,[O,d,c]),((e,t)=>{const{nativeScrollbarsOverlaid:n,body:i}=t||{},{M:o,R:r,U:a}=sn(),{nativeScrollbarsOverlaid:s,body:c}=a().cancel,l=null!=n?n:s,u=v(i)?c:i,d=(o.x||o.y)&&l,p=e&&(y(u)?!r:u);return!!d||!!p})(T.wn.wt,!o&&e.cancel)?(I(!0),O):(x(s,E()),g("initialized",[O]),O.update(),O)}return a};xn.plugin=e=>{const t=I(e),n=t?e:[e],i=n.map((e=>_n(e,xn)[0]));return(e=>{w(e,(e=>w(e,((t,n)=>{fn[n]=e[n]}))))})(n),t?i:i[0]},xn.valid=e=>{const t=e&&e.elements,n=A(t)&&t();return R(n)&&!!pn(n.target)},xn.env=()=>{const{k:e,M:t,R:n,V:i,B:o,F:r,U:a,P:s,N:c,q:l}=sn();return pe({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:i,staticDefaultInitialization:o,staticDefaultOptions:r,getDefaultInitialization:a,setDefaultInitialization:s,getDefaultOptions:c,setDefaultOptions:l})},xn.nonce=e=>{on=e}},50513:(e,t,n)=>{"use strict";n.d(t,{Wx:()=>p});var i=n(30758),o=Object.defineProperty,r=(e,t,n)=>(((e,t,n)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),a=new Map,s=new WeakMap,c=0,l=void 0;function u(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(s.has(n)||(c+=1,s.set(n,c.toString())),s.get(n)):"0"):e[t]}`;var n})).toString()}function d(e,t,n={},i=l){if(void 0===window.IntersectionObserver&&void 0!==i){const o=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}const{id:o,observer:r,elements:s}=function(e){const t=u(e);let n=a.get(t);if(!n){const i=new Map;let o;const r=new IntersectionObserver((t=>{t.forEach((t=>{var n;const r=t.isIntersecting&&o.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=r),null==(n=i.get(t.target))||n.forEach((e=>{e(r,t)}))}))}),e);o=r.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:r,elements:i},a.set(t,n)}return n}(n),c=s.get(e)||[];return s.has(e)||s.set(e,c),c.push(t),r.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(s.delete(e),r.unobserve(e)),0===s.size&&(r.disconnect(),a.delete(o))}}i.Component;function p({threshold:e,delay:t,trackVisibility:n,rootMargin:o,root:r,triggerOnce:a,skip:s,initialInView:c,fallbackInView:l,onChange:u}={}){var p;const[h,f]=i.useState(null),m=i.useRef(),[_,g]=i.useState({inView:!!c,entry:void 0});m.current=u,i.useEffect((()=>{if(s||!h)return;let i;return i=d(h,((e,t)=>{g({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&a&&i&&(i(),i=void 0)}),{root:r,rootMargin:o,threshold:e,trackVisibility:n,delay:t},l),()=>{i&&i()}}),[Array.isArray(e)?e.toString():e,h,r,o,a,s,n,l,t]);const E=null==(p=_.entry)?void 0:p.target,v=i.useRef();h||!E||a||s||v.current===E||(v.current=E,g({inView:!!c,entry:void 0}));const y=[f,_.inView,_.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}},75002:(e,t,n)=>{"use strict";n.d(t,{G:()=>a});const i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),o="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class a{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function o(e,t,r,a){let s=[],c=/^@(\w+)\b/.exec(e[0]),l=c&&"keyframes"==c[1];if(c&&null==t)return r.push(e[0]+";");for(let n in t){let a=t[n];if(/&/.test(n))o(n.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),a,r);else if(a&&"object"==typeof a){if(!c)throw new RangeError("The value of a property ("+n+") should be a primitive value.");o(i(n),a,s,l)}else null!=a&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+a+";")}(s.length||l)&&r.push((!n||c||a?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}for(let t in e)o(i(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=r[i]||1;return r[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let i=e[o],r=n&&n.nonce;i?r&&i.setNonce(r):i=new c(e,r),i.mount(Array.isArray(t)?t:[t],e)}}let s=new Map;class c{constructor(e,t){let n=e.ownerDocument||e,i=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let t=s.get(n);if(t)return e[o]=t;this.sheet=new i.CSSStyleSheet,s.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[o]=this}mount(e,t){let n=this.sheet,i=0,o=0;for(let t=0;t<e.length;t++){let r=e[t],a=this.modules.indexOf(r);if(a<o&&a>-1&&(this.modules.splice(a,1),o--,a=-1),-1==a){if(this.modules.splice(o++,0,r),n)for(let e=0;e<r.rules.length;e++)n.insertRule(r.rules[e],i++)}else{for(;o<a;)i+=this.modules[o++].rules.length;i+=r.rules.length,o++}}if(n)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},83422:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>r,__asyncDelegator:()=>I,__asyncGenerator:()=>A,__asyncValues:()=>O,__await:()=>T,__awaiter:()=>f,__classPrivateFieldGet:()=>L,__classPrivateFieldIn:()=>w,__classPrivateFieldSet:()=>k,__createBinding:()=>_,__decorate:()=>s,__disposeResources:()=>x,__esDecorate:()=>l,__exportStar:()=>g,__extends:()=>o,__generator:()=>m,__importDefault:()=>P,__importStar:()=>N,__makeTemplateObject:()=>C,__metadata:()=>h,__param:()=>c,__propKey:()=>d,__read:()=>v,__rest:()=>a,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>y,__spreadArray:()=>S,__spreadArrays:()=>b,__values:()=>E,default:()=>U});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}function s(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,i){t(n,i,e)}}function l(e,t,n,i,o,r){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=i.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?i.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,i.name):{}),p=!1,h=n.length-1;h>=0;h--){var f={};for(var m in i)f[m]="access"===m?{}:i[m];for(var m in i.access)f.access[m]=i.access[m];f.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");r.push(a(e||null))};var _=(0,n[h])("accessor"===c?{get:d.get,set:d.set}:d[l],f);if("accessor"===c){if(void 0===_)continue;if(null===_||"object"!=typeof _)throw new TypeError("Object expected");(s=a(_.get))&&(d.get=s),(s=a(_.set))&&(d.set=s),(s=a(_.init))&&o.unshift(s)}else(s=a(_))&&("field"===c?o.unshift(s):d[l]=s)}u&&Object.defineProperty(u,i.name,d),p=!0}function u(e,t,n){for(var i=arguments.length>2,o=0;o<t.length;o++)n=i?t[o].call(e,n):t[o].call(e);return i?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}function m(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var _=Object.create?function(e,t,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||_(t,e,n)}function E(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function b(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i}function S(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function T(e){return this instanceof T?(this.v=e,this):new T(e)}function A(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),r=[];return i={},a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),i[Symbol.asyncIterator]=function(){return this},i;function a(e,t){o[e]&&(i[e]=function(t){return new Promise((function(n,i){r.push([e,t,n,i])>1||s(e,t)}))},t&&(i[e]=t(i[e])))}function s(e,t){try{!function(e){e.value instanceof T?Promise.resolve(e.value.v).then(c,l):u(r[0][2],e)}(o[e](t))}catch(e){u(r[0][3],e)}}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),r.shift(),r.length&&s(r[0][0],r[0][1])}}function I(e){var t,n;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,o){t[i]=e[i]?function(t){return(n=!n)?{value:T(e[i](t)),done:!1}:o?o(t):t}:o}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=E(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,o){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var R=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&_(t,e,n);return R(t,e),t}function P(e){return e&&e.__esModule?e:{default:e}}function L(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)}function k(e,t,n,i,o){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?o.call(e,n):o?o.value=n:t.set(e,n),n}function w(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var i,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],n&&(o=i)}if("function"!=typeof i)throw new TypeError("Object not disposable.");o&&(i=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:i,async:n})}else n&&e.stack.push({async:!0});return t}var M="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var i=new Error(n);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};function x(e){function t(t){e.error=e.hasError?new M(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var i=e.stack.pop();try{var o=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}const U={__extends:o,__assign:r,__rest:a,__decorate:s,__param:c,__metadata:h,__awaiter:f,__generator:m,__createBinding:_,__exportStar:g,__values:E,__read:v,__spread:y,__spreadArrays:b,__spreadArray:S,__await:T,__asyncGenerator:A,__asyncDelegator:I,__asyncValues:O,__makeTemplateObject:C,__importStar:N,__importDefault:P,__classPrivateFieldGet:L,__classPrivateFieldSet:k,__classPrivateFieldIn:w,__addDisposableResource:D,__disposeResources:x}},396:(e,t,n)=>{"use strict";n.d(t,{BN:()=>o,E3:()=>i,xT:()=>l});for(var i={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},r="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)i[48+s]=i[96+s]=String(s);for(s=1;s<=24;s++)i[s+111]="F"+s;for(s=65;s<=90;s++)i[s]=String.fromCharCode(s+32),o[s]=String.fromCharCode(s);for(var c in i)o.hasOwnProperty(c)||(o[c]=i[c]);function l(e){var t=!(r&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?o:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},3367:(e,t,n)=>{"use strict";n.d(t,{Ck:()=>te,IN:()=>R,fK:()=>Z,lt:()=>x,rH:()=>q,zB:()=>O});var i,o,r,a,s,c=-1,l=function(e){addEventListener("pageshow",(function(t){t.persisted&&(c=t.timeStamp,e(t))}),!0)},u=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var e=u();return e&&e.activationStart||0},p=function(e,t){var n=u(),i="navigate";return c>=0?i="back-forward-cache":n&&(document.prerendering||d()>0?i="prerender":document.wasDiscarded?i="restore":n.type&&(i=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:i}},h=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var i=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return i.observe(Object.assign({type:e,buffered:!0},n||{})),i}}catch(e){}},f=function(e,t,n,i){var o,r;return function(a){t.value>=0&&(a||i)&&((r=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=r,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},m=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},_=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},g=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},E=-1,v=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(e){"hidden"===document.visibilityState&&E>-1&&(E="visibilitychange"===e.type?e.timeStamp:0,S())},b=function(){addEventListener("visibilitychange",y,!0),addEventListener("prerenderingchange",y,!0)},S=function(){removeEventListener("visibilitychange",y,!0),removeEventListener("prerenderingchange",y,!0)},T=function(){return E<0&&(E=v(),b(),l((function(){setTimeout((function(){E=v(),b()}),0)}))),{get firstHiddenTime(){return E}}},A=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},I=[1800,3e3],O=function(e,t){t=t||{},A((function(){var n,i=T(),o=p("FCP"),r=h("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(r.disconnect(),e.startTime<i.firstHiddenTime&&(o.value=Math.max(e.startTime-d(),0),o.entries.push(e),n(!0)))}))}));r&&(n=f(e,o,I,t.reportAllChanges),l((function(i){o=p("FCP"),n=f(e,o,I,t.reportAllChanges),m((function(){o.value=performance.now()-i.timeStamp,n(!0)}))})))}))},C=[.1,.25],R=function(e,t){t=t||{},O(g((function(){var n,i=p("CLS",0),o=0,r=[],a=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=r[0],n=r[r.length-1];o&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,r.push(e)):(o=e.value,r=[e])}})),o>i.value&&(i.value=o,i.entries=r,n())},s=h("layout-shift",a);s&&(n=f(e,i,C,t.reportAllChanges),_((function(){a(s.takeRecords()),n(!0)})),l((function(){o=0,i=p("CLS",0),n=f(e,i,C,t.reportAllChanges),m((function(){return n()}))})),setTimeout(n,0))})))},N={passive:!0,capture:!0},P=new Date,L=function(e,t){i||(i=t,o=e,r=new Date,D(removeEventListener),k())},k=function(){if(o>=0&&o<r-P){var e={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+o};a.forEach((function(t){t(e)})),a=[]}},w=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){L(e,t),o()},i=function(){o()},o=function(){removeEventListener("pointerup",n,N),removeEventListener("pointercancel",i,N)};addEventListener("pointerup",n,N),addEventListener("pointercancel",i,N)}(t,e):L(t,e)}},D=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,w,N)}))},M=[100,300],x=function(e,t){t=t||{},A((function(){var n,r=T(),s=p("FID"),c=function(e){e.startTime<r.firstHiddenTime&&(s.value=e.processingStart-e.startTime,s.entries.push(e),n(!0))},u=function(e){e.forEach(c)},d=h("first-input",u);n=f(e,s,M,t.reportAllChanges),d&&_(g((function(){u(d.takeRecords()),d.disconnect()}))),d&&l((function(){var r;s=p("FID"),n=f(e,s,M,t.reportAllChanges),a=[],o=-1,i=null,D(addEventListener),r=c,a.push(r),k()}))}))},U=0,V=1/0,F=0,B=function(e){e.forEach((function(e){e.interactionId&&(V=Math.min(V,e.interactionId),F=Math.max(F,e.interactionId),U=F?(F-V)/7+1:0)}))},H=function(){return s?U:performance.interactionCount||0},G=function(){"interactionCount"in performance||s||(s=h("event",B,{type:"event",buffered:!0,durationThreshold:0}))},W=[200,500],j=0,Y=function(){return H()-j},z=[],K={},J=function(e){var t=z[z.length-1],n=K[e.interactionId];if(n||z.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var i={id:e.interactionId,latency:e.duration,entries:[e]};K[i.id]=i,z.push(i)}z.sort((function(e,t){return t.latency-e.latency})),z.splice(10).forEach((function(e){delete K[e.id]}))}},q=function(e,t){t=t||{},A((function(){var n;G();var i,o=p("INP"),r=function(e){e.forEach((function(e){e.interactionId&&J(e),"first-input"===e.entryType&&!z.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&J(e)}));var t,n=(t=Math.min(z.length-1,Math.floor(Y()/50)),z[t]);n&&n.latency!==o.value&&(o.value=n.latency,o.entries=n.entries,i())},a=h("event",r,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});i=f(e,o,W,t.reportAllChanges),a&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),_((function(){r(a.takeRecords()),o.value<0&&Y()>0&&(o.value=0,o.entries=[]),i(!0)})),l((function(){z=[],j=H(),o=p("INP"),i=f(e,o,W,t.reportAllChanges)})))}))},X=[2500,4e3],$={},Z=function(e,t){t=t||{},A((function(){var n,i=T(),o=p("LCP"),r=function(e){var t=e[e.length-1];t&&t.startTime<i.firstHiddenTime&&(o.value=Math.max(t.startTime-d(),0),o.entries=[t],n())},a=h("largest-contentful-paint",r);if(a){n=f(e,o,X,t.reportAllChanges);var s=g((function(){$[o.id]||(r(a.takeRecords()),a.disconnect(),$[o.id]=!0,n(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return setTimeout(s,0)}),!0)})),_(s),l((function(i){o=p("LCP"),n=f(e,o,X,t.reportAllChanges),m((function(){o.value=performance.now()-i.timeStamp,$[o.id]=!0,n(!0)}))}))}}))},Q=[800,1800],ee=function e(t){document.prerendering?A((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},te=function(e,t){t=t||{};var n=p("TTFB"),i=f(e,n,Q,t.reportAllChanges);ee((function(){var o=u();if(o){var r=o.responseStart;if(r<=0||r>performance.now())return;n.value=Math.max(r-d(),0),n.entries=[o],i(!0),l((function(){n=p("TTFB",0),(i=f(e,n,Q,t.reportAllChanges))(!0)}))}}))}},60935:(e,t,n)=>{"use strict";n.d(t,{Workbox:()=>m});try{self["workbox:window:7.0.0"]&&_()}catch(i){}function i(e,t){return new Promise((function(n){var i=new MessageChannel;i.port1.onmessage=function(e){n(e.data)},e.postMessage(t,[i.port2])}))}function o(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,o(i.key),i)}}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,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}try{self["workbox:core:7.0.0"]&&_()}catch(i){}var c=function(){var e=this;this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))};function l(e,t){var n=location.href;return new URL(e,n).href===new URL(t,n).href}var u=function(e,t){this.type=e,Object.assign(this,t)};function d(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function p(){}var h={type:"SKIP_WAITING"};function f(e,t){if(!t)return e&&e.then?e.then(p):Promise.resolve()}var m=function(e){function t(t,n){var i,o;return void 0===n&&(n={}),(i=e.call(this)||this).nn={},i.tn=0,i.rn=new c,i.en=new c,i.on=new c,i.un=0,i.an=new Set,i.cn=function(){var e=i.fn,t=e.installing;i.tn>0||!l(t.scriptURL,i.sn.toString())||performance.now()>i.un+6e4?(i.vn=t,e.removeEventListener("updatefound",i.cn)):(i.hn=t,i.an.add(t),i.rn.resolve(t)),++i.tn,t.addEventListener("statechange",i.ln)},i.ln=function(e){var t=i.fn,n=e.target,o=n.state,r=n===i.vn,a={sw:n,isExternal:r,originalEvent:e};!r&&i.mn&&(a.isUpdate=!0),i.dispatchEvent(new u(o,a)),"installed"===o?i.wn=self.setTimeout((function(){"installed"===o&&t.waiting===n&&i.dispatchEvent(new u("waiting",a))}),200):"activating"===o&&(clearTimeout(i.wn),r||i.en.resolve(n))},i.yn=function(e){var t=i.hn,n=t!==navigator.serviceWorker.controller;i.dispatchEvent(new u("controlling",{isExternal:n,originalEvent:e,sw:t,isUpdate:i.mn})),n||i.on.resolve(t)},i.gn=(o=function(e){var t=e.data,n=e.ports,o=e.source;return d(i.getSW(),(function(){i.an.has(o)&&i.dispatchEvent(new u("message",{data:t,originalEvent:e,ports:n,sw:o}))}))},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(o.apply(this,e))}catch(e){return Promise.reject(e)}}),i.sn=t,i.nn=n,navigator.serviceWorker.addEventListener("message",i.gn),i}var n,o;o=e,(n=t).prototype=Object.create(o.prototype),n.prototype.constructor=n,a(n,o);var s,p,m=t.prototype;return m.register=function(e){var t=(void 0===e?{}:e).immediate,n=void 0!==t&&t;try{var i=this;return d(function(e,t){var n=e();return n&&n.then?n.then(t):t()}((function(){if(!n&&"complete"!==document.readyState)return f(new Promise((function(e){return window.addEventListener("load",e)})))}),(function(){return i.mn=Boolean(navigator.serviceWorker.controller),i.dn=i.pn(),d(i.bn(),(function(e){i.fn=e,i.dn&&(i.hn=i.dn,i.en.resolve(i.dn),i.on.resolve(i.dn),i.dn.addEventListener("statechange",i.ln,{once:!0}));var t=i.fn.waiting;return t&&l(t.scriptURL,i.sn.toString())&&(i.hn=t,Promise.resolve().then((function(){i.dispatchEvent(new u("waiting",{sw:t,wasWaitingBeforeRegister:!0}))})).then((function(){}))),i.hn&&(i.rn.resolve(i.hn),i.an.add(i.hn)),i.fn.addEventListener("updatefound",i.cn),navigator.serviceWorker.addEventListener("controllerchange",i.yn),i.fn}))})))}catch(e){return Promise.reject(e)}},m.update=function(){try{return this.fn?d(f(this.fn.update())):d()}catch(e){return Promise.reject(e)}},m.getSW=function(){return void 0!==this.hn?Promise.resolve(this.hn):this.rn.promise},m.messageSW=function(e){try{return d(this.getSW(),(function(t){return i(t,e)}))}catch(e){return Promise.reject(e)}},m.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&i(this.fn.waiting,h)},m.pn=function(){var e=navigator.serviceWorker.controller;return e&&l(e.scriptURL,this.sn.toString())?e:void 0},m.bn=function(){try{var e=this;return d(function(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}((function(){return d(navigator.serviceWorker.register(e.sn,e.nn),(function(t){return e.un=performance.now(),t}))}),(function(e){throw e})))}catch(e){return Promise.reject(e)}},s=t,(p=[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])&&r(s.prototype,p),Object.defineProperty(s,"prototype",{writable:!1}),s}(function(){function e(){this.Pn=new Map}var t=e.prototype;return t.addEventListener=function(e,t){this.jn(e).add(t)},t.removeEventListener=function(e,t){this.jn(e).delete(t)},t.dispatchEvent=function(e){e.target=this;for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.jn(e.type));!(t=n()).done;)(0,t.value)(e)},t.jn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},e}())},50766:(e,t,n)=>{"use strict";n.d(t,{Pj:()=>u,vt:()=>p});var i=n(24423),o=n(30758),r=n(51467);const{useDebugValue:a}=o,{useSyncExternalStoreWithSelector:s}=r;let c=!1;const l=e=>e;function u(e,t=l,n){n&&!c&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),c=!0);const i=s(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return a(i),i}const d=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(0,i.y)(e):e,n=(e,n)=>u(t,e,n);return Object.assign(n,t),n},p=e=>e?d(e):d},24423:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});const i=e=>{let t;const n=new Set,i=(e,i)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=i?i:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,r={setState:i,getState:o,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(i,o,r);return r},o=e=>e?i(e):i},52588:e=>{"use strict";e.exports=JSON.parse('{"name":"@spotify-internal/betamax-sdk-desktop","description":"JavaScript SDK for Content Playback on Web-Enabled Platforms.","version":"44.3.0","main":"cjs/index.js","module":"esm/index.js","types":"types/index.d.ts","license":"UNLICENSED","engines":{"node":">=18.3"},"files":["cjs","esm","types","itgc-tests.txt","itgc-rcs-tests.txt"],"packageManager":"pnpm@9.3.0","homepage":"https://ghe.spotify.net/js-sdk/betamax-sdk-desktop#readme","author":{"name":"web-sdk","email":"web-sdk@spotify.com"},"repository":{"type":"git","url":"git@ghe.spotify.net:js-sdk/betamax-sdk-desktop.git"},"publishConfig":{"registry":"https://artifactory.spotify.net/artifactory/api/npm/virtual-npm"},"scripts":{"fetch:proto":"./scripts/fetch-proto.sh","build:proto":"./scripts/build-proto.sh","generate:proto":"./scripts/generate-proto.sh","generate:events-create-methods":"./scripts/generate-events-create-methods.sh","proto":"$npm_execpath fetch:proto && $npm_execpath generate:proto && $npm_execpath build:proto","build":"$npm_execpath proto && $npm_execpath generate:events-create-methods && $npm_execpath build:skip-proto","build:types":"tsc --declaration --declarationMap --isolatedModules false --outDir types --emitDeclarationOnly --noEmit false --module CommonJS","build:cjs":"tsc --declaration false --allowJs --outDir cjs --noEmit false --module CommonJS","build:esm":"tsc --declaration false --allowJs --outDir esm --noEmit false --module ES2015","build:skip-proto":"$npm_execpath build:types && $npm_execpath build:cjs && $npm_execpath build:esm","build:watch":"$npm_execpath build --watch","dev":"storybook dev -p 9009","test":"jest test --config jest.config.ts","test:watch":"$npm_execpath run test --watch","test:coverage":"$npm_execpath run test --coverage","test:coverage:serve":"http-server coverage/lcov-report -o","test:integration":"./scripts/integration-test.sh","test:integration:dev":"JEST_PUPPETEER_CONFIG=jest-puppeteer.config.dev.js ./scripts/integration-test.sh","test:integration:noserver":"jest -c tests/integration/jest.config.ts -i --verbose","test:unit:tingle":"jest --ci --maxWorkers=50%","test:all":"$npm_execpath test && $npm_execpath test:integration","lint":"eslint . --ignore-path .prettierignore","commit":"to be implemented","release":"semantic-release","format":"pretty-quick","build:storybook:ci":"build-storybook -c .storybook -o static/storybook","clean":"rm -rf types cjs esm node_modules itgc-tests.txt","doc":"./scripts/build-doc.sh","requirements":"./scripts/requirements.sh","prepare":"husky install","precommit":"lint-staged"},"dependencies":{"@js-sdk/common":"^3.0.3","@mux/mux-data-shakaplayer":"5.12.4","@spotify-internal/core-playback-esperanto":"^5.36.117","@spotify-internal/core-product-state-esperanto":"^5.34.51","@spotify-internal/core-show-esperanto":"^5.34.51","@spotify-internal/esperanto":"^5.36.123","@spotify-internal/pending-events-esperanto":"^5.34.51","@spotify-internal/scrobble-esperanto":"^5.34.51","@spotify-internal/stream-reporting-esperanto":"^5.38.17","long":"^5.2.3","protobufjs":"^7.2.5","shaka-player":"4.4.2","uuid":"^10.0.0"},"peerDependencies":{"@spotify-internal/event-sender":"^2.2.1 || ^4.0.3 || ^5.0.0"},"devDependencies":{"@babel/core":"7.24.7","@babel/preset-env":"7.24.7","@babel/preset-react":"7.24.7","@babel/preset-typescript":"7.24.7","@commitlint/config-conventional":"19.2.2","@jest/types":"29.6.3","@spotify-internal/betamax-jest-itgc-reporter":"1.3.0","@spotify-internal/encore-foundation":"6.14.2","@spotify-internal/encore-web":"8.26.1","@spotify-internal/eslint-config":"4.0.1","@spotify-internal/eslint-config-base":"4.0.1","@spotify-internal/eslint-config-react":"4.0.1","@spotify-internal/eslint-config-typescript":"4.0.1","@spotify-internal/eslint-plugin":"4.0.1","@spotify-internal/event-sender":"5.0.2","@spotify-internal/jest-config":"4.0.1","@spotify-internal/playlist-esperanto":"5.35.31","@spotify-internal/prettier-config":"4.0.1","@spotify-internal/semantic-release-config-tingle":"3.1.0","@spotify-internal/techdocs-cli":"0.16.9","@spotify-internal/transport":"6.9.1","@spotify-internal/tsconfig":"4.0.1","@storybook/addon-actions":"7.6.19","@storybook/addon-essentials":"7.6.19","@storybook/addon-links":"7.6.19","@storybook/addons":"7.6.17","@storybook/core-common":"7.6.19","@storybook/preset-scss":"1.0.3","@storybook/react":"7.6.19","@storybook/react-webpack5":"7.6.19","@storybook/theming":"7.6.19","@svgr/cli":"8.1.0","@testing-library/react-hooks":"8.0.1","@types/expect-puppeteer":"5.0.6","@types/jest-environment-puppeteer":"5.0.6","@types/jest-image-snapshot":"6.4.0","@types/js-yaml":"4.0.9","@types/mustache":"4.2.5","@types/node":"20.12.13","@types/puppeteer":"7.0.4","@types/react":"18.3.3","@types/styled-components":"5.1.34","@types/uuid":"9.0.8","@typescript-eslint/eslint-plugin":"7.13.0","@typescript-eslint/parser":"7.13.0","babel-loader":"9.1.3","copy-webpack-plugin":"12.0.2","core-js":"3.37.1","css-loader":"7.1.2","eslint":"8.57.0","eslint-plugin-import":"2.29.1","eslint-plugin-jest":"28.6.0","eslint-plugin-storybook":"0.8.0","expect-puppeteer":"10.0.0","http-server":"14.1.1","husky":"9.0.11","jest":"29.7.0","jest-environment-jsdom":"29.7.0","jest-image-snapshot":"6.4.0","jest-junit":"16.0.0","jest-puppeteer":"10.0.1","js-yaml":"4.1.0","jsdom-testing-mocks":"1.13.0","lint-staged":"15.2.5","mustache":"4.2.0","mutation-observer":"1.0.3","prettier":"3.3.2","pretty-quick":"4.0.0","puppeteer":"22.10.0","react":"18.3.1","react-dom":"18.3.1","react-hot-loader":"4.13.1","react-is":"18.3.1","require-from-string":"2.0.2","sass":"1.77.4","sass-loader":"14.2.1","semantic-release":"24.0.0","start-server-and-test":"2.0.4","storybook":"7.6.19","style-loader":"4.0.0","styled-components":"5.3.11","ts-jest":"29.1.4","ts-loader":"9.5.1","ts-node":"10.9.2","ts-proto":"1.178.0","type-fest":"4.20.0","typedoc":"0.25.13","typescript":"5.4.5","wait-for-expect":"3.0.2","webpack":"5.91.0"},"resolutions":{"react":"18.3.1","react-dom":"18.3.1","react-is":"18.3.1"},"release":{"extends":"@spotify-internal/semantic-release-config-tingle"},"pnpm":{"patchedDependencies":{"shaka-player@4.4.2":"patches/shaka-player+exports.pnpm.patch"}},"yarn":{"patchedDependencies":{"shaka-player@4.4.2":"patches/shaka-player+exports.yarn.patch"}},"sideEffects":false}')},66505:e=>{"use strict";e.exports=JSON.parse('{"p":"AAACAAAAAACAOAAAAbYBSf7t2S1IBEEYBuDVDZ7FYrQMNsFiu3hgEYOI0SCXRIUrB8JhEZtgs5gEg1GMFk02m82oGI02m+9xezCOczv/uwv3fvAwc/PzfXOzcdqzWdaBDdiGPdiHdjE+DS3RNDuCfsn8idQ/g3OH3BdwKf0e96/gumTfYcncLdzBPTzAo+RZ+f0Cr/AG7/AJX4738x1wtz9FO5PX/50n6UXMNdfg/0lERERERERERERERETpdedHBvDRql4nq0cXtW9af98qdRby0Vvp8K4W0V+C5Xw0t4J2bfjeBp3cnEu1brnnCTYNa7eKdz91XP7WO9Lb4GqRb7cY6xbtAdqeVOsY/QGcevw/tb6OT85YhvfKYEx9CMuxKsKnrs+eJtVInVvHJ0eVYVvTZk2siFVLOCjb61PTZX3MdVWEyP7fjzpmMxdzTyq2Ebue6x61nXRGnzndWpf1an7dXmGYE4Y1ptqqKsK1nu26Ju0ty+maV2Rpvk+qnDZjKUIobUiesdAQE/jmCTmHmsskpFZsVYbtmXRcaoSGUPomunW2derQhDPFjtT1Q/eb8vnm990fq35oHVt11bU9m89c7DNI8Qs="}')},8082:e=>{"use strict";e.exports=JSON.parse('{"p":"ABAOAAAAAACwiAAAAYkHdvjtnH+IFkUYxx/v3vPe7uw8UkjsD43ChKICDQsT3iIJy4gSiZAjkn5JUFlaiFmjccT9ESkpGBGVIlQgWSkY/QDBoMgrQv0jRJDAfkCXhUmgRX23d4ebnndmd3Z3ZnfVeeDDzM7MPs8zv57Zd2+5hd1Ed4ClYAisBuuUsqLpMHgJjIBNFu1fBW8l1O8AO8Ee8Cn4HIyCg+CI0u4Y+AmMgVPgDOhuEHWBPjAZXAy2gjfA9kb73hlx+i7SK8AHYDf4BOwHB8AoOAyOguPgB/ArOKlcnwHdPe32/Uin9LTvvwTph0gv62nbubKnXT+nZ1z/DcjfFF8vQno7uEaxH923BGVXN9v5Zcgvj/VFPIT8Y/H1k0jXxPn1SEfARjBdab8V+TfB22CXUh5xd3OcZTH3g6di1LZJbLNs55q96M9n4J9Gm6hsfzQvcT8fbfy//TyUf8vG4Lses/5jcd2PSE/IcQan4/o/UXYadE0kaoJBMG1ivNbidNbETr1XoWyuplwyHFN0fFai/8/EY7BIKY/68EpCvwP+mc/m/2vNGnBhp1eZ51bCmgsEAoFAIBAIBAKBQKAO3Irfrg3lfc4qi/cXd+Kee5TfvAd6ieY0ie5D2cNx+eNInwZLmu33gWuRn4/8C3H9CNJNYEt8/TrS35HuSPktvRP1z0LPOvAceB4IsB5saIa6UBfqQl2oc123AjwBVjWrP7MCgcC5y/ue/56yqXv87+qcIU2Z+ny8tuHHpyxsvrDNITDXgqkDRJcPdJY/wMo24/oQmDqZaPHkdplAuhv8ApqDRDeCVj/OAvD9BUSX9qF8Qpt7lTxnZ7+5TmVtrGMM7XchP3sS0SNgGzg4yU5HIBAIBM5NfsO5QDgfjuM54STOw7/Az/F3QtfhfF4Qn9F/gxMouxm/WU7F9afBQuUM7+rtPF+jb0b6ese/I7sI+emadhEzUT5bqbsW+esNbSMWoG6hWo/8gOLPUqUu+v5rKEHX8oS6iEXQexd7XlmBe1aCNWAp6kSsYyjHc82Liv2Xkd/C/HkN1w/Geren+KryToa2PtlQg2c9zijGZnGJ9kaibzZh84jmmfx4TeYpK9H3usMKqxnDCWxsdLY/3ygy9h+l/LYbYHtuXw2/rfsSPo0a/Jrn6PvPrzL2+7CmfV88lkc9j+F7cRzYU4N48DF8uA3n/T7Fly9q4Jdvoth0uLf9LORC11hvO/0D6RnQfRa99+2Hr1NS/M26VvfEe2jaWTAOvG8zzgKf8zCrYL++qUEfbumeQAjTVnQp+QmW99gQpDoJ4+9uHZe5/l3OW/M8x6WUZaduUvUc5p13NTXlz3VpGbCVrGNe5zOnjvGlrDWY1IdWShuuQ9fWh6h+VSV1Wit1lvNhHFz1zeUYtCg5ntvOSStDW5cITRnF5RJ+rcasJHExztwu910tl6LzLYsvuvvzilB0mvSaxt/V+SY0EMurfkjbrTjfInf+FJGkNdzSlOukZaDo3snqs7RZpqj2Gx7sS52D5O79k+93W2W/T3NhQxe3VeF16pwn4eI8qev7Sl1s0PnPy5PalSV57Pp6XuDxrypR9wBR8nOCzm/eXuYp5d4s/lV1XvL+lG2b+2AaQ1nPr23Hrc7z0WT5qvZL0v7QtdX5zdu6HMei+gV1ri8et4XSVpCfdeB7fRWNRy79UP0RCT4Jyre/88bbKsQUawUrV69dxjd+nlXxbCKos79pz1BpOqucz0gEdZ5hMk+aa7Wdy/7xZ5Yqhc+nyHivrkyQ/reM7tziuFojfM7zxtq0505XYutvHrtVnzNl2ONrTGdPkLv9ZjNHOoShnCh5nLLYKOKfK4qK7bjx/gqyj9lFJc2Wz/HIqyMSYaGnqM8+xp6vB1/6feg22UmLFUno1rurvelz7yT1UVfORW3L7+d6fMcAXdzxIVK3TNNioZpSyj2242izpky6y5S0fpr6q5ZXJT7O1qrmQRVB+rkQ1Dk3vvYttyGoc+51/mUVkYLtXvTx7MCvbUnzW2czyR8pql4XUlbcN9l1pSfPfOl0JV2bylyKoM4959sHQfr9Vpbk2V8u4ry0ndcvH5I1xggP9qVem/PHZL+qeGLrc945tLnHtG/LEtdjr4urxMpM92X1RZDd+pLtsorUydeCaiuvbtdSpQ9l2M4SU01nvI1e35L3uS5Jlw8pe1ykCKo2JtrGK9O9ujOlimcD6Y9LEWQ+7019d2VDLVPrTCLrsvjsQ1TfJVJM12pZmm5b4Xptx6HM9SpFkP2c6drJa5/iSr+pD7r+CNLvATVfpST1RYog/fwKTdsyxLVNQfnWrkyziGltJK2hLLptzjHXIsh+/HytmyQfpPA5VNtzXWWLzbiVsc9sbWSJ7UWE69KNh6v9kya2c6TzMa0fwpD37TtvQ6wuiw9CA9cny33Mj2pLte9Kp6996HO/83HPQ5r+ov5mvU9Qte/fIrGJP7axPO/9eXX6kjLPKZNd17iyZdOHLP31JSbfXY6hC59c+ZZ136TZ9SFlj6cvmVkSrkSQn3NG5KBqEVSeH6Ji/vvnhFWjSlfFNDwzyMgqLvvKxXffbeASBWo+Zj4p2x6TfwE="}')},81033:e=>{"use strict";e.exports=JSON.parse('{"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I\'m a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"}')}}]);
|
||
//# sourceMappingURL=vendor~xpui.js.map |