@hellobetterdigitalnz/selwynui 0.0.1-214 → 0.0.1-216

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -817,7 +817,7 @@ ${Bf(e)}`),t.map&&!t.map.bytes&&(this.logger_("going to request init segment."),
817
817
  `,a=i,o=t;this.start_=a,e.forEach((l,u)=>{const c=this.storage_.get(o),g=a,b=g+l.duration,T=!!(c&&c.segmentSyncInfo&&c.segmentSyncInfo.isAppended),L=new Xoe({start:g,end:b,appended:T,segmentIndex:u});l.syncInfo=L;let _=a;const D=(l.parts||[]).map((N,V)=>{const R=_,q=_+N.duration,k=!!(c&&c.partsSyncInfo&&c.partsSyncInfo[V]&&c.partsSyncInfo[V].isAppended),M=new Xoe({start:R,end:q,appended:k,segmentIndex:u,partIndex:V});return _=q,s+=`Media Sequence: ${o}.${V} | Range: ${R} --> ${q} | Appended: ${k}
818
818
  `,N.syncInfo=M,M});n.set(o,new llt(L,D)),s+=`${kve(l.resolvedUri)} | Media Sequence: ${o} | Range: ${g} --> ${b} | Appended: ${T}
819
819
  `,o++,a=b}),this.end_=a,this.storage_=n,this.diagnostics_=s}calculateBaseTime_(e,t,i){if(!this.storage_.size)return 0;if(this.storage_.has(e))return this.storage_.get(e).segmentSyncInfo.start;const n=Math.min(...this.storage_.keys());if(e<n){const s=n-e;let a=this.storage_.get(n).segmentSyncInfo.start;for(let o=0;o<s;o++){const l=t[o];a-=l.duration}return a}return i}isReliablePlaylist_(e,t){return e!=null&&Array.isArray(t)&&t.length}}class Yoe extends Pve{constructor(e){super(),this.parent_=e}calculateBaseTime_(e,t,i){if(!this.storage_.size){const n=this.parent_.getSyncInfoForMediaSequence(e);return n?n.segmentSyncInfo.start:0}return super.calculateBaseTime_(e,t,i)}}const ult=86400,VH=[{name:"VOD",run:(r,e,t,i,n)=>t!==1/0?{time:0,segmentIndex:0,partIndex:null}:null},{name:"MediaSequence",run:(r,e,t,i,n,s)=>{const a=r.getMediaSequenceSync(s);if(!a||!a.isReliable)return null;const o=a.getSyncInfoForTime(n);return o?{time:o.start,partIndex:o.partIndex,segmentIndex:o.segmentIndex}:null}},{name:"ProgramDateTime",run:(r,e,t,i,n)=>{if(!Object.keys(r.timelineToDatetimeMappings).length)return null;let s=null,a=null;const o=Nq(e);n=n||0;for(let l=0;l<o.length;l++){const u=e.endList||n===0?l:o.length-(l+1),c=o[u],g=c.segment,b=r.timelineToDatetimeMappings[g.timeline];if(!b||!g.dateTimeObject)continue;let T=g.dateTimeObject.getTime()/1e3+b;if(g.parts&&typeof c.partIndex=="number")for(let _=0;_<c.partIndex;_++)T+=g.parts[_].duration;const L=Math.abs(n-T);if(a!==null&&(L===0||a<L))break;a=L,s={time:T,segmentIndex:c.segmentIndex,partIndex:c.partIndex}}return s}},{name:"Segment",run:(r,e,t,i,n)=>{let s=null,a=null;n=n||0;const o=Nq(e);for(let l=0;l<o.length;l++){const u=e.endList||n===0?l:o.length-(l+1),c=o[u],g=c.segment,b=c.part&&c.part.start||g&&g.start;if(g.timeline===i&&typeof b<"u"){const T=Math.abs(n-b);if(a!==null&&a<T)break;(!s||a===null||a>=T)&&(a=T,s={time:b,segmentIndex:c.segmentIndex,partIndex:c.partIndex})}}return s}},{name:"Discontinuity",run:(r,e,t,i,n)=>{let s=null;if(n=n||0,e.discontinuityStarts&&e.discontinuityStarts.length){let a=null;for(let o=0;o<e.discontinuityStarts.length;o++){const l=e.discontinuityStarts[o],u=e.discontinuitySequence+o+1,c=r.discontinuities[u];if(c){const g=Math.abs(n-c.time);if(a!==null&&a<g)break;(!s||a===null||a>=g)&&(a=g,s={time:c.time,segmentIndex:l,partIndex:null})}}}return s}},{name:"Playlist",run:(r,e,t,i,n)=>e.syncInfo?{time:e.syncInfo.time,segmentIndex:e.syncInfo.mediaSequence-e.mediaSequence,partIndex:null}:null}];class clt extends mt.EventTarget{constructor(e={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={};const t=new Pve,i=new Yoe(t),n=new Yoe(t);this.mediaSequenceStorage_={main:t,audio:i,vtt:n},this.logger_=Qu("SyncController")}getMediaSequenceSync(e){return this.mediaSequenceStorage_[e]||null}getSyncPoint(e,t,i,n,s){if(t!==1/0)return VH.find(({name:o})=>o==="VOD").run(this,e,t);const a=this.runStrategies_(e,t,i,n,s);if(!a.length)return null;for(const o of a){const{syncPoint:l,strategy:u}=o,{segmentIndex:c,time:g}=l;if(c<0)continue;const b=e.segments[c],T=g,L=T+b.duration;if(this.logger_(`Strategy: ${u}. Current time: ${n}. selected segment: ${c}. Time: [${T} -> ${L}]}`),n>=T&&n<L)return this.logger_("Found sync point with exact match: ",l),l}return this.selectSyncPoint_(a,{key:"time",value:n})}getExpiredTime(e,t){if(!e||!e.segments)return null;const i=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!i.length)return null;const n=this.selectSyncPoint_(i,{key:"segmentIndex",value:0});return n.segmentIndex>0&&(n.time*=-1),Math.abs(n.time+XT({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:n.segmentIndex,endIndex:0}))}runStrategies_(e,t,i,n,s){const a=[];for(let o=0;o<VH.length;o++){const l=VH[o],u=l.run(this,e,t,i,n,s);u&&(u.strategy=l.name,a.push({strategy:l.name,syncPoint:u}))}return a}selectSyncPoint_(e,t){let i=e[0].syncPoint,n=Math.abs(e[0].syncPoint[t.key]-t.value),s=e[0].strategy;for(let a=1;a<e.length;a++){const o=Math.abs(e[a].syncPoint[t.key]-t.value);o<n&&(n=o,i=e[a].syncPoint,s=e[a].strategy)}return this.logger_(`syncPoint for [${t.key}: ${t.value}] chosen with strategy [${s}]: [time:${i.time}, segmentIndex:${i.segmentIndex}`+(typeof i.partIndex=="number"?`,partIndex:${i.partIndex}`:"")+"]"),i}saveExpiredSegmentInfo(e,t){const i=t.mediaSequence-e.mediaSequence;if(i>ult){mt.log.warn(`Not saving expired segment info. Media sequence gap ${i} is too large.`);return}for(let n=i-1;n>=0;n--){const s=e.segments[n];if(s&&typeof s.start<"u"){t.syncInfo={mediaSequence:e.mediaSequence+n,time:s.start},this.logger_(`playlist refresh sync: [time:${t.syncInfo.time}, mediaSequence: ${t.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){const t=e.segments[0],i=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-i}}saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:t}){const i=this.calculateSegmentTimeMapping_(e,e.timingInfo,t),n=e.segment;i&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:n.start}));const s=n.dateTimeObject;n.discontinuity&&t&&s&&(this.timelineToDatetimeMappings[n.timeline]=-(s.getTime()/1e3))}timestampOffsetForTimeline(e){return typeof this.timelines[e]>"u"?null:this.timelines[e].time}mappingForTimeline(e){return typeof this.timelines[e]>"u"?null:this.timelines[e].mapping}calculateSegmentTimeMapping_(e,t,i){const n=e.segment,s=e.part;let a=this.timelines[e.timeline],o,l;if(typeof e.timestampOffset=="number")a={time:e.startOfSegment,mapping:e.startOfSegment-t.start},i&&(this.timelines[e.timeline]=a,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${e.timeline}: [time: ${a.time}] [mapping: ${a.mapping}]`)),o=e.startOfSegment,l=t.end+a.mapping;else if(a)o=t.start+a.mapping,l=t.end+a.mapping;else return!1;return s&&(s.start=o,s.end=l),(!n.start||o<n.start)&&(n.start=o),n.end=l,!0}saveDiscontinuitySyncInfo_(e){const t=e.playlist,i=e.segment;if(i.discontinuity)this.discontinuities[i.timeline]={time:i.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(let n=0;n<t.discontinuityStarts.length;n++){const s=t.discontinuityStarts[n],a=t.discontinuitySequence+n+1,o=s-e.mediaIndex,l=Math.abs(o);if(!this.discontinuities[a]||this.discontinuities[a].accuracy>l){let u;o<0?u=i.start-XT({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:s}):u=i.end+XT({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:s}),this.discontinuities[a]={time:u,accuracy:l}}}}dispose(){this.trigger("dispose"),this.off()}}class dlt extends mt.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:e,from:t,to:i}){return typeof t=="number"&&typeof i=="number"&&(this.pendingTimelineChanges_[e]={type:e,from:t,to:i},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]}lastTimelineChange({type:e,from:t,to:i}){if(typeof t=="number"&&typeof i=="number"){this.lastTimelineChanges_[e]={type:e,from:t,to:i},delete this.pendingTimelineChanges_[e];const n={timelineChangeInfo:{from:t,to:i}};this.trigger({type:"timelinechange",metadata:n})}return this.lastTimelineChanges_[e]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const hlt=mve(Cve(function(){var r=(function(){function _(){this.listeners={}}var D=_.prototype;return D.on=function(N,V){this.listeners[N]||(this.listeners[N]=[]),this.listeners[N].push(V)},D.off=function(N,V){if(!this.listeners[N])return!1;var R=this.listeners[N].indexOf(V);return this.listeners[N]=this.listeners[N].slice(0),this.listeners[N].splice(R,1),R>-1},D.trigger=function(N){var V=this.listeners[N];if(V)if(arguments.length===2)for(var R=V.length,q=0;q<R;++q)V[q].call(this,arguments[1]);else for(var k=Array.prototype.slice.call(arguments,1),M=V.length,I=0;I<M;++I)V[I].apply(this,k)},D.dispose=function(){this.listeners={}},D.pipe=function(N){this.on("data",function(V){N.push(V)})},_})();function e(_){return _.subarray(0,_.byteLength-_[_.byteLength-1])}const t=function(){const _=[[[],[],[],[],[]],[[],[],[],[],[]]],D=_[0],N=_[1],V=D[4],R=N[4];let q,k,M;const I=[],A=[];let m,S,B,U,F,z;for(q=0;q<256;q++)A[(I[q]=q<<1^(q>>7)*283)^q]=q;for(k=M=0;!V[k];k^=m||1,M=A[M]||1)for(U=M^M<<1^M<<2^M<<3^M<<4,U=U>>8^U&255^99,V[k]=U,R[U]=k,B=I[S=I[m=I[k]]],z=B*16843009^S*65537^m*257^k*16843008,F=I[U]*257^U*16843008,q=0;q<4;q++)D[q][k]=F=F<<24^F>>>8,N[q][U]=z=z<<24^z>>>8;for(q=0;q<5;q++)D[q]=D[q].slice(0),N[q]=N[q].slice(0);return _};let i=null;class n{constructor(D){i||(i=t()),this._tables=[[i[0][0].slice(),i[0][1].slice(),i[0][2].slice(),i[0][3].slice(),i[0][4].slice()],[i[1][0].slice(),i[1][1].slice(),i[1][2].slice(),i[1][3].slice(),i[1][4].slice()]];let N,V,R;const q=this._tables[0][4],k=this._tables[1],M=D.length;let I=1;if(M!==4&&M!==6&&M!==8)throw new Error("Invalid aes key size");const A=D.slice(0),m=[];for(this._key=[A,m],N=M;N<4*M+28;N++)R=A[N-1],(N%M===0||M===8&&N%M===4)&&(R=q[R>>>24]<<24^q[R>>16&255]<<16^q[R>>8&255]<<8^q[R&255],N%M===0&&(R=R<<8^R>>>24^I<<24,I=I<<1^(I>>7)*283)),A[N]=A[N-M]^R;for(V=0;N;V++,N--)R=A[V&3?N:N-4],N<=4||V<4?m[V]=R:m[V]=k[0][q[R>>>24]]^k[1][q[R>>16&255]]^k[2][q[R>>8&255]]^k[3][q[R&255]]}decrypt(D,N,V,R,q,k){const M=this._key[1];let I=D^M[0],A=R^M[1],m=V^M[2],S=N^M[3],B,U,F;const z=M.length/4-2;let X,Y=4;const w=this._tables[1],se=w[0],y=w[1],x=w[2],j=w[3],K=w[4];for(X=0;X<z;X++)B=se[I>>>24]^y[A>>16&255]^x[m>>8&255]^j[S&255]^M[Y],U=se[A>>>24]^y[m>>16&255]^x[S>>8&255]^j[I&255]^M[Y+1],F=se[m>>>24]^y[S>>16&255]^x[I>>8&255]^j[A&255]^M[Y+2],S=se[S>>>24]^y[I>>16&255]^x[A>>8&255]^j[m&255]^M[Y+3],Y+=4,I=B,A=U,m=F;for(X=0;X<4;X++)q[(3&-X)+k]=K[I>>>24]<<24^K[A>>16&255]<<16^K[m>>8&255]<<8^K[S&255]^M[Y++],B=I,I=A,A=m,m=S,S=B}}class s extends r{constructor(){super(r),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(D){this.jobs.push(D),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const a=function(_){return _<<24|(_&65280)<<8|(_&16711680)>>8|_>>>24},o=function(_,D,N){const V=new Int32Array(_.buffer,_.byteOffset,_.byteLength>>2),R=new n(Array.prototype.slice.call(D)),q=new Uint8Array(_.byteLength),k=new Int32Array(q.buffer);let M,I,A,m,S,B,U,F,z;for(M=N[0],I=N[1],A=N[2],m=N[3],z=0;z<V.length;z+=4)S=a(V[z]),B=a(V[z+1]),U=a(V[z+2]),F=a(V[z+3]),R.decrypt(S,B,U,F,k,z),k[z]=a(k[z]^M),k[z+1]=a(k[z+1]^I),k[z+2]=a(k[z+2]^A),k[z+3]=a(k[z+3]^m),M=S,I=B,A=U,m=F;return q};class l{constructor(D,N,V,R){const q=l.STEP,k=new Int32Array(D.buffer),M=new Uint8Array(D.byteLength);let I=0;for(this.asyncStream_=new s,this.asyncStream_.push(this.decryptChunk_(k.subarray(I,I+q),N,V,M)),I=q;I<k.length;I+=q)V=new Uint32Array([a(k[I-4]),a(k[I-3]),a(k[I-2]),a(k[I-1])]),this.asyncStream_.push(this.decryptChunk_(k.subarray(I,I+q),N,V,M));this.asyncStream_.push(function(){R(null,e(M))})}static get STEP(){return 32e3}decryptChunk_(D,N,V,R){return function(){const q=o(D,N,V);R.set(q,D.byteOffset)}}}var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c;typeof window<"u"?c=window:typeof u<"u"?c=u:typeof self<"u"?c=self:c={};var g=c,b=function(_){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(_):_&&_.buffer instanceof ArrayBuffer},T=g.BigInt||Number;T("0x1"),T("0x100"),T("0x10000"),T("0x1000000"),T("0x100000000"),T("0x10000000000"),T("0x1000000000000"),T("0x100000000000000"),T("0x10000000000000000"),(function(){var _=new Uint16Array([65484]),D=new Uint8Array(_.buffer,_.byteOffset,_.byteLength);return D[0]===255?"big":D[0]===204?"little":"unknown"})();const L=function(_){const D={};return Object.keys(_).forEach(N=>{const V=_[N];b(V)?D[N]={bytes:V.buffer,byteOffset:V.byteOffset,byteLength:V.byteLength}:D[N]=V}),D};self.onmessage=function(_){const D=_.data,N=new Uint8Array(D.encrypted.bytes,D.encrypted.byteOffset,D.encrypted.byteLength),V=new Uint32Array(D.key.bytes,D.key.byteOffset,D.key.byteLength/4),R=new Uint32Array(D.iv.bytes,D.iv.byteOffset,D.iv.byteLength/4);new l(N,V,R,function(q,k){self.postMessage(L({source:D.source,decrypted:k}),[k.buffer])})}}));var plt=gve(hlt);const flt=r=>{let e=r.default?"main":"alternative";return r.characteristics&&r.characteristics.indexOf("public.accessibility.describes-video")>=0&&(e="main-desc"),e},Dve=(r,e)=>{r.abort(),r.pause(),e&&e.activePlaylistLoader&&(e.activePlaylistLoader.pause(),e.activePlaylistLoader=null)},Wq=(r,e)=>{e.activePlaylistLoader=r,r.load()},glt=(r,e)=>()=>{const{segmentLoaders:{[r]:t,main:i},mediaTypes:{[r]:n}}=e,s=n.activeTrack(),a=n.getActiveGroup(),o=n.activePlaylistLoader,l=n.lastGroup_;if(!(a&&l&&a.id===l.id)&&(n.lastGroup_=a,n.lastTrack_=s,Dve(t,n),!(!a||a.isMainPlaylist))){if(!a.playlistLoader){o&&i.resetEverything();return}t.resyncLoader(),Wq(a.playlistLoader,n)}},mlt=(r,e)=>()=>{const{segmentLoaders:{[r]:t},mediaTypes:{[r]:i}}=e;i.lastGroup_=null,t.abort(),t.pause()},Clt=(r,e)=>()=>{const{mainPlaylistLoader:t,segmentLoaders:{[r]:i,main:n},mediaTypes:{[r]:s}}=e,a=s.activeTrack(),o=s.getActiveGroup(),l=s.activePlaylistLoader,u=s.lastTrack_;if(!(u&&a&&u.id===a.id)&&(s.lastGroup_=o,s.lastTrack_=a,Dve(i,s),!!o)){if(o.isMainPlaylist){if(!a||!u||a.id===u.id)return;const c=e.vhs.playlistController_,g=c.selectPlaylist();if(c.media()===g)return;s.logger_(`track change. Switching main audio from ${u.id} to ${a.id}`),t.pause(),n.resetEverything(),c.fastQualityChange_(g);return}if(r==="AUDIO"){if(!o.playlistLoader){n.setAudio(!0),n.resetEverything();return}i.setAudio(!0),n.setAudio(!1)}if(l===o.playlistLoader){Wq(o.playlistLoader,s);return}i.track&&i.track(a),i.resetEverything(),Wq(o.playlistLoader,s)}},aP={AUDIO:(r,e)=>()=>{const{mediaTypes:{[r]:t},excludePlaylist:i}=e,n=t.activeTrack(),s=t.activeGroup(),a=(s.filter(l=>l.default)[0]||s[0]).id,o=t.tracks[a];if(n===o){i({error:{message:"Problem encountered loading the default audio track."}});return}mt.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const l in t.tracks)t.tracks[l].enabled=t.tracks[l]===o;t.onTrackChanged()},SUBTITLES:(r,e)=>()=>{const{mediaTypes:{[r]:t}}=e;mt.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track.");const i=t.activeTrack();i&&(i.mode="disabled"),t.onTrackChanged()}},Koe={AUDIO:(r,e,t)=>{if(!e)return;const{tech:i,requestOptions:n,segmentLoaders:{[r]:s}}=t;e.on("loadedmetadata",()=>{const a=e.media();s.playlist(a,n),(!i.paused()||a.endList&&i.preload()!=="none")&&s.load()}),e.on("loadedplaylist",()=>{s.playlist(e.media(),n),i.paused()||s.load()}),e.on("error",aP[r](r,t))},SUBTITLES:(r,e,t)=>{const{tech:i,requestOptions:n,segmentLoaders:{[r]:s},mediaTypes:{[r]:a}}=t;e.on("loadedmetadata",()=>{const o=e.media();s.playlist(o,n),s.track(a.activeTrack()),(!i.paused()||o.endList&&i.preload()!=="none")&&s.load()}),e.on("loadedplaylist",()=>{s.playlist(e.media(),n),i.paused()||s.load()}),e.on("error",aP[r](r,t))}},ylt={AUDIO:(r,e)=>{const{vhs:t,sourceType:i,segmentLoaders:{[r]:n},requestOptions:s,main:{mediaGroups:a},mediaTypes:{[r]:{groups:o,tracks:l,logger_:u}},mainPlaylistLoader:c}=e,g=lx(c.main);(!a[r]||Object.keys(a[r]).length===0)&&(a[r]={main:{default:{default:!0}}},g&&(a[r].main.default.playlists=c.main.playlists));for(const b in a[r]){o[b]||(o[b]=[]);for(const T in a[r][b]){let L=a[r][b][T],_;if(g?(u(`AUDIO group '${b}' label '${T}' is a main playlist`),L.isMainPlaylist=!0,_=null):i==="vhs-json"&&L.playlists?_=new Ig(L.playlists[0],t,s):L.resolvedUri?_=new Ig(L.resolvedUri,t,s):L.playlists&&i==="dash"?_=new Uq(L.playlists[0],t,s,c):_=null,L=Zi({id:T,playlistLoader:_},L),Koe[r](r,L.playlistLoader,e),o[b].push(L),typeof l[T]>"u"){const D=new mt.AudioTrack({id:T,kind:flt(L),enabled:!1,language:L.language,default:L.default,label:T});l[T]=D}}}n.on("error",aP[r](r,e))},SUBTITLES:(r,e)=>{const{tech:t,vhs:i,sourceType:n,segmentLoaders:{[r]:s},requestOptions:a,main:{mediaGroups:o},mediaTypes:{[r]:{groups:l,tracks:u}},mainPlaylistLoader:c}=e;for(const g in o[r]){l[g]||(l[g]=[]);for(const b in o[r][g]){if(!i.options_.useForcedSubtitles&&o[r][g][b].forced)continue;let T=o[r][g][b],L;if(n==="hls")L=new Ig(T.resolvedUri,i,a);else if(n==="dash"){if(!T.playlists.filter(_=>_.excludeUntil!==1/0).length)return;L=new Uq(T.playlists[0],i,a,c)}else n==="vhs-json"&&(L=new Ig(T.playlists?T.playlists[0]:T.resolvedUri,i,a));if(T=Zi({id:b,playlistLoader:L},T),Koe[r](r,T.playlistLoader,e),l[g].push(T),typeof u[b]>"u"){const _=t.addRemoteTextTrack({id:b,kind:"subtitles",default:T.default&&T.autoselect,language:T.language,label:b},!1).track;u[b]=_}}}s.on("error",aP[r](r,e))},"CLOSED-CAPTIONS":(r,e)=>{const{tech:t,main:{mediaGroups:i},mediaTypes:{[r]:{groups:n,tracks:s}}}=e;for(const a in i[r]){n[a]||(n[a]=[]);for(const o in i[r][a]){const l=i[r][a][o];if(!/^(?:CC|SERVICE)/.test(l.instreamId))continue;const u=t.options_.vhs&&t.options_.vhs.captionServices||{};let c={label:o,language:l.language,instreamId:l.instreamId,default:l.default&&l.autoselect};if(u[c.instreamId]&&(c=Zi(c,u[c.instreamId])),c.default===void 0&&delete c.default,n[a].push(Zi({id:o},l)),typeof s[o]>"u"){const g=t.addRemoteTextTrack({id:c.instreamId,kind:"captions",default:c.default,language:c.language,label:c.label},!1).track;s[o]=g}}}}},Ave=(r,e)=>{for(let t=0;t<r.length;t++)if(iY(e,r[t])||r[t].playlists&&Ave(r[t].playlists,e))return!0;return!1},_lt=(r,e)=>t=>{const{mainPlaylistLoader:i,mediaTypes:{[r]:{groups:n}}}=e,s=i.media();if(!s)return null;let a=null;s.attributes[r]&&(a=n[s.attributes[r]]);const o=Object.keys(n);if(!a)if(r==="AUDIO"&&o.length>1&&lx(e.main))for(let l=0;l<o.length;l++){const u=n[o[l]];if(Ave(u,s)){a=u;break}}else n.main?a=n.main:o.length===1&&(a=n[o[0]]);return typeof t>"u"?a:t===null||!a?null:a.filter(l=>l.id===t.id)[0]||null},vlt={AUDIO:(r,e)=>()=>{const{mediaTypes:{[r]:{tracks:t}}}=e;for(const i in t)if(t[i].enabled)return t[i];return null},SUBTITLES:(r,e)=>()=>{const{mediaTypes:{[r]:{tracks:t}}}=e;for(const i in t)if(t[i].mode==="showing"||t[i].mode==="hidden")return t[i];return null}},blt=(r,{mediaTypes:e})=>()=>{const t=e[r].activeTrack();return t?e[r].activeGroup(t):null},Tlt=r=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(u=>{ylt[u](u,r)});const{mediaTypes:e,mainPlaylistLoader:t,tech:i,vhs:n,segmentLoaders:{["AUDIO"]:s,main:a}}=r;["AUDIO","SUBTITLES"].forEach(u=>{e[u].activeGroup=_lt(u,r),e[u].activeTrack=vlt[u](u,r),e[u].onGroupChanged=glt(u,r),e[u].onGroupChanging=mlt(u,r),e[u].onTrackChanged=Clt(u,r),e[u].getActiveGroup=blt(u,r)});const o=e.AUDIO.activeGroup();if(o){const u=(o.filter(c=>c.default)[0]||o[0]).id;e.AUDIO.tracks[u].enabled=!0,e.AUDIO.onGroupChanged(),e.AUDIO.onTrackChanged(),e.AUDIO.getActiveGroup().playlistLoader?(a.setAudio(!1),s.setAudio(!0)):a.setAudio(!0)}t.on("mediachange",()=>{["AUDIO","SUBTITLES"].forEach(u=>e[u].onGroupChanged())}),t.on("mediachanging",()=>{["AUDIO","SUBTITLES"].forEach(u=>e[u].onGroupChanging())});const l=()=>{e.AUDIO.onTrackChanged(),i.trigger({type:"usage",name:"vhs-audio-change"})};i.audioTracks().addEventListener("change",l),i.remoteTextTracks().addEventListener("change",e.SUBTITLES.onTrackChanged),n.on("dispose",()=>{i.audioTracks().removeEventListener("change",l),i.remoteTextTracks().removeEventListener("change",e.SUBTITLES.onTrackChanged)}),i.clearTracks("audio");for(const u in e.AUDIO.tracks)i.audioTracks().addTrack(e.AUDIO.tracks[u])},wlt=()=>{const r={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(e=>{r[e]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:fc,activeTrack:fc,getActiveGroup:fc,onGroupChanged:fc,onTrackChanged:fc,lastTrack_:null,logger_:Qu(`MediaGroups[${e}]`)}}),r};class Qoe{constructor(){this.priority_=[],this.pathwayClones_=new Map}set version(e){e===1&&(this.version_=e)}set ttl(e){this.ttl_=e||300}set reloadUri(e){e&&(this.reloadUri_=Hl(this.reloadUri_,e))}set priority(e){e&&e.length&&(this.priority_=e)}set pathwayClones(e){e&&e.length&&(this.pathwayClones_=new Map(e.map(t=>[t.ID,t])))}get version(){return this.version_}get ttl(){return this.ttl_}get reloadUri(){return this.reloadUri_}get priority(){return this.priority_}get pathwayClones(){return this.pathwayClones_}}class Slt extends mt.EventTarget{constructor(e,t){super(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=!1,this.availablePathways_=new Set,this.steeringManifest=new Qoe,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.currentPathwayClones=new Map,this.nextPathwayClones=new Map,this.excludedSteeringManifestURLs=new Set,this.logger_=Qu("Content Steering"),this.xhr_=e,this.getBandwidth_=t}assignTagProperties(e,t){this.manifestType_=t.serverUri?"HLS":"DASH";const i=t.serverUri||t.serverURL;if(!i){this.logger_(`steering manifest URL is ${i}, cannot request steering manifest.`),this.trigger("error");return}if(i.startsWith("data:")){this.decodeDataUriManifest_(i.substring(i.indexOf(",")+1));return}this.steeringManifest.reloadUri=Hl(e,i),this.defaultPathway=t.pathwayId||t.defaultServiceLocation,this.queryBeforeStart=t.queryBeforeStart,this.proxyServerUrl_=t.proxyServerURL,this.defaultPathway&&!this.queryBeforeStart&&this.trigger("content-steering")}requestSteeringManifest(e){const t=this.steeringManifest.reloadUri;if(!t)return;const i=e?t:this.getRequestURI(t);if(!i){this.logger_("No valid content steering manifest URIs. Stopping content steering."),this.trigger("error"),this.dispose();return}const n={contentSteeringInfo:{uri:i}};this.trigger({type:"contentsteeringloadstart",metadata:n}),this.request_=this.xhr_({uri:i,requestType:"content-steering-manifest"},(s,a)=>{if(s){if(a.status===410){this.logger_(`manifest request 410 ${s}.`),this.logger_(`There will be no more content steering requests to ${i} this session.`),this.excludedSteeringManifestURLs.add(i);return}if(a.status===429){const u=a.responseHeaders["retry-after"];this.logger_(`manifest request 429 ${s}.`),this.logger_(`content steering will retry in ${u} seconds.`),this.startTTLTimeout_(parseInt(u,10));return}this.logger_(`manifest failed to load ${s}.`),this.startTTLTimeout_();return}this.trigger({type:"contentsteeringloadcomplete",metadata:n});let o;try{o=JSON.parse(this.request_.responseText)}catch(u){const c={errorType:mt.Error.StreamingContentSteeringParserError,error:u};this.trigger({type:"error",metadata:c})}this.assignSteeringProperties_(o);const l={contentSteeringInfo:n.contentSteeringInfo,contentSteeringManifest:{version:this.steeringManifest.version,reloadUri:this.steeringManifest.reloadUri,priority:this.steeringManifest.priority}};this.trigger({type:"contentsteeringparsed",metadata:l}),this.startTTLTimeout_()})}setProxyServerUrl_(e){const t=new Xe.URL(e),i=new Xe.URL(this.proxyServerUrl_);return i.searchParams.set("url",encodeURI(t.toString())),this.setSteeringParams_(i.toString())}decodeDataUriManifest_(e){const t=JSON.parse(Xe.atob(e));this.assignSteeringProperties_(t)}setSteeringParams_(e){const t=new Xe.URL(e),i=this.getPathway(),n=this.getBandwidth_();if(i){const s=`_${this.manifestType_}_pathway`;t.searchParams.set(s,i)}if(n){const s=`_${this.manifestType_}_throughput`;t.searchParams.set(s,n)}return t.toString()}assignSteeringProperties_(e){if(this.steeringManifest.version=e.VERSION,!this.steeringManifest.version){this.logger_(`manifest version is ${e.VERSION}, which is not supported.`),this.trigger("error");return}this.steeringManifest.ttl=e.TTL,this.steeringManifest.reloadUri=e["RELOAD-URI"],this.steeringManifest.priority=e["PATHWAY-PRIORITY"]||e["SERVICE-LOCATION-PRIORITY"],this.steeringManifest.pathwayClones=e["PATHWAY-CLONES"],this.nextPathwayClones=this.steeringManifest.pathwayClones,this.availablePathways_.size||(this.logger_("There are no available pathways for content steering. Ending content steering."),this.trigger("error"),this.dispose());const t=(i=>{for(const n of i)if(this.availablePathways_.has(n))return n;return[...this.availablePathways_][0]})(this.steeringManifest.priority);this.currentPathway!==t&&(this.currentPathway=t,this.trigger("content-steering"))}getPathway(){return this.currentPathway||this.defaultPathway}getRequestURI(e){if(!e)return null;const t=n=>this.excludedSteeringManifestURLs.has(n);if(this.proxyServerUrl_){const n=this.setProxyServerUrl_(e);if(!t(n))return n}const i=this.setSteeringParams_(e);return t(i)?null:i}startTTLTimeout_(e=this.steeringManifest.ttl){const t=e*1e3;this.ttlTimeout_=Xe.setTimeout(()=>{this.requestSteeringManifest()},t)}clearTTLTimeout_(){Xe.clearTimeout(this.ttlTimeout_),this.ttlTimeout_=null}abort(){this.request_&&this.request_.abort(),this.request_=null}dispose(){this.off("content-steering"),this.off("error"),this.abort(),this.clearTTLTimeout_(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=null,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.excludedSteeringManifestURLs=new Set,this.availablePathways_=new Set,this.steeringManifest=new Qoe}addAvailablePathway(e){e&&this.availablePathways_.add(e)}clearAvailablePathways(){this.availablePathways_.clear()}excludePathway(e){return this.availablePathways_.delete(e)}didDASHTagChange(e,t){return!t&&this.steeringManifest.reloadUri||t&&(Hl(e,t.serverURL)!==this.steeringManifest.reloadUri||t.defaultServiceLocation!==this.defaultPathway||t.queryBeforeStart!==this.queryBeforeStart||t.proxyServerURL!==this.proxyServerUrl_)}getAvailablePathways(){return this.availablePathways_}}const xlt=(r,e)=>{let t=null;return(...i)=>{clearTimeout(t),t=setTimeout(()=>{r.apply(null,i)},e)}},Elt=10;let u3;const klt=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],Llt=function(r){return this.audioSegmentLoader_[r]+this.mainSegmentLoader_[r]},Mlt=function({currentPlaylist:r,buffered:e,currentTime:t,nextPlaylist:i,bufferLowWaterLine:n,bufferHighWaterLine:s,duration:a,bufferBasedABR:o,log:l}){if(!i)return mt.log.warn("We received no playlist to switch to. Please check your stream."),!1;const u=`allowing switch ${r&&r.id||"null"} -> ${i.id}`;if(!r)return l(`${u} as current playlist is not set`),!0;if(i.id===r.id)return!1;const c=!!Mg(e,t).length;if(!r.endList)return!c&&typeof r.partTargetDuration=="number"?(l(`not ${u} as current playlist is live llhls, but currentTime isn't in buffered.`),!1):(l(`${u} as current playlist is live`),!0);const g=eY(e,t),b=o?y2.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:y2.MAX_BUFFER_LOW_WATER_LINE;if(a<b)return l(`${u} as duration < max low water line (${a} < ${b})`),!0;const T=i.attributes.BANDWIDTH,L=r.attributes.BANDWIDTH;if(T<L&&(!o||g<s)){let _=`${u} as next bandwidth < current bandwidth (${T} < ${L})`;return o&&(_+=` and forwardBuffer < bufferHighWaterLine (${g} < ${s})`),l(_),!0}if((!o||T>L)&&g>=n){let _=`${u} as forwardBuffer >= bufferLowWaterLine (${g} >= ${n})`;return o&&(_+=` and next bandwidth > current bandwidth (${T} > ${L})`),l(_),!0}return l(`not ${u} as no switching criteria met`),!1};class Ilt extends mt.EventTarget{constructor(e){super(),this.fastQualityChange_=xlt(this.fastQualityChange_.bind(this),100);const{src:t,withCredentials:i,tech:n,bandwidth:s,externVhs:a,useCueTags:o,playlistExclusionDuration:l,enableLowInitialPlaylist:u,sourceType:c,cacheEncryptionKeys:g,bufferBasedABR:b,leastPixelDiffSelector:T,captionServices:L,experimentalUseMMS:_}=e;if(!t)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:D}=e;(D===null||typeof D>"u")&&(D=1/0),u3=a,this.bufferBasedABR=!!b,this.leastPixelDiffSelector=!!T,this.withCredentials=i,this.tech_=n,this.vhs_=n.vhs,this.player_=e.player_,this.sourceType_=c,this.useCueTags_=o,this.playlistExclusionDuration=l,this.maxPlaylistRetries=D,this.enableLowInitialPlaylist=u,this.usingManagedMediaSource_=!1,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:i,maxPlaylistRetries:D,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=wlt(),_&&Xe.ManagedMediaSource?(this.tech_.el_.disableRemotePlayback=!0,this.mediaSource=new Xe.ManagedMediaSource,this.usingManagedMediaSource_=!0,mt.log("Using ManagedMediaSource")):Xe.MediaSource&&(this.mediaSource=new Xe.MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.load=this.load.bind(this),this.pause=this.pause.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.mediaSource.addEventListener("startstreaming",this.load),this.mediaSource.addEventListener("endstreaming",this.pause),this.seekable_=Oa(),this.hasPlayed_=!1,this.syncController_=new clt(e),this.segmentMetadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.segmentMetadataTrack_.mode="hidden",this.decrypter_=new plt,this.sourceUpdater_=new Ive(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new dlt,this.keyStatusMap_=new Map;const N={vhs:this.vhs_,parse708captions:e.parse708captions,useDtsForTimestampOffset:e.useDtsForTimestampOffset,captionServices:L,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:s,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:g,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:e.exactManifestTimings,addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)};this.mainPlaylistLoader_=this.sourceType_==="dash"?new Uq(t,this.vhs_,Zi(this.requestOptions_,{addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)})):new Ig(t,this.vhs_,Zi(this.requestOptions_,{addDateRangesToTextTrack:this.addDateRangesToTextTrack_.bind(this)})),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new zq(Zi(N,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),e),this.audioSegmentLoader_=new zq(Zi(N,{loaderType:"audio"}),e),this.subtitleSegmentLoader_=new slt(Zi(N,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise((q,k)=>{function M(){n.off("vttjserror",I),q()}function I(){n.off("vttjsloaded",M),k()}n.one("vttjsloaded",M),n.one("vttjserror",I),n.addWebVttScript_()})}),e);const V=()=>this.mainSegmentLoader_.bandwidth;this.contentSteeringController_=new Slt(this.vhs_.xhr,V),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",()=>this.startABRTimer_()),this.tech_.on("pause",()=>this.stopABRTimer_()),this.tech_.on("play",()=>this.startABRTimer_())),klt.forEach(q=>{this[q+"_"]=Llt.bind(this,q)}),this.logger_=Qu("pc"),this.triggeredFmp4Usage=!1,this.tech_.preload()==="none"?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const R=this.tech_.preload()==="none"?"play":"loadstart";this.tech_.one(R,()=>{const q=Date.now();this.tech_.one("loadeddata",()=>{this.timeToLoadedData__=Date.now()-q,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends})})}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return e===-1||t===-1?-1:e+t}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(e="abr"){const t=this.selectPlaylist();t&&this.shouldSwitchToMedia_(t)&&this.switchMedia_(t,e)}switchMedia_(e,t,i){const n=this.media(),s=n&&(n.id||n.uri),a=e&&(e.id||e.uri);if(s&&s!==a){this.logger_(`switch media ${s} -> ${a} from ${t}`);const o={renditionInfo:{id:a,bandwidth:e.attributes.BANDWIDTH,resolution:e.attributes.RESOLUTION,codecs:e.attributes.CODECS},cause:t};this.trigger({type:"renditionselected",metadata:o}),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${t}`})}this.mainPlaylistLoader_.media(e,i)}switchMediaForDASHContentSteering_(){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(e=>{const t=this.mediaTypes_[e],i=t?t.activeGroup():null,n=this.contentSteeringController_.getPathway();if(i&&n){const s=(i.length?i[0].playlists:i.playlists).filter(a=>a.attributes.serviceLocation===n);s.length&&this.mediaTypes_[e].activePlaylistLoader.media(s[0])}})}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=Xe.setInterval(()=>this.checkABR_(),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(Xe.clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const e=this.main(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;const i=e.mediaGroups.AUDIO,n=Object.keys(i);let s;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)s=this.mediaTypes_.AUDIO.activeTrack();else{const o=i.main||n.length&&i[n[0]];for(const l in o)if(o[l].default){s={label:l};break}}if(!s)return t;const a=[];for(const o in i)if(i[o][s.label]){const l=i[o][s.label];if(l.playlists&&l.playlists.length)a.push.apply(a,l.playlists);else if(l.uri)a.push(l);else if(e.playlists.length)for(let u=0;u<e.playlists.length;u++){const c=e.playlists[u];c.attributes&&c.attributes.AUDIO&&c.attributes.AUDIO===o&&a.push(c)}}return a.length?a:t}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",()=>{const e=this.mainPlaylistLoader_.media(),t=e.targetDuration*1.5*1e3;jq(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,e.endList&&this.tech_.preload()!=="none"&&(this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.mainSegmentLoader_.load()),Tlt({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),e),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",()=>{this.trigger("selectedinitialmedia")})}),this.mainPlaylistLoader_.on("loadedplaylist",()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let e=this.mainPlaylistLoader_.media();if(!e){this.attachContentSteeringListeners_(),this.initContentSteeringController_(),this.excludeUnsupportedVariants_();let t;if(this.enableLowInitialPlaylist&&(t=this.selectInitialPlaylist()),t||(t=this.selectPlaylist()),!t||!this.shouldSwitchToMedia_(t)||(this.initialMedia_=t,this.switchMedia_(this.initialMedia_,"initial"),!(this.sourceType_==="vhs-json"&&this.initialMedia_.segments)))return;e=this.initialMedia_}this.handleUpdatedMediaPlaylist(e)}),this.mainPlaylistLoader_.on("error",()=>{const e=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:e.playlist,error:e})}),this.mainPlaylistLoader_.on("mediachanging",()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()}),this.mainPlaylistLoader_.on("mediachange",()=>{const e=this.mainPlaylistLoader_.media(),t=e.targetDuration*1.5*1e3;jq(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=t,this.sourceType_==="dash"&&this.mainPlaylistLoader_.isPaused&&this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_?this.runFastQualitySwitch_():this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})}),this.mainPlaylistLoader_.on("playlistunchanged",()=>{const e=this.mainPlaylistLoader_.media();e.lastExcludeReason_!=="playlist-unchanged"&&this.stuckAtPlaylistEnd_(e)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))}),this.mainPlaylistLoader_.on("renditiondisabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})}),this.mainPlaylistLoader_.on("renditionenabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}),["manifestrequeststart","manifestrequestcomplete","manifestparsestart","manifestparsecomplete","playlistrequeststart","playlistrequestcomplete","playlistparsestart","playlistparsecomplete","renditiondisabled","renditionenabled"].forEach(e=>{this.mainPlaylistLoader_.on(e,t=>{this.player_.trigger(o1({},t))})})}handleUpdatedMediaPlaylist(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_&&this.runFastQualitySwitch_(),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(e,t){const i=e.mediaGroups||{};let n=!0;const s=Object.keys(i.AUDIO);for(const a in i.AUDIO)for(const o in i.AUDIO[a])i.AUDIO[a][o].uri||(n=!1);n&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(i.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),u3.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),s.length&&Object.keys(i.AUDIO[s[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(e){const t=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,i=this.tech_.currentTime(),n=this.bufferLowWaterLine(),s=this.bufferHighWaterLine(),a=this.tech_.buffered();return Mlt({buffered:a,currentTime:i,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:n,bufferHighWaterLine:s,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("timeout",()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()}),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",()=>{this.trigger("progress")}),this.mainSegmentLoader_.on("error",()=>{const t=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:t.playlist,error:t})}),this.mainSegmentLoader_.on("appenderror",()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("ended",()=>{this.logger_("main segment loader ended"),this.onEndOfStream()}),this.timelineChangeController_.on("audioTimelineBehind",()=>{const t=this.audioSegmentLoader_.pendingSegment_;if(!t||!t.segment||!t.segment.syncInfo)return;const i=t.segment.syncInfo.end+.01;this.tech_.setCurrentTime(i)}),this.timelineChangeController_.on("fixBadTimelineChange",()=>{this.logger_("Fix bad timeline change. Restarting al segment loaders..."),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}),this.mainSegmentLoader_.on("earlyabort",t=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:Elt}))});const e=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const t=this.getCodecsOrExclude_();t&&this.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",e),this.audioSegmentLoader_.on("trackinfo",e),this.mainSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}),["segmentselected","segmentloadstart","segmentloaded","segmentkeyloadstart","segmentkeyloadcomplete","segmentdecryptionstart","segmentdecryptioncomplete","segmenttransmuxingstart","segmenttransmuxingcomplete","segmenttransmuxingtrackinfoavailable","segmenttransmuxingtiminginfoavailable","segmentappendstart","appendsdone","bandwidthupdated","timelinechange","codecschange"].forEach(t=>{this.mainSegmentLoader_.on(t,i=>{this.player_.trigger(o1({},i))}),this.audioSegmentLoader_.on(t,i=>{this.player_.trigger(o1({},i))}),this.subtitleSegmentLoader_.on(t,i=>{this.player_.trigger(o1({},i))})})}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}pause(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}fastQualityChange_(e=this.selectPlaylist()){if(e&&e===this.mainPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(e,"fast-quality"),this.waitingForFastQualityPlaylistReceived_=!0}runFastQualitySwitch_(){this.waitingForFastQualityPlaylistReceived_=!1,this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const e=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0))return this.tech_.setCurrentTime(e.end(e.length-1))}setupFirstPlay(){const e=this.mainPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList||e.start){const t=this.seekable();if(!t.length)return!1;const i=t.end(0);let n=i;if(e.start){const s=e.start.timeOffset;s<0?n=Math.max(i+s,t.start(0)):n=Math.min(i,s)}this.trigger("firstplay"),this.tech_.setCurrentTime(n)}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const e=this.tech_.play();typeof e<"u"&&typeof e.then=="function"&&e.then(null,t=>{})}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const e=this.inbandTextTracks_.metadataTrack_.cues;if(!e||!e.length)return;const t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const t=this.mainSegmentLoader_.getCurrentMediaInfo_();!t||t.hasVideo?e=e&&this.audioSegmentLoader_.ended_:e=this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(e){if(!this.seekable().length)return!1;const t=this.syncController_.getExpiredTime(e,this.duration());if(t===null)return!1;const i=u3.Playlist.playlistEnd(e,t),n=this.tech_.currentTime(),s=this.tech_.buffered();if(!s.length)return i-n<=M7;const a=s.end(s.length-1);return a-n<=M7&&i-a<=M7}excludePlaylist({playlistToExclude:e=this.mainPlaylistLoader_.media(),error:t={},playlistExclusionDuration:i}){if(e=e||this.mainPlaylistLoader_.media(),i=i||t.playlistExclusionDuration||this.playlistExclusionDuration,!e){this.error=t,this.mediaSource.readyState!=="open"?this.trigger("error"):this.sourceUpdater_.endOfStream("network");return}e.playlistErrors_++;const n=this.mainPlaylistLoader_.main.playlists,s=n.filter(MA),a=s.length===1&&s[0]===e;if(n.length===1&&i!==1/0)return mt.log.warn(`Problem encountered with playlist ${e.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(a);if(a){if(this.main().contentSteering){const L=this.pathwayAttribute_(e),_=this.contentSteeringController_.steeringManifest.ttl*1e3;this.contentSteeringController_.excludePathway(L),this.excludeThenChangePathway_(),setTimeout(()=>{this.contentSteeringController_.addAvailablePathway(L)},_);return}let T=!1;n.forEach(L=>{if(L===e)return;const _=L.excludeUntil;typeof _<"u"&&_!==1/0&&(T=!0,delete L.excludeUntil)}),T&&(mt.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let o;e.playlistErrors_>this.maxPlaylistRetries?o=1/0:o=Date.now()+i*1e3,e.excludeUntil=o,t.reason&&(e.lastExcludeReason_=t.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const l=this.selectPlaylist();if(!l){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}const u=t.internal?this.logger_:mt.log.warn,c=t.message?" "+t.message:"";u(`${t.internal?"Internal problem":"Problem"} encountered with playlist ${e.id}.${c} Switching to playlist ${l.id}.`),l.attributes.AUDIO!==e.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),l.attributes.SUBTITLES!==e.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const g=l.targetDuration/2*1e3||5*1e3,b=typeof l.lastRequest=="number"&&Date.now()-l.lastRequest<=g;return this.switchMedia_(l,"exclude",a||b)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(e,t){const i=[],n=e==="all";(n||e==="main")&&i.push(this.mainPlaylistLoader_);const s=[];(n||e==="audio")&&s.push("AUDIO"),(n||e==="subtitle")&&(s.push("CLOSED-CAPTIONS"),s.push("SUBTITLES")),s.forEach(a=>{const o=this.mediaTypes_[a]&&this.mediaTypes_[a].activePlaylistLoader;o&&i.push(o)}),["main","audio","subtitle"].forEach(a=>{const o=this[`${a}SegmentLoader_`];o&&(e===a||e==="all")&&i.push(o)}),i.forEach(a=>t.forEach(o=>{typeof a[o]=="function"&&a[o]()}))}setCurrentTime(e){const t=Mg(this.tech_.buffered(),e);if(!(this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media())||!this.mainPlaylistLoader_.media().segments)return 0;if(t&&t.length)return e;this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}duration(){if(!this.mainPlaylistLoader_)return 0;const e=this.mainPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:u3.Playlist.duration(e):1/0:0}seekable(){return this.seekable_}getSeekableRange_(e,t){const i=e.media();if(!i)return null;const n=this.syncController_.getMediaSequenceSync(t);if(n&&n.isReliable){const o=n.start,l=n.end;if(!isFinite(o)||!isFinite(l))return null;const u=u3.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,i),c=Math.max(o,l-u);return Oa([[o,c]])}const s=this.syncController_.getExpiredTime(i,this.duration());if(s===null)return null;const a=u3.Playlist.seekable(i,s,u3.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,i));return a.length?a:null}computeFinalSeekable_(e,t){if(!t)return e;const i=e.start(0),n=e.end(0),s=t.start(0),a=t.end(0);return s>n||i>a?e:Oa([[Math.max(i,s),Math.min(n,a)]])}onSyncInfoUpdate_(){if(!this.mainPlaylistLoader_)return;const e=this.getSeekableRange_(this.mainPlaylistLoader_,"main");if(!e)return;let t;if(this.mediaTypes_.AUDIO.activePlaylistLoader&&(t=this.getSeekableRange_(this.mediaTypes_.AUDIO.activePlaylistLoader,"audio"),!t))return;const i=this.seekable_;if(this.seekable_=this.computeFinalSeekable_(e,t),!this.seekable_||i&&i.length&&this.seekable_.length&&i.start(0)===this.seekable_.start(0)&&i.end(0)===this.seekable_.end(0))return;this.logger_(`seekable updated [${q_e(this.seekable_)}]`);const n={seekableRanges:this.seekable_};this.trigger({type:"seekablerangeschanged",metadata:n}),this.tech_.trigger("seekablechanged")}updateDuration(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),this.mediaSource.readyState!=="open"){this.updateDuration_=this.updateDuration.bind(this,e),this.mediaSource.addEventListener("sourceopen",this.updateDuration_);return}if(e){const n=this.seekable();if(!n.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<n.end(n.length-1))&&this.sourceUpdater_.setDuration(n.end(n.length-1));return}const t=this.tech_.buffered();let i=u3.Playlist.duration(this.mainPlaylistLoader_.media());t.length>0&&(i=Math.max(i,t.end(t.length-1))),this.mediaSource.duration!==i&&this.sourceUpdater_.setDuration(i)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.contentSteeringController_.dispose(),this.keyStatusMap_.clear(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(e=>{const t=this.mediaTypes_[e].groups;for(const i in t)t[i].forEach(n=>{n.playlistLoader&&n.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),i=e?!!this.audioSegmentLoader_.getCurrentMediaInfo_():!0;return!(!t||!i)}getCodecsOrExclude_(){const e={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},t=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();e.video=e.main;const i=KT(this.main(),t),n={},s=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(e.main.hasVideo&&(n.video=i.video||e.main.videoCodec||fst),e.main.isMuxed&&(n.video+=`,${i.audio||e.main.audioCodec||Nae}`),(e.main.hasAudio&&!e.main.isMuxed||e.audio.hasAudio||s)&&(n.audio=i.audio||e.main.audioCodec||e.audio.audioCodec||Nae,e.audio.isFmp4=e.main.hasAudio&&!e.main.isMuxed?e.main.isFmp4:e.audio.isFmp4),!n.audio&&!n.video){this.excludePlaylist({playlistToExclude:t,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});return}const a=(u,c)=>u?zT(c,this.usingManagedMediaSource_):bH(c),o={};let l;if(["video","audio"].forEach(function(u){if(n.hasOwnProperty(u)&&!a(e[u].isFmp4,n[u])){const c=e[u].isFmp4?"browser":"muxer";o[c]=o[c]||[],o[c].push(n[u]),u==="audio"&&(l=c)}}),s&&l&&t.attributes.AUDIO){const u=t.attributes.AUDIO;this.main().playlists.forEach(c=>{(c.attributes&&c.attributes.AUDIO)===u&&c!==t&&(c.excludeUntil=1/0)}),this.logger_(`excluding audio group ${u} as ${l} does not support codec(s): "${n.audio}"`)}if(Object.keys(o).length){const u=Object.keys(o).reduce((c,g)=>(c&&(c+=", "),c+=`${g} does not support codec(s): "${o[g].join(",")}"`,c),"")+".";this.excludePlaylist({playlistToExclude:t,error:{internal:!0,message:u},playlistExclusionDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const u=[];if(["video","audio"].forEach(c=>{const g=(Z9(this.sourceUpdater_.codecs[c]||"")[0]||{}).type,b=(Z9(n[c]||"")[0]||{}).type;g&&b&&g.toLowerCase()!==b.toLowerCase()&&u.push(`"${this.sourceUpdater_.codecs[c]}" -> "${n[c]}"`)}),u.length){this.excludePlaylist({playlistToExclude:t,error:{message:`Codec switching not supported: ${u.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0});return}}return n}tryToCreateSourceBuffers_(){if(this.mediaSource.readyState!=="open"||this.sourceUpdater_.hasCreatedSourceBuffers()||!this.areMediaTypesKnown_())return;const e=this.getCodecsOrExclude_();if(!e)return;this.sourceUpdater_.createSourceBuffers(e);const t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}excludeUnsupportedVariants_(){const e=this.main().playlists,t=[];Object.keys(e).forEach(i=>{const n=e[i];if(t.indexOf(n.id)!==-1)return;t.push(n.id);const s=KT(this.main,n),a=[];s.audio&&!bH(s.audio)&&!zT(s.audio,this.usingManagedMediaSource_)&&a.push(`audio codec ${s.audio}`),s.video&&!bH(s.video)&&!zT(s.video,this.usingManagedMediaSource_)&&a.push(`video codec ${s.video}`),s.text&&s.text==="stpp.ttml.im1t"&&a.push(`text codec ${s.text}`),a.length&&(n.excludeUntil=1/0,this.logger_(`excluding ${n.id} for unsupported: ${a.join(", ")}`))})}excludeIncompatibleVariants_(e){const t=[],i=this.main().playlists,n=CS(Z9(e)),s=Ooe(n),a=n.video&&Z9(n.video)[0]||null,o=n.audio&&Z9(n.audio)[0]||null;Object.keys(i).forEach(l=>{const u=i[l];if(t.indexOf(u.id)!==-1||u.excludeUntil===1/0)return;t.push(u.id);const c=[],g=KT(this.mainPlaylistLoader_.main,u),b=Ooe(g);if(!(!g.audio&&!g.video)){if(b!==s&&c.push(`codec count "${b}" !== "${s}"`),!this.sourceUpdater_.canChangeType()){const T=g.video&&Z9(g.video)[0]||null,L=g.audio&&Z9(g.audio)[0]||null;T&&a&&T.type.toLowerCase()!==a.type.toLowerCase()&&c.push(`video codec "${T.type}" !== "${a.type}"`),L&&o&&L.type.toLowerCase()!==o.type.toLowerCase()&&c.push(`audio codec "${L.type}" !== "${o.type}"`)}c.length&&(u.excludeUntil=1/0,this.logger_(`excluding ${u.id}: ${c.join(" && ")}`))}})}updateAdCues_(e){let t=0;const i=this.seekable();i.length&&(t=i.start(0)),olt(e,this.cueTagsTrack_,t)}goalBufferLength(){const e=this.tech_.currentTime(),t=y2.GOAL_BUFFER_LENGTH,i=y2.GOAL_BUFFER_LENGTH_RATE,n=Math.max(t,y2.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*i,n)}bufferLowWaterLine(){const e=this.tech_.currentTime(),t=y2.BUFFER_LOW_WATER_LINE,i=y2.BUFFER_LOW_WATER_LINE_RATE,n=Math.max(t,y2.MAX_BUFFER_LOW_WATER_LINE),s=Math.max(t,y2.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*i,this.bufferBasedABR?s:n)}bufferHighWaterLine(){return y2.BUFFER_HIGH_WATER_LINE}addDateRangesToTextTrack_(e){Uoe(this.inbandTextTracks_,"com.apple.streaming",this.tech_),Vot({inbandTextTracks:this.inbandTextTracks_,dateRanges:e})}addMetadataToTextTrack(e,t,i){const n=this.sourceUpdater_.videoBuffer?this.sourceUpdater_.videoTimestampOffset():this.sourceUpdater_.audioTimestampOffset();Uoe(this.inbandTextTracks_,e,this.tech_),jot({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:n,videoDuration:i})}pathwayAttribute_(e){return e.attributes["PATHWAY-ID"]||e.attributes.serviceLocation}initContentSteeringController_(){const e=this.main();if(e.contentSteering){for(const t of e.playlists)this.contentSteeringController_.addAvailablePathway(this.pathwayAttribute_(t));if(this.contentSteeringController_.assignTagProperties(e.uri,e.contentSteering),this.contentSteeringController_.queryBeforeStart){this.contentSteeringController_.requestSteeringManifest(!0);return}this.tech_.one("canplay",()=>{this.contentSteeringController_.requestSteeringManifest()})}}resetContentSteeringController_(){this.contentSteeringController_.clearAvailablePathways(),this.contentSteeringController_.dispose(),this.initContentSteeringController_()}attachContentSteeringListeners_(){this.contentSteeringController_.on("content-steering",this.excludeThenChangePathway_.bind(this)),["contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"].forEach(e=>{this.contentSteeringController_.on(e,t=>{this.trigger(o1({},t))})}),this.sourceType_==="dash"&&this.mainPlaylistLoader_.on("loadedplaylist",()=>{const e=this.main();(this.contentSteeringController_.didDASHTagChange(e.uri,e.contentSteering)||(()=>{const t=this.contentSteeringController_.getAvailablePathways(),i=[];for(const n of e.playlists){const s=n.attributes.serviceLocation;if(s&&(i.push(s),!t.has(s)))return!0}return!!(!i.length&&t.size)})())&&this.resetContentSteeringController_()})}excludeThenChangePathway_(){const e=this.contentSteeringController_.getPathway();if(!e)return;this.handlePathwayClones_();const t=this.main().playlists,i=new Set;let n=!1;Object.keys(t).forEach(s=>{const a=t[s],o=this.pathwayAttribute_(a),l=o&&e!==o;a.excludeUntil===1/0&&a.lastExcludeReason_==="content-steering"&&!l&&(delete a.excludeUntil,delete a.lastExcludeReason_,n=!0);const u=!a.excludeUntil&&a.excludeUntil!==1/0;!i.has(a.id)&&l&&u&&(i.add(a.id),a.excludeUntil=1/0,a.lastExcludeReason_="content-steering",this.logger_(`excluding ${a.id} for ${a.lastExcludeReason_}`))}),this.contentSteeringController_.manifestType_==="DASH"&&Object.keys(this.mediaTypes_).forEach(s=>{const a=this.mediaTypes_[s];if(a.activePlaylistLoader){const o=a.activePlaylistLoader.media_;o&&o.attributes.serviceLocation!==e&&(n=!0)}}),n&&this.changeSegmentPathway_()}handlePathwayClones_(){const e=this.main().playlists,t=this.contentSteeringController_.currentPathwayClones,i=this.contentSteeringController_.nextPathwayClones;if(t&&t.size||i&&i.size){for(const[n,s]of t.entries())i.get(n)||(this.mainPlaylistLoader_.updateOrDeleteClone(s),this.contentSteeringController_.excludePathway(n));for(const[n,s]of i.entries()){const a=t.get(n);if(!a){e.filter(o=>o.attributes["PATHWAY-ID"]===s["BASE-ID"]).forEach(o=>{this.mainPlaylistLoader_.addClonePathway(s,o)}),this.contentSteeringController_.addAvailablePathway(n);continue}this.equalPathwayClones_(a,s)||(this.mainPlaylistLoader_.updateOrDeleteClone(s,!0),this.contentSteeringController_.addAvailablePathway(n))}this.contentSteeringController_.currentPathwayClones=new Map(JSON.parse(JSON.stringify([...i])))}}equalPathwayClones_(e,t){if(e["BASE-ID"]!==t["BASE-ID"]||e.ID!==t.ID||e["URI-REPLACEMENT"].HOST!==t["URI-REPLACEMENT"].HOST)return!1;const i=e["URI-REPLACEMENT"].PARAMS,n=t["URI-REPLACEMENT"].PARAMS;for(const s in i)if(i[s]!==n[s])return!1;for(const s in n)if(i[s]!==n[s])return!1;return!0}changeSegmentPathway_(){const e=this.selectPlaylist();this.pauseLoading(),this.contentSteeringController_.manifestType_==="DASH"&&this.switchMediaForDASHContentSteering_(),this.switchMedia_(e,"content-steering")}excludeNonUsablePlaylistsByKeyId_(){if(!this.mainPlaylistLoader_||!this.mainPlaylistLoader_.main)return;let e=0;const t="non-usable";this.mainPlaylistLoader_.main.playlists.forEach(i=>{const n=this.mainPlaylistLoader_.getKeyIdSet(i);!n||!n.size||n.forEach(s=>{const a="usable",o=this.keyStatusMap_.has(s)&&this.keyStatusMap_.get(s)===a,l=i.lastExcludeReason_===t&&i.excludeUntil===1/0;o?o&&l&&(delete i.excludeUntil,delete i.lastExcludeReason_,this.logger_(`enabling playlist ${i.id} because key ID ${s} is ${a}`)):(i.excludeUntil!==1/0&&i.lastExcludeReason_!==t&&(i.excludeUntil=1/0,i.lastExcludeReason_=t,this.logger_(`excluding playlist ${i.id} because the key ID ${s} doesn't exist in the keyStatusMap or is not ${a}`)),e++)})}),e>=this.mainPlaylistLoader_.main.playlists.length&&this.mainPlaylistLoader_.main.playlists.forEach(i=>{const n=i&&i.attributes&&i.attributes.RESOLUTION&&i.attributes.RESOLUTION.height<720,s=i.excludeUntil===1/0&&i.lastExcludeReason_===t;n&&s&&(delete i.excludeUntil,mt.log.warn(`enabling non-HD playlist ${i.id} because all playlists were excluded due to ${t} key IDs`))})}addKeyStatus_(e,t){const i=(typeof e=="string"?e:ilt(e)).slice(0,32).toLowerCase();this.logger_(`KeyStatus '${t}' with key ID ${i} added to the keyStatusMap`),this.keyStatusMap_.set(i,t)}updatePlaylistByKeyStatus(e,t){this.addKeyStatus_(e,t),this.waitingForFastQualityPlaylistReceived_||this.excludeNonUsableThenChangePlaylist_(),this.mainPlaylistLoader_.off("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this)),this.mainPlaylistLoader_.on("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this))}excludeNonUsableThenChangePlaylist_(){this.excludeNonUsablePlaylistsByKeyId_(),this.fastQualityChange_()}}const Plt=(r,e,t)=>i=>{const n=r.main.playlists[e],s=rY(n),a=MA(n);if(typeof i>"u")return a;i?delete n.disabled:n.disabled=!0;const o={renditionInfo:{id:e,bandwidth:n.attributes.BANDWIDTH,resolution:n.attributes.RESOLUTION,codecs:n.attributes.CODECS},cause:"fast-quality"};return i!==a&&!s&&(i?(t(n),r.trigger({type:"renditionenabled",metadata:o})):r.trigger({type:"renditiondisabled",metadata:o})),i};class Dlt{constructor(e,t,i){const{playlistController_:n}=e,s=n.fastQualityChange_.bind(n);if(t.attributes){const a=t.attributes.RESOLUTION;this.width=a&&a.width,this.height=a&&a.height,this.bandwidth=t.attributes.BANDWIDTH,this.frameRate=t.attributes["FRAME-RATE"]}this.codecs=KT(n.main(),t),this.playlist=t,this.id=i,this.enabled=Plt(e.playlists,t.id,s)}}const Alt=function(r){r.representations=()=>{const e=r.playlistController_.main(),t=lx(e)?r.playlistController_.getAudioTrackPlaylists_():e.playlists;return t?t.filter(i=>!rY(i)).map((i,n)=>new Dlt(r,i,i.id)):[]}},Joe=["seeking","seeked","pause","playing","error"];class Olt extends mt.EventTarget{constructor(e){super(),this.playlistController_=e.playlistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.playedRanges_=[],this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=Qu("PlaybackWatcher"),this.logger_("initialize");const t=()=>this.monitorCurrentTime_(),i=()=>this.monitorCurrentTime_(),n=()=>this.techWaiting_(),s=()=>this.resetTimeUpdate_(),a=this.playlistController_,o=["main","subtitle","audio"],l={};o.forEach(c=>{l[c]={reset:()=>this.resetSegmentDownloads_(c),updateend:()=>this.checkSegmentDownloads_(c)},a[`${c}SegmentLoader_`].on("appendsdone",l[c].updateend),a[`${c}SegmentLoader_`].on("playlistupdate",l[c].reset),this.tech_.on(["seeked","seeking"],l[c].reset)});const u=c=>{["main","audio"].forEach(g=>{a[`${g}SegmentLoader_`][c]("appended",this.seekingAppendCheck_)})};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),u("off"))},this.clearSeekingAppendCheck_=()=>u("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),u("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",n),this.tech_.on(Joe,s),this.tech_.on("canplay",i),this.tech_.one("play",t),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",n),this.tech_.off(Joe,s),this.tech_.off("canplay",i),this.tech_.off("play",t),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),o.forEach(c=>{a[`${c}SegmentLoader_`].off("appendsdone",l[c].updateend),a[`${c}SegmentLoader_`].off("playlistupdate",l[c].reset),this.tech_.off(["seeked","seeking"],l[c].reset)}),this.checkCurrentTimeTimeout_&&Xe.clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&Xe.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=Xe.setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(e){const t=this.playlistController_[`${e}SegmentLoader_`];this[`${e}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${e} loader`),this[`${e}StalledDownloads_`]=0,this[`${e}Buffered_`]=t.buffered_()}checkSegmentDownloads_(e){const t=this.playlistController_,i=t[`${e}SegmentLoader_`],n=i.buffered_(),s=_at(this[`${e}Buffered_`],n);if(this[`${e}Buffered_`]=n,s){const a={bufferedRanges:n};t.trigger({type:"bufferedrangeschanged",metadata:a}),this.resetSegmentDownloads_(e);return}this[`${e}StalledDownloads_`]++,this.logger_(`found #${this[`${e}StalledDownloads_`]} ${e} appends that did not increase buffer (possible stalled download)`,{playlistId:i.playlist_&&i.playlist_.id,buffered:bh(n)}),!(this[`${e}StalledDownloads_`]<10)&&(this.logger_(`${e} loader stalled download exclusion`),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:`vhs-${e}-download-exclusion`}),e!=="subtitle"&&t.excludePlaylist({error:{message:`Excessive ${e} segment downloading detected.`},playlistExclusionDuration:1/0}))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+M7>=t.end(t.length-1)))return this.techWaiting_();if(this.consecutiveUpdates>=5&&e===this.lastRecordedTime)this.consecutiveUpdates++,this.waiting_();else if(e===this.lastRecordedTime)this.consecutiveUpdates++;else{this.playedRanges_.push(Oa([this.lastRecordedTime,e]));const i={playedRanges:this.playedRanges_};this.playlistController_.trigger({type:"playedrangeschanged",metadata:i}),this.consecutiveUpdates=0,this.lastRecordedTime=e}}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const e=this.seekable(),t=this.tech_.currentTime(),i=this.afterSeekableWindow_(e,t,this.media(),this.allowSeeksWithinUnsafeLiveWindow);let n;if(i&&(n=e.end(e.length-1)),this.beforeSeekableWindow_(e,t)){const T=e.start(0);n=T+(T===e.end(0)?0:M7)}if(typeof n<"u")return this.logger_(`Trying to seek outside of seekable at time ${t} with seekable range ${q_e(e)}. Seeking to ${n}.`),this.tech_.setCurrentTime(n),!0;const s=this.playlistController_.sourceUpdater_,a=this.tech_.buffered(),o=s.audioBuffer?s.audioBuffered():null,l=s.videoBuffer?s.videoBuffered():null,u=this.media(),c=u.partTargetDuration?u.partTargetDuration:(u.targetDuration-L7)*2,g=[o,l];for(let T=0;T<g.length;T++)if(g[T]&&eY(g[T],t)<c)return!1;const b=nk(a,t);return b.length===0?!1:(n=b.start(0)+M7,this.logger_(`Buffered region starts (${b.start(0)}) just beyond seek point (${t}). Seeking to ${n}.`),this.tech_.setCurrentTime(n),!0)}waiting_(){if(this.techWaiting_())return;const e=this.tech_.currentTime(),t=this.tech_.buffered(),i=Mg(t,e);if(i.length&&e+3<=i.end(0)){this.resetTimeUpdate_(),this.tech_.setCurrentTime(e),this.logger_(`Stopped at ${e} while inside a buffered region [${i.start(0)} -> ${i.end(0)}]. Attempting to resume playback by seeking to the current time.`),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"});return}}techWaiting_(){const e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(e,t)){const a=e.end(e.length-1);return this.logger_(`Fell out of live window at time ${t}. Seeking to live point (seekable end) ${a}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(a),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const i=this.tech_.vhs.playlistController_.sourceUpdater_,n=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:i.audioBuffered(),videoBuffered:i.videoBuffered(),currentTime:t}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const s=nk(n,t);return s.length>0?(this.logger_(`Stopped at ${t} and seeking to ${s.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(t),!0):!1}afterSeekableWindow_(e,t,i,n=!1){if(!e.length)return!1;let s=e.end(e.length-1)+M7;const a=!i.endList,o=typeof i.partTargetDuration=="number";return a&&(o||n)&&(s=e.end(e.length-1)+i.targetDuration*3),t>s}beforeSeekableWindow_(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:e,audioBuffered:t,currentTime:i}){if(!e)return;let n;if(e.length&&t.length){const s=Mg(e,i-3),a=Mg(e,i),o=Mg(t,i);o.length&&!a.length&&s.length&&(n={start:s.end(0),end:o.end(0)})}else nk(e,i).length||(n=this.gapFromVideoUnderflow_(e,i));return n?(this.logger_(`Encountered a gap in video from ${n.start} to ${n.end}. Seeking to current time ${i}`),!0):!1}skipTheGap_(e){const t=this.tech_.buffered(),i=this.tech_.currentTime(),n=nk(t,i);if(this.resetTimeUpdate_(),n.length===0||i!==e)return;this.logger_("skipTheGap_:","currentTime:",i,"scheduled currentTime:",e,"nextRange start:",n.start(0)),this.tech_.setCurrentTime(n.start(0)+L7);const s={gapInfo:{from:i,to:n.start(0)}};this.playlistController_.trigger({type:"gapjumped",metadata:s}),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"})}gapFromVideoUnderflow_(e,t){const i=mat(e);for(let n=0;n<i.length;n++){const s=i.start(n),a=i.end(n);if(t-s<4&&t-s>2)return{start:s,end:a}}return null}}const Rlt={errorInterval:30,getSource(r){const e=this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource();return r(e)}},Ove=function(r,e){let t=0,i=0;const n=Zi(Rlt,e);r.ready(()=>{r.trigger({type:"usage",name:"vhs-error-reload-initialized"})});const s=function(){i&&r.currentTime(i)},a=function(c){c!=null&&(i=r.duration()!==1/0&&r.currentTime()||0,r.one("loadedmetadata",s),r.src(c),r.trigger({type:"usage",name:"vhs-error-reload"}),r.play())},o=function(){if(Date.now()-t<n.errorInterval*1e3){r.trigger({type:"usage",name:"vhs-error-reload-canceled"});return}if(!n.getSource||typeof n.getSource!="function"){mt.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return t=Date.now(),n.getSource.call(r,a)},l=function(){r.off("loadedmetadata",s),r.off("error",o),r.off("dispose",l)},u=function(c){l(),Ove(r,c)};r.on("error",o),r.on("dispose",l),r.reloadSourceOnError=u},Nlt=function(r){Ove(this,r)};var Rve="3.17.2",jlt="7.1.0",Hlt="1.3.1",Blt="7.2.0",Vlt="4.0.2";const Rs={PlaylistLoader:Ig,Playlist:ql,utils:zat,STANDARD_PLAYLIST_SELECTOR:Foe,INITIAL_PLAYLIST_SELECTOR:Dot,lastBandwidthSelector:Foe,movingAverageBandwidthSelector:Iot,comparePlaylistBandwidth:sY,comparePlaylistResolution:Mot,xhr:lve()};Object.keys(y2).forEach(r=>{Object.defineProperty(Rs,r,{get(){return mt.log.warn(`using Vhs.${r} is UNSAFE be sure you know what you are doing`),y2[r]},set(e){if(mt.log.warn(`using Vhs.${r} is UNSAFE be sure you know what you are doing`),typeof e!="number"||e<0){mt.log.warn(`value of Vhs.${r} must be greater than or equal to 0`);return}y2[r]=e}})});const Nve="videojs-vhs",jve=function(r,e){const t=e.media();let i=-1;for(let n=0;n<r.length;n++)if(r[n].id===t.id){i=n;break}r.selectedIndex_=i,r.trigger({selectedIndex:i,type:"change"})},Flt=function(r,e){e.representations().forEach(t=>{r.addQualityLevel(t)}),jve(r,e.playlists)};Rs.canPlaySource=function(){return mt.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const Ult=(r,e,t)=>{if(!r)return r;let i={};e&&e.attributes&&e.attributes.CODECS&&(i=CS(Z9(e.attributes.CODECS))),t&&t.attributes&&t.attributes.CODECS&&(i.audio=t.attributes.CODECS);const n=Cy(i.video),s=Cy(i.audio),a={};for(const o in r)a[o]={},s&&(a[o].audioContentType=s),n&&(a[o].videoContentType=n),e.contentProtection&&e.contentProtection[o]&&e.contentProtection[o].pssh&&(a[o].pssh=e.contentProtection[o].pssh),typeof r[o]=="string"&&(a[o].url=r[o]);return Zi(r,a)},qlt=(r,e)=>r.reduce((t,i)=>{if(!i.contentProtection)return t;const n=e.reduce((s,a)=>{const o=i.contentProtection[a];return o&&o.pssh&&(s[a]={pssh:o.pssh}),s},{});return Object.keys(n).length&&t.push(n),t},[]),$lt=({player:r,sourceKeySystems:e,audioMedia:t,mainPlaylists:i})=>{if(!r.eme.initializeMediaKeys)return Promise.resolve();const n=t?i.concat([t]):i,s=qlt(n,Object.keys(e)),a=[],o=[];return s.forEach(l=>{o.push(new Promise((u,c)=>{r.tech_.one("keysessioncreated",u)})),a.push(new Promise((u,c)=>{r.eme.initializeMediaKeys({keySystems:l},g=>{if(g){c(g);return}u()})}))}),Promise.race([Promise.all(a),Promise.race(o)])},zlt=({player:r,sourceKeySystems:e,media:t,audioMedia:i})=>{const n=Ult(e,t,i);return n?(r.currentSource().keySystems=n,n&&!r.eme?(mt.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},Hve=()=>{if(!Xe.localStorage)return null;const r=Xe.localStorage.getItem(Nve);if(!r)return null;try{return JSON.parse(r)}catch{return null}},Zlt=r=>{if(!Xe.localStorage)return!1;let e=Hve();e=e?Zi(e,r):r;try{Xe.localStorage.setItem(Nve,JSON.stringify(e))}catch{return!1}return e},Wlt=r=>r.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(r.substring(r.indexOf(",")+1)):r,Bve=(r,e)=>{r._requestCallbackSet||(r._requestCallbackSet=new Set),r._requestCallbackSet.add(e)},Vve=(r,e)=>{r._responseCallbackSet||(r._responseCallbackSet=new Set),r._responseCallbackSet.add(e)},Fve=(r,e)=>{r._requestCallbackSet&&(r._requestCallbackSet.delete(e),r._requestCallbackSet.size||delete r._requestCallbackSet)},Uve=(r,e)=>{r._responseCallbackSet&&(r._responseCallbackSet.delete(e),r._responseCallbackSet.size||delete r._responseCallbackSet)};Rs.supportsNativeHls=(function(){if(!Rt||!Rt.createElement)return!1;const r=Rt.createElement("video");return mt.getTech("Html5").isSupported()?["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some(function(e){return/maybe|probably/i.test(r.canPlayType(e))}):!1})();Rs.supportsNativeDash=(function(){return!Rt||!Rt.createElement||!mt.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(Rt.createElement("video").canPlayType("application/dash+xml"))})();Rs.supportsTypeNatively=r=>r==="hls"?Rs.supportsNativeHls:r==="dash"?Rs.supportsNativeDash:!1;Rs.isSupported=function(){return mt.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};Rs.xhr.onRequest=function(r){Bve(Rs.xhr,r)};Rs.xhr.onResponse=function(r){Vve(Rs.xhr,r)};Rs.xhr.offRequest=function(r){Fve(Rs.xhr,r)};Rs.xhr.offResponse=function(r){Uve(Rs.xhr,r)};const Glt=mt.getComponent("Component");class qve extends Glt{constructor(e,t,i){if(super(t,i.vhs),typeof i.initialBandwidth=="number"&&(this.options_.bandwidth=i.initialBandwidth),this.logger_=Qu("VhsHandler"),t.options_&&t.options_.playerId){const n=mt.getPlayer(t.options_.playerId);this.player_=n}if(this.tech_=t,this.source_=e,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&t.overrideNativeAudioTracks&&t.overrideNativeVideoTracks)t.overrideNativeAudioTracks(!0),t.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(t.featuresNativeVideoTracks||t.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(Rt,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],n=>{const s=Rt.fullscreenElement||Rt.webkitFullscreenElement||Rt.mozFullScreenElement||Rt.msFullscreenElement;s&&s.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()}),this.on(this.tech_,"seeking",function(){if(this.ignoreNextSeekingEvent_){this.ignoreNextSeekingEvent_=!1;return}this.setCurrentTime(this.tech_.currentTime())}),this.on(this.tech_,"error",function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()}),this.on(this.tech_,"play",this.play)}setOptions_(e={}){if(this.options_=Zi(this.options_,e),this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions!==!1,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.usePlayerObjectFit=this.options_.usePlayerObjectFit||!1,this.options_.useBandwidthFromLocalStorage=typeof this.source_.useBandwidthFromLocalStorage<"u"?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useForcedSubtitles=this.options_.useForcedSubtitles||!1,this.options_.useNetworkInformationApi=typeof this.options_.useNetworkInformationApi<"u"?this.options_.useNetworkInformationApi:!0,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=this.options_.llhls!==!1,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,typeof this.options_.playlistExclusionDuration!="number"&&(this.options_.playlistExclusionDuration=60),typeof this.options_.bandwidth!="number"&&this.options_.useBandwidthFromLocalStorage){const i=Hve();i&&i.bandwidth&&(this.options_.bandwidth=i.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),i&&i.throughput&&(this.options_.throughput=i.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}typeof this.options_.bandwidth!="number"&&(this.options_.bandwidth=y2.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===y2.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","usePlayerObjectFit","customPixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useForcedSubtitles","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach(i=>{typeof this.source_[i]<"u"&&(this.options_[i]=this.source_[i])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio,this.usePlayerObjectFit=this.options_.usePlayerObjectFit;const t=this.options_.customPixelRatio;typeof t=="number"&&t>=0&&(this.customPixelRatio=t)}setOptions(e={}){this.setOptions_(e)}src(e,t){if(!e)return;this.setOptions_(),this.options_.src=Wlt(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=Rs,this.options_.sourceType=cye(t),this.options_.seekTo=s=>{this.tech_.setCurrentTime(s)},this.options_.player_=this.player_,this.playlistController_=new Ilt(this.options_);const i=Zi({liveRangeSafeTimeDelta:M7},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new Olt(i),this.attachStreamingEventListeners_(),this.playlistController_.on("error",()=>{const s=mt.players[this.tech_.options_.playerId];let a=this.playlistController_.error;typeof a=="object"&&!a.code?a.code=3:typeof a=="string"&&(a={message:a,code:3}),s.error(a)});const n=this.options_.bufferBasedABR?Rs.movingAverageBandwidthSelector(.55):Rs.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):n.bind(this),this.playlistController_.selectInitialPlaylist=Rs.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(s){this.playlistController_.selectPlaylist=s.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(s){this.playlistController_.mainSegmentLoader_.throughput.rate=s,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let s=this.playlistController_.mainSegmentLoader_.bandwidth;const a=Xe.navigator.connection||Xe.navigator.mozConnection||Xe.navigator.webkitConnection,o=1e7;if(this.options_.useNetworkInformationApi&&a){const l=a.downlink*1e3*1e3;l>=o&&s>=o?s=Math.max(s,l):s=l}return s},set(s){this.playlistController_.mainSegmentLoader_.bandwidth=s,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const s=1/(this.bandwidth||1);let a;return this.throughput>0?a=1/this.throughput:a=0,Math.floor(1/(s+a))},set(){mt.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>bh(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>bh(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",()=>{this.options_.useBandwidthFromLocalStorage&&Zlt({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})}),this.playlistController_.on("selectedinitialmedia",()=>{Alt(this)}),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",()=>{this.setupEme_()}),this.on(this.playlistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.playlistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=Xe.URL.createObjectURL(this.playlistController_.mediaSource),(mt.browser.IS_ANY_SAFARI||mt.browser.IS_IOS)&&this.options_.overrideNative&&this.options_.sourceType==="hls"&&typeof this.tech_.addSourceElement=="function"?(this.tech_.addSourceElement(this.mediaSourceUrl_),this.tech_.addSourceElement(this.source_.src)):this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),$lt({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.main.playlists}).then(()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()}).catch(t=>{this.logger_("error while creating EME key session",t),this.player_.error({message:"Failed to initialize media keys for EME",code:3})})}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,t=zlt({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});if(this.player_.tech_.on("keystatuschange",i=>{this.playlistController_.updatePlaylistByKeyStatus(i.keyId,i.status)}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),!t){this.playlistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()}setupQualityLevels_(){const e=mt.players[this.tech_.options_.playerId];!e||!e.qualityLevels||this.qualityLevels_||(this.qualityLevels_=e.qualityLevels(),this.playlistController_.on("selectedinitialmedia",()=>{Flt(this.qualityLevels_,this)}),this.playlists.on("mediachange",()=>{jve(this.qualityLevels_,this.playlists)}))}static version(){return{"@videojs/http-streaming":Rve,"mux.js":jlt,"mpd-parser":Hlt,"m3u8-parser":Blt,"aes-decrypter":Vlt}}version(){return this.constructor.version()}canChangeType(){return Ive.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(e){this.playlistController_.setCurrentTime(e)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&Xe.URL.revokeObjectURL&&(Xe.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(e,t){return Qat({playlist:this.playlistController_.media(),time:e,callback:t})}seekToProgramTime(e,t,i=!0,n=2){return pve({programTime:e,playlist:this.playlistController_.media(),retryCount:n,pauseAfterSeek:i,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}setupXhrHooks_(){this.xhr.onRequest=e=>{Bve(this.xhr,e)},this.xhr.onResponse=e=>{Vve(this.xhr,e)},this.xhr.offRequest=e=>{Fve(this.xhr,e)},this.xhr.offResponse=e=>{Uve(this.xhr,e)},this.player_.trigger("xhr-hooks-ready")}attachStreamingEventListeners_(){const e=["seekablerangeschanged","bufferedrangeschanged","contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"],t=["gapjumped","playedrangeschanged"];e.forEach(i=>{this.playlistController_.on(i,n=>{this.player_.trigger(o1({},n))})}),t.forEach(i=>{this.playbackWatcher_.on(i,n=>{this.player_.trigger(o1({},n))})})}}const oP={name:"videojs-http-streaming",VERSION:Rve,canHandleSource(r,e={}){const t=Zi(mt.options,e);return!t.vhs.experimentalUseMMS&&!zT("avc1.4d400d,mp4a.40.2",!1)?!1:oP.canPlayType(r.type,t)},handleSource(r,e,t={}){const i=Zi(mt.options,t);return e.vhs=new qve(r,e,i),e.vhs.xhr=lve(),e.vhs.setupXhrHooks_(),e.vhs.src(r.src,r.type),e.vhs},canPlayType(r,e){const t=cye(r);if(!t)return"";const i=oP.getOverrideNative(e);return!Rs.supportsTypeNatively(t)||i?"maybe":""},getOverrideNative(r={}){const{vhs:e={}}=r,t=!(mt.browser.IS_ANY_SAFARI||mt.browser.IS_IOS),{overrideNative:i=t}=e;return i}},Xlt=()=>zT("avc1.4d400d,mp4a.40.2",!0);Xlt()&&mt.getTech("Html5").registerSourceHandler(oP,0);mt.VhsHandler=qve;mt.VhsSourceHandler=oP;mt.Vhs=Rs;mt.use||mt.registerComponent("Vhs",Rs);mt.options.vhs=mt.options.vhs||{};(!mt.getPlugin||!mt.getPlugin("reloadSourceOnError"))&&mt.registerPlugin("reloadSourceOnError",Nlt);const Ylt=Object.freeze(Object.defineProperty({__proto__:null,default:mt},Symbol.toStringTag,{value:"Module"}));var Gq={exports:{}};const Klt=iz(Ylt);var Qlt=Gq.exports,ele;function Jlt(){return ele||(ele=1,(function(r,e){(function(t,i){{var n=Klt;r.exports=i(n.default||n)}})(Qlt,function(t){var i=t.browser.IS_IOS||t.browser.IS_NATIVE_ANDROID,n=t.getTech("Tech");class s extends n{constructor(c,g){super(c,g),this.setPoster(c.poster),this.setSrc(this.options_.source,!0),this.setTimeout((function(){this.el_&&(this.el_.parentNode.className+=" vjs-youtube",i&&(this.el_.parentNode.className+=" vjs-youtube-mobile"),s.isApiReady?this.initYTPlayer():s.apiReadyQueue.push(this))}).bind(this))}dispose(){if(this.ytPlayer)this.ytPlayer.stopVideo&&this.ytPlayer.stopVideo(),this.ytPlayer.destroy&&this.ytPlayer.destroy();else{var c=s.apiReadyQueue.indexOf(this);c!==-1&&s.apiReadyQueue.splice(c,1)}this.ytPlayer=null,this.el_.parentNode.className=this.el_.parentNode.className.replace(" vjs-youtube","").replace(" vjs-youtube-mobile",""),this.el_.parentNode.removeChild(this.el_),n.prototype.dispose.call(this)}createEl(){var c=document.createElement("div");c.setAttribute("id",this.options_.techId),c.setAttribute("style","width:100%;height:100%;top:0;left:0;position:absolute"),c.setAttribute("class","vjs-tech");var g=document.createElement("div");if(g.appendChild(c),!i&&!this.options_.ytControls){var b=document.createElement("div");b.setAttribute("class","vjs-iframe-blocker"),b.setAttribute("style","position:absolute;top:0;left:0;width:100%;height:100%"),b.onclick=(function(){this.pause()}).bind(this),g.appendChild(b)}return g}initYTPlayer(){var c={controls:0,modestbranding:1,rel:0,showinfo:0,loop:this.options_.loop?1:0};if(typeof this.options_.autohide<"u"&&(c.autohide=this.options_.autohide),typeof this.options_.cc_load_policy<"u"&&(c.cc_load_policy=this.options_.cc_load_policy),typeof this.options_.ytControls<"u"&&(c.controls=this.options_.ytControls),typeof this.options_.disablekb<"u"&&(c.disablekb=this.options_.disablekb),typeof this.options_.color<"u"&&(c.color=this.options_.color),c.controls?typeof this.options_.fs<"u"&&(c.fs=this.options_.fs):c.fs=0,this.options_.source.src.indexOf("end=")!==-1){var g=this.options_.source.src.match(/end=([0-9]*)/);this.options_.end=parseInt(g[1])}if(typeof this.options_.end<"u"&&(c.end=this.options_.end),typeof this.options_.hl<"u"?c.hl=this.options_.hl:typeof this.options_.language<"u"&&(c.hl=this.options_.language.substr(0,2)),typeof this.options_.iv_load_policy<"u"&&(c.iv_load_policy=this.options_.iv_load_policy),typeof this.options_.list<"u"?c.list=this.options_.list:this.url&&typeof this.url.listId<"u"&&(c.list=this.url.listId),typeof this.options_.listType<"u"&&(c.listType=this.options_.listType),typeof this.options_.modestbranding<"u"&&(c.modestbranding=this.options_.modestbranding),typeof this.options_.playlist<"u"&&(c.playlist=this.options_.playlist),typeof this.options_.playsinline<"u"&&(c.playsinline=this.options_.playsinline),typeof this.options_.rel<"u"&&(c.rel=this.options_.rel),typeof this.options_.showinfo<"u"&&(c.showinfo=this.options_.showinfo),this.options_.source.src.indexOf("start=")!==-1){var b=this.options_.source.src.match(/start=([0-9]*)/);this.options_.start=parseInt(b[1])}if(typeof this.options_.start<"u"&&(c.start=this.options_.start),typeof this.options_.theme<"u"&&(c.theme=this.options_.theme),typeof this.options_.customVars<"u"){var T=this.options_.customVars;Object.keys(T).forEach(function(_){c[_]=T[_]})}this.activeVideoId=this.url?this.url.videoId:null,this.activeList=c.list;var L={videoId:this.activeVideoId,playerVars:c,events:{onReady:this.onPlayerReady.bind(this),onPlaybackQualityChange:this.onPlayerPlaybackQualityChange.bind(this),onPlaybackRateChange:this.onPlayerPlaybackRateChange.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onVolumeChange:this.onPlayerVolumeChange.bind(this),onError:this.onPlayerError.bind(this)}};typeof this.options_.enablePrivacyEnhancedMode<"u"&&this.options_.enablePrivacyEnhancedMode&&(L.host="https://www.youtube-nocookie.com"),this.ytPlayer=new YT.Player(this.options_.techId,L)}onPlayerReady(){this.options_.muted&&this.ytPlayer.mute();var c=this.ytPlayer.getAvailablePlaybackRates();c.length>1&&(this.featuresPlaybackRate=!0),this.playerReady_=!0,this.triggerReady(),this.playOnReady?this.play():this.cueOnReady&&(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)}onPlayerPlaybackQualityChange(){}onPlayerPlaybackRateChange(){this.trigger("ratechange")}onPlayerStateChange(c){var g=c.data;if(!(g===this.lastState||this.errorNumber))switch(this.lastState=g,g){case-1:this.trigger("loadstart"),this.trigger("loadedmetadata"),this.trigger("durationchange"),this.trigger("ratechange");break;case YT.PlayerState.ENDED:this.trigger("ended");break;case YT.PlayerState.PLAYING:this.trigger("timeupdate"),this.trigger("durationchange"),this.trigger("playing"),this.trigger("play"),this.isSeeking&&this.onSeeked();break;case YT.PlayerState.PAUSED:this.trigger("canplay"),this.isSeeking?this.onSeeked():this.trigger("pause");break;case YT.PlayerState.BUFFERING:this.player_.trigger("timeupdate"),this.player_.trigger("waiting");break}}onPlayerVolumeChange(){this.trigger("volumechange")}onPlayerError(c){this.errorNumber=c.data,this.trigger("pause"),this.trigger("error")}error(){var c=1e3+this.errorNumber;switch(this.errorNumber){case 5:return{code:c,message:"Error while trying to play the video"};case 2:case 100:return{code:c,message:"Unable to find the video"};case 101:case 150:return{code:c,message:"Playback on other Websites has been disabled by the video owner."}}return{code:c,message:"YouTube unknown error ("+this.errorNumber+")"}}loadVideoById_(c){var g={videoId:c};this.options_.start&&(g.startSeconds=this.options_.start),this.options_.end&&(g.endSeconds=this.options_.end),this.ytPlayer.loadVideoById(g)}cueVideoById_(c){var g={videoId:c};this.options_.start&&(g.startSeconds=this.options_.start),this.options_.end&&(g.endSeconds=this.options_.end),this.ytPlayer.cueVideoById(g)}src(c){return c&&this.setSrc({src:c}),this.source}poster(){return i?null:this.poster_}setPoster(c){this.poster_=c}setSrc(c){!c||!c.src||(delete this.errorNumber,this.source=c,this.url=s.parseUrl(c.src),this.options_.poster||this.url.videoId&&(this.poster_="https://img.youtube.com/vi/"+this.url.videoId+"/0.jpg",this.trigger("posterchange"),this.checkHighResPoster()),this.options_.autoplay&&!i?this.isReady_?this.play():this.playOnReady=!0:this.activeVideoId!==this.url.videoId&&(this.isReady_?(this.cueVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId):this.cueOnReady=!0))}autoplay(){return this.options_.autoplay}setAutoplay(c){this.options_.autoplay=c}loop(){return this.options_.loop}setLoop(c){this.options_.loop=c}play(){!this.url||!this.url.videoId||(this.wasPausedBeforeSeek=!1,this.isReady_?(this.url.listId&&(this.activeList===this.url.listId?this.ytPlayer.playVideo():(this.ytPlayer.loadPlaylist(this.url.listId),this.activeList=this.url.listId)),this.activeVideoId===this.url.videoId?this.ytPlayer.playVideo():(this.loadVideoById_(this.url.videoId),this.activeVideoId=this.url.videoId)):(this.trigger("waiting"),this.playOnReady=!0))}pause(){this.ytPlayer&&this.ytPlayer.pauseVideo()}paused(){return this.ytPlayer?this.lastState!==YT.PlayerState.PLAYING&&this.lastState!==YT.PlayerState.BUFFERING:!0}currentTime(){return this.ytPlayer?this.ytPlayer.getCurrentTime():0}setCurrentTime(c){this.lastState===YT.PlayerState.PAUSED&&(this.timeBeforeSeek=this.currentTime()),this.isSeeking||(this.wasPausedBeforeSeek=this.paused()),this.ytPlayer.seekTo(c,!0),this.trigger("timeupdate"),this.trigger("seeking"),this.isSeeking=!0,this.lastState===YT.PlayerState.PAUSED&&this.timeBeforeSeek!==c&&(clearInterval(this.checkSeekedInPauseInterval),this.checkSeekedInPauseInterval=setInterval((function(){this.lastState!==YT.PlayerState.PAUSED||!this.isSeeking?clearInterval(this.checkSeekedInPauseInterval):this.currentTime()!==this.timeBeforeSeek&&(this.trigger("timeupdate"),this.onSeeked())}).bind(this),250))}seeking(){return this.isSeeking}seekable(){return this.ytPlayer?t.createTimeRange(0,this.ytPlayer.getDuration()):t.createTimeRange()}onSeeked(){clearInterval(this.checkSeekedInPauseInterval),this.isSeeking=!1,this.wasPausedBeforeSeek&&this.pause(),this.trigger("seeked")}playbackRate(){return this.ytPlayer?this.ytPlayer.getPlaybackRate():1}setPlaybackRate(c){this.ytPlayer&&this.ytPlayer.setPlaybackRate(c)}duration(){return this.ytPlayer?this.ytPlayer.getDuration():0}currentSrc(){return this.source&&this.source.src}ended(){return this.ytPlayer?this.lastState===YT.PlayerState.ENDED:!1}volume(){return this.ytPlayer?this.ytPlayer.getVolume()/100:1}setVolume(c){this.ytPlayer&&this.ytPlayer.setVolume(c*100)}muted(){return this.ytPlayer?this.ytPlayer.isMuted():!1}setMuted(c){if(this.ytPlayer)this.muted(!0);else return;c?this.ytPlayer.mute():this.ytPlayer.unMute(),this.setTimeout(function(){this.trigger("volumechange")},50)}buffered(){if(!this.ytPlayer||!this.ytPlayer.getVideoLoadedFraction)return t.createTimeRange();var c=this.ytPlayer.getVideoLoadedFraction()*this.ytPlayer.getDuration();return t.createTimeRange(0,c)}preload(){}load(){}reset(){}networkState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 3:return 2;default:return 1}}readyState(){if(!this.ytPlayer)return 0;switch(this.ytPlayer.getPlayerState()){case-1:return 0;case 5:return 1;case 3:return 2;default:return 4}}supportsFullScreen(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled}checkHighResPoster(){var c="https://img.youtube.com/vi/"+this.url.videoId+"/maxresdefault.jpg";try{var g=new Image;g.onload=(function(){if("naturalHeight"in g){if(g.naturalHeight<=90||g.naturalWidth<=120)return}else if(g.height<=90||g.width<=120)return;this.poster_=c,this.trigger("posterchange")}).bind(this),g.onerror=function(){},g.src=c}catch{}}}s.isSupported=function(){return!0},s.canPlaySource=function(u){return s.canPlayType(u.type)},s.canPlayType=function(u){return u==="video/youtube"},s.parseUrl=function(u){var c={videoId:null},g=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,b=u.match(g);b&&b[2].length===11&&(c.videoId=b[2]);var T=/[?&]list=([^#\&\?]+)/;return b=u.match(T),b&&b[1]&&(c.listId=b[1]),c};function a(){YT.ready(function(){s.isApiReady=!0;for(var u=0;u<s.apiReadyQueue.length;++u)s.apiReadyQueue[u].initYTPlayer()})}function o(u,c){var g=!1,b=document.createElement("script"),T=document.getElementsByTagName("script")[0];T&&(T.parentNode.insertBefore(b,T),b.onload=function(){g||(g=!0,c())},b.onreadystatechange=function(){!g&&(this.readyState==="complete"||this.readyState==="loaded")&&(g=!0,c())},b.src=u)}function l(){var u=".vjs-youtube .vjs-iframe-blocker { display: none; }.vjs-youtube.vjs-user-inactive .vjs-iframe-blocker { display: block; }.vjs-youtube .vjs-poster { background-size: cover; }.vjs-youtube-mobile .vjs-big-play-button { display: none; }",c=document.head||document.getElementsByTagName("head")[0],g=document.createElement("style");g.type="text/css",g.styleSheet?g.styleSheet.cssText=u:g.appendChild(document.createTextNode(u)),c.appendChild(g)}s.apiReadyQueue=[],typeof document<"u"&&(o("https://www.youtube.com/iframe_api",a),l()),typeof t.registerTech<"u"?t.registerTech("Youtube",s):t.registerComponent("Youtube",s)})})(Gq)),Gq.exports}Jlt();yt.createContext({modalStack:[],openModal:()=>{},closeModal:()=>{},closeAllModals:()=>{}});function Pg(){return Pg=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},Pg.apply(this,arguments)}function e0t(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Xq(r,e)}function Xq(r,e){return Xq=Object.setPrototypeOf||function(t,i){return t.__proto__=i,t},Xq(r,e)}var $ve=(function(r){e0t(e,r);function e(){var i;return i=r.call(this)||this,i.state={columns:[],childRefs:[],hasDistributed:!1},i}var t=e.prototype;return t.componentDidUpdate=function(){!this.state.hasDistributed&&!this.props.sequential&&this.distributeChildren()},e.getDerivedStateFromProps=function(i,n){var s=i.children,a=i.columnsCount,o=a!==n.columns.length;return n&&s===n.children&&!o?null:Pg({},e.getEqualCountColumns(s,a),{children:s,hasDistributed:!1})},t.shouldComponentUpdate=function(i){return i.children!==this.state.children||i.columnsCount!==this.props.columnsCount},t.distributeChildren=function(){var i=this,n=this.props,s=n.children,a=n.columnsCount,o=Array(a).fill(0),l=this.state.childRefs.every(function(g){return g.current.getBoundingClientRect().height});if(l){var u=Array.from({length:a},function(){return[]}),c=0;yt.Children.forEach(s,function(g){if(g&&yt.isValidElement(g)){var b=i.state.childRefs[c].current.getBoundingClientRect().height,T=o.indexOf(Math.min.apply(Math,o));o[T]+=b,u[T].push(g),c++}}),this.setState(function(g){return Pg({},g,{columns:u,hasDistributed:!0})})}},e.getEqualCountColumns=function(i,n){var s=Array.from({length:n},function(){return[]}),a=0,o=[];return yt.Children.forEach(i,function(l){if(l&&yt.isValidElement(l)){var u=yt.createRef();o.push(u),s[a%n].push(yt.createElement("div",{style:{display:"flex",justifyContent:"stretch"},key:a,ref:u},l)),a++}}),{columns:s,childRefs:o}},t.renderColumns=function(){var i=this.props,n=i.gutter,s=i.itemTag,a=i.itemStyle;return this.state.columns.map(function(o,l){return yt.createElement(s,{key:l,style:Pg({display:"flex",flexDirection:"column",justifyContent:"flex-start",alignContent:"stretch",flex:1,width:0,gap:n},a)},o.map(function(u){return u}))})},t.render=function(){var i=this.props,n=i.gutter,s=i.className,a=i.style,o=i.containerTag;return yt.createElement(o,{style:Pg({display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"stretch",boxSizing:"border-box",width:"100%",gap:n},a),className:s},this.renderColumns())},e})(yt.Component);$ve.propTypes=process.env.NODE_ENV!=="production"?{children:y1.oneOfType([y1.arrayOf(y1.node),y1.node]).isRequired,columnsCount:y1.number,gutter:y1.string,className:y1.string,style:y1.object,containerTag:y1.string,itemTag:y1.string,itemStyle:y1.object,sequential:y1.bool}:{};$ve.defaultProps={columnsCount:3,gutter:"0",className:null,style:{},containerTag:"div",itemTag:"div",itemStyle:{},sequential:!1};process.env.NODE_ENV!=="production"&&(y1.oneOfType([y1.arrayOf(y1.node),y1.node]).isRequired,y1.object,y1.string,y1.object);yt.createContext({});const t0t="_checkOutAction_165q4_1",r0t="_carouselWrapper_165q4_9",i0t="_carouselTitle_165q4_12",n0t="_actions_165q4_27",s0t="_imageSlide_165q4_38",a0t="_image_165q4_38",Vf={checkOutAction:t0t,carouselWrapper:r0t,carouselTitle:i0t,actions:n0t,imageSlide:s0t,image:a0t};var FH={exports:{}},tle;function o0t(){return tle||(tle=1,(()=>{var r={913:n=>{n.exports=(function(s){var a={};function o(l){if(a[l])return a[l].exports;var u=a[l]={i:l,l:!1,exports:{}};return s[l].call(u.exports,u,u.exports,o),u.l=!0,u.exports}return o.m=s,o.c=a,o.d=function(l,u,c){o.o(l,u)||Object.defineProperty(l,u,{enumerable:!0,get:c})},o.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},o.t=function(l,u){if(1&u&&(l=o(l)),8&u||4&u&&typeof l=="object"&&l&&l.__esModule)return l;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:l}),2&u&&typeof l!="string")for(var g in l)o.d(c,g,(function(b){return l[b]}).bind(null,g));return c},o.n=function(l){var u=l&&l.__esModule?function(){return l.default}:function(){return l};return o.d(u,"a",u),u},o.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},o.p="",o(o.s=0)})([function(s,a,o){o.r(a);var l,u="fslightbox-",c="".concat(u,"styles"),g="".concat(u,"cursor-grabbing"),b="".concat(u,"full-dimension"),T="".concat(u,"flex-centered"),L="".concat(u,"open"),_="".concat(u,"transform-transition"),D="".concat(u,"absoluted"),N="".concat(u,"slide-btn"),V="".concat(N,"-container"),R="".concat(u,"fade-in"),q="".concat(u,"fade-out"),k=R+"-strong",M=q+"-strong",I="".concat(u,"opacity-"),A="".concat(I,"1"),m="".concat(u,"source");function S(ie){return(S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(ie)}function B(ie){var ee,me=ie.props,pe=0,de={};this.getSourceTypeFromLocalStorageByUrl=function(_e){return ee[_e]?ee[_e]:Te(_e)},this.handleReceivedSourceTypeForUrl=function(_e,ve){if(de[ve]===!1&&(pe--,_e!=="invalid"?de[ve]=_e:delete de[ve],pe===0)){(function(Se,Le){for(var ce in Le)Se[ce]=Le[ce]})(ee,de);try{localStorage.setItem("fslightbox-types",JSON.stringify(ee))}catch{}}};var Te=function(_e){pe++,de[_e]=!1};if(me.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{ee=JSON.parse(localStorage.getItem("fslightbox-types"))}catch{}ee||(ee={},this.getSourceTypeFromLocalStorageByUrl=Te)}}function U(ie,ee,me,pe){ie.data;var de=ie.elements.sources,Te=me/pe,_e=0;this.adjustSize=function(){if((_e=ie.mw/Te)<ie.mh)return me<ie.mw&&(_e=pe),ve();_e=pe>ie.mh?ie.mh:pe,ve()};var ve=function(){de[ee].style.width=_e*Te+"px",de[ee].style.height=_e+"px"}}function F(ie,ee){var me=this,pe=ie.collections.sourceSizers,de=ie.elements,Te=de.sourceAnimationWrappers,_e=de.sources,ve=ie.isl,Se=ie.props.onSourceLoad,Le=ie.resolve;function ce(Ee,je){pe[ee]=Le(U,[ee,Ee,je]),pe[ee].adjustSize()}this.b=function(Ee,je){_e[ee].classList.add(A),me.a(),ce(Ee,je),me.b=ce},this.a=function(){ve[ee]=!0,Te[ee].classList.add(k),Te[ee].removeChild(Te[ee].firstChild),Se&&Se(ie,_e[ee],ee)}}function z(ie,ee){var me,pe=this,de=ie.elements.sources,Te=ie.props,_e=(0,ie.resolve)(F,[ee]);this.handleImageLoad=function(ve){var Se=ve.target,Le=Se.naturalWidth,ce=Se.naturalHeight;_e.b(Le,ce)},this.handleVideoLoad=function(ve){var Se=ve.target,Le=Se.videoWidth,ce=Se.videoHeight;me=!0,_e.b(Le,ce)},this.handleNotMetaDatedVideoLoad=function(){me||pe.handleYoutubeLoad()},this.handleYoutubeLoad=function(ve,Se){ve||(ve=1920,Se=1080),Te.maxYoutubeDimensions&&(ve=Te.maxYoutubeDimensions.width,Se=Te.maxYoutubeDimensions.height),_e.b(ve,Se)},this.handleCustomLoad=function(){var ve=de[ee],Se=ve.offsetWidth,Le=ve.offsetHeight;Se&&Le?_e.b(Se,Le):setTimeout(pe.handleCustomLoad)}}function X(ie,ee,me){var pe=ie.elements.sources,de=ie.props.customClasses,Te=de[ee]?de[ee]:"";pe[ee].className=me+" "+Te}function Y(ie,ee){var me=ie.elements.sources,pe=ie.props.customAttributes;for(var de in pe[ee])me[ee].setAttribute(de,pe[ee][de])}function w(ie,ee){var me=ie.collections.sourceLoadHandlers,pe=ie.elements,de=pe.sources,Te=pe.sourceAnimationWrappers,_e=ie.props.sources;de[ee]=document.createElement("img"),X(ie,ee,m),de[ee].src=_e[ee],de[ee].onload=me[ee].handleImageLoad,Y(ie,ee),Te[ee].appendChild(de[ee])}function se(ie,ee){var me=ie.ap,pe=ie.collections.sourceLoadHandlers,de=ie.elements,Te=de.sources,_e=de.sourceAnimationWrappers,ve=ie.props,Se=ve.sources,Le=ve.videosPosters,ce=document.createElement("video"),Ee=document.createElement("source");Te[ee]=ce,X(ie,ee,"".concat(m," fslightboxv")),ce.src=Se[ee],ce.onloadedmetadata=function(je){return pe[ee].handleVideoLoad(je)},ce.controls=!0,ce.autoplay=me.i(ee),Y(ie,ee),Le[ee]&&(Te[ee].poster=Le[ee]),Ee.src=Se[ee],ce.appendChild(Ee),setTimeout(pe[ee].handleNotMetaDatedVideoLoad,3e3),_e[ee].appendChild(Te[ee])}function y(ie,ee){var me=ie.ap,pe=ie.collections.sourceLoadHandlers,de=ie.elements,Te=de.sources,_e=de.sourceAnimationWrappers,ve=ie.props.sources[ee],Se=ve.split("?")[1],Le=document.createElement("iframe");Te[ee]=Le,X(ie,ee,"".concat(m," ").concat(u,"youtube-iframe")),Le.src="https://www.youtube.com/embed/".concat(ve.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?").concat(Se||"").concat(me.i(ee)?"&mute=1&autoplay=1":"","&enablejsapi=1"),Le.allowFullscreen=!0,Y(ie,ee),_e[ee].appendChild(Le),pe[ee].handleYoutubeLoad(parseInt(Le.width),parseInt(Le.height))}function x(ie,ee){var me=ie.collections.sourceLoadHandlers,pe=ie.elements,de=pe.sources,Te=pe.sourceAnimationWrappers,_e=ie.props.sources;de[ee]=_e[ee],X(ie,ee,"".concat(de[ee].className," ").concat(m)),Te[ee].appendChild(de[ee]),me[ee].handleCustomLoad()}function j(ie,ee){var me=ie.elements,pe=me.sources,de=me.sourceAnimationWrappers;ie.props.sources,pe[ee]=document.createElement("div"),pe[ee].className="".concat(u,"invalid-file-wrapper ").concat(T),pe[ee].innerHTML="Invalid source",de[ee].appendChild(pe[ee]),new F(ie,ee).a()}function K(ie){var ee=ie.collections,me=ee.sourceLoadHandlers,pe=ee.sourcesRenderFunctions,de=ie.core.sourceDisplayFacade,Te=ie.resolve;this.runActionsForSourceTypeAndIndex=function(_e,ve){var Se;switch(_e!=="invalid"&&(me[ve]=Te(z,[ve])),_e){case"image":Se=w;break;case"video":Se=se;break;case"youtube":Se=y;break;case"custom":Se=x;break;default:Se=j}pe[ve]=function(){return Se(ie,ve)},de.displaySourcesWhichShouldBeDisplayed()}}function Q(ie,ee,me){var pe=ie.props,de=pe.types,Te=pe.type,_e=pe.sources;this.getTypeSetByClientForIndex=function(ve){var Se;return de&&de[ve]?Se=de[ve]:Te&&(Se=Te),Se},this.retrieveTypeWithXhrForIndex=function(ve){(function(Se,Le){var ce=document.createElement("a");ce.href=Se;var Ee=ce.hostname;if(Ee==="www.youtube.com"||Ee==="youtu.be")return Le("youtube");var je=new XMLHttpRequest;je.onreadystatechange=function(){if(je.readyState!==4){if(je.readyState===2){var Ue,et=je.getResponseHeader("content-type");switch(et.slice(0,et.indexOf("/"))){case"image":Ue="image";break;case"video":Ue="video";break;default:Ue="invalid"}je.onreadystatechange=null,je.abort(),Le(Ue)}}else Le("invalid")},je.open("GET",Se),je.send()})(_e[ve],(function(Se){ee.handleReceivedSourceTypeForUrl(Se,_e[ve]),me.runActionsForSourceTypeAndIndex(Se,ve)}))}}function te(ie,ee){var me=ie.core.stageManager,pe=ie.elements,de=pe.smw,Te=pe.sourceWrappersContainer,_e=ie.props,ve=0,Se=document.createElement("div");function Le(Ee){Se.style.transform="translateX(".concat(Ee+ve,"px)"),ve=0}function ce(){return(1+_e.slideDistance)*innerWidth}Se.className="".concat(D," ").concat(b," ").concat(T),Se.s=function(){Se.style.display="flex"},Se.h=function(){Se.style.display="none"},Se.a=function(){Se.classList.add(_)},Se.d=function(){Se.classList.remove(_)},Se.n=function(){Se.style.removeProperty("transform")},Se.v=function(Ee){return ve=Ee,Se},Se.ne=function(){Le(-ce())},Se.z=function(){Le(0)},Se.p=function(){Le(ce())},me.i(ee)||Se.h(),de[ee]=Se,Te.appendChild(Se),(function(Ee,je){var Ue=Ee.elements,et=Ue.smw,ot=Ue.sourceAnimationWrappers,Pe=document.createElement("div"),Oe=document.createElement("div");Oe.className="fslightboxl";for(var qe=0;qe<3;qe++){var nt=document.createElement("div");Oe.appendChild(nt)}Pe.appendChild(Oe),et[je].appendChild(Pe),ot[je]=Pe})(ie,ee)}function re(ie,ee,me){var pe=document.createElementNS("http://www.w3.org/2000/svg","svg"),de="".concat(u,"svg");pe.setAttributeNS(null,"class","".concat(de)),pe.setAttributeNS(null,"viewBox",ee);var Te=document.createElementNS("http://www.w3.org/2000/svg","path");return Te.setAttributeNS(null,"class","".concat(de,"p")),Te.setAttributeNS(null,"d",me),pe.appendChild(Te),ie.appendChild(pe),pe}function ue(ie,ee){var me=document.createElement("button");return me.className="fslightboxb ".concat(u,"toolbar-button ").concat(T),me.title=ee,ie.appendChild(me),me}function he(ie){var ee=ie.props.sources,me=ie.elements.container,pe=document.createElement("div");pe.className="".concat(u,"nav"),me.appendChild(pe),(function(de,Te){var _e=document.createElement("div");_e.className="".concat(u,"toolbar"),Te.appendChild(_e),(function(ve,Se){if(!ve.hfs){var Le="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",ce=ue(Se);ce.title="Enter fullscreen";var Ee=re(ce,"0 0 18 18",Le);ve.fso=function(){ve.ifs=1,ce.title="Exit fullscreen",Ee.classList.add("".concat(u,"fsx")),Ee.setAttributeNS(null,"viewBox","0 0 950 1024"),Ee.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},ve.fsx=function(){ve.ifs=0,ce.title="Enter fullscreen",Ee.classList.remove("".concat(u,"fsx")),Ee.setAttributeNS(null,"viewBox","0 0 18 18"),Ee.firstChild.setAttributeNS(null,"d",Le)},ce.onclick=ve.fs.t}})(de,_e),(function(ve,Se){var Le=ue(Se,"Close");Le.onclick=ve.core.lightboxCloser.closeLightbox,re(Le,"0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")})(de,_e)})(ie,pe),ee.length>1&&(function(de,Te){var _e=de.props.sources,ve=(de.stageIndexes,document.createElement("div")),Se=document.createElement("span"),Le=document.createElement("span"),ce=document.createElement("span");ve.className="fslightboxsn",de.sn=function(Ee){return Se.innerHTML=Ee},Le.className="fslightboxsl",ce.innerHTML=_e.length,ve.appendChild(Se),ve.appendChild(Le),ve.appendChild(ce),Te.appendChild(ve)})(ie,pe)}function Ce(ie,ee,me,pe){var de=ie.elements.container,Te=me.charAt(0).toUpperCase()+me.slice(1),_e=document.createElement("div");_e.className="".concat(V," ").concat(V,"-").concat(me),_e.title="".concat(Te," slide"),_e.onclick=ee,(function(ve,Se){var Le=document.createElement("button");Le.className="fslightboxb ".concat(N," ").concat(T),re(Le,"0 0 20 20",Se),ve.appendChild(Le)})(_e,pe),de.appendChild(_e)}function we(ie){var ee=ie.core,me=ee.lightboxCloser,pe=ee.slideChangeFacade,de=ie.fs;this.listener=function(Te){switch(Te.key){case"Escape":me.closeLightbox();break;case"ArrowLeft":pe.changeToPrevious();break;case"ArrowRight":pe.changeToNext();break;case"F11":Te.preventDefault(),de.t()}}}function be(ie){var ee=ie.elements,me=ie.sourcePointerProps,pe=ie.stageIndexes;function de(Te,_e){ee.smw[Te].v(me.swipedX)[_e]()}this.runActionsForEvent=function(Te){var _e,ve,Se;ee.container.contains(ee.slideSwipingHoverer)||ee.container.appendChild(ee.slideSwipingHoverer),_e=ee.container,ve=g,(Se=_e.classList).contains(ve)||Se.add(ve),me.swipedX=Te.screenX-me.downScreenX;var Le=pe.previous,ce=pe.next;de(pe.current,"z"),Le!==void 0&&me.swipedX>0?de(Le,"ne"):ce!==void 0&&me.swipedX<0&&de(ce,"p")}}function Me(ie){var ee=ie.dss,me=ie.props.sources,pe=ie.resolve,de=ie.sourcePointerProps,Te=pe(be);me.length===1||ee?this.listener=function(){de.swipedX=1}:this.listener=function(_e){de.isPointering&&Te.runActionsForEvent(_e)}}function ae(ie){var ee=ie.core.slideIndexChanger,me=ie.elements.smw,pe=ie.stageIndexes,de=ie.sws;function Te(ve){var Se=me[pe.current];Se.a(),Se[ve]()}function _e(ve,Se){ve!==void 0&&(me[ve].s(),me[ve][Se]())}this.runPositiveSwipedXActions=function(){var ve=pe.previous;if(ve===void 0)Te("z");else{Te("p");var Se=pe.next;ee.changeTo(ve);var Le=pe.previous;de.d(Le),de.b(Se),Te("z"),_e(Le,"ne")}},this.runNegativeSwipedXActions=function(){var ve=pe.next;if(ve===void 0)Te("z");else{Te("ne");var Se=pe.previous;ee.changeTo(ve);var Le=pe.next;de.d(Le),de.b(Se),Te("z"),_e(Le,"p")}}}function ke(ie,ee){ie.contains(ee)&&ie.removeChild(ee)}function De(ie){var ee=ie.core.lightboxCloser,me=ie.dss,pe=ie.elements,de=ie.props,Te=ie.resolve,_e=ie.sourcePointerProps,ve=Te(ae);this.runNoSwipeActions=function(){ke(pe.container,pe.slideSwipingHoverer),_e.isSourceDownEventTarget||de.disableBackgroundClose||ee.closeLightbox(),_e.isPointering=!1},this.runActions=function(){me||(_e.swipedX>0?ve.runPositiveSwipedXActions():ve.runNegativeSwipedXActions()),ke(pe.container,pe.slideSwipingHoverer),pe.container.classList.remove(g),_e.isPointering=!1}}function Qe(ie){var ee=ie.resolve,me=ie.sourcePointerProps,pe=ee(De);this.listener=function(){me.isPointering&&(me.swipedX?pe.runActions():pe.runNoSwipeActions())}}function oe(ie){var ee=this,me=ie.core,pe=me.globalEventsController,de=me.scrollbarRecompensor,Te=(ie.data,ie.e),_e=ie.elements,ve=ie.fs,Se=ie.props,Le=ie.sourcePointerProps;this.runActions=function(){ee.i=1,_e.container.classList.add(M),pe.removeListeners(),Se.exitFullscreenOnClose&&ie.ifs&&ve.x(),setTimeout((function(){ee.i=0,Le.isPointering=!1,_e.container.classList.remove(M),document.documentElement.classList.remove(L),de.removeRecompense(),document.body.removeChild(_e.container),Te("onClose")}),270)}}function Ne(ie,ee){var me=ie.classList;me.contains(ee)&&me.remove(ee)}function tt(ie){var ee,me,pe,de,Te,_e,ve,Se,Le;(function(ce){var Ee=ce.ap,je=ce.elements.sources,Ue=ce.props,et=Ue.autoplay,ot=Ue.autoplays;function Pe(Oe,qe){if(qe!="play"||Ee.i(Oe)){var nt=je[Oe];if(nt){var P=nt.tagName;if(P=="VIDEO")nt[qe]();else if(P=="IFRAME"){var O=nt.contentWindow;O&&O.postMessage('{"event":"command","func":"'.concat(qe,'Video","args":""}'),"*")}}}}Ee.i=function(Oe){return ot[Oe]||et&&ot[Oe]!=0},Ee.p=function(Oe){Pe(Oe,"play")},Ee.c=function(Oe,qe){Pe(Oe,"pause"),Pe(qe,"play")}})(ie),(function(ce){ce.data;var Ee=ce.fs,je=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],Ue=document.documentElement,et=Ue.requestFullscreen;function ot(Oe){for(var qe=0;qe<je.length;qe++)document[Oe](je[qe],Pe)}function Pe(){document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement?ce.fso():ce.fsx()}Ee.i=function(){if(et||(et=Ue.mozRequestFullScreen),et||(et=Ue.webkitRequestFullscreen),et||(et=Ue.msRequestFullscreen),!et)return ce.hfs=1,Ee.o=function(){},Ee.x=function(){},Ee.t=function(){},Ee.l=function(){},void(Ee.q=function(){});Ee.o=function(){ce.fso();var Oe=document.documentElement;Oe.requestFullscreen?Oe.requestFullscreen():Oe.mozRequestFullScreen?Oe.mozRequestFullScreen():Oe.webkitRequestFullscreen?Oe.webkitRequestFullscreen():Oe.msRequestFullscreen&&Oe.msRequestFullscreen()},Ee.x=function(){ce.fsx(),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},Ee.t=function(){ce.ifs?Ee.x():Ee.o()},Ee.l=function(){ot("addEventListener")},Ee.q=function(){ot("removeEventListener")}}})(ie),pe=(me=(ee=ie).core).globalEventsController,de=me.windowResizeActioner,Te=ee.fs,_e=ee.resolve,ve=_e(we),Se=_e(Me),Le=_e(Qe),pe.attachListeners=function(){document.addEventListener("pointermove",Se.listener),document.addEventListener("pointerup",Le.listener),addEventListener("resize",de.runActions),document.addEventListener("keydown",ve.listener),Te.l()},pe.removeListeners=function(){document.removeEventListener("pointermove",Se.listener),document.removeEventListener("pointerup",Le.listener),removeEventListener("resize",de.runActions),document.removeEventListener("keydown",ve.listener),Te.q()},(function(ce){var Ee=ce.core.lightboxCloser,je=(0,ce.resolve)(oe);Ee.closeLightbox=function(){je.isLightboxFadingOut||je.runActions()}})(ie),(function(ce){var Ee=ce.data,je=ce.core.scrollbarRecompensor;function Ue(){document.body.offsetHeight>innerHeight&&(document.body.style.marginRight=Ee.scrollbarWidth+"px")}je.addRecompense=function(){document.readyState==="complete"?Ue():addEventListener("load",(function(){Ue(),je.addRecompense=Ue}))},je.removeRecompense=function(){document.body.style.removeProperty("margin-right")}})(ie),(function(ce){var Ee=ce.core,je=Ee.slideChangeFacade,Ue=Ee.slideIndexChanger,et=Ee.stageManager;ce.props.sources.length>1?(je.changeToPrevious=function(){Ue.jumpTo(et.getPreviousSlideIndex())},je.changeToNext=function(){Ue.jumpTo(et.getNextSlideIndex())}):(je.changeToPrevious=function(){},je.changeToNext=function(){})})(ie),(function(ce){var Ee=ce.ap,je=(ce.componentsServices,ce.core),Ue=je.slideIndexChanger,et=je.sourceDisplayFacade,ot=je.stageManager,Pe=ce.elements,Oe=Pe.smw,qe=Pe.sourceAnimationWrappers,nt=ce.isl,P=ce.stageIndexes,O=ce.sws;Ue.changeTo=function(Z){Ee.c(P.current,Z),P.current=Z,ot.updateStageIndexes(),ce.sn(Z+1),et.displaySourcesWhichShouldBeDisplayed()},Ue.jumpTo=function(Z){var ne=P.previous,ge=P.current,fe=P.next,Re=nt[ge],Be=nt[Z];Ue.changeTo(Z);for(var Ie=0;Ie<Oe.length;Ie++)Oe[Ie].d();O.d(ge),O.c(),requestAnimationFrame((function(){requestAnimationFrame((function(){var Fe=P.previous,Ve=P.next;function ze(){ot.i(ge)?ge===P.previous?Oe[ge].ne():ge===P.next&&Oe[ge].p():(Oe[ge].h(),Oe[ge].n())}Re&&qe[ge].classList.add(q),Be&&qe[P.current].classList.add(R),O.a(),Fe!==void 0&&Fe!==ge&&Oe[Fe].ne(),Oe[P.current].n(),Ve!==void 0&&Ve!==ge&&Oe[Ve].p(),O.b(ne),O.b(fe),nt[ge]?setTimeout(ze,260):ze()}))}))}})(ie),(function(ce){var Ee=ce.core.sourcesPointerDown,je=ce.elements,Ue=je.smw,et=je.sources,ot=ce.sourcePointerProps,Pe=ce.stageIndexes;Ee.listener=function(Oe){Oe.target.tagName!=="VIDEO"&&Oe.preventDefault(),ot.isPointering=!0,ot.downScreenX=Oe.screenX,ot.swipedX=0;var qe=et[Pe.current];qe&&qe.contains(Oe.target)?ot.isSourceDownEventTarget=!0:ot.isSourceDownEventTarget=!1;for(var nt=0;nt<Ue.length;nt++)Ue[nt].d()}})(ie),(function(ce){var Ee=ce.collections.sourcesRenderFunctions,je=ce.core.sourceDisplayFacade,Ue=ce.loc,et=ce.stageIndexes;function ot(Pe){Ee[Pe]&&(Ee[Pe](),delete Ee[Pe])}je.displaySourcesWhichShouldBeDisplayed=function(){if(Ue)ot(et.current);else for(var Pe in et)ot(et[Pe])}})(ie),(function(ce){var Ee=ce.core.stageManager,je=ce.elements,Ue=je.smw,et=je.sourceAnimationWrappers,ot=ce.isl,Pe=ce.stageIndexes,Oe=ce.sws;Oe.a=function(){for(var qe in Pe)Ue[Pe[qe]].s()},Oe.b=function(qe){qe===void 0||Ee.i(qe)||(Ue[qe].h(),Ue[qe].n())},Oe.c=function(){for(var qe in Pe)Oe.d(Pe[qe])},Oe.d=function(qe){if(ot[qe]){var nt=et[qe];Ne(nt,k),Ne(nt,R),Ne(nt,q)}}})(ie),(function(ce){var Ee=ce.collections.sourceSizers,je=ce.core.windowResizeActioner,Ue=(ce.data,ce.elements.smw),et=ce.props.sourceMargin,ot=ce.stageIndexes,Pe=1-2*et;je.runActions=function(){innerWidth>992?ce.mw=Pe*innerWidth:ce.mw=innerWidth,ce.mh=Pe*innerHeight;for(var Oe=0;Oe<Ue.length;Oe++)Ue[Oe].d(),Ee[Oe]&&Ee[Oe].adjustSize();var qe=ot.previous,nt=ot.next;qe!==void 0&&Ue[qe].ne(),nt!==void 0&&Ue[nt].p()}})(ie)}function it(ie,ee,me){return(it=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})()?Reflect.construct.bind():function(pe,de,Te){var _e=[null];_e.push.apply(_e,de);var ve=new(Function.bind.apply(pe,_e));return Te&&Ae(ve,Te.prototype),ve}).apply(null,arguments)}function Ae(ie,ee){return(Ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(me,pe){return me.__proto__=pe,me})(ie,ee)}function Ke(ie,ee){(ee==null||ee>ie.length)&&(ee=ie.length);for(var me=0,pe=new Array(ee);me<ee;me++)pe[me]=ie[me];return pe}(typeof document>"u"?"undefined":S(document))==="object"&&((l=document.createElement("style")).className=c,l.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg{width:20px;height:20px}.fslightbox-svgp{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightboxsn{z-index:0;display:flex;align-items:center;margin:14px 0 0 11px;font-size:15px;color:#d7d7d7}.fslightboxsn span{display:inline;vertical-align:middle}.fslightboxsl{display:inline-block!important;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:white}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex}.fslightbox-toolbar-button{width:45px;height:100%}.fslightbox-fsx{width:24px;height:24px}.fslightboxb{border:0;background:rgba(35,35,35,.65);cursor:pointer}.fslightboxb:focus{outline:0}.fslightboxb:focus .fslightbox-svgp{fill:#fff}.fslightboxb:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}.fslightbox-slide-btn-container-next{padding-right:6px!important;padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}.fslightbox-slide-btn-container-next{padding-left:30px}.fslightbox-slide-btn{padding:10px}}.fslightbox-slide-btn-container:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn{padding:9px}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightboxv{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}@media (min-width:1200px){.fslightboxsn{margin:15px 0 0 12px;font-size:16px;display:block}.fslightboxsl{margin:0 6px 1px 6px;height:14px}.fslightbox-slide-btn{padding:11px}.fslightbox-svg{width:22px;height:22px}.fslightbox-fsx{width:26px;height:26px}.fslightbox-fso{width:22px;height:22px}.fslightboxl div{width:60px;height:60px;border-width:6px;border-color:#999 transparent transparent transparent;border-radius:50%}}@media (min-width:1600px){.fslightbox-nav{height:50px}.fslightboxsn{display:flex;margin:19px 0 0 16px;font-size:20px}.fslightboxsl{margin:0 7px 1px 7px;height:16px;width:2px;background:#d7d7d7}.fslightbox-toolbar-button{width:50px}.fslightbox-slide-btn{padding:12px}.fslightbox-svg{width:24px;height:24px}.fslightbox-fsx{width:28px;height:28px}.fslightbox-fso{width:24px;height:24px}}")),document.head.appendChild(l)),window.FsLightbox=function(){var ie=this;this.props={sources:[],customAttributes:[],customClasses:[],autoplays:[],types:[],videosPosters:[],exitFullscreenOnClose:1,sourceMargin:.05,slideDistance:.3},this.data={isFullscreenOpen:!1,scrollbarWidth:0},this.isl=[],this.sourcePointerProps={downScreenX:null,isPointering:!1,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.elements={a:[],container:null,slideSwipingHoverer:null,smw:[],sourceWrappersContainer:null,sources:[],sourceAnimationWrappers:[]},this.sn=function(){},this.resolve=function(ee){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return me.unshift(ie),it(ee,(function(pe){return(function(de){if(Array.isArray(de))return Ke(de)})(pe)||(function(de){if(typeof Symbol<"u"&&de[Symbol.iterator]!=null||de["@@iterator"]!=null)return Array.from(de)})(pe)||(function(de,Te){if(de){if(typeof de=="string")return Ke(de,Te);var _e=Object.prototype.toString.call(de).slice(8,-1);return _e==="Object"&&de.constructor&&(_e=de.constructor.name),_e==="Map"||_e==="Set"?Array.from(de):_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e)?Ke(de,Te):void 0}})(pe)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
820
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})(me))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(ee){ie.props[ee]&&ie.props[ee](ie)},(function(ee){var me=ee.ap,pe=(ee.componentsServices,ee.core),de=pe.globalEventsController,Te=pe.scrollbarRecompensor,_e=pe.sourceDisplayFacade,ve=pe.stageManager,Se=pe.windowResizeActioner,Le=ee.data,ce=ee.e,Ee=ee.elements,je=(ee.props,ee.stageIndexes),Ue=ee.sws,et=0;function ot(){var Pe,Oe,qe=ee.props,nt=qe.autoplay,P=qe.autoplays;et=!0,(function(O){var Z=O.props,ne=Z.autoplays;O.c=Z.sources.length;for(var ge=0;ge<O.c;ge++)ne[ge]==="false"&&(ne[ge]=0),ne[ge]===""&&(ne[ge]=1);O.dss=Z.disableSlideSwiping,O.loc=Z.loadOnlyCurrentSource})(ee),Le.scrollbarWidth=(function(){var O=document.createElement("div"),Z=O.style,ne=document.createElement("div");Z.visibility="hidden",Z.width="100px",Z.msOverflowStyle="scrollbar",Z.overflow="scroll",ne.style.width="100%",document.body.appendChild(O);var ge=O.offsetWidth;O.appendChild(ne);var fe=ne.offsetWidth;return document.body.removeChild(O),ge-fe})(),(nt||P.length>0)&&(ee.loc=1),tt(ee),ee.fs.i(),Ee.container=document.createElement("div"),Ee.container.className="".concat(u,"container ").concat(b," ").concat(k),Ee.container.setAttribute("tabindex","0"),(function(O){var Z=O.elements;Z.slideSwipingHoverer=document.createElement("div"),Z.slideSwipingHoverer.className="".concat(u,"slide-swiping-hoverer ").concat(b," ").concat(D)})(ee),he(ee),(function(O){var Z=O.core.sourcesPointerDown,ne=O.elements,ge=O.props.sources,fe=document.createElement("div");fe.className="".concat(D," ").concat(b),ne.container.appendChild(fe),fe.addEventListener("pointerdown",Z.listener),ne.sourceWrappersContainer=fe;for(var Re=0;Re<ge.length;Re++)te(O,Re)})(ee),ee.props.sources.length>1&&(Oe=(Pe=ee).core.slideChangeFacade,Ce(Pe,Oe.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),Ce(Pe,Oe.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),(function(O){for(var Z=O.props.sources,ne=O.resolve,ge=ne(B),fe=ne(K),Re=ne(Q,[ge,fe]),Be=0;Be<Z.length;Be++)if(typeof Z[Be]=="string"){var Ie=Re.getTypeSetByClientForIndex(Be);if(Ie)fe.runActionsForSourceTypeAndIndex(Ie,Be);else{var Fe=ge.getSourceTypeFromLocalStorageByUrl(Z[Be]);Fe?fe.runActionsForSourceTypeAndIndex(Fe,Be):Re.retrieveTypeWithXhrForIndex(Be)}}else fe.runActionsForSourceTypeAndIndex("custom",Be)})(ee),ce("onInit")}ee.open=function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Oe=je.previous,qe=je.current,nt=je.next;je.current=Pe,et||(function(P){var O=P.stageIndexes,Z=P.core.stageManager,ne=P.props.sources.length-1;Z.getPreviousSlideIndex=function(){return O.current===0?ne:O.current-1},Z.getNextSlideIndex=function(){return O.current===ne?0:O.current+1},Z.updateStageIndexes=ne===0?function(){}:ne===1?function(){O.current===0?(O.next=1,delete O.previous):(O.previous=0,delete O.next)}:function(){O.previous=Z.getPreviousSlideIndex(),O.next=Z.getNextSlideIndex()},Z.i=ne<=2?function(){return!0}:function(ge){var fe=O.current;if(fe===0&&ge===ne||fe===ne&&ge===0)return!0;var Re=fe-ge;return Re===-1||Re===0||Re===1}})(ee),ve.updateStageIndexes(),et?(Ue.c(),Ue.a(),Ue.b(Oe),Ue.b(qe),Ue.b(nt),ce("onShow")):ot(),_e.displaySourcesWhichShouldBeDisplayed(),ee.sn(Pe+1),document.body.appendChild(Ee.container),Ee.container.focus(),document.documentElement.classList.add(L),Te.addRecompense(),de.attachListeners(),Se.runActions(),Ee.smw[Pe].n(),me.p(Pe),ce("onOpen")}})(this),this.close=function(){return ie.core.lightboxCloser.closeLightbox()}}}])}},e={};function t(n){var s=e[n];if(s!==void 0)return s.exports;var a=e[n]={exports:{}};return r[n](a,a.exports,t),a.exports}t.n=n=>{var s=n&&n.__esModule?()=>n.default:()=>n;return t.d(s,{a:s}),s},t.d=(n,s)=>{for(var a in s)t.o(s,a)&&!t.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:s[a]})},t.o=(n,s)=>Object.prototype.hasOwnProperty.call(n,s),t.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};(()=>{t.r(i),t.d(i,{default:()=>l});const n=yt;var s=t.n(n);function a(u){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},a(u)}var o=0;function l(u){for(var c=(0,n.useRef)(),g=[],b=(0,n.useRef)(),T=(0,n.useRef)(u.toggler),L=0;L<u.sources.length;L++)g[L]=(0,n.useRef)();function _(){var D=u.sourceIndex;D===void 0&&(D=u.slide),D?D--:D=0,b.current.open(D)}return s().useInsertionEffect&&s().useInsertionEffect((function(){o||(t(913),o=1)}),[]),(0,n.useEffect)((function(D){if(o||(t(913),o=1),!b.current){var N=new window.FsLightbox;return Object.assign(N.props,u),N.props.sources=u.sources.map((function(V,R){return typeof V=="string"?V:(c.current.removeChild(g[R].current),g[R].current)})),N.props.onSourceLoad=function(V,R,q){typeof u.sources[q]!="string"&&(R.firstChild.style.width="100%",R.firstChild.style.height="100%"),u.onSourceLoad&&u.onSourceLoad(V,R,q)},N.props.maxYoutubeDimensions=u.maxYoutubeVideoDimensions,b.current=N,void(u.openOnMount&&_())}u.toggler!=T.current&&(T.current=u.toggler,_())}),[u.toggler]),!b.current&&s().createElement("div",{ref:c,style:{display:"none"}},u.sources.map((function(D,N){return typeof D!="string"&&s().createElement("div",{ref:g[N],className:"fslightboxs",key:N},D)})))}(typeof window>"u"?"undefined":a(window))==="object"&&(t(913),o=1)})(),FH.exports=i})()),FH.exports}var l0t=o0t();const u0t=a6(l0t),c0t=({title:r,cards:e=[]})=>{const t=yt.useRef(null),[i,n]=yt.useState({toggler:!1,slide:1}),s=l=>{n({toggler:!i.toggler,slide:l+1})},a={dots:!1,arrows:!1,infinite:!1,speed:500,touchMove:!0,variableWidth:!0,slidesToShow:1,slidesToScroll:1},o=typeof document<"u"?document.body:null;return v.jsx("div",{className:`${Vf.checkOutAction} carouselBlock`,children:v.jsx(wi,{children:v.jsxs("div",{className:Vf.carouselWrapper,children:[v.jsx(di,{children:v.jsxs("div",{className:Vf.carouselTitle,children:[v.jsx("h3",{children:r}),v.jsxs("div",{className:Vf.actions,children:[v.jsx("button",{className:"custom-arrow prev",onClick:()=>t.current?.slickPrev(),"aria-label":"Previous",children:v.jsx(i7e,{type:"thin"})}),v.jsx("button",{className:"custom-arrow next",onClick:()=>t.current?.slickNext(),"aria-label":"Next",children:v.jsx(r7e,{type:"thin"})})]})]})}),v.jsx(di,{children:v.jsx(rz,{ref:t,...a,children:e.map((l,u)=>v.jsx("div",{className:Vf.imageSlide,children:v.jsx("img",{src:l.image,alt:`Image ${u+1}`,className:Vf.image,onClick:()=>s(u),style:{cursor:"pointer"}})},u))})}),o&&Owe.createPortal(v.jsx(u0t,{toggler:i.toggler,sources:e.map(l=>l.image).filter(l=>!!l),slide:i.slide}),o)]})})})},d0t="_testimonyCard_ugej3_1",h0t="_testimonyCardContainer_ugej3_1",p0t="_testimonySlide_ugej3_4",f0t="_testimonyCardLeft_ugej3_9",g0t="_testimonyCardRight_ugej3_26",m0t="_testimonyContent_ugej3_32",C0t="_quoteIcon_ugej3_45",y0t="_innerContents_ugej3_56",_0t="_author_ugej3_82",v0t="_slickDots_ugej3_85",b0t="_svg_ugej3_106",A0={testimonyCard:d0t,testimonyCardContainer:h0t,testimonySlide:p0t,testimonyCardLeft:f0t,testimonyCardRight:g0t,testimonyContent:m0t,quoteIcon:C0t,innerContents:y0t,author:_0t,slickDots:v0t,svg:b0t},T0t=r=>{const{testimonies:e,pillar:t}=r,i=yt.useRef(null),[n,s]=yt.useState(0),a={dots:!1,infinite:!0,speed:900,slidesToShow:1,slidesToScroll:1,autoplay:!1,autoplaySpeed:5e3,arrows:!1,fade:!0,swipe:!0,touchMove:!0,waitForAnimate:!1,beforeChange:(o,l)=>{s(l)}};return v.jsx("div",{className:`${A0.testimonyCard} ${A0.testimonyCardLarge} ${t?`${t}`:""} testimonialCards`,children:v.jsx(wi,{children:v.jsx(di,{children:v.jsx("div",{className:A0.testimonyCardContainer,children:v.jsx(rz,{ref:i,...a,children:e.map((o,l)=>v.jsx("div",{children:v.jsxs("div",{className:A0.testimonySlide,children:[v.jsx("div",{className:A0.testimonyCardLeft,children:o.image&&v.jsx("img",{src:o.image,alt:`${o.author} testimonial`})}),v.jsx("div",{className:A0.testimonyCardRight,children:v.jsxs("div",{className:A0.testimonyContent,children:[v.jsx("div",{className:A0.quoteIcon,children:v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"39",viewBox:"0 0 56 39",fill:"none",children:[v.jsx("path",{d:"M23.1134 27.0562C23.1134 32.4847 18.9331 36 13.4798 36C8.02648 36 4.75277 33.6194 3.3652 27.0562C1.97764 20.493 7.78599 17.227 13.2393 17.227C18.6926 17.227 23.1134 21.6276 23.1134 27.0562Z",fill:"currentColor"}),v.jsx("path",{d:"M53.0015 27.0558C53.0015 32.4844 48.8212 35.9997 43.3679 35.9997C37.9145 35.9997 34.6408 33.619 33.2533 27.0558C31.8657 20.4926 37.674 17.2267 43.1274 17.2267C48.5807 17.2267 53.0015 21.6273 53.0015 27.0558Z",fill:"currentColor"}),v.jsx("path",{d:"M3.3652 27.0562C4.75277 33.6194 8.02648 36 13.4798 36C18.9331 36 23.1134 32.4847 23.1134 27.0562C23.1134 21.6276 18.6926 17.227 13.2393 17.227C7.78599 17.227 1.97764 20.493 3.3652 27.0562ZM3.3652 27.0562C1.97764 20.493 4.78431 13.7613 7.99019 9.54638C11.1961 5.33146 17.2399 2.24873 21.5318 3.16115M33.2533 27.0558C34.6408 33.619 37.9145 35.9997 43.3679 35.9997C48.8212 35.9997 53.0015 32.4844 53.0015 27.0558C53.0015 21.6273 48.5807 17.2267 43.1274 17.2267C37.674 17.2267 31.8657 20.4926 33.2533 27.0558ZM33.2533 27.0558C31.8657 20.4926 34.6724 13.761 37.8782 9.54606C41.0841 5.33115 47.1279 2.24841 51.4199 3.16083",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round"})]})}),v.jsxs("div",{className:A0.innerContents,children:[v.jsx("h6",{children:o.testimony}),v.jsxs("p",{className:A0.author,children:["— ",o.author]}),v.jsx("ul",{className:A0.slickDots,children:e.map((u,c)=>v.jsxs("li",{className:n===c?A0.active:"",children:[v.jsx("button",{onClick:()=>i.current?.slickGoTo(c)}),n===c&&v.jsx("div",{className:A0.svg,children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 20 20",fill:"none",children:v.jsx("circle",{cx:"10",cy:"10",r:"8",fill:"currentColor"})})})]},c))})]})]})})]})},l))})})})})})},w0t="_pathwayTitle_15h2a_1",S0t="_pathwayDescription_15h2a_11",x0t="_action_15h2a_24",E0t="_pathwayFilters_15h2a_29",k0t="_active_15h2a_45",L0t="_pathwayCard_15h2a_60",M0t="_pathwayFilterDesktop_15h2a_67",I0t="_pathwayFilterMobile_15h2a_71",P0t="_pathwayCardsWrap_15h2a_109",O0={pathwayTitle:w0t,pathwayDescription:S0t,action:x0t,pathwayFilters:E0t,active:k0t,pathwayCard:L0t,pathwayFilterDesktop:M0t,pathwayFilterMobile:I0t,pathwayCardsWrap:P0t},zve=r=>{const{title:e="",description:t="",cards:i=[],action:n,filters:s=[],onFilterChange:a}=r,o=u=>{a&&a(u)},l=[O0.pathway,"pathway"];return v.jsx("div",{className:"listBlock",children:v.jsx(wi,{children:v.jsxs("div",{className:Ry(l),children:[v.jsxs(di,{children:[e&&v.jsx("div",{className:O0.pathwayTitle,children:v.jsx("h3",{children:e})}),(t||n)&&v.jsxs("div",{className:O0.pathwayDescription,children:[t&&v.jsx("div",{className:"typography",children:t}),n&&v.jsx("div",{className:O0.action,children:n})]}),s.length>0&&v.jsx("div",{className:`${O0.pathwayFilters} ${O0.pathwayFilterDesktop}`,children:v.jsxs("ul",{children:[v.jsx("li",{className:s.some(u=>u.active)?"":O0.active,onClick:()=>o(null),children:v.jsx("span",{children:"All"})},"all"),s.map(u=>v.jsx("li",{className:u.active?O0.active:"",onClick:()=>o(u.value),children:v.jsx("span",{children:u.label})},u.value))]})}),s.length>0&&v.jsxs("div",{className:`${O0.pathwayFilters} ${O0.pathwayFilterMobile}`,children:[v.jsxs("select",{onChange:u=>o(u.target.value?Number(u.target.value):null),value:s.find(u=>u.active)?.value||"",children:[v.jsx("option",{value:"",children:"All"}),s.map(u=>v.jsx("option",{value:u.value,children:u.label},u.value))]}),v.jsx(J$,{})]})]}),v.jsx(di,{children:v.jsx("div",{className:O0.pathwayCards,children:v.jsx("div",{className:O0.pathwayCardsWrap,children:i.map((u,c)=>v.jsx("div",{className:O0.pathwayCard,children:v.jsx(di,{children:v.jsx(DP,{...u,variation:"short"})})},c))})})})]})})})},D0t="_listingDetail_2dsdp_1",A0t="_mainContent_2dsdp_14",O0t="_summary_2dsdp_19",R0t="_sectioncontent_2dsdp_33",N0t="_facilitiesList_2dsdp_105",j0t="_facilityItem_2dsdp_119",H0t="_sidebar_2dsdp_146",B0t="_sidebarImg_2dsdp_152",V0t="_infoItem_2dsdp_167",F0t="_sidebarItems_2dsdp_197",U0t="_infoLabel_2dsdp_201",q0t="_infoValue_2dsdp_219",$0t="_infoValueLink_2dsdp_237",z0t="_button_2dsdp_257",W2={listingDetail:D0t,mainContent:A0t,summary:O0t,sectioncontent:R0t,facilitiesList:N0t,facilityItem:j0t,sidebar:H0t,sidebarImg:B0t,infoItem:V0t,sidebarItems:F0t,infoLabel:U0t,infoValue:q0t,infoValueLink:$0t,button:z0t},Z0t=({content:r,facilities:e,callToActions:t=[],callToActionButton:i,logo:n,summaryTitle:s})=>{const a=o=>typeof o=="string"?v.jsx("span",{dangerouslySetInnerHTML:{__html:o}}):o;return v.jsx(wi,{children:v.jsx(di,{children:v.jsxs("div",{className:`${W2.listingDetail} listingDetailBlock`,children:[v.jsxs("div",{className:W2.mainContent,children:[v.jsx("div",{className:W2.summary,children:v.jsx("h2",{children:s})}),v.jsx("div",{className:"typography",children:r}),e.length>0&&v.jsx("h3",{className:W2.sectioncontent,children:"Facilities"}),v.jsx("ul",{className:W2.facilitiesList,children:e.map((o,l)=>v.jsxs("li",{className:W2.facilityItem,children:[v.jsx(Sue,{type:"fill"})," ",o]},l))})]}),v.jsxs("div",{className:W2.sidebar,children:[n&&v.jsx("div",{className:W2.sidebarImg,children:v.jsx("img",{src:n,alt:"sidebar image"})}),t.map((o,l)=>v.jsxs("div",{className:W2.infoItem,children:[a(o.icon),v.jsxs("div",{className:o.label==="Distance from Christchurch Airport"?W2.sidebarItems:void 0,children:[v.jsx("div",{className:W2.infoLabel,children:o.label}),o.url?v.jsx("a",{href:o.url,className:o.valueClassName==="link"?W2.infoValueLink:W2.infoValue,target:o.target,rel:"noopener noreferrer",children:o.value}):v.jsx("div",{className:o.valueClassName==="link"?W2.infoValueLink:W2.infoValue,children:o.value})]})]},l)),i&&i.button&&v.jsx("div",{className:W2.button,children:i.button})]})]})})})},W0t="_contentBlock_17b5i_1",G0t="_contentBlockInner_17b5i_5",X0t="_heroSvg_17b5i_8",Y0t="_contentBlockWrapper_17b5i_34",ok={contentBlock:W0t,contentBlockInner:G0t,"contentBlock--pt-none":"_contentBlock--pt-none_17b5i_8",heroSvg:X0t,"contentBlock--pt-xsm":"_contentBlock--pt-xsm_17b5i_11","contentBlock--pt-sm":"_contentBlock--pt-sm_17b5i_14","contentBlock--pt-md":"_contentBlock--pt-md_17b5i_17","contentBlock--pt-lg":"_contentBlock--pt-lg_17b5i_20",contentBlockWrapper:Y0t},Zve=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"741",height:"340",viewBox:"0 0 741 340",fill:"none",children:v.jsxs("g",{opacity:"0.3",children:[v.jsx("path",{opacity:"0.5",d:"M0 113.208C68.1991 113.208 123.5 163.901 123.5 226.417H0V113.208Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.25",d:"M247 113.208C178.801 113.208 123.5 163.901 123.5 226.417H247V113.208Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.5",d:"M741 226.417C672.801 226.417 617.5 175.724 617.5 113.208H741V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.75",d:"M123.5 226.417C191.699 226.417 247 277.109 247 339.625H123.5V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.5",d:"M247 339.625C315.199 339.625 370.5 288.933 370.5 226.417H247V339.625Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.25",d:"M494 339.625C425.801 339.625 370.5 288.932 370.5 226.417H494V339.625Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.75",d:"M617.5 226.417C549.301 226.417 494 277.109 494 339.625H617.5V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.25",d:"M494 -7.62939e-05C562.199 -7.62939e-05 617.5 50.6924 617.5 113.208H494V-7.62939e-05Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.5",d:"M370.5 226.417C438.699 226.417 494 175.724 494 113.208H370.5V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.75",d:"M247 113.208C315.199 113.208 370.5 62.5158 370.5 0H247V113.208Z",fill:"currentColor"})]})}),K0t=r=>{const{children:e,pillar:t,spacingTop:i="none"}=r,n=Ry(ok.contentBlock,`${t}`,{[ok[`contentBlock--pt-${i}`]]:i});return v.jsxs("div",{className:n,children:[v.jsx(wi,{type:"contentBlock",children:v.jsx(di,{children:v.jsx("div",{className:`typography contentBlock ${ok.contentBlockWrapper}`,children:e})})}),v.jsx("div",{className:ok.heroSvg,children:v.jsx(Zve,{})})]})},Q0t=({brandPiller:r})=>{if(r==="visit")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M58.2132 5.43071e-08C26.0583 2.43097e-08 -2.4212e-08 25.9535 -5.40888e-08 57.9793L58.2132 57.9793L58.2132 5.43071e-08Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2132 61.2518C26.0583 61.2518 2.40646e-07 87.2053 2.10769e-07 119.231L58.2132 119.231L58.2132 61.2518Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 0.0189383C93.8249 0.0189383 119.883 25.9725 119.883 57.9982L61.6699 57.9982L61.6699 0.0189383Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 61.2707C93.8249 61.2707 119.883 87.2242 119.883 119.25L61.6699 119.25L61.6699 61.2707Z",fill:"currentColor"})]});if(r==="taste")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.678 119.25C93.8369 119.25 119.898 93.2965 119.898 61.2707L61.678 61.2707L61.678 119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M61.678 57.9982C93.8369 57.9982 119.898 32.0447 119.898 0.0189667L61.678 0.0189616L61.678 57.9982Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 119.231C26.0618 119.231 0.000330335 93.2775 0.000333134 61.2518L58.2208 61.2518L58.2208 119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 57.9793C26.0618 57.9793 0.000335689 32.0258 0.000338489 4.77696e-06L58.2208 9.86676e-06L58.2208 57.9793Z",fill:"currentColor"})]});if(r==="business")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M119.671 61.2805C87.582 61.2805 61.5616 87.2381 61.5616 119.25H119.671V61.2805Z",fill:"currentColor"}),v.jsx("path",{d:"M119.671 0.0378473C87.582 0.0378473 61.5616 25.9955 61.5616 58.0074H119.671V0.0378473Z",fill:"currentColor"}),v.jsx("path",{d:"M0 119.212C0 87.2003 26.0205 61.2426 58.1098 61.2426V119.212H0Z",fill:"currentColor"}),v.jsx("path",{d:"M0 57.9695C0 25.9576 26.0205 0 58.1098 0V57.9695H0Z",fill:"currentColor"})]});if(r==="live")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.3528 61.2702C61.3528 93.2858 87.28 119.25 119.25 119.25V61.2702H61.3528Z",fill:"currentColor"}),v.jsx("path",{d:"M119.25 57.9987C119.25 25.9831 93.3228 0.018911 61.3528 0.018911V57.9987H119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M57.8971 119.231C25.9272 119.231 0 93.2669 0 61.2513H57.8971V119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M0.0191358 0C31.9891 0 57.9163 25.9642 57.9163 57.9798H0.0191358V0Z",fill:"currentColor"})]});if(r==="participate")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M0 58.01C32.1003 58.01 58.1332 32.0323 58.1332 0H0V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M0 61.24C32.1003 61.24 58.1332 87.2177 58.1332 119.25H0V61.24Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 58.01C87.6937 58.01 61.6608 32.0323 61.6608 0H119.794V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 61.24C87.6937 61.24 61.6608 87.2177 61.6608 119.25H119.794V61.24Z",fill:"currentColor"})]})},J0t=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"543",height:"490",viewBox:"0 0 543 490",fill:"none",children:v.jsxs("g",{opacity:"0.05",children:[v.jsx("path",{d:"M0 251.765C145.603 251.765 263.669 358.442 263.669 490H0V251.765Z",fill:"currentColor"}),v.jsx("path",{d:"M0 0.0778264C145.603 0.0778264 263.669 106.755 263.669 238.313H0V0.0778264Z",fill:"currentColor"}),v.jsx("path",{d:"M543 489.922C543 358.364 424.934 251.687 279.331 251.687V489.922H543Z",fill:"currentColor"}),v.jsx("path",{d:"M543 238.235C543 106.677 424.934 0 279.331 0V238.235H543Z",fill:"currentColor"})]})}),e5t="_promoBannerBlock_330zc_1",t5t="_promoBannerBlockContainer_330zc_4",r5t="_promoBannerTop_330zc_4",i5t="_promoBannerTopLeft_330zc_4",n5t="_promoBannerTopRight_330zc_12",s5t="_promoBannerBgDesignContainer_330zc_15",a5t="_promoBannerBottom_330zc_18",o5t="_promoBannerBottomLeft_330zc_22",l5t="_promoBannerBrandPiller_330zc_27",u5t="_brandPillerLogo_330zc_34",c5t="_promoBannerTitleContainer_330zc_44",d5t="_promoBannerBottomRight_330zc_66",h5t="_promoBannerVerticalLine_330zc_108",wl={promoBannerBlock:e5t,promoBannerBlockContainer:t5t,promoBannerTop:r5t,promoBannerTopLeft:i5t,promoBannerTopRight:n5t,promoBannerBgDesignContainer:s5t,promoBannerBottom:a5t,promoBannerBottomLeft:o5t,promoBannerBrandPiller:l5t,brandPillerLogo:u5t,promoBannerTitleContainer:c5t,promoBannerBottomRight:d5t,promoBannerVerticalLine:h5t},p5t=r=>{const{introTitle:e,introText:t,brandPiller:i,pillerTitle:n="visit",title:s,boldTitle:a,content:o,image:l,action:u,extraClass:c}=r;return v.jsx("div",{className:`${wl.promoBannerBlock} promoBannerBlock ${c}`,children:v.jsx(wi,{border:!1,children:v.jsx("div",{className:`${wl.promoBlockWrapper} ${c}`,children:v.jsxs("div",{className:wl.promoBannerBlockContainer,children:[v.jsx(di,{children:v.jsxs("div",{className:`${wl.promoBannerTop}`,children:[v.jsx("div",{className:wl.promoBannerTopLeft,children:v.jsx("h4",{children:e})}),v.jsx("div",{className:wl.promoBannerVerticalLine}),v.jsx("div",{className:wl.promoBannerTopRight,children:v.jsx("div",{className:"typography",children:t})}),v.jsx("div",{className:wl.promoBannerBgDesignContainer,children:v.jsx(J0t,{})})]})}),v.jsx(di,{children:v.jsxs("div",{className:wl.promoBannerBottom,children:[v.jsxs("div",{className:wl.promoBannerBottomLeft,children:[v.jsxs("div",{className:wl.promoBannerBrandPiller,children:[v.jsx("div",{className:wl.brandPillerLogo,children:v.jsx(Q0t,{brandPiller:i})}),v.jsx("p",{children:n})]}),v.jsxs("div",{className:wl.promoBannerTitleContainer,children:[v.jsx("h1",{children:s}),v.jsx("h2",{children:a})]}),v.jsx("div",{className:"typography",children:o}),u]}),v.jsx("div",{className:wl.promoBannerBottomRight,children:v.jsx("img",{src:l,alt:s})})]})})]})})})})},f5t="_contactsBlock_xzvuj_1",g5t="_contactsBlockHeader_xzvuj_1",m5t="_contactsCardsWrapper_xzvuj_8",C5t="_contactCard_xzvuj_13",y5t="_contactCardWrapper_xzvuj_17",_5t="_contactContentWrapper_xzvuj_32",v5t="_contactCardHeader_xzvuj_32",b5t="_cardImg_xzvuj_38",T5t="_contactMiddleContent_xzvuj_80",w5t="_contactLink_xzvuj_98",W9={contactsBlock:f5t,contactsBlockHeader:g5t,contactsCardsWrapper:m5t,contactCard:C5t,contactCardWrapper:y5t,contactContentWrapper:_5t,contactCardHeader:v5t,cardImg:b5t,contactMiddleContent:T5t,contactLink:w5t},S5t=r=>{const{contactBlockTitle:e,children:t}=r;return v.jsx("div",{className:W9.contactsBlock,children:v.jsxs(wi,{children:[v.jsx(di,{children:e&&v.jsx("h1",{className:W9.contactsBlockHeader,children:e})}),v.jsx(di,{children:t&&v.jsx("div",{className:W9.contactsCardsWrapper,children:t})})]})})},x5t=r=>{const{image:e,name:t,position:i,email:n,mobile:s,linkedInUrl:a}=r;return v.jsx("div",{className:W9.contactCard,children:v.jsxs("div",{className:W9.contactCardWrapper,children:[v.jsx("div",{className:W9.cardImg,children:e&&v.jsx("img",{src:e,alt:`${t}-image`})}),v.jsxs("div",{className:W9.contactContentWrapper,children:[v.jsxs("div",{className:W9.contactCardHeader,children:[t&&v.jsx("h1",{children:t}),i&&v.jsx("h2",{children:i})]}),v.jsxs("div",{className:W9.contactMiddleContent,children:[n&&v.jsx("a",{href:`mailto:${n}`,children:n}),s&&v.jsx("a",{href:`tel:${s}`,children:s})]}),v.jsx("div",{className:W9.contactLink,children:a&&v.jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",children:[v.jsx("p",{children:"Connect on LinkedIn"}),v.jsx(cC,{type:"regular"})]})})]})]})})},E5t="_imageContent_170dx_1",k5t="_pillarlogo_170dx_4",L5t="_pillarlogoFull_170dx_9",M5t="_left_170dx_24",I5t="_imageContentWrapper_170dx_24",P5t="_right_170dx_27",D5t="_imageWrapper_170dx_34",A5t="_imageHolder_170dx_38",O5t="_content_170dx_58",R5t="_contentWrappper_170dx_63",N5t="_title_170dx_66",j5t="_desc_170dx_75",H5t="_action_170dx_106",B5t="_maskedImageContent_170dx_119",V5t="_imageContentFull_170dx_138",F5t="_svgBackgroundPillar_170dx_141",U5t="_contentWrapper_170dx_207",q5t="_list_170dx_210",$5t="_listWrapper_170dx_216",z5t="_imageContentFluid_170dx_227",Z5t="_clipPath_170dx_239",xr={imageContent:E5t,pillarlogo:k5t,pillarlogoFull:L5t,left:M5t,imageContentWrapper:I5t,right:P5t,imageWrapper:D5t,imageHolder:A5t,content:O5t,contentWrappper:R5t,title:N5t,desc:j5t,action:H5t,maskedImageContent:B5t,imageContentFull:V5t,svgBackgroundPillar:F5t,"top-left":"_top-left_170dx_158","top-right":"_top-right_170dx_161","bottom-right":"_bottom-right_170dx_164","bottom-left":"_bottom-left_170dx_167",contentWrapper:U5t,list:q5t,listWrapper:$5t,imageContentFluid:z5t,clipPath:Z5t},W5t=({pillar:r="visit",single:e,setOfFour:t,width:i=568,height:n=565})=>{const s=yt.useId(),a=`clip-${s}`,o=[`clip-1-${s}`,`clip-2-${s}`,`clip-3-${s}`,`clip-4-${s}`],l=[{x:0,y:0,width:275.811,height:274.703},{x:0,y:290.208,width:275.811,height:274.702},{x:292.189,y:0,width:275.811,height:274.703},{x:292.189,y:290.297,width:275.811,height:274.703}];if(r==="participate")return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M0 274.705C152.008 274.705 275.285 151.688 275.285 0H0V274.705Z"}),v.jsx("path",{d:"M0 290C152.008 290 275.285 413.017 275.285 564.705H0V290Z"}),v.jsx("path",{d:"M567.285 274.705C415.277 274.705 292.001 151.688 292.001 0H567.285V274.705Z"}),v.jsx("path",{d:"M567.285 290C415.277 290 292.001 413.017 292.001 564.705H567.285V290Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M0 274.705C152.008 274.705 275.285 151.688 275.285 0H0V274.705Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M0 290C152.008 290 275.285 413.017 275.285 564.705H0V290Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M567.285 274.705C415.277 274.705 292.001 151.688 292.001 0H567.285V274.705Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M567.285 290C415.277 290 292.001 413.017 292.001 564.705H567.285V290Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]});if(r==="live")return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M0.0906646 0C151.563 0 274.404 123.017 274.404 274.705H0.0906646V0Z"}),v.jsx("path",{d:"M274.314 564.91C122.842 564.91 0 441.893 0 290.205H274.314V564.91Z"}),v.jsx("path",{d:"M565 274.795C565 123.107 442.158 0.0895993 290.686 0.0895993V274.795H565Z"}),v.jsx("path",{d:"M290.686 290.295C290.686 441.983 413.528 565 565 565V290.295H290.686Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M0.0906646 0C151.563 0 274.404 123.017 274.404 274.705H0.0906646V0Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M274.314 564.91C122.842 564.91 0 441.893 0 290.205H274.314V564.91Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M565 274.795C565 123.107 442.158 0.0895993 290.686 0.0895993V274.795H565Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M290.686 290.295C290.686 441.983 413.528 565 565 565V290.295H290.686Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]});if(r==="business")return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M0 275.143C0 123.204 123.502 0 275.808 0V275.143H0Z"}),v.jsx("path",{d:"M0 565.82C0 413.881 123.502 290.678 275.808 290.678V565.82H0Z"}),v.jsx("path",{d:"M568 0.179636C415.693 0.179636 292.192 123.383 292.192 275.322H568V0.179636Z"}),v.jsx("path",{d:"M568 290.857C415.693 290.857 292.192 414.061 292.192 566H568V290.857Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M0 275.143C0 123.204 123.502 0 275.808 0V275.143H0Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M0 565.82C0 413.881 123.502 290.678 275.808 290.678V565.82H0Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M568 0.179636C415.693 0.179636 292.192 123.383 292.192 275.322H568V0.179636Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M568 290.857C415.693 290.857 292.192 414.061 292.192 566H568V290.857Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]});if(r==="taste"){const u=[{x:292.189,y:290.297,width:275.811,height:274.703},{x:292.189,y:0,width:275.811,height:274.792},{x:0,y:290.208,width:275.811,height:274.702},{x:0,y:0,width:275.811,height:274.703}];return v.jsxs("svg",{width:i,height:n,viewBox:"0 0 568 565",xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M292.189 565C444.537 565 568 442.034 568 290.297L292.189 290.297L292.189 565Z"}),v.jsx("path",{d:"M292.189 274.792C444.537 274.792 568 151.826 568 0.0897827L292.189 0.0897825L292.189 274.792Z"}),v.jsx("path",{d:"M275.811 564.91C123.463 564.91 0 441.944 0 290.208L275.811 290.208L275.811 564.91Z"}),v.jsx("path",{d:"M275.811 274.703C123.463 274.703 0 151.736 0 0L275.811 0L275.811 274.703Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M292.189 565C444.537 565 568 442.034 568 290.297L292.189 290.297L292.189 565Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M292.189 274.792C444.537 274.792 568 151.826 568 0.0897827L292.189 0.0897825L292.189 274.792Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M275.811 564.91C123.463 564.91 0 441.944 0 290.208L275.811 290.208L275.811 564.91Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M275.811 274.703C123.463 274.703 0 151.736 0 0L275.811 0L275.811 274.703Z"})})]}),e&&v.jsx("image",{href:e,x:0,y:0,width:568,height:565,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((c,g)=>{const b=u[g];return v.jsx("image",{href:c,x:b.x,y:b.y,width:b.width,height:b.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[g]})`},g)})]})}return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M275.811 0C123.463 0 0 122.966 0 274.703H275.811V0Z"}),v.jsx("path",{d:"M275.811 290.208C123.463 290.208 0 413.174 0 564.91H275.811V290.208Z"}),v.jsx("path",{d:"M292.189 0.0897284C444.537 0.0897286 568 123.056 568 274.792H292.189V0.0897284Z"}),v.jsx("path",{d:"M292.189 290.297C444.537 290.297 568 413.264 568 565H292.189V290.297Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M275.811 0C123.463 0 0 122.966 0 274.703H275.811V0Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M275.811 290.208C123.463 290.208 0 413.174 0 564.91H275.811V290.208Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M292.189 0.0897284C444.537 0.0897286 568 123.056 568 274.792H292.189V0.0897284Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M292.189 290.297C444.537 290.297 568 413.264 568 565H292.189V290.297Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]})},aY=({brandPillar:r="visit",brandFullLogo:e})=>r==="taste"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"193",height:"67",viewBox:"0 0 193 67",fill:"none",children:[v.jsx("path",{d:"M79.6929 2.45439H70.1681V-0.158203H92.3385V2.45439H82.7753V25.7832H79.6929V2.45439Z",fill:"currentColor"}),v.jsx("path",{d:"M101.117 22.6947C100.332 24.8411 97.8524 26.1814 94.8466 26.1814C91.8407 26.1814 89.0072 24.3264 89.0072 20.9465C89.0072 17.5666 91.5823 15.8961 95.239 15.4591L101.04 14.6918V13.6332C101.04 10.7292 99.2883 9.48606 96.809 9.48606C94.3296 9.48606 92.9033 10.7584 92.6927 12.8659H89.8304C90.1846 9.15584 93.0565 7.04829 96.8855 7.04829C101.26 7.04829 103.979 9.15584 103.979 13.5555V21.9469C103.979 23.2872 104.056 24.5595 104.41 25.7638H101.442C101.222 24.744 101.117 23.5494 101.117 22.6753V22.6947ZM101.04 16.9548L96.1293 17.4987C93.8701 17.8289 92.013 18.4116 92.013 20.8785C92.013 22.5879 93.2 23.899 95.4496 23.899C98.2449 23.899 101.04 22.1217 101.04 18.5961V16.9548Z",fill:"currentColor"}),v.jsx("path",{d:"M109.167 20.3638C109.388 22.8695 111.675 23.9282 114.107 23.9282C116.538 23.9282 118.367 22.7627 118.367 20.8008C118.367 19.4605 117.505 18.5864 115.217 18.1494L112.03 17.4987C109.129 16.9548 107.013 15.7505 107.013 12.5551C107.013 9.3598 109.732 7.06771 113.714 7.06771C117.697 7.06771 120.415 8.8839 120.769 12.3415H118.013C117.802 10.4864 116.184 9.39865 113.714 9.39865C111.245 9.39865 109.77 10.5933 109.77 12.3803C109.77 13.944 110.843 14.5947 112.92 14.9929L116.5 15.6825C119.439 16.2652 121.152 17.722 121.152 20.6648C121.152 23.8602 118.175 26.23 114.136 26.23C109.837 26.23 106.611 24.3069 106.286 20.3832H109.148L109.167 20.3638Z",fill:"currentColor"}),v.jsx("path",{d:"M133.099 25.5695C131.778 25.9677 130.735 26.0746 129.95 26.0746C126.657 26.0746 124.972 24.4721 124.972 21.0922V9.78714H122.32V7.49505H124.972V2.84288H127.911V7.49505H132.64V9.78714H127.872V20.9465C127.872 22.8695 128.839 23.53 130.486 23.53C131.165 23.53 131.95 23.462 133.099 23.0929V25.5695Z",fill:"currentColor"}),v.jsx("path",{d:"M142.729 26.2203C137.646 26.2203 134.056 22.6267 134.056 16.7314C134.056 10.8361 137.742 7.06771 142.547 7.06771C147.889 7.06771 150.282 11.3897 150.282 16.0807V17.2753H136.957C137.101 21.4904 139.283 23.8213 142.729 23.8213C145.161 23.8213 146.635 22.617 147.382 20.4026H150.177C149.354 24.2875 146.233 26.2203 142.729 26.2203ZM137.072 15.0997H147.391C147.315 11.9335 145.783 9.50548 142.557 9.50548C139.723 9.50548 137.579 11.3605 137.072 15.0997Z",fill:"currentColor"}),v.jsx("path",{d:"M75.5384 51.9868C75.8256 54.9685 78.4772 55.9106 81.1671 55.9106C83.6752 55.9106 85.7908 54.8908 85.7908 52.7444C85.7908 51.1127 84.7473 50.3455 81.9617 49.8696L77.4433 49.0343C73.4324 48.3059 70.35 46.3052 70.35 41.6919C70.35 36.7872 74.7247 33.5919 80.5641 33.5919C87.1597 33.5919 90.9122 36.5347 91.4195 41.5559H85.5802C85.36 39.3026 83.4263 38.0983 80.6406 38.0983C78.0943 38.0983 76.4095 39.3706 76.4095 41.2257C76.4095 43.0807 77.6635 43.5178 80.095 43.984L84.9675 44.926C89.4093 45.7224 91.879 48.0534 91.879 52.3073C91.879 57.3189 87.2937 60.4074 81.3873 60.4074C74.83 60.4074 70.1011 57.6782 69.565 51.9771H75.5479L75.5384 51.9868Z",fill:"currentColor"}),v.jsx("path",{d:"M102.476 60.4171C96.9908 60.4171 92.7693 56.7847 92.7693 50.6757C92.7693 44.5667 97.0004 40.9343 102.409 40.9343C108.43 40.9343 111.398 45.334 111.398 50.3843V52.016H98.5416C98.8671 54.5994 100.121 56.1243 102.486 56.1243C104.209 56.1243 105.348 55.3279 105.817 53.9099H111.331C110.546 57.9404 107.215 60.4171 102.486 60.4171H102.476ZM98.6374 48.7915H105.836C105.836 46.8976 104.687 45.198 102.399 45.198C100.322 45.198 99.0681 46.5091 98.6374 48.7915Z",fill:"currentColor"}),v.jsx("path",{d:"M113.542 59.9897V33.2422H119.525V59.9897H113.542Z",fill:"currentColor"}),v.jsx("path",{d:"M141.514 53.8807L144.74 41.3811H150.541L144.845 59.9897H138.824L135.741 47.9271H135.665L132.544 59.9897H126.523L120.827 41.3811H126.772L129.998 53.8807H130.103L133.042 41.3811H138.412L141.418 53.8807H141.514Z",fill:"currentColor"}),v.jsx("path",{d:"M158.027 41.3811L162.468 54.3955H162.535L166.795 41.3811H172.673L165.723 60.0966C163.895 64.9624 161.243 66.7495 156.907 66.7495C156.189 66.7495 155.222 66.7106 154.437 66.5649V62.1264C154.935 62.2041 155.155 62.2041 155.509 62.2041C157.404 62.2041 158.228 61.8739 158.984 59.8052L151.996 41.3811H158.027Z",fill:"currentColor"}),v.jsx("path",{d:"M179.91 44.2462C180.81 42.3523 182.81 40.9343 185.567 40.9343C189.798 40.9343 192.373 43.5469 192.373 48.0534V59.9703H186.352V49.5005C186.352 46.917 185.347 45.6156 183.308 45.6156C181.441 45.6156 179.977 46.8491 179.977 50.0153V59.9703H173.994V41.3616H179.9V44.2365L179.91 44.2462Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0826 61.2232C47.2893 61.2232 60.423 47.898 60.423 31.4552H31.0826V61.2232Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0826 29.7749C47.2893 29.7749 60.423 16.4497 60.423 0.00690882H31.0826V29.7749Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3404 61.2232C13.1338 61.2232 0 47.898 0 31.4552H29.3404V61.2232Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3404 29.7652C13.1338 29.7652 5.84269e-08 16.44 5.84269e-08 -0.00280361H29.3404V29.7652Z",fill:"currentColor"})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.678 119.25C93.8369 119.25 119.898 93.2965 119.898 61.2707L61.678 61.2707L61.678 119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M61.678 57.9982C93.8369 57.9982 119.898 32.0447 119.898 0.0189667L61.678 0.0189616L61.678 57.9982Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 119.231C26.0618 119.231 0.000330335 93.2775 0.000333134 61.2518L58.2208 61.2518L58.2208 119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 57.9793C26.0618 57.9793 0.000335689 32.0258 0.000338489 4.77696e-06L58.2208 9.86676e-06L58.2208 57.9793Z",fill:"currentColor"})]}):r==="business"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"203",height:"67",viewBox:"0 0 203 67",fill:"none",children:[v.jsxs("g",{clipPath:"url(#clip0_4713_9167)",children:[v.jsx("path",{d:"M73.0897 25.7691V-0.1875H82.2102C87.9893 -0.1875 91.3306 2.21193 91.3306 6.75821C91.3306 9.15764 89.5143 11.6251 87.2997 12.2856C90.4953 13.0822 92.4961 15.4525 92.4961 18.5028C92.4961 23.2628 89.116 25.7691 83.3757 25.7691H73.0897ZM82.3947 11.2656C86.2507 11.2656 88.1739 9.63364 88.1739 6.79707C88.1739 3.9605 86.2799 2.35764 82.4336 2.35764H76.1784V11.2656H82.3947ZM76.1784 23.2239H83.23C87.1929 23.2239 89.3686 21.4754 89.3686 18.5028C89.3686 15.5302 87.1152 13.7039 83.1523 13.7039H76.1784V23.2239Z",fill:"currentColor"}),v.jsx("path",{d:"M106.454 25.7691V22.4565C105.579 24.7491 103.404 26.1965 100.636 26.1965C96.4882 26.1965 94.1668 23.6902 94.1668 19.2508V7.47707H97.2166V18.6776C97.2166 22.0582 98.6347 23.8359 101.51 23.8359C104.385 23.8359 106.347 21.9416 106.347 17.5508V7.47707H109.397V25.7594H106.454V25.7691Z",fill:"currentColor"}),v.jsx("path",{d:"M114.127 20.3485C114.35 22.8548 116.672 23.9136 119.139 23.9136C121.606 23.9136 123.461 22.7479 123.461 20.7856C123.461 19.4451 122.587 18.5708 120.265 18.1336L117.031 17.4828C114.088 16.9388 111.941 15.7342 111.941 12.5382C111.941 9.34221 114.7 7.04964 118.74 7.04964C122.781 7.04964 125.539 8.86621 125.899 12.3245H123.102C122.888 10.4691 121.246 9.38107 118.74 9.38107C116.235 9.38107 114.739 10.5856 114.739 12.3634C114.739 13.9274 115.827 14.5782 117.934 14.9765L121.567 15.6662C124.549 16.2491 126.287 17.7062 126.287 20.6496C126.287 23.8456 123.267 26.2159 119.168 26.2159C114.807 26.2159 111.533 24.2925 111.203 20.3582H114.107L114.127 20.3485Z",fill:"currentColor"}),v.jsx("path",{d:"M128.949 -0.00292805H132.368V3.66907H128.949V-0.00292805ZM129.172 7.48679H132.193V25.7691H129.172V7.48679Z",fill:"currentColor"}),v.jsx("path",{d:"M138.477 10.8285C139.351 8.57479 141.644 7.04964 144.441 7.04964C148.549 7.04964 150.987 9.63364 150.987 13.9954V25.7691H147.967V14.6462C147.967 11.2656 146.481 9.51707 143.606 9.51707C140.73 9.51707 138.594 11.2948 138.594 15.6954V25.7691H135.573V7.48679H138.477V10.8285Z",fill:"currentColor"}),v.jsx("path",{d:"M161.623 26.2062C156.465 26.2062 152.823 22.6119 152.823 16.7154C152.823 10.8188 156.563 7.04964 161.438 7.04964C166.858 7.04964 169.286 11.3725 169.286 16.0645V17.2594H155.766C155.912 21.4754 158.126 23.8068 161.623 23.8068C164.09 23.8068 165.586 22.6119 166.343 20.3874H169.18C168.344 24.2731 165.178 26.2062 161.623 26.2062ZM155.883 15.0834H166.353C166.275 11.9165 164.721 9.48793 161.448 9.48793C158.573 9.48793 156.397 11.3434 155.883 15.0834Z",fill:"currentColor"}),v.jsx("path",{d:"M173.58 20.3485C173.803 22.8548 176.124 23.9136 178.591 23.9136C181.059 23.9136 182.914 22.7479 182.914 20.7856C182.914 19.4451 182.04 18.5708 179.718 18.1336L176.484 17.4828C173.541 16.9388 171.394 15.7342 171.394 12.5382C171.394 9.34221 174.153 7.04964 178.193 7.04964C182.234 7.04964 184.992 8.86621 185.352 12.3245H182.554C182.341 10.4691 180.699 9.38107 178.193 9.38107C175.687 9.38107 174.191 10.5856 174.191 12.3634C174.191 13.9274 175.279 14.5782 177.387 14.9765L181.02 15.6662C184.002 16.2491 185.74 17.7062 185.74 20.6496C185.74 23.8456 182.719 26.2159 178.621 26.2159C174.259 26.2159 170.986 24.2925 170.656 20.3582H173.56L173.58 20.3485Z",fill:"currentColor"}),v.jsx("path",{d:"M189.965 20.3485C190.189 22.8548 192.51 23.9136 194.977 23.9136C197.444 23.9136 199.299 22.7479 199.299 20.7856C199.299 19.4451 198.425 18.5708 196.104 18.1336L192.869 17.4828C189.926 16.9388 187.78 15.7342 187.78 12.5382C187.78 9.34221 190.538 7.04964 194.579 7.04964C198.619 7.04964 201.378 8.86621 201.737 12.3245H198.94C198.726 10.4691 197.085 9.38107 194.579 9.38107C192.073 9.38107 190.577 10.5856 190.577 12.3634C190.577 13.9274 191.665 14.5782 193.773 14.9765L197.405 15.6662C200.387 16.2491 202.126 17.7062 202.126 20.6496C202.126 23.8456 199.105 26.2159 195.006 26.2159C190.645 26.2159 187.372 24.2925 187.042 20.3582H189.946L189.965 20.3485Z",fill:"currentColor"}),v.jsx("path",{d:"M76.6155 51.9782C76.9069 54.9605 79.5974 55.9028 82.3267 55.9028C84.8715 55.9028 87.0181 54.8828 87.0181 52.7359C87.0181 51.1039 85.9593 50.3365 83.1329 49.8605L78.5484 49.0251C74.4787 48.2965 71.3511 46.2954 71.3511 41.6811C71.3511 36.7754 75.7899 33.5696 81.7148 33.5696C88.407 33.5696 92.2145 36.5131 92.7292 41.5354H86.8044C86.581 39.2816 84.619 38.0868 81.7925 38.0868C79.2089 38.0868 77.4994 39.3594 77.4994 41.2148C77.4994 43.0702 78.7718 43.5074 81.2389 43.9736L86.1827 44.9159C90.6895 45.7125 93.1955 48.0439 93.1955 52.2988C93.1955 57.3113 88.543 60.4005 82.5501 60.4005C75.8968 60.4005 71.0986 57.6708 70.5547 51.9685H76.6252L76.6155 51.9782Z",fill:"currentColor"}),v.jsx("path",{d:"M103.948 60.4102C98.3822 60.4102 94.0988 56.7771 94.0988 50.6668C94.0988 44.5565 98.3919 40.9234 103.88 40.9234C109.989 40.9234 113 45.3239 113 50.3754V52.0074H99.9557C100.286 54.5914 101.558 56.1165 103.957 56.1165C105.706 56.1165 106.862 55.3199 107.337 53.9016H112.932C112.136 57.9331 108.756 60.4102 103.957 60.4102H103.948ZM100.062 48.7822H107.367C107.367 46.8879 106.201 45.1879 103.88 45.1879C101.772 45.1879 100.5 46.4994 100.062 48.7822Z",fill:"currentColor"}),v.jsx("path",{d:"M115.176 59.9828V33.2296H121.246V59.9828H115.176Z",fill:"currentColor"}),v.jsx("path",{d:"M143.557 53.8725L146.83 41.3702H152.716L146.937 59.9828H140.828L137.7 47.9176H137.622L134.456 59.9828H128.347L122.567 41.3702H128.599L131.872 53.8725H131.979L134.961 41.3702H140.41L143.46 53.8725H143.557Z",fill:"currentColor"}),v.jsx("path",{d:"M160.321 41.3702L164.828 54.3874H164.896L169.218 41.3702H175.182L168.131 60.0896C166.275 64.9565 163.585 66.7439 159.185 66.7439C158.457 66.7439 157.476 66.7051 156.679 66.5594V62.1199C157.184 62.1976 157.408 62.1976 157.767 62.1976C159.69 62.1976 160.525 61.8674 161.293 59.7982L154.202 41.3702H160.321Z",fill:"currentColor"}),v.jsx("path",{d:"M182.515 44.2359C183.428 42.3416 185.458 40.9234 188.256 40.9234C192.549 40.9234 195.162 43.5365 195.162 48.0439V59.9634H189.052V49.4914C189.052 46.9074 188.032 45.6056 185.964 45.6056C184.07 45.6056 182.583 46.8394 182.583 50.0062V59.9634H176.513V41.3508H182.506V44.2262L182.515 44.2359Z",fill:"currentColor"}),v.jsx("path",{d:"M61.2885 31.4714C44.8543 31.4714 31.5282 44.7994 31.5282 61.2359H61.2885V31.4714Z",fill:"currentColor"}),v.jsx("path",{d:"M61.2885 0.0262155C44.8543 0.0262155 31.5282 13.3542 31.5282 29.7908H61.2885V0.0262155Z",fill:"currentColor"}),v.jsx("path",{d:"M0 61.2165C0 44.7799 13.3261 31.4519 29.7604 31.4519V61.2165H0Z",fill:"currentColor"}),v.jsx("path",{d:"M0 29.7714C0 13.3348 13.3261 0.00678274 29.7604 0.00678274V29.7714H0Z",fill:"currentColor"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_4713_9167",children:v.jsx("rect",{width:"203",height:"67",fill:"white"})})})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M119.671 61.2805C87.582 61.2805 61.5616 87.2381 61.5616 119.25H119.671V61.2805Z",fill:"currentColor"}),v.jsx("path",{d:"M119.671 0.0378473C87.582 0.0378473 61.5616 25.9955 61.5616 58.0074H119.671V0.0378473Z",fill:"currentColor"}),v.jsx("path",{d:"M0 119.212C0 87.2003 26.0205 61.2426 58.1098 61.2426V119.212H0Z",fill:"currentColor"}),v.jsx("path",{d:"M0 57.9695C0 25.9576 26.0205 0 58.1098 0V57.9695H0Z",fill:"currentColor"})]}):r==="live"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"193",height:"66",viewBox:"0 0 193 66",fill:"none",children:[v.jsxs("g",{clipPath:"url(#clip0_4713_9228)",children:[v.jsx("path",{d:"M72.0742 -0.136921H75.1563V22.8348H88.9107V25.4074H72.0742V-0.146484V-0.136921Z",fill:"currentColor"}),v.jsx("path",{d:"M91.6291 0.0447881H94.9983V3.65982H91.6291V0.0447881ZM91.8492 7.41831H94.826V25.417H91.8492V7.41831Z",fill:"currentColor"}),v.jsx("path",{d:"M97.4007 7.41831H100.445L106.245 22.481H106.321L111.873 7.41831H114.85L107.939 25.417H104.608L97.4103 7.41831H97.4007Z",fill:"currentColor"}),v.jsx("path",{d:"M124.182 25.8473C119.1 25.8473 115.51 22.3088 115.51 16.5037C115.51 10.6986 119.195 6.98795 124 6.98795C129.341 6.98795 131.734 11.2437 131.734 15.863V17.0393H118.41C118.554 21.1899 120.736 23.4851 124.182 23.4851C126.613 23.4851 128.087 22.3088 128.834 20.1188H131.629C130.806 23.9442 127.685 25.8473 124.182 25.8473ZM118.525 14.897H128.843C128.767 11.7793 127.235 9.38841 124.01 9.38841C121.177 9.38841 119.033 11.2151 118.525 14.897Z",fill:"currentColor"}),v.jsx("path",{d:"M75.5487 51.2196C75.8359 54.1556 78.4872 55.0832 81.1769 55.0832C83.6846 55.0832 85.7999 54.0791 85.7999 51.9655C85.7999 50.3588 84.7566 49.6033 81.9713 49.1347L77.4535 48.3122C73.443 47.595 70.3609 45.6249 70.3609 41.0821C70.3609 36.2525 74.7352 33.1061 80.5738 33.1061C87.1687 33.1061 90.9208 36.0039 91.428 40.9483H85.5894C85.3692 38.7295 83.4357 37.5436 80.6504 37.5436C78.1044 37.5436 76.4198 38.7964 76.4198 40.6231C76.4198 42.4497 77.6736 42.8801 80.1048 43.3391L84.9768 44.2668C89.418 45.051 91.8875 47.3463 91.8875 51.5351C91.8875 56.47 87.3027 59.5207 81.397 59.5207C74.8404 59.5207 70.1121 56.8334 69.5761 51.2196H75.5583H75.5487Z",fill:"currentColor"}),v.jsx("path",{d:"M102.483 59.5303C96.9987 59.5303 92.7776 55.9535 92.7776 49.938C92.7776 43.9225 97.0083 40.3457 102.416 40.3457C108.437 40.3457 111.404 44.6781 111.404 49.6511V51.2578H98.5493C98.8748 53.8017 100.129 55.3032 102.493 55.3032C104.216 55.3032 105.355 54.519 105.824 53.1227H111.337C110.552 57.0916 107.221 59.5303 102.493 59.5303H102.483ZM98.6546 48.0731H105.852C105.852 46.2082 104.704 44.5346 102.416 44.5346C100.339 44.5346 99.0853 45.8257 98.6546 48.0731Z",fill:"currentColor"}),v.jsx("path",{d:"M113.548 59.0999V32.7618H119.53V59.0999H113.548Z",fill:"currentColor"}),v.jsx("path",{d:"M141.516 53.0844L144.742 40.7761H150.542L144.847 59.0999H138.827L135.745 47.222H135.668L132.548 59.0999H126.527L120.832 40.7761H126.776L130.002 53.0844H130.107L133.045 40.7761H138.415L141.421 53.0844H141.516Z",fill:"currentColor"}),v.jsx("path",{d:"M152.016 40.7761H158.037L162.478 53.5913H162.545L166.805 40.7761H172.681L165.732 59.2051C163.904 63.9965 161.253 65.7562 156.917 65.7562C156.199 65.7562 155.232 65.7179 154.448 65.5745V61.2039C154.945 61.2709 155.165 61.2709 155.52 61.2709C157.415 61.2709 158.238 60.9457 158.994 58.9087L152.007 40.7665L152.016 40.7761Z",fill:"currentColor"}),v.jsx("path",{d:"M179.908 43.5974C180.808 41.7325 182.808 40.3362 185.565 40.3362C189.796 40.3362 192.37 42.9088 192.37 47.3463V59.0808H186.35V48.7713C186.35 46.2273 185.345 44.9458 183.306 44.9458C181.439 44.9458 179.975 46.1604 179.975 49.2781V59.0808H173.993V40.757H179.898V43.5878L179.908 43.5974Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0982 30.9926C31.0982 47.1837 44.24 60.3145 60.4447 60.3145V30.9926H31.0982Z",fill:"currentColor"}),v.jsx("path",{d:"M60.4447 29.3381C60.4447 13.1469 47.3029 0.0160967 31.0982 0.0160967V29.3381H60.4447Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3466 60.305C13.1418 60.305 0 47.1741 0 30.983H29.3466V60.305Z",fill:"currentColor"}),v.jsx("path",{d:"M0.00969946 0.00653289C16.2144 0.00653289 29.3563 13.1373 29.3563 29.3285H0.00969946V0.00653289Z",fill:"currentColor"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_4713_9228",children:v.jsx("rect",{width:"193",height:"65.9745",fill:"white"})})})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.3528 61.2702C61.3528 93.2858 87.28 119.25 119.25 119.25V61.2702H61.3528Z",fill:"currentColor"}),v.jsx("path",{d:"M119.25 57.9987C119.25 25.9831 93.3228 0.018911 61.3528 0.018911V57.9987H119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M57.8971 119.231C25.9272 119.231 0 93.2669 0 61.2513H57.8971V119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M0.0191358 0C31.9891 0 57.9163 25.9642 57.9163 57.9798H0.0191358V0Z",fill:"currentColor"})]}):r==="participate"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"232",height:"67",viewBox:"0 0 232 67",fill:"none",children:[v.jsx("path",{d:"M76.2994 15.36V25.791H73.2078V-0.160156H82.8133C88.598 -0.160156 91.9424 2.49129 91.9424 7.5805C91.9424 12.6697 88.598 15.36 82.8522 15.36H76.2994ZM82.7452 12.7474C86.673 12.7474 88.8216 11.1158 88.8216 7.59022C88.8216 4.06467 86.673 2.46215 82.7452 2.46215H76.3092V12.7474H82.7452Z",fill:"currentColor"}),v.jsx("path",{d:"M104.173 22.7025C103.376 24.8489 100.858 26.1892 97.8048 26.1892C94.7521 26.1892 91.8743 24.3341 91.8743 20.9543C91.8743 17.5744 94.4896 15.9039 98.2034 15.4668L104.095 14.6996V13.6507C104.095 10.7467 102.316 9.50353 99.7979 9.50353C97.2798 9.50353 95.8312 10.7758 95.6174 12.8834H92.7104C93.0701 9.17331 95.9868 7.06575 99.8757 7.06575C104.319 7.06575 107.08 9.17331 107.08 13.573V21.9643C107.08 23.3046 107.158 24.5769 107.517 25.7812H104.494C104.27 24.7615 104.163 23.5669 104.163 22.6928L104.173 22.7025ZM104.095 16.9625L99.1076 17.5064C96.8132 17.8366 94.9271 18.4194 94.9271 20.8863C94.9271 22.5956 96.1326 23.9068 98.4173 23.9068C101.256 23.9068 104.095 22.1294 104.095 18.6039V16.9625Z",fill:"currentColor"}),v.jsx("path",{d:"M120.428 10.0183C119.991 9.91144 119.339 9.87259 118.863 9.87259C115.956 9.87259 113.292 12.1647 113.292 16.778V25.791H110.269V7.51252H113.176V11.8345C113.973 8.81396 116.306 7.11432 118.999 7.11432C119.476 7.11432 119.981 7.15317 120.419 7.26V10.0183H120.428Z",fill:"currentColor"}),v.jsx("path",{d:"M132.688 25.5773C131.346 25.9755 130.287 26.0823 129.489 26.0823C126.145 26.0823 124.434 24.4798 124.434 21.1V9.7949H121.741V7.50281H124.434V2.85064H127.418V7.50281H132.221V9.7949H127.38V20.9543C127.38 22.8773 128.362 23.5377 130.034 23.5377C130.724 23.5377 131.521 23.46 132.688 23.1007V25.5773Z",fill:"currentColor"}),v.jsx("path",{d:"M135.741 0.0243769H139.163V3.6956H135.741V0.0243769ZM135.955 7.51252H138.978V25.791H135.955V7.51252Z",fill:"currentColor"}),v.jsx("path",{d:"M150.363 7.07547C154.436 7.07547 157.129 9.39669 157.713 13.2913H154.835C154.329 10.8535 152.832 9.51324 150.363 9.51324C146.766 9.51324 144.724 12.3881 144.724 16.6712C144.724 20.9543 146.766 23.7902 150.363 23.7902C152.842 23.7902 154.329 22.45 154.835 20.0122H157.713C157.129 23.9359 154.436 26.228 150.363 26.228C145.268 26.228 141.739 22.5179 141.739 16.6712C141.739 10.8244 145.268 7.07547 150.363 7.07547Z",fill:"currentColor"}),v.jsx("path",{d:"M160.114 0.0243769H163.536V3.6956H160.114V0.0243769ZM160.328 7.51252H163.352V25.791H160.328V7.51252Z",fill:"currentColor"}),v.jsx("path",{d:"M170.478 32.2593H167.454V7.51252H170.361V10.8535C171.197 8.99849 173.375 7.07547 176.545 7.07547C181.201 7.07547 184.692 10.8535 184.692 16.6712C184.692 22.4888 181.201 26.228 176.545 26.228C173.521 26.228 171.382 24.4507 170.468 22.5956V32.2593H170.478ZM170.332 16.8848C170.332 21.032 172.364 23.8582 175.932 23.8582C179.5 23.8582 181.649 20.9154 181.649 16.6615C181.649 12.4075 179.539 9.42583 175.932 9.42583C172.325 9.42583 170.332 12.223 170.332 16.3701V16.8848Z",fill:"currentColor"}),v.jsx("path",{d:"M199.071 22.7025C198.274 24.8489 195.755 26.1892 192.703 26.1892C189.65 26.1892 186.772 24.3341 186.772 20.9543C186.772 17.5744 189.387 15.9039 193.101 15.4668L198.993 14.6996V13.6507C198.993 10.7467 197.214 9.50353 194.696 9.50353C192.178 9.50353 190.729 10.7758 190.515 12.8834H187.608C187.968 9.17331 190.885 7.06575 194.774 7.06575C199.217 7.06575 201.978 9.17331 201.978 13.573V21.9643C201.978 23.3046 202.055 24.5769 202.415 25.7812H199.392C199.168 24.7615 199.061 23.5669 199.061 22.6928L199.071 22.7025ZM199.003 16.9625L194.015 17.5064C191.721 17.8366 189.835 18.4194 189.835 20.8863C189.835 22.5956 191.04 23.9068 193.325 23.9068C196.164 23.9068 199.003 22.1294 199.003 18.6039V16.9625Z",fill:"currentColor"}),v.jsx("path",{d:"M214.422 25.5773C213.08 25.9755 212.021 26.0823 211.223 26.0823C207.879 26.0823 206.168 24.4798 206.168 21.1V9.7949H203.475V7.50281H206.168V2.85064H209.153V7.50281H213.955V9.7949H209.114V20.9543C209.114 22.8773 210.096 23.5377 211.768 23.5377C212.458 23.5377 213.255 23.46 214.422 23.1007V25.5773Z",fill:"currentColor"}),v.jsx("path",{d:"M224.212 26.228C219.05 26.228 215.404 22.6345 215.404 16.7391C215.404 10.8438 219.147 7.07547 224.028 7.07547C229.452 7.07547 231.883 11.3974 231.883 16.0884V17.283H218.35C218.496 21.4982 220.712 23.8291 224.212 23.8291C226.682 23.8291 228.179 22.6345 228.937 20.4104H231.776C230.94 24.2953 227.771 26.228 224.212 26.228ZM218.457 15.1075H228.937C228.859 11.9413 227.304 9.51324 224.028 9.51324C221.15 9.51324 218.972 11.3683 218.457 15.1075Z",fill:"currentColor"}),v.jsx("path",{d:"M76.7369 51.9946C77.0286 54.9763 79.7216 55.9184 82.4536 55.9184C85.0008 55.9184 87.1494 54.8986 87.1494 52.7522C87.1494 51.1205 86.0896 50.3532 83.2605 49.8773L78.6716 49.0421C74.5981 48.3137 71.4675 46.3129 71.4675 41.6996C71.4675 36.7949 75.9106 33.5899 81.8411 33.5899C88.5396 33.5899 92.3507 36.5327 92.866 41.5539H86.9355C86.7119 39.3007 84.748 38.1061 81.9188 38.1061C79.3327 38.1061 77.6217 39.3784 77.6217 41.2334C77.6217 43.0885 78.8952 43.5255 81.3647 43.9917L86.3132 44.9338C90.8243 45.7302 93.3326 48.0611 93.3326 52.3151C93.3326 57.3266 88.6757 60.4151 82.6772 60.4151C76.0175 60.4151 71.2148 57.686 70.6703 51.9849H76.7467L76.7369 51.9946Z",fill:"currentColor"}),v.jsx("path",{d:"M104.095 60.4248C98.5243 60.4248 94.2368 56.7925 94.2368 50.6835C94.2368 44.5745 98.534 40.9421 104.027 40.9421C110.142 40.9421 113.156 45.3417 113.156 50.3921V52.0237H100.099C100.43 54.6072 101.703 56.132 104.105 56.132C105.855 56.132 107.012 55.3356 107.488 53.9176H113.088C112.291 57.9482 108.908 60.4248 104.105 60.4248H104.095ZM100.206 48.7993H107.517C107.517 46.9054 106.351 45.2057 104.027 45.2057C101.917 45.2057 100.644 46.5169 100.206 48.7993Z",fill:"currentColor"}),v.jsx("path",{d:"M115.334 59.9975V33.25H121.41V59.9975H115.334Z",fill:"currentColor"}),v.jsx("path",{d:"M143.742 53.8885L147.018 41.3888H152.91L147.125 59.9975H141.01L137.88 47.9349H137.802L134.632 59.9975H128.517L122.732 41.3888H128.77L132.046 53.8885H132.153L135.138 41.3888H140.592L143.645 53.8885H143.742Z",fill:"currentColor"}),v.jsx("path",{d:"M160.522 41.3888L165.034 54.4032H165.102L169.428 41.3888H175.397L168.339 60.1043C166.482 64.9702 163.789 66.7572 159.385 66.7572C158.656 66.7572 157.674 66.7184 156.877 66.5727V62.1342C157.382 62.2119 157.606 62.2119 157.965 62.2119C159.89 62.2119 160.727 61.8817 161.495 59.813L154.397 41.3888H160.522Z",fill:"currentColor"}),v.jsx("path",{d:"M182.738 44.2539C183.651 42.3601 185.683 40.9421 188.483 40.9421C192.781 40.9421 195.396 43.5547 195.396 48.0611V59.9781H189.281V49.5083C189.281 46.9248 188.26 45.6234 186.189 45.6234C184.293 45.6234 182.806 46.8568 182.806 50.023V59.9781H176.729V41.3694H182.728V44.2442L182.738 44.2539Z",fill:"currentColor"}),v.jsx("path",{d:"M2.85646e-08 29.773C16.4596 29.773 29.8081 16.4381 29.8081 -0.00475679H2.85646e-08V29.773Z",fill:"currentColor"}),v.jsx("path",{d:"M29.8081 61.2309C29.8081 44.7881 16.4596 31.4532 0 31.4532V61.2309H29.8081Z",fill:"currentColor"}),v.jsx("path",{d:"M61.3954 29.7827C44.9358 29.7827 31.5873 16.4478 31.5873 0.00495569H61.3954V29.7827Z",fill:"currentColor"}),v.jsx("path",{d:"M31.5873 61.2407C31.5873 44.7978 44.9358 31.4629 61.3954 31.4629V61.2407H31.5873Z",fill:"currentColor"})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M0 58.01C32.1003 58.01 58.1332 32.0323 58.1332 0H0V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M0 61.24C32.1003 61.24 58.1332 87.2177 58.1332 119.25H0V61.24Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 58.01C87.6937 58.01 61.6608 32.0323 61.6608 0H119.794V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 61.24C87.6937 61.24 61.6608 87.2177 61.6608 119.25H119.794V61.24Z",fill:"currentColor"})]}):e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"193",height:"66",viewBox:"0 0 193 66",fill:"none",children:[v.jsx("path",{d:"M69.274 0H72.4994L81.3812 22.3221H81.4578L90.3395 0H93.4884L83.104 25.4674H79.5915L69.274 0Z",fill:"currentColor"}),v.jsx("path",{d:"M95.4504 0.181115H98.8194V3.78392H95.4504V0.181115ZM95.6705 7.52969H98.6471V25.4675H95.6705V7.52969Z",fill:"currentColor"}),v.jsx("path",{d:"M104.016 20.1585C104.236 22.6176 106.524 23.6565 108.955 23.6565C111.386 23.6565 113.214 22.5127 113.214 20.5874C113.214 19.2721 112.353 18.4143 110.065 17.9854L106.878 17.3468C103.978 16.813 101.863 15.6312 101.863 12.4954C101.863 9.35963 104.581 7.11026 108.563 7.11026C112.544 7.11026 115.262 8.8926 115.616 12.2857H112.86C112.649 10.4653 111.032 9.39775 108.563 9.39775C106.093 9.39775 104.619 10.5701 104.619 12.3238C104.619 13.8584 105.691 14.497 107.768 14.8877L111.348 15.5645C114.286 16.1363 115.999 17.566 115.999 20.454C115.999 23.5897 113.023 25.9154 108.984 25.9154C104.686 25.9154 101.461 24.0282 101.136 20.1776H103.997L104.016 20.1585Z",fill:"currentColor"}),v.jsx("path",{d:"M118.621 0.181115H121.99V3.78392H118.621V0.181115ZM118.842 7.52969H121.818V25.4675H118.842V7.52969Z",fill:"currentColor"}),v.jsx("path",{d:"M134.949 25.2578C133.629 25.6485 132.585 25.7534 131.801 25.7534C128.508 25.7534 126.824 24.1807 126.824 20.8639V9.76952H124.173V7.52015H126.824V2.9547H129.762V7.52015H134.49V9.76952H129.724V20.7209C129.724 22.6081 130.69 23.2562 132.337 23.2562C133.016 23.2562 133.801 23.1895 134.949 22.8273V25.2578Z",fill:"currentColor"}),v.jsx("path",{d:"M75.476 51.1922C75.7631 54.1183 78.4142 55.0429 81.1036 55.0429C83.6112 55.0429 85.7264 54.0421 85.7264 51.9357C85.7264 50.3344 84.6831 49.5815 81.898 49.1144L77.3806 48.2947C73.3704 47.5799 70.2885 45.6165 70.2885 41.0891C70.2885 36.2759 74.6624 33.1401 80.5007 33.1401C87.095 33.1401 90.8468 36.0281 91.354 40.9557H85.5158C85.2957 38.7445 83.3624 37.5626 80.5772 37.5626C78.0314 37.5626 76.3469 38.8112 76.3469 40.6316C76.3469 42.4521 77.6007 42.881 80.0317 43.3385L84.9033 44.263C89.3442 45.0446 91.8134 47.3321 91.8134 51.5068C91.8134 56.4249 87.229 59.4558 81.3238 59.4558C74.7677 59.4558 70.0397 56.7775 69.5037 51.1827H75.4855L75.476 51.1922Z",fill:"currentColor"}),v.jsx("path",{d:"M102.399 59.4653C96.9147 59.4653 92.694 55.9006 92.694 49.9055C92.694 43.9104 96.9243 40.3457 102.332 40.3457C108.352 40.3457 111.319 44.6633 111.319 49.6196V51.2208H98.4652C98.7906 53.7561 100.044 55.2525 102.408 55.2525C104.131 55.2525 105.27 54.471 105.739 53.0794H111.252C110.467 57.0349 107.136 59.4653 102.408 59.4653H102.399ZM98.5705 48.0469H105.768C105.768 46.1883 104.619 44.5204 102.332 44.5204C100.255 44.5204 99.0012 45.8071 98.5705 48.0469Z",fill:"currentColor"}),v.jsx("path",{d:"M113.463 59.0364V32.7874H119.445V59.0364H113.463Z",fill:"currentColor"}),v.jsx("path",{d:"M141.429 53.0413L144.654 40.7746H150.454L144.76 59.0365H138.739L135.658 47.1987H135.581L132.461 59.0365H126.441L120.746 40.7746H126.69L129.915 53.0413H130.02L132.959 40.7746H138.328L141.333 53.0413H141.429Z",fill:"currentColor"}),v.jsx("path",{d:"M157.948 40.7746L162.389 53.5465H162.456L166.715 40.7746H172.592L165.643 59.1413C163.815 63.9164 161.164 65.6702 156.828 65.6702C156.111 65.6702 155.144 65.6321 154.359 65.4891V61.1333C154.857 61.2096 155.077 61.2096 155.431 61.2096C157.326 61.2096 158.149 60.8855 158.905 58.8554L151.919 40.7746H157.948Z",fill:"currentColor"}),v.jsx("path",{d:"M179.827 43.5958C180.727 41.7372 182.727 40.3457 185.484 40.3457C189.714 40.3457 192.289 42.9096 192.289 47.3321V59.0269H186.268V48.7522C186.268 46.2169 185.264 44.9397 183.225 44.9397C181.359 44.9397 179.894 46.1502 179.894 49.2574V59.0269H173.912V40.7651H179.818V43.5863L179.827 43.5958Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3348 0.162032C13.1312 0.162032 0 13.2389 0 29.3752H29.3348V0.162032Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3348 31.0241C13.1312 31.0241 1.62262e-07 44.101 1.62262e-07 60.2373H29.3348V31.0241Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0766 0.171575C47.2801 0.171575 60.4114 13.2484 60.4114 29.3848H31.0766V0.171575Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0766 31.0337C47.2801 31.0337 60.4114 44.1105 60.4114 60.2469H31.0766V31.0337Z",fill:"currentColor"})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M58.2132 5.43071e-08C26.0583 2.43097e-08 -2.4212e-08 25.9535 -5.40888e-08 57.9793L58.2132 57.9793L58.2132 5.43071e-08Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2132 61.2518C26.0583 61.2518 2.40646e-07 87.2053 2.10769e-07 119.231L58.2132 119.231L58.2132 61.2518Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 0.0189383C93.8249 0.0189383 119.883 25.9725 119.883 57.9982L61.6699 57.9982L61.6699 0.0189383Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 61.2707C93.8249 61.2707 119.883 87.2242 119.883 119.25L61.6699 119.25L61.6699 61.2707Z",fill:"currentColor"})]});SS.registerPlugin(ii);const G5t=r=>{const{pillar:e,displayFullLogo:t=!1,displayIcon:i=!0,displayIconTitle:n="",title:s,boldTitle:a,content:o,action:l,images:u,imageSrc:c,alignment:g="right",imageBorder:b="top-right",rendition:T="contained",list:L,spaceTop:_="none",spaceBottom:D="none",watermark:N}=r,V=yt.useRef(null);yt.useEffect(()=>{SS.to(V.current,{y:-80,ease:"none",scrollTrigger:{trigger:V.current,start:"10% 50%",end:"bottom top",scrub:2.5,immediateRender:!1}})},[]);const R=v.jsxs("div",{className:`${xr.pillarlogo} ${t?xr.pillarlogoFull:""}`,children:[v.jsx(aY,{brandPillar:e,brandFullLogo:t}),n&&v.jsx("p",{children:n})]});return T==="full"?v.jsxs("div",{className:`${xr.imageContent} ${xr.imageContentFull} ${xr[b]} `,children:[v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,children:[v.jsx("div",{className:xr.content,ref:V,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h3",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),L&&v.jsx("ul",{className:xr.list,children:L.map(q=>v.jsx("li",{children:v.jsxs("div",{className:xr.listWrapper,children:[v.jsx(bue,{type:"regular"}),q.label]})},q.id))}),l&&v.jsx("div",{className:xr.action,children:l})]})}),v.jsx("div",{className:xr.imageWrapper,children:v.jsx("div",{className:xr.imageHolder,children:c&&v.jsx("img",{src:c,alt:s??""})})})]})})}),e&&N&&v.jsx("div",{className:xr.svgBackgroundPillar,children:v.jsx(mue,{pillar:e})})]}):T==="fluid"?v.jsx("div",{className:`${xr.imageContent} ${xr.imageContentFluid}`,children:v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,children:[v.jsx("div",{className:xr.imageWrapper,children:v.jsxs("div",{className:xr.imageHolder,children:[c&&v.jsx("img",{src:c,alt:s??""}),v.jsx("div",{className:xr.clipPath,children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 362 725",fill:"none",children:v.jsx("path",{d:"M0 0C0 296.003 141.877 559.012 361.463 725H0V0Z",fill:"currentColor"})})})]})}),v.jsx("div",{className:xr.content,ref:V,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h3",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),l&&v.jsx("div",{className:xr.action,children:l})]})})]})})})}):T==="masked"?v.jsx("div",{className:`${xr.imageContent} ${xr.maskedImageContent} ${xr[g]}`,children:v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,ref:V,children:[v.jsx("div",{className:xr.imageWrapper,children:v.jsx(W5t,{pillar:e,single:u?.single,setOfFour:u?.setOfFour})}),v.jsx("div",{className:xr.content,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h4",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),l&&v.jsx("div",{className:xr.action,children:l})]})})]})})})}):v.jsx("div",{className:`${xr.imageContent} ${xr[g]}`,children:v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,ref:V,children:[v.jsx("div",{className:xr.imageWrapper,children:v.jsx("div",{className:xr.imageHolder,children:c&&v.jsx("img",{src:c,alt:""})})}),v.jsx("div",{className:xr.content,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h3",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),l&&v.jsx("div",{className:xr.action,children:l})]})})]})})})})},X5t="_carousel_17ott_1",Y5t="_carouselWrapper_17ott_1",K5t="_carouselTitle_17ott_4",Q5t="_actions_17ott_18",J5t="_card_17ott_29",eut="_btn_17ott_33",Ff={carousel:X5t,carouselWrapper:Y5t,carouselTitle:K5t,actions:Q5t,card:J5t,btn:eut},tut=r=>{const{title:e,cards:t=[],action:i}=r,n=yt.useRef(null),s={dots:!1,arrows:!1,infinite:!1,speed:500,touchMove:!0,variableWidth:!0,slidesToShow:1,slidesToScroll:1};return v.jsx("div",{className:`${Ff.carousel} carouselBlock`,children:v.jsx(wi,{children:v.jsxs("div",{className:Ff.carouselWrapper,children:[v.jsx(di,{children:v.jsxs("div",{className:Ff.carouselTitle,children:[v.jsx("h3",{children:e}),v.jsxs("div",{className:Ff.actions,children:[v.jsx("button",{className:"custom-arrow prev",onClick:()=>n.current?.slickPrev(),"aria-label":"Previous",children:v.jsx(i7e,{type:"thin"})}),v.jsx("button",{className:"custom-arrow next",onClick:()=>n.current?.slickNext(),"aria-label":"Next",children:v.jsx(r7e,{type:"thin"})})]})]})}),v.jsx(di,{children:v.jsx(rz,{ref:n,...s,children:t.map((a,o)=>v.jsx("div",{className:Ff.card,children:v.jsx(DP,{title:a.title,date:a.date,description:a.description,image:a.image,link:a.link,variation:"long"},o)}))})}),v.jsx(di,{children:v.jsx("div",{className:Ff.btn,children:i})})]})})})};var UH,rle;function IA(){if(rle)return UH;rle=1;var r;return typeof window<"u"?r=window:typeof M3<"u"?r=M3:typeof self<"u"?r=self:r={},UH=r,UH}var rut=IA();const Ye=a6(rut),iut={},nut=Object.freeze(Object.defineProperty({__proto__:null,default:iut},Symbol.toStringTag,{value:"Module"})),sut=x$(nut);var qH,ile;function Wve(){if(ile)return qH;ile=1;var r=typeof M3<"u"?M3:typeof window<"u"?window:{},e=sut,t;return typeof document<"u"?t=document:(t=r["__GLOBAL_DOCUMENT_CACHE@4"],t||(t=r["__GLOBAL_DOCUMENT_CACHE@4"]=e)),qH=t,qH}var aut=Wve();const Nt=a6(aut);var lk={exports:{}},$H={exports:{}},nle;function out(){return nle||(nle=1,(function(r){function e(){return r.exports=e=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var s in n)({}).hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},r.exports.__esModule=!0,r.exports.default=r.exports,e.apply(null,arguments)}r.exports=e,r.exports.__esModule=!0,r.exports.default=r.exports})($H)),$H.exports}var zH,sle;function lut(){if(sle)return zH;sle=1,zH=e;var r=Object.prototype.toString;function e(t){if(!t)return!1;var i=r.call(t);return i==="[object Function]"||typeof t=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}return zH}var ZH,ale;function uut(){if(ale)return ZH;ale=1;function r(n,s){var a=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(a)return(a=a.call(n)).next.bind(a);if(Array.isArray(n)||(a=e(n))||s){a&&(n=a);var o=0;return function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
820
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()})(me))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(ee){ie.props[ee]&&ie.props[ee](ie)},(function(ee){var me=ee.ap,pe=(ee.componentsServices,ee.core),de=pe.globalEventsController,Te=pe.scrollbarRecompensor,_e=pe.sourceDisplayFacade,ve=pe.stageManager,Se=pe.windowResizeActioner,Le=ee.data,ce=ee.e,Ee=ee.elements,je=(ee.props,ee.stageIndexes),Ue=ee.sws,et=0;function ot(){var Pe,Oe,qe=ee.props,nt=qe.autoplay,P=qe.autoplays;et=!0,(function(O){var Z=O.props,ne=Z.autoplays;O.c=Z.sources.length;for(var ge=0;ge<O.c;ge++)ne[ge]==="false"&&(ne[ge]=0),ne[ge]===""&&(ne[ge]=1);O.dss=Z.disableSlideSwiping,O.loc=Z.loadOnlyCurrentSource})(ee),Le.scrollbarWidth=(function(){var O=document.createElement("div"),Z=O.style,ne=document.createElement("div");Z.visibility="hidden",Z.width="100px",Z.msOverflowStyle="scrollbar",Z.overflow="scroll",ne.style.width="100%",document.body.appendChild(O);var ge=O.offsetWidth;O.appendChild(ne);var fe=ne.offsetWidth;return document.body.removeChild(O),ge-fe})(),(nt||P.length>0)&&(ee.loc=1),tt(ee),ee.fs.i(),Ee.container=document.createElement("div"),Ee.container.className="".concat(u,"container ").concat(b," ").concat(k),Ee.container.setAttribute("tabindex","0"),(function(O){var Z=O.elements;Z.slideSwipingHoverer=document.createElement("div"),Z.slideSwipingHoverer.className="".concat(u,"slide-swiping-hoverer ").concat(b," ").concat(D)})(ee),he(ee),(function(O){var Z=O.core.sourcesPointerDown,ne=O.elements,ge=O.props.sources,fe=document.createElement("div");fe.className="".concat(D," ").concat(b),ne.container.appendChild(fe),fe.addEventListener("pointerdown",Z.listener),ne.sourceWrappersContainer=fe;for(var Re=0;Re<ge.length;Re++)te(O,Re)})(ee),ee.props.sources.length>1&&(Oe=(Pe=ee).core.slideChangeFacade,Ce(Pe,Oe.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),Ce(Pe,Oe.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),(function(O){for(var Z=O.props.sources,ne=O.resolve,ge=ne(B),fe=ne(K),Re=ne(Q,[ge,fe]),Be=0;Be<Z.length;Be++)if(typeof Z[Be]=="string"){var Ie=Re.getTypeSetByClientForIndex(Be);if(Ie)fe.runActionsForSourceTypeAndIndex(Ie,Be);else{var Fe=ge.getSourceTypeFromLocalStorageByUrl(Z[Be]);Fe?fe.runActionsForSourceTypeAndIndex(Fe,Be):Re.retrieveTypeWithXhrForIndex(Be)}}else fe.runActionsForSourceTypeAndIndex("custom",Be)})(ee),ce("onInit")}ee.open=function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Oe=je.previous,qe=je.current,nt=je.next;je.current=Pe,et||(function(P){var O=P.stageIndexes,Z=P.core.stageManager,ne=P.props.sources.length-1;Z.getPreviousSlideIndex=function(){return O.current===0?ne:O.current-1},Z.getNextSlideIndex=function(){return O.current===ne?0:O.current+1},Z.updateStageIndexes=ne===0?function(){}:ne===1?function(){O.current===0?(O.next=1,delete O.previous):(O.previous=0,delete O.next)}:function(){O.previous=Z.getPreviousSlideIndex(),O.next=Z.getNextSlideIndex()},Z.i=ne<=2?function(){return!0}:function(ge){var fe=O.current;if(fe===0&&ge===ne||fe===ne&&ge===0)return!0;var Re=fe-ge;return Re===-1||Re===0||Re===1}})(ee),ve.updateStageIndexes(),et?(Ue.c(),Ue.a(),Ue.b(Oe),Ue.b(qe),Ue.b(nt),ce("onShow")):ot(),_e.displaySourcesWhichShouldBeDisplayed(),ee.sn(Pe+1),document.body.appendChild(Ee.container),Ee.container.focus(),document.documentElement.classList.add(L),Te.addRecompense(),de.attachListeners(),Se.runActions(),Ee.smw[Pe].n(),me.p(Pe),ce("onOpen")}})(this),this.close=function(){return ie.core.lightboxCloser.closeLightbox()}}}])}},e={};function t(n){var s=e[n];if(s!==void 0)return s.exports;var a=e[n]={exports:{}};return r[n](a,a.exports,t),a.exports}t.n=n=>{var s=n&&n.__esModule?()=>n.default:()=>n;return t.d(s,{a:s}),s},t.d=(n,s)=>{for(var a in s)t.o(s,a)&&!t.o(n,a)&&Object.defineProperty(n,a,{enumerable:!0,get:s[a]})},t.o=(n,s)=>Object.prototype.hasOwnProperty.call(n,s),t.r=n=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};(()=>{t.r(i),t.d(i,{default:()=>l});const n=yt;var s=t.n(n);function a(u){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},a(u)}var o=0;function l(u){for(var c=(0,n.useRef)(),g=[],b=(0,n.useRef)(),T=(0,n.useRef)(u.toggler),L=0;L<u.sources.length;L++)g[L]=(0,n.useRef)();function _(){var D=u.sourceIndex;D===void 0&&(D=u.slide),D?D--:D=0,b.current.open(D)}return s().useInsertionEffect&&s().useInsertionEffect((function(){o||(t(913),o=1)}),[]),(0,n.useEffect)((function(D){if(o||(t(913),o=1),!b.current){var N=new window.FsLightbox;return Object.assign(N.props,u),N.props.sources=u.sources.map((function(V,R){return typeof V=="string"?V:(c.current.removeChild(g[R].current),g[R].current)})),N.props.onSourceLoad=function(V,R,q){typeof u.sources[q]!="string"&&(R.firstChild.style.width="100%",R.firstChild.style.height="100%"),u.onSourceLoad&&u.onSourceLoad(V,R,q)},N.props.maxYoutubeDimensions=u.maxYoutubeVideoDimensions,b.current=N,void(u.openOnMount&&_())}u.toggler!=T.current&&(T.current=u.toggler,_())}),[u.toggler]),!b.current&&s().createElement("div",{ref:c,style:{display:"none"}},u.sources.map((function(D,N){return typeof D!="string"&&s().createElement("div",{ref:g[N],className:"fslightboxs",key:N},D)})))}(typeof window>"u"?"undefined":a(window))==="object"&&(t(913),o=1)})(),FH.exports=i})()),FH.exports}var l0t=o0t();const u0t=a6(l0t),c0t=({title:r,cards:e=[]})=>{const t=yt.useRef(null),[i,n]=yt.useState({toggler:!1,slide:1}),s=l=>{n({toggler:!i.toggler,slide:l+1})},a={dots:!1,arrows:!1,infinite:!1,speed:500,touchMove:!0,variableWidth:!0,slidesToShow:1,slidesToScroll:1},o=typeof document<"u"?document.body:null;return v.jsx("div",{className:`${Vf.checkOutAction} carouselBlock`,children:v.jsx(wi,{children:v.jsxs("div",{className:Vf.carouselWrapper,children:[v.jsx(di,{children:v.jsxs("div",{className:Vf.carouselTitle,children:[v.jsx("h3",{children:r}),v.jsxs("div",{className:Vf.actions,children:[v.jsx("button",{className:"custom-arrow prev",onClick:()=>t.current?.slickPrev(),"aria-label":"Previous",children:v.jsx(i7e,{type:"thin"})}),v.jsx("button",{className:"custom-arrow next",onClick:()=>t.current?.slickNext(),"aria-label":"Next",children:v.jsx(r7e,{type:"thin"})})]})]})}),v.jsx(di,{children:v.jsx(rz,{ref:t,...a,children:e.map((l,u)=>v.jsx("div",{className:Vf.imageSlide,children:v.jsx("img",{src:l.image,alt:`Image ${u+1}`,className:Vf.image,onClick:()=>s(u),style:{cursor:"pointer"}})},u))})}),o&&Owe.createPortal(v.jsx(u0t,{toggler:i.toggler,sources:e.map(l=>l.image).filter(l=>!!l),slide:i.slide}),o)]})})})},d0t="_testimonyCard_ugej3_1",h0t="_testimonyCardContainer_ugej3_1",p0t="_testimonySlide_ugej3_4",f0t="_testimonyCardLeft_ugej3_9",g0t="_testimonyCardRight_ugej3_26",m0t="_testimonyContent_ugej3_32",C0t="_quoteIcon_ugej3_45",y0t="_innerContents_ugej3_56",_0t="_author_ugej3_82",v0t="_slickDots_ugej3_85",b0t="_svg_ugej3_106",A0={testimonyCard:d0t,testimonyCardContainer:h0t,testimonySlide:p0t,testimonyCardLeft:f0t,testimonyCardRight:g0t,testimonyContent:m0t,quoteIcon:C0t,innerContents:y0t,author:_0t,slickDots:v0t,svg:b0t},T0t=r=>{const{testimonies:e,pillar:t}=r,i=yt.useRef(null),[n,s]=yt.useState(0),a={dots:!1,infinite:!0,speed:900,slidesToShow:1,slidesToScroll:1,autoplay:!1,autoplaySpeed:5e3,arrows:!1,fade:!0,swipe:!0,touchMove:!0,waitForAnimate:!1,beforeChange:(o,l)=>{s(l)}};return v.jsx("div",{className:`${A0.testimonyCard} ${A0.testimonyCardLarge} ${t?`${t}`:""} testimonialCards`,children:v.jsx(wi,{children:v.jsx(di,{children:v.jsx("div",{className:A0.testimonyCardContainer,children:v.jsx(rz,{ref:i,...a,children:e.map((o,l)=>v.jsx("div",{children:v.jsxs("div",{className:A0.testimonySlide,children:[v.jsx("div",{className:A0.testimonyCardLeft,children:o.image&&v.jsx("img",{src:o.image,alt:`${o.author} testimonial`})}),v.jsx("div",{className:A0.testimonyCardRight,children:v.jsxs("div",{className:A0.testimonyContent,children:[v.jsx("div",{className:A0.quoteIcon,children:v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"39",viewBox:"0 0 56 39",fill:"none",children:[v.jsx("path",{d:"M23.1134 27.0562C23.1134 32.4847 18.9331 36 13.4798 36C8.02648 36 4.75277 33.6194 3.3652 27.0562C1.97764 20.493 7.78599 17.227 13.2393 17.227C18.6926 17.227 23.1134 21.6276 23.1134 27.0562Z",fill:"currentColor"}),v.jsx("path",{d:"M53.0015 27.0558C53.0015 32.4844 48.8212 35.9997 43.3679 35.9997C37.9145 35.9997 34.6408 33.619 33.2533 27.0558C31.8657 20.4926 37.674 17.2267 43.1274 17.2267C48.5807 17.2267 53.0015 21.6273 53.0015 27.0558Z",fill:"currentColor"}),v.jsx("path",{d:"M3.3652 27.0562C4.75277 33.6194 8.02648 36 13.4798 36C18.9331 36 23.1134 32.4847 23.1134 27.0562C23.1134 21.6276 18.6926 17.227 13.2393 17.227C7.78599 17.227 1.97764 20.493 3.3652 27.0562ZM3.3652 27.0562C1.97764 20.493 4.78431 13.7613 7.99019 9.54638C11.1961 5.33146 17.2399 2.24873 21.5318 3.16115M33.2533 27.0558C34.6408 33.619 37.9145 35.9997 43.3679 35.9997C48.8212 35.9997 53.0015 32.4844 53.0015 27.0558C53.0015 21.6273 48.5807 17.2267 43.1274 17.2267C37.674 17.2267 31.8657 20.4926 33.2533 27.0558ZM33.2533 27.0558C31.8657 20.4926 34.6724 13.761 37.8782 9.54606C41.0841 5.33115 47.1279 2.24841 51.4199 3.16083",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round"})]})}),v.jsxs("div",{className:A0.innerContents,children:[v.jsx("h6",{children:o.testimony}),v.jsxs("p",{className:A0.author,children:["— ",o.author]}),v.jsx("ul",{className:A0.slickDots,children:e.map((u,c)=>v.jsxs("li",{className:n===c?A0.active:"",children:[v.jsx("button",{onClick:()=>i.current?.slickGoTo(c)}),n===c&&v.jsx("div",{className:A0.svg,children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 20 20",fill:"none",children:v.jsx("circle",{cx:"10",cy:"10",r:"8",fill:"currentColor"})})})]},c))})]})]})})]})},l))})})})})})},w0t="_pathwayTitle_15h2a_1",S0t="_pathwayDescription_15h2a_11",x0t="_action_15h2a_24",E0t="_pathwayFilters_15h2a_29",k0t="_active_15h2a_45",L0t="_pathwayCard_15h2a_60",M0t="_pathwayFilterDesktop_15h2a_67",I0t="_pathwayFilterMobile_15h2a_71",P0t="_pathwayCardsWrap_15h2a_109",O0={pathwayTitle:w0t,pathwayDescription:S0t,action:x0t,pathwayFilters:E0t,active:k0t,pathwayCard:L0t,pathwayFilterDesktop:M0t,pathwayFilterMobile:I0t,pathwayCardsWrap:P0t},zve=r=>{const{title:e="",description:t="",cards:i=[],action:n,filters:s=[],onFilterChange:a}=r,o=u=>{a&&a(u)},l=[O0.pathway,"pathway"];return v.jsx("div",{className:"listBlock",children:v.jsx(wi,{children:v.jsxs("div",{className:Ry(l),children:[v.jsxs(di,{children:[e&&v.jsx("div",{className:O0.pathwayTitle,children:v.jsx("h3",{children:e})}),(t||n)&&v.jsxs("div",{className:O0.pathwayDescription,children:[t&&v.jsx("div",{className:"typography",children:t}),n&&v.jsx("div",{className:O0.action,children:n})]}),s.length>0&&v.jsx("div",{className:`${O0.pathwayFilters} ${O0.pathwayFilterDesktop}`,children:v.jsxs("ul",{children:[v.jsx("li",{className:s.some(u=>u.active)?"":O0.active,onClick:()=>o(null),children:v.jsx("span",{children:"All"})},"all"),s.map(u=>v.jsx("li",{className:u.active?O0.active:"",onClick:()=>o(u.value),children:v.jsx("span",{children:u.label})},u.value))]})}),s.length>0&&v.jsxs("div",{className:`${O0.pathwayFilters} ${O0.pathwayFilterMobile}`,children:[v.jsxs("select",{onChange:u=>o(u.target.value?Number(u.target.value):null),value:s.find(u=>u.active)?.value||"",children:[v.jsx("option",{value:"",children:"All"}),s.map(u=>v.jsx("option",{value:u.value,children:u.label},u.value))]}),v.jsx(J$,{})]})]}),v.jsx(di,{children:v.jsx("div",{className:O0.pathwayCards,children:v.jsx("div",{className:O0.pathwayCardsWrap,children:i.map((u,c)=>v.jsx("div",{className:O0.pathwayCard,children:v.jsx(di,{children:v.jsx(DP,{...u,variation:"short"})})},c))})})})]})})})},D0t="_listingDetail_2dsdp_1",A0t="_mainContent_2dsdp_14",O0t="_summary_2dsdp_19",R0t="_sectioncontent_2dsdp_33",N0t="_facilitiesList_2dsdp_105",j0t="_facilityItem_2dsdp_119",H0t="_sidebar_2dsdp_146",B0t="_sidebarImg_2dsdp_152",V0t="_infoItem_2dsdp_167",F0t="_sidebarItems_2dsdp_197",U0t="_infoLabel_2dsdp_201",q0t="_infoValue_2dsdp_219",$0t="_infoValueLink_2dsdp_237",z0t="_button_2dsdp_257",W2={listingDetail:D0t,mainContent:A0t,summary:O0t,sectioncontent:R0t,facilitiesList:N0t,facilityItem:j0t,sidebar:H0t,sidebarImg:B0t,infoItem:V0t,sidebarItems:F0t,infoLabel:U0t,infoValue:q0t,infoValueLink:$0t,button:z0t},Z0t=({content:r,facilities:e,callToActions:t=[],callToActionButton:i,logo:n,summaryTitle:s})=>{const a=o=>typeof o=="string"?v.jsx("span",{dangerouslySetInnerHTML:{__html:o}}):o;return v.jsx(wi,{children:v.jsx(di,{children:v.jsxs("div",{className:`${W2.listingDetail} listingDetailBlock`,children:[v.jsxs("div",{className:W2.mainContent,children:[v.jsx("div",{className:W2.summary,children:v.jsx("h2",{children:s})}),v.jsx("div",{className:"typography",children:r}),e.length>0&&v.jsx("h3",{className:W2.sectioncontent,children:"Facilities"}),v.jsx("ul",{className:W2.facilitiesList,children:e.map((o,l)=>v.jsxs("li",{className:W2.facilityItem,children:[v.jsx(Sue,{type:"fill"})," ",o]},l))})]}),v.jsxs("div",{className:W2.sidebar,children:[n&&v.jsx("div",{className:W2.sidebarImg,children:v.jsx("img",{src:n,alt:"sidebar image"})}),t.map((o,l)=>v.jsxs("div",{className:W2.infoItem,children:[a(o.icon),v.jsxs("div",{className:o.label==="Distance from Christchurch Airport"?W2.sidebarItems:void 0,children:[v.jsx("div",{className:W2.infoLabel,children:o.label}),o.url?v.jsx("a",{href:o.url,className:o.valueClassName==="link"?W2.infoValueLink:W2.infoValue,target:o.target,rel:"noopener noreferrer",children:o.value}):v.jsx("div",{className:o.valueClassName==="link"?W2.infoValueLink:W2.infoValue,children:o.value})]})]},l)),i&&i.button&&v.jsx("div",{className:W2.button,children:i.button})]})]})})})},W0t="_contentBlock_17b5i_1",G0t="_contentBlockInner_17b5i_5",X0t="_heroSvg_17b5i_8",Y0t="_contentBlockWrapper_17b5i_34",ok={contentBlock:W0t,contentBlockInner:G0t,"contentBlock--pt-none":"_contentBlock--pt-none_17b5i_8",heroSvg:X0t,"contentBlock--pt-xsm":"_contentBlock--pt-xsm_17b5i_11","contentBlock--pt-sm":"_contentBlock--pt-sm_17b5i_14","contentBlock--pt-md":"_contentBlock--pt-md_17b5i_17","contentBlock--pt-lg":"_contentBlock--pt-lg_17b5i_20",contentBlockWrapper:Y0t},Zve=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"741",height:"340",viewBox:"0 0 741 340",fill:"none",children:v.jsxs("g",{opacity:"0.3",children:[v.jsx("path",{opacity:"0.5",d:"M0 113.208C68.1991 113.208 123.5 163.901 123.5 226.417H0V113.208Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.25",d:"M247 113.208C178.801 113.208 123.5 163.901 123.5 226.417H247V113.208Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.5",d:"M741 226.417C672.801 226.417 617.5 175.724 617.5 113.208H741V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.75",d:"M123.5 226.417C191.699 226.417 247 277.109 247 339.625H123.5V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.5",d:"M247 339.625C315.199 339.625 370.5 288.933 370.5 226.417H247V339.625Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.25",d:"M494 339.625C425.801 339.625 370.5 288.932 370.5 226.417H494V339.625Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.75",d:"M617.5 226.417C549.301 226.417 494 277.109 494 339.625H617.5V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.25",d:"M494 -7.62939e-05C562.199 -7.62939e-05 617.5 50.6924 617.5 113.208H494V-7.62939e-05Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.5",d:"M370.5 226.417C438.699 226.417 494 175.724 494 113.208H370.5V226.417Z",fill:"currentColor"}),v.jsx("path",{opacity:"0.75",d:"M247 113.208C315.199 113.208 370.5 62.5158 370.5 0H247V113.208Z",fill:"currentColor"})]})}),K0t=r=>{const{children:e,pillar:t,spacingTop:i="none"}=r,n=Ry(ok.contentBlock,`${t}`,{[ok[`contentBlock--pt-${i}`]]:i});return v.jsxs("div",{className:n,children:[v.jsx(wi,{type:"contentBlock",children:v.jsx(di,{children:v.jsx("div",{className:`typography contentBlock ${ok.contentBlockWrapper}`,children:e})})}),v.jsx("div",{className:ok.heroSvg,children:v.jsx(Zve,{})})]})},Q0t=({brandPiller:r})=>{if(r==="visit")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M58.2132 5.43071e-08C26.0583 2.43097e-08 -2.4212e-08 25.9535 -5.40888e-08 57.9793L58.2132 57.9793L58.2132 5.43071e-08Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2132 61.2518C26.0583 61.2518 2.40646e-07 87.2053 2.10769e-07 119.231L58.2132 119.231L58.2132 61.2518Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 0.0189383C93.8249 0.0189383 119.883 25.9725 119.883 57.9982L61.6699 57.9982L61.6699 0.0189383Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 61.2707C93.8249 61.2707 119.883 87.2242 119.883 119.25L61.6699 119.25L61.6699 61.2707Z",fill:"currentColor"})]});if(r==="taste")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.678 119.25C93.8369 119.25 119.898 93.2965 119.898 61.2707L61.678 61.2707L61.678 119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M61.678 57.9982C93.8369 57.9982 119.898 32.0447 119.898 0.0189667L61.678 0.0189616L61.678 57.9982Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 119.231C26.0618 119.231 0.000330335 93.2775 0.000333134 61.2518L58.2208 61.2518L58.2208 119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 57.9793C26.0618 57.9793 0.000335689 32.0258 0.000338489 4.77696e-06L58.2208 9.86676e-06L58.2208 57.9793Z",fill:"currentColor"})]});if(r==="business")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M119.671 61.2805C87.582 61.2805 61.5616 87.2381 61.5616 119.25H119.671V61.2805Z",fill:"currentColor"}),v.jsx("path",{d:"M119.671 0.0378473C87.582 0.0378473 61.5616 25.9955 61.5616 58.0074H119.671V0.0378473Z",fill:"currentColor"}),v.jsx("path",{d:"M0 119.212C0 87.2003 26.0205 61.2426 58.1098 61.2426V119.212H0Z",fill:"currentColor"}),v.jsx("path",{d:"M0 57.9695C0 25.9576 26.0205 0 58.1098 0V57.9695H0Z",fill:"currentColor"})]});if(r==="live")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.3528 61.2702C61.3528 93.2858 87.28 119.25 119.25 119.25V61.2702H61.3528Z",fill:"currentColor"}),v.jsx("path",{d:"M119.25 57.9987C119.25 25.9831 93.3228 0.018911 61.3528 0.018911V57.9987H119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M57.8971 119.231C25.9272 119.231 0 93.2669 0 61.2513H57.8971V119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M0.0191358 0C31.9891 0 57.9163 25.9642 57.9163 57.9798H0.0191358V0Z",fill:"currentColor"})]});if(r==="participate")return v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M0 58.01C32.1003 58.01 58.1332 32.0323 58.1332 0H0V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M0 61.24C32.1003 61.24 58.1332 87.2177 58.1332 119.25H0V61.24Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 58.01C87.6937 58.01 61.6608 32.0323 61.6608 0H119.794V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 61.24C87.6937 61.24 61.6608 87.2177 61.6608 119.25H119.794V61.24Z",fill:"currentColor"})]})},J0t=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"543",height:"490",viewBox:"0 0 543 490",fill:"none",children:v.jsxs("g",{opacity:"0.05",children:[v.jsx("path",{d:"M0 251.765C145.603 251.765 263.669 358.442 263.669 490H0V251.765Z",fill:"currentColor"}),v.jsx("path",{d:"M0 0.0778264C145.603 0.0778264 263.669 106.755 263.669 238.313H0V0.0778264Z",fill:"currentColor"}),v.jsx("path",{d:"M543 489.922C543 358.364 424.934 251.687 279.331 251.687V489.922H543Z",fill:"currentColor"}),v.jsx("path",{d:"M543 238.235C543 106.677 424.934 0 279.331 0V238.235H543Z",fill:"currentColor"})]})}),e5t="_promoBannerBlock_330zc_1",t5t="_promoBannerBlockContainer_330zc_4",r5t="_promoBannerTop_330zc_4",i5t="_promoBannerTopLeft_330zc_4",n5t="_promoBannerTopRight_330zc_12",s5t="_promoBannerBgDesignContainer_330zc_15",a5t="_promoBannerBottom_330zc_18",o5t="_promoBannerBottomLeft_330zc_22",l5t="_promoBannerBrandPiller_330zc_27",u5t="_brandPillerLogo_330zc_34",c5t="_promoBannerTitleContainer_330zc_44",d5t="_promoBannerBottomRight_330zc_66",h5t="_promoBannerVerticalLine_330zc_108",wl={promoBannerBlock:e5t,promoBannerBlockContainer:t5t,promoBannerTop:r5t,promoBannerTopLeft:i5t,promoBannerTopRight:n5t,promoBannerBgDesignContainer:s5t,promoBannerBottom:a5t,promoBannerBottomLeft:o5t,promoBannerBrandPiller:l5t,brandPillerLogo:u5t,promoBannerTitleContainer:c5t,promoBannerBottomRight:d5t,promoBannerVerticalLine:h5t},p5t=r=>{const{introTitle:e,introText:t,brandPiller:i,pillerTitle:n="visit",title:s,boldTitle:a,content:o,image:l,action:u,extraClass:c}=r;return v.jsx("div",{className:`${wl.promoBannerBlock} promoBannerBlock ${c}`,children:v.jsx(wi,{border:!1,children:v.jsx("div",{className:`${wl.promoBlockWrapper} ${c}`,children:v.jsxs("div",{className:wl.promoBannerBlockContainer,children:[v.jsx(di,{children:v.jsxs("div",{className:`${wl.promoBannerTop}`,children:[v.jsx("div",{className:wl.promoBannerTopLeft,children:v.jsx("h4",{children:e})}),v.jsx("div",{className:wl.promoBannerVerticalLine}),v.jsx("div",{className:wl.promoBannerTopRight,children:v.jsx("div",{className:"typography",children:t})}),v.jsx("div",{className:wl.promoBannerBgDesignContainer,children:v.jsx(J0t,{})})]})}),v.jsx(di,{children:v.jsxs("div",{className:wl.promoBannerBottom,children:[v.jsxs("div",{className:wl.promoBannerBottomLeft,children:[v.jsxs("div",{className:wl.promoBannerBrandPiller,children:[v.jsx("div",{className:wl.brandPillerLogo,children:v.jsx(Q0t,{brandPiller:i})}),v.jsx("p",{children:n})]}),v.jsxs("div",{className:wl.promoBannerTitleContainer,children:[v.jsx("h1",{children:s}),v.jsx("h2",{children:a})]}),v.jsx("div",{className:"typography",children:o}),u]}),v.jsx("div",{className:wl.promoBannerBottomRight,children:v.jsx("img",{src:l,alt:s})})]})})]})})})})},f5t="_contactsBlock_xzvuj_1",g5t="_contactsBlockHeader_xzvuj_1",m5t="_contactsCardsWrapper_xzvuj_8",C5t="_contactCard_xzvuj_13",y5t="_contactCardWrapper_xzvuj_17",_5t="_contactContentWrapper_xzvuj_32",v5t="_contactCardHeader_xzvuj_32",b5t="_cardImg_xzvuj_38",T5t="_contactMiddleContent_xzvuj_80",w5t="_contactLink_xzvuj_98",W9={contactsBlock:f5t,contactsBlockHeader:g5t,contactsCardsWrapper:m5t,contactCard:C5t,contactCardWrapper:y5t,contactContentWrapper:_5t,contactCardHeader:v5t,cardImg:b5t,contactMiddleContent:T5t,contactLink:w5t},S5t=r=>{const{contactBlockTitle:e,children:t}=r;return v.jsx("div",{className:W9.contactsBlock,children:v.jsxs(wi,{children:[v.jsx(di,{children:e&&v.jsx("h1",{className:W9.contactsBlockHeader,children:e})}),v.jsx(di,{children:t&&v.jsx("div",{className:W9.contactsCardsWrapper,children:t})})]})})},x5t=r=>{const{image:e,name:t,position:i,email:n,mobile:s,linkedInUrl:a}=r;return v.jsx("div",{className:W9.contactCard,children:v.jsxs("div",{className:W9.contactCardWrapper,children:[v.jsx("div",{className:W9.cardImg,children:e&&v.jsx("img",{src:e,alt:`${t}-image`})}),v.jsxs("div",{className:W9.contactContentWrapper,children:[v.jsxs("div",{className:W9.contactCardHeader,children:[t&&v.jsx("h1",{children:t}),i&&v.jsx("h2",{children:i})]}),v.jsxs("div",{className:W9.contactMiddleContent,children:[n&&v.jsx("a",{href:`mailto:${n}`,children:n}),s&&v.jsx("a",{href:`tel:${s}`,children:s})]}),v.jsx("div",{className:W9.contactLink,children:a&&v.jsxs("a",{href:a,target:"_blank",rel:"noopener noreferrer",children:[v.jsx("p",{children:"Connect on LinkedIn"}),v.jsx(cC,{type:"regular"})]})})]})]})})},E5t="_imageContent_18jk5_1",k5t="_pillarlogo_18jk5_4",L5t="_pillarlogoFull_18jk5_9",M5t="_left_18jk5_24",I5t="_imageContentWrapper_18jk5_24",P5t="_right_18jk5_27",D5t="_imageWrapper_18jk5_34",A5t="_imageHolder_18jk5_38",O5t="_content_18jk5_58",R5t="_contentWrappper_18jk5_63",N5t="_title_18jk5_66",j5t="_desc_18jk5_75",H5t="_action_18jk5_106",B5t="_maskedImageContent_18jk5_119",V5t="_imageContentFull_18jk5_138",F5t="_svgBackgroundPillar_18jk5_141",U5t="_contentWrapper_18jk5_211",q5t="_list_18jk5_214",$5t="_listWrapper_18jk5_220",z5t="_imageContentFluid_18jk5_231",Z5t="_clipPath_18jk5_243",xr={imageContent:E5t,pillarlogo:k5t,pillarlogoFull:L5t,left:M5t,imageContentWrapper:I5t,right:P5t,imageWrapper:D5t,imageHolder:A5t,content:O5t,contentWrappper:R5t,title:N5t,desc:j5t,action:H5t,maskedImageContent:B5t,imageContentFull:V5t,svgBackgroundPillar:F5t,"top-left":"_top-left_18jk5_158","top-right":"_top-right_18jk5_161","bottom-right":"_bottom-right_18jk5_164","bottom-left":"_bottom-left_18jk5_167",contentWrapper:U5t,list:q5t,listWrapper:$5t,imageContentFluid:z5t,clipPath:Z5t},W5t=({pillar:r="visit",single:e,setOfFour:t,width:i=568,height:n=565})=>{const s=yt.useId(),a=`clip-${s}`,o=[`clip-1-${s}`,`clip-2-${s}`,`clip-3-${s}`,`clip-4-${s}`],l=[{x:0,y:0,width:275.811,height:274.703},{x:0,y:290.208,width:275.811,height:274.702},{x:292.189,y:0,width:275.811,height:274.703},{x:292.189,y:290.297,width:275.811,height:274.703}];if(r==="participate")return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M0 274.705C152.008 274.705 275.285 151.688 275.285 0H0V274.705Z"}),v.jsx("path",{d:"M0 290C152.008 290 275.285 413.017 275.285 564.705H0V290Z"}),v.jsx("path",{d:"M567.285 274.705C415.277 274.705 292.001 151.688 292.001 0H567.285V274.705Z"}),v.jsx("path",{d:"M567.285 290C415.277 290 292.001 413.017 292.001 564.705H567.285V290Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M0 274.705C152.008 274.705 275.285 151.688 275.285 0H0V274.705Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M0 290C152.008 290 275.285 413.017 275.285 564.705H0V290Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M567.285 274.705C415.277 274.705 292.001 151.688 292.001 0H567.285V274.705Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M567.285 290C415.277 290 292.001 413.017 292.001 564.705H567.285V290Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]});if(r==="live")return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M0.0906646 0C151.563 0 274.404 123.017 274.404 274.705H0.0906646V0Z"}),v.jsx("path",{d:"M274.314 564.91C122.842 564.91 0 441.893 0 290.205H274.314V564.91Z"}),v.jsx("path",{d:"M565 274.795C565 123.107 442.158 0.0895993 290.686 0.0895993V274.795H565Z"}),v.jsx("path",{d:"M290.686 290.295C290.686 441.983 413.528 565 565 565V290.295H290.686Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M0.0906646 0C151.563 0 274.404 123.017 274.404 274.705H0.0906646V0Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M274.314 564.91C122.842 564.91 0 441.893 0 290.205H274.314V564.91Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M565 274.795C565 123.107 442.158 0.0895993 290.686 0.0895993V274.795H565Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M290.686 290.295C290.686 441.983 413.528 565 565 565V290.295H290.686Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]});if(r==="business")return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M0 275.143C0 123.204 123.502 0 275.808 0V275.143H0Z"}),v.jsx("path",{d:"M0 565.82C0 413.881 123.502 290.678 275.808 290.678V565.82H0Z"}),v.jsx("path",{d:"M568 0.179636C415.693 0.179636 292.192 123.383 292.192 275.322H568V0.179636Z"}),v.jsx("path",{d:"M568 290.857C415.693 290.857 292.192 414.061 292.192 566H568V290.857Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M0 275.143C0 123.204 123.502 0 275.808 0V275.143H0Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M0 565.82C0 413.881 123.502 290.678 275.808 290.678V565.82H0Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M568 0.179636C415.693 0.179636 292.192 123.383 292.192 275.322H568V0.179636Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M568 290.857C415.693 290.857 292.192 414.061 292.192 566H568V290.857Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]});if(r==="taste"){const u=[{x:292.189,y:290.297,width:275.811,height:274.703},{x:292.189,y:0,width:275.811,height:274.792},{x:0,y:290.208,width:275.811,height:274.702},{x:0,y:0,width:275.811,height:274.703}];return v.jsxs("svg",{width:i,height:n,viewBox:"0 0 568 565",xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M292.189 565C444.537 565 568 442.034 568 290.297L292.189 290.297L292.189 565Z"}),v.jsx("path",{d:"M292.189 274.792C444.537 274.792 568 151.826 568 0.0897827L292.189 0.0897825L292.189 274.792Z"}),v.jsx("path",{d:"M275.811 564.91C123.463 564.91 0 441.944 0 290.208L275.811 290.208L275.811 564.91Z"}),v.jsx("path",{d:"M275.811 274.703C123.463 274.703 0 151.736 0 0L275.811 0L275.811 274.703Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M292.189 565C444.537 565 568 442.034 568 290.297L292.189 290.297L292.189 565Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M292.189 274.792C444.537 274.792 568 151.826 568 0.0897827L292.189 0.0897825L292.189 274.792Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M275.811 564.91C123.463 564.91 0 441.944 0 290.208L275.811 290.208L275.811 564.91Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M275.811 274.703C123.463 274.703 0 151.736 0 0L275.811 0L275.811 274.703Z"})})]}),e&&v.jsx("image",{href:e,x:0,y:0,width:568,height:565,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((c,g)=>{const b=u[g];return v.jsx("image",{href:c,x:b.x,y:b.y,width:b.width,height:b.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[g]})`},g)})]})}return v.jsxs("svg",{width:i,height:n,viewBox:`0 0 ${i} ${n}`,xmlns:"http://www.w3.org/2000/svg",children:[e&&v.jsx("defs",{children:v.jsxs("clipPath",{id:a,clipPathUnits:"userSpaceOnUse",children:[v.jsx("path",{d:"M275.811 0C123.463 0 0 122.966 0 274.703H275.811V0Z"}),v.jsx("path",{d:"M275.811 290.208C123.463 290.208 0 413.174 0 564.91H275.811V290.208Z"}),v.jsx("path",{d:"M292.189 0.0897284C444.537 0.0897286 568 123.056 568 274.792H292.189V0.0897284Z"}),v.jsx("path",{d:"M292.189 290.297C444.537 290.297 568 413.264 568 565H292.189V290.297Z"})]})}),t&&v.jsxs("defs",{children:[v.jsx("clipPath",{id:o[0],children:v.jsx("path",{d:"M275.811 0C123.463 0 0 122.966 0 274.703H275.811V0Z"})}),v.jsx("clipPath",{id:o[1],children:v.jsx("path",{d:"M275.811 290.208C123.463 290.208 0 413.174 0 564.91H275.811V290.208Z"})}),v.jsx("clipPath",{id:o[2],children:v.jsx("path",{d:"M292.189 0.0897284C444.537 0.0897286 568 123.056 568 274.792H292.189V0.0897284Z"})}),v.jsx("clipPath",{id:o[3],children:v.jsx("path",{d:"M292.189 290.297C444.537 290.297 568 413.264 568 565H292.189V290.297Z"})})]}),e&&v.jsx("image",{href:e,x:"0",y:"0",width:i,height:n,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${a})`}),t&&t.map((u,c)=>{const g=l[c];return v.jsx("image",{href:u,x:g.x,y:g.y,width:g.width,height:g.height,preserveAspectRatio:"xMidYMid slice",clipPath:`url(#${o[c]})`},c)})]})},aY=({brandPillar:r="visit",brandFullLogo:e})=>r==="taste"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"193",height:"67",viewBox:"0 0 193 67",fill:"none",children:[v.jsx("path",{d:"M79.6929 2.45439H70.1681V-0.158203H92.3385V2.45439H82.7753V25.7832H79.6929V2.45439Z",fill:"currentColor"}),v.jsx("path",{d:"M101.117 22.6947C100.332 24.8411 97.8524 26.1814 94.8466 26.1814C91.8407 26.1814 89.0072 24.3264 89.0072 20.9465C89.0072 17.5666 91.5823 15.8961 95.239 15.4591L101.04 14.6918V13.6332C101.04 10.7292 99.2883 9.48606 96.809 9.48606C94.3296 9.48606 92.9033 10.7584 92.6927 12.8659H89.8304C90.1846 9.15584 93.0565 7.04829 96.8855 7.04829C101.26 7.04829 103.979 9.15584 103.979 13.5555V21.9469C103.979 23.2872 104.056 24.5595 104.41 25.7638H101.442C101.222 24.744 101.117 23.5494 101.117 22.6753V22.6947ZM101.04 16.9548L96.1293 17.4987C93.8701 17.8289 92.013 18.4116 92.013 20.8785C92.013 22.5879 93.2 23.899 95.4496 23.899C98.2449 23.899 101.04 22.1217 101.04 18.5961V16.9548Z",fill:"currentColor"}),v.jsx("path",{d:"M109.167 20.3638C109.388 22.8695 111.675 23.9282 114.107 23.9282C116.538 23.9282 118.367 22.7627 118.367 20.8008C118.367 19.4605 117.505 18.5864 115.217 18.1494L112.03 17.4987C109.129 16.9548 107.013 15.7505 107.013 12.5551C107.013 9.3598 109.732 7.06771 113.714 7.06771C117.697 7.06771 120.415 8.8839 120.769 12.3415H118.013C117.802 10.4864 116.184 9.39865 113.714 9.39865C111.245 9.39865 109.77 10.5933 109.77 12.3803C109.77 13.944 110.843 14.5947 112.92 14.9929L116.5 15.6825C119.439 16.2652 121.152 17.722 121.152 20.6648C121.152 23.8602 118.175 26.23 114.136 26.23C109.837 26.23 106.611 24.3069 106.286 20.3832H109.148L109.167 20.3638Z",fill:"currentColor"}),v.jsx("path",{d:"M133.099 25.5695C131.778 25.9677 130.735 26.0746 129.95 26.0746C126.657 26.0746 124.972 24.4721 124.972 21.0922V9.78714H122.32V7.49505H124.972V2.84288H127.911V7.49505H132.64V9.78714H127.872V20.9465C127.872 22.8695 128.839 23.53 130.486 23.53C131.165 23.53 131.95 23.462 133.099 23.0929V25.5695Z",fill:"currentColor"}),v.jsx("path",{d:"M142.729 26.2203C137.646 26.2203 134.056 22.6267 134.056 16.7314C134.056 10.8361 137.742 7.06771 142.547 7.06771C147.889 7.06771 150.282 11.3897 150.282 16.0807V17.2753H136.957C137.101 21.4904 139.283 23.8213 142.729 23.8213C145.161 23.8213 146.635 22.617 147.382 20.4026H150.177C149.354 24.2875 146.233 26.2203 142.729 26.2203ZM137.072 15.0997H147.391C147.315 11.9335 145.783 9.50548 142.557 9.50548C139.723 9.50548 137.579 11.3605 137.072 15.0997Z",fill:"currentColor"}),v.jsx("path",{d:"M75.5384 51.9868C75.8256 54.9685 78.4772 55.9106 81.1671 55.9106C83.6752 55.9106 85.7908 54.8908 85.7908 52.7444C85.7908 51.1127 84.7473 50.3455 81.9617 49.8696L77.4433 49.0343C73.4324 48.3059 70.35 46.3052 70.35 41.6919C70.35 36.7872 74.7247 33.5919 80.5641 33.5919C87.1597 33.5919 90.9122 36.5347 91.4195 41.5559H85.5802C85.36 39.3026 83.4263 38.0983 80.6406 38.0983C78.0943 38.0983 76.4095 39.3706 76.4095 41.2257C76.4095 43.0807 77.6635 43.5178 80.095 43.984L84.9675 44.926C89.4093 45.7224 91.879 48.0534 91.879 52.3073C91.879 57.3189 87.2937 60.4074 81.3873 60.4074C74.83 60.4074 70.1011 57.6782 69.565 51.9771H75.5479L75.5384 51.9868Z",fill:"currentColor"}),v.jsx("path",{d:"M102.476 60.4171C96.9908 60.4171 92.7693 56.7847 92.7693 50.6757C92.7693 44.5667 97.0004 40.9343 102.409 40.9343C108.43 40.9343 111.398 45.334 111.398 50.3843V52.016H98.5416C98.8671 54.5994 100.121 56.1243 102.486 56.1243C104.209 56.1243 105.348 55.3279 105.817 53.9099H111.331C110.546 57.9404 107.215 60.4171 102.486 60.4171H102.476ZM98.6374 48.7915H105.836C105.836 46.8976 104.687 45.198 102.399 45.198C100.322 45.198 99.0681 46.5091 98.6374 48.7915Z",fill:"currentColor"}),v.jsx("path",{d:"M113.542 59.9897V33.2422H119.525V59.9897H113.542Z",fill:"currentColor"}),v.jsx("path",{d:"M141.514 53.8807L144.74 41.3811H150.541L144.845 59.9897H138.824L135.741 47.9271H135.665L132.544 59.9897H126.523L120.827 41.3811H126.772L129.998 53.8807H130.103L133.042 41.3811H138.412L141.418 53.8807H141.514Z",fill:"currentColor"}),v.jsx("path",{d:"M158.027 41.3811L162.468 54.3955H162.535L166.795 41.3811H172.673L165.723 60.0966C163.895 64.9624 161.243 66.7495 156.907 66.7495C156.189 66.7495 155.222 66.7106 154.437 66.5649V62.1264C154.935 62.2041 155.155 62.2041 155.509 62.2041C157.404 62.2041 158.228 61.8739 158.984 59.8052L151.996 41.3811H158.027Z",fill:"currentColor"}),v.jsx("path",{d:"M179.91 44.2462C180.81 42.3523 182.81 40.9343 185.567 40.9343C189.798 40.9343 192.373 43.5469 192.373 48.0534V59.9703H186.352V49.5005C186.352 46.917 185.347 45.6156 183.308 45.6156C181.441 45.6156 179.977 46.8491 179.977 50.0153V59.9703H173.994V41.3616H179.9V44.2365L179.91 44.2462Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0826 61.2232C47.2893 61.2232 60.423 47.898 60.423 31.4552H31.0826V61.2232Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0826 29.7749C47.2893 29.7749 60.423 16.4497 60.423 0.00690882H31.0826V29.7749Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3404 61.2232C13.1338 61.2232 0 47.898 0 31.4552H29.3404V61.2232Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3404 29.7652C13.1338 29.7652 5.84269e-08 16.44 5.84269e-08 -0.00280361H29.3404V29.7652Z",fill:"currentColor"})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.678 119.25C93.8369 119.25 119.898 93.2965 119.898 61.2707L61.678 61.2707L61.678 119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M61.678 57.9982C93.8369 57.9982 119.898 32.0447 119.898 0.0189667L61.678 0.0189616L61.678 57.9982Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 119.231C26.0618 119.231 0.000330335 93.2775 0.000333134 61.2518L58.2208 61.2518L58.2208 119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2208 57.9793C26.0618 57.9793 0.000335689 32.0258 0.000338489 4.77696e-06L58.2208 9.86676e-06L58.2208 57.9793Z",fill:"currentColor"})]}):r==="business"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"203",height:"67",viewBox:"0 0 203 67",fill:"none",children:[v.jsxs("g",{clipPath:"url(#clip0_4713_9167)",children:[v.jsx("path",{d:"M73.0897 25.7691V-0.1875H82.2102C87.9893 -0.1875 91.3306 2.21193 91.3306 6.75821C91.3306 9.15764 89.5143 11.6251 87.2997 12.2856C90.4953 13.0822 92.4961 15.4525 92.4961 18.5028C92.4961 23.2628 89.116 25.7691 83.3757 25.7691H73.0897ZM82.3947 11.2656C86.2507 11.2656 88.1739 9.63364 88.1739 6.79707C88.1739 3.9605 86.2799 2.35764 82.4336 2.35764H76.1784V11.2656H82.3947ZM76.1784 23.2239H83.23C87.1929 23.2239 89.3686 21.4754 89.3686 18.5028C89.3686 15.5302 87.1152 13.7039 83.1523 13.7039H76.1784V23.2239Z",fill:"currentColor"}),v.jsx("path",{d:"M106.454 25.7691V22.4565C105.579 24.7491 103.404 26.1965 100.636 26.1965C96.4882 26.1965 94.1668 23.6902 94.1668 19.2508V7.47707H97.2166V18.6776C97.2166 22.0582 98.6347 23.8359 101.51 23.8359C104.385 23.8359 106.347 21.9416 106.347 17.5508V7.47707H109.397V25.7594H106.454V25.7691Z",fill:"currentColor"}),v.jsx("path",{d:"M114.127 20.3485C114.35 22.8548 116.672 23.9136 119.139 23.9136C121.606 23.9136 123.461 22.7479 123.461 20.7856C123.461 19.4451 122.587 18.5708 120.265 18.1336L117.031 17.4828C114.088 16.9388 111.941 15.7342 111.941 12.5382C111.941 9.34221 114.7 7.04964 118.74 7.04964C122.781 7.04964 125.539 8.86621 125.899 12.3245H123.102C122.888 10.4691 121.246 9.38107 118.74 9.38107C116.235 9.38107 114.739 10.5856 114.739 12.3634C114.739 13.9274 115.827 14.5782 117.934 14.9765L121.567 15.6662C124.549 16.2491 126.287 17.7062 126.287 20.6496C126.287 23.8456 123.267 26.2159 119.168 26.2159C114.807 26.2159 111.533 24.2925 111.203 20.3582H114.107L114.127 20.3485Z",fill:"currentColor"}),v.jsx("path",{d:"M128.949 -0.00292805H132.368V3.66907H128.949V-0.00292805ZM129.172 7.48679H132.193V25.7691H129.172V7.48679Z",fill:"currentColor"}),v.jsx("path",{d:"M138.477 10.8285C139.351 8.57479 141.644 7.04964 144.441 7.04964C148.549 7.04964 150.987 9.63364 150.987 13.9954V25.7691H147.967V14.6462C147.967 11.2656 146.481 9.51707 143.606 9.51707C140.73 9.51707 138.594 11.2948 138.594 15.6954V25.7691H135.573V7.48679H138.477V10.8285Z",fill:"currentColor"}),v.jsx("path",{d:"M161.623 26.2062C156.465 26.2062 152.823 22.6119 152.823 16.7154C152.823 10.8188 156.563 7.04964 161.438 7.04964C166.858 7.04964 169.286 11.3725 169.286 16.0645V17.2594H155.766C155.912 21.4754 158.126 23.8068 161.623 23.8068C164.09 23.8068 165.586 22.6119 166.343 20.3874H169.18C168.344 24.2731 165.178 26.2062 161.623 26.2062ZM155.883 15.0834H166.353C166.275 11.9165 164.721 9.48793 161.448 9.48793C158.573 9.48793 156.397 11.3434 155.883 15.0834Z",fill:"currentColor"}),v.jsx("path",{d:"M173.58 20.3485C173.803 22.8548 176.124 23.9136 178.591 23.9136C181.059 23.9136 182.914 22.7479 182.914 20.7856C182.914 19.4451 182.04 18.5708 179.718 18.1336L176.484 17.4828C173.541 16.9388 171.394 15.7342 171.394 12.5382C171.394 9.34221 174.153 7.04964 178.193 7.04964C182.234 7.04964 184.992 8.86621 185.352 12.3245H182.554C182.341 10.4691 180.699 9.38107 178.193 9.38107C175.687 9.38107 174.191 10.5856 174.191 12.3634C174.191 13.9274 175.279 14.5782 177.387 14.9765L181.02 15.6662C184.002 16.2491 185.74 17.7062 185.74 20.6496C185.74 23.8456 182.719 26.2159 178.621 26.2159C174.259 26.2159 170.986 24.2925 170.656 20.3582H173.56L173.58 20.3485Z",fill:"currentColor"}),v.jsx("path",{d:"M189.965 20.3485C190.189 22.8548 192.51 23.9136 194.977 23.9136C197.444 23.9136 199.299 22.7479 199.299 20.7856C199.299 19.4451 198.425 18.5708 196.104 18.1336L192.869 17.4828C189.926 16.9388 187.78 15.7342 187.78 12.5382C187.78 9.34221 190.538 7.04964 194.579 7.04964C198.619 7.04964 201.378 8.86621 201.737 12.3245H198.94C198.726 10.4691 197.085 9.38107 194.579 9.38107C192.073 9.38107 190.577 10.5856 190.577 12.3634C190.577 13.9274 191.665 14.5782 193.773 14.9765L197.405 15.6662C200.387 16.2491 202.126 17.7062 202.126 20.6496C202.126 23.8456 199.105 26.2159 195.006 26.2159C190.645 26.2159 187.372 24.2925 187.042 20.3582H189.946L189.965 20.3485Z",fill:"currentColor"}),v.jsx("path",{d:"M76.6155 51.9782C76.9069 54.9605 79.5974 55.9028 82.3267 55.9028C84.8715 55.9028 87.0181 54.8828 87.0181 52.7359C87.0181 51.1039 85.9593 50.3365 83.1329 49.8605L78.5484 49.0251C74.4787 48.2965 71.3511 46.2954 71.3511 41.6811C71.3511 36.7754 75.7899 33.5696 81.7148 33.5696C88.407 33.5696 92.2145 36.5131 92.7292 41.5354H86.8044C86.581 39.2816 84.619 38.0868 81.7925 38.0868C79.2089 38.0868 77.4994 39.3594 77.4994 41.2148C77.4994 43.0702 78.7718 43.5074 81.2389 43.9736L86.1827 44.9159C90.6895 45.7125 93.1955 48.0439 93.1955 52.2988C93.1955 57.3113 88.543 60.4005 82.5501 60.4005C75.8968 60.4005 71.0986 57.6708 70.5547 51.9685H76.6252L76.6155 51.9782Z",fill:"currentColor"}),v.jsx("path",{d:"M103.948 60.4102C98.3822 60.4102 94.0988 56.7771 94.0988 50.6668C94.0988 44.5565 98.3919 40.9234 103.88 40.9234C109.989 40.9234 113 45.3239 113 50.3754V52.0074H99.9557C100.286 54.5914 101.558 56.1165 103.957 56.1165C105.706 56.1165 106.862 55.3199 107.337 53.9016H112.932C112.136 57.9331 108.756 60.4102 103.957 60.4102H103.948ZM100.062 48.7822H107.367C107.367 46.8879 106.201 45.1879 103.88 45.1879C101.772 45.1879 100.5 46.4994 100.062 48.7822Z",fill:"currentColor"}),v.jsx("path",{d:"M115.176 59.9828V33.2296H121.246V59.9828H115.176Z",fill:"currentColor"}),v.jsx("path",{d:"M143.557 53.8725L146.83 41.3702H152.716L146.937 59.9828H140.828L137.7 47.9176H137.622L134.456 59.9828H128.347L122.567 41.3702H128.599L131.872 53.8725H131.979L134.961 41.3702H140.41L143.46 53.8725H143.557Z",fill:"currentColor"}),v.jsx("path",{d:"M160.321 41.3702L164.828 54.3874H164.896L169.218 41.3702H175.182L168.131 60.0896C166.275 64.9565 163.585 66.7439 159.185 66.7439C158.457 66.7439 157.476 66.7051 156.679 66.5594V62.1199C157.184 62.1976 157.408 62.1976 157.767 62.1976C159.69 62.1976 160.525 61.8674 161.293 59.7982L154.202 41.3702H160.321Z",fill:"currentColor"}),v.jsx("path",{d:"M182.515 44.2359C183.428 42.3416 185.458 40.9234 188.256 40.9234C192.549 40.9234 195.162 43.5365 195.162 48.0439V59.9634H189.052V49.4914C189.052 46.9074 188.032 45.6056 185.964 45.6056C184.07 45.6056 182.583 46.8394 182.583 50.0062V59.9634H176.513V41.3508H182.506V44.2262L182.515 44.2359Z",fill:"currentColor"}),v.jsx("path",{d:"M61.2885 31.4714C44.8543 31.4714 31.5282 44.7994 31.5282 61.2359H61.2885V31.4714Z",fill:"currentColor"}),v.jsx("path",{d:"M61.2885 0.0262155C44.8543 0.0262155 31.5282 13.3542 31.5282 29.7908H61.2885V0.0262155Z",fill:"currentColor"}),v.jsx("path",{d:"M0 61.2165C0 44.7799 13.3261 31.4519 29.7604 31.4519V61.2165H0Z",fill:"currentColor"}),v.jsx("path",{d:"M0 29.7714C0 13.3348 13.3261 0.00678274 29.7604 0.00678274V29.7714H0Z",fill:"currentColor"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_4713_9167",children:v.jsx("rect",{width:"203",height:"67",fill:"white"})})})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M119.671 61.2805C87.582 61.2805 61.5616 87.2381 61.5616 119.25H119.671V61.2805Z",fill:"currentColor"}),v.jsx("path",{d:"M119.671 0.0378473C87.582 0.0378473 61.5616 25.9955 61.5616 58.0074H119.671V0.0378473Z",fill:"currentColor"}),v.jsx("path",{d:"M0 119.212C0 87.2003 26.0205 61.2426 58.1098 61.2426V119.212H0Z",fill:"currentColor"}),v.jsx("path",{d:"M0 57.9695C0 25.9576 26.0205 0 58.1098 0V57.9695H0Z",fill:"currentColor"})]}):r==="live"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"193",height:"66",viewBox:"0 0 193 66",fill:"none",children:[v.jsxs("g",{clipPath:"url(#clip0_4713_9228)",children:[v.jsx("path",{d:"M72.0742 -0.136921H75.1563V22.8348H88.9107V25.4074H72.0742V-0.146484V-0.136921Z",fill:"currentColor"}),v.jsx("path",{d:"M91.6291 0.0447881H94.9983V3.65982H91.6291V0.0447881ZM91.8492 7.41831H94.826V25.417H91.8492V7.41831Z",fill:"currentColor"}),v.jsx("path",{d:"M97.4007 7.41831H100.445L106.245 22.481H106.321L111.873 7.41831H114.85L107.939 25.417H104.608L97.4103 7.41831H97.4007Z",fill:"currentColor"}),v.jsx("path",{d:"M124.182 25.8473C119.1 25.8473 115.51 22.3088 115.51 16.5037C115.51 10.6986 119.195 6.98795 124 6.98795C129.341 6.98795 131.734 11.2437 131.734 15.863V17.0393H118.41C118.554 21.1899 120.736 23.4851 124.182 23.4851C126.613 23.4851 128.087 22.3088 128.834 20.1188H131.629C130.806 23.9442 127.685 25.8473 124.182 25.8473ZM118.525 14.897H128.843C128.767 11.7793 127.235 9.38841 124.01 9.38841C121.177 9.38841 119.033 11.2151 118.525 14.897Z",fill:"currentColor"}),v.jsx("path",{d:"M75.5487 51.2196C75.8359 54.1556 78.4872 55.0832 81.1769 55.0832C83.6846 55.0832 85.7999 54.0791 85.7999 51.9655C85.7999 50.3588 84.7566 49.6033 81.9713 49.1347L77.4535 48.3122C73.443 47.595 70.3609 45.6249 70.3609 41.0821C70.3609 36.2525 74.7352 33.1061 80.5738 33.1061C87.1687 33.1061 90.9208 36.0039 91.428 40.9483H85.5894C85.3692 38.7295 83.4357 37.5436 80.6504 37.5436C78.1044 37.5436 76.4198 38.7964 76.4198 40.6231C76.4198 42.4497 77.6736 42.8801 80.1048 43.3391L84.9768 44.2668C89.418 45.051 91.8875 47.3463 91.8875 51.5351C91.8875 56.47 87.3027 59.5207 81.397 59.5207C74.8404 59.5207 70.1121 56.8334 69.5761 51.2196H75.5583H75.5487Z",fill:"currentColor"}),v.jsx("path",{d:"M102.483 59.5303C96.9987 59.5303 92.7776 55.9535 92.7776 49.938C92.7776 43.9225 97.0083 40.3457 102.416 40.3457C108.437 40.3457 111.404 44.6781 111.404 49.6511V51.2578H98.5493C98.8748 53.8017 100.129 55.3032 102.493 55.3032C104.216 55.3032 105.355 54.519 105.824 53.1227H111.337C110.552 57.0916 107.221 59.5303 102.493 59.5303H102.483ZM98.6546 48.0731H105.852C105.852 46.2082 104.704 44.5346 102.416 44.5346C100.339 44.5346 99.0853 45.8257 98.6546 48.0731Z",fill:"currentColor"}),v.jsx("path",{d:"M113.548 59.0999V32.7618H119.53V59.0999H113.548Z",fill:"currentColor"}),v.jsx("path",{d:"M141.516 53.0844L144.742 40.7761H150.542L144.847 59.0999H138.827L135.745 47.222H135.668L132.548 59.0999H126.527L120.832 40.7761H126.776L130.002 53.0844H130.107L133.045 40.7761H138.415L141.421 53.0844H141.516Z",fill:"currentColor"}),v.jsx("path",{d:"M152.016 40.7761H158.037L162.478 53.5913H162.545L166.805 40.7761H172.681L165.732 59.2051C163.904 63.9965 161.253 65.7562 156.917 65.7562C156.199 65.7562 155.232 65.7179 154.448 65.5745V61.2039C154.945 61.2709 155.165 61.2709 155.52 61.2709C157.415 61.2709 158.238 60.9457 158.994 58.9087L152.007 40.7665L152.016 40.7761Z",fill:"currentColor"}),v.jsx("path",{d:"M179.908 43.5974C180.808 41.7325 182.808 40.3362 185.565 40.3362C189.796 40.3362 192.37 42.9088 192.37 47.3463V59.0808H186.35V48.7713C186.35 46.2273 185.345 44.9458 183.306 44.9458C181.439 44.9458 179.975 46.1604 179.975 49.2781V59.0808H173.993V40.757H179.898V43.5878L179.908 43.5974Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0982 30.9926C31.0982 47.1837 44.24 60.3145 60.4447 60.3145V30.9926H31.0982Z",fill:"currentColor"}),v.jsx("path",{d:"M60.4447 29.3381C60.4447 13.1469 47.3029 0.0160967 31.0982 0.0160967V29.3381H60.4447Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3466 60.305C13.1418 60.305 0 47.1741 0 30.983H29.3466V60.305Z",fill:"currentColor"}),v.jsx("path",{d:"M0.00969946 0.00653289C16.2144 0.00653289 29.3563 13.1373 29.3563 29.3285H0.00969946V0.00653289Z",fill:"currentColor"})]}),v.jsx("defs",{children:v.jsx("clipPath",{id:"clip0_4713_9228",children:v.jsx("rect",{width:"193",height:"65.9745",fill:"white"})})})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M61.3528 61.2702C61.3528 93.2858 87.28 119.25 119.25 119.25V61.2702H61.3528Z",fill:"currentColor"}),v.jsx("path",{d:"M119.25 57.9987C119.25 25.9831 93.3228 0.018911 61.3528 0.018911V57.9987H119.25Z",fill:"currentColor"}),v.jsx("path",{d:"M57.8971 119.231C25.9272 119.231 0 93.2669 0 61.2513H57.8971V119.231Z",fill:"currentColor"}),v.jsx("path",{d:"M0.0191358 0C31.9891 0 57.9163 25.9642 57.9163 57.9798H0.0191358V0Z",fill:"currentColor"})]}):r==="participate"?e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"232",height:"67",viewBox:"0 0 232 67",fill:"none",children:[v.jsx("path",{d:"M76.2994 15.36V25.791H73.2078V-0.160156H82.8133C88.598 -0.160156 91.9424 2.49129 91.9424 7.5805C91.9424 12.6697 88.598 15.36 82.8522 15.36H76.2994ZM82.7452 12.7474C86.673 12.7474 88.8216 11.1158 88.8216 7.59022C88.8216 4.06467 86.673 2.46215 82.7452 2.46215H76.3092V12.7474H82.7452Z",fill:"currentColor"}),v.jsx("path",{d:"M104.173 22.7025C103.376 24.8489 100.858 26.1892 97.8048 26.1892C94.7521 26.1892 91.8743 24.3341 91.8743 20.9543C91.8743 17.5744 94.4896 15.9039 98.2034 15.4668L104.095 14.6996V13.6507C104.095 10.7467 102.316 9.50353 99.7979 9.50353C97.2798 9.50353 95.8312 10.7758 95.6174 12.8834H92.7104C93.0701 9.17331 95.9868 7.06575 99.8757 7.06575C104.319 7.06575 107.08 9.17331 107.08 13.573V21.9643C107.08 23.3046 107.158 24.5769 107.517 25.7812H104.494C104.27 24.7615 104.163 23.5669 104.163 22.6928L104.173 22.7025ZM104.095 16.9625L99.1076 17.5064C96.8132 17.8366 94.9271 18.4194 94.9271 20.8863C94.9271 22.5956 96.1326 23.9068 98.4173 23.9068C101.256 23.9068 104.095 22.1294 104.095 18.6039V16.9625Z",fill:"currentColor"}),v.jsx("path",{d:"M120.428 10.0183C119.991 9.91144 119.339 9.87259 118.863 9.87259C115.956 9.87259 113.292 12.1647 113.292 16.778V25.791H110.269V7.51252H113.176V11.8345C113.973 8.81396 116.306 7.11432 118.999 7.11432C119.476 7.11432 119.981 7.15317 120.419 7.26V10.0183H120.428Z",fill:"currentColor"}),v.jsx("path",{d:"M132.688 25.5773C131.346 25.9755 130.287 26.0823 129.489 26.0823C126.145 26.0823 124.434 24.4798 124.434 21.1V9.7949H121.741V7.50281H124.434V2.85064H127.418V7.50281H132.221V9.7949H127.38V20.9543C127.38 22.8773 128.362 23.5377 130.034 23.5377C130.724 23.5377 131.521 23.46 132.688 23.1007V25.5773Z",fill:"currentColor"}),v.jsx("path",{d:"M135.741 0.0243769H139.163V3.6956H135.741V0.0243769ZM135.955 7.51252H138.978V25.791H135.955V7.51252Z",fill:"currentColor"}),v.jsx("path",{d:"M150.363 7.07547C154.436 7.07547 157.129 9.39669 157.713 13.2913H154.835C154.329 10.8535 152.832 9.51324 150.363 9.51324C146.766 9.51324 144.724 12.3881 144.724 16.6712C144.724 20.9543 146.766 23.7902 150.363 23.7902C152.842 23.7902 154.329 22.45 154.835 20.0122H157.713C157.129 23.9359 154.436 26.228 150.363 26.228C145.268 26.228 141.739 22.5179 141.739 16.6712C141.739 10.8244 145.268 7.07547 150.363 7.07547Z",fill:"currentColor"}),v.jsx("path",{d:"M160.114 0.0243769H163.536V3.6956H160.114V0.0243769ZM160.328 7.51252H163.352V25.791H160.328V7.51252Z",fill:"currentColor"}),v.jsx("path",{d:"M170.478 32.2593H167.454V7.51252H170.361V10.8535C171.197 8.99849 173.375 7.07547 176.545 7.07547C181.201 7.07547 184.692 10.8535 184.692 16.6712C184.692 22.4888 181.201 26.228 176.545 26.228C173.521 26.228 171.382 24.4507 170.468 22.5956V32.2593H170.478ZM170.332 16.8848C170.332 21.032 172.364 23.8582 175.932 23.8582C179.5 23.8582 181.649 20.9154 181.649 16.6615C181.649 12.4075 179.539 9.42583 175.932 9.42583C172.325 9.42583 170.332 12.223 170.332 16.3701V16.8848Z",fill:"currentColor"}),v.jsx("path",{d:"M199.071 22.7025C198.274 24.8489 195.755 26.1892 192.703 26.1892C189.65 26.1892 186.772 24.3341 186.772 20.9543C186.772 17.5744 189.387 15.9039 193.101 15.4668L198.993 14.6996V13.6507C198.993 10.7467 197.214 9.50353 194.696 9.50353C192.178 9.50353 190.729 10.7758 190.515 12.8834H187.608C187.968 9.17331 190.885 7.06575 194.774 7.06575C199.217 7.06575 201.978 9.17331 201.978 13.573V21.9643C201.978 23.3046 202.055 24.5769 202.415 25.7812H199.392C199.168 24.7615 199.061 23.5669 199.061 22.6928L199.071 22.7025ZM199.003 16.9625L194.015 17.5064C191.721 17.8366 189.835 18.4194 189.835 20.8863C189.835 22.5956 191.04 23.9068 193.325 23.9068C196.164 23.9068 199.003 22.1294 199.003 18.6039V16.9625Z",fill:"currentColor"}),v.jsx("path",{d:"M214.422 25.5773C213.08 25.9755 212.021 26.0823 211.223 26.0823C207.879 26.0823 206.168 24.4798 206.168 21.1V9.7949H203.475V7.50281H206.168V2.85064H209.153V7.50281H213.955V9.7949H209.114V20.9543C209.114 22.8773 210.096 23.5377 211.768 23.5377C212.458 23.5377 213.255 23.46 214.422 23.1007V25.5773Z",fill:"currentColor"}),v.jsx("path",{d:"M224.212 26.228C219.05 26.228 215.404 22.6345 215.404 16.7391C215.404 10.8438 219.147 7.07547 224.028 7.07547C229.452 7.07547 231.883 11.3974 231.883 16.0884V17.283H218.35C218.496 21.4982 220.712 23.8291 224.212 23.8291C226.682 23.8291 228.179 22.6345 228.937 20.4104H231.776C230.94 24.2953 227.771 26.228 224.212 26.228ZM218.457 15.1075H228.937C228.859 11.9413 227.304 9.51324 224.028 9.51324C221.15 9.51324 218.972 11.3683 218.457 15.1075Z",fill:"currentColor"}),v.jsx("path",{d:"M76.7369 51.9946C77.0286 54.9763 79.7216 55.9184 82.4536 55.9184C85.0008 55.9184 87.1494 54.8986 87.1494 52.7522C87.1494 51.1205 86.0896 50.3532 83.2605 49.8773L78.6716 49.0421C74.5981 48.3137 71.4675 46.3129 71.4675 41.6996C71.4675 36.7949 75.9106 33.5899 81.8411 33.5899C88.5396 33.5899 92.3507 36.5327 92.866 41.5539H86.9355C86.7119 39.3007 84.748 38.1061 81.9188 38.1061C79.3327 38.1061 77.6217 39.3784 77.6217 41.2334C77.6217 43.0885 78.8952 43.5255 81.3647 43.9917L86.3132 44.9338C90.8243 45.7302 93.3326 48.0611 93.3326 52.3151C93.3326 57.3266 88.6757 60.4151 82.6772 60.4151C76.0175 60.4151 71.2148 57.686 70.6703 51.9849H76.7467L76.7369 51.9946Z",fill:"currentColor"}),v.jsx("path",{d:"M104.095 60.4248C98.5243 60.4248 94.2368 56.7925 94.2368 50.6835C94.2368 44.5745 98.534 40.9421 104.027 40.9421C110.142 40.9421 113.156 45.3417 113.156 50.3921V52.0237H100.099C100.43 54.6072 101.703 56.132 104.105 56.132C105.855 56.132 107.012 55.3356 107.488 53.9176H113.088C112.291 57.9482 108.908 60.4248 104.105 60.4248H104.095ZM100.206 48.7993H107.517C107.517 46.9054 106.351 45.2057 104.027 45.2057C101.917 45.2057 100.644 46.5169 100.206 48.7993Z",fill:"currentColor"}),v.jsx("path",{d:"M115.334 59.9975V33.25H121.41V59.9975H115.334Z",fill:"currentColor"}),v.jsx("path",{d:"M143.742 53.8885L147.018 41.3888H152.91L147.125 59.9975H141.01L137.88 47.9349H137.802L134.632 59.9975H128.517L122.732 41.3888H128.77L132.046 53.8885H132.153L135.138 41.3888H140.592L143.645 53.8885H143.742Z",fill:"currentColor"}),v.jsx("path",{d:"M160.522 41.3888L165.034 54.4032H165.102L169.428 41.3888H175.397L168.339 60.1043C166.482 64.9702 163.789 66.7572 159.385 66.7572C158.656 66.7572 157.674 66.7184 156.877 66.5727V62.1342C157.382 62.2119 157.606 62.2119 157.965 62.2119C159.89 62.2119 160.727 61.8817 161.495 59.813L154.397 41.3888H160.522Z",fill:"currentColor"}),v.jsx("path",{d:"M182.738 44.2539C183.651 42.3601 185.683 40.9421 188.483 40.9421C192.781 40.9421 195.396 43.5547 195.396 48.0611V59.9781H189.281V49.5083C189.281 46.9248 188.26 45.6234 186.189 45.6234C184.293 45.6234 182.806 46.8568 182.806 50.023V59.9781H176.729V41.3694H182.728V44.2442L182.738 44.2539Z",fill:"currentColor"}),v.jsx("path",{d:"M2.85646e-08 29.773C16.4596 29.773 29.8081 16.4381 29.8081 -0.00475679H2.85646e-08V29.773Z",fill:"currentColor"}),v.jsx("path",{d:"M29.8081 61.2309C29.8081 44.7881 16.4596 31.4532 0 31.4532V61.2309H29.8081Z",fill:"currentColor"}),v.jsx("path",{d:"M61.3954 29.7827C44.9358 29.7827 31.5873 16.4478 31.5873 0.00495569H61.3954V29.7827Z",fill:"currentColor"}),v.jsx("path",{d:"M31.5873 61.2407C31.5873 44.7978 44.9358 31.4629 61.3954 31.4629V61.2407H31.5873Z",fill:"currentColor"})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M0 58.01C32.1003 58.01 58.1332 32.0323 58.1332 0H0V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M0 61.24C32.1003 61.24 58.1332 87.2177 58.1332 119.25H0V61.24Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 58.01C87.6937 58.01 61.6608 32.0323 61.6608 0H119.794V58.01Z",fill:"currentColor"}),v.jsx("path",{d:"M119.794 61.24C87.6937 61.24 61.6608 87.2177 61.6608 119.25H119.794V61.24Z",fill:"currentColor"})]}):e?v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"193",height:"66",viewBox:"0 0 193 66",fill:"none",children:[v.jsx("path",{d:"M69.274 0H72.4994L81.3812 22.3221H81.4578L90.3395 0H93.4884L83.104 25.4674H79.5915L69.274 0Z",fill:"currentColor"}),v.jsx("path",{d:"M95.4504 0.181115H98.8194V3.78392H95.4504V0.181115ZM95.6705 7.52969H98.6471V25.4675H95.6705V7.52969Z",fill:"currentColor"}),v.jsx("path",{d:"M104.016 20.1585C104.236 22.6176 106.524 23.6565 108.955 23.6565C111.386 23.6565 113.214 22.5127 113.214 20.5874C113.214 19.2721 112.353 18.4143 110.065 17.9854L106.878 17.3468C103.978 16.813 101.863 15.6312 101.863 12.4954C101.863 9.35963 104.581 7.11026 108.563 7.11026C112.544 7.11026 115.262 8.8926 115.616 12.2857H112.86C112.649 10.4653 111.032 9.39775 108.563 9.39775C106.093 9.39775 104.619 10.5701 104.619 12.3238C104.619 13.8584 105.691 14.497 107.768 14.8877L111.348 15.5645C114.286 16.1363 115.999 17.566 115.999 20.454C115.999 23.5897 113.023 25.9154 108.984 25.9154C104.686 25.9154 101.461 24.0282 101.136 20.1776H103.997L104.016 20.1585Z",fill:"currentColor"}),v.jsx("path",{d:"M118.621 0.181115H121.99V3.78392H118.621V0.181115ZM118.842 7.52969H121.818V25.4675H118.842V7.52969Z",fill:"currentColor"}),v.jsx("path",{d:"M134.949 25.2578C133.629 25.6485 132.585 25.7534 131.801 25.7534C128.508 25.7534 126.824 24.1807 126.824 20.8639V9.76952H124.173V7.52015H126.824V2.9547H129.762V7.52015H134.49V9.76952H129.724V20.7209C129.724 22.6081 130.69 23.2562 132.337 23.2562C133.016 23.2562 133.801 23.1895 134.949 22.8273V25.2578Z",fill:"currentColor"}),v.jsx("path",{d:"M75.476 51.1922C75.7631 54.1183 78.4142 55.0429 81.1036 55.0429C83.6112 55.0429 85.7264 54.0421 85.7264 51.9357C85.7264 50.3344 84.6831 49.5815 81.898 49.1144L77.3806 48.2947C73.3704 47.5799 70.2885 45.6165 70.2885 41.0891C70.2885 36.2759 74.6624 33.1401 80.5007 33.1401C87.095 33.1401 90.8468 36.0281 91.354 40.9557H85.5158C85.2957 38.7445 83.3624 37.5626 80.5772 37.5626C78.0314 37.5626 76.3469 38.8112 76.3469 40.6316C76.3469 42.4521 77.6007 42.881 80.0317 43.3385L84.9033 44.263C89.3442 45.0446 91.8134 47.3321 91.8134 51.5068C91.8134 56.4249 87.229 59.4558 81.3238 59.4558C74.7677 59.4558 70.0397 56.7775 69.5037 51.1827H75.4855L75.476 51.1922Z",fill:"currentColor"}),v.jsx("path",{d:"M102.399 59.4653C96.9147 59.4653 92.694 55.9006 92.694 49.9055C92.694 43.9104 96.9243 40.3457 102.332 40.3457C108.352 40.3457 111.319 44.6633 111.319 49.6196V51.2208H98.4652C98.7906 53.7561 100.044 55.2525 102.408 55.2525C104.131 55.2525 105.27 54.471 105.739 53.0794H111.252C110.467 57.0349 107.136 59.4653 102.408 59.4653H102.399ZM98.5705 48.0469H105.768C105.768 46.1883 104.619 44.5204 102.332 44.5204C100.255 44.5204 99.0012 45.8071 98.5705 48.0469Z",fill:"currentColor"}),v.jsx("path",{d:"M113.463 59.0364V32.7874H119.445V59.0364H113.463Z",fill:"currentColor"}),v.jsx("path",{d:"M141.429 53.0413L144.654 40.7746H150.454L144.76 59.0365H138.739L135.658 47.1987H135.581L132.461 59.0365H126.441L120.746 40.7746H126.69L129.915 53.0413H130.02L132.959 40.7746H138.328L141.333 53.0413H141.429Z",fill:"currentColor"}),v.jsx("path",{d:"M157.948 40.7746L162.389 53.5465H162.456L166.715 40.7746H172.592L165.643 59.1413C163.815 63.9164 161.164 65.6702 156.828 65.6702C156.111 65.6702 155.144 65.6321 154.359 65.4891V61.1333C154.857 61.2096 155.077 61.2096 155.431 61.2096C157.326 61.2096 158.149 60.8855 158.905 58.8554L151.919 40.7746H157.948Z",fill:"currentColor"}),v.jsx("path",{d:"M179.827 43.5958C180.727 41.7372 182.727 40.3457 185.484 40.3457C189.714 40.3457 192.289 42.9096 192.289 47.3321V59.0269H186.268V48.7522C186.268 46.2169 185.264 44.9397 183.225 44.9397C181.359 44.9397 179.894 46.1502 179.894 49.2574V59.0269H173.912V40.7651H179.818V43.5863L179.827 43.5958Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3348 0.162032C13.1312 0.162032 0 13.2389 0 29.3752H29.3348V0.162032Z",fill:"currentColor"}),v.jsx("path",{d:"M29.3348 31.0241C13.1312 31.0241 1.62262e-07 44.101 1.62262e-07 60.2373H29.3348V31.0241Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0766 0.171575C47.2801 0.171575 60.4114 13.2484 60.4114 29.3848H31.0766V0.171575Z",fill:"currentColor"}),v.jsx("path",{d:"M31.0766 31.0337C47.2801 31.0337 60.4114 44.1105 60.4114 60.2469H31.0766V31.0337Z",fill:"currentColor"})]}):v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[v.jsx("path",{d:"M58.2132 5.43071e-08C26.0583 2.43097e-08 -2.4212e-08 25.9535 -5.40888e-08 57.9793L58.2132 57.9793L58.2132 5.43071e-08Z",fill:"currentColor"}),v.jsx("path",{d:"M58.2132 61.2518C26.0583 61.2518 2.40646e-07 87.2053 2.10769e-07 119.231L58.2132 119.231L58.2132 61.2518Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 0.0189383C93.8249 0.0189383 119.883 25.9725 119.883 57.9982L61.6699 57.9982L61.6699 0.0189383Z",fill:"currentColor"}),v.jsx("path",{d:"M61.6699 61.2707C93.8249 61.2707 119.883 87.2242 119.883 119.25L61.6699 119.25L61.6699 61.2707Z",fill:"currentColor"})]});SS.registerPlugin(ii);const G5t=r=>{const{pillar:e,displayFullLogo:t=!1,displayIcon:i=!0,displayIconTitle:n="",title:s,boldTitle:a,content:o,action:l,images:u,imageSrc:c,alignment:g="right",imageBorder:b="top-right",rendition:T="contained",list:L,spaceTop:_="none",spaceBottom:D="none",watermark:N}=r,V=yt.useRef(null);yt.useEffect(()=>{SS.to(V.current,{y:-80,ease:"none",scrollTrigger:{trigger:V.current,start:"10% 50%",end:"bottom top",scrub:2.5,immediateRender:!1}})},[]);const R=v.jsxs("div",{className:`${xr.pillarlogo} ${t?xr.pillarlogoFull:""}`,children:[v.jsx(aY,{brandPillar:e,brandFullLogo:t}),n&&v.jsx("p",{children:n})]});return T==="full"?v.jsxs("div",{className:`${xr.imageContent} ${xr.imageContentFull} ${xr[b]} `,children:[v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,children:[v.jsx("div",{className:xr.content,ref:V,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h3",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),L&&v.jsx("ul",{className:xr.list,children:L.map(q=>v.jsx("li",{children:v.jsxs("div",{className:xr.listWrapper,children:[v.jsx(bue,{type:"regular"}),q.label]})},q.id))}),l&&v.jsx("div",{className:xr.action,children:l})]})}),v.jsx("div",{className:xr.imageWrapper,children:v.jsx("div",{className:xr.imageHolder,children:c&&v.jsx("img",{src:c,alt:s??""})})})]})})}),e&&N&&v.jsx("div",{className:xr.svgBackgroundPillar,children:v.jsx(mue,{pillar:e})})]}):T==="fluid"?v.jsx("div",{className:`${xr.imageContent} ${xr.imageContentFluid}`,children:v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,children:[v.jsx("div",{className:xr.imageWrapper,children:v.jsxs("div",{className:xr.imageHolder,children:[c&&v.jsx("img",{src:c,alt:s??""}),v.jsx("div",{className:xr.clipPath,children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 362 725",fill:"none",children:v.jsx("path",{d:"M0 0C0 296.003 141.877 559.012 361.463 725H0V0Z",fill:"currentColor"})})})]})}),v.jsx("div",{className:xr.content,ref:V,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h3",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),l&&v.jsx("div",{className:xr.action,children:l})]})})]})})})}):T==="masked"?v.jsx("div",{className:`${xr.imageContent} ${xr.maskedImageContent} ${xr[g]}`,children:v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,ref:V,children:[v.jsx("div",{className:xr.imageWrapper,children:v.jsx(W5t,{pillar:e,single:u?.single,setOfFour:u?.setOfFour})}),v.jsx("div",{className:xr.content,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h4",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),l&&v.jsx("div",{className:xr.action,children:l})]})})]})})})}):v.jsx("div",{className:`${xr.imageContent} ${xr[g]}`,children:v.jsx(wi,{spaceTop:_,spaceBottom:D,children:v.jsx(di,{children:v.jsxs("div",{className:xr.imageContentWrapper,ref:V,children:[v.jsx("div",{className:xr.imageWrapper,children:v.jsx("div",{className:xr.imageHolder,children:c&&v.jsx("img",{src:c,alt:""})})}),v.jsx("div",{className:xr.content,children:v.jsxs("div",{className:xr.contentWrapper,children:[i&&R,v.jsx("div",{className:xr.title,children:v.jsxs("h3",{children:[s,a&&v.jsxs(v.Fragment,{children:[s&&v.jsx("br",{}),v.jsx("span",{children:a})]})]})}),o&&v.jsx("div",{className:`typography ${xr.desc}`,children:v.jsx("div",{dangerouslySetInnerHTML:{__html:o}})}),l&&v.jsx("div",{className:xr.action,children:l})]})})]})})})})},X5t="_carousel_17ott_1",Y5t="_carouselWrapper_17ott_1",K5t="_carouselTitle_17ott_4",Q5t="_actions_17ott_18",J5t="_card_17ott_29",eut="_btn_17ott_33",Ff={carousel:X5t,carouselWrapper:Y5t,carouselTitle:K5t,actions:Q5t,card:J5t,btn:eut},tut=r=>{const{title:e,cards:t=[],action:i}=r,n=yt.useRef(null),s={dots:!1,arrows:!1,infinite:!1,speed:500,touchMove:!0,variableWidth:!0,slidesToShow:1,slidesToScroll:1};return v.jsx("div",{className:`${Ff.carousel} carouselBlock`,children:v.jsx(wi,{children:v.jsxs("div",{className:Ff.carouselWrapper,children:[v.jsx(di,{children:v.jsxs("div",{className:Ff.carouselTitle,children:[v.jsx("h3",{children:e}),v.jsxs("div",{className:Ff.actions,children:[v.jsx("button",{className:"custom-arrow prev",onClick:()=>n.current?.slickPrev(),"aria-label":"Previous",children:v.jsx(i7e,{type:"thin"})}),v.jsx("button",{className:"custom-arrow next",onClick:()=>n.current?.slickNext(),"aria-label":"Next",children:v.jsx(r7e,{type:"thin"})})]})]})}),v.jsx(di,{children:v.jsx(rz,{ref:n,...s,children:t.map((a,o)=>v.jsx("div",{className:Ff.card,children:v.jsx(DP,{title:a.title,date:a.date,description:a.description,image:a.image,link:a.link,variation:"long"},o)}))})}),v.jsx(di,{children:v.jsx("div",{className:Ff.btn,children:i})})]})})})};var UH,rle;function IA(){if(rle)return UH;rle=1;var r;return typeof window<"u"?r=window:typeof M3<"u"?r=M3:typeof self<"u"?r=self:r={},UH=r,UH}var rut=IA();const Ye=a6(rut),iut={},nut=Object.freeze(Object.defineProperty({__proto__:null,default:iut},Symbol.toStringTag,{value:"Module"})),sut=x$(nut);var qH,ile;function Wve(){if(ile)return qH;ile=1;var r=typeof M3<"u"?M3:typeof window<"u"?window:{},e=sut,t;return typeof document<"u"?t=document:(t=r["__GLOBAL_DOCUMENT_CACHE@4"],t||(t=r["__GLOBAL_DOCUMENT_CACHE@4"]=e)),qH=t,qH}var aut=Wve();const Nt=a6(aut);var lk={exports:{}},$H={exports:{}},nle;function out(){return nle||(nle=1,(function(r){function e(){return r.exports=e=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var s in n)({}).hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},r.exports.__esModule=!0,r.exports.default=r.exports,e.apply(null,arguments)}r.exports=e,r.exports.__esModule=!0,r.exports.default=r.exports})($H)),$H.exports}var zH,sle;function lut(){if(sle)return zH;sle=1,zH=e;var r=Object.prototype.toString;function e(t){if(!t)return!1;var i=r.call(t);return i==="[object Function]"||typeof t=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}return zH}var ZH,ale;function uut(){if(ale)return ZH;ale=1;function r(n,s){var a=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(a)return(a=a.call(n)).next.bind(a);if(Array.isArray(n)||(a=e(n))||s){a&&(n=a);var o=0;return function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
821
821
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e(n,s){if(n){if(typeof n=="string")return t(n,s);var a=Object.prototype.toString.call(n).slice(8,-1);if(a==="Object"&&n.constructor&&(a=n.constructor.name),a==="Map"||a==="Set")return Array.from(n);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return t(n,s)}}function t(n,s){(s==null||s>n.length)&&(s=n.length);for(var a=0,o=new Array(s);a<s;a++)o[a]=n[a];return o}var i=(function(){function n(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var s=n.prototype;return s.getIsEnabled=function(){return this.enabled_},s.enable=function(){this.enabled_=!0},s.disable=function(){this.enabled_=!1},s.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},s.addInterceptor=function(o,l){this.typeToInterceptorsMap_.has(o)||this.typeToInterceptorsMap_.set(o,new Set);var u=this.typeToInterceptorsMap_.get(o);return u.has(l)?!1:(u.add(l),!0)},s.removeInterceptor=function(o,l){var u=this.typeToInterceptorsMap_.get(o);return u&&u.has(l)?(u.delete(l),!0):!1},s.clearInterceptorsByType=function(o){var l=this.typeToInterceptorsMap_.get(o);return l?(this.typeToInterceptorsMap_.delete(o),this.typeToInterceptorsMap_.set(o,new Set),!0):!1},s.clear=function(){return this.typeToInterceptorsMap_.size?(this.typeToInterceptorsMap_=new Map,!0):!1},s.getForType=function(o){return this.typeToInterceptorsMap_.get(o)||new Set},s.execute=function(o,l){for(var u=this.getForType(o),c=r(u),g;!(g=c()).done;){var b=g.value;try{l=b(l)}catch{}}return l},n})();return ZH=i,ZH}var WH,ole;function cut(){if(ole)return WH;ole=1;var r=(function(){function t(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var i=t.prototype;return i.getIsEnabled=function(){return this.enabled_},i.enable=function(){this.enabled_=!0},i.disable=function(){this.enabled_=!1},i.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},i.getMaxAttempts=function(){return this.maxAttempts_},i.setMaxAttempts=function(s){this.maxAttempts_=s},i.getDelayFactor=function(){return this.delayFactor_},i.setDelayFactor=function(s){this.delayFactor_=s},i.getFuzzFactor=function(){return this.fuzzFactor_},i.setFuzzFactor=function(s){this.fuzzFactor_=s},i.getInitialDelay=function(){return this.initialDelay_},i.setInitialDelay=function(s){this.initialDelay_=s},i.createRetry=function(s){var a=s===void 0?{}:s,o=a.maxAttempts,l=a.delayFactor,u=a.fuzzFactor,c=a.initialDelay;return new e({maxAttempts:o||this.maxAttempts_,delayFactor:l||this.delayFactor_,fuzzFactor:u||this.fuzzFactor_,initialDelay:c||this.initialDelay_})},t})(),e=(function(){function t(n){this.maxAttempts_=n.maxAttempts,this.delayFactor_=n.delayFactor,this.fuzzFactor_=n.fuzzFactor,this.currentDelay_=n.initialDelay,this.currentAttempt_=1}var i=t.prototype;return i.moveToNextAttempt=function(){this.currentAttempt_++;var s=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+s},i.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},i.getCurrentDelay=function(){return this.currentDelay_},i.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},i.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},i.getCurrentFuzzedDelay=function(){var s=this.getCurrentMinPossibleDelay(),a=this.getCurrentMaxPossibleDelay();return s+Math.random()*(a-s)},t})();return WH=r,WH}var GH,lle;function dut(){if(lle)return GH;lle=1;var r=IA(),e=function(n,s){return s===void 0&&(s=!1),function(a,o,l){if(a){n(a);return}if(o.statusCode>=400&&o.statusCode<=599){var u=l;if(s)if(r.TextDecoder){var c=t(o.headers&&o.headers["content-type"]);try{u=new TextDecoder(c).decode(l)}catch{}}else u=String.fromCharCode.apply(null,new Uint8Array(l));n({cause:u});return}n(null,l)}};function t(i){return i===void 0&&(i=""),i.toLowerCase().split(";").reduce(function(n,s){var a=s.split("="),o=a[0],l=a[1];return o.trim()==="charset"?l.trim():n},"utf-8")}return GH=e,GH}var ule;function hut(){if(ule)return lk.exports;ule=1;var r=IA(),e=out(),t=lut(),i=uut(),n=cut();u.httpHandler=dut(),u.requestInterceptorsStorage=new i,u.responseInterceptorsStorage=new i,u.retryManager=new n;var s=function(L){var _={};return L&&L.trim().split(`
822
822
  `).forEach(function(D){var N=D.indexOf(":"),V=D.slice(0,N).trim().toLowerCase(),R=D.slice(N+1).trim();typeof _[V]>"u"?_[V]=R:Array.isArray(_[V])?_[V].push(R):_[V]=[_[V],R]}),_};lk.exports=u,lk.exports.default=u,u.XMLHttpRequest=r.XMLHttpRequest||b,u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:r.XDomainRequest,a(["get","put","post","patch","head","delete"],function(T){u[T==="delete"?"del":T]=function(L,_,D){return _=l(L,_,D),_.method=T.toUpperCase(),c(_)}});function a(T,L){for(var _=0;_<T.length;_++)L(T[_])}function o(T){for(var L in T)if(T.hasOwnProperty(L))return!1;return!0}function l(T,L,_){var D=T;return t(L)?(_=L,typeof T=="string"&&(D={uri:T})):D=e({},L,{uri:T}),D.callback=_,D}function u(T,L,_){return L=l(T,L,_),c(L)}function c(T){if(typeof T.callback>"u")throw new Error("callback argument missing");if(T.requestType&&u.requestInterceptorsStorage.getIsEnabled()){var L={uri:T.uri||T.url,headers:T.headers||{},body:T.body,metadata:T.metadata||{},retry:T.retry,timeout:T.timeout},_=u.requestInterceptorsStorage.execute(T.requestType,L);T.uri=_.uri,T.headers=_.headers,T.body=_.body,T.metadata=_.metadata,T.retry=_.retry,T.timeout=_.timeout}var D=!1,N=function(se,y,x){D||(D=!0,T.callback(se,y,x))};function V(){M.readyState===4&&!u.responseInterceptorsStorage.getIsEnabled()&&setTimeout(k,0)}function R(){var w=void 0;if(M.response?w=M.response:w=M.responseText||g(M),z)try{w=JSON.parse(w)}catch{}return w}function q(w){if(clearTimeout(X),clearTimeout(T.retryTimeout),w instanceof Error||(w=new Error(""+(w||"Unknown XMLHttpRequest Error"))),w.statusCode=0,!A&&u.retryManager.getIsEnabled()&&T.retry&&T.retry.shouldRetry()){T.retryTimeout=setTimeout(function(){T.retry.moveToNextAttempt(),T.xhr=M,c(T)},T.retry.getCurrentFuzzedDelay());return}if(T.requestType&&u.responseInterceptorsStorage.getIsEnabled()){var se={headers:Y.headers||{},body:Y.body,responseUrl:M.responseURL,responseType:M.responseType},y=u.responseInterceptorsStorage.execute(T.requestType,se);Y.body=y.body,Y.headers=y.headers}return N(w,Y)}function k(){if(!A){var w;clearTimeout(X),clearTimeout(T.retryTimeout),T.useXDR&&M.status===void 0?w=200:w=M.status===1223?204:M.status;var se=Y,y=null;if(w!==0?(se={body:R(),statusCode:w,method:S,headers:{},url:m,rawRequest:M},M.getAllResponseHeaders&&(se.headers=s(M.getAllResponseHeaders()))):y=new Error("Internal XMLHttpRequest Error"),T.requestType&&u.responseInterceptorsStorage.getIsEnabled()){var x={headers:se.headers||{},body:se.body,responseUrl:M.responseURL,responseType:M.responseType},j=u.responseInterceptorsStorage.execute(T.requestType,x);se.body=j.body,se.headers=j.headers}return N(y,se,se.body)}}var M=T.xhr||null;M||(T.cors||T.useXDR?M=new u.XDomainRequest:M=new u.XMLHttpRequest);var I,A,m=M.url=T.uri||T.url,S=M.method=T.method||"GET",B=T.body||T.data,U=M.headers=T.headers||{},F=!!T.sync,z=!1,X,Y={body:void 0,headers:{},statusCode:0,method:S,url:m,rawRequest:M};if("json"in T&&T.json!==!1&&(z=!0,U.accept||U.Accept||(U.Accept="application/json"),S!=="GET"&&S!=="HEAD"&&(U["content-type"]||U["Content-Type"]||(U["Content-Type"]="application/json"),B=JSON.stringify(T.json===!0?B:T.json))),M.onreadystatechange=V,M.onload=k,M.onerror=q,M.onprogress=function(){},M.onabort=function(){A=!0,clearTimeout(T.retryTimeout)},M.ontimeout=q,M.open(S,m,!F,T.username,T.password),F||(M.withCredentials=!!T.withCredentials),!F&&T.timeout>0&&(X=setTimeout(function(){if(!A){A=!0,M.abort("timeout");var w=new Error("XMLHttpRequest timeout");w.code="ETIMEDOUT",q(w)}},T.timeout)),M.setRequestHeader)for(I in U)U.hasOwnProperty(I)&&M.setRequestHeader(I,U[I]);else if(T.headers&&!o(T.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in T&&(M.responseType=T.responseType),"beforeSend"in T&&typeof T.beforeSend=="function"&&T.beforeSend(M),M.send(B||null),M}function g(T){try{if(T.responseType==="document")return T.responseXML;var L=T.responseXML&&T.responseXML.documentElement.nodeName==="parsererror";if(T.responseType===""&&!L)return T.responseXML}catch{}return null}function b(){}return lk.exports}var put=hut();const Gve=a6(put);var XH={exports:{}},YH,cle;function fut(){if(cle)return YH;cle=1;var r=Wve(),e=Object.create||(function(){function m(){}return function(S){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return m.prototype=S,new m}})();function t(m,S){this.name="ParsingError",this.code=m.code,this.message=S||m.message}t.prototype=e(Error.prototype),t.prototype.constructor=t,t.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};function i(m){function S(U,F,z,X){return(U|0)*3600+(F|0)*60+(z|0)+(X|0)/1e3}var B=m.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return B?B[3]?S(B[1],B[2],B[3].replace(":",""),B[4]):B[1]>59?S(B[1],B[2],0,B[4]):S(0,B[1],B[2],B[4]):null}function n(){this.values=e(null)}n.prototype={set:function(m,S){!this.get(m)&&S!==""&&(this.values[m]=S)},get:function(m,S,B){return B?this.has(m)?this.values[m]:S[B]:this.has(m)?this.values[m]:S},has:function(m){return m in this.values},alt:function(m,S,B){for(var U=0;U<B.length;++U)if(S===B[U]){this.set(m,S);break}},integer:function(m,S){/^-?\d+$/.test(S)&&this.set(m,parseInt(S,10))},percent:function(m,S){return S.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(S=parseFloat(S),S>=0&&S<=100)?(this.set(m,S),!0):!1}};function s(m,S,B,U){var F=U?m.split(U):[m];for(var z in F)if(typeof F[z]=="string"){var X=F[z].split(B);if(X.length===2){var Y=X[0].trim(),w=X[1].trim();S(Y,w)}}}function a(m,S,B){var U=m;function F(){var Y=i(m);if(Y===null)throw new t(t.Errors.BadTimeStamp,"Malformed timestamp: "+U);return m=m.replace(/^[^\sa-zA-Z-]+/,""),Y}function z(Y,w){var se=new n;s(Y,function(y,x){switch(y){case"region":for(var j=B.length-1;j>=0;j--)if(B[j].id===x){se.set(y,B[j].region);break}break;case"vertical":se.alt(y,x,["rl","lr"]);break;case"line":var K=x.split(","),Q=K[0];se.integer(y,Q),se.percent(y,Q)&&se.set("snapToLines",!1),se.alt(y,Q,["auto"]),K.length===2&&se.alt("lineAlign",K[1],["start","center","end"]);break;case"position":K=x.split(","),se.percent(y,K[0]),K.length===2&&se.alt("positionAlign",K[1],["start","center","end"]);break;case"size":se.percent(y,x);break;case"align":se.alt(y,x,["start","center","end","left","right"]);break}},/:/,/\s/),w.region=se.get("region",null),w.vertical=se.get("vertical","");try{w.line=se.get("line","auto")}catch{}w.lineAlign=se.get("lineAlign","start"),w.snapToLines=se.get("snapToLines",!0),w.size=se.get("size",100);try{w.align=se.get("align","center")}catch{w.align=se.get("align","middle")}try{w.position=se.get("position","auto")}catch{w.position=se.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},w.align)}w.positionAlign=se.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},w.align)}function X(){m=m.replace(/^\s+/,"")}if(X(),S.startTime=F(),X(),m.substr(0,3)!=="-->")throw new t(t.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+U);m=m.substr(3),X(),S.endTime=F(),X(),z(m,S)}var o=r.createElement&&r.createElement("textarea"),l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},u={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},c={v:"title",lang:"lang"},g={rt:"ruby"};function b(m,S){function B(){if(!S)return null;function Q(re){return S=S.substr(re.length),re}var te=S.match(/^([^<]*)(<[^>]*>?)?/);return Q(te[1]?te[1]:te[2])}function U(Q){return o.innerHTML=Q,Q=o.textContent,o.textContent="",Q}function F(Q,te){return!g[te.localName]||g[te.localName]===Q.localName}function z(Q,te){var re=l[Q];if(!re)return null;var ue=m.document.createElement(re),he=c[Q];return he&&te&&(ue[he]=te.trim()),ue}for(var X=m.document.createElement("div"),Y=X,w,se=[];(w=B())!==null;){if(w[0]==="<"){if(w[1]==="/"){se.length&&se[se.length-1]===w.substr(2).replace(">","")&&(se.pop(),Y=Y.parentNode);continue}var y=i(w.substr(1,w.length-2)),x;if(y){x=m.document.createProcessingInstruction("timestamp",y),Y.appendChild(x);continue}var j=w.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!j||(x=z(j[1],j[3]),!x)||!F(Y,x))continue;if(j[2]){var K=j[2].split(".");K.forEach(function(Q){var te=/^bg_/.test(Q),re=te?Q.slice(3):Q;if(u.hasOwnProperty(re)){var ue=te?"background-color":"color",he=u[re];x.style[ue]=he}}),x.className=K.join(" ")}se.push(j[1]),Y.appendChild(x),Y=x;continue}Y.appendChild(m.document.createTextNode(U(w)))}return X}var T=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function L(m){for(var S=0;S<T.length;S++){var B=T[S];if(m>=B[0]&&m<=B[1])return!0}return!1}function _(m){var S=[],B="",U;if(!m||!m.childNodes)return"ltr";function F(Y,w){for(var se=w.childNodes.length-1;se>=0;se--)Y.push(w.childNodes[se])}function z(Y){if(!Y||!Y.length)return null;var w=Y.pop(),se=w.textContent||w.innerText;if(se){var y=se.match(/^.*(\n|\r)/);return y?(Y.length=0,y[0]):se}if(w.tagName==="ruby")return z(Y);if(w.childNodes)return F(Y,w),z(Y)}for(F(S,m);B=z(S);)for(var X=0;X<B.length;X++)if(U=B.charCodeAt(X),L(U))return"rtl";return"ltr"}function D(m){if(typeof m.line=="number"&&(m.snapToLines||m.line>=0&&m.line<=100))return m.line;if(!m.track||!m.track.textTrackList||!m.track.textTrackList.mediaElement)return-1;for(var S=m.track,B=S.textTrackList,U=0,F=0;F<B.length&&B[F]!==S;F++)B[F].mode==="showing"&&U++;return++U*-1}function N(){}N.prototype.applyStyles=function(m,S){S=S||this.div;for(var B in m)m.hasOwnProperty(B)&&(S.style[B]=m[B])},N.prototype.formatStyle=function(m,S){return m===0?0:m+S};function V(m,S,B){N.call(this),this.cue=S,this.cueDiv=b(m,S.text);var U={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:S.vertical===""?"horizontal-tb":S.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(U,this.cueDiv),this.div=m.document.createElement("div"),U={direction:_(this.cueDiv),writingMode:S.vertical===""?"horizontal-tb":S.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:S.align==="middle"?"center":S.align,font:B.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(U),this.div.appendChild(this.cueDiv);var F=0;switch(S.positionAlign){case"start":case"line-left":F=S.position;break;case"center":F=S.position-S.size/2;break;case"end":case"line-right":F=S.position-S.size;break}S.vertical===""?this.applyStyles({left:this.formatStyle(F,"%"),width:this.formatStyle(S.size,"%")}):this.applyStyles({top:this.formatStyle(F,"%"),height:this.formatStyle(S.size,"%")}),this.move=function(z){this.applyStyles({top:this.formatStyle(z.top,"px"),bottom:this.formatStyle(z.bottom,"px"),left:this.formatStyle(z.left,"px"),right:this.formatStyle(z.right,"px"),height:this.formatStyle(z.height,"px"),width:this.formatStyle(z.width,"px")})}}V.prototype=e(N.prototype),V.prototype.constructor=V;function R(m){var S,B,U,F;if(m.div){B=m.div.offsetHeight,U=m.div.offsetWidth,F=m.div.offsetTop;var z=(z=m.div.childNodes)&&(z=z[0])&&z.getClientRects&&z.getClientRects();m=m.div.getBoundingClientRect(),S=z?Math.max(z[0]&&z[0].height||0,m.height/z.length):0}this.left=m.left,this.right=m.right,this.top=m.top||F,this.height=m.height||B,this.bottom=m.bottom||F+(m.height||B),this.width=m.width||U,this.lineHeight=S!==void 0?S:m.lineHeight}R.prototype.move=function(m,S){switch(S=S!==void 0?S:this.lineHeight,m){case"+x":this.left+=S,this.right+=S;break;case"-x":this.left-=S,this.right-=S;break;case"+y":this.top+=S,this.bottom+=S;break;case"-y":this.top-=S,this.bottom-=S;break}},R.prototype.overlaps=function(m){return this.left<m.right&&this.right>m.left&&this.top<m.bottom&&this.bottom>m.top},R.prototype.overlapsAny=function(m){for(var S=0;S<m.length;S++)if(this.overlaps(m[S]))return!0;return!1},R.prototype.within=function(m){return this.top>=m.top&&this.bottom<=m.bottom&&this.left>=m.left&&this.right<=m.right},R.prototype.overlapsOppositeAxis=function(m,S){switch(S){case"+x":return this.left<m.left;case"-x":return this.right>m.right;case"+y":return this.top<m.top;case"-y":return this.bottom>m.bottom}},R.prototype.intersectPercentage=function(m){var S=Math.max(0,Math.min(this.right,m.right)-Math.max(this.left,m.left)),B=Math.max(0,Math.min(this.bottom,m.bottom)-Math.max(this.top,m.top)),U=S*B;return U/(this.height*this.width)},R.prototype.toCSSCompatValues=function(m){return{top:this.top-m.top,bottom:m.bottom-this.bottom,left:this.left-m.left,right:m.right-this.right,height:this.height,width:this.width}},R.getSimpleBoxPosition=function(m){var S=m.div?m.div.offsetHeight:m.tagName?m.offsetHeight:0,B=m.div?m.div.offsetWidth:m.tagName?m.offsetWidth:0,U=m.div?m.div.offsetTop:m.tagName?m.offsetTop:0;m=m.div?m.div.getBoundingClientRect():m.tagName?m.getBoundingClientRect():m;var F={left:m.left,right:m.right,top:m.top||U,height:m.height||S,bottom:m.bottom||U+(m.height||S),width:m.width||B};return F};function q(m,S,B,U){function F(re,ue){for(var he,Ce=new R(re),we=1,be=0;be<ue.length;be++){for(;re.overlapsOppositeAxis(B,ue[be])||re.within(B)&&re.overlapsAny(U);)re.move(ue[be]);if(re.within(B))return re;var Me=re.intersectPercentage(B);we>Me&&(he=new R(re),we=Me),re=new R(Ce)}return he||Ce}var z=new R(S),X=S.cue,Y=D(X),w=[];if(X.snapToLines){var se;switch(X.vertical){case"":w=["+y","-y"],se="height";break;case"rl":w=["+x","-x"],se="width";break;case"lr":w=["-x","+x"],se="width";break}var y=z.lineHeight,x=y*Math.round(Y),j=B[se]+y,K=w[0];Math.abs(x)>j&&(x=x<0?-1:1,x*=Math.ceil(j/y)*y),Y<0&&(x+=X.vertical===""?B.height:B.width,w=w.reverse()),z.move(K,x)}else{var Q=z.lineHeight/B.height*100;switch(X.lineAlign){case"center":Y-=Q/2;break;case"end":Y-=Q;break}switch(X.vertical){case"":S.applyStyles({top:S.formatStyle(Y,"%")});break;case"rl":S.applyStyles({left:S.formatStyle(Y,"%")});break;case"lr":S.applyStyles({right:S.formatStyle(Y,"%")});break}w=["+y","-x","+x","-y"],z=new R(S)}var te=F(z,w);S.move(te.toCSSCompatValues(B))}function k(){}k.StringDecoder=function(){return{decode:function(m){if(!m)return"";if(typeof m!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(m))}}},k.convertCueToDOMTree=function(m,S){return!m||!S?null:b(m,S)};var M=.05,I="sans-serif",A="1.5%";return k.processCues=function(m,S,B){if(!m||!S||!B)return null;for(;B.firstChild;)B.removeChild(B.firstChild);var U=m.document.createElement("div");U.style.position="absolute",U.style.left="0",U.style.right="0",U.style.top="0",U.style.bottom="0",U.style.margin=A,B.appendChild(U);function F(y){for(var x=0;x<y.length;x++)if(y[x].hasBeenReset||!y[x].displayState)return!0;return!1}if(!F(S)){for(var z=0;z<S.length;z++)U.appendChild(S[z].displayState);return}var X=[],Y=R.getSimpleBoxPosition(U),w=Math.round(Y.height*M*100)/100,se={font:w+"px "+I};(function(){for(var y,x,j=0;j<S.length;j++)x=S[j],y=new V(m,x,se),U.appendChild(y.div),q(m,y,Y,X),x.displayState=y.div,X.push(R.getSimpleBoxPosition(y))})()},k.Parser=function(m,S,B){B||(B=S,S={}),S||(S={}),this.window=m,this.vttjs=S,this.state="INITIAL",this.buffer="",this.decoder=B||new TextDecoder("utf8"),this.regionList=[]},k.Parser.prototype={reportOrThrowError:function(m){if(m instanceof t)this.onparsingerror&&this.onparsingerror(m);else throw m},parse:function(m){var S=this;m&&(S.buffer+=S.decoder.decode(m,{stream:!0}));function B(){for(var y=S.buffer,x=0;x<y.length&&y[x]!=="\r"&&y[x]!==`
823
823
  `;)++x;var j=y.substr(0,x);return y[x]==="\r"&&++x,y[x]===`