1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90636],{794:e=>{"use strict";e.exports=JSON.parse('{"name":"aws-appsync-auth-link","version":"3.0.7","main":"lib/index.js","license":"Apache-2.0","description":"AWS Mobile AppSync Auth Link for JavaScript","author":{"name":"Amazon Web Services","url":"https://aws.amazon.com/"},"homepage":"https://github.com/awslabs/aws-mobile-appsync-sdk-js.git","repository":{"type":"git","url":"https://github.com/awslabs/aws-mobile-appsync-sdk-js.git"},"scripts":{"prepare":"tsc","test":"jest --coverage --coverageReporters=text --passWithNoTests","test-watch":"jest --watch"},"dependencies":{"@aws-crypto/sha256-js":"^1.2.0","@aws-sdk/types":"^3.25.0","@aws-sdk/util-hex-encoding":"^3.29.0","debug":"2.6.9"},"devDependencies":{"@apollo/client":"^3.2.0"},"peerDependencies":{"@apollo/client":"3.x"}}')},1242:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(20810),i=r(31650);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},1699:(e,t,r)=>{"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{i0:()=>n,un:()=>a,xr:()=>s,yp:()=>i})},1961:e=>{function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,n){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof r&&(n=r,r={}),n=n||function(){},o.type=(r=r||{}).type||"text/javascript",o.charset=r.charset||"utf8",o.async=!("async"in r)||!!r.async,o.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(o,r.attrs),r.text&&(o.text=""+r.text),("onload"in o?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(o,n),o.onload||t(o,n),i.appendChild(o)}},2242:(e,t,r)=>{"use strict";var n;r.d(t,{Ll:()=>l,aD:()=>a,aZ:()=>i,cE:()=>n,ou:()=>o});class i{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(a));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(n={}))},2723:(e,t,r)=>{var n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e},c={};((e,t)=>
1{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(c,{defaultProps:()=>k,propTypes:()=>w}),e.exports=u(i({},"__esModule",{value:!0}),c);let{string:f,bool:d,number:h,array:p,oneOfType:g,shape:y,object:m,func:v,node:b}=((e,t,r)=>(r=null!=e?n(s(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(77117)).default,w={url:g([f,p,m]),playing:d,loop:d,controls:d,volume:h,muted:d,playbackRate:h,width:g([f,h]),height:g([f,h]),style:m,progressInterval:h,playsinline:d,pip:d,stopOnUnmount:d,light:g([d,f,m]),playIcon:b,previewTabIndex:h,previewAriaLabel:f,fallback:b,oEmbedUrl:f,wrapper:g([f,v,y({render:v.isRequired})]),config:y({soundcloud:y({options:m}),youtube:y({playerVars:m,embedOptions:m,onUnstarted:v}),facebook:y({appId:f,version:f,playerId:f,attributes:m}),dailymotion:y({params:m}),vimeo:y({playerOptions:m,title:f}),mux:y({attributes:m,version:f}),file:y({attributes:m,tracks:p,forceVideo:d,forceAudio:d,forceHLS:d,forceSafariHLS:d,forceDisableHls:d,forceDASH:d,forceFLV:d,hlsOptions:m,hlsVersion:f,dashVersion:f,flvVersion:f}),wistia:y({options:m,playerId:f,customControls:p}),mixcloud:y({options:m}),twitch:y({options:m,playerId:f}),vidyard:y({options:m})}),onReady:v,onStart:v,onPlay:v,onPause:v,onBuffer:v,onBufferEnd:v,onEnded:v,onError:v,onDuration:v,onSeek:v,onPlaybackRateChange:v,onPlaybackQualityChange:v,onProgress:v,onClickPreview:v,onEnablePIP:v,onDisablePIP:v},_=()=>{},k={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:_},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:_,onStart:_,onPlay:_,onPause:_,onBuffer:_,onBufferEnd:_,onEnded:_,onError:_,onDuration:_,onSeek:_,onPlaybackRateChange:_,onPlaybackQualityChange:_,onProgress:_,onClickPreview:_,onEnablePIP:_,onDisablePIP:_}},3160:(e,t,r)=>{"use strict";let n;r.d(t,{DX:()=>d,yN:()=>R,LV:()=>j});var i=r(99273),o=r(46373);let a=null,s={},l=1;function u(e){try{return e()}catch(e){}}let c="@wry/context:Slot",f=u(()=>globalThis)||u(()=>global)||Object.create(null),d=f[c]||Array[c]||function(e){try{Object.defineProperty(f,c,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",l++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(n,r)}finally{a=o}}static bind(e){let t=a;return function(){let r=a;try{return a=t,e.apply(this,arguments)}finally{a=r}}}static noContext(e,t,r){if(!a)return e.apply(r,t);{let n=a;try{return a=null,e.apply(r,t)}finally{a=n}}}}),{bind:h,noContext:p}=d,g=new d,{hasOwnProperty:y}=Object.prototype,m=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function v(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let b=[];function w(e,t){if(!e)throw Error(t||"assertion failure")}function _(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function k(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class S{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++S.count}peek(){if(1===this.value.length&&!T(this))return E(this),this.value[0]}recompute(e){var t,r,n;return w(!this.recomputing,"already recomputing"),E(this),T(this)?(t=this,r=e,D(t),g.withValue(t,x,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{v(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,T(n)||function(e){O(e,N)}(n)),k(t.value)):k(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,O(e,C),v(this))}dispose(){this.setDirty(),D(this),O(this,(e,t)=>{e.setDirty(),P(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)}
1forgetDeps(){this.deps&&(m(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),b.push(this.deps),this.deps=null)}}function E(e){let t=g.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),T(e)?C(t,e):N(t,e),t}function x(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!_(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function T(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}S.count=0;function O(e,t){let r=e.parents.size;if(r){let n=m(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function C(e,t){w(e.childValues.has(t)),w(T(t));let r=!T(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),r&&O(e,C)}function N(e,t){w(e.childValues.has(t)),w(!T(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):_(r,t.value)||e.setDirty(),A(e,t),T(e)||O(e,N)}function A(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function D(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{P(e,r)}),e.forgetDeps(),w(null===e.dirtyChildren)}function P(e,t){t.parents.delete(e),e.childValues.delete(t),A(e,t)}let I={setDirty:!0,dispose:!0,forget:!0};function R(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=g.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(v(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&y.call(I,r)?r:"setDirty";m(n).forEach(e=>e[i]()),t.delete(e),v(n)}},n}function L(...e){return(n||(n=new i.b("function"==typeof WeakMap))).lookupArray(e)}let M=new Set;function j(e,{max:t=65536,keyArgs:r,makeCacheKey:n=L,normalizeResult:i,subscribe:a,cache:s=o.C}=Object.create(null)){let l="function"==typeof s?new s(t,e=>e.dispose()):s,u=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=l.get(t);o||(l.set(t,o=new S(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>l.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return l.set(t,o),M.add(l),g.hasValue()||(M.forEach(e=>e.clean()),M.clear()),s};function c(e){let t=e&&l.get(e);t&&t.setDirty()}function f(e){let t=e&&l.get(e);if(t)return t.peek()}function d(e){return!!e&&l.delete(e)}return Object.defineProperty(u,"size",{get:()=>l.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:l}),u.dirtyKey=c,u.dirty=function(){c(n.apply(null,arguments))},u.peekKey=f,u.peek=function(){return f(n.apply(null,arguments))},u.forgetKey=d,u.forget=function(){return d(n.apply(null,arguments))},u.makeCacheKey=n,u.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(u)}},3638:(e,t,r)=>{"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{$:()=>n,A:()=>i});let i=n},3752:(e,t,r)=>{e.exports=r(8065)},3778:(e,t,r)=>{"use strict";r.d(t,{El:()=>y,J1:()=>p,LO:()=>i,Nb:()=>n,S7:()=>l,V:()=>u,VF:()=>s,bW:()=>a,cF:()=>d,it:()=>h,pN:()=>g,rA:()=>o,tG:()=>f,uQ:()=>c});let n="pakkaform",i={sm:640,md:768,lg:1024,xl:1224,xxl:1536},o="spurningar";var a=function(e){return e.beint="\xcd beinni",e.syn="S\xddN",e.synplus="S\xddN+",e.synsport="S\xddN Sport",e.synsport2="S\xddN Sport 2",e.synsport3="S\xddN Sport 3",e.synsport4="S\xddN Sport 4",e.synsport5="S\xddN Sport 5",e.synsport6="S\xddN Sport 6",e.synsportviaplay="S\xddN Sport Viaplay",e.synsportisland="S\xddN Sport \xcdsland",e.synsportisland2="S\xddN Sport \xcdsland 2",e.synsportisland3="S\xddN Sport \xcdsland 3",e.synsportisland4="S\xddN Sport \xcdsland 4",e.synsportisland5="S\xddN Sport \xcdsland 5",e.bio="B\xed\xf3",e.esport="Esport",e.golfstodin="S\xfdn Sport 5",e.stod3="S\xfdn Fj\xf6lskylda",e.pepsimax="S\xfdn.is",e.ap_kkitv_001_prod="KK\xcd TV 1",e.ap_kkitv_002_prod="KK\xcd TV 2",e.ap_kkitv_003_prod="KK\xcd TV 3",e.ap_kkitv_004_prod="KK\xcd TV 4",e.ap_kkitv_005_prod="KK\xcd TV 5",e.ap_kkitv_006_prod="KK\xcd TV 6",e.ap_kkitv_007_prod="KK\xcd TV 7",e.ap_kkitv_008_prod="KK\xcd TV 8",e.ap_kkitv_009_prod="KK\xcd TV 9",e.ap_kkitv_010_prod="KK\xcd TV 10",e.ap_kkitv_011_prod="KK\xcd TV 11",e.ap_kkitv_012_prod="KK\xcd TV 12",e.ap_kkitv_013_prod="KK\xcd TV 13",e.ap_kkitv_014_prod="KK\xcd TV 14",e.ap_kkitv_015_prod="KK\xcd TV 15",e.default="Beint sj\xf3nvarp",e}({});let s={APPARATID:"/images/apparatid_alt_logo.jpg",BYLGJAN:"/images/bylgjan_alt_logo.jpg",COUNTRY:"/images/country_bylgjan_alt_logo.jpg",FM957:"/images/fm957_alt_logo.jpg",GULLBYLGJAN:"/images/gullbylgjan_alt_logo.jpg",ISLENSKA:"/images/islenska_bylgjan_alt_logo.jpg",LETTBYLGJAN:"/images/lett_bylgjan_alt_logo.jpg",X977:"/images/x977_alt_logo.jpg","80S":"/images/80s_bylgjan_alt_logo.jpg"},l={weekday:"",title:"T\xf3nlist",description:"",photo:"",timeFrom:"",timeTo:"",showId:"",host:""},u={APPARATID:{primary:"#FBAD29",secondary:"#FFFFFF"},BYLGJAN:{primary:"#1B1B56",secondary:"#FFFFFF"},COUNTRY:{primary:"#1B1B56",secondary:"#E75E19"},FM957:{primary:"#3DA82E",secondary:"#FFFFFF"},GULLBYLGJAN:{primary:"#1B1B56",secondary:"#FDB813"},ISLENSKA:{primary:"#1B1B56",secondary:"#CD1A2E"},LETTBYLGJAN:{primary:"#1B1B56",secondary:"#00A7D4"}
1,X977:{primary:"#000000",secondary:"#FFFFFF"},"80S":{primary:"#1F1A6B",secondary:"#8D3594"},"":{primary:"#1B1B56",secondary:"#FFFFFF"}},c={APPARATID:"/images/apparatid_1x1_logo.jpg",BYLGJAN:"/images/bylgjan_1x1_logo.jpg",COUNTRY:"/images/country_bylgjan_1x1_logo.jpg",FM957:"/images/fm957_1x1_logo.jpg",GULLBYLGJAN:"/images/gullbylgjan_1x1_logo.jpg",ISLENSKA:"/images/islenska_bylgjan_1x1_logo.jpg",LETTBYLGJAN:"/images/lett_bylgjan_1x1_logo.jpg",X977:"/images/x977_1x1_logo.jpg","80S":"/images/80s_bylgjan_1x1_logo.jpg"},f={WEBSTORE:"WEB-STORE",MAIN:"MAIN"},d={farsimar:"Fars\xedmar",snjallur:"Snjall\xfar",spjaldtolvur:"Spjaldt\xf6lvur",aukahlutir:"Aukahlutir",endabunadur:"Endab\xfana\xf0ur",heyrnatol:"Heyrnart\xf3l",heyrnartol:"Heyrnart\xf3l",bord:"Bor\xf0",eign:"Eign",fordi:"For\xf0i",frelsi:"Frelsi","gsm-tilbod":"Fars\xedma tilbo\xf0",heimasimar:"Heimas\xedmar","hugb-leyfi":"Hub\xfana\xf0arleyfi",hysing:"H\xfdsing",kaffihus:"Kaffih\xfas",mark:"Mark",rekstarthjonusta:"Rekstrar\xfej\xf3nusta",sim:"SIM",skyjathjonusta:"Sk\xfdja\xfej\xf3nusta",snjallheimili:"Snjallv\xf6rur",ymislegt:"\xddmislegt","":""},h={farsimar:"GSM",snjallur:"SNJALL\xdaR",spjaldtolvur:"SPJALDT\xd6LV",aukahlutir:"AUKAHLUTIR",endabunadur:"ENDAB\xdaNA\xd0",heyrnatol:"HEYRNART\xd3L",heyrnartol:"HEYRNART\xd3L",bord:"BORD",eign:"EIGN",fordi:"FOR\xd0I",frelsi:"FRELSI","gsm-tilbod":"GSM TILBO\xd0",heimasimar:"HEIMAS\xcdMAR","hugb-leyfi":"HUGB_LEYFI",hysing:"H\xddSING",kaffihus:"KAFFIH\xdaS",mark:"MARK",rekstarthjonusta:"REKSTR_THJ",sim:"SIM",skyjathjonusta:"SKYJATHJON",snjallheimili:"SMARTHOME",ymislegt:"\xddMISLEGT","":""},p={ELECTRONIC:"ELECTRONIC",CREDITCARD:"CREDITCARD",NEW_CARD:"NEW_CARD"},g={DONE:"DONE",INPROCESS:"INPROCESS",PUBLISHED:"PUBLISHED"},y={'All criteria must be met before selecting "YES"!':'Uppfylla \xfearf \xf6ll skilyr\xf0i til a\xf0 geta vali\xf0 "J\xe1"!','All criteria must be met before selecting "YES"':'Uppfylla \xfearf \xf6ll skilyr\xf0i til a\xf0 geta vali\xf0 "J\xe1"!',"Device can be turned on and off":"H\xe6gt er a\xf0 kveikja og sl\xf6kkva \xe1 t\xe6kinu","Charging port is without visual damage":"Hle\xf0slutengi er \xe1n s\xfdnilegra skemmda","Device starts charging with charger connected":"T\xe6ki\xf0 hle\xf0st \xfeegar tengt \xed hle\xf0slu","Device can be used without charger connected":"T\xe6ki\xf0 er noth\xe6ft \xe1n \xfeess a\xf0 vera \xed hle\xf0slu","Device is not heavily deformed":"T\xe6ki\xf0 er ekki \xe1berandi bogi\xf0 e\xf0a sn\xfai\xf0","Device is intact":"T\xe6ki\xf0 er \xed heilu lagi","Devices with visually swollen or damaged batteries pose safety risks, including overheating or fire hazards, and are therefore strictly prohibited from trade-in.":"T\xe6ki me\xf0 s\xfdnilega b\xf3lgin e\xf0a skemmdar rafhl\xf6\xf0ur eru \xf6ryggish\xe6tta og geta \xfev\xed ofhitna\xf0 e\xf0a eru eldh\xe6tta og eru \xfev\xed stranglega b\xf6nnu\xf0 \xed skiptum.","LCD is without any clear signs of discoloration (screenburn, dead pixels, spots)":"Skj\xe1rinn er \xe1n auglj\xf3sra merkja um mislitun (skj\xe1bruna, dau\xf0ra pixla, bletta)","Touchscreen is fully working (check edges of the screen)":"Snertiskj\xe1rinn virkar a\xf0 fullu (athuga\xf0u ja\xf0ra skj\xe1sins)","Glass covering the LCD is without any missing pieces (it can be cracked)":"Gleri\xf0 yfir skj\xe1num er \xe1n \xfeess a\xf0 vanti \xed (\xfea\xf0 m\xe1 vera me\xf0 sprungur)","If device has more than one screen, all screens are without LCD defects":"Ef t\xe6ki\xf0 er me\xf0 fleiri en einn skj\xe1 eru allir skj\xe1ir \xe1n LCD galla","No light cutting lines on the folding area":"Engar lj\xf3sar l\xednur \xe1 brotsv\xe6\xf0inu","Please do not remove factory installed screen protection film from Samsung Flip/Fold devices":"Vinsamlegast ekki fjarl\xe6gja verksmi\xf0juhl\xedf af Samsung Flip/Fold t\xe6kjum","Display glass is without cracks or chips (check also on edges)":"Skj\xe1gleri\xf0 er \xe1n sprungna e\xf0a fl\xedsa (athuga\xf0u einnig \xe1 j\xf6\xf0rum)","There are no cracks, splits or fractures on the frame or back cover":"Engar sprungur, rifur e\xf0a brot \xe1 ramma e\xf0a bakhl\xedf","There is no gap between backcover / screen and frame":"Ekkert bil er milli bakhl\xedfar/skj\xe1s og ramma","The frame of the device is not bent":"Rammi t\xe6kisins er ekki beyg\xf0ur","Camera glass is not cracked":"Myndav\xe9lagleri\xf0 er ekki sprungna\xf0","N
1o parts are missing (battery, backcover, port cover, screws, sim tray)":"Engir hlutar vantar (rafhla\xf0a, bakhl\xedf, tengjahl\xedf, skr\xfafur, SIM-bakki)","Screen is not visibly loose (can see under the screen)":"Skj\xe1rinn er ekki sj\xe1anlega laus (s\xe9st undir skj\xe1inn)","No apparent modifications have been used":"Engar auglj\xf3sar breytingar hafa veri\xf0 ger\xf0ar","Foldable devices goes fully flat when opened":"Fellanlegt t\xe6ki fer alveg flatt \xfeegar \xfea\xf0 er opna\xf0","All buttons work easily (Home, Power, Volume and Mute), no excessive force is needed":"Allir takkar virka au\xf0veldlega (Heim, Kveikja, Hlj\xf3\xf0styrkur og \xdeagga), ekki \xfearf of mikinn kraft","No unoriginal parts or modifications have been used for buttons":"Engir \xf3upprunalegir hlutar e\xf0a breytingar hafa veri\xf0 ger\xf0ar \xe1 t\xf6kkum","Additional criteria for foldable device:":"Vi\xf0b\xf3tarskilyr\xf0i fyrir fellanlegt t\xe6ki:","Additional criteria for foldable devices:":"Vi\xf0b\xf3tarskilyr\xf0i fyrir fellanlegt t\xe6ki:","Unit powers on when power button is pressed":"T\xf6lvan kveikir \xfeegar \xfdtt er \xe1 aflrofann","Unit powers on when":"T\xf6lvan kveikir \xfeegar","power button is pressed":"\xfdtt er \xe1 aflrofann","Unit stays on for atleast 7 seconds (power adapter may be connected)":"T\xf6lvan helst kveikt \xed a\xf0 minnsta kosti 7 sek\xfandur (aflstraumsbreytir m\xe1 vera tengdur)","Units battery is not visibly swollen":"Rafhla\xf0a t\xf6lvunnar er ekki sj\xe1anlega b\xf3lgin","Screen & screen backlight turn on":"Skj\xe1r og baklj\xf3s skj\xe1s kveikja","Screen shows good picture (no vertical/horizontal lines, no light spots, no discoloration, no graphic anomalies (flickering etc.))":"Skj\xe1rinn s\xfdnir g\xf3\xf0a mynd (engar l\xf3\xf0r\xe9ttar/l\xe1r\xe9ttar l\xednur, engir lj\xf3sir blettir, engin mislitun, engar graf\xedskar truflanir (blikkun o.s.frv.))","Screen shows good picture":"Skj\xe1rinn s\xfdnir g\xf3\xf0a mynd","(no vertical/horizontal lines, no light spots, no discoloration, no graphic anomalies (flickering etc.))":"(engar l\xf3\xf0r\xe9ttar/l\xe1r\xe9ttar l\xednur, engir lj\xf3sir blettir, engin mislitun, engar graf\xedskar truflanir (blikkun o.s.frv.))","LCD area is not damaged (damage includes cracks, coating peeling issue, deep scratches, etc.)":"LCD sv\xe6\xf0i\xf0 er ekki skemmt (skemmdir innihalda sprungur, h\xfa\xf0un a\xf0 flagnast, dj\xfapar rispur o.s.frv.)","Glass covering the LCD is not damaged":"Gleri\xf0 sem hylja LCD er ekki skemmt",'NB keyboard marks are qualified under physical condition of the laptop and therefore affect "Is computer physically ok?" question':'ATH lyklabor\xf0smerki teljast undir l\xedkamlegu \xe1standi t\xf6lvunnar og hafa \xfev\xed \xe1hrif \xe1 spurninguna "Er \xfatliti\xf0 \xed lagi?"',"Unit turns on and boots up to Operating system or to BIOS menu (from internal disk drive)":"T\xf6lvan kveikir og r\xe6sir upp \xed st\xfdrikerfi e\xf0a \xed BIOS valmynd (fr\xe1 innbygg\xf0um diskdrifi)","Unit does not have missing external parts (external battery, bottom case etc.)":"T\xf6lvan vantar ekki ytri hluta (ytri rafhla\xf0a, botnhl\xedf o.s.frv.)","Unit does not have missing keycaps":"T\xf6lvan vantar ekki lyklahettur","Unit enclosure is not cracked at any place (check near the ports, lid and bezel)":"Umgj\xf6r\xf0 t\xf6lvunnar er ekki sprungin neins sta\xf0ar (athuga\xf0u vi\xf0 tengi, lok og ramma)","Units enclosure is not bent at a any place (check near the ports)":"Umgj\xf6r\xf0 t\xf6lvunnar er ekki beyg\xf0 neins sta\xf0ar (athuga\xf0u vi\xf0 tengin)","Unit does not have any dented or cracked corners":"T\xf6lvan er ekki me\xf0 buldar e\xf0a sprungnar hornir","Units enclosure is not deformed (i.e. caused by swollen battery)":"Umgj\xf6r\xf0 t\xf6lvunnar er ekki afmyndu\xf0 (t.d. af v\xf6ldum b\xf3lginnar rafhl\xf6\xf0u)","Unit does not have keyboard wear marks (on display)":"T\xf6lvan er ekki me\xf0 slitamerki fr\xe1 lyklabor\xf0i (\xe1 skj\xe1)"}},5526:(e,t,r)=>{"use strict";var n=r(14303);n.AuthLink,t.Yj=n.AUTH_TYPE,n.USER_AGENT_HEADER,n.USER_AGENT,t.rO=function(e){var t=e.url,r=e.region,i=e.auth;
1return new n.AuthLink({url:t,region:r,auth:i})},r(37695).Signer},5788:(e,t,r)=>{"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t)){var i=t,o=n;if(0===i.length)return"[]";if(o.length>2)return"[Array]";let r=Math.min(10,i.length),a=i.length-r,s=[];for(let t=0;t<r;++t)s.push(e(i[t],o));return 1===a?s.push("... 1 more item"):a>1&&s.push(`... ${a} more items`),"["+s.join(", ")+"]"}var a=t,s=n;let l=Object.entries(a);return 0===l.length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(a)+"]":"{ "+l.map(([t,r])=>t+": "+e(r,s)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}r.d(t,{N:()=>n})},5809:(e,t,r)=>{e.exports=r(25358)},7846:e=>{e.exports={style:{fontFamily:"'Poppins', 'Poppins Fallback'",fontStyle:"normal"},className:"__className_ba5da3"}},8234:(e,t,r)=>{var n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e},c=(e,t,r)=>(r=null!=e?n(s(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),f=(e,t,r)=>(((e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),r),d={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(d,{default:()=>m}),e.exports=u(i({},"__esModule",{value:!0}),d);var h=c(r(91844)),p=c(r(64757)),g=r(2723),y=r(50384);class m extends h.Component{constructor(){super(...arguments),f(this,"mounted",!1),f(this,"isReady",!1),f(this,"isPlaying",!1),f(this,"isLoading",!0),f(this,"loadOnReady",null),f(this,"startOnPlay",!0),f(this,"seekOnPlay",null),f(this,"onDurationCalled",!1),f(this,"handlePlayerMount",e=>{if(this.player)return void this.progress();this.player=e,this.player.load(this.props.url),this.progress()}),f(this,"getInternalPlayer",e=>this.player?this.player[e]:null),f(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){let e=this.getCurrentTime()||0,t=this.getSecondsLoaded(),r=this.getDuration();if(r){let n={playedSeconds:e,played:e/r};null!==t&&(n.loadedSeconds=t,n.loaded=t/r),(n.playedSeconds!==this.prevPlayed||n.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(n),this.prevPlayed=n.playedSeconds,this.prevLoaded=n.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),f(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;let{onReady:e,playing:t,volume:r,muted:n}=this.props;e(),n||null===r||this.player.setVolume(r),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):t&&this.player.play(),this.handleDurationCheck()}),f(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;let{onStart:e,onPlay:t,playbackRate:r}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&1!==r&&this.player.setPlaybackRate(r),e(),this.startOnPlay=!1),t(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),f(this,"handlePause",e=>{this.isPlaying=!1,this.isLoading||this.props.onPause(e)}),f(this,"handleEnded",()=>{let{activePlayer:e,loop:t,onEnded:r}=this.props;e.loopOnEnded&&t&&this.seekTo(0),t||(this.isPlaying=!1,r())}),f(this,"handleError",(...e)=>{this.isLoading=!1,this.props.onError(...e)}),f(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);let e=this.getDuration();e?this.onDurationCalled||(this.props.onDuration(e),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),f(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
1)),this.mounted=!1}componentDidUpdate(e){if(!this.player)return;let{url:t,playing:r,volume:n,muted:i,playbackRate:o,pip:a,loop:s,activePlayer:l,disableDeferredLoading:u}=this.props;if(!(0,p.default)(e.url,t)){if(this.isLoading&&!l.forceLoad&&!u&&!(0,y.isMediaStream)(t)){console.warn(`ReactPlayer: the attempt to load ${t} is being deferred until the player has loaded`),this.loadOnReady=t;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(t,this.isReady)}e.playing||!r||this.isPlaying||this.player.play(),e.playing&&!r&&this.isPlaying&&this.player.pause(),!e.pip&&a&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!a&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==n&&null!==n&&this.player.setVolume(n),e.muted!==i&&(i?this.player.mute():(this.player.unmute(),null!==n&&setTimeout(()=>this.player.setVolume(n)))),e.playbackRate!==o&&this.player.setPlaybackRate&&this.player.setPlaybackRate(o),e.loop!==s&&this.player.setLoop&&this.player.setLoop(s)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(e,t,r){if(!this.isReady){0!==e&&(this.seekOnPlay=e,setTimeout(()=>{this.seekOnPlay=null},5e3));return}if(t?"fraction"===t:e>0&&e<1){let t=this.player.getDuration();return t?void this.player.seekTo(t*e,r):void console.warn("ReactPlayer: could not seek using fraction â\xa0duration not yet available")}this.player.seekTo(e,r)}render(){let e=this.props.activePlayer;return e?h.default.createElement(e,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}f(m,"displayName","Player"),f(m,"propTypes",g.propTypes),f(m,"defaultProps",g.defaultProps)},8284:(e,t,r)=>{"use strict";r.d(t,{YR:()=>l,sP:()=>s});var n=r(85795),i=r(5788),o=r(2242),a=r(72119);let s=Object.freeze({});function l(e,t,r=o.aD){let u,c,f,d=new Map;for(let e of Object.values(a.b))d.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let h=Array.isArray(e),p=[e],g=-1,y=[],m=e,v=[],b=[];do{var w,_,k;let e,a=++g===p.length,l=a&&0!==y.length;if(a){if(c=0===b.length?void 0:v[v.length-1],m=f,f=b.pop(),l)if(h){m=m.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(m.splice(n,1),e++):m[n]=r}}else for(let[e,t]of(m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m)),y))m[e]=t;g=u.index,p=u.keys,y=u.edits,h=u.inArray,u=u.prev}else if(f){if(null==(m=f[c=h?g:p[g]]))continue;v.push(c)}if(!Array.isArray(m)){(0,o.Ll)(m)||(0,n.U)(!1,`Invalid AST Node: ${(0,i.N)(m)}.`);let r=a?null==(w=d.get(m.kind))?void 0:w.leave:null==(_=d.get(m.kind))?void 0:_.enter;if((e=null==r?void 0:r.call(t,m,c,f,v,b))===s)break;if(!1===e){if(!a){v.pop();continue}}else if(void 0!==e&&(y.push([c,e]),!a))if((0,o.Ll)(e))m=e;else{v.pop();continue}}void 0===e&&l&&y.push([c,m]),a?v.pop():(u={inArray:h,index:g,keys:p,edits:y,prev:u},p=(h=Array.isArray(m))?m:null!=(k=r[m.kind])?k:[],g=-1,y=[],f&&b.push(f),f=m)}while(void 0!==u);return 0!==y.length?y[y.length-1][1]:e}},8807:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},9048:(e,t,r)=>{!function(){var t={452:function(e){"use strict";e.exports=r(54046)}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var o={};!function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function n(e){"string"==typeof e&&(e=m(e));var n,i,o,a,s,l,u,c,f,d=(i=(n=e).auth,o=n.hostname,a=n.protocol||"",s=n.pathname||"",l=n.hash||"",u=n.query||"",c=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",n.host?c=i+n.host:o&&(c=i+(~o.indexOf(":")?"["+o+"]":o),n.port&&(c+=":"+n.port)),u&&"object"==typeof u&&(u=t.encode(u)),f=n.search||u&&"?"+u||"",a&&":"!==a.substr(-1)&&(a+=":"),n.slashes||(!a||r.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),f&&"?"!==f[0]&&(f="?"+f),{protocol:a,host:c,pathname:s=s.replace(/[?#]/g,encodeURIComponent),search:f=f.replace("#","%23"),hash:l});return""+d.protocol+d.host+d.pathname+d.search+d.hash}var a="http://",s=a+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,u=/https?|ftp|gopher|file/;function c(e,t){var r="string"==typeof e?m(e):e;e="object"==typeof e?n(e):e;var i=m(t),o="";r.protocol&&!r.slashes&&(o=r.protocol,e=e.replace(r.protocol,""),o+="/"===t[0]||"/"===e[0]?"/":""),o&&i.protocol&&(o="",i.slashes||(o=i.protocol,t=t.replace(i.protocol,"")));var c=e.match(l);c&&!i.protocol&&(e=e.substr((o=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(o=o.slice(0,-1)));var f=new URL(e,s+"/"),d=new URL(t,f).toString().replace(s,""),h=i.protocol||r.protocol;return h+=r.slashes||i.slashes?"//":"",!o&&h?d=d.replace(a,h):o&&(d=d.replace(a,"")),u.test(d)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==d.slice(-1)||(d=d.slice(0,-1)),o&&(d=o+("/"===d[0]?d.substr(1):d)),d}function f(){}f.prototype.parse=m,f.prototype.format=n,f.prototype.resolve=c,f.prototype.resolveObject=c;var d=/^https?|ftp|gopher|file/,h=/^(.*?)([#?].*)/,p=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,g=/^([a-z0-9.+-]*:)?\/\/\/*/i,y=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function m(e,r,i){if(void 0===r&&(r=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof f)return e;var o=(e=e.trim()).match(h);e=o?o[1].replace(/\\/g,"/")+o[2]:e.replace(/\\/g,"/"),y.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(p),l=g.test(e),u="";a&&(d.test(a[1])||(u=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(l=!1,d.test(a[1])?(u=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(u=a[1],e="/"+a[3]));var c,m=(o?o[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),v=m&&m[1],b=new f,w="",_="";try{c=new URL(e)}catch(t){w=t,u||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(_="/",e=e.substr(1));try{c=new URL(e,s)}catch(e){return b.protocol=u,b.href=u,b}}b.slashes=l&&!_,b.host="w.w"===c.host?"":c.host,b.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),b.protocol=w?u||null:c.protocol,b.search=c.search.replace(/\\/g,"%5C"),b.hash=c.hash.replace(/\\/g,"%5C");var k=e.split("#");!b.search&&~k[0].indexOf("?")&&(b.search="?"),b.hash||""!==k[1]||(b.hash="#"),b.query=r?t.decode(c.search.substr(1)):b.search.substr(1),b.pathname=_+(a?c.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):c.pathname),"about:"===b.protocol&&"blank"===b.pathname&&(b.protocol="",b.pathname=""),w&&"/"!==e[0]&&(b.pathname=b.pathname.substr(1)),u&&!d.test(u)&&"/"!==e.slice(-1)&&"/"===b.pathname&&(b.pathname=""),b.path=b.pathname+b.search,b.auth=[c.username,c.password].map(decodeURIComponent).filter(
1Boolean).join(":"),b.port=c.port,v&&!b.host.endsWith(v)&&(b.host+=v,b.port=v.slice(1)),b.href=_?""+b.pathname+b.search+b.hash:n(b);var S=/^(file)/.test(b.href)?["host","hostname"]:[];return Object.keys(b).forEach(function(e){~S.indexOf(e)||(b[e]=b[e]||null)}),b}o.parse=m,o.format=n,o.resolve=c,o.resolveObject=function(e,t){return m(c(e,t))},o.Url=f}(),e.exports=o}()},9516:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});var n=r(80245).C.execute},10030:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>s});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},10105:(e,t,r)=>{"use strict";r.d(t,{m1:()=>f,oG:()=>u,t4:()=>a,uz:()=>l,wb:()=>s,yE:()=>c});var n=r(86739),i=r(3638);function o(){let e=(0,n._)(["gap-x-16 md:gap-x-24"]);return o=function(){return e},e}let a=(0,i.A)(o()),s=(0,i.A)(a,"grid w-full grid-cols-root md:grid-cols-root-md"),l=(0,i.A)(s,"col
1-span-full"),u=(0,i.A)(a,"col-span-6 col-start-2 grid grid-cols-6 md:col-span-12 md:col-start-2 md:grid-cols-12"),c=(0,i.A)(a,"col-span-6 col-start-1 grid grid-cols-6 md:col-span-12 md:col-start-1 md:grid-cols-12"),f=(0,i.A)(a,"col-span-full grid grid-cols-6 md:grid-cols-12")},10112:(e,t,r)=>{var n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(s,{AUDIO_EXTENSIONS:()=>S,DASH_EXTENSIONS:()=>T,FLV_EXTENSIONS:()=>O,HLS_EXTENSIONS:()=>x,MATCH_URL_DAILYMOTION:()=>b,MATCH_URL_FACEBOOK:()=>h,MATCH_URL_FACEBOOK_WATCH:()=>p,MATCH_URL_KALTURA:()=>k,MATCH_URL_MIXCLOUD:()=>w,MATCH_URL_MUX:()=>d,MATCH_URL_SOUNDCLOUD:()=>c,MATCH_URL_STREAMABLE:()=>g,MATCH_URL_TWITCH_CHANNEL:()=>v,MATCH_URL_TWITCH_VIDEO:()=>m,MATCH_URL_VIDYARD:()=>_,MATCH_URL_VIMEO:()=>f,MATCH_URL_WISTIA:()=>y,MATCH_URL_YOUTUBE:()=>u,VIDEO_EXTENSIONS:()=>E,canPlay:()=>N}),e.exports=((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))a.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(s=i(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),s);var l=r(50384);let u=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,c=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,f=/vimeo\.com\/(?!progressive_redirect).+/,d=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,h=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,p=/^https?:\/\/fb\.watch\/.+$/,g=/streamable\.com\/([a-z0-9]+)$/,y=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,m=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,v=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,b=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,w=/mixcloud\.com\/([^/]+\/[^/]+)/,_=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,k=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,S=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,E=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,x=/\.(m3u8)($|\?)/i,T=/\.(mpd)($|\?)/i,O=/\.(flv)($|\?)/i,C=e=>{if(e instanceof Array){for(let t of e)if("string"==typeof t&&C(t)||C(t.src))return!0;return!1}return!!((0,l.isMediaStream)(e)||(0,l.isBlobUrl)(e))||S.test(e)||E.test(e)||x.test(e)||T.test(e)||O.test(e)},N={youtube:e=>e instanceof Array?e.every(e=>u.test(e)):u.test(e),soundcloud:e=>c.test(e)&&!S.test(e),vimeo:e=>f.test(e)&&!E.test(e)&&!x.test(e),mux:e=>d.test(e),facebook:e=>h.test(e)||p.test(e),streamable:e=>g.test(e),wistia:e=>y.test(e),twitch:e=>m.test(e)||v.test(e),dailymotion:e=>b.test(e),mixcloud:e=>w.test(e),vidyard:e=>_.test(e),kaltura:e=>k.test(e),file:C}},10340:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});var n=r(80594),i=r(80245),o=r(84248),a=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,o.$)(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},11633:(e,t,r)=>{"use strict";r.d(t,{a:()=>u});
1var n=r(80594),i=r(54066),o=r(43129),a=r(66910),s=r(37935),l=r(78079);function u(e,t,r,u){var f=t.data,d=(0,n.Tt)(t,["data"]),h=r.data,p=(0,n.Tt)(r,["data"]);return(0,i.A)(d,p)&&function e(t,r,n,o){if(r===n)return!0;var u=new Set;return t.selections.every(function(t){if(u.has(t)||(u.add(t),!(0,s.MS)(t,o.variables)||c(t)))return!0;if((0,l.dt)(t)){var f=(0,l.ue)(t),d=r&&r[f],h=n&&n[f],p=t.selectionSet;if(!p)return(0,i.A)(d,h);var g=Array.isArray(d),y=Array.isArray(h);if(g!==y)return!1;if(g&&y){var m=d.length;if(h.length!==m)return!1;for(var v=0;v<m;++v)if(!e(p,d[v],h[v],o))return!1;return!0}return e(p,d,h,o)}var b=(0,a.HQ)(t,o.fragmentMap);if(b)return!!c(b)||e(b.selectionSet,r,n,o)})}((0,o.Vn)(e).selectionSet,f,h,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:u})}function c(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},11669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var n=r(44133);t.RawSha256=function(){function e(){this.state=Int32Array.from(n.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n.MAX_HASHABLE_LENGTH)throw Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===n.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%n.BLOCK_SIZE>=n.BLOCK_SIZE-8){for(var i=this.bufferLength;i<n.BLOCK_SIZE;i++)t.setUint8(i,0);this.hashBuffer(),this.bufferLength=0}for(var i=this.bufferLength;i<n.BLOCK_SIZE-8;i++)t.setUint8(i,0);t.setUint32(n.BLOCK_SIZE-8,Math.floor(e/0x100000000),!0),t.setUint32(n.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}for(var o=new Uint8Array(n.DIGEST_LENGTH),i=0;i<8;i++)o[4*i]=this.state[i]>>>24&255,o[4*i+1]=this.state[i]>>>16&255,o[4*i+2]=this.state[i]>>>8&255,o[4*i+3]=this.state[i]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],u=t[6],c=t[7],f=0;f<n.BLOCK_SIZE;f++){if(f<16)this.temp[f]=(255&e[4*f])<<24|(255&e[4*f+1])<<16|(255&e[4*f+2])<<8|255&e[4*f+3];else{var d=this.temp[f-2],h=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,p=((d=this.temp[f-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[f]=(h+this.temp[f-7]|0)+(p+this.temp[f-16]|0)}var g=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&l^~s&u)|0)+(c+(n.KEY[f]+this.temp[f]|0)|0)|0,y=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&i^r&o^i&o)|0;c=u,u=l,l=s,s=a+g|0,a=o,o=i,i=r,r=g+y|0}t[0]+=r,t[1]+=i,t[2]+=o,t[3]+=a,t[4]+=s,t[5]+=l,t[6]+=u,t[7]+=c},e}()},12075:e=>{"use strict";var t=function(e){var t,n,i;return!!(t=e)&&"object"==typeof t&&(n=e,"[object RegExp]"!==(i=Object.prototype.toString.call(n))&&"[object Date]"!==i&&n.$$typeof!==r)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var u,c,f=Array.isArray(r);return f!==Array.isArray(e)?n(r,l):f?l.arrayMerge(e,r,l):(c={},(u=l).isMergeableObject(e)&&o(e).forEach(function(t){c[t]=n(e[t],u)}),o(r).forEach(function(t){a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(a(e,t)&&u.isMergeableObject(r[t])?c[t]=(function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s})(t,u)(e[t],r[t],u):c[t]=n(r[t],u))}),c)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return s(e,r,t)},{})},e.exports=s},12583:(e,t,r)=>{"use strict";r.d(t,{z:()=>c});var n=r(72119),i=r(39892),o=r(98487),a=r(54066),s=r(77914),l=r(66910),u=r(43129);function c(e,t,r,c){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var f=t.definitions.filter(function(e){return e.kind===n.b.FRAGMENT_DEFINITION});void 0===c&&((0,o.V1)(1===f.length,49,f.length),c=f[0].name.value);var d=f.find(function(e){return e.name.value===c});return((0,o.V1)(!!d,50,c),null==e||(0,a.A)(e,{}))?e:(0,s.S)(e,d.selectionSet,{operationType:"fragment",operationName:d.name.value,fragmentMap:(0,l.JG)((0,u.zK)(t)),c
1ache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},13035:(e,t,r)=>{var n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e},c=(e,t,r)=>(r=null!=e?n(s(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),f=(e,t,r)=>(((e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),r),d={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(d,{createReactPlayer:()=>T}),e.exports=u(i({},"__esModule",{value:!0}),d);var h=c(r(91844)),p=c(r(12075)),g=c(r(72463)),y=c(r(64757)),m=r(2723),v=r(50384),b=c(r(8234));let w=(0,v.lazy)(()=>r.e(36353).then(r.t.bind(r,65505,23))),_="undefined"!=typeof window&&window.document&&"undefined"!=typeof document,k=void 0!==r.g&&r.g.window&&r.g.window.document,S=Object.keys(m.propTypes),E=_||k?h.Suspense:()=>null,x=[],T=(e,t)=>
1{var r;return r=class extends h.Component{constructor(){super(...arguments),f(this,"state",{showPreview:!!this.props.light}),f(this,"references",{wrapper:e=>{this.wrapper=e},player:e=>{this.player=e}}),f(this,"handleClickPreview",e=>{this.setState({showPreview:!1}),this.props.onClickPreview(e)}),f(this,"showPreview",()=>{this.setState({showPreview:!0})}),f(this,"getDuration",()=>this.player?this.player.getDuration():null),f(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),f(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),f(this,"getInternalPlayer",(e="player")=>this.player?this.player.getInternalPlayer(e):null),f(this,"seekTo",(e,t,r)=>{if(!this.player)return null;this.player.seekTo(e,t,r)}),f(this,"handleReady",()=>{this.props.onReady(this)}),f(this,"getActivePlayer",(0,g.default)(r=>{for(let t of[...x,...e])if(t.canPlay(r))return t;return t||null})),f(this,"getConfig",(0,g.default)((e,t)=>{let{config:r}=this.props;return p.default.all([m.defaultProps.config,m.defaultProps.config[t]||{},r,r[t]||{}])})),f(this,"getAttributes",(0,g.default)(e=>(0,v.omit)(this.props,S))),f(this,"renderActivePlayer",e=>{if(!e)return null;let t=this.getActivePlayer(e);if(!t)return null;let r=this.getConfig(e,t.key);return h.default.createElement(b.default,{...this.props,key:t.key,ref:this.references.player,config:r,activePlayer:t.lazyPlayer||t,onReady:this.handleReady})})}shouldComponentUpdate(e,t){return!(0,y.default)(this.props,e)||!(0,y.default)(this.state,t)}componentDidUpdate(e){let{light:t}=this.props;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}renderPreview(e){if(!e)return null;let{light:t,playIcon:r,previewTabIndex:n,oEmbedUrl:i,previewAriaLabel:o}=this.props;return h.default.createElement(w,{url:e,light:t,playIcon:r,previewTabIndex:n,previewAriaLabel:o,oEmbedUrl:i,onClick:this.handleClickPreview})}render(){let{url:e,style:t,width:r,height:n,fallback:i,wrapper:o}=this.props,{showPreview:a}=this.state,s=this.getAttributes(e),l="string"==typeof o?this.references.wrapper:void 0;return h.default.createElement(o,{ref:l,style:{...t,width:r,height:n},...s},h.default.createElement(E,{fallback:i},a?this.renderPreview(e):this.renderActivePlayer(e)))}},f(r,"displayName","ReactPlayer"),f(r,"propTypes",m.propTypes),f(r,"defaultProps",m.defaultProps),f(r,"addCustomPlayer",e=>{x.push(e)}),f(r,"removeCustomPlayers",()=>{x.length=0}),f(r,"canPlay",t=>{for(let r of[...x,...e])if(r.canPlay(t))return!0;return!1}),f(r,"canEnablePIP",t=>{for(let r of[...x,...e])if(r.canEnablePIP&&r.canEnablePIP(t))return!0;return!1}),r}},13093:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(33736);r(91844);let i=e=>{let{height:t="24",width:r="24",strokeColor:i="currentColor"}=e;return(0,n.jsxs)("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M12.8627 7.87963C12.8731 7.39691 12.4846 7 12.0018 7C11.5192 7 11.1308 7.39656 11.1408 7.87907L11.2527 13.2536C11.2612 13.6603 11.5933 13.9855 12 13.9855C12.4066 13.9855 12.7386 13.6606 12.7473 13.2541L12.8627 7.87963Z",fill:i}),(0,n.jsx)("path",{d:"M11.2909 16.691C11.4879 16.8971 11.7242 17.0002 12 17.0002C12.1818 17.0002 12.347 16.9535 12.4955 16.8601C12.647 16.7635 12.7682 16.6347 12.8591 16.4736C12.953 16.3126 13 16.1339 13 15.9374C13 15.6475 12.9 15.3996 12.7 15.1934C12.503 14.9873 12.2697 14.8843 12 14.8843C11.7242 14.8843 11.4879 14.9873 11.2909 15.1934C11.097 15.3996 11 15.6475 11 15.9374C11 16.2337 11.097 16.4849 11.2909 16.691Z",fill:i}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12Z",fill:i})]})}},13637:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},14303:function(e,t,r){"use strict";var n,i,o,a=this&&this.__extends||(i=function(e,t){return(i=Object.
1setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},l=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})},u=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){var l=[o,s];if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}};Object.defineProperty(t,"__esModule",{value:!0});var c=r(18818),f=r(30035),d=r(37695),h=r(9048),p=r(15861),g=r(794);t.USER_AGENT_HEADER="x-amz-user-agent",t.USER_AGENT="aws-amplify/"+g.version+(p.userAgent&&" ")+p.userAgent,(n=o=t.AUTH_TYPE||(t.AUTH_TYPE={}
1)).NONE="NONE",n.API_KEY="API_KEY",n.AWS_IAM="AWS_IAM",n.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",n.OPENID_CONNECT="OPENID_CONNECT",n.AWS_LAMBDA="AWS_LAMBDA";var y=function(e){function r(r){var n=e.call(this)||this;return n.link=t.authLink(r),n}return a(r,e),r.prototype.request=function(e,t){return this.link.request(e,t)},r}(c.ApolloLink);t.AuthLink=y;var m=function(e,r,n){var i=void 0===e?{header:"",value:""}:e,o=i.header,a=i.value;return l(void 0,void 0,void 0,function(){var e,i,l,c,f,d;return u(this,function(u){switch(u.label){case 0:if(e=r.getContext(),i=s(s({},e.headers),((f={})[t.USER_AGENT_HEADER]=t.USER_AGENT,f)),!(o&&a))return[3,5];if("function"!=typeof a)return[3,2];return[4,a.call(void 0)];case 1:return c=u.sent(),[3,4];case 2:return[4,a];case 3:c=u.sent(),u.label=4;case 4:l=c,i=s(((d={})[o]=l,d),i),u.label=5;case 5:return r.setContext(s(s({},e),{headers:i})),[2,n(r)]}})})},v=function(e,r,n){var i=e.credentials,o=e.region,a=e.url;return l(void 0,void 0,void 0,function(){var e,l,c,f,p,g,y,m,v,w,_,k,S;return u(this,function(u){switch(u.label){case 0:if(e="appsync",l=r.getContext(),!((c="function"==typeof i?i.call():i||{})&&"function"==typeof c.getPromise))return[3,2];return[4,c.getPromise()];case 1:u.sent(),u.label=2;case 2:return[4,c];case 3:return p=(f=u.sent()).accessKeyId,g=f.secretAccessKey,y=f.sessionToken,v=(m=h.parse(a)).host,w=m.path,_=s(s({},b(r,{})),{service:e,region:o,url:a,host:v,path:w}),k=d.Signer.sign(_,{access_key:p,secret_key:g,session_token:y}).headers,r.setContext(s(s({},l),{headers:s(s(s({},l.headers),k),((S={})[t.USER_AGENT_HEADER]=t.USER_AGENT,S))})),[2,n(r)]}})})};t.authLink=function(e){var t=e.url,r=e.region,n=e.auth,i=(void 0===n?{}:n).type,a=e.auth;return new c.ApolloLink(function(e,n){return new c.Observable(function(s){switch(i){case o.NONE:u=m(void 0,e,n);break;case o.AWS_IAM:var l,u,c=a.credentials;u=v({credentials:void 0===c?{}:c,region:r,url:t},e,n);break;case o.API_KEY:var f=a.apiKey;u=m({header:"X-Api-Key",value:void 0===f?"":f},e,n);break;case o.AMAZON_COGNITO_USER_POOLS:case o.OPENID_CONNECT:var d=a.jwtToken;u=m({header:"Authorization",value:void 0===d?"":d},e,n);break;case o.AWS_LAMBDA:var h=a.token;u=m({header:"Authorization",value:void 0===h?"":h},e,n);break;default:throw Error("Invalid AUTH_TYPE: "+a.type)}return u.then(function(e){l=e.subscribe({next:s.next.bind(s),error:s.error.bind(s),complete:s.complete.bind(s)})}),function(){l&&l.unsubscribe()}})})};var b=function(e,t){var r=e.operationName,n=e.variables,i=e.query,o={operationName:r,variables:w(n),query:f.print(i)};return s(s({body:JSON.stringify(o),method:"POST"},t),{headers:s({accept:"*/*","content-type":"application/json; charset=UTF-8"},t.headers)})},w=function(e){return Object.keys(e).filter(function(e){return!e.startsWith("@@")}).reduce(function(t,r){return t[r]=e[r],t},{})}},14596:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});
1var n=r(99273),i=r(31650),o=r(43129),a=r(98487),s=r(10030),l=r(3160),u=r(33821);function c(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(c,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,l.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),77),r.lookupArray(n)},max:u.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},15538:(e,t,r)=>{"use strict";r.d(t,{K$:()=>o,K4:()=>u,Mn:()=>s,uR:()=>a});var n=r(80594);r(98487);var i=r(27217),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var l=function(e){var t=(0,n.fX)((0,n.fX)((0,n.fX)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")},u=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,u=r.errorMessage,c=r.extraInfo,f=e.call(this,u)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=u||l(f),f.extraInfo=c,f.cause=(0,n.fX)((0,n.fX)((0,n.fX)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,n.C6)(t,e),t}(Error)},15861:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userAgent=""},16008:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});
1var n,i=r(59574),o=r(33821),a=r(75306),s=Object.assign(function(e){return JSON.stringify(e,l)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function l(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(u))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var l=Object.create(r);return a.forEach(function(e){l[e]=t[e]}),l}}return t}function u(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return n.size}),s.reset()},16766:(e,t,r)=>{"use strict";r.d(t,{Pj:()=>s,Xr:()=>h,fp:()=>p});var n=r(91844),i=r(60278),o=r(79225);let a=(0,n.createContext)(void 0);function s(e){let t=(0,n.useContext)(a);return(null==e?void 0:e.store)||t||(0,i.zp)()}let l=e=>"function"==typeof(null==e?void 0:e.then),u=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},c=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw u(e),e}),f=new WeakMap,d=(e,t)=>{let r=f.get(e);return r||(r=new Promise((n,i)=>{let a=e,s=e=>t=>{a===e&&n(t)},u=e=>t=>{a===e&&i(t)},c=()=>{try{let e=t();l(e)?(f.set(e,r),a=e,e.then(s(e),u(e)),(0,o.MO)(e,c)):n(e)}catch(e){i(e)}};e.then(s(e),u(e)),(0,o.MO)(e,c)}),f.set(e,r)),r};function h(e,t){let r=s(t);return(0,n.useCallback)((...t)=>{if(!("write"in e))throw Error("not writable atom");return r.set(e,...t)},[r,e])}function p(e,t){return[function(e,t){let{delay:r,unstable_promiseStatus:i=!n.use}=t||{},o=s(t),[[a,f,h],p]=(0,n.useReducer)(t=>{let r=o.get(e);return Object.is(t[0],r)&&t[1]===o&&t[2]===e?t:[r,o,e]},void 0,()=>[o.get(e),o,e]),g=a;if((f!==o||h!==e)&&(p(),g=o.get(e)),(0,n.useEffect)(()=>
1{let t=o.sub(e,()=>{if(i)try{let t=o.get(e);l(t)&&u(d(t,()=>o.get(e)))}catch(e){}if("number"==typeof r)return void setTimeout(p,r);p()});return p(),t},[o,e,r,i]),(0,n.useDebugValue)(g),l(g)){let t=d(g,()=>o.get(e));return i&&u(t),c(t)}return g}(e,t),h(e,t)]}},17836:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},18705:(e,t,r)=>{"use strict";r.d(t,{$_:()=>x,A0:()=>g,B2:()=>f,Ep:()=>S,Et:()=>u,Fi:()=>d,HO:()=>p,Jp:()=>m,OF:()=>o,Q3:()=>w,Vq:()=>y,WN:()=>_,WV:()=>l,Y6:()=>h,aq:()=>s,e8:()=>a,jj:()=>v,oK:()=>c,ov:()=>E,r7:()=>b,u3:()=>i,x9:()=>k});var n=r(3778);function i(e){return/^(https?:\/\/|mailto:|tel:)/.test(e)?e:/^www\./.test(e)?"https://"+e:e.startsWith("/")?e:"/"+e}function o(e){let t=e.replace(/(^\w+:|^)\/\//,"");return t.replace("www.","")}r(51304);let a=e=>/^\d{0,10}$/.test(e),s=e=>/^\d{10}$/.test(e),l=e=>/^(\d{0,3}|\d{3}-\d{0,4})$/.test(e),u=e=>/^$|^[0-9]+$/.test(e),c=(e,t)=>{switch(t){case"product":default:return e;case"NewsPage":return"/frettir/".concat(e)}};var f=function(e){return e.ADD="ADD",e.ARROW_DOWN="ARROW_DOWN",e.ARROW_LEFT="ARROW_LEFT",e.ARROW_RIGHT="ARROW_RIGHT",e.ARROW_RIGHT_L="ARROW_RIGHT_L",e.BIO="BIO",e.CHILDREN="CHILDREN",e.CLOSE="CLOSE",e.EDIT="EDIT",e.CATCHUP="CATCHUP",e.GRID="GRID",e.HOME="HOME",e.HELP="HELP",e.HIDE="HIDE",e.INFO="INFO",e.SPORTS="SPORTS",e.SEARCH_SM="SEARCH_SM",e.LIST="LIST",e.MY_LIST="MY_LIST",e.MENU="MENU",e.PLAY="PLAY",e.REMOVE="REMOVE",e.REWIND="REWIND",e.SEARCH_LG="SEARCH_LG",e.SHOW="SHOW",e.TV="TV",e.SOUND_ON="SOUND_ON",e.SOUND_OFF="SOUND_OFF",e.SETTINGS_LG="SETTINGS_LG",e.EPISODES="EPISODES",e.USER="USER",e.EDIT_PROFILE="EDIT_PROFILE",e.SETTINGS_SM="SETTINGS_SM",e.EXIT="EXIT",e.SET_TOP_BOX="SET_TOP_BOX",e.APPLE_TV="APPLE_TV",e.COMPUTER="COMPUTER",e.SMARTDEVICES="SMARTDEVICES",e.SYN="SYN",e.PHONE_RING="PHONE_RING",e.FACEBOOK_COLOR="FACEBOOK_COLOR",e.YOUTUBE_COLOR="YOUTUBE_COLOR",e.INSTAGRAM_COLOR="INSTAGRAM_COLOR",e.STOD2_LOGO="STOD2_LOGO",e.STOD2_PLUS_LOGO="STOD2_PLUS_LOGO",e.OLIS_DEILD="OLIS_DEILD",e.PRESENT="PRESENT",e.STOD3="STOD3",e.STOD2BIO="STOD2BIO",e.SPORT="SPORT",e.SPORT2="SPORT2",e.SPORT3="SPORT3",e.SPORT4="SPORT4",e.GOLFSTODIN="GOLFSTODIN",e.ESPORT="ESPORT",e.WARNING="WARNING",e.VODASPORT="VODASPORT",e}({});let d=()=>{let e=new Date;return e.setDate(e.getDate()-1),e.toISOString().slice(0,10)},h=()=>{let e=[],t=new Date;for(let r=0;r<8;r++)e.push(new Date(t).toISOString().slice(0,10)),t.setDate(t.getDate()+1);return e},p=(e,t,r)=>{var n,i,o,a,s,l;let u=[],c=h().pop(),f=null!=(n=null==t?void 0:t.slice(0,10))?n:"";for(let t=0;t<(null==e?void 0:e.length);t++){if(null==(o=e[t])||null==(i=o.dagsetning)?void 0:i.includes(f)){if(r&&(null==(l=e[t])?void 0:l.titill)!==r)continue;u.push(e[t])}if(c&&!f&&(null==(s=e[t+1])||null==(a=s.dagsetning)?void 0:a.slice(0,10))>c)break}return u},g=async e=>(await fetch("/api/epg/".concat(e),{next:{revalidate:43200}})).json(),y=async(e,t)=>(await fetch("/api/epg/".concat(e,"/").concat(t),{next:{revalidate:43200}})).json(),m=async e=>{let t=await fetch("/api/epg?type=".concat(e),{next:{revalidate:43200}}),r=await t.json(),n=["beint","bio","esport","stod3","kkitv1","kkitv2","kkitv3","kkitv4","kkitv5","kkitv6"];return r.filter(e=>!n.includes(e))},v=e=>{var t;return e?null!=(t=n.bW[e.toLocaleLowerCase()])?t:e:n.bW.default},b=async()=>{let e=new Set,t=await fetch("/api/epg/beint",{next:{revalidate:43200}}),r=await t.json();for(let t=0;t<(null==r?void 0:r.length);t++){var n;let i=null==(n=r[t])?void 0:n.titill;"string"==typeof i&&e.add(i)}return(e=>{let t=e.indexOf("Bundesliga"),r=e.indexOf("2. Bundesliga");if(-1===t||-1===r||r===t+1)return e;let n=[...e],[i]=n.splice(r,1),o=n.indexOf("Bundesliga");return n.splice(o+1,0,i),n})(Array.from(e).sort((e,t)=>e.localeCompare(t,void 0,{numeric:!1})))},w=[.8,0,.1,1],_=(e,t)=>{let r=window.URL.createObjectURL(e),n=document.createElement("a");n.href=r,n.download=t||"file",document.body.appendChild(n),n.click(),n.remove()},k=e=>"number"==typeof e&&Number.isFinite(e)?"".concat(Math.round(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")," kr."):"â",S=e=>(e||"").toLowerCase().replace("#",""),E=e=>/^[0-9a-f]{6}$/i.test(S(e))?"#".concat(S(e)):void 0,x=async e=>{let t=Object.keys(e),r=t.reduce((t,r)=>t.length>0?"".concat(t,":").concat(e[r].quantity,"x").concat(e[r].product.id):"".concat(e[r].quantity,"x").concat(e[r].product.id),""),n=t.reduce((t,r)=>t+e[r].quantity*e[r].product.price,0),i=await fetch("/api/store/hash",{method:"POST",body:JSON.stringify({buffer:"".concat(r,":").concat(n)})});return(await i.json()).hash}},18818:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloCache:()=>u.k,ApolloClient:()=>i.R,ApolloError:()=>l.K4,ApolloLink:()=>g.C,Cache:()=>n,DocumentTransform:()=>L.c,HttpLink:()=>C.P,InMemoryCache:()=>c.D,MissingFieldError:()=>f.Z,NetworkStatus:()=>s.pT,Observable:()=>D.c,ObservableQuery:()=>a.U5,checkFetcher:()=>E.S,concat:()=>b,createHttpLink:()=>O.$,createSignalIfSupported:()=>x,defaultDataIdFromObject:()=>d.or,defaultPrinter:()=>S.i1,disableExperimentalFragmentVariables:()=>F.qj,disableFragmentWarnings:()=>F.gi,empty:()=>y,enableExperimentalFragmentVariables:()=>F.VC,execute:()=>w.g,fallbackHttpConfig:()=>S.R4,from:()=>m.H,fromError:()=>I.N,fromPromise:()=>P,gql:()=>F.J1,isApolloError:()=>
1l.Mn,isNetworkRequestSettled:()=>s.D2,isReference:()=>M.A_,makeReference:()=>M.WU,makeVar:()=>h.UT,mergeOptions:()=>o.l,parseAndCheckHttpResponse:()=>_.OQ,resetCaches:()=>F.Nh,rewriteURIForGET:()=>N.E,selectHttpOptionsAndBody:()=>S.Wz,selectHttpOptionsAndBodyInternal:()=>S.HY,selectURI:()=>T.z,serializeFetchParameter:()=>k.Y,setLogVerbosity:()=>j.Q9,split:()=>v,throwServerError:()=>R.A,toPromise:()=>A});var n,i=r(91755),o=r(61289),a=r(91042),s=r(40510),l=r(15538);n||(n={});var u=r(51631),c=r(70969),f=r(42096),d=r(50831),h=r(93535),p=r(98487),g=r(80245),y=g.C.empty,m=r(19829),v=g.C.split,b=g.C.concat,w=r(9516),_=r(38238),k=r(19457),S=r(41311),E=r(51243),x=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},T=r(44374),O=r(84248),C=r(10340),N=r(82935);function A(e){var t=!1;return new Promise(function(r,n){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&p.V1.warn(45):(t=!0,r(e))},error:n})})}var D=r(20810);function P(e){return new D.c(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}var I=r(43765),R=r(54562),L=r(14596),M=r(78079),j=r(53508),F=r(49903);(0,j.Q9)(!1!==globalThis.__DEV__?"log":"silent")},18820:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(33736),i=r(91844),o=r(32840),a=r(5809),s=r.n(a),l=r(83234),u=r(3752),c=r.n(u);let f=()=>{let e="aDEaCWU47LaEx0NYVtZ3ZHE3HOJKPDEy";return i.useEffect(()=>{if(!document.querySelector('script[src*="chatPanel.js"]')){let e=document.createElement("script");return e.src="https://syn.boost.ai/chatPanel/chatPanel.js",e.async=!0,e.onerror=()=>{l.t.warning("Boost chat failed to load")},e.onload=()=>{let{chatPanel:e}=window.boostInit("syn",{});e.addEventListener("triggerAction",t=>{setTimeout(()=>{e.triggerAction(t.detail.actionId)},t.detail.durationBeforeTimeout)})},document.body.appendChild(e),()=>{document.body.removeChild(e)}}return()=>{}},[]),(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(c(),{id:"segment-snippet",strategy:"afterInteractive",children:'\n !function(){\n var i="analytics",analytics=window[i]=window[i]||[];\n if(!analytics.initialize)\n if(analytics.invoked) window.console && console.error && console.error("Segment snippet included twice.");\n else {\n analytics.invoked = true;\n analytics.methods = [\n "trackSubmit","trackClick","trackLink","trackForm","pageview",\n "identify","reset","group","track","ready","alias","debug",\n "page","once","off","on","addSourceMiddleware",\n "addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"\n ];\n analytics.factory = function(t){\n return function(){\n var e = Array.prototype.slice.call(arguments);\n e.unshift(t);\n analytics.push(e);\n return analytics;\n };\n };\n for(var t = 0; t < analytics.methods.length; t++){\n var key = analytics.methods[t];\n analytics[key] = analytics.factory(key);\n }\n analytics.load = function(key, t){\n var e = document.createElement("script");\n e.type = "text/javascript";\n e.async = true;\n e.src = "https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";\n var n = document.getElementsByTagName("script")[0];\n n.parentNode.insertBefore(e, n);\n analytics._loadOptions = t;\n };\n analytics._writeKey = "'.concat(e,'";\n analytics.SNIPPET_VERSION = "4.15.3";\n analytics.load("').concat(e,'");\n }\n }();\n ')}),(0,n.jsx)(c(),{id:"gtm-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','GTM-NLZRCT');"}}),(0,n.jsx)(c(),{id:"hotjar-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(h,o,t,j,a,r){\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\n h._hjSettings={hjid:771167,hjsv:6};\n a=o.getElementsByTagName('head')[0];\n r=o.createElement('script');r.async=1;\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\n a.appendChild(r);\n })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');"}})]})};var d=r(79466),h=r.n(d),p=r(10105),g=r(49945),y=r(67335),m=r(79837),v=r.n(m),b=r(16766),w=r(3778),_=r(19878),k=r(84092),S=r(77743);let E=e=>{let{height:t="25",width:r="25",strokeColor:i="#1F2126"}=e;return(0,n.jsx)("svg",{width:r,height:t,viewBox:"0 0 "+r+" "+t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M12.755 0C9.70113 0 6.91449 1.15537 4.79404 3.03906L2.75498 1V7H8.75498L6.21006 4.45508C7.9645 2.93102 10.243 2 12.755 2C18.2895 2 22.755 6.46547 22.755 12C22.755 17.5345 18.2895 22 12.755 22C7.22045 22 2.75498 17.5345 2.75498 12C2.75686 11.8675 2.73238 11.7359 2.68296 11.613C2.63355 11.49 2.56019 11.3781 2.46714 11.2837C2.3741 11.1893 2.26323 11.1144 2.14097 11.0632C2.01871 11.0121 1.88751 10.9858 1.75498 10.9858C1.62246 10.9858 1.49125 11.0121 1.369 11.0632C1.24674 11.1144 1.13587 11.1893 1.04282 11.2837C0.949778 11.3781 0.876418 11.49 0.827004 11.613C0.77759 11.7359 0.753109 11.8675 0.754983 12C0.754983 18.6155 6.13952 24 12.755 24C19.3704 24 24.755 18.6155 24.755 12C24.755 5.38453 19.3704 0 12.755 0ZM15.4425 8.34961C13.6265 8.34961 12.4835 9.71092 12.4835 12.0449C12.4835 14.3789 13.6105 15.7744 15.4425 15.7754C17.2685 15.7754 18.4015 14.3748 18.4015 12.0508C18.4015 9.70678 17.2545 8.34961 15.4425 8.34961ZM8.88975 8.53906L7.09873 9.75977V11.3027L8.79795 10.1543H8.88975V15.5859H10.6827V8.53906H8.88975ZM15.4425 9.72656C16.1265 9.72656 16.5851 10.4969 16.5851 12.0449C16.5851 13.6029 16.1265 14.3984 15.4425 14.3984C14.7585 14.3984 14.3038 13.6029 14.3038 12.0449C14.3038 10.4969 14.7585 9.72656 15.4425 9.72656Z",fill:i})})},x=e=>{let{height:t="25",width:r="25",strokeColor:i="#1F2126"}=e;return(0,n.jsx)("svg",{width:r,height:t,viewBox:"0 0 "+r+" "+t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M12.7148 0C6.09938 0 0.714844 5.38453 0.714844 12C0.714844 18.6155 6.09938 24 12.7148 24C19.3303 24 24.7148 18.6155 24.7148 12C24.7167 11.8675 24.6922 11.7359 24.6428 11.613C24.5934 11.49 24.52 11.3781 24.427 11.2837C24.334 11.1893 24.2231 11.1144 24.1008 11.0632C23.9786 11.0121 23.8474 10.9858 23.7148 10.9858C23.5823 10.9858 23.4511 11.0121 23.3289 11.0632C23.2066 11.1144 23.0957 11.1893 23.0027 11.2837C22.9096 11.3781 22.8363 11.49 22.7869 11.613C22.7375 11.7359 22.713 11.8675 22.7148 12C22.7148 17.5345 18.2494 22 12.7148 22C7.18031 22 2.71484 17.5345 2.71484 12C2.71484 6.46547 7.18031 2 12.7148 2C15.2268 2 17.5053 2.93102 19.2598 4.45508L16.7148 7H22.7148V1L20.6758 3.03906C18.5553 1.15537 15.7687 0 12.7148 0ZM15.4023 8.34961C13.5863 8.34961 12.4434 9.71092 12.4434 12.0449C12.4434 14.3789 13.5703 15.7744 15.4023 15.7754C17.2283 15.7754 18.3613 14.3748 18.3613 12.0508C18.3613 9.70678 17.2143 8.34961 15.4023 8.34961ZM8.84961 8.53906L7.05859 9.75977V11.3027L8.75781 10.1543H8.84961V15.5859H10.6426V8.53906H8.84961ZM15.4023 9.72656C16.0863 9.72656 16.5449 10.4969 16.5449 12.0449C16.5449 13.6029 16.0863 14.3984 15.4023 14.3984C14.7183 14.3984 14.2637 13.6029 14.2637 12.0449C14.2637 10.4969 14.7183 9.72656 15.4023 9.72656Z",fill:i})})},T=e=>{let{strokeColor:t}=e;return(0,n.jsxs)("svg",{width:"13",height:"14",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M7.5556 6.57213C8.07279 6.57213 8.49205 6.15286 8.49205 5.63567C8.49205 5.11848 8.07279 4.69922 7.5556 4.69922C7.03841 4.69922 6.61914 5.11848 6.61914 5.63567C6.61914 6.15286 7.03841 6.57213 7.5556 6.57213Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M7.55566 15.0002V6.57214",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4.74634 15.0002H10.3651",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M10.2039 8.28377C10.9061 7.58133 11.3006 6.62873 11.3006 5.63548C11.3006 4.64222 10.9061 3.68963 10.2039 2.98718",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M12.1912 10.2709C12.7999 9.66219 13.2828 8.93952 13.6123 8.14417C13.9418 7.34881 14.1114 6.49635 14.1114 5.63545C14.1114 4.77456 13.9418 3.92209 13.6123 3.12674C13.2828 2.33138 12.7999 1.60871 12.1912 1",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4.90727 8.28377C4.20504 7.58133 3.81055 6.62873 3.81055 5.63548C3.81055 4.64222 4.20504 3.68963 4.90727 2.98718",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M2.92021 10.2709C2.31143 9.66219 1.82852 8.93952 1.49905 8.14417C1.16958 7.34881 1 6.49635 1 5.63545C1 4.77456 1.16958 3.92209 1.49905 3.12674C1.82852 2.33138 2.31143 1.60871 2.92021 1",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},O=e=>{let{isActive:t=!0,isSmall:r=!1}=e;return(0,n.jsxs)("div",{className:"animate-fadeIn flex items-center justify-center gap-1 rounded-full px-8 "+"".concat(t?"bg-primary-red":"bg-black-25"," ").concat(r?"py-8":"py-8 lg:w-100 lg:py-1"),children:[(0,n.jsx)(T,{strokeColor:"white"}),!r&&(0,n.jsx)("p",{className:"label-md my-[2px] ml-8 line-clamp-1 hidden font-extrabold text-white-100 lg:block",children:"\xcd beinni"})]})},C=e=>{let{height:t="24",width:r="24",strokeColor:i="#1F2126"}=e;return(0,n.jsxs)("svg",{width:r,height:t,viewBox:"0 0 "+r+" "+t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{width:"24",height:"24",fill:"none"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 3C0.447715 3 0 3.44772 0 4V20C0 20.5523 0.447716 21 1 21H23C23.5523 21 24 20.5523 24 20V4C24 3.44772 23.5523 3 23 3H1ZM22 5H2V19H22V5Z",fill:i}),(0,n.jsx)("rect",{x:"10",y:"12",width:"11",height:"6",rx:"0.5",fill:"#1F2126"})]})},N=e=>{let{height:t="20",width:r="20",strokeColor:i="#1F2126"}=e;return(0,n.jsxs)("svg",{width:r,height:t,viewBox:"0 0 "+r+" "+t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{width:r,height:t,fill:"none"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 3C0.447715 3 0 3.44772 0 4V17C0 17.5523 0.447715 18 1 18H19C19.5523 18 20 17.5523 20 17V4C20 3.44772 19.5523 3 19 3H1ZM18.3333 4.66667H1.66667V16.3333H18.3333V4.66667Z",fill:"#1F2126"}),(0,n.jsx)("rect",{x:"2.5",y:"10.5",width:"15",height:"5",rx:"0.5",fill:i})]})},A=e=>{let{height:t="26",width:r="26",strokeColor:i="#012447"}=e;return(0,n.jsx)("svg",{width:r,height:t,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M13.4255 4.10552C13.8619 4.30284 14.1427 4.73542 14.1427 5.21354V19.7848C14.1427 20.2629 13.8619 20.6955 13.4255 20.8928C12.9891 21.0901 12.4769 21.0104 12.1202 20.6917L7.00127 16.142H4.42854C3.08905 16.142 2 15.0529 2 13.7134V11.2849C2 9.9454 3.08905 8.85635 4.42854 8.85635H7.00127L12.1202 4.30664C12.4769 3.98789 12.9891 3.912 13.4255 4.10552ZM19.9522 6.84522C21.5915 8.18092 22.6426 10.2186 22.6426 12.4992C22.6426 14.7797 21.5915 16.8174 19.9522 18.1531C19.5614 18.4719 18.9884 18.4111 18.6696 18.0203C18.3509 17.6295 18.4116 17.0565 18.8025 16.7377C20.0357 15.736 20.8212 14.2105 20.8212 12.4992C20.8212 10.7878 20.0357 9.26237 18.8025 8.25681C18.4116 7.93806 18.3547 7.36508 18.6696 6.97423C18.9846 6.58339 19.5614 6.52647 19.9522 6.84142V6.84522ZM17.6565 9.67219C18.4723 10.34 18.9998 11.357 18.9998 12.4992C18.9998 13.6413 18.4723 14.6583 17.6565 15.3261C17.2656 15.6449 16.6927 15.5842 16.3739 15.1933C16.0552 14.8025 16.1159 14.2295 16.5067 13.9108C16.9165 13.5768 17.1784
113.0684 17.1784 12.4992C17.1784 11.93 16.9165 11.4215 16.5067 11.0838C16.1159 10.765 16.059 10.192 16.3739 9.80121C16.6889 9.41036 17.2656 9.35345 17.6565 9.6684V9.67219Z",fill:i})})},D=e=>{let{height:t="26",width:r="26",strokeColor:i="#012447"}=e;return(0,n.jsx)("svg",{width:r,height:t,viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M2.45521 3.19146C2.06521 2.88396 1.49896 2.95521 1.19146 3.34521C0.883961 3.73521 0.955211 4.30146 1.34521 4.60896L23.5452 22.009C23.9352 22.3165 24.5015 22.2452 24.809 21.8552C25.1165 21.4652 25.0452 20.899 24.6552 20.5915L20.6915 17.4827C21.8765 16.2002 22.6002 14.4865 22.6002 12.6002C22.6002 10.3465 21.5615 8.33271 19.9415 7.01271C19.5552 6.69771 18.989 6.75771 18.674 7.14396C18.359 7.53021 18.419 8.09646 18.8052 8.41146C20.024 9.40146 20.8002 10.909 20.8002 12.6002C20.8002 14.0665 20.2152 15.394 19.2665 16.369L17.8377 15.2477C18.5502 14.5915 19.0002 13.6465 19.0002 12.6002C19.0002 11.4715 18.479 10.4665 17.6727 9.80646C17.2865 9.49146 16.7202 9.55146 16.4052 9.93771C16.0902 10.324 16.1502 10.8902 16.5365 11.2052C16.9415 11.5352 17.2002 12.0377 17.2002 12.6002C17.2002 13.1627 16.9415 13.6652 16.5365 13.999C16.4877 14.0365 16.4465 14.0815 16.409 14.1265L14.2002 12.3977V5.40021C14.2002 4.92771 13.9227 4.50021 13.4915 4.30521C13.0602 4.11021 12.554 4.18896 12.2015 4.50396L8.41771 7.86771L2.45521 3.19146ZM14.2002 16.999L4.10896 9.04896C3.01771 9.27771 2.20021 10.2415 2.20021 11.4002V13.8002C2.20021 15.124 3.27646 16.2002 4.60021 16.2002H7.14271L12.2015 20.6965C12.554 21.0115 13.0602 21.0865 13.4915 20.8952C13.9227 20.704 14.2002 20.2727 14.2002 19.8002V16.999Z",fill:i})})},P=e=>{let{width:t="61",height:r="60",primaryColor:i="#1F1A6B",secondaryColor:o="#FFFFFF"}=e;return(0,n.jsxs)("svg",{width:t,height:r,viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"0.336914",width:t,height:r,rx:"4",fill:i}),(0,n.jsx)("path",{d:"M24.3663 21.6557V35.8375C23.7065 35.4563 22.9672 35.2339 22.2066 35.1878C21.4461 35.1417 20.6853 35.2732 19.9844 35.572C19.2835 35.8707 18.6617 36.3284 18.1682 36.9089C17.6747 37.4894 17.3231 38.1768 17.1411 38.9167C16.9592 39.6565 16.9519 40.4286 17.1198 41.1718C17.2877 41.915 17.6263 42.6089 18.1087 43.1986C18.5912 43.7884 19.2042 44.2577 19.8993 44.5697C20.5945 44.8816 21.3527 45.0274 22.1139 44.9957C23.4041 44.9101 24.612 44.3321 25.4881 43.3811C26.3643 42.4302 26.8416 41.1791 26.8216 39.8863V27.4666L40.7349 22.8981V32.5638C40.0752 32.1813 39.3356 31.9577 38.5745 31.9106C37.8135 31.8636 37.0519 31.9945 36.3502 32.2928C35.6484 32.5912 35.0259 33.0489 34.5317 33.6296C34.0376 34.2104 33.6855 34.8982 33.5033 35.6386C33.3211 36.3791 33.3139 37.1518 33.4821 37.8955C33.6504 38.6392 33.9895 39.3335 34.4727 39.9234C34.9559 40.5133 35.5698 40.9826 36.2658 41.2941C36.9618 41.6056 37.7208 41.7507 38.4826 41.7179C39.772 41.6323 40.9793 41.0548 41.8553 40.1048C42.7314 39.1548 43.2092 37.9047 43.1902 36.6126V15.8187C43.1902 15.6908 43.1603 15.5647 43.1028 15.4505C43.0453 15.3363 42.9619 15.2371 42.8591 15.1609C42.7564 15.0848 42.6373 15.0338 42.5113 15.012C42.3853 14.9902 42.2559 14.9982 42.1336 15.0354L25.5268 20.0901C25.1911 20.1922 24.8971 20.3994 24.6881 20.6813C24.4792 20.9632 24.3663 21.3048 24.3663 21.6557Z",fill:o})]})};var I=r(51304),R=r.n(I),L=r(63043);let M=e=>{let{playingAt:t,hideImage:r=!1}=e,[i]=(0,b.fp)(L.H0),[o]=(0,b.fp)(L.hn),a=R()(new Date(t)),s=a.locale("en").format("dddd"),l=a.locale("en").format("HH:mm"),u=i.filter(e=>e.weekday===s&&e.timeFrom<=l&&e.timeTo>l),c=w.S7,f=(null==o?void 0:o.id)&&(null==o?void 0:o.id)in w.V?w.V[null==o?void 0:o.id]:w.V[""];return u.length&&(c=u[0]),(0,n.jsxs)("div",{className:"flex flex-row items-center",children:[(0,n.jsx)("div",{className:"col-auto mr-0 flex items-center justify-items-center ".concat(r?"collapse hidden":"hidden md:flex lg:pr-4"),children:c.photo?(0,n.jsx)("div",{className:"flex items-center",style:{height:"60px"},children:(0,n.jsx)("img",{src:"https://www.visir.is/mi/300x300".concat(c.photo),alt:c.description,className:"pointer-events-none rounded-4",style:{width:"61"},width:61})}):(0,n.jsx)(P,{primaryColor:f.primary,secondaryColor:f.secondary})}),(0,n.jsxs)("div",{className:"lg:mw-48 my-auto block ".concat(r?"hidden":"md:hidden lg:block"),children:[(0,n.jsx)("div",{className:"text-matte-black font-bold",children:c.title}),(0,n.jsx)("div",{className:"text-gray-500",children:c.timeFrom?"".concat(c.timeFrom," - ").concat(c.timeTo):"Allan s\xf3larhringinn"})]})]})};var j=r(35936);let F=e=>{let{label:t,children:r}=e,[o,a]=(0,b.fp)(L.Eg),s=(0,b.Xr)(L.Je),l=(0,b.Xr)(L.S6),[u,c]=(0,i.useState)(!1),[f,d]=(0,i.useState)(0),[h,p]=(0,i.useState)("hidden"),[g,y]=(0,i.useState)("auto"),m=(0,i.useRef)(null),v=(0,i.useRef)(null);(0,i.useEffect)(()=>{m&&m.current&&(d(m.current.clientHeight),f&&y("-".concat(f/2,"px")))},[m,d,y,f,v]);let w=()=>{let e=!u;c(e),p(e?"flex":"hidden"),setTimeout(()=>{m&&m.current&&(d(m.current.clientHeight),f&&y("-".concat(f/2,"px")))},10)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{ref:v,className:"relative flex items-center",onMouseDown:()=>l(!0),onMouseUp:()=>l(!1),children:[(0,n.jsxs)("span",{className:"relative flex",children:[t&&(0,n.jsx)("span",{className:"mr-2",children:t}),(0,n.jsx)("button",{onClick:w,style:{fontWeight:600},className:"flex rounded-full p-8 hover:bg-black-25",children:r||(0,n.jsx)(A,{width:"24px",height:"24px",strokeColor:"#012447"})})]}),(0,n.jsx)("div",{ref:m,className:"border-gray-300 absolute z-30 flex h-100 flex-col items-center rounded-full border-2 shadow-xl ".concat(h),style:{right:"-20px",top:"".concat(g)},children:(0,n.jsx)(j.A,{vertical:!0,progress:o,strokeColor:"primary-light-coral",onChange:e=>{a(e),s(!1)}})})]}),u&&(0,n.jsx)("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-20",onClick:w})]})},V=e=>{let{title:t,description:r,photo:i,altText:o,hideImage:a,radioId:s}=e,l=s&&s in w.V?w.V[s]:w.V[""];return(0,n.jsxs)("div",{className:"flex flex-row items-center",children:[(0,n.jsx)("div",{className:"col-auto mr-0 flex items-center justify-items-center ".concat(a?"collapse hidden":"hidden w-24 md:flex lg:pr-4"),children:i?(0,n.jsx)("div",{className:"flex items-center",style:{height:"60px"},children:(0,n.jsx)("img",{src:i,alt:o,className:"pointer-events-none rounded-4",style:{width:"61"},width:61})}):(0,n.jsx)(P,{primaryColor:l.primary,secondaryColor:l.secondary})}),(0,n.jsxs)("div",{className:"lg:mw-48 my-auto block ".concat(a?"":"md:hidden lg:block"),children:[(0,n.jsx)("div",{className:"text-matte-black font-bold",children:t}),(0,n.jsx)("div",{className:"text-gray-500",children:r})]})]})},U=(e,t,r)=>e.length<t?e:"".concat(e.substring(0,r),"...");var Y=r(92309);let B=()=>{let[e,t]=(0,b.fp)(L.Eg),r=(0,b.Xr)(L.hn),[o,a]=(0,b.fp)(L.WT),[s,l]=(0,b.fp)(L.vh),[u]=(0,b.fp)(L.S6),[c,f]=(0,b.fp)(L.Je),[d,h]=(0,i.useState)([1,1]),[p,g]=(0,i.useState)([0,0]),[y,m]=(0,i.useState)(!0),[T,P]=(0,i.useState)(!1),[I,R]=(0,i.useState)(0),[B,q]=(0,i.useState)(0),[H,W]=(0,i.useState)(0),[z,G]=(0,i.useState)(!1),[$,K]=(0,i.useState)([16,16]),[Q,J]=(0,i.useState)(!1),[Z,X]=(0,i.useState)([0,0]),[ee,et]=(0,i.useState)([0,0]),er=o?w.VF[o.stationId]:"",en=i.useRef(null),ei=e=>{en.current&&en.current.seekTo(Math.max(e))},eo=e=>{en.current&&ei(en.current.getCurrentTime()+e)},ea=()=>{en.current&&(null==o?void 0:o.isLiveFeed)&&(en.current.seekTo(Math.max(en.current.getDuration()-10,1)),m(!0))};return(0,i.useEffect)(()=>{let e=()=>{z&&window.innerWidth<=768&&G(!1)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[z]),(0,n.jsx)(n.Fragment,{children:o&&(0,n.jsx)(Y.A,{onMove:e=>{Q&&!u&&(J(!0),et([e.clientX-Z[0],e.clientY-Z[1]]))},children:(0,n.jsx)("div",{className:"fixed bottom-16 z-50 ".concat(z?"w-fit":"w-full"),style:z?{right:"".concat($[0]-ee[0],"px"),bottom:"".concat($[1]-ee[1],"px")}:void 0,children:(0,n.jsx)("div",{className:"col-span-full mx-56 my-16 ".concat(z?Q?"w-96 cursor-grabbing":"w-96 cursor-grab":"bottom-8 col-span-full"),onMouseDown:e=>{u||(J(!0),X([e.clientX,e.clientY]))},onMouseUp:()=>{J(!1),X([0,0]),K([$[0]-ee[0],$[1]-ee[1]]),et([0,0])},children:(0,n.jsxs)("div",{className:"relative flex w-full items-center rounded-32 bg-white-100 p-12 shadow-md md:p-16 ".concat(z?"flex-col":"flex-row"),children:[(0,n.jsx)("div",{className:"".concat(z?"absolute":"collapse hidden"," start-4 top-4 z-20"),children:(0,n.jsx)("button",{onClick:()=>G(!1),className:"rounded-full p-8 hover:bg-black-25",children:(0,n.jsx)(N,{height:"20",width:"21"})})}),(0,n.jsx)("div",{className:"absolute end-8 top-8 md:end-8 md:top-8",children:(0,n.jsx)("button",{onClick:()=>{r(null),a(null)},className:"bg-white border-theme-gray-mid-light rounded-full border p-1 hover:bg-black-25 md:border-0 md:p-2 md:hover:bg-black-25 ",children:(0,n.jsx)(_.A,{height:"16",width:"16"})})}),(0,n.jsxs)("div",{className:"relative flex w-full ".concat(z?"flex-col":"flex-col md:flex-row"," items-center"),children:[(0,n.jsxs)("div",{className:"order-1 flex min-w-fit select-none flex-row items-center self-start md:self-center",children:[(0,n.jsx)("img",{src:er,alt:o.description,className:"pointer-events-none mr-2 w-100 select-none md:w-128 lg:mr-4"}),o.isLiveFeed?(0,n.jsx)(M,{hideImage:z,playingAt:I}):(0,n.jsx)(V,{title:U(o.title||"",24,20),description:U(o.description||"",20,18),photo:"https://www.visir.is/mi/300x300".concat(o.mainthumb)})]}),(0,n.jsxs)("div",{className:"col-auto mx-8 flex flex-row justify-between lg:mx-4 ".concat(z?"order-3 w-full justify-evenly":"xl:w-120 order-3 md:order-2"),children:[(0,n.jsx)("button",{className:"rounded-full ".concat(z?"mr-8":"collapse hidden"),onClick:ea,children:(0,n.jsx)(O,{isActive:y,isSmall:!0})}),(0,n.jsx)("button",{className:"rounded-full p-8 hover:bg-black-25",onClick:()=>{eo(-10)},style:{width:"40px",height:"40px"},children:(0,n.jsx)(E,{strokeColor:"#012447"})}),(0,n.jsx)("button",{className:"rounded-full p-8 hover:bg-black-25",onClick:()=>{l(!s)},style:{width:"40px",height:"40px"},children:s?(0,n.jsx)(S.A,{width:"24",height:"24",strokeColor:"#012447"}):(0,n.jsx)(k.A,{width:"24",strokeColor:"#012447"})}),(0,n.jsx)("button",{className:"rounded-full p-8 hover:bg-black-25",onClick:()=>{eo(10)},style:{width:"40px",height:"40px"},children:(0,n.jsx)(x,{strokeColor:"#012447"})}),(0,n.jsx)("div",{className:z?"":"xl:collapse xl:hidden",children:(0,n.jsx)(F,{children:c?(0,n.jsx)(D,{width:"24",height:"24",strokeColor:"#012447"}):(0,n.jsx)(A,{width:"24",height:"24",strokeColor:"#012447"})})})]}),(0,n.jsxs)("div",{className:"m-8 my-8 flex w-full select-none flex-row items-center ".concat(z?"order-2 my-8":"order-8 md:order-3 md:my-0"),children:[(0,n.jsx)(j.A,{strokeColor:"primary-light-coral",progress:H,onChange:e=>{if(en.current)ei(((null==o?void 0:o.isLiveFeed)?en.current.getSecondsLoaded():(null==o?void 0:o.duration)||0)*e/100),W(e)}}),(0,n.jsx)("span",{className:"text-12 ml-8",children:(null==o?void 0:o.isLiveFeed)?new Date(I).toTimeStr
1ing().substring(0,z?5:8):"-".concat(new Date(1e3*((null==o?void 0:o.duration)||0)-I).toTimeString().substring(0,z?5:8))})]}),(0,n.jsxs)("div",{className:"mx-8 items-center ".concat(z?"collapse hidden":"order-4 hidden w-[240px] flex-row xl:flex"),children:[(0,n.jsx)("button",{className:"mr-8 rounded-full p-8 hover:bg-black-25",onClick:()=>{f(!c)},children:c?(0,n.jsx)(D,{strokeColor:"#012447"}):(0,n.jsx)(A,{strokeColor:"#012447"})}),(0,n.jsx)(j.A,{progress:e,strokeColor:"primary-light-coral",onChange:e=>{t(e),f(!1)}})]}),(0,n.jsx)("div",{className:"items-center md:mr-2 ".concat(!z&&(null==o?void 0:o.isLiveFeed)?"absolute end-0 top-4 order-none md:static md:order-5":"collapse hidden"),children:(0,n.jsx)("button",{className:"rounded-full",onClick:ea,children:(0,n.jsx)(O,{isActive:y})})}),(0,n.jsx)("div",{className:"hidden items-center ".concat(z?"collapse hidden":"order-6 flex flex-row md:block"),children:(0,n.jsx)("button",{className:"rounded-full p-8 hover:bg-black-25",onClick:()=>G(!0),children:(0,n.jsx)(C,{width:"25",height:"24"})})})]}),(0,n.jsx)("span",{className:"order-7 flex flex-row",children:null==o?void 0:o.isLiveFeed}),(0,n.jsx)(v(),{ref:en,playing:s,volume:e/100,controls:!1,width:0,height:0,url:"".concat(o.url).concat(o.isLiveFeed?"?DVR":""),muted:c,onPause:()=>l(!1),onPlay:()=>l(!0),onReady:()=>P(!0),config:{file:{forceAudio:!0}},onDuration:e=>{(null==o?void 0:o.isLiveFeed)?q(Date.now()-1e3*e):q(e)},onProgress:e=>{e.loaded&&T&&((null==o?void 0:o.isLiveFeed)&&ea(),P(!1)),h([e.played,e.loaded]),g([e.playedSeconds,e.loadedSeconds]),R(B+1e3*e.playedSeconds),(()=>{if(en.current)if(null==o?void 0:o.isLiveFeed)d[0]>=.99||p[1]-p[0]<20?(m(!0),W(100)):(m(!1),W(100*d[0]/d[1]));else{let e=(null==o?void 0:o.duration)||.001;W(100*p[0]/e)}})()}})]})})})})})};var q=r(7846),H=r.n(q),W=r(95466);let z=e=>{let{height:t="24",width:r="24",strokeColor:i="currentColor"}=e;return(0,n.jsxs)("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M12.8627 9.37963C12.8731 8.89691 12.4846 8.5 12.0018 8.5C11.5192 8.5 11.1308 8.89656 11.1408 9.37907L11.2527 14.7536C11.2612 15.1602 11.5933 15.4855 12 15.4855C12.4066 15.4855 12.7386 15.1605 12.7473 14.7541L12.8627 9.37963Z",fill:i}),(0,n.jsx)("path",{d:"M11.2909 18.1906C11.4879 18.3967 11.7242 18.4998 12 18.4998C12.1818 18.4998 12.347 18.4531 12.4955 18.3597C12.647 18.2631 12.7682 18.1342 12.8591 17.9732C12.953 17.8122 13 17.6334 13 17.437C13 17.1471 12.9 16.8991 12.7 16.693C12.503 16.4869 12.2697 16.3838 12 16.3838C11.7242 16.3838 11.4879 16.4869 11.2909 16.693C11.097 16.8991 11 17.1471 11 17.437C11 17.7333 11.097 17.9845 11.2909 18.1906Z",fill:i}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6107 3.69994C13.5857 1.78938 10.856 1.76106 9.79162 3.64994L1.98712 17.4996C0.954098 19.3328 2.27871 21.5997 4.38292 21.5997H19.6176C21.6966 21.5997 23.0237 19.3816 22.0409 17.5496L14.6107 3.69994ZM11.0984 4.38634C11.5822 3.52775 12.823 3.54063 13.2889 4.40906L20.7191 18.2587C21.1658 19.0915 20.5626 20.0997 19.6176 20.0997H4.38292C3.42646 20.0997 2.82436 19.0693 3.29392 18.236L11.0984 4.38634Z",fill:i})]})},G=e=>{let{height:t="24",width:r="24",strokeColor:i="currentColor"}=e;return(0,n.jsxs)("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M16.7803 9.78033C17.0732 9.48744 17.0732 9.01256 16.7803 8.71967C16.4874 8.42678 16.0126 8.42678 15.7197 8.71967L10.75 13.6893L8.28033 11.2197C7.98744 10.9268 7.51256 10.9268 7.21967 11.2197C6.92678 11.5126 6.92678 11.9874 7.21967 12.2803L10.2197 15.2803C10.5126 15.5732 10.9874 15.5732 11.2803 15.2803L16.7803 9.78033Z",fill:i}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12Z",fill:i})]})};var $=r(13093);let K=e=>{let{height:t="24",width:r="24",strokeColor:i="currentColor"}=e;return(0,n.jsxs)("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:i,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M12 16V12",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M12 8H12.01",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},Q=e=>{let{message:t,subMessage:r,alertId:i,type:o}=e,[a,s]=(0,b.fp)(L.jq);return(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("div",{className:"absolute -right-12 -top-[14px] curs
1or-pointer rounded-full border-1 border-white-5 bg-white-100 p-[6px] text-neutral-10",onClick:()=>{delete a[i],s({...a})},children:(0,n.jsx)(_.A,{height:"16",width:"16"})}),(0,n.jsxs)("div",{className:"flex w-[460px] max-w-[80vw] gap-16 rounded-28 bg-state-".concat(o,"-background items-center p-16 shadow-sm"),children:[(0,n.jsx)("span",{className:"text-state-".concat(o),children:"success"===o?(0,n.jsx)(G,{}):"info"===o?(0,n.jsx)(K,{}):"warning"===o?(0,n.jsx)($.A,{}):(0,n.jsx)(z,{})}),(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("span",{className:"font-medium",children:t}),r&&(0,n.jsx)("span",{children:r})]})]})]})},J=()=>{let[e]=(0,b.fp)(L.jq);return(0,n.jsx)("div",{className:"fixed right-32 top-128 z-50",children:(0,n.jsx)("div",{className:"flex flex-col gap-24",children:Object.keys(e).map(t=>(0,n.jsx)(Q,{alertId:t,message:e[t].message,subMessage:e[t].subMessage,type:e[t].type},t))})})},Z=e=>{let{children:t}=e,r=(0,W.useRouter)(),i=(0,g.PF)((0,y.S)("u0ns9p1dn2b1","master"),"7WTIzcAbrIzpI6OMPEqnZiZdELbNQTJWNXTvXlKBJYw"),a=0===r.asPath.indexOf("/nolayout");return(0,n.jsxs)(o.X,{client:i,children:[(0,n.jsx)(s(),{children:(0,n.jsx)("meta",{httpEquiv:"Content-type",content:"text/html; charset=UTF-8"})}),a?(0,n.jsx)(n.Fragment,{children:t}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f,{}),(0,n.jsx)("main",{className:"".concat(h().className," flex min-h-screen justify-center bg-white-15"),children:(0,n.jsxs)("div",{className:"".concat(p.wb," ").concat(H().className," overflow-x-hidden"),children:[t,(0,n.jsx)(B,{}),(0,n.jsx)(J,{})]})})]})]})}},19243:(e,t,r)=>{"use strict";r.d(t,{Au:()=>y,DT:()=>c,Jn:()=>s,K9:()=>g,P$:()=>v,Q7:()=>f,Uj:()=>u,di:()=>l,jl:()=>p,jn:()=>d,l7:()=>b,sX:()=>w,u4:()=>h,y:()=>m});var n=r(18705);let i=/^(\d{6}-?\d{4})$/,o=/^(\+\d{1,3}\s?)?[\d\s\-\(\)]{7,15}$/,a=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,s={firstName:{required:!0,minLength:2,maxLength:50,custom:[{test:e=>/^[a-zA-ZáéÃóúýþæðöÃÃÃÃÃÃÃÃÃÃ\s\-\']+$/.test(e),message:"Nafn m\xe1 a\xf0eins innihalda b\xf3kstafi"}]},lastName:{required:!1,minLength:2,maxLength:50,custom:[{test:e=>!e||/^[a-zA-ZáéÃóúýþæðöÃÃÃÃÃÃÃÃÃÃ\s\-\']+$/.test(e),message:"Eftirnafn m\xe1 a\xf0eins innihalda b\xf3kstafi"}]},nationalId:{required:!0,pattern:i,minLength:10,maxLength:10,custom:[{test:e=>i.test(e),message:"Kennitala ekki gild"}]},email:{required:!0,pattern:a,custom:[{test:e=>a.test(e),message:"Vinsamlegast sl\xe1\xf0u inn gilt netfang"}]},phoneNumber:{required:!0,pattern:o,custom:[{test:e=>o.test(e),message:"Vinsamlegast sl\xe1\xf0u inn gilt s\xedman\xfamer"}]},postalCode:{required:!0,custom:[{test:e=>{let t=e.match(/\b\d{3}\b/),r=e.match(/[a-zA-ZáéÃóúýþæðöÃÃÃÃÃÃÃÃÃÃ]+/);if(!t||!r)return!1;let n=parseInt(t[0]);return n>=100&&n<=999},message:"P\xf3stn\xfamer ekki gilt (101 Reykjav\xedk e\xf0a Reykjav\xedk 101)"}]},address:{required:!0,minLength:5,maxLength:100,custom:[{test:e=>/^[a-zA-ZáéÃóúýþæðöÃÃÃÃÃÃÃÃÃÃ0-9\s\-\.\,]+$/.test(e),message:"Heimilisfang ekki gilt"}]},delivery:{required:!0,minLength:1,custom:[{test:e=>["pickup","delivery","post"].includes(e.toLowerCase()),message:"Vinsamlegast veldu gilda afhendingarm\xe1ta"}]}},l=(e,t)=>{if(t.required&&(!e||""===e.trim()))return{isValid:!1,errorMessage:"\xdeessi reitur er nau\xf0synlegur"};if(!e&&!t.required)return{isValid:!0};let r=e.trim();if(t.minLength&&r.length<t.minLength)return{isValid:!1,errorMessage:"L\xe1gmarkslengd er ".concat(t.minLength," stafir")};if(t.maxLength&&r.length>t.maxLength)return{isValid:!1,errorMessage:"H\xe1markslengd er ".concat(t.maxLength," stafir")};if(t.custom){for(let e of t.custom)if(!e.test(r))return{isValid:!1,errorMessage:e.message}}return{isValid:!0}},u=e=>l(e,s.nationalId).isValid,c=e=>l(e,s.email).isValid,f=e=>l(e,s.phoneNumber).isValid,d=e=>l(e,s.postalCode).isValid,h=e=>l(e,s.firstName).isValid,p=e=>l(e,s.address).isValid,g=e=>{if(!/^(0[1-9]?|1[0-2]?|[2-9])(\/(\d{0,2})?)?$/.exec(e))return"Gildist\xedmi \xfearf a\xf0 vera \xe1 forminu MM/YY"},y=e=>{if(!e)return;let t=e.split("/");if(2!==t.length)return"Gildist\xedmi \xfearf a\xf0 vera \xe1 forminu MM/YY";let[r,n]=t,i=parseInt(r,10),o=parseInt(n,10);if(2!==r.length||2!==n.length)return"Gildist\xedmi \xfearf a\xf0 vera \xe1 forminu MM/YY";if(i<1||i>12)return"M\xe1nu\xf0ur \xfearf a\xf0 vera \xe1 milli 01 og 12";let a=new Date().getFullYear()%100,s=new Date().getMonth()+1;if(o<a||o===a&&i<s)return"Korti\xf0 er \xfatrunni\xf0"},m=e=>{if(e.length<13||e.length>19)return!1;let t=0,r=!1;for(let n=e.length-1;n>=0;n--){let i=parseInt(e.charAt(n),10);r&&(i*=2)>9&&(i-=9),t+=i,r=!r}return t%10==0},v=e=>{let t=e.replace(/[^\d/]/g,""),r=t.split("/");return r.length>2||r[0]&&!(0,n.Et)(r[0])||r[1]&&!(0,n.Et)(r[1])?e:(0,n.Et)(t)&&2===t.length?t+"/":t.length>5?e:t},b=e=>e.replace(/\D/g,""),w=e=>e.replace(/\D/g,"")},19457:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i});var n=r(98487),i=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var i=(0,n.vA)(42,t,e.message);throw i.parseError=e,i}return r}},19829:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var n=r(80245).C.from},19878:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(33736);r(91844);let i=e=>{let{strokeColor:t="#1F2126",height:r="24",width:i="24"}=e;return(0,n.jsxs)("svg",{width:i,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M19 5L5 19",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M19 19L5 5",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},20810:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>k}
1);var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},l=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var u=l("iterator"),c=l("observable"),f=l("species");function d(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function h(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:k}function p(e){p.log?p.log(e):setTimeout(function(){throw e})}function g(e){Promise.resolve().then(function(){try{e()}catch(e){p(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=d(t,"unsubscribe");r&&r.call(t)}}catch(e){p(e)}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function v(e,t,r){e._state="running";var n=e._observer;try{var i=d(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(m(e),i)i.call(n,r);else throw r;break;case"complete":m(e),i&&i.call(n)}}catch(e){p(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],g(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(v(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}v(e,t,r)}}var w=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new _(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),_=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),k=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new w(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=h(this);return new i(function(t){var n,o=0;return!function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=d(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof k&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=d(t,u)))return new r(function(e){g(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){g(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){g(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(k,Symbol("extensions"),{value:{symbol:c,hostReportError:p},configurable:!0})},21715:()=>{},27217:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},28784:(e,t,r)=>{Object.create;var n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames;Object.getPrototypeOf;var a=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(s,{default:()=>c}),e.exports=((e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))a.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(s=i(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),s);var l=r(50384),u=r(10112),c=[{key:"youtube",name:"YouTube",canPlay:u.canPlay.youtube,lazyPlayer:(0,l.lazy)(()=>r.e(18446).then(r.t.bind(r,7905,23)))},{key:"soundcloud",name:"SoundCloud",canPlay:u.canPlay.soundcloud,lazyPlayer:(0,l.lazy)(()=>r.e(69979).then(r.t.bind(r,99172,23)))},{key:"vimeo",name:"Vimeo",canPlay:u.canPlay.vimeo,lazyPlayer:(0,l.lazy)(()=>r.e(26173).then(r.t.bind(r,4660,23)))},{key:"mux",name:"Mux",canPlay:u.canPlay.mux,lazyPlayer:(0,l.lazy)(()=>r.e(52723).then(r.t.bind(r,36026,23)))},{key:"facebook",name:"Facebook",canPlay:u.canPlay.facebook,lazyPlayer:(0,l.lazy)(()=>r.e(86887).then(r.t.bind(r,66640,23)))},{key:"streamable",name:"Streamable",canPlay:u.canPlay.streamable,lazyPlayer:(0,l.lazy)(()=>r.e(47627).then(r.t.bind(r,17792,23)))},{key:"wistia",name:"Wistia",canPlay:u.canPlay.wistia,lazyPlayer:(0,l.lazy)(()=>r.e(99340).then(r.t.bind(r,93049,23)))},{key:"twitch",name:"Twitch",canPlay:u.canPlay.twitch,lazyPlayer:(0,l.lazy)(()=>r.e(12042).then(r.t.bind(r,64915,23)))},{key:"dailymotion",name:"DailyMotion",canPlay:u.canPlay.dailymotion,lazyPlayer:(0,l.lazy)(()=>r.e(16328).then(r.t.bind(r,3943,23)))},{key:"mixcloud",name:"Mixcloud",canPlay:u.canPlay.mixcloud,lazyPlayer:(0,l.lazy)(()=>r.e(67570).then(r.t.bind(r,49287,23)))}
1,{key:"vidyard",name:"Vidyard",canPlay:u.canPlay.vidyard,lazyPlayer:(0,l.lazy)(()=>r.e(3392).then(r.t.bind(r,279,23)))},{key:"kaltura",name:"Kaltura",canPlay:u.canPlay.kaltura,lazyPlayer:(0,l.lazy)(()=>r.e(6463).then(r.t.bind(r,2850,23)))},{key:"file",name:"FilePlayer",canPlay:u.canPlay.file,canEnablePIP:e=>u.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,l.supportsWebKitPresentationMode)())&&!u.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,l.lazy)(()=>r.e(97458).then(r.t.bind(r,36395,23)))}]},29027:(e,t,r)=>{"use strict";var n=r(34544);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=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 r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
1;return r.PropTypes=r,r}},29775:()=>{},30035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,o.visit)(e,a)};var n=r(36667),i=r(65129),o=r(52065);let a={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>s(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=u("(",s(e.variableDefinitions,", "),")"),r=s([e.operation,s([e.name,t]),s(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+u(" = ",r)+u(" ",s(n," "))},SelectionSet:{leave:({selections:e})=>l(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=u("",e,": ")+t,a=o+u("(",s(r,", "),")");return a.length>80&&(a=o+u("(\n",c(s(r,"\n")),"\n)")),s([a,s(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+u(" ",s(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>s(["...",u("on ",e),s(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${u("(",s(r,", "),")")} on ${t} ${u("",s(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.printBlockString)(e):(0,i.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+s(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+s(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+u("(",s(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>u("",e,"\n")+s(["schema",s(t," "),l(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>u("",e,"\n")+s(["scalar",t,s(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>u("",e,"\n")+s(["type",t,u("implements ",s(r," & ")),s(n," "),l(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>u("",e,"\n")+t+(f(r)?u("(\n",c(s(r,"\n")),"\n)"):u("(",s(r,", "),")"))+": "+n+u(" ",s(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>u("",e,"\n")+s([t+": "+r,u("= ",n),s(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>u("",e,"\n")+s(["interface",t,u("implements ",s(r," & ")),s(n," "),l(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>u("",e,"\n")+s(["union",t,s(r," "),u("= ",s(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>u("",e,"\n")+s(["enum",t,s(r," "),l(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>u("",e,"\n")+s([t,s(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>u("",e,"\n")+s(["input",t,s(r," "),l(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>u("",e,"\n")+"directive @"+t+(f(r)?u("(\n",c(s(r,"\n")),"\n)"):u("(",s(r,", "),")"))+(n?" repeatable":"")+" on "+s(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>s(["extend schema",s(e," "),l(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>s(["extend scalar",e,s(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>s(["extend type",e,u("implements ",s(t," & ")),s(r," "),l(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>s(["extend interface",e,u("implements ",s(t," & ")),s(r," "),l(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>s(["extend union",e,s(t," "),u("= ",s(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>s(["extend enum",e,s(t," "),l(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>s(["extend input",e,s(t," "),l(r)]," ")}};function s(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function l(e){return u("{\n",c(s(e,"\n")),"\n}")}function u(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function c(e){return u(" ",e.replace(/\n/g,"\n "))}function f(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}},31650:(e,t,r)=>{"use strict";r.d(t,{En:()=>a,JR:()=>f,et:()=>o,ol:()=>s,uJ:()=>l});var n=r(98487),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,l=s&&Symbol.asyncIterator,u="function"==typeof(0,n.no)(function(){return window.document.createElement}),c=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(u||i)&&!c},32840:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var n=r(80594),i=r(98487),o=r(77252),a=r(67952),s=function(e){var t=e.client,r=e.children,s=(0,a.l)(),l=o.useContext(s),u=o.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},l),{client:t||l.client})},[l,t]);return(0,i.V1)(u.client,55),o.createElement(s.Provider,{value:u},r)}},33821:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(80594),i=r(98487),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},34250:e=>{"use strict";e.exports=JSON.parse('{"Main":{"Title":"S\xfdn","UnknownError":"Unknown error"},"Payment":{"Topup":"Topup","Payment":"Purchase","PurchaseOverview":"Purchase overview","Products":"Products","UnnamedProduct":"Unnamed Product","NoProductsInCart":"No products in cart.","Total":"Total","TotalNow":"Total now","Price":"Price","Discount":"Discount","Customer":"Customer","Name":"Name","Kennitala":"Kennitala","Address":"Address","Place":"Place","PhoneNumber":"Phone number","Email":"Email","Delivery":"Delivery","LoadingOrder":"Loading order...","NoCustomerInfo":"No customer information.","SendElectronicBill":"Send electronic bill to bank","ElectronicConvenienceFee":"Convenience fee {{fee}} kr. will be added to the bill.","Voucher":"Voucher","ActivateVoucher":"Activate voucher"},"PaymentCard":{"Card":"Payment card","CardNumber":"Cardnumber","Agree":"I agree to the","Tos":"terms of service","S\xfdn":"","Pay":"Pay","Paying":"Paying...","ThankYouForDoingBusiness":"Thank y
1ou for doing business!","CartExpired":{"Title":"Cart expired","Detail":"Carts are reserved for a half hour."},"InvalidCardNumber":"Card number is invalid","InvalidCvc":"CVC is invalid","SaveCardFailed":"Save card failed","ChargeFailed":"Charge card failed","TryDifferentCard":"Please try a different card","PaymentFailure":"Unknown payment failure"},"PlaybackStarting":{"Preparing":{"Title":"Playback is starting"},"Position":{"Title":"Playback is starting","FromPosition":{"Title":"Watch","Subtitle":"from {{position}}"},"FromBeginning":{"Title":"Watch","Subtitle":"from beginning"}},"Error":{"Default":{"Title":"Playback failed","Subtitle":"Please try again later"},"AccountBlocking":{"Title":"Playback failed","Subtitle":"This device is blocked due to debt"},"Authorization":{"Title":"You\'re not subscribed to this content","Subtitle":"Contact customer service if you have subscription"},"CouldNotCreateEntitlement":{"Title":"Playback failed","Subtitle":"Could not start playback"},"EntitlementExpired":{"Subtitle":"Session has been overtaken by another device"},"GeoBlocking":{"Title":"Playback failed","Subtitle":"Playback is only allowed in EEA countries"},"NotPlayable":{"Title":"Playback failed","Subtitle":"This content is not available at the moment"},"UnsupportedDevice":{"Title":"Playback failed","Subtitle":"This browser is not supported"},"PurchaseLimitReached":{"Title":"Playback not allowed","Subtitle":"Purchase limit reached"}},"Pin":{"Watch":{"Title":"Playback is starting"},"Rental":{"Title":"Confirm rental for {{price}} kr."},"Purchase":{"Title":"Confirm purchase for {{price}} kr."},"Placeholder":"Input PIN to unlock","Buttons":{"Confirm":"Confirm","Cancel":"Cancel"},"Error":{"IncorrectPin":"Incorrect PIN"}}},"User":{"Login":"Login","Logout":"Logout"},"Navigation":{"Frontpage":"Home","Search":"Search","Live":"TV","Subscriptions":"Subscriptions","Settings":"Settings","Stod2plus":"St\xf6\xf0 2+","Episodes":"Episodes","Movies":"Movies","Sports":"Sports","Children":"Children","Rent":"Rent","Frelsi":"R\xdaV","MyList":"My list","Premium":"Premium"},"Settings":{"Title":"Settings","Login":{"Title":"Login","Message":"Log in to change settings"},"PasswordConfirmation":{"Title":"Confirm password","Message":"For security reasons you need to confirm your password to change settings","Email":"Email","Password":"Password","Submit":"Confirm"},"Language":{"Title":"Language","Icelandic":"\xcdslenska","English":"English"},"PinCode":{"Title":"Change PIN code","Pin":"New PIN code","PinConfirm":"New PIN code (confirmed)","Update":"Update PIN"},"PinSettings":{"Title":"PIN settings","PlayContent":{"NEVER":"PIN is not required before playback.","ALWAYS":"PIN is required before playback.","NOT_FREE":"PIN is not required for free content.","AGE_LEVEL":"PIN is required for all content with the maturity rating of {{ageLevel}}.","NOT_FREE_AND_AGE_LEVEL":"PIN is required for content that is not free and with the maturity rating of {{ageLevel}}."},"AllowSubscriptions":{"YES":"PIN is not required for subscription and PPV purchases.","YES_WITH_PIN":"PIN is required for subscription and PPV purchases.","NO":"Subscription and PPV purchases are not allowed."}},"Locks":{"Title":"Locks","AgeLevel":{"Title":"Age Settings","AGE_LEVEL_0":"No age restriction","AGE_LEVEL_6":"PG-6 rated","AGE_LEVEL_9":"PG-9 rated","AGE_LEVEL_12":"PG-12 rated","AGE_LEVEL_16":"PG-16 rated","AGE_LEVEL_18":"PG-18 rated"},"PinPlayContent":{"Title":"PIN when playing content","ALWAYS":"Always","NOT_FREE":"Except for free content","AGE_LEVEL":"According to age settings"},"AllowSubscriptions":{"Title":"Allow subscription and PPV purchases","YES":"Yes","YES_WITH_PIN":"Yes - with PIN","NO":"No"}},"Information":{"Title":"Information","Name":"Name","Username":"Username","AccountId":"Customer"},"Help":{"Title":"Help","Message":"Please contact out Service Desk 1817 if you require assistance."}},"MediaCarousel":{"SeeAll":"See all"},"MediaComponent":{"Subtitle":{"Season":"{{count}} season","Seasons":"{{count}} seasons","Episode":"Episode {{episodeNumber}}","Episodes":"{{count}} episode","Of":"of","Episodes_other":"{{count}} episodes","Imdb":"IMDb {{imdbRating}}","Purchased":"purchased {{purchasedAt}}","Watched":"watched {{watchedAt}}","DateAt":"{{date}} at {{time}}","TodayAt":"today at {{time}}","Live":"live now"}},"MyContent":{"Title":"My Content","PurchasedContent":"Purchased Content","WatchHistory":"Watch History","Favorites":"My List"},"ContentInfo":{"IMDb":"IMDb","Year":"Year","Director":"Director","Director_other":"Directors","Actor":"Actor","Actor_other":"Actors","SimilarContent":"Tengt efni","Duration":{"Title":"Duration","Data":"{{duration}} min."}
1,"MaxViewingDuration":{"Title":"Rental period","Data":"{{maxViewingDuration}} hours"},"AvailableUntil":{"Title":"Available until"},"Price":"Price {{price}} kr.","RentedUntil":{"Title":"Rented until","WithDate":"Rented until {{date}}"}},"Movie":{"Watch":"Watch","Rent":"Rent","Buy":"Buy","Price":"{{price}} kr.","LoginRequired":{"Part1":"This content requires","Part2":"login"},"NotSubscribed":"You\'re not subscribed to this content","NotPlayable":"Content is not available on this device","NotAvailable":"Content is not available"},"Series":{"Season":"Season {{episodeSeason}}","UnknownSeason":"Unknown season"},"Search":{"Placeholder":"Search for movies and series","NoResults":"No search results"},"Login":{"Title":"Login","Email":"Email","Password":"Password","Submit":"Login","Register":"Register","ForgotPassword":"Forgotten password","Error":{"LocalStorage":"Not possible to log in using this browser as it\'s doesn\'t allow saving user info.","Blocked":"Not possible to log in using this browser","LoginFailed":"Login failed"}},"Forgot":{"Title":"Forgotten password","Step1":{"Message":"Please enter the one number used during registration","Phone":"Phone number","Submit":"Next step"},"Step2":{"Message":"Please enter the SMS code we just sent you","Code":"SMS code","Submit":"Next step"},"Step3":{"Message":"Please create a password for the service. The password must be at least 8 characters and include at least one uppercase and one lowercase letters along with one numeric digit.","Password":"Password","PasswordConfirm":"Password confirmed","Submit":"Reset password","Error":{"PasswordMismatch":"Please enter the same password in both fields"}}},"Register":{"Title":"Registration"},"Player":{"SkipIntro":"Skip intro","NextEpisode":"Next episode","AudioLanguage":"Language","SubtitleLanguage":"Subtitles","Languages":{"is":"Icelandic","isl":"Icelandic","en":"English","eng":"English"}},"Products":{"PPV":"Pay-per-view","SUBSCRIPTION":"Subscriptions"},"Product":{"Price":"Price","Subscribed":"You are already subscribed","Purchase":"Purchase","Terms":"Terms","AgreeTerms":"Agree terms","Pin":"Input PIN to purchase","PinError":"Incorrect PIN","NotAllowed":"Purchases not allowed on this device","PurchaseLimitReached":"Purchase not allowed as purchase limit has been reached","PurchaseFailed":"Purchase failed","LoginRequired":{"Part1":"This requires","Part2":"login"},"Loading":"Purchase in progress..."},"NotFound":{"Title":"Page not found","Message":"The page you requested is not found.","Link":"Click here to navigate to the frontpage"},"Buttons":{"BuySubscription":"Subscribe"},"ContentButtons":{"Watch":"Watch","ContinueWatching":"Continue watching","FromBeginning":"From beginning","FromBeginningSubtitle":"from beginning","Login":"Login","SeasonAndEpisode":"Season {{seriesNumber}} - Episode {{episodeNumber}}","Episode":"Episode {{episodeNumber}}"},"HeaderMenu":{"ChangeProfiles":"Change profiles","Settings":"Settings","MyList":"My list","MySites":"My sites","Logout":"Log out"},"UpComingLive":{"Title":"Upcoming live events"},"HeroBanner":{"Serie":"{{episodeSeason}} season","Episodes":"{{count}} episoes"},"Footer":{"Live":"Live","Help":"Help","Collection":"Collection","BuySubscription":"Buy a subscription","UpComingLive":"Upcoming live events","Schedule":"Schedule","ScheduleForMedia":"Schedule for media","Advert
1iseWithUs":"Advertise with us","QuestionAndAnswers":"Question & answers","Contact":"Contact","ServiceHours":"Opening hours","ServiceCenter":"Help center","PackagesAvailable":"Available packages","BuyGiftCertificate":"Buy Gift Cards","ActivateGiftCertificate":"Activate Gift Card","PriceList":"Prices","PrivacyPolicy":"Privacy policy","Cookies":"Web Cookie Policy","Terms":"Terms","Announcements":"Announcements"},"SportLogoLive":{"Title":"Live sports","Text":"Be in the best seat"},"WhereToWatch":{"Title":"Watch where it suits you","Text":"St\xf6\xf0 2+ on all your devices","Blocks":{"SetTopBox":{"Title":"Set-top box","Text":"You can watch our content in your set-top box."},"AppleTV":{"Title":"Apple TV","Text":"You can watch our content on your Apple TV through the St\xf6\xf0 2 app."},"Computer":{"Title":"Computer","Text":"You can watch our content on our website on your computer."},"SmartDevices":{"Title":"Smart devices","Text":"You can watch our content on your smart device through the St\xf6\xf0 2 app or on the web."}},"Instructions":"See instructions"},"Packages":{"Title":"Subscription packages","Text":"Choose the package that suits you"},"Profiles":{"Error":"An Error came up!","ProiflesLoadErrorText":"Failed to retrieve profiles, please try again later or contact St\xf6\xf0var 2\'s customer service at 1817.","WhosWatching":"Who\'s watching?","NewProfile":"New profile","SelectImage":"Select image","ChangeProfile":"Edit profile","ChangeProfiles":"Edit profiles","SubText":"Select a profile to edit","Home":"Home","Add":"Add","Finish":"Finish","GoBack":"Go back","EditProfile":{"ChooseImage":"Choose image","ImageError":"No image selected","Name":"Name","Language":"Language","AgeLimit":"Age limit","ProfileType":"Profile type","ChildProfile":"Child profile","ChildProfileText":"Children\'s profiles only have access to Children\'s Adventure World, and not to other content.","EmptyError":"Field can not be empty","LengthError":"Value need to be at least 2 characters","NameError":"Field is not valid","Cancel":"Cancel","Back":"Back","Delete":"Remove profile","DeleteProfileText":"Are you sure that you want to remove the profile with the name {{profileName}}?","Save":"Save","Error":"Operation failed","TryAgainText":"Try again later"}},"NoData":{"MyList":{"Text":"Your list is empty"},"Program":{"Text":"No program available"}},"LoadingScreen":{"Message":"Loading data"},"ScheduleScreen":{"UpComingLive":"Up coming games","UpComingLiveKKI":"KK\xcd TV - Up coming games","Schedule":"Schedule","TvSchedule":"TV schedule","AllUpComing":"All dates","AllDivisions":"All divisions","AllChannels":"All channels","Yesterday":"Yesterday","ToDay":"Today\'s schedule","Date":"Date","Time":"Time","Title":"Program","Division":"Division","Channel":"Channel","Detail":"Detail"},"Dates":{"January":"january","February":"february","March":"march","April":"april","May":"may","June":"june","July":"july","August":"august","September":"september","October":"october","November":"november","December":"december","Mon":"Mon","Tue":"Tue","Wed":"Wed","Thu":"Thurs","Fri":"Fri","Sat":"Sat","Sun":"Sun"},"Inputs":{"On":"On","Off":"Off","Yes":"Yes","No":"No"},"Cookies":{"DeclarationIntro":"Your consent applies to the following domains","ConsentState":"Your current status: Allow selection","ConsentId":"Your consent identifier","ConsentDate":"C
1onsent date","ConsentUpdate":"Click here to change your cookie settings"},"Subscription":{"Tos":"Subscription terms of service","ViaplayEmail":"Netfang"}}')},34544:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},35495:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},35564:(e,t,r)=>{"use strict";r.d(t,{J:()=>l,Z:()=>u});var n=r(52484),i=r(2242),o=r(58994),a=r(1699),s=r(59067);class l{constructor(e){let t=new i.ou(s.Y.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.Y.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,i=r.length,l=t;for(;l<i;){let t=r.charCodeAt(l);switch(t){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++e.line,e.lineStart=l;continue;case 13:10===r.charCodeAt(l+1)?l+=2:++l,++e.line,e.lineStart=l;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if(10===e||13===e)break;if(c(e))++i;else if(f(r,i))i+=2;else break}return g(e,s.Y.COMMENT,t,i,r.slice(t+1,i))}(e,l);case 33:return g(e,s.Y.BANG,l,l+1);case 36:return g(e,s.Y.DOLLAR,l,l+1);case 38:return g(e,s.Y.AMP,l,l+1);case 40:return g(e,s.Y.PAREN_L,l,l+1);case 41:return g(e,s.Y.PAREN_R,l,l+1);case 46:if(46===r.charCodeAt(l+1)&&46===r.charCodeAt(l+2))return g(e,s.Y.SPREAD,l,l+3);break;case 58:return g(e,s.Y.COLON,l,l+1);case 61:return g(e,s.Y.EQUALS,l,l+1);case 64:return g(e,s.Y.AT,l,l+1);case 91:return g(e,s.Y.BRACKET_L,l,l+1);case 93:return g(e,s.Y.BRACKET_R,l,l+1);case 123:return g(e,s.Y.BRACE_L,l,l+1);case 124:return g(e,s.Y.PIPE,l,l+1);case 125:return g(e,s.Y.BRACE_R,l,l+1);case 34:if(34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2))return function(e,t){let r=e.source.body,i=r.length,a=e.lineStart,l=t+3,u=l,d="",h=[];for(;l<i;){let i=r.charCodeAt(l);if(34===i&&34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2)){d+=r.slice(u,l),h.push(d);let n=g(e,s.Y.BLOCK_STRING,t,l+3,(0,o.OC)(h).join("\n"));return e.line+=h.length-1,e.lineStart=a,n}if(92===i&&34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2)&&34===r.charCodeAt(l+3)){d+=r.slice(u,l),u=l+1,l+=4;continue}if(10===i||13===i){d+=r.slice(u,l),h.push(d),13===i&&10===r.charCodeAt(l+1)?l+=2:++l,d="",u=l,a=l;continue}if(c(i))++l;else if(f(r,l))l+=2;else throw(0,n.I)(e.source,l,`Invalid character within String: ${p(e,l)}.`)}throw(0,n.I)(e.source,l,"Unterminated string.")}(e,l);return function(e,t){let r=e.source.body,i=r.length,o=t+1,a=o,l="";for(;o<i;){let i=r.charCodeAt(o);if(34===i)return l+=r.slice(a,o),g(e,s.Y.STRING,t,o+1,l);if(92===i){l+=r.slice(a,o);let t=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,t){let r=e.source.body,i=0,o=3;for(;o<12;){let e=r.charCodeAt(t+o++);if(125===e){if(o<5||!c(i))break;return{value:String.fromCodePoint(i),size:o}}if((i=i<<4|v(e))<0)break}throw(0,n.I)(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+o)}".`)}(e,o):function(e,t){let r=e.source.body,i=m(r,t+2);if(c(i))return{value:String.fromCodePoint(i),size:6};if(d(i)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=m(r,t+8);if(h(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,n.I)(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,o):function(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw(0,n.I)(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,o);l+=t.value,o+=t.size,a=o;continue}if(10===i||13===i)break;if(c(i))++o;else if(f(r,o))o+=2;else throw(0,n.I)(e.source,o,`Invalid character within String: ${p(e,o)}.`)}throw(0,n.I)(e.source,o,"Unterminated string.")}(e,l)}if((0,a.yp)(t)||45===t)return function(e,t,r){let i=e.source.body,o=t,l=r,u=!1;if(45===l&&(l=i.charCodeAt(++o)),48===l){if(l=i.charCodeAt(++o),(0,a.yp)(l))throw(0,n.I)(e.source,o,`Invalid number, unexpected digit after 0: ${p(e,o)}.`)}else o=y(e,o,l),l=i.charCodeAt(o);if(46===l&&(u=!0,l=i.charCodeAt(++o),o=y(e,o,l),l=i.charCodeAt(o)),(69===l||101===l)&&(u=!0,(43===(l=i.charCodeAt(++o))||45===l)&&(l=i.charCodeAt(++o)),o=y(e,o,l),l=i.charCodeAt(o)),46===l||(0,a.un)(l))throw(0,n.I)(e.source,o,`Invalid number, expected digit but got: ${p(e,o)}.`);return g(e,u?s.Y.FLOAT:s.Y.INT,t,o,i.slice(t,o))}(e,l,t);if((0,a.un)(t))return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if((0,a.xr)(e))++i;else break}return g(e,s.Y.NAME,t,i,r.slice(t,i))}(e,l);throw(0,n.I)(e.source,l,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":c(t)||f(r,l)?`Unexpected character: ${p(e,l)}.`:`Invalid character: ${p(e,l)}.`)}return g(e,s.Y.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.Y.COMMENT);return e}}function u(e){return e===s.Y.BANG||e===s.Y.DOLLAR||e===s.Y.AMP||e===s.Y.PAREN_L||e===s.Y.PAREN_R||e===s.Y.SPREAD||e===s.Y.COLON||e===s.Y.EQUALS||e===s.Y.AT||e===s.Y.BRACKET_L||e===s.Y.BRACKET_R||e===s.Y.BRACE_L||e===s.Y.PIPE||e===s.Y.BRACE_R}function c(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function f(e,t){return d(e.charCodeAt(t))&&h(e.charCodeAt(t+1))}function d(e){return e>=55296&&e<=56319}function h(e){return e>=56320&&e<=57343}function p(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return s.Y.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function g(e,t,r,n,o){let a=e.line,s=1+r-e.lineStart;return new i.ou(t,r,n,a,s,o)}function y(e,t,r){if(!(0,a.yp)(r))throw(0,n.I)(e.source,t,`Invalid number, expected digit but got: ${p(e,t)}.`);let i=e.source.body,o=t+1;for(;(0,a.yp)(i.charCodeAt(o));)++o;return o}function m(e,t){return v(e.charCodeAt(t))<<12|v(e.charCodeAt(t+1))<<8|v(e.charCodeAt(t+2))<<4|v(e.charCodeAt(t+3))}function v(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}},35936:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(33736),i=r(91844),o=r(92309);let a=e=>{let{preProgress:t=0,progress:r,strokeColor:a,vertical:s=!1,nodes:l=1,startLabel:u,endLabel:c,onChange:f}=e,[d,h]=(0,i.useState)(!1),[p,g]=(0,i.useState)([0,0]),[y,m]=(0,i.useState)(0),[v,b]=(0,i.useState)("end"),w=(0,i.useRef)(null);return(0,n.jsxs)(o.A,{onMove:e=>{if(!w.current||!d)return;let n=s?w.current.clientHeight:w.current.clientWidth;if(0===n)return;let i=0;i=s?Math.max(100*(e.clientY-p[1])/n):Math.max(100*(e.clientX-p[0])/n),"end"===v?f(Math.min(Math.max(y+i,t+5),100),t):f(r,Math.min(Math.max(y+i,0),r-5))},onMouseUp:()=>{h(!1),g([0,0])},className:"w-full",children:[(0,n.jsxs)("div",{ref:w,className:"flex cursor-pointer items-center rounded-full bg-primary-cloud ".concat(s?"h-full w-4 flex-col-reverse":"lex-row mx-16 h-4"," "),onMouseDown:e=>{if(0!==e.button)return;let n=((e,n)=>{if(!w.current)return"end";let i=w.current.getBoundingClientRect(),o=s?w.current.clientHeight:w.current.clientWidth,a=Math.max((s?-1:1)*((s?e:n)-(s?i.bottom:i.left)),t+10)/o*100,l=Math.abs(t-a);return Math.abs(a-r)>l?"start":"end"})(e.clientY,e.clientX);b(n),h(!0),g([e.clientX,e.clientY]),"end"===n?(m(r),(e=>{if(!w.current)return;let r=w.current.getBoundingClientRect(),n=s?w.current.clientHeight:w.current.clientWidth;f(Math.min(Math.max(Math.max((s?-1:1)*(e-(s?r.bottom:r.left)),0)/n*100,t+5),100),t)})(s?e.clientY:e.clientX)):(m(t),(e=>{if(!w.current)return;let t=w.current.getBoundingClientRect(),n=s?w.current.clientHeight:w.current.clientWidth;f(r,Math.min(Math.max((s?-1:1)*(e-(s?t.bottom:t.left)),0)/n*100,r-5))})(s?e.clientY:e.clientX))},"data-testid":"progress-bar",children:[2===l&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"".concat(s?"w-4":"h-4"," rounded-full"),style:s?{height:"".concat(t,"%")}:{width:"".concat(t,"%")}}),(0,n.jsx)("div",{className:"relative flex h-0 w-0 items-center justify-center",children:(0,n.jsx)("button",{className:"z-10 ".concat(s?"":"-ml-2 p-1"," hover:bg-tv rounded-full border-1 border-solid border-primary-cloud bg-white-100 p-[6px] shadow-sm")})})]}),(0,n.jsx)("div",{className:"bg-".concat(a," ").concat(s?"w-4":"h-4"," rounded-full"),style:s?{height:"".concat(r-t,"%")}:{width:"".concat(r-t,"%")}}),(0,n.jsx)("div",{className:"relative flex h-0 w-0 flex-col items-center justify-center",children:(0,n.jsx)("button",{className:"z-10 ".concat(s?"":"-ml-2 p-1"," hover:bg-tv absolute rounded-full border-1 border-solid border-primary-cloud bg-white-100 p-[6px] shadow-sm")})})]}),(0,n.jsxs)("div",{className:"flex w-full justify-between bg-transparent",children:[(0,n.jsx)("span",{className:"flex min-h-fit min-w-fit justify-end whitespace-nowrap text-sm",style:s?{height:"".concat(t,"%")}:{width:"".concat(t,"%")},children:u}),(0,n.jsx)("span",{className:"flex min-h-fit min-w-fit justify-start whitespace-nowrap text-sm",style:s?{height:"".concat(100-r,"%")}:{width:"".concat(100-r,"%")},children:c})]})]})}},36581:(e,t,r)=>{"use strict";r.d(t,{k:()=>a,_:()=>s});var n=r(85795),i=r(5788);let o=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;
1if("object"==typeof e&&null!==e){var r;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(r=e.constructor)?void 0:r.name)){let t=(0,i.N)(e);throw Error(`Cannot use ${n} "${t}" from another module or realm. 2 3Ensure that there is only one instance of "graphql" in the node_modules 4directory. If different versions of "graphql" are the dependencies of other 5relied on modules, use "resolutions" to ensure only one version is installed. 6 7https://yarnpkg.com/en/docs/selective-version-resolutions 8 9Duplicate "graphql" modules cannot be used at the same time since different 10versions may have different capabilities and behavior. The data from one 11version used in the function from another could produce confusing and 12spurious results.`)}}return!1};class a{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,n.U)(!1,`Body must be a string. Received: ${(0,i.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,n.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return o(e,a)}},36667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringLines=function(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.isWhiteSpace)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(o=null!=(r=o)?r:t,a=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)},t.isPrintableAsBlockString=function(e){if(""===e)return!0;let t=!0,r=!1,n=!0,i=!1;for(let o=0;o<e.length;++o)switch(e.codePointAt(o)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,r=!1;break;case 9:case 32:r||(r=t);break;default:n&&(n=r),t=!1}return!t&&(!n||!i)},t.printBlockString=function(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.isWhiteSpace)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,f=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),d="",h=o&&(0,n.isWhiteSpace)(e.charCodeAt(0));return(f&&!h||a)&&(d+="\n"),d+=r,(f||c)&&(d+="\n"),'"""'+d+'"""'};var n=r(81376)},37695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(87743))},37697:()=>{},37935:(e,t,r)=>{"use strict";r.d(t,{MS:()=>a,d8:()=>s,f2:()=>l,s7:()=>u});var n=r(98487),i=r(8284),o=r(72119);function a(e,t){var r,i,o=e.directives;return!o||!o.length||(i=[],(r=o)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,o=e.name.value;(0,n.V1)(r&&1===r.length,79,o);var a=r[0];(0,n.V1)(a.name&&"if"===a.name.value,80,o);var s=a.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,o),i.push({directive:e,ifArgument:a})}}),i).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function l(e){return e&&s(["client","export"],e,!0)}function u(e){var t,r,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null==(r=i.arguments)?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(82):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},38053:(e,t)=>{"use strict";
12Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},38238:(e,t,r)=>{"use strict";r.d(t,{H4:()=>d,OQ:()=>h,tD:()=>c});var n=r(80594),i=r(31650);function o(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var a=r(54562),s=r(15538),l=r(80896),u=Object.prototype.hasOwnProperty;function c(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,a,u,c,d,h,p,g,y,m,v,b,w,_,k,S,E,x,T,O,C,N,A;return(0,n.YH)(this,function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),a=null==(A=e.headers)?void 0:A.get("content-type"),u="boundary=",c=(null==a?void 0:a.includes(u))?null==a?void 0:a.substring((null==a?void 0:a.indexOf(u))+u.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",d="\r\n--".concat(c),h="",p=function(e){var t,r,n,a,s,l,u=e;if(e.body&&(u=e.body),t=u,i.uJ&&t[Symbol.asyncIterator])return n=u[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(u.getReader)return o(u.getReader());if(u.stream)return o(u.stream().getReader());if(u.arrayBuffer)return a=u.arrayBuffer(),s=!1,l={next:function(){return s?Promise.resolve({value:void 0,done:!0}):(s=!0,new Promise(function(e,t){a.then(function(t){e({value:t,done:!1})}).catch(t)}))}},i.uJ&&(l[Symbol.asyncIterator]=function(){return this}),l;if(u.pipe)return function(e){var t=null,r=null,n=!1,o=[],a=[];function s(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function l(e){r=e,a.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){n=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",l),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",s),e.on("error",l),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise(function(e,t){return r?t(r):o.length?e({value:o.shift(),done:!1}):n?e({value:void 0,done:!0}):void a.push([e,t])})}};return i.uJ&&(c[Symbol.asyncIterator]=function(){return this}),c}(u);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),g=!0,D.label=1;case 1:if(!g)return[3,3];return[4,p.next()];case 2:for(m=(y=D.sent()).value,v=y.done,b="string"==typeof m?m:r.decode(m),w=h.length-d.length+1,g=!v,h+=b,_=h.indexOf(d,w);_>-1;){if(k=void 0,k=(C=[h.slice(0,_),h.slice(_+d.length)])[0],h=C[1],S=k.indexOf("\r\n\r\n"),(E=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(k.slice(0,S))["content-type"])&&-1===E.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(x=k.slice(S)){if(Object.keys(T=f(e,x)).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T)if((0,l.Nw)(T)){if(O={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];O=(0,n.Cl)({},T.payload)}"errors"in T&&(O=(0,n.Cl)((0,n.Cl)({},O),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in O?O.extensions:null),((N={})[s.K$]=T.errors,N))})),t(O)}else t(T);else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2]}_=h.indexOf(d)}return[3,1];case 3:return[2]}})})}function f(e,t){e.status>=300&&(0,a.A)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function d(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function h(e){return function(t){return t.text().then(function(e){return f(t,e)}).then(function(r){return Array.isArray(r)||u.call(r,"data")||u.call(r,"errors")||(0,a.A)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}}},38863:(e,t)=>{"use strict";var r;
12Object.defineProperty(t,"__esModule",{value:!0}),t.Token=t.QueryDocumentKeys=t.OperationTypeNode=t.Location=void 0,t.isNode=function(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)};class n{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}t.Location=n;class i{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}t.Token=i;let o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=o;let a=new Set(Object.keys(o));t.OperationTypeNode=r,function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(t.OperationTypeNode=r={}))},39892:(e,t,r)=>{"use strict";r.d(t,{Ki:()=>c,jq:()=>a,xm:()=>s,yV:()=>l});var n=r(3160),i=r(98487),o=r(31650),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,l=new n.DX,u=!1;function c(){u||(u=!0,!1!==globalThis.__DEV__&&i.V1.warn(52))}},40510:(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}function o(e){return 7===e||8===e}r.d(t,{D2:()=>o,bi:()=>i,pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},41311:(e,t,r)=>{"use strict";r.d(t,{HY:()=>l,R4:()=>o,Wz:()=>s,i1:()=>a});var n=r(80594),i=r(81694),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return r.unshift(t),l.apply(void 0,(0,n.fX)([e,a],r,!1))}function l(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var a={},s={};r.forEach(function(e){a=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},a),e.options),{headers:(0,n.Cl)((0,n.Cl)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,n.Cl)((0,n.Cl)({},s),e.http)}),a.headers&&(a.headers=function(e,t){if(!t){var r={};
12return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(a.headers,s.preserveHeaderCase));var l=e.operationName,u=e.extensions,c=e.variables,f=e.query,d={operationName:l,variables:c};return s.includeExtensions&&(d.extensions=u),s.includeQuery&&(d.query=t(f,i.y)),{options:a,body:d}}},42096:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(80594),i=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)(a={})[s.path[l]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error)},42790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=function(e){if(!Array.from){for(var t=new Uint32Array(e.length);0<e.length;)t[0]=e[0];return t}return Uint32Array.from(e)}},43129:(e,t,r)=>{"use strict";r.d(t,{AT:()=>u,E4:()=>c,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>d,zK:()=>l});var n=r(98487),i=r(78079);function o(e){(0,n.V1)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(89,e.kind);return e});return(0,n.V1)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function l(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function u(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,91),t}function c(e){(0,n.V1)("Document"===e.kind,92),(0,n.V1)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,94),t}function f(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(95)}function d(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},43765:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(20810);function i(e){return new n.c(function(t){t.error(e)})}},44133:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),t.INIT=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],t.MAX_HASHABLE_LENGTH=0x1fffffffffffff},44280:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var n=r(63195),i=r(44133),o=r(11669),a=r(87240);t.Sha256=function(){function e(e){if(this.hash=new o.RawSha256,e){this.outer=new o.RawSha256;var t=function(e){var t=(0,a.convertToBuffer)(e);if(t.byteLength>i.BLOCK_SIZE){var r=new o.RawSha256;r.update(t),t=r.digest()}var n=new Uint8Array(i.BLOCK_SIZE);return n.set(t),n}(e),r=new Uint8Array(i.BLOCK_SIZE);r.set(t);for(var n=0;n<i.BLOCK_SIZE;n++)t[n]^=54,r[n]^=92;this.hash.update(t),this.outer.update(r);for(var n=0;n<t.byteLength;n++)t[n]=0}}return e.prototype.update=function(e){if(!(0,a.isEmptyData)(e)&&!this.error)try{this.hash.update((0,a.convertToBuffer)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,n.__awaiter)(this,void 0,void 0,function(){return(0,n.__generator)(this,function(e){return[2,this.digestSync()]})})},e}()},44374:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});var n=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")}},46373:(e,t,r)=>{"use strict";function n(){}r.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},46650:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?i-1:0,d=r?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=u}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,d=5960464477539062e-23*(23===i),h=n?0:o-1,p=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+h]=255&a,h+=p,a/=256,u-=8);e[r+h-p]|=128*g}},49275:()=>{},49903:(e,t,r)=>{"use strict";r.d(t,{qj:()=>S,gi:()=>_,VC:()=>k,J1:()=>b,Nh:()=>w});var n,i=r(80594),o=r(52484),a=r(2242);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(n||(n={}));var s=r(72119),l=r(35564),u=r(36581),c=r(59067);class f{constructor(e,t={}){let r=(0,u._)(e)?e:new u.k(e);this._lexer=new l.J(r),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(c.Y.NAME);return this.node(e,{kind:s.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:s.b.DOCUMENT,definitions:this.many(c.Y.SOF,this.parseDefinition,c.Y.EOF)})}parseDefinition(){if(this.peek(c.Y.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===c.Y.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw(0,o.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(c.Y.BRACE_L))return this.node(t,{kind:s.b.OPERATION_DEFINITION,operation:a.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(c.Y.NAME)&&(e=this.parseName()),this.node(t,{kind:s.b.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(c.Y.NAME);switch(e.value){case"query":return a.cE.QUERY;case"mutation":return a.cE.MUTATION;case"subscription":return a.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(c.Y.PAREN_L,this.parseVariableDefinition,c.Y.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:s.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(c.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(c.Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(c.Y.DOLLAR),this.node(e,{kind:s.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:s.b.SELECTION_SET,selections:this.many(c.Y.BRACE_L,this.parseSelection,c.Y.BRACE_R)})}parseSelection(){return this.peek(c.Y.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(c.Y.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:s.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(c.Y.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(c.Y.PAREN_L,t,c.Y.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(c.Y.COLON),this.node(t,{kind:s.b.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(c.Y.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(c.Y.NAME)?this.node(e,{kind:s.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:s.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:s.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:s.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case c.Y.BRACKET_L:return this.parseList(e);case c.Y.BRACE_L:return this.parseObject(e);case c.Y.INT:return this.advanceLexer(),this.node(t,{kind:s.b.INT,value:t.value});case c.Y.FLOAT:return this.advanceLexer(),this.node(t,{kind:s.b.FLOAT,value:t.value});case c.Y.STRING:case c.Y.BLOCK_STRING:return this.parseStringLiteral();case c.Y.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:s.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:s.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:s.b.NULL});default:return this.node(t,{kind:s.b.ENUM,value:t.value})}case c.Y.DOLLAR:if(e){if(this.expectToken(c.Y.DOLLAR),this._lexer.token.kind===c.Y.NAME){let e=this._lexer.token.value;throw(0,o.I)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:s.b.STRING,value:e.value,block:e.kind===c.Y.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:s.b.LIST,values:this.any(c.Y.BRACKET_L,t,c.Y.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:s.b.OBJECT,fields:this.any(c.Y.BRACE_L,t,c.Y.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(c.Y.COLON),this.node(t,{kind:s.b.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(c.Y.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(c.Y.AT),this.node(t,{kind:s.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(c.Y.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(c.Y.BRACKET_R),e=this.node(t,{kind:s.b.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(c.Y.BANG)?this.node(t,{kind:s.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:s.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(c.Y.STRING)||this.peek(c.Y.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(c.Y.BRACE_L,this.parseOperationTypeDefinition,c.Y.BRACE_R);return this.node(e,{kind:s.b.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(c.Y.COLON);let r=this.parseNamedType();return this.node(e,{kind:s.b.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:s.b.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.b.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(c.Y.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(c.Y.BRACE_L,this.parseFieldDefinition,c.Y.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(c.Y.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:s.b.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(c.Y.PAREN_L,this.parse
12InputValueDef,c.Y.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(c.Y.COLON);let i=this.parseTypeReference();this.expectOptionalToken(c.Y.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:s.b.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.b.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:s.b.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(c.Y.EQUALS)?this.delimitedMany(c.Y.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:s.b.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(c.Y.BRACE_L,this.parseEnumValueDefinition,c.Y.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:s.b.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,o.I)(this._lexer.source,this._lexer.token.start,`${d(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:s.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(c.Y.BRACE_L,this.parseInputValueDef,c.Y.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===c.Y.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(c.Y.BRACE_L,this.parseOperationTypeDefinition,c.Y.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(c.Y.AT);let r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:s.b.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(c.Y.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(n,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new a.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,o.I)(this._lexer.source,t.start,`Expected ${h(e)}, found ${d(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===c.Y.NAME&&t.value===e)this.advanceLexer();else throw(0,o.I)(this._lexer.source,t.start,`Expected "${e}", found ${d(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===c.Y.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,o.I)(this._lexer.source,t.start,`Unexpected ${d(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==c.Y.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,o.I)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function d(e){let t=e.value;return h(e.kind)+(null!=t?` "${t}"`:"")}function h(e){return(0,l.Z)(e)?`"${e}"`:e}var p=new Map,g=new Map,y=!0,m=!1;function v(e){return e.replace(/[\s,]+/g," ").trim()}function b(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=v(e);if(!p.has(t)){var r,n,o,a,s,l=function(e,t){let r=new f(e,t),n=r.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:r.tokenCount}),n}(e,{experimentalFragmentVariables:m,allowLegacyFragmentVariables:m});if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");p.set(t,((a=new Set((r=new Set,n=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=v((t=e.loc).source.body.substring(t.start,t.end)),a=g.get(i);a&&!a.has(o)?y&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||g.set(i,a=new Set),a.add(o),r.has(o)||
12(r.add(o),n.push(e))}else n.push(e)}),o=(0,i.Cl)((0,i.Cl)({},l),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&a.add(r)})}),(s=o.loc)&&(delete s.startToken,delete s.endToken),o))}return p.get(t)}(n)}function w(){p.clear(),g.clear()}function _(){y=!1}function k(){m=!0}function S(){m=!1}var E={gql:b,resetCaches:w,disableFragmentWarnings:_,enableExperimentalFragmentVariables:k,disableExperimentalFragmentVariables:S};!function(e){e.gql=E.gql,e.resetCaches=E.resetCaches,e.disableFragmentWarnings=E.disableFragmentWarnings,e.enableExperimentalFragmentVariables=E.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=E.disableExperimentalFragmentVariables}(b||(b={})),b.default=b},49945:(e,t,r)=>{"use strict";r.d(t,{PF:()=>w,KM:()=>_});var n=r(84248),i=r(91755),o=r(19829),a=r(70969),s=r(80594),l=r(80245),u=r(20810),c=r(58994),f=r(35564),d=r(36581),h=r(59067),p=r(5526),g=r(15538);function y(e){return new l.C(function(t,r){return new u.c(function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){if(i.errors?a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}):(0,g.uR)(i)&&(a=e({protocolErrors:i.extensions[g.K$],response:i,operation:t,forward:r})),a){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(i)},error:function(i){if(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r})){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var r=e.call(this)||this;return r.link=y(t),r}(0,s.C6)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(l.C);var m=function(){function e(e,t,r,n,i){var o=this;this.observer=e,this.operation=t,this.forward=r,this.delayFor=n,this.retryIf=i,this.retryCount=0,this.currentSubscription=null,this.onError=function(e){return(0,s.sH)(o,void 0,void 0,function(){return(0,s.YH)(this,function(t){switch(t.label){case 0:return this.retryCount+=1,[4,this.retryIf(this.retryCount,this.operation,e)];case 1:if(t.sent())return this.scheduleRetry(this.delayFor(this.retryCount,this.operation,e)),[2];return this.observer.error(e),[2]}})})},this.try()}return e.prototype.cancel=function(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null},e.prototype.try=function(){var e=this;this.currentSubscription=this.forward(this.operation).subscribe({next:function(t){var r;if((0,g.uR)(t)){e.onError(new g.K4({protocolErrors:t.extensions[g.K$]})),null==(r=e.currentSubscription)||r.unsubscribe();return}e.observer.next(t)},error:this.onError,complete:this.observer.complete.bind(this.observer)})},e.prototype.scheduleRetry=function(e){var t=this;if(this.timerId)throw Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout(function(){t.timerId=void 0,t.try()},e)},e}(),v=function(e){function t(t){var r,n,i,o,a,s,l,u,c,f,d,h,p=e.call(this)||this,g=t||{},y=g.attempts,m=g.delay;return p.delayFor="function"==typeof m?m:(i=void 0===(n=(r=m||{}).initial)?300:n,a=void 0===(o=r.jitter)||o,l=void 0===(s=r.max)?1/0:s,u=a?i:i/2,function(e){var t=Math.min(l,u*Math.pow(2,e));return a&&(t=Math.random()*t),t}),p.retryIf="function"==typeof y?y:(f=(c=y||{}).retryIf,h=void 0===(d=c.max)?5:d,function(e,t,r){return!(e>=h)&&(f?f(r,t):!!r)}),p}return(0,s.C6)(t,e),t.prototype.request=function(e,t){var r=this;return new u.c(function(n){var i=new m(n,e,t,r.delayFor,r.retryIf);return function(){i.cancel()}})},t}(l.C),b=r(83234);function w(e,t){var r;let p=y(e=>{let{graphQLErrors:t,networkError:r}=e;t&&t.forEach(e=>{let{message:t,locations:r,path:n}=e,i="[GraphQL error]: Message: ".concat(t,", Location: ").concat(JSON.stringify(r),", Path: ").concat(JSON.stringify(n));b.t.info(i)}),r&&b.t.info("[Network error]: ".concat(r))}),g=new v({delay:{initial:300,max:2e4},attempts:{max:5,retryIf:(e,t)=>
12{if(!e||!("statusCode"in e)||429!==e.statusCode)return!1;if(e.response){let t=e.response.headers.get("X-Contentful-RateLimit-Reset");if(t){let e=1e3*Math.max(parseInt(t,10)||1,1);return new Promise(t=>{setTimeout(()=>t(!0),e)})}}return!0}}}),m=(0,n.$)({uri:e,print:(e,t)=>(function(e){let t=(0,d._)(e)?e:new d.k(e),r=t.body,n=new f.J(t),i="",o=!1;for(;n.advance().kind!==h.Y.EOF;){let e=n.token,t=e.kind,a=!(0,f.Z)(e.kind);o&&(a||e.kind===h.Y.SPREAD)&&(i+=" ");let s=r.slice(e.start,e.end);t===h.Y.BLOCK_STRING?i+=(0,c.yo)(e.value,{minimize:!0}):i+=s,o=a}return i})(t(e))}),w=(r=(e,r)=>{let{headers:n}=r;return{headers:{...n,authorization:t?"Bearer ".concat(t):""}}},new l.C(function(e,t){var n=(0,s.Tt)(e,[]);return new u.c(function(i){var o,a=!1;return Promise.resolve(n).then(function(t){return r(t,e.getContext())}).then(e.setContext).then(function(){a||(o=t(e).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){a=!0,o&&o.unsubscribe()}})}));return new i.R({link:(0,o.H)([p,g,w.concat(m)]),cache:new a.D,devtools:{enabled:false}})}function _(){let e="https://x5zj54jceffq7ekloqrwovp62y.appsync-api.eu-west-1.amazonaws.com/graphql",t=(0,n.$)({uri:e}),r=(0,p.rO)({url:e,region:"eu-west-1",auth:{type:p.Yj.AWS_IAM,credentials:async()=>({accessKeyId:"AKIAWXYOXSCLI4ITBQBQ",secretAccessKey:"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"})}});return new i.R({link:r.concat(t),cache:new a.D,devtools:{enabled:false}})}r(23727)},50384:(e,t,r)=>{var n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e},c=(e,t,r)=>(r=null!=e?n(s(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(f,{callPlayer:()=>A,getConfig:()=>C,getSDK:()=>O,isBlobUrl:()=>P,isMediaStream:()=>D,lazy:()=>g,omit:()=>N,parseEndTime:()=>k,parseStartTime:()=>_,queryString:()=>E,randomString:()=>S,supportsWebKitPresentationMode:()=>I}),e.exports=u(i({},"__esModule",{value:!0}),f);var d=c(r(91844)),h=c(r(1961)),p=c(r(12075));let g=e=>d.default.lazy(async()=>{let t=await e();return"function"==typeof t.default?t:t.default}),y=/[?&#](?:start|t)=([0-9hms]+)/,m=/[?&#]end=([0-9hms]+)/,v=/(\d+)(h|m|s)/g,b=/^\d+$/;function w(e,t){if(e instanceof Array)return;let r=e.match(t);if(r){let e=r[1];if(e.match(v)){var n=e;let t=0,r=v.exec(n);for(;null!==r;){let[,e,i]=r;"h"===i&&(t+=60*parseInt(e,10)*60),"m"===i&&(t+=60*parseInt(e,10)),"s"===i&&(t+=parseInt(e,10)),r=v.exec(n)}return t}if(b.test(e))return parseInt(e)}}function _(e){return w(e,y)}function k(e){return w(e,m)}function S(){return Math.random().toString(36).substr(2,5)}function E(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function x(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}let T={},O=function(e,t,r=null,n=()=>!0,i=h.default){let o=x(t);return o&&n(o)?Promise.resolve(o):new Promise((n,o)=>{if(T[e])return void T[e].push({resolve:n,reject:o});T[e]=[{resolve:n,reject:o}];let a=t=>{T[e].forEach(e=>e.resolve(t))};if(r){let e=window[r];window[r]=function(){e&&e(),a(x(t))}}i(e,n=>{n?(T[e].forEach(e=>e.reject(n)),T[e]=null):r||a(x(t))})})};function C(e,t){return(0,p.default)(t.config,e.config)}function N(e,...t){let r=[].concat(...t),n={};for(let t of Object.keys(e))-1===r.indexOf(t)&&(n[t]=e[t]);return n}function A(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c \u2013 `;return this.player?this.player[e]||(t+="The method was not available"):t+="The player was not available",console.warn(t,"font-weight: bold",""),null}return this.player[e](...t)}function D(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function P(e){return/^blob:/.test(e)}function I(e=document.createElement("video")){let t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},50488:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(27217);function i(e){var t;
12return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}},50831:(e,t,r)=>{"use strict";r.d(t,{$3:()=>f,I6:()=>g,T9:()=>function e(t,r,n){return!!(0,o.U)(r)&&((0,a.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,i.dt)(t)&&(0,s.MS)(t,n)){var o=(0,i.ue)(t);return f.call(r,o)&&(!t.selectionSet||e(t.selectionSet,r[o],n))}return!0}))},Ui:()=>m,Xx:()=>y,d1:()=>w,gk:()=>v,iJ:()=>b,lq:()=>k,mv:()=>_,or:()=>h});var n=r(17836),i=r(78079),o=r(27217),a=r(13637),s=r(37935),l=r(74143),u=r(66910),c=r(43129),f=Object.prototype.hasOwnProperty;function d(e){return null==e}function h(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=d(n)?d(i)?void 0:{_id:i}:{id:n}),d(n)&&!d(i)&&(n=i),!d(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var p={dataIdFromObject:h,addTypename:!0,resultCaching:!0,canonizeResults:!1};function g(e){return(0,n.o)(p,e)}function y(e){var t=e.canonizeResults;return void 0===t?p.canonizeResults:t}function m(e,t){return(0,i.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var v=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(v);return t?t[0]:e}function w(e){return(0,o.U)(e)&&!(0,i.A_)(e)&&!(0,a.c)(e)}function _(){return new l.ZI}function k(e,t){var r=(0,u.JG)((0,c.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},51243:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(98487),i=function(e){if(!e&&"undefined"==typeof fetch)throw(0,n.vA)(40)}},51304:function(e,t,r){e=r.nmd(e),e.exports=function(){"use strict";function t(){return U.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e){var t;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(t in e)if(i(e,t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var r,n=[],i=e.length;for(r=0;r<i;++r)n.push(t(e[r],r));return n}function c(e,t){for(var r in t)i(t,r)&&(e[r]=t[r]);return i(t,"toString")&&(e.toString=t.toString),i(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,r,n){return ti(e,t,r,n,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());return(n&&(t=d(e),r=Y.call(t.parsedDateParts,function(e){return null!=e}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e))?n:(e._isValid=n,e._isValid)}function p(e){var t=f(NaN);return null!=e?c(d(t),e):d(t).userInvalidated=!0,t}Y=Array.prototype.some?Array.prototype.some:function(e){var t,r=Object(this),n=r.length>>>0;for(t=0;t<n;t++)if(t in r&&e.call(this,r[t],t,r))return!0;return!1};var g,y,m=t.momentProperties=[],v=!1;function b(e,t){var r,n,i,o=m.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=d(t)),a(t._locale)||(e._locale=t._locale),o>0)for(r=0;r<o;r++)a(i=t[n=m[r]])||(e[n]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,t.updateOffset(this),v=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function k(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,r){var n=!0;return c(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),n){var o,a,s,l=[],u=arguments.length;for(a=0;a<u;a++){if(o="","object"==typeof arguments[a]){for(s in o+="\n["+a+"] ",arguments[0])i(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[a];l.push(o)}k(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+Error().stack),n=!1}return r.apply(this,arguments)},r)}var E={};function x(e,r){null!=t.deprecationHandler&&t.deprecationHandler(e,r),E[e]||(k(r),E[e]=!0)}function T(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e,t){var r,o=c({},e);for(r in t)i(t,r)&&(n(e[r])&&n(t[r])?(o[r]={},c(o[r],e[r]),c(o[r],t[r])):null!=t[r]?o[r]=t[r]:delete o[r]);for(r in e)i(e,r)&&!i(t,r)&&n(e[r])&&(o[r]=c({},o[r]));return o}function C(e){null!=e&&this.set(e)}function N(e,t,r){var n=""+Math.abs(e);return(e>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var A=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
12|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},I={};function R(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(I[e]=i),t&&(I[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),r&&(I[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function L(e,t){return e.isValid()?(P[t=M(t,e.localeData())]=P[t]||function(e){var t,r,n,i=e.match(A);for(r=0,n=i.length;r<n;r++)I[i[r]]?i[r]=I[i[r]]:i[r]=(t=i[r]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=T(i[r])?i[r].call(t,e):i[r];return o}}(t),P[t](e)):e.localeData().invalidDate()}function M(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;r>=0&&D.test(e);)e=e.replace(D,n),D.lastIndex=0,r-=1;return e}var j={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function F(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:void 0}function V(e){var t,r,n={};for(r in e)i(e,r)&&(t=F(r))&&(n[t]=e[r]);return n}var U,Y,B,q={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},H=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)i(e,t)&&r.push(t);return r},W=/\d/,z=/\d\d/,G=/\d{3}/,$=/\d{4}/,K=/[+-]?\d{6}/,Q=/\d\d?/,J=/\d\d\d\d?/,Z=/\d\d\d\d\d\d?/,X=/\d{1,3}/,ee=/\d{1,4}/,et=/[+-]?\d{1,6}/,er=/\d+/,en=/[+-]?\d+/,ei=/Z|[+-]\d\d:?\d\d/gi,eo=/Z|[+-]\d\d(?::?\d\d)?/gi,ea=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,es=/^[1-9]\d?/,el=/^([1-9]\d|\d)/;function eu(e,t,r){B[e]=T(t)?t:function(e,n){return e&&r?r:t}}function ec(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ef(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ed(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=ef(t)),r}B={};var eh={};function ep(e,t){var r,n,i=t;for("string"==typeof e&&(e=[e]),s(t)&&(i=function(e,r){r[t]=ed(e)}),n=e.length,r=0;r<n;r++)eh[e[r]]=i}function eg(e,t){ep(e,function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)})}function ey(e){return e%4==0&&e%100!=0||e%400==0}function em(e){return ey(e)?366:365}R("Y",0,0,function(){var e=this.year();return e<=9999?N(e,4):"+"+e}),R(0,["YY",2],0,function(){return this.year()%100}),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),eu("Y",en),eu("YY",Q,z),eu("YYYY",ee,$),eu("YYYYY",et,K),eu("YYYYYY",et,K),ep(["YYYYY","YYYYYY"],0),ep("YYYY",function(e,r){r[0]=2===e.length?t.parseTwoDigitYear(e):ed(e)}),ep("YY",function(e,r){r[0]=t.parseTwoDigitYear(e)}),ep("Y",function(e,t){t[0]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return ed(e)+(ed(e)>68?1900:2e3)};var ev=eb("FullYear",!0);function eb(e,r){return function(n){return null!=n?(e_(this,e,n),t.updateOffset(this,r),this):ew(this,e)}}function ew(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function e_(e,t,r){var n,i,o,a;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}
12o=e.month(),a=29!==(a=e.date())||1!==o||ey(r)?a:28,i?n.setUTCFullYear(r,o,a):n.setFullYear(r,o,a)}}function ek(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=(t%12+12)%12;return e+=(t-r)/12,1===r?ey(e)?29:28:31-r%7%2}eB=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return -1},R("M",["MM",2],"Mo",function(){return this.month()+1}),R("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),R("MMMM",0,0,function(e){return this.localeData().months(this,e)}),eu("M",Q,es),eu("MM",Q,z),eu("MMM",function(e,t){return t.monthsShortRegex(e)}),eu("MMMM",function(e,t){return t.monthsRegex(e)}),ep(["M","MM"],function(e,t){t[1]=ed(e)-1}),ep(["MMM","MMMM"],function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[1]=i:d(r).invalidMonth=e});var eS="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),eE=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;function ex(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(n=0,this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[];n<12;++n)o=f([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();if(r)if("MMM"===t)return -1!==(i=eB.call(this._shortMonthsParse,a))?i:null;else return -1!==(i=eB.call(this._longMonthsParse,a))?i:null;return"MMM"===t?-1!==(i=eB.call(this._shortMonthsParse,a))||-1!==(i=eB.call(this._longMonthsParse,a))?i:null:-1!==(i=eB.call(this._longMonthsParse,a))||-1!==(i=eB.call(this._shortMonthsParse,a))?i:null}function eT(e,t){if(!e.isValid())return e;if("string"==typeof t){if(/^\d+$/.test(t))t=ed(t);else if(!s(t=e.localeData().monthsParse(t)))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,ek(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function eO(e){return null!=e?(eT(this,e),t.updateOffset(this,!0),this):ew(this,"Month")}function eC(){function e(e,t){return t.length-e.length}var t,r,n,i,o=[],a=[],s=[];for(t=0;t<12;t++)r=f([2e3,t]),n=ec(this.monthsShort(r,"")),i=ec(this.months(r,"")),o.push(n),a.push(i),s.push(i),s.push(n);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+o.join("|")+")","i")}function eN(e,t,r,n,i,o,a){var s;return e<100&&e>=0?isFinite((s=new Date(e+400,t,r,n,i,o,a)).getFullYear())&&s.setFullYear(e):s=new Date(e,t,r,n,i,o,a),s}function eA(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,isFinite((t=new Date(Date.UTC.apply(null,r))).getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function eD(e,t,r){var n=7+t-r;return-((7+eA(e,0,n).getUTCDay()-t)%7)+n-1}function eP(e,t,r,n,i){var o,a,s=1+7*(t-1)+(7+r-n)%7+eD(e,n,i);return s<=0?a=em(o=e-1)+s:s>em(e)?(o=e+1,a=s-em(e)):(o=e,a=s),{year:o,dayOfYear:a}}function eI(e,t,r){var n,i,o=eD(e.year(),t,r),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?n=a+eR(i=e.year()-1,t,r):a>eR(e.year(),t,r)?(n=a-eR(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function eR(e,t,r){var n=eD(e,t,r),i=eD(e+1,t,r);return(em(e)-n+i)/7}function eL(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),eu("w",Q,es),eu("ww",Q,z),eu("W",Q,es),eu("WW",Q,z),eg(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=ed(e)}),R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),eu("d",Q),eu("e",Q),eu("E",Q),eu("dd",function(e,t){return t.weekdaysMinRegex(e)}),eu("ddd",function(e,t){return t.weekdaysShortRegex(e)}),eu("dddd",function(e,t){return t.weekdaysRegex(e)}),eg(["dd","ddd","dddd"],function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:d(r).invalidWeekday=e}),eg(["d","e","E"],function(e,t,r,n){t[n]=ed(e)});var eM="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function ej(e,t,r){var n,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(n=0,this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];n<7;++n)o=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();if(r)if("dddd"===t)return -1!==(i=eB.call(this._weekdaysParse,a))?i:null;else if("ddd"===t)return -1!==(i=eB.call(this._shortWeekdaysParse,a))?i:null;else return -1!==(i=eB.call(this._minWeekdaysParse,a))?i:null;return"dddd"===t?-1!==(i=eB.call(this._weekdaysParse,a))||-1!==(i=eB.call(this._shortWeekdaysParse,a))||-1!==(i=eB.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=eB.call(this._shortWeekdaysParse,a))||-1!==(i=eB.call(this._weekdaysParse,a))||-1!==(i=eB.call(this._minWeekdaysParse,a))?i:null:-1!==(i=eB.call(this._minWeekdaysParse,a))||-1!==(i=eB.call(this._weekdaysParse,a))||-1!==(i=eB.call(this._shortWeekdaysParse,a))?i:null}function eF(){function e(e,t){return t.length-e.length}var t,r,n,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)r=f([2e3,1]).day(t),n=ec(this.weekdaysMin(r,"")),i=ec(this.weekdaysShort(r,"")),o=ec(this.weekdays(r,"")),a.push(n),s.push(i),l.push(o),u.push(n),u.push(i),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+a.join("|")+")","i")}function eV(){return this.hours()%12||12}function eU(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function eY(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,eV),R("k",["kk",2],0,function(){return this.hours()||24}),R("hmm",0,0,function(){return""+eV.apply(this)+N(this.minutes(),2)}
12),R("hmmss",0,0,function(){return""+eV.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),eU("a",!0),eU("A",!1),eu("a",eY),eu("A",eY),eu("H",Q,el),eu("h",Q,es),eu("k",Q,es),eu("HH",Q,z),eu("hh",Q,z),eu("kk",Q,z),eu("hmm",J),eu("hmmss",Z),eu("Hmm",J),eu("Hmmss",Z),ep(["H","HH"],3),ep(["k","kk"],function(e,t,r){var n=ed(e);t[3]=24===n?0:n}),ep(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),ep(["h","hh"],function(e,t,r){t[3]=ed(e),d(r).bigHour=!0}),ep("hmm",function(e,t,r){var n=e.length-2;t[3]=ed(e.substr(0,n)),t[4]=ed(e.substr(n)),d(r).bigHour=!0}),ep("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=ed(e.substr(0,n)),t[4]=ed(e.substr(n,2)),t[5]=ed(e.substr(i)),d(r).bigHour=!0}),ep("Hmm",function(e,t,r){var n=e.length-2;t[3]=ed(e.substr(0,n)),t[4]=ed(e.substr(n))}),ep("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=ed(e.substr(0,n)),t[4]=ed(e.substr(n,2)),t[5]=ed(e.substr(i))});var eB,eq,eH=eb("Hours",!0),eW={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:eS,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:eM,meridiemParse:/[ap]\.?m?\.?/i},ez={},eG={};function e$(e){return e?e.toLowerCase().replace("_","-"):e}function eK(t){if(void 0===ez[t]&&e&&e.exports&&t&&t.match("^[^/\\\\]*$"))try{eq._abbr;var r=Error("Cannot find module 'undefined'");throw r.code="MODULE_NOT_FOUND",r}catch(e){ez[t]=null}return ez[t]}function eQ(e,t){var r;return e&&((r=a(t)?eZ(e):eJ(e,t))?eq=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eq._abbr}function eJ(e,t){if(null===t)return delete ez[e],null;var r,n=eW;if(t.abbr=e,null!=ez[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ez[e]._config;else if(null!=t.parentLocale)if(null!=ez[t.parentLocale])n=ez[t.parentLocale]._config;else{if(null==(r=eK(t.parentLocale)))return eG[t.parentLocale]||(eG[t.parentLocale]=[]),eG[t.parentLocale].push({name:e,config:t}),null;n=r._config}return ez[e]=new C(O(n,t)),eG[e]&&eG[e].forEach(function(e){eJ(e.name,e.config)}),eQ(e),ez[e]}function eZ(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return eq;if(!r(e)){if(t=eK(e))return t;e=[e]}return function(e){for(var t,r,n,i,o=0;o<e.length;){for(t=(i=e$(e[o]).split("-")).length,r=(r=e$(e[o+1]))?r.split("-"):null;t>0;){if(n=eK(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&function(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,r)>=t-1)break;t--}o++}return eq}(e)}function eX(e){var t,r=e._a;return r&&-2===d(e).overflow&&(t=r[1]<0||r[1]>11?1:r[2]<1||r[2]>ek(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,d(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),d(e)._overflowWeeks&&-1===t&&(t=7),d(e)._overflowWeekday&&-1===t&&(t=8),d(e).overflow=t),e}var e0=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e2=/Z|[+-]\d\d(?::?\d\d)?/,e3=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],e4=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],e5=/^\/?Date\((-?\d+)/i,e8=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,e6={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function e9(e){var t,r,n,i,o,a,s=e._i,l=e0.exec(s)||e1.exec(s),u=e3.length,c=e4.length;if(l){for(t=0,d(e).iso=!0,r=u;t<r;t++)if(e3[t][1].exec(l[1])){i=e3[t][0],n=!1!==e3[t][2];break}if(null==i){e._isValid=!1;return}if(l[3]){for(t=0,r=c;t<r;t++)if(e4[t][1].exec(l[3])){o=(l[2]||" ")+e4[t][0];break}if(null==o){e._isValid=!1;return}}if(!n&&null!=o){e._isValid=!1;return}if(l[4])if(e2.exec(l[4]))a="Z";else{e._isValid=!1;return}e._f=i+(o||"")+(a||""),tr(e)}else e._isValid=!1}function e7(e){var t,r,n,i,o,a,s,l,u,c,f,h=e8.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(h){if(o=h[4],a=h[3],s=h[2],l=h[5],u=h[6],c=h[7],f=[(t=parseInt(o,10))<=49?2e3+t:t<=999?1900+t:t,eS.indexOf(a),parseInt(s,10),parseInt(l,10),parseInt(u,10)],c&&f.push(parseInt(c,10)),r=h[1],n=f,i=e,r&&eM.indexOf(r)!==new Date(n[0],n[1],n[2]).getDay()&&(d(i).weekdayMismatch=!0,i._isValid=!1,1))return;e._a=f,e._tzm=function(e,t,r){if(e)return e6[e];if(t)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}(h[8],h[9],h[10]),e._d=eA.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function te(e,t,r){return null!=e?e:null!=t?t:r}function tt(e){var r,n,i,o,a,s,l,u,c,f,h,p,g,y,m,v,b=[];if(!e._d){for(h=new Date(t.now()),y=e._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[2]&&null==e._a[1]&&(null!=(n=(r=e)._w).GG||null!=n.W||null!=n.E?(s=1,l=4,i=te(n.GG,r._a[0],eI(to(),1,4).year),o=te(n.W,1),((a=te(n.E,1))<1||a>7)&&(c=!0)):(s=r._locale._week.dow,l=r._locale._week.doy,f=eI(to(),s,l),i=te(n.gg,r._a[0],f.year),o=te(n.w,f.week),null!=n.d?((a=n.d)<0||a>6)&&(c=!0):null!=n.e?(a=n.e+s,(n.e<0||n.e>6)&&(c=!0)):a=s),o<1||o>eR(i,s,l)?d(r)._overflowWeeks=!0:null!=c?d(r)._overflowWeekday=!0:(u=eP(i,o,a,s,l),r._a[0]=u.year,r._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(v=te(e._a[0],y[0]),(e._dayOfYear>em(v)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),g=eA(v,0,e._dayOfYear),e._a[1]=g.getUTCMonth(),e._a[2]=g.getUTCDate()),p=0;p<3&&null==e._a[p];++p)e._a[p]=b[p]=y[p];for(;p<7;p++)e._a[p]=b[p]=null==e._a[p]?+(2===p):e._a[p];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?eA:eN).apply(null,b),m=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==m&&(d(e).weekdayMismatch=!0)}}function tr(e){if(e._f===t.ISO_8601)return void e9(e);
12if(e._f===t.RFC_2822)return void e7(e);e._a=[],d(e).empty=!0;var r,n,o,a,s,l,u,c,f,h,p,g=""+e._i,y=g.length,m=0;for(s=0,p=(u=M(e._f,e._locale).match(A)||[]).length;s<p;s++)if(c=u[s],(l=(g.match(!i(B,c)?new RegExp(ec(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i}))):B[c](e._strict,e._locale))||[])[0])&&((f=g.substr(0,g.indexOf(l))).length>0&&d(e).unusedInput.push(f),g=g.slice(g.indexOf(l)+l.length),m+=l.length),I[c])l?d(e).empty=!1:d(e).unusedTokens.push(c),null!=l&&i(eh,c)&&eh[c](l,e._a,e,c);else e._strict&&!l&&d(e).unusedTokens.push(c);d(e).charsLeftOver=y-m,g.length>0&&d(e).unusedInput.push(g),e._a[3]<=12&&!0===d(e).bigHour&&e._a[3]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[3]=(r=e._locale,n=e._a[3],null==(o=e._meridiem)?n:null!=r.meridiemHour?r.meridiemHour(n,o):(null!=r.isPM&&((a=r.isPM(o))&&n<12&&(n+=12),a||12!==n||(n=0)),n)),null!==(h=d(e).era)&&(e._a[0]=e._locale.erasConvertYear(h,e._a[0])),tt(e),eX(e)}function tn(e){var i=e._i,o=e._f;return(e._locale=e._locale||eZ(e._l),null===i||void 0===o&&""===i)?p({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),_(i))?new w(eX(i)):(l(i)?e._d=i:r(o)?!function(e){var t,r,n,i,o,a,s=!1,l=e._f.length;if(0===l){d(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<l;i++)o=0,a=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],tr(t),h(t)&&(a=!0),o+=d(t).charsLeftOver,o+=10*d(t).unusedTokens.length,d(t).score=o,s?o<n&&(n=o,r=t):(null==n||o<n||a)&&(n=o,r=t,a&&(s=!0));c(e,r||t)}(e):o?tr(e):function(e){var i=e._i;if(a(i))e._d=new Date(t.now());else if(l(i))e._d=new Date(i.valueOf());else if("string"==typeof i)!function(e){var r=e5.exec(e._i);if(null!==r){e._d=new Date(+r[1]);return}if(e9(e),!1===e._isValid)delete e._isValid,e7(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:t.createFromInputFallback(e))}(e);else if(r(i))e._a=u(i.slice(0),function(e){return parseInt(e,10)}),tt(e);else if(n(i)){if(!e._d){var o=V(e._i),c=void 0===o.day?o.date:o.day;e._a=u([o.year,o.month,c,o.hour,o.minute,o.second,o.millisecond],function(e){return e&&parseInt(e,10)}),tt(e)}}else s(i)?e._d=new Date(i):t.createFromInputFallback(e)}(e),h(e)||(e._d=null),e)}function ti(e,t,i,a,s){var l,u={};return(!0===t||!1===t)&&(a=t,t=void 0),(!0===i||!1===i)&&(a=i,i=void 0),(n(e)&&o(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=i,u._i=e,u._f=t,u._strict=a,(l=new w(eX(tn(u))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function to(e,t,r,n){return ti(e,t,r,n,!1)}t.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var ta=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=to.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),ts=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=to.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()});function tl(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return to();for(i=1,n=t[0];i<t.length;++i)(!t[i].isValid()||t[i][e](n))&&(n=t[i]);return n}var tu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function tc(e){var t=V(e),r=t.year||0,n=t.quarter||0,o=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,u=t.minute||0,c=t.second||0,f=t.millisecond||0;this._isValid=function(e){var t,r,n=!1,o=tu.length;for(t in e)if(i(e,t)&&!(-1!==eB.call(tu,t)&&(null==e[t]||!isNaN(e[t]))))return!1;for(r=0;r<o;++r)if(e[tu[r]]){if(n)return!1;parseFloat(e[tu[r]])!==ed(e[tu[r]])&&(n=!0)}return!0}(t),this._milliseconds=+f+1e3*c+6e4*u+1e3*l*3600,this._days=+s+7*a,this._months=+o+3*n+12*r,this._data={},this._locale=eZ(),this._bubble()}function tf(e){return e instanceof tc}function td(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function th(e,t){R(e,0,0,function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+N(~~(e/60),2)+t+N(~~e%60,2)})}th("Z",":"),th("ZZ",""),eu("Z",eo),eu("ZZ",eo),ep(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=tg(eo,e)});var tp=/([\+\-]|\d\d)/gi;function tg(e,t){var r,n,i=(t||"").match(e);return null===i?null:0===(n=+(60*(r=((i[i.length-1]||[])+"").match(tp)||["-",0,0])[1])+ed(r[2]))?0:"+"===r[0]?n:-n}function ty(e,r){var n,i;return r._isUTC?(n=r.clone(),i=(_(e)||l(e)?e.valueOf():to(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),t.updateOffset(n,!1),n):to(e).local()}function tm(e){return-Math.round(e._d.getTimezoneOffset())}function tv(){return!!this.isValid()&&this._isUTC&&0===this._offset}t.updateOffset=function(){};var tb=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,tw=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function t_(e,t){var r,n,o,a,l,u,c=e,f=null;return tf(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:s(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(f=tb.exec(e))?(a="-"===f[1]?-1:1,c={y:0,d:ed(f[2])*a,h:ed(f[3])*a,m:ed(f[4])*a,s:ed(f[5])*a,ms:ed(td(1e3*f[6])
12)*a}):(f=tw.exec(e))?(a="-"===f[1]?-1:1,c={y:tk(f[2],a),M:tk(f[3],a),w:tk(f[4],a),d:tk(f[5],a),h:tk(f[6],a),m:tk(f[7],a),s:tk(f[8],a)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(r=to(c.from),n=to(c.to),u=r.isValid()&&n.isValid()?(n=ty(n,r),r.isBefore(n)?o=tS(r,n):((o=tS(n,r)).milliseconds=-o.milliseconds,o.months=-o.months),o):{milliseconds:0,months:0},(c={}).ms=u.milliseconds,c.M=u.months),l=new tc(c),tf(e)&&i(e,"_locale")&&(l._locale=e._locale),tf(e)&&i(e,"_isValid")&&(l._isValid=e._isValid),l}function tk(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function tS(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=t-e.clone().add(r.months,"M"),r}function tE(e,t){return function(r,n){var i;return null===n||isNaN(+n)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),tx(this,t_(r,n),e),this}}function tx(e,r,n,i){var o=r._milliseconds,a=td(r._days),s=td(r._months);e.isValid()&&(i=null==i||i,s&&eT(e,ew(e,"Month")+s*n),a&&e_(e,"Date",ew(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&t.updateOffset(e,a||s))}t_.fn=tc.prototype,t_.invalid=function(){return t_(NaN)};var tT=tE(1,"add"),tO=tE(-1,"subtract");function tC(e){return"string"==typeof e||e instanceof String}function tN(e,t){if(e.date()<t.date())return-tN(t,e);var r,n=(t.year()-e.year())*12+(t.month()-e.month()),i=e.clone().add(n,"months");return r=t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i),-(n+r)||0}function tA(e){var t;return void 0===e?this._locale._abbr:(null!=(t=eZ(e))&&(this._locale=t),this)}t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var tD=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function tP(){return this._locale}function tI(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-126227808e5:new Date(e,t,r).valueOf()}function tR(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-126227808e5:Date.UTC(e,t,r)}function tL(e,t){return t.erasAbbrRegex(e)}function tM(){var e,t,r,n,i,o=[],a=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)r=ec(u[e].name),n=ec(u[e].abbr),i=ec(u[e].narrow),a.push(r),o.push(n),s.push(i),l.push(r),l.push(n),l.push(i);this._erasRegex=RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=RegExp("^("+s.join("|")+")","i")}function tj(e,t){R(0,[e,e.length],0,t)}function tF(e,t,r,n,i){var o;return null==e?eI(this,n,i).year:(t>(o=eR(e,n,i))&&(t=o),tV.call(this,e,t,r,n,i))}function tV(e,t,r,n,i){var o=eP(e,t,r,n,i),a=eA(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),eu("N",tL),eu("NN",tL),eu("NNN",tL),eu("NNNN",function(e,t){return t.erasNameRegex(e)}),eu("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ep(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?d(r).era=i:d(r).invalidEra=e}),eu("y",er),eu("yy",er),eu("yyy",er),eu("yyyy",er),eu("yo",function(e,t){return t._eraYearOrdinalRegex||er}),ep(["y","yy","yyy","yyyy"],0),ep(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[0]=r._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)}),R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tj("gggg","weekYear"),tj("ggggg","weekYear"),tj("GGGG","isoWeekYear"),tj("GGGGG","isoWeekYear"),eu("G",en),eu("g",en),eu("GG",Q,z),eu("gg",Q,z),eu("GGGG",ee,$),eu("gggg",ee,$),eu("GGGGG",et,K),eu("ggggg",et,K),eg(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=ed(e)}),eg(["gg","GG"],function(e,r,n,i){r[i]=t.parseTwoDigitYear(e)}),R("Q",0,"Qo","quarter"),eu("Q",W),ep("Q",function(e,t){t[1]=(ed(e)-1)*3}),R("D",["DD",2],"Do","date"),eu("D",Q,es),eu("DD",Q,z),eu("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ep(["D","DD"],2),ep("Do",function(e,t){t[2]=ed(e.match(Q)[0])});var tU=eb("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),eu("DDD",X),eu("DDDD",G),ep(["DDD","DDDD"],function(e,t,r){r._dayOfYear=ed(e)}),R("m",["mm",2],0,"minute"),eu("m",Q,el),eu("mm",Q,z),ep(["m","mm"],4);var tY=eb("Minutes",!1);R("s",["ss",2],0,"second"),eu("s",Q,el),eu("ss",Q,z),ep(["s","ss"],5);var tB=eb("Seconds",!1);for(R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return 10*this.millisecond()}),R(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),R(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),R(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),R(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),R(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),eu("S",X,W),eu("SS",X,z),eu("SSS",X,G),g="SSSS";g.length<=9;g+="S")eu(g,er);function tq(e,t){t[6]=ed(("0."+e)*1e3)}for(g="S";g.length<=9;g+="S")ep(g,tq);y=eb("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var tH=w.prototype;function tW(e){return e}tH.add=tT,tH.calendar=function(e,a){if(1==arguments.length)if(arguments[0]){var u,c,f,d;
12if(u=arguments[0],_(u)||l(u)||tC(u)||s(u)||(f=r(c=u),d=!1,f&&(d=0===c.filter(function(e){return!s(e)&&tC(c)}).length),f&&d)||function(e){var t,r,a=n(e)&&!o(e),s=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=l.length;for(t=0;t<u;t+=1)r=l[t],s=s||i(e,r);return a&&s}(u)||null==u)e=arguments[0],a=void 0;else(function(e){var t,r,a=n(e)&&!o(e),s=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)r=l[t],s=s||i(e,r);return a&&s})(arguments[0])&&(a=arguments[0],e=void 0)}else e=void 0,a=void 0;var h=e||to(),p=ty(h,this).startOf("day"),g=t.calendarFormat(this,p)||"sameElse",y=a&&(T(a[g])?a[g].call(this,h):a[g]);return this.format(y||this.localeData().calendar(g,this,to(h)))},tH.clone=function(){return new w(this)},tH.diff=function(e,t,r){var n,i,o;if(!this.isValid()||!(n=ty(e,this)).isValid())return NaN;switch(i=(n.utcOffset()-this.utcOffset())*6e4,t=F(t)){case"year":o=tN(this,n)/12;break;case"month":o=tN(this,n);break;case"quarter":o=tN(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:ef(o)},tH.endOf=function(e){var r,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?tR:tI,e){case"year":r=n(this.year()+1,0,1)-1;break;case"quarter":r=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":r=n(this.year(),this.month()+1,1)-1;break;case"week":r=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":r=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":r=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":r=this._d.valueOf(),r+=36e5-((r+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5-1;break;case"minute":r=this._d.valueOf(),r+=6e4-(r%6e4+6e4)%6e4-1;break;case"second":r=this._d.valueOf(),r+=1e3-(r%1e3+1e3)%1e3-1}return this._d.setTime(r),t.updateOffset(this,!0),this},tH.format=function(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var r=L(this,e);return this.localeData().postformat(r)},tH.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||to(e).isValid())?t_({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tH.fromNow=function(e){return this.from(to(),e)},tH.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||to(e).isValid())?t_({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},tH.toNow=function(e){return this.to(to(),e)},tH.get=function(e){return T(this[e=F(e)])?this[e]():this},tH.invalidAt=function(){return d(this).overflow},tH.isAfter=function(e,t){var r=_(e)?e:to(e);return!!(this.isValid()&&r.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())},tH.isBefore=function(e,t){var r=_(e)?e:to(e);return!!(this.isValid()&&r.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())},tH.isBetween=function(e,t,r,n){var i=_(e)?e:to(e),o=_(t)?t:to(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r))},tH.isSame=function(e,t){var r,n=_(e)?e:to(e);return!!(this.isValid()&&n.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))},tH.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},tH.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},tH.isValid=function(){return h(this)},tH.lang=tD,tH.locale=tA,tH.localeData=tP,tH.max=ts,tH.min=ta,tH.parsingFlags=function(){return c({},d(this))},tH.set=function(e,t){if("object"==typeof e){var r,n=function(e){var t,r=[];for(t in e)i(e,t)&&r.push({unit:t,priority:q[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=V(e)),o=n.length;for(r=0;r<o;r++)this[n[r].unit](e[n[r].unit])}else if(T(this[e=F(e)]))return this[e](t);return this},tH.startOf=function(e){var r,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?tR:tI,e){case"year":r=n(this.year(),0,1);break;case"quarter":r=n(this.year(),this.month()-this.month()%3,1);break;case"month":r=n(this.year(),this.month(),1);break;case"week":r=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":r=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":r=n(this.year(),this.month(),this.date());break;case"hour":r=this._d.valueOf(),r-=((r+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5;break;case"minute":r=this._d.valueOf(),r-=(r%6e4+6e4)%6e4;break;case"second":r=this._d.valueOf(),r-=(r%1e3+1e3)%1e3}return this._d.setTime(r),t.updateOffset(this,!0),this},tH.subtract=tO,tH.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},tH.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},tH.toDate=function(){return new Date(this.valueOf())},tH.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;if(0>r.year()||r.year()>9999)return L(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");
12if(T(Date.prototype.toISOString))if(t)return this.toDate().toISOString();else return new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(r,"Z"));return L(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},tH.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",r=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(tH[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),tH.toJSON=function(){return this.isValid()?this.toISOString():null},tH.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},tH.unix=function(){return Math.floor(this.valueOf()/1e3)},tH.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},tH.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},tH.eraName=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""},tH.eraNarrow=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""},tH.eraAbbr=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""},tH.eraYear=function(){var e,r,n,i,o=this.localeData().eras();for(e=0,r=o.length;e<r;++e)if(n=o[e].since<=o[e].until?1:-1,i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-t(o[e].since).year())*n+o[e].offset;return this.year()},tH.year=ev,tH.isLeapYear=function(){return ey(this.year())},tH.weekYear=function(e){return tF.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},tH.isoWeekYear=function(e){return tF.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},tH.quarter=tH.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)},tH.month=eO,tH.daysInMonth=function(){return ek(this.year(),this.month())},tH.week=tH.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add((e-t)*7,"d")},tH.isoWeek=tH.isoWeeks=function(e){var t=eI(this,1,4).week;return null==e?t:this.add((e-t)*7,"d")},tH.weeksInYear=function(){var e=this.localeData()._week;return eR(this.year(),e.dow,e.doy)},tH.weeksInWeekYear=function(){var e=this.localeData()._week;return eR(this.weekYear(),e.dow,e.doy)},tH.isoWeeksInYear=function(){return eR(this.year(),1,4)},tH.isoWeeksInISOWeekYear=function(){return eR(this.isoWeekYear(),1,4)},tH.date=tU,tH.day=tH.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,n=ew(this,"Day");return null==e?n:(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d"))},tH.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},tH.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t,r=(t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?r:r-7)},tH.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},tH.hour=tH.hours=eH,tH.minute=tH.minutes=tY,tH.second=tH.seconds=tB,tH.millisecond=tH.milliseconds=y,tH.utcOffset=function(e,r,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?o:tm(this);if("string"==typeof e){if(null===(e=tg(eo,e)))return this}else 16>Math.abs(e)&&!n&&(e*=60);return!this._isUTC&&r&&(i=tm(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!r||this._changeInProgress?tx(this,t_(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this},tH.utc=function(e){return this.utcOffset(0,e)},tH.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(tm(this),"m")),this},tH.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=tg(ei,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},tH.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?to(e).utcOffset():0,(this.utcOffset()-e)%60==0)},tH.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},tH.isLocal=function(){return!!this.isValid()&&!this._isUTC},tH.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},tH.isUtc=tv,tH.isUTC=tv,tH.zoneAbbr=function(){return this._isUTC?"UTC":""},tH.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},tH.dates=S("dates accessor is deprecated. Use date instead.",tU),tH.months=S("months accessor is deprecated. Use month instead",eO),tH.years=S("years accessor is deprecated. Use year instead",ev),tH.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),tH.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=tn(t))._a?(e=t._isUTC?f(t._a):to(t._a),this._isDSTShifted=this.isValid()&&function(e,t,r){var n,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(n=0;n<i;n++)ed(e[n])!==ed(t[n])&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var tz=C.prototype;function tG(e,t,r,n){var i=eZ(),o=f().set(n,t);return i[r](o,e)}function t$(e,t,r){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return tG(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=tG(e,n,r,"month");return i}function tK(e,t,r,n){"boolean"==typeof e||(r=t=e,e=!1),s(t)&&(r=t,t=void 0),t=t||"";var i,o=eZ(),a=e?o._week.dow:0,l=[];
vendor: 10,693 bytes, line 12
12if(null!=r)return tG(t,(r+a)%7,n,"day");for(i=0;i<7;i++)l[i]=tG(t,(i+a)%7,n,"day");return l}tz.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return T(n)?n.call(t,r):n},tz.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(A).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},tz.invalidDate=function(){return this._invalidDate},tz.ordinal=function(e){return this._ordinal.replace("%d",e)},tz.preparse=tW,tz.postformat=tW,tz.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return T(i)?i(e,t,r,n):i.replace(/%d/i,e)},tz.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return T(r)?r(t):r.replace(/%s/i,t)},tz.set=function(e){var t,r;for(r in e)i(e,r)&&(T(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},tz.eras=function(e,r){var n,i,o,a=this._eras||eZ("en")._eras;for(n=0,i=a.length;n<i;++n)switch("string"==typeof a[n].since&&(o=t(a[n].since).startOf("day"),a[n].since=o.valueOf()),typeof a[n].until){case"undefined":a[n].until=Infinity;break;case"string":o=t(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}return a},tz.erasParse=function(e,t,r){var n,i,o,a,s,l=this.eras();for(n=0,e=e.toUpperCase(),i=l.length;n<i;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n]}else if([o,a,s].indexOf(e)>=0)return l[n]},tz.erasConvertYear=function(e,r){var n=e.since<=e.until?1:-1;return void 0===r?t(e.since).year():t(e.since).year()+(r-e.offset)*n},tz.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||tM.call(this),e?this._erasAbbrRegex:this._erasRegex},tz.erasNameRegex=function(e){return i(this,"_erasNameRegex")||tM.call(this),e?this._erasNameRegex:this._erasRegex},tz.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||tM.call(this),e?this._erasNarrowRegex:this._erasRegex},tz.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||eE).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},tz.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[eE.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},tz.monthsParse=function(e,t,r){var n,i,o;if(this._monthsParseExact)return ex.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=f([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=RegExp(o.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},tz.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eC.call(this),e)?this._monthsStrictRegex:this._monthsRegex:(i(this,"_monthsRegex")||(this._monthsRegex=ea),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},tz.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||eC.call(this),e)?this._monthsShortStrictRegex:this._monthsShortRegex:(i(this,"_monthsShortRegex")||(this._monthsShortRegex=ea),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},tz.week=function(e){return eI(e,this._week.dow,this._week.doy).week},tz.firstDayOfYear=function(){return this._week.doy},tz.firstDayOfWeek=function(){return this._week.dow},tz.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?eL(n,this._week.dow):e?n[e.day()]:n},tz.weekdaysMin=function(e){return!0===e?eL(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},tz.weekdaysShort=function(e){return!0===e?eL(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},tz.weekdaysParse=function(e,t,r){var n,i,o;if(this._weekdaysParseExact)return ej.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=f([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=RegExp(o.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;else if(!r&&this._weekdaysParse[n].test(e))return n}},tz.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysStrictRegex:this._weekdaysRegex:(i(this,"_weekdaysRegex")||(this._weekdaysRegex=ea),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},tz.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysShortStrictRegex:this._weekdaysShortRegex:(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ea),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},tz.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||eF.call(this),e)?this._weekdaysMinStrictRegex:this._weekdaysMinRegex:(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ea),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},tz.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tz.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},eQ("en",{eras:[{since:"0001-01-01",until:Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===ed(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}}),t.lang=S("moment.lang is deprecated. Use moment.locale instead.",eQ),t.langData=S("moment.langData is deprecated. Use moment.localeData instead.",eZ);var tQ=Math.abs;function tJ(e,t,r,n){var i=t_(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function tZ(e){return e<0?Math.floor(e):Math.ceil(e)}function tX(e){return 4800*e/146097}function t0(e){return 146097*e/4800}function t1(e){return function(){return this.as(e)}}var t2=t1("ms"),t3=t1("s"),t4=t1("m"),t5=t1("h"),t8=t1("d"),t6=t1("w"),t9=t1("M"),t7=t1("Q"),re=t1("y");function rt(e){return function(){return this.isValid()?this._data[e]:NaN}}var rr=rt("milliseconds"),rn=rt("seconds"),ri=rt("minutes"),ro=rt("hours"),ra=rt("days"),rs=rt("months"),rl=rt("years"),ru=Math.round,rc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function rf(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}var rd=Math.abs;function rh(e){return(e>0)-(e<0)||+e}function rp(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,o,a,s,l=rd(this._milliseconds)/1e3,u=rd(this._days),c=rd(this._months),f=this.asSeconds();return f?(e=ef(l/60),t=ef(e/60),l%=60,e%=60,r=ef(c/12),c%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=rh(this._months)!==rh(f)?"-":"",a=rh(this._days)!==rh(f)?"-":"",s=rh(this._milliseconds)!==rh(f)?"-":"",i+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+n+"S":"")):"P0D"}var rg=tc.prototype;return rg.isValid=function(){return this._isValid},rg.abs=function(){var e=this._data;return this._milliseconds=tQ(this._milliseconds),this._days=tQ(this._days),this._months=tQ(this._months),e.milliseconds=tQ(e.milliseconds),e.seconds=tQ(e.seconds),e.minutes=tQ(e.minutes),e.hours=tQ(e.hours),e.months=tQ(e.months),e.years=tQ(e.years),this},rg.add=function(e,t){return tJ(this,e,t,1)},rg.subtract=function(e,t){return tJ(this,e,t,-1)},rg.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+tX(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(t0(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw Error("Unknown unit "+e)}},rg.asMilliseconds=t2,rg.asSeconds=t3,rg.asMinutes=t4,rg.asHours=t5,rg.asDays=t8,rg.asWeeks=t6,rg.asMonths=t9,rg.asQuarters=t7,rg.asYears=re,rg.valueOf=t2,rg._bubble=function(){var e,t,r,n,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*tZ(t0(s)+a),a=0,s=0),l.milliseconds=o%1e3,l.seconds=(e=ef(o/1e3))%60,l.minutes=(t=ef(e/60))%60,l.hours=(r=ef(t/60))%24,a+=ef(r/24),s+=i=ef(tX(a)),a-=tZ(t0(i)),n=ef(s/12),s%=12,l.days=a,l.months=s,l.years=n,this},rg.clone=function(){return t_(this)},rg.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},rg.milliseconds=rr,rg.seconds=rn,rg.minutes=ri,rg.hours=ro,rg.days=ra,rg.weeks=function(){return ef(this.days()/7)},rg.months=rs,rg.years=rl,rg.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i,o,a,s,l,u,c,f,d,h,p,g=!1,y=rc;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(g=e),"object"==typeof t&&(y=Object.assign({},rc,t),null!=t.s&&null==t.ss&&(y.ss=t.s-1)),h=this.localeData(),r=!g,n=y,i=t_(this).abs(),o=ru(i.as("s")),a=ru(i.as("m")),s=ru(i.as("h")),l=ru(i.as("d")),u=ru(i.as("M")),c=ru(i.as("w")),f=ru(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l],null!=n.w&&(d=d||c<=1&&["
12w"]||c<n.w&&["ww",c]),(d=d||u<=1&&["M"]||u<n.M&&["MM",u]||f<=1&&["y"]||["yy",f])[2]=r,d[3]=+this>0,d[4]=h,p=rf.apply(null,d),g&&(p=h.pastFuture(+this,p)),h.postformat(p)},rg.toISOString=rp,rg.toString=rp,rg.toJSON=rp,rg.locale=tA,rg.localeData=tP,rg.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rp),rg.lang=tD,R("X",0,0,"unix"),R("x",0,0,"valueOf"),eu("x",en),eu("X",/[+-]?\d+(\.\d{1,3})?/),ep("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),ep("x",function(e,t,r){r._d=new Date(ed(e))}),t.version="2.30.1",U=to,t.fn=tH,t.min=function(){var e=[].slice.call(arguments,0);return tl("isBefore",e)},t.max=function(){var e=[].slice.call(arguments,0);return tl("isAfter",e)},t.now=function(){return Date.now?Date.now():+new Date},t.utc=f,t.unix=function(e){return to(1e3*e)},t.months=function(e,t){return t$(e,t,"months")},t.isDate=l,t.locale=eQ,t.invalid=p,t.duration=t_,t.isMoment=_,t.weekdays=function(e,t,r){return tK(e,t,r,"weekdays")},t.parseZone=function(){return to.apply(null,arguments).parseZone()},t.localeData=eZ,t.isDuration=tf,t.monthsShort=function(e,t){return t$(e,t,"monthsShort")},t.weekdaysMin=function(e,t,r){return tK(e,t,r,"weekdaysMin")},t.defineLocale=eJ,t.updateLocale=function(e,t){if(null!=t){var r,n,i=eW;null!=ez[e]&&null!=ez[e].parentLocale?ez[e].set(O(ez[e]._config,t)):(null!=(n=eK(e))&&(i=n._config),t=O(i,t),null==n&&(t.abbr=e),(r=new C(t)).parentLocale=ez[e],ez[e]=r),eQ(e)}else null!=ez[e]&&(null!=ez[e].parentLocale?(ez[e]=ez[e].parentLocale,e===eQ()&&eQ(e)):null!=ez[e]&&delete ez[e]);return ez[e]},t.locales=function(){return H(ez)},t.weekdaysShort=function(e,t,r){return tK(e,t,r,"weekdaysShort")},t.normalizeUnits=F,t.relativeTimeRounding=function(e){return void 0===e?ru:"function"==typeof e&&(ru=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==rc[e]&&(void 0===t?rc[e]:(rc[e]=t,"s"===e&&(rc.ss=t-1),!0))},t.calendarFormat=function(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},t.prototype=tH,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}()},51631:(e,t,r)=>{"use strict";r.d(t,{k:()=>g});var n=r(80594),i=r(3160),o=r(66910),a=r(33821),s=r(43129),l=r(20810),u=r(74143),c=r(10030),f=r(75306),d=r(11633),h=r(98487),p=r(12583),g=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.LV)(o.ct,{max:a.v["cache.fragmentQueryDocuments"]||1e3,cache:c.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,i=e.fragment,o=e.fragmentName,a=e.from,c=e.optimistic,f=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),g=this.getFragmentDoc(i,o),y=void 0===a||"string"==typeof a?a:this.identify(a),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var v=o||(0,s.E4)(i).name.value;y||!1===globalThis.__DEV__||h.V1.warn(1,v)}var b=(0,n.Cl)((0,n.Cl)({},f),{returnPartialData:!0,id:y,query:g,optimistic:void 0===c||c});return new l.c(function(a){return r.watch((0,n.Cl)((0,n.Cl)({},b),{immediate:!0,callback:function(s){var l=m?(0,p.z)(s.result,i,r,o):s.result;if(!(t&&(0,d.a)(g,{data:t.result},{data:l},e.variables))){var c={data:l,complete:!!s.complete};s.missing&&(c.missing=(0,u.IM)(s.missing.map(function(e){return e.missing}))),t=(0,n.Cl)((0,n.Cl)({},s),{result:l}),a.next(c)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(g.prototype.getMemoryInternals=f.tQ)},52065:(e,t,r)=>{"use strict";
12Object.defineProperty(t,"__esModule",{value:!0}),t.BREAK=void 0,t.getEnterLeaveForKind=l,t.getVisitFn=function(e,t,r){let{enter:n,leave:i}=l(e,t);return r?i:n},t.visit=function(e,t,r=o.QueryDocumentKeys){let u,c,f,d=new Map;for(let e of Object.values(a.Kind))d.set(e,l(t,e));let h=Array.isArray(e),p=[e],g=-1,y=[],m=e,v=[],b=[];do{var w,_,k;let e,a=++g===p.length,l=a&&0!==y.length;if(a){if(c=0===b.length?void 0:v[v.length-1],m=f,f=b.pop(),l)if(h){m=m.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(m.splice(n,1),e++):m[n]=r}}else for(let[e,t]of(m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m)),y))m[e]=t;g=u.index,p=u.keys,y=u.edits,h=u.inArray,u=u.prev}else if(f){if(null==(m=f[c=h?g:p[g]]))continue;v.push(c)}if(!Array.isArray(m)){(0,o.isNode)(m)||(0,n.devAssert)(!1,`Invalid AST Node: ${(0,i.inspect)(m)}.`);let r=a?null==(w=d.get(m.kind))?void 0:w.leave:null==(_=d.get(m.kind))?void 0:_.enter;if((e=null==r?void 0:r.call(t,m,c,f,v,b))===s)break;if(!1===e){if(!a){v.pop();continue}}else if(void 0!==e&&(y.push([c,e]),!a))if((0,o.isNode)(e))m=e;else{v.pop();continue}}void 0===e&&l&&y.push([c,m]),a?v.pop():(u={inArray:h,index:g,keys:p,edits:y,prev:u},p=(h=Array.isArray(m))?m:null!=(k=r[m.kind])?k:[],g=-1,y=[],f&&b.push(f),f=m)}while(void 0!==u);return 0!==y.length?y[y.length-1][1]:e},t.visitInParallel=function(e){let t=Array(e.length).fill(null),r=Object.create(null);for(let n of Object.values(a.Kind)){let i=!1,o=Array(e.length).fill(void 0),a=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:r,leave:s}=l(e[t],n);i||(i=null!=r||null!=s),o[t]=r,a[t]=s}if(!i)continue;let u={enter(...r){let n=r[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let l=null==(i=o[a])?void 0:i.apply(e[a],r);if(!1===l)t[a]=n;else if(l===s)t[a]=s;else if(void 0!==l)return l}},leave(...r){let n=r[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let n=null==(i=a[o])?void 0:i.apply(e[o],r);if(n===s)t[o]=s;else if(void 0!==n&&!1!==n)return n}else t[o]===n&&(t[o]=null)}};r[n]=u}return r};var n=r(98168),i=r(56033),o=r(38863),a=r(81276);let s=Object.freeze({});function l(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}t.BREAK=s},52484:(e,t,r)=>{"use strict";r.d(t,{I:()=>u});let n=/\r\n|[\n\r]/g;function i(e,t){let r=0,i=1;for(let o of e.body.matchAll(n)){if("number"==typeof o.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),o.index>=t)break;r=o.index+o[0].length,i+=1}return{line:i,column:t+1-r}}function o(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,l=1===t.line?r:0,u=t.column+l,c=`${e.name}:${s}:${u} 13`,f=n.split(/\r\n|[\n\r]/g),d=f[i];if(d.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<d.length;e+=80)t.push(d.slice(e,e+80));return c+a([[`${s} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return c+a([[`${s-1} |`,f[i-1]],[`${s} |`,d],["|","^".padStart(u)],[`${s+1} |`,f[i+1]]])}function a(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}class s extends Error{constructor(e,...t){var r,n,o;let{nodes:a,source:u,positions:c,path:f,originalError:d,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=f?f:void 0,this.originalError=null!=d?d:void 0,this.nodes=l(Array.isArray(a)?a:a?[a]:void 0);let p=l(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=u?u:null==p||null==(n=p[0])?void 0:n.source,this.positions=null!=c?c:null==p?void 0:p.map(e=>e.start),this.locations=c&&u?c.map(e=>i(u,e)):null==p?void 0:p.map(e=>i(e.source,e.start));let g=!function(e){return"object"==typeof e&&null!==e}(null==d?void 0:d.extensions)||null==d?void 0:d.extensions;this.extensions=null!=(o=null!=h?h:g)?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes){var t;r.loc&&(e+="\n\n"+o((t=r.loc).source,i(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+o(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function l(e){return void 0===e||0===e.length?void 0:e}function u(e,t,r){return new s(`Syntax Error: ${r}`,{source:e,positions:[t]})}}
13,53508:(e,t,r)=>{"use strict";r.d(t,{Q9:()=>d,V1:()=>l,zU:()=>s});var n=r(80594),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function l(e,t){if(!e)throw new s(t)}var u=["debug","log","warn","error","silent"],c=u.indexOf("log");function f(e){return function(){if(u.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}function d(e){var t=u[c];return c=Math.max(0,u.indexOf(e)),t}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(l||(l={}))},54046:e=>{!function(){"use strict";var t={815:function(e){e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var u=0;u<l;++u){var c,f,d,h,p=e[u].replace(a,"%20"),g=p.indexOf(n);(g>=0?(c=p.substr(0,g),f=p.substr(g+1)):(c=p,f=""),d=decodeURIComponent(c),h=decodeURIComponent(f),Object.prototype.hasOwnProperty.call(o,d))?t(o[d])?o[d].push(h):o[d]=[o[d],h]:o[d]=h}return o};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,a,s){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var s=encodeURIComponent(t(i))+a;return r(e[i])?n(e[i],function(e){return s+encodeURIComponent(t(e))}).join(o):s+encodeURIComponent(t(e[i]))}).join(o):s?encodeURIComponent(t(s))+a+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i={};i.decode=i.parse=n(815),i.encode=i.stringify=n(577),e.exports=i}()},54066:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,L:()=>s});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(d(t,r))return!0;let n=u(t),o=u(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(d(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,f)}}return!1}(e,t)}finally{a.clear()}}let l=s;function u(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}let f="{ [native code] }";function d(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},54562:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var n=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},56033:(e,t)=>
13{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inspect=function(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t)){var i=t,o=n;if(0===i.length)return"[]";if(o.length>2)return"[Array]";let r=Math.min(10,i.length),a=i.length-r,s=[];for(let t=0;t<r;++t)s.push(e(i[t],o));return 1===a?s.push("... 1 more item"):a>1&&s.push(`... ${a} more items`),"["+s.join(", ")+"]"}var a=t,s=n;let l=Object.entries(a);return 0===l.length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(a)+"]":"{ "+l.map(([t,r])=>t+": "+e(r,s)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}},58994:(e,t,r)=>{"use strict";r.d(t,{OC:()=>i,yo:()=>o});var n=r(1699);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.i0)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(o=null!=(r=o)?r:t,a=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.i0)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,f=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),d="",h=o&&(0,n.i0)(e.charCodeAt(0));return(f&&!h||a)&&(d+="\n"),d+=r,(f||c)&&(d+="\n"),'"""'+d+'"""'}},59067:(e,t,r)=>{"use strict";var n;r.d(t,{Y:()=>n}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(n||(n={}))},59574:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,V:()=>l});var n=r(10030),i=r(46373),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.l(e,t);return r.set=function(e,t){var r=n.l.prototype.set.call(this,e,t);return a(this),r},r},l=function(e,t){var r=new i.C(e,t);return r.set=function(e,t){var r=i.C.prototype.set.call(this,e,t);return a(this),r},r}},59703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(0xff000000&e)>>24,(0xff0000&e)>>16,(65280&e)>>8,255&e])}},60278:(e,t,r)=>{"use strict";let n,i;r.d(t,{eU:()=>s,zp:()=>c});var o=r(79225);let a=0;function s(e,t){let r=`atom${++a}`,n={toString(){return this.debugLabel?r+":"+this.debugLabel:r}};return"function"==typeof e?n.read=e:(n.init=e,n.read=l,n.write=u),t&&(n.write=t),n}function l(e){return e(this)}function u(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}function c(){return i||(i=n?n():(()=>{let e=0,t=(0,o.eE)({}),r=new WeakMap,n=new WeakMap,i=(0,o._w)(r,n,void 0,void 0,void 0,void 0,t,void 0,(t,r,n,...i)=>e?n(t,...i):t.write(r,n,...i)),a=new Set;return t.m.add(void 0,e=>{a.add(e),r.get(e).m=n.get(e)}),t.u.add(void 0,e=>{a.delete(e);let t=r.get(e);delete t.m}),Object.assign(i,{dev4_get_internal_weak_map:()=>(console.log("Deprecated: Use devstore from the devtools library"),r),dev4_get_mounted_atoms:()=>a,dev4_restore_atoms:t=>{i.set({read:()=>null,write:(r,n)=>{++e;try{for(let[e,r]of t)"init"in e&&n(e,r)}finally{--e}}})}})})(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=i),globalThis.__JOTAI_DEFAULT_STORE__!==i&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),i}},61289:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(80594),i=r(17836);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},61708:(e,t,r)=>{"use strict";var n=r(95989).Buffer;
13Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var i=r(76870),o=void 0!==n&&n.from?function(e){return n.from(e,"utf8")}:i.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?o(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},62240:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>D});var n=r(33736);r(37697),r(29775),r(21715),r(49275);var i=r(98677),o=r(96583);let{slice:a,forEach:s}=[],l=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,u=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"},n=encodeURIComponent(t),i=`${e}=${n}`;if(r.maxAge>0){let e=r.maxAge-0;if(Number.isNaN(e))throw Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(e)}`}if(r.domain){if(!l.test(r.domain))throw TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!l.test(r.path))throw TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw TypeError("option expires is invali
13d");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i},c={create(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*r*1e3)),n&&(i.domain=n),document.cookie=u(e,encodeURIComponent(t),i)},read(e){let t=`${e}=`,r=document.cookie.split(";");for(let e=0;e<r.length;e++){let n=r[e];for(;" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return null},remove(e){this.create(e,"",-1)}};var f={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&"undefined"!=typeof document)return c.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:r,cookieMinutes:n,cookieDomain:i,cookieOptions:o}=t;r&&"undefined"!=typeof document&&c.create(r,e,n,i,o)}},d={name:"querystring",lookup(e){let t,{lookupQuerystring:r}=e;if("undefined"!=typeof window){let{search:e}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));let n=e.substring(1).split("&");for(let e=0;e<n.length;e++){let i=n[e].indexOf("=");i>0&&n[e].substring(0,i)===r&&(t=n[e].substring(i+1))}}return t}};let h=null,p=()=>{if(null!==h)return h;try{if(!(h="undefined"!=typeof window&&null!==window.localStorage))return!1;let e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){h=!1}return h};var g={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&p())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:r}=t;r&&p()&&window.localStorage.setItem(r,e)}};let y=null,m=()=>{if(null!==y)return y;try{if(!(y="undefined"!=typeof window&&null!==window.sessionStorage))return!1;let e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){y=!1}return y};var v={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&m())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:r}=t;r&&m()&&window.sessionStorage.setItem(r,e)}},b={name:"navigator",lookup(e){let t=[];if("undefined"!=typeof navigator){let{languages:e,userLanguage:r,language:n}=navigator;if(e)for(let r=0;r<e.length;r++)t.push(e[r]);r&&t.push(r),n&&t.push(n)}return t.length>0?t:void 0}},w={name:"htmlTag",lookup(e){let t,{htmlTag:r}=e,n=r||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},_={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("undefined"==typeof window)return;let r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(Array.isArray(r))return r["number"==typeof t?t:0]?.replace("/","")}},k={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e,r="undefined"!=typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r["number"==typeof t?t+1:1]}};let S=!1;try{document.cookie,S=!0}catch(e){}let E=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];S||E.splice(1,1);class x{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return s.call(a.call(arguments,1),t=>{if(t)for(let r in t)void 0===e[r]&&(e[r]=t[r])}),e}(t,this.options||{},{order:E,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(f),this.addDetector(d),this.addDetector(g),this.addDetector(v),this.addDetector(b),this.addDetector(w),this.addDetector(_),this.addDetector(k)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>
130&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return(e.forEach(e=>{if(this.detectors[e]){let r=this.detectors[e].lookup(this.options);r&&"string"==typeof r&&(r=[r]),r&&(t=t.concat(r))}}),t=t.filter(e=>null!=e&&!("string"==typeof e&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(e)))).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes)?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)}))}}x.type="languageDetector",i.Ay.use(o.r9).use(x).init({resources:{is:{translation:r(89945)},en:{translation:r(34250)}},fallbackLng:"is",keySeparator:".",interpolation:{escapeValue:!1},detection:{order:["path","querystring","cookie"],lookupFromPathIndex:0,lookupQuerystring:"lng",caches:["cookie"]}});let T=i.Ay;var O=r(18820),C=r(91844),N=r(65719),A=r(83234);let D=function(e){let{Component:t,pageProps:r}=e;return(0,C.useEffect)(()=>{let e="pub6987da9ecca05ef4eb84146a2ca939b1";e&&(N.yf.init({clientToken:e,site:"datadoghq.eu",service:"syn-web",env:"production",version:"42cb29ab3371e098af9e09c951aacf7a63dc1532",forwardErrorsToLogs:!0,forwardConsoleLogs:["error","warn"],sessionSampleRate:100}),window.addEventListener("unhandledrejection",e=>A.t.error("unhandledrejection",{reason:String(e.reason)})),window.addEventListener("error",e=>{var t;return A.t.error("window.error",{message:e.message,stack:null==(t=e.error)?void 0:t.stack})}))},[]),(0,n.jsx)(o.xC,{i18n:T,children:(0,n.jsx)(O.default,{children:(0,n.jsx)(t,{...r})})})}},63043:(e,t,r)=>{"use strict";r.d(t,{WT:()=>d,hn:()=>f,H0:()=>g,T8:()=>x,iv:()=>A,jq:()=>z,TM:()=>T,sP:()=>O,ZV:()=>S,ix:()=>L,AK:()=>Y,Nl:()=>M,go:()=>j,ho:()=>U,dJ:()=>P,GA:()=>B,UN:()=>q,S6:()=>v,u4:()=>b,lA:()=>k,JQ:()=>_,_$:()=>w,Je:()=>m,oF:()=>N,vh:()=>h,n5:()=>V,y1:()=>F,UH:()=>G,mQ:()=>W,$d:()=>p,aU:()=>D,rT:()=>$,GR:()=>H,Eg:()=>y});var n=r(60278);let i=Symbol("RESET");function o(e=()=>{try{return window.localStorage}catch(e){"undefined"!=typeof window&&console.warn(e);return}},t){var r;let n,i,a,s,l={getItem:(r,o)=>{var a,s;let l=e=>{if(n!==(e=e||"")){try{i=JSON.parse(e,null==t?void 0:t.reviver)}catch(e){return o}n=e}return i},u=null!=(s=null==(a=e())?void 0:a.getItem(r))?s:null;return"function"==typeof(null==u?void 0:u.then)?u.then(l):l(u)},setItem:(r,n)=>{var i;return null==(i=e())?void 0:i.setItem(r,JSON.stringify(n,null==t?void 0:t.replacer))},removeItem:t=>{var r;return null==(r=e())?void 0:r.removeItem(t)}};try{a=null==(r=e())?void 0:r.subscribe}catch(e){}return!a&&"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(a=(t,r)=>{if(!(e()instanceof window.Storage))return()=>{};let n=n=>{n.storageArea===e()&&n.key===t&&r(n.newValue)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}}),a&&(s=a,l.subscribe=(e,t,r)=>s(e,e=>{let n;try{n=JSON.parse(e||"")}catch(e){n=r}t(n)})),l}let a=o();function s(e,t,r=a,o){let l=null==o?void 0:o.getOnInit,u=(0,n.eU)(l?r.getItem(e,t):t);return u.debugPrivate=!0,u.onMount=n=>{let i;return n(r.getItem(e,t)),r.subscribe&&(i=r.subscribe(e,n,t)),i},(0,n.eU)(e=>e(u),(n,o,a)=>{let s="function"==typeof a?a(n(u)):a;return s===i?(o(u,t),r.removeItem(e)):s instanceof Promise?s.then(t=>(o(u,t),r.setItem(e,t))):(o(u,s),r.setItem(e,s))})}var l=r(19243);let u=o(()=>sessionStorage),c=o(()=>sessionStorage),f=s("activeRadioAtom",null,u),d=s("activeAudioAtom",null,c),h=(0,n.eU)(!1),p=(0,n.eU)({}),g=(0,n.eU)(e=>{let t=e(f);return e(p)[(null==t?void 0:t.id)||""]||[]}),y=(0,n.eU)(100),m=(0,n.eU)(!1),v=(0,n.eU)(!1),b=(0,n.eU)(!1),w=(0,n.eU)(!1),_=(0,n.eU)(!1),k=(0,n.eU)(!1),S=(0,n.eU)(""),E=(0,n.eU)(void 0),x=(0,n.eU)({}),T=(0,n.eU)(null,(e,t,r)=>{let n=e(x);
13r.forEach(e=>{e.id&&(n[e.id]={addOn:e,quantity:0})}),t(x,n)}),O=(0,n.eU)(0),C=(0,n.eU)("");(0,n.eU)(e=>{let t=e(O),r=e(x);return Object.keys(r).reduce((e,t)=>{var n;let i=null!=(n=r[t].addOn.price)?n:0;return e+r[t].quantity*i},t)});let N=(0,n.eU)(!1),A=(0,n.eU)(null,(e,t,r)=>{let{id:n,change:i}=r,o=e(x),a=o[n].quantity,s=o[n].addOn.multiselect,l=a+i;l>=0&&(s?l<=9:l<=1)&&t(x,{...o,[n]:{...o[n],quantity:l}})}),D=(0,n.eU)(null,(e,t,r)=>{t(E,r.id),t(O,r.basePrice),t(C,r.title)}),P=(0,n.eU)(null,(e,t)=>{t(E,void 0),t(x,{}),t(O,0),t(C,""),t(N,!1)}),I=o(()=>sessionStorage),R=o(()=>sessionStorage),L=s("cartAtom",{},I),M=(0,n.eU)(e=>{let t=e(L);return Object.keys(t).reduce((e,r)=>e+t[r].quantity,0)}),j=(0,n.eU)(e=>{let t=e(L);return Object.keys(t).reduce((e,r)=>e+t[r].quantity*t[r].product.price,0)}),F=(0,n.eU)(!1),V=(0,n.eU)(null),U=(0,n.eU)(null,(e,t,r)=>{let n=e(L),i=!n[r.product.id],o=e(V);0===r.quantity?(delete n[r.product.id],t(L,{...n}),o===r.product.id&&t(V,null)):(t(L,{...n,[r.product.id]:{quantity:r.quantity,product:r.product}}),i&&(t(F,!0),t(V,r.product.id)))}),Y=s("cartHash","",R),B=s("customerAtom",{firstName:"",lastName:"",nationalId:"",address:"",postalCode:"",phoneNumber:"",email:"",delivery:""},o(()=>sessionStorage)),q=(0,n.eU)(e=>{let t=e(B);return(0,l.u4)(t.firstName.trim())&&(0,l.Uj)(t.nationalId.trim())&&(0,l.jl)(t.address.trim())&&(0,l.jn)(t.postalCode.trim())&&(0,l.Q7)(t.phoneNumber.trim())&&(0,l.DT)(t.email.trim())&&t.delivery.trim().length>0}),H=(0,n.eU)(null,(e,t,r)=>{let n=e(B);t(B,{...n,[r.key]:r.value})}),W=s("atomWithStorage",{},o(()=>sessionStorage)),z=(0,n.eU)({}),G=(0,n.eU)(null,(e,t,r)=>{let n=e(z),i=new Date().toISOString();n[i]=r,t(z,{...n}),setTimeout(()=>{let r=e(z);delete r[i],t(z,{...r})},5e3)}),$=(0,n.eU)(null)},63195:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__assign:()=>o,__asyncDelegator:()=>w,__asyncGenerator:()=>b,__asyncValues:()=>_,__await:()=>v,__awaiter:()=>c,__classPrivateFieldGet:()=>x,__classPrivateFieldSet:()=>T,__createBinding:()=>d,__decorate:()=>s,__exportStar:()=>h,__extends:()=>i,__generator:()=>f,__importDefault:()=>E,__importStar:()=>
13S,__makeTemplateObject:()=>k,__metadata:()=>u,__param:()=>l,__read:()=>g,__rest:()=>a,__spread:()=>y,__spreadArrays:()=>m,__values:()=>p});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function f(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){var l=[o,s];if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}function d(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function h(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||(t[r]=e[r])}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function m(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function b(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||s(e,t)})})}function s(e,t){try{var r;(r=i[e](t)).value instanceof v?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:v(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=p(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){var o,a,s;o=n,a=i,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:s})},a)})}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}
13function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}function x(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)}function T(e,t,r){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,r),r}},63465:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(62240)}])},63954:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n="3.13.1"},64757:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,u,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(!e(o[l],a[l]))return!1;return!0}if(r&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!e(l.value[1],a.get(l.value[0])))return!1;return!0}if(n&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((s=(u=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&o instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!e(o[u[l]],a[u[l]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},65129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printString=function(e){return`"${e.replace(r,n)}"`};let r=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function n(e){return i[e.charCodeAt(0)]}let i=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]},65719:(e,t,r)=>{"use strict";r.d(t,{yf:()=>t7});var n,i,o,a,s,l,u,c,f,d,h,p,g,y={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},m=console,v={};Object.keys(y).forEach(function(e){v[e]=m[e]});var b="Datadog Browser SDK:",w={debug:v.debug.bind(m,b),log:v.log.bind(m,b),info:v.info.bind(m,b),warn:v.warn.bind(m,b),error:v.error.bind(m,b)},_="https://docs.datadoghq.com",k="".concat(_,"/real_user_monitoring/browser/troubleshooting"),S="More details:";function E(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return e.apply(void 0,r)}catch(e){w.error(t,e)}}}var x=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},T=!1;function O(e){T=e}function C(e,t,r){var i=r.value;r.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(n?N(i):i).apply(this,e)}}function N(e){return function(){return A(e,this,arguments)}}function A(e,t,r){try{return e.apply(t,r)}catch(e){if(D(e),n)try{n(e)}catch(e){D(e)}}}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];T&&w.error.apply(w,x(["[MONITOR]"],e,!1))}function P(e,t){return -1!==e.indexOf(t)}function I(e){if(Array.from)return Array.from(e);var t=[];if(e instanceof Set)e.forEach(function(e){return t.push(e)});else for(var r=0;r<e.length;r++)t.push(e[r]);return t}function R(e){return Object.keys(e).map(function(t){return e[t]})}function L(e,t){return e.slice(0,t.length)===t}function M(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.forEach(function(t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}),e}function j(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}var F=/[^\u0000-\u007F]/;function V(e){return F.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function U(e,t){var r,n=j();return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}function Y(e,t){return U(j(),"setTimeout")(N(e),t)}function B(e){U(j(),"clearTimeout")(e)}function q(e,t){return U(j(),"setInterval")(N(e),t)}function H(e){U(j(),"clearInterval")(e)}function W(e,t,r){var n,i,o=!r||void 0===r.leading||r.leading,a=!r||void 0===r.trailing||r.trailing,s=!1;return{throttled:function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];if(s){n=r;return}o?e.apply(void 0,r):n=r,s=!0,i=Y(function(){a&&n&&e.apply(void 0,n),s=!1,n=void 0},t)},cancel:function(){B(i),s=!1,n=void 0}}}function z(){}function G(e,t,r){if("object"!=typeof e||null===e)return JSON.stringify(e);var n=$(Object.prototype),i=$(Array.prototype),o=$(Object.getPrototypeOf(e)),a=$(e);try{return JSON.stringify(e,t,r)}catch(e){return"<error: unable to serialize object>"}finally{n(),i(),o(),a()}}function $(e){var t=e.toJSON;return t?(delete e.toJSON,function(){e.toJSON=t}):z}function K(e,t){return Object.keys(e).some(function(r){return e[r]===t})}function Q(e){return 0===Object.keys(e).length}function J(e){var t=0,r=W(function(r){t=V(G(r)),e()},200),n=r.throttled,i=r.cancel,o=function(){i(),t=0};return{updateCustomerData:function(e){Q(e)?o():n(e)},resetCustomerData:o,getBytesCount:function(){return t},stop:function(){i()}}}function Z(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function X(e,t,r){if(void 0===r&&(r=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var r=e.has(t);return r||e.add(t),r}}}var t=[];return{hasAlreadyBeenSeen:function(e){var r=t.indexOf(e)>=0;return r||t.push(e),r}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var n=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,n)}if(!r.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=X(i[o],t[o],r);return i}var a="object"===Z(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=X(a[s],t[s],r));return a}}function ee(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=0;n<t.length;n++){var i=t[n];null!=i&&(e=X(e,i))}return e}function et(e,t){void 0===t&&(t=225280);var r=$(Object.prototype),n=$(Array.prototype),i=[],o=new WeakMap,a=er(e,"$",void 0,i,o),s=JSON.stringify(a),l=s?s.length:0;if(l>t)return void en(t,"discarded",e);for(;i.length>0&&l<t;){var u=i.shift(),c=0;
13if(Array.isArray(u.source))for(var f=0;f<u.source.length;f++){var d=er(u.source[f],u.path,f,i,o);if(void 0!==d?l+=JSON.stringify(d).length:l+=4,l+=c,c=1,l>t){en(t,"truncated",e);break}u.target[f]=d}else for(var f in u.source)if(Object.prototype.hasOwnProperty.call(u.source,f)){var d=er(u.source[f],u.path,f,i,o);if(void 0!==d&&(l+=JSON.stringify(d).length+c+f.length+3,c=1),l>t){en(t,"truncated",e);break}u.target[f]=d}}return r(),n(),a}function er(e,t,r,n,i){var o,a=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!a||"object"!=typeof a){return"bigint"==typeof(o=a)?"[BigInt] ".concat(o.toString()):"function"==typeof o?"[Function] ".concat(o.name||"unknown"):"symbol"==typeof o?"[Symbol] ".concat(o.description||o.toString()):o}var s=function(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return"[".concat(t[1],"]")}catch(e){}return"[Unserializable]"}(a);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(e))return"[Reference seen at ".concat(i.get(e),"]");var l=void 0!==r?"".concat(t,".").concat(r):t,u=Array.isArray(a)?[]:{};return i.set(e,l),n.push({source:a,target:u,path:l}),u}function en(e,t,r){w.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),r)}var ei=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:function(){t.observers=t.observers.filter(function(t){return e!==t}),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach(function(t){return t(e)})},e}();function eo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new ei(function(t){var r=e.map(function(e){return e.subscribe(function(e){return t.notify(e)})});return function(){return r.forEach(function(e){return e.unsubscribe()})}})}function ea(e){var t={},r=new ei,n={getContext:function(){return X(void 0,t)},setContext:function(i){"object"===Z(i)?(t=et(i),null==e||e.updateCustomerData(t)):n.clearContext(),r.notify()},setContextProperty:function(n,i){t[n]=et(i),null==e||e.updateCustomerData(t),r.notify()},removeContextProperty:function(n){delete t[n],null==e||e.updateCustomerData(t),r.notify()},clearContext:function(){t={},null==e||e.resetCustomerData(),r.notify()},changeObservable:r};return n}var es={GRANTED:"granted",NOT_GRANTED:"not-granted"};function el(e,t,r,n,i){var o=void 0===i?{}:i,a=o.once,s=o.capture,l=o.passive,u=N(function(t){(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(a&&h(),n(t))}),c=l?{capture:s,passive:l}:s,f=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,d=U(f,"addEventListener");function h(){var e=U(f,"removeEventListener");r.forEach(function(r){return e.call(t,r,u,c)})}return r.forEach(function(e){return d.call(t,e,u,c)}),{stop:h}}var eu=[];function ec(e,t,r,n){var i,o,a=(i=r,o=n,"".concat("_dd_c","_").concat(i,"_").concat(o));function s(){var e=localStorage.getItem(a);return null!==e?JSON.parse(e):{}}eu.push(el(e,window,["storage"],function(e){a===e.key&&t.setContext(s())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(a,JSON.stringify(t.getContext()))}),t.setContext(ee(s(),t.getContext()))}function ef(e){var t=[],r=ew(e,"stack"),n=String(e);return r&&L(r,n)&&(r=r.slice(n.length)),r&&r.split("\n").forEach(function(e){var r=function(e){var t=ep.exec(e);if(t){var r=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),i=eg.exec(t[2]);return n&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}}(e)||function(e){var t=ey.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){var t=em.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){var t=ev.exec(e);if(t){var r=t[3]&&t[3].indexOf(" > eval")>-1,n=eb.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}}(e);
13r&&(!r.func&&r.line&&(r.func="?"),t.push(r))}),{message:ew(e,"message"),name:ew(e,"name"),stack:t}}var ed="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",eh="(?::(\\d+))",ep=RegExp("^\\s*at (.*?) ?\\(".concat(ed).concat(eh,"?").concat(eh,"?\\)?\\s*$"),"i"),eg=new RegExp("\\((\\S*)".concat(eh).concat(eh,"\\)")),ey=RegExp("^\\s*at ?".concat(ed).concat(eh,"?").concat(eh,"??\\s*$"),"i"),em=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ev=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,eb=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function ew(e,t){if("object"==typeof e&&e&&t in e){var r=e[t];return"string"==typeof r?r:void 0}}var e_=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function ek(){var e,t=Error();if(!t.stack)try{throw t}catch(e){}return A(function(){var r=ef(t);r.stack=r.stack.slice(2),e=eS(r)}),e}function eS(e){var t=eE(e);return e.stack.forEach(function(e){var r="?"===e.func?"<anonymous>":e.func,n=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",i=e.line?":".concat(e.line):"",o=e.line&&e.column?":".concat(e.column):"";t+="\n at ".concat(r).concat(n," @ ").concat(e.url).concat(i).concat(o)}),t}function eE(e){return"".concat(e.name||"Error",": ").concat(e.message)}var ex="No stack, consider using an instance of Error";function eT(e){var t,r,n,i,o,a,s=e.stackTrace,l=e.originalError,u=e.handlingStack,c=e.startClocks,f=e.nonErrorPrefix,d=e.source,h=e.handling,p=eC(l),g=(t=s,r=p,n=f,i=l,(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:r?"Empty message":"".concat(n," ").concat(G(et(i)))),y=(o=p,void 0!==(a=s)&&(o||a.stack.length>0&&(a.stack.length>1||void 0!==a.stack[0].url)))?eS(s):ex,m=p?eN(l,d):void 0,v=s?s.name:void 0,b=eO(l);return{startClocks:c,source:d,handling:h,handlingStack:u,originalError:l,type:v,message:g,stack:y,causes:m,fingerprint:b}}function eO(e){return eC(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function eC(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function eN(e,t){for(var r=e,n=[];eC(null==r?void 0:r.cause)&&n.length<10;){var i=ef(r.cause);n.push({message:r.cause.message,source:t,type:null==i?void 0:i.name,stack:i&&eS(i)}),r=r.cause}return n.length?n:void 0}!function(e){e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.REMOTE_CONFIGURATION="remote_configuration",e.LONG_ANIMATION_FRAME="long_animation_frame",e.ANONYMOUS_USER_TRACKING="anonymous_user_tracking",e.ACTION_NAME_MASKING="action_name_masking",e.CONSISTENT_TRACE_SAMPLING="consistent_trace_sampling",e.DELAY_VIEWPORT_COLLECTION="delay_viewport_collection"}(i||(i={}));var eA=new Set,eD="datadoghq.com",eP=["ddsource","ddtags"];function eI(){return new Date().getTime()}function eR(){return performance.now()}function eL(){return{relative:eR(),timeStamp:eI()}}function eM(){return void 0===o&&(o=performance.timing.navigationStart),o}function ej(e,t){var r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function eF(e){return 0!==e&&100*Math.random()<=e}function eV(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function eU(){var e=[];return{add:function(t){e.push(t)>500&&e.splice(0,1)},remove:function(t){eV(e,t)},drain:function(t){e.forEach(function(e){return e(t)}),e.length=0}}}var eY={log:"log",configuration:"configuration",usage:"usage"},eB=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],eq=["ddog-gov.com"],eH=eU(),eW=function(e){eH.add(function(){return eW(e)})};function ez(e,t){D(y.debug,e,t),eW(M({type:eY.log,message:e,status:"debug"},t))}function eG(e,t){eW(M({type:eY.log,status:"error"},function(e){if(eC(e)){var t,r=ef(e);return{error:{kind:r.name,stack:eS(((t=r).stack=t.stack.filter(function(e){return!e.url||eB.some(function(t){return L(e.url,t)})}),t))},message:r.message}}return{error:{stack:ex},message:"".concat("Uncaught"," ").concat(G(e))}}(e),t))}function e$(e){var t=M({},e);return["id","name","email"].forEach(function(e){e in t&&(t[e]=String(t[e]))}),t}function eK(e,t){t.silentMultipleInit||w.error("".concat(e," is already initialized."))}var eQ={AGENT:"agent",CONSOLE:"console",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function eJ(e,t,r){var n=r.getHandler(),i=Array.isArray(n)?n:[n];return eX[e]>=eX[r.getLevel()]&&P(i,t)}var eZ={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},eX=((a={})[eZ.ok]=0,a[eZ.debug]=1,a[eZ.info]=2,a[eZ.notice]=4,a[eZ.warn]=5,a[eZ.error]=6,a[eZ.critical]=7,a[eZ.alert]=8,a[eZ.emerg]=9,a);function e0(e,t){var r=(void 0===t?{}:t).includeMessage;return{stack:e.stack,kind:e.type,message:void 0!==r&&r?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}var e1=function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},e2={console:"console",http:"http"},e3=Object.keys(eZ),e4=function(){function e(e,t,r,n,i,o){void 0===n&&(n=e2.http),void 0===i&&(i=eZ.debug),void 0===o&&(o={}),this.handleLogStrategy=e,this.handlerType=n,this.level=i,this.contextManager=ea(t),this.contextManager.setContext(o),r&&this.contextManager.setContextProperty("logger",{name:r})}return e.prototype.logImplementation=function(e,t,r,n,i){void 0===r&&(r=eZ.info);var o,a=et(t);o=null!=n?ee({error:e0(eT({stackTrace:eC(n)?ef(n):void 0,originalError:n,nonErrorPrefix:"Provided",source:eQ.LOGGER,handling:"handled",startClocks:eL()}),{includeMessage:!0})},a):a,this.handleLogStrategy({message:et(e),context:o,status:r},this,i)},e.prototype.log=function(e,t,r,n){var i;void 0===r&&(r=eZ.info),eJ(r,e2.http,this)&&(i=ek()),this.logImplementation(e,t,r,n,i)},e.prototype.setContext=function(e){this.contextManager.setContext(e)},e.prototype.getContext=function(){return this.contextManager.getContext()},e.prototype.setContextProperty=function(e,t){this.contextManager.setContextProperty(e,t)},e.prototype.removeContextProperty=function(e){this.contextManager.removeContextProperty(e)},e.prototype.clearContext=function(){this.contextManager.clearContext()},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(e){this.level=e},e.prototype.getLevel=function(){return this.level},e1([C],e.prototype,"logImplementation",null),e}();function e5(e){return function(t,r,n){var i;eJ(e,e2.http,this)&&(i=ek()),this.logImplementation(t,r,e,n,i)}}function e8(){var e=j().DatadogEventBridge;if(e)return{getCapabilities:function(){var t;return JSON.parse((null==(t=e.getCapabilities)?void 0:t.call(e))||"[]")},getPrivacyLevel:function(){var t;return null==(t=e.getPrivacyLevel)?void 0:t.call(e)},getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,r,n){e.send(JSON.stringify({eventType:t,event:r,view:n?{id:n}:void 0}))}}}function e6(e){void 0===e&&(e=null==(t=j().location)?void 0:t.hostname);var t,r=e8();return!!r&&r.getAllowedWebViewHosts().some(function(t){var r,n;return e===t||(r=e,n=".".concat(t),r.slice(-n.length)===n)})}function e9(e,t,r,n){var i=(void 0===n?{}:n).computeHandlingStack,o=e[t];if("function"!=typeof o)if(!(t in e&&L(t,"on")))return{stop:z};else o=z;var a=!1,s=function(){if(a)return o.apply(this,arguments);var e,t=I(arguments);A(r,null,[{target:this,parameters:t,onPostCall:function(t){e=t},handlingStack:i?ek():void 0}]);var n=o.apply(this,t);return e&&A(e,null,[n]),n};return e[t]=s,{stop:function(){a=!0,e[t]===s&&(e[t]=o)}}}function e7(e){return function(e,t){var r=function(){if(void 0===s)try{var e=new te("http://test/path");s="http://test/path"===e.href}catch(e){s=!1}return s?te:void 0}();if(r)try{return void 0!==t?new r(e,t):new r(e)}catch(r){throw Error("Failed to construct URL: ".concat(String(r)," ").concat(G({url:e,base:t})))}if(void 0===t&&!/:/.test(e))throw Error("Invalid URL: '".concat(e,"'"));var n=document,i=n.createElement("a");if(void 0!==t){var o=(n=document.implementation.createHTMLDocument("")).createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}(e,location.href).href}e4.prototype.ok=e5(eZ.ok),e4.prototype.debug=e5(eZ.debug),e4.prototype.info=e5(eZ.info),e4.prototype.notice=e5(eZ.notice),e4.prototype.warn=e5(eZ.warn),e4.prototype.error=e5(eZ.error),e4.prototype.critical=e5(eZ.critical),e4.prototype.alert=e5(eZ.alert),e4.prototype.emerg=e5(eZ.emerg);var te=URL;function tt(){return l||(l=new ei(function(e){if(window.fetch)return e9(window,"fetch",function(t){var r,n,i,o,a,s,l,u,c,f,d;return r=t,n=e,i=r.parameters,o=r.onPostCall,a=r.handlingStack,s=i[0],void 0===(u=(l=i[1])&&l.method)&&s instanceof Request&&(u=s.method),c=void 0!==u?String(u).toUpperCase():"GET",f=s instanceof Request?s.url:e7(String(s)),d={state:"start",init:l,input:s,method:c,startClocks:eL(),url:f,handlingStack:a},void(n.notify(d),i[0]=d.input,i[1]=d.init,o(function(e){var t=n,r=e,i=d;function o(e){i.state="resolve",M(i,e),t.notify(i)}r.then(N(function(e){o({response:e,responseType:e.type,status:e.status,isAborted:!1})}),N(function(e){var t,r;o({status:0,isAborted:(null==(r=null==(t=i.init)?void 0:t.signal)?void 0:r.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,error:e})}))}))},{computeHandlingStack:!0}).stop})),l}function tr(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,tr)}var tn=/([\w-]+)\s*=\s*([^;]+)/g;function ti(e,t,r,n){void 0===r&&(r=0);var i=new Date;i.setTime(i.getTime()+r);var o="expires=".concat(i.toUTCString()),a=n&&n.crossSite?"none":"strict",s=n&&n.domain?";domain=".concat(n.domain):"",l=n&&n.secure?";secure":"",u=n&&n.partitioned?";partitioned":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(l).concat(u)}function to(e){var t=document.cookie;for(tn.lastIndex=0;;){var r=tn.exec(t);if(r){if(r[1]===e)return r[2]}else break}}function ta(e){return c||(c=function(e){var t=new Map;for(tn.lastIndex=0;;){var r=tn.exec(e);if(r)t.set(r[1],r[2]);else break}return t}(document.cookie)),c.get(e)}var ts="_dd_s",tl=144e5,tu=9e5,tc=31536e6,tf={COOKIE:"cookie",LO
13CAL_STORAGE:"local-storage"},td=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function th(e){var t,r={isExpired:"1"};return t=i.ANONYMOUS_USER_TRACKING,eA.has(t)&&((null==e?void 0:e.anonymousId)?r.anonymousId=null==e?void 0:e.anonymousId:r.anonymousId=Math.floor(0x20000000000000*Math.random()).toString(36)),r}function tp(e){var t;return void 0!==e.isExpired||!((void 0===(t=e).created||eI()-Number(t.created)<tl)&&(void 0===t.expire||eI()<Number(t.expire)))}function tg(e){e.expire=String(eI()+tu)}function ty(e){return Object.keys(e).map(function(t){return[t,e[t]]}).map(function(e){var t=e[0],r=e[1];return"anonymousId"===t?"aid=".concat(r):"".concat(t,"=").concat(r)}).join("&")}function tm(e){var t={};return e&&(-1!==e.indexOf("&")||td.test(e))&&e.split("&").forEach(function(e){var r=td.exec(e);if(null!==r){var n=r[1],i=r[2];"aid"===n?t.anonymousId=i:t[n]=i}}),t}function tv(e){var t,r,n=((r={}).secure=!!(t=e).useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,r.crossSite=!!t.usePartitionedCrossSiteSessionCookie||!!t.useCrossSiteSessionCookie,r.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(r.domain=function(){if(void 0===f){for(var e="dd_site_test_".concat(tr()),t=window.location.hostname.split("."),r=t.pop();t.length&&!to(e);)ti(e,"test",1e3,{domain:r="".concat(t.pop(),".").concat(r)});ti(e,"",0,{domain:r}),f=r}return f}()),r);return!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(tr()),r="test";ti(t,r,6e4,e);var n=to(t)===r;return ti(t,"",0,e),n}catch(e){return w.error(e),!1}}(n)?void 0:{type:tf.COOKIE,cookieOptions:n}}function tb(){return tm(to(ts))}function tw(){try{var e=tr(),t="".concat("_dd_test_").concat(e);localStorage.setItem(t,e);var r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:tf.LOCAL_STORAGE}:void 0}catch(e){return}}function t_(e){localStorage.setItem(ts,ty(e))}function tk(){return tm(localStorage.getItem(ts))}function tS(e){t_(th(e))}var tE=[];function tx(e,t,r){void 0===r&&(r=0);var n,i,o=t.isLockEnabled,a=t.persistSession,s=t.expireSession,l=function(e){return a(M({},e,{lock:i}))},u=function(){var e=t.retrieveSession(),r=e.lock;return e.lock&&delete e.lock,{session:e,lock:r}};if(d||(d=e),e!==d)return void tE.push(e);if(o&&r>=100)return void tO(t);var c=u();if(o&&(c.lock||(i=tr(),l(c.session),(c=u()).lock!==i)))return void tT(e,t,r);var f=e.process(c.session);if(o&&(c=u()).lock!==i)return void tT(e,t,r);if(f&&(tp(f)?s(f):(tg(f),o?l(f):a(f))),o&&!(f&&tp(f))){if((c=u()).lock!==i)return void tT(e,t,r);a(c.session),f=c.session}null==(n=e.after)||n.call(e,f||c.session),tO(t)}function tT(e,t,r){Y(function(){tx(e,t,r+1)},10)}function tO(e){d=void 0;var t=tE.shift();t&&tx(t,e)}function tC(e,t,r){var n=function(e,t){var r="/api/v2/".concat(t),n=e.proxy;if("string"==typeof n){var i=e7(n);return function(e){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(r,"?").concat(e)))}}if("function"==typeof n)return function(e){return n({path:r,parameters:e})};var o=function(e,t){var r=t.site,n=void 0===r?eD:r,i=t.internalAnalyticsSubdomain;if("logs"===e&&t.usePciIntake&&n===eD)return"pci.browser-intake-datadoghq.com";if(i&&n===eD)return"".concat(i,".").concat(eD);if("dd0g-gov.com"===n)return"http-intake.logs.".concat(n);var o=n.split("."),a=o.pop();return"browser-intake-".concat(o.join("-"),".").concat(a)}(t,e);return function(e){return"https://".concat(o).concat(r,"?").concat(e)}}(e,t);return{build:function(i,o){var a,s,l,u,c,f,d,h,p,g,y;return n((a=e,s=t,l=r,u=i,c=o,f=a.clientToken,d=a.internalAnalyticsSubdomain,h=c.retry,p=c.encoding,g=["sdk_version:".concat("5.35.1"),"api:".concat(u)].concat(l),h&&g.push("retry_count:".concat(h.count),"retry_after:".concat(h.lastFailureStatus)),y=["ddsource=browser","ddtags=".concat(encodeURIComponent(g.join(","))),"dd-api-key=".concat(f),"dd-evp-origin-version=".concat(encodeURIComponent("5.35.1")),"dd-evp-origin=browser","dd-request-id=".concat(tr())],p&&y.push("dd-evp-encoding=".concat(p)),"rum"===s&&y.push("batch_time=".concat(eI())),d&&y.reverse(),y.join("&")))},urlPrefix:n(""),trackType:t}}function tN(e,t){var r,n=200-e.length-1;(t.length>n||(r=t,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(r)))&&w.warn("".concat(e," value doesn't meet tag requirements and will be sanitized. ").concat(S," ").concat(_,"/getting_started/tagging/#defining-tags"));var i=t.replace(/,/g,"_");return"".concat(e,":").concat(i)}function tA(e,t){return null==e||"string"==typeof e||(w.error("".concat(t," must be defined as a string")),!1)}function tD(e,t){return void 0===e||!!("number"==typeof e&&e>=0&&e<=100)||(w.error("".concat(t," Sample Rate should be a number between 0 and 100")),!1)}var tP={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function tI(e){return M({startClocks:eL(),source:eQ.REPORT,handling:"unhandled"},e)}function tR(e,t,r,n,i){return r?eS({name:e,message:t,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=i?i:void 0}]}):void 0}function tL(e,t,r){var n;return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every(function(e){return P(t,e)})?"all"===e?t:(n=new Set,e.forEach(function(e){return n.add(e)}),I(n)):void w.error("".concat(r,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}var tM="logs",tj={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function tF(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||ta("datadog-synthetics-injects-rum"))}var tV=1/0,tU=[];function tY(e){return eF(e.sessionSampleRate)?"1":"0"}var tB=!1;function tq(e){var t=window;if(tF()){var r,n,i=o(t.DD_RUM_SYNTHETICS);return i||tB||(tB=!0,ez("Logs sent before RUM is injected by the synthetics worker",{testId:"string"==typeof(r=window._DATADOG_SYNTHETICS_PUBLIC_ID||ta("datadog-synthetics-public-id"))?r:void 0,resultId:"string"==typeof(n=window._DATADOG_SYNTHETICS_RESULT_ID||ta("datadog-synthetics-result-id"))?n:void 0})),i}return o(t.DD_RUM);function o(t){if(t&&t.getInternalContext)return t.getInternalContext(e)}}var tH={},tW=((h={})[y.log]=eZ.info,h[y.debug]=eZ.debug,h[y.info]=eZ.info,h[y.warn]=eZ.warn,h[y.error]=eZ.error,h),tz=new WeakMap;function tG(e){var t=e.target,r=e.parameters,n=r[0],i=r[1];tz.set(t,{state:"open",method:String(n).toUpperCase(),url:e7(String(i))})}function t$(e){var t=e.target,r=tz.get(t);r&&(r.isAborted=!0)}function tK(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}var tQ=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var r=this.callbacks[e];r&&r.forEach(function(e){return e(t)})},e.prototype.subscribe=function(e,t){var r=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){r.callbacks[e]=r.callbacks[e].filter(function(e){return t!==e})}}},e}(),tJ=((g={})[eZ.ok]=y.debug,g[eZ.debug]=y.debug,g[eZ.info]=y.info,g[eZ.notice]=y.info,g[eZ.warn]=y.warn,g[eZ.error]=y.error,g[eZ.critical]=y.error,g[eZ.alert]=y.error,g[eZ.emerg]=y.error,g);function tZ(e){var t=e.encoder,r=e.request,n=e.flushController,i=e.messageBytesLimit,o={},a=n.flushObservable.subscribe(function(e){return function(e){var n,i=R(o).join("\n");o={};var a=(n=e.reason,P(R(tj),n)),s=a?r.sendOnExit:r.send;if(a&&t.isAsync){var l=t.finishSync();l.outputBytesCount&&s(tX(l));
13var u=[l.pendingData,i].filter(Boolean).join("\n");u&&s({data:u,bytesCount:V(u)})}else i&&t.write(t.isEmpty?i:"\n".concat(i)),t.finish(function(e){s(tX(e))})}(e)});function s(e,r){var a,s,l=G(e),u=t.estimateEncodedBytesCount(l);if(u>=i)return void w.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(i,"KB. ").concat(S," ").concat(k,"/#technical-limitations"));void 0!==r&&void 0!==o[r]&&(a=o[r],delete o[r],s=t.estimateEncodedBytesCount(a),n.notifyAfterRemoveMessage(s)),n.notifyBeforeAddMessage(u),void 0!==r?(o[r]=l,n.notifyAfterAddMessage()):t.write(t.isEmpty?l:"\n".concat(l),function(e){n.notifyAfterAddMessage(e-u)})}return{flushController:n,add:s,upsert:s,stop:a.unsubscribe}}function tX(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}var t0=3145728;function t1(e,t,r,n,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?t2(e,t,r,{onSuccess:function(){return t3(0,t,r,n,i)},onFailure:function(){t.queuedPayloads.enqueue(e),function e(t,r,n,i){2===t.transportStatus&&Y(function(){t2(t.queuedPayloads.first(),t,r,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,t3(1,t,r,n,i)},onFailure:function(){t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,r,n,i)}})},t.currentBackoffTime)}(t,r,n,i)}}):t.queuedPayloads.enqueue(e)}function t2(e,t,r,n){var i=n.onSuccess,o=n.onFailure;t.bandwidthMonitor.add(e),r(e,function(r){var n;t.bandwidthMonitor.remove(e),"opaque"!==(n=r).type&&(0===n.status&&!navigator.onLine||408===n.status||429===n.status||n.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:r.status},o()):(t.transportStatus=0,i())})}function t3(e,t,r,n,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:"Reached max ".concat(n," events size queued for upload: ").concat(t0/1048576,"MiB"),source:eQ.AGENT,startClocks:eL()}),t.queueFullReported=!0);var o=t.queuedPayloads;for(t.queuedPayloads=t4();o.size()>0;)t1(o.dequeue(),t,r,n,i)}function t4(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=t0}}}var t5=!1;function t8(e,t,r){var n=new XMLHttpRequest;n.open("POST",e,!0),t instanceof Blob&&n.setRequestHeader("Content-Type",t.type),el({allowUntrustedEvents:!0},n,["loadend"],function(){null==r||r({status:n.status})},{once:!0}),n.send(t)}function t6(e,t,r,n,i,o,a){void 0===a&&(a=tZ);var s=u(e,t),l=r&&u(e,r);function u(e,t){var r,s,l,u=t.endpoint,c=t.encoder;return a({encoder:c,request:(r=e.batchBytesLimit,s={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add:function(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove:function(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:t4(),queueFullReported:!1},l=function(e,t){var n,i,o,a;return n=u,i=r,o=e,a=t,void(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}}()&&o.bytesCount<i?fetch(n.build("fetch",o),{method:"POST",body:o.data,keepalive:!0,mode:"cors"}).then(N(function(e){return null==a?void 0:a({status:e.status,type:e.type})}),N(function(){t8(n.build("xhr",o),o.data,a)})):t8(n.build("xhr",o),o.data,a))},{send:function(e){t1(e,s,l,u.trackType,n)},sendOnExit:function(e){!function(e,t,r){if(navigator.sendBeacon&&r.bytesCount<t)try{var n,i=e.build("beacon",r);if(navigator.sendBeacon(i,r.data))return}catch(e){n=e,t5||(t5=!0,eG(n))}t8(e.build("xhr",r),r.data)}(u,r,e)}}),flushController:function(e){var t,r=e.messagesLimit,n=e.bytesLimit,i=e.durationLimit,o=e.pageExitObservable,a=e.sessionExpireOb
13servable,s=o.subscribe(function(e){return d(e.reason)}),l=a.subscribe(function(){return d("session_expire")}),u=new ei(function(){return function(){s.unsubscribe(),l.unsubscribe()}}),c=0,f=0;function d(e){if(0!==f){var t=f,r=c;f=0,c=0,h(),u.notify({reason:e,messagesCount:t,bytesCount:r})}}function h(){B(t),t=void 0}return{flushObservable:u,get messagesCount(){return f},notifyBeforeAddMessage:function(e){c+e>=n&&d("bytes_limit"),f+=1,c+=e,void 0===t&&(t=Y(function(){d("duration_limit")},i))},notifyAfterAddMessage:function(e){void 0===e&&(e=0),c+=e,f>=r?d("messages_limit"):c>=n&&d("bytes_limit")},notifyAfterRemoveMessage:function(e){c-=e,0==(f-=1)&&h()}}}({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageExitObservable:i,sessionExpireObservable:o}),messageBytesLimit:e.messageBytesLimit})}return{flushObservable:s.flushController.flushObservable,add:function(e,t){void 0===t&&(t=!0),s.add(e),l&&t&&l.add(r.transformMessage?r.transformMessage(e):e)},upsert:function(e,t){s.upsert(e,t),l&&l.upsert(r.transformMessage?r.transformMessage(e):e,t)},stop:function(){s.stop(),l&&l.stop()}}}function t9(){var e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write:function(r,n){var i=V(r);t+=i,e+=r,n&&n(i)},finish:function(e){e(this.finishSync())},finishSync:function(){var r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:function(e){return e.length}}}var t7=function(e){var t,r,n,o=function(e){void 0===e&&(e=2);var t=new Map,r=!1;
13function n(n){if(void 0===n&&(n=0),!r&&0!==e){var i,o=2===e?3072:16384,a=n;t.forEach(function(e){a+=e.getBytesCount()}),a>o&&(i=o,w.warn("Customer data exceeds the recommended ".concat(i/1024,"KiB threshold. ").concat(S," ").concat(k,"/#customer-data-exceeds-the-recommended-threshold-warning")),r=!0)}}return{createDetachedTracker:function(){var e=J(function(){return n(e.getBytesCount())});return e},getOrCreateTracker:function(e){return t.has(e)||t.set(e,J(n)),t.get(e)},setCompressionStatus:function(t){0===e&&(e=t,n())},getCompressionStatus:function(){return e},stop:function(){t.forEach(function(e){return e.stop()}),t.clear()}}}(),a=ea(o.getOrCreateTracker(2)),s=ea(o.getOrCreateTracker(1)),l={tryToInit:function(e){t||(t=e)},update:function(e){t=e,r.notify()},isGranted:function(){return t===es.GRANTED},observable:r=new ei};function u(){return{view:{referrer:document.referrer,url:window.location.href},context:a.getContext(),user:s.getContext()}}var c=function(e,t,r){var n,o,a=eU(),s=t.observable.subscribe(l);function l(){if(o&&n&&t.isGranted()){s.unsubscribe();var e=r(n,o);a.drain(e)}}return{init:function(e){if(!e)return void w.error("Missing configuration");if(Array.isArray(r=e.enableExperimentalFeatures)&&r.filter(function(e){return K(i,e)}).forEach(function(e){eA.add(e)}),e6()&&(e=M({},e,{clientToken:"empty"})),n=e,o)return void eK("DD_LOGS",e);var r,a=function(e){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&w.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");var t=function(e){var t,r,n,i,o,a,s,l,u,c,f,d,h,p,g,y;if(!e||!e.clientToken)return void w.error("Client Token is not configured, we will not send any data.");if((!(a=e.site)||"string"!=typeof a||/(datadog|ddog|datad0g|dd0g)/.test(a)||(w.error("Site should be a valid Datadog site. ".concat(S," ").concat(_,"/getting_started/site/.")),0))&&tD(e.sessionSampleRate,"Session")&&tD(e.telemetrySampleRate,"Telemetry")&&tD(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&tD(e.telemetryUsageSampleRate,"Telemetry Usage")&&tA(e.version,"Version")&&tA(e.env,"Env")&&tA(e.service,"Service")){if(void 0!==e.trackingConsent&&!K(es,e.trackingConsent))return void w.error('Tracking Consent should be either "granted" or "not-granted"');return M({beforeSend:e.beforeSend&&E(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:function(e){switch(e.sessionPersistence){case tf.COOKIE:return tv(e);case tf.LOCAL_STORAGE:return tw();case void 0:var t=tv(e);return!t&&e.allowFallbackToLocalStorage&&(t=tw()),t;default:w.error("Invalid session persistence '".concat(String(e.sessionPersistence),"'"))}}(e),sessionSampleRate:null!=(t=e.sessionSampleRate)?t:100,telemetrySampleRate:null!=(r=e.telemetrySampleRate)?r:20,telemetryConfigurationSampleRate:null!=(n=e.telemetryConfigurationSampleRate)?n:5,telemetryUsageSampleRate:null!=(i=e.telemetryUsageSampleRate)?i:5,service:e.service||void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!=(o=e.trackingConsent)?o:es.GRANTED,storeContextsAcrossPages:!!e.storeContextsAcrossPages,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},(s=e.site||eD,l=e.env,u=e.service,c=e.version,f=e.datacenter,d=[],l&&d.push(tN("env",l)),u&&d.push(tN("service",u)),c&&d.push(tN("version",c)),f&&d.push(tN("datacenter",f)),h=d,p={logsEndpointBuilder:tC(g=e,"logs",y=h),rumEndpointBuilder:tC(g,"rum",y),sessionReplayEndpointBuilder:tC(g,"replay",y)},M({replica:function(e,t){if(e.replica){var r=M({},e,{site:eD,clientToken:e.replica.clientToken}),n={logsEndpointBuilder:tC(r,"logs",t),rumEndpointBuilder:tC(r,"rum",t)};return M({applicationId:e.replica.applicationId},n)}}(e,h),site:s},p)))}}(e),r=tL(e.forwardConsoleLogs,R(y),"Forward Console Logs"),n=tL(e.forwardReports,R(tP),"Forward Reports");if(t&&r&&n)return e.forwardErrorsToLogs&&!P(r,y.error)&&r.push(y.error),M({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:r,forwardReports:n,requestErrorResponseLengthLimit:32768,sendLogsAfterSessionExpiration:!!e.sendLogsAfterSessionExpiration},t)}(e);a&&(o=a,tt().subscribe(z),t.tryToInit(a.trackingConsent),l())},get initConfiguration(){return n},getInternalContext:z,handleLog:function(t,r,n,i,o){void 0===i&&(i=e()),void 0===o&&(o=eI()),a.add(function(e){return e.handleLog(t,r,n,i,o)})}}}(u,l,function(t,r){t.storeContextsAcrossPages&&(ec(r,a,tM,2),ec(r,s,tM,1));var n=e(t,r,u,l);return c=M({init:function(e){eK("DD_LOGS",e)},initConfiguration:t},n),n}),f={};return Object.defineProperty(n=M({version:"5.35.1",onReady:function(e){e()}},{logger:new e4(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c.handleLog.apply(c,e)},o.createDetachedTracker()),init:N(function(e){return c.init(e)}),setTrackingConsent:N(function(e){l.update(e),eW({type:eY.usage,usage:{feature:"set-tracking-consent",tracking_consent:e}})}),getGlobalContext:N(function(){return a.getContext()}),setGlobalContext:N(function(e){return a.setContext(e)}
13),setGlobalContextProperty:N(function(e,t){return a.setContextProperty(e,t)}),removeGlobalContextProperty:N(function(e){return a.removeContextProperty(e)}),clearGlobalContext:N(function(){return a.clearContext()}),createLogger:N(function(e,t){return void 0===t&&(t={}),f[e]=new e4(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c.handleLog.apply(c,e)},o.createDetachedTracker(),et(e),t.handler,t.level,et(t.context)),f[e]}),getLogger:N(function(e){return f[e]}),getInitConfiguration:N(function(){return X(void 0,c.initConfiguration)}),getInternalContext:N(function(e){return c.getInternalContext(e)}),setUser:N(function(e){var t;(t="object"===Z(e))||w.error("Unsupported user:",e),t&&s.setContext(e$(e))}),getUser:N(function(){return s.getContext()}),setUserProperty:N(function(e,t){var r,n=e$(((r={})[e]=t,r))[e];s.setContextProperty(e,n)}),removeUserProperty:N(function(e){return s.removeContextProperty(e)}),clearUser:N(function(){return s.clearContext()})}),"_setDebug",{get:function(){return O},enumerable:!1}),n}(function(e,t,r,o){var a=new tQ,s=[];a.subscribe(1,function(e){return ej("logs",e)});var l=function(e){a.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:eQ.AGENT,status:eZ.error}}),ez("Error reported to customer",{"error.message":e.message})},c=new ei(function(e){var r=el(t,window,["visibilitychange","freeze"],function(t){"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:tj.HIDDEN}):"freeze"===t.type&&e.notify({reason:tj.FROZEN})},{capture:!0}).stop,n=el(t,window,["beforeunload"],function(){e.notify({reason:tj.UNLOADING})},void 0).stop;return function(){r(),n()}}),f=!t.sessionStoreStrategyType||e6()||tF()?(S="1"===tY(t)?{}:void 0,{findTrackedSession:function(){return S},expireObservable:new ei}):{findTrackedSession:function(e,t){void 0===t&&(t={returnInactive:!1});var r=E.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id}:void 0},expireObservable:(E=function(e,t,r,n){var o,a,s,l,c,f,d,h,p,g,y,m,v=new ei,b=new ei,w=function(e,t,r){var n,o=new ei,a=new ei,s=new ei,l=e.type===tf.COOKIE?function(e){var t,r,n,o,a={isLockEnabled:1===(null!=u?u:(void 0===t&&(t=window),n=t.navigator.userAgent,u=t.chrome||/HeadlessChrome/.test(n)?1:(null==(r=t.navigator.vendor)?void 0:r.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?2:3*!t.document.documentMode)),persistSession:(o=e,function(e){ti(ts,ty(e),tu,o)}),retrieveSession:tb,expireSession:function(t){var r,n;return r=e,void ti(ts,ty(th(t)),(n=i.ANONYMOUS_USER_TRACKING,eA.has(n))?tc:tl,r)}};if(!ta(ts)){var s=ta("_dd"),l=ta("_dd_r"),c=ta("_dd_l"),f={};s&&(f.id=s),c&&/^[01]$/.test(c)&&(f.logs=c),l&&/^[012]$/.test(l)&&(f.rum=l),Q(f)||(tg(f),a.persistSession(f))}return a}(e.cookieOptions):{isLockEnabled:!1,persistSession:t_,retrieveSession:tk,expireSession:tS},c=l.expireSession,f=q(function(){tx({process:function(e){return tp(e)?th(e):void 0},after:g},l)},1e3);y();var d=W(function(){tx({process:function(e){if(!Q(e)){var n=g(e);return function(e){if(!Q(e)){var n=r(e[t]),i=n.trackingType,o=n.isTracked;e[t]=i,delete e.isExpired,o&&!e.id&&(e.id=tr(),e.created=String(eI()))}}(n),n}},after:function(e){Q(e)||m()||(n=e,o.notify()),n=e}},l)},1e3),h=d.throttled,p=d.cancel;function g(e){var r;return tp(e)&&(e=th(e)),m()&&((r=e,n.id!==r.id||n[t]!==r[t])?(n=th(n),a.notify()):(s.notify({previousState:n,newState:e}),n=e)),e}function y(){tx({process:function(e){if(Q(e))return th(e)},after:function(e){n=e}},l)}function m(){return void 0!==n[t]}return{expandOrRenewSession:h,expandSession:function(){tx({process:function(e){return m()?g(e):void 0}},l)},getSession:function(){return n},renewObservable:o,expireObservable:a,sessionStateUpdateObservable:s,restartSession:y,expire:function(){p(),c(n),g(th(n))},stop:function(){H(f)},updateSessionState:function(e){tx({process:function(t){return M({},t,e)},after:g},l)}}}(e.sessionStoreStrategyType,t,r);tU.push(function(){return w.stop()});var _=(p=(h={expireDelay:tl}).expireDelay,g=h.maxEntries,y=[],m=q(function(){for(var e=eR()-p;y.length>0&&y[y.length-1].endTime<e;)y.pop()},6e4),{add:function(e,t){var r={value:e,startTime:t,endTime:tV,remove:function(){eV(y,r)},close:function(e){r.endTime=e}};return g&&y.length>=g&&y.pop(),y.unshift(r),r},find:function(e,t){void 0===e&&(e=tV),void 0===t&&(t={returnInactive:!1});for(var r=0,n=y;r<n.length;r++){var i=n[r];if(i.startTime<=e){if(t.returnInactive||e<=i.endTime)return i.value;break}}},closeActive:function(e){var t=y[0];t&&t.endTime===tV&&t.close(e)},findAll:function(e,t){void 0===e&&(e=tV),void 0===t&&(t=0);var r=e+t;return y.filter(function(t){return t.startTime<=r&&e<=t.endTime}).map(function(e){return e.value})},reset:function(){y=[]},stop:function(){H(m)}});function k(){return{id:w.getSession().id,trackingType:w.getSession()[t],isReplayForced:!!w.getSession().forcedReplay,anonymousId:w.getSession().anonymousId}}return tU.push(function(){return _.stop()}),w.renewObservable.subscribe(function(){_.add(k(),eR()),v.notify()}),w.expireObservable.subscribe(function(){b.notify(),_.closeActive(eR())}),w.expandOrRenewSession(),_.add(k(),{relative:0,timeStamp:eM()}.relative),n.observable.subscribe(function(){n.isGranted()?w.expandOrRenewSession():w.expire()}),o=el(e,window,["click","touchstart","keydown","scroll"],function(){n.isGranted()&&w.expandOrRenewSession()},{capture:!0,passive:!0}).stop,tU.push(o),a=e,s=function(){return w.expandSession()},l=function(){"visible"===document.visibilityState&&s()},c=el(a,document,["visibilitychange"],l,void 0).stop,tU.push(c),f=q(l,6e4),tU.push(function(){H(f)}),d=el(e,window,["resume"],function(){return w.restartSession()},{capture:!0}).stop,tU.push(d),{findSession:function(e,t){return _.find(e,t)}
13,renewObservable:v,expireObservable:b,sessionStateUpdateObservable:w.sessionStateUpdateObservable,expire:w.expire,updateSessionState:w.updateSessionState}}(t,"logs",function(e){var r,n,i,o;return r=t,{trackingType:o="0"===(i=n=e)||"1"===i?n:tY(r),isTracked:"1"===o}},o)).expireObservable},d=function(e,t,r,i,o){var a,s,l,u,c,f,d,h,p,g,y,m=(a="browser-logs-sdk",s=t,c=new ei,f=new Set,d=!P(eq,s.site)&&eF(s.telemetrySampleRate),h=((l={})[eY.log]=d,l[eY.configuration]=d&&eF(s.telemetryConfigurationSampleRate),l[eY.usage]=d&&eF(s.telemetryUsageSampleRate),l),p={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},eW=function(e){var t=G(e);if(h[e.type]&&f.size<s.maxTelemetryEventsPerPage&&!f.has(t)){var r,n,i,o,l,d=(r=a,n=e,i=p,ee({type:"telemetry",date:eI(),service:r,version:"5.35.1",source:"browser",_dd:{format_version:2},telemetry:ee(n,{runtime_env:i,connectivity:{status:(l=window.navigator).onLine?"connected":"not_connected",interfaces:l.connection&&l.connection.type?[l.connection.type]:void 0,effective_type:null==(o=l.connection)?void 0:o.effectiveType},sdk_setup:"npm"}),experimental_features:I(eA)},void 0!==u?u():{}));c.notify(d),ej("telemetry",d),f.add(t)}},n=eG,{setContextProvider:function(e){u=e},observable:c,enabled:d});m.setContextProvider(function(){var e,t,r,n,i,a;return{application:{id:null==(e=tq())?void 0:e.application_id},session:{id:null==(t=o.findTrackedSession())?void 0:t.id},view:{id:null==(n=null==(r=tq())?void 0:r.view)?void 0:n.id},action:{id:null==(a=null==(i=tq())?void 0:i.user_action)?void 0:a.id}}});var v=[];if(e6()){var b=e8(),w=m.observable.subscribe(function(e){return b.send("internal_telemetry",e)});v.push(function(){return w.unsubscribe()})}else{var _=t6(t,{endpoint:t.rumEndpointBuilder,encoder:t9()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:t9()},r,i,o.expireObservable);v.push(function(){return _.stop()});var k=m.observable.subscribe(function(e){return _.add(e,"datad0g.com"===t.site)});v.push(function(){return k.unsubscribe()})}return eH.drain(),g={session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_cross_site_session_cookie:e.useCrossSiteSessionCookie,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,session_persistence:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent},y=M({forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,send_logs_after_session_expiration:e.sendLogsAfterSessionExpiration},g),eW({type:eY.configuration,configuration:y}),{telemetry:m,stop:function(){v.forEach(function(e){return e()})}}}(e,t,l,c,f).stop;s.push(function(){return d()}),function(e,t){var r;if(e.forwardErrorsToLogs)(!p&&(r=e,p=new ei(function(e){var t=e9(XMLHttpRequest.prototype,"open",tG).stop,n=e9(XMLHttpRequest.prototype,"send",function(t){!function(e,t,r){var n=e.target,i=e.handlingStack,o=tz.get(n);if(o){o.state="start",o.startClocks=eL(),o.isAborted=!1,o.xhr=n,o.handlingStack=i;var a=!1,s=e9(n,"onreadystatechange",function(){n.readyState===XMLHttpRequest.DONE&&l()}).stop,l=function(){if(u(),s(),!a){var e;a=!0,o.state="complete",e=o.startClocks.timeStamp,o.duration=eI()-e,o.status=n.status,r.notify(M({},o))}},u=el(t,n,["loadend"],l,void 0).stop;r.notify(o)}}(t,r,e)},{computeHandlingStack:!0}).stop,i=e9(XMLHttpRequest.prototype,"abort",t$).stop;return function(){t(),n(),i()}})),p).subscribe(function(e){"complete"===e.state&&n("xhr",e)}),tt().subscribe(function(e){"resolve"===e.state&&n("fetch",e)});function n(r,n){var i,o,a,s,l,u,c,f,d,h,p,g,y;function m(e){var i={isAborted:n.isAborted,handlingStack:n.handlingStack};t.notify(0,{rawLogsEvent:{message:"".concat("xhr"===r?"XHR":"Fetch"," error ").concat(n.method," ").concat(n.url),date:n.startClocks.timeStamp,error:{stack:e||"Failed to load",handling:void 0},http:{method:n.method,status_code:n.status,url:n.url},status:eZ.error,origin:eQ.NETWORK},domainContext:i})}i=n.url,!eP.every(function(e){return P(i,e)})&&(0===(o=n).status&&"opaque"!==o.responseType||n.status>=500)&&("xhr"in n?(a=n.xhr,s=e,m("string"==typeof a.response?tK(a.response,s):a.response)):n.response?(l=n.response,u=e,c=m,(f=function(e){try{return e.clone()}catch(e){return}}(l))&&f.body?window.TextDecoder?(d=f.body,h=u.requestErrorResponseLengthLimit,p=function(e,t){e?c("Unable to retrieve response: ".concat(e)):c(t)},function(e,t,r){var n=e.getReader(),i=[],o=0;function a(){if(n.cancel().catch(z),r.collectStreamBody){if(1===i.length)s=i[0];else{var e,a,s=new Uint8Array(o),l=0;
13i.forEach(function(e){s.set(e,l),l+=e.length})}e=s.slice(0,r.bytesLimit),a=s.length>r.bytesLimit}t(void 0,e,a)}!function e(){n.read().then(N(function(t){if(t.done)return void a();r.collectStreamBody&&i.push(t.value),(o+=t.value.length)>r.bytesLimit?a():e()}),N(function(e){return t(e)}))}()}(d,function(e,t,r){if(e)p(e);else{var n=new TextDecoder().decode(t);r&&(n+="..."),p(void 0,n)}},{bytesLimit:h,collectStreamBody:!0})):f.text().then(N(function(e){return c(tK(e,u))}),N(function(e){return c("Unable to retrieve response: ".concat(e))})):c()):n.error&&(g=n.error,y=e,m(tK(eS(ef(g)),y))))}}(t,a),function(e,t){if(e.forwardErrorsToLogs){var r,n,i,o,a,s=new ei;(o=(r=i=function(e,t){var r=eT({stackTrace:e,originalError:t,startClocks:eL(),nonErrorPrefix:"Uncaught",source:eQ.SOURCE,handling:"unhandled"});s.notify(r)},e9(window,"onerror",function(e){var t,n,i,o,a,s,l=e.parameters,u=l[0],c=l[1],f=l[2],d=l[3],h=l[4];if(eC(h))s=ef(h);else{s={name:(t=u,"[object String]"===({}).toString.call(t)&&(i=(n=e_.exec(t))[1],o=n[2]),a={name:i,message:o}).name,message:a.message,stack:[{url:c,column:d,line:f}]}}r(s,null!=h?h:u)})).stop,a=(n=i,e9(window,"onunhandledrejection",function(e){var t=e.parameters[0].reason||"Empty reason";n(ef(t),t)})).stop,{stop:function(){o(),a()}}).stop,s.subscribe(function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:e0(e),origin:eQ.SOURCE,status:eZ.error}})})}}(t,a),g=t,b=a,(w=g.forwardConsoleLogs.map(function(e){var t;return tH[e]||(tH[e]=(t=e,new ei(function(e){var r=m[t];return m[t]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r.apply(console,n);var o=ek();A(function(){e.notify(function(e,t,r){var n,i=e.map(function(e){var t;return"string"==typeof(t=e)?et(t):eC(t)?eE(ef(t)):G(et(t),void 0,2)}).join(" ");if(t===y.error){var o=function(e,t){for(var r=0;r<e.length;r+=1){var n=e[r];if(t(n,r))return n}}(e,eC);n={stack:o?eS(ef(o)):void 0,fingerprint:eO(o),causes:o?eN(o,"console"):void 0,startClocks:eL(),message:i,source:eQ.CONSOLE,handling:"handled",handlingStack:r}}return{api:t,message:i,error:n,handlingStack:r}}(n,t,o))})},function(){m[t]=r}}))),tH[e]}),eo.apply(void 0,w)).subscribe(function(e){var t={rawLogsEvent:{date:eI(),message:e.message,origin:eQ.CONSOLE,error:e.error&&e0(e.error),status:tW[e.api]},domainContext:{handlingStack:e.handlingStack}};b.notify(0,t)}),(x=t.forwardReports,T=[],P(x,tP.cspViolation)&&T.push((_=t,new ei(function(e){return el(_,document,["securitypolicyviolation"],function(t){e.notify(function(e){var t,r,n,i="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return tI({type:e.effectiveDirective,message:"".concat(tP.cspViolation,": ").concat(i),originalError:e,csp:{disposition:e.disposition},stack:tR(e.effectiveDirective,e.originalPolicy?"".concat(i,' of the policy "').concat((t=e.originalPolicy,n=(r=t.charCodeAt(99))>=55296&&r<=56319?101:100,t.length<=n?t:"".concat(t.slice(0,n)).concat("...")),'"'):"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(t))},void 0).stop}))),(O=x.filter(function(e){return e!==tP.cspViolation})).length&&T.push((k=O,new ei(function(e){if(window.ReportingObserver){var t=N(function(t,r){return t.forEach(function(t){var r,n,i;return e.notify((n=(r=t).type,tI({type:(i=r.body).id,message:"".concat(n,": ").concat(i.message),originalError:r,stack:tR(i.id,i.message,i.sourceFile,i.lineNumber,i.columnNumber)})))})}),r=new window.ReportingObserver(t,{types:k,buffered:!0});return r.observe(),function(){r.disconnect()}}}))),eo.apply(void 0,T)).subscribe(function(e){var t,r,n,i=e.message,o="deprecation"===e.originalError.type?eZ.warn:eZ.error;o===eZ.error?n=e0(e):e.stack&&(i+=" Found in ".concat((t=e.stack,null==(r=/@ (.+)/.exec(t))?void 0:r[1]))),a.notify(0,{rawLogsEvent:{date:eI(),message:i,origin:eQ.REPORT,error:n,status:o}})});var h={handleLog:function(e,t,r,n,i){var o,s,l,u,c=ee(t.getContext(),e.context);if(eJ(e.status,e2.console,t)&&(o=e,s=c,l=o.status,u=o.message,v[tJ[l]].call(m,u,s)),eJ(e.status,e2.http,t)){var f={rawLogsEvent:{date:i||eI(),message:e.message,status:e.status,origin:eQ.LOGGER},messageContext:c,savedCommonContext:n};r&&(f.domainContext={handlingStack:r}),a.notify(0,f)}}}.handleLog;if(C=e3.concat(["custom"]),D={}
13,C.forEach(function(e){var r,n,i;D[e]=(r=t.eventRateLimiterThreshold,n=0,i=!1,{isLimitReached:function(){if(0===n&&Y(function(){n=0},6e4),(n+=1)<=r||i)return i=!1,!1;if(n===r+1){i=!0;try{l({message:"Reached max number of ".concat(e,"s by minute: ").concat(r),source:eQ.AGENT,startClocks:eL()})}finally{i=!1}}return!0}})}),a.subscribe(0,function(e){var n,i,o=e.rawLogsEvent,s=e.messageContext,l=e.savedCommonContext,u=e.domainContext,c=o.date-eM(),d=f.findTrackedSession(c);if(d||t.sendLogsAfterSessionExpiration&&f.findTrackedSession(c,{returnInactive:!0})){var h=(void 0===l?void 0:l)||r(),p=ee({service:t.service,session_id:d?d.id:void 0,session:d?{id:d.id}:void 0,usr:Q(h.user)?void 0:h.user,view:h.view},h.context,tq(c),o,void 0===s?void 0:s);(null==(n=t.beforeSend)?void 0:n.call(t,p,u))===!1||p.origin!==eQ.AGENT&&(null!=(i=D[p.status])?i:D.custom).isLimitReached()||a.notify(1,p)}}),e6())R=e8(),a.subscribe(1,function(e){R.send("log",e)});else{var g,b,w,_,k,S,E,x,T,O,C,D,R,L,j=(L=t6(t,{endpoint:t.logsEndpointBuilder,encoder:t9()},t.replica&&{endpoint:t.replica.logsEndpointBuilder,encoder:t9()},l,c,f.expireObservable),a.subscribe(1,function(e){L.add(e)}),L).stop;s.push(function(){return j()})}return{handleLog:h,getInternalContext:({get:function(e){var t=f.findTrackedSession(e);if(t)return{session_id:t.id}}}).get,stop:function(){s.forEach(function(e){return e()})}}});!function(e,t,r){var n=e[t];n&&!n.q&&n.version&&w.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=r,n&&n.q&&n.q.forEach(function(e){return E(e,"onReady callback threw an error:")()})}(j(),"DD_LOGS",t7)},66910:(e,t,r)=>{"use strict";r.d(t,{HQ:()=>l,JG:()=>s,ct:()=>a,s6:()=>u});var n=r(80594),i=r(98487),o=r(8284);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,86,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function l(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,87,r),n||null;default:return null}}function u(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},67335:(e,t,r)=>{"use strict";function n(e,t){return"https://graphql.contentful.com/content/v1/spaces/".concat(e,"/environments/").concat(t)}r.d(t,{S:()=>n})},67384:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,r(63195).__exportStar)(r(44280),t)},67952:(e,t,r)=>{"use strict";r.d(t,{l:()=>l});var n,i=r(77252),o=r(31650),a=r(98487),s=o.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function l(){(0,a.V1)("createContext"in(n||(n=r.t(i,2))),54);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},70969:(e,t,r)=>{"use strict";r.d(t,{D:()=>ep});var n=r(80594),i=r(98487),o=r(3160),a=r(54066),s=r(51631),l=r(42096),u=r(14596),c=r(89835),f=r(33821),d=r(16008),h=r(81694),p=r(78079),g=r(72119),y=r(31650),m=r(17836),v=r(43129),b=r(74143),w=r(37935),_=r(66910),k=r(50488),S=r(27217),E=r(99273),x=r(50831),T=Object.create(null),O=function(){return T},C=Object.create(null),N=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,k.G)((0,p.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,p.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,p.WU)(e);if((0,p.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,p.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),x.$3.call(this.data,e)){var r=this.data[e];if(r&&x.$3.call(r,t))return r[t]}return"__typename"===t&&x.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof P?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),x.$3.call(this.data,e))?this.data[e]:this instanceof P?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,p.A_)(e)&&(e=e.__ref),(0,p.A_)(t)&&(t=t.__ref);
13var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,2);var s=new b.ZI(R).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var l=Object.create(null);o||(l.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){l[e]=1;var t=(0,x.iJ)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(l[t]=1),void 0!==s[e]||n instanceof P||delete s[e]}}),l.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete l.__typename,Object.keys(l).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,l=!0,u={DELETE:T,INVALIDATE:C,isReference:p.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,p.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach(function(c){var f=(0,x.iJ)(c),d=o[c];if(void 0!==d){var h="function"==typeof t?t:t[c]||t[f];if(h){var g=h===O?T:h((0,k.G)(d),(0,n.Cl)((0,n.Cl)({},u),{fieldName:f,storeFieldName:c,storage:r.getStorage(e,c)}));if(g===C)r.group.dirty(e,c);else if(g===T&&(g=void 0),g!==d&&(a[c]=g,s=!0,d=g,!1!==globalThis.__DEV__)){var y=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,p.A_)(g))y(g);else if(Array.isArray(g))for(var m=!1,v=void 0,b=0,w=g;b<w.length;b++){var _=w[b];if((0,p.A_)(_)){if(m=!0,y(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(v=_);if(m&&void 0!==v){!1!==globalThis.__DEV__&&i.V1.warn(4,v);break}}}}void 0!==d&&(l=!1)}}),s)return this.merge(e,a),l&&(this instanceof P?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=O,n):O)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(x.$3.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof P&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){x.$3.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&x.$3.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);
13Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof P?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){x.$3.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof P;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!x.$3.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,p.A_)(e)&&(t[e.__ref]=!0),(0,S.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,S.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),A=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new E.b(y.et)}
13,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=(0,x.iJ)(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function D(e,t){L(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new A(void 0===n||n))||this;return o.stump=new I(o),o.storageTrie=new E.b(y.et),i&&o.replace(i),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(N||(N={}));var P=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,a.L)(n[r],i[r])||t.group.dirty(e,r)}
13):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return x.$3.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(N),I=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new A(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(P);function R(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function L(e){return!!(e instanceof N&&e.group.caching)}var M=r(13637),j=function(){function e(){this.known=new(y.En?WeakSet:Set),this.pool=new E.b(y.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,S.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,S.U)(e)){var t=(0,S.U)(e)?(0,M.c)(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,S.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var l=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[l+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function F(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var V=function(){function e(e){var t=this;this.knownResults=new(y.et?WeakMap:Map),this.config=(0,m.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,x.Xx)(e)}),this.canon=e.canon||new j,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=F(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(D(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:F,makeCacheKey:function(e,t,r,n){if(L(r.store))return r.store.makeCacheKey(e,(0,p.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return D(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(L(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new j},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,f=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,v.wY)((0,v.AT)(i))),a);var h=(0,p.WU)(void 0===o?"ROOT_QUERY":o),g=this.executeSelectionSet({selectionSet:(0,v.Vn)(i).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,n.Cl)({store:r,query:i,policies:f,variables:a,varString:(0,d.M)(a),canonizeResults:c},(0,x.lq)(i,this.config.fragments))});if(g.missing&&(t=[new l.Z(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(g.missing),g.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:g.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(L(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,p.A_)(o)&&!s.policies.rootTypenamesById[o.__ref]&&!s.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var l=s.variables,u=s.policies,f=s.store.getFieldValue(o,"__typename"),d=[],h=new b.ZI;function y(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof f&&!u.rootIdsByTypename[f]&&d.push({__typename:f});var m=new Set(n.selections);m.forEach(function(e){var n,v;if((0,w.MS)(e,l))if((0,p.dt)(e)){var b=u.readField({fieldName:e.n
13ame.value,field:e,variables:s.variables,from:o},s),k=(0,p.ue)(e);void 0===b?c.XY.added(e)||(t=h.merge(t,((n={})[k]="Can't find field '".concat(e.name.value,"' on ").concat((0,p.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,M.c)(b)?b.length>0&&(b=y(r.executeSubSelectedArray({field:e,array:b,enclosingRef:a,context:s}),k)):e.selectionSet?null!=b&&(b=y(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,p.A_)(b)?b:a,context:s}),k)):s.canonizeResults&&(b=r.canon.pass(b)),void 0!==b&&d.push(((v={})[k]=b,v))}else{var S=(0,_.HQ)(e,s.lookupFragment);if(!S&&e.kind===g.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);S&&u.fragmentMatches(S,f)&&S.selectionSet.selections.forEach(m.add,m)}});var v={result:(0,b.IM)(d),missing:t},S=s.canonizeResults?this.canon.admit(v):(0,k.G)(v);return S.result&&this.knownResults.set(S.result,n),S},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,l=new b.ZI;function u(e,r){var n;return e.missing&&(t=l.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,M.c)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,p.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,S.U)(r)&&((0,i.V1)(!(0,p.A_)(r),11,(0,x.Ui)(e,r),t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),U=r(99342),Y=r(87439),B=r(93535),q=Object.create(null);function H(e){var t=JSON.stringify(e);return q[t]||(q[t]=Object.create(null))}function W(e){var t=H(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=G(e,function(e){var o=K(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&x.$3.call(t,e[0])&&(o=K(t,e,$)),(0,i.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function z(e){var t=H(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(G(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,M.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),l=s&&(0,p.MB)(s,i);return l&&K(l,e.slice(1))}return}if("$"===o){var u=r.slice(1);if(i&&x.$3.call(i,u)){var c=e.slice(0);return c[0]=u,K(i,c)}return}if(t)return K(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function G(e,t){var r=new b.ZI;return(function e(t){var r=H(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,M.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,M.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function $(e,t){return e[t]}function K(e,t,r){return r=r||$,function e(t){return(0,S.U)(t)?(0,M.c)(t)?t.map(e):G(Object.keys(t).sort(),function(e){return K(t,e)}):t}(t.reduce(function e(t,n){return(0,M.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var Q=r(39892);function J(e){return void 0!==e.args?e.args:e.field?(0,p.MB)(e.field,e.variables):null}var Z=function(){},X=function(e,t){return t.fieldName},ee=function(e,t,r){return(0,r.mergeObjects)(e,t)},et=function(e,t){return t},er=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:x.or},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,l=(0,n.Cl)((0,n.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=ei(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),u=a&&this.getTypePolicy(a),c=u&&u.keyFn||this.config.dataIdFromObject;return Q.yV.withValue(!0,function(){for(;c;){var t=c((0,n.Cl)((0,n.Cl)({},e),s),l);if((0,M.c)(t))c=W(t);else{i=t;break}}}),i=i?String(i):void 0,l.keyObject?[i,l.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,l=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),x.$3.call(t.toBeAdded,r)?t.toBeAdded[r].push(l):t.toBeAdded[r]=[l]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ee:!1===t?et:e.merge}a(n,t.merge),n.keyFn=!1===i?Z:(0,M.c)(i)?W(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
13h(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,l=i.read,u=i.merge;n.keyFn=!1===s?X:(0,M.c)(s)?z(s):"function"==typeof s?s:n.keyFn,"function"==typeof l&&(n.read=l),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||X)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(x.gk);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!x.$3.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n.Tt)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),l=[s],u=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>l.indexOf(t)&&l.push(t)},c=!!(r&&this.fuzzySubtypes.size),f=!1,d=0;d<l.length;++d){var h=l[d];if(h.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;h.forEach(u),c&&d===l.length-1&&(0,x.T9)(e.selectionSet,r,n)&&(c=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=J(e);o;){var l=o(s,a);if((0,M.c)(l))o=z(l);else{t=l||n;break}}return(void 0===t&&(t=e.field?(0,p.Ii)(e.field,e.variables):(0,p.o5)(n,J(e))),!1===t)?n:n===(0,x.iJ)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=(0,x.iJ)(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),l=s&&s.read;if(l){var u=en(this,r,e,t,t.store.getStorage((0,p.A_)(r)?r.__ref:r,i));return B.bl.withValue(this.cache,l,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===ee?eo(n.store)(e,t):s===et?t:(n.overwrite&&(e=void 0),s(e,t,en(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function en(e,t,r,n,i){var o=e.getStoreFieldName(r),a=(0,x.iJ)(o),s=r.variables||n.variables,l=n.store,u=l.toReference,c=l.canRead;return{args:J(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:p.A_,toReference:u,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(ei(arguments,t,s),n)},mergeObjects:eo(n.store)}}function ei(e,t,r){var o,a=e[0],s=e[1],l=e.length;return"string"==typeof a?o={fieldName:a,from:l>1?s:t}:(o=(0,n.Cl)({},a),x.$3.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,Y.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function eo(e){return function(t,r){if((0,M.c)(t)||(0,M.c)(r))throw(0,i.vA)(9);if((0,S.U)(t)&&(0,S.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,p.A_)(t)&&(0,x.d1)(r))return e.merge(t.__ref,r),t;if((0,x.d1)(t)&&(0,p.A_)(r))return e.merge(t,r.__ref),r;if((0,x.d1)(t)&&(0,x.d1)(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function ea(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var es=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,l=t.dataId,u=t.variables,c=t.overwrite,f=(0,v.Vu)(o),h=(0,x.mv)();u=(0,n.Cl)((0,n.Cl)({},(0,v.wY)(f)),u);var g=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return h.merge(e,t)}
13,variables:u,varString:(0,d.M)(u)},(0,x.lq)(o,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:l,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:g});if(!(0,p.A_)(y))throw(0,i.vA)(12,s);return g.incomingById.forEach(function(t,o){var s=t.storeObject,l=t.mergeTree,u=t.fieldNodeSet,c=(0,p.WU)(o);if(l&&l.map.size){var f=r.applyMerges(l,c,s,g);if((0,p.A_)(f))return;s=f}if(!1!==globalThis.__DEV__&&!g.overwrite){var d=Object.create(null);u.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});var h=function(e){var t=l&&l.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==d[(0,x.iJ)(e)]||h(e)||function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},l=s(e);if(l){var u=s(t);if(!(!u||(0,p.A_)(l)||(0,a.L)(l,u)||Object.keys(l).every(function(e){return void 0!==o.getFieldValue(u,e)}))){var c=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=(0,x.iJ)(r),d="".concat(c,".").concat(f);if(!ed.has(d)){ed.add(d);var h=[];(0,M.c)(l)||(0,M.c)(u)||[l,u].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&i.V1.warn(15,f,c,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",d,(0,n.Cl)({},l),(0,n.Cl)({},u))}}}}(c,s,e,g.store)})}e.merge(o,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,l=e.mergeTree,u=this.cache.policies,f=Object.create(null),d=r&&u.rootTypenamesById[r]||(0,p.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof d&&(f.__typename=d);var h=function(){var e=ei(arguments,f,s.variables);if((0,p.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return u.readField(e,s)},g=new Set;this.flattenFields(a,o,s,d).forEach(function(e,r){var n,a=o[(0,p.ue)(r)];if(g.add(r),void 0!==a){var s=u.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),y=eu(l,s),m=t.processFieldValue(a,r,r.selectionSet?ea(e,!1,!1):e,y),v=void 0;r.selectionSet&&((0,p.A_)(m)||(0,x.d1)(m))&&(v=h("__typename",m));var b=u.getMergeFunction(d,r.name.value,v);b?y.info={field:r,typename:d,merge:b}:ef(l,s),f=e.merge(f,((n={})[s]=m,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||c.XY.added(r)||u.getReadFunction(d,r.name.value)||!1===globalThis.__DEV__||i.V1.error(13,(0,p.ue)(r),o)});try{var y=u.identify(o,{typename:d,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:f,readField:h}),m=y[0],v=y[1];r=r||m,v&&(f=s.merge(f,v))}catch(e){if(!r)throw e}if("string"==typeof r){var b=(0,p.WU)(r),w=s.written[r]||(s.written[r]=[]);if(w.indexOf(a)>=0||(w.push(a),this.reader&&this.reader.isFresh(o,b,a,s)))return b;var _=s.incomingById.get(r);return _?(_.storeObject=s.merge(_.storeObject,f),_.mergeTree=function e(t,r){if(t===r||!r||ec(r))return t;if(!t||ec(t))return r;var i=t.info&&r.info?(0,n.Cl)((0,n.Cl)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(_.mergeTree,l),g.forEach(function(e){return _.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:f,mergeTree:ec(l)?void 0:l,fieldNodeSet:g}),b}return f},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,M.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eu(n,o));return ef(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,U.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,p.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new E.b(!1);return!function e(l,u){var c=s.lookup(l,u.clientOnly,u.deferred);c.visited||(c.visited=!0,l.selections.forEach(function(s){if((0,w.MS)(s,r.variables)){var l=u.clientOnly,c=u.deferred;
13if(!(l&&c)&&(0,M.E)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(l=!0),"defer"===t){var n=(0,p.MB)(e,r.variables);n&&!1===n.if||(c=!0)}}),(0,p.dt)(s)){var f=o.get(s);f&&(l=l&&f.clientOnly,c=c&&f.deferred),o.set(s,ea(r,l,c))}else{var d=(0,_.HQ)(s,r.lookupFragment);if(!d&&s.kind===g.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,s.name.value);d&&a.fragmentMatches(d,n,t,r.variables)&&e(d.selectionSet,ea(r,l,c))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,p.A_)(r)){var l,u,c=!(0,M.c)(r)&&((0,p.A_)(t)||(0,x.d1)(t))?t:void 0,f=r;c&&!a&&(a=[(0,p.A_)(c)?c.__ref:c]);var d=function(e,t){return(0,M.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=d(c,t),n=d(f,t);if(void 0!==n){a&&a.push(t);var l=s.applyMerges(e,r,n,o,a);l!==n&&(u=u||new Map).set(t,l),a&&(0,i.V1)(a.pop()===t)}}),u&&(r=(0,M.c)(f)?f.slice(0):(0,n.Cl)({},f),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(l=o.store).getStorage.apply(l,a)):r},e}(),el=[];function eu(e,t){var r=e.map;return r.has(t)||r.set(t,el.pop()||{map:new Map}),r.get(t)}function ec(e){return!e||!(e.info||e.map.size)}function ef(e,t){var r=e.map,n=r.get(t);n&&ec(n)&&(el.push(n),r.delete(t))}var ed=new Set,eh=r(75306),ep=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new u.c(c.XY),r.assumeImmutableResults=!0,r.makeVar=B.UT,r.txCount=0,r.config=(0,x.I6)(t),r.addTypename=!!r.config.addTypename,r.policies=new er({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new N.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new es(this,this.storeReader=new V({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,x.Xx)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||f.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(L(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,d.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof l.Z)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(x.$3.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,B.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,B.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){d.M.reset(),h.y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,p.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(x.$3.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),d.M.reset(),e&&e.discardWatches?(this.watches.forEac
13h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,B.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,l=e.onWatchUpdated,u=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},c=new Set;return l&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),l&&c.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=l.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,a.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(s.k);!1!==globalThis.__DEV__&&(ep.prototype.getMemoryInternals=eh.cM)},72119:(e,t,r)=>{"use strict";var n;r.d(t,{b:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},72463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var r,i,o=0;o<e.length;o++)if(!((r=e[o])===(i=t[o])||n(r)&&n(i))&&1)return!1;return!0}let o=function(e,t){void 0===t&&(t=i);var r,n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}}},74143:(e,t,r)=>{"use strict";r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>u});var n=r(80594),i=r(27217),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new u,i=1;i<r;++i)t=n.merge(t,e[i]);return t}
13var l=function(e,t,r){return this.merge(e[r],t[r])},u=function(){function e(e){void 0===e&&(e=l),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var l=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));l!==s&&((e=r.shallowCopyForMerge(e))[i]=l)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},75306:(e,t,r)=>{"use strict";r.d(t,{D_:()=>a,cM:()=>l,ep:()=>s,tQ:()=>u});var n=r(80594),i=r(33821),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.v[t]||r]})),sizes:(0,n.Cl)({print:null==(e=o.print)?void 0:e.call(o),parser:null==(t=o.parser)?void 0:t.call(o),canonicalStringify:null==(r=o.canonicalStringify)?void 0:r.call(o),links:function e(t){var r;return t?(0,n.fX)((0,n.fX)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:h(this.queryManager.documentTransform)}},null==(s=(a=this.cache).getMemoryInternals)?void 0:s.call(a))}}:void 0,l=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},c.apply(this)),{addTypenameDocumentTransform:h(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,u=!1!==globalThis.__DEV__?c:void 0;function c(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function d(e){return null!=e}function h(e){return(function e(t){return t?(0,n.fX)((0,n.fX)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]})(e).map(function(e){return{cache:e}})}},75975:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
13+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},76023:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});let n={},i={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),n[e]=t,i[t]=e}function o(e){let t="";for(let r=0;r<e.byteLength;r++)t+=n[e[r]];return t}},76870:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fromUtf8:()=>n,toUtf8:()=>i});let n=e=>"function"==typeof TextEncoder?new TextEncoder().encode(e):(e=>{let t=[];for(let r=0,n=e.length;r<n;r++){let n=e.charCodeAt(r);if(n<128)t.push(n);else if(n<2048)t.push(n>>6|192,63&n|128);else if(r+1<e.length&&(64512&n)==55296&&(64512&e.charCodeAt(r+1))==56320){let i=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r));t.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else t.push(n>>12|224,n>>6&63|128,63&n|128)}return Uint8Array.from(t)})(e),i=e=>"function"==typeof TextDecoder?new TextDecoder("utf-8").decode(e):(e=>{let t="";for(let r=0,n=e.length;r<n;r++){let n=e[r];n<128?t+=String.fromCharCode(n):192<=n&&n<224?t+=String.fromCharCode((31&n)<<6|63&e[++r]):240<=n&&n<365?t+=decodeURIComponent("%"+[n,e[++r],e[++r],e[++r]].map(e=>e.toString(16)).join("%")):t+=String.fromCharCode((15&n)<<12|(63&e[++r])<<6|63&e[++r])}return t})(e)},77117:(e,t,r)=>{e.exports=r(29027)()},77252:(e,t,r)=>{"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(91844))},77743:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(33736);r(91844);let i=e=>{let{height:t="24",width:r="24",strokeColor:i="#1F2126"}=e;return(0,n.jsx)("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M9.99771 0H1.98877V24H9.99771V0ZM22.0111 0H14.0022V24H22.0111V0Z",fill:i})})}},77914:(e,t,r)=>{"use strict";r.d(t,{S:()=>u});var n=r(72119),i=r(50488),o=r(78079),a=r(37935),s=r(39892),l=r(98487);function u(e,t,r){return s.yV.withValue(!0,function(){var u=function e(t,r,i,u,c){var f,d=i.knownChanged,h=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var p=0,g=Array.from(t.entries());p<g.length;p++){var y=g[p],m=y[0],v=y[1];if(null===v){h[m]=null;continue}var b=e(v,r,i,u,!1!==globalThis.__DEV__?"".concat(c||"","[").concat(m,"]"):void 0);d.has(b)&&d.add(h),h[m]=b}return d.has(h)?h:t}for(var w=0,_=r.selections;w<_.length;w++){var k=_[w],S=void 0;if(u&&d.add(h),k.kind===n.b.FIELD){var E=(0,o.ue)(k),x=k.selectionSet;if(void 0===(S=h[E]||t[E]))continue;if(x&&null!==S){var b=e(t[E],x,i,u,!1!==globalThis.__DEV__?"".concat(c||"",".").concat(E):void 0);d.has(b)&&(S=b)}!1===globalThis.__DEV__&&(h[E]=S),!1!==globalThis.__DEV__&&(!u||"__typename"===E||(null==(f=Object.getOwnPropertyDescriptor(h,E))?void 0:f.value)?(delete h[E],h[E]=S):Object.defineProperty(h,E,function(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&l.V1.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(E,S,c||"",i.operationName,i.operationType)))}if(k.kind===n.b.INLINE_FRAGMENT&&(!k.typeCondition||i.cache.fragmentMatches(k,t.__typename))&&(S=e(t,k.selectionSet,i,u,c)),k.kind===n.b.FRAGMENT_SPREAD){var T=k.name.value,O=i.fragmentMap[T]||(i.fragmentMap[T]=i.cache.lookupFragment(T));(0,l.V1)(O,47,T);var C=(0,a.s7)(k);"mask"!==C&&(S=e(t,O.selectionSet,i,"migrate"===C,c))}d.has(S)&&d.add(h)}return"__typename"in t&&!("__typename"in h)&&(h.__typename=t.__typename),Object.keys(h).length!==Object.keys(t).length&&d.add(h),d.has(h)?h:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,i.G)(u),u})}},78079:(e,t,r)=>{"use strict";r.d(t,{A_:()=>l,D$:()=>function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var l=s[a];if(m(l)){if("__typename"===l.name.value)return t[y(l)]}else i?i.push(l):i=[l]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var u=0,c=i;u<c.length;u++){var l=c[u],f=e(t,(0,o.HQ)(l,n).selectionSet,n);if("string"==typeof f)return f}},Ii:()=>f,J:()=>c,Kc:()=>u,MB:()=>g,WU:()=>s,dt:()=>m,kd:()=>v,o5:()=>p,ue:()=>y});var n=r(98487),i=r(27217),o=r(66910),a=r(16008);function s(e){return{__ref:String(e)}}function l(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return c(o,e.name,e.value,i)}),e[t.value]=o}
13else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return c(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n.vA)(96,t.value,r.kind)}function f(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return c(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),p(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export","nonreactive"],h=a.M,p=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(h(i),")")}var o=e;if(t){var a=h(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(h(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=h;return h=e,t}});function g(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return c(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function v(e){return"InlineFragment"===e.kind}},79225:(e,t,r)=>{"use strict";r.d(t,{MO:()=>m,_w:()=>g,eE:()=>y});let n=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,i=e=>"v"in e||"e"in e,o=e=>{if("e"in e)throw e.e;if(!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v},a=new WeakMap,s=e=>{var t;return u(e)&&!!(null==(t=a.get(e))?void 0:t[0])},l=(e,t)=>{let r=a.get(e);if(!r){r=[!0,new Set],a.set(e,r);let t=()=>{r[0]=!1};e.then(t,t)}r[1].add(t)},u=e=>"function"==typeof(null==e?void 0:e.then),c=(e,t,r)=>{r.p.has(e)||(r.p.add(e),t.then(()=>{r.p.delete(e)},()=>{r.p.delete(e)}))},f=(e,t,r)=>{let n=r(e),i="v"in n,o=n.v;if(u(t))for(let i of n.d.keys())c(e,t,r(i));n.v=t,delete n.e,i&&Object.is(o,n.v)||(++n.n,u(o)&&(e=>{let t=a.get(e);(null==t?void 0:t[0])&&(t[0]=!1,t[1].forEach(e=>e()))})(o))},d=(e,t,r)=>{var n;let i=new Set;for(let t of(null==(n=r.get(e))?void 0:n.t)||[])r.has(t)&&i.add(t);for(let e of t.p)i.add(e);return i},h=()=>{let e={},t=new WeakMap,r=r=>{var n,i;null==(n=t.get(e))||n.forEach(e=>e(r)),null==(i=t.get(r))||i.forEach(e=>e())};return r.add=(r,n)=>{let i=r||e,o=(t.has(i)?t:t.set(i,new Set)).get(i);return o.add(n),()=>{null==o||o.delete(n),o.size||t.delete(i)}},r},p=Symbol(),g=(e=new WeakMap,t=new WeakMap,r=new WeakMap,a=new Set,h=new Set,g=new Set,y={},m=(e,...t)=>e.read(...t),v=(e,...t)=>e.write(...t),b=(e,t)=>{var r;return null==(r=e.unstable_onInit)?void 0:r.call(e,t)},w=(e,t)=>{var r;return null==(r=e.onMount)?void 0:r.call(e,t)},..._)=>{let k=_[0]||(t=>{if(!t)throw Error("Atom is undefined or null");let r=e.get(t);return r||(r={d:new Map,p:new Set,n:0},e.set(t,r),null==b||b(t,D)),r}),S=_[1]||(()=>{let e=[],r=t=>{try{t()}catch(t){e.push(t)}};do{y.f&&r(y.f);let e=new Set,n=e.add.bind(e);a.forEach(e=>{var r;return null==(r=t.get(e))?void 0:r.l.forEach(n)}),a.clear(),g.forEach(n),g.clear(),h.forEach(n),h.clear(),e.forEach(r),a.size&&E()}while(a.size||g.size||h.size);if(e.length)throw AggregateError(e)}),E=_[2]||(()=>{let e=[],n=new WeakSet,i=new WeakSet,o=Array.from(a);for(;o.length;){let a=o[o.length-1],s=k(a);if(i.has(a)){o.pop();continue}if(n.has(a)){if(r.get(a)===s.n)e.push([a,s]);else if(r.has(a))throw Error("[Bug] invalidated atom exists");i.add(a),o.pop();continue}for(let e of(n.add(a),d(a,s,t)))n.has(e)||o.push(e)}for(let t=e.length-1;t>=0;--t){let[n,i]=e[t],o=!1;for(let e of i.d.keys())if(e!==n&&a.has(e)){o=!0;break}
13o&&(x(n),C(n)),r.delete(n)}}),x=_[3]||(e=>{var d;let h,p,g=k(e);if(i(g)&&(t.has(e)&&r.get(e)!==g.n||Array.from(g.d).every(([e,t])=>x(e).n===t)))return g;g.d.clear();let v=!0,b=()=>{t.has(e)&&(C(e),E(),S())},w=g.n;try{let r=m(e,r=>{var a;if(n(e,r)){let e=k(r);if(!i(e))if("init"in r)f(r,r.init,k);else throw Error("no atom init");return o(e)}let l=x(r);try{return o(l)}finally{g.d.set(r,l.n),s(g.v)&&c(e,g.v,l),null==(a=t.get(r))||a.t.add(e),v||b()}},{get signal(){return h||(h=new AbortController),h.signal},get setSelf(){return e.write||console.warn("setSelf function cannot be used with read-only atom"),!p&&e.write&&(p=(...t)=>{if(v&&console.warn("setSelf function cannot be called in sync"),!v)try{return O(e,...t)}finally{E(),S()}}),p}});return f(e,r,k),u(r)&&(l(r,()=>null==h?void 0:h.abort()),r.then(b,b)),g}catch(e){return delete g.v,g.e=e,++g.n,g}finally{v=!1,w!==g.n&&r.get(e)===w&&(r.set(e,g.n),a.add(e),null==(d=y.c)||d.call(y,e))}}),T=_[4]||(e=>{let n=[e];for(;n.length;){let e=n.pop(),i=k(e);for(let o of d(e,i,t)){let e=k(o);r.set(o,e.n),n.push(o)}}}),O=_[5]||((e,...t)=>{let r=!0;try{return v(e,e=>o(x(e)),(t,...i)=>{var o;let s=k(t);try{if(!n(e,t))return O(t,...i);{if(!("init"in t))throw Error("atom not writable");let e=s.n,r=i[0];f(t,r,k),C(t),e!==s.n&&(a.add(t),null==(o=y.c)||o.call(y,t),T(t));return}}finally{r||(E(),S())}},...t)}finally{r=!1}}),C=_[6]||(e=>{var r;let n=k(e),i=t.get(e);if(i&&!s(n.v)){for(let[t,o]of n.d)if(!i.d.has(t)){let n=k(t);N(t).t.add(e),i.d.add(t),o!==n.n&&(a.add(t),null==(r=y.c)||r.call(y,t),T(t))}for(let t of i.d||[])if(!n.d.has(t)){i.d.delete(t);let r=A(t);null==r||r.t.delete(e)}}}),N=_[7]||(e=>{var r;let n=k(e),i=t.get(e);if(!i){for(let t of(x(e),n.d.keys()))N(t).t.add(e);i={l:new Set,d:new Set(n.d.keys()),t:new Set},t.set(e,i),null==(r=y.m)||r.call(y,e),e.write&&h.add(()=>{let t=!0;try{let r=w(e,(...r)=>{try{return O(e,...r)}finally{t||(E(),S())}});r&&(i.u=()=>{t=!0;try{r()}finally{t=!1}})}finally{t=!1}})}return i}),A=_[8]||(e=>{var r;let n=k(e),i=t.get(e);if(i&&!i.l.size&&!Array.from(i.t).some(r=>{var n;return null==(n=t.get(r))?void 0:n.d.has(e)})){for(let o of(i.u&&g.add(i.u),i=void 0,t.delete(e),null==(r=y.u)||r.call(y,e),n.d.keys())){let t=A(o);null==t||t.t.delete(e)}return}return i}),D={get:e=>o(x(e)),set:(e,...t)=>{try{return O(e,...t)}finally{E(),S()}},sub:(e,t)=>{let r=N(e).l;return r.add(t),S(),()=>{r.delete(t),A(e),S()}}};return Object.defineProperty(D,p,{value:[e,t,r,a,h,g,y,m,v,b,w,k,S,E,x,T,O,C,N,A]}),D},y=e=>(e.c||(e.c=h()),e.m||(e.m=h()),e.u||(e.u=h()),e.f||(e.f=(()=>{let e=new Set,t=()=>{e.forEach(e=>e())};return t.add=t=>(e.add(t),()=>{e.delete(t)}),t})()),e),m=l},79466:e=>{e.exports={style:{fontFamily:"'vodafoneFont', 'vodafoneFont Fallback'"},className:"__className_f8b896"}},79837:(e,t,r)=>{var n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=o(t,s))||n.enumerable});return e},c={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(c,{default:()=>p}),e.exports=u(i({},"__esModule",{value:!0}),c);var f=((e,t,r)=>(r=null!=e?n(s(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(28784)),d=r(13035);let h=f.default[f.default.length-1];var p=(0,d.createReactPlayer)(f.default,h)},80245:(e,t,r)=>{"use strict";r.d(t,{C:()=>c});var n=r(98487),i=r(20810),o=r(80594),a=r(43129);function s(e,t){return t?t(e):i.c.of()}function l(e){return"function"==typeof e?new c(e):e}function u(e){return e.request.length<=1}var c=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(l).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=l(r),a=l(n||new e(s));return Object.assign(new e(u(o)&&u(a)?function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of()}
13:function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,l,u,c;return e.request((l=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>t.indexOf(o))throw(0,n.vA)(46,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),u=s,c=(0,o.Cl)({},l),Object.defineProperty(u,"setContext",{enumerable:!1,value:function(e){c="function"==typeof e?(0,o.Cl)((0,o.Cl)({},c),e(c)):(0,o.Cl)((0,o.Cl)({},c),e)}}),Object.defineProperty(u,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},c)}}),u))||i.c.of()},e.concat=function(t,r){var o=l(t);if(u(o))return!1!==globalThis.__DEV__&&n.V1.warn(38,o),o;var a=l(r);return Object.assign(new e(u(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},80594:(e,t,r)=>{"use strict";r.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>l,fX:()=>u,sH:()=>s});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function l(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}Object.create;function u(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},80896:(e,t,r)=>{"use strict";r.d(t,{Nw:()=>l,ST:()=>a,YX:()=>s,bd:()=>u});var n=r(27217),i=r(13637),o=r(74143);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function l(e){return(0,n.U)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}
13r=n.merge(r,t)}),r}},81276:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=void 0,t.Kind=r,function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(t.Kind=r={}))},81376:(e,t)=>{"use strict";function r(e){return e>=48&&e<=57}function n(e){return e>=97&&e<=122||e>=65&&e<=90}Object.defineProperty(t,"__esModule",{value:!0}),t.isDigit=r,t.isLetter=n,t.isNameContinue=function(e){return n(e)||r(e)||95===e},t.isNameStart=function(e){return n(e)||95===e},t.isWhiteSpace=function(e){return 9===e||32===e}},81694:(e,t,r)=>{"use strict";r.d(t,{y:()=>v});var n,i=r(58994);let o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return s[e.charCodeAt(0)]}let s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var l=r(8284);let u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=d("(",c(e.variableDefinitions,", "),")"),r=c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+d(" = ",r)+d(" ",c(n," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=d("",e,": ")+t,a=o+d("(",c(r,", "),")");return a.length>80&&(a=o+d("(\n",h(c(r,"\n")),"\n)")),c([a,c(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+d(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>c(["...",d("on ",e),c(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${d("(",c(r,", "),")")} on ${t} ${d("",c(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
13,StringValue:{leave:({value:e,block:t})=>t?(0,i.yo)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+d("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>d("",e,"\n")+c(["schema",c(t," "),f(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>d("",e,"\n")+c(["scalar",t,c(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>d("",e,"\n")+c(["type",t,d("implements ",c(r," & ")),c(n," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>d("",e,"\n")+t+(p(r)?d("(\n",h(c(r,"\n")),"\n)"):d("(",c(r,", "),")"))+": "+n+d(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>d("",e,"\n")+c([t+": "+r,d("= ",n),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>d("",e,"\n")+c(["interface",t,d("implements ",c(r," & ")),c(n," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>d("",e,"\n")+c(["union",t,c(r," "),d("= ",c(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>d("",e,"\n")+c(["enum",t,c(r," "),f(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>d("",e,"\n")+c([t,c(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>d("",e,"\n")+c(["input",t,c(r," "),f(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>d("",e,"\n")+"directive @"+t+(p(r)?d("(\n",h(c(r,"\n")),"\n)"):d("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend type",e,d("implements ",c(t," & ")),c(r," "),f(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend interface",e,d("implements ",c(t," & ")),c(r," "),f(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>c(["extend union",e,c(t," "),d("= ",c(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>c(["extend enum",e,c(t," "),f(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>c(["extend input",e,c(t," "),f(r)]," ")}};function c(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function f(e){return d("{\n",h(c(e,"\n")),"\n}")}function d(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function h(e){return d(" ",e.replace(/\n/g,"\n "))}function p(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var g=r(59574),y=r(33821),m=r(75306),v=Object.assign(function(e){var t=n.get(e);return t||(t=(0,l.YR)(e,u),n.set(e,t)),t},{reset:function(){n=new g.A(y.v.print||2e3)}});v.reset(),!1!==globalThis.__DEV__&&(0,m.D_)("print",function(){return n?n.size:0})},82935:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(19457);function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,n.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",l=e,u=e.indexOf("#");-1!==u&&(s=e.substr(u),l=e.substr(0,u));var c=-1===l.indexOf("?")?"?":"&";return{newURI:l+c+r.join("&")+s}}},83234:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});var n=r(65719);let i={error:(e,t)=>
13n.yf.logger.error(e,t),warning:(e,t)=>n.yf.logger.warn(e,t),info:(e,t)=>n.yf.logger.info(e,t),errors:(e,t)=>{for(let r of t)n.yf.logger.error(e,r)}}},84092:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(33736);r(91844);let i=e=>{let{height:t="24",width:r="24",strokeColor:i}=e;return(0,n.jsxs)("svg",{width:r,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{clipPath:"url(#clip0_3768_45870)",children:(0,n.jsx)("path",{d:"M23.482 11.1242L3.48201 0.124169C3.32859 0.0388207 3.15541 -0.00463375 2.97987 -0.00182512C2.80433 0.000983509 2.63262 0.0499562 2.48201 0.140169C2.33422 0.229665 2.21214 0.355926 2.12767 0.506644C2.04319 0.657362 1.99921 0.827395 2.00001 1.00017V23.0002C2.00025 23.1739 2.04574 23.3446 2.13202 23.4954C2.21829 23.6462 2.34236 23.7719 2.49201 23.8602C2.64543 23.9522 2.82109 24.0007 3.00001 24.0002C3.16856 24.0001 3.33436 23.9575 3.48201 23.8762L23.482 12.8762C23.6388 12.7898 23.7695 12.663 23.8606 12.5089C23.9517 12.3549 23.9997 12.1792 23.9997 12.0002C23.9997 11.8212 23.9517 11.6455 23.8606 11.4914C23.7695 11.3373 23.6388 11.2105 23.482 11.1242Z",fill:i})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_3768_45870",children:(0,n.jsx)("rect",{width:r,height:t,fill:"none"})})})]})}},84248:(e,t,r)=>{"use strict";r.d(t,{$:()=>b});var n=r(80594),i=r(98487),o=r(80245),a=r(37935),s=r(20810),l=r(19457),u=r(44374),c=r(38238),f=r(51243),d=r(41311),h=r(82935),p=r(43765),g=r(8284),y=r(89835),m=r(43129),v=(0,i.no)(function(){return fetch}),b=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,b=e.fetch,w=e.print,_=void 0===w?d.i1:w,k=e.includeExtensions,S=e.preserveHeaderCase,E=e.useGETForQueries,x=e.includeUnusedVariables,T=void 0!==x&&x,O=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.S)(b||v);var C={http:{includeExtensions:k,preserveHeaderCase:S},options:O.fetchOptions,credentials:O.credentials,headers:O.headers};return new o.C(function(e){var t,o,f,w,k,S,x=(0,u.z)(e,r),O=e.getContext(),N={};if(O.clientAwareness){var A=O.clientAwareness,D=A.name,P=A.version;D&&(N["apollographql-client-name"]=D),P&&(N["apollographql-client-version"]=P)}var I=(0,n.Cl)((0,n.Cl)({},N),O.headers),R={http:O.http,options:O.fetchOptions,credentials:O.credentials,headers:I};if((0,a.d8)(["client"],e.query)){var L=(0,y.er)(e.query);if(!L)return(0,p.N)(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=L}var M=(0,d.HY)(e,_,d.R4,C,R),j=M.options,F=M.body;F.variables&&!T&&(t=F.variables,o=e.query,f=(0,n.Cl)({},t),w=new Set(Object.keys(t)),(0,g.YR)(o,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&w.delete(e.name.value)}}
13),w.forEach(function(e){delete f[e]}),F.variables=f),j.signal||"undefined"==typeof AbortController||(j.signal=(S=new AbortController).signal);var V="OperationDefinition"===(k=(0,m.Vn)(e.query)).kind&&"subscription"===k.operation,U=(0,a.d8)(["defer"],e.query);if(E&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(j.method="GET"),U||V){j.headers=j.headers||{};var Y="multipart/mixed;";V&&U&&!1!==globalThis.__DEV__&&i.V1.warn(41),V?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":U&&(Y+="deferSpec=20220824,application/json"),j.headers.accept=Y}if("GET"===j.method){var B=(0,h.E)(x,F),q=B.newURI,H=B.parseError;if(H)return(0,p.N)(H);x=q}else try{j.body=(0,l.Y)(F,"Payload")}catch(e){return(0,p.N)(e)}return new s.c(function(t){var r=b||(0,i.no)(function(){return fetch})||v,n=t.next.bind(t);return r(x,j).then(function(t){e.setContext({response:t});var r,i=null==(r=t.headers)?void 0:r.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?(0,c.tD)(t,n):(0,c.OQ)(e)(t).then(n)}).then(function(){S=void 0,t.complete()}).catch(function(e){S=void 0,(0,c.H4)(e,t)}),function(){S&&S.abort()}})})}},85795:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{U:()=>n})},86739:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:()=>n})},87240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var n=r(61708);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return n.convertToBuffer}});var i=r(38053);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return i.isEmptyData}});var o=r(59703);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return o.numToUint8}});var a=r(42790);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})},87439:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(35495);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},87743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.g.Buffer=r.g.Buffer||r(95989).Buffer;var n=r(9048),i=r(67384).Sha256,o=r(76023).n,a=function(e,t,r){void 0===r&&(r="");var n=new i(e);n.update(t);var a=n.digestSync();return"hex"===r?o(a):a},s=function(e){var t=new i;return t.update(e||""),o(t.digestSync())},l=function(e){return Object.keys(e).map(function(e){return e.toLowerCase()}).sort().join(";")},u=function(e){var t,r=n.parse(e.url);return[e.method||"/",r.path,r.query,!(t=e.headers)||0===Object.keys(t).length?"":Object.keys(t).map(function(e){return{key:e.toLowerCase(),value:t[e]?t[e].trim().replace(/\s+/g," "):""}}).sort(function(e,t){return e.key<t.key?-1:1}).map(function(e){return e.key+":"+e.value}).join("\n")+"\n",l(e.headers),s(e.body)].join("\n")},c=function(e){var t=(n.parse(e.url).host.match(/([^.]+)\.(?:([^.]*)\.)?amazonaws\.com$/)||[]).slice(1,3);return"es"===t[1]&&(t=t.reverse()),{service:e.service||t[0],region:e.region||t[1]}},f=function(e,t,r){void 0===e&&(e="");var n=a("AWS4"+e,t),i=a(n,r.region),o=a(i,r.service);return a(o,"aws4_request")},d=function(e,t,r){void 0===r&&(r=null),e.headers=e.headers||{};var i,o,d=new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),h=d.substr(0,8),p="AWS4-HMAC-SHA256",g=n.parse(e.url);e.headers.host=g.host,e.headers["x-amz-date"]=d,t.session_token&&(e.headers["X-Amz-Security-Token"]=t.session_token);var y=u(e),m=[h,(r=r||c(e)).region,r.service,"aws4_request"].join("/"),v=[p,d,m,s(y)].join("\n"),b=a(f(t.secret_key,h,r),v,"hex"),w=(i=t.access_key,o=l(e.headers),void 0===i&&(i=""),[p+" Credential="+i+"/"+m,"SignedHeaders="+o,"Signature="+b].join(", "));return e.headers.Authorization=w,e},h=function(){function e(){}return e.sign=d,e}();t.Signer=h,t.default=h},89835:(e,t,r)=>{"use strict";r.d(t,{XY:()=>p,er:()=>y,iz:()=>h,x3:()=>m,zc:()=>g});var n=r(80594),i=r(98487),o=r(72119),a=r(8284),s=r(43129),l=r(78079),u=r(66910),c=r(13637),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function d(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function h(e,t){(0,s.sw)(t);for(var r,l,f,h=d(""),p=d(""),g=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,c.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return h(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return p(r.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(97),null},y=0,m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===o.b.OPERATION_DEFINITION&&++y;var v=(r=new Map,l=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&l.set(e.test,e))}
13),function(e){var t=r.get(e.name.value);return!t&&l.size&&l.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,c.E)(e)&&e.map(v).some(function(e){return e&&e.remove})},w=new Map,_=!1,k={enter:function(e){if(b(e.directives))return _=!0,null}},S=(0,a.YR)(t,{Field:k,InlineFragment:k,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=g(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return _=!0,null;var o=g(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){w.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===w.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(p(e.name.value).removed=!0,_=!0,null):void 0}},Directive:{leave:function(e){if(v(e))return _=!0,null}}});if(!_)return t;var E=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){E(p(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},x=new Set;S.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?E(h(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){x.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==y||p(e.name.value).removed||x.add(e.name.value)}),x.forEach(function(e){E(p(e)).fragmentSpreads.forEach(function(e){x.add(e)})});var T={enter:function(e){var t;if(t=e.name.value,!x.has(t)||p(t).removed)return null}};return f=(0,a.YR)(S,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=E(h(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(f)||(0,s.E4)(f),(0,u.JG)((0,s.zK)(f)))?f:null}var p=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,l.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,l.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}});function g(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function y(e){return(0,s.sw)(e),h([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function m(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.Cl)((0,n.Cl)({},e),{directives:(0,n.fX)((0,n.fX)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}
13],!1)})}})}},89945:e=>{"use strict";e.exports=JSON.parse('{"Main":{"Title":"S\xfdn","UnknownError":"\xd3\xfeekkt villa"},"Payment":{"Topup":"Fylla frelsi","Payment":"Grei\xf0sla","PurchaseOverview":"Kaupyfirlit","Products":"V\xf6rur","UnnamedProduct":"\xd3nefnd vara","NoProductsInCart":"Engar v\xf6rur \xed k\xf6rfu.","Total":"Samtals","TotalNow":"Samtals n\xfa","Price":"Ver\xf0","Discount":"Afsl\xe1ttur","Customer":"Vi\xf0skiptavinur","Name":"Nafn","Kennitala":"Kennitala","Address":"Heimilisfang","Place":"Sta\xf0ur","PhoneNumber":"S\xedman\xfamer","Email":"Netfang","Delivery":"Afhending","LoadingOrder":"Hle\xf0 p\xf6ntun...","NoCustomerInfo":"Engar uppl\xfdsingar um vi\xf0skiptavin.","SendElectronicBill":"F\xe1 reikning \xed banka","ElectronicConvenienceFee":"\xdatskriftargjald {{fee}} kr. b\xe6tist vi\xf0 reikning \xed heimabanka.","Voucher":"Gjafabr\xe9fsk\xf3\xf0i","ActivateVoucher":"Sta\xf0festa","GiftCardActivation":"Virkja gjafabr\xe9f","VoucherApplied":"Gjafabr\xe9fsk\xf3\xf0i hefur veri\xf0 sta\xf0festur, vinsamlegast haltu \xe1fram me\xf0 a\xf0 virkja kaup.","InvalidVoucher":"Gjafabr\xe9fsk\xf3\xf0i er \xf3gildur, \xfatrunninn e\xf0a hefur n\xfa \xfeegar veri\xf0 nota\xf0ur","VoucherValidationFailed":"Ekki t\xf3kst a\xf0 sta\xf0festa gjafabr\xe9fsk\xf3\xf0a. Vinsamlegast reyndu aftur.","TooManyVoucherRetries":"Of margar tilraunir me\xf0 gjafabr\xe9fsk\xf3\xf0a. Vinsamlegast b\xedddu \xed nokkrar m\xedn\xfatur \xe1\xf0ur en \xfe\xfa reynir aftur.","VoucherRequired":"\xde\xfa ver\xf0ur a\xf0 sl\xe1 inn gildan gjafabr\xe9fsk\xf3\xf0a til a\xf0 halda \xe1fram","Activate":"Virkja","EnterGiftCard":"Sl\xe1\xf0u inn k\xf3\xf0a"},"PaymentCard":{"Card":"Kort","CardNumber":"Kortan\xfamer","Agree":"\xc9g sam\xfeykki","Tos":"skilm\xe1la","S\xfdn":"S\xfdnar","Pay":"Grei\xf0a","Paying":"Grei\xf0a...","ThankYouForDoingBusiness":"Takk fyrir vi\xf0skiptin!","CartExpired":{"Title":"Karfa rann \xfat \xe1 t\xedma","Detail":"K\xf6rfur eru lifandi \xed h\xe1lft\xedma."},"InvalidCardNumber":"\xd3gilt kortan\xfamer","InvalidCvc":"CVC er \xf3gilt","SaveCardFailed":"Ekki t\xf3kst a\xf0 skr\xe1 kort","ChargeFailed":"Ekki t\xf3kst a\xf0 gjaldf\xe6ra kort","TryDifferentCard":"Vinsamlegast pr\xf3fa\xf0u anna\xf0 kort","PaymentFailure":"Eitthva\xf0 f\xf3r \xfarskei\xf0is \xed grei\xf0sluferli"},"PlaybackStarting":{"Preparing":{"Title":"Afspilun hefst innan skamms"},"Position":{"Title":"Afspilun hefst innan skamms","FromPosition":{"Title":"Horfa","Subtitle":"fr\xe1 {{position}}"},"FromBeginning":{"Title":"Horfa","Subtitle":"fr\xe1 byrjun"}},"Error":{"Default":{"Title":"Villa kom upp","Subtitle":"Afspilun mist\xf3kst, vinsamlegast reyndu aftur s\xed\xf0ar"},"AccountBlocking":{"Title":"Villa kom upp","Subtitle":"A\xf0gangur l\xe6stur vegna skuldalokunar"},"Authorization":{"Title":"\xde\xfa ert ekki \xe1skrifandi a\xf0 \xfeessu efni","Subtitle":"Vinsamlegast haf\xf0u samband vi\xf0 \xfej\xf3nustuver ef \xfe\xfa ert me\xf0 \xe1skrift"},"CouldNotCreateEntitlement":{"Title":"Villa kom upp","Subtitle":"Gat ekki hafi\xf0 afspilun"},"EntitlementExpired":{"Subtitle":"Afspilun hefur veri\xf0 yfirtekin af \xf6\xf0ru t\xe6ki"},"GeoBlocking":{"Title":"Villa kom upp","Subtitle":"Afspilun er eing\xf6ngu leyfileg innan EES landa"},"NotPlayable":{"Title":"Villa kom upp","Subtitle":"\xdeetta efni er ekki a\xf0gengilegt \xe1 \xfeessu t\xe6ki"},"UnsupportedDevice":{"Title":"Villa kom upp","Subtitle":"Afspilun ekki m\xf6guleg \xed \xfeessum vafra"},"PurchaseLimitReached":{"Title":"Afspilun ekki leyf\xf0","Subtitle":"Kaup\xfeaki n\xe1\xf0"}},"Pin":{"Watch":{"Title":"Afspilun hefst innan skamms"},"Rental":{"Title":"Sta\xf0festu leigu fyrir {{price}} kr."},"Purchase":{"Title":"Sta\xf0festu kaup fyrir {{price}} kr."},"Placeholder":"Sl\xe1\xf0u inn PIN til a\xf0 sta\xf0festa","Buttons":{"Confirm":"Sta\xf0festa","Cancel":"H\xe6tta vi\xf0"},"Error":{"IncorrectPin":"Rangt PIN"}}},"User":{"Login":"Innskr\xe1","Logout":"\xdatskr\xe1"},"Navigation":{"Frontpage":"Heima","Search":"Leit","Live":"Sj\xf3nvarp","Subscriptions":"Kaupa \xe1skrift","Settings":"Stillingar","Stod2plus":"St\xf6\xf0 2+","Episodes":"\xde\xe6ttir","Movies":"Kvikmyndir","Sports":"\xcd\xfer\xf3ttir","Children":"Krakkar","Rent":"Leiga","Frelsi":"R\xdaV","MyList":"Listinn minn","Premium":"Premium"},"Settings":{"Title":"Stillingar","Login":{"Title":"Innskr\xe1ning","Message":"Skr\xe1\xf0u \xfeig inn til a\xf0 breyta stillingum"},"PasswordConfirmation":{"Title":"Sta\xf0festu lykilor\xf0","Message":"Af \xf6ryggis\xe1st\xe6\xf0um \xfearftu a\xf0 sta\xf0festa lykilor\xf0i\xf0 til a\xf0 breyta stillingum","Email":"Netfang","Password":"Lykilor\xf0","Submit":"Sta\xf0festa"},"Language":{"Title":"Tungum\xe1l","Icelandic":"\xcdslenska","English":"English"},"PinCode":{"Title":"Breyta PIN n\xfameri","Pin":"N\xfdtt PIN","PinConfirm":"N\xfdtt PIN (sta\xf0festa)","Update":"Uppf\xe6ra PIN"},"PinSettings":{"Title":"L\xe6singar","PlayContent":{"NEVER":"PIN innsl\xe1ttar er ekki krafist fyrir afspilun.","ALWAYS":"PIN innsl\xe1ttar er krafist fyrir afspilun.","NOT_FREE":"PIN innsl\xe1ttar er \xfe\xf3 ekki krafist fyrir fr\xedtt efni.","AGE_LEVEL":"PIN innsl\xe1ttar er krafist fyrir afspilun \xe1 b\xed\xf3myndum e\xf0a \xfe\xe1ttar\xf6\xf0um sem eru b\xf6nnu\xf0 innan {{ageLevel}} \xe1ra e\xf0a eldri.","NOT_FREE_AND_AGE_LEVEL":"PIN innsl\xe1ttar er krafist fyrir afspilun \xe1 b\xed\xf3myndum e\xf0a \xfe\xe1ttar\xf6\xf0um sem kosta e\xf0a eru b\xf6nnu\xf0 innan {{ageLevel}} \xe1ra e\xf0a eldri."},"AllowSubscriptions":{"YES":"PIN innsl\xe1ttar er ekki krafist fyrir kaup \xe1 \xe1skriftum e\xf0a st\xf6kum vi\xf0bur\xf0um.","YES_WITH_PIN":"PIN innsl\xe1ttar er krafist fyrir kaup \xe1 \xe1skriftum e\xf0a st\xf6kum vi\xf0bur\xf0um.","NO":"Kaup \xe1 \xe1skriftum e\xf0a st\xf6kum vi\xf0bur\xf0um eru ekki leyf\xf0."}},"Locks":{"AgeLevel":{"Title":"Aldurstilling","AGE_LEVEL_0":"Leyft","AGE_LEVEL_6":"Banna\xf0 innan 6 \xe1ra","AGE_LEVEL_9":"Banna\xf0 innan 9 \xe1ra","AGE_LEVEL_12":"Banna\xf0 innan 12 \xe1ra","AGE_LEVEL_16":"Banna\xf0 innan 16 \xe1ra","AGE_LEVEL_18":"Banna\xf0 innan 18 \xe1ra"},"PinPlayContent":{"Title":"PIN \xe1\xf0ur en efni er spila\xf0","ALWAYS":"Alltaf","NOT_FREE":"Ekki \xfeegar fr\xedtt efni er spila\xf0","AGE_LEVEL":"Mi\xf0a\xf0 vi\xf0 aldursstillingu"},"AllowSubscriptions":{"Title":"Leyfa kaup \xe1 \xe1skriftum e\xf0a st\xf6kum vi\xf0bur\xf0um","YES":"J\xe1","YES_WITH_PIN":"J\xe1 - me\xf0 PIN","NO":"Nei"}},"Information":{"Title":"Uppl\xfdsingar","Name":"Nafn","Username":"Notandanafn","AccountId":"Vi\xf0skiptavinur"},"Help":{"Title":"A\xf0sto\xf0","Message":"Ef \xfeig vantar a\xf0sto\xf0, vinsamlegast haf\xf0u samband vi\xf0 \xfej\xf3nustuver St\xf6\xf0var 2 \xed s\xedma 1817."}},"MediaCarousel":{"SeeAll":"Sj\xe1 allt"},"MediaComponent":{"Subtitle":{"Season":"{{count}} \xfe\xe1ttar\xf6\xf0","Seasons":"{{count}} \xfe\xe1ttara\xf0ir","Episode":"\xde\xe1ttur {{episodeNumber}}","Episodes":"{{count}} \xfe\xe1ttur","Of":"af","Episodes_other":"{{count}} \xfe\xe6ttir","IMDb":"IMDb {{imdbRating}}","Purchased":"keypt {{purchasedAt}}","Watched":"horft {{watchedAt}}","DateAt":"{{date}} kl. {{time}}","TodayAt":"\xed dag kl. {{time}}","Live":"\xed beinni n\xfana"}},"MyContent":{"Title":"Mitt efni","PurchasedContent":"M\xednar myndir","WatchHistory":"Mitt \xe1horf","Favorites":"Minn listi"},"ContentInfo":{"IMDb":"IMDb","Year":"\xdatg\xe1fu\xe1r","Director":"Leikstj\xf3ri","Director_other":"Leikstj\xf3rar","Actor":"Leikari","Actor_other":"Leikarar","SimilarContent":"Tengt efni","Duration":{"Title":"Lengd","Data":"{{duration}} m\xedn."},"MaxViewingDuration":{"Title":"Leigut\xedmi","Data":"{{maxViewingDuration}} klst."},"AvailableUntil":{"Title":"A\xf0gengilegt til"},"Price":"Ver\xf0 {{price}} kr.","RentedUntil":{"Title":"Leigt til","WithDate":"Leigt til {{date}}"}},"Movie":{"Watch":"Horfa","Rent":"Leigja","Buy":"Kaupa","Price":"{{price}} kr.","LoginRequired":{"Part1":"\xdeetta efni krefst","Part2":"innskr\xe1ningar"},"NotSubscribed":"\xde\xfa ert ekki \xe1skrifandi af \xfeessu efni","NotPlayable":"\xdeetta efni er ekki \xed bo\xf0i \xe1 \xfeessu t\xe6ki","NotAvailable":"\xdeetta efni er ekki \xed bo\xf0i"},"Series":{"Season":"\xde\xe1ttar\xf6\xf0 {{episodeSeason}}","UnknownSeason":"\xd3\xfeekkt \xfe\xe1ttar\xf6\xf0"},"Search":{"Placeholder":"Leita \xed kvikmyndum og \xfe\xe1ttum","NoResults":"Engar leitarni\xf0urst\xf6\xf0ur"},"Login":{"Title":"Innskr\xe1ning","Email":"Netfang","Password":"Lykilor\xf0","Submit":"Innskr\xe1","Register":"N\xfdskr\xe1","ForgotPassword":"Gleymt lykilor\xf0","Error":{"LocalStorage":"Ekki er h\xe6gt a\xf0 skr\xe1 sig inn \xed \xfeessum vafra \xfear sem hann er stilltur \xe1 a\xf0 leyfa ekki vistun notendauppl\xfdsinga.","Blocked":"Ekki er h\xe6gt a\xf0 endursetja lykilor\xf0 \xed \xfeessum vafra","LoginFailed":"Innskr\xe1ning mist\xf3kst"}},"Forgot":{"Title":"Gleymt lykilor\xf0","Step1":{"Message":"Sl\xe1\xf0u inn s\xedman\xfameri\xf0 sem \xfe\xfa nota\xf0ir vi\xf0 n\xfdskr\xe1ningu","Phone":"S\xedman\xfamer","Submit":"Halda \xe1fram"},"Step2":{"Message":"Vinsamlegast sl\xe1\xf0u inn SMS k\xf3\xf0ann sem vi\xf0 vorum a\xf0 senda \xfe\xe9r","Code":"SMS k\xf3\xf0i","Submit":"Halda \xe1fram"},"Step3":{"Message":"Veldu \xfe\xe9r n\xfdtt lykilor\xf0. \xdea\xf0 ver\xf0ur a\xf0 vera l\xe1gmark 8 stafir, innihalda h\xe1staf, l\xe1gstaf og t\xf6lu.","Password":"Lykilor\xf0","PasswordConfirm":"Lykilor\xf0 endurteki\xf0","Submit":"Endursetja lykilor\xf0","Error":{"PasswordMismatch":"Vinsamlegast sl\xe1\xf0u inn sama lykilor\xf0i\xf0 \xed b\xe1\xf0a gluggana"}}},"Register":{"Title":"N\xfdskr\xe1ning"},"Player":{"SkipIntro":"Sleppa inngangi","NextEpisode":"N\xe6sti \xfe\xe1ttur","AudioLanguage":"Tungum\xe1l","Subt
13itleLanguage":"Undirtexti","Languages":{"is":"\xcdslenska","isl":"\xcdslenska","en":"Enska","eng":"Enska"}},"Products":{"PPV":"Vi\xf0bur\xf0ir","SUBSCRIPTION":"\xc1skriftir"},"Product":{"Price":"Ver\xf0","Subscribed":"\xde\xfa ert n\xfa \xfeegar \xe1skrifandi","Purchase":"Kaupa","Terms":"Skilm\xe1lar","AgreeTerms":"Sam\xfeykki skilm\xe1la","Pin":"Sl\xe1\xf0u inn PIN","PinError":"Rangt PIN","NotAllowed":"Kaup ekki leyf\xf0 \xe1 \xfeessu t\xe6ki","PurchaseLimitReached":"Kaup ekki leyf\xf0 \xfear sem kaup\xfeaki er n\xe1\xf0","PurchaseFailed":"Kaup mist\xf3kust","LoginRequired":{"Part1":"\xdeetta krefst","Part2":"innskr\xe1ningar"},"Loading":"Kaup \xed vinnslu..."},"NotFound":{"Title":"H\xe9r er ekkert a\xf0 finna","Message":"\xdev\xed mi\xf0ur er ekkert \xe1 \xfeessari s\xed\xf0u.","Link":"Smelltu h\xe9r til a\xf0 fara \xe1 fors\xed\xf0una"},"Buttons":{"BuySubscription":"Kaupa \xe1skrift"},"ContentButtons":{"Watch":"Horfa","ContinueWatching":"Halda \xe1fram","FromBeginning":"Fr\xe1 byrjun","FromBeginningSubtitle":"fr\xe1 byrjun","Login":"Innskr\xe1ning","SeasonAndEpisode":"\xde\xe1ttar\xf6\xf0 {{seriesNumber}} - \xde\xe1ttur {{episodeNumber}}","Episode":"\xde\xe1ttur {{episodeNumber}}"},"HeaderMenu":{"ChangeProfiles":"Breyta notendum","Settings":"Stillingar","MyList":"Minn listi","MySites":"M\xednar s\xed\xf0ur","Logout":"\xdatskr\xe1"},"UpComingLive":{"Title":"Framundan \xed beinni"},"HeroBanner":{"Serie":"{{episodeSeason}} \xfe\xe1ttar\xf6\xf0","Episodes":"{{count}} \xfe\xe6ttir"},"Footer":{"Live":"Sj\xf3nvarp","Help":"A\xf0sto\xf0","Collection":"Safn","BuySubscription":"Kaupa \xe1skrift","UpComingLive":"Framundan \xed beinni","Schedule":"Dagskr\xe1","ScheduleForMedia":"Dagskr\xe1 fyrir fj\xf6lmi\xf0la","AdvertiseWithUs":"Augl\xfdstu hj\xe1 okkur","QuestionAndAnswers":"Spurt og svara\xf0","Contact":"Hafa samband","ServiceHours":"Afgrei\xf0slut\xedmar","ServiceCenter":"\xdej\xf3nustuver","PackagesAvailable":"Pakkar \xed bo\xf0i","BuyGiftCertificate":"Kaupa gjafabr\xe9f","ActivateGiftCertificate":"Virkja gjafabr\xe9f","PriceList":"Ver\xf0skr\xe1","PrivacyPolicy":"Pers\xf3nuverndarstefna","Cookies":"Vefk\xf6kur","Terms":"Skilm\xe1lar","Announcements":"Tilkynningar"},"SportLogoLive":{"Title":"Sporti\xf0 \xed beinni","Text":"Vertu \xed besta s\xe6tinu"},"WhereToWatch":{"Title":"Horf\xf0u \xfear sem \xfe\xe9r hentar","Text":"St\xf6\xf0 2+ \xed \xf6llum t\xe6kjunum \xfe\xednum","Blocks":{"SetTopBox":{"Title":"Myndlykill","Text":"\xde\xfa getur horft \xe1 efni\xf0 okkar \xed myndlyklinum \xfe\xednum."},"AppleTV":{"Title":"Apple TV","Text":"\xde\xfa getur horft \xe1 efni\xf0 okkar \xed Apple TV-inu \xfe\xednu \xed gegnum St\xf6\xf0 2 appi\xf0."},"Computer":{"Title":"T\xf6lvur","Text":"\xde\xfa getur horft \xe1 efni\xf0 okkar \xed vefsj\xf3nvarpinu \xed t\xf6lvunni \xfeinni."},"SmartDevices":{"Title":"Snjallt\xe6ki","Text":"\xde\xfa getur horft \xe1 efni\xf0 okkar \xed snjallt\xe6kinu \xfe\xednu gegnum St\xf6\xf0 2 appi\xf0 e\xf0a \xe1 vefnum."}},"Instructions":"Sj\xe1 lei\xf0beiningar"},"Packages":{"Title":"\xc1skriftarpakkar","Text":"Veldu \xfeann pakka sem hentar \xfe\xe9r"},"Profiles":{"Error":"Villa kom upp!","ProiflesLoadErrorText":"Mist\xf3kst a\xf0 s\xe6kja notendur, vinsamlegast reyndu aftur s\xed\xf0ar e\xf0a haf\xf0u samband vi\xf0 \xfej\xf3nustuver St\xf6\xf0var 2 \xed s\xedma 1817.","WhosWatching":"Hver er a\xf0 horfa?","NewProfile":"N\xfdr notandi","ChangeProfile":"Breyta notanda","ChangeProfiles":"Breyta notendum","SelectImage":"Velja mynd","SubText":"Veldu notanda til a\xf0 breyta","Home":"Heima","Add":"B\xe6ta vi\xf0","Finish":"Sta\xf0festa","GoBack":"Til baka","EditProfile":{"ChooseImage":"Veldu mynd","ImageError":"Engin mynd valin","Name":"Nafn","Language":"Tungum\xe1l","AgeLimit":"Aldurstakmark","ProfileType":"Tegund notanda","ChildProfile":"Krakki","ChildProfileText":"Krakkar hafa a\xf0eins a\xf0gang a\xf0 \xc6vint\xfdraheimi barna, en ekki \xf6\xf0ru efni.","EmptyError":"Reitur m\xe1 ekki vera t\xf3mur","LengthError":"Nafn \xfearf a\xf0 vera minnst 2 stafir","NameError":"Reitur er ekki gildur","Cancel":"H\xe6tta vi\xf0","Back":"Til baka","Delete":"Ey\xf0a notanda","DeleteProfileText":"Ertu viss a\xf0 \xfe\xfa viljir ey\xf0a notanda me\xf0 n
13afni\xf0 {{profileName}}?","Save":"Vista","Error":"A\xf0ger\xf0 mist\xf3kst","TryAgainText":"Reyndu aftur s\xed\xf0ar"}},"NoData":{"MyList":{"Text":"\xdeinn listi er t\xf3mur"},"Program":{"Text":"Engin dagskr\xe1"}},"LoadingScreen":{"Message":"Hle\xf0 inn g\xf6gnum"},"ScheduleScreen":{"UpComingLive":"Framundan \xed beinni","UpComingLiveKKI":"KK\xcd TV - Framundan \xed beinni","Schedule":"Dagskr\xe1","TvSchedule":"Sj\xf3nvarpsdagskr\xe1","AllUpComing":"Allt framundan","AllDivisions":"Allar deildir","AllChannels":"Allar st\xf6\xf0var","Yesterday":"\xcd g\xe6r","ToDay":"Dagskr\xe1 \xed dag","Date":"Dags.","Time":"T\xedmi","Title":"Dagskr\xe1rli\xf0ur","Division":"Deild","Channel":"St\xf6\xf0","Detail":"N\xe1nar"},"Dates":{"January":"jan\xfaar","February":"febr\xfaar","March":"mars","April":"apr\xedl","May":"ma\xed","June":"j\xfan\xed","July":"j\xfal\xed","August":"\xe1g\xfast","September":"september","October":"okt\xf3ber","November":"n\xf3vember","December":"desember","Mon":"M\xe1n","Tue":"\xderi","Wed":"Mi\xf0","Thu":"Fim","Fri":"F\xf6s","Sat":"Lau","Sun":"Sun"},"Inputs":{"On":"Kveikt","Off":"Sl\xf6kkt","Yes":"J\xe1","No":"Nei"},"Cookies":{"DeclarationIntro":"Sam\xfeykki \xfeitt n\xe6r til eftirfarandi l\xe9na","ConsentState":"\xde\xedn n\xfaverandi sta\xf0a: Leyfa val","ConsentId":"Sam\xfeykkiskenni \xfeitt","ConsentDate":"Dagsetning sam\xfeykkis","ConsentUpdate":"Smelltu h\xe9r til a\xf0 breyta \xfe\xednum k\xf6kustillingum"},"Subscription":{"Tos":"\xc1skriftarskilm\xe1la","ViaplayEmail":"Netfang"}}')},90874:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},91042:(e,t,r)=>{"use strict";r.d(t,{U5:()=>m,yd:()=>w,e8:()=>v});var n=r(80594),i=r(98487),o=r(54066),a=r(40510),s=r(43129),l=r(17836),u=r(99342),c=r(94683),f=r(20810),d=r(1242),h=r(15538),p=r(11633),g=Object.assign,y=Object.hasOwnProperty,m=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=b)}catch(e){}var r=!a.observers.size;a.observers.add(e);var n=a.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(a.maskResult(n.result)),r&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.waitForOwnResult=_(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var l=r.defaultOptions.watchQuery,u=(void 0===l?{}:l).fetchPolicy,c=void 0===u?"cache-first":u,f=o.fetchPolicy,d=void 0===f?c:f,h=o.initialFetchPolicy,p=void 0===h?"standby"===d?c:d:h;a.options=(0,n.Cl)((0,n.Cl)({},o),{initialFetchPolicy:p,fetchPolicy:d}),a.queryId=i.queryId||r.generateQueryId();var g=(0,s.Vu)(a.query);return a.queryName=g&&g.name&&g.name.value,a}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||a.pT.ready,i=(0,n.Cl)((0,n.Cl)({},t),{loading:(0,a.bi)(r),networkStatus:r}),s=this.options.fetchPolicy,l=void 0===s?"cache-first":s;if(_(l)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(i.data=u.result),(0,o.L)(i.data,{})&&(i.data=void 0),u.complete?(delete i.partial,u.complete&&i.networkStatus===a.pT.loading&&("cache-first"===l||"cache-only"===l)&&(i.networkStatus=a.pT.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||u.complete||this.options.partialRefetch||i.loading||i.data||i.error||w(u.missing)}return e&&this.updateLastResult(i),i},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,p.a)(i,this.last.result,e,this.variables):!(0,o.L)(this.last.result,e))||t&&!(0,o.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0};if("no-cache"===this.options.fetchPolicy?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&y.call(e,"variables")){var l=(0,s.AT)(this.query),u=l.variableDefinitions;u&&u.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.V1.warn(21,e,(null==(t=l.name)?void 0:t.value)||l)}return e&&!(0,o.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.Cl)((0,n.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e.query?e:(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,l=s.networkStatus;
13s.networkStatus=a.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set,c=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,i.V1)(c,22),this.queryManager.fetchQuery(o,r,a.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.pT.fetchMore&&(s.networkStatus=l),f)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var d=t.getLast("result"),h=c(d.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.Cl)((0,n.Cl)({},d),{networkStatus:l,loading:(0,a.bi)(l),data:h}),t.variables)}return t.maskResult(i)}).finally(function(){f&&!u.has(t.query)&&v(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery(function(e,t){return i(e,(0,n.Cl)({subscriptionData:r},t))})},error:function(t){if(e.onError)return void e.onError(t);!1!==globalThis.__DEV__&&i.V1.error(23,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,l.o)(this.options,e||{});g(this.options,t)},t.prototype.setVariables=function(e){return(0,o.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.pT.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.V1)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,a.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,o.L)(t,this.last.variables)&&(r=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,u.m)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.pT.refetch||t===a.pT.fetchMore||t===a.pT.poll,s=this.options.variables,u=this.options.fetchPolicy,c=(0,l.o)(this.options,e||{}),f=i?c:g(this.options,c),d=this.transformDocument(f.query);this.lastQuery=d,!i&&(this.updatePolling(),e&&e.variables&&!(0,o.L)(e.variables,s)&&"standby"!==f.fetchPolicy&&(f.fetchPolicy===u||"function"==typeof f.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=_(f.fetchPolicy));var p=function(){r.concast===v&&(r.waitForOwnResult=!1)},y=f.variables&&(0,n.Cl)({},f.variables),m=this.fetch(f,t,d),v=m.concast,b=m.fromLink,w={next:function(e){(0,o.L)(r.variables,y)&&(p(),r.reportResult(e,y))},error:function(e){(0,o.L)(r.variables,y)&&((0,h.Mn)(e)||(e=new h.K4({networkError:e})),p(),r.reportError(e,y))}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=v,this.observer=w),v.addObserver(w),v},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&(0,c.w)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,n.Cl)((0,n.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.pT.error,loading:!1});this.updateLastResult(r,t),(0,c.w)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.Cl)((0,n.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t}(f.c);function v(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function b(e){!1!==globalThis.__DEV__&&i.V1.error(25,e.message,e.stack)}function w(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(26,e)}function _(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,d.r)(m)},91755:(e,t,r)=>{"use strict";r.d(t,{R:()=>er});var n=r(80594),i=r(98487),o=r(80245),a=r(9516),s=r(63954),l=r(10340),u=r(54066),c=r(80896),f=r(37935),d=r(89835),h=r(66910),p=r(16008),g=r(14596),y=r(20810);function m(e,t,r){return new y.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var v=r(13637);function b(e){var t=w(e);
13return(0,v.E)(t)}function w(e){var t=(0,v.E)(e.errors)?e.errors.slice(0):[];return(0,c.ST)(e)&&(0,v.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var _=r(43129),k=r(78079),S=r(27217),E=r(35495),x=r(94683),T=r(1242);function O(e){return e&&"function"==typeof e.then}var C=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,x.w)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,x.w)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?O(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,x.w)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new y.c(t)]),O(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(y.c);(0,T.r)(C);var N=r(15538),A=r(91042),D=r(40510),P=r(74143),I=new((r(31650)).et?WeakMap:Map);function R(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return I.set(e,(I.get(e)+1)%1e15),r.apply(this,arguments)})}function L(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var M=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;I.has(r)||(I.set(r,0),R(r,"evict"),R(r,"modify"),R(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||D.pT.loading;return this.variables&&this.networkStatus!==D.pT.loading&&!(0,u.L)(this.variables,e.variables)&&(t=D.pT.setVariables),(0,u.L)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){L(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,u.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,u.L)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():(0,A.e8)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
13L(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,D.bi)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,u.L)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===I.get(this.cache)&&(0,u.L)(t,r.variables)&&(0,u.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new P.ZI,a=(0,v.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,v.E)(e.incremental)){var s=(0,c.bd)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=o.merge(l.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(j(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:I.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,u.L)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=D.pT.ready},e.prototype.markError=function(e){return this.networkStatus=D.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function j(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!b(e);return!n&&r&&e.data&&(n=!0),n}var F=r(81694),V=r(99273),U=r(59574),Y=r(33821),B=r(77914),q=r(39892),H=r(12583),W=Object.prototype.hasOwnProperty,z=Object.create(null),G=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new U.A(Y.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new V.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new g.c(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,i.vA)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t,r,o,a,s,l,u,c=e.mutation,f=e.variables,d=e.optimisticResponse,h=e.updateQueries,p=e.refetchQueries,g=void 0===p?[]:p,y=e.awaitRefetchQueries,v=void 0!==y&&y,_=e.update,k=e.onQueryUpdated,S=e.fetchPolicy,E=void 0===S?(null==(l=this.defaultOptions.mutate)?void 0:l.fetchPolicy)||"network-only":S,x=e.errorPolicy,T=void 0===x?(null==(u=this.defaultOptions.mutate)?void 0:u.errorPolicy)||"none":x,O=e.keepRootFields,C=e.context;return(0,n.YH)(this,function(e){switch(e.label){case 0:if((0,i.V1)(c,28),(0,i.V1)("network-only"===E||"no-cache"===E,29),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),r=this.getDocumentInfo(c).hasClientExports,f=this.getVariables(c,f),!r)return[3,2];return[4,this.localState.addExportedVariables(c,f,C)];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:f,loading:!0,error:null}),a=d&&this.markMutationOptimistic(d,{mutationId:t,document:c,variables:f,fetchPolicy:E,errorPolicy:T,context:C,updateQueries:h,update:_,keepRootFields:O}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return m(s.getObservableFromLink(c,(0,n.Cl)((0,n.Cl)({},C),{optimisticResponse:a?d:void 0}),f,{},!1),function(e){if(b(e)&&"none"===T)throw new N.K4({graphQLErrors:w(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"==typeof g&&(g=g(r)),"ignore"===T&&b(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:c,variables:f,fetchPolicy:E,errorPolicy:T,context:C,update:_,updateQueries:h,awaitRefetchQueries:v,refetchQueries:g,removeOptimistic:a?t:void 0,onQueryUpdated:k,keepRootFields:O})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,n.Cl)((0,n.Cl)({},r),{data:s.maskOperation({document:c,data:r.data,fetchPolicy:E,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof N.K4?e:new N.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&j(i,e.errorPolicy)){if((0,c.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,c.ST)(i)&&(0,v.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
13),l=void 0;s.result&&(l=(0,c.bd)(s.result,i)),void 0!==l&&(i.data=l,o.push({result:l,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&W.call(u,s)){var l=u[s],c=r.queries.get(n),f=c.document,d=c.variables,h=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),p=h.result;if(h.complete&&p){var g=l(p,{mutationResult:i,queryName:f&&(0,_.n4)(f)||void 0,queryVariables:d});g&&o.push({result:g,dataId:"ROOT_QUERY",query:f,variables:d})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,l=!(0,c.YX)(i)||(0,c.ST)(i)&&!i.hasNext;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}l&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!l||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return f.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables,{IGNORE:z}):e;return o!==z&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,f.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.d8)(["nonreactive"],e),nonReactiveQuery:(0,d.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,d.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,_.wY)((0,_.Vu)(e)),asQuery:(0,n.Cl)((0,n.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new M(this),i=new A.U5({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,30),(0,i.V1)("Document"===e.query.kind,31),(0,i.V1)(!e.returnPartialData,32),(0,i.V1)(!e.pollInterval,33);var o=this.transform(e.query);return this.fetchQuery(t,(0,n.Cl)((0,n.Cl)({},e),{query:o})).then(function(i){return i&&(0,n.Cl)((0,n.Cl)({},i),{data:r.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
13),this.cancelPendingFetches((0,i.vA)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=D.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)o.set(e,e),a.set(e,!1);else if((0,k.Kc)(e)){var r=(0,F.y)(t.transform(e));o.set(r,(0,_.n4)(e)),a.set(r,!1)}else(0,S.U)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,F.y)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,F.y)(o),!0))}}),s.size&&s.forEach(function(e){var o=(0,E.v)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new A.U5({queryManager:t,queryInfo:a,options:(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){if(!e){var r=o.get(t);r?!1!==globalThis.__DEV__&&i.V1.warn(35,r):!1!==globalThis.__DEV__&&i.V1.warn(36)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,l=void 0===s?{}:s,u=e.extensions,c=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,l,e,c).map(function(n){"no-cache"!==i&&(j(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=b(n),s=(0,N.uR)(n);if(o||s){var l={};if(o&&(l.graphQLErrors=n.errors),s&&(l.protocolErrors=n.extensions[N.K$]),"none"===a||s)throw new N.K4(l)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,l).then(f);return new y.c(function(e){var t=null;return d.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,o){var s,l,u=this;void 0===o&&(o=null!=(s=null==t?void 0:t.queryDeduplication)?s:this.queryDeduplication);var c=this.getDocumentInfo(e),f=c.serverQuery,d=c.clientQuery;if(f){var h=this.inFlightLinkObservables,g=this.link,v={query:f,variables:r,operationName:(0,_.n4)(f)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=v.context,o){var b=(0,F.y)(f),w=(0,p.M)(r),k=h.lookup(b,w);if(!(l=k.observable)){var S=new C([(0,a.g)(g,v)]);l=k.observable=S,S.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?S.beforeNext(e):h.remove(b,w)})}}else l=new C([(0,a.g)(g,v)])}else l=new C([y.c.of({data:{}})]),t=this.prepareContext(t);return d&&(l=m(l,function(e){return u.localState.runResolvers({document:d,remoteResult:e,context:t,variables:r})})),l},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=w(o),s=a.length>0,l=r.errorPolicy;if(n>
13=e.lastRequestId){if(s&&"none"===l)throw e.markError(new N.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:D.pT.ready};return s&&"none"===l&&(u.data=void 0),s&&"ignore"!==l&&(u.errors=a,u.networkStatus=D.pT.error),u},function(t){var r=(0,N.Mn)(t)?t:new N.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=D.pT.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),l=this.getQuery(e),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,f=void 0===c?u&&u.fetchPolicy||"cache-first":c,d=t.errorPolicy,h=void 0===d?u&&u.errorPolicy||"none":d,p=t.returnPartialData,g=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:h,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==g&&g,context:void 0===y?{}:y}),v=function(e){m.variables=e;var n=a.fetchQueryByPolicy(l,m,r);return"standby"!==m.fetchPolicy&&n.sources.length>0&&l.observableQuery&&l.observableQuery.applyNextFetchPolicy("after-fetch",t),n},b=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new C(this.localState.addExportedVariables(m.query,m.variables,m.context).then(v).then(function(e){return e.sources})),o=!0;else{var w=v(m.variables);o=w.fromLink,i=new C(w.sources)}return i.promise.then(b,b),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,E.v)("refetchQueries"):void 0:a,l=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof M&&e.watcher.observableQuery;if(n){if(l){u.delete(n.queryId);var i=l(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==l&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(l){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=l(i,a,o)}l&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),c},e.prototype.maskOperation=function(e){var t,r,n,o=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,l=e.id,u=null==(t=(0,_.Vu)(o))?void 0:t.operation,c=(null!=(r=null==u?void 0:u[0])?r:"o")+l;!this.dataMasking||"no-cache"!==s||(0,h.s6)(o)||this.noCacheWarningsByQueryId.has(c)||(this.noCacheWarningsByQueryId.add(c),!1!==globalThis.__DEV__&&i.V1.warn(37,null!=(n=(0,_.n4)(o))?n:"Unnamed ".concat(null!=u?u:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,q.Ki)(),e;var n,o=(0,_.Vu)(t);return((0,i.V1)(o,51),null==e)?e:(0,B.S)(e,o.selectionSet,{operationType:o.operation,operationName:null==(n=o.name)?void 0:n.value,fragmentMap:(0,h.JG)((0,_.zK)(t)),cache:r,mutableTargets:new q.jq,knownChanged:new q.xm})}(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,H.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,l=t.refetchWritePolicy,c=t.errorPolicy,f=t.returnPartialData,d=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var g=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||D.pT.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,u.L)(s,{})||(0,A.yd)(t.missing);var l=function(e){return y.c.of((0,n.Cl)({data:e,loading:(0,D.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:d,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return l(e.data||void 0)}):"none"===c&&r===D.pT.refetch&&Array.isArray(t.missing)?l(void 0):l(s)},v="no-cache"===s?0:r===D.pT.refetch&&"merge"!==l?1:2,b=function(){return i.getResultsFromLink(e,v,{query:o,variables:a,context:d,fetchPolicy:s,errorPolicy:c})},w=h&&"number"==typeof p&&p!==r&&(0,D.bi)(r);switch(s){default:case"cache-first":var _=g();if(_.complete)return{fromLink:!1,sources:[m(_,e.markReady())]};if(f||w)return{fromLink:!0,sources:[m(_),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var _=g();if(_.complete||f||w)return{fromLink:!0,sources:[m(_),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[m(g(),e.markReady())]};case"network-only":if(w)return{fromLink:!0,sources:[m(g()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(w)return{fromLink:!0,sources:[m(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new M(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),$=r(8284),K=r(72119);function Q(e){return e.kind===K.b.FIELD||e.kind===K.b.FRAGMENT_SPREAD||e.kind===K.b.INLINE_FRAGMENT}var J=r(93535),Z=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,P.D9)(t.resolvers,e)}):this.resolvers=(0,P.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,n.Cl)((0,n.Cl)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,f.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,d.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.Cl)((0,n.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.YH)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,n.Cl)((0,n.Cl)({},t),e.exportedVariables)})]:[2,(0,n.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,$.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return $.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,d.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.sH)(this,arguments,void 0,function(e,t,r,i,o,a){var s,l,u,c,f,d,p,g,y,m;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.YH)(this,function(v){return s=(0,_.Vn)(e),l=(0,_.zK)(e),u=(0,h.JG)(l),c=this.collectSelectionsToResolve(s,u),d=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,g=p.cache,y=p.client,m={fragmentMap:u,context:(0,n.Cl)((0,n.Cl)({},r),{cache:g,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,s,l,u,c,d=this;return(0,n.YH)(this,function(h){return a=o.fragmentMap,s=o.context,l=o.variables,u=[r],c=function(e){return(0,n.sH)(d,void 0,void 0,function(){var c,d;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,f.MS)(e,l)?(0,k.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&u.push(((r={}
13)[(0,k.ue)(e)]=t,r))})]:((0,k.kd)(e)?c=e:(c=a[e.name.value],(0,i.V1)(c,19,e.name.value)),c&&c.typeCondition&&(d=c.typeCondition.name.value,o.fragmentMatcher(r,d,s)))?[2,this.resolveSelectionSet(c.selectionSet,t,r,o).then(function(e){u.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return(0,P.IM)(u)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,l,u,c,f,d,h,p=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,l=(a=e.name.value)!==(s=(0,k.ue)(e)),c=Promise.resolve(u=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||i.defaultOperationType,(d=this.resolvers&&this.resolvers[f])&&(h=d[l?a:s])&&(c=Promise.resolve(J.bl.withValue(this.cache,h,[r,(0,k.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var n,o,a=null!=(o=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&o;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,$.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&Q(e)&&a.add(e)})},FragmentSpread:function(n,o,s,l,u){var c=t[n.name.value];(0,i.V1)(c,20,n.name.value);var f=e(c);f.size>0&&(u.forEach(function(e){r(e)&&Q(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),X=r(61289),ee=r(75306),et=!1,er=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var a=e.uri,u=e.credentials,c=e.headers,f=e.cache,d=e.documentTransform,h=e.ssrMode,p=void 0!==h&&h,g=e.ssrForceFetchDelay,y=void 0===g?0:g,m=e.connectToDevTools,v=e.queryDeduplication,b=void 0===v||v,w=e.defaultOptions,_=e.defaultContext,k=e.assumeImmutableResults,S=void 0===k?f.assumeImmutableResults:k,E=e.resolvers,x=e.typeDefs,T=e.fragmentMatcher,O=e.name,C=e.version,N=e.devtools,A=e.dataMasking,D=e.link;D||(D=a?new l.P({uri:a,credentials:u,headers:c}):o.C.empty()),this.link=D,this.cache=f,this.disableNetworkFetches=p||y>0,this.queryDeduplication=b,this.defaultOptions=w||Object.create(null),this.typeDefs=x,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},N),{enabled:null!=(t=null==N?void 0:N.enabled)?t:m}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),y&&setTimeout(function(){return r.disableNetworkFetches=!1},y),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.r,this.localState=new Z({cache:f,client:this,resolvers:E,fragmentMatcher:T}),this.queryManager=new G({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:d,queryDeduplication:b,ssrMode:p,dataMasking:!!A,clientAwareness:{name:O,version:C},localState:this.localState,assumeImmutableResults:S,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!et&&!1!==globalThis.__DEV__&&(et=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
13,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,X.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,X.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,X.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(i){return(0,n.Cl)((0,n.Cl)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.Cl)((0,n.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,a.g)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){!1!==globalThis.__DEV__&&i.V1.debug(18,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(er.prototype.getMemoryInternals=ee.ep)},92309:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(33736),i=r(91844);let o=e=>{let{children:t,exceptionRef:r,onMove:o,onMouseUp:a,className:s=""}=e,l=(0,i.useRef)(null);return(0,i.useEffect)(()=>
13{if(!o)return;let e=e=>{o(e)};return document.addEventListener("mousemove",e),()=>{document.removeEventListener("mousemove",e)}},[r,o]),(0,i.useEffect)(()=>{if(!a)return;let e=e=>{a(e)};return document.addEventListener("mouseup",e),()=>{document.removeEventListener("mouseup",e)}},[r,a]),(0,n.jsx)("div",{ref:l,className:s,children:t})}},93535:(e,t,r)=>{"use strict";r.d(t,{MS:()=>l,UT:()=>u,WR:()=>s,bl:()=>i});var n=r(3160),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function l(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;a(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var l=Array.from(r);r.clear(),l.forEach(function(t){return t(e)})}}else{var u=i.getValue();u&&(o(u),a(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},94683:(e,t,r)=>{"use strict";function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}r.d(t,{w:()=>n})},95466:(e,t,r)=>{e.exports=r(32155)},95989:(e,t,r)=>{"use strict";var n=r(75975),i=r(46650),o=r(8807);function a(){return l.TYPED_ARRAY_SUPPORT?0x7fffffff:0x3fffffff}function s(e,t){if(a()<t)throw RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return f(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=d(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!l.isEncoding(r))throw TypeError('"encoding" must be a valid string encoding');var n=0|p(t,r),i=(e=s(e,n)).write(t,r);return i!==n&&(e=e.slice(0,i)),e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r,n=0|h(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t){return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):d(e,t)}if("Buffer"===t.type&&o(t.data))return d(e,t.data)}throw TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be a number');if(e<0)throw RangeError('"size" argument must not be negative')}function f(e,t){if(c(t),e=s(e,t<0?0:0|h(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|h(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function h(e){if(e>=a())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(n)return C(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var i,o,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n,i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var o="",a=t;a<r;++a){o+=(n=e[a])<16?"0"+n.toString(16):n.toString(16)}return o}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,i){if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),isNaN(r*=1)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t){if(t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return v(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;
13o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var f=!0,d=0;d<l;d++)if(u(e,o+d)!==u(t,d)){f=!1;break}if(f)return o}return -1}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return u(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return(c(e),e<=0)?s(null,e):void 0!==t?"string"==typeof r?s(null,e).fill(t,r):s(null,e).fill(t):s(null,e)},l.allocUnsafe=function(e){return f(null,e)},l.allocUnsafeSlow=function(e){return f(null,e)},l.isBuffer=function(e){return!!(null!=e&&e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},l.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}},l.concat=function(e,t){if(!o(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!l.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0==arguments.length?b(this,0,e):g.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,n,i){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,s=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),f=0;f<s;++f)if(u[f]!==c[f]){o=u[f],a=c[f];break}return o<a?-1:+(a<o)},l.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)};function b(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}var d=n,h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",g=0;g<h;)p+=String.fromCharCode.apply(String,d.slice(g,g+=4096));return p}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function _(e,t,r,n,i,o){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function k(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>(n?i:1-i)*8}function S(e,t,r,n){t<0&&(t=0xffffffff+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>
13>(n?i:3-i)*8&255}function E(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function x(e,t,r,n,o){return o||E(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,o){return o||E(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,f,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))break;e[r+a]=s}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,D(C(e,this.length-i),this,i,o);case"ascii":return a=t,s=r,D(N(e),this,a,s);case"latin1":case"binary":return function(e,t,r,n){return D(N(t),e,r,n)}(this,e,t,r);case"base64":return l=t,u=r,D(A(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=r,D(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=l.prototype;else{var i=t-e;r=new l(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUInt8=function(e,t){return t||w(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||w(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||w(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return(t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},l.prototype.readInt16BE=function(e,t){t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},l.prototype.readInt32LE=function(e,t){return t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||w(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||w(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||w(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||w(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;_(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;_(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,4,0xffffffff,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):S(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,4,0xffffffff,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):S(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t|=0,!n){var i=Math.pow(2,8*r-1);_(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t|=0,!n){var i=Math.pow(2,8*r-1);_(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,4,0x7fffffff,-0x80000000),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):S(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e*=1,t|=0,r||_(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):S(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return x(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return x(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("sourceStart out of bounds");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i,o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=l.isBuffer(e)?e:C(new l(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var O=/[^+\/0-9A-Za-z-_]/g;
13function C(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function N(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function A(e){return n.toByteArray(function(e){var t;if((e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}},96583:(e,t,r)=>{"use strict";let n;r.d(t,{xC:()=>w,r9:()=>g,Bd:()=>b});var i=r(91844);r(90874),Object.create(null);let o={},a=(e,t,r,n)=>{c(r)&&o[r]||(c(r)&&(o[r]=new Date),((e,t,r,n)=>{let i=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);c(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)})(e,t,r,n))},s=(e,t)=>()=>{if(e.isInitialized)t();else{let r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},l=(e,t,r)=>{e.loadNamespaces(t,s(e,r))},u=(e,t,r,n)=>{if(c(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return l(e,r,n);r.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,s(e,n))},c=e=>"string"==typeof e,f=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,d={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"â¦","…":"â¦","/":"/","/":"/"},h=e=>d[e],p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(f,h)},g={type:"3rdParty",init(e){((e={})=>{p={...p,...e}})(e.options.react),n=e}},y=(0,i.createContext)();class m{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let v=(e,t,r,n)=>e.getFixedT(t,r,n),b=(e,t={})=>{let{i18n:r}=t,{i18n:o,defaultNS:s}=(0,i.useContext)(y)||{},f=r||o||n;if(f&&!f.reportNamespaces&&(f.reportNamespaces=new m),!f){a(f,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>c(t)?t:(e=>"object"==typeof e&&null!==e)(t)&&c(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}f.options.react?.wait&&a(f,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let d={...p,...f.options.react,...t},{useSuspense:h,keyPrefix:g}=d,b=e||s||f.options?.defaultNS;b=c(b)?[b]:b||["translation"],f.reportNamespaces.addUsedNamespaces?.(b);let w=(f.isInitialized||f.initializedStoreOnce)&&b.every(e=>((e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n?.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.
13isLanguageChangingTo,e))return!1}}):(a(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,f,d)),_=((e,t,r,n)=>(0,i.useCallback)(v(e,t,r,n),[e,t,r,n]))(f,t.lng||null,"fallback"===d.nsMode?b:b[0],g),k=()=>_,S=()=>v(f,t.lng||null,"fallback"===d.nsMode?b:b[0],g),[E,x]=(0,i.useState)(k),T=b.join();t.lng&&(T=`${t.lng}${T}`);let O=((e,t)=>{let r=(0,i.useRef)();return(0,i.useEffect)(()=>{r.current=t?r.current:e},[e,t]),r.current})(T),C=(0,i.useRef)(!0);(0,i.useEffect)(()=>{let{bindI18n:e,bindI18nStore:r}=d;C.current=!0,w||h||(t.lng?u(f,t.lng,b,()=>{C.current&&x(S)}):l(f,b,()=>{C.current&&x(S)})),w&&O&&O!==T&&C.current&&x(S);let n=()=>{C.current&&x(S)};return e&&f?.on(e,n),r&&f?.store.on(r,n),()=>{C.current=!1,f&&e?.split(" ").forEach(e=>f.off(e,n)),r&&f&&r.split(" ").forEach(e=>f.store.off(e,n))}},[f,T]),(0,i.useEffect)(()=>{C.current&&w&&x(k)},[f,g,w]);let N=[E,f,w];if(N.t=E,N.i18n=f,N.ready=w,w||!w&&!h)return N;throw new Promise(e=>{t.lng?u(f,t.lng,b,()=>e()):l(f,b,()=>e())})};function w({i18n:e,defaultNS:t,children:r}){let n=(0,i.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,i.createElement)(y.Provider,{value:n},r)}},98168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.devAssert=function(e,t){if(!e)throw Error(t)}},98487:(e,t,r)=>{"use strict";r.d(t,{Sf:()=>a,V1:()=>u,no:()=>o,vA:()=>c});var n=r(53508),i=r(63954);function o(e){try{return e()}catch(e){}}let a=o(function(){return globalThis})||o(function(){return window})||o(function(){return self})||o(function(){return global})||o(function(){return o.constructor("return this")()});var s=r(87439);function l(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=h(i))||(t=p(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var u=Object.assign(function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e||(0,n.V1)(e,h(t,r)||p(t,r))},{debug:l(n.V1.debug),log:l(n.V1.log),warn:l(n.V1.warn),error:l(n.V1.error)});function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new n.zU(h(e,t)||p(e,t))}var f=Symbol.for("ApolloErrorMessageHandler_"+i.r);function d(e){if("string"==typeof e)return e;try{return(0,s.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function h(e,t){if(void 0===t&&(t=[]),e)return a[f]&&a[f](e,t.map(d))}function p(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.r,message:e,args:t.map(d)})))}globalThis.__DEV__},98677:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>W,t:()=>z});let n=e=>"string"==typeof e,i=()=>{let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},o=e=>null==e?"":""+e,a=/###/g,s=e=>e&&e.indexOf("###")>-1?e.replace(a,"."):e,l=e=>!e||n(e),u=(e,t,r)=>{let i=n(t)?t.split("."):t,o=0;for(;o<i.length-1;){if(l(e))return{};let t=s(i[o]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return l(e)?{}:{obj:e,k:s(i[o])}},c=(e,t,r)=>{let{obj:n,k:i}=u(e,t,Object);if(void 0!==n||1===t.length){n[i]=r;return}let o=t[t.length-1],a=t.slice(0,t.length-1),s=u(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,s=u(e,a=a.slice(0,a.length-1),Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=r},f=(e,t)=>{let{obj:r,k:n}=u(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},d=(e,t,r)=>{for(let i in t)"__proto__"!==i&&"constructor"!==i&&(i in e?n(e[i])||e[i]instanceof String||n(t[i])||t[i]instanceof String?r&&(e[i]=t[i]):d(e[i],t[i],r):e[i]=t[i]);return e},h=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var p={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let g=e=>n(e)?e.replace(/[&<>"'\/]/g,e=>p[e]):e;class y{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}let m=[" ",",","?","!",";"],v=new y(20),b=(e,t,r=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let n=t.split(r),i=e;for(let e=0;e<n.length;){let t;if(!i||"object"!=typeof i)return;let o="";for(let a=e;a<n.length;++a)if(a!==e&&(o+=r),o+=n[a],void 0!==(t=i[o])){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<n.length-1)continue;e+=a-e+1;break}i=t}return i},w=e=>e?.replace("_","-"),_={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class k{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||_,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,i){return i&&!this.debug?null:(n(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new k(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new k(this.logger,e)}}var S=new k;class E{constructor(){this.observers={}}
13on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,r])=>{for(let n=0;n<r;n++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,n])=>{for(let i=0;i<n;i++)r.apply(r,[e,...t])})}}class x extends E{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r,i={}){let o,a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],r&&(Array.isArray(r)?o.push(...r):n(r)&&a?o.push(...r.split(a)):o.push(r)));let l=f(this.data,o);return(!l&&!t&&!r&&e.indexOf(".")>-1&&(e=o[0],t=o[1],r=o.slice(2).join(".")),!l&&s&&n(r))?b(this.data?.[e]?.[t],r,a):l}addResource(e,t,r,n,i={silent:!1}){let o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=[e,t];r&&(a=a.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(a=e.split("."),n=t,t=a[1]),this.addNamespaces(t),c(this.data,a,n),i.silent||this.emit("added",e,t,r,n)}addResources(e,t,r,i={silent:!1}){for(let i in r)(n(r[i])||Array.isArray(r[i]))&&this.addResource(e,t,i,r[i],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,i,o={silent:!1,skipCopy:!1}){let a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),n=r,r=t,t=a[1]),this.addNamespaces(t);let s=f(this.data,a)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?d(s,r,i):s={...s,...r},c(this.data,a,s),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var T={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(e=>{t=this.processors[e]?.process(t,r,n,i)??t}),t}};let O={},C=e=>!n(e)&&"boolean"!=typeof e&&"number"!=typeof e;class N extends E{constructor(e,t={}){super(),((e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
13i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=S.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let r={...t};if(null==e)return!1;let n=this.resolve(e,r);return n?.res!==void 0}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,r)=>{t=t||"",r=r||"";let n=m.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let i=v.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),o=!i.test(e);if(!o){let t=e.indexOf(r);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,r,i);if(a&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:n(o)?[o]:o};let a=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(i)}return{key:e,namespaces:n(o)?[o]:o}}translate(e,t,r){let i="object"==typeof t?{...t}:t;if("object"!=typeof i&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof options&&(i={...i}),i||(i={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let o=void 0!==i.returnDetails?i.returnDetails:this.options.returnDetails,a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],i),u=l[l.length-1],c=void 0!==i.nsSeparator?i.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");let f=i.lng||this.language,d=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode")return d?o?{res:`${u}${c}${s}`,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(i)}:`${u}${c}${s}`:o?{res:s,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(i)}:s;let h=this.resolve(e,i),p=h?.res,g=h?.usedKey||s,y=h?.exactUsedKey||s,m=void 0!==i.joinArrays?i.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=void 0!==i.count&&!n(i.count),w=N.hasDefaultValue(i),_=b?this.pluralResolver.getSuffix(f,i.count,i):"",k=i.ordinal&&b?this.pluralResolver.getSuffix(f,i.count,{ordinal:!1}):"",S=b&&!i.ordinal&&0===i.count,E=S&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${_}`]||i[`defaultValue${k}`]||i.defaultValue,x=p;v&&!p&&w&&(x=E);let T=C(x),O=Object.prototype.toString.apply(x);if(v&&x&&T&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(O)&&!(n(m)&&Array.isArray(x))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,x,{...i,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return o?(h.res=e,h.usedParams=this.getUsedParamsDetails(i),h):e}if(a){let e=Array.isArray(x),t=e?[]:{},r=e?y:g;for(let e in x)if(Object.prototype.hasOwnProperty.call(x,e)){let n=`${r}${a}${e}`;w&&!p?t[e]=this.translate(n,{...i,defaultValue:C(E)?E[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(n,{...i,joinArrays:!1,ns:l}),t[e]===n&&(t[e]=x[e])}p=t}}else if(v&&n(m)&&Array.isArray(p))(p=p.join(m))&&(p=this.extendTranslation(p,e,i,r));else{let t=!1,n=!1;!this.isValidLookup(p)&&w&&(t=!0,p=E),this.isValidLookup(p)||(n=!0,p=s);let o=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:p,l=w&&E!==p&&this.options.updateMissing;if(n||t||l){if(this.logger.log(l?"updateKey":"missingKey",f,u,s,l?E:p),a){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let r=(e,t,r)=>{let n=w&&r!==p?r:o;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,n,l,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,u,t,n,l,i),this.emit
13("missingKey",e,u,t,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);S&&i[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],s+t,i[`defaultValue${t}`]||E)})}):r(e,s,E))}p=this.extendTranslation(p,e,i,h,r),n&&p===s&&this.options.appendNamespaceToMissingKey&&(p=`${u}${c}${s}`),(n||t)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${s}`:s,t?p:void 0,i))}return o?(h.res=p,h.usedParams=this.getUsedParamsDetails(i),h):p}extendTranslation(e,t,r,i,o){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){let a;r.interpolation&&this.interpolator.init({...r,...{interpolation:{...this.options.interpolation,...r.interpolation}}});let s=n(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=r.replace&&!n(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language||i.usedLng,r),s){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(r.nest=!1)}!r.lng&&i&&i.res&&(r.lng=this.language||i.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>o?.[0]!==e[0]||r.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}let a=r.postProcess||this.options.postProcess,s=n(a)?[a]:a;return null!=e&&s?.length&&!1!==r.applyPostProcessor&&(e=T.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,i,o,a,s;return n(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(r))return;let l=this.extractFromKey(e,t),u=l.key;i=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let f=void 0!==t.count&&!n(t.count),d=f&&!t.ordinal&&0===t.count,h=void 0!==t.context&&(n(t.context)||"number"==typeof t.context)&&""!==t.context,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);
13c.forEach(e=>{this.isValidLookup(r)||(s=e,!O[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(s)&&(O[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let i;if(this.isValidLookup(r))return;a=n;let s=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(s,u,n,e,t);else{let e;f&&(e=this.pluralResolver.getSuffix(n,t.count,t));let r=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(s.push(u+e),t.ordinal&&0===e.indexOf(i)&&s.push(u+e.replace(i,this.options.pluralSeparator)),d&&s.push(u+r)),h){let n=`${u}${this.options.contextSeparator}${t.context}`;s.push(n),f&&(s.push(n+e),t.ordinal&&0===e.indexOf(i)&&s.push(n+e.replace(i,this.options.pluralSeparator)),d&&s.push(n+r))}}for(;i=s.pop();)this.isValidLookup(r)||(o=i,r=this.getResource(n,e,i,t))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(e={}){let t=e.replace&&!n(e.replace),r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}class A{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=S.create("languageUtils")}getScriptPartFromCode(e){if(!(e=w(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=w(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(n(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getScriptPartFromCode(e);if(this.isSupportedCode(r))return t=r;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&(e.indexOf("-")>0&&0>n.indexOf("-")&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),n(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),i=[],o=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return n(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):n(e)&&o(this.formatLanguageCode(e)),r.forEach(e
13=>{0>i.indexOf(e)&&o(this.formatLanguageCode(e))}),i}}let D={zero:0,one:1,two:2,few:3,many:4,other:5},P={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class I{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=S.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let r,n=w("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{r=new Intl.PluralRules(n,{type:i})}catch(i){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),P;if(!e.match(/-|_/))return P;let n=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(n,t)}return this.pluralRulesCache[o]=r,r}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return(r||(r=this.getRule("dev",t)),r)?r.resolvedOptions().pluralCategories.sort((e,t)=>D[e]-D[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,r={}){let n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}let R=(e,t,r,i=".",o=!0)=>{let a=((e,t,r)=>{let n=f(e,r);return void 0!==n?n:f(t,r)})(e,t,r);return!a&&o&&n(r)&&void 0===(a=b(e,r,i))&&(a=b(t,r,i)),a},L=e=>e.replace(/\$/g,"$$$$");class M{constructor(e={}){this.logger=S.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:y,nestingOptionsSeparator:m,maxReplaces:v,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=i?h(i):o||"{{",this.suffix=a?h(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=f?h(f):d||h("$t("),this.nestingSuffix=p?h(p):y||h(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,i){let a,s,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(0>e.indexOf(this.formatSeparator)){let n=R(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(n,void 0,r,{...i,...t,interpolationkey:e}):n}let n=e.split(this.formatSeparator),o=n.shift().trim(),a=n.join(this.formatSeparator).trim();return this.format(R(t,u,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,{...i,...t,interpolationkey:o})};this.resetRegExp();let f=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>L(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?L(this.escape(e)):L(e)}].forEach(t=>{for(l=0;a=t.regex.exec(e);){let r=a[1].trim();if(void 0===(s=c(r)))if("function"==typeof f){let t=f(e,a,i);s=n(t)?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,r))s="";else if(d){s=a[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),s="";else n(s)||this.useRawValueToEscape||(s=o(s));let u=t.safeValue(s);if(e=e.replace(a[0],u),d?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,r={}){let i,a,s,l=(e,t)=>
13{let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),i=`{${n[1]}`;e=n[0];let o=(i=this.interpolate(i,s)).match(/'/g),a=i.match(/"/g);((o?.length??0)%2!=0||a)&&a.length%2==0||(i=i.replace(/'/g,'"'));try{s=JSON.parse(i),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${i}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;i=this.nestingRegexp.exec(e);){let u=[];(s=(s={...r}).replace&&!n(s.replace)?s.replace:s).applyPostProcessor=!1,delete s.defaultValue;let c=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(-1!==c&&(u=i[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),i[1]=i[1].slice(0,c)),(a=t(l.call(this,i[1].trim(),s),s))&&i[0]===e&&!n(a))return a;n(a)||(a=o(a)),a||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),a=""),u.length&&(a=u.reduce((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:i[1].trim()}),a.trim())),e=e.replace(i[0],a),this.regexp.lastIndex=0}return e}}let j=e=>{let t={};return(r,n,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});let a=n+JSON.stringify(o),s=t[a];return s||(s=e(w(n),i),t[a]=s),s(r)}},F=e=>(t,r,n)=>e(w(r),n)(t);class V{constructor(e={}){this.logger=S.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let r=t.cacheInBuiltFormats?j:F;this.formats={number:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:r((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:r((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:r((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=j(t)}format(e,t,r,n={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);"currency"===t&&0>i.indexOf(":")?r.currency||(r.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?r.range||(r.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();r[o]||(r[o]=i),"false"===i&&(r[o]=!1),"true"===i&&(r[o]=!0),isNaN(i)||(r[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:r}})(t);if(this.formats[i]){let t=e;try{let a=n?.formatParams?.[n.interpolationkey]||{},s=a.locale||a.lng||n.locale||n.lng||r;t=this.formats[i](e,s,{...o,...n,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class U extends E{constructor(e,t,r,n={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=S.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){let i={},o={},a={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,n=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),i=n[0],o=n[1];
13t&&this.emit("failedLoading",i,o,t),!t&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let a={};this.queue.forEach(r=>{((e,t,r,n)=>{let{obj:i,k:o}=u(e,t,Object);i[o]=i[o]||[],i[o].push(r)})(r.loaded,[i],o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{a[e]||(a[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r,n=0,i=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:i,callback:o});this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&s&&n<this.maxRetries)return void setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*i,o)},i);o(a,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t,r={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();n(e)&&(e=this.languageUtils.toResolveHierarchy(e)),n(t)&&(t=[t]);let o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){let r=e.split("|"),n=r[0],i=r[1];this.read(n,i,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,n,i,o={},a=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=r&&""!==r){if(this.backend?.create){let s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,r,n,s):l(e,t,r,n))&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,r,n,a,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let Y=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),n(e[1])&&(t.defaultValue=e[1]),n(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),B=e=>(n(e.ns)&&(e.ns=[e.ns]),n(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),n(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),q=()=>{};
13class H extends E{constructor(e={},t){if(super(),this.options=B(e),this.services={},this.logger=S,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(n(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let r=Y();this.options={...r,...this.options,...B(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);let o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?S.init(o(this.modules.logger),this.options):S.init(null,this.options),e=this.modules.formatter?this.modules.formatter:V;let t=new A(this.options);this.store=new x(this.options.resources,this.options);let n=this.services;n.logger=S,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new I(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),e&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(n.formatter=o(e),n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new M(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new U(o(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=o(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=o(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=q),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let a=i(),s=()=>{let e=(e,r)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(r),t(e,r)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),a}loadResources(e,t=q){let r=t,i=n(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=i();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=q),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&T.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let r=i();
13this.emit("languageChanging",e);let o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(n,i)=>{i?this.isLanguageChangingTo===e&&(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve((...e)=>this.t(...e)),t&&t(n,(...e)=>this.t(...e))},s=t=>{e||t||!this.services.languageDetector||(t=[]);let r=n(t)?t:t&&t[0],i=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(n(t)?[t]:t);i&&(this.language||o(i),this.translator.language||this.translator.changeLanguage(i),this.services.languageDetector?.cacheUserLanguage?.(i)),this.loadResources(i,e=>{a(e,i)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),r}getFixedT(e,t,r){let i=(e,t,...n)=>{let o,a;(o="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(n)):{...t}).lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||r||i.keyPrefix);let s=this.options.keySeparator||".";return a=o.keyPrefix&&Array.isArray(e)?e.map(e=>`${o.keyPrefix}${s}${e}`):o.keyPrefix?`${o.keyPrefix}${s}${e}`:e,this.t(a,o)};return n(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=r,i}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
13if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!n||o(i,e)))}loadNamespaces(e,t){let r=i();return this.options.ns?(n(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=i();n(e)&&(e=[e]);let o=this.options.preload||[],a=e.filter(e=>0>o.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=o.concat(a),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";if(Intl.Locale){let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}let t=this.services?.languageUtils||new A(Y());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){return new H(e,t)}cloneInstance(e={},t=q){let r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},i=new H(n);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new x(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((r,n)=>(r[n]={...e[t][n]},r),e[t]),e),{}),n),i.services.resourceStore=i.store),i.translator=new N(i.services,n),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(n,t),i.translator.options=n,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let W=H.createInstance();W.createInstance=H.createInstance,W.createInstance,W.dir,W.init,W.loadResources,W.reloadResources,W.use,W.changeLanguage,W.getFixedT;let z=W.t;W.exists,W.setDefaultNamespace,W.hasLoadedNamespace,W.loadNamespaces,W.loadLanguages},99273:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},99342:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);
13return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}}},e=>{var t=t=>e(e.s=t);e.O(0,[46593,38792],()=>(t(63465),t(32155))),_N_E=e.O()}]); 14//# sourceMappingURL=_app-a4cd2cd250f7300d.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.